@type-dom/ui 0.0.4 → 0.0.6
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/README.md +44 -45
- package/package.json +4 -3
- package/src/aria.d.ts +15 -0
- package/src/components/basic/td-button/td-button.abstract.d.ts +19 -0
- package/src/components/basic/td-button/td-button.abstract.js +175 -0
- package/src/components/basic/td-button/td-button.class.d.ts +3 -14
- package/src/components/basic/td-button/td-button.class.js +4 -172
- package/src/components/basic/td-button/td-button.const.d.ts +7 -0
- package/src/components/basic/td-button/td-button.const.js +4 -0
- package/src/components/basic/td-button/td-button.interface.d.ts +16 -6
- package/src/components/basic/td-button/td-button.interface.js +4 -0
- package/src/components/basic/td-button/td-button.style.d.ts +8 -3
- package/src/components/basic/td-button/td-button.style.js +28 -10
- package/src/components/basic/td-button-group/td-button-group.class.d.ts +2 -2
- package/src/components/basic/td-button-group/td-button-group.class.js +28 -25
- package/src/components/basic/td-container/td-aside/td-aside.class.d.ts +3 -2
- package/src/components/basic/td-container/td-aside/td-aside.class.js +7 -16
- package/src/components/basic/td-container/td-container.class.d.ts +4 -3
- package/src/components/basic/td-container/td-container.class.js +9 -8
- package/src/components/basic/td-container/td-container.interface.d.ts +2 -2
- package/src/components/basic/td-container/td-container.js +3 -2
- package/src/components/basic/td-container/td-footer/td-footer.class.d.ts +2 -3
- package/src/components/basic/td-container/td-footer/td-footer.class.js +9 -11
- package/src/components/basic/td-container/td-header/td-header.class.d.ts +2 -2
- package/src/components/basic/td-container/td-header/td-header.class.js +10 -10
- package/src/components/basic/td-container/td-main/td-main.class.d.ts +2 -1
- package/src/components/basic/td-container/td-main/td-main.class.js +6 -4
- package/src/components/basic/td-icon/td-icon.class.d.ts +30 -6
- package/src/components/basic/td-icon/td-icon.class.js +111 -47
- package/src/components/basic/td-icon/td-icon.interface.d.ts +36 -6
- package/src/components/basic/td-icon/td-icon.style.d.ts +5 -14
- package/src/components/basic/td-icon/td-icon.style.js +5 -6
- package/src/components/basic/td-layout/td-col/td-col.class.d.ts +4 -4
- package/src/components/basic/td-layout/td-col/td-col.class.js +48 -45
- package/src/components/basic/td-layout/td-col/td-col.interface.d.ts +0 -4
- package/src/components/basic/td-layout/td-row/td-row.class.d.ts +4 -3
- package/src/components/basic/td-layout/td-row/td-row.class.js +31 -30
- package/src/components/basic/td-layout/td-row/td-row.interface.d.ts +0 -1
- package/src/components/basic/td-link/td-link.class.d.ts +5 -5
- package/src/components/basic/td-link/td-link.class.js +53 -55
- package/src/components/basic/td-link/td-link.interface.d.ts +14 -6
- package/src/components/basic/td-link/td-link.style.d.ts +14 -3
- package/src/components/basic/td-link/td-link.style.js +40 -10
- package/src/components/basic/td-scrollbar/bar/bar.class.d.ts +2 -1
- package/src/components/basic/td-scrollbar/bar/bar.class.js +8 -7
- package/src/components/basic/td-scrollbar/td-scrollbar.class.d.ts +3 -3
- package/src/components/basic/td-scrollbar/td-scrollbar.class.js +18 -20
- package/src/components/basic/td-scrollbar/td-scrollbar.interface.d.ts +3 -2
- package/src/components/basic/td-scrollbar/thumb/thumb.class.d.ts +2 -1
- package/src/components/basic/td-scrollbar/thumb/thumb.class.js +12 -12
- package/src/components/basic/td-space/td-space.class.d.ts +5 -5
- package/src/components/basic/td-space/td-space.class.js +32 -30
- package/src/components/basic/td-space/td-space.interface.d.ts +1 -0
- package/src/components/basic/td-text/td-text.class.d.ts +3 -3
- package/src/components/basic/td-text/td-text.class.js +22 -19
- package/src/components/basic/td-text/td-text.interface.d.ts +4 -2
- package/src/components/basic/td-text/td-text.style.d.ts +1 -1
- package/src/components/basic/td-text/td-text.style.js +13 -4
- package/src/components/data/index.d.ts +30 -0
- package/src/components/data/index.js +34 -0
- package/src/components/data/td-avatar/td-avatar.class.d.ts +12 -0
- package/src/components/data/td-avatar/td-avatar.class.js +120 -0
- package/src/components/data/td-avatar/td-avatar.interface.d.ts +41 -0
- package/src/components/data/td-avatar/td-avatar.style.d.ts +13 -0
- package/src/components/data/td-avatar/td-avatar.style.js +20 -0
- package/src/components/data/td-badge/td-badge.class.d.ts +9 -0
- package/src/components/data/td-badge/td-badge.class.js +104 -0
- package/src/components/data/td-badge/td-badge.interface.d.ts +52 -0
- package/src/components/data/td-badge/td-badge.style.d.ts +7 -0
- package/src/components/data/td-badge/td-badge.style.js +12 -0
- package/src/components/data/td-card/td-card.class.d.ts +14 -0
- package/src/components/data/td-card/td-card.class.js +102 -0
- package/src/components/data/td-card/td-card.interface.d.ts +26 -0
- package/src/components/data/td-card/td-card.interface.js +2 -0
- package/src/components/data/td-card/td-card.style.d.ts +9 -0
- package/src/components/data/td-card/td-card.style.js +29 -0
- package/src/components/data/td-carousel/td-carousel.class.d.ts +0 -0
- package/src/components/data/td-carousel/td-carousel.class.js +1 -0
- package/src/components/data/td-carousel/td-carousel.interface.d.ts +0 -0
- package/src/components/data/td-carousel/td-carousel.interface.js +1 -0
- package/src/components/data/td-check-tag/td-check-tag.class.d.ts +12 -0
- package/src/components/data/td-check-tag/td-check-tag.class.js +75 -0
- package/src/components/data/td-check-tag/td-check-tag.interface.d.ts +22 -0
- package/src/components/data/td-check-tag/td-check-tag.interface.js +3 -0
- package/src/components/data/td-check-tag/td-check-tag.style.d.ts +7 -0
- package/src/components/data/td-check-tag/td-check-tag.style.js +39 -0
- package/src/components/data/td-collapse/td-collapse.class.d.ts +13 -0
- package/src/components/data/td-collapse/td-collapse.class.js +85 -0
- package/src/components/data/td-collapse/td-collapse.interface.d.ts +18 -0
- package/src/components/data/td-collapse/td-collapse.interface.js +2 -0
- package/src/components/data/td-collapse/td-collapse.style.d.ts +11 -0
- package/src/components/data/td-collapse/td-collapse.style.js +22 -0
- package/src/components/data/td-collapse-item/td-collapse-item.class.d.ts +25 -0
- package/src/components/data/td-collapse-item/td-collapse-item.class.js +222 -0
- package/src/components/data/td-collapse-item/td-collapse-item.interface.d.ts +20 -0
- package/src/components/data/td-collapse-item/td-collapse-item.interface.js +2 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.class.d.ts +6 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.class.js +12 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.interface.d.ts +4 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.interface.js +2 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.util.d.ts +2 -0
- package/src/components/data/td-collapse-transition/td-collapse-transition.util.js +147 -0
- package/src/components/data/td-count-down/td-count-down.class.d.ts +13 -0
- package/src/components/data/td-count-down/td-count-down.class.js +57 -0
- package/src/components/data/td-count-down/td-count-down.function.d.ts +0 -0
- package/src/components/data/td-count-down/td-count-down.function.js +1 -0
- package/src/components/data/td-count-down/td-count-down.interface.d.ts +11 -0
- package/src/components/data/td-count-down/td-count-down.interface.js +2 -0
- package/src/components/data/td-count-down/utils.d.ts +3 -0
- package/src/components/data/td-count-down/utils.js +32 -0
- package/src/components/data/td-descriptions/td-descriptions-row.d.ts +21 -0
- package/src/components/data/td-descriptions/td-descriptions-row.js +80 -0
- package/src/components/data/td-descriptions/td-descriptions.class.d.ts +18 -0
- package/src/components/data/td-descriptions/td-descriptions.class.js +156 -0
- package/src/components/data/td-descriptions/td-descriptions.interface.d.ts +43 -0
- package/src/components/data/td-descriptions/td-descriptions.interface.js +2 -0
- package/src/components/data/td-descriptions/td-descriptions.style.d.ts +51 -0
- package/src/components/data/td-descriptions/td-descriptions.style.js +142 -0
- package/src/components/data/td-descriptions/td-descritions-cell.d.ts +15 -0
- package/src/components/data/td-descriptions/td-descritions-cell.js +110 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.class.d.ts +10 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.class.js +20 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.interface.d.ts +51 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.interface.js +2 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.style.d.ts +10 -0
- package/src/components/data/td-descriptions-item/td-descriptions-item.style.js +13 -0
- package/src/components/data/td-empty/img-empty.class.d.ts +5 -0
- package/src/components/data/td-empty/img-empty.class.js +204 -0
- package/src/components/data/td-empty/td-empty.class.d.ts +13 -0
- package/src/components/data/td-empty/td-empty.class.js +77 -0
- package/src/components/data/td-empty/td-empty.interface.d.ts +25 -0
- package/src/components/data/td-empty/td-empty.interface.js +2 -0
- package/src/components/data/td-empty/td-empty.style.d.ts +24 -0
- package/src/components/data/td-empty/td-empty.style.js +65 -0
- package/src/components/data/td-image/td-image.class.d.ts +16 -0
- package/src/components/data/td-image/td-image.class.js +95 -0
- package/src/components/data/td-image/td-image.interface.d.ts +78 -0
- package/src/components/data/td-image/td-image.interface.js +2 -0
- package/src/components/data/td-image/td-image.style.d.ts +11 -0
- package/src/components/data/td-image/td-image.style.js +18 -0
- package/src/components/data/td-image/util.d.ts +1 -0
- package/src/components/data/td-image/util.js +18 -0
- package/src/components/data/td-image-viewer/td-image-viewer.class.d.ts +20 -0
- package/src/components/data/td-image-viewer/td-image-viewer.class.js +261 -0
- package/src/components/data/td-image-viewer/td-image-viewer.interface.d.ts +63 -0
- package/src/components/data/td-image-viewer/td-image-viewer.interface.js +2 -0
- package/src/components/data/td-image-viewer/td-image-viewer.style.d.ts +9 -0
- package/src/components/data/td-image-viewer/td-image-viewer.style.js +67 -0
- package/src/components/data/td-pagination/td-pagination.class.d.ts +0 -0
- package/src/components/data/td-pagination/td-pagination.class.js +1 -0
- package/src/components/data/td-pagination/td-pagination.interface.d.ts +0 -0
- package/src/components/data/td-pagination/td-pagination.interface.js +1 -0
- package/src/components/data/td-progress/td-progress.class.d.ts +0 -0
- package/src/components/data/td-progress/td-progress.class.js +1 -0
- package/src/components/data/td-progress/td-progress.interface.d.ts +0 -0
- package/src/components/data/td-progress/td-progress.interface.js +1 -0
- package/src/components/data/td-result/td-result.class.d.ts +8 -0
- package/src/components/data/td-result/td-result.class.js +87 -0
- package/src/components/data/td-result/td-result.constant.d.ts +8 -0
- package/src/components/data/td-result/td-result.constant.js +41 -0
- package/src/components/data/td-result/td-result.interface.d.ts +28 -0
- package/src/components/data/td-result/td-result.interface.js +2 -0
- package/src/components/data/td-result/td-result.style.d.ts +16 -0
- package/src/components/data/td-result/td-result.style.js +46 -0
- package/src/components/data/td-segmented/td-segmented.class.d.ts +22 -0
- package/src/components/data/td-segmented/td-segmented.class.js +172 -0
- package/src/components/data/td-segmented/td-segmented.interface.d.ts +51 -0
- package/src/components/data/td-segmented/td-segmented.interface.js +2 -0
- package/src/components/data/td-segmented/td-segmented.style.d.ts +37 -0
- package/src/components/data/td-segmented/td-segmented.style.js +142 -0
- package/src/components/data/td-statistic/td-statistic.abstract.d.ts +15 -0
- package/src/components/data/td-statistic/td-statistic.abstract.js +113 -0
- package/src/components/data/td-statistic/td-statistic.class.d.ts +6 -0
- package/src/components/data/td-statistic/td-statistic.class.js +11 -0
- package/src/components/data/td-statistic/td-statistic.interface.d.ts +58 -0
- package/src/components/data/td-statistic/td-statistic.interface.js +2 -0
- package/src/components/data/td-statistic/td-statistic.style.d.ts +9 -0
- package/src/components/data/td-statistic/td-statistic.style.js +16 -0
- package/src/components/data/td-table/td-table.class.d.ts +0 -0
- package/src/components/data/td-table/td-table.class.js +1 -0
- package/src/components/data/td-table/td-table.interface.d.ts +0 -0
- package/src/components/data/td-table/td-table.interface.js +1 -0
- package/src/components/data/td-tag/td-tag.class.d.ts +12 -0
- package/src/components/data/td-tag/td-tag.class.js +144 -0
- package/src/components/data/td-tag/td-tag.interface.d.ts +42 -0
- package/src/components/data/td-tag/td-tag.interface.js +2 -0
- package/src/components/data/td-tag/td-tag.style.d.ts +45 -0
- package/src/components/data/td-tag/td-tag.style.js +80 -0
- package/src/components/data/td-timeline/td-timeline.class.d.ts +0 -0
- package/src/components/data/td-timeline/td-timeline.class.js +1 -0
- package/src/components/data/td-timeline/td-timeline.interface.d.ts +0 -0
- package/src/components/data/td-timeline/td-timeline.interface.js +1 -0
- package/src/components/data/td-tree/td-tree.class.d.ts +0 -0
- package/src/components/data/td-tree/td-tree.class.js +1 -0
- package/src/components/data/td-tree/td-tree.interface.d.ts +0 -0
- package/src/components/data/td-tree/td-tree.interface.js +1 -0
- package/src/components/feedback/dialog/dialog.class.d.ts +2 -1
- package/src/components/feedback/dialog/dialog.class.js +5 -5
- package/src/components/feedback/dialog/dialog.interface.d.ts +2 -3
- package/src/components/feedback/index.d.ts +11 -0
- package/src/components/feedback/index.js +15 -1
- package/src/components/feedback/message-box/message-box.d.ts +2 -1
- package/src/components/feedback/message-box/message-box.interface.d.ts +2 -2
- package/src/components/feedback/message-box/message-box.js +6 -6
- package/src/components/feedback/overlay/container/body/body.js +3 -5
- package/src/components/feedback/overlay/container/container.js +4 -6
- package/src/components/feedback/overlay/container/footer/cancel-button/cancel-button.js +3 -3
- package/src/components/feedback/overlay/container/footer/confirm-button/confirm-button.js +4 -6
- package/src/components/feedback/overlay/container/footer/footer.d.ts +1 -2
- package/src/components/feedback/overlay/container/footer/footer.js +24 -26
- package/src/components/feedback/overlay/container/header/close-button/close-button.js +6 -8
- package/src/components/feedback/overlay/container/header/header.js +2 -2
- package/src/components/feedback/overlay/container/header/title/title.js +3 -5
- package/src/components/feedback/overlay/overlay.abstract.js +6 -8
- package/src/components/feedback/td-alert/td-alert.class.d.ts +15 -0
- package/src/components/feedback/td-alert/td-alert.class.js +111 -0
- package/src/components/feedback/td-alert/td-alert.interface.d.ts +41 -0
- package/src/components/feedback/td-alert/td-alert.interface.js +2 -0
- package/src/components/feedback/td-alert/td-alert.style.d.ts +21 -0
- package/src/components/feedback/td-alert/td-alert.style.js +102 -0
- package/src/components/feedback/td-dialog/td-dialog.class.d.ts +12 -0
- package/src/components/feedback/td-dialog/td-dialog.class.js +70 -0
- package/src/components/feedback/td-dialog/td-dialog.interface.d.ts +79 -0
- package/src/components/feedback/td-dialog/td-dialog.interface.js +2 -0
- package/src/components/feedback/td-dialog/td-dialog.style.d.ts +20 -0
- package/src/components/feedback/td-dialog/td-dialog.style.js +89 -0
- package/src/components/feedback/td-dialog-content/td-dialog-content.class.d.ts +12 -0
- package/src/components/feedback/td-dialog-content/td-dialog-content.class.js +79 -0
- package/src/components/feedback/td-dialog-content/td-dialog-content.interface.d.ts +51 -0
- package/src/components/feedback/td-dialog-content/td-dialog-content.interface.js +2 -0
- package/src/components/feedback/td-drawer/td-drawer.class.d.ts +8 -0
- package/src/components/feedback/td-drawer/td-drawer.class.js +39 -0
- package/src/components/feedback/td-drawer/td-drawer.interface.d.ts +12 -0
- package/src/components/feedback/td-drawer/td-drawer.interface.js +2 -0
- package/src/components/feedback/td-focus-trap/td-focus-trap.class.d.ts +4 -3
- package/src/components/feedback/td-focus-trap/td-focus-trap.class.js +11 -11
- package/src/components/feedback/td-focus-trap/td-focus-trap.interface.d.ts +9 -0
- package/src/components/feedback/td-focus-trap/td-focus-trap.interface.js +1 -0
- package/src/components/feedback/td-focus-trap/tokens.d.ts +5 -0
- package/src/components/feedback/td-focus-trap/tokens.js +4 -10
- package/src/components/feedback/td-focus-trap/utils.d.ts +2 -2
- package/src/components/feedback/td-focus-trap/utils.js +3 -3
- package/src/components/feedback/td-loading/td-loading.class.d.ts +12 -0
- package/src/components/feedback/td-loading/td-loading.class.js +65 -0
- package/src/components/feedback/td-loading/td-loading.interface.d.ts +37 -0
- package/src/components/feedback/td-loading/td-loading.interface.js +2 -0
- package/src/components/feedback/td-message/td-message.class.d.ts +24 -0
- package/src/components/feedback/td-message/td-message.class.js +239 -0
- package/src/components/feedback/td-message/td-message.interface.d.ts +105 -0
- package/src/components/feedback/td-message/td-message.interface.js +22 -0
- package/src/components/feedback/td-message/td-message.style.d.ts +17 -0
- package/src/components/feedback/td-message/td-message.style.js +104 -0
- package/src/components/feedback/td-message-box/td-message-box.class.d.ts +42 -0
- package/src/components/feedback/td-message-box/td-message-box.class.js +531 -0
- package/src/components/feedback/td-message-box/td-message-box.interface.d.ts +142 -0
- package/src/components/feedback/td-message-box/td-message-box.interface.js +2 -0
- package/src/components/feedback/td-message-box/td-message-box.style.d.ts +36 -0
- package/src/components/feedback/td-message-box/td-message-box.style.js +182 -0
- package/src/components/feedback/td-notification/td-notification.class.d.ts +30 -0
- package/src/components/feedback/td-notification/td-notification.class.js +234 -0
- package/src/components/feedback/td-notification/td-notification.interface.d.ts +76 -0
- package/src/components/feedback/td-notification/td-notification.interface.js +2 -0
- package/src/components/feedback/td-notification/td-notification.style.d.ts +28 -0
- package/src/components/feedback/td-notification/td-notification.style.js +138 -0
- package/src/components/feedback/td-overlay/td-overlay.class.d.ts +10 -0
- package/src/components/feedback/td-overlay/td-overlay.class.js +35 -0
- package/src/components/feedback/td-overlay/td-overlay.interface.d.ts +13 -0
- package/src/components/feedback/td-overlay/td-overlay.interface.js +2 -0
- package/src/components/feedback/td-overlay/td-overlay.style.d.ts +2 -0
- package/src/components/feedback/td-overlay/td-overlay.style.js +16 -0
- package/src/components/feedback/td-popconfirm/td-popconfirm.class.d.ts +0 -0
- package/src/components/feedback/td-popconfirm/td-popconfirm.class.js +1 -0
- package/src/components/feedback/td-popconfirm/td-popconfirm.interface.d.ts +0 -0
- package/src/components/feedback/td-popconfirm/td-popconfirm.interface.js +1 -0
- package/src/components/feedback/td-popover/td-popover.class.d.ts +0 -0
- package/src/components/feedback/td-popover/td-popover.class.js +1 -0
- package/src/components/feedback/td-popover/td-popover.interface.d.ts +0 -0
- package/src/components/feedback/td-popover/td-popover.interface.js +1 -0
- package/src/components/feedback/td-popper/arrow/arrow.class.d.ts +2 -1
- package/src/components/feedback/td-popper/arrow/arrow.class.js +6 -6
- package/src/components/feedback/td-popper/content/content.class.d.ts +2 -1
- package/src/components/feedback/td-popper/content/content.class.js +7 -7
- package/src/components/feedback/td-popper/td-popper.class.d.ts +3 -2
- package/src/components/feedback/td-popper/td-popper.class.js +3 -3
- package/src/components/feedback/td-popper/td-popper.interface.d.ts +2 -3
- package/src/components/feedback/td-popper/td-popper.interface.js +0 -11
- package/src/components/feedback/td-popper/trigger/trigger.class.d.ts +2 -1
- package/src/components/feedback/td-popper/trigger/trigger.class.js +3 -2
- package/src/components/feedback/td-popper/trigger/trigger.interface.d.ts +10 -0
- package/src/components/feedback/td-tooltip/content/content.class.d.ts +2 -1
- package/src/components/feedback/td-tooltip/content/content.class.js +3 -3
- package/src/components/feedback/td-tooltip/td-tooltip.class.d.ts +2 -1
- package/src/components/feedback/td-tooltip/td-tooltip.class.js +7 -13
- package/src/components/feedback/td-tooltip/trigger/trigger.class.d.ts +2 -1
- package/src/components/feedback/td-tooltip/trigger/trigger.class.js +3 -3
- package/src/components/feedback/td-tooltip/utils.d.ts +4 -0
- package/src/components/feedback/td-tooltip/utils.js +23 -0
- package/src/components/form/checkbox-group/checkbox-group.class.js +9 -8
- package/src/components/form/checkbox-group/checkbox-option/checkbox-option.class.js +3 -3
- package/src/components/form/field-item/cascade/field-cascade.abstract.js +25 -17
- package/src/components/form/field-item/field-item.abstract.d.ts +7 -3
- package/src/components/form/field-item/field-item.abstract.js +14 -9
- package/src/components/form/field-item/field-item.style.d.ts +1 -1
- package/src/components/form/field-item/field-item.style.js +1 -2
- package/src/components/form/field-item/input/field-input.abstract.d.ts +1 -2
- package/src/components/form/field-item/input/field-input.abstract.js +6 -6
- package/src/components/form/field-item/options/field-options.abstract.js +31 -27
- package/src/components/form/field-item/radio/field-radio.abstract.d.ts +2 -2
- package/src/components/form/field-item/radio/field-radio.abstract.js +30 -21
- package/src/components/form/field-item/select/field-select.abstract.d.ts +1 -2
- package/src/components/form/field-item/select/field-select.abstract.js +3 -3
- package/src/components/form/field-item/span/field-span.abstract.js +4 -4
- package/src/components/form/field-item/textarea/field-textarea.abstract.d.ts +1 -2
- package/src/components/form/field-item/textarea/field-textarea.abstract.js +6 -6
- package/src/components/form/field-select/field-select.class.js +10 -9
- package/src/components/form/field-select/option/option.class.js +1 -1
- package/src/components/form/index.d.ts +10 -0
- package/src/components/form/index.js +11 -1
- package/src/components/form/radio-group/radio-group.class.d.ts +3 -2
- package/src/components/form/radio-group/radio-group.class.js +13 -12
- package/src/components/form/radio-group/radio-option/radio-option.class.d.ts +3 -2
- package/src/components/form/radio-group/radio-option/radio-option.class.js +8 -9
- package/src/components/form/select/select.class.js +4 -4
- package/src/components/form/td-autocomplete/td-autocomplete.class.d.ts +0 -0
- package/src/components/form/td-autocomplete/td-autocomplete.class.js +1 -0
- package/src/components/form/td-autocomplete/td-autocomplete.interface.d.ts +0 -0
- package/src/components/form/td-autocomplete/td-autocomplete.interface.js +1 -0
- package/src/components/form/td-cascader/td-cascader.class.d.ts +0 -0
- package/src/components/form/td-cascader/td-cascader.class.js +1 -0
- package/src/components/form/td-cascader/td-cascader.interface.d.ts +0 -0
- package/src/components/form/td-cascader/td-cascader.interface.js +1 -0
- package/src/components/form/td-checkbox/composables/use-checkbox-status.d.ts +6 -0
- package/src/components/form/td-checkbox/composables/use-checkbox-status.js +52 -0
- package/src/components/form/td-checkbox/composables/use-checkbox.d.ts +6 -0
- package/src/components/form/td-checkbox/composables/use-checkbox.js +85 -0
- package/src/components/form/td-checkbox/td-checkbox.class.d.ts +8 -2
- package/src/components/form/td-checkbox/td-checkbox.class.js +54 -75
- package/src/components/form/td-checkbox/td-checkbox.interface.d.ts +2 -1
- package/src/components/form/td-checkbox/td-checkbox.style.d.ts +46 -0
- package/src/components/form/td-checkbox/td-checkbox.style.js +144 -10
- package/src/components/form/td-checkbox-button/td-checkbox-button.class.d.ts +9 -2
- package/src/components/form/td-checkbox-button/td-checkbox-button.class.js +56 -6
- package/src/components/form/td-checkbox-button/td-checkbox-button.style.d.ts +9 -0
- package/src/components/form/td-checkbox-button/td-checkbox-button.style.js +55 -0
- package/src/components/form/td-checkbox-group/td-checkbox-group.class.d.ts +2 -2
- package/src/components/form/td-checkbox-group/td-checkbox-group.class.js +10 -10
- package/src/components/form/td-checkbox-group/td-checkbox-group.interface.d.ts +1 -1
- package/src/components/form/td-color-picker/td-color-picker.class.d.ts +0 -0
- package/src/components/form/td-color-picker/td-color-picker.class.js +1 -0
- package/src/components/form/td-color-picker/td-color-picker.interface.d.ts +0 -0
- package/src/components/form/td-color-picker/td-color-picker.interface.js +1 -0
- package/src/components/form/td-date-picker/td-date-picker.class.d.ts +0 -0
- package/src/components/form/td-date-picker/td-date-picker.class.js +1 -0
- package/src/components/form/td-date-picker/td-date-picker.interface.d.ts +0 -0
- package/src/components/form/td-date-picker/td-date-picker.interface.js +1 -0
- package/src/components/form/td-date-time-picker/td-date-time-picker.class.d.ts +0 -0
- package/src/components/form/td-date-time-picker/td-date-time-picker.class.js +1 -0
- package/src/components/form/td-date-time-picker/td-date-time-picker.interface.d.ts +0 -0
- package/src/components/form/td-date-time-picker/td-date-time-picker.interface.js +1 -0
- package/src/components/form/td-form/hooks/use-form-item.d.ts +5 -0
- package/src/components/form/td-form/hooks/use-form-item.js +65 -0
- package/src/components/form/td-form/td-form.class.d.ts +3 -8
- package/src/components/form/td-form/td-form.class.js +10 -34
- package/src/components/form/td-form/td-form.const.d.ts +5 -0
- package/src/components/form/td-form/td-form.const.js +5 -0
- package/src/components/form/td-form/td-form.interface.js +33 -0
- package/src/components/form/td-form-item/td-form-item.class.d.ts +7 -4
- package/src/components/form/td-form-item/td-form-item.class.js +83 -60
- package/src/components/form/td-form-item/td-form-item.interface.d.ts +1 -3
- package/src/components/form/td-form-item/td-form-item.style.js +15 -15
- package/src/components/form/td-input/td-input-field.class.d.ts +1 -1
- package/src/components/form/td-input/td-input-field.class.js +13 -13
- package/src/components/form/td-input/td-input-field.interface.d.ts +2 -2
- package/src/components/form/td-input/td-input.class.d.ts +4 -3
- package/src/components/form/td-input/td-input.class.js +83 -49
- package/src/components/form/td-input/td-input.interface.d.ts +13 -0
- package/src/components/form/td-input/widget/prefix.js +2 -2
- package/src/components/form/td-input/widget/suffix.d.ts +1 -1
- package/src/components/form/td-input/widget/suffix.js +10 -10
- package/src/components/form/td-input/widget/td-input-wrapper.class.d.ts +3 -3
- package/src/components/form/td-input/widget/td-input-wrapper.class.js +64 -67
- package/src/components/form/td-input/widget/td-textarea-wrapper.d.ts +2 -2
- package/src/components/form/td-input/widget/td-textarea-wrapper.js +8 -9
- package/src/components/form/td-input/widget/utils.js +9 -10
- package/src/components/form/td-input-number/td-input-number.class.d.ts +0 -0
- package/src/components/form/td-input-number/td-input-number.class.js +1 -0
- package/src/components/form/td-input-number/td-input-number.interface.d.ts +0 -0
- package/src/components/form/td-input-number/td-input-number.interface.js +1 -0
- package/src/components/form/td-option/td-option.class.d.ts +7 -0
- package/src/components/form/{td-select/option/option.class.js → td-option/td-option.class.js} +9 -10
- package/src/components/form/{td-select/option/option.interface.d.ts → td-option/td-option.interface.d.ts} +1 -1
- package/src/components/form/td-option/td-option.interface.js +2 -0
- package/src/components/form/td-option-group/td-option-group.class.d.ts +7 -0
- package/src/components/form/{td-select/option-group/option-group.class.js → td-option-group/td-option-group.class.js} +11 -11
- package/src/components/form/{td-select/option-group/option-group.interface.d.ts → td-option-group/td-option-group.interface.d.ts} +1 -1
- package/src/components/form/td-option-group/td-option-group.interface.js +2 -0
- package/src/components/form/td-radio/td-radio.class.d.ts +3 -3
- package/src/components/form/td-radio/td-radio.class.js +58 -55
- package/src/components/form/td-radio-button/td-radio-button.class.d.ts +3 -3
- package/src/components/form/td-radio-button/td-radio-button.class.js +47 -45
- package/src/components/form/td-radio-group/td-radio-group.class.d.ts +3 -3
- package/src/components/form/td-radio-group/td-radio-group.class.js +21 -19
- package/src/components/form/td-rate/td-rate.class.d.ts +0 -0
- package/src/components/form/td-rate/td-rate.class.js +1 -0
- package/src/components/form/td-rate/td-rate.interface.d.ts +0 -0
- package/src/components/form/td-rate/td-rate.interface.js +1 -0
- package/src/components/form/td-select/dropdown/dropdown.class.d.ts +3 -2
- package/src/components/form/td-select/dropdown/dropdown.class.js +15 -15
- package/src/components/form/td-select/td-select.class.d.ts +3 -1
- package/src/components/form/td-select/td-select.class.js +6 -6
- package/src/components/form/td-select/td-select.style.js +8 -8
- package/src/components/form/td-slider/td-slider.class.d.ts +0 -0
- package/src/components/form/td-slider/td-slider.class.js +1 -0
- package/src/components/form/td-slider/td-slider.interface.d.ts +0 -0
- package/src/components/form/td-slider/td-slider.interface.js +1 -0
- package/src/components/form/td-switch/td-switch.class.d.ts +8 -4
- package/src/components/form/td-switch/td-switch.class.js +92 -63
- package/src/components/form/td-switch/td-switch.interface.d.ts +7 -1
- package/src/components/form/td-switch/td-switch.interface.js +1 -0
- package/src/components/form/td-switch/td-switch.style.d.ts +1 -2
- package/src/components/form/td-switch/td-switch.style.js +1 -2
- package/src/components/form/td-switch/widget/td-switch-core.d.ts +2 -2
- package/src/components/form/td-switch/widget/td-switch-core.js +73 -71
- package/src/components/form/td-switch/widget/td-switch-left.d.ts +2 -2
- package/src/components/form/td-switch/widget/td-switch-left.js +8 -8
- package/src/components/form/td-switch/widget/td-switch-right.d.ts +3 -3
- package/src/components/form/td-switch/widget/td-switch-right.js +9 -9
- package/src/components/form/td-time-picker/td-time-picker.class.d.ts +0 -0
- package/src/components/form/td-time-picker/td-time-picker.class.js +1 -0
- package/src/components/form/td-time-picker/td-time-picker.interface.d.ts +0 -0
- package/src/components/form/td-time-picker/td-time-picker.interface.js +1 -0
- package/src/components/form/td-time-select/td-time-select.class.d.ts +0 -0
- package/src/components/form/td-time-select/td-time-select.class.js +1 -0
- package/src/components/form/td-time-select/td-time-select.interface.d.ts +0 -0
- package/src/components/form/td-time-select/td-time-select.interface.js +1 -0
- package/src/components/form/td-transfer/td-transfer.class.d.ts +0 -0
- package/src/components/form/td-transfer/td-transfer.class.js +1 -0
- package/src/components/form/td-transfer/td-transfer.interface.d.ts +0 -0
- package/src/components/form/td-transfer/td-transfer.interface.js +1 -0
- package/src/components/form/td-upload/td-upload.class.d.ts +0 -0
- package/src/components/form/td-upload/td-upload.class.js +1 -0
- package/src/components/form/td-upload/td-upload.interface.d.ts +0 -0
- package/src/components/form/td-upload/td-upload.interface.js +1 -0
- package/src/components/navigation/index.d.ts +16 -0
- package/src/components/navigation/index.js +17 -1
- package/src/components/navigation/td-affix/td-affix.class.d.ts +25 -0
- package/src/components/navigation/td-affix/td-affix.class.js +134 -0
- package/src/components/navigation/td-affix/td-affix.interface.d.ts +27 -0
- package/src/components/navigation/td-affix/td-affix.interface.js +2 -0
- package/src/components/navigation/td-anchor/td-anchor-link/td-anchor-link.class.d.ts +8 -0
- package/src/components/navigation/td-anchor/td-anchor-link/td-anchor-link.class.js +30 -0
- package/src/components/navigation/td-anchor/td-anchor-link/td-anchor-link.interface.d.ts +16 -0
- package/src/components/navigation/td-anchor/td-anchor-link/td-anchor-link.interface.js +2 -0
- package/src/components/navigation/td-anchor/td-anchor.class.d.ts +10 -0
- package/src/components/navigation/td-anchor/td-anchor.class.js +118 -0
- package/src/components/navigation/td-anchor/td-anchor.function.d.ts +2 -0
- package/src/components/navigation/td-anchor/td-anchor.function.js +91 -0
- package/src/components/navigation/td-anchor/td-anchor.interface.d.ts +44 -0
- package/src/components/navigation/td-anchor/td-anchor.interface.js +2 -0
- package/src/components/navigation/td-anchor/td-anchor.style.d.ts +14 -0
- package/src/components/navigation/td-anchor/td-anchor.style.js +17 -0
- package/src/components/navigation/td-backtop/td-backtop.class.d.ts +17 -0
- package/src/components/navigation/td-backtop/td-backtop.class.js +145 -0
- package/src/components/navigation/td-backtop/td-backtop.interface.d.ts +26 -0
- package/src/components/navigation/td-backtop/td-backtop.interface.js +2 -0
- package/src/components/navigation/td-backtop/td-backtop.style.d.ts +5 -0
- package/src/components/navigation/td-backtop/td-backtop.style.js +13 -0
- package/src/components/navigation/td-breadcrumb/td-breadcrumb.class.d.ts +11 -0
- package/src/components/navigation/td-breadcrumb/td-breadcrumb.class.js +37 -0
- package/src/components/navigation/td-breadcrumb/td-breadcrumb.interface.d.ts +16 -0
- package/src/components/navigation/td-breadcrumb/td-breadcrumb.interface.js +2 -0
- package/src/components/navigation/td-breadcrumb-item/td-breadcrumb-item.class.d.ts +8 -0
- package/src/components/navigation/td-breadcrumb-item/td-breadcrumb-item.class.js +71 -0
- package/src/components/navigation/td-breadcrumb-item/td-breadcrumb-item.interface.d.ts +18 -0
- package/src/components/navigation/td-breadcrumb-item/td-breadcrumb-item.interface.js +2 -0
- package/src/components/navigation/td-dropdown/td-dropdown.class.d.ts +0 -0
- package/src/components/navigation/td-dropdown/td-dropdown.class.js +1 -0
- package/src/components/navigation/td-dropdown/td-dropdown.interface.d.ts +0 -0
- package/src/components/navigation/td-dropdown/td-dropdown.interface.js +1 -0
- package/src/components/navigation/td-menu/td-menu.class.d.ts +3 -2
- package/src/components/navigation/td-menu/td-menu.class.js +11 -10
- package/src/components/navigation/td-page-header/td-page-header.class.d.ts +0 -0
- package/src/components/navigation/td-page-header/td-page-header.class.js +1 -0
- package/src/components/navigation/td-page-header/td-page-header.interface.d.ts +0 -0
- package/src/components/navigation/td-page-header/td-page-header.interface.js +1 -0
- package/src/components/navigation/td-steps/td-steps.class.d.ts +0 -0
- package/src/components/navigation/td-steps/td-steps.class.js +1 -0
- package/src/components/navigation/td-steps/td-steps.interface.d.ts +0 -0
- package/src/components/navigation/td-steps/td-steps.interface.js +1 -0
- package/src/components/navigation/td-tabs/td-tab-bar.class.d.ts +12 -0
- package/src/components/navigation/td-tabs/td-tab-bar.class.js +62 -0
- package/src/components/navigation/td-tabs/td-tab-bar.interface.d.ts +10 -0
- package/src/components/navigation/td-tabs/td-tab-bar.interface.js +2 -0
- package/src/components/navigation/td-tabs/td-tab-nav.class.d.ts +31 -0
- package/src/components/navigation/td-tabs/td-tab-nav.class.js +355 -0
- package/src/components/navigation/td-tabs/td-tab-nav.interface.d.ts +23 -0
- package/src/components/navigation/td-tabs/td-tab-nav.interface.js +2 -0
- package/src/components/navigation/td-tabs/td-tab-pane.class.d.ts +13 -0
- package/src/components/navigation/td-tabs/td-tab-pane.class.js +41 -0
- package/src/components/navigation/td-tabs/td-tab-pane.interface.d.ts +31 -0
- package/src/components/navigation/td-tabs/td-tab-pane.interface.js +2 -0
- package/src/components/navigation/td-tabs/td-tabs.class.d.ts +18 -0
- package/src/components/navigation/td-tabs/td-tabs.class.js +159 -0
- package/src/components/navigation/td-tabs/td-tabs.interface.d.ts +74 -0
- package/src/components/navigation/td-tabs/td-tabs.interface.js +5 -0
- package/src/components/navigation/td-tabs/td-tabs.style.d.ts +19 -0
- package/src/components/navigation/td-tabs/td-tabs.style.js +128 -0
- package/src/components/others/collapsible-box/collapsible-box.d.ts +2 -3
- package/src/components/others/collapsible-box/collapsible-box.js +5 -7
- package/src/components/others/collapsible-box/contents/contents.d.ts +2 -2
- package/src/components/others/collapsible-box/contents/contents.js +6 -8
- package/src/components/others/collapsible-box/heading/expand-heading.d.ts +2 -3
- package/src/components/others/collapsible-box/heading/expand-heading.js +13 -15
- package/src/components/others/td-divider/td-divider.class.d.ts +2 -2
- package/src/components/others/td-divider/td-divider.class.js +16 -15
- package/src/components/others/td-watermark/td-watermark.class.d.ts +0 -0
- package/src/components/others/td-watermark/td-watermark.class.js +1 -0
- package/src/components/others/td-watermark/td-watermark.interface.d.ts +0 -0
- package/src/components/others/td-watermark/td-watermark.interface.js +1 -0
- package/src/constants/event.d.ts +3 -0
- package/src/constants/event.js +6 -0
- package/src/index.d.ts +2 -0
- package/src/index.js +2 -0
- package/src/styles/color-scheme.js +19 -19
- package/src/styles/function.js +13 -14
- package/src/styles/index.d.ts +1 -0
- package/src/styles/size.d.ts +0 -5
- package/src/styles/size.js +3 -3
- package/src/styles/transition.d.ts +32 -0
- package/src/styles/transition.js +222 -0
- package/src/styles/var.d.ts +10 -1
- package/src/styles/var.js +17 -3
- package/src/ui/ui.abstract.d.ts +16 -6
- package/src/ui/ui.abstract.js +39 -11
- package/src/ui/ui.interface.d.ts +7 -3
- package/src/utils/types.d.ts +8 -0
- package/src/utils/types.js +35 -0
- package/src/components/basic/td-layout/td-row/td-row.style.d.ts +0 -1
- package/src/components/basic/td-layout/td-row/td-row.style.js +0 -8
- package/src/components/form/td-select/option/option.class.d.ts +0 -6
- package/src/components/form/td-select/option-group/option-group.class.d.ts +0 -6
- /package/src/components/{form/td-select/option-group/option-group.interface.js → data/td-avatar/td-avatar.interface.js} +0 -0
- /package/src/components/{form/td-select/option/option.interface.js → data/td-badge/td-badge.interface.js} +0 -0
package/README.md
CHANGED
|
@@ -1,45 +1,44 @@
|
|
|
1
|
-
## 项目说明
|
|
2
|
-
|
|
3
|
-
> 这是一个基于自建前端框架TypeDom创建的ui组件库。
|
|
4
|
-
|
|
5
|
-
## 安装
|
|
6
|
-
|
|
7
|
-
> npm install @type-dom/ui
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
–
|
|
14
|
-
–
|
|
15
|
-
–
|
|
16
|
-
–
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
## other 其它组件
|
|
1
|
+
## 项目说明
|
|
2
|
+
|
|
3
|
+
> 这是一个基于自建前端框架TypeDom创建的ui组件库。
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
> npm install @type-dom/ui
|
|
8
|
+
|
|
9
|
+
## 框架介绍
|
|
10
|
+
|
|
11
|
+
1、技术栈
|
|
12
|
+
– type-dom框架
|
|
13
|
+
– webpack
|
|
14
|
+
– typescript
|
|
15
|
+
– 抽象类
|
|
16
|
+
– 实体类
|
|
17
|
+
2、项目结构
|
|
18
|
+
– src
|
|
19
|
+
– lib
|
|
20
|
+
- basic
|
|
21
|
+
- data
|
|
22
|
+
- feedback
|
|
23
|
+
- form
|
|
24
|
+
- navigation
|
|
25
|
+
- other
|
|
26
|
+
- styles
|
|
27
|
+
–
|
|
28
|
+
- test
|
|
29
|
+
|
|
30
|
+
# type-dom 自定义组件
|
|
31
|
+
|
|
32
|
+
## basic 基础组件
|
|
33
|
+
|
|
34
|
+
### button 按钮组件
|
|
35
|
+
|
|
36
|
+
## data 数据组件
|
|
37
|
+
|
|
38
|
+
## form 表单组件
|
|
39
|
+
|
|
40
|
+
## feedback 反馈组件
|
|
41
|
+
|
|
42
|
+
## navigation 导航组件
|
|
43
|
+
|
|
44
|
+
## other 其它组件
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@type-dom/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.6",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@type-dom/svgs": "*",
|
|
6
6
|
"rxjs": "^7.5.7",
|
|
@@ -16,5 +16,6 @@
|
|
|
16
16
|
"publishConfig": {
|
|
17
17
|
"access": "public",
|
|
18
18
|
"registry": "https://registry.npmjs.org/"
|
|
19
|
-
}
|
|
20
|
-
|
|
19
|
+
},
|
|
20
|
+
"types": "./src/index.d.ts"
|
|
21
|
+
}
|
package/src/aria.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { IUIConfig } from './ui/ui.interface';
|
|
1
2
|
export declare const EVENT_CODE: {
|
|
2
3
|
tab: string;
|
|
3
4
|
enter: string;
|
|
@@ -15,3 +16,17 @@ export declare const EVENT_CODE: {
|
|
|
15
16
|
home: string;
|
|
16
17
|
end: string;
|
|
17
18
|
};
|
|
19
|
+
export interface IAriaConfig extends IUIConfig {
|
|
20
|
+
/**
|
|
21
|
+
* @description native `aria-label` attribute
|
|
22
|
+
*/
|
|
23
|
+
ariaLabel?: string;
|
|
24
|
+
/**
|
|
25
|
+
* @description native `aria-orientation` attribute
|
|
26
|
+
*/
|
|
27
|
+
ariaOrientation?: 'horizontal' | 'vertical' | 'undefined';
|
|
28
|
+
/**
|
|
29
|
+
* @description native `aria-controls` attribute
|
|
30
|
+
*/
|
|
31
|
+
ariaControls?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Span, TextNode } from '@type-dom/framework';
|
|
2
|
+
import { UI } from '../../../ui/ui.abstract';
|
|
3
|
+
import { TdIcon } from '../td-icon/td-icon.class';
|
|
4
|
+
import { ITdButtonAbstract, ITdButtonConfig } from './td-button.interface';
|
|
5
|
+
export declare abstract class TdButtonAbstract extends UI implements ITdButtonAbstract {
|
|
6
|
+
abstract className: 'TdButton' | string;
|
|
7
|
+
childNodes: (Span | TdIcon)[];
|
|
8
|
+
textNode?: TextNode;
|
|
9
|
+
props: ITdButtonConfig;
|
|
10
|
+
span?: Span;
|
|
11
|
+
private type?;
|
|
12
|
+
private plain?;
|
|
13
|
+
private disabled?;
|
|
14
|
+
private icon?;
|
|
15
|
+
protected constructor(params?: ITdButtonConfig);
|
|
16
|
+
setup(): void;
|
|
17
|
+
initEvents(): void;
|
|
18
|
+
useType(params?: ITdButtonConfig): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TdButtonAbstract = void 0;
|
|
4
|
+
const framework_1 = require("@type-dom/framework");
|
|
5
|
+
const svgs_1 = require("@type-dom/svgs");
|
|
6
|
+
const ui_abstract_1 = require("../../../ui/ui.abstract");
|
|
7
|
+
const var_1 = require("../../../styles/var");
|
|
8
|
+
const td_input_style_1 = require("../../form/td-input/td-input.style");
|
|
9
|
+
const td_icon_class_1 = require("../td-icon/td-icon.class");
|
|
10
|
+
const td_button_style_1 = require("./td-button.style");
|
|
11
|
+
// import '../../styles/style.css';
|
|
12
|
+
class TdButtonAbstract extends ui_abstract_1.UI {
|
|
13
|
+
constructor(params) {
|
|
14
|
+
super(params, (params === null || params === void 0 ? void 0 : params.tag) || 'button');
|
|
15
|
+
this.ctrl.addAttrObj({
|
|
16
|
+
type: 'button' // 默认
|
|
17
|
+
});
|
|
18
|
+
this.ctrl.addStyleObj(td_button_style_1.$tdButtonBase);
|
|
19
|
+
this.childNodes = [];
|
|
20
|
+
this.props = this.setParams(params); // 这里的config赋值是要替换掉上面的config的预置值的。
|
|
21
|
+
}
|
|
22
|
+
setup() {
|
|
23
|
+
var _a, _b, _c;
|
|
24
|
+
const props = this.props;
|
|
25
|
+
if (props === null || props === void 0 ? void 0 : props.loading) {
|
|
26
|
+
if ((_a = props === null || props === void 0 ? void 0 : props.slots) === null || _a === void 0 ? void 0 : _a.loading) {
|
|
27
|
+
// 如果插槽有 loading
|
|
28
|
+
// this.icon = props.slots.loading as TdIcon;
|
|
29
|
+
// this.loadingSlot = new SlotNode('loading', props.slots.loading);
|
|
30
|
+
this.icon = this.getSlotNode('loading');
|
|
31
|
+
this.addChild(this.icon);
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
this.icon = new td_icon_class_1.TdIcon({
|
|
35
|
+
name: 'loading-icon',
|
|
36
|
+
svgObj: new svgs_1.ElLoadingSvg() // 默认的 loading 图标
|
|
37
|
+
});
|
|
38
|
+
console.warn('then add icon . icon is ', this.icon);
|
|
39
|
+
this.addChild(this.icon);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
else if ((props === null || props === void 0 ? void 0 : props.svgObj) || ((_b = props === null || props === void 0 ? void 0 : props.slots) === null || _b === void 0 ? void 0 : _b.icon)) {
|
|
43
|
+
this.icon = new td_icon_class_1.TdIcon({
|
|
44
|
+
name: 'icon-expand',
|
|
45
|
+
// svgObj: props.svgObj
|
|
46
|
+
});
|
|
47
|
+
if (props.svgObj) {
|
|
48
|
+
this.icon.getSlotNode().addSlot(props.svgObj);
|
|
49
|
+
}
|
|
50
|
+
else if ((_c = props === null || props === void 0 ? void 0 : props.slots) === null || _c === void 0 ? void 0 : _c.icon) {
|
|
51
|
+
// this.icon = props.slots.icon;
|
|
52
|
+
// this.iconSlot = new SlotNode('icon', props.slots.icon);
|
|
53
|
+
this.icon.getSlotNode().addSlot(props.slots.icon);
|
|
54
|
+
}
|
|
55
|
+
this.addChild(this.icon);
|
|
56
|
+
}
|
|
57
|
+
// this.useIcon(props);
|
|
58
|
+
if (props === null || props === void 0 ? void 0 : props.slot) {
|
|
59
|
+
// this.defaultSlot = new SlotNode('default', props.slot);
|
|
60
|
+
// this.icon?.ctrl.addStyleObj($iconLeft);
|
|
61
|
+
// todo 会运行 2 次;
|
|
62
|
+
const span = new framework_1.Span({
|
|
63
|
+
name: 'text-expand',
|
|
64
|
+
styleObj: {
|
|
65
|
+
display: 'inline-flex',
|
|
66
|
+
alignItems: 'center',
|
|
67
|
+
marginLeft: this.icon ? '6px' : undefined,
|
|
68
|
+
// letterSpacing: '0.3em',
|
|
69
|
+
// marginRight: '-0.3em',
|
|
70
|
+
},
|
|
71
|
+
childNodes: [this.getSlotNode()]
|
|
72
|
+
});
|
|
73
|
+
this.addChild(span);
|
|
74
|
+
}
|
|
75
|
+
this.useType(props);
|
|
76
|
+
if (props === null || props === void 0 ? void 0 : props.disabled) {
|
|
77
|
+
this.disabled = props.disabled;
|
|
78
|
+
this.ctrl.addStyleObj(var_1.$button.disabled);
|
|
79
|
+
}
|
|
80
|
+
const size = (props === null || props === void 0 ? void 0 : props.size) ? props.size : 'default';
|
|
81
|
+
this.ctrl.addStyleObj(td_button_style_1.$sizeOpts[size]);
|
|
82
|
+
if (props === null || props === void 0 ? void 0 : props.round) {
|
|
83
|
+
this.ctrl.addStyleObj({
|
|
84
|
+
borderRadius: var_1.$borderRadius.round
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
else if (props === null || props === void 0 ? void 0 : props.circle) {
|
|
88
|
+
this.ctrl.addStyleObj({
|
|
89
|
+
width: td_input_style_1.$inputHeight[props.size || 'default'], // map.get($input-height, 'default');
|
|
90
|
+
borderRadius: var_1.$borderRadius.circle,
|
|
91
|
+
padding: var_1.$paddingVerticalMap.default
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
// 悬浮、聚焦、激活状态样式
|
|
96
|
+
initEvents() {
|
|
97
|
+
this.addEvents({
|
|
98
|
+
mouseover: (evt) => {
|
|
99
|
+
// console.log('td-button mouseover . ');
|
|
100
|
+
if (this.disabled) {
|
|
101
|
+
this.ctrl.setStyleObj({
|
|
102
|
+
cursor: 'notAllowed'
|
|
103
|
+
});
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
if (this.type) {
|
|
107
|
+
this.ctrl.setStyleObj(td_button_style_1.$buttonStateColors[this.type].hover);
|
|
108
|
+
}
|
|
109
|
+
else {
|
|
110
|
+
this.ctrl.setStyleObj({
|
|
111
|
+
color: var_1.$button.hover.textColor,
|
|
112
|
+
backgroundColor: var_1.$button.hover.borderColor, // $colors['primary']['light-3'],
|
|
113
|
+
borderColor: var_1.$button.hover.borderColor
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
mouseout: () => {
|
|
119
|
+
// console.log('td-button mouseout . ');
|
|
120
|
+
if (this.disabled) {
|
|
121
|
+
this.ctrl.setStyleObj({
|
|
122
|
+
cursor: 'auto'
|
|
123
|
+
});
|
|
124
|
+
}
|
|
125
|
+
else {
|
|
126
|
+
if (this.type) {
|
|
127
|
+
if (this.plain) {
|
|
128
|
+
this.ctrl.setStyleObj(td_button_style_1.$buttonPlainColors[this.type].default);
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
this.ctrl.setStyleObj(td_button_style_1.$buttonStateColors[this.type].default);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
else {
|
|
135
|
+
this.ctrl.setStyleObj({
|
|
136
|
+
color: var_1.$button.textColor,
|
|
137
|
+
backgroundColor: var_1.$button.bgColor,
|
|
138
|
+
borderColor: var_1.$button.borderColor
|
|
139
|
+
});
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
useType(params) {
|
|
146
|
+
// const type = params?.type ? params.type : 'default';
|
|
147
|
+
// this.type = type;
|
|
148
|
+
if (params === null || params === void 0 ? void 0 : params.type) {
|
|
149
|
+
this.type = params.type;
|
|
150
|
+
if (params === null || params === void 0 ? void 0 : params.plain) {
|
|
151
|
+
console.log('params.plain . ');
|
|
152
|
+
this.plain = params.plain;
|
|
153
|
+
if (params.disabled) {
|
|
154
|
+
this.disabled = params.disabled;
|
|
155
|
+
this.ctrl.addStyleObj(td_button_style_1.$buttonPlainColors[params.type].disabled);
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
console.log(td_button_style_1.$buttonPlainColors[params.type].default);
|
|
159
|
+
this.ctrl.addStyleObj(td_button_style_1.$buttonPlainColors[params.type].default);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
else {
|
|
163
|
+
if (params === null || params === void 0 ? void 0 : params.disabled) {
|
|
164
|
+
console.log('params?.disabled is true . $button.disabled is ', var_1.$button.disabled);
|
|
165
|
+
this.disabled = params.disabled;
|
|
166
|
+
this.ctrl.addStyleObj(td_button_style_1.$buttonStateColors[params.type].disabled);
|
|
167
|
+
}
|
|
168
|
+
else {
|
|
169
|
+
this.ctrl.addStyleObj(td_button_style_1.$buttonStateColors[params.type].default);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
exports.TdButtonAbstract = TdButtonAbstract;
|
|
@@ -1,17 +1,6 @@
|
|
|
1
|
-
import { Span, TextNode } from '@type-dom/framework';
|
|
2
|
-
import { UI } from '../../../ui/ui.abstract';
|
|
3
|
-
import { TdIcon } from '../td-icon/td-icon.class';
|
|
4
1
|
import { ITdButton, ITdButtonConfig } from './td-button.interface';
|
|
5
|
-
|
|
2
|
+
import { TdButtonAbstract } from './td-button.abstract';
|
|
3
|
+
export declare class TdButton extends TdButtonAbstract implements ITdButton {
|
|
6
4
|
className: 'TdButton';
|
|
7
|
-
|
|
8
|
-
textNode: TextNode;
|
|
9
|
-
span: Span;
|
|
10
|
-
private type?;
|
|
11
|
-
private plain?;
|
|
12
|
-
private disabled?;
|
|
13
|
-
private icon?;
|
|
14
|
-
constructor(config?: ITdButtonConfig);
|
|
15
|
-
setConfig(config?: ITdButtonConfig): void;
|
|
16
|
-
initEvents(): void;
|
|
5
|
+
constructor(params?: ITdButtonConfig);
|
|
17
6
|
}
|
|
@@ -1,179 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TdButton = void 0;
|
|
4
|
-
const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const td_icon_style_1 = require("../td-icon/td-icon.style");
|
|
9
|
-
const td_icon_class_1 = require("../td-icon/td-icon.class");
|
|
10
|
-
const td_button_style_1 = require("./td-button.style");
|
|
11
|
-
// import '../../styles/style.css';
|
|
12
|
-
class TdButton extends ui_abstract_1.UI {
|
|
13
|
-
constructor(config) {
|
|
14
|
-
super({ tag: (config === null || config === void 0 ? void 0 : config.tag) || 'button' });
|
|
15
|
-
if ((config === null || config === void 0 ? void 0 : config.title) === 'Create') {
|
|
16
|
-
console.log('config.title is Create . ');
|
|
17
|
-
}
|
|
4
|
+
const td_button_abstract_1 = require("./td-button.abstract");
|
|
5
|
+
class TdButton extends td_button_abstract_1.TdButtonAbstract {
|
|
6
|
+
constructor(params) {
|
|
7
|
+
super(params);
|
|
18
8
|
this.className = 'TdButton';
|
|
19
|
-
this.textNode = new framework_1.TextNode();
|
|
20
|
-
this.addAttrObj({
|
|
21
|
-
type: 'button' // 默认
|
|
22
|
-
});
|
|
23
|
-
// this.template = new Template(this);
|
|
24
|
-
// this.textNode = new TextNode();
|
|
25
|
-
this.span = new framework_1.Span({
|
|
26
|
-
parent: this,
|
|
27
|
-
styleObj: {
|
|
28
|
-
display: 'inline-flex',
|
|
29
|
-
alignItems: 'center'
|
|
30
|
-
},
|
|
31
|
-
childNodes: [this.textNode, new framework_1.Slot()]
|
|
32
|
-
});
|
|
33
|
-
this.addStyleObj(td_button_style_1.tdButtonBase);
|
|
34
|
-
this.childNodes = [this.span];
|
|
35
|
-
this.setConfig(config);
|
|
36
|
-
}
|
|
37
|
-
setConfig(config) {
|
|
38
|
-
super.setConfig(config);
|
|
39
|
-
if (config === null || config === void 0 ? void 0 : config.title) {
|
|
40
|
-
this.textNode.setText(config.title);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
this.clearChildren();
|
|
44
|
-
}
|
|
45
|
-
if (config === null || config === void 0 ? void 0 : config.svgObj) {
|
|
46
|
-
this.icon = new td_icon_class_1.TdIcon({
|
|
47
|
-
childNodes: [config.svgObj]
|
|
48
|
-
});
|
|
49
|
-
if (config.iconPosition === 'right') {
|
|
50
|
-
this.icon.addStyleObj(td_icon_style_1.$iconRight);
|
|
51
|
-
this.addChild(this.icon);
|
|
52
|
-
}
|
|
53
|
-
else {
|
|
54
|
-
if (config.title) { // 如果后面有文字
|
|
55
|
-
this.icon.addStyleObj(td_icon_style_1.$iconLeft);
|
|
56
|
-
}
|
|
57
|
-
this.unshiftChild(this.icon); // 前面插入
|
|
58
|
-
}
|
|
59
|
-
if (config.circle) {
|
|
60
|
-
this.icon.addStyleObj({
|
|
61
|
-
margin: undefined,
|
|
62
|
-
float: undefined
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
// const type = config?.type ? config.type : 'default';
|
|
67
|
-
// this.type = type;
|
|
68
|
-
if (config === null || config === void 0 ? void 0 : config.type) {
|
|
69
|
-
this.type = config.type;
|
|
70
|
-
if (config === null || config === void 0 ? void 0 : config.plain) {
|
|
71
|
-
console.log('config.plain . ');
|
|
72
|
-
this.plain = config.plain;
|
|
73
|
-
if (config.disabled) {
|
|
74
|
-
this.disabled = config.disabled;
|
|
75
|
-
this.addStyleObj(td_button_style_1.$buttonPlainColors[config.type].disabled);
|
|
76
|
-
}
|
|
77
|
-
else {
|
|
78
|
-
console.log(td_button_style_1.$buttonPlainColors[config.type].default);
|
|
79
|
-
this.addStyleObj(td_button_style_1.$buttonPlainColors[config.type].default);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
else {
|
|
83
|
-
if (config === null || config === void 0 ? void 0 : config.disabled) {
|
|
84
|
-
console.log('config?.disabled is true . $button.disabled is ', var_1.$button.disabled);
|
|
85
|
-
this.disabled = config.disabled;
|
|
86
|
-
this.addStyleObj(td_button_style_1.$buttonStateColors[config.type].disabled);
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
this.addStyleObj(td_button_style_1.$buttonStateColors[config.type].default);
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
if (config === null || config === void 0 ? void 0 : config.loading) {
|
|
94
|
-
if (this.icon) {
|
|
95
|
-
this.icon.addStyleObj(td_icon_style_1.$iconLoading);
|
|
96
|
-
}
|
|
97
|
-
this.disabled = config.disabled;
|
|
98
|
-
if (config.type) {
|
|
99
|
-
this.addStyleObj(td_button_style_1.$buttonStateColors[config.type].disabled);
|
|
100
|
-
}
|
|
101
|
-
else {
|
|
102
|
-
this.addStyleObj(var_1.$button.disabled);
|
|
103
|
-
}
|
|
104
|
-
this.addStyleObj({
|
|
105
|
-
position: 'relative',
|
|
106
|
-
pointerEvents: 'none',
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
if (config === null || config === void 0 ? void 0 : config.disabled) {
|
|
110
|
-
this.disabled = config.disabled;
|
|
111
|
-
this.addStyleObj(var_1.$button.disabled);
|
|
112
|
-
}
|
|
113
|
-
const size = (config === null || config === void 0 ? void 0 : config.size) ? config.size : 'default';
|
|
114
|
-
this.addStyleObj(td_button_style_1.sizeOpts[size]);
|
|
115
|
-
if (config === null || config === void 0 ? void 0 : config.round) {
|
|
116
|
-
this.addStyleObj({
|
|
117
|
-
borderRadius: var_1.$borderRadius.round
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
else if (config === null || config === void 0 ? void 0 : config.circle) {
|
|
121
|
-
this.addStyleObj({
|
|
122
|
-
width: td_input_style_1.$inputHeight[config.size || 'default'], // map.get($input-height, 'default');
|
|
123
|
-
borderRadius: var_1.$borderRadius.circle,
|
|
124
|
-
padding: var_1.$paddingVerticalMap.default
|
|
125
|
-
});
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
// 悬浮、聚焦、激活状态样式
|
|
129
|
-
initEvents() {
|
|
130
|
-
this.addEvents({
|
|
131
|
-
mouseover: evt => {
|
|
132
|
-
// console.log('td-button mouseover . ');
|
|
133
|
-
if (this.disabled) {
|
|
134
|
-
this.setStyleObj({
|
|
135
|
-
cursor: framework_1.StyleCursor.notAllowed
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
else {
|
|
139
|
-
if (this.type) {
|
|
140
|
-
this.setStyleObj(td_button_style_1.$buttonStateColors[this.type].hover);
|
|
141
|
-
}
|
|
142
|
-
else {
|
|
143
|
-
this.setStyleObj({
|
|
144
|
-
color: var_1.$button.hover.textColor,
|
|
145
|
-
backgroundColor: var_1.$button.hover.borderColor, // $colors['primary']['light-3'],
|
|
146
|
-
borderColor: var_1.$button.hover.borderColor
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
},
|
|
151
|
-
mouseout: () => {
|
|
152
|
-
// console.log('td-button mouseout . ');
|
|
153
|
-
if (this.disabled) {
|
|
154
|
-
this.setStyleObj({
|
|
155
|
-
cursor: framework_1.StyleCursor.auto
|
|
156
|
-
});
|
|
157
|
-
}
|
|
158
|
-
else {
|
|
159
|
-
if (this.type) {
|
|
160
|
-
if (this.plain) {
|
|
161
|
-
this.setStyleObj(td_button_style_1.$buttonPlainColors[this.type].default);
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
this.setStyleObj(td_button_style_1.$buttonStateColors[this.type].default);
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
else {
|
|
168
|
-
this.setStyleObj({
|
|
169
|
-
color: var_1.$button.textColor,
|
|
170
|
-
backgroundColor: var_1.$button.bgColor,
|
|
171
|
-
borderColor: var_1.$button.borderColor
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
9
|
}
|
|
178
10
|
}
|
|
179
11
|
exports.TdButton = TdButton;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { InjectionKey } from '@type-dom/framework';
|
|
2
|
+
import type { ITdButtonConfig } from './td-button.interface';
|
|
3
|
+
export interface ButtonGroupContext {
|
|
4
|
+
size?: ITdButtonConfig['size'];
|
|
5
|
+
type?: ITdButtonConfig['type'];
|
|
6
|
+
}
|
|
7
|
+
export declare const buttonGroupContextKey: InjectionKey<ButtonGroupContext>;
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { ISpan, TypeSvgSvg } from '@type-dom/framework';
|
|
2
|
-
import { ITdIcon } from '../td-icon/td-icon.interface';
|
|
3
2
|
import { IUI, IUIConfig } from '../../../ui/ui.interface';
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
import { ITdIcon } from '../td-icon/td-icon.interface';
|
|
4
|
+
export interface ITdButtonAbstract extends IUI {
|
|
5
|
+
className: 'TdButton' | string;
|
|
6
6
|
childNodes: (ISpan | ITdIcon)[];
|
|
7
7
|
}
|
|
8
|
+
export interface ITdButton extends ITdButtonAbstract {
|
|
9
|
+
className: 'TdButton';
|
|
10
|
+
}
|
|
8
11
|
export type IButtonSize = 'small' | 'default' | 'large';
|
|
9
|
-
export type IButtonType = 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
|
|
12
|
+
export type IButtonType = 'default' | 'primary' | 'success' | 'warning' | 'info' | 'danger'
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated
|
|
15
|
+
* Text type will be deprecated in the next major version (3.0.0)
|
|
16
|
+
*/
|
|
17
|
+
| 'text' | '';
|
|
10
18
|
export type IButtonNativeType = 'button' | 'submit' | 'reset';
|
|
11
19
|
/**
|
|
12
20
|
* type、plain、round 和 circle 来定义按钮的样式。
|
|
@@ -24,16 +32,18 @@ export type IButtonNativeType = 'button' | 'submit' | 'reset';
|
|
|
24
32
|
export interface ITdButtonConfig extends IUIConfig {
|
|
25
33
|
size?: IButtonSize;
|
|
26
34
|
disabled?: boolean;
|
|
27
|
-
title?: string;
|
|
28
35
|
type?: IButtonType;
|
|
29
36
|
svgObj?: TypeSvgSvg;
|
|
30
37
|
iconPosition?: 'left' | 'right';
|
|
31
38
|
icon?: string;
|
|
32
39
|
nativeType?: IButtonNativeType;
|
|
33
40
|
loading?: boolean;
|
|
41
|
+
loadingIcon?: TypeSvgSvg;
|
|
34
42
|
plain?: boolean;
|
|
43
|
+
text?: boolean;
|
|
44
|
+
link?: boolean;
|
|
35
45
|
round?: boolean;
|
|
46
|
+
bg?: boolean;
|
|
36
47
|
circle?: boolean;
|
|
37
|
-
loadingIcon?: string;
|
|
38
48
|
color?: string;
|
|
39
49
|
}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { IStyle } from '@type-dom/
|
|
1
|
+
import { IStyle } from '@type-dom/css-type';
|
|
2
2
|
import { IType } from '../../../styles/var';
|
|
3
3
|
export declare const $buttonIconSpanGap: {
|
|
4
4
|
large: string;
|
|
5
5
|
default: string;
|
|
6
6
|
small: string;
|
|
7
7
|
};
|
|
8
|
-
export declare const sizeOpts: Record<string, Partial<IStyle>>;
|
|
9
|
-
export declare const tdButtonBase:
|
|
8
|
+
export declare const $sizeOpts: Record<string, Partial<IStyle>>;
|
|
9
|
+
export declare const $tdButtonBase: IStyle;
|
|
10
10
|
export declare const $buttonStateColors: Record<string, Record<string, Partial<IStyle>>>;
|
|
11
11
|
export declare function buttonVariant($type: IType): void;
|
|
12
12
|
export declare const $buttonPlainColors: Record<string, Record<string, Partial<IStyle>>>;
|
|
13
13
|
export declare function buttonPlain($type: IType): void;
|
|
14
14
|
export declare const $borderRightColor = "rgba(255, 255, 255, .5)";
|
|
15
|
+
export declare const $buttonBorderRadius: {
|
|
16
|
+
large: string;
|
|
17
|
+
default: string;
|
|
18
|
+
small: string;
|
|
19
|
+
};
|