ctc-component-library 0.1.46 → 0.1.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -30,3 +30,4 @@ export { DropdownMultiple } from './src/components/molecules/dropdowns/DropdownM
|
|
|
30
30
|
export { Modal as ModalV2, ModalTrigger, ModalContent, ModalTitle, ModalDescription, ModalBody, ModalFooter, ModalCloseButton } from './src/components/organisms/Modal/ModalV2';
|
|
31
31
|
export { useToast, ToastContextProvider } from './src/components/atoms/Toast/Toast';
|
|
32
32
|
export { Alert, AlertContent, AlertDescription, AlertIcon, type AlertSize, type AlertVariant } from './src/components/molecules/alert/Alert';
|
|
33
|
+
export { Label } from './src/components/atoms/Label/Label';
|
package/dist/index.es.js
CHANGED
|
@@ -42861,6 +42861,7 @@ export {
|
|
|
42861
42861
|
o4 as DropdownMultiple,
|
|
42862
42862
|
On as Icon,
|
|
42863
42863
|
XV as InputNumber,
|
|
42864
|
+
eV as Label,
|
|
42864
42865
|
e4 as Modal,
|
|
42865
42866
|
IV as ModalBody,
|
|
42866
42867
|
RV as ModalCloseButton,
|
|
@@ -12,7 +12,7 @@ export interface Option {
|
|
|
12
12
|
label: string;
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
}
|
|
15
|
-
export interface DropdownProps {
|
|
15
|
+
export interface DropdownProps extends Omit<React.ComponentProps<'div'>, 'onChange'> {
|
|
16
16
|
options: Option[];
|
|
17
17
|
selectedOption?: Option;
|
|
18
18
|
onChange: (option: Option) => void;
|