@vkzstudio/muza-ui 1.0.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/README.md +160 -0
- package/dist/components/Accordion/Accordion.d.ts +8 -0
- package/dist/components/Accordion/Accordion.d.ts.map +1 -0
- package/dist/components/Accordion/Accordion.stories.d.ts +16 -0
- package/dist/components/Accordion/Accordion.stories.d.ts.map +1 -0
- package/dist/components/Accordion/index.d.ts +2 -0
- package/dist/components/Accordion/index.d.ts.map +1 -0
- package/dist/components/Alert/Alert.d.ts +15 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/Alert.stories.d.ts +12 -0
- package/dist/components/Alert/Alert.stories.d.ts.map +1 -0
- package/dist/components/Alert/index.d.ts +2 -0
- package/dist/components/Alert/index.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +19 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +13 -0
- package/dist/components/Avatar/Avatar.stories.d.ts.map +1 -0
- package/dist/components/Avatar/index.d.ts +2 -0
- package/dist/components/Avatar/index.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +12 -0
- package/dist/components/Breadcrumb/Breadcrumb.d.ts.map +1 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +7 -0
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts.map +1 -0
- package/dist/components/Breadcrumb/index.d.ts +2 -0
- package/dist/components/Breadcrumb/index.d.ts.map +1 -0
- package/dist/components/Button/Button.d.ts +12 -0
- package/dist/components/Button/Button.d.ts.map +1 -0
- package/dist/components/Button/Button.stories.d.ts +15 -0
- package/dist/components/Button/Button.stories.d.ts.map +1 -0
- package/dist/components/Button/buttonVariants.d.ts +17 -0
- package/dist/components/Button/buttonVariants.d.ts.map +1 -0
- package/dist/components/Button/index.d.ts +2 -0
- package/dist/components/Button/index.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.d.ts +10 -0
- package/dist/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +16 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts.map +1 -0
- package/dist/components/Checkbox/index.d.ts +2 -0
- package/dist/components/Checkbox/index.d.ts.map +1 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts +13 -0
- package/dist/components/EdgeButton/EdgeButton.d.ts.map +1 -0
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts +12 -0
- package/dist/components/EdgeButton/EdgeButton.stories.d.ts.map +1 -0
- package/dist/components/EdgeButton/index.d.ts +2 -0
- package/dist/components/EdgeButton/index.d.ts.map +1 -0
- package/dist/components/Flex/Flex.d.ts +39 -0
- package/dist/components/Flex/Flex.d.ts.map +1 -0
- package/dist/components/Flex/Flex.stories.d.ts +25 -0
- package/dist/components/Flex/Flex.stories.d.ts.map +1 -0
- package/dist/components/Flex/index.d.ts +2 -0
- package/dist/components/Flex/index.d.ts.map +1 -0
- package/dist/components/Icons/CustomIcons.d.ts +25 -0
- package/dist/components/Icons/CustomIcons.d.ts.map +1 -0
- package/dist/components/Icons/Icons.stories.d.ts +13 -0
- package/dist/components/Icons/Icons.stories.d.ts.map +1 -0
- package/dist/components/Icons/index.d.ts +4 -0
- package/dist/components/Icons/index.d.ts.map +1 -0
- package/dist/components/Input/Input.d.ts +40 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/Input.stories.d.ts +15 -0
- package/dist/components/Input/Input.stories.d.ts.map +1 -0
- package/dist/components/Input/index.d.ts +2 -0
- package/dist/components/Input/index.d.ts.map +1 -0
- package/dist/components/Loader/Loader.d.ts +7 -0
- package/dist/components/Loader/Loader.d.ts.map +1 -0
- package/dist/components/Loader/Loader.stories.d.ts +7 -0
- package/dist/components/Loader/Loader.stories.d.ts.map +1 -0
- package/dist/components/Loader/index.d.ts +2 -0
- package/dist/components/Loader/index.d.ts.map +1 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts +8 -0
- package/dist/components/PinIndicator/PinIndicator.d.ts.map +1 -0
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts +9 -0
- package/dist/components/PinIndicator/PinIndicator.stories.d.ts.map +1 -0
- package/dist/components/PinIndicator/index.d.ts +2 -0
- package/dist/components/PinIndicator/index.d.ts.map +1 -0
- package/dist/components/Radio/Radio.d.ts +8 -0
- package/dist/components/Radio/Radio.d.ts.map +1 -0
- package/dist/components/Radio/Radio.stories.d.ts +8 -0
- package/dist/components/Radio/Radio.stories.d.ts.map +1 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/index.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts +8 -0
- package/dist/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts +12 -0
- package/dist/components/SegmentedControl/SegmentedControl.stories.d.ts.map +1 -0
- package/dist/components/SegmentedControl/index.d.ts +2 -0
- package/dist/components/SegmentedControl/index.d.ts.map +1 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts +8 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.d.ts.map +1 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts +12 -0
- package/dist/components/SegmentedIconControl/SegmentedIconControl.stories.d.ts.map +1 -0
- package/dist/components/SegmentedIconControl/index.d.ts +2 -0
- package/dist/components/SegmentedIconControl/index.d.ts.map +1 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts +13 -0
- package/dist/components/SliderIndicators/SliderIndicators.d.ts.map +1 -0
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts +9 -0
- package/dist/components/SliderIndicators/SliderIndicators.stories.d.ts.map +1 -0
- package/dist/components/SliderIndicators/index.d.ts +2 -0
- package/dist/components/SliderIndicators/index.d.ts.map +1 -0
- package/dist/components/Snackbar/Snackbar.d.ts +4 -0
- package/dist/components/Snackbar/Snackbar.d.ts.map +1 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts +10 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts.map +1 -0
- package/dist/components/Snackbar/Toast.d.ts +18 -0
- package/dist/components/Snackbar/Toast.d.ts.map +1 -0
- package/dist/components/Snackbar/index.d.ts +3 -0
- package/dist/components/Snackbar/index.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.d.ts +18 -0
- package/dist/components/Stepper/Stepper.d.ts.map +1 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +12 -0
- package/dist/components/Stepper/Stepper.stories.d.ts.map +1 -0
- package/dist/components/Stepper/StepperButton.d.ts +10 -0
- package/dist/components/Stepper/StepperButton.d.ts.map +1 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Stepper/index.d.ts.map +1 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts +16 -0
- package/dist/components/SwipeButton/SwipeButton.d.ts.map +1 -0
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts +104 -0
- package/dist/components/SwipeButton/SwipeButton.stories.d.ts.map +1 -0
- package/dist/components/SwipeButton/SwipeLoadingIcon.d.ts +2 -0
- package/dist/components/SwipeButton/SwipeLoadingIcon.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts +6 -0
- package/dist/components/SwipeButton/swipeButtonProgressVariants.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts +6 -0
- package/dist/components/SwipeButton/swipeButtonSliderVariants.d.ts.map +1 -0
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts +9 -0
- package/dist/components/SwipeButton/swipeButtonVariants.d.ts.map +1 -0
- package/dist/components/Switch/Switch.d.ts +8 -0
- package/dist/components/Switch/Switch.d.ts.map +1 -0
- package/dist/components/Switch/Switch.stories.d.ts +10 -0
- package/dist/components/Switch/Switch.stories.d.ts.map +1 -0
- package/dist/components/Switch/index.d.ts +2 -0
- package/dist/components/Switch/index.d.ts.map +1 -0
- package/dist/components/Tag/Tag.d.ts +13 -0
- package/dist/components/Tag/Tag.d.ts.map +1 -0
- package/dist/components/Tag/Tag.stories.d.ts +20 -0
- package/dist/components/Tag/Tag.stories.d.ts.map +1 -0
- package/dist/components/Tag/index.d.ts +2 -0
- package/dist/components/Tag/index.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.d.ts +13 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/Textarea.stories.d.ts +13 -0
- package/dist/components/Textarea/Textarea.stories.d.ts.map +1 -0
- package/dist/components/Textarea/index.d.ts +2 -0
- package/dist/components/Textarea/index.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +13 -0
- package/dist/components/Toggle/Toggle.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.stories.d.ts +12 -0
- package/dist/components/Toggle/Toggle.stories.d.ts.map +1 -0
- package/dist/components/Toggle/index.d.ts +2 -0
- package/dist/components/Toggle/index.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +10 -0
- package/dist/components/ToggleGroup/ToggleGroup.d.ts.map +1 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +14 -0
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts.map +1 -0
- package/dist/components/ToggleGroup/index.d.ts +2 -0
- package/dist/components/ToggleGroup/index.d.ts.map +1 -0
- package/dist/components/Typography/Typography.d.ts +15 -0
- package/dist/components/Typography/Typography.d.ts.map +1 -0
- package/dist/components/Typography/Typography.stories.d.ts +17 -0
- package/dist/components/Typography/Typography.stories.d.ts.map +1 -0
- package/dist/components/Typography/index.d.ts +2 -0
- package/dist/components/Typography/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +24 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/fonts/Objectivity/OFL.txt +92 -0
- package/dist/fonts/Objectivity/Objectivity-Black.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Black.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BlackSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Bold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Bold.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-BoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBold.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ExtraBoldSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Light.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Light.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-LightSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Medium.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Medium.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-MediumSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Regular.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Regular.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-RegularSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Super.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-SuperSlanted.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-Thin.woff2 +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.otf +0 -0
- package/dist/fonts/Objectivity/Objectivity-ThinSlanted.woff2 +0 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +42253 -0
- package/dist/utils/cn.d.ts +3 -0
- package/dist/utils/cn.d.ts.map +1 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +102 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
declare const Icon: import('@solar-icons/react-perf/lib/types').Icon;
|
|
3
|
+
declare const meta: Meta<typeof Icon>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Icon>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const SolarIcons: Story;
|
|
8
|
+
export declare const Sizes: Story;
|
|
9
|
+
export declare const Colors: Story;
|
|
10
|
+
export declare const CustomIconsStory: Story;
|
|
11
|
+
export declare const Playground: Story;
|
|
12
|
+
export declare const SVGPropsPassThrough: Story;
|
|
13
|
+
//# sourceMappingURL=Icons.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Icons.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/Icons.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAI3D,QAAA,MAAM,IAAI,kDAAuB,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,IAAI,CA6B3B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAElC,eAAO,MAAM,OAAO,EAAE,KAMrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAiCnB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAoBpB,CAAA;AAsBD,eAAO,MAAM,gBAAgB,EAAE,KAsC9B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAaxB,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,KAqBjC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,eAAe,CAAA;AAC7B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,yBAAyB,CAAA"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
declare const inputWrapperVariants: (props?: ({
|
|
4
|
+
size?: "lg" | "base" | "sm" | null | undefined;
|
|
5
|
+
error?: boolean | null | undefined;
|
|
6
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
+
export interface InputProps extends Omit<React.ComponentProps<'input'>, 'size' | 'prefix' | 'suffix' | 'type'>, VariantProps<typeof inputWrapperVariants> {
|
|
8
|
+
label?: string;
|
|
9
|
+
type?: 'text' | 'email' | 'password' | 'number';
|
|
10
|
+
size?: 'sm' | 'base' | 'lg';
|
|
11
|
+
error?: boolean;
|
|
12
|
+
prefix?: React.ReactNode;
|
|
13
|
+
suffix?: React.ReactNode;
|
|
14
|
+
hint?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Input mask pattern using react-imask syntax. All alphabetic input is automatically converted to uppercase.
|
|
17
|
+
*
|
|
18
|
+
* Common patterns:
|
|
19
|
+
* - `0` = digit (0-9)
|
|
20
|
+
* - `a` = letter (a-z, A-Z) - automatically converted to uppercase
|
|
21
|
+
* - `*` = alphanumeric (0-9, a-z, A-Z) - automatically converted to uppercase
|
|
22
|
+
* - Any other character = literal character in the mask
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```tsx
|
|
26
|
+
* // Phone number: (123) 456-7890
|
|
27
|
+
* <Input mask="(000) 000-0000" />
|
|
28
|
+
*
|
|
29
|
+
* // Serial number: ABCDE-12345-FGHIJ-67890
|
|
30
|
+
* <Input mask="aaaaa-aaaaa-aaaaa-aaaaa" />
|
|
31
|
+
*
|
|
32
|
+
* // Mixed format: AB-1234-CD
|
|
33
|
+
* <Input mask="aa-0000-aa" />
|
|
34
|
+
* ```
|
|
35
|
+
*/
|
|
36
|
+
mask?: string;
|
|
37
|
+
}
|
|
38
|
+
declare function Input({ className, type, prefix, suffix, label, hint, size, error, mask, onChange, id, required, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export { Input };
|
|
40
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAMjE,QAAA,MAAM,oBAAoB;;;8EAyBzB,CAAA;AAeD,MAAM,WAAW,UACf,SAAQ,IAAI,CACR,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,EAC7B,MAAM,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CACtC,EACD,YAAY,CAAC,OAAO,oBAAoB,CAAC;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAA;IAC/C,IAAI,CAAC,EAAE,IAAI,GAAG,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,IAAa,EACb,MAAM,EACN,MAAM,EACN,KAAK,EACL,IAAI,EACJ,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,EAAE,EACF,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,UAAU,2CAuGZ;AAED,OAAO,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Input } from './Input';
|
|
3
|
+
declare const meta: Meta<typeof Input>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Input>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const InputWithPrefixAndSuffix: Story;
|
|
8
|
+
export declare const InputWithLabelAndHint: Story;
|
|
9
|
+
export declare const InputWithError: Story;
|
|
10
|
+
export declare const DisabledInput: Story;
|
|
11
|
+
export declare const InputWithMask: Story;
|
|
12
|
+
export declare const InputWithSerialNumberMask: Story;
|
|
13
|
+
export declare const AllSizes: Story;
|
|
14
|
+
export declare const AllTypes: Story;
|
|
15
|
+
//# sourceMappingURL=Input.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAI/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA4E5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAGnC,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAetC,CAAA;AAED,eAAO,MAAM,qBAAqB,EAAE,KAcnC,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAe5B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAe3B,CAAA;AAED,eAAO,MAAM,aAAa,EAAE,KAuB3B,CAAA;AAED,eAAO,MAAM,yBAAyB,EAAE,KAuBvC,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoBtB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAoBtB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Input/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.tsx"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,MAAM,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,2CA8BxC;AAED,OAAO,EAAE,MAAM,EAAE,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Loader } from './Loader';
|
|
3
|
+
declare const meta: Meta<typeof Loader>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Loader>;
|
|
6
|
+
export declare const SpinnerLoader: Story;
|
|
7
|
+
//# sourceMappingURL=Loader.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Loader.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/Loader.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEjC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,MAAM,CA+B7B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AAEpC,eAAO,MAAM,aAAa,EAAE,KAW3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Loader/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface PinIndicatorProps {
|
|
2
|
+
maxCount?: number;
|
|
3
|
+
progres?: number;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
declare function PinIndicator({ className, maxCount, progres, ...props }: PinIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { PinIndicator };
|
|
8
|
+
//# sourceMappingURL=PinIndicator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinIndicator.d.ts","sourceRoot":"","sources":["../../../src/components/PinIndicator/PinIndicator.tsx"],"names":[],"mappings":"AAEA,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,QAAY,EACZ,OAAO,EACP,GAAG,KAAK,EACT,EAAE,iBAAiB,2CAwBnB;AAED,OAAO,EAAE,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { PinIndicator } from './PinIndicator';
|
|
3
|
+
declare const meta: Meta<typeof PinIndicator>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof PinIndicator>;
|
|
6
|
+
export declare const Empty: Story;
|
|
7
|
+
export declare const HalfFilled: Story;
|
|
8
|
+
export declare const Full: Story;
|
|
9
|
+
//# sourceMappingURL=PinIndicator.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinIndicator.stories.d.ts","sourceRoot":"","sources":["../../../src/components/PinIndicator/PinIndicator.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,YAAY,CAqCnC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA;AAE1C,eAAO,MAAM,KAAK,EAAE,KAYnB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA;AAED,eAAO,MAAM,IAAI,EAAE,KAYlB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PinIndicator/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
|
|
3
|
+
declare function RadioGroup({ className, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare function RadioGroupItem({ className, id, label, disabled, ...props }: React.ComponentProps<typeof RadioGroupPrimitive.Item> & {
|
|
5
|
+
label?: string;
|
|
6
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { RadioGroup, RadioGroupItem };
|
|
8
|
+
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,mBAAmB,MAAM,6BAA6B,CAAA;AAKlE,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,2CAQvD;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,EAAE,EACF,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,mBAAmB,CAAC,IAAI,CAAC,GAAG;IAAE,KAAK,CAAC,EAAE,MAAM,CAAA;CAAE,2CAmD5E;AAED,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { RadioGroupItem } from './Radio';
|
|
3
|
+
declare const meta: Meta<typeof RadioGroupItem>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof RadioGroupItem>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const Playground: Story;
|
|
8
|
+
//# sourceMappingURL=Radio.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Radio.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/Radio.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAc,cAAc,EAAE,MAAM,SAAS,CAAA;AAEpD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,cAAc,CA0CrC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,cAAc,CAAC,CAAA;AAE5C,eAAO,MAAM,OAAO,EAAE,KAoBrB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAwBxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
export type SegmentedControlProps = React.ComponentProps<typeof ToggleGroupPrimitive.Root>;
|
|
4
|
+
declare function SegmentedControl({ className, children, ...props }: SegmentedControlProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type SegmentedControlItemProps = React.ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
6
|
+
declare function SegmentedControlItem({ className, children, ...props }: SegmentedControlItemProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { SegmentedControl, SegmentedControlItem };
|
|
8
|
+
//# sourceMappingURL=SegmentedControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AAIpE,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CACtD,OAAO,oBAAoB,CAAC,IAAI,CACjC,CAAA;AAED,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,qBAAqB,2CAevB;AAED,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAC1D,OAAO,oBAAoB,CAAC,IAAI,CACjC,CAAA;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,yBAAyB,2CA2B3B;AAED,OAAO,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SegmentedControl } from './SegmentedControl';
|
|
3
|
+
declare const meta: Meta<typeof SegmentedControl>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SegmentedControl>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const MultipleSelection: Story;
|
|
8
|
+
export declare const EdgeCases: Story;
|
|
9
|
+
export declare const InteractiveStates: Story;
|
|
10
|
+
export declare const Controlled: Story;
|
|
11
|
+
export declare const Playground: Story;
|
|
12
|
+
//# sourceMappingURL=SegmentedControl.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedControl.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/SegmentedControl.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAwB,MAAM,oBAAoB,CAAA;AAE3E,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAuDvC,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE9C,eAAO,MAAM,OAAO,EAAE,KAYrB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAoB/B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KA0BvB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KAqD/B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAYxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAChB,KAAK,qBAAqB,EAC1B,oBAAoB,EACpB,KAAK,yBAAyB,GAC/B,MAAM,oBAAoB,CAAA"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
3
|
+
export type SegmentedIconControlProps = React.ComponentProps<typeof ToggleGroupPrimitive.Root>;
|
|
4
|
+
declare function SegmentedIconControl({ className, children, ...props }: SegmentedIconControlProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export type SegmentedIconControlItemProps = React.ComponentProps<typeof ToggleGroupPrimitive.Item>;
|
|
6
|
+
declare function SegmentedIconControlItem({ className, children, ...props }: SegmentedIconControlItemProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export { SegmentedIconControl, SegmentedIconControlItem };
|
|
8
|
+
//# sourceMappingURL=SegmentedIconControl.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedIconControl.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedIconControl/SegmentedIconControl.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,8BAA8B,CAAA;AAGpE,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAC1D,OAAO,oBAAoB,CAAC,IAAI,CACjC,CAAA;AAED,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,yBAAyB,2CAe3B;AAED,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAAC,cAAc,CAC9D,OAAO,oBAAoB,CAAC,IAAI,CACjC,CAAA;AAED,iBAAS,wBAAwB,CAAC,EAChC,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,6BAA6B,2CAmB/B;AAED,OAAO,EAAE,oBAAoB,EAAE,wBAAwB,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SegmentedIconControl } from './SegmentedIconControl';
|
|
3
|
+
declare const meta: Meta<typeof SegmentedIconControl>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SegmentedIconControl>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const MultipleSelection: Story;
|
|
8
|
+
export declare const EdgeCases: Story;
|
|
9
|
+
export declare const InteractiveStates: Story;
|
|
10
|
+
export declare const Controlled: Story;
|
|
11
|
+
export declare const Playground: Story;
|
|
12
|
+
//# sourceMappingURL=SegmentedIconControl.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentedIconControl.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedIconControl/SegmentedIconControl.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EACL,oBAAoB,EAErB,MAAM,wBAAwB,CAAA;AAK/B,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,oBAAoB,CAuD3C,CAAA;AAED,eAAe,IAAI,CAAA;AAEnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAElD,eAAO,MAAM,OAAO,EAAE,KAkBrB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KA0B/B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KA8BvB,CAAA;AAED,eAAO,MAAM,iBAAiB,EAAE,KA6E/B,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAoCxB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KAkBxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SegmentedIconControl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,oBAAoB,EACpB,KAAK,yBAAyB,EAC9B,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,wBAAwB,CAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface SliderIndicatorsProps {
|
|
2
|
+
count: number;
|
|
3
|
+
activeIndex?: number;
|
|
4
|
+
initialIndex?: number;
|
|
5
|
+
onDotClick?: (index: number) => void;
|
|
6
|
+
interactive?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
buttonAriaLabel?: string;
|
|
10
|
+
}
|
|
11
|
+
declare function SliderIndicators({ count, activeIndex, initialIndex, onDotClick, interactive, className, ariaLabel, buttonAriaLabel, }: SliderIndicatorsProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export { SliderIndicators };
|
|
13
|
+
//# sourceMappingURL=SliderIndicators.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SliderIndicators.d.ts","sourceRoot":"","sources":["../../../src/components/SliderIndicators/SliderIndicators.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,qBAAqB;IAEpC,KAAK,EAAE,MAAM,CAAA;IAEb,WAAW,CAAC,EAAE,MAAM,CAAA;IAEpB,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAEpC,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,iBAAS,gBAAgB,CAAC,EACxB,KAAK,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,WAAW,EACX,SAAS,EACT,SAAS,EACT,eAAe,GAChB,EAAE,qBAAqB,2CAgDvB;AAED,OAAO,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { SliderIndicators } from './SliderIndicators';
|
|
3
|
+
declare const meta: Meta<typeof SliderIndicators>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof SliderIndicators>;
|
|
6
|
+
export declare const Interactive: Story;
|
|
7
|
+
export declare const NotInteractive: Story;
|
|
8
|
+
export declare const NotInteractiveControlled: Story;
|
|
9
|
+
//# sourceMappingURL=SliderIndicators.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SliderIndicators.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SliderIndicators/SliderIndicators.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGrD,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,gBAAgB,CAoDvC,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE9C,eAAO,MAAM,WAAW,EAAE,KAczB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAA;AAED,eAAO,MAAM,wBAAwB,EAAE,KAmCtC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/SliderIndicators/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snackbar.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/Snackbar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,YAAY,IAAI,aAAa,EAAE,MAAM,QAAQ,CAAA;AAE9E,QAAA,MAAM,iBAAiB,GAAI,cAAc,aAAa,4CAErD,CAAA;AAED,OAAO,EAAE,iBAAiB,EAAE,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Toast } from './Toast';
|
|
3
|
+
declare const meta: Meta<typeof Toast>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Toast>;
|
|
6
|
+
export declare const Warning: Story;
|
|
7
|
+
export declare const Success: Story;
|
|
8
|
+
export declare const Error: Story;
|
|
9
|
+
export declare const AllOptions: Story;
|
|
10
|
+
//# sourceMappingURL=Snackbar.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Snackbar.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/Snackbar.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAS,MAAM,SAAS,CAAA;AAItC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,KAAK,CA6D5B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAA;AAEnC,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAyBrB,CAAA;AAED,eAAO,MAAM,KAAK,EAAE,KAyBnB,CAAA;AAED,eAAO,MAAM,UAAU,EAAE,KA+DxB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
interface ToastProps {
|
|
3
|
+
id: string | number;
|
|
4
|
+
variant: 'warning' | 'success' | 'error';
|
|
5
|
+
text?: string;
|
|
6
|
+
closable?: boolean;
|
|
7
|
+
autoDismiss?: number;
|
|
8
|
+
icon?: React.ReactNode;
|
|
9
|
+
onClose?: () => void;
|
|
10
|
+
className?: string;
|
|
11
|
+
dismissAriaLabel?: string;
|
|
12
|
+
onAutoDismiss?: () => void;
|
|
13
|
+
toasterId?: string;
|
|
14
|
+
}
|
|
15
|
+
declare function toast(toast: Omit<ToastProps, 'id'>): string | number;
|
|
16
|
+
declare function Toast({ id, text, variant, icon, dismissAriaLabel, onClose, closable, className, }: ToastProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { toast, Toast };
|
|
18
|
+
//# sourceMappingURL=Toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/Toast.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAA;AAQzB,UAAU,UAAU;IAClB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,OAAO,EAAE,SAAS,GAAG,SAAS,GAAG,OAAO,CAAA;IACxC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IACpB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,iBAAS,KAAK,CAAC,KAAK,EAAE,IAAI,CAAC,UAAU,EAAE,IAAI,CAAC,mBAO3C;AAED,iBAAS,KAAK,CAAC,EACb,EAAE,EACF,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,gBAAgB,EAChB,OAAO,EACP,QAAe,EACf,SAAS,GACV,EAAE,UAAU,2CA+CZ;AAED,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Snackbar/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAE1B,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface StepperProps {
|
|
2
|
+
value: number;
|
|
3
|
+
defaultValue?: number;
|
|
4
|
+
onChange?: (value: number) => void;
|
|
5
|
+
min?: number;
|
|
6
|
+
max?: number;
|
|
7
|
+
step?: number;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
showValue?: boolean;
|
|
10
|
+
formatValue?: (value: number) => string;
|
|
11
|
+
incrementAriaLabel?: string;
|
|
12
|
+
decrementAriaLabel?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
onLimitReached?: (limit: 'min' | 'max') => void;
|
|
15
|
+
}
|
|
16
|
+
declare function Stepper({ value, defaultValue, onChange, min, max, step, disabled, formatValue, incrementAriaLabel, decrementAriaLabel, className, onLimitReached, }: StepperProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { Stepper };
|
|
18
|
+
//# sourceMappingURL=Stepper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,YAAY;IAE3B,KAAK,EAAE,MAAM,CAAA;IAEb,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAElC,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ,GAAG,CAAC,EAAE,MAAM,CAAA;IAEZ,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAA;IAEvC,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAC3B,kBAAkB,CAAC,EAAE,MAAM,CAAA;IAE3B,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,GAAG,KAAK,KAAK,IAAI,CAAA;CAChD;AAED,iBAAS,OAAO,CAAC,EACf,KAAK,EACL,YAAY,EACZ,QAAQ,EACR,GAAG,EACH,GAAG,EACH,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,kBAAgC,EAChC,kBAAgC,EAChC,SAAS,EACT,cAAc,GACf,EAAE,YAAY,2CA4Ed;AAED,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { Stepper } from './Stepper';
|
|
3
|
+
declare const meta: Meta<typeof Stepper>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof Stepper>;
|
|
6
|
+
export declare const Min: Story;
|
|
7
|
+
export declare const Default: Story;
|
|
8
|
+
export declare const Max: Story;
|
|
9
|
+
export declare const Disabled: Story;
|
|
10
|
+
export declare const CustomStepSize: Story;
|
|
11
|
+
export declare const CustomFormatter: Story;
|
|
12
|
+
//# sourceMappingURL=Stepper.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Stepper.stories.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/Stepper.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAEnC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,OAAO,CA2E9B,CAAA;AAED,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,OAAO,CAAC,CAAA;AAErC,eAAO,MAAM,GAAG,EAAE,KAcjB,CAAA;AAED,eAAO,MAAM,OAAO,EAAE,KAarB,CAAA;AAED,eAAO,MAAM,GAAG,EAAE,KAcjB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KActB,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,KAc5B,CAAA;AAED,eAAO,MAAM,eAAe,EAAE,KAc7B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface StepperButtonProps {
|
|
3
|
+
onClick: () => void;
|
|
4
|
+
disabled?: boolean;
|
|
5
|
+
ariaLabel?: string;
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare function StepperButton({ onClick, disabled, ariaLabel, children, className, }: StepperButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
//# sourceMappingURL=StepperButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StepperButton.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/StepperButton.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,OAAO,EACP,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,SAAS,GACV,EAAE,kBAAkB,2CAkBpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Stepper/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { swipeButtonVariants } from './swipeButtonVariants';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
export interface SwipeButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof swipeButtonVariants> {
|
|
5
|
+
text?: string;
|
|
6
|
+
successText?: string;
|
|
7
|
+
loadingText?: string;
|
|
8
|
+
success?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
onSwipeComplete?: () => void;
|
|
11
|
+
reset?: boolean;
|
|
12
|
+
onResetComplete?: () => void;
|
|
13
|
+
className?: string;
|
|
14
|
+
}
|
|
15
|
+
export default function SwipeButton({ text, successText, loadingText, variant, size, fullWidth, loading, success, disabled, danger, onSwipeComplete, reset, onResetComplete, className, }: SwipeButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
//# sourceMappingURL=SwipeButton.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeButton.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeButton/SwipeButton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAY9B,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAM5D,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EACnD,YAAY,CAAC,OAAO,mBAAmB,CAAC;IAC1C,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,KAAK,CAAC,EAAE,OAAO,CAAA;IACf,eAAe,CAAC,EAAE,MAAM,IAAI,CAAA;IAC5B,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AAED,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,IAAI,EACJ,WAAuB,EACvB,WAAuB,EACvB,OAAmB,EACnB,IAAW,EACX,SAAiB,EACjB,OAAe,EACf,OAAe,EACf,QAAgB,EAChB,MAAc,EACd,eAAe,EACf,KAAK,EACL,eAAe,EACf,SAAS,GACV,EAAE,gBAAgB,2CAsOlB"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { default as SwipeButton } from './SwipeButton';
|
|
3
|
+
declare const meta: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof SwipeButton;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
docs: {
|
|
9
|
+
description: {
|
|
10
|
+
component: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
design: {
|
|
14
|
+
type: string;
|
|
15
|
+
url: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
tags: string[];
|
|
19
|
+
argTypes: {
|
|
20
|
+
variant: {
|
|
21
|
+
control: "select";
|
|
22
|
+
options: NonNullable<"primary" | "secondary" | "tertiary" | "invert" | "dashed" | null | undefined>[];
|
|
23
|
+
description: string;
|
|
24
|
+
table: {
|
|
25
|
+
defaultValue: {
|
|
26
|
+
summary: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
size: {
|
|
31
|
+
control: "select";
|
|
32
|
+
options: string[];
|
|
33
|
+
description: string;
|
|
34
|
+
table: {
|
|
35
|
+
defaultValue: {
|
|
36
|
+
summary: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
text: {
|
|
41
|
+
control: "text";
|
|
42
|
+
description: string;
|
|
43
|
+
defaultValue: string;
|
|
44
|
+
};
|
|
45
|
+
successText: {
|
|
46
|
+
control: "text";
|
|
47
|
+
description: string;
|
|
48
|
+
defaultValue: string;
|
|
49
|
+
};
|
|
50
|
+
loadingText: {
|
|
51
|
+
control: "text";
|
|
52
|
+
description: string;
|
|
53
|
+
defaultValue: string;
|
|
54
|
+
};
|
|
55
|
+
fullWidth: {
|
|
56
|
+
control: "boolean";
|
|
57
|
+
description: string;
|
|
58
|
+
};
|
|
59
|
+
loading: {
|
|
60
|
+
control: "boolean";
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
success: {
|
|
64
|
+
control: "boolean";
|
|
65
|
+
description: string;
|
|
66
|
+
};
|
|
67
|
+
disabled: {
|
|
68
|
+
control: "boolean";
|
|
69
|
+
description: string;
|
|
70
|
+
};
|
|
71
|
+
danger: {
|
|
72
|
+
control: "boolean";
|
|
73
|
+
description: string;
|
|
74
|
+
};
|
|
75
|
+
reset: {
|
|
76
|
+
control: "boolean";
|
|
77
|
+
description: string;
|
|
78
|
+
};
|
|
79
|
+
onSwipeComplete: {
|
|
80
|
+
action: string;
|
|
81
|
+
description: string;
|
|
82
|
+
};
|
|
83
|
+
onResetComplete: {
|
|
84
|
+
action: string;
|
|
85
|
+
description: string;
|
|
86
|
+
};
|
|
87
|
+
className: {
|
|
88
|
+
control: "text";
|
|
89
|
+
description: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
export default meta;
|
|
94
|
+
type Story = StoryObj<typeof meta>;
|
|
95
|
+
export declare const Default: Story;
|
|
96
|
+
export declare const Disabled: Story;
|
|
97
|
+
export declare const Danger: Story;
|
|
98
|
+
export declare const FullWidth: Story;
|
|
99
|
+
export declare const LoadingSimulation: Story;
|
|
100
|
+
export declare const AllVariants: Story;
|
|
101
|
+
export declare const AllSizes: Story;
|
|
102
|
+
export declare const RealWorldUseCases: Story;
|
|
103
|
+
export declare const Accessibility: Story;
|
|
104
|
+
//# sourceMappingURL=SwipeButton.stories.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeButton.stories.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeButton/SwipeButton.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAA;AAE3D,OAAO,WAAsC,MAAM,eAAe,CAAA;AAWlE,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsF0B,CAAA;AAEpC,eAAe,IAAI,CAAA;AACnB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAA;AAGlC,eAAO,MAAM,OAAO,EAAE,KAIrB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAMtB,CAAA;AAED,eAAO,MAAM,MAAM,EAAE,KAOpB,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,KAevB,CAAA;AAGD,eAAO,MAAM,iBAAiB,EAAE,KAkD/B,CAAA;AAED,eAAO,MAAM,WAAW,EAAE,KAwCzB,CAAA;AAED,eAAO,MAAM,QAAQ,EAAE,KAmCtB,CAAA;AA4BD,eAAO,MAAM,iBAAiB,EAAE,KAiH/B,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,KAgK3B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwipeLoadingIcon.d.ts","sourceRoot":"","sources":["../../../src/components/SwipeButton/SwipeLoadingIcon.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,4CA+BpE,CAAA"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const swipeButtonProgressVariants: (props?: ({
|
|
2
|
+
variant?: "primary" | "secondary" | "tertiary" | "invert" | "dashed" | null | undefined;
|
|
3
|
+
danger?: boolean | null | undefined;
|
|
4
|
+
interactive?: boolean | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
//# sourceMappingURL=swipeButtonProgressVariants.d.ts.map
|