@pismo/marola 0.0.1-alpha.2 → 0.0.1-alpha.21
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/README.md +17 -5
- package/dist/Button-2b1peDFT.js +130 -0
- package/dist/ClickAwayListener-BSW-Nd-y.js +107 -0
- package/dist/Dialog.module-DFEmFdYT.js +30 -0
- package/dist/Popup-B6ZSGIEI.js +1248 -0
- package/dist/Portal-DIeBsWdL.js +73 -0
- package/dist/SelectButton-C8JQKaf4.js +61 -0
- package/dist/Tabs.module-jkH1Qjn7.js +22 -0
- package/dist/assets/Advice.css +1 -0
- package/dist/assets/Button.css +1 -0
- package/dist/assets/Checkbox.css +1 -0
- package/dist/assets/Chip.css +1 -0
- package/dist/assets/Dialog.css +1 -1
- package/dist/assets/IconButton.css +1 -0
- package/dist/assets/Input.css +1 -0
- package/dist/assets/InputSearch.css +1 -0
- package/dist/assets/LoadingSpinner.css +1 -1
- package/dist/assets/PageHeader.css +1 -0
- package/dist/assets/Pagination.css +1 -0
- package/dist/assets/SelectButton.css +1 -0
- package/dist/assets/Skeleton.css +1 -0
- package/dist/assets/Snackbar.css +1 -0
- package/dist/assets/SortTooltip.css +1 -0
- package/dist/assets/Stepper.css +1 -0
- package/dist/assets/Table.css +1 -0
- package/dist/assets/Tabs.css +1 -0
- package/dist/assets/TextDisplay.css +1 -0
- package/dist/assets/Toggle.css +1 -0
- package/dist/assets/Tooltip.css +1 -0
- package/dist/assets/Typography.css +1 -1
- package/dist/combineHooksSlotProps-DVjg9PRh.js +80 -0
- package/dist/components/Advice/Advice.d.ts +28 -0
- package/dist/components/Advice/Advice.js +40 -0
- package/dist/components/Advice/Advice.stories.d.ts +16 -0
- package/dist/components/Button/Button.d.ts +32 -0
- package/dist/components/Button/Button.js +65 -0
- package/dist/components/Button/Button.stories.d.ts +62 -0
- package/dist/components/Checkbox/Checkbox.d.ts +34 -0
- package/dist/components/Checkbox/Checkbox.js +71 -0
- package/dist/components/Checkbox/Checkbox.stories.d.ts +31 -0
- package/dist/components/Chip/Chip.d.ts +37 -0
- package/dist/components/Chip/Chip.js +113 -0
- package/dist/components/Chip/Chip.stories.d.ts +40 -0
- package/dist/components/Chip/chip.test.d.ts +1 -0
- package/dist/components/Dialog/Actions.js +1 -1
- package/dist/components/Dialog/Backdrop.d.ts +1 -1
- package/dist/components/Dialog/Backdrop.js +2 -9
- package/dist/components/Dialog/CloseIconButton.js +11 -10
- package/dist/components/Dialog/Dialog.d.ts +6 -5
- package/dist/components/Dialog/Dialog.js +419 -20077
- package/dist/components/Dialog/Dialog.stories.d.ts +343 -0
- package/dist/components/Dialog/{Title.d.ts → DialogTitle.d.ts} +3 -3
- package/dist/components/Dialog/DialogTitle.js +29 -0
- package/dist/components/Icon/Icon.d.ts +27 -0
- package/dist/components/Icon/Icon.js +122 -0
- package/dist/components/Icon/Icon.stories.d.ts +16 -0
- package/dist/components/IconButton/Icon.stories.d.ts +15 -0
- package/dist/components/IconButton/IconButton.d.ts +36 -0
- package/dist/components/IconButton/IconButton.js +40 -0
- package/dist/components/Input/Input.d.ts +44 -0
- package/dist/components/Input/Input.js +508 -0
- package/dist/components/Input/Input.stories.d.ts +43 -0
- package/dist/components/InputSearch/InputSearch.d.ts +9 -0
- package/dist/components/InputSearch/InputSearch.js +34 -0
- package/dist/components/InputSearch/InputSearch.stories.d.ts +39 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.d.ts +2 -0
- package/dist/components/LoadingSpinner/LoadingSpinner.js +12 -13
- package/dist/components/LoadingSpinner/LoadingSpinner.stories.d.ts +14 -0
- package/dist/components/PageHeader/PageHeader.d.ts +36 -0
- package/dist/components/PageHeader/PageHeader.js +66 -0
- package/dist/components/PageHeader/PageHeader.stories.d.ts +43 -0
- package/dist/components/Pagination/Pagination.d.ts +55 -0
- package/dist/components/Pagination/Pagination.js +236 -0
- package/dist/components/Pagination/Pagination.stories.d.ts +17 -0
- package/dist/components/Select/Select.d.ts +26 -0
- package/dist/components/Select/Select.js +857 -0
- package/dist/components/Select/Select.stories.d.ts +22 -0
- package/dist/components/Select/SelectButton.d.ts +12 -0
- package/dist/components/Select/SelectButton.js +8 -0
- package/dist/components/Skeleton/Skeleton.d.ts +25 -0
- package/dist/components/Skeleton/Skeleton.js +23 -0
- package/dist/components/Skeleton/Skeleton.stories.d.ts +14 -0
- package/dist/components/Skeleton/SkeletonCircle.stories.d.ts +14 -0
- package/dist/components/Skeleton/SkeletonTable.stories.d.ts +16 -0
- package/dist/components/Snackbar/Snackbar.d.ts +25 -0
- package/dist/components/Snackbar/Snackbar.js +637 -0
- package/dist/components/Snackbar/Snackbar.stories.d.ts +318 -0
- package/dist/components/SortTooltip/SortTooltip.d.ts +28 -0
- package/dist/components/SortTooltip/SortTooltip.js +93 -0
- package/dist/components/Stepper/Stepper.d.ts +26 -0
- package/dist/components/Stepper/Stepper.js +48 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +16 -0
- package/dist/components/Table/Table.d.ts +56 -0
- package/dist/components/Table/Table.js +137 -0
- package/dist/components/Table/Table.stories.d.ts +29 -0
- package/dist/components/Table/TableContext.d.ts +19 -0
- package/dist/components/Table/TableContext.js +21 -0
- package/dist/components/Table/_Table.TBody.stories.d.ts +14 -0
- package/dist/components/Table/_Table.THead.stories.d.ts +14 -0
- package/dist/components/Table/_Table.Td.stories.d.ts +16 -0
- package/dist/components/Table/_Table.Th.stories.d.ts +15 -0
- package/dist/components/Table/_Table.Tr.stories.d.ts +15 -0
- package/dist/components/Tabs/Tab.d.ts +14 -0
- package/dist/components/Tabs/Tab.js +181 -0
- package/dist/components/Tabs/Tab.stories.d.ts +15 -0
- package/dist/components/Tabs/TabPanel.d.ts +12 -0
- package/dist/components/Tabs/TabPanel.js +118 -0
- package/dist/components/Tabs/TabPanel.stories.d.ts +14 -0
- package/dist/components/Tabs/Tabs.d.ts +15 -0
- package/dist/components/Tabs/Tabs.js +401 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +14 -0
- package/dist/components/TextDisplay/TextDisplay.d.ts +23 -0
- package/dist/components/TextDisplay/TextDisplay.js +37 -0
- package/dist/components/TextDisplay/TextDisplay.stories.d.ts +13 -0
- package/dist/components/TextDisplay/textDisplay.test.d.ts +1 -0
- package/dist/components/Toggle/Toggle.d.ts +11 -0
- package/dist/components/Toggle/Toggle.js +266 -0
- package/dist/components/Toggle/Toggle.stories.d.ts +21 -0
- package/dist/components/Tooltip/Tooltip.d.ts +29 -0
- package/dist/components/Tooltip/Tooltip.js +139 -0
- package/dist/components/Tooltip/Tooltip.stories.d.ts +33 -0
- package/dist/components/Typography/Typography.d.ts +17 -6
- package/dist/components/Typography/Typography.js +56 -65
- package/dist/components/Typography/Typography.stories.d.ts +32 -0
- package/dist/components/Typography/typography.test.d.ts +1 -0
- package/dist/index-CH45lKw7.js +840 -0
- package/dist/index-CjW42-M-.js +19584 -0
- package/dist/main.d.ts +25 -3
- package/dist/main.js +67 -15
- package/dist/marola.css +1 -0
- package/dist/test-utils/assertStyles.d.ts +1 -0
- package/dist/test-utils/assertStyles.js +11 -0
- package/dist/types/helpers.d.ts +14 -7
- package/dist/useButton-DNk3wrQp.js +105 -0
- package/dist/useCompoundItem-D1iRfg8D.js +84 -0
- package/dist/useControlled-CCMYYdCM.js +31 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useEventCallback-xTG9piMa.js +45 -0
- package/dist/useIsFocusVisible-BH4IAdcw.js +69 -0
- package/dist/useList-B0hog_3-.js +436 -0
- package/dist/useTimeout-DxF9kiZL.js +36 -0
- package/dist/utils/styleStrings.d.ts +6 -0
- package/dist/utils/styleStrings.js +10 -0
- package/dist/utils/styleStrings.test.d.ts +1 -0
- package/package.json +51 -9
- package/dist/Button-REznN-RP.js +0 -1139
- package/dist/Dialog.module-BO0mdB7d.js +0 -15
- package/dist/assets/CallToActionButton.css +0 -1
- package/dist/assets/main.css +0 -1
- package/dist/components/CallToActionButton/CallToActionButton.d.ts +0 -23
- package/dist/components/CallToActionButton/CallToActionButton.js +0 -57
- package/dist/components/Dialog/Title.js +0 -14
- package/src/playground/Playground.tsx +0 -58
package/README.md
CHANGED
|
@@ -1,23 +1,35 @@
|
|
|
1
1
|
# Marola - component library
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+

