@wpic/ui 0.9.7 → 0.9.9
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 +9 -0
- package/COMPONENTS.md +8 -0
- package/dist/components/WEditableText.vue.d.ts +19 -0
- package/dist/components/WModal.vue.d.ts +2 -0
- package/dist/components/WPageHeader.vue.d.ts +6 -4
- package/dist/index.d.ts +1 -0
- package/dist/wpic-ui.cjs +62 -62
- package/dist/wpic-ui.css +2 -2
- package/dist/wpic-ui.js +2241 -2184
- package/package.json +10 -1
- package/src/style.css +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## 0.9.9
|
|
2
|
+
|
|
3
|
+
- WModal: add `frameless` presentation surfaces and an independent `ariaLabel`, preserving standard modal defaults.
|
|
4
|
+
|
|
5
|
+
## 0.9.8
|
|
6
|
+
|
|
7
|
+
- WEditableText: inline plain-text Tiptap editor with inherited typography, keyboard confirmation/cancellation and a character limit.
|
|
8
|
+
- WPageHeader: add a title slot for inline heading editing.
|
|
9
|
+
|
|
1
10
|
## 0.9.7
|
|
2
11
|
|
|
3
12
|
- WDatePicker: choose the side with the most available viewport space by default, keep adapting while open, and expose preferred/forced popover placement controls.
|
package/COMPONENTS.md
CHANGED
|
@@ -792,3 +792,11 @@ For a shorter metric card, use `compact`. Use `changePosition="label"` to align
|
|
|
792
792
|
WTable accepts `labels` (`loading`, `results`, `of`, `item`, `items`, `previous`, `next`) and `loadingSpinner=false` for plain loading text. Existing `emptyText` and `searchPlaceholder` remain available. WSelect accepts `searchPlaceholder`, `selectAllLabel`, `clearLabel` and `noResultsLabel`; WFilterBar forwards `selectLabels` to its selects. WDateRangePicker accepts `locale`, `applyLabel`, `previousMonthLabel`, `nextMonthLabel` in addition to translated `presets`, `ariaLabel`, `clearLabel` and `placeholder`.
|
|
793
793
|
|
|
794
794
|
WSelect popovers support `popoverAutoPlacement` to choose the side with the most room and `popoverMinHeight` for a viewport-clamped minimum height. Set `popoverWidth` for compact triggers with longer menu labels.
|
|
795
|
+
|
|
796
|
+
### WEditableText
|
|
797
|
+
|
|
798
|
+
Inline plain-text editing with Tiptap, inheriting the surrounding typography. Props: `modelValue`, required accessible `label`, `placeholder`, `disabled`, `maxLength` (default 160). Emits `update:modelValue` while typing and `commit` on blur. Enter leaves the editor; Escape restores the value from focus. Pasted text is flattened to one line. A blank edit restores the previous value. Use in `WPageHeader`’s `title` slot to rename a heading without a separate input.
|
|
799
|
+
|
|
800
|
+
### WModal presentation surfaces
|
|
801
|
+
|
|
802
|
+
`frameless` removes the panel background, border and shadow for slide/image viewers. Combine with `noPadding` and `hideClose` when the content owns its navigation and close control. `ariaLabel` labels the dialog without rendering a title. Normal modal defaults remain unchanged.
|
|
@@ -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
|
-
|
|
8
|
+
title?: (props: typeof __VLS_5) => any;
|
|
9
9
|
} & {
|
|
10
|
-
|
|
10
|
+
metadata?: (props: typeof __VLS_7) => any;
|
|
11
11
|
} & {
|
|
12
|
-
|
|
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';
|