@sendoutcards/quantum-design-ui 1.8.14 → 1.8.15
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
|
@@ -15081,7 +15081,8 @@ var OptionContent = function (props) {
|
|
|
15081
15081
|
} : {};
|
|
15082
15082
|
return jsx(React.Fragment, null, props.type === 'text' ? jsx(Text, _extends({
|
|
15083
15083
|
content: props.label,
|
|
15084
|
-
type: "caption"
|
|
15084
|
+
type: "caption",
|
|
15085
|
+
whiteSpace: "nowrap"
|
|
15085
15086
|
}, boldTextProp)) : props.type === 'graphic' ? jsx(Div, {
|
|
15086
15087
|
display: "flex",
|
|
15087
15088
|
justifyContent: "center",
|
|
@@ -15119,7 +15120,8 @@ var OptionContent = function (props) {
|
|
|
15119
15120
|
left: 'x1'
|
|
15120
15121
|
},
|
|
15121
15122
|
content: props.label.text,
|
|
15122
|
-
type: "caption"
|
|
15123
|
+
type: "caption",
|
|
15124
|
+
whiteSpace: "nowrap"
|
|
15123
15125
|
}, boldTextProp))));
|
|
15124
15126
|
};
|
|
15125
15127
|
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HOCBaseProps } from "../../helpers/hoc-types/hocBasePropTypes";
|
|
3
|
+
import { HOCMotionProps } from "../../helpers/hoc-types/hocMotionTypes";
|
|
4
|
+
export declare type DivProps = {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
outsideClick?: () => void;
|
|
7
|
+
clickElementBypass?: string;
|
|
8
|
+
} & HOCBaseProps & HOCMotionProps;
|
|
9
|
+
export declare const Companion: React.ForwardRefExoticComponent<{
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
outsideClick?: (() => void) | undefined;
|
|
12
|
+
clickElementBypass?: string | undefined;
|
|
13
|
+
} & HOCBaseProps & {
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
motionKey?: string | number | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
} & import("framer-motion").MotionProps & React.RefAttributes<HTMLDivElement>>;
|