@nulogy/components 14.6.1 → 14.6.2
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/main.js +7 -4
- package/dist/main.module.js +7 -4
- package/dist/src/Icon/Icon.d.ts +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -9813,7 +9813,8 @@
|
|
|
9813
9813
|
componentId: "sc-150w9kl-1"
|
|
9814
9814
|
})({
|
|
9815
9815
|
position: "absolute",
|
|
9816
|
-
|
|
9816
|
+
inset: 0,
|
|
9817
|
+
margin: "auto"
|
|
9817
9818
|
});
|
|
9818
9819
|
var IconContainer = styled__default["default"].span.withConfig({
|
|
9819
9820
|
displayName: "Icon__IconContainer",
|
|
@@ -9825,11 +9826,13 @@
|
|
|
9825
9826
|
height: "1em",
|
|
9826
9827
|
width: ICON_SIZE_RATIO + "em"
|
|
9827
9828
|
});
|
|
9828
|
-
|
|
9829
|
-
return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({
|
|
9829
|
+
var InlineIcon = /*#__PURE__*/React__default["default"].forwardRef(function (props, ref) {
|
|
9830
|
+
return /*#__PURE__*/React__default["default"].createElement(IconContainer, Object.assign({
|
|
9831
|
+
ref: ref
|
|
9832
|
+
}, props), /*#__PURE__*/React__default["default"].createElement(CenteredIcon, Object.assign({
|
|
9830
9833
|
size: ICON_SIZE_RATIO + "em"
|
|
9831
9834
|
}, props)));
|
|
9832
|
-
}
|
|
9835
|
+
});
|
|
9833
9836
|
var InputIcon = styled__default["default"](Icon).withConfig({
|
|
9834
9837
|
displayName: "Icon__InputIcon",
|
|
9835
9838
|
componentId: "sc-150w9kl-3"
|
package/dist/main.module.js
CHANGED
|
@@ -9796,7 +9796,8 @@ var CenteredIcon = styled(Svg$1).withConfig({
|
|
|
9796
9796
|
componentId: "sc-150w9kl-1"
|
|
9797
9797
|
})({
|
|
9798
9798
|
position: "absolute",
|
|
9799
|
-
|
|
9799
|
+
inset: 0,
|
|
9800
|
+
margin: "auto"
|
|
9800
9801
|
});
|
|
9801
9802
|
var IconContainer = styled.span.withConfig({
|
|
9802
9803
|
displayName: "Icon__IconContainer",
|
|
@@ -9808,11 +9809,13 @@ var IconContainer = styled.span.withConfig({
|
|
|
9808
9809
|
height: "1em",
|
|
9809
9810
|
width: ICON_SIZE_RATIO + "em"
|
|
9810
9811
|
});
|
|
9811
|
-
|
|
9812
|
-
return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({
|
|
9812
|
+
var InlineIcon = /*#__PURE__*/React__default.forwardRef(function (props, ref) {
|
|
9813
|
+
return /*#__PURE__*/React__default.createElement(IconContainer, Object.assign({
|
|
9814
|
+
ref: ref
|
|
9815
|
+
}, props), /*#__PURE__*/React__default.createElement(CenteredIcon, Object.assign({
|
|
9813
9816
|
size: ICON_SIZE_RATIO + "em"
|
|
9814
9817
|
}, props)));
|
|
9815
|
-
}
|
|
9818
|
+
});
|
|
9816
9819
|
var InputIcon = styled(Icon).withConfig({
|
|
9817
9820
|
displayName: "Icon__InputIcon",
|
|
9818
9821
|
componentId: "sc-150w9kl-3"
|
package/dist/src/Icon/Icon.d.ts
CHANGED
|
@@ -11,6 +11,6 @@ export interface IconProps extends SpaceProps {
|
|
|
11
11
|
style?: React.CSSProperties;
|
|
12
12
|
}
|
|
13
13
|
declare const Icon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<IconProps & React.RefAttributes<SVGSVGElement>, IconProps>> & string & Omit<React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>, keyof React.Component<any, {}, any>>;
|
|
14
|
-
export declare
|
|
14
|
+
export declare const InlineIcon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<HTMLSpanElement>>;
|
|
15
15
|
export declare const InputIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("styled-components").FastOmit<IconProps & React.RefAttributes<SVGSVGElement>, keyof IconProps> & IconProps, PositionProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>>>> & string;
|
|
16
16
|
export default Icon;
|