@energysage/es-ds-components 3.7.4 → 3.7.6
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,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.7.6](https://github.com/EnergySage/es-ds/compare/es-ds-components-v3.7.5...es-ds-components-v3.7.6) (2025-09-17)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* input attribute name ([#1678](https://github.com/EnergySage/es-ds/issues/1678)) ([3ab88a6](https://github.com/EnergySage/es-ds/commit/3ab88a6c435666ef5f7d2c290f0b97ecffb64172))
|
|
9
|
+
|
|
10
|
+
## [3.7.5](https://github.com/EnergySage/es-ds/compare/es-ds-components-v3.7.4...es-ds-components-v3.7.5) (2025-09-17)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* pass toggle attrs to inner div ([#1676](https://github.com/EnergySage/es-ds/issues/1676)) ([d246187](https://github.com/EnergySage/es-ds/commit/d246187d901d258d8ef3591d65f48b8742bae0fb))
|
|
16
|
+
|
|
3
17
|
## [3.7.4](https://github.com/EnergySage/es-ds/compare/es-ds-components-v3.7.3...es-ds-components-v3.7.4) (2025-09-11)
|
|
4
18
|
|
|
5
19
|
|
package/components/es-toggle.vue
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import { SwitchRoot, SwitchThumb } from 'reka-ui';
|
|
3
|
+
// Prevents attributes from being applied to first <div>
|
|
4
|
+
defineOptions({
|
|
5
|
+
inheritAttrs: false,
|
|
6
|
+
});
|
|
3
7
|
|
|
4
8
|
const switchId = useId();
|
|
5
9
|
const model = defineModel<boolean>({
|
|
@@ -24,7 +28,8 @@ const wrappingComponent = import.meta.dev ? resolveComponent('ClientOnly') : 'di
|
|
|
24
28
|
class="d-flex flex-row"
|
|
25
29
|
:class="{
|
|
26
30
|
'has-label': $slots.label,
|
|
27
|
-
}"
|
|
31
|
+
}"
|
|
32
|
+
v-bind="$attrs">
|
|
28
33
|
<switch-root
|
|
29
34
|
:id="switchId"
|
|
30
35
|
v-model="model"
|