@yahoo/uds-v5-wip 1.1.2 → 1.2.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 (202) hide show
  1. package/dist/components/dist/accordion.config.d.ts +1 -2
  2. package/dist/components/dist/accordion.d.ts +1 -2
  3. package/dist/components/dist/accordion.js +9 -9
  4. package/dist/components/dist/alert.config.d.ts +1 -2
  5. package/dist/components/dist/alert.d.ts +1 -2
  6. package/dist/components/dist/alert.js +2 -2
  7. package/dist/components/dist/anchor.config.d.ts +1 -2
  8. package/dist/components/dist/anchor.d.ts +1 -2
  9. package/dist/components/dist/article.d.ts +1 -2
  10. package/dist/components/dist/aside.d.ts +1 -2
  11. package/dist/components/dist/avatar-group.config.d.ts +1 -2
  12. package/dist/components/dist/avatar-group.d.ts +1 -2
  13. package/dist/components/dist/avatar-group.js +6 -6
  14. package/dist/components/dist/avatar.config.d.ts +1 -2
  15. package/dist/components/dist/avatar.d.ts +1 -2
  16. package/dist/components/dist/avatar.js +3 -3
  17. package/dist/components/dist/badge.config.d.ts +1 -2
  18. package/dist/components/dist/badge.d.ts +1 -2
  19. package/dist/components/dist/badge.js +2 -2
  20. package/dist/components/dist/box.d.ts +1 -2
  21. package/dist/components/dist/breadcrumb.config.d.ts +1 -2
  22. package/dist/components/dist/breadcrumb.d.ts +1 -2
  23. package/dist/components/dist/breadcrumb.js +17 -17
  24. package/dist/components/dist/button.config.d.ts +1 -2
  25. package/dist/components/dist/button.d.ts +1 -2
  26. package/dist/components/dist/button.js +5 -5
  27. package/dist/components/dist/card.config.d.ts +1 -2
  28. package/dist/components/dist/card.d.ts +1 -2
  29. package/dist/components/dist/card.js +4 -4
  30. package/dist/components/dist/collapsible.config.d.ts +1 -2
  31. package/dist/components/dist/collapsible.d.ts +1 -2
  32. package/dist/components/dist/collapsible.js +3 -3
  33. package/dist/components/dist/command.config.d.ts +1 -2
  34. package/dist/components/dist/command.d.ts +1 -2
  35. package/dist/components/dist/command.js +21 -21
  36. package/dist/components/dist/control-color.config.d.ts +1 -2
  37. package/dist/components/dist/control-color.d.ts +1 -2
  38. package/dist/components/dist/control-color.js +6 -6
  39. package/dist/components/dist/control-curve.config.d.ts +1 -2
  40. package/dist/components/dist/control-curve.d.ts +1 -2
  41. package/dist/components/dist/control-curve.js +4 -4
  42. package/dist/components/dist/control-folder.config.d.ts +1 -2
  43. package/dist/components/dist/control-folder.d.ts +1 -2
  44. package/dist/components/dist/control-folder.js +6 -6
  45. package/dist/components/dist/control-group.config.d.ts +1 -2
  46. package/dist/components/dist/control-group.d.ts +1 -2
  47. package/dist/components/dist/control-group.js +3 -3
  48. package/dist/components/dist/control-knob.config.d.ts +1 -2
  49. package/dist/components/dist/control-knob.d.ts +1 -2
  50. package/dist/components/dist/control-knob.js +8 -8
  51. package/dist/components/dist/control-panel.config.d.ts +1 -2
  52. package/dist/components/dist/control-panel.d.ts +1 -2
  53. package/dist/components/dist/control-panel.js +3 -3
  54. package/dist/components/dist/control-select.config.d.ts +1 -2
  55. package/dist/components/dist/control-select.d.ts +1 -2
  56. package/dist/components/dist/control-select.js +8 -8
  57. package/dist/components/dist/control-slider.config.d.ts +1 -2
  58. package/dist/components/dist/control-slider.d.ts +1 -2
  59. package/dist/components/dist/control-slider.js +8 -8
  60. package/dist/components/dist/control-spring.config.d.ts +1 -2
  61. package/dist/components/dist/control-spring.d.ts +1 -2
  62. package/dist/components/dist/control-spring.js +12 -12
  63. package/dist/components/dist/control-stepper.config.d.ts +1 -2
  64. package/dist/components/dist/control-stepper.d.ts +1 -2
  65. package/dist/components/dist/control-stepper.js +6 -6
  66. package/dist/components/dist/control-toggle.config.d.ts +1 -2
  67. package/dist/components/dist/control-toggle.d.ts +1 -2
  68. package/dist/components/dist/control-toggle.js +3 -3
  69. package/dist/components/dist/createSlot.d.ts +1 -2
  70. package/dist/components/dist/createSlot.js +2 -2
  71. package/dist/components/dist/dropdown.config.d.ts +1 -2
  72. package/dist/components/dist/dropdown.d.ts +1 -2
  73. package/dist/components/dist/dropdown.js +10 -10
  74. package/dist/components/dist/empty-state.config.d.ts +1 -2
  75. package/dist/components/dist/empty-state.d.ts +1 -2
  76. package/dist/components/dist/empty-state.js +6 -6
  77. package/dist/components/dist/footer.d.ts +1 -2
  78. package/dist/components/dist/grid.d.ts +1 -2
  79. package/dist/components/dist/grid.js +2 -2
  80. package/dist/components/dist/header.d.ts +1 -2
  81. package/dist/components/dist/hstack.d.ts +1 -2
  82. package/dist/components/dist/hstack.js +1 -1
  83. package/dist/components/dist/image.d.ts +1 -2
  84. package/dist/components/dist/input.config.d.ts +1 -2
  85. package/dist/components/dist/input.d.ts +1 -2
  86. package/dist/components/dist/input.js +1 -1
  87. package/dist/components/dist/item.config.d.ts +1 -2
  88. package/dist/components/dist/item.d.ts +1 -2
  89. package/dist/components/dist/item.js +8 -8
  90. package/dist/components/dist/list.d.ts +1 -2
  91. package/dist/components/dist/list.js +1 -1
  92. package/dist/components/dist/main.d.ts +1 -2
  93. package/dist/components/dist/modal.config.d.ts +1 -2
  94. package/dist/components/dist/modal.d.ts +1 -2
  95. package/dist/components/dist/modal.js +8 -8
  96. package/dist/components/dist/nav-header.config.d.ts +1 -2
  97. package/dist/components/dist/nav-header.d.ts +1 -2
  98. package/dist/components/dist/nav-header.js +3 -3
  99. package/dist/components/dist/nav.d.ts +1 -2
  100. package/dist/components/dist/preset-bar.config.d.ts +1 -2
  101. package/dist/components/dist/preset-bar.d.ts +1 -2
  102. package/dist/components/dist/preset-bar.js +10 -10
  103. package/dist/components/dist/presets/index.d.ts +2 -3
  104. package/dist/components/dist/presets/index.js +1 -1
  105. package/dist/components/dist/pressable.d.ts +1 -2
  106. package/dist/components/dist/progress.config.d.ts +1 -2
  107. package/dist/components/dist/progress.d.ts +1 -2
  108. package/dist/components/dist/progress.js +6 -6
  109. package/dist/components/dist/section.d.ts +1 -2
  110. package/dist/components/dist/select.config.d.ts +1 -2
  111. package/dist/components/dist/select.d.ts +1 -2
  112. package/dist/components/dist/sheet.config.d.ts +1 -2
  113. package/dist/components/dist/sheet.d.ts +1 -2
  114. package/dist/components/dist/sheet.js +8 -8
  115. package/dist/components/dist/sidebar.config.d.ts +1 -2
  116. package/dist/components/dist/sidebar.d.ts +1 -2
  117. package/dist/components/dist/sidebar.js +42 -42
  118. package/dist/components/dist/skeleton.config.d.ts +1 -2
  119. package/dist/components/dist/skeleton.d.ts +1 -2
  120. package/dist/components/dist/skeleton.js +1 -1
  121. package/dist/components/dist/slider.config.d.ts +1 -2
  122. package/dist/components/dist/slider.d.ts +1 -2
  123. package/dist/components/dist/slider.js +5 -5
  124. package/dist/components/dist/spinner.config.d.ts +1 -2
  125. package/dist/components/dist/spinner.d.ts +1 -2
  126. package/dist/components/dist/spinner.js +2 -2
  127. package/dist/components/dist/svg.d.ts +1 -2
  128. package/dist/components/dist/switch.config.d.ts +1 -2
  129. package/dist/components/dist/switch.d.ts +1 -2
  130. package/dist/components/dist/switch.js +5 -5
  131. package/dist/components/dist/table.d.ts +1 -2
  132. package/dist/components/dist/tabs.config.d.ts +1 -2
  133. package/dist/components/dist/tabs.d.ts +1 -2
  134. package/dist/components/dist/tabs.js +8 -8
  135. package/dist/components/dist/text.config.d.ts +1 -2
  136. package/dist/components/dist/text.d.ts +1 -2
  137. package/dist/components/dist/textarea.config.d.ts +1 -2
  138. package/dist/components/dist/textarea.d.ts +1 -2
  139. package/dist/components/dist/toast.config.d.ts +1 -2
  140. package/dist/components/dist/toast.d.ts +1 -2
  141. package/dist/components/dist/toast.js +7 -7
  142. package/dist/components/dist/tooltip.config.d.ts +1 -2
  143. package/dist/components/dist/tooltip.d.ts +1 -2
  144. package/dist/components/dist/tooltip.js +3 -3
  145. package/dist/components/dist/vstack.d.ts +1 -2
  146. package/dist/components/dist/vstack.js +1 -1
  147. package/dist/components/presets/index.d.ts +1 -1
  148. package/dist/components/presets/index.js +1 -1
  149. package/dist/config.d.ts +976 -976
  150. package/dist/core/dist/createComponent.d.ts +2 -1
  151. package/dist/core/dist/createComponentExample.d.ts +2 -1
  152. package/dist/core/dist/createProvider.d.ts +2 -1
  153. package/dist/core/dist/generated/stylePropsTwMap.d.ts +2 -1
  154. package/dist/core/dist/getComponentStyles.d.ts +2 -1
  155. package/dist/core/dist/getStyles.d.ts +2 -1
  156. package/dist/core/dist/macros.d.ts +2 -1
  157. package/dist/core/dist/propMappings.d.ts +2 -1
  158. package/dist/core/dist/resolveMotionState.d.ts +2 -1
  159. package/dist/core/dist/transformPreset.d.ts +2 -1
  160. package/dist/core/dist/withDefaultStyleProps.d.ts +2 -1
  161. package/dist/foundational-presets/dist/boldVibrant.d.ts +991 -990
  162. package/dist/foundational-presets/dist/brutalist.d.ts +991 -990
  163. package/dist/foundational-presets/dist/candy.d.ts +991 -990
  164. package/dist/foundational-presets/dist/cleanMinimalist.d.ts +991 -990
  165. package/dist/foundational-presets/dist/corporate.d.ts +991 -990
  166. package/dist/foundational-presets/dist/darkMoody.d.ts +991 -990
  167. package/dist/foundational-presets/dist/defaultPreset.d.ts +977 -976
  168. package/dist/foundational-presets/dist/forest.d.ts +991 -990
  169. package/dist/foundational-presets/dist/highContrast.d.ts +991 -990
  170. package/dist/foundational-presets/dist/lavender.d.ts +991 -990
  171. package/dist/foundational-presets/dist/luxury.d.ts +991 -990
  172. package/dist/foundational-presets/dist/monochrome.d.ts +991 -990
  173. package/dist/foundational-presets/dist/motion.d.ts +2 -1
  174. package/dist/foundational-presets/dist/neonCyber.d.ts +991 -990
  175. package/dist/foundational-presets/dist/newspaper.d.ts +991 -990
  176. package/dist/foundational-presets/dist/ocean.d.ts +991 -990
  177. package/dist/foundational-presets/dist/slate.d.ts +991 -990
  178. package/dist/foundational-presets/dist/sunset.d.ts +991 -990
  179. package/dist/foundational-presets/dist/terminal.d.ts +991 -990
  180. package/dist/foundational-presets/dist/warmOrganic.d.ts +991 -990
  181. package/dist/presets/dist/boldVibrant.d.ts +1 -2
  182. package/dist/presets/dist/brutalist.d.ts +1 -2
  183. package/dist/presets/dist/candy.d.ts +1 -2
  184. package/dist/presets/dist/cleanMinimalist.d.ts +1 -2
  185. package/dist/presets/dist/corporate.d.ts +1 -2
  186. package/dist/presets/dist/darkMoody.d.ts +1 -2
  187. package/dist/presets/dist/defaultPreset.d.ts +1 -2
  188. package/dist/presets/dist/defaultPreset.js +1 -1
  189. package/dist/presets/dist/forest.d.ts +1 -2
  190. package/dist/presets/dist/highContrast.d.ts +1 -2
  191. package/dist/presets/dist/lavender.d.ts +1 -2
  192. package/dist/presets/dist/luxury.d.ts +1 -2
  193. package/dist/presets/dist/monochrome.d.ts +1 -2
  194. package/dist/presets/dist/neonCyber.d.ts +1 -2
  195. package/dist/presets/dist/newspaper.d.ts +1 -2
  196. package/dist/presets/dist/ocean.d.ts +1 -2
  197. package/dist/presets/dist/slate.d.ts +1 -2
  198. package/dist/presets/dist/sunset.d.ts +1 -2
  199. package/dist/presets/dist/terminal.d.ts +1 -2
  200. package/dist/presets/dist/warmOrganic.d.ts +1 -2
  201. package/dist/tsconfig.tsbuildinfo +1 -1
  202. package/package.json +3 -3
