@astral/ui 3.119.0 → 3.119.2
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 -4
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
```@astral/icons``` - пакет, содержащий иконки, доступные в дизайн-системе.
|
|
40
40
|
|
|
41
41
|
# Playground
|
|
42
|
-
Доступен [Codesandbox](https://codesandbox.io/p/sandbox/sleepy-chatterjee-8mv9ml?file=%2Fsrc%2FPlayground%2FPlayground.tsx%3A12%2C1) для проверки
|
|
42
|
+
Доступен [Codesandbox](https://codesandbox.io/p/sandbox/sleepy-chatterjee-8mv9ml?file=%2Fsrc%2FPlayground%2FPlayground.tsx%3A12%2C1) для проверки функционала.
|
|
43
43
|
|
|
44
44
|
# Getting started with Next.js
|
|
45
45
|
|
|
@@ -196,6 +196,8 @@ Breaking changes:
|
|
|
196
196
|
```tsx
|
|
197
197
|
import noDataImgSrc from '@astral/ui/illustrations/no-data.svg';
|
|
198
198
|
import outdatedReleaseErrorImgSrc from '@astral/ui/illustrations/outdated-release.svg';
|
|
199
|
+
|
|
200
|
+
/* cspell:disable-next-line */
|
|
199
201
|
import errorImgSrc from 'static/erorr-inmg.png';
|
|
200
202
|
|
|
201
203
|
const App = () => {
|
|
@@ -221,7 +223,7 @@ Breaking changes:
|
|
|
221
223
|
- Удалены пропсы, которые являлись css правилами (margin, border, mr...)
|
|
222
224
|
- Prop ```color``` принимает только ```string```. Удалена возможность использовать для color функцию
|
|
223
225
|
|
|
224
|
-
Актуальные props
|
|
226
|
+
Актуальные props находятся [здесь](https://main--61baeff6f06230003a88ef8a.chromatic.com/?path=/docs/components-typography--showcase).
|
|
225
227
|
|
|
226
228
|
### Grid
|
|
227
229
|
|
|
@@ -297,7 +299,7 @@ import UbuntuBoldWoff from '@astral/ui/fonts/UbuntuBold.woff';
|
|
|
297
299
|
import UbuntuBoldWoff2 from '@astral/ui/fonts/UbuntuBold.woff2';
|
|
298
300
|
```
|
|
299
301
|
|
|
300
|
-
И внести
|
|
302
|
+
И внести соответствующие правки в конфиг сборщика для того, чтобы @astral/ui/fonts обрабатывались как шрифты.
|
|
301
303
|
|
|
302
304
|
### illustrations
|
|
303
305
|
Пакет ```@astral/illustrations``` включен в пакет ```@astral/ui```.
|
|
@@ -312,7 +314,7 @@ import certImgSrc from '@astral/illustrations/cert.svg';
|
|
|
312
314
|
import certImgSrc from '@astral/ui/illustrations/cert.svg';
|
|
313
315
|
```
|
|
314
316
|
|
|
315
|
-
И внести
|
|
317
|
+
И внести соответствующие правки в конфиг сборщика для того, чтобы @astral/ui/fonts обрабатывались как шрифты.
|
|
316
318
|
|
|
317
319
|
### @astral/form
|
|
318
320
|
Все элементы пакета ```@astral/form``` получили префиксы form.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "3.119.
|
|
3
|
+
"version": "3.119.2",
|
|
4
4
|
"browser": "./index.js",
|
|
5
5
|
"main": "./node/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"./illustrations/*": "./illustrations/*"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@astral/icons": "^3.119.
|
|
22
|
-
"@astral/components": "^3.119.
|
|
23
|
-
"@astral/form": "^3.119.
|
|
21
|
+
"@astral/icons": "^3.119.2",
|
|
22
|
+
"@astral/components": "^3.119.2",
|
|
23
|
+
"@astral/form": "^3.119.2"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"react": ">=17.0.0"
|