Skip to content

Commit

Permalink
docs: move all components in Storybook to sit under Components (#5398)
Browse files Browse the repository at this point in the history
* docs: move all components in Storybook to sit under Components

* docs(KaizenProvider): rename docs dir to match component name

* docs: rename docs dir to match component name

* docs: remove usages of SbContent in Tooltip
  • Loading branch information
HeartSquared authored and Christian Moore committed Dec 18, 2024
1 parent 3d845ff commit 0e6b1fb
Showing 1 changed file with 31 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { Canvas, Controls, Meta } from '@storybook/blocks'
import { KAIOInstallation, ResourceLinks } from '~storybook/components'
import * as exampleStories from './Focusable.stories'

<Meta title="Components/Tooltip/Tooltip (v3)/Focusable/API Specification" />

# Focusable API Specification (v3)

Updated June 25, 2024

<ResourceLinks
sourceCode="https://github.com/cultureamp/kaizen-design-system/tree/main/packages/components/src/__overlays__/Focusable"
className="mt-16 !mb-8"
/>

<KAIOInstallation exportNames={['Focusable']} family="overlays" version="3" />

## Overview

Focusable is a utility wrapper to allow users to add focus to a non-focusable element.

The main use case is for non semantic components like `Tag` that need a [Tooltip](/docs/overlays-tooltip-v3-usage-guidelines--docs).

<Canvas className="mb-24" of={exampleStories.Playground} />

Be aware that this does not negate the need to meet A11Y standards and best practices. Use this
utility wrapper with caution.

## API

<Controls of={exampleStories.Playground} />

0 comments on commit 0e6b1fb

Please sign in to comment.