Skip to content

Commit

Permalink
refactor(Focusable): move into subcomponents of Tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
HeartSquared committed Dec 17, 2024
1 parent dffe05c commit a3f0d8e
Show file tree
Hide file tree
Showing 10 changed files with 5 additions and 8 deletions.
1 change: 0 additions & 1 deletion packages/components/src/__overlays__/v3.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ import { Input } from '~components/Input'
import { Label } from '~components/Label'
import { Text } from '~components/Text'
import { Button, IconButton } from '~components/__actions__/v2'
import { Focusable } from '~components/__overlays__/v3'
import { Icon } from '~components/__rc__/Icon'
import { Tooltip, TooltipTrigger } from '../index'
import { Tooltip, TooltipTrigger, Focusable } from '../index'
import * as TestStories from './Tooltip.spec.stories'

const meta = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@ import isChromatic from 'chromatic'
import { Tab, TabList, TabPanel, TabPanels, Tabs } from '~components/Tabs'
import { Text } from '~components/Text'
import { Button, IconButton } from '~components/__actions__/v2'
import { Focusable } from '~components/__overlays__/v3'
import { Icon } from '~components/__rc__/Icon'
import { Tag } from '~components/__rc__/Tag'
import { Tooltip, TooltipTrigger } from '../index'
import { Tooltip, TooltipTrigger, Focusable } from '../index'

const meta = {
title: 'Components/Tooltip/Tooltip (v3)/Tests',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@ import React, { FunctionComponent } from 'react'
import { Meta, StoryObj } from '@storybook/react'
import isChromatic from 'chromatic'
import { Button } from '~components/__actions__/v2'
import { Focusable } from '~components/__overlays__/v3'
import { Tag } from '~components/__rc__'
import { Tooltip, TooltipTrigger } from '../index'
import { Tooltip, TooltipTrigger, Focusable } from '../index'
import * as testStories from './Tooltip.spec.stories'

const meta = {
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/__rc__/Tooltip/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export * from './Tooltip'
export * from './TooltipTrigger'
export * from './subcomponents/Focusable'
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as exampleStories from './Focusable.stories'
Updated June 25, 2024

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

Expand Down

0 comments on commit a3f0d8e

Please sign in to comment.