@leitware/composables 1.7.0 → 1.7.1
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/presets/brutalist.css +1 -1
- package/dist/presets/editorial-grid.css +1 -1
- package/dist/presets/kumo.css +8 -2
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/_internal/button.tsx +1 -1
- package/src/_internal/flow.tsx +2 -2
- package/src/_internal/tabs.tsx +34 -14
- package/src/opinionated/tabs.tsx +2 -2
- package/src/styles/presets/brutalist.css +1 -1
- package/src/styles/presets/editorial-grid.css +1 -1
- package/src/styles/presets/kumo.css +8 -2
- package/src/styles/presets-data/brutalist.ts +1 -1
- package/src/styles/presets-data/editorial-grid.ts +1 -1
- package/src/styles/presets-data/kumo.ts +4 -1
- package/src/styles/tokens/components.css +10 -0
package/README.md
CHANGED
|
@@ -539,6 +539,12 @@ All normal components import from `@leitware/composables`; AI components import
|
|
|
539
539
|
| `dropdown-menu` | Contextual menu triggered by a button |
|
|
540
540
|
| `table-of-contents` | Nested section navigation with an active rail and optional scroll tracking |
|
|
541
541
|
|
|
542
|
+
Tabs default to `variant="segmented"`, with an animated selection surface.
|
|
543
|
+
Use `variant="underline"` for the line treatment; the existing `default` and
|
|
544
|
+
`line` variant names remain supported as aliases. Labels use semantic text
|
|
545
|
+
colours in every preset. Flow uses `--flow-border-width` with a minimum of 1px,
|
|
546
|
+
so canvas and node outlines survive a zero global border width.
|
|
547
|
+
|
|
542
548
|
### Data Display
|
|
543
549
|
|
|
544
550
|
| Component | Description |
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
--transition-slow: var(--motion-duration-slow) var(--motion-ease-linear);
|
|
154
154
|
--hover-transform: none;
|
|
155
155
|
--hover-shadow: none;
|
|
156
|
-
--active-scale:
|
|
156
|
+
--active-scale: 0.98;
|
|
157
157
|
--heading-font-weight: 700;
|
|
158
158
|
--heading-letter-spacing: var(--tracking-tight);
|
|
159
159
|
--body-letter-spacing: var(--tracking-normal);
|
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
154
154
|
--hover-transform: none;
|
|
155
155
|
--hover-shadow: none;
|
|
156
|
-
--active-scale:
|
|
156
|
+
--active-scale: 0.98;
|
|
157
157
|
--heading-font-weight: 700;
|
|
158
158
|
--heading-letter-spacing: var(--tracking-tight);
|
|
159
159
|
--body-letter-spacing: var(--tracking-normal);
|
package/dist/presets/kumo.css
CHANGED
|
@@ -153,7 +153,7 @@
|
|
|
153
153
|
--transition-slow: var(--motion-duration-slow) var(--motion-ease-decelerate);
|
|
154
154
|
--hover-transform: none;
|
|
155
155
|
--hover-shadow: none;
|
|
156
|
-
--active-scale:
|
|
156
|
+
--active-scale: 0.98;
|
|
157
157
|
--heading-font-weight: 600;
|
|
158
158
|
--heading-letter-spacing: var(--tracking-tight);
|
|
159
159
|
--body-letter-spacing: var(--tracking-normal);
|
|
@@ -184,6 +184,9 @@
|
|
|
184
184
|
--button-brand-text-shadow: 0 1px 1px #00000059, 0 0 1px #00000040;
|
|
185
185
|
--layer-card-radius: var(--radius-lg);
|
|
186
186
|
--layer-card-shadow: 0 1px 2px #0000000d;
|
|
187
|
+
--tabs-tab-height: calc(var(--spacing) * 8);
|
|
188
|
+
--tabs-list-shadow: 0 0 0 1px var(--border-secondary);
|
|
189
|
+
--tabs-indicator-shadow: 0 1px 2px #0000000d;
|
|
187
190
|
--flow-node-shadow: 0 1px 2px #0000000d;
|
|
188
191
|
--flow-canvas-background-image: radial-gradient(var(--border-disabled) 1px, transparent 1px);
|
|
189
192
|
--button-secondary-border: var(--border-secondary);
|
|
@@ -501,6 +504,9 @@
|
|
|
501
504
|
--card-radius: var(--radius-xl);
|
|
502
505
|
--layer-card-radius: var(--radius-lg);
|
|
503
506
|
--layer-card-shadow: 0 1px 2px #0000000d;
|
|
507
|
+
--tabs-tab-height: calc(var(--spacing) * 8);
|
|
508
|
+
--tabs-list-shadow: 0 0 0 1px var(--border-secondary);
|
|
509
|
+
--tabs-indicator-shadow: 0 1px 2px #0000000d;
|
|
504
510
|
--flow-node-shadow: 0 1px 2px #0000000d;
|
|
505
511
|
--flow-canvas-background-image: radial-gradient(var(--border-disabled) 1px, transparent 1px);
|
|
506
512
|
--input-radius: var(--radius-lg);
|
|
@@ -526,7 +532,7 @@
|
|
|
526
532
|
--hover-ring-color: var(--border-secondary);
|
|
527
533
|
--hover-transform: none;
|
|
528
534
|
--hover-shadow: none;
|
|
529
|
-
--active-scale:
|
|
535
|
+
--active-scale: 0.98;
|
|
530
536
|
--heading-font-weight: 600;
|
|
531
537
|
--hero-font-weight: 600;
|
|
532
538
|
--section-title-font-weight: 600;
|