@sbc-connect/nuxt-base 0.4.0 → 0.6.0
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/CHANGELOG.md +14 -0
- package/{modules/base-assets/runtime/assets → app/assets/css}/connect-base-tw.css +8 -10
- package/app/components/Connect/Footer.vue +0 -5
- package/i18n/locales/en-CA.ts +0 -1
- package/i18n/locales/fr-CA.ts +1 -2
- package/nuxt.config.ts +10 -2
- package/package.json +17 -18
- package/modules/base-assets/index.ts +0 -30
- /package/{modules/base-assets/runtime/assets → app/assets/css}/connect-base-layout.css +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Bold.woff +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Bold.woff2 +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-BoldItalic.woff +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-BoldItalic.woff2 +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Italic.woff +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Italic.woff2 +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Regular.woff +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/BCSans-Regular.woff2 +0 -0
- /package/{modules/base-assets/runtime/public → public}/fonts/BCSans/LICENSE_OFL.txt +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @sbc-connect/nuxt-base
|
|
2
2
|
|
|
3
|
+
## 0.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#118](https://github.com/bcgov/connect-nuxt/pull/118) [`41e58f4`](https://github.com/bcgov/connect-nuxt/commit/41e58f44e6d216e7de568bccb2e240b2d89b8408) Thanks [@deetz99](https://github.com/deetz99)! - Remove now unnecessary css module workaround.
|
|
8
|
+
|
|
9
|
+
- [#117](https://github.com/bcgov/connect-nuxt/pull/117) [`e3da105`](https://github.com/bcgov/connect-nuxt/commit/e3da1056247f5c502578dc70f95375e66e3cc1da) Thanks [@deetz99](https://github.com/deetz99)! - Update all dependencies
|
|
10
|
+
|
|
11
|
+
## 0.5.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#111](https://github.com/bcgov/connect-nuxt/pull/111) [`d9d6356`](https://github.com/bcgov/connect-nuxt/commit/d9d63560e27117c43b9e8e54d363c3fdbb620049) Thanks [@hfekete](https://github.com/hfekete)! - Remove broken 'Release Notes' link from footer and related translations
|
|
16
|
+
|
|
3
17
|
## 0.4.0
|
|
4
18
|
|
|
5
19
|
### Minor Changes
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@import "tailwindcss";
|
|
2
2
|
@import "@nuxt/ui";
|
|
3
3
|
|
|
4
|
-
@source "../../../../app/";
|
|
5
|
-
|
|
6
4
|
/* Customize Nuxt UI default tokens */
|
|
7
5
|
/* Follows https://sites.google.com/bcdevexchange.org/designsystem/foundation-styles/colours */
|
|
8
6
|
:root {
|
|
@@ -181,8 +179,8 @@
|
|
|
181
179
|
font-family: "BCSans";
|
|
182
180
|
font-style: normal;
|
|
183
181
|
font-weight: 400;
|
|
184
|
-
src: url("/
|
|
185
|
-
url("/
|
|
182
|
+
src: url("BCGovFonts/BCSans-Regular.woff2") format("woff2"),
|
|
183
|
+
url("BCGovFonts/BCSans-Regular.woff") format("woff"); /* Optimized for very modern browsers */
|
|
186
184
|
font-display: swap;
|
|
187
185
|
}
|
|
188
186
|
|
|
@@ -190,15 +188,15 @@
|
|
|
190
188
|
font-family: "BCSans";
|
|
191
189
|
font-style: italic;
|
|
192
190
|
font-weight: 400;
|
|
193
|
-
src: url("/
|
|
194
|
-
url("/
|
|
191
|
+
src: url("BCGovFonts/BCSans-Italic.woff2") format("woff2"),
|
|
192
|
+
url("BCGovFonts/BCSans-Italic.woff") format("woff"); /* Optimized for very modern browsers */
|
|
195
193
|
font-display: swap;
|
|
196
194
|
}
|
|
197
195
|
@font-face {
|
|
198
196
|
font-family: "BCSans";
|
|
199
197
|
font-weight: 700;
|
|
200
|
-
src: url("/
|
|
201
|
-
url("/
|
|
198
|
+
src: url("BCGovFonts/BCSans-Bold.woff2") format("woff2"),
|
|
199
|
+
url("BCGovFonts/BCSans-Bold.woff") format("woff"); /* Optimized for very modern browsers */
|
|
202
200
|
font-display: swap;
|
|
203
201
|
}
|
|
204
202
|
|
|
@@ -206,8 +204,8 @@
|
|
|
206
204
|
font-family: "BCSans";
|
|
207
205
|
font-style: italic;
|
|
208
206
|
font-weight: 700;
|
|
209
|
-
src: url("/
|
|
210
|
-
url("/
|
|
207
|
+
src: url("BCGovFonts/BCSans-BoldItalic.woff2") format("woff2"),
|
|
208
|
+
url("BCGovFonts/BCSans-BoldItalic.woff") format("woff"); /* Optimized for very modern browsers */
|
|
211
209
|
font-display: swap;
|
|
212
210
|
}
|
|
213
211
|
|
|
@@ -9,11 +9,6 @@ const links = [
|
|
|
9
9
|
label: 'connect.label.home',
|
|
10
10
|
to: localePath('/')
|
|
11
11
|
},
|
|
12
|
-
{
|
|
13
|
-
label: 'connect.label.releaseNotes',
|
|
14
|
-
to: 'https://www.release-notes.bcregistry.gov.bc.ca',
|
|
15
|
-
target: '_blank'
|
|
16
|
-
},
|
|
17
12
|
{
|
|
18
13
|
label: 'connect.label.fees',
|
|
19
14
|
to: feesUrl,
|
package/i18n/locales/en-CA.ts
CHANGED
|
@@ -33,7 +33,6 @@ export default {
|
|
|
33
33
|
hoursOfOperation: 'Hours of Operation',
|
|
34
34
|
localeSelect: 'Select a Language, current language: English',
|
|
35
35
|
privacy: 'Privacy',
|
|
36
|
-
releaseNotes: 'Release Notes',
|
|
37
36
|
whatsNew: "What's New",
|
|
38
37
|
whatsNewAria: "What's New, {count} unread",
|
|
39
38
|
whatsNewSlideover: "What's New at BC Registries"
|
package/i18n/locales/fr-CA.ts
CHANGED
package/nuxt.config.ts
CHANGED
|
@@ -8,13 +8,20 @@ export default defineNuxtConfig({
|
|
|
8
8
|
devtools: { enabled: false },
|
|
9
9
|
|
|
10
10
|
alias: {
|
|
11
|
+
'BCGovFonts': resolve('./public/fonts/BCSans'),
|
|
11
12
|
'BCGovLogoSmEn': resolve('./public/BCGovLogo/gov_bc_logo_vert_en.png'),
|
|
12
13
|
'BCGovLogoSmFr': resolve('./public/BCGovLogo/gov_bc_logo_vert_fr.png'),
|
|
13
14
|
'BCGovLogoLgEn': resolve('./public/BCGovLogo/gov_bc_logo_horiz_en.png'),
|
|
14
15
|
'BCGovLogoLgFr': resolve('./public/BCGovLogo/gov_bc_logo_horiz_fr.png'),
|
|
15
|
-
'#base': resolve('./')
|
|
16
|
+
'#base': resolve('./'),
|
|
17
|
+
'#connect-theme': resolve('./app/assets/css/connect-base-tw.css')
|
|
16
18
|
},
|
|
17
19
|
|
|
20
|
+
css: [
|
|
21
|
+
resolve('./app/assets/css/connect-base-layout.css'),
|
|
22
|
+
resolve('./app/assets/css/connect-base-tw.css')
|
|
23
|
+
],
|
|
24
|
+
|
|
18
25
|
compatibilityDate: '2025-07-10',
|
|
19
26
|
|
|
20
27
|
imports: {
|
|
@@ -23,7 +30,8 @@ export default defineNuxtConfig({
|
|
|
23
30
|
|
|
24
31
|
modules: [
|
|
25
32
|
'@nuxtjs/i18n',
|
|
26
|
-
'@vueuse/nuxt'
|
|
33
|
+
'@vueuse/nuxt',
|
|
34
|
+
'@nuxt/ui'
|
|
27
35
|
],
|
|
28
36
|
|
|
29
37
|
// For more details on i18n in layers: https://i18n.nuxtjs.org/docs/guide/layers
|
package/package.json
CHANGED
|
@@ -1,34 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbc-connect/nuxt-base",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.6.0",
|
|
5
5
|
"repository": "github:bcgov/connect-nuxt",
|
|
6
6
|
"license": "BSD-3-Clause",
|
|
7
7
|
"main": "./nuxt.config.ts",
|
|
8
8
|
"dependencies": {
|
|
9
|
-
"@iconify-json/mdi": "
|
|
10
|
-
"@nuxt/ui": "
|
|
11
|
-
"@nuxtjs/i18n": "
|
|
12
|
-
"@vueuse/core": "14.
|
|
13
|
-
"@vueuse/nuxt": "14.
|
|
14
|
-
"dompurify": "
|
|
15
|
-
"es-toolkit": "
|
|
16
|
-
"launchdarkly-vue-client-sdk": "
|
|
17
|
-
"luxon": "
|
|
18
|
-
"maska": "
|
|
19
|
-
"zod": "
|
|
9
|
+
"@iconify-json/mdi": "1.2.3",
|
|
10
|
+
"@nuxt/ui": "4.3.0",
|
|
11
|
+
"@nuxtjs/i18n": "10.2.1",
|
|
12
|
+
"@vueuse/core": "14.1.0",
|
|
13
|
+
"@vueuse/nuxt": "14.1.0",
|
|
14
|
+
"dompurify": "3.3.1",
|
|
15
|
+
"es-toolkit": "1.43.0",
|
|
16
|
+
"launchdarkly-vue-client-sdk": "2.4.1",
|
|
17
|
+
"luxon": "3.7.2",
|
|
18
|
+
"maska": "3.2.0",
|
|
19
|
+
"zod": "4.1.12"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@axe-core/playwright": "4.11.0",
|
|
23
|
-
"@types/luxon": "
|
|
24
|
-
"@vitest/coverage-v8": "3.2.4",
|
|
23
|
+
"@types/luxon": "3.7.1",
|
|
25
24
|
"dotenv": "17.2.3",
|
|
26
|
-
"nuxt": "4.
|
|
25
|
+
"nuxt": "4.2.2",
|
|
27
26
|
"typescript": "5.9.3",
|
|
28
|
-
"vue-tsc": "3.1
|
|
27
|
+
"vue-tsc": "3.2.1",
|
|
29
28
|
"@sbc-connect/eslint-config": "0.0.8",
|
|
30
|
-
"@sbc-connect/playwright-config": "0.0
|
|
31
|
-
"@sbc-connect/vitest-config": "0.0
|
|
29
|
+
"@sbc-connect/playwright-config": "0.1.0",
|
|
30
|
+
"@sbc-connect/vitest-config": "0.1.0"
|
|
32
31
|
},
|
|
33
32
|
"scripts": {
|
|
34
33
|
"preinstall": "npx only-allow pnpm",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { defineNuxtModule, createResolver, installModule } from 'nuxt/kit'
|
|
2
|
-
|
|
3
|
-
export default defineNuxtModule({
|
|
4
|
-
meta: {
|
|
5
|
-
name: 'base-assets',
|
|
6
|
-
configKey: 'baseAssets'
|
|
7
|
-
},
|
|
8
|
-
defaults: {},
|
|
9
|
-
async setup(_options, _nuxt) {
|
|
10
|
-
console.info('Setting up **base** assets module')
|
|
11
|
-
const resolver = createResolver(import.meta.url)
|
|
12
|
-
|
|
13
|
-
_nuxt.hook('nitro:config', async (nitroConfig) => {
|
|
14
|
-
nitroConfig.publicAssets ||= []
|
|
15
|
-
nitroConfig.publicAssets.push({
|
|
16
|
-
dir: resolver.resolve('./runtime/public'),
|
|
17
|
-
maxAge: 60 * 60 * 24 * 365
|
|
18
|
-
})
|
|
19
|
-
})
|
|
20
|
-
|
|
21
|
-
_nuxt.options.css.push(resolver.resolve('./runtime/assets/connect-base-tw.css'))
|
|
22
|
-
_nuxt.options.css.push(resolver.resolve('./runtime/assets/connect-base-layout.css'))
|
|
23
|
-
await installModule('@nuxt/ui')
|
|
24
|
-
|
|
25
|
-
_nuxt.options.alias = {
|
|
26
|
-
..._nuxt.options.alias,
|
|
27
|
-
'#connect-theme': resolver.resolve('./runtime/assets/connect-base-tw.css')
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
})
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|