@energysage/es-ds-components 5.1.0 → 5.2.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 (86) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/app/components/es-sticky-bar.vue +1 -0
  3. package/app/components/icon/arrow-clockwise.vue +13 -48
  4. package/app/components/icon/arrow-counter-clockwise.vue +13 -34
  5. package/app/components/icon/arrow-cycle.vue +13 -40
  6. package/app/components/icon/arrow-down.vue +16 -0
  7. package/app/components/icon/arrow-left.vue +13 -36
  8. package/app/components/icon/arrow-right.vue +13 -36
  9. package/app/components/icon/arrow-up.vue +13 -36
  10. package/app/components/icon/bell.vue +13 -39
  11. package/app/components/icon/block.vue +13 -43
  12. package/app/components/icon/bolt.vue +12 -34
  13. package/app/components/icon/calculator.vue +13 -34
  14. package/app/components/icon/calendar.vue +13 -43
  15. package/app/components/icon/cart.vue +13 -43
  16. package/app/components/icon/chat-bubble.vue +13 -37
  17. package/app/components/icon/chat-dots.vue +13 -39
  18. package/app/components/icon/check.vue +13 -36
  19. package/app/components/icon/chevron-down.vue +13 -36
  20. package/app/components/icon/chevron-horizontal.vue +13 -36
  21. package/app/components/icon/chevron-left.vue +13 -36
  22. package/app/components/icon/chevron-right.vue +13 -36
  23. package/app/components/icon/chevron-up.vue +13 -36
  24. package/app/components/icon/circle-alert.vue +13 -43
  25. package/app/components/icon/circle-check.vue +13 -43
  26. package/app/components/icon/circle-chevron-down.vue +12 -43
  27. package/app/components/icon/circle-chevron-left.vue +13 -43
  28. package/app/components/icon/circle-chevron-right.vue +13 -43
  29. package/app/components/icon/circle-chevron-up.vue +13 -43
  30. package/app/components/icon/circle-minus.vue +13 -43
  31. package/app/components/icon/circle-plus.vue +13 -43
  32. package/app/components/icon/circle-x.vue +13 -43
  33. package/app/components/icon/circle.vue +13 -39
  34. package/app/components/icon/clock.vue +13 -43
  35. package/app/components/icon/copy.vue +13 -42
  36. package/app/components/icon/envelope.vue +13 -42
  37. package/app/components/icon/eye.vue +13 -38
  38. package/app/components/icon/flag.vue +13 -34
  39. package/app/components/icon/folder.vue +13 -38
  40. package/app/components/icon/gear.vue +12 -33
  41. package/app/components/icon/hamburger.vue +13 -35
  42. package/app/components/icon/heart.vue +13 -36
  43. package/app/components/icon/image.vue +13 -42
  44. package/app/components/icon/info.vue +13 -42
  45. package/app/components/icon/light-bulb.vue +13 -33
  46. package/app/components/icon/link-out.vue +13 -35
  47. package/app/components/icon/location.vue +13 -42
  48. package/app/components/icon/lock-off.vue +13 -42
  49. package/app/components/icon/lock-on.vue +13 -45
  50. package/app/components/icon/minus.vue +13 -35
  51. package/app/components/icon/money-bag.vue +12 -33
  52. package/app/components/icon/open-envelope.vue +13 -42
  53. package/app/components/icon/paper.vue +13 -42
  54. package/app/components/icon/pencil.vue +13 -42
  55. package/app/components/icon/person-add.vue +13 -38
  56. package/app/components/icon/person-check.vue +13 -38
  57. package/app/components/icon/person-cross.vue +13 -38
  58. package/app/components/icon/person.vue +13 -38
  59. package/app/components/icon/phone.vue +13 -38
  60. package/app/components/icon/play.vue +13 -38
  61. package/app/components/icon/plus.vue +13 -35
  62. package/app/components/icon/roof.vue +12 -33
  63. package/app/components/icon/search.vue +12 -39
  64. package/app/components/icon/settings-horizontal.vue +13 -54
  65. package/app/components/icon/settings-vertical.vue +13 -54
  66. package/app/components/icon/shield-with-check.vue +12 -34
  67. package/app/components/icon/shield.vue +13 -38
  68. package/app/components/icon/shopping-bag.vue +13 -36
  69. package/app/components/icon/solar.vue +12 -33
  70. package/app/components/icon/sound-down.vue +13 -42
  71. package/app/components/icon/sound-off.vue +13 -38
  72. package/app/components/icon/sound-on.vue +13 -38
  73. package/app/components/icon/sound-up.vue +13 -38
  74. package/app/components/icon/star-empty.vue +13 -35
  75. package/app/components/icon/star-full.vue +15 -33
  76. package/app/components/icon/star-half.vue +15 -52
  77. package/app/components/icon/thumbs-up.vue +13 -36
  78. package/app/components/icon/trash-can.vue +13 -38
  79. package/app/components/icon/tree.vue +12 -33
  80. package/app/components/icon/upload.vue +12 -37
  81. package/app/components/icon/verified.vue +13 -37
  82. package/app/components/icon/wifi.vue +13 -35
  83. package/app/components/icon/x.vue +13 -35
  84. package/nuxt.config.ts +1 -1
  85. package/package.json +2 -1
  86. package/app/components/icon/arrow.vue +0 -68
