noph-ui 0.16.17 → 0.16.19

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/README.md CHANGED
@@ -76,8 +76,4 @@ In progress (Breaking changes expected)
76
76
  - Navigation Drawer (Docs missing)
77
77
  - Navigation Rail (Badge is missing + Docs missing)
78
78
  - Tooltips (Positioning missing)
79
-
80
- Pending
81
-
82
79
  - Tabs
83
- - Date Field
package/dist/index.d.ts CHANGED
@@ -13,5 +13,6 @@ export * from './radio/index.js';
13
13
  export * from './ripple/index.js';
14
14
  export * from './select/index.js';
15
15
  export * from './snackbar/index.js';
16
+ export * from './tabs/index.js';
16
17
  export * from './text-field/index.js';
17
18
  export * from './tooltip/index.js';
package/dist/index.js CHANGED
@@ -13,5 +13,6 @@ export * from './radio/index.js';
13
13
  export * from './ripple/index.js';
14
14
  export * from './select/index.js';
15
15
  export * from './snackbar/index.js';
16
+ export * from './tabs/index.js';
16
17
  export * from './text-field/index.js';
17
18
  export * from './tooltip/index.js';
@@ -45,7 +45,9 @@
45
45
  let selectedOption: SelectOption[] = $state(
46
46
  options
47
47
  .filter((option) =>
48
- option.selected || Array.isArray(value) ? value.includes(option.value) : false,
48
+ option.selected || Array.isArray(value)
49
+ ? value.includes(option.value)
50
+ : value === option.value || false,
49
51
  )
50
52
  .map((option) => ({ ...option, selected: true })),
51
53
  )
@@ -514,16 +516,13 @@
514
516
  top: var(--_focus-outline-width, 3px);
515
517
  inset-inline-start: var(--_focus-outline-width, 0);
516
518
  }
517
- .content * {
519
+ .content select {
518
520
  all: unset;
519
521
  color: currentColor;
520
522
  font-size: 1rem;
521
523
  line-height: 1.5rem;
522
524
  overflow-wrap: revert;
523
525
  white-space: revert;
524
- }
525
-
526
- .content select {
527
526
  width: 0;
528
527
  height: 0;
529
528
  visibility: hidden;
@@ -0,0 +1,5 @@
1
+ <script lang="ts">
2
+ const { children } = $props()
3
+ </script>
4
+
5
+ {@render children?.()}
@@ -0,0 +1,5 @@
1
+ declare const PrimaryTab: import("svelte").Component<{
2
+ children: any;
3
+ }, {}, "">;
4
+ type PrimaryTab = ReturnType<typeof PrimaryTab>;
5
+ export default PrimaryTab;
@@ -0,0 +1,5 @@
1
+ <script lang="ts">
2
+ const { children } = $props()
3
+ </script>
4
+
5
+ {@render children?.()}
@@ -0,0 +1,5 @@
1
+ declare const SecondaryTab: import("svelte").Component<{
2
+ children: any;
3
+ }, {}, "">;
4
+ type SecondaryTab = ReturnType<typeof SecondaryTab>;
5
+ export default SecondaryTab;
@@ -0,0 +1,5 @@
1
+ <script lang="ts">
2
+ const { children } = $props()
3
+ </script>
4
+
5
+ {@render children?.()}
@@ -0,0 +1,5 @@
1
+ declare const Tabs: import("svelte").Component<{
2
+ children: any;
3
+ }, {}, "">;
4
+ type Tabs = ReturnType<typeof Tabs>;
5
+ export default Tabs;
@@ -0,0 +1,3 @@
1
+ export { default as Tabs } from './Tabs.svelte';
2
+ export { default as PrimaryTab } from './PrimaryTab.svelte';
3
+ export { default as SecondaryTab } from './SecondaryTab.svelte';
@@ -0,0 +1,3 @@
1
+ export { default as Tabs } from './Tabs.svelte';
2
+ export { default as PrimaryTab } from './PrimaryTab.svelte';
3
+ export { default as SecondaryTab } from './SecondaryTab.svelte';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.16.17",
3
+ "version": "0.16.19",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {
@@ -16,6 +16,7 @@
16
16
  "material",
17
17
  "material 3",
18
18
  "material you",
19
+ "material expressive",
19
20
  "m3",
20
21
  "ui",
21
22
  "frontend",
@@ -52,27 +53,27 @@
52
53
  "svelte": "^5.20.0"
53
54
  },
54
55
  "devDependencies": {
55
- "@eslint/js": "^9.25.1",
56
+ "@eslint/js": "^9.27.0",
56
57
  "@material/material-color-utilities": "^0.3.0",
57
58
  "@playwright/test": "^1.52.0",
58
- "@sveltejs/adapter-vercel": "^5.7.0",
59
- "@sveltejs/kit": "^2.20.7",
59
+ "@sveltejs/adapter-vercel": "^5.7.2",
60
+ "@sveltejs/kit": "^2.21.1",
60
61
  "@sveltejs/package": "^2.3.11",
61
62
  "@sveltejs/vite-plugin-svelte": "^5.0.3",
62
63
  "@types/eslint": "^9.6.1",
63
- "eslint": "^9.25.1",
64
- "eslint-config-prettier": "^10.1.2",
65
- "eslint-plugin-svelte": "^3.5.1",
66
- "globals": "^16.0.0",
64
+ "eslint": "^9.27.0",
65
+ "eslint-config-prettier": "^10.1.5",
66
+ "eslint-plugin-svelte": "^3.8.2",
67
+ "globals": "^16.1.0",
67
68
  "prettier": "^3.5.3",
68
- "prettier-plugin-svelte": "^3.3.3",
69
+ "prettier-plugin-svelte": "^3.4.0",
69
70
  "publint": "^0.3.12",
70
- "svelte": "^5.28.2",
71
- "svelte-check": "^4.1.6",
71
+ "svelte": "^5.32.0",
72
+ "svelte-check": "^4.2.1",
72
73
  "typescript": "^5.8.3",
73
- "typescript-eslint": "^8.31.0",
74
- "vite": "^6.3.3",
75
- "vitest": "^3.1.2"
74
+ "typescript-eslint": "^8.32.1",
75
+ "vite": "^6.3.5",
76
+ "vitest": "^3.1.4"
76
77
  },
77
78
  "svelte": "./dist/index.js",
78
79
  "types": "./dist/index.d.ts",