@sbc-connect/nuxt-base 0.1.19 → 0.1.20

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,11 @@
1
1
  # @sbc-connect/nuxt-base
2
2
 
3
+ ## 0.1.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [#67](https://github.com/bcgov/connect-nuxt/pull/67) [`88cd406`](https://github.com/bcgov/connect-nuxt/commit/88cd406e185ec8b91b35ec04efc80e2518412462) Thanks [@deetz99](https://github.com/deetz99)! - Redefine ConnectTombstoneItem props to satisfy vue compiler when extending layer. Issue: bcgov/entity#29341
8
+
3
9
  ## 0.1.19
4
10
 
5
11
  ### Patch Changes
@@ -1,8 +1,21 @@
1
1
  <script setup lang="ts">
2
- // must import via alias to be resolved correctly when extending
3
- import type { ConnectTombstoneItem } from '#base/app/interfaces/connect-tombstone'
2
+ import type { IconProps, BadgeProps, LinkProps } from '@nuxt/ui'
3
+ import type { VNode } from 'vue'
4
4
 
5
- defineProps<ConnectTombstoneItem>()
5
+ interface ConnectTombstoneLink extends LinkProps {
6
+ label?: string
7
+ }
8
+
9
+ // cant use imported interface here as it causes vue compiler to break when extended
10
+ // must also update connect-tombstone interface if changing these props
11
+ defineProps<{
12
+ text?: string
13
+ itemClass?: string
14
+ icon?: IconProps
15
+ badge?: BadgeProps
16
+ link?: ConnectTombstoneLink
17
+ vNode?: VNode
18
+ }>()
6
19
  </script>
7
20
 
8
21
  <template>
@@ -11,10 +11,12 @@ export interface ConnectTombstoneTitle {
11
11
  as: 'span' | 'p' | 'div' | 'h1' | 'h2' | 'h3' | 'h4'
12
12
  }
13
13
 
14
+ // must also update ConnectTombstoneItem props if updating this type
14
15
  export interface ConnectTombstoneLink extends LinkProps {
15
16
  label?: string
16
17
  }
17
18
 
19
+ // must also update ConnectTombstoneItem props if updating this type
18
20
  export interface ConnectTombstoneItem {
19
21
  text?: string
20
22
  itemClass?: string
package/nuxt.config.ts CHANGED
@@ -120,9 +120,10 @@ export default defineNuxtConfig({
120
120
  }
121
121
  },
122
122
 
123
- typescript: {
124
- includeWorkspace: true // fixes auto imports in tests
125
- },
123
+ // removing this for now as its causing more issues
124
+ // typescript: {
125
+ // includeWorkspace: true // fixes auto imports in tests
126
+ // },
126
127
 
127
128
  runtimeConfig: {
128
129
  public: {
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.19",
4
+ "version": "0.1.20",
5
5
  "repository": "github:bcgov/connect-nuxt",
6
6
  "license": "BSD-3-Clause",
7
7
  "main": "./nuxt.config.ts",
@@ -1,3 +0,0 @@
1
- import playwrightConfig from '@sbc-connect/playwright-config'
2
-
3
- export default playwrightConfig