@porsche-design-system/components-react 4.6.0-rc.1 → 4.6.0-rc.3
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 +84 -2
- package/OSS_NOTICE +5532 -2115
- package/cjs/lib/components/ai-tag.wrapper.cjs +1 -1
- package/cjs/lib/components/radio-group.wrapper.cjs +1 -1
- package/esm/lib/components/ai-tag.wrapper.d.ts +4 -4
- package/esm/lib/components/ai-tag.wrapper.mjs +1 -1
- package/esm/lib/components/drilldown.wrapper.d.ts +5 -5
- package/esm/lib/components/flyout.wrapper.d.ts +5 -5
- package/esm/lib/components/input-number.wrapper.d.ts +6 -6
- package/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/esm/lib/components/modal.wrapper.d.ts +5 -5
- package/esm/lib/components/multi-select-option.wrapper.d.ts +2 -2
- package/esm/lib/components/pin-code.wrapper.d.ts +6 -6
- package/esm/lib/components/popover.wrapper.d.ts +5 -5
- package/esm/lib/components/radio-group-option.wrapper.d.ts +4 -4
- package/esm/lib/components/radio-group.wrapper.d.ts +4 -6
- package/esm/lib/components/radio-group.wrapper.mjs +1 -1
- package/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/esm/lib/components/sheet.wrapper.d.ts +5 -5
- package/esm/lib/components/wordmark.wrapper.d.ts +2 -2
- package/esm/lib/types.d.ts +195 -213
- package/package.json +6 -2
- package/skills/pds-knowledge-react/SKILL.md +3 -3
- package/skills/pds-knowledge-react/references/components/p-ai-tag/p-ai-tag.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-button/p-button.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-button-pure/p-button-pure.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-button-tile/p-button-tile.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-carousel/p-carousel.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-drilldown/p-drilldown.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-flyout/p-flyout.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-icon/examples/Overview.tsx +6 -0
- package/skills/pds-knowledge-react/references/components/p-icon/p-icon.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-inline-notification/p-inline-notification.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-input-number/p-input-number.md +3 -3
- package/skills/pds-knowledge-react/references/components/p-input-text/p-input-text.md +3 -3
- package/skills/pds-knowledge-react/references/components/p-link/p-link.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-link-pure/p-link-pure.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-modal/p-modal.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-multi-select/examples/AsyncFilter.tsx +29 -6
- package/skills/pds-knowledge-react/references/components/p-multi-select/p-multi-select.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-pin-code/p-pin-code.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-popover/p-popover.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-radio-group/examples/Form.tsx +2 -2
- package/skills/pds-knowledge-react/references/components/p-radio-group/p-radio-group.md +3 -3
- package/skills/pds-knowledge-react/references/components/p-segmented-control/p-segmented-control.md +2 -2
- package/skills/pds-knowledge-react/references/components/p-select/examples/AsyncFilter.tsx +29 -6
- package/skills/pds-knowledge-react/references/components/p-select/p-select.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-sheet/p-sheet.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-table/p-table.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-tag/p-tag.md +1 -1
- package/skills/pds-knowledge-react/references/components/p-wordmark/p-wordmark.md +1 -1
- package/skills/pds-knowledge-react/references/icons.md +1 -1
- package/ssr/cjs/components/dist/styles/esm/styles-entry.cjs +203 -4
- package/ssr/cjs/components/dist/utils/esm/utils-entry.cjs +267 -40
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/ai-tag.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.cjs +4 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.cjs +1 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/filter-status-announcer.cjs +7 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.cjs +3 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.cjs +3 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.cjs +3 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/no-results-option.cjs +1 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.cjs +7 -3
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.cjs +4 -0
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.cjs +5 -1
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.cjs +3 -4
- package/ssr/cjs/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.cjs +3 -0
- package/ssr/esm/components/dist/styles/esm/styles-entry.mjs +203 -5
- package/ssr/esm/components/dist/utils/esm/utils-entry.mjs +260 -41
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/ai-tag.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/components/radio-group.wrapper.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/carousel.mjs +4 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/drilldown.mjs +1 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/filter-status-announcer.mjs +5 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/flyout.mjs +4 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/modal.mjs +4 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/multi-select.mjs +3 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/no-results-option.mjs +1 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/pin-code.mjs +7 -3
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/radio-group.mjs +4 -0
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/segmented-control.mjs +5 -1
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/select.mjs +3 -4
- package/ssr/esm/components-react/projects/react-ssr-wrapper/src/lib/dsr-components/sheet.mjs +4 -1
- package/ssr/esm/lib/components/ai-tag.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/drilldown.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/flyout.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/input-number.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/input-text.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/modal.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/multi-select-option.wrapper.d.ts +2 -2
- package/ssr/esm/lib/components/pin-code.wrapper.d.ts +6 -6
- package/ssr/esm/lib/components/popover.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/radio-group-option.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/radio-group.wrapper.d.ts +4 -6
- package/ssr/esm/lib/components/segmented-control.wrapper.d.ts +4 -4
- package/ssr/esm/lib/components/sheet.wrapper.d.ts +5 -5
- package/ssr/esm/lib/components/wordmark.wrapper.d.ts +2 -2
- package/ssr/esm/lib/dsr-components/carousel.d.ts +3 -0
- package/ssr/esm/lib/dsr-components/drilldown.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/filter-status-announcer.d.ts +6 -0
- package/ssr/esm/lib/dsr-components/flyout.d.ts +3 -0
- package/ssr/esm/lib/dsr-components/modal.d.ts +3 -0
- package/ssr/esm/lib/dsr-components/multi-select.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/pin-code.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/radio-group.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/segmented-control.d.ts +1 -0
- package/ssr/esm/lib/dsr-components/select.d.ts +1 -1
- package/ssr/esm/lib/dsr-components/sheet.d.ts +3 -0
- package/ssr/esm/lib/types.d.ts +195 -213
package/esm/lib/types.d.ts
CHANGED
|
@@ -326,10 +326,12 @@ declare const ICON_NAMES: readonly [
|
|
|
326
326
|
"compare",
|
|
327
327
|
"compass",
|
|
328
328
|
"configurate",
|
|
329
|
+
"connect-services",
|
|
329
330
|
"copy",
|
|
330
331
|
"country-road",
|
|
331
332
|
"coupe",
|
|
332
333
|
"cubic-capacity",
|
|
334
|
+
"customer-support",
|
|
333
335
|
"cut",
|
|
334
336
|
"delete",
|
|
335
337
|
"disable",
|
|
@@ -489,6 +491,7 @@ declare const ICON_NAMES: readonly [
|
|
|
489
491
|
"shopping-bag-filled",
|
|
490
492
|
"shopping-cart",
|
|
491
493
|
"shopping-cart-filled",
|
|
494
|
+
"shopping-cart-off",
|
|
492
495
|
"sidebar",
|
|
493
496
|
"sidelights",
|
|
494
497
|
"skip-backward",
|
|
@@ -694,6 +697,10 @@ export type BreakpointValues<T> = {
|
|
|
694
697
|
base: T;
|
|
695
698
|
};
|
|
696
699
|
export type BreakpointCustomizable<T> = T | BreakpointValues<T>;
|
|
700
|
+
export type DialogDismissReason = "dismiss-button" | "backdrop" | "escape";
|
|
701
|
+
export type DialogDismissEventDetail = {
|
|
702
|
+
reason: DialogDismissReason;
|
|
703
|
+
};
|
|
697
704
|
declare const LINK_TARGETS: readonly [
|
|
698
705
|
"_self",
|
|
699
706
|
"_blank",
|
|
@@ -784,225 +791,193 @@ export type SelectedAriaAttributes<T extends keyof AriaAttributes> = Pick<AriaAt
|
|
|
784
791
|
export type SelectedAriaRole<T> = {
|
|
785
792
|
role: Extract<AriaRole, T>;
|
|
786
793
|
};
|
|
794
|
+
declare const MARKET_LOCALES: readonly [
|
|
795
|
+
"ar-BH",
|
|
796
|
+
"ar-KW",
|
|
797
|
+
"ar-QA",
|
|
798
|
+
"ar-SA",
|
|
799
|
+
"az-AZ",
|
|
800
|
+
"bg-BG",
|
|
801
|
+
"bs-BA",
|
|
802
|
+
"cs-CZ",
|
|
803
|
+
"cs-SK",
|
|
804
|
+
"da-DK",
|
|
805
|
+
"de-AT",
|
|
806
|
+
"de-CH",
|
|
807
|
+
"de-DE",
|
|
808
|
+
"de-LI",
|
|
809
|
+
"de-LU",
|
|
810
|
+
"el-GR",
|
|
811
|
+
"en",
|
|
812
|
+
"en-AE",
|
|
813
|
+
"en-AE-x-abu-dhabi",
|
|
814
|
+
"en-AE-x-abudhabi",
|
|
815
|
+
"en-AE-x-dubai",
|
|
816
|
+
"en-AL",
|
|
817
|
+
"en-AU",
|
|
818
|
+
"en-BA",
|
|
819
|
+
"en-BG",
|
|
820
|
+
"en-BH",
|
|
821
|
+
"en-BN",
|
|
822
|
+
"en-CA",
|
|
823
|
+
"en-CH",
|
|
824
|
+
"en-CN",
|
|
825
|
+
"en-CW",
|
|
826
|
+
"en-CY",
|
|
827
|
+
"en-CZ",
|
|
828
|
+
"en-DK",
|
|
829
|
+
"en-EE",
|
|
830
|
+
"en-EG",
|
|
831
|
+
"en-FI",
|
|
832
|
+
"en-GB",
|
|
833
|
+
"en-GE",
|
|
834
|
+
"en-GH",
|
|
835
|
+
"en-GI",
|
|
836
|
+
"en-GR",
|
|
837
|
+
"en-HK",
|
|
838
|
+
"en-HR",
|
|
839
|
+
"en-HT",
|
|
840
|
+
"en-ID",
|
|
841
|
+
"en-IE",
|
|
842
|
+
"en-IL",
|
|
843
|
+
"en-IN",
|
|
844
|
+
"en-IS",
|
|
845
|
+
"en-JM",
|
|
846
|
+
"en-JO",
|
|
847
|
+
"en-KH",
|
|
848
|
+
"en-KR",
|
|
849
|
+
"en-KW",
|
|
850
|
+
"en-KZ",
|
|
851
|
+
"en-LB",
|
|
852
|
+
"en-LK",
|
|
853
|
+
"en-LT",
|
|
854
|
+
"en-LV",
|
|
855
|
+
"en-ME",
|
|
856
|
+
"en-MK",
|
|
857
|
+
"en-MN",
|
|
858
|
+
"en-MT",
|
|
859
|
+
"en-MU",
|
|
860
|
+
"en-MY",
|
|
861
|
+
"en-NC",
|
|
862
|
+
"en-NL",
|
|
863
|
+
"en-NO",
|
|
864
|
+
"en-NZ",
|
|
865
|
+
"en-OM",
|
|
866
|
+
"en-PF",
|
|
867
|
+
"en-PH",
|
|
868
|
+
"en-PL",
|
|
869
|
+
"en-PR",
|
|
870
|
+
"en-QA",
|
|
871
|
+
"en-RO",
|
|
872
|
+
"en-RS",
|
|
873
|
+
"en-SA",
|
|
874
|
+
"en-SE",
|
|
875
|
+
"en-SG",
|
|
876
|
+
"en-SI",
|
|
877
|
+
"en-SK",
|
|
878
|
+
"en-TH",
|
|
879
|
+
"en-TR",
|
|
880
|
+
"en-TT",
|
|
881
|
+
"en-TW",
|
|
882
|
+
"en-UA",
|
|
883
|
+
"en-US",
|
|
884
|
+
"en-VE",
|
|
885
|
+
"en-VN",
|
|
886
|
+
"en-XA",
|
|
887
|
+
"en-YE",
|
|
888
|
+
"en-ZA",
|
|
889
|
+
"es-AD",
|
|
890
|
+
"es-AR",
|
|
891
|
+
"es-BO",
|
|
892
|
+
"es-CL",
|
|
893
|
+
"es-CO",
|
|
894
|
+
"es-CR",
|
|
895
|
+
"es-DO",
|
|
896
|
+
"es-EC",
|
|
897
|
+
"es-ES",
|
|
898
|
+
"es-GT",
|
|
899
|
+
"es-HN",
|
|
900
|
+
"es-MX",
|
|
901
|
+
"es-PA",
|
|
902
|
+
"es-PE",
|
|
903
|
+
"es-PR",
|
|
904
|
+
"es-PY",
|
|
905
|
+
"es-SV",
|
|
906
|
+
"es-TT",
|
|
907
|
+
"es-UY",
|
|
908
|
+
"es-VE",
|
|
909
|
+
"et-EE",
|
|
910
|
+
"fi-FI",
|
|
911
|
+
"fr-BE",
|
|
912
|
+
"fr-CA",
|
|
913
|
+
"fr-CH",
|
|
914
|
+
"fr-DZ",
|
|
915
|
+
"fr-FR",
|
|
916
|
+
"fr-GP",
|
|
917
|
+
"fr-LI",
|
|
918
|
+
"fr-LU",
|
|
919
|
+
"fr-MA",
|
|
920
|
+
"fr-MC",
|
|
921
|
+
"fr-MQ",
|
|
922
|
+
"fr-MU",
|
|
923
|
+
"fr-NC",
|
|
924
|
+
"fr-PF",
|
|
925
|
+
"fr-RE",
|
|
926
|
+
"fr-TN",
|
|
927
|
+
"he-IL",
|
|
928
|
+
"hr-HR",
|
|
929
|
+
"hu-HU",
|
|
930
|
+
"hy-AM",
|
|
931
|
+
"is-IS",
|
|
932
|
+
"it-CH",
|
|
933
|
+
"it-IT",
|
|
934
|
+
"ja-JP",
|
|
935
|
+
"ka-GE",
|
|
936
|
+
"ko-KR",
|
|
937
|
+
"lt-LT",
|
|
938
|
+
"lv-LV",
|
|
939
|
+
"me-ME",
|
|
940
|
+
"mk-MK",
|
|
941
|
+
"mt-MT",
|
|
942
|
+
"nb-NO",
|
|
943
|
+
"nl-BE",
|
|
944
|
+
"nl-NL",
|
|
945
|
+
"no-NO",
|
|
946
|
+
"pl-PL",
|
|
947
|
+
"pt-BR",
|
|
948
|
+
"pt-PT",
|
|
949
|
+
"ro-MD",
|
|
950
|
+
"ro-RO",
|
|
951
|
+
"ru-AZ",
|
|
952
|
+
"ru-BY",
|
|
953
|
+
"ru-CY",
|
|
954
|
+
"ru-EE",
|
|
955
|
+
"ru-KZ",
|
|
956
|
+
"ru-LT",
|
|
957
|
+
"ru-LV",
|
|
958
|
+
"ru-RU",
|
|
959
|
+
"ru-UK",
|
|
960
|
+
"ru-UZ",
|
|
961
|
+
"sk-SK",
|
|
962
|
+
"sl-SI",
|
|
963
|
+
"sr-ME",
|
|
964
|
+
"sr-RS",
|
|
965
|
+
"sv-SE",
|
|
966
|
+
"tr-TR",
|
|
967
|
+
"uk-UA",
|
|
968
|
+
"zh-CN",
|
|
969
|
+
"zh-HK",
|
|
970
|
+
"zh-TW"
|
|
971
|
+
];
|
|
972
|
+
export type MarketLocale = (typeof MARKET_LOCALES)[number];
|
|
973
|
+
export type ToPosixLocale<T extends string> = T extends `${infer Head}-${infer Tail}` ? `${Head}_${ToPosixLocale<Tail>}` : T;
|
|
974
|
+
export type AiTagLocale = MarketLocale | ToPosixLocale<MarketLocale>;
|
|
787
975
|
declare const AI_TAG_VARIANTS: readonly [
|
|
788
976
|
"abbreviation",
|
|
789
977
|
"generated",
|
|
790
978
|
"modified"
|
|
791
979
|
];
|
|
792
980
|
export type AiTagVariant = (typeof AI_TAG_VARIANTS)[number];
|
|
793
|
-
declare const AI_TAG_TRANSLATIONS: {
|
|
794
|
-
bg_BG: {
|
|
795
|
-
short: string;
|
|
796
|
-
long: string;
|
|
797
|
-
generated: string;
|
|
798
|
-
modified: string;
|
|
799
|
-
};
|
|
800
|
-
bs_BA: {
|
|
801
|
-
short: string;
|
|
802
|
-
long: string;
|
|
803
|
-
generated: string;
|
|
804
|
-
modified: string;
|
|
805
|
-
};
|
|
806
|
-
cs_CZ: {
|
|
807
|
-
short: string;
|
|
808
|
-
long: string;
|
|
809
|
-
generated: string;
|
|
810
|
-
modified: string;
|
|
811
|
-
};
|
|
812
|
-
da_DK: {
|
|
813
|
-
short: string;
|
|
814
|
-
long: string;
|
|
815
|
-
generated: string;
|
|
816
|
-
modified: string;
|
|
817
|
-
};
|
|
818
|
-
de_DE: {
|
|
819
|
-
short: string;
|
|
820
|
-
long: string;
|
|
821
|
-
generated: string;
|
|
822
|
-
modified: string;
|
|
823
|
-
};
|
|
824
|
-
el_GR: {
|
|
825
|
-
short: string;
|
|
826
|
-
long: string;
|
|
827
|
-
generated: string;
|
|
828
|
-
modified: string;
|
|
829
|
-
};
|
|
830
|
-
en_CY: {
|
|
831
|
-
short: string;
|
|
832
|
-
long: string;
|
|
833
|
-
generated: string;
|
|
834
|
-
modified: string;
|
|
835
|
-
};
|
|
836
|
-
en_GB: {
|
|
837
|
-
short: string;
|
|
838
|
-
long: string;
|
|
839
|
-
generated: string;
|
|
840
|
-
modified: string;
|
|
841
|
-
};
|
|
842
|
-
en_US: {
|
|
843
|
-
short: string;
|
|
844
|
-
long: string;
|
|
845
|
-
generated: string;
|
|
846
|
-
modified: string;
|
|
847
|
-
};
|
|
848
|
-
es_ES: {
|
|
849
|
-
short: string;
|
|
850
|
-
long: string;
|
|
851
|
-
generated: string;
|
|
852
|
-
modified: string;
|
|
853
|
-
};
|
|
854
|
-
et_EE: {
|
|
855
|
-
short: string;
|
|
856
|
-
long: string;
|
|
857
|
-
generated: string;
|
|
858
|
-
modified: string;
|
|
859
|
-
};
|
|
860
|
-
fi_FI: {
|
|
861
|
-
short: string;
|
|
862
|
-
long: string;
|
|
863
|
-
generated: string;
|
|
864
|
-
modified: string;
|
|
865
|
-
};
|
|
866
|
-
fr_FR: {
|
|
867
|
-
short: string;
|
|
868
|
-
long: string;
|
|
869
|
-
generated: string;
|
|
870
|
-
modified: string;
|
|
871
|
-
};
|
|
872
|
-
he_IL: {
|
|
873
|
-
short: string;
|
|
874
|
-
long: string;
|
|
875
|
-
generated: string;
|
|
876
|
-
modified: string;
|
|
877
|
-
};
|
|
878
|
-
hr_HR: {
|
|
879
|
-
short: string;
|
|
880
|
-
long: string;
|
|
881
|
-
generated: string;
|
|
882
|
-
modified: string;
|
|
883
|
-
};
|
|
884
|
-
hu_HU: {
|
|
885
|
-
short: string;
|
|
886
|
-
long: string;
|
|
887
|
-
generated: string;
|
|
888
|
-
modified: string;
|
|
889
|
-
};
|
|
890
|
-
is_IS: {
|
|
891
|
-
short: string;
|
|
892
|
-
long: string;
|
|
893
|
-
generated: string;
|
|
894
|
-
modified: string;
|
|
895
|
-
};
|
|
896
|
-
it_IT: {
|
|
897
|
-
short: string;
|
|
898
|
-
long: string;
|
|
899
|
-
generated: string;
|
|
900
|
-
modified: string;
|
|
901
|
-
};
|
|
902
|
-
lt_LT: {
|
|
903
|
-
short: string;
|
|
904
|
-
long: string;
|
|
905
|
-
generated: string;
|
|
906
|
-
modified: string;
|
|
907
|
-
};
|
|
908
|
-
lv_LV: {
|
|
909
|
-
short: string;
|
|
910
|
-
long: string;
|
|
911
|
-
generated: string;
|
|
912
|
-
modified: string;
|
|
913
|
-
};
|
|
914
|
-
me_ME: {
|
|
915
|
-
short: string;
|
|
916
|
-
long: string;
|
|
917
|
-
generated: string;
|
|
918
|
-
modified: string;
|
|
919
|
-
};
|
|
920
|
-
mk_MK: {
|
|
921
|
-
short: string;
|
|
922
|
-
long: string;
|
|
923
|
-
generated: string;
|
|
924
|
-
modified: string;
|
|
925
|
-
};
|
|
926
|
-
mt_MT: {
|
|
927
|
-
short: string;
|
|
928
|
-
long: string;
|
|
929
|
-
generated: string;
|
|
930
|
-
modified: string;
|
|
931
|
-
};
|
|
932
|
-
nb_NO: {
|
|
933
|
-
short: string;
|
|
934
|
-
long: string;
|
|
935
|
-
generated: string;
|
|
936
|
-
modified: string;
|
|
937
|
-
};
|
|
938
|
-
nl_NL: {
|
|
939
|
-
short: string;
|
|
940
|
-
long: string;
|
|
941
|
-
generated: string;
|
|
942
|
-
modified: string;
|
|
943
|
-
};
|
|
944
|
-
pl_PL: {
|
|
945
|
-
short: string;
|
|
946
|
-
long: string;
|
|
947
|
-
generated: string;
|
|
948
|
-
modified: string;
|
|
949
|
-
};
|
|
950
|
-
pt_PT: {
|
|
951
|
-
short: string;
|
|
952
|
-
long: string;
|
|
953
|
-
generated: string;
|
|
954
|
-
modified: string;
|
|
955
|
-
};
|
|
956
|
-
ro_RO: {
|
|
957
|
-
short: string;
|
|
958
|
-
long: string;
|
|
959
|
-
generated: string;
|
|
960
|
-
modified: string;
|
|
961
|
-
};
|
|
962
|
-
ru_RU: {
|
|
963
|
-
short: string;
|
|
964
|
-
long: string;
|
|
965
|
-
generated: string;
|
|
966
|
-
modified: string;
|
|
967
|
-
};
|
|
968
|
-
sk_SK: {
|
|
969
|
-
short: string;
|
|
970
|
-
long: string;
|
|
971
|
-
generated: string;
|
|
972
|
-
modified: string;
|
|
973
|
-
};
|
|
974
|
-
sl_SI: {
|
|
975
|
-
short: string;
|
|
976
|
-
long: string;
|
|
977
|
-
generated: string;
|
|
978
|
-
modified: string;
|
|
979
|
-
};
|
|
980
|
-
sr_RS: {
|
|
981
|
-
short: string;
|
|
982
|
-
long: string;
|
|
983
|
-
generated: string;
|
|
984
|
-
modified: string;
|
|
985
|
-
};
|
|
986
|
-
sv_SE: {
|
|
987
|
-
short: string;
|
|
988
|
-
long: string;
|
|
989
|
-
generated: string;
|
|
990
|
-
modified: string;
|
|
991
|
-
};
|
|
992
|
-
tr_TR: {
|
|
993
|
-
short: string;
|
|
994
|
-
long: string;
|
|
995
|
-
generated: string;
|
|
996
|
-
modified: string;
|
|
997
|
-
};
|
|
998
|
-
uk_UA: {
|
|
999
|
-
short: string;
|
|
1000
|
-
long: string;
|
|
1001
|
-
generated: string;
|
|
1002
|
-
modified: string;
|
|
1003
|
-
};
|
|
1004
|
-
};
|
|
1005
|
-
export type AiTagLocale = keyof typeof AI_TAG_TRANSLATIONS;
|
|
1006
981
|
declare const BANNER_POSITIONS: readonly [
|
|
1007
982
|
"top",
|
|
1008
983
|
"bottom"
|
|
@@ -1158,6 +1133,7 @@ export type DrilldownAriaAttribute = (typeof DRILLDOWN_ARIA_ATTRIBUTES)[number];
|
|
|
1158
1133
|
export type DrilldownUpdateEventDetail = {
|
|
1159
1134
|
activeIdentifier: string | undefined;
|
|
1160
1135
|
};
|
|
1136
|
+
export type DrilldownDismissEventDetail = DialogDismissEventDetail;
|
|
1161
1137
|
export type DrilldownLinkTarget = LinkTarget;
|
|
1162
1138
|
export type DrilldownLinkAriaAttribute = LinkAriaAttribute;
|
|
1163
1139
|
declare const FIELDSET_LABEL_SIZES: readonly [
|
|
@@ -1217,6 +1193,7 @@ declare const FLYOUT_ARIA_ATTRIBUTES: readonly [
|
|
|
1217
1193
|
export type FlyoutAriaAttribute = (typeof FLYOUT_ARIA_ATTRIBUTES)[number];
|
|
1218
1194
|
export type FlyoutMotionVisibleEndEventDetail = TransitionEvent;
|
|
1219
1195
|
export type FlyoutMotionHiddenEndEventDetail = TransitionEvent;
|
|
1196
|
+
export type FlyoutDismissEventDetail = DialogDismissEventDetail;
|
|
1220
1197
|
export type FlyoutBackdrop = Backdrop;
|
|
1221
1198
|
declare const HEADING_TAGS: readonly [
|
|
1222
1199
|
"h1",
|
|
@@ -1446,6 +1423,7 @@ export type ModalBackground = (typeof MODAL_BACKGROUNDS)[number];
|
|
|
1446
1423
|
export type ModalBackdrop = Backdrop;
|
|
1447
1424
|
export type ModalMotionVisibleEndEventDetail = TransitionEvent;
|
|
1448
1425
|
export type ModalMotionHiddenEndEventDetail = TransitionEvent;
|
|
1426
|
+
export type ModalDismissEventDetail = DialogDismissEventDetail;
|
|
1449
1427
|
declare const MODEL_SIGNATURES_MANIFEST: {
|
|
1450
1428
|
"718": {
|
|
1451
1429
|
src: string;
|
|
@@ -1568,6 +1546,9 @@ declare const POPOVER_ARIA_ATTRIBUTES: readonly [
|
|
|
1568
1546
|
"aria-label"
|
|
1569
1547
|
];
|
|
1570
1548
|
export type PopoverAriaAttribute = (typeof POPOVER_ARIA_ATTRIBUTES)[number];
|
|
1549
|
+
export type PopoverDismissEventDetail = {
|
|
1550
|
+
reason: "outside-click" | "focus-out" | "escape";
|
|
1551
|
+
};
|
|
1571
1552
|
declare const GROUP_DIRECTIONS: readonly [
|
|
1572
1553
|
"row",
|
|
1573
1554
|
"column"
|
|
@@ -1616,6 +1597,7 @@ declare const SHEET_BACKGROUNDS: readonly [
|
|
|
1616
1597
|
export type SheetBackground = (typeof SHEET_BACKGROUNDS)[number];
|
|
1617
1598
|
export type SheetMotionVisibleEndEventDetail = TransitionEvent;
|
|
1618
1599
|
export type SheetMotionHiddenEndEventDetail = TransitionEvent;
|
|
1600
|
+
export type SheetDismissEventDetail = DialogDismissEventDetail;
|
|
1619
1601
|
declare const SPINNER_COLORS: readonly [
|
|
1620
1602
|
"primary",
|
|
1621
1603
|
"inherit"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@porsche-design-system/components-react",
|
|
3
|
-
"version": "4.6.0-rc.
|
|
3
|
+
"version": "4.6.0-rc.3",
|
|
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,12 +21,13 @@
|
|
|
21
21
|
"url": "https://github.com/porsche-design-system/porsche-design-system"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@porsche-design-system/components-js": "4.6.0-rc.
|
|
24
|
+
"@porsche-design-system/components-js": "4.6.0-rc.3"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"ag-grid-community": ">= 36.0.0 <37.0.0",
|
|
28
28
|
"ag-grid-enterprise": ">= 36.0.0 <37.0.0",
|
|
29
29
|
"ag-grid-react": ">= 36.0.0 <37.0.0",
|
|
30
|
+
"jsdom": ">=30.0.0",
|
|
30
31
|
"react": ">=19.0.0 <20.0.0",
|
|
31
32
|
"react-dom": ">=19.0.0 <20.0.0",
|
|
32
33
|
"tailwindcss": ">= 4.0.0 <5.0.0"
|
|
@@ -41,6 +42,9 @@
|
|
|
41
42
|
"ag-grid-react": {
|
|
42
43
|
"optional": true
|
|
43
44
|
},
|
|
45
|
+
"jsdom": {
|
|
46
|
+
"optional": true
|
|
47
|
+
},
|
|
44
48
|
"tailwindcss": {
|
|
45
49
|
"optional": true
|
|
46
50
|
}
|
|
@@ -15,11 +15,11 @@ Prefer Porsche Design System components and tokens for new UI, even when the use
|
|
|
15
15
|
|
|
16
16
|
This skill currently covers components, global stylesheets and theming, tokens, and styling integrations. It does not yet include complete getting-started, setup, and installation guidance; the v3-to-v4 migration guide; the changelog; partials; patterns and templates; the AG Grid theme; or the Storefront’s Must Know and Help sections.
|
|
17
17
|
|
|
18
|
-
Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.6.0-rc.
|
|
18
|
+
Before using documentation outside this skill or the installed package, match it to the installed PDS version. This skill was generated for `4.6.0-rc.3`; prefer the [exact-version Porsche Design System Storefront](https://designsystem.porsche.com/v4.6.0-rc.3/). Major-version URLs such as `/v4/` always serve the latest v4 release and may describe APIs or setup introduced after the installed version. Use them only as a fallback and verify relevant details against the installed package.
|
|
19
19
|
|
|
20
20
|
For runnable patterns and templates, consult the [Porsche Design System examples repository](https://github.com/porsche-design-system/examples), selecting a release tag or commit that matches the installed package instead of assuming its default branch is compatible. For release-specific changes, read `../../CHANGELOG.md`.
|
|
21
21
|
|
|
22
|
-
For exact API facts, inspect the installed typings and metadata first. When readable implementation details are necessary, use the [exact-version component source](https://github.com/porsche-design-system/porsche-design-system/tree/v4.6.0-rc.
|
|
22
|
+
For exact API facts, inspect the installed typings and metadata first. When readable implementation details are necessary, use the [exact-version component source](https://github.com/porsche-design-system/porsche-design-system/tree/v4.6.0-rc.3/packages/components/src/components) under the repository's `packages/components/src/components/<component>` directory. Do not use the default branch, which may represent a newer release.
|
|
23
23
|
|
|
24
24
|
For deployed browser behavior, inspect component requests in the Network panel. Treat these minified, content-hashed CDN artifacts as a debugging fallback; use the exact-version repository source for readable implementation details.
|
|
25
25
|
|
|
@@ -110,7 +110,7 @@ import { PButton, PorscheDesignSystemProvider } from '@porsche-design-system/com
|
|
|
110
110
|
|
|
111
111
|
On the server, the `/ssr` build emits component markup and styles as Declarative Shadow DOM so the browser can create the Shadow DOM before JavaScript runs. In the browser, it initializes like the standard React wrapper. The framework build must replace `process.browser` for its server and client targets and eliminate the unused branch.
|
|
112
112
|
|
|
113
|
-
Framework setup differs. Follow the [Next.js integration guide](https://designsystem.porsche.com/v4.6.0-rc.
|
|
113
|
+
Framework setup differs. Follow the [Next.js integration guide](https://designsystem.porsche.com/v4.6.0-rc.3/developing/next-js/getting-started/) or the [React Router integration guide](https://designsystem.porsche.com/v4.6.0-rc.3/developing/react-router/getting-started/). Remix users should follow the React Router guidance because Remix v2 was upstreamed into React Router.
|
|
114
114
|
|
|
115
115
|
## Stylesheets
|
|
116
116
|
|
|
@@ -11,7 +11,7 @@ The following segment provides instructions for designers and developers regardi
|
|
|
11
11
|
### Do:
|
|
12
12
|
|
|
13
13
|
- Use to indicate AI-generated or AI-assisted content.
|
|
14
|
-
-
|
|
14
|
+
- Prefer BCP47 `locale` values (e.g. `de-DE`, `en-US`, or language-only `en`). POSIX forms (e.g. `de_DE`) are deprecated but still accepted. Copy is resolved by language; markets without a translation fall back to English.
|
|
15
15
|
- Use the `abbreviation` variant for compact contexts where space is limited.
|
|
16
16
|
- Use the `generated` or `modified` variant when a full label improves clarity.
|
|
17
17
|
|
|
@@ -30,7 +30,7 @@ For the `abbreviation` variant, the component uses an `<abbr>` element so the fu
|
|
|
30
30
|
|
|
31
31
|
| Property | Type | Default | Description |
|
|
32
32
|
| --- | --- | --- | --- |
|
|
33
|
-
| `locale` | `'bg_BG'` `'bs_BA'` `'cs_CZ'` `'da_DK'` `'de_DE'` `'el_GR'` `'en_CY'` `'en_GB'` `'en_US'` `'es_ES'` `'et_EE'` `'fi_FI'` `'fr_FR'` `'he_IL'` `'hr_HR'` `'hu_HU'` `'is_IS'` `'it_IT'` `'lt_LT'` `'lv_LV'` `'me_ME'` `'mk_MK'` `'mt_MT'` `'nb_NO'` `'nl_NL'` `'pl_PL'` `'pt_PT'` `'ro_RO'` `'ru_RU'` `'sk_SK'` `'sl_SI'` `'sr_RS'` `'sv_SE'` `'tr_TR'` `'uk_UA'` | `'
|
|
33
|
+
| `locale` | `'ar-BH'` `'ar-KW'` `'ar-QA'` `'ar-SA'` `'az-AZ'` `'bg-BG'` `'bs-BA'` `'cs-CZ'` `'cs-SK'` `'da-DK'` `'de-AT'` `'de-CH'` `'de-DE'` `'de-LI'` `'de-LU'` `'el-GR'` `'en'` `'en-AE'` `'en-AE-x-abu-dhabi'` `'en-AE-x-abudhabi'` `'en-AE-x-dubai'` `'en-AL'` `'en-AU'` `'en-BA'` `'en-BG'` `'en-BH'` `'en-BN'` `'en-CA'` `'en-CH'` `'en-CN'` `'en-CW'` `'en-CY'` `'en-CZ'` `'en-DK'` `'en-EE'` `'en-EG'` `'en-FI'` `'en-GB'` `'en-GE'` `'en-GH'` `'en-GI'` `'en-GR'` `'en-HK'` `'en-HR'` `'en-HT'` `'en-ID'` `'en-IE'` `'en-IL'` `'en-IN'` `'en-IS'` `'en-JM'` `'en-JO'` `'en-KH'` `'en-KR'` `'en-KW'` `'en-KZ'` `'en-LB'` `'en-LK'` `'en-LT'` `'en-LV'` `'en-ME'` `'en-MK'` `'en-MN'` `'en-MT'` `'en-MU'` `'en-MY'` `'en-NC'` `'en-NL'` `'en-NO'` `'en-NZ'` `'en-OM'` `'en-PF'` `'en-PH'` `'en-PL'` `'en-PR'` `'en-QA'` `'en-RO'` `'en-RS'` `'en-SA'` `'en-SE'` `'en-SG'` `'en-SI'` `'en-SK'` `'en-TH'` `'en-TR'` `'en-TT'` `'en-TW'` `'en-UA'` `'en-US'` `'en-VE'` `'en-VN'` `'en-XA'` `'en-YE'` `'en-ZA'` `'es-AD'` `'es-AR'` `'es-BO'` `'es-CL'` `'es-CO'` `'es-CR'` `'es-DO'` `'es-EC'` `'es-ES'` `'es-GT'` `'es-HN'` `'es-MX'` `'es-PA'` `'es-PE'` `'es-PR'` `'es-PY'` `'es-SV'` `'es-TT'` `'es-UY'` `'es-VE'` `'et-EE'` `'fi-FI'` `'fr-BE'` `'fr-CA'` `'fr-CH'` `'fr-DZ'` `'fr-FR'` `'fr-GP'` `'fr-LI'` `'fr-LU'` `'fr-MA'` `'fr-MC'` `'fr-MQ'` `'fr-MU'` `'fr-NC'` `'fr-PF'` `'fr-RE'` `'fr-TN'` `'he-IL'` `'hr-HR'` `'hu-HU'` `'hy-AM'` `'is-IS'` `'it-CH'` `'it-IT'` `'ja-JP'` `'ka-GE'` `'ko-KR'` `'lt-LT'` `'lv-LV'` `'me-ME'` `'mk-MK'` `'mt-MT'` `'nb-NO'` `'nl-BE'` `'nl-NL'` `'no-NO'` `'pl-PL'` `'pt-BR'` `'pt-PT'` `'ro-MD'` `'ro-RO'` `'ru-AZ'` `'ru-BY'` `'ru-CY'` `'ru-EE'` `'ru-KZ'` `'ru-LT'` `'ru-LV'` `'ru-RU'` `'ru-UK'` `'ru-UZ'` `'sk-SK'` `'sl-SI'` `'sr-ME'` `'sr-RS'` `'sv-SE'` `'tr-TR'` `'uk-UA'` `'zh-CN'` `'zh-HK'` `'zh-TW'`<br>_deprecated:_ `'ar_BH'` `'ar_KW'` `'ar_QA'` `'ar_SA'` `'az_AZ'` `'bg_BG'` `'bs_BA'` `'cs_CZ'` `'cs_SK'` `'da_DK'` `'de_AT'` `'de_CH'` `'de_DE'` `'de_LI'` `'de_LU'` `'el_GR'` `'en_AE'` `'en_AE_x_abu_dhabi'` `'en_AE_x_abudhabi'` `'en_AE_x_dubai'` `'en_AL'` `'en_AU'` `'en_BA'` `'en_BG'` `'en_BH'` `'en_BN'` `'en_CA'` `'en_CH'` `'en_CN'` `'en_CW'` `'en_CY'` `'en_CZ'` `'en_DK'` `'en_EE'` `'en_EG'` `'en_FI'` `'en_GB'` `'en_GE'` `'en_GH'` `'en_GI'` `'en_GR'` `'en_HK'` `'en_HR'` `'en_HT'` `'en_ID'` `'en_IE'` `'en_IL'` `'en_IN'` `'en_IS'` `'en_JM'` `'en_JO'` `'en_KH'` `'en_KR'` `'en_KW'` `'en_KZ'` `'en_LB'` `'en_LK'` `'en_LT'` `'en_LV'` `'en_ME'` `'en_MK'` `'en_MN'` `'en_MT'` `'en_MU'` `'en_MY'` `'en_NC'` `'en_NL'` `'en_NO'` `'en_NZ'` `'en_OM'` `'en_PF'` `'en_PH'` `'en_PL'` `'en_PR'` `'en_QA'` `'en_RO'` `'en_RS'` `'en_SA'` `'en_SE'` `'en_SG'` `'en_SI'` `'en_SK'` `'en_TH'` `'en_TR'` `'en_TT'` `'en_TW'` `'en_UA'` `'en_US'` `'en_VE'` `'en_VN'` `'en_XA'` `'en_YE'` `'en_ZA'` `'es_AD'` `'es_AR'` `'es_BO'` `'es_CL'` `'es_CO'` `'es_CR'` `'es_DO'` `'es_EC'` `'es_ES'` `'es_GT'` `'es_HN'` `'es_MX'` `'es_PA'` `'es_PE'` `'es_PR'` `'es_PY'` `'es_SV'` `'es_TT'` `'es_UY'` `'es_VE'` `'et_EE'` `'fi_FI'` `'fr_BE'` `'fr_CA'` `'fr_CH'` `'fr_DZ'` `'fr_FR'` `'fr_GP'` `'fr_LI'` `'fr_LU'` `'fr_MA'` `'fr_MC'` `'fr_MQ'` `'fr_MU'` `'fr_NC'` `'fr_PF'` `'fr_RE'` `'fr_TN'` `'he_IL'` `'hr_HR'` `'hu_HU'` `'hy_AM'` `'is_IS'` `'it_CH'` `'it_IT'` `'ja_JP'` `'ka_GE'` `'ko_KR'` `'lt_LT'` `'lv_LV'` `'me_ME'` `'mk_MK'` `'mt_MT'` `'nb_NO'` `'nl_BE'` `'nl_NL'` `'no_NO'` `'pl_PL'` `'pt_BR'` `'pt_PT'` `'ro_MD'` `'ro_RO'` `'ru_AZ'` `'ru_BY'` `'ru_CY'` `'ru_EE'` `'ru_KZ'` `'ru_LT'` `'ru_LV'` `'ru_RU'` `'ru_UK'` `'ru_UZ'` `'sk_SK'` `'sl_SI'` `'sr_ME'` `'sr_RS'` `'sv_SE'` `'tr_TR'` `'uk_UA'` `'zh_CN'` `'zh_HK'` `'zh_TW'` | `'en-US'` | Market locale for the AI text (BCP47, e.g. `en-US`). Language-only `en` is supported for international markets. POSIX forms (e.g. `en_US`) are deprecated but still accepted. Copy is resolved by language; unknown languages fall back to English. |
|
|
34
34
|
| `variant` | `'abbreviation'` `'generated'` `'modified'` | `'generated'` | Variant to display: 'abbreviation' (e.g. "AI"), 'generated' (e.g. "AI-generated"), or 'modified' (e.g. "AI-modified"). |
|
|
35
35
|
|
|
36
36
|
## Examples
|
|
@@ -99,7 +99,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
99
99
|
| `disabled` | `boolean` | `false` | Disables the button, preventing all interaction and blocking events. |
|
|
100
100
|
| `form` | `string` | `undefined` | Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it. |
|
|
101
101
|
| `hideLabel` | `boolean`<br>`BreakpointCustomizable<boolean>` | `false` | Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values. |
|
|
102
|
-
| `icon` | `'none'`<br>one of
|
|
102
|
+
| `icon` | `'none'`<br>one of 293 icon names — see [icon names](references/icons.md) | `'none'` | Sets the icon displayed inside the button. Use `none` to show no icon. |
|
|
103
103
|
| `iconSource` | `string` | `undefined` | Sets a path to a custom SVG icon, used instead of the built-in icon set. |
|
|
104
104
|
| `loading` | `boolean` | `false` | Disables the button and replaces its content with a loading spinner to indicate an ongoing operation. |
|
|
105
105
|
| `name` | `string` | `undefined` | Sets the name submitted with the form data when this button triggers form submission. |
|
|
@@ -96,7 +96,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
96
96
|
| `disabled` | `boolean` | `false` | Disables the button, preventing all interaction and blocking events. |
|
|
97
97
|
| `form` | `string` | `undefined` | Associates the button with a form element by its ID, so it can submit or reset that form even when placed outside of it. |
|
|
98
98
|
| `hideLabel` | `boolean`<br>`BreakpointCustomizable<boolean>` | `false` | Hides the visible label while keeping it accessible to screen readers. Supports responsive breakpoint values. |
|
|
99
|
-
| `icon` | `''`<br>one of
|
|
99
|
+
| `icon` | `''`<br>one of 293 icon names — see [icon names](references/icons.md) | `'arrow-right'` | Sets the icon displayed next to the label. |
|
|
100
100
|
| `iconSource` | `string` | `undefined` | Sets a path to a custom SVG icon, used instead of the built-in icon set. |
|
|
101
101
|
| `loading` | `boolean` | `false` | Disables the button and replaces its icon with a loading spinner to indicate an ongoing operation. |
|
|
102
102
|
| `name` | `string` | `undefined` | Sets the name submitted with the form data when this button triggers form submission. |
|
|
@@ -92,7 +92,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
92
92
|
| `description` _(required)_ | `string` | `undefined` | Sets the description text displayed in the tile's content area. |
|
|
93
93
|
| `disabled` | `boolean` | `false` | Disables the tile, preventing button interaction. |
|
|
94
94
|
| `gradient` | `boolean` | `false` | Shows a gradient overlay over the media slot to improve text legibility on bright images or videos. |
|
|
95
|
-
| `icon` | `'none'`<br>one of
|
|
95
|
+
| `icon` | `'none'`<br>one of 293 icon names — see [icon names](references/icons.md) | `'none'` | Sets the icon displayed in the tile's action button. Use `none` to show no icon. |
|
|
96
96
|
| `iconSource` | `string` | `undefined` | Sets a path to a custom SVG icon for the action button, used instead of the built-in icon set. |
|
|
97
97
|
| `label` _(required)_ | `string` | `undefined` | Sets the accessible label text of the action button rendered inside the tile. |
|
|
98
98
|
| `loading` | `boolean` | `false` | Disables the tile and shows a loading spinner to indicate an ongoing operation. |
|
|
@@ -59,7 +59,7 @@ Therefore, the `p-carousel`'s content has to be divided into multiple parts or s
|
|
|
59
59
|
| `aria-labelledby="IDREF"` | References the accessible name. |
|
|
60
60
|
| `aria-roledescription="carousel"` | Specifies the role as "carousel". |
|
|
61
61
|
| `aria-roledescription="slide"` | Specifies the role of the carousel item as "slide". |
|
|
62
|
-
| `aria-live="polite"` | Announces
|
|
62
|
+
| `aria-live="polite"` | Announces page position after control-driven movement (prev/next, pagination, drag), e.g. "2 of 8" via `intl.slideLabel`. Not announced when navigating by focusing slides. |
|
|
63
63
|
|
|
64
64
|
## Development considerations
|
|
65
65
|
|
|
@@ -92,7 +92,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
92
92
|
|
|
93
93
|
| Event | Type | Description |
|
|
94
94
|
| --- | --- | --- |
|
|
95
|
-
| `dismiss` | `CustomEvent<
|
|
95
|
+
| `dismiss` | `CustomEvent<DrilldownDismissEventDetail>`<br>`{ reason: 'dismiss-button' | 'backdrop' | 'escape' }` | Emitted when the user closes the drilldown via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used. |
|
|
96
96
|
| `update` | `CustomEvent<DrilldownUpdateEventDetail>`<br>`{ activeIdentifier: string | undefined }` | Emitted when the active navigation level changes, with the new `activeIdentifier` in the event detail. |
|
|
97
97
|
|
|
98
98
|
### Controlled properties
|
|
@@ -95,7 +95,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
95
95
|
|
|
96
96
|
| Event | Type | Description |
|
|
97
97
|
| --- | --- | --- |
|
|
98
|
-
| `dismiss` | `CustomEvent<
|
|
98
|
+
| `dismiss` | `CustomEvent<FlyoutDismissEventDetail>`<br>`{ reason: 'dismiss-button' | 'backdrop' | 'escape' }` | Emitted when the user closes the flyout via the dismiss button, backdrop click, or Escape key. The event detail identifies which of the three was used. |
|
|
99
99
|
| `motionHiddenEnd` | `CustomEvent<FlyoutMotionHiddenEndEventDetail>`<br>`TransitionEvent` | Emitted after the flyout's close transition completes and the panel is fully hidden. |
|
|
100
100
|
| `motionVisibleEnd` | `CustomEvent<FlyoutMotionVisibleEndEventDetail>`<br>`TransitionEvent` | Emitted after the flyout's open transition completes and the panel is fully visible. |
|
|
101
101
|
|
|
@@ -166,6 +166,8 @@ export const Example = () => {
|
|
|
166
166
|
|
|
167
167
|
<PIcon name="configurate" aria={{'aria-label': 'Configurate icon'}}></PIcon>
|
|
168
168
|
|
|
169
|
+
<PIcon name="connect-services" aria={{'aria-label': 'Connect Services icon'}}></PIcon>
|
|
170
|
+
|
|
169
171
|
<PIcon name="copy" aria={{'aria-label': 'Copy icon'}}></PIcon>
|
|
170
172
|
|
|
171
173
|
<PIcon name="country-road" aria={{'aria-label': 'Country Road icon'}}></PIcon>
|
|
@@ -174,6 +176,8 @@ export const Example = () => {
|
|
|
174
176
|
|
|
175
177
|
<PIcon name="cubic-capacity" aria={{'aria-label': 'Cubic Capacity icon'}}></PIcon>
|
|
176
178
|
|
|
179
|
+
<PIcon name="customer-support" aria={{'aria-label': 'Customer Support icon'}}></PIcon>
|
|
180
|
+
|
|
177
181
|
<PIcon name="cut" aria={{'aria-label': 'Cut icon'}}></PIcon>
|
|
178
182
|
|
|
179
183
|
<PIcon name="delete" aria={{'aria-label': 'Delete icon'}}></PIcon>
|
|
@@ -492,6 +496,8 @@ export const Example = () => {
|
|
|
492
496
|
|
|
493
497
|
<PIcon name="shopping-cart-filled" aria={{'aria-label': 'Shopping Cart Filled icon'}}></PIcon>
|
|
494
498
|
|
|
499
|
+
<PIcon name="shopping-cart-off" aria={{'aria-label': 'Shopping Cart Off icon'}}></PIcon>
|
|
500
|
+
|
|
495
501
|
<PIcon name="sidebar" aria={{'aria-label': 'Sidebar icon'}}></PIcon>
|
|
496
502
|
|
|
497
503
|
<PIcon name="sidelights" aria={{'aria-label': 'Sidelights icon'}}></PIcon>
|
|
@@ -67,7 +67,7 @@ See [accessibility integration examples](./accessibility.md) for paired anti-pat
|
|
|
67
67
|
| --- | --- | --- | --- |
|
|
68
68
|
| `aria` | `IconAriaAttribute` | `undefined` | Sets ARIA attributes on the icon — use `aria-label` to make the icon meaningful to screen readers when it conveys information. |
|
|
69
69
|
| `color` | `'primary'` `'contrast-higher'` `'contrast-high'` `'contrast-medium'` `'contrast-low'` `'contrast-lower'` `'success'` `'warning'` `'error'` `'info'` `'inherit'` | `'primary'` | Sets the fill color of the icon using PDS color tokens. |
|
|
70
|
-
| `name` | one of
|
|
70
|
+
| `name` | one of 293 icon names — see [icon names](references/icons.md) | `'arrow-right'` | Selects an icon from the built-in PDS icon library by name (e.g. `arrow-right`, `close`). |
|
|
71
71
|
| `size` | `'2xs'` `'xs'` `'sm'` `'md'` `'lg'` `'xl'` `'2xl'` `'3xl'` `'4xl'` `'5xl'` `'inherit'`<br>_deprecated:_ `'xx-small'` `'x-small'` `'small'` `'medium'` `'large'` `'x-large'` `'xx-large'`<br>`BreakpointCustomizable<IconSize>` | `'sm'` | Sets the icon size using the PDS typographic scale. Use `inherit` to derive size from the parent element. Supports responsive breakpoint values. |
|
|
72
72
|
| `source` | `string` | `undefined` | Sets a path to a custom SVG icon, used instead of the built-in icon library. |
|
|
73
73
|
|