@yuva-devlab/ui 0.2.0 → 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 +5 -20
- package/dist/index.cjs +4518 -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 +4113 -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
package/package.json
CHANGED
|
@@ -1,66 +1,87 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yuva-devlab/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|
|
7
7
|
"types": "./dist/index.d.ts",
|
|
8
|
-
"sideEffects": [
|
|
9
|
-
"**/*.css.ts",
|
|
10
|
-
"**/*.css"
|
|
11
|
-
],
|
|
12
8
|
"exports": {
|
|
13
9
|
".": {
|
|
14
|
-
"types":
|
|
10
|
+
"types": {
|
|
11
|
+
"import": "./dist/index.d.ts",
|
|
12
|
+
"require": "./dist/index.d.cts"
|
|
13
|
+
},
|
|
15
14
|
"import": "./dist/index.js",
|
|
16
15
|
"require": "./dist/index.cjs"
|
|
17
16
|
},
|
|
18
|
-
"./styles.css": "./dist/ui.css",
|
|
19
17
|
"./package.json": "./package.json"
|
|
20
18
|
},
|
|
21
19
|
"files": [
|
|
22
20
|
"dist"
|
|
23
21
|
],
|
|
24
22
|
"dependencies": {
|
|
25
|
-
"@
|
|
23
|
+
"@radix-ui/react-accordion": "^1.2.12",
|
|
24
|
+
"@radix-ui/react-alert-dialog": "^1.1.15",
|
|
25
|
+
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
26
|
+
"@radix-ui/react-avatar": "^1.1.11",
|
|
27
|
+
"@radix-ui/react-checkbox": "^1.3.3",
|
|
28
|
+
"@radix-ui/react-collapsible": "^1.1.12",
|
|
29
|
+
"@radix-ui/react-context-menu": "^2.2.16",
|
|
30
|
+
"@radix-ui/react-dialog": "^1.1.15",
|
|
31
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
32
|
+
"@radix-ui/react-hover-card": "^1.1.15",
|
|
33
|
+
"@radix-ui/react-label": "^2.1.8",
|
|
34
|
+
"@radix-ui/react-menubar": "^1.1.16",
|
|
35
|
+
"@radix-ui/react-navigation-menu": "^1.2.14",
|
|
36
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
37
|
+
"@radix-ui/react-progress": "^1.1.8",
|
|
38
|
+
"@radix-ui/react-radio-group": "^1.3.8",
|
|
39
|
+
"@radix-ui/react-scroll-area": "^1.2.10",
|
|
40
|
+
"@radix-ui/react-select": "^2.2.6",
|
|
41
|
+
"@radix-ui/react-separator": "^1.1.8",
|
|
42
|
+
"@radix-ui/react-slider": "^1.3.6",
|
|
43
|
+
"@radix-ui/react-slot": "^1.2.4",
|
|
44
|
+
"@radix-ui/react-switch": "^1.2.6",
|
|
45
|
+
"@radix-ui/react-tabs": "^1.1.13",
|
|
46
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
47
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
48
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
49
|
+
"class-variance-authority": "^0.7.1",
|
|
26
50
|
"clsx": "^2.1.1",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
51
|
+
"cmdk": "^1.1.1",
|
|
52
|
+
"date-fns": "^4.1.0",
|
|
53
|
+
"embla-carousel-react": "^8.6.0",
|
|
54
|
+
"input-otp": "^1.4.2",
|
|
55
|
+
"lucide-react": "^0.575.0",
|
|
56
|
+
"react-day-picker": "^9.14.0",
|
|
57
|
+
"react-hook-form": "^7.71.2",
|
|
58
|
+
"react-resizable-panels": "^4.6.5",
|
|
59
|
+
"recharts": "^2.15.4",
|
|
60
|
+
"sonner": "^2.0.7",
|
|
61
|
+
"tailwind-merge": "^3.5.0",
|
|
62
|
+
"vaul": "^1.1.2",
|
|
63
|
+
"zod": "^3.25.76"
|
|
30
64
|
},
|
|
31
65
|
"devDependencies": {
|
|
32
|
-
"@testing-library/jest-dom": "^6.9.1",
|
|
33
|
-
"@testing-library/react": "^16.3.0",
|
|
34
66
|
"@types/react": "^19.2.6",
|
|
35
|
-
"@
|
|
36
|
-
"@vitejs/plugin-react": "^5.1.1",
|
|
37
|
-
"@vitest/expect": "^4.0.13",
|
|
38
|
-
"jsdom": "^27.2.0",
|
|
67
|
+
"@types/react-dom": "^19.2.6",
|
|
39
68
|
"react": "^19.2.0",
|
|
40
69
|
"react-dom": "^19.2.0",
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"vitest": "^4.0.13",
|
|
44
|
-
"@yuva-devlab/eslint-config": "0.1.1",
|
|
45
|
-
"@yuva-devlab/prettier-config": "0.1.1",
|
|
46
|
-
"@yuva-devlab/typescript-config": "0.1.1"
|
|
70
|
+
"tsup": "^8.5.1",
|
|
71
|
+
"typescript": "^6.0.3"
|
|
47
72
|
},
|
|
48
73
|
"peerDependencies": {
|
|
49
|
-
"react": "^19.
|
|
50
|
-
"react-dom": "^19.
|
|
74
|
+
"react": "^19.0.0",
|
|
75
|
+
"react-dom": "^19.0.0"
|
|
51
76
|
},
|
|
52
77
|
"scripts": {
|
|
53
|
-
"build": "
|
|
54
|
-
"
|
|
78
|
+
"build": "tsup",
|
|
79
|
+
"dev": "tsup --watch",
|
|
55
80
|
"lint": "eslint src",
|
|
56
81
|
"lint:fix": "eslint src --fix",
|
|
57
|
-
"storybook": "pnpm --filter @yuva-devlab/docs storybook",
|
|
58
82
|
"format": "prettier --write .",
|
|
59
83
|
"format:check": "prettier --check .",
|
|
60
84
|
"type-check": "tsc --noEmit",
|
|
61
|
-
"clean
|
|
62
|
-
"clean:node_modules": "rm -rf node_modules",
|
|
63
|
-
"clean:turbo": "rm -rf .turbo",
|
|
64
|
-
"clean": "pnpm run clean:build && pnpm run clean:node_modules && pnpm run clean:turbo"
|
|
85
|
+
"clean": "rm -rf dist node_modules .turbo"
|
|
65
86
|
}
|
|
66
87
|
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ButtonProps } from './button.types';
|
|
3
|
-
/**
|
|
4
|
-
* Button component for triggering actions.
|
|
5
|
-
* Supports multiple variants, sizes, and interactive states like loading and disabled.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <Button variant="primary" onClick={() => console.log('clicked')}>
|
|
9
|
-
* Click Me
|
|
10
|
-
* </Button>
|
|
11
|
-
*/
|
|
12
|
-
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
-
//# sourceMappingURL=button.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAElD;;;;;;;;GAQG;AACH,eAAO,MAAM,MAAM,uFAuClB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const base: string;
|
|
2
|
-
export declare const size: Record<"xs" | "sm" | "md" | "lg" | "xl", string>;
|
|
3
|
-
export declare const shape: Record<"round" | "square", string>;
|
|
4
|
-
export declare const morph: Record<"round" | "square", string>;
|
|
5
|
-
export declare const width: Record<"default" | "narrow" | "wide", string>;
|
|
6
|
-
export declare const variant: Record<"default" | "text" | "filled" | "primary" | "ghost" | "link" | "elevated" | "tonal" | "outlined" | "secondary" | "tertiary", string>;
|
|
7
|
-
export declare const danger: string;
|
|
8
|
-
export declare const block: string;
|
|
9
|
-
export declare const disabled: string;
|
|
10
|
-
//# sourceMappingURL=button.styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ButtonPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
-
export type ButtonType = "primary" | "default" | "ghost" | "link" | "elevated" | "filled" | "tonal" | "outlined" | "text" | "secondary" | "tertiary";
|
|
3
|
-
export type ButtonSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
-
export type ButtonShape = "round" | "square";
|
|
5
|
-
export type ButtonWidth = "narrow" | "default" | "wide";
|
|
6
|
-
export interface ButtonProps extends ButtonPrimitiveProps {
|
|
7
|
-
variant?: ButtonType;
|
|
8
|
-
size?: ButtonSize;
|
|
9
|
-
shape?: ButtonShape;
|
|
10
|
-
width?: ButtonWidth;
|
|
11
|
-
danger?: boolean;
|
|
12
|
-
block?: boolean;
|
|
13
|
-
morph?: boolean;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=button.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"button.types.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAEpE,MAAM,MAAM,UAAU,GAClB,SAAS,GACT,SAAS,GACT,OAAO,GACP,MAAM,GACN,UAAU,GACV,QAAQ,GACR,OAAO,GACP,UAAU,GACV,MAAM,GACN,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,UAAU,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAE1D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,QAAQ,CAAC;AAE7C,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,CAAC;AAExD,MAAM,WAAW,WAAY,SAAQ,oBAAoB;IACvD,OAAO,CAAC,EAAE,UAAU,CAAC;IACrB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,YAAY,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/checkbox/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/form/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,cAAc,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/image/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './button';
|
|
2
|
-
export * from './input';
|
|
3
|
-
export * from './typography';
|
|
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';
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/input/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { InputProps } from './input.types';
|
|
3
|
-
/**
|
|
4
|
-
* Input component for text entry.
|
|
5
|
-
* Includes support for labels, helper text, and error states.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <Input
|
|
9
|
-
* label="Email"
|
|
10
|
-
* placeholder="Enter your email"
|
|
11
|
-
* errorMessage="Invalid email address"
|
|
12
|
-
* />
|
|
13
|
-
*/
|
|
14
|
-
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
15
|
-
//# sourceMappingURL=input.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAQ3C;;;;;;;;;;GAUG;AACH,eAAO,MAAM,KAAK,qFAgFjB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
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,13 +0,0 @@
|
|
|
1
|
-
import { InputPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
-
export type InputVariant = "outline" | "filled";
|
|
3
|
-
export type InputSize = "xs" | "sm" | "md" | "lg" | "xl";
|
|
4
|
-
export interface InputProps extends Omit<InputPrimitiveProps, "size"> {
|
|
5
|
-
variant?: InputVariant;
|
|
6
|
-
size?: InputSize;
|
|
7
|
-
error?: boolean;
|
|
8
|
-
label?: string;
|
|
9
|
-
labelProps?: React.LabelHTMLAttributes<HTMLLabelElement>;
|
|
10
|
-
helperText?: string;
|
|
11
|
-
errorMessage?: string;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=input.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"input.types.d.ts","sourceRoot":"","sources":["../../../src/components/input/input.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,QAAQ,CAAC;AAChD,MAAM,MAAM,SAAS,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEzD,MAAM,WAAW,UAAW,SAAQ,IAAI,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACnE,OAAO,CAAC,EAAE,YAAY,CAAC;IACvB,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,KAAK,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC;IACzD,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { BoxProps } from './box.types';
|
|
3
|
-
/**
|
|
4
|
-
* Foundational layout component with utility-first spacing and display props.
|
|
5
|
-
* Supports padding (p, px, py, pt, pr, pb, pl) and margin (m, mx, my, mt, mr, mb, ml) props
|
|
6
|
-
* that map directly to our design tokens.
|
|
7
|
-
*
|
|
8
|
-
* @example
|
|
9
|
-
* <Box p="lg" display="flex" position="relative">
|
|
10
|
-
* Layout Content
|
|
11
|
-
* </Box>
|
|
12
|
-
*/
|
|
13
|
-
export declare const Box: React.ForwardRefExoticComponent<BoxProps & React.RefAttributes<HTMLElement>>;
|
|
14
|
-
//# sourceMappingURL=box.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;;;;;;;;GASG;AACH,eAAO,MAAM,GAAG,8EAqDf,CAAC"}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const base: string;
|
|
2
|
-
export declare const padding: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
3
|
-
export declare const paddingX: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
4
|
-
export declare const paddingY: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
5
|
-
export declare const paddingTop: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
6
|
-
export declare const paddingRight: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
7
|
-
export declare const paddingBottom: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
8
|
-
export declare const paddingLeft: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
9
|
-
export declare const margin: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
10
|
-
export declare const marginX: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
11
|
-
export declare const marginY: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
12
|
-
export declare const marginTop: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
13
|
-
export declare const marginRight: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
14
|
-
export declare const marginBottom: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
15
|
-
export declare const marginLeft: Record<"xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "2xs" | "3xl" | "4xl" | "5xl", string>;
|
|
16
|
-
export declare const display: Record<"none" | "flex" | "grid" | "block" | "inline" | "inlineBlock" | "inlineFlex" | "inlineGrid", string>;
|
|
17
|
-
export declare const position: Record<"absolute" | "fixed" | "relative" | "static" | "sticky", string>;
|
|
18
|
-
export declare const overflow: Record<"hidden" | "auto" | "scroll" | "visible", string>;
|
|
19
|
-
//# sourceMappingURL=box.styles.css.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box.styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAEf,CAAC;AAEH,eAAO,MAAM,OAAO,0FAAsD,CAAC;AAC3E,eAAO,MAAM,QAAQ,0FAGlB,CAAC;AACJ,eAAO,MAAM,QAAQ,0FAGlB,CAAC;AACJ,eAAO,MAAM,UAAU,0FAEpB,CAAC;AACJ,eAAO,MAAM,YAAY,0FAEtB,CAAC;AACJ,eAAO,MAAM,aAAa,0FAEvB,CAAC;AACJ,eAAO,MAAM,WAAW,0FAErB,CAAC;AAEJ,eAAO,MAAM,MAAM,0FAAqD,CAAC;AACzE,eAAO,MAAM,OAAO,0FAGjB,CAAC;AACJ,eAAO,MAAM,OAAO,0FAGjB,CAAC;AACJ,eAAO,MAAM,SAAS,0FAAwD,CAAC;AAC/E,eAAO,MAAM,WAAW,0FAErB,CAAC;AACJ,eAAO,MAAM,YAAY,0FAEtB,CAAC;AACJ,eAAO,MAAM,UAAU,0FAEpB,CAAC;AAEJ,eAAO,MAAM,OAAO,6GASlB,CAAC;AAEH,eAAO,MAAM,QAAQ,yEAMnB,CAAC;AAEH,eAAO,MAAM,QAAQ,0DAKnB,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { BoxPrimitiveProps } from '@yuva-devlab/primitives';
|
|
2
|
-
import { spacing } from '@yuva-devlab/tokens';
|
|
3
|
-
export type SpacingValue = keyof typeof spacing;
|
|
4
|
-
export interface BoxProps extends BoxPrimitiveProps {
|
|
5
|
-
p?: SpacingValue;
|
|
6
|
-
px?: SpacingValue;
|
|
7
|
-
py?: SpacingValue;
|
|
8
|
-
pt?: SpacingValue;
|
|
9
|
-
pr?: SpacingValue;
|
|
10
|
-
pb?: SpacingValue;
|
|
11
|
-
pl?: SpacingValue;
|
|
12
|
-
m?: SpacingValue;
|
|
13
|
-
mx?: SpacingValue;
|
|
14
|
-
my?: SpacingValue;
|
|
15
|
-
mt?: SpacingValue;
|
|
16
|
-
mr?: SpacingValue;
|
|
17
|
-
mb?: SpacingValue;
|
|
18
|
-
ml?: SpacingValue;
|
|
19
|
-
display?: "block" | "flex" | "grid" | "inline" | "inlineBlock" | "inlineFlex" | "inlineGrid" | "none";
|
|
20
|
-
position?: "static" | "relative" | "absolute" | "fixed" | "sticky";
|
|
21
|
-
overflow?: "visible" | "hidden" | "scroll" | "auto";
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=box.types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"box.types.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/box.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,OAAO,CAAC;AAEhD,MAAM,WAAW,QAAS,SAAQ,iBAAiB;IACjD,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,CAAC,CAAC,EAAE,YAAY,CAAC;IACjB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,EAAE,CAAC,EAAE,YAAY,CAAC;IAClB,OAAO,CAAC,EACJ,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,QAAQ,GAAG,UAAU,GAAG,UAAU,GAAG,OAAO,GAAG,QAAQ,CAAC;IACnE,QAAQ,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;CACrD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/box/index.ts"],"names":[],"mappings":"AAAA,cAAc,OAAO,CAAC;AACtB,cAAc,aAAa,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
import { ContainerProps } from './container.types';
|
|
3
|
-
/**
|
|
4
|
-
* Centered layout wrapper with constrained max-widths.
|
|
5
|
-
* Used for top-level page structures to maintain consistent content alignment.
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* <Container size="xl">
|
|
9
|
-
* Page Content
|
|
10
|
-
* </Container>
|
|
11
|
-
*/
|
|
12
|
-
export declare const Container: React.ForwardRefExoticComponent<ContainerProps & React.RefAttributes<HTMLElement>>;
|
|
13
|
-
//# sourceMappingURL=container.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/container.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,oFAUrB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"container.styles.css.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/container/container.styles.css.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,QAMf,CAAC;AAEH,eAAO,MAAM,IAAI,oDAMf,CAAC"}
|