@cerberus-design/react 0.10.4-next-10ee67c → 0.10.4-next-5e1525e
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 +10 -0
- package/build/legacy/components/AnimatingUploadIcon.cjs +124 -0
- package/build/legacy/components/AnimatingUploadIcon.cjs.map +1 -0
- package/build/legacy/components/Avatar.cjs +106 -9
- package/build/legacy/components/Avatar.cjs.map +1 -1
- package/build/legacy/components/Checkbox.cjs +103 -6
- package/build/legacy/components/Checkbox.cjs.map +1 -1
- package/build/legacy/components/FileStatus.cjs +134 -35
- package/build/legacy/components/FileStatus.cjs.map +1 -1
- package/build/legacy/components/FileUploader.cjs +115 -18
- package/build/legacy/components/FileUploader.cjs.map +1 -1
- package/build/legacy/components/Input.cjs +104 -7
- package/build/legacy/components/Input.cjs.map +1 -1
- package/build/legacy/components/Notification.cjs +105 -8
- package/build/legacy/components/Notification.cjs.map +1 -1
- package/build/legacy/components/Select.cjs +107 -10
- package/build/legacy/components/Select.cjs.map +1 -1
- package/build/legacy/components/Tag.cjs +102 -5
- package/build/legacy/components/Tag.cjs.map +1 -1
- package/build/legacy/components/Toggle.cjs +104 -7
- package/build/legacy/components/Toggle.cjs.map +1 -1
- package/build/legacy/config/cerbIcons.cjs +98 -1
- package/build/legacy/config/cerbIcons.cjs.map +1 -1
- package/build/legacy/config/defineIcons.cjs +98 -1
- package/build/legacy/config/defineIcons.cjs.map +1 -1
- package/build/legacy/context/confirm-modal.cjs +129 -32
- package/build/legacy/context/confirm-modal.cjs.map +1 -1
- package/build/legacy/context/notification-center.cjs +125 -28
- package/build/legacy/context/notification-center.cjs.map +1 -1
- package/build/legacy/context/prompt-modal.cjs +143 -46
- package/build/legacy/context/prompt-modal.cjs.map +1 -1
- package/build/legacy/index.cjs +325 -226
- package/build/legacy/index.cjs.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +10 -0
- package/build/modern/{chunk-O6JYYVO7.js → chunk-3XZRRGFQ.js} +2 -2
- package/build/modern/{chunk-JCGWTIR4.js → chunk-4HDONKKB.js} +4 -4
- package/build/modern/chunk-4HDONKKB.js.map +1 -0
- package/build/modern/{chunk-NBG2OSYI.js → chunk-5NELG2TB.js} +2 -2
- package/build/modern/{chunk-CMUFJU4S.js → chunk-A42MQEHJ.js} +2 -2
- package/build/modern/{chunk-AUAPBPGW.js → chunk-DH57GIIW.js} +2 -2
- package/build/modern/chunk-HVKM54BA.js +100 -0
- package/build/modern/chunk-HVKM54BA.js.map +1 -0
- package/build/modern/{chunk-BDNY6R3H.js → chunk-K2QH37AW.js} +3 -3
- package/build/modern/{chunk-S7XGIQY6.js → chunk-QHVJAPSD.js} +2 -2
- package/build/modern/{chunk-GMG3B34U.js → chunk-SRGQQYBQ.js} +2 -2
- package/build/modern/{chunk-ZBRG3FQV.js → chunk-U56OV7EK.js} +7 -7
- package/build/modern/{chunk-BDCFYW34.js → chunk-V7YG7JUJ.js} +6 -2
- package/build/modern/chunk-V7YG7JUJ.js.map +1 -0
- package/build/modern/{chunk-WZOYPFUU.js → chunk-WSGQZZVU.js} +2 -2
- package/build/modern/{chunk-UXHAFEBA.js → chunk-XREDYSAP.js} +5 -3
- package/build/modern/chunk-XREDYSAP.js.map +1 -0
- package/build/modern/{chunk-477G5ZEL.js → chunk-XWQEINEL.js} +2 -2
- package/build/modern/{chunk-SP6O64KQ.js → chunk-ZUQ2MHMQ.js} +2 -2
- package/build/modern/components/AnimatingUploadIcon.js +7 -0
- package/build/modern/components/AnimatingUploadIcon.js.map +1 -0
- package/build/modern/components/Avatar.js +4 -3
- package/build/modern/components/Checkbox.js +4 -3
- package/build/modern/components/FileStatus.js +5 -4
- package/build/modern/components/FileUploader.js +5 -4
- package/build/modern/components/Input.js +4 -3
- package/build/modern/components/Notification.js +4 -3
- package/build/modern/components/Select.js +4 -3
- package/build/modern/components/Tag.js +4 -3
- package/build/modern/components/Toggle.js +4 -3
- package/build/modern/config/cerbIcons.js +2 -1
- package/build/modern/config/defineIcons.js +3 -2
- package/build/modern/context/confirm-modal.js +5 -4
- package/build/modern/context/notification-center.js +5 -4
- package/build/modern/context/prompt-modal.js +7 -6
- package/build/modern/index.js +33 -32
- package/build/modern/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/AnimatingUploadIcon.tsx +83 -0
- package/src/components/FileStatus.tsx +2 -0
- package/src/components/FileUploader.tsx +1 -1
- package/src/config/cerbIcons.ts +4 -1
- package/build/modern/chunk-BDCFYW34.js.map +0 -1
- package/build/modern/chunk-JCGWTIR4.js.map +0 -1
- package/build/modern/chunk-UXHAFEBA.js.map +0 -1
- /package/build/modern/{chunk-O6JYYVO7.js.map → chunk-3XZRRGFQ.js.map} +0 -0
- /package/build/modern/{chunk-NBG2OSYI.js.map → chunk-5NELG2TB.js.map} +0 -0
- /package/build/modern/{chunk-CMUFJU4S.js.map → chunk-A42MQEHJ.js.map} +0 -0
- /package/build/modern/{chunk-AUAPBPGW.js.map → chunk-DH57GIIW.js.map} +0 -0
- /package/build/modern/{chunk-BDNY6R3H.js.map → chunk-K2QH37AW.js.map} +0 -0
- /package/build/modern/{chunk-S7XGIQY6.js.map → chunk-QHVJAPSD.js.map} +0 -0
- /package/build/modern/{chunk-GMG3B34U.js.map → chunk-SRGQQYBQ.js.map} +0 -0
- /package/build/modern/{chunk-ZBRG3FQV.js.map → chunk-U56OV7EK.js.map} +0 -0
- /package/build/modern/{chunk-WZOYPFUU.js.map → chunk-WSGQZZVU.js.map} +0 -0
- /package/build/modern/{chunk-477G5ZEL.js.map → chunk-XWQEINEL.js.map} +0 -0
- /package/build/modern/{chunk-SP6O64KQ.js.map → chunk-ZUQ2MHMQ.js.map} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Toggle
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-SRGQQYBQ.js";
|
|
5
5
|
import "../chunk-UZDVOIW5.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-5NELG2TB.js";
|
|
7
|
+
import "../chunk-V7YG7JUJ.js";
|
|
8
8
|
import "../chunk-CP7OUC2Q.js";
|
|
9
|
+
import "../chunk-HVKM54BA.js";
|
|
9
10
|
export {
|
|
10
11
|
Toggle
|
|
11
12
|
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
$cerberusIcons,
|
|
3
3
|
defineIcons
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-5NELG2TB.js";
|
|
5
|
+
import "../chunk-V7YG7JUJ.js";
|
|
6
6
|
import "../chunk-CP7OUC2Q.js";
|
|
7
|
+
import "../chunk-HVKM54BA.js";
|
|
7
8
|
export {
|
|
8
9
|
$cerberusIcons,
|
|
9
10
|
defineIcons
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ConfirmModal,
|
|
4
4
|
useConfirmModal
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-K2QH37AW.js";
|
|
6
6
|
import "../chunk-GLY7GU5S.js";
|
|
7
7
|
import "../chunk-BE4EOU2P.js";
|
|
8
8
|
import "../chunk-Q7BRMIBR.js";
|
|
9
9
|
import "../chunk-WLEX22KS.js";
|
|
10
10
|
import "../chunk-2UXE5PDG.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-XWQEINEL.js";
|
|
12
12
|
import "../chunk-EXGKZGML.js";
|
|
13
13
|
import "../chunk-BUVVRQLZ.js";
|
|
14
14
|
import "../chunk-JIZQFTW6.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-5NELG2TB.js";
|
|
16
|
+
import "../chunk-V7YG7JUJ.js";
|
|
17
17
|
import "../chunk-CP7OUC2Q.js";
|
|
18
|
+
import "../chunk-HVKM54BA.js";
|
|
18
19
|
import "../chunk-7T3JIGM7.js";
|
|
19
20
|
export {
|
|
20
21
|
ConfirmModal,
|
|
@@ -2,17 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
NotificationCenter,
|
|
4
4
|
useNotificationCenter
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-ZUQ2MHMQ.js";
|
|
6
|
+
import "../chunk-A42MQEHJ.js";
|
|
7
7
|
import "../chunk-XEW6TJJ4.js";
|
|
8
8
|
import "../chunk-SXIXDXG3.js";
|
|
9
9
|
import "../chunk-GLY7GU5S.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-
|
|
13
|
+
import "../chunk-5NELG2TB.js";
|
|
14
|
+
import "../chunk-V7YG7JUJ.js";
|
|
15
15
|
import "../chunk-CP7OUC2Q.js";
|
|
16
|
+
import "../chunk-HVKM54BA.js";
|
|
16
17
|
export {
|
|
17
18
|
NotificationCenter,
|
|
18
19
|
useNotificationCenter
|
|
@@ -2,22 +2,23 @@
|
|
|
2
2
|
import {
|
|
3
3
|
PromptModal,
|
|
4
4
|
usePromptModal
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-U56OV7EK.js";
|
|
6
6
|
import "../chunk-GLY7GU5S.js";
|
|
7
|
+
import "../chunk-NMF2HYWO.js";
|
|
7
8
|
import "../chunk-BE4EOU2P.js";
|
|
8
9
|
import "../chunk-Q7BRMIBR.js";
|
|
9
10
|
import "../chunk-WLEX22KS.js";
|
|
10
11
|
import "../chunk-2UXE5PDG.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-477G5ZEL.js";
|
|
12
|
+
import "../chunk-WSGQZZVU.js";
|
|
13
|
+
import "../chunk-XWQEINEL.js";
|
|
14
14
|
import "../chunk-EXGKZGML.js";
|
|
15
15
|
import "../chunk-UZDVOIW5.js";
|
|
16
16
|
import "../chunk-BUVVRQLZ.js";
|
|
17
17
|
import "../chunk-JIZQFTW6.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-5NELG2TB.js";
|
|
19
|
+
import "../chunk-V7YG7JUJ.js";
|
|
20
20
|
import "../chunk-CP7OUC2Q.js";
|
|
21
|
+
import "../chunk-HVKM54BA.js";
|
|
21
22
|
import "../chunk-7T3JIGM7.js";
|
|
22
23
|
export {
|
|
23
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-ZUQ2MHMQ.js";
|
|
5
5
|
import {
|
|
6
6
|
PromptModal,
|
|
7
7
|
usePromptModal
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U56OV7EK.js";
|
|
9
9
|
import {
|
|
10
10
|
ThemeProvider,
|
|
11
11
|
useThemeContext
|
|
12
12
|
} from "./chunk-EB37HRCN.js";
|
|
13
|
+
import {
|
|
14
|
+
Td
|
|
15
|
+
} from "./chunk-HPM2XRWT.js";
|
|
13
16
|
import {
|
|
14
17
|
Textarea
|
|
15
18
|
} from "./chunk-JIJM6JFJ.js";
|
|
@@ -21,11 +24,11 @@ import {
|
|
|
21
24
|
} from "./chunk-PKY46RRA.js";
|
|
22
25
|
import {
|
|
23
26
|
Toggle
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SRGQQYBQ.js";
|
|
25
28
|
import {
|
|
26
29
|
ConfirmModal,
|
|
27
30
|
useConfirmModal
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-K2QH37AW.js";
|
|
29
32
|
import {
|
|
30
33
|
Spinner
|
|
31
34
|
} from "./chunk-7SYJFI5E.js";
|
|
@@ -44,16 +47,16 @@ import {
|
|
|
44
47
|
} from "./chunk-B4CVET74.js";
|
|
45
48
|
import {
|
|
46
49
|
Tag
|
|
47
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-QHVJAPSD.js";
|
|
48
51
|
import {
|
|
49
52
|
Tbody
|
|
50
53
|
} from "./chunk-PKQTTFWA.js";
|
|
51
54
|
import {
|
|
52
|
-
|
|
53
|
-
} from "./chunk-
|
|
55
|
+
NavMenuTrigger
|
|
56
|
+
} from "./chunk-OWKN5IV7.js";
|
|
54
57
|
import {
|
|
55
58
|
Notification
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-A42MQEHJ.js";
|
|
57
60
|
import {
|
|
58
61
|
NotificationDescription
|
|
59
62
|
} from "./chunk-XEW6TJJ4.js";
|
|
@@ -69,7 +72,10 @@ import {
|
|
|
69
72
|
import {
|
|
70
73
|
Option,
|
|
71
74
|
Select
|
|
72
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-3XZRRGFQ.js";
|
|
76
|
+
import {
|
|
77
|
+
Label
|
|
78
|
+
} from "./chunk-NMF2HYWO.js";
|
|
73
79
|
import {
|
|
74
80
|
Legend
|
|
75
81
|
} from "./chunk-6TTN2JMY.js";
|
|
@@ -92,13 +98,17 @@ import {
|
|
|
92
98
|
NavMenuList,
|
|
93
99
|
getPosition
|
|
94
100
|
} from "./chunk-5V5MBSM3.js";
|
|
95
|
-
import {
|
|
96
|
-
NavMenuTrigger
|
|
97
|
-
} from "./chunk-OWKN5IV7.js";
|
|
98
101
|
import {
|
|
99
102
|
NavMenu,
|
|
100
103
|
useNavMenuContext
|
|
101
104
|
} from "./chunk-O75QAT4Z.js";
|
|
105
|
+
import {
|
|
106
|
+
FeatureFlag
|
|
107
|
+
} from "./chunk-BIDE4IJG.js";
|
|
108
|
+
import {
|
|
109
|
+
FeatureFlags,
|
|
110
|
+
useFeatureFlags
|
|
111
|
+
} from "./chunk-CJFW36DZ.js";
|
|
102
112
|
import {
|
|
103
113
|
Fieldset
|
|
104
114
|
} from "./chunk-3ZDFQO25.js";
|
|
@@ -108,7 +118,7 @@ import {
|
|
|
108
118
|
import {
|
|
109
119
|
FileStatus,
|
|
110
120
|
processStatus
|
|
111
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-XREDYSAP.js";
|
|
112
122
|
import {
|
|
113
123
|
ProgressBar
|
|
114
124
|
} from "./chunk-KCANMM64.js";
|
|
@@ -117,16 +127,13 @@ import {
|
|
|
117
127
|
} from "./chunk-JWIJHSI6.js";
|
|
118
128
|
import {
|
|
119
129
|
FileUploader
|
|
120
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-4HDONKKB.js";
|
|
121
131
|
import {
|
|
122
132
|
IconButton
|
|
123
133
|
} from "./chunk-APD6IX5R.js";
|
|
124
134
|
import {
|
|
125
135
|
Input
|
|
126
|
-
} from "./chunk-
|
|
127
|
-
import {
|
|
128
|
-
Label
|
|
129
|
-
} from "./chunk-NMF2HYWO.js";
|
|
136
|
+
} from "./chunk-WSGQZZVU.js";
|
|
130
137
|
import {
|
|
131
138
|
MODE_KEY,
|
|
132
139
|
THEME_KEY,
|
|
@@ -137,33 +144,26 @@ import {
|
|
|
137
144
|
} from "./chunk-REO5GUNC.js";
|
|
138
145
|
import {
|
|
139
146
|
Avatar
|
|
140
|
-
} from "./chunk-
|
|
147
|
+
} from "./chunk-XWQEINEL.js";
|
|
141
148
|
import {
|
|
142
149
|
Button
|
|
143
150
|
} from "./chunk-EXGKZGML.js";
|
|
144
151
|
import {
|
|
145
152
|
Checkbox
|
|
146
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-DH57GIIW.js";
|
|
147
154
|
import {
|
|
148
155
|
Field,
|
|
149
156
|
useFieldContext
|
|
150
157
|
} from "./chunk-UZDVOIW5.js";
|
|
158
|
+
import {
|
|
159
|
+
Show
|
|
160
|
+
} from "./chunk-BUVVRQLZ.js";
|
|
151
161
|
import {
|
|
152
162
|
CircularProgress
|
|
153
163
|
} from "./chunk-YLPSE5Z2.js";
|
|
154
164
|
import {
|
|
155
165
|
Droppable
|
|
156
166
|
} from "./chunk-TKI2CKHH.js";
|
|
157
|
-
import {
|
|
158
|
-
FeatureFlag
|
|
159
|
-
} from "./chunk-BIDE4IJG.js";
|
|
160
|
-
import {
|
|
161
|
-
FeatureFlags,
|
|
162
|
-
useFeatureFlags
|
|
163
|
-
} from "./chunk-CJFW36DZ.js";
|
|
164
|
-
import {
|
|
165
|
-
Show
|
|
166
|
-
} from "./chunk-BUVVRQLZ.js";
|
|
167
167
|
import "./chunk-55J6XMHW.js";
|
|
168
168
|
import {
|
|
169
169
|
createNavTriggerProps
|
|
@@ -182,9 +182,10 @@ import {
|
|
|
182
182
|
import {
|
|
183
183
|
$cerberusIcons,
|
|
184
184
|
defineIcons
|
|
185
|
-
} from "./chunk-
|
|
186
|
-
import "./chunk-
|
|
185
|
+
} from "./chunk-5NELG2TB.js";
|
|
186
|
+
import "./chunk-V7YG7JUJ.js";
|
|
187
187
|
import "./chunk-CP7OUC2Q.js";
|
|
188
|
+
import "./chunk-HVKM54BA.js";
|
|
188
189
|
import {
|
|
189
190
|
useModal
|
|
190
191
|
} from "./chunk-7T3JIGM7.js";
|
|
@@ -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/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/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/Show'\n\n// context\n\nexport * from './context/confirm-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/useModal'\nexport * from './hooks/useTheme'\nexport * from './hooks/useToggle'\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'\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/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/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/Show'\n\n// context\n\nexport * from './context/confirm-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/useModal'\nexport * from './hooks/useTheme'\nexport * from './hooks/useToggle'\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'\n\n// shared types\n\nexport * from './types'\n\n// 3rd party\n\nexport * from '@dnd-kit/core'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerberus-design/react",
|
|
3
|
-
"version": "0.10.4-next-
|
|
3
|
+
"version": "0.10.4-next-5e1525e",
|
|
4
4
|
"description": "The Cerberus Design React component library.",
|
|
5
5
|
"browserslist": "> 0.25%, not dead",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react-dom": "^18",
|
|
27
27
|
"tsup": "^8.1.0",
|
|
28
28
|
"@cerberus-design/configs": "0.0.0",
|
|
29
|
-
"@cerberus-design/styled-system": "0.10.4-next-
|
|
29
|
+
"@cerberus-design/styled-system": "0.10.4-next-5e1525e"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { type CarbonIconProps } from '@cerberus/icons'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* This module contains an animating icon to use for the FileStatus component.
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
export type AnimatingUploadIconProps = CarbonIconProps
|
|
9
|
+
|
|
10
|
+
export function AnimatingUploadIcon(props: AnimatingUploadIconProps) {
|
|
11
|
+
return (
|
|
12
|
+
<svg
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
15
|
+
width={props.size ?? '1em'}
|
|
16
|
+
height={props.size ?? '1em'}
|
|
17
|
+
viewBox="0 0 24 24"
|
|
18
|
+
>
|
|
19
|
+
<g
|
|
20
|
+
fill="none"
|
|
21
|
+
stroke="currentColor"
|
|
22
|
+
strokeLinecap="square"
|
|
23
|
+
strokeLinejoin="round"
|
|
24
|
+
strokeWidth={1.5}
|
|
25
|
+
>
|
|
26
|
+
<path
|
|
27
|
+
data-name="animating-trail"
|
|
28
|
+
strokeDasharray="2 4"
|
|
29
|
+
strokeDashoffset={6}
|
|
30
|
+
d="M12 21c-4.97 0 -9 -4.03 -9 -9c0 -4.97 4.03 -9 9 -9"
|
|
31
|
+
>
|
|
32
|
+
<animate
|
|
33
|
+
attributeName="stroke-dashoffset"
|
|
34
|
+
dur="0.45s"
|
|
35
|
+
repeatCount="indefinite"
|
|
36
|
+
values="6;0"
|
|
37
|
+
></animate>
|
|
38
|
+
</path>
|
|
39
|
+
|
|
40
|
+
<path
|
|
41
|
+
data-name="half-circle"
|
|
42
|
+
strokeDasharray={32}
|
|
43
|
+
strokeDashoffset={32}
|
|
44
|
+
d="M12 3c4.97 0 9 4.03 9 9c0 4.97 -4.03 9 -9 9"
|
|
45
|
+
>
|
|
46
|
+
<animate
|
|
47
|
+
fill="freeze"
|
|
48
|
+
attributeName="stroke-dashoffset"
|
|
49
|
+
begin="0.075s"
|
|
50
|
+
dur="0.3s"
|
|
51
|
+
values="32;0"
|
|
52
|
+
></animate>
|
|
53
|
+
</path>
|
|
54
|
+
|
|
55
|
+
<svg
|
|
56
|
+
aria-hidden="true"
|
|
57
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
58
|
+
width="0.8em"
|
|
59
|
+
height="0.8em"
|
|
60
|
+
x="27%"
|
|
61
|
+
y="27%"
|
|
62
|
+
viewBox="0 0 24 24"
|
|
63
|
+
>
|
|
64
|
+
<polygon
|
|
65
|
+
fill="currentColor"
|
|
66
|
+
stroke="currentColor"
|
|
67
|
+
strokeWidth={0.8}
|
|
68
|
+
opacity="1"
|
|
69
|
+
points="3.7,6.7 7.5,2.9 7.5,15 8.5,15 8.5,2.9 12.3,6.7 13,6 8,1 3,6 "
|
|
70
|
+
>
|
|
71
|
+
<animate
|
|
72
|
+
fill="freeze"
|
|
73
|
+
attributeName="opacity"
|
|
74
|
+
values="1;0;1"
|
|
75
|
+
dur="2s"
|
|
76
|
+
repeatCount="indefinite"
|
|
77
|
+
></animate>
|
|
78
|
+
</polygon>
|
|
79
|
+
</svg>
|
|
80
|
+
</g>
|
|
81
|
+
</svg>
|
|
82
|
+
)
|
|
83
|
+
}
|
|
@@ -189,6 +189,7 @@ interface FileStatusElProps {
|
|
|
189
189
|
|
|
190
190
|
function MatchFileStatusIcon(props: FileStatusElProps) {
|
|
191
191
|
const {
|
|
192
|
+
waitingFileUploader: TodoIcon,
|
|
192
193
|
fileUploader: FileUploaderIcon,
|
|
193
194
|
invalidAlt: InvalidIcon,
|
|
194
195
|
successNotification: DoneIcon,
|
|
@@ -196,6 +197,7 @@ function MatchFileStatusIcon(props: FileStatusElProps) {
|
|
|
196
197
|
|
|
197
198
|
switch (props.status) {
|
|
198
199
|
case processStatus.TODO:
|
|
200
|
+
return <TodoIcon size={props.size} />
|
|
199
201
|
case processStatus.PROCESSING:
|
|
200
202
|
return <FileUploaderIcon size={props.size} />
|
|
201
203
|
case processStatus.DONE:
|
package/src/config/cerbIcons.ts
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
} from '@cerberus/icons'
|
|
17
17
|
import type { ElementType } from 'react'
|
|
18
18
|
import { CheckmarkIcon, IndeterminateIcon } from './icons/checkbox.icons'
|
|
19
|
+
import { AnimatingUploadIcon } from '../components/AnimatingUploadIcon'
|
|
19
20
|
|
|
20
21
|
export type IconType = CarbonIconType | ElementType
|
|
21
22
|
|
|
@@ -26,6 +27,7 @@ export interface DefinedIcons {
|
|
|
26
27
|
confirmModal?: IconType
|
|
27
28
|
delete?: IconType
|
|
28
29
|
promptModal?: IconType
|
|
30
|
+
waitingFileUploader?: IconType
|
|
29
31
|
fileUploader?: IconType
|
|
30
32
|
indeterminate?: IconType
|
|
31
33
|
infoNotification?: IconType
|
|
@@ -46,7 +48,8 @@ export const defaultIcons: DefinedIcons = {
|
|
|
46
48
|
confirmModal: Information,
|
|
47
49
|
delete: TrashCan,
|
|
48
50
|
promptModal: Information,
|
|
49
|
-
|
|
51
|
+
waitingFileUploader: CloudUpload,
|
|
52
|
+
fileUploader: AnimatingUploadIcon,
|
|
50
53
|
indeterminate: IndeterminateIcon,
|
|
51
54
|
infoNotification: InformationFilled,
|
|
52
55
|
successNotification: CheckmarkFilled,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/config/cerbIcons.ts"],"sourcesContent":["import {\n Checkmark,\n CheckmarkFilled,\n ChevronDown,\n CloseFilled,\n CloudUpload,\n ErrorFilled,\n Information,\n InformationFilled,\n Restart,\n TrashCan,\n UserFilled,\n Warning,\n WarningFilled,\n type CarbonIconType,\n} from '@cerberus/icons'\nimport type { ElementType } from 'react'\nimport { CheckmarkIcon, IndeterminateIcon } from './icons/checkbox.icons'\n\nexport type IconType = CarbonIconType | ElementType\n\nexport interface DefinedIcons {\n avatar?: IconType\n checkbox?: IconType\n close?: IconType\n confirmModal?: IconType\n delete?: IconType\n promptModal?: IconType\n fileUploader?: IconType\n indeterminate?: IconType\n infoNotification?: IconType\n successNotification?: IconType\n warningNotification?: IconType\n dangerNotification?: IconType\n invalid: IconType\n invalidAlt?: IconType\n redo?: IconType\n selectArrow?: IconType\n toggleChecked?: IconType\n}\n\nexport const defaultIcons: DefinedIcons = {\n avatar: UserFilled,\n checkbox: CheckmarkIcon,\n close: CloseFilled,\n confirmModal: Information,\n delete: TrashCan,\n promptModal: Information,\n fileUploader: CloudUpload,\n indeterminate: IndeterminateIcon,\n infoNotification: InformationFilled,\n successNotification: CheckmarkFilled,\n warningNotification: WarningFilled,\n dangerNotification: ErrorFilled,\n invalid: WarningFilled,\n invalidAlt: Warning,\n redo: Restart,\n selectArrow: ChevronDown,\n toggleChecked: Checkmark,\n}\n"],"mappings":";;;;;;AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AA0BA,IAAM,eAA6B;AAAA,EACxC,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,OAAO;AAAA,EACP,cAAc;AAAA,EACd,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,cAAc;AAAA,EACd,eAAe;AAAA,EACf,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,SAAS;AAAA,EACT,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,aAAa;AAAA,EACb,eAAe;AACjB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/FileUploader.tsx"],"sourcesContent":["'use client'\n\nimport { cx } from '@cerberus/styled-system/css'\nimport { vstack } from '@cerberus/styled-system/patterns'\nimport { type InputHTMLAttributes } from 'react'\nimport { Show } from './Show'\nimport { fileUploader } from '@cerberus/styled-system/recipes'\nimport { $cerberusIcons } from '../config/defineIcons'\nimport { Avatar } from './Avatar'\n\nexport interface FileUploaderProps\n extends InputHTMLAttributes<HTMLInputElement> {\n /**\n * The optional heading to display in the FileUploader component.\n */\n heading?: string\n /**\n * The name of the file input element.\n */\n name: string\n}\n\n/**\n * A component that allows the user to upload files.\n * @see https://cerberus.digitalu.design/react/file-uploader\n */\nexport function FileUploader(props: FileUploaderProps) {\n const styles = fileUploader()\n const Icon = $cerberusIcons.fileUploader\n\n return (\n <div\n className={cx(\n vstack({\n justify: 'center',\n }),\n styles.container,\n )}\n >\n <div className={styles.icon}>\n <Avatar\n gradient=\"charon-light\"\n ariaLabel=\"\"\n icon={<Icon />}\n size=\"md\"\n src=\"\"\n />\n </div>\n\n <label\n className={cx(\n vstack({\n justify: 'center',\n }),\n styles.label,\n )}\n htmlFor={props.name}\n >\n <Show when={Boolean(props.heading)}>\n <p className={styles.heading}>{props.heading}</p>\n </Show>\n Import {props.accept?.replace(',', ', ')} files\n <p className={styles.description}>Click to select files</p>\n <input\n {...props}\n className={cx(props.className, styles.input)}\n type=\"file\"\n />\n </label>\n </div>\n )\n}\n"],"mappings":";;;;;;;;;;;AAEA,SAAS,UAAU;AACnB,SAAS,cAAc;AAGvB,SAAS,oBAAoB;AAqCb,cAMV,YANU;AAjBT,SAAS,aAAa,OAA0B;AACrD,QAAM,SAAS,aAAa;AAC5B,QAAM,OAAO,eAAe;AAE5B,SACE;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT,OAAO;AAAA,UACL,SAAS;AAAA,QACX,CAAC;AAAA,QACD,OAAO;AAAA,MACT;AAAA,MAEA;AAAA,4BAAC,SAAI,WAAW,OAAO,MACrB;AAAA,UAAC;AAAA;AAAA,YACC,UAAS;AAAA,YACT,WAAU;AAAA,YACV,MAAM,oBAAC,QAAK;AAAA,YACZ,MAAK;AAAA,YACL,KAAI;AAAA;AAAA,QACN,GACF;AAAA,QAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAW;AAAA,cACT,OAAO;AAAA,gBACL,SAAS;AAAA,cACX,CAAC;AAAA,cACD,OAAO;AAAA,YACT;AAAA,YACA,SAAS,MAAM;AAAA,YAEf;AAAA,kCAAC,QAAK,MAAM,QAAQ,MAAM,OAAO,GAC/B,8BAAC,OAAE,WAAW,OAAO,SAAU,gBAAM,SAAQ,GAC/C;AAAA,cAAO;AAAA,cACC,MAAM,QAAQ,QAAQ,KAAK,IAAI;AAAA,cAAE;AAAA,cACzC,oBAAC,OAAE,WAAW,OAAO,aAAa,mCAAqB;AAAA,cACvD;AAAA,gBAAC;AAAA;AAAA,kBACE,GAAG;AAAA,kBACJ,WAAW,GAAG,MAAM,WAAW,OAAO,KAAK;AAAA,kBAC3C,MAAK;AAAA;AAAA,cACP;AAAA;AAAA;AAAA,QACF;AAAA;AAAA;AAAA,EACF;AAEJ;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/components/FileStatus.tsx"],"sourcesContent":["'use client'\n\nimport {\n useCallback,\n useMemo,\n type HTMLAttributes,\n type MouseEvent,\n} from 'react'\nimport {\n fileStatus,\n type FileStatusVariantProps,\n} from '@cerberus/styled-system/recipes'\nimport { css, cx } from '@cerberus/styled-system/css'\nimport { hstack, vstack } from '@cerberus/styled-system/patterns'\nimport { $cerberusIcons } from '../config/defineIcons'\nimport { Field } from '../context/field'\nimport { FieldMessage } from './FieldMessage'\nimport { ProgressBar, type ProgressBarProps } from './ProgressBar'\nimport { IconButton } from './IconButton'\nimport { Avatar } from './Avatar'\n\n/**\n * This module contains the FileStatus component.\n * @module\n */\n\n/**\n * The available values of the fileStatus helper Object.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport type FileStatusKey = (typeof processStatus)[keyof typeof processStatus]\n\n/**\n * The actions that can be performed on a file.\n */\nexport type FileStatusActions = 'cancel' | 'retry' | 'delete'\nexport interface FileBaseStatusProps\n extends Omit<HTMLAttributes<HTMLDivElement>, 'onClick'> {\n /**\n * A unique identifier for the file status. Required for accessibility.\n */\n id: string\n /**\n * The name of the file.\n */\n file: string\n /**\n * The percentage of the file that has been processed.\n */\n now: ProgressBarProps['now']\n /**\n * The status of the file.\n */\n status: processStatus\n /**\n * The action to perform on the file when a user clicks the\n * button located at the end of the status card.\n * @param status - The status of the file.\n * @param e - The event object.\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n * @default () => {}\n */\n onClick: (status: FileStatusActions, e: MouseEvent<HTMLButtonElement>) => void\n}\nexport type FileStatusProps = FileBaseStatusProps & FileStatusVariantProps\n\n/**\n * A helper object to represent the status of a file.\n * @example\n * ```tsx\n * import { fileStatus } from '@cerberus/react'\n * processStatus.TODO // 'todo'\n * ```\n */\nexport const enum processStatus {\n TODO = 'todo',\n PROCESSING = 'processing',\n DONE = 'done',\n ERROR = 'error',\n}\n\n/**\n * A component that displays the status of a file during file processing.\n * @see https://cerberus.digitalu.design/react/file-uploader\n * @example\n * ```tsx\n * <FileStatus file=\"file.txt\" now={0} status={processStatus.TODO} action={(status, e) => console.log(status, e)} />\n * ```\n */\nexport function FileStatus(props: FileStatusProps) {\n const { file, now, status, onClick, ...nativeProps } = props\n const actionLabel = useMemo(() => getStatusActionLabel(status), [status])\n const palette = useMemo(() => getPalette(status), [status])\n const modalIconPalette = useMemo(() => getModalIconPalette(status), [status])\n const styles = useMemo(() => {\n switch (status) {\n case processStatus.TODO:\n return fileStatus({ status: 'todo' })\n case processStatus.PROCESSING:\n return fileStatus({ status: 'processing' })\n case processStatus.DONE:\n return fileStatus({ status: 'done' })\n case processStatus.ERROR:\n return fileStatus({ status: 'error' })\n default:\n return fileStatus()\n }\n }, [status])\n\n const handleClick = useCallback(\n (e: MouseEvent<HTMLButtonElement>) => {\n const actionStatus = getStatusActionLabel(\n status,\n ).toLocaleLowerCase() as FileStatusActions\n onClick(actionStatus, e)\n },\n [onClick],\n )\n\n return (\n <div\n {...nativeProps}\n className={cx(nativeProps.className, styles.root, hstack())}\n >\n <Avatar\n ariaLabel=\"\"\n gradient={modalIconPalette}\n icon={<MatchFileStatusIcon size={24} status={status} />}\n src=\"\"\n />\n\n <div\n className={vstack({\n alignItems: 'flex-start',\n gap: '0.12rem',\n w: 'full',\n })}\n >\n <small\n className={css({\n color: 'page.text.initial',\n textStyle: 'label-sm',\n })}\n >\n {file}\n </small>\n <ProgressBar\n id={props.id}\n label=\"File upload status\"\n now={now}\n size=\"sm\"\n />\n <Field invalid={modalIconPalette === 'hades-dark'}>\n <FieldMessage\n className={css({\n color: 'page.text.100',\n })}\n id={`help:${file}`}\n >\n <MatchFileStatusText status={status} now={now} />\n </FieldMessage>\n </Field>\n </div>\n\n <IconButton\n ariaLabel={actionLabel}\n onClick={handleClick}\n palette={palette}\n size=\"sm\"\n >\n <MatchStatusAction status={status} />\n </IconButton>\n </div>\n )\n}\n\ninterface FileStatusElProps {\n status: FileStatusProps['status']\n size?: 16 | 20 | 24 | 32\n now?: number\n}\n\nfunction MatchFileStatusIcon(props: FileStatusElProps) {\n const {\n fileUploader: FileUploaderIcon,\n invalidAlt: InvalidIcon,\n successNotification: DoneIcon,\n } = $cerberusIcons\n\n switch (props.status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return <FileUploaderIcon size={props.size} />\n case processStatus.DONE:\n return <DoneIcon size={props.size} />\n case processStatus.ERROR:\n return <InvalidIcon size={props.size} />\n default:\n throw new Error('Unknown status')\n }\n}\n\nfunction MatchFileStatusText(props: FileStatusElProps) {\n switch (props.status) {\n case processStatus.TODO:\n return 'Waiting to upload'\n case processStatus.PROCESSING:\n return `${props.now}% Complete`\n case processStatus.DONE:\n return 'File uploaded successfully'\n case processStatus.ERROR:\n return 'There was an error uploading the file'\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction MatchStatusAction(props: FileStatusElProps) {\n const { close: CloseIcon, redo: RedoIcon, delete: TrashIcon } = $cerberusIcons\n switch (props.status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return <CloseIcon />\n case processStatus.ERROR:\n return <RedoIcon />\n case processStatus.DONE:\n return <TrashIcon />\n default:\n throw new Error('Invalid status')\n }\n}\n\nfunction getStatusActionLabel(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'Cancel'\n case processStatus.ERROR:\n return 'Retry'\n case processStatus.DONE:\n return 'Delete'\n default:\n return ''\n }\n}\n\nfunction getPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'danger'\n case processStatus.ERROR:\n return 'action'\n case processStatus.DONE:\n return 'danger'\n default:\n return 'action'\n }\n}\n\nfunction getModalIconPalette(status: FileStatusKey) {\n switch (status) {\n case processStatus.TODO:\n case processStatus.PROCESSING:\n return 'charon-light'\n case processStatus.ERROR:\n return 'hades-dark'\n case processStatus.DONE:\n return 'thanatos-light'\n default:\n return 'charon-light'\n }\n}\n"],"mappings":"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","names":["processStatus"]}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|