@wpic/ui 0.9.6 → 0.9.7
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 +4 -0
- package/dist/components/WDatePicker.vue.d.ts +8 -0
- package/dist/wpic-ui.cjs +13 -13
- package/dist/wpic-ui.js +1350 -1343
- package/package.json +1 -1
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;
|