@energysage/es-ds-components 5.0.2 → 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 +19 -0
  2. package/app/components/es-sticky-bar.vue +173 -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: 'IconCircleAlert',
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 { PhWarningCircle } 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="M12 6a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1Zm0 9.5a1 1 0 0 1 1 1v.5a1 1 0 1 1-2 0v-.5a1 1 0 0 1 1-1Z" />
45
- </svg>
15
+ <ph-warning-circle :size="width" />
46
16
  </template>
@@ -1,46 +1,16 @@
1
- <!-- eslint-disable max-len -->
2
- <script lang="ts">
3
- export default {
4
- name: 'IconCircleCheck',
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 { PhCheckCircle } 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="M16.64 8.732a1 1 0 0 1 .128 1.408l-5 6a1 1 0 0 1-1.475.067l-3-3a1 1 0 1 1 1.414-1.414l2.226 2.226 4.299-5.16a1 1 0 0 1 1.408-.127Z" />
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-check-circle :size="width" />
46
16
  </template>
@@ -1,47 +1,16 @@
1
- <!-- eslint-disable max-len -->
1
+ <script setup lang="ts">
2
+ import { PhCaretCircleDown } from '@phosphor-icons/vue';
2
3
 
3
- <script lang="ts">
4
- export default {
5
- name: 'IconCircleChevronDown',
6
- props: {
7
- /**
8
- * Width
9
- */
10
- width: {
11
- type: String,
12
- default: '24px',
13
- required: false,
14
- },
15
- /**
16
- * Height
17
- */
18
- height: {
19
- type: String,
20
- default: '24px',
21
- required: false,
22
- },
23
- },
24
- };
4
+ interface Props {
5
+ height?: string;
6
+ width?: string;
7
+ }
8
+ withDefaults(defineProps<Props>(), {
9
+ height: '24px',
10
+ width: '24px',
11
+ });
25
12
  </script>
13
+
26
14
  <template>
27
- <svg
28
- :style="{
29
- height: height,
30
- width: width,
31
- }"
32
- xmlns="http://www.w3.org/2000/svg"
33
- viewBox="0 0 24 24"
34
- fill="currentColor">
35
- <path
36
- d="M23 12c0 6.075-4.925 11-11 11S1 18.075 1 12 5.925 1 12 1s11 4.925 11 11Z"
37
- fill="none" />
38
- <path
39
- fill-rule="evenodd"
40
- clip-rule="evenodd"
41
- 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" />
42
- <path
43
- fill-rule="evenodd"
44
- clip-rule="evenodd"
45
- d="M7.293 9.793a1 1 0 0 1 1.414 0L12 13.086l3.293-3.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 0-1.414Z" />
46
- </svg>
15
+ <ph-caret-circle-down :size="width" />
47
16
  </template>
@@ -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>