@@ -1,41 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconSoundUp',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhSpeakerHigh } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 24 24"
32
- fill="currentColor">
33
- <path
34
- d="M9.572 3.614C10.886 2.245 13 3.304 13 5.043v13.914c0 1.753-2.141 2.804-3.446 1.41a1.15 1.15 0 0 1-.018-.02L6.566 17H3c-1.142 0-2-.952-2-2.041V9.04C1 7.951 1.86 7 3 7h3.573l2.971-3.356a.988.988 0 0 1 .028-.03Z"
35
- fill="none" />
36
- <path
37
- fill-rule="evenodd"
38
- clip-rule="evenodd"
39
- d="M19 8a1 1 0 0 1 1 1v2h2a1 1 0 1 1 0 2h-2v2a1 1 0 1 1-2 0v-2h-2a1 1 0 1 1 0-2h2V9a1 1 0 0 1 1-1Zm-8.002-2.98.002.023v13.914c0 .01 0 .019-.002.024l-2.956-3.33-.014-.017A1.98 1.98 0 0 0 6.58 15H3.012A.064.064 0 0 1 3 14.959V9.04c0-.02.007-.033.012-.04H6.59a1.98 1.98 0 0 0 1.452-.642l2.956-3.339ZM9.572 3.613C10.886 2.245 13 3.304 13 5.043v13.914c0 1.753-2.141 2.804-3.446 1.41l-.018-.02L6.566 17H3c-1.142 0-2-.952-2-2.041V9.04C1 7.951 1.86 7 3 7h3.573l2.971-3.356.028-.03Z" />
40
- </svg>
15
+ <ph-speaker-high :size="width" />
41
16
  </template>
@@ -1,38 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconStarEmpty',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '20px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '20px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhStar } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '20px',
10
+ width: '20px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 20 20"
32
- fill="white">
33
- <path
34
- d="M10 1.30198L12.0661 6.26946C12.2101 6.61569 12.5357 6.85226 12.9095 6.88223L18.2723 7.31216L14.1864 10.8122C13.9016 11.0561 13.7773 11.4389 13.8643 11.8037L15.1126 17.0368L10.5213 14.2325C10.2012 14.037 9.79876 14.037 9.47874 14.2325L4.88743 17.0368L6.13574 11.8037C6.22275 11.4389 6.09838 11.0561 5.81359 10.8122L1.72769 7.31216L7.0905 6.88223C7.46429 6.85226 7.7899 6.61569 7.93391 6.26946L10 1.30198Z"
35
- stroke="currentColor"
36
- stroke-linejoin="round" />
37
- </svg>
15
+ <ph-star :size="width" />
38
16
  </template>
