@epilot/volt-ui-experimental-griffel 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ADOPTING.md +416 -0
- package/README.md +32 -31
- package/dist/components/alert-dialog/alert-dialog.js +61 -59
- package/dist/components/alert-dialog/alert-dialog.js.map +1 -1
- package/dist/components/avatar/avatar.js +6 -6
- package/dist/components/avatar/avatar.js.map +1 -1
- package/dist/components/badge/badge.js +47 -39
- package/dist/components/badge/badge.js.map +1 -1
- package/dist/components/button/button.js +71 -68
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/checkbox/checkbox.js +23 -20
- package/dist/components/checkbox/checkbox.js.map +1 -1
- package/dist/components/command/command.js +50 -35
- package/dist/components/command/command.js.map +1 -1
- package/dist/components/data-table/data-table.js +89 -88
- package/dist/components/data-table/data-table.js.map +1 -1
- package/dist/components/density-provider/density-provider.js +28 -0
- package/dist/components/density-provider/density-provider.js.map +1 -0
- package/dist/components/dialog/dialog.js +122 -100
- package/dist/components/dialog/dialog.js.map +1 -1
- package/dist/components/drawer/drawer.js +61 -59
- package/dist/components/drawer/drawer.js.map +1 -1
- package/dist/components/dropdown-menu/dropdown-menu.js +88 -85
- package/dist/components/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/field/field-combobox.js +121 -106
- package/dist/components/field/field-combobox.js.map +1 -1
- package/dist/components/field/field.js +105 -104
- package/dist/components/field/field.js.map +1 -1
- package/dist/components/list/list.js +282 -308
- package/dist/components/list/list.js.map +1 -1
- package/dist/components/pill/pill.js +58 -56
- package/dist/components/pill/pill.js.map +1 -1
- package/dist/components/popover/popover.js +47 -38
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/radio/radio.js +21 -18
- package/dist/components/radio/radio.js.map +1 -1
- package/dist/components/select/select.js +185 -156
- package/dist/components/select/select.js.map +1 -1
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/skeleton/skeleton.js.map +1 -1
- package/dist/components/switch/switch.js +34 -29
- package/dist/components/switch/switch.js.map +1 -1
- package/dist/components/table/table-pagination.js +92 -90
- package/dist/components/table/table-pagination.js.map +1 -1
- package/dist/components/table/table.js +109 -121
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/toggle/toggle.js +29 -29
- package/dist/components/toggle/toggle.js.map +1 -1
- package/dist/components/tooltip/tooltip.js +36 -34
- package/dist/components/tooltip/tooltip.js.map +1 -1
- package/dist/index.d.ts +600 -427
- package/dist/index.js +215 -212
- package/dist/index.js.map +1 -1
- package/dist/packages/volt-runtime/dist/sheet.js +27 -10
- package/dist/packages/volt-runtime/dist/sheet.js.map +1 -1
- package/dist/packages/volt-runtime/dist/styles/recipe.js +76 -0
- package/dist/packages/volt-runtime/dist/styles/recipe.js.map +1 -0
- package/dist/styles/document-context.js +12 -0
- package/dist/styles/document-context.js.map +1 -0
- package/dist/styles/make-styles.js +18 -10
- package/dist/styles/make-styles.js.map +1 -1
- package/dist/tokens/core.generated.js +1238 -1166
- package/dist/tokens/core.generated.js.map +1 -1
- package/dist/tokens/index.d.ts +442 -415
- package/dist/tokens/index.js +1105 -1078
- package/dist/tokens/index.js.map +1 -1
- package/dist/tokens/install.js +9 -5
- package/dist/tokens/install.js.map +1 -1
- package/dist/tokens/use-palette-tokens.js +20 -0
- package/dist/tokens/use-palette-tokens.js.map +1 -0
- package/dist/tokens.json +83 -2
- package/package.json +13 -5
- package/scripts/migration-diagnostics-core.mjs +859 -0
- package/scripts/migration-diagnostics.mjs +353 -0
- package/scripts/migration-sweep.mjs +179 -0
- package/AGENTS.md +0 -153
- package/AUTHORING.md +0 -292
- package/dist/packages/volt-runtime/dist/styles/make-styles.js +0 -22
- package/dist/packages/volt-runtime/dist/styles/make-styles.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -3,12 +3,12 @@ import { ensureCoreTokens as t, ensurePaletteTokens as a, ensurePaletteTokensFor
|
|
|
3
3
|
import { makeVoltResetStyles as n, makeVoltStyles as p } from "./styles/make-styles.js";
|
|
4
4
|
import { BADGE_COLORS as d, Badge as x } from "./components/badge/badge.js";
|
|
5
5
|
import { Breadcrumb as b, BreadcrumbItem as f } from "./components/breadcrumb/breadcrumb.js";
|
|
6
|
-
import { Callout as u, CalloutAction as
|
|
6
|
+
import { Callout as u, CalloutAction as s, CalloutDescription as T, CalloutTitle as g } from "./components/callout/callout.js";
|
|
7
7
|
import { Card as S, CardAction as F, CardContent as P, CardDescription as w, CardFooter as A, CardHeader as L, CardTitle as I } from "./components/card/card.js";
|
|
8
8
|
import { PILL_COLORS as O, Pill as k } from "./components/pill/pill.js";
|
|
9
|
-
import { Separator as
|
|
9
|
+
import { Separator as v } from "./components/separator/separator.js";
|
|
10
10
|
import { Skeleton as B } from "./components/skeleton/skeleton.js";
|
|
11
|
-
import { Spinner as
|
|
11
|
+
import { Spinner as h } from "./components/spinner/spinner.js";
|
|
12
12
|
import { Table as V, TableBody as E, TableCaption as _, TableCell as N, TableDensityContext as U, TableFooter as j, TableHead as q, TableHeader as z, TableRow as J } from "./components/table/table.js";
|
|
13
13
|
import { Accordion as Q, AccordionContent as W, AccordionItem as X, AccordionTrigger as Y } from "./components/accordion/accordion.js";
|
|
14
14
|
import { Button as $ } from "./components/button/button.js";
|
|
@@ -18,59 +18,60 @@ import { Label as no } from "./components/label/label.js";
|
|
|
18
18
|
import { RadioGroup as mo, RadioGroupItem as xo } from "./components/radio/radio.js";
|
|
19
19
|
import { Switch as bo } from "./components/switch/switch.js";
|
|
20
20
|
import { Avatar as Do } from "./components/avatar/avatar.js";
|
|
21
|
-
import { AvatarGroup as
|
|
21
|
+
import { AvatarGroup as so } from "./components/avatar/avatar-group.js";
|
|
22
22
|
import { Tabs as go, TabsContent as co, TabsList as So, TabsTrigger as Fo } from "./components/tabs/tabs.js";
|
|
23
23
|
import { Toggle as wo } from "./components/toggle/toggle.js";
|
|
24
24
|
import { ToggleGroup as Lo, ToggleGroupItem as Io } from "./components/toggle/toggle-group.js";
|
|
25
|
-
import { AlertDialog as Oo, AlertDialogAction as ko, AlertDialogCancel as Mo, AlertDialogContent as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
25
|
+
import { AlertDialog as Oo, AlertDialogAction as ko, AlertDialogCancel as Mo, AlertDialogContent as vo, AlertDialogDescription as Ro, AlertDialogFooter as Bo, AlertDialogHeader as yo, AlertDialogOverlay as ho, AlertDialogPortal as Ho, AlertDialogTitle as Vo, AlertDialogTrigger as Eo } from "./components/alert-dialog/alert-dialog.js";
|
|
26
|
+
import { DensityProvider as No, useDensity as Uo } from "./components/density-provider/density-provider.js";
|
|
27
|
+
import { Dialog as qo, DialogClose as zo, DialogContent as Jo, DialogDescription as Ko, DialogFooter as Qo, DialogHeader as Wo, DialogOverlay as Xo, DialogPortal as Yo, DialogTitle as Zo, DialogTrigger as $o } from "./components/dialog/dialog.js";
|
|
28
|
+
import { Drawer as ee, DrawerClose as re, DrawerContent as te, DrawerDescription as ae, DrawerFooter as le, DrawerHeader as ie, DrawerOverlay as ne, DrawerPortal as pe, DrawerTitle as me, DrawerTrigger as de } from "./components/drawer/drawer.js";
|
|
29
|
+
import { DropdownMenu as Ce, DropdownMenuCheckboxItem as be, DropdownMenuContent as fe, DropdownMenuGroup as De, DropdownMenuItem as ue, DropdownMenuLabel as se, DropdownMenuPortal as Te, DropdownMenuRadioGroup as ge, DropdownMenuRadioItem as ce, DropdownMenuSeparator as Se, DropdownMenuShortcut as Fe, DropdownMenuSub as Pe, DropdownMenuSubContent as we, DropdownMenuSubTrigger as Ae, DropdownMenuTrigger as Le } from "./components/dropdown-menu/dropdown-menu.js";
|
|
30
|
+
import { Popover as Ge, PopoverAnchor as Oe, PopoverContent as ke, PopoverPortal as Me, PopoverTrigger as ve } from "./components/popover/popover.js";
|
|
31
|
+
import { ScrollOverflow as Be, useScrollOverflow as ye } from "./components/scroll-overflow/scroll-overflow.js";
|
|
32
|
+
import { Select as He, SelectContent as Ve, SelectGroup as Ee, SelectItem as _e, SelectLabel as Ne, SelectScrollDownButton as Ue, SelectScrollUpButton as je, SelectSeparator as qe, SelectTriggerClear as ze, SelectValue as Je } from "./components/select/select.js";
|
|
33
|
+
import { Toaster as Qe } from "./components/toast/toast.js";
|
|
34
|
+
import { Tooltip as Xe, TooltipContent as Ye, TooltipPortal as Ze, TooltipProvider as $e, TooltipTrigger as or } from "./components/tooltip/tooltip.js";
|
|
35
|
+
import { CollapsibleSidebar as rr, CollapsibleSidebarCondensed as tr, CollapsibleSidebarContent as ar, CollapsibleSidebarToggle as lr, useCollapsibleSidebar as ir } from "./components/collapsible-sidebar/collapsible-sidebar.js";
|
|
36
|
+
import { Field as pr, FieldContent as mr, FieldDescription as dr, FieldError as xr, FieldGroup as Cr, FieldGroupAddon as br, FieldInput as fr, FieldInputGroup as Dr, FieldLabel as ur, FieldLabelContent as sr, FieldSet as Tr, FieldTextarea as gr, fieldDescriptionVariants as cr, fieldVariants as Sr, inputGroupAddonVariants as Fr, useFieldContext as Pr } from "./components/field/field.js";
|
|
37
|
+
import { SelectTrigger as Ar } from "./components/field/field-select.js";
|
|
38
|
+
import { FieldCombobox as Ir, FieldComboboxClear as Gr, FieldComboboxClearValue as Or, FieldComboboxContent as kr, FieldComboboxEmpty as Mr, FieldComboboxGroup as vr, FieldComboboxGroupLabel as Rr, FieldComboboxInput as Br, FieldComboboxItem as yr, FieldComboboxItemCheckIcon as hr, FieldComboboxList as Hr, FieldComboboxLoading as Vr, FieldComboboxPlaceholder as Er, FieldComboboxSeparator as _r, FieldComboboxTrigger as Nr, FieldComboboxValue as Ur } from "./components/field/field-combobox.js";
|
|
39
|
+
import { List as qr, ListGroup as zr, ListGroupContent as Jr, ListGroupLabel as Kr, ListItem as Qr, ListItemActions as Wr, ListItemDescription as Xr, ListItemText as Yr } from "./components/list/list.js";
|
|
40
|
+
import { OptionCard as $r, OptionCardContent as ot, OptionCardControl as et, OptionCardDescription as rt, OptionCardGroup as tt, OptionCardMedia as at, OptionCardTitle as lt } from "./components/option-card/option-card.js";
|
|
41
|
+
import { SegmentedControl as nt, SegmentedControlItem as pt } from "./components/segmented-control/segmented-control.js";
|
|
42
|
+
import { DateTimePicker as dt } from "./components/date-time-picker/date-time-picker.js";
|
|
43
|
+
import { DateRangePicker as Ct } from "./components/date-range-picker/date-range-picker.js";
|
|
44
|
+
import { Text as ft } from "./components/text/text.js";
|
|
45
|
+
import { DataTable as ut } from "./components/data-table/data-table.js";
|
|
46
|
+
import { DataTableBody as Tt } from "./components/data-table/data-table-body.js";
|
|
47
|
+
import { DataTableContent as ct } from "./components/data-table/data-table-content.js";
|
|
48
|
+
import { DataTableHeader as Ft } from "./components/data-table/data-table-header.js";
|
|
49
|
+
import { DataTableLoading as wt } from "./components/data-table/data-table-loading.js";
|
|
50
|
+
import { DataTableError as Lt } from "./components/data-table/data-table-error.js";
|
|
51
|
+
import { DataTablePagination as Gt } from "./components/data-table/data-table-pagination.js";
|
|
52
|
+
import { DataTableToolbar as kt } from "./components/data-table/data-table-toolbar.js";
|
|
53
|
+
import { DataTableColumnVisibility as vt } from "./components/data-table/data-table-column-visibility.js";
|
|
54
|
+
import { DataTableColumnHeader as Bt } from "./components/data-table/data-table-column-header.js";
|
|
55
|
+
import { DataTableRow as ht } from "./components/data-table/data-table-row.js";
|
|
56
|
+
import { getSelectedRowData as Vt } from "./components/data-table/get-selected-row-data.js";
|
|
57
|
+
import { getPinnedColumnOffset as _t, isFirstRightPinnedColumn as Nt, isLastLeftPinnedColumn as Ut } from "./components/data-table/data-table-pinning-utils.js";
|
|
58
|
+
import { TablePagination as qt } from "./components/table/table-pagination.js";
|
|
59
|
+
import { calculatePagination as Jt, clampPage as Kt, getPageNumbers as Qt } from "./lib/pagination.js";
|
|
60
|
+
import { ClearButton as Xt } from "./lib/clear-button.js";
|
|
61
|
+
import { SLOT_ATTR as Zt } from "./packages/volt-runtime/dist/renderer/contract.js";
|
|
62
|
+
import { assertAnchorIsFirstInHead as oa } from "./packages/volt-runtime/dist/renderer/insertion-point.js";
|
|
63
|
+
import { mergeClasses as ra } from "./packages/volt-runtime/dist/vendor/@griffel/core/src/mergeClasses.js";
|
|
64
|
+
import { shorthands as aa } from "./packages/volt-runtime/dist/vendor/@griffel/core/src/index.js";
|
|
65
|
+
import { toast as ia } from "./vendor/sonner/dist/index.js";
|
|
66
|
+
import { DateTimePickerRoot as pa } from "./components/date-time-picker/date-time-picker-context.js";
|
|
67
|
+
import { DateTimePickerInput as da } from "./components/date-time-picker/date-time-picker-input.js";
|
|
68
|
+
import { DateTimePickerPopover as Ca } from "./components/date-time-picker/date-time-picker-popover.js";
|
|
69
|
+
import { DateTimePickerPanel as fa } from "./components/date-time-picker/date-time-picker-panel.js";
|
|
70
|
+
import { Calendar as ua } from "./components/date-time-picker/calendar.js";
|
|
71
|
+
import { TimePicker as Ta } from "./components/date-time-picker/time-picker.js";
|
|
72
|
+
import { RangeCalendar as ca } from "./components/date-range-picker/range-calendar.js";
|
|
73
|
+
import { useDataTable as Fa } from "./components/data-table/hooks/use-data-table.js";
|
|
74
|
+
import { useDataTableContent as wa } from "./components/data-table/hooks/use-data-table-content.js";
|
|
74
75
|
export {
|
|
75
76
|
Q as Accordion,
|
|
76
77
|
W as AccordionContent,
|
|
@@ -79,16 +80,16 @@ export {
|
|
|
79
80
|
Oo as AlertDialog,
|
|
80
81
|
ko as AlertDialogAction,
|
|
81
82
|
Mo as AlertDialogCancel,
|
|
82
|
-
|
|
83
|
-
|
|
83
|
+
vo as AlertDialogContent,
|
|
84
|
+
Ro as AlertDialogDescription,
|
|
84
85
|
Bo as AlertDialogFooter,
|
|
85
|
-
|
|
86
|
-
|
|
86
|
+
yo as AlertDialogHeader,
|
|
87
|
+
ho as AlertDialogOverlay,
|
|
87
88
|
Ho as AlertDialogPortal,
|
|
88
89
|
Vo as AlertDialogTitle,
|
|
89
90
|
Eo as AlertDialogTrigger,
|
|
90
91
|
Do as Avatar,
|
|
91
|
-
|
|
92
|
+
so as AvatarGroup,
|
|
92
93
|
d as BADGE_COLORS,
|
|
93
94
|
x as Badge,
|
|
94
95
|
b as Breadcrumb,
|
|
@@ -97,10 +98,10 @@ export {
|
|
|
97
98
|
eo as ButtonGroup,
|
|
98
99
|
ro as ButtonGroupSeparator,
|
|
99
100
|
to as ButtonGroupText,
|
|
100
|
-
|
|
101
|
+
ua as Calendar,
|
|
101
102
|
u as Callout,
|
|
102
|
-
|
|
103
|
-
|
|
103
|
+
s as CalloutAction,
|
|
104
|
+
T as CalloutDescription,
|
|
104
105
|
g as CalloutTitle,
|
|
105
106
|
S as Card,
|
|
106
107
|
F as CardAction,
|
|
@@ -110,135 +111,136 @@ export {
|
|
|
110
111
|
L as CardHeader,
|
|
111
112
|
I as CardTitle,
|
|
112
113
|
lo as Checkbox,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
No as
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
114
|
+
Xt as ClearButton,
|
|
115
|
+
rr as CollapsibleSidebar,
|
|
116
|
+
tr as CollapsibleSidebarCondensed,
|
|
117
|
+
ar as CollapsibleSidebarContent,
|
|
118
|
+
lr as CollapsibleSidebarToggle,
|
|
119
|
+
ut as DataTable,
|
|
120
|
+
Tt as DataTableBody,
|
|
121
|
+
Bt as DataTableColumnHeader,
|
|
122
|
+
vt as DataTableColumnVisibility,
|
|
123
|
+
ct as DataTableContent,
|
|
124
|
+
Lt as DataTableError,
|
|
125
|
+
Ft as DataTableHeader,
|
|
126
|
+
wt as DataTableLoading,
|
|
127
|
+
Gt as DataTablePagination,
|
|
128
|
+
ht as DataTableRow,
|
|
129
|
+
kt as DataTableToolbar,
|
|
130
|
+
Ct as DateRangePicker,
|
|
131
|
+
dt as DateTimePicker,
|
|
132
|
+
da as DateTimePickerInput,
|
|
133
|
+
fa as DateTimePickerPanel,
|
|
134
|
+
Ca as DateTimePickerPopover,
|
|
135
|
+
pa as DateTimePickerRoot,
|
|
136
|
+
No as DensityProvider,
|
|
137
|
+
qo as Dialog,
|
|
138
|
+
zo as DialogClose,
|
|
139
|
+
Jo as DialogContent,
|
|
140
|
+
Ko as DialogDescription,
|
|
141
|
+
Qo as DialogFooter,
|
|
142
|
+
Wo as DialogHeader,
|
|
143
|
+
Xo as DialogOverlay,
|
|
144
|
+
Yo as DialogPortal,
|
|
145
|
+
Zo as DialogTitle,
|
|
146
|
+
$o as DialogTrigger,
|
|
147
|
+
ee as Drawer,
|
|
148
|
+
re as DrawerClose,
|
|
149
|
+
te as DrawerContent,
|
|
150
|
+
ae as DrawerDescription,
|
|
151
|
+
le as DrawerFooter,
|
|
152
|
+
ie as DrawerHeader,
|
|
153
|
+
ne as DrawerOverlay,
|
|
154
|
+
pe as DrawerPortal,
|
|
155
|
+
me as DrawerTitle,
|
|
156
|
+
de as DrawerTrigger,
|
|
157
|
+
Ce as DropdownMenu,
|
|
158
|
+
be as DropdownMenuCheckboxItem,
|
|
159
|
+
fe as DropdownMenuContent,
|
|
160
|
+
De as DropdownMenuGroup,
|
|
161
|
+
ue as DropdownMenuItem,
|
|
162
|
+
se as DropdownMenuLabel,
|
|
163
|
+
Te as DropdownMenuPortal,
|
|
164
|
+
ge as DropdownMenuRadioGroup,
|
|
165
|
+
ce as DropdownMenuRadioItem,
|
|
166
|
+
Se as DropdownMenuSeparator,
|
|
167
|
+
Fe as DropdownMenuShortcut,
|
|
168
|
+
Pe as DropdownMenuSub,
|
|
169
|
+
we as DropdownMenuSubContent,
|
|
170
|
+
Ae as DropdownMenuSubTrigger,
|
|
171
|
+
Le as DropdownMenuTrigger,
|
|
172
|
+
pr as Field,
|
|
173
|
+
Ir as FieldCombobox,
|
|
174
|
+
Gr as FieldComboboxClear,
|
|
175
|
+
Or as FieldComboboxClearValue,
|
|
176
|
+
kr as FieldComboboxContent,
|
|
177
|
+
Mr as FieldComboboxEmpty,
|
|
178
|
+
vr as FieldComboboxGroup,
|
|
179
|
+
Rr as FieldComboboxGroupLabel,
|
|
180
|
+
Br as FieldComboboxInput,
|
|
181
|
+
yr as FieldComboboxItem,
|
|
182
|
+
hr as FieldComboboxItemCheckIcon,
|
|
183
|
+
Hr as FieldComboboxList,
|
|
184
|
+
Vr as FieldComboboxLoading,
|
|
185
|
+
Er as FieldComboboxPlaceholder,
|
|
186
|
+
_r as FieldComboboxSeparator,
|
|
187
|
+
Nr as FieldComboboxTrigger,
|
|
188
|
+
Ur as FieldComboboxValue,
|
|
189
|
+
mr as FieldContent,
|
|
190
|
+
dr as FieldDescription,
|
|
191
|
+
xr as FieldError,
|
|
192
|
+
Cr as FieldGroup,
|
|
193
|
+
br as FieldGroupAddon,
|
|
194
|
+
fr as FieldInput,
|
|
195
|
+
Dr as FieldInputGroup,
|
|
196
|
+
ur as FieldLabel,
|
|
197
|
+
sr as FieldLabelContent,
|
|
198
|
+
Tr as FieldSet,
|
|
199
|
+
gr as FieldTextarea,
|
|
198
200
|
no as Label,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
201
|
+
qr as List,
|
|
202
|
+
zr as ListGroup,
|
|
203
|
+
Jr as ListGroupContent,
|
|
204
|
+
Kr as ListGroupLabel,
|
|
205
|
+
Qr as ListItem,
|
|
206
|
+
Wr as ListItemActions,
|
|
207
|
+
Xr as ListItemDescription,
|
|
208
|
+
Yr as ListItemText,
|
|
209
|
+
$r as OptionCard,
|
|
210
|
+
ot as OptionCardContent,
|
|
211
|
+
et as OptionCardControl,
|
|
212
|
+
rt as OptionCardDescription,
|
|
213
|
+
tt as OptionCardGroup,
|
|
214
|
+
at as OptionCardMedia,
|
|
215
|
+
lt as OptionCardTitle,
|
|
214
216
|
O as PILL_COLORS,
|
|
215
217
|
k as Pill,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
218
|
+
Ge as Popover,
|
|
219
|
+
Oe as PopoverAnchor,
|
|
220
|
+
ke as PopoverContent,
|
|
221
|
+
Me as PopoverPortal,
|
|
222
|
+
ve as PopoverTrigger,
|
|
221
223
|
mo as RadioGroup,
|
|
222
224
|
xo as RadioGroupItem,
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
225
|
+
ca as RangeCalendar,
|
|
226
|
+
Zt as SLOT_ATTR,
|
|
227
|
+
Be as ScrollOverflow,
|
|
228
|
+
nt as SegmentedControl,
|
|
229
|
+
pt as SegmentedControlItem,
|
|
230
|
+
He as Select,
|
|
231
|
+
Ve as SelectContent,
|
|
232
|
+
Ee as SelectGroup,
|
|
233
|
+
_e as SelectItem,
|
|
234
|
+
Ne as SelectLabel,
|
|
235
|
+
Ue as SelectScrollDownButton,
|
|
236
|
+
je as SelectScrollUpButton,
|
|
237
|
+
qe as SelectSeparator,
|
|
238
|
+
Ar as SelectTrigger,
|
|
239
|
+
ze as SelectTriggerClear,
|
|
240
|
+
Je as SelectValue,
|
|
241
|
+
v as Separator,
|
|
240
242
|
B as Skeleton,
|
|
241
|
-
|
|
243
|
+
h as Spinner,
|
|
242
244
|
bo as Switch,
|
|
243
245
|
V as Table,
|
|
244
246
|
E as TableBody,
|
|
@@ -248,47 +250,48 @@ export {
|
|
|
248
250
|
j as TableFooter,
|
|
249
251
|
q as TableHead,
|
|
250
252
|
z as TableHeader,
|
|
251
|
-
|
|
253
|
+
qt as TablePagination,
|
|
252
254
|
J as TableRow,
|
|
253
255
|
go as Tabs,
|
|
254
256
|
co as TabsContent,
|
|
255
257
|
So as TabsList,
|
|
256
258
|
Fo as TabsTrigger,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
259
|
+
ft as Text,
|
|
260
|
+
Ta as TimePicker,
|
|
261
|
+
Qe as Toaster,
|
|
260
262
|
wo as Toggle,
|
|
261
263
|
Lo as ToggleGroup,
|
|
262
264
|
Io as ToggleGroupItem,
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
265
|
+
Xe as Tooltip,
|
|
266
|
+
Ye as TooltipContent,
|
|
267
|
+
Ze as TooltipPortal,
|
|
268
|
+
$e as TooltipProvider,
|
|
269
|
+
or as TooltipTrigger,
|
|
270
|
+
oa as assertAnchorIsFirstInHead,
|
|
271
|
+
Jt as calculatePagination,
|
|
272
|
+
Kt as clampPage,
|
|
271
273
|
t as ensureCoreTokens,
|
|
272
274
|
a as ensurePaletteTokens,
|
|
273
275
|
l as ensurePaletteTokensFor,
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
276
|
+
cr as fieldDescriptionVariants,
|
|
277
|
+
Sr as fieldVariants,
|
|
278
|
+
Qt as getPageNumbers,
|
|
279
|
+
_t as getPinnedColumnOffset,
|
|
280
|
+
Vt as getSelectedRowData,
|
|
281
|
+
Fr as inputGroupAddonVariants,
|
|
282
|
+
Nt as isFirstRightPinnedColumn,
|
|
283
|
+
Ut as isLastLeftPinnedColumn,
|
|
282
284
|
n as makeVoltResetStyles,
|
|
283
285
|
p as makeVoltStyles,
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
286
|
+
ra as mergeClasses,
|
|
287
|
+
aa as shorthands,
|
|
288
|
+
ia as toast,
|
|
287
289
|
o as tokens,
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
290
|
+
ir as useCollapsibleSidebar,
|
|
291
|
+
Fa as useDataTable,
|
|
292
|
+
wa as useDataTableContent,
|
|
293
|
+
Uo as useDensity,
|
|
294
|
+
Pr as useFieldContext,
|
|
295
|
+
ye as useScrollOverflow
|
|
293
296
|
};
|
|
294
297
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,16 +1,33 @@
|
|
|
1
1
|
import { TOKENS_ATTR as s } from "./renderer/contract.js";
|
|
2
2
|
import { ensureInsertionPoint as u } from "./renderer/insertion-point.js";
|
|
3
|
-
import { GRIFFEL_CLASS_SALT as
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
3
|
+
import { GRIFFEL_CLASS_SALT as d } from "./class-salt.generated.js";
|
|
4
|
+
let f = /* @__PURE__ */ new WeakMap();
|
|
5
|
+
function w(t, e, c) {
|
|
6
|
+
let n = f.get(t);
|
|
7
|
+
n || (n = /* @__PURE__ */ new Map(), f.set(t, n));
|
|
8
|
+
const o = n.get(e);
|
|
9
|
+
if (o) {
|
|
10
|
+
if (o.isConnected && o.ownerDocument === t && t.contains(o) && o.getAttribute(s) === e)
|
|
11
|
+
return !1;
|
|
12
|
+
n.delete(e);
|
|
13
|
+
}
|
|
14
|
+
const a = t.querySelector(`[${s}="${e}"]`);
|
|
15
|
+
if (a !== null)
|
|
16
|
+
return n.set(e, a), !1;
|
|
17
|
+
const r = t.createElement("style");
|
|
18
|
+
r.setAttribute(s, e), r.setAttribute("data-volt2-owner", d), r.textContent = c;
|
|
19
|
+
const l = u(t), i = l.parentNode;
|
|
20
|
+
if (!i)
|
|
21
|
+
throw new Error(
|
|
22
|
+
`Failed to insert stylesheet [${s}="${e}"]: insertion anchor has no parentNode`
|
|
23
|
+
);
|
|
24
|
+
if (i.insertBefore(r, l.nextSibling), r.parentNode !== i || !t.contains(r))
|
|
25
|
+
throw new Error(
|
|
26
|
+
`Failed to insert stylesheet [${s}="${e}"]: element insertion failed or element detached`
|
|
27
|
+
);
|
|
28
|
+
return n.set(e, r), !0;
|
|
12
29
|
}
|
|
13
30
|
export {
|
|
14
|
-
|
|
31
|
+
w as ensureSheet
|
|
15
32
|
};
|
|
16
33
|
//# sourceMappingURL=sheet.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sheet.js","sources":["../../../../../volt-runtime/dist/sheet.js"],"sourcesContent":["import { TOKENS_ATTR as
|
|
1
|
+
{"version":3,"file":"sheet.js","sources":["../../../../../volt-runtime/dist/sheet.js"],"sourcesContent":["import { TOKENS_ATTR as i } from \"./renderer/contract.js\";\nimport { ensureInsertionPoint as u } from \"./renderer/insertion-point.js\";\nimport { GRIFFEL_CLASS_SALT as p } from \"./class-salt.generated.js\";\nlet l = /* @__PURE__ */ new WeakMap();\nfunction S() {\n l = /* @__PURE__ */ new WeakMap();\n}\nfunction A(t, e, c) {\n let n = l.get(t);\n n || (n = /* @__PURE__ */ new Map(), l.set(t, n));\n const o = n.get(e);\n if (o) {\n if (o.isConnected && o.ownerDocument === t && t.contains(o) && o.getAttribute(i) === e)\n return !1;\n n.delete(e);\n }\n const a = t.querySelector(`[${i}=\"${e}\"]`);\n if (a !== null)\n return n.set(e, a), !1;\n const r = t.createElement(\"style\");\n r.setAttribute(i, e), r.setAttribute(\"data-volt2-owner\", p), r.textContent = c;\n const f = u(t), s = f.parentNode;\n if (!s)\n throw new Error(\n `Failed to insert stylesheet [${i}=\"${e}\"]: insertion anchor has no parentNode`\n );\n if (s.insertBefore(r, f.nextSibling), r.parentNode !== s || !t.contains(r))\n throw new Error(\n `Failed to insert stylesheet [${i}=\"${e}\"]: element insertion failed or element detached`\n );\n return n.set(e, r), !0;\n}\nexport {\n S as __resetInstalledSheets,\n A as ensureSheet\n};\n//# sourceMappingURL=sheet.js.map\n"],"names":["l","A","i","p","f","u","s"],"mappings":";;;AAGA,IAAIA,IAAoB,oBAAI,QAAO;AAInC,SAASC,EAAE,GAAG,GAAG,GAAG;AAClB,MAAI,IAAID,EAAE,IAAI,CAAC;AACf,QAAM,IAAoB,oBAAI,IAAG,GAAIA,EAAE,IAAI,GAAG,CAAC;AAC/C,QAAM,IAAI,EAAE,IAAI,CAAC;AACjB,MAAI,GAAG;AACL,QAAI,EAAE,eAAe,EAAE,kBAAkB,KAAK,EAAE,SAAS,CAAC,KAAK,EAAE,aAAaE,CAAC,MAAM;AACnF,aAAO;AACT,MAAE,OAAO,CAAC;AAAA,EACZ;AACA,QAAM,IAAI,EAAE,cAAc,IAAIA,CAAC,KAAK,CAAC,IAAI;AACzC,MAAI,MAAM;AACR,WAAO,EAAE,IAAI,GAAG,CAAC,GAAG;AACtB,QAAM,IAAI,EAAE,cAAc,OAAO;AACjC,IAAE,aAAaA,GAAG,CAAC,GAAG,EAAE,aAAa,oBAAoBC,CAAC,GAAG,EAAE,cAAc;AAC7E,QAAMC,IAAIC,EAAE,CAAC,GAAGC,IAAIF,EAAE;AACtB,MAAI,CAACE;AACH,UAAM,IAAI;AAAA,MACR,gCAAgCJ,CAAC,KAAK,CAAC;AAAA,IAC7C;AACE,MAAII,EAAE,aAAa,GAAGF,EAAE,WAAW,GAAG,EAAE,eAAeE,KAAK,CAAC,EAAE,SAAS,CAAC;AACvE,UAAM,IAAI;AAAA,MACR,gCAAgCJ,CAAC,KAAK,CAAC;AAAA,IAC7C;AACE,SAAO,EAAE,IAAI,GAAG,CAAC,GAAG;AACtB;"}
|