@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,130 @@
|
|
|
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 blockquote(state, startLine, endLine, silent) {
|
|
5
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6
|
+
let max = state.eMarks[startLine];
|
|
7
|
+
const oldLineMax = state.lineMax;
|
|
8
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
if (state.src.charCodeAt(pos) !== 62) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
if (silent) {
|
|
15
|
+
return true;
|
|
16
|
+
}
|
|
17
|
+
const oldBMarks = [];
|
|
18
|
+
const oldBSCount = [];
|
|
19
|
+
const oldSCount = [];
|
|
20
|
+
const oldTShift = [];
|
|
21
|
+
const terminatorRules = state.md.block.ruler.getRules("blockquote");
|
|
22
|
+
const oldParentType = state.parentType;
|
|
23
|
+
state.parentType = "blockquote";
|
|
24
|
+
let lastLineEmpty = false;
|
|
25
|
+
let nextLine;
|
|
26
|
+
for (nextLine = startLine; nextLine < endLine; nextLine++) {
|
|
27
|
+
const isOutdented = state.sCount[nextLine] < state.blkIndent;
|
|
28
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
29
|
+
max = state.eMarks[nextLine];
|
|
30
|
+
if (pos >= max) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
if (state.src.charCodeAt(pos++) === 62 && !isOutdented) {
|
|
34
|
+
let initial = state.sCount[nextLine] + 1;
|
|
35
|
+
let spaceAfterMarker;
|
|
36
|
+
let adjustTab;
|
|
37
|
+
if (state.src.charCodeAt(pos) === 32) {
|
|
38
|
+
pos++;
|
|
39
|
+
initial++;
|
|
40
|
+
adjustTab = false;
|
|
41
|
+
spaceAfterMarker = true;
|
|
42
|
+
} else if (state.src.charCodeAt(pos) === 9) {
|
|
43
|
+
spaceAfterMarker = true;
|
|
44
|
+
if ((state.bsCount[nextLine] + initial) % 4 === 3) {
|
|
45
|
+
pos++;
|
|
46
|
+
initial++;
|
|
47
|
+
adjustTab = false;
|
|
48
|
+
} else {
|
|
49
|
+
adjustTab = true;
|
|
50
|
+
}
|
|
51
|
+
} else {
|
|
52
|
+
spaceAfterMarker = false;
|
|
53
|
+
}
|
|
54
|
+
let offset = initial;
|
|
55
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
56
|
+
state.bMarks[nextLine] = pos;
|
|
57
|
+
while (pos < max) {
|
|
58
|
+
const ch = state.src.charCodeAt(pos);
|
|
59
|
+
if (isSpace(ch)) {
|
|
60
|
+
if (ch === 9) {
|
|
61
|
+
offset += 4 - (offset + state.bsCount[nextLine] + (adjustTab ? 1 : 0)) % 4;
|
|
62
|
+
} else {
|
|
63
|
+
offset++;
|
|
64
|
+
}
|
|
65
|
+
} else {
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
pos++;
|
|
69
|
+
}
|
|
70
|
+
lastLineEmpty = pos >= max;
|
|
71
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
72
|
+
state.bsCount[nextLine] = state.sCount[nextLine] + 1 + (spaceAfterMarker ? 1 : 0);
|
|
73
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
74
|
+
state.sCount[nextLine] = offset - initial;
|
|
75
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
76
|
+
state.tShift[nextLine] = pos - state.bMarks[nextLine];
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
if (lastLineEmpty) {
|
|
80
|
+
break;
|
|
81
|
+
}
|
|
82
|
+
let terminate = false;
|
|
83
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) {
|
|
84
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
85
|
+
terminate = true;
|
|
86
|
+
break;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
if (terminate) {
|
|
90
|
+
state.lineMax = nextLine;
|
|
91
|
+
if (state.blkIndent !== 0) {
|
|
92
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
93
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
94
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
95
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
96
|
+
state.sCount[nextLine] -= state.blkIndent;
|
|
97
|
+
}
|
|
98
|
+
break;
|
|
99
|
+
}
|
|
100
|
+
oldBMarks.push(state.bMarks[nextLine]);
|
|
101
|
+
oldBSCount.push(state.bsCount[nextLine]);
|
|
102
|
+
oldTShift.push(state.tShift[nextLine]);
|
|
103
|
+
oldSCount.push(state.sCount[nextLine]);
|
|
104
|
+
state.sCount[nextLine] = -1;
|
|
105
|
+
}
|
|
106
|
+
const oldIndent = state.blkIndent;
|
|
107
|
+
state.blkIndent = 0;
|
|
108
|
+
const token_o = state.push("blockquote_open", "blockquote", 1);
|
|
109
|
+
token_o.markup = ">";
|
|
110
|
+
const lines = [startLine, 0];
|
|
111
|
+
token_o.map = lines;
|
|
112
|
+
state.md.block.tokenize(state, startLine, nextLine);
|
|
113
|
+
const token_c = state.push("blockquote_close", "blockquote", -1);
|
|
114
|
+
token_c.markup = ">";
|
|
115
|
+
state.lineMax = oldLineMax;
|
|
116
|
+
state.parentType = oldParentType;
|
|
117
|
+
lines[1] = state.line;
|
|
118
|
+
for (let i = 0; i < oldTShift.length; i++) {
|
|
119
|
+
state.bMarks[i + startLine] = oldBMarks[i];
|
|
120
|
+
state.tShift[i + startLine] = oldTShift[i];
|
|
121
|
+
state.sCount[i + startLine] = oldSCount[i];
|
|
122
|
+
state.bsCount[i + startLine] = oldBSCount[i];
|
|
123
|
+
}
|
|
124
|
+
state.blkIndent = oldIndent;
|
|
125
|
+
return true;
|
|
126
|
+
}
|
|
127
|
+
__name(blockquote, "blockquote");
|
|
128
|
+
export {
|
|
129
|
+
blockquote as default
|
|
130
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function code(state, startLine, endLine) {
|
|
4
|
+
if (state.sCount[startLine] - state.blkIndent < 4) {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
let nextLine = startLine + 1;
|
|
8
|
+
let last = nextLine;
|
|
9
|
+
while (nextLine < endLine) {
|
|
10
|
+
if (state.isEmpty(nextLine)) {
|
|
11
|
+
nextLine++;
|
|
12
|
+
continue;
|
|
13
|
+
}
|
|
14
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
15
|
+
nextLine++;
|
|
16
|
+
last = nextLine;
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
break;
|
|
20
|
+
}
|
|
21
|
+
state.line = last;
|
|
22
|
+
const token = state.push("code_block", "code", 0);
|
|
23
|
+
token.content = state.getLines(startLine, last, 4 + state.blkIndent, false) + "\n";
|
|
24
|
+
token.map = [startLine, state.line];
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
__name(code, "code");
|
|
28
|
+
export {
|
|
29
|
+
code as default
|
|
30
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function fence(state, startLine, endLine, silent) {
|
|
4
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
5
|
+
let max = state.eMarks[startLine];
|
|
6
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
if (pos + 3 > max) {
|
|
10
|
+
return false;
|
|
11
|
+
}
|
|
12
|
+
const marker = state.src.charCodeAt(pos);
|
|
13
|
+
if (marker !== 126 && marker !== 96) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
let mem = pos;
|
|
17
|
+
pos = state.skipChars(pos, marker);
|
|
18
|
+
let len = pos - mem;
|
|
19
|
+
if (len < 3) {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
const markup = state.src.slice(mem, pos);
|
|
23
|
+
const params = state.src.slice(pos, max);
|
|
24
|
+
if (marker === 96) {
|
|
25
|
+
if (params.indexOf(String.fromCharCode(marker)) >= 0) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
if (silent) {
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
let nextLine = startLine;
|
|
33
|
+
let haveEndMarker = false;
|
|
34
|
+
for (; ; ) {
|
|
35
|
+
nextLine++;
|
|
36
|
+
if (nextLine >= endLine) {
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
pos = mem = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
40
|
+
max = state.eMarks[nextLine];
|
|
41
|
+
if (pos < max && state.sCount[nextLine] < state.blkIndent) {
|
|
42
|
+
break;
|
|
43
|
+
}
|
|
44
|
+
if (state.src.charCodeAt(pos) !== marker) {
|
|
45
|
+
continue;
|
|
46
|
+
}
|
|
47
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
48
|
+
continue;
|
|
49
|
+
}
|
|
50
|
+
pos = state.skipChars(pos, marker);
|
|
51
|
+
if (pos - mem < len) {
|
|
52
|
+
continue;
|
|
53
|
+
}
|
|
54
|
+
pos = state.skipSpaces(pos);
|
|
55
|
+
if (pos < max) {
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
haveEndMarker = true;
|
|
59
|
+
break;
|
|
60
|
+
}
|
|
61
|
+
len = state.sCount[startLine];
|
|
62
|
+
state.line = nextLine + (haveEndMarker ? 1 : 0);
|
|
63
|
+
const token = state.push("fence", "code", 0);
|
|
64
|
+
token.info = params;
|
|
65
|
+
token.content = state.getLines(startLine + 1, nextLine, len, true);
|
|
66
|
+
token.markup = markup;
|
|
67
|
+
token.map = [startLine, state.line];
|
|
68
|
+
return true;
|
|
69
|
+
}
|
|
70
|
+
__name(fence, "fence");
|
|
71
|
+
export {
|
|
72
|
+
fence as default
|
|
73
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
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 heading(state, startLine, endLine, silent) {
|
|
5
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
6
|
+
let max = state.eMarks[startLine];
|
|
7
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
8
|
+
return false;
|
|
9
|
+
}
|
|
10
|
+
let ch = state.src.charCodeAt(pos);
|
|
11
|
+
if (ch !== 35 || pos >= max) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
let level = 1;
|
|
15
|
+
ch = state.src.charCodeAt(++pos);
|
|
16
|
+
while (ch === 35 && pos < max && level <= 6) {
|
|
17
|
+
level++;
|
|
18
|
+
ch = state.src.charCodeAt(++pos);
|
|
19
|
+
}
|
|
20
|
+
if (level > 6 || pos < max && !isSpace(ch)) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
if (silent) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
max = state.skipSpacesBack(max, pos);
|
|
27
|
+
const tmp = state.skipCharsBack(max, 35, pos);
|
|
28
|
+
if (tmp > pos && isSpace(state.src.charCodeAt(tmp - 1))) {
|
|
29
|
+
max = tmp;
|
|
30
|
+
}
|
|
31
|
+
state.line = startLine + 1;
|
|
32
|
+
const token_o = state.push("heading_open", "h" + String(level), 1);
|
|
33
|
+
token_o.markup = "########".slice(0, level);
|
|
34
|
+
token_o.map = [startLine, state.line];
|
|
35
|
+
const token_i = state.push("inline", "", 0);
|
|
36
|
+
token_i.content = state.src.slice(pos, max).trim();
|
|
37
|
+
token_i.map = [startLine, state.line];
|
|
38
|
+
token_i.children = [];
|
|
39
|
+
const token_c = state.push("heading_close", "h" + String(level), -1);
|
|
40
|
+
token_c.markup = "########".slice(0, level);
|
|
41
|
+
return true;
|
|
42
|
+
}
|
|
43
|
+
__name(heading, "heading");
|
|
44
|
+
export {
|
|
45
|
+
heading as default
|
|
46
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
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 hr(state, startLine, endLine, silent) {
|
|
5
|
+
const max = state.eMarks[startLine];
|
|
6
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
7
|
+
return false;
|
|
8
|
+
}
|
|
9
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
10
|
+
const marker = state.src.charCodeAt(pos++);
|
|
11
|
+
if (marker !== 42 && marker !== 45 && marker !== 95) {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
let cnt = 1;
|
|
15
|
+
while (pos < max) {
|
|
16
|
+
const ch = state.src.charCodeAt(pos++);
|
|
17
|
+
if (ch !== marker && !isSpace(ch)) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
if (ch === marker) {
|
|
21
|
+
cnt++;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
if (cnt < 3) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
if (silent) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
state.line = startLine + 1;
|
|
31
|
+
const token = state.push("hr", "hr", 0);
|
|
32
|
+
token.map = [startLine, state.line];
|
|
33
|
+
token.markup = Array(cnt + 1).join(String.fromCharCode(marker));
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
__name(hr, "hr");
|
|
37
|
+
export {
|
|
38
|
+
hr as default
|
|
39
|
+
};
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
import block_names from "../common/html_blocks.js";
|
|
4
|
+
import { HTML_OPEN_CLOSE_TAG_RE } from "../common/html_re.js";
|
|
5
|
+
const HTML_SEQUENCES = [
|
|
6
|
+
[/^<(script|pre|style|textarea)(?=(\s|>|$))/i, /<\/(script|pre|style|textarea)>/i, true],
|
|
7
|
+
[/^<!--/, /-->/, true],
|
|
8
|
+
[/^<\?/, /\?>/, true],
|
|
9
|
+
[/^<![A-Z]/, />/, true],
|
|
10
|
+
[/^<!\[CDATA\[/, /\]\]>/, true],
|
|
11
|
+
[new RegExp("^</?(" + block_names.join("|") + ")(?=(\\s|/?>|$))", "i"), /^$/, true],
|
|
12
|
+
[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source + "\\s*$"), /^$/, false]
|
|
13
|
+
];
|
|
14
|
+
function html_block(state, startLine, endLine, silent) {
|
|
15
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
16
|
+
let max = state.eMarks[startLine];
|
|
17
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
if (!state.md.options.html) {
|
|
21
|
+
return false;
|
|
22
|
+
}
|
|
23
|
+
if (state.src.charCodeAt(pos) !== 60) {
|
|
24
|
+
return false;
|
|
25
|
+
}
|
|
26
|
+
let lineText = state.src.slice(pos, max);
|
|
27
|
+
let i = 0;
|
|
28
|
+
for (; i < HTML_SEQUENCES.length; i++) {
|
|
29
|
+
if (HTML_SEQUENCES[i][0].test(lineText)) {
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
if (i === HTML_SEQUENCES.length) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
if (silent) {
|
|
37
|
+
return HTML_SEQUENCES[i][2];
|
|
38
|
+
}
|
|
39
|
+
let nextLine = startLine + 1;
|
|
40
|
+
if (!HTML_SEQUENCES[i][1].test(lineText)) {
|
|
41
|
+
for (; nextLine < endLine; nextLine++) {
|
|
42
|
+
if (state.sCount[nextLine] < state.blkIndent) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
46
|
+
max = state.eMarks[nextLine];
|
|
47
|
+
lineText = state.src.slice(pos, max);
|
|
48
|
+
if (HTML_SEQUENCES[i][1].test(lineText)) {
|
|
49
|
+
if (lineText.length !== 0) {
|
|
50
|
+
nextLine++;
|
|
51
|
+
}
|
|
52
|
+
break;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
state.line = nextLine;
|
|
57
|
+
const token = state.push("html_block", "", 0);
|
|
58
|
+
token.map = [startLine, nextLine];
|
|
59
|
+
token.content = state.getLines(startLine, nextLine, state.blkIndent, true);
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
__name(html_block, "html_block");
|
|
63
|
+
export {
|
|
64
|
+
html_block as default
|
|
65
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
function lheading(state, startLine, endLine) {
|
|
4
|
+
const terminatorRules = state.md.block.ruler.getRules("paragraph");
|
|
5
|
+
if (state.sCount[startLine] - state.blkIndent >= 4) {
|
|
6
|
+
return false;
|
|
7
|
+
}
|
|
8
|
+
const oldParentType = state.parentType;
|
|
9
|
+
state.parentType = "paragraph";
|
|
10
|
+
let level = 0;
|
|
11
|
+
let marker;
|
|
12
|
+
let nextLine = startLine + 1;
|
|
13
|
+
for (; nextLine < endLine && !state.isEmpty(nextLine); nextLine++) {
|
|
14
|
+
if (state.sCount[nextLine] - state.blkIndent > 3) {
|
|
15
|
+
continue;
|
|
16
|
+
}
|
|
17
|
+
if (state.sCount[nextLine] >= state.blkIndent) {
|
|
18
|
+
let pos = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
19
|
+
const max = state.eMarks[nextLine];
|
|
20
|
+
if (pos < max) {
|
|
21
|
+
marker = state.src.charCodeAt(pos);
|
|
22
|
+
if (marker === 45 || marker === 61) {
|
|
23
|
+
pos = state.skipChars(pos, marker);
|
|
24
|
+
pos = state.skipSpaces(pos);
|
|
25
|
+
if (pos >= max) {
|
|
26
|
+
level = marker === 61 ? 1 : 2;
|
|
27
|
+
break;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
if (state.sCount[nextLine] < 0) {
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
let terminate = false;
|
|
36
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) {
|
|
37
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
38
|
+
terminate = true;
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
if (terminate) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (!level) {
|
|
47
|
+
return false;
|
|
48
|
+
}
|
|
49
|
+
const content = state.getLines(startLine, nextLine, state.blkIndent, false).trim();
|
|
50
|
+
state.line = nextLine + 1;
|
|
51
|
+
const token_o = state.push("heading_open", "h" + String(level), 1);
|
|
52
|
+
token_o.markup = String.fromCharCode(marker);
|
|
53
|
+
token_o.map = [startLine, state.line];
|
|
54
|
+
const token_i = state.push("inline", "", 0);
|
|
55
|
+
token_i.content = content;
|
|
56
|
+
token_i.map = [startLine, state.line - 1];
|
|
57
|
+
token_i.children = [];
|
|
58
|
+
const token_c = state.push("heading_close", "h" + String(level), -1);
|
|
59
|
+
token_c.markup = String.fromCharCode(marker);
|
|
60
|
+
state.parentType = oldParentType;
|
|
61
|
+
return true;
|
|
62
|
+
}
|
|
63
|
+
__name(lheading, "lheading");
|
|
64
|
+
export {
|
|
65
|
+
lheading as default
|
|
66
|
+
};
|
package/dist/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js
ADDED
|
@@ -0,0 +1,232 @@
|
|
|
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 skipBulletListMarker(state, startLine) {
|
|
5
|
+
const max = state.eMarks[startLine];
|
|
6
|
+
let pos = state.bMarks[startLine] + state.tShift[startLine];
|
|
7
|
+
const marker = state.src.charCodeAt(pos++);
|
|
8
|
+
if (marker !== 42 && marker !== 45 && marker !== 43) {
|
|
9
|
+
return -1;
|
|
10
|
+
}
|
|
11
|
+
if (pos < max) {
|
|
12
|
+
const ch = state.src.charCodeAt(pos);
|
|
13
|
+
if (!isSpace(ch)) {
|
|
14
|
+
return -1;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
return pos;
|
|
18
|
+
}
|
|
19
|
+
__name(skipBulletListMarker, "skipBulletListMarker");
|
|
20
|
+
function skipOrderedListMarker(state, startLine) {
|
|
21
|
+
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
22
|
+
const max = state.eMarks[startLine];
|
|
23
|
+
let pos = start;
|
|
24
|
+
if (pos + 1 >= max) {
|
|
25
|
+
return -1;
|
|
26
|
+
}
|
|
27
|
+
let ch = state.src.charCodeAt(pos++);
|
|
28
|
+
if (ch < 48 || ch > 57) {
|
|
29
|
+
return -1;
|
|
30
|
+
}
|
|
31
|
+
for (; ; ) {
|
|
32
|
+
if (pos >= max) {
|
|
33
|
+
return -1;
|
|
34
|
+
}
|
|
35
|
+
ch = state.src.charCodeAt(pos++);
|
|
36
|
+
if (ch >= 48 && ch <= 57) {
|
|
37
|
+
if (pos - start >= 10) {
|
|
38
|
+
return -1;
|
|
39
|
+
}
|
|
40
|
+
continue;
|
|
41
|
+
}
|
|
42
|
+
if (ch === 41 || ch === 46) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
return -1;
|
|
46
|
+
}
|
|
47
|
+
if (pos < max) {
|
|
48
|
+
ch = state.src.charCodeAt(pos);
|
|
49
|
+
if (!isSpace(ch)) {
|
|
50
|
+
return -1;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return pos;
|
|
54
|
+
}
|
|
55
|
+
__name(skipOrderedListMarker, "skipOrderedListMarker");
|
|
56
|
+
function markTightParagraphs(state, idx) {
|
|
57
|
+
const level = state.level + 2;
|
|
58
|
+
for (let i = idx + 2, l = state.tokens.length - 2; i < l; i++) {
|
|
59
|
+
if (state.tokens[i].level === level && state.tokens[i].type === "paragraph_open") {
|
|
60
|
+
state.tokens[i + 2].hidden = true;
|
|
61
|
+
state.tokens[i].hidden = true;
|
|
62
|
+
i += 2;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
__name(markTightParagraphs, "markTightParagraphs");
|
|
67
|
+
function list(state, startLine, endLine, silent) {
|
|
68
|
+
let max, pos, start, token;
|
|
69
|
+
let nextLine = startLine;
|
|
70
|
+
let tight = true;
|
|
71
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
if (state.listIndent >= 0 && state.sCount[nextLine] - state.listIndent >= 4 && state.sCount[nextLine] < state.blkIndent) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
let isTerminatingParagraph = false;
|
|
78
|
+
if (silent && state.parentType === "paragraph") {
|
|
79
|
+
if (state.sCount[nextLine] >= state.blkIndent) {
|
|
80
|
+
isTerminatingParagraph = true;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
let isOrdered;
|
|
84
|
+
let markerValue;
|
|
85
|
+
let posAfterMarker;
|
|
86
|
+
if ((posAfterMarker = skipOrderedListMarker(state, nextLine)) >= 0) {
|
|
87
|
+
isOrdered = true;
|
|
88
|
+
start = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
89
|
+
markerValue = Number(state.src.slice(start, posAfterMarker - 1));
|
|
90
|
+
if (isTerminatingParagraph && markerValue !== 1) return false;
|
|
91
|
+
} else if ((posAfterMarker = skipBulletListMarker(state, nextLine)) >= 0) {
|
|
92
|
+
isOrdered = false;
|
|
93
|
+
} else {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
if (isTerminatingParagraph) {
|
|
97
|
+
if (state.skipSpaces(posAfterMarker) >= state.eMarks[nextLine]) return false;
|
|
98
|
+
}
|
|
99
|
+
if (silent) {
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
const markerCharCode = state.src.charCodeAt(posAfterMarker - 1);
|
|
103
|
+
const listTokIdx = state.tokens.length;
|
|
104
|
+
if (isOrdered) {
|
|
105
|
+
token = state.push("ordered_list_open", "ol", 1);
|
|
106
|
+
if (markerValue !== 1) {
|
|
107
|
+
token.attrs = [["start", markerValue]];
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
token = state.push("bullet_list_open", "ul", 1);
|
|
111
|
+
}
|
|
112
|
+
const listLines = [nextLine, 0];
|
|
113
|
+
token.map = listLines;
|
|
114
|
+
token.markup = String.fromCharCode(markerCharCode);
|
|
115
|
+
let prevEmptyEnd = false;
|
|
116
|
+
const terminatorRules = state.md.block.ruler.getRules("list");
|
|
117
|
+
const oldParentType = state.parentType;
|
|
118
|
+
state.parentType = "list";
|
|
119
|
+
while (nextLine < endLine) {
|
|
120
|
+
pos = posAfterMarker;
|
|
121
|
+
max = state.eMarks[nextLine];
|
|
122
|
+
const initial = state.sCount[nextLine] + posAfterMarker - (state.bMarks[nextLine] + state.tShift[nextLine]);
|
|
123
|
+
let offset = initial;
|
|
124
|
+
while (pos < max) {
|
|
125
|
+
const ch = state.src.charCodeAt(pos);
|
|
126
|
+
if (ch === 9) {
|
|
127
|
+
offset += 4 - (offset + state.bsCount[nextLine]) % 4;
|
|
128
|
+
} else if (ch === 32) {
|
|
129
|
+
offset++;
|
|
130
|
+
} else {
|
|
131
|
+
break;
|
|
132
|
+
}
|
|
133
|
+
pos++;
|
|
134
|
+
}
|
|
135
|
+
const contentStart = pos;
|
|
136
|
+
let indentAfterMarker;
|
|
137
|
+
if (contentStart >= max) {
|
|
138
|
+
indentAfterMarker = 1;
|
|
139
|
+
} else {
|
|
140
|
+
indentAfterMarker = offset - initial;
|
|
141
|
+
}
|
|
142
|
+
if (indentAfterMarker > 4) {
|
|
143
|
+
indentAfterMarker = 1;
|
|
144
|
+
}
|
|
145
|
+
const indent = initial + indentAfterMarker;
|
|
146
|
+
token = state.push("list_item_open", "li", 1);
|
|
147
|
+
token.markup = String.fromCharCode(markerCharCode);
|
|
148
|
+
const itemLines = [nextLine, 0];
|
|
149
|
+
token.map = itemLines;
|
|
150
|
+
if (isOrdered) {
|
|
151
|
+
token.info = state.src.slice(start, posAfterMarker - 1);
|
|
152
|
+
}
|
|
153
|
+
const oldTight = state.tight;
|
|
154
|
+
const oldTShift = state.tShift[nextLine];
|
|
155
|
+
const oldSCount = state.sCount[nextLine];
|
|
156
|
+
const oldListIndent = state.listIndent;
|
|
157
|
+
state.listIndent = state.blkIndent;
|
|
158
|
+
state.blkIndent = indent;
|
|
159
|
+
state.tight = true;
|
|
160
|
+
state.tShift[nextLine] = contentStart - state.bMarks[nextLine];
|
|
161
|
+
state.sCount[nextLine] = offset;
|
|
162
|
+
if (contentStart >= max && state.isEmpty(nextLine + 1)) {
|
|
163
|
+
state.line = Math.min(state.line + 2, endLine);
|
|
164
|
+
} else {
|
|
165
|
+
state.md.block.tokenize(state, nextLine, endLine, true);
|
|
166
|
+
}
|
|
167
|
+
if (!state.tight || prevEmptyEnd) {
|
|
168
|
+
tight = false;
|
|
169
|
+
}
|
|
170
|
+
prevEmptyEnd = state.line - nextLine > 1 && state.isEmpty(state.line - 1);
|
|
171
|
+
state.blkIndent = state.listIndent;
|
|
172
|
+
state.listIndent = oldListIndent;
|
|
173
|
+
state.tShift[nextLine] = oldTShift;
|
|
174
|
+
state.sCount[nextLine] = oldSCount;
|
|
175
|
+
state.tight = oldTight;
|
|
176
|
+
token = state.push("list_item_close", "li", -1);
|
|
177
|
+
token.markup = String.fromCharCode(markerCharCode);
|
|
178
|
+
nextLine = state.line;
|
|
179
|
+
itemLines[1] = nextLine;
|
|
180
|
+
if (nextLine >= endLine) {
|
|
181
|
+
break;
|
|
182
|
+
}
|
|
183
|
+
if (state.sCount[nextLine] < state.blkIndent) {
|
|
184
|
+
break;
|
|
185
|
+
}
|
|
186
|
+
if (state.sCount[nextLine] - state.blkIndent >= 4) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
let terminate = false;
|
|
190
|
+
for (let i = 0, l = terminatorRules.length; i < l; i++) {
|
|
191
|
+
if (terminatorRules[i](state, nextLine, endLine, true)) {
|
|
192
|
+
terminate = true;
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
if (terminate) {
|
|
197
|
+
break;
|
|
198
|
+
}
|
|
199
|
+
if (isOrdered) {
|
|
200
|
+
posAfterMarker = skipOrderedListMarker(state, nextLine);
|
|
201
|
+
if (posAfterMarker < 0) {
|
|
202
|
+
break;
|
|
203
|
+
}
|
|
204
|
+
start = state.bMarks[nextLine] + state.tShift[nextLine];
|
|
205
|
+
} else {
|
|
206
|
+
posAfterMarker = skipBulletListMarker(state, nextLine);
|
|
207
|
+
if (posAfterMarker < 0) {
|
|
208
|
+
break;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
if (markerCharCode !== state.src.charCodeAt(posAfterMarker - 1)) {
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
if (isOrdered) {
|
|
216
|
+
token = state.push("ordered_list_close", "ol", -1);
|
|
217
|
+
} else {
|
|
218
|
+
token = state.push("bullet_list_close", "ul", -1);
|
|
219
|
+
}
|
|
220
|
+
token.markup = String.fromCharCode(markerCharCode);
|
|
221
|
+
listLines[1] = nextLine;
|
|
222
|
+
state.line = nextLine;
|
|
223
|
+
state.parentType = oldParentType;
|
|
224
|
+
if (tight) {
|
|
225
|
+
markTightParagraphs(state, listTokIdx);
|
|
226
|
+
}
|
|
227
|
+
return true;
|
|
228
|
+
}
|
|
229
|
+
__name(list, "list");
|
|
230
|
+
export {
|
|
231
|
+
list as default
|
|
232
|
+
};
|