@sellmate/design-system 1.0.78 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/component.table-CMqGfEui.js +66 -0
- package/dist/cjs/design-system.cjs.js +2 -2
- package/dist/cjs/{index--F2wGuAi.js → index-Cw-78mnC.js} +1 -1
- package/dist/cjs/index.cjs.js +5 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{resolveColor-LhfOKtTZ.js → resolveColor-B0hzQNLG.js} +2 -2
- package/dist/cjs/sd-action-modal.cjs.entry.js +3 -3
- package/dist/cjs/sd-badge.cjs.entry.js +2 -3
- package/dist/cjs/sd-barcode-input.cjs.entry.js +3 -3
- package/dist/cjs/{sd-button-v2.config-CnqCQQMi.js → sd-button.config-DH08UNfl.js} +114 -28
- package/dist/cjs/{sd-button-v2_2.cjs.entry.js → sd-button_2.cjs.entry.js} +102 -85
- package/dist/cjs/sd-calendar.cjs.entry.js +15 -15
- package/dist/cjs/sd-card.cjs.entry.js +2 -2
- package/dist/cjs/sd-checkbox.cjs.entry.js +4 -4
- package/dist/cjs/sd-chip.cjs.entry.js +4 -4
- package/dist/cjs/sd-circle-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-confirm-modal_2.cjs.entry.js +19 -11
- package/dist/cjs/sd-date-box.cjs.entry.js +9 -4
- package/dist/cjs/{sd-date-picker-calendar.cjs.entry.js → sd-date-picker-calendar_2.cjs.entry.js} +59 -6
- package/dist/cjs/{sd-date-picker.config-CRgCT5dn.js → sd-date-picker.config-CjvrFpYK.js} +1 -2
- package/dist/cjs/sd-date-picker_7.cjs.entry.js +1235 -0
- package/dist/cjs/sd-date-range-picker-calendar.cjs.entry.js +14 -14
- package/dist/cjs/sd-dropdown-button.cjs.entry.js +32 -27
- package/dist/cjs/{sd-button_4.cjs.entry.js → sd-field_3.cjs.entry.js} +47 -102
- package/dist/cjs/sd-form.cjs.entry.js +5 -5
- package/dist/cjs/sd-ghost-button.cjs.entry.js +12 -10
- package/dist/cjs/sd-guide.cjs.entry.js +11 -11
- package/dist/cjs/sd-key-value-table.cjs.entry.js +230 -0
- package/dist/cjs/sd-linear-progress.cjs.entry.js +3 -3
- package/dist/cjs/sd-loading-container.cjs.entry.js +3 -3
- package/dist/cjs/sd-modal-container.cjs.entry.js +3 -3
- package/dist/cjs/{sd-pagination_5.cjs.entry.js → sd-pagination_4.cjs.entry.js} +136 -325
- package/dist/cjs/sd-popover.cjs.entry.js +18 -11
- package/dist/cjs/sd-popup.cjs.entry.js +112 -0
- package/dist/cjs/sd-portal.cjs.entry.js +3 -3
- package/dist/cjs/sd-radio-button.cjs.entry.js +9 -6
- package/dist/cjs/sd-radio.cjs.entry.js +2 -2
- package/dist/cjs/sd-select-list-item_2.cjs.entry.js +159 -0
- package/dist/cjs/sd-select.config-B19ptCT2.js +178 -0
- package/dist/cjs/{sd-select-list-item_4.cjs.entry.js → sd-select_3.cjs.entry.js} +296 -323
- package/dist/cjs/sd-switch.cjs.entry.js +2 -2
- package/dist/cjs/sd-table.cjs.entry.js +188 -48
- package/dist/cjs/sd-table.config-BIpldZtw.js +76 -0
- package/dist/cjs/sd-tabs.cjs.entry.js +8 -3
- package/dist/cjs/sd-tag.cjs.entry.js +56 -21
- package/dist/cjs/sd-td.cjs.entry.js +52 -10
- package/dist/cjs/sd-text-link.cjs.entry.js +13 -5
- package/dist/cjs/sd-toast-container.cjs.entry.js +5 -5
- package/dist/cjs/sd-toast.cjs.entry.js +35 -5
- package/dist/cjs/sd-toggle.cjs.entry.js +2 -2
- package/dist/cjs/{system-DpTN1vBC.js → system-VmZRYp6V.js} +4 -2
- package/dist/cjs/{tooltipArrow-D1-wcNm1.js → tooltipArrow-BjSFKIUq.js} +1 -1
- package/dist/collection/collection-manifest.json +4 -3
- package/dist/collection/components/assets/CheckboxCheck.js +5 -0
- package/dist/collection/components/assets/CheckboxIndeterminate.js +5 -0
- package/dist/collection/components/assets/index.js +4 -0
- package/dist/collection/components/sd-action-modal/sd-action-modal.css +1 -1
- package/dist/collection/components/sd-action-modal/sd-action-modal.js +7 -7
- package/dist/collection/components/sd-badge/sd-badge.config.js +10 -1
- package/dist/collection/components/sd-badge/sd-badge.js +1 -22
- package/dist/collection/components/sd-barcode-input/sd-barcode-input.js +4 -4
- package/dist/collection/components/{sd-button-v2/sd-button-v2.config.js → sd-button/sd-button.config.js} +1 -1
- package/dist/collection/components/sd-button/sd-button.css +47 -93
- package/dist/collection/components/sd-button/sd-button.js +100 -173
- package/dist/collection/components/sd-calendar/sd-calendar.js +14 -14
- package/dist/collection/components/sd-card/sd-card.js +1 -1
- package/dist/collection/components/sd-checkbox/sd-checkbox.js +3 -3
- package/dist/collection/components/sd-chip/sd-chip.js +4 -4
- package/dist/collection/components/sd-circle-progress/sd-circle-progress.js +1 -1
- package/dist/collection/components/sd-confirm-modal/sd-confirm-modal.js +13 -8
- package/dist/collection/components/sd-date-box/sd-date-box.js +8 -3
- package/dist/collection/components/sd-date-picker/sd-date-picker-calendar/sd-date-picker-calendar.js +4 -4
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.css +1 -1
- package/dist/collection/components/sd-date-picker/sd-date-picker-trigger/sd-date-picker-trigger.js +13 -6
- package/dist/collection/components/sd-date-picker/sd-date-picker.js +4 -4
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker-calendar/sd-date-range-picker-calendar.js +12 -12
- package/dist/collection/components/sd-date-range-picker/sd-date-range-picker.js +5 -5
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.config.js +7 -3
- package/dist/collection/components/sd-dropdown-button/sd-dropdown-button.js +13 -11
- package/dist/collection/components/sd-field/sd-field.css +6 -2
- package/dist/collection/components/sd-field/sd-field.js +48 -22
- package/dist/collection/components/sd-file-picker/sd-file-picker.js +10 -5
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.css +1 -3
- package/dist/collection/components/sd-floating-portal/sd-floating-portal.js +6 -6
- package/dist/collection/components/sd-form/sd-form.js +4 -4
- package/dist/collection/components/sd-ghost-button/sd-ghost-button.js +12 -10
- package/dist/collection/components/sd-guide/sd-guide.css +8 -172
- package/dist/collection/components/sd-guide/sd-guide.js +8 -6
- package/dist/collection/components/sd-icon/sd-icon.js +4 -4
- package/dist/collection/components/sd-input/sd-input.css +4 -2
- package/dist/collection/components/sd-input/sd-input.js +6 -6
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.config.js +36 -0
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.css +119 -0
- package/dist/collection/components/sd-key-value-table/sd-key-value-table.js +301 -0
- package/dist/collection/components/sd-linear-progress/sd-linear-progress.js +1 -1
- package/dist/collection/components/sd-loading-container/sd-loading-container.js +2 -2
- package/dist/collection/components/sd-loading-modal/sd-loading-modal.js +6 -3
- package/dist/collection/components/sd-modal-container/sd-modal-container.js +2 -2
- package/dist/collection/components/sd-number-input/sd-number-input.css +7 -0
- package/dist/collection/components/sd-number-input/sd-number-input.js +8 -5
- package/dist/collection/components/sd-pagination/sd-pagination.js +3 -3
- package/dist/collection/components/sd-popover/sd-popover.js +129 -36
- package/dist/collection/components/sd-popup/sd-popup.config.js +34 -0
- package/dist/collection/components/sd-popup/sd-popup.css +73 -0
- package/dist/collection/components/sd-popup/sd-popup.js +163 -0
- package/dist/collection/components/sd-portal/sd-portal.js +2 -2
- package/dist/collection/components/sd-radio/sd-radio.js +1 -1
- package/dist/collection/components/sd-radio-button/sd-radio-button.js +8 -5
- package/dist/collection/components/sd-radio-group/sd-radio-group.js +2 -2
- package/dist/collection/components/sd-select/sd-select-list-item/sd-select-list-item.js +7 -3
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.css +4 -4
- package/dist/collection/components/sd-select/sd-select-list-item-search/sd-select-list-item-search.js +7 -7
- package/dist/collection/components/sd-select/sd-select-listbox/sd-select-listbox.js +8 -8
- package/dist/collection/components/sd-select/sd-select-trigger/sd-select-trigger.js +9 -4
- package/dist/collection/components/sd-select/sd-select.js +6 -6
- package/dist/collection/components/sd-switch/sd-switch.js +1 -1
- package/dist/collection/components/sd-table/sd-table.config.js +6 -2
- package/dist/collection/components/sd-table/sd-table.css +30 -11
- package/dist/collection/components/sd-table/sd-table.js +233 -50
- package/dist/collection/components/sd-table/sd-table.stories.helpers.js +2 -3
- package/dist/collection/components/sd-table/sd-tbody/sd-tbody.js +5 -5
- package/dist/collection/components/sd-table/sd-td/sd-td.js +111 -9
- package/dist/collection/components/sd-table/sd-thead/sd-thead.js +30 -16
- package/dist/collection/components/sd-table/sd-tr/sd-tr.css +24 -1
- package/dist/collection/components/sd-table/sd-tr/sd-tr.js +116 -19
- package/dist/collection/components/sd-tabs/sd-tabs.js +7 -2
- package/dist/collection/components/sd-tag/sd-tag.config.js +43 -11
- package/dist/collection/components/sd-tag/sd-tag.js +13 -7
- package/dist/collection/components/sd-text-link/sd-text-link.css +1 -0
- package/dist/collection/components/sd-text-link/sd-text-link.js +10 -4
- package/dist/collection/components/sd-textarea/sd-textarea.css +3 -0
- package/dist/collection/components/sd-textarea/sd-textarea.js +2 -2
- package/dist/collection/components/sd-toast/sd-toast.config.js +14 -0
- package/dist/collection/components/sd-toast/sd-toast.css +3 -5
- package/dist/collection/components/sd-toast/sd-toast.js +52 -5
- package/dist/collection/components/sd-toast-container/sd-toast-container.js +4 -4
- package/dist/collection/components/sd-toggle/sd-toggle.js +1 -1
- package/dist/collection/components/sd-tooltip/sd-tooltip.js +77 -30
- package/dist/collection/utils/color/resolveColor.js +2 -2
- package/dist/collection/utils/dropdown-manager.js +1 -1
- package/dist/collection/utils/modal.js +1 -1
- package/dist/collection/utils/toast.js +4 -4
- package/dist/components/index.js +1 -1
- package/dist/components/p-2wB9cing.js +1 -0
- package/dist/components/p-B-sK7I83.js +1 -0
- package/dist/components/p-B3D43x7F.js +1 -0
- package/dist/components/p-B7mpdnNl.js +1 -0
- package/dist/components/{p-TwGlKfsC.js → p-BAcmO7w0.js} +1 -1
- package/dist/components/p-BL0ZcHK8.js +1 -0
- package/dist/components/p-BXCyVrle.js +1 -0
- package/dist/components/p-BY1LGlfc.js +1 -0
- package/dist/components/p-BjkROjjt.js +1 -0
- package/dist/components/p-Bm3W_eBv.js +1 -0
- package/dist/components/p-BnfUIhUj.js +1 -0
- package/dist/components/{p-Dcc2Vm6z.js → p-BorUSgEK.js} +1 -1
- package/dist/components/{p-Bvq0Vpln.js → p-BsM-fwYd.js} +1 -1
- package/dist/components/p-C5CH-s6a.js +1 -0
- package/dist/components/p-C7WLft_0.js +1 -0
- package/dist/components/p-CK9ciBIR.js +1 -0
- package/dist/components/p-CQI40kiY.js +1 -0
- package/dist/components/p-CRL7TjSB.js +1 -0
- package/dist/components/p-CdOHomUp.js +1 -0
- package/dist/components/p-Ch5Yu1qd.js +1 -0
- package/dist/components/p-Cktiasfd.js +1 -0
- package/dist/components/p-CsVAx6KV.js +1 -0
- package/dist/components/p-D0Jiw-Zk.js +1 -0
- package/dist/components/p-D5F7wCNo.js +1 -0
- package/dist/components/p-DBFgk0rX.js +1 -0
- package/dist/components/p-DFLCjX1a.js +1 -0
- package/dist/components/p-DL1ac1QS.js +1 -0
- package/dist/components/p-DdLntfiw.js +1 -0
- package/dist/components/p-DeQcDHpn.js +1 -0
- package/dist/components/p-DfK4DiDI.js +1 -0
- package/dist/components/p-DhTcn6jX.js +1 -0
- package/dist/components/p-Dl8TIEQu.js +1 -0
- package/dist/components/p-DyAnn9ea.js +1 -0
- package/dist/components/p-GBlVDmy4.js +1 -0
- package/dist/components/p-Jts7ueOa.js +1 -0
- package/dist/components/p-arZfxxPn.js +1 -0
- package/dist/components/p-mmdt-WnS.js +1 -0
- package/dist/components/p-nOCYbyW4.js +1 -0
- package/dist/components/p-teN3CfOr.js +1 -0
- package/dist/components/p-u8teDaMa.js +1 -0
- package/dist/components/p-wCNRlKLa.js +1 -0
- 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-card.js +1 -1
- package/dist/components/sd-checkbox.js +1 -1
- package/dist/components/sd-chip.js +1 -1
- package/dist/components/sd-circle-progress.js +1 -1
- package/dist/components/sd-confirm-modal.js +1 -1
- package/dist/components/sd-date-box.js +1 -1
- package/dist/components/sd-date-picker-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-key-value-table.d.ts +11 -0
- package/dist/components/sd-key-value-table.js +1 -0
- 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-button-v2.d.ts → sd-popup.d.ts} +4 -4
- package/dist/components/sd-popup.js +1 -0
- package/dist/components/sd-portal.js +1 -1
- package/dist/components/sd-radio-button.js +1 -1
- package/dist/components/sd-radio-group.js +1 -1
- package/dist/components/sd-radio.js +1 -1
- package/dist/components/sd-select-list-item-search.js +1 -1
- package/dist/components/sd-select-list-item.js +1 -1
- package/dist/components/sd-select-listbox.js +1 -1
- package/dist/components/sd-select-trigger.js +1 -1
- package/dist/components/sd-select.js +1 -1
- package/dist/components/sd-switch.js +1 -1
- package/dist/components/sd-table.js +1 -1
- package/dist/components/sd-tabs.js +1 -1
- package/dist/components/sd-tag.js +1 -1
- package/dist/components/sd-tbody.js +1 -1
- package/dist/components/sd-td.js +1 -1
- package/dist/components/sd-text-link.js +1 -1
- package/dist/components/sd-textarea.js +1 -1
- package/dist/components/sd-thead.js +1 -1
- package/dist/components/sd-toast-container.js +1 -1
- package/dist/components/sd-toast.js +1 -1
- package/dist/components/sd-toggle.js +1 -1
- package/dist/components/sd-tooltip.js +1 -1
- package/dist/components/sd-tr.js +1 -1
- package/dist/design-system/design-system.css +1 -1
- package/dist/design-system/design-system.esm.js +1 -1
- package/dist/design-system/index.esm.js +1 -1
- package/dist/design-system/p-04fdb4b1.entry.js +1 -0
- package/dist/design-system/p-05611ff7.entry.js +1 -0
- package/dist/design-system/p-0U6dRjlq.js +2 -0
- package/dist/design-system/{p-fe9cef6a.entry.js → p-0fe603a4.entry.js} +1 -1
- package/dist/design-system/p-100f5887.entry.js +1 -0
- package/dist/design-system/p-18c5ae1a.entry.js +1 -0
- package/dist/design-system/p-1baa05ae.entry.js +1 -0
- package/dist/design-system/p-2a1ef965.entry.js +1 -0
- package/dist/design-system/p-2c63404f.entry.js +1 -0
- package/dist/design-system/{p-33bc3176.entry.js → p-435ae69e.entry.js} +1 -1
- package/dist/design-system/p-43e97572.entry.js +1 -0
- package/dist/design-system/p-44d05570.entry.js +1 -0
- package/dist/design-system/p-501fae20.entry.js +1 -0
- package/dist/design-system/{p-ead3e688.entry.js → p-5705e6d6.entry.js} +1 -1
- package/dist/design-system/p-5cbaf1db.entry.js +1 -0
- package/dist/design-system/p-5ed0becf.entry.js +1 -0
- package/dist/design-system/p-5f1c39b8.entry.js +1 -0
- package/dist/design-system/p-66af0ba0.entry.js +1 -0
- package/dist/design-system/p-77690440.entry.js +1 -0
- package/dist/design-system/p-78cc0289.entry.js +1 -0
- package/dist/design-system/p-790165f8.entry.js +1 -0
- package/dist/design-system/p-80466582.entry.js +1 -0
- package/dist/design-system/{p-e5cebccd.entry.js → p-857c44e8.entry.js} +1 -1
- package/dist/design-system/{p-f522c91d.entry.js → p-87c868c3.entry.js} +1 -1
- package/dist/design-system/p-8db7d8f2.entry.js +1 -0
- package/dist/design-system/p-8ee990bd.entry.js +1 -0
- package/dist/design-system/p-8f22106e.entry.js +1 -0
- package/dist/design-system/p-BDjErF_K.js +1 -0
- package/dist/design-system/p-BnfUIhUj.js +1 -0
- package/dist/{components/p-DkJqVXpD.js → design-system/p-C29HUShl.js} +1 -1
- package/dist/design-system/{p-BxPyZJaz.js → p-Ce0cmS4R.js} +1 -1
- package/dist/design-system/p-CxOCk_ge.js +1 -0
- package/dist/design-system/p-GBlVDmy4.js +1 -0
- package/dist/design-system/p-a6545130.entry.js +1 -0
- package/dist/design-system/p-ae2d45a2.entry.js +1 -0
- package/dist/design-system/{p-797517b5.entry.js → p-aeccfb2b.entry.js} +1 -1
- package/dist/design-system/p-b0aad445.entry.js +1 -0
- package/dist/design-system/p-b3c144ff.entry.js +1 -0
- package/dist/design-system/p-caee95b0.entry.js +1 -0
- package/dist/design-system/p-d30c823e.entry.js +1 -0
- package/dist/design-system/{p-3f7bc660.entry.js → p-d3212544.entry.js} +1 -1
- package/dist/design-system/p-d8c41313.entry.js +1 -0
- package/dist/design-system/{p-6bfe3612.entry.js → p-de8bb9ba.entry.js} +1 -1
- package/dist/design-system/p-e2334c1c.entry.js +1 -0
- package/dist/design-system/p-f4d73a0c.entry.js +1 -0
- package/dist/design-system/p-fc973500.entry.js +1 -0
- package/dist/design-system/p-fe0a5368.entry.js +1 -0
- package/dist/design-system/p-mmdt-WnS.js +1 -0
- package/dist/esm/component.table-BnfUIhUj.js +64 -0
- package/dist/esm/design-system.js +3 -3
- package/dist/esm/{index-Cnwbjz1F.js → index-0U6dRjlq.js} +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{resolveColor-BxPyZJaz.js → resolveColor-Ce0cmS4R.js} +2 -2
- package/dist/esm/sd-action-modal.entry.js +3 -3
- package/dist/esm/sd-badge.entry.js +2 -3
- package/dist/esm/sd-barcode-input.entry.js +3 -3
- package/dist/esm/{sd-button-v2.config-CV4xelxV.js → sd-button.config-BDjErF_K.js} +88 -3
- package/dist/esm/{sd-button-v2_2.entry.js → sd-button_2.entry.js} +102 -85
- package/dist/esm/sd-calendar.entry.js +15 -15
- package/dist/esm/sd-card.entry.js +2 -2
- package/dist/esm/sd-checkbox.entry.js +4 -4
- package/dist/esm/sd-chip.entry.js +4 -4
- package/dist/esm/sd-circle-progress.entry.js +3 -3
- package/dist/esm/sd-confirm-modal_2.entry.js +19 -11
- package/dist/esm/sd-date-box.entry.js +9 -4
- package/dist/esm/{sd-date-picker-calendar.entry.js → sd-date-picker-calendar_2.entry.js} +59 -7
- package/dist/esm/{sd-date-picker.config-C2fDbE9d.js → sd-date-picker.config-B6cqMQaM.js} +1 -2
- package/dist/esm/sd-date-picker_7.entry.js +1227 -0
- package/dist/esm/sd-date-range-picker-calendar.entry.js +14 -14
- package/dist/esm/sd-dropdown-button.entry.js +21 -16
- package/dist/esm/{sd-button_4.entry.js → sd-field_3.entry.js} +48 -102
- package/dist/esm/sd-form.entry.js +5 -5
- package/dist/esm/sd-ghost-button.entry.js +12 -10
- package/dist/esm/sd-guide.entry.js +11 -11
- package/dist/esm/sd-key-value-table.entry.js +228 -0
- package/dist/esm/sd-linear-progress.entry.js +3 -3
- package/dist/esm/sd-loading-container.entry.js +3 -3
- package/dist/esm/sd-modal-container.entry.js +3 -3
- package/dist/esm/{sd-pagination_5.entry.js → sd-pagination_4.entry.js} +137 -325
- package/dist/esm/sd-popover.entry.js +18 -11
- package/dist/esm/sd-popup.entry.js +110 -0
- package/dist/esm/sd-portal.entry.js +3 -3
- package/dist/esm/sd-radio-button.entry.js +9 -6
- package/dist/esm/sd-radio.entry.js +2 -2
- package/dist/esm/sd-select-list-item_2.entry.js +156 -0
- package/dist/esm/sd-select.config-CxOCk_ge.js +165 -0
- package/dist/esm/{sd-select-list-item_4.entry.js → sd-select_3.entry.js} +281 -307
- package/dist/esm/sd-switch.entry.js +2 -2
- package/dist/esm/{sd-table.config-Bj-EEo7N.js → sd-table.config-B-VgXXT7.js} +16 -46
- package/dist/esm/sd-table.entry.js +188 -48
- package/dist/esm/sd-tabs.entry.js +8 -3
- package/dist/esm/sd-tag.entry.js +56 -21
- package/dist/esm/sd-td.entry.js +52 -10
- package/dist/esm/sd-text-link.entry.js +13 -5
- package/dist/esm/sd-toast-container.entry.js +5 -5
- package/dist/esm/sd-toast.entry.js +35 -5
- package/dist/esm/sd-toggle.entry.js +2 -2
- package/dist/esm/{system-CZ4ltUOw.js → system-GBlVDmy4.js} +4 -2
- package/dist/esm/{tooltipArrow-D8sr81Xw.js → tooltipArrow-O5LOsHae.js} +1 -1
- package/dist/types/components/assets/CheckboxCheck.d.ts +1 -0
- package/dist/types/components/assets/CheckboxIndeterminate.d.ts +1 -0
- package/dist/types/components/assets/index.d.ts +2 -0
- package/dist/types/components/sd-action-modal/sd-action-modal.d.ts +2 -2
- package/dist/types/components/sd-badge/sd-badge.d.ts +0 -1
- package/dist/types/components/{sd-button-v2/sd-button-v2.config.d.ts → sd-button/sd-button.config.d.ts} +9 -15
- package/dist/types/components/sd-button/sd-button.d.ts +11 -13
- package/dist/types/components/sd-confirm-modal/sd-confirm-modal.config.d.ts +3 -3
- package/dist/types/components/sd-confirm-modal/sd-confirm-modal.d.ts +2 -1
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.config.d.ts +6 -5
- package/dist/types/components/sd-dropdown-button/sd-dropdown-button.d.ts +1 -0
- package/dist/types/components/sd-field/sd-field.d.ts +1 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.config.d.ts +105 -0
- package/dist/types/components/sd-key-value-table/sd-key-value-table.d.ts +38 -0
- package/dist/types/components/sd-loading-modal/sd-loading-modal.config.d.ts +2 -2
- package/dist/types/components/sd-loading-modal/sd-loading-modal.d.ts +1 -0
- package/dist/types/components/sd-modal-container/sd-modal-container.config.d.ts +1 -1
- package/dist/types/components/sd-popover/sd-popover.d.ts +16 -10
- package/dist/types/components/sd-popup/sd-popup.config.d.ts +30 -0
- package/dist/types/components/sd-popup/sd-popup.d.ts +11 -0
- package/dist/types/components/sd-table/constants.d.ts +2 -0
- package/dist/types/components/sd-table/sd-table.config.d.ts +4 -0
- package/dist/types/components/sd-table/sd-table.d.ts +21 -15
- package/dist/types/components/sd-table/sd-td/sd-td.d.ts +6 -0
- package/dist/types/components/sd-table/sd-tr/sd-tr.d.ts +9 -0
- package/dist/types/components/sd-tag/sd-tag.d.ts +2 -0
- package/dist/types/components/sd-toast/sd-toast.config.d.ts +5 -1
- package/dist/types/components/sd-toast/sd-toast.d.ts +2 -0
- package/dist/types/components/sd-toast-container/sd-toast-container.config.d.ts +2 -0
- package/dist/types/components/sd-tooltip/sd-tooltip.config.d.ts +2 -13
- package/dist/types/components/sd-tooltip/sd-tooltip.d.ts +6 -4
- package/dist/types/components.d.ts +278 -192
- package/dist/types/index.d.ts +1 -1
- package/dist/types/types/form.d.ts +1 -1
- package/dist/types/types/global.d.ts +14 -13
- package/dist/types/utils/toast.d.ts +1 -1
- package/hydrate/index.js +5513 -4761
- package/hydrate/index.mjs +5513 -4761
- package/package.json +111 -97
- package/readme.md +13 -7
- package/dist/cjs/component.button-cqV-iCG5.js +0 -90
- package/dist/cjs/sd-date-picker-trigger.cjs.entry.js +0 -51
- package/dist/cjs/sd-date-picker.cjs.entry.js +0 -117
- package/dist/cjs/sd-date-range-picker.cjs.entry.js +0 -123
- package/dist/cjs/sd-file-picker.cjs.entry.js +0 -244
- package/dist/cjs/sd-input.cjs.entry.js +0 -175
- package/dist/cjs/sd-number-input.cjs.entry.js +0 -409
- package/dist/cjs/sd-radio-group.cjs.entry.js +0 -46
- package/dist/cjs/sd-table.config-Cb0Ot3C6.js +0 -105
- package/dist/cjs/sd-textarea.cjs.entry.js +0 -146
- package/dist/collection/components/sd-button-v2/sd-button-v2.css +0 -125
- package/dist/collection/components/sd-button-v2/sd-button-v2.js +0 -273
- package/dist/components/p-B1XBwjCW.js +0 -1
- package/dist/components/p-B8jXOXtJ.js +0 -1
- package/dist/components/p-BE6TxbtX.js +0 -1
- package/dist/components/p-BJsHakU2.js +0 -1
- package/dist/components/p-BStczlLa.js +0 -1
- package/dist/components/p-BcMNA89i.js +0 -1
- package/dist/components/p-BheX6lAy.js +0 -1
- package/dist/components/p-BmYM7-4v.js +0 -1
- package/dist/components/p-BppjYHF6.js +0 -1
- package/dist/components/p-BwWDMpJc.js +0 -1
- package/dist/components/p-C-kw2p2a.js +0 -1
- package/dist/components/p-C5qZtNLl.js +0 -1
- package/dist/components/p-C7DajKYn.js +0 -1
- package/dist/components/p-CZ4ltUOw.js +0 -1
- package/dist/components/p-CeVMl_M9.js +0 -1
- package/dist/components/p-D1DpOp6M.js +0 -1
- package/dist/components/p-D3gjBBCU.js +0 -1
- package/dist/components/p-DC-6inj0.js +0 -1
- package/dist/components/p-DRF0He-x.js +0 -1
- package/dist/components/p-DegvQLTF.js +0 -1
- package/dist/components/p-Dey-lS6x.js +0 -1
- package/dist/components/p-DfH_fO01.js +0 -1
- package/dist/components/p-DngV3MT1.js +0 -1
- package/dist/components/p-EbjZr2OA.js +0 -1
- package/dist/components/p-LwWOleLJ.js +0 -1
- package/dist/components/p-Nvx13YlG.js +0 -1
- package/dist/components/p-ZMpCZhXP.js +0 -1
- package/dist/components/p-dNJIFthT.js +0 -1
- package/dist/components/p-q0VWISKA.js +0 -1
- package/dist/components/p-xnLvZ-xn.js +0 -1
- package/dist/components/sd-button-v2.js +0 -1
- package/dist/design-system/p-0356c195.entry.js +0 -1
- package/dist/design-system/p-045bc426.entry.js +0 -1
- package/dist/design-system/p-12dfd239.entry.js +0 -1
- package/dist/design-system/p-16d3a485.entry.js +0 -1
- package/dist/design-system/p-1706ed6f.entry.js +0 -1
- package/dist/design-system/p-182548f7.entry.js +0 -1
- package/dist/design-system/p-1a79edce.entry.js +0 -1
- package/dist/design-system/p-1cf87e87.entry.js +0 -1
- package/dist/design-system/p-25a08e98.entry.js +0 -1
- package/dist/design-system/p-2812b9ce.entry.js +0 -1
- package/dist/design-system/p-38f661ea.entry.js +0 -1
- package/dist/design-system/p-429dab5c.entry.js +0 -1
- package/dist/design-system/p-455dccf5.entry.js +0 -1
- package/dist/design-system/p-59313838.entry.js +0 -1
- package/dist/design-system/p-6af01ab0.entry.js +0 -1
- package/dist/design-system/p-70d4903f.entry.js +0 -1
- package/dist/design-system/p-767e99f9.entry.js +0 -1
- package/dist/design-system/p-7c370335.entry.js +0 -1
- package/dist/design-system/p-7fe8be6a.entry.js +0 -1
- package/dist/design-system/p-83b262dc.entry.js +0 -1
- package/dist/design-system/p-881adaa5.entry.js +0 -1
- package/dist/design-system/p-88d7303c.entry.js +0 -1
- package/dist/design-system/p-8a601e0f.entry.js +0 -1
- package/dist/design-system/p-B1XBwjCW.js +0 -1
- package/dist/design-system/p-BsrEibf7.js +0 -1
- package/dist/design-system/p-C5qZtNLl.js +0 -1
- package/dist/design-system/p-CZ4ltUOw.js +0 -1
- package/dist/design-system/p-Cnwbjz1F.js +0 -2
- package/dist/design-system/p-DnCBBIoq.js +0 -1
- package/dist/design-system/p-a82be987.entry.js +0 -1
- package/dist/design-system/p-b917c82a.entry.js +0 -1
- package/dist/design-system/p-b9f00eef.entry.js +0 -1
- package/dist/design-system/p-bcb53788.entry.js +0 -1
- package/dist/design-system/p-c24344ac.entry.js +0 -1
- package/dist/design-system/p-d76192bd.entry.js +0 -1
- package/dist/design-system/p-d9d8c51b.entry.js +0 -1
- package/dist/design-system/p-de67937d.entry.js +0 -1
- package/dist/design-system/p-ea5e6c2c.entry.js +0 -1
- package/dist/design-system/p-eeb1cac2.entry.js +0 -1
- package/dist/design-system/p-f1a74359.entry.js +0 -1
- package/dist/design-system/p-f44786a9.entry.js +0 -1
- package/dist/design-system/p-f69c7539.entry.js +0 -1
- package/dist/esm/component.button-B1XBwjCW.js +0 -88
- package/dist/esm/sd-date-picker-trigger.entry.js +0 -49
- package/dist/esm/sd-date-picker.entry.js +0 -115
- package/dist/esm/sd-date-range-picker.entry.js +0 -121
- package/dist/esm/sd-file-picker.entry.js +0 -242
- package/dist/esm/sd-input.entry.js +0 -173
- package/dist/esm/sd-number-input.entry.js +0 -407
- package/dist/esm/sd-radio-group.entry.js +0 -44
- package/dist/esm/sd-textarea.entry.js +0 -144
- package/dist/types/components/sd-button-v2/sd-button-v2.d.ts +0 -19
- /package/dist/components/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
- /package/dist/design-system/{p-C2fDbE9d.js → p-B6cqMQaM.js} +0 -0
|
@@ -12,14 +12,46 @@ export const TAG_COLORS = [
|
|
|
12
12
|
'indigo',
|
|
13
13
|
];
|
|
14
14
|
const TAG_COLOR_CONFIG = {
|
|
15
|
-
grey: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
15
|
+
grey: {
|
|
16
|
+
background: tagTokens.tag.grey.bg,
|
|
17
|
+
content: tagTokens.tag.grey.content,
|
|
18
|
+
icon: tagTokens.tag.grey.content,
|
|
19
|
+
},
|
|
20
|
+
red: {
|
|
21
|
+
background: tagTokens.tag.red.bg,
|
|
22
|
+
content: tagTokens.tag.red.content,
|
|
23
|
+
icon: tagTokens.tag.red.content,
|
|
24
|
+
},
|
|
25
|
+
orange: {
|
|
26
|
+
background: tagTokens.tag.orange.bg,
|
|
27
|
+
content: tagTokens.tag.orange.content,
|
|
28
|
+
icon: tagTokens.tag.orange.content,
|
|
29
|
+
},
|
|
30
|
+
yellow: {
|
|
31
|
+
background: tagTokens.tag.yellow.bg,
|
|
32
|
+
content: tagTokens.tag.yellow.content,
|
|
33
|
+
icon: tagTokens.tag.yellow.content,
|
|
34
|
+
},
|
|
35
|
+
green: {
|
|
36
|
+
background: tagTokens.tag.green.bg,
|
|
37
|
+
content: tagTokens.tag.green.content,
|
|
38
|
+
icon: tagTokens.tag.green.content,
|
|
39
|
+
},
|
|
40
|
+
blue: {
|
|
41
|
+
background: tagTokens.tag.blue.bg,
|
|
42
|
+
content: tagTokens.tag.blue.content,
|
|
43
|
+
icon: tagTokens.tag.blue.content,
|
|
44
|
+
},
|
|
45
|
+
darkblue: {
|
|
46
|
+
background: tagTokens.tag.darkblue.bg,
|
|
47
|
+
content: tagTokens.tag.darkblue.content,
|
|
48
|
+
icon: tagTokens.tag.darkblue.content,
|
|
49
|
+
},
|
|
50
|
+
indigo: {
|
|
51
|
+
background: tagTokens.tag.indigo.bg,
|
|
52
|
+
content: tagTokens.tag.indigo.content,
|
|
53
|
+
icon: tagTokens.tag.indigo.content,
|
|
54
|
+
},
|
|
23
55
|
};
|
|
24
56
|
const SQUARE_SIZE_CONFIG = {
|
|
25
57
|
xs: {
|
|
@@ -29,7 +61,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
29
61
|
fontSize: `${tagTokens.tag.xs.typography.fontSize}px`,
|
|
30
62
|
fontWeight: tagTokens.tag.xs.typography.fontWeight,
|
|
31
63
|
lineHeight: `${tagTokens.tag.xs.typography.lineHeight}px`,
|
|
32
|
-
iconSize:
|
|
64
|
+
iconSize: +tagTokens.tag.xs.icon,
|
|
33
65
|
radius: `${tagTokens.tag.xs.radius}px`,
|
|
34
66
|
},
|
|
35
67
|
sm: {
|
|
@@ -39,7 +71,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
39
71
|
fontSize: `${tagTokens.tag.sm.typography.fontSize}px`,
|
|
40
72
|
fontWeight: tagTokens.tag.sm.typography.fontWeight,
|
|
41
73
|
lineHeight: `${tagTokens.tag.sm.typography.lineHeight}px`,
|
|
42
|
-
iconSize:
|
|
74
|
+
iconSize: +tagTokens.tag.sm.icon,
|
|
43
75
|
radius: `${tagTokens.tag.sm.radius}px`,
|
|
44
76
|
},
|
|
45
77
|
md: {
|
|
@@ -49,7 +81,7 @@ const SQUARE_SIZE_CONFIG = {
|
|
|
49
81
|
fontSize: `${tagTokens.tag.md.typography.fontSize}px`,
|
|
50
82
|
fontWeight: tagTokens.tag.md.typography.fontWeight,
|
|
51
83
|
lineHeight: `${tagTokens.tag.md.typography.lineHeight}px`,
|
|
52
|
-
iconSize:
|
|
84
|
+
iconSize: +tagTokens.tag.md.icon,
|
|
53
85
|
radius: `${tagTokens.tag.md.radius}px`,
|
|
54
86
|
},
|
|
55
87
|
};
|
|
@@ -5,21 +5,27 @@ export class SdTag {
|
|
|
5
5
|
label = '';
|
|
6
6
|
icon;
|
|
7
7
|
isLeft = true;
|
|
8
|
-
|
|
8
|
+
componentWillLoad() {
|
|
9
|
+
this.name = this.name ?? 'square_sm_grey';
|
|
10
|
+
}
|
|
11
|
+
get resolvedName() {
|
|
9
12
|
if (!isTagName(this.name)) {
|
|
10
|
-
throw new Error(`Invalid sd-tag name: ${this.name}`);
|
|
13
|
+
throw new Error(`Invalid sd-tag name: "${this.name}"`);
|
|
11
14
|
}
|
|
12
|
-
return
|
|
15
|
+
return this.name;
|
|
16
|
+
}
|
|
17
|
+
get resolvedConfig() {
|
|
18
|
+
return TAG_CONFIG[this.resolvedName];
|
|
13
19
|
}
|
|
14
20
|
renderIcon(color, size) {
|
|
15
|
-
if (
|
|
21
|
+
if (this.icon == null)
|
|
16
22
|
return null;
|
|
17
23
|
return h("sd-icon", { class: "sd-tag__icon", name: this.icon, size: size, color: color });
|
|
18
24
|
}
|
|
19
25
|
render() {
|
|
20
26
|
const config = this.resolvedConfig;
|
|
21
27
|
const iconNode = this.renderIcon(config.icon, config.iconSize);
|
|
22
|
-
return (h("span", { key: '
|
|
28
|
+
return (h("span", { key: 'bcf16350c162da2907ddf4ac53924d016a2457dd', class: "sd-tag", style: {
|
|
23
29
|
'--sd-tag-background': config.background,
|
|
24
30
|
'--sd-tag-content': config.content,
|
|
25
31
|
'--sd-tag-height': config.height,
|
|
@@ -29,7 +35,7 @@ export class SdTag {
|
|
|
29
35
|
'--sd-tag-font-weight': config.fontWeight,
|
|
30
36
|
'--sd-tag-line-height': config.lineHeight,
|
|
31
37
|
'--sd-tag-radius': config.radius,
|
|
32
|
-
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '
|
|
38
|
+
}, "aria-label": this.label || 'tag' }, this.icon && this.isLeft && iconNode, h("span", { key: '248f9d8df1ff10af3c533580203cac1f816d8000', class: "sd-tag__label" }, this.label), this.icon && !this.isLeft && iconNode));
|
|
33
39
|
}
|
|
34
40
|
static get is() { return "sd-tag"; }
|
|
35
41
|
static get originalStyleUrls() {
|
|
@@ -96,7 +102,7 @@ export class SdTag {
|
|
|
96
102
|
"mutable": false,
|
|
97
103
|
"complexType": {
|
|
98
104
|
"original": "IconName",
|
|
99
|
-
"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",
|
|
105
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"attachFile\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFill\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFill\" | \"checkOutline\" | \"checkboxCheck\" | \"checkboxIndeterminate\" | \"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",
|
|
100
106
|
"references": {
|
|
101
107
|
"IconName": {
|
|
102
108
|
"location": "global",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { TEXT_LINK_LAYOUT, TEXT_LINK_TYPOGRAPHY
|
|
2
|
+
import { TEXT_LINK_COLORS, TEXT_LINK_LAYOUT, TEXT_LINK_TYPOGRAPHY } from "./sd-text-link.config";
|
|
3
3
|
export class SdTextLink {
|
|
4
4
|
label = '';
|
|
5
5
|
icon = '';
|
|
@@ -23,19 +23,25 @@ export class SdTextLink {
|
|
|
23
23
|
const arrowColor = this.disabled ? TEXT_LINK_COLORS.icon.disabled : TEXT_LINK_LAYOUT.arrowColor;
|
|
24
24
|
const cssVars = {
|
|
25
25
|
'--sd-text-link-gap': `${TEXT_LINK_LAYOUT.gap}px`,
|
|
26
|
+
'--sd-text-link-font-size': `${typo.fontSize}px`,
|
|
26
27
|
'--sd-text-link-text-decoration': typo.textDecoration,
|
|
27
28
|
...(this.disabled ? { '--sd-text-link-color': TEXT_LINK_COLORS.content.disabled } : {}),
|
|
28
29
|
};
|
|
29
|
-
return (h("span", { key: '
|
|
30
|
+
return (h("span", { key: '284a073ec6aca3ad91bffe084c3b84813df58772', role: "button", tabindex: this.disabled ? -1 : 0, class: {
|
|
30
31
|
'sd-text-link': true,
|
|
31
32
|
'sd-text-link--disabled': this.disabled,
|
|
32
|
-
}, style: cssVars, onClick: this.handleClick
|
|
33
|
+
}, style: cssVars, onClick: this.handleClick, onKeyDown: e => {
|
|
34
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
35
|
+
e.preventDefault();
|
|
36
|
+
this.handleClick();
|
|
37
|
+
}
|
|
38
|
+
} }, this.icon && (h("sd-icon", { key: '1e2021703a766769aa647f418fb4b287039d58a5', name: this.icon, size: TEXT_LINK_LAYOUT.iconSize, color: iconColor, class: "sd-text-link__icon" })), h("span", { key: 'a25f207b8bf5bc2c221f0b370159b61ba2f27040', class: labelClassName }, this.label), this.useArrow && (h("span", { key: 'f273671ee796224bada0d2d27fc58ff893c433e7', class: "sd-text-link__arrow", style: {
|
|
33
39
|
width: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
34
40
|
height: `${TEXT_LINK_LAYOUT.arrowFrame}px`,
|
|
35
41
|
display: 'inline-flex',
|
|
36
42
|
alignItems: 'center',
|
|
37
43
|
justifyContent: 'center',
|
|
38
|
-
} }, h("sd-icon", { key: '
|
|
44
|
+
} }, h("sd-icon", { key: '2e499bf0c1cd57d1ffb90999daa1c38d0cf43df8', name: "chevronRight", size: TEXT_LINK_LAYOUT.arrowIconSize, color: arrowColor })))));
|
|
39
45
|
}
|
|
40
46
|
static get is() { return "sd-text-link"; }
|
|
41
47
|
static get originalStyleUrls() {
|
|
@@ -25,4 +25,7 @@ sd-textarea .sd-textarea__content .sd-textarea__native::placeholder {
|
|
|
25
25
|
sd-textarea .sd-textarea__content .sd-textarea__native:disabled {
|
|
26
26
|
cursor: not-allowed;
|
|
27
27
|
color: var(--sd-textarea-disabled-color);
|
|
28
|
+
}
|
|
29
|
+
sd-textarea .sd-textarea__content .sd-textarea__native[readonly] {
|
|
30
|
+
color: var(--sd-system-color-field-text-read-only);
|
|
28
31
|
}
|
|
@@ -105,7 +105,7 @@ export class SdTextarea {
|
|
|
105
105
|
'--sd-system-size-field-sm-height': 'auto',
|
|
106
106
|
'--sd-system-radius-field-sm': `${TEXTAREA_TOKENS.radius}px`,
|
|
107
107
|
};
|
|
108
|
-
return (h("sd-field", { key: '
|
|
108
|
+
return (h("sd-field", { key: '64595853405ae2a66231229516e93a74a4340ef0', 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 }, h("div", { key: 'b7cddedc733c83d4c50234559c02c5f220634008', class: "sd-textarea__content" }, h("textarea", { key: '2d1b852e6ba7b913901c07fce36ce30598f15e12', 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 }))));
|
|
109
109
|
}
|
|
110
110
|
static get is() { return "sd-textarea"; }
|
|
111
111
|
static get originalStyleUrls() {
|
|
@@ -511,7 +511,7 @@ export class SdTextarea {
|
|
|
511
511
|
"mutable": false,
|
|
512
512
|
"complexType": {
|
|
513
513
|
"original": "SdTooltipProps | null",
|
|
514
|
-
"resolved": "
|
|
514
|
+
"resolved": "SdTooltip | null",
|
|
515
515
|
"references": {
|
|
516
516
|
"SdTooltipProps": {
|
|
517
517
|
"location": "import",
|
|
@@ -1,10 +1,24 @@
|
|
|
1
1
|
import toastTokens from "../../tokens/generated/component.toast.json";
|
|
2
|
+
export const TOAST_BUTTON_NAME_BY_TYPE = {
|
|
3
|
+
default: 'secondary_sm',
|
|
4
|
+
danger: 'danger_outline_sm',
|
|
5
|
+
caution: 'neutral_outline_sm',
|
|
6
|
+
complete: 'neutral_outline_sm',
|
|
7
|
+
accent: 'neutral_outline_sm',
|
|
8
|
+
info: 'secondary_sm',
|
|
9
|
+
};
|
|
2
10
|
export const TOAST_TYPE_CONFIG = {
|
|
3
11
|
default: { bg: toastTokens.toast.default.bg, content: toastTokens.toast.default.content },
|
|
4
12
|
danger: { bg: toastTokens.toast.danger.bg, content: toastTokens.toast.danger.content },
|
|
5
13
|
caution: { bg: toastTokens.toast.caution.bg, content: toastTokens.toast.caution.content },
|
|
6
14
|
complete: { bg: toastTokens.toast.complete.bg, content: toastTokens.toast.complete.content },
|
|
7
15
|
accent: { bg: toastTokens.toast.accent.bg, content: toastTokens.toast.accent.content },
|
|
16
|
+
info: {
|
|
17
|
+
bg: toastTokens.toast.info.bg,
|
|
18
|
+
content: toastTokens.toast.info.text,
|
|
19
|
+
icon: toastTokens.toast.info.icon,
|
|
20
|
+
linkColor: toastTokens.toast.info.textLink,
|
|
21
|
+
},
|
|
8
22
|
};
|
|
9
23
|
export const TOAST_LAYOUT = {
|
|
10
24
|
radius: toastTokens.toast.radius,
|
|
@@ -26,18 +26,19 @@ sd-toast .sd-toast__content {
|
|
|
26
26
|
sd-toast .sd-toast__message {
|
|
27
27
|
font-size: 14px;
|
|
28
28
|
line-height: 24px;
|
|
29
|
-
font-weight:
|
|
29
|
+
font-weight: 500;
|
|
30
30
|
white-space: nowrap;
|
|
31
31
|
}
|
|
32
32
|
sd-toast .sd-toast__link {
|
|
33
33
|
font-size: 14px;
|
|
34
34
|
line-height: 24px;
|
|
35
35
|
font-weight: 700;
|
|
36
|
-
color: var(--sd-toast-text);
|
|
36
|
+
color: var(--sd-toast-link, var(--sd-toast-text));
|
|
37
37
|
text-decoration: underline;
|
|
38
38
|
cursor: pointer;
|
|
39
39
|
transition: opacity 0.2s ease;
|
|
40
40
|
margin-left: 4px;
|
|
41
|
+
white-space: nowrap;
|
|
41
42
|
}
|
|
42
43
|
sd-toast .sd-toast__link:hover {
|
|
43
44
|
opacity: 0.8;
|
|
@@ -45,9 +46,6 @@ sd-toast .sd-toast__link:hover {
|
|
|
45
46
|
sd-toast .sd-toast__button {
|
|
46
47
|
flex-shrink: 0;
|
|
47
48
|
}
|
|
48
|
-
sd-toast .sd-toast__button button {
|
|
49
|
-
color: var(--button-text-color, inherit) !important;
|
|
50
|
-
}
|
|
51
49
|
sd-toast .sd-toast__close {
|
|
52
50
|
flex-shrink: 0;
|
|
53
51
|
}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import { TOAST_TYPE_CONFIG, TOAST_LAYOUT } from "./sd-toast.config";
|
|
2
|
+
import { TOAST_TYPE_CONFIG, TOAST_LAYOUT, TOAST_BUTTON_NAME_BY_TYPE, } from "./sd-toast.config";
|
|
3
3
|
export class SdToast {
|
|
4
4
|
icon;
|
|
5
5
|
message;
|
|
6
6
|
link;
|
|
7
7
|
linkLabel;
|
|
8
|
+
buttonLabel;
|
|
8
9
|
useClose = false;
|
|
9
10
|
type = 'default';
|
|
10
11
|
close;
|
|
12
|
+
buttonClick;
|
|
11
13
|
render() {
|
|
12
14
|
const typeConfig = TOAST_TYPE_CONFIG[this.type] ?? TOAST_TYPE_CONFIG.default;
|
|
13
15
|
const iconSize = Number(TOAST_LAYOUT.iconSize);
|
|
14
|
-
|
|
16
|
+
const iconColor = typeConfig.icon ?? typeConfig.content;
|
|
17
|
+
const linkColor = typeConfig.linkColor ?? typeConfig.content;
|
|
18
|
+
const useDefaultCloseIntent = ['default', 'caution', 'info'].includes(this.type);
|
|
19
|
+
const buttonName = TOAST_BUTTON_NAME_BY_TYPE[this.type] ?? TOAST_BUTTON_NAME_BY_TYPE.default;
|
|
20
|
+
return (h("div", { key: 'edab2d1d8ac8222a988d38279f1a002281454f51', style: {
|
|
15
21
|
'--sd-toast-bg': typeConfig.bg,
|
|
16
22
|
'--sd-toast-text': typeConfig.content,
|
|
17
|
-
|
|
23
|
+
'--sd-toast-icon': iconColor,
|
|
24
|
+
'--sd-toast-link': linkColor,
|
|
25
|
+
} }, h("div", { key: '8dd98dd58cdf003ce031e5ae96b749a037333ce1', class: "sd-toast", role: "status", "aria-live": "polite", "aria-atomic": "true" }, this.icon && (h("div", { key: '2b78cbc4fe96cc00d444fb49956da1fe245993ef', class: "sd-toast__icon" }, h("sd-icon", { key: '679852c9a19046ce1d2c9a0cdb4346f6e23c77fb', name: this.icon, size: iconSize, color: iconColor }))), h("div", { key: '2798bd2392e9fc3c4c0375d894572da13d3d7e25', class: "sd-toast__content" }, h("span", { key: '76ab798742baa63b21bda60867cbeb5aa20f7957', class: "sd-toast__message" }, this.message)), this.link && (h("a", { key: '6eb61ca5737f9af06ad63cfcef671e46ecc8de47', href: this.link, class: "sd-toast__link", target: "_blank", rel: "noopener noreferrer" }, this.linkLabel || this.link)), this.buttonLabel && (h("sd-button", { key: '6c1ad7d494c7cc218b1058fec1ed3e42af0c83fc', class: "sd-toast__button", name: buttonName, label: this.buttonLabel, onSdClick: (event) => this.buttonClick.emit(event.detail) })), this.useClose && (h("sd-ghost-button", { key: '32dd9adcc951a3a852bf20540376bd4d7ced7526', class: "sd-toast__close", icon: "close", intent: useDefaultCloseIntent ? 'default' : 'inverse', ariaLabel: "close", size: "xs", onClick: () => this.close.emit() })))));
|
|
18
26
|
}
|
|
19
27
|
static get is() { return "sd-toast"; }
|
|
20
28
|
static get originalStyleUrls() {
|
|
@@ -34,7 +42,7 @@ export class SdToast {
|
|
|
34
42
|
"mutable": false,
|
|
35
43
|
"complexType": {
|
|
36
44
|
"original": "IconName",
|
|
37
|
-
"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",
|
|
45
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"attachFile\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFill\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFill\" | \"checkOutline\" | \"checkboxCheck\" | \"checkboxIndeterminate\" | \"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",
|
|
38
46
|
"references": {
|
|
39
47
|
"IconName": {
|
|
40
48
|
"location": "global",
|
|
@@ -110,6 +118,25 @@ export class SdToast {
|
|
|
110
118
|
"reflect": false,
|
|
111
119
|
"attribute": "link-label"
|
|
112
120
|
},
|
|
121
|
+
"buttonLabel": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"mutable": false,
|
|
124
|
+
"complexType": {
|
|
125
|
+
"original": "string",
|
|
126
|
+
"resolved": "string | undefined",
|
|
127
|
+
"references": {}
|
|
128
|
+
},
|
|
129
|
+
"required": false,
|
|
130
|
+
"optional": true,
|
|
131
|
+
"docs": {
|
|
132
|
+
"tags": [],
|
|
133
|
+
"text": ""
|
|
134
|
+
},
|
|
135
|
+
"getter": false,
|
|
136
|
+
"setter": false,
|
|
137
|
+
"reflect": false,
|
|
138
|
+
"attribute": "button-label"
|
|
139
|
+
},
|
|
113
140
|
"useClose": {
|
|
114
141
|
"type": "boolean",
|
|
115
142
|
"mutable": false,
|
|
@@ -135,7 +162,7 @@ export class SdToast {
|
|
|
135
162
|
"mutable": false,
|
|
136
163
|
"complexType": {
|
|
137
164
|
"original": "ToastType",
|
|
138
|
-
"resolved": "\"accent\" | \"caution\" | \"complete\" | \"danger\" | \"default\"",
|
|
165
|
+
"resolved": "\"accent\" | \"caution\" | \"complete\" | \"danger\" | \"default\" | \"info\"",
|
|
139
166
|
"references": {
|
|
140
167
|
"ToastType": {
|
|
141
168
|
"location": "import",
|
|
@@ -175,6 +202,26 @@ export class SdToast {
|
|
|
175
202
|
"resolved": "void",
|
|
176
203
|
"references": {}
|
|
177
204
|
}
|
|
205
|
+
}, {
|
|
206
|
+
"method": "buttonClick",
|
|
207
|
+
"name": "sdButtonClick",
|
|
208
|
+
"bubbles": true,
|
|
209
|
+
"cancelable": true,
|
|
210
|
+
"composed": true,
|
|
211
|
+
"docs": {
|
|
212
|
+
"tags": [],
|
|
213
|
+
"text": ""
|
|
214
|
+
},
|
|
215
|
+
"complexType": {
|
|
216
|
+
"original": "MouseEvent",
|
|
217
|
+
"resolved": "MouseEvent",
|
|
218
|
+
"references": {
|
|
219
|
+
"MouseEvent": {
|
|
220
|
+
"location": "global",
|
|
221
|
+
"id": "global::MouseEvent"
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
178
225
|
}];
|
|
179
226
|
}
|
|
180
227
|
}
|
|
@@ -85,12 +85,12 @@ export class SdToastContainer {
|
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
87
|
componentDidRender() {
|
|
88
|
-
if (
|
|
88
|
+
if (this.toasts === undefined || this.toasts.length === 0)
|
|
89
89
|
return;
|
|
90
90
|
const hasEntering = this.toasts.some(t => t.state === 'entering');
|
|
91
91
|
if (hasEntering) {
|
|
92
92
|
requestAnimationFrame(() => {
|
|
93
|
-
this.toasts = (this.toasts || []).map(t =>
|
|
93
|
+
this.toasts = (this.toasts || []).map(t => t.state === 'entering' ? { ...t, state: 'visible' } : t);
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
this.measureHeights();
|
|
@@ -216,7 +216,7 @@ export class SdToastContainer {
|
|
|
216
216
|
const activeToasts = toasts.filter(t => t.state !== 'exiting').reverse();
|
|
217
217
|
const indexMap = new Map();
|
|
218
218
|
activeToasts.forEach((t, i) => indexMap.set(t.id, i));
|
|
219
|
-
return (h("div", { key: '
|
|
219
|
+
return (h("div", { key: '4cf4413f350c2a1adc475c567d874252b1786e91', class: "sd-toast-container", style: this.getContainerStyles(), onMouseEnter: () => {
|
|
220
220
|
this.expanded = true;
|
|
221
221
|
this.pauseTimers();
|
|
222
222
|
}, onMouseLeave: () => {
|
|
@@ -232,7 +232,7 @@ export class SdToastContainer {
|
|
|
232
232
|
}, style: this.getToastItemStyle(entry, frontIndex, activeToasts), ref: el => {
|
|
233
233
|
if (el)
|
|
234
234
|
this.toastRefs.set(entry.id, el);
|
|
235
|
-
}, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id) })));
|
|
235
|
+
}, onTransitionEnd: () => this.handleTransitionEnd(entry.id) }, h("sd-toast", { message: entry.options.message, type: entry.options.type || 'default', icon: entry.options.icon, link: entry.options.link, linkLabel: entry.options.linkLabel, buttonLabel: entry.options.buttonLabel, useClose: entry.options.useClose, onSdClose: () => this.startDismiss(entry.id), onSdButtonClick: (event) => entry.options.onButtonClick?.(event.detail) })));
|
|
236
236
|
})));
|
|
237
237
|
}
|
|
238
238
|
static get is() { return "sd-toast-container"; }
|
|
@@ -45,7 +45,7 @@ export class SdToggle {
|
|
|
45
45
|
'--sd-toggle-content-select': TOGGLE_COLORS.content.select,
|
|
46
46
|
'--sd-toggle-content-disabled': TOGGLE_COLORS.content.disabled,
|
|
47
47
|
};
|
|
48
|
-
return (h("label", { key: '
|
|
48
|
+
return (h("label", { key: '0b8273ed8f8efae70de32b92671bbd1353e877dc', class: this.toggleClasses, style: cssVars, "aria-label": this.label || 'toggle' }, this.label, h("input", { key: '2ec9909142463f8ba556ad885cb7f97bedad6b31', style: { display: 'none' }, type: "checkbox", onInput: this.handleChange })));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "sd-toggle"; }
|
|
51
51
|
static get originalStyleUrls() {
|
|
@@ -10,9 +10,11 @@ export class SdTooltip {
|
|
|
10
10
|
icon = 'helpOutline';
|
|
11
11
|
iconSize = 12;
|
|
12
12
|
label = '';
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
name = 'primary_sm';
|
|
14
|
+
rightIcon;
|
|
15
|
+
ariaLabel = '';
|
|
16
|
+
disabled = false;
|
|
17
|
+
type = 'button';
|
|
16
18
|
sdClass = '';
|
|
17
19
|
showTooltip = false;
|
|
18
20
|
slotContentHTML = '';
|
|
@@ -79,16 +81,17 @@ export class SdTooltip {
|
|
|
79
81
|
onMouseLeave: () => this.startHideTimer(),
|
|
80
82
|
};
|
|
81
83
|
const toggleTooltip = () => (this.showTooltip = !this.showTooltip);
|
|
82
|
-
const
|
|
83
|
-
const
|
|
84
|
-
|
|
84
|
+
const hasLabel = this.label !== undefined && this.label !== '';
|
|
85
|
+
const divTrigger = trigger === 'hover' ? hoverTrigger : hasLabel ? {} : { onClick: toggleTooltip };
|
|
86
|
+
const buttonClickTrigger = trigger === 'click' && hasLabel ? { onSdClick: toggleTooltip } : {};
|
|
87
|
+
return (h(Fragment, { key: 'cd01d5f5e9c1c542268d455d97b1bdfe1a2eef2c' }, h("div", { key: '2b883efa4f4ea16b2a544fc43059a139f68e32c1', class: `sd-tooltip-trigger ${this.sdClass !== undefined && this.sdClass !== '' ? this.sdClass : ''}`, ...divTrigger }, hasLabel ? (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 })) : (h("sd-icon", { ref: el => (this.buttonEl = el), name: icon, size: this.iconSize ?? 12, color: color, class: "sd-tooltip" }))), this.showTooltip && (h("sd-floating-portal", { key: '4d69c1582c3a2fab1fae2e29a4b41999d5dded95', parentRef: this.buttonEl, onSdClose: this.handleClose, placement: placement, offset: this.tooltipOffset }, h("div", { key: '8e94b33ba40231b26174b28a63d7748649f4d729', ref: el => (this.menuEl = el), class: {
|
|
85
88
|
'sd-floating-menu': true,
|
|
86
89
|
[`sd-floating-menu--${tooltipType}`]: true,
|
|
87
90
|
[`sd-floating-menu--${placement}`]: true,
|
|
88
91
|
}, style: {
|
|
89
92
|
'--sd-floating-bg': typeConfig.bg,
|
|
90
93
|
'--sd-floating-content': typeConfig.content,
|
|
91
|
-
}, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: '
|
|
94
|
+
}, onMouseEnter: () => this.show(), onMouseLeave: () => this.startHideTimer() }, h("i", { key: '535deacc918ec41135ff1c1e24ea5b32b59a4b54', class: `sd-floating-menu__arrow sd-floating-menu__arrow--${placement}` }, h(TooltipArrow, { key: 'c2c70e6360e78f7287acd40a815c558610bf66fa' })), h("div", { key: '9569fbe5648df9c74e7d00b28f91fe8dfa6f6df3', class: "sd-floating-menu__content", innerHTML: this.slotContentHTML }))))));
|
|
92
95
|
}
|
|
93
96
|
static get is() { return "sd-tooltip"; }
|
|
94
97
|
static get originalStyleUrls() {
|
|
@@ -195,7 +198,7 @@ export class SdTooltip {
|
|
|
195
198
|
"mutable": false,
|
|
196
199
|
"complexType": {
|
|
197
200
|
"original": "IconName",
|
|
198
|
-
"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\"",
|
|
201
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"attachFile\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFill\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFill\" | \"checkOutline\" | \"checkboxCheck\" | \"checkboxIndeterminate\" | \"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\"",
|
|
199
202
|
"references": {
|
|
200
203
|
"IconName": {
|
|
201
204
|
"location": "global",
|
|
@@ -255,18 +258,18 @@ export class SdTooltip {
|
|
|
255
258
|
"attribute": "label",
|
|
256
259
|
"defaultValue": "''"
|
|
257
260
|
},
|
|
258
|
-
"
|
|
261
|
+
"name": {
|
|
259
262
|
"type": "string",
|
|
260
263
|
"mutable": false,
|
|
261
264
|
"complexType": {
|
|
262
|
-
"original": "
|
|
263
|
-
"resolved": "\"
|
|
265
|
+
"original": "ButtonName",
|
|
266
|
+
"resolved": "\"danger_lg\" | \"danger_md\" | \"danger_outline_lg\" | \"danger_outline_md\" | \"danger_outline_sm\" | \"danger_outline_xs\" | \"danger_sm\" | \"danger_xs\" | \"neutral_outline_lg\" | \"neutral_outline_md\" | \"neutral_outline_sm\" | \"neutral_outline_xs\" | \"primary_lg\" | \"primary_md\" | \"primary_outline_lg\" | \"primary_outline_md\" | \"primary_outline_sm\" | \"primary_outline_xs\" | \"primary_sm\" | \"primary_xs\" | \"secondary_lg\" | \"secondary_md\" | \"secondary_sm\" | \"secondary_xs\"",
|
|
264
267
|
"references": {
|
|
265
|
-
"
|
|
268
|
+
"ButtonName": {
|
|
266
269
|
"location": "import",
|
|
267
|
-
"path": "../sd-button/sd-button",
|
|
268
|
-
"id": "src/components/sd-button/sd-button.
|
|
269
|
-
"referenceLocation": "
|
|
270
|
+
"path": "../sd-button/sd-button.config",
|
|
271
|
+
"id": "src/components/sd-button/sd-button.config.ts::ButtonName",
|
|
272
|
+
"referenceLocation": "ButtonName"
|
|
270
273
|
}
|
|
271
274
|
}
|
|
272
275
|
},
|
|
@@ -279,25 +282,42 @@ export class SdTooltip {
|
|
|
279
282
|
"getter": false,
|
|
280
283
|
"setter": false,
|
|
281
284
|
"reflect": false,
|
|
282
|
-
"attribute": "
|
|
283
|
-
"defaultValue": "'
|
|
285
|
+
"attribute": "name",
|
|
286
|
+
"defaultValue": "'primary_sm'"
|
|
284
287
|
},
|
|
285
|
-
"
|
|
288
|
+
"rightIcon": {
|
|
286
289
|
"type": "string",
|
|
287
290
|
"mutable": false,
|
|
288
291
|
"complexType": {
|
|
289
|
-
"original": "
|
|
290
|
-
"resolved": "\"
|
|
292
|
+
"original": "IconName",
|
|
293
|
+
"resolved": "\"add\" | \"alert\" | \"alignKorean\" | \"archive\" | \"arrowDown\" | \"arrowLeft\" | \"arrowRight\" | \"arrowUp\" | \"attachFile\" | \"barcode\" | \"bell\" | \"board\" | \"box\" | \"camera\" | \"cancelFill\" | \"cancelOutline\" | \"caretDown\" | \"caretLeft\" | \"caretRight\" | \"caretUp\" | \"check\" | \"checkFill\" | \"checkOutline\" | \"checkboxCheck\" | \"checkboxIndeterminate\" | \"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",
|
|
291
294
|
"references": {
|
|
292
|
-
"
|
|
293
|
-
"location": "
|
|
294
|
-
"
|
|
295
|
-
"id": "src/components/sd-button/sd-button.tsx::ButtonVariant",
|
|
296
|
-
"referenceLocation": "ButtonVariant"
|
|
295
|
+
"IconName": {
|
|
296
|
+
"location": "global",
|
|
297
|
+
"id": "global::IconName"
|
|
297
298
|
}
|
|
298
299
|
}
|
|
299
300
|
},
|
|
300
301
|
"required": false,
|
|
302
|
+
"optional": true,
|
|
303
|
+
"docs": {
|
|
304
|
+
"tags": [],
|
|
305
|
+
"text": ""
|
|
306
|
+
},
|
|
307
|
+
"getter": false,
|
|
308
|
+
"setter": false,
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"attribute": "right-icon"
|
|
311
|
+
},
|
|
312
|
+
"ariaLabel": {
|
|
313
|
+
"type": "string",
|
|
314
|
+
"mutable": false,
|
|
315
|
+
"complexType": {
|
|
316
|
+
"original": "string",
|
|
317
|
+
"resolved": "string",
|
|
318
|
+
"references": {}
|
|
319
|
+
},
|
|
320
|
+
"required": false,
|
|
301
321
|
"optional": false,
|
|
302
322
|
"docs": {
|
|
303
323
|
"tags": [],
|
|
@@ -306,10 +326,10 @@ export class SdTooltip {
|
|
|
306
326
|
"getter": false,
|
|
307
327
|
"setter": false,
|
|
308
328
|
"reflect": false,
|
|
309
|
-
"attribute": "
|
|
310
|
-
"defaultValue": "'
|
|
329
|
+
"attribute": "aria-label",
|
|
330
|
+
"defaultValue": "''"
|
|
311
331
|
},
|
|
312
|
-
"
|
|
332
|
+
"disabled": {
|
|
313
333
|
"type": "boolean",
|
|
314
334
|
"mutable": false,
|
|
315
335
|
"complexType": {
|
|
@@ -326,8 +346,35 @@ export class SdTooltip {
|
|
|
326
346
|
"getter": false,
|
|
327
347
|
"setter": false,
|
|
328
348
|
"reflect": false,
|
|
329
|
-
"attribute": "
|
|
330
|
-
"defaultValue": "
|
|
349
|
+
"attribute": "disabled",
|
|
350
|
+
"defaultValue": "false"
|
|
351
|
+
},
|
|
352
|
+
"type": {
|
|
353
|
+
"type": "string",
|
|
354
|
+
"mutable": false,
|
|
355
|
+
"complexType": {
|
|
356
|
+
"original": "ButtonType",
|
|
357
|
+
"resolved": "\"button\" | \"reset\" | \"submit\"",
|
|
358
|
+
"references": {
|
|
359
|
+
"ButtonType": {
|
|
360
|
+
"location": "import",
|
|
361
|
+
"path": "../sd-button/sd-button.config",
|
|
362
|
+
"id": "src/components/sd-button/sd-button.config.ts::ButtonType",
|
|
363
|
+
"referenceLocation": "ButtonType"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
"required": false,
|
|
368
|
+
"optional": false,
|
|
369
|
+
"docs": {
|
|
370
|
+
"tags": [],
|
|
371
|
+
"text": ""
|
|
372
|
+
},
|
|
373
|
+
"getter": false,
|
|
374
|
+
"setter": false,
|
|
375
|
+
"reflect": false,
|
|
376
|
+
"attribute": "type",
|
|
377
|
+
"defaultValue": "'button'"
|
|
331
378
|
},
|
|
332
379
|
"sdClass": {
|
|
333
380
|
"type": "string",
|