diff --git a/ppr-ui/package-lock.json b/ppr-ui/package-lock.json index c220c32eb..4378fb03b 100644 --- a/ppr-ui/package-lock.json +++ b/ppr-ui/package-lock.json @@ -1,12 +1,12 @@ { "name": "ppr-ui", - "version": "3.2.37", + "version": "3.2.38", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "ppr-ui", - "version": "3.2.37", + "version": "3.2.38", "dependencies": { "@bcrs-shared-components/input-field-date-picker": "^1.0.0", "@lemoncode/fonk": "^1.5.1", diff --git a/ppr-ui/package.json b/ppr-ui/package.json index 121463cd3..983196e3a 100644 --- a/ppr-ui/package.json +++ b/ppr-ui/package.json @@ -1,6 +1,6 @@ { "name": "ppr-ui", - "version": "3.2.37", + "version": "3.2.38", "private": true, "appName": "Assets UI", "sbcName": "SBC Common Components", diff --git a/ppr-ui/src/App.vue b/ppr-ui/src/App.vue index 4c0a5b80d..069f6b215 100644 --- a/ppr-ui/src/App.vue +++ b/ppr-ui/src/App.vue @@ -3,6 +3,8 @@ id="app" class="app-container" > + + + + + +
-
- - +
@import '@/assets/styles/theme.scss'; + +.sbc-system-banner { + min-height: 60px; + flex-grow: 0; +} diff --git a/ppr-ui/src/components/common/SkipToMainContent.vue b/ppr-ui/src/components/common/SkipToMainContent.vue new file mode 100644 index 000000000..4a2e2cc05 --- /dev/null +++ b/ppr-ui/src/components/common/SkipToMainContent.vue @@ -0,0 +1,44 @@ + + + + + diff --git a/ppr-ui/src/components/common/index.ts b/ppr-ui/src/components/common/index.ts index 244257b11..9f14769e7 100644 --- a/ppr-ui/src/components/common/index.ts +++ b/ppr-ui/src/components/common/index.ts @@ -41,3 +41,4 @@ export { default as StaffPayment } from './StaffPayment.vue' export { default as CollapsibleCard } from './CollapsibleCard.vue' export { default as TabbedContainer } from './TabbedContainer.vue' export { default as SimpleTable } from './SimpleTable.vue' +export { default as SkipToMainContent } from './SkipToMainContent.vue' diff --git a/ppr-ui/tests/unit/App.spec.ts b/ppr-ui/tests/unit/App.spec.ts index 660d51abe..151437944 100644 --- a/ppr-ui/tests/unit/App.spec.ts +++ b/ppr-ui/tests/unit/App.spec.ts @@ -5,7 +5,7 @@ import App from '@/App.vue' import SbcHeader from 'sbc-common-components/src/components/SbcHeader.vue' import SbcFooter from 'sbc-common-components/src/components/SbcFooter.vue' import { Tombstone } from '@/components/tombstone' -import { Breadcrumb } from '@/components/common' +import { Breadcrumb, SkipToMainContent } from '@/components/common' import { mockedDisableAllUserSettingsResponse, mockedFinancingStatementAll, @@ -105,6 +105,7 @@ describe('App component basic rendering normal account', () => { it('renders the sub-components properly', async () => { expect(wrapper.findComponent(App).exists()).toBe(true) + expect(wrapper.findComponent(SkipToMainContent).exists()).toBe(true) expect(wrapper.findComponent(SbcHeader).exists()).toBe(true) expect(wrapper.findComponent(SbcFooter).exists()).toBe(true) expect(wrapper.findComponent(Tombstone).exists()).toBe(false) @@ -126,4 +127,3 @@ describe('App component basic rendering normal account', () => { expect(store.getStateModel.userInfo.feeSettings.serviceFee).toBe(1) }) }) -