@cypress-design/vue-icon 0.31.2 → 0.33.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 +6 -5
  2. package/CHANGELOG.md +25 -0
  3. package/Icon.ts +1 -0
  4. package/IconVue.cy.tsx +6 -0
  5. package/_TreeShakableIcons.ts +370 -217
  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 +4 -1
  21. package/dist/Icon.d.ts.map +1 -1
  22. package/dist/_TreeShakableIcons.d.ts +18 -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 +4 -1
  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 +1746 -1424
  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 +4 -3
@@ -2,14 +2,15 @@ $ yarn build:codegen && yarn build:module && yarn build:types
2
2
  $ node ./generate-icons.js
3
3
  $ yarn vite build
4
4
  $ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vite build
5
- vite v4.5.0 building for production...
5
+ The CJS build of Vite's Node API is deprecated. See https://vitejs.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.
6
+ vite v5.1.4 building for production...
6
7
  transforming...
7
- ✓ 4 modules transformed.
8
+ ✓ 18 modules transformed.
8
9
  rendering chunks...
9
10
  computing gzip size...
10
- dist/index.es.mjs 260.98 kB │ gzip: 52.33 kB │ map: 472.52 kB
11
+ dist/index.es.mjs 274.12 kB │ gzip: 55.03 kB │ map: 489.89 kB
11
12
  Entry module "index.ts" is using named and default exports together. Consumers of your bundle will have to use `Icon.default` to access the default export, which may not be what you want. Use `output.exports: "named"` to disable this warning.
12
- dist/index.umd.js 236.90 kB │ gzip: 51.93 kB │ map: 461.28 kB
13
- ✓ built in 3.69s
13
+ dist/index.umd.js 248.21 kB │ gzip: 54.41 kB │ map: 477.96 kB
14
+ ✓ built in 4.23s
14
15
  $ yarn vue-tsc --project ./tsconfig.build.json
15
16
  $ /home/runner/work/cypress-design/cypress-design/node_modules/.bin/vue-tsc --project ./tsconfig.build.json
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @cypress-design/vue-icon
2
2
 
3
+ ## 0.33.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#391](https://github.com/cypress-io/cypress-design/pull/391) [`7f9ebbb`](https://github.com/cypress-io/cypress-design/commit/7f9ebbb83744d4109498f921f7de5539ccc3b479) Thanks [@elevatebart](https://github.com/elevatebart)! - feat: add alt prop to icons to make them accessible if not presentational
8
+
9
+ ### Patch Changes
10
+
11
+ - [#367](https://github.com/cypress-io/cypress-design/pull/367) [`2f984a0`](https://github.com/cypress-io/cypress-design/commit/2f984a02807f344a878ac65ac9fab62bc0c9442d) Thanks [@elevatebart](https://github.com/elevatebart)! - first creation of menu item
12
+
13
+ - Updated dependencies [[`7f9ebbb`](https://github.com/cypress-io/cypress-design/commit/7f9ebbb83744d4109498f921f7de5539ccc3b479), [`2f984a0`](https://github.com/cypress-io/cypress-design/commit/2f984a02807f344a878ac65ac9fab62bc0c9442d)]:
14
+ - @cypress-design/icon-registry@0.35.0
15
+ - @cypress-design/constants-icon@0.0.2
16
+
17
+ ## 0.32.0
18
+
19
+ ### Minor Changes
20
+
21
+ - [#383](https://github.com/cypress-io/cypress-design/pull/383) [`04bd296`](https://github.com/cypress-io/cypress-design/commit/04bd296f515ad300450deb2f838dc3ac6bae26f7) Thanks [@jordanpowell88](https://github.com/jordanpowell88)! - chore(icons): add a11y and ui-coverage icons
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies [[`04bd296`](https://github.com/cypress-io/cypress-design/commit/04bd296f515ad300450deb2f838dc3ac6bae26f7)]:
26
+ - @cypress-design/icon-registry@0.34.0
27
+
3
28
  ## 0.31.2
4
29
 
5
30
  ### Patch Changes
package/Icon.ts CHANGED
@@ -16,6 +16,7 @@ export default defineComponent({
16
16
  'interactiveColorsOnGroup',
17
17
  'size',
18
18
  'name',
19
+ 'alt',
19
20
  'class',
20
21
  ],
21
22
  setup(
package/IconVue.cy.tsx CHANGED
@@ -122,4 +122,10 @@ describe('Icon', { viewportWidth: 80, viewportHeight: 80 }, () => {
122
122
 
123
123
  cy.get('button').click()
124
124
  })
125
+
126
+ it('renders a title element when passed an alt prop', () => {
127
+ mount(() => <IconBrowserWebkit class="w-16 h-16" alt="This is a title" />)
128
+
129
+ cy.get('svg title').should('have.text', 'This is a title')
130
+ })
125
131
  })