@aviala-design/spiral 2.0.0 → 2.2.0
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/dist/index.cjs +1113 -1010
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +132 -4
- package/dist/index.d.ts +132 -4
- package/dist/index.js +985 -880
- package/dist/index.js.map +1 -1
- package/dist/props.json +7 -1
- package/dist/styles.css +8 -1
- package/package.json +3 -2
package/dist/props.json
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
"required": false,
|
|
11
11
|
"description": "Figma `All-Round`"
|
|
12
12
|
},
|
|
13
|
+
{
|
|
14
|
+
"name": "compact",
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"required": false,
|
|
17
|
+
"description": ""
|
|
18
|
+
},
|
|
13
19
|
{
|
|
14
20
|
"name": "mode",
|
|
15
21
|
"type": "enum",
|
|
@@ -1245,7 +1251,7 @@
|
|
|
1245
1251
|
},
|
|
1246
1252
|
"Popover": {
|
|
1247
1253
|
"displayName": "Popover",
|
|
1248
|
-
"description": "Radix Popover
|
|
1254
|
+
"description": "Thin controlled/uncontrolled wrapper around Radix `Popover.Root`. We don't add\nany custom close-suppression: a non-modal Popover already prevents focus-outside\nfrom dismissing (`onFocusOutside` is default-prevented by Radix), so a window\nblur never closes it — no extra bookkeeping needed, and it keeps Escape a\nsingle, predictable dismiss.",
|
|
1249
1255
|
"props": []
|
|
1250
1256
|
},
|
|
1251
1257
|
"Modal": {
|
package/dist/styles.css
CHANGED
|
@@ -333,6 +333,8 @@
|
|
|
333
333
|
--radio-label-fg: var(--text-text-normal-text-black, #343333);
|
|
334
334
|
--radio-caption-fg: var(--text-text-normal-text-caption-black, #858484);
|
|
335
335
|
--radio-card-border-selected: var(--border-border-theme-primary, #ff5532);
|
|
336
|
+
--radio-card-hover-bg: var(--aviala-neutral-neutral-4, #faf8f8);
|
|
337
|
+
--radio-card-press-bg: var(--aviala-neutral-neutral-6, #edebeb);
|
|
336
338
|
--radio-disabled-opacity: var(--input-disabled-opacity, 0.55);
|
|
337
339
|
|
|
338
340
|
--select-menu-bg: var(--control-control-normal-lightbackground-whiteonly, #fefcfc);
|
|
@@ -429,6 +431,8 @@
|
|
|
429
431
|
--switch-height-regular: 22px;
|
|
430
432
|
--switch-height-small: 20px;
|
|
431
433
|
--switch-track-bg: var(--control-control-normal-background-deep, #e2e0e0);
|
|
434
|
+
--switch-hover-bg: var(--aviala-neutral-neutral-8, #d2d0d0);
|
|
435
|
+
--switch-press-bg: var(--aviala-neutral-neutral-9, #bebcbc);
|
|
432
436
|
--switch-checked-bg: var(--control-control-theme-background, var(--button-primary-bg));
|
|
433
437
|
--switch-thumb-bg: var(--control-control-normal-lightbackground-whiteonly, #fefcfc);
|
|
434
438
|
--switch-thumb-shadow: 0 1px 2px 1px rgba(0, 0, 0, 0.06);
|
|
@@ -596,7 +600,7 @@
|
|
|
596
600
|
--popover-content-px: var(--padding-default, 8px);
|
|
597
601
|
--popover-content-py: var(--padding-default, 8px);
|
|
598
602
|
--popover-content-max-width: 320px;
|
|
599
|
-
--popover-content-arrow-stroke: var(--border-border-normal-
|
|
603
|
+
--popover-content-arrow-stroke: var(--border-border-normal-light, #f5f3f3);
|
|
600
604
|
|
|
601
605
|
/* Modal — Figma Information Display → Modal (553:58593) */
|
|
602
606
|
--modal-overlay-bg: rgba(0, 0, 0, 0.45);
|
|
@@ -692,6 +696,9 @@
|
|
|
692
696
|
--navigation-item-active-shadow: var(--button-shadow-light);
|
|
693
697
|
--navigation-item-rail: var(--border-border-theme-primary, #ff5532);
|
|
694
698
|
--navigation-rail-inset: 6px;
|
|
699
|
+
/* Vertical active rail: grow on hover / shrink on press (inset from item edges). */
|
|
700
|
+
--navigation-rail-inset-hover: 3px;
|
|
701
|
+
--navigation-rail-inset-press: 9px;
|
|
695
702
|
--navigation-rail-left: 1px;
|
|
696
703
|
--navigation-rail-width: 3px;
|
|
697
704
|
--navigation-indicator-width-horizontal: 50px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aviala-design/spiral",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Spiral 2 ? Aviala Design React component library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"colord": "^2.9.3",
|
|
45
45
|
"tailwind-merge": "^3.3.1",
|
|
46
46
|
"@aviala-design/icons": "2.0.2",
|
|
47
|
-
"@aviala-design/tokens": "2.
|
|
47
|
+
"@aviala-design/tokens": "2.2.0"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": ">=18",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsup && node scripts/copy-css.mjs && node scripts/generate-props.mjs",
|
|
63
|
+
"build:styles": "node scripts/copy-css.mjs",
|
|
63
64
|
"dev": "tsup --watch",
|
|
64
65
|
"typecheck": "tsc --noEmit",
|
|
65
66
|
"clean": "rimraf dist"
|