@wpic/ui 0.9.6 → 0.9.8

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,7 @@
1
+ ## 0.9.7
2
+
3
+ - WDatePicker: choose the side with the most available viewport space by default, keep adapting while open, and expose preferred/forced popover placement controls.
4
+
1
5
  ## 0.9.6
2
6
 
3
7
  - WButton and WSplitButton: add ghost-transparent for inherited foreground, translucent hover surfaces, and subdued resting opacity on colored backgrounds.
@@ -1,3 +1,4 @@
1
+ import { Placement } from '@floating-ui/vue';
1
2
  type __VLS_Props = {
2
3
  modelValue?: string | null;
3
4
  min?: string;
@@ -12,6 +13,12 @@ type __VLS_Props = {
12
13
  disabled?: boolean;
13
14
  clearable?: boolean;
14
15
  clearLabel?: string;
16
+ /** Preferred side. When omitted, Floating UI chooses the side with the most room. */
17
+ popoverPlacement?: Placement;
18
+ /** Override automatic placement. Defaults to true unless popoverPlacement is provided. */
19
+ popoverAutoPlacement?: boolean;
20
+ /** Allow a preferred placement to flip to its opposite side. */
21
+ popoverFlip?: boolean;
15
22
  };
16
23
  declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
24
  "update:modelValue": (value: string) => any;
@@ -26,6 +33,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
26
33
  placeholder: string;
27
34
  clearable: boolean;
28
35
  clearLabel: string;
36
+ popoverFlip: boolean;
29
37
  ariaLabel: string;
30
38
  locale: string;
31
39
  weekStartsOn: 0 | 1;
@@ -0,0 +1,19 @@
1
+ type __VLS_Props = {
2
+ modelValue: string;
3
+ label: string;
4
+ placeholder?: string;
5
+ disabled?: boolean;
6
+ maxLength?: number;
7
+ };
8
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ "update:modelValue": (value: string) => any;
10
+ commit: (value: string) => any;
11
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
12
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
+ onCommit?: ((value: string) => any) | undefined;
14
+ }>, {
15
+ disabled: boolean;
16
+ placeholder: string;
17
+ maxLength: number;
18
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
19
+ export default _default;
@@ -3,13 +3,15 @@ type __VLS_Props = {
3
3
  description?: string;
4
4
  headingLevel?: 1 | 2;
5
5
  };
6
- declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {};
6
+ declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
7
7
  type __VLS_Slots = {} & {
8
- metadata?: (props: typeof __VLS_5) => any;
8
+ title?: (props: typeof __VLS_5) => any;
9
9
  } & {
10
- actions?: (props: typeof __VLS_7) => any;
10
+ metadata?: (props: typeof __VLS_7) => any;
11
11
  } & {
12
- filters?: (props: typeof __VLS_9) => any;
12
+ actions?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ filters?: (props: typeof __VLS_11) => any;
13
15
  };
14
16
  declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
17
  headingLevel: 1 | 2;
package/dist/index.d.ts CHANGED
@@ -87,3 +87,4 @@ export { default as WPageHeader } from './components/WPageHeader.vue';
87
87
  export { ui5Theme, themeVariables, chartPalettes, useWTheme } from './theme';
88
88
  export type { WThemeMode, WThemeColors, WThemeOverrides } from './theme';
89
89
  export { default as WTrendBadge } from './components/WTrendBadge.vue';
90
+ export { default as WEditableText } from './components/WEditableText.vue';