@wpic/ui 0.9.0 → 0.9.1

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/wpic-ui.css CHANGED
@@ -68,6 +68,10 @@
68
68
  .wpic-card--padding-sm { --wpic-card-padding-x: 0.75rem; --wpic-card-padding-y: 0.75rem; --wpic-card-empty-padding-y: 0.75rem; }
69
69
  .wpic-card--padding-md { --wpic-card-padding-x: 1rem; --wpic-card-padding-y: 1rem; --wpic-card-empty-padding-y: 1rem; }
70
70
  .wpic-card--padding-lg { --wpic-card-padding-x: 1.5rem; --wpic-card-padding-y: 1.5rem; --wpic-card-empty-padding-y: 1.5rem; }
71
+ .wpic-card__title > :where(h1, h2, h3, h4, h5, h6) {
72
+ font: inherit;
73
+ margin: 0;
74
+ }
71
75
  .wpic-card__header {
72
76
  padding: 0.75rem var(--wpic-card-padding-x);
73
77
  }
package/dist/wpic-ui.js CHANGED
@@ -3470,7 +3470,7 @@ const T6 = {
3470
3470
  ])) : h("", !0)
3471
3471
  ], 10, K6));
3472
3472
  }
3473
- }), _6 = { class: "wpic:flex wpic:items-center wpic:gap-2" }, n9 = { class: "wpic:font-medium wpic:text-zinc-800 wpic:dark:text-zinc-200 wpic:flex-1 wpic:min-w-0 wpic:truncate" }, e9 = {
3473
+ }), _6 = { class: "wpic:flex wpic:items-center wpic:gap-2" }, n9 = { class: "wpic-card__title wpic:text-lg wpic:font-semibold wpic:text-zinc-800 wpic:dark:text-zinc-200 wpic:flex-1 wpic:min-w-0 wpic:truncate" }, e9 = {
3474
3474
  key: 0,
3475
3475
  class: "wpic:text-sm wpic:text-zinc-500 wpic:dark:text-zinc-400"
3476
3476
  }, c9 = {
@@ -3501,7 +3501,7 @@ const T6 = {
3501
3501
  }, [
3502
3502
  i("div", _6, [
3503
3503
  Q(w.$slots, "icon"),
3504
- i("span", n9, [
3504
+ i("div", n9, [
3505
3505
  Q(w.$slots, "title", {}, () => [
3506
3506
  v1(m(n.title), 1)
3507
3507
  ])
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wpic/ui",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "type": "module",
5
5
  "description": "WPIC shared Vue 3 component library",
6
6
  "publishConfig": {
package/src/style.css CHANGED
@@ -67,6 +67,10 @@
67
67
  .wpic-card--padding-sm { --wpic-card-padding-x: 0.75rem; --wpic-card-padding-y: 0.75rem; --wpic-card-empty-padding-y: 0.75rem; }
68
68
  .wpic-card--padding-md { --wpic-card-padding-x: 1rem; --wpic-card-padding-y: 1rem; --wpic-card-empty-padding-y: 1rem; }
69
69
  .wpic-card--padding-lg { --wpic-card-padding-x: 1.5rem; --wpic-card-padding-y: 1.5rem; --wpic-card-empty-padding-y: 1.5rem; }
70
+ .wpic-card__title > :where(h1, h2, h3, h4, h5, h6) {
71
+ font: inherit;
72
+ margin: 0;
73
+ }
70
74
  .wpic-card__header {
71
75
  padding: 0.75rem var(--wpic-card-padding-x);
72
76
  }