@porsche-design-system/components-vue 4.0.0 → 4.1.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 +14 -0
- package/cjs/lib/components/InputSearchWrapper.vue_vue_type_script_setup_true_lang.cjs +1 -1
- package/esm/lib/components/InputSearchWrapper.vue.d.ts +5 -1
- package/esm/lib/components/InputSearchWrapper.vue_vue_type_script_setup_true_lang.mjs +1 -0
- package/esm/lib/types.d.ts +9 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -14,6 +14,18 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
14
14
|
|
|
15
15
|
## [Unreleased]
|
|
16
16
|
|
|
17
|
+
## [4.1.0-rc.0] - 2026-05-05
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- `Input Search`: `aria` prop provides additional context for screen reader
|
|
22
|
+
([#4321](https://github.com/porsche-design-system/porsche-design-system/pull/4321))
|
|
23
|
+
|
|
24
|
+
### Fixed
|
|
25
|
+
|
|
26
|
+
- `Tabs Bar`: scrolling page down when below the fold
|
|
27
|
+
([#4392](https://github.com/porsche-design-system/porsche-design-system/pull/4392))
|
|
28
|
+
|
|
17
29
|
## [4.0.0] - 2026-04-29
|
|
18
30
|
|
|
19
31
|
## [4.0.0-rc.2] - 2026-04-28
|
|
@@ -39,6 +51,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0),
|
|
|
39
51
|
|
|
40
52
|
### Fixed
|
|
41
53
|
|
|
54
|
+
- `Multi Select`, `Select`: not correctly updating when options within `p-optgroup` change dynamically
|
|
55
|
+
([#4278](https://github.com/porsche-design-system/porsche-design-system/pull/4279))
|
|
42
56
|
- `Flyout`, `Modal`, `Sheet`: `overflow: clip` causing issues
|
|
43
57
|
([#4296](https://github.com/porsche-design-system/porsche-design-system/pull/4296))
|
|
44
58
|
- `Link Pure`: focus border of slotted anchor
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require(`../../utils.cjs`);let t=require(`vue`);var n=(0,t.defineComponent)({__name:`InputSearchWrapper`,props:{autoComplete:{},clear:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{default:``},disabled:{type:Boolean,default:!1},form:{},hideLabel:{type:[Boolean,Object],default:!1},indicator:{type:Boolean,default:!1},label:{default:``},loading:{type:Boolean,default:!1},maxLength:{},message:{default:``},minLength:{},name:{},placeholder:{default:``},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:`none`},value:{default:``}},emits:[`update:value`,`blur`,`change`,`input`],setup(n,{emit:r}){let i=e.usePrefix(`p-input-search`),a=n,o=(0,t.ref)(),s=r,c=()=>e.syncProperties(o,a);return(0,t.onMounted)(()=>{c(),e.addEventListenerToElementRef(o,`blur`,s),e.addEventListenerToElementRef(o,`change`,s),e.addEventListenerToElementRef(o,`input`,s,e=>{s(`update:value`,e.target.value)})}),(0,t.onUpdated)(c),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)((0,t.unref)(i)),{ref_key:`pdsComponentRef`,ref:o},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},512))}});exports.default=n;
|
|
1
|
+
const e=require(`../../utils.cjs`);let t=require(`vue`);var n=(0,t.defineComponent)({__name:`InputSearchWrapper`,props:{aria:{},autoComplete:{},clear:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{default:``},disabled:{type:Boolean,default:!1},form:{},hideLabel:{type:[Boolean,Object],default:!1},indicator:{type:Boolean,default:!1},label:{default:``},loading:{type:Boolean,default:!1},maxLength:{},message:{default:``},minLength:{},name:{},placeholder:{default:``},readOnly:{type:Boolean,default:!1},required:{type:Boolean,default:!1},state:{default:`none`},value:{default:``}},emits:[`update:value`,`blur`,`change`,`input`],setup(n,{emit:r}){let i=e.usePrefix(`p-input-search`),a=n,o=(0,t.ref)(),s=r,c=()=>e.syncProperties(o,a);return(0,t.onMounted)(()=>{c(),e.addEventListenerToElementRef(o,`blur`,s),e.addEventListenerToElementRef(o,`change`,s),e.addEventListenerToElementRef(o,`input`,s,e=>{s(`update:value`,e.target.value)})}),(0,t.onUpdated)(c),(e,n)=>((0,t.openBlock)(),(0,t.createBlock)((0,t.resolveDynamicComponent)((0,t.unref)(i)),{ref_key:`pdsComponentRef`,ref:o},{default:(0,t.withCtx)(()=>[(0,t.renderSlot)(e.$slots,`default`)]),_:3},512))}});exports.default=n;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import type { BreakpointCustomizable, InputSearchState } from '../types';
|
|
1
|
+
import type { SelectedAriaAttributes, InputSearchAriaAttribute, BreakpointCustomizable, InputSearchState } from '../types';
|
|
2
2
|
type PInputSearchProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Additional ARIA attributes for the native search input (e.g. `role="combobox"`, `aria-expanded`).
|
|
5
|
+
*/
|
|
6
|
+
aria?: SelectedAriaAttributes<InputSearchAriaAttribute>;
|
|
3
7
|
/**
|
|
4
8
|
* Provides a hint to the browser about what type of data the field expects, which can assist with autofill features (e.g., autocomplete='on').
|
|
5
9
|
*/
|
package/esm/lib/types.d.ts
CHANGED
|
@@ -1137,6 +1137,15 @@ export type InputSearchState = FormState;
|
|
|
1137
1137
|
export type InputSearchChangeEventDetail = Event;
|
|
1138
1138
|
export type InputSearchBlurEventDetail = Event;
|
|
1139
1139
|
export type InputSearchInputEventDetail = InputEvent;
|
|
1140
|
+
declare const INPUT_SEARCH_ARIA_ATTRIBUTES: readonly [
|
|
1141
|
+
"role",
|
|
1142
|
+
"aria-autocomplete",
|
|
1143
|
+
"aria-controls",
|
|
1144
|
+
"aria-expanded",
|
|
1145
|
+
"aria-haspopup",
|
|
1146
|
+
"aria-label"
|
|
1147
|
+
];
|
|
1148
|
+
export type InputSearchAriaAttribute = (typeof INPUT_SEARCH_ARIA_ATTRIBUTES)[number];
|
|
1140
1149
|
export type InputTelState = FormState;
|
|
1141
1150
|
export type InputTelChangeEventDetail = Event;
|
|
1142
1151
|
export type InputTelBlurEventDetail = Event;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-vue",
|
|
3
|
-
"version": "4.0.0",
|
|
3
|
+
"version": "4.1.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",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://github.com/porsche-design-system/porsche-design-system"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@porsche-design-system/components-js": "4.0.0"
|
|
24
|
+
"@porsche-design-system/components-js": "4.1.0-rc.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"ag-grid-enterprise": ">= 35.0.0 <36.0.0",
|