@yuva-devlab/ui 0.2.0 → 1.0.1
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 -20
- package/dist/index.cjs +4521 -1
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +765 -0
- package/dist/index.d.ts +765 -2
- package/dist/index.js +4116 -1067
- package/dist/index.js.map +1 -0
- package/package.json +53 -32
- package/dist/components/button/button.d.ts +0 -13
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/button/button.styles.css.d.ts +0 -10
- package/dist/components/button/button.styles.css.d.ts.map +0 -1
- package/dist/components/button/button.types.d.ts +0 -15
- package/dist/components/button/button.types.d.ts.map +0 -1
- package/dist/components/button/index.d.ts +0 -3
- package/dist/components/button/index.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.d.ts +0 -10
- package/dist/components/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.styles.css.d.ts +0 -8
- package/dist/components/checkbox/checkbox.styles.css.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.types.d.ts +0 -22
- package/dist/components/checkbox/checkbox.types.d.ts.map +0 -1
- package/dist/components/checkbox/index.d.ts +0 -3
- package/dist/components/checkbox/index.d.ts.map +0 -1
- package/dist/components/divider/divider.d.ts +0 -18
- package/dist/components/divider/divider.d.ts.map +0 -1
- package/dist/components/divider/divider.styles.css.d.ts +0 -4
- package/dist/components/divider/divider.styles.css.d.ts.map +0 -1
- package/dist/components/divider/index.d.ts +0 -3
- package/dist/components/divider/index.d.ts.map +0 -1
- package/dist/components/form/form.d.ts +0 -13
- package/dist/components/form/form.d.ts.map +0 -1
- package/dist/components/form/form.styles.css.d.ts +0 -6
- package/dist/components/form/form.styles.css.d.ts.map +0 -1
- package/dist/components/form/form.types.d.ts +0 -20
- package/dist/components/form/form.types.d.ts.map +0 -1
- package/dist/components/form/index.d.ts +0 -3
- package/dist/components/form/index.d.ts.map +0 -1
- package/dist/components/image/image.d.ts +0 -10
- package/dist/components/image/image.d.ts.map +0 -1
- package/dist/components/image/image.styles.css.d.ts +0 -3
- package/dist/components/image/image.styles.css.d.ts.map +0 -1
- package/dist/components/image/image.types.d.ts +0 -13
- package/dist/components/image/image.types.d.ts.map +0 -1
- package/dist/components/image/index.d.ts +0 -3
- package/dist/components/image/index.d.ts.map +0 -1
- package/dist/components/index.d.ts +0 -15
- package/dist/components/index.d.ts.map +0 -1
- package/dist/components/input/index.d.ts +0 -3
- package/dist/components/input/index.d.ts.map +0 -1
- package/dist/components/input/input.d.ts +0 -15
- package/dist/components/input/input.d.ts.map +0 -1
- package/dist/components/input/input.styles.css.d.ts +0 -5
- package/dist/components/input/input.styles.css.d.ts.map +0 -1
- package/dist/components/input/input.types.d.ts +0 -13
- package/dist/components/input/input.types.d.ts.map +0 -1
- package/dist/components/layout/box/box.d.ts +0 -14
- package/dist/components/layout/box/box.d.ts.map +0 -1
- package/dist/components/layout/box/box.styles.css.d.ts +0 -19
- package/dist/components/layout/box/box.styles.css.d.ts.map +0 -1
- package/dist/components/layout/box/box.types.d.ts +0 -23
- package/dist/components/layout/box/box.types.d.ts.map +0 -1
- package/dist/components/layout/box/index.d.ts +0 -3
- package/dist/components/layout/box/index.d.ts.map +0 -1
- package/dist/components/layout/container/container.d.ts +0 -13
- package/dist/components/layout/container/container.d.ts.map +0 -1
- package/dist/components/layout/container/container.styles.css.d.ts +0 -3
- package/dist/components/layout/container/container.styles.css.d.ts.map +0 -1
- package/dist/components/layout/container/container.types.d.ts +0 -5
- package/dist/components/layout/container/container.types.d.ts.map +0 -1
- package/dist/components/layout/container/index.d.ts +0 -3
- package/dist/components/layout/container/index.d.ts.map +0 -1
- package/dist/components/layout/flex/flex.d.ts +0 -14
- package/dist/components/layout/flex/flex.d.ts.map +0 -1
- package/dist/components/layout/flex/flex.styles.css.d.ts +0 -7
- package/dist/components/layout/flex/flex.styles.css.d.ts.map +0 -1
- package/dist/components/layout/flex/flex.types.d.ts +0 -9
- package/dist/components/layout/flex/flex.types.d.ts.map +0 -1
- package/dist/components/layout/flex/index.d.ts +0 -3
- package/dist/components/layout/flex/index.d.ts.map +0 -1
- package/dist/components/layout/grid/grid.d.ts +0 -15
- package/dist/components/layout/grid/grid.d.ts.map +0 -1
- package/dist/components/layout/grid/grid.styles.css.d.ts +0 -8
- package/dist/components/layout/grid/grid.styles.css.d.ts.map +0 -1
- package/dist/components/layout/grid/grid.types.d.ts +0 -10
- package/dist/components/layout/grid/grid.types.d.ts.map +0 -1
- package/dist/components/layout/grid/index.d.ts +0 -3
- package/dist/components/layout/grid/index.d.ts.map +0 -1
- package/dist/components/layout/index.d.ts +0 -7
- package/dist/components/layout/index.d.ts.map +0 -1
- package/dist/components/layout/semantic.d.ts +0 -10
- package/dist/components/layout/semantic.d.ts.map +0 -1
- package/dist/components/layout/stack/index.d.ts +0 -2
- package/dist/components/layout/stack/index.d.ts.map +0 -1
- package/dist/components/layout/stack/stack.d.ts +0 -17
- package/dist/components/layout/stack/stack.d.ts.map +0 -1
- package/dist/components/number-input/index.d.ts +0 -3
- package/dist/components/number-input/index.d.ts.map +0 -1
- package/dist/components/number-input/number-input.d.ts +0 -10
- package/dist/components/number-input/number-input.d.ts.map +0 -1
- package/dist/components/number-input/number-input.styles.css.d.ts +0 -13
- package/dist/components/number-input/number-input.styles.css.d.ts.map +0 -1
- package/dist/components/number-input/number-input.types.d.ts +0 -31
- package/dist/components/number-input/number-input.types.d.ts.map +0 -1
- package/dist/components/radio/index.d.ts +0 -3
- package/dist/components/radio/index.d.ts.map +0 -1
- package/dist/components/radio/radio.d.ts +0 -16
- package/dist/components/radio/radio.d.ts.map +0 -1
- package/dist/components/radio/radio.styles.css.d.ts +0 -15
- package/dist/components/radio/radio.styles.css.d.ts.map +0 -1
- package/dist/components/radio/radio.types.d.ts +0 -38
- package/dist/components/radio/radio.types.d.ts.map +0 -1
- package/dist/components/select/index.d.ts +0 -3
- package/dist/components/select/index.d.ts.map +0 -1
- package/dist/components/select/select.d.ts +0 -17
- package/dist/components/select/select.d.ts.map +0 -1
- package/dist/components/select/select.styles.css.d.ts +0 -16
- package/dist/components/select/select.styles.css.d.ts.map +0 -1
- package/dist/components/select/select.types.d.ts +0 -43
- package/dist/components/select/select.types.d.ts.map +0 -1
- package/dist/components/slider/index.d.ts +0 -3
- package/dist/components/slider/index.d.ts.map +0 -1
- package/dist/components/slider/slider.d.ts +0 -10
- package/dist/components/slider/slider.d.ts.map +0 -1
- package/dist/components/slider/slider.styles.css.d.ts +0 -12
- package/dist/components/slider/slider.styles.css.d.ts.map +0 -1
- package/dist/components/slider/slider.types.d.ts +0 -34
- package/dist/components/slider/slider.types.d.ts.map +0 -1
- package/dist/components/switch/index.d.ts +0 -3
- package/dist/components/switch/index.d.ts.map +0 -1
- package/dist/components/switch/switch.d.ts +0 -10
- package/dist/components/switch/switch.d.ts.map +0 -1
- package/dist/components/switch/switch.styles.css.d.ts +0 -11
- package/dist/components/switch/switch.styles.css.d.ts.map +0 -1
- package/dist/components/switch/switch.types.d.ts +0 -27
- package/dist/components/switch/switch.types.d.ts.map +0 -1
- package/dist/components/textarea/index.d.ts +0 -3
- package/dist/components/textarea/index.d.ts.map +0 -1
- package/dist/components/textarea/textarea.d.ts +0 -10
- package/dist/components/textarea/textarea.d.ts.map +0 -1
- package/dist/components/textarea/textarea.styles.css.d.ts +0 -13
- package/dist/components/textarea/textarea.styles.css.d.ts.map +0 -1
- package/dist/components/textarea/textarea.types.d.ts +0 -34
- package/dist/components/textarea/textarea.types.d.ts.map +0 -1
- package/dist/components/typography/index.d.ts +0 -2
- package/dist/components/typography/index.d.ts.map +0 -1
- package/dist/components/typography/typography.css.d.ts +0 -4
- package/dist/components/typography/typography.css.d.ts.map +0 -1
- package/dist/components/typography/typography.d.ts +0 -13
- package/dist/components/typography/typography.d.ts.map +0 -1
- package/dist/components/typography/typography.types.d.ts +0 -8
- package/dist/components/typography/typography.types.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/ui.css +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/container.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,MAAM,WAAW,cAAe,SAAQ,QAAQ;IAC9C,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CAC3C"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { FlexProps } from './flex.types';
|
|
3
|
-
/**
|
|
4
|
-
* Flex layout component for one-dimensional layouts.
|
|
5
|
-
* Extends Box with declarative flexbox properties like direction, alignment, and gaps.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <Flex direction="row" gap="md" align="center" justify="between">
|
|
9
|
-
* <div>Start</div>
|
|
10
|
-
* <div>End</div>
|
|
11
|
-
* </Flex>
|
|
12
|
-
*/
|
|
13
|
-
export declare const Flex: React.ForwardRefExoticComponent<FlexProps & React.RefAttributes<HTMLElement>>;
|
|
14
|
-
//# sourceMappingURL=flex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flex.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/flex/flex.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;GASG;AACH,eAAO,MAAM,IAAI,+EAmBhB,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export declare const base: string;
|
|
2
|
-
export declare const direction: Record<"column" | "row" | "rowReverse" | "columnReverse", string>;
|
|
3
|
-
export declare const align: Record<"center" | "end" | "start" | "baseline" | "stretch", string>;
|
|
4
|
-
export declare const justify: Record<"center" | "end" | "start" | "between" | "around" | "evenly", string>;
|
|
5
|
-
export declare const wrap: Record<"nowrap" | "wrap" | "wrapReverse", string>;
|
|
6
|
-
export declare const gap: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
7
|
-
//# sourceMappingURL=flex.styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flex.styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/flex/flex.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAEf,CAAC;AAEH,eAAO,MAAM,SAAS,mEAKpB,CAAC;AAEH,eAAO,MAAM,KAAK,qEAMhB,CAAC;AAEH,eAAO,MAAM,OAAO,8EAOlB,CAAC;AAEH,eAAO,MAAM,IAAI,mDAIf,CAAC;AAEH,eAAO,MAAM,GAAG,0FAAkD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { BoxProps, SpacingValue } from '../box/box.types';
|
|
2
|
-
export interface FlexProps extends BoxProps {
|
|
3
|
-
direction?: "row" | "column" | "rowReverse" | "columnReverse";
|
|
4
|
-
align?: "start" | "center" | "end" | "baseline" | "stretch";
|
|
5
|
-
justify?: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
6
|
-
wrap?: "nowrap" | "wrap" | "wrapReverse";
|
|
7
|
-
gap?: SpacingValue;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=flex.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"flex.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/flex/flex.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,GAAG,YAAY,GAAG,eAAe,CAAC;IAC9D,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,UAAU,GAAG,SAAS,CAAC;IAC5D,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvE,IAAI,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,aAAa,CAAC;IACzC,GAAG,CAAC,EAAE,YAAY,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/flex/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { GridProps } from './grid.types';
|
|
3
|
-
/**
|
|
4
|
-
* Grid layout component for complex two-dimensional layouts.
|
|
5
|
-
* Extends Box with declarative CSS Grid properties like columns, rows, and token-based gaps.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <Grid columns={3} gap="lg">
|
|
9
|
-
* <div>Item 1</div>
|
|
10
|
-
* <div>Item 2</div>
|
|
11
|
-
* <div>Item 3</div>
|
|
12
|
-
* </Grid>
|
|
13
|
-
*/
|
|
14
|
-
export declare const Grid: React.ForwardRefExoticComponent<GridProps & React.RefAttributes<HTMLElement>>;
|
|
15
|
-
//# sourceMappingURL=grid.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,IAAI,+EAuBhB,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const base: string;
|
|
2
|
-
export declare const columns: Record<1 | 2 | 3 | 4 | 5 | 6 | 12, string>;
|
|
3
|
-
export declare const gap: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
4
|
-
export declare const columnGap: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
5
|
-
export declare const rowGap: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
6
|
-
export declare const align: Record<"center" | "end" | "start" | "stretch", string>;
|
|
7
|
-
export declare const justify: Record<"center" | "end" | "start" | "stretch", string>;
|
|
8
|
-
//# sourceMappingURL=grid.styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid.styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAEf,CAAC;AAEH,eAAO,MAAM,OAAO,4CAQlB,CAAC;AAEH,eAAO,MAAM,GAAG,0FAAkD,CAAC;AACnE,eAAO,MAAM,SAAS,0FAAwD,CAAC;AAC/E,eAAO,MAAM,MAAM,0FAAqD,CAAC;AAEzE,eAAO,MAAM,KAAK,wDAKhB,CAAC;AAEH,eAAO,MAAM,OAAO,wDAKlB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { BoxProps, SpacingValue } from '../box/box.types';
|
|
2
|
-
export interface GridProps extends BoxProps {
|
|
3
|
-
columns?: 1 | 2 | 3 | 4 | 5 | 6 | 12;
|
|
4
|
-
gap?: SpacingValue;
|
|
5
|
-
columnGap?: SpacingValue;
|
|
6
|
-
rowGap?: SpacingValue;
|
|
7
|
-
align?: "start" | "center" | "end" | "stretch";
|
|
8
|
-
justify?: "start" | "center" | "end" | "stretch";
|
|
9
|
-
}
|
|
10
|
-
//# sourceMappingURL=grid.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"grid.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/grid.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,OAAO,CAAC,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IACrC,GAAG,CAAC,EAAE,YAAY,CAAC;IACnB,SAAS,CAAC,EAAE,YAAY,CAAC;IACzB,MAAM,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IAC/C,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;CAClD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/grid/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { FlexProps } from '../flex/flex.types';
|
|
3
|
-
export interface StackProps extends Omit<FlexProps, "direction"> {
|
|
4
|
-
direction?: "vertical" | "horizontal";
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Stack component for simple vertical or horizontal spacing.
|
|
8
|
-
* A specialized version of Flex that defaults to a vertical column.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* <Stack gap="md">
|
|
12
|
-
* <div>Item 1</div>
|
|
13
|
-
* <div>Item 2</div>
|
|
14
|
-
* </Stack>
|
|
15
|
-
*/
|
|
16
|
-
export declare const Stack: React.ForwardRefExoticComponent<StackProps & React.RefAttributes<HTMLElement>>;
|
|
17
|
-
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/stack/stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAE/C,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC;IAC9D,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAC;CACvC;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,KAAK,gFAUjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/radio/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,38 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,43 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/slider/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,12 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { SliderPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
-
export type SliderSize = "sm" | "md" | "lg";
|
|
3
|
-
export interface SliderProps extends SliderPrimitiveProps {
|
|
4
|
-
/**
|
|
5
|
-
* Size of the slider
|
|
6
|
-
* @default "md"
|
|
7
|
-
*/
|
|
8
|
-
size?: SliderSize;
|
|
9
|
-
/**
|
|
10
|
-
* Label text for the slider
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Helper text displayed below the slider
|
|
15
|
-
*/
|
|
16
|
-
helperText?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Error message to display
|
|
19
|
-
*/
|
|
20
|
-
error?: string;
|
|
21
|
-
/**
|
|
22
|
-
* When true, shows the current value
|
|
23
|
-
*/
|
|
24
|
-
showValue?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Format function for displaying the value
|
|
27
|
-
*/
|
|
28
|
-
formatValue?: (value: number) => string;
|
|
29
|
-
/**
|
|
30
|
-
* Additional className for the root
|
|
31
|
-
*/
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
//# sourceMappingURL=slider.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"slider.types.d.ts","sourceRoot":"","sources":["../../../src/components/slider/slider.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,WAAY,SAAQ,oBAAoB;IACvD;;;OAGG;IACH,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/switch/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { SwitchProps } from './switch.types';
|
|
3
|
-
/**
|
|
4
|
-
* Switch component for toggling between on/off states.
|
|
5
|
-
*
|
|
6
|
-
* @example
|
|
7
|
-
* <Switch label="Enable notifications" checked={true} />
|
|
8
|
-
*/
|
|
9
|
-
export declare const Switch: React.ForwardRefExoticComponent<SwitchProps & React.RefAttributes<HTMLButtonElement>>;
|
|
10
|
-
//# sourceMappingURL=switch.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"switch.d.ts","sourceRoot":"","sources":["../../../src/components/switch/switch.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;GAKG;AACH,eAAO,MAAM,MAAM,uFAgElB,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare const wrapper: string;
|
|
2
|
-
export declare const container: string;
|
|
3
|
-
export declare const labelPosition: Record<"left" | "right", string>;
|
|
4
|
-
export declare const root: string;
|
|
5
|
-
export declare const size: Record<"sm" | "md" | "lg", string>;
|
|
6
|
-
export declare const thumb: string;
|
|
7
|
-
export declare const thumbSize: Record<"sm" | "md" | "lg", string>;
|
|
8
|
-
export declare const label: string;
|
|
9
|
-
export declare const helperText: string;
|
|
10
|
-
export declare const errorText: string;
|
|
11
|
-
//# sourceMappingURL=switch.styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"switch.styles.css.d.ts","sourceRoot":"","sources":["../../../src/components/switch/switch.styles.css.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,OAAO,QAIlB,CAAC;AAEH,eAAO,MAAM,SAAS,QAKpB,CAAC;AAEH,eAAO,MAAM,aAAa,kCAOxB,CAAC;AAEH,eAAO,MAAM,IAAI,QA+Bf,CAAC;AAEH,eAAO,MAAM,IAAI,oCAaf,CAAC;AAEH,eAAO,MAAM,KAAK,QAOhB,CAAC;AAEH,eAAO,MAAM,SAAS,oCA+BpB,CAAC;AAEH,eAAO,MAAM,KAAK,QAahB,CAAC;AAEH,eAAO,MAAM,UAAU,QAIrB,CAAC;AAEH,eAAO,MAAM,SAAS,QAIpB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { SwitchPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
-
export type SwitchSize = "sm" | "md" | "lg";
|
|
3
|
-
export interface SwitchProps extends SwitchPrimitiveProps {
|
|
4
|
-
/**
|
|
5
|
-
* Size of the switch
|
|
6
|
-
* @default "md"
|
|
7
|
-
*/
|
|
8
|
-
size?: SwitchSize;
|
|
9
|
-
/**
|
|
10
|
-
* Label text for the switch
|
|
11
|
-
*/
|
|
12
|
-
label?: string;
|
|
13
|
-
/**
|
|
14
|
-
* Helper text displayed below the switch
|
|
15
|
-
*/
|
|
16
|
-
helperText?: string;
|
|
17
|
-
/**
|
|
18
|
-
* Error message to display
|
|
19
|
-
*/
|
|
20
|
-
error?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Position of the label
|
|
23
|
-
* @default "right"
|
|
24
|
-
*/
|
|
25
|
-
labelPosition?: "left" | "right";
|
|
26
|
-
}
|
|
27
|
-
//# sourceMappingURL=switch.types.d.ts.map
|