@cerberus-design/react 0.13.2-next-4bdc7c3 → 0.13.2-next-46f23d2
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/build/legacy/_tsup-dts-rollup.d.cts +49 -22
- package/build/legacy/components/Admonition.cjs.map +1 -1
- package/build/legacy/components/Avatar.cjs.map +1 -1
- package/build/legacy/components/Checkbox.cjs.map +1 -1
- package/build/legacy/components/FileStatus.cjs.map +1 -1
- package/build/legacy/components/FileUploader.cjs.map +1 -1
- package/build/legacy/components/Input.cjs.map +1 -1
- package/build/legacy/components/Notification.cjs.map +1 -1
- package/build/legacy/components/NotificationDescription.cjs.map +1 -1
- package/build/legacy/components/NotificationHeading.cjs.map +1 -1
- package/build/legacy/components/ProgressBar.cjs.map +1 -1
- package/build/legacy/components/Select.cjs.map +1 -1
- package/build/legacy/components/Tag.cjs.map +1 -1
- package/build/legacy/components/Text.cjs +59 -0
- package/build/legacy/components/Text.cjs.map +1 -0
- package/build/legacy/components/Toggle.cjs.map +1 -1
- package/build/legacy/config/cerbIcons.cjs.map +1 -1
- package/build/legacy/config/defineIcons.cjs.map +1 -1
- package/build/legacy/config/icons/checkbox.icons.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/cta-modal.cjs +2 -3
- package/build/legacy/context/cta-modal.cjs.map +1 -1
- package/build/legacy/context/notification-center.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/index.cjs +118 -86
- package/build/legacy/index.cjs.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +49 -22
- package/build/modern/chunk-2ZNIYPDV.js +47 -0
- package/build/modern/chunk-2ZNIYPDV.js.map +1 -0
- package/build/modern/{chunk-7SGPJM66.js → chunk-35L6DOHE.js} +2 -2
- package/build/modern/chunk-35L6DOHE.js.map +1 -0
- package/build/modern/{chunk-XL4JREDT.js → chunk-3DGV4ESI.js} +2 -2
- package/build/modern/{chunk-4QBPJVEN.js → chunk-42RVVWGM.js} +4 -4
- package/build/modern/chunk-42RVVWGM.js.map +1 -0
- package/build/modern/{chunk-N4QTLDVM.js → chunk-67KLFLNR.js} +3 -3
- package/build/modern/{chunk-SPZYPRZ6.js → chunk-C3HYHH3H.js} +2 -2
- package/build/modern/{chunk-TM5AS6M6.js → chunk-CMDPTXHB.js} +3 -3
- package/build/modern/chunk-CMDPTXHB.js.map +1 -0
- package/build/modern/{chunk-CP7OUC2Q.js → chunk-E3PAEB7Y.js} +1 -1
- package/build/modern/chunk-E3PAEB7Y.js.map +1 -0
- package/build/modern/{chunk-NMNONSHU.js → chunk-MRH2EO3L.js} +2 -2
- package/build/modern/{chunk-622N7YRT.js → chunk-NF5WV3OW.js} +5 -6
- package/build/modern/chunk-NF5WV3OW.js.map +1 -0
- package/build/modern/{chunk-W4DXACNV.js → chunk-OFAATLPF.js} +3 -3
- package/build/modern/{chunk-NB6DV4VA.js → chunk-PGXJJDPH.js} +2 -2
- package/build/modern/{chunk-7MM5KYEX.js → chunk-RET4YOBV.js} +4 -4
- package/build/modern/{chunk-C3CDRCHS.js → chunk-RHHFH6JJ.js} +4 -4
- package/build/modern/chunk-RHHFH6JJ.js.map +1 -0
- package/build/modern/{chunk-SXIXDXG3.js → chunk-SLHYBPJ5.js} +1 -1
- package/build/modern/chunk-SLHYBPJ5.js.map +1 -0
- package/build/modern/{chunk-NKM6PISB.js → chunk-SVFZJYLV.js} +2 -2
- package/build/modern/{chunk-VERRHMW4.js → chunk-UBN2CZLV.js} +2 -2
- package/build/modern/{chunk-XEW6TJJ4.js → chunk-UXY3KCC3.js} +1 -1
- package/build/modern/chunk-UXY3KCC3.js.map +1 -0
- package/build/modern/{chunk-F72ZABKX.js → chunk-W3YI64C5.js} +2 -2
- package/build/modern/{chunk-KCANMM64.js → chunk-WZJ5UQNM.js} +1 -1
- package/build/modern/chunk-WZJ5UQNM.js.map +1 -0
- package/build/modern/{chunk-F27AAKQ3.js → chunk-XNX3OTJK.js} +2 -2
- package/build/modern/components/Admonition.js +5 -5
- package/build/modern/components/Avatar.js +4 -4
- package/build/modern/components/Checkbox.js +4 -4
- package/build/modern/components/FileStatus.js +6 -6
- package/build/modern/components/FileUploader.js +5 -5
- package/build/modern/components/Input.js +4 -4
- package/build/modern/components/Notification.js +4 -4
- package/build/modern/components/NotificationDescription.js +1 -1
- package/build/modern/components/NotificationHeading.js +1 -1
- package/build/modern/components/ProgressBar.js +1 -1
- package/build/modern/components/Select.js +4 -4
- package/build/modern/components/Tag.js +4 -4
- package/build/modern/components/Text.js +7 -0
- package/build/modern/components/Text.js.map +1 -0
- package/build/modern/components/Toggle.js +4 -4
- package/build/modern/config/cerbIcons.js +2 -2
- package/build/modern/config/defineIcons.js +3 -3
- package/build/modern/config/icons/checkbox.icons.js +1 -1
- package/build/modern/context/confirm-modal.js +5 -5
- package/build/modern/context/cta-modal.js +5 -5
- package/build/modern/context/notification-center.js +7 -7
- package/build/modern/context/prompt-modal.js +6 -6
- package/build/modern/index.js +24 -20
- package/build/modern/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/Notification.tsx +6 -3
- package/src/components/NotificationDescription.tsx +2 -2
- package/src/components/NotificationHeading.tsx +1 -2
- package/src/components/ProgressBar.tsx +1 -1
- package/src/components/Text.tsx +70 -0
- package/src/config/icons/checkbox.icons.tsx +2 -2
- package/src/context/confirm-modal.tsx +1 -1
- package/src/context/cta-modal.tsx +6 -7
- package/src/context/notification-center.tsx +1 -1
- package/src/context/prompt-modal.tsx +1 -1
- package/src/index.ts +1 -0
- package/build/modern/chunk-4QBPJVEN.js.map +0 -1
- package/build/modern/chunk-622N7YRT.js.map +0 -1
- package/build/modern/chunk-7SGPJM66.js.map +0 -1
- package/build/modern/chunk-C3CDRCHS.js.map +0 -1
- package/build/modern/chunk-CP7OUC2Q.js.map +0 -1
- package/build/modern/chunk-KCANMM64.js.map +0 -1
- package/build/modern/chunk-SXIXDXG3.js.map +0 -1
- package/build/modern/chunk-TM5AS6M6.js.map +0 -1
- package/build/modern/chunk-XEW6TJJ4.js.map +0 -1
- /package/build/modern/{chunk-XL4JREDT.js.map → chunk-3DGV4ESI.js.map} +0 -0
- /package/build/modern/{chunk-N4QTLDVM.js.map → chunk-67KLFLNR.js.map} +0 -0
- /package/build/modern/{chunk-SPZYPRZ6.js.map → chunk-C3HYHH3H.js.map} +0 -0
- /package/build/modern/{chunk-NMNONSHU.js.map → chunk-MRH2EO3L.js.map} +0 -0
- /package/build/modern/{chunk-W4DXACNV.js.map → chunk-OFAATLPF.js.map} +0 -0
- /package/build/modern/{chunk-NB6DV4VA.js.map → chunk-PGXJJDPH.js.map} +0 -0
- /package/build/modern/{chunk-7MM5KYEX.js.map → chunk-RET4YOBV.js.map} +0 -0
- /package/build/modern/{chunk-NKM6PISB.js.map → chunk-SVFZJYLV.js.map} +0 -0
- /package/build/modern/{chunk-VERRHMW4.js.map → chunk-UBN2CZLV.js.map} +0 -0
- /package/build/modern/{chunk-F72ZABKX.js.map → chunk-W3YI64C5.js.map} +0 -0
- /package/build/modern/{chunk-F27AAKQ3.js.map → chunk-XNX3OTJK.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-BUVVRQLZ.js";
|
|
7
7
|
import {
|
|
8
8
|
$cerberusIcons
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UBN2CZLV.js";
|
|
10
10
|
|
|
11
11
|
// src/components/Input.tsx
|
|
12
12
|
import { input } from "@cerberus/styled-system/recipes";
|
|
@@ -39,4 +39,4 @@ function Input(props) {
|
|
|
39
39
|
export {
|
|
40
40
|
Input
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=chunk-
|
|
42
|
+
//# sourceMappingURL=chunk-SVFZJYLV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
defaultIcons
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XNX3OTJK.js";
|
|
4
4
|
|
|
5
5
|
// src/config/defineIcons.ts
|
|
6
6
|
function _validateIconsProperties(icons) {
|
|
@@ -24,4 +24,4 @@ export {
|
|
|
24
24
|
defineIcons,
|
|
25
25
|
$cerberusIcons
|
|
26
26
|
};
|
|
27
|
-
//# sourceMappingURL=chunk-
|
|
27
|
+
//# sourceMappingURL=chunk-UBN2CZLV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/NotificationDescription.tsx"],"sourcesContent":["import { cx } from '@cerberus/styled-system/css'\nimport {\n notification,\n type NotificationVariantProps,\n} from '@cerberus/styled-system/recipes'\nimport type { HTMLAttributes } from 'react'\n\n/**\n * This module exports the NotificationDescription component.\n * @module\n */\n\nexport type BaseNotificationDescriptionProps =\n HTMLAttributes<HTMLParagraphElement>\nexport type NotificationDescriptionProps = BaseNotificationDescriptionProps &\n NotificationVariantProps\n\n/**\n * Used to render the description of a notification.\n * @see https://cerberus.digitalu.design/react/notification\n * @memberof module:NotificationCenter\n * @param props - The anything a HTMLParagraphElement can accept.\n */\nexport function NotificationDescription(props: NotificationDescriptionProps) {\n const { palette, ...nativeProps } = props\n const styles = notification({ palette })\n return (\n <p\n className={cx(nativeProps.className, styles.description)}\n {...nativeProps}\n />\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAuBH;AAJG,SAAS,wBAAwB,OAAqC;AAC3E,QAAM,EAAE,SAAS,GAAG,YAAY,IAAI;AACpC,QAAM,SAAS,aAAa,EAAE,QAAQ,CAAC;AACvC,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW,GAAG,YAAY,WAAW,OAAO,WAAW;AAAA,MACtD,GAAG;AAAA;AAAA,EACN;AAEJ;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-BUVVRQLZ.js";
|
|
4
4
|
import {
|
|
5
5
|
$cerberusIcons
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UBN2CZLV.js";
|
|
7
7
|
|
|
8
8
|
// src/components/Tag.tsx
|
|
9
9
|
import { css, cx } from "@cerberus/styled-system/css";
|
|
@@ -61,4 +61,4 @@ var closableCss = css({
|
|
|
61
61
|
export {
|
|
62
62
|
Tag
|
|
63
63
|
};
|
|
64
|
-
//# sourceMappingURL=chunk-
|
|
64
|
+
//# sourceMappingURL=chunk-W3YI64C5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/ProgressBar.tsx"],"sourcesContent":["import { cx } from '@cerberus/styled-system/css'\nimport {\n progressBar,\n type ProgressBarVariantProps,\n} from '@cerberus/styled-system/recipes'\nimport type { HTMLAttributes } from 'react'\n\n/**\n * This module contains the ProgressBar component.\n * @module\n */\n\nexport type ProgressBarBaseProps = HTMLAttributes<HTMLDivElement>\nexport type NonIndeterminateProgressBarProps = {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The state of the progress bar.\n */\n indeterminate?: never\n /**\n * The current value of the progress bar.\n */\n now: number\n}\nexport type IndeterminateProgressBarProps = {\n /**\n * A unique identifier for the progress bar. Required for accessibility.\n */\n id: string\n /**\n * A description label for the progress bar. Required for accessibility.\n */\n label: string\n /**\n * The state of the progress bar.\n */\n indeterminate?: true\n /**\n * The current value of the progress bar.\n */\n now?: never\n}\nexport type ProgressBarProps = ProgressBarBaseProps &\n ProgressBarVariantProps &\n (NonIndeterminateProgressBarProps | IndeterminateProgressBarProps)\n\n/**\n * The ProgressBar component is used to display the progress of a task.\n * @see https://cerberus.digitalu.design/react/progress-indicators\n * @example\n * ```tsx\n * <ProgressBar value={75} />\n * ```\n */\nexport function ProgressBar(props: ProgressBarProps) {\n const { indeterminate, size, usage, now, label, ...nativeProps } = props\n const styles = progressBar({ size, usage })\n const nowClamped = Math.min(100, Math.max(0, now || 0))\n const width = {\n width: indeterminate ? '50%' : `${nowClamped}%`,\n }\n\n return (\n <div\n {...nativeProps}\n aria-label={label}\n aria-valuemin={0}\n aria-valuemax={100}\n aria-valuenow={indeterminate ? 0 : nowClamped}\n className={cx(nativeProps.className, styles.root)}\n role=\"progressbar\"\n >\n <div\n {...(indeterminate && { 'data-indeterminate': true })}\n data-complete={nowClamped === 100}\n className={styles.bar}\n style={width}\n />\n </div>\n )\n}\n"],"mappings":";AAAA,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AA2ED;AAlBC,SAAS,YAAY,OAAyB;AACnD,QAAM,EAAE,eAAe,MAAM,OAAO,KAAK,OAAO,GAAG,YAAY,IAAI;AACnE,QAAM,SAAS,YAAY,EAAE,MAAM,MAAM,CAAC;AAC1C,QAAM,aAAa,KAAK,IAAI,KAAK,KAAK,IAAI,GAAG,OAAO,CAAC,CAAC;AACtD,QAAM,QAAQ;AAAA,IACZ,OAAO,gBAAgB,QAAQ,GAAG,UAAU;AAAA,EAC9C;AAEA,SACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,cAAY;AAAA,MACZ,iBAAe;AAAA,MACf,iBAAe;AAAA,MACf,iBAAe,gBAAgB,IAAI;AAAA,MACnC,WAAW,GAAG,YAAY,WAAW,OAAO,IAAI;AAAA,MAChD,MAAK;AAAA,MAEL;AAAA,QAAC;AAAA;AAAA,UACE,GAAI,iBAAiB,EAAE,sBAAsB,KAAK;AAAA,UACnD,iBAAe,eAAe;AAAA,UAC9B,WAAW,OAAO;AAAA,UAClB,OAAO;AAAA;AAAA,MACT;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CheckmarkIcon,
|
|
3
3
|
IndeterminateIcon
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E3PAEB7Y.js";
|
|
5
5
|
import {
|
|
6
6
|
AnimatingUploadIcon
|
|
7
7
|
} from "./chunk-HVKM54BA.js";
|
|
@@ -45,4 +45,4 @@ var defaultIcons = {
|
|
|
45
45
|
export {
|
|
46
46
|
defaultIcons
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=chunk-
|
|
48
|
+
//# sourceMappingURL=chunk-XNX3OTJK.js.map
|
|
@@ -2,12 +2,12 @@ import {
|
|
|
2
2
|
Admonition,
|
|
3
3
|
AdmonitionDescription,
|
|
4
4
|
AdmonitionHeading
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-67KLFLNR.js";
|
|
6
|
+
import "../chunk-C3HYHH3H.js";
|
|
7
7
|
import "../chunk-BUVVRQLZ.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-UBN2CZLV.js";
|
|
9
|
+
import "../chunk-XNX3OTJK.js";
|
|
10
|
+
import "../chunk-E3PAEB7Y.js";
|
|
11
11
|
import "../chunk-HVKM54BA.js";
|
|
12
12
|
export {
|
|
13
13
|
Admonition,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Avatar
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-C3HYHH3H.js";
|
|
4
4
|
import "../chunk-BUVVRQLZ.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-UBN2CZLV.js";
|
|
6
|
+
import "../chunk-XNX3OTJK.js";
|
|
7
|
+
import "../chunk-E3PAEB7Y.js";
|
|
8
8
|
import "../chunk-HVKM54BA.js";
|
|
9
9
|
export {
|
|
10
10
|
Avatar
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Checkbox
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-PGXJJDPH.js";
|
|
5
5
|
import "../chunk-UZDVOIW5.js";
|
|
6
6
|
import "../chunk-BUVVRQLZ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UBN2CZLV.js";
|
|
8
|
+
import "../chunk-XNX3OTJK.js";
|
|
9
|
+
import "../chunk-E3PAEB7Y.js";
|
|
10
10
|
import "../chunk-HVKM54BA.js";
|
|
11
11
|
export {
|
|
12
12
|
Checkbox
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FileStatus,
|
|
4
4
|
processStatus
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-RET4YOBV.js";
|
|
6
|
+
import "../chunk-WZJ5UQNM.js";
|
|
7
7
|
import "../chunk-APD6IX5R.js";
|
|
8
8
|
import "../chunk-JWIJHSI6.js";
|
|
9
9
|
import "../chunk-UZDVOIW5.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-C3HYHH3H.js";
|
|
11
11
|
import "../chunk-BUVVRQLZ.js";
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-UBN2CZLV.js";
|
|
13
|
+
import "../chunk-XNX3OTJK.js";
|
|
14
|
+
import "../chunk-E3PAEB7Y.js";
|
|
15
15
|
import "../chunk-HVKM54BA.js";
|
|
16
16
|
export {
|
|
17
17
|
FileStatus,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
FileUploader
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-OFAATLPF.js";
|
|
5
|
+
import "../chunk-C3HYHH3H.js";
|
|
6
6
|
import "../chunk-BUVVRQLZ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UBN2CZLV.js";
|
|
8
|
+
import "../chunk-XNX3OTJK.js";
|
|
9
|
+
import "../chunk-E3PAEB7Y.js";
|
|
10
10
|
import "../chunk-HVKM54BA.js";
|
|
11
11
|
export {
|
|
12
12
|
FileUploader
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Input
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SVFZJYLV.js";
|
|
5
5
|
import "../chunk-UZDVOIW5.js";
|
|
6
6
|
import "../chunk-BUVVRQLZ.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UBN2CZLV.js";
|
|
8
|
+
import "../chunk-XNX3OTJK.js";
|
|
9
|
+
import "../chunk-E3PAEB7Y.js";
|
|
10
10
|
import "../chunk-HVKM54BA.js";
|
|
11
11
|
export {
|
|
12
12
|
Input
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Notification
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-35L6DOHE.js";
|
|
5
5
|
import "../chunk-JIZQFTW6.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-UBN2CZLV.js";
|
|
7
|
+
import "../chunk-XNX3OTJK.js";
|
|
8
|
+
import "../chunk-E3PAEB7Y.js";
|
|
9
9
|
import "../chunk-HVKM54BA.js";
|
|
10
10
|
export {
|
|
11
11
|
Notification
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Option,
|
|
4
4
|
Select
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-3DGV4ESI.js";
|
|
6
6
|
import "../chunk-UZDVOIW5.js";
|
|
7
7
|
import "../chunk-BUVVRQLZ.js";
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-UBN2CZLV.js";
|
|
9
|
+
import "../chunk-XNX3OTJK.js";
|
|
10
|
+
import "../chunk-E3PAEB7Y.js";
|
|
11
11
|
import "../chunk-HVKM54BA.js";
|
|
12
12
|
export {
|
|
13
13
|
Option,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Tag
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-W3YI64C5.js";
|
|
4
4
|
import "../chunk-BUVVRQLZ.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
5
|
+
import "../chunk-UBN2CZLV.js";
|
|
6
|
+
import "../chunk-XNX3OTJK.js";
|
|
7
|
+
import "../chunk-E3PAEB7Y.js";
|
|
8
8
|
import "../chunk-HVKM54BA.js";
|
|
9
9
|
export {
|
|
10
10
|
Tag
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Toggle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-MRH2EO3L.js";
|
|
5
5
|
import "../chunk-UZDVOIW5.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-UBN2CZLV.js";
|
|
7
|
+
import "../chunk-XNX3OTJK.js";
|
|
8
|
+
import "../chunk-E3PAEB7Y.js";
|
|
9
9
|
import "../chunk-HVKM54BA.js";
|
|
10
10
|
export {
|
|
11
11
|
Toggle
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$cerberusIcons,
|
|
3
3
|
defineIcons
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-UBN2CZLV.js";
|
|
5
|
+
import "../chunk-XNX3OTJK.js";
|
|
6
|
+
import "../chunk-E3PAEB7Y.js";
|
|
7
7
|
import "../chunk-HVKM54BA.js";
|
|
8
8
|
export {
|
|
9
9
|
$cerberusIcons,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ConfirmModal,
|
|
4
4
|
useConfirmModal
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-CMDPTXHB.js";
|
|
6
6
|
import "../chunk-IQJDVFPP.js";
|
|
7
7
|
import "../chunk-BE4EOU2P.js";
|
|
8
8
|
import "../chunk-Q7BRMIBR.js";
|
|
@@ -10,12 +10,12 @@ import "../chunk-XY6WL55R.js";
|
|
|
10
10
|
import "../chunk-2UXE5PDG.js";
|
|
11
11
|
import "../chunk-EXGKZGML.js";
|
|
12
12
|
import "../chunk-KGQG5JGW.js";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-C3HYHH3H.js";
|
|
14
14
|
import "../chunk-BUVVRQLZ.js";
|
|
15
15
|
import "../chunk-JIZQFTW6.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-UBN2CZLV.js";
|
|
17
|
+
import "../chunk-XNX3OTJK.js";
|
|
18
|
+
import "../chunk-E3PAEB7Y.js";
|
|
19
19
|
import "../chunk-HVKM54BA.js";
|
|
20
20
|
export {
|
|
21
21
|
ConfirmModal,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
CTAModal,
|
|
4
4
|
useCTAModal
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-NF5WV3OW.js";
|
|
6
6
|
import "../chunk-IQJDVFPP.js";
|
|
7
7
|
import "../chunk-BE4EOU2P.js";
|
|
8
8
|
import "../chunk-Q7BRMIBR.js";
|
|
@@ -11,12 +11,12 @@ import "../chunk-2UXE5PDG.js";
|
|
|
11
11
|
import "../chunk-APD6IX5R.js";
|
|
12
12
|
import "../chunk-EXGKZGML.js";
|
|
13
13
|
import "../chunk-KGQG5JGW.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-C3HYHH3H.js";
|
|
15
15
|
import "../chunk-BUVVRQLZ.js";
|
|
16
16
|
import "../chunk-JIZQFTW6.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-UBN2CZLV.js";
|
|
18
|
+
import "../chunk-XNX3OTJK.js";
|
|
19
|
+
import "../chunk-E3PAEB7Y.js";
|
|
20
20
|
import "../chunk-HVKM54BA.js";
|
|
21
21
|
export {
|
|
22
22
|
CTAModal,
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
NotificationCenter,
|
|
4
4
|
useNotificationCenter
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-RHHFH6JJ.js";
|
|
6
|
+
import "../chunk-35L6DOHE.js";
|
|
7
|
+
import "../chunk-UXY3KCC3.js";
|
|
8
|
+
import "../chunk-SLHYBPJ5.js";
|
|
9
9
|
import "../chunk-IQJDVFPP.js";
|
|
10
10
|
import "../chunk-EXGKZGML.js";
|
|
11
11
|
import "../chunk-BUVVRQLZ.js";
|
|
12
12
|
import "../chunk-JIZQFTW6.js";
|
|
13
|
-
import "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-UBN2CZLV.js";
|
|
14
|
+
import "../chunk-XNX3OTJK.js";
|
|
15
|
+
import "../chunk-E3PAEB7Y.js";
|
|
16
16
|
import "../chunk-HVKM54BA.js";
|
|
17
17
|
export {
|
|
18
18
|
NotificationCenter,
|
|
@@ -2,23 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
PromptModal,
|
|
4
4
|
usePromptModal
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-42RVVWGM.js";
|
|
6
6
|
import "../chunk-IQJDVFPP.js";
|
|
7
7
|
import "../chunk-BE4EOU2P.js";
|
|
8
8
|
import "../chunk-Q7BRMIBR.js";
|
|
9
9
|
import "../chunk-XY6WL55R.js";
|
|
10
10
|
import "../chunk-2UXE5PDG.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-SVFZJYLV.js";
|
|
12
12
|
import "../chunk-NMF2HYWO.js";
|
|
13
13
|
import "../chunk-EXGKZGML.js";
|
|
14
14
|
import "../chunk-UZDVOIW5.js";
|
|
15
15
|
import "../chunk-KGQG5JGW.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-C3HYHH3H.js";
|
|
17
17
|
import "../chunk-BUVVRQLZ.js";
|
|
18
18
|
import "../chunk-JIZQFTW6.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-UBN2CZLV.js";
|
|
20
|
+
import "../chunk-XNX3OTJK.js";
|
|
21
|
+
import "../chunk-E3PAEB7Y.js";
|
|
22
22
|
import "../chunk-HVKM54BA.js";
|
|
23
23
|
export {
|
|
24
24
|
PromptModal,
|
package/build/modern/index.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NotificationCenter,
|
|
3
3
|
useNotificationCenter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-RHHFH6JJ.js";
|
|
5
5
|
import {
|
|
6
6
|
PromptModal,
|
|
7
7
|
usePromptModal
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-42RVVWGM.js";
|
|
9
9
|
import {
|
|
10
10
|
ThemeProvider,
|
|
11
11
|
useThemeContext
|
|
12
12
|
} from "./chunk-EB37HRCN.js";
|
|
13
|
+
import {
|
|
14
|
+
Text
|
|
15
|
+
} from "./chunk-2ZNIYPDV.js";
|
|
13
16
|
import {
|
|
14
17
|
Textarea
|
|
15
18
|
} from "./chunk-JIJM6JFJ.js";
|
|
@@ -21,18 +24,18 @@ import {
|
|
|
21
24
|
} from "./chunk-Y6QQCRQV.js";
|
|
22
25
|
import {
|
|
23
26
|
Toggle
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MRH2EO3L.js";
|
|
25
28
|
import {
|
|
26
29
|
Tooltip
|
|
27
30
|
} from "./chunk-LPALHB6R.js";
|
|
28
31
|
import {
|
|
29
32
|
ConfirmModal,
|
|
30
33
|
useConfirmModal
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-CMDPTXHB.js";
|
|
32
35
|
import {
|
|
33
36
|
CTAModal,
|
|
34
37
|
useCTAModal
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-NF5WV3OW.js";
|
|
36
39
|
import {
|
|
37
40
|
Spinner
|
|
38
41
|
} from "./chunk-7SYJFI5E.js";
|
|
@@ -51,7 +54,7 @@ import {
|
|
|
51
54
|
} from "./chunk-B4CVET74.js";
|
|
52
55
|
import {
|
|
53
56
|
Tag
|
|
54
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-W3YI64C5.js";
|
|
55
58
|
import {
|
|
56
59
|
Tbody
|
|
57
60
|
} from "./chunk-ZR37P4NZ.js";
|
|
@@ -60,13 +63,13 @@ import {
|
|
|
60
63
|
} from "./chunk-3R4TIF2X.js";
|
|
61
64
|
import {
|
|
62
65
|
Notification
|
|
63
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-35L6DOHE.js";
|
|
64
67
|
import {
|
|
65
68
|
NotificationDescription
|
|
66
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-UXY3KCC3.js";
|
|
67
70
|
import {
|
|
68
71
|
NotificationHeading
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-SLHYBPJ5.js";
|
|
70
73
|
import {
|
|
71
74
|
Portal
|
|
72
75
|
} from "./chunk-IQJDVFPP.js";
|
|
@@ -76,7 +79,7 @@ import {
|
|
|
76
79
|
import {
|
|
77
80
|
Option,
|
|
78
81
|
Select
|
|
79
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-3DGV4ESI.js";
|
|
80
83
|
import {
|
|
81
84
|
Menu,
|
|
82
85
|
MenuContent,
|
|
@@ -121,19 +124,19 @@ import {
|
|
|
121
124
|
import {
|
|
122
125
|
FileStatus,
|
|
123
126
|
processStatus
|
|
124
|
-
} from "./chunk-
|
|
127
|
+
} from "./chunk-RET4YOBV.js";
|
|
125
128
|
import {
|
|
126
129
|
ProgressBar
|
|
127
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-WZJ5UQNM.js";
|
|
128
131
|
import {
|
|
129
132
|
FileUploader
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-OFAATLPF.js";
|
|
131
134
|
import {
|
|
132
135
|
IconButton
|
|
133
136
|
} from "./chunk-APD6IX5R.js";
|
|
134
137
|
import {
|
|
135
138
|
Input
|
|
136
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-SVFZJYLV.js";
|
|
137
140
|
import {
|
|
138
141
|
Label
|
|
139
142
|
} from "./chunk-NMF2HYWO.js";
|
|
@@ -145,7 +148,7 @@ import {
|
|
|
145
148
|
} from "./chunk-EXGKZGML.js";
|
|
146
149
|
import {
|
|
147
150
|
Checkbox
|
|
148
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-PGXJJDPH.js";
|
|
149
152
|
import {
|
|
150
153
|
CircularProgress
|
|
151
154
|
} from "./chunk-6QHOKCV3.js";
|
|
@@ -197,10 +200,10 @@ import {
|
|
|
197
200
|
Admonition,
|
|
198
201
|
AdmonitionDescription,
|
|
199
202
|
AdmonitionHeading
|
|
200
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-67KLFLNR.js";
|
|
201
204
|
import {
|
|
202
205
|
Avatar
|
|
203
|
-
} from "./chunk-
|
|
206
|
+
} from "./chunk-C3HYHH3H.js";
|
|
204
207
|
import {
|
|
205
208
|
Show
|
|
206
209
|
} from "./chunk-BUVVRQLZ.js";
|
|
@@ -222,9 +225,9 @@ import {
|
|
|
222
225
|
import {
|
|
223
226
|
$cerberusIcons,
|
|
224
227
|
defineIcons
|
|
225
|
-
} from "./chunk-
|
|
226
|
-
import "./chunk-
|
|
227
|
-
import "./chunk-
|
|
228
|
+
} from "./chunk-UBN2CZLV.js";
|
|
229
|
+
import "./chunk-XNX3OTJK.js";
|
|
230
|
+
import "./chunk-E3PAEB7Y.js";
|
|
228
231
|
import "./chunk-HVKM54BA.js";
|
|
229
232
|
import {
|
|
230
233
|
DateFormats,
|
|
@@ -304,6 +307,7 @@ export {
|
|
|
304
307
|
Tag,
|
|
305
308
|
Tbody,
|
|
306
309
|
Td,
|
|
310
|
+
Text,
|
|
307
311
|
Textarea,
|
|
308
312
|
Th,
|
|
309
313
|
Thead,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * This module is the entry point for the Cerberus React package.\n * @module\n */\n\n// components\n\nexport * from './components/Accordion'\nexport * from './components/AccordionItemGroup'\nexport * from './components/Admonition'\nexport * from './components/Avatar'\nexport * from './components/Button'\nexport * from './components/Checkbox'\nexport * from './components/CircularProgress'\nexport * from './components/Droppable'\nexport * from './components/FieldMessage'\nexport * from './components/FeatureFlag'\nexport * from './components/Fieldset'\nexport * from './components/FieldsetLabel'\nexport * from './components/FileStatus'\nexport * from './components/FileUploader'\nexport * from './components/IconButton'\nexport * from './components/Input'\nexport * from './components/Label'\nexport * from './components/Legend'\nexport * from './components/Menu'\nexport * from './components/Modal'\nexport * from './components/ModalHeader'\nexport * from './components/ModalHeading'\nexport * from './components/ModalDescription'\nexport * from './components/NavMenuTrigger'\nexport * from './components/NavMenuList'\nexport * from './components/NavMenuLink'\nexport * from './components/Notification'\nexport * from './components/NotificationHeading'\nexport * from './components/NotificationDescription'\nexport * from './components/Portal'\nexport * from './components/ProgressBar'\nexport * from './components/Radio'\nexport * from './components/Select'\nexport * from './components/Spinner'\nexport * from './components/Tab'\nexport * from './components/TabList'\nexport * from './components/TabPanel'\nexport * from './components/Table'\nexport * from './components/Thead'\nexport * from './components/Th'\nexport * from './components/Td'\nexport * from './components/Tbody'\nexport * from './components/Tag'\nexport * from './components/Textarea'\nexport * from './components/Toggle'\nexport * from './components/Tooltip'\nexport * from './components/Show'\n\n// context\n\nexport * from './context/confirm-modal'\nexport * from './context/cta-modal'\nexport * from './context/feature-flags'\nexport * from './context/field'\nexport * from './context/navMenu'\nexport * from './context/notification-center'\nexport * from './context/prompt-modal'\nexport * from './context/tabs'\nexport * from './context/theme'\n\n// hooks\n\nexport * from './hooks/useDate'\nexport * from './hooks/useModal'\nexport * from './hooks/useTheme'\nexport * from './hooks/useToggle'\nexport * from './hooks/useRootColors'\n\n// aria-helpers\n\nexport * from './aria-helpers/nav-menu.aria'\nexport * from './aria-helpers/tabs.aria'\nexport * from './aria-helpers/trap-focus.aria'\n\n// utils\n\nexport * from './config/defineIcons'\nexport * from './utils/index'\n\n// shared types\n\nexport * from './types'\n\n// 3rd party\n\nexport * from '@dnd-kit/core'\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["/**\n * This module is the entry point for the Cerberus React package.\n * @module\n */\n\n// components\n\nexport * from './components/Accordion'\nexport * from './components/AccordionItemGroup'\nexport * from './components/Admonition'\nexport * from './components/Avatar'\nexport * from './components/Button'\nexport * from './components/Checkbox'\nexport * from './components/CircularProgress'\nexport * from './components/Droppable'\nexport * from './components/FieldMessage'\nexport * from './components/FeatureFlag'\nexport * from './components/Fieldset'\nexport * from './components/FieldsetLabel'\nexport * from './components/FileStatus'\nexport * from './components/FileUploader'\nexport * from './components/IconButton'\nexport * from './components/Input'\nexport * from './components/Label'\nexport * from './components/Legend'\nexport * from './components/Menu'\nexport * from './components/Modal'\nexport * from './components/ModalHeader'\nexport * from './components/ModalHeading'\nexport * from './components/ModalDescription'\nexport * from './components/NavMenuTrigger'\nexport * from './components/NavMenuList'\nexport * from './components/NavMenuLink'\nexport * from './components/Notification'\nexport * from './components/NotificationHeading'\nexport * from './components/NotificationDescription'\nexport * from './components/Portal'\nexport * from './components/ProgressBar'\nexport * from './components/Radio'\nexport * from './components/Select'\nexport * from './components/Spinner'\nexport * from './components/Tab'\nexport * from './components/TabList'\nexport * from './components/TabPanel'\nexport * from './components/Table'\nexport * from './components/Thead'\nexport * from './components/Th'\nexport * from './components/Td'\nexport * from './components/Tbody'\nexport * from './components/Tag'\nexport * from './components/Text'\nexport * from './components/Textarea'\nexport * from './components/Toggle'\nexport * from './components/Tooltip'\nexport * from './components/Show'\n\n// context\n\nexport * from './context/confirm-modal'\nexport * from './context/cta-modal'\nexport * from './context/feature-flags'\nexport * from './context/field'\nexport * from './context/navMenu'\nexport * from './context/notification-center'\nexport * from './context/prompt-modal'\nexport * from './context/tabs'\nexport * from './context/theme'\n\n// hooks\n\nexport * from './hooks/useDate'\nexport * from './hooks/useModal'\nexport * from './hooks/useTheme'\nexport * from './hooks/useToggle'\nexport * from './hooks/useRootColors'\n\n// aria-helpers\n\nexport * from './aria-helpers/nav-menu.aria'\nexport * from './aria-helpers/tabs.aria'\nexport * from './aria-helpers/trap-focus.aria'\n\n// utils\n\nexport * from './config/defineIcons'\nexport * from './utils/index'\n\n// shared types\n\nexport * from './types'\n\n// 3rd party\n\nexport * from '@dnd-kit/core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerberus-design/react",
|
|
3
|
-
"version": "0.13.2-next-
|
|
3
|
+
"version": "0.13.2-next-46f23d2",
|
|
4
4
|
"description": "The Cerberus Design React component library.",
|
|
5
5
|
"browserslist": "> 0.25%, not dead",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"react": "^18",
|
|
27
27
|
"react-dom": "^18",
|
|
28
28
|
"tsup": "^8.1.0",
|
|
29
|
-
"@cerberus-design/
|
|
30
|
-
"@cerberus-design/
|
|
29
|
+
"@cerberus-design/configs": "0.0.0",
|
|
30
|
+
"@cerberus-design/styled-system": "0.13.2-next-46f23d2"
|
|
31
31
|
},
|
|
32
32
|
"publishConfig": {
|
|
33
33
|
"access": "public"
|