@dpa-id-components/dpa-shared-components 20.0.8 → 21.0.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/dpa-shared-components.d.ts +0 -1
- package/dist/dpa-shared-components.js +12493 -12443
- package/dist/eslint.base.config.js +49 -1
- package/dist/src/components/UiAutocomplete/UiAutocomplete.vue +1 -1
- package/dist/src/components/UiBadge/UiBadge.stories.ts +2 -1
- package/dist/src/components/UiButton/UiButton.spec.ts +1 -1
- package/dist/src/components/UiButton/UiButton.stories.ts +2 -1
- package/dist/src/components/UiButton/UiButton.vue +1 -1
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +1 -0
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +2 -1
- package/dist/src/components/UiCheckbox/UiCheckbox.vue +1 -1
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +1 -0
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +1 -1
- package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +1 -0
- package/dist/src/components/UiColorPicker/UiColorPicker.vue +3 -3
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +2 -1
- package/dist/src/components/UiDialog/UiDialog.vue +1 -1
- package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +1 -0
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +1 -0
- package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +2 -1
- package/dist/src/components/UiFilterButton/UiFilterButton.vue +1 -1
- package/dist/src/components/UiIcon/IconOverview.stories.vue +1 -1
- package/dist/src/components/UiIcon/UiIcon.spec.ts +1 -1
- package/dist/src/components/UiIcon/UiIcon.stories.ts +1 -1
- package/dist/src/components/UiIcon/UiIcon.vue +1 -1
- package/dist/src/components/UiIconButton/UiIconButton.stories.ts +2 -1
- package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +2 -1
- package/dist/src/components/UiInput/UiInput.vue +1 -1
- package/dist/src/components/UiLabel/UiLabel.vue +1 -1
- package/dist/src/components/UiList/UiList.spec.ts +1 -0
- package/dist/src/components/UiList/UiList.stories.ts +1 -0
- package/dist/src/components/UiListItem/UiListItem.spec.ts +1 -0
- package/dist/src/components/UiListItem/UiListItem.stories.ts +2 -1
- package/dist/src/components/UiListItem/UiListItem.vue +1 -1
- package/dist/src/components/UiMenu/UiMenu.stories.ts +2 -1
- package/dist/src/components/UiMenu/UiMenu.vue +2 -2
- package/dist/src/components/UiMenu/UiMenuItem.vue +2 -1
- package/dist/src/components/UiMenu/UiMenuList.vue +1 -1
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +2 -1
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.stories.ts +1 -0
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.vue +1 -1
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +1 -1
- package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +1 -0
- package/dist/src/components/UiSearchBar/UiSearchBar.vue +1 -1
- package/dist/src/components/UiSectionDivider/UiSectionDivider.stories.ts +1 -0
- package/dist/src/components/UiSelect/UiSelect.vue +2 -2
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +1 -0
- package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +2 -1
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +1 -0
- package/dist/src/components/UiTextButton/UiTextButton.stories.ts +2 -1
- package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +1 -0
- package/dist/src/components/index.ts +1 -1
- package/dist/src/compositions/index.ts +1 -1
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +2 -1
- package/dist/src/directives/index.ts +1 -1
- package/dist/src/index.ts +4 -4
- package/dist/src/utils/cn.spec.ts +12 -0
- package/dist/src/utils/index.spec.ts +1 -1
- package/dist/src/utils/index.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +27 -18
- package/src/components/UiAutocomplete/UiAutocomplete.vue +1 -1
- package/src/components/UiButton/UiButton.vue +1 -1
- package/src/components/UiCheckbox/UiCheckbox.vue +1 -1
- package/src/components/UiColorPicker/UiColorPicker.vue +3 -3
- package/src/components/UiDialog/UiDialog.vue +1 -1
- package/src/components/UiFilterButton/UiFilterButton.vue +1 -1
- package/src/components/UiIcon/UiIcon.vue +1 -1
- package/src/components/UiInput/UiInput.vue +1 -1
- package/src/components/UiLabel/UiLabel.vue +1 -1
- package/src/components/UiListItem/UiListItem.vue +1 -1
- package/src/components/UiMenu/UiMenu.vue +2 -2
- package/src/components/UiMenu/UiMenuItem.vue +2 -1
- package/src/components/UiMenu/UiMenuList.vue +1 -1
- package/src/components/UiOverlayMenu/UiOverlayMenu.vue +1 -1
- package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +1 -1
- package/src/components/UiSearchBar/UiSearchBar.vue +1 -1
- package/src/components/UiSelect/UiSelect.vue +2 -2
- package/dist/assets/icons/activities.vue.d.ts +0 -2
- package/dist/assets/icons/ai.vue.d.ts +0 -2
- package/dist/assets/icons/alert-fill.vue.d.ts +0 -2
- package/dist/assets/icons/alert-octagon.vue.d.ts +0 -2
- package/dist/assets/icons/alert.vue.d.ts +0 -2
- package/dist/assets/icons/apps.vue.d.ts +0 -2
- package/dist/assets/icons/archive.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-down.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-left.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-nav-left.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-nav-right.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-right.vue.d.ts +0 -2
- package/dist/assets/icons/arrow-up.vue.d.ts +0 -2
- package/dist/assets/icons/arrowhead-left.vue.d.ts +0 -2
- package/dist/assets/icons/arrowhead-right.vue.d.ts +0 -2
- package/dist/assets/icons/arrowhead-top.vue.d.ts +0 -2
- package/dist/assets/icons/atmo.vue.d.ts +0 -2
- package/dist/assets/icons/audio-circled.vue.d.ts +0 -2
- package/dist/assets/icons/audio-filled.vue.d.ts +0 -2
- package/dist/assets/icons/audio.vue.d.ts +0 -2
- package/dist/assets/icons/bag.vue.d.ts +0 -2
- package/dist/assets/icons/bell-fill.vue.d.ts +0 -2
- package/dist/assets/icons/bell.vue.d.ts +0 -2
- package/dist/assets/icons/book.vue.d.ts +0 -2
- package/dist/assets/icons/bookmark-fill.vue.d.ts +0 -2
- package/dist/assets/icons/bookmark-outlined.vue.d.ts +0 -2
- package/dist/assets/icons/bookmark.vue.d.ts +0 -2
- package/dist/assets/icons/box.vue.d.ts +0 -2
- package/dist/assets/icons/bulb.vue.d.ts +0 -2
- package/dist/assets/icons/call.vue.d.ts +0 -2
- package/dist/assets/icons/camera.vue.d.ts +0 -2
- package/dist/assets/icons/check.vue.d.ts +0 -2
- package/dist/assets/icons/checklist.vue.d.ts +0 -2
- package/dist/assets/icons/checkmark-double.vue.d.ts +0 -2
- package/dist/assets/icons/checkmark.vue.d.ts +0 -2
- package/dist/assets/icons/chevron-down.vue.d.ts +0 -2
- package/dist/assets/icons/chevron-left.vue.d.ts +0 -2
- package/dist/assets/icons/chevron-right.vue.d.ts +0 -2
- package/dist/assets/icons/chevron-up.vue.d.ts +0 -2
- package/dist/assets/icons/clipboard.vue.d.ts +0 -2
- package/dist/assets/icons/clock.vue.d.ts +0 -2
- package/dist/assets/icons/close.vue.d.ts +0 -2
- package/dist/assets/icons/cloud-save.vue.d.ts +0 -2
- package/dist/assets/icons/code.vue.d.ts +0 -2
- package/dist/assets/icons/collapse.vue.d.ts +0 -2
- package/dist/assets/icons/color-palette.vue.d.ts +0 -2
- package/dist/assets/icons/comment-fill.vue.d.ts +0 -2
- package/dist/assets/icons/comment.vue.d.ts +0 -2
- package/dist/assets/icons/copy-link.vue.d.ts +0 -2
- package/dist/assets/icons/copy.vue.d.ts +0 -2
- package/dist/assets/icons/delete.vue.d.ts +0 -2
- package/dist/assets/icons/download.vue.d.ts +0 -2
- package/dist/assets/icons/dpa-id.vue.d.ts +0 -2
- package/dist/assets/icons/edit-add.vue.d.ts +0 -2
- package/dist/assets/icons/edit.vue.d.ts +0 -2
- package/dist/assets/icons/eil.vue.d.ts +0 -2
- package/dist/assets/icons/emoji-add.vue.d.ts +0 -2
- package/dist/assets/icons/emoji.vue.d.ts +0 -2
- package/dist/assets/icons/envelope.vue.d.ts +0 -2
- package/dist/assets/icons/event.vue.d.ts +0 -2
- package/dist/assets/icons/expand.vue.d.ts +0 -2
- package/dist/assets/icons/external-link.vue.d.ts +0 -2
- package/dist/assets/icons/file-pdf.vue.d.ts +0 -2
- package/dist/assets/icons/file.vue.d.ts +0 -2
- package/dist/assets/icons/filter-outline.vue.d.ts +0 -2
- package/dist/assets/icons/filter.vue.d.ts +0 -2
- package/dist/assets/icons/flag-fill.vue.d.ts +0 -2
- package/dist/assets/icons/flag-filled.vue.d.ts +0 -2
- package/dist/assets/icons/flag-outline.vue.d.ts +0 -2
- package/dist/assets/icons/flag.vue.d.ts +0 -2
- package/dist/assets/icons/flags.vue.d.ts +0 -2
- package/dist/assets/icons/flash.vue.d.ts +0 -2
- package/dist/assets/icons/folder-add.vue.d.ts +0 -2
- package/dist/assets/icons/folder-fill.vue.d.ts +0 -2
- package/dist/assets/icons/folder-filled.vue.d.ts +0 -2
- package/dist/assets/icons/folder.vue.d.ts +0 -2
- package/dist/assets/icons/gallery.vue.d.ts +0 -2
- package/dist/assets/icons/graphic-circled.vue.d.ts +0 -2
- package/dist/assets/icons/graphic-filled.vue.d.ts +0 -2
- package/dist/assets/icons/graphic.vue.d.ts +0 -2
- package/dist/assets/icons/graphics.vue.d.ts +0 -2
- package/dist/assets/icons/grid-1.vue.d.ts +0 -2
- package/dist/assets/icons/grid-2.vue.d.ts +0 -2
- package/dist/assets/icons/grid-3.vue.d.ts +0 -2
- package/dist/assets/icons/grid-4.vue.d.ts +0 -2
- package/dist/assets/icons/grid-6.vue.d.ts +0 -2
- package/dist/assets/icons/grid-9.vue.d.ts +0 -2
- package/dist/assets/icons/grid-masonry-9.vue.d.ts +0 -2
- package/dist/assets/icons/grid-masonry.vue.d.ts +0 -2
- package/dist/assets/icons/help.vue.d.ts +0 -2
- package/dist/assets/icons/home.vue.d.ts +0 -2
- package/dist/assets/icons/image focus point.vue.d.ts +0 -2
- package/dist/assets/icons/image.vue.d.ts +0 -2
- package/dist/assets/icons/impact-high.vue.d.ts +0 -2
- package/dist/assets/icons/impact-low.vue.d.ts +0 -2
- package/dist/assets/icons/impact-medium.vue.d.ts +0 -2
- package/dist/assets/icons/impact-very-high.vue.d.ts +0 -2
- package/dist/assets/icons/impact-very-low.vue.d.ts +0 -2
- package/dist/assets/icons/info-fill.vue.d.ts +0 -2
- package/dist/assets/icons/info-filled.vue.d.ts +0 -2
- package/dist/assets/icons/info.vue.d.ts +0 -2
- package/dist/assets/icons/label-filled.vue.d.ts +0 -2
- package/dist/assets/icons/label.vue.d.ts +0 -2
- package/dist/assets/icons/language.vue.d.ts +0 -2
- package/dist/assets/icons/latest.vue.d.ts +0 -2
- package/dist/assets/icons/lightbulb.vue.d.ts +0 -2
- package/dist/assets/icons/list-search.vue.d.ts +0 -2
- package/dist/assets/icons/list.vue.d.ts +0 -2
- package/dist/assets/icons/lock-filled.vue.d.ts +0 -2
- package/dist/assets/icons/lock.vue.d.ts +0 -2
- package/dist/assets/icons/mail.vue.d.ts +0 -2
- package/dist/assets/icons/map-outline.vue.d.ts +0 -2
- package/dist/assets/icons/map.vue.d.ts +0 -2
- package/dist/assets/icons/menu.vue.d.ts +0 -2
- package/dist/assets/icons/minus.vue.d.ts +0 -2
- package/dist/assets/icons/more-horizontal.vue.d.ts +0 -2
- package/dist/assets/icons/more-vertical.vue.d.ts +0 -2
- package/dist/assets/icons/move-up-down.vue.d.ts +0 -2
- package/dist/assets/icons/move.vue.d.ts +0 -2
- package/dist/assets/icons/navigation.vue.d.ts +0 -2
- package/dist/assets/icons/note.vue.d.ts +0 -2
- package/dist/assets/icons/offline.vue.d.ts +0 -2
- package/dist/assets/icons/package.vue.d.ts +0 -2
- package/dist/assets/icons/paper-plane.vue.d.ts +0 -2
- package/dist/assets/icons/paperplane.vue.d.ts +0 -2
- package/dist/assets/icons/pause-circle.vue.d.ts +0 -2
- package/dist/assets/icons/pause.vue.d.ts +0 -2
- package/dist/assets/icons/pdf.vue.d.ts +0 -2
- package/dist/assets/icons/pen-check.vue.d.ts +0 -2
- package/dist/assets/icons/pen.vue.d.ts +0 -2
- package/dist/assets/icons/people.vue.d.ts +0 -2
- package/dist/assets/icons/phone.vue.d.ts +0 -2
- package/dist/assets/icons/picture-circled.vue.d.ts +0 -2
- package/dist/assets/icons/picture-filled.vue.d.ts +0 -2
- package/dist/assets/icons/picture-gallery.vue.d.ts +0 -2
- package/dist/assets/icons/picture.vue.d.ts +0 -2
- package/dist/assets/icons/pin.vue.d.ts +0 -2
- package/dist/assets/icons/planning.vue.d.ts +0 -2
- package/dist/assets/icons/play-circle.vue.d.ts +0 -2
- package/dist/assets/icons/play-fill.vue.d.ts +0 -2
- package/dist/assets/icons/play.vue.d.ts +0 -2
- package/dist/assets/icons/plus-circle.vue.d.ts +0 -2
- package/dist/assets/icons/plus.vue.d.ts +0 -2
- package/dist/assets/icons/print.vue.d.ts +0 -2
- package/dist/assets/icons/refresh.vue.d.ts +0 -2
- package/dist/assets/icons/reset.vue.d.ts +0 -2
- package/dist/assets/icons/responsive.vue.d.ts +0 -2
- package/dist/assets/icons/rubix-thema.vue.d.ts +0 -2
- package/dist/assets/icons/save.vue.d.ts +0 -2
- package/dist/assets/icons/saved-search-fill.vue.d.ts +0 -2
- package/dist/assets/icons/saved-search.vue.d.ts +0 -2
- package/dist/assets/icons/search.vue.d.ts +0 -2
- package/dist/assets/icons/settings.vue.d.ts +0 -2
- package/dist/assets/icons/share-alternative.vue.d.ts +0 -2
- package/dist/assets/icons/share.vue.d.ts +0 -2
- package/dist/assets/icons/sidebar-fill.vue.d.ts +0 -2
- package/dist/assets/icons/sidebar.vue.d.ts +0 -2
- package/dist/assets/icons/slack.vue.d.ts +0 -2
- package/dist/assets/icons/slider-config.vue.d.ts +0 -2
- package/dist/assets/icons/spellcheck.vue.d.ts +0 -2
- package/dist/assets/icons/spinner.vue.d.ts +0 -2
- package/dist/assets/icons/standard-view.vue.d.ts +0 -2
- package/dist/assets/icons/star-fill.vue.d.ts +0 -2
- package/dist/assets/icons/star-filled.vue.d.ts +0 -2
- package/dist/assets/icons/star.vue.d.ts +0 -2
- package/dist/assets/icons/stop.vue.d.ts +0 -2
- package/dist/assets/icons/story.vue.d.ts +0 -2
- package/dist/assets/icons/sync.vue.d.ts +0 -2
- package/dist/assets/icons/tasks.vue.d.ts +0 -2
- package/dist/assets/icons/text-circled.vue.d.ts +0 -2
- package/dist/assets/icons/text-filled.vue.d.ts +0 -2
- package/dist/assets/icons/text.vue.d.ts +0 -2
- package/dist/assets/icons/thumbs-down.vue.d.ts +0 -2
- package/dist/assets/icons/thumbs-up-double.vue.d.ts +0 -2
- package/dist/assets/icons/thumbs-up.vue.d.ts +0 -2
- package/dist/assets/icons/topic.vue.d.ts +0 -2
- package/dist/assets/icons/union.vue.d.ts +0 -2
- package/dist/assets/icons/upload.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-divert-me.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-educate-me.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-give-me-perspective.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-help-me.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-touch-me.vue.d.ts +0 -2
- package/dist/assets/icons/user-need-update-me.vue.d.ts +0 -2
- package/dist/assets/icons/video overlay.vue.d.ts +0 -2
- package/dist/assets/icons/video-circled.vue.d.ts +0 -2
- package/dist/assets/icons/video-filled.vue.d.ts +0 -2
- package/dist/assets/icons/video-rounded.vue.d.ts +0 -2
- package/dist/assets/icons/video.vue.d.ts +0 -2
- package/dist/assets/icons/view-off.vue.d.ts +0 -2
- package/dist/assets/icons/view.vue.d.ts +0 -2
- package/dist/assets/icons/volume-up.vue.d.ts +0 -2
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +0 -38
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +0 -189
- package/dist/components/UiBadge/UiBadge.vue.d.ts +0 -35
- package/dist/components/UiButton/UiButton.vue.d.ts +0 -38
- package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +0 -17
- package/dist/components/UiCard/UiCard.vue.d.ts +0 -6
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +0 -32
- package/dist/components/UiCheckbox/UiCheckbox.vue.d.ts +0 -56
- package/dist/components/UiChip/UiChip.vue.d.ts +0 -26
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +0 -27
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +0 -11
- package/dist/components/UiColorPicker/lib/colors.d.ts +0 -1
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +0 -933
- package/dist/components/UiDialog/UiDialog.vue.d.ts +0 -50
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +0 -28
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +0 -33
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +0 -37
- package/dist/components/UiIcon/UiIcon.vue.d.ts +0 -15
- package/dist/components/UiIcon/UiIconLoading.vue.d.ts +0 -2
- package/dist/components/UiIcon/icons.d.ts +0 -194
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +0 -20
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +0 -31
- package/dist/components/UiInput/UiInput.vue.d.ts +0 -95
- package/dist/components/UiLabel/UiLabel.vue.d.ts +0 -25
- package/dist/components/UiList/UiList.vue.d.ts +0 -17
- package/dist/components/UiListItem/UiListItem.vue.d.ts +0 -55
- package/dist/components/UiMenu/UiMenu.vue.d.ts +0 -88
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +0 -27
- package/dist/components/UiMenu/UiMenuList.vue.d.ts +0 -22
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +0 -17
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +0 -23
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +0 -34
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +0 -68
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +0 -63
- package/dist/components/UiSection/UiSection.vue.d.ts +0 -28
- package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +0 -15
- package/dist/components/UiSelect/UiSelect.vue.d.ts +0 -54
- package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +0 -21
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +0 -11
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +0 -42
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +0 -9
- package/dist/components/UiTextButton/UiTextButton.vue.d.ts +0 -37
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +0 -52
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +0 -59
- package/dist/components/index.d.ts +0 -45
- package/dist/compositions/index.d.ts +0 -1
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +0 -8
- package/dist/directives/index.d.ts +0 -1
- package/dist/directives/vClickAway.d.ts +0 -5
- package/dist/index.d.ts +0 -4
- package/dist/utils/cn.d.ts +0 -2
- package/dist/utils/index.d.ts +0 -1
- package/src/components/index.ts +0 -92
- package/src/compositions/index.ts +0 -1
- package/src/directives/index.ts +0 -1
- package/src/index.ts +0 -6
- package/src/utils/index.ts +0 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import js from "@eslint/js";
|
|
2
|
+
import * as tsParser from "@typescript-eslint/parser";
|
|
2
3
|
import skipFormattingConfig from "@vue/eslint-config-prettier/skip-formatting";
|
|
3
4
|
import {
|
|
4
5
|
defineConfigWithVueTs,
|
|
5
6
|
vueTsConfigs,
|
|
6
7
|
} from "@vue/eslint-config-typescript";
|
|
8
|
+
import { createTypeScriptImportResolver } from "eslint-import-resolver-typescript";
|
|
7
9
|
import eslintPluginBetterTailwindcss from "eslint-plugin-better-tailwindcss";
|
|
10
|
+
import { importX } from "eslint-plugin-import-x";
|
|
8
11
|
import pluginVue from "eslint-plugin-vue";
|
|
9
12
|
import globals from "globals";
|
|
10
13
|
|
|
@@ -17,10 +20,14 @@ export default defineConfigWithVueTs(
|
|
|
17
20
|
rules: {
|
|
18
21
|
"@typescript-eslint/no-explicit-any": "off",
|
|
19
22
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
23
|
+
"no-console": "error",
|
|
24
|
+
/**
|
|
25
|
+
* Standardizing on one component name pattern makes global search more effective
|
|
26
|
+
*/
|
|
27
|
+
"vue/component-name-in-template-casing": "error",
|
|
20
28
|
"vue/define-emits-declaration": ["error", "type-literal"],
|
|
21
29
|
"vue/multi-word-component-names": "off",
|
|
22
30
|
"vue/no-v-html": "off",
|
|
23
|
-
"no-console": "error",
|
|
24
31
|
},
|
|
25
32
|
languageOptions: {
|
|
26
33
|
globals: {
|
|
@@ -43,6 +50,47 @@ export default defineConfigWithVueTs(
|
|
|
43
50
|
},
|
|
44
51
|
},
|
|
45
52
|
|
|
53
|
+
importX.flatConfigs.recommended,
|
|
54
|
+
importX.flatConfigs.typescript,
|
|
55
|
+
{
|
|
56
|
+
name: "app/import-linting",
|
|
57
|
+
settings: {
|
|
58
|
+
"import-x/resolver-next": [
|
|
59
|
+
createTypeScriptImportResolver({ alwaysTryTypes: true }),
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
rules: {
|
|
63
|
+
"import-x/extensions": ["error", "ignorePackages", { fix: true }],
|
|
64
|
+
"import-x/order": [
|
|
65
|
+
"error",
|
|
66
|
+
{
|
|
67
|
+
alphabetize: {
|
|
68
|
+
order: "asc",
|
|
69
|
+
caseInsensitive: true,
|
|
70
|
+
},
|
|
71
|
+
named: true,
|
|
72
|
+
"newlines-between": "always",
|
|
73
|
+
groups: [
|
|
74
|
+
"builtin",
|
|
75
|
+
"external",
|
|
76
|
+
"internal",
|
|
77
|
+
"parent",
|
|
78
|
+
"sibling",
|
|
79
|
+
"index",
|
|
80
|
+
],
|
|
81
|
+
},
|
|
82
|
+
],
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
files: ["**/*.ts"],
|
|
87
|
+
languageOptions: {
|
|
88
|
+
parser: tsParser,
|
|
89
|
+
ecmaVersion: "latest",
|
|
90
|
+
sourceType: "module",
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
|
|
46
94
|
// Turns off formatting-related ESLint rules so that formatting can be delegated to the Prettier CLI. See https://github.com/vuejs/eslint-config-prettier?tab=readme-ov-file#use-separate-commands-for-linting-and-formatting
|
|
47
95
|
skipFormattingConfig,
|
|
48
96
|
);
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
<script setup lang="ts">
|
|
61
61
|
import { computed, onMounted, ref } from "vue";
|
|
62
62
|
|
|
63
|
-
import { vClickAway } from "../../directives/vClickAway.
|
|
63
|
+
import { vClickAway } from "../../directives/vClickAway.ts";
|
|
64
64
|
import UiInput from "../UiInput/UiInput.vue";
|
|
65
65
|
import UiList from "../UiList/UiList.vue";
|
|
66
66
|
import UiListItem from "../UiListItem/UiListItem.vue";
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
import { computed } from "vue";
|
|
23
23
|
import type { RouteLocationRaw } from "vue-router";
|
|
24
24
|
|
|
25
|
-
import { cn } from "../../utils/cn.
|
|
25
|
+
import { cn } from "../../utils/cn.ts";
|
|
26
26
|
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
27
27
|
|
|
28
28
|
const emit = defineEmits<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
2
|
import { describe, expect, it } from "vitest";
|
|
3
3
|
|
|
4
|
-
import { COLORS } from "./lib/colors.
|
|
4
|
+
import { COLORS } from "./lib/colors.ts";
|
|
5
5
|
import UiColorPicker from "./UiColorPicker.vue";
|
|
6
6
|
|
|
7
7
|
describe("UiColorPicker", () => {
|
|
@@ -53,11 +53,11 @@
|
|
|
53
53
|
|
|
54
54
|
<script setup lang="ts">
|
|
55
55
|
import Color from "color";
|
|
56
|
-
import { computed, ref } from "vue";
|
|
57
|
-
import { watch } from "vue";
|
|
56
|
+
import { computed, ref, watch } from "vue";
|
|
58
57
|
|
|
59
58
|
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
60
|
-
|
|
59
|
+
|
|
60
|
+
import { COLORS } from "./lib/colors.ts";
|
|
61
61
|
|
|
62
62
|
const props = withDefaults(
|
|
63
63
|
defineProps<{
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
<script setup lang="ts">
|
|
63
63
|
import { useEventListener } from "@vueuse/core";
|
|
64
64
|
|
|
65
|
-
import { cn } from "../../utils/cn.
|
|
65
|
+
import { cn } from "../../utils/cn.ts";
|
|
66
66
|
import UiIconButton from "../UiIconButton/UiIconButton.vue";
|
|
67
67
|
import UiOverlay from "../UiOverlay/UiOverlay.vue";
|
|
68
68
|
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
import type { ClassValue } from "clsx";
|
|
67
67
|
import { computed } from "vue";
|
|
68
68
|
|
|
69
|
-
import { cn } from "../../utils/cn.
|
|
69
|
+
import { cn } from "../../utils/cn.ts";
|
|
70
70
|
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
71
71
|
|
|
72
72
|
const emit = defineEmits<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ComponentMountingOptions, mount } from "@vue/test-utils";
|
|
2
2
|
import { beforeEach, describe, expect, it, vi } from "vitest";
|
|
3
3
|
|
|
4
|
-
import { icons } from "./icons.
|
|
4
|
+
import { icons } from "./icons.ts";
|
|
5
5
|
import UiIcon from "./UiIcon.vue";
|
|
6
6
|
|
|
7
7
|
function createWrapper(options: ComponentMountingOptions<typeof UiIcon> = {}) {
|
|
@@ -13,7 +13,7 @@ export type UiIconName = keyof typeof icons;
|
|
|
13
13
|
<script setup lang="ts">
|
|
14
14
|
import { computed, defineAsyncComponent, watchEffect } from "vue";
|
|
15
15
|
|
|
16
|
-
import { icons } from "./icons.
|
|
16
|
+
import { icons } from "./icons.ts";
|
|
17
17
|
import UiIconLoading from "./UiIconLoading.vue";
|
|
18
18
|
|
|
19
19
|
const props = withDefaults(
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
2
|
import { action } from "storybook/actions";
|
|
3
3
|
|
|
4
|
-
import { icons } from "../UiIcon/icons.
|
|
4
|
+
import { icons } from "../UiIcon/icons.ts";
|
|
5
|
+
|
|
5
6
|
import UiIconButton from "./UiIconButton.vue";
|
|
6
7
|
|
|
7
8
|
const meta = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
2
|
|
|
3
3
|
import UiButton from "../UiButton/UiButton.vue";
|
|
4
|
-
import { icons } from "../UiIcon/icons.
|
|
4
|
+
import { icons } from "../UiIcon/icons.ts";
|
|
5
|
+
|
|
5
6
|
import UiInfoContent from "./UiInfoContent.vue";
|
|
6
7
|
|
|
7
8
|
const meta = {
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
import { v4 as uuidv4 } from "uuid";
|
|
118
118
|
import { computed, onBeforeUpdate, onMounted, ref } from "vue";
|
|
119
119
|
|
|
120
|
-
import { cn } from "../../utils/cn.
|
|
120
|
+
import { cn } from "../../utils/cn.ts";
|
|
121
121
|
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
122
122
|
|
|
123
123
|
type UiInputStatus = "default" | "info" | "readonly" | "warning" | "error";
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
<script setup lang="ts">
|
|
56
56
|
import { computed } from "vue";
|
|
57
57
|
|
|
58
|
-
import { cn } from "../../utils/cn.
|
|
58
|
+
import { cn } from "../../utils/cn.ts";
|
|
59
59
|
import UiCheckbox from "../UiCheckbox/UiCheckbox.vue";
|
|
60
60
|
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
61
61
|
|
|
@@ -2,7 +2,8 @@ import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
|
2
2
|
import { action } from "storybook/actions";
|
|
3
3
|
import { computed, ref } from "vue";
|
|
4
4
|
|
|
5
|
-
import { icons } from "../UiIcon/icons.
|
|
5
|
+
import { icons } from "../UiIcon/icons.ts";
|
|
6
|
+
|
|
6
7
|
import UiMenu, {
|
|
7
8
|
type UiMenuGroupedOption,
|
|
8
9
|
type UiMenuOptionType,
|
|
@@ -172,8 +172,8 @@ import {
|
|
|
172
172
|
} from "@floating-ui/vue";
|
|
173
173
|
import { computed, type HTMLAttributes, ref, watchPostEffect } from "vue";
|
|
174
174
|
|
|
175
|
-
import { vClickAway } from "../../directives/vClickAway.
|
|
176
|
-
import { cn } from "../../utils/cn.
|
|
175
|
+
import { vClickAway } from "../../directives/vClickAway.ts";
|
|
176
|
+
import { cn } from "../../utils/cn.ts";
|
|
177
177
|
import UiButton from "../UiButton/UiButton.vue";
|
|
178
178
|
import UiFilterButton from "../UiFilterButton/UiFilterButton.vue";
|
|
179
179
|
import type { UiIconName } from "../UiIcon/UiIcon.vue";
|
|
@@ -24,8 +24,9 @@
|
|
|
24
24
|
<script setup lang="ts" generic="Value">
|
|
25
25
|
import type { HTMLAttributes } from "vue";
|
|
26
26
|
|
|
27
|
-
import { cn } from "../../utils/cn.
|
|
27
|
+
import { cn } from "../../utils/cn.ts";
|
|
28
28
|
import UiListItem from "../UiListItem/UiListItem.vue";
|
|
29
|
+
|
|
29
30
|
import type { UiMenuOptionType } from "./UiMenu.vue";
|
|
30
31
|
|
|
31
32
|
const props = withDefaults(
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
2
|
import { describe, expect, it } from "vitest";
|
|
3
3
|
|
|
4
|
-
import { vClickAway } from "../../directives/vClickAway.
|
|
4
|
+
import { vClickAway } from "../../directives/vClickAway.ts";
|
|
5
5
|
import UiButton from "../UiButton/UiButton.vue";
|
|
6
|
+
|
|
6
7
|
import UiOverlayMenu from "./UiOverlayMenu.vue";
|
|
7
8
|
|
|
8
9
|
document.body.innerHTML = `
|
|
@@ -42,7 +42,7 @@ export default {
|
|
|
42
42
|
<script setup lang="ts" generic="T extends string | number">
|
|
43
43
|
import { computed, onMounted } from "vue";
|
|
44
44
|
|
|
45
|
-
import { cn } from "../../utils/cn.
|
|
45
|
+
import { cn } from "../../utils/cn.ts";
|
|
46
46
|
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
47
47
|
|
|
48
48
|
export interface UiRadioInputGroupOption<T> {
|
|
@@ -4,6 +4,7 @@ import UiButton from "../UiButton/UiButton.vue";
|
|
|
4
4
|
import UiChip from "../UiChip/UiChip.vue";
|
|
5
5
|
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
6
6
|
import UiIconButton from "../UiIconButton/UiIconButton.vue";
|
|
7
|
+
|
|
7
8
|
import UiSearchBar from "./UiSearchBar.vue";
|
|
8
9
|
|
|
9
10
|
type PropsAndStoryProps = InstanceType<typeof UiSearchBar> & {
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
import type { ClassValue } from "clsx";
|
|
119
119
|
import { computed, ref } from "vue";
|
|
120
120
|
|
|
121
|
-
import { cn } from "../../utils/cn.
|
|
121
|
+
import { cn } from "../../utils/cn.ts";
|
|
122
122
|
import UiIconButton from "../UiIconButton/UiIconButton.vue";
|
|
123
123
|
|
|
124
124
|
const emit = defineEmits<{
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
px-4
|
|
87
87
|
py-1
|
|
88
88
|
text-xs/normal
|
|
89
|
-
|
|
89
|
+
|
|
90
90
|
font-medium
|
|
91
91
|
text-white
|
|
92
92
|
transition-all
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<script setup lang="ts">
|
|
107
107
|
import { v4 as uuidv4 } from "uuid";
|
|
108
108
|
|
|
109
|
-
import { cn } from "../../utils/cn.
|
|
109
|
+
import { cn } from "../../utils/cn.ts";
|
|
110
110
|
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
111
111
|
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
112
112
|
|
|
@@ -2,7 +2,8 @@ import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
|
2
2
|
import { action } from "storybook/actions";
|
|
3
3
|
import { ref } from "vue";
|
|
4
4
|
|
|
5
|
-
import { icons } from "../UiIcon/icons.
|
|
5
|
+
import { icons } from "../UiIcon/icons.ts";
|
|
6
|
+
|
|
6
7
|
import UiSnackbar from "./UiSnackbar.vue";
|
|
7
8
|
|
|
8
9
|
const meta = {
|
|
@@ -8,6 +8,7 @@ import UiCheckbox from "./UiCheckbox/UiCheckbox.vue";
|
|
|
8
8
|
import UiCheckBoxGroup from "./UiCheckBoxGroup/UiCheckBoxGroup.vue";
|
|
9
9
|
import UiChip from "./UiChip/UiChip.vue";
|
|
10
10
|
import UiCollapseNavigation from "./UiCollapseNavigation/UiCollapseNavigation.vue";
|
|
11
|
+
import UiColorPicker from "./UiColorPicker/UiColorPicker.vue";
|
|
11
12
|
import UiDatePicker from "./UiDatePicker/UiDatePicker.vue";
|
|
12
13
|
import UiDialog from "./UiDialog/UiDialog.vue";
|
|
13
14
|
import UiFilterBadge from "./UiFilterBadge/UiFilterBadge.vue";
|
|
@@ -33,7 +34,6 @@ import UiOverlay from "./UiOverlay/UiOverlay.vue";
|
|
|
33
34
|
import UiOverlayMenu from "./UiOverlayMenu/UiOverlayMenu.vue";
|
|
34
35
|
import UiRadioInputGroup from "./UiRadioInputGroup/UiRadioInputGroup.vue";
|
|
35
36
|
export type { UiRadioInputGroupOption } from "./UiRadioInputGroup/UiRadioInputGroup.vue";
|
|
36
|
-
import UiColorPicker from "./UiColorPicker/UiColorPicker.vue";
|
|
37
37
|
import UiSearchBar from "./UiSearchBar/UiSearchBar.vue";
|
|
38
38
|
import UiSearchInput from "./UiSearchInput/UiSearchInput.vue";
|
|
39
39
|
import UiSection from "./UiSection/UiSection.vue";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { useBreakpoints } from "./useBreakpoints/useBreakpoints.
|
|
1
|
+
export { useBreakpoints } from "./useBreakpoints/useBreakpoints.ts";
|
|
@@ -6,7 +6,8 @@
|
|
|
6
6
|
<script setup lang="ts">
|
|
7
7
|
import UiButton from "../../components/UiButton/UiButton.vue";
|
|
8
8
|
import UiIconButton from "../../components/UiIconButton/UiIconButton.vue";
|
|
9
|
-
|
|
9
|
+
|
|
10
|
+
import { useBreakpoints } from "./useBreakpoints.ts";
|
|
10
11
|
|
|
11
12
|
const { lg } = useBreakpoints();
|
|
12
13
|
</script>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { vClickAway } from "./vClickAway.
|
|
1
|
+
export { vClickAway } from "./vClickAway.ts";
|
package/dist/src/index.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "./tailwindPreset.css";
|
|
2
2
|
|
|
3
|
-
export * from "./components/index.
|
|
4
|
-
export * from "./compositions/index.
|
|
5
|
-
export * from "./directives/index.
|
|
6
|
-
export * from "./utils/index.
|
|
3
|
+
export * from "./components/index.ts";
|
|
4
|
+
export * from "./compositions/index.ts";
|
|
5
|
+
export * from "./directives/index.ts";
|
|
6
|
+
export * from "./utils/index.ts";
|