@pismo/marola 1.0.0-beta.6 → 1.0.0-beta.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button-2b1peDFT.js → Button-BAljjMv3.js} +2 -2
- package/dist/{ClickAwayListener-BSW-Nd-y.js → ClickAwayListener-DbEYZpyh.js} +4 -3
- package/dist/Dialog.module-W7UCXlf3.js +29 -0
- package/dist/Group-DspH8hyO.js +30 -0
- package/dist/Popover.module-B4boCutS.js +10 -0
- package/dist/{Popup-B6ZSGIEI.js → Popup-Ck3XlWMq.js} +3 -3
- package/dist/{Portal-DIeBsWdL.js → Portal-oY3enyAm.js} +2 -2
- package/dist/SelectButton-B38avP9u.js +75 -0
- package/dist/{Tabs.module-jkH1Qjn7.js → Tabs.module-BGGTkDc5.js} +7 -7
- package/dist/Toggle-MfR7l8Wn.js +190 -0
- package/dist/assets/Adornment.css +1 -0
- package/dist/assets/Advice.css +1 -1
- package/dist/assets/Autocomplete.css +1 -0
- package/dist/assets/Avatar.css +1 -0
- package/dist/assets/Button.css +1 -1
- package/dist/assets/Checkbox.css +1 -1
- package/dist/assets/Description.css +1 -0
- package/dist/assets/Dialog.css +1 -1
- package/dist/assets/EllipsisTooltip.css +1 -1
- package/dist/assets/Group.css +1 -1
- package/dist/assets/IconButton.css +1 -1
- package/dist/assets/Input.css +1 -1
- package/dist/assets/PageHeader.css +1 -1
- package/dist/assets/Pagination.css +1 -1
- package/dist/assets/Popover.css +1 -0
- package/dist/assets/ResultWithChips.css +1 -0
- package/dist/assets/SelectButton.css +1 -1
- package/dist/assets/Skeleton.css +1 -1
- package/dist/assets/Snackbar.css +1 -1
- package/dist/assets/SortTooltip.css +1 -1
- package/dist/assets/Stepper.css +1 -1
- package/dist/assets/StepperNavigator.css +1 -0
- package/dist/assets/Table.css +1 -1
- package/dist/assets/Tabs.css +1 -1
- package/dist/assets/TextDisplay.css +1 -1
- package/dist/assets/Toggle.css +1 -1
- package/dist/assets/Toggle2.css +1 -1
- package/dist/assets/Typography.css +1 -1
- package/dist/{combineHooksSlotProps-DVjg9PRh.js → combineHooksSlotProps-C-zYvfnF.js} +1 -1
- package/dist/components/Adornment/Adornment.d.ts +20 -0
- package/dist/components/Adornment/Adornment.js +13 -0
- package/dist/components/Adornment/Adornment.stories.d.ts +14 -0
- package/dist/components/Adornment/adornment.test.d.ts +1 -0
- package/dist/components/Advice/Advice.d.ts +32 -17
- package/dist/components/Advice/Advice.js +39 -40
- package/dist/components/Advice/Advice.stories.d.ts +4 -3
- package/dist/components/Autocomplete/Autocomplete.d.ts +20 -0
- package/dist/components/Autocomplete/Autocomplete.js +679 -0
- package/dist/components/Autocomplete/Autocomplete.stories.d.ts +23 -0
- package/dist/components/Avatar/Avatar.d.ts +15 -0
- package/dist/components/Avatar/Avatar.js +51 -0
- package/dist/components/Avatar/Avatar.stories.d.ts +25 -0
- package/dist/components/Button/Button.d.ts +2 -0
- package/dist/components/Button/Button.js +51 -49
- package/dist/components/Checkbox/Checkbox.js +52 -52
- package/dist/components/Chip/Chip.d.ts +6 -12
- package/dist/components/Chip/Chip.js +12 -7
- package/dist/components/Chip/Chip.stories.d.ts +5 -14
- package/dist/components/ConfirmationDialog/ConfirmationDialog.d.ts +14 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.js +37 -0
- package/dist/components/ConfirmationDialog/ConfirmationDialog.stories.d.ts +23 -0
- package/dist/components/ConfirmationDialog/ConfirmationModal.test.d.ts +1 -0
- package/dist/components/Description/Description.d.ts +15 -0
- package/dist/components/Description/Description.js +54 -0
- package/dist/components/Description/Description.stories.d.ts +18 -0
- package/dist/components/Description/Description.test.d.ts +1 -0
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.d.ts +3 -3
- package/dist/components/Dialog/Backdrop.js +8 -7
- package/dist/components/Dialog/CloseIconButton.d.ts +1 -2
- package/dist/components/Dialog/CloseIconButton.js +15 -18
- package/dist/components/Dialog/Dialog.d.ts +16 -10
- package/dist/components/Dialog/Dialog.js +167 -166
- package/dist/components/Dialog/Dialog.stories.d.ts +115 -109
- package/dist/components/Dialog/DialogTitle.d.ts +5 -2
- package/dist/components/Dialog/DialogTitle.js +22 -16
- package/dist/components/EllipsisTooltip/EllipsisTooltip.js +30 -17
- package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +2 -1
- package/dist/components/Icon/Icon.js +315 -47
- package/dist/components/Icon/types.d.ts +1 -1
- package/dist/components/IconButton/IconButton.js +42 -42
- package/dist/components/Input/Input.d.ts +26 -5
- package/dist/components/Input/Input.js +319 -304
- package/dist/components/Input/Input.stories.d.ts +2 -21
- package/dist/components/InputSearch/InputSearch.d.ts +37 -7
- package/dist/components/InputSearch/InputSearch.js +27 -29
- package/dist/components/InputSearch/InputSearch.stories.d.ts +15 -3
- package/dist/components/PageHeader/PageHeader.d.ts +6 -2
- package/dist/components/PageHeader/PageHeader.js +72 -65
- package/dist/components/PageHeader/PageHeader.stories.d.ts +3 -1
- package/dist/components/PageHeader/PageHeader.test.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +5 -1
- package/dist/components/Pagination/Pagination.js +90 -91
- package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
- package/dist/components/Popover/Popover.d.ts +32 -0
- package/dist/components/Popover/Popover.js +24 -0
- package/dist/components/Popover/Popover.stories.d.ts +34 -0
- package/dist/components/Popover/PopoverBody.d.ts +6 -0
- package/dist/components/Popover/PopoverBody.js +6 -0
- package/dist/components/Popover/PopoverFooter.d.ts +6 -0
- package/dist/components/Popover/PopoverFooter.js +6 -0
- package/dist/components/Popover/PopoverHeader.d.ts +6 -0
- package/dist/components/Popover/PopoverHeader.js +6 -0
- package/dist/components/ResultWithChips/ResultWithChips.d.ts +12 -0
- package/dist/components/ResultWithChips/ResultWithChips.js +33 -0
- package/dist/components/RowItem/RowItem.d.ts +25 -0
- package/dist/components/RowItem/RowItem.js +23 -0
- package/dist/components/RowItem/RowItem.stories.d.ts +17 -0
- package/dist/components/RowItem/rowItem.test.d.ts +1 -0
- package/dist/components/Select/Select.d.ts +22 -0
- package/dist/components/Select/Select.js +476 -413
- package/dist/components/Select/SelectButton.d.ts +2 -0
- package/dist/components/Select/SelectButton.js +3 -2
- package/dist/components/Skeleton/Skeleton.d.ts +3 -1
- package/dist/components/Skeleton/Skeleton.js +20 -14
- package/dist/components/Skeleton/SkeletonTable.stories.d.ts +1 -1
- package/dist/components/Snackbar/Snackbar.js +94 -94
- package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -3
- package/dist/components/SortTooltip/SortTooltip.js +46 -46
- package/dist/components/Stepper/Stepper.js +35 -35
- package/dist/components/StepperNavigator/StepperNavigator.d.ts +58 -0
- package/dist/components/StepperNavigator/StepperNavigator.js +115 -0
- package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +18 -0
- package/dist/components/StepperNavigator/StepperNavigator.test.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +3 -1
- package/dist/components/Table/Table.js +87 -99
- package/dist/components/Table/Table.stories.d.ts +1 -1
- package/dist/components/Tabs/Tab.d.ts +5 -3
- package/dist/components/Tabs/Tab.js +38 -36
- package/dist/components/Tabs/TabPanel.d.ts +4 -2
- package/dist/components/Tabs/TabPanel.js +51 -40
- package/dist/components/Tabs/Tabs.d.ts +6 -4
- package/dist/components/Tabs/Tabs.js +131 -128
- package/dist/components/TextDisplay/TextDisplay.d.ts +9 -3
- package/dist/components/TextDisplay/TextDisplay.js +45 -31
- package/dist/components/TextDisplay/TextDisplay.stories.d.ts +2 -1
- package/dist/components/Toggle/Toggle.js +56 -56
- package/dist/components/ToggleGroup/Group.d.ts +2 -0
- package/dist/components/ToggleGroup/Group.js +4 -2
- package/dist/components/ToggleGroup/Toggle.d.ts +2 -0
- package/dist/components/ToggleGroup/Toggle.js +9 -5
- package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
- package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +2 -0
- package/dist/components/Tooltip/Tooltip.d.ts +3 -1
- package/dist/components/Tooltip/Tooltip.js +4 -4
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -0
- package/dist/components/Typography/Typography.js +47 -47
- package/dist/{index-CjW42-M-.js → index-bQFToy-I.js} +1 -1
- package/dist/main.d.ts +9 -0
- package/dist/main.js +91 -76
- package/dist/marola.css +1 -1
- package/dist/ownerDocument-YGhwAnr1.js +33 -0
- package/dist/{useButton-DNk3wrQp.js → useButton-DcihopJG.js} +1 -1
- package/dist/useCompoundItem-B7Eo_qZk.js +68 -0
- package/dist/useEventCallback-BAQJJ3ye.js +14 -0
- package/dist/useId-BW-oWmul.js +19 -0
- package/dist/{useList-B0hog_3-.js → useList-B9C55YB7.js} +2 -2
- package/dist/{index-CH45lKw7.js → useSlotProps-C_I1kEHr.js} +99 -99
- package/package.json +22 -13
- package/dist/Dialog.module-DFEmFdYT.js +0 -30
- package/dist/Group-B3p31ftp.js +0 -26
- package/dist/SelectButton-K3OIfR5m.js +0 -61
- package/dist/Toggle-BCgIItCc.js +0 -142
- package/dist/useCompoundItem-D1iRfg8D.js +0 -84
- package/dist/useEventCallback-xTG9piMa.js +0 -45
package/dist/main.js
CHANGED
|
@@ -1,78 +1,93 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
1
|
+
import { Adornment as p } from "./components/Adornment/Adornment.js";
|
|
2
|
+
import { Advice as m } from "./components/Advice/Advice.js";
|
|
3
|
+
import { Autocomplete as x } from "./components/Autocomplete/Autocomplete.js";
|
|
4
|
+
import "./components/Avatar/Avatar.js";
|
|
5
|
+
import { Button as i } from "./components/Button/Button.js";
|
|
6
|
+
import { Checkbox as T } from "./components/Checkbox/Checkbox.js";
|
|
7
|
+
import { C as g, R as c, T as u } from "./Toggle-MfR7l8Wn.js";
|
|
8
|
+
import { ConfirmationDialog as d } from "./components/ConfirmationDialog/ConfirmationDialog.js";
|
|
9
|
+
import "react/jsx-runtime";
|
|
10
|
+
import { Skeleton as k, SkeletonCircle as C, SkeletonTable as h } from "./components/Skeleton/Skeleton.js";
|
|
11
|
+
import { Text as I, Typography as P } from "./components/Typography/Typography.js";
|
|
12
|
+
import { Dialog as y } from "./components/Dialog/Dialog.js";
|
|
13
|
+
import { EllipsisTooltip as B } from "./components/EllipsisTooltip/EllipsisTooltip.js";
|
|
14
|
+
import { Icon as R } from "./components/Icon/Icon.js";
|
|
15
|
+
import { IconButton as w } from "./components/IconButton/IconButton.js";
|
|
16
|
+
import { Input as L } from "./components/Input/Input.js";
|
|
17
|
+
import { InputSearch as O } from "./components/InputSearch/InputSearch.js";
|
|
18
|
+
import { LoadingSpinner as j } from "./components/LoadingSpinner/LoadingSpinner.js";
|
|
19
|
+
import { PageHeader as z } from "./components/PageHeader/PageHeader.js";
|
|
20
|
+
import { Pagination as J, paginationDefaultTranslations as K } from "./components/Pagination/Pagination.js";
|
|
21
|
+
import { Popover as Q } from "./components/Popover/Popover.js";
|
|
22
|
+
import { ResultWithChips as V } from "./components/ResultWithChips/ResultWithChips.js";
|
|
23
|
+
import { Select as Y, SelectOption as Z } from "./components/Select/Select.js";
|
|
24
|
+
import { Snackbar as $ } from "./components/Snackbar/Snackbar.js";
|
|
25
|
+
import { SortTooltip as ro, sortTooltipDefaultTranslations as eo } from "./components/SortTooltip/SortTooltip.js";
|
|
26
|
+
import { Stepper as po } from "./components/Stepper/Stepper.js";
|
|
27
|
+
import { StepperNavigator as mo } from "./components/StepperNavigator/StepperNavigator.js";
|
|
28
|
+
import { TBody as xo, THead as no, Table as io, Td as lo, Th as To, Tr as so } from "./components/Table/Table.js";
|
|
29
|
+
import { Tabs as co } from "./components/Tabs/Tabs.js";
|
|
30
|
+
import { TextDisplay as So } from "./components/TextDisplay/TextDisplay.js";
|
|
31
|
+
import { Toggle as ko } from "./components/Toggle/Toggle.js";
|
|
32
|
+
import { G as ho } from "./Group-DspH8hyO.js";
|
|
33
|
+
import { Tooltip as Io } from "./components/Tooltip/Tooltip.js";
|
|
34
|
+
import { SnackbarContext as vo, SnackbarProvider as yo, useSnackbar as Ao } from "./contexts/SnackbarProvider/SnackbarProvider.js";
|
|
35
|
+
import { default as Go } from "./components/Dialog/DialogTitle.js";
|
|
36
|
+
import { default as Ho } from "./components/Dialog/Content.js";
|
|
37
|
+
import { default as Eo } from "./components/Dialog/Actions.js";
|
|
38
|
+
import { Tab as No } from "./components/Tabs/Tab.js";
|
|
39
|
+
import { TabPanel as Wo } from "./components/Tabs/TabPanel.js";
|
|
32
40
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
xo as
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
41
|
+
Eo as Actions,
|
|
42
|
+
p as Adornment,
|
|
43
|
+
m as Advice,
|
|
44
|
+
x as Autocomplete,
|
|
45
|
+
i as Button,
|
|
46
|
+
T as Checkbox,
|
|
47
|
+
g as Chip,
|
|
48
|
+
d as ConfirmationDialog,
|
|
49
|
+
Ho as Content,
|
|
50
|
+
y as Dialog,
|
|
51
|
+
Go as DialogTitle,
|
|
52
|
+
B as EllipsisTooltip,
|
|
53
|
+
R as Icon,
|
|
54
|
+
w as IconButton,
|
|
55
|
+
L as Input,
|
|
56
|
+
O as InputSearch,
|
|
57
|
+
j as LoadingSpinner,
|
|
58
|
+
z as PageHeader,
|
|
59
|
+
J as Pagination,
|
|
60
|
+
Q as Popover,
|
|
61
|
+
V as ResultWithChips,
|
|
62
|
+
c as RowItem,
|
|
63
|
+
Y as Select,
|
|
64
|
+
Z as SelectOption,
|
|
65
|
+
k as Skeleton,
|
|
66
|
+
C as SkeletonCircle,
|
|
67
|
+
h as SkeletonTable,
|
|
68
|
+
$ as Snackbar,
|
|
69
|
+
vo as SnackbarContext,
|
|
70
|
+
yo as SnackbarProvider,
|
|
71
|
+
ro as SortTooltip,
|
|
72
|
+
po as Stepper,
|
|
73
|
+
mo as StepperNavigator,
|
|
74
|
+
xo as TBody,
|
|
75
|
+
no as THead,
|
|
76
|
+
No as Tab,
|
|
77
|
+
Wo as TabPanel,
|
|
78
|
+
io as Table,
|
|
79
|
+
co as Tabs,
|
|
80
|
+
lo as Td,
|
|
81
|
+
I as Text,
|
|
82
|
+
So as TextDisplay,
|
|
83
|
+
To as Th,
|
|
84
|
+
ko as Toggle,
|
|
85
|
+
ho as ToggleGroup,
|
|
86
|
+
u as ToggleGroupItem,
|
|
87
|
+
Io as Tooltip,
|
|
88
|
+
so as Tr,
|
|
89
|
+
P as Typography,
|
|
90
|
+
K as paginationDefaultTranslations,
|
|
91
|
+
eo as sortTooltipDefaultTranslations,
|
|
92
|
+
Ao as useSnackbar
|
|
78
93
|
};
|
package/dist/marola.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
:root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}
|
|
1
|
+
:root{--secondary-orange: #ffa945;--secondary-orange-rgb: 255, 169, 69;--secondary-orange-dark: #fe8d53;--secondary-orange-dark-rgb: 254, 141, 83;--secondary-orange-light: #525061;--secondary-orange-light-rgb: 82, 80, 97;--secondary-green: #99dec3;--secondary-green-rgb: 153, 222, 195;--secondary-green-dark: #6acbb1;--secondary-green-dark-rgb: 106, 203, 177;--secondary-green-darker: #31aa7e;--secondary-green-darker-rgb: 49, 170, 126;--secondary-green-light: #baedd9;--secondary-green-light-rgb: 186, 237, 217;--accent: #1897f3;--accent-rgb: 24, 151, 243;--accent-dark: #1672c7;--accent-dark-rgb: 22, 114, 199;--accent-light: #4fb1f9;--accent-light-rgb: 79, 177, 249;--accent-lighter: #8ae1fd;--accent-lighter-rgb: 138, 225, 253;--alert: #df4561;--alert-rgb: 223, 69, 97;--alert-dark: #bb2b45;--alert-dark-rgb: 187, 43, 69;--accent-alert-light: #f37c91;--accent-alert-light-rgb: 243, 124, 145;--cream: #fafafa;--cream-rgb: 250, 250, 250;--hover: #42b7ff;--hover-rgb: 66, 183, 255;--active: #0a75cc;--active-rgb: 10, 117, 204;--border: #d9d9d9;--border-rgb: 217, 217, 217;--border-secondary: #f0f0f0;--border-secondary-rgb: 240, 240, 240}:root{--gray-100: #16161e;--gray-100-rgb: 22, 22, 30;--gray-95: #3f3d4b;--gray-95-rgb: 63, 61, 75;--gray-90: #525061;--gray-90-rgb: 82, 80, 97;--gray-75: #838192;--gray-75-rgb: 131, 129, 146;--gray-50: #bcbac8;--gray-50-rgb: 188, 186, 200;--gray-25: #dbdae2;--gray-25-rgb: 219, 218, 226;--gray-10: #ebeaf0;--gray-10-rgb: 235, 234, 240;--gray-5: #f7f7fc;--gray-5-rgb: 247, 247, 252;--black-100: #000000;--black-100-rgb: 0, 0, 0;--black-75: #616161;--black-75-rgb: 97, 97, 97;--black-50: #838192;--black-50-rgb: 131, 129, 146;--black-25: #bcbac8;--black-25-rgb: 188, 186, 200;--black-10: #ebeaf0;--black-10-rgb: 235, 234, 240;--white-100: #ffffff;--white-100-rgb: 255, 255, 255}:root{--heading-font-weight: 700;--heading-font-size-1: 3.75rem;--heading-line-height-1: 4.875rem;--heading-font-size-2: 3rem;--heading-line-height-2: 4rem;--heading-font-size-3: 2.25rem;--heading-line-height-3: 2.875rem;--heading-font-size-4: 1.875rem;--heading-line-height-4: 2.375rem;--heading-font-size-5: 1.5rem;--heading-line-height-5: 2rem;--heading-font-size-6: 1.25rem;--heading-line-height-6: 1.75rem;--base-font-size: .875rem;--base-line-height: 1.375rem;--base-weight: 400;--base-bold: 700;--base-font-size-sm: .75rem;--base-line-height-sm: 1.25rem;--base-font-size-lg: 1rem;--base-line-height-lg: 1.5rem;--base-font-size-xl: 1.25rem;--base-line-height-xl: 1.75rem;--base-font-size-xxl: 1.5rem;--base-line-height-xxl: 2rem}:root{--heading-font-weight: 700;--heading-font-size-xl: 3.75rem;--heading-line-height-xl: 4.875rem;--heading-font-size-l: 3rem;--heading-line-height-l: 3.9375rem;--heading-font-size: 2.25rem;--heading-line-height: 2.875rem;--heading-font-size-s: 1.5rem;--heading-line-height-s: 2rem;--body-font-size: 1rem;--body-line-height: 1.3125rem;--body-weight: normal;--body-bold: bold;--body-font-size-large: 1.5rem;--body-line-height-large: 1.625rem;--body-font-size-medium: 1.125;--body-line-height-medium: 1rem;--body-font-size-small: .875rem;--body-line-height-small: 1.125rem;--body-font-size-tiny: .75rem;--body-line-height-tiny: 1rem;--quote-font-size-large: 1.5rem;--quote-line-height-large: 2rem;--quote-font-weight-large: normal;--quote-font-size: 1rem;--quote-line-height: 1.3125rem;--quote-font-weight: normal;--form-input-font-size: 1rem;--form-input-line-height: 1.3125rem;--form-input-font-weight: bold;--form-hint-font-size: .875rem;--form-hint-line-height: 1.3125rem;--form-hint-font-weight: normal;--form-label-font-size: .875rem;--form-label-line-height: 1.3125rem;--form-label-font-weight: normal;--form-dropdown-font-size: 1rem;--form-dropdown-line-height: 1.3125rem;--form-dropdown-font-weight: normal;--table-font-size: .875rem;--table-line-height: 1.0625rem;--table-header-font-weight: bold;--table-body-font-weight: normal;--table-body-secondary-line-height: 1.3125rem;--button-font-size: 1rem;--button-line-height: 1.25rem;--button-font-weight: bold;--font-size-small: .75rem;--font-weight-small: 400;--font-line-height-small: 1.25rem;--font-weight-700: 700}:root{--spacing: 8px;--border-radius: 6px;--border-radius-soft: 4px;--transition-soft: .3s;--transition-long: .75s}*{box-sizing:border-box}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { P as c } from "./useSlotProps-C_I1kEHr.js";
|
|
2
|
+
function a(e, n) {
|
|
3
|
+
return process.env.NODE_ENV === "production" ? () => null : function(...t) {
|
|
4
|
+
return e(...t) || n(...t);
|
|
5
|
+
};
|
|
6
|
+
}
|
|
7
|
+
function p(e) {
|
|
8
|
+
const {
|
|
9
|
+
prototype: n = {}
|
|
10
|
+
} = e;
|
|
11
|
+
return !!n.isReactComponent;
|
|
12
|
+
}
|
|
13
|
+
function l(e, n, i, t, s) {
|
|
14
|
+
const r = e[n], f = s || n;
|
|
15
|
+
if (r == null || // When server-side rendering React doesn't warn either.
|
|
16
|
+
// This is not an accurate check for SSR.
|
|
17
|
+
// This is only in place for Emotion compat.
|
|
18
|
+
// TODO: Revisit once https://github.com/facebook/react/issues/20047 is resolved.
|
|
19
|
+
typeof window > "u")
|
|
20
|
+
return null;
|
|
21
|
+
let o;
|
|
22
|
+
const u = r.type;
|
|
23
|
+
return typeof u == "function" && !p(u) && (o = "Did you accidentally use a plain function component for an element instead?"), o !== void 0 ? new Error(`Invalid ${t} \`${f}\` supplied to \`${i}\`. Expected an element that can hold a ref. ${o} For more information see https://mui.com/r/caveat-with-refs-guide`) : null;
|
|
24
|
+
}
|
|
25
|
+
const m = a(c.element, l);
|
|
26
|
+
m.isRequired = a(c.element.isRequired, l);
|
|
27
|
+
function y(e) {
|
|
28
|
+
return e && e.ownerDocument || document;
|
|
29
|
+
}
|
|
30
|
+
export {
|
|
31
|
+
m as e,
|
|
32
|
+
y as o
|
|
33
|
+
};
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as o from "react";
|
|
2
|
+
import { u as I } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
3
|
+
const p = /* @__PURE__ */ o.createContext(null);
|
|
4
|
+
process.env.NODE_ENV !== "production" && (p.displayName = "CompoundComponentContext");
|
|
5
|
+
function b(t) {
|
|
6
|
+
const c = Array.from(t.keys()).map((e) => {
|
|
7
|
+
const r = t.get(e);
|
|
8
|
+
return {
|
|
9
|
+
key: e,
|
|
10
|
+
subitem: r
|
|
11
|
+
};
|
|
12
|
+
});
|
|
13
|
+
return c.sort((e, r) => {
|
|
14
|
+
const n = e.subitem.ref.current, s = r.subitem.ref.current;
|
|
15
|
+
return n === null || s === null || n === s ? 0 : n.compareDocumentPosition(s) & Node.DOCUMENT_POSITION_PRECEDING ? 1 : -1;
|
|
16
|
+
}), new Map(c.map((e) => [e.key, e.subitem]));
|
|
17
|
+
}
|
|
18
|
+
function x() {
|
|
19
|
+
const [t, c] = o.useState(/* @__PURE__ */ new Map()), e = o.useRef(/* @__PURE__ */ new Set()), r = o.useCallback(function(i) {
|
|
20
|
+
e.current.delete(i), c((a) => {
|
|
21
|
+
const u = new Map(a);
|
|
22
|
+
return u.delete(i), u;
|
|
23
|
+
});
|
|
24
|
+
}, []), n = o.useCallback(function(i, a) {
|
|
25
|
+
let u;
|
|
26
|
+
return typeof i == "function" ? u = i(e.current) : u = i, e.current.add(u), c((C) => {
|
|
27
|
+
const l = new Map(C);
|
|
28
|
+
return l.set(u, a), l;
|
|
29
|
+
}), {
|
|
30
|
+
id: u,
|
|
31
|
+
deregister: () => r(u)
|
|
32
|
+
};
|
|
33
|
+
}, [r]), s = o.useMemo(() => b(t), [t]), m = o.useCallback(function(i) {
|
|
34
|
+
return Array.from(s.keys()).indexOf(i);
|
|
35
|
+
}, [s]);
|
|
36
|
+
return {
|
|
37
|
+
contextValue: o.useMemo(() => ({
|
|
38
|
+
getItemIndex: m,
|
|
39
|
+
registerItem: n,
|
|
40
|
+
totalSubitemCount: t.size
|
|
41
|
+
}), [m, n, t.size]),
|
|
42
|
+
subitems: s
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function S(t, c) {
|
|
46
|
+
const e = o.useContext(p);
|
|
47
|
+
if (e === null)
|
|
48
|
+
throw new Error("useCompoundItem must be used within a useCompoundParent");
|
|
49
|
+
const {
|
|
50
|
+
registerItem: r
|
|
51
|
+
} = e, [n, s] = o.useState(typeof t == "function" ? void 0 : t);
|
|
52
|
+
return I(() => {
|
|
53
|
+
const {
|
|
54
|
+
id: m,
|
|
55
|
+
deregister: d
|
|
56
|
+
} = r(t, c);
|
|
57
|
+
return s(m), d;
|
|
58
|
+
}, [r, c, t]), {
|
|
59
|
+
id: n,
|
|
60
|
+
index: n !== void 0 ? e.getItemIndex(n) : -1,
|
|
61
|
+
totalItemCount: e.totalSubitemCount
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
p as C,
|
|
66
|
+
x as a,
|
|
67
|
+
S as u
|
|
68
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { u as c } from "./useEnhancedEffect-CJGo-L3B.js";
|
|
3
|
+
function s(e) {
|
|
4
|
+
const r = t.useRef(e);
|
|
5
|
+
return c(() => {
|
|
6
|
+
r.current = e;
|
|
7
|
+
}), t.useRef((...u) => (
|
|
8
|
+
// @ts-expect-error hide `this`
|
|
9
|
+
(0, r.current)(...u)
|
|
10
|
+
)).current;
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
s as u
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as e from "react";
|
|
2
|
+
let n = 0;
|
|
3
|
+
function l(t) {
|
|
4
|
+
const [u, o] = e.useState(t), a = t || u;
|
|
5
|
+
return e.useEffect(() => {
|
|
6
|
+
u == null && (n += 1, o(`mui-${n}`));
|
|
7
|
+
}, [u]), a;
|
|
8
|
+
}
|
|
9
|
+
const s = e.useId;
|
|
10
|
+
function c(t) {
|
|
11
|
+
if (s !== void 0) {
|
|
12
|
+
const u = s();
|
|
13
|
+
return t ?? u;
|
|
14
|
+
}
|
|
15
|
+
return l(t);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
c as u
|
|
19
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as p, u as re, f as ie } from "./
|
|
1
|
+
import { b as p, u as re, f as ie } from "./useSlotProps-C_I1kEHr.js";
|
|
2
2
|
import * as f from "react";
|
|
3
|
-
import { L as x } from "./combineHooksSlotProps-
|
|
3
|
+
import { L as x } from "./combineHooksSlotProps-C-zYvfnF.js";
|
|
4
4
|
function W(t, e, r = (n, l) => n === l) {
|
|
5
5
|
return t.length === e.length && t.every((n, l) => r(n, e[l]));
|
|
6
6
|
}
|