@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,641 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { offset as offset$1, flip as flip$1, shift as shift$1, computePosition as computePosition$1 } from "../../../../../@floating-ui_core@1.7.0/node_modules/@floating-ui/core/dist/floating-ui.core.js";
|
|
4
|
-
import { createCoords, rectToClientRect, round, max, min, floor } from "../../../../../@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.js";
|
|
5
|
-
import { getOverflowAncestors, isElement, getDocumentElement, getWindow, getFrameElement, getComputedStyle, isHTMLElement, isTopLayer, getParentNode, isLastTraversableNode, isTableElement, isContainingBlock, getContainingBlock, getNodeName, isOverflowElement, getNodeScroll, isWebKit } from "../../../../../@floating-ui_utils@0.2.9/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js";
|
|
6
|
-
function getCssDimensions(element) {
|
|
7
|
-
const css = getComputedStyle(element);
|
|
8
|
-
let width = parseFloat(css.width) || 0;
|
|
9
|
-
let height = parseFloat(css.height) || 0;
|
|
10
|
-
const hasOffset = isHTMLElement(element);
|
|
11
|
-
const offsetWidth = hasOffset ? element.offsetWidth : width;
|
|
12
|
-
const offsetHeight = hasOffset ? element.offsetHeight : height;
|
|
13
|
-
const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
|
|
14
|
-
if (shouldFallback) {
|
|
15
|
-
width = offsetWidth;
|
|
16
|
-
height = offsetHeight;
|
|
17
|
-
}
|
|
18
|
-
return {
|
|
19
|
-
width,
|
|
20
|
-
height,
|
|
21
|
-
$: shouldFallback
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
__name(getCssDimensions, "getCssDimensions");
|
|
25
|
-
function unwrapElement(element) {
|
|
26
|
-
return !isElement(element) ? element.contextElement : element;
|
|
27
|
-
}
|
|
28
|
-
__name(unwrapElement, "unwrapElement");
|
|
29
|
-
function getScale(element) {
|
|
30
|
-
const domElement = unwrapElement(element);
|
|
31
|
-
if (!isHTMLElement(domElement)) {
|
|
32
|
-
return createCoords(1);
|
|
33
|
-
}
|
|
34
|
-
const rect = domElement.getBoundingClientRect();
|
|
35
|
-
const {
|
|
36
|
-
width,
|
|
37
|
-
height,
|
|
38
|
-
$
|
|
39
|
-
} = getCssDimensions(domElement);
|
|
40
|
-
let x = ($ ? round(rect.width) : rect.width) / width;
|
|
41
|
-
let y = ($ ? round(rect.height) : rect.height) / height;
|
|
42
|
-
if (!x || !Number.isFinite(x)) {
|
|
43
|
-
x = 1;
|
|
44
|
-
}
|
|
45
|
-
if (!y || !Number.isFinite(y)) {
|
|
46
|
-
y = 1;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
x,
|
|
50
|
-
y
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
__name(getScale, "getScale");
|
|
54
|
-
const noOffsets = /* @__PURE__ */ createCoords(0);
|
|
55
|
-
function getVisualOffsets(element) {
|
|
56
|
-
const win = getWindow(element);
|
|
57
|
-
if (!isWebKit() || !win.visualViewport) {
|
|
58
|
-
return noOffsets;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
x: win.visualViewport.offsetLeft,
|
|
62
|
-
y: win.visualViewport.offsetTop
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
__name(getVisualOffsets, "getVisualOffsets");
|
|
66
|
-
function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
|
|
67
|
-
if (isFixed === void 0) {
|
|
68
|
-
isFixed = false;
|
|
69
|
-
}
|
|
70
|
-
if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
|
|
71
|
-
return false;
|
|
72
|
-
}
|
|
73
|
-
return isFixed;
|
|
74
|
-
}
|
|
75
|
-
__name(shouldAddVisualOffsets, "shouldAddVisualOffsets");
|
|
76
|
-
function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
|
|
77
|
-
if (includeScale === void 0) {
|
|
78
|
-
includeScale = false;
|
|
79
|
-
}
|
|
80
|
-
if (isFixedStrategy === void 0) {
|
|
81
|
-
isFixedStrategy = false;
|
|
82
|
-
}
|
|
83
|
-
const clientRect = element.getBoundingClientRect();
|
|
84
|
-
const domElement = unwrapElement(element);
|
|
85
|
-
let scale = createCoords(1);
|
|
86
|
-
if (includeScale) {
|
|
87
|
-
if (offsetParent) {
|
|
88
|
-
if (isElement(offsetParent)) {
|
|
89
|
-
scale = getScale(offsetParent);
|
|
90
|
-
}
|
|
91
|
-
} else {
|
|
92
|
-
scale = getScale(element);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
|
|
96
|
-
let x = (clientRect.left + visualOffsets.x) / scale.x;
|
|
97
|
-
let y = (clientRect.top + visualOffsets.y) / scale.y;
|
|
98
|
-
let width = clientRect.width / scale.x;
|
|
99
|
-
let height = clientRect.height / scale.y;
|
|
100
|
-
if (domElement) {
|
|
101
|
-
const win = getWindow(domElement);
|
|
102
|
-
const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
|
|
103
|
-
let currentWin = win;
|
|
104
|
-
let currentIFrame = getFrameElement(currentWin);
|
|
105
|
-
while (currentIFrame && offsetParent && offsetWin !== currentWin) {
|
|
106
|
-
const iframeScale = getScale(currentIFrame);
|
|
107
|
-
const iframeRect = currentIFrame.getBoundingClientRect();
|
|
108
|
-
const css = getComputedStyle(currentIFrame);
|
|
109
|
-
const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
|
|
110
|
-
const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
|
|
111
|
-
x *= iframeScale.x;
|
|
112
|
-
y *= iframeScale.y;
|
|
113
|
-
width *= iframeScale.x;
|
|
114
|
-
height *= iframeScale.y;
|
|
115
|
-
x += left;
|
|
116
|
-
y += top;
|
|
117
|
-
currentWin = getWindow(currentIFrame);
|
|
118
|
-
currentIFrame = getFrameElement(currentWin);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
return rectToClientRect({
|
|
122
|
-
width,
|
|
123
|
-
height,
|
|
124
|
-
x,
|
|
125
|
-
y
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
__name(getBoundingClientRect, "getBoundingClientRect");
|
|
129
|
-
function getWindowScrollBarX(element, rect) {
|
|
130
|
-
const leftScroll = getNodeScroll(element).scrollLeft;
|
|
131
|
-
if (!rect) {
|
|
132
|
-
return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
|
|
133
|
-
}
|
|
134
|
-
return rect.left + leftScroll;
|
|
135
|
-
}
|
|
136
|
-
__name(getWindowScrollBarX, "getWindowScrollBarX");
|
|
137
|
-
function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
|
|
138
|
-
if (ignoreScrollbarX === void 0) {
|
|
139
|
-
ignoreScrollbarX = false;
|
|
140
|
-
}
|
|
141
|
-
const htmlRect = documentElement.getBoundingClientRect();
|
|
142
|
-
const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 : (
|
|
143
|
-
// RTL <body> scrollbar.
|
|
144
|
-
getWindowScrollBarX(documentElement, htmlRect)
|
|
145
|
-
));
|
|
146
|
-
const y = htmlRect.top + scroll.scrollTop;
|
|
147
|
-
return {
|
|
148
|
-
x,
|
|
149
|
-
y
|
|
150
|
-
};
|
|
151
|
-
}
|
|
152
|
-
__name(getHTMLOffset, "getHTMLOffset");
|
|
153
|
-
function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
|
|
154
|
-
let {
|
|
155
|
-
elements,
|
|
156
|
-
rect,
|
|
157
|
-
offsetParent,
|
|
158
|
-
strategy
|
|
159
|
-
} = _ref;
|
|
160
|
-
const isFixed = strategy === "fixed";
|
|
161
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
162
|
-
const topLayer = elements ? isTopLayer(elements.floating) : false;
|
|
163
|
-
if (offsetParent === documentElement || topLayer && isFixed) {
|
|
164
|
-
return rect;
|
|
165
|
-
}
|
|
166
|
-
let scroll = {
|
|
167
|
-
scrollLeft: 0,
|
|
168
|
-
scrollTop: 0
|
|
169
|
-
};
|
|
170
|
-
let scale = createCoords(1);
|
|
171
|
-
const offsets = createCoords(0);
|
|
172
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
173
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
174
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
175
|
-
scroll = getNodeScroll(offsetParent);
|
|
176
|
-
}
|
|
177
|
-
if (isHTMLElement(offsetParent)) {
|
|
178
|
-
const offsetRect = getBoundingClientRect(offsetParent);
|
|
179
|
-
scale = getScale(offsetParent);
|
|
180
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
181
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
|
|
185
|
-
return {
|
|
186
|
-
width: rect.width * scale.x,
|
|
187
|
-
height: rect.height * scale.y,
|
|
188
|
-
x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
|
|
189
|
-
y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
|
|
190
|
-
};
|
|
191
|
-
}
|
|
192
|
-
__name(convertOffsetParentRelativeRectToViewportRelativeRect, "convertOffsetParentRelativeRectToViewportRelativeRect");
|
|
193
|
-
function getClientRects(element) {
|
|
194
|
-
return Array.from(element.getClientRects());
|
|
195
|
-
}
|
|
196
|
-
__name(getClientRects, "getClientRects");
|
|
197
|
-
function getDocumentRect(element) {
|
|
198
|
-
const html = getDocumentElement(element);
|
|
199
|
-
const scroll = getNodeScroll(element);
|
|
200
|
-
const body = element.ownerDocument.body;
|
|
201
|
-
const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
|
|
202
|
-
const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
|
|
203
|
-
let x = -scroll.scrollLeft + getWindowScrollBarX(element);
|
|
204
|
-
const y = -scroll.scrollTop;
|
|
205
|
-
if (getComputedStyle(body).direction === "rtl") {
|
|
206
|
-
x += max(html.clientWidth, body.clientWidth) - width;
|
|
207
|
-
}
|
|
208
|
-
return {
|
|
209
|
-
width,
|
|
210
|
-
height,
|
|
211
|
-
x,
|
|
212
|
-
y
|
|
213
|
-
};
|
|
214
|
-
}
|
|
215
|
-
__name(getDocumentRect, "getDocumentRect");
|
|
216
|
-
function getViewportRect(element, strategy) {
|
|
217
|
-
const win = getWindow(element);
|
|
218
|
-
const html = getDocumentElement(element);
|
|
219
|
-
const visualViewport = win.visualViewport;
|
|
220
|
-
let width = html.clientWidth;
|
|
221
|
-
let height = html.clientHeight;
|
|
222
|
-
let x = 0;
|
|
223
|
-
let y = 0;
|
|
224
|
-
if (visualViewport) {
|
|
225
|
-
width = visualViewport.width;
|
|
226
|
-
height = visualViewport.height;
|
|
227
|
-
const visualViewportBased = isWebKit();
|
|
228
|
-
if (!visualViewportBased || visualViewportBased && strategy === "fixed") {
|
|
229
|
-
x = visualViewport.offsetLeft;
|
|
230
|
-
y = visualViewport.offsetTop;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
return {
|
|
234
|
-
width,
|
|
235
|
-
height,
|
|
236
|
-
x,
|
|
237
|
-
y
|
|
238
|
-
};
|
|
239
|
-
}
|
|
240
|
-
__name(getViewportRect, "getViewportRect");
|
|
241
|
-
function getInnerBoundingClientRect(element, strategy) {
|
|
242
|
-
const clientRect = getBoundingClientRect(element, true, strategy === "fixed");
|
|
243
|
-
const top = clientRect.top + element.clientTop;
|
|
244
|
-
const left = clientRect.left + element.clientLeft;
|
|
245
|
-
const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
|
|
246
|
-
const width = element.clientWidth * scale.x;
|
|
247
|
-
const height = element.clientHeight * scale.y;
|
|
248
|
-
const x = left * scale.x;
|
|
249
|
-
const y = top * scale.y;
|
|
250
|
-
return {
|
|
251
|
-
width,
|
|
252
|
-
height,
|
|
253
|
-
x,
|
|
254
|
-
y
|
|
255
|
-
};
|
|
256
|
-
}
|
|
257
|
-
__name(getInnerBoundingClientRect, "getInnerBoundingClientRect");
|
|
258
|
-
function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
|
|
259
|
-
let rect;
|
|
260
|
-
if (clippingAncestor === "viewport") {
|
|
261
|
-
rect = getViewportRect(element, strategy);
|
|
262
|
-
} else if (clippingAncestor === "document") {
|
|
263
|
-
rect = getDocumentRect(getDocumentElement(element));
|
|
264
|
-
} else if (isElement(clippingAncestor)) {
|
|
265
|
-
rect = getInnerBoundingClientRect(clippingAncestor, strategy);
|
|
266
|
-
} else {
|
|
267
|
-
const visualOffsets = getVisualOffsets(element);
|
|
268
|
-
rect = {
|
|
269
|
-
x: clippingAncestor.x - visualOffsets.x,
|
|
270
|
-
y: clippingAncestor.y - visualOffsets.y,
|
|
271
|
-
width: clippingAncestor.width,
|
|
272
|
-
height: clippingAncestor.height
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
return rectToClientRect(rect);
|
|
276
|
-
}
|
|
277
|
-
__name(getClientRectFromClippingAncestor, "getClientRectFromClippingAncestor");
|
|
278
|
-
function hasFixedPositionAncestor(element, stopNode) {
|
|
279
|
-
const parentNode = getParentNode(element);
|
|
280
|
-
if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
|
|
281
|
-
return false;
|
|
282
|
-
}
|
|
283
|
-
return getComputedStyle(parentNode).position === "fixed" || hasFixedPositionAncestor(parentNode, stopNode);
|
|
284
|
-
}
|
|
285
|
-
__name(hasFixedPositionAncestor, "hasFixedPositionAncestor");
|
|
286
|
-
function getClippingElementAncestors(element, cache) {
|
|
287
|
-
const cachedResult = cache.get(element);
|
|
288
|
-
if (cachedResult) {
|
|
289
|
-
return cachedResult;
|
|
290
|
-
}
|
|
291
|
-
let result = getOverflowAncestors(element, [], false).filter((el) => isElement(el) && getNodeName(el) !== "body");
|
|
292
|
-
let currentContainingBlockComputedStyle = null;
|
|
293
|
-
const elementIsFixed = getComputedStyle(element).position === "fixed";
|
|
294
|
-
let currentNode = elementIsFixed ? getParentNode(element) : element;
|
|
295
|
-
while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
|
|
296
|
-
const computedStyle = getComputedStyle(currentNode);
|
|
297
|
-
const currentNodeIsContaining = isContainingBlock(currentNode);
|
|
298
|
-
if (!currentNodeIsContaining && computedStyle.position === "fixed") {
|
|
299
|
-
currentContainingBlockComputedStyle = null;
|
|
300
|
-
}
|
|
301
|
-
const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === "static" && !!currentContainingBlockComputedStyle && ["absolute", "fixed"].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
|
|
302
|
-
if (shouldDropCurrentNode) {
|
|
303
|
-
result = result.filter((ancestor) => ancestor !== currentNode);
|
|
304
|
-
} else {
|
|
305
|
-
currentContainingBlockComputedStyle = computedStyle;
|
|
306
|
-
}
|
|
307
|
-
currentNode = getParentNode(currentNode);
|
|
308
|
-
}
|
|
309
|
-
cache.set(element, result);
|
|
310
|
-
return result;
|
|
311
|
-
}
|
|
312
|
-
__name(getClippingElementAncestors, "getClippingElementAncestors");
|
|
313
|
-
function getClippingRect(_ref) {
|
|
314
|
-
let {
|
|
315
|
-
element,
|
|
316
|
-
boundary,
|
|
317
|
-
rootBoundary,
|
|
318
|
-
strategy
|
|
319
|
-
} = _ref;
|
|
320
|
-
const elementClippingAncestors = boundary === "clippingAncestors" ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
|
|
321
|
-
const clippingAncestors = [...elementClippingAncestors, rootBoundary];
|
|
322
|
-
const firstClippingAncestor = clippingAncestors[0];
|
|
323
|
-
const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
|
|
324
|
-
const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
|
|
325
|
-
accRect.top = max(rect.top, accRect.top);
|
|
326
|
-
accRect.right = min(rect.right, accRect.right);
|
|
327
|
-
accRect.bottom = min(rect.bottom, accRect.bottom);
|
|
328
|
-
accRect.left = max(rect.left, accRect.left);
|
|
329
|
-
return accRect;
|
|
330
|
-
}, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
|
|
331
|
-
return {
|
|
332
|
-
width: clippingRect.right - clippingRect.left,
|
|
333
|
-
height: clippingRect.bottom - clippingRect.top,
|
|
334
|
-
x: clippingRect.left,
|
|
335
|
-
y: clippingRect.top
|
|
336
|
-
};
|
|
337
|
-
}
|
|
338
|
-
__name(getClippingRect, "getClippingRect");
|
|
339
|
-
function getDimensions(element) {
|
|
340
|
-
const {
|
|
341
|
-
width,
|
|
342
|
-
height
|
|
343
|
-
} = getCssDimensions(element);
|
|
344
|
-
return {
|
|
345
|
-
width,
|
|
346
|
-
height
|
|
347
|
-
};
|
|
348
|
-
}
|
|
349
|
-
__name(getDimensions, "getDimensions");
|
|
350
|
-
function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
|
|
351
|
-
const isOffsetParentAnElement = isHTMLElement(offsetParent);
|
|
352
|
-
const documentElement = getDocumentElement(offsetParent);
|
|
353
|
-
const isFixed = strategy === "fixed";
|
|
354
|
-
const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
|
|
355
|
-
let scroll = {
|
|
356
|
-
scrollLeft: 0,
|
|
357
|
-
scrollTop: 0
|
|
358
|
-
};
|
|
359
|
-
const offsets = createCoords(0);
|
|
360
|
-
function setLeftRTLScrollbarOffset() {
|
|
361
|
-
offsets.x = getWindowScrollBarX(documentElement);
|
|
362
|
-
}
|
|
363
|
-
__name(setLeftRTLScrollbarOffset, "setLeftRTLScrollbarOffset");
|
|
364
|
-
if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
|
|
365
|
-
if (getNodeName(offsetParent) !== "body" || isOverflowElement(documentElement)) {
|
|
366
|
-
scroll = getNodeScroll(offsetParent);
|
|
367
|
-
}
|
|
368
|
-
if (isOffsetParentAnElement) {
|
|
369
|
-
const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
|
|
370
|
-
offsets.x = offsetRect.x + offsetParent.clientLeft;
|
|
371
|
-
offsets.y = offsetRect.y + offsetParent.clientTop;
|
|
372
|
-
} else if (documentElement) {
|
|
373
|
-
setLeftRTLScrollbarOffset();
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
if (isFixed && !isOffsetParentAnElement && documentElement) {
|
|
377
|
-
setLeftRTLScrollbarOffset();
|
|
378
|
-
}
|
|
379
|
-
const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
|
|
380
|
-
const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
|
|
381
|
-
const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
|
|
382
|
-
return {
|
|
383
|
-
x,
|
|
384
|
-
y,
|
|
385
|
-
width: rect.width,
|
|
386
|
-
height: rect.height
|
|
387
|
-
};
|
|
388
|
-
}
|
|
389
|
-
__name(getRectRelativeToOffsetParent, "getRectRelativeToOffsetParent");
|
|
390
|
-
function isStaticPositioned(element) {
|
|
391
|
-
return getComputedStyle(element).position === "static";
|
|
392
|
-
}
|
|
393
|
-
__name(isStaticPositioned, "isStaticPositioned");
|
|
394
|
-
function getTrueOffsetParent(element, polyfill) {
|
|
395
|
-
if (!isHTMLElement(element) || getComputedStyle(element).position === "fixed") {
|
|
396
|
-
return null;
|
|
397
|
-
}
|
|
398
|
-
if (polyfill) {
|
|
399
|
-
return polyfill(element);
|
|
400
|
-
}
|
|
401
|
-
let rawOffsetParent = element.offsetParent;
|
|
402
|
-
if (getDocumentElement(element) === rawOffsetParent) {
|
|
403
|
-
rawOffsetParent = rawOffsetParent.ownerDocument.body;
|
|
404
|
-
}
|
|
405
|
-
return rawOffsetParent;
|
|
406
|
-
}
|
|
407
|
-
__name(getTrueOffsetParent, "getTrueOffsetParent");
|
|
408
|
-
function getOffsetParent(element, polyfill) {
|
|
409
|
-
const win = getWindow(element);
|
|
410
|
-
if (isTopLayer(element)) {
|
|
411
|
-
return win;
|
|
412
|
-
}
|
|
413
|
-
if (!isHTMLElement(element)) {
|
|
414
|
-
let svgOffsetParent = getParentNode(element);
|
|
415
|
-
while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
|
|
416
|
-
if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
|
|
417
|
-
return svgOffsetParent;
|
|
418
|
-
}
|
|
419
|
-
svgOffsetParent = getParentNode(svgOffsetParent);
|
|
420
|
-
}
|
|
421
|
-
return win;
|
|
422
|
-
}
|
|
423
|
-
let offsetParent = getTrueOffsetParent(element, polyfill);
|
|
424
|
-
while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
|
|
425
|
-
offsetParent = getTrueOffsetParent(offsetParent, polyfill);
|
|
426
|
-
}
|
|
427
|
-
if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
|
|
428
|
-
return win;
|
|
429
|
-
}
|
|
430
|
-
return offsetParent || getContainingBlock(element) || win;
|
|
431
|
-
}
|
|
432
|
-
__name(getOffsetParent, "getOffsetParent");
|
|
433
|
-
const getElementRects = /* @__PURE__ */ __name(async function(data) {
|
|
434
|
-
const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
|
|
435
|
-
const getDimensionsFn = this.getDimensions;
|
|
436
|
-
const floatingDimensions = await getDimensionsFn(data.floating);
|
|
437
|
-
return {
|
|
438
|
-
reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
|
|
439
|
-
floating: {
|
|
440
|
-
x: 0,
|
|
441
|
-
y: 0,
|
|
442
|
-
width: floatingDimensions.width,
|
|
443
|
-
height: floatingDimensions.height
|
|
444
|
-
}
|
|
445
|
-
};
|
|
446
|
-
}, "getElementRects");
|
|
447
|
-
function isRTL(element) {
|
|
448
|
-
return getComputedStyle(element).direction === "rtl";
|
|
449
|
-
}
|
|
450
|
-
__name(isRTL, "isRTL");
|
|
451
|
-
const platform = {
|
|
452
|
-
convertOffsetParentRelativeRectToViewportRelativeRect,
|
|
453
|
-
getDocumentElement,
|
|
454
|
-
getClippingRect,
|
|
455
|
-
getOffsetParent,
|
|
456
|
-
getElementRects,
|
|
457
|
-
getClientRects,
|
|
458
|
-
getDimensions,
|
|
459
|
-
getScale,
|
|
460
|
-
isElement,
|
|
461
|
-
isRTL
|
|
462
|
-
};
|
|
463
|
-
function rectsAreEqual(a, b) {
|
|
464
|
-
return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;
|
|
465
|
-
}
|
|
466
|
-
__name(rectsAreEqual, "rectsAreEqual");
|
|
467
|
-
function observeMove(element, onMove) {
|
|
468
|
-
let io = null;
|
|
469
|
-
let timeoutId;
|
|
470
|
-
const root = getDocumentElement(element);
|
|
471
|
-
function cleanup() {
|
|
472
|
-
var _io;
|
|
473
|
-
clearTimeout(timeoutId);
|
|
474
|
-
(_io = io) == null || _io.disconnect();
|
|
475
|
-
io = null;
|
|
476
|
-
}
|
|
477
|
-
__name(cleanup, "cleanup");
|
|
478
|
-
function refresh(skip, threshold) {
|
|
479
|
-
if (skip === void 0) {
|
|
480
|
-
skip = false;
|
|
481
|
-
}
|
|
482
|
-
if (threshold === void 0) {
|
|
483
|
-
threshold = 1;
|
|
484
|
-
}
|
|
485
|
-
cleanup();
|
|
486
|
-
const elementRectForRootMargin = element.getBoundingClientRect();
|
|
487
|
-
const {
|
|
488
|
-
left,
|
|
489
|
-
top,
|
|
490
|
-
width,
|
|
491
|
-
height
|
|
492
|
-
} = elementRectForRootMargin;
|
|
493
|
-
if (!skip) {
|
|
494
|
-
onMove();
|
|
495
|
-
}
|
|
496
|
-
if (!width || !height) {
|
|
497
|
-
return;
|
|
498
|
-
}
|
|
499
|
-
const insetTop = floor(top);
|
|
500
|
-
const insetRight = floor(root.clientWidth - (left + width));
|
|
501
|
-
const insetBottom = floor(root.clientHeight - (top + height));
|
|
502
|
-
const insetLeft = floor(left);
|
|
503
|
-
const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
|
|
504
|
-
const options = {
|
|
505
|
-
rootMargin,
|
|
506
|
-
threshold: max(0, min(1, threshold)) || 1
|
|
507
|
-
};
|
|
508
|
-
let isFirstUpdate = true;
|
|
509
|
-
function handleObserve(entries) {
|
|
510
|
-
const ratio = entries[0].intersectionRatio;
|
|
511
|
-
if (ratio !== threshold) {
|
|
512
|
-
if (!isFirstUpdate) {
|
|
513
|
-
return refresh();
|
|
514
|
-
}
|
|
515
|
-
if (!ratio) {
|
|
516
|
-
timeoutId = setTimeout(() => {
|
|
517
|
-
refresh(false, 1e-7);
|
|
518
|
-
}, 1e3);
|
|
519
|
-
} else {
|
|
520
|
-
refresh(false, ratio);
|
|
521
|
-
}
|
|
522
|
-
}
|
|
523
|
-
if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {
|
|
524
|
-
refresh();
|
|
525
|
-
}
|
|
526
|
-
isFirstUpdate = false;
|
|
527
|
-
}
|
|
528
|
-
__name(handleObserve, "handleObserve");
|
|
529
|
-
try {
|
|
530
|
-
io = new IntersectionObserver(handleObserve, {
|
|
531
|
-
...options,
|
|
532
|
-
// Handle <iframe>s
|
|
533
|
-
root: root.ownerDocument
|
|
534
|
-
});
|
|
535
|
-
} catch (_e) {
|
|
536
|
-
io = new IntersectionObserver(handleObserve, options);
|
|
537
|
-
}
|
|
538
|
-
io.observe(element);
|
|
539
|
-
}
|
|
540
|
-
__name(refresh, "refresh");
|
|
541
|
-
refresh(true);
|
|
542
|
-
return cleanup;
|
|
543
|
-
}
|
|
544
|
-
__name(observeMove, "observeMove");
|
|
545
|
-
function autoUpdate(reference, floating, update, options) {
|
|
546
|
-
if (options === void 0) {
|
|
547
|
-
options = {};
|
|
548
|
-
}
|
|
549
|
-
const {
|
|
550
|
-
ancestorScroll = true,
|
|
551
|
-
ancestorResize = true,
|
|
552
|
-
elementResize = typeof ResizeObserver === "function",
|
|
553
|
-
layoutShift = typeof IntersectionObserver === "function",
|
|
554
|
-
animationFrame = false
|
|
555
|
-
} = options;
|
|
556
|
-
const referenceEl = unwrapElement(reference);
|
|
557
|
-
const ancestors = ancestorScroll || ancestorResize ? [...referenceEl ? getOverflowAncestors(referenceEl) : [], ...getOverflowAncestors(floating)] : [];
|
|
558
|
-
ancestors.forEach((ancestor) => {
|
|
559
|
-
ancestorScroll && ancestor.addEventListener("scroll", update, {
|
|
560
|
-
passive: true
|
|
561
|
-
});
|
|
562
|
-
ancestorResize && ancestor.addEventListener("resize", update);
|
|
563
|
-
});
|
|
564
|
-
const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
|
|
565
|
-
let reobserveFrame = -1;
|
|
566
|
-
let resizeObserver = null;
|
|
567
|
-
if (elementResize) {
|
|
568
|
-
resizeObserver = new ResizeObserver((_ref) => {
|
|
569
|
-
let [firstEntry] = _ref;
|
|
570
|
-
if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
|
|
571
|
-
resizeObserver.unobserve(floating);
|
|
572
|
-
cancelAnimationFrame(reobserveFrame);
|
|
573
|
-
reobserveFrame = requestAnimationFrame(() => {
|
|
574
|
-
var _resizeObserver;
|
|
575
|
-
(_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
|
|
576
|
-
});
|
|
577
|
-
}
|
|
578
|
-
update();
|
|
579
|
-
});
|
|
580
|
-
if (referenceEl && !animationFrame) {
|
|
581
|
-
resizeObserver.observe(referenceEl);
|
|
582
|
-
}
|
|
583
|
-
resizeObserver.observe(floating);
|
|
584
|
-
}
|
|
585
|
-
let frameId;
|
|
586
|
-
let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
|
|
587
|
-
if (animationFrame) {
|
|
588
|
-
frameLoop();
|
|
589
|
-
}
|
|
590
|
-
function frameLoop() {
|
|
591
|
-
const nextRefRect = getBoundingClientRect(reference);
|
|
592
|
-
if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {
|
|
593
|
-
update();
|
|
594
|
-
}
|
|
595
|
-
prevRefRect = nextRefRect;
|
|
596
|
-
frameId = requestAnimationFrame(frameLoop);
|
|
597
|
-
}
|
|
598
|
-
__name(frameLoop, "frameLoop");
|
|
599
|
-
update();
|
|
600
|
-
return () => {
|
|
601
|
-
var _resizeObserver2;
|
|
602
|
-
ancestors.forEach((ancestor) => {
|
|
603
|
-
ancestorScroll && ancestor.removeEventListener("scroll", update);
|
|
604
|
-
ancestorResize && ancestor.removeEventListener("resize", update);
|
|
605
|
-
});
|
|
606
|
-
cleanupIo == null || cleanupIo();
|
|
607
|
-
(_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
|
|
608
|
-
resizeObserver = null;
|
|
609
|
-
if (animationFrame) {
|
|
610
|
-
cancelAnimationFrame(frameId);
|
|
611
|
-
}
|
|
612
|
-
};
|
|
613
|
-
}
|
|
614
|
-
__name(autoUpdate, "autoUpdate");
|
|
615
|
-
const offset = offset$1;
|
|
616
|
-
const shift = shift$1;
|
|
617
|
-
const flip = flip$1;
|
|
618
|
-
const computePosition = /* @__PURE__ */ __name((reference, floating, options) => {
|
|
619
|
-
const cache = /* @__PURE__ */ new Map();
|
|
620
|
-
const mergedOptions = {
|
|
621
|
-
platform,
|
|
622
|
-
...options
|
|
623
|
-
};
|
|
624
|
-
const platformWithCache = {
|
|
625
|
-
...mergedOptions.platform,
|
|
626
|
-
_c: cache
|
|
627
|
-
};
|
|
628
|
-
return computePosition$1(reference, floating, {
|
|
629
|
-
...mergedOptions,
|
|
630
|
-
platform: platformWithCache
|
|
631
|
-
});
|
|
632
|
-
}, "computePosition");
|
|
633
|
-
export {
|
|
634
|
-
autoUpdate,
|
|
635
|
-
computePosition,
|
|
636
|
-
flip,
|
|
637
|
-
getOverflowAncestors,
|
|
638
|
-
offset,
|
|
639
|
-
platform,
|
|
640
|
-
shift
|
|
641
|
-
};
|