@cypress-design/vue-icon 0.32.0 → 0.34.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.
Files changed (48) hide show
  1. package/.turbo/turbo-build.log +5 -5
  2. package/CHANGELOG.md +25 -0
  3. package/Icon.ts +1 -0
  4. package/IconVue.cy.tsx +6 -0
  5. package/_TreeShakableIcons.ts +139 -4
  6. package/animated/_IconGeneralChatBubble.cy.tsx +6 -0
  7. package/animated/_IconGeneralChatBubble.vue +30 -0
  8. package/animated/_IconObjectGear.cy.tsx +6 -0
  9. package/animated/_IconObjectGear.vue +27 -0
  10. package/animated/_IconTechnologyGitBranches.cy.tsx +6 -0
  11. package/animated/_IconTechnologyGitBranches.vue +30 -0
  12. package/animated/_IconTechnologyServer.cy.tsx +6 -0
  13. package/animated/_IconTechnologyServer.vue +43 -0
  14. package/animated/_IconViewChart.cy.tsx +6 -0
  15. package/animated/_IconViewChart.vue +37 -0
  16. package/animated/_PathMorpher.vue +64 -0
  17. package/animated/_testUtils.tsx +62 -0
  18. package/animated/index.ts +5 -0
  19. package/compileProperties.ts +8 -3
  20. package/dist/Icon.d.ts +3 -0
  21. package/dist/Icon.d.ts.map +1 -1
  22. package/dist/_TreeShakableIcons.d.ts +15 -0
  23. package/dist/_TreeShakableIcons.d.ts.map +1 -1
  24. package/dist/animated/_IconGeneralChatBubble.vue.d.ts +30 -0
  25. package/dist/animated/_IconGeneralChatBubble.vue.d.ts.map +1 -0
  26. package/dist/animated/_IconObjectGear.vue.d.ts +30 -0
  27. package/dist/animated/_IconObjectGear.vue.d.ts.map +1 -0
  28. package/dist/animated/_IconTechnologyGitBranches.vue.d.ts +30 -0
  29. package/dist/animated/_IconTechnologyGitBranches.vue.d.ts.map +1 -0
  30. package/dist/animated/_IconTechnologyServer.vue.d.ts +30 -0
  31. package/dist/animated/_IconTechnologyServer.vue.d.ts.map +1 -0
  32. package/dist/animated/_IconViewChart.vue.d.ts +30 -0
  33. package/dist/animated/_IconViewChart.vue.d.ts.map +1 -0
  34. package/dist/animated/_PathMorpher.vue.d.ts +39 -0
  35. package/dist/animated/_PathMorpher.vue.d.ts.map +1 -0
  36. package/dist/animated/index.d.ts +6 -0
  37. package/dist/animated/index.d.ts.map +1 -0
  38. package/dist/compileProperties.d.ts +1 -0
  39. package/dist/compileProperties.d.ts.map +1 -1
  40. package/dist/index.d.ts +1 -0
  41. package/dist/index.d.ts.map +1 -1
  42. package/dist/index.es.mjs +1534 -1220
  43. package/dist/index.es.mjs.map +1 -1
  44. package/dist/index.umd.js +2 -2
  45. package/dist/index.umd.js.map +1 -1
  46. package/generate-icons.js +1 -1
  47. package/index.ts +1 -0
  48. package/package.json +3 -2
package/generate-icons.js CHANGED
@@ -61,7 +61,7 @@ import * as iconsRegistry from '@cypress-design/icon-registry'
61
61
  import { compileVueIconProperties, useShouldRenderDefs } from './compileProperties'
62
62
 
63
63
  const __iconComponentOpts__ = {
64
- props: [...iconsRegistry.ICON_COLOR_PROP_NAMES, 'interactiveColorsOnGroup', 'size', 'class'] as string[],
64
+ props: [...iconsRegistry.ICON_COLOR_PROP_NAMES, 'interactiveColorsOnGroup', 'size', 'class', 'alt'] as string[],
65
65
  } as any
66
66
 
67
67
  function useIconProps(props: SVGAttributes & Omit<iconsRegistry.IconProps, 'name'>, iconBodiesAndDefs: Record<string, {body: string, defs?: string}>, availableSizes: string[], name: string) {
package/index.ts CHANGED
@@ -3,5 +3,6 @@ export type { WindiColor } from '@cypress-design/icon-registry'
3
3
  export { default } from './Icon'
4
4
  export { compileVueIconProperties } from './compileProperties'
5
5
  export * from './_TreeShakableIcons'
6
+ export * from './animated/index'
6
7
 
7
8
  export type IconId = keyof typeof iconsMetadata
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cypress-design/vue-icon",
3
- "version": "0.32.0",
3
+ "version": "0.34.0",
4
4
  "files": [
5
5
  "*"
6
6
  ],
@@ -21,7 +21,8 @@
21
21
  "build:types": "yarn vue-tsc --project ./tsconfig.build.json"
22
22
  },
23
23
  "dependencies": {
24
- "@cypress-design/icon-registry": "^0.34.0"
24
+ "@cypress-design/constants-icon": "^0.0.2",
25
+ "@cypress-design/icon-registry": "^0.36.0"
25
26
  },
26
27
  "devDependencies": {
27
28
  "@cypress-design/rollup-plugin-tailwind-keep": "*",