@pismo/marola 1.0.0-beta.16 → 1.0.0-beta.18

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.
@@ -0,0 +1,30 @@
1
+ import './assets/Dialog.css';
2
+ const _ = "_dialog__subtitle_1rdlq_53", a = "_dialog_1rdlq_53", o = "_dialog__backdrop_1rdlq_88", l = "_dialog__panel_1rdlq_96", r = "_dialog__title_1rdlq_57", d = "_dialog__divider_1rdlq_122", p = "_dialog__actions_1rdlq_136", t = {
3
+ "u-typography-h1": "_u-typography-h1_1rdlq_1",
4
+ "u-typography-h2": "_u-typography-h2_1rdlq_8",
5
+ "u-typography-h3": "_u-typography-h3_1rdlq_15",
6
+ "u-typography-h4": "_u-typography-h4_1rdlq_22",
7
+ "u-typography-h5": "_u-typography-h5_1rdlq_29",
8
+ "u-typography-h6": "_u-typography-h6_1rdlq_36",
9
+ "u-typography-base": "_u-typography-base_1rdlq_43",
10
+ "u-typography-base--xxl": "_u-typography-base--xxl_1rdlq_49",
11
+ "u-typography-base--xl": "_u-typography-base--xl_1rdlq_53",
12
+ dialog__subtitle: _,
13
+ "u-typography-base--lg": "_u-typography-base--lg_1rdlq_57",
14
+ "dialog__title--small": "_dialog__title--small_1rdlq_57",
15
+ "u-typography-base--sm": "_u-typography-base--sm_1rdlq_61",
16
+ "u-typography-base--bold": "_u-typography-base--bold_1rdlq_65",
17
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1rdlq_68",
18
+ "u-typography-base--underlined": "_u-typography-base--underlined_1rdlq_71",
19
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1rdlq_74",
20
+ dialog: a,
21
+ dialog__backdrop: o,
22
+ dialog__panel: l,
23
+ dialog__title: r,
24
+ dialog__divider: d,
25
+ "dialog__close-icon": "_dialog__close-icon_1rdlq_126",
26
+ dialog__actions: p
27
+ };
28
+ export {
29
+ t as s
30
+ };
@@ -0,0 +1,181 @@
1
+ import './assets/Toggle2.css';
2
+ import { jsx as i, jsxs as k } from "react/jsx-runtime";
3
+ import { forwardRef as y } from "react";
4
+ import { c as s } from "./clsx-DB4S2d7J.js";
5
+ import { Icon as C } from "./components/Icon/Icon.js";
6
+ import { Typography as N } from "./components/Typography/Typography.js";
7
+ import "./components/Button/Button.js";
8
+ import { Adornment as v } from "./components/Adornment/Adornment.js";
9
+ import "./components/Dialog/Dialog.js";
10
+ import "./components/IconButton/IconButton.js";
11
+ import "./components/Select/Select.js";
12
+ import "./components/Table/Table.js";
13
+ import "./components/Tabs/Tabs.js";
14
+ import { s as w } from "./Group-B3p31ftp.js";
15
+ import "./contexts/SnackbarProvider/SnackbarProvider.js";
16
+ import { Skeleton as f } from "./components/Skeleton/Skeleton.js";
17
+ import { B as x } from "./Button-DiLqcAJG.js";
18
+ const I = "_chip_1wvod_61", P = "_chip__adornment_1wvod_116", z = "_chip__remove_1wvod_121", p = {
19
+ "u-typography-h1": "_u-typography-h1_1wvod_1",
20
+ "u-typography-h2": "_u-typography-h2_1wvod_8",
21
+ "u-typography-h3": "_u-typography-h3_1wvod_15",
22
+ "u-typography-h4": "_u-typography-h4_1wvod_22",
23
+ "u-typography-h5": "_u-typography-h5_1wvod_29",
24
+ "u-typography-h6": "_u-typography-h6_1wvod_36",
25
+ "u-typography-base": "_u-typography-base_1wvod_43",
26
+ "u-typography-base--xxl": "_u-typography-base--xxl_1wvod_49",
27
+ "u-typography-base--xl": "_u-typography-base--xl_1wvod_53",
28
+ "u-typography-base--lg": "_u-typography-base--lg_1wvod_57",
29
+ "u-typography-base--sm": "_u-typography-base--sm_1wvod_61",
30
+ chip: I,
31
+ "u-typography-base--bold": "_u-typography-base--bold_1wvod_65",
32
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_1wvod_68",
33
+ "u-typography-base--underlined": "_u-typography-base--underlined_1wvod_71",
34
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_1wvod_74",
35
+ "chip--button": "_chip--button_1wvod_90",
36
+ "chip--outlined": "_chip--outlined_1wvod_104",
37
+ "chip--contained": "_chip--contained_1wvod_110",
38
+ chip__adornment: P,
39
+ chip__remove: z,
40
+ "chip__remove--disabled": "_chip__remove--disabled_1wvod_133",
41
+ "chip-loading": "_chip-loading_1wvod_137"
42
+ }, S = y((t, c) => {
43
+ const { children: _, onClickContent: o, disabled: r, className: a, variant: n } = t;
44
+ let e = s(
45
+ p.chip,
46
+ { [p["chip--outlined"]]: n === "outlined" },
47
+ { [p["chip--contained"]]: n === "contained" },
48
+ a
49
+ );
50
+ return o ? (e += ` ${p["chip--button"]}`, /* @__PURE__ */ i(
51
+ x,
52
+ {
53
+ onClick: o,
54
+ disabled: r,
55
+ "data-testid": t["data-testid"],
56
+ ref: c,
57
+ className: e,
58
+ children: _
59
+ }
60
+ )) : /* @__PURE__ */ i("span", { "data-testid": t["data-testid"], ref: c, className: e, children: _ });
61
+ }), M = y((t, c) => {
62
+ const {
63
+ label: _,
64
+ className: o,
65
+ onClickContent: r,
66
+ leftAdornment: a,
67
+ loading: n = !1,
68
+ disabled: e = !1,
69
+ variant: u = "default",
70
+ onClickRemove: m
71
+ } = t;
72
+ if (n)
73
+ return /* @__PURE__ */ i(
74
+ f,
75
+ {
76
+ className: s(p["chip-loading"], t["className-skeleton"]),
77
+ "data-testid": t["data-testid-skeleton"]
78
+ }
79
+ );
80
+ const g = s(a == null ? void 0 : a.className, p.chip__adornment), b = a != null && a.customIcon ? { ...a, className: g } : { ...a, disabled: e, className: g };
81
+ return /* @__PURE__ */ k(
82
+ S,
83
+ {
84
+ ref: c,
85
+ "data-testid": t["data-testid"],
86
+ onClickContent: r,
87
+ disabled: e,
88
+ className: o,
89
+ variant: u,
90
+ children: [
91
+ a && /* @__PURE__ */ i(v, { ...b }),
92
+ _,
93
+ m && /* @__PURE__ */ i(
94
+ "span",
95
+ {
96
+ className: s(p.chip__remove, { [p["chip__remove--disabled"]]: e }),
97
+ role: "button",
98
+ tabIndex: e ? -1 : 0,
99
+ "aria-label": "remove",
100
+ onClick: (d) => {
101
+ d == null || d.stopPropagation(), d == null || d.nativeEvent.stopImmediatePropagation(), m();
102
+ },
103
+ "aria-disabled": e,
104
+ children: /* @__PURE__ */ i(C, { icon: "circle-xmark", size: "1.125rem", color: "rgba(var(--gray-95-rgb), 0.45)" })
105
+ }
106
+ )
107
+ ]
108
+ }
109
+ );
110
+ }), h = {
111
+ "row-item": "_row-item_8z1a0_1",
112
+ "row-item--clickable": "_row-item--clickable_8z1a0_13",
113
+ "row-item--disabled": "_row-item--disabled_8z1a0_19",
114
+ "row-item__content": "_row-item__content_8z1a0_22"
115
+ }, O = y((t, c) => {
116
+ const { children: _, leftAdornment: o, disabled: r, onClick: a, buttons: n, ariaLabel: e, className: u } = t, m = s(o == null ? void 0 : o.className, h["row-item__adornment"]), b = {
117
+ onClick: (l) => {
118
+ r || a && a(l);
119
+ },
120
+ tabIndex: 0,
121
+ "aria-label": e,
122
+ role: "button"
123
+ }, d = o != null && o.customIcon ? o : { size: "1rem", ...o };
124
+ return /* @__PURE__ */ k(
125
+ "div",
126
+ {
127
+ "data-testid": t["data-testid"],
128
+ className: s(
129
+ h["row-item"],
130
+ a && h["row-item--clickable"],
131
+ a && r && h["row-item--disabled"],
132
+ u
133
+ ),
134
+ ...!!a && b,
135
+ ref: c,
136
+ children: [
137
+ o && /* @__PURE__ */ i(v, { ...d, className: m, disabled: r }),
138
+ /* @__PURE__ */ i("span", { className: s(h["row-item__content"]), children: _ }),
139
+ n && /* @__PURE__ */ i(
140
+ "div",
141
+ {
142
+ onClick: (l) => {
143
+ l == null || l.stopPropagation(), l == null || l.nativeEvent.stopImmediatePropagation();
144
+ },
145
+ children: n
146
+ }
147
+ )
148
+ ]
149
+ }
150
+ );
151
+ }), Q = y((t, c) => {
152
+ const { text: _, isSelected: o = !1, value: r, onChange: a } = t;
153
+ return /* @__PURE__ */ k(
154
+ "label",
155
+ {
156
+ className: s([w.toggle__label], { [w["toggle__label--selected"]]: o }),
157
+ "data-testid": t["data-testid"],
158
+ children: [
159
+ /* @__PURE__ */ i(
160
+ "input",
161
+ {
162
+ className: s([w.toggle__input]),
163
+ type: "radio",
164
+ ref: c,
165
+ value: r.toString(),
166
+ onChange: () => a(r),
167
+ role: "radio",
168
+ checked: o,
169
+ "aria-checked": o
170
+ }
171
+ ),
172
+ /* @__PURE__ */ i(N, { bold: !0, children: _ })
173
+ ]
174
+ }
175
+ );
176
+ });
177
+ export {
178
+ M as C,
179
+ O as R,
180
+ Q as T
181
+ };
@@ -1 +1 @@
1
- ._u-typography-h1_1qs0q_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1qs0q_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1qs0q_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1qs0q_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1qs0q_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1qs0q_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1qs0q_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1qs0q_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1qs0q_53,._dialog__subtitle_1qs0q_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1qs0q_57,._dialog__title--small_1qs0q_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1qs0q_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1qs0q_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1qs0q_68{text-decoration:line-through}._u-typography-base--underlined_1qs0q_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1qs0q_74{text-decoration:underline line-through}._dialog_1qs0q_53{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;-webkit-box-align:center;-webkit-box-pack:center}._dialog__backdrop_1qs0q_88{position:fixed;z-index:-1;width:100%;height:100%;background-color:rgb(var(--black-100-rgb),.05);-webkit-tap-highlight-color:transparent}._dialog__panel_1qs0q_96{position:relative;display:flex;flex-direction:column;gap:8px;width:680px;padding:2rem;overflow:hidden;font-weight:500;color:var(--gray-75);text-align:start;background-color:var(--white-100);border:1px solid rgb(218,226,237);border-radius:8px;box-shadow:0 10px 20px rgb(var(--black-100-rgb),.2)}._dialog__title_1qs0q_57{padding-bottom:1rem}._dialog__subtitle_1qs0q_53{margin-top:1rem;font-family:Lato,sans-serif;color:var(--secondary-orange-dark);text-align:left;letter-spacing:0}._dialog__divider_1qs0q_122{width:100%;border-top:1px solid var(--gray-10)}._dialog__close-icon_1qs0q_126{position:absolute;top:27px;right:16px;padding:0;margin:0;background:none;border:none}._dialog__actions_1qs0q_135{display:flex;gap:.5rem;justify-content:center;margin-top:1.5rem}
1
+ ._u-typography-h1_1rdlq_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1rdlq_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1rdlq_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1rdlq_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1rdlq_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1rdlq_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1rdlq_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1rdlq_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1rdlq_53,._dialog__subtitle_1rdlq_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1rdlq_57,._dialog__title--small_1rdlq_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1rdlq_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1rdlq_65{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1rdlq_68{text-decoration:line-through}._u-typography-base--underlined_1rdlq_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1rdlq_74{text-decoration:underline line-through}._dialog_1rdlq_53{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1300;display:flex;align-items:center;justify-content:center;-webkit-box-align:center;-webkit-box-pack:center}._dialog__backdrop_1rdlq_88{position:fixed;z-index:-1;width:100%;height:100%;background-color:rgb(var(--black-100-rgb),.05);-webkit-tap-highlight-color:transparent}._dialog__panel_1rdlq_96{position:relative;display:flex;flex-direction:column;gap:8px;width:680px;padding:2rem;overflow:hidden;font-weight:500;color:var(--gray-90);text-align:start;background-color:var(--white-100);border:1px solid rgb(218,226,237);border-radius:8px;box-shadow:0 10px 20px rgb(var(--black-100-rgb),.2)}._dialog__title_1rdlq_57{padding-bottom:1rem}._dialog__subtitle_1rdlq_53{margin-top:1rem;font-family:Lato,sans-serif;color:var(--secondary-orange-dark);text-align:left;letter-spacing:0}._dialog__divider_1rdlq_122{width:100%;border-top:1px solid var(--gray-10)}._dialog__close-icon_1rdlq_126{position:absolute;top:27px;right:16px;padding:0;margin:0;cursor:pointer;background:none;border:none}._dialog__actions_1rdlq_136{display:flex;gap:.5rem;justify-content:center;margin-top:1.5rem}
@@ -1 +1 @@
1
- ._u-typography-h1_pknqm_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_pknqm_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_pknqm_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_pknqm_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_pknqm_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_pknqm_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_pknqm_43,._table_pknqm_43 tbody{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_pknqm_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_pknqm_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_pknqm_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_pknqm_61,._table_pknqm_43 thead{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_pknqm_65,._table_pknqm_43 thead{font-weight:var(--base-bold)}._u-typography-base--strikethrough_pknqm_68{text-decoration:line-through}._u-typography-base--underlined_pknqm_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_pknqm_74{text-decoration:underline line-through}._table_pknqm_43{color:var(--secondary-orange);border-spacing:0;table-layout:fixed}._table--full-width_pknqm_83{width:100%}._table--white-theme_pknqm_86{background:var(--white-100)}._table--transparent-theme_pknqm_89{background:transparent}._table_pknqm_43 th._cell--left-alignment_pknqm_92,._table_pknqm_43 td._cell--left-alignment_pknqm_92{text-align:left}._table_pknqm_43 th._cell--center-alignment_pknqm_96,._table_pknqm_43 td._cell--center-alignment_pknqm_96{text-align:center}._table_pknqm_43 th._cell--right-alignment_pknqm_100,._table_pknqm_43 td._cell--right-alignment_pknqm_100{text-align:right}._table_pknqm_43 thead{color:var(--gray-90);text-transform:uppercase}._table_pknqm_43 thead tr th{--children-pv: 4px;--children-ph: 8px;align-items:center;padding:calc(1.5rem - var(--children-pv)) calc(.75rem - var(--children-ph));line-height:1rem;border-bottom:1px solid var(--gray-25)}._table_pknqm_43 thead tr th ._th__wrapper_pknqm_116{padding:var(--children-pv) var(--children-ph)}._table_pknqm_43 thead tr th ._th__wrapper--pressed_pknqm_119{background-color:var(--gray-10);border-radius:6px}._table_pknqm_43 thead tr th ._th__wrapper--clickable_pknqm_123{cursor:pointer}._table_pknqm_43 thead tr th ._th__wrapper_pknqm_116 ._th__sort-icon-container_pknqm_126{padding-left:4px}._table_pknqm_43 tbody{color:var(--gray-90)}._table_pknqm_43 tbody tr:hover:not(._tr__row-or-cell--disabled_pknqm_132){background-color:rgb(var(--gray-5-rgb),.5)}._table_pknqm_43 tbody ._tr_pknqm_132,._table_pknqm_43 tbody ._td_pknqm_136{padding:16px 12px;line-height:var(--body-line-height);border-bottom:1px solid var(--gray-10)}._table_pknqm_43 tbody ._tr__row-or-cell--clickable_pknqm_141,._table_pknqm_43 tbody ._td__row-or-cell--clickable_pknqm_142{cursor:pointer}._table_pknqm_43 tbody ._tr__row-or-cell--disabled_pknqm_132,._table_pknqm_43 tbody ._td__row-or-cell--disabled_pknqm_146{background:var(--cream);filter:grayscale(1)}._table_pknqm_43 tbody ._tr__row-or-cell--disabled_pknqm_132 ._td-wrapper_pknqm_150,._table_pknqm_43 tbody ._td__row-or-cell--disabled_pknqm_146 ._td-wrapper_pknqm_150{opacity:.25}
1
+ ._u-typography-h1_1ysnl_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1ysnl_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1ysnl_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1ysnl_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1ysnl_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1ysnl_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1ysnl_43,._table_1ysnl_43 tbody{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1ysnl_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1ysnl_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1ysnl_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1ysnl_61,._table_1ysnl_43 thead{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1ysnl_65,._table_1ysnl_43 thead{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1ysnl_68{text-decoration:line-through}._u-typography-base--underlined_1ysnl_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1ysnl_74{text-decoration:underline line-through}._table_1ysnl_43{color:var(--secondary-orange);border-spacing:0}._table--fixed_1ysnl_82{table-layout:fixed}._table--full-width_1ysnl_85{width:100%}._table--white-theme_1ysnl_88{background:var(--white-100)}._table--transparent-theme_1ysnl_91{background:transparent}._table_1ysnl_43 th._cell--left-alignment_1ysnl_94,._table_1ysnl_43 td._cell--left-alignment_1ysnl_94{text-align:left}._table_1ysnl_43 th._cell--center-alignment_1ysnl_98,._table_1ysnl_43 td._cell--center-alignment_1ysnl_98{text-align:center}._table_1ysnl_43 th._cell--right-alignment_1ysnl_102,._table_1ysnl_43 td._cell--right-alignment_1ysnl_102{text-align:right}._table_1ysnl_43 thead{color:var(--gray-90);text-transform:uppercase}._table_1ysnl_43 thead tr th{--children-pv: 4px;--children-ph: 8px;align-items:center;padding:calc(1.5rem - var(--children-pv)) calc(.75rem - var(--children-ph));line-height:1rem;border-bottom:1px solid var(--gray-25)}._table_1ysnl_43 thead tr th ._th__wrapper_1ysnl_118{padding:var(--children-pv) var(--children-ph)}._table_1ysnl_43 thead tr th ._th__wrapper--pressed_1ysnl_121{background-color:var(--gray-10);border-radius:6px}._table_1ysnl_43 thead tr th ._th__wrapper--clickable_1ysnl_125{cursor:pointer}._table_1ysnl_43 thead tr th ._th__wrapper_1ysnl_118 ._th__sort-icon-container_1ysnl_128{padding-left:4px}._table_1ysnl_43 tbody{color:var(--gray-90)}._table_1ysnl_43 tbody tr:hover:not(._tr__row-or-cell--disabled_1ysnl_134){background-color:rgb(var(--gray-5-rgb),.5)}._table_1ysnl_43 tbody ._tr_1ysnl_134,._table_1ysnl_43 tbody ._td_1ysnl_138{padding:16px 12px;line-height:var(--body-line-height);border-bottom:1px solid var(--gray-10)}._table_1ysnl_43 tbody ._tr__row-or-cell--clickable_1ysnl_143,._table_1ysnl_43 tbody ._td__row-or-cell--clickable_1ysnl_144{cursor:pointer}._table_1ysnl_43 tbody ._tr__row-or-cell--disabled_1ysnl_134,._table_1ysnl_43 tbody ._td__row-or-cell--disabled_1ysnl_148{background:var(--cream);filter:grayscale(1)}._table_1ysnl_43 tbody ._tr__row-or-cell--disabled_1ysnl_134 ._td-wrapper_1ysnl_152,._table_1ysnl_43 tbody ._td__row-or-cell--disabled_1ysnl_148 ._td-wrapper_1ysnl_152{opacity:.25}
@@ -1 +1 @@
1
- ._u-typography-h1_k90cj_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_k90cj_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_k90cj_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_k90cj_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_k90cj_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_k90cj_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_k90cj_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_k90cj_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_k90cj_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_k90cj_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_k90cj_61,._chip_k90cj_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_k90cj_65,._chip_k90cj_61{font-weight:var(--base-bold)}._u-typography-base--strikethrough_k90cj_68{text-decoration:line-through}._u-typography-base--underlined_k90cj_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_k90cj_74{text-decoration:underline line-through}._chip_k90cj_61{display:flex;align-items:center;width:fit-content;padding:.375rem .5rem;background-color:var(--cream);border-width:1px;border-radius:calc(var(--border-radius-soft) * 4)}._chip_k90cj_61:not(:disabled){color:rgb(var(--gray-95-rgb) .65)}._chip--button_k90cj_90{cursor:pointer;border-color:transparent}._chip--button_k90cj_90:disabled{cursor:initial}._chip--button_k90cj_90:focus-visible{outline:none}._chip--button_k90cj_90:focus{outline:2px solid var(--black-100)}._chip--outlined_k90cj_103{padding:.3125rem .5rem;background-color:var(--white-100);border:1px solid var(--border);border-radius:calc(var(--border-radius-soft) * 4)}._chip--contained_k90cj_109{padding:.3125rem .5rem;border:1px solid var(--border);border-color:var(--accent);border-radius:calc(var(--border-radius-soft) * 4)}._chip__adornment_k90cj_115{display:flex;align-items:center;margin-right:.5rem}._chip__remove_k90cj_120{display:flex;margin-left:.5rem}._chip__remove_k90cj_120:focus-visible{outline:none}._chip__remove_k90cj_120:focus:not(:disabled){border-radius:calc(var(--border-radius-soft) * 4);outline:2px solid var(--black-100)}._chip__remove--disabled_k90cj_131{cursor:default}._chip-loading_k90cj_135{display:inline-flex;min-width:6rem;height:2rem;border-radius:4rem}._row-item_8z1a0_1{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border:1px solid var(--gray-10);border-radius:6px;outline:none}._row-item_8z1a0_1:focus-visible{outline:none}._row-item--clickable_8z1a0_13{cursor:pointer}._row-item--clickable_8z1a0_13:focus{outline:2px solid var(--black-100)}._row-item--disabled_8z1a0_19{cursor:not-allowed}._row-item__content_8z1a0_22{display:flex;flex-grow:1;align-items:center;justify-content:space-between;padding-right:1rem;padding-left:1rem;margin:0;text-align:center}._row-item__content_8z1a0_22:focus-visible{outline:none}._row-item__content_8z1a0_22:focus{outline:2px solid var(--black-100)}
1
+ ._u-typography-h1_1wvod_1{font-size:var(--heading-font-size-1);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-1);margin:0}._u-typography-h2_1wvod_8{font-size:var(--heading-font-size-2);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-2);margin:0}._u-typography-h3_1wvod_15{font-size:var(--heading-font-size-3);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-3);margin:0}._u-typography-h4_1wvod_22{font-size:var(--heading-font-size-4);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-4);margin:0}._u-typography-h5_1wvod_29{font-size:var(--heading-font-size-5);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-5);margin:0}._u-typography-h6_1wvod_36{font-size:var(--heading-font-size-6);font-weight:var(--heading-font-weight);line-height:var(--heading-line-height-6);margin:0}._u-typography-base_1wvod_43{margin:0;font-size:var(--base-font-size);font-weight:var(--base-weight);line-height:var(--base-line-height)}._u-typography-base--xxl_1wvod_49{font-size:var(--base-font-size-xxl);line-height:var(--base-line-height-xxl)}._u-typography-base--xl_1wvod_53{font-size:var(--base-font-size-xl);line-height:var(--base-line-height-xl)}._u-typography-base--lg_1wvod_57{font-size:var(--base-font-size-lg);line-height:var(--base-line-height-lg)}._u-typography-base--sm_1wvod_61,._chip_1wvod_61{font-size:var(--base-font-size-sm);line-height:var(--base-line-height-sm)}._u-typography-base--bold_1wvod_65,._chip_1wvod_61{font-weight:var(--base-bold)}._u-typography-base--strikethrough_1wvod_68{text-decoration:line-through}._u-typography-base--underlined_1wvod_71{text-decoration:underline}._u-typography-base--strikethrough-underlined_1wvod_74{text-decoration:underline line-through}._chip_1wvod_61{display:flex;align-items:center;width:fit-content;padding:.375rem .5rem;background-color:var(--cream);border-width:1px;border-radius:calc(var(--border-radius-soft) * 4)}._chip_1wvod_61:not(:disabled){color:rgb(var(--gray-95-rgb) .65)}._chip--button_1wvod_90{cursor:pointer;border-color:transparent}._chip--button_1wvod_90:disabled{pointer-events:none;cursor:initial}._chip--button_1wvod_90:focus-visible{outline:none}._chip--button_1wvod_90:focus{outline:2px solid var(--black-100)}._chip--outlined_1wvod_104{padding:.3125rem .5rem;background-color:var(--white-100);border:1px solid var(--border);border-radius:calc(var(--border-radius-soft) * 4)}._chip--contained_1wvod_110{padding:.3125rem .5rem;border:1px solid var(--border);border-color:var(--accent);border-radius:calc(var(--border-radius-soft) * 4)}._chip__adornment_1wvod_116{display:flex;align-items:center;margin-right:.5rem}._chip__remove_1wvod_121{display:flex;margin-left:.5rem;cursor:pointer}._chip__remove_1wvod_121:focus-visible{outline:none}._chip__remove_1wvod_121:focus:not(:disabled){border-radius:calc(var(--border-radius-soft) * 4);outline:2px solid var(--black-100)}._chip__remove--disabled_1wvod_133{cursor:default}._chip-loading_1wvod_137{display:inline-flex;min-width:6rem;height:2rem;border-radius:4rem}._row-item_8z1a0_1{display:flex;align-items:center;justify-content:space-between;padding:.5rem 1rem;border:1px solid var(--gray-10);border-radius:6px;outline:none}._row-item_8z1a0_1:focus-visible{outline:none}._row-item--clickable_8z1a0_13{cursor:pointer}._row-item--clickable_8z1a0_13:focus{outline:2px solid var(--black-100)}._row-item--disabled_8z1a0_19{cursor:not-allowed}._row-item__content_8z1a0_22{display:flex;flex-grow:1;align-items:center;justify-content:space-between;padding-right:1rem;padding-left:1rem;margin:0;text-align:center}._row-item__content_8z1a0_22:focus-visible{outline:none}._row-item__content_8z1a0_22:focus{outline:2px solid var(--black-100)}
@@ -0,0 +1 @@
1
+ export {};
@@ -5,8 +5,8 @@ import "../Adornment/Adornment.js";
5
5
  import "../Icon/Icon.js";
6
6
  import "../Typography/Typography.js";
7
7
  import "../Button/Button.js";
8
- import { C as k } from "../../Toggle-BQPzu8NV.js";
9
- import "../Dialog/Backdrop.js";
8
+ import { C as k } from "../../Toggle-CRfZgFJp.js";
9
+ import "../Dialog/Dialog.js";
10
10
  import "../IconButton/IconButton.js";
11
11
  import "../Select/Select.js";
12
12
  import "../Skeleton/Skeleton.js";
@@ -24,7 +24,9 @@ export default meta;
24
24
  type Story = StoryObj<typeof meta>;
25
25
  export declare const Simple: Story;
26
26
  export declare const Clickable: Story;
27
+ export declare const Disabled: Story;
27
28
  export declare const ClickableWithRemove: Story;
29
+ export declare const ClickableOnlyRemove: Story;
28
30
  export declare const FullDefault: Story;
29
31
  export declare const FullOutlined: Story;
30
32
  export declare const FullContained: Story;
@@ -1,5 +1,5 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { s as t } from "../../Dialog.module-HFAN4mAD.js";
2
+ import { s as t } from "../../Dialog.module-D9e4RsKo.js";
3
3
  const i = ({ children: s }) => /* @__PURE__ */ o("div", { className: t.dialog__actions, children: s });
4
4
  export {
5
5
  i as default
@@ -1,6 +1,6 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
2
  import { forwardRef as t } from "react";
3
- import { s as e } from "../../Dialog.module-HFAN4mAD.js";
3
+ import { s as e } from "../../Dialog.module-D9e4RsKo.js";
4
4
  const i = t((o, r) => {
5
5
  const { open: m, className: p, ...s } = o;
6
6
  return /* @__PURE__ */ a("div", { className: e.dialog__backdrop, ref: r, ...s });
@@ -1,6 +1,6 @@
1
1
  import { jsx as s } from "react/jsx-runtime";
2
2
  import { Icon as r } from "../Icon/Icon.js";
3
- import { s as t } from "../../Dialog.module-HFAN4mAD.js";
3
+ import { s as t } from "../../Dialog.module-D9e4RsKo.js";
4
4
  import { B as a } from "../../Button-DiLqcAJG.js";
5
5
  const d = ({ handleOnClose: i, className: o }) => {
6
6
  const l = o != null ? t["dialog__close-icon "] + o : t["dialog__close-icon"];
@@ -1,6 +1,6 @@
1
- import { default as DialogTitle } from './DialogTitle';
2
- import { default as Content } from './Content';
3
- import { default as Actions } from './Actions';
1
+ import { default as DialogTitle, DialogTitleProps } from './DialogTitle';
2
+ import { default as Content, DialogContentProps } from './Content';
3
+ import { default as Actions, DialogActionProps } from './Actions';
4
4
  import { ModalProps } from '@mui/base';
5
5
  import { JSXElementConstructor, ReactElement, ReactNode } from 'react';
6
6
 
@@ -12,11 +12,14 @@ export interface DialogProps extends ModalProps {
12
12
  dialogTitle: ReactNode;
13
13
  /** display subtitle */
14
14
  dialogSubtitle?: ReactNode;
15
- /** if true, show skeleton */
16
- isLoading?: boolean;
17
15
  /** callback for when close is clicked */
18
16
  onClose?: () => void;
19
17
  }
20
- declare const Dialog: ({ children, dialogTitle, dialogSubtitle, isLoading, onClose, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
18
+ declare const Dialog: {
19
+ ({ children, dialogTitle, dialogSubtitle, onClose, ...props }: DialogProps): import("react/jsx-runtime").JSX.Element;
20
+ Title: import('react').FunctionComponent<DialogTitleProps>;
21
+ Content: import('react').FunctionComponent<DialogContentProps>;
22
+ Actions: import('react').FunctionComponent<DialogActionProps>;
23
+ };
21
24
  export { Dialog, DialogTitle, Content, Actions };
22
25
  export default Dialog;