@porsche-design-system/components-vue 2.19.0-rc.2 → 2.19.1-rc.1

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 (72) hide show
  1. package/CHANGELOG.md +33 -3
  2. package/PorscheDesignSystemProvider.vue2.js +2 -3
  3. package/jsdom-polyfill/index.js +12 -0
  4. package/jsdom-polyfill.d.ts +1 -0
  5. package/lib/components/AccordionWrapper.vue2.js +2 -3
  6. package/lib/components/BannerWrapper.vue2.js +2 -3
  7. package/lib/components/ButtonGroupWrapper.vue.d.ts +4 -4
  8. package/lib/components/ButtonGroupWrapper.vue2.js +2 -3
  9. package/lib/components/ButtonPureWrapper.vue.d.ts +4 -4
  10. package/lib/components/ButtonPureWrapper.vue2.js +2 -3
  11. package/lib/components/ButtonWrapper.vue2.js +2 -3
  12. package/lib/components/CarouselWrapper.vue2.js +2 -3
  13. package/lib/components/CheckboxWrapperWrapper.vue2.js +2 -3
  14. package/lib/components/ContentWrapperWrapper.vue2.js +2 -3
  15. package/lib/components/DividerWrapper.vue.d.ts +4 -4
  16. package/lib/components/DividerWrapper.vue2.js +2 -3
  17. package/lib/components/FieldsetWrapperWrapper.vue2.js +2 -3
  18. package/lib/components/FlexItemWrapper.vue.d.ts +19 -19
  19. package/lib/components/FlexItemWrapper.vue2.js +2 -3
  20. package/lib/components/FlexWrapper.vue.d.ts +19 -19
  21. package/lib/components/FlexWrapper.vue2.js +2 -3
  22. package/lib/components/GridItemWrapper.vue.d.ts +7 -7
  23. package/lib/components/GridItemWrapper.vue2.js +2 -3
  24. package/lib/components/GridWrapper.vue.d.ts +10 -10
  25. package/lib/components/GridWrapper.vue2.js +2 -3
  26. package/lib/components/HeadlineWrapper.vue2.js +2 -3
  27. package/lib/components/IconWrapper.vue2.js +2 -3
  28. package/lib/components/InlineNotificationWrapper.vue2.js +2 -3
  29. package/lib/components/LinkPureWrapper.vue.d.ts +4 -4
  30. package/lib/components/LinkPureWrapper.vue2.js +2 -3
  31. package/lib/components/LinkSocialWrapper.vue2.js +2 -3
  32. package/lib/components/LinkTileWrapper.vue2.js +2 -3
  33. package/lib/components/LinkWrapper.vue2.js +2 -3
  34. package/lib/components/MarqueWrapper.vue2.js +2 -3
  35. package/lib/components/ModalWrapper.vue2.js +2 -3
  36. package/lib/components/PaginationWrapper.vue2.js +2 -3
  37. package/lib/components/PopoverWrapper.vue2.js +2 -3
  38. package/lib/components/RadioButtonWrapperWrapper.vue2.js +2 -3
  39. package/lib/components/ScrollerWrapper.vue2.js +2 -3
  40. package/lib/components/SegmentedControlItemWrapper.vue2.js +2 -3
  41. package/lib/components/SegmentedControlWrapper.vue2.js +2 -3
  42. package/lib/components/SelectWrapperWrapper.vue2.js +2 -3
  43. package/lib/components/SpinnerWrapper.vue.d.ts +4 -4
  44. package/lib/components/SpinnerWrapper.vue2.js +2 -3
  45. package/lib/components/StepperHorizontalItemWrapper.vue2.js +2 -3
  46. package/lib/components/StepperHorizontalWrapper.vue2.js +2 -3
  47. package/lib/components/SwitchWrapper.vue.d.ts +4 -4
  48. package/lib/components/SwitchWrapper.vue2.js +2 -3
  49. package/lib/components/TableBodyWrapper.vue2.js +2 -3
  50. package/lib/components/TableCellWrapper.vue2.js +2 -3
  51. package/lib/components/TableHeadCellWrapper.vue2.js +2 -3
  52. package/lib/components/TableHeadRowWrapper.vue2.js +2 -3
  53. package/lib/components/TableHeadWrapper.vue2.js +2 -3
  54. package/lib/components/TableRowWrapper.vue2.js +2 -3
  55. package/lib/components/TableWrapper.vue2.js +2 -3
  56. package/lib/components/TabsBarWrapper.vue2.js +2 -3
  57. package/lib/components/TabsItemWrapper.vue2.js +2 -3
  58. package/lib/components/TabsWrapper.vue2.js +2 -3
  59. package/lib/components/TagDismissibleWrapper.vue2.js +2 -3
  60. package/lib/components/TagWrapper.vue2.js +2 -3
  61. package/lib/components/TextFieldWrapperWrapper.vue2.js +2 -3
  62. package/lib/components/TextListItemWrapper.vue2.js +2 -3
  63. package/lib/components/TextListWrapper.vue2.js +2 -3
  64. package/lib/components/TextWrapper.vue2.js +2 -3
  65. package/lib/components/TextareaWrapperWrapper.vue2.js +2 -3
  66. package/lib/components/ToastWrapper.vue2.js +2 -3
  67. package/lib/types.d.ts +26 -47
  68. package/package.json +2 -2
  69. package/testing/package.json +5 -0
  70. package/testing/testing.d.ts +1 -0
  71. package/testing/testing.js +12 -0
  72. package/testing.d.ts +1 -0
