@bolttech/atoms-section-header 0.3.4 → 0.4.0

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 +22 -27
  2. package/package.json +1 -1
package/index.cjs CHANGED
@@ -17,7 +17,7 @@ var check = function (it) {
17
17
  };
18
18
 
19
19
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
20
- var global$b =
20
+ var global$a =
21
21
  // eslint-disable-next-line es/no-global-this -- safe
22
22
  check(typeof globalThis == 'object' && globalThis) ||
23
23
  check(typeof window == 'object' && window) ||
@@ -25,7 +25,7 @@ var global$b =
25
25
  check(typeof self == 'object' && self) ||
26
26
  check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
27
27
  // eslint-disable-next-line no-new-func -- fallback
28
- (function () { return this; })() || commonjsGlobal || Function('return this')();
28
+ (function () { return this; })() || Function('return this')();
29
29
 
30
30
  var objectGetOwnPropertyDescriptor = {};
31
31
 
@@ -183,7 +183,7 @@ var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
183
183
  return typeof it == 'object' ? it !== null : isCallable$9(it);
184
184
  };
185
185
 
186
- var global$a = global$b;
186
+ var global$9 = global$a;
187
187
  var isCallable$8 = isCallable$a;
188
188
 
189
189
  var aFunction = function (argument) {
@@ -191,7 +191,7 @@ var aFunction = function (argument) {
191
191
  };
192
192
 
193
193
  var getBuiltIn$2 = function (namespace, method) {
194
- return arguments.length < 2 ? aFunction(global$a[namespace]) : global$a[namespace] && global$a[namespace][method];
194
+ return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
195
195
  };
196
196
 
197
197
  var uncurryThis$7 = functionUncurryThis;
@@ -200,11 +200,11 @@ var objectIsPrototypeOf = uncurryThis$7({}.isPrototypeOf);
200
200
 
201
201
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
202
202
 
203
- var global$9 = global$b;
203
+ var global$8 = global$a;
204
204
  var userAgent = engineUserAgent;
205
205
 
206
- var process = global$9.process;
207
- var Deno = global$9.Deno;
206
+ var process = global$8.process;
207
+ var Deno = global$8.Deno;
208
208
  var versions = process && process.versions || Deno && Deno.version;
209
209
  var v8 = versions && versions.v8;
210
210
  var match, version;
@@ -232,18 +232,13 @@ var engineV8Version = version;
232
232
 
233
233
  var V8_VERSION = engineV8Version;
234
234
  var fails$5 = fails$9;
235
- var global$8 = global$b;
236
-
237
- var $String$3 = global$8.String;
238
235
 
239
236
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
240
237
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$5(function () {
241
238
  var symbol = Symbol();
242
239
  // Chrome 38 Symbol has incorrect toString conversion
243
240
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
244
- // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
245
- // of course, fail.
246
- return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
241
+ return !String(symbol) || !(Object(symbol) instanceof Symbol) ||
247
242
  // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
248
243
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
249
244
  });
@@ -319,7 +314,7 @@ var ordinaryToPrimitive$1 = function (input, pref) {
319
314
 
320
315
  var shared$3 = {exports: {}};
321
316
 
322
- var global$7 = global$b;
317
+ var global$7 = global$a;
323
318
 
324
319
  // eslint-disable-next-line es/no-object-defineproperty -- safe
325
320
  var defineProperty$2 = Object.defineProperty;
@@ -332,7 +327,7 @@ var defineGlobalProperty$3 = function (key, value) {
332
327
  } return value;
333
328
  };
334
329
 
335
- var global$6 = global$b;
330
+ var global$6 = global$a;
336
331
  var defineGlobalProperty$2 = defineGlobalProperty$3;
337
332
 
338
333
  var SHARED = '__core-js_shared__';
@@ -345,10 +340,10 @@ var store$2 = sharedStore;
345
340
  (shared$3.exports = function (key, value) {
346
341
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
347
342
  })('versions', []).push({
348
- version: '3.30.2',
343
+ version: '3.29.1',
349
344
  mode: 'global',
350
345
  copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
351
- license: 'https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE',
346
+ license: 'https://github.com/zloirock/core-js/blob/v3.29.1/LICENSE',
352
347
  source: 'https://github.com/zloirock/core-js'
353
348
  });
354
349
 
@@ -384,7 +379,7 @@ var uid$2 = function (key) {
384
379
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
385
380
  };
386
381
 
387
- var global$5 = global$b;
382
+ var global$5 = global$a;
388
383
  var shared$2 = shared$3.exports;
389
384
  var hasOwn$6 = hasOwnProperty_1;
390
385
  var uid$1 = uid$2;
@@ -439,7 +434,7 @@ var toPropertyKey$2 = function (argument) {
439
434
  return isSymbol(key) ? key : key + '';
440
435
  };
441
436
 
442
- var global$4 = global$b;
437
+ var global$4 = global$a;
443
438
  var isObject$2 = isObject$5;
444
439
 
445
440
  var document$1 = global$4.document;
@@ -601,7 +596,7 @@ if (!isCallable$4(store$1.inspectSource)) {
601
596
 
602
597
  var inspectSource$1 = store$1.inspectSource;
603
598
 
604
- var global$3 = global$b;
599
+ var global$3 = global$a;
605
600
  var isCallable$3 = isCallable$a;
606
601
 
607
602
  var WeakMap$1 = global$3.WeakMap;
@@ -620,7 +615,7 @@ var sharedKey$1 = function (key) {
620
615
  var hiddenKeys$3 = {};
621
616
 
622
617
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
623
- var global$2 = global$b;
618
+ var global$2 = global$a;
624
619
  var isObject = isObject$5;
625
620
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
626
621
  var hasOwn$3 = hasOwnProperty_1;
@@ -964,7 +959,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
964
959
 
965
960
  var isForced_1 = isForced$1;
966
961
 
967
- var global$1 = global$b;
962
+ var global$1 = global$a;
968
963
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
969
964
  var createNonEnumerableProperty = createNonEnumerableProperty$2;
970
965
  var defineBuiltIn = defineBuiltIn$1;
@@ -1098,7 +1093,7 @@ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign },
1098
1093
 
1099
1094
  const SectionHeaderContainer = /*#__PURE__*/styled__default["default"](frontendFoundations.Row).withConfig({
1100
1095
  displayName: "atoms-section-headerstyle__SectionHeaderContainer",
1101
- componentId: "sc-xtf6u-0"
1096
+ componentId: "xtf6u-0"
1102
1097
  })(["justify-content:space-between;flex-wrap:nowrap;box-sizing:border-box;column-gap:0;height:150px;background-color:", ";padding:", ";"], ({
1103
1098
  theme
1104
1099
  }) => theme.components.sectionHeader.container.color.default, ({
@@ -1106,7 +1101,7 @@ const SectionHeaderContainer = /*#__PURE__*/styled__default["default"](frontendF
1106
1101
  }) => `0 ${theme.components.sectionHeader.safeZone}`);
1107
1102
  const SectionHeaderLabel = /*#__PURE__*/styled__default["default"](frontendFoundations.Typography).withConfig({
1108
1103
  displayName: "atoms-section-headerstyle__SectionHeaderLabel",
1109
- componentId: "sc-xtf6u-1"
1104
+ componentId: "xtf6u-1"
1110
1105
  })(["flex:1 1 66%;margin:auto 0;margin-right:", ";color:", ";@media only screen and (max-width:413px){flex:1 1 auto;margin-right:", ";}"], ({
1111
1106
  theme
1112
1107
  }) => `calc(${theme.components.sectionHeader.gap} + 15%)`, ({
@@ -1116,15 +1111,15 @@ const SectionHeaderLabel = /*#__PURE__*/styled__default["default"](frontendFound
1116
1111
  }) => `calc(${theme.components.sectionHeader.gap} + 15%)`);
1117
1112
  const Background = /*#__PURE__*/styled__default["default"].div.withConfig({
1118
1113
  displayName: "atoms-section-headerstyle__Background",
1119
- componentId: "sc-xtf6u-2"
1114
+ componentId: "xtf6u-2"
1120
1115
  })(["display:flex;align-items:flex-end;z-index:0;"]);
1121
1116
  const Icon = /*#__PURE__*/styled__default["default"].div.withConfig({
1122
1117
  displayName: "atoms-section-headerstyle__Icon",
1123
- componentId: "sc-xtf6u-3"
1118
+ componentId: "xtf6u-3"
1124
1119
  })(["position:absolute;display:flex;bottom:0;z-index:1;transform:translate(-50%);"]);
1125
1120
  const IlustrationContainer = /*#__PURE__*/styled__default["default"].div.withConfig({
1126
1121
  displayName: "atoms-section-headerstyle__IlustrationContainer",
1127
- componentId: "sc-xtf6u-4"
1122
+ componentId: "xtf6u-4"
1128
1123
  })(["display:flex;position:relative;justify-content:flex-end;align-items:flex-end;@media only screen and (max-width:1431px){width:60%;height:100%;svg{max-width:100%;max-height:100%;height:100%;}}"]);
1129
1124
 
1130
1125
  function SectionHeader({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bolttech/atoms-section-header",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "main": "./index.cjs",
5
5
  "type": "commonjs",
6
6
  "types": "./src/index.d.ts",