tokenizer-ui-kit 0.2.16 → 0.2.18
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 +66 -20
- package/dist/tokenizer-ui-kit.css +2 -2
- package/dist/tokenizer-ui-kit.es.js +4593 -4706
- package/dist/tokenizer-ui-kit.umd.js +1 -1
- package/dist/types/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/types/components/datePicker/DatePicker.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CButton/CButton.vue.d.ts +5 -3
- package/dist/types/components/ui/CButton/CButton.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CCheckbox/CCheckbox.vue.d.ts +4 -4
- package/dist/types/components/ui/CCheckbox/CCheckbox.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CDataPlaceholder/CDataPlaceholder.vue.d.ts +5 -7
- package/dist/types/components/ui/CDataPlaceholder/CDataPlaceholder.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CIconButton/CIconButton.vue.d.ts +3 -3
- package/dist/types/components/ui/CIconButton/CIconButton.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CInput/CInput.vue.d.ts +5 -7
- package/dist/types/components/ui/CInput/CInput.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CLabel/CLabel.vue.d.ts +3 -3
- package/dist/types/components/ui/CLabel/CLabel.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CPasswordInput/CPasswordInput.vue.d.ts +6 -9
- package/dist/types/components/ui/CPasswordInput/CPasswordInput.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CSearchInput/CSearchInput.vue.d.ts +5 -7
- package/dist/types/components/ui/CSearchInput/CSearchInput.vue.d.ts.map +1 -1
- package/dist/types/components/ui/CTextarea/CTextarea.vue.d.ts +3 -3
- package/dist/types/components/ui/CTextarea/CTextarea.vue.d.ts.map +1 -1
- package/package.json +2 -5
package/README.md
CHANGED
|
@@ -160,28 +160,61 @@ All UI Kit components use a unified set of CSS variables. You can override any v
|
|
|
160
160
|
```css
|
|
161
161
|
:root {
|
|
162
162
|
/* ============================================
|
|
163
|
-
|
|
163
|
+
Base Semantic Tokens (рекомендуется использовать)
|
|
164
164
|
============================================ */
|
|
165
|
-
|
|
166
|
-
--ui-kit-primary
|
|
167
|
-
--ui-kit-primary-
|
|
168
|
-
--ui-kit-primary-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
--ui-kit-
|
|
172
|
-
--ui-kit-
|
|
173
|
-
--ui-kit-
|
|
174
|
-
--ui-kit-text-white: #ffffff;
|
|
165
|
+
/* Primary Colors */
|
|
166
|
+
--ui-kit-color-primary: #39aa5d;
|
|
167
|
+
--ui-kit-color-primary-hover: #268644;
|
|
168
|
+
--ui-kit-color-primary-light: #56d67f;
|
|
169
|
+
|
|
170
|
+
/* Text Colors */
|
|
171
|
+
--ui-kit-color-text-primary: #292b32;
|
|
172
|
+
--ui-kit-color-text-secondary: #757987;
|
|
173
|
+
--ui-kit-color-text-tertiary: #8c9aac;
|
|
174
|
+
--ui-kit-color-text-white: #ffffff;
|
|
175
|
+
|
|
176
|
+
/* Background Colors */
|
|
177
|
+
--ui-kit-color-bg-white: #ffffff;
|
|
178
|
+
--ui-kit-color-bg-light-1: #f1f3f6;
|
|
179
|
+
--ui-kit-color-bg-light-2: #e9ebee;
|
|
180
|
+
--ui-kit-color-bg-light-4: #d2d8e0;
|
|
181
|
+
--ui-kit-color-bg-light-5: #b4beca;
|
|
182
|
+
|
|
183
|
+
/* Border Colors */
|
|
184
|
+
--ui-kit-color-border: #b4beca;
|
|
185
|
+
--ui-kit-color-border-hover: #268644;
|
|
186
|
+
--ui-kit-color-border-focus: #39aa5d;
|
|
187
|
+
|
|
188
|
+
/* Error Colors */
|
|
189
|
+
--ui-kit-color-error: #f34831;
|
|
190
|
+
--ui-kit-color-error-light: #f78272;
|
|
191
|
+
--ui-kit-color-error-bg: #f0f4f3;
|
|
192
|
+
|
|
193
|
+
/* Disabled Colors */
|
|
194
|
+
--ui-kit-color-disabled-bg: #e9ebee;
|
|
195
|
+
--ui-kit-color-disabled-text: #b4beca;
|
|
196
|
+
--ui-kit-color-disabled-border: #b4beca;
|
|
175
197
|
|
|
176
198
|
/* ============================================
|
|
177
|
-
|
|
199
|
+
Legacy Variables (для обратной совместимости)
|
|
178
200
|
============================================ */
|
|
201
|
+
--ui-kit-primary-primary: var(--ui-kit-color-text-primary);
|
|
202
|
+
--ui-kit-primary-sidebar: #393d41;
|
|
203
|
+
--ui-kit-primary-bg-white: var(--ui-kit-color-bg-white);
|
|
204
|
+
--ui-kit-primary-secondary: var(--ui-kit-color-text-secondary);
|
|
205
|
+
--ui-kit-primary-tertiary: var(--ui-kit-color-text-tertiary);
|
|
206
|
+
--ui-kit-primary-do-green: var(--ui-kit-color-primary);
|
|
207
|
+
--ui-kit-primary-bg-dark-green: var(--ui-kit-color-primary-hover);
|
|
208
|
+
--ui-kit-primary-d-light-green: var(--ui-kit-color-primary-light);
|
|
209
|
+
--ui-kit-primary-overlay: #121212;
|
|
210
|
+
--ui-kit-text-white: var(--ui-kit-color-text-white);
|
|
211
|
+
|
|
179
212
|
--ui-kit-background-light-0: #fbfbff;
|
|
180
|
-
--ui-kit-background-light-1:
|
|
181
|
-
--ui-kit-background-light-2:
|
|
213
|
+
--ui-kit-background-light-1: var(--ui-kit-color-bg-light-1);
|
|
214
|
+
--ui-kit-background-light-2: var(--ui-kit-color-bg-light-2);
|
|
182
215
|
--ui-kit-background-light-3: #dfe3e7;
|
|
183
|
-
--ui-kit-background-light-4:
|
|
184
|
-
--ui-kit-background-light-5:
|
|
216
|
+
--ui-kit-background-light-4: var(--ui-kit-color-bg-light-4);
|
|
217
|
+
--ui-kit-background-light-5: var(--ui-kit-color-border);
|
|
185
218
|
--ui-kit-background-dark-1: #36373f;
|
|
186
219
|
--ui-kit-background-dark-2: #282a2f;
|
|
187
220
|
--ui-kit-background-dark-3: #212328;
|
|
@@ -299,10 +332,10 @@ The UI Kit provides a set of typography utility classes that can be used directl
|
|
|
299
332
|
--ui-kit-font-family: 'Your Font', sans-serif;
|
|
300
333
|
--ui-kit-font-size-base: 18px;
|
|
301
334
|
|
|
302
|
-
/* Override colors */
|
|
303
|
-
--ui-kit-
|
|
304
|
-
--ui-kit-
|
|
305
|
-
--ui-kit-
|
|
335
|
+
/* Override colors (используйте новые семантические токены) */
|
|
336
|
+
--ui-kit-color-primary: #your-primary-color;
|
|
337
|
+
--ui-kit-color-border-focus: #your-focus-color;
|
|
338
|
+
--ui-kit-color-error: #your-error-color;
|
|
306
339
|
}
|
|
307
340
|
</style>
|
|
308
341
|
|
|
@@ -314,6 +347,19 @@ The UI Kit provides a set of typography utility classes that can be used directl
|
|
|
314
347
|
|
|
315
348
|
**Important:** Make sure to define your custom variables **before** importing the UI Kit styles, or define them in a separate CSS file that is imported first.
|
|
316
349
|
|
|
350
|
+
📖 **Подробная документация по CSS переменным:** см. [VARIABLES.md](./VARIABLES.md)
|
|
351
|
+
|
|
317
352
|
## 📚 Documentation
|
|
318
353
|
|
|
319
354
|
Each component comes with TypeScript support and comprehensive documentation.
|
|
355
|
+
|
|
356
|
+
- [CSS Variables Documentation](./VARIABLES.md) - Полная документация по кастомизации компонентов через CSS переменные
|
|
357
|
+
- [Button Variables](./VARIABLES-BUTTON.md) - Переменные для компонента CButton
|
|
358
|
+
- [Input Variables](./VARIABLES-INPUT.md) - Переменные для компонентов CInput и CSearchInput
|
|
359
|
+
- [Select Variables](./VARIABLES-SELECT.md) - Переменные для компонента Select
|
|
360
|
+
- [DatePicker Variables](./VARIABLES-DATEPICKER.md) - Переменные для компонента DatePicker
|
|
361
|
+
- [Checkbox Variables](./VARIABLES-CHECKBOX.md) - Переменные для компонента CCheckbox
|
|
362
|
+
- [IconButton Variables](./VARIABLES-ICONBUTTON.md) - Переменные для компонента CIconButton
|
|
363
|
+
- [Label Variables](./VARIABLES-LABEL.md) - Переменные для компонента CLabel
|
|
364
|
+
- [Toast Variables](./VARIABLES-TOAST.md) - Переменные для компонента Toast
|
|
365
|
+
- [AdaptiveTabs Variables](./VARIABLES-ADAPTIVETABS.md) - Переменные для компонента AdaptiveTabs
|