package/CHANGELOG.md CHANGED
@@ -9,6 +9,31 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
9
9
 
10
10
  ### [Unreleased]
11
11
 
12
+ ### [2.19.1-rc.1] - 2023-01-18
13
+
14
+ #### Added
15
+
16
+ - `jsdom-polyfill` subpackage is available at `@porsche-design-system/components-{js|angular|react|vue}/jsdom-polyfill`
17
+ and can be used to have working web components in jsdom based tests (e.g. jest)
18
+ - `testing` subpackage is available at `@porsche-design-system/components-{js|angular|react|vue}/testing` to provide
19
+ `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which use `@testing-library/dom`
20
+ queries internally to support Shadow DOM
21
+ - Validation if `prefix` is already reserved by a different version upon initialization of the Porsche Design System
22
+
23
+ #### Fixed
24
+
25
+ - `componentsReady()` waits for Porsche Design System being initialized before checking components which can happen in
26
+ certain test scenarios without partials
27
+
28
+ ### [2.19.1-rc.0] - 2023-01-18
29
+
30
+ #### Fixed
31
+
32
+ - Bug in `@porsche-design-system/components-react/ssr` where in some cases during SSG an error was thrown when
33
+ components render their children conditionally
34
+
35
+ ### [2.19.0] - 2022-12-22
36
+
12
37
  ### [2.19.0-rc.2] - 2022-12-22
13
38
 
14
39
  ### [2.19.0-rc.1] - 2022-12-22
@@ -36,7 +61,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
36
61
  - Validation to ensure crucial partials are used.
37
62
  **Disclaimer:** The Porsche Design System will **not** inject its initial styles anymore. Please use the
38
63
  `getInitialStyles()` partial to reduce flash of unstyled content (FOUC) as described here:
39
- **https://designsystem.porsche.com/v2/partials/initial-styles**
64
+ [getInitialStyles() documentation](https://designsystem.porsche.com/latest/partials/initial-styles)
40
65
 
41
66
  #### Changed
42
67
 
@@ -67,11 +92,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
67
92
  #### Added
68
93
 
69
94
  - SSR/SSG ready components using Declarative Shadow DOM for Next JS are shipped via
70
- `@porsche-design-system/components-react/ssr`. To use it simply change your imports:
95
+ `@porsche-design-system/components-react/ssr`. To use it simply change your imports.
96
+
97
+ **Important:** make sure to apply the new `getDSRPonyfill()` partial right before your closing `</body>` tag. More
98
+ information can be found here:
99
+ [getDSRPonyfill() documentation](https://designsystem.porsche.com/latest/partials/dsr-ponyfill)
71
100
 
72
101
  ```diff
73
102
  - import { PorscheDesignSystemProvider, PButton, ... } from '@porsche-design-system/components-react';
74
103
  + import { PorscheDesignSystemProvider, PButton, ... } from '@porsche-design-system/components-react/ssr';
104
+ + import { getDSRPonyfill } from '@porsche-design-system/components-react/partials';
75
105
  ```
76
106
 
77
107
  #### Changed
@@ -404,7 +434,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
404
434
 
405
435
  #### Added
406
436
 
407
- - React: `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which uses
437
+ - React: `getByRoleShadowed`, `getByLabelTextShadowed` and `getByTextShadowed` utilities which use
408
438
  `@testing-library/dom` queries internally to support Shadow DOM
