bonkers-ui 1.0.72 → 1.0.74
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/LICENCE +1 -1
- package/README.md +106 -82
- package/_types/align.d.ts +0 -1
- package/_types/align.js.map +1 -1
- package/_types/colors.d.ts +5 -1
- package/_types/colors.js +1 -1
- package/_types/colors.js.map +1 -1
- package/_types/sizing.d.ts +0 -1
- package/_types/sizing.js.map +1 -1
- package/bonkers-ui.css +1 -0
- package/bonkers-ui.umd.js +102 -11
- package/bonkers-ui.umd.js.map +1 -1
- package/components/UiAlert/UiAlert.d.ts +10 -0
- package/components/UiAlert/UiAlert.js +35 -0
- package/components/UiAlert/UiAlert.js.map +1 -0
- package/components/{ui-alert → UiAlert}/_types.d.ts +0 -1
- package/components/UiAlert/_types.js.map +1 -0
- package/components/UiAlert/index.d.ts +2 -0
- package/components/UiAlert/index.js +7 -0
- package/components/UiAlert/index.js.map +1 -0
- package/components/UiBerRank/UiBerRank.d.ts +8 -0
- package/components/UiBerRank/UiBerRank.js +95 -0
- package/components/UiBerRank/UiBerRank.js.map +1 -0
- package/components/UiBerRank/UiBerRank.module.css.js +10 -0
- package/components/UiBerRank/UiBerRank.module.css.js.map +1 -0
- package/components/{ui-ber-rank → UiBerRank}/_types.d.ts +2 -4
- package/components/{ui-ber-rank → UiBerRank}/_types.js +5 -6
- package/components/UiBerRank/_types.js.map +1 -0
- package/components/UiBerRank/index.d.ts +2 -0
- package/components/UiBerRank/index.js +7 -0
- package/components/UiBerRank/index.js.map +1 -0
- package/components/UiButton/UiButton.d.ts +10 -0
- package/components/UiButton/UiButton.js +152 -0
- package/components/UiButton/UiButton.js.map +1 -0
- package/components/UiButton/UiButton.module.css.js +8 -0
- package/components/UiButton/UiButton.module.css.js.map +1 -0
- package/components/{ui-button/_typings.d.ts → UiButton/_types.d.ts} +4 -1
- package/components/{ui-button/_typings.js → UiButton/_types.js} +4 -3
- package/components/UiButton/_types.js.map +1 -0
- package/components/UiButton/index.d.ts +2 -0
- package/components/UiButton/index.js +9 -0
- package/components/UiButton/index.js.map +1 -0
- package/components/UiCheckbox/UiCheckbox.d.ts +13 -0
- package/components/UiCheckbox/UiCheckbox.js +93 -0
- package/components/UiCheckbox/UiCheckbox.js.map +1 -0
- package/components/UiCheckbox/UiCheckbox.module.css.js +15 -0
- package/components/UiCheckbox/UiCheckbox.module.css.js.map +1 -0
- package/components/UiCheckbox/_types.d.ts +4 -0
- package/components/UiCheckbox/_types.js +5 -0
- package/components/UiCheckbox/_types.js.map +1 -0
- package/components/UiCheckbox/index.d.ts +2 -0
- package/components/UiCheckbox/index.js +7 -0
- package/components/UiCheckbox/index.js.map +1 -0
- package/components/UiIcon/UiIcon.d.ts +9 -0
- package/components/UiIcon/UiIcon.js +37 -0
- package/components/UiIcon/UiIcon.js.map +1 -0
- package/components/UiIcon/index.d.ts +1 -0
- package/components/UiIcon/index.js +5 -0
- package/components/UiInputRange/UiInputRange.d.ts +9 -0
- package/components/UiInputRange/UiInputRange.js +89 -0
- package/components/UiInputRange/UiInputRange.js.map +1 -0
- package/components/UiInputRange/UiInputRange.module.css.js +8 -0
- package/components/UiInputRange/UiInputRange.module.css.js.map +1 -0
- package/components/UiInputRange/index.d.ts +1 -0
- package/components/UiInputRange/index.js +5 -0
- package/components/UiList/UiList.d.ts +9 -0
- package/components/UiList/UiList.js +24 -0
- package/components/UiList/UiList.js.map +1 -0
- package/components/UiList/UiListItem.d.ts +7 -0
- package/components/UiList/UiListItem.js +10 -0
- package/components/UiList/UiListItem.js.map +1 -0
- package/components/{ui-list-item → UiList}/_types.d.ts +0 -5
- package/components/UiList/_types.js +6 -0
- package/components/UiList/_types.js.map +1 -0
- package/components/UiList/index.d.ts +3 -0
- package/components/UiList/index.js +10 -0
- package/components/UiList/index.js.map +1 -0
- package/components/UiPills/UiPills.d.ts +11 -0
- package/components/UiPills/UiPills.js +41 -0
- package/components/UiPills/UiPills.js.map +1 -0
- package/components/{ui-badge/_typings.d.ts → UiPills/_types.d.ts} +0 -1
- package/components/{ui-badge/_typings.js → UiPills/_types.js} +1 -1
- package/components/UiPills/_types.js.map +1 -0
- package/components/UiPills/index.d.ts +2 -0
- package/components/UiPills/index.js +8 -0
- package/components/UiPills/index.js.map +1 -0
- package/components/UiPlainRadio/UiPlainRadio.d.ts +11 -0
- package/components/UiPlainRadio/UiPlainRadio.js +83 -0
- package/components/UiPlainRadio/UiPlainRadio.js.map +1 -0
- package/components/UiPlainRadio/index.d.ts +1 -0
- package/components/UiPlainRadio/index.js +5 -0
- package/components/UiPlainRadio/index.js.map +1 -0
- package/components/UiProductCard/UiProductCard.d.ts +9 -0
- package/components/UiProductCard/UiProductCard.js +52 -0
- package/components/UiProductCard/UiProductCard.js.map +1 -0
- package/components/UiProductCard/index.d.ts +1 -0
- package/components/{ui-product-card → UiProductCard}/index.js +1 -1
- package/components/UiProductCard/index.js.map +1 -0
- package/components/UiProgress/UiProgress.d.ts +9 -0
- package/components/UiProgress/UiProgress.js +59 -0
- package/components/UiProgress/UiProgress.js.map +1 -0
- package/components/UiProgress/index.d.ts +1 -0
- package/components/UiProgress/index.js +5 -0
- package/components/UiProgress/index.js.map +1 -0
- package/components/UiRadio/UiRadio.d.ts +13 -0
- package/components/UiRadio/UiRadio.js +84 -0
- package/components/UiRadio/UiRadio.js.map +1 -0
- package/components/UiRadio/UiRadio.module.css.js +10 -0
- package/components/UiRadio/UiRadio.module.css.js.map +1 -0
- package/components/UiRadio/index.d.ts +1 -0
- package/components/UiRadio/index.js +5 -0
- package/components/UiRadio/index.js.map +1 -0
- package/components/UiRadioFancy/UiRadioFancy.d.ts +10 -0
- package/components/UiRadioFancy/UiRadioFancy.js +74 -0
- package/components/UiRadioFancy/UiRadioFancy.js.map +1 -0
- package/components/UiRadioFancy/_types.d.ts +4 -0
- package/components/UiRadioFancy/_types.js +5 -0
- package/components/UiRadioFancy/_types.js.map +1 -0
- package/components/UiRadioFancy/index.d.ts +2 -0
- package/components/UiRadioFancy/index.js +7 -0
- package/components/UiRadioFancy/index.js.map +1 -0
- package/components/UiSelect/UiSelect.d.ts +12 -0
- package/components/UiSelect/index.d.ts +1 -0
- package/components/UiSkeleton/UiSkeleton.d.ts +7 -0
- package/components/UiSkeleton/UiSkeleton.js +214 -0
- package/components/UiSkeleton/UiSkeleton.js.map +1 -0
- package/components/{ui-skeleton/_typings.d.ts → UiSkeleton/_types.d.ts} +0 -1
- package/components/{ui-skeleton/_typings.js → UiSkeleton/_types.js} +1 -1
- package/components/UiSkeleton/_types.js.map +1 -0
- package/components/UiSkeleton/index.d.ts +1 -0
- package/components/UiSkeleton/index.js +5 -0
- package/components/UiSkeleton/index.js.map +1 -0
- package/components/UiTable/UiTable.d.ts +8 -0
- package/components/UiTable/UiTable.js +21 -0
- package/components/UiTable/UiTable.js.map +1 -0
- package/components/UiTable/UiTableCell.d.ts +9 -0
- package/components/UiTable/UiTableCell.js +33 -0
- package/components/UiTable/UiTableCell.js.map +1 -0
- package/components/UiTable/UiTableRow.d.ts +7 -0
- package/components/UiTable/UiTableRow.js +25 -0
- package/components/UiTable/UiTableRow.js.map +1 -0
- package/components/{ui-table → UiTable}/_types.d.ts +3 -1
- package/components/UiTable/_types.js +6 -0
- package/components/UiTable/_types.js.map +1 -0
- package/components/UiTable/index.d.ts +4 -0
- package/components/UiTable/index.js +12 -0
- package/components/UiTable/index.js.map +1 -0
- package/components/UiTabs/UiTabs.d.ts +8 -0
- package/components/UiTabs/UiTabs.js +53 -0
- package/components/UiTabs/UiTabs.js.map +1 -0
- package/components/UiTabs/index.d.ts +1 -0
- package/components/UiTabs/index.js +5 -0
- package/components/UiTabs/index.js.map +1 -0
- package/components/UiToggle/UiToggle.d.ts +9 -0
- package/components/UiToggle/UiToggle.js +103 -0
- package/components/UiToggle/UiToggle.js.map +1 -0
- package/components/UiToggle/index.d.ts +1 -0
- package/components/UiToggle/index.js +5 -0
- package/components/UiToggle/index.js.map +1 -0
- package/components/UiTypography/UiTypography.d.ts +17 -0
- package/components/UiTypography/UiTypography.js +119 -0
- package/components/UiTypography/UiTypography.js.map +1 -0
- package/components/{ui-typography/_typings.d.ts → UiTypography/_types.d.ts} +4 -3
- package/components/UiTypography/_types.js +8 -0
- package/components/UiTypography/_types.js.map +1 -0
- package/components/UiTypography/index.d.ts +3 -0
- package/components/UiTypography/index.js +12 -0
- package/components/UiTypography/index.js.map +1 -0
- package/eslint.config.mjs +91 -0
- package/helper.d.ts +1 -0
- package/index.d.ts +18 -43
- package/index.js +36 -207
- package/index.js.map +1 -1
- package/package.json +71 -73
- package/plugin.ts +32 -8
- package/src/_styles/_backdropBlur.json +10 -0
- package/src/_styles/_shadow.json +2 -1
- package/tailwind.config.ts +6 -4
- package/.eslintrc.js +0 -124
- package/.stylelintrc +0 -24
- package/CONSTANTS.d.ts +0 -4
- package/CONSTANTS.d.ts.map +0 -1
- package/_types/align.d.ts.map +0 -1
- package/_types/colors.d.ts.map +0 -1
- package/_types/sizing.d.ts.map +0 -1
- package/_utils/debounce.d.ts +0 -2
- package/_utils/debounce.d.ts.map +0 -1
- package/_utils/debounce.js +0 -12
- package/_utils/debounce.js.map +0 -1
- package/_virtual/_plugin-vue_export-helper.js +0 -10
- package/_virtual/_plugin-vue_export-helper.js.map +0 -1
- package/components/ui-alert/_types.d.ts.map +0 -1
- package/components/ui-alert/_types.js.map +0 -1
- package/components/ui-alert/index.d.ts +0 -61
- package/components/ui-alert/index.d.ts.map +0 -1
- package/components/ui-alert/index.js +0 -9
- package/components/ui-alert/index.js.map +0 -1
- package/components/ui-alert/ui-alert.vue.d.ts +0 -31
- package/components/ui-alert/ui-alert.vue.d.ts.map +0 -1
- package/components/ui-alert/ui-alert.vue.js +0 -47
- package/components/ui-alert/ui-alert.vue.js.map +0 -1
- package/components/ui-alert/ui-alert.vue2.js +0 -5
- package/components/ui-alert/ui-alert.vue2.js.map +0 -1
- package/components/ui-badge/_typings.d.ts.map +0 -1
- package/components/ui-badge/_typings.js.map +0 -1
- package/components/ui-badge/index.d.ts +0 -105
- package/components/ui-badge/index.d.ts.map +0 -1
- package/components/ui-badge/index.js +0 -10
- package/components/ui-badge/index.js.map +0 -1
- package/components/ui-badge/ui-badge.vue.d.ts +0 -55
- package/components/ui-badge/ui-badge.vue.d.ts.map +0 -1
- package/components/ui-badge/ui-badge.vue.js +0 -64
- package/components/ui-badge/ui-badge.vue.js.map +0 -1
- package/components/ui-badge/ui-badge.vue2.js +0 -5
- package/components/ui-badge/ui-badge.vue2.js.map +0 -1
- package/components/ui-ber-rank/_types.d.ts.map +0 -1
- package/components/ui-ber-rank/_types.js.map +0 -1
- package/components/ui-ber-rank/index.d.ts +0 -32
- package/components/ui-ber-rank/index.d.ts.map +0 -1
- package/components/ui-ber-rank/index.js +0 -11
- package/components/ui-ber-rank/index.js.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts +0 -35
- package/components/ui-ber-rank/ui-ber-rank.vue.d.ts.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue.js +0 -101
- package/components/ui-ber-rank/ui-ber-rank.vue.js.map +0 -1
- package/components/ui-ber-rank/ui-ber-rank.vue3.js +0 -7
- package/components/ui-ber-rank/ui-ber-rank.vue3.js.map +0 -1
- package/components/ui-button/_typings.d.ts.map +0 -1
- package/components/ui-button/_typings.js.map +0 -1
- package/components/ui-button/index.d.ts +0 -113
- package/components/ui-button/index.d.ts.map +0 -1
- package/components/ui-button/index.js +0 -10
- package/components/ui-button/index.js.map +0 -1
- package/components/ui-button/ui-button.vue.d.ts +0 -55
- package/components/ui-button/ui-button.vue.d.ts.map +0 -1
- package/components/ui-button/ui-button.vue.js +0 -51
- package/components/ui-button/ui-button.vue.js.map +0 -1
- package/components/ui-button/ui-button.vue2.js +0 -5
- package/components/ui-button/ui-button.vue2.js.map +0 -1
- package/components/ui-card-cta/index.d.ts +0 -93
- package/components/ui-card-cta/index.d.ts.map +0 -1
- package/components/ui-card-cta/index.js +0 -7
- package/components/ui-card-cta/index.js.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue.d.ts +0 -38
- package/components/ui-card-cta/ui-card-cta.vue.d.ts.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue.js +0 -76
- package/components/ui-card-cta/ui-card-cta.vue.js.map +0 -1
- package/components/ui-card-cta/ui-card-cta.vue2.js +0 -5
- package/components/ui-card-cta/ui-card-cta.vue2.js.map +0 -1
- package/components/ui-card-result/index.d.ts +0 -91
- package/components/ui-card-result/index.d.ts.map +0 -1
- package/components/ui-card-result/index.js +0 -7
- package/components/ui-card-result/index.js.map +0 -1
- package/components/ui-card-result/ui-card-result.vue.d.ts +0 -35
- package/components/ui-card-result/ui-card-result.vue.d.ts.map +0 -1
- package/components/ui-card-result/ui-card-result.vue.js +0 -9
- package/components/ui-card-result/ui-card-result.vue.js.map +0 -1
- package/components/ui-card-result/ui-card-result.vue2.js +0 -82
- package/components/ui-card-result/ui-card-result.vue2.js.map +0 -1
- package/components/ui-card-simple/_typings.d.ts +0 -5
- package/components/ui-card-simple/_typings.d.ts.map +0 -1
- package/components/ui-card-simple/index.d.ts +0 -28
- package/components/ui-card-simple/index.d.ts.map +0 -1
- package/components/ui-card-simple/index.js +0 -7
- package/components/ui-card-simple/index.js.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue.d.ts +0 -15
- package/components/ui-card-simple/ui-card-simple.vue.d.ts.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue.js +0 -35
- package/components/ui-card-simple/ui-card-simple.vue.js.map +0 -1
- package/components/ui-card-simple/ui-card-simple.vue2.js +0 -5
- package/components/ui-card-simple/ui-card-simple.vue2.js.map +0 -1
- package/components/ui-checkbox/index.d.ts +0 -107
- package/components/ui-checkbox/index.d.ts.map +0 -1
- package/components/ui-checkbox/index.js +0 -7
- package/components/ui-checkbox/index.js.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue.d.ts +0 -40
- package/components/ui-checkbox/ui-checkbox.vue.d.ts.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue.js +0 -9
- package/components/ui-checkbox/ui-checkbox.vue.js.map +0 -1
- package/components/ui-checkbox/ui-checkbox.vue2.js +0 -74
- package/components/ui-checkbox/ui-checkbox.vue2.js.map +0 -1
- package/components/ui-dropdown/_typings.d.ts +0 -5
- package/components/ui-dropdown/_typings.d.ts.map +0 -1
- package/components/ui-dropdown/_typings.js +0 -5
- package/components/ui-dropdown/_typings.js.map +0 -1
- package/components/ui-dropdown/index.d.ts +0 -107
- package/components/ui-dropdown/index.d.ts.map +0 -1
- package/components/ui-dropdown/index.js +0 -9
- package/components/ui-dropdown/index.js.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue.d.ts +0 -51
- package/components/ui-dropdown/ui-dropdown.vue.d.ts.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue.js +0 -83
- package/components/ui-dropdown/ui-dropdown.vue.js.map +0 -1
- package/components/ui-dropdown/ui-dropdown.vue2.js +0 -5
- package/components/ui-dropdown/ui-dropdown.vue2.js.map +0 -1
- package/components/ui-icon/_typings.d.ts +0 -11
- package/components/ui-icon/_typings.d.ts.map +0 -1
- package/components/ui-icon/_typings.js +0 -5
- package/components/ui-icon/_typings.js.map +0 -1
- package/components/ui-icon/index.d.ts +0 -35
- package/components/ui-icon/index.d.ts.map +0 -1
- package/components/ui-icon/index.js +0 -11
- package/components/ui-icon/index.js.map +0 -1
- package/components/ui-icon/ui-icon.vue.d.ts +0 -36
- package/components/ui-icon/ui-icon.vue.d.ts.map +0 -1
- package/components/ui-icon/ui-icon.vue.js +0 -34
- package/components/ui-icon/ui-icon.vue.js.map +0 -1
- package/components/ui-icon/ui-icon.vue2.js +0 -5
- package/components/ui-icon/ui-icon.vue2.js.map +0 -1
- package/components/ui-icon-wrapper/_typings.d.ts +0 -12
- package/components/ui-icon-wrapper/_typings.d.ts.map +0 -1
- package/components/ui-icon-wrapper/_typings.js +0 -6
- package/components/ui-icon-wrapper/_typings.js.map +0 -1
- package/components/ui-icon-wrapper/index.d.ts +0 -73
- package/components/ui-icon-wrapper/index.d.ts.map +0 -1
- package/components/ui-icon-wrapper/index.js +0 -10
- package/components/ui-icon-wrapper/index.js.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts +0 -45
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.d.ts.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js +0 -9
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue.js.map +0 -1
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js +0 -28
- package/components/ui-icon-wrapper/ui-icon-wrapper.vue2.js.map +0 -1
- package/components/ui-input/_typings.d.ts +0 -71
- package/components/ui-input/_typings.d.ts.map +0 -1
- package/components/ui-input/_typings.js +0 -7
- package/components/ui-input/_typings.js.map +0 -1
- package/components/ui-input/index.d.ts +0 -301
- package/components/ui-input/index.d.ts.map +0 -1
- package/components/ui-input/index.js +0 -11
- package/components/ui-input/index.js.map +0 -1
- package/components/ui-input/ui-input.vue.d.ts +0 -109
- package/components/ui-input/ui-input.vue.d.ts.map +0 -1
- package/components/ui-input/ui-input.vue.js +0 -101
- package/components/ui-input/ui-input.vue.js.map +0 -1
- package/components/ui-input/ui-input.vue2.js +0 -5
- package/components/ui-input/ui-input.vue2.js.map +0 -1
- package/components/ui-input-range/index.d.ts +0 -48
- package/components/ui-input-range/index.d.ts.map +0 -1
- package/components/ui-input-range/index.js +0 -7
- package/components/ui-input-range/index.js.map +0 -1
- package/components/ui-input-range/ui-input-range.vue.d.ts +0 -27
- package/components/ui-input-range/ui-input-range.vue.d.ts.map +0 -1
- package/components/ui-input-range/ui-input-range.vue.js +0 -9
- package/components/ui-input-range/ui-input-range.vue.js.map +0 -1
- package/components/ui-input-range/ui-input-range.vue2.js +0 -71
- package/components/ui-input-range/ui-input-range.vue2.js.map +0 -1
- package/components/ui-list-item/_types.d.ts.map +0 -1
- package/components/ui-list-item/_types.js +0 -7
- package/components/ui-list-item/_types.js.map +0 -1
- package/components/ui-list-item/index.d.ts +0 -151
- package/components/ui-list-item/index.d.ts.map +0 -1
- package/components/ui-list-item/index.js +0 -11
- package/components/ui-list-item/index.js.map +0 -1
- package/components/ui-list-item/ui-list-item.vue.d.ts +0 -69
- package/components/ui-list-item/ui-list-item.vue.d.ts.map +0 -1
- package/components/ui-list-item/ui-list-item.vue.js +0 -68
- package/components/ui-list-item/ui-list-item.vue.js.map +0 -1
- package/components/ui-list-item/ui-list-item.vue2.js +0 -5
- package/components/ui-list-item/ui-list-item.vue2.js.map +0 -1
- package/components/ui-media-card/index.d.ts +0 -4
- package/components/ui-media-card/index.d.ts.map +0 -1
- package/components/ui-media-card/index.js +0 -5
- package/components/ui-media-card/ui-media-card.vue.d.ts +0 -25
- package/components/ui-media-card/ui-media-card.vue.d.ts.map +0 -1
- package/components/ui-media-card/ui-media-card.vue.js +0 -59
- package/components/ui-media-card/ui-media-card.vue.js.map +0 -1
- package/components/ui-media-card/ui-media-card.vue2.js +0 -5
- package/components/ui-media-card/ui-media-card.vue2.js.map +0 -1
- package/components/ui-modal/_typings.d.ts +0 -7
- package/components/ui-modal/_typings.d.ts.map +0 -1
- package/components/ui-modal/_typings.js +0 -5
- package/components/ui-modal/_typings.js.map +0 -1
- package/components/ui-modal/index.d.ts +0 -76
- package/components/ui-modal/index.d.ts.map +0 -1
- package/components/ui-modal/index.js +0 -9
- package/components/ui-modal/index.js.map +0 -1
- package/components/ui-modal/ui-backdrop/index.d.ts +0 -26
- package/components/ui-modal/ui-backdrop/index.d.ts.map +0 -1
- package/components/ui-modal/ui-backdrop/index.js +0 -7
- package/components/ui-modal/ui-backdrop/index.js.map +0 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts +0 -13
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.d.ts.map +0 -1
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js +0 -16
- package/components/ui-modal/ui-backdrop/ui-backdrop.vue.js.map +0 -1
- package/components/ui-modal/ui-modal.vue.d.ts +0 -50
- package/components/ui-modal/ui-modal.vue.d.ts.map +0 -1
- package/components/ui-modal/ui-modal.vue.js +0 -9
- package/components/ui-modal/ui-modal.vue.js.map +0 -1
- package/components/ui-modal/ui-modal.vue2.js +0 -61
- package/components/ui-modal/ui-modal.vue2.js.map +0 -1
- package/components/ui-notification-badge/_types.d.ts +0 -11
- package/components/ui-notification-badge/_types.d.ts.map +0 -1
- package/components/ui-notification-badge/_types.js +0 -5
- package/components/ui-notification-badge/_types.js.map +0 -1
- package/components/ui-notification-badge/index.d.ts +0 -54
- package/components/ui-notification-badge/index.d.ts.map +0 -1
- package/components/ui-notification-badge/index.js +0 -11
- package/components/ui-notification-badge/index.js.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts +0 -42
- package/components/ui-notification-badge/ui-notification-badge.vue.d.ts.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue.js +0 -22
- package/components/ui-notification-badge/ui-notification-badge.vue.js.map +0 -1
- package/components/ui-notification-badge/ui-notification-badge.vue3.js +0 -7
- package/components/ui-notification-badge/ui-notification-badge.vue3.js.map +0 -1
- package/components/ui-order-card/_types.d.ts +0 -5
- package/components/ui-order-card/_types.d.ts.map +0 -1
- package/components/ui-order-card/_types.js +0 -5
- package/components/ui-order-card/_types.js.map +0 -1
- package/components/ui-order-card/index.d.ts +0 -72
- package/components/ui-order-card/index.d.ts.map +0 -1
- package/components/ui-order-card/index.js +0 -7
- package/components/ui-order-card/index.js.map +0 -1
- package/components/ui-order-card/ui-order-card.vue.d.ts +0 -47
- package/components/ui-order-card/ui-order-card.vue.d.ts.map +0 -1
- package/components/ui-order-card/ui-order-card.vue.js +0 -86
- package/components/ui-order-card/ui-order-card.vue.js.map +0 -1
- package/components/ui-order-card/ui-order-card.vue2.js +0 -5
- package/components/ui-order-card/ui-order-card.vue2.js.map +0 -1
- package/components/ui-plain-radio/index.d.ts +0 -127
- package/components/ui-plain-radio/index.d.ts.map +0 -1
- package/components/ui-plain-radio/index.js +0 -7
- package/components/ui-plain-radio/index.js.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts +0 -41
- package/components/ui-plain-radio/ui-plain-radio.vue.d.ts.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue.js +0 -85
- package/components/ui-plain-radio/ui-plain-radio.vue.js.map +0 -1
- package/components/ui-plain-radio/ui-plain-radio.vue2.js +0 -5
- package/components/ui-plain-radio/ui-plain-radio.vue2.js.map +0 -1
- package/components/ui-product-card/index.d.ts +0 -2
- package/components/ui-product-card/index.d.ts.map +0 -1
- package/components/ui-product-card/ui-product-card.vue.d.ts +0 -32
- package/components/ui-product-card/ui-product-card.vue.d.ts.map +0 -1
- package/components/ui-product-card/ui-product-card.vue.js +0 -64
- package/components/ui-product-card/ui-product-card.vue.js.map +0 -1
- package/components/ui-product-card/ui-product-card.vue2.js +0 -5
- package/components/ui-product-card/ui-product-card.vue2.js.map +0 -1
- package/components/ui-progress/_types.d.ts +0 -2
- package/components/ui-progress/_types.d.ts.map +0 -1
- package/components/ui-progress/index.d.ts +0 -55
- package/components/ui-progress/index.d.ts.map +0 -1
- package/components/ui-progress/index.js +0 -7
- package/components/ui-progress/index.js.map +0 -1
- package/components/ui-progress/ui-progress.vue.d.ts +0 -46
- package/components/ui-progress/ui-progress.vue.d.ts.map +0 -1
- package/components/ui-progress/ui-progress.vue.js +0 -42
- package/components/ui-progress/ui-progress.vue.js.map +0 -1
- package/components/ui-progress/ui-progress.vue2.js +0 -5
- package/components/ui-progress/ui-progress.vue2.js.map +0 -1
- package/components/ui-radio/index.d.ts +0 -127
- package/components/ui-radio/index.d.ts.map +0 -1
- package/components/ui-radio/index.js +0 -7
- package/components/ui-radio/index.js.map +0 -1
- package/components/ui-radio/ui-radio.vue.d.ts +0 -42
- package/components/ui-radio/ui-radio.vue.d.ts.map +0 -1
- package/components/ui-radio/ui-radio.vue.js +0 -9
- package/components/ui-radio/ui-radio.vue.js.map +0 -1
- package/components/ui-radio/ui-radio.vue2.js +0 -58
- package/components/ui-radio/ui-radio.vue2.js.map +0 -1
- package/components/ui-radio-compact/index.d.ts +0 -105
- package/components/ui-radio-compact/index.d.ts.map +0 -1
- package/components/ui-radio-compact/index.js +0 -7
- package/components/ui-radio-compact/index.js.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts +0 -36
- package/components/ui-radio-compact/ui-radio-compact.vue.d.ts.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue.js +0 -52
- package/components/ui-radio-compact/ui-radio-compact.vue.js.map +0 -1
- package/components/ui-radio-compact/ui-radio-compact.vue2.js +0 -5
- package/components/ui-radio-compact/ui-radio-compact.vue2.js.map +0 -1
- package/components/ui-radio-fancy/_typings.d.ts +0 -6
- package/components/ui-radio-fancy/_typings.d.ts.map +0 -1
- package/components/ui-radio-fancy/_typings.js +0 -5
- package/components/ui-radio-fancy/_typings.js.map +0 -1
- package/components/ui-radio-fancy/index.d.ts +0 -145
- package/components/ui-radio-fancy/index.d.ts.map +0 -1
- package/components/ui-radio-fancy/index.js +0 -7
- package/components/ui-radio-fancy/index.js.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts +0 -60
- package/components/ui-radio-fancy/ui-radio-fancy.vue.d.ts.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js +0 -86
- package/components/ui-radio-fancy/ui-radio-fancy.vue.js.map +0 -1
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js +0 -5
- package/components/ui-radio-fancy/ui-radio-fancy.vue2.js.map +0 -1
- package/components/ui-result-card-range/_types.d.ts +0 -8
- package/components/ui-result-card-range/_types.d.ts.map +0 -1
- package/components/ui-result-card-range/index.d.ts +0 -55
- package/components/ui-result-card-range/index.d.ts.map +0 -1
- package/components/ui-result-card-range/index.js +0 -7
- package/components/ui-result-card-range/index.js.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts +0 -30
- package/components/ui-result-card-range/ui-result-card-range.vue.d.ts.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue.js +0 -39
- package/components/ui-result-card-range/ui-result-card-range.vue.js.map +0 -1
- package/components/ui-result-card-range/ui-result-card-range.vue2.js +0 -5
- package/components/ui-result-card-range/ui-result-card-range.vue2.js.map +0 -1
- package/components/ui-ripple/index.d.ts +0 -26
- package/components/ui-ripple/index.d.ts.map +0 -1
- package/components/ui-ripple/index.js +0 -9
- package/components/ui-ripple/index.js.map +0 -1
- package/components/ui-ripple/ui-ripple.vue.d.ts +0 -13
- package/components/ui-ripple/ui-ripple.vue.d.ts.map +0 -1
- package/components/ui-ripple/ui-ripple.vue.js +0 -52
- package/components/ui-ripple/ui-ripple.vue.js.map +0 -1
- package/components/ui-ripple/ui-ripple.vue3.js +0 -7
- package/components/ui-ripple/ui-ripple.vue3.js.map +0 -1
- package/components/ui-select/index.d.ts +0 -97
- package/components/ui-select/index.d.ts.map +0 -1
- package/components/ui-select/index.js +0 -7
- package/components/ui-select/index.js.map +0 -1
- package/components/ui-select/ui-select.vue.d.ts +0 -39
- package/components/ui-select/ui-select.vue.d.ts.map +0 -1
- package/components/ui-select/ui-select.vue.js +0 -83
- package/components/ui-select/ui-select.vue.js.map +0 -1
- package/components/ui-select/ui-select.vue2.js +0 -5
- package/components/ui-select/ui-select.vue2.js.map +0 -1
- package/components/ui-skeleton/_typings.d.ts.map +0 -1
- package/components/ui-skeleton/_typings.js.map +0 -1
- package/components/ui-skeleton/index.d.ts +0 -23
- package/components/ui-skeleton/index.d.ts.map +0 -1
- package/components/ui-skeleton/index.js +0 -7
- package/components/ui-skeleton/index.js.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue.d.ts +0 -33
- package/components/ui-skeleton/ui-skeleton.vue.d.ts.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue.js +0 -41
- package/components/ui-skeleton/ui-skeleton.vue.js.map +0 -1
- package/components/ui-skeleton/ui-skeleton.vue2.js +0 -5
- package/components/ui-skeleton/ui-skeleton.vue2.js.map +0 -1
- package/components/ui-snackbar/_types.d.ts +0 -8
- package/components/ui-snackbar/_types.d.ts.map +0 -1
- package/components/ui-snackbar/_types.js +0 -5
- package/components/ui-snackbar/_types.js.map +0 -1
- package/components/ui-snackbar/index.d.ts +0 -72
- package/components/ui-snackbar/index.d.ts.map +0 -1
- package/components/ui-snackbar/index.js +0 -9
- package/components/ui-snackbar/index.js.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue.d.ts +0 -46
- package/components/ui-snackbar/ui-snackbar.vue.d.ts.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue.js +0 -49
- package/components/ui-snackbar/ui-snackbar.vue.js.map +0 -1
- package/components/ui-snackbar/ui-snackbar.vue2.js +0 -5
- package/components/ui-snackbar/ui-snackbar.vue2.js.map +0 -1
- package/components/ui-table/_types.d.ts.map +0 -1
- package/components/ui-table/_types.js +0 -5
- package/components/ui-table/_types.js.map +0 -1
- package/components/ui-table/index.d.ts +0 -57
- package/components/ui-table/index.d.ts.map +0 -1
- package/components/ui-table/index.js +0 -19
- package/components/ui-table/index.js.map +0 -1
- package/components/ui-table/ui-table-cell/index.d.ts +0 -56
- package/components/ui-table/ui-table-cell/index.d.ts.map +0 -1
- package/components/ui-table/ui-table-cell/index.js +0 -7
- package/components/ui-table/ui-table-cell/index.js.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts +0 -31
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js +0 -41
- package/components/ui-table/ui-table-cell/ui-table-cell.vue.js.map +0 -1
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js +0 -5
- package/components/ui-table/ui-table-cell/ui-table-cell.vue2.js.map +0 -1
- package/components/ui-table/ui-table-row/_typings.d.ts +0 -4
- package/components/ui-table/ui-table-row/_typings.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/_typings.js +0 -5
- package/components/ui-table/ui-table-row/_typings.js.map +0 -1
- package/components/ui-table/ui-table-row/index.d.ts +0 -44
- package/components/ui-table/ui-table-row/index.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/index.js +0 -9
- package/components/ui-table/ui-table-row/index.js.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts +0 -28
- package/components/ui-table/ui-table-row/ui-table-row.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue.js +0 -9
- package/components/ui-table/ui-table-row/ui-table-row.vue.js.map +0 -1
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js +0 -19
- package/components/ui-table/ui-table-row/ui-table-row.vue3.js.map +0 -1
- package/components/ui-table/ui-table.vue.d.ts +0 -42
- package/components/ui-table/ui-table.vue.d.ts.map +0 -1
- package/components/ui-table/ui-table.vue.js +0 -9
- package/components/ui-table/ui-table.vue.js.map +0 -1
- package/components/ui-table/ui-table.vue2.js +0 -23
- package/components/ui-table/ui-table.vue2.js.map +0 -1
- package/components/ui-tabs/index.d.ts +0 -42
- package/components/ui-tabs/index.d.ts.map +0 -1
- package/components/ui-tabs/index.js +0 -7
- package/components/ui-tabs/index.js.map +0 -1
- package/components/ui-tabs/ui-tabs.vue.d.ts +0 -39
- package/components/ui-tabs/ui-tabs.vue.d.ts.map +0 -1
- package/components/ui-tabs/ui-tabs.vue.js +0 -9
- package/components/ui-tabs/ui-tabs.vue.js.map +0 -1
- package/components/ui-tabs/ui-tabs.vue2.js +0 -56
- package/components/ui-tabs/ui-tabs.vue2.js.map +0 -1
- package/components/ui-toggle/index.d.ts +0 -131
- package/components/ui-toggle/index.d.ts.map +0 -1
- package/components/ui-toggle/index.js +0 -7
- package/components/ui-toggle/index.js.map +0 -1
- package/components/ui-toggle/ui-toggle.vue.d.ts +0 -43
- package/components/ui-toggle/ui-toggle.vue.d.ts.map +0 -1
- package/components/ui-toggle/ui-toggle.vue.js +0 -9
- package/components/ui-toggle/ui-toggle.vue.js.map +0 -1
- package/components/ui-toggle/ui-toggle.vue2.js +0 -94
- package/components/ui-toggle/ui-toggle.vue2.js.map +0 -1
- package/components/ui-typography/_typings.d.ts.map +0 -1
- package/components/ui-typography/_typings.js +0 -8
- package/components/ui-typography/_typings.js.map +0 -1
- package/components/ui-typography/index.d.ts +0 -130
- package/components/ui-typography/index.d.ts.map +0 -1
- package/components/ui-typography/index.js +0 -14
- package/components/ui-typography/index.js.map +0 -1
- package/components/ui-typography/ui-typography.vue.d.ts +0 -43
- package/components/ui-typography/ui-typography.vue.d.ts.map +0 -1
- package/components/ui-typography/ui-typography.vue.js +0 -105
- package/components/ui-typography/ui-typography.vue.js.map +0 -1
- package/components/ui-typography/ui-typography.vue2.js +0 -5
- package/components/ui-typography/ui-typography.vue2.js.map +0 -1
- package/components/ui-verification-input/index.d.ts +0 -70
- package/components/ui-verification-input/index.d.ts.map +0 -1
- package/components/ui-verification-input/index.js +0 -7
- package/components/ui-verification-input/index.js.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue.d.ts +0 -30
- package/components/ui-verification-input/ui-verification-input.vue.d.ts.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue.js +0 -9
- package/components/ui-verification-input/ui-verification-input.vue.js.map +0 -1
- package/components/ui-verification-input/ui-verification-input.vue2.js +0 -53
- package/components/ui-verification-input/ui-verification-input.vue2.js.map +0 -1
- package/index.d.ts.map +0 -1
- package/postcss.config.js +0 -8
- package/types.d.ts +0 -21
- package/types.d.ts.map +0 -1
- package/types.js +0 -78
- package/types.js.map +0 -1
- /package/components/{ui-alert → UiAlert}/_types.js +0 -0
- /package/components/{ui-media-card → UiIcon}/index.js.map +0 -0
- /package/components/{ui-product-card → UiInputRange}/index.js.map +0 -0
- /package/src/_styles/{_font-sizes.json → _fontSizes.json} +0 -0
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { defineComponent as o, openBlock as n, createElementBlock as d, normalizeClass as s, unref as r, renderSlot as i } from "vue";
|
|
2
|
-
import { EButtonTypes as t, EButtonSizes as a } from "./_typings.js";
|
|
3
|
-
const b = ["disabled"], l = "text-white bg-primary disabled:bg-primary-300", p = "hover:bg-primary-600 ", g = "active:bg-primary-700 ", y = /* @__PURE__ */ o({
|
|
4
|
-
__name: "ui-button",
|
|
5
|
-
props: {
|
|
6
|
-
kind: { default: t.PRIMARY },
|
|
7
|
-
size: { default: a.DEFAULT },
|
|
8
|
-
fullWidth: { type: Boolean, default: !1 },
|
|
9
|
-
disabled: { type: Boolean, default: !1 }
|
|
10
|
-
},
|
|
11
|
-
setup(v) {
|
|
12
|
-
return (e, h) => (n(), d("button", {
|
|
13
|
-
class: s(["ui-button text-base grid touch-manipulation grid-flow-col items-center justify-center whitespace-nowrap rounded-xl font-bold leading-none", [
|
|
14
|
-
(!e.kind || e.kind === r(t).PRIMARY) && [l, p, g].join(" "),
|
|
15
|
-
e.kind === r(t).SECONDARY && "bg-secondary text-white hover:bg-secondary-600 active:bg-secondary-700 disabled:bg-secondary-300",
|
|
16
|
-
e.kind === r(t).WARNING && "bg-warning text-white hover:bg-warning-600 active:bg-warning-700 disabled:bg-warning-300",
|
|
17
|
-
e.kind === r(t).ERROR && "bg-error text-white hover:bg-error-600 active:bg-error-700 disabled:bg-error-300",
|
|
18
|
-
e.kind === r(t).PRIMARY_OVERLAY && `border border-primary text-primary hover:border-transparent hover:bg-primary-600
|
|
19
|
-
hover:text-white active:border-transparent active:bg-primary-700
|
|
20
|
-
active:text-white disabled:border-primary-300 disabled:text-primary-300`,
|
|
21
|
-
e.kind === r(t).SECONDARY_OVERLAY && `border border-secondary text-secondary hover:border-transparent hover:bg-secondary-600
|
|
22
|
-
hover:text-white active:border-transparent active:bg-secondary-700
|
|
23
|
-
active:text-white disabled:border-secondary-300 disabled:text-secondary-300`,
|
|
24
|
-
e.kind === r(t).WARNING_OVERLAY && `border border-warning text-warning hover:border-transparent hover:bg-warning-600
|
|
25
|
-
hover:text-white active:border-transparent active:bg-warning-700
|
|
26
|
-
active:text-white disabled:border-warning-300 disabled:text-warning-300`,
|
|
27
|
-
e.kind === r(t).ERROR_OVERLAY && `border border-error text-error hover:border-transparent hover:bg-error-600
|
|
28
|
-
hover:text-white active:border-transparent active:bg-error-700
|
|
29
|
-
active:text-white disabled:border-error-300 disabled:text-error-300`,
|
|
30
|
-
e.kind === r(t).LINK && `text-accent-alt hover:text-accent-alt-600
|
|
31
|
-
active:text-accent-alt-700 disabled:text-accent-alt-300`,
|
|
32
|
-
(!e.size || e.size === r(a).DEFAULT) && "px-md py-sm",
|
|
33
|
-
e.size === r(a).SMALL && "px-md py-xxs",
|
|
34
|
-
e.size === r(a).MEDIUM && "p-sm",
|
|
35
|
-
e.size === r(a).LARGE && "p-md",
|
|
36
|
-
(e.$slots.default || e.$slots.postfix) && "gap-sm",
|
|
37
|
-
e.fullWidth && "w-full",
|
|
38
|
-
e.disabled && "pointer-events-none"
|
|
39
|
-
]]),
|
|
40
|
-
disabled: e.disabled
|
|
41
|
-
}, [
|
|
42
|
-
i(e.$slots, "prefix"),
|
|
43
|
-
i(e.$slots, "default"),
|
|
44
|
-
i(e.$slots, "postfix")
|
|
45
|
-
], 10, b));
|
|
46
|
-
}
|
|
47
|
-
});
|
|
48
|
-
export {
|
|
49
|
-
y as default
|
|
50
|
-
};
|
|
51
|
-
//# sourceMappingURL=ui-button.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-button.vue.js","sources":["../../../src/components/ui-button/ui-button.vue"],"sourcesContent":["<template>\n\t<button\n\t\tclass=\"\n\t\t\tui-button\n\t\t\ttext-base\n\t\t\tgrid\n\t\t\ttouch-manipulation\n\t\t\tgrid-flow-col\n\t\t\titems-center\n\t\t\tjustify-center\n\t\t\twhitespace-nowrap\n\t\t\trounded-xl\n\t\t\tfont-bold\n\t\t\tleading-none\n\t\t\t\"\n\t\t:disabled=\"disabled\"\n\t\t:class=\"[\n\t\t\t(!kind || kind === EButtonTypes.PRIMARY) && [primaryColor, primaryColorHover, primaryColorActive].join(' '),\n\t\t\tkind === EButtonTypes.SECONDARY\n\t\t\t\t&& 'bg-secondary text-white hover:bg-secondary-600 active:bg-secondary-700 disabled:bg-secondary-300',\n\t\t\tkind === EButtonTypes.WARNING\n\t\t\t\t&& 'bg-warning text-white hover:bg-warning-600 active:bg-warning-700 disabled:bg-warning-300',\n\t\t\tkind === EButtonTypes.ERROR\n\t\t\t\t&& 'bg-error text-white hover:bg-error-600 active:bg-error-700 disabled:bg-error-300',\n\t\t\tkind === EButtonTypes.PRIMARY_OVERLAY\n\t\t\t\t&& `border border-primary text-primary hover:border-transparent hover:bg-primary-600\n\t\t\t\t\thover:text-white active:border-transparent active:bg-primary-700\n\t\t\t\t\tactive:text-white disabled:border-primary-300 disabled:text-primary-300`,\n\t\t\tkind === EButtonTypes.SECONDARY_OVERLAY\n\t\t\t\t&& `border border-secondary text-secondary hover:border-transparent hover:bg-secondary-600\n\t\t\t\t\thover:text-white active:border-transparent active:bg-secondary-700\n\t\t\t\t\tactive:text-white disabled:border-secondary-300 disabled:text-secondary-300`,\n\t\t\tkind === EButtonTypes.WARNING_OVERLAY\n\t\t\t\t&& `border border-warning text-warning hover:border-transparent hover:bg-warning-600\n\t\t\t\t\thover:text-white active:border-transparent active:bg-warning-700\n\t\t\t\t\tactive:text-white disabled:border-warning-300 disabled:text-warning-300`,\n\t\t\tkind === EButtonTypes.ERROR_OVERLAY\n\t\t\t\t&& `border border-error text-error hover:border-transparent hover:bg-error-600\n\t\t\t\t\thover:text-white active:border-transparent active:bg-error-700\n\t\t\t\t\tactive:text-white disabled:border-error-300 disabled:text-error-300`,\n\t\t\tkind === EButtonTypes.LINK && `text-accent-alt hover:text-accent-alt-600\n\t\t\t\tactive:text-accent-alt-700 disabled:text-accent-alt-300`,\n\t\t\t(!size || size === EButtonSizes.DEFAULT) && 'px-md py-sm',\n\t\t\tsize === EButtonSizes.SMALL && 'px-md py-xxs',\n\t\t\tsize === EButtonSizes.MEDIUM && 'p-sm',\n\t\t\tsize === EButtonSizes.LARGE && 'p-md',\n\t\t\t($slots.default || $slots.postfix) && 'gap-sm',\n\t\t\tfullWidth && 'w-full',\n\t\t\tdisabled && 'pointer-events-none',\n\t\t]\"\n\t>\n\t\t<slot name=\"prefix\" />\n\n\t\t<slot />\n\n\t\t<slot name=\"postfix\" />\n\t</button>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { EButtonSizes, EButtonTypes } from \"./_typings\";\n\n\ttype TProps = {\n\t\tkind?: EButtonTypes;\n\t\tsize?: EButtonSizes;\n\t\tfullWidth?: boolean;\n\t\tdisabled?: boolean;\n\t}\n\n\tconst primaryColor = \"text-white bg-primary disabled:bg-primary-300\";\n\tconst primaryColorHover = \"hover:bg-primary-600 \";\n\tconst primaryColorActive = \"active:bg-primary-700 \";\n\n\twithDefaults( defineProps<TProps>(), {\n\t\tkind: EButtonTypes.PRIMARY,\n\t\tsize: EButtonSizes.DEFAULT,\n\t\tfullWidth: false,\n\t\tdisabled: false,\n\t});\n</script>\n"],"names":["primaryColor","primaryColorHover","primaryColorActive"],"mappings":";;wBAqEOA,IAAe,iDACfC,IAAoB,yBACpBC,IAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-button.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { default as UiCardCta } from './ui-card-cta.vue';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import { TIconName } from '../ui-icon';
|
|
4
|
-
|
|
5
|
-
export { UiCardCta };
|
|
6
|
-
/**
|
|
7
|
-
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
8
|
-
*/
|
|
9
|
-
declare const deprecatedDefault: {
|
|
10
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
11
|
-
invertOrder: {
|
|
12
|
-
type: PropType<boolean>;
|
|
13
|
-
};
|
|
14
|
-
disabled: {
|
|
15
|
-
type: PropType<boolean>;
|
|
16
|
-
};
|
|
17
|
-
iconName: {
|
|
18
|
-
type: PropType<TIconName>;
|
|
19
|
-
};
|
|
20
|
-
title: {
|
|
21
|
-
type: PropType<string>;
|
|
22
|
-
};
|
|
23
|
-
description: {
|
|
24
|
-
type: PropType<string>;
|
|
25
|
-
};
|
|
26
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
27
|
-
invertOrder: {
|
|
28
|
-
type: PropType<boolean>;
|
|
29
|
-
};
|
|
30
|
-
disabled: {
|
|
31
|
-
type: PropType<boolean>;
|
|
32
|
-
};
|
|
33
|
-
iconName: {
|
|
34
|
-
type: PropType<TIconName>;
|
|
35
|
-
};
|
|
36
|
-
title: {
|
|
37
|
-
type: PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
description: {
|
|
40
|
-
type: PropType<string>;
|
|
41
|
-
};
|
|
42
|
-
}>>, {}, true, {}, {}, {
|
|
43
|
-
P: {};
|
|
44
|
-
B: {};
|
|
45
|
-
D: {};
|
|
46
|
-
C: {};
|
|
47
|
-
M: {};
|
|
48
|
-
Defaults: {};
|
|
49
|
-
}, Readonly< ExtractPropTypes<{
|
|
50
|
-
invertOrder: {
|
|
51
|
-
type: PropType<boolean>;
|
|
52
|
-
};
|
|
53
|
-
disabled: {
|
|
54
|
-
type: PropType<boolean>;
|
|
55
|
-
};
|
|
56
|
-
iconName: {
|
|
57
|
-
type: PropType<TIconName>;
|
|
58
|
-
};
|
|
59
|
-
title: {
|
|
60
|
-
type: PropType<string>;
|
|
61
|
-
};
|
|
62
|
-
description: {
|
|
63
|
-
type: PropType<string>;
|
|
64
|
-
};
|
|
65
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
66
|
-
__isFragment?: never;
|
|
67
|
-
__isTeleport?: never;
|
|
68
|
-
__isSuspense?: never;
|
|
69
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
70
|
-
invertOrder: {
|
|
71
|
-
type: PropType<boolean>;
|
|
72
|
-
};
|
|
73
|
-
disabled: {
|
|
74
|
-
type: PropType<boolean>;
|
|
75
|
-
};
|
|
76
|
-
iconName: {
|
|
77
|
-
type: PropType<TIconName>;
|
|
78
|
-
};
|
|
79
|
-
title: {
|
|
80
|
-
type: PropType<string>;
|
|
81
|
-
};
|
|
82
|
-
description: {
|
|
83
|
-
type: PropType<string>;
|
|
84
|
-
};
|
|
85
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
86
|
-
$slots: {
|
|
87
|
-
iconSlot?(_: {}): any;
|
|
88
|
-
titleSlot?(_: {}): any;
|
|
89
|
-
descriptionSlot?(_: {}): any;
|
|
90
|
-
};
|
|
91
|
-
});
|
|
92
|
-
export default deprecatedDefault;
|
|
93
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-cta/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,SAAS,EAAE,CAAC;AACrB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAY,CAAC;AACpC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-card-cta/index.ts"],"sourcesContent":["import UiCardCta from \"./ui-card-cta.vue\";\n\nexport { UiCardCta };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiCardCta;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiCardCta"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { TIconName } from '../ui-icon';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare function __VLS_template(): {
|
|
5
|
-
iconSlot?(_: {}): any;
|
|
6
|
-
titleSlot?(_: {}): any;
|
|
7
|
-
descriptionSlot?(_: {}): any;
|
|
8
|
-
};
|
|
9
|
-
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
invertOrder?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
iconName?: TIconName;
|
|
13
|
-
title?: string;
|
|
14
|
-
description?: string;
|
|
15
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
-
invertOrder?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
iconName?: TIconName;
|
|
19
|
-
title?: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
}>>>, {}, {}>;
|
|
22
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
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_WithTemplateSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
//# sourceMappingURL=ui-card-cta.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-cta.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-cta/ui-card-cta.vue"],"names":[],"mappings":"AAkEA;AAOC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAgB7C,iBAAS,cAAc;sBA2IQ,GAAG;uBACF,GAAG;6BACG,GAAG;EAKxC;AAoBD,QAAA,MAAM,eAAe;kBAML,OAAO;eACV,OAAO;eACP,SAAS;YACZ,MAAM;kBACA,MAAM;;kBAJN,OAAO;eACV,OAAO;eACP,SAAS;YACZ,MAAM;kBACA,MAAM;aAEpB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, openBlock as a, createElementBlock as u, createElementVNode as d, normalizeClass as s, renderSlot as o, createVNode as t, unref as r, withCtx as i, createBlock as f, createCommentVNode as b, createTextVNode as l, toDisplayString as n } from "vue";
|
|
2
|
-
import c from "../ui-typography/index.js";
|
|
3
|
-
import g from "../ui-icon/index.js";
|
|
4
|
-
import y from "../ui-icon-wrapper/index.js";
|
|
5
|
-
import { EColors as p } from "../../_types/colors.js";
|
|
6
|
-
import { ESize as h } from "../../_types/sizing.js";
|
|
7
|
-
import { ETypographySizes as S } from "../ui-typography/_typings.js";
|
|
8
|
-
const N = ["disabled"], $ = /* @__PURE__ */ m({
|
|
9
|
-
__name: "ui-card-cta",
|
|
10
|
-
props: {
|
|
11
|
-
invertOrder: { type: Boolean },
|
|
12
|
-
disabled: { type: Boolean },
|
|
13
|
-
iconName: {},
|
|
14
|
-
title: {},
|
|
15
|
-
description: {}
|
|
16
|
-
},
|
|
17
|
-
setup(k) {
|
|
18
|
-
return (e, v) => (a(), u("button", {
|
|
19
|
-
class: "ui-card-cta group w-full rounded-2xl border border-secondary-alt-500 bg-white p-sm text-left shadow-md outline-0 hover:border-secondary-700 focus:shadow-border-primary active:bg-secondary-alt-200 disabled:pointer-events-none disabled:bg-secondary-alt-200",
|
|
20
|
-
disabled: e.disabled
|
|
21
|
-
}, [
|
|
22
|
-
d("span", {
|
|
23
|
-
class: s(["group-disabled:opcity-50 grid w-full items-center gap-sm", {
|
|
24
|
-
"grid-cols-[auto,1fr]": !e.invertOrder,
|
|
25
|
-
"grid-cols-[1fr,auto]": e.invertOrder
|
|
26
|
-
}])
|
|
27
|
-
}, [
|
|
28
|
-
o(e.$slots, "iconSlot", {}, () => [
|
|
29
|
-
t(r(y), null, {
|
|
30
|
-
default: i(() => [
|
|
31
|
-
e.iconName ? (a(), f(r(g), {
|
|
32
|
-
key: 0,
|
|
33
|
-
"icon-name": e.iconName,
|
|
34
|
-
size: r(h).SM,
|
|
35
|
-
class: "text-secondary-400"
|
|
36
|
-
}, null, 8, ["icon-name", "size"])) : b("", !0)
|
|
37
|
-
]),
|
|
38
|
-
_: 1
|
|
39
|
-
})
|
|
40
|
-
]),
|
|
41
|
-
d("span", {
|
|
42
|
-
class: s(["w-full", e.invertOrder && "order-first"])
|
|
43
|
-
}, [
|
|
44
|
-
o(e.$slots, "titleSlot", {}, () => [
|
|
45
|
-
t(r(c), {
|
|
46
|
-
kind: r(p).SECONDARY_400,
|
|
47
|
-
class: "mb-xxxs",
|
|
48
|
-
"line-height": ""
|
|
49
|
-
}, {
|
|
50
|
-
default: i(() => [
|
|
51
|
-
l(n(e.title), 1)
|
|
52
|
-
]),
|
|
53
|
-
_: 1
|
|
54
|
-
}, 8, ["kind"])
|
|
55
|
-
]),
|
|
56
|
-
o(e.$slots, "descriptionSlot", {}, () => [
|
|
57
|
-
t(r(c), {
|
|
58
|
-
kind: r(p).SECONDARY_300,
|
|
59
|
-
size: r(S).SM,
|
|
60
|
-
"line-height": ""
|
|
61
|
-
}, {
|
|
62
|
-
default: i(() => [
|
|
63
|
-
l(n(e.description), 1)
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["kind", "size"])
|
|
67
|
-
])
|
|
68
|
-
], 2)
|
|
69
|
-
], 2)
|
|
70
|
-
], 8, N));
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
export {
|
|
74
|
-
$ as default
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=ui-card-cta.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-cta.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-cta.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { default as UiCardResult } from './ui-card-result.vue';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
|
|
4
|
-
export { UiCardResult };
|
|
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[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
-
header: {
|
|
11
|
-
type: PropType<string>;
|
|
12
|
-
};
|
|
13
|
-
exclusiveText: {
|
|
14
|
-
type: PropType<string>;
|
|
15
|
-
};
|
|
16
|
-
exclusiveTextBottom: {
|
|
17
|
-
type: PropType<string>;
|
|
18
|
-
};
|
|
19
|
-
exclusiveClickAction: {
|
|
20
|
-
type: PropType<() => void>;
|
|
21
|
-
};
|
|
22
|
-
exclusiveBottomClickAction: {
|
|
23
|
-
type: PropType<() => void>;
|
|
24
|
-
};
|
|
25
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
26
|
-
header: {
|
|
27
|
-
type: PropType<string>;
|
|
28
|
-
};
|
|
29
|
-
exclusiveText: {
|
|
30
|
-
type: PropType<string>;
|
|
31
|
-
};
|
|
32
|
-
exclusiveTextBottom: {
|
|
33
|
-
type: PropType<string>;
|
|
34
|
-
};
|
|
35
|
-
exclusiveClickAction: {
|
|
36
|
-
type: PropType<() => void>;
|
|
37
|
-
};
|
|
38
|
-
exclusiveBottomClickAction: {
|
|
39
|
-
type: PropType<() => void>;
|
|
40
|
-
};
|
|
41
|
-
}>>, {}, true, {}, {}, {
|
|
42
|
-
P: {};
|
|
43
|
-
B: {};
|
|
44
|
-
D: {};
|
|
45
|
-
C: {};
|
|
46
|
-
M: {};
|
|
47
|
-
Defaults: {};
|
|
48
|
-
}, Readonly< ExtractPropTypes<{
|
|
49
|
-
header: {
|
|
50
|
-
type: PropType<string>;
|
|
51
|
-
};
|
|
52
|
-
exclusiveText: {
|
|
53
|
-
type: PropType<string>;
|
|
54
|
-
};
|
|
55
|
-
exclusiveTextBottom: {
|
|
56
|
-
type: PropType<string>;
|
|
57
|
-
};
|
|
58
|
-
exclusiveClickAction: {
|
|
59
|
-
type: PropType<() => void>;
|
|
60
|
-
};
|
|
61
|
-
exclusiveBottomClickAction: {
|
|
62
|
-
type: PropType<() => void>;
|
|
63
|
-
};
|
|
64
|
-
}>>, {}, {}, {}, {}, {}>;
|
|
65
|
-
__isFragment?: never;
|
|
66
|
-
__isTeleport?: never;
|
|
67
|
-
__isSuspense?: never;
|
|
68
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
69
|
-
header: {
|
|
70
|
-
type: PropType<string>;
|
|
71
|
-
};
|
|
72
|
-
exclusiveText: {
|
|
73
|
-
type: PropType<string>;
|
|
74
|
-
};
|
|
75
|
-
exclusiveTextBottom: {
|
|
76
|
-
type: PropType<string>;
|
|
77
|
-
};
|
|
78
|
-
exclusiveClickAction: {
|
|
79
|
-
type: PropType<() => void>;
|
|
80
|
-
};
|
|
81
|
-
exclusiveBottomClickAction: {
|
|
82
|
-
type: PropType<() => void>;
|
|
83
|
-
};
|
|
84
|
-
}>>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
85
|
-
$slots: {
|
|
86
|
-
sidebar?(_: {}): any;
|
|
87
|
-
default?(_: {}): any;
|
|
88
|
-
};
|
|
89
|
-
});
|
|
90
|
-
export default deprecatedDefault;
|
|
91
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-result/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAEhD,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-card-result/index.ts"],"sourcesContent":["import UiCardResult from \"./ui-card-result.vue\";\n\nexport { UiCardResult };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiCardResult;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiCardResult"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
sidebar?(_: {}): any;
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_component: DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
header?: string;
|
|
8
|
-
exclusiveText?: string;
|
|
9
|
-
exclusiveTextBottom?: string;
|
|
10
|
-
exclusiveClickAction?: () => void;
|
|
11
|
-
exclusiveBottomClickAction?: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
|
-
header?: string;
|
|
14
|
-
exclusiveText?: string;
|
|
15
|
-
exclusiveTextBottom?: string;
|
|
16
|
-
exclusiveClickAction?: () => void;
|
|
17
|
-
exclusiveBottomClickAction?: () => void;
|
|
18
|
-
}>>>, {}, {}>;
|
|
19
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
-
} : {
|
|
26
|
-
type: PropType<T[K]>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
-
new (): {
|
|
32
|
-
$slots: S;
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
//# sourceMappingURL=ui-card-result.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-result.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-result/ui-card-result.vue"],"names":[],"mappings":"AAwFA;AAmBA,iBAAS,cAAc;qBA2LO,GAAG;qBACH,GAAG;EAGhC;AAmBD,QAAA,MAAM,eAAe;aAMV,MAAM;oBACC,MAAM;0BACA,MAAM;2BACL,MAAM,IAAI;iCACJ,MAAM,IAAI;;aAJ9B,MAAM;oBACC,MAAM;0BACA,MAAM;2BACL,MAAM,IAAI;iCACJ,MAAM,IAAI;aAEvC,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".ui-card-result__header[data-v-bb3d632d]{grid-template-columns:1fr auto}.line-clamp[data-v-bb3d632d]{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}")),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
|
|
2
|
-
import o from "./ui-card-result.vue2.js";
|
|
3
|
-
|
|
4
|
-
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-bb3d632d"]]);
|
|
6
|
-
export {
|
|
7
|
-
m as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=ui-card-result.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-result.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { defineComponent as k, openBlock as o, createElementBlock as l, createVNode as p, unref as e, withCtx as r, createTextVNode as n, toDisplayString as d, createCommentVNode as a, createElementVNode as c, createBlock as f, renderSlot as g } from "vue";
|
|
2
|
-
import u from "../ui-typography/ui-typography.vue.js";
|
|
3
|
-
import { ETypographySizes as m, ETextAlign as h, ETextWeight as v } from "../ui-typography/_typings.js";
|
|
4
|
-
import { EColors as x } from "../../_types/colors.js";
|
|
5
|
-
const y = { class: "ui-card-result" }, C = { class: "relative grid overflow-hidden rounded-2xl border border-secondary-alt-400 bg-white" }, b = { class: "ui-card-result__header m-xxs mb-sm grid items-center justify-between gap-xxs rounded-xl bg-secondary-alt-200 p-xxs" }, E = { class: "w-full overflow-hidden bg-white p-sm pt-0" }, N = /* @__PURE__ */ k({
|
|
6
|
-
__name: "ui-card-result",
|
|
7
|
-
props: {
|
|
8
|
-
header: {},
|
|
9
|
-
exclusiveText: {},
|
|
10
|
-
exclusiveTextBottom: {},
|
|
11
|
-
exclusiveClickAction: { type: Function },
|
|
12
|
-
exclusiveBottomClickAction: { type: Function }
|
|
13
|
-
},
|
|
14
|
-
setup(T) {
|
|
15
|
-
return (i, t) => (o(), l("div", y, [
|
|
16
|
-
i.exclusiveText ? (o(), l("div", {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "-mb-xl rounded-2xl bg-primary px-sm pb-xl",
|
|
19
|
-
onClick: t[0] || (t[0] = //@ts-ignore
|
|
20
|
-
(...s) => i.exclusiveClickAction && i.exclusiveClickAction(...s))
|
|
21
|
-
}, [
|
|
22
|
-
p(e(u), {
|
|
23
|
-
class: "py-xxs",
|
|
24
|
-
"line-height": "",
|
|
25
|
-
size: e(m).XXS,
|
|
26
|
-
kind: e(x).WHITE,
|
|
27
|
-
align: e(h).CENTER,
|
|
28
|
-
weight: e(v).SEMI_BOLD
|
|
29
|
-
}, {
|
|
30
|
-
default: r(() => [
|
|
31
|
-
n(d(i.exclusiveText), 1)
|
|
32
|
-
]),
|
|
33
|
-
_: 1
|
|
34
|
-
}, 8, ["size", "kind", "align", "weight"])
|
|
35
|
-
])) : a("", !0),
|
|
36
|
-
c("div", C, [
|
|
37
|
-
c("div", b, [
|
|
38
|
-
i.header ? (o(), f(e(u), {
|
|
39
|
-
key: 0,
|
|
40
|
-
"line-height": "",
|
|
41
|
-
class: "line-clamp flex-1",
|
|
42
|
-
size: e(m).SM,
|
|
43
|
-
weight: e(v).BOLD,
|
|
44
|
-
kind: e(x).SECONDARY
|
|
45
|
-
}, {
|
|
46
|
-
default: r(() => [
|
|
47
|
-
n(d(i.header), 1)
|
|
48
|
-
]),
|
|
49
|
-
_: 1
|
|
50
|
-
}, 8, ["size", "weight", "kind"])) : a("", !0),
|
|
51
|
-
g(i.$slots, "sidebar", {}, void 0, !0)
|
|
52
|
-
]),
|
|
53
|
-
c("main", E, [
|
|
54
|
-
g(i.$slots, "default", {}, void 0, !0)
|
|
55
|
-
])
|
|
56
|
-
]),
|
|
57
|
-
i.exclusiveTextBottom ? (o(), l("div", {
|
|
58
|
-
key: 1,
|
|
59
|
-
class: "-mt-xl rounded-2xl border border-secondary-alt-400 bg-secondary-alt-200 px-sm pt-xl",
|
|
60
|
-
onClick: t[1] || (t[1] = //@ts-ignore
|
|
61
|
-
(...s) => i.exclusiveBottomClickAction && i.exclusiveBottomClickAction(...s))
|
|
62
|
-
}, [
|
|
63
|
-
p(e(u), {
|
|
64
|
-
class: "py-xxs",
|
|
65
|
-
size: e(m).XXS,
|
|
66
|
-
kind: e(x).SECONDARY,
|
|
67
|
-
align: e(h).CENTER,
|
|
68
|
-
"line-height": ""
|
|
69
|
-
}, {
|
|
70
|
-
default: r(() => [
|
|
71
|
-
n(d(i.exclusiveTextBottom), 1)
|
|
72
|
-
]),
|
|
73
|
-
_: 1
|
|
74
|
-
}, 8, ["size", "kind", "align"])
|
|
75
|
-
])) : a("", !0)
|
|
76
|
-
]));
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
|
-
export {
|
|
80
|
-
N as default
|
|
81
|
-
};
|
|
82
|
-
//# sourceMappingURL=ui-card-result.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-result.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_typings.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/_typings.ts"],"names":[],"mappings":"AAAA,oBAAY,UAAU;IACrB,OAAO,YAAY;IACnB,QAAQ,aAAa;CAErB"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { default as UiCardSimple } from './ui-card-simple.vue';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
|
|
4
|
-
export { UiCardSimple };
|
|
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[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{}>>, {}, true, {}, {}, {
|
|
10
|
-
P: {};
|
|
11
|
-
B: {};
|
|
12
|
-
D: {};
|
|
13
|
-
C: {};
|
|
14
|
-
M: {};
|
|
15
|
-
Defaults: {};
|
|
16
|
-
}, Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, {}>;
|
|
17
|
-
__isFragment?: never;
|
|
18
|
-
__isTeleport?: never;
|
|
19
|
-
__isSuspense?: never;
|
|
20
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
21
|
-
$slots: {
|
|
22
|
-
title?(_: {}): any;
|
|
23
|
-
default?(_: {}): any;
|
|
24
|
-
footer?(_: {}): any;
|
|
25
|
-
};
|
|
26
|
-
});
|
|
27
|
-
export default deprecatedDefault;
|
|
28
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/index.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,YAAY,EAAE,CAAC;AAExB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;EAAe,CAAC;AACvC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-card-simple/index.ts"],"sourcesContent":["import UiCardSimple from \"./ui-card-simple.vue\";\nexport { UiCardSimple };\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiCardSimple;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiCardSimple"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
title?(_: {}): any;
|
|
4
|
-
default?(_: {}): any;
|
|
5
|
-
footer?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
declare const __VLS_component: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{}>>, {}, {}>;
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
-
new (): {
|
|
12
|
-
$slots: S;
|
|
13
|
-
};
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=ui-card-simple.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-card-simple.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-card-simple/ui-card-simple.vue"],"names":[],"mappings":"AAgCA;AAYA,iBAAS,cAAc;mBAsFK,GAAG;qBACD,GAAG;oBACJ,GAAG;EAG/B;AAWD,QAAA,MAAM,eAAe,0NAKnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
|