adata-ui 2.1.41-beta.5 → 2.1.41-beta.7
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/CLAUDE.md +1 -1
- package/assets/styles/theme.css +11 -4
- package/components/elements/select/ACascadeSelectV2.vue +710 -0
- package/components/elements/select/ASelectV2.vue +70 -143
- package/components/elements/select/cascade-utils.ts +115 -0
- package/components/elements/select/types.ts +27 -0
- package/components/elements/select/ui/cascade-drawer.vue +146 -0
- package/components/elements/select/ui/cascade-panel.vue +237 -0
- package/components/elements/select/ui/select-trigger.vue +167 -0
- package/components/overlays/drawer/ADrawerV2.vue +9 -2
- package/components/overlays/modal/AModalV2.vue +1 -0
- package/icons/arrow/arrow-down-left.vue +6 -0
- package/icons/arrow/arrow-up-right.vue +6 -0
- package/icons/crown.vue +6 -0
- package/icons/refresh-cw.vue +8 -0
- package/icons/user-plus.vue +3 -0
- package/illustrations/scheme-notes.vue +21 -0
- package/illustrations/scheme-waypoints.vue +25 -0
- package/package.json +1 -1
- package/utils/toCssSize.ts +11 -0
package/CLAUDE.md
CHANGED
|
@@ -6,7 +6,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
|
|
|
6
6
|
|
|
7
7
|
adata-ui — UI-кит проектов adata.kz, оформленный как **Nuxt 3 layer** (`main` = `nuxt.config.ts`, публикуется npm-пакетом `adata-ui`). Консьюмеры (pk-frontend) подключают его через `extends` и автоматически получают компоненты, Tailwind и стили. Разработка и просмотр компонентов — в `.playground` (extends `'..'`).
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Миграция на Tailwind v4 + новая палитра + тёмная тема на семантических токенах влита в `predesign` (ветка `tailwind-v4`, 2026-07) — рабочая ветка уже на v4. pk-frontend мигрирован на v4/семантику (ветка ADTC-8931, extends `'../adata-ui'`); `deepblue` удалён из theme.css после его миграции (2026-07-28). Каталог `docs/` удалён из дерева; реестр миграции — в git-истории: `git show 69039ec:docs/color-migration.md`.
|
|
10
10
|
|
|
11
11
|
## Команды
|
|
12
12
|
|
package/assets/styles/theme.css
CHANGED
|
@@ -143,6 +143,13 @@
|
|
|
143
143
|
--color-secondary-900: #10171E;
|
|
144
144
|
/* @generated-colors:end */
|
|
145
145
|
|
|
146
|
+
/* ОСОЗНАННОЕ ОТКЛОНЕНИЕ ОТ АРТЕФАКТА (2026-08-24, по просьбе PM): роль warning для текста и
|
|
147
|
+
subtle-фона переведена с amber на yellow — --text-color-warning (#A65F00 / dark #FFDF20) и
|
|
148
|
+
--background-color-warning-subtle (#FEF9C2 / dark #432004), т.е. yellow-700/300 и yellow-100/950.
|
|
149
|
+
Причина: прежняя пара amber-500 на amber-100 давала ≈1.9:1 — провал WCAG AA для мелкого текста.
|
|
150
|
+
Остальные warning-токены (--background-color-warning, --border-color-warning, --color-icon-warning)
|
|
151
|
+
оставлены как в артефакте. При регенерации семантических блоков из Figma эти четыре значения
|
|
152
|
+
(здесь и в @generated-semantic-colors-dark ниже) нужно вернуть вручную. */
|
|
146
153
|
/* @generated-semantic-colors:start (светлые значения; тёмные — в @layer base .dark ниже)
|
|
147
154
|
Источник: Figma-артефакт «Семантические цвета» (таблица токенов — в git-истории: git show 69039ec:docs/color-migration.md).
|
|
148
155
|
Старый генератор (git show 8862721) к этому блоку неприменим: регенерация = дамп таблицы артефакта.
|
|
@@ -159,7 +166,7 @@
|
|
|
159
166
|
--text-color-link: #068DFF;
|
|
160
167
|
--text-color-link-hover: #007AE0;
|
|
161
168
|
--text-color-success: #00A63E;
|
|
162
|
-
--text-color-warning: #
|
|
169
|
+
--text-color-warning: #A65F00;
|
|
163
170
|
--text-color-danger: #FB2C36;
|
|
164
171
|
/* bg */
|
|
165
172
|
--background-color-main: #FFFFFF;
|
|
@@ -172,7 +179,7 @@
|
|
|
172
179
|
--background-color-success: #00A63E;
|
|
173
180
|
--background-color-success-subtle: #DCFCE7;
|
|
174
181
|
--background-color-warning: #FE9A00;
|
|
175
|
-
--background-color-warning-subtle: #
|
|
182
|
+
--background-color-warning-subtle: #FEF9C2;
|
|
176
183
|
--background-color-danger: #FB2C36;
|
|
177
184
|
--background-color-danger-subtle: #FEF2F2;
|
|
178
185
|
--background-color-badge: #E5E7EB;
|
|
@@ -291,7 +298,7 @@
|
|
|
291
298
|
--text-color-link: #3DA6FF;
|
|
292
299
|
--text-color-link-hover: #B3DCFF;
|
|
293
300
|
--text-color-success: #00C950;
|
|
294
|
-
--text-color-warning: #
|
|
301
|
+
--text-color-warning: #FFDF20;
|
|
295
302
|
--text-color-danger: #FF6467;
|
|
296
303
|
/* bg */
|
|
297
304
|
--background-color-main: #161617;
|
|
@@ -304,7 +311,7 @@
|
|
|
304
311
|
--background-color-success: #008236;
|
|
305
312
|
--background-color-success-subtle: #032E15;
|
|
306
313
|
--background-color-warning: #E17100;
|
|
307
|
-
--background-color-warning-subtle: #
|
|
314
|
+
--background-color-warning-subtle: #432004;
|
|
308
315
|
--background-color-danger: #FF6467;
|
|
309
316
|
--background-color-danger-subtle: #4608094D;
|
|
310
317
|
--background-color-badge: #4A5565;
|