@bolttech/atoms-checkbox 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/index.cjs +24 -23
  2. package/package.json +2 -2
package/index.cjs CHANGED
@@ -16,7 +16,7 @@ var check = function (it) {
16
16
  };
17
17
 
18
18
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
19
- var global$a =
19
+ var global$b =
20
20
  // eslint-disable-next-line es/no-global-this -- safe
21
21
  check(typeof globalThis == 'object' && globalThis) ||
22
22
  check(typeof window == 'object' && window) ||
@@ -24,7 +24,7 @@ var global$a =
24
24
  check(typeof self == 'object' && self) ||
25
25
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
26
26
  // eslint-disable-next-line no-new-func -- fallback
27
- (function () { return this; })() || Function('return this')();
27
+ (function () { return this; })() || commonjsGlobal || Function('return this')();
28
28
 
29
29
  var objectGetOwnPropertyDescriptor = {};
30
30
 
@@ -182,7 +182,7 @@ var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
182
182
  return typeof it == 'object' ? it !== null : isCallable$9(it);
183
183
  };
184
184
 
185
- var global$9 = global$a;
185
+ var global$a = global$b;
186
186
  var isCallable$8 = isCallable$a;
187
187
 
188
188
  var aFunction = function (argument) {
@@ -190,7 +190,7 @@ var aFunction = function (argument) {
190
190
  };
191
191
 
192
192
  var getBuiltIn$2 = function (namespace, method) {
193
- return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
193
+ return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
194
194
  };
195
195
 
196
196
  var uncurryThis$7 = functionUncurryThis;
@@ -199,11 +199,11 @@ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
199
199
 
200
200
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
201
201
 
202
- var global$8 = global$a;
202
+ var global$9 = global$b;
203
203
  var userAgent = engineUserAgent;
204
204
 
205
- var process = global$8.process;
206
- var Deno = global$8.Deno;
205
+ var process = global$9.process;
206
+ var Deno = global$9.Deno;
207
207
  var versions = process && process.versions || Deno && Deno.version;
208
208
  var v8 = versions && versions.v8;
209
209
  var match, version;
@@ -231,13 +231,18 @@ var engineV8Version = version;
231
231
 
232
232
  var V8_VERSION = engineV8Version;
233
233
  var fails$5 = fails$9;
234
+ var global$8 = global$b;
235
+
236
+ var $String$3 = global$8.String;
234
237
 
235
238
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
236
239
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
237
240
  var symbol = Symbol();
238
241
  // Chrome 38 Symbol has incorrect toString conversion
239
242
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
240
- return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
243
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
244
+ // of course, fail.
245
+ return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
241
246
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
242
247
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
243
248
  });
@@ -313,7 +318,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
313
318
 
314
319
  var shared$3 = {exports: {}};
315
320
 
316
- var global$7 = global$a;
321
+ var global$7 = global$b;
317
322
 
318
323
  // eslint-disable-next-line es/no-object-defineproperty -- safe
319
324
  var defineProperty$2 = Object.defineProperty;
@@ -326,7 +331,7 @@ var defineGlobalProperty$3 = function (key, value) {
326
331
  } return value;
327
332
  };
328
333
 
329
- var global$6 = global$a;
334
+ var global$6 = global$b;
330
335
  var defineGlobalProperty$2 = defineGlobalProperty$3;
331
336
 
332
337
  var SHARED = '__core-js_shared__';
@@ -339,10 +344,10 @@ var store$2 = sharedStore;
339
344
  (shared$3.exports = function (key, value) {
340
345
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
341
346
  })('versions', []).push({
342
- version: '3.29.1',
347
+ version: '3.30.2',
343
348
  mode: 'global',
344
349
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
345
- license: 'https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE',
350
+ license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
346
351
  source: 'https://github.com/zloirock/core-js'
347
352
  });
348
353
 
@@ -378,7 +383,7 @@ var uid$2 = function (key) {
378
383
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
379
384
  };
380
385
 
