carbon-components-svelte 0.82.6 → 0.82.7

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/lib/index.mjs CHANGED
@@ -15889,7 +15889,7 @@ var CodeSnippet$1 = CodeSnippet;
15889
15889
  const get_labelText_slot_changes$f = dirty => ({});
15890
15890
  const get_labelText_slot_context$f = ctx => ({});
15891
15891
 
15892
- // (80:4) {#if labelText || $$slots.labelText}
15892
+ // (83:4) {#if labelText || $$slots.labelText}
15893
15893
  function create_if_block$1n(ctx) {
15894
15894
  let span;
15895
15895
  let current;
@@ -15955,7 +15955,7 @@ function create_if_block$1n(ctx) {
15955
15955
  };
15956
15956
  }
15957
15957
 
15958
- // (82:31)
15958
+ // (85:31)
15959
15959
  function fallback_block$J(ctx) {
15960
15960
  let t;
15961
15961
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-components-svelte",
3
- "version": "0.82.6",
3
+ "version": "0.82.7",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Svelte implementation of the Carbon Design System",
6
6
  "svelte": "./src/index.js",
@@ -1,5 +1,8 @@
1
1
  <script>
2
- /** Specify the value of the radio button */
2
+ /**
3
+ * Specify the value of the radio button
4
+ * @type {string | number}
5
+ */
3
6
  export let value = "";
4
7
 
5
8
  /** Set to `true` to check the radio button */
@@ -1,11 +1,11 @@
1
1
  <script>
2
2
  /**
3
- * @event {string} change
3
+ * @event {string | number} change
4
4
  */
5
5
 
6
6
  /**
7
7
  * Set the selected radio button value
8
- * @type {string}
8
+ * @type {string | number}
9
9
  */
10
10
  export let selected = undefined;
11
11
 
@@ -8,7 +8,7 @@ export interface RadioButtonProps extends RestProps {
8
8
  * Specify the value of the radio button
9
9
  * @default ""
10
10
  */
11
- value?: string;
11
+ value?: string | number;
12
12
 
13
13
  /**
14
14
  * Set to `true` to check the radio button
@@ -8,7 +8,7 @@ export interface RadioButtonGroupProps extends RestProps {
8
8
  * Set the selected radio button value
9
9
  * @default undefined
10
10
  */
11
- selected?: string;
11
+ selected?: string | number;
12
12
 
13
13
  /**
14
14
  * Set to `true` to disable the radio buttons
@@ -64,7 +64,7 @@ export interface RadioButtonGroupProps extends RestProps {
64
64
  export default class RadioButtonGroup extends SvelteComponentTyped<
65
65
  RadioButtonGroupProps,
66
66
  {
67
- change: CustomEvent<string>;
67
+ change: CustomEvent<string | number>;
68
68
  click: WindowEventMap["click"];
69
69
  mouseover: WindowEventMap["mouseover"];
70
70
  mouseenter: WindowEventMap["mouseenter"];