@sendoutcards/quantum-design-ui 1.8.39-alpha.0 → 1.8.39-alpha.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/index.es.js CHANGED
@@ -11764,7 +11764,7 @@ var PromptingsIcon$1 = function (_a) {
11764
11764
  }))));
11765
11765
  };
11766
11766
 
11767
- var Icon = function (_a) {
11767
+ var Icon = /*#__PURE__*/React.memo(function (_a) {
11768
11768
  var primaryColor = _a.primaryColor,
11769
11769
  secondaryColor = _a.secondaryColor,
11770
11770
  onClick = _a.onClick,
@@ -12044,7 +12044,7 @@ var Icon = function (_a) {
12044
12044
  case 'promptingsIcon':
12045
12045
  return jsx(PromptingsIcon$1, props);
12046
12046
  }
12047
- };
12047
+ });
12048
12048
 
12049
12049
  function _extends() {
12050
12050
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -12440,7 +12440,7 @@ var makeTextResponsive = function (size, callback, windowSize) {
12440
12440
  return callback(lastQuery);
12441
12441
  };
12442
12442
 
12443
- var Text = function (_a) {
12443
+ var Text = /*#__PURE__*/React.memo(function (_a) {
12444
12444
  var props = __rest(_a, []);
12445
12445
  var type = props.type,
12446
12446
  color = props.color,
@@ -12508,7 +12508,7 @@ var Text = function (_a) {
12508
12508
  inset: inset,
12509
12509
  outset: outset
12510
12510
  }, renderText) : renderText);
12511
- };
12511
+ });
12512
12512
 
12513
12513
  var mapSizeType = function (size, sizeMap) {
12514
12514
  return sizeMap[size];
@@ -23,4 +23,4 @@ export declare type WeightType = keyof typeof entities.text.weights;
23
23
  export declare type TextType = keyof typeof entities.text.types;
24
24
  export declare type TextColor = keyof typeof entities.text.colors;
25
25
  export declare type AlignmentType = 'left' | 'center' | 'right';
26
- export declare const Text: ({ ...props }: TextProps) => React.JSX.Element;
26
+ export declare const Text: React.MemoExoticComponent<({ ...props }: TextProps) => React.JSX.Element>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoutcards/quantum-design-ui",
3
- "version": "1.8.39-alpha.0",
3
+ "version": "1.8.39-alpha.2",
4
4
  "description": "UI component library for Quantum Design System",
5
5
  "module": "dist/index.es.js",
6
6
  "jsnext:main": "dist/index.es.js",