@cfx-dev/ui-components 4.2.24 → 4.3.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/dist/Combination-CSgOhzm-.js +2198 -0
- package/dist/Combination-N-vN9BB-.js +823 -0
- package/dist/Table.module-DHI1mXN2.js +17 -0
- package/dist/assets/all_css.css +1 -0
- package/dist/assets/css/Checkbox.css +1 -1
- package/dist/assets/css/DataTable.css +1 -0
- package/dist/assets/css/Table.css +1 -1
- package/dist/assets/general/global.css +1 -1
- package/dist/cfxIcons-B9nzO6TW.js +98 -0
- package/dist/components/Accordion/Accordion.js +25 -26
- package/dist/components/Accordion/AccordionShowcase.js +1 -1
- package/dist/components/Avatar/Avatar.d.ts +2 -1
- package/dist/components/Avatar/Avatar.js +21 -20
- package/dist/components/Avatar/AvatarShowcase.js +1 -1
- package/dist/components/Badge/Badge.d.ts +2 -1
- package/dist/components/Badge/Badge.js +29 -29
- package/dist/components/Badge/BadgeShowcase.js +1 -1
- package/dist/components/BurgerMenu/BurgerMenu.js +2 -2
- package/dist/components/BurgerMenu/BurgerMenuButton.js +1 -1
- package/dist/components/BurgerMenu/BurgerMenuShowcase.js +1 -1
- package/dist/components/Button/Button.d.ts +5 -2
- package/dist/components/Button/Button.js +83 -81
- package/dist/components/Button/ButtonShowcase.js +2 -2
- package/dist/components/Button/LinkButton.d.ts +1 -1
- package/dist/components/Button/LinkButton.js +18 -17
- package/dist/components/Button/index.d.ts +1 -1
- package/dist/components/Button/index.js +7 -7
- package/dist/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/components/Checkbox/Checkbox.js +154 -242
- package/dist/components/ClipboardButton/ClipboardButton.js +7 -7
- package/dist/components/ControlBox/ControlBox.d.ts +3 -2
- package/dist/components/ControlBox/ControlBox.js +13 -10
- package/dist/components/CountryFlag/CountryFlag.d.ts +3 -2
- package/dist/components/CountryFlag/CountryFlag.js +14 -11
- package/dist/components/DataTable/DataTable.d.ts +40 -0
- package/dist/components/DataTable/DataTable.js +163 -0
- package/dist/components/DataTable/DataTableShowcase.d.ts +5 -0
- package/dist/components/DataTable/DataTableShowcase.js +60 -0
- package/dist/components/DataTable/index.d.ts +2 -0
- package/dist/components/DataTable/index.js +6 -0
- package/dist/components/Decorate/Decorate.d.ts +3 -2
- package/dist/components/Decorate/Decorate.js +19 -15
- package/dist/components/Dot/Dot.d.ts +2 -1
- package/dist/components/Dot/Dot.js +15 -13
- package/dist/components/DropdownSelect/DropdownSelect.d.ts +2 -1
- package/dist/components/DropdownSelect/DropdownSelect.js +665 -1836
- package/dist/components/DropdownSelect/DropdownSelectShowcase.js +1 -1
- package/dist/components/Flyout/Flyout.d.ts +2 -1
- package/dist/components/Flyout/Flyout.js +22 -20
- package/dist/components/Icon/Icon.d.ts +2 -1
- package/dist/components/Icon/Icon.js +19 -17
- package/dist/components/IconBig/IconBig.d.ts +2 -1
- package/dist/components/IconBig/IconBig.js +16 -14
- package/dist/components/Icons/IconsShowcase.js +1 -1
- package/dist/components/Icons/cfx-icons/Radio.d.ts +5 -0
- package/dist/components/Icons/cfx-icons/Radio.js +36 -0
- package/dist/components/Icons/cfx-icons/Square.js +15 -9
- package/dist/components/Icons/cfxIcons.d.ts +1 -0
- package/dist/components/Icons/cfxIcons.js +62 -60
- package/dist/components/Icons/index.js +1 -1
- package/dist/components/Indicator/Indicator.js +9 -10
- package/dist/components/InfoPanel/InfoPanelShowcase.js +1 -1
- package/dist/components/Input/Input.d.ts +4 -1
- package/dist/components/Input/Input.js +101 -88
- package/dist/components/Input/InputShowcase.js +1 -1
- package/dist/components/Input/RichInput.d.ts +2 -1
- package/dist/components/Input/RichInput.js +37 -34
- package/dist/components/InputDropzone/InputDropzone.d.ts +1 -1
- package/dist/components/InputDropzone/InputDropzone.js +1723 -625
- package/dist/components/Interactive/Interactive.d.ts +2 -1
- package/dist/components/Interactive/Interactive.js +14 -12
- package/dist/components/Island/Island.d.ts +2 -1
- package/dist/components/Island/Island.js +24 -24
- package/dist/components/Layout/Box/Box.d.ts +8 -2
- package/dist/components/Layout/Box/Box.js +53 -51
- package/dist/components/Layout/Box/Box.types.d.ts +22 -0
- package/dist/components/Layout/Box/Box.types.js +4 -0
- package/dist/components/Layout/Box/index.d.ts +1 -1
- package/dist/components/Layout/Box/index.js +3 -3
- package/dist/components/Layout/Center/Center.d.ts +2 -1
- package/dist/components/Layout/Center/Center.js +19 -18
- package/dist/components/Layout/Flex/Flex.d.ts +6 -10
- package/dist/components/Layout/Flex/Flex.js +53 -64
- package/dist/components/Layout/Flex/FlexRestricter.d.ts +2 -1
- package/dist/components/Layout/Flex/FlexRestricter.js +13 -12
- package/dist/components/Layout/Flex/FlexShowcase.js +1 -1
- package/dist/components/Layout/Flex/index.d.ts +2 -2
- package/dist/components/Layout/Flex/index.js +8 -8
- package/dist/components/Layout/Page/Page.js +11 -12
- package/dist/components/Layout/Scrollable/Rail.d.ts +1 -1
- package/dist/components/Layout/Scrollable/Scrollable.d.ts +2 -1
- package/dist/components/Layout/Scrollable/Scrollable.js +40 -38
- package/dist/components/Layout/Scrollable/ScrollableShowcase.js +1 -1
- package/dist/components/Layout/Scrollable/VirtualScrollable.js +98 -98
- package/dist/components/Link/LinkShowcase.js +1 -1
- package/dist/components/Loaf/Loaf.d.ts +2 -1
- package/dist/components/Loaf/Loaf.js +17 -16
- package/dist/components/Logos/LogosShowcase.js +1 -1
- package/dist/components/Modal/Modal.js +16 -17
- package/dist/components/Modal/ModalShowcase.js +14 -11
- package/dist/components/NavList/NavList.d.ts +2 -1
- package/dist/components/NavList/NavList.js +19 -18
- package/dist/components/OnScreenSensor.js +1 -1
- package/dist/components/Overlay/Overlay.d.ts +4 -2
- package/dist/components/Overlay/Overlay.js +31 -23
- package/dist/components/Popover/Popover.d.ts +3 -2
- package/dist/components/Popover/Popover.js +31 -30
- package/dist/components/Popover/PopoverShowcase.js +4 -4
- package/dist/components/PremiumBadge/PremiumBadge.d.ts +2 -1
- package/dist/components/PremiumBadge/PremiumBadge.js +12 -11
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +666 -1617
- package/dist/components/Select/SelectShowcase.js +1 -1
- package/dist/components/Shroud/Shroud.d.ts +2 -1
- package/dist/components/Shroud/Shroud.js +16 -14
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.js +26 -27
- package/dist/components/Skeleton/SkeletonShowcase.js +4 -4
- package/dist/components/Slider/Slider.d.ts +2 -1
- package/dist/components/Slider/Slider.js +326 -377
- package/dist/components/Slider/SliderShowcase.js +1 -1
- package/dist/components/Switch/Switch.js +109 -155
- package/dist/components/Table/TableBody.d.ts +8 -0
- package/dist/components/Table/TableBody.js +14 -0
- package/dist/components/Table/TableCell.d.ts +11 -0
- package/dist/components/Table/TableCell.js +54 -0
- package/dist/components/Table/TableCellCheckbox.d.ts +11 -0
- package/dist/components/Table/TableCellCheckbox.js +20 -0
- package/dist/components/Table/TableHeader.d.ts +9 -0
- package/dist/components/Table/TableHeader.js +24 -0
- package/dist/components/Table/TableIconButton.d.ts +6 -0
- package/dist/components/Table/TableIconButton.js +16 -0
- package/dist/components/Table/TableRoot.d.ts +8 -0
- package/dist/components/Table/TableRoot.js +23 -0
- package/dist/components/Table/TableRow.d.ts +13 -0
- package/dist/components/Table/TableRow.js +46 -0
- package/dist/components/Table/TableShowcase.js +56 -57
- package/dist/components/Table/index.d.ts +20 -2
- package/dist/components/Table/index.js +17 -5
- package/dist/components/Tabular/TabularShowcase.js +1 -1
- package/dist/components/Text/Text.d.ts +6 -3
- package/dist/components/Text/Text.js +67 -63
- package/dist/components/Text/TextShowcase.js +40 -33
- package/dist/components/Title/Title.d.ts +3 -1
- package/dist/components/Title/TitleShowcase.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroupShowcase.js +1 -1
- package/dist/index-BHuChyf5.js +238 -0
- package/dist/index-Cl_RnsqN.js +386 -0
- package/dist/index-DZEAOJqB.js +53 -0
- package/dist/index-HDl8nGsm.js +70 -0
- package/dist/main.d.ts +6 -4
- package/dist/main.js +66 -65
- package/dist/{medium-BA3EQDZW.js → medium-Bq5NvyU7.js} +1 -1
- package/dist/styles-scss/global.scss +1 -0
- package/dist/tslib.es6-CtHwNPxX.js +72 -0
- package/dist/utils/hooks/useClipboardComponent.d.ts +1 -1
- package/dist/utils/hooks/useOutlet.js +1 -1
- package/dist/utils/hooks/usePopoverController.d.ts +1 -1
- package/dist/utils/links.js +1 -1
- package/dist/utils/mergeRefs.d.ts +1 -1
- package/dist/utils/mergeRefs.js +1 -1
- package/dist/utils/ui/ui.d.ts +1 -0
- package/dist/utils/ui/ui.js +45 -36
- package/dist/utils/ui/ui.types.d.ts +4 -0
- package/package.json +6 -5
- package/dist/Combination-Cbiw1XRb.js +0 -792
- package/dist/cfxIcons-BNd1WgpX.js +0 -96
- package/dist/components/Table/Table.d.ts +0 -42
- package/dist/components/Table/Table.js +0 -170
- package/dist/index-2hJuj4UN.js +0 -19069
- package/dist/index-AweK2ufS.js +0 -171
- package/dist/index-BlbvKsmN.js +0 -82
- package/dist/index-ByaXH_ih.js +0 -10
- package/dist/index-Bz27DCHt.js +0 -1342
- package/dist/index-Cf5Yu9oD.js +0 -67
- package/dist/tslib.es6-CBKHJX9H.js +0 -151
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import * as a from "react";
|
|
2
|
+
import { u as T, a as A } from "./index-BHuChyf5.js";
|
|
3
|
+
function E(n, e) {
|
|
4
|
+
return a.useReducer((r, t) => e[r][t] ?? r, n);
|
|
5
|
+
}
|
|
6
|
+
var R = (n) => {
|
|
7
|
+
const { present: e, children: r } = n, t = P(e), o = typeof r == "function" ? r({ present: t.isPresent }) : a.Children.only(r), c = T(t.ref, v(o));
|
|
8
|
+
return typeof r == "function" || t.isPresent ? a.cloneElement(o, { ref: c }) : null;
|
|
9
|
+
};
|
|
10
|
+
R.displayName = "Presence";
|
|
11
|
+
function P(n) {
|
|
12
|
+
const [e, r] = a.useState(), t = a.useRef(null), o = a.useRef(n), c = a.useRef("none"), p = n ? "mounted" : "unmounted", [N, s] = E(p, {
|
|
13
|
+
mounted: {
|
|
14
|
+
UNMOUNT: "unmounted",
|
|
15
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
16
|
+
},
|
|
17
|
+
unmountSuspended: {
|
|
18
|
+
MOUNT: "mounted",
|
|
19
|
+
ANIMATION_END: "unmounted"
|
|
20
|
+
},
|
|
21
|
+
unmounted: {
|
|
22
|
+
MOUNT: "mounted"
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
return a.useEffect(() => {
|
|
26
|
+
const i = l(t.current);
|
|
27
|
+
c.current = N === "mounted" ? i : "none";
|
|
28
|
+
}, [N]), A(() => {
|
|
29
|
+
const i = t.current, m = o.current;
|
|
30
|
+
if (m !== n) {
|
|
31
|
+
const f = c.current, u = l(i);
|
|
32
|
+
n ? s("MOUNT") : u === "none" || (i == null ? void 0 : i.display) === "none" ? s("UNMOUNT") : s(m && f !== u ? "ANIMATION_OUT" : "UNMOUNT"), o.current = n;
|
|
33
|
+
}
|
|
34
|
+
}, [n, s]), A(() => {
|
|
35
|
+
if (e) {
|
|
36
|
+
let i;
|
|
37
|
+
const m = e.ownerDocument.defaultView ?? window, d = (u) => {
|
|
38
|
+
const g = l(t.current).includes(u.animationName);
|
|
39
|
+
if (u.target === e && g && (s("ANIMATION_END"), !o.current)) {
|
|
40
|
+
const O = e.style.animationFillMode;
|
|
41
|
+
e.style.animationFillMode = "forwards", i = m.setTimeout(() => {
|
|
42
|
+
e.style.animationFillMode === "forwards" && (e.style.animationFillMode = O);
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
}, f = (u) => {
|
|
46
|
+
u.target === e && (c.current = l(t.current));
|
|
47
|
+
};
|
|
48
|
+
return e.addEventListener("animationstart", f), e.addEventListener("animationcancel", d), e.addEventListener("animationend", d), () => {
|
|
49
|
+
m.clearTimeout(i), e.removeEventListener("animationstart", f), e.removeEventListener("animationcancel", d), e.removeEventListener("animationend", d);
|
|
50
|
+
};
|
|
51
|
+
} else
|
|
52
|
+
s("ANIMATION_END");
|
|
53
|
+
}, [e, s]), {
|
|
54
|
+
isPresent: ["mounted", "unmountSuspended"].includes(N),
|
|
55
|
+
ref: a.useCallback((i) => {
|
|
56
|
+
t.current = i ? getComputedStyle(i) : null, r(i);
|
|
57
|
+
}, [])
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function l(n) {
|
|
61
|
+
return (n == null ? void 0 : n.animationName) || "none";
|
|
62
|
+
}
|
|
63
|
+
function v(n) {
|
|
64
|
+
var t, o;
|
|
65
|
+
let e = (t = Object.getOwnPropertyDescriptor(n.props, "ref")) == null ? void 0 : t.get, r = e && "isReactWarning" in e && e.isReactWarning;
|
|
66
|
+
return r ? n.ref : (e = (o = Object.getOwnPropertyDescriptor(n, "ref")) == null ? void 0 : o.get, r = e && "isReactWarning" in e && e.isReactWarning, r ? n.props.ref : n.props.ref || n.ref);
|
|
67
|
+
}
|
|
68
|
+
export {
|
|
69
|
+
R as P
|
|
70
|
+
};
|
package/dist/main.d.ts
CHANGED
|
@@ -64,12 +64,12 @@ export { Interactive } from './components/Interactive';
|
|
|
64
64
|
export type { InteractiveProps } from './components/Interactive';
|
|
65
65
|
export { Island, IslandCorner } from './components/Island';
|
|
66
66
|
export type { IslandProps } from './components/Island';
|
|
67
|
-
export { Box,
|
|
67
|
+
export { Box, stringPropFormater } from './components/Layout/Box';
|
|
68
68
|
export type { BoxProps } from './components/Layout/Box';
|
|
69
69
|
export { Center } from './components/Layout/Center';
|
|
70
70
|
export type { CenterProps } from './components/Layout/Center';
|
|
71
71
|
export { Flex, FlexRestricter, FlexAlignItemsEnum, FlexDirectionEnum, FlexJustifyContentEnum, FlexWrapEnum, } from './components/Layout/Flex';
|
|
72
|
-
export type {
|
|
72
|
+
export type { FlexProps, FlexRestricterProps, FlexAlignItemsType, FlexDirectionType, FlexJustifyContentType, FlexWrapType, } from './components/Layout/Flex';
|
|
73
73
|
export { Pad } from './components/Layout/Pad';
|
|
74
74
|
export type { PadProps } from './components/Layout/Pad';
|
|
75
75
|
export { Page } from './components/Layout/Page';
|
|
@@ -112,8 +112,10 @@ export { ToggleGroup } from './components/ToggleGroup';
|
|
|
112
112
|
export type { ToggleGroupOption, ToggleGroupProps } from './components/ToggleGroup';
|
|
113
113
|
export { Tabular } from './components/Tabular';
|
|
114
114
|
export type { TabularProps, TabularItem, TabularRootProps, } from './components/Tabular';
|
|
115
|
-
export {
|
|
116
|
-
export type {
|
|
115
|
+
export { DataTable, DataTableHeaderItem, DataTableRow, } from './components/DataTable';
|
|
116
|
+
export type { DataTableHeaderType, DataTableProps, DataTableRowType, DataTableContainerType, DataTableHeaderItemProps, DataTableRowProps, } from './components/DataTable';
|
|
117
|
+
export { Table } from './components/Table';
|
|
118
|
+
export type { TableRootProps, TableBodyProps, TableHeaderProps, TableCellProps, TableRowProps, } from './components/Table';
|
|
117
119
|
export { TextSizeEnum, Text, TextBlock, getTextOpacity, DEFAULT_TEXT_COLOR, TEXT_OPACITY_MAP, textSizeResponsiveValueFormatter, } from './components/Text';
|
|
118
120
|
export type { TextSize, TextWeight, TextOpacity, TextAs, TextLetterSpacing, TextProps, TextColorProps, TextFamaly, } from './components/Text';
|
|
119
121
|
export { Textarea } from './components/Textarea';
|
package/dist/main.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { mergeRefs as e } from "./utils/mergeRefs.js";
|
|
2
|
-
import { clsx as
|
|
3
|
-
import { getValue as
|
|
2
|
+
import { clsx as a } from "./utils/clsx.js";
|
|
3
|
+
import { getValue as f } from "./utils/getValue.js";
|
|
4
4
|
import { usePopoverController as x } from "./utils/hooks/usePopoverController.js";
|
|
5
5
|
import { useInstance as l } from "./utils/hooks/useInstance.js";
|
|
6
6
|
import { useDynamicRef as s } from "./utils/hooks/useDynamicRef.js";
|
|
@@ -9,21 +9,21 @@ import { useKeyboardClose as T } from "./utils/hooks/useKeyboardClose.js";
|
|
|
9
9
|
import { useWindowResize as C } from "./utils/hooks/useWindowResize.js";
|
|
10
10
|
import { useOutlet as E } from "./utils/hooks/useOutlet.js";
|
|
11
11
|
import { CLIPBOARD_TITLE_APPEARANCE as L, useClipboardComponent as S } from "./utils/hooks/useClipboardComponent.js";
|
|
12
|
-
import { identity as R, invoke as k, noop as A, returnFalse as
|
|
13
|
-
import { Linkify as
|
|
12
|
+
import { identity as R, invoke as k, noop as A, returnFalse as D, returnTrue as O } from "./utils/functional.js";
|
|
13
|
+
import { Linkify as b, defaultLinkReplacer as F, defaultLinkReplacerx as _, isExternalUrl as v, linkify as h, linkifyx as U, matchLinkNodes as z, matchLinks as w } from "./utils/links.js";
|
|
14
14
|
import { clamp as N, clamp01 as G, minmax as V } from "./utils/math.js";
|
|
15
15
|
import { isFalseString as Y, isTrueString as H, normalizeSlashes as W, replaceRange as X, splitByIndices as J, unicodeCharAt as Q } from "./utils/string.js";
|
|
16
16
|
import { debounce as j, throttle as q } from "./utils/execution.js";
|
|
17
17
|
import { getColor as oo } from "./utils/color.js";
|
|
18
18
|
import { ui as eo } from "./utils/ui/ui.js";
|
|
19
|
-
import { BorderRadiusEnum as
|
|
19
|
+
import { BorderRadiusEnum as ao, ColorEnum as mo, MediaQueryEnum as fo, OffsetEnum as po, TextSizeEnum as xo, ZIndexEnum as no } from "./utils/ui/ui.types.js";
|
|
20
20
|
import { isInEnum as uo } from "./utils/enum.js";
|
|
21
21
|
import { default as io } from "./components/IconButton/IconButton.js";
|
|
22
|
-
import { Accordion as To, AccordionContent as Io, AccordionHeader as Co, AccordionItem as
|
|
22
|
+
import { Accordion as To, AccordionContent as Io, AccordionHeader as Co, AccordionItem as go, AccordionTrigger as Eo } from "./components/Accordion/Accordion.js";
|
|
23
23
|
import { default as Lo } from "./components/ClipboardButton/ClipboardButton.js";
|
|
24
24
|
import { default as yo } from "./components/Checkbox/Checkbox.js";
|
|
25
|
-
import {
|
|
26
|
-
import { ButtonBar as
|
|
25
|
+
import { default as ko, ButtonContent as Ao, getButtonClassName as Do } from "./components/Button/Button.js";
|
|
26
|
+
import { ButtonBar as Po } from "./components/Button/ButtonBar.js";
|
|
27
27
|
import { LinkButton as Fo } from "./components/Button/LinkButton.js";
|
|
28
28
|
import { BurgerMenuButton as vo } from "./components/BurgerMenu/BurgerMenuButton.js";
|
|
29
29
|
import { BurgerMenu as Uo } from "./components/BurgerMenu/BurgerMenu.js";
|
|
@@ -36,9 +36,9 @@ import { default as jo } from "./components/ControlBox/ControlBox.js";
|
|
|
36
36
|
import { default as $o } from "./components/CountryFlag/CountryFlag.js";
|
|
37
37
|
import { default as rr } from "./components/Decorate/Decorate.js";
|
|
38
38
|
import { Dot as tr } from "./components/Dot/Dot.js";
|
|
39
|
-
import { FLYOUT_OUTLET_ID as
|
|
39
|
+
import { FLYOUT_OUTLET_ID as mr, Flyout as fr } from "./components/Flyout/Flyout.js";
|
|
40
40
|
import { Logos as xr } from "./components/Logos/index.js";
|
|
41
|
-
import { I as lr } from "./cfxIcons-
|
|
41
|
+
import { I as lr } from "./cfxIcons-B9nzO6TW.js";
|
|
42
42
|
import { I as sr } from "./cfxIconsBig-BLJjMT-Y.js";
|
|
43
43
|
import { Icon as dr } from "./components/Icon/Icon.js";
|
|
44
44
|
import { IconBig as Tr } from "./components/IconBig/IconBig.js";
|
|
@@ -47,10 +47,10 @@ import { default as Er } from "./components/InfoPanel/InfoPanel.js";
|
|
|
47
47
|
import { default as Lr } from "./components/Input/Input.js";
|
|
48
48
|
import { default as yr } from "./components/Input/RichInput.js";
|
|
49
49
|
import { Interactive as kr } from "./components/Interactive/Interactive.js";
|
|
50
|
-
import { Island as
|
|
51
|
-
import {
|
|
50
|
+
import { Island as Dr, IslandCorner as Or } from "./components/Island/Island.js";
|
|
51
|
+
import { default as br, stringPropFormater as Fr } from "./components/Layout/Box/Box.js";
|
|
52
52
|
import { Center as vr } from "./components/Layout/Center/Center.js";
|
|
53
|
-
import {
|
|
53
|
+
import { default as Ur } from "./components/Layout/Flex/Flex.js";
|
|
54
54
|
import { FlexAlignItemsEnum as wr, FlexDirectionEnum as Mr, FlexJustifyContentEnum as Nr, FlexWrapEnum as Gr } from "./components/Layout/Flex/Flex.types.js";
|
|
55
55
|
import { FlexRestricter as Kr } from "./components/Layout/Flex/FlexRestricter.js";
|
|
56
56
|
import { Pad as Hr } from "./components/Layout/Pad/Pad.js";
|
|
@@ -60,8 +60,8 @@ import { Scrollable as jr } from "./components/Layout/Scrollable/Scrollable.js";
|
|
|
60
60
|
import { VirtualScrollable as $r } from "./components/Layout/Scrollable/VirtualScrollable.js";
|
|
61
61
|
import { Loaf as re } from "./components/Loaf/Loaf.js";
|
|
62
62
|
import { Modal as te } from "./components/Modal/Modal.js";
|
|
63
|
-
import { NavList as
|
|
64
|
-
import { OVERLAY_OUTLET_ID as
|
|
63
|
+
import { NavList as me } from "./components/NavList/NavList.js";
|
|
64
|
+
import { OVERLAY_OUTLET_ID as pe, Overlay as xe } from "./components/Overlay/Overlay.js";
|
|
65
65
|
import { Popover as le } from "./components/Popover/Popover.js";
|
|
66
66
|
import { PremiumBadge as se } from "./components/PremiumBadge/PremiumBadge.js";
|
|
67
67
|
import { Prose as de } from "./components/Prose/Prose.js";
|
|
@@ -71,58 +71,62 @@ import { DropdownSelect as Ee } from "./components/DropdownSelect/DropdownSelect
|
|
|
71
71
|
import { Separator as Le } from "./components/Separator/Separator.js";
|
|
72
72
|
import { Shroud as ye } from "./components/Shroud/Shroud.js";
|
|
73
73
|
import { Slider as ke } from "./components/Slider/Slider.js";
|
|
74
|
-
import { Spacer as
|
|
75
|
-
import { Style as
|
|
74
|
+
import { Spacer as De } from "./components/Spacer/Spacer.js";
|
|
75
|
+
import { Style as Pe, useContextualStyle as be } from "./components/Style/Style.js";
|
|
76
76
|
import { default as _e } from "./components/Switch/Switch.js";
|
|
77
77
|
import { ToggleGroup as he } from "./components/ToggleGroup/ToggleGroup.js";
|
|
78
78
|
import { Tabular as ze } from "./components/Tabular/Tabular.js";
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
79
|
+
import { DataTable as Me, DataTableHeaderItem as Ne, DataTableRow as Ge } from "./components/DataTable/DataTable.js";
|
|
80
|
+
import { Table as Ke } from "./components/Table/index.js";
|
|
81
|
+
import { DEFAULT_TEXT_COLOR as He, TEXT_OPACITY_MAP as We, Text as Xe, TextBlock as Je, getTextOpacity as Qe, textSizeResponsiveValueFormatter as Ze } from "./components/Text/Text.js";
|
|
82
|
+
import { Textarea as qe } from "./components/Textarea/Textarea.js";
|
|
83
|
+
import { TITLE_OUTLET_ID as ot, Title as rt, titleGetCoords as et, titleGetCssStyle as tt } from "./components/Title/Title.js";
|
|
83
84
|
import { default as mt } from "./components/InputDropzone/InputDropzone.js";
|
|
84
85
|
import { default as pt } from "./components/InputDropzone/ItemPreview.js";
|
|
85
|
-
import { default as
|
|
86
|
-
import { OnScreenSensor as
|
|
87
|
-
import { Symbols as
|
|
86
|
+
import { default as nt } from "./components/Skeleton/Skeleton.js";
|
|
87
|
+
import { OnScreenSensor as ut } from "./components/OnScreenSensor.js";
|
|
88
|
+
import { Symbols as it } from "./components/Symbols.js";
|
|
88
89
|
export {
|
|
89
90
|
To as Accordion,
|
|
90
91
|
Io as AccordionContent,
|
|
91
92
|
Co as AccordionHeader,
|
|
92
|
-
|
|
93
|
+
go as AccordionItem,
|
|
93
94
|
Eo as AccordionTrigger,
|
|
94
95
|
Yo as Avatar,
|
|
95
96
|
Wo as BACKDROP_OUTLET_ID,
|
|
96
97
|
Xo as BackdropPortal,
|
|
97
98
|
Qo as Badge,
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
ao as BorderRadiusEnum,
|
|
100
|
+
br as Box,
|
|
100
101
|
Uo as BurgerMenu,
|
|
101
102
|
vo as BurgerMenuButton,
|
|
102
103
|
ko as Button,
|
|
103
|
-
|
|
104
|
+
Po as ButtonBar,
|
|
104
105
|
Ao as ButtonContent,
|
|
105
106
|
Vo as ButtonLink,
|
|
106
107
|
L as CLIPBOARD_TITLE_APPEARANCE,
|
|
107
108
|
vr as Center,
|
|
108
109
|
yo as Checkbox,
|
|
109
110
|
Lo as ClipboardButton,
|
|
110
|
-
|
|
111
|
+
mo as ColorEnum,
|
|
111
112
|
jo as ControlBox,
|
|
112
113
|
$o as CountryFlag,
|
|
113
|
-
|
|
114
|
+
He as DEFAULT_TEXT_COLOR,
|
|
115
|
+
Me as DataTable,
|
|
116
|
+
Ne as DataTableHeaderItem,
|
|
117
|
+
Ge as DataTableRow,
|
|
114
118
|
rr as Decorate,
|
|
115
119
|
tr as Dot,
|
|
116
120
|
Ee as DropdownSelect,
|
|
117
121
|
pt as DropzoneItemPreview,
|
|
118
|
-
|
|
122
|
+
mr as FLYOUT_OUTLET_ID,
|
|
119
123
|
Ur as Flex,
|
|
120
124
|
wr as FlexAlignItemsEnum,
|
|
121
125
|
Mr as FlexDirectionEnum,
|
|
122
126
|
Nr as FlexJustifyContentEnum,
|
|
123
127
|
Kr as FlexRestricter,
|
|
124
128
|
Gr as FlexWrapEnum,
|
|
125
|
-
|
|
129
|
+
fr as Flyout,
|
|
126
130
|
dr as Icon,
|
|
127
131
|
Tr as IconBig,
|
|
128
132
|
io as IconButton,
|
|
@@ -133,19 +137,19 @@ export {
|
|
|
133
137
|
Lr as Input,
|
|
134
138
|
mt as InputDropzone,
|
|
135
139
|
kr as Interactive,
|
|
136
|
-
|
|
137
|
-
|
|
140
|
+
Dr as Island,
|
|
141
|
+
Or as IslandCorner,
|
|
138
142
|
wo as Link,
|
|
139
143
|
Fo as LinkButton,
|
|
140
|
-
|
|
144
|
+
b as Linkify,
|
|
141
145
|
re as Loaf,
|
|
142
146
|
xr as Logos,
|
|
143
|
-
|
|
147
|
+
fo as MediaQueryEnum,
|
|
144
148
|
te as Modal,
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
+
me as NavList,
|
|
150
|
+
pe as OVERLAY_OUTLET_ID,
|
|
151
|
+
po as OffsetEnum,
|
|
152
|
+
ut as OnScreenSensor,
|
|
149
153
|
xe as Overlay,
|
|
150
154
|
Hr as Pad,
|
|
151
155
|
Xr as Page,
|
|
@@ -159,40 +163,36 @@ export {
|
|
|
159
163
|
Ce as Select,
|
|
160
164
|
Le as Separator,
|
|
161
165
|
ye as Shroud,
|
|
162
|
-
|
|
166
|
+
nt as Skeleton,
|
|
163
167
|
ke as Slider,
|
|
164
|
-
|
|
165
|
-
|
|
168
|
+
De as Spacer,
|
|
169
|
+
Pe as Style,
|
|
166
170
|
_e as Switch,
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
Ne as TableHeaderItem,
|
|
172
|
-
Ge as TableIconButton,
|
|
173
|
-
Ve as TableRow,
|
|
171
|
+
it as Symbols,
|
|
172
|
+
We as TEXT_OPACITY_MAP,
|
|
173
|
+
ot as TITLE_OUTLET_ID,
|
|
174
|
+
Ke as Table,
|
|
174
175
|
ze as Tabular,
|
|
175
|
-
|
|
176
|
-
|
|
176
|
+
Xe as Text,
|
|
177
|
+
Je as TextBlock,
|
|
177
178
|
xo as TextSizeEnum,
|
|
178
|
-
|
|
179
|
-
|
|
179
|
+
qe as Textarea,
|
|
180
|
+
rt as Title,
|
|
180
181
|
he as ToggleGroup,
|
|
181
182
|
$r as VirtualScrollable,
|
|
182
183
|
no as ZIndexEnum,
|
|
183
184
|
N as clamp,
|
|
184
185
|
G as clamp01,
|
|
185
|
-
|
|
186
|
+
a as clsx,
|
|
186
187
|
j as debounce,
|
|
187
188
|
F as defaultLinkReplacer,
|
|
188
189
|
_ as defaultLinkReplacerx,
|
|
189
|
-
|
|
190
|
-
Oo as getButtonClassName,
|
|
190
|
+
Do as getButtonClassName,
|
|
191
191
|
oo as getColor,
|
|
192
192
|
Mo as getLinkClassName,
|
|
193
193
|
No as getLinkStyles,
|
|
194
|
-
|
|
195
|
-
|
|
194
|
+
Qe as getTextOpacity,
|
|
195
|
+
f as getValue,
|
|
196
196
|
R as identity,
|
|
197
197
|
k as invoke,
|
|
198
198
|
v as isExternalUrl,
|
|
@@ -208,17 +208,18 @@ export {
|
|
|
208
208
|
A as noop,
|
|
209
209
|
W as normalizeSlashes,
|
|
210
210
|
X as replaceRange,
|
|
211
|
-
|
|
212
|
-
|
|
211
|
+
D as returnFalse,
|
|
212
|
+
O as returnTrue,
|
|
213
213
|
J as splitByIndices,
|
|
214
|
-
|
|
214
|
+
Fr as stringPropFormater,
|
|
215
|
+
Ze as textSizeResponsiveValueFormatter,
|
|
215
216
|
q as throttle,
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
et as titleGetCoords,
|
|
218
|
+
tt as titleGetCssStyle,
|
|
218
219
|
eo as ui,
|
|
219
220
|
Q as unicodeCharAt,
|
|
220
221
|
S as useClipboardComponent,
|
|
221
|
-
|
|
222
|
+
be as useContextualStyle,
|
|
222
223
|
s as useDynamicRef,
|
|
223
224
|
d as useGlobalKeyboardEvent,
|
|
224
225
|
l as useInstance,
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
var i = function(e, n) {
|
|
2
|
+
return i = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, t) {
|
|
3
|
+
r.__proto__ = t;
|
|
4
|
+
} || function(r, t) {
|
|
5
|
+
for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (r[o] = t[o]);
|
|
6
|
+
}, i(e, n);
|
|
7
|
+
};
|
|
8
|
+
function _(e, n) {
|
|
9
|
+
if (typeof n != "function" && n !== null)
|
|
10
|
+
throw new TypeError("Class extends value " + String(n) + " is not a constructor or null");
|
|
11
|
+
i(e, n);
|
|
12
|
+
function r() {
|
|
13
|
+
this.constructor = e;
|
|
14
|
+
}
|
|
15
|
+
e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
16
|
+
}
|
|
17
|
+
var s = function() {
|
|
18
|
+
return s = Object.assign || function(n) {
|
|
19
|
+
for (var r, t = 1, o = arguments.length; t < o; t++) {
|
|
20
|
+
r = arguments[t];
|
|
21
|
+
for (var c in r) Object.prototype.hasOwnProperty.call(r, c) && (n[c] = r[c]);
|
|
22
|
+
}
|
|
23
|
+
return n;
|
|
24
|
+
}, s.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
function O(e, n) {
|
|
27
|
+
var r = {};
|
|
28
|
+
for (var t in e) Object.prototype.hasOwnProperty.call(e, t) && n.indexOf(t) < 0 && (r[t] = e[t]);
|
|
29
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
30
|
+
for (var o = 0, t = Object.getOwnPropertySymbols(e); o < t.length; o++)
|
|
31
|
+
n.indexOf(t[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, t[o]) && (r[t[o]] = e[t[o]]);
|
|
32
|
+
return r;
|
|
33
|
+
}
|
|
34
|
+
function h(e, n, r, t) {
|
|
35
|
+
function o(c) {
|
|
36
|
+
return c instanceof r ? c : new r(function(u) {
|
|
37
|
+
u(c);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
return new (r || (r = Promise))(function(c, u) {
|
|
41
|
+
function l(a) {
|
|
42
|
+
try {
|
|
43
|
+
p(t.next(a));
|
|
44
|
+
} catch (f) {
|
|
45
|
+
u(f);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
function y(a) {
|
|
49
|
+
try {
|
|
50
|
+
p(t.throw(a));
|
|
51
|
+
} catch (f) {
|
|
52
|
+
u(f);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function p(a) {
|
|
56
|
+
a.done ? c(a.value) : o(a.value).then(l, y);
|
|
57
|
+
}
|
|
58
|
+
p((t = t.apply(e, n || [])).next());
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
function d(e, n, r) {
|
|
62
|
+
if (r || arguments.length === 2) for (var t = 0, o = n.length, c; t < o; t++)
|
|
63
|
+
(c || !(t in n)) && (c || (c = Array.prototype.slice.call(n, 0, t)), c[t] = n[t]);
|
|
64
|
+
return e.concat(c || Array.prototype.slice.call(n));
|
|
65
|
+
}
|
|
66
|
+
export {
|
|
67
|
+
s as _,
|
|
68
|
+
h as a,
|
|
69
|
+
_ as b,
|
|
70
|
+
O as c,
|
|
71
|
+
d
|
|
72
|
+
};
|
|
@@ -11,5 +11,5 @@ export declare function useClipboardComponent(props: UseClipboardProps): {
|
|
|
11
11
|
handleClick: () => void;
|
|
12
12
|
title: string | undefined;
|
|
13
13
|
copied: boolean;
|
|
14
|
-
clipboardRef: React.
|
|
14
|
+
clipboardRef: React.RefObject<Clipboard | null>;
|
|
15
15
|
};
|
|
@@ -2,7 +2,7 @@ import { default as React } from 'react';
|
|
|
2
2
|
|
|
3
3
|
export declare function usePopoverController(): {
|
|
4
4
|
active: boolean;
|
|
5
|
-
wrapperRef: React.RefObject<HTMLDivElement>;
|
|
5
|
+
wrapperRef: React.RefObject<HTMLDivElement | null>;
|
|
6
6
|
handleMouseEnter: () => void;
|
|
7
7
|
handleMouseLeave: () => void;
|
|
8
8
|
handleMouseDown: () => void;
|
package/dist/utils/links.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as le, Fragment as Be } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { b as z, _ as C } from "../tslib.es6-CtHwNPxX.js";
|
|
3
3
|
import De from "react";
|
|
4
4
|
import { splitByIndices as Ee } from "./string.js";
|
|
5
5
|
var ke = "3.16.2";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
|
|
3
|
-
export declare function mergeRefs<T =
|
|
3
|
+
export declare function mergeRefs<T = unknown>(...refs: (React.RefCallback<T> | React.RefObject<T> | undefined | null)[]): React.RefCallback<T>;
|
package/dist/utils/mergeRefs.js
CHANGED
package/dist/utils/ui/ui.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export declare namespace ui {
|
|
|
35
35
|
export const getOffsetStyles: (name: string, value?: ResponsiveValueType<OffsetType | number>) => import("react").CSSProperties;
|
|
36
36
|
type CallbackType<T> = (name: string, value: ResponsiveOffsetType) => T;
|
|
37
37
|
export function callAllMPProps<T extends object>(props: Partial<MPProps>, callback: CallbackType<T>): T;
|
|
38
|
+
export const optimizeMPProps: (props: Partial<MPProps>) => Partial<MPProps>;
|
|
38
39
|
export const getAllMPStyles: (props: Partial<MPProps>) => React.CSSProperties;
|
|
39
40
|
export const getAllMPClassnames: (props: Partial<MPProps>) => string;
|
|
40
41
|
export {};
|
package/dist/utils/ui/ui.js
CHANGED
|
@@ -1,68 +1,77 @@
|
|
|
1
|
-
import { clsx as
|
|
2
|
-
var
|
|
1
|
+
import { clsx as m } from "../clsx.js";
|
|
2
|
+
var d;
|
|
3
3
|
((t) => {
|
|
4
|
-
function
|
|
4
|
+
function f(e = 1) {
|
|
5
5
|
return `calc(var(--quant) * ${e})`;
|
|
6
6
|
}
|
|
7
|
-
t.q =
|
|
8
|
-
function
|
|
7
|
+
t.q = f;
|
|
8
|
+
function p(e) {
|
|
9
9
|
return `var(--offset-${e})`;
|
|
10
10
|
}
|
|
11
|
-
t.offset =
|
|
11
|
+
t.offset = p;
|
|
12
12
|
function b(e = "normal") {
|
|
13
13
|
return `var(--font-size-${e})`;
|
|
14
14
|
}
|
|
15
15
|
t.fontSize = b;
|
|
16
|
-
function
|
|
16
|
+
function y(e = "first") {
|
|
17
17
|
return `var(--zindex-${e})`;
|
|
18
18
|
}
|
|
19
|
-
t.zindex =
|
|
20
|
-
function
|
|
19
|
+
t.zindex = y;
|
|
20
|
+
function g(e = "normal") {
|
|
21
21
|
return `var(--line-height-${e})`;
|
|
22
22
|
}
|
|
23
|
-
t.lineHeight =
|
|
24
|
-
function
|
|
23
|
+
t.lineHeight = g;
|
|
24
|
+
function x(e = "normal") {
|
|
25
25
|
return `var(--border-radius-${e})`;
|
|
26
26
|
}
|
|
27
|
-
t.borderRadius =
|
|
28
|
-
function
|
|
27
|
+
t.borderRadius = x;
|
|
28
|
+
function h(e, r, o = 1) {
|
|
29
29
|
let n = r;
|
|
30
30
|
return n === "pure" && (n = ""), typeof n == "number" && (n = `${n}`), `rgba(var(--color-${e}${n ? `-${n}` : ""}), ${o})`;
|
|
31
31
|
}
|
|
32
|
-
t.color =
|
|
32
|
+
t.color = h, ((e) => {
|
|
33
33
|
e.fullWidth = "util-full-width", e.fullHeight = "util-full-height", e.flexGrow = "util-flex-grow", e.flexNoShrink = "util-flex-no-shrink", e.userSelectableText = "util-text-selectable", e.zIndex9000 = "util-z-index-9000";
|
|
34
34
|
})(t.cls || (t.cls = {})), t.pc = (e) => `${e}%`, t.px = (e) => `${e}px`, t.ch = (e) => `${e}ch`, t.em = (e) => `${e}em`, t.rem = (e) => `${e}rem`, t.vh = (e) => `${e}vh`, t.vw = (e) => `${e}vw`, t.url = (e) => `url(${e})`;
|
|
35
|
-
function
|
|
36
|
-
return e == null ? "" : typeof e == "number" ?
|
|
35
|
+
function l(e) {
|
|
36
|
+
return e == null ? "" : typeof e == "number" ? f(e) : e.toString();
|
|
37
37
|
}
|
|
38
|
-
t.defaultResponsiveValueFormatter =
|
|
39
|
-
function
|
|
40
|
-
return r == null ? {} : typeof r == "object" && !Array.isArray(r) ? Object.entries(r).reduce((n, [
|
|
38
|
+
t.defaultResponsiveValueFormatter = l;
|
|
39
|
+
function u(e, r, o = l) {
|
|
40
|
+
return r == null ? {} : typeof r == "object" && !Array.isArray(r) ? Object.entries(r).reduce((n, [i, s]) => (n[`--${e}-${i}`] = o(s), n), {}) : {
|
|
41
41
|
[`--${e}-initial`]: o(r)
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
t.getResponsiveStyles =
|
|
45
|
-
function
|
|
46
|
-
return r == null ? "" : typeof r == "object" && !Array.isArray(r) ?
|
|
44
|
+
t.getResponsiveStyles = u;
|
|
45
|
+
function c(e, r) {
|
|
46
|
+
return r == null ? "" : typeof r == "object" && !Array.isArray(r) ? m(Object.keys(r).map((o) => `ui-${e}-${o}`)) : `ui-${e}-initial`;
|
|
47
47
|
}
|
|
48
|
-
t.getResponsiveClassnames =
|
|
49
|
-
function
|
|
50
|
-
return r == null ? [] : typeof r == "object" && !Array.isArray(r) ? Object.entries(r).reduce((n, [
|
|
48
|
+
t.getResponsiveClassnames = c;
|
|
49
|
+
function P(e, r, o = l) {
|
|
50
|
+
return r == null ? [] : typeof r == "object" && !Array.isArray(r) ? Object.entries(r).reduce((n, [i, s]) => (n.push(`${e}-${i}-${o(s)}`), n), []) : [`${e}-initial-${o(r)}`];
|
|
51
51
|
}
|
|
52
|
-
t.getResponsiveFlatClassnames =
|
|
53
|
-
function
|
|
54
|
-
return typeof e == "number" ?
|
|
52
|
+
t.getResponsiveFlatClassnames = P;
|
|
53
|
+
function $(e) {
|
|
54
|
+
return typeof e == "number" ? f(e) : p(e);
|
|
55
55
|
}
|
|
56
|
-
t.offsetResponsiveValueFormatter =
|
|
57
|
-
function
|
|
58
|
-
return Object.entries(e).reduce((o, [n,
|
|
56
|
+
t.offsetResponsiveValueFormatter = $, t.getOffsetStyles = (e, r) => u(e, r, $);
|
|
57
|
+
function a(e, r) {
|
|
58
|
+
return Object.entries(e).reduce((o, [n, i]) => (Object.assign(o, r(n, i)), o), {});
|
|
59
59
|
}
|
|
60
|
-
t.callAllMPProps =
|
|
61
|
-
|
|
62
|
-
|
|
60
|
+
t.callAllMPProps = a, t.optimizeMPProps = (e) => {
|
|
61
|
+
const {
|
|
62
|
+
px: r,
|
|
63
|
+
py: o,
|
|
64
|
+
mx: n,
|
|
65
|
+
my: i,
|
|
66
|
+
...s
|
|
67
|
+
} = e;
|
|
68
|
+
return r && (s.pr = r, s.pl = r), o && (s.pt = o, s.pb = o), n && (s.mr = n, s.ml = n), i && (s.mt = i, s.mb = i), s;
|
|
69
|
+
}, t.getAllMPStyles = (e) => a((0, t.optimizeMPProps)(e), t.getOffsetStyles), t.getAllMPClassnames = (e) => m(
|
|
70
|
+
Object.entries((0, t.optimizeMPProps)(e)).map(
|
|
71
|
+
([r, o]) => c(r, o)
|
|
63
72
|
)
|
|
64
73
|
);
|
|
65
|
-
})(
|
|
74
|
+
})(d || (d = {}));
|
|
66
75
|
export {
|
|
67
|
-
|
|
76
|
+
d as ui
|
|
68
77
|
};
|
|
@@ -78,9 +78,13 @@ export interface MPProps {
|
|
|
78
78
|
mr?: ResponsiveOffsetType;
|
|
79
79
|
mb?: ResponsiveOffsetType;
|
|
80
80
|
ml?: ResponsiveOffsetType;
|
|
81
|
+
my?: ResponsiveOffsetType;
|
|
82
|
+
mx?: ResponsiveOffsetType;
|
|
81
83
|
p?: ResponsiveOffsetType;
|
|
82
84
|
pt?: ResponsiveOffsetType;
|
|
83
85
|
pr?: ResponsiveOffsetType;
|
|
84
86
|
pb?: ResponsiveOffsetType;
|
|
85
87
|
pl?: ResponsiveOffsetType;
|
|
88
|
+
py?: ResponsiveOffsetType;
|
|
89
|
+
px?: ResponsiveOffsetType;
|
|
86
90
|
}
|