@threadlabs/looma 0.33.0 → 0.34.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.
Files changed (207) hide show
  1. package/README.md +15 -0
  2. package/bin/looma-docs.mjs +3 -0
  3. package/components/shared/overlay.js +8 -2
  4. package/components/shared/surface-material.js +21 -0
  5. package/components/ui-button/ui-button.html +63 -47
  6. package/components/ui-card/ui-card.html +44 -2
  7. package/components/ui-curve-editor/curve.js +10 -0
  8. package/components/ui-curve-editor/ui-curve-editor.html +181 -0
  9. package/components/ui-curve-editor/ui-curve-editor.js +51 -0
  10. package/components/ui-dialog/ui-dialog.html +62 -1
  11. package/components/ui-dialog/ui-dialog.js +9 -1
  12. package/components/ui-icon-button/ui-icon-button.html +75 -23
  13. package/components/ui-menu/ui-menu.html +60 -0
  14. package/components/ui-menu/ui-menu.js +1 -1
  15. package/components/ui-number-input/arithmetic.js +47 -0
  16. package/components/ui-number-input/ui-number-input.html +62 -0
  17. package/components/ui-number-input/ui-number-input.js +44 -0
  18. package/components/ui-popover/ui-popover.html +64 -1
  19. package/components/ui-popover/ui-popover.js +1 -1
  20. package/components/ui-slider/ui-slider.html +84 -0
  21. package/components/ui-slider/ui-slider.js +29 -0
  22. package/components/ui-tabs/ui-tabs.html +6 -1
  23. package/components/ui-text/ui-text.html +31 -6
  24. package/components/ui-tooltip/ui-tooltip.html +60 -0
  25. package/components/ui-tooltip/ui-tooltip.js +1 -1
  26. package/dist/index.js +46 -43
  27. package/docs/README.md +146 -0
  28. package/docs/card.html +77 -0
  29. package/docs/card.js +47 -0
  30. package/docs/catalog-view.js +18 -0
  31. package/docs/catalog-view.mjs +11 -0
  32. package/docs/catalog.json +23984 -0
  33. package/docs/catalog.mjs +131 -0
  34. package/docs/cli.mjs +26 -0
  35. package/docs/commands.mjs +94 -0
  36. package/docs/customizer-render.mjs +66 -0
  37. package/docs/customizer.js +181 -0
  38. package/docs/documentation.css +16 -0
  39. package/docs/examples/ui-action-bar/examples/01-form-footer.behavior.js +7 -0
  40. package/docs/examples/ui-button/examples/08-loading.behavior.js +21 -0
  41. package/docs/examples/ui-checkbox/examples/02-checked-indeterminate-and-disabled.behavior.js +30 -0
  42. package/docs/examples/ui-combobox/examples/06-selected-values.behavior.js +11 -0
  43. package/docs/examples/ui-search-shell/examples/02-label-dismissible-status-and-footer.behavior.js +34 -0
  44. package/docs/examples/ui-toast/examples/01-authored.behavior.js +15 -0
  45. package/docs/examples/ui-toast/examples/02-danger.behavior.js +2 -0
  46. package/docs/examples/ui-tree/examples/03-max-depth-2-and-hover-expand-delay-300.behavior.js +30 -0
  47. package/docs/examples/ui-tree/examples/06-move-without-dragging.behavior.js +2 -0
  48. package/docs/examples/ui-tree/examples/07-multiple-selection.behavior.js +16 -0
  49. package/docs/examples/ui-tree-item/examples/02-container.behavior.js +1 -0
  50. package/docs/index.d.ts +56 -0
  51. package/docs/index.mjs +4 -0
  52. package/docs/local-server.mjs +68 -0
  53. package/docs/preview.js +22 -0
  54. package/docs/reference.html +1 -0
  55. package/docs/reference.js +36 -0
  56. package/docs/render.mjs +93 -0
  57. package/docs/site.mjs +239 -0
  58. package/docs/store.mjs +92 -0
  59. package/docs/theme-session.mjs +51 -0
  60. package/docs/theme.mjs +219 -0
  61. package/docs/value-editors.mjs +33 -0
  62. package/docs/workspace.mjs +32 -0
  63. package/package.json +28 -4
  64. package/styles/ui-button.css +45 -45
  65. package/styles/ui-card.css +47 -0
  66. package/styles/ui-curve-editor.css +109 -0
  67. package/styles/ui-dialog.css +132 -0
  68. package/styles/ui-icon-button.css +63 -20
  69. package/styles/ui-menu.css +72 -0
  70. package/styles/ui-number-input.css +34 -0
  71. package/styles/ui-popover.css +74 -0
  72. package/styles/ui-slider.css +53 -0
  73. package/styles/ui-tabs.css +6 -1
  74. package/styles/ui-text.css +23 -1
  75. package/styles/ui-tooltip.css +72 -0
  76. package/theme-system.css +26 -10
  77. package/tokens.css +8 -2
  78. package/vanilla/UiButton.d.ts +1 -0
  79. package/vanilla/UiButton.js +195 -130
  80. package/vanilla/UiCard.d.ts +1 -1
  81. package/vanilla/UiCard.js +1 -1
  82. package/vanilla/UiCurveEditor.d.ts +28 -0
  83. package/vanilla/UiCurveEditor.js +134 -0
  84. package/vanilla/UiIconButton.d.ts +2 -1
  85. package/vanilla/UiIconButton.js +58 -31
  86. package/vanilla/UiNumberInput.d.ts +33 -0
  87. package/vanilla/UiNumberInput.js +79 -0
  88. package/vanilla/UiSlider.d.ts +33 -0
  89. package/vanilla/UiSlider.js +125 -0
  90. package/vanilla/UiText.d.ts +2 -2
  91. package/vanilla/UiText.js +45 -11
  92. package/vanilla/index.js +3 -0
  93. package/vue/UiButton.d.ts +6 -0
  94. package/vue/UiButton.vue +155 -56
  95. package/vue/UiCard.d.ts +2 -2
  96. package/vue/UiCard.vue +55 -5
  97. package/vue/UiCurveEditor.d.ts +53 -0
  98. package/vue/UiCurveEditor.js +2 -0
  99. package/vue/UiCurveEditor.vue +427 -0
  100. package/vue/UiDialog.vue +177 -1
  101. package/vue/UiIconButton.d.ts +8 -2
  102. package/vue/UiIconButton.vue +164 -34
  103. package/vue/UiMenu.vue +89 -0
  104. package/vue/UiNumberInput.d.ts +83 -0
  105. package/vue/UiNumberInput.js +2 -0
  106. package/vue/UiNumberInput.vue +370 -0
  107. package/vue/UiPopover.vue +92 -1
  108. package/vue/UiSlider.d.ts +83 -0
  109. package/vue/UiSlider.js +2 -0
  110. package/vue/UiSlider.vue +412 -0
  111. package/vue/UiTabs.vue +6 -1
  112. package/vue/UiText.d.ts +7 -5
  113. package/vue/UiText.vue +104 -22
  114. package/vue/UiTooltip.vue +89 -0
  115. package/vue/chunks/UiActionBar.js +1 -1
  116. package/vue/chunks/UiAffordanceScope.js +2 -2
  117. package/vue/chunks/UiAvatar.js +2 -2
  118. package/vue/chunks/UiAvatarGroup.js +2 -2
  119. package/vue/chunks/UiBadge.js +2 -2
  120. package/vue/chunks/UiBreadcrumbItem.js +2 -2
  121. package/vue/chunks/UiBreadcrumbs.js +2 -2
  122. package/vue/chunks/UiButton.js +94 -11
  123. package/vue/chunks/UiCallout.js +2 -2
  124. package/vue/chunks/UiCard.js +6 -5
  125. package/vue/chunks/UiCheckbox.js +2 -2
  126. package/vue/chunks/UiCluster.js +2 -2
  127. package/vue/chunks/UiColorPicker.js +2 -2
  128. package/vue/chunks/UiCombobox.js +2 -2
  129. package/vue/chunks/UiContainer.js +2 -2
  130. package/vue/chunks/UiContextMenu.js +2 -2
  131. package/vue/chunks/UiCover.js +2 -2
  132. package/vue/chunks/UiCurveEditor.js +413 -0
  133. package/vue/chunks/UiDescriptionItem.js +2 -2
  134. package/vue/chunks/UiDescriptionList.js +2 -2
  135. package/vue/chunks/UiDialog.js +4 -4
  136. package/vue/chunks/UiDisclosure.js +2 -2
  137. package/vue/chunks/UiEditable.js +2 -2
  138. package/vue/chunks/UiEditorBlockActions.js +2 -2
  139. package/vue/chunks/UiEditorChipEditor.js +2 -2
  140. package/vue/chunks/UiEditorCodeLanguage.js +2 -2
  141. package/vue/chunks/UiEditorFootnoteEditor.js +2 -2
  142. package/vue/chunks/UiEditorImageToolbar.js +3 -3
  143. package/vue/chunks/UiEditorInsertTableGrid.js +2 -2
  144. package/vue/chunks/UiEditorLinkCard.js +3 -3
  145. package/vue/chunks/UiEditorLinkForm.js +3 -3
  146. package/vue/chunks/UiEditorMentionMenu.js +2 -2
  147. package/vue/chunks/UiEditorMentionMenuItem.js +2 -2
  148. package/vue/chunks/UiEditorSlashMenu.js +2 -2
  149. package/vue/chunks/UiEditorSlashMenuGroup.js +2 -2
  150. package/vue/chunks/UiEditorSlashMenuItem.js +2 -2
  151. package/vue/chunks/UiEditorSurface.js +2 -2
  152. package/vue/chunks/UiEditorTableContextMenu.js +2 -2
  153. package/vue/chunks/UiEditorTableOverlay.js +2 -2
  154. package/vue/chunks/UiEditorTableToolbar.js +2 -2
  155. package/vue/chunks/UiEditorToolbar.js +2 -2
  156. package/vue/chunks/UiFloatingActionButton.js +2 -2
  157. package/vue/chunks/UiFormField.js +2 -2
  158. package/vue/chunks/UiGrid.js +2 -2
  159. package/vue/chunks/UiIcon.js +2 -2
  160. package/vue/chunks/UiIconButton.js +77 -11
  161. package/vue/chunks/UiImage.js +2 -2
  162. package/vue/chunks/UiInput.js +2 -2
  163. package/vue/chunks/UiInputGroup.js +2 -2
  164. package/vue/chunks/UiList.js +2 -2
  165. package/vue/chunks/UiListItem.js +2 -2
  166. package/vue/chunks/UiListbox.js +2 -2
  167. package/vue/chunks/UiMenu.js +3 -3
  168. package/vue/chunks/UiMenuGroup.js +2 -2
  169. package/vue/chunks/UiMenuItem.js +2 -2
  170. package/vue/chunks/UiMeter.js +2 -2
  171. package/vue/chunks/UiNavItem.js +2 -2
  172. package/vue/chunks/UiNumberInput.js +390 -0
  173. package/vue/chunks/UiPageHeader.js +2 -2
  174. package/vue/chunks/UiPopover.js +4 -4
  175. package/vue/chunks/UiRadio.js +2 -2
  176. package/vue/chunks/UiRadioGroup.js +2 -2
  177. package/vue/chunks/UiReel.js +2 -2
  178. package/vue/chunks/UiScrollArea.js +2 -2
  179. package/vue/chunks/UiSearchResultRow.js +2 -2
  180. package/vue/chunks/UiSearchShell.js +2 -2
  181. package/vue/chunks/UiSection.js +2 -2
  182. package/vue/chunks/UiSelect.js +2 -2
  183. package/vue/chunks/UiSeparator.js +2 -2
  184. package/vue/chunks/UiSidebar.js +2 -2
  185. package/vue/chunks/UiSlider.js +396 -0
  186. package/vue/chunks/UiSpinner.js +2 -2
  187. package/vue/chunks/UiStack.js +2 -2
  188. package/vue/chunks/UiStatusMessage.js +2 -2
  189. package/vue/chunks/UiSwatch.js +2 -2
  190. package/vue/chunks/UiSwitch.js +2 -2
  191. package/vue/chunks/UiSwitcher.js +2 -2
  192. package/vue/chunks/UiTable.js +2 -2
  193. package/vue/chunks/UiTabs.js +3 -3
  194. package/vue/chunks/UiText.js +53 -12
  195. package/vue/chunks/UiTextarea.js +2 -2
  196. package/vue/chunks/UiToast.js +2 -2
  197. package/vue/chunks/UiToastRegion.js +2 -2
  198. package/vue/chunks/UiTooltip.js +3 -3
  199. package/vue/chunks/UiTopBar.js +1 -1
  200. package/vue/chunks/UiTree.js +2 -2
  201. package/vue/chunks/UiTreeItem.js +2 -2
  202. package/vue/chunks/_plugin-vue_export-helper.js +68 -2
  203. package/vue/chunks/props.js +24 -1
  204. package/vue/components.css +2215 -1203
  205. package/vue/editor/index.js +623 -211
  206. package/vue/index.d.ts +3 -0
  207. package/vue/index.js +5 -2
