@spear-ai/spectral 1.3.42 → 1.3.44
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/.js +152 -106
- package/dist/Accordion/AccordionBase.d.ts +8 -8
- package/dist/Alert/AlertBase.d.ts +14 -0
- package/dist/Alert/AlertBase.js +63 -0
- package/dist/Alert.d.ts +12 -0
- package/dist/Alert.js +102 -0
- package/dist/Avatar.d.ts +2 -0
- package/dist/Avatar.js +1 -0
- package/dist/Badge/BadgeBase.d.ts +1 -1
- package/dist/Button.d.ts +2 -2
- package/dist/Button.js +24 -30
- package/dist/Checkbox/CheckboxBase.d.ts +5 -5
- package/dist/Dialog/DialogBase.d.ts +7 -7
- package/dist/Dialog/DialogBase.js +87 -86
- package/dist/Dialog.d.ts +1 -1
- package/dist/Drawer.d.ts +1 -1
- package/dist/Drawer.js +141 -139
- package/dist/Icons/AnnotationsIcon.d.ts +1 -1
- package/dist/Icons/AnnotationsIcon.js +8 -7
- package/dist/Icons/CalendarIcon.d.ts +1 -1
- package/dist/Icons/CalendarIcon.js +9 -8
- package/dist/Icons/CheckCircleIcon.d.ts +3 -0
- package/dist/Icons/CheckCircleIcon.js +29 -0
- package/dist/Icons/CheckSquareIcon.d.ts +3 -0
- package/dist/Icons/CheckSquareIcon.js +29 -0
- package/dist/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/Icons/ChevronDownIcon.js +28 -0
- package/dist/Icons/ChevronUpIcon.d.ts +3 -0
- package/dist/Icons/ChevronUpIcon.js +28 -0
- package/dist/Icons/ClockIcon.d.ts +1 -1
- package/dist/Icons/ClockIcon.js +9 -8
- package/dist/Icons/CloseCircleIcon.d.ts +3 -0
- package/dist/Icons/CloseCircleIcon.js +29 -0
- package/dist/Icons/CloseIcon.d.ts +3 -0
- package/dist/Icons/CloseIcon.js +28 -0
- package/dist/Icons/DashboardIcon.d.ts +1 -1
- package/dist/Icons/DashboardIcon.js +9 -8
- package/dist/Icons/DeleteIcon.d.ts +1 -1
- package/dist/Icons/DeleteIcon.js +9 -8
- package/dist/Icons/DurationIcon.d.ts +1 -1
- package/dist/Icons/DurationIcon.js +9 -8
- package/dist/Icons/EraserIcon.d.ts +1 -1
- package/dist/Icons/EraserIcon.js +9 -8
- package/dist/Icons/ErrorIcon.d.ts +3 -0
- package/dist/Icons/ErrorIcon.js +30 -0
- package/dist/Icons/EyeClosedIcon.d.ts +3 -0
- package/dist/Icons/EyeClosedIcon.js +32 -0
- package/dist/Icons/EyeClosedIcon2.d.ts +3 -0
- package/dist/Icons/EyeClosedIcon2.js +30 -0
- package/dist/Icons/EyeOpenIcon.d.ts +3 -0
- package/dist/Icons/EyeOpenIcon.js +28 -0
- package/dist/Icons/GoToFirstIcon.d.ts +1 -1
- package/dist/Icons/GoToFirstIcon.js +9 -8
- package/dist/Icons/GoToLastIcon.d.ts +1 -1
- package/dist/Icons/GoToLastIcon.js +9 -8
- package/dist/Icons/HarmonicCursorsIcon.d.ts +1 -1
- package/dist/Icons/HarmonicCursorsIcon.js +9 -8
- package/dist/Icons/IconBase.d.ts +3 -3
- package/dist/Icons/InfoIcon.d.ts +1 -1
- package/dist/Icons/InfoIcon.js +9 -8
- package/dist/Icons/LabelIcon.d.ts +1 -1
- package/dist/Icons/LabelIcon.js +8 -7
- package/dist/Icons/LassoIcon.d.ts +1 -1
- package/dist/Icons/LassoIcon.js +9 -8
- package/dist/Icons/LineToolIcon.d.ts +1 -1
- package/dist/Icons/LineToolIcon.js +9 -8
- package/dist/Icons/LiveViewIcon.d.ts +1 -1
- package/dist/Icons/LiveViewIcon.js +9 -8
- package/dist/Icons/LoaderIcon.d.ts +3 -0
- package/dist/Icons/LoaderIcon.js +53 -0
- package/dist/Icons/LocationIcon.d.ts +1 -1
- package/dist/Icons/LocationIcon.js +9 -8
- package/dist/Icons/LogoutIcon.d.ts +1 -1
- package/dist/Icons/LogoutIcon.js +8 -7
- package/dist/Icons/MetadataIcon.d.ts +1 -1
- package/dist/Icons/MetadataIcon.js +8 -7
- package/dist/Icons/OntologyIcon.d.ts +1 -1
- package/dist/Icons/OntologyIcon.js +9 -8
- package/dist/Icons/PanelIcon.d.ts +1 -1
- package/dist/Icons/PanelIcon.js +9 -8
- package/dist/Icons/PlayIcon.d.ts +1 -1
- package/dist/Icons/PlayIcon.js +8 -7
- package/dist/Icons/PlusIcon.d.ts +1 -1
- package/dist/Icons/PlusIcon.js +8 -7
- package/dist/Icons/ResetIcon.d.ts +1 -1
- package/dist/Icons/ResetIcon.js +8 -7
- package/dist/Icons/ScissorsIcon.d.ts +1 -1
- package/dist/Icons/ScissorsIcon.js +9 -8
- package/dist/Icons/SettingsIcon.d.ts +1 -1
- package/dist/Icons/SettingsIcon.js +9 -8
- package/dist/Icons/TrashIcon.d.ts +1 -1
- package/dist/Icons/TrashIcon.js +8 -7
- package/dist/Icons/UndoIcon.d.ts +1 -1
- package/dist/Icons/UndoIcon.js +8 -7
- package/dist/Icons/UserIcon.d.ts +1 -1
- package/dist/Icons/UserIcon.js +8 -7
- package/dist/Icons/WarningIcon.d.ts +1 -1
- package/dist/Icons/WarningIcon.js +8 -7
- package/dist/Icons/ZoomAllIcon.d.ts +1 -1
- package/dist/Icons/ZoomAllIcon.js +9 -8
- package/dist/Icons/ZoomXIcon.d.ts +1 -1
- package/dist/Icons/ZoomXIcon.js +9 -8
- package/dist/Icons/ZoomYIcon.d.ts +1 -1
- package/dist/Icons/ZoomYIcon.js +9 -8
- package/dist/Icons/index.d.ts +11 -0
- package/dist/Icons.js +82 -60
- package/dist/Input/InputUtils.d.ts +15 -0
- package/dist/Input/InputUtils.js +54 -0
- package/dist/Input.d.ts +24 -0
- package/dist/Input.js +170 -0
- package/dist/Label.d.ts +2 -2
- package/dist/MultiSelect/MultiSelectBase.d.ts +34 -0
- package/dist/MultiSelect/MultiSelectBase.js +321 -0
- package/dist/MultiSelect/MutiSelect.d.ts +15 -0
- package/dist/MultiSelect/MutiSelect.js +30 -0
- package/dist/Popover.d.ts +2 -2
- package/dist/Popover.js +61 -59
- package/dist/RadioButtonGroup/RadioButtonGroupBase.d.ts +5 -3
- package/dist/RadioButtonGroup/RadioButtonGroupBase.js +43 -40
- package/dist/RadioButtonGroup.d.ts +2 -2
- package/dist/RadioButtonGroup.js +6 -6
- package/dist/RadioGroup/RadioGroupBase.d.ts +7 -7
- package/dist/RadioGroup.d.ts +1 -1
- package/dist/Select/SelectBase.d.ts +26 -0
- package/dist/Select/SelectBase.js +233 -0
- package/dist/Select.d.ts +50 -0
- package/dist/Select.js +136 -0
- package/dist/Skeleton.d.ts +1 -1
- package/dist/Slider/SliderBase.d.ts +7 -7
- package/dist/SpectralProvider.d.ts +1 -1
- package/dist/Switch/SwitchBase.d.ts +4 -4
- package/dist/Switch.d.ts +2 -2
- package/dist/Textarea/TextareaUtils.d.ts +19 -0
- package/dist/Textarea/TextareaUtils.js +54 -0
- package/dist/Textarea.d.ts +17 -0
- package/dist/Textarea.js +160 -0
- package/dist/Toggle/ToggleBase.d.ts +5 -4
- package/dist/Toggle/ToggleBase.js +30 -28
- package/dist/Toggle.d.ts +2 -2
- package/dist/ToggleGroup/ToggleGroupBase.d.ts +2 -2
- package/dist/ToggleGroup.d.ts +3 -3
- package/dist/Tooltip/TooltipBase.d.ts +8 -8
- package/dist/Tooltip.d.ts +1 -1
- package/dist/chevron-down-UbkgS76q.js +19 -0
- package/dist/components/Accordion/AccordionBase.d.ts +8 -8
- package/dist/components/Alert/Alert.d.ts +12 -0
- package/dist/components/Alert/Alert.d.ts.map +1 -0
- package/dist/components/Alert/AlertBase.d.ts +14 -0
- package/dist/components/Alert/AlertBase.d.ts.map +1 -0
- package/dist/components/Avatar/Avatar.d.ts +2 -0
- package/dist/components/Avatar/Avatar.d.ts.map +1 -0
- package/dist/components/Badge/BadgeBase.d.ts +1 -1
- package/dist/components/Button/Button.d.ts +2 -2
- package/dist/components/Checkbox/CheckboxBase.d.ts +5 -5
- package/dist/components/Dialog/Dialog.d.ts +1 -1
- package/dist/components/Dialog/DialogBase.d.ts +7 -7
- package/dist/components/Dialog/DialogBase.d.ts.map +1 -1
- package/dist/components/Drawer/Drawer.d.ts +1 -1
- package/dist/components/Drawer/Drawer.d.ts.map +1 -1
- package/dist/components/Icons/AnnotationsIcon.d.ts +1 -1
- package/dist/components/Icons/AnnotationsIcon.d.ts.map +1 -1
- package/dist/components/Icons/CalendarIcon.d.ts +1 -1
- package/dist/components/Icons/CalendarIcon.d.ts.map +1 -1
- package/dist/components/Icons/CheckCircleIcon.d.ts +3 -0
- package/dist/components/Icons/CheckCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CheckSquareIcon.d.ts +3 -0
- package/dist/components/Icons/CheckSquareIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronDownIcon.d.ts.map +1 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts +3 -0
- package/dist/components/Icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/components/Icons/ClockIcon.d.ts +1 -1
- package/dist/components/Icons/ClockIcon.d.ts.map +1 -1
- package/dist/components/Icons/CloseCircleIcon.d.ts +3 -0
- package/dist/components/Icons/CloseCircleIcon.d.ts.map +1 -0
- package/dist/components/Icons/CloseIcon.d.ts +3 -0
- package/dist/components/Icons/CloseIcon.d.ts.map +1 -0
- package/dist/components/Icons/DashboardIcon.d.ts +1 -1
- package/dist/components/Icons/DashboardIcon.d.ts.map +1 -1
- package/dist/components/Icons/DeleteIcon.d.ts +1 -1
- package/dist/components/Icons/DeleteIcon.d.ts.map +1 -1
- package/dist/components/Icons/DurationIcon.d.ts +1 -1
- package/dist/components/Icons/DurationIcon.d.ts.map +1 -1
- package/dist/components/Icons/EraserIcon.d.ts +1 -1
- package/dist/components/Icons/EraserIcon.d.ts.map +1 -1
- package/dist/components/Icons/ErrorIcon.d.ts +3 -0
- package/dist/components/Icons/ErrorIcon.d.ts.map +1 -0
- package/dist/components/Icons/EyeClosedIcon.d.ts +3 -0
- package/dist/components/Icons/EyeClosedIcon.d.ts.map +1 -0
- package/dist/components/Icons/EyeClosedIcon2.d.ts +3 -0
- package/dist/components/Icons/EyeClosedIcon2.d.ts.map +1 -0
- package/dist/components/Icons/EyeOpenIcon.d.ts +3 -0
- package/dist/components/Icons/EyeOpenIcon.d.ts.map +1 -0
- package/dist/components/Icons/GoToFirstIcon.d.ts +1 -1
- package/dist/components/Icons/GoToFirstIcon.d.ts.map +1 -1
- package/dist/components/Icons/GoToLastIcon.d.ts +1 -1
- package/dist/components/Icons/GoToLastIcon.d.ts.map +1 -1
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts +1 -1
- package/dist/components/Icons/HarmonicCursorsIcon.d.ts.map +1 -1
- package/dist/components/Icons/IconBase.d.ts +3 -3
- package/dist/components/Icons/InfoIcon.d.ts +1 -1
- package/dist/components/Icons/InfoIcon.d.ts.map +1 -1
- package/dist/components/Icons/LabelIcon.d.ts +1 -1
- package/dist/components/Icons/LabelIcon.d.ts.map +1 -1
- package/dist/components/Icons/LassoIcon.d.ts +1 -1
- package/dist/components/Icons/LassoIcon.d.ts.map +1 -1
- package/dist/components/Icons/LineToolIcon.d.ts +1 -1
- package/dist/components/Icons/LineToolIcon.d.ts.map +1 -1
- package/dist/components/Icons/LiveViewIcon.d.ts +1 -1
- package/dist/components/Icons/LiveViewIcon.d.ts.map +1 -1
- package/dist/components/Icons/LoaderIcon.d.ts +3 -0
- package/dist/components/Icons/LoaderIcon.d.ts.map +1 -0
- package/dist/components/Icons/LocationIcon.d.ts +1 -1
- package/dist/components/Icons/LocationIcon.d.ts.map +1 -1
- package/dist/components/Icons/LogoutIcon.d.ts +1 -1
- package/dist/components/Icons/LogoutIcon.d.ts.map +1 -1
- package/dist/components/Icons/MetadataIcon.d.ts +1 -1
- package/dist/components/Icons/MetadataIcon.d.ts.map +1 -1
- package/dist/components/Icons/OntologyIcon.d.ts +1 -1
- package/dist/components/Icons/OntologyIcon.d.ts.map +1 -1
- package/dist/components/Icons/PanelIcon.d.ts +1 -1
- package/dist/components/Icons/PanelIcon.d.ts.map +1 -1
- package/dist/components/Icons/PlayIcon.d.ts +1 -1
- package/dist/components/Icons/PlayIcon.d.ts.map +1 -1
- package/dist/components/Icons/PlusIcon.d.ts +1 -1
- package/dist/components/Icons/PlusIcon.d.ts.map +1 -1
- package/dist/components/Icons/ResetIcon.d.ts +1 -1
- package/dist/components/Icons/ResetIcon.d.ts.map +1 -1
- package/dist/components/Icons/ScissorsIcon.d.ts +1 -1
- package/dist/components/Icons/ScissorsIcon.d.ts.map +1 -1
- package/dist/components/Icons/SettingsIcon.d.ts +1 -1
- package/dist/components/Icons/SettingsIcon.d.ts.map +1 -1
- package/dist/components/Icons/TrashIcon.d.ts +1 -1
- package/dist/components/Icons/TrashIcon.d.ts.map +1 -1
- package/dist/components/Icons/UndoIcon.d.ts +1 -1
- package/dist/components/Icons/UndoIcon.d.ts.map +1 -1
- package/dist/components/Icons/UserIcon.d.ts +1 -1
- package/dist/components/Icons/UserIcon.d.ts.map +1 -1
- package/dist/components/Icons/WarningIcon.d.ts +1 -1
- package/dist/components/Icons/WarningIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomAllIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomAllIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomXIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomXIcon.d.ts.map +1 -1
- package/dist/components/Icons/ZoomYIcon.d.ts +1 -1
- package/dist/components/Icons/ZoomYIcon.d.ts.map +1 -1
- package/dist/components/Icons/iconTypes.d.ts +3 -3
- package/dist/components/Icons/iconTypes.d.ts.map +1 -1
- package/dist/components/Icons/index.d.ts +11 -0
- package/dist/components/Icons/index.d.ts.map +1 -1
- package/dist/components/Input/Input.d.ts +24 -0
- package/dist/components/Input/Input.d.ts.map +1 -0
- package/dist/components/Input/InputUtils.d.ts +15 -0
- package/dist/components/Input/InputUtils.d.ts.map +1 -0
- package/dist/components/Label/Label.d.ts +2 -2
- package/dist/components/MultiSelect/MultiSelectBase.d.ts +34 -0
- package/dist/components/MultiSelect/MultiSelectBase.d.ts.map +1 -0
- package/dist/components/MultiSelect/MutiSelect.d.ts +15 -0
- package/dist/components/MultiSelect/MutiSelect.d.ts.map +1 -0
- package/dist/components/Popover/Popover.d.ts +2 -2
- package/dist/components/Popover/Popover.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts +2 -2
- package/dist/components/RadioButtonGroup/RadioButtonGroup.d.ts.map +1 -1
- package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts +5 -3
- package/dist/components/RadioButtonGroup/RadioButtonGroupBase.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.d.ts +1 -1
- package/dist/components/RadioGroup/RadioGroupBase.d.ts +7 -7
- package/dist/components/Select/Select.d.ts +50 -0
- package/dist/components/Select/Select.d.ts.map +1 -0
- package/dist/components/Select/SelectBase.d.ts +26 -0
- package/dist/components/Select/SelectBase.d.ts.map +1 -0
- package/dist/components/Skeleton/Skeleton.d.ts +1 -1
- package/dist/components/Slider/SliderBase.d.ts +7 -7
- package/dist/components/SpectralProvider/SpectralProvider.d.ts +1 -1
- package/dist/components/Switch/Switch.d.ts +2 -2
- package/dist/components/Switch/SwitchBase.d.ts +4 -4
- package/dist/components/Textarea/Textarea.d.ts +17 -0
- package/dist/components/Textarea/Textarea.d.ts.map +1 -0
- package/dist/components/Textarea/TextareaUtils.d.ts +19 -0
- package/dist/components/Textarea/TextareaUtils.d.ts.map +1 -0
- package/dist/components/Toggle/Toggle.d.ts +2 -2
- package/dist/components/Toggle/ToggleBase.d.ts +5 -4
- package/dist/components/Toggle/ToggleBase.d.ts.map +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.d.ts +3 -3
- package/dist/components/ToggleGroup/ToggleGroupBase.d.ts +2 -2
- package/dist/components/Tooltip/Tooltip.d.ts +1 -1
- package/dist/components/Tooltip/TooltipBase.d.ts +8 -8
- package/dist/features/HorizonColorGrid/HorizonColorGrid.d.ts +1 -1
- package/dist/features/LabelingToolbar/LabelingToolbar.d.ts +1 -1
- package/dist/features/LabelingTools.js +19 -8
- package/dist/features/SensorMetadata.js +21 -10
- package/dist/features/SettingsPopover/SettingsPopover.d.ts.map +1 -1
- package/dist/features/SettingsPopover.js +36 -24
- package/dist/hooks/useAccordionAutoScroll.d.ts +1 -1
- package/dist/hooks/useOutsideClick.d.ts +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/loader-circle-CvdzOiQ_.js +11 -0
- package/dist/primitives/label.d.ts +2 -2
- package/dist/primitives/slot.d.ts +3 -3
- package/dist/styles/base-colors.css +52 -42
- package/dist/styles/main.css +1 -1
- package/dist/utils/formFieldUtils.d.ts +70 -0
- package/dist/utils/formFieldUtils.d.ts.map +1 -0
- package/dist/utils/formFieldUtils.js +178 -0
- package/dist/utils/refs.d.ts +1 -1
- package/dist/x-BBpi7a_7.js +14 -0
- package/package.json +2 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScissorsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ScissorsIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"ScissorsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ScissorsIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA+B5C,eAAO,MAAM,YAAY,qGAA2B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const SettingsIcon: import('
|
|
2
|
+
export declare const SettingsIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=SettingsIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SettingsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SettingsIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"SettingsIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/SettingsIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAqC5C,eAAO,MAAM,YAAY,qGAA2B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const TrashIcon: import('
|
|
2
|
+
export declare const TrashIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=TrashIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrashIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/TrashIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"TrashIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/TrashIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAyB5C,eAAO,MAAM,SAAS,qGAAwB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const UndoIcon: import('
|
|
2
|
+
export declare const UndoIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=UndoIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UndoIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/UndoIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"UndoIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/UndoIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA4B5C,eAAO,MAAM,QAAQ,qGAAuB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const UserIcon: import('
|
|
2
|
+
export declare const UserIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=UserIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/UserIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"UserIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/UserIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA2B5C,eAAO,MAAM,QAAQ,qGAAuB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const WarningIcon: import('
|
|
2
|
+
export declare const WarningIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=WarningIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/WarningIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"WarningIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/WarningIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AA2B5C,eAAO,MAAM,WAAW,qGAA0B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const ZoomAllIcon: import('
|
|
2
|
+
export declare const ZoomAllIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=ZoomAllIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomAllIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomAllIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"ZoomAllIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomAllIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAuD5C,eAAO,MAAM,WAAW,qGAA0B,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const ZoomXIcon: import('
|
|
2
|
+
export declare const ZoomXIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=ZoomXIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomXIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomXIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"ZoomXIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomXIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAoC5C,eAAO,MAAM,SAAS,qGAAwB,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IconProps } from './iconTypes';
|
|
2
|
-
export declare const ZoomYIcon: import('
|
|
2
|
+
export declare const ZoomYIcon: import('react').ForwardRefExoticComponent<IconProps & import('react').RefAttributes<SVGSVGElement>>;
|
|
3
3
|
//# sourceMappingURL=ZoomYIcon.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ZoomYIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomYIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"ZoomYIcon.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/ZoomYIcon.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAoC5C,eAAO,MAAM,SAAS,qGAAwB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ReactElement } from '
|
|
2
|
-
export
|
|
1
|
+
import { ComponentPropsWithoutRef, ReactElement } from 'react';
|
|
2
|
+
export interface IconProps extends ComponentPropsWithoutRef<'svg'> {
|
|
3
3
|
className?: string;
|
|
4
4
|
title?: string;
|
|
5
5
|
description?: string;
|
|
6
6
|
ariaHidden?: boolean;
|
|
7
7
|
color?: string;
|
|
8
8
|
size?: number;
|
|
9
|
-
}
|
|
9
|
+
}
|
|
10
10
|
export type IconComponent = ReactElement<IconProps>;
|
|
11
11
|
//# sourceMappingURL=iconTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"iconTypes.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/iconTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"iconTypes.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/iconTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,wBAAwB,EAAE,KAAK,YAAY,EAAE,MAAM,OAAO,CAAA;AAExE,MAAM,WAAW,SAAU,SAAQ,wBAAwB,CAAC,KAAK,CAAC;IAChE,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,aAAa,GAAG,YAAY,CAAC,SAAS,CAAC,CAAA"}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
export { AnnotationsIcon } from './AnnotationsIcon';
|
|
2
2
|
export { CalendarIcon } from './CalendarIcon';
|
|
3
|
+
export { CheckCircleIcon } from './CheckCircleIcon';
|
|
4
|
+
export { CheckSquareIcon } from './CheckSquareIcon';
|
|
5
|
+
export { ChevronDownIcon } from './ChevronDownIcon';
|
|
6
|
+
export { ChevronUpIcon } from './ChevronUpIcon';
|
|
3
7
|
export { ClockIcon } from './ClockIcon';
|
|
8
|
+
export { CloseCircleIcon } from './CloseCircleIcon';
|
|
9
|
+
export { CloseIcon } from './CloseIcon';
|
|
4
10
|
export { DashboardIcon } from './DashboardIcon';
|
|
5
11
|
export { DeleteIcon } from './DeleteIcon';
|
|
6
12
|
export { DurationIcon } from './DurationIcon';
|
|
7
13
|
export { EraserIcon } from './EraserIcon';
|
|
14
|
+
export { ErrorIcon } from './ErrorIcon';
|
|
15
|
+
export { EyeClosedIcon } from './EyeClosedIcon';
|
|
16
|
+
export { EyeClosedIcon2 } from './EyeClosedIcon2';
|
|
17
|
+
export { EyeOpenIcon } from './EyeOpenIcon';
|
|
8
18
|
export { GoToFirstIcon } from './GoToFirstIcon';
|
|
9
19
|
export { GoToLastIcon } from './GoToLastIcon';
|
|
10
20
|
export { HarmonicCursorsIcon } from './HarmonicCursorsIcon';
|
|
@@ -13,6 +23,7 @@ export { LabelIcon } from './LabelIcon';
|
|
|
13
23
|
export { LassoIcon } from './LassoIcon';
|
|
14
24
|
export { LineToolIcon } from './LineToolIcon';
|
|
15
25
|
export { LiveViewIcon } from './LiveViewIcon';
|
|
26
|
+
export { LoaderIcon } from './LoaderIcon';
|
|
16
27
|
export { LocationIcon } from './LocationIcon';
|
|
17
28
|
export { LogoutIcon } from './LogoutIcon';
|
|
18
29
|
export { MetadataIcon } from './MetadataIcon';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/Icons/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACnD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseFormFieldProps } from '../../utils/formFieldUtils';
|
|
2
|
+
import { FocusEvent, InputHTMLAttributes } from 'react';
|
|
3
|
+
export type InputType = 'text' | 'email' | 'url' | 'tel' | 'password' | 'number' | 'date' | 'datetime-local';
|
|
4
|
+
export type InputProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'id'> & BaseFormFieldProps & {
|
|
5
|
+
className?: string;
|
|
6
|
+
clearOnFocus?: boolean;
|
|
7
|
+
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
8
|
+
onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
9
|
+
prefix?: string;
|
|
10
|
+
showClearButton?: boolean;
|
|
11
|
+
type?: InputType;
|
|
12
|
+
value?: string;
|
|
13
|
+
};
|
|
14
|
+
export declare const Input: import('react').ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement>, "id"> & BaseFormFieldProps & {
|
|
15
|
+
className?: string;
|
|
16
|
+
clearOnFocus?: boolean;
|
|
17
|
+
onBlur?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
18
|
+
onFocus?: (e: FocusEvent<HTMLInputElement>) => void;
|
|
19
|
+
prefix?: string;
|
|
20
|
+
showClearButton?: boolean;
|
|
21
|
+
type?: InputType;
|
|
22
|
+
value?: string;
|
|
23
|
+
} & import('react').RefAttributes<HTMLInputElement>>;
|
|
24
|
+
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../../src/components/Input/Input.tsx"],"names":[],"mappings":"AAEA,OAAO,EAOL,KAAK,kBAAkB,EACxB,MAAM,uBAAuB,CAAA;AAE9B,OAAO,EAKL,KAAK,UAAU,EACf,KAAK,mBAAmB,EAGzB,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,SAAS,GAAG,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,KAAK,GAAG,UAAU,GAAG,QAAQ,GAAG,MAAM,GAAG,gBAAgB,CAAA;AAE5G,MAAM,MAAM,UAAU,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,IAAI,CAAC,GACxE,kBAAkB,GAAG;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,MAAM,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IAClD,OAAO,CAAC,EAAE,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,CAAA;IACnD,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,eAAe,CAAC,EAAE,OAAO,CAAA;IACzB,IAAI,CAAC,EAAE,SAAS,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAgBH,eAAO,MAAM,KAAK;gBAxBF,MAAM;mBACH,OAAO;aACb,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI;cACxC,CAAC,CAAC,EAAE,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI;aAC1C,MAAM;sBACG,OAAO;WAClB,SAAS;YACR,MAAM;oDAyLjB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare const usePrefixWidth: (prefix?: string) => {
|
|
3
|
+
prefixWidth: number;
|
|
4
|
+
prefixRef: RefObject<HTMLSpanElement | null>;
|
|
5
|
+
};
|
|
6
|
+
export declare const usePasswordVisibility: () => {
|
|
7
|
+
isVisible: boolean;
|
|
8
|
+
toggleVisibility: () => void;
|
|
9
|
+
inputType: "text" | "password";
|
|
10
|
+
};
|
|
11
|
+
export declare const useClearOnFocus: (clearOnFocus: boolean, onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void) => {
|
|
12
|
+
hasBeenFocused: boolean;
|
|
13
|
+
handleFocus: (e: React.FocusEvent<HTMLInputElement>, originalOnFocus?: (e: React.FocusEvent<HTMLInputElement>) => void) => void;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=InputUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputUtils.d.ts","sourceRoot":"","sources":["../../../src/components/Input/InputUtils.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkD,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtF,eAAO,MAAM,cAAc,GACzB,SAAS,MAAM,KACd;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,SAAS,CAAC,eAAe,GAAG,IAAI,CAAC,CAAA;CA4BrE,CAAA;AAED,eAAO,MAAM,qBAAqB,QAAO;IACvC,SAAS,EAAE,OAAO,CAAA;IAClB,gBAAgB,EAAE,MAAM,IAAI,CAAA;IAC5B,SAAS,EAAE,MAAM,GAAG,UAAU,CAAA;CAa/B,CAAA;AAED,eAAO,MAAM,eAAe,GAC1B,cAAc,OAAO,EACrB,WAAW,CAAC,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC,gBAAgB,CAAC,KAAK,IAAI,KAC1D;IACD,cAAc,EAAE,OAAO,CAAA;IACvB,WAAW,EAAE,CACX,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,EACrC,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,KAAK,CAAC,UAAU,CAAC,gBAAgB,CAAC,KAAK,IAAI,KAC9D,IAAI,CAAA;CAmCV,CAAA"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { LabelHTMLAttributes, Ref } from '
|
|
1
|
+
import { LabelHTMLAttributes, Ref } from 'react';
|
|
2
2
|
export type LabelProps = LabelHTMLAttributes<HTMLLabelElement> & {
|
|
3
3
|
htmlFor: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
ref?: Ref<HTMLLabelElement>;
|
|
6
6
|
};
|
|
7
|
-
export declare const Label: import('
|
|
7
|
+
export declare const Label: import('react').ForwardRefExoticComponent<Omit<LabelProps, "ref"> & import('react').RefAttributes<HTMLLabelElement>>;
|
|
8
8
|
//# sourceMappingURL=Label.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
export type MultiSelectState = 'default' | 'error' | 'disabled' | 'loading';
|
|
3
|
+
export interface MultiSelectOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
group?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface MultiSelectBaseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange'> {
|
|
10
|
+
value: string[];
|
|
11
|
+
onChange: (value: string[]) => void;
|
|
12
|
+
options: MultiSelectOption[];
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
maxCount?: number;
|
|
15
|
+
state?: MultiSelectState;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
emptyMessage?: string;
|
|
18
|
+
loadingMessage?: string;
|
|
19
|
+
searchPlaceholder?: string;
|
|
20
|
+
selectAllLabel?: string;
|
|
21
|
+
clearAllLabel?: string;
|
|
22
|
+
sortAlphabetically?: boolean;
|
|
23
|
+
showSelectAll?: boolean;
|
|
24
|
+
showClearAll?: boolean;
|
|
25
|
+
showSearch?: boolean;
|
|
26
|
+
closeOnSelect?: boolean;
|
|
27
|
+
name?: string;
|
|
28
|
+
id?: string;
|
|
29
|
+
label?: string;
|
|
30
|
+
'aria-label'?: string;
|
|
31
|
+
'aria-describedby'?: string;
|
|
32
|
+
}
|
|
33
|
+
export declare const MultiSelectBase: import('react').ForwardRefExoticComponent<MultiSelectBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
34
|
+
//# sourceMappingURL=MultiSelectBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MultiSelectBase.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MultiSelectBase.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,oBAAoB,EAU1B,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;AAE3E,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,oBAAqB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC/G,KAAK,EAAE,MAAM,EAAE,CAAA;IACf,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACnC,OAAO,EAAE,iBAAiB,EAAE,CAAA;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,gBAAgB,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAoGD,eAAO,MAAM,eAAe,oHAmV3B,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MultiSelectBaseProps } from './MultiSelectBase';
|
|
2
|
+
export interface MultiSelectProps extends Omit<MultiSelectBaseProps, 'onChange' | 'options'> {
|
|
3
|
+
onValueChange: (value: string[]) => void;
|
|
4
|
+
options: Array<{
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
group?: string;
|
|
8
|
+
}>;
|
|
9
|
+
loading?: boolean;
|
|
10
|
+
emptyText?: string;
|
|
11
|
+
sortAlphabetically?: boolean;
|
|
12
|
+
onSearchChange?: (search: string) => void;
|
|
13
|
+
}
|
|
14
|
+
export declare const MultiSelect: import('react').ForwardRefExoticComponent<MultiSelectProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
15
|
+
//# sourceMappingURL=MutiSelect.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MutiSelect.d.ts","sourceRoot":"","sources":["../../../src/components/MultiSelect/MutiSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAmB,KAAK,oBAAoB,EAA0B,MAAM,mBAAmB,CAAA;AAGtG,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,SAAS,CAAC;IAC1F,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,IAAI,CAAA;IACxC,OAAO,EAAE,KAAK,CAAC;QACb,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;QACb,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAC,CAAA;IACF,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAA;IAC5B,cAAc,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;CAC1C;AAED,eAAO,MAAM,WAAW,gHAsBvB,CAAA"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
3
3
|
export type PopoverContentProps = ComponentProps<typeof PopoverPrimitive.Content> & {
|
|
4
4
|
width?: number | string;
|
|
5
5
|
};
|
|
6
6
|
declare function Popover({ ...props }: ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
declare function PopoverTrigger({ ...props }: ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function PopoverContent({ className, align, sideOffset, width, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare function PopoverContent({ className, align, side, sideOffset, width, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
declare function PopoverAnchor({ ...props }: ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
|
|
10
10
|
export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
|
|
11
11
|
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAClF,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAE1E;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEpF;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,KAAe,EACf,GAAG,KAAK,EACT,EAAE,mBAAmB,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAA;AAE3D,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,mBAAmB,GAAG,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,GAAG;IAClF,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CACxB,CAAA;AAED,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,2CAE1E;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,2CAEpF;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,IAAe,EACf,UAAc,EACd,KAAe,EACf,GAAG,KAAK,EACT,EAAE,mBAAmB,2CAyBrB;AAED,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,2CAElF;AAED,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,cAAc,EAAE,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RadioButtonGroupBase } from './RadioButtonGroupBase';
|
|
2
|
-
import { ComponentProps } from '
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
3
3
|
export type RadioButtonGroupProps = ComponentProps<typeof RadioButtonGroupBase>;
|
|
4
4
|
export declare const RadioButtonGroup: ({ className, children, ...props }: RadioButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export declare const RadioButtonGroupItem: ({ value, children, className, disabled }: import('./RadioButtonGroupBase').RadioButtonGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const RadioButtonGroupItem: ({ value, children, className, disabled, asChild, }: import('./RadioButtonGroupBase').RadioButtonGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=RadioButtonGroup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButtonGroup/RadioButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAoD,MAAM,wBAAwB,CAAA;AAE/G,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE/E,eAAO,MAAM,gBAAgB,GAAI,mCAAmC,qBAAqB,4CAYxF,CAAA;AAED,eAAO,MAAM,oBAAoB,
|
|
1
|
+
{"version":3,"file":"RadioButtonGroup.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButtonGroup/RadioButtonGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAoD,MAAM,wBAAwB,CAAA;AAE/G,OAAO,EAAE,KAAK,cAAc,EAAE,MAAM,OAAO,CAAA;AAE3C,MAAM,MAAM,qBAAqB,GAAG,cAAc,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAE/E,eAAO,MAAM,gBAAgB,GAAI,mCAAmC,qBAAqB,4CAYxF,CAAA;AAED,eAAO,MAAM,oBAAoB,6JAA2B,CAAA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
2
3
|
export type RadioButtonGroupProps = {
|
|
3
4
|
value?: string;
|
|
4
5
|
onValueChange?: (value: string) => void;
|
|
@@ -6,13 +7,14 @@ export type RadioButtonGroupProps = {
|
|
|
6
7
|
className?: string;
|
|
7
8
|
isKeptActive?: boolean;
|
|
8
9
|
expanded?: boolean;
|
|
10
|
+
asChild?: boolean;
|
|
9
11
|
};
|
|
10
|
-
export type RadioButtonGroupItemProps = {
|
|
12
|
+
export type RadioButtonGroupItemProps = AsChildProp & {
|
|
11
13
|
value: string;
|
|
12
14
|
children: ReactNode;
|
|
13
15
|
className?: string;
|
|
14
16
|
disabled?: boolean;
|
|
15
17
|
};
|
|
16
18
|
export declare const RadioButtonGroupBase: ({ value, onValueChange, children, className, isKeptActive, expanded, }: RadioButtonGroupProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export declare const RadioButtonGroupItem: ({ value, children, className, disabled }: RadioButtonGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const RadioButtonGroupItem: ({ value, children, className, disabled, asChild, }: RadioButtonGroupItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
18
20
|
//# sourceMappingURL=RadioButtonGroupBase.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RadioButtonGroupBase.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButtonGroup/RadioButtonGroupBase.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"RadioButtonGroupBase.d.ts","sourceRoot":"","sources":["../../../src/components/RadioButtonGroup/RadioButtonGroupBase.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAQ,KAAK,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEzD,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAA;AAWjE,MAAM,MAAM,qBAAqB,GAAG;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,YAAY,CAAC,EAAE,OAAO,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG;IACpD,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,SAAS,CAAA;IACnB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,wEAOlC,qBAAqB,4CAgBvB,CAAA;AAED,eAAO,MAAM,oBAAoB,GAAI,oDAMlC,yBAAyB,4CA2C3B,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
import * as RadioGroupPrimitive from './RadioGroupBase';
|
|
3
3
|
type RadioGroupVariant = 'default' | 'unstyled';
|
|
4
4
|
export type RadioGroupProps = ComponentProps<typeof RadioGroupPrimitive.RadioGroup> & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
-
import { ButtonHTMLAttributes, HTMLAttributes } from '
|
|
2
|
+
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
type Orientation = 'horizontal' | 'vertical';
|
|
4
4
|
type Dir = 'ltr' | 'rtl';
|
|
5
5
|
type GroupBaseProps = Omit<HTMLAttributes<HTMLDivElement>, 'onChange' | 'role'>;
|
|
@@ -26,7 +26,7 @@ export type RadioGroupItemProps = ItemBaseProps & AsChildProp & {
|
|
|
26
26
|
export type RadioGroupIndicatorProps = HTMLAttributes<HTMLSpanElement> & AsChildProp & {
|
|
27
27
|
forceMount?: boolean;
|
|
28
28
|
};
|
|
29
|
-
export declare const RadioGroup: import('
|
|
29
|
+
export declare const RadioGroup: import('react').ForwardRefExoticComponent<GroupBaseProps & AsChildProp & {
|
|
30
30
|
value?: string;
|
|
31
31
|
defaultValue?: string;
|
|
32
32
|
onValueChange?: (value: string | undefined) => void;
|
|
@@ -38,15 +38,15 @@ export declare const RadioGroup: import('../../../node_modules/react').ForwardRe
|
|
|
38
38
|
dir?: Dir;
|
|
39
39
|
loop?: boolean;
|
|
40
40
|
variant?: "default" | "unstyled";
|
|
41
|
-
} & import('
|
|
42
|
-
export declare const RadioGroupItem: import('
|
|
41
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
42
|
+
export declare const RadioGroupItem: import('react').ForwardRefExoticComponent<ItemBaseProps & AsChildProp & {
|
|
43
43
|
value: string;
|
|
44
44
|
disabled?: boolean;
|
|
45
45
|
id?: string;
|
|
46
46
|
'aria-label'?: string;
|
|
47
|
-
} & import('
|
|
48
|
-
export declare const RadioGroupIndicator: import('
|
|
47
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
48
|
+
export declare const RadioGroupIndicator: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & AsChildProp & {
|
|
49
49
|
forceMount?: boolean;
|
|
50
|
-
} & import('
|
|
50
|
+
} & import('react').RefAttributes<HTMLSpanElement>>;
|
|
51
51
|
export {};
|
|
52
52
|
//# sourceMappingURL=RadioGroupBase.d.ts.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { SelectBase, SelectBaseProps, SelectOption } from './SelectBase';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type SelectState = 'default' | 'error' | 'disabled' | 'loading';
|
|
4
|
+
export type SelectItem = {
|
|
5
|
+
label: string;
|
|
6
|
+
value: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
};
|
|
9
|
+
export interface SelectProps extends Omit<SelectBaseProps, 'options' | 'onChange'> {
|
|
10
|
+
contentClassName?: string;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
itemClassName?: string;
|
|
13
|
+
items: SelectItem[];
|
|
14
|
+
onValueChange?: (value: string) => void;
|
|
15
|
+
placeholder: string;
|
|
16
|
+
triggerClassName?: string;
|
|
17
|
+
value?: string;
|
|
18
|
+
disabled?: boolean;
|
|
19
|
+
name?: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
state?: SelectState;
|
|
22
|
+
emptyMessage?: ReactNode;
|
|
23
|
+
errorMessage?: string;
|
|
24
|
+
label?: string;
|
|
25
|
+
'aria-label'?: string;
|
|
26
|
+
'aria-describedby'?: string;
|
|
27
|
+
}
|
|
28
|
+
declare const Select: import('react').ForwardRefExoticComponent<SelectProps & import('react').RefAttributes<HTMLButtonElement>> & {
|
|
29
|
+
Root: ({ children, ...props }: {
|
|
30
|
+
children: ReactNode;
|
|
31
|
+
} & any) => import("react/jsx-runtime").JSX.Element;
|
|
32
|
+
Group: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
33
|
+
Value: ({ placeholder, children }: {
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
children?: ReactNode;
|
|
36
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
Trigger: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & import('react').RefAttributes<HTMLButtonElement>>;
|
|
38
|
+
Content: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
39
|
+
Label: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
40
|
+
Item: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
43
|
+
Separator: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
44
|
+
EmptyMessage: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & import('react').RefAttributes<HTMLDivElement>>;
|
|
45
|
+
LoadingMessage: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
46
|
+
message?: string;
|
|
47
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
48
|
+
};
|
|
49
|
+
export { Select, SelectBase, type SelectBaseProps, type SelectOption };
|
|
50
|
+
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../../src/components/Select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAA;AAGlF,OAAO,EAAiC,KAAK,SAAS,EAAqB,MAAM,OAAO,CAAA;AAExF,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;AAEtE,MAAM,MAAM,UAAU,GAAG;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,eAAe,EAAE,SAAS,GAAG,UAAU,CAAC;IAChF,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,WAAW,EAAE,MAAM,CAAA;IACnB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAqJD,QAAA,MAAM,MAAM;mCAnJgC;QAAE,QAAQ,EAAE,SAAS,CAAA;KAAE,GAAG,GAAG;;uCAOzB;QAAE,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,SAAS,CAAA;KAAE;;;;;mBA2BD,OAAO;;;;;kBAyCJ,MAAM;;CAmFpG,CAAA;AAEF,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,KAAK,eAAe,EAAE,KAAK,YAAY,EAAE,CAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes, ReactNode } from 'react';
|
|
2
|
+
export type SelectState = 'default' | 'error' | 'disabled' | 'loading';
|
|
3
|
+
export interface SelectOption {
|
|
4
|
+
label: string;
|
|
5
|
+
value: string;
|
|
6
|
+
group?: string;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export interface SelectBaseProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value' | 'onChange'> {
|
|
10
|
+
value?: string;
|
|
11
|
+
defaultValue?: string;
|
|
12
|
+
onChange?: (value: string) => void;
|
|
13
|
+
options: SelectOption[];
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
state?: SelectState;
|
|
16
|
+
errorMessage?: string;
|
|
17
|
+
emptyMessage?: ReactNode;
|
|
18
|
+
loadingMessage?: string;
|
|
19
|
+
name?: string;
|
|
20
|
+
id?: string;
|
|
21
|
+
label?: string;
|
|
22
|
+
'aria-label'?: string;
|
|
23
|
+
'aria-describedby'?: string;
|
|
24
|
+
}
|
|
25
|
+
export declare const SelectBase: import('react').ForwardRefExoticComponent<SelectBaseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
26
|
+
//# sourceMappingURL=SelectBase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SelectBase.d.ts","sourceRoot":"","sources":["../../../src/components/Select/SelectBase.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,oBAAoB,EAEzB,KAAK,SAAS,EAQf,MAAM,OAAO,CAAA;AAEd,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAA;AAEtE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,eAAgB,SAAQ,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC;IAC1G,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,OAAO,EAAE,YAAY,EAAE,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,KAAK,CAAC,EAAE,WAAW,CAAA;IACnB,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,YAAY,CAAC,EAAE,SAAS,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,EAAE,CAAC,EAAE,MAAM,CAAA;IACX,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,kBAAkB,CAAC,EAAE,MAAM,CAAA;CAC5B;AAmJD,eAAO,MAAM,UAAU,+GAiPtB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from '
|
|
1
|
+
import { ComponentProps } from 'react';
|
|
2
2
|
declare function Skeleton({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
3
3
|
export { Skeleton };
|
|
4
4
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
-
import { ButtonHTMLAttributes, HTMLAttributes } from '
|
|
2
|
+
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
type Orientation = 'horizontal' | 'vertical';
|
|
4
4
|
type Dir = 'ltr' | 'rtl';
|
|
5
5
|
export type SliderBaseProps = HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
@@ -18,7 +18,7 @@ export type SliderBaseProps = HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
|
18
18
|
form?: string;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
};
|
|
21
|
-
export declare const SliderBase: import('
|
|
21
|
+
export declare const SliderBase: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & {
|
|
22
22
|
value?: number[];
|
|
23
23
|
defaultValue?: number[];
|
|
24
24
|
onValueChange?: (values: number[]) => void;
|
|
@@ -33,22 +33,22 @@ export declare const SliderBase: import('../../../node_modules/react').ForwardRe
|
|
|
33
33
|
name?: string;
|
|
34
34
|
form?: string;
|
|
35
35
|
required?: boolean;
|
|
36
|
-
} & import('
|
|
36
|
+
} & import('react').RefAttributes<HTMLDivElement>>;
|
|
37
37
|
export type SliderTrackProps = HTMLAttributes<HTMLDivElement> & AsChildProp;
|
|
38
|
-
export declare const SliderTrack: import('
|
|
38
|
+
export declare const SliderTrack: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & import('react').RefAttributes<HTMLDivElement>>;
|
|
39
39
|
export type SliderRangeProps = HTMLAttributes<HTMLDivElement> & AsChildProp;
|
|
40
|
-
export declare const SliderRange: import('
|
|
40
|
+
export declare const SliderRange: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLDivElement> & AsChildProp & import('react').RefAttributes<HTMLDivElement>>;
|
|
41
41
|
export type SliderThumbProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'value'> & AsChildProp & {
|
|
42
42
|
index?: number;
|
|
43
43
|
'aria-label'?: string;
|
|
44
44
|
'aria-labelledby'?: string;
|
|
45
45
|
'aria-valuetext'?: string;
|
|
46
46
|
};
|
|
47
|
-
export declare const SliderThumb: import('
|
|
47
|
+
export declare const SliderThumb: import('react').ForwardRefExoticComponent<Omit<ButtonHTMLAttributes<HTMLButtonElement>, "value"> & AsChildProp & {
|
|
48
48
|
index?: number;
|
|
49
49
|
'aria-label'?: string;
|
|
50
50
|
'aria-labelledby'?: string;
|
|
51
51
|
'aria-valuetext'?: string;
|
|
52
|
-
} & import('
|
|
52
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
53
53
|
export {};
|
|
54
54
|
//# sourceMappingURL=SliderBase.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SwitchProps as SwitchBaseProps } from './SwitchBase';
|
|
2
|
-
export declare const Switch: import('
|
|
2
|
+
export declare const Switch: import('react').ForwardRefExoticComponent<Omit<SwitchBaseProps, "onCheckedChange"> & {
|
|
3
3
|
labelPosition?: "left" | "right";
|
|
4
4
|
labelText: string;
|
|
5
5
|
id: string;
|
|
@@ -8,5 +8,5 @@ export declare const Switch: import('../../../node_modules/react').ForwardRefExo
|
|
|
8
8
|
required?: boolean;
|
|
9
9
|
value?: string;
|
|
10
10
|
variant?: "default" | "squared";
|
|
11
|
-
} & import('
|
|
11
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
12
12
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AsChildProp } from '../../primitives/slot';
|
|
2
|
-
import { ButtonHTMLAttributes, HTMLAttributes } from '
|
|
2
|
+
import { ButtonHTMLAttributes, HTMLAttributes } from 'react';
|
|
3
3
|
type BaseButtonProps = Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'onChange' | 'value'>;
|
|
4
4
|
export type SwitchProps = BaseButtonProps & AsChildProp & {
|
|
5
5
|
checked?: boolean;
|
|
@@ -10,7 +10,7 @@ export type SwitchProps = BaseButtonProps & AsChildProp & {
|
|
|
10
10
|
required?: boolean;
|
|
11
11
|
form?: string;
|
|
12
12
|
};
|
|
13
|
-
export declare const Switch: import('
|
|
13
|
+
export declare const Switch: import('react').ForwardRefExoticComponent<BaseButtonProps & AsChildProp & {
|
|
14
14
|
checked?: boolean;
|
|
15
15
|
defaultChecked?: boolean;
|
|
16
16
|
onCheckedChange?: (checked: boolean) => void;
|
|
@@ -18,8 +18,8 @@ export declare const Switch: import('../../../node_modules/react').ForwardRefExo
|
|
|
18
18
|
value?: string;
|
|
19
19
|
required?: boolean;
|
|
20
20
|
form?: string;
|
|
21
|
-
} & import('
|
|
21
|
+
} & import('react').RefAttributes<HTMLButtonElement>>;
|
|
22
22
|
export type SwitchThumbProps = HTMLAttributes<HTMLSpanElement> & AsChildProp;
|
|
23
|
-
export declare const SwitchThumb: import('
|
|
23
|
+
export declare const SwitchThumb: import('react').ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & AsChildProp & import('react').RefAttributes<HTMLSpanElement>>;
|
|
24
24
|
export {};
|
|
25
25
|
//# sourceMappingURL=SwitchBase.d.ts.map
|