@inera/ids-react 1.8.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.js +6 -6
- package/components/alert/alert.d.ts +2 -8
- package/components/alert-global/alert-global.d.ts +2 -8
- package/components/breadcrumbs/breacrumbs.d.ts +2 -9
- package/components/button/button-group.d.ts +2 -6
- package/components/button/button.d.ts +2 -6
- package/components/card/card.d.ts +1 -5
- package/components/date-label/date-label.d.ts +1 -5
- package/components/dialog/dialog.d.ts +2 -9
- package/components/footer/footer.d.ts +1 -5
- package/components/form/checkbox/checkbox-array.d.ts +1 -2
- package/components/form/checkbox/checkbox-group.d.ts +2 -6
- package/components/form/checkbox/checkbox.d.ts +2 -6
- package/components/form/errormessage/error-message.d.ts +1 -5
- package/components/form/input/input.d.ts +1 -9
- package/components/form/input/input.js +3 -34
- package/components/form/radio/radio-group.d.ts +1 -2
- package/components/form/radio/radio.d.ts +2 -6
- package/components/form/range/range.d.ts +1 -6
- package/components/form/range/range.js +2 -9
- package/components/form/select/select.d.ts +1 -6
- package/components/form/select/select.js +2 -9
- package/components/form/selectmultiple/select-multiple.d.ts +1 -6
- package/components/form/selectmultiple/select-multiple.js +2 -9
- package/components/form/spinner/spinner.d.ts +2 -6
- package/components/form/textarea/textarea.d.ts +1 -6
- package/components/form/textarea/textarea.js +2 -11
- package/components/form/time/time.d.ts +1 -6
- package/components/form/time/time.js +2 -11
- package/components/header/avatar/header-avatar.d.ts +1 -5
- package/components/header/header.d.ts +1 -5
- package/components/header/item/header-item.d.ts +1 -5
- package/components/header/mobile-menu/header-mobile-menu.d.ts +1 -5
- package/components/header/navigation/item/nav-item.d.ts +1 -5
- package/components/header/navigation/mobile-item/nav-mobile-item.d.ts +1 -5
- package/components/header/navigation/navigation.d.ts +1 -5
- package/components/icon/icon.d.ts +1 -5
- package/components/layout/grid.d.ts +3 -13
- package/components/link/link.d.ts +1 -5
- package/components/list/item/info/list-item-info.d.ts +1 -5
- package/components/list/item/list-item.d.ts +1 -5
- package/components/list/list.d.ts +1 -5
- package/components/mobile/menu/avatar/mobile-avatar.d.ts +1 -5
- package/components/mobile/menu/item/mobile-item.d.ts +1 -7
- package/components/mobile/menu/mobile-menu.d.ts +1 -5
- package/components/notification/badge/notification-badge.d.ts +1 -5
- package/components/tabs/tabs.d.ts +3 -13
- package/package.json +2 -2
package/api.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
export { IDSCheckbox, IDSCheckboxWebComponent } from './components/form/checkbox/checkbox.js';
|
|
2
2
|
export { IDSCheckboxGroup, IDSCheckboxGroupWebComponent } from './components/form/checkbox/checkbox-group.js';
|
|
3
3
|
export { IDSCheckboxArray } from './components/form/checkbox/checkbox-array.js';
|
|
4
|
-
export {
|
|
4
|
+
export { IDSInput } from './components/form/input/input.js';
|
|
5
5
|
export { IDSRadio, IDSRadioWebComponent } from './components/form/radio/radio.js';
|
|
6
6
|
export { IDSRadioGroup } from './components/form/radio/radio-group.js';
|
|
7
|
-
export { IDSTextarea
|
|
8
|
-
export { IDSRange
|
|
9
|
-
export { IDSSelect
|
|
10
|
-
export { IDSSelectMultiple
|
|
7
|
+
export { IDSTextarea } from './components/form/textarea/textarea.js';
|
|
8
|
+
export { IDSRange } from './components/form/range/range.js';
|
|
9
|
+
export { IDSSelect } from './components/form/select/select.js';
|
|
10
|
+
export { IDSSelectMultiple } from './components/form/selectmultiple/select-multiple.js';
|
|
11
11
|
export { IDSErrorMessage } from './components/form/errormessage/error-message.js';
|
|
12
|
-
export { IDSTime
|
|
12
|
+
export { IDSTime } from './components/form/time/time.js';
|
|
13
13
|
export { IDSSpinner, IDSSpinnerWebComponent } from './components/form/spinner/spinner.js';
|
|
14
14
|
export { IDSIcon } from './components/icon/icon.js';
|
|
15
15
|
export { IDSButton, IDSButtonWebComponent } from './components/button/button.js';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/alert/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
onClosed?: (e: Event) => unknown;
|
|
6
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
} & React.RefAttributes<unknown>>;
|
|
9
|
-
export declare const IDSAlert: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSAlertWebComponent: any;
|
|
3
|
+
export declare const IDSAlert: (props: any) => any;
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/alert-global/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
onDidToggleExpansion?: (e: Event) => unknown;
|
|
6
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
} & React.RefAttributes<unknown>>;
|
|
9
|
-
export declare const IDSAlertGlobal: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSAlertGlobalWebComponent: any;
|
|
3
|
+
export declare const IDSAlertGlobal: (props: any) => any;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/breadcrumbs/register';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const IDSBreadcrumbs: React.ForwardRefExoticComponent<Partial<Omit<IDSBreadcrumbsWC, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
} & React.RefAttributes<unknown>>;
|
|
8
|
-
export declare const IDSCrumb: React.ForwardRefExoticComponent<Partial<Omit<IDSCrumbsWC, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSBreadcrumbs: any;
|
|
3
|
+
export declare const IDSCrumb: any;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/button-group/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSButtonGroup: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSButtonGroupWebComponent: any;
|
|
3
|
+
export declare const IDSButtonGroup: (props: any) => any;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/button/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSButton: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSButtonWebComponent: any;
|
|
3
|
+
export declare const IDSButton: (props: any) => any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/card/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSCard: React.ForwardRefExoticComponent<Partial<Omit<IDSCardComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSCard: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/date-label/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSDateLabel: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSDateLabel: any;
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/dialog/register';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const IDSDialog: React.ForwardRefExoticComponent<Partial<Omit<IDSDialogComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
} & React.RefAttributes<unknown>>;
|
|
8
|
-
export declare const IDSDialogActions: React.ForwardRefExoticComponent<Partial<Omit<IDSDialogActionsComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSDialog: any;
|
|
3
|
+
export declare const IDSDialogActions: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/footer/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSFooter: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSFooter: any;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const IDSCheckboxArray: (props: any) => JSX.Element;
|
|
1
|
+
export declare const IDSCheckboxArray: (props: any) => any;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/checkbox-group/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSCheckboxGroup: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSCheckboxGroupWebComponent: any;
|
|
3
|
+
export declare const IDSCheckboxGroup: (props: any) => any;
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/checkbox/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSCheckbox: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSCheckboxWebComponent: any;
|
|
3
|
+
export declare const IDSCheckbox: (props: any) => any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/error-message/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSErrorMessage: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSErrorMessage: any;
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/input/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSInputWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSInputText: (props: any) => JSX.Element;
|
|
8
|
-
export declare const IDSInputSearch: (props: any) => JSX.Element;
|
|
9
|
-
export declare const IDSInputEmail: (props: any) => JSX.Element;
|
|
10
|
-
export declare const IDSInputPassword: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSInput: any;
|
|
@@ -1,39 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/input/register';
|
|
5
|
-
import { IDSInput } from '@inera/ids-core/components/form/input/input-element';
|
|
6
|
-
import { IDSErrorMessage } from '../errormessage/error-message.js';
|
|
4
|
+
import { IDSInput as IDSInput$1 } from '@inera/ids-core/components/form/input/input-element';
|
|
7
5
|
|
|
8
|
-
var
|
|
9
|
-
var IDSInputText = function (props) {
|
|
10
|
-
var label = props.label, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, autoFocus = props.autoFocus, inputProps = __rest(props, ["label", "errorMessage", "autoFocus"]);
|
|
11
|
-
return (React.createElement(IDSInputWebComponent, { autoFocus: autoFocus },
|
|
12
|
-
React.createElement("label", null, label),
|
|
13
|
-
React.createElement("input", __assign({ type: "text" }, inputProps)),
|
|
14
|
-
errorMessage ? React.createElement(IDSErrorMessage, null, errorMessage) : null));
|
|
15
|
-
};
|
|
16
|
-
var IDSInputSearch = function (props) {
|
|
17
|
-
var label = props.label, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, autoFocus = props.autoFocus, _b = props.button, button = _b === void 0 ? null : _b, inputProps = __rest(props, ["label", "errorMessage", "autoFocus", "button"]);
|
|
18
|
-
return (React.createElement(IDSInputWebComponent, { autoFocus: autoFocus },
|
|
19
|
-
React.createElement("label", null, label),
|
|
20
|
-
React.createElement("input", __assign({ type: "search" }, inputProps)),
|
|
21
|
-
button,
|
|
22
|
-
errorMessage ? React.createElement(IDSErrorMessage, null, errorMessage) : null));
|
|
23
|
-
};
|
|
24
|
-
var IDSInputEmail = function (props) {
|
|
25
|
-
var label = props.label, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, autoFocus = props.autoFocus, inputProps = __rest(props, ["label", "errorMessage", "autoFocus"]);
|
|
26
|
-
return (React.createElement(IDSInputWebComponent, { autoFocus: autoFocus },
|
|
27
|
-
React.createElement("label", null, label),
|
|
28
|
-
React.createElement("input", __assign({ type: "email" }, inputProps)),
|
|
29
|
-
errorMessage ? React.createElement(IDSErrorMessage, null, errorMessage) : null));
|
|
30
|
-
};
|
|
31
|
-
var IDSInputPassword = function (props) {
|
|
32
|
-
var label = props.label, autoFocus = props.autoFocus, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, inputProps = __rest(props, ["label", "autoFocus", "errorMessage"]);
|
|
33
|
-
return (React.createElement(IDSInputWebComponent, { autoFocus: autoFocus },
|
|
34
|
-
React.createElement("label", null, label),
|
|
35
|
-
React.createElement("input", __assign({ type: "password" }, inputProps)),
|
|
36
|
-
errorMessage ? React.createElement(IDSErrorMessage, null, errorMessage) : null));
|
|
37
|
-
};
|
|
6
|
+
var IDSInput = createComponent(React, 'ids-input', IDSInput$1);
|
|
38
7
|
|
|
39
|
-
export {
|
|
8
|
+
export { IDSInput };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/radio/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSRadio: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSRadioWebComponent: any;
|
|
3
|
+
export declare const IDSRadio: (props: any) => any;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/range/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSRangeWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSRange: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSRange: any;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/range/register';
|
|
5
4
|
import { IDSRange as IDSRange$1 } from '@inera/ids-core/components/form/range/range-element';
|
|
6
5
|
|
|
7
|
-
var
|
|
8
|
-
var IDSRange = function (props) {
|
|
9
|
-
var label = props.label, _a = props.showticks, showticks = _a === void 0 ? true : _a, rangeProps = __rest(props, ["label", "showticks"]);
|
|
10
|
-
return (React.createElement(IDSRangeWebComponent, { showticks: showticks },
|
|
11
|
-
React.createElement("label", null, label),
|
|
12
|
-
React.createElement("input", __assign({ type: "range" }, rangeProps))));
|
|
13
|
-
};
|
|
6
|
+
var IDSRange = createComponent(React, 'ids-range', IDSRange$1);
|
|
14
7
|
|
|
15
|
-
export { IDSRange
|
|
8
|
+
export { IDSRange };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/select/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSSelectWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSSelect: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSSelect: any;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/select/register';
|
|
5
4
|
import { IDSSelect as IDSSelect$1 } from '@inera/ids-core/components/form/select/select-element';
|
|
6
5
|
|
|
7
|
-
var
|
|
8
|
-
var IDSSelect = function (props) {
|
|
9
|
-
var label = props.label, children = props.children, selectProps = __rest(props, ["label", "children"]);
|
|
10
|
-
return (React.createElement(IDSSelectWebComponent, null,
|
|
11
|
-
React.createElement("label", null, label),
|
|
12
|
-
React.createElement("select", __assign({}, selectProps), children)));
|
|
13
|
-
};
|
|
6
|
+
var IDSSelect = createComponent(React, 'ids-select', IDSSelect$1);
|
|
14
7
|
|
|
15
|
-
export { IDSSelect
|
|
8
|
+
export { IDSSelect };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/select-multiple/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSSelectMultipleWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSSelectMultiple: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSSelectMultiple: any;
|
|
@@ -1,15 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/select-multiple/register';
|
|
5
4
|
import { IDSSelectMultiple as IDSSelectMultiple$1 } from '@inera/ids-core/components/form/select-multiple/select-multiple-element';
|
|
6
|
-
import { IDSCheckboxGroupWebComponent } from '../checkbox/checkbox-group.js';
|
|
7
5
|
|
|
8
|
-
var
|
|
9
|
-
var IDSSelectMultiple = function (props) {
|
|
10
|
-
var children = props.children, selectProps = __rest(props, ["children"]);
|
|
11
|
-
return (React.createElement(IDSSelectMultipleWebComponent, __assign({}, selectProps),
|
|
12
|
-
React.createElement(IDSCheckboxGroupWebComponent, null, children)));
|
|
13
|
-
};
|
|
6
|
+
var IDSSelectMultiple = createComponent(React, 'ids-select-multiple', IDSSelectMultiple$1);
|
|
14
7
|
|
|
15
|
-
export { IDSSelectMultiple
|
|
8
|
+
export { IDSSelectMultiple };
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/spinner/register';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSSpinner: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSSpinnerWebComponent: any;
|
|
3
|
+
export declare const IDSSpinner: (props: any) => any;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/textarea/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSTextareaWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSTextarea: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSTextarea: any;
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/textarea/register';
|
|
5
4
|
import { IDSTextarea as IDSTextarea$1 } from '@inera/ids-core/components/form/textarea/textarea-element';
|
|
6
|
-
import { IDSErrorMessage } from '../errormessage/error-message.js';
|
|
7
5
|
|
|
8
|
-
var
|
|
9
|
-
var IDSTextarea = function (props) {
|
|
10
|
-
var label = props.label, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, textareaProps = __rest(props, ["label", "errorMessage"]);
|
|
11
|
-
return (React.createElement(IDSTextareaWebComponent, null,
|
|
12
|
-
errorMessage ? React.createElement(IDSErrorMessage, null, errorMessage) : null,
|
|
13
|
-
React.createElement("label", null, label),
|
|
14
|
-
React.createElement("textarea", __assign({}, textareaProps))));
|
|
15
|
-
};
|
|
6
|
+
var IDSTextarea = createComponent(React, 'ids-textarea', IDSTextarea$1);
|
|
16
7
|
|
|
17
|
-
export { IDSTextarea
|
|
8
|
+
export { IDSTextarea };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/form/time/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSTimeWebComponent: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
7
|
-
export declare const IDSTime: (props: any) => JSX.Element;
|
|
2
|
+
export declare const IDSTime: any;
|
|
@@ -1,17 +1,8 @@
|
|
|
1
|
-
import { __rest, __assign } from 'tslib';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { createComponent } from '@lit-labs/react';
|
|
4
3
|
import '@inera/ids-core/components/form/time/register';
|
|
5
4
|
import { IDSTime as IDSTime$1 } from '@inera/ids-core/components/form/time/time-element';
|
|
6
|
-
import { IDSErrorMessage } from '../errormessage/error-message.js';
|
|
7
5
|
|
|
8
|
-
var
|
|
9
|
-
var IDSTime = function (props) {
|
|
10
|
-
var label = props.label, _a = props.errorMessage, errorMessage = _a === void 0 ? null : _a, timeinputProps = __rest(props, ["label", "errorMessage"]);
|
|
11
|
-
return (React.createElement(IDSTimeWebComponent, null,
|
|
12
|
-
React.createElement("label", null, label),
|
|
13
|
-
React.createElement("input", __assign({ type: "time" }, timeinputProps)),
|
|
14
|
-
React.createElement(IDSErrorMessage, null, errorMessage)));
|
|
15
|
-
};
|
|
6
|
+
var IDSTime = createComponent(React, 'ids-time', IDSTime$1);
|
|
16
7
|
|
|
17
|
-
export { IDSTime
|
|
8
|
+
export { IDSTime };
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSHeaderAvatar as IDSComponent } from '@inera/ids-core/components/header/avatar/header-avatar-element';
|
|
3
|
-
export declare const IDSHeaderAvatar: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSHeaderAvatar: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/header/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSHeader: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSHeader: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/header/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSHeaderItem: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSHeaderItem: any;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSHeaderMobileMenu as IDSComponent } from '@inera/ids-core/components/header/mobile-menu/header-mobile-menu-element';
|
|
3
|
-
export declare const IDSHeaderMobileMenu: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSHeaderMobileMenu: any;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSHeaderNavItem as IDSComponent } from '@inera/ids-core/components/header/navigation/item/navigation-item-element';
|
|
3
|
-
export declare const IDSHeaderNavItem: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSHeaderNavItem: any;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSHeaderMobileItem as IDSComponent } from '@inera/ids-core/components/header/navigation/mobile-item/mobile-item-element';
|
|
3
|
-
export declare const IDSHeaderMobileItem: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSHeaderMobileItem: any;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSHeaderNav as IDSComponent } from '@inera/ids-core/components/header/navigation/navigation-element';
|
|
3
|
-
export declare const IDSHeaderNav: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSHeaderNav: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/icon/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSIcon: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSIcon: any;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/grid/column/register';
|
|
3
2
|
import '@inera/ids-core/components/grid/row/register';
|
|
4
3
|
import '@inera/ids-core/components/grid/container/register';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const IDSRow: React.ForwardRefExoticComponent<Partial<Omit<IDSRowJs, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
} & React.RefAttributes<unknown>>;
|
|
11
|
-
export declare const IDSCol: React.ForwardRefExoticComponent<Partial<Omit<IDSColumnJs, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
12
|
-
children?: React.ReactNode;
|
|
13
|
-
} & React.RefAttributes<unknown>>;
|
|
14
|
-
export declare const IDSContainer: React.ForwardRefExoticComponent<Partial<Omit<IDSContainerJs, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
} & React.RefAttributes<unknown>>;
|
|
4
|
+
export declare const IDSRow: any;
|
|
5
|
+
export declare const IDSCol: any;
|
|
6
|
+
export declare const IDSContainer: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/link/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSLink: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSLink: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/list/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSListItemInfo: React.ForwardRefExoticComponent<Partial<Omit<IDSListItemComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSListItemInfo: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/list/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSListItem: React.ForwardRefExoticComponent<Partial<Omit<IDSListItemComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSListItem: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/list/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSList: React.ForwardRefExoticComponent<Partial<Omit<IDSListComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSList: any;
|
|
@@ -1,5 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSMobileMenuAvatar as IDSComponent } from '@inera/ids-core/components/mobile/menu/avatar/mobile-menu-avatar-element';
|
|
3
|
-
export declare const IDSMobileMenuAvatar: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSMobileMenuAvatar: any;
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { IDSMobileMenuItem as IDSComponent } from '@inera/ids-core/components/mobile/menu/item/mobile-menu-item-element';
|
|
3
|
-
export declare const IDSMobileMenuItem: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {
|
|
4
|
-
onDidToggleExpansion?: (e: Event) => unknown;
|
|
5
|
-
} & React.HTMLAttributes<HTMLElement> & {
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
} & React.RefAttributes<unknown>>;
|
|
1
|
+
export declare const IDSMobileMenuItem: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/mobile/menu/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSMobileMenu: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSMobileMenu: any;
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/notification/badge/register';
|
|
3
|
-
|
|
4
|
-
export declare const IDSNotificationBadge: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSNotificationBadge: any;
|
|
@@ -1,14 +1,4 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import '@inera/ids-core/components/tabs/register';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const IDSTabs: React.ForwardRefExoticComponent<Partial<Omit<TabsComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
} & React.RefAttributes<unknown>>;
|
|
9
|
-
export declare const IDSTab: React.ForwardRefExoticComponent<Partial<Omit<TabComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
} & React.RefAttributes<unknown>>;
|
|
12
|
-
export declare const IDSTabPanel: React.ForwardRefExoticComponent<Partial<Omit<TabPanelComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
13
|
-
children?: React.ReactNode;
|
|
14
|
-
} & React.RefAttributes<unknown>>;
|
|
2
|
+
export declare const IDSTabs: any;
|
|
3
|
+
export declare const IDSTab: any;
|
|
4
|
+
export declare const IDSTabPanel: any;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inera/ids-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.9.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "*"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@inera/ids-core": "1.
|
|
8
|
+
"@inera/ids-core": "1.9.x",
|
|
9
9
|
"@lit-labs/react": "^1.0.2"
|
|
10
10
|
},
|
|
11
11
|
"main": "api.js",
|