@kong-ui-public/error-boundary 0.0.2-pr.821.7039db25.0 → 0.0.2-pr.821.e5763850.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/README.md CHANGED
@@ -1,31 +1,175 @@
1
1
  # @kong-ui-public/error-boundary
2
2
 
3
- {A description of this package}
3
+ A Vue error boundary component to capture unhandled errors that allows for providing a fallback UI and error callback function via [Vue's `onErrorCaptured` hook](https://vuejs.org/api/composition-api-lifecycle.html#onerrorcaptured).
4
4
 
5
5
  - [Features](#features)
6
6
  - [Requirements](#requirements)
7
7
  - [Usage](#usage)
8
8
  - [Install](#install)
9
+ - [Register](#register)
10
+ - [Slots](#slots)
9
11
  - [Props](#props)
10
12
 
11
13
  ## Features
12
14
 
13
- - List of package features
15
+ - Renderless (by default) Vue component that **captures** uncaught errors from child components and **prevents the error from propagating further**
16
+ - Allows passing in a list of [tags](#tags) to forward along to the [`onError` callback function](#onerror).
17
+ - Allows providing an error callback function (defined inline or during global Vue plugin initialization)
18
+ - Provides a [`fallback` slot](#fallback) to allow a host app to provide an error UI
19
+ - Allows for **nested** `ErrorBoundary` components in the DOM. Any nested `ErrorBoundary` components will inherit the tags of its ancestors
20
+ - See the package `sandbox` for more examples
21
+
22
+ The `ErrorBoundary` component will **always** capture any unhandled errors and prevent them from further propagating. This is essentially saying "this error has been handled and should be ignored." It will prevent any additional `ErrorBoundary` components from receiving the error and prevent additional `errorCaptured` hooks or `app.config.errorHandler` from being invoked for this error.
23
+
24
+ The `ErrorBoundary` component can be used to wrap a single component or an entire tree of children, tagging any errors that are captured in the DOM tree.
25
+
26
+ When nesting `ErrorBoundary` components, the [`tags`](#tags) from any parent `ErrorBoundary` component will be passed down to its children and included in their `ErrorBoundaryCallbackParams`.
27
+
28
+ ```html
29
+ <template>
30
+ <div class="my-page">
31
+ <!-- 1 -->
32
+ <ErrorBoundary :tags="['team-settings']">
33
+ <SettingsComponent />
34
+ <form>
35
+ <!-- 2 -->
36
+ <ErrorBoundary :tags="['team-billing']">
37
+ <BuggyComponent />
38
+ <!-- 3 -->
39
+ <ErrorBoundary :tags="['team-core-ui']">
40
+ <CreditCardComponent />
41
+ <!-- The fallback slot has access to all params -->
42
+ <template #fallback="{ error, context }">
43
+ <div class="fallback-content">
44
+ <p>This component has custom fallback UI; most likely just an icon, etc.</p>
45
+ <p class="error-message">{{ context.componentName }}: {{ error.message }}</p>
46
+ </div>
47
+ </template>
48
+ </ErrorBoundary>
49
+ <ActionButtonsComponent />
50
+ </ErrorBoundary>
51
+ </form>
52
+ </ErrorBoundary>
53
+ </div>
54
+ </template>
55
+ ```
56
+
57
+ Looking at the numbered examples above:
58
+
59
+ 1. `team-settings` will be tagged if any child of this component throws an uncaught error, including the `<SettingsComponent>` all the way down to the `<CreditCardComponent>`
60
+ 2. `team-settings` and `team-billing` will be tagged for anything inside the `<form>` element
61
+ 3. `team-core-ui` will **only** be tagged if the `<CreditCardComponent>` throws an error, as it is the only DOM child of its error boundary.
14
62
 
15
63
  ## Requirements
16
64
 
17
- - List of package requirements (e.g. "`vue` and must be initialized in the host application")
65
+ - `vue` must be initialized in the host application
18
66
 
19
67
  ## Usage
20
68
 
21
69
  ### Install
22
70
 
23
- {Installation instructions}
71
+ Install the package in your host application
72
+
73
+ ```sh
74
+ yarn add @kong-ui-public/error-boundary
75
+ ```
76
+
77
+ ### Register
78
+
79
+ You can register the `ErrorBoundary` component in your app [globally](#global-registration) or [locally](#in-component-registration) in another component.
80
+
81
+ > **Note**: There are no style imports for this package.
82
+
83
+ #### Global Registration
84
+
85
+ When registering the component globally via the default export Vue plugin, you may provide a default [`onError` callback](#onerror) to be used throughout your application for all instances of the `ErrorBoundary` component.
86
+
87
+ You may still override this global callback on individual instances of the component by passing a function to the [`onError` component prop](#onerror). _(This includes providing an empty function to disable the global behavior)_
88
+
89
+ ```typescript
90
+ // Global registration
91
+ import { createApp } from 'vue'
92
+ import ErrorBoundary from '@kong-ui-public/error-boundary' // No style imports needed
93
+ // Datadog package example
94
+ import { datadogRum } from '@datadog/browser-rum'
95
+
96
+ const app = createApp(App)
97
+
98
+ app.use(ErrorBoundary, {
99
+ // Provide a global, default `onError` callback for all ErrorBoundary instances
100
+ onError({ error, context }) {
101
+ // Example of sending errors to Datadog
102
+ datadogRum.addError(error, {
103
+ ui: context,
104
+ })
105
+ },
106
+ })
107
+ ```
108
+
109
+ #### In-Component Registration
110
+
111
+ When registering the component locally, you can provide the `onError` callback as a prop.
112
+
113
+ ```html
114
+ <!-- Local registration -->
115
+ <template>
116
+ <ErrorBoundary
117
+ :on-error="customErrorCallback"
118
+ :tags="myTags"
119
+ >
120
+ <BuggyComponent />
121
+ </ErrorBoundary>
122
+ </template>
123
+
124
+ <script setup lang="ts">
125
+ import { ErrorBoundary } from '@kong-ui-public/error-boundary' // No style imports needed
126
+
127
+ const myTags = ['first-tag', 'another-tag']
128
+ const customErrorCallback = ({ error, context }) => {
129
+ // Do something fancy
130
+ }
131
+ </script>
132
+ ```
133
+
134
+ ### Slots
135
+
136
+ #### `default`
137
+
138
+ The `default` slot should be utilized for your "potentially buggy" Vue component(s). The `default` slot can handle a single child, or an entire tree of child components/elements.
139
+
140
+ #### `fallback`
141
+
142
+ The `fallback` slot can optionally be used to provide a fallback UI should any child component (not already wrapped with another `ErrorBoundary` component) thrown an unhandled error. **The default fallback behavior is to render nothing in the UI.**
143
+
144
+ The `fallback` slot has access to all of the `ErrorBoundaryCallbackParams` as slot props:
145
+
146
+ ```html
147
+ <ErrorBoundary :tags="myTags">
148
+ <BuggyComponent />
149
+ <template #fallback="{ error, context }">
150
+ <!-- Your fallback UI here -->
151
+ </template>
152
+ </ErrorBoundary>
153
+ ```
24
154
 
25
155
  ### Props
26
156
 
27
- #### `example`
157
+ #### `tags`
158
+
159
+ - type: `String[]`
160
+ - required: `false`
161
+ - default: `[]`
162
+
163
+ A list of strings to "tag" the captured error with that are passed along to the `onError` callback.
28
164
 
29
- - type: `Boolean`
165
+ For example, if you want to provide custom attributes to errors on Datadog, you can pass in an array of strings to add to the logged error's custom attributes.
166
+
167
+ #### `onError`
168
+
169
+ - type: `Function as PropType<(params: ErrorBoundaryCallbackParams) => void>`
30
170
  - required: `false`
31
- - default: `false`
171
+ - default: `[]`
172
+
173
+ A function to be called from the `ErrorBoundary` component when an error in a child component is captured. Receives params of [ErrorBoundaryCallbackParams](src/types/error-boundary.ts).
174
+
175
+ > **Note**: Providing a callback function via the `onError` prop will take precedence over any callback function defined during global registration. You can also provide an empty function in order to prevent the global callback from being executed.
@@ -1,14 +1,5 @@
1
- import { defineComponent as f, inject as l, ref as E, computed as g, unref as v, provide as y, onErrorCaptured as O, renderSlot as d, pushScopeId as b, popScopeId as k, createElementVNode as c, createTextVNode as _ } from "vue";
2
- const p = "kong-ui-error-boundary-on-error", i = "kong-ui-error-boundary-tags", m = (r) => (b("data-v-aa3e0847"), r = r(), k(), r), N = /* @__PURE__ */ m(() => /* @__PURE__ */ c("div", {
3
- class: "kong-ui-public-error-boundary",
4
- "data-testid": "kong-ui-public-error-boundary-fallback-content"
5
- }, [
6
- /* @__PURE__ */ c("p", null, [
7
- /* @__PURE__ */ _("This is the "),
8
- /* @__PURE__ */ c("b", null, "ErrorBoundary"),
9
- /* @__PURE__ */ _(" fallback content.")
10
- ])
11
- ], -1)), R = /* @__PURE__ */ f({
1
+ import { defineComponent as p, inject as c, ref as i, computed as y, unref as m, provide as g, onErrorCaptured as v, renderSlot as d } from "vue";
2
+ const E = "kong-ui-error-boundary-on-error", f = "kong-ui-error-boundary-tags", O = /* @__PURE__ */ p({
12
3
  __name: "ErrorBoundary",
13
4
  props: {
14
5
  tags: {
@@ -22,42 +13,41 @@ const p = "kong-ui-error-boundary-on-error", i = "kong-ui-error-boundary-tags",
22
13
  default: void 0
23
14
  }
24
15
  },
25
- setup(r) {
26
- const o = r, n = l(p, o.onError), s = l(i, []), e = E(), a = g(() => {
27
- const t = /* @__PURE__ */ new Set();
28
- for (const u of [...v(s), ...o.tags])
29
- t.add(u);
30
- return Array.from(t);
16
+ setup(t) {
17
+ const r = t, u = c(E, r.onError), _ = c(f, []), e = i(), s = y(() => {
18
+ const o = /* @__PURE__ */ new Set();
19
+ for (const n of [...m(_), ...r.tags])
20
+ o.add(n);
21
+ return Array.from(o);
31
22
  });
32
- return y(i, a), O((t, u, B) => (console.log("onErrorCaptured"), e.value = t, e.value.context = "custom", console.log("allTags", a.value), typeof o.onError == "function" ? o.onError({
33
- error: e.value,
34
- tags: a.value
35
- }) : typeof n == "function" && n({
36
- error: e.value,
37
- tags: a.value
38
- }), !1)), (t, u) => e.value ? d(t.$slots, "fallback", {
39
- key: 1,
40
- error: e.value,
41
- tags: r.tags
42
- }, () => [
43
- N
44
- ], !0) : d(t.$slots, "default", { key: 0 }, void 0, !0);
23
+ return g(f, s), v((o, n, a) => {
24
+ var l;
25
+ return e.value = {
26
+ error: o,
27
+ context: {
28
+ componentName: ((l = n == null ? void 0 : n.$options) == null ? void 0 : l.__name) || "",
29
+ info: a,
30
+ source: "ErrorBoundary",
31
+ // The name of this ErrorBoundary component
32
+ tags: s.value
33
+ }
34
+ }, typeof r.onError == "function" ? r.onError(e.value) : typeof u == "function" && u(e.value), !1;
35
+ }), (o, n) => {
36
+ var a;
37
+ return (a = e.value) != null && a.error ? d(o.$slots, "fallback", {
38
+ key: 1,
39
+ context: e.value.context,
40
+ error: e.value.error
41
+ }) : d(o.$slots, "default", { key: 0 });
42
+ };
45
43
  }
46
- });
47
- const I = (r, o) => {
48
- const n = r.__vccOpts || r;
49
- for (const [s, e] of o)
50
- n[s] = e;
51
- return n;
52
- }, T = /* @__PURE__ */ I(R, [["__scopeId", "data-v-aa3e0847"]]), C = {
44
+ }), N = {
53
45
  // Customize Vue plugin options as desired
54
- // Providing a `name` property allows for customizing the registered
55
- // name of your component (useful if exporting a single component).
56
- install: (r, o = {}) => {
57
- r.component(o.name || "ErrorBoundary", T), r.provide(p, o.onError);
46
+ install: (t, r = {}) => {
47
+ t.component(r.name || "ErrorBoundary", O), t.provide(E, r.onError);
58
48
  }
59
49
  };
60
50
  export {
61
- T as ErrorBoundary,
62
- C as default
51
+ O as ErrorBoundary,
52
+ N as default
63
53
  };
@@ -1 +1 @@
1
- (function(t,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t["kong-ui-public-error-boundary"]={},t.Vue))})(this,function(t,e){"use strict";const u="kong-ui-error-boundary-on-error",i="kong-ui-error-boundary-tags",_=(r=>(e.pushScopeId("data-v-aa3e0847"),r=r(),e.popScopeId(),r))(()=>e.createElementVNode("div",{class:"kong-ui-public-error-boundary","data-testid":"kong-ui-public-error-boundary-fallback-content"},[e.createElementVNode("p",null,[e.createTextVNode("This is the "),e.createElementVNode("b",null,"ErrorBoundary"),e.createTextVNode(" fallback content.")])],-1)),p=e.defineComponent({__name:"ErrorBoundary",props:{tags:{type:Array,required:!1,default:()=>[]},onError:{type:Function,required:!1,default:void 0}},setup(r){const o=r,s=e.inject(u,o.onError),d=e.inject(i,[]),n=e.ref(),c=e.computed(()=>{const a=new Set;for(const l of[...e.unref(d),...o.tags])a.add(l);return Array.from(a)});return e.provide(i,c),e.onErrorCaptured((a,l,m)=>(console.log("onErrorCaptured"),n.value=a,n.value.context="custom",console.log("allTags",c.value),typeof o.onError=="function"?o.onError({error:n.value,tags:c.value}):typeof s=="function"&&s({error:n.value,tags:c.value}),!1)),(a,l)=>n.value?e.renderSlot(a.$slots,"fallback",{key:1,error:n.value,tags:r.tags},()=>[_],!0):e.renderSlot(a.$slots,"default",{key:0},void 0,!0)}}),g="",f=((r,o)=>{const s=r.__vccOpts||r;for(const[d,n]of o)s[d]=n;return s})(p,[["__scopeId","data-v-aa3e0847"]]),y={install:(r,o={})=>{r.component(o.name||"ErrorBoundary",f),r.provide(u,o.onError)}};t.ErrorBoundary=f,t.default=y,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(e,r){typeof exports=="object"&&typeof module<"u"?r(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],r):(e=typeof globalThis<"u"?globalThis:e||self,r(e["kong-ui-public-error-boundary"]={},e.Vue))})(this,function(e,r){"use strict";const s="kong-ui-error-boundary-on-error",l="kong-ui-error-boundary-tags",f=r.defineComponent({__name:"ErrorBoundary",props:{tags:{type:Array,required:!1,default:()=>[]},onError:{type:Function,required:!1,default:void 0}},setup(a){const o=a,i=r.inject(s,o.onError),E=r.inject(l,[]),t=r.ref(),c=r.computed(()=>{const n=new Set;for(const u of[...r.unref(E),...o.tags])n.add(u);return Array.from(n)});return r.provide(l,c),r.onErrorCaptured((n,u,d)=>{var p;return t.value={error:n,context:{componentName:((p=u==null?void 0:u.$options)==null?void 0:p.__name)||"",info:d,source:"ErrorBoundary",tags:c.value}},typeof o.onError=="function"?o.onError(t.value):typeof i=="function"&&i(t.value),!1}),(n,u)=>{var d;return(d=t.value)!=null&&d.error?r.renderSlot(n.$slots,"fallback",{key:1,context:t.value.context,error:t.value.error}):r.renderSlot(n.$slots,"default",{key:0})}}}),_={install:(a,o={})=>{a.component(o.name||"ErrorBoundary",f),a.provide(s,o.onError)}};e.ErrorBoundary=f,e.default=_,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
@@ -1,5 +1,5 @@
1
1
  import type { PropType } from 'vue';
2
- import type { ErrorCallbackParams } from '../types';
2
+ import type { ErrorBoundaryCallbackParams } from '../types';
3
3
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
4
4
  tags: {
5
5
  type: PropType<string[]>;
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
7
7
  default: () => never[];
8
8
  };
9
9
  onError: {
10
- type: PropType<(payload: ErrorCallbackParams) => void>;
10
+ type: PropType<(params: ErrorBoundaryCallbackParams) => void>;
11
11
  required: false;
12
12
  default: undefined;
13
13
  };
@@ -18,18 +18,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
18
  default: () => never[];
19
19
  };
20
20
  onError: {
21
- type: PropType<(payload: ErrorCallbackParams) => void>;
21
+ type: PropType<(params: ErrorBoundaryCallbackParams) => void>;
22
22
  required: false;
23
23
  default: undefined;
24
24
  };
25
25
  }>>, {
26
26
  tags: string[];
27
- onError: (payload: ErrorCallbackParams) => void;
27
+ onError: (params: ErrorBoundaryCallbackParams) => void;
28
28
  }, {}>, {
29
29
  default?(_: {}): any;
30
30
  fallback?(_: {
31
- error: any;
32
- tags: string[];
31
+ context: import("../types").ErrorBoundaryContext;
32
+ error: {};
33
33
  }): any;
34
34
  }>;
35
35
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorBoundary.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA2B,QAAQ,EAAE,MAAM,KAAK,CAAA;AAE5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmMnD,wBAA8G;AAE9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"ErrorBoundary.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorBoundary.vue.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAA2B,QAAQ,EAAE,MAAM,KAAK,CAAA;AAK5D,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmJ3D,wBAA8G;AAE9G,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,eAAO,MAAM,6CAA6C,oCAAoC,CAAA;AAC9F,oGAAoG;AACpG,eAAO,MAAM,yCAAyC,gCAAgC,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,yFAAyF;AACzF,eAAO,MAAM,6CAA6C,oCAAoC,CAAA;AAE9F,oGAAoG;AACpG,eAAO,MAAM,yCAAyC,gCAAgC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAE1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;;mBAOxC,GAAG,YAAW,0BAA0B,KAAQ,IAAI;;AAJrE,wBAQC;AAED,OAAO,EAAE,aAAa,EAAE,CAAA;AAExB,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC9B,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAE1D,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAA;;mBAKxC,GAAG,YAAW,0BAA0B,KAAQ,IAAI;;AAFrE,wBAMC;AAED,OAAO,EAAE,aAAa,EAAE,CAAA;AAExB,cAAc,SAAS,CAAA"}
@@ -1,9 +1,15 @@
1
- export interface ErrorCallbackParams {
2
- error: unknown;
1
+ export interface ErrorBoundaryContext {
2
+ componentName: string;
3
+ info: string;
4
+ source: string;
3
5
  tags: string[];
4
6
  }
7
+ export interface ErrorBoundaryCallbackParams {
8
+ error: unknown;
9
+ context: ErrorBoundaryContext;
10
+ }
5
11
  export interface ErrorBoundaryPluginOptions {
6
12
  name?: string;
7
- onError?: ({ error, tags }: ErrorCallbackParams) => void;
13
+ onError?: ({ error, context: { componentName, info, source, tags } }: ErrorBoundaryCallbackParams) => void;
8
14
  }
9
15
  //# sourceMappingURL=error-boundary.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../src/types/error-boundary.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,OAAO,CAAA;IACd,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,mBAAmB,KAAK,IAAI,CAAA;CACzD"}
1
+ {"version":3,"file":"error-boundary.d.ts","sourceRoot":"","sources":["../../../src/types/error-boundary.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,EAAE,CAAA;CACf;AAED,MAAM,WAAW,2BAA2B;IAC1C,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,EAAE,oBAAoB,CAAA;CAC9B;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,EAAE,2BAA2B,KAAK,IAAI,CAAA;CAC3G"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/error-boundary",
3
- "version": "0.0.2-pr.821.7039db25.0",
3
+ "version": "0.0.2-pr.821.e5763850.0",
4
4
  "type": "module",
5
5
  "main": "./dist/error-boundary.umd.js",
6
6
  "module": "./dist/error-boundary.es.js",
package/dist/style.css DELETED
@@ -1 +0,0 @@
1
- .kong-ui-public-error-boundary[data-v-aa3e0847]{align-items:center;background:#d60027;border-radius:8px;color:#fff;display:flex;font-size:16px;font-weight:400;justify-content:center;line-height:24px;max-width:100%;width:100%}