@porsche-design-system/components-vue 3.2.0-rc.0 → 3.3.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.
Files changed (60) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/PorscheDesignSystemProvider.vue.d.ts +11 -26
  3. package/lib/components/AccordionWrapper.vue.d.ts +47 -54
  4. package/lib/components/BannerWrapper.vue.d.ts +66 -69
  5. package/lib/components/ButtonGroupWrapper.vue.d.ts +16 -33
  6. package/lib/components/ButtonPureWrapper.vue.d.ts +104 -98
  7. package/lib/components/ButtonTileWrapper.vue.d.ts +112 -99
  8. package/lib/components/ButtonWrapper.vue.d.ts +72 -73
  9. package/lib/components/CarouselWrapper.vue.d.ts +97 -91
  10. package/lib/components/CheckboxWrapperWrapper.vue.d.ts +52 -59
  11. package/lib/components/ContentWrapperWrapper.vue.d.ts +27 -43
  12. package/lib/components/CrestWrapper.vue.d.ts +24 -37
  13. package/lib/components/DisplayWrapper.vue.d.ts +50 -57
  14. package/lib/components/DividerWrapper.vue.d.ts +34 -45
  15. package/lib/components/FieldsetWrapper.vue.d.ts +51 -59
  16. package/lib/components/FieldsetWrapperWrapper.vue.d.ts +51 -59
  17. package/lib/components/FlexItemWrapper.vue.d.ts +52 -59
  18. package/lib/components/FlexWrapper.vue.d.ts +52 -59
  19. package/lib/components/FlyoutWrapper.vue.d.ts +37 -46
  20. package/lib/components/GridItemWrapper.vue.d.ts +20 -35
  21. package/lib/components/GridWrapper.vue.d.ts +34 -48
  22. package/lib/components/HeadingWrapper.vue.d.ts +50 -57
  23. package/lib/components/HeadlineWrapper.vue.d.ts +50 -57
  24. package/lib/components/IconWrapper.vue.d.ts +54 -60
  25. package/lib/components/InlineNotificationWrapper.vue.d.ts +72 -74
  26. package/lib/components/LinkPureWrapper.vue.d.ts +114 -104
  27. package/lib/components/LinkSocialWrapper.vue.d.ts +52 -57
  28. package/lib/components/LinkTileModelSignatureWrapper.vue.d.ts +62 -65
  29. package/lib/components/LinkTileWrapper.vue.d.ts +102 -89
  30. package/lib/components/LinkWrapper.vue.d.ts +74 -73
  31. package/lib/components/MarqueWrapper.vue.d.ts +48 -55
  32. package/lib/components/ModalWrapper.vue.d.ts +57 -60
  33. package/lib/components/ModelSignatureWrapper.vue.d.ts +35 -47
  34. package/lib/components/PaginationWrapper.vue.d.ts +101 -94
  35. package/lib/components/PopoverWrapper.vue.d.ts +32 -43
  36. package/lib/components/RadioButtonWrapperWrapper.vue.d.ts +44 -53
  37. package/lib/components/ScrollerWrapper.vue.d.ts +60 -63
  38. package/lib/components/SegmentedControlItemWrapper.vue.d.ts +37 -45
  39. package/lib/components/SegmentedControlWrapper.vue.d.ts +25 -38
  40. package/lib/components/SelectWrapperWrapper.vue.d.ts +76 -77
  41. package/lib/components/SpinnerWrapper.vue.d.ts +26 -39
  42. package/lib/components/StepperHorizontalItemWrapper.vue.d.ts +17 -33
  43. package/lib/components/StepperHorizontalWrapper.vue.d.ts +21 -33
  44. package/lib/components/SwitchWrapper.vue.d.ts +61 -66
  45. package/lib/components/TableCellWrapper.vue.d.ts +11 -28
  46. package/lib/components/TableHeadCellWrapper.vue.d.ts +25 -38
  47. package/lib/components/TableWrapper.vue.d.ts +18 -34
  48. package/lib/components/TabsBarWrapper.vue.d.ts +49 -56
  49. package/lib/components/TabsItemWrapper.vue.d.ts +11 -16
  50. package/lib/components/TabsWrapper.vue.d.ts +51 -58
  51. package/lib/components/TagDismissibleWrapper.vue.d.ts +32 -43
  52. package/lib/components/TagWrapper.vue.d.ts +31 -43
  53. package/lib/components/TextFieldWrapperWrapper.vue.d.ts +105 -98
  54. package/lib/components/TextListWrapper.vue.d.ts +31 -43
  55. package/lib/components/TextWrapper.vue.d.ts +60 -65
  56. package/lib/components/TextareaWrapperWrapper.vue.d.ts +66 -69
  57. package/lib/components/ToastWrapper.vue.d.ts +11 -29
  58. package/lib/components/WordmarkWrapper.vue.d.ts +40 -49
  59. package/lib/types.d.ts +27 -2
  60. package/package.json +2 -2
