bonkers-ui 1.0.73 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 -3
- 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/{ui-checkbox → UiCheckbox}/_types.js +1 -1
- 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 +86 -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 -42
- package/index.js +36 -207
- package/index.js.map +1 -1
- package/package.json +106 -110
- package/plugin.ts +5 -2
- package/{postcss.config.js → postcss.config.mjs} +2 -1
- package/src/_styles/_shadow.json +2 -1
- package/tailwind.config.ts +6 -4
- package/.eslintrc.js +0 -127
- package/.stylelintrc +0 -24
- package/CONSTANTS.d.ts +0 -3
- 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 -60
- 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 -35
- 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 -104
- 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 -59
- 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 -31
- 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 -34
- 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 -112
- 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 -59
- 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 -92
- 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 -42
- 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-order/index.d.ts +0 -3
- package/components/ui-card-order/index.d.ts.map +0 -1
- package/components/ui-card-order/ui-card-order.vue.d.ts +0 -43
- package/components/ui-card-order/ui-card-order.vue.d.ts.map +0 -1
- package/components/ui-card-result/index.d.ts +0 -90
- 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 -40
- 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 -27
- 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 -20
- 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/_types.d.ts +0 -5
- package/components/ui-checkbox/_types.d.ts.map +0 -1
- package/components/ui-checkbox/_types.js.map +0 -1
- package/components/ui-checkbox/index.d.ts +0 -150
- 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 -70
- 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 -81
- 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 -106
- 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 -57
- 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 -34
- 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 -35
- 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 -72
- 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 -49
- 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 -300
- 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 -113
- 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 -47
- 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 -150
- 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 -73
- 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 -3
- 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 -24
- 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 -75
- 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 -25
- 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 -18
- 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 -54
- 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 -53
- 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 -46
- 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 -71
- 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 -51
- 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 -126
- 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 -46
- 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 -37
- 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 -54
- 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 -126
- 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 -46
- 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 -104
- 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 -41
- 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 -144
- 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 -64
- 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 -54
- 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 -34
- 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 -25
- 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 -20
- 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 -96
- 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 -44
- 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 -22
- 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 -32
- 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 -71
- 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 -50
- 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 -56
- 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 -55
- 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 -35
- 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 -43
- 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 -32
- 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 -46
- 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 -41
- 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 -130
- 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 -48
- 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 -78
- 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 -129
- 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 -47
- 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 -69
- 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 -37
- 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/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,37 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare function __VLS_template(): {
|
|
3
|
-
slots: {
|
|
4
|
-
header?(_: {}): any;
|
|
5
|
-
title?(_: {}): any;
|
|
6
|
-
subtitle?(_: {}): any;
|
|
7
|
-
};
|
|
8
|
-
refs: {};
|
|
9
|
-
attrs: Partial<{}>;
|
|
10
|
-
};
|
|
11
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
|
|
13
|
-
badgeText?: string;
|
|
14
|
-
title?: string;
|
|
15
|
-
subtitle?: string;
|
|
16
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
17
|
-
badgeText?: string;
|
|
18
|
-
title?: string;
|
|
19
|
-
subtitle?: string;
|
|
20
|
-
}>>>, {}, {}>;
|
|
21
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
|
-
export default _default;
|
|
23
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
-
type __VLS_TypePropsToOption<T> = {
|
|
25
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
-
} : {
|
|
28
|
-
type: PropType<T[K]>;
|
|
29
|
-
required: true;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
//# sourceMappingURL=ui-product-card.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-product-card.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-product-card/ui-product-card.vue"],"names":[],"mappings":";AAoFA,iBAAS,cAAc;;wBA8EK,GAAG;uBACJ,GAAG;0BACC,GAAG;;;WASpB,OAAO,IAA6B;EAEjD;AAeD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;gBAtHP,MAAM;YACV,MAAM;eACH,MAAM;;gBAFL,MAAM;YACV,MAAM;eACH,MAAM;aA0HjB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { defineComponent as g, openBlock as i, createElementBlock as m, createBlock as r, unref as e, withCtx as o, createTextVNode as l, toDisplayString as s, createCommentVNode as a, renderSlot as d, createElementVNode as f } from "vue";
|
|
2
|
-
import n from "../ui-typography/index.js";
|
|
3
|
-
import c from "../ui-badge/index.js";
|
|
4
|
-
import { EBadgeKind as h } from "../ui-badge/_typings.js";
|
|
5
|
-
import { ETypographySizes as p, ETextWeight as b, ETextAlign as u } from "../ui-typography/_typings.js";
|
|
6
|
-
import { EColors as E } from "../../_types/colors.js";
|
|
7
|
-
const T = { class: "relative flex flex-col gap-sm rounded-2xl border border-secondary-alt-500 bg-white px-xs py-sm" }, k = { class: "grid gap-xxs" }, S = /* @__PURE__ */ g({
|
|
8
|
-
__name: "ui-product-card",
|
|
9
|
-
props: {
|
|
10
|
-
badgeText: {},
|
|
11
|
-
title: {},
|
|
12
|
-
subtitle: {}
|
|
13
|
-
},
|
|
14
|
-
setup(x) {
|
|
15
|
-
return (t, y) => (i(), m("div", T, [
|
|
16
|
-
t.badgeText ? (i(), r(e(c), {
|
|
17
|
-
key: 0,
|
|
18
|
-
class: "!absolute -top-xxs right-xs",
|
|
19
|
-
kind: e(h).ACCENT_ALT,
|
|
20
|
-
rounded: ""
|
|
21
|
-
}, {
|
|
22
|
-
default: o(() => [
|
|
23
|
-
l(s(t.badgeText), 1)
|
|
24
|
-
]),
|
|
25
|
-
_: 1
|
|
26
|
-
}, 8, ["kind"])) : a("", !0),
|
|
27
|
-
d(t.$slots, "header"),
|
|
28
|
-
f("div", k, [
|
|
29
|
-
d(t.$slots, "title", {}, () => [
|
|
30
|
-
t.title ? (i(), r(e(n), {
|
|
31
|
-
key: 0,
|
|
32
|
-
size: e(p).MD,
|
|
33
|
-
weight: e(b).BOLD,
|
|
34
|
-
align: e(u).LEFT,
|
|
35
|
-
"line-height": ""
|
|
36
|
-
}, {
|
|
37
|
-
default: o(() => [
|
|
38
|
-
l(s(t.title), 1)
|
|
39
|
-
]),
|
|
40
|
-
_: 1
|
|
41
|
-
}, 8, ["size", "weight", "align"])) : a("", !0)
|
|
42
|
-
]),
|
|
43
|
-
d(t.$slots, "subtitle", {}, () => [
|
|
44
|
-
t.subtitle ? (i(), r(e(n), {
|
|
45
|
-
key: 0,
|
|
46
|
-
size: e(p).XS,
|
|
47
|
-
align: e(u).LEFT,
|
|
48
|
-
kind: e(E).SECONDARY_400,
|
|
49
|
-
"line-height": ""
|
|
50
|
-
}, {
|
|
51
|
-
default: o(() => [
|
|
52
|
-
l(s(t.subtitle), 1)
|
|
53
|
-
]),
|
|
54
|
-
_: 1
|
|
55
|
-
}, 8, ["size", "align", "kind"])) : a("", !0)
|
|
56
|
-
])
|
|
57
|
-
])
|
|
58
|
-
]));
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
export {
|
|
62
|
-
S as default
|
|
63
|
-
};
|
|
64
|
-
//# sourceMappingURL=ui-product-card.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-product-card.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-product-card.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_types.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/_types.ts"],"names":[],"mappings":""}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { default as UiProgress } from './ui-progress.vue';
|
|
2
|
-
import { DefineComponent, PropType, ComponentOptionsMixin, PublicProps, ExtractPropTypes } from 'vue';
|
|
3
|
-
export { UiProgress };
|
|
4
|
-
/**
|
|
5
|
-
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
6
|
-
*/
|
|
7
|
-
declare const deprecatedDefault: DefineComponent<{
|
|
8
|
-
min: {
|
|
9
|
-
type: PropType<number>;
|
|
10
|
-
required: true;
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
max: {
|
|
14
|
-
type: PropType<number>;
|
|
15
|
-
required: true;
|
|
16
|
-
default: number;
|
|
17
|
-
};
|
|
18
|
-
current: {
|
|
19
|
-
type: PropType<number>;
|
|
20
|
-
required: true;
|
|
21
|
-
default: number;
|
|
22
|
-
};
|
|
23
|
-
progressText: {
|
|
24
|
-
type: PropType<string>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
28
|
-
min: {
|
|
29
|
-
type: PropType<number>;
|
|
30
|
-
required: true;
|
|
31
|
-
default: number;
|
|
32
|
-
};
|
|
33
|
-
max: {
|
|
34
|
-
type: PropType<number>;
|
|
35
|
-
required: true;
|
|
36
|
-
default: number;
|
|
37
|
-
};
|
|
38
|
-
current: {
|
|
39
|
-
type: PropType<number>;
|
|
40
|
-
required: true;
|
|
41
|
-
default: number;
|
|
42
|
-
};
|
|
43
|
-
progressText: {
|
|
44
|
-
type: PropType<string>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
}>>, {
|
|
48
|
-
min: number;
|
|
49
|
-
max: number;
|
|
50
|
-
current: number;
|
|
51
|
-
progressText: string;
|
|
52
|
-
}, {}>;
|
|
53
|
-
export default deprecatedDefault;
|
|
54
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/index.ts"],"names":[],"mappings":";AAAA,OAAO,UAAU,MAAM,mBAAmB,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAE,CAAC;AAEtB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAAa,CAAC;AACrC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-progress/index.ts"],"sourcesContent":["import UiProgress from \"./ui-progress.vue\";\n\nexport { UiProgress };\n\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiProgress;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiProgress"],"mappings":";AAOA,MAAMA,IAAoBC;"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
3
|
-
min: number;
|
|
4
|
-
max: number;
|
|
5
|
-
current: number;
|
|
6
|
-
progressText?: string;
|
|
7
|
-
}>, {
|
|
8
|
-
min: number;
|
|
9
|
-
max: number;
|
|
10
|
-
current: number;
|
|
11
|
-
progressText: string;
|
|
12
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
|
|
13
|
-
min: number;
|
|
14
|
-
max: number;
|
|
15
|
-
current: number;
|
|
16
|
-
progressText?: string;
|
|
17
|
-
}>, {
|
|
18
|
-
min: number;
|
|
19
|
-
max: number;
|
|
20
|
-
current: number;
|
|
21
|
-
progressText: string;
|
|
22
|
-
}>>>, {
|
|
23
|
-
min: number;
|
|
24
|
-
max: number;
|
|
25
|
-
current: number;
|
|
26
|
-
progressText: string;
|
|
27
|
-
}, {}>;
|
|
28
|
-
export default _default;
|
|
29
|
-
type __VLS_WithDefaults<P, D> = {
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type __VLS_PrettifyLocal<T> = {
|
|
44
|
-
[K in keyof T]: T[K];
|
|
45
|
-
} & {};
|
|
46
|
-
//# sourceMappingURL=ui-progress.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-progress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-progress/ui-progress.vue"],"names":[],"mappings":";;SAgEO,MAAM;SACN,MAAM;aACF,MAAM;mBACA,MAAM;;;;;;;SAHhB,MAAM;SACN,MAAM;aACF,MAAM;mBACA,MAAM;;;;;;;SAHhB,MAAM;SACN,MAAM;aACF,MAAM;kBACA,MAAM;;AAwGvB,wBAMG;AAKH,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAC9B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAC7C,mBAAmB,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QAAE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KAAC,CAAC,GAC5C,CAAC,CAAC,CAAC,CAAC;CACP,CAAC;AACF,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, computed as a, openBlock as o, createElementBlock as d, createElementVNode as l, normalizeStyle as m, createBlock as u, unref as t, withCtx as c, createTextVNode as p, toDisplayString as f, createCommentVNode as _ } from "vue";
|
|
2
|
-
import g from "../ui-typography/ui-typography.vue.js";
|
|
3
|
-
import { ETextAlign as x, ETextWeight as h } from "../ui-typography/_typings.js";
|
|
4
|
-
import { EColors as T } from "../../_types/colors.js";
|
|
5
|
-
const k = { class: "ui-progress" }, v = { class: "relative h-xxs w-full overflow-hidden rounded-xl bg-primary-200" }, C = /* @__PURE__ */ n({
|
|
6
|
-
__name: "ui-progress",
|
|
7
|
-
props: {
|
|
8
|
-
min: { default: 0 },
|
|
9
|
-
max: { default: 100 },
|
|
10
|
-
current: { default: 0 },
|
|
11
|
-
progressText: { default: "" }
|
|
12
|
-
},
|
|
13
|
-
setup(i) {
|
|
14
|
-
const e = i, s = a(() => (e.current - e.min) / (e.max - e.min) * 100);
|
|
15
|
-
return (r, w) => (o(), d("div", k, [
|
|
16
|
-
l("div", v, [
|
|
17
|
-
l("div", {
|
|
18
|
-
class: "ui-progress__bar-fill absolute left-0 top-0 z-10 h-full rounded-xl bg-primary-alt-700 transition-all duration-300",
|
|
19
|
-
style: m({
|
|
20
|
-
width: s.value + "%"
|
|
21
|
-
})
|
|
22
|
-
}, null, 4)
|
|
23
|
-
]),
|
|
24
|
-
r.progressText ? (o(), u(t(g), {
|
|
25
|
-
key: 0,
|
|
26
|
-
kind: t(T).PRIMARY_ALT_700,
|
|
27
|
-
align: t(x).RIGHT,
|
|
28
|
-
weight: t(h).SEMI_BOLD,
|
|
29
|
-
class: "mt-xxs"
|
|
30
|
-
}, {
|
|
31
|
-
default: c(() => [
|
|
32
|
-
p(f(r.progressText), 1)
|
|
33
|
-
]),
|
|
34
|
-
_: 1
|
|
35
|
-
}, 8, ["kind", "align", "weight"])) : _("", !0)
|
|
36
|
-
]));
|
|
37
|
-
}
|
|
38
|
-
});
|
|
39
|
-
export {
|
|
40
|
-
C as default
|
|
41
|
-
};
|
|
42
|
-
//# sourceMappingURL=ui-progress.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-progress.vue.js","sources":["../../../src/components/ui-progress/ui-progress.vue"],"sourcesContent":["<template>\n\t<div class=\"ui-progress\">\n\t\t<div\n\t\t\tclass=\"relative h-xxs w-full overflow-hidden rounded-xl bg-primary-200\"\n\t\t>\n\t\t\t<div\n\t\t\t\tclass=\"\n\t\t\t\t\tui-progress__bar-fill\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-0\n\t\t\t\t\ttop-0\n\t\t\t\t\tz-10\n\t\t\t\t\th-full\n\t\t\t\t\trounded-xl\n\t\t\t\t\tbg-primary-alt-700\n\t\t\t\t\ttransition-all\n\t\t\t\t\tduration-300\n\t\t\t\t\t\"\n\t\t\t\t:style=\"{\n\t\t\t\t\twidth: filler + '%'\n\t\t\t\t}\"\n\t\t\t/>\n\t\t</div>\n\n\t\t<ui-typography\n\t\t\tv-if=\"progressText\"\n\t\t\t:kind=\"EColors.PRIMARY_ALT_700\"\n\t\t\t:align=\"ETextAlign.RIGHT\"\n\t\t\t:weight=\"ETextWeight.SEMI_BOLD\"\n\t\t\tclass=\"mt-xxs\"\n\t\t>\n\t\t\t{{ progressText }}\n\t\t</ui-typography>\n\t</div>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed } from \"vue\";\n\timport { UiTypography, EColors, ETextAlign, ETextWeight } from \"../ui-typography\";\n\n\tconst props = withDefaults(defineProps<{\n\t\tmin: number\n\t\tmax: number\n\t\tcurrent: number\n\t\tprogressText?: string\n\t}>(),{\n\t\tmin: 0,\n\t\tmax: 100,\n\t\tcurrent: 0,\n\t\tprogressText: \"\"\n\t});\n\n\tconst filler = computed(() => {\n\t\treturn ((props.current - props.min) / (props.max - props.min)) * 100;\n\t});\n</script>\n"],"names":["props","__props","filler","computed"],"mappings":";;;;;;;;;;;;;AAwCC,UAAMA,IAAQC,GAYRC,IAASC,EAAS,OACdH,EAAM,UAAUA,EAAM,QAAQA,EAAM,MAAMA,EAAM,OAAQ,GACjE;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-progress.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { default as UiRadio } from './ui-radio.vue';
|
|
2
|
-
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase } from 'vue';
|
|
3
|
-
import { EJustify } from '../../types';
|
|
4
|
-
export { UiRadio };
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The default should not be used - use named import as - import {[name]} from "ui/[name]"
|
|
7
|
-
*/
|
|
8
|
-
declare const deprecatedDefault: {
|
|
9
|
-
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
10
|
-
modelValue: {
|
|
11
|
-
type: PropType<string | number | boolean>;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
name: {
|
|
15
|
-
type: PropType<string | number | boolean>;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
value: {
|
|
19
|
-
type: PropType<string>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
justify: {
|
|
23
|
-
type: PropType<EJustify>;
|
|
24
|
-
};
|
|
25
|
-
invertOrder: {
|
|
26
|
-
type: PropType<boolean>;
|
|
27
|
-
};
|
|
28
|
-
disabled: {
|
|
29
|
-
type: PropType<boolean>;
|
|
30
|
-
};
|
|
31
|
-
}>> & {
|
|
32
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
33
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
34
|
-
"update:modelValue": (...args: any[]) => void;
|
|
35
|
-
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
36
|
-
modelValue: {
|
|
37
|
-
type: PropType<string | number | boolean>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
name: {
|
|
41
|
-
type: PropType<string | number | boolean>;
|
|
42
|
-
required: true;
|
|
43
|
-
};
|
|
44
|
-
value: {
|
|
45
|
-
type: PropType<string>;
|
|
46
|
-
required: true;
|
|
47
|
-
};
|
|
48
|
-
justify: {
|
|
49
|
-
type: PropType<EJustify>;
|
|
50
|
-
};
|
|
51
|
-
invertOrder: {
|
|
52
|
-
type: PropType<boolean>;
|
|
53
|
-
};
|
|
54
|
-
disabled: {
|
|
55
|
-
type: PropType<boolean>;
|
|
56
|
-
};
|
|
57
|
-
}>> & {
|
|
58
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
59
|
-
}, {}, true, {}, {}, {
|
|
60
|
-
P: {};
|
|
61
|
-
B: {};
|
|
62
|
-
D: {};
|
|
63
|
-
C: {};
|
|
64
|
-
M: {};
|
|
65
|
-
Defaults: {};
|
|
66
|
-
}, Readonly< ExtractPropTypes<{
|
|
67
|
-
modelValue: {
|
|
68
|
-
type: PropType<string | number | boolean>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
name: {
|
|
72
|
-
type: PropType<string | number | boolean>;
|
|
73
|
-
required: true;
|
|
74
|
-
};
|
|
75
|
-
value: {
|
|
76
|
-
type: PropType<string>;
|
|
77
|
-
required: true;
|
|
78
|
-
};
|
|
79
|
-
justify: {
|
|
80
|
-
type: PropType<EJustify>;
|
|
81
|
-
};
|
|
82
|
-
invertOrder: {
|
|
83
|
-
type: PropType<boolean>;
|
|
84
|
-
};
|
|
85
|
-
disabled: {
|
|
86
|
-
type: PropType<boolean>;
|
|
87
|
-
};
|
|
88
|
-
}>> & {
|
|
89
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
}, {}, {}, {}, {}, {}>;
|
|
91
|
-
__isFragment?: never;
|
|
92
|
-
__isTeleport?: never;
|
|
93
|
-
__isSuspense?: never;
|
|
94
|
-
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
95
|
-
modelValue: {
|
|
96
|
-
type: PropType<string | number | boolean>;
|
|
97
|
-
required: true;
|
|
98
|
-
};
|
|
99
|
-
name: {
|
|
100
|
-
type: PropType<string | number | boolean>;
|
|
101
|
-
required: true;
|
|
102
|
-
};
|
|
103
|
-
value: {
|
|
104
|
-
type: PropType<string>;
|
|
105
|
-
required: true;
|
|
106
|
-
};
|
|
107
|
-
justify: {
|
|
108
|
-
type: PropType<EJustify>;
|
|
109
|
-
};
|
|
110
|
-
invertOrder: {
|
|
111
|
-
type: PropType<boolean>;
|
|
112
|
-
};
|
|
113
|
-
disabled: {
|
|
114
|
-
type: PropType<boolean>;
|
|
115
|
-
};
|
|
116
|
-
}>> & {
|
|
117
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
118
|
-
}, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
119
|
-
"update:modelValue": (...args: any[]) => void;
|
|
120
|
-
}, string, {}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
121
|
-
$slots: {
|
|
122
|
-
default?(_: {}): any;
|
|
123
|
-
};
|
|
124
|
-
});
|
|
125
|
-
export default deprecatedDefault;
|
|
126
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio/index.ts"],"names":[],"mappings":";;AAAA,OAAO,OAAO,MAAM,gBAAgB,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,CAAC;AACnB;;GAEG;AACH,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAU,CAAC;AAClC,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/ui-radio/index.ts"],"sourcesContent":["import UiRadio from \"./ui-radio.vue\";\n\nexport { UiRadio };\n/**\n * @deprecated The default should not be used - use named import as - import {[name]} from \"ui/[name]\"\n */\nconst deprecatedDefault = UiRadio;\nexport default deprecatedDefault;\n"],"names":["deprecatedDefault","UiRadio"],"mappings":";AAMA,MAAMA,IAAoBC;"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { EJustify } from '../../_types/align';
|
|
2
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue';
|
|
3
|
-
declare function __VLS_template(): {
|
|
4
|
-
slots: {
|
|
5
|
-
default?(_: {}): any;
|
|
6
|
-
};
|
|
7
|
-
refs: {};
|
|
8
|
-
attrs: Partial<{}>;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
-
declare const __VLS_component: DefineComponent<__VLS_TypePropsToOption<{
|
|
12
|
-
modelValue: string | number | boolean;
|
|
13
|
-
name: string | number | boolean;
|
|
14
|
-
value: string;
|
|
15
|
-
justify?: EJustify;
|
|
16
|
-
invertOrder?: boolean;
|
|
17
|
-
disabled?: boolean;
|
|
18
|
-
}>, {}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
-
"update:modelValue": (...args: any[]) => void;
|
|
20
|
-
}, string, PublicProps, Readonly< ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
21
|
-
modelValue: string | number | boolean;
|
|
22
|
-
name: string | number | boolean;
|
|
23
|
-
value: string;
|
|
24
|
-
justify?: EJustify;
|
|
25
|
-
invertOrder?: boolean;
|
|
26
|
-
disabled?: boolean;
|
|
27
|
-
}>>> & {
|
|
28
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
-
}, {}, {}>;
|
|
30
|
-
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToOption<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
-
new (): {
|
|
43
|
-
$slots: S;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
//# sourceMappingURL=ui-radio.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-radio.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ui-radio/ui-radio.vue"],"names":[],"mappings":";AA+GC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AA8B/C,iBAAS,cAAc;;yBAiFM,GAAG;;;WASlB,OAAO,IAA6B;EAEjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;gBAlIP,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM,GAAG,MAAM,GAAG,OAAO;WACxB,MAAM;cACH,QAAQ;kBACJ,OAAO;eACV,OAAO;;;;gBALN,MAAM,GAAG,MAAM,GAAG,OAAO;UAC/B,MAAM,GAAG,MAAM,GAAG,OAAO;WACxB,MAAM;cACH,QAAQ;kBACJ,OAAO;eACV,OAAO;;;UAoIlB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,uBAAuB,CAAC,CAAC,IAAI;KAChC,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GACpC;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAC9D;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CACzD,CAAC;AACF,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var d=document.createElement("style");d.appendChild(document.createTextNode(".ui-radio__dot[data-v-018dc013]{transform:translate3d(-50%,-50%,0) scale(0);transition:transform .2s ease-in-out}input:checked+.ui-radio_custom .ui-radio__dot[data-v-018dc013]{transform:translate3d(-50%,-50%,0) scale(1)}input:checked+.ui-radio_custom:hover .ui-radio__dot[data-v-018dc013]{background-color:var(--color-primary-600)}input:checked:disabled+.ui-radio_custom[data-v-018dc013]{border:2px solid var(--color-primary-300)}input:checked:disabled+.ui-radio_custom .ui-radio__dot[data-v-018dc013]{background-color:var(--color-primary-300)}")),document.head.appendChild(d)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import o from "./ui-radio.vue2.js";
|
|
3
|
-
|
|
4
|
-
import t from "../../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
-
const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-018dc013"]]);
|
|
6
|
-
export {
|
|
7
|
-
m as default
|
|
8
|
-
};
|
|
9
|
-
//# sourceMappingURL=ui-radio.vue.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-radio.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { defineComponent as c, useSlots as y, computed as f, openBlock as b, createElementBlock as v, normalizeClass as l, unref as o, withDirectives as j, createElementVNode as s, vModelRadio as g, renderSlot as h, pushScopeId as E, popScopeId as S } from "vue";
|
|
2
|
-
import { EJustify as r } from "../../_types/align.js";
|
|
3
|
-
const N = (t) => (E("data-v-018dc013"), t = t(), S(), t), k = ["id", "name", "value", "disabled"], B = /* @__PURE__ */ N(() => /* @__PURE__ */ s("span", { class: "ui-radio__dot absolute left-2/4 top-2/4 block size-xxs rounded-full bg-primary" }, null, -1)), V = [
|
|
4
|
-
B
|
|
5
|
-
], T = /* @__PURE__ */ c({
|
|
6
|
-
__name: "ui-radio",
|
|
7
|
-
props: {
|
|
8
|
-
modelValue: { type: [String, Number, Boolean] },
|
|
9
|
-
name: { type: [String, Number, Boolean] },
|
|
10
|
-
value: {},
|
|
11
|
-
justify: {},
|
|
12
|
-
invertOrder: { type: Boolean },
|
|
13
|
-
disabled: { type: Boolean }
|
|
14
|
-
},
|
|
15
|
-
emits: ["update:modelValue"],
|
|
16
|
-
setup(t, { emit: i }) {
|
|
17
|
-
const u = y(), n = t, p = i, a = f({
|
|
18
|
-
get() {
|
|
19
|
-
return n.modelValue;
|
|
20
|
-
},
|
|
21
|
-
set(e) {
|
|
22
|
-
p("update:modelValue", e);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
return (e, d) => (b(), v("label", {
|
|
26
|
-
class: l(["ui-radio group grid cursor-pointer grid-flow-col", [
|
|
27
|
-
o(u).default && "items-center gap-xxs",
|
|
28
|
-
(!e.justify || e.justify === o(r).START) && "justify-start",
|
|
29
|
-
e.justify === o(r).END && "justify-end",
|
|
30
|
-
e.justify === o(r).AROUND && "justify-around",
|
|
31
|
-
e.justify === o(r).BETWEEN && "justify-between",
|
|
32
|
-
e.justify === o(r).EVENLY && "justify-evenly",
|
|
33
|
-
e.justify === o(r).CENTER && "justify-center",
|
|
34
|
-
e.disabled && "pointer-events-none"
|
|
35
|
-
]])
|
|
36
|
-
}, [
|
|
37
|
-
j(s("input", {
|
|
38
|
-
id: e.value,
|
|
39
|
-
"onUpdate:modelValue": d[0] || (d[0] = (m) => a.value = m),
|
|
40
|
-
type: "radio",
|
|
41
|
-
name: e.name.toString(),
|
|
42
|
-
value: e.value,
|
|
43
|
-
disabled: e.disabled,
|
|
44
|
-
class: "peer absolute appearance-none"
|
|
45
|
-
}, null, 8, k), [
|
|
46
|
-
[g, a.value]
|
|
47
|
-
]),
|
|
48
|
-
s("span", {
|
|
49
|
-
class: l(["ui-radio_custom relative block size-md rounded-full border border-secondary-alt bg-white group-hover:border-secondary-alt-700 group-focus:border-secondary-alt-700 peer-checked:border-2 peer-checked:border-primary peer-checked:hover:border-primary-600 peer-focus:shadow-border-primary peer-disabled:border-secondary-alt-400 peer-disabled:bg-secondary-alt-200", e.invertOrder && "order-last"])
|
|
50
|
-
}, V, 2),
|
|
51
|
-
h(e.$slots, "default", {}, void 0, !0)
|
|
52
|
-
], 2));
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
export {
|
|
56
|
-
T as default
|
|
57
|
-
};
|
|
58
|
-
//# sourceMappingURL=ui-radio.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ui-radio.vue2.js","sources":["../../../src/components/ui-radio/ui-radio.vue"],"sourcesContent":["<template>\n\t<label\n\t\tclass=\"ui-radio group grid cursor-pointer grid-flow-col\"\n\t\t:class=\"[\n\t\t\tslots.default && 'items-center gap-xxs',\n\t\t\t(!justify || justify === EJustify.START) && 'justify-start',\n\t\t\tjustify === EJustify.END && 'justify-end',\n\t\t\tjustify === EJustify.AROUND && 'justify-around',\n\t\t\tjustify === EJustify.BETWEEN && 'justify-between',\n\t\t\tjustify === EJustify.EVENLY && 'justify-evenly',\n\t\t\tjustify === EJustify.CENTER && 'justify-center',\n\t\t\tdisabled && 'pointer-events-none',\n\t\t]\"\n\t>\n\t\t<input\n\t\t\t:id=\"value\"\n\t\t\tv-model=\"radioModel\"\n\t\t\ttype=\"radio\"\n\t\t\t:name=\"name.toString()\"\n\t\t\t:value=\"value\"\n\t\t\t:disabled=\"disabled\"\n\t\t\tclass=\"peer absolute appearance-none\"\n\t\t>\n\t\t<span\n\t\t\tclass=\"\n\t\t\t\tui-radio_custom\n\t\t\t\trelative\n\t\t\t\tblock\n\t\t\t\tsize-md\n\t\t\t\trounded-full\n\t\t\t\tborder\n\t\t\t\tborder-secondary-alt\n\t\t\t\tbg-white\n\t\t\t\tgroup-hover:border-secondary-alt-700\n\t\t\t\tgroup-focus:border-secondary-alt-700\n\t\t\t\tpeer-checked:border-2\n\t\t\t\tpeer-checked:border-primary\n\t\t\t\tpeer-checked:hover:border-primary-600\n\t\t\t\tpeer-focus:shadow-border-primary\n\t\t\t\tpeer-disabled:border-secondary-alt-400\n\t\t\t\tpeer-disabled:bg-secondary-alt-200\n\t\t\t\t\"\n\t\t\t:class=\"invertOrder && 'order-last'\"\n\t\t>\n\t\t\t<span\n\t\t\t\tclass=\"\n\t\t\t\t\tui-radio__dot\n\t\t\t\t\tabsolute\n\t\t\t\t\tleft-2/4\n\t\t\t\t\ttop-2/4\n\t\t\t\t\tblock\n\t\t\t\t\tsize-xxs\n\t\t\t\t\trounded-full\n\t\t\t\t\tbg-primary\n\t\t\t\t\t\"\n\t\t\t/>\n\t\t</span>\n\t\t<slot />\n\t</label>\n</template>\n\n<script lang=\"ts\" setup>\n\timport { computed, useSlots } from \"vue\";\n\timport { EJustify } from \"../../_types/align\";\n\tconst slots = useSlots();\n\tconst props = defineProps<{\n\t\tmodelValue: string | number | boolean;\n\t\tname: string | number | boolean;\n\t\tvalue: string;\n\t\tjustify?: EJustify;\n\t\tinvertOrder?: boolean;\n\t\tdisabled?: boolean;\n\t}>();\n\n\tconst emit = defineEmits([\"update:modelValue\"]);\n\n\tconst radioModel = computed({\n\t\tget() {\n\t\t\treturn props.modelValue;\n\t\t},\n\t\tset(value) {\n\t\t\temit(\"update:modelValue\", value);\n\t\t}\n\t});\n</script>\n\n<style scoped>\n\t.ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(0);\n\t\ttransition: transform 0.2s ease-in-out;\n\t}\n\n\tinput:checked + .ui-radio_custom .ui-radio__dot {\n\t\ttransform: translate3d(-50%, -50%, 0) scale(1);\n\t}\n\n\tinput:checked + .ui-radio_custom:hover .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-600);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom {\n\t\tborder: 2px solid var(--color-primary-300);\n\t}\n\n\tinput:checked:disabled + .ui-radio_custom .ui-radio__dot {\n\t\tbackground-color: var(--color-primary-300);\n\t}\n</style>\n"],"names":["slots","useSlots","props","__props","emit","__emit","radioModel","computed","value"],"mappings":";;;;;;;;;;;;;;;;AAgEC,UAAMA,IAAQC,KACRC,IAAQC,GASRC,IAAOC,GAEPC,IAAaC,EAAS;AAAA,MAC3B,MAAM;AACL,eAAOL,EAAM;AAAA,MACd;AAAA,MACA,IAAIM,GAAO;AACV,QAAAJ,EAAK,qBAAqBI,CAAK;AAAA,MAChC;AAAA,IAAA,CACA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|