@okam/stack-ui 1.42.3 → 1.43.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/CHANGELOG.md +28 -0
- package/components/Accordion/components/AccordionItem.d.ts +4 -2
- package/components/Accordion/components/AriaAccordionItem.d.ts +2 -1
- package/components/Accordion/hooks/useAccordionState.d.ts +3 -2
- package/components/Accordion/index.d.ts +3 -2
- package/components/Accordion/interface.d.ts +6 -5
- package/components/Alerts/components/AlertsCloseButton.d.ts +3 -2
- package/components/Alerts/components/AlertsItem.d.ts +2 -1
- package/components/Alerts/index.d.ts +3 -2
- package/components/Alerts/interface.d.ts +8 -7
- package/components/Box/index.d.ts +4 -3
- package/components/Box/interface.d.ts +5 -4
- package/components/Button/index.d.ts +5 -4
- package/components/Button/interface.d.ts +6 -6
- package/components/Calendar/RangeCalendar.d.ts +2 -1
- package/components/Calendar/components/CalendarCell.d.ts +2 -1
- package/components/Calendar/components/CalendarGrid.d.ts +2 -1
- package/components/Calendar/components/NavigationButtons.d.ts +2 -1
- package/components/Calendar/index.d.ts +3 -2
- package/components/Calendar/interface.d.ts +6 -5
- package/components/Calendar/utils/getIsDateOutsideRange.d.ts +4 -3
- package/components/Carousel/a11y/CarouselA11yAnnouncer.d.ts +2 -1
- package/components/Carousel/a11y/interface.d.ts +3 -2
- package/components/Carousel/a11y/useCarouselA11yAnnouncer.d.ts +3 -2
- package/components/Carousel/carousel.stories.d.ts +3 -2
- package/components/Carousel/components/LegacyCarousel.d.ts +2 -1
- package/components/Carousel/index.d.ts +4 -2
- package/components/Carousel/interface.d.ts +7 -6
- package/components/Carousel/navigation/CarouselNextNavigation.d.ts +2 -1
- package/components/Carousel/navigation/CarouselPrevNavigation.d.ts +2 -1
- package/components/Carousel/navigation/LegacyCarouselNavigationButton.d.ts +6 -5
- package/components/Carousel/navigation/interface.d.ts +5 -4
- package/components/Carousel/navigation/useCarouselNextNavigation.d.ts +3 -2
- package/components/Carousel/navigation/useCarouselPrevNavigation.d.ts +3 -2
- package/components/Carousel/pagination/CarouselPagination.d.ts +2 -1
- package/components/Carousel/pagination/CarouselPaginationBullet.d.ts +2 -1
- package/components/Carousel/pagination/CarouselPaginationFraction.d.ts +2 -1
- package/components/Carousel/pagination/interface.d.ts +8 -7
- package/components/Carousel/pagination/useCarouselPagination.d.ts +2 -1
- package/components/Carousel/pagination/useCarouselPaginationBullet.d.ts +2 -1
- package/components/Carousel/pagination/useCarouselPaginationFraction.d.ts +2 -1
- package/components/Carousel/swiper/CarouselSlide.d.ts +2 -1
- package/components/Carousel/swiper/CarouselSwiper.d.ts +2 -1
- package/components/Carousel/swiper/interface.d.ts +9 -8
- package/components/Carousel/swiper/useCarouselSlide.d.ts +2 -1
- package/components/Carousel/swiper/useCarouselSwiper.d.ts +2 -1
- package/components/Date/index.d.ts +3 -2
- package/components/Date/interface.d.ts +4 -3
- package/components/Dialog/index.d.ts +2 -1
- package/components/Dialog/interface.d.ts +4 -3
- package/components/Icon/index.d.ts +3 -2
- package/components/Icon/interface.d.ts +4 -4
- package/components/Lightbox/index.d.ts +3 -2
- package/components/Lightbox/interface.d.ts +8 -8
- package/components/Menu/Menu.d.ts +3 -2
- package/components/Menu/MenuSidePanel.d.ts +2 -1
- package/components/Menu/components/InnerContent.d.ts +2 -1
- package/components/Menu/components/MenuItems.d.ts +2 -1
- package/components/Menu/components/TabContainer.d.ts +2 -1
- package/components/Menu/interface.d.ts +15 -8
- package/components/Modal/components/ModalDialog.d.ts +2 -1
- package/components/Modal/components/ModalOverlay.d.ts +2 -1
- package/components/Modal/index.d.ts +3 -2
- package/components/Modal/interface.d.ts +7 -7
- package/components/Node/index.d.ts +4 -2
- package/components/Node/interface.d.ts +2 -1
- package/components/Popover/components/Button.d.ts +3 -2
- package/components/Popover/index.d.ts +2 -1
- package/components/Popover/interface.d.ts +9 -8
- package/components/Popover/popover.stories.d.ts +3 -2
- package/components/PrintButton/index.d.ts +2 -1
- package/components/PrintButton/interface.d.ts +4 -3
- package/components/ShareButton/index.d.ts +3 -2
- package/components/ShareButton/interface.d.ts +4 -3
- package/components/SidePanel/index.d.ts +3 -2
- package/components/SidePanel/interface.d.ts +7 -6
- package/components/SkipToMain/index.d.ts +22 -0
- package/components/SkipToMain/interface.d.ts +14 -0
- package/components/TabList/components/Tab.d.ts +3 -2
- package/components/TabList/components/TabItem.d.ts +4 -3
- package/components/TabList/components/TabPanel.d.ts +3 -2
- package/components/TabList/index.d.ts +3 -2
- package/components/TabList/interface.d.ts +7 -7
- package/components/TabList/tab-list.stories.d.ts +3 -2
- package/components/TagGroup/components/Tag.d.ts +3 -2
- package/components/TagGroup/components/TagItem.d.ts +4 -3
- package/components/TagGroup/index.d.ts +3 -2
- package/components/TagGroup/interface.d.ts +8 -7
- package/components/Typography/index.d.ts +4 -3
- package/components/Typography/interface.d.ts +4 -3
- package/components/Video/index.d.ts +3 -2
- package/components/Video/interface.d.ts +4 -3
- package/components/WysiwygBlock/index.d.ts +3 -2
- package/components/WysiwygBlock/interface.d.ts +3 -2
- package/components/fields/Checkbox/Checkbox.interface.d.ts +5 -4
- package/components/fields/Checkbox/index.d.ts +4 -3
- package/components/fields/CheckboxGroup/components/CheckboxGroupItem/index.d.ts +3 -2
- package/components/fields/CheckboxGroup/index.d.ts +3 -2
- package/components/fields/CheckboxGroup/interface.d.ts +7 -6
- package/components/fields/ComboBox/combo-box.stories.d.ts +3 -2
- package/components/fields/ComboBox/components/ComboBoxButton.d.ts +3 -2
- package/components/fields/ComboBox/hooks/useComboBoxFiltering.d.ts +8 -7
- package/components/fields/ComboBox/index.d.ts +4 -3
- package/components/fields/ComboBox/interface.d.ts +9 -8
- package/components/fields/DatePicker/DateRangePicker.d.ts +2 -1
- package/components/fields/DatePicker/components/CalendarPopover.d.ts +2 -1
- package/components/fields/DatePicker/components/DateField.d.ts +2 -1
- package/components/fields/DatePicker/components/Wrapper.d.ts +3 -2
- package/components/fields/DatePicker/index.d.ts +3 -2
- package/components/fields/DatePicker/interface.d.ts +7 -7
- package/components/fields/ListBox/components/ListBoxSection.d.ts +3 -2
- package/components/fields/ListBox/index.d.ts +7 -4
- package/components/fields/ListBox/interface.d.ts +20 -7
- package/components/fields/ListBox/list-box.stories.d.ts +5 -2
- package/components/fields/Option/index.d.ts +3 -2
- package/components/fields/Option/interface.d.ts +8 -7
- package/components/fields/Radio/Radio.interface.d.ts +5 -4
- package/components/fields/Radio/index.d.ts +3 -2
- package/components/fields/RadioGroup/index.d.ts +3 -2
- package/components/fields/RadioGroup/interface.d.ts +4 -3
- package/components/fields/SearchField/index.d.ts +3 -2
- package/components/fields/SearchField/interface.d.ts +5 -4
- package/components/fields/Select/Select.d.ts +4 -3
- package/components/fields/Select/Select.interface.d.ts +7 -7
- package/components/fields/Select/components/Listbox.d.ts +2 -1
- package/components/fields/Select/components/Listbox.interface.d.ts +5 -4
- package/components/fields/Select/components/Popover.d.ts +2 -1
- package/components/fields/Select/components/Popover.interface.d.ts +6 -5
- package/components/fields/Select/components/useListboxSections.d.ts +2 -1
- package/components/fields/SelectItem/SelectItem.d.ts +2 -1
- package/components/fields/SelectItem/SelectItem.interface.d.ts +2 -1
- package/components/fields/TextArea/index.d.ts +4 -3
- package/components/fields/TextInputField/index.d.ts +4 -3
- package/components/fields/TextInputField/interface.d.ts +9 -6
- package/components/fields/TextInputField/text-input-field.stories.d.ts +8 -0
- package/components/icons/ArrowDown.d.ts +2 -1
- package/components/icons/ArrowLeft.d.ts +2 -1
- package/components/icons/ArrowRight.d.ts +2 -1
- package/components/icons/Check.d.ts +2 -1
- package/components/icons/ChevronLeft.d.ts +2 -1
- package/components/icons/ChevronRight.d.ts +2 -1
- package/components/icons/CloseBtn.d.ts +2 -1
- package/components/icons/ErrorIcon.d.ts +4 -0
- package/components/icons/Facebook.d.ts +2 -1
- package/components/icons/FacebookColored.d.ts +2 -1
- package/components/icons/FacebookRounded.d.ts +2 -1
- package/components/icons/Globe.d.ts +2 -1
- package/components/icons/IconFallback.d.ts +2 -1
- package/components/icons/Instagram.d.ts +2 -1
- package/components/icons/InstagramColored.d.ts +2 -1
- package/components/icons/Link.d.ts +2 -1
- package/components/icons/LinkedIn.d.ts +2 -1
- package/components/icons/Mail.d.ts +2 -1
- package/components/icons/Plus.d.ts +2 -1
- package/components/icons/Print.d.ts +2 -1
- package/components/icons/Search.d.ts +2 -1
- package/components/icons/Share.d.ts +2 -1
- package/components/icons/Twitter.d.ts +2 -1
- package/components/icons/TwitterColored.d.ts +2 -1
- package/components/icons/Upload.d.ts +2 -1
- package/components/icons/X.d.ts +2 -1
- package/components/icons/YouTube.d.ts +2 -1
- package/components/icons/YouTubeColored.d.ts +2 -1
- package/helpers/mergeDefaultComponentProps.d.ts +2 -1
- package/hooks/useLabelledOverlay/index.d.ts +6 -5
- package/hooks/useLabelledOverlay/interface.d.ts +4 -3
- package/index.d.ts +3 -1
- package/index.js +1 -1
- package/index.mjs +250 -244
- package/index10.js +1 -1
- package/index10.mjs +50 -54
- package/index100.js +1 -1
- package/index100.mjs +6 -6
- package/index101.js +1 -1
- package/index101.mjs +6 -6
- package/index102.js +1 -1
- package/index102.mjs +6 -6
- package/index103.js +2 -1
- package/index103.mjs +8 -25
- package/index104.js +1 -2
- package/index104.mjs +24 -10
- package/index105.js +1 -1
- package/index105.mjs +9 -18
- package/index106.js +1 -1
- package/index106.mjs +15 -47
- package/index107.js +1 -1
- package/index107.mjs +47 -38
- package/index108.js +1 -1
- package/index108.mjs +39 -10
- package/index109.js +1 -1
- package/index109.mjs +10 -35
- package/index11.js +1 -1
- package/index11.mjs +51 -53
- package/index110.js +1 -1
- package/index110.mjs +35 -13
- package/index111.js +1 -1
- package/index111.mjs +10 -22
- package/index112.js +1 -1
- package/index112.mjs +20 -16
- package/index113.js +1 -1
- package/index113.mjs +21 -11
- package/index114.js +1 -1
- package/index114.mjs +13 -12
- package/index115.js +1 -1
- package/index115.mjs +11 -34
- package/index116.js +2 -1
- package/index116.mjs +37 -4
- package/index117.js +1 -1
- package/index117.mjs +4 -2
- package/index118.js +1 -6
- package/index118.mjs +2 -94
- package/index119.js +6 -1
- package/index119.mjs +79 -55
- package/index12.js +1 -1
- package/index12.mjs +51 -51
- package/index120.js +1 -1
- package/index120.mjs +62 -33
- package/index121.js +1 -42
- package/index121.mjs +34 -67
- package/index122.js +47 -60
- package/index122.mjs +77 -214
- package/index123.js +63 -9
- package/index123.mjs +214 -57
- package/index124.js +10 -1
- package/index124.mjs +61 -35
- package/index125.js +1 -1
- package/index125.mjs +40 -8
- package/index126.js +1 -6
- package/index126.mjs +10 -46
- package/index127.js +6 -5
- package/index127.mjs +44 -83
- package/index128.js +5 -1
- package/index128.mjs +88 -6
- package/index129.js +1 -12
- package/index129.mjs +6 -40
- package/index13.js +1 -1
- package/index13.mjs +60 -12
- package/index130.js +12 -1
- package/index130.mjs +34 -83
- package/index131.js +1 -1
- package/index131.mjs +95 -12
- package/index132.js +1 -1
- package/index132.mjs +13 -8
- package/index133.js +1 -1
- package/index133.mjs +7 -28
- package/index134.js +1 -1
- package/index134.mjs +24 -8
- package/index135.js +1 -7
- package/index135.mjs +7 -13
- package/index136.js +6 -14
- package/index136.mjs +13 -65
- package/index137.js +15 -1
- package/index137.mjs +71 -7
- package/index138.js +1 -41
- package/index138.mjs +7 -106
- package/index139.js +9 -47
- package/index139.mjs +13 -100
- package/index14.js +1 -1
- package/index14.mjs +12 -76
- package/index140.js +40 -15
- package/index140.mjs +100 -19
- package/index141.js +47 -1
- package/index141.mjs +95 -35
- package/index142.js +16 -2
- package/index142.mjs +25 -49
- package/index143.js +20 -1
- package/index143.mjs +74 -21
- package/index144.js +1 -2
- package/index144.mjs +42 -9
- package/index145.js +1 -1
- package/index145.mjs +46 -10
- package/index146.js +1 -1
- package/index146.mjs +23 -240
- package/index147.js +2 -1
- package/index147.mjs +9 -52
- package/index148.js +2 -1
- package/index148.mjs +13 -4
- package/index149.js +1 -1
- package/index149.mjs +240 -11
- package/index15.js +1 -1
- package/index15.mjs +70 -58
- package/index150.js +1 -1
- package/index150.mjs +52 -14
- package/index151.js +1 -2
- package/index151.mjs +11 -39
- package/index152.js +1 -2
- package/index152.mjs +4 -24
- package/index153.js +1 -1
- package/index153.mjs +11 -44
- package/index154.js +1 -1
- package/index154.mjs +14 -20
- package/index155.js +2 -1
- package/index155.mjs +38 -37
- package/index156.js +2 -1
- package/index156.mjs +24 -16
- package/index157.js +1 -2
- package/index157.mjs +47 -12
- package/index158.js +1 -2
- package/index158.mjs +20 -39
- package/index159.js +1 -1
- package/index159.mjs +38 -11
- package/index16.js +1 -1
- package/index16.mjs +64 -18
- package/index160.js +1 -1
- package/index160.mjs +19 -14
- package/index161.js +2 -1
- package/index161.mjs +12 -38
- package/index162.js +1 -1
- package/index162.mjs +38 -24
- package/index163.js +1 -1
- package/index163.mjs +11 -23
- package/index164.js +1 -1
- package/index164.mjs +14 -43
- package/index165.js +1 -1
- package/index165.mjs +39 -25
- package/index166.js +2 -1
- package/index166.mjs +25 -40
- package/index167.js +1 -2
- package/index167.mjs +22 -57
- package/index168.js +1 -1
- package/index168.mjs +46 -39
- package/index169.js +1 -1
- package/index169.mjs +26 -31
- package/index17.js +1 -1
- package/index17.mjs +8 -8
- package/index170.js +1 -2
- package/index170.mjs +41 -9
- package/index171.js +1 -1
- package/index171.mjs +56 -8
- package/index172.js +1 -1
- package/index172.mjs +39 -30
- package/index173.js +1 -1
- package/index173.mjs +27 -11
- package/index174.js +2 -1
- package/index174.mjs +8 -16
- package/index175.js +1 -1
- package/index175.mjs +8 -46
- package/index176.js +1 -1
- package/index176.mjs +29 -35
- package/index177.js +1 -1
- package/index177.mjs +15 -29
- package/index178.js +1 -1
- package/index178.mjs +17 -22
- package/index179.js +2 -1
- package/index179.mjs +47 -35
- package/index18.js +1 -1
- package/index18.mjs +17 -9
- package/index180.js +1 -1
- package/index180.mjs +37 -21
- package/index181.js +1 -1
- package/index181.mjs +31 -55
- package/index182.js +1 -1
- package/index182.mjs +22 -46
- package/index183.js +1 -1
- package/index183.mjs +36 -12
- package/index184.js +1 -1
- package/index184.mjs +62 -2025
- package/index185.js +1 -1
- package/index185.mjs +54 -57
- package/index186.js +1 -1
- package/index186.mjs +46 -189
- package/index187.js +1 -1
- package/index187.mjs +12 -6
- package/index188.js +1 -2
- package/index188.mjs +2022 -46
- package/index189.js +1 -1
- package/index189.mjs +58 -10
- package/index19.js +1 -1
- package/index19.mjs +9 -16
- package/index190.js +1 -1
- package/index190.mjs +185 -200
- package/index191.js +1 -1
- package/index191.mjs +5 -64
- package/index192.js +2 -1
- package/index192.mjs +46 -140
- package/index193.js +1 -1
- package/index193.mjs +11 -124
- package/index194.js +1 -1
- package/index194.mjs +186 -207
- package/index195.js +1 -1
- package/index195.mjs +56 -182
- package/index196.js +1 -1
- package/index196.mjs +139 -65
- package/index197.js +1 -1
- package/index197.mjs +112 -267
- package/index198.js +1 -1
- package/index198.mjs +211 -85
- package/index199.js +1 -1
- package/index199.mjs +175 -173
- package/index2.js +1 -1
- package/index2.mjs +68 -71
- package/index20.js +1 -1
- package/index20.mjs +13 -18
- package/index200.js +1 -1
- package/index200.mjs +63 -78
- package/index201.js +1 -1
- package/index201.mjs +273 -52
- package/index202.js +1 -1
- package/index202.mjs +90 -118
- package/index203.js +1 -1
- package/index203.mjs +181 -109
- package/index204.js +1 -1
- package/index204.mjs +74 -112
- package/index205.js +1 -1
- package/index205.mjs +52 -66
- package/index206.js +1 -1
- package/index206.mjs +124 -108
- package/index207.js +1 -1
- package/index207.mjs +112 -48
- package/index208.js +1 -1
- package/index208.mjs +114 -85
- package/index209.js +1 -1
- package/index209.mjs +67 -65
- package/index21.js +1 -1
- package/index21.mjs +21 -13
- package/index210.js +1 -1
- package/index210.mjs +108 -54
- package/index211.js +1 -1
- package/index211.mjs +39 -86
- package/index212.js +1 -5
- package/index212.mjs +77 -64
- package/index213.js +1 -1
- package/index213.mjs +65 -125
- package/index214.js +1 -1
- package/index214.mjs +53 -187
- package/index215.js +1 -1
- package/index215.mjs +98 -123
- package/index216.js +5 -1
- package/index216.mjs +78 -132
- package/index217.js +1 -1
- package/index217.mjs +126 -40
- package/index218.js +1 -1
- package/index218.mjs +188 -12
- package/index219.js +1 -1
- package/index219.mjs +111 -82
- package/index22.js +1 -1
- package/index22.mjs +13 -47
- package/index220.js +1 -1
- package/index220.mjs +130 -102
- package/index221.js +1 -1
- package/index221.mjs +75 -4
- package/index222.js +1 -1
- package/index222.mjs +14 -3
- package/index223.js +1 -1
- package/index223.mjs +83 -113
- package/index224.js +1 -1
- package/index224.mjs +102 -25
- package/index225.js +1 -1
- package/index225.mjs +4 -51
- package/index226.js +1 -1
- package/index226.mjs +3 -44
- package/index227.js +1 -1
- package/index227.mjs +117 -29
- package/index228.js +1 -1
- package/index228.mjs +16 -100
- package/index229.js +1 -1
- package/index229.mjs +44 -70
- package/index23.js +1 -1
- package/index23.mjs +47 -18
- package/index230.js +1 -1
- package/index230.mjs +33 -90
- package/index231.js +1 -1
- package/index231.mjs +38 -98
- package/index232.js +1 -1
- package/index232.mjs +109 -136
- package/index233.js +1 -1
- package/index233.mjs +67 -187
- package/index234.js +1 -1
- package/index234.mjs +100 -21
- package/index235.js +1 -1
- package/index235.mjs +97 -3
- package/index236.js +1 -1
- package/index236.mjs +122 -25
- package/index237.js +1 -1
- package/index237.mjs +67 -44
- package/index238.js +7 -1
- package/index238.mjs +432 -47
- package/index239.js +1 -1
- package/index239.mjs +57 -47
- package/index24.js +1 -1
- package/index24.mjs +18 -17
- package/index240.js +1 -1
- package/index240.mjs +4 -98
- package/index241.js +1 -1
- package/index241.mjs +25 -5
- package/index242.js +1 -1
- package/index242.mjs +47 -6
- package/index243.js +1 -1
- package/index243.mjs +5 -41
- package/index244.js +1 -1
- package/index244.mjs +24 -71
- package/index245.js +1 -1
- package/index245.mjs +12 -14
- package/index246.js +1 -1
- package/index246.mjs +4 -68
- package/index247.js +1 -1
- package/index247.mjs +14 -7
- package/index248.js +1 -1
- package/index248.mjs +41 -10
- package/index249.js +1 -1
- package/index249.mjs +53 -42
- package/index25.js +1 -1
- package/index25.mjs +16 -165
- package/index250.js +1 -1
- package/index250.mjs +41 -123
- package/index251.js +1 -1
- package/index251.mjs +28 -69
- package/index252.js +1 -1
- package/index252.mjs +27 -377
- package/index253.js +1 -1
- package/index253.mjs +13 -45
- package/index254.js +1 -1
- package/index254.mjs +10 -24
- package/index255.js +1 -1
- package/index255.mjs +28 -23
- package/index256.js +1 -1
- package/index256.mjs +15 -12
- package/index257.js +1 -1
- package/index257.mjs +9 -4
- package/index258.js +1 -1
- package/index258.mjs +6 -14
- package/index259.js +1 -1
- package/index259.mjs +5 -42
- package/index26.js +1 -1
- package/index26.mjs +148 -93
- package/index260.js +1 -1
- package/index260.mjs +7 -57
- package/index261.js +1 -1
- package/index261.mjs +27 -26
- package/index262.js +1 -1
- package/index262.mjs +15 -29
- package/index263.js +1 -1
- package/index263.mjs +44 -10
- package/index264.js +1 -1
- package/index264.mjs +8 -9
- package/index265.js +1 -1
- package/index265.mjs +16 -5
- package/index266.js +1 -1
- package/index266.mjs +3 -8
- package/index267.js +1 -1
- package/index267.mjs +19 -29
- package/index268.js +1 -1
- package/index268.mjs +34 -18
- package/index269.js +1 -1
- package/index269.mjs +22 -13
- package/index27.js +1 -1
- package/index27.mjs +110 -116
- package/index270.js +1 -1
- package/index270.mjs +52 -41
- package/index271.js +1 -1
- package/index271.mjs +27 -8
- package/index272.js +1 -1
- package/index272.mjs +140 -13
- package/index273.js +1 -1
- package/index273.mjs +214 -3
- package/index274.js +1 -1
- package/index274.mjs +22 -4
- package/index275.js +1 -1
- package/index275.mjs +49 -19
- package/index276.js +1 -1
- package/index276.mjs +44 -25
- package/index277.js +6 -1
- package/index277.mjs +111 -29
- package/index278.js +1 -1
- package/index278.mjs +72 -6
- package/index279.js +1 -1
- package/index279.mjs +66 -113
- package/index28.js +1 -1
- package/index28.mjs +118 -31
- package/index280.js +1 -1
- package/index280.mjs +7 -43
- package/index281.js +1 -1
- package/index281.mjs +11 -230
- package/index282.js +1 -1
- package/index282.mjs +30 -8
- package/index283.js +1 -1
- package/index283.mjs +9 -3
- package/index284.js +1 -1
- package/index284.mjs +131 -34
- package/index285.js +1 -1
- package/index285.mjs +43 -5
- package/index286.js +1 -1
- package/index286.mjs +231 -29
- package/index287.js +1 -1
- package/index287.mjs +9 -6
- package/index288.js +1 -1
- package/index288.mjs +3 -4
- package/index289.js +1 -1
- package/index289.mjs +36 -3
- package/index29.js +1 -1
- package/index29.mjs +27 -104
- package/index290.js +1 -1
- package/index290.mjs +6 -5
- package/index291.js +1 -1
- package/index291.mjs +30 -5
- package/index292.js +1 -1
- package/index292.mjs +7 -5
- package/index293.js +1 -1
- package/index293.mjs +5 -5
- package/index294.js +1 -1
- package/index294.mjs +4 -5
- package/index295.js +1 -1
- package/index295.mjs +1 -1
- package/index296.js +1 -1
- package/index296.mjs +4 -4
- package/index297.js +1 -1
- package/index297.mjs +4 -4
- package/index298.js +1 -1
- package/index298.mjs +4 -4
- package/index299.js +1 -1
- package/index299.mjs +1 -1
- package/index3.js +1 -1
- package/index3.mjs +1 -1
- package/index30.js +1 -1
- package/index30.mjs +84 -122
- package/index300.js +1 -1
- package/index300.mjs +4 -4
- package/index301.js +1 -1
- package/index301.mjs +4 -4
- package/index302.js +1 -1
- package/index302.mjs +1 -1
- package/index303.js +1 -1
- package/index303.mjs +4 -4
- package/index304.js +1 -1
- package/index304.mjs +4 -4
- package/index305.js +1 -1
- package/index305.mjs +4 -4
- package/index306.js +1 -1
- package/index306.mjs +4 -4
- package/index307.js +1 -1
- package/index307.mjs +1 -1
- package/index308.js +1 -1
- package/index308.mjs +4 -4
- package/index309.js +1 -1
- package/index309.mjs +1 -1
- package/index31.js +1 -1
- package/index31.mjs +110 -124
- package/index310.js +1 -1
- package/index310.mjs +4 -4
- package/index311.js +1 -1
- package/index311.mjs +4 -4
- package/index312.js +1 -1
- package/index312.mjs +4 -4
- package/index313.js +1 -1
- package/index313.mjs +4 -4
- package/index314.js +1 -1
- package/index314.mjs +4 -4
- package/index315.js +1 -1
- package/index315.mjs +4 -4
- package/index316.js +1 -1
- package/index316.mjs +4 -4
- package/index317.js +1 -1
- package/index317.mjs +4 -4
- package/index318.js +1 -1
- package/index318.mjs +1 -1
- package/index319.js +1 -1
- package/index319.mjs +4 -4
- package/index32.js +1 -1
- package/index32.mjs +186 -100
- package/index320.js +1 -1
- package/index320.mjs +4 -4
- package/index321.js +1 -1
- package/index321.mjs +4 -4
- package/index322.js +1 -1
- package/index322.mjs +4 -4
- package/index323.js +1 -1
- package/index323.mjs +1 -1
- package/index324.js +1 -1
- package/index324.mjs +5 -7
- package/index325.js +1 -1
- package/index325.mjs +5 -28
- package/index326.js +1 -1
- package/index326.mjs +5 -93
- package/index327.js +1 -1
- package/index327.mjs +4 -62
- package/index328.js +1 -1
- package/index328.mjs +5 -10
- package/index329.js +1 -1
- package/index329.mjs +63 -25
- package/index33.js +1 -1
- package/index33.mjs +110 -22
- package/index330.js +1 -1
- package/index330.mjs +6 -33
- package/index331.js +1 -1
- package/index331.mjs +27 -6
- package/index332.js +1 -1
- package/index332.mjs +87 -6
- package/index333.js +1 -1
- package/index333.mjs +7 -48
- package/index334.js +1 -1
- package/index334.mjs +24 -28
- package/index335.js +1 -1
- package/index335.mjs +33 -14
- package/index336.js +1 -1
- package/index336.mjs +6 -66
- package/index337.js +1 -1
- package/index337.mjs +6 -53
- package/index338.js +1 -1
- package/index338.mjs +48 -52
- package/index339.js +1 -1
- package/index339.mjs +29 -281
- package/index34.js +1 -1
- package/index34.mjs +21 -68
- package/index340.js +1 -1
- package/index340.mjs +15 -20
- package/index341.js +1 -1
- package/index341.mjs +65 -20
- package/index342.js +1 -1
- package/index342.mjs +54 -29
- package/index343.js +1 -1
- package/index343.mjs +54 -3
- package/index344.js +1 -1
- package/index344.mjs +281 -4
- package/index345.js +1 -1
- package/index345.mjs +20 -8
- package/index346.js +1 -1
- package/index346.mjs +21 -5
- package/index347.js +1 -1
- package/index347.mjs +28 -29
- package/index348.js +1 -1
- package/index348.mjs +3 -167
- package/index349.js +1 -0
- package/index349.mjs +7 -0
- package/index35.js +1 -1
- package/index35.mjs +69 -147
- package/index350.js +1 -0
- package/index350.mjs +11 -0
- package/index351.js +1 -0
- package/index351.mjs +8 -0
- package/index352.js +1 -0
- package/index352.mjs +33 -0
- package/index353.js +1 -0
- package/index353.mjs +170 -0
- package/index36.js +1 -1
- package/index36.mjs +149 -20
- package/index37.js +1 -1
- package/index37.mjs +20 -59
- package/index38.js +1 -1
- package/index38.mjs +42 -33
- package/index39.js +1 -1
- package/index39.mjs +49 -19
- package/index4.js +1 -1
- package/index4.mjs +4 -4
- package/index40.js +1 -1
- package/index40.mjs +19 -32
- package/index41.js +1 -1
- package/index41.mjs +32 -23
- package/index42.js +1 -1
- package/index42.mjs +22 -12
- package/index43.js +1 -1
- package/index43.mjs +13 -31
- package/index44.js +1 -1
- package/index44.mjs +30 -31
- package/index45.js +1 -1
- package/index45.mjs +28 -121
- package/index46.js +1 -1
- package/index46.mjs +130 -8
- package/index47.js +1 -1
- package/index47.mjs +8 -46
- package/index48.js +1 -1
- package/index48.mjs +46 -17
- package/index49.js +1 -1
- package/index49.mjs +20 -6
- package/index50.js +1 -1
- package/index50.mjs +6 -20
- package/index51.js +1 -1
- package/index51.mjs +18 -32
- package/index52.js +1 -1
- package/index52.mjs +34 -39
- package/index53.js +1 -1
- package/index53.mjs +39 -48
- package/index54.js +1 -1
- package/index54.mjs +48 -39
- package/index55.js +1 -1
- package/index55.mjs +38 -26
- package/index56.js +1 -1
- package/index56.mjs +29 -18
- package/index57.js +1 -1
- package/index57.mjs +18 -111
- package/index58.js +1 -1
- package/index58.mjs +139 -53
- package/index59.js +1 -1
- package/index59.mjs +111 -40
- package/index6.js +1 -1
- package/index6.mjs +40 -40
- package/index60.js +1 -1
- package/index60.mjs +37 -61
- package/index61.js +1 -1
- package/index61.mjs +64 -72
- package/index62.js +2 -1
- package/index62.mjs +74 -5
- package/index63.js +1 -1
- package/index63.mjs +4 -7
- package/index64.js +1 -1
- package/index64.mjs +5 -5
- package/index65.js +1 -1
- package/index65.mjs +8 -5
- package/index66.js +1 -1
- package/index66.mjs +2 -2
- package/index67.js +1 -1
- package/index67.mjs +1 -1
- package/index68.js +1 -1
- package/index68.mjs +4 -4
- package/index69.js +1 -1
- package/index69.mjs +3 -9
- package/index7.js +1 -1
- package/index7.mjs +1 -1
- package/index70.js +1 -1
- package/index70.mjs +7 -9
- package/index71.js +1 -1
- package/index71.mjs +9 -9
- package/index72.js +1 -1
- package/index72.mjs +13 -46
- package/index73.js +1 -1
- package/index73.mjs +46 -8
- package/index74.js +1 -1
- package/index74.mjs +6 -69
- package/index75.js +1 -1
- package/index75.mjs +71 -8
- package/index76.js +1 -1
- package/index76.mjs +7 -12
- package/index77.js +1 -1
- package/index77.mjs +12 -9
- package/index78.js +1 -1
- package/index78.mjs +10 -17
- package/index79.js +1 -1
- package/index79.mjs +17 -11
- package/index8.js +1 -1
- package/index8.mjs +60 -82
- package/index80.js +1 -1
- package/index80.mjs +8 -10
- package/index81.js +1 -1
- package/index81.mjs +5 -5
- package/index82.js +1 -1
- package/index82.mjs +6 -6
- package/index83.js +1 -1
- package/index83.mjs +10 -8
- package/index84.js +1 -1
- package/index84.mjs +5 -5
- package/index85.js +1 -1
- package/index85.mjs +6 -8
- package/index86.js +1 -1
- package/index86.mjs +13 -14
- package/index87.js +1 -2
- package/index87.mjs +14 -23
- package/index88.js +1 -1
- package/index88.mjs +21 -15
- package/index89.js +1 -1
- package/index89.mjs +16 -14
- package/index9.js +1 -1
- package/index9.mjs +79 -50
- package/index90.js +1 -1
- package/index90.mjs +13 -45
- package/index91.js +1 -1
- package/index91.mjs +44 -36
- package/index92.js +1 -1
- package/index92.mjs +37 -11
- package/index93.js +1 -1
- package/index93.mjs +11 -10
- package/index94.js +1 -1
- package/index94.mjs +10 -13
- package/index95.js +1 -1
- package/index95.mjs +12 -43
- package/index96.js +1 -1
- package/index96.mjs +43 -28
- package/index97.js +2 -1
- package/index97.mjs +31 -2
- package/index98.js +1 -2
- package/index98.mjs +2 -9
- package/index99.js +1 -1
- package/index99.mjs +7 -6
- package/logger.d.ts +2 -2
- package/message.d.ts +2 -1
- package/package.json +25 -22
- package/providers/Accordion/index.d.ts +3 -2
- package/providers/Accordion/interface.d.ts +4 -3
- package/providers/Carousel/index.d.ts +2 -1
- package/providers/Carousel/interface.d.ts +9 -8
- package/providers/CheckboxGroup/index.d.ts +3 -2
- package/providers/CheckboxGroup/interface.d.ts +3 -2
- package/providers/Client/index.d.ts +2 -1
- package/providers/Client/interface.d.ts +2 -1
- package/providers/Menu/index.d.ts +3 -2
- package/providers/Menu/interface.d.ts +14 -13
- package/providers/RadioGroup/RadioGroup.d.ts +3 -2
- package/providers/RadioGroup/RadioGroup.interface.d.ts +4 -3
- package/providers/SidePanel/index.d.ts +2 -1
- package/providers/SidePanel/interface.d.ts +5 -5
- package/providers/Theme/hooks.d.ts +2 -1
- package/providers/Theme/index.d.ts +3 -2
- package/providers/Theme/interface.d.ts +2 -1
- package/providers/Theme/utils.d.ts +2 -1
- package/providers/Translation/index.d.ts +3 -2
- package/providers/UserSearchQuery/index.d.ts +3 -2
- package/providers/UserSearchQuery/interface.d.ts +2 -2
- package/storybook/Lightbox/LightboxControlledState.d.ts +2 -1
- package/storybook/Menu/Menu.d.ts +5 -5
- package/storybook/Menu/mock.d.ts +2 -1
- package/storybook/SelectField/index.d.ts +2 -1
- package/storybook/ShareButtonExample/index.d.ts +2 -1
- package/theme/Accordion/index.d.ts +26 -25
- package/theme/Alerts/index.d.ts +180 -156
- package/theme/Box/index.d.ts +15 -15
- package/theme/Button/index.d.ts +11 -4
- package/theme/Calendar/index.d.ts +43 -43
- package/theme/Carousel/index.d.ts +72 -63
- package/theme/Checkbox/index.d.ts +14 -14
- package/theme/CheckboxGroup/index.d.ts +5 -5
- package/theme/ComboBox/index.d.ts +2 -1
- package/theme/DatePicker/index.d.ts +40 -40
- package/theme/Image/index.d.ts +3 -2
- package/theme/LightBox/index.d.ts +92 -92
- package/theme/ListBox/index.d.ts +656 -292
- package/theme/Popover/index.d.ts +40 -29
- package/theme/PrintButton/index.d.ts +2 -2
- package/theme/Radio/index.d.ts +12 -12
- package/theme/RadioGroup/index.d.ts +5 -5
- package/theme/Search/index.d.ts +5 -5
- package/theme/ShareButton/index.d.ts +18 -18
- package/theme/SidePanel/index.d.ts +3 -3
- package/theme/SkipToMain/index.d.ts +287 -0
- package/theme/TabList/index.d.ts +63 -63
- package/theme/TagGroup/index.d.ts +146 -146
- package/theme/TextArea/index.d.ts +4 -4
- package/theme/TextInput/index.d.ts +421 -0
- package/theme/Typography/index.d.ts +4 -4
- package/theme/index.d.ts +2 -1
- package/transitions/AccordionTransition.d.ts +3 -2
- package/transitions/ModalTransition.d.ts +3 -2
- package/transitions/RenderWithOpacity.d.ts +3 -2
- package/transitions/RenderWithSlide.d.ts +3 -2
- package/transitions/SidePanelTransition.d.ts +3 -2
- package/types/components.d.ts +12 -5
- package/types/next-link.d.ts +3 -2
- package/types/react-stately.d.ts +4 -3
package/index199.mjs
CHANGED
|
@@ -1,191 +1,193 @@
|
|
|
1
|
-
import { g as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
4
|
-
|
|
1
|
+
import { g as R } from "./index217.mjs";
|
|
2
|
+
import { m as I, i as d, c as j, n as B, b as N } from "./index218.mjs";
|
|
3
|
+
import { c as G } from "./index287.mjs";
|
|
4
|
+
import { c as U } from "./index288.mjs";
|
|
5
|
+
function _(x) {
|
|
5
6
|
let {
|
|
6
|
-
swiper:
|
|
7
|
-
extendParams:
|
|
8
|
-
on:
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
id: null,
|
|
26
|
-
scrollOnFocus: !0
|
|
7
|
+
swiper: s,
|
|
8
|
+
extendParams: k,
|
|
9
|
+
on: f,
|
|
10
|
+
emit: g
|
|
11
|
+
} = x;
|
|
12
|
+
const y = R();
|
|
13
|
+
let b = !1, E = null, v = null, h, i, c, D;
|
|
14
|
+
k({
|
|
15
|
+
scrollbar: {
|
|
16
|
+
el: null,
|
|
17
|
+
dragSize: "auto",
|
|
18
|
+
hide: !1,
|
|
19
|
+
draggable: !1,
|
|
20
|
+
snapOnRelease: !0,
|
|
21
|
+
lockClass: "swiper-scrollbar-lock",
|
|
22
|
+
dragClass: "swiper-scrollbar-drag",
|
|
23
|
+
scrollbarDisabledClass: "swiper-scrollbar-disabled",
|
|
24
|
+
horizontalClass: "swiper-scrollbar-horizontal",
|
|
25
|
+
verticalClass: "swiper-scrollbar-vertical"
|
|
27
26
|
}
|
|
28
|
-
}),
|
|
29
|
-
|
|
27
|
+
}), s.scrollbar = {
|
|
28
|
+
el: null,
|
|
29
|
+
dragEl: null
|
|
30
30
|
};
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
const
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
e =
|
|
42
|
-
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
function
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
e =
|
|
57
|
-
a.setAttribute("aria-roledescription", t);
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
function O(e, t) {
|
|
61
|
-
e = n(e), e.forEach((a) => {
|
|
62
|
-
a.setAttribute("aria-controls", t);
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
function E(e, t) {
|
|
66
|
-
e = n(e), e.forEach((a) => {
|
|
67
|
-
a.setAttribute("aria-label", t);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
function H(e, t) {
|
|
71
|
-
e = n(e), e.forEach((a) => {
|
|
72
|
-
a.setAttribute("id", t);
|
|
73
|
-
});
|
|
31
|
+
function m() {
|
|
32
|
+
if (!s.params.scrollbar.el || !s.scrollbar.el) return;
|
|
33
|
+
const {
|
|
34
|
+
scrollbar: l,
|
|
35
|
+
rtlTranslate: e
|
|
36
|
+
} = s, {
|
|
37
|
+
dragEl: a,
|
|
38
|
+
el: r
|
|
39
|
+
} = l, t = s.params.scrollbar, n = s.params.loop ? s.progressLoop : s.progress;
|
|
40
|
+
let p = i, o = (c - i) * n;
|
|
41
|
+
e ? (o = -o, o > 0 ? (p = i - o, o = 0) : -o + i > c && (p = c + o)) : o < 0 ? (p = i + o, o = 0) : o + i > c && (p = c - o), s.isHorizontal() ? (a.style.transform = `translate3d(${o}px, 0, 0)`, a.style.width = `${p}px`) : (a.style.transform = `translate3d(0px, ${o}px, 0)`, a.style.height = `${p}px`), t.hide && (clearTimeout(E), r.style.opacity = 1, E = setTimeout(() => {
|
|
42
|
+
r.style.opacity = 0, r.style.transitionDuration = "400ms";
|
|
43
|
+
}, 1e3));
|
|
44
|
+
}
|
|
45
|
+
function H(l) {
|
|
46
|
+
!s.params.scrollbar.el || !s.scrollbar.el || (s.scrollbar.dragEl.style.transitionDuration = `${l}ms`);
|
|
47
|
+
}
|
|
48
|
+
function u() {
|
|
49
|
+
if (!s.params.scrollbar.el || !s.scrollbar.el) return;
|
|
50
|
+
const {
|
|
51
|
+
scrollbar: l
|
|
52
|
+
} = s, {
|
|
53
|
+
dragEl: e,
|
|
54
|
+
el: a
|
|
55
|
+
} = l;
|
|
56
|
+
e.style.width = "", e.style.height = "", c = s.isHorizontal() ? a.offsetWidth : a.offsetHeight, D = s.size / (s.virtualSize + s.params.slidesOffsetBefore - (s.params.centeredSlides ? s.snapGrid[0] : 0)), s.params.scrollbar.dragSize === "auto" ? i = c * D : i = parseInt(s.params.scrollbar.dragSize, 10), s.isHorizontal() ? e.style.width = `${i}px` : e.style.height = `${i}px`, D >= 1 ? a.style.display = "none" : a.style.display = "", s.params.scrollbar.hide && (a.style.opacity = 0), s.params.watchOverflow && s.enabled && l.el.classList[s.isLocked ? "add" : "remove"](s.params.scrollbar.lockClass);
|
|
74
57
|
}
|
|
75
|
-
function
|
|
76
|
-
|
|
77
|
-
a.setAttribute("aria-live", t);
|
|
78
|
-
});
|
|
58
|
+
function w(l) {
|
|
59
|
+
return s.isHorizontal() ? l.clientX : l.clientY;
|
|
79
60
|
}
|
|
80
|
-
function
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
61
|
+
function T(l) {
|
|
62
|
+
const {
|
|
63
|
+
scrollbar: e,
|
|
64
|
+
rtlTranslate: a
|
|
65
|
+
} = s, {
|
|
66
|
+
el: r
|
|
67
|
+
} = e;
|
|
68
|
+
let t;
|
|
69
|
+
t = (w(l) - N(r)[s.isHorizontal() ? "left" : "top"] - (h !== null ? h : i / 2)) / (c - i), t = Math.max(Math.min(t, 1), 0), a && (t = 1 - t);
|
|
70
|
+
const n = s.minTranslate() + (s.maxTranslate() - s.minTranslate()) * t;
|
|
71
|
+
s.updateProgress(n), s.setTranslate(n), s.updateActiveIndex(), s.updateSlidesClasses();
|
|
72
|
+
}
|
|
73
|
+
function P(l) {
|
|
74
|
+
const e = s.params.scrollbar, {
|
|
75
|
+
scrollbar: a,
|
|
76
|
+
wrapperEl: r
|
|
77
|
+
} = s, {
|
|
78
|
+
el: t,
|
|
79
|
+
dragEl: n
|
|
80
|
+
} = a;
|
|
81
|
+
b = !0, h = l.target === n ? w(l) - l.target.getBoundingClientRect()[s.isHorizontal() ? "left" : "top"] : null, l.preventDefault(), l.stopPropagation(), r.style.transitionDuration = "100ms", n.style.transitionDuration = "100ms", T(l), clearTimeout(v), t.style.transitionDuration = "0ms", e.hide && (t.style.opacity = 1), s.params.cssMode && (s.wrapperEl.style["scroll-snap-type"] = "none"), g("scrollbarDragStart", l);
|
|
82
|
+
}
|
|
83
|
+
function M(l) {
|
|
84
|
+
const {
|
|
85
|
+
scrollbar: e,
|
|
86
|
+
wrapperEl: a
|
|
87
|
+
} = s, {
|
|
88
|
+
el: r,
|
|
89
|
+
dragEl: t
|
|
90
|
+
} = e;
|
|
91
|
+
b && (l.preventDefault && l.cancelable ? l.preventDefault() : l.returnValue = !1, T(l), a.style.transitionDuration = "0ms", r.style.transitionDuration = "0ms", t.style.transitionDuration = "0ms", g("scrollbarDragMove", l));
|
|
92
|
+
}
|
|
93
|
+
function O(l) {
|
|
94
|
+
const e = s.params.scrollbar, {
|
|
95
|
+
scrollbar: a,
|
|
96
|
+
wrapperEl: r
|
|
97
|
+
} = s, {
|
|
98
|
+
el: t
|
|
99
|
+
} = a;
|
|
100
|
+
b && (b = !1, s.params.cssMode && (s.wrapperEl.style["scroll-snap-type"] = "", r.style.transitionDuration = ""), e.hide && (clearTimeout(v), v = B(() => {
|
|
101
|
+
t.style.opacity = 0, t.style.transitionDuration = "400ms";
|
|
102
|
+
}, 1e3)), g("scrollbarDragEnd", l), e.snapOnRelease && s.slideToClosest());
|
|
103
|
+
}
|
|
104
|
+
function S(l) {
|
|
105
|
+
const {
|
|
106
|
+
scrollbar: e,
|
|
107
|
+
params: a
|
|
108
|
+
} = s, r = e.el;
|
|
109
|
+
if (!r) return;
|
|
110
|
+
const t = r, n = a.passiveListeners ? {
|
|
111
|
+
passive: !1,
|
|
112
|
+
capture: !1
|
|
113
|
+
} : !1, p = a.passiveListeners ? {
|
|
114
|
+
passive: !0,
|
|
115
|
+
capture: !1
|
|
116
|
+
} : !1;
|
|
117
|
+
if (!t) return;
|
|
118
|
+
const o = l === "on" ? "addEventListener" : "removeEventListener";
|
|
119
|
+
t[o]("pointerdown", P, n), y[o]("pointermove", M, n), y[o]("pointerup", O, p);
|
|
84
120
|
}
|
|
85
|
-
function
|
|
86
|
-
|
|
87
|
-
t.setAttribute("aria-disabled", !1);
|
|
88
|
-
});
|
|
121
|
+
function $() {
|
|
122
|
+
!s.params.scrollbar.el || !s.scrollbar.el || S("on");
|
|
89
123
|
}
|
|
90
|
-
function
|
|
91
|
-
|
|
92
|
-
const t = i.params.a11y, a = e.target;
|
|
93
|
-
if (!(i.pagination && i.pagination.el && (a === i.pagination.el || i.pagination.el.contains(e.target)) && !e.target.matches(y(i.params.pagination.bulletClass)))) {
|
|
94
|
-
if (i.navigation && i.navigation.prevEl && i.navigation.nextEl) {
|
|
95
|
-
const s = n(i.navigation.prevEl);
|
|
96
|
-
n(i.navigation.nextEl).includes(a) && (i.isEnd && !i.params.loop || i.slideNext(), i.isEnd ? u(t.lastSlideMessage) : u(t.nextSlideMessage)), s.includes(a) && (i.isBeginning && !i.params.loop || i.slidePrev(), i.isBeginning ? u(t.firstSlideMessage) : u(t.prevSlideMessage));
|
|
97
|
-
}
|
|
98
|
-
i.pagination && a.matches(y(i.params.pagination.bulletClass)) && a.click();
|
|
99
|
-
}
|
|
124
|
+
function q() {
|
|
125
|
+
!s.params.scrollbar.el || !s.scrollbar.el || S("off");
|
|
100
126
|
}
|
|
101
|
-
function
|
|
102
|
-
if (i.params.loop || i.params.rewind || !i.navigation) return;
|
|
127
|
+
function z() {
|
|
103
128
|
const {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} =
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
129
|
+
scrollbar: l,
|
|
130
|
+
el: e
|
|
131
|
+
} = s;
|
|
132
|
+
s.params.scrollbar = G(s, s.originalParams.scrollbar, s.params.scrollbar, {
|
|
133
|
+
el: "swiper-scrollbar"
|
|
134
|
+
});
|
|
135
|
+
const a = s.params.scrollbar;
|
|
136
|
+
if (!a.el) return;
|
|
137
|
+
let r;
|
|
138
|
+
if (typeof a.el == "string" && s.isElement && (r = s.el.querySelector(a.el)), !r && typeof a.el == "string") {
|
|
139
|
+
if (r = y.querySelectorAll(a.el), !r.length) return;
|
|
140
|
+
} else r || (r = a.el);
|
|
141
|
+
s.params.uniqueNavElements && typeof a.el == "string" && r.length > 1 && e.querySelectorAll(a.el).length === 1 && (r = e.querySelector(a.el)), r.length > 0 && (r = r[0]), r.classList.add(s.isHorizontal() ? a.horizontalClass : a.verticalClass);
|
|
142
|
+
let t;
|
|
143
|
+
r && (t = r.querySelector(U(s.params.scrollbar.dragClass)), t || (t = j("div", s.params.scrollbar.dragClass), r.append(t))), Object.assign(l, {
|
|
144
|
+
el: r,
|
|
145
|
+
dragEl: t
|
|
146
|
+
}), a.draggable && $(), r && r.classList[s.enabled ? "remove" : "add"](...d(s.params.scrollbar.lockClass));
|
|
111
147
|
}
|
|
112
148
|
function C() {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
function U() {
|
|
116
|
-
const e = i.params.a11y;
|
|
117
|
-
k() && i.pagination.bullets.forEach((t) => {
|
|
118
|
-
i.params.pagination.clickable && (g(t), i.params.pagination.renderBullet || (m(t, "button"), E(t, e.paginationBulletMessage.replace(/\{\{index\}\}/, j(t) + 1)))), t.matches(y(i.params.pagination.bulletActiveClass)) ? t.setAttribute("aria-current", "true") : t.removeAttribute("aria-current");
|
|
119
|
-
});
|
|
149
|
+
const l = s.params.scrollbar, e = s.scrollbar.el;
|
|
150
|
+
e && e.classList.remove(...d(s.isHorizontal() ? l.horizontalClass : l.verticalClass)), q();
|
|
120
151
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
f && f !== e.target && !f.contains(e.target) && (p = !0), i.a11y.clicked = !0;
|
|
125
|
-
}, T = () => {
|
|
126
|
-
p = !1, requestAnimationFrame(() => {
|
|
127
|
-
requestAnimationFrame(() => {
|
|
128
|
-
i.destroyed || (i.a11y.clicked = !1);
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
}, D = (e) => {
|
|
132
|
-
L = (/* @__PURE__ */ new Date()).getTime();
|
|
133
|
-
}, h = (e) => {
|
|
134
|
-
if (i.a11y.clicked || !i.params.a11y.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - L < 100) return;
|
|
135
|
-
const t = e.target.closest(`.${i.params.slideClass}, swiper-slide`);
|
|
136
|
-
if (!t || !i.slides.includes(t)) return;
|
|
137
|
-
f = t;
|
|
138
|
-
const a = i.slides.indexOf(t) === i.activeIndex, s = i.params.watchSlidesProgress && i.visibleSlides && i.visibleSlides.includes(t);
|
|
139
|
-
a || s || e.sourceCapabilities && e.sourceCapabilities.firesTouchEvents || (i.isHorizontal() ? i.el.scrollLeft = 0 : i.el.scrollTop = 0, requestAnimationFrame(() => {
|
|
140
|
-
p || (i.params.loop ? i.slideToLoop(parseInt(t.getAttribute("data-swiper-slide-index")), 0) : i.slideTo(i.slides.indexOf(t), 0), p = !1);
|
|
141
|
-
}));
|
|
142
|
-
}, I = () => {
|
|
143
|
-
const e = i.params.a11y;
|
|
144
|
-
e.itemRoleDescriptionMessage && M(i.slides, e.itemRoleDescriptionMessage), e.slideRole && m(i.slides, e.slideRole);
|
|
145
|
-
const t = i.slides.length;
|
|
146
|
-
e.slideLabelMessage && i.slides.forEach((a, s) => {
|
|
147
|
-
const l = i.params.loop ? parseInt(a.getAttribute("data-swiper-slide-index"), 10) : s, c = e.slideLabelMessage.replace(/\{\{index\}\}/, l + 1).replace(/\{\{slidesLength\}\}/, t);
|
|
148
|
-
E(a, c);
|
|
149
|
-
});
|
|
150
|
-
}, V = () => {
|
|
151
|
-
const e = i.params.a11y;
|
|
152
|
-
i.el.append(r);
|
|
153
|
-
const t = i.el;
|
|
154
|
-
e.containerRoleDescriptionMessage && M(t, e.containerRoleDescriptionMessage), e.containerMessage && E(t, e.containerMessage), e.containerRole && m(t, e.containerRole);
|
|
155
|
-
const a = i.wrapperEl, s = e.id || a.getAttribute("id") || `swiper-wrapper-${B(16)}`, l = i.params.autoplay && i.params.autoplay.enabled ? "off" : "polite";
|
|
156
|
-
H(a, s), q(a, l), I();
|
|
152
|
+
f("changeDirection", () => {
|
|
153
|
+
if (!s.scrollbar || !s.scrollbar.el) return;
|
|
154
|
+
const l = s.params.scrollbar;
|
|
157
155
|
let {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
156
|
+
el: e
|
|
157
|
+
} = s.scrollbar;
|
|
158
|
+
e = I(e), e.forEach((a) => {
|
|
159
|
+
a.classList.remove(l.horizontalClass, l.verticalClass), a.classList.add(s.isHorizontal() ? l.horizontalClass : l.verticalClass);
|
|
160
|
+
});
|
|
161
|
+
}), f("init", () => {
|
|
162
|
+
s.params.scrollbar.enabled === !1 ? L() : (z(), u(), m());
|
|
163
|
+
}), f("update resize observerUpdate lock unlock changeDirection", () => {
|
|
164
|
+
u();
|
|
165
|
+
}), f("setTranslate", () => {
|
|
166
|
+
m();
|
|
167
|
+
}), f("setTransition", (l, e) => {
|
|
168
|
+
H(e);
|
|
169
|
+
}), f("enable disable", () => {
|
|
170
|
+
const {
|
|
171
|
+
el: l
|
|
172
|
+
} = s.scrollbar;
|
|
173
|
+
l && l.classList[s.enabled ? "remove" : "add"](...d(s.params.scrollbar.lockClass));
|
|
174
|
+
}), f("destroy", () => {
|
|
175
|
+
C();
|
|
176
|
+
});
|
|
177
|
+
const A = () => {
|
|
178
|
+
s.el.classList.remove(...d(s.params.scrollbar.scrollbarDisabledClass)), s.scrollbar.el && s.scrollbar.el.classList.remove(...d(s.params.scrollbar.scrollbarDisabledClass)), z(), u(), m();
|
|
179
|
+
}, L = () => {
|
|
180
|
+
s.el.classList.add(...d(s.params.scrollbar.scrollbarDisabledClass)), s.scrollbar.el && s.scrollbar.el.classList.add(...d(s.params.scrollbar.scrollbarDisabledClass)), C();
|
|
164
181
|
};
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
l.removeEventListener("keydown", d);
|
|
173
|
-
}), F().removeEventListener("visibilitychange", D), i.el && typeof i.el != "string" && (i.el.removeEventListener("focus", h, !0), i.el.removeEventListener("pointerdown", R, !0), i.el.removeEventListener("pointerup", T, !0));
|
|
174
|
-
}
|
|
175
|
-
o("beforeInit", () => {
|
|
176
|
-
r = K("span", i.params.a11y.notificationClass), r.setAttribute("aria-live", "assertive"), r.setAttribute("aria-atomic", "true");
|
|
177
|
-
}), o("afterInit", () => {
|
|
178
|
-
i.params.a11y.enabled && V();
|
|
179
|
-
}), o("slidesLengthChange snapGridLengthChange slidesGridLengthChange", () => {
|
|
180
|
-
i.params.a11y.enabled && I();
|
|
181
|
-
}), o("fromEdge toEdge afterInit lock unlock", () => {
|
|
182
|
-
i.params.a11y.enabled && G();
|
|
183
|
-
}), o("paginationUpdate", () => {
|
|
184
|
-
i.params.a11y.enabled && U();
|
|
185
|
-
}), o("destroy", () => {
|
|
186
|
-
i.params.a11y.enabled && $();
|
|
182
|
+
Object.assign(s.scrollbar, {
|
|
183
|
+
enable: A,
|
|
184
|
+
disable: L,
|
|
185
|
+
updateSize: u,
|
|
186
|
+
setTranslate: m,
|
|
187
|
+
init: z,
|
|
188
|
+
destroy: C
|
|
187
189
|
});
|
|
188
190
|
}
|
|
189
191
|
export {
|
|
190
|
-
|
|
192
|
+
_ as default
|
|
191
193
|
};
|
package/index2.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const d=require("react"),p=require("./
|
|
2
|
+
"use strict";const d=require("react"),p=require("./index88.js"),h=require("./index119.js"),k=require("./index120.js"),i=require("./index121.js"),t=require("./index122.js"),m=require("./index123.js"),g=require("./index124.js"),o=require("./index125.js"),s=require("./index126.js"),q=require("./index127.js"),f=require("./index128.js"),$=require("./index129.js"),b=require("./index130.js"),w=require("./index131.js"),I=require("./index132.js"),u=require("./index133.js"),c=require("./index134.js"),l=require("./index135.js"),x=require("./index136.js"),n=require("./index137.js"),a=require("./index138.js"),B=require("./index139.js"),G=require("./index140.js"),M=require("./index141.js"),T=require("./index142.js"),y=require("./index143.js"),r=require("./index144.js"),L=require("./index118.js"),P=L.makeTheme({main:e=>i.main(e),gridItem:e=>i.gridItem(e),grid:e=>i.grid(e),container:e=>i.container(e),accordion:h.accordionTheme,carousel:g,calendar:m.calendarTheme,datePicker:f.datePickerTheme,popover:I,typography:e=>r(e),button:e=>t(e),link:t,sidePanel:{wrapper:e=>a.sidePanelWrapper(e),container:e=>a.sidePanelContainer(e),innerContainer:e=>a.sidePanelInnerContainer(e)},comboBox:q,lightBox:b,printButton:{icon:e=>u.printButtonIcon(e),button:e=>u.printButton(e)},shareButton:{icon:e=>n.shareButtonIcon(e),button:e=>n.shareButton(e),container:e=>n.shareButtonContainer(e),linksList:e=>n.shareButtonLinksList(e),link:e=>n.shareButtonLink(e),linkIcons:e=>n.shareButtonLinkIcons(e)},skipToMain:e=>B.skipToMain(e),checkbox:{container:e=>o.checkboxContainer(e),label:e=>o.checkboxLabel(e),checkBox:e=>o.checkBox(e),checkMark:e=>o.checkMark(e),checkMarkIcon:e=>o.checkMarkIcon(e),errorMessage:e=>r(e)},radio:{label:e=>c.radioLabel(e),radio:e=>c.radio(e),selectedMark:e=>c.selectedMark(e),errorMessage:e=>r(e)},radioGroup:{radioGroup:e=>l.radioGroup(e),radioGroupItemsGroup:e=>l.radioGroupItemsGroup(e),errorMessage:e=>r(e)},checkboxGroup:{checkboxGroup:e=>s.checkboxGroup(e),checkboxGroupItemsGroup:e=>s.checkboxGroupItemsGroup(e),errormessage:e=>r(e)},select:{button:e=>t(e),ul:e=>r({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>t({...e,className:"w-[var(--select-container-width)]"}),errorMessage:e=>r({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",list:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white",headerText:()=>"text-gray-300",section:()=>"flex flex-col gap-4"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>T.textArea(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},textInput:y,search:{wrapper:()=>"min-w-fit sm:w-80 flex flex-col gap-2",container:()=>"relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",label:()=>"text-gray-3",input:e=>x.searchInput(e),icon:e=>x.searchIcon(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},menu:{sidePanel:{wrapper:()=>"",container:()=>"",innerContainer:()=>""},wrapper:()=>""},menuItem:{wrapper:()=>"",container:()=>"",innerContent:()=>"",button:()=>"",anchor:()=>""},img:$.imgTheme,alerts:k,tagGroup:M,tabList:G,listBox:w}),v=d.memo(p.createThemeProvider(P));module.exports=v;
|
package/index2.mjs
CHANGED
|
@@ -1,95 +1,98 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import t from "react";
|
|
3
|
-
import { createThemeProvider as i } from "./
|
|
4
|
-
import { accordionTheme as
|
|
5
|
-
import
|
|
6
|
-
import { main as m, gridItem as
|
|
7
|
-
import
|
|
8
|
-
import { calendarTheme as l } from "./
|
|
9
|
-
import u from "./
|
|
10
|
-
import { checkboxContainer as f, checkboxLabel as h, checkBox as x, checkMark as d, checkMarkIcon as
|
|
11
|
-
import { checkboxGroup as
|
|
12
|
-
import
|
|
13
|
-
import { datePickerTheme as
|
|
14
|
-
import { imgTheme as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import M from "./
|
|
18
|
-
import { printButtonIcon as y, printButton as
|
|
19
|
-
import { radioLabel as
|
|
20
|
-
import { radioGroup as z, radioGroupItemsGroup as E } from "./
|
|
21
|
-
import { searchInput as N, searchIcon as _ } from "./
|
|
22
|
-
import { shareButtonIcon as
|
|
23
|
-
import { sidePanelWrapper as F, sidePanelContainer as H, sidePanelInnerContainer as J } from "./
|
|
24
|
-
import K from "./
|
|
25
|
-
import O from "./
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
|
|
3
|
+
import { createThemeProvider as i } from "./index88.mjs";
|
|
4
|
+
import { accordionTheme as n } from "./index119.mjs";
|
|
5
|
+
import a from "./index120.mjs";
|
|
6
|
+
import { main as m, gridItem as p, grid as c, container as s } from "./index121.mjs";
|
|
7
|
+
import r from "./index122.mjs";
|
|
8
|
+
import { calendarTheme as l } from "./index123.mjs";
|
|
9
|
+
import u from "./index124.mjs";
|
|
10
|
+
import { checkboxContainer as f, checkboxLabel as h, checkBox as x, checkMark as d, checkMarkIcon as k } from "./index125.mjs";
|
|
11
|
+
import { checkboxGroup as g, checkboxGroupItemsGroup as b } from "./index126.mjs";
|
|
12
|
+
import T from "./index127.mjs";
|
|
13
|
+
import { datePickerTheme as w } from "./index128.mjs";
|
|
14
|
+
import { imgTheme as B } from "./index129.mjs";
|
|
15
|
+
import I from "./index130.mjs";
|
|
16
|
+
import G from "./index131.mjs";
|
|
17
|
+
import M from "./index132.mjs";
|
|
18
|
+
import { printButtonIcon as y, printButton as L } from "./index133.mjs";
|
|
19
|
+
import { radioLabel as v, radio as P, selectedMark as C } from "./index134.mjs";
|
|
20
|
+
import { radioGroup as z, radioGroupItemsGroup as E } from "./index135.mjs";
|
|
21
|
+
import { searchInput as N, searchIcon as _ } from "./index136.mjs";
|
|
22
|
+
import { shareButtonIcon as A, shareButton as R, shareButtonContainer as W, shareButtonLinksList as j, shareButtonLink as q, shareButtonLinkIcons as D } from "./index137.mjs";
|
|
23
|
+
import { sidePanelWrapper as F, sidePanelContainer as H, sidePanelInnerContainer as J } from "./index138.mjs";
|
|
24
|
+
import { skipToMain as K } from "./index139.mjs";
|
|
25
|
+
import O from "./index140.mjs";
|
|
26
|
+
import Q from "./index141.mjs";
|
|
27
|
+
import { textArea as S } from "./index142.mjs";
|
|
28
|
+
import U from "./index143.mjs";
|
|
29
|
+
import o from "./index144.mjs";
|
|
30
|
+
import { makeTheme as V } from "./index118.mjs";
|
|
31
|
+
const X = V({
|
|
30
32
|
main: (e) => m(e),
|
|
31
|
-
gridItem: (e) =>
|
|
32
|
-
grid: (e) =>
|
|
33
|
+
gridItem: (e) => p(e),
|
|
34
|
+
grid: (e) => c(e),
|
|
33
35
|
container: (e) => s(e),
|
|
34
|
-
accordion:
|
|
36
|
+
accordion: n,
|
|
35
37
|
carousel: u,
|
|
36
38
|
calendar: l,
|
|
37
|
-
datePicker:
|
|
39
|
+
datePicker: w,
|
|
38
40
|
popover: M,
|
|
39
|
-
typography: (e) =>
|
|
40
|
-
button: (e) =>
|
|
41
|
-
link:
|
|
41
|
+
typography: (e) => o(e),
|
|
42
|
+
button: (e) => r(e),
|
|
43
|
+
link: r,
|
|
42
44
|
sidePanel: {
|
|
43
45
|
wrapper: (e) => F(e),
|
|
44
46
|
container: (e) => H(e),
|
|
45
47
|
innerContainer: (e) => J(e)
|
|
46
48
|
},
|
|
47
|
-
comboBox:
|
|
48
|
-
lightBox:
|
|
49
|
+
comboBox: T,
|
|
50
|
+
lightBox: I,
|
|
49
51
|
printButton: {
|
|
50
52
|
icon: (e) => y(e),
|
|
51
|
-
button: (e) =>
|
|
53
|
+
button: (e) => L(e)
|
|
52
54
|
},
|
|
53
55
|
shareButton: {
|
|
54
|
-
icon: (e) =>
|
|
55
|
-
button: (e) =>
|
|
56
|
-
container: (e) =>
|
|
57
|
-
linksList: (e) =>
|
|
58
|
-
link: (e) =>
|
|
56
|
+
icon: (e) => A(e),
|
|
57
|
+
button: (e) => R(e),
|
|
58
|
+
container: (e) => W(e),
|
|
59
|
+
linksList: (e) => j(e),
|
|
60
|
+
link: (e) => q(e),
|
|
59
61
|
linkIcons: (e) => D(e)
|
|
60
62
|
},
|
|
63
|
+
skipToMain: (e) => K(e),
|
|
61
64
|
checkbox: {
|
|
62
65
|
container: (e) => f(e),
|
|
63
66
|
label: (e) => h(e),
|
|
64
67
|
checkBox: (e) => x(e),
|
|
65
68
|
checkMark: (e) => d(e),
|
|
66
|
-
checkMarkIcon: (e) =>
|
|
67
|
-
errorMessage: (e) =>
|
|
69
|
+
checkMarkIcon: (e) => k(e),
|
|
70
|
+
errorMessage: (e) => o(e)
|
|
68
71
|
},
|
|
69
72
|
radio: {
|
|
70
|
-
label: (e) =>
|
|
73
|
+
label: (e) => v(e),
|
|
71
74
|
radio: (e) => P(e),
|
|
72
75
|
selectedMark: (e) => C(e),
|
|
73
|
-
errorMessage: (e) =>
|
|
76
|
+
errorMessage: (e) => o(e)
|
|
74
77
|
},
|
|
75
78
|
radioGroup: {
|
|
76
79
|
radioGroup: (e) => z(e),
|
|
77
80
|
radioGroupItemsGroup: (e) => E(e),
|
|
78
|
-
errorMessage: (e) =>
|
|
81
|
+
errorMessage: (e) => o(e)
|
|
79
82
|
},
|
|
80
83
|
checkboxGroup: {
|
|
81
|
-
checkboxGroup: (e) =>
|
|
82
|
-
checkboxGroupItemsGroup: (e) =>
|
|
83
|
-
errormessage: (e) =>
|
|
84
|
+
checkboxGroup: (e) => g(e),
|
|
85
|
+
checkboxGroupItemsGroup: (e) => b(e),
|
|
86
|
+
errormessage: (e) => o(e)
|
|
84
87
|
},
|
|
85
88
|
select: {
|
|
86
|
-
button: (e) =>
|
|
87
|
-
ul: (e) =>
|
|
89
|
+
button: (e) => r(e),
|
|
90
|
+
ul: (e) => o({
|
|
88
91
|
...e,
|
|
89
92
|
className: "outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"
|
|
90
93
|
}),
|
|
91
|
-
popover: (e) =>
|
|
92
|
-
errorMessage: (e) =>
|
|
94
|
+
popover: (e) => r({ ...e, className: "w-[var(--select-container-width)]" }),
|
|
95
|
+
errorMessage: (e) => o({ ...e, size: "footnotes", isError: !0 }),
|
|
93
96
|
wrapper: () => "flex flex-col gap-4 relative",
|
|
94
97
|
container: () => "flex flex-col gap-4",
|
|
95
98
|
list: () => "flex flex-col gap-4",
|
|
@@ -101,23 +104,17 @@ const U = S({
|
|
|
101
104
|
wrapper: () => "flex flex-col",
|
|
102
105
|
container: () => "flex items-center gap-4",
|
|
103
106
|
label: () => "text-gray-3 px-6",
|
|
104
|
-
input: (e) =>
|
|
105
|
-
errorMessage: (e) =>
|
|
107
|
+
input: (e) => S(e),
|
|
108
|
+
errorMessage: (e) => o({ ...e, size: "footnotes", isError: !0 })
|
|
106
109
|
},
|
|
110
|
+
textInput: U,
|
|
107
111
|
search: {
|
|
108
112
|
wrapper: () => "min-w-fit sm:w-80 flex flex-col gap-2",
|
|
109
113
|
container: () => "relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",
|
|
110
114
|
label: () => "text-gray-3",
|
|
111
115
|
input: (e) => N(e),
|
|
112
116
|
icon: (e) => _(e),
|
|
113
|
-
errorMessage: (e) =>
|
|
114
|
-
},
|
|
115
|
-
textInput: {
|
|
116
|
-
wrapper: () => "group flex flex-col rounded-md px-4 py-1 mb-3 m-0.5 border-2 aria-disabled:pointer-events-none aria-disabled:opacity-30 focus-ring-black",
|
|
117
|
-
label: () => 'group-has-[:required]:after:content-["_*"] group-has-[:required]:after:text-red-500 text-xs',
|
|
118
|
-
container: () => "flex items-center gap-4",
|
|
119
|
-
input: () => "",
|
|
120
|
-
errorMessage: (e) => r({ ...e, className: "ml-0", size: "footnotes", isError: !0 })
|
|
117
|
+
errorMessage: (e) => o({ ...e, size: "footnotes", isError: !0 })
|
|
121
118
|
},
|
|
122
119
|
menu: {
|
|
123
120
|
sidePanel: {
|
|
@@ -134,12 +131,12 @@ const U = S({
|
|
|
134
131
|
button: () => "",
|
|
135
132
|
anchor: () => ""
|
|
136
133
|
},
|
|
137
|
-
img:
|
|
138
|
-
alerts:
|
|
139
|
-
tagGroup:
|
|
140
|
-
tabList:
|
|
141
|
-
listBox:
|
|
142
|
-
}),
|
|
134
|
+
img: B,
|
|
135
|
+
alerts: a,
|
|
136
|
+
tagGroup: Q,
|
|
137
|
+
tabList: O,
|
|
138
|
+
listBox: G
|
|
139
|
+
}), ye = t.memo(i(X));
|
|
143
140
|
export {
|
|
144
|
-
|
|
141
|
+
ye as default
|
|
145
142
|
};
|
package/index20.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
"use strict";const a=require("react/jsx-runtime"),
|
|
2
|
+
"use strict";const a=require("react/jsx-runtime"),i=require("./index6.js"),l=require("./index110.js"),r=e=>{const{themeName:t="carousel.pagination",tokens:n,customTheme:s}=e,{paginationBulletProps:o,isActive:u}=l.useCarouselPaginationBullet(e);return a.jsx(i.default,{customTheme:s,as:"button",...o,themeName:`${t}.bullet`,tokens:{...n,active:u}})};module.exports=r;
|
package/index20.mjs
CHANGED
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
p,
|
|
2
|
+
import { jsx as s } from "react/jsx-runtime";
|
|
3
|
+
import m from "./index6.mjs";
|
|
4
|
+
import { useCarouselPaginationBullet as u } from "./index110.mjs";
|
|
5
|
+
const p = (t) => {
|
|
6
|
+
const { themeName: e = "carousel.pagination", tokens: o, customTheme: n } = t, { paginationBulletProps: a, isActive: i } = u(t);
|
|
7
|
+
return /* @__PURE__ */ s(
|
|
8
|
+
m,
|
|
10
9
|
{
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/* @__PURE__ */ e(o, { themeName: `${t}.fraction.current`, tokens: r, children: c }),
|
|
17
|
-
n && /* @__PURE__ */ e(o, { themeName: `${t}.fraction.separator`, tokens: r, children: n }),
|
|
18
|
-
/* @__PURE__ */ e(o, { themeName: `${t}.fraction.total`, tokens: r, children: s })
|
|
19
|
-
]
|
|
10
|
+
customTheme: n,
|
|
11
|
+
as: "button",
|
|
12
|
+
...a,
|
|
13
|
+
themeName: `${e}.bullet`,
|
|
14
|
+
tokens: { ...o, active: i }
|
|
20
15
|
}
|
|
21
16
|
);
|
|
22
17
|
};
|
|
23
18
|
export {
|
|
24
|
-
|
|
19
|
+
p as default
|
|
25
20
|
};
|