@oiz/stzh-components-react 3.0.0-beta1
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/LICENSE +21 -0
- package/README.md +16 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/stencil-generated/index.d.ts +124 -0
- package/dist/components/stencil-generated/index.js +129 -0
- package/dist/components/stencil-generated/index.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/createComponent.d.ts +10 -0
- package/dist/components/stencil-generated/react-component-lib/createComponent.js +75 -0
- package/dist/components/stencil-generated/react-component-lib/createComponent.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.d.ts +21 -0
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.js +109 -0
- package/dist/components/stencil-generated/react-component-lib/createOverlayComponent.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/index.d.ts +2 -0
- package/dist/components/stencil-generated/react-component-lib/index.js +3 -0
- package/dist/components/stencil-generated/react-component-lib/index.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/interfaces.d.ts +29 -0
- package/dist/components/stencil-generated/react-component-lib/interfaces.js +2 -0
- package/dist/components/stencil-generated/react-component-lib/interfaces.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.d.ts +16 -0
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.js +108 -0
- package/dist/components/stencil-generated/react-component-lib/utils/attachProps.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/utils/case.d.ts +2 -0
- package/dist/components/stencil-generated/react-component-lib/utils/case.js +7 -0
- package/dist/components/stencil-generated/react-component-lib/utils/case.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/utils/dev.d.ts +2 -0
- package/dist/components/stencil-generated/react-component-lib/utils/dev.js +13 -0
- package/dist/components/stencil-generated/react-component-lib/utils/dev.js.map +1 -0
- package/dist/components/stencil-generated/react-component-lib/utils/index.d.ts +10 -0
- package/dist/components/stencil-generated/react-component-lib/utils/index.js +32 -0
- package/dist/components/stencil-generated/react-component-lib/utils/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/package.json +49 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2019 Ionic
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# stencil-ds-react-template
|
|
2
|
+
|
|
3
|
+
This is an example repo of building plugins.
|
|
4
|
+
|
|
5
|
+
## Step 1.
|
|
6
|
+
|
|
7
|
+
- Update the `package.json` to have the correct package name for this repo.
|
|
8
|
+
- Replace `component-library` under `dependencies` with your core stencil package name.
|
|
9
|
+
|
|
10
|
+
## Step 2.
|
|
11
|
+
|
|
12
|
+
- Build your core stencil package.
|
|
13
|
+
|
|
14
|
+
## Step 3.
|
|
15
|
+
|
|
16
|
+
- Run build on this package.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./stencil-generated/index";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { JSX } from '@oiz/stzh-components';
|
|
3
|
+
export declare const StzhAccordion: import("react").ForwardRefExoticComponent<JSX.StzhAccordion & Omit<import("react").HTMLAttributes<HTMLStzhAccordionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAccordionElement>>;
|
|
4
|
+
export declare const StzhAccordionItem: import("react").ForwardRefExoticComponent<JSX.StzhAccordionItem & Omit<import("react").HTMLAttributes<HTMLStzhAccordionItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAccordionItemElement>>;
|
|
5
|
+
export declare const StzhActions: import("react").ForwardRefExoticComponent<JSX.StzhActions & Omit<import("react").HTMLAttributes<HTMLStzhActionsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhActionsElement>>;
|
|
6
|
+
export declare const StzhActionset: import("react").ForwardRefExoticComponent<JSX.StzhActionset & Omit<import("react").HTMLAttributes<HTMLStzhActionsetElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhActionsetElement>>;
|
|
7
|
+
export declare const StzhAmount: import("react").ForwardRefExoticComponent<JSX.StzhAmount & Omit<import("react").HTMLAttributes<HTMLStzhAmountElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAmountElement>>;
|
|
8
|
+
export declare const StzhAnchornav: import("react").ForwardRefExoticComponent<JSX.StzhAnchornav & Omit<import("react").HTMLAttributes<HTMLStzhAnchornavElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAnchornavElement>>;
|
|
9
|
+
export declare const StzhAppointments: import("react").ForwardRefExoticComponent<JSX.StzhAppointments & Omit<import("react").HTMLAttributes<HTMLStzhAppointmentsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAppointmentsElement>>;
|
|
10
|
+
export declare const StzhArchivelist: import("react").ForwardRefExoticComponent<JSX.StzhArchivelist & Omit<import("react").HTMLAttributes<HTMLStzhArchivelistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhArchivelistElement>>;
|
|
11
|
+
export declare const StzhAudio: import("react").ForwardRefExoticComponent<JSX.StzhAudio & Omit<import("react").HTMLAttributes<HTMLStzhAudioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhAudioElement>>;
|
|
12
|
+
export declare const StzhBadge: import("react").ForwardRefExoticComponent<JSX.StzhBadge & Omit<import("react").HTMLAttributes<HTMLStzhBadgeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhBadgeElement>>;
|
|
13
|
+
export declare const StzhBanner: import("react").ForwardRefExoticComponent<JSX.StzhBanner & Omit<import("react").HTMLAttributes<HTMLStzhBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhBannerElement>>;
|
|
14
|
+
export declare const StzhBreadcrumb: import("react").ForwardRefExoticComponent<JSX.StzhBreadcrumb & Omit<import("react").HTMLAttributes<HTMLStzhBreadcrumbElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhBreadcrumbElement>>;
|
|
15
|
+
export declare const StzhButton: import("react").ForwardRefExoticComponent<JSX.StzhButton & Omit<import("react").HTMLAttributes<HTMLStzhButtonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhButtonElement>>;
|
|
16
|
+
export declare const StzhButtongroup: import("react").ForwardRefExoticComponent<JSX.StzhButtongroup & Omit<import("react").HTMLAttributes<HTMLStzhButtongroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhButtongroupElement>>;
|
|
17
|
+
export declare const StzhCalendar: import("react").ForwardRefExoticComponent<JSX.StzhCalendar & Omit<import("react").HTMLAttributes<HTMLStzhCalendarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCalendarElement>>;
|
|
18
|
+
export declare const StzhCard: import("react").ForwardRefExoticComponent<JSX.StzhCard & Omit<import("react").HTMLAttributes<HTMLStzhCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCardElement>>;
|
|
19
|
+
export declare const StzhCardNavigation: import("react").ForwardRefExoticComponent<JSX.StzhCardNavigation & Omit<import("react").HTMLAttributes<HTMLStzhCardNavigationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCardNavigationElement>>;
|
|
20
|
+
export declare const StzhCardSearchresult: import("react").ForwardRefExoticComponent<JSX.StzhCardSearchresult & Omit<import("react").HTMLAttributes<HTMLStzhCardSearchresultElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCardSearchresultElement>>;
|
|
21
|
+
export declare const StzhCardlist: import("react").ForwardRefExoticComponent<JSX.StzhCardlist & Omit<import("react").HTMLAttributes<HTMLStzhCardlistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCardlistElement>>;
|
|
22
|
+
export declare const StzhCarousel: import("react").ForwardRefExoticComponent<JSX.StzhCarousel & Omit<import("react").HTMLAttributes<HTMLStzhCarouselElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCarouselElement>>;
|
|
23
|
+
export declare const StzhCell: import("react").ForwardRefExoticComponent<JSX.StzhCell & Omit<import("react").HTMLAttributes<HTMLStzhCellElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCellElement>>;
|
|
24
|
+
export declare const StzhChart: import("react").ForwardRefExoticComponent<JSX.StzhChart & Omit<import("react").HTMLAttributes<HTMLStzhChartElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhChartElement>>;
|
|
25
|
+
export declare const StzhCheckbox: import("react").ForwardRefExoticComponent<JSX.StzhCheckbox & Omit<import("react").HTMLAttributes<HTMLStzhCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCheckboxElement>>;
|
|
26
|
+
export declare const StzhCheckboxgroup: import("react").ForwardRefExoticComponent<JSX.StzhCheckboxgroup & Omit<import("react").HTMLAttributes<HTMLStzhCheckboxgroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCheckboxgroupElement>>;
|
|
27
|
+
export declare const StzhChip: import("react").ForwardRefExoticComponent<JSX.StzhChip & Omit<import("react").HTMLAttributes<HTMLStzhChipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhChipElement>>;
|
|
28
|
+
export declare const StzhChipSelect: import("react").ForwardRefExoticComponent<JSX.StzhChipSelect & Omit<import("react").HTMLAttributes<HTMLStzhChipSelectElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhChipSelectElement>>;
|
|
29
|
+
export declare const StzhClamp: import("react").ForwardRefExoticComponent<JSX.StzhClamp & Omit<import("react").HTMLAttributes<HTMLStzhClampElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhClampElement>>;
|
|
30
|
+
export declare const StzhContact: import("react").ForwardRefExoticComponent<JSX.StzhContact & Omit<import("react").HTMLAttributes<HTMLStzhContactElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhContactElement>>;
|
|
31
|
+
export declare const StzhContainer: import("react").ForwardRefExoticComponent<JSX.StzhContainer & Omit<import("react").HTMLAttributes<HTMLStzhContainerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhContainerElement>>;
|
|
32
|
+
export declare const StzhContent: import("react").ForwardRefExoticComponent<JSX.StzhContent & Omit<import("react").HTMLAttributes<HTMLStzhContentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhContentElement>>;
|
|
33
|
+
export declare const StzhCspace: import("react").ForwardRefExoticComponent<JSX.StzhCspace & Omit<import("react").HTMLAttributes<HTMLStzhCspaceElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCspaceElement>>;
|
|
34
|
+
export declare const StzhCta: import("react").ForwardRefExoticComponent<JSX.StzhCta & Omit<import("react").HTMLAttributes<HTMLStzhCtaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhCtaElement>>;
|
|
35
|
+
export declare const StzhDatalist: import("react").ForwardRefExoticComponent<JSX.StzhDatalist & Omit<import("react").HTMLAttributes<HTMLStzhDatalistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatalistElement>>;
|
|
36
|
+
export declare const StzhDatalistItem: import("react").ForwardRefExoticComponent<JSX.StzhDatalistItem & Omit<import("react").HTMLAttributes<HTMLStzhDatalistItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatalistItemElement>>;
|
|
37
|
+
export declare const StzhDatamessagelist: import("react").ForwardRefExoticComponent<JSX.StzhDatamessagelist & Omit<import("react").HTMLAttributes<HTMLStzhDatamessagelistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatamessagelistElement>>;
|
|
38
|
+
export declare const StzhDatamessagelistItem: import("react").ForwardRefExoticComponent<JSX.StzhDatamessagelistItem & Omit<import("react").HTMLAttributes<HTMLStzhDatamessagelistItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatamessagelistItemElement>>;
|
|
39
|
+
export declare const StzhDatatable: import("react").ForwardRefExoticComponent<JSX.StzhDatatable & Omit<import("react").HTMLAttributes<HTMLStzhDatatableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatatableElement>>;
|
|
40
|
+
export declare const StzhDatepicker: import("react").ForwardRefExoticComponent<JSX.StzhDatepicker & Omit<import("react").HTMLAttributes<HTMLStzhDatepickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDatepickerElement>>;
|
|
41
|
+
export declare const StzhDetails: import("react").ForwardRefExoticComponent<JSX.StzhDetails & Omit<import("react").HTMLAttributes<HTMLStzhDetailsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDetailsElement>>;
|
|
42
|
+
export declare const StzhDialog: import("react").ForwardRefExoticComponent<JSX.StzhDialog & Omit<import("react").HTMLAttributes<HTMLStzhDialogElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDialogElement>>;
|
|
43
|
+
export declare const StzhDisturber: import("react").ForwardRefExoticComponent<JSX.StzhDisturber & Omit<import("react").HTMLAttributes<HTMLStzhDisturberElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDisturberElement>>;
|
|
44
|
+
export declare const StzhDropdown: import("react").ForwardRefExoticComponent<JSX.StzhDropdown & Omit<import("react").HTMLAttributes<HTMLStzhDropdownElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhDropdownElement>>;
|
|
45
|
+
export declare const StzhEditor: import("react").ForwardRefExoticComponent<JSX.StzhEditor & Omit<import("react").HTMLAttributes<HTMLStzhEditorElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhEditorElement>>;
|
|
46
|
+
export declare const StzhEventinfo: import("react").ForwardRefExoticComponent<JSX.StzhEventinfo & Omit<import("react").HTMLAttributes<HTMLStzhEventinfoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhEventinfoElement>>;
|
|
47
|
+
export declare const StzhFieldset: import("react").ForwardRefExoticComponent<JSX.StzhFieldset & Omit<import("react").HTMLAttributes<HTMLStzhFieldsetElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhFieldsetElement>>;
|
|
48
|
+
export declare const StzhFigure: import("react").ForwardRefExoticComponent<JSX.StzhFigure & Omit<import("react").HTMLAttributes<HTMLStzhFigureElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhFigureElement>>;
|
|
49
|
+
export declare const StzhFlyingfocus: import("react").ForwardRefExoticComponent<JSX.StzhFlyingfocus & Omit<import("react").HTMLAttributes<HTMLStzhFlyingfocusElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhFlyingfocusElement>>;
|
|
50
|
+
export declare const StzhFooter: import("react").ForwardRefExoticComponent<JSX.StzhFooter & Omit<import("react").HTMLAttributes<HTMLStzhFooterElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhFooterElement>>;
|
|
51
|
+
export declare const StzhGallery: import("react").ForwardRefExoticComponent<JSX.StzhGallery & Omit<import("react").HTMLAttributes<HTMLStzhGalleryElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhGalleryElement>>;
|
|
52
|
+
export declare const StzhGhettobox: import("react").ForwardRefExoticComponent<JSX.StzhGhettobox & Omit<import("react").HTMLAttributes<HTMLStzhGhettoboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhGhettoboxElement>>;
|
|
53
|
+
export declare const StzhHeader: import("react").ForwardRefExoticComponent<JSX.StzhHeader & Omit<import("react").HTMLAttributes<HTMLStzhHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhHeaderElement>>;
|
|
54
|
+
export declare const StzhHeading: import("react").ForwardRefExoticComponent<JSX.StzhHeading & Omit<import("react").HTMLAttributes<HTMLStzhHeadingElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhHeadingElement>>;
|
|
55
|
+
export declare const StzhHr: import("react").ForwardRefExoticComponent<JSX.StzhHr & Omit<import("react").HTMLAttributes<HTMLStzhHrElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhHrElement>>;
|
|
56
|
+
export declare const StzhHspace: import("react").ForwardRefExoticComponent<JSX.StzhHspace & Omit<import("react").HTMLAttributes<HTMLStzhHspaceElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhHspaceElement>>;
|
|
57
|
+
export declare const StzhIcon: import("react").ForwardRefExoticComponent<JSX.StzhIcon & Omit<import("react").HTMLAttributes<HTMLStzhIconElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhIconElement>>;
|
|
58
|
+
export declare const StzhIframe: import("react").ForwardRefExoticComponent<JSX.StzhIframe & Omit<import("react").HTMLAttributes<HTMLStzhIframeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhIframeElement>>;
|
|
59
|
+
export declare const StzhImagecomparison: import("react").ForwardRefExoticComponent<JSX.StzhImagecomparison & Omit<import("react").HTMLAttributes<HTMLStzhImagecomparisonElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhImagecomparisonElement>>;
|
|
60
|
+
export declare const StzhInput: import("react").ForwardRefExoticComponent<JSX.StzhInput & Omit<import("react").HTMLAttributes<HTMLStzhInputElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhInputElement>>;
|
|
61
|
+
export declare const StzhInvert: import("react").ForwardRefExoticComponent<JSX.StzhInvert & Omit<import("react").HTMLAttributes<HTMLStzhInvertElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhInvertElement>>;
|
|
62
|
+
export declare const StzhLink: import("react").ForwardRefExoticComponent<JSX.StzhLink & Omit<import("react").HTMLAttributes<HTMLStzhLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhLinkElement>>;
|
|
63
|
+
export declare const StzhList: import("react").ForwardRefExoticComponent<JSX.StzhList & Omit<import("react").HTMLAttributes<HTMLStzhListElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhListElement>>;
|
|
64
|
+
export declare const StzhListItem: import("react").ForwardRefExoticComponent<JSX.StzhListItem & Omit<import("react").HTMLAttributes<HTMLStzhListItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhListItemElement>>;
|
|
65
|
+
export declare const StzhLoader: import("react").ForwardRefExoticComponent<JSX.StzhLoader & Omit<import("react").HTMLAttributes<HTMLStzhLoaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhLoaderElement>>;
|
|
66
|
+
export declare const StzhLoadingbar: import("react").ForwardRefExoticComponent<JSX.StzhLoadingbar & Omit<import("react").HTMLAttributes<HTMLStzhLoadingbarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhLoadingbarElement>>;
|
|
67
|
+
export declare const StzhMenu: import("react").ForwardRefExoticComponent<JSX.StzhMenu & Omit<import("react").HTMLAttributes<HTMLStzhMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhMenuElement>>;
|
|
68
|
+
export declare const StzhMenuItem: import("react").ForwardRefExoticComponent<JSX.StzhMenuItem & Omit<import("react").HTMLAttributes<HTMLStzhMenuItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhMenuItemElement>>;
|
|
69
|
+
export declare const StzhMessage: import("react").ForwardRefExoticComponent<JSX.StzhMessage & Omit<import("react").HTMLAttributes<HTMLStzhMessageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhMessageElement>>;
|
|
70
|
+
export declare const StzhMicrositeTeaserlist: import("react").ForwardRefExoticComponent<JSX.StzhMicrositeTeaserlist & Omit<import("react").HTMLAttributes<HTMLStzhMicrositeTeaserlistElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhMicrositeTeaserlistElement>>;
|
|
71
|
+
export declare const StzhMonthyearpicker: import("react").ForwardRefExoticComponent<JSX.StzhMonthyearpicker & Omit<import("react").HTMLAttributes<HTMLStzhMonthyearpickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhMonthyearpickerElement>>;
|
|
72
|
+
export declare const StzhOlmap: import("react").ForwardRefExoticComponent<JSX.StzhOlmap & Omit<import("react").HTMLAttributes<HTMLStzhOlmapElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhOlmapElement>>;
|
|
73
|
+
export declare const StzhOverlay: import("react").ForwardRefExoticComponent<JSX.StzhOverlay & Omit<import("react").HTMLAttributes<HTMLStzhOverlayElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhOverlayElement>>;
|
|
74
|
+
export declare const StzhPageSkiplinks: import("react").ForwardRefExoticComponent<JSX.StzhPageSkiplinks & Omit<import("react").HTMLAttributes<HTMLStzhPageSkiplinksElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPageSkiplinksElement>>;
|
|
75
|
+
export declare const StzhPagebottom: import("react").ForwardRefExoticComponent<JSX.StzhPagebottom & Omit<import("react").HTMLAttributes<HTMLStzhPagebottomElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPagebottomElement>>;
|
|
76
|
+
export declare const StzhPagecontent: import("react").ForwardRefExoticComponent<JSX.StzhPagecontent & Omit<import("react").HTMLAttributes<HTMLStzhPagecontentElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPagecontentElement>>;
|
|
77
|
+
export declare const StzhPagetitle: import("react").ForwardRefExoticComponent<JSX.StzhPagetitle & Omit<import("react").HTMLAttributes<HTMLStzhPagetitleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPagetitleElement>>;
|
|
78
|
+
export declare const StzhPagetitleHero: import("react").ForwardRefExoticComponent<JSX.StzhPagetitleHero & Omit<import("react").HTMLAttributes<HTMLStzhPagetitleHeroElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPagetitleHeroElement>>;
|
|
79
|
+
export declare const StzhPagination: import("react").ForwardRefExoticComponent<JSX.StzhPagination & Omit<import("react").HTMLAttributes<HTMLStzhPaginationElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPaginationElement>>;
|
|
80
|
+
export declare const StzhPanorama: import("react").ForwardRefExoticComponent<JSX.StzhPanorama & Omit<import("react").HTMLAttributes<HTMLStzhPanoramaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPanoramaElement>>;
|
|
81
|
+
export declare const StzhPopover: import("react").ForwardRefExoticComponent<JSX.StzhPopover & Omit<import("react").HTMLAttributes<HTMLStzhPopoverElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPopoverElement>>;
|
|
82
|
+
export declare const StzhPrint: import("react").ForwardRefExoticComponent<JSX.StzhPrint & Omit<import("react").HTMLAttributes<HTMLStzhPrintElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhPrintElement>>;
|
|
83
|
+
export declare const StzhProgressbar: import("react").ForwardRefExoticComponent<JSX.StzhProgressbar & Omit<import("react").HTMLAttributes<HTMLStzhProgressbarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhProgressbarElement>>;
|
|
84
|
+
export declare const StzhProgressbarItem: import("react").ForwardRefExoticComponent<JSX.StzhProgressbarItem & Omit<import("react").HTMLAttributes<HTMLStzhProgressbarItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhProgressbarItemElement>>;
|
|
85
|
+
export declare const StzhRadio: import("react").ForwardRefExoticComponent<JSX.StzhRadio & Omit<import("react").HTMLAttributes<HTMLStzhRadioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhRadioElement>>;
|
|
86
|
+
export declare const StzhRadiogroup: import("react").ForwardRefExoticComponent<JSX.StzhRadiogroup & Omit<import("react").HTMLAttributes<HTMLStzhRadiogroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhRadiogroupElement>>;
|
|
87
|
+
export declare const StzhRatio: import("react").ForwardRefExoticComponent<JSX.StzhRatio & Omit<import("react").HTMLAttributes<HTMLStzhRatioElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhRatioElement>>;
|
|
88
|
+
export declare const StzhReadspeaker: import("react").ForwardRefExoticComponent<JSX.StzhReadspeaker & Omit<import("react").HTMLAttributes<HTMLStzhReadspeakerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhReadspeakerElement>>;
|
|
89
|
+
export declare const StzhRichtext: import("react").ForwardRefExoticComponent<JSX.StzhRichtext & Omit<import("react").HTMLAttributes<HTMLStzhRichtextElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhRichtextElement>>;
|
|
90
|
+
export declare const StzhRow: import("react").ForwardRefExoticComponent<JSX.StzhRow & Omit<import("react").HTMLAttributes<HTMLStzhRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhRowElement>>;
|
|
91
|
+
export declare const StzhSaptcha: import("react").ForwardRefExoticComponent<JSX.StzhSaptcha & Omit<import("react").HTMLAttributes<HTMLStzhSaptchaElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSaptchaElement>>;
|
|
92
|
+
export declare const StzhScrollup: import("react").ForwardRefExoticComponent<JSX.StzhScrollup & Omit<import("react").HTMLAttributes<HTMLStzhScrollupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhScrollupElement>>;
|
|
93
|
+
export declare const StzhSearch: import("react").ForwardRefExoticComponent<JSX.StzhSearch & Omit<import("react").HTMLAttributes<HTMLStzhSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSearchElement>>;
|
|
94
|
+
export declare const StzhSection: import("react").ForwardRefExoticComponent<JSX.StzhSection & Omit<import("react").HTMLAttributes<HTMLStzhSectionElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSectionElement>>;
|
|
95
|
+
export declare const StzhShare: import("react").ForwardRefExoticComponent<JSX.StzhShare & Omit<import("react").HTMLAttributes<HTMLStzhShareElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhShareElement>>;
|
|
96
|
+
export declare const StzhShow: import("react").ForwardRefExoticComponent<JSX.StzhShow & Omit<import("react").HTMLAttributes<HTMLStzhShowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhShowElement>>;
|
|
97
|
+
export declare const StzhSitemap: import("react").ForwardRefExoticComponent<JSX.StzhSitemap & Omit<import("react").HTMLAttributes<HTMLStzhSitemapElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSitemapElement>>;
|
|
98
|
+
export declare const StzhSkinPortalMitwirken: import("react").ForwardRefExoticComponent<JSX.StzhSkinPortalMitwirken & Omit<import("react").HTMLAttributes<HTMLStzhSkinPortalMitwirkenElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSkinPortalMitwirkenElement>>;
|
|
99
|
+
export declare const StzhSkinStorybookPreview: import("react").ForwardRefExoticComponent<JSX.StzhSkinStorybookPreview & Omit<import("react").HTMLAttributes<HTMLStzhSkinStorybookPreviewElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSkinStorybookPreviewElement>>;
|
|
100
|
+
export declare const StzhSkiplink: import("react").ForwardRefExoticComponent<JSX.StzhSkiplink & Omit<import("react").HTMLAttributes<HTMLStzhSkiplinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSkiplinkElement>>;
|
|
101
|
+
export declare const StzhSortable: import("react").ForwardRefExoticComponent<JSX.StzhSortable & Omit<import("react").HTMLAttributes<HTMLStzhSortableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSortableElement>>;
|
|
102
|
+
export declare const StzhSpace: import("react").ForwardRefExoticComponent<JSX.StzhSpace & Omit<import("react").HTMLAttributes<HTMLStzhSpaceElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhSpaceElement>>;
|
|
103
|
+
export declare const StzhStatus: import("react").ForwardRefExoticComponent<JSX.StzhStatus & Omit<import("react").HTMLAttributes<HTMLStzhStatusElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhStatusElement>>;
|
|
104
|
+
export declare const StzhSticky: import("react").ForwardRefExoticComponent<JSX.StzhSticky & Omit<import("react").HTMLAttributes<HTMLStzhStickyElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhStickyElement>>;
|
|
105
|
+
export declare const StzhStickyActions: import("react").ForwardRefExoticComponent<JSX.StzhStickyActions & Omit<import("react").HTMLAttributes<HTMLStzhStickyActionsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhStickyActionsElement>>;
|
|
106
|
+
export declare const StzhTable: import("react").ForwardRefExoticComponent<JSX.StzhTable & Omit<import("react").HTMLAttributes<HTMLStzhTableElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTableElement>>;
|
|
107
|
+
export declare const StzhText: import("react").ForwardRefExoticComponent<JSX.StzhText & Omit<import("react").HTMLAttributes<HTMLStzhTextElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTextElement>>;
|
|
108
|
+
export declare const StzhTextandimage: import("react").ForwardRefExoticComponent<JSX.StzhTextandimage & Omit<import("react").HTMLAttributes<HTMLStzhTextandimageElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTextandimageElement>>;
|
|
109
|
+
export declare const StzhTimeline: import("react").ForwardRefExoticComponent<JSX.StzhTimeline & Omit<import("react").HTMLAttributes<HTMLStzhTimelineElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTimelineElement>>;
|
|
110
|
+
export declare const StzhTimelineItem: import("react").ForwardRefExoticComponent<JSX.StzhTimelineItem & Omit<import("react").HTMLAttributes<HTMLStzhTimelineItemElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTimelineItemElement>>;
|
|
111
|
+
export declare const StzhTimepicker: import("react").ForwardRefExoticComponent<JSX.StzhTimepicker & Omit<import("react").HTMLAttributes<HTMLStzhTimepickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTimepickerElement>>;
|
|
112
|
+
export declare const StzhToast: import("react").ForwardRefExoticComponent<JSX.StzhToast & Omit<import("react").HTMLAttributes<HTMLStzhToastElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhToastElement>>;
|
|
113
|
+
export declare const StzhToastbar: import("react").ForwardRefExoticComponent<JSX.StzhToastbar & Omit<import("react").HTMLAttributes<HTMLStzhToastbarElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhToastbarElement>>;
|
|
114
|
+
export declare const StzhToggle: import("react").ForwardRefExoticComponent<JSX.StzhToggle & Omit<import("react").HTMLAttributes<HTMLStzhToggleElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhToggleElement>>;
|
|
115
|
+
export declare const StzhTooltip: import("react").ForwardRefExoticComponent<JSX.StzhTooltip & Omit<import("react").HTMLAttributes<HTMLStzhTooltipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTooltipElement>>;
|
|
116
|
+
export declare const StzhTwocolumns: import("react").ForwardRefExoticComponent<JSX.StzhTwocolumns & Omit<import("react").HTMLAttributes<HTMLStzhTwocolumnsElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhTwocolumnsElement>>;
|
|
117
|
+
export declare const StzhUpload: import("react").ForwardRefExoticComponent<JSX.StzhUpload & Omit<import("react").HTMLAttributes<HTMLStzhUploadElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhUploadElement>>;
|
|
118
|
+
export declare const StzhVbzCarousel: import("react").ForwardRefExoticComponent<JSX.StzhVbzCarousel & Omit<import("react").HTMLAttributes<HTMLStzhVbzCarouselElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVbzCarouselElement>>;
|
|
119
|
+
export declare const StzhVbzLinechip: import("react").ForwardRefExoticComponent<JSX.StzhVbzLinechip & Omit<import("react").HTMLAttributes<HTMLStzhVbzLinechipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVbzLinechipElement>>;
|
|
120
|
+
export declare const StzhVbzMajorticker: import("react").ForwardRefExoticComponent<JSX.StzhVbzMajorticker & Omit<import("react").HTMLAttributes<HTMLStzhVbzMajortickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVbzMajortickerElement>>;
|
|
121
|
+
export declare const StzhVbzTicker: import("react").ForwardRefExoticComponent<JSX.StzhVbzTicker & Omit<import("react").HTMLAttributes<HTMLStzhVbzTickerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVbzTickerElement>>;
|
|
122
|
+
export declare const StzhVisuallyhidden: import("react").ForwardRefExoticComponent<JSX.StzhVisuallyhidden & Omit<import("react").HTMLAttributes<HTMLStzhVisuallyhiddenElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVisuallyhiddenElement>>;
|
|
123
|
+
export declare const StzhVspace: import("react").ForwardRefExoticComponent<JSX.StzhVspace & Omit<import("react").HTMLAttributes<HTMLStzhVspaceElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhVspaceElement>>;
|
|
124
|
+
export declare const StzhYoutube: import("react").ForwardRefExoticComponent<JSX.StzhYoutube & Omit<import("react").HTMLAttributes<HTMLStzhYoutubeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLStzhYoutubeElement>>;
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* auto-generated react proxies */
|
|
4
|
+
import { createReactComponent } from './react-component-lib';
|
|
5
|
+
import { defineCustomElements } from '@oiz/stzh-components/loader';
|
|
6
|
+
defineCustomElements();
|
|
7
|
+
export const StzhAccordion = /*@__PURE__*/ createReactComponent('stzh-accordion');
|
|
8
|
+
export const StzhAccordionItem = /*@__PURE__*/ createReactComponent('stzh-accordion-item');
|
|
9
|
+
export const StzhActions = /*@__PURE__*/ createReactComponent('stzh-actions');
|
|
10
|
+
export const StzhActionset = /*@__PURE__*/ createReactComponent('stzh-actionset');
|
|
11
|
+
export const StzhAmount = /*@__PURE__*/ createReactComponent('stzh-amount');
|
|
12
|
+
export const StzhAnchornav = /*@__PURE__*/ createReactComponent('stzh-anchornav');
|
|
13
|
+
export const StzhAppointments = /*@__PURE__*/ createReactComponent('stzh-appointments');
|
|
14
|
+
export const StzhArchivelist = /*@__PURE__*/ createReactComponent('stzh-archivelist');
|
|
15
|
+
export const StzhAudio = /*@__PURE__*/ createReactComponent('stzh-audio');
|
|
16
|
+
export const StzhBadge = /*@__PURE__*/ createReactComponent('stzh-badge');
|
|
17
|
+
export const StzhBanner = /*@__PURE__*/ createReactComponent('stzh-banner');
|
|
18
|
+
export const StzhBreadcrumb = /*@__PURE__*/ createReactComponent('stzh-breadcrumb');
|
|
19
|
+
export const StzhButton = /*@__PURE__*/ createReactComponent('stzh-button');
|
|
20
|
+
export const StzhButtongroup = /*@__PURE__*/ createReactComponent('stzh-buttongroup');
|
|
21
|
+
export const StzhCalendar = /*@__PURE__*/ createReactComponent('stzh-calendar');
|
|
22
|
+
export const StzhCard = /*@__PURE__*/ createReactComponent('stzh-card');
|
|
23
|
+
export const StzhCardNavigation = /*@__PURE__*/ createReactComponent('stzh-card-navigation');
|
|
24
|
+
export const StzhCardSearchresult = /*@__PURE__*/ createReactComponent('stzh-card-searchresult');
|
|
25
|
+
export const StzhCardlist = /*@__PURE__*/ createReactComponent('stzh-cardlist');
|
|
26
|
+
export const StzhCarousel = /*@__PURE__*/ createReactComponent('stzh-carousel');
|
|
27
|
+
export const StzhCell = /*@__PURE__*/ createReactComponent('stzh-cell');
|
|
28
|
+
export const StzhChart = /*@__PURE__*/ createReactComponent('stzh-chart');
|
|
29
|
+
export const StzhCheckbox = /*@__PURE__*/ createReactComponent('stzh-checkbox');
|
|
30
|
+
export const StzhCheckboxgroup = /*@__PURE__*/ createReactComponent('stzh-checkboxgroup');
|
|
31
|
+
export const StzhChip = /*@__PURE__*/ createReactComponent('stzh-chip');
|
|
32
|
+
export const StzhChipSelect = /*@__PURE__*/ createReactComponent('stzh-chip-select');
|
|
33
|
+
export const StzhClamp = /*@__PURE__*/ createReactComponent('stzh-clamp');
|
|
34
|
+
export const StzhContact = /*@__PURE__*/ createReactComponent('stzh-contact');
|
|
35
|
+
export const StzhContainer = /*@__PURE__*/ createReactComponent('stzh-container');
|
|
36
|
+
export const StzhContent = /*@__PURE__*/ createReactComponent('stzh-content');
|
|
37
|
+
export const StzhCspace = /*@__PURE__*/ createReactComponent('stzh-cspace');
|
|
38
|
+
export const StzhCta = /*@__PURE__*/ createReactComponent('stzh-cta');
|
|
39
|
+
export const StzhDatalist = /*@__PURE__*/ createReactComponent('stzh-datalist');
|
|
40
|
+
export const StzhDatalistItem = /*@__PURE__*/ createReactComponent('stzh-datalist-item');
|
|
41
|
+
export const StzhDatamessagelist = /*@__PURE__*/ createReactComponent('stzh-datamessagelist');
|
|
42
|
+
export const StzhDatamessagelistItem = /*@__PURE__*/ createReactComponent('stzh-datamessagelist-item');
|
|
43
|
+
export const StzhDatatable = /*@__PURE__*/ createReactComponent('stzh-datatable');
|
|
44
|
+
export const StzhDatepicker = /*@__PURE__*/ createReactComponent('stzh-datepicker');
|
|
45
|
+
export const StzhDetails = /*@__PURE__*/ createReactComponent('stzh-details');
|
|
46
|
+
export const StzhDialog = /*@__PURE__*/ createReactComponent('stzh-dialog');
|
|
47
|
+
export const StzhDisturber = /*@__PURE__*/ createReactComponent('stzh-disturber');
|
|
48
|
+
export const StzhDropdown = /*@__PURE__*/ createReactComponent('stzh-dropdown');
|
|
49
|
+
export const StzhEditor = /*@__PURE__*/ createReactComponent('stzh-editor');
|
|
50
|
+
export const StzhEventinfo = /*@__PURE__*/ createReactComponent('stzh-eventinfo');
|
|
51
|
+
export const StzhFieldset = /*@__PURE__*/ createReactComponent('stzh-fieldset');
|
|
52
|
+
export const StzhFigure = /*@__PURE__*/ createReactComponent('stzh-figure');
|
|
53
|
+
export const StzhFlyingfocus = /*@__PURE__*/ createReactComponent('stzh-flyingfocus');
|
|
54
|
+
export const StzhFooter = /*@__PURE__*/ createReactComponent('stzh-footer');
|
|
55
|
+
export const StzhGallery = /*@__PURE__*/ createReactComponent('stzh-gallery');
|
|
56
|
+
export const StzhGhettobox = /*@__PURE__*/ createReactComponent('stzh-ghettobox');
|
|
57
|
+
export const StzhHeader = /*@__PURE__*/ createReactComponent('stzh-header');
|
|
58
|
+
export const StzhHeading = /*@__PURE__*/ createReactComponent('stzh-heading');
|
|
59
|
+
export const StzhHr = /*@__PURE__*/ createReactComponent('stzh-hr');
|
|
60
|
+
export const StzhHspace = /*@__PURE__*/ createReactComponent('stzh-hspace');
|
|
61
|
+
export const StzhIcon = /*@__PURE__*/ createReactComponent('stzh-icon');
|
|
62
|
+
export const StzhIframe = /*@__PURE__*/ createReactComponent('stzh-iframe');
|
|
63
|
+
export const StzhImagecomparison = /*@__PURE__*/ createReactComponent('stzh-imagecomparison');
|
|
64
|
+
export const StzhInput = /*@__PURE__*/ createReactComponent('stzh-input');
|
|
65
|
+
export const StzhInvert = /*@__PURE__*/ createReactComponent('stzh-invert');
|
|
66
|
+
export const StzhLink = /*@__PURE__*/ createReactComponent('stzh-link');
|
|
67
|
+
export const StzhList = /*@__PURE__*/ createReactComponent('stzh-list');
|
|
68
|
+
export const StzhListItem = /*@__PURE__*/ createReactComponent('stzh-list-item');
|
|
69
|
+
export const StzhLoader = /*@__PURE__*/ createReactComponent('stzh-loader');
|
|
70
|
+
export const StzhLoadingbar = /*@__PURE__*/ createReactComponent('stzh-loadingbar');
|
|
71
|
+
export const StzhMenu = /*@__PURE__*/ createReactComponent('stzh-menu');
|
|
72
|
+
export const StzhMenuItem = /*@__PURE__*/ createReactComponent('stzh-menu-item');
|
|
73
|
+
export const StzhMessage = /*@__PURE__*/ createReactComponent('stzh-message');
|
|
74
|
+
export const StzhMicrositeTeaserlist = /*@__PURE__*/ createReactComponent('stzh-microsite-teaserlist');
|
|
75
|
+
export const StzhMonthyearpicker = /*@__PURE__*/ createReactComponent('stzh-monthyearpicker');
|
|
76
|
+
export const StzhOlmap = /*@__PURE__*/ createReactComponent('stzh-olmap');
|
|
77
|
+
export const StzhOverlay = /*@__PURE__*/ createReactComponent('stzh-overlay');
|
|
78
|
+
export const StzhPageSkiplinks = /*@__PURE__*/ createReactComponent('stzh-page-skiplinks');
|
|
79
|
+
export const StzhPagebottom = /*@__PURE__*/ createReactComponent('stzh-pagebottom');
|
|
80
|
+
export const StzhPagecontent = /*@__PURE__*/ createReactComponent('stzh-pagecontent');
|
|
81
|
+
export const StzhPagetitle = /*@__PURE__*/ createReactComponent('stzh-pagetitle');
|
|
82
|
+
export const StzhPagetitleHero = /*@__PURE__*/ createReactComponent('stzh-pagetitle-hero');
|
|
83
|
+
export const StzhPagination = /*@__PURE__*/ createReactComponent('stzh-pagination');
|
|
84
|
+
export const StzhPanorama = /*@__PURE__*/ createReactComponent('stzh-panorama');
|
|
85
|
+
export const StzhPopover = /*@__PURE__*/ createReactComponent('stzh-popover');
|
|
86
|
+
export const StzhPrint = /*@__PURE__*/ createReactComponent('stzh-print');
|
|
87
|
+
export const StzhProgressbar = /*@__PURE__*/ createReactComponent('stzh-progressbar');
|
|
88
|
+
export const StzhProgressbarItem = /*@__PURE__*/ createReactComponent('stzh-progressbar-item');
|
|
89
|
+
export const StzhRadio = /*@__PURE__*/ createReactComponent('stzh-radio');
|
|
90
|
+
export const StzhRadiogroup = /*@__PURE__*/ createReactComponent('stzh-radiogroup');
|
|
91
|
+
export const StzhRatio = /*@__PURE__*/ createReactComponent('stzh-ratio');
|
|
92
|
+
export const StzhReadspeaker = /*@__PURE__*/ createReactComponent('stzh-readspeaker');
|
|
93
|
+
export const StzhRichtext = /*@__PURE__*/ createReactComponent('stzh-richtext');
|
|
94
|
+
export const StzhRow = /*@__PURE__*/ createReactComponent('stzh-row');
|
|
95
|
+
export const StzhSaptcha = /*@__PURE__*/ createReactComponent('stzh-saptcha');
|
|
96
|
+
export const StzhScrollup = /*@__PURE__*/ createReactComponent('stzh-scrollup');
|
|
97
|
+
export const StzhSearch = /*@__PURE__*/ createReactComponent('stzh-search');
|
|
98
|
+
export const StzhSection = /*@__PURE__*/ createReactComponent('stzh-section');
|
|
99
|
+
export const StzhShare = /*@__PURE__*/ createReactComponent('stzh-share');
|
|
100
|
+
export const StzhShow = /*@__PURE__*/ createReactComponent('stzh-show');
|
|
101
|
+
export const StzhSitemap = /*@__PURE__*/ createReactComponent('stzh-sitemap');
|
|
102
|
+
export const StzhSkinPortalMitwirken = /*@__PURE__*/ createReactComponent('stzh-skin-portal-mitwirken');
|
|
103
|
+
export const StzhSkinStorybookPreview = /*@__PURE__*/ createReactComponent('stzh-skin-storybook-preview');
|
|
104
|
+
export const StzhSkiplink = /*@__PURE__*/ createReactComponent('stzh-skiplink');
|
|
105
|
+
export const StzhSortable = /*@__PURE__*/ createReactComponent('stzh-sortable');
|
|
106
|
+
export const StzhSpace = /*@__PURE__*/ createReactComponent('stzh-space');
|
|
107
|
+
export const StzhStatus = /*@__PURE__*/ createReactComponent('stzh-status');
|
|
108
|
+
export const StzhSticky = /*@__PURE__*/ createReactComponent('stzh-sticky');
|
|
109
|
+
export const StzhStickyActions = /*@__PURE__*/ createReactComponent('stzh-sticky-actions');
|
|
110
|
+
export const StzhTable = /*@__PURE__*/ createReactComponent('stzh-table');
|
|
111
|
+
export const StzhText = /*@__PURE__*/ createReactComponent('stzh-text');
|
|
112
|
+
export const StzhTextandimage = /*@__PURE__*/ createReactComponent('stzh-textandimage');
|
|
113
|
+
export const StzhTimeline = /*@__PURE__*/ createReactComponent('stzh-timeline');
|
|
114
|
+
export const StzhTimelineItem = /*@__PURE__*/ createReactComponent('stzh-timeline-item');
|
|
115
|
+
export const StzhTimepicker = /*@__PURE__*/ createReactComponent('stzh-timepicker');
|
|
116
|
+
export const StzhToast = /*@__PURE__*/ createReactComponent('stzh-toast');
|
|
117
|
+
export const StzhToastbar = /*@__PURE__*/ createReactComponent('stzh-toastbar');
|
|
118
|
+
export const StzhToggle = /*@__PURE__*/ createReactComponent('stzh-toggle');
|
|
119
|
+
export const StzhTooltip = /*@__PURE__*/ createReactComponent('stzh-tooltip');
|
|
120
|
+
export const StzhTwocolumns = /*@__PURE__*/ createReactComponent('stzh-twocolumns');
|
|
121
|
+
export const StzhUpload = /*@__PURE__*/ createReactComponent('stzh-upload');
|
|
122
|
+
export const StzhVbzCarousel = /*@__PURE__*/ createReactComponent('stzh-vbz-carousel');
|
|
123
|
+
export const StzhVbzLinechip = /*@__PURE__*/ createReactComponent('stzh-vbz-linechip');
|
|
124
|
+
export const StzhVbzMajorticker = /*@__PURE__*/ createReactComponent('stzh-vbz-majorticker');
|
|
125
|
+
export const StzhVbzTicker = /*@__PURE__*/ createReactComponent('stzh-vbz-ticker');
|
|
126
|
+
export const StzhVisuallyhidden = /*@__PURE__*/ createReactComponent('stzh-visuallyhidden');
|
|
127
|
+
export const StzhVspace = /*@__PURE__*/ createReactComponent('stzh-vspace');
|
|
128
|
+
export const StzhYoutube = /*@__PURE__*/ createReactComponent('stzh-youtube');
|
|
129
|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BAAiB,CAAC,CAAC;AAClI,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAAoB,CAAwC,aAAa,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAA,oBAAoB,CAAkD,mBAAmB,CAAC,CAAC;AACvI,MAAM,CAAC,MAAM,eAAe,GAAG,aAAa,CAAA,oBAAoB,CAAkD,mBAAmB,CAAC,CAAC;AACvI,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAA,oBAAoB,CAAwD,sBAAsB,CAAC,CAAC;AACnJ,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,iBAAiB,CAAC,CAAC;AAC/H,MAAM,CAAC,MAAM,kBAAkB,GAAG,aAAa,CAAA,oBAAoB,CAAwD,qBAAqB,CAAC,CAAC;AAClJ,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAAoB,CAAwC,aAAa,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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> | undefined, manipulatePropsFunction?: ((originalProps: StencilReactInternalProps<ElementType>, propsToPass: any) => ExpandedPropsTypes) | undefined, defineCustomElement?: () => void) => React.ForwardRefExoticComponent<React.PropsWithoutRef<import("./utils").StencilReactExternalProps<PropType, ElementType>> & React.RefAttributes<ElementType>>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createComponent.js","sourceRoot":"","sources":["../../../../src/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AAC,CAAC;AAC9E,CAAC,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OverlayEventDetail } 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> | undefined;
|
|
20
|
+
}> & React.RefAttributes<OverlayType>>;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,109 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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,W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AC,CAAC,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"}
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../../../../src/components/stencil-generated/react-component-lib/interfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
} | undefined;
|
|
16
|
+
}, eventName: string, newEventHandler?: ((e: Event) => any) | undefined) => void;
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;QAC3B,iDAAiD;QACjD,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AAC,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;SAC/B;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"}
|
|
@@ -0,0 +1,7 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,13 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;QACf,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAClB,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACtB,QAAQ,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC;SACtB;KACF;AACH,CAAC,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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';
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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;QAC7B,GAAG,CAAC,KAAK,CAAC,CAAC;KACZ;SAAM,IAAI,GAAG,IAAI,IAAI,EAAE;QACtB,gDAAgD;QAC/C,GAAmC,CAAC,OAAO,GAAG,KAAK,CAAC;KACtD;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;AACtC,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,OAAe,EAAE,aAAkB,EAAE,EAAE;IACzE,IAAI,aAAa,KAAK,SAAS,IAAI,OAAO,cAAc,KAAK,WAAW,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,OAAO,CAAC,EAAE;QACxG,cAAc,CAAC,MAAM,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;KAC/C;AACH,CAAC,CAAC;AAEF,cAAc,eAAe,CAAC;AAC9B,cAAc,QAAQ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./components";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@oiz/stzh-components-react",
|
|
3
|
+
"sideEffects": false,
|
|
4
|
+
"version": "3.0.0-beta1",
|
|
5
|
+
"private": false,
|
|
6
|
+
"description": "React specific wrapper for stzh-components library",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/ionic-team/ionic.git"
|
|
10
|
+
},
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "npm run clean && npm run compile",
|
|
13
|
+
"clean": "rm -rf dist",
|
|
14
|
+
"compile": "npm run tsc",
|
|
15
|
+
"tsc": "tsc -p .",
|
|
16
|
+
"rollup": "rollup -c"
|
|
17
|
+
},
|
|
18
|
+
"main": "./dist/index.js",
|
|
19
|
+
"module": "./dist/index.js",
|
|
20
|
+
"types": "./dist/index.d.ts",
|
|
21
|
+
"files": [
|
|
22
|
+
"dist/"
|
|
23
|
+
],
|
|
24
|
+
"devDependencies": {
|
|
25
|
+
"@types/node": "^16.18.3",
|
|
26
|
+
"@types/react": "^18.0.25",
|
|
27
|
+
"@types/react-dom": "^18.0.9",
|
|
28
|
+
"jest-dom": "^3.0.2",
|
|
29
|
+
"np": "^3.0.4",
|
|
30
|
+
"react": "^18.2.0",
|
|
31
|
+
"react-dom": "^18.2.0",
|
|
32
|
+
"typescript": "^4.5.4"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"react": "^18.2.0",
|
|
36
|
+
"react-dom": "^18.2.0"
|
|
37
|
+
},
|
|
38
|
+
"jest": {
|
|
39
|
+
"preset": "ts-jest",
|
|
40
|
+
"setupTestFrameworkScriptFile": "<rootDir>/jest.setup.js",
|
|
41
|
+
"testPathIgnorePatterns": [
|
|
42
|
+
"node_modules",
|
|
43
|
+
"dist"
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@oiz/stzh-components": "file:../stzh-components"
|
|
48
|
+
}
|
|
49
|
+
}
|