@yuva-devlab/ui 0.1.2 → 0.2.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/button/button.styles.css.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.d.ts +10 -0
- package/dist/components/checkbox/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.styles.css.d.ts +8 -0
- package/dist/components/checkbox/checkbox.styles.css.d.ts.map +1 -0
- package/dist/components/checkbox/checkbox.types.d.ts +22 -0
- package/dist/components/checkbox/checkbox.types.d.ts.map +1 -0
- package/dist/components/checkbox/index.d.ts +3 -0
- package/dist/components/checkbox/index.d.ts.map +1 -0
- package/dist/components/divider/divider.d.ts +18 -0
- package/dist/components/divider/divider.d.ts.map +1 -0
- package/dist/components/divider/divider.styles.css.d.ts +4 -0
- package/dist/components/divider/divider.styles.css.d.ts.map +1 -0
- package/dist/components/divider/index.d.ts +3 -0
- package/dist/components/divider/index.d.ts.map +1 -0
- package/dist/components/form/form.d.ts +13 -0
- package/dist/components/form/form.d.ts.map +1 -0
- package/dist/components/form/form.styles.css.d.ts +6 -0
- package/dist/components/form/form.styles.css.d.ts.map +1 -0
- package/dist/components/form/form.types.d.ts +20 -0
- package/dist/components/form/form.types.d.ts.map +1 -0
- package/dist/components/form/index.d.ts +3 -0
- package/dist/components/form/index.d.ts.map +1 -0
- package/dist/components/image/image.d.ts +10 -0
- package/dist/components/image/image.d.ts.map +1 -0
- package/dist/components/image/image.styles.css.d.ts +3 -0
- package/dist/components/image/image.styles.css.d.ts.map +1 -0
- package/dist/components/image/image.types.d.ts +13 -0
- package/dist/components/image/image.types.d.ts.map +1 -0
- package/dist/components/image/index.d.ts +3 -0
- package/dist/components/image/index.d.ts.map +1 -0
- package/dist/components/index.d.ts +10 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/input/{input.css.d.ts → input.styles.css.d.ts} +1 -1
- package/dist/components/input/input.styles.css.d.ts.map +1 -0
- package/dist/components/layout/index.d.ts +1 -0
- package/dist/components/layout/index.d.ts.map +1 -1
- package/dist/components/layout/semantic.d.ts +10 -0
- package/dist/components/layout/semantic.d.ts.map +1 -0
- package/dist/components/number-input/index.d.ts +3 -0
- package/dist/components/number-input/index.d.ts.map +1 -0
- package/dist/components/number-input/number-input.d.ts +10 -0
- package/dist/components/number-input/number-input.d.ts.map +1 -0
- package/dist/components/number-input/number-input.styles.css.d.ts +13 -0
- package/dist/components/number-input/number-input.styles.css.d.ts.map +1 -0
- package/dist/components/number-input/number-input.types.d.ts +31 -0
- package/dist/components/number-input/number-input.types.d.ts.map +1 -0
- package/dist/components/radio/index.d.ts +3 -0
- package/dist/components/radio/index.d.ts.map +1 -0
- package/dist/components/radio/radio.d.ts +16 -0
- package/dist/components/radio/radio.d.ts.map +1 -0
- package/dist/components/radio/radio.styles.css.d.ts +15 -0
- package/dist/components/radio/radio.styles.css.d.ts.map +1 -0
- package/dist/components/radio/radio.types.d.ts +38 -0
- package/dist/components/radio/radio.types.d.ts.map +1 -0
- package/dist/components/select/index.d.ts +3 -0
- package/dist/components/select/index.d.ts.map +1 -0
- package/dist/components/select/select.d.ts +17 -0
- package/dist/components/select/select.d.ts.map +1 -0
- package/dist/components/select/select.styles.css.d.ts +16 -0
- package/dist/components/select/select.styles.css.d.ts.map +1 -0
- package/dist/components/select/select.types.d.ts +43 -0
- package/dist/components/select/select.types.d.ts.map +1 -0
- package/dist/components/slider/index.d.ts +3 -0
- package/dist/components/slider/index.d.ts.map +1 -0
- package/dist/components/slider/slider.d.ts +10 -0
- package/dist/components/slider/slider.d.ts.map +1 -0
- package/dist/components/slider/slider.styles.css.d.ts +12 -0
- package/dist/components/slider/slider.styles.css.d.ts.map +1 -0
- package/dist/components/slider/slider.types.d.ts +34 -0
- package/dist/components/slider/slider.types.d.ts.map +1 -0
- package/dist/components/switch/index.d.ts +3 -0
- package/dist/components/switch/index.d.ts.map +1 -0
- package/dist/components/switch/switch.d.ts +10 -0
- package/dist/components/switch/switch.d.ts.map +1 -0
- package/dist/components/switch/switch.styles.css.d.ts +11 -0
- package/dist/components/switch/switch.styles.css.d.ts.map +1 -0
- package/dist/components/switch/switch.types.d.ts +27 -0
- package/dist/components/switch/switch.types.d.ts.map +1 -0
- package/dist/components/textarea/index.d.ts +3 -0
- package/dist/components/textarea/index.d.ts.map +1 -0
- package/dist/components/textarea/textarea.d.ts +10 -0
- package/dist/components/textarea/textarea.d.ts.map +1 -0
- package/dist/components/textarea/textarea.styles.css.d.ts +13 -0
- package/dist/components/textarea/textarea.styles.css.d.ts.map +1 -0
- package/dist/components/textarea/textarea.types.d.ts +34 -0
- package/dist/components/textarea/textarea.types.d.ts.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1091 -178
- package/dist/ui.css +1 -1
- package/package.json +2 -2
- package/dist/components/input/input.css.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.styles.css.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"button.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.styles.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,IAAI,QA0Bf,CAAC;AAGH,eAAO,MAAM,IAAI,kDAMf,CAAC;AAGH,eAAO,MAAM,KAAK,oCAOhB,CAAC;AAGH,eAAO,MAAM,KAAK,oCAWhB,CAAC;AAGH,eAAO,MAAM,KAAK,+CAIhB,CAAC;AAGH,eAAO,MAAM,OAAO,6IA2IlB,CAAC;AAGH,eAAO,MAAM,MAAM,QAYjB,CAAC;AAEH,eAAO,MAAM,KAAK,QAGhB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAMnB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CheckboxProps } from './checkbox.types';
|
|
3
|
+
/**
|
|
4
|
+
* Checkbox component for boolean selection.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Checkbox label="Accept terms" checked={true} />
|
|
8
|
+
*/
|
|
9
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
+
//# sourceMappingURL=checkbox.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD;;;;;GAKG;AACH,eAAO,MAAM,QAAQ,yFA0DpB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const root: string;
|
|
3
|
+
export declare const size: Record<"sm" | "md" | "lg", string>;
|
|
4
|
+
export declare const indicator: string;
|
|
5
|
+
export declare const label: string;
|
|
6
|
+
export declare const helperText: string;
|
|
7
|
+
export declare const errorText: string;
|
|
8
|
+
//# sourceMappingURL=checkbox.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.styles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,IAAI,QAmCf,CAAC;AAEH,eAAO,MAAM,IAAI,oCAaf,CAAC;AAEH,eAAO,MAAM,SAAS,QAOpB,CAAC;AAEH,eAAO,MAAM,KAAK,QAahB,CAAC;AAEH,eAAO,MAAM,UAAU,QAIrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CheckboxPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export type CheckboxSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface CheckboxProps extends CheckboxPrimitiveProps {
|
|
4
|
+
/**
|
|
5
|
+
* Size of the checkbox
|
|
6
|
+
* @default "md"
|
|
7
|
+
*/
|
|
8
|
+
size?: CheckboxSize;
|
|
9
|
+
/**
|
|
10
|
+
* Label text for the checkbox
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Helper text displayed next to the checkbox
|
|
15
|
+
*/
|
|
16
|
+
helperText?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Error message to display
|
|
19
|
+
*/
|
|
20
|
+
error?: string;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=checkbox.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox.types.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/checkbox.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,yBAAyB,CAAC;AAEtE,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE9C,MAAM,WAAW,aAAc,SAAQ,sBAAsB;IAC3D;;;OAGG;IACH,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface DividerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
/**
|
|
4
|
+
* The orientation of the divider.
|
|
5
|
+
* @default "horizontal"
|
|
6
|
+
*/
|
|
7
|
+
orientation?: "horizontal" | "vertical";
|
|
8
|
+
/**
|
|
9
|
+
* The visual style of the divider.
|
|
10
|
+
* @default "solid"
|
|
11
|
+
*/
|
|
12
|
+
variant?: "solid" | "dashed";
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Divider component for separating content.
|
|
16
|
+
*/
|
|
17
|
+
export declare const Divider: React.ForwardRefExoticComponent<DividerProps & React.RefAttributes<HTMLDivElement>>;
|
|
18
|
+
//# sourceMappingURL=divider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACxE;;;OAGG;IACH,WAAW,CAAC,EAAE,YAAY,GAAG,UAAU,CAAC;IACxC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAC;CAC9B;AAED;;GAEG;AACH,eAAO,MAAM,OAAO,qFAoBnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"divider.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/divider/divider.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,WAAW,2CAStB,CAAC;AAEH,eAAO,MAAM,OAAO,oCAiBlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/divider/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,YAAY,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { FormProps } from './form.types';
|
|
3
|
+
/**
|
|
4
|
+
* Form component for wrapping form inputs with validation and submission handling.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Form onSubmit={handleSubmit} loading={isLoading}>
|
|
8
|
+
* <Input label="Email" type="email" />
|
|
9
|
+
* <Button type="submit">Submit</Button>
|
|
10
|
+
* </Form>
|
|
11
|
+
*/
|
|
12
|
+
export declare const Form: React.ForwardRefExoticComponent<FormProps & React.RefAttributes<HTMLFormElement>>;
|
|
13
|
+
//# sourceMappingURL=form.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,mFAwChB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAKlB,CAAC;AAEH,eAAO,MAAM,IAAI,QAKf,CAAC;AAEH,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,YAAY,QAOvB,CAAC;AAEH,eAAO,MAAM,cAAc,QAOzB,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { FormPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export interface FormProps extends FormPrimitiveProps {
|
|
3
|
+
/**
|
|
4
|
+
* When true, shows loading state
|
|
5
|
+
*/
|
|
6
|
+
loading?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Error message to display at form level
|
|
9
|
+
*/
|
|
10
|
+
error?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Success message to display
|
|
13
|
+
*/
|
|
14
|
+
success?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Additional className for the wrapper
|
|
17
|
+
*/
|
|
18
|
+
wrapperClassName?: string;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=form.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.types.d.ts","sourceRoot":"","sources":["../../../src/components/form/form.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,MAAM,WAAW,SAAU,SAAQ,kBAAkB;IACnD;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ImageProps } from './image.types';
|
|
3
|
+
/**
|
|
4
|
+
* Image component with responsive sizing and object-fit support.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Image src="/photo.jpg" alt="Description" objectFit="cover" rounded />
|
|
8
|
+
*/
|
|
9
|
+
export declare const Image: React.ForwardRefExoticComponent<ImageProps & React.RefAttributes<HTMLImageElement>>;
|
|
10
|
+
//# sourceMappingURL=image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image/image.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAEhD;;;;;GAKG;AACH,eAAO,MAAM,KAAK,qFAiBjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/image/image.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAElB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ImagePrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export interface ImageProps extends ImagePrimitiveProps {
|
|
3
|
+
/**
|
|
4
|
+
* Object fit behavior
|
|
5
|
+
* @default "cover"
|
|
6
|
+
*/
|
|
7
|
+
objectFit?: "contain" | "cover" | "fill" | "none" | "scale-down";
|
|
8
|
+
/**
|
|
9
|
+
* Border radius
|
|
10
|
+
*/
|
|
11
|
+
rounded?: boolean;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=image.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.types.d.ts","sourceRoot":"","sources":["../../../src/components/image/image.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAEnE,MAAM,WAAW,UAAW,SAAQ,mBAAmB;IACrD;;;OAGG;IACH,SAAS,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,YAAY,CAAC;IACjE;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/image/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
|
|
@@ -2,4 +2,14 @@ export * from './button';
|
|
|
2
2
|
export * from './input';
|
|
3
3
|
export * from './typography';
|
|
4
4
|
export * from './layout';
|
|
5
|
+
export * from './checkbox';
|
|
6
|
+
export * from './radio';
|
|
7
|
+
export * from './switch';
|
|
8
|
+
export * from './textarea';
|
|
9
|
+
export * from './select';
|
|
10
|
+
export * from './slider';
|
|
11
|
+
export * from './number-input';
|
|
12
|
+
export * from './form';
|
|
13
|
+
export * from './image';
|
|
14
|
+
export * from './divider';
|
|
5
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,cAAc,CAAC;AAC7B,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC"}
|
|
@@ -2,4 +2,4 @@ export declare const base: string;
|
|
|
2
2
|
export declare const variant: Record<"outline" | "filled", string>;
|
|
3
3
|
export declare const size: Record<"xs" | "sm" | "md" | "lg" | "xl", string>;
|
|
4
4
|
export declare const error: string;
|
|
5
|
-
//# sourceMappingURL=input.css.d.ts.map
|
|
5
|
+
//# sourceMappingURL=input.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.styles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,IAAI,QAWf,CAAC;AAEH,eAAO,MAAM,OAAO,sCA0BlB,CAAC;AAEH,eAAO,MAAM,IAAI,kDA0Bf,CAAC;AAEH,eAAO,MAAM,KAAK,QAMhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/layout/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,aAAa,CAAC;AAE5B,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { BoxProps } from './box/box.types';
|
|
3
|
+
export declare const Header: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
4
|
+
export declare const Footer: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
5
|
+
export declare const Main: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
6
|
+
export declare const Section: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
7
|
+
export declare const Article: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
8
|
+
export declare const Aside: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
9
|
+
export declare const Nav: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
10
|
+
//# sourceMappingURL=semantic.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"semantic.d.ts","sourceRoot":"","sources":["../../../src/components/layout/semantic.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAE3C,eAAO,MAAM,MAAM,8EAMjB,CAAC;AAGH,eAAO,MAAM,MAAM,8EAMjB,CAAC;AAGH,eAAO,MAAM,IAAI,8EAMf,CAAC;AAGH,eAAO,MAAM,OAAO,8EAMlB,CAAC;AAGH,eAAO,MAAM,OAAO,8EAMlB,CAAC;AAGH,eAAO,MAAM,KAAK,8EAMhB,CAAC;AAGH,eAAO,MAAM,GAAG,8EAMd,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { NumberInputProps } from './number-input.types';
|
|
3
|
+
/**
|
|
4
|
+
* NumberInput component for numeric input with increment/decrement controls.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <NumberInput label="Quantity" min={0} max={100} defaultValue={1} />
|
|
8
|
+
*/
|
|
9
|
+
export declare const NumberInput: React.ForwardRefExoticComponent<NumberInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
//# sourceMappingURL=number-input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-input.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAM1B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,WAAW,2FA6LvB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const label: string;
|
|
3
|
+
export declare const inputWrapper: string;
|
|
4
|
+
export declare const input: string;
|
|
5
|
+
export declare const size: Record<"sm" | "md" | "lg", string>;
|
|
6
|
+
export declare const withControls: string;
|
|
7
|
+
export declare const error: string;
|
|
8
|
+
export declare const controls: string;
|
|
9
|
+
export declare const controlButton: string;
|
|
10
|
+
export declare const controlButtonTop: string;
|
|
11
|
+
export declare const helperText: string;
|
|
12
|
+
export declare const errorText: string;
|
|
13
|
+
//# sourceMappingURL=number-input.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-input.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAKlB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,YAAY,QAKvB,CAAC;AAEH,eAAO,MAAM,KAAK,QA0ChB,CAAC;AAEH,eAAO,MAAM,IAAI,oCAaf,CAAC;AAEH,eAAO,MAAM,YAAY,QAEvB,CAAC;AAEH,eAAO,MAAM,KAAK,QAOhB,CAAC;AAEH,eAAO,MAAM,QAAQ,QASnB,CAAC;AAEH,eAAO,MAAM,aAAa,QA2BxB,CAAC;AAEH,eAAO,MAAM,gBAAgB,QAE3B,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { NumberInputPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export type NumberInputSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface NumberInputProps extends Omit<NumberInputPrimitiveProps, "size"> {
|
|
4
|
+
/**
|
|
5
|
+
* Size of the number input
|
|
6
|
+
* @default "md"
|
|
7
|
+
*/
|
|
8
|
+
size?: NumberInputSize;
|
|
9
|
+
/**
|
|
10
|
+
* Label text for the number input
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Helper text displayed below the number input
|
|
15
|
+
*/
|
|
16
|
+
helperText?: string;
|
|
17
|
+
/**
|
|
18
|
+
* Error message to display
|
|
19
|
+
*/
|
|
20
|
+
error?: string;
|
|
21
|
+
/**
|
|
22
|
+
* When true, shows increment/decrement buttons
|
|
23
|
+
* @default true
|
|
24
|
+
*/
|
|
25
|
+
showControls?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Additional className for the wrapper
|
|
28
|
+
*/
|
|
29
|
+
wrapperClassName?: string;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=number-input.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"number-input.types.d.ts","sourceRoot":"","sources":["../../../src/components/number-input/number-input.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAEzE,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,gBACf,SAAQ,IAAI,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC/C;;;OAGG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RadioGroupProps } from './radio.types';
|
|
3
|
+
/**
|
|
4
|
+
* Radio group component for selecting a single option from a set.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <RadioGroup
|
|
8
|
+
* options={[
|
|
9
|
+
* { label: "Option 1", value: "1" },
|
|
10
|
+
* { label: "Option 2", value: "2" }
|
|
11
|
+
* ]}
|
|
12
|
+
* value="1"
|
|
13
|
+
* />
|
|
14
|
+
*/
|
|
15
|
+
export declare const RadioGroup: React.ForwardRefExoticComponent<RadioGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
//# sourceMappingURL=radio.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.d.ts","sourceRoot":"","sources":["../../../src/components/radio/radio.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAErD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,UAAU,wFAsFtB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const groupLabel: string;
|
|
3
|
+
export declare const root: string;
|
|
4
|
+
export declare const orientation: Record<"horizontal" | "vertical", string>;
|
|
5
|
+
export declare const itemWrapper: string;
|
|
6
|
+
export declare const itemContainer: string;
|
|
7
|
+
export declare const item: string;
|
|
8
|
+
export declare const size: Record<"sm" | "md" | "lg", string>;
|
|
9
|
+
export declare const indicator: string;
|
|
10
|
+
export declare const indicatorSize: Record<"sm" | "md" | "lg", string>;
|
|
11
|
+
export declare const label: string;
|
|
12
|
+
export declare const itemHelperText: string;
|
|
13
|
+
export declare const helperText: string;
|
|
14
|
+
export declare const errorText: string;
|
|
15
|
+
//# sourceMappingURL=radio.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/radio/radio.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,UAAU,QAKrB,CAAC;AAEH,eAAO,MAAM,IAAI,QAGf,CAAC;AAEH,eAAO,MAAM,WAAW,2CAQtB,CAAC;AAEH,eAAO,MAAM,WAAW,QAItB,CAAC;AAEH,eAAO,MAAM,aAAa,QAIxB,CAAC;AAEH,eAAO,MAAM,IAAI,QAkCf,CAAC;AAEH,eAAO,MAAM,IAAI,oCAaf,CAAC;AAEH,eAAO,MAAM,SAAS,QAcpB,CAAC;AAEH,eAAO,MAAM,aAAa,oCAmBxB,CAAC;AAEH,eAAO,MAAM,KAAK,QAahB,CAAC;AAEH,eAAO,MAAM,cAAc,QAIzB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { RadioGroupPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export type RadioSize = "sm" | "md" | "lg";
|
|
3
|
+
export type RadioOrientation = "horizontal" | "vertical";
|
|
4
|
+
export interface RadioOption {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
helperText?: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RadioGroupProps extends RadioGroupPrimitiveProps {
|
|
11
|
+
/**
|
|
12
|
+
* Size of the radio buttons
|
|
13
|
+
* @default "md"
|
|
14
|
+
*/
|
|
15
|
+
size?: RadioSize;
|
|
16
|
+
/**
|
|
17
|
+
* Array of radio options
|
|
18
|
+
*/
|
|
19
|
+
options: RadioOption[];
|
|
20
|
+
/**
|
|
21
|
+
* Label for the radio group
|
|
22
|
+
*/
|
|
23
|
+
label?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Error message to display
|
|
26
|
+
*/
|
|
27
|
+
error?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Helper text displayed below the radio group
|
|
30
|
+
*/
|
|
31
|
+
helperText?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Layout orientation
|
|
34
|
+
* @default "vertical"
|
|
35
|
+
*/
|
|
36
|
+
orientation?: RadioOrientation;
|
|
37
|
+
}
|
|
38
|
+
//# sourceMappingURL=radio.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio.types.d.ts","sourceRoot":"","sources":["../../../src/components/radio/radio.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,yBAAyB,CAAC;AAExE,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,UAAU,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,eAAgB,SAAQ,wBAAwB;IAC/D;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;OAEG;IACH,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;OAGG;IACH,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAChC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SelectProps } from './select.types';
|
|
3
|
+
/**
|
|
4
|
+
* Select component for choosing from a list of options.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Select
|
|
8
|
+
* label="Country"
|
|
9
|
+
* placeholder="Select a country"
|
|
10
|
+
* options={[
|
|
11
|
+
* { label: "United States", value: "us" },
|
|
12
|
+
* { label: "Canada", value: "ca" }
|
|
13
|
+
* ]}
|
|
14
|
+
* />
|
|
15
|
+
*/
|
|
16
|
+
export declare const Select: React.ForwardRefExoticComponent<SelectProps & React.RefAttributes<HTMLButtonElement>>;
|
|
17
|
+
//# sourceMappingURL=select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.tsx"],"names":[],"mappings":"AAkBA,OAAO,KAAc,MAAM,OAAO,CAAC;AAKnC,OAAO,KAAK,EACV,WAAW,EAGZ,MAAM,gBAAgB,CAAC;AAExB;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,MAAM,uFAoMlB,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const label: string;
|
|
3
|
+
export declare const trigger: string;
|
|
4
|
+
export declare const size: Record<"sm" | "md" | "lg", string>;
|
|
5
|
+
export declare const error: string;
|
|
6
|
+
export declare const icon: string;
|
|
7
|
+
export declare const content: string;
|
|
8
|
+
export declare const viewport: string;
|
|
9
|
+
export declare const item: string;
|
|
10
|
+
export declare const itemIndicator: string;
|
|
11
|
+
export declare const groupLabel: string;
|
|
12
|
+
export declare const separator: string;
|
|
13
|
+
export declare const scrollButton: string;
|
|
14
|
+
export declare const helperText: string;
|
|
15
|
+
export declare const errorText: string;
|
|
16
|
+
//# sourceMappingURL=select.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.styles.css.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO,QAKlB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,OAAO,QAuClB,CAAC;AAEH,eAAO,MAAM,IAAI,oCAaf,CAAC;AAEH,eAAO,MAAM,KAAK,QAOhB,CAAC;AAEH,eAAO,MAAM,IAAI,QASf,CAAC;AAEH,eAAO,MAAM,OAAO,QAUlB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAEnB,CAAC;AAEH,eAAO,MAAM,IAAI,QAgCf,CAAC;AAEH,eAAO,MAAM,aAAa,QAOxB,CAAC;AAEH,eAAO,MAAM,UAAU,QASrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC;AAEH,eAAO,MAAM,YAAY,QAQvB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { SelectPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
+
export type SelectSize = "sm" | "md" | "lg";
|
|
3
|
+
export interface SelectOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export interface SelectOptionGroup {
|
|
9
|
+
label: string;
|
|
10
|
+
options: SelectOption[];
|
|
11
|
+
}
|
|
12
|
+
export interface SelectProps extends Omit<SelectPrimitiveProps, "children"> {
|
|
13
|
+
/**
|
|
14
|
+
* Size of the select
|
|
15
|
+
* @default "md"
|
|
16
|
+
*/
|
|
17
|
+
size?: SelectSize;
|
|
18
|
+
/**
|
|
19
|
+
* Label text for the select
|
|
20
|
+
*/
|
|
21
|
+
label?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Placeholder text
|
|
24
|
+
*/
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Helper text displayed below the select
|
|
28
|
+
*/
|
|
29
|
+
helperText?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Error message to display
|
|
32
|
+
*/
|
|
33
|
+
error?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Array of select options or grouped options
|
|
36
|
+
*/
|
|
37
|
+
options: SelectOption[] | SelectOptionGroup[];
|
|
38
|
+
/**
|
|
39
|
+
* Additional className for the trigger
|
|
40
|
+
*/
|
|
41
|
+
className?: string;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=select.types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.types.d.ts","sourceRoot":"","sources":["../../../src/components/select/select.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE5C,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,YAAY,EAAE,CAAC;CACzB;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,oBAAoB,EAAE,UAAU,CAAC;IACzE;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,YAAY,EAAE,GAAG,iBAAiB,EAAE,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/slider/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SliderProps } from './slider.types';
|
|
3
|
+
/**
|
|
4
|
+
* Slider component for selecting a value or range.
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* <Slider label="Volume" min={0} max={100} defaultValue={[50]} />
|
|
8
|
+
*/
|
|
9
|
+
export declare const Slider: React.ForwardRefExoticComponent<SliderProps & React.RefAttributes<HTMLSpanElement>>;
|
|
10
|
+
//# sourceMappingURL=slider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,MAAM,qFA2FlB,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const wrapper: string;
|
|
2
|
+
export declare const labelRow: string;
|
|
3
|
+
export declare const label: string;
|
|
4
|
+
export declare const value: string;
|
|
5
|
+
export declare const root: string;
|
|
6
|
+
export declare const track: string;
|
|
7
|
+
export declare const range: string;
|
|
8
|
+
export declare const thumb: string;
|
|
9
|
+
export declare const thumbSize: Record<"sm" | "md" | "lg", string>;
|
|
10
|
+
export declare const helperText: string;
|
|
11
|
+
export declare const errorText: string;
|
|
12
|
+
//# sourceMappingURL=slider.styles.css.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slider.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,OAAO,QAKlB,CAAC;AAEH,eAAO,MAAM,QAAQ,QAInB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,KAAK,QAIhB,CAAC;AAEH,eAAO,MAAM,IAAI,QAsBf,CAAC;AAEH,eAAO,MAAM,KAAK,QAchB,CAAC;AAEH,eAAO,MAAM,KAAK,QAahB,CAAC;AAEH,eAAO,MAAM,KAAK,QAuBhB,CAAC;AAEH,eAAO,MAAM,SAAS,oCAapB,CAAC;AAEH,eAAO,MAAM,UAAU,QAGrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAGpB,CAAC"}
|