@@ -26,32 +26,32 @@ const ControlSelect = createComponent(({ props, label, value, options, onChange
26
26
  return () => document.removeEventListener("mousedown", handleClickOutside);
27
27
  }, [isOpen]);
28
28
  const activeLabel = options.find((o) => o.id === value)?.label ?? value;
29
- return /* @__PURE__ */ jsxs("div", {
29
+ return jsxs("div", {
30
30
  ref: containerRef,
31
31
  ...props.root,
32
- children: [/* @__PURE__ */ jsxs("div", {
32
+ children: [jsxs("div", {
33
33
  ...props.header,
34
- children: [/* @__PURE__ */ jsx("span", {
34
+ children: [jsx("span", {
35
35
  ...props.label,
36
36
  children: label
37
- }), /* @__PURE__ */ jsx("button", {
37
+ }), jsx("button", {
38
38
  type: "button",
39
39
  onClick: toggleOpen,
40
40
  "aria-expanded": isOpen,
41
41
  ...props.trigger,
42
- children: /* @__PURE__ */ jsx("span", {
42
+ children: jsx("span", {
43
43
  ...props.triggerLabel,
44
44
  children: activeLabel
45
45
  })
46
46
  })]
47
- }), isOpen && /* @__PURE__ */ jsx("div", {
47
+ }), isOpen && jsx("div", {
48
48
  ...props.dropdown,
49
- children: options.map((option) => /* @__PURE__ */ jsx("button", {
49
+ children: options.map((option) => jsx("button", {
50
50
  type: "button",
51
51
  onClick: () => handleSelect(option.id),
52
52
  style: { backgroundColor: option.id === value ? "var(--uds-bg-tertiary)" : void 0 },
53
53
  ...props.option,
54
- children: /* @__PURE__ */ jsx("span", {
54
+ children: jsx("span", {
55
55
  ...props.optionLabel,
56
56
  children: option.label
57
57
  })
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/control-slider.config.d.ts
3
- //#region src/control-slider.config.d.ts
4
3
  declare const controlSliderConfig: ComponentConfig<{
5
4
  ControlSlider: {
6
5
  readonly base: {
@@ -100,6 +99,6 @@ declare const controlSliderConfig: ComponentConfig<{
100
99
  };
101
100
  };
102
101
  }, {}>;
103
- type ControlSliderConfig = typeof controlSliderConfig; //#endregion
102
+ type ControlSliderConfig = typeof controlSliderConfig;
104
103
  //#endregion
105
104
  export { ControlSliderConfig, controlSliderConfig };
@@ -3,7 +3,6 @@ import * as _$react from "react";
3
3
  import * as _$_uds_types0 from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/control-slider.d.ts
6
- //#region src/control-slider.d.ts
7
6
  /**
8
7
  * @description A scrub-style slider for precise numeric value selection
9
8
  */
@@ -123,6 +122,6 @@ declare const ControlSlider: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
123
122
  label: "span";
124
123
  value: "span";
125
124
  }>>;
126
- type ControlSliderProps = React.ComponentProps<typeof ControlSlider>; //#endregion
125
+ type ControlSliderProps = React.ComponentProps<typeof ControlSlider>;
127
126
  //#endregion
128
127
  export { ControlSlider, ControlSliderProps };
@@ -48,35 +48,35 @@ const ControlSlider = createComponent(({ props, label, value, min, max, step, on
48
48
  const onPointerUp = useCallback(() => {
49
49
  dragging.current = false;
50
50
  }, []);
51
- return /* @__PURE__ */ jsxs("div", {
51
+ return jsxs("div", {
52
52
  ...props.root,
53
53
  children: [
54
- /* @__PURE__ */ jsxs("div", {
54
+ jsxs("div", {
55
55
  ...props.lane,
56
56
  ref: trackRef,
57
57
  onPointerDown,
58
58
  onPointerMove,
59
59
  onPointerUp,
60
60
  children: [
61
- dotCount > 0 && /* @__PURE__ */ jsx("div", {
61
+ dotCount > 0 && jsx("div", {
62
62
  ...props.markers,
63
- children: Array.from({ length: dotCount }, (_, i) => i + 1).map((n) => /* @__PURE__ */ jsx("span", { ...props.marker }, n))
63
+ children: Array.from({ length: dotCount }, (_, i) => i + 1).map((n) => jsx("span", { ...props.marker }, n))
64
64
  }),
65
- /* @__PURE__ */ jsx("div", {
65
+ jsx("div", {
66
66
  ...props.fill,
67
67
  style: { width: `${pct}%` }
68
68
  }),
69
- /* @__PURE__ */ jsx("div", {
69
+ jsx("div", {
70
70
  ...props.thumb,
71
71
  style: { left: `${pct}%` }
72
72
  })
73
73
  ]
74
74
  }),
75
- /* @__PURE__ */ jsx("span", {
75
+ jsx("span", {
76
76
  ...props.label,
77
77
  children: label
78
78
  }),
79
- /* @__PURE__ */ jsxs("span", {
79
+ jsxs("span", {
80
80
  ...props.value,
81
81
  children: [value, unit]
82
82
  })
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/control-spring.config.d.ts
3
- //#region src/control-spring.config.d.ts
4
3
  declare const controlSpringConfig: ComponentConfig<{
5
4
  ControlSpring: {
6
5
  readonly base: {
@@ -413,6 +412,6 @@ declare const controlSpringConfig: ComponentConfig<{
413
412
  };
414
413
  };
415
414
  }, {}>;
416
- type ControlSpringConfig = typeof controlSpringConfig; //#endregion
415
+ type ControlSpringConfig = typeof controlSpringConfig;
417
416
  //#endregion
418
417
  export { ControlSpringConfig, controlSpringConfig };
@@ -3,7 +3,6 @@ import * as _$react from "react";
3
3
  import * as _$_uds_types0 from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/control-spring.d.ts
6
- //#region src/control-spring.d.ts
7
6
  interface SpringConfig {
8
7
  stiffness: number;
9
8
  damping: number;
@@ -435,6 +434,6 @@ declare const ControlSpring: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
435
434
  label: "span";
436
435
  fields: "div";
437
436
  }>>;
438
- type ControlSpringProps = React.ComponentProps<typeof ControlSpring>; //#endregion
437
+ type ControlSpringProps = React.ComponentProps<typeof ControlSpring>;
439
438
  //#endregion
440
439
  export { ControlSpring, ControlSpringProps, SpringConfig };
@@ -66,24 +66,24 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
66
66
  mass: val
67
67
  });
68
68
  }, [onChange, value]);
69
- return /* @__PURE__ */ jsxs("div", {
69
+ return jsxs("div", {
70
70
  ...props.root,
71
71
  children: [
72
- /* @__PURE__ */ jsxs("div", {
72
+ jsxs("div", {
73
73
  ...props.header,
74
- children: [/* @__PURE__ */ jsx("span", {
74
+ children: [jsx("span", {
75
75
  ...props.label,
76
76
  children: label
77
- }), /* @__PURE__ */ jsx(ControlGroup, {
77
+ }), jsx(ControlGroup, {
78
78
  options: MODE_OPTIONS,
79
79
  value: mode,
80
80
  onChange: (id) => setMode(id),
81
81
  size: "sm"
82
82
  })]
83
83
  }),
84
- mode === "simple" ? /* @__PURE__ */ jsxs("div", {
84
+ mode === "simple" ? jsxs("div", {
85
85
  ...props.fields,
86
- children: [/* @__PURE__ */ jsx(ControlSlider, {
86
+ children: [jsx(ControlSlider, {
87
87
  label: "Duration",
88
88
  value: Math.round(simple.visualDuration * 100) / 100,
89
89
  onChange: handleVisualDuration,
@@ -91,7 +91,7 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
91
91
  max: 5,
92
92
  step: .05,
93
93
  unit: "s"
94
- }), /* @__PURE__ */ jsx(ControlSlider, {
94
+ }), jsx(ControlSlider, {
95
95
  label: "Bounce",
96
96
  value: Math.round(simple.bounce * 100) / 100,
97
97
  onChange: handleBounce,
@@ -99,10 +99,10 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
99
99
  max: 1,
100
100
  step: .05
101
101
  })]
102
- }) : /* @__PURE__ */ jsxs("div", {
102
+ }) : jsxs("div", {
103
103
  ...props.fields,
104
104
  children: [
105
- /* @__PURE__ */ jsx(ControlSlider, {
105
+ jsx(ControlSlider, {
106
106
  label: "Stiffness",
107
107
  value: Math.round(safeValue.stiffness),
108
108
  onChange: handleStiffness,
@@ -110,7 +110,7 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
110
110
  max: 1e3,
111
111
  step: 1
112
112
  }),
113
- /* @__PURE__ */ jsx(ControlSlider, {
113
+ jsx(ControlSlider, {
114
114
  label: "Damping",
115
115
  value: Math.round(safeValue.damping * 10) / 10,
116
116
  onChange: handleDamping,
@@ -118,7 +118,7 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
118
118
  max: 100,
119
119
  step: .5
120
120
  }),
121
- /* @__PURE__ */ jsx(ControlSlider, {
121
+ jsx(ControlSlider, {
122
122
  label: "Mass",
123
123
  value: Math.round(safeValue.mass * 10) / 10,
124
124
  onChange: handleMass,
@@ -128,7 +128,7 @@ const ControlSpring = createComponent(({ props, label, value, onChange }) => {
128
128
  })
129
129
  ]
130
130
  }),
131
- /* @__PURE__ */ jsx(ControlCurve, { config: safeValue })
131
+ jsx(ControlCurve, { config: safeValue })
132
132
  ]
133
133
  });
134
134
  });
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/control-stepper.config.d.ts
3
- //#region src/control-stepper.config.d.ts
4
3
  declare const controlStepperConfig: ComponentConfig<{
5
4
  ControlStepper: {
6
5
  readonly base: {
@@ -1080,6 +1079,6 @@ declare const controlStepperConfig: ComponentConfig<{
1080
1079
  };
1081
1080
  };
1082
1081
  }, {}>;
1083
- type ControlStepperConfig = typeof controlStepperConfig; //#endregion
1082
+ type ControlStepperConfig = typeof controlStepperConfig;
1084
1083
  //#endregion
1085
1084
  export { ControlStepperConfig, controlStepperConfig };
@@ -3,7 +3,6 @@ import * as _$react from "react";
3
3
  import * as _$_uds_types0 from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/control-stepper.d.ts
6
- //#region src/control-stepper.d.ts
7
6
  /**
8
7
  * @description A numeric stepper with increment/decrement buttons and direct text editing
9
8
  */
@@ -1100,6 +1099,6 @@ declare const ControlStepper: _$react.FC<_$_uds_types0.CreateComponentProps<Comp
1100
1099
  decrement: "button";
1101
1100
  label: "span";
1102
1101
  }>>;
1103
- type ControlStepperProps = React.ComponentProps<typeof ControlStepper>; //#endregion
1102
+ type ControlStepperProps = React.ComponentProps<typeof ControlStepper>;
1104
1103
  //#endregion
1105
1104
  export { ControlStepper, ControlStepperProps };
@@ -57,19 +57,19 @@ const ControlStepper = createComponent(({ props, value, onChange, min = Number.N
57
57
  handleIncrement,
58
58
  handleDecrement
59
59
  ]);
60
- return /* @__PURE__ */ jsxs("div", {
60
+ return jsxs("div", {
61
61
  "data-disabled": disabled || void 0,
62
62
  ...props.root,
63
- children: [label && /* @__PURE__ */ jsx("span", {
63
+ children: [label && jsx("span", {
64
64
  ...props.label,
65
65
  children: label
66
- }), /* @__PURE__ */ jsxs("div", {
66
+ }), jsxs("div", {
67
67
  style: {
68
68
  display: "flex",
69
69
  gap: "1px"
70
70
  },
71
71
  children: [
72
- /* @__PURE__ */ jsx("button", {
72
+ jsx("button", {
73
73
  type: "button",
74
74
  onClick: handleDecrement,
75
75
  disabled: disabled || value <= min,
@@ -78,7 +78,7 @@ const ControlStepper = createComponent(({ props, value, onChange, min = Number.N
78
78
  ...props.decrement,
79
79
  children: "-"
80
80
  }),
81
- /* @__PURE__ */ jsx("input", {
81
+ jsx("input", {
82
82
  type: "text",
83
83
  inputMode: "decimal",
84
84
  value,
@@ -92,7 +92,7 @@ const ControlStepper = createComponent(({ props, value, onChange, min = Number.N
92
92
  role: "spinbutton",
93
93
  ...props.input
94
94
  }),
95
- /* @__PURE__ */ jsx("button", {
95
+ jsx("button", {
96
96
  type: "button",
97
97
  onClick: handleIncrement,
98
98
  disabled: disabled || value >= max,
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/control-toggle.config.d.ts
3
- //#region src/control-toggle.config.d.ts
4
3
  declare const controlToggleConfig: ComponentConfig<{
5
4
  ControlToggle: {
6
5
  readonly base: {
@@ -403,6 +402,6 @@ declare const controlToggleConfig: ComponentConfig<{
403
402
  };
404
403
  };
405
404
  }, {}>;
406
- type ControlToggleConfig = typeof controlToggleConfig; //#endregion
405
+ type ControlToggleConfig = typeof controlToggleConfig;
407
406
  //#endregion
408
407
  export { ControlToggleConfig, controlToggleConfig };
@@ -3,7 +3,6 @@ import * as _$react from "react";
3
3
  import * as _$_uds_types0 from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/control-toggle.d.ts
6
- //#region src/control-toggle.d.ts
7
6
  /**
8
7
  * @description A labeled on/off toggle using a segmented control
9
8
  */
@@ -416,6 +415,6 @@ declare const ControlToggle: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
416
415
  root: "div";
417
416
  label: "span";
418
417
  }>>;
419
- type ControlToggleProps = React.ComponentProps<typeof ControlToggle>; //#endregion
418
+ type ControlToggleProps = React.ComponentProps<typeof ControlToggle>;
420
419
  //#endregion
421
420
  export { ControlToggle, ControlToggleProps };
@@ -19,12 +19,12 @@ const ControlToggle = createComponent(({ props, label, value, onChange }) => {
19
19
  const handleChange = useCallback((id) => {
20
20
  onChange(id === "on");
21
21
  }, [onChange]);
22
- return /* @__PURE__ */ jsxs("div", {
22
+ return jsxs("div", {
23
23
  ...props.root,
24
- children: [/* @__PURE__ */ jsx("span", {
24
+ children: [jsx("span", {
25
25
  ...props.label,
26
26
  children: label
27
- }), /* @__PURE__ */ jsx(ControlGroup, {
27
+ }), jsx(ControlGroup, {
28
28
  options: OPTIONS,
29
29
  value: value ? "on" : "off",
30
30
  onChange: handleChange,
@@ -1,9 +1,8 @@
1
1
  import { ComponentType, ReactNode } from "react";
2
2
 
3
3
  //#region ../components/dist/createSlot.d.ts
4
- //#region src/createSlot.d.ts
5
4
  declare function createSlot<T extends ComponentType<{
6
5
  children?: ReactNode;
7
- }>>(): T; //#endregion
6
+ }>>(): T;
8
7
  //#endregion
9
8
  export { createSlot };
@@ -34,13 +34,13 @@ function createSlot() {
34
34
  }
35
35
  return child;
36
36
  });
37
- return /* @__PURE__ */ jsx(SlotClone, {
37
+ return jsx(SlotClone, {
38
38
  ...slotProps,
39
39
  ref,
40
40
  children: hasChildren ? cloneElement(newElement, void 0, newChildren) : null
41
41
  });
42
42
  }
43
- return /* @__PURE__ */ jsx(SlotClone, {
43
+ return jsx(SlotClone, {
44
44
  ...slotProps,
45
45
  ref,
46
46
  children
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/dropdown.config.d.ts
3
- //#region src/dropdown.config.d.ts
4
3
  declare const dropdownConfig: ComponentConfig<{
5
4
  Dropdown: {
6
5
  readonly base: {
@@ -916,6 +915,6 @@ declare const dropdownConfig: ComponentConfig<{
916
915
  };
917
916
  };
918
917
  }, {}>;
919
- type DropdownConfig = typeof dropdownConfig; //#endregion
918
+ type DropdownConfig = typeof dropdownConfig;
920
919
  //#endregion
921
920
  export { DropdownConfig, dropdownConfig };
@@ -3,7 +3,6 @@ import * as _$react from "react";
3
3
  import * as _$_uds_types0 from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/dropdown.d.ts
6
- //#region src/dropdown.d.ts
7
6
  interface DropdownItem {
8
7
  label: string;
9
8
  shortcut?: string;
@@ -946,6 +945,6 @@ declare const Dropdown: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentC
946
945
  shortcut: "span";
947
946
  separator: "div";
948
947
  destructiveItem: "div";
949
- }>>; //#endregion
948
+ }>>;
950
949
  //#endregion
951
950
  export { Dropdown, DropdownEntry, DropdownItem, DropdownSeparator };
@@ -22,10 +22,10 @@ const Dropdown = createComponent(({ props, children, trigger, items = [], align
22
22
  document.addEventListener("mousedown", handleClick);
23
23
  return () => document.removeEventListener("mousedown", handleClick);
24
24
  }, []);
25
- return /* @__PURE__ */ jsxs("div", {
25
+ return jsxs("div", {
26
26
  ref,
27
27
  ...props.trigger,
28
- children: [/* @__PURE__ */ jsx("div", {
28
+ children: [jsx("div", {
29
29
  role: "button",
30
30
  tabIndex: 0,
31
31
  onClick: () => setOpen(!open),
@@ -39,12 +39,12 @@ const Dropdown = createComponent(({ props, children, trigger, items = [], align
39
39
  WebkitUserSelect: "none"
40
40
  },
41
41
  children: trigger
42
- }), open && /* @__PURE__ */ jsx("div", {
42
+ }), open && jsx("div", {
43
43
  "data-state": state,
44
44
  ...props.menu,
45
45
  style: menuStyle,
46
46
  children: [...items.map((entry, i) => {
47
- if ("type" in entry && entry.type === "separator") return /* @__PURE__ */ jsx("div", { ...props.separator }, `sep-${i}`);
47
+ if ("type" in entry && entry.type === "separator") return jsx("div", { ...props.separator }, `sep-${i}`);
48
48
  const item = entry;
49
49
  const handleClick = () => {
50
50
  item.onClick?.();
@@ -56,30 +56,30 @@ const Dropdown = createComponent(({ props, children, trigger, items = [], align
56
56
  setOpen(false);
57
57
  }
58
58
  };
59
- if (item.destructive) return /* @__PURE__ */ jsxs("div", {
59
+ if (item.destructive) return jsxs("div", {
60
60
  ...props.destructiveItem,
61
61
  role: "menuitem",
62
62
  tabIndex: 0,
63
63
  onClick: handleClick,
64
64
  onKeyDown: handleKeyDown,
65
- children: [/* @__PURE__ */ jsx("span", {
65
+ children: [jsx("span", {
66
66
  ...props.itemText,
67
67
  children: item.label
68
- }), item.shortcut && /* @__PURE__ */ jsx("span", {
68
+ }), item.shortcut && jsx("span", {
69
69
  ...props.shortcut,
70
70
  children: item.shortcut
71
71
  })]
72
72
  }, item.label);
73
- return /* @__PURE__ */ jsxs("div", {
73
+ return jsxs("div", {
74
74
  ...props.item,
75
75
  role: "menuitem",
76
76
  tabIndex: 0,
77
77
  onClick: handleClick,
78
78
  onKeyDown: handleKeyDown,
79
- children: [/* @__PURE__ */ jsx("span", {
79
+ children: [jsx("span", {
80
80
  ...props.itemText,
81
81
  children: item.label
82
- }), item.shortcut && /* @__PURE__ */ jsx("span", {
82
+ }), item.shortcut && jsx("span", {
83
83
  ...props.shortcut,
84
84
  children: item.shortcut
85
85
  })]
@@ -1,6 +1,5 @@
1
1
  import { ComponentConfig } from "../../config/dist/createConfig.js";
2
2
  //#region ../components/dist/empty-state.config.d.ts
3
- //#region src/empty-state.config.d.ts
4
3
  declare const emptyStateConfig: ComponentConfig<{
5
4
  EmptyState: {
6
5
  readonly base: {
@@ -392,6 +391,6 @@ declare const emptyStateConfig: ComponentConfig<{
392
391
  };
393
392
  };
394
393
  }, {}>;
395
- type EmptyStateConfig = typeof emptyStateConfig; //#endregion
394
+ type EmptyStateConfig = typeof emptyStateConfig;
396
395
  //#endregion
397
396
  export { EmptyStateConfig, emptyStateConfig };
@@ -4,7 +4,6 @@ import { ReactNode } from "react";
4
4
  import * as _$_uds_types0 from "@uds/types";
5
5
 
6
6
  //#region ../components/dist/empty-state.d.ts
7
- //#region src/empty-state.d.ts
8
7
  /**
9
8
  * @description A centered placeholder shown when a view has no content, with optional icon, title, description, and actions
10
9
  */
@@ -412,6 +411,6 @@ declare const EmptyState: _$react.FC<_$_uds_types0.CreateComponentProps<Componen
412
411
  description: "div";
413
412
  actions: "div";
414
413
  }>>;
415
- type EmptyStateProps = React.ComponentProps<typeof EmptyState>; //#endregion
414
+ type EmptyStateProps = React.ComponentProps<typeof EmptyState>;
416
415
  //#endregion
417
416
  export { EmptyState, EmptyStateProps };
@@ -5,25 +5,25 @@ import { jsx, jsxs } from "react/jsx-runtime";
5
5
  /**
6
6
  * @description A centered placeholder shown when a view has no content, with optional icon, title, description, and actions
7
7
  */
8
- const EmptyState = createComponent(({ props, children, icon, title, description, actions }) => /* @__PURE__ */ jsxs("div", {
8
+ const EmptyState = createComponent(({ props, children, icon, title, description, actions }) => jsxs("div", {
9
9
  ...props.root,
10
10
  children: [
11
- icon && /* @__PURE__ */ jsx("div", {
11
+ icon && jsx("div", {
12
12
  ...props.icon,
13
13
  children: icon
14
14
  }),
15
- (title || description) && /* @__PURE__ */ jsxs("div", {
15
+ (title || description) && jsxs("div", {
16
16
  ...props.content,
17
- children: [title && /* @__PURE__ */ jsx("div", {
17
+ children: [title && jsx("div", {
18
18
  ...props.title,
19
19
  children: title
20
- }), description && /* @__PURE__ */ jsx("div", {
20
+ }), description && jsx("div", {
21
21
  ...props.description,
22
22
  children: description
23
23
  })]
24
24
  }),
25
25
  children,
26
- actions && /* @__PURE__ */ jsx("div", {
26
+ actions && jsx("div", {
27
27
  ...props.actions,
28
28
  children: actions
29
29
  })
@@ -2,11 +2,10 @@ import * as _$react from "react";
2
2
  import { HtmlFooterProps, StyleAndModifierProps } from "@uds/types";
3
3
 
4
4
  //#region ../components/dist/footer.d.ts
5
- //#region src/footer.d.ts
6
5
  interface FooterProps extends HtmlFooterProps, StyleAndModifierProps {}
7
6
  /**
8
7
  * @description A primitive for information about the author of the section, copyright data or links to related documents
9
8
  */
10
- declare const Footer: _$react.FC<FooterProps>; //#endregion
9
+ declare const Footer: _$react.FC<FooterProps>;
11
10
  //#endregion
12
11
  export { Footer, FooterProps };
@@ -3,7 +3,6 @@ import * as _$_uds_types0 from "@uds/types";
3
3
  import { ArbitraryValue, GridSpan, GridStartEnd, GridTemplate, HtmlDivProps, StyleAndModifierProps } from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/grid.d.ts
6
- //#region src/grid.d.ts
7
6
  interface GridOwnProps extends HtmlDivProps, Omit<StyleAndModifierProps, 'columns'> {
8
7
  /** Shorthand for gridTemplateColumns with repeat(n, minmax(0, 1fr)) */
9
8
  columns?: GridTemplate | ArbitraryValue;
@@ -37,6 +36,6 @@ declare const Grid: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridOw
37
36
  /**
38
37
  * @description A grid item that controls span and position within a Grid
39
38
  */
40
- declare const GridItem: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridItemOwnProps, "div">>; //#endregion
39
+ declare const GridItem: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridItemOwnProps, "div">>;
41
40
  //#endregion
42
41
  export { Grid, GridItem, GridItemOwnProps, GridOwnProps };
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
7
7
  * @description A CSS Grid layout primitive
8
8
  */
9
9
  const Grid = createComponent(({ children, columns, rows, autoFit, autoFill, inline, display, gridTemplateColumns, gridTemplateRows, ...rest }) => {
10
- return /* @__PURE__ */ jsx(Box, {
10
+ return jsx(Box, {
11
11
  display: display ?? (inline ? "inline-grid" : "grid"),
12
12
  gridTemplateColumns: gridTemplateColumns ?? (autoFit ? `[repeat(auto-fit,minmax(${autoFit},1fr))]` : autoFill ? `[repeat(auto-fill,minmax(${autoFill},1fr))]` : columns),
13
13
  gridTemplateRows: gridTemplateRows ?? rows,
@@ -19,7 +19,7 @@ const Grid = createComponent(({ children, columns, rows, autoFit, autoFill, inli
19
19
  * @description A grid item that controls span and position within a Grid
20
20
  */
21
21
  const GridItem = createComponent(({ children, colSpan, rowSpan, colStart, colEnd, rowStart, rowEnd, gridColumnSpan, gridRowSpan, gridColumnStart, gridColumnEnd, gridRowStart, gridRowEnd, ...rest }) => {
22
- return /* @__PURE__ */ jsx(Box, {
22
+ return jsx(Box, {
23
23
  gridColumnSpan: gridColumnSpan ?? colSpan,
24
24
  gridRowSpan: gridRowSpan ?? rowSpan,
25
25
  gridColumnStart: gridColumnStart ?? colStart,
@@ -2,11 +2,10 @@ import * as _$react from "react";
2
2
  import { HtmlHeaderProps, StyleAndModifierProps } from "@uds/types";
3
3
 
4
4
  //#region ../components/dist/header.d.ts
5
- //#region src/header.d.ts
6
5
  interface HeaderProps extends HtmlHeaderProps, StyleAndModifierProps {}
7
6
  /**
8
7
  * @description A primitive for introductory content or a set of navigational links.
9
8
  */
10
- declare const Header: _$react.FC<HeaderProps>; //#endregion
9
+ declare const Header: _$react.FC<HeaderProps>;
11
10
  //#endregion
12
11
  export { Header, HeaderProps };
@@ -3,7 +3,6 @@ import * as _$_uds_types0 from "@uds/types";
3
3
  import { BoxAsTag, HtmlDivProps, StyleAndModifierProps } from "@uds/types";
4
4
 
5
5
  //#region ../components/dist/hstack.d.ts
6
- //#region src/hstack.d.ts
7
6
  interface HStackOwnProps extends HtmlDivProps, StyleAndModifierProps {
8
7
  /** Render as a different semantic HTML element. Defaults to `div`. */
9
8
  as?: BoxAsTag;
@@ -11,6 +10,6 @@ interface HStackOwnProps extends HtmlDivProps, StyleAndModifierProps {
11
10
  /**
12
11
  * @description A primitive that arranges its children horizontally
13
12
  */
14
- declare const HStack: _$react.FC<_$_uds_types0.CreateComponentProps<string, HStackOwnProps, "div">>; //#endregion
13
+ declare const HStack: _$react.FC<_$_uds_types0.CreateComponentProps<string, HStackOwnProps, "div">>;
15
14
  //#endregion
16
15
  export { HStack, HStackOwnProps };
@@ -7,7 +7,7 @@ import { jsx } from "react/jsx-runtime";
7
7
  * @description A primitive that arranges its children horizontally
8
8
  */
9
9
  const HStack = createComponent(({ children, as, gap, gapX, display = "flex", flexDirection = display === "flex" ? "row" : void 0, alignItems = display === "flex" ? "center" : void 0, ...rest }) => {
10
- return /* @__PURE__ */ jsx(Box, {
10
+ return jsx(Box, {
11
11
  as,
12
12
  display,
13
13
  flexDirection,
@@ -2,7 +2,6 @@ import * as _$react from "react";
2
2
  import { HtmlImgProps, StyleAndModifierProps } from "@uds/types";
3
3
 
4
4
  //#region ../components/dist/image.d.ts
5
- //#region src/image.d.ts
6
5
  interface UniversalImageProps extends StyleAndModifierProps {
7
6
  /**
8
7
  * @description The source URL of the image. */
@@ -15,6 +14,6 @@ interface ImageProps extends HtmlImgProps, UniversalImageProps {}
15
14
  /**
16
15
  * @description Use for photos, product images, avatars, hero images, and thumbnails. Use real image URLs from Unsplash (https://images.unsplash.com/photo-...) for realistic content. Do NOT use SVG or a colored Box where a real image belongs.
17
16
  */
18
- declare const Image: _$react.FC<ImageProps>; //#endregion
17
+ declare const Image: _$react.FC<ImageProps>;
19
18
  //#endregion
20
19
  export { Image, ImageProps, UniversalImageProps };