@dito-uai/components 5.1.0-alpha.7 → 5.1.0-alpha.70
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/LICENSE +21 -0
- package/README.md +42 -1
- package/dist/global.css +1 -1
- package/dist/index.cjs +81 -40
- package/dist/index.d.cts +1537 -843
- package/dist/index.d.ts +64 -2240
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +24 -15
- package/dist/ui/alert.d.ts +23 -33
- package/dist/ui/alert.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts +4 -124
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/badge.d.ts +4 -148
- package/dist/ui/badge.d.ts.map +1 -1
- package/dist/ui/button.d.ts +166 -316
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/card.d.ts +2 -66
- package/dist/ui/card.d.ts.map +1 -1
- package/dist/ui/checkbox.d.ts +2 -0
- package/dist/ui/checkbox.d.ts.map +1 -1
- package/dist/ui/chips.d.ts +24 -280
- package/dist/ui/chips.d.ts.map +1 -1
- package/dist/ui/collapsible.d.ts +5 -0
- package/dist/ui/collapsible.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts +131 -0
- package/dist/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/ui/go-to-card.d.ts +203 -0
- package/dist/ui/go-to-card.d.ts.map +1 -0
- package/dist/ui/indicator.d.ts +15 -15
- package/dist/ui/indicator.d.ts.map +1 -1
- package/dist/ui/input-description.d.ts +2 -26
- package/dist/ui/input-description.d.ts.map +1 -1
- package/dist/ui/input.d.ts +129 -255
- package/dist/ui/input.d.ts.map +1 -1
- package/dist/ui/internal/dropdown-content.d.ts.map +1 -1
- package/dist/ui/label.d.ts +2 -18
- package/dist/ui/label.d.ts.map +1 -1
- package/dist/ui/loading.d.ts +9 -0
- package/dist/ui/loading.d.ts.map +1 -0
- package/dist/ui/message.d.ts +57 -0
- package/dist/ui/message.d.ts.map +1 -0
- package/dist/ui/popover.d.ts +7 -0
- package/dist/ui/popover.d.ts.map +1 -0
- package/dist/ui/progress-bar.d.ts +1 -1
- package/dist/ui/progress-bar.d.ts.map +1 -1
- package/dist/ui/progress.d.ts +9 -27
- package/dist/ui/progress.d.ts.map +1 -1
- package/dist/ui/radio.d.ts +98 -4
- package/dist/ui/radio.d.ts.map +1 -1
- package/dist/ui/scope.d.ts +4 -108
- package/dist/ui/scope.d.ts.map +1 -1
- package/dist/ui/search.d.ts +60 -124
- package/dist/ui/search.d.ts.map +1 -1
- package/dist/ui/select-card.d.ts +104 -0
- package/dist/ui/select-card.d.ts.map +1 -0
- package/dist/ui/sheets.d.ts +129 -9
- package/dist/ui/sheets.d.ts.map +1 -1
- package/dist/ui/skeleton.d.ts +42 -0
- package/dist/ui/skeleton.d.ts.map +1 -0
- package/dist/ui/status.d.ts +7 -38
- package/dist/ui/status.d.ts.map +1 -1
- package/dist/ui/switch.d.ts +15 -0
- package/dist/ui/switch.d.ts.map +1 -0
- package/dist/ui/tabs.d.ts +5 -6
- package/dist/ui/tabs.d.ts.map +1 -1
- package/dist/ui/text.d.ts +3 -63
- package/dist/ui/text.d.ts.map +1 -1
- package/dist/ui/textarea.d.ts.map +1 -1
- package/dist/ui/tip-card.d.ts +77 -0
- package/dist/ui/tip-card.d.ts.map +1 -0
- package/dist/ui/toggle-group.d.ts +11 -0
- package/dist/ui/toggle-group.d.ts.map +1 -0
- package/dist/ui/toggle.d.ts +48 -12
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/tooltip.d.ts +10 -0
- package/dist/ui/tooltip.d.ts.map +1 -0
- package/llms.md +646 -0
- package/package.json +104 -40
- package/tailwind-preset.ts +281 -0
- package/tailwind.config.ts +12 -262
- package/dist/ui/form-item.d.ts +0 -16
- package/dist/ui/form-item.d.ts.map +0 -1
- package/dist/ui/form.d.ts +0 -1
- package/dist/ui/form.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,92 +1,133 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dito-uai/components",
|
|
3
|
-
"version": "5.1.0-alpha.
|
|
4
|
-
"
|
|
3
|
+
"version": "5.1.0-alpha.70",
|
|
4
|
+
"description": "Dito's design system component library, made in TSX",
|
|
5
|
+
"license": "MIT",
|
|
5
6
|
"repository": "git+https://github.com/ditointernet/dito-uai.git",
|
|
7
|
+
"homepage": "https://github.com/ditointernet/dito-uai#readme",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/ditointernet/dito-uai/issues"
|
|
10
|
+
},
|
|
6
11
|
"publishConfig": {
|
|
7
12
|
"access": "public"
|
|
8
13
|
},
|
|
9
14
|
"type": "module",
|
|
10
|
-
"main": "dist/index.js",
|
|
11
|
-
"module": "dist/index.mjs",
|
|
12
|
-
"types": "./dist/index.d.ts",
|
|
13
15
|
"sideEffects": false,
|
|
14
16
|
"files": [
|
|
15
17
|
"dist/",
|
|
16
18
|
"./tailwind.config.ts",
|
|
17
|
-
"./
|
|
19
|
+
"./tailwind-preset.ts",
|
|
20
|
+
"./lib/colors-utils.ts",
|
|
21
|
+
"./llms.md"
|
|
18
22
|
],
|
|
23
|
+
"main": "dist/index.js",
|
|
24
|
+
"module": "dist/index.mjs",
|
|
25
|
+
"types": "dist/index.d.ts",
|
|
19
26
|
"exports": {
|
|
20
27
|
".": {
|
|
21
|
-
"import":
|
|
22
|
-
|
|
23
|
-
"default": "./dist/index.js"
|
|
24
|
-
},
|
|
25
|
-
"require": {
|
|
26
|
-
"types": "./dist/index.d.ts",
|
|
27
|
-
"default": "./dist/index.mjs"
|
|
28
|
-
}
|
|
28
|
+
"import": "./dist/index.js",
|
|
29
|
+
"require": "./dist/index.mjs"
|
|
29
30
|
},
|
|
30
31
|
"./global.css": "./dist/global.css",
|
|
31
32
|
"./tailwind.config": {
|
|
32
|
-
"import":
|
|
33
|
-
|
|
34
|
-
"default": "./tailwind.config.ts"
|
|
35
|
-
},
|
|
36
|
-
"require": {
|
|
37
|
-
"types": "./tailwind.config.ts",
|
|
38
|
-
"default": "./tailwind.config.ts"
|
|
39
|
-
}
|
|
33
|
+
"import": "./tailwind-preset.ts",
|
|
34
|
+
"require": "./tailwind-preset.ts"
|
|
40
35
|
}
|
|
41
36
|
},
|
|
42
37
|
"scripts": {
|
|
43
|
-
"dev": "
|
|
44
|
-
"
|
|
45
|
-
"build": "yarn
|
|
46
|
-
"bundle": "yarn build:js & yarn build:types & yarn build:css",
|
|
38
|
+
"dev": "INCLUDE_STORYBOOK=true storybook dev -p 6006 --config-dir ./.storybook",
|
|
39
|
+
"build:storybook": "INCLUDE_STORYBOOK=true storybook build --config-dir ./.storybook --output-dir ./storybook-static",
|
|
40
|
+
"build:uai": "yarn build:js && yarn build:types && yarn build:css",
|
|
47
41
|
"build:js": "tsup",
|
|
48
|
-
"build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist",
|
|
49
|
-
"build:css": "tailwindcss -i ./src/global.css -o ./dist/global.css --minify -v"
|
|
42
|
+
"build:types": "tsc --declaration --emitDeclarationOnly --declarationDir dist --project tsconfig.build.json",
|
|
43
|
+
"build:css": "tailwindcss -i ./src/global.css -o ./dist/global.css --minify -v",
|
|
44
|
+
"publish:uai": "semantic-release",
|
|
45
|
+
"format:ts": "prettier",
|
|
46
|
+
"format:ts:all": "yarn format:ts --check \"src/**/*.{ts,tsx}\"",
|
|
47
|
+
"format": "yarn format:ts:all",
|
|
48
|
+
"lint:ts": "eslint --cache",
|
|
49
|
+
"lint:ts:all": "yarn lint:ts \"src/**/*.{ts,tsx}\"",
|
|
50
|
+
"lint": "yarn lint:ts:all --fix",
|
|
51
|
+
"cz": "cz"
|
|
50
52
|
},
|
|
51
|
-
"packageManager": "yarn@4.1.1",
|
|
52
53
|
"devDependencies": {
|
|
54
|
+
"@chromatic-com/storybook": "^4.1.3",
|
|
55
|
+
"@commitlint/cli": "^19.3.0",
|
|
56
|
+
"@commitlint/config-conventional": "13.1.0",
|
|
57
|
+
"@eslint/eslintrc": "^3.1.0",
|
|
58
|
+
"@eslint/js": "^9.8.0",
|
|
53
59
|
"@semantic-release/commit-analyzer": "^13.0.0",
|
|
54
60
|
"@semantic-release/exec": "6.0.3",
|
|
55
61
|
"@semantic-release/git": "9.0.0",
|
|
56
62
|
"@semantic-release/github": "^10.1.3",
|
|
57
63
|
"@semantic-release/release-notes-generator": "^14.0.1",
|
|
64
|
+
"@storybook/addon-docs": "10.1.2",
|
|
65
|
+
"@storybook/addon-onboarding": "10.1.2",
|
|
66
|
+
"@storybook/addon-vitest": "10.1.3",
|
|
67
|
+
"@storybook/react-vite": "10.1.2",
|
|
68
|
+
"@types/eslint__js": "^8.42.3",
|
|
69
|
+
"@types/postcss-flexbugs-fixes": "^5",
|
|
70
|
+
"@types/prop-types": "^15.7.12",
|
|
58
71
|
"@types/react": "^18.3.3",
|
|
72
|
+
"@types/react-dom": "^18.3.0",
|
|
73
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
74
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
75
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
76
|
+
"@vitest/coverage-v8": "^4.0.15",
|
|
59
77
|
"autoprefixer": "^10.4.19",
|
|
60
|
-
"
|
|
78
|
+
"chromatic": "^11.7.0",
|
|
79
|
+
"commitizen": "^4.3.0",
|
|
80
|
+
"commitlint": "^19.3.0",
|
|
81
|
+
"cz-conventional-changelog": "3.3.0",
|
|
82
|
+
"cz-customizable": "6.9.2",
|
|
83
|
+
"dotenv-cli": "^7.4.2",
|
|
84
|
+
"esbuild": "^0.12.15",
|
|
61
85
|
"esbuild-plugin-svgr": "^2.1.0",
|
|
62
86
|
"esbuild-plugin-tsc": "^0.4.0",
|
|
63
87
|
"esbuild-ts-paths": "^1.1.3",
|
|
88
|
+
"eslint": "^9.8.0",
|
|
89
|
+
"eslint-config-prettier": "^9.1.0",
|
|
90
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
91
|
+
"eslint-plugin-storybook": "10.1.2",
|
|
92
|
+
"eslint-plugin-tailwindcss": "^3.17.4",
|
|
93
|
+
"firebase-tools": "13.14.2",
|
|
94
|
+
"husky": "7.0.1",
|
|
95
|
+
"lint-staged": "15.2.7",
|
|
96
|
+
"playwright": "^1.57.0",
|
|
64
97
|
"postcss": "^8.4.38",
|
|
98
|
+
"prettier": "^3.3.3",
|
|
99
|
+
"prop-types": "^15.8.1",
|
|
65
100
|
"semantic-release": "^17",
|
|
101
|
+
"storybook": "10.1.2",
|
|
66
102
|
"supports-color": "^9.4.0",
|
|
67
|
-
"tailwind-variants": "^0.2.1",
|
|
68
103
|
"tailwindcss": "^3.4.13",
|
|
69
104
|
"tsup": "^8.2.3",
|
|
70
105
|
"typescript": "^5.5.4",
|
|
71
|
-
"
|
|
106
|
+
"typescript-eslint": "^8.0.0",
|
|
107
|
+
"vite": "^5.3.5",
|
|
108
|
+
"vite-plugin-checker": "^0.11.0",
|
|
109
|
+
"vite-tsconfig-paths": "^5.1.4",
|
|
110
|
+
"vitest": "^4.0.15"
|
|
72
111
|
},
|
|
73
112
|
"dependencies": {
|
|
74
|
-
"@dito-uai/icons": "^1.
|
|
113
|
+
"@dito-uai/icons": "^1.12.0",
|
|
75
114
|
"@hookform/resolvers": "^3.9.0",
|
|
76
115
|
"@radix-ui/react-accordion": "^1.2.0",
|
|
77
116
|
"@radix-ui/react-avatar": "^1.0.4",
|
|
78
117
|
"@radix-ui/react-checkbox": "^1.0.4",
|
|
79
118
|
"@radix-ui/react-collapsible": "^1.1.1",
|
|
80
119
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
81
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
120
|
+
"@radix-ui/react-dropdown-menu": "^2.1.16",
|
|
121
|
+
"@radix-ui/react-popover": "^1.1.15",
|
|
82
122
|
"@radix-ui/react-progress": "^1.1.0",
|
|
83
123
|
"@radix-ui/react-radio-group": "^1.2.0",
|
|
84
124
|
"@radix-ui/react-slot": "^1.1.0",
|
|
85
125
|
"@radix-ui/react-tabs": "^1.1.12",
|
|
86
|
-
"@radix-ui/react-toggle
|
|
126
|
+
"@radix-ui/react-toggle": "^1.1.10",
|
|
127
|
+
"@radix-ui/react-toggle-group": "^1.1.11",
|
|
128
|
+
"@radix-ui/react-tooltip": "^1.2.8",
|
|
87
129
|
"@tailwindcss/forms": "^0.5.9",
|
|
88
130
|
"@tailwindcss/typography": "^0.5.15",
|
|
89
|
-
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.15",
|
|
90
131
|
"class-variance-authority": "^0.7.0",
|
|
91
132
|
"clsx": "^2.1.1",
|
|
92
133
|
"lucide-react": "^0.418.0",
|
|
@@ -95,8 +136,9 @@
|
|
|
95
136
|
"postcss-nested": "^6.2.0",
|
|
96
137
|
"react": "^18.3.1",
|
|
97
138
|
"react-dom": "^18.3.1",
|
|
98
|
-
"react-
|
|
99
|
-
"tailwind-merge": "^
|
|
139
|
+
"react-toastify": "9.1.3",
|
|
140
|
+
"tailwind-merge": "^3.4.0",
|
|
141
|
+
"tailwind-variants": "^3.1.1",
|
|
100
142
|
"tailwindcss-animate": "^1.0.7",
|
|
101
143
|
"zod": "^3.23.8"
|
|
102
144
|
},
|
|
@@ -105,8 +147,30 @@
|
|
|
105
147
|
"lucide-react": "^0.377.0",
|
|
106
148
|
"react": "^18.3.1",
|
|
107
149
|
"react-dom": "^18.3.1",
|
|
108
|
-
"react-hook-form": "^7.52.1",
|
|
109
150
|
"zod": "^3.23.8"
|
|
110
151
|
},
|
|
111
|
-
"
|
|
152
|
+
"engines": {
|
|
153
|
+
"node": ">= 20"
|
|
154
|
+
},
|
|
155
|
+
"config": {
|
|
156
|
+
"commitizen": {
|
|
157
|
+
"path": "cz-customizable",
|
|
158
|
+
"defaultType": "fix",
|
|
159
|
+
"defaultScope": "components"
|
|
160
|
+
},
|
|
161
|
+
"cz-customizable": {
|
|
162
|
+
"config": ".cz-config.cjs"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"husky": {
|
|
166
|
+
"hooks": {
|
|
167
|
+
"prepare-commit-msg": "exec < /dev/tty && npx cz --hook || true"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"resolutions": {
|
|
171
|
+
"underscore.string": "npm:underscore.string@*",
|
|
172
|
+
"eslint": "npm:eslint@9.8.0",
|
|
173
|
+
"typescript-eslint": "npm:typescript-eslint@8.0.0"
|
|
174
|
+
},
|
|
175
|
+
"packageManager": "yarn@4.3.1"
|
|
112
176
|
}
|
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import TailwindsForms from '@tailwindcss/forms';
|
|
2
|
+
import TailwindsTypography from '@tailwindcss/typography';
|
|
3
|
+
import TailwindsAnimate from 'tailwindcss-animate';
|
|
4
|
+
|
|
5
|
+
export const COLORS = {
|
|
6
|
+
neutral: {
|
|
7
|
+
white: '#ffffff',
|
|
8
|
+
black: '#000000',
|
|
9
|
+
neutral_900: '#21242b',
|
|
10
|
+
neutral_700: '#343841',
|
|
11
|
+
neutral_600: '#484d59',
|
|
12
|
+
neutral_500: '#6a7486',
|
|
13
|
+
neutral_400: '#8d95a7',
|
|
14
|
+
neutral_300: '#bdc2cc',
|
|
15
|
+
neutral_200: '#d7dae0',
|
|
16
|
+
neutral_100: '#eff0f2',
|
|
17
|
+
},
|
|
18
|
+
brand: {
|
|
19
|
+
navy_900: '#223154',
|
|
20
|
+
navy_600: '#364b74',
|
|
21
|
+
navy_100: '#e6e8ed',
|
|
22
|
+
green_900: '#006a31',
|
|
23
|
+
green_600: '#00bd6a',
|
|
24
|
+
green_100: '#e5f7ed',
|
|
25
|
+
},
|
|
26
|
+
secondary: {
|
|
27
|
+
indigo_900: '#353877',
|
|
28
|
+
indigo_600: '#4b5398',
|
|
29
|
+
indigo_100: '#e8eaf2',
|
|
30
|
+
purple_900: '#541f8e',
|
|
31
|
+
purple_600: '#852ca5',
|
|
32
|
+
purple_100: '#f7e7fc',
|
|
33
|
+
blue_900: '#4a58d5',
|
|
34
|
+
blue_600: '#549eff',
|
|
35
|
+
blue_100: '#e4f1ff',
|
|
36
|
+
pink_900: '#a50a54',
|
|
37
|
+
pink_600: '#f1167f',
|
|
38
|
+
pink_100: '#fee6f1',
|
|
39
|
+
green_900: '#127a6e',
|
|
40
|
+
green_600: '#06c5ae',
|
|
41
|
+
green_100: '#e6f9f7',
|
|
42
|
+
platform_background: '#f3f4f8',
|
|
43
|
+
},
|
|
44
|
+
chart: {
|
|
45
|
+
midnight_blue_900: '#0a0259',
|
|
46
|
+
midnight_blue_600: '#271bae',
|
|
47
|
+
midnight_blue_100: '#ebf0ff',
|
|
48
|
+
green_900: '#005b42',
|
|
49
|
+
green_600: '#0bcc96',
|
|
50
|
+
green_100: '#e5fff4',
|
|
51
|
+
purple_900: '#4c178e',
|
|
52
|
+
purple_600: '#8929ff',
|
|
53
|
+
purple_100: '#f6eeff',
|
|
54
|
+
pink_900: '#b91d70',
|
|
55
|
+
pink_600: '#ff00b8',
|
|
56
|
+
pink_100: '#fff1fb',
|
|
57
|
+
light_blue_900: '#094170',
|
|
58
|
+
light_blue_600: '#00beff',
|
|
59
|
+
light_blue_100: '#ebf9ff',
|
|
60
|
+
orange_900: '#b84300',
|
|
61
|
+
orange_600: '#ff7a00',
|
|
62
|
+
orange_100: '#fff0df',
|
|
63
|
+
red_900: '#8b0c23',
|
|
64
|
+
red_600: '#db0028',
|
|
65
|
+
red_100: '#ffecef',
|
|
66
|
+
blue_900: '#09006d',
|
|
67
|
+
blue_600: '#1456ff',
|
|
68
|
+
blue_100: '#e6f2ff',
|
|
69
|
+
yellow_900: '#9d670b',
|
|
70
|
+
yellow_600: '#f1c40f',
|
|
71
|
+
yellow_100: '#fff9e7',
|
|
72
|
+
},
|
|
73
|
+
notification: {
|
|
74
|
+
critical_900: '#9e0505',
|
|
75
|
+
critical_600: '#d31d26',
|
|
76
|
+
critical_300: '#ffadb0',
|
|
77
|
+
critical_100: '#ffebeb',
|
|
78
|
+
warning_900: '#8a4900',
|
|
79
|
+
warning_600: '#ffca42',
|
|
80
|
+
warning_300: '#ffe8a9',
|
|
81
|
+
warning_100: '#fff6ce',
|
|
82
|
+
success_900: '#074a1b',
|
|
83
|
+
success_600: '#228000',
|
|
84
|
+
success_300: '#80e09c',
|
|
85
|
+
success_100: '#defce7',
|
|
86
|
+
information_900: '#1e4664',
|
|
87
|
+
information_600: '#0d74a0',
|
|
88
|
+
information_300: '#b0e7ff',
|
|
89
|
+
information_100: '#e0f8ff',
|
|
90
|
+
},
|
|
91
|
+
};
|
|
92
|
+
|
|
93
|
+
/** @type {import('tailwindcss').Config} */
|
|
94
|
+
export default {
|
|
95
|
+
theme: {
|
|
96
|
+
screens: {
|
|
97
|
+
sm: '480px',
|
|
98
|
+
md: '768px',
|
|
99
|
+
lg: '976px',
|
|
100
|
+
xl: '1440px',
|
|
101
|
+
},
|
|
102
|
+
fontFamily: {
|
|
103
|
+
sans: ['Poppins', 'sans-serif'],
|
|
104
|
+
},
|
|
105
|
+
extend: {
|
|
106
|
+
backgroundImage: {
|
|
107
|
+
'gradient-radial': 'radial-gradient(var(--gradient-color-stops))',
|
|
108
|
+
},
|
|
109
|
+
colors: () => ({
|
|
110
|
+
primary: COLORS.brand.green_600,
|
|
111
|
+
'primary-foreground': '#ffffff',
|
|
112
|
+
accent: COLORS.brand.navy_600,
|
|
113
|
+
'accent-foreground': '#ffffff',
|
|
114
|
+
'neutral-100': COLORS.neutral.neutral_100,
|
|
115
|
+
'neutral-200': COLORS.neutral.neutral_200,
|
|
116
|
+
'neutral-300': COLORS.neutral.neutral_300,
|
|
117
|
+
'neutral-400': COLORS.neutral.neutral_400,
|
|
118
|
+
'neutral-500': COLORS.neutral.neutral_500,
|
|
119
|
+
'neutral-600': COLORS.neutral.neutral_600,
|
|
120
|
+
'neutral-700': COLORS.neutral.neutral_700,
|
|
121
|
+
'neutral-900': COLORS.neutral.neutral_900,
|
|
122
|
+
'midnight-blue-900': COLORS.chart.midnight_blue_900,
|
|
123
|
+
'midnight-blue-600': COLORS.chart.midnight_blue_600,
|
|
124
|
+
'midnight-blue-100': COLORS.chart.midnight_blue_100,
|
|
125
|
+
'red-100': COLORS.chart.red_100,
|
|
126
|
+
'red-600': COLORS.chart.red_600,
|
|
127
|
+
'red-900': COLORS.chart.red_900,
|
|
128
|
+
'orange-100': COLORS.chart.orange_100,
|
|
129
|
+
'orange-600': COLORS.chart.orange_600,
|
|
130
|
+
'orange-900': COLORS.chart.orange_900,
|
|
131
|
+
'yellow-100': COLORS.chart.yellow_100,
|
|
132
|
+
'yellow-600': COLORS.chart.yellow_600,
|
|
133
|
+
'yellow-900': COLORS.chart.yellow_900,
|
|
134
|
+
'green-100': COLORS.brand.green_100,
|
|
135
|
+
'green-600': COLORS.brand.green_600,
|
|
136
|
+
'green-900': COLORS.brand.green_900,
|
|
137
|
+
'blue-100': COLORS.secondary.blue_100,
|
|
138
|
+
'blue-600': COLORS.secondary.blue_600,
|
|
139
|
+
'blue-900': COLORS.secondary.blue_900,
|
|
140
|
+
'light-blue-100': COLORS.chart.light_blue_100,
|
|
141
|
+
'light-blue-600': COLORS.chart.light_blue_600,
|
|
142
|
+
'light-blue-900': COLORS.chart.light_blue_900,
|
|
143
|
+
'indigo-100': COLORS.secondary.indigo_100,
|
|
144
|
+
'indigo-600': COLORS.secondary.indigo_600,
|
|
145
|
+
'indigo-900': COLORS.secondary.indigo_900,
|
|
146
|
+
'navy-100': COLORS.brand.navy_100,
|
|
147
|
+
'navy-600': COLORS.brand.navy_600,
|
|
148
|
+
'navy-900': COLORS.brand.navy_900,
|
|
149
|
+
'purple-100': COLORS.chart.purple_100,
|
|
150
|
+
'purple-600': COLORS.chart.purple_600,
|
|
151
|
+
'purple-900': COLORS.chart.purple_900,
|
|
152
|
+
'pink-100': COLORS.chart.pink_100,
|
|
153
|
+
'pink-600': COLORS.chart.pink_600,
|
|
154
|
+
'pink-900': COLORS.chart.pink_900,
|
|
155
|
+
notification: {
|
|
156
|
+
'critical-100': COLORS.notification.critical_100,
|
|
157
|
+
'critical-300': COLORS.notification.critical_300,
|
|
158
|
+
'critical-600': COLORS.notification.critical_600,
|
|
159
|
+
'critical-900': COLORS.notification.critical_900,
|
|
160
|
+
'warning-100': COLORS.notification.warning_100,
|
|
161
|
+
'warning-300': COLORS.notification.warning_300,
|
|
162
|
+
'warning-600': COLORS.notification.warning_600,
|
|
163
|
+
'warning-900': COLORS.notification.warning_900,
|
|
164
|
+
'success-100': COLORS.notification.success_100,
|
|
165
|
+
'success-300': COLORS.notification.success_300,
|
|
166
|
+
'success-600': COLORS.notification.success_600,
|
|
167
|
+
'success-900': COLORS.notification.success_900,
|
|
168
|
+
'information-100': COLORS.notification.information_100,
|
|
169
|
+
'information-300': COLORS.notification.information_300,
|
|
170
|
+
'information-600': COLORS.notification.information_600,
|
|
171
|
+
'information-900': COLORS.notification.information_900,
|
|
172
|
+
},
|
|
173
|
+
secondary: {
|
|
174
|
+
'indigo-100': COLORS.secondary.indigo_100,
|
|
175
|
+
'indigo-600': COLORS.secondary.indigo_600,
|
|
176
|
+
'indigo-900': COLORS.secondary.indigo_900,
|
|
177
|
+
},
|
|
178
|
+
}),
|
|
179
|
+
height: {
|
|
180
|
+
1: '8px',
|
|
181
|
+
2: '16px',
|
|
182
|
+
3: '24px',
|
|
183
|
+
4: '32px',
|
|
184
|
+
5: '40px',
|
|
185
|
+
6: '48px',
|
|
186
|
+
7: '56px',
|
|
187
|
+
},
|
|
188
|
+
gap: {
|
|
189
|
+
1: '8px',
|
|
190
|
+
2: '16px',
|
|
191
|
+
3: '32px',
|
|
192
|
+
4: '48px',
|
|
193
|
+
},
|
|
194
|
+
spacing: {
|
|
195
|
+
0.25: '2px',
|
|
196
|
+
0.5: '4px',
|
|
197
|
+
0.75: '6px',
|
|
198
|
+
1: '8px',
|
|
199
|
+
2: '16px',
|
|
200
|
+
3: '24px',
|
|
201
|
+
4: '32px',
|
|
202
|
+
5: '40px',
|
|
203
|
+
6: '48px',
|
|
204
|
+
7: '56px',
|
|
205
|
+
8: '64px',
|
|
206
|
+
9: '72px',
|
|
207
|
+
10: '128px',
|
|
208
|
+
},
|
|
209
|
+
maxWidth: {
|
|
210
|
+
'1/4': '25%',
|
|
211
|
+
'1/2': '50%',
|
|
212
|
+
'3/4': '75%',
|
|
213
|
+
},
|
|
214
|
+
borderRadius: {
|
|
215
|
+
sm: '4px',
|
|
216
|
+
m: '8px',
|
|
217
|
+
x: '16px',
|
|
218
|
+
xl: '32px',
|
|
219
|
+
},
|
|
220
|
+
boxShadow: {
|
|
221
|
+
down: '0px 4px 8px 0px #00000014',
|
|
222
|
+
},
|
|
223
|
+
fontSize: {
|
|
224
|
+
xs: ['10px', { lineHeight: '16px' }],
|
|
225
|
+
sm: ['12px', { lineHeight: '18px' }],
|
|
226
|
+
base: ['14px', { lineHeight: '20px' }],
|
|
227
|
+
lg: ['16px', { lineHeight: '24px' }],
|
|
228
|
+
xl: ['22px', { lineHeight: '32px' }],
|
|
229
|
+
'2xl': ['28px', { lineHeight: '40px' }],
|
|
230
|
+
'3xl': ['30px', { lineHeight: '44px' }],
|
|
231
|
+
},
|
|
232
|
+
keyframes: {
|
|
233
|
+
'accordion-down': {
|
|
234
|
+
from: { height: '0' },
|
|
235
|
+
to: { height: 'var(--radix-accordion-content-height)' },
|
|
236
|
+
},
|
|
237
|
+
'accordion-up': {
|
|
238
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
|
239
|
+
to: { height: '0' },
|
|
240
|
+
},
|
|
241
|
+
rotate: {
|
|
242
|
+
'100%': { transform: 'rotate(360deg)' },
|
|
243
|
+
},
|
|
244
|
+
dash: {
|
|
245
|
+
'0%': {
|
|
246
|
+
'stroke-dasharray': '1, 200',
|
|
247
|
+
'stroke-dashoffset': '0',
|
|
248
|
+
},
|
|
249
|
+
'50%': {
|
|
250
|
+
'stroke-dasharray': '90, 200',
|
|
251
|
+
'stroke-dashoffset': '-35px',
|
|
252
|
+
},
|
|
253
|
+
'100%': {
|
|
254
|
+
'stroke-dashoffset': '-125px',
|
|
255
|
+
},
|
|
256
|
+
},
|
|
257
|
+
border: {
|
|
258
|
+
to: { '--border-angle': '360deg' },
|
|
259
|
+
},
|
|
260
|
+
'dito-uai-skeleton-pulse': {
|
|
261
|
+
'0%, 100%': { opacity: '1' },
|
|
262
|
+
'50%': { opacity: '.5' },
|
|
263
|
+
},
|
|
264
|
+
},
|
|
265
|
+
animation: {
|
|
266
|
+
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
267
|
+
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
268
|
+
rotate: 'rotate 2s linear infinite',
|
|
269
|
+
border: 'border 2s linear infinite',
|
|
270
|
+
dash: 'dash 1.5s ease-in-out infinite',
|
|
271
|
+
'dito-uai-skeleton-pulse':
|
|
272
|
+
'dito-uai-skeleton-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
|
|
273
|
+
},
|
|
274
|
+
},
|
|
275
|
+
},
|
|
276
|
+
plugins: [
|
|
277
|
+
TailwindsAnimate,
|
|
278
|
+
TailwindsTypography,
|
|
279
|
+
TailwindsForms({ strategy: 'class' }),
|
|
280
|
+
],
|
|
281
|
+
};
|