@inera/ids-react 1.4.0 → 1.7.0
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.d.ts +5 -0
- package/api.js +5 -0
- package/components/breadcrumbs/breacrumbs.d.ts +10 -0
- package/components/breadcrumbs/breacrumbs.js +10 -0
- package/components/date-label/date-label.d.ts +6 -0
- package/components/date-label/date-label.js +8 -0
- package/components/form/checkbox/checkbox.js +2 -2
- package/components/list/item/info/list-item-info.d.ts +6 -0
- package/components/list/item/info/list-item-info.js +8 -0
- package/components/list/item/list-item.d.ts +6 -0
- package/components/list/item/list-item.js +8 -0
- package/components/list/list.d.ts +6 -0
- package/components/list/list.js +8 -0
- package/package.json +3 -3
package/api.d.ts
CHANGED
|
@@ -31,3 +31,8 @@ export * from "./components/link/link";
|
|
|
31
31
|
export * from "./components/footer/footer";
|
|
32
32
|
export * from "./components/notification/badge/notification-badge";
|
|
33
33
|
export * from "./components/tabs/tabs";
|
|
34
|
+
export * from "./components/list/list";
|
|
35
|
+
export * from "./components/list/item/list-item";
|
|
36
|
+
export * from "./components/list/item/info/list-item-info";
|
|
37
|
+
export * from "./components/date-label/date-label";
|
|
38
|
+
export * from "./components/breadcrumbs/breacrumbs";
|
package/api.js
CHANGED
|
@@ -31,3 +31,8 @@ export { IDSLink } from './components/link/link.js';
|
|
|
31
31
|
export { IDSFooter } from './components/footer/footer.js';
|
|
32
32
|
export { IDSNotificationBadge } from './components/notification/badge/notification-badge.js';
|
|
33
33
|
export { IDSTab, IDSTabPanel, IDSTabs } from './components/tabs/tabs.js';
|
|
34
|
+
export { IDSList } from './components/list/list.js';
|
|
35
|
+
export { IDSListItem } from './components/list/item/list-item.js';
|
|
36
|
+
export { IDSListItemInfo } from './components/list/item/info/list-item-info.js';
|
|
37
|
+
export { IDSDateLabel } from './components/date-label/date-label.js';
|
|
38
|
+
export { IDSBreadcrumbs, IDSCrumb } from './components/breadcrumbs/breacrumbs.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/breadcrumbs/register';
|
|
3
|
+
import { IDSBreadcrumbs as IDSBreadcrumbsWC } from '@inera/ids-core/components/breadcrumbs/breadcrumbs-element';
|
|
4
|
+
import { IDSCrumb as IDSCrumbsWC } from '@inera/ids-core/components/breadcrumbs/crumb/crumb-element';
|
|
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>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/breadcrumbs/register';
|
|
3
|
+
import { IDSBreadcrumbs as IDSBreadcrumbs$1 } from '@inera/ids-core/components/breadcrumbs/breadcrumbs-element';
|
|
4
|
+
import { IDSCrumb as IDSCrumb$1 } from '@inera/ids-core/components/breadcrumbs/crumb/crumb-element';
|
|
5
|
+
import { createComponent } from '@lit-labs/react';
|
|
6
|
+
|
|
7
|
+
var IDSBreadcrumbs = createComponent(React, 'ids-breadcrumbs', IDSBreadcrumbs$1);
|
|
8
|
+
var IDSCrumb = createComponent(React, 'ids-crumb', IDSCrumb$1);
|
|
9
|
+
|
|
10
|
+
export { IDSBreadcrumbs, IDSCrumb };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/date-label/register';
|
|
3
|
+
import { IDSDateLabel as IDSComponent } from '@inera/ids-core/components/date-label/date-label-element';
|
|
4
|
+
export declare const IDSDateLabel: React.ForwardRefExoticComponent<Partial<Omit<IDSComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/date-label/register';
|
|
3
|
+
import { IDSDateLabel as IDSDateLabel$1 } from '@inera/ids-core/components/date-label/date-label-element';
|
|
4
|
+
import { createComponent } from '@lit-labs/react';
|
|
5
|
+
|
|
6
|
+
var IDSDateLabel = createComponent(React, 'ids-date-label', IDSDateLabel$1);
|
|
7
|
+
|
|
8
|
+
export { IDSDateLabel };
|
|
@@ -6,8 +6,8 @@ import { IDSCheckbox as IDSCheckbox$1 } from '@inera/ids-core/components/form/ch
|
|
|
6
6
|
|
|
7
7
|
var IDSCheckboxWebComponent = createComponent(React, 'ids-checkbox', IDSCheckbox$1);
|
|
8
8
|
var IDSCheckbox = function (props) {
|
|
9
|
-
var label = props.label, inputTypeCheckboxProps = __rest(props, ["label"]);
|
|
10
|
-
return (React.createElement(IDSCheckboxWebComponent,
|
|
9
|
+
var label = props.label, valid = props.valid, inputTypeCheckboxProps = __rest(props, ["label", "valid"]);
|
|
10
|
+
return (React.createElement(IDSCheckboxWebComponent, { valid: valid },
|
|
11
11
|
React.createElement("input", __assign({ type: "checkbox" }, inputTypeCheckboxProps)),
|
|
12
12
|
React.createElement("label", null, label)));
|
|
13
13
|
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSListItemInfo as IDSListItemComponent } from '@inera/ids-core/components/list/item/info/list-item-info-element';
|
|
4
|
+
export declare const IDSListItemInfo: React.ForwardRefExoticComponent<Partial<Omit<IDSListItemComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSListItemInfo as IDSListItemInfo$1 } from '@inera/ids-core/components/list/item/info/list-item-info-element';
|
|
4
|
+
import { createComponent } from '@lit-labs/react';
|
|
5
|
+
|
|
6
|
+
var IDSListItemInfo = createComponent(React, 'ids-list-item-info', IDSListItemInfo$1);
|
|
7
|
+
|
|
8
|
+
export { IDSListItemInfo };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSListItem as IDSListItemComponent } from '@inera/ids-core/components/list/item/list-item-element';
|
|
4
|
+
export declare const IDSListItem: React.ForwardRefExoticComponent<Partial<Omit<IDSListItemComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSListItem as IDSListItem$1 } from '@inera/ids-core/components/list/item/list-item-element';
|
|
4
|
+
import { createComponent } from '@lit-labs/react';
|
|
5
|
+
|
|
6
|
+
var IDSListItem = createComponent(React, 'ids-list-item', IDSListItem$1);
|
|
7
|
+
|
|
8
|
+
export { IDSListItem };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSList as IDSListComponent } from '@inera/ids-core/components/list/list-element';
|
|
4
|
+
export declare const IDSList: React.ForwardRefExoticComponent<Partial<Omit<IDSListComponent, "children">> & {} & React.HTMLAttributes<HTMLElement> & {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
} & React.RefAttributes<unknown>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/list/register';
|
|
3
|
+
import { IDSList as IDSList$1 } from '@inera/ids-core/components/list/list-element';
|
|
4
|
+
import { createComponent } from '@lit-labs/react';
|
|
5
|
+
|
|
6
|
+
var IDSList = createComponent(React, 'ids-list', IDSList$1);
|
|
7
|
+
|
|
8
|
+
export { IDSList };
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inera/ids-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"react": "
|
|
5
|
+
"react": "*"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@inera/ids-core": "1.
|
|
8
|
+
"@inera/ids-core": "1.7.x",
|
|
9
9
|
"@lit-labs/react": "^1.0.2"
|
|
10
10
|
},
|
|
11
11
|
"main": "api.js",
|