@porsche-design-system/components-vue 3.19.0-rc.4 → 3.20.0-rc.0
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
|
@@ -14,6 +14,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
+
### [3.20.0-rc.0] - 2024-10-18
|
|
18
|
+
|
|
19
|
+
#### Added
|
|
20
|
+
|
|
21
|
+
- `Icon`: `attachment`, `dislike`, `dislike-filled`, `like`, `like-filled`, `new-chat`
|
|
22
|
+
|
|
23
|
+
#### Changed
|
|
24
|
+
|
|
25
|
+
- `Canvas`: Improve UI and UX behaviour
|
|
26
|
+
([#3515](https://github.com/porsche-design-system/porsche-design-system/pull/3515))
|
|
27
|
+
- `Flyout`, `Modal`: Removed default styling for slotted anchors
|
|
28
|
+
([#3515](https://github.com/porsche-design-system/porsche-design-system/pull/3515))
|
|
29
|
+
|
|
30
|
+
### [3.19.0] - 2024-10-14
|
|
31
|
+
|
|
17
32
|
### [3.19.0-rc.4] - 2024-10-14
|
|
18
33
|
|
|
19
34
|
#### Added
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),t=require("../../utils.cjs"),u=e.defineComponent({__name:"CanvasWrapper",props:{sidebarEndIcon:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),t=require("../../utils.cjs"),u=e.defineComponent({__name:"CanvasWrapper",props:{sidebarEndIcon:{default:"menu-lines"},sidebarEndOpen:{type:Boolean,default:!1},sidebarStartIcon:{default:"menu-lines"},sidebarStartOpen:{type:Boolean,default:!1},theme:{}},setup(c){const p=t.usePrefix("p-canvas"),n=c,o=e.ref(),r=e.inject(t.themeInjectionKey),a=()=>t.syncProperties(o,{...n,theme:n.theme||r.value});return e.onMounted(a),e.onUpdated(a),e.watch(r,s=>{t.syncProperties(o,{theme:n.theme||s})}),(s,d)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(p)),{ref_key:"pdsComponentRef",ref:o},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=u;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type { CanvasSidebarEndIcon, CanvasSidebarStartIcon, Theme } from '../types';
|
|
2
2
|
type PCanvasProps = {
|
|
3
3
|
/**
|
|
4
|
-
* The icon to toggle the
|
|
4
|
+
* The icon to toggle the sidebar on the end side
|
|
5
5
|
*/
|
|
6
6
|
sidebarEndIcon?: CanvasSidebarEndIcon;
|
|
7
7
|
/**
|
|
8
|
-
* Open
|
|
8
|
+
* Open the sidebar on the end side
|
|
9
9
|
*/
|
|
10
10
|
sidebarEndOpen?: boolean;
|
|
11
11
|
/**
|
|
12
|
-
* The icon to toggle the
|
|
12
|
+
* The icon to toggle the sidebar on the start side
|
|
13
13
|
*/
|
|
14
14
|
sidebarStartIcon?: CanvasSidebarStartIcon;
|
|
15
15
|
/**
|
|
16
|
-
* Open
|
|
16
|
+
* Open the sidebar on the start side
|
|
17
17
|
*/
|
|
18
18
|
sidebarStartOpen?: boolean;
|
|
19
19
|
/**
|
|
20
|
-
* Adapts the color depending on the theme.
|
|
20
|
+
* Adapts the color depending on the theme.
|
|
21
21
|
*/
|
|
22
22
|
theme?: Theme;
|
|
23
23
|
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { defineComponent as c, ref as f, inject as
|
|
1
|
+
import { defineComponent as c, ref as f, inject as m, onMounted as d, onUpdated as l, watch as i, openBlock as u, createBlock as h, resolveDynamicComponent as y, unref as C, withCtx as _, renderSlot as b } from "vue";
|
|
2
2
|
import { usePrefix as v, themeInjectionKey as B, syncProperties as r } from "../../utils.mjs";
|
|
3
3
|
const I = /* @__PURE__ */ c({
|
|
4
4
|
__name: "CanvasWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
sidebarEndIcon: { default: "
|
|
6
|
+
sidebarEndIcon: { default: "menu-lines" },
|
|
7
7
|
sidebarEndOpen: { type: Boolean, default: !1 },
|
|
8
8
|
sidebarStartIcon: { default: "menu-lines" },
|
|
9
9
|
sidebarStartOpen: { type: Boolean, default: !1 },
|
|
10
10
|
theme: {}
|
|
11
11
|
},
|
|
12
12
|
setup(s) {
|
|
13
|
-
const p = v("p-canvas"), e = s, t = f(), o =
|
|
14
|
-
return
|
|
13
|
+
const p = v("p-canvas"), e = s, t = f(), o = m(B), a = () => r(t, { ...e, theme: e.theme || o.value });
|
|
14
|
+
return d(a), l(a), i(o, (n) => {
|
|
15
15
|
r(t, { theme: e.theme || n });
|
|
16
16
|
}), (n, k) => (u(), h(y(C(p)), {
|
|
17
17
|
ref_key: "pdsComponentRef",
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -233,6 +233,7 @@ declare const ICON_NAMES: readonly [
|
|
|
233
233
|
"arrow-left",
|
|
234
234
|
"arrow-right",
|
|
235
235
|
"arrow-up",
|
|
236
|
+
"attachment",
|
|
236
237
|
"augmented-reality",
|
|
237
238
|
"battery-empty",
|
|
238
239
|
"battery-empty-co2",
|
|
@@ -269,6 +270,8 @@ declare const ICON_NAMES: readonly [
|
|
|
269
270
|
"cubic-capacity",
|
|
270
271
|
"delete",
|
|
271
272
|
"disable",
|
|
273
|
+
"dislike",
|
|
274
|
+
"dislike-filled",
|
|
272
275
|
"document",
|
|
273
276
|
"download",
|
|
274
277
|
"duration",
|
|
@@ -298,6 +301,8 @@ declare const ICON_NAMES: readonly [
|
|
|
298
301
|
"leaf",
|
|
299
302
|
"leather",
|
|
300
303
|
"light",
|
|
304
|
+
"like",
|
|
305
|
+
"like-filled",
|
|
301
306
|
"list",
|
|
302
307
|
"locate",
|
|
303
308
|
"lock",
|
|
@@ -346,6 +351,7 @@ declare const ICON_NAMES: readonly [
|
|
|
346
351
|
"minus",
|
|
347
352
|
"mobile",
|
|
348
353
|
"moon",
|
|
354
|
+
"new-chat",
|
|
349
355
|
"oil-can",
|
|
350
356
|
"parking-brake",
|
|
351
357
|
"parking-light",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.20.0-rc.0",
|
|
4
4
|
"description": "Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"porsche",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "SEE LICENSE IN LICENSE",
|
|
18
18
|
"homepage": "https://designsystem.porsche.com",
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@porsche-design-system/components-js": "3.
|
|
20
|
+
"@porsche-design-system/components-js": "3.20.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"ag-grid-enterprise": ">= 32.0.0 <33.0.0",
|