@sinco/react 1.1.2-rc.66 → 1.1.2-rc.68

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/index.esm.js CHANGED
@@ -14643,6 +14643,20 @@ const PageHeader = ({
14643
14643
  }, actions))));
14644
14644
  };
14645
14645
 
14646
+ const FontIcons = ({
14647
+ iconName: _iconName = 'sinco-document-check',
14648
+ size: _size = 'medium'
14649
+ }) => {
14650
+ return /*#__PURE__*/React__default.createElement(Stack$1, null, /*#__PURE__*/React__default.createElement("svg", {
14651
+ style: {
14652
+ width: _size === 'small' ? 50 : _size === 'medium' ? 100 : _size === 'large' ? 200 : 50,
14653
+ height: _size === 'small' ? 50 : _size === 'medium' ? 100 : _size === 'large' ? 200 : 50
14654
+ }
14655
+ }, /*#__PURE__*/React__default.createElement("use", {
14656
+ xlinkHref: `../assets/FontIcons.svg#${_iconName}`
14657
+ })));
14658
+ };
14659
+
14646
14660
  var global$6 = global$i;
14647
14661
  var classof$3 = classofRaw$2;
14648
14662
 
@@ -20158,4 +20172,4 @@ const useDynamicColor = url => {
20158
20172
  };
20159
20173
  };
20160
20174
 
20161
- export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FooterAction, PageHeader, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
20175
+ export { AdproSincoTheme, DrawerComponent as Drawer, DrawerComponent, DynamicColor, EmptyState, EmptyStateImageUrls, FontIcons, FooterAction, PageHeader, PageHeaderWraps, SincoTheme, ToastNotification, useDynamicColor };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.1.2-rc.66",
3
+ "version": "1.1.2-rc.68",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -4,5 +4,5 @@ interface IconProps {
4
4
  iconName?: string;
5
5
  size?: Size;
6
6
  }
7
- declare const Icons: React.FC<IconProps>;
8
- export default Icons;
7
+ export declare const FontIcons: React.FC<IconProps>;
8
+ export {};
@@ -3,4 +3,4 @@ export * from "./Drawer";
3
3
  export * from "./FooterAction";
4
4
  export * from "./ToastNotification";
5
5
  export * from "./PageHeader";
6
- export * from "./Icons";
6
+ export * from "./FontIcons";