@porsche-design-system/components-vue 3.7.0-rc.2 → 3.8.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 +125 -17
- package/cjs/lib/components/ButtonPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/CarouselWrapper.vue.cjs +1 -1
- package/cjs/lib/components/DisplayWrapper.vue.cjs +1 -1
- package/cjs/lib/components/FlyoutWrapper.vue.cjs +1 -1
- package/cjs/lib/components/HeadingWrapper.vue.cjs +1 -1
- package/cjs/lib/components/HeadlineWrapper.vue.cjs +1 -1
- package/cjs/lib/components/LinkPureWrapper.vue.cjs +1 -1
- package/cjs/lib/components/ModalWrapper.vue.cjs +1 -1
- package/cjs/lib/components/SwitchWrapper.vue.cjs +1 -1
- package/cjs/lib/components/TextWrapper.vue.cjs +1 -1
- package/esm/lib/components/BannerWrapper.vue.d.ts +2 -4
- package/esm/lib/components/ButtonPureWrapper.vue.d.ts +3 -3
- package/esm/lib/components/ButtonPureWrapper.vue.mjs +1 -1
- package/esm/lib/components/CarouselWrapper.vue.d.ts +3 -3
- package/esm/lib/components/CarouselWrapper.vue.mjs +4 -4
- package/esm/lib/components/DisplayWrapper.vue.d.ts +3 -3
- package/esm/lib/components/DisplayWrapper.vue.mjs +4 -4
- package/esm/lib/components/FlyoutWrapper.vue.d.ts +5 -7
- package/esm/lib/components/FlyoutWrapper.vue.mjs +6 -6
- package/esm/lib/components/HeadingWrapper.vue.d.ts +3 -3
- package/esm/lib/components/HeadingWrapper.vue.mjs +6 -6
- package/esm/lib/components/HeadlineWrapper.vue.d.ts +3 -3
- package/esm/lib/components/HeadlineWrapper.vue.mjs +4 -4
- package/esm/lib/components/InlineNotificationWrapper.vue.d.ts +2 -6
- package/esm/lib/components/LinkPureWrapper.vue.d.ts +3 -3
- package/esm/lib/components/LinkPureWrapper.vue.mjs +6 -6
- package/esm/lib/components/ModalWrapper.vue.d.ts +11 -6
- package/esm/lib/components/ModalWrapper.vue.mjs +11 -10
- package/esm/lib/components/SwitchWrapper.vue.d.ts +3 -3
- package/esm/lib/components/SwitchWrapper.vue.mjs +6 -6
- package/esm/lib/components/TextFieldWrapperWrapper.vue.d.ts +2 -4
- package/esm/lib/components/TextWrapper.vue.d.ts +3 -3
- package/esm/lib/components/TextWrapper.vue.mjs +4 -4
- package/esm/lib/types.d.ts +36 -28
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -14,11 +14,119 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
14
14
|
|
|
15
15
|
### [Unreleased]
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### 3.8.0-rc.0 - 2023-10-23
|
|
18
18
|
|
|
19
19
|
#### Added
|
|
20
20
|
|
|
21
|
-
-
|
|
21
|
+
- RTL (right-to-left) support for all components
|
|
22
|
+
([#2819](https://github.com/porsche-design-system/porsche-design-system/pull/2819))
|
|
23
|
+
- `Popover` and `Modal` support theme dark and auto
|
|
24
|
+
([#2789](https://github.com/porsche-design-system/porsche-design-system/pull/2789))
|
|
25
|
+
- Styles: `getSkeletonStyle()` and `pds-skeleton()`
|
|
26
|
+
([#2796](https://github.com/porsche-design-system/porsche-design-system/pull/2796))
|
|
27
|
+
- Styles: `motionDuration{Short|Moderate|Long|VeryLong}`, `motionEasing{Base|In|Out}`, and
|
|
28
|
+
`$pds-motion-duration-{short|moderate|long|very-long}`, `$pds-motion-easing-{base|in|out}`
|
|
29
|
+
([#2791](https://github.com/porsche-design-system/porsche-design-system/pull/2791))
|
|
30
|
+
|
|
31
|
+
#### Changed
|
|
32
|
+
|
|
33
|
+
- Styles: `themeDarkBackgroundShading` and `$pds-theme-dark-background-shading` color
|
|
34
|
+
([#2789](https://github.com/porsche-design-system/porsche-design-system/pull/2789))
|
|
35
|
+
- `Spinner` animation was optimized to consume less CPU
|
|
36
|
+
([#2825](https://github.com/porsche-design-system/porsche-design-system/pull/2825))
|
|
37
|
+
|
|
38
|
+
- `Text`, `Display`, `Heading`, `Headline`: Prop values `left | right` of `align` prop are deprecated and mapped to new
|
|
39
|
+
values `start | end` for correct RTL (right-to-left) support
|
|
40
|
+
([#2819](https://github.com/porsche-design-system/porsche-design-system/pull/2819))
|
|
41
|
+
|
|
42
|
+
```diff
|
|
43
|
+
- <p-text align="left"></p-text>
|
|
44
|
+
+ <p-text align="start"></p-text>
|
|
45
|
+
|
|
46
|
+
- <p-text align="right"></p-text>
|
|
47
|
+
+ <p-text align="end"></p-text>
|
|
48
|
+
|
|
49
|
+
- <p-display align="left"></p-display>
|
|
50
|
+
+ <p-display align="start"></p-display>
|
|
51
|
+
|
|
52
|
+
- <p-display align="right"></p-display>
|
|
53
|
+
+ <p-display align="end"></p-display>
|
|
54
|
+
|
|
55
|
+
- <p-heading align="left"></p-heading>
|
|
56
|
+
+ <p-heading align="start"></p-heading>
|
|
57
|
+
|
|
58
|
+
- <p-heading align="right"></p-heading>
|
|
59
|
+
+ <p-heading align="end"></p-heading>
|
|
60
|
+
|
|
61
|
+
- <p-headline align="left"></p-headline>
|
|
62
|
+
+ <p-headline align="start"></p-headline>
|
|
63
|
+
|
|
64
|
+
- <p-headline align="right"></p-headline>
|
|
65
|
+
+ <p-headline align="end"></p-headline>
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
- `Button Pure`, `Link Pure`, `Switch`: Prop values `left | right` of `align-label` prop are deprecated and mapped to
|
|
69
|
+
new values `start | end` for correct RTL (right-to-left) support
|
|
70
|
+
([#2819](https://github.com/porsche-design-system/porsche-design-system/pull/2819))
|
|
71
|
+
|
|
72
|
+
```diff
|
|
73
|
+
- <p-button-pure align-label="left"></p-button-pure>
|
|
74
|
+
+ <p-button-pure align-label="start"></p-button-pure>
|
|
75
|
+
|
|
76
|
+
- <p-button-pure align-label="right"></p-button-pure>
|
|
77
|
+
+ <p-button-pure align-label="end"></p-button-pure>
|
|
78
|
+
|
|
79
|
+
- <p-link-pure align-label="left"></p-link-pure>
|
|
80
|
+
+ <p-link-pure align-label="start"></p-link-pure>
|
|
81
|
+
|
|
82
|
+
- <p-link-pure align-label="right"></p-link-pure>
|
|
83
|
+
+ <p-link-pure align-label="end"></p-link-pure>
|
|
84
|
+
|
|
85
|
+
- <p-switch align-label="left"></p-switch>
|
|
86
|
+
+ <p-switch align-label="start"></p-switch>
|
|
87
|
+
|
|
88
|
+
- <p-switch align-label="right"></p-switch>
|
|
89
|
+
+ <p-switch align-label="end"></p-switch>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
- `Flyout`: Prop values `left | right` of `position` prop are deprecated and mapped to new values `start | end` for
|
|
93
|
+
correct RTL (right-to-left) support
|
|
94
|
+
([#2819](https://github.com/porsche-design-system/porsche-design-system/pull/2819))
|
|
95
|
+
|
|
96
|
+
```diff
|
|
97
|
+
- <p-flyout position="left"></p-flyout>
|
|
98
|
+
+ <p-flyout-pure position="start"></p-flyout>
|
|
99
|
+
|
|
100
|
+
- <p-flyout-pure position="right"></p-flyout>
|
|
101
|
+
+ <p-flyout-pure position="end"></p-flyout>
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
- `Carousel`: Prop value `left` of `align-header` prop is deprecated and mapped to new value `start` for correct RTL
|
|
105
|
+
(right-to-left) support ([#2819](https://github.com/porsche-design-system/porsche-design-system/pull/2819))
|
|
106
|
+
|
|
107
|
+
```diff
|
|
108
|
+
- <p-carousel align-header="left"></p-carousel>
|
|
109
|
+
+ <p-carousel-pure align-header="start"></p-carousel>
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
#### Fixed
|
|
113
|
+
|
|
114
|
+
- `Popover` doesn't get cut off when used within the `Table` component
|
|
115
|
+
([#2814](https://github.com/porsche-design-system/porsche-design-system/pull/2814))
|
|
116
|
+
- `Flyout` and `Modal` with `open="false"` and nested `Accordion` with `open="true"` containing focusable elements like
|
|
117
|
+
links can't be focused anymore ([#2818](https://github.com/porsche-design-system/porsche-design-system/pull/2818))
|
|
118
|
+
- Background for open `Flyout` and `Modal` on iOS Mobile Safari with collapsed address bar is no longer scrollable
|
|
119
|
+
([#2822](https://github.com/porsche-design-system/porsche-design-system/pull/2822))
|
|
120
|
+
- `Tabs Bar` works with translated page content
|
|
121
|
+
([#2847](https://github.com/porsche-design-system/porsche-design-system/pull/2847))
|
|
122
|
+
|
|
123
|
+
### [3.7.0] - 2023-10-04
|
|
124
|
+
|
|
125
|
+
### [3.7.0-rc.2] - 2023-10-04
|
|
126
|
+
|
|
127
|
+
#### Added
|
|
128
|
+
|
|
129
|
+
- Styles: `gridStyles` and `pds-grid()` support basic usage inside `Flyout` component
|
|
22
130
|
([#2756](https://github.com/porsche-design-system/porsche-design-system/pull/2756))
|
|
23
131
|
|
|
24
132
|
#### Fixed
|
|
@@ -346,7 +454,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
346
454
|
- `Wordmark`, `Crest` and `Model Signature` respect parent width/height
|
|
347
455
|
([#2479](https://github.com/porsche-design-system/porsche-design-system/pull/2479))
|
|
348
456
|
- `Button Tile`, `Link Tile` and `Link Tile Model Signature` are using correct border radius of
|
|
349
|
-
|
|
457
|
+
`$pds-border-radius-large` ([#2473](https://github.com/porsche-design-system/porsche-design-system/pull/2473))
|
|
350
458
|
- `Text Field Wrapper` with `input type="search"` has better accessibility for clear button
|
|
351
459
|
([#2476](https://github.com/porsche-design-system/porsche-design-system/pull/2476))
|
|
352
460
|
- `Accordion` layout shift with nested accordions
|
|
@@ -358,7 +466,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
358
466
|
|
|
359
467
|
#### Fixed
|
|
360
468
|
|
|
361
|
-
- Styles: `borderRadiusLarge` and
|
|
469
|
+
- Styles: `borderRadiusLarge` and `$pds-border-radius-large` are exposing correct value
|
|
362
470
|
([#2463](https://github.com/porsche-design-system/porsche-design-system/pull/2463))
|
|
363
471
|
|
|
364
472
|
### [3.0.0-alpha.6] - 2023-04-06
|
|
@@ -511,8 +619,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
511
619
|
|
|
512
620
|
- Styles: ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
513
621
|
- `gridWide`
|
|
514
|
-
- `gridWideColumnStart` and
|
|
515
|
-
- `gridWideColumnEnd` and
|
|
622
|
+
- `gridWideColumnStart` and `$pds-grid-wide-column-start`
|
|
623
|
+
- `gridWideColumnEnd` and `$pds-grid-wide-column-end`
|
|
516
624
|
- `gridNarrowOffset`, `gridNarrowOffsetBase`, `gridNarrowOffsetS`, `gridNarrowOffsetXXL` and
|
|
517
625
|
`$pds-grid-narrow-offset-base`, `$pds-grid-narrow-offset-s`, `$pds-grid-narrow-offset-xxl`
|
|
518
626
|
- `gridBasicOffset`, `gridBasicOffsetBase`, `gridBasicOffsetS`, `gridBasicOffsetXXL` and
|
|
@@ -538,7 +646,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
538
646
|
|
|
539
647
|
#### Changed
|
|
540
648
|
|
|
541
|
-
- Styles: `gridStyles` and `pds-grid` are supporting an additional column range called `wide`
|
|
649
|
+
- Styles: `gridStyles` and `pds-grid()` are supporting an additional column range called `wide`
|
|
542
650
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
543
651
|
- Styles: SCSS version needs to be imported by `@porsche-design-system/components-js/styles` instead of
|
|
544
652
|
`@porsche-design-system/components-js/styles/scss`
|
|
@@ -548,9 +656,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
548
656
|
|
|
549
657
|
- `Banner`: CSS variable `--p-banner-position-type`
|
|
550
658
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
551
|
-
- Styles: `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and
|
|
552
|
-
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
553
|
-
- Styles: `gridWidth`, `gridWidthMin`, `gridWidthMax` and
|
|
659
|
+
- Styles: `gridSafeZone`, `gridSafeZoneBase`, `gridSafeZoneXXL` and `$pds-grid-safe-zone-base`,
|
|
660
|
+
`$pds-grid-safe-zone-xxl` ([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
661
|
+
- Styles: `gridWidth`, `gridWidthMin`, `gridWidthMax` and `$pds-grid-width-min`, `$pds-grid-width-max`
|
|
554
662
|
([#2422](https://github.com/porsche-design-system/porsche-design-system/pull/2422))
|
|
555
663
|
|
|
556
664
|
#### 🤖 Property deprecations 🤖
|
|
@@ -820,11 +928,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
820
928
|
- `Display` supports value `small` for prop `size`
|
|
821
929
|
- Partials: `getInitialStyles` supports multi prefix, e.g.
|
|
822
930
|
`getInitialStyles({ prefix: ['', 'some-prefix', 'another-prefix'] });`
|
|
823
|
-
- Styles: `displaySmallStyle` and
|
|
824
|
-
- Styles: `textXXSmallStyle` and
|
|
931
|
+
- Styles: `displaySmallStyle` and `$pds-display-small`
|
|
932
|
+
- Styles: `textXXSmallStyle` and `$pds-text-xx-small`
|
|
825
933
|
- Styles: `fontSizeDisplaySmall` and `$pds-font-size-display-small`
|
|
826
934
|
- Styles: `fontSizeTextXXSmall` and `$pds-font-size-text-xx-small`
|
|
827
|
-
- Styles: `getHoverStyle` and `pds-hover`
|
|
935
|
+
- Styles: `getHoverStyle` and `pds-hover()`
|
|
828
936
|
- `Banner` has `heading` and `description` prop as well as `slot="heading"` and deprecated `slot="title"`
|
|
829
937
|
- Custom events have consistent names across components and deprecated old event names
|
|
830
938
|
- `Accordion` emits `change` and deprecated `accordionChange` event
|
|
@@ -861,7 +969,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
861
969
|
- `Display` uses font-weight regular and font-style normal
|
|
862
970
|
- Partials: `getInitialStyles` matches new design language
|
|
863
971
|
- Partials: All component related, slotted Light DOM styles have been moved to `getInitialStyles`
|
|
864
|
-
- Styles: `getFocusStyle` and `pds-focus` doesn't need `theme` parameter anymore
|
|
972
|
+
- Styles: `getFocusStyle` and `pds-focus()` doesn't need `theme` parameter anymore
|
|
865
973
|
- Styles: `breakpoint{Base|XS|S|M|L|XL|XXL}` and `$pds-breakpoint-{base|xs|s|m|l|xl|xxl}` are provided as number without
|
|
866
974
|
unit (px)
|
|
867
975
|
- `Link Tile` matches new design language
|
|
@@ -880,7 +988,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
880
988
|
#### Removed
|
|
881
989
|
|
|
882
990
|
- `Heading`: value `xxx-large` for prop `size`
|
|
883
|
-
- Styles: `headingXXXLargeStyle` and
|
|
991
|
+
- Styles: `headingXXXLargeStyle` and `$pds-heading-xxx-large`
|
|
884
992
|
- Styles: `fontSizeHeadingXXLarge` and `$pds-font-size-heading-xx-large`
|
|
885
993
|
|
|
886
994
|
### [3.0.0-alpha.2] - 2023-02-27
|
|
@@ -942,8 +1050,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
942
1050
|
- `Stepper Horizontal` matches new design language
|
|
943
1051
|
- Styles: Optimize design tokens "spacing", "typography" and "theme" provided by styles sub-package
|
|
944
1052
|
`@porsche-design-system/components-{js|angular|react|vue}/styles`
|
|
945
|
-
- Styles: Use calc() instead of max() to calculate padding for `gridStyle` (JS) and `pds-grid` (SCSS)
|
|
946
|
-
- Styles: `gridStyle` (JS) and `pds-grid` (SCSS) uses optimized grid gap
|
|
1053
|
+
- Styles: Use calc() instead of max() to calculate padding for `gridStyle` (JS) and `pds-grid()` (SCSS)
|
|
1054
|
+
- Styles: `gridStyle` (JS) and `pds-grid()` (SCSS) uses optimized grid gap
|
|
947
1055
|
|
|
948
1056
|
### [3.0.0-alpha.0] - 2023-02-08
|
|
949
1057
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),a=require("../../utils.cjs"),s=e.defineComponent({__name:"ButtonPureWrapper",props:{active:{type:Boolean,default:!1},alignLabel:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),a=require("../../utils.cjs"),s=e.defineComponent({__name:"ButtonPureWrapper",props:{active:{type:Boolean,default:!1},alignLabel:{default:"end"},aria:{},disabled:{type:Boolean,default:!1},hideLabel:{default:!1},icon:{default:"arrow-right"},iconSource:{},loading:{type:Boolean,default:!1},size:{default:"small"},stretch:{default:!1},theme:{default:"light"},type:{default:"submit"},weight:{default:"regular"}},setup(n){const o=n,l=a.getPrefixedTagName("p-button-pure"),t=e.ref();return e.onMounted(()=>{a.syncProperties(t.value,o)}),e.onUpdated(()=>{a.syncProperties(t.value,o)}),(r,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},512))}});module.exports=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("../../utils.cjs"),d=e.defineComponent({__name:"CarouselWrapper",props:{activeSlideIndex:{default:0},alignHeader:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),n=require("../../utils.cjs"),d=e.defineComponent({__name:"CarouselWrapper",props:{activeSlideIndex:{default:0},alignHeader:{default:"start"},description:{},disablePagination:{},heading:{},intl:{},pagination:{default:!0},rewind:{type:Boolean,default:!0},skipLinkTarget:{},slidesPerPage:{default:1},theme:{default:"light"},width:{default:"basic"},wrapContent:{type:Boolean}},emits:["carouselChange","update"],setup(r,{emit:a}){const o=r,s=n.getPrefixedTagName("p-carousel"),t=e.ref();return e.onMounted(()=>{n.syncProperties(t.value,o),n.addEventListenerToElementRef(t.value,"carouselChange",a),n.addEventListenerToElementRef(t.value,"update",a)}),e.onUpdated(()=>{n.syncProperties(t.value,o)}),(l,i)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(s)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../../utils.cjs"),l=e.defineComponent({__name:"DisplayWrapper",props:{align:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),o=require("../../utils.cjs"),l=e.defineComponent({__name:"DisplayWrapper",props:{align:{default:"start"},color:{default:"primary"},ellipsis:{type:Boolean,default:!1},size:{default:"large"},tag:{},theme:{default:"light"}},setup(r){const n=r,s=o.getPrefixedTagName("p-display"),t=e.ref();return e.onMounted(()=>{o.syncProperties(t.value,n)}),e.onUpdated(()=>{o.syncProperties(t.value,n)}),(a,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(s)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(a.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../../utils.cjs"),i=e.defineComponent({__name:"FlyoutWrapper",props:{aria:{},open:{type:Boolean,default:!1},position:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),o=require("../../utils.cjs"),i=e.defineComponent({__name:"FlyoutWrapper",props:{aria:{},open:{type:Boolean,default:!1},position:{default:"end"},theme:{default:"light"}},emits:["dismiss"],setup(s,{emit:r}){const n=s,a=o.getPrefixedTagName("p-flyout"),t=e.ref();return e.onMounted(()=>{o.syncProperties(t.value,n),o.addEventListenerToElementRef(t.value,"dismiss",r)}),e.onUpdated(()=>{o.syncProperties(t.value,n)}),(p,l)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(p.$slots,"default")]),_:3},512))}});module.exports=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("../../utils.cjs"),l=e.defineComponent({__name:"HeadingWrapper",props:{align:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),n=require("../../utils.cjs"),l=e.defineComponent({__name:"HeadingWrapper",props:{align:{default:"start"},color:{default:"primary"},ellipsis:{type:Boolean,default:!1},size:{default:"xx-large"},tag:{},theme:{default:"light"}},setup(r){const o=r,a=n.getPrefixedTagName("p-heading"),t=e.ref();return e.onMounted(()=>{n.syncProperties(t.value,o)}),e.onUpdated(()=>{n.syncProperties(t.value,o)}),(s,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),n=require("../../utils.cjs"),l=e.defineComponent({__name:"HeadlineWrapper",props:{align:{default:"start"},color:{default:"primary"},ellipsis:{type:Boolean,default:!1},tag:{},theme:{default:"light"},variant:{default:"headline-1"}},setup(r){const o=r,a=n.getPrefixedTagName("p-headline"),t=e.ref();return e.onMounted(()=>{n.syncProperties(t.value,o)}),e.onUpdated(()=>{n.syncProperties(t.value,o)}),(s,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),a=require("../../utils.cjs"),s=e.defineComponent({__name:"LinkPureWrapper",props:{active:{type:Boolean,default:!1},alignLabel:{default:"end"},aria:{},download:{},hideLabel:{default:!1},href:{},icon:{default:"arrow-right"},iconSource:{},rel:{},size:{default:"small"},stretch:{default:!1},target:{default:"_self"},theme:{default:"light"},underline:{type:Boolean,default:!1},weight:{default:"regular"}},setup(r){const n=r,o=a.getPrefixedTagName("p-link-pure"),t=e.ref();return e.onMounted(()=>{a.syncProperties(t.value,n)}),e.onUpdated(()=>{a.syncProperties(t.value,n)}),(l,u)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(o)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(l.$slots,"default")]),_:3},512))}});module.exports=s;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),
|
|
1
|
+
"use strict";const e=require("vue"),o=require("../../utils.cjs"),d=e.defineComponent({__name:"ModalWrapper",props:{aria:{},disableBackdropClick:{type:Boolean,default:!1},disableCloseButton:{type:Boolean},dismissButton:{type:Boolean,default:!0},fullscreen:{default:!1},heading:{},open:{type:Boolean,default:!1},theme:{default:"light"}},emits:["close","dismiss"],setup(a,{emit:n}){const s=a,l=o.getPrefixedTagName("p-modal"),t=e.ref();return e.onMounted(()=>{o.syncProperties(t.value,s),o.addEventListenerToElementRef(t.value,"close",n),o.addEventListenerToElementRef(t.value,"dismiss",n)}),e.onUpdated(()=>{o.syncProperties(t.value,s)}),(r,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},512))}});module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),n=require("../../utils.cjs"),d=e.defineComponent({__name:"SwitchWrapper",props:{alignLabel:{default:"
|
|
1
|
+
"use strict";const e=require("vue"),n=require("../../utils.cjs"),d=e.defineComponent({__name:"SwitchWrapper",props:{alignLabel:{default:"end"},checked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hideLabel:{default:!1},loading:{type:Boolean,default:!1},stretch:{default:!1},theme:{default:"light"}},emits:["switchChange","update"],setup(s,{emit:a}){const o=s,l=n.getPrefixedTagName("p-switch"),t=e.ref();return e.onMounted(()=>{n.syncProperties(t.value,o),n.addEventListenerToElementRef(t.value,"switchChange",a),n.addEventListenerToElementRef(t.value,"update",a)}),e.onUpdated(()=>{n.syncProperties(t.value,o)}),(r,f)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(l)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(r.$slots,"default")]),_:3},512))}});module.exports=d;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e=require("vue"),o=require("../../utils.cjs"),
|
|
1
|
+
"use strict";const e=require("vue"),o=require("../../utils.cjs"),l=e.defineComponent({__name:"TextWrapper",props:{align:{default:"start"},color:{default:"primary"},ellipsis:{type:Boolean,default:!1},size:{default:"small"},tag:{default:"p"},theme:{default:"light"},weight:{default:"regular"}},setup(n){const r=n,a=o.getPrefixedTagName("p-text"),t=e.ref();return e.onMounted(()=>{o.syncProperties(t.value,r)}),e.onUpdated(()=>{o.syncProperties(t.value,r)}),(s,p)=>(e.openBlock(),e.createBlock(e.resolveDynamicComponent(e.unref(a)),{ref_key:"pdsComponentRef",ref:t},{default:e.withCtx(()=>[e.renderSlot(s.$slots,"default")]),_:3},512))}});module.exports=l;
|
|
@@ -31,7 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
31
|
type: import("vue").PropType<"extended" | "basic" | "fluid">;
|
|
32
32
|
};
|
|
33
33
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
34
|
-
|
|
34
|
+
[x: string]: (...args: unknown[]) => void;
|
|
35
35
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
heading: {
|
|
37
37
|
type: import("vue").PropType<string>;
|
|
@@ -64,9 +64,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
64
64
|
width: {
|
|
65
65
|
type: import("vue").PropType<"extended" | "basic" | "fluid">;
|
|
66
66
|
};
|
|
67
|
-
}
|
|
68
|
-
onDismiss?: ((value?: void | undefined) => any) | undefined;
|
|
69
|
-
}, {
|
|
67
|
+
}>>, {
|
|
70
68
|
heading: string;
|
|
71
69
|
open: boolean;
|
|
72
70
|
theme: "light" | "dark" | "auto";
|
|
@@ -25,7 +25,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
27
|
alignLabel: {
|
|
28
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
28
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
31
|
aria: {
|
|
@@ -76,7 +76,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
76
76
|
default: boolean;
|
|
77
77
|
};
|
|
78
78
|
alignLabel: {
|
|
79
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
79
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
80
80
|
default: string;
|
|
81
81
|
};
|
|
82
82
|
aria: {
|
|
@@ -108,7 +108,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
108
108
|
size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
|
|
109
109
|
theme: "light" | "dark" | "auto";
|
|
110
110
|
active: boolean;
|
|
111
|
-
alignLabel: BreakpointCustomizable<"left" | "right">;
|
|
111
|
+
alignLabel: BreakpointCustomizable<"start" | "end" | "left" | "right">;
|
|
112
112
|
disabled: boolean;
|
|
113
113
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
114
114
|
icon: import("../types").LinkButtonIconName;
|
|
@@ -4,7 +4,7 @@ const B = /* @__PURE__ */ r({
|
|
|
4
4
|
__name: "ButtonPureWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
active: { type: Boolean, default: !1 },
|
|
7
|
-
alignLabel: { default: "
|
|
7
|
+
alignLabel: { default: "end" },
|
|
8
8
|
aria: {},
|
|
9
9
|
disabled: { type: Boolean, default: !1 },
|
|
10
10
|
hideLabel: { default: !1 },
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
alignHeader: {
|
|
22
|
-
type: import("vue").PropType<"center" | "left">;
|
|
22
|
+
type: import("vue").PropType<"center" | "start" | "left">;
|
|
23
23
|
default: string;
|
|
24
24
|
};
|
|
25
25
|
disablePagination: {
|
|
@@ -69,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
69
69
|
default: number;
|
|
70
70
|
};
|
|
71
71
|
alignHeader: {
|
|
72
|
-
type: import("vue").PropType<"center" | "left">;
|
|
72
|
+
type: import("vue").PropType<"center" | "start" | "left">;
|
|
73
73
|
default: string;
|
|
74
74
|
};
|
|
75
75
|
disablePagination: {
|
|
@@ -103,7 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
103
103
|
theme: "light" | "dark" | "auto";
|
|
104
104
|
width: "extended" | "basic";
|
|
105
105
|
activeSlideIndex: number;
|
|
106
|
-
alignHeader: "center" | "left";
|
|
106
|
+
alignHeader: "center" | "start" | "left";
|
|
107
107
|
pagination: BreakpointCustomizable<boolean>;
|
|
108
108
|
rewind: boolean;
|
|
109
109
|
slidesPerPage: BreakpointCustomizable<number>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as p, ref as
|
|
1
|
+
import { defineComponent as p, ref as s, onMounted as i, onUpdated as u, openBlock as f, createBlock as c, resolveDynamicComponent as m, unref as g, withCtx as C, renderSlot as h } from "vue";
|
|
2
2
|
import { getPrefixedTagName as v, syncProperties as n, addEventListenerToElementRef as o } from "../../utils.mjs";
|
|
3
3
|
const y = /* @__PURE__ */ p({
|
|
4
4
|
__name: "CarouselWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
activeSlideIndex: { default: 0 },
|
|
7
|
-
alignHeader: { default: "
|
|
7
|
+
alignHeader: { default: "start" },
|
|
8
8
|
description: {},
|
|
9
9
|
disablePagination: {},
|
|
10
10
|
heading: {},
|
|
@@ -19,8 +19,8 @@ const y = /* @__PURE__ */ p({
|
|
|
19
19
|
},
|
|
20
20
|
emits: ["carouselChange", "update"],
|
|
21
21
|
setup(r, { emit: t }) {
|
|
22
|
-
const a = r, l = v("p-carousel"), e =
|
|
23
|
-
return
|
|
22
|
+
const a = r, l = v("p-carousel"), e = s();
|
|
23
|
+
return i(() => {
|
|
24
24
|
n(e.value, a), o(e.value, "carouselChange", t), o(e.value, "update", t);
|
|
25
25
|
}), u(() => {
|
|
26
26
|
n(e.value, a);
|
|
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
align: {
|
|
15
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
15
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
color: {
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
38
|
align: {
|
|
39
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
39
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
color: {
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
}>>, {
|
|
51
51
|
size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large">;
|
|
52
52
|
theme: "light" | "dark" | "auto";
|
|
53
|
-
align: "center" | "left" | "right";
|
|
53
|
+
align: "center" | "start" | "end" | "left" | "right";
|
|
54
54
|
color: "inherit" | "primary";
|
|
55
55
|
ellipsis: boolean;
|
|
56
56
|
}, {}>, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as s, onUpdated as f, openBlock as d, createBlock as i, resolveDynamicComponent as m, unref as u, withCtx as c, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as y, syncProperties as o } from "../../utils.mjs";
|
|
3
|
-
const k = /* @__PURE__ */
|
|
3
|
+
const k = /* @__PURE__ */ p({
|
|
4
4
|
__name: "DisplayWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
align: { default: "
|
|
6
|
+
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "large" },
|
|
@@ -11,7 +11,7 @@ const k = /* @__PURE__ */ l({
|
|
|
11
11
|
theme: { default: "light" }
|
|
12
12
|
},
|
|
13
13
|
setup(a) {
|
|
14
|
-
const t = a, n = y("p-display"), e =
|
|
14
|
+
const t = a, n = y("p-display"), e = l();
|
|
15
15
|
return s(() => {
|
|
16
16
|
o(e.value, t);
|
|
17
17
|
}), f(() => {
|
|
@@ -13,11 +13,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
13
|
type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
|
|
14
14
|
};
|
|
15
15
|
position: {
|
|
16
|
-
type: import("vue").PropType<"left" | "right">;
|
|
16
|
+
type: import("vue").PropType<"start" | "end" | "left" | "right">;
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
|
-
|
|
20
|
+
[x: string]: (...args: unknown[]) => void;
|
|
21
21
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
22
|
open: {
|
|
23
23
|
type: import("vue").PropType<boolean>;
|
|
@@ -32,15 +32,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
32
|
type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
|
|
33
33
|
};
|
|
34
34
|
position: {
|
|
35
|
-
type: import("vue").PropType<"left" | "right">;
|
|
35
|
+
type: import("vue").PropType<"start" | "end" | "left" | "right">;
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
|
-
}
|
|
39
|
-
onDismiss?: ((value?: void | undefined) => any) | undefined;
|
|
40
|
-
}, {
|
|
38
|
+
}>>, {
|
|
41
39
|
open: boolean;
|
|
42
40
|
theme: "light" | "dark" | "auto";
|
|
43
|
-
position: "left" | "right";
|
|
41
|
+
position: "start" | "end" | "left" | "right";
|
|
44
42
|
}, {}>, {
|
|
45
43
|
default?(_: {}): any;
|
|
46
44
|
}>;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { defineComponent as p, ref as f, onMounted as l, onUpdated as
|
|
2
|
-
import { getPrefixedTagName as C, syncProperties as o, addEventListenerToElementRef as
|
|
1
|
+
import { defineComponent as p, ref as f, onMounted as l, onUpdated as d, openBlock as i, createBlock as m, resolveDynamicComponent as u, unref as c, withCtx as _, renderSlot as y } from "vue";
|
|
2
|
+
import { getPrefixedTagName as C, syncProperties as o, addEventListenerToElementRef as v } from "../../utils.mjs";
|
|
3
3
|
const x = /* @__PURE__ */ p({
|
|
4
4
|
__name: "FlyoutWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
7
7
|
open: { type: Boolean, default: !1 },
|
|
8
|
-
position: { default: "
|
|
8
|
+
position: { default: "end" },
|
|
9
9
|
theme: { default: "light" }
|
|
10
10
|
},
|
|
11
11
|
emits: ["dismiss"],
|
|
12
12
|
setup(n, { emit: r }) {
|
|
13
13
|
const t = n, s = C("p-flyout"), e = f();
|
|
14
14
|
return l(() => {
|
|
15
|
-
o(e.value, t),
|
|
16
|
-
}),
|
|
15
|
+
o(e.value, t), v(e.value, "dismiss", r);
|
|
16
|
+
}), d(() => {
|
|
17
17
|
o(e.value, t);
|
|
18
|
-
}), (a,
|
|
18
|
+
}), (a, g) => (i(), m(u(c(s)), {
|
|
19
19
|
ref_key: "pdsComponentRef",
|
|
20
20
|
ref: e
|
|
21
21
|
}, {
|
|
@@ -12,7 +12,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
12
12
|
default: string;
|
|
13
13
|
};
|
|
14
14
|
align: {
|
|
15
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
15
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
color: {
|
|
@@ -36,7 +36,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
36
36
|
default: string;
|
|
37
37
|
};
|
|
38
38
|
align: {
|
|
39
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
39
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
42
|
color: {
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
}>>, {
|
|
51
51
|
size: BreakpointCustomizable<"inherit" | "small" | "medium" | "large" | "x-large" | "xx-large">;
|
|
52
52
|
theme: "light" | "dark" | "auto";
|
|
53
|
-
align: "center" | "left" | "right";
|
|
53
|
+
align: "center" | "start" | "end" | "left" | "right";
|
|
54
54
|
color: "inherit" | "primary";
|
|
55
55
|
ellipsis: boolean;
|
|
56
56
|
}, {}>, {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as p, ref as l, onMounted as s, onUpdated as f, openBlock as d, createBlock as i, resolveDynamicComponent as m, unref as u, withCtx as c, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as o } from "../../utils.mjs";
|
|
3
|
-
const y = /* @__PURE__ */
|
|
3
|
+
const y = /* @__PURE__ */ p({
|
|
4
4
|
__name: "HeadingWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
align: { default: "
|
|
6
|
+
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "xx-large" },
|
|
@@ -11,10 +11,10 @@ const y = /* @__PURE__ */ l({
|
|
|
11
11
|
theme: { default: "light" }
|
|
12
12
|
},
|
|
13
13
|
setup(n) {
|
|
14
|
-
const t = n, a = _("p-heading"), e =
|
|
15
|
-
return
|
|
14
|
+
const t = n, a = _("p-heading"), e = l();
|
|
15
|
+
return s(() => {
|
|
16
16
|
o(e.value, t);
|
|
17
|
-
}),
|
|
17
|
+
}), f(() => {
|
|
18
18
|
o(e.value, t);
|
|
19
19
|
}), (r, C) => (d(), i(m(u(a)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
align: {
|
|
12
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
12
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
variant: {
|
|
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
35
|
align: {
|
|
36
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
36
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
39
|
variant: {
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
};
|
|
51
51
|
}>>, {
|
|
52
52
|
theme: "light" | "dark" | "auto";
|
|
53
|
-
align: "center" | "left" | "right";
|
|
53
|
+
align: "center" | "start" | "end" | "left" | "right";
|
|
54
54
|
variant: HeadlineVariant;
|
|
55
55
|
color: "default" | "inherit" | "primary";
|
|
56
56
|
ellipsis: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as l, ref as p, onMounted as f, onUpdated as
|
|
1
|
+
import { defineComponent as l, ref as p, onMounted as f, onUpdated as s, openBlock as d, createBlock as i, resolveDynamicComponent as m, unref as u, withCtx as c, renderSlot as _ } from "vue";
|
|
2
2
|
import { getPrefixedTagName as g, syncProperties as o } from "../../utils.mjs";
|
|
3
3
|
const v = /* @__PURE__ */ l({
|
|
4
4
|
__name: "HeadlineWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
align: { default: "
|
|
6
|
+
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
tag: {},
|
|
@@ -14,9 +14,9 @@ const v = /* @__PURE__ */ l({
|
|
|
14
14
|
const t = n, a = g("p-headline"), e = p();
|
|
15
15
|
return f(() => {
|
|
16
16
|
o(e.value, t);
|
|
17
|
-
}),
|
|
17
|
+
}), s(() => {
|
|
18
18
|
o(e.value, t);
|
|
19
|
-
}), (r, h) => (
|
|
19
|
+
}), (r, h) => (d(), i(m(u(a)), {
|
|
20
20
|
ref_key: "pdsComponentRef",
|
|
21
21
|
ref: e
|
|
22
22
|
}, {
|
|
@@ -34,8 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
default: boolean;
|
|
35
35
|
};
|
|
36
36
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
37
|
-
|
|
38
|
-
dismiss: (value?: void | undefined) => void;
|
|
37
|
+
[x: string]: (...args: unknown[]) => void;
|
|
39
38
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
39
|
heading: {
|
|
41
40
|
type: import("vue").PropType<string>;
|
|
@@ -71,10 +70,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
71
70
|
type: import("vue").PropType<boolean>;
|
|
72
71
|
default: boolean;
|
|
73
72
|
};
|
|
74
|
-
}
|
|
75
|
-
onDismiss?: ((value?: void | undefined) => any) | undefined;
|
|
76
|
-
onAction?: ((value?: void | undefined) => any) | undefined;
|
|
77
|
-
}, {
|
|
73
|
+
}>>, {
|
|
78
74
|
heading: string;
|
|
79
75
|
theme: "light" | "dark" | "auto";
|
|
80
76
|
description: string;
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
26
|
alignLabel: {
|
|
27
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
27
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
aria: {
|
|
@@ -80,7 +80,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
80
80
|
default: boolean;
|
|
81
81
|
};
|
|
82
82
|
alignLabel: {
|
|
83
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
83
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
84
84
|
default: string;
|
|
85
85
|
};
|
|
86
86
|
aria: {
|
|
@@ -117,7 +117,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
117
117
|
size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
|
|
118
118
|
theme: "light" | "dark" | "auto";
|
|
119
119
|
active: boolean;
|
|
120
|
-
alignLabel: BreakpointCustomizable<"left" | "right">;
|
|
120
|
+
alignLabel: BreakpointCustomizable<"start" | "end" | "left" | "right">;
|
|
121
121
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
122
122
|
icon: import("../types").LinkButtonIconName;
|
|
123
123
|
target: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as r, ref as f, onMounted as d, onUpdated as u, openBlock as p, createBlock as s, resolveDynamicComponent as i, unref as c, withCtx as m, renderSlot as g } from "vue";
|
|
2
2
|
import { getPrefixedTagName as h, syncProperties as a } from "../../utils.mjs";
|
|
3
|
-
const w = /* @__PURE__ */
|
|
3
|
+
const w = /* @__PURE__ */ r({
|
|
4
4
|
__name: "LinkPureWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
active: { type: Boolean, default: !1 },
|
|
7
|
-
alignLabel: { default: "
|
|
7
|
+
alignLabel: { default: "end" },
|
|
8
8
|
aria: {},
|
|
9
9
|
download: {},
|
|
10
10
|
hideLabel: { default: !1 },
|
|
@@ -20,17 +20,17 @@ const w = /* @__PURE__ */ n({
|
|
|
20
20
|
weight: { default: "regular" }
|
|
21
21
|
},
|
|
22
22
|
setup(o) {
|
|
23
|
-
const t = o,
|
|
23
|
+
const t = o, l = h("p-link-pure"), e = f();
|
|
24
24
|
return d(() => {
|
|
25
25
|
a(e.value, t);
|
|
26
26
|
}), u(() => {
|
|
27
27
|
a(e.value, t);
|
|
28
|
-
}), (
|
|
28
|
+
}), (n, _) => (p(), s(i(c(l)), {
|
|
29
29
|
ref_key: "pdsComponentRef",
|
|
30
30
|
ref: e
|
|
31
31
|
}, {
|
|
32
32
|
default: m(() => [
|
|
33
|
-
g(
|
|
33
|
+
g(n.$slots, "default")
|
|
34
34
|
]),
|
|
35
35
|
_: 3
|
|
36
36
|
}, 512));
|
|
@@ -8,6 +8,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
8
8
|
required: true;
|
|
9
9
|
default: boolean;
|
|
10
10
|
};
|
|
11
|
+
theme: {
|
|
12
|
+
type: import("vue").PropType<"light" | "dark" | "auto">;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
11
15
|
dismissButton: {
|
|
12
16
|
type: import("vue").PropType<boolean>;
|
|
13
17
|
default: boolean;
|
|
@@ -27,8 +31,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
27
31
|
default: boolean;
|
|
28
32
|
};
|
|
29
33
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
30
|
-
|
|
31
|
-
dismiss: (value?: void | undefined) => void;
|
|
34
|
+
[x: string]: (...args: unknown[]) => void;
|
|
32
35
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
33
36
|
heading: {
|
|
34
37
|
type: import("vue").PropType<string>;
|
|
@@ -38,6 +41,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
41
|
required: true;
|
|
39
42
|
default: boolean;
|
|
40
43
|
};
|
|
44
|
+
theme: {
|
|
45
|
+
type: import("vue").PropType<"light" | "dark" | "auto">;
|
|
46
|
+
default: string;
|
|
47
|
+
};
|
|
41
48
|
dismissButton: {
|
|
42
49
|
type: import("vue").PropType<boolean>;
|
|
43
50
|
default: boolean;
|
|
@@ -56,11 +63,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
63
|
type: import("vue").PropType<BreakpointCustomizable<boolean>>;
|
|
57
64
|
default: boolean;
|
|
58
65
|
};
|
|
59
|
-
}
|
|
60
|
-
onDismiss?: ((value?: void | undefined) => any) | undefined;
|
|
61
|
-
onClose?: ((value?: void | undefined) => any) | undefined;
|
|
62
|
-
}, {
|
|
66
|
+
}>>, {
|
|
63
67
|
open: boolean;
|
|
68
|
+
theme: "light" | "dark" | "auto";
|
|
64
69
|
dismissButton: boolean;
|
|
65
70
|
disableBackdropClick: boolean;
|
|
66
71
|
fullscreen: BreakpointCustomizable<boolean>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { getPrefixedTagName as _, syncProperties as
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as d, ref as p, onMounted as f, onUpdated as i, openBlock as u, createBlock as m, resolveDynamicComponent as c, unref as B, withCtx as C, renderSlot as y } from "vue";
|
|
2
|
+
import { getPrefixedTagName as _, syncProperties as a, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
|
+
const k = /* @__PURE__ */ d({
|
|
4
4
|
__name: "ModalWrapper",
|
|
5
5
|
props: {
|
|
6
6
|
aria: {},
|
|
@@ -9,16 +9,17 @@ const b = /* @__PURE__ */ p({
|
|
|
9
9
|
dismissButton: { type: Boolean, default: !0 },
|
|
10
10
|
fullscreen: { default: !1 },
|
|
11
11
|
heading: {},
|
|
12
|
-
open: { type: Boolean, default: !1 }
|
|
12
|
+
open: { type: Boolean, default: !1 },
|
|
13
|
+
theme: { default: "light" }
|
|
13
14
|
},
|
|
14
15
|
emits: ["close", "dismiss"],
|
|
15
|
-
setup(
|
|
16
|
-
const t =
|
|
16
|
+
setup(l, { emit: o }) {
|
|
17
|
+
const t = l, s = _("p-modal"), e = p();
|
|
17
18
|
return f(() => {
|
|
18
|
-
|
|
19
|
+
a(e.value, t), n(e.value, "close", o), n(e.value, "dismiss", o);
|
|
19
20
|
}), i(() => {
|
|
20
|
-
|
|
21
|
-
}), (r, v) => (u(), m(c(B(
|
|
21
|
+
a(e.value, t);
|
|
22
|
+
}), (r, v) => (u(), m(c(B(s)), {
|
|
22
23
|
ref_key: "pdsComponentRef",
|
|
23
24
|
ref: e
|
|
24
25
|
}, {
|
|
@@ -30,5 +31,5 @@ const b = /* @__PURE__ */ p({
|
|
|
30
31
|
}
|
|
31
32
|
});
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
+
k as default
|
|
34
35
|
};
|
|
@@ -9,7 +9,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
default: string;
|
|
10
10
|
};
|
|
11
11
|
alignLabel: {
|
|
12
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
12
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
15
15
|
disabled: {
|
|
@@ -41,7 +41,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
alignLabel: {
|
|
44
|
-
type: import("vue").PropType<BreakpointCustomizable<"left" | "right">>;
|
|
44
|
+
type: import("vue").PropType<BreakpointCustomizable<"start" | "end" | "left" | "right">>;
|
|
45
45
|
default: string;
|
|
46
46
|
};
|
|
47
47
|
disabled: {
|
|
@@ -66,7 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
66
66
|
}, {
|
|
67
67
|
stretch: BreakpointCustomizable<boolean>;
|
|
68
68
|
theme: "light" | "dark" | "auto";
|
|
69
|
-
alignLabel: BreakpointCustomizable<"left" | "right">;
|
|
69
|
+
alignLabel: BreakpointCustomizable<"start" | "end" | "left" | "right">;
|
|
70
70
|
disabled: boolean;
|
|
71
71
|
hideLabel: BreakpointCustomizable<boolean>;
|
|
72
72
|
loading: boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as f, ref as
|
|
1
|
+
import { defineComponent as f, ref as p, onMounted as r, onUpdated as u, openBlock as c, createBlock as i, resolveDynamicComponent as m, unref as h, withCtx as g, renderSlot as C } from "vue";
|
|
2
2
|
import { getPrefixedTagName as _, syncProperties as o, addEventListenerToElementRef as n } from "../../utils.mjs";
|
|
3
3
|
const B = /* @__PURE__ */ f({
|
|
4
4
|
__name: "SwitchWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
alignLabel: { default: "
|
|
6
|
+
alignLabel: { default: "end" },
|
|
7
7
|
checked: { type: Boolean, default: !1 },
|
|
8
8
|
disabled: { type: Boolean, default: !1 },
|
|
9
9
|
hideLabel: { default: !1 },
|
|
@@ -13,17 +13,17 @@ const B = /* @__PURE__ */ f({
|
|
|
13
13
|
},
|
|
14
14
|
emits: ["switchChange", "update"],
|
|
15
15
|
setup(l, { emit: t }) {
|
|
16
|
-
const a = l,
|
|
17
|
-
return
|
|
16
|
+
const a = l, d = _("p-switch"), e = p();
|
|
17
|
+
return r(() => {
|
|
18
18
|
o(e.value, a), n(e.value, "switchChange", t), n(e.value, "update", t);
|
|
19
19
|
}), u(() => {
|
|
20
20
|
o(e.value, a);
|
|
21
|
-
}), (
|
|
21
|
+
}), (s, v) => (c(), i(m(h(d)), {
|
|
22
22
|
ref_key: "pdsComponentRef",
|
|
23
23
|
ref: e
|
|
24
24
|
}, {
|
|
25
25
|
default: g(() => [
|
|
26
|
-
C(
|
|
26
|
+
C(s.$slots, "default")
|
|
27
27
|
]),
|
|
28
28
|
_: 3
|
|
29
29
|
}, 512));
|
|
@@ -51,7 +51,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
51
51
|
default: string;
|
|
52
52
|
};
|
|
53
53
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
54
|
-
|
|
54
|
+
[x: string]: (...args: unknown[]) => void;
|
|
55
55
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
56
56
|
label: {
|
|
57
57
|
type: import("vue").PropType<string>;
|
|
@@ -103,9 +103,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
103
103
|
type: import("vue").PropType<"prefix" | "suffix">;
|
|
104
104
|
default: string;
|
|
105
105
|
};
|
|
106
|
-
}
|
|
107
|
-
onAction?: ((value?: void | undefined) => any) | undefined;
|
|
108
|
-
}, {
|
|
106
|
+
}>>, {
|
|
109
107
|
label: string;
|
|
110
108
|
theme: "light" | "dark" | "auto";
|
|
111
109
|
description: string;
|
|
@@ -17,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
align: {
|
|
20
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
20
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
23
23
|
color: {
|
|
@@ -46,7 +46,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
align: {
|
|
49
|
-
type: import("vue").PropType<"center" | "left" | "right">;
|
|
49
|
+
type: import("vue").PropType<"center" | "start" | "end" | "left" | "right">;
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
52
52
|
color: {
|
|
@@ -62,7 +62,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
62
|
size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
|
|
63
63
|
tag: "time" | "p" | "span" | "div" | "address" | "blockquote" | "figcaption" | "cite" | "legend";
|
|
64
64
|
theme: "light" | "dark" | "auto";
|
|
65
|
-
align: "center" | "left" | "right";
|
|
65
|
+
align: "center" | "start" | "end" | "left" | "right";
|
|
66
66
|
color: "default" | "inherit" | "primary" | "contrast-low" | "contrast-medium" | "contrast-high" | "notification-success" | "notification-warning" | "notification-error" | "notification-info" | "brand" | "neutral-contrast-low" | "neutral-contrast-medium" | "neutral-contrast-high" | "notification-neutral";
|
|
67
67
|
ellipsis: boolean;
|
|
68
68
|
}, {}>, {
|
|
@@ -3,7 +3,7 @@ import { getPrefixedTagName as _, syncProperties as o } from "../../utils.mjs";
|
|
|
3
3
|
const y = /* @__PURE__ */ l({
|
|
4
4
|
__name: "TextWrapper",
|
|
5
5
|
props: {
|
|
6
|
-
align: { default: "
|
|
6
|
+
align: { default: "start" },
|
|
7
7
|
color: { default: "primary" },
|
|
8
8
|
ellipsis: { type: Boolean, default: !1 },
|
|
9
9
|
size: { default: "small" },
|
|
@@ -12,17 +12,17 @@ const y = /* @__PURE__ */ l({
|
|
|
12
12
|
weight: { default: "regular" }
|
|
13
13
|
},
|
|
14
14
|
setup(a) {
|
|
15
|
-
const t = a,
|
|
15
|
+
const t = a, r = _("p-text"), e = p();
|
|
16
16
|
return f(() => {
|
|
17
17
|
o(e.value, t);
|
|
18
18
|
}), s(() => {
|
|
19
19
|
o(e.value, t);
|
|
20
|
-
}), (
|
|
20
|
+
}), (n, C) => (d(), u(m(i(r)), {
|
|
21
21
|
ref_key: "pdsComponentRef",
|
|
22
22
|
ref: e
|
|
23
23
|
}, {
|
|
24
24
|
default: c(() => [
|
|
25
|
-
g(
|
|
25
|
+
g(n.$slots, "default")
|
|
26
26
|
]),
|
|
27
27
|
_: 3
|
|
28
28
|
}, 512));
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -508,11 +508,21 @@ declare const SELECT_DROPDOWN_DIRECTIONS: readonly [
|
|
|
508
508
|
"auto"
|
|
509
509
|
];
|
|
510
510
|
export type SelectDropdownDirection = (typeof SELECT_DROPDOWN_DIRECTIONS)[number];
|
|
511
|
+
declare const TYPOGRAPHY_ALIGNS: readonly [
|
|
512
|
+
"start",
|
|
513
|
+
"center",
|
|
514
|
+
"end",
|
|
515
|
+
"left",
|
|
516
|
+
"right"
|
|
517
|
+
];
|
|
518
|
+
export type TypographyAlign = (typeof TYPOGRAPHY_ALIGNS)[number];
|
|
511
519
|
declare const ALIGN_LABELS: readonly [
|
|
520
|
+
"start",
|
|
521
|
+
"end",
|
|
512
522
|
"left",
|
|
513
523
|
"right"
|
|
514
524
|
];
|
|
515
|
-
export type AlignLabel = typeof ALIGN_LABELS[number];
|
|
525
|
+
export type AlignLabel = (typeof ALIGN_LABELS)[number];
|
|
516
526
|
declare const BUTTON_TYPES: readonly [
|
|
517
527
|
"button",
|
|
518
528
|
"submit",
|
|
@@ -534,12 +544,6 @@ declare const LINK_BUTTON_VARIANTS: readonly [
|
|
|
534
544
|
"tertiary"
|
|
535
545
|
];
|
|
536
546
|
export type LinkButtonVariant = typeof LINK_BUTTON_VARIANTS[number];
|
|
537
|
-
declare const TEXT_ALIGNS: readonly [
|
|
538
|
-
"left",
|
|
539
|
-
"center",
|
|
540
|
-
"right"
|
|
541
|
-
];
|
|
542
|
-
export type TextAlign = typeof TEXT_ALIGNS[number];
|
|
543
547
|
declare const TEXT_COLORS: readonly [
|
|
544
548
|
"primary",
|
|
545
549
|
"contrast-low",
|
|
@@ -557,7 +561,7 @@ declare const TEXT_COLORS: readonly [
|
|
|
557
561
|
"neutral-contrast-high",
|
|
558
562
|
"notification-neutral"
|
|
559
563
|
];
|
|
560
|
-
export type TextColor = typeof TEXT_COLORS[number];
|
|
564
|
+
export type TextColor = (typeof TEXT_COLORS)[number];
|
|
561
565
|
declare const TEXT_SIZES: readonly [
|
|
562
566
|
"xx-small",
|
|
563
567
|
"x-small",
|
|
@@ -567,7 +571,7 @@ declare const TEXT_SIZES: readonly [
|
|
|
567
571
|
"x-large",
|
|
568
572
|
"inherit"
|
|
569
573
|
];
|
|
570
|
-
export type TextSize = typeof TEXT_SIZES[number];
|
|
574
|
+
export type TextSize = (typeof TEXT_SIZES)[number];
|
|
571
575
|
declare const TEXT_WEIGHTS: readonly [
|
|
572
576
|
"regular",
|
|
573
577
|
"semi-bold",
|
|
@@ -575,7 +579,7 @@ declare const TEXT_WEIGHTS: readonly [
|
|
|
575
579
|
"thin",
|
|
576
580
|
"semibold"
|
|
577
581
|
];
|
|
578
|
-
export type TextWeight = typeof TEXT_WEIGHTS[number];
|
|
582
|
+
export type TextWeight = (typeof TEXT_WEIGHTS)[number];
|
|
579
583
|
declare const LINK_TARGETS: readonly [
|
|
580
584
|
"_self",
|
|
581
585
|
"_blank",
|
|
@@ -637,8 +641,9 @@ declare const CAROUSEL_WIDTHS: readonly [
|
|
|
637
641
|
];
|
|
638
642
|
export type CarouselWidth = (typeof CAROUSEL_WIDTHS)[number];
|
|
639
643
|
declare const CAROUSEL_ALIGN_HEADERS: readonly [
|
|
640
|
-
"
|
|
641
|
-
"center"
|
|
644
|
+
"start",
|
|
645
|
+
"center",
|
|
646
|
+
"left"
|
|
642
647
|
];
|
|
643
648
|
export type CarouselAlignHeader = (typeof CAROUSEL_ALIGN_HEADERS)[number];
|
|
644
649
|
export type CarouselInternationalization = Partial<Record<"prev" | "next" | "first" | "last" | "slideLabel" | "slide", string>> | string;
|
|
@@ -683,7 +688,7 @@ declare const DISPLAY_COLORS: readonly [
|
|
|
683
688
|
"inherit"
|
|
684
689
|
];
|
|
685
690
|
export type DisplayColor = (typeof DISPLAY_COLORS)[number];
|
|
686
|
-
export type DisplayAlign =
|
|
691
|
+
export type DisplayAlign = TypographyAlign;
|
|
687
692
|
declare const DIVIDER_COLORS: readonly [
|
|
688
693
|
"contrast-low",
|
|
689
694
|
"contrast-medium",
|
|
@@ -794,6 +799,8 @@ declare const FLEX_ITEM_FLEXS: readonly [
|
|
|
794
799
|
];
|
|
795
800
|
export type FlexItemFlex = typeof FLEX_ITEM_FLEXS[number];
|
|
796
801
|
declare const FLYOUT_POSITIONS: readonly [
|
|
802
|
+
"start",
|
|
803
|
+
"end",
|
|
797
804
|
"left",
|
|
798
805
|
"right"
|
|
799
806
|
];
|
|
@@ -864,7 +871,7 @@ declare const HEADING_COLORS: readonly [
|
|
|
864
871
|
"inherit"
|
|
865
872
|
];
|
|
866
873
|
export type HeadingColor = (typeof HEADING_COLORS)[number];
|
|
867
|
-
export type HeadingAlign =
|
|
874
|
+
export type HeadingAlign = TypographyAlign;
|
|
868
875
|
declare const HEADLINE_VARIANTS: readonly [
|
|
869
876
|
"large-title",
|
|
870
877
|
"headline-1",
|
|
@@ -891,7 +898,7 @@ declare const HEADLINE_COLORS: readonly [
|
|
|
891
898
|
"inherit"
|
|
892
899
|
];
|
|
893
900
|
export type HeadlineColor = (typeof HEADLINE_COLORS)[number];
|
|
894
|
-
export type HeadlineAlign =
|
|
901
|
+
export type HeadlineAlign = TypographyAlign;
|
|
895
902
|
declare const ICON_ARIA_ATTRIBUTES: readonly [
|
|
896
903
|
"aria-label"
|
|
897
904
|
];
|
|
@@ -970,6 +977,18 @@ export type LinkTileModelSignatureHeadingTag = (typeof LINK_TILE_MODEL_SIGNATURE
|
|
|
970
977
|
export type LinkTileModelSignatureWeight = TileWeight;
|
|
971
978
|
export type LinkTileModelSignatureAspectRatio = TileAspectRatio;
|
|
972
979
|
export type LinkTileModelSignatureLinkDirection = GroupDirection;
|
|
980
|
+
declare const MODEL_SIGNATURES_MANIFEST: {
|
|
981
|
+
"718": string;
|
|
982
|
+
"911": string;
|
|
983
|
+
boxster: string;
|
|
984
|
+
cayenne: string;
|
|
985
|
+
cayman: string;
|
|
986
|
+
macan: string;
|
|
987
|
+
panamera: string;
|
|
988
|
+
taycan: string;
|
|
989
|
+
"turbo-s": string;
|
|
990
|
+
turbo: string;
|
|
991
|
+
};
|
|
973
992
|
declare const MARQUE_VARIANTS: readonly [
|
|
974
993
|
"75-years",
|
|
975
994
|
"default"
|
|
@@ -987,18 +1006,6 @@ declare const MODAL_ARIA_ATTRIBUTES: readonly [
|
|
|
987
1006
|
"aria-label"
|
|
988
1007
|
];
|
|
989
1008
|
export type ModalAriaAttribute = (typeof MODAL_ARIA_ATTRIBUTES)[number];
|
|
990
|
-
declare const MODEL_SIGNATURES_MANIFEST: {
|
|
991
|
-
"718": string;
|
|
992
|
-
"911": string;
|
|
993
|
-
boxster: string;
|
|
994
|
-
cayenne: string;
|
|
995
|
-
cayman: string;
|
|
996
|
-
macan: string;
|
|
997
|
-
panamera: string;
|
|
998
|
-
taycan: string;
|
|
999
|
-
"turbo-s": string;
|
|
1000
|
-
turbo: string;
|
|
1001
|
-
};
|
|
1002
1009
|
declare const MODEL_SIGNATURE_SIZES: readonly [
|
|
1003
1010
|
"small",
|
|
1004
1011
|
"inherit"
|
|
@@ -1171,7 +1178,8 @@ declare const TEXT_TAGS: readonly [
|
|
|
1171
1178
|
"time",
|
|
1172
1179
|
"legend"
|
|
1173
1180
|
];
|
|
1174
|
-
export type TextTag = typeof TEXT_TAGS[number];
|
|
1181
|
+
export type TextTag = (typeof TEXT_TAGS)[number];
|
|
1182
|
+
export type TextAlign = TypographyAlign;
|
|
1175
1183
|
declare const UNIT_POSITIONS: readonly [
|
|
1176
1184
|
"prefix",
|
|
1177
1185
|
"suffix"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.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.8.0-rc.0"
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
23
|
"vue": ">=3.0.0 <4.0.0"
|