@sellmate/design-system 1.27.1 → 1.28.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.listBox-MHAv4Yy7.js +15 -0
- package/dist/cjs/{component.listItem-Bnh0r_CA.js → component.listItem-cAO_ppOz.js} +0 -7
- package/dist/cjs/{component.table-BrI3b--h.js → component.table-POXY492T.js} +5 -4
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index-DsYLSqCp.js → index-D12oddge.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- 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_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-calendar_2.cjs.entry.js +1 -1
- package/dist/cjs/sd-callout.cjs.entry.js +1 -1
- package/dist/cjs/sd-card.cjs.entry.js +1 -1
- package/dist/cjs/sd-checkbox.cjs.entry.js +2 -3
- package/dist/cjs/sd-chip-input.cjs.entry.js +4 -3
- package/dist/cjs/sd-chip.cjs.entry.js +1 -1
- package/dist/cjs/sd-circle-progress.cjs.entry.js +5 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +6 -3
- package/dist/cjs/sd-date-box.cjs.entry.js +1 -1
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +68 -15
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +1 -1
- package/dist/cjs/sd-divider.cjs.entry.js +1 -1
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-field_3.cjs.entry.js +6 -6
- package/dist/cjs/sd-form.cjs.entry.js +1 -1
- package/dist/cjs/sd-ghost-button_3.cjs.entry.js +2 -3
- package/dist/cjs/sd-guide.cjs.entry.js +4 -9
- package/dist/cjs/sd-key-value-table.cjs.entry.js +2 -2
- package/dist/cjs/sd-linear-progress.cjs.entry.js +2 -2
- 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 +14 -12
- package/dist/cjs/sd-popover.cjs.entry.js +2 -2
- package/dist/cjs/sd-popup.cjs.entry.js +2 -2
- package/dist/cjs/sd-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/sd-radio.cjs.entry.js +2 -3
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +10 -9
- package/dist/cjs/{sd-select.config-C9Ohe1QA.js → sd-select.config-omyxekRa.js} +3 -2
- package/dist/cjs/sd-select_3.cjs.entry.js +12 -11
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +9 -9
- package/dist/cjs/{sd-table.config-DzC55sap.js → sd-table.config-DFy_S4bc.js} +5 -4
- package/dist/cjs/sd-tabs.cjs.entry.js +2 -2
- 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/{tooltipArrow-FLiD3ceS.js → tooltipArrow-Dda4ik0V.js} +1 -1
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.css +12 -0
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +23 -1
- package/dist/collection/components/sd-file-picker/sd-file-picker.config.js +9 -0
- package/dist/collection/components/sd-file-picker/sd-file-picker.css +18 -0
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +73 -7
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -1
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +1 -1
- package/dist/collection/components/sd-guide/sd-guide.config.js +0 -1
- package/dist/collection/components/sd-guide/sd-guide.css +0 -3
- package/dist/collection/components/sd-guide/sd-guide.js +2 -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.css +7 -0
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +18 -1
- package/dist/collection/components/sd-number-input/sd-number-input.js +4 -4
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popup/sd-popup.js +1 -1
- package/dist/collection/components/sd-radio-group/sd-radio-group.css +2 -2
- 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 -3
- package/dist/collection/components/sd-table/sd-table.js +6 -6
- 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.js +3 -3
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +3 -1
- package/dist/collection/components/sd-tabs/sd-tabs.js +1 -1
- 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/components/index.js +1 -1
- package/dist/components/{p-BaRjXqSM.js → p-1i6Q61TF.js} +1 -1
- package/dist/components/p-4S0_Ykmo.js +1 -0
- package/dist/components/p-5pkzwl5N.js +1 -0
- package/dist/components/{p-BxphFsxh.js → p-B-pJW3nY.js} +1 -1
- package/dist/components/{p-CIPPETF-.js → p-B2pYDEK7.js} +1 -1
- package/dist/components/{p-DTb2c83G.js → p-B3HYnTGx.js} +1 -1
- package/dist/components/{p-BHNytAtJ.js → p-B6ezDhRg.js} +1 -1
- package/dist/components/{p-DsQQFJ8o.js → p-BAVsc1Ml.js} +1 -1
- package/dist/components/{p-PvltLPHp.js → p-BCxePXvg.js} +1 -1
- package/dist/components/{p-BV4cnHWn.js → p-BE6ymp9E.js} +1 -1
- package/dist/components/{p-BU1H7ElF.js → p-BKV1WAFb.js} +1 -1
- package/dist/components/{p-Bk6aI8rL.js → p-BNHhtZUf.js} +1 -1
- package/dist/components/{p-DVq9oE_p.js → p-BQ4Okfcm.js} +1 -1
- package/dist/components/{p-CmK45nj3.js → p-BSxleKw8.js} +1 -1
- package/dist/components/{p-CJcs7kNH.js → p-BUgGuigd.js} +1 -1
- package/dist/components/{p-BOJALVxB.js → p-BWHQn4fD.js} +1 -1
- package/dist/components/{p-BQqXWtI6.js → p-BZXgIBUG.js} +1 -1
- package/dist/components/p-Bgxca9o5.js +1 -0
- package/dist/components/{p-DT-e9J59.js → p-BnI9HUOv.js} +1 -1
- package/dist/components/{p-Du_Yc-lW.js → p-BuADVB78.js} +1 -1
- package/dist/components/{p-BFy8txYj.js → p-Bxb7TcZh.js} +1 -1
- package/dist/components/p-C0tnN4yn.js +1 -0
- package/dist/components/{p-DnxEeX9I.js → p-CHHlQceE.js} +1 -1
- package/dist/components/{p--AZbwi7P.js → p-CMvHDxR5.js} +1 -1
- package/dist/components/{p-DkaajrxX.js → p-CSh-DcM7.js} +1 -1
- package/dist/components/{p-DMrzTImA.js → p-CTDPl65u.js} +1 -1
- package/dist/components/p-Cf62Nvrx.js +1 -0
- package/dist/components/{p-SROa9QCy.js → p-ClD0nx1l.js} +1 -1
- package/dist/components/{p-Cok_EW_N.js → p-DNbbdJIc.js} +1 -1
- package/dist/components/p-DbPS61bp.js +1 -0
- package/dist/components/p-DckXBMgo.js +1 -0
- package/dist/components/p-DlJaYVWf.js +1 -0
- package/dist/components/p-DmAnTwUx.js +1 -0
- package/dist/components/{p-hP1aeMuZ.js → p-E8OA_psS.js} +1 -1
- package/dist/components/{p-D7XGOtx0.js → p-IDlLs_KA.js} +1 -1
- package/dist/components/p-PFLrdhQj.js +1 -0
- package/dist/components/{p-CvSPsoRb.js → p-l9RiSWRc.js} +1 -1
- package/dist/components/{p-CwwJD-NF.js → p-paSLRXAR.js} +1 -1
- package/dist/components/{p-Dy6LmOzw.js → p-pwGA4sDj.js} +1 -1
- package/dist/components/{p-DYp8I4VH.js → p-vtuEYpc6.js} +1 -1
- package/dist/components/p-x9AWBHPy.js +1 -0
- package/dist/components/{p-DeXLIS7e.js → p-yxZBh03f.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.js +1 -1
- package/dist/components/sd-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip-input.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.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-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/p-0048de73.entry.js +1 -0
- package/dist/design-system/{p-9603971e.entry.js → p-071e73e0.entry.js} +1 -1
- package/dist/design-system/{p-7540f591.entry.js → p-0b8c86c3.entry.js} +1 -1
- package/dist/design-system/{p-07755193.entry.js → p-1230b51b.entry.js} +1 -1
- package/dist/design-system/p-20f69606.entry.js +1 -0
- package/dist/design-system/{p-947dcc28.entry.js → p-2553bb1f.entry.js} +1 -1
- package/dist/design-system/{p-b86a69ce.entry.js → p-26f2f4c2.entry.js} +1 -1
- package/dist/design-system/{p-edfb5c83.entry.js → p-27197194.entry.js} +1 -1
- package/dist/design-system/{p-8ac340db.entry.js → p-287d8016.entry.js} +1 -1
- package/dist/design-system/p-3b3a46cd.entry.js +1 -0
- package/dist/design-system/{p-a4e1dd8c.entry.js → p-4970f1ff.entry.js} +1 -1
- package/dist/design-system/p-4S0_Ykmo.js +1 -0
- package/dist/design-system/{p-5aa5aec3.entry.js → p-5687ed0c.entry.js} +1 -1
- package/dist/design-system/{p-06b56059.entry.js → p-58ec51db.entry.js} +1 -1
- package/dist/design-system/{p-d790fbb8.entry.js → p-5c8f4d9c.entry.js} +1 -1
- package/dist/design-system/p-5pkzwl5N.js +1 -0
- package/dist/design-system/{p-dfa16f49.entry.js → p-61f5d5ea.entry.js} +1 -1
- package/dist/design-system/{p-55c8ce37.entry.js → p-67f19734.entry.js} +1 -1
- package/dist/design-system/{p-5142cd06.entry.js → p-70608fec.entry.js} +1 -1
- package/dist/design-system/{p-26297c6e.entry.js → p-750a9112.entry.js} +1 -1
- package/dist/design-system/{p-cb0cbcb0.entry.js → p-75726e20.entry.js} +1 -1
- package/dist/design-system/{p-9825e76c.entry.js → p-7abf62f3.entry.js} +1 -1
- package/dist/design-system/{p-5f5f2fbe.entry.js → p-7ae27a26.entry.js} +1 -1
- package/dist/design-system/p-84d0181b.entry.js +1 -0
- package/dist/design-system/{p-49b1636a.entry.js → p-91f7be74.entry.js} +1 -1
- package/dist/design-system/p-94d6b7b4.entry.js +1 -0
- package/dist/design-system/{p-80abdfe7.entry.js → p-9b21773a.entry.js} +1 -1
- package/dist/design-system/{p-dae6914d.entry.js → p-9c0bca09.entry.js} +1 -1
- package/dist/design-system/{p-B-LOf2aM.js → p-CRWmn35N.js} +1 -1
- package/dist/design-system/p-Cf62Nvrx.js +1 -0
- package/dist/design-system/p-CuAh9n2o.js +1 -0
- package/dist/design-system/p-DDNBPrZh.js +2 -0
- package/dist/design-system/p-DlJaYVWf.js +1 -0
- package/dist/design-system/{p-6aec5853.entry.js → p-a12d7362.entry.js} +1 -1
- package/dist/design-system/{p-459a408f.entry.js → p-a938ffee.entry.js} +1 -1
- package/dist/design-system/{p-270c8529.entry.js → p-b831eded.entry.js} +1 -1
- package/dist/design-system/{p-e63bf0e1.entry.js → p-bab692c6.entry.js} +1 -1
- package/dist/design-system/{p-8c1a9374.entry.js → p-bbd24816.entry.js} +1 -1
- package/dist/design-system/{p-b9387621.entry.js → p-c5502585.entry.js} +1 -1
- package/dist/design-system/p-c81898a0.entry.js +1 -0
- package/dist/design-system/{p-9c0d3011.entry.js → p-d4e2f412.entry.js} +1 -1
- package/dist/design-system/{p-839e6b5a.entry.js → p-d6b3d78b.entry.js} +1 -1
- package/dist/design-system/{p-761c008c.entry.js → p-d7e302af.entry.js} +1 -1
- package/dist/design-system/{p-ff9ccbf6.entry.js → p-dbfa3931.entry.js} +1 -1
- package/dist/design-system/{p-fd671afe.entry.js → p-f16985c9.entry.js} +1 -1
- package/dist/design-system/{p-5f1dae23.entry.js → p-fa967329.entry.js} +1 -1
- package/dist/design-system/{p-ddb9a2c4.entry.js → p-fbeed0e4.entry.js} +1 -1
- package/dist/esm/component.listBox-DlJaYVWf.js +13 -0
- package/dist/esm/{component.listItem-U8VaRj9c.js → component.listItem-4S0_Ykmo.js} +1 -7
- package/dist/esm/{component.table-D9tQwTWy.js → component.table-5pkzwl5N.js} +5 -4
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-BZg-6aSz.js → index-DDNBPrZh.js} +1 -1
- package/dist/esm/loader.js +3 -3
- 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_2.entry.js +1 -1
- package/dist/esm/sd-calendar_2.entry.js +1 -1
- package/dist/esm/sd-callout.entry.js +1 -1
- package/dist/esm/sd-card.entry.js +1 -1
- package/dist/esm/sd-checkbox.entry.js +2 -3
- package/dist/esm/sd-chip-input.entry.js +3 -2
- package/dist/esm/sd-chip.entry.js +1 -1
- package/dist/esm/sd-circle-progress.entry.js +5 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +6 -3
- package/dist/esm/sd-date-box.entry.js +1 -1
- package/dist/esm/sd-date-picker_7.entry.js +68 -15
- package/dist/esm/sd-date-range-picker-calendar.entry.js +1 -1
- package/dist/esm/sd-divider.entry.js +1 -1
- package/dist/esm/sd-dropdown-button.entry.js +1 -1
- package/dist/esm/sd-field_3.entry.js +6 -6
- package/dist/esm/sd-form.entry.js +1 -1
- package/dist/esm/sd-ghost-button_3.entry.js +2 -3
- package/dist/esm/sd-guide.entry.js +4 -9
- package/dist/esm/sd-key-value-table.entry.js +2 -2
- package/dist/esm/sd-linear-progress.entry.js +2 -2
- 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 +14 -12
- package/dist/esm/sd-popover.entry.js +2 -2
- package/dist/esm/sd-popup.entry.js +2 -2
- package/dist/esm/sd-radio-button.entry.js +1 -1
- package/dist/esm/sd-radio.entry.js +2 -3
- package/dist/esm/sd-select-list-item_2.entry.js +10 -9
- package/dist/esm/{sd-select.config-D6ktrl7E.js → sd-select.config-CeHGlqOT.js} +2 -1
- package/dist/esm/sd-select_3.entry.js +12 -11
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-BbIWNUE2.js → sd-table.config-DmOBlnsM.js} +5 -4
- package/dist/esm/sd-table.entry.js +9 -9
- package/dist/esm/sd-tabs.entry.js +2 -2
- 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/{tooltipArrow-BAi-pktU.js → tooltipArrow-blL0aWPE.js} +1 -1
- package/dist/types/components/sd-circle-progress/sd-circle-progress.d.ts +2 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.config.d.ts +6 -0
- package/dist/types/components/sd-file-picker/sd-file-picker.d.ts +10 -0
- package/dist/types/components/sd-guide/sd-guide.config.d.ts +0 -1
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.config.d.ts +1 -0
- package/dist/types/components.d.ts +27 -0
- package/hydrate/index.js +151 -88
- package/hydrate/index.mjs +151 -88
- package/package.json +1 -1
- package/dist/components/p-BXcizROm.js +0 -1
- package/dist/components/p-BZdgdRXJ.js +0 -1
- package/dist/components/p-CV5LiFKt.js +0 -1
- package/dist/components/p-CiTn4ZiI.js +0 -1
- package/dist/components/p-D9tQwTWy.js +0 -1
- package/dist/components/p-DmC83_E9.js +0 -1
- package/dist/components/p-DvvGi4J_.js +0 -1
- package/dist/components/p-NeXvaRu7.js +0 -1
- package/dist/components/p-U8VaRj9c.js +0 -1
- package/dist/components/p-jwusYvH0.js +0 -1
- package/dist/design-system/p-147e0413.entry.js +0 -1
- package/dist/design-system/p-51c7839c.entry.js +0 -1
- package/dist/design-system/p-65285327.entry.js +0 -1
- package/dist/design-system/p-BXcizROm.js +0 -1
- package/dist/design-system/p-BZg-6aSz.js +0 -2
- package/dist/design-system/p-CAFz8W8_.js +0 -1
- package/dist/design-system/p-D9tQwTWy.js +0 -1
- package/dist/design-system/p-U8VaRj9c.js +0 -1
- package/dist/design-system/p-b84f5550.entry.js +0 -1
- package/dist/design-system/p-efc55114.entry.js +0 -1
- package/dist/design-system/p-fe2b853f.entry.js +0 -1
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var index$1 = require('./index-BUvXpPc3.js');
|
|
5
5
|
var sdDatePicker_config = require('./sd-date-picker.config-De7ahWIs.js');
|
|
6
|
+
var component_listBox = require('./component.listBox-MHAv4Yy7.js');
|
|
6
7
|
var component_textinput = require('./component.textinput-Bb-nU5xI.js');
|
|
7
8
|
var component_field = require('./component.field-C7it8cZm.js');
|
|
8
9
|
require('./component.datepicker-CUQbDSku.js');
|
|
@@ -323,8 +324,16 @@ const FILE_PICKER_COLORS = {
|
|
|
323
324
|
disabled: fp.icon.disabled,
|
|
324
325
|
},
|
|
325
326
|
};
|
|
327
|
+
// useMultipleListBox 모드에서 파일 칩을 담는 floating 리스트박스 카드
|
|
328
|
+
// (sd-select-listbox 와 동일한 배경/radius/그림자 토큰 사용)
|
|
329
|
+
const FILE_PICKER_LIST_BOX = {
|
|
330
|
+
radius: component_listBox.listBoxTokens.listBox.radius,
|
|
331
|
+
bg: component_listBox.listBoxTokens.listBox.bg,
|
|
332
|
+
chipPadding: component_listBox.listBoxTokens.listBox.chip.paddingXY,
|
|
333
|
+
chipGap: component_listBox.listBoxTokens.listBox.chip.gap,
|
|
334
|
+
};
|
|
326
335
|
|
|
327
|
-
const sdFilePickerCss = () => `sd-file-picker{display:flex;flex-direction:column;width:100%}.sd-file-picker__wrapper{display:flex;flex-direction:column;width:100%}.sd-file-picker__chip-list{display:flex;flex-flow:row wrap;gap:8px;margin-top:8px}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:998;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{padding:0}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:not(.sd-file-picker--inline-disabled) .sd-file-picker__content:hover .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
|
|
336
|
+
const sdFilePickerCss = () => `sd-file-picker{display:flex;flex-direction:column;width:100%}.sd-file-picker__wrapper{display:flex;flex-direction:column;width:100%}.sd-file-picker__chip-list{display:flex;flex-flow:row wrap;gap:8px;margin-top:8px}.sd-file-picker__content{width:100%;height:100%;display:flex;align-items:center;padding:0 var(--sd-file-picker-padding-x);gap:var(--sd-file-picker-gap);cursor:pointer;-webkit-user-select:none;user-select:none;position:relative;vertical-align:middle}.sd-file-picker__text{flex:1;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:var(--sd-file-picker-font-weight);font-size:var(--sd-file-picker-font-size);line-height:var(--sd-file-picker-line-height);color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker__text--placeholder{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker__icon{flex-shrink:0}.sd-file-picker__clear-icon{flex-shrink:0;cursor:pointer;transition:opacity 0.2s ease}.sd-file-picker__clear-icon:hover{opacity:0.7}.sd-file-picker__caret{flex-shrink:0;cursor:pointer;transition:transform 0.15s ease}.sd-file-picker__caret--open{transform:rotate(180deg)}.sd-file-picker__listbox{display:flex;flex-direction:column;align-items:stretch;box-sizing:border-box;max-width:100%;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1)}.sd-file-picker__input{display:none}.sd-file-picker__tooltip{position:absolute;top:calc(100% - 4px);left:50%;transform:translate(-50%);z-index:998;white-space:nowrap;padding:8px 12px;background:rgba(0, 0, 0, 0.8);color:white;font-size:12px;line-height:18px;border-radius:4px;pointer-events:none}.sd-field--disabled .sd-file-picker__content{cursor:not-allowed}.sd-field--disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}.sd-file-picker--inline .sd-file-picker__content{padding:0}.sd-file-picker--inline .sd-file-picker__text{color:var(--sd-file-picker-placeholder-color)}.sd-file-picker--inline:not(.sd-file-picker--inline-disabled) .sd-file-picker__content:hover .sd-file-picker__text{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline .sd-file-picker__text--active{color:var(--sd-file-picker-text-color)}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__content{cursor:not-allowed}.sd-file-picker--inline.sd-file-picker--inline-disabled .sd-file-picker__text{color:var(--sd-file-picker-disabled-color)}`;
|
|
328
337
|
|
|
329
338
|
const SdFilePicker = class {
|
|
330
339
|
constructor(hostRef) {
|
|
@@ -343,6 +352,8 @@ const SdFilePicker = class {
|
|
|
343
352
|
inline = false;
|
|
344
353
|
/** 다중 파일 선택 여부 */
|
|
345
354
|
multiple = false;
|
|
355
|
+
/** multiple 파일 목록을 필드 아래 칩 대신, caret(▼) 클릭 시 열리는 리스트박스 카드로 표시 */
|
|
356
|
+
useMultipleListBox = false;
|
|
346
357
|
/** 허용할 파일 타입 (input accept 속성과 동일) */
|
|
347
358
|
accept;
|
|
348
359
|
/** 파일 한 개의 최대 크기 (bytes) */
|
|
@@ -386,9 +397,13 @@ const SdFilePicker = class {
|
|
|
386
397
|
hovered = false;
|
|
387
398
|
internalValue = null;
|
|
388
399
|
showTooltip = false;
|
|
400
|
+
isListboxOpen = false;
|
|
401
|
+
listboxWidth = '';
|
|
389
402
|
fileInputRef;
|
|
390
403
|
fileNamesRef;
|
|
404
|
+
contentRef;
|
|
391
405
|
formField;
|
|
406
|
+
static VIEWPORT_PADDING = 20;
|
|
392
407
|
/** 파일 선택 또는 삭제 시 현재 파일 값을 전달합니다. */
|
|
393
408
|
update;
|
|
394
409
|
/** 파일이 크기·개수 제한을 초과하여 거부됐을 때 발생합니다. */
|
|
@@ -490,6 +505,7 @@ const SdFilePicker = class {
|
|
|
490
505
|
this.value = clearedValue;
|
|
491
506
|
this.internalValue = clearedValue;
|
|
492
507
|
this.update?.emit(clearedValue);
|
|
508
|
+
this.isListboxOpen = false;
|
|
493
509
|
if (this.fileInputRef) {
|
|
494
510
|
this.fileInputRef.value = '';
|
|
495
511
|
}
|
|
@@ -499,6 +515,23 @@ const SdFilePicker = class {
|
|
|
499
515
|
return;
|
|
500
516
|
this.fileInputRef?.click();
|
|
501
517
|
};
|
|
518
|
+
/** caret(▼) 클릭 시 파일 목록 리스트박스를 토글한다. */
|
|
519
|
+
handleListboxToggle = (event) => {
|
|
520
|
+
event.stopPropagation();
|
|
521
|
+
if (this.disabled)
|
|
522
|
+
return;
|
|
523
|
+
if (this.isListboxOpen) {
|
|
524
|
+
this.isListboxOpen = false;
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
if (this.contentRef) {
|
|
528
|
+
this.listboxWidth = `${this.contentRef.offsetWidth}px`;
|
|
529
|
+
}
|
|
530
|
+
this.isListboxOpen = true;
|
|
531
|
+
};
|
|
532
|
+
closeListbox = () => {
|
|
533
|
+
this.isListboxOpen = false;
|
|
534
|
+
};
|
|
502
535
|
hasFiles() {
|
|
503
536
|
if (Array.isArray(this.internalValue)) {
|
|
504
537
|
return this.internalValue.length > 0;
|
|
@@ -524,12 +557,28 @@ const SdFilePicker = class {
|
|
|
524
557
|
this.internalValue = newFiles;
|
|
525
558
|
this.value = newFiles;
|
|
526
559
|
this.update?.emit(this.value);
|
|
560
|
+
// 리스트박스에서 마지막 파일을 지우면 caret 이 사라지므로 함께 닫는다.
|
|
561
|
+
if (newFiles.length === 0) {
|
|
562
|
+
this.isListboxOpen = false;
|
|
563
|
+
}
|
|
527
564
|
};
|
|
528
565
|
renderChipList() {
|
|
529
566
|
if (!this.hasChips())
|
|
530
567
|
return null;
|
|
531
568
|
return (index.h("div", { class: "sd-file-picker__chip-list" }, this.internalValue.map((file, index$1) => (index.h("sd-chip", { value: file.name, onSdRemove: () => this.handleChipRemove(index$1) })))));
|
|
532
569
|
}
|
|
570
|
+
renderListbox() {
|
|
571
|
+
if (!this.hasChips() || !this.isListboxOpen)
|
|
572
|
+
return null;
|
|
573
|
+
const listboxStyle = {
|
|
574
|
+
width: this.listboxWidth,
|
|
575
|
+
padding: `${FILE_PICKER_LIST_BOX.chipPadding}px`,
|
|
576
|
+
gap: `${FILE_PICKER_LIST_BOX.chipGap}px`,
|
|
577
|
+
borderRadius: `${FILE_PICKER_LIST_BOX.radius}px`,
|
|
578
|
+
background: FILE_PICKER_LIST_BOX.bg,
|
|
579
|
+
};
|
|
580
|
+
return (index.h("sd-portal", { open: this.isListboxOpen, parentRef: this.contentRef, viewportPadding: SdFilePicker.VIEWPORT_PADDING, onSdClose: this.closeListbox }, index.h("div", { class: "sd-file-picker__listbox", style: listboxStyle }, this.internalValue.map((file, index$1) => (index.h("sd-chip", { value: file.name, editable: false, onSdRemove: () => this.handleChipRemove(index$1) }))))));
|
|
581
|
+
}
|
|
533
582
|
checkOverflow() {
|
|
534
583
|
if (!this.fileNamesRef)
|
|
535
584
|
return;
|
|
@@ -555,21 +604,25 @@ const SdFilePicker = class {
|
|
|
555
604
|
'--sd-system-size-field-sm-height': `${FILE_PICKER_LAYOUT.height}px`,
|
|
556
605
|
'--sd-system-radius-field-sm': `${FILE_PICKER_LAYOUT.radius}px`,
|
|
557
606
|
};
|
|
558
|
-
const
|
|
607
|
+
const showListbox = this.multiple && this.useMultipleListBox;
|
|
608
|
+
const content = (index.h("div", { key: '692bb28ba1adaa90317e18c6b824ab7d2287eb96', role: "button", tabindex: this.disabled ? -1 : 0, class: "sd-file-picker__content", ref: el => (this.contentRef = el), onClick: this.handleClick, onKeyDown: e => {
|
|
559
609
|
if (e.key === 'Enter' || e.key === ' ') {
|
|
560
610
|
e.preventDefault();
|
|
561
611
|
this.handleClick();
|
|
562
612
|
}
|
|
563
|
-
} }, index.h("input", { key: '
|
|
613
|
+
} }, index.h("input", { key: '7a1cddff8097952c0c9eda9ae8d1b46b4a18967e', ref: el => (this.fileInputRef = el), type: "file", class: "sd-file-picker__input", disabled: this.disabled, multiple: this.multiple, accept: this.accept, onInput: this.handleFileChange, "aria-label": this.placeholder ?? 'Click to upload' }), index.h("sd-icon", { key: '2f7dffb5bfc39efb0eace252a45aaaa23091d337', name: "attachFile", size: Number(FILE_PICKER_LAYOUT.iconSize), color: this.getIconColor(), class: "sd-file-picker__icon" }), index.h("div", { key: '1a6ae3daa59c7befebcfcfdcbbb2c46a32c6c40c', ref: el => (this.fileNamesRef = el), class: {
|
|
564
614
|
'sd-file-picker__text': true,
|
|
565
615
|
'sd-file-picker__text--placeholder': !hasFiles,
|
|
566
616
|
'sd-file-picker__text--active': hasFiles,
|
|
567
|
-
} }, displayText), !this.disabled &&
|
|
568
|
-
|
|
617
|
+
} }, displayText), showListbox && hasFiles && !this.disabled && (index.h("sd-ghost-button", { key: '895eafa47b1e1d851794fd471b304f8458bcac0f', icon: "caretDown", size: "xxs", ariaLabel: "toggle file list", disabled: this.disabled, class: {
|
|
618
|
+
'sd-file-picker__caret': true,
|
|
619
|
+
'sd-file-picker__caret--open': this.isListboxOpen,
|
|
620
|
+
}, onClick: this.handleListboxToggle })), !this.disabled && hasFiles && (index.h("sd-ghost-button", { key: '38d3fe31be05ae66a170671ffb4855bce4984630', icon: "close", size: "xxs", ariaLabel: "clear", disabled: this.disabled, class: "sd-file-picker__clear-icon", onClick: this.handleClear })), this.showTooltip && hasFiles && this.hovered && (index.h("div", { key: 'bb94815d7149ce9f1117828f893224c8bc1dbc50', class: "sd-file-picker__tooltip" }, displayText))));
|
|
621
|
+
return (index.h("div", { key: '3ada174508214a9fafd4f7f228ff52eb60aa76e4', class: {
|
|
569
622
|
'sd-file-picker__wrapper': true,
|
|
570
623
|
'sd-file-picker--inline': this.inline,
|
|
571
624
|
'sd-file-picker--inline-disabled': this.inline && this.disabled,
|
|
572
|
-
}, style: cssVars }, index.h("sd-field", { key: '
|
|
625
|
+
}, style: cssVars }, index.h("sd-field", { key: '29314b3ba5fc7c6b7d2f1a93a14381d9fb91bcfc', borderless: this.inline, 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, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false) }, content), this.useMultipleListBox ? this.renderListbox() : this.renderChipList()));
|
|
573
626
|
}
|
|
574
627
|
static get watchers() { return {
|
|
575
628
|
"value": [{
|
|
@@ -765,12 +818,12 @@ const SdInput = class {
|
|
|
765
818
|
'--sd-system-size-field-sm-height': `${sizeTokens.height}px`,
|
|
766
819
|
'--sd-system-radius-field-sm': `${sizeTokens.radius}px`,
|
|
767
820
|
};
|
|
768
|
-
return (index.h("sd-field", { key: '
|
|
821
|
+
return (index.h("sd-field", { key: '7ec67f4433bff2a7d2f1b44935f761d79f0e8681', 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, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, 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 }, index.h("label", { key: '6c0118c2610f06d13d4a38a857bf37c7ad9508d0', class: "sd-input__content" }, index.h("slot", { key: '31cd8fe72ab21cb7a562accff98545fdf59efa80', name: "prefix" }), index.h("input", { key: '47579f31e9255bda6d5623eca8071ffdafd0ca55', name: this.name, ref: el => (this.nativeEl = el), class: `sd-input__native ${this.inputClass}`, type: this.type === 'password' && this.passwordVisible ? 'text' : (this.type ?? 'text'), value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, autocomplete: this.autocomplete || undefined, maxlength: this.maxlength, minlength: this.minlength, inputmode: this.inputmode, enterkeyhint: this.enterkeyhint, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.inputStyle }), index.h("slot", { key: 'f2d6e313c8c542d88c252e26cbb2618977fda5fa', name: "suffix" }), this.clearable && this.internalValue && !this.disabled && !this.readonly && (index.h("sd-ghost-button", { key: 'b24cb32d5963b244aef76e31f1c0f350d316be5c', icon: "close", ariaLabel: "clear", size: "xxs", disabled: this.disabled, class: "sd-input__clear-icon", onClick: async () => {
|
|
769
822
|
if (this.disabled || this.readonly)
|
|
770
823
|
return;
|
|
771
824
|
this.internalValue = '';
|
|
772
825
|
await this.formField?.sdValidate();
|
|
773
|
-
} })), this.type === 'password' && (index.h("sd-ghost-button", { key: '
|
|
826
|
+
} })), this.type === 'password' && (index.h("sd-ghost-button", { key: '9592350fd3820fa8c8af637cb84f2d4517d6decd', icon: this.passwordVisible ? 'visibilityOn' : 'visibilityOff', ariaLabel: "visibility", size: "xxs", disabled: this.disabled || this.readonly, class: "sd-input__password-icon", onClick: () => {
|
|
774
827
|
if (this.disabled || this.readonly)
|
|
775
828
|
return;
|
|
776
829
|
this.passwordVisible = !this.passwordVisible;
|
|
@@ -1194,15 +1247,15 @@ const SdNumberInput = class {
|
|
|
1194
1247
|
'--sd-textinput-input-hint-typography-line-height': `${NUMBER_INPUT_HINT.typography.lineHeight}px`,
|
|
1195
1248
|
'--sd-textinput-input-contents-gap': `${NUMBER_INPUT_CONTENTS_GAP}px`,
|
|
1196
1249
|
};
|
|
1197
|
-
return (index.h("sd-field", { key: '
|
|
1250
|
+
return (index.h("sd-field", { key: '9e82f7ec1e40c7f435233d1d8e05fdd2de0c2712', 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, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, 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 }, index.h("div", { key: 'b5f2e1c32bbba8147a72edf2dfe42f591d81d6f7', class: {
|
|
1198
1251
|
'sd-number-input__content': true,
|
|
1199
1252
|
'sd-number-input__content--no-stepper': !this.useButton,
|
|
1200
|
-
} }, this.useButton && (index.h("button", { key: '
|
|
1253
|
+
} }, this.useButton && (index.h("button", { key: '07e053c769556282da7595ba7d185db7c9af19a2', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--decrement", disabled: this.isDecrementDisabled(), onClick: this.handleDecrement, tabindex: -1 }, index.h("sd-icon", { key: '95b48b8a0fa45ff60b3097d24405b48e4776b928', name: "minus", size: iconSize, color: this.isDecrementDisabled()
|
|
1201
1254
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
1202
|
-
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && index.h("span", { key: '
|
|
1255
|
+
: NUMBER_INPUT_STEPPER.icon.default }))), this.inputPrefix && index.h("span", { key: '2381fade9767b593d5f6848bc411c3244a6f9da2', class: "sd-number-input__prefix" }, this.inputPrefix), index.h("input", { key: '00b886990e9c1155c20ee404eda26777e56d31c2', name: this.name, ref: el => (this.nativeEl = el), class: `sd-number-input__native ${this.inputClass}`, type: "text", inputMode: "numeric", value: this.displayValue, placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readonly: this.readonly, autofocus: this.autoFocus, onInput: this.handleInput, onKeyDown: this.handleKeyDown, onFocus: this.handleFocus, onBlur: this.handleBlur, style: {
|
|
1203
1256
|
textAlign: this.useButton ? 'center' : 'right',
|
|
1204
1257
|
...this.inputStyle,
|
|
1205
|
-
} }), this.inputSuffix && index.h("span", { key: '
|
|
1258
|
+
} }), this.inputSuffix && index.h("span", { key: '5254313e957f3ded4139f047b588e38222c33975', class: "sd-number-input__suffix" }, this.inputSuffix), this.useButton && (index.h("button", { key: 'f7389a1c5869460791249f579b3195b3583255fe', type: "button", class: "sd-number-input__stepper sd-number-input__stepper--increment", disabled: this.isIncrementDisabled(), onClick: this.handleIncrement, tabindex: -1 }, index.h("sd-icon", { key: 'b272b62e2ce27a1e5ecb86738af6eacb89b0d6c6', name: "add", size: iconSize, color: this.isIncrementDisabled()
|
|
1206
1259
|
? NUMBER_INPUT_STEPPER.icon.disabled
|
|
1207
1260
|
: NUMBER_INPUT_STEPPER.icon.default }))))));
|
|
1208
1261
|
}
|
|
@@ -1217,7 +1270,7 @@ const SdNumberInput = class {
|
|
|
1217
1270
|
};
|
|
1218
1271
|
SdNumberInput.style = sdNumberInputCss();
|
|
1219
1272
|
|
|
1220
|
-
const sdRadioGroupCss = () => `sd-radio{display:inline-flex;width:fit-content;height:var(--sd-radio-line-height);line-height:0}sd-radio .sd-radio{cursor:pointer;display:inline-flex;align-items:center;gap:var(--sd-radio-gap);height:var(--sd-radio-line-height);max-height:var(--sd-radio-line-height)}sd-radio .sd-radio>input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}sd-radio .sd-radio>input:focus-visible+.sd-radio__circle{box-shadow:0 0 0 2px white, 0 0 0 4px var(--sd-radio-checked-border);outline:none}sd-radio .sd-radio__circle{position:relative;width:var(--sd-radio-size);height:var(--sd-radio-size);border-radius:50%;border:var(--sd-radio-border-width) solid var(--sd-radio-unchecked-border);box-sizing:border-box;background:var(--sd-radio-unchecked-bg);display:inline-flex;flex-shrink:0}sd-radio .sd-radio__label{font-size:var(--sd-radio-font-size);font-weight:var(--sd-radio-font-weight);color:var(--sd-radio-label-color);line-height:var(--sd-radio-line-height);display:inline-flex;flex-direction:column}sd-radio .sd-radio__label::before{content:attr(data-label);height:0;font-weight:var(--sd-radio-selected-font-weight);visibility:hidden;overflow:hidden;user-select:none;pointer-events:none}sd-radio .sd-radio:hover:not(.sd-radio--disabled) .sd-radio__circle{background:var(--sd-radio-unchecked-bg-hover);border-color:var(--sd-radio-unchecked-border-hover)}sd-radio .sd-radio--checked .sd-radio__label{font-weight:var(--sd-radio-selected-font-weight)}sd-radio .sd-radio--checked .sd-radio__circle{border-color:var(--sd-radio-checked-border)}sd-radio .sd-radio--checked .sd-radio__circle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:var(--sd-radio-dot-size);height:var(--sd-radio-dot-size);border-radius:50%;background:var(--sd-radio-checked-dot)}sd-radio .sd-radio--disabled{cursor:not-allowed}sd-radio .sd-radio--disabled .sd-radio__label{color:var(--sd-radio-label-disabled-color)}sd-radio .sd-radio--disabled .sd-radio__circle{background:var(--sd-radio-disabled-bg);border-color:var(--sd-radio-disabled-border)}sd-radio .sd-radio--disabled.sd-radio--checked .sd-radio__circle::after{background:var(--sd-radio-disabled-dot)}sd-radio-group{display:inline-block}sd-radio-group .sd-radio-group{display:flex}sd-radio-group .sd-radio-group--vertical{flex-direction:column;gap:
|
|
1273
|
+
const sdRadioGroupCss = () => `sd-radio{display:inline-flex;width:fit-content;height:var(--sd-radio-line-height);line-height:0}sd-radio .sd-radio{cursor:pointer;display:inline-flex;align-items:center;gap:var(--sd-radio-gap);height:var(--sd-radio-line-height);max-height:var(--sd-radio-line-height)}sd-radio .sd-radio>input{position:absolute;width:0;height:0;opacity:0;pointer-events:none}sd-radio .sd-radio>input:focus-visible+.sd-radio__circle{box-shadow:0 0 0 2px white, 0 0 0 4px var(--sd-radio-checked-border);outline:none}sd-radio .sd-radio__circle{position:relative;width:var(--sd-radio-size);height:var(--sd-radio-size);border-radius:50%;border:var(--sd-radio-border-width) solid var(--sd-radio-unchecked-border);box-sizing:border-box;background:var(--sd-radio-unchecked-bg);display:inline-flex;flex-shrink:0}sd-radio .sd-radio__label{font-size:var(--sd-radio-font-size);font-weight:var(--sd-radio-font-weight);color:var(--sd-radio-label-color);line-height:var(--sd-radio-line-height);display:inline-flex;flex-direction:column}sd-radio .sd-radio__label::before{content:attr(data-label);height:0;font-weight:var(--sd-radio-selected-font-weight);visibility:hidden;overflow:hidden;user-select:none;pointer-events:none}sd-radio .sd-radio:hover:not(.sd-radio--disabled) .sd-radio__circle{background:var(--sd-radio-unchecked-bg-hover);border-color:var(--sd-radio-unchecked-border-hover)}sd-radio .sd-radio--checked .sd-radio__label{font-weight:var(--sd-radio-selected-font-weight)}sd-radio .sd-radio--checked .sd-radio__circle{border-color:var(--sd-radio-checked-border)}sd-radio .sd-radio--checked .sd-radio__circle::after{content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:var(--sd-radio-dot-size);height:var(--sd-radio-dot-size);border-radius:50%;background:var(--sd-radio-checked-dot)}sd-radio .sd-radio--disabled{cursor:not-allowed}sd-radio .sd-radio--disabled .sd-radio__label{color:var(--sd-radio-label-disabled-color)}sd-radio .sd-radio--disabled .sd-radio__circle{background:var(--sd-radio-disabled-bg);border-color:var(--sd-radio-disabled-border)}sd-radio .sd-radio--disabled.sd-radio--checked .sd-radio__circle::after{background:var(--sd-radio-disabled-dot)}sd-radio-group{display:inline-block}sd-radio-group .sd-radio-group{display:flex}sd-radio-group .sd-radio-group--vertical{flex-direction:column;gap:var(--sd-radio-radio-group-gap-vertical)}sd-radio-group .sd-radio-group--horizontal{flex-direction:row;align-items:center;gap:var(--sd-radio-radio-group-gap-horizontal)}`;
|
|
1221
1274
|
|
|
1222
1275
|
const SdRadioGroup = class {
|
|
1223
1276
|
constructor(hostRef) {
|
|
@@ -1424,7 +1477,7 @@ const SdTextarea = class {
|
|
|
1424
1477
|
'--sd-system-size-field-sm-height': 'auto',
|
|
1425
1478
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
1426
1479
|
};
|
|
1427
|
-
return (index.h("sd-field", { key: '
|
|
1480
|
+
return (index.h("sd-field", { key: '2ad9f1d11282bcbf4da1d365e8084b3e6dd1a434', 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, readonly: this.readonly, focused: this.focused, hovered: this.hovered, status: this.status, icon: this.icon, labelTooltip: this.labelTooltip, labelTooltipProps: this.labelTooltipProps, ref: el => (this.formField = el), onMouseEnter: () => (this.hovered = true), onMouseLeave: () => (this.hovered = false), style: cssVars }, index.h("div", { key: '8e70c87579b4d2ec7908b749867ba090cd4ca743', class: "sd-textarea__content" }, index.h("textarea", { key: 'fe72f7208a22c8f36786cb53b8bbf18e5d7cf939', name: this.name, ref: el => (this.nativeEl = el), class: `sd-textarea__native ${this.textareaClass}`, value: this.internalValue || '', placeholder: this.placeholder ?? '입력해 주세요.', disabled: this.disabled, readOnly: this.readonly, autofocus: this.autoFocus, maxLength: this.maxLength, rows: this.rows, spellcheck: this.spellcheck, onInput: this.handleInput, onFocus: event => this.handleFocus('focus', event), onBlur: event => this.handleFocus('blur', event), style: this.textareaStyle }))));
|
|
1428
1481
|
}
|
|
1429
1482
|
static get watchers() { return {
|
|
1430
1483
|
"value": [{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
|
|
5
5
|
var sdButton_config = require('./sd-button.config-BH7gFPmM.js');
|
|
6
6
|
var system = require('./system-MjrAugX-.js');
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var component_field = require('./component.field-C7it8cZm.js');
|
|
5
|
-
var tooltipArrow = require('./tooltipArrow-
|
|
5
|
+
var tooltipArrow = require('./tooltipArrow-Dda4ik0V.js');
|
|
6
6
|
|
|
7
7
|
const FIELD_ADDON_ALIGN_MAP = {
|
|
8
8
|
start: 'flex-start',
|
|
@@ -267,7 +267,7 @@ const SdField = class {
|
|
|
267
267
|
};
|
|
268
268
|
SdField.style = sdFieldCss();
|
|
269
269
|
|
|
270
|
-
const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);
|
|
270
|
+
const sdFloatingPortalCss = () => `.sd-floating-menu{width:fit-content;padding:12px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:20px;position:relative;box-sizing:border-box;background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);animation:sd-floating-fade-in 0.35s ease-out}.sd-floating-menu--top{animation-name:sd-floating-slide-top}.sd-floating-menu--bottom{animation-name:sd-floating-slide-bottom}.sd-floating-menu--left{animation-name:sd-floating-slide-left}.sd-floating-menu--right{animation-name:sd-floating-slide-right}.sd-floating-menu .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--default{background:var(--sd-floating-bg, #07284A);color:var(--sd-floating-content, #FFFFFF);font-weight:500}.sd-floating-menu--default .sd-floating-menu__arrow{color:var(--sd-floating-bg, #07284A)}.sd-floating-menu--danger{background:var(--sd-floating-bg, #FCE6E6);color:var(--sd-floating-content, #FB4444);font-weight:700}.sd-floating-menu--danger .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FCE6E6)}.sd-floating-menu--warning{background:var(--sd-floating-bg, #FEF1EA);color:var(--sd-floating-content, #FF6B00);font-weight:700}.sd-floating-menu--warning .sd-floating-menu__arrow{color:var(--sd-floating-bg, #FEF1EA)}.sd-floating-menu--accent{background:var(--sd-floating-bg, #E6F1FF);color:var(--sd-floating-content, #0075FF);font-weight:700}.sd-floating-menu--accent .sd-floating-menu__arrow{color:var(--sd-floating-bg, #E6F1FF)}.sd-floating-menu__arrow{position:absolute;display:flex;width:16px;height:12px}.sd-floating-menu__arrow svg{width:100%;height:100%}.sd-floating-menu__arrow--top{bottom:-12px;left:50%;transform:translateX(-50%)}.sd-floating-menu__arrow--bottom{top:-12px;left:50%;transform:translateX(-50%) rotate(180deg)}.sd-floating-menu__arrow--left{right:-12px;top:50%;transform:translateY(-50%) rotate(-90deg)}.sd-floating-menu__arrow--right{left:-12px;top:50%;transform:translateY(-50%) rotate(90deg)}.sd-floating-menu__content{font-size:12px;line-height:20px}.sd-floating-menu__content .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px;margin-bottom:4px}.sd-floating-menu__content .sd-floating-menu__messages{font-weight:500}.sd-floating-menu__content .sd-floating-menu__buttons{margin-top:12px;display:flex;gap:8px;align-items:center;justify-content:flex-end}.sd-floating-menu__content .sd-floating-menu__buttons--with-link{justify-content:space-between}.sd-floating-menu--popover{padding:16px 20px;box-shadow:2px 2px 12px 2px rgba(0, 0, 0, 0.1)}.sd-floating-menu--popover .sd-floating-menu__content{gap:4px}.sd-floating-menu--popover .sd-floating-menu__title{font-size:14px;font-weight:700;line-height:24px}.sd-floating-menu--popover .sd-floating-menu__messages{font-size:12px;font-weight:500;line-height:20px}.sd-floating-menu--closing{animation:sd-floating-fade-out 0.15s ease-in forwards}.sd-floating-menu--closing.sd-floating-menu--top{animation-name:sd-floating-slide-out-top}.sd-floating-menu--closing.sd-floating-menu--bottom{animation-name:sd-floating-slide-out-bottom}.sd-floating-menu--closing.sd-floating-menu--left{animation-name:sd-floating-slide-out-left}.sd-floating-menu--closing.sd-floating-menu--right{animation-name:sd-floating-slide-out-right}.sd-floating-menu--has-close .sd-floating-menu__content{padding-right:28px}.sd-floating-menu__close-button{position:absolute;top:12px;right:12px}@keyframes sd-floating-fade-out{from{opacity:1}to{opacity:0}}@keyframes sd-floating-slide-out-top{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(4px)}}@keyframes sd-floating-slide-out-bottom{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}@keyframes sd-floating-slide-out-left{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(4px)}}@keyframes sd-floating-slide-out-right{from{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(-4px)}}@keyframes sd-floating-fade-in{from{opacity:0}to{opacity:1}}@keyframes sd-floating-slide-top{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-bottom{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes sd-floating-slide-left{from{opacity:0;transform:translateX(4px)}to{opacity:1;transform:translateX(0)}}@keyframes sd-floating-slide-right{from{opacity:0;transform:translateX(-4px)}to{opacity:1;transform:translateX(0)}}`;
|
|
271
271
|
|
|
272
272
|
const SdFloatingPopover = class {
|
|
273
273
|
constructor(hostRef) {
|
|
@@ -447,7 +447,7 @@ const SdFloatingPopover = class {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
render() {
|
|
450
|
-
return index.h("slot", { key: '
|
|
450
|
+
return index.h("slot", { key: '7bdfc66c7baa0a195d1c0438e6bdd0705a7e5ffd' });
|
|
451
451
|
}
|
|
452
452
|
};
|
|
453
453
|
SdFloatingPopover.style = sdFloatingPortalCss();
|
|
@@ -623,7 +623,7 @@ const SdTooltip = class {
|
|
|
623
623
|
const bodyHTML = this.message && this.message.length > 0
|
|
624
624
|
? this.message.map(line => `<div>${line}</div>`).join('')
|
|
625
625
|
: this.slotContentHTML;
|
|
626
|
-
return (index.h(index.Fragment, { key: '
|
|
626
|
+
return (index.h(index.Fragment, { key: '107b6b1440f67af45a464b40087332516629307e' }, index.h("div", { key: 'fc25ef3729300faabb5ce8b2c6b68ecded179231', ref: el => (this.triggerEl = el), class: triggerClasses, ...divTrigger }, anchorMode ? (index.h("slot", { name: "anchor" })) : hasLabel ? (index.h("sd-button", { ref: el => (this.buttonEl = el), name: this.name ?? 'primary_sm', label: this.label, icon: icon, rightIcon: this.rightIcon, ariaLabel: this.ariaLabel, disabled: this.disabled, type: this.type ?? 'button', class: "sd-tooltip", ...buttonClickTrigger })) : (index.h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (index.h("sd-floating-portal", { key: '05260374115f355f0fda28e02cf4a3a04e0dff42', parentRef: anchorMode ? this.triggerEl : this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, index.h("div", { key: '49a4403383ff133755e0347a27c5552e7b2ed73a', ref: el => (this.menuEl = el), class: {
|
|
627
627
|
'sd-floating-menu': true,
|
|
628
628
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
629
629
|
[`sd-floating-menu--${placement}`]: true,
|
|
@@ -631,7 +631,7 @@ const SdTooltip = class {
|
|
|
631
631
|
}, style: {
|
|
632
632
|
'--sd-floating-bg': typeConfig.bg,
|
|
633
633
|
'--sd-floating-content': typeConfig.content,
|
|
634
|
-
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, index.h("i", { key: '
|
|
634
|
+
}, onMouseEnter: () => this.openTooltip(), onMouseLeave: () => !this.useClose && this.startHideTimer() }, index.h("i", { key: '7944b50d1b97f97689572f672e86c80c0a4d516e', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, index.h(tooltipArrow.TooltipArrow, { key: '582508e26720f9890fec206b5d78a054797d85d1' })), index.h("div", { key: 'a4555d1a0fc7a6c76206626fe8e7dec897a07e74', class: "sd-floating-menu__content", innerHTML: bodyHTML }), this.useClose && (index.h("sd-ghost-button", { key: '2852500a51166b6b851fd7361f75e16d1bcb9d5c', class: "sd-floating-menu__close-button", icon: "close", ariaLabel: "close", size: "xxs", onClick: () => this.closeTooltip() })))))));
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
SdTooltip.style = sdTooltipCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
|
|
5
5
|
const ghostButton = {
|
|
6
6
|
xxs: {
|
|
@@ -545,8 +545,7 @@ const tag = {
|
|
|
545
545
|
grey: {
|
|
546
546
|
content: "#737373",
|
|
547
547
|
bg: "#EEEEEE"
|
|
548
|
-
}
|
|
549
|
-
};
|
|
548
|
+
}};
|
|
550
549
|
var tagTokens = {
|
|
551
550
|
tag: tag
|
|
552
551
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var system = require('./system-MjrAugX-.js');
|
|
5
5
|
var sanitizeInlineHtml = require('./sanitize-inline-html-CRCAeQ46.js');
|
|
6
6
|
|
|
@@ -40,9 +40,6 @@ const guide = {
|
|
|
40
40
|
title: {
|
|
41
41
|
gap: "8"
|
|
42
42
|
},
|
|
43
|
-
row: {
|
|
44
|
-
gap: "8"
|
|
45
|
-
},
|
|
46
43
|
body: {
|
|
47
44
|
gap: "2"
|
|
48
45
|
},
|
|
@@ -91,7 +88,6 @@ const GUIDE_CONFIG = {
|
|
|
91
88
|
paddingX: `${contents.paddingX}px`,
|
|
92
89
|
paddingY: `${contents.paddingY}px`,
|
|
93
90
|
gap: `${contents.gap}px`,
|
|
94
|
-
rowGap: `${contents.row.gap}px`,
|
|
95
91
|
bodyGap: `${contents.body.gap}px`,
|
|
96
92
|
titleGap: `${contents.title.gap}px`,
|
|
97
93
|
radius: `${contents.radius}px`,
|
|
@@ -107,7 +103,7 @@ const GUIDE_CONFIG = {
|
|
|
107
103
|
},
|
|
108
104
|
};
|
|
109
105
|
|
|
110
|
-
const sdGuideCss = () => `@charset "UTF-8";sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide .sd-guide__button .sd-button{min-height:var(--sd-guide-button-height);padding:0 var(--sd-guide-button-padding-x);border-radius:var(--sd-guide-button-radius);border:var(--sd-guide-button-border-width) solid var(--sd-guide-button-border-color);background:var(--sd-guide-button-bg-default);color:var(--sd-guide-button-text-default) !important;transition:none;display:flex;align-items:center;gap:var(--sd-guide-button-gap);--sd-button-bg-hover:var(--sd-guide-button-bg-default);--sd-button-current-icon:var(--sd-guide-button-icon-color-default)}.sd-guide .sd-guide__button .sd-button .sd-button__content{color:var(--sd-guide-button-text-default) !important;gap:var(--sd-guide-button-gap)}.sd-guide .sd-guide__button .sd-button .sd-button__content .sd-button__label{margin-left:0;color:var(--sd-guide-button-text-default) !important;font-size:var(--sd-guide-button-font-size);font-weight:var(--sd-guide-button-font-weight);line-height:var(--sd-guide-button-line-height)}.sd-guide .sd-guide__button--type-notion .sd-button{--sd-button-current-icon:var(--sd-guide-button-icon-color-notion)}.sd-guide .sd-guide__button--active .sd-button{color:var(--sd-guide-button-text-active) !important;--sd-button-current-icon:var(--sd-guide-button-icon-color-active)}.sd-guide .sd-guide__button--active .sd-button .sd-button__content{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--active .sd-button .sd-button__content .sd-button__label{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--type-tip.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-tip);border-color:var(--sd-guide-button-bg-tip);--sd-button-bg-hover:var(--sd-guide-button-bg-tip)}.sd-guide .sd-guide__button--type-notion.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-notion);border-color:var(--sd-guide-button-bg-notion);--sd-button-bg-hover:var(--sd-guide-button-bg-notion)}.sd-guide__popup{position:relative;padding:var(--sd-guide-contents-padding-y) var(--sd-guide-contents-padding-x);border-radius:var(--sd-guide-contents-radius);box-shadow:4px 4px 24px 4px rgba(0, 0, 0, 0.1);background:white}.sd-guide__popup>.sd-guide__popup__close{position:absolute;top:12px;right:12px}.sd-guide__popup__header{display:flex;align-items:center;gap:var(--sd-guide-contents-title-gap);margin-bottom:var(--sd-guide-contents-gap)}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;margin-bottom:0;font-size:var(--sd-guide-contents-title-font-size);font-weight:var(--sd-guide-contents-title-font-weight);line-height:var(--sd-guide-contents-title-line-height);color:var(--sd-guide-contents-text-color)}.sd-guide__popup__list{width:100%;padding:0;margin:0}.sd-guide__popup__list__item{display:flex;width:100%;align-items:start;list-style:none;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height)}.sd-guide__popup__list__item p{width:100%;padding:0;margin:0;word-wrap:break-word;word-break:break-word;white-space:normal;overflow-wrap:break-word;min-width:0}.sd-guide__popup__list__item::before{display:block;content:"-";width:6px;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height);margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-
|
|
106
|
+
const sdGuideCss = () => `@charset "UTF-8";sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide{display:inline-flex;align-items:center;height:fit-content;width:fit-content}.sd-guide .sd-guide__button .sd-button{min-height:var(--sd-guide-button-height);padding:0 var(--sd-guide-button-padding-x);border-radius:var(--sd-guide-button-radius);border:var(--sd-guide-button-border-width) solid var(--sd-guide-button-border-color);background:var(--sd-guide-button-bg-default);color:var(--sd-guide-button-text-default) !important;transition:none;display:flex;align-items:center;gap:var(--sd-guide-button-gap);--sd-button-bg-hover:var(--sd-guide-button-bg-default);--sd-button-current-icon:var(--sd-guide-button-icon-color-default)}.sd-guide .sd-guide__button .sd-button .sd-button__content{color:var(--sd-guide-button-text-default) !important;gap:var(--sd-guide-button-gap)}.sd-guide .sd-guide__button .sd-button .sd-button__content .sd-button__label{margin-left:0;color:var(--sd-guide-button-text-default) !important;font-size:var(--sd-guide-button-font-size);font-weight:var(--sd-guide-button-font-weight);line-height:var(--sd-guide-button-line-height)}.sd-guide .sd-guide__button--type-notion .sd-button{--sd-button-current-icon:var(--sd-guide-button-icon-color-notion)}.sd-guide .sd-guide__button--active .sd-button{color:var(--sd-guide-button-text-active) !important;--sd-button-current-icon:var(--sd-guide-button-icon-color-active)}.sd-guide .sd-guide__button--active .sd-button .sd-button__content{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--active .sd-button .sd-button__content .sd-button__label{color:var(--sd-guide-button-text-active) !important}.sd-guide .sd-guide__button--type-tip.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-tip);border-color:var(--sd-guide-button-bg-tip);--sd-button-bg-hover:var(--sd-guide-button-bg-tip)}.sd-guide .sd-guide__button--type-notion.sd-guide__button--active .sd-button{background:var(--sd-guide-button-bg-notion);border-color:var(--sd-guide-button-bg-notion);--sd-button-bg-hover:var(--sd-guide-button-bg-notion)}.sd-guide__popup{position:relative;padding:var(--sd-guide-contents-padding-y) var(--sd-guide-contents-padding-x);border-radius:var(--sd-guide-contents-radius);box-shadow:4px 4px 24px 4px rgba(0, 0, 0, 0.1);background:white}.sd-guide__popup>.sd-guide__popup__close{position:absolute;top:12px;right:12px}.sd-guide__popup__header{display:flex;align-items:center;gap:var(--sd-guide-contents-title-gap);margin-bottom:var(--sd-guide-contents-gap)}.sd-guide__popup__header .sd-guide__popup__title{margin-top:0;margin-bottom:0;font-size:var(--sd-guide-contents-title-font-size);font-weight:var(--sd-guide-contents-title-font-weight);line-height:var(--sd-guide-contents-title-line-height);color:var(--sd-guide-contents-text-color)}.sd-guide__popup__list{width:100%;padding:0;margin:0}.sd-guide__popup__list__item{display:flex;width:100%;align-items:start;list-style:none;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height)}.sd-guide__popup__list__item p{width:100%;padding:0;margin:0;word-wrap:break-word;word-break:break-word;white-space:normal;overflow-wrap:break-word;min-width:0}.sd-guide__popup__list__item::before{display:block;content:"-";width:6px;color:var(--sd-guide-contents-text-color);font-size:var(--sd-guide-contents-body-font-size);font-weight:var(--sd-guide-contents-body-font-weight);line-height:var(--sd-guide-contents-body-line-height);margin-left:10px;margin-right:12px;flex-shrink:0}.sd-guide__popup__list__item--depth-2{margin-top:var(--sd-guide-contents-body-gap)}.sd-guide__popup__list__item--depth-2::before{content:"•"}.sd-guide__popup__list__item--depth-2{padding-left:26px}`;
|
|
111
107
|
|
|
112
108
|
const DEFAULT_LABEL_BY_TYPE = {
|
|
113
109
|
tip: '활용 TIP',
|
|
@@ -171,7 +167,6 @@ const SdGuide = class {
|
|
|
171
167
|
'--sd-guide-contents-padding-x': contents.paddingX,
|
|
172
168
|
'--sd-guide-contents-padding-y': contents.paddingY,
|
|
173
169
|
'--sd-guide-contents-gap': contents.gap,
|
|
174
|
-
'--sd-guide-contents-row-gap': contents.rowGap,
|
|
175
170
|
'--sd-guide-contents-body-gap': contents.bodyGap,
|
|
176
171
|
'--sd-guide-contents-title-gap': contents.titleGap,
|
|
177
172
|
'--sd-guide-contents-radius': contents.radius,
|
|
@@ -194,10 +189,10 @@ const SdGuide = class {
|
|
|
194
189
|
const buttonClasses = ['sd-guide__button', `sd-guide__button--type-${this.type ?? 'tip'}`];
|
|
195
190
|
if (isActive)
|
|
196
191
|
buttonClasses.push('sd-guide__button--active');
|
|
197
|
-
return (index.h("div", { key: '
|
|
192
|
+
return (index.h("div", { key: '7d85d4650de1bef19699cdacaceeeab69a7f221c', class: "sd-guide", style: this.guideStyle }, index.h("sd-button", { key: 'b4cd191ba9593ce83343097e9b24fb56d86c6859', ref: el => (this.guideRef = el), class: buttonClasses.join(' '), name: isActive ? 'primary_sm' : 'neutral_outline_sm', label: this.label || defaultLabel, icon: iconName, onSdClick: this.handleClickGuide }), this.popupShow && (index.h("sd-portal", { key: '2523de8af47987b2f0761c999817bf1ca595b4e6', open: this.popupShow, parentRef: this.guideRef, onSdClose: this.closeDropdown, offset: [0, 4] }, index.h("div", { key: '2fcc5a768d626d5ba97427ad99dc1c6155b5c36b', class: "sd-guide__popup", style: {
|
|
198
193
|
...this.guideStyle,
|
|
199
194
|
width: this.popupWidth != null ? this.popupWidth + 'px' : '426px',
|
|
200
|
-
} }, index.h("sd-ghost-button", { key: '
|
|
195
|
+
} }, index.h("sd-ghost-button", { key: 'de6b053ff6373bf2690d0874d01692e456a38991', class: "sd-guide__popup__close", icon: "close", ariaLabel: "close", size: "sm", onSdClick: this.closeDropdown }), index.h("div", { key: '10f2de0819a6a97571719ca2e04101833c78f1d3', class: "sd-guide__popup__header" }, index.h("sd-icon", { key: 'b11478e02574f5e211cd9d2478080d2c9895cb5d', name: iconName, size: 24, color: popupIconColor }), index.h("h3", { key: 'ef361769bc0363ebb7215b6fbd1fdb38b2864434', class: "sd-guide__popup__title" }, this.popupTitle || defaultLabel)), index.h("ul", { key: '914ae5fa0fa7ae52954df58e17beb187ddc2a966', class: "sd-guide__popup__list" }, this.renderListItem(this.message)))))));
|
|
201
196
|
}
|
|
202
197
|
// 현재 2depth까지만 스타일 적용
|
|
203
198
|
renderListItem(message, depth = 0) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var system = require('./system-MjrAugX-.js');
|
|
5
|
-
var component_table = require('./component.table-
|
|
5
|
+
var component_table = require('./component.table-POXY492T.js');
|
|
6
6
|
|
|
7
7
|
const t = component_table.tableTokens.table;
|
|
8
8
|
const KEY_VALUE_TABLE_LAYOUT = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var component_progress = require('./component.progress-DimGJZAd.js');
|
|
5
5
|
var system = require('./system-MjrAugX-.js');
|
|
6
6
|
|
|
@@ -52,7 +52,7 @@ const SdLinearProgress = class {
|
|
|
52
52
|
clipPath: `inset(0 ${100 - this.clampedValue}% 0 0)`,
|
|
53
53
|
};
|
|
54
54
|
const valueText = `${Math.round(this.clampedValue)}%`;
|
|
55
|
-
return (index.h(index.Host, { key: '
|
|
55
|
+
return (index.h(index.Host, { key: 'c87705d4ca2e7d61de15412af8df8fe32aec6e56', style: hostStyle }, index.h("div", { key: '0343b5d209cf49e7d25bb7ede349eae791890e29', class: "sd-linear-progress__track" }, index.h("div", { key: '7771c6589c061d7bba7eb2ae88e1752d80912357', class: "sd-linear-progress__fill", style: fillStyle }), !this.indeterminate && (index.h("span", { key: '66f85b9d5f87d7c2aeafd6eadcdc3fb1739124c9', class: "sd-linear-progress__value sd-linear-progress__value--on-track" }, valueText)), !this.indeterminate && (index.h("span", { key: 'd8581b453770e4c8db55abddc6c57f9b90701786', class: "sd-linear-progress__value sd-linear-progress__value--on-fill", style: valueOnFillStyle }, valueText))), this.label && index.h("span", { key: '4223bfa7292cc9adeb9dca1ce18ee45cefc8d670', class: "sd-linear-progress__label" }, this.label)));
|
|
56
56
|
}
|
|
57
57
|
};
|
|
58
58
|
SdLinearProgress.style = sdLinearProgressCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
|
|
5
5
|
const sdLoadingContainerCss = () => `sd-loading-container .sd-loading-container{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:var(--sd-loading-container-z-index, 999);opacity:0;visibility:hidden;transition:opacity 0.2s ease, visibility 0s linear 0.2s;pointer-events:none}sd-loading-container .sd-loading-container--visible{opacity:1;visibility:visible;transition:opacity 0.2s ease, visibility 0s linear 0s;pointer-events:auto}sd-loading-container .sd-loading-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4)}sd-loading-container .sd-loading-container__content{position:relative;display:flex;flex-direction:column;align-items:center;gap:16px}sd-loading-container .sd-loading-container__message{margin:0;color:#ffffff;font-size:14px;font-weight:500;line-height:22px;text-align:center;max-width:400px;word-break:keep-all}`;
|
|
6
6
|
|
|
@@ -40,10 +40,10 @@ const SdLoadingContainer = class {
|
|
|
40
40
|
this.prevBodyOverflow = null;
|
|
41
41
|
}
|
|
42
42
|
render() {
|
|
43
|
-
return (index.h("div", { key: '
|
|
43
|
+
return (index.h("div", { key: 'c2dad1bed0e513341a447f164fecbb2f879ed523', class: {
|
|
44
44
|
'sd-loading-container': true,
|
|
45
45
|
'sd-loading-container--visible': this.visible,
|
|
46
|
-
}, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: '
|
|
46
|
+
}, "aria-hidden": this.visible ? 'false' : 'true' }, index.h("div", { key: '254c3cb5eeb25b6c69b3812fbaada2a26d6620e0', class: "sd-loading-container__backdrop" }), index.h("div", { key: '58ca4033b25302d8a7ea3f25e6b5e8aa7ce9f51c', class: "sd-loading-container__content" }, index.h("sd-circle-progress", { key: 'c8d48fa1814186a674d3f7c8b63bcd26541299ba', indeterminate: true, type: "inverse" }), this.message && index.h("p", { key: '899a5f32ceecb23b4f88b750aa634106bb42b394', class: "sd-loading-container__message" }, this.message))));
|
|
47
47
|
}
|
|
48
48
|
};
|
|
49
49
|
SdLoadingContainer.style = sdLoadingContainerCss();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var modalStack = require('./modal-stack-DucFLON7.js');
|
|
5
5
|
|
|
6
6
|
const sdModalContainerCss = () => `sd-modal-container{display:block}sd-modal-container .sd-modal-container{position:fixed;inset:0;z-index:var(--sd-modal-container-z-index, 997);pointer-events:none}sd-modal-container .sd-modal-container__layer{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}sd-modal-container .sd-modal-container__backdrop{position:absolute;inset:0;background:rgba(0, 0, 0, 0.4);opacity:0;transition:opacity 0.3s ease-out;pointer-events:none}sd-modal-container .sd-modal-container__backdrop--visible{opacity:1;pointer-events:auto}sd-modal-container .sd-modal-container__modal{position:relative;z-index:1;opacity:0;transform:scale(0);pointer-events:auto;transition:opacity 0.3s ease-out, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)}sd-modal-container .sd-modal-container__modal--visible{opacity:1;transform:scale(1)}sd-modal-container .sd-modal-container__modal--shake{animation:modal-shake 0.3s ease-out}@keyframes modal-shake{0%,100%{transform:scale(1)}25%{transform:scale(1.03)}50%{transform:scale(0.97)}75%{transform:scale(1.01)}}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
4
|
var constants = require('./constants-DJRV1upE.js');
|
|
5
|
-
var sdTable_config = require('./sd-table.config-
|
|
6
|
-
require('./component.table-
|
|
5
|
+
var sdTable_config = require('./sd-table.config-DFy_S4bc.js');
|
|
6
|
+
require('./component.table-POXY492T.js');
|
|
7
7
|
require('./system-MjrAugX-.js');
|
|
8
8
|
|
|
9
9
|
const pagination = {
|
|
@@ -163,13 +163,13 @@ const SdPagination = class {
|
|
|
163
163
|
'--sd-pagination-bg-selected': PAGINATION_COLORS.bgSelected,
|
|
164
164
|
'--sd-pagination-item-width': `${this.buttonWidth}px`,
|
|
165
165
|
};
|
|
166
|
-
return (index.h("div", { key: '
|
|
166
|
+
return (index.h("div", { key: '4a67cbb9ed9d3cafbd3d9f99562948e3b3840210', class: {
|
|
167
167
|
'sd-pagination': true,
|
|
168
168
|
'sd-pagination--simple': this.simple,
|
|
169
|
-
}, style: cssVars }, index.h("div", { key: '
|
|
169
|
+
}, style: cssVars }, index.h("div", { key: 'f0cc77abd3b03a1525f52fbcd2587b6ad9cd468d', class: "sd-pagination__group sd-pagination__group--prev" }, this.renderPrevButtons()), this.simple ? (index.h("div", { class: "sd-pagination__info" }, index.h("span", { class: "sd-pagination__current" }, this.currentPage), index.h("span", { class: "sd-pagination__divider" }, "/"), index.h("span", { class: "sd-pagination__last" }, this.lastPage))) : (index.h("div", { class: "sd-pagination__numbers" }, this.pageNumbers.map(n => (index.h("button", { type: "button", "aria-current": this.currentPage === n ? 'page' : undefined, class: {
|
|
170
170
|
'sd-pagination__item': true,
|
|
171
171
|
'sd-pagination__item--selected': this.currentPage === n,
|
|
172
|
-
}, onClick: () => this.handlePageChange(n) }, n))))), index.h("div", { key: '
|
|
172
|
+
}, onClick: () => this.handlePageChange(n) }, n))))), index.h("div", { key: 'c4053f5917345cf1e7fcea9f3c2fa0d6b5fa7a3f', class: "sd-pagination__group sd-pagination__group--next" }, this.renderNextButtons())));
|
|
173
173
|
}
|
|
174
174
|
};
|
|
175
175
|
SdPagination.style = sdPaginationCss();
|
|
@@ -225,9 +225,9 @@ const SdTbody = class {
|
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
227
|
render() {
|
|
228
|
-
return (index.h(index.Host, { key: '
|
|
228
|
+
return (index.h(index.Host, { key: '72061abfda67f548675b6def5d217d2263b693a9', slot: `${this.tableId}-body` }, index.h("tbody", { key: 'e2ac60a7c395d2a411ac7811851a2916fe762f3c', class: { tbody: true } }, [
|
|
229
229
|
this.topSpacerHeight > 0 && (index.h("tr", { key: "spacer-top", class: "tbody__spacer", style: { height: `${this.topSpacerHeight}px`, display: 'block' } })),
|
|
230
|
-
index.h("slot", { key: '
|
|
230
|
+
index.h("slot", { key: 'af37117b1e162581569bcf6d14a8cc3289f9c6d4' }),
|
|
231
231
|
this.bottomSpacerHeight > 0 && (index.h("tr", { key: "spacer-bottom", class: "tbody__spacer", style: { height: `${this.bottomSpacerHeight}px`, display: 'block' } })),
|
|
232
232
|
])));
|
|
233
233
|
}
|
|
@@ -485,16 +485,16 @@ const SdThead = class {
|
|
|
485
485
|
'--table-border-color': sdTable_config.TABLE_BORDER.color,
|
|
486
486
|
'--table-border-width': `${sdTable_config.TABLE_BORDER.width}px`,
|
|
487
487
|
};
|
|
488
|
-
return (index.h(index.Host, { key: '
|
|
488
|
+
return (index.h(index.Host, { key: '2f2218c9c0ba02fc59eb026944a3e26fbf741f23', slot: `${this.tableId}-head`, style: headStyle }, index.h("thead", { key: '008fc1ef83c882dd85fd9d6b8490a3246183e758', class: {
|
|
489
489
|
'thead': true,
|
|
490
490
|
'thead--sticky': this._stickyHeader,
|
|
491
|
-
} }, index.h("tr", { key: '
|
|
491
|
+
} }, index.h("tr", { key: 'ff679599539ea36d74160d31258bc06c4c6d0fda', class: "tr" }, this._selectable && (index.h("th", { key: '9fd149c26ec979f3f82eb5b1fad56cf963ee1e7f', class: {
|
|
492
492
|
'th': true,
|
|
493
493
|
'th--selected': true,
|
|
494
494
|
'sticky-left': true,
|
|
495
495
|
'sticky-left-edge': stickyLeftCount === 0,
|
|
496
496
|
'is-scrolled-left': stickyLeftCount === 0 && this._scrolledLeft,
|
|
497
|
-
}, style: { '--sticky-left-offset': '0px' } }, index.h("sd-checkbox", { key: '
|
|
497
|
+
}, style: { '--sticky-left-offset': '0px' } }, index.h("sd-checkbox", { key: 'feab85e049c99a1a565b250f5b0aa0ed6d986d65', value: this.getIsAllChecked(), disabled: safeRows.length === 0, onSdUpdate: (e) => this.handleSelectAll(e.detail) }), index.h("div", { key: 'bf68afc8990977e607cbd6f25b19f6442b7fbab3', class: "th__bar" }))), stickyLeftCols.map((col, idx) => (index.h("th", { key: col.name, class: {
|
|
498
498
|
'th': true,
|
|
499
499
|
[`${col.thClass}`]: Boolean(col.thClass),
|
|
500
500
|
'sticky-left': true,
|
|
@@ -767,7 +767,9 @@ const SdTr = class {
|
|
|
767
767
|
const isUseFrameRow = this.tableEl?.hasUseFrameInRowSync?.(this.rowKey) ?? false;
|
|
768
768
|
const effectiveDense = this._dense && !isUseFrameRow;
|
|
769
769
|
const rowLayoutY = effectiveDense ? sdTable_config.TABLE_BODY_LAYOUT.dense : sdTable_config.TABLE_BODY_LAYOUT.default;
|
|
770
|
-
const rowPaddingX =
|
|
770
|
+
const rowPaddingX = effectiveDense
|
|
771
|
+
? sdTable_config.TABLE_BODY_LAYOUT.densePaddingX
|
|
772
|
+
: sdTable_config.TABLE_BODY_LAYOUT.paddingX;
|
|
771
773
|
const rowStyle = {
|
|
772
774
|
'display': this.isVisible ? '' : 'none',
|
|
773
775
|
'--table-body-height': `${rowLayoutY.height}px`,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index = require('./index-
|
|
4
|
-
var tooltipArrow = require('./tooltipArrow-
|
|
3
|
+
var index = require('./index-D12oddge.js');
|
|
4
|
+
var tooltipArrow = require('./tooltipArrow-Dda4ik0V.js');
|
|
5
5
|
|
|
6
6
|
const popover = {
|
|
7
7
|
"default": {
|