@bolttech/atoms-section-header 0.3.3 → 0.3.4

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