@sellmate/design-system 1.4.0 → 1.6.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/{component.table-qOFez3z3.js → component.table-DIxmbGBT.js} +4 -1
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-Cw-78mnC.js → index-BGwB03Tk.js} +1 -1
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/sanitize-inline-html-BZCCwH_U.js +65 -0
- package/dist/cjs/sd-action-modal.cjs.entry.js +1 -1
- package/dist/cjs/sd-badge.cjs.entry.js +1 -1
- package/dist/cjs/sd-barcode-input.cjs.entry.js +1 -1
- package/dist/cjs/{sd-button.config-DH08UNfl.js → sd-button.config-BSHkfgdC.js} +17 -12
- package/dist/cjs/sd-button_2.cjs.entry.js +2 -2
- package/dist/cjs/sd-calendar_2.cjs.entry.js +8 -7
- package/dist/cjs/sd-callout.cjs.entry.js +152 -0
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +10 -5
- package/dist/cjs/sd-chip.cjs.entry.js +2 -2
- package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +5 -4
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +13 -10
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +2 -2
- package/dist/cjs/sd-divider.cjs.entry.js +27 -0
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +49 -23
- package/dist/cjs/sd-field_3.cjs.entry.js +9 -9
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-guide.cjs.entry.js +6 -5
- package/dist/cjs/sd-key-value-table.cjs.entry.js +3 -3
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +1 -1
- package/dist/cjs/sd-pagination_4.cjs.entry.js +31 -51
- package/dist/cjs/sd-popover.cjs.entry.js +5 -6
- package/dist/cjs/sd-popup.cjs.entry.js +7 -6
- package/dist/cjs/sd-portal.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +1 -1
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +7 -7
- package/dist/cjs/sd-select_3.cjs.entry.js +9 -9
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +26 -57
- package/dist/cjs/{sd-table.config-B7psrvV4.js → sd-table.config-BjJW74Zx.js} +7 -3
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +5 -3
- package/dist/cjs/sd-td.cjs.entry.js +2 -2
- package/dist/cjs/sd-text-link.cjs.entry.js +1 -1
- package/dist/cjs/sd-toast-container.cjs.entry.js +2 -2
- package/dist/cjs/sd-toast.cjs.entry.js +3 -3
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-VmZRYp6V.js → system-CdAyz3ej.js} +15 -1
- package/dist/cjs/{tooltipArrow-BjSFKIUq.js → tooltipArrow-COD-SNZL.js} +1 -1
- package/dist/collection/collection-manifest.json +3 -1
- package/dist/collection/components/sd-calendar/sd-calendar.css +3 -1
- package/dist/collection/components/sd-calendar/sd-calendar.js +24 -3
- package/dist/collection/components/sd-callout/sd-callout.config.js +45 -0
- package/dist/collection/components/sd-callout/sd-callout.css +87 -0
- package/dist/collection/components/sd-callout/sd-callout.js +114 -0
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +9 -4
- package/dist/collection/components/sd-chip/sd-chip.js +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +3 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +2 -2
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +1 -1
- package/dist/collection/components/sd-divider/sd-divider.config.js +4 -0
- package/dist/collection/components/sd-divider/sd-divider.css +25 -0
- package/dist/collection/components/sd-divider/sd-divider.js +47 -0
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +3 -3
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +29 -10
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +76 -16
- package/dist/collection/components/sd-field/sd-field.js +4 -4
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.js +4 -3
- package/dist/collection/components/sd-input/sd-input.js +2 -2
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +1 -1
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +8 -0
- package/dist/collection/components/sd-number-input/sd-number-input.js +75 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +3 -24
- package/dist/collection/components/sd-popup/sd-popup.config.js +3 -4
- package/dist/collection/components/sd-popup/sd-popup.js +4 -2
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +4 -4
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +2 -2
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +2 -2
- package/dist/collection/components/sd-select/sd-select.js +4 -4
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +4 -1
- package/dist/collection/components/sd-table/sd-table.css +1 -1
- package/dist/collection/components/sd-table/sd-table.js +28 -59
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +2 -2
- package/dist/collection/components/sd-table/sd-td/sd-td.js +1 -1
- package/dist/collection/components/sd-table/sd-thead/sd-thead.css +15 -5
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +6 -5
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +6 -7
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +20 -40
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +4 -2
- package/dist/collection/components/sd-textarea/sd-textarea.js +1 -1
- package/dist/collection/components/sd-toast/sd-toast.js +2 -2
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +1 -1
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/collection/utils/html/sanitize-inline-html.js +61 -0
- package/dist/collection/utils/modal.js +2 -2
- package/dist/components/index.js +1 -1
- package/dist/components/{p-DlREBZ-C.js → p-2aQ4cVXp.js} +1 -1
- package/dist/components/p-BCeq6-MU.js +1 -0
- package/dist/components/{p-wOAxmZ1V.js → p-BDJJQALT.js} +1 -1
- package/dist/components/p-BE-21GLH.js +1 -0
- package/dist/components/{p-DS7Ypvt5.js → p-BNUsawW7.js} +1 -1
- package/dist/components/{p-xX3QT-8K.js → p-BUW6I_d5.js} +1 -1
- package/dist/components/{p-FKKk7Bk8.js → p-BYRvYsiC.js} +1 -1
- package/dist/components/{p-Z5Vk33zf.js → p-BYU3wOaN.js} +1 -1
- package/dist/components/{p-BRk9YZBe.js → p-BZRMoE3E.js} +1 -1
- package/dist/components/{p-BjpbUGud.js → p-B_2U9h3P.js} +1 -1
- package/dist/{design-system/p-C29HUShl.js → components/p-BasCjDiE.js} +1 -1
- package/dist/components/p-BqYASycS.js +1 -0
- package/dist/components/{p-VuxN5d2D.js → p-CAP-9lnL.js} +1 -1
- package/dist/components/{p-CLxVZFEG.js → p-CARYLqH9.js} +1 -1
- package/dist/components/{p-BZabVWBD.js → p-CJRGLvgC.js} +1 -1
- package/dist/components/p-CK6jFkqR.js +1 -0
- package/dist/components/p-CRq8zgt_.js +1 -0
- package/dist/components/{p-BFC3Etk2.js → p-CSbyXQa9.js} +1 -1
- package/dist/components/p-CvfW21oo.js +1 -0
- package/dist/components/{p-CIUE4qr7.js → p-CwQTEZWO.js} +1 -1
- package/dist/components/{p-INdVvadB.js → p-Cye8r1MG.js} +1 -1
- package/dist/components/{p-JlZdKw4C.js → p-D4mjSR0u.js} +1 -1
- package/dist/components/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
- package/dist/components/p-DGyTYauz.js +1 -0
- package/dist/components/{p-C3fqSH7A.js → p-DP0Dp12H.js} +1 -1
- package/dist/components/{p-BSfu4DO2.js → p-DQj-S8AC.js} +1 -1
- package/dist/components/{p-BwPmM1Pm.js → p-DSIM5Mkt.js} +1 -1
- package/dist/components/{p-t161LJqb.js → p-DZ_3ZYMC.js} +1 -1
- package/dist/components/{p-D7nYP2a4.js → p-DfKa36bs.js} +1 -1
- package/dist/components/p-DoREs-rv.js +1 -0
- package/dist/components/p-DopVneZA.js +1 -0
- package/dist/components/{p-CpgTSxf0.js → p-Dwko_Bx3.js} +1 -1
- package/dist/components/{p-Da5i_Sa6.js → p-EcuI_UmK.js} +1 -1
- package/dist/components/p-_zllPZMm.js +1 -0
- package/dist/components/p-j2khhcHY.js +1 -0
- package/dist/components/{p-BeBiPTbd.js → p-lOVBaLB7.js} +1 -1
- package/dist/components/{p-kSfaCwf1.js → p-pTx5xpqU.js} +1 -1
- package/dist/components/p-pwNG5WaX.js +1 -0
- package/dist/components/{p-Cx_d5vsS.js → p-sRzhIrJR.js} +1 -1
- package/dist/components/{p-BRxXhFqt.js → p-uVZjhyvS.js} +1 -1
- package/dist/components/{p-X-8I-A3g.js → p-z564gmGG.js} +1 -1
- package/dist/components/sd-action-modal.js +1 -1
- package/dist/components/sd-badge.js +1 -1
- package/dist/components/sd-barcode-input.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-callout.d.ts +11 -0
- package/dist/components/sd-callout.js +1 -0
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-trigger.js +1 -1
- package/dist/components/sd-date-picker.js +1 -1
- package/dist/components/sd-date-range-picker-calendar.js +1 -1
- package/dist/components/sd-date-range-picker.js +1 -1
- package/dist/components/sd-divider.d.ts +11 -0
- package/dist/components/sd-divider.js +1 -0
- package/dist/components/sd-dropdown-button.js +1 -1
- package/dist/components/sd-field.js +1 -1
- package/dist/components/sd-file-picker.js +1 -1
- package/dist/components/sd-floating-portal.js +1 -1
- package/dist/components/sd-form.js +1 -1
- package/dist/components/sd-ghost-button.js +1 -1
- package/dist/components/sd-guide.js +1 -1
- package/dist/components/sd-icon.js +1 -1
- package/dist/components/sd-input.js +1 -1
- package/dist/components/sd-key-value-table.js +1 -1
- package/dist/components/sd-linear-progress.js +1 -1
- package/dist/components/sd-loading-container.js +1 -1
- package/dist/components/sd-loading-modal.js +1 -1
- package/dist/components/sd-modal-container.js +1 -1
- package/dist/components/sd-number-input.js +1 -1
- package/dist/components/sd-pagination.js +1 -1
- package/dist/components/sd-popover.js +1 -1
- package/dist/components/sd-popup.js +1 -1
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/{p-522d1481.entry.js → p-07b0d118.entry.js} +1 -1
- package/dist/design-system/{p-d39e515d.entry.js → p-0964c79a.entry.js} +1 -1
- package/dist/design-system/{p-ae117afa.entry.js → p-1219699a.entry.js} +1 -1
- package/dist/design-system/{p-f7074386.entry.js → p-1743651a.entry.js} +1 -1
- package/dist/design-system/{p-481e6934.entry.js → p-17883b40.entry.js} +1 -1
- package/dist/design-system/p-18057222.entry.js +1 -0
- package/dist/design-system/{p-e611dcd4.entry.js → p-18d3ae55.entry.js} +1 -1
- package/dist/design-system/{p-fe3ae346.entry.js → p-1aafbc7b.entry.js} +1 -1
- package/dist/design-system/p-20a2e0d2.entry.js +1 -0
- package/dist/design-system/{p-399d416c.entry.js → p-25fad267.entry.js} +1 -1
- package/dist/design-system/p-2c0a8333.entry.js +1 -0
- package/dist/design-system/p-3a848c36.entry.js +1 -0
- package/dist/design-system/{p-3b8954d9.entry.js → p-4b43648c.entry.js} +1 -1
- package/dist/design-system/{p-32e2d71e.entry.js → p-4bd9f005.entry.js} +1 -1
- package/dist/design-system/p-4cf1c8ae.entry.js +1 -0
- package/dist/design-system/{p-9681b0ba.entry.js → p-521e5d2e.entry.js} +1 -1
- package/dist/design-system/p-54086285.entry.js +1 -0
- package/dist/design-system/{p-aeccfb2b.entry.js → p-696764b0.entry.js} +1 -1
- package/dist/design-system/p-70f47e43.entry.js +1 -0
- package/dist/design-system/{p-c7099e9e.entry.js → p-733aa107.entry.js} +1 -1
- package/dist/design-system/{p-a7ea1cf0.entry.js → p-7444d475.entry.js} +1 -1
- package/dist/design-system/{p-03badf68.entry.js → p-840f592d.entry.js} +1 -1
- package/dist/design-system/{p-dbeaeb31.entry.js → p-8d2815cf.entry.js} +1 -1
- package/dist/design-system/{p-42f7febe.entry.js → p-8fc49d2d.entry.js} +1 -1
- package/dist/design-system/{p-e8e64511.entry.js → p-95bbba4f.entry.js} +1 -1
- package/dist/design-system/p-969665c0.entry.js +1 -0
- package/dist/design-system/{p-e23dac79.entry.js → p-97b405aa.entry.js} +1 -1
- package/dist/design-system/p-C7p6g_sM.js +1 -0
- package/dist/design-system/{p-DQFHAKL_.js → p-D6GUzecR.js} +1 -1
- package/dist/design-system/p-DGyTYauz.js +1 -0
- package/dist/design-system/p-DNWwGHho.js +2 -0
- package/dist/design-system/p-DopVneZA.js +1 -0
- package/dist/design-system/p-LIf7YMBN.js +1 -0
- package/dist/design-system/{p-9b9bf9db.entry.js → p-a5930cbd.entry.js} +1 -1
- package/dist/design-system/{p-84a94775.entry.js → p-a6c9baa5.entry.js} +1 -1
- package/dist/design-system/{p-4a91875c.entry.js → p-afdca5bb.entry.js} +1 -1
- package/dist/design-system/{p-00b2c850.entry.js → p-b08ca29b.entry.js} +1 -1
- package/dist/design-system/p-c5c4a66b.entry.js +1 -0
- package/dist/design-system/p-c73cadc7.entry.js +1 -0
- package/dist/design-system/{p-679bce6c.entry.js → p-d8292621.entry.js} +1 -1
- package/dist/design-system/{p-a98f9a29.entry.js → p-deec1ef0.entry.js} +1 -1
- package/dist/design-system/{p-11b904a3.entry.js → p-e6bd8ab1.entry.js} +1 -1
- package/dist/design-system/{p-e902a3f4.entry.js → p-e9079238.entry.js} +1 -1
- package/dist/design-system/p-ea17a361.entry.js +1 -0
- package/dist/design-system/{p-a71d4947.entry.js → p-eef5f8d7.entry.js} +1 -1
- package/dist/design-system/p-f97b75d3.entry.js +1 -0
- package/dist/design-system/{p-74bf0ed9.entry.js → p-ff33d019.entry.js} +1 -1
- package/dist/design-system/p-j2khhcHY.js +1 -0
- package/dist/esm/{component.table-DQFHAKL_.js → component.table-D6GUzecR.js} +4 -1
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-0U6dRjlq.js → index-DNWwGHho.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +3 -3
- package/dist/esm/sanitize-inline-html-DopVneZA.js +63 -0
- package/dist/esm/sd-action-modal.entry.js +1 -1
- package/dist/esm/sd-badge.entry.js +1 -1
- package/dist/esm/sd-barcode-input.entry.js +1 -1
- package/dist/esm/{sd-button.config-BDjErF_K.js → sd-button.config-C7p6g_sM.js} +17 -12
- package/dist/esm/sd-button_2.entry.js +2 -2
- package/dist/esm/sd-calendar_2.entry.js +8 -7
- package/dist/esm/sd-callout.entry.js +150 -0
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +10 -5
- package/dist/esm/sd-chip.entry.js +2 -2
- package/dist/esm/sd-circle-progress.entry.js +3 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +5 -4
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +13 -10
- package/dist/esm/sd-date-range-picker-calendar.entry.js +2 -2
- package/dist/esm/sd-divider.entry.js +25 -0
- package/dist/esm/sd-dropdown-button.entry.js +49 -23
- package/dist/esm/sd-field_3.entry.js +9 -9
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +1 -1
- package/dist/esm/sd-guide.entry.js +6 -5
- package/dist/esm/sd-key-value-table.entry.js +3 -3
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +1 -1
- package/dist/esm/sd-pagination_4.entry.js +31 -51
- package/dist/esm/sd-popover.entry.js +5 -6
- package/dist/esm/sd-popup.entry.js +7 -6
- package/dist/esm/sd-portal.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +1 -1
- package/dist/esm/sd-select-list-item_2.entry.js +7 -7
- package/dist/esm/sd-select_3.entry.js +9 -9
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-DU7Pc6YH.js → sd-table.config-D9meRqTx.js} +7 -4
- package/dist/esm/sd-table.entry.js +26 -57
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +5 -3
- package/dist/esm/sd-td.entry.js +2 -2
- package/dist/esm/sd-text-link.entry.js +1 -1
- package/dist/esm/sd-toast-container.entry.js +2 -2
- package/dist/esm/sd-toast.entry.js +3 -3
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-GBlVDmy4.js → system-j2khhcHY.js} +15 -1
- package/dist/esm/{tooltipArrow-O5LOsHae.js → tooltipArrow-Cj3AqWK0.js} +1 -1
- package/dist/types/components/sd-calendar/sd-calendar.d.ts +1 -0
- package/dist/types/components/sd-callout/sd-callout.config.d.ts +34 -0
- package/dist/types/components/sd-callout/sd-callout.d.ts +11 -0
- package/dist/types/components/sd-divider/sd-divider.config.d.ts +3 -0
- package/dist/types/components/sd-divider/sd-divider.d.ts +5 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +5 -0
- package/dist/types/components/sd-number-input/sd-number-input.d.ts +4 -0
- package/dist/types/components/sd-popover/sd-popover.d.ts +0 -1
- package/dist/types/components/sd-table/sd-table.config.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.d.ts +1 -6
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +1 -5
- package/dist/types/components.d.ts +123 -21
- package/dist/types/utils/html/sanitize-inline-html.d.ts +1 -0
- package/hydrate/index.js +477 -212
- package/hydrate/index.mjs +477 -212
- package/package.json +1 -1
- package/dist/components/p-BDVrZ5mV.js +0 -1
- package/dist/components/p-BjkROjjt.js +0 -1
- package/dist/components/p-Bs1Z5QtN.js +0 -1
- package/dist/components/p-CETxX4-M.js +0 -1
- package/dist/components/p-CyObYB-g.js +0 -1
- package/dist/components/p-DdLntfiw.js +0 -1
- package/dist/components/p-DhTcn6jX.js +0 -1
- package/dist/components/p-DiP0LJGq.js +0 -1
- package/dist/components/p-DwgaMhOM.js +0 -1
- package/dist/components/p-DykVq5VY.js +0 -1
- package/dist/components/p-GBlVDmy4.js +0 -1
- package/dist/components/p-oyZgWRnC.js +0 -1
- package/dist/design-system/p-0U6dRjlq.js +0 -2
- package/dist/design-system/p-29fd86d8.entry.js +0 -1
- package/dist/design-system/p-36d744fb.entry.js +0 -1
- package/dist/design-system/p-8f4ccae4.entry.js +0 -1
- package/dist/design-system/p-92f368a2.entry.js +0 -1
- package/dist/design-system/p-9f7f1b8b.entry.js +0 -1
- package/dist/design-system/p-BDjErF_K.js +0 -1
- package/dist/design-system/p-DykVq5VY.js +0 -1
- package/dist/design-system/p-GBlVDmy4.js +0 -1
- package/dist/design-system/p-a640e509.entry.js +0 -1
- package/dist/design-system/p-a97033a2.entry.js +0 -1
- package/dist/design-system/p-cc97f4b4.entry.js +0 -1
- package/dist/design-system/p-d890a680.entry.js +0 -1
- package/dist/design-system/p-fc5c4f85.entry.js +0 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
sd-callout {
|
|
3
|
+
display: block;
|
|
4
|
+
width: fit-content;
|
|
5
|
+
}
|
|
6
|
+
sd-callout .sd-callout {
|
|
7
|
+
display: inline-flex;
|
|
8
|
+
align-items: stretch;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
border: var(--sd-callout-border-width) solid var(--sd-callout-border);
|
|
11
|
+
border-radius: var(--sd-callout-radius);
|
|
12
|
+
background-color: var(--sd-callout-bg);
|
|
13
|
+
color: var(--sd-callout-content);
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
}
|
|
16
|
+
sd-callout .sd-callout__title {
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-flow: column nowrap;
|
|
19
|
+
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
gap: var(--sd-callout-title-gap);
|
|
22
|
+
padding: 8px var(--sd-callout-title-padding-x);
|
|
23
|
+
background-color: var(--sd-callout-title-bg);
|
|
24
|
+
color: var(--sd-callout-title-color);
|
|
25
|
+
font-family: var(--sd-callout-title-font-family);
|
|
26
|
+
font-size: var(--sd-callout-title-font-size);
|
|
27
|
+
font-weight: var(--sd-callout-title-font-weight);
|
|
28
|
+
line-height: var(--sd-callout-title-line-height);
|
|
29
|
+
flex-shrink: 0;
|
|
30
|
+
}
|
|
31
|
+
sd-callout .sd-callout__title-text {
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
}
|
|
34
|
+
sd-callout .sd-callout__body {
|
|
35
|
+
flex: 1;
|
|
36
|
+
min-width: 0;
|
|
37
|
+
display: flex;
|
|
38
|
+
flex-direction: column;
|
|
39
|
+
justify-content: center;
|
|
40
|
+
gap: var(--sd-callout-body-gap);
|
|
41
|
+
padding: var(--sd-callout-body-padding-y) var(--sd-callout-body-padding-x);
|
|
42
|
+
font-family: var(--sd-callout-body-font-family);
|
|
43
|
+
font-size: var(--sd-callout-body-font-size);
|
|
44
|
+
font-weight: var(--sd-callout-body-font-weight);
|
|
45
|
+
line-height: var(--sd-callout-body-line-height);
|
|
46
|
+
}
|
|
47
|
+
sd-callout .sd-callout__list {
|
|
48
|
+
margin: 0;
|
|
49
|
+
padding: 0;
|
|
50
|
+
list-style: none;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
justify-content: center;
|
|
54
|
+
gap: var(--sd-callout-body-gap);
|
|
55
|
+
}
|
|
56
|
+
sd-callout .sd-callout__list__item {
|
|
57
|
+
display: flex;
|
|
58
|
+
align-items: flex-start;
|
|
59
|
+
color: var(--sd-callout-content);
|
|
60
|
+
}
|
|
61
|
+
sd-callout .sd-callout__list__item p {
|
|
62
|
+
margin: 0;
|
|
63
|
+
padding: 0;
|
|
64
|
+
flex: 1;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
word-break: break-word;
|
|
67
|
+
}
|
|
68
|
+
sd-callout .sd-callout__list__item::before {
|
|
69
|
+
display: block;
|
|
70
|
+
flex-shrink: 0;
|
|
71
|
+
text-align: center;
|
|
72
|
+
color: var(--sd-callout-content);
|
|
73
|
+
font-size: var(--sd-callout-body-font-size);
|
|
74
|
+
font-weight: var(--sd-callout-body-font-weight);
|
|
75
|
+
line-height: var(--sd-callout-body-line-height);
|
|
76
|
+
}
|
|
77
|
+
sd-callout .sd-callout__list__item--depth-1::before {
|
|
78
|
+
content: "-";
|
|
79
|
+
width: 24px;
|
|
80
|
+
}
|
|
81
|
+
sd-callout .sd-callout__list__item--depth-2 {
|
|
82
|
+
padding-left: 32px;
|
|
83
|
+
}
|
|
84
|
+
sd-callout .sd-callout__list__item--depth-2::before {
|
|
85
|
+
content: "•";
|
|
86
|
+
width: 24px;
|
|
87
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { CALLOUT_LAYOUT, CALLOUT_TYPE_CONFIG, CALLOUT_TYPOGRAPHY, DANGER_TITLE_LABEL, TYPE_ICON, } from "./sd-callout.config";
|
|
3
|
+
import { sanitizeInlineHtml } from "../../utils/html/sanitize-inline-html";
|
|
4
|
+
export class SdCallout {
|
|
5
|
+
type = 'default';
|
|
6
|
+
message = [];
|
|
7
|
+
get calloutStyle() {
|
|
8
|
+
const typeConfig = CALLOUT_TYPE_CONFIG[this.type] ?? CALLOUT_TYPE_CONFIG.default;
|
|
9
|
+
return {
|
|
10
|
+
'--sd-callout-bg': typeConfig.bg,
|
|
11
|
+
'--sd-callout-border': typeConfig.border,
|
|
12
|
+
'--sd-callout-border-width': CALLOUT_LAYOUT.borderWidth,
|
|
13
|
+
'--sd-callout-content': typeConfig.content,
|
|
14
|
+
'--sd-callout-radius': CALLOUT_LAYOUT.radius,
|
|
15
|
+
'--sd-callout-body-padding-x': CALLOUT_LAYOUT.bodyPaddingX,
|
|
16
|
+
'--sd-callout-body-padding-y': CALLOUT_LAYOUT.bodyPaddingY,
|
|
17
|
+
'--sd-callout-body-gap': CALLOUT_LAYOUT.bodyGap,
|
|
18
|
+
'--sd-callout-body-font-family': CALLOUT_TYPOGRAPHY.body.fontFamily,
|
|
19
|
+
'--sd-callout-body-font-size': CALLOUT_TYPOGRAPHY.body.fontSize,
|
|
20
|
+
'--sd-callout-body-font-weight': CALLOUT_TYPOGRAPHY.body.fontWeight,
|
|
21
|
+
'--sd-callout-body-line-height': CALLOUT_TYPOGRAPHY.body.lineHeight,
|
|
22
|
+
'--sd-callout-title-bg': typeConfig.titleBg ?? 'transparent',
|
|
23
|
+
'--sd-callout-title-color': typeConfig.titleColor ?? 'inherit',
|
|
24
|
+
'--sd-callout-title-padding-x': CALLOUT_LAYOUT.titlePaddingX,
|
|
25
|
+
'--sd-callout-title-gap': CALLOUT_LAYOUT.titleGap,
|
|
26
|
+
'--sd-callout-title-font-family': CALLOUT_TYPOGRAPHY.title.fontFamily,
|
|
27
|
+
'--sd-callout-title-font-size': CALLOUT_TYPOGRAPHY.title.fontSize,
|
|
28
|
+
'--sd-callout-title-font-weight': CALLOUT_TYPOGRAPHY.title.fontWeight,
|
|
29
|
+
'--sd-callout-title-line-height': CALLOUT_TYPOGRAPHY.title.lineHeight,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
renderListItem(msg, depth = 0) {
|
|
33
|
+
if (Array.isArray(msg)) {
|
|
34
|
+
return msg.flatMap(m => this.renderListItem(m, depth + 1));
|
|
35
|
+
}
|
|
36
|
+
return [this.renderLi(msg, depth)];
|
|
37
|
+
}
|
|
38
|
+
renderLi = (msg, depth) => {
|
|
39
|
+
const safeDepth = Math.min(Math.max(depth, 1), 2);
|
|
40
|
+
return (h("li", { class: `sd-callout__list__item sd-callout__list__item--depth-${safeDepth}` }, h("p", { innerHTML: sanitizeInlineHtml(msg) })));
|
|
41
|
+
};
|
|
42
|
+
renderBody() {
|
|
43
|
+
return h("ul", { class: "sd-callout__list" }, this.renderListItem(this.message));
|
|
44
|
+
}
|
|
45
|
+
renderTitle() {
|
|
46
|
+
const iconName = TYPE_ICON[this.type];
|
|
47
|
+
const titleColor = CALLOUT_TYPE_CONFIG[this.type].titleColor;
|
|
48
|
+
return (h("div", { class: "sd-callout__title" }, iconName && (h("sd-icon", { name: iconName, size: CALLOUT_LAYOUT.titleIconSize, color: titleColor })), h("span", { class: "sd-callout__title-text" }, DANGER_TITLE_LABEL)));
|
|
49
|
+
}
|
|
50
|
+
render() {
|
|
51
|
+
const showTitle = this.type === 'danger';
|
|
52
|
+
return (h("div", { key: 'ce91120e7c71907e6c07728554e340ad552d6e34', class: "sd-callout", style: this.calloutStyle, role: "note" }, showTitle && this.renderTitle(), h("div", { key: '56b55c2fed40e59023856029b8c86c35b29d26e5', class: "sd-callout__body" }, this.renderBody())));
|
|
53
|
+
}
|
|
54
|
+
static get is() { return "sd-callout"; }
|
|
55
|
+
static get originalStyleUrls() {
|
|
56
|
+
return {
|
|
57
|
+
"$": ["sd-callout.scss"]
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
static get styleUrls() {
|
|
61
|
+
return {
|
|
62
|
+
"$": ["sd-callout.css"]
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
static get properties() {
|
|
66
|
+
return {
|
|
67
|
+
"type": {
|
|
68
|
+
"type": "string",
|
|
69
|
+
"mutable": false,
|
|
70
|
+
"complexType": {
|
|
71
|
+
"original": "CalloutType",
|
|
72
|
+
"resolved": "\"danger\" | \"default\"",
|
|
73
|
+
"references": {
|
|
74
|
+
"CalloutType": {
|
|
75
|
+
"location": "import",
|
|
76
|
+
"path": "./sd-callout.config",
|
|
77
|
+
"id": "src/components/sd-callout/sd-callout.config.ts::CalloutType",
|
|
78
|
+
"referenceLocation": "CalloutType"
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"required": false,
|
|
83
|
+
"optional": false,
|
|
84
|
+
"docs": {
|
|
85
|
+
"tags": [],
|
|
86
|
+
"text": ""
|
|
87
|
+
},
|
|
88
|
+
"getter": false,
|
|
89
|
+
"setter": false,
|
|
90
|
+
"reflect": true,
|
|
91
|
+
"attribute": "type",
|
|
92
|
+
"defaultValue": "'default'"
|
|
93
|
+
},
|
|
94
|
+
"message": {
|
|
95
|
+
"type": "unknown",
|
|
96
|
+
"mutable": false,
|
|
97
|
+
"complexType": {
|
|
98
|
+
"original": "(string | string[])[]",
|
|
99
|
+
"resolved": "(string | string[])[]",
|
|
100
|
+
"references": {}
|
|
101
|
+
},
|
|
102
|
+
"required": false,
|
|
103
|
+
"optional": false,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": ""
|
|
107
|
+
},
|
|
108
|
+
"getter": false,
|
|
109
|
+
"setter": false,
|
|
110
|
+
"defaultValue": "[]"
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
}
|
|
@@ -3,7 +3,7 @@ export class SdCard {
|
|
|
3
3
|
bordered = false;
|
|
4
4
|
sdClass = '';
|
|
5
5
|
render() {
|
|
6
|
-
return (h(Fragment, { key: '
|
|
6
|
+
return (h(Fragment, { key: '2700ffa3af5b6b35882c396a838d9da2e866ee4b' }, h("div", { key: '3d3aeaac318fc089c42ae4348bc72015d4476276', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, h("slot", { key: 'e72f00bc8c209644baf5f431ce485fb5b691f354' }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "sd-card"; }
|
|
9
9
|
static get originalStyleUrls() {
|
|
@@ -67,7 +67,12 @@ export class SdCheckbox {
|
|
|
67
67
|
this.hasWarnedMissingVal = true;
|
|
68
68
|
}
|
|
69
69
|
const valueSet = new Set(this.value);
|
|
70
|
-
valueSet.has(this.val)
|
|
70
|
+
if (valueSet.has(this.val)) {
|
|
71
|
+
valueSet.delete(this.val);
|
|
72
|
+
}
|
|
73
|
+
else {
|
|
74
|
+
valueSet.add(this.val);
|
|
75
|
+
}
|
|
71
76
|
newValue = Array.from(valueSet);
|
|
72
77
|
}
|
|
73
78
|
else if (this.value === null) {
|
|
@@ -100,13 +105,13 @@ export class SdCheckbox {
|
|
|
100
105
|
'--sd-checkbox-inverse-icon': CHECKBOX_COLORS.checked.iconInverse,
|
|
101
106
|
'--sd-checkbox-inverse-label': CHECKBOX_COLORS.labelInverse,
|
|
102
107
|
};
|
|
103
|
-
return (h("label", { key: '
|
|
108
|
+
return (h("label", { key: '1e1ba8ab22e34327cfdfb8d236aba0e1ff2806f6', class: this.checkboxClasses, style: cssVars }, h("input", { key: '82b852e0fb3ca94c460b7181ae1c575b361ddd4d', type: "checkbox", ref: el => {
|
|
104
109
|
this.inputEl = el;
|
|
105
|
-
}, value: this.val, checked: !!this.isChecked, disabled: this.disabled, onChange: this.handleChange, name: this.val?.toString() || 'checkbox', "aria-label": this.label || 'checkbox', "aria-checked": this.isChecked === null ? 'mixed' : this.isChecked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }), h("div", { key: '
|
|
110
|
+
}, value: this.val, checked: !!this.isChecked, disabled: this.disabled, onChange: this.handleChange, name: this.val?.toString() || 'checkbox', "aria-label": this.label || 'checkbox', "aria-checked": this.isChecked === null ? 'mixed' : this.isChecked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false' }), h("div", { key: 'e7a32ccbb915c857d188fecde0b388e15edebdfb', class: "sd-checkbox__bg" }, this.isChecked !== false ? (h("sd-icon", { name: this.isChecked === true ? 'checkboxCheck' : 'checkboxIndeterminate', size: Number(CHECKBOX_LAYOUT.iconSize), color: this.disabled
|
|
106
111
|
? CHECKBOX_COLORS.checked.iconDisabled
|
|
107
112
|
: this.inverse
|
|
108
113
|
? CHECKBOX_COLORS.checked.iconInverse
|
|
109
|
-
: CHECKBOX_COLORS.checked.icon })) : null), this.label && h("span", { key: '
|
|
114
|
+
: CHECKBOX_COLORS.checked.icon })) : null), this.label && h("span", { key: '396b7aa27a10428e5d9d24a3f523c3a384d4e463', class: "sd-checkbox__label" }, this.label)));
|
|
110
115
|
}
|
|
111
116
|
static get is() { return "sd-checkbox"; }
|
|
112
117
|
static get originalStyleUrls() {
|
|
@@ -205,7 +205,7 @@ export class SdChip {
|
|
|
205
205
|
'--sd-chip-font-weight': typography.fontWeight,
|
|
206
206
|
'--sd-chip-line-height': typography.lineHeight,
|
|
207
207
|
};
|
|
208
|
-
return (h("span", { key: '
|
|
208
|
+
return (h("span", { key: '0addb8566b639d05921b9320b99abab7f1d67899', class: {
|
|
209
209
|
'sd-chip': true,
|
|
210
210
|
[`sd-chip--${state}`]: true,
|
|
211
211
|
'sd-chip--disabled': this.disabled,
|
|
@@ -27,7 +27,7 @@ export class SdCircleProgress {
|
|
|
27
27
|
}
|
|
28
28
|
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
29
29
|
const showPercent = !this.indeterminate;
|
|
30
|
-
return (h(Host, { key: '
|
|
30
|
+
return (h(Host, { key: 'f92bf4d6e4f1133c4465a4fec7b2bad4549a6d06', style: hostStyle }, h("svg", { key: '669fa503cc6007f48f35474b08e4359de695026d', class: "sd-circle-progress", viewBox: `0 0 ${CIRCLE_PROGRESS_VIEWBOX_SIZE} ${CIRCLE_PROGRESS_VIEWBOX_SIZE}`, xmlns: "http://www.w3.org/2000/svg" }, h("circle", { key: '020c7d840a6592d7705b65b14d27e3b5752629bf', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: 'e409da4a5c34adcd8744f16040ae9d5d6019a415', class: "sd-circle-progress__arc", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH, "stroke-linecap": "round", style: arcStyle })), showPercent && (h("span", { key: '91c0b91e69293b67c8a0ad67a6d4b9e9db5c6d4a', class: "sd-circle-progress__percent" }, Math.round(this.clampedValue), "%")), this.label && h("span", { key: '03a5bee22a2e2f1b4ba75dbeca2ef5b4b9840aeb', class: "sd-circle-progress__label" }, this.label)));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "sd-circle-progress"; }
|
|
33
33
|
static get originalStyleUrls() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
+
import { sanitizeInlineHtml } from "../../utils/html/sanitize-inline-html";
|
|
2
3
|
import { CONFIRM_MODAL_DEFAULT_BUTTON, CONFIRM_MODAL_ICON_COLOR, CONFIRM_MODAL_ICON_MAP, SUB_BUTTON_PRESET, TITLE_ICON_SIZE, } from "./sd-confirm-modal.config";
|
|
3
4
|
export class SdConfirmModal {
|
|
4
5
|
el;
|
|
@@ -72,9 +73,9 @@ export class SdConfirmModal {
|
|
|
72
73
|
const type = this.resolvedType;
|
|
73
74
|
const iconName = CONFIRM_MODAL_ICON_MAP[type];
|
|
74
75
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[type];
|
|
75
|
-
return (h("div", { key: '
|
|
76
|
+
return (h("div", { key: 'f9a1d63c1cd047969c72d0e71ccd3b1cf30bac15', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: '8f1e4ec22a12ad9347c8c8c843f6dbb91591b289', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: '8adada47e2dc0a6677cdf004ca8cad8794123d03', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: 'ddc0636d2cd8333aa0d5a3f242dbf2d57759fc5b', class: `sd-confirm-modal__title ${this.titleClass ?? ''}` }, this.modalTitle), h("div", { key: '66d4c779f4269824937306ca34a0b51e6208d03f', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: '87634b26cba0fb24115f0cd59fcc7956f9fde53c', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) }))))), this.showContentBox && (h("div", { key: '0b495d1393cf029e8b07f9041c51e344ff7cb5da', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
76
77
|
this.customContentRef = el;
|
|
77
|
-
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel }), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '
|
|
78
|
+
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && (h("sd-tag", { name: this.tagPreset ?? 'square_sm_grey', label: this.tagLabel })), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '09d34f47a466e4277f1bb2215a3b087bc78e240d', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: sanitizeInlineHtml(msg) })))))), h("div", { key: '2a62193311791f84b6eca22a49cff8a0fc65d5a7', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button", { key: '4c800376dec7ca035b2aaaaac00738851829108d', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button", { key: 'dcb473b7b6ce29983d89df6c288526071962ac01', name: this.resolvedMainButton, label: this.mainButtonLabel ?? '확인', onSdClick: () => this.ok.emit() }))));
|
|
78
79
|
}
|
|
79
80
|
static get is() { return "sd-confirm-modal"; }
|
|
80
81
|
static get originalStyleUrls() {
|
package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js
CHANGED
|
@@ -33,7 +33,7 @@ export class SdDatePickerTrigger {
|
|
|
33
33
|
? DATEPICKER_COLORS.icon.disabled
|
|
34
34
|
: DATEPICKER_COLORS.icon.default,
|
|
35
35
|
};
|
|
36
|
-
return (h("div", { key: '
|
|
36
|
+
return (h("div", { key: 'df53dd75ead71167d7089daab5718c7ff1c990ae', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
37
37
|
'sd-date-picker-trigger': true,
|
|
38
38
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
39
39
|
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
@@ -41,7 +41,7 @@ export class SdDatePickerTrigger {
|
|
|
41
41
|
e.preventDefault();
|
|
42
42
|
this.handleClick();
|
|
43
43
|
}
|
|
44
|
-
} }, h("sd-icon", { key: '
|
|
44
|
+
} }, h("sd-icon", { key: '76f41c99e1695eaa191cbc81ae057e65cb78e955', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), h("span", { key: '4e1a4b2b41737f05dc1a4e642d317f5fc93bf9b2', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "sd-date-picker-trigger"; }
|
|
47
47
|
static get originalStyleUrls() {
|
|
@@ -93,9 +93,9 @@ export class SdDatePicker {
|
|
|
93
93
|
'--sd-system-color-field-border-focus': DATEPICKER_COLORS.border.focus,
|
|
94
94
|
'--sd-system-color-field-bg-default': DATEPICKER_COLORS.bg.default,
|
|
95
95
|
};
|
|
96
|
-
return (h("sd-field", { key: '
|
|
96
|
+
return (h("sd-field", { key: '35d821e9a21a09e4b2dc0d47f9a95d895c4f9dc4', name: this.name, label: this.label, labelWidth: this.labelWidth, addonLabel: this.addonLabel, addonAlign: this.addonAlign, hint: this.hint, errorMessage: this.errorMessage, width: this.width, rules: this.rules, error: this.error, disabled: this.disabled, focused: this.focused, hovered: this.hovered, size: this.size, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, h("div", { key: '21fe3c0ab5dff10265139111de741216fb06e4e4', class: "sd-date-picker", ref: el => {
|
|
97
97
|
this.triggerRef = el;
|
|
98
|
-
} }, h("sd-date-picker-trigger", { key: '
|
|
98
|
+
} }, h("sd-date-picker-trigger", { key: 'b9fd9b90afa512aefdd4b227c66d0b4660b69318', displayText: this.value ?? '', placeholder: this.placeholder, disabled: this.disabled, size: this.size, onSdTriggerClick: this.handleTriggerClick })), (this.isOpen || this.isAnimatingOut) && (h("sd-portal", { key: 'b6e439d2b507922cc2e345fe1fba856d77441cbc', open: this.isOpen, parentRef: this.triggerRef, onSdClose: () => this.closeDropdown() }, h("sd-calendar", { key: 'ae09060fec5542b9e30d051133f4bca3c772f5d9', elevated: true, value: this.value, selectable: this.selectable, onSdUpdate: this.handleSelect, onSdViewChange: this.handleViewChange })))));
|
|
99
99
|
}
|
|
100
100
|
static get is() { return "sd-date-picker"; }
|
|
101
101
|
static get originalStyleUrls() {
|
|
@@ -239,7 +239,7 @@ export class SdDateRangePickerCalendar {
|
|
|
239
239
|
'--range-panel-gap': `${RANGE_LAYOUT.panelGap}px`,
|
|
240
240
|
'--range-divider': RANGE_LAYOUT.divider,
|
|
241
241
|
};
|
|
242
|
-
return (h(Fragment, { key: '
|
|
242
|
+
return (h(Fragment, { key: 'b4082936889d6bed77917d9b06aafa3c80d413a7' }, h("div", { key: 'baf10fa376bf32982816258f950edf65d5622a99', class: "sd-date-range-picker-calendar", style: cssVars }, this.renderYearNav(), h("div", { key: 'bacc88f756b64f4382b1c8c648269bb2c233dc54', class: "sd-date-range-picker-calendar__panels" }, this.renderPanel(this.currentYear, this.currentMonth, true), h("span", { key: 'dcebf3cd120e2e606784c365c309d4c48296a5ae', class: "sd-date-range-picker-calendar__divider", "aria-hidden": "true" }), this.renderPanel(this.rightYear, this.rightMonth, false)))));
|
|
243
243
|
}
|
|
244
244
|
static get is() { return "sd-date-range-picker-calendar"; }
|
|
245
245
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
sd-divider {
|
|
2
|
+
flex-shrink: 0;
|
|
3
|
+
line-height: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
:where(sd-divider:not([vertical])) {
|
|
7
|
+
display: block;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 1px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where(sd-divider[vertical]) {
|
|
13
|
+
display: inline-block;
|
|
14
|
+
align-self: stretch;
|
|
15
|
+
width: 1px;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
sd-divider hr {
|
|
19
|
+
display: block;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
margin: 0;
|
|
23
|
+
border: 0;
|
|
24
|
+
background-color: var(--sd-divider-color);
|
|
25
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { DIVIDER_COLORS } from "./sd-divider.config";
|
|
3
|
+
export class SdDivider {
|
|
4
|
+
/** true면 수직 분할선, false면 수평 분할선 */
|
|
5
|
+
vertical = false;
|
|
6
|
+
render() {
|
|
7
|
+
const hostStyle = {
|
|
8
|
+
'--sd-divider-color': DIVIDER_COLORS.default,
|
|
9
|
+
};
|
|
10
|
+
return (h(Host, { key: '92e9f5ef8d6d382e1e2a62f3421feaf1bc27aab7', style: hostStyle }, h("hr", { key: '40827e6308a258e6de4a438c53d4de9465a6d0a1', "aria-orientation": this.vertical ? 'vertical' : 'horizontal' })));
|
|
11
|
+
}
|
|
12
|
+
static get is() { return "sd-divider"; }
|
|
13
|
+
static get originalStyleUrls() {
|
|
14
|
+
return {
|
|
15
|
+
"$": ["sd-divider.scss"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
static get styleUrls() {
|
|
19
|
+
return {
|
|
20
|
+
"$": ["sd-divider.css"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
static get properties() {
|
|
24
|
+
return {
|
|
25
|
+
"vertical": {
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"mutable": false,
|
|
28
|
+
"complexType": {
|
|
29
|
+
"original": "boolean",
|
|
30
|
+
"resolved": "boolean",
|
|
31
|
+
"references": {}
|
|
32
|
+
},
|
|
33
|
+
"required": false,
|
|
34
|
+
"optional": false,
|
|
35
|
+
"docs": {
|
|
36
|
+
"tags": [],
|
|
37
|
+
"text": "true\uBA74 \uC218\uC9C1 \uBD84\uD560\uC120, false\uBA74 \uC218\uD3C9 \uBD84\uD560\uC120"
|
|
38
|
+
},
|
|
39
|
+
"getter": false,
|
|
40
|
+
"setter": false,
|
|
41
|
+
"reflect": true,
|
|
42
|
+
"attribute": "vertical",
|
|
43
|
+
"defaultValue": "false"
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -11,11 +11,11 @@ export const PRESET_HOVER_BACKGROUNDS = BUTTON_PRESET_HOVER_BACKGROUNDS;
|
|
|
11
11
|
export const PRESET_CONTENT_COLORS = BUTTON_PRESET_CONTENT_COLORS;
|
|
12
12
|
export const PRESET_BORDER_COLORS = BUTTON_PRESET_BORDER_COLORS;
|
|
13
13
|
export const PRESET_DIVIDER_COLORS = {
|
|
14
|
-
primary: buttonTokens.button.brand.strong.
|
|
15
|
-
secondary: buttonTokens.button.brand.subtle.
|
|
14
|
+
primary: buttonTokens.button.dropdown.brand.strong.split,
|
|
15
|
+
secondary: buttonTokens.button.dropdown.brand.subtle.split,
|
|
16
16
|
primary_outline: PRESET_BORDER_COLORS.primary_outline,
|
|
17
17
|
neutral_outline: PRESET_BORDER_COLORS.neutral_outline,
|
|
18
|
-
danger: buttonTokens.button.danger.strong.
|
|
18
|
+
danger: buttonTokens.button.dropdown.danger.strong.split,
|
|
19
19
|
danger_outline: PRESET_BORDER_COLORS.danger_outline,
|
|
20
20
|
};
|
|
21
21
|
const MENU_ITEM_COLOR = systemTokens.color.fg.secondary;
|
|
@@ -96,8 +96,35 @@ sd-dropdown-button {
|
|
|
96
96
|
--sd-dropdown-button-current-content: var(--sd-dropdown-button-disabled-content);
|
|
97
97
|
cursor: not-allowed;
|
|
98
98
|
}
|
|
99
|
-
|
|
100
|
-
|
|
99
|
+
|
|
100
|
+
.sd-dropdown-button:not(.sd-dropdown-button--split) .sd-dropdown-button__trigger {
|
|
101
|
+
gap: var(--sd-dropdown-button-gap);
|
|
102
|
+
padding: 0 var(--sd-dropdown-button-padding-x);
|
|
103
|
+
}
|
|
104
|
+
.sd-dropdown-button:not(.sd-dropdown-button--split) .sd-dropdown-button__trigger-label {
|
|
105
|
+
padding: 0;
|
|
106
|
+
}
|
|
107
|
+
.sd-dropdown-button:not(.sd-dropdown-button--split) .sd-dropdown-button__trigger-icon {
|
|
108
|
+
min-width: 0;
|
|
109
|
+
padding: 0;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.sd-dropdown-button--split {
|
|
113
|
+
display: inline-flex;
|
|
114
|
+
align-items: stretch;
|
|
115
|
+
}
|
|
116
|
+
.sd-dropdown-button--split .sd-dropdown-button__trigger--label-part {
|
|
117
|
+
border-top-right-radius: 0;
|
|
118
|
+
border-bottom-right-radius: 0;
|
|
119
|
+
border-right-width: 0;
|
|
120
|
+
}
|
|
121
|
+
.sd-dropdown-button--split .sd-dropdown-button__trigger--chevron-part {
|
|
122
|
+
border-top-left-radius: 0;
|
|
123
|
+
border-bottom-left-radius: 0;
|
|
124
|
+
border-left: var(--sd-button-button-border-width-default, 1px) solid var(--sd-dropdown-button-divider);
|
|
125
|
+
}
|
|
126
|
+
.sd-dropdown-button--split .sd-dropdown-button__trigger--chevron-part.sd-dropdown-button__trigger--disabled {
|
|
127
|
+
border-left-color: var(--sd-dropdown-button-disabled-border);
|
|
101
128
|
}
|
|
102
129
|
|
|
103
130
|
.sd-dropdown-button__trigger-label,
|
|
@@ -113,14 +140,6 @@ sd-dropdown-button {
|
|
|
113
140
|
padding: 0 var(--sd-dropdown-button-padding-x);
|
|
114
141
|
}
|
|
115
142
|
|
|
116
|
-
.sd-dropdown-button__trigger-divider {
|
|
117
|
-
align-self: stretch;
|
|
118
|
-
width: 1px;
|
|
119
|
-
height: auto;
|
|
120
|
-
background: var(--sd-dropdown-button-divider);
|
|
121
|
-
opacity: 0.9;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
143
|
.sd-dropdown-button__trigger-icon {
|
|
125
144
|
flex: 0 0 auto;
|
|
126
145
|
min-width: calc(var(--sd-dropdown-button-height) - 2px);
|