@sellmate/design-system 1.0.62 → 1.0.64
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.modal-DmQUWbve.js → component.modal-BFelrSMx.js} +14 -0
- package/dist/cjs/constants-DJRV1upE.js +5 -0
- package/dist/cjs/design-system.cjs.js +3 -4
- package/dist/cjs/{index-BQt-JC6r.js → index-nsQP24mV.js} +130 -9
- package/dist/cjs/index.cjs.js +103 -32
- package/dist/cjs/loader.cjs.js +3 -4
- package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
- package/dist/cjs/sd-badge.cjs.entry.js +2 -2
- package/dist/cjs/sd-barcode-input.cjs.entry.js +4 -3
- package/dist/cjs/sd-button-v2_2.cjs.entry.js +9 -8
- package/dist/cjs/sd-button_4.cjs.entry.js +62 -18
- package/dist/cjs/sd-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +30 -5
- package/dist/cjs/sd-circle-progress.cjs.entry.js +71 -0
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +186 -0
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker-calendar.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +4 -4
- package/dist/cjs/sd-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/{sd-date-picker.config-DWC_aiD2.js → sd-date-picker.config-D8xSALVj.js} +3 -3
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +3 -3
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +5 -4
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +10 -5
- package/dist/cjs/sd-file-picker.cjs.entry.js +3 -2
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button.cjs.entry.js +15 -6
- package/dist/cjs/sd-guide.cjs.entry.js +2 -2
- package/dist/cjs/sd-input_2.cjs.entry.js +8 -7
- package/dist/cjs/sd-loading-container.cjs.entry.js +29 -0
- package/dist/cjs/sd-modal-container.cjs.entry.js +45 -2
- package/dist/cjs/sd-number-input.cjs.entry.js +6 -10
- package/dist/cjs/{sd-select-v2.cjs.entry.js → sd-pagination_2.cjs.entry.js} +91 -4
- package/dist/cjs/sd-popover.cjs.entry.js +4 -4
- package/dist/cjs/sd-portal.cjs.entry.js +2 -2
- package/dist/cjs/sd-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +182 -0
- package/dist/cjs/sd-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +6 -6
- package/dist/cjs/sd-select-dropdown_2.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-group.cjs.entry.js +4 -3
- package/dist/cjs/sd-select-multiple-group.cjs.entry.js +4 -3
- package/dist/cjs/sd-select-multiple.cjs.entry.js +4 -3
- package/dist/cjs/sd-select-option-group.cjs.entry.js +4 -4
- package/dist/cjs/sd-select-v2-list-item_4.cjs.entry.js +661 -0
- package/dist/cjs/sd-select.cjs.entry.js +180 -0
- package/dist/cjs/sd-switch.cjs.entry.js +110 -0
- package/dist/cjs/sd-table.cjs.entry.js +424 -651
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- package/dist/cjs/sd-tag.cjs.entry.js +6 -5
- package/dist/cjs/sd-tbody.cjs.entry.js +66 -0
- package/dist/cjs/sd-td.cjs.entry.js +58 -0
- package/dist/cjs/sd-text-link.cjs.entry.js +10 -12
- package/dist/cjs/sd-textarea.cjs.entry.js +3 -2
- package/dist/cjs/sd-thead.cjs.entry.js +179 -0
- 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 +96 -13
- package/dist/cjs/sd-tr.cjs.entry.js +171 -0
- package/dist/cjs/table-test.cjs.entry.js +96 -0
- package/dist/cjs/{tooltipArrow-CRCpqOYA.js → tooltipArrow-DhevfDPX.js} +1 -1
- package/dist/collection/__mocks__/nanoid-non-secure.js +13 -0
- package/dist/collection/__mocks__/nanoid.js +1 -0
- package/dist/collection/collection-manifest.json +11 -4
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +1 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -1
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.css +3 -0
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +22 -1
- package/dist/collection/components/sd-button/sd-button.css +37 -37
- package/dist/collection/components/sd-button-v2/sd-button-v2.css +44 -44
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +31 -6
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.config.js +3 -0
- package/dist/collection/components/sd-checkbox/sd-checkbox.css +15 -0
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +36 -2
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.config.js +24 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +53 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +109 -0
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.css +2 -2
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +2 -2
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +1 -1
- 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.config.js +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +26 -5
- 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-date-range-picker/sd-date-range-picker.js +26 -5
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +5 -0
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.css +46 -36
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +4 -4
- package/dist/collection/components/sd-field/sd-field.config.js +21 -0
- package/dist/collection/components/sd-field/sd-field.css +26 -16
- package/dist/collection/components/sd-field/sd-field.js +72 -11
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +27 -6
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.config.js +7 -1
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +3 -3
- package/dist/collection/components/sd-guide/sd-guide.css +37 -37
- package/dist/collection/components/sd-input/sd-input.css +3 -0
- package/dist/collection/components/sd-input/sd-input.js +23 -2
- package/dist/collection/components/sd-loading-container/sd-loading-container.config.js +1 -0
- package/dist/collection/components/sd-loading-container/sd-loading-container.css +40 -0
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +83 -0
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.config.js +31 -0
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.css +37 -0
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +184 -0
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +89 -3
- package/dist/collection/components/sd-number-input/sd-number-input.config.js +0 -2
- package/dist/collection/components/sd-number-input/sd-number-input.css +0 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +24 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +2 -2
- package/dist/collection/components/sd-portal/sd-portal.js +1 -1
- package/dist/collection/components/sd-progress/sd-progress.js +2 -2
- package/dist/collection/components/sd-radio/sd-radio.config.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.config.js +45 -0
- package/dist/collection/components/sd-radio-button/sd-radio-button.css +71 -0
- package/dist/collection/components/{sd-radio-button-group/sd-radio-button-group.js → sd-radio-button/sd-radio-button.js} +49 -18
- package/dist/collection/components/sd-select/sd-select-dropdown/sd-select-dropdown.js +2 -2
- package/dist/collection/components/sd-select/sd-select-option/sd-select-option.js +1 -1
- package/dist/collection/components/sd-select/sd-select-search-input/sd-select-search-input.js +3 -3
- package/dist/collection/components/sd-select/sd-select.css +4 -0
- package/dist/collection/components/sd-select/sd-select.js +22 -1
- package/dist/collection/components/sd-select-group/sd-select-group.css +4 -0
- package/dist/collection/components/sd-select-group/sd-select-group.js +22 -1
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.css +4 -0
- package/dist/collection/components/sd-select-multiple/sd-select-multiple.js +22 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.css +4 -0
- package/dist/collection/components/sd-select-multiple-group/sd-select-multiple-group.js +22 -1
- package/dist/collection/components/sd-select-multiple-group/sd-select-option-group/sd-select-option-group.js +3 -3
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item/sd-select-v2-list-item.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.css +4 -0
- package/dist/collection/components/sd-select-v2/sd-select-v2-list-item-search/sd-select-v2-list-item-search.js +6 -3
- package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.css +2 -3
- package/dist/collection/components/sd-select-v2/sd-select-v2-listbox/sd-select-v2-listbox.js +2 -1
- package/dist/collection/components/sd-select-v2/sd-select-v2-trigger/sd-select-v2-trigger.js +2 -2
- package/dist/collection/components/sd-select-v2/sd-select-v2.config.js +1 -0
- package/dist/collection/components/sd-select-v2/sd-select-v2.js +24 -3
- package/dist/collection/components/sd-switch/sd-switch.config.js +23 -0
- package/dist/collection/components/sd-switch/sd-switch.css +54 -0
- package/dist/collection/components/{sd-toggle-button/sd-toggle-button.js → sd-switch/sd-switch.js} +30 -27
- package/dist/collection/components/sd-table/constants.js +1 -0
- package/dist/collection/components/sd-table/sd-table.css +76 -248
- package/dist/collection/components/sd-table/sd-table.js +705 -700
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.css +18 -0
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +105 -0
- package/dist/collection/components/sd-table/sd-td/sd-td.css +15 -0
- package/dist/collection/components/sd-table/sd-td/sd-td.js +121 -0
- package/dist/collection/components/sd-table/sd-thead/sd-thead.css +147 -0
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +442 -0
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +111 -0
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +376 -0
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- package/dist/collection/components/sd-tag/sd-tag.js +2 -2
- package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
- package/dist/collection/components/sd-text-link/sd-text-link.js +7 -13
- package/dist/collection/components/sd-textarea/sd-textarea.js +22 -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.config.js +33 -0
- package/dist/collection/components/sd-toggle/sd-toggle.css +38 -50
- package/dist/collection/components/sd-toggle/sd-toggle.js +29 -12
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +2 -2
- package/dist/collection/components/table-test/table-test.css +59 -0
- package/dist/collection/components/table-test/table-test.js +316 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/utils/loading.js +43 -0
- package/dist/collection/utils/modal.js +26 -0
- package/dist/components/index.js +1 -1
- package/dist/components/p-6LkBUj0w.js +1 -0
- package/dist/components/{p-DlujHEXS.js → p-6cueWz-l.js} +1 -1
- package/dist/components/{p-D0wZv01W.js → p-AKpbKrkW.js} +1 -1
- package/dist/components/p-B1S4ybd6.js +1 -0
- package/dist/components/{p-D93Cb_Vw.js → p-B6OgnOKC.js} +1 -1
- package/dist/components/{p-lKwhftf9.js → p-B6RvTdqt.js} +1 -1
- package/dist/components/p-BLC3AWW8.js +1 -0
- package/dist/components/{p-BUAwjF_Z.js → p-BZ7V5xV5.js} +1 -1
- package/dist/components/{p-BWgJ9XTj.js → p-BdsI1E5l.js} +1 -1
- package/dist/components/{p-DdBIc8AE.js → p-BgRPWxrz.js} +1 -1
- package/dist/components/{p-DCv5afjJ.js → p-Bh548Ckv.js} +1 -1
- package/dist/components/p-BjjrNz4C.js +1 -0
- package/dist/components/{p-BVBMsoZP.js → p-BkUclgga.js} +1 -1
- package/dist/components/p-C2r48NLP.js +1 -0
- package/dist/components/{p-BtH5wWA5.js → p-CGXwtYAv.js} +1 -1
- package/dist/components/p-CGssy8eb.js +1 -0
- package/dist/components/p-CKU8CeW3.js +1 -0
- package/dist/components/{p-BHQirDZt.js → p-CRl8Anfr.js} +1 -1
- package/dist/components/p-CU095QAR.js +1 -0
- package/dist/components/p-CpclstHV.js +1 -0
- package/dist/components/{p-C2Yw3PoX.js → p-Cpu_hXwN.js} +1 -1
- package/dist/components/{p-gTPCqs3t.js → p-Cr_74QR7.js} +1 -1
- package/dist/components/{p-BsJy4pgR.js → p-D9FDutsj.js} +1 -1
- package/dist/components/p-DBnszF5F.js +1 -0
- package/dist/components/p-DC9KYl3L.js +1 -0
- package/dist/components/p-DOXMJi-V.js +1 -0
- package/dist/components/p-DRY8HJ-T.js +1 -0
- package/dist/components/{p-98NWgkAU.js → p-DpsDTjcN.js} +1 -1
- package/dist/components/p-DuYi4aqj.js +1 -0
- package/dist/components/{p-AdSqif48.js → p-DxzgCf_d.js} +1 -1
- package/dist/components/p-TMuoVuhE.js +1 -0
- package/dist/components/{p-CE1Hmoij.js → p-VXLJLI30.js} +1 -1
- package/dist/components/p-bYCOh35g.js +1 -0
- package/dist/components/p-kZ5N_lFC.js +1 -0
- package/dist/components/{p-CqU3a1re.js → p-puZ1xlrr.js} +1 -1
- package/dist/components/p-sZMi_32I.js +1 -0
- package/dist/components/{p-Ci3yfjxH.js → p-xmvTLf74.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-v2.js +1 -1
- package/dist/components/sd-button.js +1 -1
- package/dist/components/sd-calendar.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/{sd-loading-spinner.d.ts → sd-circle-progress.d.ts} +4 -4
- package/dist/components/sd-circle-progress.js +1 -0
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-calendar.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-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-radio-button-group.d.ts → sd-loading-container.d.ts} +4 -4
- package/dist/components/sd-loading-container.js +1 -0
- package/dist/components/{sd-toggle-button.d.ts → sd-loading-modal.d.ts} +4 -4
- package/dist/components/sd-loading-modal.js +1 -0
- 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-portal.js +1 -1
- package/dist/components/sd-progress.js +1 -1
- package/dist/components/sd-radio-button.d.ts +11 -0
- package/dist/components/sd-radio-button.js +1 -0
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-dropdown.js +1 -1
- package/dist/components/sd-select-group.js +1 -1
- package/dist/components/sd-select-multiple-group.js +1 -1
- package/dist/components/sd-select-multiple.js +1 -1
- package/dist/components/sd-select-option-group.js +1 -1
- package/dist/components/sd-select-option.js +1 -1
- package/dist/components/sd-select-search-input.js +1 -1
- package/dist/components/sd-select-v2-list-item-search.js +1 -1
- package/dist/components/sd-select-v2-list-item.js +1 -1
- package/dist/components/sd-select-v2-listbox.js +1 -1
- package/dist/components/sd-select-v2-trigger.js +1 -1
- package/dist/components/sd-select-v2.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.d.ts +11 -0
- package/dist/components/sd-switch.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/sd-tbody.js +1 -0
- package/dist/components/sd-td.d.ts +11 -0
- package/dist/components/sd-td.js +1 -0
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.d.ts +11 -0
- package/dist/components/sd-thead.js +1 -0
- 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.d.ts +11 -0
- package/dist/components/sd-tr.js +1 -0
- package/dist/components/table-test.d.ts +11 -0
- package/dist/components/table-test.js +1 -0
- 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-010e4f47.entry.js +1 -0
- package/dist/design-system/p-03099a57.entry.js +1 -0
- package/dist/design-system/p-04be87a4.entry.js +1 -0
- package/dist/design-system/{p-e9c28bdc.entry.js → p-09ba9dbc.entry.js} +1 -1
- package/dist/design-system/p-0fbb6d92.entry.js +1 -0
- package/dist/design-system/p-12a03c88.entry.js +1 -0
- package/dist/design-system/p-15cda79c.entry.js +1 -0
- package/dist/design-system/{p-a03ad24f.entry.js → p-1d310832.entry.js} +1 -1
- package/dist/design-system/p-2ae97b1c.entry.js +1 -0
- package/dist/design-system/p-2f64dd95.entry.js +1 -0
- package/dist/design-system/p-33e4ce64.entry.js +1 -0
- package/dist/design-system/{p-14b67a6e.entry.js → p-363da5ff.entry.js} +1 -1
- package/dist/design-system/p-3d341993.entry.js +1 -0
- package/dist/design-system/p-3f79f1d1.entry.js +1 -0
- package/dist/design-system/{p-c59191d3.entry.js → p-40495e05.entry.js} +1 -1
- package/dist/design-system/p-4128c17f.entry.js +1 -0
- package/dist/design-system/{p-614c9883.entry.js → p-4a53d7b0.entry.js} +1 -1
- package/dist/design-system/{p-9ae589c4.entry.js → p-4dcadde3.entry.js} +1 -1
- package/dist/design-system/{p-62992b73.entry.js → p-53bc77f8.entry.js} +1 -1
- package/dist/design-system/{p-28058050.entry.js → p-5a63febd.entry.js} +1 -1
- package/dist/design-system/p-6644c4a0.entry.js +1 -0
- package/dist/design-system/{p-30055371.entry.js → p-6c71d7b7.entry.js} +1 -1
- package/dist/design-system/{p-7a18a52b.entry.js → p-73acee07.entry.js} +1 -1
- package/dist/design-system/p-7e09fdd5.entry.js +1 -0
- package/dist/design-system/{p-4272b9e6.entry.js → p-84a329fb.entry.js} +1 -1
- package/dist/design-system/p-867ec4ee.entry.js +1 -0
- package/dist/design-system/p-8acf3b67.entry.js +1 -0
- package/dist/design-system/p-8d2328ae.entry.js +1 -0
- package/dist/design-system/p-96b14db1.entry.js +1 -0
- package/dist/design-system/p-BqHL8W3c.js +2 -0
- package/dist/design-system/{p-DSRYrM1n.js → p-COK6PVLC.js} +1 -1
- package/dist/design-system/p-DOXMJi-V.js +1 -0
- package/dist/design-system/{p-72b564ed.entry.js → p-a129711d.entry.js} +1 -1
- package/dist/design-system/{p-3acd076e.entry.js → p-a27718c1.entry.js} +1 -1
- package/dist/design-system/p-a983560d.entry.js +1 -0
- package/dist/design-system/{p-3d10be45.entry.js → p-a9a91e69.entry.js} +1 -1
- package/dist/design-system/p-ae1800c0.entry.js +1 -0
- package/dist/design-system/p-b1fe12f8.entry.js +1 -0
- package/dist/design-system/p-b3279f07.entry.js +1 -0
- package/dist/design-system/p-b60ae063.entry.js +1 -0
- package/dist/design-system/p-b6e02544.entry.js +1 -0
- package/dist/design-system/p-b81e0493.entry.js +1 -0
- package/dist/design-system/p-bYCOh35g.js +1 -0
- package/dist/design-system/{p-85e22acd.entry.js → p-c4e68815.entry.js} +1 -1
- package/dist/design-system/p-cb65a9e4.entry.js +1 -0
- package/dist/design-system/p-cf1156cb.entry.js +1 -0
- package/dist/design-system/p-d040ec6f.entry.js +1 -0
- package/dist/design-system/{p-5d2e8779.entry.js → p-d04551be.entry.js} +1 -1
- package/dist/design-system/p-d8eb17a8.entry.js +1 -0
- package/dist/design-system/p-e0f9e5b5.entry.js +1 -0
- package/dist/design-system/p-e1fdd540.entry.js +1 -0
- package/dist/design-system/{p-2bd887ca.entry.js → p-e33389b8.entry.js} +1 -1
- package/dist/design-system/p-e78faea6.entry.js +1 -0
- package/dist/design-system/p-ed61fe19.entry.js +1 -0
- package/dist/design-system/p-f3d082c8.entry.js +1 -0
- package/dist/design-system/p-f9b9204d.entry.js +1 -0
- package/dist/design-system/{p-13fed1bd.entry.js → p-fd296c73.entry.js} +1 -1
- package/dist/design-system/p-sZMi_32I.js +1 -0
- package/dist/esm/{component.modal-mO5GcwI3.js → component.modal-DOXMJi-V.js} +14 -0
- package/dist/esm/constants-sZMi_32I.js +3 -0
- package/dist/esm/design-system.js +3 -4
- package/dist/esm/{index-DsU722JF.js → index-BqHL8W3c.js} +128 -10
- package/dist/esm/index.js +103 -33
- package/dist/esm/loader.js +3 -4
- package/dist/esm/sd-action-modal.entry.js +3 -3
- package/dist/esm/sd-badge.entry.js +2 -2
- package/dist/esm/sd-barcode-input.entry.js +4 -3
- package/dist/esm/sd-button-v2_2.entry.js +9 -8
- package/dist/esm/sd-button_4.entry.js +62 -18
- package/dist/esm/sd-calendar.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +30 -5
- package/dist/esm/sd-circle-progress.entry.js +69 -0
- package/dist/esm/sd-confirm-modal_2.entry.js +183 -0
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker-calendar.entry.js +3 -3
- package/dist/esm/sd-date-picker-trigger.entry.js +4 -4
- package/dist/esm/{sd-date-picker.config-C4i826lM.js → sd-date-picker.config-bYCOh35g.js} +3 -3
- package/dist/esm/sd-date-picker.entry.js +5 -4
- package/dist/esm/sd-date-range-picker-calendar.entry.js +3 -3
- package/dist/esm/sd-date-range-picker.entry.js +5 -4
- package/dist/esm/sd-dropdown-button.entry.js +10 -5
- package/dist/esm/sd-file-picker.entry.js +3 -2
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button.entry.js +15 -6
- package/dist/esm/sd-guide.entry.js +2 -2
- package/dist/esm/sd-input_2.entry.js +8 -7
- package/dist/esm/sd-loading-container.entry.js +27 -0
- package/dist/esm/sd-modal-container.entry.js +45 -2
- package/dist/esm/sd-number-input.entry.js +6 -10
- package/dist/esm/{sd-select-v2.entry.js → sd-pagination_2.entry.js} +91 -5
- package/dist/esm/sd-popover.entry.js +4 -4
- package/dist/esm/sd-portal.entry.js +2 -2
- package/dist/esm/sd-progress.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +180 -0
- package/dist/esm/sd-radio-group.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +6 -6
- package/dist/esm/sd-select-dropdown_2.entry.js +4 -4
- package/dist/esm/sd-select-group.entry.js +4 -3
- package/dist/esm/sd-select-multiple-group.entry.js +4 -3
- package/dist/esm/sd-select-multiple.entry.js +4 -3
- package/dist/esm/sd-select-option-group.entry.js +4 -4
- package/dist/esm/sd-select-v2-list-item_4.entry.js +656 -0
- package/dist/esm/sd-select.entry.js +178 -0
- package/dist/esm/sd-switch.entry.js +108 -0
- package/dist/esm/sd-table.entry.js +424 -651
- package/dist/esm/sd-tabs.entry.js +2 -2
- package/dist/esm/sd-tag.entry.js +6 -5
- package/dist/esm/sd-tbody.entry.js +64 -0
- package/dist/esm/sd-td.entry.js +56 -0
- package/dist/esm/sd-text-link.entry.js +10 -12
- package/dist/esm/sd-textarea.entry.js +3 -2
- package/dist/esm/sd-thead.entry.js +177 -0
- 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 +96 -13
- package/dist/esm/sd-tr.entry.js +169 -0
- package/dist/esm/table-test.entry.js +94 -0
- package/dist/esm/{tooltipArrow-CJuzsrdH.js → tooltipArrow-BcsrQx1U.js} +1 -1
- package/dist/types/__mocks__/nanoid-non-secure.d.ts +2 -0
- package/dist/types/__mocks__/nanoid.d.ts +1 -0
- package/dist/types/components/sd-barcode-input/sd-barcode-input.d.ts +1 -0
- package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +1 -0
- package/dist/types/components/sd-checkbox/sd-checkbox.config.d.ts +3 -0
- package/dist/types/components/sd-checkbox/sd-checkbox.d.ts +2 -0
- package/dist/types/components/sd-circle-progress/sd-circle-progress.config.d.ts +9 -0
- package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +8 -0
- package/dist/types/components/sd-date-picker/sd-date-picker.d.ts +1 -0
- package/dist/types/components/sd-date-range-picker/sd-date-range-picker.d.ts +1 -0
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +1 -0
- package/dist/types/components/sd-field/sd-field.config.d.ts +9 -0
- package/dist/types/components/sd-field/sd-field.d.ts +3 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +1 -0
- package/dist/types/components/sd-ghost-button/sd-ghost-button.config.d.ts +1 -1
- package/dist/types/components/sd-input/sd-input.d.ts +1 -0
- package/dist/types/components/sd-loading-container/sd-loading-container.config.d.ts +4 -0
- package/dist/types/components/sd-loading-container/sd-loading-container.d.ts +8 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +25 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +15 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +10 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.d.ts +6 -2
- package/dist/types/components/sd-number-input/sd-number-input.config.d.ts +0 -1
- package/dist/types/components/sd-number-input/sd-number-input.d.ts +1 -0
- package/dist/types/components/sd-radio-button/sd-radio-button.config.d.ts +44 -0
- package/dist/types/components/{sd-radio-button-group/sd-radio-button-group.d.ts → sd-radio-button/sd-radio-button.d.ts} +4 -3
- package/dist/types/components/sd-select/sd-select.d.ts +1 -0
- package/dist/types/components/sd-select-group/sd-select-group.d.ts +1 -0
- package/dist/types/components/sd-select-multiple/sd-select-multiple.d.ts +1 -0
- package/dist/types/components/sd-select-multiple-group/sd-select-multiple-group.d.ts +1 -0
- package/dist/types/components/sd-select-v2/sd-select-v2.config.d.ts +1 -0
- package/dist/types/components/sd-select-v2/sd-select-v2.d.ts +1 -0
- package/dist/types/components/sd-switch/sd-switch.config.d.ts +22 -0
- package/dist/types/components/{sd-toggle-button/sd-toggle-button.d.ts → sd-switch/sd-switch.d.ts} +2 -6
- package/dist/types/components/sd-table/constants.d.ts +44 -0
- package/dist/types/components/sd-table/sd-table.d.ts +103 -115
- package/dist/types/components/sd-table/sd-tbody/sd-tbody.d.ts +14 -0
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +12 -0
- package/dist/types/components/sd-table/sd-thead/sd-thead.d.ts +36 -0
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +34 -0
- package/dist/types/components/sd-textarea/sd-textarea.d.ts +1 -0
- package/dist/types/components/sd-toggle/sd-toggle.config.d.ts +32 -0
- package/dist/types/components/sd-toggle/sd-toggle.d.ts +0 -3
- package/dist/types/components/table-test/table-test.d.ts +46 -0
- package/dist/types/components.d.ts +649 -141
- package/dist/types/index.d.ts +3 -1
- package/dist/types/utils/loading.d.ts +7 -0
- package/dist/types/utils/modal.d.ts +19 -3
- package/hydrate/index.js +2500 -968
- package/hydrate/index.mjs +2500 -968
- package/package.json +1 -1
- package/readme.md +1 -1
- package/dist/cjs/app-globals-V2Kpy_OQ.js +0 -5
- package/dist/cjs/sd-confirm-modal.cjs.entry.js +0 -106
- package/dist/cjs/sd-loading-spinner_3.cjs.entry.js +0 -283
- package/dist/cjs/sd-radio-button-group.cjs.entry.js +0 -57
- package/dist/cjs/sd-select-v2-list-item_2.cjs.entry.js +0 -150
- package/dist/cjs/sd-select-v2-listbox_2.cjs.entry.js +0 -353
- package/dist/cjs/sd-select-v2.config-7xBJQhvx.js +0 -171
- package/dist/cjs/sd-toggle-button.cjs.entry.js +0 -49
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.css +0 -44
- package/dist/collection/components/sd-loading-spinner/sd-loading-spinner.js +0 -46
- package/dist/collection/components/sd-radio-button-group/sd-radio-button-group.css +0 -85
- package/dist/collection/components/sd-toggle-button/sd-toggle-button.css +0 -47
- package/dist/components/p-5OtzmjLh.js +0 -1
- package/dist/components/p-BFaIxm6b.js +0 -1
- package/dist/components/p-BP-QKaKz.js +0 -1
- package/dist/components/p-BSZadK9N.js +0 -1
- package/dist/components/p-BbtO5CEW.js +0 -1
- package/dist/components/p-BxPyZJaz.js +0 -1
- package/dist/components/p-C-qSDgVU.js +0 -1
- package/dist/components/p-C4i826lM.js +0 -1
- package/dist/components/p-CEa1HSpw.js +0 -1
- package/dist/components/p-CYRGa0VL.js +0 -1
- package/dist/components/p-ClgihpRm.js +0 -1
- package/dist/components/p-D-Y0-FQk.js +0 -1
- package/dist/components/p-D-pFdq6g.js +0 -1
- package/dist/components/p-DPipeCRI.js +0 -1
- package/dist/components/p-DSYw-7RA.js +0 -1
- package/dist/components/p-DXAB0k9r.js +0 -1
- package/dist/components/p-mO5GcwI3.js +0 -1
- package/dist/components/sd-loading-spinner.js +0 -1
- package/dist/components/sd-radio-button-group.js +0 -1
- package/dist/components/sd-toggle-button.js +0 -1
- package/dist/design-system/p-00207f08.entry.js +0 -1
- package/dist/design-system/p-067b0b3c.entry.js +0 -1
- package/dist/design-system/p-0e6f5a99.entry.js +0 -1
- package/dist/design-system/p-22a4972a.entry.js +0 -1
- package/dist/design-system/p-27df33c1.entry.js +0 -1
- package/dist/design-system/p-3ac6a626.entry.js +0 -1
- package/dist/design-system/p-6610c16b.entry.js +0 -1
- package/dist/design-system/p-739ac181.entry.js +0 -1
- package/dist/design-system/p-7dce4241.entry.js +0 -1
- package/dist/design-system/p-7e4c0a36.entry.js +0 -1
- package/dist/design-system/p-8b5b2866.entry.js +0 -1
- package/dist/design-system/p-90f51f65.entry.js +0 -1
- package/dist/design-system/p-C3eQSZx-.js +0 -1
- package/dist/design-system/p-C4i826lM.js +0 -1
- package/dist/design-system/p-DQuL1Twl.js +0 -1
- package/dist/design-system/p-DsU722JF.js +0 -2
- package/dist/design-system/p-a6bc8512.entry.js +0 -1
- package/dist/design-system/p-afeb740a.entry.js +0 -1
- package/dist/design-system/p-b3e0e6f4.entry.js +0 -1
- package/dist/design-system/p-ba90dc5f.entry.js +0 -1
- package/dist/design-system/p-bad88292.entry.js +0 -1
- package/dist/design-system/p-cbb5575d.entry.js +0 -1
- package/dist/design-system/p-ce6a0b0f.entry.js +0 -1
- package/dist/design-system/p-d07448fe.entry.js +0 -1
- package/dist/design-system/p-d1a94401.entry.js +0 -1
- package/dist/design-system/p-d5b5cfc7.entry.js +0 -1
- package/dist/design-system/p-d75e0dc0.entry.js +0 -1
- package/dist/design-system/p-dee605b1.entry.js +0 -1
- package/dist/design-system/p-e9ed9c00.entry.js +0 -1
- package/dist/design-system/p-f8567970.entry.js +0 -1
- package/dist/design-system/p-fa22f13c.entry.js +0 -1
- package/dist/design-system/p-fa8b64c2.entry.js +0 -1
- package/dist/design-system/p-fbac6160.entry.js +0 -1
- package/dist/design-system/p-mO5GcwI3.js +0 -1
- package/dist/esm/app-globals-DQuL1Twl.js +0 -3
- package/dist/esm/sd-confirm-modal.entry.js +0 -104
- package/dist/esm/sd-loading-spinner_3.entry.js +0 -279
- package/dist/esm/sd-radio-button-group.entry.js +0 -55
- package/dist/esm/sd-select-v2-list-item_2.entry.js +0 -147
- package/dist/esm/sd-select-v2-listbox_2.entry.js +0 -350
- package/dist/esm/sd-select-v2.config-C3eQSZx-.js +0 -158
- package/dist/esm/sd-toggle-button.entry.js +0 -47
- package/dist/types/components/sd-loading-spinner/sd-loading-spinner.d.ts +0 -5
|
@@ -5,7 +5,7 @@ sd-button-v2 {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
.sd-button-v2 {
|
|
8
|
-
--sd-button-v2-height:
|
|
8
|
+
--sd-button-v2-height: 36px;
|
|
9
9
|
--sd-button-v2-padding-x: 20px;
|
|
10
10
|
--sd-button-v2-gap: 8px;
|
|
11
11
|
--sd-button-v2-font-family: inherit;
|
|
@@ -14,10 +14,10 @@ sd-button-v2 {
|
|
|
14
14
|
--sd-button-v2-text-decoration: none;
|
|
15
15
|
--sd-button-v2-label-min-width: auto;
|
|
16
16
|
--sd-button-v2-icon-only-size: var(--sd-button-v2-height);
|
|
17
|
-
--sd-button-v2-bg:
|
|
18
|
-
--sd-button-v2-bg-hover:
|
|
17
|
+
--sd-button-v2-bg: #025497;
|
|
18
|
+
--sd-button-v2-bg-hover: #004177;
|
|
19
19
|
--sd-button-v2-border: transparent;
|
|
20
|
-
--sd-button-v2-content:
|
|
20
|
+
--sd-button-v2-content: #FFFFFF;
|
|
21
21
|
--sd-button-v2-current-content: var(--sd-button-v2-content);
|
|
22
22
|
--sd-button-v2-current-icon: var(--sd-button-v2-content);
|
|
23
23
|
display: inline-flex;
|
|
@@ -26,8 +26,8 @@ sd-button-v2 {
|
|
|
26
26
|
min-height: var(--sd-button-v2-height);
|
|
27
27
|
min-width: var(--sd-button-v2-min-width, auto);
|
|
28
28
|
padding: 0 var(--sd-button-v2-padding-x);
|
|
29
|
-
border: var(--sd-button-border-width-default, 1px) solid var(--sd-button-v2-border);
|
|
30
|
-
border-radius: var(--sd-button-radius-sm, 4px);
|
|
29
|
+
border: var(--sd-button-button-border-width-default, 1px) solid var(--sd-button-v2-border);
|
|
30
|
+
border-radius: var(--sd-button-button-radius-sm, 4px);
|
|
31
31
|
background: var(--sd-button-v2-bg);
|
|
32
32
|
color: var(--sd-button-v2-current-content);
|
|
33
33
|
cursor: pointer;
|
|
@@ -50,50 +50,50 @@ sd-button-v2 {
|
|
|
50
50
|
box-shadow: 0 0 0 2px var(--sd-button-v2-accent);
|
|
51
51
|
}
|
|
52
52
|
.sd-button-v2--xs {
|
|
53
|
-
--sd-button-v2-height: var(--sd-button-xs-height, 24px);
|
|
54
|
-
--sd-button-v2-padding-x: var(--sd-button-xs-padding-x, 8px);
|
|
55
|
-
--sd-button-v2-gap: var(--sd-button-xs-gap, 4px);
|
|
56
|
-
--sd-button-v2-font-family: var(--sd-button-xs-typography-font-family, inherit);
|
|
57
|
-
--sd-button-v2-font-size: var(--sd-button-xs-typography-font-size, 12px);
|
|
58
|
-
--sd-button-v2-font-weight: var(--sd-button-xs-typography-font-weight, 500);
|
|
59
|
-
--sd-button-v2-text-decoration: var(--sd-button-xs-typography-text-decoration, none);
|
|
53
|
+
--sd-button-v2-height: var(--sd-button-button-xs-height, 24px);
|
|
54
|
+
--sd-button-v2-padding-x: var(--sd-button-button-xs-padding-x, 8px);
|
|
55
|
+
--sd-button-v2-gap: var(--sd-button-button-xs-gap, 4px);
|
|
56
|
+
--sd-button-v2-font-family: var(--sd-button-button-xs-typography-font-family, inherit);
|
|
57
|
+
--sd-button-v2-font-size: var(--sd-button-button-xs-typography-font-size, 12px);
|
|
58
|
+
--sd-button-v2-font-weight: var(--sd-button-button-xs-typography-font-weight, 500);
|
|
59
|
+
--sd-button-v2-text-decoration: var(--sd-button-button-xs-typography-text-decoration, none);
|
|
60
60
|
--sd-button-v2-label-min-width: var(--sd-button-label-xs-min-width, 36px);
|
|
61
|
-
--sd-button-v2-icon-only-size: var(--sd-button-icon-only-xs-width, var(--sd-button-v2-height));
|
|
61
|
+
--sd-button-v2-icon-only-size: var(--sd-button-button-icon-only-xs-width, var(--sd-button-v2-height));
|
|
62
62
|
}
|
|
63
63
|
.sd-button-v2--sm {
|
|
64
|
-
--sd-button-v2-height: var(--sd-button-sm-height, 28px);
|
|
65
|
-
--sd-button-v2-padding-x: var(--sd-button-sm-padding-x, 12px);
|
|
66
|
-
--sd-button-v2-gap: var(--sd-button-sm-gap, 6px);
|
|
67
|
-
--sd-button-v2-font-family: var(--sd-button-sm-typography-font-family, inherit);
|
|
68
|
-
--sd-button-v2-font-size: var(--sd-button-sm-typography-font-size, 12px);
|
|
69
|
-
--sd-button-v2-font-weight: var(--sd-button-sm-typography-font-weight, 500);
|
|
70
|
-
--sd-button-v2-text-decoration: var(--sd-button-sm-typography-text-decoration, none);
|
|
64
|
+
--sd-button-v2-height: var(--sd-button-button-sm-height, 28px);
|
|
65
|
+
--sd-button-v2-padding-x: var(--sd-button-button-sm-padding-x, 12px);
|
|
66
|
+
--sd-button-v2-gap: var(--sd-button-button-sm-gap, 6px);
|
|
67
|
+
--sd-button-v2-font-family: var(--sd-button-button-sm-typography-font-family, inherit);
|
|
68
|
+
--sd-button-v2-font-size: var(--sd-button-button-sm-typography-font-size, 12px);
|
|
69
|
+
--sd-button-v2-font-weight: var(--sd-button-button-sm-typography-font-weight, 500);
|
|
70
|
+
--sd-button-v2-text-decoration: var(--sd-button-button-sm-typography-text-decoration, none);
|
|
71
71
|
--sd-button-v2-label-min-width: var(--sd-button-label-sm-min-width, 70px);
|
|
72
|
-
--sd-button-v2-icon-only-size: var(--sd-button-icon-only-sm-width, var(--sd-button-v2-height));
|
|
72
|
+
--sd-button-v2-icon-only-size: var(--sd-button-button-icon-only-sm-width, var(--sd-button-v2-height));
|
|
73
73
|
}
|
|
74
74
|
.sd-button-v2--md {
|
|
75
|
-
--sd-button-v2-height: var(--sd-button-md-height,
|
|
76
|
-
--sd-button-v2-padding-x: var(--sd-button-md-padding-x, 20px);
|
|
77
|
-
--sd-button-v2-gap: var(--sd-button-md-gap, 8px);
|
|
78
|
-
--sd-button-v2-font-family: var(--sd-button-md-typography-font-family, inherit);
|
|
79
|
-
--sd-button-v2-font-size: var(--sd-button-md-typography-font-size, 16px);
|
|
80
|
-
--sd-button-v2-font-weight: var(--sd-button-md-typography-font-weight, 500);
|
|
81
|
-
--sd-button-v2-text-decoration: var(--sd-button-md-typography-text-decoration, none);
|
|
75
|
+
--sd-button-v2-height: var(--sd-button-button-md-height, 36px);
|
|
76
|
+
--sd-button-v2-padding-x: var(--sd-button-button-md-padding-x, 20px);
|
|
77
|
+
--sd-button-v2-gap: var(--sd-button-button-md-gap, 8px);
|
|
78
|
+
--sd-button-v2-font-family: var(--sd-button-button-md-typography-font-family, inherit);
|
|
79
|
+
--sd-button-v2-font-size: var(--sd-button-button-md-typography-font-size, 16px);
|
|
80
|
+
--sd-button-v2-font-weight: var(--sd-button-button-md-typography-font-weight, 500);
|
|
81
|
+
--sd-button-v2-text-decoration: var(--sd-button-button-md-typography-text-decoration, none);
|
|
82
82
|
--sd-button-v2-label-min-width: var(--sd-button-label-md-min-width, 100px);
|
|
83
|
-
--sd-button-v2-icon-only-size: var(--sd-button-icon-only-md-width, var(--sd-button-v2-height));
|
|
84
|
-
border-radius: var(--sd-button-radius-md, 6px);
|
|
83
|
+
--sd-button-v2-icon-only-size: var(--sd-button-button-icon-only-md-width, var(--sd-button-v2-height));
|
|
84
|
+
border-radius: var(--sd-button-button-radius-md, 6px);
|
|
85
85
|
}
|
|
86
86
|
.sd-button-v2--lg {
|
|
87
|
-
--sd-button-v2-height: var(--sd-button-lg-height, 62px);
|
|
88
|
-
--sd-button-v2-padding-x: var(--sd-button-lg-padding-x, 28px);
|
|
89
|
-
--sd-button-v2-gap: var(--sd-button-lg-gap, 12px);
|
|
90
|
-
--sd-button-v2-font-family: var(--sd-button-lg-typography-font-family, inherit);
|
|
91
|
-
--sd-button-v2-font-size: var(--sd-button-lg-typography-font-size, 18px);
|
|
92
|
-
--sd-button-v2-font-weight: var(--sd-button-lg-typography-font-weight, 500);
|
|
93
|
-
--sd-button-v2-text-decoration: var(--sd-button-lg-typography-text-decoration, none);
|
|
87
|
+
--sd-button-v2-height: var(--sd-button-button-lg-height, 62px);
|
|
88
|
+
--sd-button-v2-padding-x: var(--sd-button-button-lg-padding-x, 28px);
|
|
89
|
+
--sd-button-v2-gap: var(--sd-button-button-lg-gap, 12px);
|
|
90
|
+
--sd-button-v2-font-family: var(--sd-button-button-lg-typography-font-family, inherit);
|
|
91
|
+
--sd-button-v2-font-size: var(--sd-button-button-lg-typography-font-size, 18px);
|
|
92
|
+
--sd-button-v2-font-weight: var(--sd-button-button-lg-typography-font-weight, 500);
|
|
93
|
+
--sd-button-v2-text-decoration: var(--sd-button-button-lg-typography-text-decoration, none);
|
|
94
94
|
--sd-button-v2-label-min-width: var(--sd-button-label-lg-min-width, 120px);
|
|
95
|
-
--sd-button-v2-icon-only-size: var(--sd-button-icon-only-lg-width, var(--sd-button-v2-height));
|
|
96
|
-
border-radius: var(--sd-button-radius-md, 6px);
|
|
95
|
+
--sd-button-v2-icon-only-size: var(--sd-button-button-icon-only-lg-width, var(--sd-button-v2-height));
|
|
96
|
+
border-radius: var(--sd-button-button-radius-md, 6px);
|
|
97
97
|
}
|
|
98
98
|
.sd-button-v2--has-label {
|
|
99
99
|
--sd-button-v2-min-width: var(--sd-button-v2-label-min-width, auto);
|
|
@@ -108,10 +108,10 @@ sd-button-v2 {
|
|
|
108
108
|
gap: 0;
|
|
109
109
|
}
|
|
110
110
|
.sd-button-v2--disabled {
|
|
111
|
-
border-color: var(--sd-button-border-disabled, #CCCCCC);
|
|
112
|
-
background: var(--sd-button-bg-disabled, #E1E1E1);
|
|
113
|
-
--sd-button-v2-current-content: var(--sd-button-text-disabled,
|
|
114
|
-
--sd-button-v2-current-icon: var(--sd-button-icon-disabled,
|
|
111
|
+
border-color: var(--sd-button-button-border-disabled, #CCCCCC);
|
|
112
|
+
background: var(--sd-button-button-bg-disabled, #E1E1E1);
|
|
113
|
+
--sd-button-v2-current-content: var(--sd-button-button-text-disabled, #888888);
|
|
114
|
+
--sd-button-v2-current-icon: var(--sd-button-button-icon-disabled, #BBBBBB);
|
|
115
115
|
cursor: not-allowed;
|
|
116
116
|
}
|
|
117
117
|
.sd-button-v2 .sd-button-v2__content {
|
|
@@ -4,6 +4,7 @@ export class SdButtonV2 {
|
|
|
4
4
|
name = 'primary_sm';
|
|
5
5
|
label = '';
|
|
6
6
|
icon;
|
|
7
|
+
rightIcon;
|
|
7
8
|
ariaLabel = '';
|
|
8
9
|
disabled = false;
|
|
9
10
|
type = 'button';
|
|
@@ -44,7 +45,7 @@ export class SdButtonV2 {
|
|
|
44
45
|
this.warnIfMissingAriaLabel();
|
|
45
46
|
}
|
|
46
47
|
warnIfMissingAriaLabel() {
|
|
47
|
-
const iconOnly = !this.label && Boolean(this.icon);
|
|
48
|
+
const iconOnly = !this.label && (Boolean(this.icon) || Boolean(this.rightIcon));
|
|
48
49
|
const missingAriaLabel = iconOnly && !this.ariaLabel.trim();
|
|
49
50
|
if (!missingAriaLabel) {
|
|
50
51
|
this.hasWarnedMissingAriaLabel = false;
|
|
@@ -53,21 +54,21 @@ export class SdButtonV2 {
|
|
|
53
54
|
if (this.hasWarnedMissingAriaLabel) {
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
56
|
-
console.warn(`[sd-button-v2] icon-only buttons require \`ariaLabel\`. Received name="${this.name}" icon="${this.icon}".`);
|
|
57
|
+
console.warn(`[sd-button-v2] icon-only buttons require \`ariaLabel\`. Received name="${this.name}" icon="${this.icon ?? this.rightIcon}".`);
|
|
57
58
|
this.hasWarnedMissingAriaLabel = true;
|
|
58
59
|
}
|
|
59
60
|
render() {
|
|
60
61
|
const { config, preset } = this.resolvedConfig;
|
|
61
62
|
const hasLabel = Boolean(this.label);
|
|
62
|
-
const iconOnly = !this.label && Boolean(this.icon);
|
|
63
|
+
const iconOnly = !this.label && (Boolean(this.icon) !== Boolean(this.rightIcon));
|
|
63
64
|
const accessibleName = iconOnly && this.ariaLabel.trim() ? this.ariaLabel : undefined;
|
|
64
|
-
return (h("button", { key: '
|
|
65
|
-
'--sd-button-v2-bg': config.
|
|
65
|
+
return (h("button", { key: '50bb61cfbf36d2f002b6937603640ea585d42a0e', class: this.getButtonClasses(preset, config.size, hasLabel, iconOnly), type: this.type, disabled: this.disabled, "aria-label": accessibleName, style: {
|
|
66
|
+
'--sd-button-v2-bg': config.color,
|
|
66
67
|
'--sd-button-v2-bg-hover': PRESET_HOVER_BACKGROUNDS[preset],
|
|
67
68
|
'--sd-button-v2-border': PRESET_BORDER_COLORS[preset],
|
|
68
69
|
'--sd-button-v2-content': PRESET_CONTENT_COLORS[preset],
|
|
69
70
|
'--sd-button-v2-accent': BUTTON_FOCUS_RING_COLOR,
|
|
70
|
-
}, onClick: this.handleClick }, h("span", { key: '
|
|
71
|
+
}, onClick: this.handleClick }, h("span", { key: 'a1f34337cc33a6eba29547ff7df39109739bb06c', class: "sd-button-v2__content" }, this.icon && (h("sd-icon", { key: 'fb4b8c87c57979f3c39eaa893626e6c3f5e56b08', class: "sd-button-v2__icon", name: this.icon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-v2-current-icon)" })), this.label && h("span", { key: '00e78a17818e7c286b33ca45e37eac78102cf590', class: "sd-button-v2__label" }, this.label), this.rightIcon && (h("sd-icon", { key: '9e146585df41a6784a09e8239b28c8e8b4f30516', class: "sd-button-v2__icon sd-button-v2__icon--right", name: this.rightIcon, size: BUTTON_ICON_SIZES[config.size], color: "var(--sd-button-v2-current-icon)" })))));
|
|
71
72
|
}
|
|
72
73
|
static get is() { return "sd-button-v2"; }
|
|
73
74
|
static get originalStyleUrls() {
|
|
@@ -153,6 +154,30 @@ export class SdButtonV2 {
|
|
|
153
154
|
"reflect": false,
|
|
154
155
|
"attribute": "icon"
|
|
155
156
|
},
|
|
157
|
+
"rightIcon": {
|
|
158
|
+
"type": "string",
|
|
159
|
+
"mutable": false,
|
|
160
|
+
"complexType": {
|
|
161
|
+
"original": "IconName",
|
|
162
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"attachFile\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFill\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFill\" | \"checkOutline\" | \"chevronDown\" | \"chevronLeft\" | \"chevronLeftEnd\" | \"chevronRight\" | \"chevronRightEnd\" | \"chevronUp\" | \"clockFill\" | \"clockOutline\" | \"close\" | \"copy\" | \"dashboard\" | \"date\" | \"download\" | \"drag\" | \"edit\" | \"etc\" | \"event\" | \"global\" | \"helpFill\" | \"helpOutline\" | \"history\" | \"imageFill\" | \"imageOutline\" | \"inline\" | \"line\" | \"location\" | \"logout\" | \"minus\" | \"new\" | \"notificationFill\" | \"notificationOutline\" | \"notion\" | \"outline\" | \"pageEdit\" | \"pageMove\" | \"pdf\" | \"print\" | \"remove\" | \"reset\" | \"robot\" | \"row\" | \"save\" | \"search\" | \"setting\" | \"star\" | \"synchronize\" | \"updown\" | \"user\" | \"visibilityOff\" | \"visibilityOn\" | \"warehouseFill\" | \"warehouseOutline\" | \"warningFill\" | \"warningOutline\" | \"youtube\" | undefined",
|
|
163
|
+
"references": {
|
|
164
|
+
"IconName": {
|
|
165
|
+
"location": "global",
|
|
166
|
+
"id": "global::IconName"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
"required": false,
|
|
171
|
+
"optional": true,
|
|
172
|
+
"docs": {
|
|
173
|
+
"tags": [],
|
|
174
|
+
"text": ""
|
|
175
|
+
},
|
|
176
|
+
"getter": false,
|
|
177
|
+
"setter": false,
|
|
178
|
+
"reflect": false,
|
|
179
|
+
"attribute": "right-icon"
|
|
180
|
+
},
|
|
156
181
|
"ariaLabel": {
|
|
157
182
|
"type": "string",
|
|
158
183
|
"mutable": false,
|
|
@@ -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: 'dd37653555ffeab3b249575c8a1cbe9aa70498b1' }, h("div", { key: 'eb0cea509b62fe1942d8ddfb955fee920b5c51a5', class: `sd-card ${this.bordered ? 'sd-card--bordered' : ''} ${this.sdClass}` }, h("slot", { key: 'a792a49e58b1b1756f11d0bb6e7441674c63455e' }))));
|
|
7
7
|
}
|
|
8
8
|
static get is() { return "sd-card"; }
|
|
9
9
|
static get originalStyleUrls() {
|
|
@@ -22,8 +22,11 @@ export const CHECKBOX_COLORS = {
|
|
|
22
22
|
bg: checkboxTokens.checkbox.checked.bg.default,
|
|
23
23
|
icon: checkboxTokens.checkbox.checked.icon.default,
|
|
24
24
|
iconDisabled: checkboxTokens.checkbox.checked.icon.disabled,
|
|
25
|
+
iconInverse: checkboxTokens.checkbox.checked.icon.inverse,
|
|
26
|
+
borderInverse: checkboxTokens.checkbox.checked.border.inverse,
|
|
25
27
|
},
|
|
26
28
|
label: checkboxTokens.checkbox.label.default,
|
|
29
|
+
labelInverse: checkboxTokens.checkbox.label.inverse,
|
|
27
30
|
disabled: {
|
|
28
31
|
bg: checkboxTokens.checkbox.bg.disabled,
|
|
29
32
|
border: checkboxTokens.checkbox.border.disabled,
|
|
@@ -65,4 +65,19 @@ sd-checkbox .sd-checkbox--disabled {
|
|
|
65
65
|
sd-checkbox .sd-checkbox--disabled .sd-checkbox__bg {
|
|
66
66
|
background: var(--sd-checkbox-disabled-bg);
|
|
67
67
|
border-color: var(--sd-checkbox-disabled-border);
|
|
68
|
+
}
|
|
69
|
+
sd-checkbox .sd-checkbox--inverse .sd-checkbox__label {
|
|
70
|
+
color: var(--sd-checkbox-inverse-label);
|
|
71
|
+
}
|
|
72
|
+
sd-checkbox .sd-checkbox--inverse.sd-checkbox--unchecked .sd-checkbox__bg {
|
|
73
|
+
background: transparent;
|
|
74
|
+
border-color: var(--sd-checkbox-inverse-border);
|
|
75
|
+
}
|
|
76
|
+
sd-checkbox .sd-checkbox--inverse.sd-checkbox--checked .sd-checkbox__bg, sd-checkbox .sd-checkbox--inverse.sd-checkbox--indeterminate .sd-checkbox__bg {
|
|
77
|
+
background: transparent;
|
|
78
|
+
border-color: var(--sd-checkbox-inverse-border);
|
|
79
|
+
}
|
|
80
|
+
sd-checkbox .sd-checkbox--inverse:hover.sd-checkbox--unchecked .sd-checkbox__bg {
|
|
81
|
+
background: rgba(255, 255, 255, 0.12);
|
|
82
|
+
border-color: var(--sd-checkbox-inverse-border);
|
|
68
83
|
}
|
|
@@ -8,6 +8,8 @@ export class SdCheckbox {
|
|
|
8
8
|
val;
|
|
9
9
|
/** 비활성화 여부 */
|
|
10
10
|
disabled = false;
|
|
11
|
+
/** 어두운 배경 위에서 사용하는 inverse(흰색) 스타일 */
|
|
12
|
+
inverse = false;
|
|
11
13
|
/** 표시할 라벨 텍스트 */
|
|
12
14
|
label = '';
|
|
13
15
|
/** 내부 체크 상태 */
|
|
@@ -30,6 +32,9 @@ export class SdCheckbox {
|
|
|
30
32
|
if (this.disabled) {
|
|
31
33
|
classes.push('sd-checkbox--disabled');
|
|
32
34
|
}
|
|
35
|
+
if (this.inverse) {
|
|
36
|
+
classes.push('sd-checkbox--inverse');
|
|
37
|
+
}
|
|
33
38
|
return classes.join(' ');
|
|
34
39
|
}
|
|
35
40
|
updateCheckedState(value) {
|
|
@@ -88,8 +93,17 @@ export class SdCheckbox {
|
|
|
88
93
|
'--sd-checkbox-label-color': CHECKBOX_COLORS.label,
|
|
89
94
|
'--sd-checkbox-disabled-bg': CHECKBOX_COLORS.disabled.bg,
|
|
90
95
|
'--sd-checkbox-disabled-border': CHECKBOX_COLORS.disabled.border,
|
|
96
|
+
'--sd-checkbox-inverse-border': CHECKBOX_COLORS.checked.borderInverse,
|
|
97
|
+
'--sd-checkbox-inverse-icon': CHECKBOX_COLORS.checked.iconInverse,
|
|
98
|
+
'--sd-checkbox-inverse-label': CHECKBOX_COLORS.labelInverse,
|
|
91
99
|
};
|
|
92
|
-
return (h("label", { key: '
|
|
100
|
+
return (h("label", { key: '1a1c4dac0a2ce24ae51ce0baba74a7add387aa2f', class: this.checkboxClasses, style: cssVars }, h("input", { key: '4a45bc9bbaaf6ddaebf3445045ab7b1f789f81d5', type: "checkbox", ref: el => {
|
|
101
|
+
this.inputEl = el;
|
|
102
|
+
}, 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: '7d8ae7276470bf4543cdee1a0b25793f07d23c66', class: "sd-checkbox__bg" }, this.isChecked !== false ? (h("sd-icon", { name: this.isChecked === true ? 'check' : 'minus', size: Number(CHECKBOX_LAYOUT.iconSize), color: this.disabled
|
|
103
|
+
? CHECKBOX_COLORS.checked.iconDisabled
|
|
104
|
+
: this.inverse
|
|
105
|
+
? CHECKBOX_COLORS.checked.iconInverse
|
|
106
|
+
: CHECKBOX_COLORS.checked.icon })) : null), this.label && h("span", { key: 'd791d977073b0916917c7ce770cf73c1ff81f3bd', class: "sd-checkbox__label" }, this.label)));
|
|
93
107
|
}
|
|
94
108
|
static get is() { return "sd-checkbox"; }
|
|
95
109
|
static get originalStyleUrls() {
|
|
@@ -164,10 +178,30 @@ export class SdCheckbox {
|
|
|
164
178
|
},
|
|
165
179
|
"getter": false,
|
|
166
180
|
"setter": false,
|
|
167
|
-
"reflect":
|
|
181
|
+
"reflect": true,
|
|
168
182
|
"attribute": "disabled",
|
|
169
183
|
"defaultValue": "false"
|
|
170
184
|
},
|
|
185
|
+
"inverse": {
|
|
186
|
+
"type": "boolean",
|
|
187
|
+
"mutable": false,
|
|
188
|
+
"complexType": {
|
|
189
|
+
"original": "boolean",
|
|
190
|
+
"resolved": "boolean",
|
|
191
|
+
"references": {}
|
|
192
|
+
},
|
|
193
|
+
"required": false,
|
|
194
|
+
"optional": false,
|
|
195
|
+
"docs": {
|
|
196
|
+
"tags": [],
|
|
197
|
+
"text": "\uC5B4\uB450\uC6B4 \uBC30\uACBD \uC704\uC5D0\uC11C \uC0AC\uC6A9\uD558\uB294 inverse(\uD770\uC0C9) \uC2A4\uD0C0\uC77C"
|
|
198
|
+
},
|
|
199
|
+
"getter": false,
|
|
200
|
+
"setter": false,
|
|
201
|
+
"reflect": true,
|
|
202
|
+
"attribute": "inverse",
|
|
203
|
+
"defaultValue": "false"
|
|
204
|
+
},
|
|
171
205
|
"label": {
|
|
172
206
|
"type": "string",
|
|
173
207
|
"mutable": false,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import spinnerTokens from "../../tokens/generated/component.spinner.json";
|
|
2
|
+
// TODO: error/complete 색상 및 inverse 흰색은 토큰 반영 후 교체
|
|
3
|
+
export const CIRCLE_PROGRESS_COLOR_MAP = {
|
|
4
|
+
primary: {
|
|
5
|
+
arc: spinnerTokens.spinner.color.arc,
|
|
6
|
+
track: spinnerTokens.spinner.color.track,
|
|
7
|
+
},
|
|
8
|
+
inverse: {
|
|
9
|
+
arc: '#FFFFFF',
|
|
10
|
+
track: 'transparent',
|
|
11
|
+
},
|
|
12
|
+
error: {
|
|
13
|
+
arc: '#E30000',
|
|
14
|
+
track: spinnerTokens.spinner.color.track,
|
|
15
|
+
},
|
|
16
|
+
complete: {
|
|
17
|
+
arc: '#01BB4B',
|
|
18
|
+
track: spinnerTokens.spinner.color.track,
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
export const CIRCLE_PROGRESS_VIEWBOX_SIZE = 80;
|
|
22
|
+
export const CIRCLE_PROGRESS_RADIUS = 34;
|
|
23
|
+
export const CIRCLE_PROGRESS_STROKE_WIDTH = 12;
|
|
24
|
+
export const CIRCLE_PROGRESS_CIRCUMFERENCE = 2 * Math.PI * CIRCLE_PROGRESS_RADIUS;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
sd-circle-progress {
|
|
3
|
+
display: inline-flex;
|
|
4
|
+
width: 80px;
|
|
5
|
+
height: 80px;
|
|
6
|
+
}
|
|
7
|
+
sd-circle-progress .sd-circle-progress {
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
}
|
|
11
|
+
sd-circle-progress .sd-circle-progress__track {
|
|
12
|
+
stroke: var(--sd-circle-progress-track);
|
|
13
|
+
}
|
|
14
|
+
sd-circle-progress .sd-circle-progress__arc {
|
|
15
|
+
stroke: var(--sd-circle-progress-arc);
|
|
16
|
+
transform: rotate(-90deg);
|
|
17
|
+
transform-origin: center center;
|
|
18
|
+
transition: stroke-dasharray 0.3s ease, stroke-dashoffset 0.3s ease;
|
|
19
|
+
}
|
|
20
|
+
sd-circle-progress {
|
|
21
|
+
/* indeterminate 모드: 회전 + dasharray grow/shrink 애니메이션 */
|
|
22
|
+
}
|
|
23
|
+
sd-circle-progress[indeterminate] .sd-circle-progress {
|
|
24
|
+
animation: sd-circle-progress-spin 2s linear infinite;
|
|
25
|
+
transform-origin: center center;
|
|
26
|
+
}
|
|
27
|
+
sd-circle-progress[indeterminate] .sd-circle-progress__arc {
|
|
28
|
+
transform: none;
|
|
29
|
+
transition: none;
|
|
30
|
+
animation: sd-circle-progress-spin-path 1.5s ease-in-out infinite;
|
|
31
|
+
}
|
|
32
|
+
@keyframes sd-circle-progress-spin {
|
|
33
|
+
0% {
|
|
34
|
+
transform: rotate(0deg);
|
|
35
|
+
}
|
|
36
|
+
100% {
|
|
37
|
+
transform: rotate(360deg);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
@keyframes sd-circle-progress-spin-path {
|
|
41
|
+
0% {
|
|
42
|
+
stroke-dasharray: 1, 340;
|
|
43
|
+
stroke-dashoffset: 0;
|
|
44
|
+
}
|
|
45
|
+
50% {
|
|
46
|
+
stroke-dasharray: 151, 340;
|
|
47
|
+
stroke-dashoffset: -60;
|
|
48
|
+
}
|
|
49
|
+
100% {
|
|
50
|
+
stroke-dasharray: 151, 340;
|
|
51
|
+
stroke-dashoffset: -211;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { Host, h } from "@stencil/core";
|
|
2
|
+
import { CIRCLE_PROGRESS_CIRCUMFERENCE, CIRCLE_PROGRESS_COLOR_MAP, CIRCLE_PROGRESS_RADIUS, CIRCLE_PROGRESS_STROKE_WIDTH, CIRCLE_PROGRESS_VIEWBOX_SIZE, } from "./sd-circle-progress.config";
|
|
3
|
+
export class SdCircleProgress {
|
|
4
|
+
indeterminate = false;
|
|
5
|
+
value = 0;
|
|
6
|
+
type = 'primary';
|
|
7
|
+
get clampedValue() {
|
|
8
|
+
if (!Number.isFinite(this.value))
|
|
9
|
+
return 0;
|
|
10
|
+
return Math.max(0, Math.min(100, this.value));
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const colors = CIRCLE_PROGRESS_COLOR_MAP[this.type] ?? CIRCLE_PROGRESS_COLOR_MAP.primary;
|
|
14
|
+
const hostStyle = {
|
|
15
|
+
'--sd-circle-progress-track': colors.track,
|
|
16
|
+
'--sd-circle-progress-arc': colors.arc,
|
|
17
|
+
};
|
|
18
|
+
const arcStyle = {};
|
|
19
|
+
if (!this.indeterminate) {
|
|
20
|
+
const filled = (this.clampedValue / 100) * CIRCLE_PROGRESS_CIRCUMFERENCE;
|
|
21
|
+
arcStyle.strokeDasharray = `${filled} ${CIRCLE_PROGRESS_CIRCUMFERENCE}`;
|
|
22
|
+
arcStyle.strokeDashoffset = '0';
|
|
23
|
+
}
|
|
24
|
+
const c = CIRCLE_PROGRESS_VIEWBOX_SIZE / 2;
|
|
25
|
+
return (h(Host, { key: 'fb876909febfc95bb69c58031ac37419baa07137', style: hostStyle }, h("svg", { key: '3bb8130bab317a74c1553dd2ceb52b8c0f65f69f', 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: '5904f93a6b1c333dbcbd805140d5e65b5af20080', class: "sd-circle-progress__track", cx: c, cy: c, r: CIRCLE_PROGRESS_RADIUS, fill: "none", "stroke-width": CIRCLE_PROGRESS_STROKE_WIDTH }), h("circle", { key: '4d8a1d352e4003a75dd63f67a66a05f595ae5700', 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 }))));
|
|
26
|
+
}
|
|
27
|
+
static get is() { return "sd-circle-progress"; }
|
|
28
|
+
static get originalStyleUrls() {
|
|
29
|
+
return {
|
|
30
|
+
"$": ["sd-circle-progress.scss"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
static get styleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["sd-circle-progress.css"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get properties() {
|
|
39
|
+
return {
|
|
40
|
+
"indeterminate": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"mutable": false,
|
|
43
|
+
"complexType": {
|
|
44
|
+
"original": "boolean",
|
|
45
|
+
"resolved": "boolean",
|
|
46
|
+
"references": {}
|
|
47
|
+
},
|
|
48
|
+
"required": false,
|
|
49
|
+
"optional": false,
|
|
50
|
+
"docs": {
|
|
51
|
+
"tags": [],
|
|
52
|
+
"text": ""
|
|
53
|
+
},
|
|
54
|
+
"getter": false,
|
|
55
|
+
"setter": false,
|
|
56
|
+
"reflect": true,
|
|
57
|
+
"attribute": "indeterminate",
|
|
58
|
+
"defaultValue": "false"
|
|
59
|
+
},
|
|
60
|
+
"value": {
|
|
61
|
+
"type": "number",
|
|
62
|
+
"mutable": false,
|
|
63
|
+
"complexType": {
|
|
64
|
+
"original": "number",
|
|
65
|
+
"resolved": "number",
|
|
66
|
+
"references": {}
|
|
67
|
+
},
|
|
68
|
+
"required": false,
|
|
69
|
+
"optional": false,
|
|
70
|
+
"docs": {
|
|
71
|
+
"tags": [],
|
|
72
|
+
"text": ""
|
|
73
|
+
},
|
|
74
|
+
"getter": false,
|
|
75
|
+
"setter": false,
|
|
76
|
+
"reflect": false,
|
|
77
|
+
"attribute": "value",
|
|
78
|
+
"defaultValue": "0"
|
|
79
|
+
},
|
|
80
|
+
"type": {
|
|
81
|
+
"type": "string",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "CircleProgressType",
|
|
85
|
+
"resolved": "\"complete\" | \"error\" | \"inverse\" | \"primary\"",
|
|
86
|
+
"references": {
|
|
87
|
+
"CircleProgressType": {
|
|
88
|
+
"location": "import",
|
|
89
|
+
"path": "./sd-circle-progress.config",
|
|
90
|
+
"id": "src/components/sd-circle-progress/sd-circle-progress.config.ts::CircleProgressType",
|
|
91
|
+
"referenceLocation": "CircleProgressType"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": ""
|
|
100
|
+
},
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
103
|
+
"reflect": true,
|
|
104
|
+
"attribute": "type",
|
|
105
|
+
"defaultValue": "'primary'"
|
|
106
|
+
}
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -38,7 +38,7 @@ sd-confirm-modal .sd-confirm-modal__message-text {
|
|
|
38
38
|
color: var(--sd-modal-modal-confirm-message-color);
|
|
39
39
|
font-size: 12px;
|
|
40
40
|
font-weight: 400;
|
|
41
|
-
line-height:
|
|
41
|
+
line-height: 20px;
|
|
42
42
|
text-align: center;
|
|
43
43
|
margin: 0;
|
|
44
44
|
}
|
|
@@ -62,5 +62,5 @@ sd-confirm-modal .sd-confirm-modal__button {
|
|
|
62
62
|
display: flex;
|
|
63
63
|
justify-content: center;
|
|
64
64
|
gap: var(--sd-modal-modal-confirm-button-gap);
|
|
65
|
-
margin-top:
|
|
65
|
+
margin-top: 40px;
|
|
66
66
|
}
|
|
@@ -67,9 +67,9 @@ export class SdConfirmModal {
|
|
|
67
67
|
render() {
|
|
68
68
|
const iconName = CONFIRM_MODAL_ICON_MAP[this.type];
|
|
69
69
|
const iconColor = CONFIRM_MODAL_ICON_COLOR[this.type];
|
|
70
|
-
return (h("div", { key: '
|
|
70
|
+
return (h("div", { key: 'c95e6e3992e9d63c19f27624e92c00b5046503e0', class: "sd-confirm-modal" }, h("sd-ghost-button", { key: 'edab233c28ebcfc181062d78cb80ec27a3ace8b4', class: "sd-confirm-modal__close-button", icon: "close", ariaLabel: "close", onClick: () => this.close.emit() }), iconName && (h("sd-icon", { key: '4ea2ef8ac6027a6455367b39b6d3cc6cf073f0a8', class: "sd-confirm-modal__icon", name: iconName, size: TITLE_ICON_SIZE, color: iconColor })), h("h2", { key: '5a25a6f0812a6932949a2667db2af1b69d772293', class: `sd-confirm-modal__title ${this.titleClass}` }, this.modalTitle), h("div", { key: 'b431572003c129a0d44095a317532b535753abd3', class: "sd-confirm-modal__body" }, (this.topMessage ?? []).length > 0 && (h("div", { key: 'cd425d24bde982323a0156ff18f4dcdc81660dd5', class: "sd-confirm-modal__message" }, (this.topMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: msg }))))), this.showContentBox && (h("div", { key: '9486cf19dc6692228f615112b0777b6167c1a8de', class: "sd-confirm-modal__content-box" }, this.tagContents ? (h("div", { class: "sd-confirm-modal__custom-content", ref: el => {
|
|
71
71
|
this.customContentRef = el;
|
|
72
|
-
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && h("sd-tag", { name: this.tagPreset, label: this.tagLabel }), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '
|
|
72
|
+
} })) : (h("slot", { onSlotchange: () => this.syncHasSlottedContent() }, this.tagLabel && h("sd-tag", { name: this.tagPreset, label: this.tagLabel }), this.slotLabel && (h("span", { class: "sd-confirm-modal__slot-label" }, this.slotLabel)))))), (this.bottomMessage ?? []).length > 0 && (h("div", { key: '7218d8bf72e26f36f88db68f57818911bb09056d', class: "sd-confirm-modal__message" }, (this.bottomMessage ?? []).map(msg => (h("p", { class: "sd-confirm-modal__message-text", innerHTML: msg })))))), h("div", { key: 'e16de1bb3c851988050b12ac07c7adcedab560da', class: "sd-confirm-modal__button" }, this.subButtonLabel && (h("sd-button-v2", { key: '8c14b099e6b8a93673ff3eb2f0931a45c98d620a', name: SUB_BUTTON_PRESET, label: this.subButtonLabel, onSdClick: () => this.cancel.emit() })), h("sd-button-v2", { key: 'fb9a3984f0476d2fceca98bac186d0a52a0ab206', name: this.resolvedMainButton, label: this.mainButtonLabel, onSdClick: () => this.ok.emit() }))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "sd-confirm-modal"; }
|
|
75
75
|
static get originalStyleUrls() {
|
package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js
CHANGED
|
@@ -133,7 +133,7 @@ export class SdDatePickerCalendar {
|
|
|
133
133
|
'--calendar-day-font-weight': CALENDAR_LAYOUT.day.fontWeight,
|
|
134
134
|
'--calendar-day-bold-font-weight': CALENDAR_LAYOUT.day.boldFontWeight,
|
|
135
135
|
};
|
|
136
|
-
return (h("div", { key: '
|
|
136
|
+
return (h("div", { key: '9e47bf6790f947639b1868a653c9d451905d4a49', class: "sd-date-picker-calendar", style: cssVars }, h("div", { key: '641a9726b22aff0e465347bf3363fdd6f3110919', class: "sd-date-picker-calendar__header" }, h("div", { key: '71e4838be05148f989af7ccb692482db425c38d7', class: "sd-date-picker-calendar__nav-group" }, h("sd-ghost-button", { key: '060795c43807ee50b13448ac559fb7945a48d8be', ariaLabel: "prevYear", size: "xxs", icon: "chevronLeft", onClick: this.goPrevYear }), h("span", { key: '5cf2c070134aa04dc5f9d506b91bdff759d9453b', class: "sd-date-picker-calendar__label" }, this.currentYear), h("sd-ghost-button", { key: 'dd3c9d26bc4b79673e12b90d2a7d563e4adda707', ariaLabel: "nextYear", size: "xxs", icon: "chevronRight", onClick: this.goNextYear })), h("span", { key: '962ee5b8adbcbf988bc94b81b3dd0fe4e388a588', class: "sd-date-picker-calendar__divider", "aria-hidden": "true" }), h("div", { key: '54d1fcfbcbe1e232cbea5cdd9a948045207771c7', class: "sd-date-picker-calendar__nav-group sd-date-picker-calendar__nav-group-month" }, h("sd-ghost-button", { key: 'ff8011dbf88a257ba4b47dbcd1a3b8c414b4e7b5', ariaLabel: "prevMonth", size: "xxs", icon: "chevronLeft", onClick: this.goPrevMonth }), h("span", { key: '2594eed1efacc8b3bdf648ab7527a81608e2321d', class: "sd-date-picker-calendar__label sd-date-picker-calendar__label-month" }, this.currentMonth, "\uC6D4"), h("sd-ghost-button", { key: 'a83692da9caeaef4c02c777d43f769026182d5a2', ariaLabel: "nextMonth", size: "xxs", icon: "chevronRight", onClick: this.goNextMonth }))), h("div", { key: 'bc131a11ed98ac84dee775090ca24be794fece55', class: "sd-date-picker-calendar__week" }, WEEK_LABELS.map(label => (h("span", { key: label, class: "sd-date-picker-calendar__week-cell" }, label)))), h("div", { key: 'bc4deb734c9c01806ae7e75640f97d76c9e79f64', class: "sd-date-picker-calendar__grid" }, this.cells.map(cell => {
|
|
137
137
|
const isSelected = cell.inCurrentMonth && !!this.value && this.value === cell.date;
|
|
138
138
|
const isToday = cell.inCurrentMonth && today === cell.date;
|
|
139
139
|
const isDisabled = cell.inCurrentMonth && this.isDisabled(cell.date);
|
package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js
CHANGED
|
@@ -31,10 +31,10 @@ export class SdDatePickerTrigger {
|
|
|
31
31
|
? DATEPICKER_COLORS.icon.disabled
|
|
32
32
|
: DATEPICKER_COLORS.icon.default,
|
|
33
33
|
};
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '5d8508069232bba144bfb9480b0befe420a3392b', class: {
|
|
35
35
|
'sd-date-picker-trigger': true,
|
|
36
36
|
'sd-date-picker-trigger--disabled': this.disabled,
|
|
37
|
-
}, style: cssVars, onClick: this.handleClick }, h("sd-icon", { key: '
|
|
37
|
+
}, style: cssVars, onClick: this.handleClick }, h("sd-icon", { key: '71131e34dd1225e9633395041f7a768c020343bd', name: "date", size: Number(sizeTokens.iconSize), color: "var(--trigger-icon-color)", class: "sd-date-picker-trigger__icon" }), h("span", { key: '192520646e181add5f87f6ce1d3a5caf8556b163', class: "sd-date-picker-trigger__text" }, hasValue ? this.displayText : this.placeholder)));
|
|
38
38
|
}
|
|
39
39
|
static get is() { return "sd-date-picker-trigger"; }
|
|
40
40
|
static get originalStyleUrls() {
|
|
@@ -51,7 +51,7 @@ export const CALENDAR_LAYOUT = {
|
|
|
51
51
|
rowGap: datepickerTokens.datepicker.calendar.grid.rowGap,
|
|
52
52
|
},
|
|
53
53
|
day: {
|
|
54
|
-
size: datepickerTokens.datepicker.calendar.day.
|
|
54
|
+
size: datepickerTokens.datepicker.calendar.day.width,
|
|
55
55
|
circleSize: datepickerTokens.datepicker.calendar.day.circle.size,
|
|
56
56
|
circleRadius: datepickerTokens.datepicker.calendar.day.circle.radius,
|
|
57
57
|
defaultText: datepickerTokens.datepicker.calendar.day.default.text,
|