@yahoo/uds-v5-wip 1.2.0 → 1.4.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.
- package/dist/components/dist/accordion.config.d.ts +2 -1
- package/dist/components/dist/accordion.d.ts +2 -1
- package/dist/components/dist/accordion.js +9 -9
- package/dist/components/dist/alert.config.d.ts +2 -1
- package/dist/components/dist/alert.d.ts +2 -1
- package/dist/components/dist/alert.js +2 -2
- package/dist/components/dist/anchor.config.d.ts +2 -1
- package/dist/components/dist/anchor.d.ts +2 -1
- package/dist/components/dist/article.d.ts +2 -1
- package/dist/components/dist/aside.d.ts +2 -1
- package/dist/components/dist/avatar-group.config.d.ts +2 -1
- package/dist/components/dist/avatar-group.d.ts +2 -1
- package/dist/components/dist/avatar-group.js +6 -6
- package/dist/components/dist/avatar.config.d.ts +2 -1
- package/dist/components/dist/avatar.d.ts +2 -1
- package/dist/components/dist/avatar.js +3 -3
- package/dist/components/dist/badge.config.d.ts +2 -1
- package/dist/components/dist/badge.d.ts +2 -1
- package/dist/components/dist/badge.js +2 -2
- package/dist/components/dist/box.d.ts +2 -1
- package/dist/components/dist/breadcrumb.config.d.ts +2 -1
- package/dist/components/dist/breadcrumb.d.ts +2 -1
- package/dist/components/dist/breadcrumb.js +17 -17
- package/dist/components/dist/button.config.d.ts +2 -1
- package/dist/components/dist/button.d.ts +2 -1
- package/dist/components/dist/button.js +5 -5
- package/dist/components/dist/card.config.d.ts +2 -1
- package/dist/components/dist/card.d.ts +2 -1
- package/dist/components/dist/card.js +4 -4
- package/dist/components/dist/collapsible.config.d.ts +2 -1
- package/dist/components/dist/collapsible.d.ts +2 -1
- package/dist/components/dist/collapsible.js +3 -3
- package/dist/components/dist/command.config.d.ts +2 -1
- package/dist/components/dist/command.d.ts +2 -1
- package/dist/components/dist/command.js +21 -21
- package/dist/components/dist/control-color.config.d.ts +2 -1
- package/dist/components/dist/control-color.d.ts +2 -1
- package/dist/components/dist/control-color.js +6 -6
- package/dist/components/dist/control-curve.config.d.ts +2 -1
- package/dist/components/dist/control-curve.d.ts +2 -1
- package/dist/components/dist/control-curve.js +4 -4
- package/dist/components/dist/control-folder.config.d.ts +2 -1
- package/dist/components/dist/control-folder.d.ts +2 -1
- package/dist/components/dist/control-folder.js +6 -6
- package/dist/components/dist/control-group.config.d.ts +2 -1
- package/dist/components/dist/control-group.d.ts +2 -1
- package/dist/components/dist/control-group.js +3 -3
- package/dist/components/dist/control-knob.config.d.ts +2 -1
- package/dist/components/dist/control-knob.d.ts +2 -1
- package/dist/components/dist/control-knob.js +8 -8
- package/dist/components/dist/control-panel.config.d.ts +2 -1
- package/dist/components/dist/control-panel.d.ts +2 -1
- package/dist/components/dist/control-panel.js +3 -3
- package/dist/components/dist/control-select.config.d.ts +2 -1
- package/dist/components/dist/control-select.d.ts +2 -1
- package/dist/components/dist/control-select.js +8 -8
- package/dist/components/dist/control-slider.config.d.ts +2 -1
- package/dist/components/dist/control-slider.d.ts +2 -1
- package/dist/components/dist/control-slider.js +8 -8
- package/dist/components/dist/control-spring.config.d.ts +2 -1
- package/dist/components/dist/control-spring.d.ts +2 -1
- package/dist/components/dist/control-spring.js +12 -12
- package/dist/components/dist/control-stepper.config.d.ts +2 -1
- package/dist/components/dist/control-stepper.d.ts +2 -1
- package/dist/components/dist/control-stepper.js +6 -6
- package/dist/components/dist/control-toggle.config.d.ts +2 -1
- package/dist/components/dist/control-toggle.d.ts +2 -1
- package/dist/components/dist/control-toggle.js +3 -3
- package/dist/components/dist/createSlot.d.ts +2 -1
- package/dist/components/dist/createSlot.js +2 -2
- package/dist/components/dist/dropdown.config.d.ts +2 -1
- package/dist/components/dist/dropdown.d.ts +2 -1
- package/dist/components/dist/dropdown.js +10 -10
- package/dist/components/dist/empty-state.config.d.ts +2 -1
- package/dist/components/dist/empty-state.d.ts +2 -1
- package/dist/components/dist/empty-state.js +6 -6
- package/dist/components/dist/footer.d.ts +2 -1
- package/dist/components/dist/grid.d.ts +2 -1
- package/dist/components/dist/grid.js +2 -2
- package/dist/components/dist/header.d.ts +2 -1
- package/dist/components/dist/hstack.d.ts +2 -1
- package/dist/components/dist/hstack.js +1 -1
- package/dist/components/dist/image.d.ts +2 -1
- package/dist/components/dist/input.config.d.ts +2 -1
- package/dist/components/dist/input.d.ts +2 -1
- package/dist/components/dist/input.js +1 -1
- package/dist/components/dist/item.config.d.ts +2 -1
- package/dist/components/dist/item.d.ts +2 -1
- package/dist/components/dist/item.js +8 -8
- package/dist/components/dist/list.d.ts +2 -1
- package/dist/components/dist/list.js +1 -1
- package/dist/components/dist/main.d.ts +2 -1
- package/dist/components/dist/modal.config.d.ts +2 -1
- package/dist/components/dist/modal.d.ts +2 -1
- package/dist/components/dist/modal.js +8 -8
- package/dist/components/dist/nav-header.config.d.ts +2 -1
- package/dist/components/dist/nav-header.d.ts +2 -1
- package/dist/components/dist/nav-header.js +3 -3
- package/dist/components/dist/nav.d.ts +2 -1
- package/dist/components/dist/preset-bar.config.d.ts +2 -1
- package/dist/components/dist/preset-bar.d.ts +2 -1
- package/dist/components/dist/preset-bar.js +10 -10
- package/dist/components/dist/presets/index.d.ts +3 -2
- package/dist/components/dist/presets/index.js +1 -1
- package/dist/components/dist/pressable.d.ts +2 -1
- package/dist/components/dist/progress.config.d.ts +2 -1
- package/dist/components/dist/progress.d.ts +2 -1
- package/dist/components/dist/progress.js +6 -6
- package/dist/components/dist/section.d.ts +2 -1
- package/dist/components/dist/select.config.d.ts +2 -1
- package/dist/components/dist/select.d.ts +2 -1
- package/dist/components/dist/sheet.config.d.ts +2 -1
- package/dist/components/dist/sheet.d.ts +2 -1
- package/dist/components/dist/sheet.js +8 -8
- package/dist/components/dist/sidebar.config.d.ts +2 -1
- package/dist/components/dist/sidebar.d.ts +2 -1
- package/dist/components/dist/sidebar.js +42 -42
- package/dist/components/dist/skeleton.config.d.ts +2 -1
- package/dist/components/dist/skeleton.d.ts +2 -1
- package/dist/components/dist/skeleton.js +1 -1
- package/dist/components/dist/slider.config.d.ts +2 -1
- package/dist/components/dist/slider.d.ts +2 -1
- package/dist/components/dist/slider.js +5 -5
- package/dist/components/dist/spinner.config.d.ts +2 -1
- package/dist/components/dist/spinner.d.ts +2 -1
- package/dist/components/dist/spinner.js +2 -2
- package/dist/components/dist/svg.d.ts +2 -1
- package/dist/components/dist/switch.config.d.ts +2 -1
- package/dist/components/dist/switch.d.ts +2 -1
- package/dist/components/dist/switch.js +5 -5
- package/dist/components/dist/table.d.ts +2 -1
- package/dist/components/dist/tabs.config.d.ts +2 -1
- package/dist/components/dist/tabs.d.ts +2 -1
- package/dist/components/dist/tabs.js +8 -8
- package/dist/components/dist/text.config.d.ts +2 -1
- package/dist/components/dist/text.d.ts +2 -1
- package/dist/components/dist/textarea.config.d.ts +2 -1
- package/dist/components/dist/textarea.d.ts +2 -1
- package/dist/components/dist/toast.config.d.ts +2 -1
- package/dist/components/dist/toast.d.ts +2 -1
- package/dist/components/dist/toast.js +7 -7
- package/dist/components/dist/tooltip.config.d.ts +2 -1
- package/dist/components/dist/tooltip.d.ts +2 -1
- package/dist/components/dist/tooltip.js +3 -3
- package/dist/components/dist/vstack.d.ts +2 -1
- package/dist/components/dist/vstack.js +1 -1
- package/dist/components/presets/index.d.ts +1 -1
- package/dist/components/presets/index.js +1 -1
- package/dist/core/dist/resolveProps.boundaries.js +1 -0
- package/dist/foundational-presets/dist/defaultPreset.js +1 -1
- package/dist/presets/dist/boldVibrant.d.ts +2 -1
- package/dist/presets/dist/brutalist.d.ts +2 -1
- package/dist/presets/dist/candy.d.ts +2 -1
- package/dist/presets/dist/cleanMinimalist.d.ts +2 -1
- package/dist/presets/dist/corporate.d.ts +2 -1
- package/dist/presets/dist/darkMoody.d.ts +2 -1
- package/dist/presets/dist/defaultPreset.d.ts +2 -1
- package/dist/presets/dist/defaultPreset.js +1 -1
- package/dist/presets/dist/forest.d.ts +2 -1
- package/dist/presets/dist/highContrast.d.ts +2 -1
- package/dist/presets/dist/lavender.d.ts +2 -1
- package/dist/presets/dist/luxury.d.ts +2 -1
- package/dist/presets/dist/monochrome.d.ts +2 -1
- package/dist/presets/dist/neonCyber.d.ts +2 -1
- package/dist/presets/dist/newspaper.d.ts +2 -1
- package/dist/presets/dist/ocean.d.ts +2 -1
- package/dist/presets/dist/slate.d.ts +2 -1
- package/dist/presets/dist/sunset.d.ts +2 -1
- package/dist/presets/dist/terminal.d.ts +2 -1
- package/dist/presets/dist/warmOrganic.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- 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 jsxs("div", {
|
|
29
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
30
30
|
ref: containerRef,
|
|
31
31
|
...props.root,
|
|
32
|
-
children: [jsxs("div", {
|
|
32
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
33
33
|
...props.header,
|
|
34
|
-
children: [jsx("span", {
|
|
34
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
35
35
|
...props.label,
|
|
36
36
|
children: label
|
|
37
|
-
}), jsx("button", {
|
|
37
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
38
38
|
type: "button",
|
|
39
39
|
onClick: toggleOpen,
|
|
40
40
|
"aria-expanded": isOpen,
|
|
41
41
|
...props.trigger,
|
|
42
|
-
children: jsx("span", {
|
|
42
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
43
43
|
...props.triggerLabel,
|
|
44
44
|
children: activeLabel
|
|
45
45
|
})
|
|
46
46
|
})]
|
|
47
|
-
}), isOpen && jsx("div", {
|
|
47
|
+
}), isOpen && /* @__PURE__ */ jsx("div", {
|
|
48
48
|
...props.dropdown,
|
|
49
|
-
children: options.map((option) => jsx("button", {
|
|
49
|
+
children: options.map((option) => /* @__PURE__ */ 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: jsx("span", {
|
|
54
|
+
children: /* @__PURE__ */ jsx("span", {
|
|
55
55
|
...props.optionLabel,
|
|
56
56
|
children: option.label
|
|
57
57
|
})
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const controlSliderConfig: ComponentConfig<{
|
|
4
5
|
ControlSlider: {
|
|
5
6
|
readonly base: {
|
|
@@ -99,6 +100,6 @@ declare const controlSliderConfig: ComponentConfig<{
|
|
|
99
100
|
};
|
|
100
101
|
};
|
|
101
102
|
}, {}>;
|
|
102
|
-
type ControlSliderConfig = typeof controlSliderConfig;
|
|
103
|
+
type ControlSliderConfig = typeof controlSliderConfig; //#endregion
|
|
103
104
|
//#endregion
|
|
104
105
|
export { ControlSliderConfig, controlSliderConfig };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
/**
|
|
7
8
|
* @description A scrub-style slider for precise numeric value selection
|
|
8
9
|
*/
|
|
@@ -122,6 +123,6 @@ declare const ControlSlider: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
|
|
|
122
123
|
label: "span";
|
|
123
124
|
value: "span";
|
|
124
125
|
}>>;
|
|
125
|
-
type ControlSliderProps = React.ComponentProps<typeof ControlSlider>;
|
|
126
|
+
type ControlSliderProps = React.ComponentProps<typeof ControlSlider>; //#endregion
|
|
126
127
|
//#endregion
|
|
127
128
|
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 jsxs("div", {
|
|
51
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
52
52
|
...props.root,
|
|
53
53
|
children: [
|
|
54
|
-
jsxs("div", {
|
|
54
|
+
/* @__PURE__ */ 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 && jsx("div", {
|
|
61
|
+
dotCount > 0 && /* @__PURE__ */ jsx("div", {
|
|
62
62
|
...props.markers,
|
|
63
|
-
children: Array.from({ length: dotCount }, (_, i) => i + 1).map((n) => jsx("span", { ...props.marker }, n))
|
|
63
|
+
children: Array.from({ length: dotCount }, (_, i) => i + 1).map((n) => /* @__PURE__ */ jsx("span", { ...props.marker }, n))
|
|
64
64
|
}),
|
|
65
|
-
jsx("div", {
|
|
65
|
+
/* @__PURE__ */ jsx("div", {
|
|
66
66
|
...props.fill,
|
|
67
67
|
style: { width: `${pct}%` }
|
|
68
68
|
}),
|
|
69
|
-
jsx("div", {
|
|
69
|
+
/* @__PURE__ */ jsx("div", {
|
|
70
70
|
...props.thumb,
|
|
71
71
|
style: { left: `${pct}%` }
|
|
72
72
|
})
|
|
73
73
|
]
|
|
74
74
|
}),
|
|
75
|
-
jsx("span", {
|
|
75
|
+
/* @__PURE__ */ jsx("span", {
|
|
76
76
|
...props.label,
|
|
77
77
|
children: label
|
|
78
78
|
}),
|
|
79
|
-
jsxs("span", {
|
|
79
|
+
/* @__PURE__ */ jsxs("span", {
|
|
80
80
|
...props.value,
|
|
81
81
|
children: [value, unit]
|
|
82
82
|
})
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const controlSpringConfig: ComponentConfig<{
|
|
4
5
|
ControlSpring: {
|
|
5
6
|
readonly base: {
|
|
@@ -412,6 +413,6 @@ declare const controlSpringConfig: ComponentConfig<{
|
|
|
412
413
|
};
|
|
413
414
|
};
|
|
414
415
|
}, {}>;
|
|
415
|
-
type ControlSpringConfig = typeof controlSpringConfig;
|
|
416
|
+
type ControlSpringConfig = typeof controlSpringConfig; //#endregion
|
|
416
417
|
//#endregion
|
|
417
418
|
export { ControlSpringConfig, controlSpringConfig };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
interface SpringConfig {
|
|
7
8
|
stiffness: number;
|
|
8
9
|
damping: number;
|
|
@@ -434,6 +435,6 @@ declare const ControlSpring: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
|
|
|
434
435
|
label: "span";
|
|
435
436
|
fields: "div";
|
|
436
437
|
}>>;
|
|
437
|
-
type ControlSpringProps = React.ComponentProps<typeof ControlSpring>;
|
|
438
|
+
type ControlSpringProps = React.ComponentProps<typeof ControlSpring>; //#endregion
|
|
438
439
|
//#endregion
|
|
439
440
|
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 jsxs("div", {
|
|
69
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
70
70
|
...props.root,
|
|
71
71
|
children: [
|
|
72
|
-
jsxs("div", {
|
|
72
|
+
/* @__PURE__ */ jsxs("div", {
|
|
73
73
|
...props.header,
|
|
74
|
-
children: [jsx("span", {
|
|
74
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
75
75
|
...props.label,
|
|
76
76
|
children: label
|
|
77
|
-
}), jsx(ControlGroup, {
|
|
77
|
+
}), /* @__PURE__ */ 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" ? jsxs("div", {
|
|
84
|
+
mode === "simple" ? /* @__PURE__ */ jsxs("div", {
|
|
85
85
|
...props.fields,
|
|
86
|
-
children: [jsx(ControlSlider, {
|
|
86
|
+
children: [/* @__PURE__ */ 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
|
-
}), jsx(ControlSlider, {
|
|
94
|
+
}), /* @__PURE__ */ 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
|
-
}) : jsxs("div", {
|
|
102
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
103
103
|
...props.fields,
|
|
104
104
|
children: [
|
|
105
|
-
jsx(ControlSlider, {
|
|
105
|
+
/* @__PURE__ */ 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
|
-
jsx(ControlSlider, {
|
|
113
|
+
/* @__PURE__ */ 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
|
-
jsx(ControlSlider, {
|
|
121
|
+
/* @__PURE__ */ 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
|
-
jsx(ControlCurve, { config: safeValue })
|
|
131
|
+
/* @__PURE__ */ jsx(ControlCurve, { config: safeValue })
|
|
132
132
|
]
|
|
133
133
|
});
|
|
134
134
|
});
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const controlStepperConfig: ComponentConfig<{
|
|
4
5
|
ControlStepper: {
|
|
5
6
|
readonly base: {
|
|
@@ -1079,6 +1080,6 @@ declare const controlStepperConfig: ComponentConfig<{
|
|
|
1079
1080
|
};
|
|
1080
1081
|
};
|
|
1081
1082
|
}, {}>;
|
|
1082
|
-
type ControlStepperConfig = typeof controlStepperConfig;
|
|
1083
|
+
type ControlStepperConfig = typeof controlStepperConfig; //#endregion
|
|
1083
1084
|
//#endregion
|
|
1084
1085
|
export { ControlStepperConfig, controlStepperConfig };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
/**
|
|
7
8
|
* @description A numeric stepper with increment/decrement buttons and direct text editing
|
|
8
9
|
*/
|
|
@@ -1099,6 +1100,6 @@ declare const ControlStepper: _$react.FC<_$_uds_types0.CreateComponentProps<Comp
|
|
|
1099
1100
|
decrement: "button";
|
|
1100
1101
|
label: "span";
|
|
1101
1102
|
}>>;
|
|
1102
|
-
type ControlStepperProps = React.ComponentProps<typeof ControlStepper>;
|
|
1103
|
+
type ControlStepperProps = React.ComponentProps<typeof ControlStepper>; //#endregion
|
|
1103
1104
|
//#endregion
|
|
1104
1105
|
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 jsxs("div", {
|
|
60
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
61
61
|
"data-disabled": disabled || void 0,
|
|
62
62
|
...props.root,
|
|
63
|
-
children: [label && jsx("span", {
|
|
63
|
+
children: [label && /* @__PURE__ */ jsx("span", {
|
|
64
64
|
...props.label,
|
|
65
65
|
children: label
|
|
66
|
-
}), jsxs("div", {
|
|
66
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
67
67
|
style: {
|
|
68
68
|
display: "flex",
|
|
69
69
|
gap: "1px"
|
|
70
70
|
},
|
|
71
71
|
children: [
|
|
72
|
-
jsx("button", {
|
|
72
|
+
/* @__PURE__ */ 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
|
-
jsx("input", {
|
|
81
|
+
/* @__PURE__ */ 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
|
-
jsx("button", {
|
|
95
|
+
/* @__PURE__ */ jsx("button", {
|
|
96
96
|
type: "button",
|
|
97
97
|
onClick: handleIncrement,
|
|
98
98
|
disabled: disabled || value >= max,
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const controlToggleConfig: ComponentConfig<{
|
|
4
5
|
ControlToggle: {
|
|
5
6
|
readonly base: {
|
|
@@ -402,6 +403,6 @@ declare const controlToggleConfig: ComponentConfig<{
|
|
|
402
403
|
};
|
|
403
404
|
};
|
|
404
405
|
}, {}>;
|
|
405
|
-
type ControlToggleConfig = typeof controlToggleConfig;
|
|
406
|
+
type ControlToggleConfig = typeof controlToggleConfig; //#endregion
|
|
406
407
|
//#endregion
|
|
407
408
|
export { ControlToggleConfig, controlToggleConfig };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
/**
|
|
7
8
|
* @description A labeled on/off toggle using a segmented control
|
|
8
9
|
*/
|
|
@@ -415,6 +416,6 @@ declare const ControlToggle: _$react.FC<_$_uds_types0.CreateComponentProps<Compo
|
|
|
415
416
|
root: "div";
|
|
416
417
|
label: "span";
|
|
417
418
|
}>>;
|
|
418
|
-
type ControlToggleProps = React.ComponentProps<typeof ControlToggle>;
|
|
419
|
+
type ControlToggleProps = React.ComponentProps<typeof ControlToggle>; //#endregion
|
|
419
420
|
//#endregion
|
|
420
421
|
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 jsxs("div", {
|
|
22
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
23
23
|
...props.root,
|
|
24
|
-
children: [jsx("span", {
|
|
24
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
25
25
|
...props.label,
|
|
26
26
|
children: label
|
|
27
|
-
}), jsx(ControlGroup, {
|
|
27
|
+
}), /* @__PURE__ */ jsx(ControlGroup, {
|
|
28
28
|
options: OPTIONS,
|
|
29
29
|
value: value ? "on" : "off",
|
|
30
30
|
onChange: handleChange,
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from "react";
|
|
2
2
|
|
|
3
3
|
//#region ../components/dist/createSlot.d.ts
|
|
4
|
+
//#region src/createSlot.d.ts
|
|
4
5
|
declare function createSlot<T extends ComponentType<{
|
|
5
6
|
children?: ReactNode;
|
|
6
|
-
}>>(): T;
|
|
7
|
+
}>>(): T; //#endregion
|
|
7
8
|
//#endregion
|
|
8
9
|
export { createSlot };
|
|
@@ -34,13 +34,13 @@ function createSlot() {
|
|
|
34
34
|
}
|
|
35
35
|
return child;
|
|
36
36
|
});
|
|
37
|
-
return jsx(SlotClone, {
|
|
37
|
+
return /* @__PURE__ */ jsx(SlotClone, {
|
|
38
38
|
...slotProps,
|
|
39
39
|
ref,
|
|
40
40
|
children: hasChildren ? cloneElement(newElement, void 0, newChildren) : null
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
return jsx(SlotClone, {
|
|
43
|
+
return /* @__PURE__ */ jsx(SlotClone, {
|
|
44
44
|
...slotProps,
|
|
45
45
|
ref,
|
|
46
46
|
children
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const dropdownConfig: ComponentConfig<{
|
|
4
5
|
Dropdown: {
|
|
5
6
|
readonly base: {
|
|
@@ -915,6 +916,6 @@ declare const dropdownConfig: ComponentConfig<{
|
|
|
915
916
|
};
|
|
916
917
|
};
|
|
917
918
|
}, {}>;
|
|
918
|
-
type DropdownConfig = typeof dropdownConfig;
|
|
919
|
+
type DropdownConfig = typeof dropdownConfig; //#endregion
|
|
919
920
|
//#endregion
|
|
920
921
|
export { DropdownConfig, dropdownConfig };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
interface DropdownItem {
|
|
7
8
|
label: string;
|
|
8
9
|
shortcut?: string;
|
|
@@ -945,6 +946,6 @@ declare const Dropdown: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentC
|
|
|
945
946
|
shortcut: "span";
|
|
946
947
|
separator: "div";
|
|
947
948
|
destructiveItem: "div";
|
|
948
|
-
}>>;
|
|
949
|
+
}>>; //#endregion
|
|
949
950
|
//#endregion
|
|
950
951
|
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 jsxs("div", {
|
|
25
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
26
26
|
ref,
|
|
27
27
|
...props.trigger,
|
|
28
|
-
children: [jsx("div", {
|
|
28
|
+
children: [/* @__PURE__ */ 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 && jsx("div", {
|
|
42
|
+
}), open && /* @__PURE__ */ 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 jsx("div", { ...props.separator }, `sep-${i}`);
|
|
47
|
+
if ("type" in entry && entry.type === "separator") return /* @__PURE__ */ 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 jsxs("div", {
|
|
59
|
+
if (item.destructive) return /* @__PURE__ */ jsxs("div", {
|
|
60
60
|
...props.destructiveItem,
|
|
61
61
|
role: "menuitem",
|
|
62
62
|
tabIndex: 0,
|
|
63
63
|
onClick: handleClick,
|
|
64
64
|
onKeyDown: handleKeyDown,
|
|
65
|
-
children: [jsx("span", {
|
|
65
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
66
66
|
...props.itemText,
|
|
67
67
|
children: item.label
|
|
68
|
-
}), item.shortcut && jsx("span", {
|
|
68
|
+
}), item.shortcut && /* @__PURE__ */ jsx("span", {
|
|
69
69
|
...props.shortcut,
|
|
70
70
|
children: item.shortcut
|
|
71
71
|
})]
|
|
72
72
|
}, item.label);
|
|
73
|
-
return jsxs("div", {
|
|
73
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
74
74
|
...props.item,
|
|
75
75
|
role: "menuitem",
|
|
76
76
|
tabIndex: 0,
|
|
77
77
|
onClick: handleClick,
|
|
78
78
|
onKeyDown: handleKeyDown,
|
|
79
|
-
children: [jsx("span", {
|
|
79
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
80
80
|
...props.itemText,
|
|
81
81
|
children: item.label
|
|
82
|
-
}), item.shortcut && jsx("span", {
|
|
82
|
+
}), item.shortcut && /* @__PURE__ */ jsx("span", {
|
|
83
83
|
...props.shortcut,
|
|
84
84
|
children: item.shortcut
|
|
85
85
|
})]
|
|
@@ -1,5 +1,6 @@
|
|
|
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
|
|
3
4
|
declare const emptyStateConfig: ComponentConfig<{
|
|
4
5
|
EmptyState: {
|
|
5
6
|
readonly base: {
|
|
@@ -391,6 +392,6 @@ declare const emptyStateConfig: ComponentConfig<{
|
|
|
391
392
|
};
|
|
392
393
|
};
|
|
393
394
|
}, {}>;
|
|
394
|
-
type EmptyStateConfig = typeof emptyStateConfig;
|
|
395
|
+
type EmptyStateConfig = typeof emptyStateConfig; //#endregion
|
|
395
396
|
//#endregion
|
|
396
397
|
export { EmptyStateConfig, emptyStateConfig };
|
|
@@ -4,6 +4,7 @@ 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
|
|
7
8
|
/**
|
|
8
9
|
* @description A centered placeholder shown when a view has no content, with optional icon, title, description, and actions
|
|
9
10
|
*/
|
|
@@ -411,6 +412,6 @@ declare const EmptyState: _$react.FC<_$_uds_types0.CreateComponentProps<Componen
|
|
|
411
412
|
description: "div";
|
|
412
413
|
actions: "div";
|
|
413
414
|
}>>;
|
|
414
|
-
type EmptyStateProps = React.ComponentProps<typeof EmptyState>;
|
|
415
|
+
type EmptyStateProps = React.ComponentProps<typeof EmptyState>; //#endregion
|
|
415
416
|
//#endregion
|
|
416
417
|
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 }) => jsxs("div", {
|
|
8
|
+
const EmptyState = createComponent(({ props, children, icon, title, description, actions }) => /* @__PURE__ */ jsxs("div", {
|
|
9
9
|
...props.root,
|
|
10
10
|
children: [
|
|
11
|
-
icon && jsx("div", {
|
|
11
|
+
icon && /* @__PURE__ */ jsx("div", {
|
|
12
12
|
...props.icon,
|
|
13
13
|
children: icon
|
|
14
14
|
}),
|
|
15
|
-
(title || description) && jsxs("div", {
|
|
15
|
+
(title || description) && /* @__PURE__ */ jsxs("div", {
|
|
16
16
|
...props.content,
|
|
17
|
-
children: [title && jsx("div", {
|
|
17
|
+
children: [title && /* @__PURE__ */ jsx("div", {
|
|
18
18
|
...props.title,
|
|
19
19
|
children: title
|
|
20
|
-
}), description && jsx("div", {
|
|
20
|
+
}), description && /* @__PURE__ */ jsx("div", {
|
|
21
21
|
...props.description,
|
|
22
22
|
children: description
|
|
23
23
|
})]
|
|
24
24
|
}),
|
|
25
25
|
children,
|
|
26
|
-
actions && jsx("div", {
|
|
26
|
+
actions && /* @__PURE__ */ jsx("div", {
|
|
27
27
|
...props.actions,
|
|
28
28
|
children: actions
|
|
29
29
|
})
|
|
@@ -2,10 +2,11 @@ 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
|
|
5
6
|
interface FooterProps extends HtmlFooterProps, StyleAndModifierProps {}
|
|
6
7
|
/**
|
|
7
8
|
* @description A primitive for information about the author of the section, copyright data or links to related documents
|
|
8
9
|
*/
|
|
9
|
-
declare const Footer: _$react.FC<FooterProps>;
|
|
10
|
+
declare const Footer: _$react.FC<FooterProps>; //#endregion
|
|
10
11
|
//#endregion
|
|
11
12
|
export { Footer, FooterProps };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
interface GridOwnProps extends HtmlDivProps, Omit<StyleAndModifierProps, 'columns'> {
|
|
7
8
|
/** Shorthand for gridTemplateColumns with repeat(n, minmax(0, 1fr)) */
|
|
8
9
|
columns?: GridTemplate | ArbitraryValue;
|
|
@@ -36,6 +37,6 @@ declare const Grid: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridOw
|
|
|
36
37
|
/**
|
|
37
38
|
* @description A grid item that controls span and position within a Grid
|
|
38
39
|
*/
|
|
39
|
-
declare const GridItem: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridItemOwnProps, "div">>;
|
|
40
|
+
declare const GridItem: _$react.FC<_$_uds_types0.CreateComponentProps<string, GridItemOwnProps, "div">>; //#endregion
|
|
40
41
|
//#endregion
|
|
41
42
|
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 jsx(Box, {
|
|
10
|
+
return /* @__PURE__ */ 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 jsx(Box, {
|
|
22
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
23
23
|
gridColumnSpan: gridColumnSpan ?? colSpan,
|
|
24
24
|
gridRowSpan: gridRowSpan ?? rowSpan,
|
|
25
25
|
gridColumnStart: gridColumnStart ?? colStart,
|
|
@@ -2,10 +2,11 @@ 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
|
|
5
6
|
interface HeaderProps extends HtmlHeaderProps, StyleAndModifierProps {}
|
|
6
7
|
/**
|
|
7
8
|
* @description A primitive for introductory content or a set of navigational links.
|
|
8
9
|
*/
|
|
9
|
-
declare const Header: _$react.FC<HeaderProps>;
|
|
10
|
+
declare const Header: _$react.FC<HeaderProps>; //#endregion
|
|
10
11
|
//#endregion
|
|
11
12
|
export { Header, HeaderProps };
|
|
@@ -3,6 +3,7 @@ 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
|
|
6
7
|
interface HStackOwnProps extends HtmlDivProps, StyleAndModifierProps {
|
|
7
8
|
/** Render as a different semantic HTML element. Defaults to `div`. */
|
|
8
9
|
as?: BoxAsTag;
|
|
@@ -10,6 +11,6 @@ interface HStackOwnProps extends HtmlDivProps, StyleAndModifierProps {
|
|
|
10
11
|
/**
|
|
11
12
|
* @description A primitive that arranges its children horizontally
|
|
12
13
|
*/
|
|
13
|
-
declare const HStack: _$react.FC<_$_uds_types0.CreateComponentProps<string, HStackOwnProps, "div">>;
|
|
14
|
+
declare const HStack: _$react.FC<_$_uds_types0.CreateComponentProps<string, HStackOwnProps, "div">>; //#endregion
|
|
14
15
|
//#endregion
|
|
15
16
|
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 jsx(Box, {
|
|
10
|
+
return /* @__PURE__ */ jsx(Box, {
|
|
11
11
|
as,
|
|
12
12
|
display,
|
|
13
13
|
flexDirection,
|
|
@@ -2,6 +2,7 @@ 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
|
|
5
6
|
interface UniversalImageProps extends StyleAndModifierProps {
|
|
6
7
|
/**
|
|
7
8
|
* @description The source URL of the image. */
|
|
@@ -14,6 +15,6 @@ interface ImageProps extends HtmlImgProps, UniversalImageProps {}
|
|
|
14
15
|
/**
|
|
15
16
|
* @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.
|
|
16
17
|
*/
|
|
17
|
-
declare const Image: _$react.FC<ImageProps>;
|
|
18
|
+
declare const Image: _$react.FC<ImageProps>; //#endregion
|
|
18
19
|
//#endregion
|
|
19
20
|
export { Image, ImageProps, UniversalImageProps };
|