@energysage/es-ds-components 6.1.0 → 6.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
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.2.0](https://github.com/EnergySage/es-ds/compare/es-ds-components-v6.1.1...es-ds-components-v6.2.0) (2026-10-02)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add Utilities docs page, small enhancements to EsCollapse and EsDataTableSimple ([#1787](https://github.com/EnergySage/es-ds/issues/1787)) ([39770f6](https://github.com/EnergySage/es-ds/commit/39770f67a7bdd18a2a541a9279ae0209607c9c8a))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* devDependencies
|
|
15
|
+
* @energysage/es-ds-styles bumped from ^4.0.0 to ^4.1.0
|
|
16
|
+
|
|
17
|
+
## [6.1.1](https://github.com/EnergySage/es-ds/compare/es-ds-components-v6.1.0...es-ds-components-v6.1.1) (2026-09-29)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* correct usage of useId() in EsZipCodeForm ([#1790](https://github.com/EnergySage/es-ds/issues/1790)) ([c4c30f4](https://github.com/EnergySage/es-ds/commit/c4c30f4b693c9e5343462146f659d099ad4ab0d8))
|
|
23
|
+
|
|
3
24
|
## [6.1.0](https://github.com/EnergySage/es-ds/compare/es-ds-components-v6.0.0...es-ds-components-v6.1.0) (2026-09-28)
|
|
4
25
|
|
|
5
26
|
|
|
@@ -72,7 +72,7 @@ const onClick = (value: boolean) => {
|
|
|
72
72
|
<icon-chevron-down class="es-collapse-icon" />
|
|
73
73
|
</div>
|
|
74
74
|
</collapsible-trigger>
|
|
75
|
-
<collapsible-content class="es-collapse-content
|
|
75
|
+
<collapsible-content class="es-collapse-content">
|
|
76
76
|
<slot />
|
|
77
77
|
</collapsible-content>
|
|
78
78
|
</collapsible-root>
|
|
@@ -131,6 +131,11 @@ $easing-function: cubic-bezier(0.87, 0, 0.13, 1);
|
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
.es-collapse-content {
|
|
134
|
+
/* kept as a fallback for pre-2022 browsers that don't support clip */
|
|
135
|
+
overflow: hidden;
|
|
136
|
+
/* allows position sticky within the collapse to work */
|
|
137
|
+
overflow: clip;
|
|
138
|
+
|
|
134
139
|
@media not (prefers-reduced-motion) {
|
|
135
140
|
&[data-state='closed'] {
|
|
136
141
|
animation: slideUp $animation-duration $easing-function;
|
|
@@ -12,6 +12,10 @@ const props = defineProps({
|
|
|
12
12
|
type: [Array, String],
|
|
13
13
|
default: null,
|
|
14
14
|
},
|
|
15
|
+
reverseStripes: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: false,
|
|
18
|
+
},
|
|
15
19
|
striped: {
|
|
16
20
|
type: Boolean,
|
|
17
21
|
default: false,
|
|
@@ -41,7 +45,10 @@ const computedItems: ComputedRef<any[]> = computed(() => {
|
|
|
41
45
|
<table
|
|
42
46
|
v-if="$slots.default || items.length"
|
|
43
47
|
class="table table-borderless"
|
|
44
|
-
:class="{
|
|
48
|
+
:class="{
|
|
49
|
+
'table-striped': striped && !reverseStripes,
|
|
50
|
+
'table-striped-reverse': striped && reverseStripes,
|
|
51
|
+
}">
|
|
45
52
|
<template v-if="$slots.default">
|
|
46
53
|
<slot />
|
|
47
54
|
</template>
|
|
@@ -5,7 +5,6 @@ interface IProps {
|
|
|
5
5
|
contextMessage?: string;
|
|
6
6
|
dark?: boolean;
|
|
7
7
|
fieldName?: string;
|
|
8
|
-
inputId?: string;
|
|
9
8
|
newTab?: boolean;
|
|
10
9
|
placeholder?: string;
|
|
11
10
|
privacyPolicyLink?: string;
|
|
@@ -24,7 +23,6 @@ const props = withDefaults(defineProps<IProps>(), {
|
|
|
24
23
|
contextMessage: '',
|
|
25
24
|
dark: false,
|
|
26
25
|
fieldName: 'zip_code',
|
|
27
|
-
inputId: useId(),
|
|
28
26
|
newTab: false,
|
|
29
27
|
placeholder: 'ZIP code',
|
|
30
28
|
privacyPolicyLink: '',
|
|
@@ -36,6 +34,8 @@ const props = withDefaults(defineProps<IProps>(), {
|
|
|
36
34
|
zipCodeValue: '',
|
|
37
35
|
});
|
|
38
36
|
|
|
37
|
+
const inputId = useId();
|
|
38
|
+
|
|
39
39
|
const state = reactive({
|
|
40
40
|
zipCode: props.zipCodeValue,
|
|
41
41
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@energysage/es-ds-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "An EnergySage Vue component library",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@energysage/es-ds-styles": "^4.
|
|
32
|
+
"@energysage/es-ds-styles": "^4.1.0",
|
|
33
33
|
"@nuxt/eslint": "^1.14.0",
|
|
34
34
|
"@nuxtjs/google-fonts": "^3.2.0",
|
|
35
35
|
"@phosphor-icons/vue": "^2.2.1",
|