@iroco/ui 1.0.0-16 → 1.0.0-17

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.
@@ -5,7 +5,7 @@ export let disabled = false;
5
5
  export let kind = "basic";
6
6
  export let size = "regular";
7
7
  export let fullWidth = false;
8
- export let id;
8
+ export let id = null;
9
9
  </script>
10
10
 
11
11
  <button
@@ -6,7 +6,7 @@ declare const __propDef: {
6
6
  kind?: "success" | "danger" | "dark" | "basic" | undefined;
7
7
  size?: "small" | "regular" | undefined;
8
8
  fullWidth?: boolean | undefined;
9
- id: string;
9
+ id?: string | null | undefined;
10
10
  };
11
11
  events: {
12
12
  click: MouseEvent;
@@ -36,8 +36,8 @@ export default class Button extends SvelteComponent<ButtonProps, ButtonEvents, B
36
36
  get fullWidth(): boolean | undefined;
37
37
  /**accessor*/
38
38
  set fullWidth(_: boolean | undefined);
39
- get id(): string;
39
+ get id(): string | null | undefined;
40
40
  /**accessor*/
41
- set id(_: string);
41
+ set id(_: string | null | undefined);
42
42
  }
43
43
  export {};
@@ -1,6 +1,6 @@
1
- <script>export let value;
1
+ <script>export let value = null;
2
2
  export let group = null;
3
- export let name;
3
+ export let name = null;
4
4
  export let checked;
5
5
  function onChange(event) {
6
6
  group = event.target.value;
@@ -1,9 +1,9 @@
1
1
  import { SvelteComponent } from "svelte";
2
2
  declare const __propDef: {
3
3
  props: {
4
- value: string | null;
4
+ value?: string | null | undefined;
5
5
  group?: string | null | undefined;
6
- name: string | null;
6
+ name?: string | null | undefined;
7
7
  checked: boolean;
8
8
  };
9
9
  events: {
@@ -1,7 +1,7 @@
1
1
  <script>import { TextInputType } from "./definition";
2
- export let id;
2
+ export let id = null;
3
3
  export let type = TextInputType.text;
4
- export let name;
4
+ export let name = null;
5
5
  export let label = null;
6
6
  export let placeholder = null;
7
7
  export let error = null;
@@ -2,9 +2,9 @@ import { SvelteComponent } from "svelte";
2
2
  import { TextInputType } from './definition';
3
3
  declare const __propDef: {
4
4
  props: {
5
- id: string;
5
+ id?: string | null | undefined;
6
6
  type?: TextInputType | undefined;
7
- name: string;
7
+ name?: string | null | undefined;
8
8
  label?: string | null | undefined;
9
9
  placeholder?: string | null | undefined;
10
10
  error?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iroco/ui",
3
- "version": "1.0.0-16",
3
+ "version": "1.0.0-17",
4
4
  "description": "Iroco design system based on Svelte",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {