noph-ui 0.9.9 → 0.9.11
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/card/types.d.ts
CHANGED
|
@@ -3,33 +3,33 @@ import type { HTMLAnchorAttributes, HTMLAttributes, HTMLButtonAttributes } from
|
|
|
3
3
|
interface TextProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
4
|
variant?: 'elevated' | 'filled' | 'outlined';
|
|
5
5
|
disabled?: boolean;
|
|
6
|
-
image?: string |
|
|
6
|
+
image?: string | null;
|
|
7
7
|
element?: HTMLElement;
|
|
8
|
-
headline?: string |
|
|
9
|
-
subhead?: string;
|
|
10
|
-
supportingText?: string;
|
|
8
|
+
headline?: string | null;
|
|
9
|
+
subhead?: string | null;
|
|
10
|
+
supportingText?: string | null;
|
|
11
11
|
action?: Snippet;
|
|
12
12
|
type: 'text';
|
|
13
13
|
}
|
|
14
14
|
interface ButtonProps extends HTMLButtonAttributes {
|
|
15
15
|
variant?: 'elevated' | 'filled' | 'outlined';
|
|
16
16
|
disabled?: boolean;
|
|
17
|
-
image?: string |
|
|
17
|
+
image?: string | null;
|
|
18
18
|
element?: HTMLElement;
|
|
19
|
-
headline?: string |
|
|
20
|
-
subhead?: string;
|
|
21
|
-
supportingText?: string;
|
|
19
|
+
headline?: string | null;
|
|
20
|
+
subhead?: string | null;
|
|
21
|
+
supportingText?: string | null;
|
|
22
22
|
action?: Snippet;
|
|
23
23
|
type: 'button';
|
|
24
24
|
}
|
|
25
25
|
interface AnchorProps extends HTMLAnchorAttributes {
|
|
26
26
|
variant?: 'elevated' | 'filled' | 'outlined';
|
|
27
27
|
disabled?: boolean;
|
|
28
|
-
image?: string |
|
|
28
|
+
image?: string | null;
|
|
29
29
|
element?: HTMLElement;
|
|
30
|
-
headline?: string |
|
|
31
|
-
subhead?: string;
|
|
32
|
-
supportingText?: string;
|
|
30
|
+
headline?: string | null;
|
|
31
|
+
subhead?: string | null;
|
|
32
|
+
supportingText?: string | null;
|
|
33
33
|
action?: Snippet;
|
|
34
34
|
type: 'link';
|
|
35
35
|
}
|
package/dist/progress/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
interface
|
|
1
|
+
export interface CircularProgressProps {
|
|
2
2
|
value?: number;
|
|
3
3
|
max?: number;
|
|
4
4
|
indeterminate?: boolean;
|
|
@@ -6,8 +6,6 @@ interface ProgressProps {
|
|
|
6
6
|
'aria-label'?: string | undefined | null;
|
|
7
7
|
element?: HTMLDivElement;
|
|
8
8
|
}
|
|
9
|
-
export interface LinearProgressProps extends
|
|
9
|
+
export interface LinearProgressProps extends CircularProgressProps {
|
|
10
10
|
buffer?: number;
|
|
11
11
|
}
|
|
12
|
-
export type CircularProgressProps = ProgressProps;
|
|
13
|
-
export {};
|
|
@@ -25,6 +25,8 @@
|
|
|
25
25
|
id,
|
|
26
26
|
form,
|
|
27
27
|
autofocus,
|
|
28
|
+
onchange,
|
|
29
|
+
oninput,
|
|
28
30
|
...attributes
|
|
29
31
|
}: SelectProps = $props()
|
|
30
32
|
|
|
@@ -173,6 +175,8 @@
|
|
|
173
175
|
{required}
|
|
174
176
|
{name}
|
|
175
177
|
{form}
|
|
178
|
+
{onchange}
|
|
179
|
+
{oninput}
|
|
176
180
|
bind:value
|
|
177
181
|
bind:this={selectElement}
|
|
178
182
|
>
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noph-ui",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.11",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://noph.dev",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/cnolte/noph-ui"
|
|
8
|
+
"url": "git+https://github.com/cnolte/noph-ui.git"
|
|
9
9
|
},
|
|
10
10
|
"author": {
|
|
11
11
|
"name": "cnolte"
|
|
@@ -59,14 +59,14 @@
|
|
|
59
59
|
"@sveltejs/package": "^2.3.7",
|
|
60
60
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
61
61
|
"@types/eslint": "^9.6.1",
|
|
62
|
-
"eslint": "^9.
|
|
62
|
+
"eslint": "^9.18.0",
|
|
63
63
|
"eslint-config-prettier": "^9.1.0",
|
|
64
64
|
"eslint-plugin-svelte": "^2.46.1",
|
|
65
65
|
"globals": "^15.14.0",
|
|
66
66
|
"prettier": "^3.4.2",
|
|
67
67
|
"prettier-plugin-svelte": "^3.3.2",
|
|
68
|
-
"publint": "^0.3.
|
|
69
|
-
"svelte": "^5.17.
|
|
68
|
+
"publint": "^0.3.1",
|
|
69
|
+
"svelte": "^5.17.3",
|
|
70
70
|
"svelte-check": "^4.1.3",
|
|
71
71
|
"typescript": "^5.7.3",
|
|
72
72
|
"typescript-eslint": "^8.19.1",
|