bonkers-ui 1.0.61 → 1.0.63
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/.eslintrc.js +1 -0
- package/CONSTANTS.d.ts +1 -0
- package/README.md +135 -21
- package/_types/align.js +5 -0
- package/_types/align.js.map +1 -0
- package/_types/colors.js +5 -0
- package/_types/colors.js.map +1 -0
- package/_types/sizing.js +5 -0
- package/_types/sizing.js.map +1 -0
- package/_virtual/_plugin-vue_export-helper.js +10 -0
- package/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/bonkers-ui.umd.js +12 -0
- package/bonkers-ui.umd.js.map +1 -0
- package/components/ui-alert/_types.d.ts +6 -0
- package/components/ui-alert/_types.js +5 -0
- package/components/ui-alert/_types.js.map +1 -0
- package/components/ui-alert/index.d.ts +92 -0
- package/components/ui-alert/index.js +9 -0
- package/components/ui-alert/index.js.map +1 -0
- package/components/ui-alert/ui-alert.vue.d.ts +27 -0
- package/components/ui-alert/ui-alert.vue.js +47 -0
- package/components/ui-alert/ui-alert.vue.js.map +1 -0
- package/components/ui-alert/ui-alert.vue2.js +5 -0
- package/components/ui-alert/ui-alert.vue2.js.map +1 -0
- package/components/ui-badge/_typings.d.ts +10 -0
- package/components/ui-badge/_typings.js +6 -0
- package/components/ui-badge/_typings.js.map +1 -0
- package/components/ui-badge/index.d.ts +114 -0
- package/components/ui-badge/index.js +10 -0
- package/components/ui-badge/index.js.map +1 -0
- package/components/ui-badge/ui-badge.vue.d.ts +31 -0
- package/components/ui-badge/ui-badge.vue.js +62 -0
- package/components/ui-badge/ui-badge.vue.js.map +1 -0
- package/components/ui-badge/ui-badge.vue2.js +5 -0
- package/components/ui-badge/ui-badge.vue2.js.map +1 -0
- package/components/ui-ber-rank/_types.d.ts +61 -0
- package/components/ui-ber-rank/_types.js +74 -0
- package/components/ui-ber-rank/_types.js.map +1 -0
- package/components/ui-ber-rank/index.d.ts +30 -0
- package/components/ui-ber-rank/index.js +11 -0
- package/components/ui-ber-rank/index.js.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +33 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js +101 -0
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +1 -0
- package/components/ui-ber-rank/ui-ber-rank.vue3.js +7 -0
- package/components/ui-ber-rank/ui-ber-rank.vue3.js.map +1 -0
- package/components/ui-button/_typings.d.ts +17 -0
- package/components/ui-button/_typings.js +6 -0
- package/components/ui-button/_typings.js.map +1 -0
- package/components/ui-button/index.d.ts +146 -0
- package/components/ui-button/index.js +10 -0
- package/components/ui-button/index.js.map +1 -0
- package/components/ui-button/ui-button.vue.d.ts +51 -0
- package/components/ui-button/ui-button.vue.js +51 -0
- package/components/ui-button/ui-button.vue.js.map +1 -0
- package/components/ui-button/ui-button.vue2.js +5 -0
- package/components/ui-button/ui-button.vue2.js.map +1 -0
- package/components/ui-card-cta/index.d.ts +127 -0
- package/components/ui-card-cta/index.js +7 -0
- package/components/ui-card-cta/index.js.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +34 -0
- package/components/ui-card-cta/ui-card-cta.vue.js +76 -0
- package/components/ui-card-cta/ui-card-cta.vue.js.map +1 -0
- package/components/ui-card-cta/ui-card-cta.vue2.js +5 -0
- package/components/ui-card-cta/ui-card-cta.vue2.js.map +1 -0
- package/components/ui-card-result/index.d.ts +125 -0
- package/components/ui-card-result/index.js +7 -0
- package/components/ui-card-result/index.js.map +1 -0
- package/components/ui-card-result/ui-card-result.vue.d.ts +32 -0
- package/components/ui-card-result/ui-card-result.vue.js +9 -0
- package/components/ui-card-result/ui-card-result.vue.js.map +1 -0
- package/components/ui-card-result/ui-card-result.vue2.js +82 -0
- package/components/ui-card-result/ui-card-result.vue2.js.map +1 -0
- package/components/ui-card-simple/index.d.ts +56 -0
- package/components/ui-card-simple/index.js +7 -0
- package/components/ui-card-simple/index.js.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +12 -0
- package/components/ui-card-simple/ui-card-simple.vue.js +36 -0
- package/components/ui-card-simple/ui-card-simple.vue.js.map +1 -0
- package/components/ui-card-simple/ui-card-simple.vue2.js +5 -0
- package/components/ui-card-simple/ui-card-simple.vue2.js.map +1 -0
- package/components/ui-checkbox/index.d.ts +142 -0
- package/components/ui-checkbox/index.js +7 -0
- package/components/ui-checkbox/index.js.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +36 -0
- package/components/ui-checkbox/ui-checkbox.vue.js +9 -0
- package/components/ui-checkbox/ui-checkbox.vue.js.map +1 -0
- package/components/ui-checkbox/ui-checkbox.vue2.js +74 -0
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +1 -0
- package/components/ui-dropdown/_typings.d.ts +4 -0
- package/components/ui-dropdown/_typings.js +5 -0
- package/components/ui-dropdown/_typings.js.map +1 -0
- package/components/ui-dropdown/index.d.ts +148 -0
- package/components/ui-dropdown/index.js +9 -0
- package/components/ui-dropdown/index.js.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +50 -0
- package/components/ui-dropdown/ui-dropdown.vue.js +82 -0
- package/components/ui-dropdown/ui-dropdown.vue.js.map +1 -0
- package/components/ui-dropdown/ui-dropdown.vue2.js +5 -0
- package/components/ui-dropdown/ui-dropdown.vue2.js.map +1 -0
- package/components/ui-icon/_typings.d.ts +10 -0
- package/components/ui-icon/_typings.js +5 -0
- package/components/ui-icon/_typings.js.map +1 -0
- package/components/ui-icon/index.d.ts +33 -0
- package/components/ui-icon/index.js +11 -0
- package/components/ui-icon/index.js.map +1 -0
- package/components/ui-icon/ui-icon.vue.d.ts +34 -0
- package/components/ui-icon/ui-icon.vue.js +30 -0
- package/components/ui-icon/ui-icon.vue.js.map +1 -0
- package/components/ui-icon/ui-icon.vue2.js +5 -0
- package/components/ui-icon/ui-icon.vue2.js.map +1 -0
- package/components/ui-icon-wrapper/_typings.d.ts +11 -0
- package/components/ui-icon-wrapper/_typings.js +6 -0
- package/components/ui-icon-wrapper/_typings.js.map +1 -0
- package/components/ui-icon-wrapper/index.d.ts +104 -0
- package/components/ui-icon-wrapper/index.js +10 -0
- package/components/ui-icon-wrapper/index.js.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +41 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +9 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js.map +1 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +28 -0
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js.map +1 -0
- package/components/ui-input/_typings.d.ts +70 -0
- package/components/ui-input/_typings.js +7 -0
- package/components/ui-input/_typings.js.map +1 -0
- package/components/ui-input/index.d.ts +337 -0
- package/components/ui-input/index.js +11 -0
- package/components/ui-input/index.js.map +1 -0
- package/components/ui-input/ui-input.vue.d.ts +102 -0
- package/components/ui-input/ui-input.vue.js +97 -0
- package/components/ui-input/ui-input.vue.js.map +1 -0
- package/components/ui-input/ui-input.vue2.js +5 -0
- package/components/ui-input/ui-input.vue2.js.map +1 -0
- package/components/ui-input-range/index.d.ts +46 -0
- package/components/ui-input-range/index.js +7 -0
- package/components/ui-input-range/index.js.map +1 -0
- package/components/ui-input-range/ui-input-range.vue.d.ts +26 -0
- package/components/ui-input-range/ui-input-range.vue.js +9 -0
- package/components/ui-input-range/ui-input-range.vue.js.map +1 -0
- package/components/ui-input-range/ui-input-range.vue2.js +71 -0
- package/components/ui-input-range/ui-input-range.vue2.js.map +1 -0
- package/components/ui-list-item/_types.d.ts +12 -0
- package/components/ui-list-item/_types.js +7 -0
- package/components/ui-list-item/_types.js.map +1 -0
- package/components/ui-list-item/index.d.ts +186 -0
- package/components/ui-list-item/index.js +11 -0
- package/components/ui-list-item/index.js.map +1 -0
- package/components/ui-list-item/ui-list-item.vue.d.ts +65 -0
- package/components/ui-list-item/ui-list-item.vue.js +65 -0
- package/components/ui-list-item/ui-list-item.vue.js.map +1 -0
- package/components/ui-list-item/ui-list-item.vue2.js +5 -0
- package/components/ui-list-item/ui-list-item.vue2.js.map +1 -0
- package/components/ui-modal/_typings.d.ts +6 -0
- package/components/ui-modal/_typings.js +5 -0
- package/components/ui-modal/_typings.js.map +1 -0
- package/components/ui-modal/index.d.ts +107 -0
- package/components/ui-modal/index.js +9 -0
- package/components/ui-modal/index.js.map +1 -0
- package/components/ui-modal/ui-backdrop/index.d.ts +54 -0
- package/components/ui-modal/ui-backdrop/index.js +7 -0
- package/components/ui-modal/ui-backdrop/index.js.map +1 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +10 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +16 -0
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +1 -0
- package/components/ui-modal/ui-modal.vue.d.ts +46 -0
- package/components/ui-modal/ui-modal.vue.js +9 -0
- package/components/ui-modal/ui-modal.vue.js.map +1 -0
- package/components/ui-modal/ui-modal.vue2.js +65 -0
- package/components/ui-modal/ui-modal.vue2.js.map +1 -0
- package/components/ui-notification-badge/_types.d.ts +10 -0
- package/components/ui-notification-badge/_types.js +5 -0
- package/components/ui-notification-badge/_types.js.map +1 -0
- package/components/ui-notification-badge/index.d.ts +84 -0
- package/components/ui-notification-badge/index.js +11 -0
- package/components/ui-notification-badge/index.js.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +38 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.js +22 -0
- package/components/ui-notification-badge/ui-notification-badge.vue.js.map +1 -0
- package/components/ui-notification-badge/ui-notification-badge.vue3.js +7 -0
- package/components/ui-notification-badge/ui-notification-badge.vue3.js.map +1 -0
- package/components/ui-order-card/_types.d.ts +4 -0
- package/components/ui-order-card/_types.js +5 -0
- package/components/ui-order-card/_types.js.map +1 -0
- package/components/ui-order-card/index.d.ts +103 -0
- package/components/ui-order-card/index.js +7 -0
- package/components/ui-order-card/index.js.map +1 -0
- package/components/ui-order-card/ui-order-card.vue.d.ts +43 -0
- package/components/ui-order-card/ui-order-card.vue.js +86 -0
- package/components/ui-order-card/ui-order-card.vue.js.map +1 -0
- package/components/ui-order-card/ui-order-card.vue2.js +5 -0
- package/components/ui-order-card/ui-order-card.vue2.js.map +1 -0
- package/components/ui-plain-radio/index.d.ts +163 -0
- package/components/ui-plain-radio/index.js +7 -0
- package/components/ui-plain-radio/index.js.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +38 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js +85 -0
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +1 -0
- package/components/ui-plain-radio/ui-plain-radio.vue2.js +5 -0
- package/components/ui-plain-radio/ui-plain-radio.vue2.js.map +1 -0
- package/components/ui-progress/_types.d.ts +1 -0
- package/components/ui-progress/index.d.ts +44 -0
- package/components/ui-progress/index.js +7 -0
- package/components/ui-progress/index.js.map +1 -0
- package/components/ui-progress/ui-progress.vue.d.ts +40 -0
- package/components/ui-progress/ui-progress.vue.js +26 -0
- package/components/ui-progress/ui-progress.vue.js.map +1 -0
- package/components/ui-progress/ui-progress.vue2.js +5 -0
- package/components/ui-progress/ui-progress.vue2.js.map +1 -0
- package/components/ui-radio/index.d.ts +163 -0
- package/components/ui-radio/index.js +7 -0
- package/components/ui-radio/index.js.map +1 -0
- package/components/ui-radio/ui-radio.vue.d.ts +38 -0
- package/components/ui-radio/ui-radio.vue.js +9 -0
- package/components/ui-radio/ui-radio.vue.js.map +1 -0
- package/components/ui-radio/ui-radio.vue2.js +58 -0
- package/components/ui-radio/ui-radio.vue2.js.map +1 -0
- package/components/ui-radio-compact/index.d.ts +136 -0
- package/components/ui-radio-compact/index.js +7 -0
- package/components/ui-radio-compact/index.js.map +1 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +33 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.js +52 -0
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +1 -0
- package/components/ui-radio-compact/ui-radio-compact.vue2.js +5 -0
- package/components/ui-radio-compact/ui-radio-compact.vue2.js.map +1 -0
- package/components/ui-radio-fancy/_typings.d.ts +5 -0
- package/components/ui-radio-fancy/_typings.js +5 -0
- package/components/ui-radio-fancy/_typings.js.map +1 -0
- package/components/ui-radio-fancy/index.d.ts +181 -0
- package/components/ui-radio-fancy/index.js +7 -0
- package/components/ui-radio-fancy/index.js.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +56 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +86 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +1 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js +5 -0
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js.map +1 -0
- package/components/ui-result-card-range/_types.d.ts +7 -0
- package/components/ui-result-card-range/index.d.ts +112 -0
- package/components/ui-result-card-range/index.js +7 -0
- package/components/ui-result-card-range/index.js.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +30 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js +41 -0
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +1 -0
- package/components/ui-result-card-range/ui-result-card-range.vue2.js +5 -0
- package/components/ui-result-card-range/ui-result-card-range.vue2.js.map +1 -0
- package/components/ui-ripple/index.d.ts +54 -0
- package/components/ui-ripple/index.js +9 -0
- package/components/ui-ripple/index.js.map +1 -0
- package/components/ui-ripple/ui-ripple.vue.d.ts +10 -0
- package/components/ui-ripple/ui-ripple.vue.js +52 -0
- package/components/ui-ripple/ui-ripple.vue.js.map +1 -0
- package/components/ui-ripple/ui-ripple.vue3.js +7 -0
- package/components/ui-ripple/ui-ripple.vue3.js.map +1 -0
- package/components/ui-select/index.d.ts +131 -0
- package/components/ui-select/index.js +7 -0
- package/components/ui-select/index.js.map +1 -0
- package/components/ui-select/ui-select.vue.d.ts +36 -0
- package/components/ui-select/ui-select.vue.js +83 -0
- package/components/ui-select/ui-select.vue.js.map +1 -0
- package/components/ui-select/ui-select.vue2.js +5 -0
- package/components/ui-select/ui-select.vue2.js.map +1 -0
- package/components/ui-skeleton/_typings.d.ts +4 -0
- package/components/ui-skeleton/_typings.js +5 -0
- package/components/ui-skeleton/_typings.js.map +1 -0
- package/components/ui-skeleton/index.d.ts +21 -0
- package/components/ui-skeleton/index.js +7 -0
- package/components/ui-skeleton/index.js.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +31 -0
- package/components/ui-skeleton/ui-skeleton.vue.js +43 -0
- package/components/ui-skeleton/ui-skeleton.vue.js.map +1 -0
- package/components/ui-skeleton/ui-skeleton.vue2.js +5 -0
- package/components/ui-skeleton/ui-skeleton.vue2.js.map +1 -0
- package/components/ui-snackbar/_types.d.ts +7 -0
- package/components/ui-snackbar/_types.js +5 -0
- package/components/ui-snackbar/_types.js.map +1 -0
- package/components/ui-snackbar/index.d.ts +103 -0
- package/components/ui-snackbar/index.js +9 -0
- package/components/ui-snackbar/index.js.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +42 -0
- package/components/ui-snackbar/ui-snackbar.vue.js +49 -0
- package/components/ui-snackbar/ui-snackbar.vue.js.map +1 -0
- package/components/ui-snackbar/ui-snackbar.vue2.js +5 -0
- package/components/ui-snackbar/ui-snackbar.vue2.js.map +1 -0
- package/components/ui-table/_types.d.ts +5 -0
- package/components/ui-table/_types.js +5 -0
- package/components/ui-table/_types.js.map +1 -0
- package/components/ui-table/index.d.ts +87 -0
- package/components/ui-table/index.js +19 -0
- package/components/ui-table/index.js.map +1 -0
- package/components/ui-table/ui-table-cell/index.d.ts +87 -0
- package/components/ui-table/ui-table-cell/index.js +7 -0
- package/components/ui-table/ui-table-cell/index.js.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +27 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +41 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js.map +1 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js +5 -0
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js.map +1 -0
- package/components/ui-table/ui-table-row/_typings.d.ts +3 -0
- package/components/ui-table/ui-table-row/_typings.js +5 -0
- package/components/ui-table/ui-table-row/_typings.js.map +1 -0
- package/components/ui-table/ui-table-row/index.d.ts +74 -0
- package/components/ui-table/ui-table-row/index.js +9 -0
- package/components/ui-table/ui-table-row/index.js.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +24 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +9 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue.js.map +1 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js +19 -0
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js.map +1 -0
- package/components/ui-table/ui-table.vue.d.ts +38 -0
- package/components/ui-table/ui-table.vue.js +9 -0
- package/components/ui-table/ui-table.vue.js.map +1 -0
- package/components/ui-table/ui-table.vue2.js +23 -0
- package/components/ui-table/ui-table.vue2.js.map +1 -0
- package/components/ui-tabs/index.d.ts +40 -0
- package/components/ui-tabs/index.js +7 -0
- package/components/ui-tabs/index.js.map +1 -0
- package/components/ui-tabs/ui-tabs.vue.d.ts +38 -0
- package/components/ui-tabs/ui-tabs.vue.js +9 -0
- package/components/ui-tabs/ui-tabs.vue.js.map +1 -0
- package/components/ui-tabs/ui-tabs.vue2.js +56 -0
- package/components/ui-tabs/ui-tabs.vue2.js.map +1 -0
- package/components/ui-toggle/index.d.ts +168 -0
- package/components/ui-toggle/index.js +7 -0
- package/components/ui-toggle/index.js.map +1 -0
- package/components/ui-toggle/ui-toggle.vue.d.ts +40 -0
- package/components/ui-toggle/ui-toggle.vue.js +9 -0
- package/components/ui-toggle/ui-toggle.vue.js.map +1 -0
- package/components/ui-toggle/ui-toggle.vue2.js +94 -0
- package/components/ui-toggle/ui-toggle.vue2.js.map +1 -0
- package/components/ui-typography/_typings.d.ts +69 -0
- package/components/ui-typography/_typings.js +8 -0
- package/components/ui-typography/_typings.js.map +1 -0
- package/components/ui-typography/index.d.ts +167 -0
- package/components/ui-typography/index.js +14 -0
- package/components/ui-typography/index.js.map +1 -0
- package/components/ui-typography/ui-typography.vue.d.ts +39 -0
- package/components/ui-typography/ui-typography.vue.js +101 -0
- package/components/ui-typography/ui-typography.vue.js.map +1 -0
- package/components/ui-typography/ui-typography.vue2.js +5 -0
- package/components/ui-typography/ui-typography.vue2.js.map +1 -0
- package/components/ui-verification-input/index.d.ts +102 -0
- package/components/ui-verification-input/index.js +7 -0
- package/components/ui-verification-input/index.js.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +27 -0
- package/components/ui-verification-input/ui-verification-input.vue.js +9 -0
- package/components/ui-verification-input/ui-verification-input.vue.js.map +1 -0
- package/components/ui-verification-input/ui-verification-input.vue2.js +53 -0
- package/components/ui-verification-input/ui-verification-input.vue2.js.map +1 -0
- package/index.d.ts +40 -0
- package/index.js +203 -0
- package/index.js.map +1 -0
- package/package.json +71 -42
- package/plugin.ts +129 -0
- package/postcss.config.js +3 -0
- package/tailwind.config.ts +13 -0
- package/tsconfig.json +32 -19
- package/tsconfig.node.json +4 -2
- package/types.d.ts +20 -0
- package/types.js +77 -0
- package/types.js.map +1 -0
- package/.editorconfig +0 -14
- package/.github/workflows/deploy-beta.yaml +0 -31
- package/.github/workflows/deploy.yaml +0 -28
- package/.github/workflows/linting.yaml +0 -28
- package/.storybook/BonkersTheme.js +0 -32
- package/.storybook/main.js +0 -29
- package/.storybook/manager.js +0 -7
- package/.storybook/preview-head.html +0 -3
- package/.storybook/preview.js +0 -56
- package/LICENCE +0 -21
- package/publish.js +0 -45
- package/src/CONSTANTS.ts +0 -1
- package/src/_samples/check-icon.vue +0 -22
- package/src/_samples/icon.vue +0 -19
- package/src/_styles/variables/colors.css +0 -75
- package/src/_styles/variables/font-sizes.css +0 -15
- package/src/_styles/variables/shadow.css +0 -11
- package/src/_styles/variables/spacing.css +0 -15
- package/src/_types/align.ts +0 -8
- package/src/_types/colors.ts +0 -58
- package/src/_types/sizing.ts +0 -9
- package/src/components/ui-alert/_types.ts +0 -6
- package/src/components/ui-alert/index.ts +0 -2
- package/src/components/ui-alert/ui-alert.stories.ts +0 -31
- package/src/components/ui-alert/ui-alert.vue +0 -40
- package/src/components/ui-badge/_typings.ts +0 -11
- package/src/components/ui-badge/index.ts +0 -2
- package/src/components/ui-badge/ui-badge.stories.ts +0 -49
- package/src/components/ui-badge/ui-badge.vue +0 -65
- package/src/components/ui-ber-rank/_types.ts +0 -82
- package/src/components/ui-ber-rank/index.ts +0 -2
- package/src/components/ui-ber-rank/ui-ber-rank.stories.ts +0 -29
- package/src/components/ui-ber-rank/ui-ber-rank.vue +0 -96
- package/src/components/ui-button/_typings.ts +0 -17
- package/src/components/ui-button/index.ts +0 -2
- package/src/components/ui-button/ui-button.stories.ts +0 -143
- package/src/components/ui-button/ui-button.test.ts +0 -9
- package/src/components/ui-button/ui-button.vue +0 -79
- package/src/components/ui-card-cta/index.ts +0 -1
- package/src/components/ui-card-cta/ui-card-cta.stories.ts +0 -20
- package/src/components/ui-card-cta/ui-card-cta.vue +0 -83
- package/src/components/ui-card-result/index.ts +0 -1
- package/src/components/ui-card-result/ui-card-result.stories.ts +0 -167
- package/src/components/ui-card-result/ui-card-result.vue +0 -97
- package/src/components/ui-card-simple/index.ts +0 -1
- package/src/components/ui-card-simple/ui-card-simple.stories.ts +0 -40
- package/src/components/ui-card-simple/ui-card-simple.vue +0 -30
- package/src/components/ui-checkbox/index.ts +0 -1
- package/src/components/ui-checkbox/ui-checkbox.stories.ts +0 -71
- package/src/components/ui-checkbox/ui-checkbox.vue +0 -173
- package/src/components/ui-icon/_typings.ts +0 -11
- package/src/components/ui-icon/index.ts +0 -3
- package/src/components/ui-icon/ui-icon.stories.ts +0 -43
- package/src/components/ui-icon/ui-icon.vue +0 -27
- package/src/components/ui-icon-wrapper/_typings.ts +0 -11
- package/src/components/ui-icon-wrapper/index.ts +0 -2
- package/src/components/ui-icon-wrapper/ui-icon-wrapper.stories.ts +0 -69
- package/src/components/ui-icon-wrapper/ui-icon-wrapper.vue +0 -44
- package/src/components/ui-input/_typings.ts +0 -74
- package/src/components/ui-input/index.ts +0 -2
- package/src/components/ui-input/ui-input.stories.ts +0 -111
- package/src/components/ui-input/ui-input.vue +0 -100
- package/src/components/ui-input-range/index.ts +0 -1
- package/src/components/ui-input-range/ui-input-range.stories.ts +0 -57
- package/src/components/ui-input-range/ui-input-range.vue +0 -138
- package/src/components/ui-list-item/_types.ts +0 -13
- package/src/components/ui-list-item/index.ts +0 -2
- package/src/components/ui-list-item/ui-list-item.stories.ts +0 -77
- package/src/components/ui-list-item/ui-list-item.vue +0 -79
- package/src/components/ui-modal/_typings.ts +0 -6
- package/src/components/ui-modal/index.ts +0 -2
- package/src/components/ui-modal/ui-backdrop/index.ts +0 -1
- package/src/components/ui-modal/ui-backdrop/ui-backdrop.vue +0 -22
- package/src/components/ui-modal/ui-modal.stories.ts +0 -85
- package/src/components/ui-modal/ui-modal.vue +0 -90
- package/src/components/ui-notification-badge/_types.ts +0 -11
- package/src/components/ui-notification-badge/index.ts +0 -2
- package/src/components/ui-notification-badge/ui-notification-badge.stories.ts +0 -44
- package/src/components/ui-notification-badge/ui-notification-badge.vue +0 -42
- package/src/components/ui-order-card/_types.ts +0 -4
- package/src/components/ui-order-card/index.ts +0 -1
- package/src/components/ui-order-card/ui-order-card.stories.ts +0 -57
- package/src/components/ui-order-card/ui-order-card.vue +0 -83
- package/src/components/ui-plain-radio/index.ts +0 -1
- package/src/components/ui-plain-radio/ui-plain-radio.stories.ts +0 -74
- package/src/components/ui-plain-radio/ui-plain-radio.vue +0 -119
- package/src/components/ui-progress/_types.ts +0 -0
- package/src/components/ui-progress/index.ts +0 -1
- package/src/components/ui-progress/ui-progress.stories.ts +0 -40
- package/src/components/ui-progress/ui-progress.vue +0 -43
- package/src/components/ui-radio/index.ts +0 -1
- package/src/components/ui-radio/ui-radio.stories.ts +0 -74
- package/src/components/ui-radio/ui-radio.vue +0 -108
- package/src/components/ui-radio-compact/index.ts +0 -1
- package/src/components/ui-radio-compact/ui-radio-compact.stories.ts +0 -51
- package/src/components/ui-radio-compact/ui-radio-compact.vue +0 -92
- package/src/components/ui-radio-fancy/_typings.ts +0 -5
- package/src/components/ui-radio-fancy/index.ts +0 -1
- package/src/components/ui-radio-fancy/ui-radio-fancy.stories.ts +0 -81
- package/src/components/ui-radio-fancy/ui-radio-fancy.vue +0 -132
- package/src/components/ui-result-card-range/_types.ts +0 -8
- package/src/components/ui-result-card-range/index.ts +0 -1
- package/src/components/ui-result-card-range/ui-result-card-range.stories.ts +0 -78
- package/src/components/ui-result-card-range/ui-result-card-range.vue +0 -46
- package/src/components/ui-ripple/index.ts +0 -1
- package/src/components/ui-ripple/ui-ripple.stories.ts +0 -61
- package/src/components/ui-ripple/ui-ripple.vue +0 -83
- package/src/components/ui-select/index.ts +0 -1
- package/src/components/ui-select/ui-select.stories.ts +0 -49
- package/src/components/ui-select/ui-select.vue +0 -85
- package/src/components/ui-skeleton/_typings.ts +0 -4
- package/src/components/ui-skeleton/index.ts +0 -1
- package/src/components/ui-skeleton/ui-skeleton.stories.ts +0 -42
- package/src/components/ui-skeleton/ui-skeleton.vue +0 -61
- package/src/components/ui-snackbar/_types.ts +0 -7
- package/src/components/ui-snackbar/index.ts +0 -2
- package/src/components/ui-snackbar/ui-snackbar.stories.ts +0 -30
- package/src/components/ui-snackbar/ui-snackbar.vue +0 -42
- package/src/components/ui-table/_types.ts +0 -5
- package/src/components/ui-table/index.ts +0 -5
- package/src/components/ui-table/ui-table-cell/index.ts +0 -1
- package/src/components/ui-table/ui-table-cell/ui-table-cell.vue +0 -33
- package/src/components/ui-table/ui-table-row/_typings.ts +0 -3
- package/src/components/ui-table/ui-table-row/index.ts +0 -2
- package/src/components/ui-table/ui-table-row/ui-table-row.vue +0 -31
- package/src/components/ui-table/ui-table.stories.ts +0 -86
- package/src/components/ui-table/ui-table.vue +0 -31
- package/src/components/ui-tabs/index.ts +0 -1
- package/src/components/ui-tabs/ui-tabs.stories.ts +0 -33
- package/src/components/ui-tabs/ui-tabs.vue +0 -60
- package/src/components/ui-toggle/index.ts +0 -1
- package/src/components/ui-toggle/ui-toggle.stories.ts +0 -55
- package/src/components/ui-toggle/ui-toggle.vue +0 -149
- package/src/components/ui-typography/_typings.ts +0 -30
- package/src/components/ui-typography/index.ts +0 -3
- package/src/components/ui-typography/ui-typography.stories.ts +0 -101
- package/src/components/ui-typography/ui-typography.vue +0 -110
- package/src/components/ui-verification-input/index.ts +0 -1
- package/src/components/ui-verification-input/ui-verification-input.stories.ts +0 -48
- package/src/components/ui-verification-input/ui-verification-input.vue +0 -126
- package/src/main.css +0 -34
- package/src/shims-vue.d.ts +0 -5
- package/src/stories/Introduction.stories.mdx +0 -131
- package/src/stories/assets/code-brackets.svg +0 -1
- package/src/stories/colors/colors.stories.ts +0 -15
- package/src/stories/colors/ui-colors.vue +0 -96
- package/src/stories/font-sizes/font-sizes.stories.ts +0 -15
- package/src/stories/font-sizes/ui-font-sizes.vue +0 -28
- package/src/stories/helper.ts +0 -5
- package/src/stories/spacings/spacings.stories.ts +0 -15
- package/src/stories/spacings/ui-spacings.vue +0 -50
- package/tailwind.config.js +0 -30
- package/vite.config.ts +0 -14
- package/vitest.config.ts +0 -17
- /package/src/_styles/{classTypes/_colors.json → _colors.json} +0 -0
- /package/src/_styles/{classTypes/_font-sizes.json → _font-sizes.json} +0 -0
- /package/src/_styles/{classTypes/_shadow.json → _shadow.json} +0 -0
- /package/src/_styles/{classTypes/_spacing.json → _spacing.json} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-plain-radio.vue.js","sources":["../../../src/components/ui-plain-radio/ui-plain-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-plain-radio relative mb-sm\"\n\t\t:for=\"name + value\"\n\t>\n\n\t\t<input\n\t\t\t:id=\"name + value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\t:value=\"value\"\n\t\t\tname=\"ui-plain-radio\"\n\t\t\ttype=\"radio\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\n\t\t<div\n\t\t\tclass=\"ui-plain-radio__content\n\t\t\t\tbox-border\n\t\t\t\tgrid\n\t\t\t\th-full\n\t\t\t\tw-full\n\t\t\t\tcursor-pointer\n\t\t\t\tgrid-flow-col\n\t\t\t\titems-center\n\t\t\t\tjustify-start\n\t\t\t\tgap-sm rounded-xl\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt-500\n\t\t\t\tbg-white\n\t\t\t\tp-sm\n\t\t\t\tbefore:absolute\n\t\t\t\tbefore:-z-10\n\n\t\t\t\tbefore:box-border\n\t\t\t\tbefore:rounded-[16px]\n\t\t\t\tbefore:bg-primary-300\n\t\t\t\thover:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-transparent\n\n\t\t\t\tpeer-checked:shadow-selected-shadow\n\t\t\t\tpeer-checked:hover:shadow-border-selected\n\t\t\t\tpeer-checked:active:shadow-border-primary\n\t\t\t\tpeer-checked:active:before:-bottom-xs\n\t\t\t\tpeer-checked:active:before:-left-xs\n\t\t\t\tpeer-checked:active:before:-right-xs\n\n\t\t\t\tpeer-checked:active:before:-top-xs\n\t\t\t\tpeer-focus:before:-bottom-xs\n\n\t\t\t\tpeer-focus:before:-left-xs\n\t\t\t\tpeer-focus:before:-right-xs\n\t\t\t\tpeer-focus:before:-top-xs\n\t\t\t\tpeer-active:before:-bottom-xxs\n\n\t\t\t\tpeer-active:before:-left-xxs\n\t\t\t\tpeer-active:before:-right-xxs\n\t\t\t\tpeer-active:before:-top-xxs\"\n\t\t\t:class=\"disabled\n\t\t\t\t&& 'pointer-events-none border-secondary-alt-400 peer-checked:shadow-border-primary-disabled'\"\n\t\t>\n\t\t\t<ui-radio\n\t\t\t\tv-model=\"radioModel\"\n\t\t\t\t:value=\"value.toString()\"\n\t\t\t\t:name=\"name\"\n\t\t\t\t:disabled=\"disabled\"\n\t\t\t\tclass=\"pointer-events-none\"\n\t\t\t/>\n\n\t\t\t<span>\n\t\t\t\t<slot name=\"header\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.SM\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY\"\n\t\t\t\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\t\t\t\tline-height\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ header }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\n\t\t\t\t<slot name=\"subHeader\">\n\t\t\t\t\t<ui-typography\n\t\t\t\t\t\t:size=\"ETypographySizes.XS\"\n\t\t\t\t\t\t:kind=\"EColors.SECONDARY_ALT\"\n\t\t\t\t\t>\n\t\t\t\t\t\t{{ subHeader }}\n\t\t\t\t\t</ui-typography>\n\t\t\t\t</slot>\n\t\t\t</span>\n\t\t</div>\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport UiRadio from \"../ui-radio\";\n\timport UiTypography, { ETypographySizes, EColors, ETextWeight } from \"../ui-typography\";\n\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\theader?: string;\n\t\tsubHeader?: string;\n\t\tname: string;\n\t\tvalue: string | number | boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit (\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n"],"names":["props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;;AAmGC,UAAMA,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAM,qBAAqBI,CAAK;AAAA,MACjC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-plain-radio.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { DefineComponent, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import UiProgress from "./ui-progress.vue";
|
|
3
|
+
export { UiProgress };
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
|
+
*/
|
|
7
|
+
declare const deprecatedDefault: DefineComponent<{
|
|
8
|
+
min: {
|
|
9
|
+
type: PropType<number>;
|
|
10
|
+
required: true;
|
|
11
|
+
default: number;
|
|
12
|
+
};
|
|
13
|
+
max: {
|
|
14
|
+
type: PropType<number>;
|
|
15
|
+
required: true;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
current: {
|
|
19
|
+
type: PropType<number>;
|
|
20
|
+
required: true;
|
|
21
|
+
default: number;
|
|
22
|
+
};
|
|
23
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
24
|
+
min: {
|
|
25
|
+
type: PropType<number>;
|
|
26
|
+
required: true;
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
max: {
|
|
30
|
+
type: PropType<number>;
|
|
31
|
+
required: true;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
current: {
|
|
35
|
+
type: PropType<number>;
|
|
36
|
+
required: true;
|
|
37
|
+
default: number;
|
|
38
|
+
};
|
|
39
|
+
}>>, {
|
|
40
|
+
min: number;
|
|
41
|
+
max: number;
|
|
42
|
+
current: number;
|
|
43
|
+
}, {}>;
|
|
44
|
+
export default deprecatedDefault;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/ui-progress/index.ts"],"sourcesContent":["import UiProgress from \"./ui-progress.vue\";\n\nexport { UiProgress };\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiProgress;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiProgress"],"mappings":";AAOA,MAAMA,IAAoBC;"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
min: number;
|
|
4
|
+
max: number;
|
|
5
|
+
current: number;
|
|
6
|
+
}>, {
|
|
7
|
+
min: number;
|
|
8
|
+
max: number;
|
|
9
|
+
current: number;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
+
min: number;
|
|
12
|
+
max: number;
|
|
13
|
+
current: number;
|
|
14
|
+
}>, {
|
|
15
|
+
min: number;
|
|
16
|
+
max: number;
|
|
17
|
+
current: number;
|
|
18
|
+
}>>>, {
|
|
19
|
+
min: number;
|
|
20
|
+
max: number;
|
|
21
|
+
current: number;
|
|
22
|
+
}, {}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { defineComponent as o, computed as n, openBlock as s, createElementBlock as a, createElementVNode as t, normalizeStyle as i } from "vue";
|
|
2
|
+
const u = { class: "ui-progress" }, d = { class: "relative h-xs w-full overflow-hidden rounded-lg bg-primary-200" }, f = /* @__PURE__ */ o({
|
|
3
|
+
__name: "ui-progress",
|
|
4
|
+
props: {
|
|
5
|
+
min: { default: 0 },
|
|
6
|
+
max: { default: 100 },
|
|
7
|
+
current: { default: 0 }
|
|
8
|
+
},
|
|
9
|
+
setup(r) {
|
|
10
|
+
const e = r, l = n(() => (e.current - e.min) / (e.max - e.min) * 100);
|
|
11
|
+
return (c, m) => (s(), a("div", u, [
|
|
12
|
+
t("div", d, [
|
|
13
|
+
t("div", {
|
|
14
|
+
class: "ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-lg bg-primary-alt-700 transition-all duration-300",
|
|
15
|
+
style: i({
|
|
16
|
+
width: l.value + "%"
|
|
17
|
+
})
|
|
18
|
+
}, null, 4)
|
|
19
|
+
])
|
|
20
|
+
]));
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
export {
|
|
24
|
+
f as default
|
|
25
|
+
};
|
|
26
|
+
//# sourceMappingURL=ui-progress.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-progress.vue.js","sources":["../../../src/components/ui-progress/ui-progress.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-progress\">\n\t\t<div\n\t\t\tclass=\"relative h-xs w-full overflow-hidden rounded-lg bg-primary-200\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-progress__bar-fill\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-0\n\t\t\t\t\ttop-0\n\t\t\t\t\tz-10\n\t\t\t\t\th-full\n\t\t\t\t\trounded-lg\n\t\t\t\t\tbg-primary-alt-700\n\t\t\t\t\ttransition-all\n\t\t\t\t\tduration-300\n\t\t\t\t\"\n\t\t\t\t:style=\"{\n\t\t\t\t\twidth: filler + '%'\n\t\t\t\t}\"\n\t\t\t/>\n\t\t</div>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmin: number\n\t\tmax: number\n\t\tcurrent: number\n\t}>(),{\n\t\tmin: 0,\n\t\tmax: 100,\n\t\tcurrent: 0\n\t});\n\n\tconst filler = computed(() => {\n\t\treturn ((props.current - props.min) / (props.max - props.min)) * 100;\n\t});\n</script>\n"],"names":["props","__props","filler","computed"],"mappings":";;;;;;;;;AA6BC,UAAMA,IAAQC,GAURC,IAASC,EAAS,OACdH,EAAM,UAAUA,EAAM,QAAQA,EAAM,MAAMA,EAAM,OAAQ,GACjE;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-progress.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { EJustify } from '../../types';
|
|
2
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
3
|
+
import UiRadio from "./ui-radio.vue";
|
|
4
|
+
export { UiRadio };
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
7
|
+
*/
|
|
8
|
+
declare const deprecatedDefault: {
|
|
9
|
+
new (...args: any[]): {
|
|
10
|
+
$: ComponentInternalInstance;
|
|
11
|
+
$data: {};
|
|
12
|
+
$props: Partial<{}> & Omit<{
|
|
13
|
+
readonly modelValue: string | number | boolean;
|
|
14
|
+
readonly value: string;
|
|
15
|
+
readonly name: string | number | boolean;
|
|
16
|
+
readonly disabled?: boolean | undefined;
|
|
17
|
+
readonly invertOrder?: boolean | undefined;
|
|
18
|
+
readonly justify?: EJustify | undefined;
|
|
19
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
20
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
21
|
+
modelValue: {
|
|
22
|
+
type: PropType<string | number | boolean>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
name: {
|
|
26
|
+
type: PropType<string | number | boolean>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
value: {
|
|
30
|
+
type: PropType<string>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
justify: {
|
|
34
|
+
type: PropType<EJustify>;
|
|
35
|
+
};
|
|
36
|
+
invertOrder: {
|
|
37
|
+
type: PropType<boolean>;
|
|
38
|
+
};
|
|
39
|
+
disabled: {
|
|
40
|
+
type: PropType<boolean>;
|
|
41
|
+
};
|
|
42
|
+
}>> & {
|
|
43
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
44
|
+
}, never>;
|
|
45
|
+
$attrs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$refs: {
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: Slot<any> | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
55
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
56
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
57
|
+
$el: any;
|
|
58
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
59
|
+
modelValue: {
|
|
60
|
+
type: PropType<string | number | boolean>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
name: {
|
|
64
|
+
type: PropType<string | number | boolean>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
value: {
|
|
68
|
+
type: PropType<string>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
justify: {
|
|
72
|
+
type: PropType<EJustify>;
|
|
73
|
+
};
|
|
74
|
+
invertOrder: {
|
|
75
|
+
type: PropType<boolean>;
|
|
76
|
+
};
|
|
77
|
+
disabled: {
|
|
78
|
+
type: PropType<boolean>;
|
|
79
|
+
};
|
|
80
|
+
}>> & {
|
|
81
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
83
|
+
"update:modelValue": (...args: any[]) => void;
|
|
84
|
+
}, string, {}, {}, string, {}> & {
|
|
85
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
86
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
87
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
88
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
89
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
90
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
94
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
95
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
96
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
97
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
98
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
99
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
100
|
+
};
|
|
101
|
+
$forceUpdate: () => void;
|
|
102
|
+
$nextTick: typeof nextTick;
|
|
103
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
104
|
+
} & Readonly<ExtractPropTypes<{
|
|
105
|
+
modelValue: {
|
|
106
|
+
type: PropType<string | number | boolean>;
|
|
107
|
+
required: true;
|
|
108
|
+
};
|
|
109
|
+
name: {
|
|
110
|
+
type: PropType<string | number | boolean>;
|
|
111
|
+
required: true;
|
|
112
|
+
};
|
|
113
|
+
value: {
|
|
114
|
+
type: PropType<string>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
justify: {
|
|
118
|
+
type: PropType<EJustify>;
|
|
119
|
+
};
|
|
120
|
+
invertOrder: {
|
|
121
|
+
type: PropType<boolean>;
|
|
122
|
+
};
|
|
123
|
+
disabled: {
|
|
124
|
+
type: PropType<boolean>;
|
|
125
|
+
};
|
|
126
|
+
}>> & {
|
|
127
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
128
|
+
} & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
129
|
+
__isFragment?: undefined;
|
|
130
|
+
__isTeleport?: undefined;
|
|
131
|
+
__isSuspense?: undefined;
|
|
132
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
133
|
+
modelValue: {
|
|
134
|
+
type: PropType<string | number | boolean>;
|
|
135
|
+
required: true;
|
|
136
|
+
};
|
|
137
|
+
name: {
|
|
138
|
+
type: PropType<string | number | boolean>;
|
|
139
|
+
required: true;
|
|
140
|
+
};
|
|
141
|
+
value: {
|
|
142
|
+
type: PropType<string>;
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
justify: {
|
|
146
|
+
type: PropType<EJustify>;
|
|
147
|
+
};
|
|
148
|
+
invertOrder: {
|
|
149
|
+
type: PropType<boolean>;
|
|
150
|
+
};
|
|
151
|
+
disabled: {
|
|
152
|
+
type: PropType<boolean>;
|
|
153
|
+
};
|
|
154
|
+
}>> & {
|
|
155
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
156
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
157
|
+
"update:modelValue": (...args: any[]) => void;
|
|
158
|
+
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
159
|
+
$slots: {
|
|
160
|
+
default?(_: {}): any;
|
|
161
|
+
};
|
|
162
|
+
});
|
|
163
|
+
export default deprecatedDefault;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/ui-radio/index.ts"],"sourcesContent":["import UiRadio from \"./ui-radio.vue\";\n\nexport { UiRadio };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiRadio;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiRadio"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import { EJustify } from "../../_types/align";
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
4
|
+
modelValue: string | number | boolean;
|
|
5
|
+
name: string | number | boolean;
|
|
6
|
+
value: string;
|
|
7
|
+
justify?: EJustify | undefined;
|
|
8
|
+
invertOrder?: boolean | undefined;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
11
|
+
"update:modelValue": (...args: any[]) => void;
|
|
12
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
+
modelValue: string | number | boolean;
|
|
14
|
+
name: string | number | boolean;
|
|
15
|
+
value: string;
|
|
16
|
+
justify?: EJustify | undefined;
|
|
17
|
+
invertOrder?: boolean | undefined;
|
|
18
|
+
disabled?: boolean | undefined;
|
|
19
|
+
}>>> & {
|
|
20
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
21
|
+
}, {}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(".ui-radio__dot[data-v-3212099e]{transform:translate3d(-50%,-50%,0) scale(0);transition:transform .2s ease-in-out}input:checked+.ui-radio_custom .ui-radio__dot[data-v-3212099e]{transform:translate3d(-50%,-50%,0) scale(1)}input:checked+.ui-radio_custom:hover .ui-radio__dot[data-v-3212099e]{background-color:var(--color-primary-600)}input:checked:disabled+.ui-radio_custom[data-v-3212099e]{border:2px solid var(--color-primary-300)}input:checked:disabled+.ui-radio_custom .ui-radio__dot[data-v-3212099e]{background-color:var(--color-primary-300)}")),document.head.appendChild(a)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
|
+
import o from "./ui-radio.vue2.js";
|
|
3
|
+
|
|
4
|
+
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3212099e"]]);
|
|
6
|
+
export {
|
|
7
|
+
m as default
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=ui-radio.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-radio.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { defineComponent as y, useSlots as c, computed as f, openBlock as b, createElementBlock as v, normalizeClass as l, unref as o, withDirectives as h, createElementVNode as a, vModelRadio as j, renderSlot as g, pushScopeId as E, popScopeId as S } from "vue";
|
|
2
|
+
import { EJustify as r } from "../../_types/align.js";
|
|
3
|
+
const w = (t) => (E("data-v-3212099e"), t = t(), S(), t), N = ["id", "name", "value", "disabled"], k = /* @__PURE__ */ w(() => /* @__PURE__ */ a("span", { class: "ui-radio__dot absolute left-2/4 top-2/4 block h-xs w-xs rounded-full bg-primary" }, null, -1)), B = [
|
|
4
|
+
k
|
|
5
|
+
], T = /* @__PURE__ */ y({
|
|
6
|
+
__name: "ui-radio",
|
|
7
|
+
props: {
|
|
8
|
+
modelValue: { type: [String, Number, Boolean] },
|
|
9
|
+
name: { type: [String, Number, Boolean] },
|
|
10
|
+
value: {},
|
|
11
|
+
justify: {},
|
|
12
|
+
invertOrder: { type: Boolean },
|
|
13
|
+
disabled: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
emits: ["update:modelValue"],
|
|
16
|
+
setup(t, { emit: i }) {
|
|
17
|
+
const u = c(), n = t, p = i, d = f({
|
|
18
|
+
get() {
|
|
19
|
+
return n.modelValue;
|
|
20
|
+
},
|
|
21
|
+
set(e) {
|
|
22
|
+
p("update:modelValue", e);
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
return (e, s) => (b(), v("label", {
|
|
26
|
+
class: l(["ui-radio group grid cursor-pointer grid-flow-col", [
|
|
27
|
+
o(u).default && "items-center gap-xs",
|
|
28
|
+
(!e.justify || e.justify === o(r).START) && "justify-start",
|
|
29
|
+
e.justify === o(r).END && "justify-end",
|
|
30
|
+
e.justify === o(r).AROUND && "justify-around",
|
|
31
|
+
e.justify === o(r).BETWEEN && "justify-between",
|
|
32
|
+
e.justify === o(r).EVENLY && "justify-evenly",
|
|
33
|
+
e.justify === o(r).CENTER && "justify-center",
|
|
34
|
+
e.disabled && "pointer-events-none"
|
|
35
|
+
]])
|
|
36
|
+
}, [
|
|
37
|
+
h(a("input", {
|
|
38
|
+
id: e.value,
|
|
39
|
+
"onUpdate:modelValue": s[0] || (s[0] = (m) => d.value = m),
|
|
40
|
+
type: "radio",
|
|
41
|
+
name: e.name.toString(),
|
|
42
|
+
value: e.value,
|
|
43
|
+
disabled: e.disabled,
|
|
44
|
+
class: "peer absolute appearance-none"
|
|
45
|
+
}, null, 8, N), [
|
|
46
|
+
[j, d.value]
|
|
47
|
+
]),
|
|
48
|
+
a("span", {
|
|
49
|
+
class: l(["ui-radio_custom relative block h-md w-md rounded-full border border-secondary-alt bg-white group-hover:border-secondary-alt-700 group-focus:border-secondary-alt-700 peer-checked:border-2 peer-checked:border-primary peer-checked:hover:border-primary-600 peer-focus:shadow-border-primary peer-disabled:border-secondary-alt-400 peer-disabled:bg-secondary-alt-200", e.invertOrder && "order-last"])
|
|
50
|
+
}, B, 2),
|
|
51
|
+
g(e.$slots, "default", {}, void 0, !0)
|
|
52
|
+
], 2));
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
export {
|
|
56
|
+
T as default
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=ui-radio.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ui-radio.vue2.js","sources":["../../../src/components/ui-radio/ui-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio group grid cursor-pointer grid-flow-col\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-xs',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'pointer-events-none',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\t:id=\"value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name.toString()\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-radio_custom\n\t\t\t\trelative\n\t\t\t\tblock\n\t\t\t\th-md\n\t\t\t\tw-md\n\t\t\t\trounded-full\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt\n\t\t\t\tbg-white\n\t\t\t\tgroup-hover:border-secondary-alt-700\n\t\t\t\tgroup-focus:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-2\n\t\t\t\tpeer-checked:border-primary\n\t\t\t\tpeer-checked:hover:border-primary-600\n\t\t\t\tpeer-focus:shadow-border-primary\n\t\t\t\tpeer-disabled:border-secondary-alt-400\n\t\t\t\tpeer-disabled:bg-secondary-alt-200\"\n\t\t\t:class=\"invertOrder && 'order-last'\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"\n\t\t\t\t\t\tui-radio__dot\n\t\t\t\t\t\tabsolute\n\t\t\t\t\t\tleft-2/4\n\t\t\t\t\t\ttop-2/4\n\t\t\t\t\t\tblock\n\t\t\t\t\t\th-xs\n\t\t\t\t\t\tw-xs\n\t\t\t\t\t\trounded-full\n\t\t\t\t\t\tbg-primary\"\n\t\t\t/>\n\t\t</span>\n\t\t<slot />\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EJustify } from \"../../_types/align\";\n\tconst slots = useSlots();\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string | number | boolean;\n\t\tvalue: string;\n\t\tjustify?: EJustify;\n\t\tinvertOrder?: boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\tinput:checked + .ui-radio_custom .ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(1);\n\t}\n\n\tinput:checked + .ui-radio_custom:hover .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-600);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom {\n\t\tborder: 2px solid var(--color-primary-300);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["slots","useSlots","props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;AAgEC,UAAMA,IAAQC,KACRC,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties } from 'vue';
|
|
2
|
+
import UiRadioCompact from "./ui-radio-compact.vue";
|
|
3
|
+
export { UiRadioCompact };
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
|
+
*/
|
|
7
|
+
declare const deprecatedDefault: {
|
|
8
|
+
new (...args: any[]): {
|
|
9
|
+
$: ComponentInternalInstance;
|
|
10
|
+
$data: {};
|
|
11
|
+
$props: Partial<{}> & Omit<{
|
|
12
|
+
readonly modelValue: string | number | boolean;
|
|
13
|
+
readonly value: string | number | boolean;
|
|
14
|
+
readonly name: string;
|
|
15
|
+
readonly disabled?: boolean | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
17
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly<ExtractPropTypes<{
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<string | number | boolean>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
name: {
|
|
23
|
+
type: PropType<string>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
value: {
|
|
27
|
+
type: PropType<string | number | boolean>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
disabled: {
|
|
31
|
+
type: PropType<boolean>;
|
|
32
|
+
};
|
|
33
|
+
}>> & {
|
|
34
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}, never>;
|
|
36
|
+
$attrs: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
};
|
|
39
|
+
$refs: {
|
|
40
|
+
[x: string]: unknown;
|
|
41
|
+
};
|
|
42
|
+
$slots: Readonly<{
|
|
43
|
+
[name: string]: Slot<any> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
46
|
+
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
47
|
+
$emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
48
|
+
$el: any;
|
|
49
|
+
$options: ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
50
|
+
modelValue: {
|
|
51
|
+
type: PropType<string | number | boolean>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
name: {
|
|
55
|
+
type: PropType<string>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
value: {
|
|
59
|
+
type: PropType<string | number | boolean>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
type: PropType<boolean>;
|
|
64
|
+
};
|
|
65
|
+
}>> & {
|
|
66
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
67
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
68
|
+
"update:modelValue": (...args: any[]) => void;
|
|
69
|
+
}, string, {}, {}, string, {}> & {
|
|
70
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
71
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
72
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
73
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
74
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
75
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
76
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
77
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
78
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
79
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
80
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
81
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
82
|
+
renderTracked?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
83
|
+
renderTriggered?: (((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[]) | undefined;
|
|
84
|
+
errorCaptured?: (((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
85
|
+
};
|
|
86
|
+
$forceUpdate: () => void;
|
|
87
|
+
$nextTick: typeof nextTick;
|
|
88
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
89
|
+
} & Readonly<ExtractPropTypes<{
|
|
90
|
+
modelValue: {
|
|
91
|
+
type: PropType<string | number | boolean>;
|
|
92
|
+
required: true;
|
|
93
|
+
};
|
|
94
|
+
name: {
|
|
95
|
+
type: PropType<string>;
|
|
96
|
+
required: true;
|
|
97
|
+
};
|
|
98
|
+
value: {
|
|
99
|
+
type: PropType<string | number | boolean>;
|
|
100
|
+
required: true;
|
|
101
|
+
};
|
|
102
|
+
disabled: {
|
|
103
|
+
type: PropType<boolean>;
|
|
104
|
+
};
|
|
105
|
+
}>> & {
|
|
106
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
|
+
} & ShallowUnwrapRef<{}> & {} & ComponentCustomProperties & {};
|
|
108
|
+
__isFragment?: undefined;
|
|
109
|
+
__isTeleport?: undefined;
|
|
110
|
+
__isSuspense?: undefined;
|
|
111
|
+
} & ComponentOptionsBase<Readonly<ExtractPropTypes<{
|
|
112
|
+
modelValue: {
|
|
113
|
+
type: PropType<string | number | boolean>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
name: {
|
|
117
|
+
type: PropType<string>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
value: {
|
|
121
|
+
type: PropType<string | number | boolean>;
|
|
122
|
+
required: true;
|
|
123
|
+
};
|
|
124
|
+
disabled: {
|
|
125
|
+
type: PropType<boolean>;
|
|
126
|
+
};
|
|
127
|
+
}>> & {
|
|
128
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
129
|
+
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
130
|
+
"update:modelValue": (...args: any[]) => void;
|
|
131
|
+
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
132
|
+
$slots: {
|
|
133
|
+
default?(_: {}): any;
|
|
134
|
+
};
|
|
135
|
+
});
|
|
136
|
+
export default deprecatedDefault;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/ui-radio-compact/index.ts"],"sourcesContent":["import UiRadioCompact from \"./ui-radio-compact.vue\";\n\nexport { UiRadioCompact };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiRadioCompact;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiRadioCompact"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
modelValue: string | number | boolean;
|
|
4
|
+
name: string;
|
|
5
|
+
value: string | number | boolean;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
+
modelValue: string | number | boolean;
|
|
11
|
+
name: string;
|
|
12
|
+
value: string | number | boolean;
|
|
13
|
+
disabled?: boolean | undefined;
|
|
14
|
+
}>>> & {
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}, {}, {}>, {
|
|
17
|
+
default?(_: {}): any;
|
|
18
|
+
}>;
|
|
19
|
+
export default _default;
|
|
20
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
21
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
22
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
23
|
+
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
24
|
+
} : {
|
|
25
|
+
type: PropType<T[K]>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|