@aviala-design/spiral 2.6.2 → 2.7.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 +103 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -4
- package/dist/index.d.ts +32 -4
- package/dist/index.js +103 -37
- package/dist/index.js.map +1 -1
- package/dist/props.json +46 -2
- package/dist/styles.css +14 -7
- package/package.json +3 -3
package/dist/props.json
CHANGED
|
@@ -5171,7 +5171,15 @@
|
|
|
5171
5171
|
"Table": {
|
|
5172
5172
|
"displayName": "Table",
|
|
5173
5173
|
"description": "",
|
|
5174
|
-
"props": [
|
|
5174
|
+
"props": [
|
|
5175
|
+
{
|
|
5176
|
+
"name": "stickyHeader",
|
|
5177
|
+
"type": "boolean",
|
|
5178
|
+
"defaultValue": "false",
|
|
5179
|
+
"required": false,
|
|
5180
|
+
"description": "Freeze header row while the table body scrolls"
|
|
5181
|
+
}
|
|
5182
|
+
],
|
|
5175
5183
|
"parts": [
|
|
5176
5184
|
{
|
|
5177
5185
|
"displayName": "TableRow",
|
|
@@ -5186,6 +5194,24 @@
|
|
|
5186
5194
|
}
|
|
5187
5195
|
]
|
|
5188
5196
|
},
|
|
5197
|
+
{
|
|
5198
|
+
"displayName": "TableHead",
|
|
5199
|
+
"description": "",
|
|
5200
|
+
"props": [
|
|
5201
|
+
{
|
|
5202
|
+
"name": "actions",
|
|
5203
|
+
"type": "ReactNode",
|
|
5204
|
+
"required": false,
|
|
5205
|
+
"description": "Header trailing button area (Figma Table Head Default)"
|
|
5206
|
+
},
|
|
5207
|
+
{
|
|
5208
|
+
"name": "checkboxProps",
|
|
5209
|
+
"type": "Omit<Omit<CheckboxProps & RefAttributes<HTMLButtonElement>, \"ref\"> & { round?: boolean; size?: CheckboxSize; } & RefAttributes<...>, \"ref\">",
|
|
5210
|
+
"required": false,
|
|
5211
|
+
"description": "Select-all / indeterminate / unchecked via Checkbox props"
|
|
5212
|
+
}
|
|
5213
|
+
]
|
|
5214
|
+
},
|
|
5189
5215
|
{
|
|
5190
5216
|
"displayName": "TableCell",
|
|
5191
5217
|
"description": "",
|
|
@@ -5196,12 +5222,24 @@
|
|
|
5196
5222
|
"required": false,
|
|
5197
5223
|
"description": ""
|
|
5198
5224
|
},
|
|
5225
|
+
{
|
|
5226
|
+
"name": "iconPlace",
|
|
5227
|
+
"type": "ReactNode",
|
|
5228
|
+
"required": false,
|
|
5229
|
+
"description": "Shaped icon place (Figma `icon place+text`)"
|
|
5230
|
+
},
|
|
5199
5231
|
{
|
|
5200
5232
|
"name": "text",
|
|
5201
5233
|
"type": "ReactNode",
|
|
5202
5234
|
"required": false,
|
|
5203
5235
|
"description": ""
|
|
5204
5236
|
},
|
|
5237
|
+
{
|
|
5238
|
+
"name": "caption",
|
|
5239
|
+
"type": "ReactNode",
|
|
5240
|
+
"required": false,
|
|
5241
|
+
"description": "Secondary caption under primary text (Figma Typeface pair)"
|
|
5242
|
+
},
|
|
5205
5243
|
{
|
|
5206
5244
|
"name": "people",
|
|
5207
5245
|
"type": "ReactNode",
|
|
@@ -5230,7 +5268,13 @@
|
|
|
5230
5268
|
"name": "actions",
|
|
5231
5269
|
"type": "ReactNode",
|
|
5232
5270
|
"required": false,
|
|
5233
|
-
"description": ""
|
|
5271
|
+
"description": "Trailing button area — supported on text / icon / people / badge / action"
|
|
5272
|
+
},
|
|
5273
|
+
{
|
|
5274
|
+
"name": "grabber",
|
|
5275
|
+
"type": "ReactNode",
|
|
5276
|
+
"required": false,
|
|
5277
|
+
"description": "Optional leading grabber control"
|
|
5234
5278
|
},
|
|
5235
5279
|
{
|
|
5236
5280
|
"name": "checkboxProps",
|
package/dist/styles.css
CHANGED
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
/* Shared elevation — BasicShadow-Level4WithLine */
|
|
142
142
|
--aviala-shadow-level4-with-line:
|
|
143
|
-
0 0 1px 0
|
|
143
|
+
0 0 1px 0 rgb(0 0 0 / 18%),
|
|
144
144
|
0 6px 18px 0 rgba(0, 0, 0, 0.08);
|
|
145
145
|
|
|
146
146
|
/* Shared interaction surfaces — Figma Components 1909:28593 matrix */
|
|
@@ -512,6 +512,7 @@
|
|
|
512
512
|
--link-fg-custom: var(--text-text-normal-text-black, var(--button-default-custom-fg));
|
|
513
513
|
|
|
514
514
|
--segmentator-bg: var(--control-control-normal-lightbackground-1, #f0efef);
|
|
515
|
+
--segmentator-bg-hover: var(--aviala-interaction-filled-hover, #e5e4e3);
|
|
515
516
|
--segmentator-selected-bg: var(--control-control-normal-background-whiteonly, #ffffff);
|
|
516
517
|
--segmentator-selected-fg: var(--text-text-theme-primary-black, var(--button-no-bg-fg));
|
|
517
518
|
--segmentator-fg: var(--text-text-normal-text-black, var(--button-default-custom-fg));
|
|
@@ -550,15 +551,16 @@
|
|
|
550
551
|
--tag-radius: var(--border-radius-extra-small-2, 6px);
|
|
551
552
|
--tag-disabled-opacity: var(--transparency-disable, 0.55);
|
|
552
553
|
|
|
554
|
+
/* Progress — Figma 589:55818 (bar 6/8px, track lightBackground-1, ring 16/24) */
|
|
553
555
|
--progress-gap: var(--gap-inside-space, 6px);
|
|
554
556
|
--progress-bar-width: 80px;
|
|
555
|
-
--progress-bar-height:
|
|
556
|
-
--progress-bar-height-big:
|
|
557
|
+
--progress-bar-height: 6px;
|
|
558
|
+
--progress-bar-height-big: 8px;
|
|
557
559
|
--progress-label-width: 22px;
|
|
558
560
|
--progress-label-fg: var(--text-text-normal-text-caption-black, #616060);
|
|
559
|
-
--progress-track-bg: var(--
|
|
560
|
-
--progress-track-border: var(--border-border-normal-1, #f0efef);
|
|
561
|
+
--progress-track-bg: var(--control-control-normal-lightbackground-1, #f0efef);
|
|
561
562
|
--progress-ring-size: 16px;
|
|
563
|
+
--progress-ring-stroke: 2px;
|
|
562
564
|
|
|
563
565
|
--scroll-size: 10px;
|
|
564
566
|
--scroll-size-small: 8px;
|
|
@@ -568,18 +570,23 @@
|
|
|
568
570
|
--scroll-thumb-inset: 2px;
|
|
569
571
|
--scroll-thumb-inset-small: 1px;
|
|
570
572
|
|
|
571
|
-
--table-bg: var(--box-box-normal-
|
|
573
|
+
--table-bg: var(--box-box-normal-background-whiteonly, #ffffff);
|
|
574
|
+
--table-head-bg: var(--box-box-normal-lightbackground-white, #f9f8f8);
|
|
572
575
|
--table-border: var(--border-border-normal-1, #f0efef);
|
|
573
576
|
--table-radius: var(--border-radius-middle, 10px);
|
|
574
577
|
--table-head-height: 38px;
|
|
575
578
|
--table-cell-height: 50px;
|
|
576
579
|
--table-cell-px: var(--padding-big, 14px);
|
|
580
|
+
--table-cell-px-end: var(--padding-middle, 10px);
|
|
577
581
|
--table-cell-py: var(--padding-default, 8px);
|
|
582
|
+
--table-head-py: var(--padding-middle, 10px);
|
|
578
583
|
--table-cell-gap: var(--gap-component-space, 8px);
|
|
579
584
|
--table-checkbox-col-width: 40px;
|
|
580
585
|
--table-cell-icon-size: var(--icon-size-text-bigger, 1rem);
|
|
581
|
-
--table-
|
|
586
|
+
--table-icon-place-size: 36px;
|
|
587
|
+
--table-head-fg: var(--text-text-normal-text-black, #262525);
|
|
582
588
|
--table-cell-fg: var(--text-text-normal-text-black, #262525);
|
|
589
|
+
--table-cell-caption-fg: var(--text-text-normal-text-caption-black, #616060);
|
|
583
590
|
|
|
584
591
|
--color-picker-panel-width: 370px;
|
|
585
592
|
--color-picker-area-height: 160px;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aviala-design/spiral",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "Spiral 2 ? Aviala Design React component library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"clsx": "^2.1.1",
|
|
45
45
|
"colord": "^2.9.3",
|
|
46
46
|
"tailwind-merge": "^3.3.1",
|
|
47
|
-
"@aviala-design/
|
|
48
|
-
"@aviala-design/
|
|
47
|
+
"@aviala-design/tokens": "2.5.2",
|
|
48
|
+
"@aviala-design/icons": "2.2.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": ">=18",
|