@huntflow/ui 0.0.48 → 0.0.51
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 +6 -0
- package/dist/assets/sprite.svg +1 -1
- package/dist/components/base-button/button.vue.d.ts +3 -3
- package/dist/components/base-button/types.d.ts +2 -3
- package/dist/components/base-icon/index.d.ts +2 -2
- package/dist/components/base-input/input.vue.d.ts +3 -17
- package/dist/components/base-input/types.d.ts +4 -2
- package/dist/components/base-label/index.d.ts +2 -0
- package/dist/components/base-label/label.vue.d.ts +23 -0
- package/dist/components/base-loader/index.d.ts +3 -0
- package/dist/components/base-loader/loader.vue.d.ts +6 -0
- package/dist/components/base-loader/types.d.ts +6 -0
- package/dist/components/index.d.ts +4 -1
- package/dist/global.css +1 -1
- package/dist/sprite-CP6qWMMh.js +4 -0
- package/dist/sprite-ChoU5N3A.cjs +1 -0
- package/dist/sprite.svg +1 -1
- package/dist/ui.cjs.js +6 -2
- package/dist/ui.es.js +282 -215
- package/package.json +16 -13
package/README.md
CHANGED
|
@@ -38,6 +38,12 @@ npm run storybook
|
|
|
38
38
|
- необходимый `FIGMA_FILE_ID` (Например: `https://www.figma.com/design/DV8Zm9gdvUocVlrqD8egvV/Igor-(New-UI-Kit)?node-id=1581-180&p=f&t=YzO5zlBlx3wPY5HW-0` это `DV8Zm9gdvUocVlrqD8egvV`)
|
|
39
39
|
- необходимый `NODE_ID` (Например: `https://www.figma.com/design/DV8Zm9gdvUocVlrqD8egvV/Igor-(New-UI-Kit)?node-id=1581-180&p=f&t=YzO5zlBlx3wPY5HW-0` это `1581-180`, указываем через двоеточие)
|
|
40
40
|
|
|
41
|
+
## Css переменные
|
|
42
|
+
Файлы с переменными генерируются, В ручную их не редактировать.
|
|
43
|
+
Для начала необходимо из проекта экспортировать переменные с помощью плагина в Figma `Sync variables`, полученный файл сохранить в `/utils/variables.css`. Затем запустить скрипт форматирования
|
|
44
|
+
```javascript
|
|
45
|
+
npm run variables
|
|
46
|
+
```
|
|
41
47
|
|
|
42
48
|
## Пример использования
|
|
43
49
|
```javascript
|