wasvg 1.0.9 → 1.0.11

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 (197) hide show
  1. package/dist/index.d.ts +1 -4
  2. package/dist/setupTests.d.ts +0 -0
  3. package/dist/src/categories/CategorySvg.test.d.ts +1 -0
  4. package/dist/src/categories/Pets.stories.d.ts +9 -0
  5. package/dist/src/categories/Pets.test.d.ts +1 -0
  6. package/dist/src/categories/Sports.stories.d.ts +9 -0
  7. package/dist/src/categories/Sports.test.d.ts +1 -0
  8. package/dist/src/common/Add.stories.d.ts +9 -0
  9. package/dist/src/common/Add.test.d.ts +1 -0
  10. package/dist/src/common/Arena.stories.d.ts +9 -0
  11. package/dist/src/common/Arena.test.d.ts +1 -0
  12. package/dist/src/common/Calendar.stories.d.ts +9 -0
  13. package/dist/src/common/Calendar.test.d.ts +1 -0
  14. package/dist/src/common/CalendarEvent.stories.d.ts +9 -0
  15. package/dist/src/common/CalendarEvent.test.d.ts +1 -0
  16. package/dist/src/common/Chat.stories.d.ts +9 -0
  17. package/dist/src/common/Chat.test.d.ts +1 -0
  18. package/dist/src/common/City.stories.d.ts +9 -0
  19. package/dist/src/common/City.test.d.ts +1 -0
  20. package/dist/src/common/Close.stories.d.ts +9 -0
  21. package/dist/src/common/Close.test.d.ts +1 -0
  22. package/dist/src/common/Coach.stories.d.ts +9 -0
  23. package/dist/src/common/Coach.test.d.ts +1 -0
  24. package/dist/src/common/Collapse.stories.d.ts +9 -0
  25. package/dist/src/common/Collapse.test.d.ts +1 -0
  26. package/dist/src/common/Collection.stories.d.ts +9 -0
  27. package/dist/src/common/Collection.test.d.ts +1 -0
  28. package/dist/src/common/Create.stories.d.ts +9 -0
  29. package/dist/src/common/Create.test.d.ts +1 -0
  30. package/dist/src/common/CreateArena.stories.d.ts +9 -0
  31. package/dist/src/common/CreateArena.test.d.ts +1 -0
  32. package/dist/src/common/CreateCollection.stories.d.ts +9 -0
  33. package/dist/src/common/CreateCollection.test.d.ts +1 -0
  34. package/dist/src/common/CreatePost.stories.d.ts +9 -0
  35. package/dist/src/common/CreatePost.test.d.ts +1 -0
  36. package/dist/src/common/CreateTeam.stories.d.ts +9 -0
  37. package/dist/src/common/CreateTeam.test.d.ts +1 -0
  38. package/dist/src/common/Discussion.stories.d.ts +9 -0
  39. package/dist/src/common/Discussion.test.d.ts +1 -0
  40. package/dist/src/common/Edit.stories.d.ts +9 -0
  41. package/dist/src/common/Edit.test.d.ts +1 -0
  42. package/dist/src/common/Explore.stories.d.ts +9 -0
  43. package/dist/src/common/Explore.test.d.ts +1 -0
  44. package/dist/src/common/Home.stories.d.ts +9 -0
  45. package/dist/src/common/Home.test.d.ts +1 -0
  46. package/dist/src/common/Image.stories.d.ts +9 -0
  47. package/dist/src/common/Image.test.d.ts +1 -0
  48. package/dist/src/common/Info.stories.d.ts +9 -0
  49. package/dist/src/common/Info.test.d.ts +1 -0
  50. package/dist/src/common/LeftArrow.stories.d.ts +9 -0
  51. package/dist/src/common/LeftArrow.test.d.ts +1 -0
  52. package/dist/src/common/Logout.stories.d.ts +9 -0
  53. package/dist/src/common/Logout.test.d.ts +1 -0
  54. package/dist/src/common/Map.stories.d.ts +9 -0
  55. package/dist/src/common/Map.test.d.ts +1 -0
  56. package/dist/src/common/Market.stories.d.ts +9 -0
  57. package/dist/src/common/Market.test.d.ts +1 -0
  58. package/dist/src/common/Menu.stories.d.ts +9 -0
  59. package/dist/src/common/Menu.test.d.ts +1 -0
  60. package/dist/src/common/Newsfeed.stories.d.ts +9 -0
  61. package/dist/src/common/Newsfeed.test.d.ts +1 -0
  62. package/dist/src/common/Notification.stories.d.ts +9 -0
  63. package/dist/src/common/Notification.test.d.ts +1 -0
  64. package/dist/src/common/Partners.stories.d.ts +9 -0
  65. package/dist/src/common/Partners.test.d.ts +1 -0
  66. package/dist/src/common/Poll.stories.d.ts +9 -0
  67. package/dist/src/common/Poll.test.d.ts +1 -0
  68. package/dist/src/common/Private.stories.d.ts +9 -0
  69. package/dist/src/common/Private.test.d.ts +1 -0
  70. package/dist/src/common/RightArrow.stories.d.ts +9 -0
  71. package/dist/src/common/RightArrow.test.d.ts +1 -0
  72. package/dist/src/common/Send.d.ts +3 -0
  73. package/dist/src/common/Team.stories.d.ts +9 -0
  74. package/dist/src/common/Team.test.d.ts +1 -0
  75. package/dist/src/common/TextPost.stories.d.ts +9 -0
  76. package/dist/src/common/TextPost.test.d.ts +1 -0
  77. package/dist/src/common/UpArrow.stories.d.ts +6 -0
  78. package/dist/src/common/User.stories.d.ts +9 -0
  79. package/dist/src/common/User.test.d.ts +1 -0
  80. package/dist/src/common/WorenaLogo.stories.d.ts +9 -0
  81. package/dist/src/common/WorenaLogo.test.d.ts +1 -0
  82. package/dist/{common → src/common}/index.d.ts +1 -0
  83. package/dist/src/index.d.ts +4 -0
  84. package/dist/src/interests/music/MusicInterestSvg.test.d.ts +1 -0
  85. package/dist/src/interests/music/all/Guitar.stories.d.ts +9 -0
  86. package/dist/src/interests/music/all/Guitar.test.d.ts +1 -0
  87. package/dist/src/interests/music/all/Sing.stories.d.ts +9 -0
  88. package/dist/src/interests/music/all/Sing.test.d.ts +1 -0
  89. package/dist/src/interests/pets/PetsInterestSvg.test.d.ts +1 -0
  90. package/dist/src/interests/pets/all/Cat.stories.d.ts +8 -0
  91. package/dist/src/interests/pets/all/Cat.test.d.ts +1 -0
  92. package/dist/src/interests/pets/all/Dog.stories.d.ts +8 -0
  93. package/dist/src/interests/pets/all/Dog.test.d.ts +1 -0
  94. package/dist/src/interests/sports/SportsInterestSvg.test.d.ts +1 -0
  95. package/dist/src/interests/sports/all/Badminton.stories.d.ts +9 -0
  96. package/dist/src/interests/sports/all/Badminton.test.d.ts +1 -0
  97. package/dist/src/interests/sports/all/Basketball.stories.d.ts +9 -0
  98. package/dist/src/interests/sports/all/Basketball.test.d.ts +1 -0
  99. package/dist/src/interests/sports/all/Football.stories.d.ts +9 -0
  100. package/dist/src/interests/sports/all/Football.test.d.ts +1 -0
  101. package/dist/src/interests/sports/all/Golf.stories.d.ts +9 -0
  102. package/dist/src/interests/sports/all/Golf.test.d.ts +1 -0
  103. package/dist/src/interests/sports/all/Hiking.stories.d.ts +9 -0
  104. package/dist/src/interests/sports/all/Hiking.test.d.ts +1 -0
  105. package/dist/src/interests/sports/all/Hockey.stories.d.ts +9 -0
  106. package/dist/src/interests/sports/all/Hockey.test.d.ts +1 -0
  107. package/dist/src/interests/sports/all/Pickleball.stories.d.ts +8 -0
  108. package/dist/src/interests/sports/all/Pickleball.test.d.ts +1 -0
  109. package/dist/src/interests/sports/all/Running.stories.d.ts +9 -0
  110. package/dist/src/interests/sports/all/Running.test.d.ts +1 -0
  111. package/dist/src/interests/sports/all/Soccer.stories.d.ts +9 -0
  112. package/dist/src/interests/sports/all/Soccer.test.d.ts +1 -0
  113. package/dist/src/interests/sports/all/TableTennis.stories.d.ts +9 -0
  114. package/dist/src/interests/sports/all/TableTennis.test.d.ts +1 -0
  115. package/dist/src/interests/sports/all/Tennis.stories.d.ts +9 -0
  116. package/dist/src/interests/sports/all/Tennis.test.d.ts +1 -0
  117. package/dist/src/svgs/art.d.ts +2 -0
  118. package/dist/src/svgs/art.stories.d.ts +9 -0
  119. package/dist/src/svgs/art.test.d.ts +1 -0
  120. package/dist/src/svgs/ballet.d.ts +2 -0
  121. package/dist/src/svgs/breakdance.d.ts +2 -0
  122. package/dist/src/svgs/cello.d.ts +2 -0
  123. package/dist/src/svgs/chirimia.d.ts +2 -0
  124. package/dist/src/svgs/chirimia1.d.ts +2 -0
  125. package/dist/src/svgs/chirimia2.d.ts +2 -0
  126. package/dist/wasvg.cjs.js +4 -4
  127. package/dist/wasvg.css +1 -1
  128. package/dist/wasvg.es.js +193 -159
  129. package/package.json +17 -5
  130. /package/dist/{categories → src/categories}/CategorySvg.d.ts +0 -0
  131. /package/dist/{categories → src/categories}/Pets.d.ts +0 -0
  132. /package/dist/{categories → src/categories}/Sports.d.ts +0 -0
  133. /package/dist/{categories → src/categories}/index.d.ts +0 -0
  134. /package/dist/{common → src/common}/Add.d.ts +0 -0
  135. /package/dist/{common → src/common}/Arena.d.ts +0 -0
  136. /package/dist/{common → src/common}/Calendar.d.ts +0 -0
  137. /package/dist/{common → src/common}/CalendarEvent.d.ts +0 -0
  138. /package/dist/{common → src/common}/Chat.d.ts +0 -0
  139. /package/dist/{common → src/common}/City.d.ts +0 -0
  140. /package/dist/{common → src/common}/Close.d.ts +0 -0
  141. /package/dist/{common → src/common}/Coach.d.ts +0 -0
  142. /package/dist/{common → src/common}/Collapse.d.ts +0 -0
  143. /package/dist/{common → src/common}/Collection.d.ts +0 -0
  144. /package/dist/{common → src/common}/Create.d.ts +0 -0
  145. /package/dist/{common → src/common}/CreateArena.d.ts +0 -0
  146. /package/dist/{common → src/common}/CreateCollection.d.ts +0 -0
  147. /package/dist/{common → src/common}/CreatePost.d.ts +0 -0
  148. /package/dist/{common → src/common}/CreateTeam.d.ts +0 -0
  149. /package/dist/{common → src/common}/Discussion.d.ts +0 -0
  150. /package/dist/{common → src/common}/Edit.d.ts +0 -0
  151. /package/dist/{common → src/common}/Explore.d.ts +0 -0
  152. /package/dist/{common → src/common}/Home.d.ts +0 -0
  153. /package/dist/{common → src/common}/Image.d.ts +0 -0
  154. /package/dist/{common → src/common}/Info.d.ts +0 -0
  155. /package/dist/{common → src/common}/LeftArrow.d.ts +0 -0
  156. /package/dist/{common → src/common}/Logout.d.ts +0 -0
  157. /package/dist/{common → src/common}/Map.d.ts +0 -0
  158. /package/dist/{common → src/common}/Market.d.ts +0 -0
  159. /package/dist/{common → src/common}/Menu.d.ts +0 -0
  160. /package/dist/{common → src/common}/Newsfeed.d.ts +0 -0
  161. /package/dist/{common → src/common}/Notification.d.ts +0 -0
  162. /package/dist/{common → src/common}/Partners.d.ts +0 -0
  163. /package/dist/{common → src/common}/Poll.d.ts +0 -0
  164. /package/dist/{common → src/common}/Private.d.ts +0 -0
  165. /package/dist/{common → src/common}/RightArrow.d.ts +0 -0
  166. /package/dist/{common → src/common}/Team.d.ts +0 -0
  167. /package/dist/{common → src/common}/TextPost.d.ts +0 -0
  168. /package/dist/{common → src/common}/UpArrow.d.ts +0 -0
  169. /package/dist/{common → src/common}/User.d.ts +0 -0
  170. /package/dist/{common → src/common}/WorenaLogo.d.ts +0 -0
  171. /package/dist/{interests → src/interests}/InterestSvg.d.ts +0 -0
  172. /package/dist/{interests → src/interests}/index.d.ts +0 -0
  173. /package/dist/{interests → src/interests}/music/MusicInterestSvg.d.ts +0 -0
  174. /package/dist/{interests → src/interests}/music/all/Guitar.d.ts +0 -0
  175. /package/dist/{interests → src/interests}/music/all/Sing.d.ts +0 -0
  176. /package/dist/{interests → src/interests}/music/all/index.d.ts +0 -0
  177. /package/dist/{interests → src/interests}/music/index.d.ts +0 -0
  178. /package/dist/{interests → src/interests}/pets/PetsInterestSvg.d.ts +0 -0
  179. /package/dist/{interests → src/interests}/pets/all/Cat.d.ts +0 -0
  180. /package/dist/{interests → src/interests}/pets/all/Dog.d.ts +0 -0
  181. /package/dist/{interests → src/interests}/pets/all/index.d.ts +0 -0
  182. /package/dist/{interests → src/interests}/pets/index.d.ts +0 -0
  183. /package/dist/{interests → src/interests}/sports/SportsInterestSvg.d.ts +0 -0
  184. /package/dist/{interests → src/interests}/sports/all/Badminton.d.ts +0 -0
  185. /package/dist/{interests → src/interests}/sports/all/Basketball.d.ts +0 -0
  186. /package/dist/{interests → src/interests}/sports/all/Football.d.ts +0 -0
  187. /package/dist/{interests → src/interests}/sports/all/Golf.d.ts +0 -0
  188. /package/dist/{interests → src/interests}/sports/all/Hiking.d.ts +0 -0
  189. /package/dist/{interests → src/interests}/sports/all/Hockey.d.ts +0 -0
  190. /package/dist/{interests → src/interests}/sports/all/Pickleball.d.ts +0 -0
  191. /package/dist/{interests → src/interests}/sports/all/Running.d.ts +0 -0
  192. /package/dist/{interests → src/interests}/sports/all/Soccer.d.ts +0 -0
  193. /package/dist/{interests → src/interests}/sports/all/TableTennis.d.ts +0 -0
  194. /package/dist/{interests → src/interests}/sports/all/Tennis.d.ts +0 -0
  195. /package/dist/{interests → src/interests}/sports/all/index.d.ts +0 -0
  196. /package/dist/{interests → src/interests}/sports/index.d.ts +0 -0
  197. /package/dist/{util.d.ts → src/util.d.ts} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wasvg",
