@dpa-id-components/dpa-shared-components 21.1.1 → 22.0.0-next.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/{alert-fill-BHn_Z4vo.js → alert-filled-COSmQYAa.js} +1 -1
- package/dist/{bell-fill-DHRfa4cC.js → bell-filled-7gfK8601.js} +1 -1
- package/dist/{bookmark-outlined-D41PleT8.js → bookmark-D65iW--h.js} +1 -1
- package/dist/{bookmark-DNJYJq0J.js → bookmark-filled-5lCW1BfF.js} +1 -1
- package/dist/{comment-fill-Dc-swkQu.js → comment-filled-Cl_qZ6Fz.js} +1 -1
- package/dist/components/UiBadge/UiBadge.vue.d.ts +3 -16
- package/dist/components/UiButton/UiButton.vue.d.ts +15 -21
- package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +5 -11
- package/dist/components/UiCheckbox/UiCheckbox.vue.d.ts +14 -21
- package/dist/components/UiChip/UiChip.vue.d.ts +11 -12
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -8
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +47 -84
- package/dist/components/UiDialog/UiDialog.vue.d.ts +20 -37
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +10 -9
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +26 -10
- package/dist/components/UiIcon/UiIcon.vue.d.ts +11 -6
- package/dist/components/UiIcon/icons.d.ts +14 -39
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +15 -6
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +17 -10
- package/dist/components/UiInput/UiInput.vue.d.ts +6 -48
- package/dist/components/UiList/UiList.vue.d.ts +5 -11
- package/dist/components/UiListItem/UiListItem.vue.d.ts +12 -24
- package/dist/components/UiMenu/UiMenu.vue.d.ts +30 -35
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +8 -5
- package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -11
- package/dist/components/UiPopover/UiPopover.vue.d.ts +45 -0
- package/dist/components/UiRadioButton/UiRadioButton.vue.d.ts +35 -0
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +27 -31
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +16 -39
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +2 -2
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +1 -5
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +4 -10
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +5 -8
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +22 -13
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +10 -24
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +3 -31
- package/dist/components/index.d.ts +3 -4
- package/dist/dpa-shared-components.js +4263 -4873
- package/dist/{flag-fill-C3XgapYW.js → flag-filled-VmJW-U0p.js} +1 -1
- package/dist/{folder-fill-CnEmPx6c.js → folder-filled-D6pmcH0e.js} +1 -1
- package/dist/{image focus point-D_hUlTWi.js → image-focus-point-BJ7HhehR.js} +1 -1
- package/dist/{info-fill-DlgeXJbI.js → info-filled-PYbvwGmZ.js} +1 -1
- package/dist/{map-outline-uvK8An7m.js → map-FF2zfEGP.js} +1 -1
- package/dist/{map-BMOQGCce.js → map-filled-Y8JaYK4Y.js} +1 -1
- package/dist/{video-rounded-ISWC3gUM.js → play-CArB2O7k.js} +1 -1
- package/dist/{saved-search-fill-CPoyaMRU.js → saved-search-filled-CNz5iwu_.js} +1 -1
- package/dist/{sidebar-fill-CBSJYVQQ.js → sidebar-filled-BnnqCUYl.js} +1 -1
- package/dist/spinner-CrCQ6H6L.js +32 -0
- package/dist/src/assets/icons/{bookmark-fill.vue → bookmark-filled.vue} +1 -1
- package/dist/src/assets/icons/bookmark.vue +4 -7
- package/dist/src/assets/icons/flag-filled.vue +4 -4
- package/dist/src/assets/icons/folder-filled.vue +4 -4
- package/dist/src/assets/icons/info-filled.vue +4 -4
- package/dist/src/assets/icons/map-filled.vue +13 -0
- package/dist/src/assets/icons/map.vue +1 -1
- package/dist/src/assets/icons/play.vue +1 -1
- package/dist/src/assets/icons/spinner.vue +27 -3
- package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +3 -3
- package/dist/src/components/DpaMediaItem/DpaMediaItem.vue +17 -17
- package/dist/src/components/UiBadge/README.md +8 -13
- package/dist/src/components/UiBadge/UiBadge.spec.ts +9 -15
- package/dist/src/components/UiBadge/UiBadge.stories.ts +52 -42
- package/dist/src/components/UiBadge/UiBadge.vue +29 -77
- package/dist/src/components/UiButton/README.md +20 -18
- package/dist/src/components/UiButton/UiButton.spec.ts +12 -41
- package/dist/src/components/UiButton/UiButton.stories.ts +53 -33
- package/dist/src/components/UiButton/UiButton.vue +55 -111
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +3 -2
- package/dist/src/components/UiButtonGroup/UiButtonGroup.vue +23 -1
- package/dist/src/components/UiCard/UiCard.vue +3 -3
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +4 -2
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +1 -1
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +2 -3
- package/dist/src/components/UiCheckbox/README.md +4 -16
- package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +15 -141
- package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +18 -32
- package/dist/src/components/UiCheckbox/UiCheckbox.vue +48 -84
- package/dist/src/components/UiChip/README.md +10 -5
- package/dist/src/components/UiChip/UiChip.spec.ts +5 -60
- package/dist/src/components/UiChip/UiChip.stories.ts +53 -17
- package/dist/src/components/UiChip/UiChip.vue +31 -33
- package/dist/src/components/UiCollapseNavigation/README.md +3 -3
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +12 -12
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +8 -6
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +12 -24
- package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +5 -6
- package/dist/src/components/UiColorPicker/UiColorPicker.vue +21 -60
- package/dist/src/components/UiColorPicker/lib/colors.ts +9 -9
- package/dist/src/components/UiDatePicker/README.md +68 -46
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +92 -284
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +210 -196
- package/dist/src/components/UiDatePicker/UiDatePicker.vue +301 -432
- package/dist/src/components/UiDialog/README.md +17 -22
- package/dist/src/components/UiDialog/UiDialog.spec.ts +3 -110
- package/dist/src/components/UiDialog/UiDialog.stories.ts +45 -54
- package/dist/src/components/UiDialog/UiDialog.vue +75 -104
- package/dist/src/components/UiFilterBadge/README.md +7 -7
- package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +47 -3
- package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +3 -18
- package/dist/src/components/UiFilterBadge/UiFilterBadge.vue +31 -26
- package/dist/src/components/UiFilterButton/README.md +2 -0
- package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +1 -1
- package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +2 -1
- package/dist/src/components/UiFilterButton/UiFilterButton.vue +31 -23
- package/dist/src/components/UiIcon/UiIcon.spec.ts +3 -3
- package/dist/src/components/UiIcon/UiIcon.stories.ts +1 -1
- package/dist/src/components/UiIcon/UiIcon.vue +24 -25
- package/dist/src/components/UiIcon/icons.ts +113 -141
- package/dist/src/components/UiIconButton/UiIconButton.spec.ts +1 -1
- package/dist/src/components/UiIconButton/UiIconButton.stories.ts +1 -0
- package/dist/src/components/UiIconButton/UiIconButton.vue +28 -10
- package/dist/src/components/UiInfoContent/README.md +7 -8
- package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +29 -21
- package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +11 -33
- package/dist/src/components/UiInfoContent/UiInfoContent.vue +34 -33
- package/dist/src/components/UiInput/README.md +15 -32
- package/dist/src/components/UiInput/UiInput.spec.ts +71 -102
- package/dist/src/components/UiInput/UiInput.stories.ts +67 -58
- package/dist/src/components/UiInput/UiInput.vue +87 -286
- package/dist/src/components/UiLabel/README.md +0 -9
- package/dist/src/components/UiLabel/UiLabel.vue +1 -1
- package/dist/src/components/UiList/UiList.stories.ts +1 -0
- package/dist/src/components/UiList/UiList.vue +22 -0
- package/dist/src/components/UiListItem/UiListItem.spec.ts +1 -2
- package/dist/src/components/UiListItem/UiListItem.stories.ts +2 -2
- package/dist/src/components/UiListItem/UiListItem.vue +73 -93
- package/dist/src/components/UiMenu/README.md +64 -7
- package/dist/src/components/UiMenu/UiMenu.spec.ts +87 -99
- package/dist/src/components/UiMenu/UiMenu.stories.ts +166 -411
- package/dist/src/components/UiMenu/UiMenu.vue +228 -408
- package/dist/src/components/UiMenu/UiMenuItem.vue +28 -9
- package/dist/src/components/UiMenu/UiMenuList.vue +22 -0
- package/dist/src/components/UiOverlay/README.md +1 -1
- package/dist/src/components/UiOverlay/UiOverlay.stories.ts +1 -1
- package/dist/src/components/UiOverlay/UiOverlay.vue +2 -2
- package/dist/src/components/UiOverlayMenu/README.md +1 -1
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.vue +3 -3
- package/dist/src/components/UiPopover/README.md +56 -0
- package/dist/src/components/UiPopover/UiPopover.stories.ts +49 -0
- package/dist/src/components/UiPopover/UiPopover.vue +187 -0
- package/dist/src/components/UiRadioButton/README.md +44 -0
- package/dist/src/components/UiRadioButton/UiRadioButton.stories.ts +85 -0
- package/dist/src/components/UiRadioButton/UiRadioButton.vue +82 -0
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +5 -5
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +5 -30
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +44 -69
- package/dist/src/components/UiSearchBar/README.md +40 -37
- package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +6 -23
- package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +25 -127
- package/dist/src/components/UiSearchBar/UiSearchBar.vue +73 -179
- package/dist/src/components/UiSearchInput/UiSearchInput.vue +27 -22
- package/dist/src/components/UiSection/UiSection.vue +4 -4
- package/dist/src/components/UiSectionDivider/UiSectionDivider.vue +3 -3
- package/dist/src/components/UiSelect/UiSelect.stories.ts +1 -1
- package/dist/src/components/UiSelect/UiSelect.vue +17 -76
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +1 -1
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.vue +12 -17
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +45 -0
- package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +19 -22
- package/dist/src/components/UiSnackbar/UiSnackbar.vue +23 -26
- package/dist/src/components/UiSpinner/README.md +6 -4
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +33 -19
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +16 -20
- package/dist/src/components/UiSpinner/UiSpinner.vue +55 -87
- package/dist/src/components/UiTextButton/UiTextButton.spec.ts +3 -3
- package/dist/src/components/UiTextButton/UiTextButton.stories.ts +1 -0
- package/dist/src/components/UiTextButton/UiTextButton.vue +28 -9
- package/dist/src/components/UiToggleButton/README.md +16 -15
- package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +48 -62
- package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +30 -40
- package/dist/src/components/UiToggleButton/UiToggleButton.vue +54 -129
- package/dist/src/components/UiTooltip/README.md +25 -36
- package/dist/src/components/UiTooltip/UiTooltip.spec.ts +45 -25
- package/dist/src/components/UiTooltip/UiTooltip.stories.ts +21 -64
- package/dist/src/components/UiTooltip/UiTooltip.vue +64 -136
- package/dist/src/components/index.ts +4 -6
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +4 -2
- package/dist/src/tailwindPreset.css +161 -56
- package/dist/src/types/index.ts +1 -0
- package/dist/src/utils/cn.spec.ts +21 -4
- package/dist/src/utils/cn.ts +11 -4
- package/dist/style.css +1 -1
- package/dist/tailwindPreset.css +161 -56
- package/dist/types/index.d.ts +1 -0
- package/dist/utils/cn.d.ts +8 -0
- package/dist/{video overlay-DfhF7VpE.js → video-overlay-D6e61Eo7.js} +1 -1
- package/package.json +1 -2
- package/src/assets/icons/{bookmark-fill.vue → bookmark-filled.vue} +1 -1
- package/src/assets/icons/bookmark.vue +4 -7
- package/src/assets/icons/flag-filled.vue +4 -4
- package/src/assets/icons/folder-filled.vue +4 -4
- package/src/assets/icons/info-filled.vue +4 -4
- package/src/assets/icons/map-filled.vue +13 -0
- package/src/assets/icons/map.vue +1 -1
- package/src/assets/icons/play.vue +1 -1
- package/src/assets/icons/spinner.vue +27 -3
- package/src/components/DpaMediaItem/DpaMediaItem.vue +17 -17
- package/src/components/UiBadge/README.md +8 -13
- package/src/components/UiBadge/UiBadge.vue +29 -77
- package/src/components/UiButton/README.md +20 -18
- package/src/components/UiButton/UiButton.vue +55 -111
- package/src/components/UiButtonGroup/UiButtonGroup.vue +23 -1
- package/src/components/UiCard/UiCard.vue +3 -3
- package/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +2 -3
- package/src/components/UiCheckbox/README.md +4 -16
- package/src/components/UiCheckbox/UiCheckbox.vue +48 -84
- package/src/components/UiChip/README.md +10 -5
- package/src/components/UiChip/UiChip.vue +31 -33
- package/src/components/UiCollapseNavigation/README.md +3 -3
- package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +8 -6
- package/src/components/UiColorPicker/UiColorPicker.vue +21 -60
- package/src/components/UiColorPicker/lib/colors.ts +9 -9
- package/src/components/UiDatePicker/README.md +68 -46
- package/src/components/UiDatePicker/UiDatePicker.vue +301 -432
- package/src/components/UiDialog/README.md +17 -22
- package/src/components/UiDialog/UiDialog.vue +75 -104
- package/src/components/UiFilterBadge/README.md +7 -7
- package/src/components/UiFilterBadge/UiFilterBadge.vue +31 -26
- package/src/components/UiFilterButton/README.md +2 -0
- package/src/components/UiFilterButton/UiFilterButton.vue +31 -23
- package/src/components/UiIcon/UiIcon.vue +24 -25
- package/src/components/UiIcon/icons.ts +113 -141
- package/src/components/UiIconButton/UiIconButton.vue +28 -10
- package/src/components/UiInfoContent/README.md +7 -8
- package/src/components/UiInfoContent/UiInfoContent.vue +34 -33
- package/src/components/UiInput/README.md +15 -32
- package/src/components/UiInput/UiInput.vue +87 -286
- package/src/components/UiLabel/README.md +0 -9
- package/src/components/UiLabel/UiLabel.vue +1 -1
- package/src/components/UiList/UiList.vue +22 -0
- package/src/components/UiListItem/UiListItem.vue +73 -93
- package/src/components/UiMenu/README.md +64 -7
- package/src/components/UiMenu/UiMenu.vue +228 -408
- package/src/components/UiMenu/UiMenuItem.vue +28 -9
- package/src/components/UiMenu/UiMenuList.vue +22 -0
- package/src/components/UiOverlay/README.md +1 -1
- package/src/components/UiOverlay/UiOverlay.vue +2 -2
- package/src/components/UiOverlayMenu/README.md +1 -1
- package/src/components/UiOverlayMenu/UiOverlayMenu.vue +3 -3
- package/src/components/UiPopover/README.md +56 -0
- package/src/components/UiPopover/UiPopover.vue +187 -0
- package/src/components/UiRadioButton/README.md +44 -0
- package/src/components/UiRadioButton/UiRadioButton.vue +82 -0
- package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +44 -69
- package/src/components/UiSearchBar/README.md +40 -37
- package/src/components/UiSearchBar/UiSearchBar.vue +73 -179
- package/src/components/UiSearchInput/UiSearchInput.vue +27 -22
- package/src/components/UiSection/UiSection.vue +4 -4
- package/src/components/UiSectionDivider/UiSectionDivider.vue +3 -3
- package/src/components/UiSelect/UiSelect.vue +17 -76
- package/src/components/UiSkeletonBox/UiSkeletonBox.vue +12 -17
- package/src/components/UiSnackbar/UiSnackbar.vue +23 -26
- package/src/components/UiSpinner/README.md +6 -4
- package/src/components/UiSpinner/UiSpinner.vue +55 -87
- package/src/components/UiTextButton/UiTextButton.vue +28 -9
- package/src/components/UiToggleButton/README.md +16 -15
- package/src/components/UiToggleButton/UiToggleButton.vue +54 -129
- package/src/components/UiTooltip/README.md +25 -36
- package/src/components/UiTooltip/UiTooltip.vue +64 -136
- package/src/tailwindPreset.css +161 -56
- package/src/types/index.ts +1 -0
- package/src/utils/cn.ts +11 -4
- package/dist/assets/icons/flag-outline.vue.d.ts +0 -3
- package/dist/assets/icons/folder-fill.vue.d.ts +0 -3
- package/dist/assets/icons/graphic-circled.vue.d.ts +0 -3
- package/dist/assets/icons/graphic-filled.vue.d.ts +0 -3
- package/dist/assets/icons/image focus point.vue.d.ts +0 -3
- package/dist/assets/icons/info-fill.vue.d.ts +0 -3
- package/dist/assets/icons/lock-filled.vue.d.ts +0 -3
- package/dist/assets/icons/map-outline.vue.d.ts +0 -3
- package/dist/assets/icons/paperplane.vue.d.ts +0 -3
- package/dist/assets/icons/pause-circle.vue.d.ts +0 -3
- package/dist/assets/icons/picture-circled.vue.d.ts +0 -3
- package/dist/assets/icons/picture-filled.vue.d.ts +0 -3
- package/dist/assets/icons/picture-gallery.vue.d.ts +0 -3
- package/dist/assets/icons/play-circle.vue.d.ts +0 -3
- package/dist/assets/icons/play-fill.vue.d.ts +0 -3
- package/dist/assets/icons/plus-circle.vue.d.ts +0 -3
- package/dist/assets/icons/saved-search-fill.vue.d.ts +0 -3
- package/dist/assets/icons/sidebar-fill.vue.d.ts +0 -3
- package/dist/assets/icons/star-fill.vue.d.ts +0 -3
- package/dist/assets/icons/text-circled.vue.d.ts +0 -3
- package/dist/assets/icons/text-filled.vue.d.ts +0 -3
- package/dist/assets/icons/video overlay.vue.d.ts +0 -3
- package/dist/assets/icons/video-circled.vue.d.ts +0 -3
- package/dist/assets/icons/video-filled.vue.d.ts +0 -3
- package/dist/assets/icons/video-rounded.vue.d.ts +0 -3
- package/dist/audio-circled-amRbTaDb.js +0 -15
- package/dist/audio-filled-C7m_-PTb.js +0 -15
- package/dist/bookmark-fill-DbkrXmPt.js +0 -20
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +0 -22
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +0 -29
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +0 -20
- package/dist/filter-outline-ChWKUbSt.js +0 -16
- package/dist/flag-filled-CdVD_QxY.js +0 -18
- package/dist/flag-outline-ChGgKT6P.js +0 -18
- package/dist/folder-filled-zwvSw3Sd.js +0 -18
- package/dist/graphic-circled-BtuNYmPh.js +0 -15
- package/dist/graphic-filled-DXQvxz4s.js +0 -15
- package/dist/info-filled-Btao1rhT.js +0 -18
- package/dist/lock-filled-C5I60_d0.js +0 -18
- package/dist/paperplane-ed0y9oB6.js +0 -18
- package/dist/pause-circle-ab18LhX3.js +0 -19
- package/dist/picture-circled-DYsNZNYH.js +0 -15
- package/dist/picture-filled-CQYRN3Fa.js +0 -15
- package/dist/picture-gallery-BgWYQrqC.js +0 -16
- package/dist/play-BXy8WcYq.js +0 -18
- package/dist/play-circle-B88YxOh-.js +0 -18
- package/dist/play-fill-nWPoHjD3.js +0 -18
- package/dist/plus-circle-DKWKVMiq.js +0 -18
- package/dist/spinner-dy09pOOm.js +0 -13
- package/dist/src/assets/icons/audio-circled.vue +0 -12
- package/dist/src/assets/icons/audio-filled.vue +0 -12
- package/dist/src/assets/icons/bookmark-outlined.vue +0 -12
- package/dist/src/assets/icons/filter-outline.vue +0 -8
- package/dist/src/assets/icons/flag-fill.vue +0 -13
- package/dist/src/assets/icons/flag-outline.vue +0 -13
- package/dist/src/assets/icons/folder-fill.vue +0 -13
- package/dist/src/assets/icons/graphic-circled.vue +0 -12
- package/dist/src/assets/icons/graphic-filled.vue +0 -12
- package/dist/src/assets/icons/info-fill.vue +0 -13
- package/dist/src/assets/icons/lock-filled.vue +0 -13
- package/dist/src/assets/icons/map-outline.vue +0 -13
- package/dist/src/assets/icons/paperplane.vue +0 -13
- package/dist/src/assets/icons/pause-circle.vue +0 -14
- package/dist/src/assets/icons/picture-circled.vue +0 -12
- package/dist/src/assets/icons/picture-filled.vue +0 -12
- package/dist/src/assets/icons/picture-gallery.vue +0 -13
- package/dist/src/assets/icons/play-circle.vue +0 -13
- package/dist/src/assets/icons/play-fill.vue +0 -13
- package/dist/src/assets/icons/plus-circle.vue +0 -13
- package/dist/src/assets/icons/star-fill.vue +0 -13
- package/dist/src/assets/icons/text-circled.vue +0 -12
- package/dist/src/assets/icons/text-filled.vue +0 -12
- package/dist/src/assets/icons/video-circled.vue +0 -12
- package/dist/src/assets/icons/video-filled.vue +0 -12
- package/dist/src/assets/icons/video-rounded.vue +0 -13
- package/dist/src/components/UiAutocomplete/README.md +0 -44
- package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +0 -39
- package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +0 -46
- package/dist/src/components/UiAutocomplete/UiAutocomplete.vue +0 -159
- package/dist/src/components/UiFilterBadgeButton/README.md +0 -38
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +0 -41
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +0 -56
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +0 -50
- package/dist/src/components/UiSimpleInput/README.md +0 -38
- package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +0 -58
- package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +0 -53
- package/dist/src/components/UiSimpleInput/UiSimpleInput.vue +0 -98
- package/dist/src/utils/index.spec.ts +0 -12
- package/dist/star-fill-DIXwg3gQ.js +0 -18
- package/dist/text-circled-Cykzn5-2.js +0 -15
- package/dist/text-filled-BwOhn26K.js +0 -15
- package/dist/video-circled-Bw9Miyyr.js +0 -15
- package/dist/video-filled-B5Td1M5L.js +0 -15
- package/src/assets/icons/audio-circled.vue +0 -12
- package/src/assets/icons/audio-filled.vue +0 -12
- package/src/assets/icons/bookmark-outlined.vue +0 -12
- package/src/assets/icons/filter-outline.vue +0 -8
- package/src/assets/icons/flag-fill.vue +0 -13
- package/src/assets/icons/flag-outline.vue +0 -13
- package/src/assets/icons/folder-fill.vue +0 -13
- package/src/assets/icons/graphic-circled.vue +0 -12
- package/src/assets/icons/graphic-filled.vue +0 -12
- package/src/assets/icons/info-fill.vue +0 -13
- package/src/assets/icons/lock-filled.vue +0 -13
- package/src/assets/icons/map-outline.vue +0 -13
- package/src/assets/icons/paperplane.vue +0 -13
- package/src/assets/icons/pause-circle.vue +0 -14
- package/src/assets/icons/picture-circled.vue +0 -12
- package/src/assets/icons/picture-filled.vue +0 -12
- package/src/assets/icons/picture-gallery.vue +0 -13
- package/src/assets/icons/play-circle.vue +0 -13
- package/src/assets/icons/play-fill.vue +0 -13
- package/src/assets/icons/plus-circle.vue +0 -13
- package/src/assets/icons/star-fill.vue +0 -13
- package/src/assets/icons/text-circled.vue +0 -12
- package/src/assets/icons/text-filled.vue +0 -12
- package/src/assets/icons/video-circled.vue +0 -12
- package/src/assets/icons/video-filled.vue +0 -12
- package/src/assets/icons/video-rounded.vue +0 -13
- package/src/components/UiAutocomplete/README.md +0 -44
- package/src/components/UiAutocomplete/UiAutocomplete.vue +0 -159
- package/src/components/UiFilterBadgeButton/README.md +0 -38
- package/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +0 -50
- package/src/components/UiSimpleInput/README.md +0 -38
- package/src/components/UiSimpleInput/UiSimpleInput.vue +0 -98
- /package/dist/{alert-BMmH4q6y.js → alert-CdAp0ksh.js} +0 -0
- /package/dist/assets/icons/{alert-fill.vue.d.ts → alert-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{audio-circled.vue.d.ts → bell-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{audio-filled.vue.d.ts → bookmark-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{bell-fill.vue.d.ts → comment-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{bookmark-fill.vue.d.ts → image-focus-point.vue.d.ts} +0 -0
- /package/dist/assets/icons/{bookmark-outlined.vue.d.ts → map-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{comment-fill.vue.d.ts → saved-search-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{filter-outline.vue.d.ts → sidebar-filled.vue.d.ts} +0 -0
- /package/dist/assets/icons/{flag-fill.vue.d.ts → video-overlay.vue.d.ts} +0 -0
- /package/dist/{audio-BN2iVbbp.js → audio-Cgg6MUeM.js} +0 -0
- /package/dist/{audio-DLQLFJ3x.js → audio-DS8plcCU.js} +0 -0
- /package/dist/{bag-Br7SrnRJ.js → bag-B28jMR7E.js} +0 -0
- /package/dist/{bell-kOosto6B.js → bell-k_sZgnpL.js} +0 -0
- /package/dist/{book-D0Xsp8As.js → book-CqUJ_JRz.js} +0 -0
- /package/dist/{box-Bw_tD7Nd.js → box-BCDNtaq7.js} +0 -0
- /package/dist/{bulb-tXJKei6j.js → bulb-12wSYpgA.js} +0 -0
- /package/dist/{call-BdzulBfZ.js → call-CW04DyHi.js} +0 -0
- /package/dist/{camera-D8so0Wqg.js → camera-CbeyxVU5.js} +0 -0
- /package/dist/{check-CTBqwPMY.js → check-BpPjjXqx.js} +0 -0
- /package/dist/{checklist-CVBb2iLT.js → checklist-CFCfO7IN.js} +0 -0
- /package/dist/{checkmark-BkBvk5FP.js → checkmark-DhUksPvT.js} +0 -0
- /package/dist/{checkmark-double-9tbcPPxC.js → checkmark-double-BNGXAUiT.js} +0 -0
- /package/dist/{chevron-down-BcjUrqWQ.js → chevron-down-BjZ6BFFp.js} +0 -0
- /package/dist/{chevron-left-DdChgK6Q.js → chevron-left-Z-D_OY2t.js} +0 -0
- /package/dist/{chevron-right-BR3OVahz.js → chevron-right-D1GfZQB6.js} +0 -0
- /package/dist/{chevron-up-R3uiTZDq.js → chevron-up-DWZ1F8w0.js} +0 -0
- /package/dist/{clipboard-BFi2VbBj.js → clipboard-CNCIToKK.js} +0 -0
- /package/dist/{clock-C3D4TRfx.js → clock-CqWSNhFX.js} +0 -0
- /package/dist/{close-CbIMNMG_.js → close-oHIGT_JQ.js} +0 -0
- /package/dist/{cloud-save-CQCTGXxN.js → cloud-save-CWTQ5IHS.js} +0 -0
- /package/dist/{code-ChJ2qMcZ.js → code-BD5nOHqK.js} +0 -0
- /package/dist/{collapse-DISUbIVr.js → collapse-D6QeCZC7.js} +0 -0
- /package/dist/{color-palette-B4pqFFIE.js → color-palette-BpONORjj.js} +0 -0
- /package/dist/{comment-CzF3hkpf.js → comment-D5RZxZWG.js} +0 -0
- /package/dist/{copy-CywrUiK2.js → copy-BDnlScSS.js} +0 -0
- /package/dist/{copy-link-DqcNlpUK.js → copy-link-BSfa58Tb.js} +0 -0
- /package/dist/{delete-Bl6aSpBn.js → delete-dDyi0gau.js} +0 -0
- /package/dist/{download-BdnIOaET.js → download-B-ZTsIBv.js} +0 -0
- /package/dist/{dpa-id-4HKRxUEF.js → dpa-id-DRnjTcHI.js} +0 -0
- /package/dist/{edit-KtC1G-_s.js → edit-BbFkVyRd.js} +0 -0
- /package/dist/{edit-add-DjUq6zXq.js → edit-add-CAPOsjts.js} +0 -0
- /package/dist/{eil-CPA4kVQM.js → eil-CzEP-9Lo.js} +0 -0
- /package/dist/{emoji-C2BmBFxC.js → emoji-BjLqvypC.js} +0 -0
- /package/dist/{emoji-add-NHqne_6m.js → emoji-add-BB4fB4th.js} +0 -0
- /package/dist/{envelope-BDSOA_J7.js → envelope-DftzB5Ol.js} +0 -0
- /package/dist/{event-Bo_sb247.js → event-FR1JMgj6.js} +0 -0
- /package/dist/{expand-BK_uzKmx.js → expand-DaVQ0gpz.js} +0 -0
- /package/dist/{external-link-BPYyKPIa.js → external-link-2Es0qWwd.js} +0 -0
- /package/dist/{file-B97T9C2M.js → file-AHJ00f5M.js} +0 -0
- /package/dist/{file-pdf-lFk-5brY.js → file-pdf-CJDdjKS0.js} +0 -0
- /package/dist/{filter-BIJnBkRa.js → filter-CXjBFUUg.js} +0 -0
- /package/dist/{flag-DNP4L-y-.js → flag-CbX4PUMS.js} +0 -0
- /package/dist/{flags-G-Nbo5ST.js → flags-Buo1j-9g.js} +0 -0
- /package/dist/{flash-9TBwsdOx.js → flash-Dlr5gL01.js} +0 -0
- /package/dist/{folder-s6NWFqjh.js → folder-DQwCjGZC.js} +0 -0
- /package/dist/{folder-add-B-l2wmwY.js → folder-add-zPr2Gmtj.js} +0 -0
- /package/dist/{gallery-B8I5lJ51.js → gallery-CfUbckcB.js} +0 -0
- /package/dist/{gallery-DSmOoCFT.js → gallery-DPl8qZQu.js} +0 -0
- /package/dist/{graphic-BMtcGj5R.js → graphic-BbhCuiiE.js} +0 -0
- /package/dist/{graphic-d-_5qmyr.js → graphic-nXH5ifxc.js} +0 -0
- /package/dist/{graphics-eur3JZ_7.js → graphics-Dp8pQzs-.js} +0 -0
- /package/dist/{grid-1-DOm2nS5Y.js → grid-1-DZUEMbtb.js} +0 -0
- /package/dist/{grid-2-D9XOIyFO.js → grid-2-BQ-9yylY.js} +0 -0
- /package/dist/{grid-3-CR1E0m9u.js → grid-3-BGhZrrCJ.js} +0 -0
- /package/dist/{grid-4-QKKeiUGc.js → grid-4-DY9N435A.js} +0 -0
- /package/dist/{grid-6-C5bCbXur.js → grid-6-B0BR3wbB.js} +0 -0
- /package/dist/{grid-9-FNxsRYRg.js → grid-9-BWhM7qat.js} +0 -0
- /package/dist/{grid-masonry-CuwXzdZ6.js → grid-masonry-1e9tYkSK.js} +0 -0
- /package/dist/{grid-masonry-9-CxLBpKCz.js → grid-masonry-9-DiiX1pQo.js} +0 -0
- /package/dist/{help-DkjfD818.js → help-CLfj4LQM.js} +0 -0
- /package/dist/{home-njHAfgwc.js → home-D6htLjOF.js} +0 -0
- /package/dist/{image-C2RlXeDP.js → image-DnYnaoeu.js} +0 -0
- /package/dist/{impact-high-C0SywXT1.js → impact-high-DuECIU0d.js} +0 -0
- /package/dist/{impact-low-yDd0jU4k.js → impact-low-DMtzvmWi.js} +0 -0
- /package/dist/{impact-medium-Cc_nInN7.js → impact-medium-B5-WfnV2.js} +0 -0
- /package/dist/{impact-very-high-DiOgG_Ji.js → impact-very-high-C1K1nCE9.js} +0 -0
- /package/dist/{impact-very-low-CYW4RgJO.js → impact-very-low-CXbiBK6E.js} +0 -0
- /package/dist/{info-NBFIJ3YI.js → info-Ca-64c_9.js} +0 -0
- /package/dist/{label-CTr8hHIv.js → label-D8X5FrVe.js} +0 -0
- /package/dist/{label-filled-CnTpOqvX.js → label-filled-DjSc-Fk4.js} +0 -0
- /package/dist/{language-UqPESR_Z.js → language-OE6ZfER_.js} +0 -0
- /package/dist/{latest-Cq12zjMs.js → latest-D0dlub5f.js} +0 -0
- /package/dist/{lightbulb-BpK9qU_u.js → lightbulb-DKJrsADi.js} +0 -0
- /package/dist/{list-DKcsNf15.js → list-BviTrZEl.js} +0 -0
- /package/dist/{list-search-BzZuYf_P.js → list-search-Ck6anukf.js} +0 -0
- /package/dist/{lock-BFfHVSog.js → lock-C5vUwbkA.js} +0 -0
- /package/dist/{mail-pagEqHtM.js → mail-CtA-d2d0.js} +0 -0
- /package/dist/{menu-j4cvnLP8.js → menu-DFzmvE6J.js} +0 -0
- /package/dist/{minus-CGsJ-jkT.js → minus-COmVHb9S.js} +0 -0
- /package/dist/{more-horizontal-CDZjG5h8.js → more-horizontal-DzHbd3yn.js} +0 -0
- /package/dist/{more-vertical-YUehtvol.js → more-vertical-CiJm6ZaV.js} +0 -0
- /package/dist/{move-CiU3PwqY.js → move-CUyDTrlz.js} +0 -0
- /package/dist/{move-up-down-H-qHtTwO.js → move-up-down-3AiMDXGu.js} +0 -0
- /package/dist/{navigation-DmqoQINO.js → navigation-BryXzz7G.js} +0 -0
- /package/dist/{note-BZ3q-D4L.js → note-CXIfkCb0.js} +0 -0
- /package/dist/{offline-CLl0pwpv.js → offline-BlqqTvjx.js} +0 -0
- /package/dist/{package-iJOVTpPH.js → package-BEkSqrZt.js} +0 -0
- /package/dist/{package-D_Bh8bgp.js → package-pKbuF39E.js} +0 -0
- /package/dist/{paper-plane-DcYms0cj.js → paper-plane-CwVjTgAB.js} +0 -0
- /package/dist/{pause-COAxeJRm.js → pause-D-nbILiS.js} +0 -0
- /package/dist/{pdf-BweFqxRM.js → pdf-C7o5LP5D.js} +0 -0
- /package/dist/{pen-CmBOMgX_.js → pen-5O6IZM5k.js} +0 -0
- /package/dist/{pen-check-BApB0Zi2.js → pen-check-GQoVyZ_V.js} +0 -0
- /package/dist/{people-D07vIou7.js → people-CFA1u84D.js} +0 -0
- /package/dist/{phone-B9TyVbBj.js → phone-BmL2p-7F.js} +0 -0
- /package/dist/{picture-D7kBYru_.js → picture-BBiWVmta.js} +0 -0
- /package/dist/{picture-DJRwU5Gl.js → picture-jf1PkZfY.js} +0 -0
- /package/dist/{pin-BlBzA8ov.js → pin-CTaBntUQ.js} +0 -0
- /package/dist/{planning-BhE-A4FO.js → planning-s3sRV6ix.js} +0 -0
- /package/dist/{plus-CmEv_iHA.js → plus-Dm-ZxxHJ.js} +0 -0
- /package/dist/{print-ChdLXKHj.js → print-B5fjHJZL.js} +0 -0
- /package/dist/{refresh-C7k19NtO.js → refresh-gU5ZZuG6.js} +0 -0
- /package/dist/{reset-CpXqaOj5.js → reset-CwU1iGF5.js} +0 -0
- /package/dist/{responsive-CKNXzAo1.js → responsive-BHNmDmM6.js} +0 -0
- /package/dist/{rubix-thema-Cmk-5-bm.js → rubix-thema-BZvVEFud.js} +0 -0
- /package/dist/{save-BX3-Z5qP.js → save-mTHDeUnL.js} +0 -0
- /package/dist/{saved-search-Be8D9tJ9.js → saved-search-DJO4_yPH.js} +0 -0
- /package/dist/{search-BeIwOzJl.js → search-B5yHBLf_.js} +0 -0
- /package/dist/{settings-CLChu_zl.js → settings-Hb_Y7Y53.js} +0 -0
- /package/dist/{share-j6ezShBH.js → share-OpdW8ZmZ.js} +0 -0
- /package/dist/{share-alternative-BD-WQYvk.js → share-alternative-C3pSVTYb.js} +0 -0
- /package/dist/{sidebar-CPe20Xae.js → sidebar-DtAUGBof.js} +0 -0
- /package/dist/{slack-BjvLF16S.js → slack-mCoCq7b9.js} +0 -0
- /package/dist/{slider-config-CTzwxojK.js → slider-config-yjKG-9r9.js} +0 -0
- /package/dist/{spellcheck-thqRUMx9.js → spellcheck-bP4DPCKJ.js} +0 -0
- /package/dist/src/assets/icons/{alert-fill.vue → alert-filled.vue} +0 -0
- /package/dist/src/assets/icons/{bell-fill.vue → bell-filled.vue} +0 -0
- /package/dist/src/assets/icons/{comment-fill.vue → comment-filled.vue} +0 -0
- /package/dist/src/assets/icons/{image focus point.vue → image-focus-point.vue} +0 -0
- /package/dist/src/assets/icons/{saved-search-fill.vue → saved-search-filled.vue} +0 -0
- /package/dist/src/assets/icons/{sidebar-fill.vue → sidebar-filled.vue} +0 -0
- /package/dist/src/assets/icons/{video overlay.vue → video-overlay.vue} +0 -0
- /package/dist/{standard-view-dE52BPUm.js → standard-view-CN0ixRE4.js} +0 -0
- /package/dist/{star-uv_o0S9H.js → star-BKWqck4u.js} +0 -0
- /package/dist/{star-filled-BqrpxMqq.js → star-filled-CdXMXBn7.js} +0 -0
- /package/dist/{stop-CrmQCpqp.js → stop-B8l9lmwT.js} +0 -0
- /package/dist/{story-BdUCZQmb.js → story-Cxy8EkgB.js} +0 -0
- /package/dist/{story-DEvV0oQv.js → story-DOxZDwJp.js} +0 -0
- /package/dist/{sync-CPmOdu5b.js → sync-BW_fAqt6.js} +0 -0
- /package/dist/{tasks-TKH8SUBe.js → tasks-DLNuebMi.js} +0 -0
- /package/dist/{text-7i2atLMM.js → text-Bsl2QZz3.js} +0 -0
- /package/dist/{text-BMhu0paW.js → text-CPSps-qh.js} +0 -0
- /package/dist/{thumbs-down-LH8SIeIF.js → thumbs-down-pSf_ND98.js} +0 -0
- /package/dist/{thumbs-up-WZQzpqKr.js → thumbs-up-Braz70N6.js} +0 -0
- /package/dist/{thumbs-up-double-SeGWEXZ_.js → thumbs-up-double-C6foUkOq.js} +0 -0
- /package/dist/{topic-63EhQ_l1.js → topic-BamlhBNV.js} +0 -0
- /package/dist/{union-DKjbjP-9.js → union-CYw04THu.js} +0 -0
- /package/dist/{upload-yjh9wxAA.js → upload-BL_iLqTa.js} +0 -0
- /package/dist/{user-need-divert-me-B_cSVEIY.js → user-need-divert-me-2RaqdMMH.js} +0 -0
- /package/dist/{user-need-educate-me-DOgCmShA.js → user-need-educate-me-CRi42bIc.js} +0 -0
- /package/dist/{user-need-give-me-perspective-2wacZI2F.js → user-need-give-me-perspective-BIF7v9vF.js} +0 -0
- /package/dist/{user-need-help-me-D4VE0IcH.js → user-need-help-me-O0XSLzP-.js} +0 -0
- /package/dist/{user-need-touch-me-u3n8c5IH.js → user-need-touch-me-BueJ3SSh.js} +0 -0
- /package/dist/{user-need-update-me-BcDyXzME.js → user-need-update-me-DP574fsn.js} +0 -0
- /package/dist/{video-BViz7WnQ.js → video-CWHoNlON.js} +0 -0
- /package/dist/{video-hhs4-tLq.js → video-DhS7zpNF.js} +0 -0
- /package/dist/{view-C9Xks5Gy.js → view-Bc5W8beK.js} +0 -0
- /package/dist/{view-off-BuSbQwX0.js → view-off-DquC2i3E.js} +0 -0
- /package/dist/{volume-up-BLQXZI5X.js → volume-up-DEzoW7Bq.js} +0 -0
- /package/src/assets/icons/{alert-fill.vue → alert-filled.vue} +0 -0
- /package/src/assets/icons/{bell-fill.vue → bell-filled.vue} +0 -0
- /package/src/assets/icons/{comment-fill.vue → comment-filled.vue} +0 -0
- /package/src/assets/icons/{image focus point.vue → image-focus-point.vue} +0 -0
- /package/src/assets/icons/{saved-search-fill.vue → saved-search-filled.vue} +0 -0
- /package/src/assets/icons/{sidebar-fill.vue → sidebar-filled.vue} +0 -0
- /package/src/assets/icons/{video overlay.vue → video-overlay.vue} +0 -0
|
@@ -1,199 +1,171 @@
|
|
|
1
|
+
// Turn off prettier to make editing/sorting easier
|
|
2
|
+
// prettier-ignore
|
|
1
3
|
export const icons = {
|
|
2
|
-
activities: () => import("../../assets/icons/activities.vue"),
|
|
3
|
-
|
|
4
|
-
"alert
|
|
4
|
+
"activities": () => import("../../assets/icons/activities.vue"),
|
|
5
|
+
"ai": () => import("../../assets/icons/ai.vue"),
|
|
6
|
+
"alert": () => import("../../assets/icons/alert.vue"),
|
|
7
|
+
"alert-filled": () => import("../../assets/icons/alert-filled.vue"),
|
|
5
8
|
"alert-octagon": () => import("../../assets/icons/alert-octagon.vue"),
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
+
"apps": () => import("../../assets/icons/apps.vue"),
|
|
10
|
+
"archive": () => import("../../assets/icons/archive.vue"),
|
|
11
|
+
"arrow-down": () => import("../../assets/icons/arrow-down.vue"),
|
|
9
12
|
"arrow-left": () => import("../../assets/icons/arrow-left.vue"),
|
|
10
13
|
"arrow-nav-left": () => import("../../assets/icons/arrow-nav-left.vue"),
|
|
11
14
|
"arrow-nav-right": () => import("../../assets/icons/arrow-nav-right.vue"),
|
|
12
|
-
"arrow-up": () => import("../../assets/icons/arrow-up.vue"),
|
|
13
15
|
"arrow-right": () => import("../../assets/icons/arrow-right.vue"),
|
|
14
|
-
"arrow-
|
|
16
|
+
"arrow-up": () => import("../../assets/icons/arrow-up.vue"),
|
|
15
17
|
"arrowhead-left": () => import("../../assets/icons/arrowhead-left.vue"),
|
|
16
18
|
"arrowhead-right": () => import("../../assets/icons/arrowhead-right.vue"),
|
|
17
19
|
"arrowhead-top": () => import("../../assets/icons/arrowhead-top.vue"),
|
|
18
|
-
atmo: () => import("../../assets/icons/atmo.vue"),
|
|
19
|
-
audio: () => import("../../assets/icons/audio.vue"),
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
check: () => import("../../assets/icons/check.vue"),
|
|
34
|
-
checklist: () => import("../../assets/icons/checklist.vue"),
|
|
35
|
-
checkmark: () => import("../../assets/icons/checkmark.vue"),
|
|
20
|
+
"atmo": () => import("../../assets/icons/atmo.vue"),
|
|
21
|
+
"audio": () => import("../../assets/icons/audio.vue"),
|
|
22
|
+
"bag": () => import("../../assets/icons/bag.vue"),
|
|
23
|
+
"bell": () => import("../../assets/icons/bell.vue"),
|
|
24
|
+
"bell-filled": () => import("../../assets/icons/bell-filled.vue"),
|
|
25
|
+
"book": () => import("../../assets/icons/book.vue"),
|
|
26
|
+
"bookmark": () => import("../../assets/icons/bookmark.vue"),
|
|
27
|
+
"bookmark-filled": () => import("../../assets/icons/bookmark-filled.vue"),
|
|
28
|
+
"box": () => import("../../assets/icons/box.vue"),
|
|
29
|
+
"bulb": () => import("../../assets/icons/bulb.vue"),
|
|
30
|
+
"call": () => import("../../assets/icons/call.vue"),
|
|
31
|
+
"camera": () => import("../../assets/icons/camera.vue"),
|
|
32
|
+
"check": () => import("../../assets/icons/check.vue"),
|
|
33
|
+
"checklist": () => import("../../assets/icons/checklist.vue"),
|
|
34
|
+
"checkmark": () => import("../../assets/icons/checkmark.vue"),
|
|
36
35
|
"checkmark-double": () => import("../../assets/icons/checkmark-double.vue"),
|
|
37
36
|
"chevron-down": () => import("../../assets/icons/chevron-down.vue"),
|
|
38
37
|
"chevron-left": () => import("../../assets/icons/chevron-left.vue"),
|
|
39
38
|
"chevron-right": () => import("../../assets/icons/chevron-right.vue"),
|
|
40
39
|
"chevron-up": () => import("../../assets/icons/chevron-up.vue"),
|
|
41
|
-
clipboard: () => import("../../assets/icons/clipboard.vue"),
|
|
42
|
-
clock: () => import("../../assets/icons/clock.vue"),
|
|
43
|
-
close: () => import("../../assets/icons/close.vue"),
|
|
40
|
+
"clipboard": () => import("../../assets/icons/clipboard.vue"),
|
|
41
|
+
"clock": () => import("../../assets/icons/clock.vue"),
|
|
42
|
+
"close": () => import("../../assets/icons/close.vue"),
|
|
44
43
|
"cloud-save": () => import("../../assets/icons/cloud-save.vue"),
|
|
45
|
-
code: () => import("../../assets/icons/code.vue"),
|
|
46
|
-
collapse: () => import("../../assets/icons/collapse.vue"),
|
|
44
|
+
"code": () => import("../../assets/icons/code.vue"),
|
|
45
|
+
"collapse": () => import("../../assets/icons/collapse.vue"),
|
|
47
46
|
"color-palette": () => import("../../assets/icons/color-palette.vue"),
|
|
48
|
-
comment: () => import("../../assets/icons/comment.vue"),
|
|
49
|
-
"comment-
|
|
50
|
-
copy: () => import("../../assets/icons/copy.vue"),
|
|
47
|
+
"comment": () => import("../../assets/icons/comment.vue"),
|
|
48
|
+
"comment-filled": () => import("../../assets/icons/comment-filled.vue"),
|
|
49
|
+
"copy": () => import("../../assets/icons/copy.vue"),
|
|
51
50
|
"copy-link": () => import("../../assets/icons/copy-link.vue"),
|
|
52
|
-
delete: () => import("../../assets/icons/delete.vue"),
|
|
53
|
-
download: () => import("../../assets/icons/download.vue"),
|
|
51
|
+
"delete": () => import("../../assets/icons/delete.vue"),
|
|
52
|
+
"download": () => import("../../assets/icons/download.vue"),
|
|
54
53
|
"dpa-id": () => import("../../assets/icons/dpa-id.vue"),
|
|
55
|
-
edit: () => import("../../assets/icons/edit.vue"),
|
|
54
|
+
"edit": () => import("../../assets/icons/edit.vue"),
|
|
56
55
|
"edit-add": () => import("../../assets/icons/edit-add.vue"),
|
|
57
|
-
eil: () => import("../../assets/icons/eil.vue"),
|
|
58
|
-
emoji: () => import("../../assets/icons/emoji.vue"),
|
|
56
|
+
"eil": () => import("../../assets/icons/eil.vue"),
|
|
57
|
+
"emoji": () => import("../../assets/icons/emoji.vue"),
|
|
59
58
|
"emoji-add": () => import("../../assets/icons/emoji-add.vue"),
|
|
60
|
-
envelope: () => import("../../assets/icons/envelope.vue"),
|
|
61
|
-
event: () => import("../../assets/icons/event.vue"),
|
|
62
|
-
expand: () => import("../../assets/icons/expand.vue"),
|
|
59
|
+
"envelope": () => import("../../assets/icons/envelope.vue"),
|
|
60
|
+
"event": () => import("../../assets/icons/event.vue"),
|
|
61
|
+
"expand": () => import("../../assets/icons/expand.vue"),
|
|
63
62
|
"external-link": () => import("../../assets/icons/external-link.vue"),
|
|
64
|
-
file: () => import("../../assets/icons/file.vue"),
|
|
65
63
|
"file-pdf": () => import("../../assets/icons/file-pdf.vue"),
|
|
66
|
-
|
|
67
|
-
"filter
|
|
68
|
-
flag: () => import("../../assets/icons/flag.vue"),
|
|
69
|
-
"flag-fill": () => import("../../assets/icons/flag-fill.vue"),
|
|
64
|
+
"file": () => import("../../assets/icons/file.vue"),
|
|
65
|
+
"filter": () => import("../../assets/icons/filter.vue"),
|
|
66
|
+
"flag": () => import("../../assets/icons/flag.vue"),
|
|
70
67
|
"flag-filled": () => import("../../assets/icons/flag-filled.vue"),
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
folder: () => import("../../assets/icons/folder.vue"),
|
|
68
|
+
"flags": () => import("../../assets/icons/flags.vue"),
|
|
69
|
+
"flash": () => import("../../assets/icons/flash.vue"),
|
|
70
|
+
"folder": () => import("../../assets/icons/folder.vue"),
|
|
75
71
|
"folder-add": () => import("../../assets/icons/folder-add.vue"),
|
|
76
|
-
"folder-fill": () => import("../../assets/icons/folder-fill.vue"),
|
|
77
72
|
"folder-filled": () => import("../../assets/icons/folder-filled.vue"),
|
|
78
|
-
gallery: () => import("../../assets/icons/gallery.vue"),
|
|
79
|
-
graphic: () => import("../../assets/icons/graphic.vue"),
|
|
80
|
-
"
|
|
81
|
-
"graphic-filled": () => import("../../assets/icons/graphic-filled.vue"),
|
|
82
|
-
graphics: () => import("../../assets/icons/graphics.vue"),
|
|
73
|
+
"gallery": () => import("../../assets/icons/gallery.vue"),
|
|
74
|
+
"graphic": () => import("../../assets/icons/graphic.vue"),
|
|
75
|
+
"graphics": () => import("../../assets/icons/graphics.vue"),
|
|
83
76
|
"grid-1": () => import("../../assets/icons/grid-1.vue"),
|
|
84
77
|
"grid-2": () => import("../../assets/icons/grid-2.vue"),
|
|
85
78
|
"grid-3": () => import("../../assets/icons/grid-3.vue"),
|
|
86
79
|
"grid-4": () => import("../../assets/icons/grid-4.vue"),
|
|
87
80
|
"grid-6": () => import("../../assets/icons/grid-6.vue"),
|
|
88
81
|
"grid-9": () => import("../../assets/icons/grid-9.vue"),
|
|
89
|
-
"grid-masonry": () => import("../../assets/icons/grid-masonry.vue"),
|
|
90
82
|
"grid-masonry-9": () => import("../../assets/icons/grid-masonry-9.vue"),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"image
|
|
83
|
+
"grid-masonry": () => import("../../assets/icons/grid-masonry.vue"),
|
|
84
|
+
"help": () => import("../../assets/icons/help.vue"),
|
|
85
|
+
"home": () => import("../../assets/icons/home.vue"),
|
|
86
|
+
"image": () => import("../../assets/icons/image.vue"),
|
|
87
|
+
"image-focus-point": () => import("../../assets/icons/image-focus-point.vue"),
|
|
95
88
|
"impact-high": () => import("../../assets/icons/impact-high.vue"),
|
|
96
89
|
"impact-low": () => import("../../assets/icons/impact-low.vue"),
|
|
97
90
|
"impact-medium": () => import("../../assets/icons/impact-medium.vue"),
|
|
98
91
|
"impact-very-high": () => import("../../assets/icons/impact-very-high.vue"),
|
|
99
92
|
"impact-very-low": () => import("../../assets/icons/impact-very-low.vue"),
|
|
100
|
-
info: () => import("../../assets/icons/info.vue"),
|
|
101
|
-
"info-fill": () => import("../../assets/icons/info-fill.vue"),
|
|
93
|
+
"info": () => import("../../assets/icons/info.vue"),
|
|
102
94
|
"info-filled": () => import("../../assets/icons/info-filled.vue"),
|
|
103
|
-
label: () => import("../../assets/icons/label.vue"),
|
|
95
|
+
"label": () => import("../../assets/icons/label.vue"),
|
|
104
96
|
"label-filled": () => import("../../assets/icons/label-filled.vue"),
|
|
105
|
-
language: () => import("../../assets/icons/language.vue"),
|
|
106
|
-
latest: () => import("../../assets/icons/latest.vue"),
|
|
107
|
-
lightbulb: () => import("../../assets/icons/lightbulb.vue"),
|
|
108
|
-
list: () => import("../../assets/icons/list.vue"),
|
|
97
|
+
"language": () => import("../../assets/icons/language.vue"),
|
|
98
|
+
"latest": () => import("../../assets/icons/latest.vue"),
|
|
99
|
+
"lightbulb": () => import("../../assets/icons/lightbulb.vue"),
|
|
100
|
+
"list": () => import("../../assets/icons/list.vue"),
|
|
109
101
|
"list-search": () => import("../../assets/icons/list-search.vue"),
|
|
110
|
-
lock: () => import("../../assets/icons/lock.vue"),
|
|
111
|
-
"
|
|
112
|
-
|
|
113
|
-
map: () => import("../../assets/icons/map.vue"),
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
minus: () => import("../../assets/icons/minus.vue"),
|
|
102
|
+
"lock": () => import("../../assets/icons/lock.vue"),
|
|
103
|
+
"mail": () => import("../../assets/icons/mail.vue"),
|
|
104
|
+
"map": () => import("../../assets/icons/map.vue"),
|
|
105
|
+
"map-filled": () => import("../../assets/icons/map-filled.vue"),
|
|
106
|
+
"menu": () => import("../../assets/icons/menu.vue"),
|
|
107
|
+
"minus": () => import("../../assets/icons/minus.vue"),
|
|
117
108
|
"more-horizontal": () => import("../../assets/icons/more-horizontal.vue"),
|
|
118
109
|
"more-vertical": () => import("../../assets/icons/more-vertical.vue"),
|
|
119
|
-
move: () => import("../../assets/icons/move.vue"),
|
|
110
|
+
"move": () => import("../../assets/icons/move.vue"),
|
|
120
111
|
"move-up-down": () => import("../../assets/icons/move-up-down.vue"),
|
|
121
|
-
navigation: () => import("../../assets/icons/navigation.vue"),
|
|
122
|
-
note: () => import("../../assets/icons/note.vue"),
|
|
123
|
-
offline: () => import("../../assets/icons/offline.vue"),
|
|
124
|
-
package: () => import("../../assets/icons/package.vue"),
|
|
112
|
+
"navigation": () => import("../../assets/icons/navigation.vue"),
|
|
113
|
+
"note": () => import("../../assets/icons/note.vue"),
|
|
114
|
+
"offline": () => import("../../assets/icons/offline.vue"),
|
|
115
|
+
"package": () => import("../../assets/icons/package.vue"),
|
|
125
116
|
"paper-plane": () => import("../../assets/icons/paper-plane.vue"),
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"
|
|
129
|
-
pdf: () => import("../../assets/icons/pdf.vue"),
|
|
130
|
-
pen: () => import("../../assets/icons/pen.vue"),
|
|
117
|
+
"pause": () => import("../../assets/icons/pause.vue"),
|
|
118
|
+
"pdf": () => import("../../assets/icons/pdf.vue"),
|
|
119
|
+
"pen": () => import("../../assets/icons/pen.vue"),
|
|
131
120
|
"pen-check": () => import("../../assets/icons/pen-check.vue"),
|
|
132
|
-
people: () => import("../../assets/icons/people.vue"),
|
|
133
|
-
phone: () => import("../../assets/icons/phone.vue"),
|
|
134
|
-
picture: () => import("../../assets/icons/picture.vue"),
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
plus: () => import("../../assets/icons/plus.vue"),
|
|
144
|
-
"plus-circle": () => import("../../assets/icons/plus-circle.vue"),
|
|
145
|
-
print: () => import("../../assets/icons/print.vue"),
|
|
146
|
-
refresh: () => import("../../assets/icons/refresh.vue"),
|
|
147
|
-
reset: () => import("../../assets/icons/reset.vue"),
|
|
148
|
-
responsive: () => import("../../assets/icons/responsive.vue"),
|
|
121
|
+
"people": () => import("../../assets/icons/people.vue"),
|
|
122
|
+
"phone": () => import("../../assets/icons/phone.vue"),
|
|
123
|
+
"picture": () => import("../../assets/icons/picture.vue"),
|
|
124
|
+
"pin": () => import("../../assets/icons/pin.vue"),
|
|
125
|
+
"planning": () => import("../../assets/icons/planning.vue"),
|
|
126
|
+
"play": () => import("../../assets/icons/play.vue"),
|
|
127
|
+
"plus": () => import("../../assets/icons/plus.vue"),
|
|
128
|
+
"print": () => import("../../assets/icons/print.vue"),
|
|
129
|
+
"refresh": () => import("../../assets/icons/refresh.vue"),
|
|
130
|
+
"reset": () => import("../../assets/icons/reset.vue"),
|
|
131
|
+
"responsive": () => import("../../assets/icons/responsive.vue"),
|
|
149
132
|
"rubix-thema": () => import("../../assets/icons/rubix-thema.vue"),
|
|
150
|
-
save: () => import("../../assets/icons/save.vue"),
|
|
133
|
+
"save": () => import("../../assets/icons/save.vue"),
|
|
151
134
|
"saved-search": () => import("../../assets/icons/saved-search.vue"),
|
|
152
|
-
"saved-search-
|
|
153
|
-
search: () => import("../../assets/icons/search.vue"),
|
|
154
|
-
settings: () => import("../../assets/icons/settings.vue"),
|
|
155
|
-
share: () => import("../../assets/icons/share.vue"),
|
|
135
|
+
"saved-search-filled": () => import("../../assets/icons/saved-search-filled.vue"),
|
|
136
|
+
"search": () => import("../../assets/icons/search.vue"),
|
|
137
|
+
"settings": () => import("../../assets/icons/settings.vue"),
|
|
138
|
+
"share": () => import("../../assets/icons/share.vue"),
|
|
156
139
|
"share-alternative": () => import("../../assets/icons/share-alternative.vue"),
|
|
157
|
-
sidebar: () => import("../../assets/icons/sidebar.vue"),
|
|
158
|
-
"sidebar-
|
|
159
|
-
slack: () => import("../../assets/icons/slack.vue"),
|
|
140
|
+
"sidebar": () => import("../../assets/icons/sidebar.vue"),
|
|
141
|
+
"sidebar-filled": () => import("../../assets/icons/sidebar-filled.vue"),
|
|
142
|
+
"slack": () => import("../../assets/icons/slack.vue"),
|
|
160
143
|
"slider-config": () => import("../../assets/icons/slider-config.vue"),
|
|
161
|
-
spellcheck: () => import("../../assets/icons/spellcheck.vue"),
|
|
162
|
-
spinner: () => import("../../assets/icons/spinner.vue"),
|
|
144
|
+
"spellcheck": () => import("../../assets/icons/spellcheck.vue"),
|
|
145
|
+
"spinner": () => import("../../assets/icons/spinner.vue"),
|
|
163
146
|
"standard-view": () => import("../../assets/icons/standard-view.vue"),
|
|
164
|
-
star: () => import("../../assets/icons/star.vue"),
|
|
165
|
-
"star-fill": () => import("../../assets/icons/star-fill.vue"),
|
|
147
|
+
"star": () => import("../../assets/icons/star.vue"),
|
|
166
148
|
"star-filled": () => import("../../assets/icons/star-filled.vue"),
|
|
167
|
-
stop: () => import("../../assets/icons/stop.vue"),
|
|
168
|
-
story: () => import("../../assets/icons/story.vue"),
|
|
169
|
-
sync: () => import("../../assets/icons/sync.vue"),
|
|
170
|
-
tasks: () => import("../../assets/icons/tasks.vue"),
|
|
171
|
-
text: () => import("../../assets/icons/text.vue"),
|
|
172
|
-
"text-circled": () => import("../../assets/icons/text-circled.vue"),
|
|
173
|
-
"text-filled": () => import("../../assets/icons/text-filled.vue"),
|
|
149
|
+
"stop": () => import("../../assets/icons/stop.vue"),
|
|
150
|
+
"story": () => import("../../assets/icons/story.vue"),
|
|
151
|
+
"sync": () => import("../../assets/icons/sync.vue"),
|
|
152
|
+
"tasks": () => import("../../assets/icons/tasks.vue"),
|
|
153
|
+
"text": () => import("../../assets/icons/text.vue"),
|
|
174
154
|
"thumbs-down": () => import("../../assets/icons/thumbs-down.vue"),
|
|
175
155
|
"thumbs-up": () => import("../../assets/icons/thumbs-up.vue"),
|
|
176
156
|
"thumbs-up-double": () => import("../../assets/icons/thumbs-up-double.vue"),
|
|
177
|
-
topic: () => import("../../assets/icons/topic.vue"),
|
|
178
|
-
union: () => import("../../assets/icons/union.vue"),
|
|
179
|
-
upload: () => import("../../assets/icons/upload.vue"),
|
|
180
|
-
"user-need-divert-me": () =>
|
|
181
|
-
|
|
182
|
-
"user-need-
|
|
183
|
-
import("../../assets/icons/user-need-educate-me.vue"),
|
|
184
|
-
"user-need-give-me-perspective": () =>
|
|
185
|
-
import("../../assets/icons/user-need-give-me-perspective.vue"),
|
|
157
|
+
"topic": () => import("../../assets/icons/topic.vue"),
|
|
158
|
+
"union": () => import("../../assets/icons/union.vue"),
|
|
159
|
+
"upload": () => import("../../assets/icons/upload.vue"),
|
|
160
|
+
"user-need-divert-me": () => import("../../assets/icons/user-need-divert-me.vue"),
|
|
161
|
+
"user-need-educate-me": () => import("../../assets/icons/user-need-educate-me.vue"),
|
|
162
|
+
"user-need-give-me-perspective": () => import("../../assets/icons/user-need-give-me-perspective.vue"),
|
|
186
163
|
"user-need-help-me": () => import("../../assets/icons/user-need-help-me.vue"),
|
|
187
|
-
"user-need-touch-me": () =>
|
|
188
|
-
|
|
189
|
-
"
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"video overlay": () => import("../../assets/icons/video overlay.vue"),
|
|
193
|
-
"video-circled": () => import("../../assets/icons/video-circled.vue"),
|
|
194
|
-
"video-filled": () => import("../../assets/icons/video-filled.vue"),
|
|
195
|
-
"video-rounded": () => import("../../assets/icons/video-rounded.vue"),
|
|
196
|
-
view: () => import("../../assets/icons/view.vue"),
|
|
164
|
+
"user-need-touch-me": () => import("../../assets/icons/user-need-touch-me.vue"),
|
|
165
|
+
"user-need-update-me": () => import("../../assets/icons/user-need-update-me.vue"),
|
|
166
|
+
"video": () => import("../../assets/icons/video.vue"),
|
|
167
|
+
"video-overlay": () => import("../../assets/icons/video-overlay.vue"),
|
|
168
|
+
"view": () => import("../../assets/icons/view.vue"),
|
|
197
169
|
"view-off": () => import("../../assets/icons/view-off.vue"),
|
|
198
170
|
"volume-up": () => import("../../assets/icons/volume-up.vue"),
|
|
199
171
|
} as const;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<button
|
|
3
3
|
:disabled="disabled"
|
|
4
4
|
:aria-label="title"
|
|
5
|
-
class="group flex flex-none items-center justify-center rounded-full focus:outline-hidden focus-visible:outline
|
|
5
|
+
class="group flex flex-none items-center justify-center rounded-full focus:outline-hidden focus-visible:focus-outline"
|
|
6
6
|
:class="[colorClass, backgroundClass, buttonSizeClass]"
|
|
7
7
|
type="button"
|
|
8
8
|
@click="($event) => emit('click', $event)"
|
|
@@ -15,8 +15,17 @@
|
|
|
15
15
|
</button>
|
|
16
16
|
</template>
|
|
17
17
|
|
|
18
|
+
<script lang="ts">
|
|
19
|
+
/**
|
|
20
|
+
* @deprecated Use `UiButton` instead
|
|
21
|
+
*/
|
|
22
|
+
export default {
|
|
23
|
+
name: "UiIconButton",
|
|
24
|
+
};
|
|
25
|
+
</script>
|
|
26
|
+
|
|
18
27
|
<script lang="ts" setup>
|
|
19
|
-
import { computed } from "vue";
|
|
28
|
+
import { computed, onMounted } from "vue";
|
|
20
29
|
|
|
21
30
|
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
22
31
|
|
|
@@ -42,15 +51,15 @@ const props = withDefaults(
|
|
|
42
51
|
);
|
|
43
52
|
|
|
44
53
|
const backgroundColorVariants = {
|
|
45
|
-
blue: "hover:bg-
|
|
46
|
-
none: "hover:bg-
|
|
47
|
-
"gray-hover": "hover:bg-
|
|
54
|
+
blue: "hover:bg-primary-dark active:bg-primary-dark bg-primary disabled:bg-neutral-faint disabled:hover:bg-none",
|
|
55
|
+
none: "hover:bg-neutral-whisper active:bg-primary disabled:hover:bg-transparent",
|
|
56
|
+
"gray-hover": "hover:bg-neutral-faint disabled:hover:bg-none",
|
|
48
57
|
};
|
|
49
58
|
|
|
50
59
|
const iconColorVariants = {
|
|
51
|
-
blue: "text-
|
|
52
|
-
gray: "text-
|
|
53
|
-
white: "text-
|
|
60
|
+
blue: "text-primary hover:text-primary-dark disabled:text-neutral-soft active:text-neutral",
|
|
61
|
+
gray: "text-neutral-emphasis hover:text-neutral-primary active:text-neutral-primary disabled:text-neutral-soft",
|
|
62
|
+
white: "text-neutral disabled:text-neutral-soft",
|
|
54
63
|
};
|
|
55
64
|
|
|
56
65
|
const sizeVariants = {
|
|
@@ -88,7 +97,16 @@ const buttonSizeClass = computed(() => {
|
|
|
88
97
|
|
|
89
98
|
const iconSize = computed(() => {
|
|
90
99
|
return sizeVariants[props.size as keyof typeof sizeVariants].iconSize as
|
|
91
|
-
| "
|
|
92
|
-
| "
|
|
100
|
+
| "lg"
|
|
101
|
+
| "sm";
|
|
102
|
+
});
|
|
103
|
+
|
|
104
|
+
onMounted(() => {
|
|
105
|
+
if (window.location.origin.includes("local")) {
|
|
106
|
+
// eslint-disable-next-line no-console
|
|
107
|
+
console.warn(
|
|
108
|
+
"Component is deprecated. It will be removed in a future update.",
|
|
109
|
+
);
|
|
110
|
+
}
|
|
93
111
|
});
|
|
94
112
|
</script>
|
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
<!-- SomeComponent.vue using UiInfoContent -->
|
|
7
7
|
<template>
|
|
8
8
|
<div class="h-screen w-100">
|
|
9
|
-
<UiInfoContent
|
|
9
|
+
<UiInfoContent
|
|
10
10
|
icon-name="search"
|
|
11
|
+
appearance="success"
|
|
11
12
|
<template #title>Keine Ergebnisse</template>
|
|
12
13
|
Leider konnten wir keine Ergebnisse finden.
|
|
13
14
|
<template #actions>
|
|
14
15
|
<UiButton>Suche speichern</UiButton>
|
|
15
|
-
<
|
|
16
|
+
<UiButton>Suche löschen</UiButton>
|
|
16
17
|
</template>
|
|
17
18
|
</UiInfoContent>
|
|
18
19
|
</div>
|
|
@@ -27,12 +28,10 @@
|
|
|
27
28
|
|
|
28
29
|
## Props
|
|
29
30
|
|
|
30
|
-
| Name
|
|
31
|
-
|
|
32
|
-
| `iconName`
|
|
33
|
-
| `
|
|
34
|
-
| `iconSize` | Optional prop for size of icon |
|
|
35
|
-
| `iconColor` | Optional prop for color of icon |
|
|
31
|
+
| Name | Description |
|
|
32
|
+
|---------------|------------------------------------------------------------------------------------------------|
|
|
33
|
+
| `iconName` | icon to be displayed |
|
|
34
|
+
| `appearance` | Visual appearance of the component. One of `"default"`, `"default-alt"`, `"success"`. Defaults to `"default"`. |
|
|
36
35
|
|
|
37
36
|
### Slots
|
|
38
37
|
|
|
@@ -1,27 +1,37 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
2
|
+
<div
|
|
3
|
+
class="flex h-full flex-col items-center justify-center"
|
|
4
|
+
:class="classes.layout"
|
|
5
|
+
>
|
|
3
6
|
<div
|
|
4
7
|
v-if="iconName"
|
|
5
8
|
class="rounded-full p-6 shadow-default"
|
|
6
|
-
:class="
|
|
9
|
+
:class="classes.icon"
|
|
7
10
|
data-testid="info-icon"
|
|
8
11
|
>
|
|
9
|
-
<UiIcon
|
|
12
|
+
<UiIcon
|
|
13
|
+
:name="iconName"
|
|
14
|
+
size-classes="size-6 sm:size-10"
|
|
15
|
+
data-testid="icon"
|
|
16
|
+
/>
|
|
10
17
|
</div>
|
|
18
|
+
|
|
11
19
|
<h2
|
|
12
20
|
v-if="$slots.title"
|
|
13
|
-
class="pt-4 text-center text-2xl font-medium text-
|
|
21
|
+
class="pt-4 text-center text-2xl font-medium text-neutral-primary"
|
|
14
22
|
data-testid="info-title"
|
|
15
23
|
>
|
|
16
24
|
<slot name="title" />
|
|
17
25
|
</h2>
|
|
26
|
+
|
|
18
27
|
<span
|
|
19
28
|
v-if="$slots.default"
|
|
20
|
-
class="pt-4 text-center text-base text-
|
|
29
|
+
class="pt-4 text-center text-base text-neutral-emphasis"
|
|
21
30
|
data-testid="info-text"
|
|
22
31
|
>
|
|
23
|
-
<slot
|
|
32
|
+
<slot />
|
|
24
33
|
</span>
|
|
34
|
+
|
|
25
35
|
<div
|
|
26
36
|
v-if="$slots.actions"
|
|
27
37
|
class="flex flex-none flex-wrap justify-center gap-x-6 gap-y-2 pt-6"
|
|
@@ -36,34 +46,25 @@ import { computed } from "vue";
|
|
|
36
46
|
|
|
37
47
|
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
38
48
|
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
const APPEARANCE_MAP = {
|
|
50
|
+
default: {
|
|
51
|
+
layout: "bg-surface-level-1",
|
|
52
|
+
icon: "bg-surface-base text-neutral-subtle",
|
|
53
|
+
},
|
|
54
|
+
"default-alt": {
|
|
55
|
+
layout: "bg-surface-base",
|
|
56
|
+
icon: "bg-surface-level-1 text-neutral-subtle",
|
|
57
|
+
},
|
|
58
|
+
success: {
|
|
59
|
+
layout: "bg-surface-base",
|
|
60
|
+
icon: "bg-secondary-light text-neutral-inverse-primary",
|
|
51
61
|
},
|
|
52
|
-
|
|
62
|
+
};
|
|
53
63
|
|
|
54
|
-
const
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return "bg-green-neon";
|
|
59
|
-
}
|
|
60
|
-
return "bg-white";
|
|
61
|
-
});
|
|
64
|
+
const { appearance = "default", iconName = undefined } = defineProps<{
|
|
65
|
+
appearance?: keyof typeof APPEARANCE_MAP;
|
|
66
|
+
iconName?: UiIconName;
|
|
67
|
+
}>();
|
|
62
68
|
|
|
63
|
-
const
|
|
64
|
-
if (props.iconColor === "gray") {
|
|
65
|
-
return "text-gray-400";
|
|
66
|
-
}
|
|
67
|
-
return "text-white";
|
|
68
|
-
});
|
|
69
|
+
const classes = computed(() => APPEARANCE_MAP[appearance]);
|
|
69
70
|
</script>
|
|
@@ -21,47 +21,30 @@ import { UiInput } from "@dpa-id-components/dpa-shared-components";
|
|
|
21
21
|
|
|
22
22
|
## API
|
|
23
23
|
|
|
24
|
+
### Models
|
|
25
|
+
|
|
26
|
+
| Name | Type | Default | Description |
|
|
27
|
+
|-----------|----------|-------------|----------------------|
|
|
28
|
+
| _default_ | `string` | `undefined` | Sets the input value |
|
|
29
|
+
|
|
24
30
|
### Props
|
|
25
31
|
|
|
26
32
|
**Note**: This component binds all non-prop attributes (apart from `class`) on its principal element (either an `input` or `textarea` element) instead of the root element. This allows you to add arbitrary HTML attributes (and event listeners) on the principal element without them being explicitly supported by the component.
|
|
27
33
|
|
|
28
34
|
| Name | Type | Default | Description |
|
|
29
35
|
|--------------------|-----------------------------------------------------------------------------|------------|-------------------------------------------------------------------------------------|
|
|
30
|
-
| `
|
|
31
|
-
| `
|
|
32
|
-
| `
|
|
33
|
-
| `
|
|
34
|
-
| `
|
|
35
|
-
| `
|
|
36
|
-
| `
|
|
37
|
-
| `isDateTimePicker` | `Boolean` | `false` | Changes the appearance to a datetime picker |
|
|
38
|
-
| `autocomplete` | `Boolean` | `false` | Sets the autocomplete attribute of the input (for browser support only) |
|
|
39
|
-
| `errorMessage` | `String` | `""` | Error message to be displayed underneath the input |
|
|
40
|
-
| `warningMessage` | `String` | `""` | Warning message to be displayed underneath the input |
|
|
41
|
-
| `infoText` | `String` | `""` | Info message to be displayed underneath the input |
|
|
42
|
-
| `isTextarea` | `Boolean` | `false` | Input gets rendered as textarea |
|
|
43
|
-
| `inputStatus` | `"default" | "info" | "readonly" | "warning" | "error"` | `"default` | The status the input is styled for |
|
|
44
|
-
|
|
45
|
-
### Events
|
|
46
|
-
|
|
47
|
-
| Name | Type | Description |
|
|
48
|
-
|---------------------|-----------------|-------------------------------------------------------------------------------|
|
|
49
|
-
| `input` | `string` | Emitted when the value of the input changes. Value is emitted with the event. |
|
|
50
|
-
| `update:modelValue` | `string` | Same as input, duplicated for use in v-model |
|
|
51
|
-
| `focus` | `FocusEvent` | Emitted when the input gets focused |
|
|
52
|
-
| `blur` | `FocusEvent` | Emitted when the input gets blurred |
|
|
53
|
-
| `keyup` | `KeyboardEvent` | Emitted on keyup inside the input |
|
|
54
|
-
|
|
55
|
-
### Exposes
|
|
56
|
-
|
|
57
|
-
| Name | Type | Description |
|
|
58
|
-
|------------|--------------------|------------------------------------------------------------|
|
|
59
|
-
| `inputRef` | `HTMLInputElement` | Exposes a ref to the input element to the parent component |
|
|
36
|
+
| `type` | `HTMLInputElement` type | `text` | Sets the `type` attribute of the input |
|
|
37
|
+
| `label` | `string` | `""` | The displayed and aria label of the input |
|
|
38
|
+
| `errorMessage` | `string` | `""` | Error message to be displayed underneath the input |
|
|
39
|
+
| `warningMessage` | `string` | `""` | Warning message to be displayed underneath the input |
|
|
40
|
+
| `infoText` | `string` | `""` | Info message to be displayed underneath the input |
|
|
41
|
+
| `isTextarea` | `boolean` | `false` | Input gets rendered as textarea |
|
|
42
|
+
| `inputStatus` | `"info"`, `"warning"`, `"error"` | `"default` | The status the input is styled for |
|
|
60
43
|
|
|
61
44
|
### Slots
|
|
62
45
|
|
|
63
46
|
| Name | Description |
|
|
64
47
|
|-----------|----------------------------------------------------|
|
|
65
|
-
| `buttons` |
|
|
48
|
+
| `buttons` | Render extra content like a “Reveal password” button |
|
|
66
49
|
| `default` | Label content |
|
|
67
|
-
| `errors` |
|
|
50
|
+
| `errors` | Validation error content that's associated with the form control via `aria-errormessage` |
|