|
|
3
4
|
|
|
4
5
|
### Commands
|
|
5
6
|
|
|
6
|
-
`yarn dev` - run the playground, launches a server where a developer can test and develop components, watches for file
|
|
7
|
+
`yarn dev` - run the playground, launches a server where a developer can test and develop components, watches for file
|
|
7
8
|
changes
|
|
8
9
|
|
|
9
10
|
`yarn build` - builds the components ready for publish
|
|
10
11
|
|
|
11
|
-
`yarn test` -
|
|
12
|
+
`yarn test` - calls off to yarn test:unit
|
|
13
|
+
|
|
14
|
+
`yarn test:unit` - runs vitest for unit tests
|
|
15
|
+
|
|
16
|
+
`yarn test:unit:visual` - runs vitest for unit tests in a browser, then when tests are run it will show the output in
|
|
17
|
+
browser
|
|
18
|
+
|
|
19
|
+
`yarn test:unit:watch` - runs vitest and watches for any change and reruns
|
|
12
20
|
|
|
13
21
|
`yarn lint` - performs an eslint across the project code and reports any problems in the terminal
|
|
14
22
|
|
|
15
|
-
`yarn preview` -
|
|
23
|
+
`yarn preview` - runs `build` and serves the files in the `dist` serves what would be in a `publish`
|
|
16
24
|
|
|
17
25
|
`yarn publish` - runs a prePublish build (the `build` command) then publishes the contents of the `dist` directory
|
|
18
26
|
|
|
27
|
+
`yarn storybook` - start storybook
|
|
28
|
+
|
|
29
|
+
`yarn build-storybook` - build storybook static files
|
|
30
|
+
|
|
19
31
|
### Tips
|
|
20
32
|
|
|
21
33
|
#### Node version
|
|
22
34
|
|
|
23
|
-
This project uses a .nvmrc file, to auto switch node version follow [these steps](https://github.com/nvm-sh/nvm?tab=readme-ov-file#zsh) from the nvm project .
|
|
35
|
+
This project uses a .nvmrc file, to auto switch node version follow [these steps](https://github.com/nvm-sh/nvm?tab=readme-ov-file#zsh) from the nvm project .
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { g as T, a as _, _ as x, b as i, c as B, P as e, d as O, e as D } from "./index-CH45lKw7.js";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { jsx as F } from "react/jsx-runtime";
|
|
4
|
+
import { u as S } from "./useButton-DNk3wrQp.js";
|
|
5
|
+
const m = "Button";
|
|
6
|
+
function U(s) {
|
|
7
|
+
return T(m, s);
|
|
8
|
+
}
|
|
9
|
+
_(m, ["root", "active", "disabled", "focusVisible"]);
|
|
10
|
+
const W = ["action", "children", "disabled", "focusableWhenDisabled", "onFocusVisible", "slotProps", "slots", "rootElementName"], j = (s) => {
|
|
11
|
+
const {
|
|
12
|
+
active: o,
|
|
13
|
+
disabled: n,
|
|
14
|
+
focusVisible: r
|
|
15
|
+
} = s;
|
|
16
|
+
return O({
|
|
17
|
+
root: ["root", n && "disabled", r && "focusVisible", o && "active"]
|
|
18
|
+
}, D(U));
|
|
19
|
+
}, w = /* @__PURE__ */ c.forwardRef(function(o, n) {
|
|
20
|
+
var r;
|
|
21
|
+
const {
|
|
22
|
+
action: u,
|
|
23
|
+
children: h,
|
|
24
|
+
focusableWhenDisabled: f = !1,
|
|
25
|
+
slotProps: P = {},
|
|
26
|
+
slots: l = {},
|
|
27
|
+
rootElementName: N = "button"
|
|
28
|
+
} = o, t = x(o, W), g = c.useRef();
|
|
29
|
+
let a = N;
|
|
30
|
+
typeof l.root == "string" ? a = l.root : (t.href || t.to) && (a = "a");
|
|
31
|
+
const {
|
|
32
|
+
active: y,
|
|
33
|
+
focusVisible: E,
|
|
34
|
+
setFocusVisible: d,
|
|
35
|
+
getRootProps: V
|
|
36
|
+
} = S(i({}, o, {
|
|
37
|
+
focusableWhenDisabled: f,
|
|
38
|
+
rootElementName: a
|
|
39
|
+
}));
|
|
40
|
+
c.useImperativeHandle(u, () => ({
|
|
41
|
+
focusVisible: () => {
|
|
42
|
+
d(!0), g.current.focus();
|
|
43
|
+
}
|
|
44
|
+
}), [d]);
|
|
45
|
+
const p = i({}, o, {
|
|
46
|
+
active: y,
|
|
47
|
+
focusableWhenDisabled: f,
|
|
48
|
+
focusVisible: E
|
|
49
|
+
}), v = j(p), C = t.href || t.to ? "a" : "button", b = (r = l.root) != null ? r : C, R = B({
|
|
50
|
+
elementType: b,
|
|
51
|
+
getSlotProps: V,
|
|
52
|
+
externalForwardedProps: t,
|
|
53
|
+
externalSlotProps: P.root,
|
|
54
|
+
additionalProps: {
|
|
55
|
+
ref: n
|
|
56
|
+
},
|
|
57
|
+
ownerState: p,
|
|
58
|
+
className: v.root
|
|
59
|
+
});
|
|
60
|
+
return /* @__PURE__ */ F(b, i({}, R, {
|
|
61
|
+
children: h
|
|
62
|
+
}));
|
|
63
|
+
});
|
|
64
|
+
process.env.NODE_ENV !== "production" && (w.propTypes = {
|
|
65
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
66
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
67
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
68
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
69
|
+
/**
|
|
70
|
+
* A ref for imperative actions. It currently only supports `focusVisible()` action.
|
|
71
|
+
*/
|
|
72
|
+
action: e.oneOfType([e.func, e.shape({
|
|
73
|
+
current: e.shape({
|
|
74
|
+
focusVisible: e.func.isRequired
|
|
75
|
+
})
|
|
76
|
+
})]),
|
|
77
|
+
/**
|
|
78
|
+
* @ignore
|
|
79
|
+
*/
|
|
80
|
+
children: e.node,
|
|
81
|
+
/**
|
|
82
|
+
* @ignore
|
|
83
|
+
*/
|
|
84
|
+
className: e.string,
|
|
85
|
+
/**
|
|
86
|
+
* If `true`, the component is disabled.
|
|
87
|
+
* @default false
|
|
88
|
+
*/
|
|
89
|
+
disabled: e.bool,
|
|
90
|
+
/**
|
|
91
|
+
* If `true`, allows a disabled button to receive focus.
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
focusableWhenDisabled: e.bool,
|
|
95
|
+
/**
|
|
96
|
+
* @ignore
|
|
97
|
+
*/
|
|
98
|
+
href: e.string,
|
|
99
|
+
/**
|
|
100
|
+
* @ignore
|
|
101
|
+
*/
|
|
102
|
+
onFocusVisible: e.func,
|
|
103
|
+
/**
|
|
104
|
+
* The HTML element that is ultimately rendered, for example 'button' or 'a'
|
|
105
|
+
* @default 'button'
|
|
106
|
+
*/
|
|
107
|
+
rootElementName: e.string,
|
|
108
|
+
/**
|
|
109
|
+
* The props used for each slot inside the Button.
|
|
110
|
+
* @default {}
|
|
111
|
+
*/
|
|
112
|
+
slotProps: e.shape({
|
|
113
|
+
root: e.oneOfType([e.func, e.object])
|
|
114
|
+
}),
|
|
115
|
+
/**
|
|
116
|
+
* The components used for each slot inside the Button.
|
|
117
|
+
* Either a string to use a HTML element or a component.
|
|
118
|
+
* @default {}
|
|
119
|
+
*/
|
|
120
|
+
slots: e.shape({
|
|
121
|
+
root: e.elementType
|
|
122
|
+
}),
|
|
123
|
+
/**
|
|
124
|
+
* @ignore
|
|
125
|
+
*/
|
|
126
|
+
to: e.string
|
|
127
|
+
});
|
|
128
|
+
export {
|
|
129
|
+
w as B
|
|
130
|
+
};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as t from "react";
|
|
2
|
+
import { u as C, P as f } from "./index-CH45lKw7.js";
|
|
3
|
+
import { jsx as w } from "react/jsx-runtime";
|
|
4
|
+
import { u as L, o as h, e as b } from "./useEventCallback-xTG9piMa.js";
|
|
5
|
+
import { e as g } from "./index-CjW42-M-.js";
|
|
6
|
+
function T(c) {
|
|
7
|
+
return c.substring(2).toLowerCase();
|
|
8
|
+
}
|
|
9
|
+
function D(c, s) {
|
|
10
|
+
return s.documentElement.clientWidth < c.clientX || s.documentElement.clientHeight < c.clientY;
|
|
11
|
+
}
|
|
12
|
+
function v(c) {
|
|
13
|
+
const {
|
|
14
|
+
children: s,
|
|
15
|
+
disableReactTree: y = !1,
|
|
16
|
+
mouseEvent: i = "onClick",
|
|
17
|
+
onClickAway: P,
|
|
18
|
+
touchEvent: u = "onTouchEnd"
|
|
19
|
+
} = c, l = t.useRef(!1), o = t.useRef(null), d = t.useRef(!1), p = t.useRef(!1);
|
|
20
|
+
t.useEffect(() => (setTimeout(() => {
|
|
21
|
+
d.current = !0;
|
|
22
|
+
}, 0), () => {
|
|
23
|
+
d.current = !1;
|
|
24
|
+
}), []);
|
|
25
|
+
const k = C(
|
|
26
|
+
// @ts-expect-error TODO upstream fix
|
|
27
|
+
s.ref,
|
|
28
|
+
o
|
|
29
|
+
), a = L((e) => {
|
|
30
|
+
const n = p.current;
|
|
31
|
+
p.current = !1;
|
|
32
|
+
const r = h(o.current);
|
|
33
|
+
if (!d.current || !o.current || "clientX" in e && D(e, r))
|
|
34
|
+
return;
|
|
35
|
+
if (l.current) {
|
|
36
|
+
l.current = !1;
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
let E;
|
|
40
|
+
e.composedPath ? E = e.composedPath().indexOf(o.current) > -1 : E = !r.documentElement.contains(
|
|
41
|
+
// @ts-expect-error returns `false` as intended when not dispatched from a Node
|
|
42
|
+
e.target
|
|
43
|
+
) || o.current.contains(
|
|
44
|
+
// @ts-expect-error returns `false` as intended when not dispatched from a Node
|
|
45
|
+
e.target
|
|
46
|
+
), !E && (y || !n) && P(e);
|
|
47
|
+
}), R = (e) => (n) => {
|
|
48
|
+
p.current = !0;
|
|
49
|
+
const r = s.props[e];
|
|
50
|
+
r && r(n);
|
|
51
|
+
}, m = {
|
|
52
|
+
ref: k
|
|
53
|
+
};
|
|
54
|
+
return u !== !1 && (m[u] = R(u)), t.useEffect(() => {
|
|
55
|
+
if (u !== !1) {
|
|
56
|
+
const e = T(u), n = h(o.current), r = () => {
|
|
57
|
+
l.current = !0;
|
|
58
|
+
};
|
|
59
|
+
return n.addEventListener(e, a), n.addEventListener("touchmove", r), () => {
|
|
60
|
+
n.removeEventListener(e, a), n.removeEventListener("touchmove", r);
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
}, [a, u]), i !== !1 && (m[i] = R(i)), t.useEffect(() => {
|
|
64
|
+
if (i !== !1) {
|
|
65
|
+
const e = T(i), n = h(o.current);
|
|
66
|
+
return n.addEventListener(e, a), () => {
|
|
67
|
+
n.removeEventListener(e, a);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
}, [a, i]), /* @__PURE__ */ w(t.Fragment, {
|
|
71
|
+
children: /* @__PURE__ */ t.cloneElement(s, m)
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
process.env.NODE_ENV !== "production" && (v.propTypes = {
|
|
75
|
+
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
76
|
+
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
77
|
+
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
78
|
+
// └─────────────────────────────────────────────────────────────────────┘
|
|
79
|
+
/**
|
|
80
|
+
* The wrapped element.
|
|
81
|
+
*/
|
|
82
|
+
children: b.isRequired,
|
|
83
|
+
/**
|
|
84
|
+
* If `true`, the React tree is ignored and only the DOM tree is considered.
|
|
85
|
+
* This prop changes how portaled elements are handled.
|
|
86
|
+
* @default false
|
|
87
|
+
*/
|
|
88
|
+
disableReactTree: f.bool,
|
|
89
|
+
/**
|
|
90
|
+
* The mouse event to listen to. You can disable the listener by providing `false`.
|
|
91
|
+
* @default 'onClick'
|
|
92
|
+
*/
|
|
93
|
+
mouseEvent: f.oneOf(["onClick", "onMouseDown", "onMouseUp", "onPointerDown", "onPointerUp", !1]),
|
|
94
|
+
/**
|
|
95
|
+
* Callback fired when a "click away" event is detected.
|
|
96
|
+
*/
|
|
97
|
+
onClickAway: f.func.isRequired,
|
|
98
|
+
/**
|
|
99
|
+
* The touch event to listen to. You can disable the listener by providing `false`.
|
|
100
|
+
* @default 'onTouchEnd'
|
|
101
|
+
*/
|
|
102
|
+
touchEvent: f.oneOf(["onTouchEnd", "onTouchStart", !1])
|
|
103
|
+
});
|
|
104
|
+
process.env.NODE_ENV !== "production" && (v.propTypes = g(v.propTypes));
|
|
105
|
+
export {
|
|
106
|
+
v as C
|
|
107
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import './assets/Dialog.css';
|
|
2
|
+
const _ = "_dialog__subtitle_yi7uo_52", o = "_dialog_yi7uo_52", a = "_dialog__backdrop_yi7uo_87", y = "_dialog__panel_yi7uo_95", i = "_dialog__title_yi7uo_56", p = "_dialog__divider_yi7uo_121", t = "_dialog__actions_yi7uo_134", u = {
|
|
3
|
+
"u-typography-h1": "_u-typography-h1_yi7uo_1",
|
|
4
|
+
"u-typography-h2": "_u-typography-h2_yi7uo_8",
|
|
5
|
+
"u-typography-h3": "_u-typography-h3_yi7uo_15",
|
|
6
|
+
"u-typography-h4": "_u-typography-h4_yi7uo_22",
|
|
7
|
+
"u-typography-h5": "_u-typography-h5_yi7uo_29",
|
|
8
|
+
"u-typography-h6": "_u-typography-h6_yi7uo_36",
|
|
9
|
+
"u-typography-base": "_u-typography-base_yi7uo_43",
|
|
10
|
+
"u-typography-base--xxl": "_u-typography-base--xxl_yi7uo_48",
|
|
11
|
+
"u-typography-base--xl": "_u-typography-base--xl_yi7uo_52",
|
|
12
|
+
dialog__subtitle: _,
|
|
13
|
+
"u-typography-base--lg": "_u-typography-base--lg_yi7uo_56",
|
|
14
|
+
"dialog__title--small": "_dialog__title--small_yi7uo_56",
|
|
15
|
+
"u-typography-base--sm": "_u-typography-base--sm_yi7uo_60",
|
|
16
|
+
"u-typography-base--bold": "_u-typography-base--bold_yi7uo_64",
|
|
17
|
+
"u-typography-base--strikethrough": "_u-typography-base--strikethrough_yi7uo_67",
|
|
18
|
+
"u-typography-base--underlined": "_u-typography-base--underlined_yi7uo_70",
|
|
19
|
+
"u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_yi7uo_73",
|
|
20
|
+
dialog: o,
|
|
21
|
+
dialog__backdrop: a,
|
|
22
|
+
dialog__panel: y,
|
|
23
|
+
dialog__title: i,
|
|
24
|
+
dialog__divider: p,
|
|
25
|
+
"dialog__close-icon": "_dialog__close-icon_yi7uo_125",
|
|
26
|
+
dialog__actions: t
|
|
27
|
+
};
|
|
28
|
+
export {
|
|
29
|
+
u as s
|
|
30
|
+
};
|