noph-ui 0.14.2 → 0.14.3
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/chip/ChipSet.svelte
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import type {
|
|
2
|
+
import type { ChipSetProps } from './types.ts'
|
|
3
3
|
|
|
4
|
-
let { children }:
|
|
4
|
+
let { children, ...attributes }: ChipSetProps = $props()
|
|
5
5
|
</script>
|
|
6
6
|
|
|
7
7
|
{#if children}
|
|
8
|
-
<div class=
|
|
8
|
+
<div class={['np-chip-set', attributes.class]} role="toolbar">
|
|
9
9
|
{@render children()}
|
|
10
10
|
</div>
|
|
11
11
|
{/if}
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
children?: Snippet;
|
|
4
|
-
};
|
|
5
|
-
declare const ChipSet: import("svelte").Component<$$ComponentProps, {}, "">;
|
|
1
|
+
import type { ChipSetProps } from './types.ts';
|
|
2
|
+
declare const ChipSet: import("svelte").Component<ChipSetProps, {}, "">;
|
|
6
3
|
type ChipSet = ReturnType<typeof ChipSet>;
|
|
7
4
|
export default ChipSet;
|
package/dist/chip/types.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Snippet } from 'svelte';
|
|
2
2
|
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
|
+
export type ChipSetProps = HTMLAttributes<HTMLDivElement>;
|
|
3
4
|
export interface FilterChipProps extends HTMLAttributes<HTMLDivElement> {
|
|
4
5
|
selected?: boolean;
|
|
5
6
|
removable?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "noph-ui",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"homepage": "https://noph.dev",
|
|
6
6
|
"repository": {
|
|
@@ -52,24 +52,25 @@
|
|
|
52
52
|
"svelte": "^5.20.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
+
"@eslint/js": "^9.21.0",
|
|
55
56
|
"@material/material-color-utilities": "^0.3.0",
|
|
56
57
|
"@playwright/test": "^1.50.1",
|
|
57
58
|
"@sveltejs/adapter-vercel": "^5.6.3",
|
|
58
|
-
"@sveltejs/kit": "^2.
|
|
59
|
+
"@sveltejs/kit": "^2.18.0",
|
|
59
60
|
"@sveltejs/package": "^2.3.10",
|
|
60
61
|
"@sveltejs/vite-plugin-svelte": "^5.0.3",
|
|
61
62
|
"@types/eslint": "^9.6.1",
|
|
62
63
|
"eslint": "^9.21.0",
|
|
63
|
-
"eslint-config-prettier": "^10.0.
|
|
64
|
-
"eslint-plugin-svelte": "^3.0.
|
|
64
|
+
"eslint-config-prettier": "^10.0.2",
|
|
65
|
+
"eslint-plugin-svelte": "^3.0.2",
|
|
65
66
|
"globals": "^16.0.0",
|
|
66
|
-
"prettier": "^3.5.
|
|
67
|
+
"prettier": "^3.5.3",
|
|
67
68
|
"prettier-plugin-svelte": "^3.3.3",
|
|
68
|
-
"publint": "^0.3.
|
|
69
|
-
"svelte": "^5.
|
|
69
|
+
"publint": "^0.3.8",
|
|
70
|
+
"svelte": "^5.22.1",
|
|
70
71
|
"svelte-check": "^4.1.4",
|
|
71
|
-
"typescript": "^5.
|
|
72
|
-
"typescript-eslint": "^8.
|
|
72
|
+
"typescript": "^5.8.2",
|
|
73
|
+
"typescript-eslint": "^8.26.0",
|
|
73
74
|
"vite": "^6.2.0",
|
|
74
75
|
"vitest": "^3.0.7"
|
|
75
76
|
},
|