@alif-ui-test/core 1.11.0
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/LICENSE.txt +5 -0
- package/dist/assets/fonts/ALS_Hauss_VF_1.1.ttf +0 -0
- package/dist/assets/fonts/als_hauss_bold.woff2 +0 -0
- package/dist/assets/fonts/als_hauss_medium.woff2 +0 -0
- package/dist/assets/fonts/als_hauss_regular.woff2 +0 -0
- package/dist/components/Accordion/Accordion.js +33 -0
- package/dist/components/Accordion/Accordion.module.css.js +21 -0
- package/dist/components/Accordion/Accordion.types.js +1 -0
- package/dist/components/Accordion/Accordion.utils.js +10 -0
- package/dist/components/Accordion/AccordionDetails/AccordionDetails.js +11 -0
- package/dist/components/Accordion/AccordionSummary/AccordionSummary.js +53 -0
- package/dist/components/ActionButton/ActionButton.js +50 -0
- package/dist/components/ActionButton/ActionButton.module.css.js +9 -0
- package/dist/components/ActionButton/ActionButton.types.js +1 -0
- package/dist/components/ActionButton/ActionButton.utils.js +48 -0
- package/dist/components/Alert/Alert.js +42 -0
- package/dist/components/Alert/Alert.module.css.js +11 -0
- package/dist/components/Alert/Alert.types.js +1 -0
- package/dist/components/Alert/Alert.utils.js +9 -0
- package/dist/components/AppLayout/AppLayout.js +12 -0
- package/dist/components/AppLayout/AppLayout.module.css.js +13 -0
- package/dist/components/AppLayout/AppLayout.types.js +1 -0
- package/dist/components/Avatar/Avatar.js +41 -0
- package/dist/components/Avatar/Avatar.module.css.js +19 -0
- package/dist/components/Avatar/Avatar.types.js +1 -0
- package/dist/components/Avatar/Avatar.utils.js +130 -0
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.js +12 -0
- package/dist/components/Avatar/AvatarGroup/AvatarGroup.module.css.js +7 -0
- package/dist/components/Backdrop/Backdrop.js +59 -0
- package/dist/components/Backdrop/Backdrop.module.css.js +9 -0
- package/dist/components/Backdrop/Backdrop.types.js +1 -0
- package/dist/components/Backdrop/BackdropOverlay.js +8 -0
- package/dist/components/Backdrop/useZIndexStack.js +28 -0
- package/dist/components/Badge/Badge.js +31 -0
- package/dist/components/Badge/Badge.module.css.js +9 -0
- package/dist/components/Badge/Badge.types.js +1 -0
- package/dist/components/Badge/Badge.utils.js +40 -0
- package/dist/components/Breadcrumbs/Breadcrumb/Breadcrumb.js +19 -0
- package/dist/components/Breadcrumbs/Breadcrumb/Breadcrumb.module.css.js +9 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.js +58 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.module.css.js +9 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.types.js +1 -0
- package/dist/components/Breadcrumbs/Breadcrumbs.utils.js +18 -0
- package/dist/components/Breadcrumbs/BreadcrumbsMenu/BreadcrumbsMenu.js +46 -0
- package/dist/components/Breadcrumbs/BreadcrumbsMenu/BreadcrumbsMenu.module.css.js +11 -0
- package/dist/components/Button/Button.js +46 -0
- package/dist/components/Button/Button.module.css.js +11 -0
- package/dist/components/Button/Button.types.js +1 -0
- package/dist/components/Button/Button.utils.js +69 -0
- package/dist/components/Checkbox/Checkbox.js +54 -0
- package/dist/components/Checkbox/Checkbox.module.css.js +21 -0
- package/dist/components/Checkbox/Checkbox.types.js +1 -0
- package/dist/components/Checkbox/Checkbox.utils.js +44 -0
- package/dist/components/Collapse/Collapse.js +11 -0
- package/dist/components/Collapse/Collapse.types.js +1 -0
- package/dist/components/DatePicker/DatePicker.js +134 -0
- package/dist/components/DatePicker/DatePicker.module.css.js +13 -0
- package/dist/components/DatePicker/DatePicker.types.js +1 -0
- package/dist/components/DatePicker/DatePicker.utils.js +86 -0
- package/dist/components/DatePicker/Picker/Picker.js +944 -0
- package/dist/components/DatePicker/Picker/Picker.module.css.js +55 -0
- package/dist/components/DatePicker/Picker/Picker.types.js +1 -0
- package/dist/components/DatePicker/Picker/Picker.utils.js +62 -0
- package/dist/components/Dates/Dates.module.css.js +73 -0
- package/dist/components/Dates/Dates.utils.js +65 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.constants.js +8 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.js +238 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.types.js +1 -0
- package/dist/components/Dates/InputDatePicker/DatePicker/DatePicker.utils.js +47 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.js +119 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.types.js +1 -0
- package/dist/components/Dates/InputDatePicker/InputDatePicker.utils.js +70 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.js +110 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthPicker/InputMonthPicker.utils.js +23 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.constants.js +47 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.js +59 -0
- package/dist/components/Dates/InputMonthPicker/MonthPicker/MonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/InputMonthYearPicker.js +110 -0
- package/dist/components/Dates/InputMonthYearPicker/InputMonthYearPicker.utils.js +44 -0
- package/dist/components/Dates/InputMonthYearPicker/InputYearMonthPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.js +134 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.types.js +1 -0
- package/dist/components/Dates/InputMonthYearPicker/MonthYearPicker/MonthYearPicker.utils.js +20 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.js +88 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.types.js +1 -0
- package/dist/components/Dates/InputTimePicker/InputTimePicker.utils.js +17 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimeColumn.js +31 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.js +102 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.types.js +1 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/TimePicker.utils.js +38 -0
- package/dist/components/Dates/InputTimePicker/TimePicker/useScrollSync.js +27 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.js +100 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.types.js +1 -0
- package/dist/components/Dates/InputYearPicker/InputYearPicker.utils.js +21 -0
- package/dist/components/Dates/InputYearPicker/YearPicker/YearPicker.js +61 -0
- package/dist/components/Dates/InputYearPicker/YearPicker/YearPicker.types.js +1 -0
- package/dist/components/Dates/PickerContent/PickerContent.js +64 -0
- package/dist/components/Dates/PickerContent/PickerContent.types.js +1 -0
- package/dist/components/Dates/PickerContent/PickerContent.utils.js +20 -0
- package/dist/components/Dates/PickerHeader/PickerHeader.js +60 -0
- package/dist/components/Dates/PickerHeader/PickerHeader.types.js +1 -0
- package/dist/components/Dates/PickerOptions/PickerOptions.js +36 -0
- package/dist/components/Dates/PickerOptions/PickerOptions.types.js +1 -0
- package/dist/components/Divider/Divider.js +18 -0
- package/dist/components/Divider/Divider.module.css.js +7 -0
- package/dist/components/Divider/Divider.types.js +1 -0
- package/dist/components/Divider/Divider.utils.js +10 -0
- package/dist/components/Drawer/Drawer.js +74 -0
- package/dist/components/Drawer/Drawer.module.css.js +33 -0
- package/dist/components/Drawer/Drawer.types.js +1 -0
- package/dist/components/Drawer/Drawer.utils.js +14 -0
- package/dist/components/Field/Field.js +69 -0
- package/dist/components/Field/Field.types.js +1 -0
- package/dist/components/Field/InputBase/InputBase.js +52 -0
- package/dist/components/Field/InputBase/InputBase.module.css.js +11 -0
- package/dist/components/Field/InputBase/InputBase.utils.js +24 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.js +86 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.module.css.js +35 -0
- package/dist/components/Field/InputBaseWrapper/InputBaseWrapper.utils.js +65 -0
- package/dist/components/FileUploader/FileUploader.js +131 -0
- package/dist/components/FileUploader/FileUploader.module.css.js +23 -0
- package/dist/components/FileUploader/FileUploader.types.js +1 -0
- package/dist/components/FileUploader/FileUploader.utils.js +29 -0
- package/dist/components/FileView/FileView.js +75 -0
- package/dist/components/FileView/FileView.module.css.js +27 -0
- package/dist/components/FileView/FileView.types.js +1 -0
- package/dist/components/FileView/FileView.utils.js +4 -0
- package/dist/components/FunctionButton/FunctionButton.js +28 -0
- package/dist/components/FunctionButton/FunctionButton.module.css.js +7 -0
- package/dist/components/FunctionButton/FunctionButton.types.js +1 -0
- package/dist/components/FunctionButton/FunctionButton.utils.js +36 -0
- package/dist/components/Hinter/Hinter.js +53 -0
- package/dist/components/Hinter/Hinter.module.css.js +15 -0
- package/dist/components/Hinter/Hinter.types.js +1 -0
- package/dist/components/Input/Input.js +43 -0
- package/dist/components/Input/Input.module.css.js +9 -0
- package/dist/components/Input/Input.types.js +1 -0
- package/dist/components/InputOtp/InputOtp.js +70 -0
- package/dist/components/InputOtp/InputOtp.module.css.js +13 -0
- package/dist/components/InputOtp/InputOtp.types.js +1 -0
- package/dist/components/InputOtp/InputOtp.utils.js +38 -0
- package/dist/components/ListItem/ListItem.js +119 -0
- package/dist/components/ListItem/ListItem.module.css.js +31 -0
- package/dist/components/ListItem/ListItem.types.js +1 -0
- package/dist/components/ListItem/ListItem.utils.js +50 -0
- package/dist/components/Loader/Loader.js +7 -0
- package/dist/components/Loader/Loader.module.css.js +7 -0
- package/dist/components/Loader/Loader.types.js +1 -0
- package/dist/components/Loader/Loader.utils.js +14 -0
- package/dist/components/Menu/Menu.context.js +6 -0
- package/dist/components/Menu/Menu.js +38 -0
- package/dist/components/Menu/Menu.module.css.js +9 -0
- package/dist/components/Menu/Menu.types.js +1 -0
- package/dist/components/Menu/Menu.utils.js +12 -0
- package/dist/components/Menu/MenuItem/MenuItem.js +47 -0
- package/dist/components/Menu/MenuItem/MenuItem.module.css.js +13 -0
- package/dist/components/Menu/MenuItem/MenuItem.utils.js +34 -0
- package/dist/components/Modal/Modal.js +48 -0
- package/dist/components/Modal/Modal.module.css.js +23 -0
- package/dist/components/Modal/Modal.types.js +1 -0
- package/dist/components/Modal/Modal.utils.js +8 -0
- package/dist/components/Modal/ModalActions/ModalActions.js +5 -0
- package/dist/components/Modal/ModalContent/ModalContent.js +7 -0
- package/dist/components/Modal/ModalHeader/ModalHeader.js +43 -0
- package/dist/components/Navbar/Navbar.js +23 -0
- package/dist/components/Navbar/Navbar.module.css.js +12 -0
- package/dist/components/Navbar/Navbar.types.js +1 -0
- package/dist/components/Pagination/Pagination.hook.js +27 -0
- package/dist/components/Pagination/Pagination.js +182 -0
- package/dist/components/Pagination/Pagination.module.css.js +27 -0
- package/dist/components/Pagination/Pagination.types.js +1 -0
- package/dist/components/Pagination/Pagination.utils.js +37 -0
- package/dist/components/Paper/Elevated/Elevated.js +39 -0
- package/dist/components/Paper/Elevated/Elevated.module.css.js +7 -0
- package/dist/components/Paper/Elevated/Elevated.types.js +1 -0
- package/dist/components/Paper/Elevated/Elevated.utils.js +8 -0
- package/dist/components/Paper/Paper.module.css.js +15 -0
- package/dist/components/Paper/Paper.type.js +1 -0
- package/dist/components/Paper/Paper.utils.js +15 -0
- package/dist/components/Paper/Surface/Surface.js +39 -0
- package/dist/components/Paper/Surface/Surface.module.css.js +7 -0
- package/dist/components/Paper/Surface/Surface.types.js +1 -0
- package/dist/components/Paper/Surface/Surface.utils.js +6 -0
- package/dist/components/Popover/Popover.context.js +8 -0
- package/dist/components/Popover/Popover.js +73 -0
- package/dist/components/Popover/Popover.module.css.js +9 -0
- package/dist/components/Popover/Popover.types.js +1 -0
- package/dist/components/Popover/PopoverDropdown/PopoverArrow.js +24 -0
- package/dist/components/Popover/PopoverDropdown/PopoverDropdown.js +71 -0
- package/dist/components/Popover/PopoverTrigger/PopoverTrigger.js +31 -0
- package/dist/components/Popover/useFloatingPosition/getScrollableAncestors.js +12 -0
- package/dist/components/Popover/useFloatingPosition/useFloating.types.js +1 -0
- package/dist/components/Popover/useFloatingPosition/useFloating.util.js +55 -0
- package/dist/components/Popover/useFloatingPosition/useFloatingPosition.js +43 -0
- package/dist/components/Portal/Portal.js +22 -0
- package/dist/components/Portal/Portal.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.js +25 -0
- package/dist/components/ProgressBar/ProgressBar.module.css.js +7 -0
- package/dist/components/ProgressBar/ProgressBar.types.js +1 -0
- package/dist/components/ProgressBar/ProgressBar.utils.js +9 -0
- package/dist/components/Radio/Radio.js +44 -0
- package/dist/components/Radio/Radio.module.css.js +15 -0
- package/dist/components/Radio/Radio.types.js +1 -0
- package/dist/components/Radio/Radio.utils.js +59 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.js +41 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.module.css.js +11 -0
- package/dist/components/Radio/RadioGroup/RadioGroup.types.js +1 -0
- package/dist/components/Rating/Rating.js +43 -0
- package/dist/components/Rating/Rating.module.css.js +13 -0
- package/dist/components/Rating/Rating.types.js +1 -0
- package/dist/components/Rating/Rating.utils.js +9 -0
- package/dist/components/RemoveScroll/RemoveScroll.js +15 -0
- package/dist/components/Search/Search.js +44 -0
- package/dist/components/Search/Search.module.css.js +15 -0
- package/dist/components/Search/Search.types.js +1 -0
- package/dist/components/Search/Search.utils.js +14 -0
- package/dist/components/SearchAccent/SearchAccent.js +61 -0
- package/dist/components/SearchAccent/SearchAccent.module.css.js +11 -0
- package/dist/components/SearchAccent/SearchAccent.types.js +1 -0
- package/dist/components/SearchAccent/SearchAccent.utils.js +11 -0
- package/dist/components/SegmentedControl/SegmentedControl.js +40 -0
- package/dist/components/SegmentedControl/SegmentedControl.module.css.js +9 -0
- package/dist/components/SegmentedControl/SegmentedControl.types.js +1 -0
- package/dist/components/SegmentedControl/SegmentedControl.utils.js +22 -0
- package/dist/components/Select/Select.js +140 -0
- package/dist/components/Select/Select.module.css.js +15 -0
- package/dist/components/Select/Select.types.js +1 -0
- package/dist/components/Select/Select.utils.js +6 -0
- package/dist/components/SelectMultiple/SelectMultiple.js +182 -0
- package/dist/components/SelectMultiple/SelectMultiple.module.css.js +25 -0
- package/dist/components/SelectMultiple/SelectMultiple.types.js +1 -0
- package/dist/components/SelectorInput/SelectorInput.js +81 -0
- package/dist/components/SelectorInput/SelectorInput.module.css.js +21 -0
- package/dist/components/SelectorInput/SelectorInput.types.js +1 -0
- package/dist/components/SelectorInput/SelectorInput.utils.js +49 -0
- package/dist/components/Sidebar/Sidebar.context.js +6 -0
- package/dist/components/Sidebar/Sidebar.js +82 -0
- package/dist/components/Sidebar/Sidebar.module.css.js +21 -0
- package/dist/components/Sidebar/Sidebar.types.js +1 -0
- package/dist/components/Sidebar/Sidebar.utils.js +66 -0
- package/dist/components/Sidebar/SidebarBottom/SidebarBottom.js +20 -0
- package/dist/components/Sidebar/SidebarBottom/SidebarBottom.module.css.js +7 -0
- package/dist/components/Sidebar/SidebarCollapse/SidebarCollapse.js +65 -0
- package/dist/components/Sidebar/SidebarCollapse/SidebarCollapse.module.css.js +19 -0
- package/dist/components/Sidebar/SidebarControlButton/SidebarControlButton.js +16 -0
- package/dist/components/Sidebar/SidebarControlButton/SidebarControlButton.module.css.js +9 -0
- package/dist/components/Sidebar/SidebarElement/SidebarElement.js +10 -0
- package/dist/components/Sidebar/SidebarElement/SidebarElement.module.css.js +8 -0
- package/dist/components/Sidebar/SidebarHeader/SidebarHeader.js +17 -0
- package/dist/components/Sidebar/SidebarHeader/SidebarHeader.module.css.js +9 -0
- package/dist/components/Sidebar/SidebarItem/SidebarItem.js +36 -0
- package/dist/components/Sidebar/SidebarItem/SidebarItem.module.css.js +21 -0
- package/dist/components/Sidebar/SidebarItems/SidebarItems.js +25 -0
- package/dist/components/Skeleton/Skeleton.js +23 -0
- package/dist/components/Skeleton/Skeleton.module.css.js +7 -0
- package/dist/components/Skeleton/Skeleton.types.js +1 -0
- package/dist/components/Skeleton/Skeleton.utils.js +9 -0
- package/dist/components/Slider/Label/Label.js +35 -0
- package/dist/components/Slider/Label/Label.types.js +1 -0
- package/dist/components/Slider/Marks/Marks.js +33 -0
- package/dist/components/Slider/Marks/Marks.types.js +1 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.js +78 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.types.js +1 -0
- package/dist/components/Slider/RangeSlider/RangeSlider.utils.js +11 -0
- package/dist/components/Slider/Slider/Slider.js +48 -0
- package/dist/components/Slider/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider/Slider.utils.js +8 -0
- package/dist/components/Slider/Slider.module.css.js +33 -0
- package/dist/components/Slider/Slider.types.js +1 -0
- package/dist/components/Slider/Slider.utils.js +16 -0
- package/dist/components/Slider/SliderBase/SliderBase.js +38 -0
- package/dist/components/Slider/SliderBase/SliderBase.types.js +1 -0
- package/dist/components/Slider/Thumb/Thumb.js +70 -0
- package/dist/components/Slider/Thumb/Thumb.types.js +1 -0
- package/dist/components/Slider/Track/Track.js +16 -0
- package/dist/components/Slider/Track/Track.types.js +1 -0
- package/dist/components/Snackbar/Snackbar.js +105 -0
- package/dist/components/Snackbar/Snackbar.module.css.js +19 -0
- package/dist/components/Snackbar/Snackbar.types.js +1 -0
- package/dist/components/Snackbar/Snackbar.utils.js +52 -0
- package/dist/components/Snackbar/SnackbarTimer/SnackbarTimer.js +31 -0
- package/dist/components/Snackbar/SnackbarTimer/SnackbarTimer.module.css.js +11 -0
- package/dist/components/Switch/Switch.js +28 -0
- package/dist/components/Switch/Switch.module.css.js +17 -0
- package/dist/components/Switch/Switch.types.js +1 -0
- package/dist/components/Switch/Switch.utils.js +40 -0
- package/dist/components/Tab/Tab.js +61 -0
- package/dist/components/Tab/Tab.module.css.js +19 -0
- package/dist/components/Tab/Tab.types.js +1 -0
- package/dist/components/Tab/Tab.utils.js +128 -0
- package/dist/components/Tab/TabGroup/TabGroup.js +61 -0
- package/dist/components/Tab/TabGroup/TabGroup.module.css.js +9 -0
- package/dist/components/Tab/TabGroup/TabGroup.types.js +1 -0
- package/dist/components/Tab/TabMenu/TabMenu.js +11 -0
- package/dist/components/Tab/TabMenu/TabMenu.types.js +1 -0
- package/dist/components/Tab/TabMenu/TabMenu.utils.js +13 -0
- package/dist/components/TabMenuNew/TabMenuNew.js +49 -0
- package/dist/components/TabMenuNew/TabMenuNew.module.css.js +11 -0
- package/dist/components/TabMenuNew/TabMenuNew.types.js +1 -0
- package/dist/components/TabMenuNew/TabMenuNew.utils.js +8 -0
- package/dist/components/Table/Table.js +114 -0
- package/dist/components/Table/Table.module.css.js +45 -0
- package/dist/components/Table/Table.types.js +1 -0
- package/dist/components/Table/Table.utils.js +35 -0
- package/dist/components/Table/TableHeader/TableHeader.js +88 -0
- package/dist/components/Table/TableHeader/TableHeader.types.js +1 -0
- package/dist/components/Table/TableRow/TableRow.js +94 -0
- package/dist/components/Table/TableRow/TableRow.types.js +1 -0
- package/dist/components/Tag/Tag.js +40 -0
- package/dist/components/Tag/Tag.module.css.js +17 -0
- package/dist/components/Tag/Tag.types.js +1 -0
- package/dist/components/Tag/Tag.utils.js +95 -0
- package/dist/components/TextArea/TextArea.js +85 -0
- package/dist/components/TextArea/TextArea.module.css.js +21 -0
- package/dist/components/TextArea/TextArea.types.js +1 -0
- package/dist/components/TextArea/TextArea.utils.js +55 -0
- package/dist/components/Timeline/Timeline.context.js +8 -0
- package/dist/components/Timeline/Timeline.js +43 -0
- package/dist/components/Timeline/Timeline.module.css.js +9 -0
- package/dist/components/Timeline/Timeline.types.js +1 -0
- package/dist/components/Timeline/Timeline.utils.js +5 -0
- package/dist/components/Timeline/TimelineBullet/TimelineBullet.js +12 -0
- package/dist/components/Timeline/TimelineContent/TimelineContent.js +14 -0
- package/dist/components/Timeline/TimelineContent/TimelineContent.module.css.js +9 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.js +54 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.module.css.js +19 -0
- package/dist/components/Timeline/TimelineItem/TimelineItem.utils.js +21 -0
- package/dist/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.js +23 -0
- package/dist/components/Timeline/TimelineOppositeContent/TimelineOppositeContent.module.css.js +9 -0
- package/dist/components/Tooltip/Tooltip.js +57 -0
- package/dist/components/Tooltip/Tooltip.module.css.js +11 -0
- package/dist/components/Tooltip/Tooltip.types.js +1 -0
- package/dist/components/Transition/Transition.constants.js +23 -0
- package/dist/components/Transition/Transition.hook.js +64 -0
- package/dist/components/Transition/Transition.js +40 -0
- package/dist/components/Transition/Transition.types.js +1 -0
- package/dist/components/Transition/Transition.utils.js +152 -0
- package/dist/components/Typography/Typography.js +23 -0
- package/dist/components/Typography/Typography.types.js +1 -0
- package/dist/core.css +1 -0
- package/dist/hooks/use-click-outside.js +15 -0
- package/dist/icons/components/AlifBusinessLogo.js +81 -0
- package/dist/icons/components/AlifIcon.js +34 -0
- package/dist/icons/components/ArrowIcon.js +16 -0
- package/dist/icons/components/OutlineFinanceAccounts.js +29 -0
- package/dist/icons/components/OutlineFinanceAnalytics.js +29 -0
- package/dist/icons/components/OutlineFinanceBank.js +29 -0
- package/dist/icons/components/OutlineFinanceBill.js +52 -0
- package/dist/icons/components/OutlineFinanceCardAdd.js +45 -0
- package/dist/icons/components/OutlineFinanceCardSalom.js +29 -0
- package/dist/icons/components/OutlineFinanceCardWebCheckout.js +47 -0
- package/dist/icons/components/OutlineFinanceCash.js +29 -0
- package/dist/icons/components/OutlineFinanceCashDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceCoins.js +29 -0
- package/dist/icons/components/OutlineFinanceCreditCard.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyLira.js +29 -0
- package/dist/icons/components/OutlineFinanceCurrencyRuble.js +29 -0
- package/dist/icons/components/OutlineFinanceDeposit.js +29 -0
- package/dist/icons/components/OutlineFinanceDollar.js +29 -0
- package/dist/icons/components/OutlineFinanceDollarCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceEuroCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceLimits.js +52 -0
- package/dist/icons/components/OutlineFinanceMerch.js +29 -0
- package/dist/icons/components/OutlineFinanceMoney.js +29 -0
- package/dist/icons/components/OutlineFinanceOnline.js +29 -0
- package/dist/icons/components/OutlineFinancePercent.js +29 -0
- package/dist/icons/components/OutlineFinancePosTerminal.js +82 -0
- package/dist/icons/components/OutlineFinanceRubleCoin.js +40 -0
- package/dist/icons/components/OutlineFinanceSendCard.js +29 -0
- package/dist/icons/components/OutlineFinanceSendDoc.js +29 -0
- package/dist/icons/components/OutlineFinanceSomoniTjsCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceStock.js +57 -0
- package/dist/icons/components/OutlineFinanceTerminal.js +29 -0
- package/dist/icons/components/OutlineFinanceTransfer.js +29 -0
- package/dist/icons/components/OutlineFinanceVisa.js +29 -0
- package/dist/icons/components/OutlineFinanceWallet.js +29 -0
- package/dist/icons/components/OutlineFinanceWalletPlus.js +29 -0
- package/dist/icons/components/OutlineFinanceWalletTransfer.js +29 -0
- package/dist/icons/components/OutlineFinanceYenYuanCoin.js +38 -0
- package/dist/icons/components/OutlineFinanceZP.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowBack.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowDown.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowReturn.js +29 -0
- package/dist/icons/components/OutlineNavigationArrowUp.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronDownSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronLeftSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronRightSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationChevronUpSmall.js +29 -0
- package/dist/icons/components/OutlineNavigationDoubleLeft.js +29 -0
- package/dist/icons/components/OutlineNavigationDoubleRight.js +29 -0
- package/dist/icons/components/OutlineNavigationLeftArrow.js +29 -0
- package/dist/icons/components/OutlineNavigationLeftDown.js +29 -0
- package/dist/icons/components/OutlineNavigationRightArrow.js +29 -0
- package/dist/icons/components/OutlineNavigationRightIcon.js +24 -0
- package/dist/icons/components/OutlineNavigationRightTop.js +29 -0
- package/dist/icons/components/OutlineNavigationTrendingDown.js +29 -0
- package/dist/icons/components/OutlineNavigationTrendingUp.js +29 -0
- package/dist/icons/components/OutlineNavigationZoomOut.js +29 -0
- package/dist/icons/components/OutlineSystemAdd.js +29 -0
- package/dist/icons/components/OutlineSystemAdd2.js +29 -0
- package/dist/icons/components/OutlineSystemAlertCircle.js +29 -0
- package/dist/icons/components/OutlineSystemAll.js +43 -0
- package/dist/icons/components/OutlineSystemArticle.js +40 -0
- package/dist/icons/components/OutlineSystemBell.js +29 -0
- package/dist/icons/components/OutlineSystemBellOff.js +29 -0
- package/dist/icons/components/OutlineSystemBill.js +29 -0
- package/dist/icons/components/OutlineSystemBookOpen.js +29 -0
- package/dist/icons/components/OutlineSystemCalendar.js +29 -0
- package/dist/icons/components/OutlineSystemCalling.js +29 -0
- package/dist/icons/components/OutlineSystemCamera.js +40 -0
- package/dist/icons/components/OutlineSystemChat.js +27 -0
- package/dist/icons/components/OutlineSystemCheck.js +29 -0
- package/dist/icons/components/OutlineSystemCheckCircle.js +38 -0
- package/dist/icons/components/OutlineSystemCheckDouble.js +29 -0
- package/dist/icons/components/OutlineSystemClock.js +29 -0
- package/dist/icons/components/OutlineSystemClose.js +29 -0
- package/dist/icons/components/OutlineSystemConfities.js +73 -0
- package/dist/icons/components/OutlineSystemCopy.js +29 -0
- package/dist/icons/components/OutlineSystemDelete.js +29 -0
- package/dist/icons/components/OutlineSystemDoc.js +29 -0
- package/dist/icons/components/OutlineSystemDocEmpty.js +29 -0
- package/dist/icons/components/OutlineSystemDownload.js +29 -0
- package/dist/icons/components/OutlineSystemEdit.js +29 -0
- package/dist/icons/components/OutlineSystemEditAlt.js +29 -0
- package/dist/icons/components/OutlineSystemExpand.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOff.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOffAlt.js +29 -0
- package/dist/icons/components/OutlineSystemEyeOn.js +29 -0
- package/dist/icons/components/OutlineSystemFileAccept.js +38 -0
- package/dist/icons/components/OutlineSystemFileAdd.js +38 -0
- package/dist/icons/components/OutlineSystemFileError.js +38 -0
- package/dist/icons/components/OutlineSystemFilterFromLessToMore.js +43 -0
- package/dist/icons/components/OutlineSystemFilterFromMoreToLess.js +43 -0
- package/dist/icons/components/OutlineSystemFolder.js +29 -0
- package/dist/icons/components/OutlineSystemGame.js +52 -0
- package/dist/icons/components/OutlineSystemGridView.js +29 -0
- package/dist/icons/components/OutlineSystemGrowth.js +29 -0
- package/dist/icons/components/OutlineSystemHeadphones.js +29 -0
- package/dist/icons/components/OutlineSystemHeart.js +29 -0
- package/dist/icons/components/OutlineSystemHelpCircle.js +29 -0
- package/dist/icons/components/OutlineSystemHex.js +29 -0
- package/dist/icons/components/OutlineSystemHistory.js +38 -0
- package/dist/icons/components/OutlineSystemHome.js +29 -0
- package/dist/icons/components/OutlineSystemHomeFavourite.js +29 -0
- package/dist/icons/components/OutlineSystemIdea.js +66 -0
- package/dist/icons/components/OutlineSystemIn.js +36 -0
- package/dist/icons/components/OutlineSystemInfo.js +45 -0
- package/dist/icons/components/OutlineSystemIslam.js +40 -0
- package/dist/icons/components/OutlineSystemLanguage.js +29 -0
- package/dist/icons/components/OutlineSystemLink.js +36 -0
- package/dist/icons/components/OutlineSystemLink2.js +29 -0
- package/dist/icons/components/OutlineSystemListView.js +29 -0
- package/dist/icons/components/OutlineSystemLock.js +29 -0
- package/dist/icons/components/OutlineSystemMail.js +29 -0
- package/dist/icons/components/OutlineSystemMapPin.js +29 -0
- package/dist/icons/components/OutlineSystemMenu.js +29 -0
- package/dist/icons/components/OutlineSystemMistake.js +47 -0
- package/dist/icons/components/OutlineSystemMoon.js +29 -0
- package/dist/icons/components/OutlineSystemMoreHorizontal.js +29 -0
- package/dist/icons/components/OutlineSystemMoreVertical.js +29 -0
- package/dist/icons/components/OutlineSystemMove.js +29 -0
- package/dist/icons/components/OutlineSystemNavigation.js +29 -0
- package/dist/icons/components/OutlineSystemNews.js +29 -0
- package/dist/icons/components/OutlineSystemOut.js +36 -0
- package/dist/icons/components/OutlineSystemPaperclip.js +29 -0
- package/dist/icons/components/OutlineSystemPlus.js +29 -0
- package/dist/icons/components/OutlineSystemPlusRect.js +29 -0
- package/dist/icons/components/OutlineSystemPrinter.js +29 -0
- package/dist/icons/components/OutlineSystemRefresh.js +29 -0
- package/dist/icons/components/OutlineSystemRefreshCW.js +29 -0
- package/dist/icons/components/OutlineSystemRemove.js +29 -0
- package/dist/icons/components/OutlineSystemRemoveCircle.js +40 -0
- package/dist/icons/components/OutlineSystemRepeat.js +29 -0
- package/dist/icons/components/OutlineSystemResize.js +40 -0
- package/dist/icons/components/OutlineSystemSearch.js +29 -0
- package/dist/icons/components/OutlineSystemSend.js +29 -0
- package/dist/icons/components/OutlineSystemSettings.js +29 -0
- package/dist/icons/components/OutlineSystemShippingAndDelivery.js +29 -0
- package/dist/icons/components/OutlineSystemShoppingBasket.js +45 -0
- package/dist/icons/components/OutlineSystemSidebar.js +29 -0
- package/dist/icons/components/OutlineSystemSignature.js +29 -0
- package/dist/icons/components/OutlineSystemSlash.js +29 -0
- package/dist/icons/components/OutlineSystemSmartphone.js +27 -0
- package/dist/icons/components/OutlineSystemSmile.js +27 -0
- package/dist/icons/components/OutlineSystemStar.js +29 -0
- package/dist/icons/components/OutlineSystemSun.js +29 -0
- package/dist/icons/components/OutlineSystemSurvey.js +38 -0
- package/dist/icons/components/OutlineSystemTariffs.js +64 -0
- package/dist/icons/components/OutlineSystemTelegram.js +29 -0
- package/dist/icons/components/OutlineSystemTrash.js +29 -0
- package/dist/icons/components/OutlineSystemTune.js +29 -0
- package/dist/icons/components/OutlineSystemUnlock.js +29 -0
- package/dist/icons/components/OutlineSystemUpload.js +29 -0
- package/dist/icons/components/OutlineSystemUploadCloud.js +29 -0
- package/dist/icons/components/OutlineSystemUser.js +29 -0
- package/dist/icons/components/OutlineSystemUserAdd.js +29 -0
- package/dist/icons/components/OutlineSystemUsers.js +29 -0
- package/dist/icons/components/OutlineSystemWifiOff.js +50 -0
- package/dist/icons/components/SolidNavigationArrowDown.js +29 -0
- package/dist/icons/components/SolidNavigationArrowLeft.js +29 -0
- package/dist/icons/components/SolidNavigationArrowRight.js +29 -0
- package/dist/icons/components/SolidNavigationArrowUp.js +29 -0
- package/dist/icons/components/SolidNavigationDoubleLeft.js +40 -0
- package/dist/icons/components/SolidNavigationDoubleRight.js +40 -0
- package/dist/icons/components/SolidNavigationLeftPrev.js +29 -0
- package/dist/icons/components/SolidNavigationRightNext.js +29 -0
- package/dist/icons/components/SolidNavigationSelectOpenDown.js +29 -0
- package/dist/icons/components/SolidNavigationSelectTop.js +29 -0
- package/dist/icons/components/SolidSystemAdd.js +29 -0
- package/dist/icons/components/SolidSystemAdd2.js +29 -0
- package/dist/icons/components/SolidSystemAlertCircle.js +29 -0
- package/dist/icons/components/SolidSystemBell.js +29 -0
- package/dist/icons/components/SolidSystemBellOff.js +29 -0
- package/dist/icons/components/SolidSystemBill.js +29 -0
- package/dist/icons/components/SolidSystemCalendar.js +29 -0
- package/dist/icons/components/SolidSystemCamera.js +29 -0
- package/dist/icons/components/SolidSystemChat.js +29 -0
- package/dist/icons/components/SolidSystemCheck.js +29 -0
- package/dist/icons/components/SolidSystemCheckCircle.js +29 -0
- package/dist/icons/components/SolidSystemClock.js +29 -0
- package/dist/icons/components/SolidSystemClose.js +29 -0
- package/dist/icons/components/SolidSystemCopy.js +40 -0
- package/dist/icons/components/SolidSystemDoc.js +29 -0
- package/dist/icons/components/SolidSystemDocEmpty.js +29 -0
- package/dist/icons/components/SolidSystemDownload.js +29 -0
- package/dist/icons/components/SolidSystemEdit.js +29 -0
- package/dist/icons/components/SolidSystemEditAlt.js +47 -0
- package/dist/icons/components/SolidSystemExclamation.js +29 -0
- package/dist/icons/components/SolidSystemExpand.js +40 -0
- package/dist/icons/components/SolidSystemEyeOff.js +29 -0
- package/dist/icons/components/SolidSystemEyeOffAlt.js +40 -0
- package/dist/icons/components/SolidSystemEyeOn.js +29 -0
- package/dist/icons/components/SolidSystemFileAccept.js +29 -0
- package/dist/icons/components/SolidSystemFolder.js +27 -0
- package/dist/icons/components/SolidSystemGridView.js +29 -0
- package/dist/icons/components/SolidSystemHeadphones.js +29 -0
- package/dist/icons/components/SolidSystemHeart.js +29 -0
- package/dist/icons/components/SolidSystemHelpCircle.js +29 -0
- package/dist/icons/components/SolidSystemHex.js +58 -0
- package/dist/icons/components/SolidSystemHome.js +29 -0
- package/dist/icons/components/SolidSystemInfo.js +29 -0
- package/dist/icons/components/SolidSystemLanguage.js +29 -0
- package/dist/icons/components/SolidSystemLink.js +36 -0
- package/dist/icons/components/SolidSystemLink2.js +40 -0
- package/dist/icons/components/SolidSystemListView.js +76 -0
- package/dist/icons/components/SolidSystemLock.js +40 -0
- package/dist/icons/components/SolidSystemMail.js +29 -0
- package/dist/icons/components/SolidSystemMapPin.js +29 -0
- package/dist/icons/components/SolidSystemMenu.js +49 -0
- package/dist/icons/components/SolidSystemMoon.js +29 -0
- package/dist/icons/components/SolidSystemMoreHorizontal.js +29 -0
- package/dist/icons/components/SolidSystemMoreVertical.js +29 -0
- package/dist/icons/components/SolidSystemMove.js +40 -0
- package/dist/icons/components/SolidSystemPaperclip.js +29 -0
- package/dist/icons/components/SolidSystemPrinter.js +56 -0
- package/dist/icons/components/SolidSystemRefresh.js +29 -0
- package/dist/icons/components/SolidSystemRefresh2.js +58 -0
- package/dist/icons/components/SolidSystemRemove.js +29 -0
- package/dist/icons/components/SolidSystemRemoveCircle.js +29 -0
- package/dist/icons/components/SolidSystemRightNext.js +58 -0
- package/dist/icons/components/SolidSystemSearch.js +29 -0
- package/dist/icons/components/SolidSystemSend.js +40 -0
- package/dist/icons/components/SolidSystemSettings.js +29 -0
- package/dist/icons/components/SolidSystemSidebar.js +29 -0
- package/dist/icons/components/SolidSystemSlash.js +40 -0
- package/dist/icons/components/SolidSystemSmartphone.js +29 -0
- package/dist/icons/components/SolidSystemStar.js +29 -0
- package/dist/icons/components/SolidSystemSun.js +103 -0
- package/dist/icons/components/SolidSystemTickDouble.js +40 -0
- package/dist/icons/components/SolidSystemTrash.js +40 -0
- package/dist/icons/components/SolidSystemTune.js +29 -0
- package/dist/icons/components/SolidSystemUnlock.js +40 -0
- package/dist/icons/components/SolidSystemUpload.js +29 -0
- package/dist/icons/components/SolidSystemUploadCloud.js +40 -0
- package/dist/icons/components/SolidSystemUser.js +58 -0
- package/dist/icons/components/SolidSystemUserFilled.js +40 -0
- package/dist/icons/components/SolidSystemUsers.js +45 -0
- package/dist/icons/components/SolidSystemWifiOff.js +50 -0
- package/dist/icons/components/countries-flags/AeFlag.js +87 -0
- package/dist/icons/components/countries-flags/RuFlag.js +78 -0
- package/dist/icons/components/countries-flags/TjFlag.js +50 -0
- package/dist/icons/components/countries-flags/UsFlag.js +117 -0
- package/dist/icons/components/countries-flags/UzFlag.js +85 -0
- package/dist/main.d.ts +3885 -0
- package/dist/main.js +656 -0
- package/dist/providers/AlifProvider/AlifProvider.consts.js +5 -0
- package/dist/providers/AlifProvider/AlifProvider.context.js +6 -0
- package/dist/providers/AlifProvider/AlifProvider.js +31 -0
- package/dist/providers/AlifProvider/AlifProvider.types.js +1 -0
- package/dist/providers/Localization/localization.js +48 -0
- package/dist/providers/Localization/useTranslation/useTranslation.js +12 -0
- package/dist/providers/hooks/useLocale/useLocale.js +11 -0
- package/dist/providers/hooks/useMode/useMode.js +8 -0
- package/dist/types/css-modules.d.js +1 -0
- package/dist/types/global.js +1 -0
- package/dist/types/icon.js +1 -0
- package/dist/utils/class-names.js +4 -0
- package/dist/utils/close-escape.js +6 -0
- package/dist/utils/create-safe-context/create-safe-context.js +17 -0
- package/dist/utils/create-safe-context/create-safe-context.utils.js +11 -0
- package/dist/utils/get-default-z-index.js +12 -0
- package/dist/utils/get-size.js +24 -0
- package/dist/utils/typography.js +201 -0
- package/dist/utils/validate-icon-button-props.js +8 -0
- package/package.json +86 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { getSize as i } from "../../utils/get-size.js";
|
|
2
|
+
import { resolveTypography as t } from "../../utils/typography.js";
|
|
3
|
+
const g = (n) => {
|
|
4
|
+
switch (n) {
|
|
5
|
+
case "m":
|
|
6
|
+
return t("body", "l");
|
|
7
|
+
case "s":
|
|
8
|
+
return t("body", "m");
|
|
9
|
+
}
|
|
10
|
+
}, r = (n, o) => {
|
|
11
|
+
const a = g(n);
|
|
12
|
+
return {
|
|
13
|
+
"--pagination-border-radius": o ? `var(--pagination-border-radius-${n}-round)` : i(n, "pagination-border-radius"),
|
|
14
|
+
"--pagination-spacing-between": i(n, "pagination-spacing-between"),
|
|
15
|
+
"--pagination-spacing-between-grouping": `var(--pagination-spacing-between-${n}-grouping)`,
|
|
16
|
+
"--pagination-height": i(n, "pagination-height"),
|
|
17
|
+
"--pagination-width": i(n, "pagination-width"),
|
|
18
|
+
"--pagination-spacing-horizontal-button": `var(--pagination-spacing-horizontal-${n}-button)`,
|
|
19
|
+
"--pagination-label-spacing-container-horizontal": i(
|
|
20
|
+
n,
|
|
21
|
+
"pagination-label-spacing-container-horizontal"
|
|
22
|
+
),
|
|
23
|
+
"--pagination-font-family": a.fontFamily,
|
|
24
|
+
"--pagination-font-weight": a.fontWeight,
|
|
25
|
+
"--pagination-font-size": a.fontSize,
|
|
26
|
+
"--pagination-line-height": a.lineHeight,
|
|
27
|
+
"--pagination-letter-spacing": a.letterSpacing,
|
|
28
|
+
"--pagination-icon-width": i(n, "pagination-icon-width"),
|
|
29
|
+
"--pagination-icon-height": i(n, "pagination-icon-height"),
|
|
30
|
+
"--pagination-border-width": i(n, "pagination-border-width"),
|
|
31
|
+
"--pagination-dots-spacing": i(n, "pagination-dots-spacing"),
|
|
32
|
+
"--pagination-spacing-between-number-input": `var(--pagination-spacing-between-${n}-number-input)`
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
r as getPaginationStyles
|
|
37
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { getElevatedStyles as g } from "./Elevated.utils.js";
|
|
3
|
+
import E from "./Elevated.module.css.js";
|
|
4
|
+
import e from "../Paper.module.css.js";
|
|
5
|
+
import { getPaperStyles as N } from "../Paper.utils.js";
|
|
6
|
+
import { classNames as j } from "../../../utils/class-names.js";
|
|
7
|
+
const w = ({
|
|
8
|
+
className: m,
|
|
9
|
+
children: l,
|
|
10
|
+
p: t,
|
|
11
|
+
px: s,
|
|
12
|
+
py: r,
|
|
13
|
+
m: a,
|
|
14
|
+
mt: p,
|
|
15
|
+
mr: i,
|
|
16
|
+
mb: c,
|
|
17
|
+
ml: f,
|
|
18
|
+
rounded: o,
|
|
19
|
+
style: y,
|
|
20
|
+
shadowLevel: d = "xs",
|
|
21
|
+
...v
|
|
22
|
+
}) => {
|
|
23
|
+
const n = j(
|
|
24
|
+
E.elevated,
|
|
25
|
+
e.paper,
|
|
26
|
+
t && e.p,
|
|
27
|
+
s && e.px,
|
|
28
|
+
r && e.py,
|
|
29
|
+
o && e.rounded,
|
|
30
|
+
m
|
|
31
|
+
), S = {
|
|
32
|
+
...g(d),
|
|
33
|
+
...N(t, s, r, a, p, i, c, f, o, y)
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ x("div", { style: S, className: n, ...v, children: l });
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
w as Elevated
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
const r = (a) => ({
|
|
2
|
+
"--elevated-box-shadow": `var(--shadow-${a}-x) var(--shadow-${a}-y) var(--shadow-${a}-blur) var(--shadow-${a}-spread) var(--shadow-${a}-color),
|
|
3
|
+
var(--shadow-${a}2-x) var(--shadow-${a}2-y) var(--shadow-${a}2-blur) var(--shadow-${a}2-spread) var(--shadow-${a}2-color)`,
|
|
4
|
+
"--elevated-bg": `var(--elevated-${a})`
|
|
5
|
+
});
|
|
6
|
+
export {
|
|
7
|
+
r as getElevatedStyles
|
|
8
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const p = "_paper_15skr_1", _ = "_p_15skr_1", r = "_px_15skr_5", s = "_py_15skr_10", e = "_rounded_15skr_15", o = {
|
|
2
|
+
paper: p,
|
|
3
|
+
p: _,
|
|
4
|
+
px: r,
|
|
5
|
+
py: s,
|
|
6
|
+
rounded: e
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
o as default,
|
|
10
|
+
_ as p,
|
|
11
|
+
p as paper,
|
|
12
|
+
r as px,
|
|
13
|
+
s as py,
|
|
14
|
+
e as rounded
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const r = (a = "px") => a?.includes("px") ? a : `${a}x`, c = (a, i, p, n, d, g, e, s, t, o) => ({
|
|
2
|
+
"--paper-padding": `var(--spacing-${r(a)})`,
|
|
3
|
+
"--paper-padding-x": `var(--spacing-${r(i)})`,
|
|
4
|
+
"--paper-padding-y": `var(--spacing-${r(p)})`,
|
|
5
|
+
"--paper-radius": `var(--border-radius-${t})`,
|
|
6
|
+
...o,
|
|
7
|
+
margin: n,
|
|
8
|
+
marginTop: d,
|
|
9
|
+
marginRight: g,
|
|
10
|
+
marginBottom: e,
|
|
11
|
+
marginLeft: s
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
c as getPaperStyles
|
|
15
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { jsx as x } from "react/jsx-runtime";
|
|
2
|
+
import { getSurfaceStyles as N } from "./Surface.utils.js";
|
|
3
|
+
import d from "./Surface.module.css.js";
|
|
4
|
+
import r from "../Paper.module.css.js";
|
|
5
|
+
import { getPaperStyles as j } from "../Paper.utils.js";
|
|
6
|
+
import { classNames as v } from "../../../utils/class-names.js";
|
|
7
|
+
const z = ({
|
|
8
|
+
className: m,
|
|
9
|
+
children: a,
|
|
10
|
+
p: s,
|
|
11
|
+
px: e,
|
|
12
|
+
py: t,
|
|
13
|
+
m: p,
|
|
14
|
+
mt: c,
|
|
15
|
+
mr: f,
|
|
16
|
+
mb: l,
|
|
17
|
+
ml: i,
|
|
18
|
+
rounded: o,
|
|
19
|
+
style: y,
|
|
20
|
+
darkLevel: S = 1,
|
|
21
|
+
...u
|
|
22
|
+
}) => {
|
|
23
|
+
const n = v(
|
|
24
|
+
d.surface,
|
|
25
|
+
r.paper,
|
|
26
|
+
s && r.p,
|
|
27
|
+
e && r.px,
|
|
28
|
+
t && r.py,
|
|
29
|
+
o && r.rounded,
|
|
30
|
+
m
|
|
31
|
+
), g = {
|
|
32
|
+
...N(S),
|
|
33
|
+
...j(s, e, t, p, c, f, l, i, o, y)
|
|
34
|
+
};
|
|
35
|
+
return /* @__PURE__ */ x("div", { style: g, className: n, ...u, children: a });
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
z as Surface
|
|
39
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
2
|
+
import { useState as t } from "react";
|
|
3
|
+
import { PopoverContextProvider as j } from "./Popover.context.js";
|
|
4
|
+
import { useFloatingPosition as k } from "./useFloatingPosition/useFloatingPosition.js";
|
|
5
|
+
import { PopoverTrigger as w } from "./PopoverTrigger/PopoverTrigger.js";
|
|
6
|
+
import { PopoverDropdown as O } from "./PopoverDropdown/PopoverDropdown.js";
|
|
7
|
+
import { getDefaultZIndex as Z } from "../../utils/get-default-z-index.js";
|
|
8
|
+
import { useOutsideClick as q } from "../../hooks/use-click-outside.js";
|
|
9
|
+
const a = ({
|
|
10
|
+
children: c,
|
|
11
|
+
offset: u = 8,
|
|
12
|
+
position: v = "bottom",
|
|
13
|
+
isOpen: o,
|
|
14
|
+
onChange: p,
|
|
15
|
+
onClose: g,
|
|
16
|
+
withArrow: s = !1,
|
|
17
|
+
width: l = "max-content",
|
|
18
|
+
zIndex: P = Z("popover"),
|
|
19
|
+
isFixed: f = !1,
|
|
20
|
+
transitionProps: S
|
|
21
|
+
}) => {
|
|
22
|
+
const [m, n] = t(!1), [e, x] = t(
|
|
23
|
+
null
|
|
24
|
+
), [r, R] = t(
|
|
25
|
+
null
|
|
26
|
+
), { placement: D, arrowPlacement: T } = k(
|
|
27
|
+
r,
|
|
28
|
+
e,
|
|
29
|
+
v,
|
|
30
|
+
u,
|
|
31
|
+
s,
|
|
32
|
+
f
|
|
33
|
+
), d = () => {
|
|
34
|
+
if (o !== void 0) {
|
|
35
|
+
p?.(!o);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
n((I) => !I);
|
|
39
|
+
}, i = () => {
|
|
40
|
+
!o && !m || (n(!1), p?.(!1), g?.());
|
|
41
|
+
};
|
|
42
|
+
return q(
|
|
43
|
+
[{ current: e }, { current: r }],
|
|
44
|
+
i
|
|
45
|
+
), /* @__PURE__ */ b(
|
|
46
|
+
j,
|
|
47
|
+
{
|
|
48
|
+
value: {
|
|
49
|
+
closePopover: i,
|
|
50
|
+
togglePopover: d,
|
|
51
|
+
triggerRefState: r,
|
|
52
|
+
setTriggerRefState: R,
|
|
53
|
+
isOpen: m,
|
|
54
|
+
isOpenControlled: o,
|
|
55
|
+
setPopoverRefState: x,
|
|
56
|
+
popoverRefState: e,
|
|
57
|
+
placement: D,
|
|
58
|
+
arrowPlacement: T,
|
|
59
|
+
width: l,
|
|
60
|
+
withArrow: s,
|
|
61
|
+
zIndex: P,
|
|
62
|
+
transitionProps: S,
|
|
63
|
+
isFixed: f
|
|
64
|
+
},
|
|
65
|
+
children: c
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
};
|
|
69
|
+
a.Trigger = w;
|
|
70
|
+
a.Dropdown = O;
|
|
71
|
+
export {
|
|
72
|
+
a as Popover
|
|
73
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
const t = () => /* @__PURE__ */ r(
|
|
3
|
+
"svg",
|
|
4
|
+
{
|
|
5
|
+
style: {
|
|
6
|
+
all: "unset"
|
|
7
|
+
},
|
|
8
|
+
width: "14",
|
|
9
|
+
height: "6",
|
|
10
|
+
viewBox: "0 0 14 6",
|
|
11
|
+
fill: "none",
|
|
12
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
13
|
+
children: /* @__PURE__ */ r(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M0 0C4 0 4.20121 6 7.00061 6C9.8 6 10 0 14 0L0 0Z",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
export {
|
|
23
|
+
t as PopoverArrow
|
|
24
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { jsx as o, jsxs as x } from "react/jsx-runtime";
|
|
2
|
+
import { useMemo as P } from "react";
|
|
3
|
+
import { PopoverArrow as v } from "./PopoverArrow.js";
|
|
4
|
+
import R from "../Popover.module.css.js";
|
|
5
|
+
import { usePopoverContext as C } from "../Popover.context.js";
|
|
6
|
+
import { ARROW as y } from "../useFloatingPosition/useFloating.util.js";
|
|
7
|
+
import { Portal as A } from "../../Portal/Portal.js";
|
|
8
|
+
import { Transition as S } from "../../Transition/Transition.js";
|
|
9
|
+
const B = ({
|
|
10
|
+
children: i,
|
|
11
|
+
className: n,
|
|
12
|
+
style: p
|
|
13
|
+
}) => {
|
|
14
|
+
const {
|
|
15
|
+
isOpen: m,
|
|
16
|
+
isOpenControlled: s,
|
|
17
|
+
placement: d,
|
|
18
|
+
setPopoverRefState: l,
|
|
19
|
+
popoverRefState: r,
|
|
20
|
+
zIndex: c,
|
|
21
|
+
width: e,
|
|
22
|
+
withArrow: a,
|
|
23
|
+
arrowPlacement: f,
|
|
24
|
+
triggerRefState: u,
|
|
25
|
+
transitionProps: g,
|
|
26
|
+
isFixed: w
|
|
27
|
+
} = C(), h = P(() => {
|
|
28
|
+
if (r)
|
|
29
|
+
return getComputedStyle(r).backgroundColor;
|
|
30
|
+
}, [r]);
|
|
31
|
+
return /* @__PURE__ */ o(
|
|
32
|
+
A,
|
|
33
|
+
{
|
|
34
|
+
isFixed: w,
|
|
35
|
+
placement: {
|
|
36
|
+
...d,
|
|
37
|
+
zIndex: c
|
|
38
|
+
},
|
|
39
|
+
children: /* @__PURE__ */ o(S, { mounted: s || m, ...g, children: (t) => /* @__PURE__ */ x(
|
|
40
|
+
"div",
|
|
41
|
+
{
|
|
42
|
+
style: {
|
|
43
|
+
...t,
|
|
44
|
+
...p,
|
|
45
|
+
width: e === "trigger" ? u?.getBoundingClientRect().width : e
|
|
46
|
+
},
|
|
47
|
+
className: n,
|
|
48
|
+
ref: l,
|
|
49
|
+
children: [
|
|
50
|
+
a && /* @__PURE__ */ o(
|
|
51
|
+
"div",
|
|
52
|
+
{
|
|
53
|
+
style: {
|
|
54
|
+
color: h,
|
|
55
|
+
padding: `0px ${y.X_PADDING}px`,
|
|
56
|
+
...f
|
|
57
|
+
},
|
|
58
|
+
className: R.arrow,
|
|
59
|
+
children: /* @__PURE__ */ o(v, {})
|
|
60
|
+
}
|
|
61
|
+
),
|
|
62
|
+
i
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
) })
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
};
|
|
69
|
+
export {
|
|
70
|
+
B as PopoverDropdown
|
|
71
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import a from "../Popover.module.css.js";
|
|
3
|
+
import { usePopoverContext as c } from "../Popover.context.js";
|
|
4
|
+
import { classNames as l } from "../../../utils/class-names.js";
|
|
5
|
+
import { closeEscape as g } from "../../../utils/close-escape.js";
|
|
6
|
+
const w = ({
|
|
7
|
+
children: o,
|
|
8
|
+
className: e,
|
|
9
|
+
style: r,
|
|
10
|
+
...t
|
|
11
|
+
}) => {
|
|
12
|
+
const { closePopover: s, togglePopover: n, setTriggerRefState: p } = c();
|
|
13
|
+
return /* @__PURE__ */ i(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
ref: p,
|
|
17
|
+
onKeyDown: (m) => {
|
|
18
|
+
g(m, s);
|
|
19
|
+
},
|
|
20
|
+
tabIndex: -1,
|
|
21
|
+
onClick: n,
|
|
22
|
+
className: l(a.popoverTrigger, e),
|
|
23
|
+
style: r,
|
|
24
|
+
...t,
|
|
25
|
+
children: o
|
|
26
|
+
}
|
|
27
|
+
);
|
|
28
|
+
};
|
|
29
|
+
export {
|
|
30
|
+
w as PopoverTrigger
|
|
31
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
function c(o) {
|
|
2
|
+
const t = [];
|
|
3
|
+
let e = o.parentElement;
|
|
4
|
+
for (; e; ) {
|
|
5
|
+
const l = getComputedStyle(e), n = (l.overflowY === "auto" || l.overflowY === "scroll") && e.scrollHeight > e.clientHeight, r = (l.overflowX === "auto" || l.overflowX === "scroll") && e.scrollWidth > e.clientWidth;
|
|
6
|
+
(n || r) && t.push(e), e = e.parentElement;
|
|
7
|
+
}
|
|
8
|
+
return (document.documentElement.scrollHeight > window.innerHeight || document.documentElement.scrollWidth > window.innerWidth) && t.push(window), t;
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
c as getScrollableAncestors
|
|
12
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
const l = {
|
|
2
|
+
HEIGHT: 6,
|
|
3
|
+
X_PADDING: 12,
|
|
4
|
+
// IMPORTANT: This is --menu-list-border-radius value
|
|
5
|
+
SVG_WIDTH: 14,
|
|
6
|
+
get WIDTH() {
|
|
7
|
+
return this.SVG_WIDTH + 2 * this.X_PADDING;
|
|
8
|
+
}
|
|
9
|
+
}, O = (w) => {
|
|
10
|
+
const [h, a] = w.split("-"), g = {
|
|
11
|
+
top: "bottom",
|
|
12
|
+
bottom: "top",
|
|
13
|
+
left: "right",
|
|
14
|
+
right: "left"
|
|
15
|
+
}[h] || h;
|
|
16
|
+
return a ? `${g}-${a}` : g;
|
|
17
|
+
}, R = async (w, h, a, n, g, u) => {
|
|
18
|
+
await document.fonts.ready;
|
|
19
|
+
const e = w.getBoundingClientRect(), r = h.getBoundingClientRect(), i = { top: 0, left: 0 }, t = {
|
|
20
|
+
top: 0,
|
|
21
|
+
left: 0,
|
|
22
|
+
transform: "rotate(0deg)",
|
|
23
|
+
transformOrigin: "center center"
|
|
24
|
+
}, P = window.innerHeight, G = window.innerWidth;
|
|
25
|
+
let m = a;
|
|
26
|
+
const s = g ? l.HEIGHT : 0, H = (o) => {
|
|
27
|
+
switch (o) {
|
|
28
|
+
case "top":
|
|
29
|
+
case "top-start":
|
|
30
|
+
case "top-end":
|
|
31
|
+
return e.top - n - s - r.height >= 0;
|
|
32
|
+
case "bottom":
|
|
33
|
+
case "bottom-start":
|
|
34
|
+
case "bottom-end":
|
|
35
|
+
return e.bottom + n + s + r.height <= P;
|
|
36
|
+
case "left":
|
|
37
|
+
case "left-start":
|
|
38
|
+
case "left-end":
|
|
39
|
+
return e.left - n - s - r.width >= 0;
|
|
40
|
+
case "right":
|
|
41
|
+
case "right-start":
|
|
42
|
+
case "right-end":
|
|
43
|
+
return e.right + n + s + r.width <= G;
|
|
44
|
+
default:
|
|
45
|
+
return !0;
|
|
46
|
+
}
|
|
47
|
+
}, D = O(a);
|
|
48
|
+
!H(a) && H(D) && (m = D);
|
|
49
|
+
const I = (o) => o === "start" ? 0 : o === "end" ? e.width - r.width : (e.width - r.width) / 2, W = (o) => o === "start" ? 0 : o === "end" ? e.height - r.height : (e.height - r.height) / 2, b = (o) => o === "start" ? 0 : o === "end" ? r.width - l.WIDTH : (r.width - l.WIDTH) / 2, T = (o) => o === "start" ? 0 : o === "end" ? r.height - l.WIDTH : (r.height - l.WIDTH) / 2, [p, c] = m.split("-"), f = u ? 0 : window.scrollX, d = u ? 0 : window.scrollY;
|
|
50
|
+
return p === "bottom" ? (i.top = e.bottom + n + s + d, i.left = e.left + f + I(c), t.top = 0, t.left = b(c), t.transform = "rotate(180deg)", t.transformOrigin = "center top") : p === "top" ? (i.top = e.top - n - s - r.height + d, i.left = e.left + f + I(c), t.top = r.height, t.left = b(c), t.transform = "rotate(0deg)", t.transformOrigin = "center bottom") : p === "left" ? (i.left = e.left - n - s - r.width + f, i.top = e.top + d + W(c), t.left = r.width, t.top = T(c) + l.WIDTH, t.transform = "rotate(-90deg)", t.transformOrigin = "left top") : p === "right" && (i.left = e.right + n + s + f, i.top = e.top + d + W(c), t.left = 0, t.top = T(c), t.transform = "rotate(90deg)", t.transformOrigin = "left top"), { positionProps: i, arrowPosition: t };
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
l as ARROW,
|
|
54
|
+
R as getPopoverPosition
|
|
55
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useState as f, useRef as b, useEffect as w } from "react";
|
|
2
|
+
import { getPopoverPosition as z } from "./useFloating.util.js";
|
|
3
|
+
import { getScrollableAncestors as L } from "./getScrollableAncestors.js";
|
|
4
|
+
const O = (t, r, c = "bottom", a = 8, l = !1, s) => {
|
|
5
|
+
const [i, d] = f({
|
|
6
|
+
left: 0,
|
|
7
|
+
top: 0
|
|
8
|
+
}), [v, E] = f({
|
|
9
|
+
left: 0,
|
|
10
|
+
top: 0,
|
|
11
|
+
transform: "rotate(0deg)"
|
|
12
|
+
}), o = b(null);
|
|
13
|
+
return w(() => {
|
|
14
|
+
if (!t || !r) return;
|
|
15
|
+
const e = () => {
|
|
16
|
+
z(
|
|
17
|
+
t,
|
|
18
|
+
r,
|
|
19
|
+
c,
|
|
20
|
+
a,
|
|
21
|
+
l,
|
|
22
|
+
s
|
|
23
|
+
).then(({ positionProps: n, arrowPosition: P }) => {
|
|
24
|
+
d(n), E(P);
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
if (s) {
|
|
28
|
+
e();
|
|
29
|
+
return;
|
|
30
|
+
}
|
|
31
|
+
const m = L(t);
|
|
32
|
+
m.forEach((n) => n.addEventListener("scroll", e)), window.addEventListener("resize", e), o.current = new ResizeObserver(e), o.current.observe(t), o.current.observe(r);
|
|
33
|
+
let u;
|
|
34
|
+
return document.fonts.ready.then(() => {
|
|
35
|
+
u = requestAnimationFrame(e);
|
|
36
|
+
}), () => {
|
|
37
|
+
m.forEach((n) => n.removeEventListener("scroll", e)), window.removeEventListener("resize", e), o.current?.disconnect(), cancelAnimationFrame(u);
|
|
38
|
+
};
|
|
39
|
+
}, [t, r, c, a, l, s]), { placement: i, arrowPlacement: v };
|
|
40
|
+
};
|
|
41
|
+
export {
|
|
42
|
+
O as useFloatingPosition
|
|
43
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import a from "react-dom";
|
|
3
|
+
const l = ({
|
|
4
|
+
children: o,
|
|
5
|
+
placement: t,
|
|
6
|
+
isFixed: e = !1
|
|
7
|
+
}) => a.createPortal(
|
|
8
|
+
/* @__PURE__ */ r(
|
|
9
|
+
"div",
|
|
10
|
+
{
|
|
11
|
+
style: {
|
|
12
|
+
position: e ? "fixed" : "absolute",
|
|
13
|
+
...t
|
|
14
|
+
},
|
|
15
|
+
children: o
|
|
16
|
+
}
|
|
17
|
+
),
|
|
18
|
+
document.body
|
|
19
|
+
);
|
|
20
|
+
export {
|
|
21
|
+
l as Portal
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import i from "./ProgressBar.module.css.js";
|
|
3
|
+
import { getProgressStyles as l } from "./ProgressBar.utils.js";
|
|
4
|
+
import { classNames as c } from "../../utils/class-names.js";
|
|
5
|
+
const h = ({
|
|
6
|
+
className: s,
|
|
7
|
+
style: t,
|
|
8
|
+
size: o = "m",
|
|
9
|
+
value: e = 0,
|
|
10
|
+
...m
|
|
11
|
+
}) => {
|
|
12
|
+
const a = Math.min(Math.max(e, 0), 100);
|
|
13
|
+
return /* @__PURE__ */ r(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
className: c(i.root, s),
|
|
17
|
+
style: l(o, t),
|
|
18
|
+
...m,
|
|
19
|
+
children: /* @__PURE__ */ r("div", { style: { width: `${a}%` } })
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
};
|
|
23
|
+
export {
|
|
24
|
+
h as ProgressBar
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import s from "./Radio.module.css.js";
|
|
3
|
+
import { getRadioButtonStyles as f } from "./Radio.utils.js";
|
|
4
|
+
import { classNames as h } from "../../utils/class-names.js";
|
|
5
|
+
const u = ({
|
|
6
|
+
label: e,
|
|
7
|
+
description: o,
|
|
8
|
+
className: i,
|
|
9
|
+
disabled: l,
|
|
10
|
+
checked: m,
|
|
11
|
+
onChange: n,
|
|
12
|
+
value: r,
|
|
13
|
+
size: c = "m",
|
|
14
|
+
variant: d = "default",
|
|
15
|
+
...p
|
|
16
|
+
}) => /* @__PURE__ */ t(
|
|
17
|
+
"label",
|
|
18
|
+
{
|
|
19
|
+
className: h(s.root, i),
|
|
20
|
+
style: f(d, c),
|
|
21
|
+
children: [
|
|
22
|
+
/* @__PURE__ */ a(
|
|
23
|
+
"input",
|
|
24
|
+
{
|
|
25
|
+
className: s.radio,
|
|
26
|
+
type: "radio",
|
|
27
|
+
disabled: l,
|
|
28
|
+
checked: m,
|
|
29
|
+
value: r,
|
|
30
|
+
role: "radio",
|
|
31
|
+
onChange: (N) => n?.(String(r), N),
|
|
32
|
+
...p
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
/* @__PURE__ */ t("div", { className: s.text, children: [
|
|
36
|
+
e && /* @__PURE__ */ a("span", { className: s.label, children: e }),
|
|
37
|
+
o && /* @__PURE__ */ a("span", { className: s.description, children: o })
|
|
38
|
+
] })
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
export {
|
|
43
|
+
u as Radio
|
|
44
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
const t = "_root_1bvmi_1", o = "_text_1bvmi_57", _ = "_label_1bvmi_67", i = "_description_1bvmi_76", e = "_radio_1bvmi_85", s = {
|
|
2
|
+
root: t,
|
|
3
|
+
text: o,
|
|
4
|
+
label: _,
|
|
5
|
+
description: i,
|
|
6
|
+
radio: e
|
|
7
|
+
};
|
|
8
|
+
export {
|
|
9
|
+
s as default,
|
|
10
|
+
i as description,
|
|
11
|
+
_ as label,
|
|
12
|
+
e as radio,
|
|
13
|
+
t as root,
|
|
14
|
+
o as text
|
|
15
|
+
};
|