@itcenteratunihelsinki/huds-lib-react 0.8.56 → 0.8.58
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/types/index.d.ts
CHANGED
|
@@ -1,96 +1,94 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
export declare const
|
|
16
|
-
export declare const
|
|
17
|
-
export declare const
|
|
18
|
-
export declare const
|
|
19
|
-
export declare const
|
|
20
|
-
export declare const
|
|
21
|
-
export declare const
|
|
22
|
-
export declare const
|
|
23
|
-
export declare const
|
|
24
|
-
export declare const
|
|
25
|
-
export declare const
|
|
26
|
-
export declare const
|
|
27
|
-
export declare const
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
export declare const
|
|
36
|
-
export declare const
|
|
37
|
-
export declare const
|
|
38
|
-
export declare const
|
|
39
|
-
export declare const
|
|
40
|
-
export declare const
|
|
41
|
-
export declare const
|
|
42
|
-
export declare const
|
|
43
|
-
export declare const
|
|
44
|
-
export declare const
|
|
45
|
-
export declare const
|
|
46
|
-
export declare const
|
|
47
|
-
export declare const
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
50
|
-
export declare const
|
|
51
|
-
export declare const
|
|
52
|
-
export declare const
|
|
53
|
-
export declare const
|
|
54
|
-
export declare const
|
|
55
|
-
export declare const
|
|
56
|
-
export declare const
|
|
57
|
-
export declare const
|
|
58
|
-
export declare const
|
|
59
|
-
export declare const
|
|
60
|
-
export declare const
|
|
61
|
-
export declare const
|
|
62
|
-
export declare const
|
|
63
|
-
export declare const
|
|
64
|
-
export declare const
|
|
65
|
-
export declare const
|
|
66
|
-
export declare const
|
|
67
|
-
export declare const
|
|
68
|
-
export declare const
|
|
69
|
-
export declare const
|
|
70
|
-
export declare const
|
|
71
|
-
export declare const
|
|
72
|
-
export declare const
|
|
73
|
-
export declare const
|
|
74
|
-
export declare const
|
|
75
|
-
export declare const
|
|
76
|
-
export declare const
|
|
77
|
-
export declare const
|
|
78
|
-
export declare const
|
|
79
|
-
export declare const
|
|
80
|
-
export declare const
|
|
81
|
-
export declare const
|
|
82
|
-
export declare const
|
|
83
|
-
export declare const
|
|
84
|
-
export declare const
|
|
85
|
-
export declare const
|
|
86
|
-
export declare const
|
|
87
|
-
export declare const
|
|
88
|
-
export declare const
|
|
89
|
-
export declare const
|
|
90
|
-
export declare const
|
|
91
|
-
export declare const
|
|
92
|
-
export declare const
|
|
93
|
-
export declare const
|
|
94
|
-
export declare const
|
|
95
|
-
export declare const HyUserLoginForm: import("react").ForwardRefExoticComponent<JSX.HyUserLoginForm & Omit<import("react").HTMLAttributes<HTMLHyUserLoginFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLHyUserLoginFormElement>>;
|
|
96
|
-
export declare const HyVideo: import("react").ForwardRefExoticComponent<JSX.HyVideo & Omit<import("react").HTMLAttributes<HTMLHyVideoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLHyVideoElement>>;
|
|
1
|
+
export declare const ColorBox: any;
|
|
2
|
+
export declare const HyAccordionContainer: any;
|
|
3
|
+
export declare const HyAccordionItem: any;
|
|
4
|
+
export declare const HyAdjacentImageText: any;
|
|
5
|
+
export declare const HyAnchorLinkList: any;
|
|
6
|
+
export declare const HyBadge: any;
|
|
7
|
+
export declare const HyBanner: any;
|
|
8
|
+
export declare const HyBaseline: any;
|
|
9
|
+
export declare const HyBox: any;
|
|
10
|
+
export declare const HyBoxContainer: any;
|
|
11
|
+
export declare const HyBreadcrumbs: any;
|
|
12
|
+
export declare const HyButton: any;
|
|
13
|
+
export declare const HyCheckbox: any;
|
|
14
|
+
export declare const HyCollaboration: any;
|
|
15
|
+
export declare const HyContentList: any;
|
|
16
|
+
export declare const HyContentListItem: any;
|
|
17
|
+
export declare const HyCrisisBanner: any;
|
|
18
|
+
export declare const HyCtaButton: any;
|
|
19
|
+
export declare const HyCtaLink: any;
|
|
20
|
+
export declare const HyDocsContainer: any;
|
|
21
|
+
export declare const HyDropdown: any;
|
|
22
|
+
export declare const HyDropdownPanel: any;
|
|
23
|
+
export declare const HyDropdownPanelItem: any;
|
|
24
|
+
export declare const HyEventItem: any;
|
|
25
|
+
export declare const HyEvents: any;
|
|
26
|
+
export declare const HyFilterGroup: any;
|
|
27
|
+
export declare const HyFilterGroupItem: any;
|
|
28
|
+
export declare const HyFilterListType: any;
|
|
29
|
+
export declare const HyFilterVisibilityTool: any;
|
|
30
|
+
export declare const HyFilterVisibilityToolReset: any;
|
|
31
|
+
export declare const HyFilterVisibilityToolToggle: any;
|
|
32
|
+
export declare const HyFooter: any;
|
|
33
|
+
export declare const HyFooterAction: any;
|
|
34
|
+
export declare const HyFooterBase: any;
|
|
35
|
+
export declare const HyFooterInfo: any;
|
|
36
|
+
export declare const HyFooterLinkItem: any;
|
|
37
|
+
export declare const HyGeneralList: any;
|
|
38
|
+
export declare const HyGeneralListItem: any;
|
|
39
|
+
export declare const HyGridContainer: any;
|
|
40
|
+
export declare const HyGridItem: any;
|
|
41
|
+
export declare const HyGridRow: any;
|
|
42
|
+
export declare const HyHeading: any;
|
|
43
|
+
export declare const HyHero: any;
|
|
44
|
+
export declare const HyHeroCarousel: any;
|
|
45
|
+
export declare const HyIcon: any;
|
|
46
|
+
export declare const HyImage: any;
|
|
47
|
+
export declare const HyIngress: any;
|
|
48
|
+
export declare const HyIntroduction: any;
|
|
49
|
+
export declare const HyKeyFigure: any;
|
|
50
|
+
export declare const HyKeyFigureGroup: any;
|
|
51
|
+
export declare const HyKeyHighlight: any;
|
|
52
|
+
export declare const HyKeyHighlightGroup: any;
|
|
53
|
+
export declare const HyLargeProcessFlow: any;
|
|
54
|
+
export declare const HyLargeProcessFlowPhase: any;
|
|
55
|
+
export declare const HyLink: any;
|
|
56
|
+
export declare const HyLinkBox: any;
|
|
57
|
+
export declare const HyLinkBoxList: any;
|
|
58
|
+
export declare const HyLinkList: any;
|
|
59
|
+
export declare const HyListItem: any;
|
|
60
|
+
export declare const HyLogoGrid: any;
|
|
61
|
+
export declare const HyLogoGridItem: any;
|
|
62
|
+
export declare const HyMain: any;
|
|
63
|
+
export declare const HyMainContentWrapper: any;
|
|
64
|
+
export declare const HyMenuLanguage: any;
|
|
65
|
+
export declare const HyMenuLanguageItem: any;
|
|
66
|
+
export declare const HyMenuMainGroup: any;
|
|
67
|
+
export declare const HyOpeningHours: any;
|
|
68
|
+
export declare const HyOpeningHoursContent: any;
|
|
69
|
+
export declare const HyPager: any;
|
|
70
|
+
export declare const HyPagerItem: any;
|
|
71
|
+
export declare const HyParagraphText: any;
|
|
72
|
+
export declare const HyPersonCard: any;
|
|
73
|
+
export declare const HyPersonProfile: any;
|
|
74
|
+
export declare const HyPersonProfileListing: any;
|
|
75
|
+
export declare const HyProcess: any;
|
|
76
|
+
export declare const HyProcessFlowBox: any;
|
|
77
|
+
export declare const HyProminentImage: any;
|
|
78
|
+
export declare const HyQuote: any;
|
|
79
|
+
export declare const HyRow: any;
|
|
80
|
+
export declare const HySearchField: any;
|
|
81
|
+
export declare const HySectionContainer: any;
|
|
82
|
+
export declare const HyShortcuts: any;
|
|
83
|
+
export declare const HySiteHeader: any;
|
|
84
|
+
export declare const HySiteLogo: any;
|
|
85
|
+
export declare const HySiteSearch: any;
|
|
86
|
+
export declare const HyTableContainer: any;
|
|
87
|
+
export declare const HyTabs: any;
|
|
88
|
+
export declare const HyTabsItem: any;
|
|
89
|
+
export declare const HyTag: any;
|
|
90
|
+
export declare const HyTinyText: any;
|
|
91
|
+
export declare const HyTwitterFeed: any;
|
|
92
|
+
export declare const HyTwoColumns: any;
|
|
93
|
+
export declare const HyUserLoginForm: any;
|
|
94
|
+
export declare const HyVideo: any;
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
import React from
|
|
1
|
+
import React from "react";
|
|
2
2
|
export interface HTMLStencilElement extends HTMLElement {
|
|
3
|
-
|
|
3
|
+
componentOnReady(): Promise<this>;
|
|
4
4
|
}
|
|
5
5
|
interface StencilReactInternalProps<ElementType> extends React.HTMLAttributes<ElementType> {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
forwardedRef: React.RefObject<ElementType>;
|
|
7
|
+
ref?: React.Ref<any>;
|
|
8
8
|
}
|
|
9
|
-
export declare const createReactComponent: <
|
|
9
|
+
export declare const createReactComponent: <
|
|
10
|
+
PropType,
|
|
11
|
+
ElementType extends HTMLStencilElement,
|
|
12
|
+
ContextStateType = {},
|
|
13
|
+
ExpandedPropsTypes = {}
|
|
14
|
+
>(
|
|
15
|
+
tagName: string,
|
|
16
|
+
ReactComponentContext?: React.Context<ContextStateType>,
|
|
17
|
+
manipulatePropsFunction?: (
|
|
18
|
+
originalProps: StencilReactInternalProps<ElementType>,
|
|
19
|
+
propsToPass: any
|
|
20
|
+
) => ExpandedPropsTypes,
|
|
21
|
+
defineCustomElement?: () => void
|
|
22
|
+
) => any;
|
|
10
23
|
export {};
|
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import {
|
|
3
|
-
import { StencilReactForwardedRef } from './utils';
|
|
1
|
+
import React from "react";
|
|
2
|
+
import {OverlayEventDetail} from "./interfaces";
|
|
4
3
|
interface OverlayElement extends HTMLElement {
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
present: () => Promise<void>;
|
|
5
|
+
dismiss: (data?: any, role?: string | undefined) => Promise<boolean>;
|
|
7
6
|
}
|
|
8
7
|
export interface ReactOverlayProps {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
isOpen: boolean;
|
|
10
|
+
onDidDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
11
|
+
onDidPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
12
|
+
onWillDismiss?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
13
|
+
onWillPresent?: (event: CustomEvent<OverlayEventDetail>) => void;
|
|
15
14
|
}
|
|
16
|
-
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(
|
|
15
|
+
export declare const createOverlayComponent: <OverlayComponent extends object, OverlayType extends OverlayElement>(
|
|
16
|
+
tagName: string,
|
|
17
|
+
controller: {
|
|
17
18
|
create: (options: any) => Promise<OverlayType>;
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
},
|
|
20
|
+
customElement?: any
|
|
21
|
+
) => any;
|
|
21
22
|
export {};
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import type {
|
|
3
|
-
export type StencilReactExternalProps<PropType, ElementType> = PropType &
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type {StyleReactProps} from "../interfaces";
|
|
3
|
+
export type StencilReactExternalProps<PropType, ElementType> = PropType &
|
|
4
|
+
Omit<React.HTMLAttributes<ElementType>, "style"> &
|
|
5
|
+
StyleReactProps;
|
|
4
6
|
export type StencilReactForwardedRef<T> = ((instance: T | null) => void) | React.MutableRefObject<T | null> | null;
|
|
5
7
|
export declare const setRef: (ref: StencilReactForwardedRef<any> | React.Ref<any> | undefined, value: any) => void;
|
|
6
|
-
export declare const mergeRefs: (
|
|
7
|
-
|
|
8
|
+
export declare const mergeRefs: (
|
|
9
|
+
...refs: (StencilReactForwardedRef<any> | React.Ref<any> | undefined)[]
|
|
10
|
+
) => React.RefCallback<any>;
|
|
11
|
+
export declare const createForwardRef: <PropType, ElementType>(ReactComponent: any, displayName: string) => any;
|
|
8
12
|
export declare const defineCustomElement: (tagName: string, customElement: any) => void;
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
13
|
+
export * from "./attachProps";
|
|
14
|
+
export * from "./case";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcenteratunihelsinki/huds-lib-react",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.58",
|
|
4
4
|
"description": "HUDS React wrapper",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"huds"
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"url": "git@version.helsinki.fi:julkiset-sivut/design-system-lib.git"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@itcenteratunihelsinki/huds-lib": "^0.8.
|
|
25
|
+
"@itcenteratunihelsinki/huds-lib": "^0.8.58",
|
|
26
26
|
"tslib": "*"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"build": "npm run tsc",
|
|
44
44
|
"tsc": "tsc"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "80445c4a50d1a88f1a4fb3cc98af0e5614f540d5"
|
|
47
47
|
}
|