3
- "version": "1.0.9",
3
+ "version": "1.0.11",
4
4
  "main": "dist/wasvg.cjs.js",
5
5
  "module": "dist/wasvg.es.js",
6
6
  "types": "dist/index.d.ts",
@@ -15,30 +15,42 @@
15
15
  "./dist/wasvg.css": "./dist/wasvg.css"
16
16
  },
17
17
  "scripts": {
18
- "test": "echo \"Error: no test specified\" && exit 1",
19
- "build": "vite build"
18
+ "test": "vitest",
19
+ "test:ui": "vitest --ui",
20
+ "build": "vite build",
21
+ "storybook": "storybook dev -p 6006",
22
+ "build-storybook": "storybook build",
23
+ "dev": "vite"
20
24
  },
21
25
  "keywords": [],
22
26
  "author": "",
23
27
  "license": "ISC",
24
28
  "description": "",
25
29
  "devDependencies": {
30
+ "@storybook/addon-docs": "^9.0.16",
31
+ "@storybook/react-vite": "^9.0.16",
26
32
  "@tailwindcss/vite": "^4.1.7",
27
33
  "@types/react": "^19.1.5",
28
34
  "@types/react-dom": "^19.1.5",
29
35
  "@vitejs/plugin-react-swc": "^3.9.0",
36
+ "jsdom": "^26.1.0",
37
+ "storybook": "^9.0.16",
30
38
  "tailwindcss": "^4.1.7",
31
39
  "vite": "^6.3.5",
32
- "vite-plugin-dts": "^4.5.4"
40
+ "vite-plugin-dts": "^4.5.4",
41
+ "vite-plugin-svgr": "^4.3.0",
42
+ "vitest": "^3.2.4"
33
43
  },
34
44
  "peerDependencies": {
35
45
  "react": "^19.0.0",
36
46
  "react-dom": "^19.0.0"
37
47
  },
38
48
  "dependencies": {
49
+ "@testing-library/jest-dom": "^6.6.3",
50
+ "@testing-library/react": "^16.3.0",
39
51
  "clsx": "^2.1.1",
40
52
  "tailwind-merge": "^3.3.0",
41
53
  "tiny-invariant": "^1.3.3",
42
54
  "waujs": "^1.0.0"
43
55
  }
44
- }
56
+ }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes