@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.
Files changed (88) hide show
  1. package/dist/ostack-ui-exhibit.js +2301 -1461
  2. package/dist/ostack-ui-exhibit.js.map +1 -1
  3. package/dist/webapp/assets/index-Bi-eiV_C.css +1 -0
  4. package/dist/webapp/assets/index-D8f_qfU7.js +624 -0
  5. package/dist/webapp/index.html +2 -2
  6. package/package.json +7 -7
  7. package/{dist/types → types}/ExhibitApp.d.ts +2 -2
  8. package/{dist/types → types}/ExhibitContext.d.ts +1 -1
  9. package/{dist/types → types}/components/ExhibitGrid.d.ts +2 -2
  10. package/{dist/types → types}/components/ExhibitSection.d.ts +2 -2
  11. package/types/index.d.ts +1 -0
  12. package/types/main.d.ts +1 -0
  13. package/types/sections/AlertDialogSection.d.ts +1 -0
  14. package/types/sections/AlertSection.d.ts +1 -0
  15. package/types/sections/ButtonGroupSection.d.ts +1 -0
  16. package/types/sections/ButtonSection.d.ts +1 -0
  17. package/types/sections/CalendarSection.d.ts +1 -0
  18. package/types/sections/CheckboxGroupSection.d.ts +1 -0
  19. package/types/sections/CheckboxSection.d.ts +1 -0
  20. package/types/sections/CodeSection.d.ts +1 -0
  21. package/types/sections/CollapsibleSection.d.ts +1 -0
  22. package/types/sections/CommandMenuSection.d.ts +1 -0
  23. package/types/sections/DataTableSection.d.ts +1 -0
  24. package/types/sections/DateInputSection.d.ts +1 -0
  25. package/types/sections/DateRangeInputSection.d.ts +1 -0
  26. package/types/sections/DescriptionListSection.d.ts +1 -0
  27. package/types/sections/DialogSection.d.ts +1 -0
  28. package/types/sections/DropdownMenuSection.d.ts +1 -0
  29. package/types/sections/FieldGroupSection.d.ts +1 -0
  30. package/types/sections/IconButtonSection.d.ts +1 -0
  31. package/types/sections/InputSection.d.ts +1 -0
  32. package/types/sections/KeyboardSection.d.ts +1 -0
  33. package/types/sections/LinkSection.d.ts +1 -0
  34. package/types/sections/MarkSection.d.ts +1 -0
  35. package/types/sections/MenuListSection.d.ts +1 -0
  36. package/types/sections/NumericInputSection.d.ts +1 -0
  37. package/types/sections/OutputSection.d.ts +1 -0
  38. package/types/sections/PopoverSection.d.ts +1 -0
  39. package/types/sections/RadioGroupSection.d.ts +1 -0
  40. package/types/sections/SelectSection.d.ts +1 -0
  41. package/types/sections/SpinnerSection.d.ts +1 -0
  42. package/types/sections/StepperSection.d.ts +1 -0
  43. package/types/sections/TableSection.d.ts +1 -0
  44. package/types/sections/TabsSection.d.ts +1 -0
  45. package/types/sections/TagSection.d.ts +1 -0
  46. package/types/sections/TextAreaSection.d.ts +1 -0
  47. package/types/sections/ToastSection.d.ts +1 -0
  48. package/types/sections/TooltipSection.d.ts +1 -0
  49. package/dist/types/index.d.ts +0 -1
  50. package/dist/types/main.d.ts +0 -0
  51. package/dist/types/sections/AlertDialogSection.d.ts +0 -1
  52. package/dist/types/sections/AlertSection.d.ts +0 -1
  53. package/dist/types/sections/ButtonGroupSection.d.ts +0 -1
  54. package/dist/types/sections/ButtonSection.d.ts +0 -1
  55. package/dist/types/sections/CalendarSection.d.ts +0 -1
  56. package/dist/types/sections/CheckboxGroupSection.d.ts +0 -1
  57. package/dist/types/sections/CheckboxSection.d.ts +0 -1
  58. package/dist/types/sections/CodeSection.d.ts +0 -1
  59. package/dist/types/sections/CollapsibleSection.d.ts +0 -1
  60. package/dist/types/sections/CommandMenuSection.d.ts +0 -1
  61. package/dist/types/sections/DataTableSection.d.ts +0 -1
  62. package/dist/types/sections/DateInputSection.d.ts +0 -1
  63. package/dist/types/sections/DateRangeInputSection.d.ts +0 -1
  64. package/dist/types/sections/DescriptionListSection.d.ts +0 -1
  65. package/dist/types/sections/DialogSection.d.ts +0 -1
  66. package/dist/types/sections/DropdownMenuSection.d.ts +0 -1
  67. package/dist/types/sections/FieldGroupSection.d.ts +0 -1
  68. package/dist/types/sections/IconButtonSection.d.ts +0 -1
  69. package/dist/types/sections/InputSection.d.ts +0 -1
  70. package/dist/types/sections/KeyboardSection.d.ts +0 -1
  71. package/dist/types/sections/LinkSection.d.ts +0 -1
  72. package/dist/types/sections/MarkSection.d.ts +0 -1
  73. package/dist/types/sections/MenuListSection.d.ts +0 -1
  74. package/dist/types/sections/NumericInputSection.d.ts +0 -1
  75. package/dist/types/sections/OutputSection.d.ts +0 -1
  76. package/dist/types/sections/PopoverSection.d.ts +0 -1
  77. package/dist/types/sections/RadioGroupSection.d.ts +0 -1
  78. package/dist/types/sections/SelectSection.d.ts +0 -1
  79. package/dist/types/sections/SpinnerSection.d.ts +0 -1
  80. package/dist/types/sections/StepperSection.d.ts +0 -1
  81. package/dist/types/sections/TableSection.d.ts +0 -1
  82. package/dist/types/sections/TabsSection.d.ts +0 -1
  83. package/dist/types/sections/TagSection.d.ts +0 -1
  84. package/dist/types/sections/TextAreaSection.d.ts +0 -1
  85. package/dist/types/sections/ToastSection.d.ts +0 -1
  86. package/dist/types/sections/TooltipSection.d.ts +0 -1
  87. package/dist/webapp/assets/index-Cumfwwd9.js +0 -627
  88. package/dist/webapp/assets/index-HGBZGuMc.css +0 -1
@@ -1,1546 +1,2386 @@
1
- import { jsxs, jsx, Fragment as Fragment$1 } from "react/jsx-runtime";
2
- import { useCssVars, Stack, Heading, Link, VisuallyHidden, AlertDialog, AlertDialogTrigger, Button, AlertDialogContent, AlertDialogHeader, AlertDialogTitle, AlertDialogBody, AlertDialogDescription, AlertDialogFooter, AlertDialogCancel, AlertDialogAction, Alert, AlertTitle, ButtonGroup, IconButton, Calendar, Field, Label, CheckboxGroup, Checkbox, Feedback, HelperText, Code, useSpacing, Collapsible, CollapsibleTrigger, CollapsibleContent, useKeyboardShortcut, Keybinds, CommandMenuDialog, CommandMenu, CommandMenuGroup, CommandMenuItem, DataTable, DataTableFilter, DataTableContent, DataTableRowsPerPage, DataTablePagination, DateInput, DateRangeInput, DescriptionList, DescriptionListItem, Tag, Dialog, DialogTrigger, DialogContent, DialogHeader, DialogTitle, DialogBody, DialogDescription, Input, DialogFooter, DialogClose, DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuCheckboxItem, DropdownMenuSub, DropdownMenuSubTrigger, DropdownMenuSubContent, FieldGroup, FieldGroupHeader, FieldGroupTitle, FieldGroupBody, Keyboard, Mark, MenuList, MenuListGroup, MenuListItem, NumericInput, ControlAddon, Output, Popover, PopoverTrigger, PopoverContent, TextArea, RadioGroup, Radio, Select, Option, Spinner, Stepper, StepList, Step, StepContent, StepperPreviousTrigger, StepperNextTrigger, StepperFinishTrigger, Table, TableHead, TableColumn, TableBody, TableRow, TableCell, TableFoot, Tabs, TabList, Tab, TabContent, useToastManager, Tooltip, Root, enGB, Container } from "@ostack.tech/ui";
3
- import { createContext, useContext, Fragment, useState } from "react";
4
- import { faFolderOpen, faSave, faTrashCan, faBolt, faCaretUp, faCaretDown, faGear, faWifi, faNetworkWired, faDisplay, faVolumeHigh, faKeyboard, faPrint, faClock, faUser, faCircleXmark, faSeedling, faEye, faPencil, faComment, faStar, faBookmark } from "@fortawesome/free-solid-svg-icons";
5
- const ExhibitContext = createContext(null);
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
- return useContext(ExhibitContext).docsUrl;
8
+ return useContext(ExhibitContext).docsUrl;
8
9
  }