@@ -1,36 +1,18 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconStarFull',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '20px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '20px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhStar } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '20px',
10
+ width: '20px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 20 20"
32
- fill="currentColor">
33
- <path
34
- d="M9.53834 1.10996C9.70914 0.699318 10.2909 0.699318 10.4617 1.10996L12.5278 6.07744C12.5998 6.25056 12.7626 6.36885 12.9495 6.38383L18.3123 6.81376C18.7556 6.8493 18.9354 7.40256 18.5976 7.69189L14.5117 11.1919C14.3693 11.3139 14.3071 11.5053 14.3506 11.6876L15.5989 16.9208C15.7021 17.3534 15.2315 17.6954 14.8519 17.4635L10.2606 14.6592C10.1006 14.5615 9.89938 14.5615 9.73937 14.6592L5.14806 17.4635C4.76851 17.6954 4.29788 17.3534 4.40108 16.9208L5.64939 11.6876C5.69289 11.5053 5.6307 11.3139 5.48831 11.1919L1.40241 7.69189C1.06464 7.40256 1.24441 6.8493 1.68773 6.81376L7.05054 6.38383C7.23744 6.36885 7.40024 6.25056 7.47225 6.07744L9.53834 1.10996Z" />
35
- </svg>
15
+ <ph-star
16
+ :size="width"
17
+ weight="fill" />
36
18
  </template>
@@ -1,55 +1,18 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconStarHalf',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '20px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '20px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhStarHalf } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '20px',
10
+ width: '20px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 20 20">
32
- <mask
33
- id="halfFull"
34
- style="mask-type: alpha"
35
- maskUnits="userSpaceOnUse"
36
- x="0"
37
- y="0"
38
- :width="width"
39
- :height="height">
40
- <path
41
- d="M10 0L12.645 6.35942L19.5106 6.90983L14.2798 11.3906L15.8779 18.0902L10 14.5L4.12215 18.0902L5.72025 11.3906L0.489435 6.90983L7.35497 6.35942L10 0Z"
42
- fill="currentColor" />
43
- </mask>
44
- <g mask="url(#halfFull)">
45
- <path
46
- d="M10 1.30198L12.0661 6.26946C12.2101 6.61569 12.5357 6.85226 12.9095 6.88223L18.2723 7.31216L14.1864 10.8122C13.9016 11.0561 13.7773 11.4389 13.8643 11.8037L15.1126 17.0368L10.5213 14.2325C10.2012 14.037 9.79876 14.037 9.47874 14.2325L4.88743 17.0368L6.13574 11.8037C6.22275 11.4389 6.09838 11.0561 5.81359 10.8122L1.72769 7.31216L7.0905 6.88223C7.46429 6.85226 7.7899 6.61569 7.93391 6.26946L10 1.30198Z"
47
- fill="white"
48
- stroke="currentColor"
49
- stroke-linejoin="round" />
50
- <path
51
- d="M9.9051 14.2195V2.50412C9.9051 1.95741 9.15339 1.80732 8.94344 2.31211L7.37735 6.07744C7.30534 6.25056 7.14254 6.36885 6.95564 6.38383L1.59283 6.81376C1.1495 6.8493 0.969741 7.40256 1.30751 7.69189L5.3934 11.1919C5.5358 11.3139 5.59799 11.5053 5.55448 11.6876L4.30617 16.9208C4.20298 17.3534 4.67361 17.6954 5.05315 17.4635L9.66572 14.6462C9.81441 14.5554 9.9051 14.3937 9.9051 14.2195Z"
52
- fill="currentColor" />
53
- </g>
54
- </svg>
15
+ <ph-star-half
16
+ :size="width"
17
+ weight="fill" />
55
18
  </template>