@@ -0,0 +1,396 @@
1
+ import { S as warnUnless, a as concat, b as useReflectedProp, d as initializedState, i as checkHydratedRoot, m as nativeAttrs, o as createDispatch, t as _plugin_vue_export_helper_default, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { d as requireInputStatus, i as checkPropInput, l as inputRead, m as vuePropInputs, n as READY_INPUT, o as copyStateSeed, p as vPropValidity, r as acceptsControllerWrite, s as evaluateInput, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
+ import { t as UiNumberInput_default } from "./UiNumberInput.js";
4
+ import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderList, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
+ //#region .build/vue/UiSlider.vue?vue&type=script&setup=true&lang.ts
6
+ var _hoisted_1 = [
7
+ "data-ui-slider-prop-disabled",
8
+ "data-ui-slider-prop-label",
9
+ "data-ui-slider-prop-max",
10
+ "data-ui-slider-prop-min",
11
+ "data-ui-slider-prop-name",
12
+ "data-ui-slider-prop-size",
13
+ "data-ui-slider-prop-step",
14
+ "data-ui-slider-prop-unit",
15
+ "data-ui-slider-prop-value",
16
+ "data-ui-slider-state"
17
+ ];
18
+ var _hoisted_2 = [
19
+ "aria-label",
20
+ "aria-valuetext",
21
+ "^value",
22
+ "min",
23
+ "max",
24
+ "step",
25
+ "disabled",
26
+ "name"
27
+ ];
28
+ //#endregion
29
+ //#region .build/vue/UiSlider.vue
30
+ var UiSlider_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
31
+ inheritAttrs: false,
32
+ __name: "UiSlider",
33
+ props: {
34
+ disabled: { type: null },
35
+ label: { type: null },
36
+ max: { type: null },
37
+ min: { type: null },
38
+ name: { type: null },
39
+ size: { type: null },
40
+ step: { type: null },
41
+ unit: { type: null },
42
+ value: { type: null },
43
+ [BINDING_INPUTS_PROP]: { type: null }
44
+ },
45
+ emits: [
46
+ "update:value",
47
+ "input",
48
+ "change"
49
+ ],
50
+ setup(__props, { emit: __emit }) {
51
+ const propValidityContract = { props: {
52
+ disabled: {
53
+ type: {
54
+ kind: "terminal",
55
+ name: "boolean"
56
+ },
57
+ required: false,
58
+ target: { attribute: "disabled" },
59
+ description: "Prevents typing, stepping and pointer or keyboard changes while keeping the value visible.",
60
+ default: false
61
+ },
62
+ label: {
63
+ type: {
64
+ kind: "terminal",
65
+ name: "string"
66
+ },
67
+ required: false,
68
+ target: { attribute: "aria-label" },
69
+ description: "Accessible name for the editing control.",
70
+ default: "Value"
71
+ },
72
+ max: {
73
+ type: {
74
+ kind: "terminal",
75
+ name: "number"
76
+ },
77
+ required: false,
78
+ target: { attribute: "max" },
79
+ description: "Inclusive upper bound for dragging, keyboard steps and exact entry.",
80
+ default: 100
81
+ },
82
+ min: {
83
+ type: {
84
+ kind: "terminal",
85
+ name: "number"
86
+ },
87
+ required: false,
88
+ target: { attribute: "min" },
89
+ description: "Inclusive lower bound for dragging, keyboard steps and exact entry.",
90
+ default: 0
91
+ },
92
+ name: {
93
+ type: {
94
+ kind: "terminal",
95
+ name: "string"
96
+ },
97
+ required: false,
98
+ target: { attribute: "name" },
99
+ description: "Optional numeric form field name.",
100
+ default: ""
101
+ },
102
+ size: {
103
+ type: {
104
+ kind: "terminal",
105
+ name: "keyword"
106
+ },
107
+ required: false,
108
+ target: { attribute: "size" },
109
+ description: "Shared field and button height.",
110
+ values: [
111
+ "sm",
112
+ "md",
113
+ "lg"
114
+ ],
115
+ default: "md"
116
+ },
117
+ step: {
118
+ type: {
119
+ kind: "terminal",
120
+ name: "number"
121
+ },
122
+ required: false,
123
+ target: { attribute: "step" },
124
+ description: "Positive native range and exact entry increment.",
125
+ default: 1
126
+ },
127
+ unit: {
128
+ type: {
129
+ kind: "terminal",
130
+ name: "string"
131
+ },
132
+ required: false,
133
+ target: { attribute: "unit" },
134
+ description: "Unit shown by the exact editor.",
135
+ default: ""
136
+ },
137
+ value: {
138
+ type: {
139
+ kind: "terminal",
140
+ name: "number"
141
+ },
142
+ required: false,
143
+ target: { attribute: "value" },
144
+ description: "Current numeric value. Native range and exact entry share bounds.",
145
+ default: 0
146
+ }
147
+ } };
148
+ const props = __props;
149
+ const inputTracking = vuePropInputs({
150
+ disabled: false,
151
+ label: "Value",
152
+ max: 100,
153
+ min: 0,
154
+ name: "",
155
+ size: "md",
156
+ step: 1,
157
+ unit: "",
158
+ value: 0
159
+ }, {
160
+ disabled: false,
161
+ label: "Value",
162
+ max: 100,
163
+ min: 0,
164
+ name: "",
165
+ size: "md",
166
+ step: 1,
167
+ unit: "",
168
+ value: 0
169
+ }, (name, value, source, values) => {
170
+ switch (name) {
171
+ case "disabled": return checkPropInput(value, {
172
+ kind: "terminal",
173
+ name: "boolean"
174
+ }, true, true);
175
+ case "label": return checkPropInput(value, {
176
+ kind: "terminal",
177
+ name: "string"
178
+ }, true, true);
179
+ case "max": return checkPropInput(value, {
180
+ kind: "terminal",
181
+ name: "number"
182
+ }, true, true);
183
+ case "min": return checkPropInput(value, {
184
+ kind: "terminal",
185
+ name: "number"
186
+ }, true, true);
187
+ case "name": return checkPropInput(value, {
188
+ kind: "terminal",
189
+ name: "string"
190
+ }, true, true);
191
+ case "size": return checkPropInput(value, {
192
+ kind: "terminal",
193
+ name: "keyword"
194
+ }, true, true);
195
+ case "step": return checkPropInput(value, {
196
+ kind: "terminal",
197
+ name: "number"
198
+ }, true, true);
199
+ case "unit": return checkPropInput(value, {
200
+ kind: "terminal",
201
+ name: "string"
202
+ }, true, true);
203
+ case "value": return checkPropInput(value, {
204
+ kind: "terminal",
205
+ name: "number"
206
+ }, true, true);
207
+ default: return { ok: false };
208
+ }
209
+ }, () => {
210
+ checkedProps.value;
211
+ });
212
+ const propInputs = inputTracking.inputs;
213
+ const checkedProps = computed(() => {
214
+ inputTracking.version.value;
215
+ return {
216
+ disabled: propInputs.value("disabled", props["disabled"], props[BINDING_INPUTS_PROP]),
217
+ label: propInputs.value("label", props["label"], props[BINDING_INPUTS_PROP]),
218
+ max: propInputs.value("max", props["max"], props[BINDING_INPUTS_PROP]),
219
+ min: propInputs.value("min", props["min"], props[BINDING_INPUTS_PROP]),
220
+ name: propInputs.value("name", props["name"], props[BINDING_INPUTS_PROP]),
221
+ size: propInputs.value("size", props["size"], props[BINDING_INPUTS_PROP]),
222
+ step: propInputs.value("step", props["step"], props[BINDING_INPUTS_PROP]),
223
+ unit: propInputs.value("unit", props["unit"], props[BINDING_INPUTS_PROP]),
224
+ value: propInputs.value("value", props["value"], props[BINDING_INPUTS_PROP])
225
+ };
226
+ });
227
+ const inputStatus = (name, handlesError) => {
228
+ checkedProps.value;
229
+ inputTracking.version.value;
230
+ return requireInputStatus(propInputs.status(name), handlesError);
231
+ };
232
+ checkedProps.value;
233
+ watchSyncEffect(() => {
234
+ checkedProps.value;
235
+ });
236
+ const reflectedProp = useReflectedProp();
237
+ const hydrationInstance = getCurrentInstance();
238
+ const emit = __emit;
239
+ const root = ref(null);
240
+ const rangeElement = useTemplateRef("rangeElement");
241
+ const current = initializedState(() => evaluateInput(() => {
242
+ return inputRead(checkedProps.value.value, propInputs.status("value"));
243
+ }), (next) => typeof next === "number" && Number.isFinite(next), copyStateSeed, () => warnUnless(false, "initializer:current", "State `current` does not satisfy its declared type."));
244
+ let guardedPrevious = null;
245
+ const guarded = computed(() => {
246
+ const candidate = concat(current.value, checkedProps.value.unit);
247
+ if (candidate === Symbol.for("html-next.invalid-result")) return guardedPrevious;
248
+ return guardedPrevious = candidate;
249
+ });
250
+ provide("html-next:ui-slider:current", current);
251
+ const declarationStatuses = { current: () => current.status() };
252
+ const declarationStatus = (name) => declarationStatuses[name]();
253
+ current.start();
254
+ checkHydratedRoot("span", "ui-slider");
255
+ /** The values the styles' :host() and :state() rules test. */
256
+ const hostState = computed(() => [checkedProps.value.size && "size", checkedProps.value.size != null && `size=${encodeURIComponent(checkedProps.value.size)}`].filter(Boolean).join(" "));
257
+ const isInputDetail = (detail) => detail !== null && typeof detail === "object" && !Array.isArray(detail) && typeof detail["value"] === "number" && Number.isFinite(detail["value"]) && Object.keys(detail).every((key) => ["value"].includes(key));
258
+ const dispatch = createDispatch(root, emit, {
259
+ checks: {
260
+ input: isInputDetail,
261
+ change: isInputDetail
262
+ },
263
+ modeled: ["value"]
264
+ });
265
+ useComponentHost(() => import("@threadlabs/looma/components/ui-slider/ui-slider.js"), {
266
+ root,
267
+ module: true,
268
+ dispatch,
269
+ acceptsState: (name, keys, value) => acceptsControllerWrite(value, { current: {
270
+ kind: "terminal",
271
+ name: "number"
272
+ } }[name], keys),
273
+ controllerSource: {
274
+ specifier: "../components/ui-slider/ui-slider.js",
275
+ definition: "./components/ui-slider/ui-slider.html"
276
+ },
277
+ props: checkedProps,
278
+ inputs: propInputs,
279
+ inputTracking,
280
+ propInputs: (name) => {
281
+ const incoming = hydrationInstance?.vnode.props;
282
+ const kebab = name.replace(/[A-Z]/g, (letter) => "-" + letter.toLowerCase());
283
+ return incoming !== null && incoming !== void 0 ? incoming[name] ?? incoming[kebab] ?? null : null;
284
+ },
285
+ propNames: [
286
+ "disabled",
287
+ "label",
288
+ "max",
289
+ "min",
290
+ "name",
291
+ "size",
292
+ "step",
293
+ "unit",
294
+ "value"
295
+ ],
296
+ propValidity: (name) => propValidityState({
297
+ contract: propValidityContract,
298
+ values: { ...props }
299
+ }, name),
300
+ refs: { range: rangeElement },
301
+ state: { current },
302
+ availability: { current: () => declarationStatus("current") }
303
+ });
304
+ return (_ctx, _cache) => {
305
+ return withDirectives((openBlock(), createElementBlock("span", mergeProps({ class: "ui-slider" }, unref(nativeAttrs)(_ctx.$attrs), {
306
+ "data-hn": "",
307
+ "data-ui-slider-prop-disabled": unref(reflectedProp)("disabled", "disabled", checkedProps.value.disabled, void 0, false),
308
+ "data-ui-slider-prop-label": unref(reflectedProp)("label", "label", checkedProps.value.label, void 0, false),
309
+ "data-ui-slider-prop-max": unref(reflectedProp)("max", "max", checkedProps.value.max, void 0, false),
310
+ "data-ui-slider-prop-min": unref(reflectedProp)("min", "min", checkedProps.value.min, void 0, false),
311
+ "data-ui-slider-prop-name": unref(reflectedProp)("name", "name", checkedProps.value.name, void 0, false),
312
+ "data-ui-slider-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
313
+ "data-ui-slider-prop-step": unref(reflectedProp)("step", "step", checkedProps.value.step, void 0, false),
314
+ "data-ui-slider-prop-unit": unref(reflectedProp)("unit", "unit", checkedProps.value.unit, void 0, false),
315
+ "data-ui-slider-prop-value": unref(reflectedProp)("value", "value", checkedProps.value.value, void 0, false),
316
+ "data-ui-slider-state": hostState.value || void 0,
317
+ ref_key: "root",
318
+ ref: root
319
+ }), [
320
+ createElementVNode("input", {
321
+ type: "range",
322
+ "data-ui-field-control": "",
323
+ "aria-label": checkedProps.value.label ?? void 0,
324
+ "aria-valuetext": guarded.value,
325
+ "^value": checkedProps.value.value?.toString(),
326
+ min: checkedProps.value.min?.toString(),
327
+ max: checkedProps.value.max?.toString(),
328
+ step: checkedProps.value.step?.toString(),
329
+ disabled: checkedProps.value.disabled ?? void 0,
330
+ name: checkedProps.value.name ?? void 0,
331
+ ref_key: "rangeElement",
332
+ ref: rangeElement
333
+ }, null, 8, _hoisted_2),
334
+ _cache[0] || (_cache[0] = createTextVNode(toDisplayString(" "), -1)),
335
+ (openBlock(true), createElementBlock(Fragment, null, renderList([unref(evaluateInput)(() => unref(concat)(unref(inputRead)(unref(current), declarationStatus("current")), unref(inputRead)(checkedProps.value.unit, inputStatus("unit", true))), unref(READY_INPUT))], (boundInput) => {
336
+ return openBlock(), createBlock(UiNumberInput_default, mergeProps({
337
+ class: "ui-number-input",
338
+ "data-slider-exact": "",
339
+ value: boundInput.value,
340
+ unit: checkedProps.value.unit,
341
+ min: checkedProps.value.min,
342
+ max: checkedProps.value.max,
343
+ step: checkedProps.value.step,
344
+ size: checkedProps.value.size,
345
+ disabled: checkedProps.value.disabled,
346
+ label: checkedProps.value.label
347
+ }, { ref_for: true }, { [unref(BINDING_INPUTS_PROP)]: {
348
+ value: () => boundInput,
349
+ unit: () => ({
350
+ value: checkedProps.value.unit,
351
+ status: inputStatus("unit", true)
352
+ }),
353
+ min: () => ({
354
+ value: checkedProps.value.min,
355
+ status: inputStatus("min", true)
356
+ }),
357
+ max: () => ({
358
+ value: checkedProps.value.max,
359
+ status: inputStatus("max", true)
360
+ }),
361
+ step: () => ({
362
+ value: checkedProps.value.step,
363
+ status: inputStatus("step", true)
364
+ }),
365
+ size: () => ({
366
+ value: checkedProps.value.size,
367
+ status: inputStatus("size", true)
368
+ }),
369
+ disabled: () => ({
370
+ value: checkedProps.value.disabled,
371
+ status: inputStatus("disabled", true)
372
+ }),
373
+ label: () => ({
374
+ value: checkedProps.value.label,
375
+ status: inputStatus("label", true)
376
+ })
377
+ } }), null, 16, [
378
+ "value",
379
+ "unit",
380
+ "min",
381
+ "max",
382
+ "step",
383
+ "size",
384
+ "disabled",
385
+ "label"
386
+ ]);
387
+ }), 256))
388
+ ], 16, _hoisted_1)), [[unref(vPropValidity), {
389
+ contract: propValidityContract,
390
+ values: { ...props }
391
+ }]]);
392
+ };
393
+ }
394
+ }), [["__scopeId", "data-v-12a66d57"]]);
395
+ //#endregion
396
+ export { UiSlider_default as t };
@@ -1,5 +1,5 @@
1
- import { a as concat, i as checkHydratedRoot, p as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { a as concat, b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
3
3
  import { computed, createElementBlock, createElementVNode, defineComponent, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiSpinner.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiStack.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -1,5 +1,5 @@
1
- import { a as concat, i as checkHydratedRoot, p as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { a as concat, b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, r as attribute, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
3
3
  import { t as UiSpinner_default } from "./UiSpinner.js";
4
4
  import { computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiStatusMessage.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, p as nativeAttrs, r as attribute, s as cycleCheckedComputed, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { c as inputRead, f as vPropValidity, i as checkPropInput, p as vuePropInputs, s as inputComputed, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, r as attribute, s as cycleCheckedComputed, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
+ import { c as inputComputed, i as checkPropInput, l as inputRead, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, mergeProps, openBlock, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiSwatch.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, o as createDispatch, t as _plugin_vue_export_helper_default, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
3
  import { r as vBindControl } from "./control.js";
4
4
  import { computed, createElementBlock, createElementVNode, createTextVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiSwitch.vue?vue&type=script&setup=true&lang.ts
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, o as createDispatch, t as _plugin_vue_export_helper_default, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiSwitcher.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, o as createDispatch, t as _plugin_vue_export_helper_default, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, renderSlot, unref, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiTable.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -1,5 +1,5 @@
1
- import { _ as uniqueKeys, a as concat, i as checkHydratedRoot, n as KeyedBoundary, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { a as concat, b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, n as KeyedBoundary, o as createDispatch, t as _plugin_vue_export_helper_default, v as uniqueKeys, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, r as acceptsControllerWrite, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
3
  import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, openBlock, provide, ref, renderList, renderSlot, toDisplayString, unref, useTemplateRef, watchSyncEffect, withCtx, withDirectives } from "vue";
4
4
  //#region .build/vue/UiTabs.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -329,6 +329,6 @@ var UiTabs_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
329
329
  }]]);
330
330
  };
331
331
  }
332
- }), [["__scopeId", "data-v-e6b61eb2"]]);
332
+ }), [["__scopeId", "data-v-f1705832"]]);
333
333
  //#endregion
