@cerberus-design/react 0.15.0-next-5d7dc1e → 0.15.0-next-7a184be
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 +238 -92
- package/build/legacy/components/{FieldsetLabel.cjs → deprecated/FieldsetLabel.cjs} +1 -1
- package/build/legacy/components/deprecated/FieldsetLabel.cjs.map +1 -0
- package/build/legacy/components/fieldset/fieldset.cjs +116 -0
- package/build/legacy/components/fieldset/fieldset.cjs.map +1 -0
- package/build/legacy/components/fieldset/index.cjs +126 -0
- package/build/legacy/components/fieldset/index.cjs.map +1 -0
- package/build/legacy/components/fieldset/parts.cjs +80 -0
- package/build/legacy/components/fieldset/parts.cjs.map +1 -0
- package/build/legacy/components/fieldset/primitives.cjs +76 -0
- package/build/legacy/components/fieldset/primitives.cjs.map +1 -0
- package/build/legacy/components/radio/index.cjs +143 -0
- package/build/legacy/components/radio/index.cjs.map +1 -0
- package/build/legacy/components/radio/parts.cjs +113 -0
- package/build/legacy/components/radio/parts.cjs.map +1 -0
- package/build/legacy/components/radio/primitives.cjs +115 -0
- package/build/legacy/components/radio/primitives.cjs.map +1 -0
- package/build/legacy/components/radio/radio.cjs +82 -0
- package/build/legacy/components/radio/radio.cjs.map +1 -0
- package/build/legacy/index.cjs +764 -635
- package/build/legacy/index.cjs.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +238 -92
- package/build/modern/chunk-5RTNSVYU.js +88 -0
- package/build/modern/chunk-5RTNSVYU.js.map +1 -0
- package/build/modern/chunk-7TQRTBUP.js +19 -0
- package/build/modern/chunk-7TQRTBUP.js.map +1 -0
- package/build/modern/chunk-AO3GB72J.js +27 -0
- package/build/modern/chunk-AO3GB72J.js.map +1 -0
- package/build/modern/{chunk-OYT7RGC7.js → chunk-DRDNNRU3.js} +2 -2
- package/build/modern/chunk-DRDNNRU3.js.map +1 -0
- package/build/modern/chunk-FUL2VRDU.js +25 -0
- package/build/modern/chunk-FUL2VRDU.js.map +1 -0
- package/build/modern/chunk-IDTAB2UJ.js +1 -0
- package/build/modern/chunk-OGYMMATX.js +1 -0
- package/build/modern/{chunk-FK52US7K.js → chunk-RHCTPSKT.js} +7 -7
- package/build/modern/chunk-STLN7BMJ.js +22 -0
- package/build/modern/chunk-STLN7BMJ.js.map +1 -0
- package/build/modern/chunk-Z3FDG263.js +53 -0
- package/build/modern/chunk-Z3FDG263.js.map +1 -0
- package/build/modern/{chunk-CF3EHG42.js → chunk-ZFFW5ELD.js} +4 -4
- package/build/modern/components/AccordionItemGroup.js +1 -1
- package/build/modern/components/DatePicker.client.js +3 -3
- package/build/modern/components/FileStatus.js +2 -2
- package/build/modern/components/deprecated/FieldsetLabel.js +7 -0
- package/build/modern/components/fieldset/fieldset.js +11 -0
- package/build/modern/components/fieldset/fieldset.js.map +1 -0
- package/build/modern/components/fieldset/index.js +24 -0
- package/build/modern/components/fieldset/index.js.map +1 -0
- package/build/modern/components/fieldset/parts.js +8 -0
- package/build/modern/components/fieldset/parts.js.map +1 -0
- package/build/modern/components/fieldset/primitives.js +13 -0
- package/build/modern/components/fieldset/primitives.js.map +1 -0
- package/build/modern/components/radio/index.js +30 -0
- package/build/modern/components/radio/index.js.map +1 -0
- package/build/modern/components/radio/parts.js +8 -0
- package/build/modern/components/radio/parts.js.map +1 -0
- package/build/modern/components/radio/primitives.js +21 -0
- package/build/modern/components/radio/primitives.js.map +1 -0
- package/build/modern/components/radio/radio.js +8 -0
- package/build/modern/components/radio/radio.js.map +1 -0
- package/build/modern/context/confirm-modal.js +1 -1
- package/build/modern/context/cta-modal.js +2 -2
- package/build/modern/context/prompt-modal.js +1 -1
- package/build/modern/index.js +115 -77
- package/build/modern/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/deprecated/FieldsetLabel.tsx +32 -0
- package/src/components/fieldset/fieldset.tsx +55 -0
- package/src/components/fieldset/index.ts +3 -0
- package/src/components/fieldset/parts.ts +47 -0
- package/src/components/fieldset/primitives.tsx +79 -0
- package/src/components/radio/index.ts +3 -0
- package/src/components/radio/parts.ts +65 -0
- package/src/components/radio/primitives.tsx +123 -0
- package/src/components/radio/radio.tsx +35 -0
- package/src/index.ts +3 -3
- package/build/legacy/components/Fieldset.cjs +0 -53
- package/build/legacy/components/Fieldset.cjs.map +0 -1
- package/build/legacy/components/FieldsetLabel.cjs.map +0 -1
- package/build/legacy/components/Radio.cjs +0 -64
- package/build/legacy/components/Radio.cjs.map +0 -1
- package/build/modern/chunk-6EUC3SUI.js +0 -28
- package/build/modern/chunk-6EUC3SUI.js.map +0 -1
- package/build/modern/chunk-6WOJAMZV.js +0 -40
- package/build/modern/chunk-6WOJAMZV.js.map +0 -1
- package/build/modern/chunk-OYT7RGC7.js.map +0 -1
- package/build/modern/components/Fieldset.js +0 -8
- package/build/modern/components/FieldsetLabel.js +0 -7
- package/build/modern/components/Radio.js +0 -7
- package/src/components/Fieldset.tsx +0 -65
- package/src/components/FieldsetLabel.tsx +0 -62
- package/src/components/Radio.tsx +0 -68
- /package/build/modern/{components/Fieldset.js.map → chunk-IDTAB2UJ.js.map} +0 -0
- /package/build/modern/{components/FieldsetLabel.js.map → chunk-OGYMMATX.js.map} +0 -0
- /package/build/modern/{chunk-FK52US7K.js.map → chunk-RHCTPSKT.js.map} +0 -0
- /package/build/modern/{chunk-CF3EHG42.js.map → chunk-ZFFW5ELD.js.map} +0 -0
- /package/build/modern/components/{Radio.js.map → deprecated/FieldsetLabel.js.map} +0 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
// src/components/fieldset/primitives.tsx
|
|
2
|
+
import {
|
|
3
|
+
Fieldset
|
|
4
|
+
} from "@ark-ui/react/fieldset";
|
|
5
|
+
import { cx } from "@cerberus/styled-system/css";
|
|
6
|
+
import {
|
|
7
|
+
fieldset
|
|
8
|
+
} from "@cerberus/styled-system/recipes";
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
function FieldsetRoot(props) {
|
|
11
|
+
const styles = fieldset();
|
|
12
|
+
return /* @__PURE__ */ jsx(Fieldset.Root, { ...props, className: cx(styles.root, props.className) });
|
|
13
|
+
}
|
|
14
|
+
function FieldsetLegend(props) {
|
|
15
|
+
const { usage, ...legendProps } = props;
|
|
16
|
+
const styles = fieldset({ usage });
|
|
17
|
+
return /* @__PURE__ */ jsx(
|
|
18
|
+
Fieldset.Legend,
|
|
19
|
+
{
|
|
20
|
+
...legendProps,
|
|
21
|
+
className: cx(styles.legend, legendProps.className)
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
}
|
|
25
|
+
function FieldsetHelperText(props) {
|
|
26
|
+
const { usage, ...helperTextProps } = props;
|
|
27
|
+
const styles = fieldset({ usage });
|
|
28
|
+
return /* @__PURE__ */ jsx(
|
|
29
|
+
Fieldset.HelperText,
|
|
30
|
+
{
|
|
31
|
+
...helperTextProps,
|
|
32
|
+
className: cx(styles.helperText, helperTextProps.className)
|
|
33
|
+
}
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
function FieldsetErrorText(props) {
|
|
37
|
+
const styles = fieldset();
|
|
38
|
+
return /* @__PURE__ */ jsx(
|
|
39
|
+
Fieldset.ErrorText,
|
|
40
|
+
{
|
|
41
|
+
...props,
|
|
42
|
+
className: cx(styles.errorText, props.className)
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export {
|
|
48
|
+
FieldsetRoot,
|
|
49
|
+
FieldsetLegend,
|
|
50
|
+
FieldsetHelperText,
|
|
51
|
+
FieldsetErrorText
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=chunk-Z3FDG263.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/components/fieldset/primitives.tsx"],"sourcesContent":["import {\n Fieldset,\n type FieldsetHelperTextProps,\n type FieldsetLegendProps,\n type FieldsetRootProps,\n} from '@ark-ui/react/fieldset'\nimport { cx } from '@cerberus/styled-system/css'\nimport {\n fieldset,\n type FieldsetVariantProps,\n} from '@cerberus/styled-system/recipes'\n\n/**\n * This module contains all the primitives of the Fieldset component.\n * @module 'react/fieldset'\n */\n\n/**\n * The context & container for the Fieldset components.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetRoot(props: FieldsetRootProps) {\n const styles = fieldset()\n return (\n <Fieldset.Root {...props} className={cx(styles.root, props.className)} />\n )\n}\n\n/**\n * The legend element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetLegend(\n props: FieldsetLegendProps & FieldsetVariantProps,\n) {\n const { usage, ...legendProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.Legend\n {...legendProps}\n className={cx(styles.legend, legendProps.className)}\n />\n )\n}\n\n/**\n * The description element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetHelperText(\n props: FieldsetHelperTextProps & FieldsetVariantProps,\n) {\n const { usage, ...helperTextProps } = props\n const styles = fieldset({ usage })\n return (\n <Fieldset.HelperText\n {...helperTextProps}\n className={cx(styles.helperText, helperTextProps.className)}\n />\n )\n}\n\n/**\n * The error text element for the Fieldset group.\n * @description [Fieldset Docs](https://cerberus.digitalu.design/react/fieldset)\n * @description [Primitive Docs](https://ark-ui.com/react/docs/components/fieldset)\n */\nexport function FieldsetErrorText(props: FieldsetHelperTextProps) {\n const styles = fieldset()\n return (\n <Fieldset.ErrorText\n {...props}\n className={cx(styles.errorText, props.className)}\n />\n )\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,OAIK;AACP,SAAS,UAAU;AACnB;AAAA,EACE;AAAA,OAEK;AAeH;AAHG,SAAS,aAAa,OAA0B;AACrD,QAAM,SAAS,SAAS;AACxB,SACE,oBAAC,SAAS,MAAT,EAAe,GAAG,OAAO,WAAW,GAAG,OAAO,MAAM,MAAM,SAAS,GAAG;AAE3E;AAOO,SAAS,eACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,YAAY,IAAI;AAClC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,QAAQ,YAAY,SAAS;AAAA;AAAA,EACpD;AAEJ;AAOO,SAAS,mBACd,OACA;AACA,QAAM,EAAE,OAAO,GAAG,gBAAgB,IAAI;AACtC,QAAM,SAAS,SAAS,EAAE,MAAM,CAAC;AACjC,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,YAAY,gBAAgB,SAAS;AAAA;AAAA,EAC5D;AAEJ;AAOO,SAAS,kBAAkB,OAAgC;AAChE,QAAM,SAAS,SAAS;AACxB,SACE;AAAA,IAAC,SAAS;AAAA,IAAT;AAAA,MACE,GAAG;AAAA,MACJ,WAAW,GAAG,OAAO,WAAW,MAAM,SAAS;AAAA;AAAA,EACjD;AAEJ;","names":[]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProgressBar
|
|
3
3
|
} from "./chunk-WZJ5UQNM.js";
|
|
4
|
-
import {
|
|
5
|
-
Avatar
|
|
6
|
-
} from "./chunk-SXLPDPOZ.js";
|
|
7
4
|
import {
|
|
8
5
|
IconButton
|
|
9
6
|
} from "./chunk-APD6IX5R.js";
|
|
7
|
+
import {
|
|
8
|
+
Avatar
|
|
9
|
+
} from "./chunk-SXLPDPOZ.js";
|
|
10
10
|
import {
|
|
11
11
|
Field
|
|
12
12
|
} from "./chunk-FBS7AX76.js";
|
|
@@ -227,4 +227,4 @@ export {
|
|
|
227
227
|
processStatus,
|
|
228
228
|
FileStatus
|
|
229
229
|
};
|
|
230
|
-
//# sourceMappingURL=chunk-
|
|
230
|
+
//# sourceMappingURL=chunk-ZFFW5ELD.js.map
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
DatePickerViewControlGroup,
|
|
11
11
|
DatePickerYearView,
|
|
12
12
|
RangePickerInput
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-IQJDVFPP.js";
|
|
15
|
-
import "../chunk-APD6IX5R.js";
|
|
13
|
+
} from "../chunk-RHCTPSKT.js";
|
|
16
14
|
import "../chunk-5EWCH7AI.js";
|
|
15
|
+
import "../chunk-APD6IX5R.js";
|
|
16
|
+
import "../chunk-IQJDVFPP.js";
|
|
17
17
|
import "../chunk-GITT5645.js";
|
|
18
18
|
import "../chunk-6KZVE4HC.js";
|
|
19
19
|
import "../chunk-7SYJFI5E.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
FileStatus,
|
|
4
4
|
processStatus
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-ZFFW5ELD.js";
|
|
6
6
|
import "../chunk-WZJ5UQNM.js";
|
|
7
|
-
import "../chunk-SXLPDPOZ.js";
|
|
8
7
|
import "../chunk-APD6IX5R.js";
|
|
8
|
+
import "../chunk-SXLPDPOZ.js";
|
|
9
9
|
import "../chunk-TYPULJMJ.js";
|
|
10
10
|
import "../chunk-FBS7AX76.js";
|
|
11
11
|
import "../chunk-6I2FW4WI.js";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Fieldset
|
|
3
|
+
} from "../../chunk-AO3GB72J.js";
|
|
4
|
+
import "../../chunk-7TQRTBUP.js";
|
|
5
|
+
import "../../chunk-Z3FDG263.js";
|
|
6
|
+
import "../../chunk-BL7G3577.js";
|
|
7
|
+
import "../../chunk-FQLMPEYX.js";
|
|
8
|
+
export {
|
|
9
|
+
Fieldset
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=fieldset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import "../../chunk-IDTAB2UJ.js";
|
|
2
|
+
import {
|
|
3
|
+
Fieldset
|
|
4
|
+
} from "../../chunk-AO3GB72J.js";
|
|
5
|
+
import {
|
|
6
|
+
FieldsetParts
|
|
7
|
+
} from "../../chunk-7TQRTBUP.js";
|
|
8
|
+
import {
|
|
9
|
+
FieldsetErrorText,
|
|
10
|
+
FieldsetHelperText,
|
|
11
|
+
FieldsetLegend,
|
|
12
|
+
FieldsetRoot
|
|
13
|
+
} from "../../chunk-Z3FDG263.js";
|
|
14
|
+
import "../../chunk-BL7G3577.js";
|
|
15
|
+
import "../../chunk-FQLMPEYX.js";
|
|
16
|
+
export {
|
|
17
|
+
Fieldset,
|
|
18
|
+
FieldsetErrorText,
|
|
19
|
+
FieldsetHelperText,
|
|
20
|
+
FieldsetLegend,
|
|
21
|
+
FieldsetParts,
|
|
22
|
+
FieldsetRoot
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
FieldsetErrorText,
|
|
3
|
+
FieldsetHelperText,
|
|
4
|
+
FieldsetLegend,
|
|
5
|
+
FieldsetRoot
|
|
6
|
+
} from "../../chunk-Z3FDG263.js";
|
|
7
|
+
export {
|
|
8
|
+
FieldsetErrorText,
|
|
9
|
+
FieldsetHelperText,
|
|
10
|
+
FieldsetLegend,
|
|
11
|
+
FieldsetRoot
|
|
12
|
+
};
|
|
13
|
+
//# sourceMappingURL=primitives.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import "../../chunk-OGYMMATX.js";
|
|
2
|
+
import {
|
|
3
|
+
Radio
|
|
4
|
+
} from "../../chunk-STLN7BMJ.js";
|
|
5
|
+
import {
|
|
6
|
+
RadioParts
|
|
7
|
+
} from "../../chunk-FUL2VRDU.js";
|
|
8
|
+
import {
|
|
9
|
+
RadioGroup,
|
|
10
|
+
RadioGroupIndicator,
|
|
11
|
+
RadioGroupItem,
|
|
12
|
+
RadioGroupItemControl,
|
|
13
|
+
RadioGroupItemHiddenInput,
|
|
14
|
+
RadioGroupItemText,
|
|
15
|
+
RadioGroupLabel,
|
|
16
|
+
RadioGroupRoot
|
|
17
|
+
} from "../../chunk-5RTNSVYU.js";
|
|
18
|
+
export {
|
|
19
|
+
Radio,
|
|
20
|
+
RadioGroup,
|
|
21
|
+
RadioGroupIndicator,
|
|
22
|
+
RadioGroupItem,
|
|
23
|
+
RadioGroupItemControl,
|
|
24
|
+
RadioGroupItemHiddenInput,
|
|
25
|
+
RadioGroupItemText,
|
|
26
|
+
RadioGroupLabel,
|
|
27
|
+
RadioGroupRoot,
|
|
28
|
+
RadioParts
|
|
29
|
+
};
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RadioGroup,
|
|
3
|
+
RadioGroupIndicator,
|
|
4
|
+
RadioGroupItem,
|
|
5
|
+
RadioGroupItemControl,
|
|
6
|
+
RadioGroupItemHiddenInput,
|
|
7
|
+
RadioGroupItemText,
|
|
8
|
+
RadioGroupLabel,
|
|
9
|
+
RadioGroupRoot
|
|
10
|
+
} from "../../chunk-5RTNSVYU.js";
|
|
11
|
+
export {
|
|
12
|
+
RadioGroup,
|
|
13
|
+
RadioGroupIndicator,
|
|
14
|
+
RadioGroupItem,
|
|
15
|
+
RadioGroupItemControl,
|
|
16
|
+
RadioGroupItemHiddenInput,
|
|
17
|
+
RadioGroupItemText,
|
|
18
|
+
RadioGroupLabel,
|
|
19
|
+
RadioGroupRoot
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=primitives.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
useConfirmModal
|
|
5
5
|
} from "../chunk-H54FR7IP.js";
|
|
6
6
|
import "../chunk-TFL56AYR.js";
|
|
7
|
-
import "../chunk-SXLPDPOZ.js";
|
|
8
7
|
import "../chunk-IQJDVFPP.js";
|
|
8
|
+
import "../chunk-SXLPDPOZ.js";
|
|
9
9
|
import "../chunk-GITT5645.js";
|
|
10
10
|
import "../chunk-6KZVE4HC.js";
|
|
11
11
|
import "../chunk-7SYJFI5E.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
useCTAModal
|
|
5
5
|
} from "../chunk-ZDANBCM3.js";
|
|
6
6
|
import "../chunk-6BN3XKQF.js";
|
|
7
|
+
import "../chunk-APD6IX5R.js";
|
|
7
8
|
import "../chunk-TFL56AYR.js";
|
|
8
|
-
import "../chunk-SXLPDPOZ.js";
|
|
9
9
|
import "../chunk-IQJDVFPP.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-SXLPDPOZ.js";
|
|
11
11
|
import "../chunk-GITT5645.js";
|
|
12
12
|
import "../chunk-6KZVE4HC.js";
|
|
13
13
|
import "../chunk-7SYJFI5E.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
usePromptModal
|
|
5
5
|
} from "../chunk-CMYD5KWA.js";
|
|
6
6
|
import "../chunk-TFL56AYR.js";
|
|
7
|
-
import "../chunk-SXLPDPOZ.js";
|
|
8
7
|
import "../chunk-IQJDVFPP.js";
|
|
8
|
+
import "../chunk-SXLPDPOZ.js";
|
|
9
9
|
import "../chunk-RU5LOXWI.js";
|
|
10
10
|
import "../chunk-TYPULJMJ.js";
|
|
11
11
|
import "../chunk-FBS7AX76.js";
|
package/build/modern/index.js
CHANGED
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Modal
|
|
3
|
-
} from "./chunk-Q3I4H6EC.js";
|
|
4
|
-
import {
|
|
5
|
-
ModalDescription
|
|
6
|
-
} from "./chunk-WECB67DC.js";
|
|
7
1
|
import {
|
|
8
2
|
ModalHeader
|
|
9
3
|
} from "./chunk-AUALRL3U.js";
|
|
@@ -20,16 +14,32 @@ import {
|
|
|
20
14
|
import {
|
|
21
15
|
NavMenuTrigger
|
|
22
16
|
} from "./chunk-245SMQ45.js";
|
|
23
|
-
import {
|
|
24
|
-
ThemeProvider,
|
|
25
|
-
useThemeContext
|
|
26
|
-
} from "./chunk-EB37HRCN.js";
|
|
27
17
|
import {
|
|
28
18
|
FieldMessage
|
|
29
19
|
} from "./chunk-L7N24B6B.js";
|
|
20
|
+
import {
|
|
21
|
+
FieldsetLabel
|
|
22
|
+
} from "./chunk-DRDNNRU3.js";
|
|
30
23
|
import {
|
|
31
24
|
Label
|
|
32
25
|
} from "./chunk-LT62577B.js";
|
|
26
|
+
import {
|
|
27
|
+
Modal
|
|
28
|
+
} from "./chunk-Q3I4H6EC.js";
|
|
29
|
+
import {
|
|
30
|
+
ModalDescription
|
|
31
|
+
} from "./chunk-WECB67DC.js";
|
|
32
|
+
import {
|
|
33
|
+
PromptModal,
|
|
34
|
+
usePromptModal
|
|
35
|
+
} from "./chunk-CMYD5KWA.js";
|
|
36
|
+
import {
|
|
37
|
+
ThemeProvider,
|
|
38
|
+
useThemeContext
|
|
39
|
+
} from "./chunk-EB37HRCN.js";
|
|
40
|
+
import {
|
|
41
|
+
For
|
|
42
|
+
} from "./chunk-77FJSNGD.js";
|
|
33
43
|
import {
|
|
34
44
|
ConfirmModal,
|
|
35
45
|
useConfirmModal
|
|
@@ -47,9 +57,8 @@ import {
|
|
|
47
57
|
useNotificationCenter
|
|
48
58
|
} from "./chunk-FMRWRVUS.js";
|
|
49
59
|
import {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
} from "./chunk-CMYD5KWA.js";
|
|
60
|
+
Tag
|
|
61
|
+
} from "./chunk-MISIUX63.js";
|
|
53
62
|
import {
|
|
54
63
|
Tbody
|
|
55
64
|
} from "./chunk-ZR37P4NZ.js";
|
|
@@ -68,12 +77,6 @@ import {
|
|
|
68
77
|
import {
|
|
69
78
|
Tooltip
|
|
70
79
|
} from "./chunk-LPALHB6R.js";
|
|
71
|
-
import {
|
|
72
|
-
For
|
|
73
|
-
} from "./chunk-77FJSNGD.js";
|
|
74
|
-
import {
|
|
75
|
-
Radio
|
|
76
|
-
} from "./chunk-6WOJAMZV.js";
|
|
77
80
|
import {
|
|
78
81
|
Option,
|
|
79
82
|
OptionGroup,
|
|
@@ -114,8 +117,15 @@ import {
|
|
|
114
117
|
useTabsContext
|
|
115
118
|
} from "./chunk-RZ7NG77U.js";
|
|
116
119
|
import {
|
|
117
|
-
|
|
118
|
-
|
|
120
|
+
FileStatus,
|
|
121
|
+
processStatus
|
|
122
|
+
} from "./chunk-ZFFW5ELD.js";
|
|
123
|
+
import {
|
|
124
|
+
ProgressBar
|
|
125
|
+
} from "./chunk-WZJ5UQNM.js";
|
|
126
|
+
import {
|
|
127
|
+
FileUploader
|
|
128
|
+
} from "./chunk-7SU6FCTJ.js";
|
|
119
129
|
import {
|
|
120
130
|
Legend
|
|
121
131
|
} from "./chunk-RBNOEAWJ.js";
|
|
@@ -137,9 +147,37 @@ import {
|
|
|
137
147
|
import {
|
|
138
148
|
NotificationHeading
|
|
139
149
|
} from "./chunk-SLHYBPJ5.js";
|
|
150
|
+
import {
|
|
151
|
+
CircularProgress
|
|
152
|
+
} from "./chunk-6QHOKCV3.js";
|
|
153
|
+
import {
|
|
154
|
+
DatePicker,
|
|
155
|
+
DatePickerCalendar,
|
|
156
|
+
DatePickerContent,
|
|
157
|
+
DatePickerDayView,
|
|
158
|
+
DatePickerInput,
|
|
159
|
+
DatePickerMonthView,
|
|
160
|
+
DatePickerTrigger,
|
|
161
|
+
DatePickerViewControlGroup,
|
|
162
|
+
DatePickerYearView,
|
|
163
|
+
RangePickerInput
|
|
164
|
+
} from "./chunk-RHCTPSKT.js";
|
|
165
|
+
import {
|
|
166
|
+
DatePickerContext,
|
|
167
|
+
DatePickerLabel,
|
|
168
|
+
DatePickerTable,
|
|
169
|
+
DatePickerTableCell,
|
|
170
|
+
DatePickerTableCellTrigger,
|
|
171
|
+
DatePickerTableHeader,
|
|
172
|
+
DatePickerView,
|
|
173
|
+
DatePickerViewControl
|
|
174
|
+
} from "./chunk-5EWCH7AI.js";
|
|
140
175
|
import {
|
|
141
176
|
DialogCloseIconTrigger
|
|
142
177
|
} from "./chunk-6BN3XKQF.js";
|
|
178
|
+
import {
|
|
179
|
+
IconButton
|
|
180
|
+
} from "./chunk-APD6IX5R.js";
|
|
143
181
|
import {
|
|
144
182
|
Dialog,
|
|
145
183
|
DialogBackdrop,
|
|
@@ -151,6 +189,9 @@ import {
|
|
|
151
189
|
DialogProvider,
|
|
152
190
|
DialogTrigger
|
|
153
191
|
} from "./chunk-TFL56AYR.js";
|
|
192
|
+
import {
|
|
193
|
+
Portal
|
|
194
|
+
} from "./chunk-IQJDVFPP.js";
|
|
154
195
|
import {
|
|
155
196
|
Droppable
|
|
156
197
|
} from "./chunk-TKI2CKHH.js";
|
|
@@ -161,25 +202,19 @@ import {
|
|
|
161
202
|
FeatureFlags,
|
|
162
203
|
useFeatureFlags
|
|
163
204
|
} from "./chunk-CJFW36DZ.js";
|
|
164
|
-
import
|
|
165
|
-
Fieldset
|
|
166
|
-
} from "./chunk-6EUC3SUI.js";
|
|
167
|
-
import {
|
|
168
|
-
FieldsetLabel
|
|
169
|
-
} from "./chunk-OYT7RGC7.js";
|
|
170
|
-
import {
|
|
171
|
-
FileStatus,
|
|
172
|
-
processStatus
|
|
173
|
-
} from "./chunk-CF3EHG42.js";
|
|
174
|
-
import {
|
|
175
|
-
ProgressBar
|
|
176
|
-
} from "./chunk-WZJ5UQNM.js";
|
|
177
|
-
import {
|
|
178
|
-
FileUploader
|
|
179
|
-
} from "./chunk-7SU6FCTJ.js";
|
|
205
|
+
import "./chunk-V3M3ZOQI.js";
|
|
180
206
|
import {
|
|
181
207
|
AccordionItemGroup
|
|
182
208
|
} from "./chunk-WN7TJX6J.js";
|
|
209
|
+
import {
|
|
210
|
+
AccordionItemIndicator
|
|
211
|
+
} from "./chunk-XZGXRRSQ.js";
|
|
212
|
+
import {
|
|
213
|
+
Accordion,
|
|
214
|
+
AccordionItem,
|
|
215
|
+
AccordionItemContent,
|
|
216
|
+
AccordionItemTrigger
|
|
217
|
+
} from "./chunk-AZRFYQO7.js";
|
|
183
218
|
import {
|
|
184
219
|
Admonition,
|
|
185
220
|
AdmonitionDescription,
|
|
@@ -189,37 +224,6 @@ import "./chunk-2HOUQ2DX.js";
|
|
|
189
224
|
import {
|
|
190
225
|
Avatar
|
|
191
226
|
} from "./chunk-SXLPDPOZ.js";
|
|
192
|
-
import {
|
|
193
|
-
CircularProgress
|
|
194
|
-
} from "./chunk-6QHOKCV3.js";
|
|
195
|
-
import {
|
|
196
|
-
DatePicker,
|
|
197
|
-
DatePickerCalendar,
|
|
198
|
-
DatePickerContent,
|
|
199
|
-
DatePickerDayView,
|
|
200
|
-
DatePickerInput,
|
|
201
|
-
DatePickerMonthView,
|
|
202
|
-
DatePickerTrigger,
|
|
203
|
-
DatePickerViewControlGroup,
|
|
204
|
-
DatePickerYearView,
|
|
205
|
-
RangePickerInput
|
|
206
|
-
} from "./chunk-FK52US7K.js";
|
|
207
|
-
import {
|
|
208
|
-
Portal
|
|
209
|
-
} from "./chunk-IQJDVFPP.js";
|
|
210
|
-
import {
|
|
211
|
-
IconButton
|
|
212
|
-
} from "./chunk-APD6IX5R.js";
|
|
213
|
-
import {
|
|
214
|
-
DatePickerContext,
|
|
215
|
-
DatePickerLabel,
|
|
216
|
-
DatePickerTable,
|
|
217
|
-
DatePickerTableCell,
|
|
218
|
-
DatePickerTableCellTrigger,
|
|
219
|
-
DatePickerTableHeader,
|
|
220
|
-
DatePickerView,
|
|
221
|
-
DatePickerViewControl
|
|
222
|
-
} from "./chunk-5EWCH7AI.js";
|
|
223
227
|
import "./chunk-TIJAFPHQ.js";
|
|
224
228
|
import {
|
|
225
229
|
Checkbox
|
|
@@ -263,20 +267,40 @@ import {
|
|
|
263
267
|
import {
|
|
264
268
|
FieldStatusIndicator
|
|
265
269
|
} from "./chunk-CNA2VKAH.js";
|
|
266
|
-
import "./chunk-V3M3ZOQI.js";
|
|
267
|
-
import {
|
|
268
|
-
AccordionItemIndicator
|
|
269
|
-
} from "./chunk-XZGXRRSQ.js";
|
|
270
270
|
import {
|
|
271
271
|
CerberusProvider,
|
|
272
272
|
useCerberusContext
|
|
273
273
|
} from "./chunk-GITT5645.js";
|
|
274
|
+
import "./chunk-IDTAB2UJ.js";
|
|
274
275
|
import {
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
} from "./chunk-
|
|
276
|
+
Fieldset
|
|
277
|
+
} from "./chunk-AO3GB72J.js";
|
|
278
|
+
import {
|
|
279
|
+
FieldsetParts
|
|
280
|
+
} from "./chunk-7TQRTBUP.js";
|
|
281
|
+
import {
|
|
282
|
+
FieldsetErrorText,
|
|
283
|
+
FieldsetHelperText,
|
|
284
|
+
FieldsetLegend,
|
|
285
|
+
FieldsetRoot
|
|
286
|
+
} from "./chunk-Z3FDG263.js";
|
|
287
|
+
import "./chunk-OGYMMATX.js";
|
|
288
|
+
import {
|
|
289
|
+
Radio
|
|
290
|
+
} from "./chunk-STLN7BMJ.js";
|
|
291
|
+
import {
|
|
292
|
+
RadioParts
|
|
293
|
+
} from "./chunk-FUL2VRDU.js";
|
|
294
|
+
import {
|
|
295
|
+
RadioGroup,
|
|
296
|
+
RadioGroupIndicator,
|
|
297
|
+
RadioGroupItem,
|
|
298
|
+
RadioGroupItemControl,
|
|
299
|
+
RadioGroupItemHiddenInput,
|
|
300
|
+
RadioGroupItemText,
|
|
301
|
+
RadioGroupLabel,
|
|
302
|
+
RadioGroupRoot
|
|
303
|
+
} from "./chunk-5RTNSVYU.js";
|
|
280
304
|
import {
|
|
281
305
|
useModal
|
|
282
306
|
} from "./chunk-KGQG5JGW.js";
|
|
@@ -409,7 +433,12 @@ export {
|
|
|
409
433
|
FieldStatusIndicator,
|
|
410
434
|
FieldTextarea,
|
|
411
435
|
Fieldset,
|
|
436
|
+
FieldsetErrorText,
|
|
437
|
+
FieldsetHelperText,
|
|
412
438
|
FieldsetLabel,
|
|
439
|
+
FieldsetLegend,
|
|
440
|
+
FieldsetParts,
|
|
441
|
+
FieldsetRoot,
|
|
413
442
|
FileStatus,
|
|
414
443
|
FileUploader,
|
|
415
444
|
For,
|
|
@@ -444,6 +473,15 @@ export {
|
|
|
444
473
|
ProgressBar,
|
|
445
474
|
PromptModal,
|
|
446
475
|
Radio,
|
|
476
|
+
RadioGroup,
|
|
477
|
+
RadioGroupIndicator,
|
|
478
|
+
RadioGroupItem,
|
|
479
|
+
RadioGroupItemControl,
|
|
480
|
+
RadioGroupItemHiddenInput,
|
|
481
|
+
RadioGroupItemText,
|
|
482
|
+
RadioGroupLabel,
|
|
483
|
+
RadioGroupRoot,
|
|
484
|
+
RadioParts,
|
|
447
485
|
RangePickerInput,
|
|
448
486
|
Select,
|
|
449
487
|
SelectClearTrigger,
|
|
@@ -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// deprecated\n\nexport * from './components/deprecated/FieldMessage'\nexport * from './components/deprecated/Label'\nexport * from './components/deprecated/Modal'\nexport * from './components/deprecated/ModalHeader'\nexport * from './components/deprecated/ModalHeading'\nexport * from './components/deprecated/ModalDescription'\nexport * from './components/deprecated/NavMenuTrigger'\nexport * from './components/deprecated/NavMenuList'\nexport * from './components/deprecated/NavMenuLink'\nexport * from './hooks/useDate'\n\n// components\n\nexport * from './components/Accordion'\nexport * from './components/Accordion.client'\nexport * from './components/AccordionItemGroup'\nexport * from './components/Admonition'\nexport * from './components/Avatar'\nexport * from './components/button/index'\nexport * from './components/checkbox/index'\nexport * from './components/CircularProgress'\nexport * from './components/DatePicker.client'\nexport * from './components/DatePicker.server'\nexport * from './components/Dialog'\nexport * from './components/Dialog.client'\nexport * from './components/Droppable'\nexport * from './components/FeatureFlag'\nexport * from './components/field/index'\nexport * from './components/
|
|
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// deprecated\n\nexport * from './components/deprecated/FieldMessage'\nexport * from './components/deprecated/FieldsetLabel'\nexport * from './components/deprecated/Label'\nexport * from './components/deprecated/Modal'\nexport * from './components/deprecated/ModalHeader'\nexport * from './components/deprecated/ModalHeading'\nexport * from './components/deprecated/ModalDescription'\nexport * from './components/deprecated/NavMenuTrigger'\nexport * from './components/deprecated/NavMenuList'\nexport * from './components/deprecated/NavMenuLink'\nexport * from './hooks/useDate'\n\n// components\n\nexport * from './components/Accordion'\nexport * from './components/Accordion.client'\nexport * from './components/AccordionItemGroup'\nexport * from './components/Admonition'\nexport * from './components/Avatar'\nexport * from './components/button/index'\nexport * from './components/checkbox/index'\nexport * from './components/CircularProgress'\nexport * from './components/DatePicker.client'\nexport * from './components/DatePicker.server'\nexport * from './components/Dialog'\nexport * from './components/Dialog.client'\nexport * from './components/Droppable'\nexport * from './components/FeatureFlag'\nexport * from './components/field/index'\nexport * from './components/fieldset/index'\nexport * from './components/FileStatus'\nexport * from './components/FileUploader'\nexport * from './components/for'\nexport * from './components/IconButton'\nexport * from './components/Legend'\nexport * from './components/Menu'\nexport * from './components/Notification'\nexport * from './components/NotificationHeading'\nexport * from './components/NotificationDescription'\nexport * from './components/Portal'\nexport * from './components/ProgressBar'\nexport * from './components/radio/index'\nexport * from './components/Spinner'\nexport * from './components/Tabs.client'\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/Toggle'\nexport * from './components/Tooltip'\nexport * from './components/Select'\nexport * from './components/Select.server'\nexport * from './components/Show'\n\n// context\n\nexport * from './context/cerberus'\nexport * from './context/confirm-modal'\nexport * from './context/cta-modal'\nexport * from './context/feature-flags'\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/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/trap-focus.aria'\n\n// utils\n\nexport * from './config/index'\nexport * from './utils/index'\n\n// shared types\n\nexport * from './types'\n\n// 3rd party\n\nexport * from '@dnd-kit/core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmGA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerberus-design/react",
|
|
3
|
-
"version": "0.15.0-next-
|
|
3
|
+
"version": "0.15.0-next-7a184be",
|
|
4
4
|
"description": "The Cerberus Design React component library.",
|
|
5
5
|
"browserslist": "> 0.25%, not dead",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"react": "^18",
|
|
26
26
|
"react-dom": "^18",
|
|
27
27
|
"tsup": "^8.1.0",
|
|
28
|
-
"@cerberus-
|
|
29
|
-
"@cerberus/
|
|
28
|
+
"@cerberus/styled-system": "npm:@cerberus-design/styled-system@0.15.0-next-7a184be",
|
|
29
|
+
"@cerberus-design/configs": "0.0.0"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|