@caligo-ui/core 1.0.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +137 -0
- package/README.md +6 -5
- package/agent/caligo.json +648 -41
- package/dist/css/Accordion.css +6 -0
- package/dist/css/AccordionSummary.css +2 -0
- package/dist/css/Alert.css +8 -0
- package/dist/css/AppBar.css +2 -0
- package/dist/css/Avatar.css +4 -0
- package/dist/css/AvatarGroup.css +6 -0
- package/dist/css/Badge.css +6 -0
- package/dist/css/Breadcrumb.css +2 -0
- package/dist/css/Breadcrumbs.css +2 -0
- package/dist/css/Button.css +2 -0
- package/dist/css/ButtonGroup.css +4 -0
- package/dist/css/Card.css +4 -0
- package/dist/css/Checkbox.css +2 -0
- package/dist/css/Chip.css +4 -0
- package/dist/css/CircularProgress.css +2 -0
- package/dist/css/Collapse.css +2 -0
- package/dist/css/Collapsible.css +8 -0
- package/dist/css/Container.css +2 -0
- package/dist/css/Dialog.css +2 -0
- package/dist/css/Divider.css +2 -0
- package/dist/css/Drawer.css +2 -0
- package/dist/css/ErrorPanel.css +6 -0
- package/dist/css/FormControl.css +2 -0
- package/dist/css/FormControlLabel.css +2 -0
- package/dist/css/FormGroup.css +2 -0
- package/dist/css/FormHelperText.css +2 -0
- package/dist/css/FormLabel.css +2 -0
- package/dist/css/Grid.css +2 -0
- package/dist/css/Icon.css +4 -0
- package/dist/css/IconButton.css +4 -0
- package/dist/css/InputAdornment.css +2 -0
- package/dist/css/InputBase.css +2 -0
- package/dist/css/InputGroup.css +12 -0
- package/dist/css/Label.css +2 -0
- package/dist/css/LicenseInfo.css +2 -0
- package/dist/css/LinearProgress.css +2 -0
- package/dist/css/Link.css +2 -0
- package/dist/css/List.css +2 -0
- package/dist/css/ListItem.css +6 -0
- package/dist/css/ListItemAvatar.css +2 -0
- package/dist/css/ListItemButton.css +2 -0
- package/dist/css/ListItemIcon.css +4 -0
- package/dist/css/ListItemText.css +4 -0
- package/dist/css/ListSubheader.css +2 -0
- package/dist/css/Menu.css +2 -0
- package/dist/css/MenuItem.css +2 -0
- package/dist/css/MenuList.css +6 -0
- package/dist/css/NotificationBadge.css +6 -0
- package/dist/css/Pagination.css +6 -0
- package/dist/css/PaginationItem.css +4 -0
- package/dist/css/Paper.css +2 -0
- package/dist/css/Popover.css +2 -0
- package/dist/css/PreviewCard.css +4 -0
- package/dist/css/Progress.css +4 -0
- package/dist/css/Radio.css +2 -0
- package/dist/css/RadioGroup.css +2 -0
- package/dist/css/ScrollArea.css +2 -0
- package/dist/css/Select.css +10 -0
- package/dist/css/Separator.css +2 -0
- package/dist/css/Sheet.css +2 -0
- package/dist/css/Skeleton.css +2 -0
- package/dist/css/Slider.css +2 -0
- package/dist/css/Snackbar.css +4 -0
- package/dist/css/SnackbarContent.css +2 -0
- package/dist/css/Spinner.css +2 -0
- package/dist/css/Stack.css +2 -0
- package/dist/css/Switch.css +2 -0
- package/dist/css/Tab.css +2 -0
- package/dist/css/Table.css +2 -0
- package/dist/css/TableBody.css +2 -0
- package/dist/css/TableCell.css +2 -0
- package/dist/css/TableContainer.css +2 -0
- package/dist/css/TableFooter.css +2 -0
- package/dist/css/TableHead.css +2 -0
- package/dist/css/TableRow.css +2 -0
- package/dist/css/TableSortLabel.css +2 -0
- package/dist/css/Tabs.css +2 -0
- package/dist/css/Tag.css +4 -0
- package/dist/css/TextField.css +10 -0
- package/dist/css/Toast.css +4 -0
- package/dist/css/ToggleButton.css +2 -0
- package/dist/css/ToggleButtonGroup.css +2 -0
- package/dist/css/ToggleGroup.css +2 -0
- package/dist/css/Toolbar.css +2 -0
- package/dist/css/Tooltip.css +2 -0
- package/dist/css/Typography.css +2 -0
- package/dist/css/VirtualList.css +2 -0
- package/dist/esm/Alert/Alert.css +1 -1
- package/dist/esm/Alert/Alert2.js +2 -0
- package/dist/esm/Alert/Alert2.js.map +1 -1
- package/dist/esm/Avatar/Avatar.css +1 -1
- package/dist/esm/Avatar/Avatar2.js +33 -39
- package/dist/esm/Avatar/Avatar2.js.map +1 -1
- package/dist/esm/Breadcrumbs/Breadcrumbs.css +1 -1
- package/dist/esm/Button/Button.css +1 -1
- package/dist/esm/Button/Button2.js +36 -36
- package/dist/esm/Button/Button2.js.map +1 -1
- package/dist/esm/Button/buttonClasses.js +1 -1
- package/dist/esm/Button/buttonClasses.js.map +1 -1
- package/dist/esm/Card/Card.css +1 -1
- package/dist/esm/Checkbox/Checkbox.css +1 -1
- package/dist/esm/Chip/Chip.css +1 -1
- package/dist/esm/Chip/Chip2.js +30 -53
- package/dist/esm/Chip/Chip2.js.map +1 -1
- package/dist/esm/Dialog/Dialog.css +1 -1
- package/dist/esm/Dialog/Dialog2.js.map +1 -1
- package/dist/esm/Drawer/Drawer.css +1 -1
- package/dist/esm/FormLabel/FormLabel.css +1 -1
- package/dist/esm/IconButton/IconButton.css +1 -1
- package/dist/esm/IconButton/IconButton2.js +9 -8
- package/dist/esm/IconButton/IconButton2.js.map +1 -1
- package/dist/esm/InputBase/InputBase.js +52 -0
- package/dist/esm/InputBase/InputBase.js.map +1 -0
- package/dist/esm/InputBase/index.js +1 -0
- package/dist/esm/List/List.css +1 -1
- package/dist/esm/Menu/Menu.css +1 -1
- package/dist/esm/MenuItem/MenuItem.css +1 -1
- package/dist/esm/Paper/Paper.css +1 -1
- package/dist/esm/Popover/Popover.css +1 -1
- package/dist/esm/Radio/Radio.css +1 -1
- package/dist/esm/Radio/Radio2.js +74 -45
- package/dist/esm/Radio/Radio2.js.map +1 -1
- package/dist/esm/RadioGroup/RadioGroup.js +29 -22
- package/dist/esm/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/esm/RadioGroup/radioGroupContext.js.map +1 -1
- package/dist/esm/ScrollArea/ScrollArea.css +1 -0
- package/dist/esm/ScrollArea/ScrollArea2.js +25 -0
- package/dist/esm/ScrollArea/ScrollArea2.js.map +1 -0
- package/dist/esm/ScrollArea/index.js +1 -0
- package/dist/esm/Select/Select.css +1 -1
- package/dist/esm/Snackbar/Snackbar.css +1 -1
- package/dist/esm/Switch/Switch.css +1 -1
- package/dist/esm/Switch/Switch2.js +47 -42
- package/dist/esm/Switch/Switch2.js.map +1 -1
- package/dist/esm/Tab/Tab.css +1 -1
- package/dist/esm/Tab/Tab2.js +29 -24
- package/dist/esm/Tab/Tab2.js.map +1 -1
- package/dist/esm/Table/Table.css +1 -1
- package/dist/esm/TableCell/TableCell.js +6 -6
- package/dist/esm/TableCell/TableCell.js.map +1 -1
- package/dist/esm/Tabs/Tabs.css +1 -1
- package/dist/esm/TextField/TextField.css +1 -1
- package/dist/esm/TextField/TextField2.js +106 -86
- package/dist/esm/TextField/TextField2.js.map +1 -1
- package/dist/esm/TextField/textFieldClasses.js +2 -0
- package/dist/esm/TextField/textFieldClasses.js.map +1 -1
- package/dist/esm/ToggleButton/ToggleButton.css +1 -1
- package/dist/esm/Toolbar/Toolbar.css +1 -1
- package/dist/esm/Tooltip/Tooltip.css +1 -1
- package/dist/esm/Tooltip/Tooltip2.js +50 -33
- package/dist/esm/Tooltip/Tooltip2.js.map +1 -1
- package/dist/esm/Typography/Typography.css +1 -1
- package/dist/esm/caligo.css +1 -1
- package/dist/esm/index.js +65 -63
- package/dist/esm/internal/glyphs.js +5 -0
- package/dist/esm/internal/glyphs.js.map +1 -1
- package/dist/esm/internal/hues.js +23 -0
- package/dist/esm/internal/hues.js.map +1 -0
- package/dist/esm/internal/inputEvent.js +22 -0
- package/dist/esm/internal/inputEvent.js.map +1 -0
- package/dist/esm/internal/releaseInfo.js +1 -1
- package/dist/esm/internal/releaseInfo.js.map +1 -1
- package/dist/esm/mui/index.js.map +1 -1
- package/dist/esm/mui/themeValues.js +106 -0
- package/dist/esm/mui/themeValues.js.map +1 -1
- package/dist/esm/parts/Breadcrumb.js +68 -0
- package/dist/esm/parts/Breadcrumb.js.map +1 -0
- package/dist/esm/parts/Combobox.js +171 -0
- package/dist/esm/parts/Combobox.js.map +1 -0
- package/dist/esm/parts/ContextMenu.js +17 -17
- package/dist/esm/parts/ContextMenu.js.map +1 -1
- package/dist/esm/parts/Menu.js +105 -24
- package/dist/esm/parts/Menu.js.map +1 -1
- package/dist/esm/parts/Select.js +120 -0
- package/dist/esm/parts/Select.js.map +1 -0
- package/dist/esm/parts/Toast.js +95 -0
- package/dist/esm/parts/Toast.js.map +1 -0
- package/dist/esm/parts/Toolbar.js +100 -0
- package/dist/esm/parts/Toolbar.js.map +1 -0
- package/dist/esm/parts/Tooltip.js +20 -8
- package/dist/esm/parts/Tooltip.js.map +1 -1
- package/dist/esm/parts/index.js +156 -87
- package/dist/esm/parts/index.js.map +1 -1
- package/dist/global/caligo-ui.css +1 -1
- package/dist/global/caligo-ui.js +1 -1
- package/dist/global/caligo-ui.js.map +1 -1
- package/dist/types/Alert/Alert.d.ts +7 -2
- package/dist/types/Avatar/Avatar.d.ts +38 -3
- package/dist/types/Button/Button.d.ts +9 -2
- package/dist/types/Button/buttonClasses.d.ts +2 -0
- package/dist/types/Chip/Chip.d.ts +21 -0
- package/dist/types/Dialog/Dialog.d.ts +1 -0
- package/dist/types/IconButton/IconButton.d.ts +6 -0
- package/dist/types/InputBase/InputBase.d.ts +64 -0
- package/dist/types/InputBase/index.d.ts +2 -0
- package/dist/types/Radio/Radio.d.ts +5 -3
- package/dist/types/RadioGroup/RadioGroup.d.ts +4 -2
- package/dist/types/RadioGroup/radioGroupContext.d.ts +6 -2
- package/dist/types/ScrollArea/ScrollArea.d.ts +28 -0
- package/dist/types/ScrollArea/index.d.ts +2 -0
- package/dist/types/Switch/Switch.d.ts +4 -3
- package/dist/types/Tab/Tab.d.ts +7 -0
- package/dist/types/TableCell/TableCell.d.ts +6 -0
- package/dist/types/TextField/TextField.d.ts +11 -0
- package/dist/types/TextField/textFieldClasses.d.ts +4 -0
- package/dist/types/Tooltip/Tooltip.d.ts +20 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/internal/glyphs.d.ts +1 -0
- package/dist/types/internal/hues.d.ts +10 -0
- package/dist/types/internal/inputEvent.d.ts +13 -0
- package/dist/types/internal/releaseInfo.d.ts +1 -1
- package/dist/types/mui/index.d.ts +2 -0
- package/dist/types/mui/themeValues.d.ts +106 -0
- package/dist/types/parts/Breadcrumb.d.ts +24 -0
- package/dist/types/parts/Combobox.d.ts +88 -0
- package/dist/types/parts/ContextMenu.d.ts +2 -2
- package/dist/types/parts/Menu.d.ts +44 -0
- package/dist/types/parts/Select.d.ts +72 -0
- package/dist/types/parts/Toast.d.ts +46 -0
- package/dist/types/parts/Toolbar.d.ts +47 -0
- package/dist/types/parts/Tooltip.d.ts +6 -0
- package/dist/types/parts/index.d.ts +95 -4
- package/package.json +13 -2
package/dist/esm/index.js
CHANGED
|
@@ -47,66 +47,68 @@ import { Grid as Ge } from "./Grid/Grid2.js";
|
|
|
47
47
|
import { icons as Ke } from "./Icon/icons.js";
|
|
48
48
|
import { Icon as qe, getIconUtilityClass as Je, iconClasses as Ye } from "./Icon/Icon2.js";
|
|
49
49
|
import { InputAdornment as Xe, getInputAdornmentUtilityClass as Ze, inputAdornmentClasses as Qe } from "./InputAdornment/InputAdornment2.js";
|
|
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 {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
|
|
50
|
+
import { InputBase as $e, getInputBaseUtilityClass as et, inputBaseClasses as tt } from "./InputBase/InputBase.js";
|
|
51
|
+
import { useVirtualizer as nt } from "./VirtualList/useVirtualizer.js";
|
|
52
|
+
import { Select as rt, getSelectUtilityClass as it, selectClasses as at } from "./Select/Select2.js";
|
|
53
|
+
import { getTextFieldUtilityClass as ot, textFieldClasses as st } from "./TextField/textFieldClasses.js";
|
|
54
|
+
import { TextField as ct } from "./TextField/TextField2.js";
|
|
55
|
+
import { InputGroup as lt } from "./InputGroup/InputGroup.js";
|
|
56
|
+
import { Label as ut } from "./Label/Label.js";
|
|
57
|
+
import { LICENSE_CODES as dt, LicenseInfo as ft, verifyLicenseKey as pt } from "./internal/license.js";
|
|
58
|
+
import { LicenseNotice as mt, useLicense as ht, useLicenseStatus as gt } from "./LicenseInfo/LicenseInfo2.js";
|
|
59
|
+
import { LinearProgress as _t, getLinearProgressUtilityClass as vt, linearProgressClasses as yt } from "./LinearProgress/LinearProgress2.js";
|
|
60
|
+
import { Link as bt, getLinkUtilityClass as xt, linkClasses as St } from "./Link/Link2.js";
|
|
61
|
+
import { List as Ct } from "./List/List2.js";
|
|
62
|
+
import { ListItemButton as wt } from "./ListItemButton/ListItemButton.js";
|
|
63
|
+
import { ListItem as Tt } from "./ListItem/ListItem.js";
|
|
64
|
+
import { ListItemAvatar as Et } from "./ListItemAvatar/ListItemAvatar.js";
|
|
65
|
+
import { ListItemIcon as Dt, getListItemIconUtilityClass as Ot, listItemIconClasses as kt } from "./ListItemIcon/ListItemIcon2.js";
|
|
66
|
+
import { ListItemText as At, getListItemTextUtilityClass as jt, listItemTextClasses as Mt } from "./ListItemText/ListItemText2.js";
|
|
67
|
+
import { ListSubheader as Nt } from "./ListSubheader/ListSubheader.js";
|
|
68
|
+
import { Menu as Pt, getMenuUtilityClass as Ft, menuClasses as It } from "./Menu/Menu2.js";
|
|
69
|
+
import { MenuItem as Lt, getMenuItemUtilityClass as Rt, menuItemClasses as zt } from "./MenuItem/MenuItem2.js";
|
|
70
|
+
import { MenuList as Bt, getMenuListUtilityClass as Vt, menuListClasses as Ht } from "./MenuList/MenuList2.js";
|
|
71
|
+
import { NotificationBadge as Ut } from "./NotificationBadge/NotificationBadge.js";
|
|
72
|
+
import { PaginationItem as Wt, getPaginationItemUtilityClass as Gt, paginationItemClasses as Kt } from "./PaginationItem/PaginationItem2.js";
|
|
73
|
+
import { paginationItems as qt } from "./Pagination/usePagination.js";
|
|
74
|
+
import { Pagination as Jt, getPaginationUtilityClass as Yt, paginationClasses as Xt } from "./Pagination/Pagination2.js";
|
|
75
|
+
import { Popover as Zt, getPopoverUtilityClass as Qt, popoverClasses as $t } from "./Popover/Popover2.js";
|
|
76
|
+
import { PreviewCard as en, getPreviewCardUtilityClass as tn, previewCardClasses as nn } from "./PreviewCard/PreviewCard2.js";
|
|
77
|
+
import { Progress as rn } from "./Progress/Progress.js";
|
|
78
|
+
import { RadioGroupContext as an } from "./RadioGroup/radioGroupContext.js";
|
|
79
|
+
import { Radio as on, getRadioUtilityClass as sn, radioClasses as cn } from "./Radio/Radio2.js";
|
|
80
|
+
import { RadioGroup as ln } from "./RadioGroup/RadioGroup.js";
|
|
81
|
+
import { ScrollArea as un } from "./ScrollArea/ScrollArea2.js";
|
|
82
|
+
import { Separator as dn } from "./Separator/Separator.js";
|
|
83
|
+
import { Sheet as fn } from "./Sheet/Sheet.js";
|
|
84
|
+
import { Skeleton as pn, getSkeletonUtilityClass as mn, skeletonClasses as hn } from "./Skeleton/Skeleton2.js";
|
|
85
|
+
import { Slider as gn, getSliderUtilityClass as _n, sliderClasses as vn } from "./Slider/Slider2.js";
|
|
86
|
+
import { SnackbarContent as yn, getSnackbarContentUtilityClass as bn, snackbarContentClasses as xn } from "./SnackbarContent/SnackbarContent2.js";
|
|
87
|
+
import { Snackbar as Sn, getSnackbarUtilityClass as Cn, snackbarClasses as wn } from "./Snackbar/Snackbar2.js";
|
|
88
|
+
import { Spinner as Tn } from "./Spinner/Spinner.js";
|
|
89
|
+
import { Stack as En } from "./Stack/Stack2.js";
|
|
90
|
+
import { Switch as Dn, getSwitchUtilityClass as On, switchClasses as kn } from "./Switch/Switch2.js";
|
|
91
|
+
import { Tab as An, getTabUtilityClass as jn, tabClasses as Mn } from "./Tab/Tab2.js";
|
|
92
|
+
import { TableContext as Nn, TableHeadContext as Pn } from "./TableCell/tableContext.js";
|
|
93
|
+
import { Table as Fn } from "./Table/Table2.js";
|
|
94
|
+
import { TableBody as In } from "./TableBody/TableBody.js";
|
|
95
|
+
import { TableCell as Ln } from "./TableCell/TableCell.js";
|
|
96
|
+
import { TableContainer as Rn } from "./TableContainer/TableContainer.js";
|
|
97
|
+
import { TableFooter as zn } from "./TableFooter/TableFooter.js";
|
|
98
|
+
import { TableHead as Bn } from "./TableHead/TableHead.js";
|
|
99
|
+
import { TableRow as Vn } from "./TableRow/TableRow.js";
|
|
100
|
+
import { TableSortLabel as Hn } from "./TableSortLabel/TableSortLabel.js";
|
|
101
|
+
import { TabPanel as Un } from "./TabPanel/TabPanel.js";
|
|
102
|
+
import { Tabs as Wn, getTabsUtilityClass as Gn, tabsClasses as Kn } from "./Tabs/Tabs2.js";
|
|
103
|
+
import { Tag as qn } from "./Tag/Tag.js";
|
|
104
|
+
import { Toast as Jn } from "./Toast/Toast.js";
|
|
105
|
+
import { ToggleButton as Yn, getToggleButtonUtilityClass as Xn, toggleButtonClasses as Zn } from "./ToggleButton/ToggleButton2.js";
|
|
106
|
+
import { ToggleButtonGroup as Qn, getToggleButtonGroupUtilityClass as $n, toggleButtonGroupClasses as er } from "./ToggleButtonGroup/ToggleButtonGroup2.js";
|
|
107
|
+
import { ToggleGroup as tr } from "./ToggleGroup/ToggleGroup.js";
|
|
108
|
+
import { Toolbar as nr, getToolbarUtilityClass as rr, toolbarClasses as ir } from "./Toolbar/Toolbar2.js";
|
|
109
|
+
import { getTooltipUtilityClass as ar, tooltipClasses as or } from "./Tooltip/tooltipClasses.js";
|
|
110
|
+
import { Tooltip as sr } from "./Tooltip/Tooltip2.js";
|
|
111
|
+
import { Typography as cr } from "./Typography/Typography2.js";
|
|
112
|
+
import { VirtualList as lr, getVirtualListUtilityClass as ur, virtualListClasses as dr } from "./VirtualList/VirtualList2.js";
|
|
113
|
+
import { enUS as fr } from "./locale/enUS.js";
|
|
114
|
+
export { d as Accordion, m as AccordionActions, c as AccordionDetails, l as AccordionSummary, x as Alert, v as AlertTitle, w as AppBar, D as Avatar, A as AvatarGroup, I as Badge, H as Breadcrumb, z as Breadcrumbs, s as Button, U as ButtonGroup, K as CaligoProvider, ee as Card, te as CardActionArea, ne as CardActions, Y as CardContent, X as CardHeader, re as CardMedia, ie as CardSection, ce as Checkbox, N as Chip, le as CircularProgress, u as Collapse, fe as Collapsible, pe as Container, ge as Dialog, _e as DialogActions, ve as DialogContent, ye as DialogContentText, be as DialogTitle, xe as Divider, we as Drawer, De as ErrorPanel, Ae as FormControl, Ne as FormControlLabel, Ie as FormGroup, ze as FormHelperText, He as FormLabel, Ge as Grid, qe as Icon, h as IconButton, Xe as InputAdornment, $e as InputBase, lt as InputGroup, dt as LICENSE_CODES, ut as Label, ft as LicenseInfo, mt as LicenseNotice, _t as LinearProgress, bt as Link, Ct as List, Tt as ListItem, Et as ListItemAvatar, wt as ListItemButton, Dt as ListItemIcon, At as ListItemText, Nt as ListSubheader, Pt as Menu, Lt as MenuItem, Bt as MenuList, Ut as NotificationBadge, Jt as Pagination, Wt as PaginationItem, Z as Paper, Zt as Popover, en as PreviewCard, rn as Progress, on as Radio, ln as RadioGroup, an as RadioGroupContext, un as ScrollArea, rt as Select, dn as Separator, fn as Sheet, pn as Skeleton, gn as Slider, Sn as Snackbar, yn as SnackbarContent, Tn as Spinner, En as Stack, Dn as Switch, An as Tab, Un as TabPanel, Fn as Table, In as TableBody, Ln as TableCell, Rn as TableContainer, Nn as TableContext, zn as TableFooter, Bn as TableHead, Pn as TableHeadContext, Vn as TableRow, Hn as TableSortLabel, Wn as Tabs, qn as Tag, ct as TextField, Jn as Toast, Yn as ToggleButton, Qn as ToggleButtonGroup, tr as ToggleGroup, nr as Toolbar, sr as Tooltip, cr as Typography, lr as VirtualList, f as accordionClasses, S as alertClasses, y as alertTitleClasses, T as appBarClasses, O as avatarClasses, j as avatarGroupClasses, L as badgeClasses, B as breadcrumbsClasses, a as buttonClasses, W as buttonGroupClasses, oe as checkboxClasses, P as chipClasses, ue as circularProgressClasses, n as composeClasses, me as dialogClasses, Se as dividerClasses, Te as drawerClasses, fr as enUS, Oe as errorPanelClasses, je as formControlClasses, Pe as formControlLabelClasses, Le as formGroupClasses, Be as formHelperTextClasses, Ue as formLabelClasses, r as generateUtilityClass, i as generateUtilityClasses, p as getAccordionUtilityClass, b as getAlertTitleUtilityClass, C as getAlertUtilityClass, E as getAppBarUtilityClass, M as getAvatarGroupUtilityClass, k as getAvatarUtilityClass, R as getBadgeUtilityClass, V as getBreadcrumbsUtilityClass, G as getButtonGroupUtilityClass, o as getButtonUtilityClass, se as getCheckboxUtilityClass, F as getChipUtilityClass, de as getCircularProgressUtilityClass, he as getDialogUtilityClass, Ce as getDividerUtilityClass, Ee as getDrawerUtilityClass, ke as getErrorPanelUtilityClass, Fe as getFormControlLabelUtilityClass, Me as getFormControlUtilityClass, Re as getFormGroupUtilityClass, Ve as getFormHelperTextUtilityClass, We as getFormLabelUtilityClass, g as getIconButtonUtilityClass, Je as getIconUtilityClass, Ze as getInputAdornmentUtilityClass, et as getInputBaseUtilityClass, vt as getLinearProgressUtilityClass, xt as getLinkUtilityClass, Ot as getListItemIconUtilityClass, jt as getListItemTextUtilityClass, Rt as getMenuItemUtilityClass, Vt as getMenuListUtilityClass, Ft as getMenuUtilityClass, Gt as getPaginationItemUtilityClass, Yt as getPaginationUtilityClass, Q as getPaperUtilityClass, Qt as getPopoverUtilityClass, tn as getPreviewCardUtilityClass, sn as getRadioUtilityClass, it as getSelectUtilityClass, mn as getSkeletonUtilityClass, _n as getSliderUtilityClass, bn as getSnackbarContentUtilityClass, Cn as getSnackbarUtilityClass, On as getSwitchUtilityClass, jn as getTabUtilityClass, Gn as getTabsUtilityClass, ot as getTextFieldUtilityClass, $n as getToggleButtonGroupUtilityClass, Xn as getToggleButtonUtilityClass, rr as getToolbarUtilityClass, ar as getTooltipUtilityClass, ur as getVirtualListUtilityClass, _ as iconButtonClasses, Ye as iconClasses, Ke as icons, Qe as inputAdornmentClasses, tt as inputBaseClasses, yt as linearProgressClasses, St as linkClasses, kt as listItemIconClasses, Mt as listItemTextClasses, It as menuClasses, zt as menuItemClasses, Ht as menuListClasses, Xt as paginationClasses, Kt as paginationItemClasses, qt as paginationItems, $ as paperClasses, $t as popoverClasses, nn as previewCardClasses, cn as radioClasses, at as selectClasses, hn as skeletonClasses, vn as sliderClasses, wn as snackbarClasses, xn as snackbarContentClasses, kn as switchClasses, Mn as tabClasses, Kn as tabsClasses, st as textFieldClasses, Zn as toggleButtonClasses, er as toggleButtonGroupClasses, ir as toolbarClasses, or as tooltipClasses, e as useCaligo, t as useDefaultProps, ae as useFormControl, ht as useLicense, gt as useLicenseStatus, q as useMediaQuery, J as useTheme, nt as useVirtualizer, pt as verifyLicenseKey, dr as virtualListClasses };
|
|
@@ -20,6 +20,11 @@ var r = {
|
|
|
20
20
|
"chevron-down": ["M6 9l6 6l6 -6"],
|
|
21
21
|
"chevron-left": ["M15 6l-6 6l6 6"],
|
|
22
22
|
"chevron-right": ["M9 6l6 6l-6 6"],
|
|
23
|
+
"external-link": [
|
|
24
|
+
"M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",
|
|
25
|
+
"M11 13l9 -9",
|
|
26
|
+
"M15 4h5v5"
|
|
27
|
+
],
|
|
23
28
|
"chevrons-left": ["M11 7l-5 5l5 5", "M17 7l-5 5l5 5"],
|
|
24
29
|
"chevrons-right": ["M7 7l5 5l-5 5", "M13 7l5 5l-5 5"],
|
|
25
30
|
star: ["M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z"],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glyphs.js","names":["paths","Glyph","DIRECTIONAL_ICONS","name","className","d","Spinner"],"sources":["../../../src/internal/glyphs.tsx"],"sourcesContent":["import * as React from 'react';\nimport { DIRECTIONAL_ICONS } from './direction';\nimport './rtl.css';\n\n/**\n * The few Tabler icons that components draw themselves, so they don't import the full icon map.\n * Same 24×24 stroke style as Icon.\n */\nconst paths = {\n eye: ['M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0', 'M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6'],\n 'eye-off': ['M10.585 10.587a2 2 0 0 0 2.829 2.828', 'M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87', 'M3 3l18 18'],\n search: ['M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0', 'M21 21l-6 -6'],\n copy: ['M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z', 'M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1'],\n check: ['M5 12l5 5l10 -10'],\n plus: ['M12 5l0 14', 'M5 12l14 0'],\n minus: ['M5 12l14 0'],\n 'chevron-up': ['M6 15l6 -6l6 6'],\n 'chevron-down': ['M6 9l6 6l6 -6'],\n 'chevron-left': ['M15 6l-6 6l6 6'],\n 'chevron-right': ['M9 6l6 6l-6 6'],\n 'chevrons-left': ['M11 7l-5 5l5 5', 'M17 7l-5 5l5 5'],\n 'chevrons-right': ['M7 7l5 5l-5 5', 'M13 7l5 5l-5 5'],\n star: ['M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z'],\n x: ['M18 6l-12 12', 'M6 6l12 12'],\n 'info-circle': ['M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0', 'M12 9h.01', 'M11 12h1v4h1'],\n 'circle-check': ['M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0', 'M9 12l2 2l4 -4'],\n 'alert-triangle': ['M12 9v4', 'M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z', 'M12 16h.01'],\n 'alert-circle': ['M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0', 'M12 8v4', 'M12 16h.01'],\n user: ['M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0', 'M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'],\n 'exclamation-mark': ['M12 19v.01', 'M12 15v-10'],\n mail: ['M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z', 'M3 7l9 6l9 -6'],\n} as const;\n\nexport type GlyphName = keyof typeof paths;\n\n/** One of the built-in glyphs, hidden from assistive tech. */\nexport function Glyph({ name, className }: { name: GlyphName; className?: string }): React.ReactElement {\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n aria-hidden=\"true\"\n focusable=\"false\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={DIRECTIONAL_ICONS.has(name) ? (className ? `${className} Caligo-flipRtl` : 'Caligo-flipRtl') : className}\n >\n {paths[name].map((d) => <path key={d} d={d} />)}\n </svg>\n );\n}\n\n/** A small spinning ring, for loading states inside fields. */\nexport function Spinner({ className }: { className?: string }) {\n return (\n <svg viewBox=\"0 0 24 24\" width=\"1em\" height=\"1em\" aria-hidden=\"true\" focusable=\"false\" className={className} style={{ animation: 'caligo-spin 0.8s linear infinite' }}>\n <circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeOpacity=\"0.25\" />\n <path d=\"M21 12a9 9 0 0 0-9-9\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeLinecap=\"round\" />\n </svg>\n );\n}\n"],"mappings":";;;;;;AAQA,IAAMA,IAAQ;CACZ,KAAK,CAAC,uCAAuC,mFAAmF;CAChI,WAAW;EAAC;EAAwC;EAAuM;CAAY;CACvQ,QAAQ,CAAC,8CAA8C,cAAc;CACrE,MAAM,CAAC,gKAAgK,+FAA+F;CACtQ,OAAO,CAAC,kBAAkB;CAC1B,MAAM,CAAC,cAAc,YAAY;CACjC,OAAO,CAAC,YAAY;CACpB,cAAc,CAAC,gBAAgB;CAC/B,gBAAgB,CAAC,eAAe;CAChC,gBAAgB,CAAC,gBAAgB;CACjC,iBAAiB,CAAC,eAAe;CACjC,iBAAiB,CAAC,kBAAkB,gBAAgB;CACpD,kBAAkB,CAAC,iBAAiB,gBAAgB;CACpD,MAAM,CAAC,2GAA2G;CAClH,GAAG,CAAC,gBAAgB,YAAY;CAChC,eAAe;EAAC;EAAwC;EAAa;CAAc;CACnF,gBAAgB,CAAC,wCAAwC,gBAAgB;CACzE,kBAAkB;EAAC;EAAW;EAA6I;CAAY;CACvL,gBAAgB;EAAC;EAAwC;EAAW;CAAY;CAChF,MAAM,CAAC,qCAAqC,2CAA2C;CACvF,oBAAoB,CAAC,cAAc,YAAY;CAC/C,MAAM,CAAC,mFAAmF,eAAe;AAC3G;AAKA,SAAgBC,EAAM,EAAE,SAAM,gBAA0E;CACtG,OACE,kBAAC,OAAD;EACE,SAAQ;EACR,OAAM;EACN,QAAO;EACP,eAAY;EACZ,WAAU;EACV,MAAK;EACL,QAAO;EACP,aAAY;EACZ,eAAc;EACd,gBAAe;EACf,WAAWC,EAAkB,IAAIC,CAAI,IAAKC,IAAY,GAAGA,EAAU,mBAAmB,mBAAoBA;EAEzG,UAAAJ,EAAMG,EAAK,CAAC,KAAK,MAAM,kBAAC,QAAD,EAAiB,KAAI,GAAVE,CAAU,CAAC;CAC3C,CAAA;AAET;AAGA,SAAgBC,EAAQ,EAAE,gBAAqC;CAC7D,OACE,kBAAC,OAAD;EAAK,SAAQ;EAAY,OAAM;EAAM,QAAO;EAAM,eAAY;EAAO,WAAU;EAAmB;EAAW,OAAO,EAAE,WAAW,mCAAmC;EAApK,UAAA,CACE,kBAAC,UAAD;GAAQ,IAAG;GAAK,IAAG;GAAK,GAAE;GAAI,MAAK;GAAO,QAAO;GAAe,aAAY;GAAM,eAAc;EAAQ,CAAA,GACxG,kBAAC,QAAD;GAAM,GAAE;GAAuB,MAAK;GAAO,QAAO;GAAe,aAAY;GAAM,eAAc;EAAS,CAAA,CACvG;;AAET"}
|
|
1
|
+
{"version":3,"file":"glyphs.js","names":["paths","Glyph","DIRECTIONAL_ICONS","name","className","d","Spinner"],"sources":["../../../src/internal/glyphs.tsx"],"sourcesContent":["import * as React from 'react';\nimport { DIRECTIONAL_ICONS } from './direction';\nimport './rtl.css';\n\n/**\n * The few Tabler icons that components draw themselves, so they don't import the full icon map.\n * Same 24×24 stroke style as Icon.\n */\nconst paths = {\n eye: ['M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0', 'M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6'],\n 'eye-off': ['M10.585 10.587a2 2 0 0 0 2.829 2.828', 'M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87', 'M3 3l18 18'],\n search: ['M10 10m-7 0a7 7 0 1 0 14 0a7 7 0 1 0 -14 0', 'M21 21l-6 -6'],\n copy: ['M7 7m0 2.667a2.667 2.667 0 0 1 2.667 -2.667h8.666a2.667 2.667 0 0 1 2.667 2.667v8.666a2.667 2.667 0 0 1 -2.667 2.667h-8.666a2.667 2.667 0 0 1 -2.667 -2.667z', 'M4.012 16.737a2.005 2.005 0 0 1 -1.012 -1.737v-10c0 -1.1 .9 -2 2 -2h10c.75 0 1.158 .385 1.5 1'],\n check: ['M5 12l5 5l10 -10'],\n plus: ['M12 5l0 14', 'M5 12l14 0'],\n minus: ['M5 12l14 0'],\n 'chevron-up': ['M6 15l6 -6l6 6'],\n 'chevron-down': ['M6 9l6 6l6 -6'],\n 'chevron-left': ['M15 6l-6 6l6 6'],\n 'chevron-right': ['M9 6l6 6l-6 6'],\n 'external-link': ['M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6', 'M11 13l9 -9', 'M15 4h5v5'],\n 'chevrons-left': ['M11 7l-5 5l5 5', 'M17 7l-5 5l5 5'],\n 'chevrons-right': ['M7 7l5 5l-5 5', 'M13 7l5 5l-5 5'],\n star: ['M12 17.75l-6.172 3.245l1.179 -6.873l-5 -4.867l6.9 -1l3.086 -6.253l3.086 6.253l6.9 1l-5 4.867l1.179 6.873z'],\n x: ['M18 6l-12 12', 'M6 6l12 12'],\n 'info-circle': ['M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0', 'M12 9h.01', 'M11 12h1v4h1'],\n 'circle-check': ['M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0', 'M9 12l2 2l4 -4'],\n 'alert-triangle': ['M12 9v4', 'M10.363 3.591l-8.106 13.534a1.914 1.914 0 0 0 1.636 2.871h16.214a1.914 1.914 0 0 0 1.636 -2.87l-8.106 -13.536a1.914 1.914 0 0 0 -3.274 0z', 'M12 16h.01'],\n 'alert-circle': ['M3 12a9 9 0 1 0 18 0a9 9 0 1 0 -18 0', 'M12 8v4', 'M12 16h.01'],\n user: ['M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0', 'M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2'],\n 'exclamation-mark': ['M12 19v.01', 'M12 15v-10'],\n mail: ['M3 7a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v10a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-10z', 'M3 7l9 6l9 -6'],\n} as const;\n\nexport type GlyphName = keyof typeof paths;\n\n/** One of the built-in glyphs, hidden from assistive tech. */\nexport function Glyph({ name, className }: { name: GlyphName; className?: string }): React.ReactElement {\n return (\n <svg\n viewBox=\"0 0 24 24\"\n width=\"1em\"\n height=\"1em\"\n aria-hidden=\"true\"\n focusable=\"false\"\n fill=\"none\"\n stroke=\"currentColor\"\n strokeWidth=\"2\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n className={DIRECTIONAL_ICONS.has(name) ? (className ? `${className} Caligo-flipRtl` : 'Caligo-flipRtl') : className}\n >\n {paths[name].map((d) => <path key={d} d={d} />)}\n </svg>\n );\n}\n\n/** A small spinning ring, for loading states inside fields. */\nexport function Spinner({ className }: { className?: string }) {\n return (\n <svg viewBox=\"0 0 24 24\" width=\"1em\" height=\"1em\" aria-hidden=\"true\" focusable=\"false\" className={className} style={{ animation: 'caligo-spin 0.8s linear infinite' }}>\n <circle cx=\"12\" cy=\"12\" r=\"9\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeOpacity=\"0.25\" />\n <path d=\"M21 12a9 9 0 0 0-9-9\" fill=\"none\" stroke=\"currentColor\" strokeWidth=\"2.5\" strokeLinecap=\"round\" />\n </svg>\n );\n}\n"],"mappings":";;;;;;AAQA,IAAMA,IAAQ;CACZ,KAAK,CAAC,uCAAuC,mFAAmF;CAChI,WAAW;EAAC;EAAwC;EAAuM;CAAY;CACvQ,QAAQ,CAAC,8CAA8C,cAAc;CACrE,MAAM,CAAC,gKAAgK,+FAA+F;CACtQ,OAAO,CAAC,kBAAkB;CAC1B,MAAM,CAAC,cAAc,YAAY;CACjC,OAAO,CAAC,YAAY;CACpB,cAAc,CAAC,gBAAgB;CAC/B,gBAAgB,CAAC,eAAe;CAChC,gBAAgB,CAAC,gBAAgB;CACjC,iBAAiB,CAAC,eAAe;CACjC,iBAAiB;EAAC;EAAiE;EAAe;CAAW;CAC7G,iBAAiB,CAAC,kBAAkB,gBAAgB;CACpD,kBAAkB,CAAC,iBAAiB,gBAAgB;CACpD,MAAM,CAAC,2GAA2G;CAClH,GAAG,CAAC,gBAAgB,YAAY;CAChC,eAAe;EAAC;EAAwC;EAAa;CAAc;CACnF,gBAAgB,CAAC,wCAAwC,gBAAgB;CACzE,kBAAkB;EAAC;EAAW;EAA6I;CAAY;CACvL,gBAAgB;EAAC;EAAwC;EAAW;CAAY;CAChF,MAAM,CAAC,qCAAqC,2CAA2C;CACvF,oBAAoB,CAAC,cAAc,YAAY;CAC/C,MAAM,CAAC,mFAAmF,eAAe;AAC3G;AAKA,SAAgBC,EAAM,EAAE,SAAM,gBAA0E;CACtG,OACE,kBAAC,OAAD;EACE,SAAQ;EACR,OAAM;EACN,QAAO;EACP,eAAY;EACZ,WAAU;EACV,MAAK;EACL,QAAO;EACP,aAAY;EACZ,eAAc;EACd,gBAAe;EACf,WAAWC,EAAkB,IAAIC,CAAI,IAAKC,IAAY,GAAGA,EAAU,mBAAmB,mBAAoBA;EAEzG,UAAAJ,EAAMG,EAAK,CAAC,KAAK,MAAM,kBAAC,QAAD,EAAiB,KAAI,GAAVE,CAAU,CAAC;CAC3C,CAAA;AAET;AAGA,SAAgBC,EAAQ,EAAE,gBAAqC;CAC7D,OACE,kBAAC,OAAD;EAAK,SAAQ;EAAY,OAAM;EAAM,QAAO;EAAM,eAAY;EAAO,WAAU;EAAmB;EAAW,OAAO,EAAE,WAAW,mCAAmC;EAApK,UAAA,CACE,kBAAC,UAAD;GAAQ,IAAG;GAAK,IAAG;GAAK,GAAE;GAAI,MAAK;GAAO,QAAO;GAAe,aAAY;GAAM,eAAc;EAAQ,CAAA,GACxG,kBAAC,QAAD;GAAM,GAAE;GAAuB,MAAK;GAAO,QAAO;GAAe,aAAY;GAAM,eAAc;EAAS,CAAA,CACvG;;AAET"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
// src/internal/hues.ts
|
|
2
|
+
var e = [
|
|
3
|
+
"red",
|
|
4
|
+
"orange",
|
|
5
|
+
"amber",
|
|
6
|
+
"yellow",
|
|
7
|
+
"green",
|
|
8
|
+
"emerald",
|
|
9
|
+
"teal",
|
|
10
|
+
"cyan",
|
|
11
|
+
"blue",
|
|
12
|
+
"indigo",
|
|
13
|
+
"purple",
|
|
14
|
+
"pink"
|
|
15
|
+
];
|
|
16
|
+
function t(t) {
|
|
17
|
+
let n = 0;
|
|
18
|
+
for (let e = 0; e < t.length; e++) n = n * 31 + t.charCodeAt(e) | 0;
|
|
19
|
+
return e[Math.abs(n) % e.length] ?? e[0];
|
|
20
|
+
}
|
|
21
|
+
export { e as HUES, t as hueFor };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=hues.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hues.js","names":["HUES","hueFor","hash","i","seed"],"sources":["../../../src/internal/hues.ts"],"sourcesContent":["/**\n * The label palette: twelve hues beside the semantic colours, for things that need telling apart rather than a\n * meaning (labels, tags, people, workspaces). Each hue has a base, a soft tint, a hover tint, soft text and the\n * text that sits on the base, as tokens (`--cal-hue-red`, `--cal-hue-red-soft`, `-soft-hover`, `-soft-text`, `-on`)\n * worked out with the same formula as the semantic soft colours (styles.css).\n */\nexport const HUES = ['red', 'orange', 'amber', 'yellow', 'green', 'emerald', 'teal', 'cyan', 'blue', 'indigo', 'purple', 'pink'] as const;\nexport type CaligoHue = (typeof HUES)[number];\n\n/** A stable hue for a string, such as a name: the same name always gets the same hue. */\nexport function hueFor(seed: string): CaligoHue {\n let hash = 0;\n for (let i = 0; i < seed.length; i++) hash = (hash * 31 + seed.charCodeAt(i)) | 0;\n return HUES[Math.abs(hash) % HUES.length] ?? HUES[0];\n}\n"],"mappings":";AAMA,IAAaA,IAAO;CAAC;CAAO;CAAU;CAAS;CAAU;CAAS;CAAW;CAAQ;CAAQ;CAAQ;CAAU;CAAU;AAAM;AAI/H,SAAgBC,EAAO,GAAyB;CAC9C,IAAIC,IAAO;CACX,KAAK,IAAIC,IAAI,GAAGA,IAAIC,EAAK,QAAQ,KAAK,IAAQF,IAAO,KAAKE,EAAK,WAAWD,CAAC,IAAK;CAChF,OAAOH,EAAK,KAAK,IAAIE,CAAI,IAAIF,EAAK,WAAWA,EAAK;AACpD"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
// src/internal/inputEvent.ts
|
|
2
|
+
function e(e, t, n) {
|
|
3
|
+
t && n !== void 0 && (t.checked = n);
|
|
4
|
+
let r = e ?? new Event("change"), i = t ?? r.target;
|
|
5
|
+
return new Proxy(r, { get(e, t) {
|
|
6
|
+
if (t === "target" || t === "currentTarget") return i;
|
|
7
|
+
if (t === "nativeEvent") return e;
|
|
8
|
+
let n = Reflect.get(e, t, e);
|
|
9
|
+
return typeof n == "function" ? n.bind(e) : n;
|
|
10
|
+
} });
|
|
11
|
+
}
|
|
12
|
+
function t(e) {
|
|
13
|
+
let t = {}, n = {};
|
|
14
|
+
for (let [r, i] of Object.entries(e ?? {})) (r.startsWith("aria-") || r.startsWith("data-") || r === "title" ? t : n)[r] = i;
|
|
15
|
+
return {
|
|
16
|
+
aria: t,
|
|
17
|
+
rest: n
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export { e as inputChangeEvent, t as splitAriaProps };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=inputEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"inputEvent.js","names":["inputChangeEvent","input","checked","base","event","target","key","t","v","splitAriaProps","aria","rest","k","props"],"sources":["../../../src/internal/inputEvent.ts"],"sourcesContent":["import type * as React from 'react';\n\n/**\n * Material UI's `onChange(event, …)` hands over a change event from a native input, and apps read\n * `event.target.checked` or `event.target.value`. Base UI's controls fire on their own element, with the real\n * `<input>` hidden beside it. This gives the event with `target` and `currentTarget` pointing at that hidden input,\n * its `checked` already set to the new state, so code written for Material UI keeps working.\n */\nexport function inputChangeEvent(event: Event | undefined, input: HTMLInputElement | null, checked?: boolean): React.ChangeEvent<HTMLInputElement> {\n if (input && checked !== undefined) input.checked = checked;\n const base = (event ?? new Event('change')) as Event;\n const target = input ?? base.target;\n return new Proxy(base, {\n get(t, key) {\n if (key === 'target' || key === 'currentTarget') return target;\n if (key === 'nativeEvent') return t;\n const v = Reflect.get(t, key, t);\n return typeof v === 'function' ? v.bind(t) : v;\n },\n }) as unknown as React.ChangeEvent<HTMLInputElement>;\n}\n\n/** Props that name or describe a control: given to the element assistive tech sees, not to a hidden input. */\nexport function splitAriaProps<T extends Record<string, unknown>>(props: T | undefined): { aria: Record<string, unknown>; rest: Record<string, unknown> } {\n const aria: Record<string, unknown> = {};\n const rest: Record<string, unknown> = {};\n for (const [k, v] of Object.entries(props ?? {})) (k.startsWith('aria-') || k.startsWith('data-') || k === 'title' ? aria : rest)[k] = v;\n return { aria, rest };\n}\n"],"mappings":";AAQA,SAAgBA,EAAiB,GAA0B,GAAgC,GAAwD;CACjJ,AAAIC,KAASC,MAAY,KAAA,MAAW,EAAM,UAAUA;CACpD,IAAMC,IAAQC,KAAS,IAAI,MAAM,QAAQ,GACnCC,IAASJ,KAASE,EAAK;CAC7B,OAAO,IAAI,MAAMA,GAAM,EACrB,IAAI,GAAG,GAAK;EACV,IAAIG,MAAQ,YAAYA,MAAQ,iBAAiB,OAAOD;EACxD,IAAIC,MAAQ,eAAe,OAAOC;EAClC,IAAMC,IAAI,QAAQ,IAAID,GAAGD,GAAKC,CAAC;EAC/B,OAAO,OAAOC,KAAM,aAAaA,EAAE,KAAKD,CAAC,IAAIC;CAC/C,EACF,CAAC;AACH;AAGA,SAAgBC,EAAkD,GAAwF;CACxJ,IAAMC,IAAgC,CAAC,GACjCC,IAAgC,CAAC;CACvC,KAAK,IAAM,CAACC,GAAGJ,MAAM,OAAO,QAAQK,KAAS,CAAC,CAAC,GAAG,CAACD,EAAE,WAAW,OAAO,KAAKA,EAAE,WAAW,OAAO,KAAKA,MAAM,UAAUF,IAAOC,EAAA,CAAMC,KAAKJ;CACvI,OAAO;EAAE;EAAM;CAAK;AACtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"releaseInfo.js","names":["RELEASE_DATE"],"sources":["../../../src/internal/releaseInfo.ts"],"sourcesContent":["/**\n * The date of this Caligo release. A perpetual license covers every release dated on or before its\n * end date. `node scripts/license.mjs stamp` sets it; run it when cutting a release.\n */\nexport const RELEASE_DATE = '2026-11-
|
|
1
|
+
{"version":3,"file":"releaseInfo.js","names":["RELEASE_DATE"],"sources":["../../../src/internal/releaseInfo.ts"],"sourcesContent":["/**\n * The date of this Caligo release. A perpetual license covers every release dated on or before its\n * end date. `node scripts/license.mjs stamp` sets it; run it when cutting a release.\n */\nexport const RELEASE_DATE = '2026-11-17';\n\n/**\n * This release's major version, from package.json. A key bought for a major version covers every release\n * of it and of the majors before it; `stamp` sets this too. 0 while Caligo is in preview.\n */\nexport const RELEASE_MAJOR: number = 1;\n"],"mappings":";AAIA,IAAaA,IAAe"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["caligoThemeNames","themeValues","px","v","fallback","createCaligoTheme","overrides","base","defaultTheme","options","palette","name","createColorScheme","createTheme"],"sources":["../../../src/mui/index.ts"],"sourcesContent":["import { createColorScheme, createTheme, type Theme, type ThemeOptions } from '@mui/material/styles';\nimport { themeValues, type CaligoThemeName } from './themeValues';\n\nexport type { CaligoThemeName };\nexport const caligoThemeNames = Object.keys(themeValues) as CaligoThemeName[];\n\ndeclare module '@mui/material/styles' {\n interface ColorSchemeOverrides {\n 'caligo-light': true; 'caligo-dark': true; sakura: true; sahara: true; fjord: true; moss: true; aurora: true; ember: true;\n dusk: true; obsidian: true; 'kelvin-light': true; 'kelvin-dark': true; 'kelvin-flat-light': true; 'kelvin-flat-dark': true;\n }\n}\n\nconst px = (v: string | null | undefined, fallback: number) => {\n const n = v ? parseFloat(v) : NaN;\n return Number.isFinite(n) ? n : fallback;\n};\n\n/** A Material UI theme with every Caligo theme as a colour scheme. */\nexport type CaligoMuiTheme = Theme & { colorSchemes: Record<CaligoThemeName, { palette: Theme['palette'] }> };\n\n/**\n * Builds a Material UI theme from Caligo's tokens, so MUI components in the same app match\n * Caligo. Every Caligo theme is a colour scheme keyed by its name, and MUI reads the same\n * `data-theme` attribute Caligo uses, so one switch changes both.\n *\n * ```tsx\n * <ThemeProvider theme={createCaligoTheme('caligo-light')}> … </ThemeProvider>\n * document.documentElement.dataset.theme = 'caligo-dark'; // MUI follows\n * ```\n *\n * Extra arguments are deep-merged on top, as with `createTheme(options, ...args)`.\n */\nexport function createCaligoTheme(defaultTheme: CaligoThemeName = 'caligo-light', ...overrides: ThemeOptions[]): CaligoMuiTheme {\n const base = themeValues[defaultTheme];\n // Material UI fully builds only the default scheme (and `light`/`dark`); the others are\n // built here with its own createColorScheme, so every Caligo theme gets a complete palette.\n const colorSchemes = Object.fromEntries(\n caligoThemeNames.map((name) => {\n const palette = themeValues[name].palette as unknown as ThemeOptions['palette'];\n return [name, name === defaultTheme ? { palette } : createColorScheme({ palette })];\n }),\n );\n const radius = px(base.radius, 8);\n const options: ThemeOptions = {\n cssVariables: { colorSchemeSelector: '[data-theme=\"%s\"]', cssVarPrefix: 'mui' },\n colorSchemes: colorSchemes as ThemeOptions['colorSchemes'],\n defaultColorScheme: defaultTheme,\n shape: { borderRadius: radius },\n spacing: 4,\n breakpoints: { values: { xs: 0, sm: 600, md: 900, lg: 1200, xl: 1536 } },\n zIndex: { appBar: 1100, drawer: 1200, modal: 1300, snackbar: 1400, tooltip: 1500 },\n typography: {\n fontFamily: base.font ?? 'Inter, system-ui, sans-serif',\n button: { textTransform: 'none', fontWeight: 500 },\n },\n components: {\n // Overrides read Caligo's variables directly, so they follow data-theme without colour maths.\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 'var(--cal-radius-component)',\n fontFamily: 'var(--cal-font-sans)',\n fontWeight: 500,\n letterSpacing: 0,\n variants: [\n {\n props: { variant: 'contained', color: 'primary' },\n style: {\n backgroundImage: 'linear-gradient(180deg, var(--cal-primary-gradient-end, var(--cal-primary-default)), var(--cal-primary-default))',\n color: 'var(--cal-text-on-primary)',\n '&:hover': { backgroundImage: 'none', backgroundColor: 'var(--cal-primary-hover)' },\n },\n },\n {\n props: { variant: 'outlined', color: 'primary' },\n style: {\n backgroundColor: 'var(--cal-surface-primary)',\n borderColor: 'color-mix(in srgb, var(--cal-primary-default) 55%, var(--cal-border-primary))',\n boxShadow: 'var(--cal-shadow-xs)',\n },\n },\n { props: { variant: 'contained' }, style: { boxShadow: 'var(--cal-raise)', '&:hover': { boxShadow: 'var(--cal-raise)' } } },\n // Caligo's heights: small 32, medium 40, large 48.\n { props: { size: 'small' }, style: { minHeight: 'var(--cal-button-height-sm, 32px)', paddingBlock: 0 } },\n { props: { size: 'medium' }, style: { minHeight: 'var(--cal-button-height-md, 40px)', paddingBlock: 0 } },\n { props: { size: 'large' }, style: { minHeight: 'var(--cal-button-height-lg, 48px)', paddingBlock: 0 } },\n ],\n },\n },\n },\n MuiDialog: {\n styleOverrides: {\n paper: {\n // The same tokens as Caligo's Dialog paper.\n borderRadius: 'var(--cal-dialog-radius)',\n background: 'var(--cal-sheen), var(--cal-surface-primary)',\n border: '1px solid var(--cal-border-subtle)',\n boxShadow: 'var(--cal-shadow-modal)',\n },\n },\n },\n MuiBackdrop: { styleOverrides: { root: { backgroundColor: 'var(--cal-overlay, rgba(0,0,0,.4))' } } },\n MuiPaper: { styleOverrides: { root: { backgroundImage: 'none' } } },\n MuiTooltip: { styleOverrides: { tooltip: { borderRadius: 6, fontFamily: 'var(--cal-font-sans)' } } },\n },\n };\n return createTheme(options, ...overrides) as CaligoMuiTheme;\n}\n"],"mappings":";;;AAIA,IAAaA,IAAmB,OAAO,KAAKC,CAAW,
|
|
1
|
+
{"version":3,"file":"index.js","names":["caligoThemeNames","themeValues","px","v","fallback","createCaligoTheme","overrides","base","defaultTheme","options","palette","name","createColorScheme","createTheme"],"sources":["../../../src/mui/index.ts"],"sourcesContent":["import { createColorScheme, createTheme, type Theme, type ThemeOptions } from '@mui/material/styles';\nimport { themeValues, type CaligoThemeName } from './themeValues';\n\nexport type { CaligoThemeName };\nexport const caligoThemeNames = Object.keys(themeValues) as CaligoThemeName[];\n\ndeclare module '@mui/material/styles' {\n interface ColorSchemeOverrides {\n 'caligo-light': true; 'caligo-dark': true; sakura: true; sahara: true; fjord: true; moss: true; aurora: true; ember: true;\n dusk: true; obsidian: true; 'kelvin-light': true; 'kelvin-dark': true; 'kelvin-flat-light': true; 'kelvin-flat-dark': true;\n 'caligo-light-contrast': true; 'caligo-dark-contrast': true;\n }\n}\n\nconst px = (v: string | null | undefined, fallback: number) => {\n const n = v ? parseFloat(v) : NaN;\n return Number.isFinite(n) ? n : fallback;\n};\n\n/** A Material UI theme with every Caligo theme as a colour scheme. */\nexport type CaligoMuiTheme = Theme & { colorSchemes: Record<CaligoThemeName, { palette: Theme['palette'] }> };\n\n/**\n * Builds a Material UI theme from Caligo's tokens, so MUI components in the same app match\n * Caligo. Every Caligo theme is a colour scheme keyed by its name, and MUI reads the same\n * `data-theme` attribute Caligo uses, so one switch changes both.\n *\n * ```tsx\n * <ThemeProvider theme={createCaligoTheme('caligo-light')}> … </ThemeProvider>\n * document.documentElement.dataset.theme = 'caligo-dark'; // MUI follows\n * ```\n *\n * Extra arguments are deep-merged on top, as with `createTheme(options, ...args)`.\n */\nexport function createCaligoTheme(defaultTheme: CaligoThemeName = 'caligo-light', ...overrides: ThemeOptions[]): CaligoMuiTheme {\n const base = themeValues[defaultTheme];\n // Material UI fully builds only the default scheme (and `light`/`dark`); the others are\n // built here with its own createColorScheme, so every Caligo theme gets a complete palette.\n const colorSchemes = Object.fromEntries(\n caligoThemeNames.map((name) => {\n const palette = themeValues[name].palette as unknown as ThemeOptions['palette'];\n return [name, name === defaultTheme ? { palette } : createColorScheme({ palette })];\n }),\n );\n const radius = px(base.radius, 8);\n const options: ThemeOptions = {\n cssVariables: { colorSchemeSelector: '[data-theme=\"%s\"]', cssVarPrefix: 'mui' },\n colorSchemes: colorSchemes as ThemeOptions['colorSchemes'],\n defaultColorScheme: defaultTheme,\n shape: { borderRadius: radius },\n spacing: 4,\n breakpoints: { values: { xs: 0, sm: 600, md: 900, lg: 1200, xl: 1536 } },\n zIndex: { appBar: 1100, drawer: 1200, modal: 1300, snackbar: 1400, tooltip: 1500 },\n typography: {\n fontFamily: base.font ?? 'Inter, system-ui, sans-serif',\n button: { textTransform: 'none', fontWeight: 500 },\n },\n components: {\n // Overrides read Caligo's variables directly, so they follow data-theme without colour maths.\n MuiButton: {\n styleOverrides: {\n root: {\n borderRadius: 'var(--cal-radius-component)',\n fontFamily: 'var(--cal-font-sans)',\n fontWeight: 500,\n letterSpacing: 0,\n variants: [\n {\n props: { variant: 'contained', color: 'primary' },\n style: {\n backgroundImage: 'linear-gradient(180deg, var(--cal-primary-gradient-end, var(--cal-primary-default)), var(--cal-primary-default))',\n color: 'var(--cal-text-on-primary)',\n '&:hover': { backgroundImage: 'none', backgroundColor: 'var(--cal-primary-hover)' },\n },\n },\n {\n props: { variant: 'outlined', color: 'primary' },\n style: {\n backgroundColor: 'var(--cal-surface-primary)',\n borderColor: 'color-mix(in srgb, var(--cal-primary-default) 55%, var(--cal-border-primary))',\n boxShadow: 'var(--cal-shadow-xs)',\n },\n },\n { props: { variant: 'contained' }, style: { boxShadow: 'var(--cal-raise)', '&:hover': { boxShadow: 'var(--cal-raise)' } } },\n // Caligo's heights: small 32, medium 40, large 48.\n { props: { size: 'small' }, style: { minHeight: 'var(--cal-button-height-sm, 32px)', paddingBlock: 0 } },\n { props: { size: 'medium' }, style: { minHeight: 'var(--cal-button-height-md, 40px)', paddingBlock: 0 } },\n { props: { size: 'large' }, style: { minHeight: 'var(--cal-button-height-lg, 48px)', paddingBlock: 0 } },\n ],\n },\n },\n },\n MuiDialog: {\n styleOverrides: {\n paper: {\n // The same tokens as Caligo's Dialog paper.\n borderRadius: 'var(--cal-dialog-radius)',\n background: 'var(--cal-sheen), var(--cal-surface-primary)',\n border: '1px solid var(--cal-border-subtle)',\n boxShadow: 'var(--cal-shadow-modal)',\n },\n },\n },\n MuiBackdrop: { styleOverrides: { root: { backgroundColor: 'var(--cal-overlay, rgba(0,0,0,.4))' } } },\n MuiPaper: { styleOverrides: { root: { backgroundImage: 'none' } } },\n MuiTooltip: { styleOverrides: { tooltip: { borderRadius: 6, fontFamily: 'var(--cal-font-sans)' } } },\n },\n };\n return createTheme(options, ...overrides) as CaligoMuiTheme;\n}\n"],"mappings":";;;AAIA,IAAaA,IAAmB,OAAO,KAAKC,CAAW,GAUjDC,KAAM,GAA8B,MAAqB;CAC7D,IAAM,IAAIC,IAAI,WAAWA,CAAC,IAAI;CAC9B,OAAO,OAAO,SAAS,CAAC,IAAI,IAAIC;AAClC;AAiBA,SAAgBC,EAAkB,IAAgC,gBAAgB,GAAGC,GAA2C;CAC9H,IAAMC,IAAON,EAAYO,IAUnBC,IAAwB;EAC5B,cAAc;GAAE,qBAAqB;GAAqB,cAAc;EAAM;EAChE,cATK,OAAO,YAC1BT,EAAiB,KAAK,MAAS;GAC7B,IAAMU,IAAUT,EAAYU,EAAK,CAAC;GAClC,OAAO,CAACA,GAAMA,MAASH,IAAe,EAAE,WAAQ,IAAII,EAAkB,EAAE,WAAQ,CAAC,CAAC;EACpF,CAAC,CAKa;EACd,oBAAoBJ;EACpB,OAAO,EAAE,cALIN,EAAGK,EAAK,QAAQ,CAKN,EAAO;EAC9B,SAAS;EACT,aAAa,EAAE,QAAQ;GAAE,IAAI;GAAG,IAAI;GAAK,IAAI;GAAK,IAAI;GAAM,IAAI;EAAK,EAAE;EACvE,QAAQ;GAAE,QAAQ;GAAM,QAAQ;GAAM,OAAO;GAAM,UAAU;GAAM,SAAS;EAAK;EACjF,YAAY;GACV,YAAYA,EAAK,QAAQ;GACzB,QAAQ;IAAE,eAAe;IAAQ,YAAY;GAAI;EACnD;EACA,YAAY;GAEV,WAAW,EACT,gBAAgB,EACd,MAAM;IACJ,cAAc;IACd,YAAY;IACZ,YAAY;IACZ,eAAe;IACf,UAAU;KACR;MACE,OAAO;OAAE,SAAS;OAAa,OAAO;MAAU;MAChD,OAAO;OACL,iBAAiB;OACjB,OAAO;OACP,WAAW;QAAE,iBAAiB;QAAQ,iBAAiB;OAA2B;MACpF;KACF;KACA;MACE,OAAO;OAAE,SAAS;OAAY,OAAO;MAAU;MAC/C,OAAO;OACL,iBAAiB;OACjB,aAAa;OACb,WAAW;MACb;KACF;KACA;MAAE,OAAO,EAAE,SAAS,YAAY;MAAG,OAAO;OAAE,WAAW;OAAoB,WAAW,EAAE,WAAW,mBAAmB;MAAE;KAAE;KAE1H;MAAE,OAAO,EAAE,MAAM,QAAQ;MAAG,OAAO;OAAE,WAAW;OAAqC,cAAc;MAAE;KAAE;KACvG;MAAE,OAAO,EAAE,MAAM,SAAS;MAAG,OAAO;OAAE,WAAW;OAAqC,cAAc;MAAE;KAAE;KACxG;MAAE,OAAO,EAAE,MAAM,QAAQ;MAAG,OAAO;OAAE,WAAW;OAAqC,cAAc;MAAE;KAAE;IACzG;GACF,EACF,EACF;GACA,WAAW,EACT,gBAAgB,EACd,OAAO;IAEL,cAAc;IACd,YAAY;IACZ,QAAQ;IACR,WAAW;GACb,EACF,EACF;GACA,aAAa,EAAE,gBAAgB,EAAE,MAAM,EAAE,iBAAiB,qCAAqC,EAAE,EAAE;GACnG,UAAU,EAAE,gBAAgB,EAAE,MAAM,EAAE,iBAAiB,OAAO,EAAE,EAAE;GAClE,YAAY,EAAE,gBAAgB,EAAE,SAAS;IAAE,cAAc;IAAG,YAAY;GAAuB,EAAE,EAAE;EACrG;CACF;CACA,OAAOM,EAAYJ,GAAS,GAAGH,CAAS;AAC1C"}
|
|
@@ -741,6 +741,112 @@ var e = {
|
|
|
741
741
|
},
|
|
742
742
|
radius: "12px",
|
|
743
743
|
font: "\"Onest\", \"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif"
|
|
744
|
+
},
|
|
745
|
+
"caligo-light-contrast": {
|
|
746
|
+
palette: {
|
|
747
|
+
primary: {
|
|
748
|
+
main: "#4b3a9e",
|
|
749
|
+
light: "#3f3085",
|
|
750
|
+
dark: "#35286f",
|
|
751
|
+
contrastText: "#ffffff"
|
|
752
|
+
},
|
|
753
|
+
secondary: {
|
|
754
|
+
main: "#eaeaea",
|
|
755
|
+
light: "#dddddd",
|
|
756
|
+
dark: "#d1d1d1",
|
|
757
|
+
contrastText: "#000000"
|
|
758
|
+
},
|
|
759
|
+
error: {
|
|
760
|
+
main: "#8f2f28",
|
|
761
|
+
light: "#99544e",
|
|
762
|
+
dark: "#8d6a68",
|
|
763
|
+
contrastText: "#ffffff"
|
|
764
|
+
},
|
|
765
|
+
warning: {
|
|
766
|
+
main: "#7a5512",
|
|
767
|
+
light: "#9c7436",
|
|
768
|
+
dark: "#ccaf81",
|
|
769
|
+
contrastText: "#ffffff"
|
|
770
|
+
},
|
|
771
|
+
success: {
|
|
772
|
+
main: "#2d6a3c",
|
|
773
|
+
light: "#4f8b5e",
|
|
774
|
+
dark: "#93c09f",
|
|
775
|
+
contrastText: "#ffffff"
|
|
776
|
+
},
|
|
777
|
+
info: {
|
|
778
|
+
main: "#2c5d82",
|
|
779
|
+
light: "#57819f",
|
|
780
|
+
dark: "#4d728d",
|
|
781
|
+
contrastText: "#232323"
|
|
782
|
+
},
|
|
783
|
+
background: {
|
|
784
|
+
default: "#f7f7f7",
|
|
785
|
+
paper: "#ffffff"
|
|
786
|
+
},
|
|
787
|
+
text: {
|
|
788
|
+
primary: "#000000",
|
|
789
|
+
secondary: "#333333",
|
|
790
|
+
disabled: "#6b6b6b"
|
|
791
|
+
},
|
|
792
|
+
divider: "#f7f7f7",
|
|
793
|
+
mode: "light"
|
|
794
|
+
},
|
|
795
|
+
radius: "8px",
|
|
796
|
+
font: "\"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif"
|
|
797
|
+
},
|
|
798
|
+
"caligo-dark-contrast": {
|
|
799
|
+
palette: {
|
|
800
|
+
primary: {
|
|
801
|
+
main: "#c9bcff",
|
|
802
|
+
light: "#d6ccff",
|
|
803
|
+
dark: "#e0d8ff",
|
|
804
|
+
contrastText: "#1a1a1a"
|
|
805
|
+
},
|
|
806
|
+
secondary: {
|
|
807
|
+
main: "#3c3c3c",
|
|
808
|
+
light: "#484848",
|
|
809
|
+
dark: "#535353",
|
|
810
|
+
contrastText: "#ffffff"
|
|
811
|
+
},
|
|
812
|
+
error: {
|
|
813
|
+
main: "#f0a6a0",
|
|
814
|
+
light: "#da9590",
|
|
815
|
+
dark: "#e3aeaa",
|
|
816
|
+
contrastText: "#1a1a1a"
|
|
817
|
+
},
|
|
818
|
+
warning: {
|
|
819
|
+
main: "#ecc58a",
|
|
820
|
+
light: "#dbb77a",
|
|
821
|
+
dark: "#e4c899",
|
|
822
|
+
contrastText: "#1a1a1a"
|
|
823
|
+
},
|
|
824
|
+
success: {
|
|
825
|
+
main: "#9fd6aa",
|
|
826
|
+
light: "#8ec39a",
|
|
827
|
+
dark: "#a9d1b2",
|
|
828
|
+
contrastText: "#1a1a1a"
|
|
829
|
+
},
|
|
830
|
+
info: {
|
|
831
|
+
main: "#a9d4f0",
|
|
832
|
+
light: "#a0c9e3",
|
|
833
|
+
dark: "#abcfe6",
|
|
834
|
+
contrastText: "#0c1820"
|
|
835
|
+
},
|
|
836
|
+
background: {
|
|
837
|
+
default: "#000000",
|
|
838
|
+
paper: "#121212"
|
|
839
|
+
},
|
|
840
|
+
text: {
|
|
841
|
+
primary: "#ffffff",
|
|
842
|
+
secondary: "#e0e0e0",
|
|
843
|
+
disabled: "#9a9a9a"
|
|
844
|
+
},
|
|
845
|
+
divider: "#000000",
|
|
846
|
+
mode: "dark"
|
|
847
|
+
},
|
|
848
|
+
radius: "8px",
|
|
849
|
+
font: "\"Inter\", system-ui, -apple-system, \"Segoe UI\", sans-serif"
|
|
744
850
|
}
|
|
745
851
|
};
|
|
746
852
|
export { e as themeValues };
|