@wmoney/ui-kit 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 +132 -0
- package/dist/components/Badge.d.ts +19 -0
- package/dist/components/Badge.d.ts.map +1 -0
- package/dist/components/Button.d.ts +22 -0
- package/dist/components/Button.d.ts.map +1 -0
- package/dist/components/Calendar.d.ts +19 -0
- package/dist/components/Calendar.d.ts.map +1 -0
- package/dist/components/Card.d.ts +35 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Checkbox.d.ts +8 -0
- package/dist/components/Checkbox.d.ts.map +1 -0
- package/dist/components/Command.d.ts +55 -0
- package/dist/components/Command.d.ts.map +1 -0
- package/dist/components/DatePicker.d.ts +37 -0
- package/dist/components/DatePicker.d.ts.map +1 -0
- package/dist/components/Dialog.d.ts +41 -0
- package/dist/components/Dialog.d.ts.map +1 -0
- package/dist/components/DropdownMenu.d.ts +80 -0
- package/dist/components/DropdownMenu.d.ts.map +1 -0
- package/dist/components/FileDropzone.d.ts +29 -0
- package/dist/components/FileDropzone.d.ts.map +1 -0
- package/dist/components/FormSection.d.ts +16 -0
- package/dist/components/FormSection.d.ts.map +1 -0
- package/dist/components/Input.d.ts +7 -0
- package/dist/components/Input.d.ts.map +1 -0
- package/dist/components/InputGroup.d.ts +52 -0
- package/dist/components/InputGroup.d.ts.map +1 -0
- package/dist/components/InputOtp.d.ts +48 -0
- package/dist/components/InputOtp.d.ts.map +1 -0
- package/dist/components/Label.d.ts +8 -0
- package/dist/components/Label.d.ts.map +1 -0
- package/dist/components/MultiSelect.d.ts +230 -0
- package/dist/components/MultiSelect.d.ts.map +1 -0
- package/dist/components/Pagination.d.ts +35 -0
- package/dist/components/Pagination.d.ts.map +1 -0
- package/dist/components/Paginator.d.ts +15 -0
- package/dist/components/Paginator.d.ts.map +1 -0
- package/dist/components/Popover.d.ts +33 -0
- package/dist/components/Popover.d.ts.map +1 -0
- package/dist/components/RadioGroup.d.ts +13 -0
- package/dist/components/RadioGroup.d.ts.map +1 -0
- package/dist/components/RoundedButton.d.ts +7 -0
- package/dist/components/RoundedButton.d.ts.map +1 -0
- package/dist/components/Select.d.ts +61 -0
- package/dist/components/Select.d.ts.map +1 -0
- package/dist/components/Separator.d.ts +9 -0
- package/dist/components/Separator.d.ts.map +1 -0
- package/dist/components/Skeleton.d.ts +8 -0
- package/dist/components/Skeleton.d.ts.map +1 -0
- package/dist/components/Spinner.d.ts +8 -0
- package/dist/components/Spinner.d.ts.map +1 -0
- package/dist/components/Switch.d.ts +8 -0
- package/dist/components/Switch.d.ts.map +1 -0
- package/dist/components/Table.d.ts +35 -0
- package/dist/components/Table.d.ts.map +1 -0
- package/dist/components/Tabs.d.ts +30 -0
- package/dist/components/Tabs.d.ts.map +1 -0
- package/dist/components/Textarea.d.ts +8 -0
- package/dist/components/Textarea.d.ts.map +1 -0
- package/dist/components/Tooltip.d.ts +22 -0
- package/dist/components/Tooltip.d.ts.map +1 -0
- package/dist/components/ValidatePassword.d.ts +15 -0
- package/dist/components/ValidatePassword.d.ts.map +1 -0
- package/dist/favicon.svg +1 -0
- package/dist/icons.svg +24 -0
- package/dist/index.cjs +65 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.css +3 -0
- package/dist/index.d.ts +34 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +12937 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/ThemeTokensProvider.d.ts +38 -0
- package/dist/lib/ThemeTokensProvider.d.ts.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/package.json +81 -0
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { default as React, ReactNode } from 'react';
|
|
2
|
+
interface ThemeTokens {
|
|
3
|
+
default?: string;
|
|
4
|
+
background?: string;
|
|
5
|
+
accent?: string;
|
|
6
|
+
primary?: string;
|
|
7
|
+
secondary?: string;
|
|
8
|
+
tertiary?: string;
|
|
9
|
+
extra?: string;
|
|
10
|
+
foreground?: string;
|
|
11
|
+
elevated?: string;
|
|
12
|
+
muted?: string;
|
|
13
|
+
border?: string;
|
|
14
|
+
'border-subtle'?: string;
|
|
15
|
+
card?: string;
|
|
16
|
+
destructive?: string;
|
|
17
|
+
input?: string;
|
|
18
|
+
'logo-icon'?: string;
|
|
19
|
+
success?: string;
|
|
20
|
+
warning?: string;
|
|
21
|
+
'warning-secondary'?: string;
|
|
22
|
+
sidebar?: string;
|
|
23
|
+
'sidebar-foreground'?: string;
|
|
24
|
+
'sidebar-primary'?: string;
|
|
25
|
+
'sidebar-primary-foreground'?: string;
|
|
26
|
+
'sidebar-accent'?: string;
|
|
27
|
+
'sidebar-accent-foreground'?: string;
|
|
28
|
+
'sidebar-border'?: string;
|
|
29
|
+
'sidebar-ring'?: string;
|
|
30
|
+
}
|
|
31
|
+
export declare const useThemeTokens: () => ThemeTokens | undefined;
|
|
32
|
+
interface ThemeTokensProviderProps {
|
|
33
|
+
children: ReactNode;
|
|
34
|
+
tokens?: ThemeTokens;
|
|
35
|
+
}
|
|
36
|
+
export declare const ThemeTokensProvider: React.FC<ThemeTokensProviderProps>;
|
|
37
|
+
export {};
|
|
38
|
+
//# sourceMappingURL=ThemeTokensProvider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ThemeTokensProvider.d.ts","sourceRoot":"","sources":["../../src/lib/ThemeTokensProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAoC,MAAM,OAAO,CAAC;AAEzD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,UAAU,WAAW;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,C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.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wmoney/ui-kit",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"access": "public"
|
|
7
|
+
},
|
|
8
|
+
"description": "Wealth Money | UI Kit",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"type": "module",
|
|
11
|
+
"main": "./dist/index.cjs",
|
|
12
|
+
"module": "./dist/index.js",
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"import": "./dist/index.js",
|
|
18
|
+
"require": "./dist/index.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./index.css": "./dist/index.css"
|
|
21
|
+
},
|
|
22
|
+
"files": [
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"**/*.css"
|
|
27
|
+
],
|
|
28
|
+
"scripts": {
|
|
29
|
+
"dev": "storybook dev -p 6006",
|
|
30
|
+
"build": "tsc -b && vite build",
|
|
31
|
+
"build:storybook": "storybook build",
|
|
32
|
+
"type-check": "tsc -b",
|
|
33
|
+
"lint": "eslint .",
|
|
34
|
+
"preview": "vite preview"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"react": "^19.0.0",
|
|
38
|
+
"react-dom": "^19.0.0"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@base-ui/react": "^1.3.0",
|
|
42
|
+
"@fontsource-variable/geist": "^5.2.8",
|
|
43
|
+
"class-variance-authority": "^0.7.1",
|
|
44
|
+
"clsx": "^2.1.1",
|
|
45
|
+
"cmdk": "^1.1.1",
|
|
46
|
+
"date-fns": "^4.1.0",
|
|
47
|
+
"input-otp": "^1.4.2",
|
|
48
|
+
"lucide-react": "^1.0.1",
|
|
49
|
+
"react-day-picker": "^9.14.0",
|
|
50
|
+
"shadcn": "^4.1.0",
|
|
51
|
+
"tailwind-merge": "^3.5.0",
|
|
52
|
+
"tw-animate-css": "^1.4.0"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@eslint/js": "^9.39.4",
|
|
56
|
+
"@pemonter/eslint-config": "^2.0.3",
|
|
57
|
+
"@storybook/addon-a11y": "^8.6.18",
|
|
58
|
+
"@storybook/addon-essentials": "^8.6.18",
|
|
59
|
+
"@storybook/addon-interactions": "^8.6.18",
|
|
60
|
+
"@storybook/react": "^8.6.0",
|
|
61
|
+
"@storybook/react-vite": "^8.6.0",
|
|
62
|
+
"@tailwindcss/vite": "^4.2.2",
|
|
63
|
+
"@types/node": "^24.12.0",
|
|
64
|
+
"@types/react": "^19.2.14",
|
|
65
|
+
"@types/react-dom": "^19.2.3",
|
|
66
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
67
|
+
"ajv": "^8.0.0",
|
|
68
|
+
"eslint": "^9.39.4",
|
|
69
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
70
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
71
|
+
"globals": "^17.4.0",
|
|
72
|
+
"react": "^19.2.4",
|
|
73
|
+
"react-dom": "^19.2.4",
|
|
74
|
+
"storybook": "^8.6.0",
|
|
75
|
+
"tailwindcss": "^4.2.2",
|
|
76
|
+
"typescript": "~5.9.3",
|
|
77
|
+
"typescript-eslint": "^8.57.0",
|
|
78
|
+
"vite": "^8.0.1",
|
|
79
|
+
"vite-plugin-dts": "^4.5.4"
|
|
80
|
+
}
|
|
81
|
+
}
|