@bolttech/atoms-button 0.3.0 → 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.
- package/index.cjs +25 -20
- 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$
|
|
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$
|
|
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$
|
|
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$
|
|
203
|
+
var global$9 = global$b;
|
|
204
204
|
var userAgent = engineUserAgent;
|
|
205
205
|
|
|
206
|
-
var process = global$
|
|
207
|
-
var Deno = global$
|
|
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
|
-
|
|
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$
|
|
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$
|
|
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.
|
|
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.
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
967
|
+
var global$1 = global$b;
|
|
963
968
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
964
969
|
var createNonEnumerableProperty = createNonEnumerableProperty$2;
|
|
965
970
|
var defineBuiltIn = defineBuiltIn$1;
|
|
@@ -1102,7 +1107,7 @@ var SizeVariant;
|
|
|
1102
1107
|
|
|
1103
1108
|
const Container = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
1104
1109
|
displayName: "atoms-buttonstyles__Container",
|
|
1105
|
-
componentId: "i4bzba-0"
|
|
1110
|
+
componentId: "sc-i4bzba-0"
|
|
1106
1111
|
})(["display:flex;align-items:center;gap:", ";.left-img-btn,.right-img-btn{display:flex;label{font-size:", ";}}"], ({
|
|
1107
1112
|
theme,
|
|
1108
1113
|
size
|
|
@@ -1112,7 +1117,7 @@ const Container = /*#__PURE__*/styled__default["default"].div.withConfig({
|
|
|
1112
1117
|
}) => theme.components.button[size].icon.size);
|
|
1113
1118
|
const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
|
|
1114
1119
|
displayName: "atoms-buttonstyles__Button",
|
|
1115
|
-
componentId: "i4bzba-1"
|
|
1120
|
+
componentId: "sc-i4bzba-1"
|
|
1116
1121
|
})(["background-color:", ";border-radius:", ";border:1px solid ", ";box-shadow:", ";color:", ";padding:", ";label.material-symbols-sharp{color:", ";}:active:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}:disabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}:hover:enabled{background-color:", ";border:1px solid ", ";color:", ";label.material-symbols-sharp{color:", ";}}", ""], ({
|
|
1117
1122
|
theme,
|
|
1118
1123
|
variant
|
|
@@ -1180,7 +1185,7 @@ const Button$1 = /*#__PURE__*/styled__default["default"].button.withConfig({
|
|
|
1180
1185
|
}) => fullWidth && styled.css(["width:100%;", "{justify-content:center;}"], Container));
|
|
1181
1186
|
const ButtonTitle = /*#__PURE__*/styled__default["default"].label.withConfig({
|
|
1182
1187
|
displayName: "atoms-buttonstyles__ButtonTitle",
|
|
1183
|
-
componentId: "i4bzba-2"
|
|
1188
|
+
componentId: "sc-i4bzba-2"
|
|
1184
1189
|
})(["font-size:", ";font-weight:", ";letter-spacing:", ";line-height:", ";text-decoration:", ";text-indent:", ";text-transform:", ";"], ({
|
|
1185
1190
|
theme,
|
|
1186
1191
|
size,
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/atoms-button",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@bolttech/atoms-icon": "^0.1.14",
|
|
6
|
-
"@edirect/frontend-foundations": "0.0.
|
|
6
|
+
"@edirect/frontend-foundations": "0.0.53",
|
|
7
7
|
"styled-components": "5.3.6"
|
|
8
8
|
},
|
|
9
9
|
"main": "./index.cjs",
|