9
- function ExhibitGrid({
10
- rows,
11
- cols,
12
- renderItem
13
- }) {
14
- return /* @__PURE__ */ jsxs(
15
- "div",
16
- {
17
- className: "exhibit-grid",
18
- style: {
19
- "--exhibit-grid-cols": Object.keys(cols).length + (rows ? 1 : 0)
20
- },
21
- tabIndex: 0,
22
- children: [
23
- rows && /* @__PURE__ */ jsx("div", {}),
24
- Object.keys(cols).map((colLabel) => /* @__PURE__ */ jsx("div", { className: "exhibit-grid-col-label", children: colLabel }, colLabel)),
25
- Object.entries(rows ?? { "": void 0 }).map(
26
- ([rowLabel, row]) => /* @__PURE__ */ jsxs(Fragment, { children: [
27
- rowLabel && /* @__PURE__ */ jsx("div", { className: "exhibit-grid-row-label", children: rowLabel }),
28
- Object.entries(cols).map(([colLabel, col]) => /* @__PURE__ */ jsx("div", { className: "exhibit-grid-item", children: renderItem({ row, col }) }, colLabel))
29
- ] }, rowLabel)
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
- function ExhibitSection({
36
- title,
37
- docsPage,
38
- children
39
- }) {
40
- const { cssVar } = useCssVars();
41
- const headingId = title.toLowerCase().replace(/[^a-z0-9]/g, "-");
42
- const docsUrl = new URL(useDocsUrl());
43
- docsUrl.searchParams.set("path", `/docs/${docsPage}--docs`);
44
- return /* @__PURE__ */ jsx(Stack, { asChild: true, children: /* @__PURE__ */ jsxs("section", { className: "exhibit-section", "aria-labelledby": headingId, children: [
45
- /* @__PURE__ */ jsx(Stack, { asChild: true, direction: "row", gap: 4, alignItems: "baseline", children: /* @__PURE__ */ jsxs("header", { children: [
46
- /* @__PURE__ */ jsx(Heading, { id: headingId, children: /* @__PURE__ */ jsx(
47
- Link,
48
- {
49
- href: `#${headingId}`,
50
- color: "neutral",
51
- style: { color: cssVar("neutral-a12") },
52
- children: title
53
- }
54
- ) }),
55
- /* @__PURE__ */ jsxs(
56
- Link,
57
- {
58
- className: "exhibit-section-docs-link",
59
- href: docsUrl.toString(),
60
- external: true,
61
- children: [
62
- "View docs",
63
- /* @__PURE__ */ jsxs(VisuallyHidden, { children: [
64
- " of ",
65
- title
66
- ] })
67
- ]
68
- }
69
- )
70
- ] }) }),
71
- /* @__PURE__ */ jsx("div", { className: "exhibit-section-content", children })
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
- return /* @__PURE__ */ jsx(
76
- ExhibitSection,
77
- {
78
- title: "Alert dialog",
79
- docsPage: "ostack-ui-overlay-alert-dialog",
80
- children: /* @__PURE__ */ jsx(
81
- ExhibitGrid,
82
- {
83
- cols: {
84
- Neutral: "neutral",
85
- Primary: "primary",
86
- Success: "success",
87
- Danger: "danger",
88
- Warning: "warning"
89
- },
90
- rows: {
91
- Solid: "solid",
92
- Subtle: "subtle",
93
- Outlined: "outlined",
94
- Ghost: "ghost"
95
- },
96
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(AlertDialog, { children: [
97
- /* @__PURE__ */ jsx(AlertDialogTrigger, { children: /* @__PURE__ */ jsx(Button, { variant: row, color: col, children: "Restore" }) }),
98
- /* @__PURE__ */ jsxs(AlertDialogContent, { variant: row, color: col, children: [
99
- /* @__PURE__ */ jsx(AlertDialogHeader, { children: /* @__PURE__ */ jsx(AlertDialogTitle, { children: "Restore previous version?" }) }),
100
- /* @__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." }) }),
101
- /* @__PURE__ */ jsxs(AlertDialogFooter, { children: [
102
- /* @__PURE__ */ jsx(AlertDialogCancel, { children: /* @__PURE__ */ jsx(Button, { variant: "subtle", children: "Go back" }) }),
103
- /* @__PURE__ */ jsx(AlertDialogAction, { children: /* @__PURE__ */ jsx(Button, { color: col, children: "Restore" }) })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Alert", docsPage: "ostack-ui-feedback-alert", children: /* @__PURE__ */ jsx(
114
- ExhibitGrid,
115
- {
116
- cols: {
117
- Neutral: "neutral",
118
- Info: "info",
119
- Success: "success",
120
- Danger: "danger",
121
- Warning: "warning",
122
- Title: "title",
123
- Action: "action",
124
- "Close button": "showCloseButton"
125
- },
126
- rows: {
127
- Solid: "solid",
128
- Subtle: "subtle",
129
- Outlined: "outlined"
130
- },
131
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(
132
- Alert,
133
- {
134
- variant: row,
135
- action: col === "action" && /* @__PURE__ */ jsx(Button, { color: "primary", children: "Accept" }),
136
- severity: col === "title" || col === "action" || col === "showCloseButton" ? void 0 : col,
137
- showCloseButton: col === "showCloseButton",
138
- children: [
139
- col === "title" && /* @__PURE__ */ jsx(AlertTitle, { children: "Notice" }),
140
- "Terms may apply."
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
- return /* @__PURE__ */ jsx(
149
- ExhibitSection,
150
- {
151
- title: "Button group",
152
- docsPage: "ostack-ui-layout-button-group",
153
- children: /* @__PURE__ */ jsx(
154
- ExhibitGrid,
155
- {
156
- cols: {
157
- Neutral: "neutral",
158
- Primary: "primary",
159
- Success: "success",
160
- Danger: "danger",
161
- Warning: "warning"
162
- },
163
- rows: {
164
- Solid: "solid",
165
- Subtle: "subtle",
166
- Outlined: "outlined",
167
- Ghost: "ghost"
168
- },
169
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(ButtonGroup, { children: [
170
- /* @__PURE__ */ jsx(Button, { icon: faFolderOpen, variant: row, color: col, children: "Load" }),
171
- /* @__PURE__ */ jsx(Button, { icon: faSave, variant: row, color: col, children: "Save" }),
172
- /* @__PURE__ */ jsx(
173
- IconButton,
174
- {
175
- icon: faTrashCan,
176
- label: "Delete",
177
- variant: row,
178
- color: col
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Button", docsPage: "ostack-ui-forms-button", children: /* @__PURE__ */ jsx(
189
- ExhibitGrid,
190
- {
191
- cols: {
192
- Neutral: "neutral",
193
- Primary: "primary",
194
- Success: "success",
195
- Danger: "danger",
196
- Warning: "warning",
197
- Disabled: "disabled",
198
- Loading: "loading",
199
- Keybinds: "keybinds",
200
- Vertical: "vertical"
201
- },
202
- rows: {
203
- Solid: "solid",
204
- Subtle: "subtle",
205
- Outlined: "outlined",
206
- Ghost: "ghost"
207
- },
208
- renderItem: ({ col, row }) => /* @__PURE__ */ jsx(
209
- Button,
210
- {
211
- icon: faBolt,
212
- variant: row,
213
- color: col === "disabled" || col === "loading" || col === "keybinds" || col === "vertical" ? void 0 : col,
214
- disabled: col === "disabled",
215
- loading: col === "loading",
216
- loadingContent: col === "loading" ? "Zapping…" : void 0,
217
- keybinds: col === "keybinds" ? "Alt+Shift+Z" : void 0,
218
- vertical: col === "vertical",
219
- children: "Zap"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Calendar", docsPage: "ostack-ui-data-display-calendar", children: /* @__PURE__ */ jsx(Calendar, {}) });
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
- return /* @__PURE__ */ jsx(
230
- ExhibitSection,
231
- {
232
- title: "Checkbox group",
233
- docsPage: "ostack-ui-forms-checkbox-group",
234
- children: /* @__PURE__ */ jsx(
235
- ExhibitGrid,
236
- {
237
- cols: {
238
- Basic: "",
239
- "Helper text": "helperText",
240
- Required: "required",
241
- Disabled: "disabled",
242
- "Read-only": "readOnly",
243
- Loading: "loading",
244
- Code: "code",
245
- "All codes": "allCodes"
246
- },
247
- rows: {
248
- "No status": void 0,
249
- Valid: "valid",
250
- Invalid: "invalid",
251
- Warned: "warned"
252
- },
253
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
254
- /* @__PURE__ */ jsx(Label, { children: "Toppings" }),
255
- /* @__PURE__ */ jsxs(
256
- CheckboxGroup,
257
- {
258
- defaultValue: ["caramel"],
259
- status: row,
260
- required: col === "required",
261
- disabled: col === "disabled",
262
- readOnly: col === "readOnly",
263
- loading: col === "loading",
264
- code: col === "code" || col === "allCodes" ? "3.2" : void 0,
265
- children: [
266
- /* @__PURE__ */ jsx(
267
- Checkbox,
268
- {
269
- value: "caramel",
270
- code: col === "allCodes" ? "a" : void 0,
271
- children: "Caramel"
272
- }
273
- ),
274
- /* @__PURE__ */ jsx(
275
- Checkbox,
276
- {
277
- value: "chocolate",
278
- code: col === "allCodes" ? "b" : void 0,
279
- children: "Chocolate"
280
- }
281
- ),
282
- /* @__PURE__ */ jsx(
283
- Checkbox,
284
- {
285
- value: "strawberry",
286
- code: col === "allCodes" ? "c" : void 0,
287
- children: "Strawberry"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Checkbox", docsPage: "ostack-ui-forms-checkbox", children: /* @__PURE__ */ jsx(
305
- ExhibitGrid,
306
- {
307
- cols: {
308
- Basic: "",
309
- Indeterminate: "indeterminate",
310
- "Helper text": "helperText",
311
- Required: "required",
312
- Disabled: "disabled",
313
- "Read-only": "readOnly",
314
- Loading: "loading",
315
- Code: "code"
316
- },
317
- rows: {
318
- "No status": void 0,
319
- Valid: "valid",
320
- Invalid: "invalid",
321
- Warned: "warned"
322
- },
323
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
324
- /* @__PURE__ */ jsx(
325
- Checkbox,
326
- {
327
- status: row,
328
- defaultChecked: col === "indeterminate" ? "indeterminate" : true,
329
- required: col === "required",
330
- disabled: col === "disabled",
331
- readOnly: col === "readOnly",
332
- loading: col === "loading",
333
- code: col === "code" ? "1.5" : void 0,
334
- children: "I accept"
335
- }
336
- ),
337
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Accepted." }),
338
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Are you sure?" }),
339
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Must accept." }),
340
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Please indicate." })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Code", docsPage: "ostack-ui-typography-code", children: /* @__PURE__ */ jsx(
347
- ExhibitGrid,
348
- {
349
- cols: {
350
- Neutral: "neutral",
351
- Primary: "primary",
352
- Success: "success",
353
- Danger: "danger",
354
- Warning: "warning"
355
- },
356
- renderItem: ({ col }) => /* @__PURE__ */ jsx(Code, { color: col, children: "Math.sin(1)" })
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
- const spacing = useSpacing();
362
- return /* @__PURE__ */ jsx(
363
- ExhibitSection,
364
- {
365
- title: "Collapsible",
366
- docsPage: "ostack-ui-disclosure-collapsible",
367
- children: /* @__PURE__ */ jsxs(Collapsible, { children: [
368
- /* @__PURE__ */ jsx(CollapsibleTrigger, { children: (open) => /* @__PURE__ */ jsxs(Button, { icon: open ? faCaretUp : faCaretDown, iconPlacement: "end", children: [
369
- open ? "Hide" : "Show",
370
- " quote"
371
- ] }) }),
372
- /* @__PURE__ */ jsx(CollapsibleContent, { children: /* @__PURE__ */ jsxs(
373
- "blockquote",
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
- const [open, setOpen] = useState(false);
392
- const { cssVar } = useCssVars();
393
- const keybind = "$mod+K";
394
- useKeyboardShortcut(keybind, () => setOpen(true), { preventDefault: true });
395
- const handleSelect = () => setOpen(false);
396
- return /* @__PURE__ */ jsxs(
397
- ExhibitSection,
398
- {
399
- title: "Command menu",
400
- docsPage: "ostack-ui-overlay-command-menu",
401
- children: [
402
- /* @__PURE__ */ jsxs("span", { style: { color: cssVar("neutral-11") }, children: [
403
- "Press ",
404
- /* @__PURE__ */ jsx(Keybinds, { keybinds: keybind }),
405
- " to open the command menu."
406
- ] }),
407
- /* @__PURE__ */ jsx(CommandMenuDialog, { open, onOpenChange: setOpen, children: /* @__PURE__ */ jsxs(CommandMenu, { children: [
408
- /* @__PURE__ */ jsxs(CommandMenuGroup, { label: "Actions", children: [
409
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Find" }),
410
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Replace" }),
411
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Analyse" }),
412
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Inspect" })
413
- ] }),
414
- /* @__PURE__ */ jsxs(CommandMenuGroup, { label: "Languages", children: [
415
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "C" }),
416
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "C++" }),
417
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Java" }),
418
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "JavaScript" }),
419
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Python" }),
420
- /* @__PURE__ */ jsx(CommandMenuItem, { onSelect: handleSelect, children: "Rust" })
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
- const ROWS$1 = [
428
- { id: 0, student: "Allyson Meyer", grade: 84.2 },
429
- { id: 1, student: "Tristan Hogan", grade: 71.5 },
430
- { id: 2, student: "Kathryn Duarte", grade: 92.8 },
431
- { id: 3, student: "Abdullah Flynn", grade: 58.4 },
432
- { id: 4, student: "Dorothy Davidson", grade: 76.1 },
433
- { id: 5, student: "Dante Hurst", grade: 89 },
434
- { id: 6, student: "Adalee Koch", grade: 94.3 },
435
- { id: 7, student: "Salvador Reeves", grade: 62.7 },
436
- { id: 8, student: "Lana Carr", grade: 81.9 },
437
- { id: 9, student: "Kash Shaffer", grade: 45.6 },
438
- { id: 10, student: "Alanna Bradley", grade: 88.3 },
439
- { id: 11, student: "Richard Barker", grade: 73.4 },
440
- { id: 12, student: "Remington Villalobos", grade: 90.1 },
441
- { id: 13, student: "Reuben Rivera", grade: 66.8 },
442
- { id: 14, student: "Lillian Page", grade: 95.5 },
443
- { id: 15, student: "Pablo Miranda", grade: 52.2 },
444
- { id: 16, student: "Amina McDowell", grade: 79.7 },
445
- { id: 17, student: "Lachlan Austin", grade: 83.1 },
446
- { id: 18, student: "Alivia Roberts", grade: 70.4 },
447
- { id: 19, student: "Josiah Medina", grade: 61.9 },
448
- { id: 20, student: "Elliana Delgado", grade: 87.6 },
449
- { id: 21, student: "Colt Martin", grade: 74.3 },
450
- { id: 22, student: "Mila Jenkins", grade: 98.2 },
451
- { id: 23, student: "Declan Byrd", grade: 55.9 },
452
- { id: 24, student: "Giselle Parsons", grade: 82 },
453
- { id: 25, student: "Lewis Wallace", grade: 69.1 },
454
- { id: 26, student: "Arianna Ahmed", grade: 91.4 },
455
- { id: 27, student: "Harry Willis", grade: 48.7 },
456
- { id: 28, student: "Alexa Griffin", grade: 77.8 },
457
- { id: 29, student: "Ayden Woods", grade: 63.5 },
458
- { id: 30, student: "Reese Allen", grade: 85.3 },
459
- { id: 31, student: "Carter Moore", grade: 90.7 },
460
- { id: 32, student: "Emily Spears", grade: 72.2 },
461
- { id: 33, student: "Ameer McKinney", grade: 59.9 },
462
- { id: 34, student: "Gwendolyn Sanford", grade: 93.6 },
463
- { id: 35, student: "Truett Rangel", grade: 68.4 },
464
- { id: 36, student: "Gloria Yoder", grade: 80.5 },
465
- { id: 37, student: "Johan Fleming", grade: 74.9 },
466
- { id: 38, student: "Fatima Gates", grade: 88.2 },
467
- { id: 39, student: "Ermias McPherson", grade: 51.3 },
468
- { id: 40, student: "Emmaline Ali", grade: 96.4 },
469
- { id: 41, student: "Arjun Wade", grade: 71.8 },
470
- { id: 42, student: "Evie Yates", grade: 84.7 },
471
- { id: 43, student: "Braylon Golden", grade: 67.2 },
472
- { id: 44, student: "Giuliana Paul", grade: 92.1 },
473
- { id: 45, student: "Noel Wilkerson", grade: 54.5 },
474
- { id: 46, student: "Janiyah Floyd", grade: 78.9 },
475
- { id: 47, student: "Pierce Farmer", grade: 86.4 },
476
- { id: 48, student: "Madelynn Duarte", grade: 73.6 },
477
- { id: 49, student: "Abdullah Massey", grade: 60.2 },
478
- { id: 50, student: "Clementine Clay", grade: 99.1 },
479
- { id: 51, student: "Yosef Blair", grade: 65.8 },
480
- { id: 52, student: "Frances Truong", grade: 82.5 },
481
- { id: 53, student: "Ayan Davis", grade: 75.3 },
482
- { id: 54, student: "Mia Roach", grade: 90.9 },
483
- { id: 55, student: "Caspian Stein", grade: 57.1 },
484
- { id: 56, student: "Leilany Villegas", grade: 81.4 },
485
- { id: 57, student: "Clyde Corona", grade: 64.6 },
486
- { id: 58, student: "Marianna Fletcher", grade: 88.7 },
487
- { id: 59, student: "Jay McCarty", grade: 72.9 },
488
- { id: 60, student: "Halo Rocha", grade: 85 },
489
- { id: 61, student: "Onyx Davidson", grade: 49.2 },
490
- { id: 62, student: "Jayla Whitehead", grade: 77.4 },
491
- { id: 63, student: "Zayd Harvey", grade: 93.2 },
492
- { id: 64, student: "Nicole Hubbard", grade: 68.7 },
493
- { id: 65, student: "Forrest Bartlett", grade: 80.1 },
494
- { id: 66, student: "Aubrielle Gallegos", grade: 95.8 },
495
- { id: 67, student: "Jonas Mosley", grade: 56.4 },
496
- { id: 68, student: "Zaniyah Lee", grade: 82.3 },
497
- { id: 69, student: "Jack Giles", grade: 71 },
498
- { id: 70, student: "Bailee Warren", grade: 89.5 },
499
- { id: 71, student: "Abel Cruz", grade: 63.8 },
500
- { id: 72, student: "Claire Steele", grade: 91.2 },
501
- { id: 73, student: "Elian Berg", grade: 74.5 },
502
- { id: 74, student: "Emmalyn McClain", grade: 86.9 },
503
- { id: 75, student: "Mitchell Clayton", grade: 53.7 },
504
- { id: 76, student: "Saige Graves", grade: 78.2 },
505
- { id: 77, student: "Cesar Kane", grade: 83.4 },
506
- { id: 78, student: "Ellianna Ortega", grade: 97 },
507
- { id: 79, student: "Kobe Wallace", grade: 33.5 },
508
- { id: 80, student: "Arianna Dorsey", grade: 84.8 },
509
- { id: 81, student: "Enoch Elliott", grade: 76.3 },
510
- { id: 82, student: "Noelle Estes", grade: 90.4 },
511
- { id: 83, student: "Hakeem Andrews", grade: 58.1 },
512
- { id: 84, student: "Payton Phelps", grade: 82.6 },
513
- { id: 85, student: "Hamza Anthony", grade: 69.9 },
514
- { id: 86, student: "Macy Horton", grade: 87.2 },
515
- { id: 87, student: "Garrett Meyer", grade: 75.8 },
516
- { id: 88, student: "Sara McClain", grade: 94.1 },
517
- { id: 89, student: "Mitchell Magana", grade: 52.9 },
518
- { id: 90, student: "Amaris Foster", grade: 80.3 },
519
- { id: 91, student: "Kayden McGee", grade: 66.4 },
520
- { id: 92, student: "Kayleigh Bean", grade: 91.7 },
521
- { id: 93, student: "Mccoy Dunlap", grade: 73.1 },
522
- { id: 94, student: "Iliana Ochoa", grade: 85.5 },
523
- { id: 95, student: "Winston Hall", grade: 47.8 },
524
- { id: 96, student: "Leah David", grade: 79.2 },
525
- { id: 97, student: "Alonso Ballard", grade: 88.9 },
526
- { id: 98, student: "Alejandra Bass", grade: 62.1 },
527
- { id: 99, student: "Landen Santana", grade: 95.2 },
528
- { id: 100, student: "Myra Knight", grade: 70.8 },
529
- { id: 101, student: "Beckett Gilmore", grade: 83.7 },
530
- { id: 102, student: "Chanel Rosas", grade: 31.4 },
531
- { id: 103, student: "Remi Wade", grade: 92.6 },
532
- { id: 104, student: "Evie Church", grade: 68.2 },
533
- { id: 105, student: "Terrance Luna", grade: 81.1 },
534
- { id: 106, student: "Journey Alfaro", grade: 77.5 },
535
- { id: 107, student: "Xzavier Colon", grade: 89.3 },
536
- { id: 108, student: "Remy Curry", grade: 64.9 },
537
- { id: 109, student: "Briggs Hale", grade: 96.7 },
538
- { id: 110, student: "Brinley Phillips", grade: 59.3 },
539
- { id: 111, student: "Andrew Huynh", grade: 82.4 },
540
- { id: 112, student: "Oaklee Gross", grade: 74.1 },
541
- { id: 113, student: "Quinn Rosales", grade: 90.8 },
542
- { id: 114, student: "Kinley Bartlett", grade: 61.2 },
543
- { id: 115, student: "Kace Pineda", grade: 85.9 },
544
- { id: 116, student: "Nola Maynard", grade: 27.6 },
545
- { id: 117, student: "Landry Rowland", grade: 93.4 },
546
- { id: 118, student: "Harleigh Camacho", grade: 50.5 },
547
- { id: 119, student: "Tatum Lynn", grade: 78.7 },
548
- { id: 120, student: "Samira Nelson", grade: 86.2 },
549
- { id: 121, student: "Dylan Giles", grade: 67.5 },
550
- { id: 122, student: "Bailee Hendricks", grade: 94.8 },
551
- { id: 123, student: "Dash Carr", grade: 71.3 },
552
- { id: 124, student: "Rowan Acosta", grade: 44 },
553
- { id: 125, student: "Jensen Santana", grade: 56.7 },
554
- { id: 126, student: "Myra Christensen", grade: 91.9 },
555
- { id: 127, student: "Gregory Vu", grade: 79.4 },
556
- { id: 128, student: "Kimora Delarosa", grade: 88.5 },
557
- { id: 129, student: "Osiris Padilla", grade: 28.2 }
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
- return /* @__PURE__ */ jsx(
561
- ExhibitSection,
562
- {
563
- title: "Data table",
564
- docsPage: "ostack-ui-data-display-data-table",
565
- children: /* @__PURE__ */ jsx(
566
- ExhibitGrid,
567
- {
568
- cols: {
569
- Default: "default",
570
- Control: "control",
571
- Scrolled: "scrolled",
572
- Selectable: "showSelectionColumn"
573
- },
574
- renderItem: ({ col }) => /* @__PURE__ */ jsx(Field, { style: { width: 450 }, children: /* @__PURE__ */ jsxs(
575
- DataTable,
576
- {
577
- columns: {
578
- student: {
579
- label: "Student",
580
- header: true,
581
- sortable: true,
582
- filterable: true
583
- },
584
- grade: {
585
- label: "Grade",
586
- align: "right",
587
- sortable: true,
588
- filterable: true,
589
- format: ({ value }) => value.toFixed(1)
590
- }
591
- },
592
- rows: ROWS$1,
593
- rowKey: "id",
594
- displayMode: col === "scrolled" ? col : void 0,
595
- showSelectionColumn: col === "showSelectionColumn",
596
- defaultLimit: 5,
597
- children: [
598
- /* @__PURE__ */ jsx(Label, { children: "Exam grades" }),
599
- /* @__PURE__ */ jsx(DataTableFilter, {}),
600
- /* @__PURE__ */ jsx(
601
- DataTableContent,
602
- {
603
- variant: col === "default" || col === "control" ? col : void 0
604
- }
605
- ),
606
- /* @__PURE__ */ jsx(DataTableRowsPerPage, { limitOptions: [5, 10, 25, 50, 100] }),
607
- /* @__PURE__ */ jsx(DataTablePagination, {})
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Date input", docsPage: "ostack-ui-forms-date-input", children: /* @__PURE__ */ jsx(
618
- ExhibitGrid,
619
- {
620
- cols: {
621
- Basic: "",
622
- "Helper text": "helperText",
623
- Required: "required",
624
- Disabled: "disabled",
625
- "Read-only": "readOnly",
626
- Loading: "loading",
627
- Code: "code"
628
- },
629
- rows: {
630
- "No status": void 0,
631
- Valid: "valid",
632
- Invalid: "invalid",
633
- Warned: "warned"
634
- },
635
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
636
- /* @__PURE__ */ jsx(Label, { children: "Birthday" }),
637
- /* @__PURE__ */ jsx(
638
- DateInput,
639
- {
640
- containerProps: { style: { width: 145 } },
641
- defaultValue: new Date(1990, 3, 10),
642
- status: row,
643
- required: col === "required",
644
- disabled: col === "disabled",
645
- readOnly: col === "readOnly",
646
- loading: col === "loading",
647
- code: col === "code" ? "7.2" : void 0
648
- }
649
- ),
650
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Confirmed." }),
651
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Awaiting confirmation…" }),
652
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unable to confirm." }),
653
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For legal purposes." })
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
- return /* @__PURE__ */ jsx(
660
- ExhibitSection,
661
- {
662
- title: "Date-range input",
663
- docsPage: "ostack-ui-forms-date-range-input",
664
- children: /* @__PURE__ */ jsx(
665
- ExhibitGrid,
666
- {
667
- cols: {
668
- Basic: "",
669
- "Helper text": "helperText",
670
- Required: "required",
671
- Disabled: "disabled",
672
- "Read-only": "readOnly",
673
- Loading: "loading",
674
- Code: "code"
675
- },
676
- rows: {
677
- "No status": void 0,
678
- Valid: "valid",
679
- Invalid: "invalid",
680
- Warned: "warned"
681
- },
682
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
683
- /* @__PURE__ */ jsx(Label, { children: "Time off" }),
684
- /* @__PURE__ */ jsx(
685
- DateRangeInput,
686
- {
687
- popoverAnchorProps: { style: { width: 280 } },
688
- defaultValue: {
689
- start: new Date(2026, 2, 10),
690
- end: new Date(2026, 2, 24)
691
- },
692
- status: row,
693
- required: col === "required",
694
- disabled: col === "disabled",
695
- readOnly: col === "readOnly",
696
- loading: col === "loading",
697
- code: col === "code" ? "1.6" : void 0
698
- }
699
- ),
700
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Accepted." }),
701
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Processing…" }),
702
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Not accepted." }),
703
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Reserve your paid time off." })
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
- return /* @__PURE__ */ jsx(
712
- ExhibitSection,
713
- {
714
- title: "Description list",
715
- docsPage: "ostack-ui-data-display-description-list",
716
- children: /* @__PURE__ */ jsxs(DescriptionList, { children: [
717
- /* @__PURE__ */ jsx(DescriptionListItem, { term: "Instance ID", xs: 6, md: 4, lg: 3, xl: 2, children: /* @__PURE__ */ jsx(Code, { children: "i-04f29a87bca612" }) }),
718
- /* @__PURE__ */ jsx(DescriptionListItem, { term: "Status", xs: 6, md: 4, lg: 3, xl: 2, children: /* @__PURE__ */ jsx(Tag, { color: "success", children: "Running" }) }),
719
- /* @__PURE__ */ jsx(DescriptionListItem, { term: "Public IPv4", xs: 6, md: 4, lg: 3, xl: 2, children: /* @__PURE__ */ jsx(Link, { href: "http://203.0.113.88", external: true, children: "203.0.113.88" }) }),
720
- /* @__PURE__ */ jsx(DescriptionListItem, { term: "Storage", xs: 6, md: 4, lg: 3, xl: 2, children: "20 GB (SSD)" }),
721
- /* @__PURE__ */ jsx(
722
- DescriptionListItem,
723
- {
724
- term: "Availability Zone",
725
- xs: 6,
726
- md: 4,
727
- lg: 3,
728
- xl: 2,
729
- children: /* @__PURE__ */ jsx(Code, { children: "us-east-1a" })
730
- }
731
- ),
732
- /* @__PURE__ */ jsx(DescriptionListItem, { term: "Launch Time", xs: 6, md: 4, lg: 3, xl: 2, children: "2026-02-12 14:30 UTC" })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Dialog", docsPage: "ostack-ui-overlay-dialog", children: /* @__PURE__ */ jsx(
739
- ExhibitGrid,
740
- {
741
- cols: {
742
- Neutral: "neutral",
743
- Primary: "primary",
744
- Success: "success",
745
- Danger: "danger",
746
- Warning: "warning"
747
- },
748
- rows: {
749
- Solid: "solid",
750
- Subtle: "subtle",
751
- Outlined: "outlined",
752
- Ghost: "ghost"
753
- },
754
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Dialog, { children: [
755
- /* @__PURE__ */ jsx(DialogTrigger, { children: /* @__PURE__ */ jsx(Button, { variant: row, color: col, children: "Edit" }) }),
756
- /* @__PURE__ */ jsx(DialogContent, { variant: row, color: col, asChild: true, children: /* @__PURE__ */ jsxs("form", { children: [
757
- /* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: "Edit user information" }) }),
758
- /* @__PURE__ */ jsxs(DialogBody, { children: [
759
- /* @__PURE__ */ jsx(DialogDescription, { children: "Edit user information below, changes are saved automatically." }),
760
- /* @__PURE__ */ jsxs(Stack, { children: [
761
- /* @__PURE__ */ jsxs(Field, { children: [
762
- /* @__PURE__ */ jsx(Label, { children: "Name" }),
763
- /* @__PURE__ */ jsx(Input, { defaultValue: "Charles McClain" })
764
- ] }),
765
- /* @__PURE__ */ jsxs(Field, { children: [
766
- /* @__PURE__ */ jsx(Label, { children: "Date of birth" }),
767
- /* @__PURE__ */ jsx(DateInput, { defaultValue: new Date(1993, 4, 4) })
768
- ] })
769
- ] })
770
- ] }),
771
- /* @__PURE__ */ jsx(DialogFooter, { children: /* @__PURE__ */ jsx(DialogClose, { children: /* @__PURE__ */ jsx(Button, { color: col, children: "Close" }) }) })
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
- prefix: "fab",
779
- iconName: "bluetooth",
780
- icon: [384, 512, [], "f293", "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"]
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
- prefix: "fab",
784
- iconName: "react",
785
- icon: [512, 512, [], "f41b", "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"]
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
- prefix: "fab",
789
- iconName: "wikipedia-w",
790
- icon: [640, 512, [], "f266", "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"]
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
- return /* @__PURE__ */ jsx(
794
- ExhibitSection,
795
- {
796
- title: "Dropdown menu",
797
- docsPage: "ostack-ui-overlay-dropdown-menu",
798
- children: /* @__PURE__ */ jsxs(DropdownMenu, { children: [
799
- /* @__PURE__ */ jsx(DropdownMenuTrigger, { children: /* @__PURE__ */ jsx(Button, { icon: faGear, children: "Settings" }) }),
800
- /* @__PURE__ */ jsxs(DropdownMenuContent, { style: { minWidth: 200 }, children: [
801
- /* @__PURE__ */ jsxs(DropdownMenuGroup, { label: "Connectivity", children: [
802
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faWifi, children: "Wi-Fi" }),
803
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faNetworkWired, children: "Network" }),
804
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faBluetooth, children: "Bluetooth" })
805
- ] }),
806
- /* @__PURE__ */ jsxs(DropdownMenuGroup, { label: "Devices", children: [
807
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faDisplay, children: "Displays" }),
808
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faVolumeHigh, children: "Sound" }),
809
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faKeyboard, children: "Input" }),
810
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faPrint, children: "Printers" })
811
- ] }),
812
- /* @__PURE__ */ jsxs(DropdownMenuRadioGroup, { label: "Language", value: "en", children: [
813
- /* @__PURE__ */ jsx(DropdownMenuRadioItem, { value: "en", children: "English" }),
814
- /* @__PURE__ */ jsx(DropdownMenuRadioItem, { value: "pt", children: "Portuguese" }),
815
- /* @__PURE__ */ jsx(DropdownMenuRadioItem, { value: "es", disabled: true, children: "Spanish" })
816
- ] }),
817
- /* @__PURE__ */ jsxs(DropdownMenuGroup, { label: "Notifications", children: [
818
- /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, { children: "Calendar" }),
819
- /* @__PURE__ */ jsx(DropdownMenuCheckboxItem, { checked: true, children: "Weather" })
820
- ] }),
821
- /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsxs(DropdownMenuSub, { children: [
822
- /* @__PURE__ */ jsx(DropdownMenuSubTrigger, { children: "System" }),
823
- /* @__PURE__ */ jsxs(DropdownMenuSubContent, { children: [
824
- /* @__PURE__ */ jsxs(DropdownMenuGroup, { children: [
825
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faClock, children: "Date & Time" }),
826
- /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faUser, children: "Users" })
827
- ] }),
828
- /* @__PURE__ */ jsx(DropdownMenuGroup, { children: /* @__PURE__ */ jsx(DropdownMenuItem, { icon: faCircleXmark, color: "danger", children: "Factory reset" }) })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Field group", docsPage: "ostack-ui-forms-field-group", children: /* @__PURE__ */ jsx(
838
- ExhibitGrid,
839
- {
840
- cols: {
841
- Basic: "basic",
842
- Code: "code"
843
- },
844
- renderItem: ({ col }) => /* @__PURE__ */ jsxs(FieldGroup, { children: [
845
- /* @__PURE__ */ jsx(FieldGroupHeader, { code: col === "code" ? "1" : void 0, children: /* @__PURE__ */ jsx(FieldGroupTitle, { children: "Identification" }) }),
846
- /* @__PURE__ */ jsx(FieldGroupBody, { children: /* @__PURE__ */ jsxs(Stack, { gap: 3, children: [
847
- /* @__PURE__ */ jsxs(Field, { children: [
848
- /* @__PURE__ */ jsx(Label, { children: "Full name" }),
849
- /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.1" : void 0 })
850
- ] }),
851
- /* @__PURE__ */ jsxs(Field, { children: [
852
- /* @__PURE__ */ jsx(Label, { children: "Passport number" }),
853
- /* @__PURE__ */ jsx(Input, { code: col === "code" ? "1.2" : void 0 })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Icon button", docsPage: "ostack-ui-forms-icon-button", children: /* @__PURE__ */ jsx(
862
- ExhibitGrid,
863
- {
864
- cols: {
865
- Neutral: "neutral",
866
- Primary: "primary",
867
- Success: "success",
868
- Danger: "danger",
869
- Warning: "warning",
870
- Disabled: "disabled",
871
- Loading: "loading",
872
- Keybinds: "keybinds"
873
- },
874
- rows: {
875
- Solid: "solid",
876
- Subtle: "subtle",
877
- Outlined: "outlined",
878
- Ghost: "ghost"
879
- },
880
- renderItem: ({ col, row }) => /* @__PURE__ */ jsx(
881
- IconButton,
882
- {
883
- label: "Bloom",
884
- icon: faSeedling,
885
- variant: row,
886
- color: col === "disabled" || col === "loading" || col === "keybinds" ? void 0 : col,
887
- disabled: col === "disabled",
888
- loading: col === "loading",
889
- loadingLabel: col === "loading" ? "Blooming…" : void 0,
890
- keybinds: col === "keybinds" ? "Alt+Shift+B" : void 0
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Input", docsPage: "ostack-ui-forms-input", children: /* @__PURE__ */ jsx(
898
- ExhibitGrid,
899
- {
900
- cols: {
901
- Basic: "",
902
- "Helper text": "helperText",
903
- Required: "required",
904
- "Label help": "labelHelp",
905
- Disabled: "disabled",
906
- "Read-only": "readOnly",
907
- Loading: "loading",
908
- Code: "code",
909
- "Clear button": "showClearButton"
910
- },
911
- rows: {
912
- "No status": void 0,
913
- Valid: "valid",
914
- Invalid: "invalid",
915
- Warned: "warned"
916
- },
917
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
918
- /* @__PURE__ */ jsx(
919
- Label,
920
- {
921
- helperText: col === "labelHelp" ? "Used to sign in." : void 0,
922
- children: "Username"
923
- }
924
- ),
925
- /* @__PURE__ */ jsx(
926
- Input,
927
- {
928
- containerProps: { style: { width: 110 } },
929
- defaultValue: "j_smith",
930
- status: row,
931
- required: col === "required",
932
- disabled: col === "disabled",
933
- readOnly: col === "readOnly",
934
- loading: col === "loading",
935
- code: col === "code" ? "1.1" : void 0,
936
- showClearButton: col === "showClearButton" ? "auto" : void 0
937
- }
938
- ),
939
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Available." }),
940
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Already taken." }),
941
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Invalid format." }),
942
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "Used to sign in." })
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
- return /* @__PURE__ */ jsxs(ExhibitSection, { title: "Keyboard", docsPage: "ostack-ui-typography-keyboard", children: [
949
- "Press ",
950
- /* @__PURE__ */ jsx(Keyboard, { children: "Ctrl" }),
951
- " + ",
952
- /* @__PURE__ */ jsx(Keyboard, { children: "P" }),
953
- " to print."
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Link", docsPage: "ostack-ui-typography-link", children: /* @__PURE__ */ jsx(
958
- ExhibitGrid,
959
- {
960
- cols: {
961
- Neutral: "neutral",
962
- Primary: "primary",
963
- Success: "success",
964
- Danger: "danger",
965
- Warning: "warning",
966
- External: "external"
967
- },
968
- renderItem: ({ col }) => /* @__PURE__ */ jsx(
969
- Link,
970
- {
971
- href: col === "external" ? "https://www.wikipedia.org/" : "#",
972
- color: col === "external" ? void 0 : col,
973
- external: col === "external",
974
- children: col === "external" ? "Wikipedia" : "Go to top"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Mark", docsPage: "ostack-ui-typography-mark", children: /* @__PURE__ */ jsx(
982
- ExhibitGrid,
983
- {
984
- cols: {
985
- Neutral: "neutral",
986
- Primary: "primary",
987
- Success: "success",
988
- Danger: "danger",
989
- Warning: "warning"
990
- },
991
- renderItem: ({ col }) => /* @__PURE__ */ jsxs(Fragment$1, { children: [
992
- "The deadline is ",
993
- /* @__PURE__ */ jsx(Mark, { color: col, children: "Friday" }),
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
- return /* @__PURE__ */ jsx(
1001
- ExhibitSection,
1002
- {
1003
- title: "Menu list",
1004
- docsPage: "ostack-ui-overlay-dropdown-menu",
1005
- children: /* @__PURE__ */ jsx(
1006
- ExhibitGrid,
1007
- {
1008
- cols: {
1009
- Subtle: "subtle",
1010
- Solid: "solid"
1011
- },
1012
- renderItem: ({ col }) => /* @__PURE__ */ jsxs(MenuList, { variant: col, style: { width: 250 }, children: [
1013
- /* @__PURE__ */ jsxs(MenuListGroup, { label: "Actions", children: [
1014
- /* @__PURE__ */ jsx(MenuListItem, { icon: faEye, selected: true, children: "View" }),
1015
- /* @__PURE__ */ jsx(MenuListItem, { icon: faPencil, children: "Edit" }),
1016
- /* @__PURE__ */ jsx(MenuListItem, { icon: faTrashCan, color: "danger", children: "Delete" })
1017
- ] }),
1018
- /* @__PURE__ */ jsxs(MenuListGroup, { label: "Links", children: [
1019
- /* @__PURE__ */ jsx(
1020
- MenuListItem,
1021
- {
1022
- type: "link",
1023
- href: "https://www.wikipedia.org/",
1024
- icon: faWikipediaW,
1025
- target: "_blank",
1026
- rel: "noopener noreferrer",
1027
- children: "Wikipedia"
1028
- }
1029
- ),
1030
- /* @__PURE__ */ jsx(
1031
- MenuListItem,
1032
- {
1033
- type: "link",
1034
- href: "https://react.dev",
1035
- icon: faReact,
1036
- target: "_blank",
1037
- rel: "noopener noreferrer",
1038
- children: "React"
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
- return /* @__PURE__ */ jsx(
1050
- ExhibitSection,
1051
- {
1052
- title: "Numeric input",
1053
- docsPage: "ostack-ui-forms-numeric-input",
1054
- children: /* @__PURE__ */ jsx(
1055
- ExhibitGrid,
1056
- {
1057
- cols: {
1058
- Basic: "",
1059
- "Helper text": "helperText",
1060
- Required: "required",
1061
- Disabled: "disabled",
1062
- "Read-only": "readOnly",
1063
- Loading: "loading",
1064
- Code: "code",
1065
- "Clear button": "showClearButton"
1066
- },
1067
- rows: {
1068
- "No status": void 0,
1069
- Valid: "valid",
1070
- Invalid: "invalid",
1071
- Warned: "warned"
1072
- },
1073
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
1074
- /* @__PURE__ */ jsx(Label, { children: "Income" }),
1075
- /* @__PURE__ */ jsx(
1076
- NumericInput,
1077
- {
1078
- containerProps: { style: { width: 120 } },
1079
- defaultValue: 42000.9,
1080
- precision: 11,
1081
- scale: 2,
1082
- groupDigits: true,
1083
- min: 0,
1084
- endAdornment: /* @__PURE__ */ jsx(ControlAddon, { children: "€" }),
1085
- status: row,
1086
- required: col === "required",
1087
- disabled: col === "disabled",
1088
- readOnly: col === "readOnly",
1089
- loading: col === "loading",
1090
- code: col === "code" ? "3.9" : void 0,
1091
- showClearButton: col === "showClearButton" ? "auto" : void 0
1092
- }
1093
- ),
1094
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Confirmed." }),
1095
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Processing…" }),
1096
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Insufficient." }),
1097
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For tax purposes." })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Output", docsPage: "ostack-ui-forms-output", children: /* @__PURE__ */ jsx(
1106
- ExhibitGrid,
1107
- {
1108
- cols: {
1109
- Basic: "",
1110
- "Helper text": "helperText",
1111
- Pending: "pending",
1112
- Code: "code"
1113
- },
1114
- rows: {
1115
- "No status": void 0,
1116
- Valid: "valid",
1117
- Invalid: "invalid",
1118
- Warned: "warned"
1119
- },
1120
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
1121
- /* @__PURE__ */ jsx(Label, { children: "Total" }),
1122
- /* @__PURE__ */ jsx(
1123
- Output,
1124
- {
1125
- containerProps: { style: { width: 150 } },
1126
- status: row,
1127
- pending: col === "pending",
1128
- code: col === "code" ? "6.2" : void 0,
1129
- children: "$30,000"
1130
- }
1131
- ),
1132
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Funds available." }),
1133
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Funds unavailable." }),
1134
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Incorrect amount." }),
1135
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "A + B + C + D - E" })
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
- const spacing = useSpacing();
1142
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Popover", docsPage: "ostack-ui-overlay-popover", children: /* @__PURE__ */ jsxs(Popover, { children: [
1143
- /* @__PURE__ */ jsx(PopoverTrigger, { children: /* @__PURE__ */ jsx(Button, { icon: faComment, children: "Comment" }) }),
1144
- /* @__PURE__ */ jsx(PopoverContent, { style: { padding: spacing(2) }, children: /* @__PURE__ */ jsx(Stack, { asChild: true, gap: 2, alignItems: "flex-end", children: /* @__PURE__ */ jsxs("form", { children: [
1145
- /* @__PURE__ */ jsxs(Field, { children: [
1146
- /* @__PURE__ */ jsx(Label, { children: "Leave a comment" }),
1147
- /* @__PURE__ */ jsx(TextArea, { rows: 6, style: { width: 300 } })
1148
- ] }),
1149
- /* @__PURE__ */ jsx(
1150
- Button,
1151
- {
1152
- color: "primary",
1153
- type: "submit",
1154
- onClick: (evt) => evt.preventDefault(),
1155
- children: "Submit"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Radio group", docsPage: "ostack-ui-forms-radio-group", children: /* @__PURE__ */ jsx(
1163
- ExhibitGrid,
1164
- {
1165
- cols: {
1166
- Basic: "",
1167
- "Helper text": "helperText",
1168
- Required: "required",
1169
- Disabled: "disabled",
1170
- "Read-only": "readOnly",
1171
- Loading: "loading",
1172
- Code: "code",
1173
- "All codes": "allCodes",
1174
- "Clear button": "clearButton"
1175
- },
1176
- rows: {
1177
- "No status": void 0,
1178
- Valid: "valid",
1179
- Invalid: "invalid",
1180
- Warned: "warned"
1181
- },
1182
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
1183
- /* @__PURE__ */ jsx(Label, { children: "Preferred make" }),
1184
- /* @__PURE__ */ jsxs(
1185
- RadioGroup,
1186
- {
1187
- status: row,
1188
- defaultValue: "fiat",
1189
- required: col === "required",
1190
- disabled: col === "disabled",
1191
- readOnly: col === "readOnly",
1192
- loading: col === "loading",
1193
- code: col === "code" || col === "allCodes" ? "1.7" : void 0,
1194
- showClearButton: col === "clearButton" ? "auto" : void 0,
1195
- children: [
1196
- /* @__PURE__ */ jsx(Radio, { value: "fiat", code: col === "allCodes" ? "a" : void 0, children: "Fiat" }),
1197
- /* @__PURE__ */ jsx(
1198
- Radio,
1199
- {
1200
- value: "renault",
1201
- code: col === "allCodes" ? "b" : void 0,
1202
- children: "Renault"
1203
- }
1204
- ),
1205
- /* @__PURE__ */ jsx(Radio, { value: "toyota", code: col === "allCodes" ? "c" : void 0, children: "Toyota" })
1206
- ]
1207
- }
1208
- ),
1209
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Available." }),
1210
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Maybe unavailable." }),
1211
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
1212
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "All with low mileage." })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Select", docsPage: "ostack-ui-forms-select", children: /* @__PURE__ */ jsx(
1219
- ExhibitGrid,
1220
- {
1221
- cols: {
1222
- Single: "",
1223
- Multiple: "multiple",
1224
- "Helper text": "helperText",
1225
- Required: "required",
1226
- Disabled: "disabled",
1227
- "Read-only": "readOnly",
1228
- Loading: "loading",
1229
- Code: "code"
1230
- },
1231
- rows: {
1232
- "No status": void 0,
1233
- Valid: "valid",
1234
- Invalid: "invalid",
1235
- Warned: "warned"
1236
- },
1237
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
1238
- /* @__PURE__ */ jsxs(Label, { children: [
1239
- "Pick your fruit",
1240
- col === "multiple" && "s"
1241
- ] }),
1242
- /* @__PURE__ */ jsxs(
1243
- Select,
1244
- {
1245
- containerProps: { style: { width: 120 } },
1246
- multiple: col === "multiple",
1247
- defaultValue: col === "multiple" ? ["apple", "kiwi"] : "apple",
1248
- status: row,
1249
- required: col === "required",
1250
- disabled: col === "disabled",
1251
- readOnly: col === "readOnly",
1252
- loading: col === "loading",
1253
- code: col === "code" ? "2.1" : void 0,
1254
- children: [
1255
- /* @__PURE__ */ jsx(Option, { value: "apple", children: "Apple" }),
1256
- /* @__PURE__ */ jsx(Option, { value: "kiwi", children: "Kiwi" }),
1257
- /* @__PURE__ */ jsx(Option, { value: "pear", children: "Pear" })
1258
- ]
1259
- }
1260
- ),
1261
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Available." }),
1262
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Maybe unavailable." }),
1263
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Unavailable." }),
1264
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "For breakfast." })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Spinner", docsPage: "ostack-ui-feedback-spinner", children: /* @__PURE__ */ jsx(
1271
- ExhibitGrid,
1272
- {
1273
- cols: {
1274
- Neutral: "neutral",
1275
- Primary: "primary",
1276
- Success: "success",
1277
- Danger: "danger",
1278
- Warning: "warning",
1279
- Labelled: "label"
1280
- },
1281
- renderItem: ({ col }) => /* @__PURE__ */ jsx(
1282
- Spinner,
1283
- {
1284
- color: col === "label" ? void 0 : col,
1285
- label: col === "label" ? "Loading…" : void 0
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
- const spacing = useSpacing();
1293
- return /* @__PURE__ */ jsx(
1294
- ExhibitSection,
1295
- {
1296
- title: "Stepper",
1297
- docsPage: "ostack-ui-data-disclosure-stepper",
1298
- children: /* @__PURE__ */ jsxs(Stepper, { style: { maxWidth: 600 }, children: [
1299
- /* @__PURE__ */ jsxs(StepList, { children: [
1300
- /* @__PURE__ */ jsx(Step, { children: "Account Details" }),
1301
- /* @__PURE__ */ jsx(Step, { children: "Shipping Address" }),
1302
- /* @__PURE__ */ jsx(Step, { children: "Payment Method" }),
1303
- /* @__PURE__ */ jsx(Step, { children: "Review & Confirm" })
1304
- ] }),
1305
- /* @__PURE__ */ jsx(StepContent, { style: { marginBlock: spacing(2) }, children: "Enter your contact information…" }),
1306
- /* @__PURE__ */ jsx(StepContent, { style: { marginBlock: spacing(2) }, children: "Select your shipping address…" }),
1307
- /* @__PURE__ */ jsx(StepContent, { style: { marginBlock: spacing(2) }, children: "Select your payment method…" }),
1308
- /* @__PURE__ */ jsx(StepContent, { style: { marginBlock: spacing(2) }, children: "Double-check your order…" }),
1309
- /* @__PURE__ */ jsx(StepperPreviousTrigger, {}),
1310
- /* @__PURE__ */ jsx(StepperNextTrigger, {}),
1311
- /* @__PURE__ */ jsx(StepperFinishTrigger, {})
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
- const ROWS = [
1317
- { student: "Avi Everett", grade: 82.5 },
1318
- { student: "Evan Gutierrez", grade: 67.8 },
1319
- { student: "Jackson Ford", grade: 55.1 },
1320
- { student: "Olivia Cortes", grade: 77.5 }
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
- const AVG_GRADE = ROWS.reduce((total, { grade }) => total + grade, 0) / ROWS.length;
2074
+ var AVG_GRADE = ROWS.reduce((total, { grade }) => total + grade, 0) / ROWS.length;
1323
2075
  function TableSection() {
1324
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Table", docsPage: "ostack-ui-data-data-display-table", children: /* @__PURE__ */ jsx(
1325
- ExhibitGrid,
1326
- {
1327
- cols: {
1328
- Default: "default",
1329
- Annexes: "control"
1330
- },
1331
- renderItem: ({ col }) => /* @__PURE__ */ jsxs(Table, { caption: "Exam grades", variant: col, style: { width: 250 }, children: [
1332
- /* @__PURE__ */ jsxs(TableHead, { children: [
1333
- /* @__PURE__ */ jsx(TableColumn, { header: true, label: "Student" }),
1334
- /* @__PURE__ */ jsx(TableColumn, { label: "Grade", align: "right" })
1335
- ] }),
1336
- /* @__PURE__ */ jsx(TableBody, { children: ROWS.map(({ student, grade }, i) => /* @__PURE__ */ jsxs(TableRow, { children: [
1337
- /* @__PURE__ */ jsx(TableCell, { children: student }),
1338
- /* @__PURE__ */ jsx(TableCell, { children: grade.toFixed(1) })
1339
- ] }, i)) }),
1340
- /* @__PURE__ */ jsx(TableFoot, { children: /* @__PURE__ */ jsxs(TableRow, { children: [
1341
- /* @__PURE__ */ jsx(TableCell, { children: "Average" }),
1342
- /* @__PURE__ */ jsx(TableCell, { children: AVG_GRADE.toFixed(1) })
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
- const spacing = useSpacing();
1350
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Tabs", docsPage: "ostack-ui-data-disclosure-tabs", children: /* @__PURE__ */ jsx(
1351
- ExhibitGrid,
1352
- {
1353
- cols: {
1354
- Default: "default",
1355
- Annexes: "annexes"
1356
- },
1357
- renderItem: ({ col }) => /* @__PURE__ */ jsxs(Tabs, { variant: col, defaultValue: "accessibility", children: [
1358
- /* @__PURE__ */ jsxs(TabList, { children: [
1359
- /* @__PURE__ */ jsx(Tab, { value: "accessibility", children: "Accessibility" }),
1360
- /* @__PURE__ */ jsx(Tab, { value: "privacy", children: "Privacy & Security" }),
1361
- /* @__PURE__ */ jsx(Tab, { value: "system", children: "System" })
1362
- ] }),
1363
- /* @__PURE__ */ jsx(TabContent, { value: "accessibility", style: { marginTop: spacing(2) }, children: "Accessibility options…" }),
1364
- /* @__PURE__ */ jsx(TabContent, { value: "privacy", style: { marginTop: spacing(2) }, children: "Privacy & Security settings…" }),
1365
- /* @__PURE__ */ jsx(TabContent, { value: "system", style: { marginTop: spacing(2) }, children: "System configuration…" })
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Tag", docsPage: "ostack-ui-data-display-tag", children: /* @__PURE__ */ jsx(
1372
- ExhibitGrid,
1373
- {
1374
- cols: {
1375
- Neutral: "neutral",
1376
- Primary: "primary",
1377
- Success: "success",
1378
- Danger: "danger",
1379
- Warning: "warning",
1380
- Pill: "pill",
1381
- Icon: "icon",
1382
- "Close button": "showCloseButton"
1383
- },
1384
- rows: {
1385
- Solid: "solid",
1386
- Subtle: "subtle",
1387
- Outlined: "outlined"
1388
- },
1389
- renderItem: ({ col, row }) => /* @__PURE__ */ jsx(
1390
- Tag,
1391
- {
1392
- variant: row,
1393
- color: col === "pill" || col === "icon" || col === "showCloseButton" ? "neutral" : col,
1394
- pill: col === "pill",
1395
- icon: col === "icon" ? faStar : void 0,
1396
- showCloseButton: col === "showCloseButton",
1397
- children: "New"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Text area", docsPage: "ostack-ui-forms-text-area", children: /* @__PURE__ */ jsx(
1405
- ExhibitGrid,
1406
- {
1407
- cols: {
1408
- Basic: "",
1409
- "Helper text": "helperText",
1410
- Required: "required",
1411
- Disabled: "disabled",
1412
- "Read-only": "readOnly",
1413
- Loading: "loading",
1414
- Code: "code",
1415
- "Clear button": "showClearButton"
1416
- },
1417
- rows: {
1418
- "No status": void 0,
1419
- Valid: "valid",
1420
- Invalid: "invalid",
1421
- Warned: "warned"
1422
- },
1423
- renderItem: ({ col, row }) => /* @__PURE__ */ jsxs(Field, { children: [
1424
- /* @__PURE__ */ jsx(Label, { children: "Additional requests" }),
1425
- /* @__PURE__ */ jsx(
1426
- TextArea,
1427
- {
1428
- containerProps: { style: { width: 130 } },
1429
- defaultValue: "Please provide two extra towels.",
1430
- status: row,
1431
- required: col === "required",
1432
- disabled: col === "disabled",
1433
- readOnly: col === "readOnly",
1434
- loading: col === "loading",
1435
- code: col === "code" ? "4.1" : void 0,
1436
- showClearButton: col === "showClearButton" ? "auto" : void 0
1437
- }
1438
- ),
1439
- row === "valid" && /* @__PURE__ */ jsx(Feedback, { type: "success", children: "Accepted." }),
1440
- row === "warned" && /* @__PURE__ */ jsx(Feedback, { type: "warning", children: "Unable to process." }),
1441
- row === "invalid" && /* @__PURE__ */ jsx(Feedback, { children: "Invalid request." }),
1442
- col === "helperText" && /* @__PURE__ */ jsx(HelperText, { children: "We will attempt to honour them." })
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
- const { addToast } = useToastManager();
1449
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Toast", docsPage: "ostack-ui-feedback-toast", children: /* @__PURE__ */ jsx(
1450
- ExhibitGrid,
1451
- {
1452
- cols: {
1453
- Neutral: "neutral",
1454
- Info: "info",
1455
- Success: "success",
1456
- Danger: "danger",
1457
- Warning: "warning",
1458
- Title: "title",
1459
- Action: "action"
1460
- },
1461
- rows: {
1462
- Solid: "solid",
1463
- Subtle: "subtle",
1464
- Outlined: "outlined"
1465
- },
1466
- renderItem: ({ col, row }) => /* @__PURE__ */ jsx(
1467
- Button,
1468
- {
1469
- icon: faBookmark,
1470
- color: col === "info" || col === "title" || col === "action" ? "primary" : col,
1471
- variant: row,
1472
- onClick: () => {
1473
- addToast("Item has been bookmarked.", {
1474
- title: col === "title" ? "Bookmarked" : void 0,
1475
- variant: row,
1476
- severity: col === "title" || col === "action" ? void 0 : col,
1477
- action: col === "action" && /* @__PURE__ */ jsx(Button, { keybinds: "$mod+Z", color: "primary", children: "Undo" }),
1478
- actionAltText: "Undo (Ctrl+Z)"
1479
- });
1480
- },
1481
- children: "Bookmark"
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
- return /* @__PURE__ */ jsx(ExhibitSection, { title: "Tooltip", docsPage: "ostack-ui-overlay-tooltip", children: /* @__PURE__ */ jsx(Tooltip, { content: "Press to reload all content", children: /* @__PURE__ */ jsx(Button, { children: "Refresh" }) }) });
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
- const DEFAULT_DOCS_URL = process.env.NODE_ENV === "production" ? "https://ui.ostack.tech/" : "http://localhost:6006/";
1491
- function ExhibitApp({
1492
- docsUrl = DEFAULT_DOCS_URL,
1493
- title = document.title,
1494
- prefix,
1495
- actions
1496
- }) {
1497
- return /* @__PURE__ */ jsx(ExhibitContext.Provider, { value: { docsUrl }, children: /* @__PURE__ */ jsxs(Root, { prefix, locale: enGB, children: [
1498
- /* @__PURE__ */ jsx(VisuallyHidden, { focusable: true, asChild: true, children: /* @__PURE__ */ jsx(Link, { href: "#exhibit-main", style: { top: 6, left: 6 }, children: "Skip to main content" }) }),
1499
- /* @__PURE__ */ jsx(Container, { asChild: true, children: /* @__PURE__ */ jsxs("header", { id: "exhibit-header", children: [
1500
- /* @__PURE__ */ jsx(Heading, { level: 1, id: "exhibit-title", children: title }),
1501
- actions && /* @__PURE__ */ jsx(Stack, { id: "exhibit-actions", direction: "row", gap: 2, children: actions })
1502
- ] }) }),
1503
- /* @__PURE__ */ jsx(Stack, { asChild: true, gap: 15, children: /* @__PURE__ */ jsx(Container, { asChild: true, children: /* @__PURE__ */ jsxs("main", { id: "exhibit-main", tabIndex: -1, children: [
1504
- /* @__PURE__ */ jsx(AlertSection, {}),
1505
- /* @__PURE__ */ jsx(AlertDialogSection, {}),
1506
- /* @__PURE__ */ jsx(ButtonSection, {}),
1507
- /* @__PURE__ */ jsx(ButtonGroupSection, {}),
1508
- /* @__PURE__ */ jsx(CalendarSection, {}),
1509
- /* @__PURE__ */ jsx(CheckboxSection, {}),
1510
- /* @__PURE__ */ jsx(CheckboxGroupSection, {}),
1511
- /* @__PURE__ */ jsx(CodeSection, {}),
1512
- /* @__PURE__ */ jsx(CollapsibleSection, {}),
1513
- /* @__PURE__ */ jsx(CommandMenuSection, {}),
1514
- /* @__PURE__ */ jsx(DataTableSection, {}),
1515
- /* @__PURE__ */ jsx(DateInputSection, {}),
1516
- /* @__PURE__ */ jsx(DateRangeInputSection, {}),
1517
- /* @__PURE__ */ jsx(DescriptionListSection, {}),
1518
- /* @__PURE__ */ jsx(DialogSection, {}),
1519
- /* @__PURE__ */ jsx(DropdownMenuSection, {}),
1520
- /* @__PURE__ */ jsx(FieldGroupSection, {}),
1521
- /* @__PURE__ */ jsx(IconButtonSection, {}),
1522
- /* @__PURE__ */ jsx(InputSection, {}),
1523
- /* @__PURE__ */ jsx(LinkSection, {}),
1524
- /* @__PURE__ */ jsx(MarkSection, {}),
1525
- /* @__PURE__ */ jsx(MenuListSection, {}),
1526
- /* @__PURE__ */ jsx(NumericInputSection, {}),
1527
- /* @__PURE__ */ jsx(OutputSection, {}),
1528
- /* @__PURE__ */ jsx(PopoverSection, {}),
1529
- /* @__PURE__ */ jsx(RadioGroupSection, {}),
1530
- /* @__PURE__ */ jsx(SelectSection, {}),
1531
- /* @__PURE__ */ jsx(SpinnerSection, {}),
1532
- /* @__PURE__ */ jsx(StepperSection, {}),
1533
- /* @__PURE__ */ jsx(TableSection, {}),
1534
- /* @__PURE__ */ jsx(TabsSection, {}),
1535
- /* @__PURE__ */ jsx(TagSection, {}),
1536
- /* @__PURE__ */ jsx(ToastSection, {}),
1537
- /* @__PURE__ */ jsx(TextAreaSection, {}),
1538
- /* @__PURE__ */ jsx(TooltipSection, {}),
1539
- /* @__PURE__ */ jsx(KeyboardSection, {})
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
- export {
1544
- ExhibitApp
1545
- };
1546
- //# sourceMappingURL=ostack-ui-exhibit.js.map
2383
+ //#endregion
2384
+ export { ExhibitApp };
2385
+
2386
+ //# sourceMappingURL=ostack-ui-exhibit.js.map