@swisspost/design-system-components-react 9.0.0-next.12 → 9.0.0-next.14
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/dist/components/stencil-generated/components.d.ts +144 -0
- package/dist/components/stencil-generated/components.js +325 -0
- package/dist/components/stencil-generated/components.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/package.json +12 -15
- package/dist/components/index.d.ts +0 -1
- package/dist/components/index.js +0 -2
- package/dist/components/index.js.map +0 -1
- package/dist/components/stencil-generated/index.d.ts +0 -35
- package/dist/components/stencil-generated/index.js +0 -41
- package/dist/components/stencil-generated/index.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/createComponent.d.ts +0 -10
- package/dist/components/stencil-generated/react-component-lib/createComponent.js +0 -75
- package/dist/components/stencil-generated/react-component-lib/createComponent.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.d.ts +0 -21
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.js +0 -109
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/index.d.ts +0 -2
- package/dist/components/stencil-generated/react-component-lib/index.js +0 -3
- package/dist/components/stencil-generated/react-component-lib/index.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/interfaces.d.ts +0 -29
- package/dist/components/stencil-generated/react-component-lib/interfaces.js +0 -2
- package/dist/components/stencil-generated/react-component-lib/interfaces.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.d.ts +0 -16
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.js +0 -108
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/utils/case.d.ts +0 -2
- package/dist/components/stencil-generated/react-component-lib/utils/case.js +0 -7
- package/dist/components/stencil-generated/react-component-lib/utils/case.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/utils/dev.d.ts +0 -2
- package/dist/components/stencil-generated/react-component-lib/utils/dev.js +0 -13
- package/dist/components/stencil-generated/react-component-lib/utils/dev.js.map +0 -1
- package/dist/components/stencil-generated/react-component-lib/utils/index.d.ts +0 -10
- package/dist/components/stencil-generated/react-component-lib/utils/index.js +0 -32
- package/dist/components/stencil-generated/react-component-lib/utils/index.js.map +0 -1
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by the Stencil React Output Target.
|
|
3
|
+
* Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
|
|
4
|
+
*/
|
|
5
|
+
import type { EventName, StencilReactComponent } from '@stencil/react-output-target/runtime';
|
|
6
|
+
import { type DEVICE_SIZE, type PostHeaderCustomEvent } from "@swisspost/design-system-components";
|
|
7
|
+
import { PostAccordionItem as PostAccordionItemElement } from "@swisspost/design-system-components/dist/components/post-accordion-item.js";
|
|
8
|
+
import { PostAccordion as PostAccordionElement } from "@swisspost/design-system-components/dist/components/post-accordion.js";
|
|
9
|
+
import { PostAvatar as PostAvatarElement } from "@swisspost/design-system-components/dist/components/post-avatar.js";
|
|
10
|
+
import { PostBackToTop as PostBackToTopElement } from "@swisspost/design-system-components/dist/components/post-back-to-top.js";
|
|
11
|
+
import { PostBanner as PostBannerElement } from "@swisspost/design-system-components/dist/components/post-banner.js";
|
|
12
|
+
import { PostBreadcrumbItem as PostBreadcrumbItemElement } from "@swisspost/design-system-components/dist/components/post-breadcrumb-item.js";
|
|
13
|
+
import { PostBreadcrumb as PostBreadcrumbElement } from "@swisspost/design-system-components/dist/components/post-breadcrumb.js";
|
|
14
|
+
import { PostCardControl as PostCardControlElement } from "@swisspost/design-system-components/dist/components/post-card-control.js";
|
|
15
|
+
import { PostClosebutton as PostClosebuttonElement } from "@swisspost/design-system-components/dist/components/post-closebutton.js";
|
|
16
|
+
import { PostCollapsibleTrigger as PostCollapsibleTriggerElement } from "@swisspost/design-system-components/dist/components/post-collapsible-trigger.js";
|
|
17
|
+
import { PostCollapsible as PostCollapsibleElement } from "@swisspost/design-system-components/dist/components/post-collapsible.js";
|
|
18
|
+
import { PostFooter as PostFooterElement } from "@swisspost/design-system-components/dist/components/post-footer.js";
|
|
19
|
+
import { PostHeader as PostHeaderElement } from "@swisspost/design-system-components/dist/components/post-header.js";
|
|
20
|
+
import { PostIcon as PostIconElement } from "@swisspost/design-system-components/dist/components/post-icon.js";
|
|
21
|
+
import { PostLanguageOption as PostLanguageOptionElement } from "@swisspost/design-system-components/dist/components/post-language-option.js";
|
|
22
|
+
import { PostLanguageSwitch as PostLanguageSwitchElement } from "@swisspost/design-system-components/dist/components/post-language-switch.js";
|
|
23
|
+
import { PostLinkarea as PostLinkareaElement } from "@swisspost/design-system-components/dist/components/post-linkarea.js";
|
|
24
|
+
import { PostListItem as PostListItemElement } from "@swisspost/design-system-components/dist/components/post-list-item.js";
|
|
25
|
+
import { PostList as PostListElement } from "@swisspost/design-system-components/dist/components/post-list.js";
|
|
26
|
+
import { PostLogo as PostLogoElement } from "@swisspost/design-system-components/dist/components/post-logo.js";
|
|
27
|
+
import { PostMainnavigation as PostMainnavigationElement } from "@swisspost/design-system-components/dist/components/post-mainnavigation.js";
|
|
28
|
+
import { PostMegadropdownTrigger as PostMegadropdownTriggerElement } from "@swisspost/design-system-components/dist/components/post-megadropdown-trigger.js";
|
|
29
|
+
import { PostMegadropdown as PostMegadropdownElement } from "@swisspost/design-system-components/dist/components/post-megadropdown.js";
|
|
30
|
+
import { PostMenuItem as PostMenuItemElement } from "@swisspost/design-system-components/dist/components/post-menu-item.js";
|
|
31
|
+
import { PostMenuTrigger as PostMenuTriggerElement } from "@swisspost/design-system-components/dist/components/post-menu-trigger.js";
|
|
32
|
+
import { PostMenu as PostMenuElement } from "@swisspost/design-system-components/dist/components/post-menu.js";
|
|
33
|
+
import { PostPopover as PostPopoverElement } from "@swisspost/design-system-components/dist/components/post-popover.js";
|
|
34
|
+
import { PostPopovercontainer as PostPopovercontainerElement } from "@swisspost/design-system-components/dist/components/post-popovercontainer.js";
|
|
35
|
+
import { PostRating as PostRatingElement } from "@swisspost/design-system-components/dist/components/post-rating.js";
|
|
36
|
+
import { PostTabHeader as PostTabHeaderElement } from "@swisspost/design-system-components/dist/components/post-tab-header.js";
|
|
37
|
+
import { PostTabPanel as PostTabPanelElement } from "@swisspost/design-system-components/dist/components/post-tab-panel.js";
|
|
38
|
+
import { PostTabs as PostTabsElement } from "@swisspost/design-system-components/dist/components/post-tabs.js";
|
|
39
|
+
import { PostTag as PostTagElement } from "@swisspost/design-system-components/dist/components/post-tag.js";
|
|
40
|
+
import { PostTogglebutton as PostTogglebuttonElement } from "@swisspost/design-system-components/dist/components/post-togglebutton.js";
|
|
41
|
+
import { PostTooltip as PostTooltipElement } from "@swisspost/design-system-components/dist/components/post-tooltip.js";
|
|
42
|
+
type PostAccordionEvents = NonNullable<unknown>;
|
|
43
|
+
export declare const PostAccordion: StencilReactComponent<PostAccordionElement, PostAccordionEvents>;
|
|
44
|
+
type PostAccordionItemEvents = NonNullable<unknown>;
|
|
45
|
+
export declare const PostAccordionItem: StencilReactComponent<PostAccordionItemElement, PostAccordionItemEvents>;
|
|
46
|
+
type PostAvatarEvents = NonNullable<unknown>;
|
|
47
|
+
export declare const PostAvatar: StencilReactComponent<PostAvatarElement, PostAvatarEvents>;
|
|
48
|
+
type PostBackToTopEvents = NonNullable<unknown>;
|
|
49
|
+
export declare const PostBackToTop: StencilReactComponent<PostBackToTopElement, PostBackToTopEvents>;
|
|
50
|
+
type PostBannerEvents = {
|
|
51
|
+
onPostDismissed: EventName<CustomEvent<void>>;
|
|
52
|
+
};
|
|
53
|
+
export declare const PostBanner: StencilReactComponent<PostBannerElement, PostBannerEvents>;
|
|
54
|
+
type PostBreadcrumbEvents = NonNullable<unknown>;
|
|
55
|
+
export declare const PostBreadcrumb: StencilReactComponent<PostBreadcrumbElement, PostBreadcrumbEvents>;
|
|
56
|
+
type PostBreadcrumbItemEvents = NonNullable<unknown>;
|
|
57
|
+
export declare const PostBreadcrumbItem: StencilReactComponent<PostBreadcrumbItemElement, PostBreadcrumbItemEvents>;
|
|
58
|
+
type PostCardControlEvents = {
|
|
59
|
+
onPostInput: EventName<CustomEvent<{
|
|
60
|
+
state: boolean;
|
|
61
|
+
value: string;
|
|
62
|
+
}>>;
|
|
63
|
+
onPostChange: EventName<CustomEvent<{
|
|
64
|
+
state: boolean;
|
|
65
|
+
value: string;
|
|
66
|
+
}>>;
|
|
67
|
+
};
|
|
68
|
+
export declare const PostCardControl: StencilReactComponent<PostCardControlElement, PostCardControlEvents>;
|
|
69
|
+
type PostClosebuttonEvents = NonNullable<unknown>;
|
|
70
|
+
export declare const PostClosebutton: StencilReactComponent<PostClosebuttonElement, PostClosebuttonEvents>;
|
|
71
|
+
type PostCollapsibleEvents = {
|
|
72
|
+
onPostToggle: EventName<CustomEvent<boolean>>;
|
|
73
|
+
};
|
|
74
|
+
export declare const PostCollapsible: StencilReactComponent<PostCollapsibleElement, PostCollapsibleEvents>;
|
|
75
|
+
type PostCollapsibleTriggerEvents = NonNullable<unknown>;
|
|
76
|
+
export declare const PostCollapsibleTrigger: StencilReactComponent<PostCollapsibleTriggerElement, PostCollapsibleTriggerEvents>;
|
|
77
|
+
type PostFooterEvents = NonNullable<unknown>;
|
|
78
|
+
export declare const PostFooter: StencilReactComponent<PostFooterElement, PostFooterEvents>;
|
|
79
|
+
type PostHeaderEvents = {
|
|
80
|
+
onPostUpdateDevice: EventName<PostHeaderCustomEvent<DEVICE_SIZE>>;
|
|
81
|
+
};
|
|
82
|
+
export declare const PostHeader: StencilReactComponent<PostHeaderElement, PostHeaderEvents>;
|
|
83
|
+
type PostIconEvents = NonNullable<unknown>;
|
|
84
|
+
export declare const PostIcon: StencilReactComponent<PostIconElement, PostIconEvents>;
|
|
85
|
+
type PostLanguageOptionEvents = {
|
|
86
|
+
onPostChange: EventName<CustomEvent<string>>;
|
|
87
|
+
};
|
|
88
|
+
export declare const PostLanguageOption: StencilReactComponent<PostLanguageOptionElement, PostLanguageOptionEvents>;
|
|
89
|
+
type PostLanguageSwitchEvents = NonNullable<unknown>;
|
|
90
|
+
export declare const PostLanguageSwitch: StencilReactComponent<PostLanguageSwitchElement, PostLanguageSwitchEvents>;
|
|
91
|
+
type PostLinkareaEvents = NonNullable<unknown>;
|
|
92
|
+
export declare const PostLinkarea: StencilReactComponent<PostLinkareaElement, PostLinkareaEvents>;
|
|
93
|
+
type PostListEvents = NonNullable<unknown>;
|
|
94
|
+
export declare const PostList: StencilReactComponent<PostListElement, PostListEvents>;
|
|
95
|
+
type PostListItemEvents = NonNullable<unknown>;
|
|
96
|
+
export declare const PostListItem: StencilReactComponent<PostListItemElement, PostListItemEvents>;
|
|
97
|
+
type PostLogoEvents = NonNullable<unknown>;
|
|
98
|
+
export declare const PostLogo: StencilReactComponent<PostLogoElement, PostLogoEvents>;
|
|
99
|
+
type PostMainnavigationEvents = NonNullable<unknown>;
|
|
100
|
+
export declare const PostMainnavigation: StencilReactComponent<PostMainnavigationElement, PostMainnavigationEvents>;
|
|
101
|
+
type PostMegadropdownEvents = {
|
|
102
|
+
onPostToggleMegadropdown: EventName<CustomEvent<boolean>>;
|
|
103
|
+
};
|
|
104
|
+
export declare const PostMegadropdown: StencilReactComponent<PostMegadropdownElement, PostMegadropdownEvents>;
|
|
105
|
+
type PostMegadropdownTriggerEvents = NonNullable<unknown>;
|
|
106
|
+
export declare const PostMegadropdownTrigger: StencilReactComponent<PostMegadropdownTriggerElement, PostMegadropdownTriggerEvents>;
|
|
107
|
+
type PostMenuEvents = {
|
|
108
|
+
onToggleMenu: EventName<CustomEvent<boolean>>;
|
|
109
|
+
};
|
|
110
|
+
export declare const PostMenu: StencilReactComponent<PostMenuElement, PostMenuEvents>;
|
|
111
|
+
type PostMenuItemEvents = NonNullable<unknown>;
|
|
112
|
+
export declare const PostMenuItem: StencilReactComponent<PostMenuItemElement, PostMenuItemEvents>;
|
|
113
|
+
type PostMenuTriggerEvents = NonNullable<unknown>;
|
|
114
|
+
export declare const PostMenuTrigger: StencilReactComponent<PostMenuTriggerElement, PostMenuTriggerEvents>;
|
|
115
|
+
type PostPopoverEvents = NonNullable<unknown>;
|
|
116
|
+
export declare const PostPopover: StencilReactComponent<PostPopoverElement, PostPopoverEvents>;
|
|
117
|
+
type PostPopovercontainerEvents = {
|
|
118
|
+
onPostToggle: EventName<CustomEvent<boolean>>;
|
|
119
|
+
};
|
|
120
|
+
export declare const PostPopovercontainer: StencilReactComponent<PostPopovercontainerElement, PostPopovercontainerEvents>;
|
|
121
|
+
type PostRatingEvents = {
|
|
122
|
+
onPostInput: EventName<CustomEvent<{
|
|
123
|
+
value: number;
|
|
124
|
+
}>>;
|
|
125
|
+
onPostChange: EventName<CustomEvent<{
|
|
126
|
+
value: number;
|
|
127
|
+
}>>;
|
|
128
|
+
};
|
|
129
|
+
export declare const PostRating: StencilReactComponent<PostRatingElement, PostRatingEvents>;
|
|
130
|
+
type PostTabHeaderEvents = NonNullable<unknown>;
|
|
131
|
+
export declare const PostTabHeader: StencilReactComponent<PostTabHeaderElement, PostTabHeaderEvents>;
|
|
132
|
+
type PostTabPanelEvents = NonNullable<unknown>;
|
|
133
|
+
export declare const PostTabPanel: StencilReactComponent<PostTabPanelElement, PostTabPanelEvents>;
|
|
134
|
+
type PostTabsEvents = {
|
|
135
|
+
onPostChange: EventName<CustomEvent<string>>;
|
|
136
|
+
};
|
|
137
|
+
export declare const PostTabs: StencilReactComponent<PostTabsElement, PostTabsEvents>;
|
|
138
|
+
type PostTagEvents = NonNullable<unknown>;
|
|
139
|
+
export declare const PostTag: StencilReactComponent<PostTagElement, PostTagEvents>;
|
|
140
|
+
type PostTogglebuttonEvents = NonNullable<unknown>;
|
|
141
|
+
export declare const PostTogglebutton: StencilReactComponent<PostTogglebuttonElement, PostTogglebuttonEvents>;
|
|
142
|
+
type PostTooltipEvents = NonNullable<unknown>;
|
|
143
|
+
export declare const PostTooltip: StencilReactComponent<PostTooltipElement, PostTooltipEvents>;
|
|
144
|
+
export {};
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import { createComponent } from '@stencil/react-output-target/runtime';
|
|
3
|
+
import { PostAccordionItem as PostAccordionItemElement, defineCustomElement as definePostAccordionItem } from "@swisspost/design-system-components/dist/components/post-accordion-item.js";
|
|
4
|
+
import { PostAccordion as PostAccordionElement, defineCustomElement as definePostAccordion } from "@swisspost/design-system-components/dist/components/post-accordion.js";
|
|
5
|
+
import { PostAvatar as PostAvatarElement, defineCustomElement as definePostAvatar } from "@swisspost/design-system-components/dist/components/post-avatar.js";
|
|
6
|
+
import { PostBackToTop as PostBackToTopElement, defineCustomElement as definePostBackToTop } from "@swisspost/design-system-components/dist/components/post-back-to-top.js";
|
|
7
|
+
import { PostBanner as PostBannerElement, defineCustomElement as definePostBanner } from "@swisspost/design-system-components/dist/components/post-banner.js";
|
|
8
|
+
import { PostBreadcrumbItem as PostBreadcrumbItemElement, defineCustomElement as definePostBreadcrumbItem } from "@swisspost/design-system-components/dist/components/post-breadcrumb-item.js";
|
|
9
|
+
import { PostBreadcrumb as PostBreadcrumbElement, defineCustomElement as definePostBreadcrumb } from "@swisspost/design-system-components/dist/components/post-breadcrumb.js";
|
|
10
|
+
import { PostCardControl as PostCardControlElement, defineCustomElement as definePostCardControl } from "@swisspost/design-system-components/dist/components/post-card-control.js";
|
|
11
|
+
import { PostClosebutton as PostClosebuttonElement, defineCustomElement as definePostClosebutton } from "@swisspost/design-system-components/dist/components/post-closebutton.js";
|
|
12
|
+
import { PostCollapsibleTrigger as PostCollapsibleTriggerElement, defineCustomElement as definePostCollapsibleTrigger } from "@swisspost/design-system-components/dist/components/post-collapsible-trigger.js";
|
|
13
|
+
import { PostCollapsible as PostCollapsibleElement, defineCustomElement as definePostCollapsible } from "@swisspost/design-system-components/dist/components/post-collapsible.js";
|
|
14
|
+
import { PostFooter as PostFooterElement, defineCustomElement as definePostFooter } from "@swisspost/design-system-components/dist/components/post-footer.js";
|
|
15
|
+
import { PostHeader as PostHeaderElement, defineCustomElement as definePostHeader } from "@swisspost/design-system-components/dist/components/post-header.js";
|
|
16
|
+
import { PostIcon as PostIconElement, defineCustomElement as definePostIcon } from "@swisspost/design-system-components/dist/components/post-icon.js";
|
|
17
|
+
import { PostLanguageOption as PostLanguageOptionElement, defineCustomElement as definePostLanguageOption } from "@swisspost/design-system-components/dist/components/post-language-option.js";
|
|
18
|
+
import { PostLanguageSwitch as PostLanguageSwitchElement, defineCustomElement as definePostLanguageSwitch } from "@swisspost/design-system-components/dist/components/post-language-switch.js";
|
|
19
|
+
import { PostLinkarea as PostLinkareaElement, defineCustomElement as definePostLinkarea } from "@swisspost/design-system-components/dist/components/post-linkarea.js";
|
|
20
|
+
import { PostListItem as PostListItemElement, defineCustomElement as definePostListItem } from "@swisspost/design-system-components/dist/components/post-list-item.js";
|
|
21
|
+
import { PostList as PostListElement, defineCustomElement as definePostList } from "@swisspost/design-system-components/dist/components/post-list.js";
|
|
22
|
+
import { PostLogo as PostLogoElement, defineCustomElement as definePostLogo } from "@swisspost/design-system-components/dist/components/post-logo.js";
|
|
23
|
+
import { PostMainnavigation as PostMainnavigationElement, defineCustomElement as definePostMainnavigation } from "@swisspost/design-system-components/dist/components/post-mainnavigation.js";
|
|
24
|
+
import { PostMegadropdownTrigger as PostMegadropdownTriggerElement, defineCustomElement as definePostMegadropdownTrigger } from "@swisspost/design-system-components/dist/components/post-megadropdown-trigger.js";
|
|
25
|
+
import { PostMegadropdown as PostMegadropdownElement, defineCustomElement as definePostMegadropdown } from "@swisspost/design-system-components/dist/components/post-megadropdown.js";
|
|
26
|
+
import { PostMenuItem as PostMenuItemElement, defineCustomElement as definePostMenuItem } from "@swisspost/design-system-components/dist/components/post-menu-item.js";
|
|
27
|
+
import { PostMenuTrigger as PostMenuTriggerElement, defineCustomElement as definePostMenuTrigger } from "@swisspost/design-system-components/dist/components/post-menu-trigger.js";
|
|
28
|
+
import { PostMenu as PostMenuElement, defineCustomElement as definePostMenu } from "@swisspost/design-system-components/dist/components/post-menu.js";
|
|
29
|
+
import { PostPopover as PostPopoverElement, defineCustomElement as definePostPopover } from "@swisspost/design-system-components/dist/components/post-popover.js";
|
|
30
|
+
import { PostPopovercontainer as PostPopovercontainerElement, defineCustomElement as definePostPopovercontainer } from "@swisspost/design-system-components/dist/components/post-popovercontainer.js";
|
|
31
|
+
import { PostRating as PostRatingElement, defineCustomElement as definePostRating } from "@swisspost/design-system-components/dist/components/post-rating.js";
|
|
32
|
+
import { PostTabHeader as PostTabHeaderElement, defineCustomElement as definePostTabHeader } from "@swisspost/design-system-components/dist/components/post-tab-header.js";
|
|
33
|
+
import { PostTabPanel as PostTabPanelElement, defineCustomElement as definePostTabPanel } from "@swisspost/design-system-components/dist/components/post-tab-panel.js";
|
|
34
|
+
import { PostTabs as PostTabsElement, defineCustomElement as definePostTabs } from "@swisspost/design-system-components/dist/components/post-tabs.js";
|
|
35
|
+
import { PostTag as PostTagElement, defineCustomElement as definePostTag } from "@swisspost/design-system-components/dist/components/post-tag.js";
|
|
36
|
+
import { PostTogglebutton as PostTogglebuttonElement, defineCustomElement as definePostTogglebutton } from "@swisspost/design-system-components/dist/components/post-togglebutton.js";
|
|
37
|
+
import { PostTooltip as PostTooltipElement, defineCustomElement as definePostTooltip } from "@swisspost/design-system-components/dist/components/post-tooltip.js";
|
|
38
|
+
import React from 'react';
|
|
39
|
+
export const PostAccordion = /*@__PURE__*/ createComponent({
|
|
40
|
+
tagName: 'post-accordion',
|
|
41
|
+
elementClass: PostAccordionElement,
|
|
42
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
43
|
+
react: React,
|
|
44
|
+
events: {},
|
|
45
|
+
defineCustomElement: definePostAccordion
|
|
46
|
+
});
|
|
47
|
+
export const PostAccordionItem = /*@__PURE__*/ createComponent({
|
|
48
|
+
tagName: 'post-accordion-item',
|
|
49
|
+
elementClass: PostAccordionItemElement,
|
|
50
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
51
|
+
react: React,
|
|
52
|
+
events: {},
|
|
53
|
+
defineCustomElement: definePostAccordionItem
|
|
54
|
+
});
|
|
55
|
+
export const PostAvatar = /*@__PURE__*/ createComponent({
|
|
56
|
+
tagName: 'post-avatar',
|
|
57
|
+
elementClass: PostAvatarElement,
|
|
58
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
59
|
+
react: React,
|
|
60
|
+
events: {},
|
|
61
|
+
defineCustomElement: definePostAvatar
|
|
62
|
+
});
|
|
63
|
+
export const PostBackToTop = /*@__PURE__*/ createComponent({
|
|
64
|
+
tagName: 'post-back-to-top',
|
|
65
|
+
elementClass: PostBackToTopElement,
|
|
66
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
67
|
+
react: React,
|
|
68
|
+
events: {},
|
|
69
|
+
defineCustomElement: definePostBackToTop
|
|
70
|
+
});
|
|
71
|
+
export const PostBanner = /*@__PURE__*/ createComponent({
|
|
72
|
+
tagName: 'post-banner',
|
|
73
|
+
elementClass: PostBannerElement,
|
|
74
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
75
|
+
react: React,
|
|
76
|
+
events: { onPostDismissed: 'postDismissed' },
|
|
77
|
+
defineCustomElement: definePostBanner
|
|
78
|
+
});
|
|
79
|
+
export const PostBreadcrumb = /*@__PURE__*/ createComponent({
|
|
80
|
+
tagName: 'post-breadcrumb',
|
|
81
|
+
elementClass: PostBreadcrumbElement,
|
|
82
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
83
|
+
react: React,
|
|
84
|
+
events: {},
|
|
85
|
+
defineCustomElement: definePostBreadcrumb
|
|
86
|
+
});
|
|
87
|
+
export const PostBreadcrumbItem = /*@__PURE__*/ createComponent({
|
|
88
|
+
tagName: 'post-breadcrumb-item',
|
|
89
|
+
elementClass: PostBreadcrumbItemElement,
|
|
90
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
91
|
+
react: React,
|
|
92
|
+
events: {},
|
|
93
|
+
defineCustomElement: definePostBreadcrumbItem
|
|
94
|
+
});
|
|
95
|
+
export const PostCardControl = /*@__PURE__*/ createComponent({
|
|
96
|
+
tagName: 'post-card-control',
|
|
97
|
+
elementClass: PostCardControlElement,
|
|
98
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
99
|
+
react: React,
|
|
100
|
+
events: {
|
|
101
|
+
onPostInput: 'postInput',
|
|
102
|
+
onPostChange: 'postChange'
|
|
103
|
+
},
|
|
104
|
+
defineCustomElement: definePostCardControl
|
|
105
|
+
});
|
|
106
|
+
export const PostClosebutton = /*@__PURE__*/ createComponent({
|
|
107
|
+
tagName: 'post-closebutton',
|
|
108
|
+
elementClass: PostClosebuttonElement,
|
|
109
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
110
|
+
react: React,
|
|
111
|
+
events: {},
|
|
112
|
+
defineCustomElement: definePostClosebutton
|
|
113
|
+
});
|
|
114
|
+
export const PostCollapsible = /*@__PURE__*/ createComponent({
|
|
115
|
+
tagName: 'post-collapsible',
|
|
116
|
+
elementClass: PostCollapsibleElement,
|
|
117
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
118
|
+
react: React,
|
|
119
|
+
events: { onPostToggle: 'postToggle' },
|
|
120
|
+
defineCustomElement: definePostCollapsible
|
|
121
|
+
});
|
|
122
|
+
export const PostCollapsibleTrigger = /*@__PURE__*/ createComponent({
|
|
123
|
+
tagName: 'post-collapsible-trigger',
|
|
124
|
+
elementClass: PostCollapsibleTriggerElement,
|
|
125
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
126
|
+
react: React,
|
|
127
|
+
events: {},
|
|
128
|
+
defineCustomElement: definePostCollapsibleTrigger
|
|
129
|
+
});
|
|
130
|
+
export const PostFooter = /*@__PURE__*/ createComponent({
|
|
131
|
+
tagName: 'post-footer',
|
|
132
|
+
elementClass: PostFooterElement,
|
|
133
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
134
|
+
react: React,
|
|
135
|
+
events: {},
|
|
136
|
+
defineCustomElement: definePostFooter
|
|
137
|
+
});
|
|
138
|
+
export const PostHeader = /*@__PURE__*/ createComponent({
|
|
139
|
+
tagName: 'post-header',
|
|
140
|
+
elementClass: PostHeaderElement,
|
|
141
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
142
|
+
react: React,
|
|
143
|
+
events: { onPostUpdateDevice: 'postUpdateDevice' },
|
|
144
|
+
defineCustomElement: definePostHeader
|
|
145
|
+
});
|
|
146
|
+
export const PostIcon = /*@__PURE__*/ createComponent({
|
|
147
|
+
tagName: 'post-icon',
|
|
148
|
+
elementClass: PostIconElement,
|
|
149
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
150
|
+
react: React,
|
|
151
|
+
events: {},
|
|
152
|
+
defineCustomElement: definePostIcon
|
|
153
|
+
});
|
|
154
|
+
export const PostLanguageOption = /*@__PURE__*/ createComponent({
|
|
155
|
+
tagName: 'post-language-option',
|
|
156
|
+
elementClass: PostLanguageOptionElement,
|
|
157
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
158
|
+
react: React,
|
|
159
|
+
events: { onPostChange: 'postChange' },
|
|
160
|
+
defineCustomElement: definePostLanguageOption
|
|
161
|
+
});
|
|
162
|
+
export const PostLanguageSwitch = /*@__PURE__*/ createComponent({
|
|
163
|
+
tagName: 'post-language-switch',
|
|
164
|
+
elementClass: PostLanguageSwitchElement,
|
|
165
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
166
|
+
react: React,
|
|
167
|
+
events: {},
|
|
168
|
+
defineCustomElement: definePostLanguageSwitch
|
|
169
|
+
});
|
|
170
|
+
export const PostLinkarea = /*@__PURE__*/ createComponent({
|
|
171
|
+
tagName: 'post-linkarea',
|
|
172
|
+
elementClass: PostLinkareaElement,
|
|
173
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
174
|
+
react: React,
|
|
175
|
+
events: {},
|
|
176
|
+
defineCustomElement: definePostLinkarea
|
|
177
|
+
});
|
|
178
|
+
export const PostList = /*@__PURE__*/ createComponent({
|
|
179
|
+
tagName: 'post-list',
|
|
180
|
+
elementClass: PostListElement,
|
|
181
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
182
|
+
react: React,
|
|
183
|
+
events: {},
|
|
184
|
+
defineCustomElement: definePostList
|
|
185
|
+
});
|
|
186
|
+
export const PostListItem = /*@__PURE__*/ createComponent({
|
|
187
|
+
tagName: 'post-list-item',
|
|
188
|
+
elementClass: PostListItemElement,
|
|
189
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
190
|
+
react: React,
|
|
191
|
+
events: {},
|
|
192
|
+
defineCustomElement: definePostListItem
|
|
193
|
+
});
|
|
194
|
+
export const PostLogo = /*@__PURE__*/ createComponent({
|
|
195
|
+
tagName: 'post-logo',
|
|
196
|
+
elementClass: PostLogoElement,
|
|
197
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
198
|
+
react: React,
|
|
199
|
+
events: {},
|
|
200
|
+
defineCustomElement: definePostLogo
|
|
201
|
+
});
|
|
202
|
+
export const PostMainnavigation = /*@__PURE__*/ createComponent({
|
|
203
|
+
tagName: 'post-mainnavigation',
|
|
204
|
+
elementClass: PostMainnavigationElement,
|
|
205
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
206
|
+
react: React,
|
|
207
|
+
events: {},
|
|
208
|
+
defineCustomElement: definePostMainnavigation
|
|
209
|
+
});
|
|
210
|
+
export const PostMegadropdown = /*@__PURE__*/ createComponent({
|
|
211
|
+
tagName: 'post-megadropdown',
|
|
212
|
+
elementClass: PostMegadropdownElement,
|
|
213
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
214
|
+
react: React,
|
|
215
|
+
events: { onPostToggleMegadropdown: 'postToggleMegadropdown' },
|
|
216
|
+
defineCustomElement: definePostMegadropdown
|
|
217
|
+
});
|
|
218
|
+
export const PostMegadropdownTrigger = /*@__PURE__*/ createComponent({
|
|
219
|
+
tagName: 'post-megadropdown-trigger',
|
|
220
|
+
elementClass: PostMegadropdownTriggerElement,
|
|
221
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
222
|
+
react: React,
|
|
223
|
+
events: {},
|
|
224
|
+
defineCustomElement: definePostMegadropdownTrigger
|
|
225
|
+
});
|
|
226
|
+
export const PostMenu = /*@__PURE__*/ createComponent({
|
|
227
|
+
tagName: 'post-menu',
|
|
228
|
+
elementClass: PostMenuElement,
|
|
229
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
230
|
+
react: React,
|
|
231
|
+
events: { onToggleMenu: 'toggleMenu' },
|
|
232
|
+
defineCustomElement: definePostMenu
|
|
233
|
+
});
|
|
234
|
+
export const PostMenuItem = /*@__PURE__*/ createComponent({
|
|
235
|
+
tagName: 'post-menu-item',
|
|
236
|
+
elementClass: PostMenuItemElement,
|
|
237
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
238
|
+
react: React,
|
|
239
|
+
events: {},
|
|
240
|
+
defineCustomElement: definePostMenuItem
|
|
241
|
+
});
|
|
242
|
+
export const PostMenuTrigger = /*@__PURE__*/ createComponent({
|
|
243
|
+
tagName: 'post-menu-trigger',
|
|
244
|
+
elementClass: PostMenuTriggerElement,
|
|
245
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
246
|
+
react: React,
|
|
247
|
+
events: {},
|
|
248
|
+
defineCustomElement: definePostMenuTrigger
|
|
249
|
+
});
|
|
250
|
+
export const PostPopover = /*@__PURE__*/ createComponent({
|
|
251
|
+
tagName: 'post-popover',
|
|
252
|
+
elementClass: PostPopoverElement,
|
|
253
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
254
|
+
react: React,
|
|
255
|
+
events: {},
|
|
256
|
+
defineCustomElement: definePostPopover
|
|
257
|
+
});
|
|
258
|
+
export const PostPopovercontainer = /*@__PURE__*/ createComponent({
|
|
259
|
+
tagName: 'post-popovercontainer',
|
|
260
|
+
elementClass: PostPopovercontainerElement,
|
|
261
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
262
|
+
react: React,
|
|
263
|
+
events: { onPostToggle: 'postToggle' },
|
|
264
|
+
defineCustomElement: definePostPopovercontainer
|
|
265
|
+
});
|
|
266
|
+
export const PostRating = /*@__PURE__*/ createComponent({
|
|
267
|
+
tagName: 'post-rating',
|
|
268
|
+
elementClass: PostRatingElement,
|
|
269
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
270
|
+
react: React,
|
|
271
|
+
events: {
|
|
272
|
+
onPostInput: 'postInput',
|
|
273
|
+
onPostChange: 'postChange'
|
|
274
|
+
},
|
|
275
|
+
defineCustomElement: definePostRating
|
|
276
|
+
});
|
|
277
|
+
export const PostTabHeader = /*@__PURE__*/ createComponent({
|
|
278
|
+
tagName: 'post-tab-header',
|
|
279
|
+
elementClass: PostTabHeaderElement,
|
|
280
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
281
|
+
react: React,
|
|
282
|
+
events: {},
|
|
283
|
+
defineCustomElement: definePostTabHeader
|
|
284
|
+
});
|
|
285
|
+
export const PostTabPanel = /*@__PURE__*/ createComponent({
|
|
286
|
+
tagName: 'post-tab-panel',
|
|
287
|
+
elementClass: PostTabPanelElement,
|
|
288
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
289
|
+
react: React,
|
|
290
|
+
events: {},
|
|
291
|
+
defineCustomElement: definePostTabPanel
|
|
292
|
+
});
|
|
293
|
+
export const PostTabs = /*@__PURE__*/ createComponent({
|
|
294
|
+
tagName: 'post-tabs',
|
|
295
|
+
elementClass: PostTabsElement,
|
|
296
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
297
|
+
react: React,
|
|
298
|
+
events: { onPostChange: 'postChange' },
|
|
299
|
+
defineCustomElement: definePostTabs
|
|
300
|
+
});
|
|
301
|
+
export const PostTag = /*@__PURE__*/ createComponent({
|
|
302
|
+
tagName: 'post-tag',
|
|
303
|
+
elementClass: PostTagElement,
|
|
304
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
305
|
+
react: React,
|
|
306
|
+
events: {},
|
|
307
|
+
defineCustomElement: definePostTag
|
|
308
|
+
});
|
|
309
|
+
export const PostTogglebutton = /*@__PURE__*/ createComponent({
|
|
310
|
+
tagName: 'post-togglebutton',
|
|
311
|
+
elementClass: PostTogglebuttonElement,
|
|
312
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
313
|
+
react: React,
|
|
314
|
+
events: {},
|
|
315
|
+
defineCustomElement: definePostTogglebutton
|
|
316
|
+
});
|
|
317
|
+
export const PostTooltip = /*@__PURE__*/ createComponent({
|
|
318
|
+
tagName: 'post-tooltip',
|
|
319
|
+
elementClass: PostTooltipElement,
|
|
320
|
+
// @ts-ignore - React type of Stencil Output Target may differ from the React version used in the Nuxt.js project, this can be ignored.
|
|
321
|
+
react: React,
|
|
322
|
+
events: {},
|
|
323
|
+
defineCustomElement: definePostTooltip
|
|
324
|
+
});
|
|
325
|
+
//# sourceMappingURL=components.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/components.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAUb,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AAEvE,OAAO,EAAE,iBAAiB,IAAI,wBAAwB,EAAE,mBAAmB,IAAI,uBAAuB,EAAE,MAAM,4EAA4E,CAAC;AAC3L,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,mBAAmB,EAAE,MAAM,uEAAuE,CAAC;AAC1K,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,mBAAmB,IAAI,gBAAgB,EAAE,MAAM,oEAAoE,CAAC;AAC9J,OAAO,EAAE,aAAa,IAAI,oBAAoB,EAAE,mBAAmB,IAAI,mBAAmB,EAAE,MAAM,yEAAyE,CAAC;AAC5K,OAAO,EAAE,UAAU,IAAI,iBAAiB,EAAE,mBAAmB,IAAI,gBAAgB,EAAE,MAAM,oEAAoE,CAAC;AAC9J,OAAO,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,mBAAmB,IAAI,wBAAwB,EAAE,MAAM,6EAA6E,CAAC;AAC/L,OAAO,EAAE,cAAc,IAAI,qBAAqB,EAAE,mBAAmB,IAAI,oBAAoB,EAAE,MAAM,wEAAwE,CAAC;AAC9K,OAAO,EAAE,eAAe,IAAI,sBAAsB,EAAE,mBAAmB,IAAI,qB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C,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAwB;IAChC,mBAAmB,EAAE,kBAAkB;CAC1C,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,QAAQ,GAA2D,aAAa,CAAC,eAAe,CAAkC;IAC3I,OAAO,EAAE,WAAW;IACpB,YAAY,EAAE,eAAe;IAC7B,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAE,YAAY,EAAE,YAAY,EAAoB;IACxD,mBAAmB,EAAE,cAAc;CACtC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,OAAO,GAAyD,aAAa,CAAC,eAAe,CAAgC;IACtI,OAAO,EAAE,UAAU;IACnB,YAAY,EAAE,cAAc;IAC5B,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAmB;IAC3B,mBAAmB,EAAE,aAAa;CACrC,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,gBAAgB,GAA2E,aAAa,CAAC,eAAe,CAAkD;IACnL,OAAO,EAAE,mBAAmB;IAC5B,YAAY,EAAE,uBAAuB;IACrC,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAA4B;IACpC,mBAAmB,EAAE,sBAAsB;CAC9C,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,WAAW,GAAiE,aAAa,CAAC,eAAe,CAAwC;IAC1J,OAAO,EAAE,cAAc;IACvB,YAAY,EAAE,kBAAkB;IAChC,uIAAuI;IACvI,KAAK,EAAE,KAAK;IACZ,MAAM,EAAE,EAAuB;IAC/B,mBAAmB,EAAE,iBAAiB;CACzC,CAAC,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './components';
|
|
1
|
+
export * from './components/stencil-generated/components';
|
package/dist/index.js
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,2CAA2C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swisspost/design-system-components-react",
|
|
3
|
-
"version": "9.0.0-next.
|
|
3
|
+
"version": "9.0.0-next.14",
|
|
4
4
|
"description": "Design System React Components for easy integration with the React ecosystem",
|
|
5
5
|
"author": "Swiss Post <design-system@post.ch>",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -22,24 +22,22 @@
|
|
|
22
22
|
"linkDirectory": true
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@swisspost/design-system-components": "9.0.0-next.
|
|
25
|
+
"@swisspost/design-system-components": "9.0.0-next.14"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
+
"@eslint/js": "9.18.0",
|
|
29
|
+
"@stencil/react-output-target": "0.8.2",
|
|
28
30
|
"@types/node": "22.10.5",
|
|
29
31
|
"@types/react": "18.3.3",
|
|
30
32
|
"@types/react-dom": "18.3.5",
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"eslint-config-love": "43.1.0",
|
|
35
|
-
"eslint-plugin-import": "2.31.0",
|
|
36
|
-
"eslint-plugin-n": "16.6.2",
|
|
37
|
-
"eslint-plugin-promise": "6.6.0",
|
|
38
|
-
"eslint-plugin-react": "7.37.3",
|
|
33
|
+
"eslint": "9.18.0",
|
|
34
|
+
"eslint-plugin-react": "7.37.4",
|
|
35
|
+
"globals": "15.14.0",
|
|
39
36
|
"react": "18.3.1",
|
|
40
37
|
"react-dom": "18.3.1",
|
|
41
38
|
"rimraf": "6.0.1",
|
|
42
|
-
"typescript": "5.5.4"
|
|
39
|
+
"typescript": "5.5.4",
|
|
40
|
+
"typescript-eslint": "8.20.0"
|
|
43
41
|
},
|
|
44
42
|
"peerDependencies": {
|
|
45
43
|
"react": "18.3.1",
|
|
@@ -53,10 +51,9 @@
|
|
|
53
51
|
"frontend"
|
|
54
52
|
],
|
|
55
53
|
"scripts": {
|
|
56
|
-
"build": "pnpm run clean &&
|
|
54
|
+
"build": "pnpm run clean && tsc -p .",
|
|
57
55
|
"clean": "rimraf dist",
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"lint": "eslint src/**/*.ts"
|
|
56
|
+
"lint": "eslint",
|
|
57
|
+
"lint:fix": "eslint --fix"
|
|
61
58
|
}
|
|
62
59
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./stencil-generated/index";
|
package/dist/components/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import type { JSX } from '@swisspost/design-system-components';
|
|
2
|
-
export declare const PostAccordion: import("react").ForwardRefExoticComponent<JSX.PostAccordion & Omit<import("react").HTMLAttributes<HTMLPostAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostAccordionElement>>;
|
|
3
|
-
export declare const PostAccordionItem: import("react").ForwardRefExoticComponent<JSX.PostAccordionItem & Omit<import("react").HTMLAttributes<HTMLPostAccordionItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostAccordionItemElement>>;
|
|
4
|
-
export declare const PostAvatar: import("react").ForwardRefExoticComponent<JSX.PostAvatar & Omit<import("react").HTMLAttributes<HTMLPostAvatarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostAvatarElement>>;
|
|
5
|
-
export declare const PostBackToTop: import("react").ForwardRefExoticComponent<JSX.PostBackToTop & Omit<import("react").HTMLAttributes<HTMLPostBackToTopElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostBackToTopElement>>;
|
|
6
|
-
export declare const PostBanner: import("react").ForwardRefExoticComponent<JSX.PostBanner & Omit<import("react").HTMLAttributes<HTMLPostBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostBannerElement>>;
|
|
7
|
-
export declare const PostBreadcrumb: import("react").ForwardRefExoticComponent<JSX.PostBreadcrumb & Omit<import("react").HTMLAttributes<HTMLPostBreadcrumbElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostBreadcrumbElement>>;
|
|
8
|
-
export declare const PostBreadcrumbItem: import("react").ForwardRefExoticComponent<JSX.PostBreadcrumbItem & Omit<import("react").HTMLAttributes<HTMLPostBreadcrumbItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostBreadcrumbItemElement>>;
|
|
9
|
-
export declare const PostCardControl: import("react").ForwardRefExoticComponent<JSX.PostCardControl & Omit<import("react").HTMLAttributes<HTMLPostCardControlElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostCardControlElement>>;
|
|
10
|
-
export declare const PostClosebutton: import("react").ForwardRefExoticComponent<JSX.PostClosebutton & Omit<import("react").HTMLAttributes<HTMLPostClosebuttonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostClosebuttonElement>>;
|
|
11
|
-
export declare const PostCollapsible: import("react").ForwardRefExoticComponent<JSX.PostCollapsible & Omit<import("react").HTMLAttributes<HTMLPostCollapsibleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostCollapsibleElement>>;
|
|
12
|
-
export declare const PostCollapsibleTrigger: import("react").ForwardRefExoticComponent<JSX.PostCollapsibleTrigger & Omit<import("react").HTMLAttributes<HTMLPostCollapsibleTriggerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostCollapsibleTriggerElement>>;
|
|
13
|
-
export declare const PostFooter: import("react").ForwardRefExoticComponent<JSX.PostFooter & Omit<import("react").HTMLAttributes<HTMLPostFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostFooterElement>>;
|
|
14
|
-
export declare const PostHeader: import("react").ForwardRefExoticComponent<JSX.PostHeader & Omit<import("react").HTMLAttributes<HTMLPostHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostHeaderElement>>;
|
|
15
|
-
export declare const PostIcon: import("react").ForwardRefExoticComponent<JSX.PostIcon & Omit<import("react").HTMLAttributes<HTMLPostIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostIconElement>>;
|
|
16
|
-
export declare const PostLanguageOption: import("react").ForwardRefExoticComponent<JSX.PostLanguageOption & Omit<import("react").HTMLAttributes<HTMLPostLanguageOptionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostLanguageOptionElement>>;
|
|
17
|
-
export declare const PostLanguageSwitch: import("react").ForwardRefExoticComponent<JSX.PostLanguageSwitch & Omit<import("react").HTMLAttributes<HTMLPostLanguageSwitchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostLanguageSwitchElement>>;
|
|
18
|
-
export declare const PostList: import("react").ForwardRefExoticComponent<JSX.PostList & Omit<import("react").HTMLAttributes<HTMLPostListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostListElement>>;
|
|
19
|
-
export declare const PostListItem: import("react").ForwardRefExoticComponent<JSX.PostListItem & Omit<import("react").HTMLAttributes<HTMLPostListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostListItemElement>>;
|
|
20
|
-
export declare const PostLogo: import("react").ForwardRefExoticComponent<JSX.PostLogo & Omit<import("react").HTMLAttributes<HTMLPostLogoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostLogoElement>>;
|
|
21
|
-
export declare const PostMainnavigation: import("react").ForwardRefExoticComponent<JSX.PostMainnavigation & Omit<import("react").HTMLAttributes<HTMLPostMainnavigationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMainnavigationElement>>;
|
|
22
|
-
export declare const PostMegadropdown: import("react").ForwardRefExoticComponent<JSX.PostMegadropdown & Omit<import("react").HTMLAttributes<HTMLPostMegadropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMegadropdownElement>>;
|
|
23
|
-
export declare const PostMegadropdownTrigger: import("react").ForwardRefExoticComponent<JSX.PostMegadropdownTrigger & Omit<import("react").HTMLAttributes<HTMLPostMegadropdownTriggerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMegadropdownTriggerElement>>;
|
|
24
|
-
export declare const PostMenu: import("react").ForwardRefExoticComponent<JSX.PostMenu & Omit<import("react").HTMLAttributes<HTMLPostMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMenuElement>>;
|
|
25
|
-
export declare const PostMenuItem: import("react").ForwardRefExoticComponent<JSX.PostMenuItem & Omit<import("react").HTMLAttributes<HTMLPostMenuItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMenuItemElement>>;
|
|
26
|
-
export declare const PostMenuTrigger: import("react").ForwardRefExoticComponent<JSX.PostMenuTrigger & Omit<import("react").HTMLAttributes<HTMLPostMenuTriggerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostMenuTriggerElement>>;
|
|
27
|
-
export declare const PostPopover: import("react").ForwardRefExoticComponent<JSX.PostPopover & Omit<import("react").HTMLAttributes<HTMLPostPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostPopoverElement>>;
|
|
28
|
-
export declare const PostPopovercontainer: import("react").ForwardRefExoticComponent<JSX.PostPopovercontainer & Omit<import("react").HTMLAttributes<HTMLPostPopovercontainerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostPopovercontainerElement>>;
|
|
29
|
-
export declare const PostRating: import("react").ForwardRefExoticComponent<JSX.PostRating & Omit<import("react").HTMLAttributes<HTMLPostRatingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostRatingElement>>;
|
|
30
|
-
export declare const PostTabHeader: import("react").ForwardRefExoticComponent<JSX.PostTabHeader & Omit<import("react").HTMLAttributes<HTMLPostTabHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTabHeaderElement>>;
|
|
31
|
-
export declare const PostTabPanel: import("react").ForwardRefExoticComponent<JSX.PostTabPanel & Omit<import("react").HTMLAttributes<HTMLPostTabPanelElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTabPanelElement>>;
|
|
32
|
-
export declare const PostTabs: import("react").ForwardRefExoticComponent<JSX.PostTabs & Omit<import("react").HTMLAttributes<HTMLPostTabsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTabsElement>>;
|
|
33
|
-
export declare const PostTag: import("react").ForwardRefExoticComponent<JSX.PostTag & Omit<import("react").HTMLAttributes<HTMLPostTagElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTagElement>>;
|
|
34
|
-
export declare const PostTogglebutton: import("react").ForwardRefExoticComponent<JSX.PostTogglebutton & Omit<import("react").HTMLAttributes<HTMLPostTogglebuttonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTogglebuttonElement>>;
|
|
35
|
-
export declare const PostTooltip: import("react").ForwardRefExoticComponent<JSX.PostTooltip & Omit<import("react").HTMLAttributes<HTMLPostTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLPostTooltipElement>>;
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* auto-generated react proxies */
|
|
4
|
-
import { createReactComponent } from './react-component-lib';
|
|
5
|
-
import { defineCustomElements } from '@swisspost/design-system-components/loader';
|
|
6
|
-
defineCustomElements();
|
|
7
|
-
export const PostAccordion = /*@__PURE__*/ createReactComponent('post-accordion');
|
|
8
|
-
export const PostAccordionItem = /*@__PURE__*/ createReactComponent('post-accordion-item');
|
|
9
|
-
export const PostAvatar = /*@__PURE__*/ createReactComponent('post-avatar');
|
|
10
|
-
export const PostBackToTop = /*@__PURE__*/ createReactComponent('post-back-to-top');
|
|
11
|
-
export const PostBanner = /*@__PURE__*/ createReactComponent('post-banner');
|
|
12
|
-
export const PostBreadcrumb = /*@__PURE__*/ createReactComponent('post-breadcrumb');
|
|
13
|
-
export const PostBreadcrumbItem = /*@__PURE__*/ createReactComponent('post-breadcrumb-item');
|
|
14
|
-
export const PostCardControl = /*@__PURE__*/ createReactComponent('post-card-control');
|
|
15
|
-
export const PostClosebutton = /*@__PURE__*/ createReactComponent('post-closebutton');
|
|
16
|
-
export const PostCollapsible = /*@__PURE__*/ createReactComponent('post-collapsible');
|
|
17
|
-
export const PostCollapsibleTrigger = /*@__PURE__*/ createReactComponent('post-collapsible-trigger');
|
|
18
|
-
export const PostFooter = /*@__PURE__*/ createReactComponent('post-footer');
|
|
19
|
-
export const PostHeader = /*@__PURE__*/ createReactComponent('post-header');
|
|
20
|
-
export const PostIcon = /*@__PURE__*/ createReactComponent('post-icon');
|
|
21
|
-
export const PostLanguageOption = /*@__PURE__*/ createReactComponent('post-language-option');
|
|
22
|
-
export const PostLanguageSwitch = /*@__PURE__*/ createReactComponent('post-language-switch');
|
|
23
|
-
export const PostList = /*@__PURE__*/ createReactComponent('post-list');
|
|
24
|
-
export const PostListItem = /*@__PURE__*/ createReactComponent('post-list-item');
|
|
25
|
-
export const PostLogo = /*@__PURE__*/ createReactComponent('post-logo');
|
|
26
|
-
export const PostMainnavigation = /*@__PURE__*/ createReactComponent('post-mainnavigation');
|
|
27
|
-
export const PostMegadropdown = /*@__PURE__*/ createReactComponent('post-megadropdown');
|
|
28
|
-
export const PostMegadropdownTrigger = /*@__PURE__*/ createReactComponent('post-megadropdown-trigger');
|
|
29
|
-
export const PostMenu = /*@__PURE__*/ createReactComponent('post-menu');
|
|
30
|
-
export const PostMenuItem = /*@__PURE__*/ createReactComponent('post-menu-item');
|
|
31
|
-
export const PostMenuTrigger = /*@__PURE__*/ createReactComponent('post-menu-trigger');
|
|
32
|
-
export const PostPopover = /*@__PURE__*/ createReactComponent('post-popover');
|
|
33
|
-
export const PostPopovercontainer = /*@__PURE__*/ createReactComponent('post-popovercontainer');
|
|
34
|
-
export const PostRating = /*@__PURE__*/ createReactComponent('post-rating');
|
|
35
|
-
export const PostTabHeader = /*@__PURE__*/ createReactComponent('post-tab-header');
|
|
36
|
-
export const PostTabPanel = /*@__PURE__*/ createReactComponent('post-tab-panel');
|
|
37
|
-
export const PostTabs = /*@__PURE__*/ createReactComponent('post-tabs');
|
|
38
|
-
export const PostTag = /*@__PURE__*/ createReactComponent('post-tag');
|
|
39
|
-
export const PostTogglebutton = /*@__PURE__*/ createReactComponent('post-togglebutton');
|
|
40
|
-
export const PostTooltip = /*@__PURE__*/ createReactComponent('post-tooltip');
|
|
41
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/stencil-generated/index.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MA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CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAC/H,MAAM,CAAC,MAAM,YAAY,GAAG,aAAa,CAAA,oBAAoB,CAA4C,gBAAgB,CAAC,CAAC;AAC3H,MAAM,CAAC,MAAM,QAAQ,GAAG,aAAa,CAAA,oBAAoB,CAAoC,WAAW,CAAC,CAAC;AAC1G,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,gBAAgB,GAAG,aAAa,CAAA,oBAAoB,CAAoD,mBAAmB,CAAC,CAAC;AAC1I,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface HTMLStencilElement extends HTMLElement {
|
|
3
|
-
componentOnReady(): Promise<this>;
|
|
4
|
-
}
|
|
5
|
-
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
-
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
-
ref?: React.Ref<any>;
|
|
8
|
-
}
|
|
9
|
-
export declare const createReactComponent: <PropType, ElementType extends HTMLStencilElement, ContextStateType = {}, ExpandedPropsTypes = {}>(tagName: string, ReactComponentContext?: React.Context<ContextStateType>, manipulatePropsFunction?: (originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
|
|
10
|
-
export {};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
-
var t = {};
|
|
3
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
-
t[p] = s[p];
|
|
5
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
-
t[p[i]] = s[p[i]];
|
|
9
|
-
}
|
|
10
|
-
return t;
|
|
11
|
-
};
|
|
12
|
-
import React, { createElement } from 'react';
|
|
13
|
-
import { attachProps, camelToDashCase, createForwardRef, dashToPascalCase, isCoveredByReact, mergeRefs } from './utils';
|
|
14
|
-
export const createReactComponent = (tagName, ReactComponentContext, manipulatePropsFunction, defineCustomElement) => {
|
|
15
|
-
if (defineCustomElement !== undefined) {
|
|
16
|
-
defineCustomElement();
|
|
17
|
-
}
|
|
18
|
-
const displayName = dashToPascalCase(tagName);
|
|
19
|
-
const ReactComponent = class extends React.Component {
|
|
20
|
-
constructor(props) {
|
|
21
|
-
super(props);
|
|
22
|
-
this.setComponentElRef = (element) => {
|
|
23
|
-
this.componentEl = element;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
componentDidMount() {
|
|
27
|
-
this.componentDidUpdate(this.props);
|
|
28
|
-
}
|
|
29
|
-
componentDidUpdate(prevProps) {
|
|
30
|
-
attachProps(this.componentEl, this.props, prevProps);
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
const _a = this.props, { children, forwardedRef, style, className, ref } = _a, cProps = __rest(_a, ["children", "forwardedRef", "style", "className", "ref"]);
|
|
34
|
-
let propsToPass = Object.keys(cProps).reduce((acc, name) => {
|
|
35
|
-
const value = cProps[name];
|
|
36
|
-
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
37
|
-
const eventName = name.substring(2).toLowerCase();
|
|
38
|
-
if (typeof document !== 'undefined' && isCoveredByReact(eventName)) {
|
|
39
|
-
acc[name] = value;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
// we should only render strings, booleans, and numbers as attrs in html.
|
|
44
|
-
// objects, functions, arrays etc get synced via properties on mount.
|
|
45
|
-
const type = typeof value;
|
|
46
|
-
if (type === 'string' || type === 'boolean' || type === 'number') {
|
|
47
|
-
acc[camelToDashCase(name)] = value;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
return acc;
|
|
51
|
-
}, {});
|
|
52
|
-
if (manipulatePropsFunction) {
|
|
53
|
-
propsToPass = manipulatePropsFunction(this.props, propsToPass);
|
|
54
|
-
}
|
|
55
|
-
const newProps = Object.assign(Object.assign({}, propsToPass), { ref: mergeRefs(forwardedRef, this.setComponentElRef), style });
|
|
56
|
-
/**
|
|
57
|
-
* We use createElement here instead of
|
|
58
|
-
* React.createElement to work around a
|
|
59
|
-
* bug in Vite (https://github.com/vitejs/vite/issues/6104).
|
|
60
|
-
* React.createElement causes all elements to be rendered
|
|
61
|
-
* as <tagname> instead of the actual Web Component.
|
|
62
|
-
*/
|
|
63
|
-
return createElement(tagName, newProps, children);
|
|
64
|
-
}
|
|
65
|
-
static get displayName() {
|
|
66
|
-
return displayName;
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
// If context was passed to createReactComponent then conditionally add it to the Component Class
|
|
70
|
-
if (ReactComponentContext) {
|
|
71
|
-
ReactComponent.contextType = ReactComponentContext;
|
|
72
|
-
}
|
|
73
|
-
return createForwardRef(ReactComponent, displayName);
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=createComponent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createComponent.js","sourceRoot":"","sources":["../../../../src/components/stencil-generated/react-component-lib/createComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAE7C,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE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Detail } from './interfaces';
|
|
3
|
-
import { StencilReactForwardedRef } from './utils';
|
|
4
|
-
interface OverlayElement extends HTMLElement {
|
|
5
|
-
present: () => Promise<void>;
|
|
6
|
-
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
7
|
-
}
|
|
8
|
-
export interface ReactOverlayProps {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
isOpen: boolean;
|
|
11
|
-
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
-
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
-
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
14
|
-
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
15
|
-
}
|
|
16
|
-
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(tagName: string, controller: {
|
|
17
|
-
create: (options: any) => Promise<OverlayType>;
|
|
18
|
-
}, customElement?: any) => React.ForwardRefExoticComponent<React.PropsWithoutRef<OverlayComponent & ReactOverlayProps & {
|
|
19
|
-
forwardedRef?: StencilReactForwardedRef<OverlayType>;
|
|
20
|
-
}> & React.RefAttributes<OverlayType>>;
|
|
21
|
-
export {};
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
2
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
3
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
4
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
5
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
6
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
11
|
-
var t = {};
|
|
12
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
13
|
-
t[p] = s[p];
|
|
14
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
15
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
16
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
17
|
-
t[p[i]] = s[p[i]];
|
|
18
|
-
}
|
|
19
|
-
return t;
|
|
20
|
-
};
|
|
21
|
-
import React from 'react';
|
|
22
|
-
import ReactDOM from 'react-dom';
|
|
23
|
-
import { attachProps, dashToPascalCase, defineCustomElement, setRef } from './utils';
|
|
24
|
-
export const createOverlayComponent = (tagName, controller, customElement) => {
|
|
25
|
-
defineCustomElement(tagName, customElement);
|
|
26
|
-
const displayName = dashToPascalCase(tagName);
|
|
27
|
-
const didDismissEventName = `on${displayName}DidDismiss`;
|
|
28
|
-
const didPresentEventName = `on${displayName}DidPresent`;
|
|
29
|
-
const willDismissEventName = `on${displayName}WillDismiss`;
|
|
30
|
-
const willPresentEventName = `on${displayName}WillPresent`;
|
|
31
|
-
let isDismissing = false;
|
|
32
|
-
class Overlay extends React.Component {
|
|
33
|
-
constructor(props) {
|
|
34
|
-
super(props);
|
|
35
|
-
if (typeof document !== 'undefined') {
|
|
36
|
-
this.el = document.createElement('div');
|
|
37
|
-
}
|
|
38
|
-
this.handleDismiss = this.handleDismiss.bind(this);
|
|
39
|
-
}
|
|
40
|
-
static get displayName() {
|
|
41
|
-
return displayName;
|
|
42
|
-
}
|
|
43
|
-
componentDidMount() {
|
|
44
|
-
if (this.props.isOpen) {
|
|
45
|
-
this.present();
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
componentWillUnmount() {
|
|
49
|
-
if (this.overlay) {
|
|
50
|
-
this.overlay.dismiss();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
handleDismiss(event) {
|
|
54
|
-
if (this.props.onDidDismiss) {
|
|
55
|
-
this.props.onDidDismiss(event);
|
|
56
|
-
}
|
|
57
|
-
setRef(this.props.forwardedRef, null);
|
|
58
|
-
}
|
|
59
|
-
shouldComponentUpdate(nextProps) {
|
|
60
|
-
// Check if the overlay component is about to dismiss
|
|
61
|
-
if (this.overlay && nextProps.isOpen !== this.props.isOpen && nextProps.isOpen === false) {
|
|
62
|
-
isDismissing = true;
|
|
63
|
-
}
|
|
64
|
-
return true;
|
|
65
|
-
}
|
|
66
|
-
componentDidUpdate(prevProps) {
|
|
67
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
-
if (this.overlay) {
|
|
69
|
-
attachProps(this.overlay, this.props, prevProps);
|
|
70
|
-
}
|
|
71
|
-
if (prevProps.isOpen !== this.props.isOpen && this.props.isOpen === true) {
|
|
72
|
-
this.present(prevProps);
|
|
73
|
-
}
|
|
74
|
-
if (this.overlay && prevProps.isOpen !== this.props.isOpen && this.props.isOpen === false) {
|
|
75
|
-
yield this.overlay.dismiss();
|
|
76
|
-
isDismissing = false;
|
|
77
|
-
/**
|
|
78
|
-
* Now that the overlay is dismissed
|
|
79
|
-
* we need to render again so that any
|
|
80
|
-
* inner components will be unmounted
|
|
81
|
-
*/
|
|
82
|
-
this.forceUpdate();
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
}
|
|
86
|
-
present(prevProps) {
|
|
87
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
88
|
-
const _a = this.props, { children, isOpen, onDidDismiss, onDidPresent, onWillDismiss, onWillPresent } = _a, cProps = __rest(_a, ["children", "isOpen", "onDidDismiss", "onDidPresent", "onWillDismiss", "onWillPresent"]);
|
|
89
|
-
const elementProps = Object.assign(Object.assign({}, cProps), { ref: this.props.forwardedRef, [didDismissEventName]: this.handleDismiss, [didPresentEventName]: (e) => this.props.onDidPresent && this.props.onDidPresent(e), [willDismissEventName]: (e) => this.props.onWillDismiss && this.props.onWillDismiss(e), [willPresentEventName]: (e) => this.props.onWillPresent && this.props.onWillPresent(e) });
|
|
90
|
-
this.overlay = yield controller.create(Object.assign(Object.assign({}, elementProps), { component: this.el, componentProps: {} }));
|
|
91
|
-
setRef(this.props.forwardedRef, this.overlay);
|
|
92
|
-
attachProps(this.overlay, elementProps, prevProps);
|
|
93
|
-
yield this.overlay.present();
|
|
94
|
-
});
|
|
95
|
-
}
|
|
96
|
-
render() {
|
|
97
|
-
/**
|
|
98
|
-
* Continue to render the component even when
|
|
99
|
-
* overlay is dismissing otherwise component
|
|
100
|
-
* will be hidden before animation is done.
|
|
101
|
-
*/
|
|
102
|
-
return ReactDOM.createPortal(this.props.isOpen || isDismissing ? this.props.children : null, this.el);
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
return React.forwardRef((props, ref) => {
|
|
106
|
-
return React.createElement(Overlay, Object.assign({}, props, { forwardedRef: ref }));
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
//# sourceMappingURL=createOverlayComponent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"createOverlayComponent.js","sourceRoot":"","sources":["../../../../src/components/stencil-generated/react-component-lib/createOverlayComponent.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,WAAW,CAAC;AAGjC,OAAO,EAA4B,WAAW,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAgB/G,MAAM,CAAC,MAAM,sBAAsB,GAAG,CACpC,OAAe,EACf,UAA8D,EAC9D,aAAmB,EACnB,EAAE;IACF,mBAAmB,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;IAE5C,MAAM,WAAW,GAAG,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAC9C,MAAM,mBAAmB,GAAG,KAAK,WAAW,YAAY,CAAC;IACzD,MAAM,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C,CAAC,EAChG,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,EACnG,CAAC,oBAAoB,CAAC,EAAE,CAAC,CAAc,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,aAAa,IAAI,IAAI,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,GACpG,CAAC;gBAEF,IAAI,CAAC,OAAO,GAAG,MAAM,UAAU,CAAC,MAAM,iCACjC,YAAY,KACf,SAAS,EAAE,IAAI,CAAC,EAAE,EAClB,cAAc,EAAE,EAAE,IAClB,CAAC;gBAEH,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;gBAC9C,WAAW,CAAC,IAAI,CAAC,OAAO,EAAE,YAAY,EAAE,SAAS,CAAC,CAAC;gBAEnD,MAAM,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,CAAC;YAC/B,CAAC;SAAA;QAED,MAAM;YACJ;;;;eAIG;YACH,OAAO,QAAQ,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,IAAI,YAAY,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,EAAE,IAAI,CAAC,EAAE,CAAC,CAAC;QACxG,CAAC;KACF;IAED,OAAO,KAAK,CAAC,UAAU,CAAqB,CAAC,KAAK,EAAE,GAAG,EAAE,EAAE;QACzD,OAAO,oBAAC,OAAO,oBAAK,KAAK,IAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IACnD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/stencil-generated/react-component-lib/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface EventEmitter<T = any> {
|
|
2
|
-
emit: (data?: T) => CustomEvent<T>;
|
|
3
|
-
}
|
|
4
|
-
export interface StyleReactProps {
|
|
5
|
-
class?: string;
|
|
6
|
-
className?: string;
|
|
7
|
-
style?: {
|
|
8
|
-
[key: string]: any;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export interface OverlayEventDetail<T = any> {
|
|
12
|
-
data?: T;
|
|
13
|
-
role?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface OverlayInterface {
|
|
16
|
-
el: HTMLElement;
|
|
17
|
-
animated: boolean;
|
|
18
|
-
keyboardClose: boolean;
|
|
19
|
-
overlayIndex: number;
|
|
20
|
-
presented: boolean;
|
|
21
|
-
enterAnimation?: any;
|
|
22
|
-
leaveAnimation?: any;
|
|
23
|
-
didPresent: EventEmitter<void>;
|
|
24
|
-
willPresent: EventEmitter<void>;
|
|
25
|
-
willDismiss: EventEmitter<OverlayEventDetail>;
|
|
26
|
-
didDismiss: EventEmitter<OverlayEventDetail>;
|
|
27
|
-
present(): Promise<void>;
|
|
28
|
-
dismiss(data?: any, role?: string): Promise<boolean>;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/components/stencil-generated/react-component-lib/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export declare const attachProps: (node: HTMLElement, newProps: any, oldProps?: any) => void;
|
|
2
|
-
export declare const getClassName: (classList: DOMTokenList, newProps: any, oldProps: any) => string;
|
|
3
|
-
/**
|
|
4
|
-
* Transforms a React event name to a browser event name.
|
|
5
|
-
*/
|
|
6
|
-
export declare const transformReactEventName: (eventNameSuffix: string) => string;
|
|
7
|
-
/**
|
|
8
|
-
* Checks if an event is supported in the current execution environment.
|
|
9
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
10
|
-
*/
|
|
11
|
-
export declare const isCoveredByReact: (eventNameSuffix: string) => boolean;
|
|
12
|
-
export declare const syncEvent: (node: Element & {
|
|
13
|
-
__events?: {
|
|
14
|
-
[key: string]: ((e: Event) => any) | undefined;
|
|
15
|
-
};
|
|
16
|
-
}, eventName: string, newEventHandler?: (e: Event) => any) => void;
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { camelToDashCase } from './case';
|
|
2
|
-
export const attachProps = (node, newProps, oldProps = {}) => {
|
|
3
|
-
// some test frameworks don't render DOM elements, so we test here to make sure we are dealing with DOM first
|
|
4
|
-
if (node instanceof Element) {
|
|
5
|
-
// add any classes in className to the class list
|
|
6
|
-
const className = getClassName(node.classList, newProps, oldProps);
|
|
7
|
-
if (className !== '') {
|
|
8
|
-
node.className = className;
|
|
9
|
-
}
|
|
10
|
-
Object.keys(newProps).forEach((name) => {
|
|
11
|
-
if (name === 'children' ||
|
|
12
|
-
name === 'style' ||
|
|
13
|
-
name === 'ref' ||
|
|
14
|
-
name === 'class' ||
|
|
15
|
-
name === 'className' ||
|
|
16
|
-
name === 'forwardedRef') {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
if (name.indexOf('on') === 0 && name[2] === name[2].toUpperCase()) {
|
|
20
|
-
const eventName = name.substring(2);
|
|
21
|
-
const eventNameLc = eventName[0].toLowerCase() + eventName.substring(1);
|
|
22
|
-
if (!isCoveredByReact(eventNameLc)) {
|
|
23
|
-
syncEvent(node, eventNameLc, newProps[name]);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
else {
|
|
27
|
-
node[name] = newProps[name];
|
|
28
|
-
const propType = typeof newProps[name];
|
|
29
|
-
if (propType === 'string') {
|
|
30
|
-
node.setAttribute(camelToDashCase(name), newProps[name]);
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
export const getClassName = (classList, newProps, oldProps) => {
|
|
37
|
-
const newClassProp = newProps.className || newProps.class;
|
|
38
|
-
const oldClassProp = oldProps.className || oldProps.class;
|
|
39
|
-
// map the classes to Maps for performance
|
|
40
|
-
const currentClasses = arrayToMap(classList);
|
|
41
|
-
const incomingPropClasses = arrayToMap(newClassProp ? newClassProp.split(' ') : []);
|
|
42
|
-
const oldPropClasses = arrayToMap(oldClassProp ? oldClassProp.split(' ') : []);
|
|
43
|
-
const finalClassNames = [];
|
|
44
|
-
// loop through each of the current classes on the component
|
|
45
|
-
// to see if it should be a part of the classNames added
|
|
46
|
-
currentClasses.forEach((currentClass) => {
|
|
47
|
-
if (incomingPropClasses.has(currentClass)) {
|
|
48
|
-
// add it as its already included in classnames coming in from newProps
|
|
49
|
-
finalClassNames.push(currentClass);
|
|
50
|
-
incomingPropClasses.delete(currentClass);
|
|
51
|
-
}
|
|
52
|
-
else if (!oldPropClasses.has(currentClass)) {
|
|
53
|
-
// add it as it has NOT been removed by user
|
|
54
|
-
finalClassNames.push(currentClass);
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
incomingPropClasses.forEach((s) => finalClassNames.push(s));
|
|
58
|
-
return finalClassNames.join(' ');
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Transforms a React event name to a browser event name.
|
|
62
|
-
*/
|
|
63
|
-
export const transformReactEventName = (eventNameSuffix) => {
|
|
64
|
-
switch (eventNameSuffix) {
|
|
65
|
-
case 'doubleclick':
|
|
66
|
-
return 'dblclick';
|
|
67
|
-
}
|
|
68
|
-
return eventNameSuffix;
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* Checks if an event is supported in the current execution environment.
|
|
72
|
-
* @license Modernizr 3.0.0pre (Custom Build) | MIT
|
|
73
|
-
*/
|
|
74
|
-
export const isCoveredByReact = (eventNameSuffix) => {
|
|
75
|
-
if (typeof document === 'undefined') {
|
|
76
|
-
return true;
|
|
77
|
-
}
|
|
78
|
-
else {
|
|
79
|
-
const eventName = 'on' + transformReactEventName(eventNameSuffix);
|
|
80
|
-
let isSupported = eventName in document;
|
|
81
|
-
if (!isSupported) {
|
|
82
|
-
const element = document.createElement('div');
|
|
83
|
-
element.setAttribute(eventName, 'return;');
|
|
84
|
-
isSupported = typeof element[eventName] === 'function';
|
|
85
|
-
}
|
|
86
|
-
return isSupported;
|
|
87
|
-
}
|
|
88
|
-
};
|
|
89
|
-
export const syncEvent = (node, eventName, newEventHandler) => {
|
|
90
|
-
const eventStore = node.__events || (node.__events = {});
|
|
91
|
-
const oldEventHandler = eventStore[eventName];
|
|
92
|
-
// Remove old listener so they don't double up.
|
|
93
|
-
if (oldEventHandler) {
|
|
94
|
-
node.removeEventListener(eventName, oldEventHandler);
|
|
95
|
-
}
|
|
96
|
-
// Bind new listener.
|
|
97
|
-
node.addEventListener(eventName, (eventStore[eventName] = function handler(e) {
|
|
98
|
-
if (newEventHandler) {
|
|
99
|
-
newEventHandler.call(this, e);
|
|
100
|
-
}
|
|
101
|
-
}));
|
|
102
|
-
};
|
|
103
|
-
const arrayToMap = (arr) => {
|
|
104
|
-
const map = new Map();
|
|
105
|
-
arr.forEach((s) => map.set(s, s));
|
|
106
|
-
return map;
|
|
107
|
-
};
|
|
108
|
-
//# sourceMappingURL=attachProps.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attachProps.js","sourceRoot":"","sources":["../../../../../src/components/stencil-generated/react-component-lib/utils/attachProps.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAC;AAEzC,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,IAAiB,EAAE,QAAa,EAAE,WAAgB,EAAE,EAAE,EAAE;IAClF,6GAA6G;IAC7G,IAAI,IAAI,YAAY,OAAO,EAAE,CAAC;QAC5B,iDAAiD;QACjD,MAAM,SAAS,GA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AAqB;IACrB,IAAI,CAAC,gBAAgB,CACnB,SAAS,EACT,CAAC,UAAU,CAAC,SAAS,CAAC,GAAG,SAAS,OAAO,CAAC,CAAQ;QAChD,IAAI,eAAe,EAAE,CAAC;YACpB,eAAe,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;QAChC,CAAC;IACH,CAAC,CAAC,CACH,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,UAAU,GAAG,CAAC,GAA4B,EAAE,EAAE;IAClD,MAAM,GAAG,GAAG,IAAI,GAAG,EAAkB,CAAC;IACrC,GAAgB,CAAC,OAAO,CAAC,CAAC,CAAS,EAAE,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IACxD,OAAO,GAAG,CAAC;AACb,CAAC,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export const dashToPascalCase = (str) => str
|
|
2
|
-
.toLowerCase()
|
|
3
|
-
.split('-')
|
|
4
|
-
.map((segment) => segment.charAt(0).toUpperCase() + segment.slice(1))
|
|
5
|
-
.join('');
|
|
6
|
-
export const camelToDashCase = (str) => str.replace(/([A-Z])/g, (m) => `-${m[0].toLowerCase()}`);
|
|
7
|
-
//# sourceMappingURL=case.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"case.js","sourceRoot":"","sources":["../../../../../src/components/stencil-generated/react-component-lib/utils/case.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,GAAW,EAAE,EAAE,CAC9C,GAAG;KACA,WAAW,EAAE;KACb,KAAK,CAAC,GAAG,CAAC;KACV,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KACpE,IAAI,CAAC,EAAE,CAAC,CAAC;AACd,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,GAAW,EAAE,EAAE,CAAC,GAAG,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAS,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE,CAAC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export const isDevMode = () => {
|
|
2
|
-
return process && process.env && process.env.NODE_ENV === 'development';
|
|
3
|
-
};
|
|
4
|
-
const warnings = {};
|
|
5
|
-
export const deprecationWarning = (key, message) => {
|
|
6
|
-
if (isDevMode()) {
|
|
7
|
-
if (!warnings[key]) {
|
|
8
|
-
console.warn(message);
|
|
9
|
-
warnings[key] = true;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
};
|
|
13
|
-
//# sourceMappingURL=dev.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dev.js","sourceRoot":"","sources":["../../../../../src/components/stencil-generated/react-component-lib/utils/dev.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,EAAE;IAC5B,OAAO,OAAO,IAAI,OAAO,CAAC,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,CAAC;AAC1E,CAAC,CAAC;AAEF,MAAM,QAAQ,GAA+B,EAAE,CAAC;AAEhD,MAAM,CAAC,MAAM,kBAAkB,GAAG,CAAC,GAAW,EAAE,OAAe,EAAE,EAAE;IACjE,IAAI,SAAS,EAAE,EAAE,CAAC;QAChB,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;YACnB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtB,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;QACvB,CAAC;IACH,CAAC;AACH,CAAC,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { StyleReactProps } from '../interfaces';
|
|
3
|
-
export type StencilReactExternalProps<PropType, ElementType> = PropType & Omit<React.HTMLAttributes<ElementType>, 'style'> & StyleReactProps;
|
|
4
|
-
export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
|
|
5
|
-
export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
|
|
6
|
-
export declare const mergeRefs: (...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]) => React.RefCallback<any>;
|
|
7
|
-
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => React.ForwardRefExoticComponent<React.PropsWithoutRef<StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
|
|
8
|
-
export declare const defineCustomElement: (tagName: string, customElement: any) => void;
|
|
9
|
-
export * from './attachProps';
|
|
10
|
-
export * from './case';
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export const setRef = (ref, value) => {
|
|
3
|
-
if (typeof ref === 'function') {
|
|
4
|
-
ref(value);
|
|
5
|
-
}
|
|
6
|
-
else if (ref != null) {
|
|
7
|
-
// Cast as a MutableRef so we can assign current
|
|
8
|
-
ref.current = value;
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
export const mergeRefs = (...refs) => {
|
|
12
|
-
return (value) => {
|
|
13
|
-
refs.forEach((ref) => {
|
|
14
|
-
setRef(ref, value);
|
|
15
|
-
});
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export const createForwardRef = (ReactComponent, displayName) => {
|
|
19
|
-
const forwardRef = (props, ref) => {
|
|
20
|
-
return React.createElement(ReactComponent, Object.assign({}, props, { forwardedRef: ref }));
|
|
21
|
-
};
|
|
22
|
-
forwardRef.displayName = displayName;
|
|
23
|
-
return React.forwardRef(forwardRef);
|
|
24
|
-
};
|
|
25
|
-
export const defineCustomElement = (tagName, customElement) => {
|
|
26
|
-
if (customElement !== undefined && typeof customElements !== 'undefined' && !customElements.get(tagName)) {
|
|
27
|
-
customElements.define(tagName, customElement);
|
|
28
|
-
}
|
|
29
|
-
};
|
|
30
|
-
export * from './attachProps';
|
|
31
|
-
export * from './case';
|
|
32
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/components/stencil-generated/react-component-lib/utils/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAW1B,MAAM,CAAC,MAAM,MAAM,GAAG,CAAC,GAA+D,EAAE,KAAU,EAAE,EAAE;IACpG,IAAI,OAAO,GAAG,KAAK,UAAU,EAAE,CAAC;QAC9B,GAAG,CAAC,KAAK,CAAC,CAAC;IACb,CAAC;SAAM,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,gDAAgD;QAC/C,GAAmC,CAAC,OAAO,GAAG,KAAK,CAAC;IACvD,CAAC;AACH,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,SAAS,GAAG,CACvB,GAAG,IAAoE,EAC/C,EAAE;IAC1B,OAAO,CAAC,KAAU,EAAE,EAAE;QACpB,IAAI,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;YACnB,MAAM,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;QACrB,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;AACJ,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAwB,cAAmB,EAAE,WAAmB,EAAE,EAAE;IAClG,MAAM,UAAU,GAAG,CACjB,KAAuD,EACvD,GAA0C,EAC1C,EAAE;QACF,OAAO,oBAAC,cAAc,oBAAK,KAAK,IAAE,YAAY,EAAE,GAAG,IAAI,CAAC;IAC1D,CAAC,CAAC;IACF,UAAU,CAAC,WAAW,GAAG,WAAW,CAAC;IAErC,OAAO,KAAK,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC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