@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
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { fromCodePoint, isValidEntityCode } from "../common/utils.js";
|
|
4
|
+
import { decodeHTML } from "../../../../../entities@4.5.0/node_modules/entities/lib/esm/decode.js";
|
|
5
|
+
const DIGITAL_RE = /^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i;
|
|
6
|
+
const NAMED_RE = /^&([a-z][a-z0-9]{1,31});/i;
|
|
7
|
+
function entity(state, silent) {
|
|
8
|
+
const pos = state.pos;
|
|
9
|
+
const max = state.posMax;
|
|
10
|
+
if (state.src.charCodeAt(pos) !== 38) return false;
|
|
11
|
+
if (pos + 1 >= max) return false;
|
|
12
|
+
const ch = state.src.charCodeAt(pos + 1);
|
|
13
|
+
if (ch === 35) {
|
|
14
|
+
const match = state.src.slice(pos).match(DIGITAL_RE);
|
|
15
|
+
if (match) {
|
|
16
|
+
if (!silent) {
|
|
17
|
+
const code = match[1][0].toLowerCase() === "x" ? parseInt(match[1].slice(1), 16) : parseInt(match[1], 10);
|
|
18
|
+
const token = state.push("text_special", "", 0);
|
|
19
|
+
token.content = isValidEntityCode(code) ? fromCodePoint(code) : fromCodePoint(65533);
|
|
20
|
+
token.markup = match[0];
|
|
21
|
+
token.info = "entity";
|
|
22
|
+
}
|
|
23
|
+
state.pos += match[0].length;
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
} else {
|
|
27
|
+
const match = state.src.slice(pos).match(NAMED_RE);
|
|
28
|
+
if (match) {
|
|
29
|
+
const decoded = decodeHTML(match[0]);
|
|
30
|
+
if (decoded !== match[0]) {
|
|
31
|
+
if (!silent) {
|
|
32
|
+
const token = state.push("text_special", "", 0);
|
|
33
|
+
token.content = decoded;
|
|
34
|
+
token.markup = match[0];
|
|
35
|
+
token.info = "entity";
|
|
36
|
+
}
|
|
37
|
+
state.pos += match[0].length;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
return false;
|
|
43
|
+
}
|
|
44
|
+
__name(entity, "entity");
|
|
45
|
+
export {
|
|
46
|
+
entity as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { isSpace } from "../common/utils.js";
|
|
4
|
+
const ESCAPED = [];
|
|
5
|
+
for (let i = 0; i < 256; i++) {
|
|
6
|
+
ESCAPED.push(0);
|
|
7
|
+
}
|
|
8
|
+
"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(ch) {
|
|
9
|
+
ESCAPED[ch.charCodeAt(0)] = 1;
|
|
10
|
+
});
|
|
11
|
+
function escape(state, silent) {
|
|
12
|
+
let pos = state.pos;
|
|
13
|
+
const max = state.posMax;
|
|
14
|
+
if (state.src.charCodeAt(pos) !== 92) return false;
|
|
15
|
+
pos++;
|
|
16
|
+
if (pos >= max) return false;
|
|
17
|
+
let ch1 = state.src.charCodeAt(pos);
|
|
18
|
+
if (ch1 === 10) {
|
|
19
|
+
if (!silent) {
|
|
20
|
+
state.push("hardbreak", "br", 0);
|
|
21
|
+
}
|
|
22
|
+
pos++;
|
|
23
|
+
while (pos < max) {
|
|
24
|
+
ch1 = state.src.charCodeAt(pos);
|
|
25
|
+
if (!isSpace(ch1)) break;
|
|
26
|
+
pos++;
|
|
27
|
+
}
|
|
28
|
+
state.pos = pos;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
let escapedStr = state.src[pos];
|
|
32
|
+
if (ch1 >= 55296 && ch1 <= 56319 && pos + 1 < max) {
|
|
33
|
+
const ch2 = state.src.charCodeAt(pos + 1);
|
|
34
|
+
if (ch2 >= 56320 && ch2 <= 57343) {
|
|
35
|
+
escapedStr += state.src[pos + 1];
|
|
36
|
+
pos++;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
const origStr = "\\" + escapedStr;
|
|
40
|
+
if (!silent) {
|
|
41
|
+
const token = state.push("text_special", "", 0);
|
|
42
|
+
if (ch1 < 256 && ESCAPED[ch1] !== 0) {
|
|
43
|
+
token.content = escapedStr;
|
|
44
|
+
} else {
|
|
45
|
+
token.content = origStr;
|
|
46
|
+
}
|
|
47
|
+
token.markup = origStr;
|
|
48
|
+
token.info = "escape";
|
|
49
|
+
}
|
|
50
|
+
state.pos = pos + 1;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
__name(escape, "escape");
|
|
54
|
+
export {
|
|
55
|
+
escape as default
|
|
56
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function fragments_join(state) {
|
|
4
|
+
let curr, last;
|
|
5
|
+
let level = 0;
|
|
6
|
+
const tokens = state.tokens;
|
|
7
|
+
const max = state.tokens.length;
|
|
8
|
+
for (curr = last = 0; curr < max; curr++) {
|
|
9
|
+
if (tokens[curr].nesting < 0) level--;
|
|
10
|
+
tokens[curr].level = level;
|
|
11
|
+
if (tokens[curr].nesting > 0) level++;
|
|
12
|
+
if (tokens[curr].type === "text" && curr + 1 < max && tokens[curr + 1].type === "text") {
|
|
13
|
+
tokens[curr + 1].content = tokens[curr].content + tokens[curr + 1].content;
|
|
14
|
+
} else {
|
|
15
|
+
if (curr !== last) {
|
|
16
|
+
tokens[last] = tokens[curr];
|
|
17
|
+
}
|
|
18
|
+
last++;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
if (curr !== last) {
|
|
22
|
+
tokens.length = last;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
__name(fragments_join, "fragments_join");
|
|
26
|
+
export {
|
|
27
|
+
fragments_join as default
|
|
28
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { HTML_TAG_RE } from "../common/html_re.js";
|
|
4
|
+
function isLinkOpen(str) {
|
|
5
|
+
return /^<a[>\s]/i.test(str);
|
|
6
|
+
}
|
|
7
|
+
__name(isLinkOpen, "isLinkOpen");
|
|
8
|
+
function isLinkClose(str) {
|
|
9
|
+
return /^<\/a\s*>/i.test(str);
|
|
10
|
+
}
|
|
11
|
+
__name(isLinkClose, "isLinkClose");
|
|
12
|
+
function isLetter(ch) {
|
|
13
|
+
const lc = ch | 32;
|
|
14
|
+
return lc >= 97 && lc <= 122;
|
|
15
|
+
}
|
|
16
|
+
__name(isLetter, "isLetter");
|
|
17
|
+
function html_inline(state, silent) {
|
|
18
|
+
if (!state.md.options.html) {
|
|
19
|
+
return false;
|
|
20
|
+
}
|
|
21
|
+
const max = state.posMax;
|
|
22
|
+
const pos = state.pos;
|
|
23
|
+
if (state.src.charCodeAt(pos) !== 60 || pos + 2 >= max) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
const ch = state.src.charCodeAt(pos + 1);
|
|
27
|
+
if (ch !== 33 && ch !== 63 && ch !== 47 && !isLetter(ch)) {
|
|
28
|
+
return false;
|
|
29
|
+
}
|
|
30
|
+
const match = state.src.slice(pos).match(HTML_TAG_RE);
|
|
31
|
+
if (!match) {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
if (!silent) {
|
|
35
|
+
const token = state.push("html_inline", "", 0);
|
|
36
|
+
token.content = match[0];
|
|
37
|
+
if (isLinkOpen(token.content)) state.linkLevel++;
|
|
38
|
+
if (isLinkClose(token.content)) state.linkLevel--;
|
|
39
|
+
}
|
|
40
|
+
state.pos += match[0].length;
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
__name(html_inline, "html_inline");
|
|
44
|
+
export {
|
|
45
|
+
html_inline as default
|
|
46
|
+
};
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { isSpace, normalizeReference } from "../common/utils.js";
|
|
4
|
+
function image(state, silent) {
|
|
5
|
+
let code, content, label, pos, ref, res, title, start;
|
|
6
|
+
let href = "";
|
|
7
|
+
const oldPos = state.pos;
|
|
8
|
+
const max = state.posMax;
|
|
9
|
+
if (state.src.charCodeAt(state.pos) !== 33) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
if (state.src.charCodeAt(state.pos + 1) !== 91) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
const labelStart = state.pos + 2;
|
|
16
|
+
const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false);
|
|
17
|
+
if (labelEnd < 0) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
pos = labelEnd + 1;
|
|
21
|
+
if (pos < max && state.src.charCodeAt(pos) === 40) {
|
|
22
|
+
pos++;
|
|
23
|
+
for (; pos < max; pos++) {
|
|
24
|
+
code = state.src.charCodeAt(pos);
|
|
25
|
+
if (!isSpace(code) && code !== 10) {
|
|
26
|
+
break;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (pos >= max) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
start = pos;
|
|
33
|
+
res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
|
|
34
|
+
if (res.ok) {
|
|
35
|
+
href = state.md.normalizeLink(res.str);
|
|
36
|
+
if (state.md.validateLink(href)) {
|
|
37
|
+
pos = res.pos;
|
|
38
|
+
} else {
|
|
39
|
+
href = "";
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
start = pos;
|
|
43
|
+
for (; pos < max; pos++) {
|
|
44
|
+
code = state.src.charCodeAt(pos);
|
|
45
|
+
if (!isSpace(code) && code !== 10) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
|
|
50
|
+
if (pos < max && start !== pos && res.ok) {
|
|
51
|
+
title = res.str;
|
|
52
|
+
pos = res.pos;
|
|
53
|
+
for (; pos < max; pos++) {
|
|
54
|
+
code = state.src.charCodeAt(pos);
|
|
55
|
+
if (!isSpace(code) && code !== 10) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
} else {
|
|
60
|
+
title = "";
|
|
61
|
+
}
|
|
62
|
+
if (pos >= max || state.src.charCodeAt(pos) !== 41) {
|
|
63
|
+
state.pos = oldPos;
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
pos++;
|
|
67
|
+
} else {
|
|
68
|
+
if (typeof state.env.references === "undefined") {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
if (pos < max && state.src.charCodeAt(pos) === 91) {
|
|
72
|
+
start = pos + 1;
|
|
73
|
+
pos = state.md.helpers.parseLinkLabel(state, pos);
|
|
74
|
+
if (pos >= 0) {
|
|
75
|
+
label = state.src.slice(start, pos++);
|
|
76
|
+
} else {
|
|
77
|
+
pos = labelEnd + 1;
|
|
78
|
+
}
|
|
79
|
+
} else {
|
|
80
|
+
pos = labelEnd + 1;
|
|
81
|
+
}
|
|
82
|
+
if (!label) {
|
|
83
|
+
label = state.src.slice(labelStart, labelEnd);
|
|
84
|
+
}
|
|
85
|
+
ref = state.env.references[normalizeReference(label)];
|
|
86
|
+
if (!ref) {
|
|
87
|
+
state.pos = oldPos;
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
href = ref.href;
|
|
91
|
+
title = ref.title;
|
|
92
|
+
}
|
|
93
|
+
if (!silent) {
|
|
94
|
+
content = state.src.slice(labelStart, labelEnd);
|
|
95
|
+
const tokens = [];
|
|
96
|
+
state.md.inline.parse(
|
|
97
|
+
content,
|
|
98
|
+
state.md,
|
|
99
|
+
state.env,
|
|
100
|
+
tokens
|
|
101
|
+
);
|
|
102
|
+
const token = state.push("image", "img", 0);
|
|
103
|
+
const attrs = [["src", href], ["alt", ""]];
|
|
104
|
+
token.attrs = attrs;
|
|
105
|
+
token.children = tokens;
|
|
106
|
+
token.content = content;
|
|
107
|
+
if (title) {
|
|
108
|
+
attrs.push(["title", title]);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
state.pos = pos;
|
|
112
|
+
state.posMax = max;
|
|
113
|
+
return true;
|
|
114
|
+
}
|
|
115
|
+
__name(image, "image");
|
|
116
|
+
export {
|
|
117
|
+
image as default
|
|
118
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { isSpace, normalizeReference } from "../common/utils.js";
|
|
4
|
+
function link(state, silent) {
|
|
5
|
+
let code, label, res, ref;
|
|
6
|
+
let href = "";
|
|
7
|
+
let title = "";
|
|
8
|
+
let start = state.pos;
|
|
9
|
+
let parseReference = true;
|
|
10
|
+
if (state.src.charCodeAt(state.pos) !== 91) {
|
|
11
|
+
return false;
|
|
12
|
+
}
|
|
13
|
+
const oldPos = state.pos;
|
|
14
|
+
const max = state.posMax;
|
|
15
|
+
const labelStart = state.pos + 1;
|
|
16
|
+
const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);
|
|
17
|
+
if (labelEnd < 0) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
let pos = labelEnd + 1;
|
|
21
|
+
if (pos < max && state.src.charCodeAt(pos) === 40) {
|
|
22
|
+
parseReference = false;
|
|
23
|
+
pos++;
|
|
24
|
+
for (; pos < max; pos++) {
|
|
25
|
+
code = state.src.charCodeAt(pos);
|
|
26
|
+
if (!isSpace(code) && code !== 10) {
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
if (pos >= max) {
|
|
31
|
+
return false;
|
|
32
|
+
}
|
|
33
|
+
start = pos;
|
|
34
|
+
res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
|
|
35
|
+
if (res.ok) {
|
|
36
|
+
href = state.md.normalizeLink(res.str);
|
|
37
|
+
if (state.md.validateLink(href)) {
|
|
38
|
+
pos = res.pos;
|
|
39
|
+
} else {
|
|
40
|
+
href = "";
|
|
41
|
+
}
|
|
42
|
+
start = pos;
|
|
43
|
+
for (; pos < max; pos++) {
|
|
44
|
+
code = state.src.charCodeAt(pos);
|
|
45
|
+
if (!isSpace(code) && code !== 10) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
|
|
50
|
+
if (pos < max && start !== pos && res.ok) {
|
|
51
|
+
title = res.str;
|
|
52
|
+
pos = res.pos;
|
|
53
|
+
for (; pos < max; pos++) {
|
|
54
|
+
code = state.src.charCodeAt(pos);
|
|
55
|
+
if (!isSpace(code) && code !== 10) {
|
|
56
|
+
break;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
if (pos >= max || state.src.charCodeAt(pos) !== 41) {
|
|
62
|
+
parseReference = true;
|
|
63
|
+
}
|
|
64
|
+
pos++;
|
|
65
|
+
}
|
|
66
|
+
if (parseReference) {
|
|
67
|
+
if (typeof state.env.references === "undefined") {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
if (pos < max && state.src.charCodeAt(pos) === 91) {
|
|
71
|
+
start = pos + 1;
|
|
72
|
+
pos = state.md.helpers.parseLinkLabel(state, pos);
|
|
73
|
+
if (pos >= 0) {
|
|
74
|
+
label = state.src.slice(start, pos++);
|
|
75
|
+
} else {
|
|
76
|
+
pos = labelEnd + 1;
|
|
77
|
+
}
|
|
78
|
+
} else {
|
|
79
|
+
pos = labelEnd + 1;
|
|
80
|
+
}
|
|
81
|
+
if (!label) {
|
|
82
|
+
label = state.src.slice(labelStart, labelEnd);
|
|
83
|
+
}
|
|
84
|
+
ref = state.env.references[normalizeReference(label)];
|
|
85
|
+
if (!ref) {
|
|
86
|
+
state.pos = oldPos;
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
href = ref.href;
|
|
90
|
+
title = ref.title;
|
|
91
|
+
}
|
|
92
|
+
if (!silent) {
|
|
93
|
+
state.pos = labelStart;
|
|
94
|
+
state.posMax = labelEnd;
|
|
95
|
+
const token_o = state.push("link_open", "a", 1);
|
|
96
|
+
const attrs = [["href", href]];
|
|
97
|
+
token_o.attrs = attrs;
|
|
98
|
+
if (title) {
|
|
99
|
+
attrs.push(["title", title]);
|
|
100
|
+
}
|
|
101
|
+
state.linkLevel++;
|
|
102
|
+
state.md.inline.tokenize(state);
|
|
103
|
+
state.linkLevel--;
|
|
104
|
+
state.push("link_close", "a", -1);
|
|
105
|
+
}
|
|
106
|
+
state.pos = pos;
|
|
107
|
+
state.posMax = max;
|
|
108
|
+
return true;
|
|
109
|
+
}
|
|
110
|
+
__name(link, "link");
|
|
111
|
+
export {
|
|
112
|
+
link as default
|
|
113
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
const SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
|
|
4
|
+
function linkify(state, silent) {
|
|
5
|
+
if (!state.md.options.linkify) return false;
|
|
6
|
+
if (state.linkLevel > 0) return false;
|
|
7
|
+
const pos = state.pos;
|
|
8
|
+
const max = state.posMax;
|
|
9
|
+
if (pos + 3 > max) return false;
|
|
10
|
+
if (state.src.charCodeAt(pos) !== 58) return false;
|
|
11
|
+
if (state.src.charCodeAt(pos + 1) !== 47) return false;
|
|
12
|
+
if (state.src.charCodeAt(pos + 2) !== 47) return false;
|
|
13
|
+
const match = state.pending.match(SCHEME_RE);
|
|
14
|
+
if (!match) return false;
|
|
15
|
+
const proto = match[1];
|
|
16
|
+
const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length));
|
|
17
|
+
if (!link) return false;
|
|
18
|
+
let url = link.url;
|
|
19
|
+
if (url.length <= proto.length) return false;
|
|
20
|
+
url = url.replace(/\*+$/, "");
|
|
21
|
+
const fullUrl = state.md.normalizeLink(url);
|
|
22
|
+
if (!state.md.validateLink(fullUrl)) return false;
|
|
23
|
+
if (!silent) {
|
|
24
|
+
state.pending = state.pending.slice(0, -proto.length);
|
|
25
|
+
const token_o = state.push("link_open", "a", 1);
|
|
26
|
+
token_o.attrs = [["href", fullUrl]];
|
|
27
|
+
token_o.markup = "linkify";
|
|
28
|
+
token_o.info = "auto";
|
|
29
|
+
const token_t = state.push("text", "", 0);
|
|
30
|
+
token_t.content = state.md.normalizeLinkText(url);
|
|
31
|
+
const token_c = state.push("link_close", "a", -1);
|
|
32
|
+
token_c.markup = "linkify";
|
|
33
|
+
token_c.info = "auto";
|
|
34
|
+
}
|
|
35
|
+
state.pos += url.length - proto.length;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
__name(linkify, "linkify");
|
|
39
|
+
export {
|
|
40
|
+
linkify as default
|
|
41
|
+
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import { isSpace } from "../common/utils.js";
|
|
4
|
+
function newline(state, silent) {
|
|
5
|
+
let pos = state.pos;
|
|
6
|
+
if (state.src.charCodeAt(pos) !== 10) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
const pmax = state.pending.length - 1;
|
|
10
|
+
const max = state.posMax;
|
|
11
|
+
if (!silent) {
|
|
12
|
+
if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) {
|
|
13
|
+
if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
|
|
14
|
+
let ws = pmax - 1;
|
|
15
|
+
while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
|
|
16
|
+
state.pending = state.pending.slice(0, ws);
|
|
17
|
+
state.push("hardbreak", "br", 0);
|
|
18
|
+
} else {
|
|
19
|
+
state.pending = state.pending.slice(0, -1);
|
|
20
|
+
state.push("softbreak", "br", 0);
|
|
21
|
+
}
|
|
22
|
+
} else {
|
|
23
|
+
state.push("softbreak", "br", 0);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
pos++;
|
|
27
|
+
while (pos < max && isSpace(state.src.charCodeAt(pos))) {
|
|
28
|
+
pos++;
|
|
29
|
+
}
|
|
30
|
+
state.pos = pos;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
__name(newline, "newline");
|
|
34
|
+
export {
|
|
35
|
+
newline as default
|
|
36
|
+
};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import Token from "../token.js";
|
|
4
|
+
import { isWhiteSpace, isMdAsciiPunct, isPunctChar } from "../common/utils.js";
|
|
5
|
+
function StateInline(src, md, env, outTokens) {
|
|
6
|
+
this.src = src;
|
|
7
|
+
this.env = env;
|
|
8
|
+
this.md = md;
|
|
9
|
+
this.tokens = outTokens;
|
|
10
|
+
this.tokens_meta = Array(outTokens.length);
|
|
11
|
+
this.pos = 0;
|
|
12
|
+
this.posMax = this.src.length;
|
|
13
|
+
this.level = 0;
|
|
14
|
+
this.pending = "";
|
|
15
|
+
this.pendingLevel = 0;
|
|
16
|
+
this.cache = {};
|
|
17
|
+
this.delimiters = [];
|
|
18
|
+
this._prev_delimiters = [];
|
|
19
|
+
this.backticks = {};
|
|
20
|
+
this.backticksScanned = false;
|
|
21
|
+
this.linkLevel = 0;
|
|
22
|
+
}
|
|
23
|
+
__name(StateInline, "StateInline");
|
|
24
|
+
StateInline.prototype.pushPending = function() {
|
|
25
|
+
const token = new Token("text", "", 0);
|
|
26
|
+
token.content = this.pending;
|
|
27
|
+
token.level = this.pendingLevel;
|
|
28
|
+
this.tokens.push(token);
|
|
29
|
+
this.pending = "";
|
|
30
|
+
return token;
|
|
31
|
+
};
|
|
32
|
+
StateInline.prototype.push = function(type, tag, nesting) {
|
|
33
|
+
if (this.pending) {
|
|
34
|
+
this.pushPending();
|
|
35
|
+
}
|
|
36
|
+
const token = new Token(type, tag, nesting);
|
|
37
|
+
let token_meta = null;
|
|
38
|
+
if (nesting < 0) {
|
|
39
|
+
this.level--;
|
|
40
|
+
this.delimiters = this._prev_delimiters.pop();
|
|
41
|
+
}
|
|
42
|
+
token.level = this.level;
|
|
43
|
+
if (nesting > 0) {
|
|
44
|
+
this.level++;
|
|
45
|
+
this._prev_delimiters.push(this.delimiters);
|
|
46
|
+
this.delimiters = [];
|
|
47
|
+
token_meta = { delimiters: this.delimiters };
|
|
48
|
+
}
|
|
49
|
+
this.pendingLevel = this.level;
|
|
50
|
+
this.tokens.push(token);
|
|
51
|
+
this.tokens_meta.push(token_meta);
|
|
52
|
+
return token;
|
|
53
|
+
};
|
|
54
|
+
StateInline.prototype.scanDelims = function(start, canSplitWord) {
|
|
55
|
+
const max = this.posMax;
|
|
56
|
+
const marker = this.src.charCodeAt(start);
|
|
57
|
+
const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 32;
|
|
58
|
+
let pos = start;
|
|
59
|
+
while (pos < max && this.src.charCodeAt(pos) === marker) {
|
|
60
|
+
pos++;
|
|
61
|
+
}
|
|
62
|
+
const count = pos - start;
|
|
63
|
+
const nextChar = pos < max ? this.src.charCodeAt(pos) : 32;
|
|
64
|
+
const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
|
|
65
|
+
const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
|
|
66
|
+
const isLastWhiteSpace = isWhiteSpace(lastChar);
|
|
67
|
+
const isNextWhiteSpace = isWhiteSpace(nextChar);
|
|
68
|
+
const left_flanking = !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar);
|
|
69
|
+
const right_flanking = !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar);
|
|
70
|
+
const can_open = left_flanking && (canSplitWord || !right_flanking || isLastPunctChar);
|
|
71
|
+
const can_close = right_flanking && (canSplitWord || !left_flanking || isNextPunctChar);
|
|
72
|
+
return { can_open, can_close, length: count };
|
|
73
|
+
};
|
|
74
|
+
StateInline.prototype.Token = Token;
|
|
75
|
+
export {
|
|
76
|
+
StateInline as default
|
|
77
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function strikethrough_tokenize(state, silent) {
|
|
4
|
+
const start = state.pos;
|
|
5
|
+
const marker = state.src.charCodeAt(start);
|
|
6
|
+
if (silent) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
if (marker !== 126) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
const scanned = state.scanDelims(state.pos, true);
|
|
13
|
+
let len = scanned.length;
|
|
14
|
+
const ch = String.fromCharCode(marker);
|
|
15
|
+
if (len < 2) {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
let token;
|
|
19
|
+
if (len % 2) {
|
|
20
|
+
token = state.push("text", "", 0);
|
|
21
|
+
token.content = ch;
|
|
22
|
+
len--;
|
|
23
|
+
}
|
|
24
|
+
for (let i = 0; i < len; i += 2) {
|
|
25
|
+
token = state.push("text", "", 0);
|
|
26
|
+
token.content = ch + ch;
|
|
27
|
+
state.delimiters.push({
|
|
28
|
+
marker,
|
|
29
|
+
length: 0,
|
|
30
|
+
// disable "rule of 3" length checks meant for emphasis
|
|
31
|
+
token: state.tokens.length - 1,
|
|
32
|
+
end: -1,
|
|
33
|
+
open: scanned.can_open,
|
|
34
|
+
close: scanned.can_close
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
state.pos += scanned.length;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
__name(strikethrough_tokenize, "strikethrough_tokenize");
|
|
41
|
+
function postProcess(state, delimiters) {
|
|
42
|
+
let token;
|
|
43
|
+
const loneMarkers = [];
|
|
44
|
+
const max = delimiters.length;
|
|
45
|
+
for (let i = 0; i < max; i++) {
|
|
46
|
+
const startDelim = delimiters[i];
|
|
47
|
+
if (startDelim.marker !== 126) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
if (startDelim.end === -1) {
|
|
51
|
+
continue;
|
|
52
|
+
}
|
|
53
|
+
const endDelim = delimiters[startDelim.end];
|
|
54
|
+
token = state.tokens[startDelim.token];
|
|
55
|
+
token.type = "s_open";
|
|
56
|
+
token.tag = "s";
|
|
57
|
+
token.nesting = 1;
|
|
58
|
+
token.markup = "~~";
|
|
59
|
+
token.content = "";
|
|
60
|
+
token = state.tokens[endDelim.token];
|
|
61
|
+
token.type = "s_close";
|
|
62
|
+
token.tag = "s";
|
|
63
|
+
token.nesting = -1;
|
|
64
|
+
token.markup = "~~";
|
|
65
|
+
token.content = "";
|
|
66
|
+
if (state.tokens[endDelim.token - 1].type === "text" && state.tokens[endDelim.token - 1].content === "~") {
|
|
67
|
+
loneMarkers.push(endDelim.token - 1);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
while (loneMarkers.length) {
|
|
71
|
+
const i = loneMarkers.pop();
|
|
72
|
+
let j = i + 1;
|
|
73
|
+
while (j < state.tokens.length && state.tokens[j].type === "s_close") {
|
|
74
|
+
j++;
|
|
75
|
+
}
|
|
76
|
+
j--;
|
|
77
|
+
if (i !== j) {
|
|
78
|
+
token = state.tokens[j];
|
|
79
|
+
state.tokens[j] = state.tokens[i];
|
|
80
|
+
state.tokens[i] = token;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
__name(postProcess, "postProcess");
|
|
85
|
+
function strikethrough_postProcess(state) {
|
|
86
|
+
const tokens_meta = state.tokens_meta;
|
|
87
|
+
const max = state.tokens_meta.length;
|
|
88
|
+
postProcess(state, state.delimiters);
|
|
89
|
+
for (let curr = 0; curr < max; curr++) {
|
|
90
|
+
if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
|
|
91
|
+
postProcess(state, tokens_meta[curr].delimiters);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
__name(strikethrough_postProcess, "strikethrough_postProcess");
|
|
96
|
+
const r_strikethrough = {
|
|
97
|
+
tokenize: strikethrough_tokenize,
|
|
98
|
+
postProcess: strikethrough_postProcess
|
|
99
|
+
};
|
|
100
|
+
export {
|
|
101
|
+
r_strikethrough as default
|
|
102
|
+
};
|