timered-counter 1.1.1 → 1.3.0-beta.1

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 (62) hide show
  1. package/custom-elements.json +396 -68
  2. package/dist/custom-elements.json +396 -68
  3. package/dist/src/index.d.ts +2 -0
  4. package/dist/src/index.js +9 -0
  5. package/dist/src/index.js.map +1 -1
  6. package/dist/src/mixins/counter-parts.d.ts +2 -0
  7. package/dist/src/mixins/counter-parts.js +13 -6
  8. package/dist/src/mixins/counter-parts.js.map +1 -1
  9. package/dist/src/timered-counter-adapter.d.ts +2 -1
  10. package/dist/src/timered-counter-adapter.js +4 -1
  11. package/dist/src/timered-counter-adapter.js.map +1 -1
  12. package/dist/src/timered-counter-datetime-duration.d.ts +2 -1
  13. package/dist/src/timered-counter-datetime-duration.js +12 -16
  14. package/dist/src/timered-counter-datetime-duration.js.map +1 -1
  15. package/dist/src/timered-counter-number.js +5 -7
  16. package/dist/src/timered-counter-number.js.map +1 -1
  17. package/dist/src/timered-counter-string.js +4 -8
  18. package/dist/src/timered-counter-string.js.map +1 -1
  19. package/dist/src/timered-counter.js +5 -7
  20. package/dist/src/timered-counter.js.map +1 -1
  21. package/dist/src/transitions/roller/roller-digit.js +5 -7
  22. package/dist/src/transitions/roller/roller-digit.js.map +1 -1
  23. package/dist/src/transitions/roller/roller.js +5 -7
  24. package/dist/src/transitions/roller/roller.js.map +1 -1
  25. package/dist/src/transitions/roller/styles.js +1 -0
  26. package/dist/src/transitions/roller/styles.js.map +1 -1
  27. package/dist/src/utils/grace-define-custom-element.d.ts +1 -0
  28. package/dist/src/utils/grace-define-custom-element.js +10 -0
  29. package/dist/src/utils/grace-define-custom-element.js.map +1 -0
  30. package/dist/src/wrappers/vue/format-props.d.ts +1 -0
  31. package/dist/src/wrappers/vue/format-props.js +22 -0
  32. package/dist/src/wrappers/vue/format-props.js.map +1 -0
  33. package/dist/src/wrappers/vue/index.d.ts +14 -0
  34. package/dist/src/wrappers/vue/index.js +13 -0
  35. package/dist/src/wrappers/vue/index.js.map +1 -0
  36. package/dist/src/wrappers/vue/timered-counter-datetime-duration.d.ts +14 -0
  37. package/dist/src/wrappers/vue/timered-counter-datetime-duration.js +39 -0
  38. package/dist/src/wrappers/vue/timered-counter-datetime-duration.js.map +1 -0
  39. package/dist/src/wrappers/vue/timered-counter-number.d.ts +14 -0
  40. package/dist/src/wrappers/vue/timered-counter-number.js +39 -0
  41. package/dist/src/wrappers/vue/timered-counter-number.js.map +1 -0
  42. package/dist/src/wrappers/vue/timered-counter-string.d.ts +14 -0
  43. package/dist/src/wrappers/vue/timered-counter-string.js +38 -0
  44. package/dist/src/wrappers/vue/timered-counter-string.js.map +1 -0
  45. package/dist/stories/timered-counter/decimaljs.stories.js +1 -1
  46. package/dist/stories/timered-counter/decimaljs.stories.js.map +1 -1
  47. package/dist/stories/timered-counter-datetime-duration/index.stories.js +11 -8
  48. package/dist/stories/timered-counter-datetime-duration/index.stories.js.map +1 -1
  49. package/dist/stories/timered-counter-number/decimaljs.stories.js +1 -1
  50. package/dist/stories/timered-counter-number/decimaljs.stories.js.map +1 -1
  51. package/dist/stories/timered-counter-string/decimaljs.stories.js +1 -1
  52. package/dist/stories/timered-counter-string/decimaljs.stories.js.map +1 -1
  53. package/dist/stories/timered-counter-string/grapheme-splitter.stories.js +2 -2
  54. package/dist/stories/timered-counter-string/grapheme-splitter.stories.js.map +1 -1
  55. package/dist/stories/timered-counter-string/intl-segmenter.stories.js +1 -1
  56. package/dist/stories/timered-counter-string/intl-segmenter.stories.js.map +1 -1
  57. package/dist/timered-counter.esm-browser.js +54 -58
  58. package/dist/timered-counter.esm-browser.js.map +1 -1
  59. package/dist/timered-counter.global.js +48 -52
  60. package/dist/timered-counter.global.js.map +1 -1
  61. package/dist/tsconfig.tsbuildinfo +1 -1
  62. package/package.json +20 -2
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.1.1",
5
+ "version": "1.3.0-beta.1",
6
6
  "type": "module",
7
7
  "main": "dist/src/index.js",
8
8
  "module": "dist/src/index.js",
@@ -16,10 +16,19 @@
16
16
  "./timered-counter-string": "./dist/src/timered-counter-string.js",
17
17
  "./timered-counter-string.js": "./dist/src/timered-counter-string.js",
18
18
  "./timered-counter-number": "./dist/src/timered-counter-number.js",
19
- "./timered-counter-number.js": "./dist/src/timered-counter-number.js"
19
+ "./timered-counter-number.js": "./dist/src/timered-counter-number.js",
20
+ "./vue": "./dist/src/wrappers/vue/index.js",
21
+ "./vue/timered-counter-datetime-duration": "./dist/src/wrappers/vue/timered-counter-datetime-duration.js",
22
+ "./vue/timered-counter-datetime-duration.js": "./dist/src/wrappers/vue/timered-counter-datetime-duration.js",
23
+ "./vue/timered-counter-string": "./dist/src/wrappers/vue/timered-counter-string.js",
24
+ "./vue/timered-counter-string.js": "./dist/src/wrappers/vue/timered-counter-string.js",
25
+ "./vue/timered-counter-number": "./dist/src/wrappers/vue/timered-counter-number.js",
26
+ "./vue/timered-counter-number.js": "./dist/src/wrappers/vue/timered-counter-number.js",
27
+ "./*": "./*"
20
28
  },
21
29
  "files": [
22
30
  "dist",
31
+ "typings",
23
32
  "custom-elements.json"
24
33
  ],
25
34
  "types": "dist/src/index.d.ts",
@@ -136,6 +145,7 @@
136
145
  "max-classes-per-file": "off",
137
146
  "wc/guard-super-call": "off",
138
147
  "no-shadow": "off",
148
+ "no-continue": "off",
139
149
  "@typescript-eslint/no-shadow": [
140
150
  "error"
141
151
  ]
@@ -154,5 +164,13 @@
154
164
  "optionalDependencies": {
155
165
  "decimal.js": "^10.4.3",
156
166
  "grapheme-splitter": "^1.0.4"
167
+ },
168
+ "peerDependencies": {
169
+ "vue": "^3.5.17"
170
+ },
171
+ "peerDependenciesMeta": {
172
+ "vue": {
173
+ "optional": true
174
+ }
157
175
  }
158
176
  }