diff --git a/src/components/BaseButton.stories.ts b/src/components/BaseButton.stories.ts index ec87b2b..8d113f3 100644 --- a/src/components/BaseButton.stories.ts +++ b/src/components/BaseButton.stories.ts @@ -20,17 +20,14 @@ const meta: Meta = { size: { control: 'select', options: ['regular', 'small'] }, variant: { control: 'select', options: ['filled', 'outline'] }, type: { control: 'select', options: ['primary', 'brand', 'danger', 'link'] }, - tooltip: { control: 'text' }, disabled: { control: 'boolean' }, }, args: { - tooltip: '', // Use `fn` to spy on the onClick arg, which will appear in the actions panel once invoked: https://storybook.js.org/docs/essentials/actions#action-args /* @ts-ignore */ onClick: fn(), default: 'Click me!', disabled: false, - forceTooltip: false, }, }; @@ -266,35 +263,3 @@ export const IconOnly: Story = { }, }, }; - -export const WithTooltip: Story = { - render: (args) => ({ - components: { PrimaryButton, LinkButton, IconButton, RefreshIcon }, - setup() { - return { args }; - }, - template: ` -
- - Refresh - - - - - - Refresh - - - Refresh - -
- `, - }), - parameters: { - docs: { - source: { - code: 'Refresh\n\nRefresh', - }, - }, - }, -}; diff --git a/src/components/BaseButton.vue b/src/components/BaseButton.vue index 2936311..fb56cab 100644 --- a/src/components/BaseButton.vue +++ b/src/components/BaseButton.vue @@ -1,7 +1,4 @@ diff --git a/src/definitions.ts b/src/definitions.ts index 7b54c1a..a95d866 100644 --- a/src/definitions.ts +++ b/src/definitions.ts @@ -233,7 +233,6 @@ export enum FtueStep { } export enum TooltipPosition { - None = 'pos-none', Top = 'pos-top', Bottom = 'pos-bottom', Left = 'pos-left', diff --git a/src/patterns/CopyToClipboard.vue b/src/patterns/CopyToClipboard.vue index e57b186..a324a25 100644 --- a/src/patterns/CopyToClipboard.vue +++ b/src/patterns/CopyToClipboard.vue @@ -1,8 +1,10 @@