@hyphen/hyphen-components 5.5.0 → 5.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Alert/Alert.stories.d.ts +1 -1
- package/dist/components/Badge/Badge.stories.d.ts +1 -1
- package/dist/components/Box/Box.stories.d.ts +1 -1
- package/dist/components/Button/Button.stories.d.ts +1 -1
- package/dist/components/Card/Card.stories.d.ts +1 -1
- package/dist/components/CheckboxInput/CheckboxInput.stories.d.ts +1 -1
- package/dist/components/Collapsible/Collapsible.stories.d.ts +1 -1
- package/dist/components/DateInput/DateInput.stories.d.ts +1 -1
- package/dist/components/DatePicker/DatePicker.stories.d.ts +1 -1
- package/dist/components/Details/Details.stories.d.ts +1 -1
- package/dist/components/Drawer/Drawer.stories.d.ts +1 -1
- package/dist/components/DropdownMenu/DropdownMenu.stories.d.ts +1 -1
- package/dist/components/FormLabel/FormLabel.stories.d.ts +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +1 -1
- package/dist/components/Icon/Icon.stories.d.ts +1 -1
- package/dist/components/Modal/Modal.stories.d.ts +1 -1
- package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.stories.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroup.stories.d.ts +1 -1
- package/dist/components/RangeInput/RangeInput.stories.d.ts +1 -1
- package/dist/components/ResponsiveProvider/ResponsiveProvider.stories.d.ts +1 -1
- package/dist/components/SelectInput/SelectInput.stories.d.ts +1 -1
- package/dist/components/SelectInputInset/SelectInputInset.stories.d.ts +1 -1
- package/dist/components/SelectInputNative/SelectInputNative.stories.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.d.ts +1 -1
- package/dist/components/Sidebar/Sidebar.stories.d.ts +1 -1
- package/dist/components/Spinner/Spinner.stories.d.ts +1 -1
- package/dist/components/Switch/Switch.stories.d.ts +1 -1
- package/dist/components/Table/Table.stories.d.ts +1 -1
- package/dist/components/TextInput/TextInput.stories.d.ts +1 -1
- package/dist/components/TextInputInset/TextInputInset.stories.d.ts +1 -1
- package/dist/components/TextareaInput/TextareaInput.stories.d.ts +1 -1
- package/dist/components/TextareaInputInset/TextareaInputInset.stories.d.ts +1 -1
- package/dist/components/ThemeProvider/ThemeProvider.stories.d.ts +1 -1
- package/dist/components/TimePicker/TimePicker.stories.d.ts +1 -1
- package/dist/components/TimePickerNative/TimePickerNative.stories.d.ts +1 -1
- package/dist/components/Toast/Toast.stories.d.ts +1 -1
- package/dist/components/Toggle/Toggle.stories.d.ts +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/css/utilities.css +1 -1
- package/dist/css/variables.css +2 -2
- package/dist/hooks/useBreakpoint/useBreakpoint.stories.d.ts +1 -1
- package/dist/hooks/useIsMobile/useIsMobile.stories.d.ts +1 -1
- package/dist/hooks/useOpenClose/useOpenClose.stories.d.ts +1 -1
- package/dist/hooks/useTheme/useTheme.stories.d.ts +1 -1
- package/dist/hooks/useWindowSize/useWindowSize.stories.d.ts +1 -1
- package/dist/lib/tokens.d.ts +1 -1
- package/package.json +11 -15
- package/src/components/Alert/Alert.mdx +1 -1
- package/src/components/Alert/Alert.stories.tsx +1 -1
- package/src/components/Badge/Badge.mdx +1 -1
- package/src/components/Badge/Badge.stories.tsx +1 -1
- package/src/components/Box/Box.mdx +1 -1
- package/src/components/Box/Box.stories.tsx +1 -1
- package/src/components/Button/Button.mdx +1 -1
- package/src/components/Button/Button.stories.tsx +1 -1
- package/src/components/Card/Card.mdx +1 -1
- package/src/components/Card/Card.stories.tsx +1 -1
- package/src/components/CheckboxInput/CheckboxInput.mdx +1 -1
- package/src/components/CheckboxInput/CheckboxInput.stories.tsx +1 -1
- package/src/components/Collapsible/Collapsible.mdx +1 -1
- package/src/components/Collapsible/Collapsible.stories.tsx +2 -2
- package/src/components/DateInput/DateInput.mdx +1 -1
- package/src/components/DateInput/DateInput.stories.tsx +1 -1
- package/src/components/DatePicker/DatePicker.mdx +1 -1
- package/src/components/DatePicker/DatePicker.stories.tsx +1 -1
- package/src/components/Details/Details.mdx +1 -1
- package/src/components/Details/Details.stories.tsx +1 -1
- package/src/components/Drawer/Drawer.mdx +1 -1
- package/src/components/Drawer/Drawer.stories.tsx +2 -2
- package/src/components/DropdownMenu/DropdownMenu.mdx +1 -1
- package/src/components/DropdownMenu/DropdownMenu.stories.tsx +2 -2
- package/src/components/FormLabel/FormLabel.mdx +1 -1
- package/src/components/FormLabel/FormLabel.stories.tsx +1 -1
- package/src/components/Formik/Formik.mdx +1 -1
- package/src/components/Heading/Heading.mdx +1 -1
- package/src/components/Heading/Heading.stories.tsx +1 -1
- package/src/components/Icon/Icon.mdx +1 -1
- package/src/components/Icon/Icon.stories.tsx +1 -1
- package/src/components/Modal/Modal.mdx +1 -1
- package/src/components/Modal/Modal.stories.tsx +2 -2
- package/src/components/Pagination/Pagination.mdx +1 -1
- package/src/components/Pagination/Pagination.stories.tsx +1 -1
- package/src/components/Popover/Popover.mdx +1 -1
- package/src/components/Popover/Popover.stories.tsx +1 -1
- package/src/components/RadioGroup/RadioGroup.mdx +1 -1
- package/src/components/RadioGroup/RadioGroup.stories.tsx +1 -1
- package/src/components/RangeInput/RangeInput.mdx +1 -1
- package/src/components/RangeInput/RangeInput.stories.tsx +1 -1
- package/src/components/ResponsiveProvider/ResponsiveProvider.mdx +1 -1
- package/src/components/ResponsiveProvider/ResponsiveProvider.stories.tsx +1 -1
- package/src/components/SelectInput/SelectInput.mdx +1 -1
- package/src/components/SelectInput/SelectInput.stories.tsx +1 -1
- package/src/components/SelectInputInset/SelectInputInset.mdx +1 -1
- package/src/components/SelectInputInset/SelectInputInset.stories.tsx +1 -1
- package/src/components/SelectInputNative/SelectInputNative.mdx +1 -1
- package/src/components/SelectInputNative/SelectInputNative.stories.tsx +1 -1
- package/src/components/Sidebar/Sidebar.stories.tsx +1 -1
- package/src/components/Spinner/Spinner.mdx +1 -1
- package/src/components/Spinner/Spinner.stories.tsx +1 -1
- package/src/components/Switch/Switch.mdx +1 -1
- package/src/components/Switch/Switch.stories.tsx +1 -1
- package/src/components/Table/Table.mdx +1 -1
- package/src/components/Table/Table.stories.tsx +1 -1
- package/src/components/TextInput/TextInput.mdx +1 -1
- package/src/components/TextInput/TextInput.stories.tsx +1 -1
- package/src/components/TextInputInset/TextInputInset.mdx +1 -1
- package/src/components/TextInputInset/TextInputInset.stories.tsx +1 -1
- package/src/components/TextareaInput/TextareaInput.mdx +1 -1
- package/src/components/TextareaInput/TextareaInput.stories.tsx +1 -1
- package/src/components/TextareaInputInset/TextareaInputInset.mdx +1 -1
- package/src/components/TextareaInputInset/TextareaInputInset.stories.tsx +1 -1
- package/src/components/ThemeProvider/ThemeProvider.mdx +1 -1
- package/src/components/ThemeProvider/ThemeProvider.stories.tsx +1 -1
- package/src/components/TimePicker/TimePicker.mdx +1 -1
- package/src/components/TimePicker/TimePicker.stories.tsx +1 -1
- package/src/components/TimePickerNative/TimePickerNative.mdx +1 -1
- package/src/components/TimePickerNative/TimePickerNative.stories.tsx +1 -1
- package/src/components/Toast/Toast.mdx +1 -1
- package/src/components/Toast/Toast.stories.tsx +1 -1
- package/src/components/Toggle/Toggle.mdx +1 -1
- package/src/components/Toggle/Toggle.stories.tsx +1 -1
- package/src/components/ToggleGroup/ToggleGroup.mdx +1 -1
- package/src/components/ToggleGroup/ToggleGroup.stories.tsx +1 -1
- package/src/components/Tooltip/Tooltip.mdx +1 -1
- package/src/components/Tooltip/Tooltip.stories.tsx +1 -1
- package/src/docs/Brands.mdx +1 -1
- package/src/docs/Colors.mdx +1 -1
- package/src/docs/DesignTokens.mdx +1 -1
- package/src/docs/GetStarted.mdx +1 -1
- package/src/docs/intro.mdx +1 -1
- package/src/hooks/useBreakpoint/useBreakpoint.mdx +1 -1
- package/src/hooks/useBreakpoint/useBreakpoint.stories.tsx +1 -1
- package/src/hooks/useIsMobile/useIsMobile.mdx +1 -1
- package/src/hooks/useIsMobile/useIsMobile.stories.tsx +1 -1
- package/src/hooks/useOpenClose/useOpenClose.mdx +1 -1
- package/src/hooks/useOpenClose/useOpenClose.stories.tsx +1 -1
- package/src/hooks/useTheme/useTheme.stories.tsx +1 -1
- package/src/hooks/useWindowSize/useWindowSize.mdx +1 -1
- package/src/hooks/useWindowSize/useWindowSize.stories.tsx +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Button } from './Button';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof Button>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { DatePicker } from './DatePicker';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof DatePicker>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const BasicExample: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Modal } from './Modal';
|
|
3
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
3
|
+
import type { Meta, StoryObj } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof Modal>;
|
|
5
5
|
export default meta;
|
|
6
6
|
type Story = StoryObj<typeof Modal>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RadioGroup } from './RadioGroup';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof RadioGroup>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ResponsiveProvider } from './ResponsiveProvider';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof ResponsiveProvider>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const BasicUsage: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectInput } from './SelectInput';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof SelectInput>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectInputInset } from './SelectInputInset';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof SelectInputInset>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SelectInputNative } from './SelectInputNative';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof SelectInputNative>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -29,7 +29,7 @@ declare const SidebarMenuItem: React.ForwardRefExoticComponent<Omit<React.Detail
|
|
|
29
29
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<React.ClassAttributes<HTMLButtonElement> & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
30
30
|
asChild?: boolean | undefined;
|
|
31
31
|
isActive?: boolean | undefined;
|
|
32
|
-
icon?: "code" | "link" | "menu" | "search" | "circle" | "filter" | "key" | "add" | "alarm-disable" | "alarm" | "analytics" | "app-window" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-maximize" | "at" | "ban" | "block" | "blocks" | "book-open" | "c-add" | "c-check" | "c-delete" | "c-in-progress" | "c-info" | "c-question" | "c-remove" | "c-user" | "c-warning" | "calendar-create" | "calendar" | "camera" | "caret-down" | "caret-left" | "caret-right" | "caret-sm-down" | "caret-sm-left" | "caret-sm-right" | "caret-sm-up" | "caret-up-down" | "caret-up" | "chart-bar" | "chart-line" | "chat" | "check" | "checkbox-btn-checked" | "checkbox-btn-indeterminate" | "checkbox-btn" | "circle-filled" | "clipboard" | "cloud" | "command-line" | "computer" | "contact" | "copy-document" | "dashboard" | "database" | "dock-left" | "document" | "dots" | "download" | "electricity-bolt" | "exclamation-mark" | "eye-slash" | "eye" | "flag" | "folder" | "gear" | "grab" | "hash-mark" | "heart-o" | "heart" | "home" | "info" | "integrations" | "launch-app" | "lightbulb" | "list" | "lock" | "logo-deploy" | "logo-env" | "logo-link" | "logo-netinfo" | "logo-toggle" | "logout" | "mail" | "minus" | "moon" | "paperclip" | "path-intersect" | "pause" | "pc" | "pencil" | "phone" | "photo" | "play" | "qr-code" | "radio-btn-checked" | "radio-btn-unchecked" | "refresh" | "remove" | "rewind" | "send" | "settings" | "skip" | "stack" | "star-o" | "star" | "stopwatch" | "subtract" | "sun" | "t-warning" | "tag" | "terminal" | "time-alarm" | "time-clock" | "trash" | "unlocked" | "upload" | "user-create" | "user" | "users" | "wifi-off" | "wifi" | "zoom-in" | "zoom-out" | undefined;
|
|
32
|
+
icon?: "code" | "link" | "menu" | "search" | "circle" | "filter" | "key" | "add" | "alarm-disable" | "alarm" | "analytics" | "app-window" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-maximize" | "at" | "ban" | "block" | "blocks" | "book-open" | "c-add" | "c-check" | "c-delete" | "c-in-progress" | "c-info" | "c-question" | "c-remove" | "c-user" | "c-warning" | "calendar-create" | "calendar" | "camera" | "caret-down" | "caret-left" | "caret-right" | "caret-sm-down" | "caret-sm-left" | "caret-sm-right" | "caret-sm-up" | "caret-up-down" | "caret-up" | "chart-bar" | "chart-line" | "chat" | "check" | "checkbox-btn-checked" | "checkbox-btn-indeterminate" | "checkbox-btn" | "circle-filled" | "clipboard" | "cloud" | "command-line" | "computer" | "contact" | "copy-document" | "dashboard" | "database" | "dock-left" | "document" | "dots" | "download" | "electricity-bolt" | "exclamation-mark" | "eye-slash" | "eye" | "flag" | "folder" | "gear" | "grab" | "hash-mark" | "heart-o" | "heart" | "home" | "info" | "integrations" | "launch-app" | "lightbulb" | "list" | "lock" | "logo-deploy" | "logo-env" | "logo-link" | "logo-netinfo" | "logo-toggle" | "logout" | "mail" | "memory" | "minus" | "moon" | "paperclip" | "path-intersect" | "pause" | "pc" | "pencil" | "phone" | "photo" | "play" | "qr-code" | "radio-btn-checked" | "radio-btn-unchecked" | "refresh" | "remove" | "rewind" | "send" | "settings" | "skip" | "ssd" | "stack" | "star-o" | "star" | "stopwatch" | "subtract" | "sun" | "t-warning" | "tag" | "terminal" | "time-alarm" | "time-clock" | "trash" | "unlocked" | "upload" | "user-create" | "user" | "users" | "wifi-off" | "wifi" | "zoom-in" | "zoom-out" | undefined;
|
|
33
33
|
tooltip?: string | (Omit<import("@radix-ui/react-tooltip").TooltipContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>) | undefined;
|
|
34
34
|
}, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
35
35
|
declare const SidebarGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { TextInputInset } from './TextInputInset';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof TextInputInset>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const Default: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ThemeProvider } from './ThemeProvider';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof ThemeProvider>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const BasicUsage: () => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Tooltip } from './Tooltip';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof Tooltip>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const BasicUsage: () => React.JSX.Element;
|
package/dist/css/utilities.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
\***************************************************************************************************************************/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on
|
|
6
|
+
* Generated on Thu, 17 Jul 2025 17:20:59 GMT
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
.font-family-monospace { font-family: var(--assets-font-family-monospace); }
|
package/dist/css/variables.css
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
\*********************************************************************************************************************/
|
|
4
4
|
/**
|
|
5
5
|
* Do not edit directly
|
|
6
|
-
* Generated on
|
|
6
|
+
* Generated on Thu, 17 Jul 2025 17:20:58 GMT
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
:root {
|
|
@@ -355,7 +355,7 @@
|
|
|
355
355
|
\*******************************************************************************************************************************/
|
|
356
356
|
/**
|
|
357
357
|
* Do not edit directly
|
|
358
|
-
* Generated on
|
|
358
|
+
* Generated on Thu, 17 Jul 2025 17:20:58 GMT
|
|
359
359
|
*/
|
|
360
360
|
|
|
361
361
|
:root.dark {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ThemeProvider } from '../../components/ThemeProvider/ThemeProvider';
|
|
3
|
-
import type { Meta } from '@storybook/react';
|
|
3
|
+
import type { Meta } from '@storybook/react-vite';
|
|
4
4
|
declare const meta: Meta<typeof ThemeProvider>;
|
|
5
5
|
export default meta;
|
|
6
6
|
export declare const BasicUsage: () => React.JSX.Element;
|
package/dist/lib/tokens.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BorderRadiusSize, Breakpoint, BreakpointSizeWithBase } from '../types';
|
|
2
|
-
export declare const ICON_NAMES: ("add" | "alarm-disable" | "alarm" | "analytics" | "app-window" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-maximize" | "at" | "ban" | "block" | "blocks" | "book-open" | "c-add" | "c-check" | "c-delete" | "c-in-progress" | "c-info" | "c-question" | "c-remove" | "c-user" | "c-warning" | "calendar-create" | "calendar" | "camera" | "caret-down" | "caret-left" | "caret-right" | "caret-sm-down" | "caret-sm-left" | "caret-sm-right" | "caret-sm-up" | "caret-up-down" | "caret-up" | "chart-bar" | "chart-line" | "chat" | "check" | "checkbox-btn-checked" | "checkbox-btn-indeterminate" | "checkbox-btn" | "circle-filled" | "circle" | "clipboard" | "cloud" | "code" | "command-line" | "computer" | "contact" | "copy-document" | "dashboard" | "database" | "dock-left" | "document" | "dots" | "download" | "electricity-bolt" | "exclamation-mark" | "eye-slash" | "eye" | "filter" | "flag" | "folder" | "gear" | "grab" | "hash-mark" | "heart-o" | "heart" | "home" | "info" | "integrations" | "key" | "launch-app" | "lightbulb" | "link" | "list" | "lock" | "logo-deploy" | "logo-env" | "logo-link" | "logo-netinfo" | "logo-toggle" | "logout" | "mail" | "menu" | "minus" | "moon" | "paperclip" | "path-intersect" | "pause" | "pc" | "pencil" | "phone" | "photo" | "play" | "qr-code" | "radio-btn-checked" | "radio-btn-unchecked" | "refresh" | "remove" | "rewind" | "search" | "send" | "settings" | "skip" | "stack" | "star-o" | "star" | "stopwatch" | "subtract" | "sun" | "t-warning" | "tag" | "terminal" | "time-alarm" | "time-clock" | "trash" | "unlocked" | "upload" | "user-create" | "user" | "users" | "wifi-off" | "wifi" | "zoom-in" | "zoom-out")[];
|
|
2
|
+
export declare const ICON_NAMES: ("add" | "alarm-disable" | "alarm" | "analytics" | "app-window" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "arrows-maximize" | "at" | "ban" | "block" | "blocks" | "book-open" | "c-add" | "c-check" | "c-delete" | "c-in-progress" | "c-info" | "c-question" | "c-remove" | "c-user" | "c-warning" | "calendar-create" | "calendar" | "camera" | "caret-down" | "caret-left" | "caret-right" | "caret-sm-down" | "caret-sm-left" | "caret-sm-right" | "caret-sm-up" | "caret-up-down" | "caret-up" | "chart-bar" | "chart-line" | "chat" | "check" | "checkbox-btn-checked" | "checkbox-btn-indeterminate" | "checkbox-btn" | "circle-filled" | "circle" | "clipboard" | "cloud" | "code" | "command-line" | "computer" | "contact" | "copy-document" | "dashboard" | "database" | "dock-left" | "document" | "dots" | "download" | "electricity-bolt" | "exclamation-mark" | "eye-slash" | "eye" | "filter" | "flag" | "folder" | "gear" | "grab" | "hash-mark" | "heart-o" | "heart" | "home" | "info" | "integrations" | "key" | "launch-app" | "lightbulb" | "link" | "list" | "lock" | "logo-deploy" | "logo-env" | "logo-link" | "logo-netinfo" | "logo-toggle" | "logout" | "mail" | "memory" | "menu" | "minus" | "moon" | "paperclip" | "path-intersect" | "pause" | "pc" | "pencil" | "phone" | "photo" | "play" | "qr-code" | "radio-btn-checked" | "radio-btn-unchecked" | "refresh" | "remove" | "rewind" | "search" | "send" | "settings" | "skip" | "ssd" | "stack" | "star-o" | "star" | "stopwatch" | "subtract" | "sun" | "t-warning" | "tag" | "terminal" | "time-alarm" | "time-clock" | "trash" | "unlocked" | "upload" | "user-create" | "user" | "users" | "wifi-off" | "wifi" | "zoom-in" | "zoom-out")[];
|
|
3
3
|
export declare const BORDER_RADIUS_OPTIONS: BorderRadiusSize[];
|
|
4
4
|
export declare const BORDER_SIZE_OPTIONS: ("0" | "sm" | "md" | "lg")[];
|
|
5
5
|
export declare const BREAKPOINT_OPTIONS: BreakpointSizeWithBase[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyphen/hyphen-components",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "@hyphen"
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
],
|
|
63
63
|
"dependencies": {
|
|
64
64
|
"@emotion/react": "^11.14.0",
|
|
65
|
-
"@hyphen/hyphen-design-tokens": "^4.
|
|
65
|
+
"@hyphen/hyphen-design-tokens": "^4.39.0",
|
|
66
66
|
"@popperjs/core": "^2.11.8",
|
|
67
67
|
"@radix-ui/react-collapsible": "^1.1.11",
|
|
68
68
|
"@radix-ui/react-dropdown-menu": "^2.1.15",
|
|
@@ -82,22 +82,18 @@
|
|
|
82
82
|
"react-remove-scroll": "^2.6.3",
|
|
83
83
|
"react-router-dom": "^6.26.1",
|
|
84
84
|
"react-select": "^5.10.0",
|
|
85
|
-
"react-select-event": "^5.5.1"
|
|
85
|
+
"react-select-event": "^5.5.1",
|
|
86
|
+
"uuid": "^11.1.0"
|
|
86
87
|
},
|
|
87
88
|
"devDependencies": {
|
|
88
89
|
"@babel/core": "^7.27.4",
|
|
89
|
-
"@chromatic-com/storybook": "^
|
|
90
|
+
"@chromatic-com/storybook": "^4.0.1",
|
|
90
91
|
"@semantic-release/commit-analyzer": "^11.1.0",
|
|
91
92
|
"@size-limit/preset-small-lib": "^11.1.4",
|
|
92
|
-
"@storybook/addon-
|
|
93
|
-
"@storybook/addon-
|
|
94
|
-
"@storybook/addon-themes": "^
|
|
95
|
-
"@storybook/
|
|
96
|
-
"@storybook/manager-api": "^8.6.11",
|
|
97
|
-
"@storybook/react": "^8.6.11",
|
|
98
|
-
"@storybook/react-vite": "^8.6.11",
|
|
99
|
-
"@storybook/test": "^8.6.11",
|
|
100
|
-
"@storybook/theming": "^8.6.11",
|
|
93
|
+
"@storybook/addon-a11y": "^9.0.17",
|
|
94
|
+
"@storybook/addon-docs": "^9.0.17",
|
|
95
|
+
"@storybook/addon-themes": "^9.0.17",
|
|
96
|
+
"@storybook/react-vite": "^9.0.17",
|
|
101
97
|
"@testing-library/jest-dom": "^6.6.3",
|
|
102
98
|
"@testing-library/react": "^16.2.0",
|
|
103
99
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -110,7 +106,7 @@
|
|
|
110
106
|
"@types/react-modal": "^3.16.3",
|
|
111
107
|
"autoprefixer": "^10.4.20",
|
|
112
108
|
"babel-loader": "^9.1.3",
|
|
113
|
-
"chromatic": "^
|
|
109
|
+
"chromatic": "^13.1.2",
|
|
114
110
|
"clean-webpack-plugin": "^4.0.0",
|
|
115
111
|
"cross-env": "^7.0.3",
|
|
116
112
|
"css-loader": "^6.9.0",
|
|
@@ -132,7 +128,7 @@
|
|
|
132
128
|
"sass-loader": "^13.3.3",
|
|
133
129
|
"semantic-release": "^23.0.0",
|
|
134
130
|
"size-limit": "^11.1.6",
|
|
135
|
-
"storybook": "^
|
|
131
|
+
"storybook": "^9.0.17",
|
|
136
132
|
"ts-jest": "^29.1.2",
|
|
137
133
|
"tslib": "^2.6.2",
|
|
138
134
|
"typescript": "^5.3.3",
|
|
@@ -2,7 +2,7 @@ import { Alert } from './Alert';
|
|
|
2
2
|
import { AlertVariant } from './Alert.types';
|
|
3
3
|
import { Button } from '../Button/Button';
|
|
4
4
|
|
|
5
|
-
import type { Meta } from '@storybook/react';
|
|
5
|
+
import type { Meta } from '@storybook/react-vite';
|
|
6
6
|
import React from 'react';
|
|
7
7
|
import { useState } from 'react';
|
|
8
8
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Box } from '../Box/Box';
|
|
3
3
|
import { Button } from './Button';
|
|
4
|
-
import type { Meta } from '@storybook/react';
|
|
4
|
+
import type { Meta } from '@storybook/react-vite';
|
|
5
5
|
import { allModes } from '../../modes';
|
|
6
6
|
|
|
7
7
|
const meta: Meta<typeof Button> = {
|