@ostack.tech/ui-exhibit 0.15.0 → 0.15.2
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/ostack-ui-exhibit.js +2301 -1461
- package/dist/ostack-ui-exhibit.js.map +1 -1
- package/dist/webapp/assets/index-Bi-eiV_C.css +1 -0
- package/dist/webapp/assets/index-D8f_qfU7.js +624 -0
- package/dist/webapp/index.html +2 -2
- package/package.json +7 -7
- package/{dist/types → types}/ExhibitApp.d.ts +2 -2
- package/{dist/types → types}/ExhibitContext.d.ts +1 -1
- package/{dist/types → types}/components/ExhibitGrid.d.ts +2 -2
- package/{dist/types → types}/components/ExhibitSection.d.ts +2 -2
- package/types/index.d.ts +1 -0
- package/types/main.d.ts +1 -0
- package/types/sections/AlertDialogSection.d.ts +1 -0
- package/types/sections/AlertSection.d.ts +1 -0
- package/types/sections/ButtonGroupSection.d.ts +1 -0
- package/types/sections/ButtonSection.d.ts +1 -0
- package/types/sections/CalendarSection.d.ts +1 -0
- package/types/sections/CheckboxGroupSection.d.ts +1 -0
- package/types/sections/CheckboxSection.d.ts +1 -0
- package/types/sections/CodeSection.d.ts +1 -0
- package/types/sections/CollapsibleSection.d.ts +1 -0
- package/types/sections/CommandMenuSection.d.ts +1 -0
- package/types/sections/DataTableSection.d.ts +1 -0
- package/types/sections/DateInputSection.d.ts +1 -0
- package/types/sections/DateRangeInputSection.d.ts +1 -0
- package/types/sections/DescriptionListSection.d.ts +1 -0
- package/types/sections/DialogSection.d.ts +1 -0
- package/types/sections/DropdownMenuSection.d.ts +1 -0
- package/types/sections/FieldGroupSection.d.ts +1 -0
- package/types/sections/IconButtonSection.d.ts +1 -0
- package/types/sections/InputSection.d.ts +1 -0
- package/types/sections/KeyboardSection.d.ts +1 -0
- package/types/sections/LinkSection.d.ts +1 -0
- package/types/sections/MarkSection.d.ts +1 -0
- package/types/sections/MenuListSection.d.ts +1 -0
- package/types/sections/NumericInputSection.d.ts +1 -0
- package/types/sections/OutputSection.d.ts +1 -0
- package/types/sections/PopoverSection.d.ts +1 -0
- package/types/sections/RadioGroupSection.d.ts +1 -0
- package/types/sections/SelectSection.d.ts +1 -0
- package/types/sections/SpinnerSection.d.ts +1 -0
- package/types/sections/StepperSection.d.ts +1 -0
- package/types/sections/TableSection.d.ts +1 -0
- package/types/sections/TabsSection.d.ts +1 -0
- package/types/sections/TagSection.d.ts +1 -0
- package/types/sections/TextAreaSection.d.ts +1 -0
- package/types/sections/ToastSection.d.ts +1 -0
- package/types/sections/TooltipSection.d.ts +1 -0
- package/dist/types/index.d.ts +0 -1
- package/dist/types/main.d.ts +0 -0
- package/dist/types/sections/AlertDialogSection.d.ts +0 -1
- package/dist/types/sections/AlertSection.d.ts +0 -1
- package/dist/types/sections/ButtonGroupSection.d.ts +0 -1
- package/dist/types/sections/ButtonSection.d.ts +0 -1
- package/dist/types/sections/CalendarSection.d.ts +0 -1
- package/dist/types/sections/CheckboxGroupSection.d.ts +0 -1
- package/dist/types/sections/CheckboxSection.d.ts +0 -1
- package/dist/types/sections/CodeSection.d.ts +0 -1
- package/dist/types/sections/CollapsibleSection.d.ts +0 -1
- package/dist/types/sections/CommandMenuSection.d.ts +0 -1
- package/dist/types/sections/DataTableSection.d.ts +0 -1
- package/dist/types/sections/DateInputSection.d.ts +0 -1
- package/dist/types/sections/DateRangeInputSection.d.ts +0 -1
- package/dist/types/sections/DescriptionListSection.d.ts +0 -1
- package/dist/types/sections/DialogSection.d.ts +0 -1
- package/dist/types/sections/DropdownMenuSection.d.ts +0 -1
- package/dist/types/sections/FieldGroupSection.d.ts +0 -1
- package/dist/types/sections/IconButtonSection.d.ts +0 -1
- package/dist/types/sections/InputSection.d.ts +0 -1
- package/dist/types/sections/KeyboardSection.d.ts +0 -1
- package/dist/types/sections/LinkSection.d.ts +0 -1
- package/dist/types/sections/MarkSection.d.ts +0 -1
- package/dist/types/sections/MenuListSection.d.ts +0 -1
- package/dist/types/sections/NumericInputSection.d.ts +0 -1
- package/dist/types/sections/OutputSection.d.ts +0 -1
- package/dist/types/sections/PopoverSection.d.ts +0 -1
- package/dist/types/sections/RadioGroupSection.d.ts +0 -1
- package/dist/types/sections/SelectSection.d.ts +0 -1
- package/dist/types/sections/SpinnerSection.d.ts +0 -1
- package/dist/types/sections/StepperSection.d.ts +0 -1
- package/dist/types/sections/TableSection.d.ts +0 -1
- package/dist/types/sections/TabsSection.d.ts +0 -1
- package/dist/types/sections/TagSection.d.ts +0 -1
- package/dist/types/sections/TextAreaSection.d.ts +0 -1
- package/dist/types/sections/ToastSection.d.ts +0 -1
- package/dist/types/sections/TooltipSection.d.ts +0 -1
- package/dist/webapp/assets/index-Cumfwwd9.js +0 -627
- package/dist/webapp/assets/index-HGBZGuMc.css +0 -1
|
@@ -1,1546 +1,2386 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
1
|
+
import { Alert, AlertDialog, AlertDialogAction, AlertDialogBody, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Button, ButtonGroup, Calendar, Checkbox, CheckboxGroup, Code, Collapsible, CollapsibleContent, CollapsibleTrigger, CommandMenu, CommandMenuDialog, CommandMenuGroup, CommandMenuItem, Container, ControlAddon, DataTable, DataTableContent, DataTableFilter, DataTablePagination, DataTableRowsPerPage, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Feedback, Field, FieldGroup, FieldGroupBody, FieldGroupHeader, FieldGroupTitle, Heading, HelperText, IconButton, Input, Keybinds, Keyboard, Label, Link, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, Option, Output, Popover, PopoverContent, PopoverTrigger, Radio, RadioGroup, Root, Select, Spinner, Stack, Step, StepContent, StepList, Stepper, StepperFinishTrigger, StepperNextTrigger, StepperPreviousTrigger, Tab, TabContent, TabList, Table, TableBody, TableCell, TableColumn, TableFoot, TableHead, TableRow, Tabs, Tag, TextArea, Tooltip, VisuallyHidden, enGB, useCssVars, useKeyboardShortcut, useSpacing, useToastManager } from "@ostack.tech/ui";
|
|
2
|
+
import { Fragment, createContext, useContext, useState } from "react";
|
|
3
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { faBolt, faBookmark, faCaretDown, faCaretUp, faCircleXmark, faClock, faComment, faDisplay, faEye, faFolderOpen, faGear, faKeyboard, faNetworkWired, faPencil, faPrint, faSave, faSeedling, faStar, faTrashCan, faUser, faVolumeHigh, faWifi } from "@fortawesome/free-solid-svg-icons";
|
|
5
|
+
//#region src/ExhibitContext.tsx
|
|
6
|
+
var ExhibitContext = createContext(null);
|
|
6
7
|
function useDocsUrl() {
|
|
7
|
-
|
|
8
|
+
return useContext(ExhibitContext).docsUrl;
|
|
8
9
|
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
10
|
+
//#endregion
|
|
11
|
+
//#region src/components/ExhibitGrid.tsx
|
|
12
|
+
function ExhibitGrid({ rows, cols, renderItem }) {
|
|
13
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
14
|
+
className: "exhibit-grid",
|
|
15
|
+
style: { "--exhibit-grid-cols": Object.keys(cols).length + (rows ? 1 : 0) },
|
|
16
|
+
tabIndex: 0,
|
|
17
|
+
children: [
|
|
18
|
+
rows && /* @__PURE__ */ jsx("div", {}),
|
|
19
|
+
Object.keys(cols).map((colLabel) => /* @__PURE__ */ jsx("div", {
|
|
20
|
+
className: "exhibit-grid-col-label",
|
|
21
|
+
children: colLabel
|
|
22
|
+
}, colLabel)),
|
|
23
|
+
Object.entries(rows ?? { "": void 0 }).map(([rowLabel, row]) => /* @__PURE__ */ jsxs(Fragment, { children: [rowLabel && /* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: "exhibit-grid-row-label",
|
|
25
|
+
children: rowLabel
|
|
26
|
+
}), Object.entries(cols).map(([colLabel, col]) => /* @__PURE__ */ jsx("div", {
|
|
27
|
+
className: "exhibit-grid-item",
|
|
28
|
+
children: renderItem({
|
|
29
|
+
row,
|
|
30
|
+
col
|
|
31
|
+
})
|
|
32
|
+
}, colLabel))] }, rowLabel))
|
|
33
|
+
]
|
|
34
|
+
});
|
|
34
35
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
] }) });
|
|
36
|
+
//#endregion
|
|
37
|
+
//#region src/components/ExhibitSection.tsx
|
|
38
|
+
function ExhibitSection({ title, docsPage, children }) {
|
|
39
|
+
const { cssVar } = useCssVars();
|
|
40
|
+
const headingId = title.toLowerCase().replace(/[^a-z0-9]/g, "-");
|
|
41
|
+
const docsUrl = new URL(useDocsUrl());
|
|
42
|
+
docsUrl.searchParams.set("path", `/docs/${docsPage}--docs`);
|
|
43
|
+
return /* @__PURE__ */ jsx(Stack, {
|
|
44
|
+
asChild: true,
|
|
45
|
+
children: /* @__PURE__ */ jsxs("section", {
|
|
46
|
+
className: "exhibit-section",
|
|
47
|
+
"aria-labelledby": headingId,
|
|
48
|
+
children: [/* @__PURE__ */ jsx(Stack, {
|
|
49
|
+
asChild: true,
|
|
50
|
+
direction: "row",
|
|
51
|
+
gap: 4,
|
|
52
|
+
alignItems: "baseline",
|
|
53
|
+
children: /* @__PURE__ */ jsxs("header", { children: [/* @__PURE__ */ jsx(Heading, {
|
|
54
|
+
id: headingId,
|
|
55
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
56
|
+
href: `#${headingId}`,
|
|
57
|
+
color: "neutral",
|
|
58
|
+
style: { color: cssVar("neutral-a12") },
|
|
59
|
+
children: title
|
|
60
|
+
})
|
|
61
|
+
}), /* @__PURE__ */ jsxs(Link, {
|
|
62
|
+
className: "exhibit-section-docs-link",
|
|
63
|
+
href: docsUrl.toString(),
|
|
64
|
+
external: true,
|
|
65
|
+
children: ["View docs", /* @__PURE__ */ jsxs(VisuallyHidden, { children: [" of ", title] })]
|
|
66
|
+
})] })
|
|
67
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
68
|
+
className: "exhibit-section-content",
|
|
69
|
+
children
|
|
70
|
+
})]
|
|
71
|
+
})
|
|
72
|
+
});
|
|
73
73
|
}
|
|
74
|
+
//#endregion
|
|
75
|
+
//#region src/sections/AlertDialogSection.tsx
|
|
74
76
|
function AlertDialogSection() {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
77
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
78
|
+
title: "Alert dialog",
|
|
79
|
+
docsPage: "ostack-ui-overlay-alert-dialog",
|
|
80
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
81
|
+
cols: {
|
|
82
|
+
Neutral: "neutral",
|
|
83
|
+
Primary: "primary",
|
|
84
|
+
Success: "success",
|
|
85
|
+
Danger: "danger",
|
|
86
|
+
Warning: "warning"
|
|
87
|
+
},
|
|
88
|
+
rows: {
|
|
89
|
+
Solid: "solid",
|
|
90
|
+
Subtle: "subtle",
|
|
91
|
+
Outlined: "outlined",
|
|
92
|
+
Ghost: "ghost"
|
|
93
|
+
},
|
|
94
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(AlertDialog, { children: [/* @__PURE__ */ jsx(AlertDialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
95
|
+
variant: row,
|
|
96
|
+
color: col,
|
|
97
|
+
children: "Restore"
|
|
98
|
+
}) }), /* @__PURE__ */ jsxs(AlertDialogContent, {
|
|
99
|
+
variant: row,
|
|
100
|
+
color: col,
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ jsx(AlertDialogHeader, { children: /* @__PURE__ */ jsx(AlertDialogTitle, { children: "Restore previous version?" }) }),
|
|
103
|
+
/* @__PURE__ */ jsx(AlertDialogBody, { children: /* @__PURE__ */ jsx(AlertDialogDescription, { children: "This will overwrite your current draft with the version saved on January 12th. Current changes will be lost." }) }),
|
|
104
|
+
/* @__PURE__ */ jsxs(AlertDialogFooter, { children: [/* @__PURE__ */ jsx(AlertDialogCancel, { children: /* @__PURE__ */ jsx(Button, {
|
|
105
|
+
variant: "subtle",
|
|
106
|
+
children: "Go back"
|
|
107
|
+
}) }), /* @__PURE__ */ jsx(AlertDialogAction, { children: /* @__PURE__ */ jsx(Button, {
|
|
108
|
+
color: col,
|
|
109
|
+
children: "Restore"
|
|
110
|
+
}) })] })
|
|
111
|
+
]
|
|
112
|
+
})] })
|
|
113
|
+
})
|
|
114
|
+
});
|
|
111
115
|
}
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/sections/AlertSection.tsx
|
|
112
118
|
function AlertSection() {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
}
|
|
145
|
-
) });
|
|
119
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
120
|
+
title: "Alert",
|
|
121
|
+
docsPage: "ostack-ui-feedback-alert",
|
|
122
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
123
|
+
cols: {
|
|
124
|
+
Neutral: "neutral",
|
|
125
|
+
Info: "info",
|
|
126
|
+
Success: "success",
|
|
127
|
+
Danger: "danger",
|
|
128
|
+
Warning: "warning",
|
|
129
|
+
Title: "title",
|
|
130
|
+
Action: "action",
|
|
131
|
+
"Close button": "showCloseButton"
|
|
132
|
+
},
|
|
133
|
+
rows: {
|
|
134
|
+
Solid: "solid",
|
|
135
|
+
Subtle: "subtle",
|
|
136
|
+
Outlined: "outlined"
|
|
137
|
+
},
|
|
138
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Alert, {
|
|
139
|
+
variant: row,
|
|
140
|
+
action: col === "action" && /* @__PURE__ */ jsx(Button, {
|
|
141
|
+
color: "primary",
|
|
142
|
+
children: "Accept"
|
|
143
|
+
}),
|
|
144
|
+
severity: col === "title" || col === "action" || col === "showCloseButton" ? void 0 : col,
|
|
145
|
+
showCloseButton: col === "showCloseButton",
|
|
146
|
+
children: [col === "title" && /* @__PURE__ */ jsx(AlertTitle, { children: "Notice" }), "Terms may apply."]
|
|
147
|
+
})
|
|
148
|
+
})
|
|
149
|
+
});
|
|
146
150
|
}
|
|
151
|
+
//#endregion
|
|
152
|
+
//#region src/sections/ButtonGroupSection.tsx
|
|
147
153
|
function ButtonGroupSection() {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
154
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
155
|
+
title: "Button group",
|
|
156
|
+
docsPage: "ostack-ui-layout-button-group",
|
|
157
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
158
|
+
cols: {
|
|
159
|
+
Neutral: "neutral",
|
|
160
|
+
Primary: "primary",
|
|
161
|
+
Success: "success",
|
|
162
|
+
Danger: "danger",
|
|
163
|
+
Warning: "warning"
|
|
164
|
+
},
|
|
165
|
+
rows: {
|
|
166
|
+
Solid: "solid",
|
|
167
|
+
Subtle: "subtle",
|
|
168
|
+
Outlined: "outlined",
|
|
169
|
+
Ghost: "ghost"
|
|
170
|
+
},
|
|
171
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(ButtonGroup, { children: [
|
|
172
|
+
/* @__PURE__ */ jsx(Button, {
|
|
173
|
+
icon: faFolderOpen,
|
|
174
|
+
variant: row,
|
|
175
|
+
color: col,
|
|
176
|
+
children: "Load"
|
|
177
|
+
}),
|
|
178
|
+
/* @__PURE__ */ jsx(Button, {
|
|
179
|
+
icon: faSave,
|
|
180
|
+
variant: row,
|
|
181
|
+
color: col,
|
|
182
|
+
children: "Save"
|
|
183
|
+
}),
|
|
184
|
+
/* @__PURE__ */ jsx(IconButton, {
|
|
185
|
+
icon: faTrashCan,
|
|
186
|
+
label: "Delete",
|
|
187
|
+
variant: row,
|
|
188
|
+
color: col
|
|
189
|
+
})
|
|
190
|
+
] })
|
|
191
|
+
})
|
|
192
|
+
});
|
|
186
193
|
}
|
|
194
|
+
//#endregion
|
|
195
|
+
//#region src/sections/ButtonSection.tsx
|
|
187
196
|
function ButtonSection() {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
}
|
|
223
|
-
) });
|
|
197
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
198
|
+
title: "Button",
|
|
199
|
+
docsPage: "ostack-ui-forms-button",
|
|
200
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
201
|
+
cols: {
|
|
202
|
+
Neutral: "neutral",
|
|
203
|
+
Primary: "primary",
|
|
204
|
+
Success: "success",
|
|
205
|
+
Danger: "danger",
|
|
206
|
+
Warning: "warning",
|
|
207
|
+
Disabled: "disabled",
|
|
208
|
+
Loading: "loading",
|
|
209
|
+
Keybinds: "keybinds",
|
|
210
|
+
Vertical: "vertical"
|
|
211
|
+
},
|
|
212
|
+
rows: {
|
|
213
|
+
Solid: "solid",
|
|
214
|
+
Subtle: "subtle",
|
|
215
|
+
Outlined: "outlined",
|
|
216
|
+
Ghost: "ghost"
|
|
217
|
+
},
|
|
218
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsx(Button, {
|
|
219
|
+
icon: faBolt,
|
|
220
|
+
variant: row,
|
|
221
|
+
color: col === "disabled" || col === "loading" || col === "keybinds" || col === "vertical" ? void 0 : col,
|
|
222
|
+
disabled: col === "disabled",
|
|
223
|
+
loading: col === "loading",
|
|
224
|
+
loadingContent: col === "loading" ? "Zapping…" : void 0,
|
|
225
|
+
keybinds: col === "keybinds" ? "Alt+Shift+Z" : void 0,
|
|
226
|
+
vertical: col === "vertical",
|
|
227
|
+
children: "Zap"
|
|
228
|
+
})
|
|
229
|
+
})
|
|
230
|
+
});
|
|
224
231
|
}
|
|
232
|
+
//#endregion
|
|
233
|
+
//#region src/sections/CalendarSection.tsx
|
|
225
234
|
function CalendarSection() {
|
|
226
|
-
|
|
235
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
236
|
+
title: "Calendar",
|
|
237
|
+
docsPage: "ostack-ui-data-display-calendar",
|
|
238
|
+
children: /* @__PURE__ */ jsx(Calendar, {})
|
|
239
|
+
});
|
|
227
240
|
}
|
|
241
|
+
//#endregion
|
|
242
|
+
//#region src/sections/CheckboxGroupSection.tsx
|
|
228
243
|
function CheckboxGroupSection() {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
]
|
|
291
|
-
}
|
|
292
|
-
),
|
|
293
|
-
row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Available." }),
|
|
294
|
-
row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Maybe unavailable." }),
|
|
295
|
-
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
|
|
296
|
-
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Select all wanted." })
|
|
297
|
-
] })
|
|
298
|
-
}
|
|
299
|
-
)
|
|
300
|
-
}
|
|
301
|
-
);
|
|
244
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
245
|
+
title: "Checkbox group",
|
|
246
|
+
docsPage: "ostack-ui-forms-checkbox-group",
|
|
247
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
248
|
+
cols: {
|
|
249
|
+
Basic: "",
|
|
250
|
+
"Helper text": "helperText",
|
|
251
|
+
Required: "required",
|
|
252
|
+
Disabled: "disabled",
|
|
253
|
+
"Read-only": "readOnly",
|
|
254
|
+
Loading: "loading",
|
|
255
|
+
Code: "code",
|
|
256
|
+
"All codes": "allCodes"
|
|
257
|
+
},
|
|
258
|
+
rows: {
|
|
259
|
+
"No status": void 0,
|
|
260
|
+
Valid: "valid",
|
|
261
|
+
Invalid: "invalid",
|
|
262
|
+
Warned: "warned"
|
|
263
|
+
},
|
|
264
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
265
|
+
/* @__PURE__ */ jsx(Label, { children: "Toppings" }),
|
|
266
|
+
/* @__PURE__ */ jsxs(CheckboxGroup, {
|
|
267
|
+
defaultValue: ["caramel"],
|
|
268
|
+
status: row,
|
|
269
|
+
required: col === "required",
|
|
270
|
+
disabled: col === "disabled",
|
|
271
|
+
readOnly: col === "readOnly",
|
|
272
|
+
loading: col === "loading",
|
|
273
|
+
code: col === "code" || col === "allCodes" ? "3.2" : void 0,
|
|
274
|
+
children: [
|
|
275
|
+
/* @__PURE__ */ jsx(Checkbox, {
|
|
276
|
+
value: "caramel",
|
|
277
|
+
code: col === "allCodes" ? "a" : void 0,
|
|
278
|
+
children: "Caramel"
|
|
279
|
+
}),
|
|
280
|
+
/* @__PURE__ */ jsx(Checkbox, {
|
|
281
|
+
value: "chocolate",
|
|
282
|
+
code: col === "allCodes" ? "b" : void 0,
|
|
283
|
+
children: "Chocolate"
|
|
284
|
+
}),
|
|
285
|
+
/* @__PURE__ */ jsx(Checkbox, {
|
|
286
|
+
value: "strawberry",
|
|
287
|
+
code: col === "allCodes" ? "c" : void 0,
|
|
288
|
+
children: "Strawberry"
|
|
289
|
+
})
|
|
290
|
+
]
|
|
291
|
+
}),
|
|
292
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
293
|
+
type: "success",
|
|
294
|
+
children: "Available."
|
|
295
|
+
}),
|
|
296
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
297
|
+
type: "warning",
|
|
298
|
+
children: "Maybe unavailable."
|
|
299
|
+
}),
|
|
300
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
|
|
301
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Select all wanted." })
|
|
302
|
+
] })
|
|
303
|
+
})
|
|
304
|
+
});
|
|
302
305
|
}
|
|
306
|
+
//#endregion
|
|
307
|
+
//#region src/sections/CheckboxSection.tsx
|
|
303
308
|
function CheckboxSection() {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
309
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
310
|
+
title: "Checkbox",
|
|
311
|
+
docsPage: "ostack-ui-forms-checkbox",
|
|
312
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
313
|
+
cols: {
|
|
314
|
+
Basic: "",
|
|
315
|
+
Indeterminate: "indeterminate",
|
|
316
|
+
"Helper text": "helperText",
|
|
317
|
+
Required: "required",
|
|
318
|
+
Disabled: "disabled",
|
|
319
|
+
"Read-only": "readOnly",
|
|
320
|
+
Loading: "loading",
|
|
321
|
+
Code: "code"
|
|
322
|
+
},
|
|
323
|
+
rows: {
|
|
324
|
+
"No status": void 0,
|
|
325
|
+
Valid: "valid",
|
|
326
|
+
Invalid: "invalid",
|
|
327
|
+
Warned: "warned"
|
|
328
|
+
},
|
|
329
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
330
|
+
/* @__PURE__ */ jsx(Checkbox, {
|
|
331
|
+
status: row,
|
|
332
|
+
defaultChecked: col === "indeterminate" ? "indeterminate" : true,
|
|
333
|
+
required: col === "required",
|
|
334
|
+
disabled: col === "disabled",
|
|
335
|
+
readOnly: col === "readOnly",
|
|
336
|
+
loading: col === "loading",
|
|
337
|
+
code: col === "code" ? "1.5" : void 0,
|
|
338
|
+
children: "I accept"
|
|
339
|
+
}),
|
|
340
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
341
|
+
type: "success",
|
|
342
|
+
children: "Accepted."
|
|
343
|
+
}),
|
|
344
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
345
|
+
type: "warning",
|
|
346
|
+
children: "Are you sure?"
|
|
347
|
+
}),
|
|
348
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Must accept." }),
|
|
349
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Please indicate." })
|
|
350
|
+
] })
|
|
351
|
+
})
|
|
352
|
+
});
|
|
344
353
|
}
|
|
354
|
+
//#endregion
|
|
355
|
+
//#region src/sections/CodeSection.tsx
|
|
345
356
|
function CodeSection() {
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
357
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
358
|
+
title: "Code",
|
|
359
|
+
docsPage: "ostack-ui-typography-code",
|
|
360
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
361
|
+
cols: {
|
|
362
|
+
Neutral: "neutral",
|
|
363
|
+
Primary: "primary",
|
|
364
|
+
Success: "success",
|
|
365
|
+
Danger: "danger",
|
|
366
|
+
Warning: "warning"
|
|
367
|
+
},
|
|
368
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsx(Code, {
|
|
369
|
+
color: col,
|
|
370
|
+
children: "Math.sin(1)"
|
|
371
|
+
})
|
|
372
|
+
})
|
|
373
|
+
});
|
|
359
374
|
}
|
|
375
|
+
//#endregion
|
|
376
|
+
//#region src/sections/CollapsibleSection.tsx
|
|
360
377
|
function CollapsibleSection() {
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
cite: "https://gutenberg.net.au/ebooks02/0201091h.html",
|
|
376
|
-
style: { marginTop: spacing(4) },
|
|
377
|
-
children: [
|
|
378
|
-
/* @__PURE__ */ jsx("p", { children: '"The sun had not yet risen. The sea was indistinguishable from the sky, except that the sea was slightly creased as if a cloth had wrinkles in it. Gradually as the sky whitened a dark line lay on the horizon dividing the sea from the sky and the grey cloth became barred with thick strokes moving, one after another, beneath the surface, following each other, pursuing each other, perpetually."' }),
|
|
379
|
-
/* @__PURE__ */ jsxs("p", { children: [
|
|
380
|
-
"—Virginia Woolf, ",
|
|
381
|
-
/* @__PURE__ */ jsx("cite", { children: "The Waves" })
|
|
382
|
-
] })
|
|
383
|
-
]
|
|
384
|
-
}
|
|
385
|
-
) })
|
|
386
|
-
] })
|
|
387
|
-
}
|
|
388
|
-
);
|
|
378
|
+
const spacing = useSpacing();
|
|
379
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
380
|
+
title: "Collapsible",
|
|
381
|
+
docsPage: "ostack-ui-disclosure-collapsible",
|
|
382
|
+
children: /* @__PURE__ */ jsxs(Collapsible, { children: [/* @__PURE__ */ jsx(CollapsibleTrigger, { children: (open) => /* @__PURE__ */ jsxs(Button, {
|
|
383
|
+
icon: open ? faCaretUp : faCaretDown,
|
|
384
|
+
iconPlacement: "end",
|
|
385
|
+
children: [open ? "Hide" : "Show", " quote"]
|
|
386
|
+
}) }), /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsxs("blockquote", {
|
|
387
|
+
cite: "https://gutenberg.net.au/ebooks02/0201091h.html",
|
|
388
|
+
style: { marginTop: spacing(4) },
|
|
389
|
+
children: [/* @__PURE__ */ jsx("p", { children: "\"The sun had not yet risen. The sea was indistinguishable from the sky, except that the sea was slightly creased as if a cloth had wrinkles in it. Gradually as the sky whitened a dark line lay on the horizon dividing the sea from the sky and the grey cloth became barred with thick strokes moving, one after another, beneath the surface, following each other, pursuing each other, perpetually.\"" }), /* @__PURE__ */ jsxs("p", { children: ["—Virginia Woolf, ", /* @__PURE__ */ jsx("cite", { children: "The Waves" })] })]
|
|
390
|
+
}) })] })
|
|
391
|
+
});
|
|
389
392
|
}
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region src/sections/CommandMenuSection.tsx
|
|
390
395
|
function CommandMenuSection() {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
396
|
+
const [open, setOpen] = useState(false);
|
|
397
|
+
const { cssVar } = useCssVars();
|
|
398
|
+
const keybind = "$mod+K";
|
|
399
|
+
useKeyboardShortcut(keybind, () => setOpen(true), { preventDefault: true });
|
|
400
|
+
const handleSelect = () => setOpen(false);
|
|
401
|
+
return /* @__PURE__ */ jsxs(ExhibitSection, {
|
|
402
|
+
title: "Command menu",
|
|
403
|
+
docsPage: "ostack-ui-overlay-command-menu",
|
|
404
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
405
|
+
style: { color: cssVar("neutral-11") },
|
|
406
|
+
children: [
|
|
407
|
+
"Press ",
|
|
408
|
+
/* @__PURE__ */ jsx(Keybinds, { keybinds: keybind }),
|
|
409
|
+
" to open the command menu."
|
|
410
|
+
]
|
|
411
|
+
}), /* @__PURE__ */ jsx(CommandMenuDialog, {
|
|
412
|
+
open,
|
|
413
|
+
onOpenChange: setOpen,
|
|
414
|
+
children: /* @__PURE__ */ jsxs(CommandMenu, { children: [/* @__PURE__ */ jsxs(CommandMenuGroup, {
|
|
415
|
+
label: "Actions",
|
|
416
|
+
children: [
|
|
417
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
418
|
+
onSelect: handleSelect,
|
|
419
|
+
children: "Find"
|
|
420
|
+
}),
|
|
421
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
422
|
+
onSelect: handleSelect,
|
|
423
|
+
children: "Replace"
|
|
424
|
+
}),
|
|
425
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
426
|
+
onSelect: handleSelect,
|
|
427
|
+
children: "Analyse"
|
|
428
|
+
}),
|
|
429
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
430
|
+
onSelect: handleSelect,
|
|
431
|
+
children: "Inspect"
|
|
432
|
+
})
|
|
433
|
+
]
|
|
434
|
+
}), /* @__PURE__ */ jsxs(CommandMenuGroup, {
|
|
435
|
+
label: "Languages",
|
|
436
|
+
children: [
|
|
437
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
438
|
+
onSelect: handleSelect,
|
|
439
|
+
children: "C"
|
|
440
|
+
}),
|
|
441
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
442
|
+
onSelect: handleSelect,
|
|
443
|
+
children: "C++"
|
|
444
|
+
}),
|
|
445
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
446
|
+
onSelect: handleSelect,
|
|
447
|
+
children: "Java"
|
|
448
|
+
}),
|
|
449
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
450
|
+
onSelect: handleSelect,
|
|
451
|
+
children: "JavaScript"
|
|
452
|
+
}),
|
|
453
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
454
|
+
onSelect: handleSelect,
|
|
455
|
+
children: "Python"
|
|
456
|
+
}),
|
|
457
|
+
/* @__PURE__ */ jsx(CommandMenuItem, {
|
|
458
|
+
onSelect: handleSelect,
|
|
459
|
+
children: "Rust"
|
|
460
|
+
})
|
|
461
|
+
]
|
|
462
|
+
})] })
|
|
463
|
+
})]
|
|
464
|
+
});
|
|
426
465
|
}
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
466
|
+
//#endregion
|
|
467
|
+
//#region src/sections/DataTableSection.tsx
|
|
468
|
+
var ROWS$1 = [
|
|
469
|
+
{
|
|
470
|
+
id: 0,
|
|
471
|
+
student: "Allyson Meyer",
|
|
472
|
+
grade: 84.2
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
id: 1,
|
|
476
|
+
student: "Tristan Hogan",
|
|
477
|
+
grade: 71.5
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
id: 2,
|
|
481
|
+
student: "Kathryn Duarte",
|
|
482
|
+
grade: 92.8
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
id: 3,
|
|
486
|
+
student: "Abdullah Flynn",
|
|
487
|
+
grade: 58.4
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
id: 4,
|
|
491
|
+
student: "Dorothy Davidson",
|
|
492
|
+
grade: 76.1
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
id: 5,
|
|
496
|
+
student: "Dante Hurst",
|
|
497
|
+
grade: 89
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
id: 6,
|
|
501
|
+
student: "Adalee Koch",
|
|
502
|
+
grade: 94.3
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
id: 7,
|
|
506
|
+
student: "Salvador Reeves",
|
|
507
|
+
grade: 62.7
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
id: 8,
|
|
511
|
+
student: "Lana Carr",
|
|
512
|
+
grade: 81.9
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
id: 9,
|
|
516
|
+
student: "Kash Shaffer",
|
|
517
|
+
grade: 45.6
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
id: 10,
|
|
521
|
+
student: "Alanna Bradley",
|
|
522
|
+
grade: 88.3
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
id: 11,
|
|
526
|
+
student: "Richard Barker",
|
|
527
|
+
grade: 73.4
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
id: 12,
|
|
531
|
+
student: "Remington Villalobos",
|
|
532
|
+
grade: 90.1
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
id: 13,
|
|
536
|
+
student: "Reuben Rivera",
|
|
537
|
+
grade: 66.8
|
|
538
|
+
},
|
|
539
|
+
{
|
|
540
|
+
id: 14,
|
|
541
|
+
student: "Lillian Page",
|
|
542
|
+
grade: 95.5
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
id: 15,
|
|
546
|
+
student: "Pablo Miranda",
|
|
547
|
+
grade: 52.2
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
id: 16,
|
|
551
|
+
student: "Amina McDowell",
|
|
552
|
+
grade: 79.7
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
id: 17,
|
|
556
|
+
student: "Lachlan Austin",
|
|
557
|
+
grade: 83.1
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
id: 18,
|
|
561
|
+
student: "Alivia Roberts",
|
|
562
|
+
grade: 70.4
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
id: 19,
|
|
566
|
+
student: "Josiah Medina",
|
|
567
|
+
grade: 61.9
|
|
568
|
+
},
|
|
569
|
+
{
|
|
570
|
+
id: 20,
|
|
571
|
+
student: "Elliana Delgado",
|
|
572
|
+
grade: 87.6
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
id: 21,
|
|
576
|
+
student: "Colt Martin",
|
|
577
|
+
grade: 74.3
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
id: 22,
|
|
581
|
+
student: "Mila Jenkins",
|
|
582
|
+
grade: 98.2
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
id: 23,
|
|
586
|
+
student: "Declan Byrd",
|
|
587
|
+
grade: 55.9
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
id: 24,
|
|
591
|
+
student: "Giselle Parsons",
|
|
592
|
+
grade: 82
|
|
593
|
+
},
|
|
594
|
+
{
|
|
595
|
+
id: 25,
|
|
596
|
+
student: "Lewis Wallace",
|
|
597
|
+
grade: 69.1
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
id: 26,
|
|
601
|
+
student: "Arianna Ahmed",
|
|
602
|
+
grade: 91.4
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
id: 27,
|
|
606
|
+
student: "Harry Willis",
|
|
607
|
+
grade: 48.7
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
id: 28,
|
|
611
|
+
student: "Alexa Griffin",
|
|
612
|
+
grade: 77.8
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
id: 29,
|
|
616
|
+
student: "Ayden Woods",
|
|
617
|
+
grade: 63.5
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
id: 30,
|
|
621
|
+
student: "Reese Allen",
|
|
622
|
+
grade: 85.3
|
|
623
|
+
},
|
|
624
|
+
{
|
|
625
|
+
id: 31,
|
|
626
|
+
student: "Carter Moore",
|
|
627
|
+
grade: 90.7
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
id: 32,
|
|
631
|
+
student: "Emily Spears",
|
|
632
|
+
grade: 72.2
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
id: 33,
|
|
636
|
+
student: "Ameer McKinney",
|
|
637
|
+
grade: 59.9
|
|
638
|
+
},
|
|
639
|
+
{
|
|
640
|
+
id: 34,
|
|
641
|
+
student: "Gwendolyn Sanford",
|
|
642
|
+
grade: 93.6
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
id: 35,
|
|
646
|
+
student: "Truett Rangel",
|
|
647
|
+
grade: 68.4
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
id: 36,
|
|
651
|
+
student: "Gloria Yoder",
|
|
652
|
+
grade: 80.5
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
id: 37,
|
|
656
|
+
student: "Johan Fleming",
|
|
657
|
+
grade: 74.9
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
id: 38,
|
|
661
|
+
student: "Fatima Gates",
|
|
662
|
+
grade: 88.2
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
id: 39,
|
|
666
|
+
student: "Ermias McPherson",
|
|
667
|
+
grade: 51.3
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
id: 40,
|
|
671
|
+
student: "Emmaline Ali",
|
|
672
|
+
grade: 96.4
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
id: 41,
|
|
676
|
+
student: "Arjun Wade",
|
|
677
|
+
grade: 71.8
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
id: 42,
|
|
681
|
+
student: "Evie Yates",
|
|
682
|
+
grade: 84.7
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
id: 43,
|
|
686
|
+
student: "Braylon Golden",
|
|
687
|
+
grade: 67.2
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
id: 44,
|
|
691
|
+
student: "Giuliana Paul",
|
|
692
|
+
grade: 92.1
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
id: 45,
|
|
696
|
+
student: "Noel Wilkerson",
|
|
697
|
+
grade: 54.5
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
id: 46,
|
|
701
|
+
student: "Janiyah Floyd",
|
|
702
|
+
grade: 78.9
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
id: 47,
|
|
706
|
+
student: "Pierce Farmer",
|
|
707
|
+
grade: 86.4
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
id: 48,
|
|
711
|
+
student: "Madelynn Duarte",
|
|
712
|
+
grade: 73.6
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
id: 49,
|
|
716
|
+
student: "Abdullah Massey",
|
|
717
|
+
grade: 60.2
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
id: 50,
|
|
721
|
+
student: "Clementine Clay",
|
|
722
|
+
grade: 99.1
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
id: 51,
|
|
726
|
+
student: "Yosef Blair",
|
|
727
|
+
grade: 65.8
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
id: 52,
|
|
731
|
+
student: "Frances Truong",
|
|
732
|
+
grade: 82.5
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
id: 53,
|
|
736
|
+
student: "Ayan Davis",
|
|
737
|
+
grade: 75.3
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
id: 54,
|
|
741
|
+
student: "Mia Roach",
|
|
742
|
+
grade: 90.9
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
id: 55,
|
|
746
|
+
student: "Caspian Stein",
|
|
747
|
+
grade: 57.1
|
|
748
|
+
},
|
|
749
|
+
{
|
|
750
|
+
id: 56,
|
|
751
|
+
student: "Leilany Villegas",
|
|
752
|
+
grade: 81.4
|
|
753
|
+
},
|
|
754
|
+
{
|
|
755
|
+
id: 57,
|
|
756
|
+
student: "Clyde Corona",
|
|
757
|
+
grade: 64.6
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
id: 58,
|
|
761
|
+
student: "Marianna Fletcher",
|
|
762
|
+
grade: 88.7
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
id: 59,
|
|
766
|
+
student: "Jay McCarty",
|
|
767
|
+
grade: 72.9
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
id: 60,
|
|
771
|
+
student: "Halo Rocha",
|
|
772
|
+
grade: 85
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
id: 61,
|
|
776
|
+
student: "Onyx Davidson",
|
|
777
|
+
grade: 49.2
|
|
778
|
+
},
|
|
779
|
+
{
|
|
780
|
+
id: 62,
|
|
781
|
+
student: "Jayla Whitehead",
|
|
782
|
+
grade: 77.4
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
id: 63,
|
|
786
|
+
student: "Zayd Harvey",
|
|
787
|
+
grade: 93.2
|
|
788
|
+
},
|
|
789
|
+
{
|
|
790
|
+
id: 64,
|
|
791
|
+
student: "Nicole Hubbard",
|
|
792
|
+
grade: 68.7
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
id: 65,
|
|
796
|
+
student: "Forrest Bartlett",
|
|
797
|
+
grade: 80.1
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
id: 66,
|
|
801
|
+
student: "Aubrielle Gallegos",
|
|
802
|
+
grade: 95.8
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
id: 67,
|
|
806
|
+
student: "Jonas Mosley",
|
|
807
|
+
grade: 56.4
|
|
808
|
+
},
|
|
809
|
+
{
|
|
810
|
+
id: 68,
|
|
811
|
+
student: "Zaniyah Lee",
|
|
812
|
+
grade: 82.3
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
id: 69,
|
|
816
|
+
student: "Jack Giles",
|
|
817
|
+
grade: 71
|
|
818
|
+
},
|
|
819
|
+
{
|
|
820
|
+
id: 70,
|
|
821
|
+
student: "Bailee Warren",
|
|
822
|
+
grade: 89.5
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
id: 71,
|
|
826
|
+
student: "Abel Cruz",
|
|
827
|
+
grade: 63.8
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
id: 72,
|
|
831
|
+
student: "Claire Steele",
|
|
832
|
+
grade: 91.2
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
id: 73,
|
|
836
|
+
student: "Elian Berg",
|
|
837
|
+
grade: 74.5
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
id: 74,
|
|
841
|
+
student: "Emmalyn McClain",
|
|
842
|
+
grade: 86.9
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
id: 75,
|
|
846
|
+
student: "Mitchell Clayton",
|
|
847
|
+
grade: 53.7
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
id: 76,
|
|
851
|
+
student: "Saige Graves",
|
|
852
|
+
grade: 78.2
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
id: 77,
|
|
856
|
+
student: "Cesar Kane",
|
|
857
|
+
grade: 83.4
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
id: 78,
|
|
861
|
+
student: "Ellianna Ortega",
|
|
862
|
+
grade: 97
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
id: 79,
|
|
866
|
+
student: "Kobe Wallace",
|
|
867
|
+
grade: 33.5
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
id: 80,
|
|
871
|
+
student: "Arianna Dorsey",
|
|
872
|
+
grade: 84.8
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
id: 81,
|
|
876
|
+
student: "Enoch Elliott",
|
|
877
|
+
grade: 76.3
|
|
878
|
+
},
|
|
879
|
+
{
|
|
880
|
+
id: 82,
|
|
881
|
+
student: "Noelle Estes",
|
|
882
|
+
grade: 90.4
|
|
883
|
+
},
|
|
884
|
+
{
|
|
885
|
+
id: 83,
|
|
886
|
+
student: "Hakeem Andrews",
|
|
887
|
+
grade: 58.1
|
|
888
|
+
},
|
|
889
|
+
{
|
|
890
|
+
id: 84,
|
|
891
|
+
student: "Payton Phelps",
|
|
892
|
+
grade: 82.6
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
id: 85,
|
|
896
|
+
student: "Hamza Anthony",
|
|
897
|
+
grade: 69.9
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
id: 86,
|
|
901
|
+
student: "Macy Horton",
|
|
902
|
+
grade: 87.2
|
|
903
|
+
},
|
|
904
|
+
{
|
|
905
|
+
id: 87,
|
|
906
|
+
student: "Garrett Meyer",
|
|
907
|
+
grade: 75.8
|
|
908
|
+
},
|
|
909
|
+
{
|
|
910
|
+
id: 88,
|
|
911
|
+
student: "Sara McClain",
|
|
912
|
+
grade: 94.1
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
id: 89,
|
|
916
|
+
student: "Mitchell Magana",
|
|
917
|
+
grade: 52.9
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
id: 90,
|
|
921
|
+
student: "Amaris Foster",
|
|
922
|
+
grade: 80.3
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
id: 91,
|
|
926
|
+
student: "Kayden McGee",
|
|
927
|
+
grade: 66.4
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
id: 92,
|
|
931
|
+
student: "Kayleigh Bean",
|
|
932
|
+
grade: 91.7
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
id: 93,
|
|
936
|
+
student: "Mccoy Dunlap",
|
|
937
|
+
grade: 73.1
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
id: 94,
|
|
941
|
+
student: "Iliana Ochoa",
|
|
942
|
+
grade: 85.5
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
id: 95,
|
|
946
|
+
student: "Winston Hall",
|
|
947
|
+
grade: 47.8
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
id: 96,
|
|
951
|
+
student: "Leah David",
|
|
952
|
+
grade: 79.2
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
id: 97,
|
|
956
|
+
student: "Alonso Ballard",
|
|
957
|
+
grade: 88.9
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
id: 98,
|
|
961
|
+
student: "Alejandra Bass",
|
|
962
|
+
grade: 62.1
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
id: 99,
|
|
966
|
+
student: "Landen Santana",
|
|
967
|
+
grade: 95.2
|
|
968
|
+
},
|
|
969
|
+
{
|
|
970
|
+
id: 100,
|
|
971
|
+
student: "Myra Knight",
|
|
972
|
+
grade: 70.8
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
id: 101,
|
|
976
|
+
student: "Beckett Gilmore",
|
|
977
|
+
grade: 83.7
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
id: 102,
|
|
981
|
+
student: "Chanel Rosas",
|
|
982
|
+
grade: 31.4
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
id: 103,
|
|
986
|
+
student: "Remi Wade",
|
|
987
|
+
grade: 92.6
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
id: 104,
|
|
991
|
+
student: "Evie Church",
|
|
992
|
+
grade: 68.2
|
|
993
|
+
},
|
|
994
|
+
{
|
|
995
|
+
id: 105,
|
|
996
|
+
student: "Terrance Luna",
|
|
997
|
+
grade: 81.1
|
|
998
|
+
},
|
|
999
|
+
{
|
|
1000
|
+
id: 106,
|
|
1001
|
+
student: "Journey Alfaro",
|
|
1002
|
+
grade: 77.5
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
id: 107,
|
|
1006
|
+
student: "Xzavier Colon",
|
|
1007
|
+
grade: 89.3
|
|
1008
|
+
},
|
|
1009
|
+
{
|
|
1010
|
+
id: 108,
|
|
1011
|
+
student: "Remy Curry",
|
|
1012
|
+
grade: 64.9
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
id: 109,
|
|
1016
|
+
student: "Briggs Hale",
|
|
1017
|
+
grade: 96.7
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
id: 110,
|
|
1021
|
+
student: "Brinley Phillips",
|
|
1022
|
+
grade: 59.3
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
id: 111,
|
|
1026
|
+
student: "Andrew Huynh",
|
|
1027
|
+
grade: 82.4
|
|
1028
|
+
},
|
|
1029
|
+
{
|
|
1030
|
+
id: 112,
|
|
1031
|
+
student: "Oaklee Gross",
|
|
1032
|
+
grade: 74.1
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
id: 113,
|
|
1036
|
+
student: "Quinn Rosales",
|
|
1037
|
+
grade: 90.8
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
id: 114,
|
|
1041
|
+
student: "Kinley Bartlett",
|
|
1042
|
+
grade: 61.2
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
id: 115,
|
|
1046
|
+
student: "Kace Pineda",
|
|
1047
|
+
grade: 85.9
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
id: 116,
|
|
1051
|
+
student: "Nola Maynard",
|
|
1052
|
+
grade: 27.6
|
|
1053
|
+
},
|
|
1054
|
+
{
|
|
1055
|
+
id: 117,
|
|
1056
|
+
student: "Landry Rowland",
|
|
1057
|
+
grade: 93.4
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
id: 118,
|
|
1061
|
+
student: "Harleigh Camacho",
|
|
1062
|
+
grade: 50.5
|
|
1063
|
+
},
|
|
1064
|
+
{
|
|
1065
|
+
id: 119,
|
|
1066
|
+
student: "Tatum Lynn",
|
|
1067
|
+
grade: 78.7
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
id: 120,
|
|
1071
|
+
student: "Samira Nelson",
|
|
1072
|
+
grade: 86.2
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
id: 121,
|
|
1076
|
+
student: "Dylan Giles",
|
|
1077
|
+
grade: 67.5
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
id: 122,
|
|
1081
|
+
student: "Bailee Hendricks",
|
|
1082
|
+
grade: 94.8
|
|
1083
|
+
},
|
|
1084
|
+
{
|
|
1085
|
+
id: 123,
|
|
1086
|
+
student: "Dash Carr",
|
|
1087
|
+
grade: 71.3
|
|
1088
|
+
},
|
|
1089
|
+
{
|
|
1090
|
+
id: 124,
|
|
1091
|
+
student: "Rowan Acosta",
|
|
1092
|
+
grade: 44
|
|
1093
|
+
},
|
|
1094
|
+
{
|
|
1095
|
+
id: 125,
|
|
1096
|
+
student: "Jensen Santana",
|
|
1097
|
+
grade: 56.7
|
|
1098
|
+
},
|
|
1099
|
+
{
|
|
1100
|
+
id: 126,
|
|
1101
|
+
student: "Myra Christensen",
|
|
1102
|
+
grade: 91.9
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
id: 127,
|
|
1106
|
+
student: "Gregory Vu",
|
|
1107
|
+
grade: 79.4
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
id: 128,
|
|
1111
|
+
student: "Kimora Delarosa",
|
|
1112
|
+
grade: 88.5
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
id: 129,
|
|
1116
|
+
student: "Osiris Padilla",
|
|
1117
|
+
grade: 28.2
|
|
1118
|
+
}
|
|
558
1119
|
];
|
|
559
1120
|
function DataTableSection() {
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
) })
|
|
611
|
-
}
|
|
612
|
-
)
|
|
613
|
-
}
|
|
614
|
-
);
|
|
1121
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1122
|
+
title: "Data table",
|
|
1123
|
+
docsPage: "ostack-ui-data-display-data-table",
|
|
1124
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1125
|
+
cols: {
|
|
1126
|
+
Default: "default",
|
|
1127
|
+
Control: "control",
|
|
1128
|
+
Scrolled: "scrolled",
|
|
1129
|
+
Selectable: "showSelectionColumn"
|
|
1130
|
+
},
|
|
1131
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsx(Field, {
|
|
1132
|
+
style: { width: 450 },
|
|
1133
|
+
children: /* @__PURE__ */ jsxs(DataTable, {
|
|
1134
|
+
columns: {
|
|
1135
|
+
student: {
|
|
1136
|
+
label: "Student",
|
|
1137
|
+
header: true,
|
|
1138
|
+
sortable: true,
|
|
1139
|
+
filterable: true
|
|
1140
|
+
},
|
|
1141
|
+
grade: {
|
|
1142
|
+
label: "Grade",
|
|
1143
|
+
align: "right",
|
|
1144
|
+
sortable: true,
|
|
1145
|
+
filterable: true,
|
|
1146
|
+
format: ({ value }) => value.toFixed(1)
|
|
1147
|
+
}
|
|
1148
|
+
},
|
|
1149
|
+
rows: ROWS$1,
|
|
1150
|
+
rowKey: "id",
|
|
1151
|
+
displayMode: col === "scrolled" ? col : void 0,
|
|
1152
|
+
showSelectionColumn: col === "showSelectionColumn",
|
|
1153
|
+
defaultLimit: 5,
|
|
1154
|
+
children: [
|
|
1155
|
+
/* @__PURE__ */ jsx(Label, { children: "Exam grades" }),
|
|
1156
|
+
/* @__PURE__ */ jsx(DataTableFilter, {}),
|
|
1157
|
+
/* @__PURE__ */ jsx(DataTableContent, { variant: col === "default" || col === "control" ? col : void 0 }),
|
|
1158
|
+
/* @__PURE__ */ jsx(DataTableRowsPerPage, { limitOptions: [
|
|
1159
|
+
5,
|
|
1160
|
+
10,
|
|
1161
|
+
25,
|
|
1162
|
+
50,
|
|
1163
|
+
100
|
|
1164
|
+
] }),
|
|
1165
|
+
/* @__PURE__ */ jsx(DataTablePagination, {})
|
|
1166
|
+
]
|
|
1167
|
+
})
|
|
1168
|
+
})
|
|
1169
|
+
})
|
|
1170
|
+
});
|
|
615
1171
|
}
|
|
1172
|
+
//#endregion
|
|
1173
|
+
//#region src/sections/DateInputSection.tsx
|
|
616
1174
|
function DateInputSection() {
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
1175
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1176
|
+
title: "Date input",
|
|
1177
|
+
docsPage: "ostack-ui-forms-date-input",
|
|
1178
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1179
|
+
cols: {
|
|
1180
|
+
Basic: "",
|
|
1181
|
+
"Helper text": "helperText",
|
|
1182
|
+
Required: "required",
|
|
1183
|
+
Disabled: "disabled",
|
|
1184
|
+
"Read-only": "readOnly",
|
|
1185
|
+
Loading: "loading",
|
|
1186
|
+
Code: "code"
|
|
1187
|
+
},
|
|
1188
|
+
rows: {
|
|
1189
|
+
"No status": void 0,
|
|
1190
|
+
Valid: "valid",
|
|
1191
|
+
Invalid: "invalid",
|
|
1192
|
+
Warned: "warned"
|
|
1193
|
+
},
|
|
1194
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1195
|
+
/* @__PURE__ */ jsx(Label, { children: "Birthday" }),
|
|
1196
|
+
/* @__PURE__ */ jsx(DateInput, {
|
|
1197
|
+
containerProps: { style: { width: 145 } },
|
|
1198
|
+
defaultValue: new Date(1990, 3, 10),
|
|
1199
|
+
status: row,
|
|
1200
|
+
required: col === "required",
|
|
1201
|
+
disabled: col === "disabled",
|
|
1202
|
+
readOnly: col === "readOnly",
|
|
1203
|
+
loading: col === "loading",
|
|
1204
|
+
code: col === "code" ? "7.2" : void 0
|
|
1205
|
+
}),
|
|
1206
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1207
|
+
type: "success",
|
|
1208
|
+
children: "Confirmed."
|
|
1209
|
+
}),
|
|
1210
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1211
|
+
type: "warning",
|
|
1212
|
+
children: "Awaiting confirmation…"
|
|
1213
|
+
}),
|
|
1214
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unable to confirm." }),
|
|
1215
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For legal purposes." })
|
|
1216
|
+
] })
|
|
1217
|
+
})
|
|
1218
|
+
});
|
|
657
1219
|
}
|
|
1220
|
+
//#endregion
|
|
1221
|
+
//#region src/sections/DateRangeInputSection.tsx
|
|
658
1222
|
function DateRangeInputSection() {
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
)
|
|
707
|
-
}
|
|
708
|
-
);
|
|
1223
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1224
|
+
title: "Date-range input",
|
|
1225
|
+
docsPage: "ostack-ui-forms-date-range-input",
|
|
1226
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1227
|
+
cols: {
|
|
1228
|
+
Basic: "",
|
|
1229
|
+
"Helper text": "helperText",
|
|
1230
|
+
Required: "required",
|
|
1231
|
+
Disabled: "disabled",
|
|
1232
|
+
"Read-only": "readOnly",
|
|
1233
|
+
Loading: "loading",
|
|
1234
|
+
Code: "code"
|
|
1235
|
+
},
|
|
1236
|
+
rows: {
|
|
1237
|
+
"No status": void 0,
|
|
1238
|
+
Valid: "valid",
|
|
1239
|
+
Invalid: "invalid",
|
|
1240
|
+
Warned: "warned"
|
|
1241
|
+
},
|
|
1242
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1243
|
+
/* @__PURE__ */ jsx(Label, { children: "Time off" }),
|
|
1244
|
+
/* @__PURE__ */ jsx(DateRangeInput, {
|
|
1245
|
+
popoverAnchorProps: { style: { width: 280 } },
|
|
1246
|
+
defaultValue: {
|
|
1247
|
+
start: new Date(2026, 2, 10),
|
|
1248
|
+
end: new Date(2026, 2, 24)
|
|
1249
|
+
},
|
|
1250
|
+
status: row,
|
|
1251
|
+
required: col === "required",
|
|
1252
|
+
disabled: col === "disabled",
|
|
1253
|
+
readOnly: col === "readOnly",
|
|
1254
|
+
loading: col === "loading",
|
|
1255
|
+
code: col === "code" ? "1.6" : void 0
|
|
1256
|
+
}),
|
|
1257
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1258
|
+
type: "success",
|
|
1259
|
+
children: "Accepted."
|
|
1260
|
+
}),
|
|
1261
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1262
|
+
type: "warning",
|
|
1263
|
+
children: "Processing…"
|
|
1264
|
+
}),
|
|
1265
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Not accepted." }),
|
|
1266
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Reserve your paid time off." })
|
|
1267
|
+
] })
|
|
1268
|
+
})
|
|
1269
|
+
});
|
|
709
1270
|
}
|
|
1271
|
+
//#endregion
|
|
1272
|
+
//#region src/sections/DescriptionListSection.tsx
|
|
710
1273
|
function DescriptionListSection() {
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
1274
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1275
|
+
title: "Description list",
|
|
1276
|
+
docsPage: "ostack-ui-data-display-description-list",
|
|
1277
|
+
children: /* @__PURE__ */ jsxs(DescriptionList, { children: [
|
|
1278
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1279
|
+
term: "Instance ID",
|
|
1280
|
+
xs: 6,
|
|
1281
|
+
md: 4,
|
|
1282
|
+
lg: 3,
|
|
1283
|
+
xl: 2,
|
|
1284
|
+
children: /* @__PURE__ */ jsx(Code, { children: "i-04f29a87bca612" })
|
|
1285
|
+
}),
|
|
1286
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1287
|
+
term: "Status",
|
|
1288
|
+
xs: 6,
|
|
1289
|
+
md: 4,
|
|
1290
|
+
lg: 3,
|
|
1291
|
+
xl: 2,
|
|
1292
|
+
children: /* @__PURE__ */ jsx(Tag, {
|
|
1293
|
+
color: "success",
|
|
1294
|
+
children: "Running"
|
|
1295
|
+
})
|
|
1296
|
+
}),
|
|
1297
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1298
|
+
term: "Public IPv4",
|
|
1299
|
+
xs: 6,
|
|
1300
|
+
md: 4,
|
|
1301
|
+
lg: 3,
|
|
1302
|
+
xl: 2,
|
|
1303
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
1304
|
+
href: "http://203.0.113.88",
|
|
1305
|
+
external: true,
|
|
1306
|
+
children: "203.0.113.88"
|
|
1307
|
+
})
|
|
1308
|
+
}),
|
|
1309
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1310
|
+
term: "Storage",
|
|
1311
|
+
xs: 6,
|
|
1312
|
+
md: 4,
|
|
1313
|
+
lg: 3,
|
|
1314
|
+
xl: 2,
|
|
1315
|
+
children: "20 GB (SSD)"
|
|
1316
|
+
}),
|
|
1317
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1318
|
+
term: "Availability Zone",
|
|
1319
|
+
xs: 6,
|
|
1320
|
+
md: 4,
|
|
1321
|
+
lg: 3,
|
|
1322
|
+
xl: 2,
|
|
1323
|
+
children: /* @__PURE__ */ jsx(Code, { children: "us-east-1a" })
|
|
1324
|
+
}),
|
|
1325
|
+
/* @__PURE__ */ jsx(DescriptionListItem, {
|
|
1326
|
+
term: "Launch Time",
|
|
1327
|
+
xs: 6,
|
|
1328
|
+
md: 4,
|
|
1329
|
+
lg: 3,
|
|
1330
|
+
xl: 2,
|
|
1331
|
+
children: "2026-02-12 14:30 UTC"
|
|
1332
|
+
})
|
|
1333
|
+
] })
|
|
1334
|
+
});
|
|
736
1335
|
}
|
|
1336
|
+
//#endregion
|
|
1337
|
+
//#region src/sections/DialogSection.tsx
|
|
737
1338
|
function DialogSection() {
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
}
|
|
775
|
-
) });
|
|
1339
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1340
|
+
title: "Dialog",
|
|
1341
|
+
docsPage: "ostack-ui-overlay-dialog",
|
|
1342
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1343
|
+
cols: {
|
|
1344
|
+
Neutral: "neutral",
|
|
1345
|
+
Primary: "primary",
|
|
1346
|
+
Success: "success",
|
|
1347
|
+
Danger: "danger",
|
|
1348
|
+
Warning: "warning"
|
|
1349
|
+
},
|
|
1350
|
+
rows: {
|
|
1351
|
+
Solid: "solid",
|
|
1352
|
+
Subtle: "subtle",
|
|
1353
|
+
Outlined: "outlined",
|
|
1354
|
+
Ghost: "ghost"
|
|
1355
|
+
},
|
|
1356
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Dialog, { children: [/* @__PURE__ */ jsx(DialogTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
1357
|
+
variant: row,
|
|
1358
|
+
color: col,
|
|
1359
|
+
children: "Edit"
|
|
1360
|
+
}) }), /* @__PURE__ */ jsx(DialogContent, {
|
|
1361
|
+
variant: row,
|
|
1362
|
+
color: col,
|
|
1363
|
+
asChild: true,
|
|
1364
|
+
children: /* @__PURE__ */ jsxs("form", { children: [
|
|
1365
|
+
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: "Edit user information" }) }),
|
|
1366
|
+
/* @__PURE__ */ jsxs(DialogBody, { children: [/* @__PURE__ */ jsx(DialogDescription, { children: "Edit user information below, changes are saved automatically." }), /* @__PURE__ */ jsxs(Stack, { children: [/* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Name" }), /* @__PURE__ */ jsx(Input, { defaultValue: "Charles McClain" })] }), /* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Date of birth" }), /* @__PURE__ */ jsx(DateInput, { defaultValue: new Date(1993, 4, 4) })] })] })] }),
|
|
1367
|
+
/* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(DialogClose, { children: /* @__PURE__ */ jsx(Button, {
|
|
1368
|
+
color: col,
|
|
1369
|
+
children: "Close"
|
|
1370
|
+
}) }) })
|
|
1371
|
+
] })
|
|
1372
|
+
})] })
|
|
1373
|
+
})
|
|
1374
|
+
});
|
|
776
1375
|
}
|
|
1376
|
+
//#endregion
|
|
1377
|
+
//#region ../../node_modules/@fortawesome/free-brands-svg-icons/index.mjs
|
|
1378
|
+
/*!
|
|
1379
|
+
* Font Awesome Free 7.2.0 by @fontawesome - https://fontawesome.com
|
|
1380
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
1381
|
+
* Copyright 2026 Fonticons, Inc.
|
|
1382
|
+
*/
|
|
777
1383
|
var faBluetooth = {
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
1384
|
+
prefix: "fab",
|
|
1385
|
+
iconName: "bluetooth",
|
|
1386
|
+
icon: [
|
|
1387
|
+
384,
|
|
1388
|
+
512,
|
|
1389
|
+
[],
|
|
1390
|
+
"f293",
|
|
1391
|
+
"M260.6 171.1l-42.9 42.9-.3-86 43.2 43.1zM217.4 390.9l43.1-43.1-42.9-42.9-.2 86zM384 259.4C384 465 312.1 512 198.9 512S0 465 0 259.4 83.4 0 196.6 0 384 53.9 384 259.4zm-158.5 0l79.4-88.6-125.1-134.3 0 176.9-73.8-73.8-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z"
|
|
1392
|
+
]
|
|
781
1393
|
};
|
|
782
1394
|
var faReact = {
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
1395
|
+
prefix: "fab",
|
|
1396
|
+
iconName: "react",
|
|
1397
|
+
icon: [
|
|
1398
|
+
512,
|
|
1399
|
+
512,
|
|
1400
|
+
[],
|
|
1401
|
+
"f41b",
|
|
1402
|
+
"M418.2 177.2c-5.4-1.8-10.8-3.5-16.2-5.1 .9-3.7 1.7-7.4 2.5-11.1 12.3-59.6 4.2-107.5-23.1-123.3-26.3-15.1-69.2 .6-112.6 38.4-4.3 3.7-8.5 7.6-12.5 11.5-2.7-2.6-5.5-5.2-8.3-7.7-45.5-40.4-91.1-57.4-118.4-41.5-26.2 15.2-34 60.3-23 116.7 1.1 5.6 2.3 11.1 3.7 16.7-6.4 1.8-12.7 3.8-18.6 5.9-53.4 18.5-91.7 47.7-91.7 77.9 0 31.2 40.8 62.5 96.3 81.5 4.5 1.5 9 3 13.6 4.3-1.5 6-2.8 11.9-4 18-10.5 55.5-2.3 99.5 23.9 114.6 27 15.6 72.4-.4 116.6-39.1 3.5-3.1 7-6.3 10.5-9.7 4.4 4.3 9 8.4 13.6 12.4 42.8 36.8 85.1 51.7 111.2 36.6 27-15.6 35.8-62.9 24.4-120.5-.9-4.4-1.9-8.9-3-13.5 3.2-.9 6.3-1.9 9.4-2.9 57.7-19.1 99.5-50 99.5-81.7 0-30.3-39.4-59.7-93.8-78.4zM282.9 92.3c37.2-32.4 71.9-45.1 87.7-36 16.9 9.7 23.4 48.9 12.8 100.4-.7 3.4-1.4 6.7-2.3 10-22.2-5-44.7-8.6-67.3-10.6-13-18.6-27.2-36.4-42.6-53.1 3.9-3.7 7.7-7.2 11.7-10.7zM167.2 307.5c5.1 8.7 10.3 17.4 15.8 25.9-15.6-1.7-31.1-4.2-46.4-7.5 4.4-14.4 9.9-29.3 16.3-44.5 4.6 8.8 9.3 17.5 14.3 26.1zM136.9 187.2c14.4-3.2 29.7-5.8 45.6-7.8-5.3 8.3-10.5 16.8-15.4 25.4-4.9 8.5-9.7 17.2-14.2 26-6.3-14.9-11.6-29.5-16-43.6zm27.4 68.9c6.6-13.8 13.8-27.3 21.4-40.6s15.8-26.2 24.4-38.9c15-1.1 30.3-1.7 45.9-1.7s31 .6 45.9 1.7c8.5 12.6 16.6 25.5 24.3 38.7s14.9 26.7 21.7 40.4c-6.7 13.8-13.9 27.4-21.6 40.8-7.6 13.3-15.7 26.2-24.2 39-14.9 1.1-30.4 1.6-46.1 1.6s-30.9-.5-45.6-1.4c-8.7-12.7-16.9-25.7-24.6-39s-14.8-26.8-21.5-40.6zm180.6 51.2c5.1-8.8 9.9-17.7 14.6-26.7 6.4 14.5 12 29.2 16.9 44.3-15.5 3.5-31.2 6.2-47 8 5.4-8.4 10.5-17 15.5-25.6zm14.4-76.5c-4.7-8.8-9.5-17.6-14.5-26.2-4.9-8.5-10-16.9-15.3-25.2 16.1 2 31.5 4.7 45.9 8-4.6 14.8-10 29.2-16.1 43.4zM256.2 118.3c10.5 11.4 20.4 23.4 29.6 35.8-19.8-.9-39.7-.9-59.5 0 9.8-12.9 19.9-24.9 29.9-35.8zM140.2 57c16.8-9.8 54.1 4.2 93.4 39 2.5 2.2 5 4.6 7.6 7-15.5 16.7-29.8 34.5-42.9 53.1-22.6 2-45 5.5-67.2 10.4-1.3-5.1-2.4-10.3-3.5-15.5-9.4-48.4-3.2-84.9 12.6-94zM115.7 320.6c-4.2-1.2-8.3-2.5-12.4-3.9-21.3-6.7-45.5-17.3-63-31.2-10.1-7-16.9-17.8-18.8-29.9 0-18.3 31.6-41.7 77.2-57.6 5.7-2 11.5-3.8 17.3-5.5 6.8 21.7 15 43 24.5 63.6-9.6 20.9-17.9 42.5-24.8 64.5zm116.6 98c-16.5 15.1-35.6 27.1-56.4 35.3-11.1 5.3-23.9 5.8-35.3 1.3-15.9-9.2-22.5-44.5-13.5-92 1.1-5.6 2.3-11.2 3.7-16.7 22.4 4.8 45 8.1 67.9 9.8 13.2 18.7 27.7 36.6 43.2 53.4-3.2 3.1-6.4 6.1-9.6 8.9zm24.5-24.3c-10.2-11-20.4-23.2-30.3-36.3 9.6 .4 19.5 .6 29.5 .6 10.3 0 20.4-.2 30.4-.7-9.2 12.7-19.1 24.8-29.6 36.4zm130.7 30c-.9 12.2-6.9 23.6-16.5 31.3-15.9 9.2-49.8-2.8-86.4-34.2-4.2-3.6-8.4-7.5-12.7-11.5 15.3-16.9 29.4-34.8 42.2-53.6 22.9-1.9 45.7-5.4 68.2-10.5 1 4.1 1.9 8.2 2.7 12.2 4.9 21.6 5.7 44.1 2.5 66.3zm18.2-107.5c-2.8 .9-5.6 1.8-8.5 2.6-7-21.8-15.6-43.1-25.5-63.8 9.6-20.4 17.7-41.4 24.5-62.9 5.2 1.5 10.2 3.1 15 4.7 46.6 16 79.3 39.8 79.3 58 0 19.6-34.9 44.9-84.8 61.4zM256 301.8a45.8 45.8 0 1 0 0-91.6 45.8 45.8 0 1 0 0 91.6z"
|
|
1403
|
+
]
|
|
786
1404
|
};
|
|
787
1405
|
var faWikipediaW = {
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
1406
|
+
prefix: "fab",
|
|
1407
|
+
iconName: "wikipedia-w",
|
|
1408
|
+
icon: [
|
|
1409
|
+
640,
|
|
1410
|
+
512,
|
|
1411
|
+
[],
|
|
1412
|
+
"f266",
|
|
1413
|
+
"M640 51.2l-.3 12.2c-28.1 .8-45 15.8-55.8 40.3-25 57.8-103.3 240-155.3 358.6l-13.6 0-81.9-193.1c-32.5 63.6-68.3 130-99.2 193.1-.3 .3-15 0-15-.3-46.9-109.7-96.1-218.6-143.1-328.6-11.4-26.7-49.4-70-75.6-69.7 0-3.1-.3-10-.3-14.2l161.9 0 0 13.9c-19.2 1.1-52.8 13.3-43.3 34.2 21.9 49.7 103.6 240.3 125.6 288.6 15-29.7 57.8-109.2 75.3-142.8-13.9-28.3-58.6-133.9-72.8-160-9.7-17.8-36.1-19.4-55.8-19.7l0-13.9 142.5 .3 0 13.1c-19.4 .6-38.1 7.8-29.4 26.1 18.9 40 30.6 68.1 48.1 104.7 5.6-10.8 34.7-69.4 48.1-100.8 8.9-20.6-3.9-28.6-38.6-29.4 .3-3.6 0-10.3 .3-13.6 44.4-.3 111.1-.3 123.1-.6l0 13.6C462.4 64 439.1 76 426.8 94.9L367.6 217.7c6.4 16.1 63.3 142.8 69.2 156.7L559.2 91.8c-8.6-23.1-36.4-28.1-47.2-28.3l0-13.9 127.8 1.1 .2 .5z"
|
|
1414
|
+
]
|
|
791
1415
|
};
|
|
1416
|
+
//#endregion
|
|
1417
|
+
//#region src/sections/DropdownMenuSection.tsx
|
|
792
1418
|
function DropdownMenuSection() {
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
1419
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1420
|
+
title: "Dropdown menu",
|
|
1421
|
+
docsPage: "ostack-ui-overlay-dropdown-menu",
|
|
1422
|
+
children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [/* @__PURE__ */ jsx(DropdownMenuTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
1423
|
+
icon: faGear,
|
|
1424
|
+
children: "Settings"
|
|
1425
|
+
}) }), /* @__PURE__ */ jsxs(DropdownMenuContent, {
|
|
1426
|
+
style: { minWidth: 200 },
|
|
1427
|
+
children: [
|
|
1428
|
+
/* @__PURE__ */ jsxs(DropdownMenuGroup, {
|
|
1429
|
+
label: "Connectivity",
|
|
1430
|
+
children: [
|
|
1431
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1432
|
+
icon: faWifi,
|
|
1433
|
+
children: "Wi-Fi"
|
|
1434
|
+
}),
|
|
1435
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1436
|
+
icon: faNetworkWired,
|
|
1437
|
+
children: "Network"
|
|
1438
|
+
}),
|
|
1439
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1440
|
+
icon: faBluetooth,
|
|
1441
|
+
children: "Bluetooth"
|
|
1442
|
+
})
|
|
1443
|
+
]
|
|
1444
|
+
}),
|
|
1445
|
+
/* @__PURE__ */ jsxs(DropdownMenuGroup, {
|
|
1446
|
+
label: "Devices",
|
|
1447
|
+
children: [
|
|
1448
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1449
|
+
icon: faDisplay,
|
|
1450
|
+
children: "Displays"
|
|
1451
|
+
}),
|
|
1452
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1453
|
+
icon: faVolumeHigh,
|
|
1454
|
+
children: "Sound"
|
|
1455
|
+
}),
|
|
1456
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1457
|
+
icon: faKeyboard,
|
|
1458
|
+
children: "Input"
|
|
1459
|
+
}),
|
|
1460
|
+
/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1461
|
+
icon: faPrint,
|
|
1462
|
+
children: "Printers"
|
|
1463
|
+
})
|
|
1464
|
+
]
|
|
1465
|
+
}),
|
|
1466
|
+
/* @__PURE__ */ jsxs(DropdownMenuRadioGroup, {
|
|
1467
|
+
label: "Language",
|
|
1468
|
+
value: "en",
|
|
1469
|
+
children: [
|
|
1470
|
+
/* @__PURE__ */ jsx(DropdownMenuRadioItem, {
|
|
1471
|
+
value: "en",
|
|
1472
|
+
children: "English"
|
|
1473
|
+
}),
|
|
1474
|
+
/* @__PURE__ */ jsx(DropdownMenuRadioItem, {
|
|
1475
|
+
value: "pt",
|
|
1476
|
+
children: "Portuguese"
|
|
1477
|
+
}),
|
|
1478
|
+
/* @__PURE__ */ jsx(DropdownMenuRadioItem, {
|
|
1479
|
+
value: "es",
|
|
1480
|
+
disabled: true,
|
|
1481
|
+
children: "Spanish"
|
|
1482
|
+
})
|
|
1483
|
+
]
|
|
1484
|
+
}),
|
|
1485
|
+
/* @__PURE__ */ jsxs(DropdownMenuGroup, {
|
|
1486
|
+
label: "Notifications",
|
|
1487
|
+
children: [/* @__PURE__ */ jsx(DropdownMenuCheckboxItem, { children: "Calendar" }), /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, {
|
|
1488
|
+
checked: true,
|
|
1489
|
+
children: "Weather"
|
|
1490
|
+
})]
|
|
1491
|
+
}),
|
|
1492
|
+
/* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [/* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "System" }), /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [/* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [/* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1493
|
+
icon: faClock,
|
|
1494
|
+
children: "Date & Time"
|
|
1495
|
+
}), /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1496
|
+
icon: faUser,
|
|
1497
|
+
children: "Users"
|
|
1498
|
+
})] }), /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
1499
|
+
icon: faCircleXmark,
|
|
1500
|
+
color: "danger",
|
|
1501
|
+
children: "Factory reset"
|
|
1502
|
+
}) })] })] }) })
|
|
1503
|
+
]
|
|
1504
|
+
})] })
|
|
1505
|
+
});
|
|
835
1506
|
}
|
|
1507
|
+
//#endregion
|
|
1508
|
+
//#region src/sections/FieldGroupSection.tsx
|
|
836
1509
|
function FieldGroupSection() {
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
] })
|
|
855
|
-
] }) })
|
|
856
|
-
] })
|
|
857
|
-
}
|
|
858
|
-
) });
|
|
1510
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1511
|
+
title: "Field group",
|
|
1512
|
+
docsPage: "ostack-ui-forms-field-group",
|
|
1513
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1514
|
+
cols: {
|
|
1515
|
+
Basic: "basic",
|
|
1516
|
+
Code: "code"
|
|
1517
|
+
},
|
|
1518
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsxs(FieldGroup, { children: [/* @__PURE__ */ jsx(FieldGroupHeader, {
|
|
1519
|
+
code: col === "code" ? "1" : void 0,
|
|
1520
|
+
children: /* @__PURE__ */ jsx(FieldGroupTitle, { children: "Identification" })
|
|
1521
|
+
}), /* @__PURE__ */ jsx(FieldGroupBody, { children: /* @__PURE__ */ jsxs(Stack, {
|
|
1522
|
+
gap: 3,
|
|
1523
|
+
children: [/* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Full name" }), /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.1" : void 0 })] }), /* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Passport number" }), /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.2" : void 0 })] })]
|
|
1524
|
+
}) })] })
|
|
1525
|
+
})
|
|
1526
|
+
});
|
|
859
1527
|
}
|
|
1528
|
+
//#endregion
|
|
1529
|
+
//#region src/sections/IconButtonSection.tsx
|
|
860
1530
|
function IconButtonSection() {
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
}
|
|
894
|
-
) });
|
|
1531
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1532
|
+
title: "Icon button",
|
|
1533
|
+
docsPage: "ostack-ui-forms-icon-button",
|
|
1534
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1535
|
+
cols: {
|
|
1536
|
+
Neutral: "neutral",
|
|
1537
|
+
Primary: "primary",
|
|
1538
|
+
Success: "success",
|
|
1539
|
+
Danger: "danger",
|
|
1540
|
+
Warning: "warning",
|
|
1541
|
+
Disabled: "disabled",
|
|
1542
|
+
Loading: "loading",
|
|
1543
|
+
Keybinds: "keybinds"
|
|
1544
|
+
},
|
|
1545
|
+
rows: {
|
|
1546
|
+
Solid: "solid",
|
|
1547
|
+
Subtle: "subtle",
|
|
1548
|
+
Outlined: "outlined",
|
|
1549
|
+
Ghost: "ghost"
|
|
1550
|
+
},
|
|
1551
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsx(IconButton, {
|
|
1552
|
+
label: "Bloom",
|
|
1553
|
+
icon: faSeedling,
|
|
1554
|
+
variant: row,
|
|
1555
|
+
color: col === "disabled" || col === "loading" || col === "keybinds" ? void 0 : col,
|
|
1556
|
+
disabled: col === "disabled",
|
|
1557
|
+
loading: col === "loading",
|
|
1558
|
+
loadingLabel: col === "loading" ? "Blooming…" : void 0,
|
|
1559
|
+
keybinds: col === "keybinds" ? "Alt+Shift+B" : void 0
|
|
1560
|
+
})
|
|
1561
|
+
})
|
|
1562
|
+
});
|
|
895
1563
|
}
|
|
1564
|
+
//#endregion
|
|
1565
|
+
//#region src/sections/InputSection.tsx
|
|
896
1566
|
function InputSection() {
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
1567
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1568
|
+
title: "Input",
|
|
1569
|
+
docsPage: "ostack-ui-forms-input",
|
|
1570
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1571
|
+
cols: {
|
|
1572
|
+
Basic: "",
|
|
1573
|
+
"Helper text": "helperText",
|
|
1574
|
+
Required: "required",
|
|
1575
|
+
"Label help": "labelHelp",
|
|
1576
|
+
Disabled: "disabled",
|
|
1577
|
+
"Read-only": "readOnly",
|
|
1578
|
+
Loading: "loading",
|
|
1579
|
+
Code: "code",
|
|
1580
|
+
"Clear button": "showClearButton"
|
|
1581
|
+
},
|
|
1582
|
+
rows: {
|
|
1583
|
+
"No status": void 0,
|
|
1584
|
+
Valid: "valid",
|
|
1585
|
+
Invalid: "invalid",
|
|
1586
|
+
Warned: "warned"
|
|
1587
|
+
},
|
|
1588
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1589
|
+
/* @__PURE__ */ jsx(Label, {
|
|
1590
|
+
helperText: col === "labelHelp" ? "Used to sign in." : void 0,
|
|
1591
|
+
children: "Username"
|
|
1592
|
+
}),
|
|
1593
|
+
/* @__PURE__ */ jsx(Input, {
|
|
1594
|
+
containerProps: { style: { width: 110 } },
|
|
1595
|
+
defaultValue: "j_smith",
|
|
1596
|
+
status: row,
|
|
1597
|
+
required: col === "required",
|
|
1598
|
+
disabled: col === "disabled",
|
|
1599
|
+
readOnly: col === "readOnly",
|
|
1600
|
+
loading: col === "loading",
|
|
1601
|
+
code: col === "code" ? "1.1" : void 0,
|
|
1602
|
+
showClearButton: col === "showClearButton" ? "auto" : void 0
|
|
1603
|
+
}),
|
|
1604
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1605
|
+
type: "success",
|
|
1606
|
+
children: "Available."
|
|
1607
|
+
}),
|
|
1608
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1609
|
+
type: "warning",
|
|
1610
|
+
children: "Already taken."
|
|
1611
|
+
}),
|
|
1612
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Invalid format." }),
|
|
1613
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Used to sign in." })
|
|
1614
|
+
] })
|
|
1615
|
+
})
|
|
1616
|
+
});
|
|
946
1617
|
}
|
|
1618
|
+
//#endregion
|
|
1619
|
+
//#region src/sections/KeyboardSection.tsx
|
|
947
1620
|
function KeyboardSection() {
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
1621
|
+
return /* @__PURE__ */ jsxs(ExhibitSection, {
|
|
1622
|
+
title: "Keyboard",
|
|
1623
|
+
docsPage: "ostack-ui-typography-keyboard",
|
|
1624
|
+
children: [
|
|
1625
|
+
"Press ",
|
|
1626
|
+
/* @__PURE__ */ jsx(Keyboard, { children: "Ctrl" }),
|
|
1627
|
+
" + ",
|
|
1628
|
+
/* @__PURE__ */ jsx(Keyboard, { children: "P" }),
|
|
1629
|
+
" to print."
|
|
1630
|
+
]
|
|
1631
|
+
});
|
|
955
1632
|
}
|
|
1633
|
+
//#endregion
|
|
1634
|
+
//#region src/sections/LinkSection.tsx
|
|
956
1635
|
function LinkSection() {
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
}
|
|
978
|
-
) });
|
|
1636
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1637
|
+
title: "Link",
|
|
1638
|
+
docsPage: "ostack-ui-typography-link",
|
|
1639
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1640
|
+
cols: {
|
|
1641
|
+
Neutral: "neutral",
|
|
1642
|
+
Primary: "primary",
|
|
1643
|
+
Success: "success",
|
|
1644
|
+
Danger: "danger",
|
|
1645
|
+
Warning: "warning",
|
|
1646
|
+
External: "external"
|
|
1647
|
+
},
|
|
1648
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsx(Link, {
|
|
1649
|
+
href: col === "external" ? "https://www.wikipedia.org/" : "#",
|
|
1650
|
+
color: col === "external" ? void 0 : col,
|
|
1651
|
+
external: col === "external",
|
|
1652
|
+
children: col === "external" ? "Wikipedia" : "Go to top"
|
|
1653
|
+
})
|
|
1654
|
+
})
|
|
1655
|
+
});
|
|
979
1656
|
}
|
|
1657
|
+
//#endregion
|
|
1658
|
+
//#region src/sections/MarkSection.tsx
|
|
980
1659
|
function MarkSection() {
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
1660
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1661
|
+
title: "Mark",
|
|
1662
|
+
docsPage: "ostack-ui-typography-mark",
|
|
1663
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1664
|
+
cols: {
|
|
1665
|
+
Neutral: "neutral",
|
|
1666
|
+
Primary: "primary",
|
|
1667
|
+
Success: "success",
|
|
1668
|
+
Danger: "danger",
|
|
1669
|
+
Warning: "warning"
|
|
1670
|
+
},
|
|
1671
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
1672
|
+
"The deadline is ",
|
|
1673
|
+
/* @__PURE__ */ jsx(Mark, {
|
|
1674
|
+
color: col,
|
|
1675
|
+
children: "Friday"
|
|
1676
|
+
}),
|
|
1677
|
+
"."
|
|
1678
|
+
] })
|
|
1679
|
+
})
|
|
1680
|
+
});
|
|
998
1681
|
}
|
|
1682
|
+
//#endregion
|
|
1683
|
+
//#region src/sections/MenuListSection.tsx
|
|
999
1684
|
function MenuListSection() {
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1685
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1686
|
+
title: "Menu list",
|
|
1687
|
+
docsPage: "ostack-ui-overlay-dropdown-menu",
|
|
1688
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1689
|
+
cols: {
|
|
1690
|
+
Subtle: "subtle",
|
|
1691
|
+
Solid: "solid"
|
|
1692
|
+
},
|
|
1693
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsxs(MenuList, {
|
|
1694
|
+
variant: col,
|
|
1695
|
+
style: { width: 250 },
|
|
1696
|
+
children: [/* @__PURE__ */ jsxs(MenuListGroup, {
|
|
1697
|
+
label: "Actions",
|
|
1698
|
+
children: [
|
|
1699
|
+
/* @__PURE__ */ jsx(MenuListItem, {
|
|
1700
|
+
icon: faEye,
|
|
1701
|
+
selected: true,
|
|
1702
|
+
children: "View"
|
|
1703
|
+
}),
|
|
1704
|
+
/* @__PURE__ */ jsx(MenuListItem, {
|
|
1705
|
+
icon: faPencil,
|
|
1706
|
+
children: "Edit"
|
|
1707
|
+
}),
|
|
1708
|
+
/* @__PURE__ */ jsx(MenuListItem, {
|
|
1709
|
+
icon: faTrashCan,
|
|
1710
|
+
color: "danger",
|
|
1711
|
+
children: "Delete"
|
|
1712
|
+
})
|
|
1713
|
+
]
|
|
1714
|
+
}), /* @__PURE__ */ jsxs(MenuListGroup, {
|
|
1715
|
+
label: "Links",
|
|
1716
|
+
children: [/* @__PURE__ */ jsx(MenuListItem, {
|
|
1717
|
+
type: "link",
|
|
1718
|
+
href: "https://www.wikipedia.org/",
|
|
1719
|
+
icon: faWikipediaW,
|
|
1720
|
+
target: "_blank",
|
|
1721
|
+
rel: "noopener noreferrer",
|
|
1722
|
+
children: "Wikipedia"
|
|
1723
|
+
}), /* @__PURE__ */ jsx(MenuListItem, {
|
|
1724
|
+
type: "link",
|
|
1725
|
+
href: "https://react.dev",
|
|
1726
|
+
icon: faReact,
|
|
1727
|
+
target: "_blank",
|
|
1728
|
+
rel: "noopener noreferrer",
|
|
1729
|
+
children: "React"
|
|
1730
|
+
})]
|
|
1731
|
+
})]
|
|
1732
|
+
})
|
|
1733
|
+
})
|
|
1734
|
+
});
|
|
1047
1735
|
}
|
|
1736
|
+
//#endregion
|
|
1737
|
+
//#region src/sections/NumericInputSection.tsx
|
|
1048
1738
|
function NumericInputSection() {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
)
|
|
1101
|
-
}
|
|
1102
|
-
);
|
|
1739
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1740
|
+
title: "Numeric input",
|
|
1741
|
+
docsPage: "ostack-ui-forms-numeric-input",
|
|
1742
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1743
|
+
cols: {
|
|
1744
|
+
Basic: "",
|
|
1745
|
+
"Helper text": "helperText",
|
|
1746
|
+
Required: "required",
|
|
1747
|
+
Disabled: "disabled",
|
|
1748
|
+
"Read-only": "readOnly",
|
|
1749
|
+
Loading: "loading",
|
|
1750
|
+
Code: "code",
|
|
1751
|
+
"Clear button": "showClearButton"
|
|
1752
|
+
},
|
|
1753
|
+
rows: {
|
|
1754
|
+
"No status": void 0,
|
|
1755
|
+
Valid: "valid",
|
|
1756
|
+
Invalid: "invalid",
|
|
1757
|
+
Warned: "warned"
|
|
1758
|
+
},
|
|
1759
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1760
|
+
/* @__PURE__ */ jsx(Label, { children: "Income" }),
|
|
1761
|
+
/* @__PURE__ */ jsx(NumericInput, {
|
|
1762
|
+
containerProps: { style: { width: 120 } },
|
|
1763
|
+
defaultValue: 42000.9,
|
|
1764
|
+
precision: 11,
|
|
1765
|
+
scale: 2,
|
|
1766
|
+
groupDigits: true,
|
|
1767
|
+
min: 0,
|
|
1768
|
+
endAdornment: /* @__PURE__ */ jsx(ControlAddon, { children: "€" }),
|
|
1769
|
+
status: row,
|
|
1770
|
+
required: col === "required",
|
|
1771
|
+
disabled: col === "disabled",
|
|
1772
|
+
readOnly: col === "readOnly",
|
|
1773
|
+
loading: col === "loading",
|
|
1774
|
+
code: col === "code" ? "3.9" : void 0,
|
|
1775
|
+
showClearButton: col === "showClearButton" ? "auto" : void 0
|
|
1776
|
+
}),
|
|
1777
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1778
|
+
type: "success",
|
|
1779
|
+
children: "Confirmed."
|
|
1780
|
+
}),
|
|
1781
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1782
|
+
type: "warning",
|
|
1783
|
+
children: "Processing…"
|
|
1784
|
+
}),
|
|
1785
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Insufficient." }),
|
|
1786
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For tax purposes." })
|
|
1787
|
+
] })
|
|
1788
|
+
})
|
|
1789
|
+
});
|
|
1103
1790
|
}
|
|
1791
|
+
//#endregion
|
|
1792
|
+
//#region src/sections/OutputSection.tsx
|
|
1104
1793
|
function OutputSection() {
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1794
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1795
|
+
title: "Output",
|
|
1796
|
+
docsPage: "ostack-ui-forms-output",
|
|
1797
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1798
|
+
cols: {
|
|
1799
|
+
Basic: "",
|
|
1800
|
+
"Helper text": "helperText",
|
|
1801
|
+
Pending: "pending",
|
|
1802
|
+
Code: "code"
|
|
1803
|
+
},
|
|
1804
|
+
rows: {
|
|
1805
|
+
"No status": void 0,
|
|
1806
|
+
Valid: "valid",
|
|
1807
|
+
Invalid: "invalid",
|
|
1808
|
+
Warned: "warned"
|
|
1809
|
+
},
|
|
1810
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1811
|
+
/* @__PURE__ */ jsx(Label, { children: "Total" }),
|
|
1812
|
+
/* @__PURE__ */ jsx(Output, {
|
|
1813
|
+
containerProps: { style: { width: 150 } },
|
|
1814
|
+
status: row,
|
|
1815
|
+
pending: col === "pending",
|
|
1816
|
+
code: col === "code" ? "6.2" : void 0,
|
|
1817
|
+
children: "$30,000"
|
|
1818
|
+
}),
|
|
1819
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1820
|
+
type: "success",
|
|
1821
|
+
children: "Funds available."
|
|
1822
|
+
}),
|
|
1823
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1824
|
+
type: "warning",
|
|
1825
|
+
children: "Funds unavailable."
|
|
1826
|
+
}),
|
|
1827
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Incorrect amount." }),
|
|
1828
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "A + B + C + D - E" })
|
|
1829
|
+
] })
|
|
1830
|
+
})
|
|
1831
|
+
});
|
|
1139
1832
|
}
|
|
1833
|
+
//#endregion
|
|
1834
|
+
//#region src/sections/PopoverSection.tsx
|
|
1140
1835
|
function PopoverSection() {
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1836
|
+
const spacing = useSpacing();
|
|
1837
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1838
|
+
title: "Popover",
|
|
1839
|
+
docsPage: "ostack-ui-overlay-popover",
|
|
1840
|
+
children: /* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button, {
|
|
1841
|
+
icon: faComment,
|
|
1842
|
+
children: "Comment"
|
|
1843
|
+
}) }), /* @__PURE__ */ jsx(PopoverContent, {
|
|
1844
|
+
style: { padding: spacing(2) },
|
|
1845
|
+
children: /* @__PURE__ */ jsx(Stack, {
|
|
1846
|
+
asChild: true,
|
|
1847
|
+
gap: 2,
|
|
1848
|
+
alignItems: "flex-end",
|
|
1849
|
+
children: /* @__PURE__ */ jsxs("form", { children: [/* @__PURE__ */ jsxs(Field, { children: [/* @__PURE__ */ jsx(Label, { children: "Leave a comment" }), /* @__PURE__ */ jsx(TextArea, {
|
|
1850
|
+
rows: 6,
|
|
1851
|
+
style: { width: 300 }
|
|
1852
|
+
})] }), /* @__PURE__ */ jsx(Button, {
|
|
1853
|
+
color: "primary",
|
|
1854
|
+
type: "submit",
|
|
1855
|
+
onClick: (evt) => evt.preventDefault(),
|
|
1856
|
+
children: "Submit"
|
|
1857
|
+
})] })
|
|
1858
|
+
})
|
|
1859
|
+
})] })
|
|
1860
|
+
});
|
|
1160
1861
|
}
|
|
1862
|
+
//#endregion
|
|
1863
|
+
//#region src/sections/RadioGroupSection.tsx
|
|
1161
1864
|
function RadioGroupSection() {
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1865
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1866
|
+
title: "Radio group",
|
|
1867
|
+
docsPage: "ostack-ui-forms-radio-group",
|
|
1868
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1869
|
+
cols: {
|
|
1870
|
+
Basic: "",
|
|
1871
|
+
"Helper text": "helperText",
|
|
1872
|
+
Required: "required",
|
|
1873
|
+
Disabled: "disabled",
|
|
1874
|
+
"Read-only": "readOnly",
|
|
1875
|
+
Loading: "loading",
|
|
1876
|
+
Code: "code",
|
|
1877
|
+
"All codes": "allCodes",
|
|
1878
|
+
"Clear button": "clearButton"
|
|
1879
|
+
},
|
|
1880
|
+
rows: {
|
|
1881
|
+
"No status": void 0,
|
|
1882
|
+
Valid: "valid",
|
|
1883
|
+
Invalid: "invalid",
|
|
1884
|
+
Warned: "warned"
|
|
1885
|
+
},
|
|
1886
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1887
|
+
/* @__PURE__ */ jsx(Label, { children: "Preferred make" }),
|
|
1888
|
+
/* @__PURE__ */ jsxs(RadioGroup, {
|
|
1889
|
+
status: row,
|
|
1890
|
+
defaultValue: "fiat",
|
|
1891
|
+
required: col === "required",
|
|
1892
|
+
disabled: col === "disabled",
|
|
1893
|
+
readOnly: col === "readOnly",
|
|
1894
|
+
loading: col === "loading",
|
|
1895
|
+
code: col === "code" || col === "allCodes" ? "1.7" : void 0,
|
|
1896
|
+
showClearButton: col === "clearButton" ? "auto" : void 0,
|
|
1897
|
+
children: [
|
|
1898
|
+
/* @__PURE__ */ jsx(Radio, {
|
|
1899
|
+
value: "fiat",
|
|
1900
|
+
code: col === "allCodes" ? "a" : void 0,
|
|
1901
|
+
children: "Fiat"
|
|
1902
|
+
}),
|
|
1903
|
+
/* @__PURE__ */ jsx(Radio, {
|
|
1904
|
+
value: "renault",
|
|
1905
|
+
code: col === "allCodes" ? "b" : void 0,
|
|
1906
|
+
children: "Renault"
|
|
1907
|
+
}),
|
|
1908
|
+
/* @__PURE__ */ jsx(Radio, {
|
|
1909
|
+
value: "toyota",
|
|
1910
|
+
code: col === "allCodes" ? "c" : void 0,
|
|
1911
|
+
children: "Toyota"
|
|
1912
|
+
})
|
|
1913
|
+
]
|
|
1914
|
+
}),
|
|
1915
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1916
|
+
type: "success",
|
|
1917
|
+
children: "Available."
|
|
1918
|
+
}),
|
|
1919
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1920
|
+
type: "warning",
|
|
1921
|
+
children: "Maybe unavailable."
|
|
1922
|
+
}),
|
|
1923
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
|
|
1924
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "All with low mileage." })
|
|
1925
|
+
] })
|
|
1926
|
+
})
|
|
1927
|
+
});
|
|
1216
1928
|
}
|
|
1929
|
+
//#endregion
|
|
1930
|
+
//#region src/sections/SelectSection.tsx
|
|
1217
1931
|
function SelectSection() {
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1932
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1933
|
+
title: "Select",
|
|
1934
|
+
docsPage: "ostack-ui-forms-select",
|
|
1935
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
1936
|
+
cols: {
|
|
1937
|
+
Single: "",
|
|
1938
|
+
Multiple: "multiple",
|
|
1939
|
+
"Helper text": "helperText",
|
|
1940
|
+
Required: "required",
|
|
1941
|
+
Disabled: "disabled",
|
|
1942
|
+
"Read-only": "readOnly",
|
|
1943
|
+
Loading: "loading",
|
|
1944
|
+
Code: "code"
|
|
1945
|
+
},
|
|
1946
|
+
rows: {
|
|
1947
|
+
"No status": void 0,
|
|
1948
|
+
Valid: "valid",
|
|
1949
|
+
Invalid: "invalid",
|
|
1950
|
+
Warned: "warned"
|
|
1951
|
+
},
|
|
1952
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
1953
|
+
/* @__PURE__ */ jsxs(Label, { children: ["Pick your fruit", col === "multiple" && "s"] }),
|
|
1954
|
+
/* @__PURE__ */ jsxs(Select, {
|
|
1955
|
+
containerProps: { style: { width: 120 } },
|
|
1956
|
+
multiple: col === "multiple",
|
|
1957
|
+
defaultValue: col === "multiple" ? ["apple", "kiwi"] : "apple",
|
|
1958
|
+
status: row,
|
|
1959
|
+
required: col === "required",
|
|
1960
|
+
disabled: col === "disabled",
|
|
1961
|
+
readOnly: col === "readOnly",
|
|
1962
|
+
loading: col === "loading",
|
|
1963
|
+
code: col === "code" ? "2.1" : void 0,
|
|
1964
|
+
children: [
|
|
1965
|
+
/* @__PURE__ */ jsx(Option, {
|
|
1966
|
+
value: "apple",
|
|
1967
|
+
children: "Apple"
|
|
1968
|
+
}),
|
|
1969
|
+
/* @__PURE__ */ jsx(Option, {
|
|
1970
|
+
value: "kiwi",
|
|
1971
|
+
children: "Kiwi"
|
|
1972
|
+
}),
|
|
1973
|
+
/* @__PURE__ */ jsx(Option, {
|
|
1974
|
+
value: "pear",
|
|
1975
|
+
children: "Pear"
|
|
1976
|
+
})
|
|
1977
|
+
]
|
|
1978
|
+
}),
|
|
1979
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
1980
|
+
type: "success",
|
|
1981
|
+
children: "Available."
|
|
1982
|
+
}),
|
|
1983
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
1984
|
+
type: "warning",
|
|
1985
|
+
children: "Maybe unavailable."
|
|
1986
|
+
}),
|
|
1987
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
|
|
1988
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For breakfast." })
|
|
1989
|
+
] })
|
|
1990
|
+
})
|
|
1991
|
+
});
|
|
1268
1992
|
}
|
|
1993
|
+
//#endregion
|
|
1994
|
+
//#region src/sections/SpinnerSection.tsx
|
|
1269
1995
|
function SpinnerSection() {
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
}
|
|
1289
|
-
) });
|
|
1996
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
1997
|
+
title: "Spinner",
|
|
1998
|
+
docsPage: "ostack-ui-feedback-spinner",
|
|
1999
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2000
|
+
cols: {
|
|
2001
|
+
Neutral: "neutral",
|
|
2002
|
+
Primary: "primary",
|
|
2003
|
+
Success: "success",
|
|
2004
|
+
Danger: "danger",
|
|
2005
|
+
Warning: "warning",
|
|
2006
|
+
Labelled: "label"
|
|
2007
|
+
},
|
|
2008
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsx(Spinner, {
|
|
2009
|
+
color: col === "label" ? void 0 : col,
|
|
2010
|
+
label: col === "label" ? "Loading…" : void 0
|
|
2011
|
+
})
|
|
2012
|
+
})
|
|
2013
|
+
});
|
|
1290
2014
|
}
|
|
2015
|
+
//#endregion
|
|
2016
|
+
//#region src/sections/StepperSection.tsx
|
|
1291
2017
|
function StepperSection() {
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
2018
|
+
const spacing = useSpacing();
|
|
2019
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2020
|
+
title: "Stepper",
|
|
2021
|
+
docsPage: "ostack-ui-data-disclosure-stepper",
|
|
2022
|
+
children: /* @__PURE__ */ jsxs(Stepper, {
|
|
2023
|
+
style: { maxWidth: 600 },
|
|
2024
|
+
children: [
|
|
2025
|
+
/* @__PURE__ */ jsxs(StepList, { children: [
|
|
2026
|
+
/* @__PURE__ */ jsx(Step, { children: "Account Details" }),
|
|
2027
|
+
/* @__PURE__ */ jsx(Step, { children: "Shipping Address" }),
|
|
2028
|
+
/* @__PURE__ */ jsx(Step, { children: "Payment Method" }),
|
|
2029
|
+
/* @__PURE__ */ jsx(Step, { children: "Review & Confirm" })
|
|
2030
|
+
] }),
|
|
2031
|
+
/* @__PURE__ */ jsx(StepContent, {
|
|
2032
|
+
style: { marginBlock: spacing(2) },
|
|
2033
|
+
children: "Enter your contact information…"
|
|
2034
|
+
}),
|
|
2035
|
+
/* @__PURE__ */ jsx(StepContent, {
|
|
2036
|
+
style: { marginBlock: spacing(2) },
|
|
2037
|
+
children: "Select your shipping address…"
|
|
2038
|
+
}),
|
|
2039
|
+
/* @__PURE__ */ jsx(StepContent, {
|
|
2040
|
+
style: { marginBlock: spacing(2) },
|
|
2041
|
+
children: "Select your payment method…"
|
|
2042
|
+
}),
|
|
2043
|
+
/* @__PURE__ */ jsx(StepContent, {
|
|
2044
|
+
style: { marginBlock: spacing(2) },
|
|
2045
|
+
children: "Double-check your order…"
|
|
2046
|
+
}),
|
|
2047
|
+
/* @__PURE__ */ jsx(StepperPreviousTrigger, {}),
|
|
2048
|
+
/* @__PURE__ */ jsx(StepperNextTrigger, {}),
|
|
2049
|
+
/* @__PURE__ */ jsx(StepperFinishTrigger, {})
|
|
2050
|
+
]
|
|
2051
|
+
})
|
|
2052
|
+
});
|
|
1315
2053
|
}
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
2054
|
+
//#endregion
|
|
2055
|
+
//#region src/sections/TableSection.tsx
|
|
2056
|
+
var ROWS = [
|
|
2057
|
+
{
|
|
2058
|
+
student: "Avi Everett",
|
|
2059
|
+
grade: 82.5
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
student: "Evan Gutierrez",
|
|
2063
|
+
grade: 67.8
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
student: "Jackson Ford",
|
|
2067
|
+
grade: 55.1
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
student: "Olivia Cortes",
|
|
2071
|
+
grade: 77.5
|
|
2072
|
+
}
|
|
1321
2073
|
];
|
|
1322
|
-
|
|
2074
|
+
var AVG_GRADE = ROWS.reduce((total, { grade }) => total + grade, 0) / ROWS.length;
|
|
1323
2075
|
function TableSection() {
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
2076
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2077
|
+
title: "Table",
|
|
2078
|
+
docsPage: "ostack-ui-data-data-display-table",
|
|
2079
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2080
|
+
cols: {
|
|
2081
|
+
Default: "default",
|
|
2082
|
+
Annexes: "control"
|
|
2083
|
+
},
|
|
2084
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsxs(Table, {
|
|
2085
|
+
caption: "Exam grades",
|
|
2086
|
+
variant: col,
|
|
2087
|
+
style: { width: 250 },
|
|
2088
|
+
children: [
|
|
2089
|
+
/* @__PURE__ */ jsxs(TableHead, { children: [/* @__PURE__ */ jsx(TableColumn, {
|
|
2090
|
+
header: true,
|
|
2091
|
+
label: "Student"
|
|
2092
|
+
}), /* @__PURE__ */ jsx(TableColumn, {
|
|
2093
|
+
label: "Grade",
|
|
2094
|
+
align: "right"
|
|
2095
|
+
})] }),
|
|
2096
|
+
/* @__PURE__ */ jsx(TableBody, { children: ROWS.map(({ student, grade }, i) => /* @__PURE__ */ jsxs(TableRow, { children: [/* @__PURE__ */ jsx(TableCell, { children: student }), /* @__PURE__ */ jsx(TableCell, { children: grade.toFixed(1) })] }, i)) }),
|
|
2097
|
+
/* @__PURE__ */ jsx(TableFoot, { children: /* @__PURE__ */ jsxs(TableRow, { children: [/* @__PURE__ */ jsx(TableCell, { children: "Average" }), /* @__PURE__ */ jsx(TableCell, { children: AVG_GRADE.toFixed(1) })] }) })
|
|
2098
|
+
]
|
|
2099
|
+
})
|
|
2100
|
+
})
|
|
2101
|
+
});
|
|
1347
2102
|
}
|
|
2103
|
+
//#endregion
|
|
2104
|
+
//#region src/sections/TabsSection.tsx
|
|
1348
2105
|
function TabsSection() {
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
2106
|
+
const spacing = useSpacing();
|
|
2107
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2108
|
+
title: "Tabs",
|
|
2109
|
+
docsPage: "ostack-ui-data-disclosure-tabs",
|
|
2110
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2111
|
+
cols: {
|
|
2112
|
+
Default: "default",
|
|
2113
|
+
Annexes: "annexes"
|
|
2114
|
+
},
|
|
2115
|
+
renderItem: ({ col }) => /* @__PURE__ */ jsxs(Tabs, {
|
|
2116
|
+
variant: col,
|
|
2117
|
+
defaultValue: "accessibility",
|
|
2118
|
+
children: [
|
|
2119
|
+
/* @__PURE__ */ jsxs(TabList, { children: [
|
|
2120
|
+
/* @__PURE__ */ jsx(Tab, {
|
|
2121
|
+
value: "accessibility",
|
|
2122
|
+
children: "Accessibility"
|
|
2123
|
+
}),
|
|
2124
|
+
/* @__PURE__ */ jsx(Tab, {
|
|
2125
|
+
value: "privacy",
|
|
2126
|
+
children: "Privacy & Security"
|
|
2127
|
+
}),
|
|
2128
|
+
/* @__PURE__ */ jsx(Tab, {
|
|
2129
|
+
value: "system",
|
|
2130
|
+
children: "System"
|
|
2131
|
+
})
|
|
2132
|
+
] }),
|
|
2133
|
+
/* @__PURE__ */ jsx(TabContent, {
|
|
2134
|
+
value: "accessibility",
|
|
2135
|
+
style: { marginTop: spacing(2) },
|
|
2136
|
+
children: "Accessibility options…"
|
|
2137
|
+
}),
|
|
2138
|
+
/* @__PURE__ */ jsx(TabContent, {
|
|
2139
|
+
value: "privacy",
|
|
2140
|
+
style: { marginTop: spacing(2) },
|
|
2141
|
+
children: "Privacy & Security settings…"
|
|
2142
|
+
}),
|
|
2143
|
+
/* @__PURE__ */ jsx(TabContent, {
|
|
2144
|
+
value: "system",
|
|
2145
|
+
style: { marginTop: spacing(2) },
|
|
2146
|
+
children: "System configuration…"
|
|
2147
|
+
})
|
|
2148
|
+
]
|
|
2149
|
+
})
|
|
2150
|
+
})
|
|
2151
|
+
});
|
|
1369
2152
|
}
|
|
2153
|
+
//#endregion
|
|
2154
|
+
//#region src/sections/TagSection.tsx
|
|
1370
2155
|
function TagSection() {
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
}
|
|
1401
|
-
) });
|
|
2156
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2157
|
+
title: "Tag",
|
|
2158
|
+
docsPage: "ostack-ui-data-display-tag",
|
|
2159
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2160
|
+
cols: {
|
|
2161
|
+
Neutral: "neutral",
|
|
2162
|
+
Primary: "primary",
|
|
2163
|
+
Success: "success",
|
|
2164
|
+
Danger: "danger",
|
|
2165
|
+
Warning: "warning",
|
|
2166
|
+
Pill: "pill",
|
|
2167
|
+
Icon: "icon",
|
|
2168
|
+
"Close button": "showCloseButton"
|
|
2169
|
+
},
|
|
2170
|
+
rows: {
|
|
2171
|
+
Solid: "solid",
|
|
2172
|
+
Subtle: "subtle",
|
|
2173
|
+
Outlined: "outlined"
|
|
2174
|
+
},
|
|
2175
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsx(Tag, {
|
|
2176
|
+
variant: row,
|
|
2177
|
+
color: col === "pill" || col === "icon" || col === "showCloseButton" ? "neutral" : col,
|
|
2178
|
+
pill: col === "pill",
|
|
2179
|
+
icon: col === "icon" ? faStar : void 0,
|
|
2180
|
+
showCloseButton: col === "showCloseButton",
|
|
2181
|
+
children: "New"
|
|
2182
|
+
})
|
|
2183
|
+
})
|
|
2184
|
+
});
|
|
1402
2185
|
}
|
|
2186
|
+
//#endregion
|
|
2187
|
+
//#region src/sections/TextAreaSection.tsx
|
|
1403
2188
|
function TextAreaSection() {
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
2189
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2190
|
+
title: "Text area",
|
|
2191
|
+
docsPage: "ostack-ui-forms-text-area",
|
|
2192
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2193
|
+
cols: {
|
|
2194
|
+
Basic: "",
|
|
2195
|
+
"Helper text": "helperText",
|
|
2196
|
+
Required: "required",
|
|
2197
|
+
Disabled: "disabled",
|
|
2198
|
+
"Read-only": "readOnly",
|
|
2199
|
+
Loading: "loading",
|
|
2200
|
+
Code: "code",
|
|
2201
|
+
"Clear button": "showClearButton"
|
|
2202
|
+
},
|
|
2203
|
+
rows: {
|
|
2204
|
+
"No status": void 0,
|
|
2205
|
+
Valid: "valid",
|
|
2206
|
+
Invalid: "invalid",
|
|
2207
|
+
Warned: "warned"
|
|
2208
|
+
},
|
|
2209
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
|
|
2210
|
+
/* @__PURE__ */ jsx(Label, { children: "Additional requests" }),
|
|
2211
|
+
/* @__PURE__ */ jsx(TextArea, {
|
|
2212
|
+
containerProps: { style: { width: 130 } },
|
|
2213
|
+
defaultValue: "Please provide two extra towels.",
|
|
2214
|
+
status: row,
|
|
2215
|
+
required: col === "required",
|
|
2216
|
+
disabled: col === "disabled",
|
|
2217
|
+
readOnly: col === "readOnly",
|
|
2218
|
+
loading: col === "loading",
|
|
2219
|
+
code: col === "code" ? "4.1" : void 0,
|
|
2220
|
+
showClearButton: col === "showClearButton" ? "auto" : void 0
|
|
2221
|
+
}),
|
|
2222
|
+
row === "valid" && /* @__PURE__ */ jsx(Feedback, {
|
|
2223
|
+
type: "success",
|
|
2224
|
+
children: "Accepted."
|
|
2225
|
+
}),
|
|
2226
|
+
row === "warned" && /* @__PURE__ */ jsx(Feedback, {
|
|
2227
|
+
type: "warning",
|
|
2228
|
+
children: "Unable to process."
|
|
2229
|
+
}),
|
|
2230
|
+
row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Invalid request." }),
|
|
2231
|
+
col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "We will attempt to honour them." })
|
|
2232
|
+
] })
|
|
2233
|
+
})
|
|
2234
|
+
});
|
|
1446
2235
|
}
|
|
2236
|
+
//#endregion
|
|
2237
|
+
//#region src/sections/ToastSection.tsx
|
|
1447
2238
|
function ToastSection() {
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
|
-
|
|
2239
|
+
const { addToast } = useToastManager();
|
|
2240
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2241
|
+
title: "Toast",
|
|
2242
|
+
docsPage: "ostack-ui-feedback-toast",
|
|
2243
|
+
children: /* @__PURE__ */ jsx(ExhibitGrid, {
|
|
2244
|
+
cols: {
|
|
2245
|
+
Neutral: "neutral",
|
|
2246
|
+
Info: "info",
|
|
2247
|
+
Success: "success",
|
|
2248
|
+
Danger: "danger",
|
|
2249
|
+
Warning: "warning",
|
|
2250
|
+
Title: "title",
|
|
2251
|
+
Action: "action"
|
|
2252
|
+
},
|
|
2253
|
+
rows: {
|
|
2254
|
+
Solid: "solid",
|
|
2255
|
+
Subtle: "subtle",
|
|
2256
|
+
Outlined: "outlined"
|
|
2257
|
+
},
|
|
2258
|
+
renderItem: ({ col, row }) => /* @__PURE__ */ jsx(Button, {
|
|
2259
|
+
icon: faBookmark,
|
|
2260
|
+
color: col === "info" || col === "title" || col === "action" ? "primary" : col,
|
|
2261
|
+
variant: row,
|
|
2262
|
+
onClick: () => {
|
|
2263
|
+
addToast("Item has been bookmarked.", {
|
|
2264
|
+
title: col === "title" ? "Bookmarked" : void 0,
|
|
2265
|
+
variant: row,
|
|
2266
|
+
severity: col === "title" || col === "action" ? void 0 : col,
|
|
2267
|
+
action: col === "action" && /* @__PURE__ */ jsx(Button, {
|
|
2268
|
+
keybinds: "$mod+Z",
|
|
2269
|
+
color: "primary",
|
|
2270
|
+
children: "Undo"
|
|
2271
|
+
}),
|
|
2272
|
+
actionAltText: "Undo (Ctrl+Z)"
|
|
2273
|
+
});
|
|
2274
|
+
},
|
|
2275
|
+
children: "Bookmark"
|
|
2276
|
+
})
|
|
2277
|
+
})
|
|
2278
|
+
});
|
|
1486
2279
|
}
|
|
2280
|
+
//#endregion
|
|
2281
|
+
//#region src/sections/TooltipSection.tsx
|
|
1487
2282
|
function TooltipSection() {
|
|
1488
|
-
|
|
2283
|
+
return /* @__PURE__ */ jsx(ExhibitSection, {
|
|
2284
|
+
title: "Tooltip",
|
|
2285
|
+
docsPage: "ostack-ui-overlay-tooltip",
|
|
2286
|
+
children: /* @__PURE__ */ jsx(Tooltip, {
|
|
2287
|
+
content: "Press to reload all content",
|
|
2288
|
+
children: /* @__PURE__ */ jsx(Button, { children: "Refresh" })
|
|
2289
|
+
})
|
|
2290
|
+
});
|
|
1489
2291
|
}
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
2292
|
+
//#endregion
|
|
2293
|
+
//#region src/ExhibitApp.tsx
|
|
2294
|
+
var DEFAULT_DOCS_URL = process.env.NODE_ENV === "production" ? "https://ui.ostack.tech/" : "http://localhost:6006/";
|
|
2295
|
+
function ExhibitApp({ docsUrl = DEFAULT_DOCS_URL, title = document.title, prefix, actions }) {
|
|
2296
|
+
return /* @__PURE__ */ jsx(ExhibitContext.Provider, {
|
|
2297
|
+
value: { docsUrl },
|
|
2298
|
+
children: /* @__PURE__ */ jsxs(Root, {
|
|
2299
|
+
prefix,
|
|
2300
|
+
locale: enGB,
|
|
2301
|
+
children: [
|
|
2302
|
+
/* @__PURE__ */ jsx(VisuallyHidden, {
|
|
2303
|
+
focusable: true,
|
|
2304
|
+
asChild: true,
|
|
2305
|
+
children: /* @__PURE__ */ jsx(Link, {
|
|
2306
|
+
href: "#exhibit-main",
|
|
2307
|
+
style: {
|
|
2308
|
+
top: 6,
|
|
2309
|
+
left: 6
|
|
2310
|
+
},
|
|
2311
|
+
children: "Skip to main content"
|
|
2312
|
+
})
|
|
2313
|
+
}),
|
|
2314
|
+
/* @__PURE__ */ jsx(Container, {
|
|
2315
|
+
asChild: true,
|
|
2316
|
+
children: /* @__PURE__ */ jsxs("header", {
|
|
2317
|
+
id: "exhibit-header",
|
|
2318
|
+
children: [/* @__PURE__ */ jsx(Heading, {
|
|
2319
|
+
level: 1,
|
|
2320
|
+
id: "exhibit-title",
|
|
2321
|
+
children: title
|
|
2322
|
+
}), actions && /* @__PURE__ */ jsx(Stack, {
|
|
2323
|
+
id: "exhibit-actions",
|
|
2324
|
+
direction: "row",
|
|
2325
|
+
gap: 2,
|
|
2326
|
+
children: actions
|
|
2327
|
+
})]
|
|
2328
|
+
})
|
|
2329
|
+
}),
|
|
2330
|
+
/* @__PURE__ */ jsx(Stack, {
|
|
2331
|
+
asChild: true,
|
|
2332
|
+
gap: 15,
|
|
2333
|
+
children: /* @__PURE__ */ jsx(Container, {
|
|
2334
|
+
asChild: true,
|
|
2335
|
+
children: /* @__PURE__ */ jsxs("main", {
|
|
2336
|
+
id: "exhibit-main",
|
|
2337
|
+
tabIndex: -1,
|
|
2338
|
+
children: [
|
|
2339
|
+
/* @__PURE__ */ jsx(AlertSection, {}),
|
|
2340
|
+
/* @__PURE__ */ jsx(AlertDialogSection, {}),
|
|
2341
|
+
/* @__PURE__ */ jsx(ButtonSection, {}),
|
|
2342
|
+
/* @__PURE__ */ jsx(ButtonGroupSection, {}),
|
|
2343
|
+
/* @__PURE__ */ jsx(CalendarSection, {}),
|
|
2344
|
+
/* @__PURE__ */ jsx(CheckboxSection, {}),
|
|
2345
|
+
/* @__PURE__ */ jsx(CheckboxGroupSection, {}),
|
|
2346
|
+
/* @__PURE__ */ jsx(CodeSection, {}),
|
|
2347
|
+
/* @__PURE__ */ jsx(CollapsibleSection, {}),
|
|
2348
|
+
/* @__PURE__ */ jsx(CommandMenuSection, {}),
|
|
2349
|
+
/* @__PURE__ */ jsx(DataTableSection, {}),
|
|
2350
|
+
/* @__PURE__ */ jsx(DateInputSection, {}),
|
|
2351
|
+
/* @__PURE__ */ jsx(DateRangeInputSection, {}),
|
|
2352
|
+
/* @__PURE__ */ jsx(DescriptionListSection, {}),
|
|
2353
|
+
/* @__PURE__ */ jsx(DialogSection, {}),
|
|
2354
|
+
/* @__PURE__ */ jsx(DropdownMenuSection, {}),
|
|
2355
|
+
/* @__PURE__ */ jsx(FieldGroupSection, {}),
|
|
2356
|
+
/* @__PURE__ */ jsx(IconButtonSection, {}),
|
|
2357
|
+
/* @__PURE__ */ jsx(InputSection, {}),
|
|
2358
|
+
/* @__PURE__ */ jsx(LinkSection, {}),
|
|
2359
|
+
/* @__PURE__ */ jsx(MarkSection, {}),
|
|
2360
|
+
/* @__PURE__ */ jsx(MenuListSection, {}),
|
|
2361
|
+
/* @__PURE__ */ jsx(NumericInputSection, {}),
|
|
2362
|
+
/* @__PURE__ */ jsx(OutputSection, {}),
|
|
2363
|
+
/* @__PURE__ */ jsx(PopoverSection, {}),
|
|
2364
|
+
/* @__PURE__ */ jsx(RadioGroupSection, {}),
|
|
2365
|
+
/* @__PURE__ */ jsx(SelectSection, {}),
|
|
2366
|
+
/* @__PURE__ */ jsx(SpinnerSection, {}),
|
|
2367
|
+
/* @__PURE__ */ jsx(StepperSection, {}),
|
|
2368
|
+
/* @__PURE__ */ jsx(TableSection, {}),
|
|
2369
|
+
/* @__PURE__ */ jsx(TabsSection, {}),
|
|
2370
|
+
/* @__PURE__ */ jsx(TagSection, {}),
|
|
2371
|
+
/* @__PURE__ */ jsx(ToastSection, {}),
|
|
2372
|
+
/* @__PURE__ */ jsx(TextAreaSection, {}),
|
|
2373
|
+
/* @__PURE__ */ jsx(TooltipSection, {}),
|
|
2374
|
+
/* @__PURE__ */ jsx(KeyboardSection, {})
|
|
2375
|
+
]
|
|
2376
|
+
})
|
|
2377
|
+
})
|
|
2378
|
+
})
|
|
2379
|
+
]
|
|
2380
|
+
})
|
|
2381
|
+
});
|
|
1542
2382
|
}
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
//# sourceMappingURL=ostack-ui-exhibit.js.map
|
|
2383
|
+
//#endregion
|
|
2384
|
+
export { ExhibitApp };
|
|
2385
|
+
|
|
2386
|
+
//# sourceMappingURL=ostack-ui-exhibit.js.map
|