@nulogy/components 8.1.8 → 8.1.9
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
CHANGED
|
@@ -22316,7 +22316,6 @@
|
|
|
22316
22316
|
borderRadius: theme.radii.small,
|
|
22317
22317
|
border: "solid 1px",
|
|
22318
22318
|
position: "relative",
|
|
22319
|
-
alignSelf: "center",
|
|
22320
22319
|
// checkmark
|
|
22321
22320
|
"&:before": Object.assign({
|
|
22322
22321
|
content: "''",
|
|
@@ -22328,7 +22327,7 @@
|
|
|
22328
22327
|
border: "solid " + theme.colors.white
|
|
22329
22328
|
}, indeterminate ? indeterminateStyles : checkedStyles)
|
|
22330
22329
|
};
|
|
22331
|
-
});
|
|
22330
|
+
}, addStyledProps);
|
|
22332
22331
|
var CheckboxInput = styled__default['default'].input.withConfig({
|
|
22333
22332
|
displayName: "Checkbox__CheckboxInput",
|
|
22334
22333
|
componentId: "sc-14jj5ns-1"
|
|
@@ -22375,7 +22374,8 @@
|
|
|
22375
22374
|
disabled: disabled,
|
|
22376
22375
|
checked: checked,
|
|
22377
22376
|
indeterminate: indeterminate,
|
|
22378
|
-
"data-testid": "visual-checkbox"
|
|
22377
|
+
"data-testid": "visual-checkbox",
|
|
22378
|
+
marginTop: labelText ? "half" : "0px"
|
|
22379
22379
|
}), labelText && /*#__PURE__*/React__default['default'].createElement(Text, {
|
|
22380
22380
|
disabled: disabled,
|
|
22381
22381
|
ml: "x1"
|
package/dist/main.module.js
CHANGED
|
@@ -22290,7 +22290,6 @@ var VisualCheckbox = styled.div.withConfig({
|
|
|
22290
22290
|
borderRadius: theme.radii.small,
|
|
22291
22291
|
border: "solid 1px",
|
|
22292
22292
|
position: "relative",
|
|
22293
|
-
alignSelf: "center",
|
|
22294
22293
|
// checkmark
|
|
22295
22294
|
"&:before": Object.assign({
|
|
22296
22295
|
content: "''",
|
|
@@ -22302,7 +22301,7 @@ var VisualCheckbox = styled.div.withConfig({
|
|
|
22302
22301
|
border: "solid " + theme.colors.white
|
|
22303
22302
|
}, indeterminate ? indeterminateStyles : checkedStyles)
|
|
22304
22303
|
};
|
|
22305
|
-
});
|
|
22304
|
+
}, addStyledProps);
|
|
22306
22305
|
var CheckboxInput = styled.input.withConfig({
|
|
22307
22306
|
displayName: "Checkbox__CheckboxInput",
|
|
22308
22307
|
componentId: "sc-14jj5ns-1"
|
|
@@ -22349,7 +22348,8 @@ var Checkbox = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
22349
22348
|
disabled: disabled,
|
|
22350
22349
|
checked: checked,
|
|
22351
22350
|
indeterminate: indeterminate,
|
|
22352
|
-
"data-testid": "visual-checkbox"
|
|
22351
|
+
"data-testid": "visual-checkbox",
|
|
22352
|
+
marginTop: labelText ? "half" : "0px"
|
|
22353
22353
|
}), labelText && /*#__PURE__*/React__default.createElement(Text, {
|
|
22354
22354
|
disabled: disabled,
|
|
22355
22355
|
ml: "x1"
|
|
@@ -4,6 +4,10 @@ declare const _default: {
|
|
|
4
4
|
};
|
|
5
5
|
export default _default;
|
|
6
6
|
export declare const _Checkbox: () => JSX.Element;
|
|
7
|
+
export declare const Multiline: {
|
|
8
|
+
(): JSX.Element;
|
|
9
|
+
decorators: ((story: any) => JSX.Element)[];
|
|
10
|
+
};
|
|
7
11
|
export declare const SetToDefaultChecked: {
|
|
8
12
|
(): JSX.Element;
|
|
9
13
|
story: {
|