@cupra/ui-react 2.0.0-canary.11 → 2.0.0-canary.110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -0
- package/dist/cjs/components/Accordion/Accordion.cjs +1 -0
- package/dist/cjs/components/Avatar/Avatar.cjs +1 -0
- package/dist/cjs/components/Badge/Badge.cjs +1 -0
- package/dist/cjs/components/BasicCard/BasicCard.cjs +1 -0
- package/dist/cjs/components/BasicCardHeader/BasicCardHeader.cjs +1 -0
- package/dist/cjs/components/BasicCardImage/BasicCardImage.cjs +1 -0
- package/dist/cjs/components/BasicCardSection/BasicCardSection.cjs +1 -0
- package/dist/cjs/components/Breadcrumbs/Breadcrumbs.cjs +1 -0
- package/dist/cjs/components/BreadcrumbsItem/BreadcrumbsItem.cjs +1 -0
- package/dist/cjs/components/Bullets/Bullets.cjs +1 -0
- package/dist/cjs/components/Button/Button.cjs +1 -0
- package/dist/cjs/components/Calendar/Calendar.cjs +1 -0
- package/dist/cjs/components/CarouselIndicator/CarouselIndicator.cjs +1 -0
- package/dist/cjs/components/Checkbox/Checkbox.cjs +1 -0
- package/dist/cjs/components/CheckboxGroup/CheckboxGroup.cjs +1 -0
- package/dist/cjs/components/Chip/Chip.cjs +1 -0
- package/dist/cjs/components/Chips/Chips.cjs +1 -0
- package/dist/cjs/components/Currency/Currency.cjs +1 -0
- package/dist/cjs/components/DatePicker/DatePicker.cjs +1 -0
- package/dist/cjs/components/Dialog/Dialog.cjs +1 -0
- package/dist/cjs/components/DialogBody/DialogBody.cjs +1 -0
- package/dist/cjs/components/DialogFooter/DialogFooter.cjs +1 -0
- package/dist/cjs/components/DialogFullscreen/DialogFullscreen.cjs +1 -0
- package/dist/cjs/components/DialogHeader/DialogHeader.cjs +1 -0
- package/dist/cjs/components/Divider/Divider.cjs +1 -0
- package/dist/cjs/components/Drawer/Drawer.cjs +1 -0
- package/dist/cjs/components/FavouriteAction/FavouriteAction.cjs +1 -0
- package/dist/cjs/components/Hyperlink/Hyperlink.cjs +1 -0
- package/dist/cjs/components/Icon/Icon.cjs +1 -0
- package/dist/cjs/components/IconButton/IconButton.cjs +1 -0
- package/dist/cjs/components/IconButtonGroup/IconButtonGroup.cjs +1 -0
- package/dist/cjs/components/InlineAlert/InlineAlert.cjs +1 -0
- package/dist/cjs/components/Input/Input.cjs +1 -0
- package/dist/cjs/components/InteractiveCard/InteractiveCard.cjs +1 -0
- package/dist/cjs/components/LinkButton/LinkButton.cjs +1 -0
- package/dist/cjs/components/List/List.cjs +1 -0
- package/dist/cjs/components/ListItem/ListItem.cjs +1 -0
- package/dist/cjs/components/Loader/Loader.cjs +1 -0
- package/dist/cjs/components/Logo/Logo.cjs +1 -0
- package/dist/cjs/components/MainTitle/MainTitle.cjs +1 -0
- package/dist/cjs/components/MapPin/MapPin.cjs +1 -0
- package/dist/cjs/components/MediaControl/MediaControl.cjs +1 -0
- package/dist/cjs/components/Modal/Modal.cjs +9 -0
- package/dist/cjs/components/NavigationControls/NavigationControls.cjs +1 -0
- package/dist/cjs/components/PasswordInput/PasswordInput.cjs +1 -0
- package/dist/cjs/components/PickerItem/PickerItem.cjs +1 -0
- package/dist/cjs/components/Radio/Radio.cjs +1 -0
- package/dist/cjs/components/RadioButton/RadioButton.cjs +1 -0
- package/dist/cjs/components/RadioButtonGroup/RadioButtonGroup.cjs +1 -0
- package/dist/cjs/components/Rating/Rating.cjs +1 -0
- package/dist/cjs/components/Search/Search.cjs +1 -0
- package/dist/cjs/components/SearchInput/SearchInput.cjs +1 -0
- package/dist/cjs/components/SecondaryNavigation/SecondaryNavigation.cjs +1 -0
- package/dist/cjs/components/SegmentedControl/SegmentedControl.cjs +1 -0
- package/dist/cjs/components/Select/Select.cjs +1 -0
- package/dist/cjs/components/Selection/Selection.cjs +1 -0
- package/dist/cjs/components/SidebarNavigation/SidebarNavigation.cjs +1 -0
- package/dist/cjs/components/Skeleton/Skeleton.cjs +1 -0
- package/dist/cjs/components/Slider/Slider.cjs +1 -0
- package/dist/cjs/components/StaticBox/StaticBox.cjs +1 -0
- package/dist/cjs/components/Stepper/Stepper.cjs +1 -0
- package/dist/cjs/components/Table/Table.cjs +1 -0
- package/dist/cjs/components/TableCell/TableCell.cjs +1 -0
- package/dist/cjs/components/TableRow/TableRow.cjs +1 -0
- package/dist/cjs/components/Tabs/Tabs.cjs +1 -0
- package/dist/cjs/components/Tag/Tag.cjs +1 -0
- package/dist/cjs/components/Text/Text.cjs +1 -0
- package/dist/cjs/components/TextInput/TextInput.cjs +1 -0
- package/dist/cjs/components/Textarea/Textarea.cjs +1 -0
- package/dist/cjs/components/ThemeProvider/ThemeProvider.cjs +1 -0
- package/dist/cjs/components/Toast/Toast.cjs +1 -0
- package/dist/cjs/components/ToastMessage/ToastMessage.cjs +1 -0
- package/dist/cjs/components/ToggleButton/ToggleButton.cjs +1 -0
- package/dist/cjs/components/ToggleSwitch/ToggleSwitch.cjs +1 -0
- package/dist/cjs/components/Tooltip/Tooltip.cjs +1 -0
- package/dist/cjs/components/ValueUnit/ValueUnit.cjs +1 -0
- package/dist/cjs/components/index.cjs +1 -0
- package/dist/cjs/hooks/index.cjs +1 -0
- package/dist/cjs/hooks/useBreakpoint.cjs +1 -0
- package/dist/cjs/hooks/useEventListeners.cjs +1 -0
- package/dist/cjs/hooks/useHandleEvent.cjs +1 -0
- package/dist/cjs/hooks/useLoadScript.cjs +1 -0
- package/dist/cjs/hooks/useResizeObserver/useResizeObserver.cjs +1 -0
- package/dist/cjs/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.cjs +70 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.cjs +1 -0
- package/dist/cjs/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.cjs +1 -0
- package/dist/esm/_virtual/_rolldown/runtime.js +13 -0
- package/dist/esm/components/Accordion/Accordion.js +16 -0
- package/dist/esm/components/Avatar/Avatar.js +20 -0
- package/dist/esm/components/Badge/Badge.js +11 -0
- package/dist/esm/components/BasicCard/BasicCard.js +20 -0
- package/dist/esm/components/BasicCardHeader/BasicCardHeader.js +27 -0
- package/dist/esm/components/BasicCardImage/BasicCardImage.js +13 -0
- package/dist/esm/components/BasicCardSection/BasicCardSection.js +13 -0
- package/dist/esm/components/Breadcrumbs/Breadcrumbs.js +13 -0
- package/dist/esm/components/BreadcrumbsItem/BreadcrumbsItem.js +18 -0
- package/dist/esm/components/Bullets/Bullets.js +9 -0
- package/dist/esm/components/Button/Button.js +17 -0
- package/dist/esm/components/Calendar/Calendar.js +15 -0
- package/dist/esm/components/CarouselIndicator/CarouselIndicator.js +12 -0
- package/dist/esm/components/Checkbox/Checkbox.js +15 -0
- package/dist/esm/components/CheckboxGroup/CheckboxGroup.js +15 -0
- package/dist/esm/components/Chip/Chip.js +13 -0
- package/dist/esm/components/Chips/Chips.js +16 -0
- package/dist/esm/components/Currency/Currency.js +12 -0
- package/dist/esm/components/DatePicker/DatePicker.js +30 -0
- package/dist/esm/components/Dialog/Dialog.js +17 -0
- package/dist/esm/components/DialogBody/DialogBody.js +13 -0
- package/dist/esm/components/DialogFooter/DialogFooter.js +13 -0
- package/dist/esm/components/DialogFullscreen/DialogFullscreen.js +17 -0
- package/dist/esm/components/DialogHeader/DialogHeader.js +13 -0
- package/dist/esm/components/Divider/Divider.js +11 -0
- package/dist/esm/components/Drawer/Drawer.js +29 -0
- package/dist/esm/components/FavouriteAction/FavouriteAction.js +21 -0
- package/dist/esm/components/Hyperlink/Hyperlink.js +15 -0
- package/dist/esm/components/Icon/Icon.js +13 -0
- package/dist/esm/components/IconButton/IconButton.js +16 -0
- package/dist/esm/components/IconButtonGroup/IconButtonGroup.js +13 -0
- package/dist/esm/components/InlineAlert/InlineAlert.js +16 -0
- package/dist/esm/components/Input/Input.js +20 -0
- package/dist/esm/components/InteractiveCard/InteractiveCard.js +39 -0
- package/dist/esm/components/LinkButton/LinkButton.js +15 -0
- package/dist/esm/components/List/List.js +12 -0
- package/dist/esm/components/ListItem/ListItem.js +17 -0
- package/dist/esm/components/Loader/Loader.js +32 -0
- package/dist/esm/components/Logo/Logo.js +12 -0
- package/dist/esm/components/MainTitle/MainTitle.js +30 -0
- package/dist/esm/components/MapPin/MapPin.js +14 -0
- package/dist/esm/components/MediaControl/MediaControl.js +18 -0
- package/dist/esm/components/Modal/Modal.js +54 -0
- package/dist/esm/components/NavigationControls/NavigationControls.js +13 -0
- package/dist/esm/components/PasswordInput/PasswordInput.js +32 -0
- package/dist/esm/components/PickerItem/PickerItem.js +16 -0
- package/dist/esm/components/Radio/Radio.js +22 -0
- package/dist/esm/components/RadioButton/RadioButton.js +15 -0
- package/dist/esm/components/RadioButtonGroup/RadioButtonGroup.js +15 -0
- package/dist/esm/components/Rating/Rating.js +12 -0
- package/dist/esm/components/Search/Search.js +13 -0
- package/dist/esm/components/SearchInput/SearchInput.js +31 -0
- package/dist/esm/components/SecondaryNavigation/SecondaryNavigation.js +25 -0
- package/dist/esm/components/SegmentedControl/SegmentedControl.js +16 -0
- package/dist/esm/components/Select/Select.js +9 -0
- package/dist/esm/components/Selection/Selection.js +12 -0
- package/dist/esm/components/SidebarNavigation/SidebarNavigation.js +29 -0
- package/dist/esm/components/Skeleton/Skeleton.js +11 -0
- package/dist/esm/components/Slider/Slider.js +16 -0
- package/dist/esm/components/StaticBox/StaticBox.js +17 -0
- package/dist/esm/components/Stepper/Stepper.js +9 -0
- package/dist/esm/components/Table/Table.js +13 -0
- package/dist/esm/components/TableCell/TableCell.js +13 -0
- package/dist/esm/components/TableRow/TableRow.js +13 -0
- package/dist/esm/components/Tabs/Tabs.js +30 -0
- package/dist/esm/components/Tag/Tag.js +16 -0
- package/dist/esm/components/Text/Text.js +13 -0
- package/dist/esm/components/TextInput/TextInput.js +34 -0
- package/dist/esm/components/Textarea/Textarea.js +36 -0
- package/dist/esm/components/ThemeProvider/ThemeProvider.js +9 -0
- package/dist/esm/components/Toast/Toast.js +15 -0
- package/dist/esm/components/ToastMessage/ToastMessage.js +16 -0
- package/dist/esm/components/ToggleButton/ToggleButton.js +14 -0
- package/dist/esm/components/ToggleSwitch/ToggleSwitch.js +31 -0
- package/dist/esm/components/Tooltip/Tooltip.js +27 -0
- package/dist/esm/components/ValueUnit/ValueUnit.js +19 -0
- package/dist/esm/components/index.js +76 -0
- package/dist/esm/hooks/index.js +5 -0
- package/dist/esm/hooks/useBreakpoint.js +43 -0
- package/dist/esm/hooks/useEventListeners.js +21 -0
- package/dist/esm/hooks/useHandleEvent.js +25 -0
- package/dist/esm/hooks/useLoadScript.js +1 -0
- package/dist/esm/hooks/useResizeObserver/useResizeObserver.js +14 -0
- package/dist/esm/index.js +83 -0
- package/dist/{node_modules → esm/node_modules}/.pnpm/@emotion_is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js +7 -10
- package/dist/esm/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +9 -0
- package/dist/esm/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +51 -0
- package/dist/esm/node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js +22 -0
- package/dist/esm/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +673 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +4 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +40 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +93 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +115 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +20 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +113 -0
- package/dist/esm/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +42 -0
- package/dist/esm/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +13 -0
- package/dist/types/components/Breadcrumbs/Breadcrumbs.d.ts +8 -0
- package/dist/types/components/BreadcrumbsItem/BreadcrumbsItem.d.ts +16 -0
- package/dist/types/components/Calendar/Calendar.d.ts +12 -0
- package/dist/types/components/CheckboxGroup/CheckboxGroup.d.ts +16 -0
- package/dist/types/components/DatePicker/DatePicker.d.ts +16 -0
- package/dist/types/components/FavouriteAction/FavouriteAction.d.ts +10 -0
- package/dist/types/components/IconButtonGroup/IconButtonGroup.d.ts +9 -0
- package/dist/types/components/InlineAlert/InlineAlert.d.ts +9 -0
- package/dist/types/components/List/List.d.ts +9 -0
- package/dist/types/components/ListItem/ListItem.d.ts +10 -0
- package/dist/{components → types/components}/MainTitle/MainTitle.d.ts +1 -1
- package/dist/types/components/NavigationControls/NavigationControls.d.ts +9 -0
- package/dist/types/components/Skeleton/Skeleton.d.ts +7 -0
- package/dist/{components → types/components}/Slider/Slider.d.ts +4 -0
- package/dist/types/components/Table/Table.d.ts +9 -0
- package/dist/types/components/TableCell/TableCell.d.ts +9 -0
- package/dist/types/components/TableRow/TableRow.d.ts +9 -0
- package/dist/{components → types/components}/Tag/Tag.d.ts +4 -5
- package/dist/{components → types/components}/Text/Text.d.ts +2 -2
- package/dist/{components → types/components}/TextInput/TextInput.d.ts +1 -0
- package/dist/{components → types/components}/Textarea/Textarea.d.ts +1 -0
- package/dist/types/components/ValueUnit/ValueUnit.d.ts +10 -0
- package/dist/{components → types/components}/index.d.ts +19 -0
- package/package.json +28 -23
- package/dist/components/Accordion/Accordion.js +0 -8
- package/dist/components/Accordion/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Avatar/Avatar.js +0 -12
- package/dist/components/Avatar/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Badge/Badge.js +0 -8
- package/dist/components/Badge/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/BasicCard/BasicCard.js +0 -15
- package/dist/components/BasicCard/stories/CupraDiagonal.stories.d.ts +0 -7
- package/dist/components/BasicCardHeader/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/BasicCardImage/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/BasicCardSection/BasicCardSection.js +0 -9
- package/dist/components/BasicCardSection/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Bullets/Bullets.js +0 -6
- package/dist/components/Button/Button.js +0 -21
- package/dist/components/Button/stories/CupraDiagonal.stories.d.ts +0 -19
- package/dist/components/CarouselIndicator/CarouselIndicator.js +0 -9
- package/dist/components/CarouselIndicator/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Checkbox/Checkbox.js +0 -12
- package/dist/components/Checkbox/stories/CupraDiagonal.stories.d.ts +0 -20
- package/dist/components/Chip/Chip.js +0 -9
- package/dist/components/Chip/stories/CupraDiagonal.stories.d.ts +0 -7
- package/dist/components/Chips/Chips.js +0 -14
- package/dist/components/Chips/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Currency/Currency.js +0 -9
- package/dist/components/Currency/stories/CupraDiagonal.stories.d.ts +0 -13
- package/dist/components/Dialog/Dialog.js +0 -15
- package/dist/components/Dialog/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/DialogBody/DialogBody.js +0 -9
- package/dist/components/DialogBody/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/DialogFooter/DialogFooter.js +0 -9
- package/dist/components/DialogFooter/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/DialogFullscreen/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/DialogHeader/DialogHeader.js +0 -9
- package/dist/components/DialogHeader/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Divider/Divider.js +0 -8
- package/dist/components/Divider/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Drawer/Drawer.js +0 -19
- package/dist/components/Drawer/stories/CupraDiagonal.stories.d.ts +0 -6
- package/dist/components/Hyperlink/Hyperlink.js +0 -12
- package/dist/components/Icon/Icon.js +0 -9
- package/dist/components/Icon/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/IconButton/IconButton.js +0 -20
- package/dist/components/IconButton/stories/CupraDiagonal.stories.d.ts +0 -13
- package/dist/components/Input/Input.js +0 -14
- package/dist/components/InteractiveCard/InteractiveCard.js +0 -27
- package/dist/components/InteractiveCard/stories/CupraDiagonal.stories.d.ts +0 -9
- package/dist/components/LinkButton/LinkButton.js +0 -12
- package/dist/components/LinkButton/stories/CupraDiagonal.stories.d.ts +0 -9
- package/dist/components/Loader/Loader.js +0 -27
- package/dist/components/Logo/Logo.js +0 -9
- package/dist/components/Logo/stories/CupraDiagonal.stories.d.ts +0 -10
- package/dist/components/MainTitle/MainTitle.js +0 -19
- package/dist/components/MainTitle/stories/CupraDiagonal.stories.d.ts +0 -9
- package/dist/components/MapPin/MapPin.js +0 -12
- package/dist/components/MapPin/stories/CupraDiagonal.stories.d.ts +0 -7
- package/dist/components/MediaControl/MediaControl.js +0 -12
- package/dist/components/MediaControl/stories/CupraDiagonal.stories.d.ts +0 -6
- package/dist/components/Modal/Modal.js +0 -51
- package/dist/components/PasswordInput/PasswordInput.js +0 -40
- package/dist/components/PasswordInput/stories/CupraDiagonal.stories.d.ts +0 -11
- package/dist/components/PickerItem/PickerItem.js +0 -21
- package/dist/components/PickerItem/stories/CupraDiagonal.stories.d.ts +0 -12
- package/dist/components/Radio/Radio.js +0 -15
- package/dist/components/RadioButton/RadioButton.js +0 -10
- package/dist/components/RadioButton/stories/CupraDiagonal.stories.d.ts +0 -12
- package/dist/components/RadioButtonGroup/RadioButtonGroup.js +0 -10
- package/dist/components/RadioButtonGroup/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Rating/Rating.js +0 -9
- package/dist/components/Rating/stories/CupraDiagonal.stories.d.ts +0 -10
- package/dist/components/Search/Search.js +0 -8
- package/dist/components/SearchInput/SearchInput.js +0 -47
- package/dist/components/SearchInput/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/SecondaryNavigation/SecondaryNavigation.js +0 -17
- package/dist/components/SecondaryNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/SegmentedControl/SegmentedControl.js +0 -12
- package/dist/components/SegmentedControl/stories/CupraDiagonal.stories.d.ts +0 -7
- package/dist/components/Select/Select.js +0 -6
- package/dist/components/Select/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Selection/Selection.js +0 -9
- package/dist/components/SidebarNavigation/SidebarNavigation.js +0 -15
- package/dist/components/SidebarNavigation/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Slider/Slider.js +0 -16
- package/dist/components/Slider/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/StaticBox/StaticBox.js +0 -21
- package/dist/components/StaticBox/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/Stepper/Stepper.js +0 -6
- package/dist/components/Stepper/stories/CupraDiagonal.stories.d.ts +0 -9
- package/dist/components/Tabs/Tabs.js +0 -20
- package/dist/components/Tabs/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Tag/Tag.js +0 -12
- package/dist/components/Tag/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Text/Text.js +0 -9
- package/dist/components/Text/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/components/TextInput/TextInput.js +0 -45
- package/dist/components/TextInput/stories/CupraDiagonal.stories.d.ts +0 -8
- package/dist/components/Textarea/Textarea.js +0 -58
- package/dist/components/Textarea/stories/CupraDiagonal.stories.d.ts +0 -11
- package/dist/components/ThemeProvider/ThemeProvider.js +0 -6
- package/dist/components/Toast/Toast.js +0 -16
- package/dist/components/Toast/stories/CupraDiagonal.stories.d.ts +0 -10
- package/dist/components/ToastMessage/ToastMessage.js +0 -14
- package/dist/components/ToastMessage/stories/CupraDiagonal.stories.d.ts +0 -12
- package/dist/components/ToggleButton/ToggleButton.js +0 -12
- package/dist/components/ToggleSwitch/ToggleSwitch.js +0 -23
- package/dist/components/ToggleSwitch/stories/CupraDiagonal.stories.d.ts +0 -10
- package/dist/components/Tooltip/Tooltip.js +0 -15
- package/dist/components/Tooltip/stories/CupraDiagonal.stories.d.ts +0 -5
- package/dist/hooks/useBreakpoint.js +0 -42
- package/dist/hooks/useEventListeners.js +0 -26
- package/dist/hooks/useHandleEvent.js +0 -25
- package/dist/hooks/useResizeObserver/useResizeObserver.js +0 -14
- package/dist/index.js +0 -126
- package/dist/node_modules/.pnpm/@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -9
- package/dist/node_modules/.pnpm/@emotion_unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -52
- package/dist/node_modules/.pnpm/styled-components@6.1.19_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/styled-components/dist/styled-components.browser.esm.js +0 -572
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Enum.js +0 -12
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Middleware.js +0 -49
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Parser.js +0 -131
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Prefixer.js +0 -187
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Serializer.js +0 -27
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Tokenizer.js +0 -147
- package/dist/node_modules/.pnpm/stylis@4.3.2/node_modules/stylis/src/Utility.js +0 -56
- package/dist/node_modules/.pnpm/tslib@2.6.2/node_modules/tslib/tslib.es6.js +0 -18
- /package/dist/{components → types/components}/Accordion/Accordion.d.ts +0 -0
- /package/dist/{components → types/components}/Avatar/Avatar.d.ts +0 -0
- /package/dist/{components → types/components}/Badge/Badge.d.ts +0 -0
- /package/dist/{components → types/components}/BasicCard/BasicCard.d.ts +0 -0
- /package/dist/{components → types/components}/BasicCardHeader/BasicCardHeader.d.ts +0 -0
- /package/dist/{components → types/components}/BasicCardImage/BasicCardImage.d.ts +0 -0
- /package/dist/{components → types/components}/BasicCardSection/BasicCardSection.d.ts +0 -0
- /package/dist/{components → types/components}/Bullets/Bullets.d.ts +0 -0
- /package/dist/{components → types/components}/Button/Button.d.ts +0 -0
- /package/dist/{components → types/components}/CarouselIndicator/CarouselIndicator.d.ts +0 -0
- /package/dist/{components → types/components}/Checkbox/Checkbox.d.ts +0 -0
- /package/dist/{components → types/components}/Chip/Chip.d.ts +0 -0
- /package/dist/{components → types/components}/Chips/Chips.d.ts +0 -0
- /package/dist/{components → types/components}/Currency/Currency.d.ts +0 -0
- /package/dist/{components → types/components}/Dialog/Dialog.d.ts +0 -0
- /package/dist/{components → types/components}/DialogBody/DialogBody.d.ts +0 -0
- /package/dist/{components → types/components}/DialogFooter/DialogFooter.d.ts +0 -0
- /package/dist/{components → types/components}/DialogFullscreen/DialogFullscreen.d.ts +0 -0
- /package/dist/{components → types/components}/DialogHeader/DialogHeader.d.ts +0 -0
- /package/dist/{components → types/components}/Divider/Divider.d.ts +0 -0
- /package/dist/{components → types/components}/Drawer/Drawer.d.ts +0 -0
- /package/dist/{components → types/components}/Hyperlink/Hyperlink.d.ts +0 -0
- /package/dist/{components → types/components}/Icon/Icon.d.ts +0 -0
- /package/dist/{components → types/components}/IconButton/IconButton.d.ts +0 -0
- /package/dist/{components → types/components}/Input/Input.d.ts +0 -0
- /package/dist/{components → types/components}/InteractiveCard/InteractiveCard.d.ts +0 -0
- /package/dist/{components → types/components}/LinkButton/LinkButton.d.ts +0 -0
- /package/dist/{components → types/components}/Loader/Loader.d.ts +0 -0
- /package/dist/{components → types/components}/Logo/Logo.d.ts +0 -0
- /package/dist/{components → types/components}/MapPin/MapPin.d.ts +0 -0
- /package/dist/{components → types/components}/MediaControl/MediaControl.d.ts +0 -0
- /package/dist/{components → types/components}/Modal/Modal.d.ts +0 -0
- /package/dist/{components → types/components}/PasswordInput/PasswordInput.d.ts +0 -0
- /package/dist/{components → types/components}/PickerItem/PickerItem.d.ts +0 -0
- /package/dist/{components → types/components}/Radio/Radio.d.ts +0 -0
- /package/dist/{components → types/components}/RadioButton/RadioButton.d.ts +0 -0
- /package/dist/{components → types/components}/RadioButtonGroup/RadioButtonGroup.d.ts +0 -0
- /package/dist/{components → types/components}/Rating/Rating.d.ts +0 -0
- /package/dist/{components → types/components}/Search/Search.d.ts +0 -0
- /package/dist/{components → types/components}/SearchInput/SearchInput.d.ts +0 -0
- /package/dist/{components → types/components}/SecondaryNavigation/SecondaryNavigation.d.ts +0 -0
- /package/dist/{components → types/components}/SegmentedControl/SegmentedControl.d.ts +0 -0
- /package/dist/{components → types/components}/Select/Select.d.ts +0 -0
- /package/dist/{components → types/components}/Selection/Selection.d.ts +0 -0
- /package/dist/{components → types/components}/SidebarNavigation/SidebarNavigation.d.ts +0 -0
- /package/dist/{components → types/components}/StaticBox/StaticBox.d.ts +0 -0
- /package/dist/{components → types/components}/Stepper/Stepper.d.ts +0 -0
- /package/dist/{components → types/components}/Tabs/Tabs.d.ts +0 -0
- /package/dist/{components → types/components}/ThemeProvider/ThemeProvider.d.ts +0 -0
- /package/dist/{components → types/components}/Toast/Toast.d.ts +0 -0
- /package/dist/{components → types/components}/ToastMessage/ToastMessage.d.ts +0 -0
- /package/dist/{components → types/components}/ToggleButton/ToggleButton.d.ts +0 -0
- /package/dist/{components → types/components}/ToggleSwitch/ToggleSwitch.d.ts +0 -0
- /package/dist/{components → types/components}/Tooltip/Tooltip.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/index.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useBreakpoint.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useEventListeners.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useHandleEvent.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useLoadScript.d.ts +0 -0
- /package/dist/{hooks → types/hooks}/useResizeObserver/useResizeObserver.d.ts +0 -0
- /package/dist/{index.d.ts → types/index.d.ts} +0 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
+
import "../../hooks/index.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import "@cupra/ui-kit/react/ds-text-input";
|
|
5
|
+
//#region src/components/TextInput/TextInput.tsx
|
|
6
|
+
function r(r) {
|
|
7
|
+
let { className: i, children: a, onChange: o, onInput: s, onKeyDown: c, inputId: l, placeHolder: u, type: d, value: f, label: p, required: m, disabled: h, readOnly: g, pattern: _, maxLength: v, minLength: y, ...b } = r, { ref: x } = e({
|
|
8
|
+
change: o,
|
|
9
|
+
input: s,
|
|
10
|
+
keydown: c
|
|
11
|
+
});
|
|
12
|
+
return /* @__PURE__ */ n("ds-text-input-react", {
|
|
13
|
+
ref: x,
|
|
14
|
+
class: i,
|
|
15
|
+
...b,
|
|
16
|
+
children: [/* @__PURE__ */ t("label", {
|
|
17
|
+
htmlFor: l,
|
|
18
|
+
children: p
|
|
19
|
+
}), /* @__PURE__ */ t("input", {
|
|
20
|
+
id: l,
|
|
21
|
+
type: d || "text",
|
|
22
|
+
placeholder: u,
|
|
23
|
+
value: f,
|
|
24
|
+
required: m,
|
|
25
|
+
disabled: h,
|
|
26
|
+
readOnly: g,
|
|
27
|
+
minLength: y,
|
|
28
|
+
maxLength: v,
|
|
29
|
+
pattern: _
|
|
30
|
+
})]
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
export { r as TextInput };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
+
import "../../hooks/index.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import "@cupra/ui-kit/react/ds-textarea";
|
|
5
|
+
//#region src/components/Textarea/Textarea.tsx
|
|
6
|
+
function r(r) {
|
|
7
|
+
let { className: i, children: a, onChange: o, onInput: s, textareaId: c, placeholder: l, value: u, label: d, required: f, disabled: p, readOnly: m, minLength: h, maxLength: g, rows: _, cols: v, forcedError: y, helperText: b, invalidError: x, ...S } = r, { ref: C } = e({
|
|
8
|
+
change: o,
|
|
9
|
+
input: s
|
|
10
|
+
});
|
|
11
|
+
return /* @__PURE__ */ n("ds-textarea-react", {
|
|
12
|
+
ref: C,
|
|
13
|
+
class: i,
|
|
14
|
+
"forced-error": y,
|
|
15
|
+
"helper-text": b,
|
|
16
|
+
"invalid-error": x,
|
|
17
|
+
...S,
|
|
18
|
+
children: [/* @__PURE__ */ t("label", {
|
|
19
|
+
htmlFor: c,
|
|
20
|
+
children: d
|
|
21
|
+
}), /* @__PURE__ */ t("textarea", {
|
|
22
|
+
id: c,
|
|
23
|
+
placeholder: l,
|
|
24
|
+
value: u,
|
|
25
|
+
required: f,
|
|
26
|
+
disabled: p,
|
|
27
|
+
readOnly: m,
|
|
28
|
+
minLength: h,
|
|
29
|
+
maxLength: g,
|
|
30
|
+
rows: _,
|
|
31
|
+
cols: v
|
|
32
|
+
})]
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { r as Textarea };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "@cupra/ui-kit/react/ds-theme-provider";
|
|
3
|
+
//#region src/components/ThemeProvider/ThemeProvider.tsx
|
|
4
|
+
var t = ({ children: t, ...n }) => /* @__PURE__ */ e("ds-theme-provider-react", {
|
|
5
|
+
...n,
|
|
6
|
+
children: t
|
|
7
|
+
});
|
|
8
|
+
//#endregion
|
|
9
|
+
export { t as ThemeProvider };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import "@cupra/ui-kit/react/ds-toast";
|
|
3
|
+
//#region src/components/Toast/Toast.tsx
|
|
4
|
+
function t(t) {
|
|
5
|
+
let { className: n, ...r } = t;
|
|
6
|
+
return /* @__PURE__ */ e("ds-toast-react", {
|
|
7
|
+
class: n,
|
|
8
|
+
...r
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
t.add = (e) => {
|
|
12
|
+
window.dispatchEvent(new CustomEvent("toast:add", { detail: e }));
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { t as Toast };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
+
import "../../hooks/index.js";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
import "@cupra/ui-kit/react/ds-toast-message";
|
|
5
|
+
//#region src/components/ToastMessage/ToastMessage.tsx
|
|
6
|
+
function n(n) {
|
|
7
|
+
let { className: r, children: i, onClose: a, ...o } = n, { ref: s } = e({ "toast:remove": a });
|
|
8
|
+
return /* @__PURE__ */ t("ds-toast-message-react", {
|
|
9
|
+
ref: s,
|
|
10
|
+
class: r,
|
|
11
|
+
...o,
|
|
12
|
+
children: i
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { n as ToastMessage };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
+
import "../../hooks/index.js";
|
|
3
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
4
|
+
import "@cupra/ui-kit/react/ds-toggle-button";
|
|
5
|
+
//#region src/components/ToggleButton/ToggleButton.tsx
|
|
6
|
+
function n({ onChange: n, ...r }) {
|
|
7
|
+
let { ref: i } = e({ change: n });
|
|
8
|
+
return /* @__PURE__ */ t("ds-toggle-button-react", {
|
|
9
|
+
ref: i,
|
|
10
|
+
...r
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { n as ToggleButton };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { useHandleEvent as e } from "../../hooks/useHandleEvent.js";
|
|
2
|
+
import "../../hooks/index.js";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
import "@cupra/ui-kit/react/ds-toggle-switch";
|
|
5
|
+
//#region src/components/ToggleSwitch/ToggleSwitch.tsx
|
|
6
|
+
function r({ label: r, onChange: i, ...a }) {
|
|
7
|
+
let { ref: o } = e({ change: i });
|
|
8
|
+
return /* @__PURE__ */ n("ds-toggle-switch-react", {
|
|
9
|
+
ref: o,
|
|
10
|
+
...a,
|
|
11
|
+
children: [r && /* @__PURE__ */ t("div", {
|
|
12
|
+
slot: "label",
|
|
13
|
+
children: r
|
|
14
|
+
}), a.children]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
function i({ children: e }) {
|
|
18
|
+
return /* @__PURE__ */ t("div", {
|
|
19
|
+
slot: "off",
|
|
20
|
+
children: e
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
function a({ children: e }) {
|
|
24
|
+
return /* @__PURE__ */ t("div", {
|
|
25
|
+
slot: "on",
|
|
26
|
+
children: e
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
r.Off = i, r.On = a;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { r as ToggleSwitch };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { IconButton as e } from "../IconButton/IconButton.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import "@cupra/ui-kit/react/ds-tooltip";
|
|
4
|
+
//#region src/components/Tooltip/Tooltip.tsx
|
|
5
|
+
var n = ({ children: e, ...n }) => /* @__PURE__ */ t("ds-tooltip-react", {
|
|
6
|
+
...n,
|
|
7
|
+
children: e
|
|
8
|
+
}), r = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
|
|
9
|
+
slot: "header",
|
|
10
|
+
...n,
|
|
11
|
+
children: e
|
|
12
|
+
}), i = (n) => /* @__PURE__ */ t(e, {
|
|
13
|
+
slot: "close-button",
|
|
14
|
+
"icon-name": "cross",
|
|
15
|
+
...n
|
|
16
|
+
}), a = ({ children: e, ...n }) => /* @__PURE__ */ t("div", {
|
|
17
|
+
slot: "content",
|
|
18
|
+
...n,
|
|
19
|
+
children: e
|
|
20
|
+
}), o = ({ alt: e, ...n }) => /* @__PURE__ */ t("img", {
|
|
21
|
+
alt: e ?? "",
|
|
22
|
+
slot: "image",
|
|
23
|
+
...n
|
|
24
|
+
});
|
|
25
|
+
n.Header = r, n.CloseButton = i, n.Content = a, n.Img = o, r.displayName = "Tooltip.Header", i.displayName = "Tooltip.CloseButton", a.displayName = "Tooltip.Content", o.displayName = "Tooltip.Img";
|
|
26
|
+
//#endregion
|
|
27
|
+
export { n as Tooltip };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as e, jsxs as t } from "react/jsx-runtime";
|
|
2
|
+
import "@cupra/ui-kit/react/ds-value-unit";
|
|
3
|
+
//#region src/components/ValueUnit/ValueUnit.tsx
|
|
4
|
+
function n(n) {
|
|
5
|
+
let { className: r, value: i, unit: a, ...o } = n;
|
|
6
|
+
return /* @__PURE__ */ t("ds-value-unit-react", {
|
|
7
|
+
class: r,
|
|
8
|
+
...o,
|
|
9
|
+
children: [/* @__PURE__ */ e("span", {
|
|
10
|
+
slot: "value",
|
|
11
|
+
children: i
|
|
12
|
+
}), /* @__PURE__ */ e("span", {
|
|
13
|
+
slot: "unit",
|
|
14
|
+
children: a
|
|
15
|
+
})]
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
export { n as ValueUnit };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import "./Accordion/Accordion.js";
|
|
2
|
+
import "./Badge/Badge.js";
|
|
3
|
+
import "./BasicCard/BasicCard.js";
|
|
4
|
+
import "./BasicCardImage/BasicCardImage.js";
|
|
5
|
+
import "./BasicCardHeader/BasicCardHeader.js";
|
|
6
|
+
import "./BasicCardSection/BasicCardSection.js";
|
|
7
|
+
import "./Breadcrumbs/Breadcrumbs.js";
|
|
8
|
+
import "./BreadcrumbsItem/BreadcrumbsItem.js";
|
|
9
|
+
import "./Bullets/Bullets.js";
|
|
10
|
+
import "./Button/Button.js";
|
|
11
|
+
import "./Calendar/Calendar.js";
|
|
12
|
+
import "./CarouselIndicator/CarouselIndicator.js";
|
|
13
|
+
import "./Checkbox/Checkbox.js";
|
|
14
|
+
import "./CheckboxGroup/CheckboxGroup.js";
|
|
15
|
+
import "./Chip/Chip.js";
|
|
16
|
+
import "./Chips/Chips.js";
|
|
17
|
+
import "./Currency/Currency.js";
|
|
18
|
+
import "./DatePicker/DatePicker.js";
|
|
19
|
+
import "./Dialog/Dialog.js";
|
|
20
|
+
import "./DialogBody/DialogBody.js";
|
|
21
|
+
import "./DialogFooter/DialogFooter.js";
|
|
22
|
+
import "./DialogFullscreen/DialogFullscreen.js";
|
|
23
|
+
import "./DialogHeader/DialogHeader.js";
|
|
24
|
+
import "./Divider/Divider.js";
|
|
25
|
+
import "./Drawer/Drawer.js";
|
|
26
|
+
import "./FavouriteAction/FavouriteAction.js";
|
|
27
|
+
import "./Hyperlink/Hyperlink.js";
|
|
28
|
+
import "./Icon/Icon.js";
|
|
29
|
+
import "./IconButton/IconButton.js";
|
|
30
|
+
import "./Input/Input.js";
|
|
31
|
+
import "./List/List.js";
|
|
32
|
+
import "./ListItem/ListItem.js";
|
|
33
|
+
import "./LinkButton/LinkButton.js";
|
|
34
|
+
import "./Loader/Loader.js";
|
|
35
|
+
import "./Logo/Logo.js";
|
|
36
|
+
import "./MainTitle/MainTitle.js";
|
|
37
|
+
import "./MapPin/MapPin.js";
|
|
38
|
+
import "./MediaControl/MediaControl.js";
|
|
39
|
+
import "./Modal/Modal.js";
|
|
40
|
+
import "./PasswordInput/PasswordInput.js";
|
|
41
|
+
import "./PickerItem/PickerItem.js";
|
|
42
|
+
import "./Radio/Radio.js";
|
|
43
|
+
import "./RadioButton/RadioButton.js";
|
|
44
|
+
import "./RadioButtonGroup/RadioButtonGroup.js";
|
|
45
|
+
import "./Rating/Rating.js";
|
|
46
|
+
import "./Search/Search.js";
|
|
47
|
+
import "./SearchInput/SearchInput.js";
|
|
48
|
+
import "./SecondaryNavigation/SecondaryNavigation.js";
|
|
49
|
+
import "./SegmentedControl/SegmentedControl.js";
|
|
50
|
+
import "./Select/Select.js";
|
|
51
|
+
import "./Selection/Selection.js";
|
|
52
|
+
import "./Skeleton/Skeleton.js";
|
|
53
|
+
import "./Slider/Slider.js";
|
|
54
|
+
import "./Table/Table.js";
|
|
55
|
+
import "./TableCell/TableCell.js";
|
|
56
|
+
import "./TableRow/TableRow.js";
|
|
57
|
+
import "./Tabs/Tabs.js";
|
|
58
|
+
import "./Tag/Tag.js";
|
|
59
|
+
import "./Text/Text.js";
|
|
60
|
+
import "./TextInput/TextInput.js";
|
|
61
|
+
import "./Textarea/Textarea.js";
|
|
62
|
+
import "./ThemeProvider/ThemeProvider.js";
|
|
63
|
+
import "./ToggleButton/ToggleButton.js";
|
|
64
|
+
import "./ToggleSwitch/ToggleSwitch.js";
|
|
65
|
+
import "./Tooltip/Tooltip.js";
|
|
66
|
+
import "./ValueUnit/ValueUnit.js";
|
|
67
|
+
import "./Toast/Toast.js";
|
|
68
|
+
import "./ToastMessage/ToastMessage.js";
|
|
69
|
+
import "./InlineAlert/InlineAlert.js";
|
|
70
|
+
import "./Avatar/Avatar.js";
|
|
71
|
+
import "./StaticBox/StaticBox.js";
|
|
72
|
+
import "./Stepper/Stepper.js";
|
|
73
|
+
import "./InteractiveCard/InteractiveCard.js";
|
|
74
|
+
import "./SidebarNavigation/SidebarNavigation.js";
|
|
75
|
+
import "./IconButtonGroup/IconButtonGroup.js";
|
|
76
|
+
import "./NavigationControls/NavigationControls.js";
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { useLayoutEffect as e, useState as t } from "react";
|
|
2
|
+
import { breakpoints as n } from "@cupra/ui-kit/react/utils/breakpoints";
|
|
3
|
+
//#region src/hooks/useBreakpoint.ts
|
|
4
|
+
var r = [
|
|
5
|
+
"xs",
|
|
6
|
+
"s",
|
|
7
|
+
"m",
|
|
8
|
+
"l",
|
|
9
|
+
"xl",
|
|
10
|
+
"xxl"
|
|
11
|
+
];
|
|
12
|
+
function i() {
|
|
13
|
+
let e = {};
|
|
14
|
+
return r.forEach((t, i) => {
|
|
15
|
+
let a = `(min-width: ${n[t]}px)`, o = "";
|
|
16
|
+
i < r.length - 1 && (o = ` and (max-width: ${n[r[i + 1]] - 1}px)`), e[t] = window.matchMedia(a + o);
|
|
17
|
+
}), e;
|
|
18
|
+
}
|
|
19
|
+
var a = () => {
|
|
20
|
+
let [n, r] = t(() => {
|
|
21
|
+
let e = i(), t = "";
|
|
22
|
+
return Object.keys(e).forEach((n) => {
|
|
23
|
+
e[n].matches && (t = n);
|
|
24
|
+
}), t;
|
|
25
|
+
});
|
|
26
|
+
return e(() => {
|
|
27
|
+
let e = i(), t = Object.keys(e).map((t) => {
|
|
28
|
+
let n = (e) => {
|
|
29
|
+
e.matches && r(t);
|
|
30
|
+
};
|
|
31
|
+
return e[t].addListener(n), () => {
|
|
32
|
+
e[t].removeListener(n);
|
|
33
|
+
};
|
|
34
|
+
});
|
|
35
|
+
return () => {
|
|
36
|
+
t.forEach((e) => {
|
|
37
|
+
e();
|
|
38
|
+
});
|
|
39
|
+
};
|
|
40
|
+
}, []), n;
|
|
41
|
+
};
|
|
42
|
+
//#endregion
|
|
43
|
+
export { a as useBreakpoint };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { useEffect as e } from "react";
|
|
2
|
+
//#region src/hooks/useEventListeners.ts
|
|
3
|
+
var t = (t) => {
|
|
4
|
+
e(() => {
|
|
5
|
+
let e = [];
|
|
6
|
+
return t.forEach((t) => {
|
|
7
|
+
let { eventName: n, handler: r, options: i, target: a = document } = t, o = (e) => {
|
|
8
|
+
r(e);
|
|
9
|
+
};
|
|
10
|
+
a.addEventListener(n, o, i), e.push(() => {
|
|
11
|
+
a.removeEventListener(n, o, i);
|
|
12
|
+
});
|
|
13
|
+
}), () => {
|
|
14
|
+
e.forEach((e) => {
|
|
15
|
+
e();
|
|
16
|
+
});
|
|
17
|
+
};
|
|
18
|
+
}, t.flatMap(({ dependencies: e }) => e ?? []));
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { t as useEventListeners };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { useEffect as e, useRef as t } from "react";
|
|
2
|
+
//#region src/hooks/useHandleEvent.ts
|
|
3
|
+
function n(n) {
|
|
4
|
+
let r = t(null), i = t(n);
|
|
5
|
+
return e(() => {
|
|
6
|
+
i.current = n;
|
|
7
|
+
}, [n]), e(() => {
|
|
8
|
+
let e = r.current;
|
|
9
|
+
if (!e) return;
|
|
10
|
+
let t = {};
|
|
11
|
+
return Object.keys(i.current).forEach((n) => {
|
|
12
|
+
let r = (e) => {
|
|
13
|
+
let t = i.current[n];
|
|
14
|
+
t && t(e);
|
|
15
|
+
};
|
|
16
|
+
t[n] = r, e.addEventListener(n, r);
|
|
17
|
+
}), () => {
|
|
18
|
+
Object.keys(t).forEach((n) => {
|
|
19
|
+
e.removeEventListener(n, t[n]);
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
}, [r.current, i.current]), { ref: r };
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
export { n as useHandleEvent };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "react";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { useEffect as e } from "react";
|
|
2
|
+
//#region src/hooks/useResizeObserver/useResizeObserver.ts
|
|
3
|
+
function t(t) {
|
|
4
|
+
let { callback: n, element: r } = t;
|
|
5
|
+
e(() => {
|
|
6
|
+
if (!r) return;
|
|
7
|
+
let e = new ResizeObserver(n);
|
|
8
|
+
return e.observe(r), () => {
|
|
9
|
+
e?.disconnect();
|
|
10
|
+
};
|
|
11
|
+
}, [r, n]);
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { t as useResizeObserver };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Accordion as e } from "./components/Accordion/Accordion.js";
|
|
2
|
+
import { Badge as t } from "./components/Badge/Badge.js";
|
|
3
|
+
import { useHandleEvent as n } from "./hooks/useHandleEvent.js";
|
|
4
|
+
import { BasicCard as r } from "./components/BasicCard/BasicCard.js";
|
|
5
|
+
import { BasicCardImage as i } from "./components/BasicCardImage/BasicCardImage.js";
|
|
6
|
+
import { BasicCardHeader as a } from "./components/BasicCardHeader/BasicCardHeader.js";
|
|
7
|
+
import { BasicCardSection as o } from "./components/BasicCardSection/BasicCardSection.js";
|
|
8
|
+
import { Breadcrumbs as s } from "./components/Breadcrumbs/Breadcrumbs.js";
|
|
9
|
+
import { BreadcrumbsItem as c } from "./components/BreadcrumbsItem/BreadcrumbsItem.js";
|
|
10
|
+
import { Bullets as l } from "./components/Bullets/Bullets.js";
|
|
11
|
+
import { useBreakpoint as u } from "./hooks/useBreakpoint.js";
|
|
12
|
+
import { useEventListeners as d } from "./hooks/useEventListeners.js";
|
|
13
|
+
import { useResizeObserver as f } from "./hooks/useResizeObserver/useResizeObserver.js";
|
|
14
|
+
import "./hooks/index.js";
|
|
15
|
+
import { Button as p } from "./components/Button/Button.js";
|
|
16
|
+
import { Calendar as m } from "./components/Calendar/Calendar.js";
|
|
17
|
+
import { CarouselIndicator as h } from "./components/CarouselIndicator/CarouselIndicator.js";
|
|
18
|
+
import { Checkbox as g } from "./components/Checkbox/Checkbox.js";
|
|
19
|
+
import { CheckboxGroup as _ } from "./components/CheckboxGroup/CheckboxGroup.js";
|
|
20
|
+
import { Chip as v } from "./components/Chip/Chip.js";
|
|
21
|
+
import { Chips as y } from "./components/Chips/Chips.js";
|
|
22
|
+
import { Currency as b } from "./components/Currency/Currency.js";
|
|
23
|
+
import { DatePicker as x } from "./components/DatePicker/DatePicker.js";
|
|
24
|
+
import { Dialog as S } from "./components/Dialog/Dialog.js";
|
|
25
|
+
import { DialogBody as C } from "./components/DialogBody/DialogBody.js";
|
|
26
|
+
import { DialogFooter as w } from "./components/DialogFooter/DialogFooter.js";
|
|
27
|
+
import { DialogFullscreen as T } from "./components/DialogFullscreen/DialogFullscreen.js";
|
|
28
|
+
import { DialogHeader as E } from "./components/DialogHeader/DialogHeader.js";
|
|
29
|
+
import { Divider as D } from "./components/Divider/Divider.js";
|
|
30
|
+
import { Drawer as O } from "./components/Drawer/Drawer.js";
|
|
31
|
+
import { FavouriteAction as k } from "./components/FavouriteAction/FavouriteAction.js";
|
|
32
|
+
import { Hyperlink as A } from "./components/Hyperlink/Hyperlink.js";
|
|
33
|
+
import { Icon as j } from "./components/Icon/Icon.js";
|
|
34
|
+
import { IconButton as M } from "./components/IconButton/IconButton.js";
|
|
35
|
+
import { Input as N } from "./components/Input/Input.js";
|
|
36
|
+
import { List as P } from "./components/List/List.js";
|
|
37
|
+
import { ListItem as F } from "./components/ListItem/ListItem.js";
|
|
38
|
+
import { LinkButton as I } from "./components/LinkButton/LinkButton.js";
|
|
39
|
+
import { Loader as L, LoaderLogo as R } from "./components/Loader/Loader.js";
|
|
40
|
+
import { Logo as z } from "./components/Logo/Logo.js";
|
|
41
|
+
import { MainTitle as B } from "./components/MainTitle/MainTitle.js";
|
|
42
|
+
import { MapPin as V } from "./components/MapPin/MapPin.js";
|
|
43
|
+
import { MediaControl as H } from "./components/MediaControl/MediaControl.js";
|
|
44
|
+
import { Modal as U } from "./components/Modal/Modal.js";
|
|
45
|
+
import { PasswordInput as W } from "./components/PasswordInput/PasswordInput.js";
|
|
46
|
+
import { PickerItem as G } from "./components/PickerItem/PickerItem.js";
|
|
47
|
+
import { Radio as K } from "./components/Radio/Radio.js";
|
|
48
|
+
import { RadioButton as q } from "./components/RadioButton/RadioButton.js";
|
|
49
|
+
import { RadioButtonGroup as J } from "./components/RadioButtonGroup/RadioButtonGroup.js";
|
|
50
|
+
import { Rating as Y } from "./components/Rating/Rating.js";
|
|
51
|
+
import { Search as X } from "./components/Search/Search.js";
|
|
52
|
+
import { SearchInput as Z } from "./components/SearchInput/SearchInput.js";
|
|
53
|
+
import { SecondaryNavigation as Q } from "./components/SecondaryNavigation/SecondaryNavigation.js";
|
|
54
|
+
import { SegmentedControl as $ } from "./components/SegmentedControl/SegmentedControl.js";
|
|
55
|
+
import { Select as ee } from "./components/Select/Select.js";
|
|
56
|
+
import { Selection as te } from "./components/Selection/Selection.js";
|
|
57
|
+
import { Skeleton as ne } from "./components/Skeleton/Skeleton.js";
|
|
58
|
+
import { Slider as re } from "./components/Slider/Slider.js";
|
|
59
|
+
import { Table as ie } from "./components/Table/Table.js";
|
|
60
|
+
import { TableCell as ae } from "./components/TableCell/TableCell.js";
|
|
61
|
+
import { TableRow as oe } from "./components/TableRow/TableRow.js";
|
|
62
|
+
import { Tabs as se } from "./components/Tabs/Tabs.js";
|
|
63
|
+
import { Tag as ce } from "./components/Tag/Tag.js";
|
|
64
|
+
import { Text as le } from "./components/Text/Text.js";
|
|
65
|
+
import { TextInput as ue } from "./components/TextInput/TextInput.js";
|
|
66
|
+
import { Textarea as de } from "./components/Textarea/Textarea.js";
|
|
67
|
+
import { ThemeProvider as fe } from "./components/ThemeProvider/ThemeProvider.js";
|
|
68
|
+
import { ToggleButton as pe } from "./components/ToggleButton/ToggleButton.js";
|
|
69
|
+
import { ToggleSwitch as me } from "./components/ToggleSwitch/ToggleSwitch.js";
|
|
70
|
+
import { Tooltip as he } from "./components/Tooltip/Tooltip.js";
|
|
71
|
+
import { ValueUnit as ge } from "./components/ValueUnit/ValueUnit.js";
|
|
72
|
+
import { Toast as _e } from "./components/Toast/Toast.js";
|
|
73
|
+
import { ToastMessage as ve } from "./components/ToastMessage/ToastMessage.js";
|
|
74
|
+
import { InlineAlert as ye } from "./components/InlineAlert/InlineAlert.js";
|
|
75
|
+
import { Avatar as be } from "./components/Avatar/Avatar.js";
|
|
76
|
+
import { StaticBox as xe } from "./components/StaticBox/StaticBox.js";
|
|
77
|
+
import { Stepper as Se } from "./components/Stepper/Stepper.js";
|
|
78
|
+
import { InteractiveCard as Ce } from "./components/InteractiveCard/InteractiveCard.js";
|
|
79
|
+
import { SidebarNavigation as we } from "./components/SidebarNavigation/SidebarNavigation.js";
|
|
80
|
+
import { IconButtonGroup as Te } from "./components/IconButtonGroup/IconButtonGroup.js";
|
|
81
|
+
import { NavigationControls as Ee } from "./components/NavigationControls/NavigationControls.js";
|
|
82
|
+
import "./components/index.js";
|
|
83
|
+
export { e as Accordion, be as Avatar, t as Badge, r as BasicCard, a as BasicCardHeader, i as BasicCardImage, o as BasicCardSection, s as Breadcrumbs, c as BreadcrumbsItem, l as Bullets, p as Button, m as Calendar, h as CarouselIndicator, g as Checkbox, _ as CheckboxGroup, v as Chip, y as Chips, b as Currency, x as DatePicker, S as Dialog, C as DialogBody, w as DialogFooter, T as DialogFullscreen, E as DialogHeader, D as Divider, O as Drawer, k as FavouriteAction, A as Hyperlink, j as Icon, M as IconButton, Te as IconButtonGroup, ye as InlineAlert, N as Input, Ce as InteractiveCard, I as LinkButton, P as List, F as ListItem, L as Loader, R as LoaderLogo, z as Logo, B as MainTitle, V as MapPin, H as MediaControl, U as Modal, Ee as NavigationControls, W as PasswordInput, G as PickerItem, K as Radio, q as RadioButton, J as RadioButtonGroup, Y as Rating, X as Search, Z as SearchInput, Q as SecondaryNavigation, $ as SegmentedControl, ee as Select, te as Selection, we as SidebarNavigation, ne as Skeleton, re as Slider, xe as StaticBox, Se as Stepper, ie as Table, ae as TableCell, oe as TableRow, se as Tabs, ce as Tag, le as Text, ue as TextInput, de as Textarea, fe as ThemeProvider, _e as Toast, ve as ToastMessage, pe as ToggleButton, me as ToggleSwitch, he as Tooltip, ge as ValueUnit, u as useBreakpoint, d as useEventListeners, n as useHandleEvent, f as useResizeObserver };
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
a as default
|
|
10
|
-
};
|
|
1
|
+
import { memoize as e } from "../../../../../@emotion_memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/@emotion+is-prop-valid@1.2.2/node_modules/@emotion/is-prop-valid/dist/emotion-is-prop-valid.esm.js
|
|
3
|
+
var t = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, n = /* @__PURE__ */ e(function(e) {
|
|
4
|
+
return t.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
5
|
+
});
|
|
6
|
+
//#endregion
|
|
7
|
+
export { n as isPropValid };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@emotion+memoize@0.8.1/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
|
|
2
|
+
function e(e) {
|
|
3
|
+
var t = Object.create(null);
|
|
4
|
+
return function(n) {
|
|
5
|
+
return t[n] === void 0 && (t[n] = e(n)), t[n];
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
//#endregion
|
|
9
|
+
export { e as memoize };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@emotion+unitless@0.8.1/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js
|
|
2
|
+
var e = {
|
|
3
|
+
animationIterationCount: 1,
|
|
4
|
+
aspectRatio: 1,
|
|
5
|
+
borderImageOutset: 1,
|
|
6
|
+
borderImageSlice: 1,
|
|
7
|
+
borderImageWidth: 1,
|
|
8
|
+
boxFlex: 1,
|
|
9
|
+
boxFlexGroup: 1,
|
|
10
|
+
boxOrdinalGroup: 1,
|
|
11
|
+
columnCount: 1,
|
|
12
|
+
columns: 1,
|
|
13
|
+
flex: 1,
|
|
14
|
+
flexGrow: 1,
|
|
15
|
+
flexPositive: 1,
|
|
16
|
+
flexShrink: 1,
|
|
17
|
+
flexNegative: 1,
|
|
18
|
+
flexOrder: 1,
|
|
19
|
+
gridRow: 1,
|
|
20
|
+
gridRowEnd: 1,
|
|
21
|
+
gridRowSpan: 1,
|
|
22
|
+
gridRowStart: 1,
|
|
23
|
+
gridColumn: 1,
|
|
24
|
+
gridColumnEnd: 1,
|
|
25
|
+
gridColumnSpan: 1,
|
|
26
|
+
gridColumnStart: 1,
|
|
27
|
+
msGridRow: 1,
|
|
28
|
+
msGridRowSpan: 1,
|
|
29
|
+
msGridColumn: 1,
|
|
30
|
+
msGridColumnSpan: 1,
|
|
31
|
+
fontWeight: 1,
|
|
32
|
+
lineHeight: 1,
|
|
33
|
+
opacity: 1,
|
|
34
|
+
order: 1,
|
|
35
|
+
orphans: 1,
|
|
36
|
+
tabSize: 1,
|
|
37
|
+
widows: 1,
|
|
38
|
+
zIndex: 1,
|
|
39
|
+
zoom: 1,
|
|
40
|
+
WebkitLineClamp: 1,
|
|
41
|
+
fillOpacity: 1,
|
|
42
|
+
floodOpacity: 1,
|
|
43
|
+
stopOpacity: 1,
|
|
44
|
+
strokeDasharray: 1,
|
|
45
|
+
strokeDashoffset: 1,
|
|
46
|
+
strokeMiterlimit: 1,
|
|
47
|
+
strokeOpacity: 1,
|
|
48
|
+
strokeWidth: 1
|
|
49
|
+
};
|
|
50
|
+
//#endregion
|
|
51
|
+
export { e as unitlessKeys };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { __commonJSMin as e } from "../../../../../_virtual/_rolldown/runtime.js";
|
|
2
|
+
//#region ../../node_modules/.pnpm/shallowequal@1.1.0/node_modules/shallowequal/index.js
|
|
3
|
+
var t = /* @__PURE__ */ e(((e, t) => {
|
|
4
|
+
t.exports = function(e, t, n, r) {
|
|
5
|
+
var i = n ? n.call(r, e, t) : void 0;
|
|
6
|
+
if (i !== void 0) return !!i;
|
|
7
|
+
if (e === t) return !0;
|
|
8
|
+
if (typeof e != "object" || !e || typeof t != "object" || !t) return !1;
|
|
9
|
+
var a = Object.keys(e), o = Object.keys(t);
|
|
10
|
+
if (a.length !== o.length) return !1;
|
|
11
|
+
for (var s = Object.prototype.hasOwnProperty.bind(t), c = 0; c < a.length; c++) {
|
|
12
|
+
var l = a[c];
|
|
13
|
+
if (!s(l)) return !1;
|
|
14
|
+
var u = e[l], d = t[l];
|
|
15
|
+
if (i = n ? n.call(r, u, d, l) : void 0, i === !1 || i === void 0 && u !== d) return !1;
|
|
16
|
+
}
|
|
17
|
+
return !0;
|
|
18
|
+
};
|
|
19
|
+
}));
|
|
20
|
+
//#endregion
|
|
21
|
+
export default t();
|
|
22
|
+
export { t as require_shallowequal };
|