noph-ui 0.6.8 → 0.6.10

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.
@@ -12,6 +12,7 @@
12
12
  subhead,
13
13
  supportingText,
14
14
  action,
15
+ children,
15
16
  ...attributes
16
17
  }: CardProps = $props()
17
18
 
@@ -50,6 +51,9 @@
50
51
  {supportingText}
51
52
  </span>
52
53
  {/if}
54
+ {#if children}
55
+ {@render children()}
56
+ {/if}
53
57
  {#if action}
54
58
  <div class="np-card-action">{@render action()}</div>
55
59
  {/if}
@@ -193,7 +197,7 @@
193
197
  display: grid;
194
198
  position: relative;
195
199
  align-self: start;
196
- min-width: calc(100% - 48px);
200
+ min-width: calc(100% - 32px);
197
201
  margin: 1rem;
198
202
  grid-gap: 0.5rem;
199
203
  gap: 0.5rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "noph-ui",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "license": "MIT",
5
5
  "homepage": "https://noph.dev",
6
6
  "repository": {
@@ -55,22 +55,22 @@
55
55
  "@material/material-color-utilities": "^0.3.0",
56
56
  "@playwright/test": "^1.49.1",
57
57
  "@sveltejs/adapter-vercel": "^5.5.2",
58
- "@sveltejs/kit": "^2.12.1",
58
+ "@sveltejs/kit": "^2.13.0",
59
59
  "@sveltejs/package": "^2.3.7",
60
- "@sveltejs/vite-plugin-svelte": "^5.0.2",
60
+ "@sveltejs/vite-plugin-svelte": "^4.0.4",
61
61
  "@types/eslint": "^9.6.1",
62
62
  "eslint": "^9.17.0",
63
63
  "eslint-config-prettier": "^9.1.0",
64
64
  "eslint-plugin-svelte": "^2.46.1",
65
- "globals": "^15.13.0",
65
+ "globals": "^15.14.0",
66
66
  "prettier": "^3.4.2",
67
67
  "prettier-plugin-svelte": "^3.3.2",
68
68
  "publint": "^0.2.12",
69
- "svelte": "^5.14.3",
69
+ "svelte": "^5.15.0",
70
70
  "svelte-check": "^4.1.1",
71
71
  "typescript": "^5.7.2",
72
72
  "typescript-eslint": "^8.18.1",
73
- "vite": "^6.0.3",
73
+ "vite": "^5.1.8",
74
74
  "vitest": "^2.1.8"
75
75
  },
76
76
  "svelte": "./dist/index.js",