@onsvisual/svelte-components 1.0.37 → 1.0.39
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/dist/datavis/DataCard/docs/component.md +2 -0
- package/dist/inputs/Button/Button.svelte +1 -1
- package/dist/inputs/Button/Button.svelte.d.ts +2 -2
- package/dist/inputs/ButtonGroup/docs/component.md +2 -0
- package/dist/inputs/Input/Input.svelte +2 -2
- package/dist/inputs/Input/Input.svelte.d.ts +2 -2
- package/dist/inputs/Select/Select.svelte +1 -1
- package/dist/inputs/Select/Select.svelte.d.ts +2 -2
- package/dist/inputs/Textarea/Textarea.svelte +1 -1
- package/dist/inputs/Textarea/Textarea.svelte.d.ts +2 -2
- package/dist/inputs/Toolbar/ToolControl.svelte +1 -1
- package/dist/inputs/Toolbar/docs/component.md +2 -0
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<span class="ons-warning">This component is experimental</span>
|
|
2
|
+
|
|
1
3
|
A component for presenting key facts and figures as a grid of "cards".
|
|
2
4
|
|
|
3
5
|
Note: This component is experimental. Its attributes and options are likely to change. The intention is to include a range of simple chart types.
|
|
@@ -7,7 +7,7 @@ export default class Button extends SvelteComponentTyped<{
|
|
|
7
7
|
href?: string | null | undefined;
|
|
8
8
|
color?: string | null | undefined;
|
|
9
9
|
download?: string | null | undefined;
|
|
10
|
-
type?: "button" | "reset" | "
|
|
10
|
+
type?: "button" | "reset" | "submit" | undefined;
|
|
11
11
|
variant?: "secondary" | "primary" | "ghost" | undefined;
|
|
12
12
|
noScroll?: boolean | undefined;
|
|
13
13
|
icon?: "search" | "arrow" | "carret" | "cross" | "external" | "signout" | "print" | "download" | "tick" | "pin" | "cog" | null | undefined;
|
|
@@ -35,7 +35,7 @@ declare const __propDef: {
|
|
|
35
35
|
href?: string | null | undefined;
|
|
36
36
|
color?: string | null | undefined;
|
|
37
37
|
download?: string | null | undefined;
|
|
38
|
-
type?: "button" | "reset" | "
|
|
38
|
+
type?: "button" | "reset" | "submit" | undefined;
|
|
39
39
|
variant?: "secondary" | "primary" | "ghost" | undefined;
|
|
40
40
|
noScroll?: boolean | undefined;
|
|
41
41
|
icon?: "search" | "arrow" | "carret" | "cross" | "external" | "signout" | "print" | "download" | "tick" | "pin" | "cog" | null | undefined;
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
export let value = null;
|
|
21
21
|
/**
|
|
22
22
|
* A label to describe the <input> element (expected for accessibility)
|
|
23
|
-
* @type {string}
|
|
23
|
+
* @type {string|null}
|
|
24
24
|
*/
|
|
25
|
-
export let label =
|
|
25
|
+
export let label = null;
|
|
26
26
|
/**
|
|
27
27
|
* Visually hide the label
|
|
28
28
|
* @type {boolean}
|
|
@@ -5,7 +5,7 @@ export default class Input extends SvelteComponentTyped<{
|
|
|
5
5
|
cls?: string | null | undefined;
|
|
6
6
|
id?: string | null | undefined;
|
|
7
7
|
width?: number | undefined;
|
|
8
|
-
label?: string | undefined;
|
|
8
|
+
label?: string | null | undefined;
|
|
9
9
|
pattern?: string | null | undefined;
|
|
10
10
|
name?: string | null | undefined;
|
|
11
11
|
error?: boolean | undefined;
|
|
@@ -33,7 +33,7 @@ declare const __propDef: {
|
|
|
33
33
|
cls?: string | null | undefined;
|
|
34
34
|
id?: string | null | undefined;
|
|
35
35
|
width?: number | undefined;
|
|
36
|
-
label?: string | undefined;
|
|
36
|
+
label?: string | null | undefined;
|
|
37
37
|
pattern?: string | null | undefined;
|
|
38
38
|
name?: string | null | undefined;
|
|
39
39
|
error?: boolean | undefined;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
export default class Select extends SvelteComponentTyped<{
|
|
5
5
|
cls?: string | null | undefined;
|
|
6
6
|
id?: string | undefined;
|
|
7
|
-
label?: string | undefined;
|
|
7
|
+
label?: string | null | undefined;
|
|
8
8
|
name?: string | undefined;
|
|
9
9
|
mode?: "default" | "search" | undefined;
|
|
10
10
|
value?: object | undefined;
|
|
@@ -35,7 +35,7 @@ declare const __propDef: {
|
|
|
35
35
|
props: {
|
|
36
36
|
cls?: string | null | undefined;
|
|
37
37
|
id?: string | undefined;
|
|
38
|
-
label?: string | undefined;
|
|
38
|
+
label?: string | null | undefined;
|
|
39
39
|
name?: string | undefined;
|
|
40
40
|
mode?: "default" | "search" | undefined;
|
|
41
41
|
value?: object | undefined;
|
|
@@ -5,7 +5,7 @@ export default class Textarea extends SvelteComponentTyped<{
|
|
|
5
5
|
cls?: string | null | undefined;
|
|
6
6
|
id?: string | null | undefined;
|
|
7
7
|
width?: number | undefined;
|
|
8
|
-
label?: string | undefined;
|
|
8
|
+
label?: string | null | undefined;
|
|
9
9
|
name?: string | null | undefined;
|
|
10
10
|
value?: string | null | undefined;
|
|
11
11
|
description?: string | null | undefined;
|
|
@@ -25,7 +25,7 @@ declare const __propDef: {
|
|
|
25
25
|
cls?: string | null | undefined;
|
|
26
26
|
id?: string | null | undefined;
|
|
27
27
|
width?: number | undefined;
|
|
28
|
-
label?: string | undefined;
|
|
28
|
+
label?: string | null | undefined;
|
|
29
29
|
name?: string | null | undefined;
|
|
30
30
|
value?: string | null | undefined;
|
|
31
31
|
description?: string | null | undefined;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<span class="ons-warning">This component is experimental</span>
|
|
2
|
+
|
|
1
3
|
A toolbar component. Use `ToolbarsContainer` even if using one toolbar as it contains a store for all the IDs and the activeID.
|
|
2
4
|
|
|
3
5
|
There's a slot on ToolbarButton if you want to put in custom help text otherwise, there's the prop `helpText`.
|
package/package.json
CHANGED