409
439
 
410
440
  #### Fixed
@@ -1,5 +1,4 @@
1
- import "./PorscheDesignSystemProvider.vue.js";
2
- import { default as t } from "./PorscheDesignSystemProvider.vue.js";
1
+ import f from "./PorscheDesignSystemProvider.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var jsdomPolyfill = require('@porsche-design-system/components-js/jsdom-polyfill');
4
+
5
+
6
+
7
+ Object.keys(jsdomPolyfill).forEach(function (k) {
8
+ if (k !== 'default' && !exports.hasOwnProperty(k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return jsdomPolyfill[k]; }
11
+ });
12
+ });
@@ -0,0 +1 @@
1
+ export * from '@porsche-design-system/components-js/jsdom-polyfill';
@@ -1,5 +1,4 @@
1
- import "./AccordionWrapper.vue.js";
2
- import { default as t } from "./AccordionWrapper.vue.js";
1
+ import f from "./AccordionWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./BannerWrapper.vue.js";
2
- import { default as t } from "./BannerWrapper.vue.js";
1
+ import f from "./BannerWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,9 +1,9 @@
1
- import type { ButtonGroupDirection } from '../types';
1
+ import type { BreakpointCustomizable, ButtonGroupDirection } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
5
5
  */
6
- direction?: ButtonGroupDirection | undefined;
6
+ direction?: BreakpointCustomizable<"row" | "column"> | undefined;
7
7
  }>, {
8
8
  direction: () => {
9
9
  base: string;
@@ -13,14 +13,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
13
13
  /**
14
14
  * Defines the direction of the main and cross axis. The default is ’{base: ‘column’, xs: ‘row’}' showing buttons vertically stacked on mobile viewports and side-by-side in a horizontal row from breakpoint ‘xs’. You always need to provide a base value when using breakpoints.
15
15
  */
16
- direction?: ButtonGroupDirection | undefined;
16
+ direction?: BreakpointCustomizable<"row" | "column"> | undefined;
17
17
  }>, {
18
18
  direction: () => {
19
19
  base: string;
20
20
  xs: string;
21
21
  };
22
22
  }>>>, {
23
- direction: ButtonGroupDirection;
23
+ direction: BreakpointCustomizable<ButtonGroupDirection>;
24
24
  }>, {
25
25
  default: (_: {}) => any;
26
26
  }>;
@@ -1,5 +1,4 @@
1
- import "./ButtonGroupWrapper.vue.js";
2
- import { default as t } from "./ButtonGroupWrapper.vue.js";
1
+ import f from "./ButtonGroupWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,4 +1,4 @@
1
- import type { AlignLabel, SelectedAriaAttributes, BreakpointCustomizable, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
1
+ import type { BreakpointCustomizable, AlignLabel, SelectedAriaAttributes, LinkButtonPureIconName, TextSize, ThemeExtendedElectricDark, ButtonType, TextWeight } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Display button in active state.
@@ -7,7 +7,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
7
7
  /**
8
8
  * Aligns the label.
9
9
  */
10
- alignLabel?: AlignLabel | undefined;
10
+ alignLabel?: BreakpointCustomizable<"left" | "right"> | undefined;
11
11
  /**
12
12
  * Add ARIA attributes.
13
13
  */
@@ -78,7 +78,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
78
78
  /**
79
79
  * Aligns the label.
80
80
  */
81
- alignLabel?: AlignLabel | undefined;
81
+ alignLabel?: BreakpointCustomizable<"left" | "right"> | undefined;
82
82
  /**
83
83
  * Add ARIA attributes.
84
84
  */
@@ -148,7 +148,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
148
148
  theme: ThemeExtendedElectricDark;
149
149
  type: ButtonType;
150
150
  active: boolean;
151
- alignLabel: AlignLabel;
151
+ alignLabel: BreakpointCustomizable<AlignLabel>;
152
152
  disabled: boolean;
153
153
  hideLabel: BreakpointCustomizable<boolean>;
154
154
  icon: LinkButtonPureIconName;
@@ -1,5 +1,4 @@
1
- import "./ButtonPureWrapper.vue.js";
2
- import { default as t } from "./ButtonPureWrapper.vue.js";
1
+ import f from "./ButtonPureWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./ButtonWrapper.vue.js";
2
- import { default as t } from "./ButtonWrapper.vue.js";
1
+ import f from "./ButtonWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./CarouselWrapper.vue.js";
2
- import { default as t } from "./CarouselWrapper.vue.js";
1
+ import f from "./CarouselWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./CheckboxWrapperWrapper.vue.js";
2
- import { default as t } from "./CheckboxWrapperWrapper.vue.js";
1
+ import f from "./CheckboxWrapperWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./ContentWrapperWrapper.vue.js";
2
- import { default as t } from "./ContentWrapperWrapper.vue.js";
1
+ import f from "./ContentWrapperWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,4 +1,4 @@
1
- import type { DividerColor, DividerOrientation, Theme } from '../types';
1
+ import type { DividerColor, BreakpointCustomizable, DividerOrientation, Theme } from '../types';
2
2
  declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines color depending on theme.
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
7
7
  /**
8
8
  * Defines orientation.
9
9
  */
10
- orientation?: DividerOrientation | undefined;
10
+ orientation?: BreakpointCustomizable<"horizontal" | "vertical"> | undefined;
11
11
  /**
12
12
  * Adapts color depending on theme.
13
13
  */
@@ -24,7 +24,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
24
24
  /**
25
25
  * Defines orientation.
26
26
  */
27
- orientation?: DividerOrientation | undefined;
27
+ orientation?: BreakpointCustomizable<"horizontal" | "vertical"> | undefined;
28
28
  /**
29
29
  * Adapts color depending on theme.
30
30
  */
@@ -36,7 +36,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
36
36
  }>>>, {
37
37
  theme: Theme;
38
38
  color: DividerColor;
39
- orientation: DividerOrientation;
39
+ orientation: BreakpointCustomizable<DividerOrientation>;
40
40
  }>;
41
41
  export default _default;
42
42
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,5 +1,4 @@
1
- import "./DividerWrapper.vue.js";
2
- import { default as t } from "./DividerWrapper.vue.js";
1
+ import f from "./DividerWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./FieldsetWrapperWrapper.vue.js";
2
- import { default as t } from "./FieldsetWrapperWrapper.vue.js";
1
+ import f from "./FieldsetWrapperWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,29 +1,29 @@
1
- import type { FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
1
+ import type { BreakpointCustomizable, FlexItemAlignSelf, FlexItemFlex, FlexItemGrow, FlexItemOffset, FlexItemShrink, FlexItemWidth } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
5
5
  */
6
- alignSelf?: FlexItemAlignSelf | undefined;
6
+ alignSelf?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto"> | undefined;
7
7
  /**
8
8
  * The shorthand property for the combined definition of "shrink", "grow" and "basis"
9
9
  */
10
- flex?: FlexItemFlex | undefined;
10
+ flex?: BreakpointCustomizable<"none" | "auto" | "initial" | "equal"> | undefined;
11
11
  /**
12
12
  * The ability to allow/disallow the flex child to grow.
13
13
  */
14
- grow?: FlexItemGrow | undefined;
14
+ grow?: BreakpointCustomizable<0 | 1> | undefined;
15
15
  /**
16
16
  * The offset of the column. You can also supply values for specific breakpoints, like {base: "none", l: "one-quarter"}. You always need to provide a base value when doing this.
17
17
  */
18
- offset?: FlexItemOffset | undefined;
18
+ offset?: BreakpointCustomizable<"none" | "one-quarter" | "one-third" | "half" | "two-thirds" | "three-quarters"> | undefined;
19
19
  /**
20
20
  * The ability to allow/disallow the flex child to shrink.
21
21
  */
22
- shrink?: FlexItemShrink | undefined;
22
+ shrink?: BreakpointCustomizable<0 | 1> | undefined;
23
23
  /**
24
24
  * The width of the flex item. You can also supply values for specific breakpoints, like {base: "full", l: "one-quarter"}. You always need to provide a base value when doing this.
25
25
  */
26
- width?: FlexItemWidth | undefined;
26
+ width?: BreakpointCustomizable<"auto" | "one-quarter" | "one-third" | "half" | "two-thirds" | "three-quarters" | "full"> | undefined;
27
27
  }>, {
28
28
  alignSelf: string;
29
29
  flex: string;
@@ -35,27 +35,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
35
  /**
36
36
  * Defines how this flex item is aligned along the cross axis. This overwrites the cross axis alignment set by the container. Corresponds to the "alignSelf" css property.
37
37
  */
38
- alignSelf?: FlexItemAlignSelf | undefined;
38
+ alignSelf?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "stretch" | "baseline" | "auto"> | undefined;
39
39
  /**
40
40
  * The shorthand property for the combined definition of "shrink", "grow" and "basis"
41
41
  */
42
- flex?: FlexItemFlex | undefined;
42
+ flex?: BreakpointCustomizable<"none" | "auto" | "initial" | "equal"> | undefined;
43
43
  /**
44
44
  * The ability to allow/disallow the flex child to grow.
45
45
  */
46
- grow?: FlexItemGrow | undefined;
46
+ grow?: BreakpointCustomizable<0 | 1> | undefined;
47
47
  /**
48
48
  * The offset of the column. You can also supply values for specific breakpoints, like {base: "none", l: "one-quarter"}. You always need to provide a base value when doing this.
49
49
  */
50
- offset?: FlexItemOffset | undefined;
50
+ offset?: BreakpointCustomizable<"none" | "one-quarter" | "one-third" | "half" | "two-thirds" | "three-quarters"> | undefined;
51
51
  /**
52
52
  * The ability to allow/disallow the flex child to shrink.
53
53
  */
54
- shrink?: FlexItemShrink | undefined;
54
+ shrink?: BreakpointCustomizable<0 | 1> | undefined;
55
55
  /**
56
56
  * The width of the flex item. You can also supply values for specific breakpoints, like {base: "full", l: "one-quarter"}. You always need to provide a base value when doing this.
57
57
  */
58
- width?: FlexItemWidth | undefined;
58
+ width?: BreakpointCustomizable<"auto" | "one-quarter" | "one-third" | "half" | "two-thirds" | "three-quarters" | "full"> | undefined;
59
59
  }>, {
60
60
  alignSelf: string;
61
61
  flex: string;
@@ -64,12 +64,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  shrink: number;
65
65
  width: string;
66
66
  }>>>, {
67
- width: FlexItemWidth;
68
- alignSelf: FlexItemAlignSelf;
69
- flex: FlexItemFlex;
70
- grow: FlexItemGrow;
71
- offset: FlexItemOffset;
72
- shrink: FlexItemShrink;
67
+ width: BreakpointCustomizable<FlexItemWidth>;
68
+ alignSelf: BreakpointCustomizable<FlexItemAlignSelf>;
69
+ flex: BreakpointCustomizable<FlexItemFlex>;
70
+ grow: BreakpointCustomizable<FlexItemGrow>;
71
+ offset: BreakpointCustomizable<FlexItemOffset>;
72
+ shrink: BreakpointCustomizable<FlexItemShrink>;
73
73
  }>, {
74
74
  default: (_: {}) => any;
75
75
  }>;
@@ -1,5 +1,4 @@
1
- import "./FlexItemWrapper.vue.js";
2
- import { default as t } from "./FlexItemWrapper.vue.js";
1
+ import f from "./FlexItemWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,29 +1,29 @@
1
- import type { FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
1
+ import type { BreakpointCustomizable, FlexAlignContent, FlexAlignItems, FlexDirection, FlexInline, FlexJustifyContent, FlexWrap } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
5
5
  */
6
- alignContent?: FlexAlignContent | undefined;
6
+ alignContent?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "stretch"> | undefined;
7
7
  /**
8
8
  * Defines how the flex items are aligned along the cross axis.
9
9
  */
10
- alignItems?: FlexAlignItems | undefined;
10
+ alignItems?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "stretch" | "baseline"> | undefined;
11
11
  /**
12
12
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right.
13
13
  */
14
- direction?: FlexDirection | undefined;
14
+ direction?: BreakpointCustomizable<"row" | "column" | "row-reverse" | "column-reverse"> | undefined;
15
15
  /**
16
16
  * Defines the flex containers content flow if 2 or more containers are siblings of each other.
17
17
  */
18
- inline?: FlexInline | undefined;
18
+ inline?: BreakpointCustomizable<boolean> | undefined;
19
19
  /**
20
20
  * Defines how the flex items are aligned along the main axis.
21
21
  */
22
- justifyContent?: FlexJustifyContent | undefined;
22
+ justifyContent?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly"> | undefined;
23
23
  /**
24
24
  * Handles wrapping behaviour of elements.
25
25
  */
26
- wrap?: FlexWrap | undefined;
26
+ wrap?: BreakpointCustomizable<"nowrap" | "wrap" | "wrap-reverse"> | undefined;
27
27
  }>, {
28
28
  alignContent: string;
29
29
  alignItems: string;
@@ -35,27 +35,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
35
35
  /**
36
36
  * This aligns a flex container's individual lines when there is extra space in the cross-axis, similar to how "justifyContent" aligns individual items along the main axis.
37
37
  */
38
- alignContent?: FlexAlignContent | undefined;
38
+ alignContent?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | "stretch"> | undefined;
39
39
  /**
40
40
  * Defines how the flex items are aligned along the cross axis.
41
41
  */
42
- alignItems?: FlexAlignItems | undefined;
42
+ alignItems?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "stretch" | "baseline"> | undefined;
43
43
  /**
44
44
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right.
45
45
  */
46
- direction?: FlexDirection | undefined;
46
+ direction?: BreakpointCustomizable<"row" | "column" | "row-reverse" | "column-reverse"> | undefined;
47
47
  /**
48
48
  * Defines the flex containers content flow if 2 or more containers are siblings of each other.
49
49
  */
50
- inline?: FlexInline | undefined;
50
+ inline?: BreakpointCustomizable<boolean> | undefined;
51
51
  /**
52
52
  * Defines how the flex items are aligned along the main axis.
53
53
  */
54
- justifyContent?: FlexJustifyContent | undefined;
54
+ justifyContent?: BreakpointCustomizable<"center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly"> | undefined;
55
55
  /**
56
56
  * Handles wrapping behaviour of elements.
57
57
  */
58
- wrap?: FlexWrap | undefined;
58
+ wrap?: BreakpointCustomizable<"nowrap" | "wrap" | "wrap-reverse"> | undefined;
59
59
  }>, {
60
60
  alignContent: string;
61
61
  alignItems: string;
@@ -64,12 +64,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
64
64
  justifyContent: string;
65
65
  wrap: string;
66
66
  }>>>, {
67
- inline: FlexInline;
68
- wrap: FlexWrap;
69
- direction: FlexDirection;
70
- alignContent: FlexAlignContent;
71
- alignItems: FlexAlignItems;
72
- justifyContent: FlexJustifyContent;
67
+ inline: BreakpointCustomizable<FlexInline>;
68
+ wrap: BreakpointCustomizable<FlexWrap>;
69
+ direction: BreakpointCustomizable<FlexDirection>;
70
+ alignContent: BreakpointCustomizable<FlexAlignContent>;
71
+ alignItems: BreakpointCustomizable<FlexAlignItems>;
72
+ justifyContent: BreakpointCustomizable<FlexJustifyContent>;
73
73
  }>, {
74
74
  default: (_: {}) => any;
75
75
  }>;
@@ -1,5 +1,4 @@
1
- import "./FlexWrapper.vue.js";
2
- import { default as t } from "./FlexWrapper.vue.js";
1
+ import f from "./FlexWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,13 +1,13 @@
1
- import type { GridItemOffset, GridItemSize } from '../types';
1
+ import type { BreakpointCustomizable, GridItemOffset, GridItemSize } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
5
5
  */
6
- offset?: GridItemOffset | undefined;
6
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 2 | 10 | 5 | 7 | 1 | 8 | 9 | 11> | undefined;
7
7
  /**
8
8
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
9
9
  */
10
- size?: GridItemSize | undefined;
10
+ size?: BreakpointCustomizable<3 | 4 | 6 | 2 | 10 | 5 | 7 | 1 | 12 | 8 | 9 | 11> | undefined;
11
11
  }>, {
12
12
  offset: number;
13
13
  size: number;
@@ -15,17 +15,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  /**
16
16
  * The offset of the column. Can be between 0 and 11. Also defines the offset of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
17
17
  */
18
- offset?: GridItemOffset | undefined;
18
+ offset?: BreakpointCustomizable<0 | 3 | 4 | 6 | 2 | 10 | 5 | 7 | 1 | 8 | 9 | 11> | undefined;
19
19
  /**
20
20
  * The size of the column. Can be between 1 and 12. Also defines the size of the column for specific breakpoints, like {base: 6, l: 3}. You always need to provide a base value when doing this.
21
21
  */
22
- size?: GridItemSize | undefined;
22
+ size?: BreakpointCustomizable<3 | 4 | 6 | 2 | 10 | 5 | 7 | 1 | 12 | 8 | 9 | 11> | undefined;
23
23
  }>, {
24
24
  offset: number;
25
25
  size: number;
26
26
  }>>>, {
27
- size: GridItemSize;
28
- offset: GridItemOffset;
27
+ size: BreakpointCustomizable<GridItemSize>;
28
+ offset: BreakpointCustomizable<GridItemOffset>;
29
29
  }>, {
30
30
  default: (_: {}) => any;
31
31
  }>;
