@tangible/ui 0.0.10 → 0.0.11
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/components/Checkbox/Checkbox.js +2 -2
- package/components/Chip/Chip.d.ts +1 -1
- package/components/Chip/Chip.js +1 -1
- package/icons/icons.svg +34 -12
- package/icons/lms/index.d.ts +8 -8
- package/icons/lms/index.js +16 -16
- package/icons/manifest.json +192 -16
- package/icons/membersync/index.d.ts +51 -0
- package/icons/membersync/index.js +246 -0
- package/icons/registry.d.ts +52 -8
- package/icons/registry.js +27 -4
- package/icons/system/index.js +4 -4
- package/package.json +1 -1
- package/styles/all.css +1 -1
- package/styles/all.expanded.css +58 -116
- package/styles/all.expanded.unlayered.css +58 -116
- package/styles/all.unlayered.css +1 -1
- package/styles/components/input/index.scss +4 -22
- package/styles/index.scss +3 -3
- package/styles/system/_tokens.scss +1 -8
- package/tui-manifest.json +8 -5
|
@@ -121,34 +121,16 @@
|
|
|
121
121
|
// ---------------------------------------------------------------------------
|
|
122
122
|
// Inline choice (radio/checkbox with label)
|
|
123
123
|
// ---------------------------------------------------------------------------
|
|
124
|
+
// Wrapper layout only — radio control styling lives in Radio/styles.scss
|
|
125
|
+
// and checkbox control styling lives in Checkbox/styles.scss. Both follow
|
|
126
|
+
// the same opt-in pattern: `.tui-inline-choice__control` class OR a native
|
|
127
|
+
// input nested inside this wrapper.
|
|
124
128
|
:where(.#{sys.$prefix}interface) .#{sys.$prefix}inline-choice {
|
|
125
129
|
display: flex;
|
|
126
130
|
align-items: center;
|
|
127
131
|
gap: var(--#{sys.$prefix}spacing-xs);
|
|
128
132
|
cursor: pointer;
|
|
129
133
|
|
|
130
|
-
// Radio: native appearance with accent-color
|
|
131
|
-
input[type="radio"] {
|
|
132
|
-
--_accent: var(--#{sys.$prefix}input-accent, var(--#{sys.$prefix}theme-primary-base));
|
|
133
|
-
|
|
134
|
-
font-size: 1.15em;
|
|
135
|
-
width: 1em;
|
|
136
|
-
height: 1em;
|
|
137
|
-
flex: 0 0 1em;
|
|
138
|
-
margin: 0;
|
|
139
|
-
|
|
140
|
-
&:focus-visible {
|
|
141
|
-
outline: var(--#{sys.$prefix}focus-ring-width) solid var(--#{sys.$prefix}focus-ring-color);
|
|
142
|
-
outline-offset: var(--#{sys.$prefix}focus-ring-offset);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
&:checked {
|
|
146
|
-
accent-color: var(--_accent);
|
|
147
|
-
}
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
// Checkbox: fully handled by Checkbox/styles.scss (appearance, sizing, states).
|
|
151
|
-
|
|
152
134
|
label {
|
|
153
135
|
font-weight: unset;
|
|
154
136
|
line-height: 1.25em;
|
package/styles/index.scss
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
@include sys.emit-color-roles-dark(sys.$prefix);
|
|
11
11
|
@include sys.emit-color-roles-auto(sys.$prefix);
|
|
12
12
|
|
|
13
|
-
@include sys.emit-accent-roles(sys.$prefix);
|
|
14
|
-
@include sys.emit-accent-roles-dark(sys.$prefix);
|
|
15
|
-
@include sys.emit-accent-roles-auto(sys.$prefix);
|
|
13
|
+
// @include sys.emit-accent-roles(sys.$prefix);
|
|
14
|
+
// @include sys.emit-accent-roles-dark(sys.$prefix);
|
|
15
|
+
// @include sys.emit-accent-roles-auto(sys.$prefix);
|
|
16
16
|
|
|
17
17
|
// Reduced motion: kill all token-driven transitions/animations globally.
|
|
18
18
|
// Components using --tui-motion-duration get instant transitions for free.
|
|
@@ -263,17 +263,10 @@ $brand: 'blue';
|
|
|
263
263
|
//
|
|
264
264
|
// ==========================================================================
|
|
265
265
|
|
|
266
|
-
// Each accent: OKLCH anchors (c, h) + fallback core family for @supports guard
|
|
267
|
-
$accent-defaults: (
|
|
268
|
-
section: (c: 0.17, h: 55, fallback: warning), // warm orange/amber
|
|
269
|
-
page: (c: 0.15, h: 280, fallback: primary), // purple
|
|
270
|
-
step: (c: 0.14, h: 200, fallback: info), // teal-blue
|
|
271
|
-
) !default;
|
|
272
|
-
|
|
273
266
|
// Emit accent role tokens with @supports progressive enhancement.
|
|
274
267
|
// Fallback (all browsers): maps role tokens from core family scales.
|
|
275
268
|
// Enhancement (oklch browsers): overrides with OKLCH-derived values.
|
|
276
|
-
@mixin emit-accent-roles($prefix, $accents
|
|
269
|
+
@mixin emit-accent-roles($prefix, $accents) {
|
|
277
270
|
// --- Fallback: map from core families (works everywhere) ---
|
|
278
271
|
:where(.#{$prefix}interface) {
|
|
279
272
|
@each $name, $values in $accents {
|
package/tui-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.
|
|
3
|
-
"generated": "2026-
|
|
2
|
+
"version": "0.0.11",
|
|
3
|
+
"generated": "2026-05-08T20:14:40.098Z",
|
|
4
4
|
"components": {
|
|
5
5
|
"Accordion": {
|
|
6
6
|
"props": {
|
|
@@ -579,7 +579,7 @@
|
|
|
579
579
|
"required": false
|
|
580
580
|
},
|
|
581
581
|
"size": {
|
|
582
|
-
"type": "\"xs\" | \"sm\" | \"md\"",
|
|
582
|
+
"type": "\"xs\" | \"sm\" | \"md\" | \"lg\"",
|
|
583
583
|
"required": false,
|
|
584
584
|
"defaultValue": "md"
|
|
585
585
|
},
|
|
@@ -653,7 +653,9 @@
|
|
|
653
653
|
"--tui-chip-border",
|
|
654
654
|
"--tui-chip-icon",
|
|
655
655
|
"--tui-chip-radius",
|
|
656
|
-
"--tui-chip-selected-ring"
|
|
656
|
+
"--tui-chip-selected-ring",
|
|
657
|
+
"--tui-chip-icon-slot-bg",
|
|
658
|
+
"--tui-chip-icon-slot-fg"
|
|
657
659
|
],
|
|
658
660
|
"story": {
|
|
659
661
|
"title": "Primitives/Chip",
|
|
@@ -2929,11 +2931,12 @@
|
|
|
2929
2931
|
"sets": {
|
|
2930
2932
|
"cred": 12,
|
|
2931
2933
|
"lms": 11,
|
|
2934
|
+
"membersync": 22,
|
|
2932
2935
|
"player": 24,
|
|
2933
2936
|
"reaction": 36,
|
|
2934
2937
|
"system": 86
|
|
2935
2938
|
},
|
|
2936
|
-
"total":
|
|
2939
|
+
"total": 191,
|
|
2937
2940
|
"manifest": "./icons/manifest.json"
|
|
2938
2941
|
}
|
|
2939
2942
|
}
|