@changebot/widgets-vue 0.2.3 → 0.4.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
@@ -260,7 +260,6 @@ A toast notification component that displays brief update notifications. Automat
260
260
  |------|------|---------|-------------|
261
261
  | `scope` | `string` | `"default"` | Scope to connect to (must match provider scope) |
262
262
  | `position` | `"top-left"` \| `"top-right"` \| `"bottom-left"` \| `"bottom-right"` | `"bottom-right"` | Screen position for the toast |
263
- | `auto-dismiss` | `number` | - | Auto-dismiss after N seconds (optional) |
264
263
  | `theme` | `Theme` | - | Fixed theme (see Theming section) |
265
264
  | `light` | `Theme` | - | Theme for light mode (auto-switches based on system preference) |
266
265
  | `dark` | `Theme` | - | Theme for dark mode (auto-switches based on system preference) |
@@ -288,7 +287,6 @@ const dismissToast = async () => {
288
287
  <ChangebotToast
289
288
  ref="toastRef"
290
289
  position="bottom-right"
291
- :auto-dismiss="5"
292
290
  theme="tokyo-night"
293
291
  />
294
292
  </template>
@@ -300,7 +298,6 @@ const dismissToast = async () => {
300
298
  <template>
301
299
  <ChangebotToast
302
300
  position="bottom-right"
303
- :auto-dismiss="5"
304
301
  theme="tokyo-night"
305
302
  />
306
303
  </template>
@@ -491,7 +488,6 @@ import {
491
488
  <!-- Toast appears for toast-highlighted updates -->
492
489
  <ChangebotToast
493
490
  position="bottom-right"
494
- :auto-dismiss="5"
495
491
  theme="catppuccin-mocha"
496
492
  />
497
493
  </template>
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE/F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAK3C,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAOjE,CAAC;AAGH,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC,GAAG,CAAC,eAAe,CAKnE,CAAC;AAGH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAMjE,CAAC;AAGH,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,GAAG,CAAC,iBAAiB,CAQvE,CAAC;AAGH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAOjE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/stencil-generated/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAmB,KAAK,mBAAmB,EAAE,MAAM,oCAAoC,CAAC;AAE/F,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AAK3C,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAOjE,CAAC;AAGH,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC,GAAG,CAAC,eAAe,CAKnE,CAAC;AAGH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAOjE,CAAC;AAGH,eAAO,MAAM,iBAAiB,EAAE,mBAAmB,CAAC,GAAG,CAAC,iBAAiB,CAQvE,CAAC;AAGH,eAAO,MAAM,cAAc,EAAE,mBAAmB,CAAC,GAAG,CAAC,cAAc,CAWjE,CAAC"}
@@ -21,7 +21,8 @@ export const ChangebotPanel = /*@__PURE__*/ defineContainer('changebot-panel', u
21
21
  'scope',
22
22
  'light',
23
23
  'dark',
24
- 'mode'
24
+ 'mode',
25
+ 'trigger'
25
26
  ]);
26
27
  export const ChangebotProvider = /*@__PURE__*/ defineContainer('changebot-provider', undefined, [
27
28
  'slug',
@@ -38,5 +39,9 @@ export const ChangebotToast = /*@__PURE__*/ defineContainer('changebot-toast', u
38
39
  'light',
39
40
  'dark',
40
41
  'position',
41
- 'autoDismiss'
42
+ 'confetti',
43
+ 'confettiParticleCount',
44
+ 'confettiSpread',
45
+ 'confettiStartVelocity',
46
+ 'confettiScalar'
42
47
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@changebot/widgets-vue",
3
- "version": "0.2.3",
3
+ "version": "0.4.0",
4
4
  "description": "Vue wrapper components for Changebot widgets",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  },
14
14
  "dependencies": {
15
15
  "@stencil/vue-output-target": "^0.11.8",
16
- "@changebot/core": "^0.2.3"
16
+ "@changebot/core": "^0.4.0"
17
17
  },
18
18
  "devDependencies": {
19
19
  "vue": "^3.3.0",