@wpic/ui 0.9.32 → 0.9.34

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/COMPONENTS.md CHANGED
@@ -887,3 +887,5 @@ i18n plugin or localStorage dependency.
887
887
  `WChatPanel` keeps its composer in normal flex layout, outside the message scroll viewport. Remove any application CSS that adds a footer mask or extra footer-height padding to `.wpic-chat-panel__messages`. `dockedInset` sets the outer gap of the docked card (default 8px); the card uses the WPIC surface/border tokens, 12px corners and no outer gutter.
888
888
 
889
889
  WSelect defaults to content-sized dropdowns (at least trigger width, capped to viewport). `popoverWidth` remains an explicit width override. WPopover exposes opt-in `fitAnchorContent` alongside `matchAnchorWidth`; other popovers retain exact anchor matching.
890
+
891
+ `WButton variant="text"` renders a background-free action in both resting and hover states. With `active`, icon and label use indigo in light/dark themes; other variants retain their existing active surfaces.
@@ -1,5 +1,5 @@
1
1
  type __VLS_Props = {
2
- variant?: 'primary' | 'secondary' | 'subtle' | 'destructive' | 'ghost' | 'ghost-transparent' | 'outline';
2
+ variant?: 'primary' | 'secondary' | 'subtle' | 'destructive' | 'ghost' | 'ghost-transparent' | 'text' | 'outline';
3
3
  size?: 'xs' | 'sm' | 'md' | 'lg';
4
4
  loading?: boolean;
5
5
  disabled?: boolean;
@@ -26,7 +26,11 @@ type __VLS_Props = {
26
26
  generalConversationLabel?: string;
27
27
  };
28
28
  declare function openWithPrompt(prompt: string): Promise<void>;
29
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
29
+ declare var __VLS_46: {};
30
+ type __VLS_Slots = {} & {
31
+ 'composer-actions'?: (props: typeof __VLS_46) => any;
32
+ };
33
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {
30
34
  openWithPrompt: typeof openWithPrompt;
31
35
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
36
  submit: (value: string) => any;
@@ -61,4 +65,10 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
61
65
  loadingLabel: string;
62
66
  generalConversationLabel: string;
63
67
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
68
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
64
69
  export default _default;
70
+ type __VLS_WithSlots<T, S> = T & {
71
+ new (): {
72
+ $slots: S;
73
+ };
74
+ };
@@ -141,6 +141,7 @@ type __VLS_Props = {
141
141
  variant?: 'default' | 'glass';
142
142
  };
143
143
  type __VLS_Slots = {
144
+ 'composer-actions'?: () => any;
144
145
  composer?: (props: {
145
146
  modelValue: string;
146
147
  placeholder: string;
@@ -6,7 +6,7 @@ type __VLS_Props = {
6
6
  size?: 'sm' | 'md' | 'lg';
7
7
  };
8
8
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
9
- size: "sm" | "md" | "lg";
10
9
  text: string;
10
+ size: "sm" | "md" | "lg";
11
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
12
12
  export default _default;