@adyen/bento-vue3 1.0.0 → 1.1.1
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/dist/@types/{components → packages/vue2/src/components}/alert/alert.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/button/button.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/button/components/button-actions/button-actions.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/button/components/loading-button/loading-button.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/button/index.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/date-picker/date-picker.vue.d.ts +1 -2
- package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +2 -2
- package/dist/@types/{components → packages/vue2/src/components}/dropdown/composables/useKeyboardNavigation.d.ts +2 -1
- package/dist/@types/{components → packages/vue2/src/components}/dropdown/dropdown.vue.d.ts +2 -1
- package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +8 -8
- package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/calendar.vue.d.ts +2 -2
- package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +15 -6
- package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/index.d.ts +1 -0
- package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -1
- package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +13 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +57 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +9 -0
- package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/listbox.vue.d.ts +6 -9
- package/dist/@types/{components → packages/vue2/src/components}/link/index.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/link/link.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/modal/components/base-modal/base-modal.vue.d.ts +1 -1
- package/dist/@types/{components → packages/vue2/src/components}/modal/components/modal-default/modal-default.vue.d.ts +1 -22
- package/dist/@types/{components → packages/vue2/src/components}/tooltip/tooltip.vue.d.ts +0 -1
- package/dist/@types/{composables → packages/vue2/src/composables}/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +2 -0
- package/dist/@types/{utils → packages/vue2/src/utils}/ts/deprecate.d.ts +1 -1
- package/dist/accordion.js +26 -26
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +25 -26
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chevron-down.css +1 -0
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +9 -10
- package/dist/badge.js.map +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +99 -95
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +38 -35
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.ba17724a.js → base-button.7198ce06.js} +9 -9
- package/dist/chunks/base-button.7198ce06.js.map +1 -0
- package/dist/chunks/{button-actions.1dcbde15.js → button-actions.6d64b71d.js} +12 -13
- package/dist/chunks/button-actions.6d64b71d.js.map +1 -0
- package/dist/chunks/{button.51be5335.js → button.9cd485bc.js} +21 -22
- package/dist/chunks/button.9cd485bc.js.map +1 -0
- package/dist/chunks/{calendar.24ede03d.js → calendar.6226cd90.js} +339 -338
- package/dist/chunks/calendar.6226cd90.js.map +1 -0
- package/dist/chunks/{checkbox.7e9349cf.js → checkbox.ba6545d7.js} +75 -76
- package/dist/chunks/checkbox.ba6545d7.js.map +1 -0
- package/dist/chunks/{chevron-up.cc78e526.js → chevron-down.69bedf14.js} +18 -18
- package/dist/chunks/chevron-down.69bedf14.js.map +1 -0
- package/dist/chunks/{controls-group.9951ebac.js → controls-group.27f1524d.js} +2 -2
- package/dist/chunks/{controls-group.9951ebac.js.map → controls-group.27f1524d.js.map} +1 -1
- package/dist/chunks/{copy.92d2d21c.js → copy.d3ce16b1.js} +22 -23
- package/dist/chunks/copy.d3ce16b1.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.ae46144f.js → dropdown-default-textbox.16cb9d12.js} +21 -21
- package/dist/chunks/dropdown-default-textbox.16cb9d12.js.map +1 -0
- package/dist/chunks/{dropdown.751d23b5.js → dropdown.1ddf24a3.js} +308 -299
- package/dist/chunks/dropdown.1ddf24a3.js.map +1 -0
- package/dist/chunks/error-message.a784820d.js +49 -0
- package/dist/chunks/{error-message.f9c2a4be.js.map → error-message.a784820d.js.map} +1 -1
- package/dist/chunks/{grid-layout.195c90b6.js → grid-layout.a30855ff.js} +3 -3
- package/dist/chunks/grid-layout.a30855ff.js.map +1 -0
- package/dist/chunks/{i18n.3619d46c.js → i18n.6c402773.js} +249 -258
- package/dist/chunks/{i18n.3619d46c.js.map → i18n.6c402773.js.map} +1 -1
- package/dist/chunks/{index.af260515.js → index.04996cf6.js} +26 -27
- package/dist/chunks/{index.af260515.js.map → index.04996cf6.js.map} +1 -1
- package/dist/chunks/{index.84d248b7.js → index.11f89653.js} +2 -2
- package/dist/chunks/{index.84d248b7.js.map → index.11f89653.js.map} +1 -1
- package/dist/chunks/{index.36742dc7.js → index.23194ad5.js} +34 -36
- package/dist/chunks/index.23194ad5.js.map +1 -0
- package/dist/chunks/{index.67588e3d.js → index.5a8bfaa3.js} +60 -62
- package/dist/chunks/index.5a8bfaa3.js.map +1 -0
- package/dist/chunks/index.a169ce0d.js +119 -0
- package/dist/chunks/index.a169ce0d.js.map +1 -0
- package/dist/chunks/{index.1312f359.js → index.ba797d8f.js} +36 -37
- package/dist/chunks/index.ba797d8f.js.map +1 -0
- package/dist/chunks/{index.ab64552a.js → index.c7182196.js} +15 -16
- package/dist/chunks/index.c7182196.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.cca50ff3.js → listbox-option-tag.c293fa09.js} +16 -17
- package/dist/chunks/listbox-option-tag.c293fa09.js.map +1 -0
- package/dist/chunks/listbox.1b763229.js +1230 -0
- package/dist/chunks/listbox.1b763229.js.map +1 -0
- package/dist/chunks/{loading-button.75ae5144.js → loading-button.2e59fdb1.js} +15 -16
- package/dist/chunks/loading-button.2e59fdb1.js.map +1 -0
- package/dist/chunks/{tooltip.68fc3821.js → tooltip.86176c7d.js} +39 -39
- package/dist/chunks/tooltip.86176c7d.js.map +1 -0
- package/dist/chunks/use-has-slot.068222e6.js +5 -0
- package/dist/chunks/use-has-slot.068222e6.js.map +1 -0
- package/dist/chunks/{useCountryItems.4a11b512.js → useCountryItems.e83ef8f0.js} +2 -2
- package/dist/chunks/{useCountryItems.4a11b512.js.map → useCountryItems.e83ef8f0.js.map} +1 -1
- package/dist/code-snippet.js +216 -212
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +4 -5
- package/dist/country.js.map +1 -1
- package/dist/currency.js +12 -13
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +19 -22
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +61 -64
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +45 -50
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +271 -285
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header.js +65 -66
- package/dist/header.js.map +1 -1
- package/dist/index.js +274 -204
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +10 -11
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +79 -76
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +23 -23
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +6 -7
- package/dist/loading-indicator.js.map +1 -1
- package/dist/menu.js +82 -85
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +293 -241
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +7 -8
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +3 -4
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +9 -10
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +31 -26
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +82 -80
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +24 -25
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +38 -40
- package/dist/segmented-control.js.map +1 -1
- package/dist/status.js +15 -16
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +45 -51
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +2 -2
- package/dist/tag.js +8 -9
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +17 -18
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +66 -68
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +20 -22
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +51 -2
- package/package.json +11 -9
- package/dist/@types/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.types.d.ts +0 -3
- package/dist/@types/components/internal/listbox/composables/use-listbox-keyboard-navigation.d.ts +0 -14
- package/dist/@types/utils/ts/hasSlot.d.ts +0 -2
- package/dist/assets/chevron-up.css +0 -1
- package/dist/chunks/base-button.ba17724a.js.map +0 -1
- package/dist/chunks/button-actions.1dcbde15.js.map +0 -1
- package/dist/chunks/button.51be5335.js.map +0 -1
- package/dist/chunks/calendar.24ede03d.js.map +0 -1
- package/dist/chunks/checkbox.7e9349cf.js.map +0 -1
- package/dist/chunks/chevron-up.cc78e526.js.map +0 -1
- package/dist/chunks/copy.92d2d21c.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.ae46144f.js.map +0 -1
- package/dist/chunks/dropdown.751d23b5.js.map +0 -1
- package/dist/chunks/error-message.f9c2a4be.js +0 -50
- package/dist/chunks/grid-layout.195c90b6.js.map +0 -1
- package/dist/chunks/hasSlot.dceac207.js +0 -5
- package/dist/chunks/hasSlot.dceac207.js.map +0 -1
- package/dist/chunks/index.1312f359.js.map +0 -1
- package/dist/chunks/index.1d501e31.js +0 -118
- package/dist/chunks/index.1d501e31.js.map +0 -1
- package/dist/chunks/index.36742dc7.js.map +0 -1
- package/dist/chunks/index.67588e3d.js.map +0 -1
- package/dist/chunks/index.ab64552a.js.map +0 -1
- package/dist/chunks/listbox-option-tag.cca50ff3.js.map +0 -1
- package/dist/chunks/listbox.b34141cd.js +0 -1099
- package/dist/chunks/listbox.b34141cd.js.map +0 -1
- package/dist/chunks/loading-button.75ae5144.js.map +0 -1
- package/dist/chunks/tooltip.68fc3821.js.map +0 -1
- /package/dist/@types/{components → packages/core/src/components}/button/button.types.d.ts +0 -0
- /package/dist/@types/{components → packages/core/src/components}/link/link.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/accordion/accordion.keys.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/accordion/accordion.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/accordion/accordion.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/accordion/components/accordion-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/accordion/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/alert/alert.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/alert/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/avatar-image/avatar-image.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/avatar-image/avatar-image.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/avatar-image/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/badge/badge.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/badge/badge.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/badge/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/button/button.demo.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/button/components/button-actions/button-actions.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/button/components/button-actions/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/button/components/loading-button/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/button/components/loading-button/loading-button.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/card/card.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/card/card.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/card/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/checkbox.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/checkbox.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/components/checkbox-group/checkbox-group.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/components/checkbox-group/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/checkbox/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/click-outside/click-outside.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/click-outside/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/code-snippet/code-snippet.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/code-snippet/code-snippet.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/code-snippet/composables/useLanguage.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/code-snippet/highlight.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/code-snippet/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/composables/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/composables/useCountryCapital/useCountryCapital.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/composables/useCountryFlag.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/composables/useCountryName/useCountryName.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/country.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/country.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/country/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/currency/currency.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/currency/currency.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/currency/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/data-grid-columns/data-grid-columns-types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/data-grid-config-settings/data-grid-config-settings.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useKeyboardNavigator/useKeyboardNavigator.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useKeyboardNavigator/useKeyboardNavigator.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useResizer.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useSelector.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/composables/useSorter.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/data-grid.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/data-grid.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/data-grid/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date/date.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date/date.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-picker/composables/use-date-picker-single-calendar-text.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-picker/date-picker.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-picker/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/components/date-range-picker-calendar/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/composables/use-date-range-picker-calendar-text.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/date-range-picker.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/date-range-picker.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/date-range-picker/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/divider/divider.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/divider/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-options-container/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-avatar/dropdown-avatar.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/composables/useDisplayValue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/composables/useDisplayValue.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/composables/useDropdownSearchFilter.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/dropdown.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/dropdown/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/all-filters-modal/all-filters-modal.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/base-filter.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/base-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/composables/use-base-filter.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/boolean-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/date-filter/date-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/date-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/date-range-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/input-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/input-filter/input-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/select-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-avatar-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-country-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-currency-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-payment-method-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-tag-filter/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/filter-bar.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/filter-bar.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/filter-bar/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/focus-trap/focus-trap.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/focus-trap/focus-trap.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/focus-trap/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/header/header.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/header/header.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/header/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/info-icon/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/info-icon/info-icon.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/input-field/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/input-field/input-field.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/input-field/input-field.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/avatar/avatar.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/avatar/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/base-button/base-button.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/base-button/base-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/base-button/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/calendar.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/calendar-month.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/components/calendar-month-day/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/components/calendar-month/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/composables/use-range-pane.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/composables/use-single-pane.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/calendar/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/controls-group/controls-group.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/controls-group/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/copy/copy.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/copy/copy.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/copy/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/error-message/error-message.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/error-message/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/grid-layout/grid-layout.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/grid-layout/grid-layout.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/grid-layout/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-multi-select/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-option/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-option-tag/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-single-select-option/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/internal/listbox/listbox.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/loading-indicator/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/loading-indicator/loading-indicator.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/loading-indicator/loading-indicator.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-item/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-item/menu-item.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-item/menu-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-item-list/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-item-list/menu-item-list.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/menu-list-container/menu-list-container.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/menu.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/menu/menu.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/components/base-modal/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/components/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/components/modal-dialog/modal-dialog.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/modal.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/modal/modal.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/pagination/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/pagination/pagination.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/payment-method/composables/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/payment-method/composables/usePaymentIcon.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/payment-method/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/payment-method/payment-method.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/payment-method/payment-method.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/components/popover-image/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/components/popover-image/popover-image.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/components/popover-title/popover-title.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/popover.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popover/popover.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popper-container/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popper-container/popper-container.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popper-container/popper-container.utils.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/popper-container/popper-container.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/radio-group/components/radio-button/radio-button.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/radio-group/components/radio-button/radio-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/radio-group/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/radio-group/radio-group.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/radio-group/radio-group.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/search-bar/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/search-bar/search-bar.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/search-bar/search-bar.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/search-bar/useSearchBarDataFilter.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/segmented-control/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/segmented-control/segmented-control.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/segmented-control/segmented-control.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/status/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/status/status.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/status/status.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/structured-list/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/structured-list/structured-list.keys.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/structured-list/structured-list.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item/summary-grid-item.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/summary-grid.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/summary-grid/summary-grid.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/components/tab.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/components/tab.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/tabs.keys.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/tabs.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/tabs.utils.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tabs/tabs.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tag/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tag/tag.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/tag/tag.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/textarea/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/textarea/textarea.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/textarea/textarea.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/timeline/components/timeline-item/timeline-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/timeline/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/timeline/timeline.keys.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/timeline/timeline.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/timeline/timeline.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toast/components/toast-item/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toast/components/toast-item/toast-item.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toast/components/toast-item/toast-item.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toast/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toast/toast.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toggle/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toggle/toggle.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/toggle/toggle.vue.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/typography/index.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/typography/typography.types.d.ts +0 -0
- /package/dist/@types/{components → packages/vue2/src/components}/typography/typography.vue.d.ts +0 -0
- /package/dist/@types/{composables → packages/vue2/src/composables}/initials.d.ts +0 -0
- /package/dist/@types/{composables → packages/vue2/src/composables}/use-checkbox-select-all/use-checkbox-select-all.d.ts +0 -0
- /package/dist/@types/{composables → packages/vue2/src/composables}/use-default-slot-validator/use-default-slot-validator.d.ts +0 -0
- /package/dist/@types/{composables → packages/vue2/src/composables}/useDynamicImport.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/directive.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/index.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/on-click-outside.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/types.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/useEventListener/index.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/useEventListener/types.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/click-outside/utils.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/index.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/keyboard-navigation/index.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/keyboard-navigation/keyboard-navigation.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/keyboard-navigation/keyboard-navigation.types.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/tooltip/index.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/tooltip/tooltip.d.ts +0 -0
- /package/dist/@types/{directives → packages/vue2/src/directives}/tooltip/tooltip.types.d.ts +0 -0
- /package/dist/@types/{index.d.ts → packages/vue2/src/index.d.ts} +0 -0
- /package/dist/@types/{install.d.ts → packages/vue2/src/install.d.ts} +0 -0
- /package/dist/@types/{plugins → packages/vue2/src/plugins}/toastController.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/date-format.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/elements.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/functions.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/index.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/keyboard-navigation.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/label-position.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/listbox.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/maybe-ref.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/omit-strict.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/prop-types.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/refs.d.ts +0 -0
- /package/dist/@types/{types → packages/vue2/src/types}/utils-events.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/aria-label.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/currency/countries-list.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/currency/currency.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/currency/currency.types.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/date-input.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/debounce/debounce.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/debounce/index.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/deep-merge/deep-merge.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/deep-merge/index.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/events.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/focus-trap.utils.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/get-slot-text/get-slot-text.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/get-slot-text/index.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/i18n.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/resize.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/storybook.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/time-input.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/toastController.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/truncate.d.ts +0 -0
- /package/dist/@types/{utils → packages/vue2/src/utils}/ts/unique-id.d.ts +0 -0
package/dist/structured-list.js
CHANGED
package/dist/summary-grid.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { defineComponent as _, resolveComponent as f, openBlock as r, createElementBlock as E, Fragment as D, renderList as R, createBlock as p, createSlots as A, withCtx as o, renderSlot as
|
|
2
|
-
import {
|
|
3
|
-
import { G as q } from "./chunks/grid-layout.
|
|
1
|
+
import { defineComponent as _, resolveComponent as f, openBlock as r, createElementBlock as E, Fragment as D, renderList as R, createBlock as p, createSlots as A, withCtx as o, renderSlot as y, toRefs as w, computed as T, normalizeStyle as z, createElementVNode as h, createVNode as P, createTextVNode as S, toDisplayString as g, createCommentVNode as b, mergeProps as U } from "vue";
|
|
2
|
+
import { u as L } from "./chunks/use-has-slot.068222e6.js";
|
|
3
|
+
import { G as q } from "./chunks/grid-layout.a30855ff.js";
|
|
4
4
|
import { _ as v } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
5
5
|
import { BentoInfoIcon as X } from "./info-icon.js";
|
|
6
|
-
import { B as j,
|
|
6
|
+
import { B as j, b as B, a as W } from "./chunks/index.a169ce0d.js";
|
|
7
7
|
import { BentoTag as Y, BentoTagVariant as M } from "./tag.js";
|
|
8
8
|
import { PopperContainerPosition as F } from "./popper-container.js";
|
|
9
|
-
import { C as H } from "./chunks/copy.
|
|
10
|
-
import "./assets/
|
|
9
|
+
import { C as H } from "./chunks/copy.d3ce16b1.js";
|
|
10
|
+
import "./assets/index25.css";
|
|
11
11
|
const J = _({
|
|
12
12
|
name: "bento-summary-grid",
|
|
13
13
|
components: { GridLayout: q },
|
|
14
|
-
inheritAttrs: !1,
|
|
15
14
|
props: {
|
|
16
15
|
/**
|
|
17
16
|
* Sets the responsive columns widths values for 1 of the 3 rows.
|
|
@@ -54,42 +53,42 @@ function Q(e, a, d, m, i, s) {
|
|
|
54
53
|
e.hasSlot(`cell-${t}-1`) ? {
|
|
55
54
|
name: "col-1",
|
|
56
55
|
fn: o(() => [
|
|
57
|
-
|
|
56
|
+
y(e.$slots, `cell-${t}-1`, {}, void 0, !0)
|
|
58
57
|
]),
|
|
59
58
|
key: "0"
|
|
60
59
|
} : void 0,
|
|
61
60
|
e.hasSlot(`cell-${t}-2`) ? {
|
|
62
61
|
name: "col-2",
|
|
63
62
|
fn: o(() => [
|
|
64
|
-
|
|
63
|
+
y(e.$slots, `cell-${t}-2`, {}, void 0, !0)
|
|
65
64
|
]),
|
|
66
65
|
key: "1"
|
|
67
66
|
} : void 0,
|
|
68
67
|
e.hasSlot(`cell-${t}-3`) ? {
|
|
69
68
|
name: "col-3",
|
|
70
69
|
fn: o(() => [
|
|
71
|
-
|
|
70
|
+
y(e.$slots, `cell-${t}-3`, {}, void 0, !0)
|
|
72
71
|
]),
|
|
73
72
|
key: "2"
|
|
74
73
|
} : void 0,
|
|
75
74
|
e.hasSlot(`cell-${t}-4`) ? {
|
|
76
75
|
name: "col-4",
|
|
77
76
|
fn: o(() => [
|
|
78
|
-
|
|
77
|
+
y(e.$slots, `cell-${t}-4`, {}, void 0, !0)
|
|
79
78
|
]),
|
|
80
79
|
key: "3"
|
|
81
80
|
} : void 0,
|
|
82
81
|
e.hasSlot(`cell-${t}-5`) ? {
|
|
83
82
|
name: "col-5",
|
|
84
83
|
fn: o(() => [
|
|
85
|
-
|
|
84
|
+
y(e.$slots, `cell-${t}-5`, {}, void 0, !0)
|
|
86
85
|
]),
|
|
87
86
|
key: "4"
|
|
88
87
|
} : void 0,
|
|
89
88
|
e.hasSlot(`cell-${t}-6`) ? {
|
|
90
89
|
name: "col-6",
|
|
91
90
|
fn: o(() => [
|
|
92
|
-
|
|
91
|
+
y(e.$slots, `cell-${t}-6`, {}, void 0, !0)
|
|
93
92
|
]),
|
|
94
93
|
key: "5"
|
|
95
94
|
} : void 0
|
|
@@ -97,8 +96,8 @@ function Q(e, a, d, m, i, s) {
|
|
|
97
96
|
}), 128))
|
|
98
97
|
]);
|
|
99
98
|
}
|
|
100
|
-
const Ee = /* @__PURE__ */ v(J, [["render", Q], ["__scopeId", "data-v-
|
|
101
|
-
var c = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(c || {}),
|
|
99
|
+
const Ee = /* @__PURE__ */ v(J, [["render", Q], ["__scopeId", "data-v-1b4c3b84"]]);
|
|
100
|
+
var c = /* @__PURE__ */ ((e) => (e.SMALL = "small", e.MEDIUM = "medium", e.LARGE = "large", e))(c || {}), u = /* @__PURE__ */ ((e) => (e.POSITIVE = "positive", e.NEGATIVE = "negative", e.NEUTRAL = "neutral", e))(u || {}), l = /* @__PURE__ */ ((e) => (e.AMOUNT = "amount", e.PERCENTAGE = "percentage", e.NUMERIC = "numeric", e.TEXT = "text", e.CUSTOM = "custom", e))(l || {});
|
|
102
101
|
const Z = _({
|
|
103
102
|
name: "summary-grid-item",
|
|
104
103
|
components: { BentoInfoIcon: X, BentoTypography: j, BentoTag: Y, Copy: H },
|
|
@@ -148,7 +147,7 @@ const Z = _({
|
|
|
148
147
|
*/
|
|
149
148
|
trendDirection: {
|
|
150
149
|
type: String,
|
|
151
|
-
default:
|
|
150
|
+
default: u.POSITIVE
|
|
152
151
|
},
|
|
153
152
|
/**
|
|
154
153
|
* Shows colored trend tag next to secondary metric value
|
|
@@ -162,15 +161,15 @@ const Z = _({
|
|
|
162
161
|
*/
|
|
163
162
|
secondaryTrendDirection: {
|
|
164
163
|
type: String,
|
|
165
|
-
default:
|
|
164
|
+
default: u.POSITIVE
|
|
166
165
|
}
|
|
167
166
|
},
|
|
168
167
|
setup(e, { slots: a }) {
|
|
169
168
|
const { trendDirection: d, secondaryTrendDirection: m, itemType: i, size: s } = w(e), n = (k) => {
|
|
170
169
|
switch (k) {
|
|
171
|
-
case
|
|
170
|
+
case u.POSITIVE:
|
|
172
171
|
return M.GREEN;
|
|
173
|
-
case
|
|
172
|
+
case u.NEGATIVE:
|
|
174
173
|
return M.RED;
|
|
175
174
|
default:
|
|
176
175
|
return M.BLUE;
|
|
@@ -223,7 +222,7 @@ function oe(e, a, d, m, i, s) {
|
|
|
223
222
|
class: "b-summary-grid-item",
|
|
224
223
|
style: z(e.computedStyles)
|
|
225
224
|
}, [
|
|
226
|
-
|
|
225
|
+
h("div", x, [
|
|
227
226
|
P(n, {
|
|
228
227
|
class: "b-summary-grid-item__title",
|
|
229
228
|
el: e.BentoTypographyElement.SPAN,
|
|
@@ -234,21 +233,21 @@ function oe(e, a, d, m, i, s) {
|
|
|
234
233
|
]),
|
|
235
234
|
_: 1
|
|
236
235
|
}, 8, ["el", "variant"]),
|
|
237
|
-
|
|
236
|
+
h("div", ee, [
|
|
238
237
|
e.copy ? (r(), p(t, {
|
|
239
238
|
key: 0,
|
|
240
239
|
class: "b-structured-list__icon",
|
|
241
240
|
text: e.copy
|
|
242
|
-
}, null, 8, ["text"])) :
|
|
241
|
+
}, null, 8, ["text"])) : b("", !0),
|
|
243
242
|
e.infoIconTooltipText ? (r(), p($, {
|
|
244
243
|
key: 1,
|
|
245
244
|
"tooltip-text": e.infoIconTooltipText,
|
|
246
245
|
"tooltip-position": e.PopperContainerPosition.TOP,
|
|
247
246
|
class: "b-summary-grid-item__title-tooltip"
|
|
248
|
-
}, null, 8, ["tooltip-text", "tooltip-position"])) :
|
|
247
|
+
}, null, 8, ["tooltip-text", "tooltip-position"])) : b("", !0)
|
|
249
248
|
])
|
|
250
249
|
]),
|
|
251
|
-
|
|
250
|
+
h("div", te, [
|
|
252
251
|
e.isContentTypographyApplied ? (r(), p(n, U({
|
|
253
252
|
key: 0,
|
|
254
253
|
"data-testid": "summary-grid-item-content-typography",
|
|
@@ -257,16 +256,16 @@ function oe(e, a, d, m, i, s) {
|
|
|
257
256
|
el: e.BentoTypographyElement.SPAN
|
|
258
257
|
}), {
|
|
259
258
|
default: o(() => [
|
|
260
|
-
|
|
259
|
+
y(e.$slots, "default", {}, void 0, !0),
|
|
261
260
|
e.trend && e.itemType !== e.SummaryGridItemType.TEXT ? (r(), p(I, {
|
|
262
261
|
key: 0,
|
|
263
262
|
variant: e.trendVariant,
|
|
264
263
|
label: e.trend,
|
|
265
264
|
class: "b-summary-grid-item__content-trend"
|
|
266
|
-
}, null, 8, ["variant", "label"])) :
|
|
265
|
+
}, null, 8, ["variant", "label"])) : b("", !0)
|
|
267
266
|
]),
|
|
268
267
|
_: 3
|
|
269
|
-
}, 16, ["el"])) :
|
|
268
|
+
}, 16, ["el"])) : y(e.$slots, "default", { key: 1 }, void 0, !0)
|
|
270
269
|
]),
|
|
271
270
|
e.hasSlot("secondary") ? (r(), E("div", ne, [
|
|
272
271
|
P(n, {
|
|
@@ -277,23 +276,22 @@ function oe(e, a, d, m, i, s) {
|
|
|
277
276
|
stronger: ""
|
|
278
277
|
}, {
|
|
279
278
|
default: o(() => [
|
|
280
|
-
|
|
279
|
+
y(e.$slots, "secondary", {}, void 0, !0),
|
|
281
280
|
e.secondaryTrend ? (r(), p(I, {
|
|
282
281
|
key: 0,
|
|
283
282
|
variant: e.secondaryTrendVariant,
|
|
284
283
|
label: e.secondaryTrend,
|
|
285
284
|
class: "b-summary-grid-item__content-trend"
|
|
286
|
-
}, null, 8, ["variant", "label"])) :
|
|
285
|
+
}, null, 8, ["variant", "label"])) : b("", !0)
|
|
287
286
|
]),
|
|
288
287
|
_: 3
|
|
289
288
|
}, 8, ["el", "variant"])
|
|
290
|
-
])) :
|
|
289
|
+
])) : b("", !0)
|
|
291
290
|
], 4);
|
|
292
291
|
}
|
|
293
|
-
const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-
|
|
292
|
+
const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-1455e248"]]), re = _({
|
|
294
293
|
name: "bento-summary-grid-item-amount",
|
|
295
294
|
components: { SummaryGridItem: C },
|
|
296
|
-
inheritAttrs: !1,
|
|
297
295
|
props: {
|
|
298
296
|
/**
|
|
299
297
|
* Text to copy to the clipboard
|
|
@@ -353,7 +351,7 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-9a6d35ed"]
|
|
|
353
351
|
*/
|
|
354
352
|
trendDirection: {
|
|
355
353
|
type: String,
|
|
356
|
-
default:
|
|
354
|
+
default: u.POSITIVE
|
|
357
355
|
},
|
|
358
356
|
/**
|
|
359
357
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -367,7 +365,7 @@ const C = /* @__PURE__ */ v(Z, [["render", oe], ["__scopeId", "data-v-9a6d35ed"]
|
|
|
367
365
|
*/
|
|
368
366
|
secondaryTrendDirection: {
|
|
369
367
|
type: String,
|
|
370
|
-
default:
|
|
368
|
+
default: u.POSITIVE
|
|
371
369
|
},
|
|
372
370
|
/**
|
|
373
371
|
* Defines the size of the `summary-grid-item` text content
|
|
@@ -404,9 +402,9 @@ function se(e, a, d, m, i, s) {
|
|
|
404
402
|
class: "b-summary-grid-item-amount"
|
|
405
403
|
}, A({
|
|
406
404
|
default: o(() => [
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
e.secondaryLabel ? (r(), E("div", ae, g(e.secondaryLabel), 1)) :
|
|
405
|
+
h("div", ie, [
|
|
406
|
+
h("div", null, g(e.label), 1),
|
|
407
|
+
e.secondaryLabel ? (r(), E("div", ae, g(e.secondaryLabel), 1)) : b("", !0)
|
|
410
408
|
])
|
|
411
409
|
]),
|
|
412
410
|
_: 2
|
|
@@ -420,10 +418,9 @@ function se(e, a, d, m, i, s) {
|
|
|
420
418
|
} : void 0
|
|
421
419
|
]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
422
420
|
}
|
|
423
|
-
const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-
|
|
421
|
+
const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-8dbd1cf8"]]), de = _({
|
|
424
422
|
name: "bento-summary-grid-item-numeric",
|
|
425
423
|
components: { SummaryGridItem: C },
|
|
426
|
-
inheritAttrs: !1,
|
|
427
424
|
props: {
|
|
428
425
|
/**
|
|
429
426
|
* Text to copy to the clipboard
|
|
@@ -476,7 +473,7 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-504d900d
|
|
|
476
473
|
*/
|
|
477
474
|
trendDirection: {
|
|
478
475
|
type: String,
|
|
479
|
-
default:
|
|
476
|
+
default: u.POSITIVE
|
|
480
477
|
},
|
|
481
478
|
/**
|
|
482
479
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -490,7 +487,7 @@ const Ce = /* @__PURE__ */ v(re, [["render", se], ["__scopeId", "data-v-504d900d
|
|
|
490
487
|
*/
|
|
491
488
|
secondaryTrendDirection: {
|
|
492
489
|
type: String,
|
|
493
|
-
default:
|
|
490
|
+
default: u.POSITIVE
|
|
494
491
|
},
|
|
495
492
|
/**
|
|
496
493
|
* Defines the size of the `summary-grid-item` text content
|
|
@@ -539,7 +536,6 @@ function le(e, a, d, m, i, s) {
|
|
|
539
536
|
const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
|
|
540
537
|
name: "bento-summary-grid-item-percentage",
|
|
541
538
|
components: { SummaryGridItem: C },
|
|
542
|
-
inheritAttrs: !1,
|
|
543
539
|
props: {
|
|
544
540
|
/**
|
|
545
541
|
* Amount to be shown as the main value
|
|
@@ -592,7 +588,7 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
|
|
|
592
588
|
*/
|
|
593
589
|
trendDirection: {
|
|
594
590
|
type: String,
|
|
595
|
-
default:
|
|
591
|
+
default: u.POSITIVE
|
|
596
592
|
},
|
|
597
593
|
/**
|
|
598
594
|
* Shows colored secondary trend tag next to the secondary metric value
|
|
@@ -606,7 +602,7 @@ const Ae = /* @__PURE__ */ v(de, [["render", le]]), me = _({
|
|
|
606
602
|
*/
|
|
607
603
|
secondaryTrendDirection: {
|
|
608
604
|
type: String,
|
|
609
|
-
default:
|
|
605
|
+
default: u.POSITIVE
|
|
610
606
|
},
|
|
611
607
|
/**
|
|
612
608
|
* Defines the size of the `summary-grid-item` text content
|
|
@@ -652,10 +648,9 @@ function pe(e, a, d, m, i, s) {
|
|
|
652
648
|
} : void 0
|
|
653
649
|
]), 1032, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content", "size", "trend", "trend-direction", "secondary-trend", "secondary-trend-direction"]);
|
|
654
650
|
}
|
|
655
|
-
const Be = /* @__PURE__ */ v(me, [["render", pe]]),
|
|
651
|
+
const Be = /* @__PURE__ */ v(me, [["render", pe]]), ue = _({
|
|
656
652
|
name: "bento-summary-grid-item-text",
|
|
657
653
|
components: { SummaryGridItem: C },
|
|
658
|
-
inheritAttrs: !1,
|
|
659
654
|
props: {
|
|
660
655
|
/**
|
|
661
656
|
* Text to copy to the clipboard
|
|
@@ -697,7 +692,7 @@ const Be = /* @__PURE__ */ v(me, [["render", pe]]), ye = _({
|
|
|
697
692
|
};
|
|
698
693
|
}
|
|
699
694
|
});
|
|
700
|
-
function
|
|
695
|
+
function ye(e, a, d, m, i, s) {
|
|
701
696
|
const n = f("summary-grid-item");
|
|
702
697
|
return r(), p(n, {
|
|
703
698
|
"item-type": e.SummaryGridItemType.TEXT,
|
|
@@ -713,10 +708,9 @@ function ue(e, a, d, m, i, s) {
|
|
|
713
708
|
_: 1
|
|
714
709
|
}, 8, ["item-type", "info-icon-tooltip-text", "title", "copy", "fit-content"]);
|
|
715
710
|
}
|
|
716
|
-
const Me = /* @__PURE__ */ v(
|
|
711
|
+
const Me = /* @__PURE__ */ v(ue, [["render", ye]]), ce = _({
|
|
717
712
|
name: "bento-summary-grid-item-custom",
|
|
718
713
|
components: { SummaryGridItem: C },
|
|
719
|
-
inheritAttrs: !1,
|
|
720
714
|
props: {
|
|
721
715
|
/**
|
|
722
716
|
* Text to copy to the clipboard
|
|
@@ -747,7 +741,7 @@ function fe(e, a, d, m, i, s) {
|
|
|
747
741
|
onCopyToClipoard: a[0] || (a[0] = (t) => e.$emit("copy-to-clipboard"))
|
|
748
742
|
}, {
|
|
749
743
|
default: o(() => [
|
|
750
|
-
|
|
744
|
+
y(e.$slots, "default")
|
|
751
745
|
]),
|
|
752
746
|
_: 3
|
|
753
747
|
}, 8, ["title", "info-icon-tooltip-text", "copy", "fit-content"]);
|
|
@@ -761,6 +755,6 @@ export {
|
|
|
761
755
|
Be as BentoSummaryGridItemPercentage,
|
|
762
756
|
c as BentoSummaryGridItemSize,
|
|
763
757
|
Me as BentoSummaryGridItemText,
|
|
764
|
-
|
|
758
|
+
u as BentoSummaryGridItemTrendDirection
|
|
765
759
|
};
|
|
766
760
|
//# sourceMappingURL=summary-grid.js.map
|
package/dist/summary-grid.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"summary-grid.js","sources":["../../vue2/src/components/summary-grid/summary-grid.vue","../../vue2/src/components/summary-grid/summary-grid.types.ts","../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.ts","../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoSummaryGridColumnWidth } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { hasSlot } from '@/utils/ts/hasSlot';\n\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid',\n components: { GridLayout },\n inheritAttrs: false,\n props: {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth: {\n type: Object as PropType<BentoSummaryGridColumnWidth>,\n default: null,\n },\n },\n\n setup(_props, { slots }) {\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n }\n\n return {\n hasSlot: hasSlot(slots),\n numberOfRows,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","import { GridLayoutColumnWidth } from '@/components/internal/grid-layout/grid-layout.types';\n\nexport enum BentoSummaryGridItemSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\nexport enum BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: Array<GridLayoutColumnWidth>;\n row2?: Array<GridLayoutColumnWidth>;\n row3?: Array<GridLayoutColumnWidth>;\n}\n","export enum SummaryGridItemType {\n AMOUNT = 'amount',\n PERCENTAGE = 'percentage',\n NUMERIC = 'numeric',\n TEXT = 'text',\n CUSTOM = 'custom',\n}\n","<template>\n <div class=\"b-summary-grid-item\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography\n class=\"b-summary-grid-item__title\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.BODY\"\n >\n {{ title }}\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n :tooltip-position=\"PopperContainerPosition.TOP\"\n class=\"b-summary-grid-item__title-tooltip\"\n />\n </div>\n </div>\n <div class=\"b-summary-grid-item__content--primary\">\n <bento-typography\n v-if=\"isContentTypographyApplied\"\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n :el=\"BentoTypographyElement.SPAN\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== SummaryGridItemType.TEXT\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n\n <slot v-else />\n </div>\n <div v-if=\"hasSlot('secondary')\" class=\"b-summary-grid-item__content--secondary\">\n <bento-typography\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.CAPTION\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, toRefs } from 'vue';\n\n // Components\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, BentoTagVariant } from '@/components/tag';\n import { PopperContainerPosition } from '@/components/popper-container';\n import { Copy } from '@/internal';\n\n // Utils\n import { hasSlot } from '@/utils/ts/hasSlot';\n\n // Types\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItemType } from './summary-grid-item.types';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'summary-grid-item',\n components: { BentoInfoIcon, BentoTypography, BentoTag, Copy },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Applies styling based on content type\n */\n // TODO add text truncation for SummaryGridItemType.TEXT\n itemType: {\n type: String as PropType<SummaryGridItemType>,\n default: SummaryGridItemType.CUSTOM,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n\n // amount, percentage and numeric props\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n // TODO implement logic for Large size\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Shows colored trend tag next to secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of secondary trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n },\n setup(props, { slots }) {\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n\n const tagVariantColor = direction => {\n switch (direction) {\n case BentoSummaryGridItemTrendDirection.POSITIVE:\n return BentoTagVariant.GREEN;\n case BentoSummaryGridItemTrendDirection.NEGATIVE:\n return BentoTagVariant.RED;\n default:\n return BentoTagVariant.BLUE;\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const isContentTypographyApplied = computed(\n () =>\n itemType.value === SummaryGridItemType.TEXT ||\n itemType.value === SummaryGridItemType.PERCENTAGE ||\n itemType.value === SummaryGridItemType.AMOUNT ||\n itemType.value === SummaryGridItemType.NUMERIC\n );\n\n const typographyContentElement = computed(() => {\n if (isContentTypographyApplied.value) {\n if (size.value === BentoSummaryGridItemSize.SMALL) {\n return BentoTypographyVariant.BODY;\n }\n if (itemType.value !== SummaryGridItemType.TEXT) {\n return BentoTypographyVariant.TITLE;\n }\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === BentoSummaryGridItemSize.LARGE,\n strongest: size.value === BentoSummaryGridItemSize.SMALL,\n wide: size.value === BentoSummaryGridItemSize.SMALL,\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const summaryBarItemTrendConditionalClasses = computed(() => ({\n [`b-summary-grid-item__content-trend--${props.trend}`]: props.trend,\n }));\n\n return {\n // Values\n trendVariant,\n secondaryTrendVariant,\n isContentTypographyApplied,\n typographyProps,\n\n // Styles\n computedStyles,\n summaryBarItemTrendConditionalClasses,\n\n // Enums\n BentoTypographyElement,\n BentoTypographyVariant,\n SummaryGridItemType,\n BentoSummaryGridItemSize,\n PopperContainerPosition,\n\n // Utils\n hasSlot: hasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.AMOUNT\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-amount\"\n >\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-amount',\n components: { SummaryGridItem },\n inheritAttrs: false,\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n\n /**\n * Adds additional label next to amount content\n */\n secondaryLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Shows colored trend label next to main label\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.NUMERIC\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-numeric\"\n >\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-numeric',\n components: { SummaryGridItem },\n inheritAttrs: false,\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to main numeric content\n */\n trend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.PERCENTAGE\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-percentage\"\n >\n {{ label }}%\n <template v-if=\"secondaryMetric\" #secondary> {{ secondaryMetric }}% </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-percentage',\n components: { SummaryGridItem },\n inheritAttrs: false,\n props: {\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.TEXT\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n class=\"b-summary-grid-item-text\"\n >\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-text',\n components: { SummaryGridItem },\n inheritAttrs: false,\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n @copy-to-clipoard=\"$emit('copy-to-clipboard')\"\n >\n <slot />\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import SummaryGridItem from '../summary-grid-item/summary-grid-item.vue';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-custom',\n components: { SummaryGridItem },\n inheritAttrs: false,\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n },\n emits: ['copy-to-clipboard'],\n });\n</script>\n"],"names":["_sfc_main$6","defineComponent","GridLayout","_props","slots","numberOfRows","slotRows","_b","_a","slotName","hasSlot","openBlock","createElementBlock","_hoisted_1$2","Fragment","renderList","_ctx","index","createBlock","_component_grid_layout","createSlots","withCtx","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2","SummaryGridItemType","SummaryGridItemType2","_sfc_main$5","BentoInfoIcon","BentoTypography","BentoTag","Copy","props","trendDirection","secondaryTrendDirection","itemType","size","toRefs","tagVariantColor","direction","BentoTagVariant","trendVariant","computed","secondaryTrendVariant","isContentTypographyApplied","typographyContentElement","BentoTypographyVariant","typographyProps","computedStyles","summaryBarItemTrendConditionalClasses","BentoTypographyElement","PopperContainerPosition","normalizeStyle","createVNode","_component_bento_typography","createElementVNode","_hoisted_2$1","_component_copy","createCommentVNode","_component_bento_info_icon","mergeProps","renderSlot","_component_bento_tag","_hoisted_4","_sfc_main$4","SummaryGridItem","_component_summary_grid_item","resolveComponent","_hoisted_1","toDisplayString","_hoisted_2","_sfc_main$3","_sfc_main$2","_sfc_main$1","_sfc_main"],"mappings":";;;;;;;;;;AA0DI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA,EAAA,YAAAC,EAAA;AAAA,EACmB,cAAA;AAAA,EACX,OAAA;AAAA;AAAA;AAAA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A,EAAA;AAAA;EAEO,GAAA;AAAA;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"summary-grid.js","sources":["../../vue2/src/components/summary-grid/summary-grid.vue","../../vue2/src/components/summary-grid/summary-grid.types.ts","../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.types.ts","../../vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue","../../vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue"],"sourcesContent":["<template>\n <div class=\"b-summary-grid\">\n <grid-layout\n v-for=\"index in numberOfRows\"\n :key=\"`summary-grid-row-${index}`\"\n :data-testid=\"`summary-grid-row-${index}`\"\n :column-width=\"columnWidth?.[`row${index}`]\"\n >\n <template v-if=\"hasSlot(`cell-${index}-1`)\" #col-1>\n <slot :name=\"`cell-${index}-1`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-2`)\" #col-2>\n <slot :name=\"`cell-${index}-2`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-3`)\" #col-3>\n <slot :name=\"`cell-${index}-3`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-4`)\" #col-4>\n <slot :name=\"`cell-${index}-4`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-5`)\" #col-5>\n <slot :name=\"`cell-${index}-5`\" />\n </template>\n <template v-if=\"hasSlot(`cell-${index}-6`)\" #col-6>\n <slot :name=\"`cell-${index}-6`\" />\n </template>\n </grid-layout>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import { BentoSummaryGridColumnWidth } from './summary-grid.types';\n import { GridLayout } from '@/components/internal';\n import { useHasSlot } from '@/composables';\n\n /**\n * A summary grid component that displays a collection items.\n *\n * @example\n * import { BentoSummaryGrid, BentoSummaryGridItemAmount } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGrid, BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid>\n * <template #cell-2-2>\n * <bento-summary-grid-item-amount\n * title=\"Text Item\"\n * label=\"14\"\n * info-icon-tooltip-text=\"text for icon\"\n * copy=\"copy this to clipboard\"\n * />\n * </template>\n * </bento-summary-grid>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid',\n components: { GridLayout },\n props: {\n /**\n * Sets the responsive columns widths values for 1 of the 3 rows.\n */\n columnWidth: {\n type: Object as PropType<BentoSummaryGridColumnWidth>,\n default: null,\n },\n },\n\n setup(_props, { slots }) {\n let numberOfRows = 1;\n if (slots) {\n const slotRows = Object.keys(slots)\n ?.filter(slotName => slotName.includes('cell-'))\n ?.map(slotName => parseInt(slotName.split('-')?.[1], 10));\n numberOfRows = Math.max(...slotRows);\n if (numberOfRows > 3) {\n throw new Error(\n 'BentoSummaryGrid must only have a maximum of 3 rows. Read the documentation for more information.'\n );\n }\n }\n\n return {\n hasSlot: useHasSlot(slots),\n numberOfRows,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid.scss\" />\n","import { GridLayoutColumnWidth } from '@/components/internal/grid-layout/grid-layout.types';\n\nexport enum BentoSummaryGridItemSize {\n SMALL = 'small',\n MEDIUM = 'medium',\n LARGE = 'large',\n}\n\nexport enum BentoSummaryGridItemTrendDirection {\n POSITIVE = 'positive',\n NEGATIVE = 'negative',\n NEUTRAL = 'neutral',\n}\n\nexport interface BentoSummaryGridColumnWidth {\n row1: Array<GridLayoutColumnWidth>;\n row2?: Array<GridLayoutColumnWidth>;\n row3?: Array<GridLayoutColumnWidth>;\n}\n","export enum SummaryGridItemType {\n AMOUNT = 'amount',\n PERCENTAGE = 'percentage',\n NUMERIC = 'numeric',\n TEXT = 'text',\n CUSTOM = 'custom',\n}\n","<template>\n <div class=\"b-summary-grid-item\" :style=\"computedStyles\">\n <div class=\"b-summary-grid-item__header\">\n <bento-typography\n class=\"b-summary-grid-item__title\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.BODY\"\n >\n {{ title }}\n </bento-typography>\n <div class=\"b-summary-grid-item__title-icons\">\n <copy v-if=\"copy\" class=\"b-structured-list__icon\" :text=\"copy\" />\n\n <bento-info-icon\n v-if=\"infoIconTooltipText\"\n :tooltip-text=\"infoIconTooltipText\"\n :tooltip-position=\"PopperContainerPosition.TOP\"\n class=\"b-summary-grid-item__title-tooltip\"\n />\n </div>\n </div>\n <div class=\"b-summary-grid-item__content--primary\">\n <bento-typography\n v-if=\"isContentTypographyApplied\"\n data-testid=\"summary-grid-item-content-typography\"\n class=\"b-summary-grid-item__title\"\n v-bind=\"typographyProps\"\n :el=\"BentoTypographyElement.SPAN\"\n >\n <slot />\n <bento-tag\n v-if=\"trend && itemType !== SummaryGridItemType.TEXT\"\n :variant=\"trendVariant\"\n :label=\"trend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n\n <slot v-else />\n </div>\n <div v-if=\"hasSlot('secondary')\" class=\"b-summary-grid-item__content--secondary\">\n <bento-typography\n class=\"b-summary-grid-item__title\"\n data-testid=\"summary-grid-item-secondary-metric-typography\"\n :el=\"BentoTypographyElement.SPAN\"\n :variant=\"BentoTypographyVariant.CAPTION\"\n stronger\n >\n <slot name=\"secondary\" />\n <bento-tag\n v-if=\"secondaryTrend\"\n :variant=\"secondaryTrendVariant\"\n :label=\"secondaryTrend\"\n class=\"b-summary-grid-item__content-trend\"\n />\n </bento-typography>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType, toRefs } from 'vue';\n\n // Components\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoTag, BentoTagVariant } from '@/components/tag';\n import { PopperContainerPosition } from '@/components/popper-container';\n import { Copy } from '@/internal';\n\n // Utils\n import { useHasSlot } from '@/composables';\n\n // Types\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItemType } from './summary-grid-item.types';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'summary-grid-item',\n components: { BentoInfoIcon, BentoTypography, BentoTag, Copy },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Applies styling based on content type\n */\n // TODO add text truncation for SummaryGridItemType.TEXT\n itemType: {\n type: String as PropType<SummaryGridItemType>,\n default: SummaryGridItemType.CUSTOM,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n\n // amount, percentage and numeric props\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n // TODO implement logic for Large size\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Shows colored trend tag next to secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the color of secondary trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n },\n setup(props, { slots }) {\n const { trendDirection, secondaryTrendDirection, itemType, size } = toRefs(props);\n\n const tagVariantColor = direction => {\n switch (direction) {\n case BentoSummaryGridItemTrendDirection.POSITIVE:\n return BentoTagVariant.GREEN;\n case BentoSummaryGridItemTrendDirection.NEGATIVE:\n return BentoTagVariant.RED;\n default:\n return BentoTagVariant.BLUE;\n }\n };\n\n // TODO implement plus or minus symbol logic\n const trendVariant = computed(() => tagVariantColor(trendDirection.value));\n const secondaryTrendVariant = computed(() => tagVariantColor(secondaryTrendDirection.value));\n\n const isContentTypographyApplied = computed(\n () =>\n itemType.value === SummaryGridItemType.TEXT ||\n itemType.value === SummaryGridItemType.PERCENTAGE ||\n itemType.value === SummaryGridItemType.AMOUNT ||\n itemType.value === SummaryGridItemType.NUMERIC\n );\n\n const typographyContentElement = computed(() => {\n if (isContentTypographyApplied.value) {\n if (size.value === BentoSummaryGridItemSize.SMALL) {\n return BentoTypographyVariant.BODY;\n }\n if (itemType.value !== SummaryGridItemType.TEXT) {\n return BentoTypographyVariant.TITLE;\n }\n }\n\n return null;\n });\n\n const typographyProps = computed(() => ({\n medium: size.value === BentoSummaryGridItemSize.LARGE,\n strongest: size.value === BentoSummaryGridItemSize.SMALL,\n wide: size.value === BentoSummaryGridItemSize.SMALL,\n variant: typographyContentElement.value,\n }));\n\n const computedStyles = computed(() => (props.fitContent ? { width: 'fit-content' } : {}));\n\n const summaryBarItemTrendConditionalClasses = computed(() => ({\n [`b-summary-grid-item__content-trend--${props.trend}`]: props.trend,\n }));\n\n return {\n // Values\n trendVariant,\n secondaryTrendVariant,\n isContentTypographyApplied,\n typographyProps,\n\n // Styles\n computedStyles,\n summaryBarItemTrendConditionalClasses,\n\n // Enums\n BentoTypographyElement,\n BentoTypographyVariant,\n SummaryGridItemType,\n BentoSummaryGridItemSize,\n PopperContainerPosition,\n\n // Utils\n hasSlot: useHasSlot(slots),\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item.scss\" />\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.AMOUNT\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-amount\"\n >\n <div class=\"b-summary-grid-item-amount__content\">\n <div>{{ label }}</div>\n <div v-if=\"secondaryLabel\" class=\"b-summary-grid-item-amount__secondary-label\">{{ secondaryLabel }}</div>\n </div>\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display financial data, such as currency values and monetary amounts\n *\n * @example\n * import { BentoSummaryGridItemAmount, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemAmount },\n * template: `\n * <bento-summary-grid-item-amount\n * title=\"Your title\"\n * label=\"200.00 EUR\"\n * secondary-label=\"/ day\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-amount',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n\n /**\n * Adds additional label next to amount content\n */\n secondaryLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Shows colored trend label next to main label\n */\n trend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./summary-grid-item-amount.scss\" />\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.NUMERIC\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-numeric\"\n >\n {{ label }}\n <template v-if=\"secondaryMetric\" #secondary>\n {{ secondaryMetric }}\n </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any numeric information\n *\n * @example\n * import { BentoSummaryGridItemNumeric, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemNumeric },\n * template: `\n * <bento-summary-grid-item-numeric\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-numeric',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to main numeric content\n */\n trend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: null,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.PERCENTAGE\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n :size=\"size\"\n :trend=\"trend\"\n :trend-direction=\"trendDirection\"\n :secondary-trend=\"secondaryTrend\"\n :secondary-trend-direction=\"secondaryTrendDirection\"\n class=\"b-summary-grid-item-percentage\"\n >\n {{ label }}%\n <template v-if=\"secondaryMetric\" #secondary> {{ secondaryMetric }}% </template>\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent, PropType } from 'vue';\n import {\n BentoSummaryGridItemSize,\n BentoSummaryGridItemTrendDirection,\n } from '@/components/summary-grid/summary-grid.types';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display any percentage information\n *\n * @example\n * import { BentoSummaryGridItemPercentage, BentoSummaryGridItemSize, BentoSummaryGridItemTrendDirection } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemPercentage },\n * template: `\n * <bento-summary-grid-item-percentage\n * title=\"Your title\"\n * label=\"123\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * trend=\"+12%\"\n * :trend-direction=\"BentoSummaryGridItemTrendDirection.NEUTRAL\"\n * :size=\"BentoSummaryGridItemSize.MEDIUM\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-percentage',\n components: { SummaryGridItem },\n props: {\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Amount to be shown as the secondary metric value\n */\n secondaryMetric: {\n type: String,\n default: null,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n /**\n * Shows colored trend label next to text content\n */\n trend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the trend label\n */\n trendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Shows colored secondary trend tag next to the secondary metric value\n */\n secondaryTrend: {\n type: String,\n default: undefined,\n },\n /**\n * Defines the direction (color) of the secondary metric's trend tag\n */\n secondaryTrendDirection: {\n type: String as PropType<BentoSummaryGridItemTrendDirection>,\n default: BentoSummaryGridItemTrendDirection.POSITIVE,\n },\n /**\n * Defines the size of the `summary-grid-item` text content\n */\n size: {\n type: String as PropType<BentoSummaryGridItemSize>,\n default: BentoSummaryGridItemSize.SMALL,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :item-type=\"SummaryGridItemType.TEXT\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :title=\"title\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n class=\"b-summary-grid-item-text\"\n >\n {{ label }}\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import { SummaryGridItem, SummaryGridItemType } from '../summary-grid-item';\n\n /**\n * Summary grid item component used to display text only. Can be used for references, IDs or any other text data.\n *\n * @example\n * import { BentoSummaryGridItemText } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSummaryGridItemText },\n * template: `\n * <bento-summary-grid-item-text\n * title=\"Your title\"\n * label=\"Your text here\"\n * info-icon-tooltip-text=\"Your tooltip text here will be toggled by the info icon\"\n * />\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-text',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Amount to be shown as the main value\n */\n label: {\n type: String,\n required: true,\n },\n /**\n * Text used as a title\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: {\n type: String,\n default: null,\n },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: {\n type: Boolean,\n default: false,\n },\n },\n\n setup() {\n return {\n // Enums\n SummaryGridItemType,\n };\n },\n });\n</script>\n","<template>\n <summary-grid-item\n :title=\"title\"\n :info-icon-tooltip-text=\"infoIconTooltipText\"\n :copy=\"copy\"\n :fit-content=\"fitContent\"\n @copy-to-clipoard=\"$emit('copy-to-clipboard')\"\n >\n <slot />\n </summary-grid-item>\n</template>\n\n<script lang=\"ts\">\n import { defineComponent } from 'vue';\n import SummaryGridItem from '../summary-grid-item/summary-grid-item.vue';\n\n /**\n * A summary bar item is a piece of information to be displayed in `bento-summary-bar` component\n *\n * @example\n * import { SummaryBarItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { SummaryBarItem },\n * template: `\n * <summary-grid-item :title=\"textVariable\">\n * Content of the item\n * </summary-grid-item>\n * `\n * }\n */\n export default defineComponent({\n name: 'bento-summary-grid-item-custom',\n components: { SummaryGridItem },\n props: {\n /**\n * Text to copy to the clipboard\n */\n copy: { type: String, default: undefined },\n\n /**\n * Text showed in the info-icon tooltip on hover\n */\n infoIconTooltipText: { type: String, default: null },\n\n /**\n * Text used as a title\n */\n title: { type: String, required: true },\n\n /**\n * The width of `summary-grid-item` fits its content\n */\n fitContent: { type: Boolean, default: false },\n },\n emits: ['copy-to-clipboard'],\n });\n</script>\n"],"names":["_sfc_main$6","defineComponent","GridLayout","_props","slots","numberOfRows","slotRows","_b","_a","slotName","useHasSlot","openBlock","createElementBlock","_hoisted_1$2","Fragment","renderList","_ctx","index","createBlock","_component_grid_layout","createSlots","withCtx","BentoSummaryGridItemSize","BentoSummaryGridItemSize2","BentoSummaryGridItemTrendDirection","BentoSummaryGridItemTrendDirection2","SummaryGridItemType","SummaryGridItemType2","_sfc_main$5","BentoInfoIcon","BentoTypography","BentoTag","Copy","props","trendDirection","secondaryTrendDirection","itemType","size","toRefs","tagVariantColor","direction","BentoTagVariant","trendVariant","computed","secondaryTrendVariant","isContentTypographyApplied","typographyContentElement","BentoTypographyVariant","typographyProps","computedStyles","summaryBarItemTrendConditionalClasses","BentoTypographyElement","PopperContainerPosition","normalizeStyle","createVNode","_component_bento_typography","createElementVNode","_hoisted_2$1","_component_copy","createCommentVNode","_component_bento_info_icon","mergeProps","renderSlot","_component_bento_tag","_hoisted_4","_sfc_main$4","SummaryGridItem","_component_summary_grid_item","resolveComponent","_hoisted_1","toDisplayString","_hoisted_2","_sfc_main$3","_sfc_main$2","_sfc_main$1","_sfc_main"],"mappings":";;;;;;;;;;AA0DI,MAAAA,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA,EAAA,YAAAC,EAAA;AAAA,EACmB,OAAA;AAAA;AAAA;AAAA;AAAA,IAClB,aAAA;AAAA,MAIU,MAAA;AAAA,MACH,SAAA;AAAA,IACG;AAAA,EACb;AAAA,EACJ,MAAAC,GAAA,EAAA,OAAAC,EAAA,GAAA;;AAGI,QAAAC,IAAA;AACA,QAAAD,GAAA;AACI,YAAAE,KAAAC,KAAAC,IAAA,OAAA,KAAAJ,CAAA,MAAA,gBAAAI,EAAA,OAAA,CAAAC,MAAAA,EAAA,SAAA,OAAA,OAAA,gBAAAF,EAAA,IAAA,CAAAE,MAAA;;AAAA,yBAAAD,IAAAC,EAAA,MAAA,GAAA,MAAA,gBAAAD,EAAA,IAAA,EAAA;AAAA;AAIA,UADAH,IAAA,KAAA,IAAA,GAAAC,CAAA,GACAD,IAAA;AACI,cAAA,IAAA;AAAA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AAAA,EAAA;AAAA,IACV,MAAAA,EAAA;AAAA,IACK,eAAAA,EAAA;AAAA;;;;;;;;oDCwBV2D,KAAA1E,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,YAAA,EAAA,iBAAAiE,EAAA;AAAA,EACwB,OAAA;AAAA;AAAA;AAAA;AAAA,IACvB,MAAA,EAAA,MAAA,QAAA,SAAA,OAAA;AAAA;AAAA;AAAA;AAAA,IAIsC,qBAAA,EAAA,MAAA,QAAA,SAAA,KAAA;AAAA;AAAA;AAAA;AAAA,IAKU,OAAA,EAAA,MAAA,QAAA,UAAA,GAAA;AAAA;AAAA;AAAA;AAAA,IAKb,YAAA,EAAA,MAAA,SAAA,SAAA,GAAA;AAAA,EAKM;AAAA,EAChD,OAAA,CAAA,mBAAA;AAEJ,CAAA;;AA/CoB,QAAAC,IAAAC,EAAA,mBAAA;AANf,SAAAzD,EAAA,GAAAO,EAAAiD,GAAA;AAAA,IAA2C,OAAAnD,EAAA;AAAA,IACrC,0BAAAA,EAAA;AAAA,IACiB,MAAAA,EAAA;AAAA,IACvB,eAAAA,EAAA;AAAA;EAEO,GAAA;AAAA;;;;;;;"}
|
package/dist/tabs.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent as g, inject as T, withDirectives as h, openBlock as b, createElementBlock as c, renderSlot as m, vShow as I, ref as u, provide as y, watch as N, nextTick as S, resolveComponent as K, createElementVNode as f, Fragment as k, renderList as D, normalizeClass as V, withKeys as x, createVNode as R, withCtx as L, createTextVNode as O, toDisplayString as X } from "vue";
|
|
2
2
|
import { _ as B } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
-
import { B as Y,
|
|
3
|
+
import { B as Y, a as j, b as P } from "./chunks/index.a169ce0d.js";
|
|
4
4
|
import { g as q } from "./chunks/unique-id.a2a2b458.js";
|
|
5
|
-
import "./assets/
|
|
5
|
+
import "./assets/index32.css";
|
|
6
6
|
const A = Symbol("tabs registerTab injection key"), w = Symbol("tabs active tab ID key"), z = g({
|
|
7
7
|
props: {
|
|
8
8
|
/**
|
package/dist/tag.js
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import { defineComponent as p, computed as a, resolveComponent as d, resolveDirective as m, withDirectives as _, openBlock as
|
|
2
|
-
import { B as T,
|
|
1
|
+
import { defineComponent as p, computed as a, resolveComponent as d, resolveDirective as m, withDirectives as _, openBlock as b, createElementBlock as f, normalizeClass as v, createVNode as g, withCtx as y, createTextVNode as h, toDisplayString as E } from "vue";
|
|
2
|
+
import { B as T, b as C, a as S } from "./chunks/index.a169ce0d.js";
|
|
3
|
+
import { b as N } from "./chunks/tooltip.86176c7d.js";
|
|
3
4
|
import { u as A } from "./chunks/aria-label.ac9651a5.js";
|
|
4
5
|
import { g as c } from "./chunks/get-slot-text.2db867f8.js";
|
|
5
|
-
import { b as N } from "./chunks/tooltip.68fc3821.js";
|
|
6
6
|
import { _ as B } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
7
|
-
import "./assets/
|
|
7
|
+
import "./assets/index33.css";
|
|
8
8
|
var n = /* @__PURE__ */ ((e) => (e.GREY = "grey", e.BLUE = "blue", e.GREEN = "green", e.ORANGE = "orange", e.RED = "red", e.WHITE = "white", e))(n || {});
|
|
9
9
|
const $ = p({
|
|
10
10
|
name: "bento-tag",
|
|
11
11
|
components: { BentoTypography: T },
|
|
12
12
|
directives: { BentoTooltipDirective: N },
|
|
13
|
-
inheritAttrs: !1,
|
|
14
13
|
props: {
|
|
15
14
|
/**
|
|
16
15
|
* The label text content of the Tag.
|
|
@@ -52,12 +51,12 @@ const $ = p({
|
|
|
52
51
|
const w = ["aria-label"];
|
|
53
52
|
function D(e, o, i, s, t, r) {
|
|
54
53
|
const l = d("bento-typography"), u = m("bento-tooltip-directive");
|
|
55
|
-
return _((
|
|
56
|
-
class:
|
|
54
|
+
return _((b(), f("span", {
|
|
55
|
+
class: v(["b-tag", e.tagConditionalClasses]),
|
|
57
56
|
"aria-label": e.computedAriaLabel,
|
|
58
57
|
role: "mark"
|
|
59
58
|
}, [
|
|
60
|
-
|
|
59
|
+
g(l, {
|
|
61
60
|
class: "b-tag__label",
|
|
62
61
|
el: e.BentoTypographyElement.SPAN,
|
|
63
62
|
variant: e.BentoTypographyVariant.CAPTION,
|
|
@@ -72,7 +71,7 @@ function D(e, o, i, s, t, r) {
|
|
|
72
71
|
[u, e.shouldShowTooltip ? e.textFromSlot : null]
|
|
73
72
|
]);
|
|
74
73
|
}
|
|
75
|
-
const I = /* @__PURE__ */ B($, [["render", D], ["__scopeId", "data-v-
|
|
74
|
+
const I = /* @__PURE__ */ B($, [["render", D], ["__scopeId", "data-v-1cf0a538"]]);
|
|
76
75
|
export {
|
|
77
76
|
I as BentoTag,
|
|
78
77
|
n as BentoTagVariant
|