@@ -1,39 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconThumbsUp',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhThumbsUp } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 24 24"
32
- fill="currentColor">
33
- <path
34
- d="M21.746 9.487c.601.4 1.002 1.1 1.203 1.802.2 1-.2 1.901-1.003 3.703l-.3.8c-.201.301-.201.702-.201 1.002.2 1.601-.401 3.303-1.605 4.504C18.838 22.4 17.434 23 15.93 23h-.301L5.2 22.5c-1.203-.1-2.005-.1-2.808-.801-.702-.701-.902-1.402-1.103-2.403-.4-2.202-.4-4.404.1-6.506.402-1.702 2.006-2.703 3.811-2.502 1.203.2 2.507-.2 3.51-1.001 1.103-.901 1.805-2.102 1.905-3.504l.2-2.402c.1-.801.502-1.502 1.104-1.902.601-.4 1.303-.6 2.005-.4 1.705.5 3.008 2.102 3.008 4.003v3.804h1.103c1.906 0 2.908 0 3.71.6Z"
35
- fill="none" />
36
- <path
37
- d="M22.949 11.289c-.2-.701-.602-1.402-1.203-1.802-.803-.6-1.805-.6-3.71-.6h-1.104V5.081c0-1.901-1.303-3.503-3.008-4.003-.702-.2-1.404 0-2.005.4-.602.4-1.003 1.101-1.104 1.902l-.2 2.402c-.1 1.402-.802 2.603-1.905 3.504-1.003.8-2.307 1.2-3.51 1-1.805-.2-3.41.801-3.81 2.503-.502 2.102-.502 4.304-.1 6.506.2 1.001.4 1.702 1.102 2.403.803.7 1.605.7 2.808.8L15.63 23h.3c1.505 0 2.909-.6 3.911-1.702 1.204-1.2 1.805-2.902 1.605-4.504 0-.3 0-.7.2-1.001l.301-.8c.802-1.803 1.203-2.704 1.003-3.704ZM3.696 20.096c-.2-.2-.3-.4-.501-1.301-.402-1.902-.402-3.804.1-5.606.2-.7.802-1 1.404-1H5.7a16.26 16.26 0 0 0 0 8.208h-.4c-1.104 0-1.404-.1-1.605-.3Zm16.445-5.906-.3.801a6.26 6.26 0 0 0-.302 1.902c.1 1.101-.3 2.202-1.103 3.003-.701.7-1.704 1.101-2.707 1.101l-7.922-.5c-.902-2.703-.902-5.606-.1-8.309l.1-.4c.702-.2 1.404-.6 2.006-1.101 1.504-1.201 2.406-2.903 2.607-4.905l.2-2.402c0-.2.201-.4.201-.4.1 0 .2-.1.401-.1.903.2 1.605 1.1 1.605 2.101v3.003c0 .801 0 1.302.3 1.802.2.3.401.5.702.7.502.301 1.003.301 1.805.301h.401c1.204 0 2.206 0 2.507.2.2.1.301.4.401.6.1.501-.3 1.402-.802 2.603Z" />
38
- </svg>
15
+ <ph-thumbs-up :size="width" />
39
16
  </template>
@@ -1,41 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconTrashCan',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhTrash } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 24 24"
32
- fill="currentColor">
33
- <path
34
- d="M18.62 5.081h3.384c.598 0 .996.399.996.996s-.398.995-.995.995H20.91l-1.494 13.24c-.1.697-.398 1.394-.995 1.892-.598.497-1.294.796-2.09.796H7.57c-.698 0-1.395-.299-1.992-.796-.597-.498-.896-1.195-.995-1.892L3.09 7.072H1.994c-.597 0-.995-.398-.995-.995s.398-.996.995-.996H5.38l1.095-2.29c.2-.497.597-.995 1.095-1.293C8.068 1.199 8.566 1 9.163 1h5.674c.597 0 1.095.2 1.593.498s.896.697 1.095 1.294l1.095 2.29Z"
35
- fill="none" />
36
- <path
37
- d="M22.005 5.081H18.62l-1.095-2.29c-.2-.596-.597-.995-1.095-1.293-.498-.299-.996-.498-1.593-.498H9.163c-.597 0-1.095.2-1.593.498a2.752 2.752 0 0 0-1.095 1.294L5.38 5.082H1.995c-.597 0-.995.398-.995.995s.398.995.995.995H3.09l1.494 13.24c.1.697.398 1.394.995 1.892.597.497 1.294.796 1.991.796h8.76c.797 0 1.494-.299 2.09-.796.598-.498.897-1.195.996-1.892l1.494-13.24h1.095c.597 0 .995-.398.995-.995s-.398-.996-.995-.996ZM8.267 3.588c0-.1.2-.298.398-.298.1-.1.299-.2.498-.2h5.575c.199 0 .298.1.497.2.2.1.299.199.399.398l.696 1.393H7.57l.697-1.493Zm9.158 16.525c0 .2-.1.398-.298.597-.2.2-.498.3-.697.3H7.57c-.299 0-.498-.1-.697-.3-.199-.1-.298-.398-.298-.597L5.08 7.073h13.84l-1.494 13.04Z" />
38
- <path
39
- d="M13.941 17.027a.998.998 0 0 0 .996-.995v-4.978c0-.597-.398-.995-.996-.995-.597 0-.995.398-.995.995v4.978c0 .597.398.995.995.995Zm-3.981 0a.997.997 0 0 0 .995-.995v-4.978c0-.597-.398-.995-.996-.995-.597 0-.995.398-.995.995v4.978c0 .597.398.995.995.995Z" />
40
- </svg>
15
+ <ph-trash :size="width" />
41
16
  </template>
