@yahoo/uds-v5-wip 1.2.0 → 1.3.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/config.d.ts +968 -968
- package/dist/core/dist/createComponent.d.ts +1 -2
- package/dist/core/dist/createComponentExample.d.ts +1 -2
- package/dist/core/dist/createProvider.d.ts +1 -2
- package/dist/core/dist/generated/stylePropsTwMap.d.ts +1 -2
- package/dist/core/dist/getComponentStyles.d.ts +1 -2
- package/dist/core/dist/getStyles.d.ts +1 -2
- package/dist/core/dist/macros.d.ts +1 -2
- package/dist/core/dist/propMappings.d.ts +1 -2
- package/dist/core/dist/resolveMotionState.d.ts +1 -2
- package/dist/core/dist/transformPreset.d.ts +1 -2
- package/dist/core/dist/withDefaultStyleProps.d.ts +1 -2
- package/dist/foundational-presets/dist/boldVibrant.d.ts +985 -986
- package/dist/foundational-presets/dist/brutalist.d.ts +985 -986
- package/dist/foundational-presets/dist/candy.d.ts +985 -986
- package/dist/foundational-presets/dist/cleanMinimalist.d.ts +985 -986
- package/dist/foundational-presets/dist/corporate.d.ts +985 -986
- package/dist/foundational-presets/dist/darkMoody.d.ts +985 -986
- package/dist/foundational-presets/dist/defaultPreset.d.ts +968 -969
- package/dist/foundational-presets/dist/forest.d.ts +985 -986
- package/dist/foundational-presets/dist/highContrast.d.ts +985 -986
- package/dist/foundational-presets/dist/lavender.d.ts +985 -986
- package/dist/foundational-presets/dist/luxury.d.ts +985 -986
- package/dist/foundational-presets/dist/monochrome.d.ts +985 -986
- package/dist/foundational-presets/dist/motion.d.ts +1 -2
- package/dist/foundational-presets/dist/neonCyber.d.ts +985 -986
- package/dist/foundational-presets/dist/newspaper.d.ts +985 -986
- package/dist/foundational-presets/dist/ocean.d.ts +985 -986
- package/dist/foundational-presets/dist/slate.d.ts +985 -986
- package/dist/foundational-presets/dist/sunset.d.ts +985 -986
- package/dist/foundational-presets/dist/terminal.d.ts +985 -986
- package/dist/foundational-presets/dist/warmOrganic.d.ts +985 -986
- 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
|
@@ -4,6 +4,7 @@ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
|
4
4
|
import * as _$_uds_types0 from "@uds/types";
|
|
5
5
|
|
|
6
6
|
//#region ../components/dist/sidebar.d.ts
|
|
7
|
+
//#region src/sidebar.d.ts
|
|
7
8
|
interface SidebarContextValue {
|
|
8
9
|
state: 'expanded' | 'collapsed';
|
|
9
10
|
open: boolean;
|
|
@@ -1820,6 +1821,6 @@ declare const Sidebar: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentCo
|
|
|
1820
1821
|
};
|
|
1821
1822
|
};
|
|
1822
1823
|
}, {}>, SidebarOwnProps, SidebarElements>>;
|
|
1823
|
-
type SidebarProps = React.ComponentProps<typeof Sidebar>;
|
|
1824
|
+
type SidebarProps = React.ComponentProps<typeof Sidebar>; //#endregion
|
|
1824
1825
|
//#endregion
|
|
1825
1826
|
export { Sidebar, SidebarContent, SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarOwnProps, SidebarProps, SidebarProvider, SidebarSkeleton, SidebarTrigger, useSidebar };
|
|
@@ -77,7 +77,7 @@ const [SidebarProvider, useSidebar] = createProvider("Sidebar", ({ children, def
|
|
|
77
77
|
isMobile,
|
|
78
78
|
toggleSidebar
|
|
79
79
|
]),
|
|
80
|
-
render: jsx("div", {
|
|
80
|
+
render: /* @__PURE__ */ jsx("div", {
|
|
81
81
|
style: {
|
|
82
82
|
"--sidebar-width": SIDEBAR_WIDTH,
|
|
83
83
|
"--sidebar-width-icon": SIDEBAR_WIDTH_ICON,
|
|
@@ -94,7 +94,7 @@ const [SidebarProvider, useSidebar] = createProvider("Sidebar", ({ children, def
|
|
|
94
94
|
};
|
|
95
95
|
});
|
|
96
96
|
function ChevronIcon({ open }) {
|
|
97
|
-
return jsx("svg", {
|
|
97
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
98
98
|
width: "16",
|
|
99
99
|
height: "16",
|
|
100
100
|
viewBox: "0 0 16 16",
|
|
@@ -104,7 +104,7 @@ function ChevronIcon({ open }) {
|
|
|
104
104
|
transition: "transform 0.2s",
|
|
105
105
|
transform: open ? "rotate(180deg)" : "rotate(0deg)"
|
|
106
106
|
},
|
|
107
|
-
children: jsx("path", {
|
|
107
|
+
children: /* @__PURE__ */ jsx("path", {
|
|
108
108
|
d: "M4 6L8 10L12 6",
|
|
109
109
|
stroke: "currentColor",
|
|
110
110
|
strokeWidth: "1.5",
|
|
@@ -114,7 +114,7 @@ function ChevronIcon({ open }) {
|
|
|
114
114
|
});
|
|
115
115
|
}
|
|
116
116
|
function PanelLeftIcon() {
|
|
117
|
-
return jsxs("svg", {
|
|
117
|
+
return /* @__PURE__ */ jsxs("svg", {
|
|
118
118
|
width: "16",
|
|
119
119
|
height: "16",
|
|
120
120
|
viewBox: "0 0 24 24",
|
|
@@ -124,13 +124,13 @@ function PanelLeftIcon() {
|
|
|
124
124
|
strokeLinecap: "round",
|
|
125
125
|
strokeLinejoin: "round",
|
|
126
126
|
"aria-hidden": "true",
|
|
127
|
-
children: [jsx("rect", {
|
|
127
|
+
children: [/* @__PURE__ */ jsx("rect", {
|
|
128
128
|
width: "18",
|
|
129
129
|
height: "18",
|
|
130
130
|
x: "3",
|
|
131
131
|
y: "3",
|
|
132
132
|
rx: "2"
|
|
133
|
-
}), jsx("path", { d: "M9 3v18" })]
|
|
133
|
+
}), /* @__PURE__ */ jsx("path", { d: "M9 3v18" })]
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
136
|
const sidebarStyler = createComponentStyler("Sidebar", [
|
|
@@ -156,13 +156,13 @@ const sidebarStyler = createComponentStyler("Sidebar", [
|
|
|
156
156
|
]);
|
|
157
157
|
function SidebarTrigger({ className, children }) {
|
|
158
158
|
const { toggleSidebar, open } = useSidebar();
|
|
159
|
-
return jsxs("button", {
|
|
159
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
160
160
|
type: "button",
|
|
161
161
|
className: `${sidebarStyler().trigger} ${className ?? ""}`,
|
|
162
162
|
onClick: toggleSidebar,
|
|
163
163
|
"aria-label": "Toggle Sidebar",
|
|
164
164
|
"aria-expanded": open,
|
|
165
|
-
children: [children ?? jsx(PanelLeftIcon, {}), jsx("span", {
|
|
165
|
+
children: [children ?? /* @__PURE__ */ jsx(PanelLeftIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
166
166
|
style: {
|
|
167
167
|
position: "absolute",
|
|
168
168
|
width: 1,
|
|
@@ -179,7 +179,7 @@ function SidebarTrigger({ className, children }) {
|
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
function SidebarInset({ className, children }) {
|
|
182
|
-
return jsx("main", {
|
|
182
|
+
return /* @__PURE__ */ jsx("main", {
|
|
183
183
|
className,
|
|
184
184
|
style: {
|
|
185
185
|
flex: 1,
|
|
@@ -190,14 +190,14 @@ function SidebarInset({ className, children }) {
|
|
|
190
190
|
});
|
|
191
191
|
}
|
|
192
192
|
function SidebarHeader({ className, children }) {
|
|
193
|
-
return jsx("div", {
|
|
193
|
+
return /* @__PURE__ */ jsx("div", {
|
|
194
194
|
className: `${sidebarStyler().header} ${className ?? ""}`,
|
|
195
195
|
style: { overflow: "hidden" },
|
|
196
196
|
children
|
|
197
197
|
});
|
|
198
198
|
}
|
|
199
199
|
function SidebarContent({ className, children }) {
|
|
200
|
-
return jsx("div", {
|
|
200
|
+
return /* @__PURE__ */ jsx("div", {
|
|
201
201
|
className: `${sidebarStyler().content} ${className ?? ""}`,
|
|
202
202
|
style: {
|
|
203
203
|
flex: 1,
|
|
@@ -208,7 +208,7 @@ function SidebarContent({ className, children }) {
|
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
function SidebarFooter({ className, children }) {
|
|
211
|
-
return jsx("div", {
|
|
211
|
+
return /* @__PURE__ */ jsx("div", {
|
|
212
212
|
className: `${sidebarStyler().footer} ${className ?? ""}`,
|
|
213
213
|
style: { overflow: "hidden" },
|
|
214
214
|
children
|
|
@@ -217,26 +217,26 @@ function SidebarFooter({ className, children }) {
|
|
|
217
217
|
function SidebarGroup({ className, children, label, action, collapsible = false, defaultOpen = true }) {
|
|
218
218
|
const classes = sidebarStyler();
|
|
219
219
|
const [groupOpen, setGroupOpen] = useState(defaultOpen);
|
|
220
|
-
if (!collapsible) return jsxs("div", {
|
|
220
|
+
if (!collapsible) return /* @__PURE__ */ jsxs("div", {
|
|
221
221
|
className: `${classes.group} ${className ?? ""}`,
|
|
222
|
-
children: [label && jsxs("div", {
|
|
222
|
+
children: [label && /* @__PURE__ */ jsxs("div", {
|
|
223
223
|
style: {
|
|
224
224
|
display: "flex",
|
|
225
225
|
alignItems: "center",
|
|
226
226
|
justifyContent: "space-between",
|
|
227
227
|
whiteSpace: "nowrap"
|
|
228
228
|
},
|
|
229
|
-
children: [jsx("span", {
|
|
229
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
230
230
|
className: classes.groupLabel,
|
|
231
231
|
children: label
|
|
232
232
|
}), action]
|
|
233
233
|
}), children]
|
|
234
234
|
});
|
|
235
235
|
const state = groupOpen ? "open" : "closed";
|
|
236
|
-
return jsxs("div", {
|
|
236
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
237
237
|
className: `${classes.group} ${className ?? ""}`,
|
|
238
238
|
children: [
|
|
239
|
-
jsxs("button", {
|
|
239
|
+
/* @__PURE__ */ jsxs("button", {
|
|
240
240
|
type: "button",
|
|
241
241
|
style: {
|
|
242
242
|
display: "flex",
|
|
@@ -253,13 +253,13 @@ function SidebarGroup({ className, children, label, action, collapsible = false,
|
|
|
253
253
|
},
|
|
254
254
|
onClick: () => setGroupOpen(!groupOpen),
|
|
255
255
|
"aria-expanded": groupOpen,
|
|
256
|
-
children: [jsx("span", {
|
|
256
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
257
257
|
className: classes.groupLabel,
|
|
258
258
|
children: label
|
|
259
|
-
}), jsx(ChevronIcon, { open: groupOpen })]
|
|
259
|
+
}), /* @__PURE__ */ jsx(ChevronIcon, { open: groupOpen })]
|
|
260
260
|
}),
|
|
261
261
|
action,
|
|
262
|
-
jsx("div", {
|
|
262
|
+
/* @__PURE__ */ jsx("div", {
|
|
263
263
|
"data-state": state,
|
|
264
264
|
style: {
|
|
265
265
|
display: "grid",
|
|
@@ -268,7 +268,7 @@ function SidebarGroup({ className, children, label, action, collapsible = false,
|
|
|
268
268
|
overflow: "hidden",
|
|
269
269
|
transition: "grid-template-rows 0.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1)"
|
|
270
270
|
},
|
|
271
|
-
children: jsx("div", {
|
|
271
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
272
272
|
style: { overflow: "hidden" },
|
|
273
273
|
children
|
|
274
274
|
})
|
|
@@ -277,7 +277,7 @@ function SidebarGroup({ className, children, label, action, collapsible = false,
|
|
|
277
277
|
});
|
|
278
278
|
}
|
|
279
279
|
function SidebarGroupAction({ className, children, onClick, "aria-label": ariaLabel }) {
|
|
280
|
-
return jsx("button", {
|
|
280
|
+
return /* @__PURE__ */ jsx("button", {
|
|
281
281
|
type: "button",
|
|
282
282
|
className: `${sidebarStyler().groupAction} ${className ?? ""}`,
|
|
283
283
|
onClick: (e) => {
|
|
@@ -289,27 +289,27 @@ function SidebarGroupAction({ className, children, onClick, "aria-label": ariaLa
|
|
|
289
289
|
});
|
|
290
290
|
}
|
|
291
291
|
function SidebarMenu({ className, children }) {
|
|
292
|
-
return jsx("ul", {
|
|
292
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
293
293
|
className: `${sidebarStyler().menu} ${className ?? ""}`,
|
|
294
294
|
children
|
|
295
295
|
});
|
|
296
296
|
}
|
|
297
297
|
function SidebarMenuItem({ className, children }) {
|
|
298
|
-
return jsx("li", {
|
|
298
|
+
return /* @__PURE__ */ jsx("li", {
|
|
299
299
|
className: `${sidebarStyler().menuItem} ${className ?? ""}`,
|
|
300
300
|
children
|
|
301
301
|
});
|
|
302
302
|
}
|
|
303
303
|
function SidebarMenuButton({ className, children, href, onClick, isActive }) {
|
|
304
304
|
const cn = `${sidebarStyler().menuButton} ${className ?? ""}`;
|
|
305
|
-
if (href) return jsx("a", {
|
|
305
|
+
if (href) return /* @__PURE__ */ jsx("a", {
|
|
306
306
|
href,
|
|
307
307
|
className: cn,
|
|
308
308
|
"data-active": isActive || void 0,
|
|
309
309
|
"aria-current": isActive ? "page" : void 0,
|
|
310
310
|
children
|
|
311
311
|
});
|
|
312
|
-
return jsx("button", {
|
|
312
|
+
return /* @__PURE__ */ jsx("button", {
|
|
313
313
|
type: "button",
|
|
314
314
|
className: cn,
|
|
315
315
|
onClick,
|
|
@@ -319,7 +319,7 @@ function SidebarMenuButton({ className, children, href, onClick, isActive }) {
|
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
function SidebarMenuAction({ className, children, onClick, "aria-label": ariaLabel }) {
|
|
322
|
-
return jsx("button", {
|
|
322
|
+
return /* @__PURE__ */ jsx("button", {
|
|
323
323
|
type: "button",
|
|
324
324
|
className: `${sidebarStyler().menuAction} ${className ?? ""}`,
|
|
325
325
|
onClick,
|
|
@@ -328,33 +328,33 @@ function SidebarMenuAction({ className, children, onClick, "aria-label": ariaLab
|
|
|
328
328
|
});
|
|
329
329
|
}
|
|
330
330
|
function SidebarMenuBadge({ className, children }) {
|
|
331
|
-
return jsx("span", {
|
|
331
|
+
return /* @__PURE__ */ jsx("span", {
|
|
332
332
|
className: `${sidebarStyler().menuBadge} ${className ?? ""}`,
|
|
333
333
|
children
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
function SidebarMenuSub({ className, children }) {
|
|
337
|
-
return jsx("ul", {
|
|
337
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
338
338
|
className: `${sidebarStyler().menuSub} ${className ?? ""}`,
|
|
339
339
|
children
|
|
340
340
|
});
|
|
341
341
|
}
|
|
342
342
|
function SidebarMenuSubItem({ className, children }) {
|
|
343
|
-
return jsx("li", {
|
|
343
|
+
return /* @__PURE__ */ jsx("li", {
|
|
344
344
|
className: `${sidebarStyler().menuSubItem} ${className ?? ""}`,
|
|
345
345
|
children
|
|
346
346
|
});
|
|
347
347
|
}
|
|
348
348
|
function SidebarMenuSubButton({ className, children, href, onClick, isActive }) {
|
|
349
349
|
const cn = `${sidebarStyler().menuSubButton} ${className ?? ""}`;
|
|
350
|
-
if (href) return jsx("a", {
|
|
350
|
+
if (href) return /* @__PURE__ */ jsx("a", {
|
|
351
351
|
href,
|
|
352
352
|
className: cn,
|
|
353
353
|
"data-active": isActive || void 0,
|
|
354
354
|
"aria-current": isActive ? "page" : void 0,
|
|
355
355
|
children
|
|
356
356
|
});
|
|
357
|
-
return jsx("button", {
|
|
357
|
+
return /* @__PURE__ */ jsx("button", {
|
|
358
358
|
type: "button",
|
|
359
359
|
className: cn,
|
|
360
360
|
onClick,
|
|
@@ -365,11 +365,11 @@ function SidebarMenuSubButton({ className, children, href, onClick, isActive })
|
|
|
365
365
|
}
|
|
366
366
|
function SidebarSkeleton({ count = 5 }) {
|
|
367
367
|
const classes = sidebarStyler();
|
|
368
|
-
return jsx("ul", {
|
|
368
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
369
369
|
className: classes.menu,
|
|
370
|
-
children: Array.from({ length: count }, (_, i) => jsx("li", {
|
|
370
|
+
children: Array.from({ length: count }, (_, i) => /* @__PURE__ */ jsx("li", {
|
|
371
371
|
className: classes.menuItem,
|
|
372
|
-
children: jsx("div", {
|
|
372
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
373
373
|
className: classes.skeleton,
|
|
374
374
|
style: {
|
|
375
375
|
height: "2rem",
|
|
@@ -395,14 +395,14 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
395
395
|
const sidebarWidth = isCollapsed ? "var(--sidebar-width-icon)" : isHidden ? "0px" : "var(--sidebar-width)";
|
|
396
396
|
if (isMobile) {
|
|
397
397
|
const mobileState = openMobile ? "open" : "closed";
|
|
398
|
-
return jsxs("div", {
|
|
398
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
399
399
|
style: {
|
|
400
400
|
position: "fixed",
|
|
401
401
|
inset: 0,
|
|
402
402
|
zIndex: 50,
|
|
403
403
|
display: openMobile ? "flex" : "none"
|
|
404
404
|
},
|
|
405
|
-
children: [jsx("button", {
|
|
405
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
406
406
|
type: "button",
|
|
407
407
|
className: classes.overlay,
|
|
408
408
|
"data-state": mobileState,
|
|
@@ -413,7 +413,7 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
413
413
|
inset: 0
|
|
414
414
|
},
|
|
415
415
|
...props.overlay
|
|
416
|
-
}), jsx("aside", {
|
|
416
|
+
}), /* @__PURE__ */ jsx("aside", {
|
|
417
417
|
className: classes.root,
|
|
418
418
|
"data-state": mobileState,
|
|
419
419
|
style: {
|
|
@@ -433,7 +433,7 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
433
433
|
})]
|
|
434
434
|
});
|
|
435
435
|
}
|
|
436
|
-
if (collapsible === "none") return jsx("aside", {
|
|
436
|
+
if (collapsible === "none") return /* @__PURE__ */ jsx("aside", {
|
|
437
437
|
className: classes.root,
|
|
438
438
|
style: {
|
|
439
439
|
width: "var(--sidebar-width)",
|
|
@@ -449,7 +449,7 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
449
449
|
...props.root,
|
|
450
450
|
children
|
|
451
451
|
});
|
|
452
|
-
return jsx("div", {
|
|
452
|
+
return /* @__PURE__ */ jsx("div", {
|
|
453
453
|
style: {
|
|
454
454
|
flexShrink: 0,
|
|
455
455
|
overflow: "hidden",
|
|
@@ -457,7 +457,7 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
457
457
|
width: sidebarWidth,
|
|
458
458
|
transition: canTransition ? "width 200ms linear" : "none"
|
|
459
459
|
},
|
|
460
|
-
children: jsxs("aside", {
|
|
460
|
+
children: /* @__PURE__ */ jsxs("aside", {
|
|
461
461
|
className: classes.root,
|
|
462
462
|
style: {
|
|
463
463
|
display: "flex",
|
|
@@ -470,7 +470,7 @@ const Sidebar = createComponent(({ props, children, collapsible = "offcanvas" })
|
|
|
470
470
|
"data-state": state,
|
|
471
471
|
"data-collapsible": collapsible,
|
|
472
472
|
...props.root,
|
|
473
|
-
children: [children, jsx("button", {
|
|
473
|
+
children: [children, /* @__PURE__ */ jsx("button", {
|
|
474
474
|
type: "button",
|
|
475
475
|
className: classes.rail,
|
|
476
476
|
onClick: toggleSidebar,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/skeleton.config.d.ts
|
|
3
|
+
//#region src/skeleton.config.d.ts
|
|
3
4
|
declare const skeletonConfig: ComponentConfig<{
|
|
4
5
|
Skeleton: {
|
|
5
6
|
readonly base: {
|
|
@@ -11,6 +12,6 @@ declare const skeletonConfig: ComponentConfig<{
|
|
|
11
12
|
};
|
|
12
13
|
};
|
|
13
14
|
}, {}>;
|
|
14
|
-
type SkeletonConfig = typeof skeletonConfig;
|
|
15
|
+
type SkeletonConfig = typeof skeletonConfig; //#endregion
|
|
15
16
|
//#endregion
|
|
16
17
|
export { SkeletonConfig, skeletonConfig };
|
|
@@ -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/skeleton.d.ts
|
|
6
|
+
//#region src/skeleton.d.ts
|
|
6
7
|
/**
|
|
7
8
|
* @description A placeholder that indicates content is loading
|
|
8
9
|
*/
|
|
@@ -22,6 +23,6 @@ declare const Skeleton: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentC
|
|
|
22
23
|
}, {
|
|
23
24
|
block: "div";
|
|
24
25
|
}>>;
|
|
25
|
-
type SkeletonProps = React.ComponentProps<typeof Skeleton>;
|
|
26
|
+
type SkeletonProps = React.ComponentProps<typeof Skeleton>; //#endregion
|
|
26
27
|
//#endregion
|
|
27
28
|
export { Skeleton, SkeletonProps };
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
/**
|
|
6
6
|
* @description A placeholder that indicates content is loading
|
|
7
7
|
*/
|
|
8
|
-
const Skeleton = createComponent(({ props, width, height }) => jsx("div", {
|
|
8
|
+
const Skeleton = createComponent(({ props, width, height }) => /* @__PURE__ */ jsx("div", {
|
|
9
9
|
...props.block,
|
|
10
10
|
style: {
|
|
11
11
|
width,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/slider.config.d.ts
|
|
3
|
+
//#region src/slider.config.d.ts
|
|
3
4
|
declare const sliderConfig: ComponentConfig<{
|
|
4
5
|
Slider: {
|
|
5
6
|
readonly base: {
|
|
@@ -39,6 +40,6 @@ declare const sliderConfig: ComponentConfig<{
|
|
|
39
40
|
};
|
|
40
41
|
};
|
|
41
42
|
}, {}>;
|
|
42
|
-
type SliderConfig = typeof sliderConfig;
|
|
43
|
+
type SliderConfig = typeof sliderConfig; //#endregion
|
|
43
44
|
//#endregion
|
|
44
45
|
export { SliderConfig, sliderConfig };
|
|
@@ -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/slider.d.ts
|
|
6
|
+
//#region src/slider.d.ts
|
|
6
7
|
/**
|
|
7
8
|
* @description A draggable control for selecting a numeric value within a range
|
|
8
9
|
*/
|
|
@@ -65,6 +66,6 @@ declare const Slider: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentCon
|
|
|
65
66
|
range: "div";
|
|
66
67
|
thumb: "div";
|
|
67
68
|
}>>;
|
|
68
|
-
type SliderProps = React.ComponentProps<typeof Slider>;
|
|
69
|
+
type SliderProps = React.ComponentProps<typeof Slider>; //#endregion
|
|
69
70
|
//#endregion
|
|
70
71
|
export { Slider, SliderProps };
|
|
@@ -179,7 +179,7 @@ const Slider = createComponent(({ props, defaultValue = [0], value: controlledVa
|
|
|
179
179
|
height: "100%",
|
|
180
180
|
cursor: disabled ? "default" : "pointer"
|
|
181
181
|
};
|
|
182
|
-
return jsxs("div", {
|
|
182
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
183
183
|
style: rootStyle,
|
|
184
184
|
"data-orientation": orientation,
|
|
185
185
|
"data-disabled": disabled || void 0,
|
|
@@ -188,13 +188,13 @@ const Slider = createComponent(({ props, defaultValue = [0], value: controlledVa
|
|
|
188
188
|
onPointerUp: handlePointerUp,
|
|
189
189
|
...props.root,
|
|
190
190
|
children: [
|
|
191
|
-
jsx("div", {
|
|
191
|
+
/* @__PURE__ */ jsx("div", {
|
|
192
192
|
ref: trackRef,
|
|
193
193
|
style: trackStyle,
|
|
194
194
|
"data-orientation": orientation,
|
|
195
195
|
"data-disabled": disabled || void 0,
|
|
196
196
|
...props.track,
|
|
197
|
-
children: jsx("div", {
|
|
197
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
198
198
|
style: {
|
|
199
199
|
position: "absolute",
|
|
200
200
|
...rangeStyle
|
|
@@ -217,7 +217,7 @@ const Slider = createComponent(({ props, defaultValue = [0], value: controlledVa
|
|
|
217
217
|
left: "50%",
|
|
218
218
|
translate: "-50% 50%"
|
|
219
219
|
};
|
|
220
|
-
return jsx("div", {
|
|
220
|
+
return /* @__PURE__ */ jsx("div", {
|
|
221
221
|
role: "slider",
|
|
222
222
|
tabIndex: disabled ? -1 : 0,
|
|
223
223
|
style: thumbStyle,
|
|
@@ -234,7 +234,7 @@ const Slider = createComponent(({ props, defaultValue = [0], value: controlledVa
|
|
|
234
234
|
...props.thumb
|
|
235
235
|
}, index);
|
|
236
236
|
}),
|
|
237
|
-
name && values.map((value, index) => jsx("input", {
|
|
237
|
+
name && values.map((value, index) => /* @__PURE__ */ jsx("input", {
|
|
238
238
|
type: "hidden",
|
|
239
239
|
name: values.length > 1 ? `${name}[]` : name,
|
|
240
240
|
value,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/spinner.config.d.ts
|
|
3
|
+
//#region src/spinner.config.d.ts
|
|
3
4
|
declare const spinnerConfig: ComponentConfig<{
|
|
4
5
|
Spinner: {
|
|
5
6
|
readonly base: {
|
|
@@ -29,6 +30,6 @@ declare const spinnerConfig: ComponentConfig<{
|
|
|
29
30
|
};
|
|
30
31
|
};
|
|
31
32
|
}, {}>;
|
|
32
|
-
type SpinnerConfig = typeof spinnerConfig;
|
|
33
|
+
type SpinnerConfig = typeof spinnerConfig; //#endregion
|
|
33
34
|
//#endregion
|
|
34
35
|
export { SpinnerConfig, spinnerConfig };
|
|
@@ -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/spinner.d.ts
|
|
6
|
+
//#region src/spinner.d.ts
|
|
6
7
|
/**
|
|
7
8
|
* @description An animated indicator that signals an ongoing process
|
|
8
9
|
*/
|
|
@@ -37,6 +38,6 @@ declare const Spinner: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentCo
|
|
|
37
38
|
}, {}>, {}, {
|
|
38
39
|
root: "svg";
|
|
39
40
|
}>>;
|
|
40
|
-
type SpinnerProps = React.ComponentProps<typeof Spinner>;
|
|
41
|
+
type SpinnerProps = React.ComponentProps<typeof Spinner>; //#endregion
|
|
41
42
|
//#endregion
|
|
42
43
|
export { Spinner, SpinnerProps };
|
|
@@ -6,14 +6,14 @@ import { jsx } from "react/jsx-runtime";
|
|
|
6
6
|
* @description An animated indicator that signals an ongoing process
|
|
7
7
|
*/
|
|
8
8
|
const Spinner = createComponent(({ props }) => {
|
|
9
|
-
return jsx("svg", {
|
|
9
|
+
return /* @__PURE__ */ jsx("svg", {
|
|
10
10
|
role: "status",
|
|
11
11
|
"aria-label": "Loading",
|
|
12
12
|
viewBox: "0 0 24 24",
|
|
13
13
|
fill: "none",
|
|
14
14
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15
15
|
...props.root,
|
|
16
|
-
children: jsx("circle", {
|
|
16
|
+
children: /* @__PURE__ */ jsx("circle", {
|
|
17
17
|
cx: "12",
|
|
18
18
|
cy: "12",
|
|
19
19
|
r: "10",
|
|
@@ -2,6 +2,7 @@ import * as _$react from "react";
|
|
|
2
2
|
import { HtmlSvgPathProps, HtmlSvgProps, HtmlSvgTextProps, StyleAndModifierProps } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../components/dist/svg.d.ts
|
|
5
|
+
//#region src/svg.d.ts
|
|
5
6
|
interface SvgProps extends HtmlSvgProps, StyleAndModifierProps {}
|
|
6
7
|
interface SvgPathProps extends HtmlSvgPathProps, StyleAndModifierProps {}
|
|
7
8
|
interface SvgTextProps extends HtmlSvgTextProps, StyleAndModifierProps {}
|
|
@@ -16,6 +17,6 @@ declare const SvgPath: _$react.FC<SvgPathProps>;
|
|
|
16
17
|
/**
|
|
17
18
|
* @description A text element rendered within an SVG
|
|
18
19
|
*/
|
|
19
|
-
declare const SvgText: _$react.FC<SvgTextProps>;
|
|
20
|
+
declare const SvgText: _$react.FC<SvgTextProps>; //#endregion
|
|
20
21
|
//#endregion
|
|
21
22
|
export { Svg, SvgPath, SvgPathProps, SvgProps, SvgText, SvgTextProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/switch.config.d.ts
|
|
3
|
+
//#region src/switch.config.d.ts
|
|
3
4
|
declare const switchConfig: ComponentConfig<{
|
|
4
5
|
Switch: {
|
|
5
6
|
readonly base: {
|
|
@@ -348,6 +349,6 @@ declare const switchConfig: ComponentConfig<{
|
|
|
348
349
|
};
|
|
349
350
|
};
|
|
350
351
|
}, {}>;
|
|
351
|
-
type SwitchConfig = typeof switchConfig;
|
|
352
|
+
type SwitchConfig = typeof switchConfig; //#endregion
|
|
352
353
|
//#endregion
|
|
353
354
|
export { SwitchConfig, switchConfig };
|
|
@@ -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/switch.d.ts
|
|
6
|
+
//#region src/switch.d.ts
|
|
6
7
|
/**
|
|
7
8
|
* @description A toggle control for switching between on and off states
|
|
8
9
|
*/
|
|
@@ -365,6 +366,6 @@ declare const Switch: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentCon
|
|
|
365
366
|
label: "span";
|
|
366
367
|
description: "span";
|
|
367
368
|
}>>;
|
|
368
|
-
type SwitchProps = React.ComponentProps<typeof Switch>;
|
|
369
|
+
type SwitchProps = React.ComponentProps<typeof Switch>; //#endregion
|
|
369
370
|
//#endregion
|
|
370
371
|
export { Switch, SwitchProps };
|
|
@@ -8,20 +8,20 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
*/
|
|
9
9
|
const Switch = createComponent(({ props, checked, onToggle, label, description }) => {
|
|
10
10
|
const state = checked ? "open" : "closed";
|
|
11
|
-
return jsxs("button", {
|
|
11
|
+
return /* @__PURE__ */ jsxs("button", {
|
|
12
12
|
type: "button",
|
|
13
13
|
onClick: onToggle,
|
|
14
14
|
...props.root,
|
|
15
|
-
children: [jsx("div", {
|
|
15
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
16
16
|
"data-state": state,
|
|
17
17
|
...props.track,
|
|
18
|
-
children: jsx("div", {
|
|
18
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
19
19
|
"data-state": state,
|
|
20
20
|
...props.thumb
|
|
21
21
|
})
|
|
22
|
-
}), (label || description) && jsxs("span", {
|
|
22
|
+
}), (label || description) && /* @__PURE__ */ jsxs("span", {
|
|
23
23
|
...props.label,
|
|
24
|
-
children: [label, description && jsx("span", {
|
|
24
|
+
children: [label, description && /* @__PURE__ */ jsx("span", {
|
|
25
25
|
...props.description,
|
|
26
26
|
children: description
|
|
27
27
|
})]
|
|
@@ -2,6 +2,7 @@ import * as _$react from "react";
|
|
|
2
2
|
import { HtmlTableBodyProps, HtmlTableCellProps, HtmlTableHeadCellProps, HtmlTableHeadProps, HtmlTableProps, HtmlTableRowProps, StyleAndModifierProps } from "@uds/types";
|
|
3
3
|
|
|
4
4
|
//#region ../components/dist/table.d.ts
|
|
5
|
+
//#region src/table.d.ts
|
|
5
6
|
interface TableProps extends HtmlTableProps, StyleAndModifierProps {}
|
|
6
7
|
interface TableHeadProps extends HtmlTableHeadProps, StyleAndModifierProps {}
|
|
7
8
|
interface TableHeadCellProps extends HtmlTableHeadCellProps, StyleAndModifierProps {}
|
|
@@ -31,6 +32,6 @@ declare const TableCell: _$react.FC<TableCellProps>;
|
|
|
31
32
|
/**
|
|
32
33
|
* @description A primitive for table rows
|
|
33
34
|
*/
|
|
34
|
-
declare const TableRow: _$react.FC<TableRowProps>;
|
|
35
|
+
declare const TableRow: _$react.FC<TableRowProps>; //#endregion
|
|
35
36
|
//#endregion
|
|
36
37
|
export { Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableHead, TableHeadCell, TableHeadCellProps, TableHeadProps, TableProps, TableRow, TableRowProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ComponentConfig } from "../../config/dist/createConfig.js";
|
|
2
2
|
//#region ../components/dist/tabs.config.d.ts
|
|
3
|
+
//#region src/tabs.config.d.ts
|
|
3
4
|
declare const tabsConfig: ComponentConfig<{
|
|
4
5
|
Tabs: {
|
|
5
6
|
readonly base: {
|
|
@@ -606,6 +607,6 @@ declare const tabsConfig: ComponentConfig<{
|
|
|
606
607
|
};
|
|
607
608
|
};
|
|
608
609
|
}, {}>;
|
|
609
|
-
type TabsConfig = typeof tabsConfig;
|
|
610
|
+
type TabsConfig = typeof tabsConfig; //#endregion
|
|
610
611
|
//#endregion
|
|
611
612
|
export { TabsConfig, tabsConfig };
|
|
@@ -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/tabs.d.ts
|
|
6
|
+
//#region src/tabs.d.ts
|
|
6
7
|
interface TabItem {
|
|
7
8
|
id: string;
|
|
8
9
|
label: string;
|
|
@@ -627,6 +628,6 @@ declare const Tabs: _$react.FC<_$_uds_types0.CreateComponentProps<ComponentConfi
|
|
|
627
628
|
indicator: "div";
|
|
628
629
|
content: "div";
|
|
629
630
|
}>>;
|
|
630
|
-
type TabsProps = React.ComponentProps<typeof Tabs>;
|
|
631
|
+
type TabsProps = React.ComponentProps<typeof Tabs>; //#endregion
|
|
631
632
|
//#endregion
|
|
632
633
|
export { TabItem, Tabs, TabsProps };
|