@heartlandone/vega 2.81.0 → 2.82.0
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/cjs/{app-globals-25e1bfac.js → app-globals-3350d580.js} +7 -7
- package/dist/cjs/{aria-dialog-focusable-trap-slimmer-ced9566d.js → aria-dialog-focusable-trap-slimmer-5507f917.js} +1 -1
- package/dist/cjs/{child-nodes-event-prevent-slimmer-dd0bb8b6.js → child-nodes-event-prevent-slimmer-9b7095a4.js} +1 -1
- package/dist/cjs/{code-block-24b3d0e7.js → code-block-b1f8aded.js} +3 -3
- package/dist/cjs/{component-value-history-controller-slimmer.abstract-bd662b32.js → component-value-history-controller-slimmer.abstract-99fbd1f2.js} +4 -4
- package/dist/cjs/{content-state-0f26036c.js → content-state-648652b4.js} +3 -3
- package/dist/cjs/{dark-mode-style-controller-3a04af3d.js → dark-mode-style-controller-bd765afb.js} +2 -322
- package/dist/cjs/{date-required-rule-4377217a.js → date-required-rule-6addf5dd.js} +1 -1
- package/dist/cjs/{design-token-40276b11.js → design-token-93070bb8.js} +6 -130
- package/dist/cjs/drop-file-accept-filter-slimmer-cd619cc7.js +64 -0
- package/dist/cjs/{element-appender-slimmer-be1b4d57.js → element-appender-slimmer-dedd3a34.js} +3 -3
- package/dist/cjs/{event-emit-slimmer-bee6b676.js → event-emit-slimmer-bcb458b2.js} +1 -1
- package/dist/cjs/{form-field-controller-slimmer-982dbfe4.js → form-field-controller-slimmer-0f3a028e.js} +3 -3
- package/dist/cjs/{image-annotation-action-e0df5a20.js → image-annotation-action-0339e983.js} +3 -3
- package/dist/cjs/index-58ea899e.js +4 -0
- package/dist/cjs/index.cjs.js +18 -16
- package/dist/cjs/{inject-keyboard-manager-12b65e98.js → inject-keyboard-manager-2d9c4f92.js} +1 -1
- package/dist/cjs/{internal-translation-controller-9f58a4e4.js → internal-translation-controller-fb1532f4.js} +3 -0
- package/dist/cjs/{internal-vega-event-manager-cc0f511c.js → internal-vega-event-manager-fef893bf.js} +1 -0
- package/dist/cjs/{keyboard-manager-c89a66d3.js → keyboard-manager-5ed6c472.js} +1 -1
- package/dist/cjs/{keyboard-manager-slimmer-93fcbf46.js → keyboard-manager-slimmer-879ff4f3.js} +1 -1
- package/dist/cjs/loader.cjs.js +13 -12
- package/dist/cjs/{month-view-generator-0d25e950.js → month-view-generator-d262e6ce.js} +1 -1
- package/dist/cjs/{public-rules-652ec269.js → public-rules-bce88d4e.js} +10 -9
- package/dist/cjs/{range-cdd61881.js → range-5bd6d72b.js} +1 -1
- package/dist/cjs/{responsive-format-facade-9cae7f27.js → responsive-format-facade-2cab7344.js} +1 -1
- package/dist/cjs/{rich-text-editor-required-rule-4b919054.js → rich-text-editor-required-rule-e8a922be.js} +1 -1
- package/dist/cjs/{split-cell-operation-3596f738.js → split-cell-operation-bb388de6.js} +4 -4
- package/dist/cjs/state-border-formatter-4e5e4ed0.js +133 -0
- package/dist/cjs/{string-format-strategy.abstract-ebdb2573.js → string-format-strategy.abstract-9a35e3b4.js} +1 -1
- package/dist/cjs/{string-input-formatter-slimmer-9b6a8399.js → string-input-formatter-slimmer-1018ddec.js} +3 -3
- package/dist/cjs/{string-mask-strategy-6cc9f391.js → string-mask-strategy-3aa17744.js} +2 -2
- package/dist/cjs/{style-formatter-18289c4d.js → style-formatter-2226c869.js} +2 -2
- package/dist/cjs/{sub-state-notify-slimmer-39bfcfe3.js → sub-state-notify-slimmer-b33171b0.js} +1 -1
- package/dist/cjs/{sub-state-observer-slimmer-e5b50cbf.js → sub-state-observer-slimmer-b8f6f27b.js} +1 -1
- package/dist/cjs/{time-required-rule-3517beff.js → time-required-rule-970dfdca.js} +1 -1
- package/dist/cjs/tinycolor-polyfill-502efaa8.js +325 -0
- package/dist/cjs/{token-extension-addc97c1.js → token-extension-9b213b6b.js} +8 -8
- package/dist/cjs/{translation-slimmer-c069ca84.js → translation-slimmer-d0c77ad2.js} +1 -1
- package/dist/cjs/{type-guard-362d7da3.js → type-guard-3ec852d7.js} +28 -1
- package/dist/cjs/{valid-credit-card-number-rule-1d8bf49c.js → valid-credit-card-number-rule-99d1bb34.js} +1 -1
- package/dist/cjs/vega-accordion.cjs.entry.js +7 -6
- package/dist/cjs/vega-app-footer.cjs.entry.js +2 -1
- package/dist/cjs/vega-app-header-button.cjs.entry.js +8 -7
- package/dist/cjs/vega-banner.cjs.entry.js +2 -2
- package/dist/cjs/vega-box.cjs.entry.js +6 -5
- package/dist/cjs/vega-brand-logo.cjs.entry.js +2 -1
- package/dist/cjs/vega-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/vega-button-circle.cjs.entry.js +9 -8
- package/dist/cjs/vega-button-group_2.cjs.entry.js +102 -13
- package/dist/cjs/vega-button-link.cjs.entry.js +3 -3
- package/dist/cjs/vega-button.cjs.entry.js +8 -8
- package/dist/cjs/vega-calendar_4.cjs.entry.js +10 -10
- package/dist/cjs/vega-card.cjs.entry.js +5 -4
- package/dist/cjs/vega-carousel.cjs.entry.js +5 -5
- package/dist/cjs/vega-checkbox_2.cjs.entry.js +7 -7
- package/dist/cjs/vega-chip.cjs.entry.js +8 -7
- package/dist/cjs/vega-code-block.cjs.entry.js +14 -13
- package/dist/cjs/vega-color-picker.cjs.entry.js +26 -8
- package/dist/cjs/vega-color-swatch.cjs.entry.js +245 -0
- package/dist/cjs/vega-combo-box.cjs.entry.js +10 -10
- package/dist/cjs/vega-date-picker_2.cjs.entry.js +20 -20
- package/dist/cjs/vega-dialog_2.cjs.entry.js +55 -244
- package/dist/cjs/vega-divider.cjs.entry.js +5 -4
- package/dist/cjs/vega-dropdown_5.cjs.entry.js +33 -15
- package/dist/cjs/vega-env-manager-23b8b23c.js +2 -2
- package/dist/cjs/vega-field-label.cjs.entry.js +2 -2
- package/dist/cjs/vega-file-uploader.cjs.entry.js +40 -90
- package/dist/cjs/vega-flag-icon.cjs.entry.js +5 -4
- package/dist/cjs/vega-flex.cjs.entry.js +6 -5
- package/dist/cjs/vega-font.cjs.entry.js +5 -4
- package/dist/cjs/vega-form.cjs.entry.js +9 -9
- package/dist/cjs/vega-grid.cjs.entry.js +5 -4
- package/dist/cjs/vega-icon.cjs.entry.js +5 -4
- package/dist/cjs/vega-image-uploader.cjs.entry.js +78 -13
- package/dist/cjs/vega-input-credit-card.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-numeric.cjs.entry.js +11 -11
- package/dist/cjs/vega-input-passcode.cjs.entry.js +10 -10
- package/dist/cjs/vega-input-phone-number.cjs.entry.js +9 -9
- package/dist/cjs/vega-input-range.cjs.entry.js +8 -8
- package/dist/cjs/vega-input-select.cjs.entry.js +50 -15
- package/dist/cjs/vega-input.cjs.entry.js +11 -11
- package/dist/cjs/{vega-internal-event-id-a1837fa2.js → vega-internal-event-id-87014e4f.js} +2 -0
- package/dist/cjs/vega-item-toggle.cjs.entry.js +2 -2
- package/dist/cjs/vega-left-nav_5.cjs.entry.js +14 -12
- package/dist/cjs/vega-loader-wrapper_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination-page-size-selector-mobile.cjs.entry.js +3 -3
- package/dist/cjs/vega-pagination.cjs.entry.js +8 -8
- package/dist/cjs/vega-popover_2.cjs.entry.js +12 -11
- package/dist/cjs/vega-progress-tracker_2.cjs.entry.js +35 -11
- package/dist/cjs/vega-radio_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-rich-text-content.cjs.entry.js +10 -9
- package/dist/cjs/vega-rich-text-editor_4.cjs.entry.js +21 -20
- package/dist/cjs/vega-rich-text-table-properties_3.cjs.entry.js +13 -12
- package/dist/cjs/vega-segment-control.cjs.entry.js +2 -2
- package/dist/cjs/vega-selection-chip_2.cjs.entry.js +10 -10
- package/dist/cjs/vega-selection-tile_2.cjs.entry.js +8 -8
- package/dist/cjs/vega-sidenav_3.cjs.entry.js +8 -8
- package/dist/cjs/vega-signature-capture.cjs.entry.js +11 -10
- package/dist/cjs/vega-stepper.cjs.entry.js +9 -9
- package/dist/cjs/vega-tab-group_2.cjs.entry.js +3 -3
- package/dist/cjs/vega-table_11.cjs.entry.js +434 -287
- package/dist/cjs/vega-text.cjs.entry.js +6 -2
- package/dist/cjs/vega-textarea.cjs.entry.js +7 -7
- package/dist/cjs/vega-time-picker_2.cjs.entry.js +14 -14
- package/dist/cjs/vega-toggle-switch.cjs.entry.js +6 -6
- package/dist/cjs/vega-tooltip_2.cjs.entry.js +9 -8
- package/dist/cjs/vega.cjs.js +13 -12
- package/dist/cjs/{wait-for-component-did-render-b6d12d51.js → wait-for-component-did-render-16863a21.js} +1 -1
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/vega-button/vega-button.css +4 -0
- package/dist/collection/components/vega-button-group/slimmers/controllers/vega-button-group-all-items-disabled-controller.js +64 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.js +7 -0
- package/dist/collection/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.js +6 -2
- package/dist/collection/components/vega-button-group/vega-button-group-item/vega-button-group-item.js +4 -2
- package/dist/collection/components/vega-button-group/vega-button-group.js +20 -1
- package/dist/collection/components/vega-color-picker/vega-color-picker.css +0 -1
- package/dist/collection/components/vega-color-picker/vega-color-picker.js +40 -1
- package/dist/collection/components/vega-color-swatch/slimmers/renderers/vega-color-swatch-renderer.js +127 -0
- package/dist/collection/components/vega-color-swatch/vega-color-swatch.css +155 -0
- package/dist/collection/components/vega-color-swatch/vega-color-swatch.js +314 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.js +7 -0
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.js +5 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.js +2 -1
- package/dist/collection/components/vega-dropdown/vega-dropdown.js +38 -0
- package/dist/collection/components/vega-file-uploader/vega-file-uploader.js +2 -2
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.js +45 -1
- package/dist/collection/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.js +16 -1
- package/dist/collection/components/vega-image-uploader/vega-image-uploader.js +5 -0
- package/dist/collection/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.js +17 -4
- package/dist/collection/components/vega-input-select/vega-input-select.js +76 -0
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-open-state-controller.js +0 -4
- package/dist/collection/components/vega-modal/slimmers/renderers/vega-modal-renderer.js +28 -28
- package/dist/collection/components/vega-modal/vega-modal.css +2 -2
- package/dist/collection/components/vega-modal/vega-modal.js +0 -5
- package/dist/collection/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.js +10 -2
- package/dist/collection/components/vega-progress-tracker/slimmers/renderers/vega-progress-tracker-renderer.js +1 -1
- package/dist/collection/components/vega-progress-tracker/vega-progress-tracker.js +37 -0
- package/dist/collection/components/vega-stepper/vega-stepper.css +12 -0
- package/dist/collection/components/vega-stepper/vega-stepper.js +2 -1
- package/dist/collection/components/vega-table/slimmers/controllers/vega-table-render-input-controller.js +25 -2
- package/dist/collection/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.js +28 -1
- package/dist/collection/components/vega-table/vega-table-cell/vega-table-cell.js +12 -10
- package/dist/collection/components/vega-table/vega-table-head-cell/vega-table-head-cell.js +14 -12
- package/dist/collection/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.js +5 -4
- package/dist/collection/components/vega-table/vega-table-head-row/vega-table-head-row.js +8 -1
- package/dist/collection/components/vega-text/slimmers/renderers/vega-text-tooltip-renderer.js +6 -2
- package/dist/collection/components/vega-text/vega-text.js +1 -1
- package/dist/collection/components/vega-tooltip/slimmers/controllers/vega-tooltip-element-appender-controller.js +1 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.css +1 -0
- package/dist/collection/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.js +1 -1
- package/dist/collection/components/vega-tooltip/vega-tooltip.js +1 -1
- package/dist/collection/helpers/event-manager/event-id/component-event-id-map.js +1 -0
- package/dist/collection/helpers/event-manager/event-id/vega-internal-event-id.js +1 -0
- package/dist/collection/{components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.js → helpers/slimmers/drop-file-accept-filter-slimmer.js} +13 -5
- package/dist/collection/helpers/slimmers/vega-table-child-render-input-consumer-slimmer.js +96 -0
- package/dist/collection/helpers/translation/locales/en.js +3 -0
- package/dist/collection/types/type-guard.js +26 -0
- package/dist/esm/{app-globals-80a7d395.js → app-globals-0b7e8b50.js} +7 -7
- package/dist/esm/{aria-dialog-focusable-trap-slimmer-cc6a8c3e.js → aria-dialog-focusable-trap-slimmer-853a91de.js} +1 -1
- package/dist/esm/{child-nodes-event-prevent-slimmer-2ecc3e1f.js → child-nodes-event-prevent-slimmer-9c24d4fc.js} +1 -1
- package/dist/esm/{code-block-cd913077.js → code-block-b8be290a.js} +3 -3
- package/dist/esm/{component-value-history-controller-slimmer.abstract-e595761d.js → component-value-history-controller-slimmer.abstract-10ccf8e6.js} +4 -4
- package/dist/esm/{content-state-89f8eecb.js → content-state-72b513d1.js} +3 -3
- package/dist/esm/{dark-mode-style-controller-82e5c1c6.js → dark-mode-style-controller-e9a6b097.js} +1 -321
- package/dist/esm/{date-required-rule-2b08f32c.js → date-required-rule-891a6a57.js} +1 -1
- package/dist/esm/{design-token-7566d54c.js → design-token-59d07aa2.js} +6 -130
- package/dist/esm/drop-file-accept-filter-slimmer-ad759e4a.js +62 -0
- package/dist/esm/{element-appender-slimmer-df2a2da2.js → element-appender-slimmer-5aca1bca.js} +3 -3
- package/dist/esm/{event-emit-slimmer-9abc9241.js → event-emit-slimmer-32da9d90.js} +1 -1
- package/dist/esm/{form-field-controller-slimmer-40fcb5c2.js → form-field-controller-slimmer-899864a8.js} +3 -3
- package/dist/esm/{image-annotation-action-6048d32e.js → image-annotation-action-ebd6c421.js} +3 -3
- package/dist/esm/index-090d31ca.js +4 -0
- package/dist/esm/index.js +18 -16
- package/dist/esm/{inject-keyboard-manager-c6557f50.js → inject-keyboard-manager-dc1d7135.js} +1 -1
- package/dist/esm/{internal-translation-controller-b08aa9ab.js → internal-translation-controller-4fb104b2.js} +3 -0
- package/dist/esm/{internal-vega-event-manager-59f5bd47.js → internal-vega-event-manager-8a657bac.js} +1 -0
- package/dist/esm/{keyboard-manager-c7b125d7.js → keyboard-manager-6ea9968b.js} +1 -1
- package/dist/esm/{keyboard-manager-slimmer-6109039b.js → keyboard-manager-slimmer-7eed4734.js} +1 -1
- package/dist/esm/loader.js +13 -12
- package/dist/esm/{month-view-generator-139ace5a.js → month-view-generator-aaa27fce.js} +1 -1
- package/dist/esm/{public-rules-e42bce9d.js → public-rules-f2005e11.js} +10 -9
- package/dist/esm/{range-b76edec7.js → range-ed532278.js} +1 -1
- package/dist/esm/{responsive-format-facade-151dbd10.js → responsive-format-facade-e9926018.js} +1 -1
- package/dist/esm/{rich-text-editor-required-rule-1fc7c040.js → rich-text-editor-required-rule-b559cf1a.js} +1 -1
- package/dist/esm/{split-cell-operation-548ea374.js → split-cell-operation-5587f594.js} +4 -4
- package/dist/esm/state-border-formatter-be51463d.js +129 -0
- package/dist/esm/{string-format-strategy.abstract-6488031a.js → string-format-strategy.abstract-0157b3c5.js} +1 -1
- package/dist/esm/{string-input-formatter-slimmer-625e17a2.js → string-input-formatter-slimmer-33ed3478.js} +3 -3
- package/dist/esm/{string-mask-strategy-a165d316.js → string-mask-strategy-b58891b5.js} +2 -2
- package/dist/esm/{style-formatter-280757ae.js → style-formatter-9662ae88.js} +2 -2
- package/dist/esm/{sub-state-notify-slimmer-6c972bb4.js → sub-state-notify-slimmer-1f907173.js} +1 -1
- package/dist/esm/{sub-state-observer-slimmer-53643b5c.js → sub-state-observer-slimmer-090c500a.js} +1 -1
- package/dist/esm/{time-required-rule-3f5a8822.js → time-required-rule-a9dc8473.js} +1 -1
- package/dist/esm/tinycolor-polyfill-7be0eb93.js +322 -0
- package/dist/esm/{token-extension-5ee7a3f1.js → token-extension-9d717a35.js} +8 -8
- package/dist/esm/{translation-slimmer-35b1d0fa.js → translation-slimmer-4faae5a3.js} +1 -1
- package/dist/esm/{type-guard-f6c9c89d.js → type-guard-152070e9.js} +28 -2
- package/dist/esm/{valid-credit-card-number-rule-3bf19ad6.js → valid-credit-card-number-rule-a7907cb7.js} +1 -1
- package/dist/esm/vega-accordion.entry.js +7 -6
- package/dist/esm/vega-app-footer.entry.js +2 -1
- package/dist/esm/vega-app-header-button.entry.js +8 -7
- package/dist/esm/vega-banner.entry.js +2 -2
- package/dist/esm/vega-box.entry.js +6 -5
- package/dist/esm/vega-brand-logo.entry.js +2 -1
- package/dist/esm/vega-breadcrumb.entry.js +3 -3
- package/dist/esm/vega-button-circle.entry.js +9 -8
- package/dist/esm/vega-button-group_2.entry.js +102 -13
- package/dist/esm/vega-button-link.entry.js +3 -3
- package/dist/esm/vega-button.entry.js +8 -8
- package/dist/esm/vega-calendar_4.entry.js +10 -10
- package/dist/esm/vega-card.entry.js +5 -4
- package/dist/esm/vega-carousel.entry.js +5 -5
- package/dist/esm/vega-checkbox_2.entry.js +7 -7
- package/dist/esm/vega-chip.entry.js +8 -7
- package/dist/esm/vega-code-block.entry.js +14 -13
- package/dist/esm/vega-color-picker.entry.js +26 -8
- package/dist/esm/vega-color-swatch.entry.js +241 -0
- package/dist/esm/vega-combo-box.entry.js +10 -10
- package/dist/esm/vega-date-picker_2.entry.js +20 -20
- package/dist/esm/vega-dialog_2.entry.js +55 -244
- package/dist/esm/vega-divider.entry.js +5 -4
- package/dist/esm/vega-dropdown_5.entry.js +33 -15
- package/dist/esm/vega-env-manager-8f8dc473.js +2 -2
- package/dist/esm/vega-field-label.entry.js +2 -2
- package/dist/esm/vega-file-uploader.entry.js +40 -90
- package/dist/esm/vega-flag-icon.entry.js +5 -4
- package/dist/esm/vega-flex.entry.js +6 -5
- package/dist/esm/vega-font.entry.js +5 -4
- package/dist/esm/vega-form.entry.js +9 -9
- package/dist/esm/vega-grid.entry.js +5 -4
- package/dist/esm/vega-icon.entry.js +5 -4
- package/dist/esm/vega-image-uploader.entry.js +78 -13
- package/dist/esm/vega-input-credit-card.entry.js +11 -11
- package/dist/esm/vega-input-numeric.entry.js +11 -11
- package/dist/esm/vega-input-passcode.entry.js +10 -10
- package/dist/esm/vega-input-phone-number.entry.js +9 -9
- package/dist/esm/vega-input-range.entry.js +8 -8
- package/dist/esm/vega-input-select.entry.js +50 -15
- package/dist/esm/vega-input.entry.js +11 -11
- package/dist/esm/{vega-internal-event-id-70bd893d.js → vega-internal-event-id-194bac82.js} +2 -1
- package/dist/esm/vega-item-toggle.entry.js +2 -2
- package/dist/esm/vega-left-nav_5.entry.js +14 -12
- package/dist/esm/vega-loader-wrapper_2.entry.js +3 -3
- package/dist/esm/vega-pagination-page-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination-page-size-selector-mobile.entry.js +3 -3
- package/dist/esm/vega-pagination.entry.js +8 -8
- package/dist/esm/vega-popover_2.entry.js +12 -11
- package/dist/esm/vega-progress-tracker_2.entry.js +35 -11
- package/dist/esm/vega-radio_2.entry.js +10 -10
- package/dist/esm/vega-rich-text-content.entry.js +10 -9
- package/dist/esm/vega-rich-text-editor_4.entry.js +21 -20
- package/dist/esm/vega-rich-text-table-properties_3.entry.js +13 -12
- package/dist/esm/vega-segment-control.entry.js +2 -2
- package/dist/esm/vega-selection-chip_2.entry.js +10 -10
- package/dist/esm/vega-selection-tile_2.entry.js +8 -8
- package/dist/esm/vega-sidenav_3.entry.js +8 -8
- package/dist/esm/vega-signature-capture.entry.js +11 -10
- package/dist/esm/vega-stepper.entry.js +9 -9
- package/dist/esm/vega-tab-group_2.entry.js +3 -3
- package/dist/esm/vega-table_11.entry.js +434 -287
- package/dist/esm/vega-text.entry.js +6 -2
- package/dist/esm/vega-textarea.entry.js +7 -7
- package/dist/esm/vega-time-picker_2.entry.js +14 -14
- package/dist/esm/vega-toggle-switch.entry.js +6 -6
- package/dist/esm/vega-tooltip_2.entry.js +9 -8
- package/dist/esm/vega.js +13 -12
- package/dist/esm/{wait-for-component-did-render-6980a1a6.js → wait-for-component-did-render-30cde59c.js} +1 -1
- package/dist/sri/vega-sri-manifest.json +362 -346
- package/dist/types/components/vega-button-group/slimmers/controllers/vega-button-group-all-items-disabled-controller.d.ts +21 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/controllers/vega-button-group-item-sub-state-controller.d.ts +1 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/slimmers/renderers/vega-button-group-item-renderer.d.ts +1 -0
- package/dist/types/components/vega-button-group/vega-button-group-item/vega-button-group-item.d.ts +1 -0
- package/dist/types/components/vega-button-group/vega-button-group.d.ts +5 -0
- package/dist/types/components/vega-color-picker/vega-color-picker.d.ts +14 -0
- package/dist/types/components/vega-color-swatch/slimmers/renderers/vega-color-swatch-renderer.d.ts +48 -0
- package/dist/types/components/vega-color-swatch/types.d.ts +5 -0
- package/dist/types/components/vega-color-swatch/vega-color-swatch.d.ts +86 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/controllers/vega-dropdown-item-state-controller.d.ts +1 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/slimmers/renderers/vega-dropdown-item-renderer.d.ts +1 -0
- package/dist/types/components/vega-dropdown/vega-dropdown-item/vega-dropdown-item.d.ts +4 -0
- package/dist/types/components/vega-dropdown/vega-dropdown.d.ts +10 -0
- package/dist/types/components/vega-file-uploader/vega-file-uploader.d.ts +2 -2
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-default-content-renderer.d.ts +25 -0
- package/dist/types/components/vega-image-uploader/slimmers/renderers/vega-image-uploader-preview-content-renderer.d.ts +10 -0
- package/dist/types/components/vega-image-uploader/vega-image-uploader.d.ts +2 -0
- package/dist/types/components/vega-input-select/slimmers/renderers/vega-input-select-dropdown-renderer.d.ts +3 -0
- package/dist/types/components/vega-input-select/types.d.ts +14 -0
- package/dist/types/components/vega-input-select/vega-input-select.d.ts +19 -1
- package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-open-state-controller.d.ts +0 -1
- package/dist/types/components/vega-modal/slimmers/renderers/vega-modal-renderer.d.ts +3 -2
- package/dist/types/components/vega-modal/vega-modal.d.ts +0 -2
- package/dist/types/components/vega-pagination/types.d.ts +7 -1
- package/dist/types/components/vega-progress-tracker/slimmers/controllers/vega-progress-tracker-current-step-controller.d.ts +1 -0
- package/dist/types/components/vega-progress-tracker/vega-progress-tracker.d.ts +16 -0
- package/dist/types/components/vega-table/slimmers/controllers/vega-table-render-input-controller.d.ts +8 -1
- package/dist/types/components/vega-table/slimmers/renderers/vega-table-pinned-renderer.d.ts +5 -1
- package/dist/types/components/vega-table/vega-table-cell/vega-table-cell.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-cell/vega-table-head-cell.d.ts +5 -0
- package/dist/types/components/vega-table/vega-table-head-row/slimmers/renderers/vega-table-head-row-renderer.d.ts +1 -0
- package/dist/types/components/vega-table/vega-table-head-row/vega-table-head-row.d.ts +4 -0
- package/dist/types/components/vega-text/types.d.ts +5 -3
- package/dist/types/components/vega-tooltip/vega-tooltip-content-box/vega-tooltip-content-box.d.ts +4 -0
- package/dist/types/components/vega-tooltip/vega-tooltip.d.ts +4 -0
- package/dist/types/components.d.ts +154 -5
- package/dist/types/helpers/event-manager/event-id/vega-internal-event-id.d.ts +1 -0
- package/dist/types/helpers/formatter/string-formatter/string-mask-strategy.d.ts +56 -3
- package/dist/types/helpers/slimmers/drop-file-accept-filter-slimmer.d.ts +29 -0
- package/dist/types/helpers/slimmers/vega-table-child-render-input-consumer-slimmer.d.ts +48 -0
- package/dist/types/helpers/translation/interface.d.ts +4 -1
- package/dist/types/types/components.type.d.ts +7 -0
- package/dist/types/types/public-api.d.ts +3 -1
- package/dist/types/types/type-guard.d.ts +15 -1
- package/dist/vega/index.esm.js +1 -1
- package/dist/vega/{p-2f99c511.js → p-02467b61.js} +1 -1
- package/dist/vega/p-075bb809.entry.js +1 -0
- package/dist/vega/{p-59c6f795.js → p-085de8fc.js} +1 -1
- package/dist/vega/{p-0fc2ccc4.entry.js → p-0915a8d3.entry.js} +1 -1
- package/dist/vega/{p-a1d51bc2.js → p-0caf52e0.js} +1 -1
- package/dist/vega/{p-42da45e3.entry.js → p-0dbd7723.entry.js} +1 -1
- package/dist/vega/{p-98c44c03.js → p-103d20f5.js} +1 -1
- package/dist/vega/p-115d6053.entry.js +1 -0
- package/dist/vega/{p-0304c3a7.js → p-116e3963.js} +1 -1
- package/dist/vega/p-14de7ba0.entry.js +1 -0
- package/dist/vega/{p-42e246e4.entry.js → p-19a30f98.entry.js} +1 -1
- package/dist/vega/{p-e1117034.entry.js → p-1ca95601.entry.js} +1 -1
- package/dist/vega/{p-f5d3ce94.js → p-1dd6ba67.js} +1 -1
- package/dist/vega/{p-118aeed1.entry.js → p-1efb47fe.entry.js} +1 -1
- package/dist/vega/p-23c840dc.entry.js +1 -0
- package/dist/vega/{p-90a0b9f3.entry.js → p-246eb001.entry.js} +1 -1
- package/dist/vega/p-25ab7a33.entry.js +1 -0
- package/dist/vega/p-264b3309.entry.js +1 -0
- package/dist/vega/{p-c0d45f77.entry.js → p-280f63fa.entry.js} +1 -1
- package/dist/vega/p-29d31c98.entry.js +1 -0
- package/dist/vega/{p-7ac9e8ff.entry.js → p-29f42c27.entry.js} +1 -1
- package/dist/vega/p-2b5cf2b3.js +1 -0
- package/dist/vega/{p-679b1f00.entry.js → p-30445cd9.entry.js} +1 -1
- package/dist/vega/p-318f0df5.js +1 -0
- package/dist/vega/p-337a5e76.js +1 -0
- package/dist/vega/p-3505f7cc.entry.js +1 -0
- package/dist/vega/p-38af89b9.js +1 -0
- package/dist/vega/p-3fae8d3f.entry.js +1 -0
- package/dist/vega/{p-49ae8c79.js → p-42141782.js} +1 -1
- package/dist/vega/{p-d0ac7af8.js → p-44044ed7.js} +1 -1
- package/dist/vega/p-475bd8bf.entry.js +1 -0
- package/dist/vega/{p-e753fac2.entry.js → p-47611a83.entry.js} +1 -1
- package/dist/vega/p-4e95248c.entry.js +1 -0
- package/dist/vega/p-4f938ee4.entry.js +1 -0
- package/dist/vega/{p-eccabba7.entry.js → p-513f51ec.entry.js} +1 -1
- package/dist/vega/{p-e8fc8495.entry.js → p-51d2e0ab.entry.js} +1 -1
- package/dist/vega/{p-dff66a67.entry.js → p-58b6ac33.entry.js} +1 -1
- package/dist/vega/p-596bc4f6.entry.js +1 -0
- package/dist/vega/{p-757bfca2.entry.js → p-597588d0.entry.js} +1 -1
- package/dist/vega/p-5f377954.js +1 -1
- package/dist/vega/{p-4ed416e7.js → p-5ffdea8e.js} +1 -1
- package/dist/vega/{p-3224e47c.js → p-6572e038.js} +1 -1
- package/dist/vega/{p-ac43be09.entry.js → p-6d95390b.entry.js} +1 -1
- package/dist/vega/p-6e9f832f.js +1 -0
- package/dist/vega/p-783531cf.entry.js +1 -0
- package/dist/vega/{p-47a2eec1.entry.js → p-7d85cc74.entry.js} +1 -1
- package/dist/vega/p-7df43192.entry.js +1 -0
- package/dist/vega/p-7faaa5e1.entry.js +1 -0
- package/dist/vega/{p-f0d605e9.entry.js → p-8583dd34.entry.js} +1 -1
- package/dist/vega/p-85abe824.entry.js +1 -0
- package/dist/vega/p-874bf8b2.js +1 -0
- package/dist/vega/p-88b6184c.entry.js +1 -0
- package/dist/vega/p-8aee6b74.js +1 -0
- package/dist/vega/{p-9324dd2c.entry.js → p-8b217c7e.entry.js} +1 -1
- package/dist/vega/p-8da66d41.entry.js +1 -0
- package/dist/vega/{p-fd5ddc55.js → p-956b170c.js} +1 -1
- package/dist/vega/{p-001d36af.js → p-9751c801.js} +1 -1
- package/dist/vega/{p-add63fe0.entry.js → p-97f36f4e.entry.js} +1 -1
- package/dist/vega/p-988401c3.entry.js +1 -0
- package/dist/vega/{p-f40d479d.entry.js → p-9c1a48b9.entry.js} +1 -1
- package/dist/vega/p-9d854d43.js +1 -0
- package/dist/vega/{p-64e22fe5.js → p-a07c0f8c.js} +1 -1
- package/dist/vega/{p-6216c30e.js → p-a0c3968b.js} +1 -1
- package/dist/vega/{p-e22e5aa1.js → p-a30ae8a1.js} +1 -1
- package/dist/vega/p-a5bd3ecd.entry.js +1 -0
- package/dist/vega/p-a6dbc63d.entry.js +1 -0
- package/dist/vega/p-aa985d73.js +1 -0
- package/dist/vega/{p-5f95a2fa.js → p-ab829745.js} +1 -1
- package/dist/vega/p-b08a70e6.entry.js +1 -0
- package/dist/vega/p-b19b1c08.js +1 -0
- package/dist/vega/p-b5497af2.entry.js +1 -0
- package/dist/vega/p-b7624ce4.js +1 -0
- package/dist/vega/{p-83863463.js → p-b9386dd0.js} +1 -1
- package/dist/vega/{p-88e6618d.js → p-b9947846.js} +1 -1
- package/dist/vega/p-b9a95aca.entry.js +1 -0
- package/dist/vega/{p-53ba1adb.entry.js → p-bb46d8e6.entry.js} +1 -1
- package/dist/vega/{p-63d73fa0.entry.js → p-c366e7f7.entry.js} +1 -1
- package/dist/vega/p-c36afa21.entry.js +1 -0
- package/dist/vega/{p-f509b439.js → p-c8435185.js} +1 -1
- package/dist/vega/{p-ab4b06c9.entry.js → p-c8d41cdc.entry.js} +1 -1
- package/dist/vega/{p-ff47aeee.entry.js → p-cab70b95.entry.js} +1 -1
- package/dist/vega/p-cc18970f.entry.js +1 -0
- package/dist/vega/p-d320496e.entry.js +1 -0
- package/dist/vega/{p-ae0f03c1.js → p-d32e83e7.js} +1 -1
- package/dist/vega/{p-37a9f4b4.entry.js → p-d456386a.entry.js} +1 -1
- package/dist/vega/{p-d289a6af.js → p-d4f1f007.js} +1 -1
- package/dist/vega/{p-82016096.js → p-d5531d3c.js} +1 -1
- package/dist/vega/{p-9b14ac66.entry.js → p-d7bd2470.entry.js} +1 -1
- package/dist/vega/p-d872beb1.entry.js +1 -0
- package/dist/vega/{p-f5013494.entry.js → p-d9d5c693.entry.js} +1 -1
- package/dist/vega/{p-c2e7992b.js → p-dd6211cd.js} +1 -1
- package/dist/vega/{p-5a8be21c.entry.js → p-e340d58c.entry.js} +1 -1
- package/dist/vega/{p-dc6e7a77.js → p-e71864ff.js} +1 -1
- package/dist/vega/{p-5e9f6fb6.entry.js → p-ea564928.entry.js} +1 -1
- package/dist/vega/p-eb0ebf50.entry.js +1 -0
- package/dist/vega/p-ebdb489c.entry.js +1 -0
- package/dist/vega/{p-01541820.entry.js → p-ed01657b.entry.js} +1 -1
- package/dist/vega/p-eda7cd76.entry.js +1 -0
- package/dist/vega/{p-68a531cf.js → p-edda10f7.js} +1 -1
- package/dist/vega/{p-24b45c85.js → p-ef59f6f0.js} +1 -1
- package/dist/vega/{p-77c6f14a.entry.js → p-efc8c09e.entry.js} +1 -1
- package/dist/vega/p-f020738c.entry.js +1 -0
- package/dist/vega/{p-f2cef51a.js → p-f7a5746b.js} +1 -1
- package/dist/vega/{p-27dc6562.entry.js → p-f89cf75a.entry.js} +1 -1
- package/dist/vega/p-fb5ea4b2.js +1 -0
- package/dist/vega/p-fc7ab79d.js +1 -0
- package/dist/vega/vega.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.js +0 -182
- package/dist/types/components/vega-file-uploader/slimmers/controllers/vega-file-uploader-drop-file-filter-controller.d.ts +0 -22
- package/dist/types/components/vega-modal/slimmers/controllers/vega-modal-layout-controller.d.ts +0 -51
- package/dist/vega/p-08f03a52.entry.js +0 -1
- package/dist/vega/p-0a145766.entry.js +0 -1
- package/dist/vega/p-0d205fbf.js +0 -1
- package/dist/vega/p-1a4e8d8a.js +0 -1
- package/dist/vega/p-23dc4064.entry.js +0 -1
- package/dist/vega/p-262a27d0.js +0 -1
- package/dist/vega/p-2beace1c.entry.js +0 -1
- package/dist/vega/p-2ce2972f.js +0 -1
- package/dist/vega/p-2e7d5e28.entry.js +0 -1
- package/dist/vega/p-32592497.entry.js +0 -1
- package/dist/vega/p-33860e54.js +0 -1
- package/dist/vega/p-3d2d267d.js +0 -1
- package/dist/vega/p-3f3c771a.entry.js +0 -1
- package/dist/vega/p-4013d954.entry.js +0 -1
- package/dist/vega/p-479a169c.entry.js +0 -1
- package/dist/vega/p-55019e55.entry.js +0 -1
- package/dist/vega/p-565aac6e.entry.js +0 -1
- package/dist/vega/p-574586c9.entry.js +0 -1
- package/dist/vega/p-5781b9f4.entry.js +0 -1
- package/dist/vega/p-57827342.entry.js +0 -1
- package/dist/vega/p-5baff397.js +0 -1
- package/dist/vega/p-62e80151.entry.js +0 -1
- package/dist/vega/p-76daa632.entry.js +0 -1
- package/dist/vega/p-8ac2d165.js +0 -1
- package/dist/vega/p-9aa1c66a.entry.js +0 -1
- package/dist/vega/p-9b01a28a.entry.js +0 -1
- package/dist/vega/p-b525c800.entry.js +0 -1
- package/dist/vega/p-be651266.entry.js +0 -1
- package/dist/vega/p-c56aa01c.entry.js +0 -1
- package/dist/vega/p-c8feb644.entry.js +0 -1
- package/dist/vega/p-cc3c661c.entry.js +0 -1
- package/dist/vega/p-cda09e99.entry.js +0 -1
- package/dist/vega/p-d29e8972.entry.js +0 -1
- package/dist/vega/p-d47aa28f.js +0 -1
- package/dist/vega/p-d90eee9a.entry.js +0 -1
- package/dist/vega/p-dcf8f58f.entry.js +0 -1
- package/dist/vega/p-e223e0dc.entry.js +0 -1
- package/dist/vega/p-ea2b5dbb.js +0 -1
- package/dist/vega/p-f2c65579.entry.js +0 -1
- package/dist/vega/p-f69e2801.entry.js +0 -1
- package/dist/vega/p-fa654762.entry.js +0 -1
- package/dist/vega/p-fbc5a7f6.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const contentState = require('./content-state-
|
|
3
|
+
const contentState = require('./content-state-648652b4.js');
|
|
4
4
|
const internalFormFieldValidationRule_abstract = require('./internal-form-field-validation-rule.abstract-07cdff46.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const codeBlock = require('./code-block-
|
|
3
|
+
const codeBlock = require('./code-block-b1f8aded.js');
|
|
4
4
|
const object = require('./object-b53e9416.js');
|
|
5
|
-
const darkModeStyleController = require('./dark-mode-style-controller-
|
|
5
|
+
const darkModeStyleController = require('./dark-mode-style-controller-bd765afb.js');
|
|
6
6
|
require('./global-slimmer-registry-b3bce7e0.js');
|
|
7
7
|
const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtime-metrics-slimmer-9cb09fb2.js');
|
|
8
8
|
const ui = require('./ui-ae4ee13d.js');
|
|
9
|
-
const typeGuard = require('./type-guard-
|
|
9
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
10
10
|
const misc = require('./misc-3d30df91.js');
|
|
11
|
-
const contentState = require('./content-state-
|
|
11
|
+
const contentState = require('./content-state-648652b4.js');
|
|
12
12
|
|
|
13
13
|
const ThemeManagerRuntimeMetricsPayloadDefinition = [
|
|
14
14
|
{
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
4
|
+
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* The `StateBorderColorFormatter` class in TypeScript formats border color tokens based on
|
|
8
|
+
* input values and provides an array of CSS states.
|
|
9
|
+
*/
|
|
10
|
+
class StateBorderColorFormatter extends typeGuard.StateVariantFormatter {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.states = ['default', 'focus-visible', 'hover', 'active'];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* The function `formatToken` takes a BorderColorsTokenType input, checks if it is a valid border
|
|
17
|
+
* color token type, and returns the corresponding CSS border-color value or logs a warning if the
|
|
18
|
+
* input is invalid.
|
|
19
|
+
*
|
|
20
|
+
* @param {BorderColorsTokenType} input - BorderColorsTokenType
|
|
21
|
+
* @returns {string} The `formatToken` function returns a string that represents a CSS style for border color
|
|
22
|
+
* based on the input `BorderColorsTokenType`. If the input is a valid border color token type, it
|
|
23
|
+
* retrieves the corresponding value from the `BorderColorMap` and returns a CSS style string with the
|
|
24
|
+
* border color value. If the input is not a valid border color token type, it logs a warning message
|
|
25
|
+
* and returns an
|
|
26
|
+
*/
|
|
27
|
+
formatToken(input) {
|
|
28
|
+
if (typeGuard.isBorderColorTokenType(input)) {
|
|
29
|
+
const tokenValue = typeGuard.BorderColorMap[input];
|
|
30
|
+
return `border-color: ${tokenValue};`;
|
|
31
|
+
}
|
|
32
|
+
else {
|
|
33
|
+
globalSlimmerRegistry.LogUtility.warn(`The borderColor value ${input} is invalid, it must be a value of: `, typeGuard.BorderColors);
|
|
34
|
+
return '';
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The function `getStates` returns an array of `CssStatesType` objects.
|
|
39
|
+
*
|
|
40
|
+
* @returns {CssStatesType[]} An array of CssStatesType objects is being returned.
|
|
41
|
+
*/
|
|
42
|
+
getStates() {
|
|
43
|
+
return this.states;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
const StateBorderColorFormatter$1 = new StateBorderColorFormatter();
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* The `StateShadowFormatter` class in TypeScript formats a CSS `box-shadow` property based on a
|
|
50
|
+
* ShadowsTokenType input and provides an array of CssStatesType objects.
|
|
51
|
+
*/
|
|
52
|
+
class StateShadowFormatter extends typeGuard.StateVariantFormatter {
|
|
53
|
+
constructor() {
|
|
54
|
+
super(...arguments);
|
|
55
|
+
this.states = ['default', 'focus-visible', 'hover'];
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* The `formatToken` function in TypeScript takes a ShadowsTokenType input, validates it, and returns a
|
|
59
|
+
* formatted CSS box-shadow property string or logs a warning if the input is invalid.
|
|
60
|
+
*
|
|
61
|
+
* @param {ShadowsTokenType} input - ShadowsTokenType
|
|
62
|
+
* @returns {string} The `formatToken` function takes a `ShadowsTokenType` input and returns a CSS `box-shadow`
|
|
63
|
+
* property with the corresponding value from the `ShadowMap` object. If the input is not a valid
|
|
64
|
+
* `ShadowsTokenType`, it logs a warning message using `LogUtility.warn` and returns an empty string.
|
|
65
|
+
*/
|
|
66
|
+
formatToken(input) {
|
|
67
|
+
if (typeGuard.isShadowsTokenType(input)) {
|
|
68
|
+
const tokenValue = typeGuard.ShadowMap[input];
|
|
69
|
+
return `box-shadow: ${tokenValue};`;
|
|
70
|
+
}
|
|
71
|
+
else {
|
|
72
|
+
globalSlimmerRegistry.LogUtility.warn(`The shadow value ${input} is invalid, it must be a value of: `, typeGuard.Shadows);
|
|
73
|
+
return '';
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* The function `getStates` returns an array of `CssStatesType` objects.
|
|
78
|
+
*
|
|
79
|
+
* @returns {CssStatesType[]}An array of CssStatesType objects is being returned.
|
|
80
|
+
*/
|
|
81
|
+
getStates() {
|
|
82
|
+
return this.states;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
const StateShadowFormatter$1 = new StateShadowFormatter();
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* The `StateBorderFormatter` class in TypeScript formats border token values into CSS border properties
|
|
89
|
+
* and provides state information.
|
|
90
|
+
*/
|
|
91
|
+
class StateBorderFormatter extends typeGuard.StateVariantFormatter {
|
|
92
|
+
constructor() {
|
|
93
|
+
super(...arguments);
|
|
94
|
+
this.states = ['default', 'focus-visible', 'hover', 'active'];
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The `formatToken` function in TypeScript formats a border token value into a CSS border property
|
|
98
|
+
* string or logs a warning if the input is invalid.
|
|
99
|
+
*
|
|
100
|
+
* @param {BordersTokenType} input - The `formatToken` function takes a `BordersTokenType` as input
|
|
101
|
+
* and returns a formatted string representing a CSS border property based on the input token value.
|
|
102
|
+
* If the input is a valid border token type, it retrieves the corresponding CSS value from the
|
|
103
|
+
* `BorderMap` and returns it in a `border
|
|
104
|
+
* @returns {string} The `formatToken` function returns a string that represents a CSS border property based on
|
|
105
|
+
* the input `BordersTokenType`. If the input is a valid border token type, it retrieves the
|
|
106
|
+
* corresponding value from the `BorderMap` and returns a CSS `border` property string. If the input
|
|
107
|
+
* is not a valid border token type, it logs a warning message using `LogUtility.warn` and returns an
|
|
108
|
+
* empty
|
|
109
|
+
*/
|
|
110
|
+
formatToken(input) {
|
|
111
|
+
if (typeGuard.isBorderTokenType(input)) {
|
|
112
|
+
const tokenValue = typeGuard.BorderMap[input];
|
|
113
|
+
return `border: ${tokenValue};`;
|
|
114
|
+
}
|
|
115
|
+
else {
|
|
116
|
+
globalSlimmerRegistry.LogUtility.warn(`The border value ${input} is invalid, it must be a value of: `, typeGuard.Borders);
|
|
117
|
+
return '';
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
/**
|
|
121
|
+
* The function `getStates` returns an array of `CssStatesType` objects.
|
|
122
|
+
*
|
|
123
|
+
* @returns {CssStatesType[] } An array of objects of type CssStatesType, which represents the states.
|
|
124
|
+
*/
|
|
125
|
+
getStates() {
|
|
126
|
+
return this.states;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
const StateBorderFormatter$1 = new StateBorderFormatter();
|
|
130
|
+
|
|
131
|
+
exports.StateBorderColorFormatter = StateBorderColorFormatter$1;
|
|
132
|
+
exports.StateBorderFormatter = StateBorderFormatter$1;
|
|
133
|
+
exports.StateShadowFormatter = StateShadowFormatter$1;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
4
|
-
const typeGuard = require('./type-guard-
|
|
4
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
5
5
|
const changeManager = require('./change-manager-a297e4d2.js');
|
|
6
6
|
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-9110cb94.js');
|
|
7
|
-
const vegaInternalEventId = require('./vega-internal-event-id-
|
|
8
|
-
const waitForComponentDidRender = require('./wait-for-component-did-render-
|
|
7
|
+
const vegaInternalEventId = require('./vega-internal-event-id-87014e4f.js');
|
|
8
|
+
const waitForComponentDidRender = require('./wait-for-component-did-render-16863a21.js');
|
|
9
9
|
|
|
10
10
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11
11
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const stringFormatStrategy_abstract = require('./string-format-strategy.abstract-
|
|
4
|
-
const typeGuard = require('./type-guard-
|
|
3
|
+
const stringFormatStrategy_abstract = require('./string-format-strategy.abstract-9a35e3b4.js');
|
|
4
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* A class for formatting string with the given mask format
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const typeGuard = require('./type-guard-
|
|
4
|
-
const responsiveFormatFacade = require('./responsive-format-facade-
|
|
3
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
4
|
+
const responsiveFormatFacade = require('./responsive-format-facade-2cab7344.js');
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Fomatter flex styles.
|
package/dist/cjs/{sub-state-notify-slimmer-39bfcfe3.js → sub-state-notify-slimmer-b33171b0.js}
RENAMED
|
@@ -4,7 +4,7 @@ const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
|
4
4
|
const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
|
|
5
5
|
const changeManager = require('./change-manager-a297e4d2.js');
|
|
6
6
|
const observer = require('./observer-f49483e8.js');
|
|
7
|
-
const vegaInternalEventId = require('./vega-internal-event-id-
|
|
7
|
+
const vegaInternalEventId = require('./vega-internal-event-id-87014e4f.js');
|
|
8
8
|
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-9110cb94.js');
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/cjs/{sub-state-observer-slimmer-e5b50cbf.js → sub-state-observer-slimmer-b8f6f27b.js}
RENAMED
|
@@ -5,7 +5,7 @@ const observer = require('./observer-f49483e8.js');
|
|
|
5
5
|
const changeManager = require('./change-manager-a297e4d2.js');
|
|
6
6
|
const ui = require('./ui-ae4ee13d.js');
|
|
7
7
|
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-9110cb94.js');
|
|
8
|
-
const vegaInternalEventId = require('./vega-internal-event-id-
|
|
8
|
+
const vegaInternalEventId = require('./vega-internal-event-id-87014e4f.js');
|
|
9
9
|
|
|
10
10
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
11
11
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* TinyColor Polyfill - A lightweight color manipulation utility.
|
|
5
|
+
*
|
|
6
|
+
* This is a drop-in replacement for tinycolor2, implementing only the methods
|
|
7
|
+
* used in the Vega theme overriding system.
|
|
8
|
+
*
|
|
9
|
+
* @see VD-5026 - [Zero Dependencies] remove tinycolor2 dependency
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* TinyColor polyfill class for color manipulation.
|
|
13
|
+
* Implements the same interface as tinycolor2.Instance for the methods used in Vega.
|
|
14
|
+
*/
|
|
15
|
+
class TinyColorPolyfill {
|
|
16
|
+
/**
|
|
17
|
+
* Create a new TinyColorPolyfill instance.
|
|
18
|
+
*
|
|
19
|
+
* @param {string | RgbaValue} color - The color to parse.
|
|
20
|
+
*/
|
|
21
|
+
constructor(color) {
|
|
22
|
+
const rgba = TinyColorPolyfill.parseColor(color);
|
|
23
|
+
this._r = rgba.r;
|
|
24
|
+
this._g = rgba.g;
|
|
25
|
+
this._b = rgba.b;
|
|
26
|
+
this._a = rgba.a;
|
|
27
|
+
}
|
|
28
|
+
// ==================== Private Static Helper Methods ====================
|
|
29
|
+
/**
|
|
30
|
+
* Clamp a value between a minimum and maximum.
|
|
31
|
+
*
|
|
32
|
+
* @param {number} value - The value to clamp.
|
|
33
|
+
* @param {number} min - The minimum allowed value.
|
|
34
|
+
* @param {number} max - The maximum allowed value.
|
|
35
|
+
* @returns {number} The clamped value.
|
|
36
|
+
*/
|
|
37
|
+
static clamp(value, min, max) {
|
|
38
|
+
return Math.min(Math.max(value, min), max);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Parse a color string or RGBA object into an RgbaValue.
|
|
42
|
+
*
|
|
43
|
+
* Supported formats:
|
|
44
|
+
* - Hex: #RGB, #RRGGBB, #RRGGBBAA
|
|
45
|
+
* - RGB: rgb(r, g, b)
|
|
46
|
+
* - RGBA: rgba(r, g, b, a)
|
|
47
|
+
* - Object: { r, g, b, a? }
|
|
48
|
+
*
|
|
49
|
+
* @param {string | RgbaValue} color - The color to parse.
|
|
50
|
+
* @returns {RgbaValue} The parsed RGBA value.
|
|
51
|
+
*/
|
|
52
|
+
static parseColor(color) {
|
|
53
|
+
if (typeof color === 'object' && 'r' in color && 'g' in color && 'b' in color) {
|
|
54
|
+
return {
|
|
55
|
+
r: Math.round(TinyColorPolyfill.clamp(color.r, 0, 255)),
|
|
56
|
+
g: Math.round(TinyColorPolyfill.clamp(color.g, 0, 255)),
|
|
57
|
+
b: Math.round(TinyColorPolyfill.clamp(color.b, 0, 255)),
|
|
58
|
+
a: color.a !== undefined ? TinyColorPolyfill.clamp(color.a, 0, 1) : 1,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
if (typeof color !== 'string') {
|
|
62
|
+
return { r: 0, g: 0, b: 0, a: 1 };
|
|
63
|
+
}
|
|
64
|
+
const trimmed = color.trim().toLowerCase();
|
|
65
|
+
// Hex format
|
|
66
|
+
if (trimmed.startsWith('#')) {
|
|
67
|
+
return TinyColorPolyfill.parseHex(trimmed);
|
|
68
|
+
}
|
|
69
|
+
// RGB/RGBA format
|
|
70
|
+
if (trimmed.startsWith('rgb')) {
|
|
71
|
+
return TinyColorPolyfill.parseRgbString(trimmed);
|
|
72
|
+
}
|
|
73
|
+
// Fallback to black for unsupported formats
|
|
74
|
+
return { r: 0, g: 0, b: 0, a: 1 };
|
|
75
|
+
}
|
|
76
|
+
/* eslint-disable spellcheck/spell-checker */
|
|
77
|
+
/**
|
|
78
|
+
* Parse a hex color string into RGBA values.
|
|
79
|
+
*
|
|
80
|
+
* @param {string} hex - The hex color string (e.g., "#fff", "#ffffff", "#ffffffff").
|
|
81
|
+
* @returns {RgbaValue} The parsed RGBA value.
|
|
82
|
+
*/
|
|
83
|
+
static parseHex(hex) {
|
|
84
|
+
/* eslint-enable spellcheck/spell-checker */
|
|
85
|
+
// Remove the # prefix
|
|
86
|
+
let hexValue = hex.slice(1);
|
|
87
|
+
// Expand shorthand format (#RGB -> #RRGGBB)
|
|
88
|
+
if (hexValue.length === 3) {
|
|
89
|
+
hexValue = hexValue
|
|
90
|
+
.split('')
|
|
91
|
+
.map((c) => c + c)
|
|
92
|
+
.join('');
|
|
93
|
+
}
|
|
94
|
+
// Handle #RGBA shorthand
|
|
95
|
+
if (hexValue.length === 4) {
|
|
96
|
+
hexValue = hexValue
|
|
97
|
+
.split('')
|
|
98
|
+
.map((c) => c + c)
|
|
99
|
+
.join('');
|
|
100
|
+
}
|
|
101
|
+
const r = parseInt(hexValue.slice(0, 2), 16);
|
|
102
|
+
const g = parseInt(hexValue.slice(2, 4), 16);
|
|
103
|
+
const b = parseInt(hexValue.slice(4, 6), 16);
|
|
104
|
+
let a = 1;
|
|
105
|
+
// Handle #RRGGBBAA format
|
|
106
|
+
if (hexValue.length === 8) {
|
|
107
|
+
a = parseInt(hexValue.slice(6, 8), 16) / 255;
|
|
108
|
+
}
|
|
109
|
+
return {
|
|
110
|
+
r: Number.isNaN(r) ? 0 : r,
|
|
111
|
+
g: Number.isNaN(g) ? 0 : g,
|
|
112
|
+
b: Number.isNaN(b) ? 0 : b,
|
|
113
|
+
a: Number.isNaN(a) ? 1 : a,
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Parse an RGB or RGBA string into RGBA values.
|
|
118
|
+
*
|
|
119
|
+
* @param {string} rgbString - The RGB/RGBA string (e.g., "rgb(255, 128, 0)" or "rgba(255, 128, 0, 0.5)").
|
|
120
|
+
* @returns {RgbaValue} The parsed RGBA value.
|
|
121
|
+
*/
|
|
122
|
+
static parseRgbString(rgbString) {
|
|
123
|
+
// Match rgb(r, g, b) or rgba(r, g, b, a) with comma-separated integer values.
|
|
124
|
+
// Note: Does NOT support percentage values (e.g., rgb(100%, 50%, 0%)) or
|
|
125
|
+
// modern CSS space-separated syntax (e.g., rgb(255 128 0 / 0.5)).
|
|
126
|
+
const match = rgbString.match(/rgba?\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d+\.?\d*))?\s*\)/);
|
|
127
|
+
if (!match) {
|
|
128
|
+
return { r: 0, g: 0, b: 0, a: 1 };
|
|
129
|
+
}
|
|
130
|
+
return {
|
|
131
|
+
r: TinyColorPolyfill.clamp(parseInt(match[1], 10), 0, 255),
|
|
132
|
+
g: TinyColorPolyfill.clamp(parseInt(match[2], 10), 0, 255),
|
|
133
|
+
b: TinyColorPolyfill.clamp(parseInt(match[3], 10), 0, 255),
|
|
134
|
+
a: match[4] !== undefined ? TinyColorPolyfill.clamp(parseFloat(match[4]), 0, 1) : 1,
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Convert RGB to HSL.
|
|
139
|
+
*
|
|
140
|
+
* @param {number} r - Red (0-255).
|
|
141
|
+
* @param {number} g - Green (0-255).
|
|
142
|
+
* @param {number} b - Blue (0-255).
|
|
143
|
+
* @returns {HslValue} The HSL values (h: 0-360, s: 0-1, l: 0-1).
|
|
144
|
+
*/
|
|
145
|
+
static rgbToHsl(r, g, b) {
|
|
146
|
+
r /= 255;
|
|
147
|
+
g /= 255;
|
|
148
|
+
b /= 255;
|
|
149
|
+
const max = Math.max(r, g, b);
|
|
150
|
+
const min = Math.min(r, g, b);
|
|
151
|
+
const l = (max + min) / 2;
|
|
152
|
+
let h = 0;
|
|
153
|
+
let s = 0;
|
|
154
|
+
if (max !== min) {
|
|
155
|
+
const d = max - min;
|
|
156
|
+
s = l > 0.5 ? d / (2 - max - min) : d / (max + min);
|
|
157
|
+
switch (max) {
|
|
158
|
+
case r:
|
|
159
|
+
h = ((g - b) / d + (g < b ? 6 : 0)) / 6;
|
|
160
|
+
break;
|
|
161
|
+
case g:
|
|
162
|
+
h = ((b - r) / d + 2) / 6;
|
|
163
|
+
break;
|
|
164
|
+
case b:
|
|
165
|
+
h = ((r - g) / d + 4) / 6;
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
return { h: h * 360, s, l };
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
* Convert HSL to RGB.
|
|
173
|
+
*
|
|
174
|
+
* @param {number} h - Hue (0-360).
|
|
175
|
+
* @param {number} s - Saturation (0-1).
|
|
176
|
+
* @param {number} l - Lightness (0-1).
|
|
177
|
+
* @returns {RgbValue} The RGB values (0-255).
|
|
178
|
+
*/
|
|
179
|
+
static hslToRgb(h, s, l) {
|
|
180
|
+
h /= 360;
|
|
181
|
+
let r;
|
|
182
|
+
let g;
|
|
183
|
+
let b;
|
|
184
|
+
if (s === 0) {
|
|
185
|
+
r = g = b = l;
|
|
186
|
+
}
|
|
187
|
+
else {
|
|
188
|
+
/**
|
|
189
|
+
* Helper function to convert hue to RGB component.
|
|
190
|
+
*
|
|
191
|
+
* @param {number} p - First intermediate value.
|
|
192
|
+
* @param {number} q - Second intermediate value.
|
|
193
|
+
* @param {number} t - Hue offset value.
|
|
194
|
+
* @returns {number} RGB component value (0-1).
|
|
195
|
+
*/
|
|
196
|
+
const hue2rgb = (p, q, t) => {
|
|
197
|
+
if (t < 0)
|
|
198
|
+
t += 1;
|
|
199
|
+
if (t > 1)
|
|
200
|
+
t -= 1;
|
|
201
|
+
if (t < 1 / 6)
|
|
202
|
+
return p + (q - p) * 6 * t;
|
|
203
|
+
if (t < 1 / 2)
|
|
204
|
+
return q;
|
|
205
|
+
if (t < 2 / 3)
|
|
206
|
+
return p + (q - p) * (2 / 3 - t) * 6;
|
|
207
|
+
return p;
|
|
208
|
+
};
|
|
209
|
+
const q = l < 0.5 ? l * (1 + s) : l + s - l * s;
|
|
210
|
+
const p = 2 * l - q;
|
|
211
|
+
r = hue2rgb(p, q, h + 1 / 3);
|
|
212
|
+
g = hue2rgb(p, q, h);
|
|
213
|
+
b = hue2rgb(p, q, h - 1 / 3);
|
|
214
|
+
}
|
|
215
|
+
return {
|
|
216
|
+
r: Math.round(r * 255),
|
|
217
|
+
g: Math.round(g * 255),
|
|
218
|
+
b: Math.round(b * 255),
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Calculate the perceived brightness of a color using the YIQ formula.
|
|
223
|
+
* This matches tinycolor2's brightness calculation.
|
|
224
|
+
*
|
|
225
|
+
* @param {number} r - Red (0-255).
|
|
226
|
+
* @param {number} g - Green (0-255).
|
|
227
|
+
* @param {number} b - Blue (0-255).
|
|
228
|
+
* @returns {number} Brightness value (0-255).
|
|
229
|
+
*/
|
|
230
|
+
static getBrightness(r, g, b) {
|
|
231
|
+
return (r * 299 + g * 587 + b * 114) / 1000;
|
|
232
|
+
}
|
|
233
|
+
// ==================== Public Instance Methods ====================
|
|
234
|
+
/**
|
|
235
|
+
* Check if the color is dark (brightness < 128).
|
|
236
|
+
*
|
|
237
|
+
* @returns {boolean} True if the color is considered dark.
|
|
238
|
+
*/
|
|
239
|
+
isDark() {
|
|
240
|
+
return TinyColorPolyfill.getBrightness(this._r, this._g, this._b) < 128;
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* Check if the color is light (brightness >= 128).
|
|
244
|
+
*
|
|
245
|
+
* @returns {boolean} True if the color is considered light.
|
|
246
|
+
*/
|
|
247
|
+
isLight() {
|
|
248
|
+
return !this.isDark();
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Create a copy of this color.
|
|
252
|
+
*
|
|
253
|
+
* @returns {TinyColorPolyfill} A new TinyColorPolyfill instance with the same values.
|
|
254
|
+
*/
|
|
255
|
+
clone() {
|
|
256
|
+
const cloned = new TinyColorPolyfill({
|
|
257
|
+
r: this._r,
|
|
258
|
+
g: this._g,
|
|
259
|
+
b: this._b,
|
|
260
|
+
a: this._a,
|
|
261
|
+
});
|
|
262
|
+
return cloned;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Lighten the color by a given amount.
|
|
266
|
+
* Note: tinycolor2 accepts negative values to darken.
|
|
267
|
+
*
|
|
268
|
+
* @param {number} amount - The amount to lighten (0-100). Negative values darken.
|
|
269
|
+
* @returns {TinyColorPolyfill} This instance for chaining.
|
|
270
|
+
*/
|
|
271
|
+
lighten(amount = 10) {
|
|
272
|
+
const hsl = TinyColorPolyfill.rgbToHsl(this._r, this._g, this._b);
|
|
273
|
+
hsl.l = TinyColorPolyfill.clamp(hsl.l + amount / 100, 0, 1);
|
|
274
|
+
const rgb = TinyColorPolyfill.hslToRgb(hsl.h, hsl.s, hsl.l);
|
|
275
|
+
this._r = rgb.r;
|
|
276
|
+
this._g = rgb.g;
|
|
277
|
+
this._b = rgb.b;
|
|
278
|
+
return this;
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Darken the color by a given amount.
|
|
282
|
+
*
|
|
283
|
+
* @param {number} amount - The amount to darken (0-100).
|
|
284
|
+
* @returns {TinyColorPolyfill} This instance for chaining.
|
|
285
|
+
*/
|
|
286
|
+
darken(amount = 10) {
|
|
287
|
+
return this.lighten(-amount);
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* Set the alpha (opacity) of the color.
|
|
291
|
+
*
|
|
292
|
+
* @param {number} alpha - The alpha value (0-1).
|
|
293
|
+
* @returns {TinyColorPolyfill} This instance for chaining.
|
|
294
|
+
*/
|
|
295
|
+
setAlpha(alpha) {
|
|
296
|
+
this._a = TinyColorPolyfill.clamp(alpha, 0, 1);
|
|
297
|
+
return this;
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* Get the RGBA representation of the color.
|
|
301
|
+
*
|
|
302
|
+
* @returns {RgbaValue} The RGBA values.
|
|
303
|
+
*/
|
|
304
|
+
toRgb() {
|
|
305
|
+
return {
|
|
306
|
+
r: this._r,
|
|
307
|
+
g: this._g,
|
|
308
|
+
b: this._b,
|
|
309
|
+
a: this._a,
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Factory function to create a TinyColorPolyfill instance.
|
|
315
|
+
* This provides API compatibility with tinycolor2's default export.
|
|
316
|
+
*
|
|
317
|
+
* @param {string | RgbaValue} color - The color to parse.
|
|
318
|
+
* @returns {TinyColorPolyfill} A new TinyColorPolyfill instance.
|
|
319
|
+
*/
|
|
320
|
+
function tinycolor(color) {
|
|
321
|
+
return new TinyColorPolyfill(color);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
exports.TinyColorPolyfill = TinyColorPolyfill;
|
|
325
|
+
exports.tinycolor = tinycolor;
|
|
@@ -7,21 +7,21 @@ const createPublicApiRuntimeMetricsSlimmer = require('./create-public-api-runtim
|
|
|
7
7
|
const internalVegaZIndexManager = require('./internal-vega-z-index-manager-f03ddb37.js');
|
|
8
8
|
const dynamicSlimmer = require('./dynamic-slimmer-f31fdfd7.js');
|
|
9
9
|
const pageResizeObserverSlimmer = require('./page-resize-observer-slimmer-273d62ef.js');
|
|
10
|
-
const internalVegaEventManager = require('./internal-vega-event-manager-
|
|
11
|
-
const internalTranslationController = require('./internal-translation-controller-
|
|
12
|
-
const contentState = require('./content-state-
|
|
13
|
-
const codeBlock = require('./code-block-
|
|
14
|
-
const typeGuard = require('./type-guard-
|
|
10
|
+
const internalVegaEventManager = require('./internal-vega-event-manager-fef893bf.js');
|
|
11
|
+
const internalTranslationController = require('./internal-translation-controller-fb1532f4.js');
|
|
12
|
+
const contentState = require('./content-state-648652b4.js');
|
|
13
|
+
const codeBlock = require('./code-block-b1f8aded.js');
|
|
14
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
15
15
|
const dtoRendererManager = require('./dto-renderer-manager-ae5fcbba.js');
|
|
16
16
|
const baseRenderer = require('./base-renderer-0a3b62b7.js');
|
|
17
17
|
const internalIconManager = require('./internal-icon-manager-c989189a.js');
|
|
18
18
|
const vegaNonceManager = require('./vega-nonce-manager-df69d3ed.js');
|
|
19
19
|
const domNodeSubjectObserverFactory = require('./dom-node-subject-observer-factory-9110cb94.js');
|
|
20
20
|
const vegaEventId = require('./vega-event-id-c08ce3d3.js');
|
|
21
|
-
const splitCellOperation = require('./split-cell-operation-
|
|
21
|
+
const splitCellOperation = require('./split-cell-operation-bb388de6.js');
|
|
22
22
|
const remoteInvocationRegistry = require('./remote-invocation-registry-fc22fdd0.js');
|
|
23
|
-
const vegaInternalEventId = require('./vega-internal-event-id-
|
|
24
|
-
const darkModeStyleController = require('./dark-mode-style-controller-
|
|
23
|
+
const vegaInternalEventId = require('./vega-internal-event-id-87014e4f.js');
|
|
24
|
+
const darkModeStyleController = require('./dark-mode-style-controller-bd765afb.js');
|
|
25
25
|
const tryGetDocument = require('./try-get-document-c0ebd39a.js');
|
|
26
26
|
const pixel = require('./pixel-98f2a10c.js');
|
|
27
27
|
const object = require('./object-b53e9416.js');
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
4
|
-
const internalTranslationController = require('./internal-translation-controller-
|
|
4
|
+
const internalTranslationController = require('./internal-translation-controller-fb1532f4.js');
|
|
5
5
|
|
|
6
6
|
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
7
7
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const breakpoints = require('./breakpoints-ebde4837.js');
|
|
4
4
|
const ui = require('./ui-32120990.js');
|
|
5
5
|
const typography = require('./typography-4560e7f1.js');
|
|
6
|
-
const internalTranslationController = require('./internal-translation-controller-
|
|
6
|
+
const internalTranslationController = require('./internal-translation-controller-fb1532f4.js');
|
|
7
7
|
const globalSlimmerRegistry = require('./global-slimmer-registry-b3bce7e0.js');
|
|
8
8
|
|
|
9
9
|
const GridRowsRegex = new RegExp(/^([1-9]|1[0-2])(-auto)?$/);
|
|
@@ -1977,6 +1977,32 @@ const isDirectionalMarginType = (input) => {
|
|
|
1977
1977
|
Object.keys(input).every(isSpacingDirection) &&
|
|
1978
1978
|
Object.values(input).every(isMarginValueType));
|
|
1979
1979
|
};
|
|
1980
|
+
/**
|
|
1981
|
+
* Validates if the input is of type SizeType, which can be either a number or a string in the format of `${number}%`.
|
|
1982
|
+
*
|
|
1983
|
+
* @param {unknown} input - The value to check.
|
|
1984
|
+
* @returns {boolean} indicating if the input is type of {@link SizeType}
|
|
1985
|
+
*/
|
|
1986
|
+
const isSizeType = (input) => {
|
|
1987
|
+
if (typeof input === 'number')
|
|
1988
|
+
return true;
|
|
1989
|
+
if (typeof input !== 'string' || !input)
|
|
1990
|
+
return false;
|
|
1991
|
+
return !isNaN(Number(input)) || /^(\d+(?:\.\d+)?)%$/.test(input);
|
|
1992
|
+
};
|
|
1993
|
+
/**
|
|
1994
|
+
* Validates if the input is of type SizeType or an object with breakpoint keys and SizeType values.
|
|
1995
|
+
*
|
|
1996
|
+
* @param {unknown} input - The value to check.
|
|
1997
|
+
* @returns {boolean} indicating if the input is type of {@link ResponsiveType<SizeType>}
|
|
1998
|
+
*/
|
|
1999
|
+
const isResponsiveSizeType = (input) => {
|
|
2000
|
+
return (!!input &&
|
|
2001
|
+
(isSizeType(input) ||
|
|
2002
|
+
(typeof input === 'object' &&
|
|
2003
|
+
Object.keys(input).every(isBreakpointsTokenType) &&
|
|
2004
|
+
Object.values(input).every(isSizeType))));
|
|
2005
|
+
};
|
|
1980
2006
|
|
|
1981
2007
|
exports.AmexRegex = AmexRegex;
|
|
1982
2008
|
exports.BackgroundColorMap = BackgroundColorMap;
|
|
@@ -2043,6 +2069,7 @@ exports.isGridJustifyItemsType = isGridJustifyItemsType;
|
|
|
2043
2069
|
exports.isGridRowsType = isGridRowsType;
|
|
2044
2070
|
exports.isMarginValueType = isMarginValueType;
|
|
2045
2071
|
exports.isNonNullable = isNonNullable;
|
|
2072
|
+
exports.isResponsiveSizeType = isResponsiveSizeType;
|
|
2046
2073
|
exports.isResponsiveType = isResponsiveType;
|
|
2047
2074
|
exports.isSelectSourceItemType = isSelectSourceItemType;
|
|
2048
2075
|
exports.isShadowsTokenType = isShadowsTokenType;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const typeGuard = require('./type-guard-
|
|
3
|
+
const typeGuard = require('./type-guard-3ec852d7.js');
|
|
4
4
|
const number = require('./number-4816603d.js');
|
|
5
5
|
const internalFormFieldValidationRule_abstract = require('./internal-form-field-validation-rule.abstract-07cdff46.js');
|
|
6
6
|
|