@post-pioneer/ui-kit 0.1.121 → 0.1.123
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 +13 -12
- package/dist/index.css +1 -1
- package/dist/ui-kit-postpioneer.es.js +6379 -6050
- package/dist/ui-kit-postpioneer.umd.js +12 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
````markdown
|
|
2
2
|
# @post-pioneer/ui-kit
|
|
3
3
|
|
|
4
4
|

|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
```bash
|
|
13
13
|
npm install @post-pioneer/ui-kit
|
|
14
14
|
```
|
|
15
|
+
````
|
|
15
16
|
|
|
16
17
|
## 📦 Зависимости
|
|
17
18
|
|
|
@@ -68,6 +69,7 @@ import { Button } from '@post-pioneer/ui-kit';
|
|
|
68
69
|
```
|
|
69
70
|
|
|
70
71
|
**Props:**
|
|
72
|
+
|
|
71
73
|
- `variant?: 'primary' | 'secondary' | 'outline'` - стиль кнопки
|
|
72
74
|
- `size?: 'small' | 'medium' | 'large'` - размер кнопки
|
|
73
75
|
- `disabled?: boolean` - отключенное состояние
|
|
@@ -97,14 +99,11 @@ import { Card } from '@post-pioneer/ui-kit';
|
|
|
97
99
|
|
|
98
100
|
```css
|
|
99
101
|
:root {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
--shadow-bottom-m:
|
|
106
|
-
0 0 16px rgba(68, 83, 113, 0.1),
|
|
107
|
-
0 4px 8px rgba(68, 83, 113, 0.05);}
|
|
102
|
+
--shadow-bottom-s: 0 0 8px rgba(68, 83, 113, 0.1), 0 2px 4px rgba(68, 83, 113, 0.05);
|
|
103
|
+
|
|
104
|
+
/* Medium shadow */
|
|
105
|
+
--shadow-bottom-m: 0 0 16px rgba(68, 83, 113, 0.1), 0 4px 8px rgba(68, 83, 113, 0.05);
|
|
106
|
+
}
|
|
108
107
|
```
|
|
109
108
|
|
|
110
109
|
### SCSS Переменные
|
|
@@ -192,6 +191,7 @@ npm version major # 0.1.0 → 1.0.0
|
|
|
192
191
|
|
|
193
192
|
# Публикация
|
|
194
193
|
npm publish --access public
|
|
194
|
+
git push origin v0.1.11
|
|
195
195
|
```
|
|
196
196
|
|
|
197
197
|
## 🤝 Соответствие стандартам
|
|
@@ -229,7 +229,8 @@ MIT License - смотрите файл [LICENSE](https://github.com/post-pionee
|
|
|
229
229
|
**Примечание**: Эта библиотека находится в активной разработке. API может изменяться до версии 1.0.0.
|
|
230
230
|
|
|
231
231
|
Для миграции между версиями смотрите [CHANGELOG.md](https://github.com/post-pioneer/ui-kit-postpioneer/blob/main/CHANGELOG.md).
|
|
232
|
-
|
|
232
|
+
|
|
233
|
+
````
|
|
233
234
|
|
|
234
235
|
## Дополнительные файлы которые стоит создать:
|
|
235
236
|
|
|
@@ -244,9 +245,10 @@ MIT License - смотрите файл [LICENSE](https://github.com/post-pionee
|
|
|
244
245
|
- TypeScript definitions
|
|
245
246
|
- Storybook documentation
|
|
246
247
|
- Jest testing setup
|
|
247
|
-
|
|
248
|
+
````
|
|
248
249
|
|
|
249
250
|
### LICENSE
|
|
251
|
+
|
|
250
252
|
```text
|
|
251
253
|
MIT License
|
|
252
254
|
|
|
@@ -254,4 +256,3 @@ Copyright (c) 2024 Post Pioneer
|
|
|
254
256
|
|
|
255
257
|
Permission is hereby granted...
|
|
256
258
|
```
|
|
257
|
-
|