@@ -1,37 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconTree',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhTree } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
24
13
 
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- viewBox="0 0 24 24"
32
- fill="currentColor"
33
- xmlns="http://www.w3.org/2000/svg">
34
- <path
35
- d="M18.906 15.424c0-1.31-.573-2.552-1.618-3.528.197-.463.3-.95.3-1.448 0-1.121-.514-2.183-1.44-2.997a3.2 3.2 0 0 0 .523-1.738c.009-2.073-2.09-3.76-4.667-3.76-2.578 0-4.676 1.687-4.676 3.76 0 .608.18 1.207.523 1.738-.925.814-1.439 1.876-1.439 2.997 0 .489.103.985.3 1.448-1.045.985-1.619 2.218-1.619 3.528 0 2.809 2.68 5.13 6.115 5.438v2.364a.727.727 0 1 0 1.456 0V20.87c3.502-.266 6.242-2.612 6.242-5.456v.009Zm-6.242 3.99v-6.456s.06-.035.085-.052l2.312-2.312a.729.729 0 0 0 0-1.028.729.729 0 0 0-1.027 0l-1.362 1.362V9.541a.727.727 0 1 0-1.456 0v5.737l-1.147-1.147a.729.729 0 0 0-1.028 0 .729.729 0 0 0 0 1.027l2.184 2.184v2.064c-2.63-.282-4.659-1.961-4.659-3.973 0-1.037.54-2.021 1.516-2.775a.722.722 0 0 0 .171-.96 2.274 2.274 0 0 1-.368-1.232c0-.857.514-1.679 1.413-2.261a.733.733 0 0 0 .334-.54.72.72 0 0 0-.214-.59C9.135 6.8 8.8 6.337 8.8 5.73c0-1.276 1.448-2.304 3.22-2.304 1.773 0 3.22 1.037 3.22 2.304 0 .608-.334 1.07-.616 1.344a.73.73 0 0 0-.214.591.73.73 0 0 0 .334.54c.899.574 1.412 1.396 1.412 2.252 0 .428-.128.848-.368 1.233a.72.72 0 0 0 .171.96c.977.753 1.516 1.746 1.516 2.774 0 2.055-2.098 3.75-4.787 3.99h-.025Z" />
36
- </svg>
15
+ <ph-tree :size="width" />
37
16
  </template>
@@ -1,41 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconUpload',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhUploadSimple } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
24
13
 
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- viewBox="0 0 48 48"
32
- fill="none"
33
- xmlns="http://www.w3.org/2000/svg">
34
- <path
35
- fill="currentColor"
36
- d="M1.5 30.734c.398 0 .78.182 1.06.506.282.324.44.763.44 1.22v8.634c0 .916.316 1.794.879 2.441.562.648 1.325 1.012 2.121 1.012h36c.796 0 1.559-.364 2.121-1.012.563-.647.879-1.525.879-2.441V32.46c0-.458.158-.897.44-1.221a1.408 1.408 0 0 1 1.06-.506c.398 0 .78.182 1.06.506.282.324.44.763.44 1.22v8.634c0 1.831-.632 3.588-1.757 4.883C45.117 47.272 43.59 48 42 48H6c-1.591 0-3.117-.728-4.243-2.023C.632 44.682 0 42.925 0 41.094V32.46c0-.458.158-.897.44-1.221a1.408 1.408 0 0 1 1.06-.506Z" />
37
- <path
38
- fill="currentColor"
39
- d="M22.94.507c.14-.16.305-.288.487-.375a1.331 1.331 0 0 1 1.15 0c.182.087.348.214.487.375l9 10.36c.282.324.44.764.44 1.222 0 .459-.158.898-.44 1.223a1.41 1.41 0 0 1-1.062.506 1.41 1.41 0 0 1-1.062-.506l-6.438-7.414V36.26c0 .458-.158.897-.44 1.221a1.408 1.408 0 0 1-1.06.506c-.398 0-.78-.182-1.06-.506a1.867 1.867 0 0 1-.44-1.22V5.897l-6.438 7.414c-.14.16-.305.287-.487.374a1.332 1.332 0 0 1-1.15 0 1.507 1.507 0 0 1-.487-.374c-.14-.161-.25-.352-.326-.561a1.958 1.958 0 0 1 0-1.323c.076-.21.186-.4.326-.561l9-10.36Z" />
40
- </svg>
15
+ <ph-upload-simple :size="width" />
41
16
  </template>