@@ -1,54 +1,43 @@
1
- import type { SelectedAriaAttributes, TagDismissibleAriaAttribute, TagDismissibleColor, Theme } from '../types';
2
- type PTagDismissibleProps = {
3
- /**
4
- * Add ARIA attributes.
5
- */
6
- aria?: SelectedAriaAttributes<TagDismissibleAriaAttribute>;
7
- /**
8
- * Background color variations
9
- */
10
- color?: TagDismissibleColor;
11
- /**
12
- * The label text.
13
- */
14
- label?: string;
15
- /**
16
- * Adapts the color when used on dark background.
17
- */
18
- theme?: Theme;
19
- };
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTagDismissibleProps>, {
21
- color: string;
22
- theme: string;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTagDismissibleProps>, {
24
- color: string;
25
- theme: string;
26
- }>>>, {
1
+ import type { SelectedAriaAttributes } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ };
6
+ theme: {
7
+ type: import("vue").PropType<"light" | "dark">;
8
+ default: string;
9
+ };
10
+ aria: {
11
+ type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
12
+ };
13
+ color: {
14
+ type: import("vue").PropType<"background-base" | "background-surface" | "background-default">;
15
+ default: string;
16
+ };
17
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
18
+ label: {
19
+ type: import("vue").PropType<string>;
20
+ };
21
+ theme: {
22
+ type: import("vue").PropType<"light" | "dark">;
23
+ default: string;
24
+ };
25
+ aria: {
26
+ type: import("vue").PropType<SelectedAriaAttributes<"aria-label">>;
27
+ };
28
+ color: {
29
+ type: import("vue").PropType<"background-base" | "background-surface" | "background-default">;
30
+ default: string;
31
+ };
32
+ }>>, {
27
33
  theme: "light" | "dark";
28
34
  color: "background-base" | "background-surface" | "background-default";
29
35
  }, {}>, {
30
36
  default?(_: {}): any;
31
37
  }>;
32
38
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
39
  type __VLS_WithTemplateSlots<T, S> = T & {
48
40
  new (): {
49
41
  $slots: S;
50
42
  };
51
43
  };
