@threadlabs/looma 0.27.4 → 0.27.5
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/ui-callout/ui-callout.html +47 -6
- package/components/ui-tabs/ui-tabs.html +3 -0
- package/components/ui-tabs/ui-tabs.js +37 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/styles/ui-callout.css +18 -1
- package/vanilla/UiCallout.d.ts +2 -1
- package/vanilla/UiCallout.js +93 -26
- package/vanilla/UiTabs.d.ts +1 -0
- package/vanilla/UiTabs.js +8 -8
- package/vue/UiCallout.d.ts +12 -3
- package/vue/UiCallout.vue +102 -12
- package/vue/UiStatusMessage.d.ts +1 -1
- package/vue/UiTabs.d.ts +9 -0
- package/vue/UiTabs.vue +19 -1
- package/vue/chunks/UiCallout.js +101 -34
- package/vue/chunks/UiTabs.js +23 -1
- package/vue/components.css +54 -39
package/vue/chunks/UiCallout.js
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
|
|
2
2
|
import { a as vPropValidity, n as checkedProp } from "./props.js";
|
|
3
|
-
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
|
|
3
|
+
import { computed, createCommentVNode, createElementBlock, createElementVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
|
|
4
4
|
//#region .build/vue/UiCallout.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
-
var _hoisted_1 = [
|
|
5
|
+
var _hoisted_1 = [
|
|
6
|
+
"data-heading",
|
|
7
|
+
"data-tone",
|
|
8
|
+
"data-ui-callout-state"
|
|
9
|
+
];
|
|
6
10
|
var _hoisted_2 = {
|
|
7
11
|
class: "icon",
|
|
8
12
|
"aria-hidden": "true"
|
|
@@ -52,41 +56,93 @@ var _hoisted_7 = {
|
|
|
52
56
|
"stroke-linecap": "round",
|
|
53
57
|
"stroke-linejoin": "round"
|
|
54
58
|
};
|
|
55
|
-
var _hoisted_8 = {
|
|
59
|
+
var _hoisted_8 = {
|
|
60
|
+
key: 5,
|
|
61
|
+
viewBox: "0 0 24 24",
|
|
62
|
+
fill: "none",
|
|
63
|
+
stroke: "currentColor",
|
|
64
|
+
"stroke-width": "2",
|
|
65
|
+
"stroke-linecap": "round",
|
|
66
|
+
"stroke-linejoin": "round"
|
|
67
|
+
};
|
|
68
|
+
var _hoisted_9 = {
|
|
69
|
+
key: 6,
|
|
70
|
+
viewBox: "0 0 24 24",
|
|
71
|
+
fill: "none",
|
|
72
|
+
stroke: "currentColor",
|
|
73
|
+
"stroke-width": "2",
|
|
74
|
+
"stroke-linecap": "round",
|
|
75
|
+
"stroke-linejoin": "round"
|
|
76
|
+
};
|
|
77
|
+
var _hoisted_10 = { class: "content" };
|
|
78
|
+
var _hoisted_11 = {
|
|
79
|
+
key: 0,
|
|
80
|
+
class: "heading"
|
|
81
|
+
};
|
|
56
82
|
//#endregion
|
|
57
83
|
//#region .build/vue/UiCallout.vue
|
|
58
84
|
var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
|
|
59
85
|
inheritAttrs: false,
|
|
60
86
|
__name: "UiCallout",
|
|
61
|
-
props: {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
87
|
+
props: {
|
|
88
|
+
heading: {
|
|
89
|
+
type: null,
|
|
90
|
+
default: ""
|
|
91
|
+
},
|
|
92
|
+
tone: {
|
|
93
|
+
type: null,
|
|
94
|
+
default: "info"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
65
97
|
setup(__props) {
|
|
66
|
-
const propValidityContract = { props: {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
98
|
+
const propValidityContract = { props: {
|
|
99
|
+
heading: {
|
|
100
|
+
type: {
|
|
101
|
+
kind: "terminal",
|
|
102
|
+
name: "string"
|
|
103
|
+
},
|
|
104
|
+
required: false,
|
|
105
|
+
target: { attribute: "heading" },
|
|
106
|
+
description: "A short heading above the message, such as \"Before you upgrade\". Optional; without it the message stands alone.",
|
|
107
|
+
default: ""
|
|
70
108
|
},
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
"warning",
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
109
|
+
tone: {
|
|
110
|
+
type: {
|
|
111
|
+
kind: "terminal",
|
|
112
|
+
name: "keyword"
|
|
113
|
+
},
|
|
114
|
+
required: false,
|
|
115
|
+
target: { attribute: "tone" },
|
|
116
|
+
description: "Which kind of message the callout carries, shown by its icon and colour: info (the default) for information, note or neutral for a muted aside, tip for\n advice, important for something the reader must not miss, warning for a caution, danger (or its alias caution) for a harmful consequence, and success for\n a confirmation. These are the tones of VitePress, Docusaurus and GitHub alerts.",
|
|
117
|
+
values: [
|
|
118
|
+
"info",
|
|
119
|
+
"neutral",
|
|
120
|
+
"note",
|
|
121
|
+
"tip",
|
|
122
|
+
"important",
|
|
123
|
+
"warning",
|
|
124
|
+
"caution",
|
|
125
|
+
"success",
|
|
126
|
+
"danger"
|
|
127
|
+
],
|
|
128
|
+
default: "info"
|
|
129
|
+
}
|
|
130
|
+
} };
|
|
84
131
|
const props = __props;
|
|
85
|
-
const acceptedProps = {
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
132
|
+
const acceptedProps = {
|
|
133
|
+
heading: "",
|
|
134
|
+
tone: "info"
|
|
135
|
+
};
|
|
136
|
+
const checkedProps = computed(() => ({
|
|
137
|
+
heading: checkedProp(props["heading"], {
|
|
138
|
+
kind: "terminal",
|
|
139
|
+
name: "string"
|
|
140
|
+
}, false, "heading", acceptedProps),
|
|
141
|
+
tone: checkedProp(props["tone"], {
|
|
142
|
+
kind: "terminal",
|
|
143
|
+
name: "keyword"
|
|
144
|
+
}, false, "tone", acceptedProps)
|
|
145
|
+
}));
|
|
90
146
|
checkedProps.value;
|
|
91
147
|
watchSyncEffect(() => {
|
|
92
148
|
checkedProps.value;
|
|
@@ -118,6 +174,7 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
118
174
|
"data-component": "ui-callout",
|
|
119
175
|
role: "note"
|
|
120
176
|
}, nativeAttrs(_ctx.$attrs), {
|
|
177
|
+
"data-heading": reflectedProp("heading", "heading", checkedProps.value.heading, void 0, false),
|
|
121
178
|
"data-tone": reflectedProp("tone", "tone", checkedProps.value.tone, void 0, false),
|
|
122
179
|
"data-ui-callout-state": hostState.value || void 0
|
|
123
180
|
}), [createElementVNode("span", _hoisted_2, [
|
|
@@ -135,17 +192,27 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
135
192
|
createElementVNode("path", { d: "M13 2v7h7" }, null, -1),
|
|
136
193
|
createElementVNode("path", { d: "m9.5 17.5 4-4 2 2-4 4H9.5v-2Z" }, null, -1)
|
|
137
194
|
])])) : createCommentVNode("v-if", true),
|
|
138
|
-
checkedProps.value.tone === "
|
|
195
|
+
checkedProps.value.tone === "tip" ? (openBlock(), createElementBlock("svg", _hoisted_5, [..._cache[2] || (_cache[2] = [
|
|
196
|
+
createElementVNode("path", { d: "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5" }, null, -1),
|
|
197
|
+
createElementVNode("path", { d: "M9 18h6" }, null, -1),
|
|
198
|
+
createElementVNode("path", { d: "M10 22h4" }, null, -1)
|
|
199
|
+
])])) : createCommentVNode("v-if", true),
|
|
200
|
+
checkedProps.value.tone === "important" ? (openBlock(), createElementBlock("svg", _hoisted_6, [..._cache[3] || (_cache[3] = [
|
|
201
|
+
createElementVNode("path", { d: "M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z" }, null, -1),
|
|
202
|
+
createElementVNode("path", { d: "M12 15h.01" }, null, -1),
|
|
203
|
+
createElementVNode("path", { d: "M12 7v4" }, null, -1)
|
|
204
|
+
])])) : createCommentVNode("v-if", true),
|
|
205
|
+
checkedProps.value.tone === "warning" ? (openBlock(), createElementBlock("svg", _hoisted_7, [..._cache[4] || (_cache[4] = [
|
|
139
206
|
createElementVNode("path", { d: "m21.73 18-8-14a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z" }, null, -1),
|
|
140
207
|
createElementVNode("path", { d: "M12 9v4" }, null, -1),
|
|
141
208
|
createElementVNode("path", { d: "M12 17h.01" }, null, -1)
|
|
142
209
|
])])) : createCommentVNode("v-if", true),
|
|
143
|
-
checkedProps.value.tone === "success" ? (openBlock(), createElementBlock("svg",
|
|
210
|
+
checkedProps.value.tone === "success" ? (openBlock(), createElementBlock("svg", _hoisted_8, [..._cache[5] || (_cache[5] = [createElementVNode("circle", {
|
|
144
211
|
cx: "12",
|
|
145
212
|
cy: "12",
|
|
146
213
|
r: "10"
|
|
147
214
|
}, null, -1), createElementVNode("path", { d: "m9 12 2 2 4-4" }, null, -1)])])) : createCommentVNode("v-if", true),
|
|
148
|
-
checkedProps.value.tone === "danger" ? (openBlock(), createElementBlock("svg",
|
|
215
|
+
checkedProps.value.tone === "danger" || checkedProps.value.tone === "caution" ? (openBlock(), createElementBlock("svg", _hoisted_9, [..._cache[6] || (_cache[6] = [
|
|
149
216
|
createElementVNode("circle", {
|
|
150
217
|
cx: "12",
|
|
151
218
|
cy: "12",
|
|
@@ -154,12 +221,12 @@ var UiCallout_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
154
221
|
createElementVNode("path", { d: "m15 9-6 6" }, null, -1),
|
|
155
222
|
createElementVNode("path", { d: "m9 9 6 6" }, null, -1)
|
|
156
223
|
])])) : createCommentVNode("v-if", true)
|
|
157
|
-
]), createElementVNode("div",
|
|
224
|
+
]), createElementVNode("div", _hoisted_10, [checkedProps.value.heading ? (openBlock(), createElementBlock("strong", _hoisted_11, toDisplayString(checkedProps.value.heading), 1)) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")])], 16, _hoisted_1)), [[unref(vPropValidity), {
|
|
158
225
|
contract: propValidityContract,
|
|
159
226
|
values: { ...props }
|
|
160
227
|
}]]);
|
|
161
228
|
};
|
|
162
229
|
}
|
|
163
|
-
}), [["__scopeId", "data-v-
|
|
230
|
+
}), [["__scopeId", "data-v-492ee9df"]]);
|
|
164
231
|
//#endregion
|
|
165
232
|
export { UiCallout_default as t };
|
package/vue/chunks/UiTabs.js
CHANGED
|
@@ -6,6 +6,7 @@ import { Fragment, computed, createElementBlock, createElementVNode, createVNode
|
|
|
6
6
|
var _hoisted_1 = [
|
|
7
7
|
"data-activation",
|
|
8
8
|
"data-density",
|
|
9
|
+
"data-group",
|
|
9
10
|
"data-label",
|
|
10
11
|
"data-orientation",
|
|
11
12
|
"data-stretch",
|
|
@@ -33,6 +34,10 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
33
34
|
type: null,
|
|
34
35
|
default: "comfortable"
|
|
35
36
|
},
|
|
37
|
+
group: {
|
|
38
|
+
type: null,
|
|
39
|
+
default: ""
|
|
40
|
+
},
|
|
36
41
|
label: {
|
|
37
42
|
type: null,
|
|
38
43
|
default: "Tabs"
|
|
@@ -75,6 +80,16 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
75
80
|
values: ["comfortable", "compact"],
|
|
76
81
|
default: "comfortable"
|
|
77
82
|
},
|
|
83
|
+
group: {
|
|
84
|
+
type: {
|
|
85
|
+
kind: "terminal",
|
|
86
|
+
name: "string"
|
|
87
|
+
},
|
|
88
|
+
required: false,
|
|
89
|
+
target: { attribute: "group" },
|
|
90
|
+
description: "Tabs with the same nonempty group share one selection: choosing a tab selects the tab with the same label in every other Tabs of that group in the\n document, and the choice is remembered for the next visit. Use it for alternatives a reader picks once, such as a package manager or language.",
|
|
91
|
+
default: ""
|
|
92
|
+
},
|
|
78
93
|
label: {
|
|
79
94
|
type: {
|
|
80
95
|
kind: "terminal",
|
|
@@ -121,6 +136,7 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
121
136
|
const acceptedProps = {
|
|
122
137
|
activation: "auto",
|
|
123
138
|
density: "comfortable",
|
|
139
|
+
group: "",
|
|
124
140
|
label: "Tabs",
|
|
125
141
|
orientation: "horizontal",
|
|
126
142
|
stretch: false,
|
|
@@ -135,6 +151,10 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
135
151
|
kind: "terminal",
|
|
136
152
|
name: "keyword"
|
|
137
153
|
}, false, "density", acceptedProps),
|
|
154
|
+
group: checkedProp(props["group"], {
|
|
155
|
+
kind: "terminal",
|
|
156
|
+
name: "string"
|
|
157
|
+
}, false, "group", acceptedProps),
|
|
138
158
|
label: checkedProp(props["label"], {
|
|
139
159
|
kind: "terminal",
|
|
140
160
|
name: "string"
|
|
@@ -270,6 +290,7 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
270
290
|
propNames: [
|
|
271
291
|
"activation",
|
|
272
292
|
"density",
|
|
293
|
+
"group",
|
|
273
294
|
"label",
|
|
274
295
|
"orientation",
|
|
275
296
|
"stretch",
|
|
@@ -325,6 +346,7 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
325
346
|
return withDirectives((openBlock(), createElementBlock("div", mergeProps({ "data-component": "ui-tabs" }, nativeAttrs(_ctx.$attrs), {
|
|
326
347
|
"data-activation": reflectedProp("activation", "activation", checkedProps.value.activation, void 0, false),
|
|
327
348
|
"data-density": reflectedProp("density", "density", checkedProps.value.density, void 0, false),
|
|
349
|
+
"data-group": reflectedProp("group", "group", checkedProps.value.group, void 0, false),
|
|
328
350
|
"data-label": reflectedProp("label", "label", checkedProps.value.label, void 0, false),
|
|
329
351
|
"data-orientation": reflectedProp("orientation", "orientation", checkedProps.value.orientation, void 0, false),
|
|
330
352
|
"data-stretch": reflectedProp("stretch", "stretch", checkedProps.value.stretch, void 0, false),
|
|
@@ -362,6 +384,6 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
|
|
|
362
384
|
}]]);
|
|
363
385
|
};
|
|
364
386
|
}
|
|
365
|
-
}), [["__scopeId", "data-v-
|
|
387
|
+
}), [["__scopeId", "data-v-f10f6ffb"]]);
|
|
366
388
|
//#endregion
|
|
367
389
|
export { UiTabs_default as t };
|
package/vue/components.css
CHANGED
|
@@ -1508,7 +1508,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1508
1508
|
syntax: "*";
|
|
1509
1509
|
inherits: false;
|
|
1510
1510
|
}
|
|
1511
|
-
[data-component~="ui-callout"][data-v-
|
|
1511
|
+
[data-component~="ui-callout"][data-v-492ee9df] {
|
|
1512
1512
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
1513
1513
|
--_ui-callout-icon-column: var(--ui-callout-icon-column);
|
|
1514
1514
|
--_ui-callout-icon: var(--ui-callout-icon);
|
|
@@ -1572,22 +1572,26 @@ html[data-ui-input-modality="touch"]
|
|
|
1572
1572
|
}
|
|
1573
1573
|
|
|
1574
1574
|
/* One line box tall, so the icon centres on the first line of text. */
|
|
1575
|
-
.icon[data-v-
|
|
1575
|
+
.icon[data-v-492ee9df] {
|
|
1576
1576
|
display: grid;
|
|
1577
1577
|
place-items: center;
|
|
1578
1578
|
inline-size: var(--_ui-callout-icon-column, 1.125rem);
|
|
1579
1579
|
block-size: 1lh;
|
|
1580
1580
|
color: var(--_ui-callout-icon, var(--_callout-icon));
|
|
1581
1581
|
}
|
|
1582
|
-
.icon svg[data-v-
|
|
1582
|
+
.icon svg[data-v-492ee9df] {
|
|
1583
1583
|
inline-size: var(--_ui-callout-icon-size, 1.125rem);
|
|
1584
1584
|
block-size: var(--_ui-callout-icon-size, 1.125rem);
|
|
1585
1585
|
}
|
|
1586
|
-
.content[data-v-
|
|
1586
|
+
.content[data-v-492ee9df] {
|
|
1587
1587
|
min-inline-size: 0;
|
|
1588
1588
|
}
|
|
1589
|
-
[data-
|
|
1590
|
-
|
|
1589
|
+
.heading[data-v-492ee9df] {
|
|
1590
|
+
display: block;
|
|
1591
|
+
font-weight: var(--ui-font-semibold);
|
|
1592
|
+
}
|
|
1593
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=neutral"][data-v-492ee9df],
|
|
1594
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=note"][data-v-492ee9df] {
|
|
1591
1595
|
--_ui-selection-context-surface: initial;
|
|
1592
1596
|
--_ui-selection-context-border: initial;
|
|
1593
1597
|
--_ui-selection-context-text: initial;
|
|
@@ -1595,24 +1599,35 @@ html[data-ui-input-modality="touch"]
|
|
|
1595
1599
|
--_callout-border: var(--ui-border-strong);
|
|
1596
1600
|
--_callout-icon: var(--ui-text-secondary);
|
|
1597
1601
|
}
|
|
1598
|
-
[data-component~="ui-callout"][data-ui-callout-state~="tone=
|
|
1602
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=tip"][data-v-492ee9df] {
|
|
1603
|
+
--_callout-surface: var(--ui-success-soft);
|
|
1604
|
+
--_callout-border: var(--ui-success-solid);
|
|
1605
|
+
--_callout-icon: var(--ui-success-solid);
|
|
1606
|
+
}
|
|
1607
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=important"][data-v-492ee9df] {
|
|
1608
|
+
--_callout-surface: var(--ui-accent-soft);
|
|
1609
|
+
--_callout-border: var(--ui-accent-solid);
|
|
1610
|
+
--_callout-icon: var(--ui-accent-solid);
|
|
1611
|
+
}
|
|
1612
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=warning"][data-v-492ee9df] {
|
|
1599
1613
|
--_callout-surface: var(--ui-warning-soft);
|
|
1600
1614
|
--_callout-border: var(--ui-warning-solid);
|
|
1601
1615
|
--_callout-icon: var(--ui-warning-solid);
|
|
1602
1616
|
}
|
|
1603
|
-
[data-component~="ui-callout"][data-ui-callout-state~="tone=success"][data-v-
|
|
1617
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=success"][data-v-492ee9df] {
|
|
1604
1618
|
--_callout-surface: var(--ui-success-soft);
|
|
1605
1619
|
--_callout-border: var(--ui-success-solid);
|
|
1606
1620
|
--_callout-icon: var(--ui-success-solid);
|
|
1607
1621
|
}
|
|
1608
|
-
[data-component~="ui-callout"][data-ui-callout-state~="tone=danger"][data-v-
|
|
1622
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=danger"][data-v-492ee9df],
|
|
1623
|
+
[data-component~="ui-callout"][data-ui-callout-state~="tone=caution"][data-v-492ee9df] {
|
|
1609
1624
|
--_callout-surface: var(--ui-danger-soft);
|
|
1610
1625
|
--_callout-border: var(--ui-danger-solid);
|
|
1611
1626
|
--_callout-icon: var(--ui-danger-solid);
|
|
1612
1627
|
}
|
|
1613
1628
|
|
|
1614
1629
|
/* A link in the callout's text is underlined, so it reads as a link by more than colour. */
|
|
1615
|
-
.content a[data-v-
|
|
1630
|
+
.content a[data-v-492ee9df-s] {
|
|
1616
1631
|
color: var(--ui-accent-active);
|
|
1617
1632
|
text-decoration: underline;
|
|
1618
1633
|
text-decoration-thickness: 0.06em;
|
|
@@ -1620,7 +1635,7 @@ html[data-ui-input-modality="touch"]
|
|
|
1620
1635
|
}
|
|
1621
1636
|
|
|
1622
1637
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
1623
|
-
[data-component~="ui-callout"][hidden][data-v-
|
|
1638
|
+
[data-component~="ui-callout"][hidden][data-v-492ee9df] {
|
|
1624
1639
|
display: none;
|
|
1625
1640
|
}
|
|
1626
1641
|
|
|
@@ -8685,7 +8700,7 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8685
8700
|
}
|
|
8686
8701
|
|
|
8687
8702
|
/* Density resolves into the tab row's own values; the public tokens still override them. */
|
|
8688
|
-
[data-component~="ui-tabs"][data-v-
|
|
8703
|
+
[data-component~="ui-tabs"][data-v-f10f6ffb] {
|
|
8689
8704
|
/* Hooks do not inherit, so the parts below read them from the root. */
|
|
8690
8705
|
--_ui-tabs-tab-min-block-size: var(--ui-tabs-tab-min-block-size);
|
|
8691
8706
|
--_ui-tabs-tab-padding-block: var(--ui-tabs-tab-padding-block);
|
|
@@ -8695,17 +8710,17 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8695
8710
|
--_tab-padding-block: var(--ui-space-2);
|
|
8696
8711
|
--_tab-padding-inline: var(--ui-space-3);
|
|
8697
8712
|
}
|
|
8698
|
-
[data-component~="ui-tabs"][data-ui-tabs-state~="density=compact"][data-v-
|
|
8713
|
+
[data-component~="ui-tabs"][data-ui-tabs-state~="density=compact"][data-v-f10f6ffb] {
|
|
8699
8714
|
--_tab-min-block-size: var(--ui-control-size-sm);
|
|
8700
8715
|
--_tab-padding-block: var(--ui-space-1);
|
|
8701
8716
|
--_tab-padding-inline: var(--ui-space-2);
|
|
8702
8717
|
}
|
|
8703
|
-
[data-component~="ui-tabs"][data-v-
|
|
8718
|
+
[data-component~="ui-tabs"][data-v-f10f6ffb] {
|
|
8704
8719
|
display: grid;
|
|
8705
8720
|
inline-size: 100%;
|
|
8706
8721
|
min-inline-size: 0;
|
|
8707
8722
|
}
|
|
8708
|
-
.list[data-v-
|
|
8723
|
+
.list[data-v-f10f6ffb] {
|
|
8709
8724
|
display: grid;
|
|
8710
8725
|
grid-auto-flow: column;
|
|
8711
8726
|
grid-auto-columns: max-content;
|
|
@@ -8721,8 +8736,8 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8721
8736
|
scrollbar-width: thin;
|
|
8722
8737
|
border-block-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
8723
8738
|
}
|
|
8724
|
-
.list button[data-v-
|
|
8725
|
-
.list > button[slot="tab"][data-v-
|
|
8739
|
+
.list button[data-v-f10f6ffb],
|
|
8740
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s] {
|
|
8726
8741
|
min-block-size: var(--_ui-tabs-tab-min-block-size, var(--_tab-min-block-size));
|
|
8727
8742
|
margin: 0 0 calc(-1 * var(--ui-border-width));
|
|
8728
8743
|
padding: var(--_ui-tabs-tab-padding-block, var(--_tab-padding-block))
|
|
@@ -8745,8 +8760,8 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8745
8760
|
/* Centre the glyphs, not the line box: a label without descenders otherwise reads high.
|
|
8746
8761
|
* Trimming applies to block containers, so the box is a block with centred content. */
|
|
8747
8762
|
@supports (text-box-trim: trim-both) {
|
|
8748
|
-
.list button[data-v-
|
|
8749
|
-
.list > button[slot="tab"][data-v-
|
|
8763
|
+
.list button[data-v-f10f6ffb],
|
|
8764
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s] {
|
|
8750
8765
|
display: block;
|
|
8751
8766
|
text-align: center;
|
|
8752
8767
|
align-content: center;
|
|
@@ -8754,51 +8769,51 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8754
8769
|
text-box-edge: cap alphabetic;
|
|
8755
8770
|
}
|
|
8756
8771
|
}
|
|
8757
|
-
[data-component~="ui-tabs"][data-ui-tabs-state~="stretch"] .list[data-v-
|
|
8772
|
+
[data-component~="ui-tabs"][data-ui-tabs-state~="stretch"] .list[data-v-f10f6ffb] {
|
|
8758
8773
|
grid-auto-columns: minmax(max-content, 1fr);
|
|
8759
8774
|
}
|
|
8760
|
-
.list button[data-v-
|
|
8761
|
-
.list > button[slot="tab"][data-v-
|
|
8775
|
+
.list button[data-v-f10f6ffb],
|
|
8776
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s] {
|
|
8762
8777
|
white-space: nowrap;
|
|
8763
8778
|
}
|
|
8764
|
-
.list button[data-v-
|
|
8765
|
-
.list > button[slot="tab"][data-v-
|
|
8779
|
+
.list button[data-v-f10f6ffb]:hover,
|
|
8780
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s]:hover {
|
|
8766
8781
|
color: var(--ui-text-primary);
|
|
8767
8782
|
background: var(--ui-surface-muted);
|
|
8768
8783
|
}
|
|
8769
|
-
.list button[aria-selected="true"][data-v-
|
|
8770
|
-
.list > button[slot="tab"][aria-selected="true"][data-v-
|
|
8784
|
+
.list button[aria-selected="true"][data-v-f10f6ffb],
|
|
8785
|
+
.list > button[slot="tab"][aria-selected="true"][data-v-f10f6ffb-s] {
|
|
8771
8786
|
color: var(--ui-accent-solid);
|
|
8772
8787
|
border-block-end-color: var(--ui-accent-solid);
|
|
8773
8788
|
}
|
|
8774
|
-
.list button[data-v-
|
|
8775
|
-
.list > button[slot="tab"][data-v-
|
|
8789
|
+
.list button[data-v-f10f6ffb]:focus-visible,
|
|
8790
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s]:focus-visible {
|
|
8776
8791
|
position: relative;
|
|
8777
8792
|
outline: none;
|
|
8778
8793
|
box-shadow: inset 0 0 0 var(--ui-focus-width)
|
|
8779
8794
|
color-mix(in srgb, var(--ui-focus-ring) 45%, transparent);
|
|
8780
8795
|
border-radius: var(--ui-radius-sm);
|
|
8781
8796
|
}
|
|
8782
|
-
.panels[data-v-
|
|
8797
|
+
.panels[data-v-f10f6ffb] {
|
|
8783
8798
|
min-inline-size: 0;
|
|
8784
8799
|
}
|
|
8785
|
-
.panels > [data-v-
|
|
8800
|
+
.panels > [data-v-f10f6ffb-s] {
|
|
8786
8801
|
padding: var(--ui-space-4);
|
|
8787
8802
|
}
|
|
8788
|
-
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"][data-v-
|
|
8803
|
+
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"][data-v-f10f6ffb] {
|
|
8789
8804
|
grid-template-columns: max-content minmax(0, 1fr);
|
|
8790
8805
|
align-items: start;
|
|
8791
8806
|
}
|
|
8792
|
-
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"] .list[data-v-
|
|
8807
|
+
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"] .list[data-v-f10f6ffb] {
|
|
8793
8808
|
grid-auto-flow: row;
|
|
8794
8809
|
grid-auto-columns: auto;
|
|
8795
8810
|
border-block-end: 0;
|
|
8796
8811
|
border-inline-end: var(--ui-border-width) solid var(--ui-border-divider);
|
|
8797
8812
|
}
|
|
8798
|
-
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"] .list button[data-v-
|
|
8813
|
+
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"] .list button[data-v-f10f6ffb],
|
|
8799
8814
|
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"]
|
|
8800
8815
|
.list
|
|
8801
|
-
> button[slot="tab"][data-v-
|
|
8816
|
+
> button[slot="tab"][data-v-f10f6ffb-s] {
|
|
8802
8817
|
margin: 0 calc(-1 * var(--ui-border-width)) 0 0;
|
|
8803
8818
|
border-block-end: 0;
|
|
8804
8819
|
border-inline-end: var(--ui-accent-line-width) solid transparent;
|
|
@@ -8806,21 +8821,21 @@ tbody tr[data-v-722ca2ea-s]:last-child > * {
|
|
|
8806
8821
|
}
|
|
8807
8822
|
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"]
|
|
8808
8823
|
.list
|
|
8809
|
-
button[aria-selected="true"][data-v-
|
|
8824
|
+
button[aria-selected="true"][data-v-f10f6ffb],
|
|
8810
8825
|
[data-component~="ui-tabs"][data-ui-tabs-state~="orientation=vertical"]
|
|
8811
8826
|
.list
|
|
8812
|
-
> button[slot="tab"][aria-selected="true"][data-v-
|
|
8827
|
+
> button[slot="tab"][aria-selected="true"][data-v-f10f6ffb-s] {
|
|
8813
8828
|
border-inline-end-color: var(--ui-accent-solid);
|
|
8814
8829
|
}
|
|
8815
8830
|
@media (prefers-reduced-motion: reduce) {
|
|
8816
|
-
.list button[data-v-
|
|
8817
|
-
.list > button[slot="tab"][data-v-
|
|
8831
|
+
.list button[data-v-f10f6ffb],
|
|
8832
|
+
.list > button[slot="tab"][data-v-f10f6ffb-s] {
|
|
8818
8833
|
transition: none;
|
|
8819
8834
|
}
|
|
8820
8835
|
}
|
|
8821
8836
|
|
|
8822
8837
|
/* A component that sets its display still honours the hidden attribute on its root. */
|
|
8823
|
-
[data-component~="ui-tabs"][hidden][data-v-
|
|
8838
|
+
[data-component~="ui-tabs"][hidden][data-v-f10f6ffb] {
|
|
8824
8839
|
display: none;
|
|
8825
8840
|
}
|
|
8826
8841
|
|