ics-ui-kit 1.0.0-alpha.1 → 1.0.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CalendarPreviousMonthButton-CHMp8bkd.js +2964 -0
- package/dist/CalendarPreviousMonthButton-CHMp8bkd.js.map +1 -0
- package/dist/components/calendar/components/calendar-dropdown/CalendarDropdown.d.ts +24 -0
- package/dist/components/calendar/styles.d.ts +61 -0
- package/dist/components/calendar-scroll/CalendarScroll.d.ts +21 -0
- package/dist/components/calendar-scroll/CalendarScroll.stories.d.ts +16 -0
- package/dist/components/calendar-scroll/index.d.ts +3 -0
- package/dist/components/calendar-scroll.d.ts +2 -0
- package/dist/components/calendar-scroll.js +181 -0
- package/dist/components/calendar-scroll.js.map +1 -0
- package/dist/components/calendar.js +54 -2968
- package/dist/components/calendar.js.map +1 -1
- package/dist/tailwind.css +13 -15
- package/package.json +8 -5
package/dist/tailwind.css
CHANGED
|
@@ -25,6 +25,7 @@
|
|
|
25
25
|
* var(--color-*): прямое обращение к переменной застыло бы на :root.
|
|
26
26
|
*/
|
|
27
27
|
|
|
28
|
+
@import "tw-animate-css";
|
|
28
29
|
@import "./theme.css";
|
|
29
30
|
@import "./font-smoothing.css";
|
|
30
31
|
|
|
@@ -74,7 +75,6 @@
|
|
|
74
75
|
--color-secondary-bg: hsl(var(--secondary-bg));
|
|
75
76
|
--color-secondary-border: hsl(var(--secondary-border));
|
|
76
77
|
--color-secondary-bg-hover: hsl(var(--secondary-bg-hover));
|
|
77
|
-
--color-secondary-hover: hsl(var(--secondary-hover));
|
|
78
78
|
--color-secondary-foreground: hsl(var(--secondary-foreground));
|
|
79
79
|
--color-tertiary-accent: hsl(var(--tertiary-accent));
|
|
80
80
|
--color-inverse-primary-bg: hsl(var(--inverse-primary-bg));
|
|
@@ -133,9 +133,6 @@
|
|
|
133
133
|
--color-alpha-70: hsl(var(--alpha-30));
|
|
134
134
|
--color-alpha-80: hsl(var(--alpha-20));
|
|
135
135
|
--color-alpha-90: hsl(var(--alpha-10));
|
|
136
|
-
--color-alpha-92: hsl(var(--alpha-08));
|
|
137
|
-
--color-alpha-95: hsl(var(--alpha-05));
|
|
138
|
-
--color-alpha-97: hsl(var(--alpha-03));
|
|
139
136
|
--color-alpha-high-10: hsl(var(--alpha-high-90));
|
|
140
137
|
--color-alpha-high-20: hsl(var(--alpha-high-80));
|
|
141
138
|
--color-alpha-high-30: hsl(var(--alpha-high-70));
|
|
@@ -145,11 +142,12 @@
|
|
|
145
142
|
--color-alpha-high-70: hsl(var(--alpha-high-30));
|
|
146
143
|
--color-alpha-high-80: hsl(var(--alpha-high-20));
|
|
147
144
|
--color-alpha-high-90: hsl(var(--alpha-high-10));
|
|
148
|
-
--color-alpha-
|
|
149
|
-
--color-alpha-high-
|
|
150
|
-
--color-alpha-high-97: hsl(var(--alpha-high-03));
|
|
145
|
+
--color-alpha-hover: hsl(var(--alpha-hover));
|
|
146
|
+
--color-alpha-high-hover: hsl(var(--alpha-high-hover));
|
|
151
147
|
--color-alpha-accent-primary: hsl(var(--alpha-accent-primary));
|
|
152
148
|
--color-alpha-accent-secondary: hsl(var(--alpha-accent-secondary));
|
|
149
|
+
--color-alpha-accent-high-primary: hsl(var(--alpha-accent-high-primary));
|
|
150
|
+
--color-alpha-accent-high-secondary: hsl(var(--alpha-accent-high-secondary));
|
|
153
151
|
--color-shadow-scroll: hsl(222, 47%, 11%);
|
|
154
152
|
--color-palette-peony: hsl(var(--peony));
|
|
155
153
|
--color-palette-garnet: hsl(var(--garnet));
|
|
@@ -183,15 +181,15 @@
|
|
|
183
181
|
--radius-xs: calc(var(--radius) - 6px);
|
|
184
182
|
|
|
185
183
|
/* Тени */
|
|
186
|
-
--shadow-soft-base: 0
|
|
187
|
-
--shadow-soft-sm: 0 2px
|
|
188
|
-
--shadow-soft-md: 0
|
|
189
|
-
--shadow-soft-lg: 0
|
|
190
|
-
--shadow-soft-xl: 0
|
|
184
|
+
--shadow-soft-base: 0 1px 3px 0 rgba(0, 0, 0, 0.12), 0 1px 2px -1px rgba(0, 0, 0, 0.12);
|
|
185
|
+
--shadow-soft-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.06);
|
|
186
|
+
--shadow-soft-md: 0 4px 6px -1px rgba(0, 0, 0, 0.12), 0 2px 4px -2px rgba(0, 0, 0, 0.12);
|
|
187
|
+
--shadow-soft-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.12), 0 4px 6px -4px rgba(0, 0, 0, 0.12);
|
|
188
|
+
--shadow-soft-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.12);
|
|
191
189
|
--shadow-soft-2xl: 0 24px 48px -12px rgba(15, 23, 42, 0.24);
|
|
192
|
-
--shadow-focus: 0 0 0
|
|
193
|
-
--shadow-inverse-focus: 0 0 0
|
|
194
|
-
--shadow-focus-error: 0 0 0 1px hsl(var(--status-error));
|
|
190
|
+
--shadow-focus: 0 0 0 0.5px hsl(var(--primary-bg)), 0 0 0 1px hsl(var(--focus));
|
|
191
|
+
--shadow-inverse-focus: 0 0 0 0.5px hsl(var(--inverse-primary-bg)), 0 0 0 1px hsl(var(--inverse-muted));
|
|
192
|
+
--shadow-focus-error: 0 0 0 0.5px hsl(var(--primary-bg)), 0 0 0 1px hsl(var(--status-error));
|
|
195
193
|
--shadow-hard-base: 0 1px 3px 0 rgba(2, 6, 23, 0.50), 0 0 0.5px 0 rgba(255, 255, 255, 0.30) inset, 0 3px 8px 0 rgba(2, 6, 23, 0.35), 0 0.5px 0 0 rgba(255, 255, 255, 0.08) inset;
|
|
196
194
|
--shadow-hard-sm: 0 1px 3px 0 rgba(2, 6, 23, 0.40), 0 0 0.5px 0 rgba(255, 255, 255, 0.30) inset, 0 0.5px 0 0 rgba(255, 255, 255, 0.10) inset, 0 0 0.5px 0 rgba(2, 6, 23, 0.50);
|
|
197
195
|
--shadow-hard-md: 0 1px 3px 0 rgba(15, 23, 42, 0.50), 0 0 0.5px 0 rgba(255, 255, 255, 0.30) inset, 0 5px 12px 0 rgba(15, 23, 42, 0.35), 0 0.5px 0 0 rgba(255, 255, 255, 0.08) inset;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ics-ui-kit",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.3",
|
|
4
4
|
"packageManager": "pnpm@10.17.1",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,7 +71,9 @@
|
|
|
71
71
|
"react": ">=17.0.0",
|
|
72
72
|
"react-dom": ">=17.0.0",
|
|
73
73
|
"react-day-picker": ">=9.0.0",
|
|
74
|
-
"react-hook-form": ">=7.0.0"
|
|
74
|
+
"react-hook-form": ">=7.0.0",
|
|
75
|
+
"tw-animate-css": ">=1.0.0",
|
|
76
|
+
"@tailwindcss/typography": ">=0.5.0"
|
|
75
77
|
},
|
|
76
78
|
"scripts": {
|
|
77
79
|
"type-check": "tsc -p tsconfig.check.json",
|
|
@@ -79,7 +81,7 @@
|
|
|
79
81
|
"test": "vitest",
|
|
80
82
|
"test:run": "vitest run",
|
|
81
83
|
"coverage": "vitest run --coverage",
|
|
82
|
-
"check": "npm run type-check && npm run lint && npm run test:run",
|
|
84
|
+
"check": "npm run type-check && npm run check-theme && npm run lint && npm run test:run",
|
|
83
85
|
"build": "vite build --config vite.config.build.ts",
|
|
84
86
|
"sync-changelog": "node scripts/sync-changelog.js",
|
|
85
87
|
"storybook": "npm run sync-changelog && storybook dev -p 6006",
|
|
@@ -90,7 +92,8 @@
|
|
|
90
92
|
"release:patch": "npm run check-build && npm version patch && npm publish",
|
|
91
93
|
"release:minor": "npm run check-build && npm version minor && npm publish",
|
|
92
94
|
"release:major": "npm run check-build && npm version major && npm publish",
|
|
93
|
-
"react-doctor": "npx -y react-doctor@latest ."
|
|
95
|
+
"react-doctor": "npx -y react-doctor@latest .",
|
|
96
|
+
"check-theme": "node scripts/check-theme-tokens.mjs"
|
|
94
97
|
},
|
|
95
98
|
"dependencies": {
|
|
96
99
|
"@dnd-kit/core": "^6.2.0",
|
|
@@ -120,7 +123,6 @@
|
|
|
120
123
|
"@radix-ui/react-toolbar": "^1.1.11",
|
|
121
124
|
"@radix-ui/react-tooltip": "^1.2.8",
|
|
122
125
|
"@siberiacancode/reactuse": "^1.0.17",
|
|
123
|
-
"@tailwindcss/typography": "^0.5.16",
|
|
124
126
|
"class-variance-authority": "^0.7.0",
|
|
125
127
|
"clsx": "^2.1.1",
|
|
126
128
|
"cmdk": "^1.1.1",
|
|
@@ -149,6 +151,7 @@
|
|
|
149
151
|
"@storybook/react-vite": "^8.6.14",
|
|
150
152
|
"@storybook/test": "^8.6.14",
|
|
151
153
|
"@storybook/theming": "^8.6.14",
|
|
154
|
+
"@tailwindcss/typography": "^0.5.16",
|
|
152
155
|
"@tailwindcss/vite": "^4.3.3",
|
|
153
156
|
"@types/react": "^18.3.12",
|
|
154
157
|
"@types/react-dom": "^18.3.1",
|