@wpic/ui 0.7.7 → 0.8.1
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 +14 -0
- package/COMPONENTS.md +6 -20
- package/dist/components/WChatPanel.vue.d.ts +1 -1
- package/dist/components/WPopover.vue.d.ts +1 -1
- package/dist/components/WSlidePanel.vue.d.ts +23 -14
- package/dist/index.d.ts +0 -1
- package/dist/wpic-ui.cjs +60 -60
- package/dist/wpic-ui.css +14 -3
- package/dist/wpic-ui.js +2251 -2315
- package/package.json +1 -1
- package/src/style.css +13 -2
- package/dist/components/WSidePanel.vue.d.ts +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## 0.8.1
|
|
2
|
+
|
|
3
|
+
- Keep WCard borders visible when table rows are hovered: use the theme border instead of an inset shadow covered by child backgrounds.
|
|
4
|
+
- Give WTable headers, rows, summaries and fixed cells opaque theme surfaces, including on hover, so horizontally scrolled content cannot show through.
|
|
5
|
+
- Add a separator at the fixed column edge and keep summary columns aligned with expandable/selectable tables.
|
|
6
|
+
|
|
7
|
+
## 0.8.0
|
|
8
|
+
|
|
9
|
+
- Consolidate side panels into `WSlidePanel`; remove `WSidePanel`.
|
|
10
|
+
- Migrate `:open` / `@close` to `:model-value` / `@update:model-value` (or `v-model`). CSS widths such as `500px` and existing width classes are supported.
|
|
11
|
+
- Add `noPadding`, `hideHeader`, `subtitle` and `zIndex` for custom panel layouts. Keep `island` and the default 420px width.
|
|
12
|
+
- Share scroll locking across open panels and restore the prior body overflow after the final close or unmount.
|
|
13
|
+
- Respect both Studio's docked chat offset and Perform's Webber offset; constrain panels to the available viewport.
|
|
14
|
+
|
|
1
15
|
# Changelog
|
|
2
16
|
|
|
3
17
|
## 0.7.6
|
package/COMPONENTS.md
CHANGED
|
@@ -491,25 +491,6 @@ size?: 'sm' | 'md' | 'lg'
|
|
|
491
491
|
|
|
492
492
|
---
|
|
493
493
|
|
|
494
|
-
## WSidePanel
|
|
495
|
-
|
|
496
|
-
**Import:** `import { WSidePanel } from '@wpic/ui'`
|
|
497
|
-
|
|
498
|
-
**Props:**
|
|
499
|
-
```ts
|
|
500
|
-
open: boolean
|
|
501
|
-
title?: string
|
|
502
|
-
subtitle?: string
|
|
503
|
-
width?: string // e.g. '420px', '560px' — default 420px
|
|
504
|
-
zIndex?: number // default 50
|
|
505
|
-
```
|
|
506
|
-
|
|
507
|
-
**Emits:**
|
|
508
|
-
```ts
|
|
509
|
-
close: []
|
|
510
|
-
```
|
|
511
|
-
|
|
512
|
-
---
|
|
513
494
|
|
|
514
495
|
## WSkeleton
|
|
515
496
|
|
|
@@ -556,7 +537,12 @@ size?: 'sm' | 'md' | 'lg' // default 'md'
|
|
|
556
537
|
```ts
|
|
557
538
|
modelValue: boolean
|
|
558
539
|
title?: string
|
|
559
|
-
width?: string
|
|
540
|
+
width?: string // default: w-[420px]
|
|
541
|
+
island?: boolean // inset by 12px, rounded corners, responsive viewport limit
|
|
542
|
+
noPadding?: boolean
|
|
543
|
+
hideHeader?: boolean
|
|
544
|
+
subtitle?: string
|
|
545
|
+
zIndex?: number // default 70
|
|
560
546
|
```
|
|
561
547
|
|
|
562
548
|
**Emits:**
|
|
@@ -217,8 +217,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
217
217
|
modelValue: string;
|
|
218
218
|
placeholder: string;
|
|
219
219
|
minWidth: number;
|
|
220
|
-
zIndex: number;
|
|
221
220
|
minHeight: number;
|
|
221
|
+
zIndex: number;
|
|
222
222
|
mentionItems: WChatMentionItem[];
|
|
223
223
|
projects: WChatProject[];
|
|
224
224
|
sessions: WChatSession[];
|
|
@@ -31,10 +31,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
|
|
|
31
31
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
32
32
|
onClose?: (() => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
|
-
zIndex: string | number;
|
|
35
34
|
panelScroll: boolean;
|
|
36
35
|
freezePositionOnOpen: boolean;
|
|
37
36
|
flip: boolean;
|
|
37
|
+
zIndex: string | number;
|
|
38
38
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
39
39
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
40
40
|
export default _default;
|
|
@@ -1,23 +1,32 @@
|
|
|
1
|
-
|
|
1
|
+
declare const _default: __VLS_WithSlots<import('vue').DefineComponent<{
|
|
2
2
|
modelValue: boolean;
|
|
3
3
|
title?: string;
|
|
4
4
|
width?: string;
|
|
5
5
|
island?: boolean;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
default?: (props: typeof __VLS_19) => any;
|
|
12
|
-
} & {
|
|
13
|
-
footer?: (props: typeof __VLS_21) => any;
|
|
14
|
-
};
|
|
15
|
-
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
6
|
+
noPadding?: boolean;
|
|
7
|
+
hideHeader?: boolean;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
zIndex?: number;
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
11
|
"update:modelValue": (v: boolean) => any;
|
|
17
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
+
modelValue: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
width?: string;
|
|
16
|
+
island?: boolean;
|
|
17
|
+
noPadding?: boolean;
|
|
18
|
+
hideHeader?: boolean;
|
|
19
|
+
subtitle?: string;
|
|
20
|
+
zIndex?: number;
|
|
21
|
+
}> & Readonly<{
|
|
18
22
|
"onUpdate:modelValue"?: ((v: boolean) => any) | undefined;
|
|
19
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any
|
|
20
|
-
|
|
23
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
|
|
24
|
+
header?: (props: {}) => any;
|
|
25
|
+
} & {
|
|
26
|
+
default?: (props: {}) => any;
|
|
27
|
+
} & {
|
|
28
|
+
footer?: (props: {}) => any;
|
|
29
|
+
}>;
|
|
21
30
|
export default _default;
|
|
22
31
|
type __VLS_WithSlots<T, S> = T & {
|
|
23
32
|
new (): {
|
package/dist/index.d.ts
CHANGED
|
@@ -25,7 +25,6 @@ export { default as WSpinner } from './components/WSpinner.vue';
|
|
|
25
25
|
export { default as WLoader } from './components/WLoader.vue';
|
|
26
26
|
export { default as WToggle } from './components/WToggle.vue';
|
|
27
27
|
export { default as WModal } from './components/WModal.vue';
|
|
28
|
-
export { default as WSidePanel } from './components/WSidePanel.vue';
|
|
29
28
|
export { default as Modal } from './components/Modal.vue';
|
|
30
29
|
export { default as ToastContainer } from './components/ToastContainer.vue';
|
|
31
30
|
export { default as WTabs } from './components/WTabs.vue';
|