334
334
  export { UiTabs_default as t };
@@ -1,5 +1,5 @@
1
- import { h as preserveRootFocus, i as checkHydratedRoot, p as nativeAttrs, t as _plugin_vue_export_helper_default, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { f as vPropValidity, i as checkPropInput, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, g as preserveRootFocus, i as checkHydratedRoot, m as nativeAttrs, t as _plugin_vue_export_helper_default } from "./_plugin-vue_export-helper.js";
2
+ import { i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP } from "./props.js";
3
3
  import { computed, createElementBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, useTemplateRef, watchSyncEffect, withDirectives } from "vue";
4
4
  //#region .build/vue/UiText.vue?vue&type=script&setup=true&lang.ts
5
5
  var _hoisted_1 = [
@@ -156,6 +156,20 @@ var _hoisted_11 = [
156
156
  "data-ui-text-prop-wrap",
157
157
  "data-ui-text-state"
158
158
  ];
159
+ var _hoisted_12 = [
160
+ "data-ui-text-prop-align",
161
+ "data-ui-text-prop-as",
162
+ "data-ui-text-prop-font",
163
+ "data-ui-text-prop-grow",
164
+ "data-ui-text-prop-size",
165
+ "data-ui-text-prop-tone",
166
+ "data-ui-text-prop-trim",
167
+ "data-ui-text-prop-truncate",
168
+ "data-ui-text-prop-variant",
169
+ "data-ui-text-prop-weight",
170
+ "data-ui-text-prop-wrap",
171
+ "data-ui-text-state"
172
+ ];
159
173
  //#endregion
160
174
  //#region .build/vue/UiText.vue
161
175
  var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE__ */ defineComponent({
@@ -195,7 +209,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
195
209
  },
196
210
  required: false,
197
211
  target: { attribute: "as" },
198
- description: "The native element the text renders: a paragraph by default, inline span, small, or strong within a line, a div for a block, a label for a control, or a\n heading, h2 to h6, below a Page Header's h1 and a Section's h2. A heading takes its size and weight from size and weight, like any other text.",
212
+ description: "The native element the text renders: a paragraph by default, inline span, small, or strong within a line, a div for a block, a label for a control, or a\n heading, h1 to h6. Choose its document level independently from its visual variant. The default body variant keeps the existing size and weight\n behavior.",
199
213
  values: [
200
214
  "p",
201
215
  "span",
@@ -203,6 +217,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
203
217
  "small",
204
218
  "strong",
205
219
  "label",
220
+ "h1",
206
221
  "h2",
207
222
  "h3",
208
223
  "h4",
@@ -296,9 +311,13 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
296
311
  },
297
312
  required: false,
298
313
  target: { attribute: "variant" },
299
- description: "body is running text. eyebrow is a short, uppercase, tracked label that names what follows, such as a group of links; code sets a value to copy or read\n exactly, such as an address, in the monospace face.",
314
+ description: "body is running text. display is a page title, heading names a section, label identifies a control, and caption is supporting text. These roles set their\n shared type scale, weight and leading; pair heading or display with an appropriate as heading element. eyebrow is a short, uppercase, tracked label that\n names what follows, such as a group of links; code sets a value to copy or read exactly, such as an address, in the monospace face.",
300
315
  values: [
301
316
  "body",
317
+ "display",
318
+ "heading",
319
+ "label",
320
+ "caption",
302
321
  "eyebrow",
303
322
  "code"
304
323
  ],
@@ -432,7 +451,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
432
451
  const reflectedProp = useReflectedProp();
433
452
  const root = useTemplateRef("@html-next/root");
434
453
  preserveRootFocus(root);
435
- checkHydratedRoot(checkedProps.value.as === "span" ? "span" : checkedProps.value.as === "div" ? "div" : checkedProps.value.as === "small" ? "small" : checkedProps.value.as === "strong" ? "strong" : checkedProps.value.as === "label" ? "label" : checkedProps.value.as === "h2" ? "h2" : checkedProps.value.as === "h3" ? "h3" : checkedProps.value.as === "h4" ? "h4" : checkedProps.value.as === "h5" ? "h5" : checkedProps.value.as === "h6" ? "h6" : "p", "ui-text");
454
+ checkHydratedRoot(checkedProps.value.as === "span" ? "span" : checkedProps.value.as === "div" ? "div" : checkedProps.value.as === "small" ? "small" : checkedProps.value.as === "strong" ? "strong" : checkedProps.value.as === "label" ? "label" : checkedProps.value.as === "h1" ? "h1" : checkedProps.value.as === "h2" ? "h2" : checkedProps.value.as === "h3" ? "h3" : checkedProps.value.as === "h4" ? "h4" : checkedProps.value.as === "h5" ? "h5" : checkedProps.value.as === "h6" ? "h6" : "p", "ui-text");
436
455
  /** The values the styles' :host() and :state() rules test. */
437
456
  const hostState = computed(() => [
438
457
  checkedProps.value.grow && "grow",
@@ -564,7 +583,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
564
583
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_5)), [[unref(vPropValidity), {
565
584
  contract: propValidityContract,
566
585
  values: { ...props }
567
- }]]) : checkedProps.value.as === "h2" ? withDirectives((openBlock(), createElementBlock("h2", mergeProps({
586
+ }]]) : checkedProps.value.as === "h1" ? withDirectives((openBlock(), createElementBlock("h1", mergeProps({
568
587
  key: 5,
569
588
  class: "ui-text"
570
589
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -586,7 +605,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
586
605
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_6)), [[unref(vPropValidity), {
587
606
  contract: propValidityContract,
588
607
  values: { ...props }
589
- }]]) : checkedProps.value.as === "h3" ? withDirectives((openBlock(), createElementBlock("h3", mergeProps({
608
+ }]]) : checkedProps.value.as === "h2" ? withDirectives((openBlock(), createElementBlock("h2", mergeProps({
590
609
  key: 6,
591
610
  class: "ui-text"
592
611
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -608,7 +627,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
608
627
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_7)), [[unref(vPropValidity), {
609
628
  contract: propValidityContract,
610
629
  values: { ...props }
611
- }]]) : checkedProps.value.as === "h4" ? withDirectives((openBlock(), createElementBlock("h4", mergeProps({
630
+ }]]) : checkedProps.value.as === "h3" ? withDirectives((openBlock(), createElementBlock("h3", mergeProps({
612
631
  key: 7,
613
632
  class: "ui-text"
614
633
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -630,7 +649,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
630
649
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_8)), [[unref(vPropValidity), {
631
650
  contract: propValidityContract,
632
651
  values: { ...props }
633
- }]]) : checkedProps.value.as === "h5" ? withDirectives((openBlock(), createElementBlock("h5", mergeProps({
652
+ }]]) : checkedProps.value.as === "h4" ? withDirectives((openBlock(), createElementBlock("h4", mergeProps({
634
653
  key: 8,
635
654
  class: "ui-text"
636
655
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -652,7 +671,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
652
671
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_9)), [[unref(vPropValidity), {
653
672
  contract: propValidityContract,
654
673
  values: { ...props }
655
- }]]) : checkedProps.value.as === "h6" ? withDirectives((openBlock(), createElementBlock("h6", mergeProps({
674
+ }]]) : checkedProps.value.as === "h5" ? withDirectives((openBlock(), createElementBlock("h5", mergeProps({
656
675
  key: 9,
657
676
  class: "ui-text"
658
677
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -674,7 +693,7 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
674
693
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_10)), [[unref(vPropValidity), {
675
694
  contract: propValidityContract,
676
695
  values: { ...props }
677
- }]]) : withDirectives((openBlock(), createElementBlock("p", mergeProps({
696
+ }]]) : checkedProps.value.as === "h6" ? withDirectives((openBlock(), createElementBlock("h6", mergeProps({
678
697
  key: 10,
679
698
  class: "ui-text"
680
699
  }, unref(nativeAttrs)(_ctx.$attrs), {
@@ -696,9 +715,31 @@ var UiText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PURE_
696
715
  }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_11)), [[unref(vPropValidity), {
697
716
  contract: propValidityContract,
698
717
  values: { ...props }
718
+ }]]) : withDirectives((openBlock(), createElementBlock("p", mergeProps({
719
+ key: 11,
720
+ class: "ui-text"
721
+ }, unref(nativeAttrs)(_ctx.$attrs), {
722
+ "data-hn": "",
723
+ "data-hn-ui-text": "",
724
+ "data-ui-text-prop-align": unref(reflectedProp)("align", "align", checkedProps.value.align, void 0, false),
725
+ "data-ui-text-prop-as": unref(reflectedProp)("as", "as", checkedProps.value.as, void 0, false),
726
+ "data-ui-text-prop-font": unref(reflectedProp)("font", "font", checkedProps.value.font, void 0, false),
727
+ "data-ui-text-prop-grow": unref(reflectedProp)("grow", "grow", checkedProps.value.grow, void 0, false),
728
+ "data-ui-text-prop-size": unref(reflectedProp)("size", "size", checkedProps.value.size, void 0, false),
729
+ "data-ui-text-prop-tone": unref(reflectedProp)("tone", "tone", checkedProps.value.tone, void 0, false),
730
+ "data-ui-text-prop-trim": unref(reflectedProp)("trim", "trim", checkedProps.value.trim, void 0, false),
731
+ "data-ui-text-prop-truncate": unref(reflectedProp)("truncate", "truncate", checkedProps.value.truncate, void 0, false),
732
+ "data-ui-text-prop-variant": unref(reflectedProp)("variant", "variant", checkedProps.value.variant, void 0, false),
733
+ "data-ui-text-prop-weight": unref(reflectedProp)("weight", "weight", checkedProps.value.weight, void 0, false),
734
+ "data-ui-text-prop-wrap": unref(reflectedProp)("wrap", "wrap", checkedProps.value.wrap, void 0, false),
735
+ "data-ui-text-state": hostState.value || void 0,
736
+ ref: "@html-next/root"
737
+ }), [renderSlot(_ctx.$slots, "default", {}, void 0, true)], 16, _hoisted_12)), [[unref(vPropValidity), {
738
+ contract: propValidityContract,
739
+ values: { ...props }
699
740
  }]]);
700
741
  };
701
742
  }
702
- }), [["__scopeId", "data-v-02dd2100"]]);
743
+ }), [["__scopeId", "data-v-386fa92e"]]);
703
744
  //#endregion
704
745
  export { UiText_default as t };
@@ -1,5 +1,5 @@
1
- import { i as checkHydratedRoot, o as createDispatch, p as nativeAttrs, t as _plugin_vue_export_helper_default, v as useComponentHost, y as useReflectedProp } from "./_plugin-vue_export-helper.js";
2
- import { a as checkedProp, f as vPropValidity, i as checkPropInput, l as propValidityState, p as vuePropInputs, t as BINDING_INPUTS_PROP } from "./props.js";
1
+ import { b as useReflectedProp, i as checkHydratedRoot, m as nativeAttrs, o as createDispatch, t as _plugin_vue_export_helper_default, y as useComponentHost } from "./_plugin-vue_export-helper.js";
2
+ import { a as checkedProp, i as checkPropInput, m as vuePropInputs, p as vPropValidity, t as BINDING_INPUTS_PROP, u as propValidityState } from "./props.js";
3
3
  import { n as readBoundControl, r as vBindControl } from "./control.js";
4
4
  import { computed, createElementBlock, defineComponent, getCurrentInstance, mergeProps, openBlock, ref, unref, watchSyncEffect, withDirectives } from "vue";
5
5
  //#region .build/vue/UiTextarea.vue?vue&type=script&setup=true&lang.ts