impact-nova 2.6.3 → 3.0.0-alpha.1
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/dist/_virtual/_commonjsHelpers.js +6 -0
- package/dist/_virtual/index.js +7 -0
- package/dist/_virtual/index2.js +7 -0
- package/dist/_virtual/index3.js +4 -0
- package/dist/_virtual/utilities.js +4 -0
- package/dist/components/data/ag-grid-react/ag-grid-cell-components.d.ts +9 -0
- package/dist/components/data/ag-grid-react/ag-grid-list.d.ts +16 -0
- package/dist/components/data/ag-grid-react/ag-grid-list.js +23 -0
- package/dist/components/data/ag-grid-react/ag-grid.types.d.ts +7 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.d.ts +14 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/list-select-cell-editor.js +70 -0
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.d.ts +10 -5
- package/dist/components/data/ag-grid-react/cell-renderers/editors/select-cell-editor.js +73 -41
- package/dist/components/data/ag-grid-react/cell-renderers/index.d.ts +7 -0
- package/dist/components/data/ag-grid-react/cell-renderers/index.js +42 -36
- package/dist/components/data/ag-grid-react/cell-renderers/link-with-batch-cell-renderer.js +2 -0
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.d.ts +19 -0
- package/dist/components/data/ag-grid-react/cell-renderers/list-select-display-renderer.js +89 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.d.ts +28 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-ai-insight-affordance.js +96 -0
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.d.ts +30 -10
- package/dist/components/data/ag-grid-react/cell-renderers/select-display-renderer.js +72 -24
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.d.ts +42 -0
- package/dist/components/data/ag-grid-react/cell-renderers/style-description-display-renderer.js +86 -0
- package/dist/components/data/ag-grid-react/headers/advanced-filter/advanced-filter-dialog.js +31 -29
- package/dist/components/data/ag-grid-react/headers/components/lazy-tooltip.js +8 -6
- package/dist/components/data/ag-grid-react/index.d.ts +1 -1
- package/dist/components/data/ag-grid-react/index.js +162 -146
- package/dist/components/data/data-table/data-table.js +85 -82
- package/dist/components/data/data-table/data-table.types.d.ts +5 -0
- package/dist/components/data/expandable-list-item/expandable-list-item-attributes.js +8 -6
- package/dist/components/data/expandable-list-item/sku-next-page-coordinator.d.ts +14 -0
- package/dist/components/data/expandable-list-item/sku-strip-lookahead.d.ts +26 -0
- package/dist/components/data/expandable-list-item/useServerSkuInfinitePages.d.ts +10 -0
- package/dist/components/data/expandable-list-item/useSkuStripVirtualizer.d.ts +30 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.catalog.d.ts +81 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.item-grid.d.ts +1 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.product-card.d.ts +7 -0
- package/dist/components/data/expandable-list-item/virtualized-responsive-grid.sku-picker.d.ts +2 -0
- package/dist/components/data-display/calendar/fiscal-period-caption-select.js +4 -2
- package/dist/components/data-display/chart/chart-heatmap-demos.d.ts +3 -0
- package/dist/components/data-display/chart/chart-heatmap-play.d.ts +9 -0
- package/dist/components/data-display/chart/chart.category-cluster-heatmap.stories-data.d.ts +22 -0
- package/dist/components/data-display/chart/chart.diverging-heatmap.stories-data.d.ts +43 -0
- package/dist/components/data-display/chart/chart.js +100 -93
- package/dist/components/data-display/chart/chart.types.d.ts +10 -0
- package/dist/components/data-display/chart/chart.utils.d.ts +14 -2
- package/dist/components/data-display/chart/chart.utils.js +132 -35
- package/dist/components/data-display/chart/index.js +15 -13
- package/dist/components/data-display/chart/resolve-highcharts-options.js +19 -14
- package/dist/components/data-display/globe-map/globe-map.d.ts +8 -0
- package/dist/components/data-display/globe-map/globe-map.js +161 -0
- package/dist/components/data-display/globe-map/globe-map.stories-data.d.ts +12 -0
- package/dist/components/data-display/globe-map/globe-map.types.d.ts +83 -0
- package/dist/components/data-display/globe-map/globe-map.utils.d.ts +115 -0
- package/dist/components/data-display/globe-map/globe-map.utils.js +259 -0
- package/dist/components/data-display/globe-map/globe-map.variants.d.ts +19 -0
- package/dist/components/data-display/globe-map/globe-map.variants.js +80 -0
- package/dist/components/data-display/globe-map/index.d.ts +2 -0
- package/dist/components/data-display/globe-map/index.js +10 -0
- package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.d.ts +4 -0
- package/dist/components/data-display/globe-map/internals/globe-countries-110m.json.js +7 -0
- package/dist/components/data-display/globe-map/internals/globe-map-context.d.ts +25 -0
- package/dist/components/data-display/globe-map/internals/globe-map-context.js +19 -0
- package/dist/components/data-display/globe-map/internals/globe-map-legend.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-legend.js +51 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.d.ts +6 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card-carousel.js +119 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-point-card.js +106 -0
- package/dist/components/data-display/globe-map/internals/globe-map-scene.d.ts +17 -0
- package/dist/components/data-display/globe-map/internals/globe-map-scene.js +218 -0
- package/dist/components/data-display/globe-map/internals/globe-map-tooltip.d.ts +2 -0
- package/dist/components/data-display/globe-map/internals/globe-map-tooltip.js +33 -0
- package/dist/components/data-display/globe-map/internals/use-globe-map-scene.d.ts +45 -0
- package/dist/components/data-display/globe-map/internals/use-globe-map-scene.js +270 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.d.ts +9 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.js +94 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.stories-data.d.ts +7 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.types.d.ts +43 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.d.ts +11 -0
- package/dist/components/data-display/hex-tilemap/hex-tilemap.variants.js +47 -0
- package/dist/components/data-display/hex-tilemap/index.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/index.js +12 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-camera.d.ts +40 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-camera.js +103 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.d.ts +9 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-country-lattices.js +1387 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-geometry.d.ts +21 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-geometry.js +82 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-lattice.d.ts +18 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-lattice.js +47 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-layout.d.ts +10 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-layout.js +35 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.d.ts +31 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-new-zealand-grid.js +138 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-regions.d.ts +6 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-regions.js +18 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.d.ts +24 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-context.js +19 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-legend.js +51 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.d.ts +2 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-tooltip.js +36 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.d.ts +3 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-viewport.js +147 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.d.ts +13 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-tilemap-zoom.js +99 -0
- package/dist/components/data-display/hex-tilemap/internals/hex-world-grid.d.ts +8 -0
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.d.ts +27 -0
- package/dist/components/data-display/hex-tilemap/internals/use-hex-camera.js +137 -0
- package/dist/components/data-display/notch-card/index.d.ts +2 -0
- package/dist/components/data-display/notch-card/index.js +6 -0
- package/dist/components/data-display/notch-card/notch-card.d.ts +7 -0
- package/dist/components/data-display/notch-card/notch-card.js +151 -0
- package/dist/components/data-display/notch-card/notch-card.path.d.ts +19 -0
- package/dist/components/data-display/notch-card/notch-card.path.js +118 -0
- package/dist/components/data-display/notch-card/notch-card.types.d.ts +15 -0
- package/dist/components/data-display/notch-card/notch-card.variants.d.ts +15 -0
- package/dist/components/data-display/notch-card/notch-card.variants.js +86 -0
- package/dist/components/feedback/hover-card/hover-card.d.ts +3 -1
- package/dist/components/feedback/hover-card/hover-card.js +28 -24
- package/dist/components/feedback/popover/popover.js +1 -1
- package/dist/components/feedback/tooltip/button-icon-tooltip.js +8 -6
- package/dist/components/feedback/tooltip/overflow-tooltip.d.ts +1 -1
- package/dist/components/feedback/tooltip/overflow-tooltip.js +63 -57
- package/dist/components/feedback/tooltip/overflow-tooltip.types.d.ts +4 -0
- package/dist/components/feedback/tooltip/tab-tooltip-render.js +6 -4
- package/dist/components/flows/filter-strip/index.d.ts +1 -0
- package/dist/components/flows/filter-strip/index.js +4 -2
- package/dist/components/flows/guidance/renderers/guidance-card-shared.js +1 -1
- package/dist/components/flows/iris-chat/index.d.ts +10 -0
- package/dist/components/flows/iris-chat/index.js +55 -0
- package/dist/components/flows/iris-chat/iris-chat-artifact.d.ts +4 -0
- package/dist/components/flows/iris-chat/iris-chat-artifact.js +125 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-composer.js +297 -0
- package/dist/components/flows/iris-chat/iris-chat-context.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat-context.js +23 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.d.ts +18 -0
- package/dist/components/flows/iris-chat/iris-chat-icons.js +176 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-markdown.js +62 -0
- package/dist/components/flows/iris-chat/iris-chat-menu.d.ts +15 -0
- package/dist/components/flows/iris-chat/iris-chat-menu.js +259 -0
- package/dist/components/flows/iris-chat/iris-chat-prompt.d.ts +3 -0
- package/dist/components/flows/iris-chat/iris-chat-prompt.js +46 -0
- package/dist/components/flows/iris-chat/iris-chat-thinking.d.ts +12 -0
- package/dist/components/flows/iris-chat/iris-chat-thinking.js +202 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.d.ts +37 -0
- package/dist/components/flows/iris-chat/iris-chat-thread.js +493 -0
- package/dist/components/flows/iris-chat/iris-chat.d.ts +43 -0
- package/dist/components/flows/iris-chat/iris-chat.js +336 -0
- package/dist/components/flows/iris-chat/iris-chat.types.d.ts +208 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.d.ts +14 -0
- package/dist/components/flows/iris-chat/iris-chat.variants.js +78 -0
- package/dist/components/flows/iris-chat/read-iris-greeting-period.d.ts +4 -0
- package/dist/components/flows/iris-chat/read-iris-greeting-period.js +16 -0
- package/dist/components/flows/wizard/index.d.ts +2 -2
- package/dist/components/flows/wizard/index.js +17 -13
- package/dist/components/flows/wizard/wizard-context.d.ts +6 -1
- package/dist/components/flows/wizard/wizard-context.js +15 -7
- package/dist/components/flows/wizard/wizard.d.ts +22 -4
- package/dist/components/flows/wizard/wizard.js +278 -174
- package/dist/components/flows/wizard/wizard.types.d.ts +40 -0
- package/dist/components/forms/choice-card/assets/featured-backdrop-baked.webp.js +4 -0
- package/dist/components/forms/choice-card/assets/featured-noise.webp.js +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-arcs.d.ts +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-arcs.js +42 -0
- package/dist/components/forms/choice-card/choice-card-featured-backdrop.d.ts +4 -0
- package/dist/components/forms/choice-card/choice-card-featured-backdrop.js +45 -0
- package/dist/components/forms/choice-card/choice-card-indicator.variants.d.ts +8 -0
- package/dist/components/forms/choice-card/choice-card-indicator.variants.js +5 -0
- package/dist/components/forms/choice-card/choice-card-percent.d.ts +11 -0
- package/dist/components/forms/choice-card/choice-card-percent.js +80 -0
- package/dist/components/forms/choice-card/choice-card.d.ts +40 -3
- package/dist/components/forms/choice-card/choice-card.js +651 -170
- package/dist/components/forms/choice-card/choice-card.types.d.ts +40 -0
- package/dist/components/forms/choice-card/choice-card.variants.d.ts +7 -0
- package/dist/components/forms/choice-card/choice-card.variants.js +100 -0
- package/dist/components/forms/choice-card/index.d.ts +2 -1
- package/dist/components/forms/choice-card/index.js +27 -10
- package/dist/components/forms/combobox/combobox.js +1 -1
- package/dist/components/layout/breadcrumb/breadcrumb.js +1 -1
- package/dist/components/layout/header/header.d.ts +3 -2
- package/dist/components/layout/header/header.js +67 -47
- package/dist/components/layout/header/header.types.d.ts +1 -0
- package/dist/components/primitives/iris/iris-agent-cursor.d.ts +3 -0
- package/dist/components/primitives/iris/iris-agent-cursor.js +89 -0
- package/dist/components/primitives/iris/iris-alan-gradient-icon.d.ts +5 -0
- package/dist/components/primitives/iris/iris-alan-gradient-icon.js +69 -0
- package/dist/components/primitives/iris/iris-control-context.d.ts +15 -0
- package/dist/components/primitives/iris/iris-control-context.js +44 -0
- package/dist/components/primitives/iris/iris-control-region.d.ts +10 -0
- package/dist/components/primitives/iris/iris-control-region.js +102 -0
- package/dist/components/primitives/iris/iris-control.types.d.ts +24 -0
- package/dist/components/primitives/iris/iris-control.variants.d.ts +4 -0
- package/dist/components/primitives/iris/iris-control.variants.js +20 -0
- package/dist/components/primitives/iris/iris.d.ts +24 -0
- package/dist/components/primitives/iris/iris.js +232 -0
- package/dist/components/primitives/iris/iris.types.d.ts +35 -0
- package/dist/components/primitives/iris/iris.variants.d.ts +30 -0
- package/dist/components/primitives/iris/iris.variants.js +120 -0
- package/dist/components/primitives/stepper/internals/pipeline-current-mark.d.ts +6 -0
- package/dist/components/primitives/stepper/internals/pipeline-current-mark.js +35 -0
- package/dist/components/primitives/stepper/internals/rail-status-dot.d.ts +13 -0
- package/dist/components/primitives/stepper/internals/rail-status-dot.js +70 -0
- package/dist/components/primitives/stepper/internals/step-hit-target.d.ts +15 -0
- package/dist/components/primitives/stepper/internals/step-hit-target.js +51 -0
- package/dist/components/primitives/stepper/internals/step-model.d.ts +3 -0
- package/dist/components/primitives/stepper/internals/step-model.js +10 -0
- package/dist/components/primitives/stepper/internals/stepper-compact.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-compact.js +68 -0
- package/dist/components/primitives/stepper/internals/stepper-pipeline.d.ts +7 -0
- package/dist/components/primitives/stepper/internals/stepper-pipeline.js +87 -0
- package/dist/components/primitives/stepper/internals/stepper-rail.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-rail.js +105 -0
- package/dist/components/primitives/stepper/internals/stepper-summary.d.ts +5 -0
- package/dist/components/primitives/stepper/internals/stepper-summary.js +103 -0
- package/dist/components/primitives/stepper/internals/stepper-track.d.ts +8 -0
- package/dist/components/primitives/stepper/internals/stepper-track.js +170 -0
- package/dist/components/primitives/stepper/stepper.d.ts +1 -0
- package/dist/components/primitives/stepper/stepper.js +134 -52
- package/dist/components/primitives/stepper/stepper.types.d.ts +17 -0
- package/dist/components/primitives/stepper/stepper.variants.d.ts +26 -0
- package/dist/components/primitives/stepper/stepper.variants.js +165 -5
- package/dist/components/primitives/tabs/tabs.d.ts +4 -1
- package/dist/components/primitives/tabs/tabs.js +131 -59
- package/dist/components/primitives/tabs/tabs.types.d.ts +5 -1
- package/dist/i18n/defaultMessages.d.ts +100 -0
- package/dist/i18n/defaultMessages.js +118 -21
- package/dist/i18n/index.d.ts +1 -1
- package/dist/i18n/locales/de.js +99 -2
- package/dist/i18n/locales/es.js +99 -2
- package/dist/i18n/locales/hi.js +99 -2
- package/dist/i18n/locales/kn.js +99 -2
- package/dist/impact-nova-components.css +972 -2
- package/dist/impact-nova-tokens.scss +109 -1
- package/dist/impact-nova.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +585 -551
- package/dist/lib/virtualized/directional-range-extractor.d.ts +26 -0
- package/dist/lib/virtualized/directional-range-extractor.js +39 -0
- package/dist/lib/virtualized/index.d.ts +3 -0
- package/dist/lib/virtualized/index.js +35 -27
- package/dist/lib/virtualized/scroll-seek.d.ts +61 -0
- package/dist/lib/virtualized/scroll-seek.js +61 -0
- package/dist/lib/virtualized/usePaintedRangeVirtualizer.d.ts +19 -0
- package/dist/lib/virtualized/usePaintedRangeVirtualizer.js +30 -0
- package/dist/lib/virtualized/useResponsiveColumnCount.d.ts +35 -0
- package/dist/lib/virtualized/useResponsiveColumnCount.js +51 -0
- package/dist/lib/virtualized/useScrollSeekPaintedRange.d.ts +13 -0
- package/dist/lib/virtualized/useScrollSeekPaintedRange.js +45 -0
- package/dist/lib/virtualized/useVirtualizedList.d.ts +7 -0
- package/dist/lib/virtualized/useVirtualizedList.js +89 -87
- package/dist/lib/virtualized/useVirtualizedRows.d.ts +9 -2
- package/dist/lib/virtualized/useVirtualizedRows.js +15 -13
- package/dist/lib/virtualized/virtualized.types.d.ts +2 -0
- package/dist/llms/rules/installation.js +1 -1
- package/dist/llms/rules/requirements.js +1 -1
- package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +85 -0
- package/dist/node_modules/@ungap/structured-clone/esm/index.js +11 -0
- package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +110 -0
- package/dist/node_modules/@ungap/structured-clone/esm/types.js +13 -0
- package/dist/node_modules/bail/index.js +7 -0
- package/dist/node_modules/ccount/index.js +12 -0
- package/dist/node_modules/comma-separated-tokens/index.js +9 -0
- package/dist/node_modules/decode-named-character-reference/index.dom.js +10 -0
- package/dist/node_modules/devlop/lib/default.js +8 -0
- package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +7 -0
- package/dist/node_modules/extend/index.js +43 -0
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +302 -0
- package/dist/node_modules/hast-util-whitespace/lib/index.js +10 -0
- package/dist/node_modules/html-url-attributes/lib/index.js +26 -0
- package/dist/node_modules/inline-style-parser/cjs/index.js +93 -0
- package/dist/node_modules/is-plain-obj/index.js +9 -0
- package/dist/node_modules/longest-streak/index.js +12 -0
- package/dist/node_modules/markdown-table/index.js +75 -0
- package/dist/node_modules/mdast-util-find-and-replace/lib/index.js +78 -0
- package/dist/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.js +8 -0
- package/dist/node_modules/mdast-util-from-markdown/lib/index.js +632 -0
- package/dist/node_modules/mdast-util-gfm/lib/index.js +29 -0
- package/dist/node_modules/mdast-util-gfm-autolink-literal/lib/index.js +130 -0
- package/dist/node_modules/mdast-util-gfm-footnote/lib/index.js +95 -0
- package/dist/node_modules/mdast-util-gfm-strikethrough/lib/index.js +54 -0
- package/dist/node_modules/mdast-util-gfm-table/lib/index.js +135 -0
- package/dist/node_modules/mdast-util-gfm-task-list-item/lib/index.js +58 -0
- package/dist/node_modules/mdast-util-phrasing/lib/index.js +30 -0
- package/dist/node_modules/mdast-util-to-hast/lib/footer.js +90 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +28 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +9 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +14 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +19 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +15 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +42 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +7 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +21 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +32 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +8 -0
- package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +12 -0
- package/dist/node_modules/mdast-util-to-hast/lib/index.js +10 -0
- package/dist/node_modules/mdast-util-to-hast/lib/revert.js +13 -0
- package/dist/node_modules/mdast-util-to-hast/lib/state.js +104 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/blockquote.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/break.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/code.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/definition.js +34 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/emphasis.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/heading.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/html.js +10 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/image.js +33 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/index.js +44 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/inline-code.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link-reference.js +29 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/link.js +52 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list-item.js +22 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/list.js +35 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/paragraph.js +7 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/root.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/strong.js +20 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/text.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.js +18 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-bullet.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-fence.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-quote.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-rule.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/check-strong.js +11 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.js +6 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.js +9 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.js +13 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.js +15 -0
- package/dist/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.js +15 -0
- package/dist/node_modules/mdast-util-to-string/lib/index.js +29 -0
- package/dist/node_modules/micromark/lib/constructs.js +85 -0
- package/dist/node_modules/micromark/lib/create-tokenizer.js +225 -0
- package/dist/node_modules/micromark/lib/initialize/content.js +37 -0
- package/dist/node_modules/micromark/lib/initialize/document.js +128 -0
- package/dist/node_modules/micromark/lib/initialize/flow.js +33 -0
- package/dist/node_modules/micromark/lib/initialize/text.js +98 -0
- package/dist/node_modules/micromark/lib/parse.js +32 -0
- package/dist/node_modules/micromark/lib/postprocess.js +9 -0
- package/dist/node_modules/micromark/lib/preprocess.js +44 -0
- package/dist/node_modules/micromark-core-commonmark/lib/attention.js +87 -0
- package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +43 -0
- package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +18 -0
- package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +42 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +30 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +82 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +37 -0
- package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
- package/dist/node_modules/micromark-core-commonmark/lib/content.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/definition.js +80 -0
- package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +50 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +132 -0
- package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +154 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +23 -0
- package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +20 -0
- package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +14 -0
- package/dist/node_modules/micromark-core-commonmark/lib/list.js +90 -0
- package/dist/node_modules/micromark-core-commonmark/lib/partial-non-lazy-continuation.js +17 -0
- package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +59 -0
- package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +25 -0
- package/dist/node_modules/micromark-extension-gfm/index.js +18 -0
- package/dist/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.js +193 -0
- package/dist/node_modules/micromark-extension-gfm-footnote/lib/syntax.js +192 -0
- package/dist/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.js +67 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/edit-map.js +75 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/infer.js +23 -0
- package/dist/node_modules/micromark-extension-gfm-table/lib/syntax.js +149 -0
- package/dist/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.js +45 -0
- package/dist/node_modules/micromark-factory-destination/index.js +31 -0
- package/dist/node_modules/micromark-factory-label/index.js +28 -0
- package/dist/node_modules/micromark-factory-space/index.js +29 -0
- package/dist/node_modules/micromark-factory-title/index.js +26 -0
- package/dist/node_modules/micromark-factory-whitespace/index.js +12 -0
- package/dist/node_modules/micromark-util-character/index.js +39 -0
- package/dist/node_modules/micromark-util-chunked/index.js +16 -0
- package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
- package/dist/node_modules/micromark-util-combine-extensions/index.js +36 -0
- package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +16 -0
- package/dist/node_modules/micromark-util-decode-string/index.js +18 -0
- package/dist/node_modules/micromark-util-edit-map/index.js +82 -0
- package/dist/node_modules/micromark-util-html-tag-name/index.js +68 -0
- package/dist/node_modules/micromark-util-normalize-identifier/index.js +6 -0
- package/dist/node_modules/micromark-util-resolve-all/index.js +12 -0
- package/dist/node_modules/micromark-util-sanitize-uri/index.js +23 -0
- package/dist/node_modules/micromark-util-subtokenize/index.js +55 -0
- package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +175 -0
- package/dist/node_modules/property-information/index.js +12 -0
- package/dist/node_modules/property-information/lib/aria.js +61 -0
- package/dist/node_modules/property-information/lib/find.js +33 -0
- package/dist/node_modules/property-information/lib/hast-to-react.js +22 -0
- package/dist/node_modules/property-information/lib/html.js +378 -0
- package/dist/node_modules/property-information/lib/normalize.js +6 -0
- package/dist/node_modules/property-information/lib/svg.js +568 -0
- package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +7 -0
- package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +6 -0
- package/dist/node_modules/property-information/lib/util/create.js +19 -0
- package/dist/node_modules/property-information/lib/util/defined-info.js +36 -0
- package/dist/node_modules/property-information/lib/util/info.js +28 -0
- package/dist/node_modules/property-information/lib/util/merge.js +10 -0
- package/dist/node_modules/property-information/lib/util/schema.js +21 -0
- package/dist/node_modules/property-information/lib/util/types.js +14 -0
- package/dist/node_modules/property-information/lib/xlink.js +19 -0
- package/dist/node_modules/property-information/lib/xml.js +11 -0
- package/dist/node_modules/property-information/lib/xmlns.js +11 -0
- package/dist/node_modules/react-markdown/lib/index.js +102 -0
- package/dist/node_modules/remark-gfm/lib/index.js +13 -0
- package/dist/node_modules/remark-parse/lib/index.js +19 -0
- package/dist/node_modules/remark-rehype/lib/index.js +18 -0
- package/dist/node_modules/space-separated-tokens/index.js +6 -0
- package/dist/node_modules/style-to-js/cjs/index.js +20 -0
- package/dist/node_modules/style-to-js/cjs/utilities.js +19 -0
- package/dist/node_modules/style-to-object/cjs/index.js +28 -0
- package/dist/node_modules/trim-lines/index.js +28 -0
- package/dist/node_modules/trough/lib/index.js +60 -0
- package/dist/node_modules/unified/lib/callable-instance.js +25 -0
- package/dist/node_modules/unified/lib/index.js +529 -0
- package/dist/node_modules/unist-util-is/lib/index.js +91 -0
- package/dist/node_modules/unist-util-position/lib/index.js +23 -0
- package/dist/node_modules/unist-util-stringify-position/lib/index.js +15 -0
- package/dist/node_modules/unist-util-visit/lib/index.js +16 -0
- package/dist/node_modules/unist-util-visit-parents/lib/color.js +6 -0
- package/dist/node_modules/unist-util-visit-parents/lib/index.js +56 -0
- package/dist/node_modules/vfile/lib/index.js +406 -0
- package/dist/node_modules/vfile/lib/minpath.browser.js +112 -0
- package/dist/node_modules/vfile/lib/minproc.browser.js +7 -0
- package/dist/node_modules/vfile/lib/minurl.browser.js +41 -0
- package/dist/node_modules/vfile/lib/minurl.shared.js +7 -0
- package/dist/node_modules/vfile-message/lib/index.js +91 -0
- package/dist/providers/app-providers.js +13 -11
- package/dist/tailwind.config.js +3 -1
- package/dist/theme/tailwind-colors.js +2 -1
- package/package.json +39 -4
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { create as n } from "./util/create.js";
|
|
2
|
+
const r = n({
|
|
3
|
+
properties: {
|
|
4
|
+
xLinkActuate: null,
|
|
5
|
+
xLinkArcRole: null,
|
|
6
|
+
xLinkHref: null,
|
|
7
|
+
xLinkRole: null,
|
|
8
|
+
xLinkShow: null,
|
|
9
|
+
xLinkTitle: null,
|
|
10
|
+
xLinkType: null
|
|
11
|
+
},
|
|
12
|
+
space: "xlink",
|
|
13
|
+
transform(e, l) {
|
|
14
|
+
return "xlink:" + l.slice(5).toLowerCase();
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
r as xlink
|
|
19
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { create as n } from "./util/create.js";
|
|
2
|
+
import { caseInsensitiveTransform as s } from "./util/case-insensitive-transform.js";
|
|
3
|
+
const m = n({
|
|
4
|
+
attributes: { xmlnsxlink: "xmlns:xlink" },
|
|
5
|
+
properties: { xmlnsXLink: null, xmlns: null },
|
|
6
|
+
space: "xmlns",
|
|
7
|
+
transform: s
|
|
8
|
+
});
|
|
9
|
+
export {
|
|
10
|
+
m as xmlns
|
|
11
|
+
};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { unreachable as k } from "../../devlop/lib/default.js";
|
|
2
|
+
import { jsxs as b, jsx as O, Fragment as P } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
|
+
import { unified as v } from "../../unified/lib/index.js";
|
|
5
|
+
import E from "../../remark-parse/lib/index.js";
|
|
6
|
+
import T from "../../remark-rehype/lib/index.js";
|
|
7
|
+
import { VFile as x } from "../../vfile/lib/index.js";
|
|
8
|
+
import { visit as N } from "../../unist-util-visit/lib/index.js";
|
|
9
|
+
import { toJsxRuntime as R } from "../../hast-util-to-jsx-runtime/lib/index.js";
|
|
10
|
+
import { urlAttributes as a } from "../../html-url-attributes/lib/index.js";
|
|
11
|
+
const j = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", f = [], u = { allowDangerousHtml: !0 }, H = /^(https?|ircs?|mailto|xmpp)$/i, S = [
|
|
12
|
+
{ from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
|
|
13
|
+
{ from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
14
|
+
{
|
|
15
|
+
from: "allowNode",
|
|
16
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
17
|
+
to: "allowElement"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
from: "allowedTypes",
|
|
21
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
22
|
+
to: "allowedElements"
|
|
23
|
+
},
|
|
24
|
+
{ from: "className", id: "remove-classname" },
|
|
25
|
+
{
|
|
26
|
+
from: "disallowedTypes",
|
|
27
|
+
id: "replace-allownode-allowedtypes-and-disallowedtypes",
|
|
28
|
+
to: "disallowedElements"
|
|
29
|
+
},
|
|
30
|
+
{ from: "escapeHtml", id: "remove-buggy-html-in-markdown-parser" },
|
|
31
|
+
{ from: "includeElementIndex", id: "#remove-includeelementindex" },
|
|
32
|
+
{
|
|
33
|
+
from: "includeNodeIndex",
|
|
34
|
+
id: "change-includenodeindex-to-includeelementindex"
|
|
35
|
+
},
|
|
36
|
+
{ from: "linkTarget", id: "remove-linktarget" },
|
|
37
|
+
{ from: "plugins", id: "change-plugins-to-remarkplugins", to: "remarkPlugins" },
|
|
38
|
+
{ from: "rawSourcePos", id: "#remove-rawsourcepos" },
|
|
39
|
+
{ from: "renderers", id: "change-renderers-to-components", to: "components" },
|
|
40
|
+
{ from: "source", id: "change-source-to-children", to: "children" },
|
|
41
|
+
{ from: "sourcePos", id: "#remove-sourcepos" },
|
|
42
|
+
{ from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
|
|
43
|
+
{ from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
|
|
44
|
+
];
|
|
45
|
+
function C(r) {
|
|
46
|
+
const e = D(r), t = I(r);
|
|
47
|
+
return U(e.runSync(e.parse(t), t), r);
|
|
48
|
+
}
|
|
49
|
+
function D(r) {
|
|
50
|
+
const e = r.rehypePlugins || f, t = r.remarkPlugins || f, n = r.remarkRehypeOptions ? { ...r.remarkRehypeOptions, ...u } : u;
|
|
51
|
+
return v().use(E).use(t).use(T, n).use(e);
|
|
52
|
+
}
|
|
53
|
+
function I(r) {
|
|
54
|
+
const e = r.children || "", t = new x();
|
|
55
|
+
return typeof e == "string" && (t.value = e), t;
|
|
56
|
+
}
|
|
57
|
+
function U(r, e) {
|
|
58
|
+
const t = e.allowedElements, n = e.allowElement, i = e.components, c = e.disallowedElements, p = e.skipHtml, w = e.unwrapDisallowed, g = e.urlTransform || F;
|
|
59
|
+
for (const o of S)
|
|
60
|
+
Object.hasOwn(e, o.from) && k(
|
|
61
|
+
"Unexpected `" + o.from + "` prop, " + (o.to ? "use `" + o.to + "` instead" : "remove it") + " (see <" + j + "#" + o.id + "> for more info)"
|
|
62
|
+
);
|
|
63
|
+
return N(r, h), R(r, {
|
|
64
|
+
Fragment: P,
|
|
65
|
+
components: i,
|
|
66
|
+
ignoreInvalidStyle: !0,
|
|
67
|
+
jsx: O,
|
|
68
|
+
jsxs: b,
|
|
69
|
+
passKeys: !0,
|
|
70
|
+
passNode: !0
|
|
71
|
+
});
|
|
72
|
+
function h(o, l, m) {
|
|
73
|
+
if (o.type === "raw" && m && typeof l == "number")
|
|
74
|
+
return p ? m.children.splice(l, 1) : m.children[l] = { type: "text", value: o.value }, l;
|
|
75
|
+
if (o.type === "element") {
|
|
76
|
+
let s;
|
|
77
|
+
for (s in a)
|
|
78
|
+
if (Object.hasOwn(a, s) && Object.hasOwn(o.properties, s)) {
|
|
79
|
+
const y = o.properties[s], d = a[s];
|
|
80
|
+
(d === null || d.includes(o.tagName)) && (o.properties[s] = g(String(y || ""), s, o));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
if (o.type === "element") {
|
|
84
|
+
let s = t ? !t.includes(o.tagName) : c ? c.includes(o.tagName) : !1;
|
|
85
|
+
if (!s && n && typeof l == "number" && (s = !n(o, l, m)), s && m && typeof l == "number")
|
|
86
|
+
return w && o.children ? m.children.splice(l, 1, ...o.children) : m.children.splice(l, 1), l;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
function F(r) {
|
|
91
|
+
const e = r.indexOf(":"), t = r.indexOf("?"), n = r.indexOf("#"), i = r.indexOf("/");
|
|
92
|
+
return (
|
|
93
|
+
// If there is no protocol, it’s relative.
|
|
94
|
+
e === -1 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
|
|
95
|
+
i !== -1 && e > i || t !== -1 && e > t || n !== -1 && e > n || // It is a protocol, it should be allowed.
|
|
96
|
+
H.test(r.slice(0, e)) ? r : ""
|
|
97
|
+
);
|
|
98
|
+
}
|
|
99
|
+
export {
|
|
100
|
+
C as Markdown,
|
|
101
|
+
F as defaultUrlTransform
|
|
102
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gfm as i } from "../../micromark-extension-gfm/index.js";
|
|
2
|
+
import { gfmFromMarkdown as e, gfmToMarkdown as f } from "../../mdast-util-gfm/lib/index.js";
|
|
3
|
+
const k = {};
|
|
4
|
+
function x(s) {
|
|
5
|
+
const t = (
|
|
6
|
+
/** @type {Processor<Root>} */
|
|
7
|
+
this
|
|
8
|
+
), n = s || k, o = t.data(), r = o.micromarkExtensions || (o.micromarkExtensions = []), m = o.fromMarkdownExtensions || (o.fromMarkdownExtensions = []), a = o.toMarkdownExtensions || (o.toMarkdownExtensions = []);
|
|
9
|
+
r.push(i(n)), m.push(e()), a.push(f(n));
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
x as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { fromMarkdown as a } from "../../mdast-util-from-markdown/lib/index.js";
|
|
2
|
+
function e(s) {
|
|
3
|
+
const r = this;
|
|
4
|
+
r.parser = t;
|
|
5
|
+
function t(n) {
|
|
6
|
+
return a(n, {
|
|
7
|
+
...r.data("settings"),
|
|
8
|
+
...s,
|
|
9
|
+
// Note: these options are not in the readme.
|
|
10
|
+
// The goal is for them to be set by plugins on `data` instead of being
|
|
11
|
+
// passed by users.
|
|
12
|
+
extensions: r.data("micromarkExtensions") || [],
|
|
13
|
+
mdastExtensions: r.data("fromMarkdownExtensions") || []
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
e as default
|
|
19
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { toHast as e } from "../../mdast-util-to-hast/lib/index.js";
|
|
2
|
+
function f(r, t) {
|
|
3
|
+
return r && "run" in r ? async function(n, u) {
|
|
4
|
+
const a = (
|
|
5
|
+
/** @type {HastRoot} */
|
|
6
|
+
e(n, { file: u, ...t })
|
|
7
|
+
);
|
|
8
|
+
await r.run(a, u);
|
|
9
|
+
} : function(n, u) {
|
|
10
|
+
return (
|
|
11
|
+
/** @type {HastRoot} */
|
|
12
|
+
e(n, { file: u, ...r || t })
|
|
13
|
+
);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
f as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { __require as l } from "../../style-to-object/cjs/index.js";
|
|
2
|
+
import { __require as c } from "./utilities.js";
|
|
3
|
+
var e, _;
|
|
4
|
+
function p() {
|
|
5
|
+
if (_) return e;
|
|
6
|
+
_ = 1;
|
|
7
|
+
var f = e && e.__importDefault || function(r) {
|
|
8
|
+
return r && r.__esModule ? r : { default: r };
|
|
9
|
+
}, n = f(l()), o = c();
|
|
10
|
+
function t(r, s) {
|
|
11
|
+
var i = {};
|
|
12
|
+
return !r || typeof r != "string" || (0, n.default)(r, function(u, a) {
|
|
13
|
+
u && a && (i[(0, o.camelCase)(u, s)] = a);
|
|
14
|
+
}), i;
|
|
15
|
+
}
|
|
16
|
+
return t.default = t, e = t, e;
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
p as __require
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { __exports as i } from "../../../_virtual/utilities.js";
|
|
2
|
+
var r;
|
|
3
|
+
function R() {
|
|
4
|
+
if (r) return i;
|
|
5
|
+
r = 1, Object.defineProperty(i, "__esModule", { value: !0 }), i.camelCase = void 0;
|
|
6
|
+
var u = /^--[a-zA-Z0-9_-]+$/, c = /-([a-z])/g, n = /^[^-]+$/, s = /^-(webkit|moz|ms|o|khtml)-/, E = /^-(ms)-/, _ = function(e) {
|
|
7
|
+
return !e || n.test(e) || u.test(e);
|
|
8
|
+
}, l = function(e, a) {
|
|
9
|
+
return a.toUpperCase();
|
|
10
|
+
}, t = function(e, a) {
|
|
11
|
+
return "".concat(a, "-");
|
|
12
|
+
}, m = function(e, a) {
|
|
13
|
+
return a === void 0 && (a = {}), _(e) ? e : (e = e.toLowerCase(), a.reactCompat ? e = e.replace(E, t) : e = e.replace(s, t), e.replace(c, l));
|
|
14
|
+
};
|
|
15
|
+
return i.camelCase = m, i;
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
R as __require
|
|
19
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { __exports as r } from "../../../_virtual/index3.js";
|
|
2
|
+
import { __require as p } from "../../inline-style-parser/cjs/index.js";
|
|
3
|
+
var f;
|
|
4
|
+
function q() {
|
|
5
|
+
if (f) return r;
|
|
6
|
+
f = 1;
|
|
7
|
+
var s = r && r.__importDefault || function(e) {
|
|
8
|
+
return e && e.__esModule ? e : { default: e };
|
|
9
|
+
};
|
|
10
|
+
Object.defineProperty(r, "__esModule", { value: !0 }), r.default = a;
|
|
11
|
+
const _ = s(p());
|
|
12
|
+
function a(e, i) {
|
|
13
|
+
let t = null;
|
|
14
|
+
if (!e || typeof e != "string")
|
|
15
|
+
return t;
|
|
16
|
+
const l = (0, _.default)(e), c = typeof i == "function";
|
|
17
|
+
return l.forEach((u) => {
|
|
18
|
+
if (u.type !== "declaration")
|
|
19
|
+
return;
|
|
20
|
+
const { property: o, value: n } = u;
|
|
21
|
+
c ? i(o, n, u) : n && (t = t || {}, t[o] = n);
|
|
22
|
+
}), t;
|
|
23
|
+
}
|
|
24
|
+
return r;
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
q as __require
|
|
28
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function r(c) {
|
|
2
|
+
const i = String(c), o = /\r?\n|\r/g;
|
|
3
|
+
let e = o.exec(i), t = 0;
|
|
4
|
+
const n = [];
|
|
5
|
+
for (; e; )
|
|
6
|
+
n.push(
|
|
7
|
+
s(i.slice(t, e.index), t > 0, !0),
|
|
8
|
+
e[0]
|
|
9
|
+
), t = e.index + e[0].length, e = o.exec(i);
|
|
10
|
+
return n.push(s(i.slice(t), t > 0, !1)), n.join("");
|
|
11
|
+
}
|
|
12
|
+
function s(c, i, o) {
|
|
13
|
+
let e = 0, t = c.length;
|
|
14
|
+
if (i) {
|
|
15
|
+
let n = c.codePointAt(e);
|
|
16
|
+
for (; n === 9 || n === 32; )
|
|
17
|
+
e++, n = c.codePointAt(e);
|
|
18
|
+
}
|
|
19
|
+
if (o) {
|
|
20
|
+
let n = c.codePointAt(t - 1);
|
|
21
|
+
for (; n === 9 || n === 32; )
|
|
22
|
+
t--, n = c.codePointAt(t - 1);
|
|
23
|
+
}
|
|
24
|
+
return t > e ? c.slice(e, t) : "";
|
|
25
|
+
}
|
|
26
|
+
export {
|
|
27
|
+
r as trimLines
|
|
28
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
function x() {
|
|
2
|
+
const i = [], u = { run: c, use: p };
|
|
3
|
+
return u;
|
|
4
|
+
function c(...n) {
|
|
5
|
+
let h = -1;
|
|
6
|
+
const t = n.pop();
|
|
7
|
+
if (typeof t != "function")
|
|
8
|
+
throw new TypeError("Expected function as last argument, not " + t);
|
|
9
|
+
f(null, ...n);
|
|
10
|
+
function f(e, ...o) {
|
|
11
|
+
const r = i[++h];
|
|
12
|
+
let l = -1;
|
|
13
|
+
if (e) {
|
|
14
|
+
t(e);
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
for (; ++l < n.length; )
|
|
18
|
+
(o[l] === null || o[l] === void 0) && (o[l] = n[l]);
|
|
19
|
+
n = o, r ? s(r, f)(...o) : t(null, ...o);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function p(n) {
|
|
23
|
+
if (typeof n != "function")
|
|
24
|
+
throw new TypeError(
|
|
25
|
+
"Expected `middelware` to be a function, not " + n
|
|
26
|
+
);
|
|
27
|
+
return i.push(n), u;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function s(i, u) {
|
|
31
|
+
let c;
|
|
32
|
+
return p;
|
|
33
|
+
function p(...t) {
|
|
34
|
+
const f = i.length > t.length;
|
|
35
|
+
let e;
|
|
36
|
+
f && t.push(n);
|
|
37
|
+
try {
|
|
38
|
+
e = i.apply(this, t);
|
|
39
|
+
} catch (o) {
|
|
40
|
+
const r = (
|
|
41
|
+
/** @type {Error} */
|
|
42
|
+
o
|
|
43
|
+
);
|
|
44
|
+
if (f && c)
|
|
45
|
+
throw r;
|
|
46
|
+
return n(r);
|
|
47
|
+
}
|
|
48
|
+
f || (e && e.then && typeof e.then == "function" ? e.then(h, n) : e instanceof Error ? n(e) : h(e));
|
|
49
|
+
}
|
|
50
|
+
function n(t, ...f) {
|
|
51
|
+
c || (c = !0, u(t, ...f));
|
|
52
|
+
}
|
|
53
|
+
function h(t) {
|
|
54
|
+
n(null, t);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
export {
|
|
58
|
+
x as trough,
|
|
59
|
+
s as wrap
|
|
60
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const r = (
|
|
2
|
+
/**
|
|
3
|
+
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
4
|
+
*/
|
|
5
|
+
/** @type {unknown} */
|
|
6
|
+
/**
|
|
7
|
+
* @this {Function}
|
|
8
|
+
* @param {string | symbol} property
|
|
9
|
+
* @returns {(...parameters: Array<unknown>) => unknown}
|
|
10
|
+
*/
|
|
11
|
+
(function(n) {
|
|
12
|
+
const o = (
|
|
13
|
+
/** @type {Record<string | symbol, Function>} */
|
|
14
|
+
// Prototypes do exist.
|
|
15
|
+
// type-coverage:ignore-next-line
|
|
16
|
+
this.constructor.prototype
|
|
17
|
+
), s = o[n], t = function() {
|
|
18
|
+
return s.apply(t, arguments);
|
|
19
|
+
};
|
|
20
|
+
return Object.setPrototypeOf(t, o), t;
|
|
21
|
+
})
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
r as CallableInstance
|
|
25
|
+
};
|