Skip to content

Commit

Permalink
Merge pull request #787 from patrickcate/support/000/2023-12-27-updates
Browse files Browse the repository at this point in the history
2023-12-27 updates
  • Loading branch information
patrickcate authored Dec 27, 2023
2 parents 3b88883 + 827dd80 commit 0325da5
Show file tree
Hide file tree
Showing 28 changed files with 531 additions and 418 deletions.
823 changes: 443 additions & 380 deletions package-lock.json

Large diffs are not rendered by default.

18 changes: 8 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@
},
"dependencies": {
"@floating-ui/dom": "^1.0.4",
"@vueuse/components": "^9.4.0",
"@vueuse/core": "^9.4.0",
"@vueuse/integrations": "^9.4.0",
"@vueuse/components": "^10.7.0",
"@vueuse/core": "^10.7.0",
"@vueuse/integrations": "^10.7.0",
"date-fns": "^2.28.0",
"fast-sort": "^3.1.3",
"focus-trap": "^7.0.0",
Expand All @@ -79,8 +79,6 @@
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@cypress/code-coverage": "^3.9.12",
"@cypress/vite-dev-server": "^2.2.0",
"@cypress/vue": "^4.0.0",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-actions": "^6.4.0",
Expand All @@ -96,8 +94,8 @@
"babel-loader": "^8.2.3",
"commitizen": "^4.2.4",
"cross-env": "^7.0.3",
"cypress": "^13.6.1",
"cypress-real-events": "^1.5.1",
"cypress": "^13.6.2",
"cypress-real-events": "^1.11.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -107,11 +105,11 @@
"eslint-plugin-vue": "^9.1.1",
"husky": "^8.0.1",
"hygen": "^6.1.0",
"lint-staged": "^13.0.2",
"prettier": "^2.4.1",
"lint-staged": "^15.2.0",
"prettier": "^2.8.8",
"semantic-release": "^19.0.5",
"vite": "^4.0.0",
"vite-plugin-istanbul": "^2.5.1",
"vite-plugin-istanbul": "^5.0.0",
"vue": "^3.2.33",
"vue-loader": "^17.0.0",
"vue-router": "^4.0.12"
Expand Down
8 changes: 5 additions & 3 deletions playground/tree-shaking/src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
msg: {
type: String,
required: true
}
required: true,
},
})
</script>

Expand Down
4 changes: 3 additions & 1 deletion src/components/BaseHeading/BaseHeading.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
tag: {
type: String,
default: 'h2',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaChecklist/UsaChecklist.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import UsaChecklistItem from '@/components/UsaChecklistItem'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
items: {
type: Array,
default: () => [],
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaCollectionHeading/UsaCollectionHeading.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import BaseHeading from '@/components/BaseHeading'
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
href: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaCollectionItem/UsaCollectionItem.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import UsaCollectionHeading from '@/components/UsaCollectionHeading'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
heading: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaCollectionMeta/UsaCollectionMeta.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
required: true,
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaFooterNav/UsaFooterNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import UsaFooterCollapsibleMenu from '@/components/UsaFooterCollapsibleMenu'
const footerVariant = inject('footerVariant', 'medium')
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'Footer navigation',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaHeroCallout/UsaHeroCallout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ if (slots?.headingAlt) {
)
}
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
headingAlt: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaIconListItem/UsaIconListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
import BaseHeading from '@/components/BaseHeading'
import UsaIcon from '@/components/UsaIcon'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
icon: {
type: String,
required: true,
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaIdentiferMoreInfo/UsaIdentiferMoreInfo.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'U.S. government information and services',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaIdentifierLogo/UsaIdentifierLogo.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
href: {
type: String,
default: '',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'Agency identifier',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'Important links',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaLogo/UsaLogo.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
title: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaMediaBlock/UsaMediaBlock.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<script setup>
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
customClasses: {
type: Object,
default: () => {
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaModalCloseButton/UsaModalCloseButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { SVG_SPRITE_PATH } from '@/utils/constants.js'
const svgSpritePath = inject('vueUswds.svgSpritePath', SVG_SPRITE_PATH)
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
required: true,
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNav/UsaNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@ const isMobileMenuOpen = inject('isMobileMenuOpen', ref(false))
const mobileMenuId = inject('mobileMenuId')
const closeMobileMenu = inject('closeMobileMenu')
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'Primary navigation',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNavPrimary/UsaNavPrimary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ const isMegamenu = inject('isMegamenu', ref(false))
const emit = defineEmits(['update:items'])
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
items: {
type: Array,
default: () => [],
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNavPrimaryItem/UsaNavPrimaryItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import BaseLink from '@/components/BaseLink'
const closeAllDropdowns = inject('closeAllDropdowns')
const closeMobileMenu = inject('closeMobileMenu')
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
href: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNavSecondary/UsaNavSecondary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import BaseLink from '@/components/BaseLink'
const isExtendedHeader = inject('isExtendedHeader', false)
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
items: {
type: Array,
default: () => [],
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNavSubmenuItem/UsaNavSubmenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ const dropdownId = inject('dropdownId')
const closeDropdown = inject('closeDropdown')
const closeMobileMenu = inject('closeMobileMenu')
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
href: {
type: String,
default: '',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaNavbar/UsaNavbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { useMobileMenu } from '@/composables/useMobileMenu.js'
const emit = defineEmits(['mobileMenuOpen'])
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
menuButtonLabel: {
type: String,
default: 'Menu',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaSidenav/UsaSidenav.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import UsaSidenavItem from '@/components/UsaSidenavItem'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
ariaLabel: {
type: String,
default: 'Secondary navigation',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaSidenavItem/UsaSidenavItem.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
item: {
type: Object,
required: true,
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaSignUp/UsaSignUp.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseHeading from '@/components/BaseHeading'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
heading: {
type: String,
default: 'Sign up',
Expand Down
4 changes: 3 additions & 1 deletion src/components/UsaSkipnav/UsaSkipnav.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<script setup>
import BaseLink from '@/components/BaseLink'
defineProps({
// Un-used `props` variable needed for code coverage to be instrumented.
// eslint-disable-next-line no-unused-vars
const props = defineProps({
anchor: {
type: String,
required: true,
Expand Down

0 comments on commit 0325da5

Please sign in to comment.