@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,459 +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 { clsx } from "../../../../../clsx@2.1.1/node_modules/clsx/dist/clsx.js";
|
|
6
|
-
import { isHostComponent } from "../utils/isHostComponent.js";
|
|
7
|
-
import { getSliderUtilityClass } from "./sliderClasses.js";
|
|
8
|
-
import { resolveComponentProps } from "../utils/resolveComponentProps.js";
|
|
9
|
-
import { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
|
|
10
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
|
-
import { useSlider, valueToPercent } from "../useSlider/useSlider.js";
|
|
12
|
-
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";
|
|
13
|
-
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";
|
|
14
|
-
import chainPropTypes from "../../../../../@mui_utils@6.0.0-rc.0_@types_react@19.1.0_react@19.1.0/node_modules/@mui/utils/esm/chainPropTypes/chainPropTypes.js";
|
|
15
|
-
function Identity(x) {
|
|
16
|
-
return x;
|
|
17
|
-
}
|
|
18
|
-
__name(Identity, "Identity");
|
|
19
|
-
const useUtilityClasses = /* @__PURE__ */ __name((ownerState) => {
|
|
20
|
-
const {
|
|
21
|
-
disabled,
|
|
22
|
-
dragging,
|
|
23
|
-
marked,
|
|
24
|
-
orientation,
|
|
25
|
-
track
|
|
26
|
-
} = ownerState;
|
|
27
|
-
const slots = {
|
|
28
|
-
root: ["root", disabled && "disabled", dragging && "dragging", marked && "marked", orientation === "vertical" && "vertical", track === "inverted" && "trackInverted", track === false && "trackFalse"],
|
|
29
|
-
rail: ["rail"],
|
|
30
|
-
track: ["track"],
|
|
31
|
-
mark: ["mark"],
|
|
32
|
-
markActive: ["markActive"],
|
|
33
|
-
markLabel: ["markLabel"],
|
|
34
|
-
markLabelActive: ["markLabelActive"],
|
|
35
|
-
valueLabel: ["valueLabel"],
|
|
36
|
-
thumb: ["thumb", disabled && "disabled"],
|
|
37
|
-
active: ["active"],
|
|
38
|
-
disabled: ["disabled"],
|
|
39
|
-
focusVisible: ["focusVisible"]
|
|
40
|
-
};
|
|
41
|
-
return composeClasses(slots, useClassNamesOverride(getSliderUtilityClass));
|
|
42
|
-
}, "useUtilityClasses");
|
|
43
|
-
const Slider = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function Slider2(props, forwardedRef) {
|
|
44
|
-
const {
|
|
45
|
-
"aria-label": ariaLabel,
|
|
46
|
-
"aria-valuetext": ariaValuetext,
|
|
47
|
-
"aria-labelledby": ariaLabelledby,
|
|
48
|
-
className,
|
|
49
|
-
disableSwap = false,
|
|
50
|
-
disabled = false,
|
|
51
|
-
getAriaLabel,
|
|
52
|
-
getAriaValueText,
|
|
53
|
-
marks: marksProp = false,
|
|
54
|
-
max = 100,
|
|
55
|
-
min = 0,
|
|
56
|
-
name,
|
|
57
|
-
onChange,
|
|
58
|
-
onChangeCommitted,
|
|
59
|
-
orientation = "horizontal",
|
|
60
|
-
shiftStep = 10,
|
|
61
|
-
scale = Identity,
|
|
62
|
-
step = 1,
|
|
63
|
-
tabIndex,
|
|
64
|
-
track = "normal",
|
|
65
|
-
value: valueProp,
|
|
66
|
-
valueLabelFormat = Identity,
|
|
67
|
-
isRtl = false,
|
|
68
|
-
defaultValue,
|
|
69
|
-
slotProps = {},
|
|
70
|
-
slots = {},
|
|
71
|
-
...other
|
|
72
|
-
} = props;
|
|
73
|
-
const partialOwnerState = {
|
|
74
|
-
...props,
|
|
75
|
-
marks: marksProp,
|
|
76
|
-
disabled,
|
|
77
|
-
disableSwap,
|
|
78
|
-
isRtl,
|
|
79
|
-
defaultValue,
|
|
80
|
-
max,
|
|
81
|
-
min,
|
|
82
|
-
orientation,
|
|
83
|
-
scale,
|
|
84
|
-
step,
|
|
85
|
-
shiftStep,
|
|
86
|
-
track,
|
|
87
|
-
valueLabelFormat
|
|
88
|
-
};
|
|
89
|
-
const {
|
|
90
|
-
axisProps,
|
|
91
|
-
getRootProps,
|
|
92
|
-
getHiddenInputProps,
|
|
93
|
-
getThumbProps,
|
|
94
|
-
active,
|
|
95
|
-
axis,
|
|
96
|
-
range,
|
|
97
|
-
focusedThumbIndex,
|
|
98
|
-
dragging,
|
|
99
|
-
marks,
|
|
100
|
-
values,
|
|
101
|
-
trackOffset,
|
|
102
|
-
trackLeap,
|
|
103
|
-
getThumbStyle
|
|
104
|
-
} = useSlider({
|
|
105
|
-
...partialOwnerState,
|
|
106
|
-
rootRef: forwardedRef
|
|
107
|
-
});
|
|
108
|
-
const ownerState = {
|
|
109
|
-
...partialOwnerState,
|
|
110
|
-
marked: marks.length > 0 && marks.some((mark) => mark.label),
|
|
111
|
-
dragging,
|
|
112
|
-
focusedThumbIndex,
|
|
113
|
-
activeThumbIndex: active
|
|
114
|
-
};
|
|
115
|
-
const classes = useUtilityClasses(ownerState);
|
|
116
|
-
const Root = slots.root ?? "span";
|
|
117
|
-
const rootProps = useSlotProps({
|
|
118
|
-
elementType: Root,
|
|
119
|
-
getSlotProps: getRootProps,
|
|
120
|
-
externalSlotProps: slotProps.root,
|
|
121
|
-
externalForwardedProps: other,
|
|
122
|
-
ownerState,
|
|
123
|
-
className: [classes.root, className]
|
|
124
|
-
});
|
|
125
|
-
const Rail = slots.rail ?? "span";
|
|
126
|
-
const railProps = useSlotProps({
|
|
127
|
-
elementType: Rail,
|
|
128
|
-
externalSlotProps: slotProps.rail,
|
|
129
|
-
ownerState,
|
|
130
|
-
className: classes.rail
|
|
131
|
-
});
|
|
132
|
-
const Track = slots.track ?? "span";
|
|
133
|
-
const trackProps = useSlotProps({
|
|
134
|
-
elementType: Track,
|
|
135
|
-
externalSlotProps: slotProps.track,
|
|
136
|
-
additionalProps: {
|
|
137
|
-
style: {
|
|
138
|
-
...axisProps[axis].offset(trackOffset),
|
|
139
|
-
...axisProps[axis].leap(trackLeap)
|
|
140
|
-
}
|
|
141
|
-
},
|
|
142
|
-
ownerState,
|
|
143
|
-
className: classes.track
|
|
144
|
-
});
|
|
145
|
-
const Thumb = slots.thumb ?? "span";
|
|
146
|
-
const thumbProps = useSlotProps({
|
|
147
|
-
elementType: Thumb,
|
|
148
|
-
getSlotProps: getThumbProps,
|
|
149
|
-
externalSlotProps: slotProps.thumb,
|
|
150
|
-
ownerState,
|
|
151
|
-
skipResolvingSlotProps: true
|
|
152
|
-
});
|
|
153
|
-
const ValueLabel = slots.valueLabel;
|
|
154
|
-
const valueLabelProps = useSlotProps({
|
|
155
|
-
elementType: ValueLabel,
|
|
156
|
-
externalSlotProps: slotProps.valueLabel,
|
|
157
|
-
ownerState
|
|
158
|
-
});
|
|
159
|
-
const Mark = slots.mark ?? "span";
|
|
160
|
-
const markProps = useSlotProps({
|
|
161
|
-
elementType: Mark,
|
|
162
|
-
externalSlotProps: slotProps.mark,
|
|
163
|
-
ownerState,
|
|
164
|
-
className: classes.mark
|
|
165
|
-
});
|
|
166
|
-
const MarkLabel = slots.markLabel ?? "span";
|
|
167
|
-
const markLabelProps = useSlotProps({
|
|
168
|
-
elementType: MarkLabel,
|
|
169
|
-
externalSlotProps: slotProps.markLabel,
|
|
170
|
-
ownerState
|
|
171
|
-
});
|
|
172
|
-
const Input = slots.input || "input";
|
|
173
|
-
const inputProps = useSlotProps({
|
|
174
|
-
elementType: Input,
|
|
175
|
-
getSlotProps: getHiddenInputProps,
|
|
176
|
-
externalSlotProps: slotProps.input,
|
|
177
|
-
ownerState
|
|
178
|
-
});
|
|
179
|
-
return /* @__PURE__ */ jsxs(Root, {
|
|
180
|
-
...rootProps,
|
|
181
|
-
children: [/* @__PURE__ */ jsx(Rail, {
|
|
182
|
-
...railProps
|
|
183
|
-
}), /* @__PURE__ */ jsx(Track, {
|
|
184
|
-
...trackProps
|
|
185
|
-
}), marks.filter((mark) => mark.value >= min && mark.value <= max).map((mark, index) => {
|
|
186
|
-
const percent = valueToPercent(mark.value, min, max);
|
|
187
|
-
const style = axisProps[axis].offset(percent);
|
|
188
|
-
let markActive;
|
|
189
|
-
if (track === false) {
|
|
190
|
-
markActive = values.indexOf(mark.value) !== -1;
|
|
191
|
-
} else {
|
|
192
|
-
markActive = track === "normal" && (range ? mark.value >= values[0] && mark.value <= values[values.length - 1] : mark.value <= values[0]) || track === "inverted" && (range ? mark.value <= values[0] || mark.value >= values[values.length - 1] : mark.value >= values[0]);
|
|
193
|
-
}
|
|
194
|
-
return /* @__PURE__ */ jsxs(React.Fragment, {
|
|
195
|
-
children: [/* @__PURE__ */ jsx(Mark, {
|
|
196
|
-
"data-index": index,
|
|
197
|
-
...markProps,
|
|
198
|
-
...!isHostComponent(Mark) && {
|
|
199
|
-
markActive
|
|
200
|
-
},
|
|
201
|
-
style: {
|
|
202
|
-
...style,
|
|
203
|
-
...markProps.style
|
|
204
|
-
},
|
|
205
|
-
className: clsx(markProps.className, markActive && classes.markActive)
|
|
206
|
-
}), mark.label != null ? /* @__PURE__ */ jsx(MarkLabel, {
|
|
207
|
-
"aria-hidden": true,
|
|
208
|
-
"data-index": index,
|
|
209
|
-
...markLabelProps,
|
|
210
|
-
...!isHostComponent(MarkLabel) && {
|
|
211
|
-
markLabelActive: markActive
|
|
212
|
-
},
|
|
213
|
-
style: {
|
|
214
|
-
...style,
|
|
215
|
-
...markLabelProps.style
|
|
216
|
-
},
|
|
217
|
-
className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
|
|
218
|
-
children: mark.label
|
|
219
|
-
}) : null]
|
|
220
|
-
}, index);
|
|
221
|
-
}), values.map((value, index) => {
|
|
222
|
-
const percent = valueToPercent(value, min, max);
|
|
223
|
-
const style = axisProps[axis].offset(percent);
|
|
224
|
-
const resolvedSlotProps = resolveComponentProps(slotProps.thumb, ownerState, {
|
|
225
|
-
index,
|
|
226
|
-
focused: focusedThumbIndex === index,
|
|
227
|
-
active: active === index
|
|
228
|
-
});
|
|
229
|
-
return /* @__PURE__ */ jsxs(Thumb, {
|
|
230
|
-
"data-index": index,
|
|
231
|
-
...thumbProps,
|
|
232
|
-
...resolvedSlotProps,
|
|
233
|
-
className: clsx(classes.thumb, thumbProps.className, resolvedSlotProps == null ? void 0 : resolvedSlotProps.className, active === index && classes.active, focusedThumbIndex === index && classes.focusVisible),
|
|
234
|
-
style: {
|
|
235
|
-
...style,
|
|
236
|
-
...getThumbStyle(index),
|
|
237
|
-
...thumbProps.style,
|
|
238
|
-
...resolvedSlotProps == null ? void 0 : resolvedSlotProps.style
|
|
239
|
-
},
|
|
240
|
-
children: [/* @__PURE__ */ jsx(Input, {
|
|
241
|
-
"data-index": index,
|
|
242
|
-
"aria-label": getAriaLabel ? getAriaLabel(index) : ariaLabel,
|
|
243
|
-
"aria-valuenow": scale(value),
|
|
244
|
-
"aria-labelledby": ariaLabelledby,
|
|
245
|
-
"aria-valuetext": getAriaValueText ? getAriaValueText(scale(value), index) : ariaValuetext,
|
|
246
|
-
value: values[index],
|
|
247
|
-
...inputProps
|
|
248
|
-
}), ValueLabel ? /* @__PURE__ */ jsx(ValueLabel, {
|
|
249
|
-
...!isHostComponent(ValueLabel) && {
|
|
250
|
-
valueLabelFormat,
|
|
251
|
-
index,
|
|
252
|
-
disabled
|
|
253
|
-
},
|
|
254
|
-
...valueLabelProps,
|
|
255
|
-
children: typeof valueLabelFormat === "function" ? valueLabelFormat(scale(value), index) : valueLabelFormat
|
|
256
|
-
}) : null]
|
|
257
|
-
}, index);
|
|
258
|
-
})]
|
|
259
|
-
});
|
|
260
|
-
}, "Slider"));
|
|
261
|
-
process.env.NODE_ENV !== "production" ? Slider.propTypes = {
|
|
262
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
263
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
264
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
265
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
266
|
-
/**
|
|
267
|
-
* The label of the slider.
|
|
268
|
-
*/
|
|
269
|
-
"aria-label": chainPropTypes(PropTypes.string, (props) => {
|
|
270
|
-
const range = Array.isArray(props.value || props.defaultValue);
|
|
271
|
-
if (range && props["aria-label"] != null) {
|
|
272
|
-
return new Error("MUI: You need to use the `getAriaLabel` prop instead of `aria-label` when using a range slider.");
|
|
273
|
-
}
|
|
274
|
-
return null;
|
|
275
|
-
}),
|
|
276
|
-
/**
|
|
277
|
-
* The id of the element containing a label for the slider.
|
|
278
|
-
*/
|
|
279
|
-
"aria-labelledby": PropTypes.string,
|
|
280
|
-
/**
|
|
281
|
-
* A string value that provides a user-friendly name for the current value of the slider.
|
|
282
|
-
*/
|
|
283
|
-
"aria-valuetext": chainPropTypes(PropTypes.string, (props) => {
|
|
284
|
-
const range = Array.isArray(props.value || props.defaultValue);
|
|
285
|
-
if (range && props["aria-valuetext"] != null) {
|
|
286
|
-
return new Error("MUI: You need to use the `getAriaValueText` prop instead of `aria-valuetext` when using a range slider.");
|
|
287
|
-
}
|
|
288
|
-
return null;
|
|
289
|
-
}),
|
|
290
|
-
/**
|
|
291
|
-
* The default value. Use when the component is not controlled.
|
|
292
|
-
*/
|
|
293
|
-
defaultValue: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
|
|
294
|
-
/**
|
|
295
|
-
* If `true`, the component is disabled.
|
|
296
|
-
* @default false
|
|
297
|
-
*/
|
|
298
|
-
disabled: PropTypes.bool,
|
|
299
|
-
/**
|
|
300
|
-
* If `true`, the active thumb doesn't swap when moving pointer over a thumb while dragging another thumb.
|
|
301
|
-
* @default false
|
|
302
|
-
*/
|
|
303
|
-
disableSwap: PropTypes.bool,
|
|
304
|
-
/**
|
|
305
|
-
* Accepts a function which returns a string value that provides a user-friendly name for the thumb labels of the slider.
|
|
306
|
-
* This is important for screen reader users.
|
|
307
|
-
* @param {number} index The thumb label's index to format.
|
|
308
|
-
* @returns {string}
|
|
309
|
-
*/
|
|
310
|
-
getAriaLabel: PropTypes.func,
|
|
311
|
-
/**
|
|
312
|
-
* Accepts a function which returns a string value that provides a user-friendly name for the current value of the slider.
|
|
313
|
-
* This is important for screen reader users.
|
|
314
|
-
* @param {number} value The thumb label's value to format.
|
|
315
|
-
* @param {number} index The thumb label's index to format.
|
|
316
|
-
* @returns {string}
|
|
317
|
-
*/
|
|
318
|
-
getAriaValueText: PropTypes.func,
|
|
319
|
-
/**
|
|
320
|
-
* If `true` the Slider will be rendered right-to-left (with the lowest value on the right-hand side).
|
|
321
|
-
* @default false
|
|
322
|
-
*/
|
|
323
|
-
isRtl: PropTypes.bool,
|
|
324
|
-
/**
|
|
325
|
-
* Marks indicate predetermined values to which the user can move the slider.
|
|
326
|
-
* If `true` the marks are spaced according the value of the `step` prop.
|
|
327
|
-
* If an array, it should contain objects with `value` and an optional `label` keys.
|
|
328
|
-
* @default false
|
|
329
|
-
*/
|
|
330
|
-
marks: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.shape({
|
|
331
|
-
label: PropTypes.node,
|
|
332
|
-
value: PropTypes.number.isRequired
|
|
333
|
-
})), PropTypes.bool]),
|
|
334
|
-
/**
|
|
335
|
-
* The maximum allowed value of the slider.
|
|
336
|
-
* Should not be equal to min.
|
|
337
|
-
* @default 100
|
|
338
|
-
*/
|
|
339
|
-
max: PropTypes.number,
|
|
340
|
-
/**
|
|
341
|
-
* The minimum allowed value of the slider.
|
|
342
|
-
* Should not be equal to max.
|
|
343
|
-
* @default 0
|
|
344
|
-
*/
|
|
345
|
-
min: PropTypes.number,
|
|
346
|
-
/**
|
|
347
|
-
* Name attribute of the hidden `input` element.
|
|
348
|
-
*/
|
|
349
|
-
name: PropTypes.string,
|
|
350
|
-
/**
|
|
351
|
-
* Callback function that is fired when the slider's value changed.
|
|
352
|
-
*
|
|
353
|
-
* @param {Event} event The event source of the callback.
|
|
354
|
-
* You can pull out the new value by accessing `event.target.value` (any).
|
|
355
|
-
* **Warning**: This is a generic event not a change event.
|
|
356
|
-
* @param {number | number[]} value The new value.
|
|
357
|
-
* @param {number} activeThumb Index of the currently moved thumb.
|
|
358
|
-
*/
|
|
359
|
-
onChange: PropTypes.func,
|
|
360
|
-
/**
|
|
361
|
-
* Callback function that is fired when the `mouseup` is triggered.
|
|
362
|
-
*
|
|
363
|
-
* @param {React.SyntheticEvent | Event} event The event source of the callback. **Warning**: This is a generic event not a change event.
|
|
364
|
-
* @param {number | number[]} value The new value.
|
|
365
|
-
*/
|
|
366
|
-
onChangeCommitted: PropTypes.func,
|
|
367
|
-
/**
|
|
368
|
-
* The component orientation.
|
|
369
|
-
* @default 'horizontal'
|
|
370
|
-
*/
|
|
371
|
-
orientation: PropTypes.oneOf(["horizontal", "vertical"]),
|
|
372
|
-
/**
|
|
373
|
-
* A transformation function, to change the scale of the slider.
|
|
374
|
-
* @param {any} x
|
|
375
|
-
* @returns {any}
|
|
376
|
-
* @default function Identity(x) {
|
|
377
|
-
* return x;
|
|
378
|
-
* }
|
|
379
|
-
*/
|
|
380
|
-
scale: PropTypes.func,
|
|
381
|
-
/**
|
|
382
|
-
* The granularity with which the slider can step through values when using Page Up/Page Down or Shift + Arrow Up/Arrow Down.
|
|
383
|
-
* @default 10
|
|
384
|
-
*/
|
|
385
|
-
shiftStep: PropTypes.number,
|
|
386
|
-
/**
|
|
387
|
-
* The props used for each slot inside the Slider.
|
|
388
|
-
* @default {}
|
|
389
|
-
*/
|
|
390
|
-
slotProps: PropTypes.shape({
|
|
391
|
-
input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
392
|
-
mark: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
393
|
-
markLabel: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
394
|
-
rail: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
395
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
396
|
-
thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
397
|
-
track: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
398
|
-
valueLabel: PropTypes.oneOfType([PropTypes.any, PropTypes.func])
|
|
399
|
-
}),
|
|
400
|
-
/**
|
|
401
|
-
* The components used for each slot inside the Slider.
|
|
402
|
-
* Either a string to use a HTML element or a component.
|
|
403
|
-
* @default {}
|
|
404
|
-
*/
|
|
405
|
-
slots: PropTypes.shape({
|
|
406
|
-
input: PropTypes.elementType,
|
|
407
|
-
mark: PropTypes.elementType,
|
|
408
|
-
markLabel: PropTypes.elementType,
|
|
409
|
-
rail: PropTypes.elementType,
|
|
410
|
-
root: PropTypes.elementType,
|
|
411
|
-
thumb: PropTypes.elementType,
|
|
412
|
-
track: PropTypes.elementType,
|
|
413
|
-
valueLabel: PropTypes.elementType
|
|
414
|
-
}),
|
|
415
|
-
/**
|
|
416
|
-
* The granularity with which the slider can step through values. (A "discrete" slider.)
|
|
417
|
-
* The `min` prop serves as the origin for the valid values.
|
|
418
|
-
* We recommend (max - min) to be evenly divisible by the step.
|
|
419
|
-
*
|
|
420
|
-
* When step is `null`, the thumb can only be slid onto marks provided with the `marks` prop.
|
|
421
|
-
* @default 1
|
|
422
|
-
*/
|
|
423
|
-
step: PropTypes.number,
|
|
424
|
-
/**
|
|
425
|
-
* Tab index attribute of the hidden `input` element.
|
|
426
|
-
*/
|
|
427
|
-
tabIndex: PropTypes.number,
|
|
428
|
-
/**
|
|
429
|
-
* The track presentation:
|
|
430
|
-
*
|
|
431
|
-
* - `normal` the track will render a bar representing the slider value.
|
|
432
|
-
* - `inverted` the track will render a bar representing the remaining slider value.
|
|
433
|
-
* - `false` the track will render without a bar.
|
|
434
|
-
* @default 'normal'
|
|
435
|
-
*/
|
|
436
|
-
track: PropTypes.oneOf(["inverted", "normal", false]),
|
|
437
|
-
/**
|
|
438
|
-
* The value of the slider.
|
|
439
|
-
* For ranged sliders, provide an array with two values.
|
|
440
|
-
*/
|
|
441
|
-
value: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.number), PropTypes.number]),
|
|
442
|
-
/**
|
|
443
|
-
* The format function the value label's value.
|
|
444
|
-
*
|
|
445
|
-
* When a function is provided, it should have the following signature:
|
|
446
|
-
*
|
|
447
|
-
* - {number} value The value label's value to format
|
|
448
|
-
* - {number} index The value label's index to format
|
|
449
|
-
* @param {any} x
|
|
450
|
-
* @returns {any}
|
|
451
|
-
* @default function Identity(x) {
|
|
452
|
-
* return x;
|
|
453
|
-
* }
|
|
454
|
-
*/
|
|
455
|
-
valueLabelFormat: PropTypes.oneOfType([PropTypes.func, PropTypes.string])
|
|
456
|
-
} : void 0;
|
|
457
|
-
export {
|
|
458
|
-
Slider
|
|
459
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
-
import { generateUtilityClasses } from "../generateUtilityClasses/index.js";
|
|
4
|
-
import { generateUtilityClass } from "../generateUtilityClass/index.js";
|
|
5
|
-
const COMPONENT_NAME = "Slider";
|
|
6
|
-
function getSliderUtilityClass(slot) {
|
|
7
|
-
return generateUtilityClass(COMPONENT_NAME, slot);
|
|
8
|
-
}
|
|
9
|
-
__name(getSliderUtilityClass, "getSliderUtilityClass");
|
|
10
|
-
generateUtilityClasses(COMPONENT_NAME, ["root", "active", "focusVisible", "disabled", "dragging", "marked", "vertical", "trackInverted", "trackFalse", "rail", "track", "mark", "markActive", "markLabel", "markLabelActive", "thumb"]);
|
|
11
|
-
export {
|
|
12
|
-
getSliderUtilityClass
|
|
13
|
-
};
|
|
@@ -1,173 +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 { useClassNamesOverride } from "../utils/ClassNameConfigurator.js";
|
|
6
|
-
import { getSwitchUtilityClass } from "./switchClasses.js";
|
|
7
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
8
|
-
import { useSwitch } from "../useSwitch/useSwitch.js";
|
|
9
|
-
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";
|
|
10
|
-
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";
|
|
11
|
-
const useUtilityClasses = /* @__PURE__ */ __name((ownerState) => {
|
|
12
|
-
const {
|
|
13
|
-
checked,
|
|
14
|
-
disabled,
|
|
15
|
-
focusVisible,
|
|
16
|
-
readOnly
|
|
17
|
-
} = ownerState;
|
|
18
|
-
const slots = {
|
|
19
|
-
root: ["root", checked && "checked", disabled && "disabled", focusVisible && "focusVisible", readOnly && "readOnly"],
|
|
20
|
-
thumb: ["thumb"],
|
|
21
|
-
input: ["input"],
|
|
22
|
-
track: ["track"]
|
|
23
|
-
};
|
|
24
|
-
return composeClasses(slots, useClassNamesOverride(getSwitchUtilityClass));
|
|
25
|
-
}, "useUtilityClasses");
|
|
26
|
-
const Switch = /* @__PURE__ */ React.forwardRef(/* @__PURE__ */ __name(function Switch2(props, forwardedRef) {
|
|
27
|
-
const {
|
|
28
|
-
checked: checkedProp,
|
|
29
|
-
defaultChecked,
|
|
30
|
-
disabled: disabledProp,
|
|
31
|
-
onBlur,
|
|
32
|
-
onChange,
|
|
33
|
-
onFocus,
|
|
34
|
-
onFocusVisible,
|
|
35
|
-
readOnly: readOnlyProp,
|
|
36
|
-
required,
|
|
37
|
-
slotProps = {},
|
|
38
|
-
slots = {},
|
|
39
|
-
...other
|
|
40
|
-
} = props;
|
|
41
|
-
const {
|
|
42
|
-
getInputProps,
|
|
43
|
-
checked,
|
|
44
|
-
disabled,
|
|
45
|
-
focusVisible,
|
|
46
|
-
readOnly
|
|
47
|
-
} = useSwitch(props);
|
|
48
|
-
const ownerState = {
|
|
49
|
-
...props,
|
|
50
|
-
checked,
|
|
51
|
-
disabled,
|
|
52
|
-
focusVisible,
|
|
53
|
-
readOnly
|
|
54
|
-
};
|
|
55
|
-
const classes = useUtilityClasses(ownerState);
|
|
56
|
-
const Root = slots.root ?? "span";
|
|
57
|
-
const rootProps = useSlotProps({
|
|
58
|
-
elementType: Root,
|
|
59
|
-
externalSlotProps: slotProps.root,
|
|
60
|
-
externalForwardedProps: other,
|
|
61
|
-
additionalProps: {
|
|
62
|
-
ref: forwardedRef
|
|
63
|
-
},
|
|
64
|
-
ownerState,
|
|
65
|
-
className: classes.root
|
|
66
|
-
});
|
|
67
|
-
const Thumb = slots.thumb ?? "span";
|
|
68
|
-
const thumbProps = useSlotProps({
|
|
69
|
-
elementType: Thumb,
|
|
70
|
-
externalSlotProps: slotProps.thumb,
|
|
71
|
-
ownerState,
|
|
72
|
-
className: classes.thumb
|
|
73
|
-
});
|
|
74
|
-
const Input = slots.input ?? "input";
|
|
75
|
-
const inputProps = useSlotProps({
|
|
76
|
-
elementType: Input,
|
|
77
|
-
getSlotProps: getInputProps,
|
|
78
|
-
externalSlotProps: slotProps.input,
|
|
79
|
-
ownerState,
|
|
80
|
-
className: classes.input
|
|
81
|
-
});
|
|
82
|
-
const Track = slots.track === null ? () => null : slots.track ?? "span";
|
|
83
|
-
const trackProps = useSlotProps({
|
|
84
|
-
elementType: Track,
|
|
85
|
-
externalSlotProps: slotProps.track,
|
|
86
|
-
ownerState,
|
|
87
|
-
className: classes.track
|
|
88
|
-
});
|
|
89
|
-
return /* @__PURE__ */ jsxs(Root, {
|
|
90
|
-
...rootProps,
|
|
91
|
-
children: [/* @__PURE__ */ jsx(Track, {
|
|
92
|
-
...trackProps
|
|
93
|
-
}), /* @__PURE__ */ jsx(Thumb, {
|
|
94
|
-
...thumbProps
|
|
95
|
-
}), /* @__PURE__ */ jsx(Input, {
|
|
96
|
-
...inputProps
|
|
97
|
-
})]
|
|
98
|
-
});
|
|
99
|
-
}, "Switch"));
|
|
100
|
-
process.env.NODE_ENV !== "production" ? Switch.propTypes = {
|
|
101
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
102
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
103
|
-
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
104
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
|
105
|
-
/**
|
|
106
|
-
* If `true`, the component is checked.
|
|
107
|
-
*/
|
|
108
|
-
checked: PropTypes.bool,
|
|
109
|
-
/**
|
|
110
|
-
* Class name applied to the root element.
|
|
111
|
-
*/
|
|
112
|
-
className: PropTypes.string,
|
|
113
|
-
/**
|
|
114
|
-
* The default checked state. Use when the component is not controlled.
|
|
115
|
-
*/
|
|
116
|
-
defaultChecked: PropTypes.bool,
|
|
117
|
-
/**
|
|
118
|
-
* If `true`, the component is disabled.
|
|
119
|
-
*/
|
|
120
|
-
disabled: PropTypes.bool,
|
|
121
|
-
/**
|
|
122
|
-
* @ignore
|
|
123
|
-
*/
|
|
124
|
-
onBlur: PropTypes.func,
|
|
125
|
-
/**
|
|
126
|
-
* Callback fired when the state is changed.
|
|
127
|
-
*
|
|
128
|
-
* @param {React.ChangeEvent<HTMLInputElement>} event The event source of the callback.
|
|
129
|
-
* You can pull out the new value by accessing `event.target.value` (string).
|
|
130
|
-
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
131
|
-
*/
|
|
132
|
-
onChange: PropTypes.func,
|
|
133
|
-
/**
|
|
134
|
-
* @ignore
|
|
135
|
-
*/
|
|
136
|
-
onFocus: PropTypes.func,
|
|
137
|
-
/**
|
|
138
|
-
* @ignore
|
|
139
|
-
*/
|
|
140
|
-
onFocusVisible: PropTypes.func,
|
|
141
|
-
/**
|
|
142
|
-
* If `true`, the component is read only.
|
|
143
|
-
*/
|
|
144
|
-
readOnly: PropTypes.bool,
|
|
145
|
-
/**
|
|
146
|
-
* If `true`, the `input` element is required.
|
|
147
|
-
*/
|
|
148
|
-
required: PropTypes.bool,
|
|
149
|
-
/**
|
|
150
|
-
* The props used for each slot inside the Switch.
|
|
151
|
-
* @default {}
|
|
152
|
-
*/
|
|
153
|
-
slotProps: PropTypes.shape({
|
|
154
|
-
input: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
155
|
-
root: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
156
|
-
thumb: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),
|
|
157
|
-
track: PropTypes.oneOfType([PropTypes.func, PropTypes.object])
|
|
158
|
-
}),
|
|
159
|
-
/**
|
|
160
|
-
* The components used for each slot inside the Switch.
|
|
161
|
-
* Either a string to use a HTML element or a component.
|
|
162
|
-
* @default {}
|
|
163
|
-
*/
|
|
164
|
-
slots: PropTypes.shape({
|
|
165
|
-
input: PropTypes.elementType,
|
|
166
|
-
root: PropTypes.elementType,
|
|
167
|
-
thumb: PropTypes.elementType,
|
|
168
|
-
track: PropTypes.oneOfType([PropTypes.elementType, PropTypes.oneOf([null])])
|
|
169
|
-
})
|
|
170
|
-
} : void 0;
|
|
171
|
-
export {
|
|
172
|
-
Switch
|
|
173
|
-
};
|
|
@@ -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 = "Switch";
|
|
6
|
-
function getSwitchUtilityClass(slot) {
|
|
7
|
-
return generateUtilityClass(COMPONENT_NAME, slot);
|
|
8
|
-
}
|
|
9
|
-
__name(getSwitchUtilityClass, "getSwitchUtilityClass");
|
|
10
|
-
generateUtilityClasses(COMPONENT_NAME, ["root", "input", "track", "thumb", "checked", "disabled", "focusVisible", "readOnly"]);
|
|
11
|
-
export {
|
|
12
|
-
getSwitchUtilityClass
|
|
13
|
-
};
|