@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.
- package/CHANGELOG.md +19 -0
- package/app/components/es-sticky-bar.vue +173 -0
- package/app/components/icon/arrow-clockwise.vue +13 -48
- package/app/components/icon/arrow-counter-clockwise.vue +13 -34
- package/app/components/icon/arrow-cycle.vue +13 -40
- package/app/components/icon/arrow-down.vue +16 -0
- package/app/components/icon/arrow-left.vue +13 -36
- package/app/components/icon/arrow-right.vue +13 -36
- package/app/components/icon/arrow-up.vue +13 -36
- package/app/components/icon/bell.vue +13 -39
- package/app/components/icon/block.vue +13 -43
- package/app/components/icon/bolt.vue +12 -34
- package/app/components/icon/calculator.vue +13 -34
- package/app/components/icon/calendar.vue +13 -43
- package/app/components/icon/cart.vue +13 -43
- package/app/components/icon/chat-bubble.vue +13 -37
- package/app/components/icon/chat-dots.vue +13 -39
- package/app/components/icon/check.vue +13 -36
- package/app/components/icon/chevron-down.vue +13 -36
- package/app/components/icon/chevron-horizontal.vue +13 -36
- package/app/components/icon/chevron-left.vue +13 -36
- package/app/components/icon/chevron-right.vue +13 -36
- package/app/components/icon/chevron-up.vue +13 -36
- package/app/components/icon/circle-alert.vue +13 -43
- package/app/components/icon/circle-check.vue +13 -43
- package/app/components/icon/circle-chevron-down.vue +12 -43
- package/app/components/icon/circle-chevron-left.vue +13 -43
- package/app/components/icon/circle-chevron-right.vue +13 -43
- package/app/components/icon/circle-chevron-up.vue +13 -43
- package/app/components/icon/circle-minus.vue +13 -43
- package/app/components/icon/circle-plus.vue +13 -43
- package/app/components/icon/circle-x.vue +13 -43
- package/app/components/icon/circle.vue +13 -39
- package/app/components/icon/clock.vue +13 -43
- package/app/components/icon/copy.vue +13 -42
- package/app/components/icon/envelope.vue +13 -42
- package/app/components/icon/eye.vue +13 -38
- package/app/components/icon/flag.vue +13 -34
- package/app/components/icon/folder.vue +13 -38
- package/app/components/icon/gear.vue +12 -33
- package/app/components/icon/hamburger.vue +13 -35
- package/app/components/icon/heart.vue +13 -36
- package/app/components/icon/image.vue +13 -42
- package/app/components/icon/info.vue +13 -42
- package/app/components/icon/light-bulb.vue +13 -33
- package/app/components/icon/link-out.vue +13 -35
- package/app/components/icon/location.vue +13 -42
- package/app/components/icon/lock-off.vue +13 -42
- package/app/components/icon/lock-on.vue +13 -45
- package/app/components/icon/minus.vue +13 -35
- package/app/components/icon/money-bag.vue +12 -33
- package/app/components/icon/open-envelope.vue +13 -42
- package/app/components/icon/paper.vue +13 -42
- package/app/components/icon/pencil.vue +13 -42
- package/app/components/icon/person-add.vue +13 -38
- package/app/components/icon/person-check.vue +13 -38
- package/app/components/icon/person-cross.vue +13 -38
- package/app/components/icon/person.vue +13 -38
- package/app/components/icon/phone.vue +13 -38
- package/app/components/icon/play.vue +13 -38
- package/app/components/icon/plus.vue +13 -35
- package/app/components/icon/roof.vue +12 -33
- package/app/components/icon/search.vue +12 -39
- package/app/components/icon/settings-horizontal.vue +13 -54
- package/app/components/icon/settings-vertical.vue +13 -54
- package/app/components/icon/shield-with-check.vue +12 -34
- package/app/components/icon/shield.vue +13 -38
- package/app/components/icon/shopping-bag.vue +13 -36
- package/app/components/icon/solar.vue +12 -33
- package/app/components/icon/sound-down.vue +13 -42
- package/app/components/icon/sound-off.vue +13 -38
- package/app/components/icon/sound-on.vue +13 -38
- package/app/components/icon/sound-up.vue +13 -38
- package/app/components/icon/star-empty.vue +13 -35
- package/app/components/icon/star-full.vue +15 -33
- package/app/components/icon/star-half.vue +15 -52
- package/app/components/icon/thumbs-up.vue +13 -36
- package/app/components/icon/trash-can.vue +13 -38
- package/app/components/icon/tree.vue +12 -33
- package/app/components/icon/upload.vue +12 -37
- package/app/components/icon/verified.vue +13 -37
- package/app/components/icon/wifi.vue +13 -35
- package/app/components/icon/x.vue +13 -35
- package/nuxt.config.ts +1 -1
- package/package.json +2 -1
- package/app/components/icon/arrow.vue +0 -68
|
@@ -1,41 +1,16 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
<
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
<
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
<
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
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
|
-
<
|
|
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.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",
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
<!-- eslint-disable max-len -->
|
|
2
|
-
<script lang="ts">
|
|
3
|
-
export default {
|
|
4
|
-
name: 'IconArrow',
|
|
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
|
-
orientation: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: 'top',
|
|
25
|
-
required: false,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
computed: {
|
|
29
|
-
classFromOrientation() {
|
|
30
|
-
return `orientation-${this.orientation}`;
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
};
|
|
34
|
-
</script>
|
|
35
|
-
<template>
|
|
36
|
-
<svg
|
|
37
|
-
:style="{
|
|
38
|
-
height: height,
|
|
39
|
-
width: width,
|
|
40
|
-
}"
|
|
41
|
-
:class="classFromOrientation"
|
|
42
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
43
|
-
viewBox="0 0 24 24"
|
|
44
|
-
fill="currentColor">
|
|
45
|
-
<path
|
|
46
|
-
fill-rule="evenodd"
|
|
47
|
-
clip-rule="evenodd"
|
|
48
|
-
d="M12 3a1 1 0 0 1 1 1v13.586l5.293-5.293a1 1 0 0 1 1.414 1.414l-7 7a1 1 0 0 1-1.414 0l-7-7a1 1 0 1 1 1.414-1.414L11 17.586V4a1 1 0 0 1 1-1Z" />
|
|
49
|
-
</svg>
|
|
50
|
-
</template>
|
|
51
|
-
|
|
52
|
-
<style lang="scss" scoped>
|
|
53
|
-
.orientation-down {
|
|
54
|
-
transform: rotate(0deg);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.orientation-left {
|
|
58
|
-
transform: rotate(90deg);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
.orientation-top {
|
|
62
|
-
transform: rotate(180deg);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.orientation-right {
|
|
66
|
-
transform: rotate(270deg);
|
|
67
|
-
}
|
|
68
|
-
</style>
|