@wpic/ui 0.9.0 → 0.9.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## 0.9.2
2
+
3
+ - WCard: add `titleSize="base"` for smaller card titles; default remains `lg`. Action button typography is unchanged.
4
+
5
+ ## 0.9.1
6
+
7
+ - WCard: use text-lg semibold titles in the card header, without changing subtitle, body, or action button typography.
8
+
1
9
  ## 0.9.0
2
10
 
3
11
  - Isolate component Tailwind classes with the native `wpic:` prefix; namespace theme variables, implementation variables, and animations. Responsive host classes no longer depend on stylesheet import order.
package/COMPONENTS.md CHANGED
@@ -210,6 +210,8 @@ click: [e: MouseEvent]
210
210
 
211
211
  ## WCard
212
212
 
213
+ Header titles default to `titleSize="lg"` (`text-lg`, 18px) and semibold weight. Use `titleSize="base"` for `text-base` (16px). This styling applies only to the title wrapper (including a heading in the title slot), not action buttons.
214
+
213
215
  **Import:** `import { WCard } from '@wpic/ui'`
214
216
 
215
217
  **Props:**
@@ -26,6 +26,8 @@ type __VLS_Props = {
26
26
  borderless?: boolean;
27
27
  headerDivider?: boolean;
28
28
  padding?: 'sm' | 'md' | 'lg';
29
+ /** Header title size; does not affect action buttons. */
30
+ titleSize?: 'base' | 'lg';
29
31
  };
30
32
  declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
31
33
  type __VLS_Slots = {} & {
@@ -46,6 +48,7 @@ type __VLS_Slots = {} & {
46
48
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
47
49
  padding: "sm" | "md" | "lg";
48
50
  headerDivider: boolean;
51
+ titleSize: "base" | "lg";
49
52
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
50
53
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
51
54
  export default _default;