@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
 
@@ -44,7 +44,7 @@ const isChecked = computed(() => props.value === model.value);
44
44
  v-model="model"
45
45
  :disabled="props.disabled"
46
46
  type="radio"
47
- name="props.name"
47
+ :name="props.name"
48
48
  :value="props.value"
49
49
  :checked="isChecked"
50
50
  @click="handleRadioButtonClick" />
@@ -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"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energysage/es-ds-components",
3
- "version": "3.7.4",
3
+ "version": "3.7.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "description": "An EnergySage Vue component library",