@@ -1,5 +1,4 @@
1
- import "./GridItemWrapper.vue.js";
2
- import { default as t } from "./GridItemWrapper.vue.js";
1
+ import f from "./GridItemWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,17 +1,17 @@
1
- import type { GridDirection, GridGutter, GridWrap } from '../types';
1
+ import type { BreakpointCustomizable, GridDirection, GridGutter, GridWrap } from '../types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
3
  /**
4
4
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
5
5
  */
6
- direction?: GridDirection | undefined;
6
+ direction?: BreakpointCustomizable<"row" | "column" | "row-reverse" | "column-reverse"> | undefined;
7
7
  /**
8
8
  * Defines the gutter size for specific breakpoints. You always need to provide a base value when doing this.
9
9
  */
10
- gutter?: GridGutter | undefined;
10
+ gutter?: BreakpointCustomizable<16 | 24 | 36> | undefined;
11
11
  /**
12
12
  * Handles wrapping behaviour of elements.
13
13
  */
14
- wrap?: GridWrap | undefined;
14
+ wrap?: BreakpointCustomizable<"nowrap" | "wrap"> | undefined;
15
15
  }>, {
16
16
  direction: string;
17
17
  gutter: () => {
@@ -24,15 +24,15 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
24
  /**
25
25
  * Defines the direction of the main and cross axis. The default "row" defines the main axis as horizontal left to right. Also defines the direction for specific breakpoints, like {base: "column", l: "row"}. You always need to provide a base value when doing this.
26
26
  */
27
- direction?: GridDirection | undefined;
27
+ direction?: BreakpointCustomizable<"row" | "column" | "row-reverse" | "column-reverse"> | undefined;
28
28
  /**
29
29
  * Defines the gutter size for specific breakpoints. You always need to provide a base value when doing this.
30
30
  */
31
- gutter?: GridGutter | undefined;
31
+ gutter?: BreakpointCustomizable<16 | 24 | 36> | undefined;
32
32
  /**
33
33
  * Handles wrapping behaviour of elements.
34
34
  */
35
- wrap?: GridWrap | undefined;
35
+ wrap?: BreakpointCustomizable<"nowrap" | "wrap"> | undefined;
36
36
  }>, {
37
37
  direction: string;
38
38
  gutter: () => {
@@ -42,9 +42,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
42
  };
43
43
  wrap: string;
44
44
  }>>>, {
45
- wrap: GridWrap;
46
- direction: GridDirection;
47
- gutter: GridGutter;
45
+ wrap: BreakpointCustomizable<GridWrap>;
46
+ direction: BreakpointCustomizable<GridDirection>;
47
+ gutter: BreakpointCustomizable<GridGutter>;
48
48
  }>, {
49
49
  default: (_: {}) => any;
50
50
  }>;
@@ -1,5 +1,4 @@
1
- import "./GridWrapper.vue.js";
2
- import { default as t } from "./GridWrapper.vue.js";
1
+ import f from "./GridWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./HeadlineWrapper.vue.js";
2
- import { default as t } from "./HeadlineWrapper.vue.js";
1
+ import f from "./HeadlineWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./IconWrapper.vue.js";
2
- import { default as t } from "./IconWrapper.vue.js";
1
+ import f from "./IconWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };
@@ -1,5 +1,4 @@
1
- import "./InlineNotificationWrapper.vue.js";
2
- import { default as t } from "./InlineNotificationWrapper.vue.js";
1
+ import f from "./InlineNotificationWrapper.vue.js";
3
2
  export {
4
- t as default
3
+ f as default
5
4
  };