@@ -1,40 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconVerified',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhSealCheck } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- fill="none"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24">
33
- <path
34
- d="M21.231 11.156v.85a9.231 9.231 0 1 1-5.474-8.438m5.474 1.053-9.23 9.24-2.77-2.77"
35
- stroke="currentColor"
36
- stroke-width="2"
37
- stroke-linecap="round"
38
- stroke-linejoin="round" />
39
- </svg>
15
+ <ph-seal-check :size="width" />
40
16
  </template>
@@ -1,38 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconWifi',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhWifiHigh } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 24 24"
32
- fill="currentColor">
33
- <path
34
- fill-rule="evenodd"
35
- clip-rule="evenodd"
36
- d="M12 6c-3.161 0-6.406 1.5-9.257 4.669A1 1 0 1 1 1.257 9.33C4.406 5.831 8.16 4 12 4c3.839 0 7.594 1.832 10.743 5.331a1 1 0 1 1-1.486 1.338C18.406 7.5 15.16 5.999 12 5.999Zm0 6c-1.761 0-3.606.835-5.257 2.669a1 1 0 1 1-1.486-1.338C7.206 11.165 9.56 10 12 10s4.794 1.165 6.743 3.331a1 1 0 1 1-1.486 1.338C15.606 12.835 13.76 12 12 12Zm-2 6a2 2 0 1 1 4 0 2 2 0 0 1-4 0Z" />
37
- </svg>
15
+ <ph-wifi-high :size="width" />
38
16
  </template>
@@ -1,38 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'XIcon',
4
- props: {
5
- /**
6
- * Width
7
- */
8
- width: {
9
- type: String,
10
- default: '24px',
11
- required: false,
12
- },
13
- /**
14
- * Height
15
- */
16
- height: {
17
- type: String,
18
- default: '24px',
19
- required: false,
20
- },
21
- },
22
- };
1
+ <script setup lang="ts">
2
+ import { PhX } from '@phosphor-icons/vue';
3
+
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
23
12
  </script>
13
+
24
14
  <template>
25
- <svg
26
- :style="{
27
- height: height,
28
- width: width,
29
- }"
30
- xmlns="http://www.w3.org/2000/svg"
31
- viewBox="0 0 24 24"
32
- fill="currentColor">
33
- <path
34
- fill-rule="evenodd"
35
- clip-rule="evenodd"
36
- d="M5.293 5.293a1 1 0 0 1 1.414 0L12 10.586l5.293-5.293a1 1 0 1 1 1.414 1.414L13.414 12l5.293 5.293a1 1 0 0 1-1.414 1.414L12 13.414l-5.293 5.293a1 1 0 0 1-1.414-1.414L10.586 12 5.293 6.707a1 1 0 0 1 0-1.414Z" />
37
- </svg>
15
+ <ph-x :size="width" />
38
16
  </template>
package/nuxt.config.ts CHANGED
@@ -4,7 +4,7 @@ export default defineNuxtConfig({
4
4
 
5
5
  // prevents "Cannot read properties of null (reading 'ce')" in SSR/SSG with reka-ui
6
6
  build: {
7
- transpile: ['reka-ui'],
7
+ transpile: ['@phosphor-icons', 'reka-ui'],
8
8
  },
9
9
 
10
10
  // https://nuxt.com/docs/getting-started/styling#the-css-property
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energysage/es-ds-components",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "An EnergySage Vue component library",
@@ -19,6 +19,7 @@
19
19
  "dependencies": {
20
20
  "@energysage/es-ds-styles": "^3.3.4",
21
21
  "@nuxtjs/google-fonts": "^3.2.0",
22
+ "@phosphor-icons/vue": "^2.2.1",
22
23
  "@vuelidate/core": "^2.0.3",
23
24
  "@vuelidate/validators": "^2.0.4",
24
25
  "@vueuse/core": "^13.9.0",