@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,225 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import PropTypes from "../../../../../../../_virtual/index.js";
|
|
5
|
-
import { useFloating, offset, flip, shift } from "../../../../../@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";
|
|
6
|
-
import { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
|
|
7
|
-
import { getPopupUtilityClass } from "./popupClasses.js";
|
|
8
|
-
import { PopupContext } from "./PopupContext.js";
|
|
9
|
-
import { jsx } from "react/jsx-runtime";
|
|
10
|
-
import useForkRef from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
|
|
11
|
-
import useEnhancedEffect from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js";
|
|
12
|
-
import { autoUpdate } from "../../../../../@floating-ui_dom@1.7.0/node_modules/@floating-ui/dom/dist/floating-ui.dom.js";
|
|
13
|
-
import { useTransitionTrigger } from "../useTransition/useTransitionTrigger.js";
|
|
14
|
-
import useSlotProps from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useSlotProps/useSlotProps.js";
|
|
15
|
-
import { Portal } from "../Portal/Portal.js";
|
|
16
|
-
import { TransitionContext } from "../useTransition/TransitionContext.js";
|
|
17
|
-
import composeClasses from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/composeClasses/composeClasses.js";
|
|
18
|
-
import HTMLElementType from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/HTMLElementType/HTMLElementType.js";
|
|
19
|
-
function useUtilityClasses(ownerState) {
|
|
20
|
-
const {
|
|
21
|
-
open
|
|
22
|
-
} = ownerState;
|
|
23
|
-
const slots = {
|
|
24
|
-
root: ["root", open && "open"]
|
|
25
|
-
};
|
|
26
|
-
return composeClasses(slots, useClassNamesOverride(getPopupUtilityClass));
|
|
27
|
-
}
|
|
28
|
-
__name(useUtilityClasses, "useUtilityClasses");
|
|
29
|
-
function resolveAnchor(anchor) {
|
|
30
|
-
return typeof anchor === "function" ? anchor() : anchor;
|
|
31
|
-
}
|
|
32
|
-
__name(resolveAnchor, "resolveAnchor");
|
|
33
|
-
const Popup = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function Popup2(props, forwardedRef) {
|
|
34
|
-
const {
|
|
35
|
-
anchor: anchorProp,
|
|
36
|
-
children,
|
|
37
|
-
container,
|
|
38
|
-
disablePortal = false,
|
|
39
|
-
keepMounted = false,
|
|
40
|
-
middleware,
|
|
41
|
-
offset: offsetProp = 0,
|
|
42
|
-
open = false,
|
|
43
|
-
placement = "bottom",
|
|
44
|
-
slotProps = {},
|
|
45
|
-
slots = {},
|
|
46
|
-
strategy = "absolute",
|
|
47
|
-
...other
|
|
48
|
-
} = props;
|
|
49
|
-
const {
|
|
50
|
-
refs,
|
|
51
|
-
elements,
|
|
52
|
-
floatingStyles,
|
|
53
|
-
update,
|
|
54
|
-
placement: finalPlacement
|
|
55
|
-
} = useFloating({
|
|
56
|
-
elements: {
|
|
57
|
-
reference: resolveAnchor(anchorProp)
|
|
58
|
-
},
|
|
59
|
-
open,
|
|
60
|
-
middleware: middleware ?? [offset(offsetProp ?? 0), flip(), shift()],
|
|
61
|
-
placement,
|
|
62
|
-
strategy,
|
|
63
|
-
whileElementsMounted: !keepMounted ? autoUpdate : void 0
|
|
64
|
-
});
|
|
65
|
-
const handleRef = useForkRef(refs.setFloating, forwardedRef);
|
|
66
|
-
useEnhancedEffect(() => {
|
|
67
|
-
if (keepMounted && open && elements.reference && elements.floating) {
|
|
68
|
-
const cleanup = autoUpdate(elements.reference, elements.floating, update);
|
|
69
|
-
return cleanup;
|
|
70
|
-
}
|
|
71
|
-
return void 0;
|
|
72
|
-
}, [keepMounted, open, elements, update]);
|
|
73
|
-
const ownerState = {
|
|
74
|
-
...props,
|
|
75
|
-
disablePortal,
|
|
76
|
-
keepMounted,
|
|
77
|
-
offset,
|
|
78
|
-
open,
|
|
79
|
-
placement,
|
|
80
|
-
finalPlacement,
|
|
81
|
-
strategy
|
|
82
|
-
};
|
|
83
|
-
const {
|
|
84
|
-
contextValue,
|
|
85
|
-
hasExited: hasTransitionExited
|
|
86
|
-
} = useTransitionTrigger(open);
|
|
87
|
-
const visibility = keepMounted && hasTransitionExited ? "hidden" : void 0;
|
|
88
|
-
const classes = useUtilityClasses(ownerState);
|
|
89
|
-
const Root = (slots == null ? void 0 : slots.root) ?? "div";
|
|
90
|
-
const rootProps = useSlotProps({
|
|
91
|
-
elementType: Root,
|
|
92
|
-
externalSlotProps: slotProps.root,
|
|
93
|
-
externalForwardedProps: other,
|
|
94
|
-
ownerState,
|
|
95
|
-
className: classes.root,
|
|
96
|
-
additionalProps: {
|
|
97
|
-
ref: handleRef,
|
|
98
|
-
role: "tooltip",
|
|
99
|
-
style: {
|
|
100
|
-
...floatingStyles,
|
|
101
|
-
visibility
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
const popupContextValue = React.useMemo(() => ({
|
|
106
|
-
placement: finalPlacement
|
|
107
|
-
}), [finalPlacement]);
|
|
108
|
-
const shouldRender = keepMounted || !hasTransitionExited;
|
|
109
|
-
if (!shouldRender) {
|
|
110
|
-
return null;
|
|
111
|
-
}
|
|
112
|
-
return /* @__PURE__ */ jsx(Portal, {
|
|
113
|
-
disablePortal,
|
|
114
|
-
container,
|
|
115
|
-
children: /* @__PURE__ */ jsx(PopupContext.Provider, {
|
|
116
|
-
value: popupContextValue,
|
|
117
|
-
children: /* @__PURE__ */ jsx(TransitionContext.Provider, {
|
|
118
|
-
value: contextValue,
|
|
119
|
-
children: /* @__PURE__ */ jsx(Root, {
|
|
120
|
-
...rootProps,
|
|
121
|
-
children
|
|
122
|
-
})
|
|
123
|
-
})
|
|
124
|
-
})
|
|
125
|
-
});
|
|
126
|
-
}, "Popup"));
|
|
127
|
-
process.env.NODE_ENV !== "production" ? Popup.propTypes = {
|
|
128
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
129
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
130
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
131
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
132
|
-
/**
|
|
133
|
-
* An HTML element, [virtual element](https://floating-ui.com/docs/virtual-elements),
|
|
134
|
-
* or a function that returns either.
|
|
135
|
-
* It's used to set the position of the popup.
|
|
136
|
-
*/
|
|
137
|
-
anchor: PropTypes.oneOfType([HTMLElementType, PropTypes.object, PropTypes.func]),
|
|
138
|
-
/**
|
|
139
|
-
* @ignore
|
|
140
|
-
*/
|
|
141
|
-
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func]),
|
|
142
|
-
/**
|
|
143
|
-
* An HTML element or function that returns one. The container will have the portal children appended to it.
|
|
144
|
-
* By default, it uses the body of the top-level document object, so it's `document.body` in these cases.
|
|
145
|
-
*/
|
|
146
|
-
container: PropTypes.oneOfType([HTMLElementType, PropTypes.func]),
|
|
147
|
-
/**
|
|
148
|
-
* If `true`, the popup will be rendered where it is defined, without the use of portals.
|
|
149
|
-
* @default false
|
|
150
|
-
*/
|
|
151
|
-
disablePortal: PropTypes.bool,
|
|
152
|
-
/**
|
|
153
|
-
* If `true`, the popup will exist in the DOM even if it's closed.
|
|
154
|
-
* Its visibility will be controlled by the `visibility` CSS property.
|
|
155
|
-
*
|
|
156
|
-
* Otherwise, a closed popup will be removed from the DOM.
|
|
157
|
-
*
|
|
158
|
-
* @default false
|
|
159
|
-
*/
|
|
160
|
-
keepMounted: PropTypes.bool,
|
|
161
|
-
/**
|
|
162
|
-
* Collection of Floating UI middleware to use when positioning the popup.
|
|
163
|
-
* If not provided, the [`offset`](https://floating-ui.com/docs/offset)
|
|
164
|
-
* and [`flip`](https://floating-ui.com/docs/flip) functions will be used.
|
|
165
|
-
*
|
|
166
|
-
* @see https://floating-ui.com/docs/computePosition#middleware
|
|
167
|
-
*/
|
|
168
|
-
middleware: PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.oneOf([false]), PropTypes.shape({
|
|
169
|
-
fn: PropTypes.func.isRequired,
|
|
170
|
-
name: PropTypes.string.isRequired,
|
|
171
|
-
options: PropTypes.any
|
|
172
|
-
})])),
|
|
173
|
-
/**
|
|
174
|
-
* Distance between a popup and the trigger element.
|
|
175
|
-
* This prop is ignored when custom `middleware` is provided.
|
|
176
|
-
*
|
|
177
|
-
* @default 0
|
|
178
|
-
* @see https://floating-ui.com/docs/offset
|
|
179
|
-
*/
|
|
180
|
-
offset: PropTypes.oneOfType([PropTypes.func, PropTypes.number, PropTypes.shape({
|
|
181
|
-
alignmentAxis: PropTypes.number,
|
|
182
|
-
crossAxis: PropTypes.number,
|
|
183
|
-
mainAxis: PropTypes.number
|
|
184
|
-
})]),
|
|
185
|
-
/**
|
|
186
|
-
* If `true`, the popup is visible.
|
|
187
|
-
*
|
|
188
|
-
* @default false
|
|
189
|
-
*/
|
|
190
|
-
open: PropTypes.bool,
|
|
191
|
-
/**
|
|
192
|
-
* Determines where to place the popup relative to the trigger element.
|
|
193
|
-
*
|
|
194
|
-
* @default 'bottom'
|
|
195
|
-
* @see https://floating-ui.com/docs/computePosition#placement
|
|
196
|
-
*/
|
|
197
|
-
placement: PropTypes.oneOf(["bottom-end", "bottom-start", "bottom", "left-end", "left-start", "left", "right-end", "right-start", "right", "top-end", "top-start", "top"]),
|
|
198
|
-
/**
|
|
199
|
-
* The props used for each slot inside the Popup.
|
|
200
|
-
*
|
|
201
|
-
* @default {}
|
|
202
|
-
*/
|
|
203
|
-
slotProps: PropTypes.shape({
|
|
204
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
205
|
-
}),
|
|
206
|
-
/**
|
|
207
|
-
* The components used for each slot inside the Popup.
|
|
208
|
-
* Either a string to use a HTML element or a component.
|
|
209
|
-
*
|
|
210
|
-
* @default {}
|
|
211
|
-
*/
|
|
212
|
-
slots: PropTypes.shape({
|
|
213
|
-
root: PropTypes.elementType
|
|
214
|
-
}),
|
|
215
|
-
/**
|
|
216
|
-
* The type of CSS position property to use (absolute or fixed).
|
|
217
|
-
*
|
|
218
|
-
* @default 'absolute'
|
|
219
|
-
* @see https://floating-ui.com/docs/computePosition#strategy
|
|
220
|
-
*/
|
|
221
|
-
strategy: PropTypes.oneOf(["absolute", "fixed"])
|
|
222
|
-
} : void 0;
|
|
223
|
-
export {
|
|
224
|
-
Popup
|
|
225
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { generateUtilityClass } from "../generateUtilityClass/index.js";
|
|
4
|
-
import { generateUtilityClasses } from "../generateUtilityClasses/index.js";
|
|
5
|
-
const COMPONENT_NAME = "Popup";
|
|
6
|
-
function getPopupUtilityClass(slot) {
|
|
7
|
-
return generateUtilityClass(COMPONENT_NAME, slot);
|
|
8
|
-
}
|
|
9
|
-
__name(getPopupUtilityClass, "getPopupUtilityClass");
|
|
10
|
-
generateUtilityClasses(COMPONENT_NAME, ["root", "open"]);
|
|
11
|
-
export {
|
|
12
|
-
getPopupUtilityClass
|
|
13
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { globalStateClasses } from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/generateUtilityClass/generateUtilityClass.js";
|
|
4
|
-
const GLOBAL_CLASS_PREFIX = "base";
|
|
5
|
-
function buildStateClass(state) {
|
|
6
|
-
return `${GLOBAL_CLASS_PREFIX}--${state}`;
|
|
7
|
-
}
|
|
8
|
-
__name(buildStateClass, "buildStateClass");
|
|
9
|
-
function buildSlotClass(componentName, slot) {
|
|
10
|
-
return `${GLOBAL_CLASS_PREFIX}-${componentName}-${slot}`;
|
|
11
|
-
}
|
|
12
|
-
__name(buildSlotClass, "buildSlotClass");
|
|
13
|
-
function generateUtilityClass(componentName, slot) {
|
|
14
|
-
const globalStateClass = globalStateClasses[slot];
|
|
15
|
-
return globalStateClass ? buildStateClass(globalStateClass) : buildSlotClass(componentName, slot);
|
|
16
|
-
}
|
|
17
|
-
__name(generateUtilityClass, "generateUtilityClass");
|
|
18
|
-
export {
|
|
19
|
-
generateUtilityClass
|
|
20
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { generateUtilityClass } from "../generateUtilityClass/index.js";
|
|
4
|
-
function generateUtilityClasses(componentName, slots) {
|
|
5
|
-
const result = {};
|
|
6
|
-
slots.forEach((slot) => {
|
|
7
|
-
result[slot] = generateUtilityClass(componentName, slot);
|
|
8
|
-
});
|
|
9
|
-
return result;
|
|
10
|
-
}
|
|
11
|
-
__name(generateUtilityClasses, "generateUtilityClasses");
|
|
12
|
-
export {
|
|
13
|
-
generateUtilityClasses
|
|
14
|
-
};
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { useRootElementName } from "../utils/useRootElementName.js";
|
|
5
|
-
import useForkRef from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useForkRef/useForkRef.js";
|
|
6
|
-
import extractEventHandlers from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/extractEventHandlers/extractEventHandlers.js";
|
|
7
|
-
import isFocusVisible from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/isFocusVisible/isFocusVisible.js";
|
|
8
|
-
function useButton(parameters = {}) {
|
|
9
|
-
const {
|
|
10
|
-
disabled = false,
|
|
11
|
-
focusableWhenDisabled,
|
|
12
|
-
href,
|
|
13
|
-
rootRef: externalRef,
|
|
14
|
-
tabIndex,
|
|
15
|
-
to,
|
|
16
|
-
type,
|
|
17
|
-
rootElementName: rootElementNameProp
|
|
18
|
-
} = parameters;
|
|
19
|
-
const buttonRef = React.useRef(null);
|
|
20
|
-
const [active, setActive] = React.useState(false);
|
|
21
|
-
const [focusVisible, setFocusVisible] = React.useState(false);
|
|
22
|
-
if (disabled && !focusableWhenDisabled && focusVisible) {
|
|
23
|
-
setFocusVisible(false);
|
|
24
|
-
}
|
|
25
|
-
const [rootElementName, updateRootElementName] = useRootElementName({
|
|
26
|
-
rootElementName: rootElementNameProp ?? (href || to ? "a" : void 0),
|
|
27
|
-
componentName: "Button"
|
|
28
|
-
});
|
|
29
|
-
const createHandleMouseLeave = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
30
|
-
var _a;
|
|
31
|
-
if (focusVisible) {
|
|
32
|
-
event.preventDefault();
|
|
33
|
-
}
|
|
34
|
-
(_a = otherHandlers.onMouseLeave) == null ? void 0 : _a.call(otherHandlers, event);
|
|
35
|
-
}, "createHandleMouseLeave");
|
|
36
|
-
const createHandleBlur = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
37
|
-
var _a;
|
|
38
|
-
if (!isFocusVisible(event.target)) {
|
|
39
|
-
setFocusVisible(false);
|
|
40
|
-
}
|
|
41
|
-
(_a = otherHandlers.onBlur) == null ? void 0 : _a.call(otherHandlers, event);
|
|
42
|
-
}, "createHandleBlur");
|
|
43
|
-
const createHandleFocus = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
44
|
-
var _a, _b;
|
|
45
|
-
if (!buttonRef.current) {
|
|
46
|
-
buttonRef.current = event.currentTarget;
|
|
47
|
-
}
|
|
48
|
-
if (isFocusVisible(event.target)) {
|
|
49
|
-
setFocusVisible(true);
|
|
50
|
-
(_a = otherHandlers.onFocusVisible) == null ? void 0 : _a.call(otherHandlers, event);
|
|
51
|
-
}
|
|
52
|
-
(_b = otherHandlers.onFocus) == null ? void 0 : _b.call(otherHandlers, event);
|
|
53
|
-
}, "createHandleFocus");
|
|
54
|
-
const isNativeButton = /* @__PURE__ */ __name(() => {
|
|
55
|
-
const button = buttonRef.current;
|
|
56
|
-
return rootElementName === "BUTTON" || rootElementName === "INPUT" && ["button", "submit", "reset"].includes(button == null ? void 0 : button.type) || rootElementName === "A" && (button == null ? void 0 : button.href);
|
|
57
|
-
}, "isNativeButton");
|
|
58
|
-
const createHandleClick = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
59
|
-
var _a;
|
|
60
|
-
if (!disabled) {
|
|
61
|
-
(_a = otherHandlers.onClick) == null ? void 0 : _a.call(otherHandlers, event);
|
|
62
|
-
}
|
|
63
|
-
}, "createHandleClick");
|
|
64
|
-
const createHandleMouseDown = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
65
|
-
var _a;
|
|
66
|
-
if (!disabled) {
|
|
67
|
-
setActive(true);
|
|
68
|
-
document.addEventListener("mouseup", () => {
|
|
69
|
-
setActive(false);
|
|
70
|
-
}, {
|
|
71
|
-
once: true
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
(_a = otherHandlers.onMouseDown) == null ? void 0 : _a.call(otherHandlers, event);
|
|
75
|
-
}, "createHandleMouseDown");
|
|
76
|
-
const createHandleKeyDown = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
77
|
-
var _a, _b;
|
|
78
|
-
(_a = otherHandlers.onKeyDown) == null ? void 0 : _a.call(otherHandlers, event);
|
|
79
|
-
if (event.defaultMuiPrevented) {
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
if (event.target === event.currentTarget && !isNativeButton() && event.key === " ") {
|
|
83
|
-
event.preventDefault();
|
|
84
|
-
}
|
|
85
|
-
if (event.target === event.currentTarget && event.key === " " && !disabled) {
|
|
86
|
-
setActive(true);
|
|
87
|
-
}
|
|
88
|
-
if (event.target === event.currentTarget && !isNativeButton() && event.key === "Enter" && !disabled) {
|
|
89
|
-
(_b = otherHandlers.onClick) == null ? void 0 : _b.call(otherHandlers, event);
|
|
90
|
-
event.preventDefault();
|
|
91
|
-
}
|
|
92
|
-
}, "createHandleKeyDown");
|
|
93
|
-
const createHandleKeyUp = /* @__PURE__ */ __name((otherHandlers) => (event) => {
|
|
94
|
-
var _a, _b;
|
|
95
|
-
if (event.target === event.currentTarget) {
|
|
96
|
-
setActive(false);
|
|
97
|
-
}
|
|
98
|
-
(_a = otherHandlers.onKeyUp) == null ? void 0 : _a.call(otherHandlers, event);
|
|
99
|
-
if (event.target === event.currentTarget && !isNativeButton() && !disabled && event.key === " " && !event.defaultMuiPrevented) {
|
|
100
|
-
(_b = otherHandlers.onClick) == null ? void 0 : _b.call(otherHandlers, event);
|
|
101
|
-
}
|
|
102
|
-
}, "createHandleKeyUp");
|
|
103
|
-
const handleRef = useForkRef(updateRootElementName, externalRef, buttonRef);
|
|
104
|
-
const buttonProps = {};
|
|
105
|
-
if (tabIndex !== void 0) {
|
|
106
|
-
buttonProps.tabIndex = tabIndex;
|
|
107
|
-
}
|
|
108
|
-
if (rootElementName === "BUTTON") {
|
|
109
|
-
buttonProps.type = type ?? "button";
|
|
110
|
-
if (focusableWhenDisabled) {
|
|
111
|
-
buttonProps["aria-disabled"] = disabled;
|
|
112
|
-
} else {
|
|
113
|
-
buttonProps.disabled = disabled;
|
|
114
|
-
}
|
|
115
|
-
} else if (rootElementName === "INPUT") {
|
|
116
|
-
if (type && ["button", "submit", "reset"].includes(type)) {
|
|
117
|
-
if (focusableWhenDisabled) {
|
|
118
|
-
buttonProps["aria-disabled"] = disabled;
|
|
119
|
-
} else {
|
|
120
|
-
buttonProps.disabled = disabled;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
} else if (rootElementName !== "") {
|
|
124
|
-
if (!href && !to) {
|
|
125
|
-
buttonProps.role = "button";
|
|
126
|
-
buttonProps.tabIndex = tabIndex ?? 0;
|
|
127
|
-
}
|
|
128
|
-
if (disabled) {
|
|
129
|
-
buttonProps["aria-disabled"] = disabled;
|
|
130
|
-
buttonProps.tabIndex = focusableWhenDisabled ? tabIndex ?? 0 : -1;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
const getRootProps = /* @__PURE__ */ __name((externalProps = {}) => {
|
|
134
|
-
const externalEventHandlers = {
|
|
135
|
-
...extractEventHandlers(parameters),
|
|
136
|
-
...extractEventHandlers(externalProps)
|
|
137
|
-
};
|
|
138
|
-
const props = {
|
|
139
|
-
type,
|
|
140
|
-
...externalEventHandlers,
|
|
141
|
-
...buttonProps,
|
|
142
|
-
...externalProps,
|
|
143
|
-
onBlur: createHandleBlur(externalEventHandlers),
|
|
144
|
-
onClick: createHandleClick(externalEventHandlers),
|
|
145
|
-
onFocus: createHandleFocus(externalEventHandlers),
|
|
146
|
-
onKeyDown: createHandleKeyDown(externalEventHandlers),
|
|
147
|
-
onKeyUp: createHandleKeyUp(externalEventHandlers),
|
|
148
|
-
onMouseDown: createHandleMouseDown(externalEventHandlers),
|
|
149
|
-
onMouseLeave: createHandleMouseLeave(externalEventHandlers),
|
|
150
|
-
ref: handleRef
|
|
151
|
-
};
|
|
152
|
-
delete props.onFocusVisible;
|
|
153
|
-
return props;
|
|
154
|
-
}, "getRootProps");
|
|
155
|
-
return {
|
|
156
|
-
getRootProps,
|
|
157
|
-
focusVisible,
|
|
158
|
-
setFocusVisible,
|
|
159
|
-
active,
|
|
160
|
-
rootRef: handleRef
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
__name(useButton, "useButton");
|
|
164
|
-
export {
|
|
165
|
-
useButton
|
|
166
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
import { CompoundComponentContext } from "./useCompoundParent.js";
|
|
5
|
-
import useEnhancedEffect from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/useEnhancedEffect/useEnhancedEffect.js";
|
|
6
|
-
function useCompoundItem(id, itemMetadata) {
|
|
7
|
-
const context = React.useContext(CompoundComponentContext);
|
|
8
|
-
if (context === null) {
|
|
9
|
-
throw new Error("useCompoundItem must be used within a useCompoundParent");
|
|
10
|
-
}
|
|
11
|
-
const {
|
|
12
|
-
registerItem
|
|
13
|
-
} = context;
|
|
14
|
-
const [registeredId, setRegisteredId] = React.useState(typeof id === "function" ? void 0 : id);
|
|
15
|
-
useEnhancedEffect(() => {
|
|
16
|
-
const {
|
|
17
|
-
id: returnedId,
|
|
18
|
-
deregister
|
|
19
|
-
} = registerItem(id, itemMetadata);
|
|
20
|
-
setRegisteredId(returnedId);
|
|
21
|
-
return deregister;
|
|
22
|
-
}, [registerItem, itemMetadata, id]);
|
|
23
|
-
return {
|
|
24
|
-
id: registeredId,
|
|
25
|
-
index: registeredId !== void 0 ? context.getItemIndex(registeredId) : -1,
|
|
26
|
-
totalItemCount: context.totalSubitemCount
|
|
27
|
-
};
|
|
28
|
-
}
|
|
29
|
-
__name(useCompoundItem, "useCompoundItem");
|
|
30
|
-
export {
|
|
31
|
-
useCompoundItem
|
|
32
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import * as React from "react";
|
|
4
|
-
const CompoundComponentContext = /* @__PURE__ */ React.createContext(null);
|
|
5
|
-
if (process.env.NODE_ENV !== "production") {
|
|
6
|
-
CompoundComponentContext.displayName = "CompoundComponentContext";
|
|
7
|
-
}
|
|
8
|
-
function sortSubitems(subitems) {
|
|
9
|
-
const subitemsArray = Array.from(subitems.keys()).map((key) => {
|
|
10
|
-
const subitem = subitems.get(key);
|
|
11
|
-
return {
|
|
12
|
-
key,
|
|
13
|
-
subitem
|
|
14
|
-
};
|
|
15
|
-
});
|
|
16
|
-
subitemsArray.sort((a, b) => {
|
|
17
|
-
const aNode = a.subitem.ref.current;
|
|
18
|
-
const bNode = b.subitem.ref.current;
|
|
19
|
-
if (aNode === null || bNode === null || aNode === bNode) {
|
|
20
|
-
return 0;
|
|
21
|
-
}
|
|
22
|
-
return aNode.compareDocumentPosition(bNode) & Node.DOCUMENT_POSITION_PRECEDING ? 1 : -1;
|
|
23
|
-
});
|
|
24
|
-
return new Map(subitemsArray.map((item) => [item.key, item.subitem]));
|
|
25
|
-
}
|
|
26
|
-
__name(sortSubitems, "sortSubitems");
|
|
27
|
-
function useCompoundParent() {
|
|
28
|
-
const [subitems, setSubitems] = React.useState(/* @__PURE__ */ new Map());
|
|
29
|
-
const subitemKeys = React.useRef(/* @__PURE__ */ new Set());
|
|
30
|
-
const deregisterItem = React.useCallback(/* @__PURE__ */ __name(function deregisterItem2(id) {
|
|
31
|
-
subitemKeys.current.delete(id);
|
|
32
|
-
setSubitems((previousState) => {
|
|
33
|
-
const newState = new Map(previousState);
|
|
34
|
-
newState.delete(id);
|
|
35
|
-
return newState;
|
|
36
|
-
});
|
|
37
|
-
}, "deregisterItem"), []);
|
|
38
|
-
const registerItem = React.useCallback(/* @__PURE__ */ __name(function registerItem2(id, item) {
|
|
39
|
-
let providedOrGeneratedId;
|
|
40
|
-
if (typeof id === "function") {
|
|
41
|
-
providedOrGeneratedId = id(subitemKeys.current);
|
|
42
|
-
} else {
|
|
43
|
-
providedOrGeneratedId = id;
|
|
44
|
-
}
|
|
45
|
-
subitemKeys.current.add(providedOrGeneratedId);
|
|
46
|
-
setSubitems((previousState) => {
|
|
47
|
-
const newState = new Map(previousState);
|
|
48
|
-
newState.set(providedOrGeneratedId, item);
|
|
49
|
-
return newState;
|
|
50
|
-
});
|
|
51
|
-
return {
|
|
52
|
-
id: providedOrGeneratedId,
|
|
53
|
-
deregister: /* @__PURE__ */ __name(() => deregisterItem(providedOrGeneratedId), "deregister")
|
|
54
|
-
};
|
|
55
|
-
}, "registerItem"), [deregisterItem]);
|
|
56
|
-
const sortedSubitems = React.useMemo(() => sortSubitems(subitems), [subitems]);
|
|
57
|
-
const getItemIndex = React.useCallback(/* @__PURE__ */ __name(function getItemIndex2(id) {
|
|
58
|
-
return Array.from(sortedSubitems.keys()).indexOf(id);
|
|
59
|
-
}, "getItemIndex"), [sortedSubitems]);
|
|
60
|
-
const contextValue = React.useMemo(() => ({
|
|
61
|
-
getItemIndex,
|
|
62
|
-
registerItem,
|
|
63
|
-
totalSubitemCount: subitems.size
|
|
64
|
-
}), [getItemIndex, registerItem, subitems.size]);
|
|
65
|
-
return {
|
|
66
|
-
contextValue,
|
|
67
|
-
subitems: sortedSubitems
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
__name(useCompoundParent, "useCompoundParent");
|
|
71
|
-
export {
|
|
72
|
-
CompoundComponentContext,
|
|
73
|
-
useCompoundParent
|
|
74
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
const ListActionTypes = {
|
|
2
|
-
blur: "list:blur",
|
|
3
|
-
itemClick: "list:itemClick",
|
|
4
|
-
itemHover: "list:itemHover",
|
|
5
|
-
itemsChange: "list:itemsChange",
|
|
6
|
-
keyDown: "list:keyDown",
|
|
7
|
-
resetHighlight: "list:resetHighlight",
|
|
8
|
-
highlightLast: "list:highlightLast",
|
|
9
|
-
textNavigation: "list:textNavigation",
|
|
10
|
-
clearSelection: "list:clearSelection"
|
|
11
|
-
};
|
|
12
|
-
export {
|
|
13
|
-
ListActionTypes
|
|
14
|
-
};
|