@sbc-connect/nuxt-base 0.1.6 → 0.1.8

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 CHANGED
@@ -1,5 +1,17 @@
1
1
  # @sbc-connect/nuxt-base
2
2
 
3
+ ## 0.1.8
4
+
5
+ ### Patch Changes
6
+
7
+ - [#32](https://github.com/bcgov/connect-nuxt/pull/32) [`66d83d1`](https://github.com/bcgov/connect-nuxt/commit/66d83d14b2ec7950057dd39a4d876a8c4096923f) Thanks [@kialj876](https://github.com/kialj876)! - Pay layer cleanup bcgov/entity#29337
8
+
9
+ ## 0.1.7
10
+
11
+ ### Patch Changes
12
+
13
+ - [#28](https://github.com/bcgov/connect-nuxt/pull/28) [`68af125`](https://github.com/bcgov/connect-nuxt/commit/68af1259b87846f42010026977411481e53ca8fb) Thanks [@kialj876](https://github.com/kialj876)! - Filling out the pay layer. Ticket bcgov/entity#29337
14
+
3
15
  ## 0.1.6
4
16
 
5
17
  ### Patch Changes
package/README.md CHANGED
@@ -18,7 +18,7 @@ This package contains the core UI components, styling, and utilities for the Con
18
18
  - Standard utility functions
19
19
  - Pre-configured for Internationalization (i18n)
20
20
 
21
- For detailed usage and documentation, please see the [Base Layer Docs](../../../docs/packages/layers/base/intro.md)
21
+ For detailed usage and documentation, please see the [Base Layer Docs](../../../docs/packages/layers/base/overview.md)
22
22
 
23
23
  ## Usage
24
24
 
@@ -41,15 +41,8 @@ This project requires certain environment variables to be set to run correctly.
41
41
 
42
42
  Create a file named .env in the root of the project.
43
43
 
44
- Copy the contents of the .env.example file into your new .env file.
45
-
46
44
  #### Local Development
47
- For local development, the following variables are required. The default values are suitable for running the application on your local machine:
48
-
49
- ```
50
- # .env
51
- NUXT_PUBLIC_BASE_URL="http://localhost:3000/"
52
- ```
45
+ Copy the contents of the **.env.example** file into your new .env file.
53
46
 
54
47
  #### Production Environments
55
48
  > [!IMPORTANT]
@@ -36,6 +36,7 @@ function resolveBackHref() {
36
36
  <template>
37
37
  <div
38
38
  v-if="$route.meta.hideBreadcrumbs !== true"
39
+ data-testid="connect-breadcrumb-wrapper"
39
40
  class="bg-blue-350"
40
41
  >
41
42
  <div class="app-inner-container flex items-center p-2 sm:px-4 py-2 gap-3">
@@ -47,7 +48,7 @@ function resolveBackHref() {
47
48
  :aria-label="$t('connect.label.goBack')"
48
49
  :to="resolveBackHref()"
49
50
  :ui="{
50
- leadingIcon: 'text-blue-500',
51
+ leadingIcon: 'text-primary',
51
52
  }"
52
53
  />
53
54
  <div class="w-[1px] bg-shade h-[24px]" />
@@ -9,13 +9,13 @@
9
9
  <slot name="breadcrumb">
10
10
  <ConnectBreadcrumb />
11
11
  </slot>
12
- <div class="app-inner-container app-body">
13
- <div class="flex flex-col lg:flex-row lg:gap-6 grow">
12
+ <main class="app-inner-container app-body">
13
+ <slot name="body">
14
14
  <div class="grow max-w-full overflow-hidden">
15
15
  <slot />
16
16
  </div>
17
- </div>
18
- </div>
17
+ </slot>
18
+ </main>
19
19
  <slot name="footer">
20
20
  <ConnectFooter />
21
21
  </slot>
package/nuxt.config.ts CHANGED
@@ -123,7 +123,7 @@ export default defineNuxtConfig({
123
123
  public: {
124
124
  // Should in alphabetical order
125
125
  appName: process.env.npm_package_name || '',
126
- version: `Connect Base Layer v${process.env.npm_package_version || ''}`,
126
+ version: `${process.env.npm_package_name} v${process.env.npm_package_version || ''}`,
127
127
  baseUrl: '',
128
128
  registryHomeUrl: '',
129
129
  ldClientId: '',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sbc-connect/nuxt-base",
3
3
  "type": "module",
4
- "version": "0.1.6",
4
+ "version": "0.1.8",
5
5
  "repository": "github:bcgov/connect-nuxt",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "./nuxt.config.ts",
@@ -23,9 +23,9 @@
23
23
  "nuxt": "^4.0.2",
24
24
  "typescript": "^5.8.3",
25
25
  "vue-tsc": "^3.0.4",
26
- "@sbc-connect/eslint-config": "0.0.5",
27
- "@sbc-connect/playwright-config": "0.0.4",
28
- "@sbc-connect/vitest-config": "0.0.5"
26
+ "@sbc-connect/eslint-config": "0.0.6",
27
+ "@sbc-connect/playwright-config": "0.0.6",
28
+ "@sbc-connect/vitest-config": "0.0.6"
29
29
  },
30
30
  "scripts": {
31
31
  "preinstall": "npx only-allow pnpm",