381
- var global$5 = global$a;
386
+ var global$5 = global$b;
382
387
  var shared$2 = shared$3.exports;
383
388
  var hasOwn$6 = hasOwnProperty_1;
384
389
  var uid$1 = uid$2;
@@ -433,7 +438,7 @@ var toPropertyKey$2 = function (argument) {
433
438
  return isSymbol(key) ? key : key + '';
434
439
  };
435
440
 
436
- var global$4 = global$a;
441
+ var global$4 = global$b;
437
442
  var isObject$2 = isObject$5;
438
443
 
439
444
  var document$1 = global$4.document;
@@ -595,7 +600,7 @@ if (!isCallable$4(store$1.inspectSource)) {
595
600
 
596
601
  var inspectSource$1 = store$1.inspectSource;
597
602
 
598
- var global$3 = global$a;
603
+ var global$3 = global$b;
599
604
  var isCallable$3 = isCallable$a;
600
605
 
601
606
  var WeakMap$1 = global$3.WeakMap;
@@ -614,7 +619,7 @@ var sharedKey$1 = function (key) {
614
619
  var hiddenKeys$3 = {};
615
620
 
616
621
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
617
- var global$2 = global$a;
622
+ var global$2 = global$b;
618
623
  var isObject = isObject$5;
619
624
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
620
625
  var hasOwn$3 = hasOwnProperty_1;
@@ -958,7 +963,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
958
963
 
959
964
  var isForced_1 = isForced$1;
960
965
 
961
- var global$1 = global$a;
966
+ var global$1 = global$b;
962
967
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
963
968
  var createNonEnumerableProperty = createNonEnumerableProperty$2;
964
969
  var defineBuiltIn = defineBuiltIn$1;
@@ -1128,13 +1133,11 @@ const Input = /*#__PURE__*/styled__default["default"].input.attrs({
1128
1133
  const Label = /*#__PURE__*/styled__default["default"].label.withConfig({
1129
1134
  displayName: "atoms-checkboxstyles__Label",
1130
1135
  componentId: "sc-1gq944z-2"
1131
- })(["color:", ";font-family:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";padding-left:", ";"], ({
1136
+ })(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";padding-left:", ";"], ({
1132
1137
  theme,
1133
1138
  disabled
1134
1139
  }) => disabled ? theme.components.checkbox.text.color.textLabel.disable : theme.components.checkbox.text.color.textLabel.default, ({
1135
1140
  theme
1136
- }) => theme.components.checkbox.fieldLabel.fontFamily, ({
1137
- theme
1138
1141
  }) => theme.components.checkbox.fieldLabel.fontWeight, ({
1139
1142
  theme
1140
1143
  }) => theme.components.checkbox.fieldLabel.lineHeight, ({
@@ -1151,12 +1154,10 @@ const CheckboxContainerError = /*#__PURE__*/styled__default["default"].section.w
1151
1154
  const LabelError = /*#__PURE__*/styled__default["default"].label.withConfig({
1152
1155
  displayName: "atoms-checkboxstyles__LabelError",
1153
1156
  componentId: "sc-1gq944z-4"
1154
- })(["color:", ";font-family:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";"], ({
1157
+ })(["color:", ";font-weight:", ";line-height:", ";font-size:", ";letter-spacing:", ";"], ({
1155
1158
  theme
1156
1159
  }) => theme.components.checkbox.text.color.errorLabel.error, ({
1157
1160
  theme
1158
- }) => theme.components.checkbox.errorLabel.fontFamily, ({
1159
- theme
1160
1161
  }) => theme.components.checkbox.errorLabel.fontWeight, ({
1161
1162
  theme
1162
1163
  }) => theme.components.checkbox.errorLabel.lineHeight, ({
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-checkbox",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "main": "./index.cjs",
5
5
  "type": "commonjs",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@edirect/frontend-foundations": "0.0.49",
8
+ "@edirect/frontend-foundations": "0.0.51",
9
9
  "react": "18.2.0",
10
10
  "styled-components": "5.3.6"
11
11
  },