@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
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import * as index$1 from "../../../../../mdurl@2.0.0/node_modules/mdurl/index.js";
|
|
4
|
+
import * as index from "../../../../../uc.micro@2.1.0/node_modules/uc.micro/index.js";
|
|
5
|
+
import { decodeHTML } from "../../../../../entities@4.5.0/node_modules/entities/lib/esm/decode.js";
|
|
6
|
+
import P from "../../../../../uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js";
|
|
7
|
+
import regex from "../../../../../uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js";
|
|
8
|
+
function _class(obj) {
|
|
9
|
+
return Object.prototype.toString.call(obj);
|
|
10
|
+
}
|
|
11
|
+
__name(_class, "_class");
|
|
12
|
+
function isString(obj) {
|
|
13
|
+
return _class(obj) === "[object String]";
|
|
14
|
+
}
|
|
15
|
+
__name(isString, "isString");
|
|
16
|
+
const _hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
17
|
+
function has(object, key) {
|
|
18
|
+
return _hasOwnProperty.call(object, key);
|
|
19
|
+
}
|
|
20
|
+
__name(has, "has");
|
|
21
|
+
function assign(obj) {
|
|
22
|
+
const sources = Array.prototype.slice.call(arguments, 1);
|
|
23
|
+
sources.forEach(function(source) {
|
|
24
|
+
if (!source) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
if (typeof source !== "object") {
|
|
28
|
+
throw new TypeError(source + "must be object");
|
|
29
|
+
}
|
|
30
|
+
Object.keys(source).forEach(function(key) {
|
|
31
|
+
obj[key] = source[key];
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
return obj;
|
|
35
|
+
}
|
|
36
|
+
__name(assign, "assign");
|
|
37
|
+
function arrayReplaceAt(src, pos, newElements) {
|
|
38
|
+
return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1));
|
|
39
|
+
}
|
|
40
|
+
__name(arrayReplaceAt, "arrayReplaceAt");
|
|
41
|
+
function isValidEntityCode(c) {
|
|
42
|
+
if (c >= 55296 && c <= 57343) {
|
|
43
|
+
return false;
|
|
44
|
+
}
|
|
45
|
+
if (c >= 64976 && c <= 65007) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
if ((c & 65535) === 65535 || (c & 65535) === 65534) {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
51
|
+
if (c >= 0 && c <= 8) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
if (c === 11) {
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
if (c >= 14 && c <= 31) {
|
|
58
|
+
return false;
|
|
59
|
+
}
|
|
60
|
+
if (c >= 127 && c <= 159) {
|
|
61
|
+
return false;
|
|
62
|
+
}
|
|
63
|
+
if (c > 1114111) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
__name(isValidEntityCode, "isValidEntityCode");
|
|
69
|
+
function fromCodePoint(c) {
|
|
70
|
+
if (c > 65535) {
|
|
71
|
+
c -= 65536;
|
|
72
|
+
const surrogate1 = 55296 + (c >> 10);
|
|
73
|
+
const surrogate2 = 56320 + (c & 1023);
|
|
74
|
+
return String.fromCharCode(surrogate1, surrogate2);
|
|
75
|
+
}
|
|
76
|
+
return String.fromCharCode(c);
|
|
77
|
+
}
|
|
78
|
+
__name(fromCodePoint, "fromCodePoint");
|
|
79
|
+
const UNESCAPE_MD_RE = /\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g;
|
|
80
|
+
const ENTITY_RE = /&([a-z#][a-z0-9]{1,31});/gi;
|
|
81
|
+
const UNESCAPE_ALL_RE = new RegExp(UNESCAPE_MD_RE.source + "|" + ENTITY_RE.source, "gi");
|
|
82
|
+
const DIGITAL_ENTITY_TEST_RE = /^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;
|
|
83
|
+
function replaceEntityPattern(match, name) {
|
|
84
|
+
if (name.charCodeAt(0) === 35 && DIGITAL_ENTITY_TEST_RE.test(name)) {
|
|
85
|
+
const code = name[1].toLowerCase() === "x" ? parseInt(name.slice(2), 16) : parseInt(name.slice(1), 10);
|
|
86
|
+
if (isValidEntityCode(code)) {
|
|
87
|
+
return fromCodePoint(code);
|
|
88
|
+
}
|
|
89
|
+
return match;
|
|
90
|
+
}
|
|
91
|
+
const decoded = decodeHTML(match);
|
|
92
|
+
if (decoded !== match) {
|
|
93
|
+
return decoded;
|
|
94
|
+
}
|
|
95
|
+
return match;
|
|
96
|
+
}
|
|
97
|
+
__name(replaceEntityPattern, "replaceEntityPattern");
|
|
98
|
+
function unescapeMd(str) {
|
|
99
|
+
if (str.indexOf("\\") < 0) {
|
|
100
|
+
return str;
|
|
101
|
+
}
|
|
102
|
+
return str.replace(UNESCAPE_MD_RE, "$1");
|
|
103
|
+
}
|
|
104
|
+
__name(unescapeMd, "unescapeMd");
|
|
105
|
+
function unescapeAll(str) {
|
|
106
|
+
if (str.indexOf("\\") < 0 && str.indexOf("&") < 0) {
|
|
107
|
+
return str;
|
|
108
|
+
}
|
|
109
|
+
return str.replace(UNESCAPE_ALL_RE, function(match, escaped, entity) {
|
|
110
|
+
if (escaped) {
|
|
111
|
+
return escaped;
|
|
112
|
+
}
|
|
113
|
+
return replaceEntityPattern(match, entity);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
__name(unescapeAll, "unescapeAll");
|
|
117
|
+
const HTML_ESCAPE_TEST_RE = /[&<>"]/;
|
|
118
|
+
const HTML_ESCAPE_REPLACE_RE = /[&<>"]/g;
|
|
119
|
+
const HTML_REPLACEMENTS = {
|
|
120
|
+
"&": "&",
|
|
121
|
+
"<": "<",
|
|
122
|
+
">": ">",
|
|
123
|
+
'"': """
|
|
124
|
+
};
|
|
125
|
+
function replaceUnsafeChar(ch) {
|
|
126
|
+
return HTML_REPLACEMENTS[ch];
|
|
127
|
+
}
|
|
128
|
+
__name(replaceUnsafeChar, "replaceUnsafeChar");
|
|
129
|
+
function escapeHtml(str) {
|
|
130
|
+
if (HTML_ESCAPE_TEST_RE.test(str)) {
|
|
131
|
+
return str.replace(HTML_ESCAPE_REPLACE_RE, replaceUnsafeChar);
|
|
132
|
+
}
|
|
133
|
+
return str;
|
|
134
|
+
}
|
|
135
|
+
__name(escapeHtml, "escapeHtml");
|
|
136
|
+
const REGEXP_ESCAPE_RE = /[.?*+^$[\]\\(){}|-]/g;
|
|
137
|
+
function escapeRE(str) {
|
|
138
|
+
return str.replace(REGEXP_ESCAPE_RE, "\\$&");
|
|
139
|
+
}
|
|
140
|
+
__name(escapeRE, "escapeRE");
|
|
141
|
+
function isSpace(code) {
|
|
142
|
+
switch (code) {
|
|
143
|
+
case 9:
|
|
144
|
+
case 32:
|
|
145
|
+
return true;
|
|
146
|
+
}
|
|
147
|
+
return false;
|
|
148
|
+
}
|
|
149
|
+
__name(isSpace, "isSpace");
|
|
150
|
+
function isWhiteSpace(code) {
|
|
151
|
+
if (code >= 8192 && code <= 8202) {
|
|
152
|
+
return true;
|
|
153
|
+
}
|
|
154
|
+
switch (code) {
|
|
155
|
+
case 9:
|
|
156
|
+
// \t
|
|
157
|
+
case 10:
|
|
158
|
+
// \n
|
|
159
|
+
case 11:
|
|
160
|
+
// \v
|
|
161
|
+
case 12:
|
|
162
|
+
// \f
|
|
163
|
+
case 13:
|
|
164
|
+
// \r
|
|
165
|
+
case 32:
|
|
166
|
+
case 160:
|
|
167
|
+
case 5760:
|
|
168
|
+
case 8239:
|
|
169
|
+
case 8287:
|
|
170
|
+
case 12288:
|
|
171
|
+
return true;
|
|
172
|
+
}
|
|
173
|
+
return false;
|
|
174
|
+
}
|
|
175
|
+
__name(isWhiteSpace, "isWhiteSpace");
|
|
176
|
+
function isPunctChar(ch) {
|
|
177
|
+
return P.test(ch) || regex.test(ch);
|
|
178
|
+
}
|
|
179
|
+
__name(isPunctChar, "isPunctChar");
|
|
180
|
+
function isMdAsciiPunct(ch) {
|
|
181
|
+
switch (ch) {
|
|
182
|
+
case 33:
|
|
183
|
+
case 34:
|
|
184
|
+
case 35:
|
|
185
|
+
case 36:
|
|
186
|
+
case 37:
|
|
187
|
+
case 38:
|
|
188
|
+
case 39:
|
|
189
|
+
case 40:
|
|
190
|
+
case 41:
|
|
191
|
+
case 42:
|
|
192
|
+
case 43:
|
|
193
|
+
case 44:
|
|
194
|
+
case 45:
|
|
195
|
+
case 46:
|
|
196
|
+
case 47:
|
|
197
|
+
case 58:
|
|
198
|
+
case 59:
|
|
199
|
+
case 60:
|
|
200
|
+
case 61:
|
|
201
|
+
case 62:
|
|
202
|
+
case 63:
|
|
203
|
+
case 64:
|
|
204
|
+
case 91:
|
|
205
|
+
case 92:
|
|
206
|
+
case 93:
|
|
207
|
+
case 94:
|
|
208
|
+
case 95:
|
|
209
|
+
case 96:
|
|
210
|
+
case 123:
|
|
211
|
+
case 124:
|
|
212
|
+
case 125:
|
|
213
|
+
case 126:
|
|
214
|
+
return true;
|
|
215
|
+
default:
|
|
216
|
+
return false;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
__name(isMdAsciiPunct, "isMdAsciiPunct");
|
|
220
|
+
function normalizeReference(str) {
|
|
221
|
+
str = str.trim().replace(/\s+/g, " ");
|
|
222
|
+
if ("ẞ".toLowerCase() === "Ṿ") {
|
|
223
|
+
str = str.replace(/ẞ/g, "ß");
|
|
224
|
+
}
|
|
225
|
+
return str.toLowerCase().toUpperCase();
|
|
226
|
+
}
|
|
227
|
+
__name(normalizeReference, "normalizeReference");
|
|
228
|
+
const lib = { mdurl: index$1, ucmicro: index };
|
|
229
|
+
export {
|
|
230
|
+
arrayReplaceAt,
|
|
231
|
+
assign,
|
|
232
|
+
escapeHtml,
|
|
233
|
+
escapeRE,
|
|
234
|
+
fromCodePoint,
|
|
235
|
+
has,
|
|
236
|
+
isMdAsciiPunct,
|
|
237
|
+
isPunctChar,
|
|
238
|
+
isSpace,
|
|
239
|
+
isString,
|
|
240
|
+
isValidEntityCode,
|
|
241
|
+
isWhiteSpace,
|
|
242
|
+
lib,
|
|
243
|
+
normalizeReference,
|
|
244
|
+
unescapeAll,
|
|
245
|
+
unescapeMd
|
|
246
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as default2 } from "./parse_link_label.js";
|
|
2
|
+
import { default as default3 } from "./parse_link_destination.js";
|
|
3
|
+
import { default as default4 } from "./parse_link_title.js";
|
|
4
|
+
export {
|
|
5
|
+
default3 as parseLinkDestination,
|
|
6
|
+
default2 as parseLinkLabel,
|
|
7
|
+
default4 as parseLinkTitle
|
|
8
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { unescapeAll } from "../common/utils.js";
|
|
4
|
+
function parseLinkDestination(str, start, max) {
|
|
5
|
+
let code;
|
|
6
|
+
let pos = start;
|
|
7
|
+
const result = {
|
|
8
|
+
ok: false,
|
|
9
|
+
pos: 0,
|
|
10
|
+
str: ""
|
|
11
|
+
};
|
|
12
|
+
if (str.charCodeAt(pos) === 60) {
|
|
13
|
+
pos++;
|
|
14
|
+
while (pos < max) {
|
|
15
|
+
code = str.charCodeAt(pos);
|
|
16
|
+
if (code === 10) {
|
|
17
|
+
return result;
|
|
18
|
+
}
|
|
19
|
+
if (code === 60) {
|
|
20
|
+
return result;
|
|
21
|
+
}
|
|
22
|
+
if (code === 62) {
|
|
23
|
+
result.pos = pos + 1;
|
|
24
|
+
result.str = unescapeAll(str.slice(start + 1, pos));
|
|
25
|
+
result.ok = true;
|
|
26
|
+
return result;
|
|
27
|
+
}
|
|
28
|
+
if (code === 92 && pos + 1 < max) {
|
|
29
|
+
pos += 2;
|
|
30
|
+
continue;
|
|
31
|
+
}
|
|
32
|
+
pos++;
|
|
33
|
+
}
|
|
34
|
+
return result;
|
|
35
|
+
}
|
|
36
|
+
let level = 0;
|
|
37
|
+
while (pos < max) {
|
|
38
|
+
code = str.charCodeAt(pos);
|
|
39
|
+
if (code === 32) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
if (code < 32 || code === 127) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
if (code === 92 && pos + 1 < max) {
|
|
46
|
+
if (str.charCodeAt(pos + 1) === 32) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
pos += 2;
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (code === 40) {
|
|
53
|
+
level++;
|
|
54
|
+
if (level > 32) {
|
|
55
|
+
return result;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
if (code === 41) {
|
|
59
|
+
if (level === 0) {
|
|
60
|
+
break;
|
|
61
|
+
}
|
|
62
|
+
level--;
|
|
63
|
+
}
|
|
64
|
+
pos++;
|
|
65
|
+
}
|
|
66
|
+
if (start === pos) {
|
|
67
|
+
return result;
|
|
68
|
+
}
|
|
69
|
+
if (level !== 0) {
|
|
70
|
+
return result;
|
|
71
|
+
}
|
|
72
|
+
result.str = unescapeAll(str.slice(start, pos));
|
|
73
|
+
result.pos = pos;
|
|
74
|
+
result.ok = true;
|
|
75
|
+
return result;
|
|
76
|
+
}
|
|
77
|
+
__name(parseLinkDestination, "parseLinkDestination");
|
|
78
|
+
export {
|
|
79
|
+
parseLinkDestination as default
|
|
80
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function parseLinkLabel(state, start, disableNested) {
|
|
4
|
+
let level, found, marker, prevPos;
|
|
5
|
+
const max = state.posMax;
|
|
6
|
+
const oldPos = state.pos;
|
|
7
|
+
state.pos = start + 1;
|
|
8
|
+
level = 1;
|
|
9
|
+
while (state.pos < max) {
|
|
10
|
+
marker = state.src.charCodeAt(state.pos);
|
|
11
|
+
if (marker === 93) {
|
|
12
|
+
level--;
|
|
13
|
+
if (level === 0) {
|
|
14
|
+
found = true;
|
|
15
|
+
break;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
prevPos = state.pos;
|
|
19
|
+
state.md.inline.skipToken(state);
|
|
20
|
+
if (marker === 91) {
|
|
21
|
+
if (prevPos === state.pos - 1) {
|
|
22
|
+
level++;
|
|
23
|
+
} else if (disableNested) {
|
|
24
|
+
state.pos = oldPos;
|
|
25
|
+
return -1;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
let labelEnd = -1;
|
|
30
|
+
if (found) {
|
|
31
|
+
labelEnd = state.pos;
|
|
32
|
+
}
|
|
33
|
+
state.pos = oldPos;
|
|
34
|
+
return labelEnd;
|
|
35
|
+
}
|
|
36
|
+
__name(parseLinkLabel, "parseLinkLabel");
|
|
37
|
+
export {
|
|
38
|
+
parseLinkLabel as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { unescapeAll } from "../common/utils.js";
|
|
4
|
+
function parseLinkTitle(str, start, max, prev_state) {
|
|
5
|
+
let code;
|
|
6
|
+
let pos = start;
|
|
7
|
+
const state = {
|
|
8
|
+
// if `true`, this is a valid link title
|
|
9
|
+
ok: false,
|
|
10
|
+
// if `true`, this link can be continued on the next line
|
|
11
|
+
can_continue: false,
|
|
12
|
+
// if `ok`, it's the position of the first character after the closing marker
|
|
13
|
+
pos: 0,
|
|
14
|
+
// if `ok`, it's the unescaped title
|
|
15
|
+
str: "",
|
|
16
|
+
// expected closing marker character code
|
|
17
|
+
marker: 0
|
|
18
|
+
};
|
|
19
|
+
if (prev_state) {
|
|
20
|
+
state.str = prev_state.str;
|
|
21
|
+
state.marker = prev_state.marker;
|
|
22
|
+
} else {
|
|
23
|
+
if (pos >= max) {
|
|
24
|
+
return state;
|
|
25
|
+
}
|
|
26
|
+
let marker = str.charCodeAt(pos);
|
|
27
|
+
if (marker !== 34 && marker !== 39 && marker !== 40) {
|
|
28
|
+
return state;
|
|
29
|
+
}
|
|
30
|
+
start++;
|
|
31
|
+
pos++;
|
|
32
|
+
if (marker === 40) {
|
|
33
|
+
marker = 41;
|
|
34
|
+
}
|
|
35
|
+
state.marker = marker;
|
|
36
|
+
}
|
|
37
|
+
while (pos < max) {
|
|
38
|
+
code = str.charCodeAt(pos);
|
|
39
|
+
if (code === state.marker) {
|
|
40
|
+
state.pos = pos + 1;
|
|
41
|
+
state.str += unescapeAll(str.slice(start, pos));
|
|
42
|
+
state.ok = true;
|
|
43
|
+
return state;
|
|
44
|
+
} else if (code === 40 && state.marker === 41) {
|
|
45
|
+
return state;
|
|
46
|
+
} else if (code === 92 && pos + 1 < max) {
|
|
47
|
+
pos++;
|
|
48
|
+
}
|
|
49
|
+
pos++;
|
|
50
|
+
}
|
|
51
|
+
state.can_continue = true;
|
|
52
|
+
state.str += unescapeAll(str.slice(start, pos));
|
|
53
|
+
return state;
|
|
54
|
+
}
|
|
55
|
+
__name(parseLinkTitle, "parseLinkTitle");
|
|
56
|
+
export {
|
|
57
|
+
parseLinkTitle as default
|
|
58
|
+
};
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import * as utils from "./common/utils.js";
|
|
4
|
+
import { isString, assign } from "./common/utils.js";
|
|
5
|
+
import * as index from "./helpers/index.js";
|
|
6
|
+
import Renderer from "./renderer.js";
|
|
7
|
+
import Core from "./parser_core.js";
|
|
8
|
+
import ParserBlock from "./parser_block.js";
|
|
9
|
+
import ParserInline from "./parser_inline.js";
|
|
10
|
+
import LinkifyIt from "../../../../linkify-it@5.0.0/node_modules/linkify-it/index.js";
|
|
11
|
+
import punycode from "../../../../punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js";
|
|
12
|
+
import cfg_default from "./presets/default.js";
|
|
13
|
+
import cfg_zero from "./presets/zero.js";
|
|
14
|
+
import cfg_commonmark from "./presets/commonmark.js";
|
|
15
|
+
import urlParse from "../../../../mdurl@2.0.0/node_modules/mdurl/lib/parse.js";
|
|
16
|
+
import encode from "../../../../mdurl@2.0.0/node_modules/mdurl/lib/encode.js";
|
|
17
|
+
import format from "../../../../mdurl@2.0.0/node_modules/mdurl/lib/format.js";
|
|
18
|
+
import decode from "../../../../mdurl@2.0.0/node_modules/mdurl/lib/decode.js";
|
|
19
|
+
const config = {
|
|
20
|
+
default: cfg_default,
|
|
21
|
+
zero: cfg_zero,
|
|
22
|
+
commonmark: cfg_commonmark
|
|
23
|
+
};
|
|
24
|
+
const BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;
|
|
25
|
+
const GOOD_DATA_RE = /^data:image\/(gif|png|jpeg|webp);/;
|
|
26
|
+
function validateLink(url) {
|
|
27
|
+
const str = url.trim().toLowerCase();
|
|
28
|
+
return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) : true;
|
|
29
|
+
}
|
|
30
|
+
__name(validateLink, "validateLink");
|
|
31
|
+
const RECODE_HOSTNAME_FOR = ["http:", "https:", "mailto:"];
|
|
32
|
+
function normalizeLink(url) {
|
|
33
|
+
const parsed = urlParse(url, true);
|
|
34
|
+
if (parsed.hostname) {
|
|
35
|
+
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
|
|
36
|
+
try {
|
|
37
|
+
parsed.hostname = punycode.toASCII(parsed.hostname);
|
|
38
|
+
} catch (er) {
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return encode(format(parsed));
|
|
43
|
+
}
|
|
44
|
+
__name(normalizeLink, "normalizeLink");
|
|
45
|
+
function normalizeLinkText(url) {
|
|
46
|
+
const parsed = urlParse(url, true);
|
|
47
|
+
if (parsed.hostname) {
|
|
48
|
+
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
|
|
49
|
+
try {
|
|
50
|
+
parsed.hostname = punycode.toUnicode(parsed.hostname);
|
|
51
|
+
} catch (er) {
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return decode(format(parsed), decode.defaultChars + "%");
|
|
56
|
+
}
|
|
57
|
+
__name(normalizeLinkText, "normalizeLinkText");
|
|
58
|
+
function MarkdownIt(presetName, options) {
|
|
59
|
+
if (!(this instanceof MarkdownIt)) {
|
|
60
|
+
return new MarkdownIt(presetName, options);
|
|
61
|
+
}
|
|
62
|
+
if (!options) {
|
|
63
|
+
if (!isString(presetName)) {
|
|
64
|
+
options = presetName || {};
|
|
65
|
+
presetName = "default";
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
this.inline = new ParserInline();
|
|
69
|
+
this.block = new ParserBlock();
|
|
70
|
+
this.core = new Core();
|
|
71
|
+
this.renderer = new Renderer();
|
|
72
|
+
this.linkify = new LinkifyIt();
|
|
73
|
+
this.validateLink = validateLink;
|
|
74
|
+
this.normalizeLink = normalizeLink;
|
|
75
|
+
this.normalizeLinkText = normalizeLinkText;
|
|
76
|
+
this.utils = utils;
|
|
77
|
+
this.helpers = assign({}, index);
|
|
78
|
+
this.options = {};
|
|
79
|
+
this.configure(presetName);
|
|
80
|
+
if (options) {
|
|
81
|
+
this.set(options);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
__name(MarkdownIt, "MarkdownIt");
|
|
85
|
+
MarkdownIt.prototype.set = function(options) {
|
|
86
|
+
assign(this.options, options);
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
MarkdownIt.prototype.configure = function(presets) {
|
|
90
|
+
const self = this;
|
|
91
|
+
if (isString(presets)) {
|
|
92
|
+
const presetName = presets;
|
|
93
|
+
presets = config[presetName];
|
|
94
|
+
if (!presets) {
|
|
95
|
+
throw new Error('Wrong `markdown-it` preset "' + presetName + '", check name');
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
if (!presets) {
|
|
99
|
+
throw new Error("Wrong `markdown-it` preset, can't be empty");
|
|
100
|
+
}
|
|
101
|
+
if (presets.options) {
|
|
102
|
+
self.set(presets.options);
|
|
103
|
+
}
|
|
104
|
+
if (presets.components) {
|
|
105
|
+
Object.keys(presets.components).forEach(function(name) {
|
|
106
|
+
if (presets.components[name].rules) {
|
|
107
|
+
self[name].ruler.enableOnly(presets.components[name].rules);
|
|
108
|
+
}
|
|
109
|
+
if (presets.components[name].rules2) {
|
|
110
|
+
self[name].ruler2.enableOnly(presets.components[name].rules2);
|
|
111
|
+
}
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
return this;
|
|
115
|
+
};
|
|
116
|
+
MarkdownIt.prototype.enable = function(list, ignoreInvalid) {
|
|
117
|
+
let result = [];
|
|
118
|
+
if (!Array.isArray(list)) {
|
|
119
|
+
list = [list];
|
|
120
|
+
}
|
|
121
|
+
["core", "block", "inline"].forEach(function(chain) {
|
|
122
|
+
result = result.concat(this[chain].ruler.enable(list, true));
|
|
123
|
+
}, this);
|
|
124
|
+
result = result.concat(this.inline.ruler2.enable(list, true));
|
|
125
|
+
const missed = list.filter(function(name) {
|
|
126
|
+
return result.indexOf(name) < 0;
|
|
127
|
+
});
|
|
128
|
+
if (missed.length && !ignoreInvalid) {
|
|
129
|
+
throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + missed);
|
|
130
|
+
}
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
133
|
+
MarkdownIt.prototype.disable = function(list, ignoreInvalid) {
|
|
134
|
+
let result = [];
|
|
135
|
+
if (!Array.isArray(list)) {
|
|
136
|
+
list = [list];
|
|
137
|
+
}
|
|
138
|
+
["core", "block", "inline"].forEach(function(chain) {
|
|
139
|
+
result = result.concat(this[chain].ruler.disable(list, true));
|
|
140
|
+
}, this);
|
|
141
|
+
result = result.concat(this.inline.ruler2.disable(list, true));
|
|
142
|
+
const missed = list.filter(function(name) {
|
|
143
|
+
return result.indexOf(name) < 0;
|
|
144
|
+
});
|
|
145
|
+
if (missed.length && !ignoreInvalid) {
|
|
146
|
+
throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + missed);
|
|
147
|
+
}
|
|
148
|
+
return this;
|
|
149
|
+
};
|
|
150
|
+
MarkdownIt.prototype.use = function(plugin) {
|
|
151
|
+
const args = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
152
|
+
plugin.apply(plugin, args);
|
|
153
|
+
return this;
|
|
154
|
+
};
|
|
155
|
+
MarkdownIt.prototype.parse = function(src, env) {
|
|
156
|
+
if (typeof src !== "string") {
|
|
157
|
+
throw new Error("Input data should be a String");
|
|
158
|
+
}
|
|
159
|
+
const state = new this.core.State(src, this, env);
|
|
160
|
+
this.core.process(state);
|
|
161
|
+
return state.tokens;
|
|
162
|
+
};
|
|
163
|
+
MarkdownIt.prototype.render = function(src, env) {
|
|
164
|
+
env = env || {};
|
|
165
|
+
return this.renderer.render(this.parse(src, env), this.options, env);
|
|
166
|
+
};
|
|
167
|
+
MarkdownIt.prototype.parseInline = function(src, env) {
|
|
168
|
+
const state = new this.core.State(src, this, env);
|
|
169
|
+
state.inlineMode = true;
|
|
170
|
+
this.core.process(state);
|
|
171
|
+
return state.tokens;
|
|
172
|
+
};
|
|
173
|
+
MarkdownIt.prototype.renderInline = function(src, env) {
|
|
174
|
+
env = env || {};
|
|
175
|
+
return this.renderer.render(this.parseInline(src, env), this.options, env);
|
|
176
|
+
};
|
|
177
|
+
export {
|
|
178
|
+
MarkdownIt as default
|
|
179
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import Ruler from "./ruler.js";
|
|
4
|
+
import StateBlock from "./rules_block/state_block.js";
|
|
5
|
+
import table from "./rules_block/table.js";
|
|
6
|
+
import code from "./rules_block/code.js";
|
|
7
|
+
import fence from "./rules_block/fence.js";
|
|
8
|
+
import blockquote from "./rules_block/blockquote.js";
|
|
9
|
+
import hr from "./rules_block/hr.js";
|
|
10
|
+
import list from "./rules_block/list.js";
|
|
11
|
+
import reference from "./rules_block/reference.js";
|
|
12
|
+
import html_block from "./rules_block/html_block.js";
|
|
13
|
+
import heading from "./rules_block/heading.js";
|
|
14
|
+
import lheading from "./rules_block/lheading.js";
|
|
15
|
+
import paragraph from "./rules_block/paragraph.js";
|
|
16
|
+
const _rules = [
|
|
17
|
+
// First 2 params - rule name & source. Secondary array - list of rules,
|
|
18
|
+
// which can be terminated by this one.
|
|
19
|
+
["table", table, ["paragraph", "reference"]],
|
|
20
|
+
["code", code],
|
|
21
|
+
["fence", fence, ["paragraph", "reference", "blockquote", "list"]],
|
|
22
|
+
["blockquote", blockquote, ["paragraph", "reference", "blockquote", "list"]],
|
|
23
|
+
["hr", hr, ["paragraph", "reference", "blockquote", "list"]],
|
|
24
|
+
["list", list, ["paragraph", "reference", "blockquote"]],
|
|
25
|
+
["reference", reference],
|
|
26
|
+
["html_block", html_block, ["paragraph", "reference", "blockquote"]],
|
|
27
|
+
["heading", heading, ["paragraph", "reference", "blockquote"]],
|
|
28
|
+
["lheading", lheading],
|
|
29
|
+
["paragraph", paragraph]
|
|
30
|
+
];
|
|
31
|
+
function ParserBlock() {
|
|
32
|
+
this.ruler = new Ruler();
|
|
33
|
+
for (let i = 0; i < _rules.length; i++) {
|
|
34
|
+
this.ruler.push(_rules[i][0], _rules[i][1], { alt: (_rules[i][2] || []).slice() });
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
__name(ParserBlock, "ParserBlock");
|
|
38
|
+
ParserBlock.prototype.tokenize = function(state, startLine, endLine) {
|
|
39
|
+
const rules = this.ruler.getRules("");
|
|
40
|
+
const len = rules.length;
|
|
41
|
+
const maxNesting = state.md.options.maxNesting;
|
|
42
|
+
let line = startLine;
|
|
43
|
+
let hasEmptyLines = false;
|
|
44
|
+
while (line < endLine) {
|
|
45
|
+
state.line = line = state.skipEmptyLines(line);
|
|
46
|
+
if (line >= endLine) {
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
if (state.sCount[line] < state.blkIndent) {
|
|
50
|
+
break;
|
|
51
|
+
}
|
|
52
|
+
if (state.level >= maxNesting) {
|
|
53
|
+
state.line = endLine;
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
const prevLine = state.line;
|
|
57
|
+
let ok = false;
|
|
58
|
+
for (let i = 0; i < len; i++) {
|
|
59
|
+
ok = rules[i](state, line, endLine, false);
|
|
60
|
+
if (ok) {
|
|
61
|
+
if (prevLine >= state.line) {
|
|
62
|
+
throw new Error("block rule didn't increment state.line");
|
|
63
|
+
}
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
if (!ok) throw new Error("none of the block rules matched");
|
|
68
|
+
state.tight = !hasEmptyLines;
|
|
69
|
+
if (state.isEmpty(state.line - 1)) {
|
|
70
|
+
hasEmptyLines = true;
|
|
71
|
+
}
|
|
72
|
+
line = state.line;
|
|
73
|
+
if (line < endLine && state.isEmpty(line)) {
|
|
74
|
+
hasEmptyLines = true;
|
|
75
|
+
line++;
|
|
76
|
+
state.line = line;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
ParserBlock.prototype.parse = function(src, md, env, outTokens) {
|
|
81
|
+
if (!src) {
|
|
82
|
+
return;
|
|
83
|
+
}
|
|
84
|
+
const state = new this.State(src, md, env, outTokens);
|
|
85
|
+
this.tokenize(state, state.line, state.lineMax);
|
|
86
|
+
};
|
|
87
|
+
ParserBlock.prototype.State = StateBlock;
|
|
88
|
+
export {
|
|
89
|
+
ParserBlock as default
|
|
90
|
+
};
|