@inera/ids-react 2.1.0 → 2.3.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 +2 -0
- package/api.js +2 -0
- package/components/carousel/carousel.d.ts +3 -0
- package/components/carousel/carousel.js +10 -0
- package/components/tag/tag.d.ts +2 -0
- package/components/tag/tag.js +16 -0
- package/package.json +2 -2
package/api.d.ts
CHANGED
|
@@ -44,3 +44,5 @@ export * from "./components/progressbar/progressbar";
|
|
|
44
44
|
export * from "./components/badge/badge";
|
|
45
45
|
export * from "./components/tooltip/tooltip";
|
|
46
46
|
export * from "./components/navigation/content/navigation-content";
|
|
47
|
+
export * from "./components/carousel/carousel";
|
|
48
|
+
export * from "./components/tag/tag";
|
package/api.js
CHANGED
|
@@ -44,3 +44,5 @@ export { IDSProgressbar } from './components/progressbar/progressbar.js';
|
|
|
44
44
|
export { IDSBadge } from './components/badge/badge.js';
|
|
45
45
|
export { IDSTooltip } from './components/tooltip/tooltip.js';
|
|
46
46
|
export { IDSNavigationContent } from './components/navigation/content/navigation-content.js';
|
|
47
|
+
export { IDSCarousel, IDSCarouselItem } from './components/carousel/carousel.js';
|
|
48
|
+
export { IDSTag } from './components/tag/tag.js';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/carousel/register';
|
|
3
|
+
import { IDSCarousel as IDSCarousel$1 } from '@inera/ids-core/components/carousel/carousel-element';
|
|
4
|
+
import { IDSCarouselItem as IDSCarouselItem$1 } from '@inera/ids-core/components/carousel/carousel-item/carousel-item-element';
|
|
5
|
+
import { createComponent } from '@lit-labs/react';
|
|
6
|
+
|
|
7
|
+
var IDSCarousel = createComponent(React, 'ids-carousel', IDSCarousel$1);
|
|
8
|
+
var IDSCarouselItem = createComponent(React, 'ids-carousel-item', IDSCarouselItem$1);
|
|
9
|
+
|
|
10
|
+
export { IDSCarousel, IDSCarouselItem };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import '@inera/ids-core/components/tag/register';
|
|
3
|
+
import { IDSTag as IDSTag$1 } from '@inera/ids-core/components/tag/tag-element';
|
|
4
|
+
import { createComponent } from '@lit-labs/react';
|
|
5
|
+
|
|
6
|
+
var IDSTag = createComponent({
|
|
7
|
+
tagName: 'ids-tag',
|
|
8
|
+
elementClass: IDSTag$1,
|
|
9
|
+
react: React,
|
|
10
|
+
events: {
|
|
11
|
+
onclosed: 'closed',
|
|
12
|
+
onclicked: 'clicked',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
export { IDSTag };
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inera/ids-react",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "*"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@inera/ids-core": "2.
|
|
8
|
+
"@inera/ids-core": "2.3.x",
|
|
9
9
|
"@lit-labs/react": "^1.0.2"
|
|
10
10
|
},
|
|
11
11
|
"main": "api.js",
|