@cerberus-design/react 0.8.0-next-7d49bb9 → 0.8.0-next-4fc3696
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.ts +48 -0
- package/build/legacy/{chunk-2VPKILZ6.js → chunk-4DPGADIC.js} +2 -2
- package/build/legacy/{chunk-L46XIE3D.js → chunk-6CNSWNE2.js} +4 -4
- package/build/legacy/{chunk-SMCEFK6Q.js → chunk-CWZON7EZ.js} +2 -2
- package/build/legacy/{chunk-GVNPFXKL.js → chunk-H4F2ONKN.js} +3 -1
- package/build/legacy/chunk-H4F2ONKN.js.map +1 -0
- package/build/legacy/{chunk-AAKIOHAX.js → chunk-ITND4I7J.js} +2 -2
- package/build/legacy/chunk-MINQJYGV.js +68 -0
- package/build/legacy/chunk-MINQJYGV.js.map +1 -0
- package/build/legacy/{chunk-JJGZRBIR.js → chunk-RQPDRHRP.js} +5 -4
- package/build/legacy/{chunk-JJGZRBIR.js.map → chunk-RQPDRHRP.js.map} +1 -1
- package/build/legacy/{chunk-BEYPMC73.js → chunk-TSUSAKL3.js} +2 -2
- package/build/{modern/chunk-XB4ZRAH4.js → legacy/chunk-URKYD3YB.js} +2 -2
- package/build/legacy/{chunk-LF2QFS5S.js → chunk-XYCRUMOL.js} +2 -2
- package/build/legacy/{chunk-IL5ELPTT.js → chunk-YRGASCC5.js} +2 -2
- package/build/legacy/components/FileUploader.js +3 -3
- package/build/legacy/components/Input.js +3 -3
- package/build/legacy/components/Label.js +1 -1
- package/build/legacy/components/Notification.js +3 -3
- package/build/legacy/components/Select.js +14 -0
- package/build/legacy/components/Select.js.map +1 -0
- package/build/legacy/components/Toggle.js +3 -3
- package/build/legacy/config/cerbIcons.js +1 -1
- package/build/legacy/config/defineIcons.js +2 -2
- package/build/legacy/context/confirm-modal.js +3 -3
- package/build/legacy/context/notification-center.js +4 -4
- package/build/legacy/context/prompt-modal.js +5 -5
- package/build/legacy/index.js +22 -16
- package/build/legacy/index.js.map +1 -1
- package/build/modern/_tsup-dts-rollup.d.ts +48 -0
- package/build/modern/{chunk-Y5IY7O23.js → chunk-GM3AUVXL.js} +2 -2
- package/build/modern/{chunk-GVNPFXKL.js → chunk-H4F2ONKN.js} +3 -1
- package/build/modern/chunk-H4F2ONKN.js.map +1 -0
- package/build/modern/chunk-MINQJYGV.js +68 -0
- package/build/modern/chunk-MINQJYGV.js.map +1 -0
- package/build/modern/{chunk-IOG6XIR5.js → chunk-NVCUFUD7.js} +2 -2
- package/build/modern/{chunk-4N2L357B.js → chunk-O7SC4O5S.js} +2 -2
- package/build/modern/{chunk-LTDNZRUY.js → chunk-QRTCZO2W.js} +4 -4
- package/build/modern/{chunk-JJGZRBIR.js → chunk-RQPDRHRP.js} +5 -4
- package/build/modern/{chunk-JJGZRBIR.js.map → chunk-RQPDRHRP.js.map} +1 -1
- package/build/modern/{chunk-BEYPMC73.js → chunk-TSUSAKL3.js} +2 -2
- package/build/{legacy/chunk-XB4ZRAH4.js → modern/chunk-URKYD3YB.js} +2 -2
- package/build/modern/{chunk-QO2UXGW4.js → chunk-XWE45ZOL.js} +2 -2
- package/build/modern/{chunk-IL5ELPTT.js → chunk-YRGASCC5.js} +2 -2
- package/build/modern/components/FileUploader.js +3 -3
- package/build/modern/components/Input.js +3 -3
- package/build/modern/components/Label.js +1 -1
- package/build/modern/components/Notification.js +3 -3
- package/build/modern/components/Select.js +14 -0
- package/build/modern/components/Select.js.map +1 -0
- package/build/modern/components/Toggle.js +3 -3
- package/build/modern/config/cerbIcons.js +1 -1
- package/build/modern/config/defineIcons.js +2 -2
- package/build/modern/context/confirm-modal.js +3 -3
- package/build/modern/context/notification-center.js +4 -4
- package/build/modern/context/prompt-modal.js +5 -5
- package/build/modern/index.js +22 -16
- package/build/modern/index.js.map +1 -1
- package/package.json +2 -2
- package/src/components/Label.tsx +3 -2
- package/src/components/Select.tsx +96 -0
- package/src/config/cerbIcons.ts +3 -0
- package/src/index.ts +1 -0
- package/build/legacy/chunk-GVNPFXKL.js.map +0 -1
- package/build/modern/chunk-GVNPFXKL.js.map +0 -1
- /package/build/legacy/{chunk-2VPKILZ6.js.map → chunk-4DPGADIC.js.map} +0 -0
- /package/build/legacy/{chunk-L46XIE3D.js.map → chunk-6CNSWNE2.js.map} +0 -0
- /package/build/legacy/{chunk-SMCEFK6Q.js.map → chunk-CWZON7EZ.js.map} +0 -0
- /package/build/legacy/{chunk-AAKIOHAX.js.map → chunk-ITND4I7J.js.map} +0 -0
- /package/build/legacy/{chunk-BEYPMC73.js.map → chunk-TSUSAKL3.js.map} +0 -0
- /package/build/legacy/{chunk-XB4ZRAH4.js.map → chunk-URKYD3YB.js.map} +0 -0
- /package/build/legacy/{chunk-LF2QFS5S.js.map → chunk-XYCRUMOL.js.map} +0 -0
- /package/build/legacy/{chunk-IL5ELPTT.js.map → chunk-YRGASCC5.js.map} +0 -0
- /package/build/modern/{chunk-Y5IY7O23.js.map → chunk-GM3AUVXL.js.map} +0 -0
- /package/build/modern/{chunk-IOG6XIR5.js.map → chunk-NVCUFUD7.js.map} +0 -0
- /package/build/modern/{chunk-4N2L357B.js.map → chunk-O7SC4O5S.js.map} +0 -0
- /package/build/modern/{chunk-LTDNZRUY.js.map → chunk-QRTCZO2W.js.map} +0 -0
- /package/build/modern/{chunk-BEYPMC73.js.map → chunk-TSUSAKL3.js.map} +0 -0
- /package/build/modern/{chunk-XB4ZRAH4.js.map → chunk-URKYD3YB.js.map} +0 -0
- /package/build/modern/{chunk-QO2UXGW4.js.map → chunk-XWE45ZOL.js.map} +0 -0
- /package/build/modern/{chunk-IL5ELPTT.js.map → chunk-YRGASCC5.js.map} +0 -0
package/build/modern/index.js
CHANGED
|
@@ -1,7 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NotificationCenter,
|
|
3
|
+
useNotificationCenter
|
|
4
|
+
} from "./chunk-XWE45ZOL.js";
|
|
1
5
|
import {
|
|
2
6
|
PromptModal,
|
|
3
7
|
usePromptModal
|
|
4
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QRTCZO2W.js";
|
|
9
|
+
import {
|
|
10
|
+
Textarea
|
|
11
|
+
} from "./chunk-TCO46FK7.js";
|
|
5
12
|
import {
|
|
6
13
|
Th
|
|
7
14
|
} from "./chunk-3GXISGPS.js";
|
|
@@ -10,15 +17,11 @@ import {
|
|
|
10
17
|
} from "./chunk-N3FUF4TB.js";
|
|
11
18
|
import {
|
|
12
19
|
Toggle
|
|
13
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-YRGASCC5.js";
|
|
14
21
|
import {
|
|
15
22
|
ConfirmModal,
|
|
16
23
|
useConfirmModal
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
NotificationCenter,
|
|
20
|
-
useNotificationCenter
|
|
21
|
-
} from "./chunk-QO2UXGW4.js";
|
|
24
|
+
} from "./chunk-GM3AUVXL.js";
|
|
22
25
|
import {
|
|
23
26
|
Tab
|
|
24
27
|
} from "./chunk-SONHHNYQ.js";
|
|
@@ -41,9 +44,6 @@ import {
|
|
|
41
44
|
import {
|
|
42
45
|
Td
|
|
43
46
|
} from "./chunk-XREC5IJE.js";
|
|
44
|
-
import {
|
|
45
|
-
Textarea
|
|
46
|
-
} from "./chunk-TCO46FK7.js";
|
|
47
47
|
import {
|
|
48
48
|
NavMenuList,
|
|
49
49
|
getPosition
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
} from "./chunk-KJUCHZHV.js";
|
|
58
58
|
import {
|
|
59
59
|
Notification
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-O7SC4O5S.js";
|
|
61
61
|
import {
|
|
62
62
|
NotificationDescription
|
|
63
63
|
} from "./chunk-HW76XVA3.js";
|
|
@@ -70,12 +70,16 @@ import {
|
|
|
70
70
|
import {
|
|
71
71
|
Radio
|
|
72
72
|
} from "./chunk-PH64POOB.js";
|
|
73
|
+
import {
|
|
74
|
+
Option,
|
|
75
|
+
Select
|
|
76
|
+
} from "./chunk-MINQJYGV.js";
|
|
73
77
|
import {
|
|
74
78
|
Input
|
|
75
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-URKYD3YB.js";
|
|
76
80
|
import {
|
|
77
81
|
Label
|
|
78
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-RQPDRHRP.js";
|
|
79
83
|
import {
|
|
80
84
|
Modal
|
|
81
85
|
} from "./chunk-2UFNQM55.js";
|
|
@@ -126,7 +130,7 @@ import {
|
|
|
126
130
|
} from "./chunk-ZAU4JVLL.js";
|
|
127
131
|
import {
|
|
128
132
|
FileUploader
|
|
129
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-NVCUFUD7.js";
|
|
130
134
|
import {
|
|
131
135
|
Show
|
|
132
136
|
} from "./chunk-4O4QFF4S.js";
|
|
@@ -151,8 +155,8 @@ import {
|
|
|
151
155
|
import {
|
|
152
156
|
$cerberusIcons,
|
|
153
157
|
defineIcons
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import "./chunk-
|
|
158
|
+
} from "./chunk-TSUSAKL3.js";
|
|
159
|
+
import "./chunk-H4F2ONKN.js";
|
|
156
160
|
import {
|
|
157
161
|
useModal
|
|
158
162
|
} from "./chunk-C5HLLGME.js";
|
|
@@ -186,9 +190,11 @@ export {
|
|
|
186
190
|
NotificationCenter,
|
|
187
191
|
NotificationDescription,
|
|
188
192
|
NotificationHeading,
|
|
193
|
+
Option,
|
|
189
194
|
Portal,
|
|
190
195
|
PromptModal,
|
|
191
196
|
Radio,
|
|
197
|
+
Select,
|
|
192
198
|
Show,
|
|
193
199
|
THEME_KEY,
|
|
194
200
|
Tab,
|
|
@@ -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/Button'\nexport * from './components/Droppable'\nexport * from './components/FieldMessage'\nexport * from './components/FeatureFlag'\nexport * from './components/FileUploader'\nexport * from './components/IconButton'\nexport * from './components/Input'\nexport * from './components/Label'\nexport * from './components/Modal'\nexport * from './components/ModalHeader'\nexport * from './components/ModalHeading'\nexport * from './components/ModalDescription'\nexport * from './components/ModalIcon'\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/Radio'\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/Button'\nexport * from './components/Droppable'\nexport * from './components/FieldMessage'\nexport * from './components/FeatureFlag'\nexport * from './components/FileUploader'\nexport * from './components/IconButton'\nexport * from './components/Input'\nexport * from './components/Label'\nexport * from './components/Modal'\nexport * from './components/ModalHeader'\nexport * from './components/ModalHeading'\nexport * from './components/ModalDescription'\nexport * from './components/ModalIcon'\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/Radio'\nexport * from './components/Select'\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2EA,cAAc;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cerberus-design/react",
|
|
3
|
-
"version": "0.8.0-next-
|
|
3
|
+
"version": "0.8.0-next-4fc3696",
|
|
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.8.0-next-
|
|
29
|
+
"@cerberus-design/styled-system": "0.8.0-next-4fc3696"
|
|
30
30
|
},
|
|
31
31
|
"publishConfig": {
|
|
32
32
|
"access": "public"
|
package/src/components/Label.tsx
CHANGED
|
@@ -38,12 +38,13 @@ export function Label(props: PropsWithChildren<LabelProps>) {
|
|
|
38
38
|
return (
|
|
39
39
|
<label
|
|
40
40
|
{...nativeProps}
|
|
41
|
-
data-disabled
|
|
41
|
+
{...(disabled && { 'data-disabled': true })}
|
|
42
42
|
className={cx(
|
|
43
43
|
nativeProps.className,
|
|
44
44
|
label({ size, usage }),
|
|
45
45
|
hstack({
|
|
46
46
|
justify: 'space-between',
|
|
47
|
+
w: 'full',
|
|
47
48
|
}),
|
|
48
49
|
)}
|
|
49
50
|
>
|
|
@@ -51,7 +52,7 @@ export function Label(props: PropsWithChildren<LabelProps>) {
|
|
|
51
52
|
<Show when={required}>
|
|
52
53
|
<span
|
|
53
54
|
className={css({
|
|
54
|
-
color: '
|
|
55
|
+
color: 'inherit',
|
|
55
56
|
fontSize: 'inherit',
|
|
56
57
|
})}
|
|
57
58
|
>
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
|
|
3
|
+
import { cx } from '@cerberus/styled-system/css'
|
|
4
|
+
import { hstack } from '@cerberus/styled-system/patterns'
|
|
5
|
+
import {
|
|
6
|
+
select,
|
|
7
|
+
type SelectVariantProps,
|
|
8
|
+
} from '@cerberus/styled-system/recipes'
|
|
9
|
+
import type { OptionHTMLAttributes, SelectHTMLAttributes } from 'react'
|
|
10
|
+
import { $cerberusIcons } from '../config/defineIcons'
|
|
11
|
+
import { useFieldContext } from '../context/field'
|
|
12
|
+
import { Show } from './Show'
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* This module contains the select components.
|
|
16
|
+
* @module
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
export type SelectProps = Omit<
|
|
20
|
+
SelectHTMLAttributes<HTMLSelectElement>,
|
|
21
|
+
'size'
|
|
22
|
+
> &
|
|
23
|
+
SelectVariantProps & {
|
|
24
|
+
id: string
|
|
25
|
+
describedBy?: string
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Select component
|
|
30
|
+
* props: SelectHTMLAttributes<HTMLSelectElement> & SelectVariantProps & { describedBy?: string }
|
|
31
|
+
* @example
|
|
32
|
+
* ```tsx
|
|
33
|
+
* <Select describedby="help:fruit" id="fruit">
|
|
34
|
+
* <Option value="">Choose option</Option>
|
|
35
|
+
* <Option value="one">Option 1</Option>
|
|
36
|
+
* <Option value="two">Option 2</Option>
|
|
37
|
+
* <Option value="three">Option 3</Option>
|
|
38
|
+
* </Select>
|
|
39
|
+
* ```
|
|
40
|
+
*/
|
|
41
|
+
export function Select(props: SelectProps) {
|
|
42
|
+
const { describedBy, size, ...nativeProps } = props
|
|
43
|
+
const { invalid, ...fieldStates } = useFieldContext()
|
|
44
|
+
const { invalid: InvalidIcon, selectArrow: SelectArrow } = $cerberusIcons
|
|
45
|
+
const styles = select({
|
|
46
|
+
size,
|
|
47
|
+
})
|
|
48
|
+
|
|
49
|
+
return (
|
|
50
|
+
<div className={styles.root}>
|
|
51
|
+
<select
|
|
52
|
+
{...nativeProps}
|
|
53
|
+
{...fieldStates}
|
|
54
|
+
{...(describedBy && { 'aria-describedby': describedBy })}
|
|
55
|
+
{...(invalid && { 'aria-invalid': true })}
|
|
56
|
+
className={styles.input}
|
|
57
|
+
/>
|
|
58
|
+
<span
|
|
59
|
+
className={cx(
|
|
60
|
+
styles.iconStack,
|
|
61
|
+
hstack({
|
|
62
|
+
gap: '2',
|
|
63
|
+
}),
|
|
64
|
+
)}
|
|
65
|
+
>
|
|
66
|
+
<Show when={invalid}>
|
|
67
|
+
<span
|
|
68
|
+
{...(invalid && { 'data-invalid': true })}
|
|
69
|
+
className={styles.stateIcon}
|
|
70
|
+
>
|
|
71
|
+
<InvalidIcon />
|
|
72
|
+
</span>
|
|
73
|
+
</Show>
|
|
74
|
+
<span className={styles.arrowIcon}>
|
|
75
|
+
<SelectArrow />
|
|
76
|
+
</span>
|
|
77
|
+
</span>
|
|
78
|
+
</div>
|
|
79
|
+
)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
// We only export this component for consistency with the other components
|
|
83
|
+
|
|
84
|
+
export type OptionProps = OptionHTMLAttributes<HTMLOptionElement>
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Option component
|
|
88
|
+
* props: OptionHTMLAttributes<HTMLOptionElement>
|
|
89
|
+
* @example
|
|
90
|
+
* ```tsx
|
|
91
|
+
* <Option value="one">Option 1</Option>
|
|
92
|
+
* ```
|
|
93
|
+
*/
|
|
94
|
+
export function Option(props: OptionProps) {
|
|
95
|
+
return <option {...props} />
|
|
96
|
+
}
|
package/src/config/cerbIcons.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Checkmark,
|
|
3
3
|
CheckmarkFilled,
|
|
4
|
+
ChevronDown,
|
|
4
5
|
CloudUpload,
|
|
5
6
|
ErrorFilled,
|
|
6
7
|
Information,
|
|
@@ -21,6 +22,7 @@ export interface DefinedIcons {
|
|
|
21
22
|
warningNotification?: IconType
|
|
22
23
|
dangerNotification?: IconType
|
|
23
24
|
invalid: IconType
|
|
25
|
+
selectArrow?: IconType
|
|
24
26
|
toggleChecked?: IconType
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -33,5 +35,6 @@ export const defaultIcons: DefinedIcons = {
|
|
|
33
35
|
warningNotification: WarningFilled,
|
|
34
36
|
dangerNotification: ErrorFilled,
|
|
35
37
|
invalid: WarningFilled,
|
|
38
|
+
selectArrow: ChevronDown,
|
|
36
39
|
toggleChecked: Checkmark,
|
|
37
40
|
}
|
package/src/index.ts
CHANGED
|
@@ -26,6 +26,7 @@ export * from './components/NotificationHeading'
|
|
|
26
26
|
export * from './components/NotificationDescription'
|
|
27
27
|
export * from './components/Portal'
|
|
28
28
|
export * from './components/Radio'
|
|
29
|
+
export * from './components/Select'
|
|
29
30
|
export * from './components/Tab'
|
|
30
31
|
export * from './components/TabList'
|
|
31
32
|
export * from './components/TabPanel'
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/config/cerbIcons.ts"],"sourcesContent":["import {\n Checkmark,\n CheckmarkFilled,\n CloudUpload,\n ErrorFilled,\n Information,\n InformationFilled,\n WarningFilled,\n type CarbonIconType,\n} from '@cerberus/icons'\nimport type { ElementType } from 'react'\n\nexport type IconType = CarbonIconType | ElementType\n\nexport interface DefinedIcons {\n confirmModal?: IconType\n promptModal?: IconType\n fileUploader?: IconType\n infoNotification?: IconType\n successNotification?: IconType\n warningNotification?: IconType\n dangerNotification?: IconType\n invalid: IconType\n toggleChecked?: IconType\n}\n\nexport const defaultIcons: DefinedIcons = {\n confirmModal: Information,\n promptModal: Information,\n fileUploader: CloudUpload,\n infoNotification: InformationFilled,\n successNotification: CheckmarkFilled,\n warningNotification: WarningFilled,\n dangerNotification: ErrorFilled,\n invalid: WarningFilled,\n toggleChecked: Checkmark,\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAiBA,IAAM,eAA6B;AAAA,EACxC,cAAc;AAAA,EACd,aAAa;AAAA,EACb,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,SAAS;AAAA,EACT,eAAe;AACjB;","names":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/config/cerbIcons.ts"],"sourcesContent":["import {\n Checkmark,\n CheckmarkFilled,\n CloudUpload,\n ErrorFilled,\n Information,\n InformationFilled,\n WarningFilled,\n type CarbonIconType,\n} from '@cerberus/icons'\nimport type { ElementType } from 'react'\n\nexport type IconType = CarbonIconType | ElementType\n\nexport interface DefinedIcons {\n confirmModal?: IconType\n promptModal?: IconType\n fileUploader?: IconType\n infoNotification?: IconType\n successNotification?: IconType\n warningNotification?: IconType\n dangerNotification?: IconType\n invalid: IconType\n toggleChecked?: IconType\n}\n\nexport const defaultIcons: DefinedIcons = {\n confirmModal: Information,\n promptModal: Information,\n fileUploader: CloudUpload,\n infoNotification: InformationFilled,\n successNotification: CheckmarkFilled,\n warningNotification: WarningFilled,\n dangerNotification: ErrorFilled,\n invalid: WarningFilled,\n toggleChecked: Checkmark,\n}\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OAEK;AAiBA,IAAM,eAA6B;AAAA,EACxC,cAAc;AAAA,EACd,aAAa;AAAA,EACb,cAAc;AAAA,EACd,kBAAkB;AAAA,EAClB,qBAAqB;AAAA,EACrB,qBAAqB;AAAA,EACrB,oBAAoB;AAAA,EACpB,SAAS;AAAA,EACT,eAAe;AACjB;","names":[]}
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|