@prokodo/ui 0.0.37 → 0.0.39
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/README.md +152 -57
- package/dist/_virtual/default.js +4 -0
- package/dist/_virtual/default2.js +4 -0
- package/dist/_virtual/index.js +3 -5
- package/dist/_virtual/index2.js +2 -2
- package/dist/_virtual/index3.js +2 -2
- package/dist/_virtual/parser.js +4 -0
- package/dist/components/accordion/Accordion.client.js +30 -0
- package/dist/components/accordion/Accordion.js +8 -118
- package/dist/components/accordion/Accordion.lazy.js +15 -0
- package/dist/components/accordion/Accordion.server.js +18 -0
- package/dist/components/accordion/Accordion.view.js +102 -0
- package/dist/components/animated/Animated.client.js +49 -0
- package/dist/components/animated/Animated.js +8 -69
- package/dist/components/animated/Animated.lazy.js +17 -0
- package/dist/components/animated/Animated.server.js +12 -0
- package/dist/components/animated/Animated.view.js +35 -0
- package/dist/components/animatedText/AnimatedText.client.js +41 -0
- package/dist/components/animatedText/AnimatedText.js +8 -35
- package/dist/components/animatedText/AnimatedText.lazy.js +17 -0
- package/dist/components/animatedText/AnimatedText.server.js +12 -0
- package/dist/components/animatedText/AnimatedText.view.js +8 -0
- package/dist/components/avatar/Avatar.client.js +12 -0
- package/dist/components/avatar/Avatar.js +7 -81
- package/dist/components/avatar/Avatar.lazy.js +12 -0
- package/dist/components/avatar/Avatar.server.js +11 -0
- package/dist/components/avatar/Avatar.view.js +55 -0
- package/dist/components/base-link/BaseLink.client.js +43 -0
- package/dist/components/base-link/BaseLink.js +9 -37
- package/dist/components/base-link/BaseLink.lazy.js +15 -0
- package/dist/components/base-link/BaseLink.server.js +11 -0
- package/dist/components/base-link/BaseLink.view.js +69 -0
- package/dist/components/button/Button.client.js +5 -2
- package/dist/components/button/Button.module.scss.js +1 -0
- package/dist/components/button/Button.view.js +10 -7
- package/dist/components/calendly/Calendly.client.js +106 -0
- package/dist/components/calendly/Calendly.js +8 -116
- package/dist/components/calendly/Calendly.lazy.js +16 -0
- package/dist/components/calendly/Calendly.server.js +11 -0
- package/dist/components/calendly/Calendly.view.js +25 -0
- package/dist/components/card/Card.client.js +49 -0
- package/dist/components/card/Card.js +11 -201
- package/dist/components/card/Card.lazy.js +18 -0
- package/dist/components/card/Card.module.scss.js +0 -7
- package/dist/components/card/Card.server.js +11 -0
- package/dist/components/card/Card.view.js +111 -0
- package/dist/components/carousel/Carousel.client.js +217 -0
- package/dist/components/carousel/Carousel.js +8 -291
- package/dist/components/carousel/Carousel.lazy.js +16 -0
- package/dist/components/carousel/Carousel.server.js +11 -0
- package/dist/components/carousel/Carousel.view.js +58 -0
- package/dist/components/chip/Chip.client.js +45 -0
- package/dist/components/chip/Chip.js +7 -64
- package/dist/components/chip/Chip.lazy.js +12 -0
- package/dist/components/chip/Chip.module.scss.js +11 -1
- package/dist/components/chip/Chip.server.js +11 -0
- package/dist/components/chip/Chip.view.js +57 -0
- package/dist/components/datePicker/DatePicker.client.js +99 -0
- package/dist/components/datePicker/DatePicker.js +7 -124
- package/dist/components/datePicker/DatePicker.lazy.js +12 -0
- package/dist/components/datePicker/DatePicker.server.js +8 -0
- package/dist/components/datePicker/DatePicker.view.js +42 -0
- package/dist/components/dialog/Dialog.client.js +91 -0
- package/dist/components/dialog/Dialog.js +9 -164
- package/dist/components/dialog/Dialog.lazy.js +15 -0
- package/dist/components/dialog/Dialog.module.scss.js +3 -2
- package/dist/components/dialog/Dialog.server.js +11 -0
- package/dist/components/dialog/Dialog.view.js +118 -0
- package/dist/components/drawer/Drawer.client.js +75 -0
- package/dist/components/drawer/Drawer.js +8 -103
- package/dist/components/drawer/Drawer.lazy.js +15 -0
- package/dist/components/drawer/Drawer.module.scss.js +20 -13
- package/dist/components/drawer/Drawer.server.js +12 -0
- package/dist/components/drawer/Drawer.view.js +75 -0
- package/dist/components/drawer/index.js +2 -4
- package/dist/components/form/Form.client.js +176 -0
- package/dist/components/form/Form.js +9 -288
- package/dist/components/form/Form.lazy.js +12 -0
- package/dist/components/form/Form.module.scss.js +2 -0
- package/dist/components/form/Form.server.js +30 -0
- package/dist/components/form/Form.view.js +106 -0
- package/dist/components/form/FormField.client.js +98 -0
- package/dist/components/form/FormField.js +7 -93
- package/dist/components/form/FormField.lazy.js +12 -0
- package/dist/components/form/FormField.server.js +81 -0
- package/dist/components/headline/{Headline.server.js → Headline.js} +25 -23
- package/dist/components/headline/index.js +2 -4
- package/dist/components/icon/Icon.js +30 -27
- package/dist/components/icon/Icon.module.scss.js +1 -0
- package/dist/components/image-text/ImageText.js +17 -33
- package/dist/components/image-text/ImageText.module.scss.js +0 -4
- package/dist/components/input/Input.client.js +105 -0
- package/dist/components/input/Input.js +7 -200
- package/dist/components/input/Input.lazy.js +12 -0
- package/dist/components/input/Input.module.scss.js +3 -6
- package/dist/components/input/Input.server.js +11 -0
- package/dist/components/input/Input.view.js +128 -0
- package/dist/components/input/InputValidation.js +2 -2
- package/dist/components/inputOTP/InputOTP.js +1 -14
- package/dist/components/link/Link.client.js +2 -0
- package/dist/components/link/Link.js +1 -1
- package/dist/components/link/Link.lazy.js +4 -1
- package/dist/components/link/Link.server.js +2 -0
- package/dist/components/link/Link.view.js +26 -13
- package/dist/components/list/List.js +126 -170
- package/dist/components/list/List.module.scss.js +3 -0
- package/dist/components/loading/Loading.js +4 -3
- package/dist/components/lottie/Lottie.js +3 -5
- package/dist/components/post-item/PostItem.js +2 -2
- package/dist/components/post-teaser/PostTeaser.js +1 -1
- package/dist/components/post-widget/PostWidget.js +1 -1
- package/dist/components/post-widget-carousel/PostWidgetCarousel.js +1 -1
- package/dist/components/quote/Quote.js +83 -77
- package/dist/components/rich-text/RichText.client.js +194 -0
- package/dist/components/rich-text/RichText.js +8 -152
- package/dist/components/rich-text/RichText.lazy.js +18 -0
- package/dist/components/rich-text/RichText.server.js +37 -0
- package/dist/components/select/Select.client.js +97 -0
- package/dist/components/select/Select.js +8 -215
- package/dist/components/select/Select.lazy.js +15 -0
- package/dist/components/select/Select.module.scss.js +14 -17
- package/dist/components/select/Select.server.js +11 -0
- package/dist/components/select/Select.view.js +159 -0
- package/dist/components/sidenav/SideNav.client.js +34 -0
- package/dist/components/sidenav/SideNav.js +14 -0
- package/dist/components/sidenav/SideNav.lazy.js +15 -0
- package/dist/components/sidenav/SideNav.module.scss.js +23 -0
- package/dist/components/sidenav/SideNav.server.js +11 -0
- package/dist/components/sidenav/SideNav.view.js +62 -0
- package/dist/components/sidenav/index.js +4 -0
- package/dist/components/slider/Slider.client.js +65 -0
- package/dist/components/slider/Slider.js +7 -108
- package/dist/components/slider/Slider.lazy.js +12 -0
- package/dist/components/slider/Slider.module.scss.js +4 -2
- package/dist/components/slider/Slider.server.js +23 -0
- package/dist/components/slider/Slider.view.js +130 -0
- package/dist/components/stepper/Stepper.client.js +132 -0
- package/dist/components/stepper/Stepper.js +7 -130
- package/dist/components/stepper/Stepper.lazy.js +12 -0
- package/dist/components/stepper/Stepper.module.scss.js +1 -0
- package/dist/components/stepper/Stepper.server.js +33 -0
- package/dist/components/stepper/Stepper.view.js +132 -0
- package/dist/components/switch/Switch.client.js +62 -0
- package/dist/components/switch/Switch.js +7 -103
- package/dist/components/switch/Switch.lazy.js +12 -0
- package/dist/components/switch/Switch.module.scss.js +3 -4
- package/dist/components/switch/Switch.server.js +26 -0
- package/dist/components/switch/Switch.view.js +101 -0
- package/dist/components/table/Table.js +62 -68
- package/dist/components/table/Table.module.scss.js +7 -14
- package/dist/components/table/TableCell.js +44 -0
- package/dist/components/table/TableCell.module.scss.js +14 -0
- package/dist/components/teaser/Teaser.js +78 -81
- package/dist/constants/project.js +1 -1
- package/dist/helpers/createIsland.js +28 -7
- package/dist/helpers/createLazyWrapper.js +34 -6
- package/dist/helpers/validations.js +1 -3
- package/dist/hooks/useHydrationReady.js +3 -3
- package/dist/index.js +3 -1
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/css.js +80 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/default.js +370 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/index.js +30 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/parser.js +64 -0
- package/dist/node_modules/.pnpm/cssfilter@0.0.10/node_modules/cssfilter/lib/util.js +48 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +390 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +59 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js +373 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +50 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js +67 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +18 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +246 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +58 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js +179 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js +90 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js +126 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js +78 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js +40 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js +59 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js +168 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js +146 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js +130 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js +30 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js +73 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +39 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +65 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js +66 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js +232 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +181 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js +162 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +197 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js +18 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +104 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js +14 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js +49 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js +93 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +47 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +56 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +28 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js +118 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js +36 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +77 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js +102 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +51 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js +65 -0
- package/dist/node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.js +2169 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +10 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js +87 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js +68 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js +22 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js +186 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +246 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +4 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +14 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +4 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/default.js +319 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/index.js +47 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/parser.js +220 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/util.js +47 -0
- package/dist/node_modules/.pnpm/xss@1.0.15/node_modules/xss/lib/xss.js +179 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/accordion/Accordion.client.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.d.ts +13 -3
- package/dist/types/components/accordion/Accordion.lazy.d.ts +14 -0
- package/dist/types/components/accordion/Accordion.model.d.ts +6 -2
- package/dist/types/components/accordion/Accordion.server.d.ts +3 -0
- package/dist/types/components/accordion/Accordion.view.d.ts +3 -0
- package/dist/types/components/animated/Animated.client.d.ts +3 -0
- package/dist/types/components/animated/Animated.d.ts +3 -2
- package/dist/types/components/animated/Animated.lazy.d.ts +5 -0
- package/dist/types/components/animated/Animated.model.d.ts +3 -0
- package/dist/types/components/animated/Animated.server.d.ts +3 -0
- package/dist/types/components/animated/Animated.view.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.client.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.d.ts +8 -3
- package/dist/types/components/animatedText/AnimatedText.lazy.d.ts +9 -0
- package/dist/types/components/animatedText/AnimatedText.model.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.server.d.ts +3 -0
- package/dist/types/components/animatedText/AnimatedText.view.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.client.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.d.ts +10 -3
- package/dist/types/components/avatar/Avatar.lazy.d.ts +11 -0
- package/dist/types/components/avatar/Avatar.model.d.ts +1 -0
- package/dist/types/components/avatar/Avatar.server.d.ts +3 -0
- package/dist/types/components/avatar/Avatar.view.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.client.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.d.ts +3 -2
- package/dist/types/components/base-link/BaseLink.lazy.d.ts +5 -0
- package/dist/types/components/base-link/BaseLink.server.d.ts +3 -0
- package/dist/types/components/base-link/BaseLink.view.d.ts +3 -0
- package/dist/types/components/button/Button.client.d.ts +9 -3
- package/dist/types/components/button/Button.model.d.ts +6 -3
- package/dist/types/components/button/Button.view.d.ts +2 -2
- package/dist/types/components/calendly/Calendly.client.d.ts +3 -0
- package/dist/types/components/calendly/Calendly.d.ts +13 -22
- package/dist/types/components/calendly/Calendly.lazy.d.ts +14 -0
- package/dist/types/components/calendly/Calendly.model.d.ts +4 -2
- package/dist/types/components/calendly/Calendly.server.d.ts +3 -0
- package/dist/types/components/calendly/Calendly.view.d.ts +3 -0
- package/dist/types/components/card/Card.client.d.ts +3 -0
- package/dist/types/components/card/Card.d.ts +3 -2
- package/dist/types/components/card/Card.lazy.d.ts +5 -0
- package/dist/types/components/card/Card.model.d.ts +6 -4
- package/dist/types/components/card/Card.server.d.ts +3 -0
- package/dist/types/components/card/Card.view.d.ts +11 -0
- package/dist/types/components/card/index.d.ts +1 -1
- package/dist/types/components/carousel/Carousel.client.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.d.ts +18 -3
- package/dist/types/components/carousel/Carousel.lazy.d.ts +19 -0
- package/dist/types/components/carousel/Carousel.server.d.ts +3 -0
- package/dist/types/components/carousel/Carousel.view.d.ts +3 -0
- package/dist/types/components/chip/Chip.client.d.ts +3 -0
- package/dist/types/components/chip/Chip.d.ts +3 -2
- package/dist/types/components/chip/Chip.lazy.d.ts +5 -0
- package/dist/types/components/chip/Chip.model.d.ts +7 -4
- package/dist/types/components/chip/Chip.server.d.ts +3 -0
- package/dist/types/components/chip/Chip.view.d.ts +5 -0
- package/dist/types/components/datePicker/DatePicker.client.d.ts +4 -0
- package/dist/types/components/datePicker/DatePicker.d.ts +3 -2
- package/dist/types/components/datePicker/DatePicker.lazy.d.ts +5 -0
- package/dist/types/components/datePicker/DatePicker.model.d.ts +8 -3
- package/dist/types/components/datePicker/DatePicker.server.d.ts +4 -0
- package/dist/types/components/datePicker/DatePicker.view.d.ts +7 -0
- package/dist/types/components/dialog/Dialog.client.d.ts +3 -0
- package/dist/types/components/dialog/Dialog.d.ts +7 -3
- package/dist/types/components/dialog/Dialog.lazy.d.ts +8 -0
- package/dist/types/components/dialog/Dialog.model.d.ts +25 -15
- package/dist/types/components/dialog/Dialog.server.d.ts +4 -0
- package/dist/types/components/dialog/Dialog.view.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.client.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.d.ts +5 -5
- package/dist/types/components/drawer/Drawer.lazy.d.ts +5 -0
- package/dist/types/components/drawer/Drawer.model.d.ts +29 -8
- package/dist/types/components/drawer/Drawer.server.d.ts +3 -0
- package/dist/types/components/drawer/Drawer.view.d.ts +3 -0
- package/dist/types/components/drawer/index.d.ts +1 -1
- package/dist/types/components/form/Form.client.d.ts +2 -0
- package/dist/types/components/form/Form.d.ts +17 -3
- package/dist/types/components/form/Form.lazy.d.ts +18 -0
- package/dist/types/components/form/Form.model.d.ts +22 -5
- package/dist/types/components/form/Form.server.d.ts +4 -0
- package/dist/types/components/form/Form.view.d.ts +3 -0
- package/dist/types/components/form/FormField.client.d.ts +9 -0
- package/dist/types/components/form/FormField.d.ts +8 -9
- package/dist/types/components/form/FormField.lazy.d.ts +9 -0
- package/dist/types/components/form/FormField.server.d.ts +9 -0
- package/dist/types/components/form/index.d.ts +1 -1
- package/dist/types/components/headline/{Headline.server.d.ts → Headline.d.ts} +1 -1
- package/dist/types/components/headline/Headline.model.d.ts +7 -6
- package/dist/types/components/headline/index.d.ts +1 -2
- package/dist/types/components/image/Image.model.d.ts +5 -3
- package/dist/types/components/image/index.d.ts +1 -1
- package/dist/types/components/image-text/ImageText.d.ts +1 -1
- package/dist/types/components/image-text/ImageText.model.d.ts +5 -5
- package/dist/types/components/image-text/index.d.ts +1 -1
- package/dist/types/components/input/Input.client.d.ts +5 -0
- package/dist/types/components/input/Input.d.ts +3 -2
- package/dist/types/components/input/Input.lazy.d.ts +5 -0
- package/dist/types/components/input/Input.model.d.ts +21 -15
- package/dist/types/components/input/Input.server.d.ts +3 -0
- package/dist/types/components/input/Input.view.d.ts +3 -0
- package/dist/types/components/input/index.d.ts +1 -1
- package/dist/types/components/link/Link.client.d.ts +1 -1
- package/dist/types/components/link/Link.lazy.d.ts +1 -1
- package/dist/types/components/link/Link.model.d.ts +2 -1
- package/dist/types/components/link/Link.view.d.ts +2 -2
- package/dist/types/components/list/List.d.ts +5 -2
- package/dist/types/components/list/List.model.d.ts +3 -3
- package/dist/types/components/loading/Loading.d.ts +1 -1
- package/dist/types/components/lottie/Lottie.model.d.ts +1 -3
- package/dist/types/components/lottie/index.d.ts +1 -1
- package/dist/types/components/quote/Quote.d.ts +1 -1
- package/dist/types/components/rich-text/RichText.client.d.ts +6 -0
- package/dist/types/components/rich-text/RichText.d.ts +13 -3
- package/dist/types/components/rich-text/RichText.lazy.d.ts +14 -0
- package/dist/types/components/rich-text/RichText.model.d.ts +9 -4
- package/dist/types/components/rich-text/RichText.server.d.ts +3 -0
- package/dist/types/components/select/Select.client.d.ts +5 -0
- package/dist/types/components/select/Select.d.ts +3 -2
- package/dist/types/components/select/Select.lazy.d.ts +5 -0
- package/dist/types/components/select/Select.model.d.ts +35 -23
- package/dist/types/components/select/Select.server.d.ts +3 -0
- package/dist/types/components/select/Select.view.d.ts +3 -0
- package/dist/types/components/select/index.d.ts +1 -1
- package/dist/types/components/sidenav/SideNav.client.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.lazy.d.ts +5 -0
- package/dist/types/components/sidenav/SideNav.model.d.ts +24 -0
- package/dist/types/components/sidenav/SideNav.server.d.ts +3 -0
- package/dist/types/components/sidenav/SideNav.view.d.ts +3 -0
- package/dist/types/components/sidenav/index.d.ts +2 -0
- package/dist/types/components/slider/Slider.client.d.ts +4 -0
- package/dist/types/components/slider/Slider.d.ts +3 -2
- package/dist/types/components/slider/Slider.lazy.d.ts +5 -0
- package/dist/types/components/slider/Slider.model.d.ts +29 -6
- package/dist/types/components/slider/Slider.server.d.ts +3 -0
- package/dist/types/components/slider/Slider.view.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.client.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.d.ts +11 -3
- package/dist/types/components/stepper/Stepper.lazy.d.ts +12 -0
- package/dist/types/components/stepper/Stepper.model.d.ts +18 -3
- package/dist/types/components/stepper/Stepper.server.d.ts +3 -0
- package/dist/types/components/stepper/Stepper.view.d.ts +3 -0
- package/dist/types/components/switch/Switch.client.d.ts +4 -0
- package/dist/types/components/switch/Switch.d.ts +18 -3
- package/dist/types/components/switch/Switch.lazy.d.ts +19 -0
- package/dist/types/components/switch/Switch.model.d.ts +19 -10
- package/dist/types/components/switch/Switch.server.d.ts +3 -0
- package/dist/types/components/switch/Switch.view.d.ts +3 -0
- package/dist/types/components/table/Table.d.ts +1 -1
- package/dist/types/components/table/Table.model.d.ts +16 -14
- package/dist/types/components/table/TableCell.d.ts +10 -0
- package/dist/types/components/teaser/Teaser.d.ts +1 -1
- package/dist/types/components/teaser/Teaser.model.d.ts +1 -3
- package/dist/types/components/teaser/index.d.ts +1 -1
- package/dist/types/helpers/createLazyWrapper.d.ts +4 -1
- package/dist/types/hooks/useHydrationReady.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/types/colors.d.ts +1 -1
- package/dist/ui.css +2726 -2031
- package/package.json +20 -6
- package/dist/_virtual/_commonjsHelpers.js +0 -9
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/assets/images/card_background_primary_1.webp.js +0 -4
- package/dist/assets/images/card_background_primary_2.webp.js +0 -4
- package/dist/assets/images/card_background_primary_3.webp.js +0 -4
- package/dist/assets/images/card_background_primary_4.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_1.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_2.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_3.webp.js +0 -4
- package/dist/assets/images/card_background_secondary_4.webp.js +0 -4
- package/dist/components/headline/Headline.client.js +0 -85
- package/dist/components/lottie/LottieAnimations.js +0 -35
- package/dist/node_modules/.pnpm/@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -456
- package/dist/node_modules/.pnpm/@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -641
- package/dist/node_modules/.pnpm/@floating-ui_react-dom@2.1.2_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.js +0 -250
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -189
- package/dist/node_modules/.pnpm/@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -170
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/Option.js +0 -133
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Option/optionClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Portal/Portal.js +0 -85
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/Select.js +0 -315
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Select/selectClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/Slider.js +0 -459
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Slider/sliderClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/Switch.js +0 -173
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Switch/switchClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/Popup.js +0 -225
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/PopupContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/Unstable_Popup/popupClasses.js +0 -13
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClass/index.js +0 -20
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/generateUtilityClasses/index.js +0 -14
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useButton/useButton.js +0 -166
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundItem.js +0 -32
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useCompound/useCompoundParent.js +0 -74
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/ListContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listActions.types.js +0 -14
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/listReducer.js +0 -318
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useList.js +0 -211
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useList/useListItem.js +0 -81
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOption.js +0 -82
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useOption/useOptionContextStabilizer.js +0 -40
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/SelectProvider.js +0 -40
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/defaultOptionStringifier.js +0 -18
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/selectReducer.js +0 -74
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.js +0 -361
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSelect/useSelect.types.js +0 -7
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSlider/useSlider.js +0 -620
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useSwitch/useSwitch.js +0 -87
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/TransitionContext.js +0 -8
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/useTransition/useTransitionTrigger.js +0 -55
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/ClassNameConfigurator.js +0 -25
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/areArraysEqual.js +0 -9
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/combineHooksSlotProps.js +0 -19
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/isHostComponent.js +0 -9
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/resolveComponentProps.js +0 -12
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useControllableReducer.js +0 -101
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useRootElementName.js +0 -25
- package/dist/node_modules/.pnpm/@mui_base@5.0.0-beta.58_@types_react@19.1.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/@mui/base/utils/useTextNavigation.js +0 -28
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js +0 -20
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/appendOwnerState/appendOwnerState.js +0 -19
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js +0 -14
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/clamp/clamp.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js +0 -24
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/exactProp/exactProp.js +0 -22
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js +0 -17
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/getReactNodeRef/getReactNodeRef.js +0 -18
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isHostComponent/isHostComponent.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/mergeSlotProps/mergeSlotProps.js +0 -71
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/omitEventHandlers/omitEventHandlers.js +0 -16
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/ownerDocument/ownerDocument.js +0 -9
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/resolveComponentProps/resolveComponentProps.js +0 -12
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/setRef/setRef.js +0 -13
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useControlled/useControlled.js +0 -40
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js +0 -5
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEventCallback/useEventCallback.js +0 -18
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js +0 -20
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useId/useId.js +0 -28
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js +0 -34
- package/dist/node_modules/.pnpm/@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/visuallyHidden/visuallyHidden.js +0 -14
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -21
- package/dist/node_modules/.pnpm/object-assign@4.1.1/node_modules/object-assign/index.js +0 -83
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/checkPropTypes.js +0 -72
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithThrowingShims.js +0 -65
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/factoryWithTypeCheckers.js +0 -490
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/index.js +0 -23
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -15
- package/dist/node_modules/.pnpm/prop-types@15.8.1/node_modules/prop-types/lib/has.js +0 -14
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.development.js +0 -183
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/cjs/react-is.production.min.js +0 -111
- package/dist/node_modules/.pnpm/react-is@16.13.1/node_modules/react-is/index.js +0 -20
- package/dist/types/components/headline/Headline.client.d.ts +0 -3
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { offset as offset$1, computePosition, flip as flip$1, shift as shift$1 } from "../../../../../@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
4
|
-
import { autoUpdate, platform } from "../../../../../@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
5
|
-
import * as React from "react";
|
|
6
|
-
import { useLayoutEffect, useEffect } from "react";
|
|
7
|
-
import * as ReactDOM from "react-dom";
|
|
8
|
-
var index = typeof document !== "undefined" ? useLayoutEffect : useEffect;
|
|
9
|
-
function deepEqual(a, b) {
|
|
10
|
-
if (a === b) {
|
|
11
|
-
return true;
|
|
12
|
-
}
|
|
13
|
-
if (typeof a !== typeof b) {
|
|
14
|
-
return false;
|
|
15
|
-
}
|
|
16
|
-
if (typeof a === "function" && a.toString() === b.toString()) {
|
|
17
|
-
return true;
|
|
18
|
-
}
|
|
19
|
-
let length;
|
|
20
|
-
let i;
|
|
21
|
-
let keys;
|
|
22
|
-
if (a && b && typeof a === "object") {
|
|
23
|
-
if (Array.isArray(a)) {
|
|
24
|
-
length = a.length;
|
|
25
|
-
if (length !== b.length) return false;
|
|
26
|
-
for (i = length; i-- !== 0; ) {
|
|
27
|
-
if (!deepEqual(a[i], b[i])) {
|
|
28
|
-
return false;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
keys = Object.keys(a);
|
|
34
|
-
length = keys.length;
|
|
35
|
-
if (length !== Object.keys(b).length) {
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
for (i = length; i-- !== 0; ) {
|
|
39
|
-
if (!{}.hasOwnProperty.call(b, keys[i])) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
for (i = length; i-- !== 0; ) {
|
|
44
|
-
const key = keys[i];
|
|
45
|
-
if (key === "_owner" && a.$$typeof) {
|
|
46
|
-
continue;
|
|
47
|
-
}
|
|
48
|
-
if (!deepEqual(a[key], b[key])) {
|
|
49
|
-
return false;
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
return a !== a && b !== b;
|
|
55
|
-
}
|
|
56
|
-
__name(deepEqual, "deepEqual");
|
|
57
|
-
function getDPR(element) {
|
|
58
|
-
if (typeof window === "undefined") {
|
|
59
|
-
return 1;
|
|
60
|
-
}
|
|
61
|
-
const win = element.ownerDocument.defaultView || window;
|
|
62
|
-
return win.devicePixelRatio || 1;
|
|
63
|
-
}
|
|
64
|
-
__name(getDPR, "getDPR");
|
|
65
|
-
function roundByDPR(element, value) {
|
|
66
|
-
const dpr = getDPR(element);
|
|
67
|
-
return Math.round(value * dpr) / dpr;
|
|
68
|
-
}
|
|
69
|
-
__name(roundByDPR, "roundByDPR");
|
|
70
|
-
function useLatestRef(value) {
|
|
71
|
-
const ref = React.useRef(value);
|
|
72
|
-
index(() => {
|
|
73
|
-
ref.current = value;
|
|
74
|
-
});
|
|
75
|
-
return ref;
|
|
76
|
-
}
|
|
77
|
-
__name(useLatestRef, "useLatestRef");
|
|
78
|
-
function useFloating(options) {
|
|
79
|
-
if (options === void 0) {
|
|
80
|
-
options = {};
|
|
81
|
-
}
|
|
82
|
-
const {
|
|
83
|
-
placement = "bottom",
|
|
84
|
-
strategy = "absolute",
|
|
85
|
-
middleware = [],
|
|
86
|
-
platform: platform2,
|
|
87
|
-
elements: {
|
|
88
|
-
reference: externalReference,
|
|
89
|
-
floating: externalFloating
|
|
90
|
-
} = {},
|
|
91
|
-
transform = true,
|
|
92
|
-
whileElementsMounted,
|
|
93
|
-
open
|
|
94
|
-
} = options;
|
|
95
|
-
const [data, setData] = React.useState({
|
|
96
|
-
x: 0,
|
|
97
|
-
y: 0,
|
|
98
|
-
strategy,
|
|
99
|
-
placement,
|
|
100
|
-
middlewareData: {},
|
|
101
|
-
isPositioned: false
|
|
102
|
-
});
|
|
103
|
-
const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);
|
|
104
|
-
if (!deepEqual(latestMiddleware, middleware)) {
|
|
105
|
-
setLatestMiddleware(middleware);
|
|
106
|
-
}
|
|
107
|
-
const [_reference, _setReference] = React.useState(null);
|
|
108
|
-
const [_floating, _setFloating] = React.useState(null);
|
|
109
|
-
const setReference = React.useCallback((node) => {
|
|
110
|
-
if (node !== referenceRef.current) {
|
|
111
|
-
referenceRef.current = node;
|
|
112
|
-
_setReference(node);
|
|
113
|
-
}
|
|
114
|
-
}, []);
|
|
115
|
-
const setFloating = React.useCallback((node) => {
|
|
116
|
-
if (node !== floatingRef.current) {
|
|
117
|
-
floatingRef.current = node;
|
|
118
|
-
_setFloating(node);
|
|
119
|
-
}
|
|
120
|
-
}, []);
|
|
121
|
-
const referenceEl = externalReference || _reference;
|
|
122
|
-
const floatingEl = externalFloating || _floating;
|
|
123
|
-
const referenceRef = React.useRef(null);
|
|
124
|
-
const floatingRef = React.useRef(null);
|
|
125
|
-
const dataRef = React.useRef(data);
|
|
126
|
-
const hasWhileElementsMounted = whileElementsMounted != null;
|
|
127
|
-
const whileElementsMountedRef = useLatestRef(whileElementsMounted);
|
|
128
|
-
const platformRef = useLatestRef(platform2);
|
|
129
|
-
const openRef = useLatestRef(open);
|
|
130
|
-
const update = React.useCallback(() => {
|
|
131
|
-
if (!referenceRef.current || !floatingRef.current) {
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
const config = {
|
|
135
|
-
placement,
|
|
136
|
-
strategy,
|
|
137
|
-
middleware: latestMiddleware
|
|
138
|
-
};
|
|
139
|
-
if (platformRef.current) {
|
|
140
|
-
config.platform = platformRef.current;
|
|
141
|
-
}
|
|
142
|
-
computePosition(referenceRef.current, floatingRef.current, config).then((data2) => {
|
|
143
|
-
const fullData = {
|
|
144
|
-
...data2,
|
|
145
|
-
// The floating element's position may be recomputed while it's closed
|
|
146
|
-
// but still mounted (such as when transitioning out). To ensure
|
|
147
|
-
// `isPositioned` will be `false` initially on the next open, avoid
|
|
148
|
-
// setting it to `true` when `open === false` (must be specified).
|
|
149
|
-
isPositioned: openRef.current !== false
|
|
150
|
-
};
|
|
151
|
-
if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {
|
|
152
|
-
dataRef.current = fullData;
|
|
153
|
-
ReactDOM.flushSync(() => {
|
|
154
|
-
setData(fullData);
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
});
|
|
158
|
-
}, [latestMiddleware, placement, strategy, platformRef, openRef]);
|
|
159
|
-
index(() => {
|
|
160
|
-
if (open === false && dataRef.current.isPositioned) {
|
|
161
|
-
dataRef.current.isPositioned = false;
|
|
162
|
-
setData((data2) => ({
|
|
163
|
-
...data2,
|
|
164
|
-
isPositioned: false
|
|
165
|
-
}));
|
|
166
|
-
}
|
|
167
|
-
}, [open]);
|
|
168
|
-
const isMountedRef = React.useRef(false);
|
|
169
|
-
index(() => {
|
|
170
|
-
isMountedRef.current = true;
|
|
171
|
-
return () => {
|
|
172
|
-
isMountedRef.current = false;
|
|
173
|
-
};
|
|
174
|
-
}, []);
|
|
175
|
-
index(() => {
|
|
176
|
-
if (referenceEl) referenceRef.current = referenceEl;
|
|
177
|
-
if (floatingEl) floatingRef.current = floatingEl;
|
|
178
|
-
if (referenceEl && floatingEl) {
|
|
179
|
-
if (whileElementsMountedRef.current) {
|
|
180
|
-
return whileElementsMountedRef.current(referenceEl, floatingEl, update);
|
|
181
|
-
}
|
|
182
|
-
update();
|
|
183
|
-
}
|
|
184
|
-
}, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);
|
|
185
|
-
const refs = React.useMemo(() => ({
|
|
186
|
-
reference: referenceRef,
|
|
187
|
-
floating: floatingRef,
|
|
188
|
-
setReference,
|
|
189
|
-
setFloating
|
|
190
|
-
}), [setReference, setFloating]);
|
|
191
|
-
const elements = React.useMemo(() => ({
|
|
192
|
-
reference: referenceEl,
|
|
193
|
-
floating: floatingEl
|
|
194
|
-
}), [referenceEl, floatingEl]);
|
|
195
|
-
const floatingStyles = React.useMemo(() => {
|
|
196
|
-
const initialStyles = {
|
|
197
|
-
position: strategy,
|
|
198
|
-
left: 0,
|
|
199
|
-
top: 0
|
|
200
|
-
};
|
|
201
|
-
if (!elements.floating) {
|
|
202
|
-
return initialStyles;
|
|
203
|
-
}
|
|
204
|
-
const x = roundByDPR(elements.floating, data.x);
|
|
205
|
-
const y = roundByDPR(elements.floating, data.y);
|
|
206
|
-
if (transform) {
|
|
207
|
-
return {
|
|
208
|
-
...initialStyles,
|
|
209
|
-
transform: "translate(" + x + "px, " + y + "px)",
|
|
210
|
-
...getDPR(elements.floating) >= 1.5 && {
|
|
211
|
-
willChange: "transform"
|
|
212
|
-
}
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
return {
|
|
216
|
-
position: strategy,
|
|
217
|
-
left: x,
|
|
218
|
-
top: y
|
|
219
|
-
};
|
|
220
|
-
}, [strategy, transform, elements.floating, data.x, data.y]);
|
|
221
|
-
return React.useMemo(() => ({
|
|
222
|
-
...data,
|
|
223
|
-
update,
|
|
224
|
-
refs,
|
|
225
|
-
elements,
|
|
226
|
-
floatingStyles
|
|
227
|
-
}), [data, update, refs, elements, floatingStyles]);
|
|
228
|
-
}
|
|
229
|
-
__name(useFloating, "useFloating");
|
|
230
|
-
const offset = /* @__PURE__ */ __name((options, deps) => ({
|
|
231
|
-
...offset$1(options),
|
|
232
|
-
options: [options, deps]
|
|
233
|
-
}), "offset");
|
|
234
|
-
const shift = /* @__PURE__ */ __name((options, deps) => ({
|
|
235
|
-
...shift$1(options),
|
|
236
|
-
options: [options, deps]
|
|
237
|
-
}), "shift");
|
|
238
|
-
const flip = /* @__PURE__ */ __name((options, deps) => ({
|
|
239
|
-
...flip$1(options),
|
|
240
|
-
options: [options, deps]
|
|
241
|
-
}), "flip");
|
|
242
|
-
export {
|
|
243
|
-
autoUpdate,
|
|
244
|
-
computePosition,
|
|
245
|
-
flip,
|
|
246
|
-
offset,
|
|
247
|
-
platform,
|
|
248
|
-
shift,
|
|
249
|
-
useFloating
|
|
250
|
-
};
|
|
@@ -1,189 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
function hasWindow() {
|
|
4
|
-
return typeof window !== "undefined";
|
|
5
|
-
}
|
|
6
|
-
__name(hasWindow, "hasWindow");
|
|
7
|
-
function getNodeName(node) {
|
|
8
|
-
if (isNode(node)) {
|
|
9
|
-
return (node.nodeName || "").toLowerCase();
|
|
10
|
-
}
|
|
11
|
-
return "#document";
|
|
12
|
-
}
|
|
13
|
-
__name(getNodeName, "getNodeName");
|
|
14
|
-
function getWindow(node) {
|
|
15
|
-
var _node$ownerDocument;
|
|
16
|
-
return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
|
|
17
|
-
}
|
|
18
|
-
__name(getWindow, "getWindow");
|
|
19
|
-
function getDocumentElement(node) {
|
|
20
|
-
var _ref;
|
|
21
|
-
return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
|
|
22
|
-
}
|
|
23
|
-
__name(getDocumentElement, "getDocumentElement");
|
|
24
|
-
function isNode(value) {
|
|
25
|
-
if (!hasWindow()) {
|
|
26
|
-
return false;
|
|
27
|
-
}
|
|
28
|
-
return value instanceof Node || value instanceof getWindow(value).Node;
|
|
29
|
-
}
|
|
30
|
-
__name(isNode, "isNode");
|
|
31
|
-
function isElement(value) {
|
|
32
|
-
if (!hasWindow()) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
return value instanceof Element || value instanceof getWindow(value).Element;
|
|
36
|
-
}
|
|
37
|
-
__name(isElement, "isElement");
|
|
38
|
-
function isHTMLElement(value) {
|
|
39
|
-
if (!hasWindow()) {
|
|
40
|
-
return false;
|
|
41
|
-
}
|
|
42
|
-
return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
|
|
43
|
-
}
|
|
44
|
-
__name(isHTMLElement, "isHTMLElement");
|
|
45
|
-
function isShadowRoot(value) {
|
|
46
|
-
if (!hasWindow() || typeof ShadowRoot === "undefined") {
|
|
47
|
-
return false;
|
|
48
|
-
}
|
|
49
|
-
return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
|
|
50
|
-
}
|
|
51
|
-
__name(isShadowRoot, "isShadowRoot");
|
|
52
|
-
function isOverflowElement(element) {
|
|
53
|
-
const {
|
|
54
|
-
overflow,
|
|
55
|
-
overflowX,
|
|
56
|
-
overflowY,
|
|
57
|
-
display
|
|
58
|
-
} = getComputedStyle(element);
|
|
59
|
-
return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !["inline", "contents"].includes(display);
|
|
60
|
-
}
|
|
61
|
-
__name(isOverflowElement, "isOverflowElement");
|
|
62
|
-
function isTableElement(element) {
|
|
63
|
-
return ["table", "td", "th"].includes(getNodeName(element));
|
|
64
|
-
}
|
|
65
|
-
__name(isTableElement, "isTableElement");
|
|
66
|
-
function isTopLayer(element) {
|
|
67
|
-
return [":popover-open", ":modal"].some((selector) => {
|
|
68
|
-
try {
|
|
69
|
-
return element.matches(selector);
|
|
70
|
-
} catch (e) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
});
|
|
74
|
-
}
|
|
75
|
-
__name(isTopLayer, "isTopLayer");
|
|
76
|
-
function isContainingBlock(elementOrCss) {
|
|
77
|
-
const webkit = isWebKit();
|
|
78
|
-
const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
|
|
79
|
-
return ["transform", "translate", "scale", "rotate", "perspective"].some((value) => css[value] ? css[value] !== "none" : false) || (css.containerType ? css.containerType !== "normal" : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== "none" : false) || !webkit && (css.filter ? css.filter !== "none" : false) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((value) => (css.willChange || "").includes(value)) || ["paint", "layout", "strict", "content"].some((value) => (css.contain || "").includes(value));
|
|
80
|
-
}
|
|
81
|
-
__name(isContainingBlock, "isContainingBlock");
|
|
82
|
-
function getContainingBlock(element) {
|
|
83
|
-
let currentNode = getParentNode(element);
|
|
84
|
-
while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
85
|
-
if (isContainingBlock(currentNode)) {
|
|
86
|
-
return currentNode;
|
|
87
|
-
} else if (isTopLayer(currentNode)) {
|
|
88
|
-
return null;
|
|
89
|
-
}
|
|
90
|
-
currentNode = getParentNode(currentNode);
|
|
91
|
-
}
|
|
92
|
-
return null;
|
|
93
|
-
}
|
|
94
|
-
__name(getContainingBlock, "getContainingBlock");
|
|
95
|
-
function isWebKit() {
|
|
96
|
-
if (typeof CSS === "undefined" || !CSS.supports) return false;
|
|
97
|
-
return CSS.supports("-webkit-backdrop-filter", "none");
|
|
98
|
-
}
|
|
99
|
-
__name(isWebKit, "isWebKit");
|
|
100
|
-
function isLastTraversableNode(node) {
|
|
101
|
-
return ["html", "body", "#document"].includes(getNodeName(node));
|
|
102
|
-
}
|
|
103
|
-
__name(isLastTraversableNode, "isLastTraversableNode");
|
|
104
|
-
function getComputedStyle(element) {
|
|
105
|
-
return getWindow(element).getComputedStyle(element);
|
|
106
|
-
}
|
|
107
|
-
__name(getComputedStyle, "getComputedStyle");
|
|
108
|
-
function getNodeScroll(element) {
|
|
109
|
-
if (isElement(element)) {
|
|
110
|
-
return {
|
|
111
|
-
scrollLeft: element.scrollLeft,
|
|
112
|
-
scrollTop: element.scrollTop
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
return {
|
|
116
|
-
scrollLeft: element.scrollX,
|
|
117
|
-
scrollTop: element.scrollY
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
__name(getNodeScroll, "getNodeScroll");
|
|
121
|
-
function getParentNode(node) {
|
|
122
|
-
if (getNodeName(node) === "html") {
|
|
123
|
-
return node;
|
|
124
|
-
}
|
|
125
|
-
const result = (
|
|
126
|
-
// Step into the shadow DOM of the parent of a slotted node.
|
|
127
|
-
node.assignedSlot || // DOM Element detected.
|
|
128
|
-
node.parentNode || // ShadowRoot detected.
|
|
129
|
-
isShadowRoot(node) && node.host || // Fallback.
|
|
130
|
-
getDocumentElement(node)
|
|
131
|
-
);
|
|
132
|
-
return isShadowRoot(result) ? result.host : result;
|
|
133
|
-
}
|
|
134
|
-
__name(getParentNode, "getParentNode");
|
|
135
|
-
function getNearestOverflowAncestor(node) {
|
|
136
|
-
const parentNode = getParentNode(node);
|
|
137
|
-
if (isLastTraversableNode(parentNode)) {
|
|
138
|
-
return node.ownerDocument ? node.ownerDocument.body : node.body;
|
|
139
|
-
}
|
|
140
|
-
if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
|
|
141
|
-
return parentNode;
|
|
142
|
-
}
|
|
143
|
-
return getNearestOverflowAncestor(parentNode);
|
|
144
|
-
}
|
|
145
|
-
__name(getNearestOverflowAncestor, "getNearestOverflowAncestor");
|
|
146
|
-
function getOverflowAncestors(node, list, traverseIframes) {
|
|
147
|
-
var _node$ownerDocument2;
|
|
148
|
-
if (list === void 0) {
|
|
149
|
-
list = [];
|
|
150
|
-
}
|
|
151
|
-
if (traverseIframes === void 0) {
|
|
152
|
-
traverseIframes = true;
|
|
153
|
-
}
|
|
154
|
-
const scrollableAncestor = getNearestOverflowAncestor(node);
|
|
155
|
-
const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
|
|
156
|
-
const win = getWindow(scrollableAncestor);
|
|
157
|
-
if (isBody) {
|
|
158
|
-
const frameElement = getFrameElement(win);
|
|
159
|
-
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
|
|
160
|
-
}
|
|
161
|
-
return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
|
|
162
|
-
}
|
|
163
|
-
__name(getOverflowAncestors, "getOverflowAncestors");
|
|
164
|
-
function getFrameElement(win) {
|
|
165
|
-
return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
|
|
166
|
-
}
|
|
167
|
-
__name(getFrameElement, "getFrameElement");
|
|
168
|
-
export {
|
|
169
|
-
getComputedStyle,
|
|
170
|
-
getContainingBlock,
|
|
171
|
-
getDocumentElement,
|
|
172
|
-
getFrameElement,
|
|
173
|
-
getNearestOverflowAncestor,
|
|
174
|
-
getNodeName,
|
|
175
|
-
getNodeScroll,
|
|
176
|
-
getOverflowAncestors,
|
|
177
|
-
getParentNode,
|
|
178
|
-
getWindow,
|
|
179
|
-
isContainingBlock,
|
|
180
|
-
isElement,
|
|
181
|
-
isHTMLElement,
|
|
182
|
-
isLastTraversableNode,
|
|
183
|
-
isNode,
|
|
184
|
-
isOverflowElement,
|
|
185
|
-
isShadowRoot,
|
|
186
|
-
isTableElement,
|
|
187
|
-
isTopLayer,
|
|
188
|
-
isWebKit
|
|
189
|
-
};
|
|
@@ -1,170 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
const min = Math.min;
|
|
4
|
-
const max = Math.max;
|
|
5
|
-
const round = Math.round;
|
|
6
|
-
const floor = Math.floor;
|
|
7
|
-
const createCoords = /* @__PURE__ */ __name((v) => ({
|
|
8
|
-
x: v,
|
|
9
|
-
y: v
|
|
10
|
-
}), "createCoords");
|
|
11
|
-
const oppositeSideMap = {
|
|
12
|
-
left: "right",
|
|
13
|
-
right: "left",
|
|
14
|
-
bottom: "top",
|
|
15
|
-
top: "bottom"
|
|
16
|
-
};
|
|
17
|
-
const oppositeAlignmentMap = {
|
|
18
|
-
start: "end",
|
|
19
|
-
end: "start"
|
|
20
|
-
};
|
|
21
|
-
function clamp(start, value, end) {
|
|
22
|
-
return max(start, min(value, end));
|
|
23
|
-
}
|
|
24
|
-
__name(clamp, "clamp");
|
|
25
|
-
function evaluate(value, param) {
|
|
26
|
-
return typeof value === "function" ? value(param) : value;
|
|
27
|
-
}
|
|
28
|
-
__name(evaluate, "evaluate");
|
|
29
|
-
function getSide(placement) {
|
|
30
|
-
return placement.split("-")[0];
|
|
31
|
-
}
|
|
32
|
-
__name(getSide, "getSide");
|
|
33
|
-
function getAlignment(placement) {
|
|
34
|
-
return placement.split("-")[1];
|
|
35
|
-
}
|
|
36
|
-
__name(getAlignment, "getAlignment");
|
|
37
|
-
function getOppositeAxis(axis) {
|
|
38
|
-
return axis === "x" ? "y" : "x";
|
|
39
|
-
}
|
|
40
|
-
__name(getOppositeAxis, "getOppositeAxis");
|
|
41
|
-
function getAxisLength(axis) {
|
|
42
|
-
return axis === "y" ? "height" : "width";
|
|
43
|
-
}
|
|
44
|
-
__name(getAxisLength, "getAxisLength");
|
|
45
|
-
function getSideAxis(placement) {
|
|
46
|
-
return ["top", "bottom"].includes(getSide(placement)) ? "y" : "x";
|
|
47
|
-
}
|
|
48
|
-
__name(getSideAxis, "getSideAxis");
|
|
49
|
-
function getAlignmentAxis(placement) {
|
|
50
|
-
return getOppositeAxis(getSideAxis(placement));
|
|
51
|
-
}
|
|
52
|
-
__name(getAlignmentAxis, "getAlignmentAxis");
|
|
53
|
-
function getAlignmentSides(placement, rects, rtl) {
|
|
54
|
-
if (rtl === void 0) {
|
|
55
|
-
rtl = false;
|
|
56
|
-
}
|
|
57
|
-
const alignment = getAlignment(placement);
|
|
58
|
-
const alignmentAxis = getAlignmentAxis(placement);
|
|
59
|
-
const length = getAxisLength(alignmentAxis);
|
|
60
|
-
let mainAlignmentSide = alignmentAxis === "x" ? alignment === (rtl ? "end" : "start") ? "right" : "left" : alignment === "start" ? "bottom" : "top";
|
|
61
|
-
if (rects.reference[length] > rects.floating[length]) {
|
|
62
|
-
mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
|
|
63
|
-
}
|
|
64
|
-
return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
|
|
65
|
-
}
|
|
66
|
-
__name(getAlignmentSides, "getAlignmentSides");
|
|
67
|
-
function getExpandedPlacements(placement) {
|
|
68
|
-
const oppositePlacement = getOppositePlacement(placement);
|
|
69
|
-
return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
|
|
70
|
-
}
|
|
71
|
-
__name(getExpandedPlacements, "getExpandedPlacements");
|
|
72
|
-
function getOppositeAlignmentPlacement(placement) {
|
|
73
|
-
return placement.replace(/start|end/g, (alignment) => oppositeAlignmentMap[alignment]);
|
|
74
|
-
}
|
|
75
|
-
__name(getOppositeAlignmentPlacement, "getOppositeAlignmentPlacement");
|
|
76
|
-
function getSideList(side, isStart, rtl) {
|
|
77
|
-
const lr = ["left", "right"];
|
|
78
|
-
const rl = ["right", "left"];
|
|
79
|
-
const tb = ["top", "bottom"];
|
|
80
|
-
const bt = ["bottom", "top"];
|
|
81
|
-
switch (side) {
|
|
82
|
-
case "top":
|
|
83
|
-
case "bottom":
|
|
84
|
-
if (rtl) return isStart ? rl : lr;
|
|
85
|
-
return isStart ? lr : rl;
|
|
86
|
-
case "left":
|
|
87
|
-
case "right":
|
|
88
|
-
return isStart ? tb : bt;
|
|
89
|
-
default:
|
|
90
|
-
return [];
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
__name(getSideList, "getSideList");
|
|
94
|
-
function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
|
|
95
|
-
const alignment = getAlignment(placement);
|
|
96
|
-
let list = getSideList(getSide(placement), direction === "start", rtl);
|
|
97
|
-
if (alignment) {
|
|
98
|
-
list = list.map((side) => side + "-" + alignment);
|
|
99
|
-
if (flipAlignment) {
|
|
100
|
-
list = list.concat(list.map(getOppositeAlignmentPlacement));
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
return list;
|
|
104
|
-
}
|
|
105
|
-
__name(getOppositeAxisPlacements, "getOppositeAxisPlacements");
|
|
106
|
-
function getOppositePlacement(placement) {
|
|
107
|
-
return placement.replace(/left|right|bottom|top/g, (side) => oppositeSideMap[side]);
|
|
108
|
-
}
|
|
109
|
-
__name(getOppositePlacement, "getOppositePlacement");
|
|
110
|
-
function expandPaddingObject(padding) {
|
|
111
|
-
return {
|
|
112
|
-
top: 0,
|
|
113
|
-
right: 0,
|
|
114
|
-
bottom: 0,
|
|
115
|
-
left: 0,
|
|
116
|
-
...padding
|
|
117
|
-
};
|
|
118
|
-
}
|
|
119
|
-
__name(expandPaddingObject, "expandPaddingObject");
|
|
120
|
-
function getPaddingObject(padding) {
|
|
121
|
-
return typeof padding !== "number" ? expandPaddingObject(padding) : {
|
|
122
|
-
top: padding,
|
|
123
|
-
right: padding,
|
|
124
|
-
bottom: padding,
|
|
125
|
-
left: padding
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
|
-
__name(getPaddingObject, "getPaddingObject");
|
|
129
|
-
function rectToClientRect(rect) {
|
|
130
|
-
const {
|
|
131
|
-
x,
|
|
132
|
-
y,
|
|
133
|
-
width,
|
|
134
|
-
height
|
|
135
|
-
} = rect;
|
|
136
|
-
return {
|
|
137
|
-
width,
|
|
138
|
-
height,
|
|
139
|
-
top: y,
|
|
140
|
-
left: x,
|
|
141
|
-
right: x + width,
|
|
142
|
-
bottom: y + height,
|
|
143
|
-
x,
|
|
144
|
-
y
|
|
145
|
-
};
|
|
146
|
-
}
|
|
147
|
-
__name(rectToClientRect, "rectToClientRect");
|
|
148
|
-
export {
|
|
149
|
-
clamp,
|
|
150
|
-
createCoords,
|
|
151
|
-
evaluate,
|
|
152
|
-
expandPaddingObject,
|
|
153
|
-
floor,
|
|
154
|
-
getAlignment,
|
|
155
|
-
getAlignmentAxis,
|
|
156
|
-
getAlignmentSides,
|
|
157
|
-
getAxisLength,
|
|
158
|
-
getExpandedPlacements,
|
|
159
|
-
getOppositeAlignmentPlacement,
|
|
160
|
-
getOppositeAxis,
|
|
161
|
-
getOppositeAxisPlacements,
|
|
162
|
-
getOppositePlacement,
|
|
163
|
-
getPaddingObject,
|
|
164
|
-
getSide,
|
|
165
|
-
getSideAxis,
|
|
166
|
-
max,
|
|
167
|
-
min,
|
|
168
|
-
rectToClientRect,
|
|
169
|
-
round
|
|
170
|
-
};
|