@energysage/es-ds-components 3.7.3 → 3.7.5
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 +14 -0
- package/README.md +1 -1
- package/components/es-toggle.vue +6 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [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)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* pass toggle attrs to inner div ([#1676](https://github.com/EnergySage/es-ds/issues/1676)) ([d246187](https://github.com/EnergySage/es-ds/commit/d246187d901d258d8ef3591d65f48b8742bae0fb))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* more automated release and deploy issues ([#1674](https://github.com/EnergySage/es-ds/issues/1674)) ([383bf9e](https://github.com/EnergySage/es-ds/commit/383bf9e409047c3c10e93fa78d4643e702b07869))
|
|
16
|
+
|
|
3
17
|
## [3.7.3](https://github.com/EnergySage/es-ds/compare/es-ds-components-v3.7.2...es-ds-components-v3.7.3) (2025-09-10)
|
|
4
18
|
|
|
5
19
|
|
package/README.md
CHANGED
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"
|