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
package/tsconfig.json
CHANGED
|
@@ -1,39 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
],
|
|
7
|
-
"target": "esnext",
|
|
8
|
-
"module": "esnext",
|
|
3
|
+
|
|
4
|
+
"target": "ES2020",
|
|
5
|
+
"module": "ESNext",
|
|
9
6
|
"strict": true,
|
|
10
|
-
|
|
7
|
+
|
|
8
|
+
"declaration": true,
|
|
11
9
|
"useDefineForClassFields": true,
|
|
12
|
-
"jsx": "preserve",
|
|
13
10
|
"noImplicitThis": true,
|
|
14
|
-
"isolatedModules": true,
|
|
15
11
|
"importHelpers": true,
|
|
16
|
-
"moduleResolution": "node",
|
|
17
12
|
"skipLibCheck": true,
|
|
18
|
-
"esModuleInterop": true,
|
|
19
13
|
"forceConsistentCasingInFileNames": true,
|
|
20
|
-
"allowSyntheticDefaultImports": true,
|
|
21
|
-
"sourceMap": true,
|
|
22
14
|
"baseUrl": ".",
|
|
15
|
+
"paths": {
|
|
16
|
+
"@/*": ["src/*"],
|
|
17
|
+
},
|
|
23
18
|
"lib": [
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
]
|
|
19
|
+
"ESNext",
|
|
20
|
+
"DOM",
|
|
21
|
+
"DOM.Iterable",
|
|
22
|
+
],
|
|
23
|
+
|
|
24
|
+
"outDir": "dist",
|
|
25
|
+
"preserveConstEnums": true,
|
|
26
|
+
|
|
27
|
+
"typeRoots": ["./dist/index.d.ts", "./node_modules/@types"],
|
|
28
|
+
|
|
29
|
+
/* Bun Settings */
|
|
30
|
+
"moduleResolution": "node",
|
|
31
|
+
"noEmit": true,
|
|
32
|
+
"allowImportingTsExtensions": true,
|
|
33
|
+
"moduleDetection": "force",
|
|
34
|
+
|
|
35
|
+
"resolveJsonModule": true,
|
|
36
|
+
"isolatedModules": true,
|
|
37
|
+
"jsx": "preserve",
|
|
28
38
|
},
|
|
29
39
|
"include": [
|
|
30
40
|
"src/**/*.ts",
|
|
41
|
+
"src/**/*.d.ts",
|
|
31
42
|
"src/**/*.tsx",
|
|
32
|
-
"src/**/*.vue"
|
|
43
|
+
"src/**/*.vue",
|
|
33
44
|
],
|
|
34
45
|
"exclude": [
|
|
35
46
|
"node_modules",
|
|
36
|
-
"
|
|
47
|
+
"./src/**/*.stories.*",
|
|
48
|
+
"./src/stories"
|
|
49
|
+
|
|
37
50
|
],
|
|
38
51
|
"references": [
|
|
39
52
|
{
|
package/tsconfig.node.json
CHANGED
package/types.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type { TIconName } from "./components/ui-icon";
|
|
2
|
+
export { EDropdownKinds } from "./components/ui-dropdown";
|
|
3
|
+
export { EIconType } from "./components/ui-icon";
|
|
4
|
+
export { EAlertTypes } from "./components/ui-alert";
|
|
5
|
+
export { EBadgeKind, EBadgeSize } from "./components/ui-badge";
|
|
6
|
+
export { EBerSize } from "./components/ui-ber-rank";
|
|
7
|
+
export { EButtonSizes, EButtonTypes } from "./components/ui-button";
|
|
8
|
+
export { ERadioSizes } from "./components/ui-radio-fancy/_typings";
|
|
9
|
+
export { ESkeletonKind } from "./components/ui-skeleton/_typings";
|
|
10
|
+
export { EIconWrapperTypes, EIconWrapperSizes } from "./components/ui-icon-wrapper";
|
|
11
|
+
export { EInputType, EInputKinds, EAutocomplete } from "./components/ui-input";
|
|
12
|
+
export { EListItemTypes, EListItemSpacing, EListItemSize } from "./components/ui-list-item";
|
|
13
|
+
export { EModalSizes } from "./components/ui-modal";
|
|
14
|
+
export { EBadgeOrigin } from "./components/ui-notification-badge";
|
|
15
|
+
export { ESnackbarTypes } from "./components/ui-snackbar";
|
|
16
|
+
export { ETableKind, ERowKind } from "./components/ui-table";
|
|
17
|
+
export { ETypographySizes, ETextWeight, ETextAlign, ETextTransform } from "./components/ui-typography";
|
|
18
|
+
export { EJustify } from "./_types/align";
|
|
19
|
+
export { EColors } from "./_types/colors";
|
|
20
|
+
export { ESize } from "./_types/sizing";
|
package/types.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.appendChild(document.createTextNode(`.ui-ber-rank__icon_medium{height:60px}.ui-ber-rank__icon_small{height:30px}
|
|
2
|
+
.icon-wrapper_offset-md[data-v-91a2ab37] .notification-badge{top:4px;right:4px}.icon-wrapper_offset-lg[data-v-91a2ab37] .notification-badge{top:8px;right:8px}
|
|
3
|
+
.max-height[data-v-f3e5c3af]{max-height:calc(100vh - var(--md))}.max-width[data-v-f3e5c3af]{max-width:calc(100vw - var(--md))}
|
|
4
|
+
.notification-badge{padding:2px}
|
|
5
|
+
.ui-table__secondary[data-v-fa615ea7] tr:nth-child(odd){background-color:var(--color-secondary-alt-200)}.ui-table__secondary-inverted[data-v-fa615ea7] tr:nth-child(2n){background-color:var(--color-secondary-alt-200)}
|
|
6
|
+
.ui-table-row[data-v-97952db0] td:first-child{border-top-left-radius:var(--xs);border-bottom-left-radius:var(--xs);text-align:left}.ui-table-row[data-v-97952db0] td:last-child{border-top-right-radius:var(--xs);border-bottom-right-radius:var(--xs);text-align:right}`)),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
7
|
+
import "./components/ui-dropdown/ui-dropdown.vue.js";
|
|
8
|
+
import { EDropdownKinds as l } from "./components/ui-dropdown/_typings.js";
|
|
9
|
+
import "./components/ui-icon/ui-icon.vue.js";
|
|
10
|
+
import { ESize as u } from "./_types/sizing.js";
|
|
11
|
+
import { EIconType as K } from "./components/ui-icon/_typings.js";
|
|
12
|
+
import "vue";
|
|
13
|
+
import { ETextAlign as L, ETextTransform as W, ETextWeight as b, ETypographySizes as h } from "./components/ui-typography/_typings.js";
|
|
14
|
+
import { EColors as w } from "./_types/colors.js";
|
|
15
|
+
import { EAlertTypes as C } from "./components/ui-alert/_types.js";
|
|
16
|
+
import { EBadgeKind as J, EBadgeSize as M } from "./components/ui-badge/_typings.js";
|
|
17
|
+
import "./components/ui-ber-rank/ui-ber-rank.vue.js";
|
|
18
|
+
|
|
19
|
+
import { EBerSize as j } from "./components/ui-ber-rank/_types.js";
|
|
20
|
+
import "./components/ui-button/ui-button.vue.js";
|
|
21
|
+
import { EButtonSizes as v, EButtonTypes as F } from "./components/ui-button/_typings.js";
|
|
22
|
+
import { ERadioSizes as H } from "./components/ui-radio-fancy/_typings.js";
|
|
23
|
+
import { ESkeletonKind as P } from "./components/ui-skeleton/_typings.js";
|
|
24
|
+
import "./components/ui-icon-wrapper/ui-icon-wrapper.vue2.js";
|
|
25
|
+
/* empty css */
|
|
26
|
+
import { EIconWrapperSizes as U, EIconWrapperTypes as V } from "./components/ui-icon-wrapper/_typings.js";
|
|
27
|
+
import "./components/ui-input/ui-input.vue.js";
|
|
28
|
+
import { EAutocomplete as Y, EInputKinds as Z, EInputType as _ } from "./components/ui-input/_typings.js";
|
|
29
|
+
import "./components/ui-list-item/ui-list-item.vue.js";
|
|
30
|
+
import { EListItemSize as oo, EListItemSpacing as ro, EListItemTypes as to } from "./components/ui-list-item/_types.js";
|
|
31
|
+
import "./components/ui-modal/ui-modal.vue2.js";
|
|
32
|
+
/* empty css */
|
|
33
|
+
import { EModalSizes as eo } from "./components/ui-modal/_typings.js";
|
|
34
|
+
import "./components/ui-notification-badge/ui-notification-badge.vue.js";
|
|
35
|
+
/* empty css */
|
|
36
|
+
import { EBadgeOrigin as mo } from "./components/ui-notification-badge/_types.js";
|
|
37
|
+
import "./components/ui-snackbar/ui-snackbar.vue.js";
|
|
38
|
+
import { ESnackbarTypes as xo } from "./components/ui-snackbar/_types.js";
|
|
39
|
+
import "./components/ui-table/ui-table.vue2.js";
|
|
40
|
+
/* empty css */
|
|
41
|
+
import { ERowKind as no } from "./components/ui-table/ui-table-row/_typings.js";
|
|
42
|
+
/* empty css */
|
|
43
|
+
import { ETableKind as ao } from "./components/ui-table/_types.js";
|
|
44
|
+
import { EJustify as So } from "./_types/align.js";
|
|
45
|
+
export {
|
|
46
|
+
C as EAlertTypes,
|
|
47
|
+
Y as EAutocomplete,
|
|
48
|
+
J as EBadgeKind,
|
|
49
|
+
mo as EBadgeOrigin,
|
|
50
|
+
M as EBadgeSize,
|
|
51
|
+
j as EBerSize,
|
|
52
|
+
v as EButtonSizes,
|
|
53
|
+
F as EButtonTypes,
|
|
54
|
+
w as EColors,
|
|
55
|
+
l as EDropdownKinds,
|
|
56
|
+
K as EIconType,
|
|
57
|
+
U as EIconWrapperSizes,
|
|
58
|
+
V as EIconWrapperTypes,
|
|
59
|
+
Z as EInputKinds,
|
|
60
|
+
_ as EInputType,
|
|
61
|
+
So as EJustify,
|
|
62
|
+
oo as EListItemSize,
|
|
63
|
+
ro as EListItemSpacing,
|
|
64
|
+
to as EListItemTypes,
|
|
65
|
+
eo as EModalSizes,
|
|
66
|
+
H as ERadioSizes,
|
|
67
|
+
no as ERowKind,
|
|
68
|
+
u as ESize,
|
|
69
|
+
P as ESkeletonKind,
|
|
70
|
+
xo as ESnackbarTypes,
|
|
71
|
+
ao as ETableKind,
|
|
72
|
+
L as ETextAlign,
|
|
73
|
+
W as ETextTransform,
|
|
74
|
+
b as ETextWeight,
|
|
75
|
+
h as ETypographySizes
|
|
76
|
+
};
|
|
77
|
+
//# sourceMappingURL=types.js.map
|
package/types.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/.editorconfig
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
# http://editorconfig.org
|
|
2
|
-
root = true
|
|
3
|
-
|
|
4
|
-
[*]
|
|
5
|
-
indent_style = tab
|
|
6
|
-
indent_size = tab
|
|
7
|
-
tab_width = 4
|
|
8
|
-
end_of_line = lf
|
|
9
|
-
charset = utf-8
|
|
10
|
-
trim_trailing_whitespace = true
|
|
11
|
-
insert_final_newline = true
|
|
12
|
-
|
|
13
|
-
[*.md]
|
|
14
|
-
trim_trailing_whitespace = false
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
name: Deploy beta
|
|
2
|
-
# site:
|
|
3
|
-
# use_directory_urls: false
|
|
4
|
-
# siteUrl: https://bonkers-ie.github.io/bonkers-ui/
|
|
5
|
-
# site_url: https://bonkers-ie.github.io/bonkers-ui/
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- develop
|
|
10
|
-
jobs:
|
|
11
|
-
lint:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
node-version: [16.x]
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3
|
|
18
|
-
- uses: actions/setup-node@v3
|
|
19
|
-
with:
|
|
20
|
-
node-version: ${{ matrix.node-version }}
|
|
21
|
-
- run: yarn install --frozen-lockfile
|
|
22
|
-
- run: yarn lint:script
|
|
23
|
-
- run: yarn lint:style
|
|
24
|
-
- run: yarn test
|
|
25
|
-
- run: yarn build-storybook
|
|
26
|
-
- name: Deploy
|
|
27
|
-
uses: peaceiris/actions-gh-pages@v3
|
|
28
|
-
with:
|
|
29
|
-
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
30
|
-
publish_dir: ./storybook-static
|
|
31
|
-
cname: https://bonkers-ie.github.io/bonkers-ui/
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Deploy
|
|
2
|
-
# site:
|
|
3
|
-
# use_directory_urls: false
|
|
4
|
-
# siteUrl: https://bonkers-ie.github.io/bonkers-ui/
|
|
5
|
-
# site_url: https://bonkers-ie.github.io/bonkers-ui/
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches:
|
|
9
|
-
- master
|
|
10
|
-
jobs:
|
|
11
|
-
lint:
|
|
12
|
-
runs-on: ubuntu-latest
|
|
13
|
-
strategy:
|
|
14
|
-
matrix:
|
|
15
|
-
node-version: [16.x]
|
|
16
|
-
steps:
|
|
17
|
-
- uses: actions/checkout@v3
|
|
18
|
-
- uses: actions/setup-node@v3
|
|
19
|
-
with:
|
|
20
|
-
node-version: ${{ matrix.node-version }}
|
|
21
|
-
- run: yarn install --frozen-lockfile
|
|
22
|
-
- run: yarn lint:script
|
|
23
|
-
- run: yarn lint:style
|
|
24
|
-
- run: yarn test
|
|
25
|
-
- run: node publish.js
|
|
26
|
-
env:
|
|
27
|
-
GITHUB_TOKEN: ${{ secrets.PERSONAL_SECRET_TOKEN }}
|
|
28
|
-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Linting
|
|
2
|
-
# site:
|
|
3
|
-
# use_directory_urls: false
|
|
4
|
-
# siteUrl: https://bonkers-ie.github.io/bonkers-ui/
|
|
5
|
-
# site_url: https://bonkers-ie.github.io/bonkers-ui/
|
|
6
|
-
on:
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- develop
|
|
10
|
-
- master
|
|
11
|
-
jobs:
|
|
12
|
-
lint:
|
|
13
|
-
runs-on: ubuntu-latest
|
|
14
|
-
strategy:
|
|
15
|
-
matrix:
|
|
16
|
-
node-version: [16.x]
|
|
17
|
-
env:
|
|
18
|
-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
19
|
-
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
|
|
20
|
-
steps:
|
|
21
|
-
- uses: actions/checkout@v3
|
|
22
|
-
- uses: actions/setup-node@v3
|
|
23
|
-
with:
|
|
24
|
-
node-version: ${{ matrix.node-version }}
|
|
25
|
-
- run: yarn install --frozen-lockfile
|
|
26
|
-
- run: yarn lint:script
|
|
27
|
-
- run: yarn lint:style
|
|
28
|
-
- run: yarn test
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { create } from '@storybook/theming/create';
|
|
2
|
-
|
|
3
|
-
export default create({
|
|
4
|
-
base: 'light',
|
|
5
|
-
colorPrimary: '#56c55d',
|
|
6
|
-
colorSecondary: 'rgba(86, 197, 93, 0.9)',
|
|
7
|
-
|
|
8
|
-
// UI
|
|
9
|
-
appBg: 'white',
|
|
10
|
-
appContentBg: 'white',
|
|
11
|
-
appBorderColor: 'silver',
|
|
12
|
-
appBorderRadius: 4,
|
|
13
|
-
|
|
14
|
-
// Text colors
|
|
15
|
-
textColor: 'black',
|
|
16
|
-
textInverseColor: 'rgba(255,255,255,0.9)',
|
|
17
|
-
|
|
18
|
-
// Toolbar default and active colors
|
|
19
|
-
barTextColor: 'silver',
|
|
20
|
-
barSelectedColor: '#56c55d',
|
|
21
|
-
barBg: 'white',
|
|
22
|
-
|
|
23
|
-
// Form colors
|
|
24
|
-
inputBg: 'white',
|
|
25
|
-
inputBorder: 'silver',
|
|
26
|
-
inputTextColor: 'black',
|
|
27
|
-
inputBorderRadius: 4,
|
|
28
|
-
|
|
29
|
-
brandTitle: 'Bonkers-UI Design System',
|
|
30
|
-
brandUrl: 'https://github.com/bonkers-ie/bonkers-ui',
|
|
31
|
-
brandImage: 'https://web-assets.bonkers.ie/packs/static/logo/bonkers_logo-279f0cff5a9b71e3059a.svg',
|
|
32
|
-
});
|
package/.storybook/main.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
const { mergeConfig } = require('vite');
|
|
2
|
-
|
|
3
|
-
module.exports = {
|
|
4
|
-
"stories": [
|
|
5
|
-
"../src/**/*.stories.mdx",
|
|
6
|
-
"../src/**/*.stories.@(js|jsx|ts|tsx)"
|
|
7
|
-
],
|
|
8
|
-
"addons": [
|
|
9
|
-
"@storybook/addon-links",
|
|
10
|
-
"@storybook/addon-essentials",
|
|
11
|
-
"@storybook/addon-mdx-gfm",
|
|
12
|
-
],
|
|
13
|
-
framework: {
|
|
14
|
-
name: "@storybook/vue3-vite",
|
|
15
|
-
options: {}
|
|
16
|
-
},
|
|
17
|
-
core: {
|
|
18
|
-
builder: '@storybook/builder-vite', // or '@storybook/builder-webpack5'
|
|
19
|
-
disableTelemetry: true,
|
|
20
|
-
},
|
|
21
|
-
async viteFinal(config, {}) {
|
|
22
|
-
return mergeConfig(config, {
|
|
23
|
-
base: "https://bonkers-ie.github.io/bonkers-ui/",
|
|
24
|
-
});
|
|
25
|
-
},
|
|
26
|
-
docs: {
|
|
27
|
-
autodocs: true
|
|
28
|
-
}
|
|
29
|
-
};
|
package/.storybook/manager.js
DELETED
package/.storybook/preview.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { setup } from '@storybook/vue3'
|
|
2
|
-
import { createRouter, createWebHashHistory } from 'vue-router'
|
|
3
|
-
/* import the fontawesome core */
|
|
4
|
-
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
5
|
-
|
|
6
|
-
/* import font awesome icon component */
|
|
7
|
-
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
|
8
|
-
|
|
9
|
-
/* import specific icons */
|
|
10
|
-
import { faFaceSmile, faCircleCheck } from '@fortawesome/free-regular-svg-icons';
|
|
11
|
-
|
|
12
|
-
/* add icons to the library */
|
|
13
|
-
library.add(faFaceSmile, faCircleCheck);
|
|
14
|
-
|
|
15
|
-
import '../src/main.css';
|
|
16
|
-
|
|
17
|
-
const router = createRouter({
|
|
18
|
-
history: createWebHashHistory(),
|
|
19
|
-
routes: [],
|
|
20
|
-
})
|
|
21
|
-
|
|
22
|
-
setup((app) => {
|
|
23
|
-
app.use(router)
|
|
24
|
-
app.component('font-awesome-icon', FontAwesomeIcon)
|
|
25
|
-
})
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
export const parameters = {
|
|
29
|
-
darkMode: false,
|
|
30
|
-
stylePreview: true,
|
|
31
|
-
actions: { argTypesRegex: "^on[A-Z].*" },
|
|
32
|
-
backgrounds: {
|
|
33
|
-
default: "Bonkers",
|
|
34
|
-
values: [
|
|
35
|
-
{
|
|
36
|
-
name: "Bonkers",
|
|
37
|
-
value: "url(https://web-assets.bonkers.ie/maverick/img/about.0ed347c.png)",
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: "Light",
|
|
41
|
-
value: "#ffffff"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
name: "Dark",
|
|
45
|
-
value: "#202124"
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
},
|
|
49
|
-
layout: "padded",
|
|
50
|
-
controls: {
|
|
51
|
-
matchers: {
|
|
52
|
-
color: /(background|color)$/i,
|
|
53
|
-
date: /Date$/,
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
}
|
package/LICENCE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 bonkers.ie
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/publish.js
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
const fs = require("fs");
|
|
2
|
-
const path = require("path");
|
|
3
|
-
const { execSync } = require("child_process");
|
|
4
|
-
|
|
5
|
-
const DIR_VARIABLE = path.join(process.cwd(), "./");
|
|
6
|
-
const VERSION_TO_UPDATE = "patch";
|
|
7
|
-
|
|
8
|
-
const setVersionToJson = version => {
|
|
9
|
-
const json = JSON.parse(fs.readFileSync(path.join(DIR_VARIABLE, "package.json"), "utf8"));
|
|
10
|
-
|
|
11
|
-
json.version = version;
|
|
12
|
-
|
|
13
|
-
fs.writeFileSync(path.join(DIR_VARIABLE, "package.json"), JSON.stringify(json, null, 4));
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
const run = async () => {
|
|
17
|
-
if (!process.env.NPM_AUTH_TOKEN) throw new Error("Merge-release requires NPM_AUTH_TOKEN");
|
|
18
|
-
|
|
19
|
-
const pkg = require(path.join(DIR_VARIABLE, "package.json"));
|
|
20
|
-
|
|
21
|
-
const currentVersion = execSync(`npm view ${pkg.name} version`, { cwd: DIR_VARIABLE }).toString();
|
|
22
|
-
setVersionToJson(currentVersion);
|
|
23
|
-
|
|
24
|
-
let newVersion = execSync(`npm version --no-git-tag-version ${VERSION_TO_UPDATE}`, { cwd: DIR_VARIABLE }).toString();
|
|
25
|
-
newVersion = newVersion.replace(/(\r\n|\n|\r)/gm, "");
|
|
26
|
-
|
|
27
|
-
setVersionToJson(newVersion);
|
|
28
|
-
|
|
29
|
-
console.log("new version:", newVersion);
|
|
30
|
-
|
|
31
|
-
execSync(`npm set //registry.npmjs.org/:_authToken=${process.env.NPM_AUTH_TOKEN}`);
|
|
32
|
-
execSync(`npm publish --verbose`, DIR_VARIABLE);
|
|
33
|
-
execSync(`git checkout package.json`);
|
|
34
|
-
|
|
35
|
-
execSync(`git tag ${newVersion}`);
|
|
36
|
-
|
|
37
|
-
execSync("git push --tags");
|
|
38
|
-
|
|
39
|
-
};
|
|
40
|
-
|
|
41
|
-
try{
|
|
42
|
-
run();
|
|
43
|
-
}catch(e){
|
|
44
|
-
console.error(e, "<------=");
|
|
45
|
-
}
|
package/src/CONSTANTS.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const ICON_DEFAULT = ["far", "face-smile"];
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
:width="size"
|
|
4
|
-
:height="size"
|
|
5
|
-
:class="classes"
|
|
6
|
-
viewBox="0 0 16 11"
|
|
7
|
-
fill="none"
|
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
9
|
-
>
|
|
10
|
-
<path
|
|
11
|
-
stroke="currentColor"
|
|
12
|
-
d="M15 2.03125L6.5 10.5312C6.375 10.6875 6.1875 10.75 6 10.75C5.78125 10.75 5.59375 10.6875 5.46875 10.5312L0.96875 6.03125C0.65625 5.75 0.65625 5.28125 0.96875 5C1.25 4.6875 1.71875 4.6875 2 5L6 8.96875L13.9688 1C14.25 0.6875 14.7188 0.6875 15 1C15.3125 1.28125 15.3125 1.75 15 2.03125Z"
|
|
13
|
-
/>
|
|
14
|
-
</svg>
|
|
15
|
-
</template>
|
|
16
|
-
|
|
17
|
-
<script lang="ts" setup>
|
|
18
|
-
defineProps<{
|
|
19
|
-
size?: number;
|
|
20
|
-
classes?: string;
|
|
21
|
-
}>();
|
|
22
|
-
</script>
|
package/src/_samples/icon.vue
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
:width="size"
|
|
4
|
-
:height="size"
|
|
5
|
-
viewBox="0 0 100 100"
|
|
6
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
-
fill="currentColor"
|
|
8
|
-
>
|
|
9
|
-
<path
|
|
10
|
-
d="M50 0L60.9065 23.6694L85.3553 14.6447L76.3306 39.0935L100 50L76.3306 60.9065L85.3553 85.3553L60.9065 76.3306L50 100L39.0935 76.3306L14.6447 85.3553L23.6694 60.9065L0 50L23.6694 39.0935L14.6447 14.6447L39.0935 23.6694L50 0Z"
|
|
11
|
-
/>
|
|
12
|
-
</svg>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script lang="ts" setup>
|
|
16
|
-
defineProps<{
|
|
17
|
-
size: number
|
|
18
|
-
}>();
|
|
19
|
-
</script>
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
:root {
|
|
3
|
-
/* colors */
|
|
4
|
-
--color-white: white;
|
|
5
|
-
--color-black: black;
|
|
6
|
-
--color-current: currentcolor;
|
|
7
|
-
--color-transparent: transparent;
|
|
8
|
-
|
|
9
|
-
/* colors/primary */
|
|
10
|
-
--color-primary-50: #ecf8ed;
|
|
11
|
-
--color-primary-100: #d9f2db;
|
|
12
|
-
--color-primary-200: #b3e5b6;
|
|
13
|
-
--color-primary-300: #9adc9e;
|
|
14
|
-
--color-primary-400: #78d17d;
|
|
15
|
-
--color-primary-500: #56c55d;
|
|
16
|
-
--color-primary-600: #459e4a;
|
|
17
|
-
--color-primary-700: #347638;
|
|
18
|
-
--color-primary-800: #1a4c1d;
|
|
19
|
-
--color-primary-900: #0d260f;
|
|
20
|
-
--color-primary: var(--color-primary-500);
|
|
21
|
-
|
|
22
|
-
/* colors/primary-alt */
|
|
23
|
-
--color-primary-alt-300: #83e4ad;
|
|
24
|
-
--color-primary-alt-400: #5adb92;
|
|
25
|
-
--color-primary-alt-500: #31d277;
|
|
26
|
-
--color-primary-alt-600: #27a85f;
|
|
27
|
-
--color-primary-alt-700: #1d7e47;
|
|
28
|
-
--color-primary-alt: var(--color-primary-500);
|
|
29
|
-
|
|
30
|
-
/* colors/secondary */
|
|
31
|
-
--color-secondary-300: #848793;
|
|
32
|
-
--color-secondary-400: #5b5f6f;
|
|
33
|
-
--color-secondary-500: #32374b;
|
|
34
|
-
--color-secondary-600: #282c3c;
|
|
35
|
-
--color-secondary-700: #1e212d;
|
|
36
|
-
--color-secondary: var(--color-secondary-500);
|
|
37
|
-
|
|
38
|
-
/* colors/error */
|
|
39
|
-
--color-error-300: #f7989d;
|
|
40
|
-
--color-error-400: #f5767c;
|
|
41
|
-
--color-error-500: #f2545b;
|
|
42
|
-
--color-error-600: #c24349;
|
|
43
|
-
--color-error-700: #913237;
|
|
44
|
-
--color-error: var(--color-error-500);
|
|
45
|
-
|
|
46
|
-
/* colors/warning */
|
|
47
|
-
--color-warning-300: #ffbc9b;
|
|
48
|
-
--color-warning-400: #ffa57a;
|
|
49
|
-
--color-warning-500: #ff8f59;
|
|
50
|
-
--color-warning-600: #cc7247;
|
|
51
|
-
--color-warning-700: #995635;
|
|
52
|
-
--color-warning: var(--color-warning-500);
|
|
53
|
-
|
|
54
|
-
/* colors/accent */
|
|
55
|
-
--color-accent-300: #8e8efa;
|
|
56
|
-
--color-accent-400: #6868f9;
|
|
57
|
-
--color-accent-500: #4242f7;
|
|
58
|
-
--color-accent-600: #3535c6;
|
|
59
|
-
--color-accent-700: #282894;
|
|
60
|
-
--color-accent: var(--color-accent-500);
|
|
61
|
-
|
|
62
|
-
/* colors/accent-alt */
|
|
63
|
-
--color-accent-alt-500: #6236ff;
|
|
64
|
-
--color-accent-alt: var(--color-accent-alt-500);
|
|
65
|
-
|
|
66
|
-
/* colors/secondary-alt */
|
|
67
|
-
--color-secondary-alt-200: #f4f5f8;
|
|
68
|
-
--color-secondary-alt-300: #dfe1e9;
|
|
69
|
-
--color-secondary-alt-400: #b4b8cd;
|
|
70
|
-
--color-secondary-alt-500: #949ab7;
|
|
71
|
-
--color-secondary-alt-600: #767b92;
|
|
72
|
-
--color-secondary-alt-700: #595c6e;
|
|
73
|
-
--color-secondary-alt: var(--color-secondary-alt-500);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
:root {
|
|
3
|
-
/* font sizes */
|
|
4
|
-
--font-size-xxs: 10px;
|
|
5
|
-
--font-size-xs: 12px;
|
|
6
|
-
--font-size-sm: 14px;
|
|
7
|
-
--font-size-md: 16px;
|
|
8
|
-
--font-size-lg: 18px;
|
|
9
|
-
--font-size-xl: 20px;
|
|
10
|
-
--font-size-2xl: 24px;
|
|
11
|
-
--font-size-3xl: 28px;
|
|
12
|
-
--font-size-4xl: 32px;
|
|
13
|
-
--font-size-5xl: 40px;
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
@layer base {
|
|
2
|
-
:root {
|
|
3
|
-
/* shadow sizes */
|
|
4
|
-
--shadow-size-md: 0 2px 4px 0 rgb(180 184 205 / 50%);
|
|
5
|
-
--shadow-border-primary: 0 0 0 4px rgb(69 158 74 / 50%);
|
|
6
|
-
--shadow-border-selected: 0 0 0 4px rgb(69 158 74 / 100%);
|
|
7
|
-
--shadow-selected-shadow: 0 0 0 4px var(--color-primary-500);
|
|
8
|
-
--shadow-selected-disabled: 0 0 0 4px var(--color-primary-300);
|
|
9
|
-
--shadow-border-secondary: 0 0 0 4px rgb(223 225 233 / 50%);
|
|
10
|
-
}
|
|
11
|
-
}
|