@bolttech/atoms-checkbox 0.21.2 → 0.21.3
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.cjs.js +9 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -7,6 +7,10 @@ var styled = require('styled-components');
|
|
|
7
7
|
var uiUtils = require('@bolttech/ui-utils');
|
|
8
8
|
var frontendFoundations = require('@bolttech/frontend-foundations');
|
|
9
9
|
|
|
10
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
|
+
|
|
12
|
+
var styled__default = /*#__PURE__*/_interopDefault(styled);
|
|
13
|
+
|
|
10
14
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
11
15
|
|
|
12
16
|
var check = function (it) {
|
|
@@ -1102,19 +1106,19 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
1102
1106
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
1103
1107
|
};
|
|
1104
1108
|
|
|
1105
|
-
const CheckboxContainer = /*#__PURE__*/
|
|
1109
|
+
const CheckboxContainer = /*#__PURE__*/styled__default.default.section.withConfig({
|
|
1106
1110
|
displayName: "atoms-checkboxstyles__CheckboxContainer",
|
|
1107
1111
|
componentId: "sc-1gq944z-0"
|
|
1108
1112
|
})(["display:flex;flex-direction:row;gap:", ";"], ({
|
|
1109
1113
|
theme
|
|
1110
1114
|
}) => theme.components.checkbox.gap);
|
|
1111
|
-
const InputContainer = /*#__PURE__*/
|
|
1115
|
+
const InputContainer = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1112
1116
|
displayName: "atoms-checkboxstyles__InputContainer",
|
|
1113
1117
|
componentId: "sc-1gq944z-1"
|
|
1114
1118
|
})(["display:flex;justify-items:center;height:", ";align-items:center;"], ({
|
|
1115
1119
|
theme
|
|
1116
1120
|
}) => theme.components.checkbox.fieldLabel.lineHeight);
|
|
1117
|
-
const Input = /*#__PURE__*/
|
|
1121
|
+
const Input = /*#__PURE__*/styled__default.default.input.attrs({
|
|
1118
1122
|
type: 'checkbox'
|
|
1119
1123
|
}).withConfig({
|
|
1120
1124
|
displayName: "atoms-checkboxstyles__Input",
|
|
@@ -1153,7 +1157,7 @@ const Input = /*#__PURE__*/styled.input.attrs({
|
|
|
1153
1157
|
}) => theme.components.checkbox.innerSquare.color.disable, ({
|
|
1154
1158
|
theme
|
|
1155
1159
|
}) => theme.components.checkbox.checkmark.color.disable);
|
|
1156
|
-
const Label = /*#__PURE__*/
|
|
1160
|
+
const Label = /*#__PURE__*/styled__default.default.div.withConfig({
|
|
1157
1161
|
displayName: "atoms-checkboxstyles__Label",
|
|
1158
1162
|
componentId: "sc-1gq944z-3"
|
|
1159
1163
|
})(["display:flex;align-items:flex-start;& > label{cursor:pointer;color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";}"], ({
|
|
@@ -1168,7 +1172,7 @@ const Label = /*#__PURE__*/styled.div.withConfig({
|
|
|
1168
1172
|
}) => theme.components.checkbox.fieldLabel.fontSize, ({
|
|
1169
1173
|
theme
|
|
1170
1174
|
}) => theme.components.checkbox.fieldLabel.letterSpacing);
|
|
1171
|
-
const LabelError = /*#__PURE__*/
|
|
1175
|
+
const LabelError = /*#__PURE__*/styled__default.default.label.withConfig({
|
|
1172
1176
|
displayName: "atoms-checkboxstyles__LabelError",
|
|
1173
1177
|
componentId: "sc-1gq944z-4"
|
|
1174
1178
|
})(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";"], ({
|