@ukic/react 2.1.0-beta.2 → 2.1.0-beta.3
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/components.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const IcButton: import("react").ForwardRefExoticComponent<JSX.IcB
|
|
|
8
8
|
export declare const IcCard: import("react").ForwardRefExoticComponent<JSX.IcCard & Omit<import("react").HTMLAttributes<HTMLIcCardElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcCardElement>>;
|
|
9
9
|
export declare const IcCheckbox: import("react").ForwardRefExoticComponent<JSX.IcCheckbox & Omit<import("react").HTMLAttributes<HTMLIcCheckboxElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcCheckboxElement>>;
|
|
10
10
|
export declare const IcCheckboxGroup: import("react").ForwardRefExoticComponent<JSX.IcCheckboxGroup & Omit<import("react").HTMLAttributes<HTMLIcCheckboxGroupElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcCheckboxGroupElement>>;
|
|
11
|
+
export declare const IcChip: import("react").ForwardRefExoticComponent<JSX.IcChip & Omit<import("react").HTMLAttributes<HTMLIcChipElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcChipElement>>;
|
|
11
12
|
export declare const IcClassificationBanner: import("react").ForwardRefExoticComponent<JSX.IcClassificationBanner & Omit<import("react").HTMLAttributes<HTMLIcClassificationBannerElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcClassificationBannerElement>>;
|
|
12
13
|
export declare const IcDataEntity: import("react").ForwardRefExoticComponent<JSX.IcDataEntity & Omit<import("react").HTMLAttributes<HTMLIcDataEntityElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcDataEntityElement>>;
|
|
13
14
|
export declare const IcDataRow: import("react").ForwardRefExoticComponent<JSX.IcDataRow & Omit<import("react").HTMLAttributes<HTMLIcDataRowElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLIcDataRowElement>>;
|
package/dist/components.js
CHANGED
|
@@ -12,6 +12,7 @@ export const IcButton = /*@__PURE__*/ createReactComponent('ic-button');
|
|
|
12
12
|
export const IcCard = /*@__PURE__*/ createReactComponent('ic-card');
|
|
13
13
|
export const IcCheckbox = /*@__PURE__*/ createReactComponent('ic-checkbox');
|
|
14
14
|
export const IcCheckboxGroup = /*@__PURE__*/ createReactComponent('ic-checkbox-group');
|
|
15
|
+
export const IcChip = /*@__PURE__*/ createReactComponent('ic-chip');
|
|
15
16
|
export const IcClassificationBanner = /*@__PURE__*/ createReactComponent('ic-classification-banner');
|
|
16
17
|
export const IcDataEntity = /*@__PURE__*/ createReactComponent('ic-data-entity');
|
|
17
18
|
export const IcDataRow = /*@__PURE__*/ createReactComponent('ic-data-row');
|
package/dist/index.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export { SlottedSVG } from "./react-component-lib/slottedSVG";
|
package/dist/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./components";
|
|
2
|
+
export { SlottedSVG } from "./react-component-lib/slottedSVG";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
const defaultProps = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
};
|
|
5
|
+
function slot(name = "") {
|
|
6
|
+
return { ref: (e) => (e ? e.setAttribute("slot", name) : null) };
|
|
7
|
+
}
|
|
8
|
+
export const SlottedSVG = ({ props, path, slot: slotName }) => (React.createElement("svg", Object.assign({}, slot(slotName), props, defaultProps),
|
|
9
|
+
React.createElement("path", { d: path })));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ukic/react",
|
|
3
3
|
"sideEffects": false,
|
|
4
|
-
"version": "2.1.0-beta.
|
|
4
|
+
"version": "2.1.0-beta.3",
|
|
5
5
|
"description": "React-wrapped web components compiled using StencilJS",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "npm run clean && npm run compile && npm run copy:css",
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dist/"
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@ukic/fonts": "^2.1.0-beta.
|
|
25
|
-
"@ukic/web-components": "^2.1.0-beta.
|
|
24
|
+
"@ukic/fonts": "^2.1.0-beta.3",
|
|
25
|
+
"@ukic/web-components": "^2.1.0-beta.3"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@babel/core": "^7.16.0",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"dist"
|
|
64
64
|
]
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "686f9e439d6d7a8b9ab5e7abb7c31ddfc4825e5d"
|
|
67
67
|
}
|