52
- type __VLS_Prettify<T> = {
53
- [K in keyof T]: T[K];
54
- } & {};
@@ -1,54 +1,42 @@
1
- import type { TagColor, TagIcon, Theme } from '../types';
2
- type PTagProps = {
3
- /**
4
- * Background color variations depending on theme property.
5
- */
6
- color?: TagColor;
7
- /**
8
- * The icon shown.
9
- */
10
- icon?: TagIcon;
11
- /**
12
- * A URL path to a custom icon.
13
- */
14
- iconSource?: string;
15
- /**
16
- * Adapts the tag color depending on the theme.
17
- */
18
- theme?: Theme;
19
- };
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTagProps>, {
21
- color: string;
22
- theme: string;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTagProps>, {
24
- color: string;
25
- theme: string;
26
- }>>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ theme: {
3
+ type: import("vue").PropType<"light" | "dark">;
4
+ default: string;
5
+ };
6
+ icon: {
7
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-spotify" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
8
+ };
9
+ iconSource: {
10
+ type: import("vue").PropType<string>;
11
+ };
12
+ color: {
13
+ type: import("vue").PropType<"background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft">;
14
+ default: string;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ theme: {
18
+ type: import("vue").PropType<"light" | "dark">;
19
+ default: string;
20
+ };
21
+ icon: {
22
+ type: import("vue").PropType<"list" | "copy" | "grid" | "document" | "search" | "switch" | "360" | "accessibility" | "active-cabin-ventilation" | "add" | "adjust" | "arrow-double-down" | "arrow-double-left" | "arrow-double-right" | "arrow-double-up" | "arrow-down" | "arrow-first" | "arrow-head-down" | "arrow-head-left" | "arrow-head-right" | "arrow-head-up" | "arrow-last" | "arrow-left" | "arrow-right" | "arrow-up" | "augmented-reality" | "battery-empty" | "battery-full" | "bell" | "bookmark" | "broadcast" | "calculator" | "calendar" | "camera" | "car" | "car-battery" | "card" | "charging-active" | "charging-state" | "charging-station" | "chart" | "chat" | "check" | "city" | "climate" | "climate-control" | "clock" | "close" | "closed-caption" | "co2-emission" | "compare" | "configurate" | "country-road" | "cubic-capacity" | "delete" | "disable" | "download" | "duration" | "edit" | "email" | "error-filled" | "exclamation" | "external" | "filter" | "fingerprint" | "flash" | "fuel-station" | "garage" | "gift" | "globe" | "heart" | "heart-filled" | "highway" | "home" | "horn" | "image" | "increase" | "information" | "information-filled" | "key" | "leaf" | "leather" | "light" | "locate" | "lock" | "lock-open" | "logo-apple-podcast" | "logo-baidu" | "logo-delicious" | "logo-digg" | "logo-facebook" | "logo-foursquare" | "logo-gmail" | "logo-google" | "logo-hatena" | "logo-instagram" | "logo-kaixin" | "logo-kakaotalk" | "logo-linkedin" | "logo-naver" | "logo-pinterest" | "logo-qq" | "logo-qq-share" | "logo-reddit" | "logo-skyrock" | "logo-sohu" | "logo-spotify" | "logo-tecent" | "logo-telegram" | "logo-tiktok" | "logo-tumblr" | "logo-twitter" | "logo-viber" | "logo-vk" | "logo-wechat" | "logo-weibo" | "logo-whatsapp" | "logo-xing" | "logo-yahoo" | "logo-youku" | "logo-youtube" | "logout" | "map" | "menu-dots-horizontal" | "menu-dots-vertical" | "menu-lines" | "minus" | "mobile" | "moon" | "oil-can" | "parking-brake" | "parking-light" | "pause" | "phone" | "pin" | "pin-filled" | "play" | "plug" | "plus" | "preheating" | "printer" | "purchase" | "push-pin" | "push-pin-off" | "qr" | "question" | "racing-flag" | "refresh" | "replay" | "reset" | "roof-closed" | "roof-open" | "route" | "rss" | "save" | "screen" | "send" | "share" | "shopping-bag" | "shopping-bag-filled" | "shopping-cart" | "shopping-cart-filled" | "sidelights" | "snowflake" | "sort" | "stack" | "star" | "steering-wheel" | "stopwatch" | "subtract" | "success" | "success-filled" | "sun" | "tablet" | "tachometer" | "tire" | "truck" | "upload" | "user" | "user-filled" | "user-group" | "user-manual" | "video" | "view" | "view-off" | "volume-off" | "volume-up" | "warning" | "warning-filled" | "weight" | "wifi" | "work" | "wrench" | "wrenches" | "zoom-in" | "zoom-out">;
23
+ };
24
+ iconSource: {
25
+ type: import("vue").PropType<string>;
26
+ };
27
+ color: {
28
+ type: import("vue").PropType<"background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft">;
29
+ default: string;
30
+ };
31
+ }>>, {
27
32
  theme: "light" | "dark";
28
33
  color: "background-base" | "background-surface" | "primary" | "notification-success" | "notification-warning" | "notification-error" | "neutral-contrast-high" | "notification-neutral" | "background-default" | "notification-info-soft" | "notification-warning-soft" | "notification-success-soft" | "notification-error-soft";
29
34
  }, {}>, {
30
35
  default?(_: {}): any;
31
36
  }>;
32
37
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
38
  type __VLS_WithTemplateSlots<T, S> = T & {
48
39
  new (): {
49
40
  $slots: S;
50
41
  };
51
42
  };
52
- type __VLS_Prettify<T> = {
53
- [K in keyof T]: T[K];
54
- } & {};
@@ -1,85 +1,109 @@
1
- import type { TextFieldWrapperActionIcon, BreakpointCustomizable, TextFieldWrapperState, Theme, TextFieldWrapperUnitPosition } from '../types';
2
- type PTextFieldWrapperProps = {
3
- /**
4
- * Action icon can be set to `locate` for `input type="search"` in order to display an action button.
5
- */
6
- actionIcon?: TextFieldWrapperActionIcon;
7
- /**
8
- * Disables the action button and shows a loading indicator. No events will be triggered while loading state is active.
9
- */
10
- actionLoading?: boolean;
11
- /**
12
- * The description text.
13
- */
14
- description?: string;
15
- /**
16
- * Show or hide label and description text. For better accessibility it is recommended to show the label.
17
- */
18
- hideLabel?: BreakpointCustomizable<boolean>;
19
- /**
20
- * The label text.
21
- */
22
- label?: string;
23
- /**
24
- * The message styled depending on validation state.
25
- */
26
- message?: string;
27
- /**
28
- * @deprecated since v3.0.0, will be removed with next major release, use `showCounter` instead. Show or hide max character count.
29
- */
30
- showCharacterCount?: boolean;
31
- /**
32
- * Show or hide max character count.
33
- */
34
- showCounter?: boolean;
35
- /**
36
- * __Experimental__: Show or hide password toggle for `input type="password"`.
37
- */
38
- showPasswordToggle?: boolean;
39
- /**
40
- * The validation state.
41
- */
42
- state?: TextFieldWrapperState;
43
- /**
44
- * Adapts the color depending on the theme.
45
- */
46
- theme?: Theme;
47
- /**
48
- * The unit text.
49
- */
50
- unit?: string;
51
- /**
52
- * The unit position.
53
- */
54
- unitPosition?: TextFieldWrapperUnitPosition;
55
- };
56
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextFieldWrapperProps>, {
57
- actionLoading: boolean;
58
- description: string;
59
- hideLabel: boolean;
60
- label: string;
61
- message: string;
62
- showCounter: boolean;
63
- showPasswordToggle: boolean;
64
- state: string;
65
- theme: string;
66
- unit: string;
67
- unitPosition: string;
68
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1
+ import type { BreakpointCustomizable } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ label: {
4
+ type: import("vue").PropType<string>;
5
+ default: string;
6
+ };
7
+ theme: {
8
+ type: import("vue").PropType<"light" | "dark">;
9
+ default: string;
10
+ };
11
+ description: {
12
+ type: import("vue").PropType<string>;
13
+ default: string;
14
+ };
15
+ state: {
16
+ type: import("vue").PropType<"none" | "success" | "error">;
17
+ default: string;
18
+ };
19
+ hideLabel: {
20
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
21
+ default: boolean;
22
+ };
23
+ message: {
24
+ type: import("vue").PropType<string>;
25
+ default: string;
26
+ };
27
+ actionIcon: {
28
+ type: import("vue").PropType<"locate">;
29
+ };
30
+ actionLoading: {
31
+ type: import("vue").PropType<boolean>;
32
+ default: boolean;
33
+ };
34
+ showCharacterCount: {
35
+ type: import("vue").PropType<boolean>;
36
+ };
37
+ showCounter: {
38
+ type: import("vue").PropType<boolean>;
39
+ default: boolean;
40
+ };
41
+ showPasswordToggle: {
42
+ type: import("vue").PropType<boolean>;
43
+ default: boolean;
44
+ };
45
+ unit: {
46
+ type: import("vue").PropType<string>;
47
+ default: string;
48
+ };
49
+ unitPosition: {
50
+ type: import("vue").PropType<"prefix" | "suffix">;
51
+ default: string;
52
+ };
53
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
69
54
  action: (value?: void | undefined) => void;
70
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextFieldWrapperProps>, {
71
- actionLoading: boolean;
72
- description: string;
73
- hideLabel: boolean;
74
- label: string;
75
- message: string;
76
- showCounter: boolean;
77
- showPasswordToggle: boolean;
78
- state: string;
79
- theme: string;
80
- unit: string;
81
- unitPosition: string;
82
- }>>> & {
55
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
56
+ label: {
57
+ type: import("vue").PropType<string>;
58
+ default: string;
59
+ };
60
+ theme: {
61
+ type: import("vue").PropType<"light" | "dark">;
62
+ default: string;
63
+ };
64
+ description: {
65
+ type: import("vue").PropType<string>;
66
+ default: string;
67
+ };
68
+ state: {
69
+ type: import("vue").PropType<"none" | "success" | "error">;
70
+ default: string;
71
+ };
72
+ hideLabel: {
73
+ type: import("vue").PropType<BreakpointCustomizable<boolean>>;
74
+ default: boolean;
75
+ };
76
+ message: {
77
+ type: import("vue").PropType<string>;
78
+ default: string;
79
+ };
80
+ actionIcon: {
81
+ type: import("vue").PropType<"locate">;
82
+ };
83
+ actionLoading: {
84
+ type: import("vue").PropType<boolean>;
85
+ default: boolean;
86
+ };
87
+ showCharacterCount: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ showCounter: {
91
+ type: import("vue").PropType<boolean>;
92
+ default: boolean;
93
+ };
94
+ showPasswordToggle: {
95
+ type: import("vue").PropType<boolean>;
96
+ default: boolean;
97
+ };
98
+ unit: {
99
+ type: import("vue").PropType<string>;
100
+ default: string;
101
+ };
102
+ unitPosition: {
103
+ type: import("vue").PropType<"prefix" | "suffix">;
104
+ default: string;
105
+ };
106
+ }>> & {
83
107
  onAction?: ((value?: void | undefined) => any) | undefined;
84
108
  }, {
85
109
  label: string;
@@ -97,25 +121,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
97
121
  default?(_: {}): any;
98
122
  }>;
99
123
  export default _default;
100
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
101
- type __VLS_TypePropsToRuntimeProps<T> = {
102
- [K in keyof T]-?: {} extends Pick<T, K> ? {
103
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
104
- } : {
105
- type: import('vue').PropType<T[K]>;
106
- required: true;
107
- };
108
- };
109
- type __VLS_WithDefaults<P, D> = {
110
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
111
- default: D[K];
112
- }> : P[K];
113
- };
114
124
  type __VLS_WithTemplateSlots<T, S> = T & {
115
125
  new (): {
116
126
  $slots: S;
117
127
  };
118
128
  };
119
- type __VLS_Prettify<T> = {
120
- [K in keyof T]: T[K];
121
- } & {};
@@ -1,54 +1,42 @@
1
- import type { TextListListType, TextListOrderType, Theme, TextListType } from '../types';
2
- type PTextListProps = {
3
- /**
4
- * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The type of the list.
5
- */
6
- listType?: TextListListType;
7
- /**
8
- * @deprecated since v3.0.0, will be removed with next major release, use `type` instead. The list style type of ordered list. Only has effect when list type is set to 'ordered'.
9
- */
10
- orderType?: TextListOrderType;
11
- /**
12
- * Adapts the text color depending on the theme.
13
- */
14
- theme?: Theme;
15
- /**
16
- * The list style type.
17
- */
18
- type?: TextListType;
19
- };
20
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextListProps>, {
21
- theme: string;
22
- type: string;
23
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextListProps>, {
24
- theme: string;
25
- type: string;
26
- }>>>, {
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ type: {
3
+ type: import("vue").PropType<"unordered" | "numbered" | "alphabetically">;
4
+ default: string;
5
+ };
6
+ theme: {
7
+ type: import("vue").PropType<"light" | "dark">;
8
+ default: string;
9
+ };
10
+ listType: {
11
+ type: import("vue").PropType<"unordered" | "ordered">;
12
+ };
13
+ orderType: {
14
+ type: import("vue").PropType<"numbered" | "alphabetically">;
15
+ };
16
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
17
+ type: {
18
+ type: import("vue").PropType<"unordered" | "numbered" | "alphabetically">;
19
+ default: string;
20
+ };
21
+ theme: {
22
+ type: import("vue").PropType<"light" | "dark">;
23
+ default: string;
24
+ };
25
+ listType: {
26
+ type: import("vue").PropType<"unordered" | "ordered">;
27
+ };
28
+ orderType: {
29
+ type: import("vue").PropType<"numbered" | "alphabetically">;
30
+ };
31
+ }>>, {
27
32
  type: "unordered" | "numbered" | "alphabetically";
28
33
  theme: "light" | "dark";
29
34
  }, {}>, {
30
35
  default?(_: {}): any;
31
36
  }>;
32
37
  export default _default;
33
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
- type __VLS_TypePropsToRuntimeProps<T> = {
35
- [K in keyof T]-?: {} extends Pick<T, K> ? {
36
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
37
- } : {
38
- type: import('vue').PropType<T[K]>;
39
- required: true;
40
- };
41
- };
42
- type __VLS_WithDefaults<P, D> = {
43
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
44
- default: D[K];
45
- }> : P[K];
46
- };
47
38
  type __VLS_WithTemplateSlots<T, S> = T & {
48
39
  new (): {
49
40
  $slots: S;
50
41
  };
51
42
  };
52
- type __VLS_Prettify<T> = {
53
- [K in keyof T]: T[K];
54
- } & {};
@@ -1,51 +1,63 @@
1
- import type { TextAlign, TextColor, BreakpointCustomizable, TextSize, TextTag, Theme, TextWeight } from '../types';
2
- type PTextProps = {
3
- /**
4
- * Text alignment of the component.
5
- */
6
- align?: TextAlign;
7
- /**
8
- * Basic text color variations depending on theme property.
9
- */
10
- color?: TextColor;
11
- /**
12
- * Adds an ellipsis to a single line of text if it overflows.
13
- */
14
- ellipsis?: boolean;
15
- /**
16
- * Size of the text. Also defines the size for specific breakpoints, like {base: "small", l: "medium"}. You always need to provide a base value when doing this.
17
- */
18
- size?: BreakpointCustomizable<TextSize>;
19
- /**
20
- * Sets a custom HTML tag depending on the usage of the text component.
21
- */
22
- tag?: TextTag;
23
- /**
24
- * Adapts the text color depending on the theme. Has no effect when "inherit" is set as color prop.
25
- */
26
- theme?: Theme;
27
- /**
28
- * The weight of the text.
29
- */
30
- weight?: TextWeight;
31
- };
32
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextProps>, {
33
- align: string;
34
- color: string;
35
- ellipsis: boolean;
36
- size: string;
37
- tag: string;
38
- theme: string;
39
- weight: string;
40
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<PTextProps>, {
41
- align: string;
42
- color: string;
43
- ellipsis: boolean;
44
- size: string;
45
- tag: string;
46
- theme: string;
47
- weight: string;
48
- }>>>, {
1
+ import type { BreakpointCustomizable } from '../types';
2
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ weight: {
4
+ type: import("vue").PropType<"regular" | "semi-bold" | "bold" | "thin" | "semibold">;
5
+ default: string;
6
+ };
7
+ size: {
8
+ type: import("vue").PropType<BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">>;
9
+ default: string;
10
+ };
11
+ tag: {
12
+ type: import("vue").PropType<"time" | "p" | "span" | "div" | "address" | "blockquote" | "figcaption" | "cite" | "legend">;
13
+ default: string;
14
+ };
15
+ theme: {
16
+ type: import("vue").PropType<"light" | "dark">;
17
+ default: string;
18
+ };
19
+ align: {
20
+ type: import("vue").PropType<"center" | "left" | "right">;
21
+ default: string;
22
+ };
23
+ color: {
24
+ type: import("vue").PropType<"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">;
25
+ default: string;
26
+ };
27
+ ellipsis: {
28
+ type: import("vue").PropType<boolean>;
29
+ default: boolean;
30
+ };
31
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
32
+ weight: {
33
+ type: import("vue").PropType<"regular" | "semi-bold" | "bold" | "thin" | "semibold">;
34
+ default: string;
35
+ };
36
+ size: {
37
+ type: import("vue").PropType<BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">>;
38
+ default: string;
39
+ };
40
+ tag: {
41
+ type: import("vue").PropType<"time" | "p" | "span" | "div" | "address" | "blockquote" | "figcaption" | "cite" | "legend">;
42
+ default: string;
43
+ };
44
+ theme: {
45
+ type: import("vue").PropType<"light" | "dark">;
46
+ default: string;
47
+ };
48
+ align: {
49
+ type: import("vue").PropType<"center" | "left" | "right">;
50
+ default: string;
51
+ };
52
+ color: {
53
+ type: import("vue").PropType<"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">;
54
+ default: string;
55
+ };
56
+ ellipsis: {
57
+ type: import("vue").PropType<boolean>;
58
+ default: boolean;
59
+ };
60
+ }>>, {
49
61
  weight: "regular" | "semi-bold" | "bold" | "thin" | "semibold";
50
62
  size: BreakpointCustomizable<"inherit" | "xx-small" | "x-small" | "small" | "medium" | "large" | "x-large">;
51
63
  tag: "time" | "p" | "span" | "div" | "address" | "blockquote" | "figcaption" | "cite" | "legend";
@@ -57,25 +69,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
57
69
  default?(_: {}): any;
58
70
  }>;
59
71
  export default _default;
60
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
61
- type __VLS_TypePropsToRuntimeProps<T> = {
62
- [K in keyof T]-?: {} extends Pick<T, K> ? {
63
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
64
- } : {
65
- type: import('vue').PropType<T[K]>;
66
- required: true;
67
- };
68
- };
69
- type __VLS_WithDefaults<P, D> = {
70
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
71
- default: D[K];
72
- }> : P[K];
73
- };
74
72
  type __VLS_WithTemplateSlots<T, S> = T & {
75
73
  new (): {
76
74
  $slots: S;
77
75
  };
78
76
  };
79
- type __VLS_Prettify<T> = {
80
- [K in keyof T]: T[K];
81
- } & {};