@sendoutcards/quantum-design-ui 1.8.39-alpha.1 → 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
|
@@ -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