@dimasbaguspm/versaur 0.0.7 → 0.0.9
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/README.md +5 -44
- package/dist/calendar-DwRERSxq.js +645 -0
- package/dist/drawer-Cn7sreJG.js +221 -0
- package/dist/enforce-subpath-import.js +106 -0
- package/dist/feedbacks/index.d.ts +3 -0
- package/dist/feedbacks/index.js +6 -0
- package/dist/feedbacks/progress-indicator/index.d.ts +2 -0
- package/dist/feedbacks/progress-indicator/progress-indicator.d.ts +7 -0
- package/dist/feedbacks/progress-indicator/types.d.ts +19 -0
- package/dist/form-layout-COQbtyW5.js +302 -0
- package/dist/forms/calculator-input/calculator-input.atoms.d.ts +11 -0
- package/dist/forms/calculator-input/calculator-input.d.ts +8 -0
- package/dist/forms/calculator-input/index.d.ts +1 -0
- package/dist/forms/calculator-input/types.d.ts +51 -0
- package/dist/forms/index.d.ts +12 -0
- package/dist/forms/index.js +18 -0
- package/dist/{components → forms}/segment-multiple-input/types.d.ts +4 -0
- package/dist/{components → forms}/segment-single-input/types.d.ts +4 -0
- package/dist/forms/time-picker-input/index.d.ts +2 -0
- package/dist/forms/time-picker-input/time-picker-input.atoms.d.ts +15 -0
- package/dist/forms/time-picker-input/time-picker-input.d.ts +9 -0
- package/dist/forms/time-picker-input/types.d.ts +47 -0
- package/dist/index-DOdDlCoL.js +3055 -0
- package/dist/index.d.ts +6 -2
- package/dist/index.js +50 -7067
- package/dist/{components → layouts}/app-bar/app-bar.atoms.d.ts +5 -1
- package/dist/{components → layouts}/app-bar/app-bar.d.ts +1 -0
- package/dist/{components → layouts}/app-bar/types.d.ts +6 -0
- package/dist/layouts/form-layout/form-layout.d.ts +4 -0
- package/dist/layouts/form-layout/index.d.ts +2 -0
- package/dist/layouts/form-layout/types.d.ts +20 -0
- package/dist/layouts/index.d.ts +5 -0
- package/dist/layouts/index.js +8 -0
- package/dist/layouts/page-layout/index.d.ts +1 -0
- package/dist/layouts/page-layout/page-layout.d.ts +8 -0
- package/dist/layouts/page-layout/types.d.ts +20 -0
- package/dist/menu--hEHXVZf.js +315 -0
- package/dist/navigation/index.d.ts +2 -0
- package/dist/navigation/index.js +5 -0
- package/dist/{components → navigation}/tabs/types.d.ts +4 -0
- package/dist/overlays/drawer/index.d.ts +2 -0
- package/dist/{components → overlays}/drawer/types.d.ts +8 -0
- package/dist/overlays/index.d.ts +3 -0
- package/dist/overlays/index.js +7 -0
- package/dist/{components → overlays}/menu/menu.atoms.d.ts +1 -1
- package/dist/{components → overlays}/menu/menu.d.ts +1 -1
- package/dist/{components → overlays}/menu/types.d.ts +1 -1
- package/dist/primitive/brand/brand.atoms.d.ts +6 -0
- package/dist/primitive/brand/brand.d.ts +8 -0
- package/dist/primitive/brand/index.d.ts +2 -0
- package/dist/primitive/brand/types.d.ts +17 -0
- package/dist/primitive/button-float/use-floating-position.d.ts +12 -0
- package/dist/{components → primitive}/button-icon/types.d.ts +1 -1
- package/dist/primitive/calculator/calculator.atoms.d.ts +2 -0
- package/dist/primitive/calculator/calculator.d.ts +2 -0
- package/dist/primitive/calculator/index.d.ts +2 -0
- package/dist/primitive/calculator/types.d.ts +29 -0
- package/dist/primitive/calculator/use-calculator.d.ts +11 -0
- package/dist/primitive/index.d.ts +14 -0
- package/dist/primitive/index.js +18 -0
- package/dist/primitive/table/index.d.ts +2 -0
- package/dist/primitive/table/table.atoms.d.ts +22 -0
- package/dist/primitive/table/table.d.ts +8 -0
- package/dist/primitive/table/types.d.ts +51 -0
- package/dist/skeleton-DwqjRsF-.js +277 -0
- package/dist/styles.css +5 -1
- package/dist/switch-input-DRNFMsqC.js +1985 -0
- package/dist/tabs-KyFmo5cA.js +310 -0
- package/dist/tile-BinjKW_i.js +921 -0
- package/package.json +24 -2
- package/dist/components/alert/alert.stories.d.ts +0 -42
- package/dist/components/alert/helpers.d.ts +0 -14
- package/dist/components/app-bar/app-bar.stories.d.ts +0 -19
- package/dist/components/app-bar/helpers.d.ts +0 -6
- package/dist/components/avatar/avatar.stories.d.ts +0 -42
- package/dist/components/avatar/helpers.d.ts +0 -14
- package/dist/components/badge/badge.stories.d.ts +0 -50
- package/dist/components/badge/helpers.d.ts +0 -11
- package/dist/components/bottom-bar/bottom-bar.stories.d.ts +0 -6
- package/dist/components/bottom-bar/helpers.d.ts +0 -7
- package/dist/components/breadcrumbs/breadcrumbs.stories.d.ts +0 -7
- package/dist/components/breadcrumbs/helpers.d.ts +0 -7
- package/dist/components/button/button.stories.d.ts +0 -50
- package/dist/components/button-float/button-float.stories.d.ts +0 -27
- package/dist/components/button-float/helpers.d.ts +0 -4
- package/dist/components/button-icon/button-icon.stories.d.ts +0 -45
- package/dist/components/button-icon/helpers.d.ts +0 -11
- package/dist/components/calendar/calendar.stories.d.ts +0 -6
- package/dist/components/checkbox-input/checkbox-input.stories.d.ts +0 -44
- package/dist/components/checkbox-input/context.d.ts +0 -10
- package/dist/components/checkbox-input/helpers.d.ts +0 -11
- package/dist/components/chip-input/chip-input.stories.d.ts +0 -12
- package/dist/components/chip-input/context.d.ts +0 -11
- package/dist/components/chip-input/helpers.d.ts +0 -4
- package/dist/components/date-single-picker-input/date-single-picker-input.docked.stories.d.ts +0 -10
- package/dist/components/date-single-picker-input/date-single-picker-input.modal.stories.d.ts +0 -10
- package/dist/components/date-single-picker-input/helpers.d.ts +0 -3
- package/dist/components/drawer/context.d.ts +0 -11
- package/dist/components/drawer/drawer.stories.d.ts +0 -41
- package/dist/components/drawer/helpers.d.ts +0 -39
- package/dist/components/drawer/index.d.ts +0 -10
- package/dist/components/icon/helpers.d.ts +0 -4
- package/dist/components/icon/icon.stories.d.ts +0 -39
- package/dist/components/index.d.ts +0 -30
- package/dist/components/loading-indicator/helpers.d.ts +0 -9
- package/dist/components/loading-indicator/loading-indicator.stories.d.ts +0 -16
- package/dist/components/menu/context.d.ts +0 -13
- package/dist/components/menu/helpers.d.ts +0 -8
- package/dist/components/menu/menu.stories.d.ts +0 -22
- package/dist/components/modal/helpers.d.ts +0 -7
- package/dist/components/modal/modal.stories.d.ts +0 -13
- package/dist/components/radio-input/context.d.ts +0 -11
- package/dist/components/radio-input/helpers.d.ts +0 -11
- package/dist/components/radio-input/radio-input.stories.d.ts +0 -74
- package/dist/components/segment-multiple-input/context.d.ts +0 -12
- package/dist/components/segment-multiple-input/helpers.d.ts +0 -15
- package/dist/components/segment-multiple-input/segment-multiple-input.stories.d.ts +0 -66
- package/dist/components/segment-single-input/context.d.ts +0 -12
- package/dist/components/segment-single-input/helpers.d.ts +0 -15
- package/dist/components/segment-single-input/segment-single-input.stories.d.ts +0 -57
- package/dist/components/select-input/helpers.d.ts +0 -3
- package/dist/components/select-input/select-input.stories.d.ts +0 -50
- package/dist/components/skeleton/helpers.d.ts +0 -6
- package/dist/components/skeleton/skeleton.stories.d.ts +0 -25
- package/dist/components/snackbar/helpers.d.ts +0 -8
- package/dist/components/snackbar/snackbar.stories.d.ts +0 -8
- package/dist/components/switch-input/helpers.d.ts +0 -18
- package/dist/components/switch-input/switch-input.stories.d.ts +0 -10
- package/dist/components/tabs/context.d.ts +0 -3
- package/dist/components/tabs/helpers.d.ts +0 -8
- package/dist/components/tabs/tabs.stories.d.ts +0 -17
- package/dist/components/text/helpers.d.ts +0 -18
- package/dist/components/text/text.stories.d.ts +0 -17
- package/dist/components/text-input/helpers.d.ts +0 -3
- package/dist/components/text-input/text-input.stories.d.ts +0 -20
- package/dist/components/textarea-input/helpers.d.ts +0 -4
- package/dist/components/textarea-input/textarea-input.stories.d.ts +0 -50
- package/dist/components/tile/helpers.d.ts +0 -8
- package/dist/components/tile/tile.stories.d.ts +0 -35
- package/dist/components/top-bar/helpers.d.ts +0 -26
- package/dist/components/top-bar/top-bar.stories.d.ts +0 -15
- package/dist/hooks/index.d.ts +0 -1
- /package/dist/{components → feedbacks}/loading-indicator/index.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/loading-indicator.atoms.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/loading-indicator.d.ts +0 -0
- /package/dist/{components → feedbacks}/loading-indicator/types.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/index.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/skeleton.d.ts +0 -0
- /package/dist/{components → feedbacks}/skeleton/types.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/checkbox-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/checkbox-input.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/index.d.ts +0 -0
- /package/dist/{components → forms}/checkbox-input/types.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/chip-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/chip-input.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/index.d.ts +0 -0
- /package/dist/{components → forms}/chip-input/types.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.docked.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.modal.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/index.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/types.d.ts +0 -0
- /package/dist/{components → forms}/date-single-picker-input/use-date-single-picker.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/index.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/radio-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/radio-input.d.ts +0 -0
- /package/dist/{components → forms}/radio-input/types.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/index.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/segment-multiple-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/segment-multiple-input/segment-multiple-input.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/index.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/segment-single-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/segment-single-input/segment-single-input.d.ts +0 -0
- /package/dist/{components → forms}/select-input/index.d.ts +0 -0
- /package/dist/{components → forms}/select-input/select-input.d.ts +0 -0
- /package/dist/{components → forms}/select-input/types.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/index.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/switch-input.atoms.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/switch-input.d.ts +0 -0
- /package/dist/{components → forms}/switch-input/types.d.ts +0 -0
- /package/dist/{components → forms}/text-input/index.d.ts +0 -0
- /package/dist/{components → forms}/text-input/text-input.d.ts +0 -0
- /package/dist/{components → forms}/text-input/types.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/index.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/textarea-input.d.ts +0 -0
- /package/dist/{components → forms}/textarea-input/types.d.ts +0 -0
- /package/dist/{components → layouts}/app-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/bottom-bar.atoms.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/bottom-bar.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/bottom-bar/types.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/index.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/top-bar.atoms.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/top-bar.d.ts +0 -0
- /package/dist/{components → layouts}/top-bar/types.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/breadcrumbs.atoms.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/breadcrumbs.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/index.d.ts +0 -0
- /package/dist/{components → navigation}/breadcrumbs/types.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/index.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/tabs.atoms.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/tabs.d.ts +0 -0
- /package/dist/{components → navigation}/tabs/use-tab-indicator.d.ts +0 -0
- /package/dist/{components → overlays}/drawer/drawer.atoms.d.ts +0 -0
- /package/dist/{components → overlays}/drawer/drawer.d.ts +0 -0
- /package/dist/{components → overlays}/menu/index.d.ts +0 -0
- /package/dist/{components → overlays}/menu/use-menu.d.ts +0 -0
- /package/dist/{components → overlays}/modal/index.d.ts +0 -0
- /package/dist/{components → overlays}/modal/modal.atoms.d.ts +0 -0
- /package/dist/{components → overlays}/modal/modal.d.ts +0 -0
- /package/dist/{components → overlays}/modal/types.d.ts +0 -0
- /package/dist/{components → overlays}/modal/use-escape-close.d.ts +0 -0
- /package/dist/{components → overlays}/modal/use-focus-trap.d.ts +0 -0
- /package/dist/{components → primitive}/alert/alert.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/alert/alert.d.ts +0 -0
- /package/dist/{components → primitive}/alert/index.d.ts +0 -0
- /package/dist/{components → primitive}/alert/types.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/avatar.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/avatar.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/index.d.ts +0 -0
- /package/dist/{components → primitive}/avatar/types.d.ts +0 -0
- /package/dist/{components → primitive}/badge/badge.d.ts +0 -0
- /package/dist/{components → primitive}/badge/index.d.ts +0 -0
- /package/dist/{components → primitive}/badge/types.d.ts +0 -0
- /package/dist/{components → primitive}/button/button.d.ts +0 -0
- /package/dist/{components → primitive}/button/index.d.ts +0 -0
- /package/dist/{components → primitive}/button/types.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/button-float.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/index.d.ts +0 -0
- /package/dist/{components → primitive}/button-float/types.d.ts +0 -0
- /package/dist/{components → primitive}/button-icon/button-icon.d.ts +0 -0
- /package/dist/{components → primitive}/button-icon/index.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/calendar.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/index.d.ts +0 -0
- /package/dist/{components → primitive}/calendar/types.d.ts +0 -0
- /package/dist/{components → primitive}/icon/icon.d.ts +0 -0
- /package/dist/{components → primitive}/icon/index.d.ts +0 -0
- /package/dist/{components → primitive}/icon/types.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/index.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/snackbar.atoms.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/snackbar.d.ts +0 -0
- /package/dist/{components → primitive}/snackbar/types.d.ts +0 -0
- /package/dist/{components → primitive}/text/index.d.ts +0 -0
- /package/dist/{components → primitive}/text/text.d.ts +0 -0
- /package/dist/{components → primitive}/text/types.d.ts +0 -0
- /package/dist/{components → primitive}/tile/index.d.ts +0 -0
- /package/dist/{components → primitive}/tile/tile.d.ts +0 -0
- /package/dist/{components → primitive}/tile/types.d.ts +0 -0
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SwitchInput } from './switch-input';
|
|
2
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
3
|
-
declare const meta: Meta<typeof SwitchInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof SwitchInput>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const InlineLabel: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
9
|
-
export declare const NoLabel: Story;
|
|
10
|
-
export declare const ColorVariations: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const tabsTriggerVariants: (props?: ({
|
|
2
|
-
active?: boolean | null | undefined;
|
|
3
|
-
color?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
export declare const tabsContainerVariants: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
export declare const tabsIndicatorVariants: (props?: ({
|
|
7
|
-
color?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Tabs } from './tabs';
|
|
3
|
-
declare const meta: Meta<typeof Tabs>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Tabs>;
|
|
6
|
-
/**
|
|
7
|
-
* Basic vertical tabs
|
|
8
|
-
*/
|
|
9
|
-
export declare const Basic: Story;
|
|
10
|
-
/**
|
|
11
|
-
* Tabs with color variants
|
|
12
|
-
*/
|
|
13
|
-
export declare const ColorVariants: Story;
|
|
14
|
-
/**
|
|
15
|
-
* Tabs with scroll behavior
|
|
16
|
-
*/
|
|
17
|
-
export declare const ScrollBehavior: Story;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Text variants for Versaur design system
|
|
3
|
-
* Supports color, underline, and capitalization
|
|
4
|
-
*/
|
|
5
|
-
/**
|
|
6
|
-
* Extended text variants for Versaur design system
|
|
7
|
-
* Adds support for align, italic, clamp, ellipsis, fontWeight, fontSize, lineHeight
|
|
8
|
-
*/
|
|
9
|
-
export declare const textVariants: (props?: ({
|
|
10
|
-
color?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | null | undefined;
|
|
11
|
-
hasUnderline?: boolean | null | undefined;
|
|
12
|
-
isCapitalize?: boolean | null | undefined;
|
|
13
|
-
align?: "center" | "right" | "left" | "justify" | null | undefined;
|
|
14
|
-
italic?: boolean | null | undefined;
|
|
15
|
-
clamp?: 2 | 1 | "none" | 3 | 4 | 5 | null | undefined;
|
|
16
|
-
ellipsis?: boolean | null | undefined;
|
|
17
|
-
as?: "span" | "label" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | null | undefined;
|
|
18
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Text } from './text';
|
|
3
|
-
declare const meta: Meta<typeof Text>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Text>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Heading: Story;
|
|
8
|
-
export declare const SubHeading: Story;
|
|
9
|
-
export declare const Paragraph: Story;
|
|
10
|
-
export declare const ItalicText: Story;
|
|
11
|
-
export declare const UnderlineCapitalize: Story;
|
|
12
|
-
export declare const ClampEllipsis: Story;
|
|
13
|
-
export declare const ColorVariants: Story;
|
|
14
|
-
export declare const AsVariants: Story;
|
|
15
|
-
export declare const FontSizeVariants: Story;
|
|
16
|
-
export declare const FontWeightVariants: Story;
|
|
17
|
-
export declare const CustomFontSizeWeight: Story;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export declare const textInputVariants: (props?: ({
|
|
2
|
-
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | "primary-outline" | "secondary-outline" | "tertiary-outline" | "ghost-outline" | "neutral-outline" | "success-outline" | "info-outline" | "warning-outline" | "danger-outline" | null | undefined;
|
|
3
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TextInput } from './text-input';
|
|
3
|
-
declare const meta: Meta<typeof TextInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof TextInput>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Primary: Story;
|
|
8
|
-
export declare const Secondary: Story;
|
|
9
|
-
export declare const Tertiary: Story;
|
|
10
|
-
export declare const WithLeftContent: Story;
|
|
11
|
-
export declare const WithRightContent: Story;
|
|
12
|
-
export declare const WithBothContent: Story;
|
|
13
|
-
export declare const Outline: Story;
|
|
14
|
-
export declare const Success: Story;
|
|
15
|
-
export declare const Warning: Story;
|
|
16
|
-
export declare const Error: Story;
|
|
17
|
-
export declare const Disabled: Story;
|
|
18
|
-
export declare const AllVariants: Story;
|
|
19
|
-
export declare const WithLabelAndCustomId: Story;
|
|
20
|
-
export declare const LabelWithError: Story;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const textAreaInputVariants: (props?: ({
|
|
2
|
-
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | "primary-outline" | "secondary-outline" | "tertiary-outline" | "ghost-outline" | "neutral-outline" | "success-outline" | "info-outline" | "warning-outline" | "danger-outline" | null | undefined;
|
|
3
|
-
fieldSizing?: "content" | "fixed" | null | undefined;
|
|
4
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { TextAreaInput } from './textarea-input';
|
|
3
|
-
/**
|
|
4
|
-
* TextAreaInput provides a styled textarea field for multi-line text input.
|
|
5
|
-
* It supports field-sizing for auto-resizing, configurable minimum height,
|
|
6
|
-
* and all the variant styles from the Versaur design system.
|
|
7
|
-
*/
|
|
8
|
-
declare const meta: Meta<typeof TextAreaInput>;
|
|
9
|
-
export default meta;
|
|
10
|
-
type Story = StoryObj<typeof meta>;
|
|
11
|
-
/**
|
|
12
|
-
* Default textarea with primary variant and fixed sizing
|
|
13
|
-
*/
|
|
14
|
-
export declare const Default: Story;
|
|
15
|
-
/**
|
|
16
|
-
* Auto-resizing textarea that grows with content using field-sizing: content
|
|
17
|
-
*/
|
|
18
|
-
export declare const AutoResize: Story;
|
|
19
|
-
/**
|
|
20
|
-
* Custom row configuration for larger text areas
|
|
21
|
-
*/
|
|
22
|
-
export declare const CustomRows: Story;
|
|
23
|
-
/**
|
|
24
|
-
* All color variants showcasing the Versaur design system
|
|
25
|
-
*/
|
|
26
|
-
export declare const Variants: Story;
|
|
27
|
-
/**
|
|
28
|
-
* Outline variants for subtle styling
|
|
29
|
-
*/
|
|
30
|
-
export declare const OutlineVariants: Story;
|
|
31
|
-
/**
|
|
32
|
-
* Semantic variants for different states and contexts
|
|
33
|
-
*/
|
|
34
|
-
export declare const SemanticVariants: Story;
|
|
35
|
-
/**
|
|
36
|
-
* Error state with validation message
|
|
37
|
-
*/
|
|
38
|
-
export declare const WithError: Story;
|
|
39
|
-
/**
|
|
40
|
-
* With helper text for additional guidance
|
|
41
|
-
*/
|
|
42
|
-
export declare const WithHelperText: Story;
|
|
43
|
-
/**
|
|
44
|
-
* Disabled state for read-only scenarios
|
|
45
|
-
*/
|
|
46
|
-
export declare const Disabled: Story;
|
|
47
|
-
/**
|
|
48
|
-
* Form example showing practical usage in a contact form
|
|
49
|
-
*/
|
|
50
|
-
export declare const ContactForm: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tile component variants using class-variance-authority
|
|
3
|
-
*/
|
|
4
|
-
export declare const tileVariants: (props?: ({
|
|
5
|
-
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "neutral" | "success" | "info" | "warning" | "danger" | "white" | null | undefined;
|
|
6
|
-
size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
7
|
-
shape?: "square" | "rounded" | null | undefined;
|
|
8
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Tile } from './tile';
|
|
3
|
-
/**
|
|
4
|
-
* The Tile component is a flexible box container that provides a foundation for
|
|
5
|
-
* content layouts. It offers multiple color variants with soft backgrounds,
|
|
6
|
-
* configurable padding sizes, and shape options for rounded or square corners.
|
|
7
|
-
* Perfect for creating cards, panels, sections, and other content containers.
|
|
8
|
-
*/
|
|
9
|
-
declare const meta: Meta<typeof Tile>;
|
|
10
|
-
export default meta;
|
|
11
|
-
type Story = StoryObj<typeof meta>;
|
|
12
|
-
/**
|
|
13
|
-
* Default tile with white background and medium padding
|
|
14
|
-
*/
|
|
15
|
-
export declare const Default: Story;
|
|
16
|
-
/**
|
|
17
|
-
* All available color variants demonstrating the soft color palette
|
|
18
|
-
*/
|
|
19
|
-
export declare const Variants: Story;
|
|
20
|
-
/**
|
|
21
|
-
* Different padding sizes from extra small to extra large
|
|
22
|
-
*/
|
|
23
|
-
export declare const Sizes: Story;
|
|
24
|
-
/**
|
|
25
|
-
* Shape options: rounded corners (default) vs square corners
|
|
26
|
-
*/
|
|
27
|
-
export declare const Shapes: Story;
|
|
28
|
-
/**
|
|
29
|
-
* Practical use case: Information card with content and styling
|
|
30
|
-
*/
|
|
31
|
-
export declare const InfoCard: Story;
|
|
32
|
-
/**
|
|
33
|
-
* Dashboard-style layout using multiple tiles
|
|
34
|
-
*/
|
|
35
|
-
export declare const Dashboard: Story;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* TopBarRoot styles
|
|
3
|
-
*/
|
|
4
|
-
export declare const topBarRootStyles: (props?: ({} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
|
-
/**
|
|
6
|
-
* TopBarLeading styles
|
|
7
|
-
*/
|
|
8
|
-
export declare const topBarLeadingStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
9
|
-
/**
|
|
10
|
-
* TopBarTrailing styles
|
|
11
|
-
*/
|
|
12
|
-
export declare const topBarTrailingStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
13
|
-
/**
|
|
14
|
-
* TopBarNavItem styles
|
|
15
|
-
*/
|
|
16
|
-
export declare const topBarNavItemStyles: (props?: ({
|
|
17
|
-
active?: boolean | null | undefined;
|
|
18
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
|
-
/**
|
|
20
|
-
* TopBarNav styles (container for navigation items)
|
|
21
|
-
*/
|
|
22
|
-
export declare const topBarNavStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
23
|
-
/**
|
|
24
|
-
* TopBarActions styles (container for action items)
|
|
25
|
-
*/
|
|
26
|
-
export declare const topBarActionsStyles: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
title: string;
|
|
3
|
-
component: import('react').ForwardRefExoticComponent<import('./types').TopBarProps & import('react').RefAttributes<HTMLDivElement>> & {
|
|
4
|
-
Leading: import('react').ForwardRefExoticComponent<import('./types').TopBarLeadingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
5
|
-
Trailing: import('react').ForwardRefExoticComponent<import('./types').TopBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
6
|
-
NavItem: import('react').ForwardRefExoticComponent<import('./types').TopBarNavItemProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
7
|
-
Nav: import('react').ForwardRefExoticComponent<import('./types').TopBarLeadingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
8
|
-
Actions: import('react').ForwardRefExoticComponent<import('./types').TopBarTrailingProps & import('react').RefAttributes<HTMLDivElement>>;
|
|
9
|
-
};
|
|
10
|
-
parameters: {
|
|
11
|
-
layout: string;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export default _default;
|
|
15
|
-
export declare const Default: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/hooks/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.atoms.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
/package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.docked.d.ts
RENAMED
|
File without changes
|
/package/dist/{components → forms}/date-single-picker-input/date-single-picker-input.modal.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|