timered-counter 1.2.0 → 1.3.0-beta.2

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.
Files changed (51) hide show
  1. package/custom-elements.json +238 -63
  2. package/dist/custom-elements.json +238 -63
  3. package/dist/src/timered-counter-adapter.d.ts +2 -1
  4. package/dist/src/timered-counter-adapter.js +4 -1
  5. package/dist/src/timered-counter-adapter.js.map +1 -1
  6. package/dist/src/timered-counter-datetime-duration.js +5 -7
  7. package/dist/src/timered-counter-datetime-duration.js.map +1 -1
  8. package/dist/src/timered-counter-number.js +5 -7
  9. package/dist/src/timered-counter-number.js.map +1 -1
  10. package/dist/src/timered-counter-string.js +4 -8
  11. package/dist/src/timered-counter-string.js.map +1 -1
  12. package/dist/src/timered-counter.js +5 -7
  13. package/dist/src/timered-counter.js.map +1 -1
  14. package/dist/src/transitions/roller/roller-digit.js +5 -7
  15. package/dist/src/transitions/roller/roller-digit.js.map +1 -1
  16. package/dist/src/transitions/roller/roller.js +5 -7
  17. package/dist/src/transitions/roller/roller.js.map +1 -1
  18. package/dist/src/utils/grace-define-custom-element.d.ts +1 -0
  19. package/dist/src/utils/grace-define-custom-element.js +10 -0
  20. package/dist/src/utils/grace-define-custom-element.js.map +1 -0
  21. package/dist/src/wrappers/vue/format-props.d.ts +1 -0
  22. package/dist/src/wrappers/vue/format-props.js +22 -0
  23. package/dist/src/wrappers/vue/format-props.js.map +1 -0
  24. package/dist/src/wrappers/vue/index.d.ts +14 -0
  25. package/dist/src/wrappers/vue/index.js +13 -0
  26. package/dist/src/wrappers/vue/index.js.map +1 -0
  27. package/dist/src/wrappers/vue/timered-counter-datetime-duration.d.ts +14 -0
  28. package/dist/src/wrappers/vue/timered-counter-datetime-duration.js +39 -0
  29. package/dist/src/wrappers/vue/timered-counter-datetime-duration.js.map +1 -0
  30. package/dist/src/wrappers/vue/timered-counter-number.d.ts +14 -0
  31. package/dist/src/wrappers/vue/timered-counter-number.js +39 -0
  32. package/dist/src/wrappers/vue/timered-counter-number.js.map +1 -0
  33. package/dist/src/wrappers/vue/timered-counter-string.d.ts +14 -0
  34. package/dist/src/wrappers/vue/timered-counter-string.js +38 -0
  35. package/dist/src/wrappers/vue/timered-counter-string.js.map +1 -0
  36. package/dist/stories/timered-counter/decimaljs.stories.js +1 -1
  37. package/dist/stories/timered-counter/decimaljs.stories.js.map +1 -1
  38. package/dist/stories/timered-counter-number/decimaljs.stories.js +1 -1
  39. package/dist/stories/timered-counter-number/decimaljs.stories.js.map +1 -1
  40. package/dist/stories/timered-counter-string/decimaljs.stories.js +1 -1
  41. package/dist/stories/timered-counter-string/decimaljs.stories.js.map +1 -1
  42. package/dist/stories/timered-counter-string/grapheme-splitter.stories.js +2 -2
  43. package/dist/stories/timered-counter-string/grapheme-splitter.stories.js.map +1 -1
  44. package/dist/stories/timered-counter-string/intl-segmenter.stories.js +1 -1
  45. package/dist/stories/timered-counter-string/intl-segmenter.stories.js.map +1 -1
  46. package/dist/timered-counter.esm-browser.js +22 -27
  47. package/dist/timered-counter.esm-browser.js.map +1 -1
  48. package/dist/timered-counter.global.js +41 -46
  49. package/dist/timered-counter.global.js.map +1 -1
  50. package/dist/tsconfig.tsbuildinfo +1 -1
  51. package/package.json +15 -8
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "timered-counter",
3
3
  "description": "Make the value change more vivid and natural",
4
4
  "license": "MIT",
5
- "version": "1.2.0",
5
+ "version": "1.3.0-beta.2",
6
6
  "type": "module",
7
7
  "main": "dist/src/index.js",
8
8
  "module": "dist/src/index.js",
@@ -10,16 +10,13 @@
10
10
  "jsdelivr": "dist/timered-counter.global.js",
11
11
  "exports": {
12
12
  ".": "./dist/src/index.js",
13
- "./timered-counter.js": "./dist/src/timered-counter.js",
14
- "./timered-counter-datetime-duration": "./dist/src/timered-counter-datetime-duration.js",
15
- "./timered-counter-datetime-duration.js": "./dist/src/timered-counter-datetime-duration.js",
16
- "./timered-counter-string": "./dist/src/timered-counter-string.js",
17
- "./timered-counter-string.js": "./dist/src/timered-counter-string.js",
18
- "./timered-counter-number": "./dist/src/timered-counter-number.js",
19
- "./timered-counter-number.js": "./dist/src/timered-counter-number.js"
13
+ "./vue": "./dist/src/wrappers/vue/index.js",
14
+ "./vue/*": "./dist/src/wrappers/vue/*",
15
+ "./*": "./dist/src/*"
20
16
  },
21
17
  "files": [
22
18
  "dist",
19
+ "typings",
23
20
  "custom-elements.json"
24
21
  ],
25
22
  "types": "dist/src/index.d.ts",
@@ -75,6 +72,7 @@
75
72
  "@rollup/plugin-node-resolve": "^16.0.1",
76
73
  "@rollup/plugin-terser": "^0.4.4",
77
74
  "@rollup/plugin-typescript": "^12.1.2",
75
+ "@semantic-release/git": "^10.0.1",
78
76
  "@storybook/addon-a11y": "^8.5.0",
79
77
  "@storybook/addon-coverage": "^1.0.5",
80
78
  "@storybook/addon-essentials": "^8.5.0",
@@ -136,6 +134,7 @@
136
134
  "max-classes-per-file": "off",
137
135
  "wc/guard-super-call": "off",
138
136
  "no-shadow": "off",
137
+ "no-continue": "off",
139
138
  "@typescript-eslint/no-shadow": [
140
139
  "error"
141
140
  ]
@@ -154,5 +153,13 @@
154
153
  "optionalDependencies": {
155
154
  "decimal.js": "^10.4.3",
156
155
  "grapheme-splitter": "^1.0.4"
156
+ },
157
+ "peerDependencies": {
158
+ "vue": "^3.5.17"
159
+ },
160
+ "peerDependenciesMeta": {
161
+ "vue": {
162
+ "optional": true
163
+ }
157
164
  }
158
165
  }