@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,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleChevronLeft',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhCaretCircleLeft } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M14.207 7.293a1 1 0 0 1 0 1.414L10.914 12l3.293 3.293a1 1 0 0 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Z" />
45
- </svg>
15
+ <ph-caret-circle-left :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleChevronRight',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhCaretCircleRight } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M9.793 7.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 0 1-1.414-1.414L13.086 12 9.793 8.707a1 1 0 0 1 0-1.414Z" />
45
- </svg>
15
+ <ph-caret-circle-right :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleChevronUp',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhCaretCircleUp } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M11.293 8.793a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L12 10.914l-3.293 3.293a1 1 0 0 1-1.414-1.414l4-4Z" />
45
- </svg>
15
+ <ph-caret-circle-up :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleMinus',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhMinusCircle } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M7 12a1 1 0 0 1 1-1h8a1 1 0 1 1 0 2H8a1 1 0 0 1-1-1Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
45
- </svg>
15
+ <ph-minus-circle :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCirclePlus',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhPlusCircle } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 7a1 1 0 0 1 1 1v3h3a1 1 0 1 1 0 2h-3v3a1 1 0 1 1-2 0v-3H8a1 1 0 1 1 0-2h3V8a1 1 0 0 1 1-1Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
45
- </svg>
15
+ <ph-plus-circle :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleX',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhXCircle } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M8.293 8.293a1 1 0 0 1 1.414 0L12 10.586l2.293-2.293a1 1 0 1 1 1.414 1.414L13.414 12l2.293 2.293a1 1 0 0 1-1.414 1.414L12 13.414l-2.293 2.293a1 1 0 0 1-1.414-1.414L10.586 12 8.293 9.707a1 1 0 0 1 0-1.414Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
45
- </svg>
15
+ <ph-x-circle :size="width" />
46
16
  </template>
@@ -1,42 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircle',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhCircle } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
41
- </svg>
15
+ <ph-circle :size="width" />
42
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconClock',
5
- props: {
6
- /**
7
- * Width
8
- */
9
- width: {
10
- type: String,
11
- default: '24px',
12
- required: false,
13
- },
14
- /**
15
- * Height
16
- */
17
- height: {
18
- type: String,
19
- default: '24px',
20
- required: false,
21
- },
22
- },
23
- };
1
+ <script setup lang="ts">
2
+ import { PhClock } 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
+ });
24
12
  </script>
13
+
25
14
  <template>
26
- <svg
27
- :style="{
28
- height: height,
29
- width: width,
30
- }"
31
- xmlns="http://www.w3.org/2000/svg"
32
- viewBox="0 0 24 24"
33
- fill="currentColor">
34
- <path
35
- d="M1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z"
36
- fill="none" />
37
- <path
38
- fill-rule="evenodd"
39
- clip-rule="evenodd"
40
- d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Z" />
41
- <path
42
- fill-rule="evenodd"
43
- clip-rule="evenodd"
44
- d="M12 5a1 1 0 0 1 1 1v6.172a1 1 0 0 0 .293.707l2.414 2.414a1 1 0 0 1-1.414 1.414l-2.414-2.414a3 3 0 0 1-.879-2.12V6a1 1 0 0 1 1-1Z" />
45
- </svg>
15
+ <ph-clock :size="width" />
46
16
  </template>
@@ -1,45 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconCopy',
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 { PhCopySimple } 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="M7.879 1.879A3 3 0 0 1 10 1h4.685a3 3 0 0 1 2.097.855l3.315 3.242A3 3 0 0 1 21 7.242V16a3 3 0 0 1-3 3h-1v1a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h1V4a3 3 0 0 1 .879-2.121Z"
35
- fill="none" />
36
- <path
37
- fill-rule="evenodd"
38
- clip-rule="evenodd"
39
- d="M7.879 1.879A3 3 0 0 1 10 1h4.685a3 3 0 0 1 2.097.855l3.315 3.242A3 3 0 0 1 21 7.242V16a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3V4a3 3 0 0 1 .879-2.121ZM10 3a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V7.242a1.001 1.001 0 0 0-.301-.715l-3.315-3.242A1 1 0 0 0 14.685 3H10Z" />
40
- <path
41
- fill-rule="evenodd"
42
- clip-rule="evenodd"
43
- d="M6 8a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-2a1 1 0 1 1 2 0v2a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3h2a1 1 0 0 1 0 2H6Z" />
44
- </svg>
15
+ <ph-copy-simple :size="width" />
45
16
  </template>
@@ -1,45 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconEnvelope',
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 { PhEnvelope } 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="M1.879 3.879A3 3 0 0 1 4 3h16a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121Z"
35
- fill="none" />
36
- <path
37
- fill-rule="evenodd"
38
- clip-rule="evenodd"
39
- d="M4 5a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1H4ZM1.879 3.879A3 3 0 0 1 4 3h16a3 3 0 0 1 3 3v12a3 3 0 0 1-3 3H4a3 3 0 0 1-3-3V6a3 3 0 0 1 .879-2.121Z" />
40
- <path
41
- fill-rule="evenodd"
42
- clip-rule="evenodd"
43
- d="m8.876 14.782-7.5-6.001 1.249-1.562 7.5 6.001a3 3 0 0 0 3.75 0l7.5-6 1.25 1.56-7.501 6.002a5 5 0 0 1-6.248 0Z" />
44
- </svg>
15
+ <ph-envelope :size="width" />
45
16
  </template>
@@ -1,41 +1,16 @@
1
- <script lang="ts">
2
- export default {
3
- name: 'IconEye',
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 { PhEye } 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="M11.992 4c4.502 0 8.202 4 10.103 6.4.7 1 .7 2.3 0 3.2-1.9 2.4-5.601 6.4-10.102 6.4C7.49 20 3.79 16.1 1.99 13.6c-.4-.4-.6-1-.6-1.6 0-.6.2-1.2.6-1.7C3.79 8 7.491 4 11.992 4Z"
35
- fill="none" />
36
- <path
37
- d="M22.095 10.4C20.195 8 16.494 4 11.993 4 7.49 4 3.79 8 1.99 10.3c-.4.5-.6 1.1-.6 1.7 0 .6.2 1.2.6 1.6 1.8 2.5 5.501 6.4 10.002 6.4 4.502 0 8.202-4 10.103-6.4.7-.9.7-2.2 0-3.2Zm-1.6 2.1c-1.3 1.6-4.702 5.5-8.503 5.5-3.8 0-7.201-3.9-8.501-5.6-.1-.1-.1-.3-.1-.4 0-.1.1-.3.1-.4C4.79 9.9 8.19 6 11.993 6c3.8 0 7.201 3.9 8.501 5.6.2.3.2.6 0 .9Z" />
38
- <path
39
- d="M11.992 8c-2.2 0-4 1.8-4 4s1.8 4 4 4c2.201 0 4.001-1.8 4.001-4s-1.8-4-4-4Zm0 6c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2Z" />
40
- </svg>
15
+ <ph-eye :size="width" />
41
16
  </template>