@majoo-ui/react 1.54.1 → 1.54.2-rc.1

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.esm.js CHANGED
@@ -49,7 +49,7 @@ import ReactCrop, { centerCrop, makeAspectCrop } from 'react-image-crop';
49
49
  import imageCompressionComponent from 'browser-image-compression';
50
50
  import { useSticky } from 'react-table-sticky';
51
51
 
52
- var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
52
+ var _jsxFileName$11 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
53
53
 
54
54
  function ThemeProvider({
55
55
  theme,
@@ -59,7 +59,7 @@ function ThemeProvider({
59
59
  className: theme,
60
60
  __self: this,
61
61
  __source: {
62
- fileName: _jsxFileName$10,
62
+ fileName: _jsxFileName$11,
63
63
  lineNumber: 5,
64
64
  columnNumber: 10
65
65
  }
@@ -78,7 +78,7 @@ var check = function (it) {
78
78
  };
79
79
 
80
80
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
81
- var global$U =
81
+ var global$s =
82
82
  // eslint-disable-next-line es-x/no-global-this -- safe
83
83
  check(typeof globalThis == 'object' && globalThis) ||
84
84
  check(typeof window == 'object' && window) ||
@@ -172,31 +172,28 @@ var classofRaw$1 = function (it) {
172
172
  return stringSlice$b(toString$j(it), 8, -1);
173
173
  };
174
174
 
175
- var global$T = global$U;
176
175
  var uncurryThis$v = functionUncurryThis;
177
176
  var fails$q = fails$t;
178
177
  var classof$8 = classofRaw$1;
179
178
 
180
- var Object$5 = global$T.Object;
179
+ var $Object$4 = Object;
181
180
  var split$3 = uncurryThis$v(''.split);
182
181
 
183
182
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
184
183
  var indexedObject = fails$q(function () {
185
184
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
186
185
  // eslint-disable-next-line no-prototype-builtins -- safe
187
- return !Object$5('z').propertyIsEnumerable(0);
186
+ return !$Object$4('z').propertyIsEnumerable(0);
188
187
  }) ? function (it) {
189
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
190
- } : Object$5;
191
-
192
- var global$S = global$U;
188
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
189
+ } : $Object$4;
193
190
 
194
- var TypeError$j = global$S.TypeError;
191
+ var $TypeError$f = TypeError;
195
192
 
196
193
  // `RequireObjectCoercible` abstract operation
197
194
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
198
195
  var requireObjectCoercible$a = function (it) {
199
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
196
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
200
197
  return it;
201
198
  };
202
199
 
@@ -220,7 +217,7 @@ var isObject$d = function (it) {
220
217
  return typeof it == 'object' ? it !== null : isCallable$o(it);
221
218
  };
222
219
 
223
- var global$R = global$U;
220
+ var global$r = global$s;
224
221
  var isCallable$n = isCallable$p;
225
222
 
226
223
  var aFunction = function (argument) {
@@ -228,7 +225,7 @@ var aFunction = function (argument) {
228
225
  };
229
226
 
230
227
  var getBuiltIn$8 = function (namespace, method) {
231
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
228
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
232
229
  };
233
230
 
234
231
  var uncurryThis$u = functionUncurryThis;
@@ -239,11 +236,11 @@ var getBuiltIn$7 = getBuiltIn$8;
239
236
 
240
237
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
241
238
 
242
- var global$Q = global$U;
239
+ var global$q = global$s;
243
240
  var userAgent$5 = engineUserAgent;
244
241
 
245
- var process$3 = global$Q.process;
246
- var Deno$1 = global$Q.Deno;
242
+ var process$3 = global$q.process;
243
+ var Deno$1 = global$q.Deno;
247
244
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
248
245
  var v8 = versions && versions.v8;
249
246
  var match, version;
@@ -290,43 +287,39 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
290
287
  && !Symbol.sham
291
288
  && typeof Symbol.iterator == 'symbol';
292
289
 
293
- var global$P = global$U;
294
290
  var getBuiltIn$6 = getBuiltIn$8;
295
291
  var isCallable$m = isCallable$p;
296
292
  var isPrototypeOf$5 = objectIsPrototypeOf;
297
293
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
298
294
 
299
- var Object$4 = global$P.Object;
295
+ var $Object$3 = Object;
300
296
 
301
297
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
302
298
  return typeof it == 'symbol';
303
299
  } : function (it) {
304
300
  var $Symbol = getBuiltIn$6('Symbol');
305
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
301
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
306
302
  };
307
303
 
308
- var global$O = global$U;
309
-
310
- var String$6 = global$O.String;
304
+ var $String$4 = String;
311
305
 
312
- var tryToString$4 = function (argument) {
306
+ var tryToString$5 = function (argument) {
313
307
  try {
314
- return String$6(argument);
308
+ return $String$4(argument);
315
309
  } catch (error) {
316
310
  return 'Object';
317
311
  }
318
312
  };
319
313
 
320
- var global$N = global$U;
321
314
  var isCallable$l = isCallable$p;
322
- var tryToString$3 = tryToString$4;
315
+ var tryToString$4 = tryToString$5;
323
316
 
324
- var TypeError$i = global$N.TypeError;
317
+ var $TypeError$e = TypeError;
325
318
 
326
319
  // `Assert: IsCallable(argument) is true`
327
320
  var aCallable$9 = function (argument) {
328
321
  if (isCallable$l(argument)) return argument;
329
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
322
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
330
323
  };
331
324
 
332
325
  var aCallable$8 = aCallable$9;
@@ -338,12 +331,11 @@ var getMethod$6 = function (V, P) {
338
331
  return func == null ? undefined : aCallable$8(func);
339
332
  };
340
333
 
341
- var global$M = global$U;
342
334
  var call$l = functionCall;
343
335
  var isCallable$k = isCallable$p;
344
336
  var isObject$c = isObject$d;
345
337
 
346
- var TypeError$h = global$M.TypeError;
338
+ var $TypeError$d = TypeError;
347
339
 
348
340
  // `OrdinaryToPrimitive` abstract operation
349
341
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -352,31 +344,31 @@ var ordinaryToPrimitive$1 = function (input, pref) {
352
344
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
353
345
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
354
346
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
355
- throw TypeError$h("Can't convert object to primitive value");
347
+ throw $TypeError$d("Can't convert object to primitive value");
356
348
  };
357
349
 
358
350
  var shared$4 = {exports: {}};
359
351
 
360
352
  var isPure = false;
361
353
 
362
- var global$L = global$U;
354
+ var global$p = global$s;
363
355
 
364
356
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
365
- var defineProperty$7 = Object.defineProperty;
357
+ var defineProperty$8 = Object.defineProperty;
366
358
 
367
- var setGlobal$3 = function (key, value) {
359
+ var defineGlobalProperty$3 = function (key, value) {
368
360
  try {
369
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
361
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
370
362
  } catch (error) {
371
- global$L[key] = value;
363
+ global$p[key] = value;
372
364
  } return value;
373
365
  };
374
366
 
375
- var global$K = global$U;
376
- var setGlobal$2 = setGlobal$3;
367
+ var global$o = global$s;
368
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
377
369
 
378
370
  var SHARED = '__core-js_shared__';
379
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
371
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
380
372
 
381
373
  var sharedStore = store$3;
382
374
 
@@ -385,22 +377,21 @@ var store$2 = sharedStore;
385
377
  (shared$4.exports = function (key, value) {
386
378
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
387
379
  })('versions', []).push({
388
- version: '3.22.5',
380
+ version: '3.24.1',
389
381
  mode: 'global',
390
382
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
391
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
383
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
392
384
  source: 'https://github.com/zloirock/core-js'
393
385
  });
394
386
 
395
- var global$J = global$U;
396
387
  var requireObjectCoercible$8 = requireObjectCoercible$a;
397
388
 
398
- var Object$3 = global$J.Object;
389
+ var $Object$2 = Object;
399
390
 
400
391
  // `ToObject` abstract operation
401
392
  // https://tc39.es/ecma262/#sec-toobject
402
393
  var toObject$7 = function (argument) {
403
- return Object$3(requireObjectCoercible$8(argument));
394
+ return $Object$2(requireObjectCoercible$8(argument));
404
395
  };
405
396
 
406
397
  var uncurryThis$t = functionUncurryThis;
@@ -425,7 +416,7 @@ var uid$2 = function (key) {
425
416
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
426
417
  };
427
418
 
428
- var global$I = global$U;
419
+ var global$n = global$s;
429
420
  var shared$3 = shared$4.exports;
430
421
  var hasOwn$e = hasOwnProperty_1;
431
422
  var uid$1 = uid$2;
@@ -433,7 +424,7 @@ var NATIVE_SYMBOL$1 = nativeSymbol;
433
424
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
434
425
 
435
426
  var WellKnownSymbolsStore = shared$3('wks');
436
- var Symbol$7 = global$I.Symbol;
427
+ var Symbol$7 = global$n.Symbol;
437
428
  var symbolFor = Symbol$7 && Symbol$7['for'];
438
429
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
439
430
 
@@ -450,7 +441,6 @@ var wellKnownSymbol$l = function (name) {
450
441
  } return WellKnownSymbolsStore[name];
451
442
  };
452
443
 
453
- var global$H = global$U;
454
444
  var call$k = functionCall;
455
445
  var isObject$b = isObject$d;
456
446
  var isSymbol$5 = isSymbol$6;
@@ -458,7 +448,7 @@ var getMethod$5 = getMethod$6;
458
448
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
459
449
  var wellKnownSymbol$k = wellKnownSymbol$l;
460
450
 
461
- var TypeError$g = global$H.TypeError;
451
+ var $TypeError$c = TypeError;
462
452
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
463
453
 
464
454
  // `ToPrimitive` abstract operation
@@ -471,7 +461,7 @@ var toPrimitive$1 = function (input, pref) {
471
461
  if (pref === undefined) pref = 'default';
472
462
  result = call$k(exoticToPrim, input, pref);
473
463
  if (!isObject$b(result) || isSymbol$5(result)) return result;
474
- throw TypeError$g("Can't convert object to primitive value");
464
+ throw $TypeError$c("Can't convert object to primitive value");
475
465
  }
476
466
  if (pref === undefined) pref = 'number';
477
467
  return ordinaryToPrimitive(input, pref);
@@ -487,10 +477,10 @@ var toPropertyKey$3 = function (argument) {
487
477
  return isSymbol$4(key) ? key : key + '';
488
478
  };
489
479
 
490
- var global$G = global$U;
480
+ var global$m = global$s;
491
481
  var isObject$a = isObject$d;
492
482
 
493
- var document$3 = global$G.document;
483
+ var document$3 = global$m.document;
494
484
  // typeof document.createElement is 'object' in old IE
495
485
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
496
486
 
@@ -548,26 +538,24 @@ var v8PrototypeDefineBug = DESCRIPTORS$c && fails$n(function () {
548
538
  }).prototype != 42;
549
539
  });
550
540
 
551
- var global$F = global$U;
552
541
  var isObject$9 = isObject$d;
553
542
 
554
- var String$5 = global$F.String;
555
- var TypeError$f = global$F.TypeError;
543
+ var $String$3 = String;
544
+ var $TypeError$b = TypeError;
556
545
 
557
546
  // `Assert: Type(argument) is Object`
558
547
  var anObject$i = function (argument) {
559
548
  if (isObject$9(argument)) return argument;
560
- throw TypeError$f(String$5(argument) + ' is not an object');
549
+ throw $TypeError$b($String$3(argument) + ' is not an object');
561
550
  };
562
551
 
563
- var global$E = global$U;
564
552
  var DESCRIPTORS$b = descriptors;
565
553
  var IE8_DOM_DEFINE = ie8DomDefine;
566
554
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
567
555
  var anObject$h = anObject$i;
568
556
  var toPropertyKey$1 = toPropertyKey$3;
569
557
 
570
- var TypeError$e = global$E.TypeError;
558
+ var $TypeError$a = TypeError;
571
559
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
572
560
  var $defineProperty = Object.defineProperty;
573
561
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -600,7 +588,7 @@ objectDefineProperty.f = DESCRIPTORS$b ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
600
588
  if (IE8_DOM_DEFINE) try {
601
589
  return $defineProperty(O, P, Attributes);
602
590
  } catch (error) { /* empty */ }
603
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
591
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
604
592
  if ('value' in Attributes) O[P] = Attributes.value;
605
593
  return O;
606
594
  };
@@ -609,7 +597,7 @@ var DESCRIPTORS$a = descriptors;
609
597
  var definePropertyModule$5 = objectDefineProperty;
610
598
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
611
599
 
612
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
600
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
613
601
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
614
602
  } : function (object, key, value) {
615
603
  object[key] = value;
@@ -651,11 +639,11 @@ if (!isCallable$j(store$1.inspectSource)) {
651
639
 
652
640
  var inspectSource$4 = store$1.inspectSource;
653
641
 
654
- var global$D = global$U;
642
+ var global$l = global$s;
655
643
  var isCallable$i = isCallable$p;
656
644
  var inspectSource$3 = inspectSource$4;
657
645
 
658
- var WeakMap$1 = global$D.WeakMap;
646
+ var WeakMap$1 = global$l.WeakMap;
659
647
 
660
648
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
661
649
 
@@ -671,18 +659,18 @@ var sharedKey$3 = function (key) {
671
659
  var hiddenKeys$4 = {};
672
660
 
673
661
  var NATIVE_WEAK_MAP = nativeWeakMap;
674
- var global$C = global$U;
662
+ var global$k = global$s;
675
663
  var uncurryThis$q = functionUncurryThis;
676
664
  var isObject$8 = isObject$d;
677
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
665
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
678
666
  var hasOwn$b = hasOwnProperty_1;
679
667
  var shared$1 = sharedStore;
680
668
  var sharedKey$2 = sharedKey$3;
681
669
  var hiddenKeys$3 = hiddenKeys$4;
682
670
 
683
671
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
684
- var TypeError$d = global$C.TypeError;
685
- var WeakMap = global$C.WeakMap;
672
+ var TypeError$4 = global$k.TypeError;
673
+ var WeakMap = global$k.WeakMap;
686
674
  var set$1, get$1, has;
687
675
 
688
676
  var enforce = function (it) {
@@ -693,7 +681,7 @@ var getterFor = function (TYPE) {
693
681
  return function (it) {
694
682
  var state;
695
683
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
696
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
684
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
697
685
  } return state;
698
686
  };
699
687
  };
@@ -704,7 +692,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
704
692
  var wmhas = uncurryThis$q(store.has);
705
693
  var wmset = uncurryThis$q(store.set);
706
694
  set$1 = function (it, metadata) {
707
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
695
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
708
696
  metadata.facade = it;
709
697
  wmset(store, it, metadata);
710
698
  return metadata;
@@ -719,9 +707,9 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
719
707
  var STATE = sharedKey$2('state');
720
708
  hiddenKeys$3[STATE] = true;
721
709
  set$1 = function (it, metadata) {
722
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
710
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
723
711
  metadata.facade = it;
724
- createNonEnumerableProperty$6(it, STATE, metadata);
712
+ createNonEnumerableProperty$5(it, STATE, metadata);
725
713
  return metadata;
726
714
  };
727
715
  get$1 = function (it) {
@@ -751,10 +739,10 @@ var InternalStateModule$5 = internalState;
751
739
  var enforceInternalState$1 = InternalStateModule$5.enforce;
752
740
  var getInternalState$3 = InternalStateModule$5.get;
753
741
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
754
- var defineProperty$6 = Object.defineProperty;
742
+ var defineProperty$7 = Object.defineProperty;
755
743
 
756
744
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
757
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
745
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
758
746
  });
759
747
 
760
748
  var TEMPLATE = String(String).split('String');
@@ -766,16 +754,18 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
766
754
  if (options && options.getter) name = 'get ' + name;
767
755
  if (options && options.setter) name = 'set ' + name;
768
756
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
769
- defineProperty$6(value, 'name', { value: name, configurable: true });
757
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
758
+ else value.name = name;
770
759
  }
771
760
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
772
- defineProperty$6(value, 'length', { value: options.arity });
761
+ defineProperty$7(value, 'length', { value: options.arity });
773
762
  }
774
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
775
- if (DESCRIPTORS$8) try {
776
- defineProperty$6(value, 'prototype', { writable: false });
777
- } catch (error) { /* empty */ }
778
- } else value.prototype = undefined;
763
+ try {
764
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
765
+ if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
766
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
767
+ } else if (value.prototype) value.prototype = undefined;
768
+ } catch (error) { /* empty */ }
779
769
  var state = enforceInternalState$1(value);
780
770
  if (!hasOwn$a(state, 'source')) {
781
771
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -788,30 +778,32 @@ Function.prototype.toString = makeBuiltIn$2(function toString() {
788
778
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
789
779
  }, 'toString');
790
780
 
791
- var global$B = global$U;
792
781
  var isCallable$g = isCallable$p;
793
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
782
+ var definePropertyModule$4 = objectDefineProperty;
794
783
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
795
- var setGlobal$1 = setGlobal$3;
784
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
796
785
 
797
786
  var defineBuiltIn$b = function (O, key, value, options) {
798
- var unsafe = options ? !!options.unsafe : false;
799
- var simple = options ? !!options.enumerable : false;
800
- var noTargetGet = options ? !!options.noTargetGet : false;
801
- var name = options && options.name !== undefined ? options.name : key;
787
+ if (!options) options = {};
788
+ var simple = options.enumerable;
789
+ var name = options.name !== undefined ? options.name : key;
802
790
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
803
- if (O === global$B) {
791
+ if (options.global) {
804
792
  if (simple) O[key] = value;
805
- else setGlobal$1(key, value);
806
- return O;
807
- } else if (!unsafe) {
808
- delete O[key];
809
- } else if (!noTargetGet && O[key]) {
810
- simple = true;
811
- }
812
- if (simple) O[key] = value;
813
- else createNonEnumerableProperty$5(O, key, value);
814
- return O;
793
+ else defineGlobalProperty$1(key, value);
794
+ } else {
795
+ try {
796
+ if (!options.unsafe) delete O[key];
797
+ else if (O[key]) simple = true;
798
+ } catch (error) { /* empty */ }
799
+ if (simple) O[key] = value;
800
+ else definePropertyModule$4.f(O, key, {
801
+ value: value,
802
+ enumerable: false,
803
+ configurable: !options.nonConfigurable,
804
+ writable: !options.nonWritable
805
+ });
806
+ } return O;
815
807
  };
816
808
 
817
809
  var objectGetOwnPropertyNames = {};
@@ -819,12 +811,22 @@ var objectGetOwnPropertyNames = {};
819
811
  var ceil = Math.ceil;
820
812
  var floor$5 = Math.floor;
821
813
 
814
+ // `Math.trunc` method
815
+ // https://tc39.es/ecma262/#sec-math.trunc
816
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
817
+ var mathTrunc = Math.trunc || function trunc(x) {
818
+ var n = +x;
819
+ return (n > 0 ? floor$5 : ceil)(n);
820
+ };
821
+
822
+ var trunc = mathTrunc;
823
+
822
824
  // `ToIntegerOrInfinity` abstract operation
823
825
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
824
826
  var toIntegerOrInfinity$6 = function (argument) {
825
827
  var number = +argument;
826
- // eslint-disable-next-line no-self-compare -- safe
827
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
828
+ // eslint-disable-next-line no-self-compare -- NaN check
829
+ return number !== number || number === 0 ? 0 : trunc(number);
828
830
  };
829
831
 
830
832
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -958,11 +960,11 @@ var ownKeys$1 = getBuiltIn$5('Reflect', 'ownKeys') || function ownKeys(it) {
958
960
  var hasOwn$8 = hasOwnProperty_1;
959
961
  var ownKeys = ownKeys$1;
960
962
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
961
- var definePropertyModule$4 = objectDefineProperty;
963
+ var definePropertyModule$3 = objectDefineProperty;
962
964
 
963
965
  var copyConstructorProperties$2 = function (target, source, exceptions) {
964
966
  var keys = ownKeys(source);
965
- var defineProperty = definePropertyModule$4.f;
967
+ var defineProperty = definePropertyModule$3.f;
966
968
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
967
969
  for (var i = 0; i < keys.length; i++) {
968
970
  var key = keys[i];
@@ -995,28 +997,28 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
995
997
 
996
998
  var isForced_1 = isForced$3;
997
999
 
998
- var global$A = global$U;
1000
+ var global$j = global$s;
999
1001
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1000
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1002
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
1001
1003
  var defineBuiltIn$a = defineBuiltIn$b;
1002
- var setGlobal = setGlobal$3;
1004
+ var defineGlobalProperty = defineGlobalProperty$3;
1003
1005
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1004
1006
  var isForced$2 = isForced_1;
1005
1007
 
1006
1008
  /*
1007
- options.target - name of the target object
1008
- options.global - target is the global object
1009
- options.stat - export as static methods of target
1010
- options.proto - export as prototype methods of target
1011
- options.real - real prototype method for the `pure` version
1012
- options.forced - export even if the native feature is available
1013
- options.bind - bind methods to the target, required for the `pure` version
1014
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1015
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1016
- options.sham - add a flag to not completely full polyfills
1017
- options.enumerable - export as enumerable property
1018
- options.noTargetGet - prevent calling a getter on target
1019
- options.name - the .name of the function if it does not match the key
1009
+ options.target - name of the target object
1010
+ options.global - target is the global object
1011
+ options.stat - export as static methods of target
1012
+ options.proto - export as prototype methods of target
1013
+ options.real - real prototype method for the `pure` version
1014
+ options.forced - export even if the native feature is available
1015
+ options.bind - bind methods to the target, required for the `pure` version
1016
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1017
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1018
+ options.sham - add a flag to not completely full polyfills
1019
+ options.enumerable - export as enumerable property
1020
+ options.dontCallGetSet - prevent calling a getter on target
1021
+ options.name - the .name of the function if it does not match the key
1020
1022
  */
1021
1023
  var _export = function (options, source) {
1022
1024
  var TARGET = options.target;
@@ -1024,15 +1026,15 @@ var _export = function (options, source) {
1024
1026
  var STATIC = options.stat;
1025
1027
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1026
1028
  if (GLOBAL) {
1027
- target = global$A;
1029
+ target = global$j;
1028
1030
  } else if (STATIC) {
1029
- target = global$A[TARGET] || setGlobal(TARGET, {});
1031
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1030
1032
  } else {
1031
- target = (global$A[TARGET] || {}).prototype;
1033
+ target = (global$j[TARGET] || {}).prototype;
1032
1034
  }
1033
1035
  if (target) for (key in source) {
1034
1036
  sourceProperty = source[key];
1035
- if (options.noTargetGet) {
1037
+ if (options.dontCallGetSet) {
1036
1038
  descriptor = getOwnPropertyDescriptor$3(target, key);
1037
1039
  targetProperty = descriptor && descriptor.value;
1038
1040
  } else targetProperty = target[key];
@@ -1073,17 +1075,17 @@ var IndexedObject$1 = indexedObject;
1073
1075
  // eslint-disable-next-line es-x/no-object-assign -- safe
1074
1076
  var $assign = Object.assign;
1075
1077
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1076
- var defineProperty$5 = Object.defineProperty;
1078
+ var defineProperty$6 = Object.defineProperty;
1077
1079
  var concat$1 = uncurryThis$n([].concat);
1078
1080
 
1079
1081
  // `Object.assign` method
1080
1082
  // https://tc39.es/ecma262/#sec-object.assign
1081
1083
  var objectAssign = !$assign || fails$k(function () {
1082
1084
  // should have correct order of operations (Edge bug)
1083
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1085
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1084
1086
  enumerable: true,
1085
1087
  get: function () {
1086
- defineProperty$5(this, 'b', {
1088
+ defineProperty$6(this, 'b', {
1087
1089
  value: 3,
1088
1090
  enumerable: false
1089
1091
  });
@@ -1403,7 +1405,7 @@ var objectDefineProperties = {};
1403
1405
 
1404
1406
  var DESCRIPTORS$6 = descriptors;
1405
1407
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1406
- var definePropertyModule$3 = objectDefineProperty;
1408
+ var definePropertyModule$2 = objectDefineProperty;
1407
1409
  var anObject$f = anObject$i;
1408
1410
  var toIndexedObject$1 = toIndexedObject$5;
1409
1411
  var objectKeys = objectKeys$2;
@@ -1418,7 +1420,7 @@ objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1418
1420
  var length = keys.length;
1419
1421
  var index = 0;
1420
1422
  var key;
1421
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1423
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1422
1424
  return O;
1423
1425
  };
1424
1426
 
@@ -1513,7 +1515,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1513
1515
 
1514
1516
  var wellKnownSymbol$j = wellKnownSymbol$l;
1515
1517
  var create$3 = objectCreate;
1516
- var definePropertyModule$2 = objectDefineProperty;
1518
+ var defineProperty$5 = objectDefineProperty.f;
1517
1519
 
1518
1520
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1519
1521
  var ArrayPrototype$1 = Array.prototype;
@@ -1521,7 +1523,7 @@ var ArrayPrototype$1 = Array.prototype;
1521
1523
  // Array.prototype[@@unscopables]
1522
1524
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1523
1525
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1524
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1526
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1525
1527
  configurable: true,
1526
1528
  value: create$3(null)
1527
1529
  });
@@ -1543,7 +1545,6 @@ var correctPrototypeGetter = !fails$j(function () {
1543
1545
  return Object.getPrototypeOf(new F()) !== F.prototype;
1544
1546
  });
1545
1547
 
1546
- var global$z = global$U;
1547
1548
  var hasOwn$7 = hasOwnProperty_1;
1548
1549
  var isCallable$e = isCallable$p;
1549
1550
  var toObject$4 = toObject$7;
@@ -1551,18 +1552,19 @@ var sharedKey = sharedKey$3;
1551
1552
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1552
1553
 
1553
1554
  var IE_PROTO = sharedKey('IE_PROTO');
1554
- var Object$2 = global$z.Object;
1555
- var ObjectPrototype = Object$2.prototype;
1555
+ var $Object$1 = Object;
1556
+ var ObjectPrototype = $Object$1.prototype;
1556
1557
 
1557
1558
  // `Object.getPrototypeOf` method
1558
1559
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1559
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1560
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1561
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1560
1562
  var object = toObject$4(O);
1561
1563
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1562
1564
  var constructor = object.constructor;
1563
1565
  if (isCallable$e(constructor) && object instanceof constructor) {
1564
1566
  return constructor.prototype;
1565
- } return object instanceof Object$2 ? ObjectPrototype : null;
1567
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1566
1568
  };
1567
1569
 
1568
1570
  var fails$i = fails$t;
@@ -1639,15 +1641,14 @@ var createIteratorConstructor$2 = function (IteratorConstructor, NAME, next, ENU
1639
1641
  return IteratorConstructor;
1640
1642
  };
1641
1643
 
1642
- var global$y = global$U;
1643
1644
  var isCallable$c = isCallable$p;
1644
1645
 
1645
- var String$4 = global$y.String;
1646
- var TypeError$c = global$y.TypeError;
1646
+ var $String$2 = String;
1647
+ var $TypeError$9 = TypeError;
1647
1648
 
1648
1649
  var aPossiblePrototype$1 = function (argument) {
1649
1650
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1650
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1651
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1651
1652
  };
1652
1653
 
1653
1654
  /* eslint-disable no-proto -- safe */
@@ -1687,7 +1688,7 @@ var createIteratorConstructor$1 = createIteratorConstructor$2;
1687
1688
  var getPrototypeOf = objectGetPrototypeOf;
1688
1689
  var setPrototypeOf$2 = objectSetPrototypeOf;
1689
1690
  var setToStringTag$3 = setToStringTag$5;
1690
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1691
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1691
1692
  var defineBuiltIn$8 = defineBuiltIn$b;
1692
1693
  var wellKnownSymbol$g = wellKnownSymbol$l;
1693
1694
  var Iterators$3 = iterators;
@@ -1880,11 +1881,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
1880
1881
 
1881
1882
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1882
1883
 
1883
- var global$x = global$U;
1884
+ var global$i = global$s;
1884
1885
  var DOMIterables = domIterables;
1885
1886
  var DOMTokenListPrototype = domTokenListPrototype;
1886
1887
  var ArrayIteratorMethods = es_array_iterator;
1887
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
1888
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
1888
1889
  var wellKnownSymbol$f = wellKnownSymbol$l;
1889
1890
 
1890
1891
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -1914,7 +1915,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1914
1915
  };
1915
1916
 
1916
1917
  for (var COLLECTION_NAME in DOMIterables) {
1917
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
1918
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
1918
1919
  }
1919
1920
 
1920
1921
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -1928,14 +1929,13 @@ test$1[TO_STRING_TAG$1] = 'z';
1928
1929
 
1929
1930
  var toStringTagSupport = String(test$1) === '[object z]';
1930
1931
 
1931
- var global$w = global$U;
1932
1932
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1933
1933
  var isCallable$a = isCallable$p;
1934
1934
  var classofRaw = classofRaw$1;
1935
1935
  var wellKnownSymbol$d = wellKnownSymbol$l;
1936
1936
 
1937
1937
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
1938
- var Object$1 = global$w.Object;
1938
+ var $Object = Object;
1939
1939
 
1940
1940
  // ES3 wrong here
1941
1941
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -1952,26 +1952,25 @@ var classof$7 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
1952
1952
  var O, tag, result;
1953
1953
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1954
1954
  // @@toStringTag case
1955
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
1955
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
1956
1956
  // builtinTag case
1957
1957
  : CORRECT_ARGUMENTS ? classofRaw(O)
1958
1958
  // ES3 arguments fallback
1959
1959
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
1960
1960
  };
1961
1961
 
1962
- var global$v = global$U;
1963
1962
  var classof$6 = classof$7;
1964
1963
 
1965
- var String$3 = global$v.String;
1964
+ var $String$1 = String;
1966
1965
 
1967
1966
  var toString$h = function (argument) {
1968
1967
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
1969
- return String$3(argument);
1968
+ return $String$1(argument);
1970
1969
  };
1971
1970
 
1972
1971
  var $$k = _export;
1973
1972
  var DESCRIPTORS$4 = descriptors;
1974
- var global$u = global$U;
1973
+ var global$h = global$s;
1975
1974
  var uncurryThis$l = functionUncurryThis;
1976
1975
  var hasOwn$5 = hasOwnProperty_1;
1977
1976
  var isCallable$9 = isCallable$p;
@@ -1980,7 +1979,7 @@ var toString$g = toString$h;
1980
1979
  var defineProperty$2 = objectDefineProperty.f;
1981
1980
  var copyConstructorProperties = copyConstructorProperties$2;
1982
1981
 
1983
- var NativeSymbol = global$u.Symbol;
1982
+ var NativeSymbol = global$h.Symbol;
1984
1983
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
1985
1984
 
1986
1985
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2060,14 +2059,13 @@ var isRegexp = function (it) {
2060
2059
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2061
2060
  };
2062
2061
 
2063
- var global$t = global$U;
2064
2062
  var isRegExp$2 = isRegexp;
2065
2063
 
2066
- var TypeError$b = global$t.TypeError;
2064
+ var $TypeError$8 = TypeError;
2067
2065
 
2068
2066
  var notARegexp = function (it) {
2069
2067
  if (isRegExp$2(it)) {
2070
- throw TypeError$b("The method doesn't accept regular expressions");
2068
+ throw $TypeError$8("The method doesn't accept regular expressions");
2071
2069
  } return it;
2072
2070
  };
2073
2071
 
@@ -2239,9 +2237,9 @@ Flex$1.defaultProps = {
2239
2237
  };
2240
2238
  Flex$1.displayName = 'Flex';
2241
2239
 
2242
- const _excluded$A = ["children"],
2240
+ const _excluded$B = ["children"],
2243
2241
  _excluded2$2 = ["children"];
2244
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2242
+ var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
2245
2243
  const GridComponent = styled('div', {
2246
2244
  display: 'grid',
2247
2245
  variants: {
@@ -2415,7 +2413,7 @@ const Grid = _ref => {
2415
2413
  let {
2416
2414
  children
2417
2415
  } = _ref,
2418
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2416
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
2419
2417
 
2420
2418
  return /*#__PURE__*/React__default.createElement(GridComponent, _extends({}, props, {
2421
2419
  css: Object.assign({}, props.css, {
@@ -2426,7 +2424,7 @@ const Grid = _ref => {
2426
2424
  }),
2427
2425
  __self: undefined,
2428
2426
  __source: {
2429
- fileName: _jsxFileName$$,
2427
+ fileName: _jsxFileName$10,
2430
2428
  lineNumber: 178,
2431
2429
  columnNumber: 5
2432
2430
  }
@@ -2482,7 +2480,7 @@ const GridItem = _ref2 => {
2482
2480
  }),
2483
2481
  __self: undefined,
2484
2482
  __source: {
2485
- fileName: _jsxFileName$$,
2483
+ fileName: _jsxFileName$10,
2486
2484
  lineNumber: 232,
2487
2485
  columnNumber: 5
2488
2486
  }
@@ -2499,8 +2497,8 @@ GridItem.propTypes = {
2499
2497
  };
2500
2498
  GridItem.displayName = 'Grid Item';
2501
2499
 
2502
- const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
2503
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2500
+ const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
2501
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
2504
2502
  const StyledDiv$3 = styled(Flex$1, {
2505
2503
  justifyContent: 'center',
2506
2504
  marginLeft: 'auto',
@@ -2529,7 +2527,7 @@ const PageContainer = _ref => {
2529
2527
  css,
2530
2528
  contentHeader
2531
2529
  } = _ref,
2532
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2530
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2533
2531
 
2534
2532
  return /*#__PURE__*/React__default.createElement(StyledDiv$3, _extends({
2535
2533
  id: "retina-container",
@@ -2539,7 +2537,7 @@ const PageContainer = _ref => {
2539
2537
  }, props, {
2540
2538
  __self: undefined,
2541
2539
  __source: {
2542
- fileName: _jsxFileName$_,
2540
+ fileName: _jsxFileName$$,
2543
2541
  lineNumber: 28,
2544
2542
  columnNumber: 5
2545
2543
  }
@@ -2855,8 +2853,8 @@ const Link = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
2855
2853
  }), void 0);
2856
2854
  });
2857
2855
 
2858
- const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2859
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2856
+ const _excluded$z = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2857
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
2860
2858
  const TOAST_WIDTH = 576;
2861
2859
  const ANIMATION_DURATION = 400;
2862
2860
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3028,7 +3026,7 @@ const Toast = _ref => {
3028
3026
  captionOfAction,
3029
3027
  hrefOfAction
3030
3028
  } = _ref,
3031
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3029
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
3032
3030
 
3033
3031
  const [isOpen, setIsOpen] = React.useState(false);
3034
3032
  const close = React.useCallback(() => {
@@ -3057,7 +3055,7 @@ const Toast = _ref => {
3057
3055
  onExited: onRemove,
3058
3056
  __self: undefined,
3059
3057
  __source: {
3060
- fileName: _jsxFileName$Z,
3058
+ fileName: _jsxFileName$_,
3061
3059
  lineNumber: 212,
3062
3060
  columnNumber: 5
3063
3061
  }
@@ -3069,7 +3067,7 @@ const Toast = _ref => {
3069
3067
  }, rest, {
3070
3068
  __self: undefined,
3071
3069
  __source: {
3072
- fileName: _jsxFileName$Z,
3070
+ fileName: _jsxFileName$_,
3073
3071
  lineNumber: 223,
3074
3072
  columnNumber: 9
3075
3073
  }
@@ -3079,7 +3077,7 @@ const Toast = _ref => {
3079
3077
  onClick: onClick,
3080
3078
  __self: undefined,
3081
3079
  __source: {
3082
- fileName: _jsxFileName$Z,
3080
+ fileName: _jsxFileName$_,
3083
3081
  lineNumber: 230,
3084
3082
  columnNumber: 11
3085
3083
  }
@@ -3087,7 +3085,7 @@ const Toast = _ref => {
3087
3085
  direction: "column",
3088
3086
  __self: undefined,
3089
3087
  __source: {
3090
- fileName: _jsxFileName$Z,
3088
+ fileName: _jsxFileName$_,
3091
3089
  lineNumber: 231,
3092
3090
  columnNumber: 13
3093
3091
  }
@@ -3095,7 +3093,7 @@ const Toast = _ref => {
3095
3093
  direction: "row",
3096
3094
  __self: undefined,
3097
3095
  __source: {
3098
- fileName: _jsxFileName$Z,
3096
+ fileName: _jsxFileName$_,
3099
3097
  lineNumber: 232,
3100
3098
  columnNumber: 15
3101
3099
  }
@@ -3103,7 +3101,7 @@ const Toast = _ref => {
3103
3101
  variant: variant,
3104
3102
  __self: undefined,
3105
3103
  __source: {
3106
- fileName: _jsxFileName$Z,
3104
+ fileName: _jsxFileName$_,
3107
3105
  lineNumber: 233,
3108
3106
  columnNumber: 17
3109
3107
  }
@@ -3115,7 +3113,7 @@ const Toast = _ref => {
3115
3113
  },
3116
3114
  __self: undefined,
3117
3115
  __source: {
3118
- fileName: _jsxFileName$Z,
3116
+ fileName: _jsxFileName$_,
3119
3117
  lineNumber: 234,
3120
3118
  columnNumber: 17
3121
3119
  }
@@ -3123,7 +3121,7 @@ const Toast = _ref => {
3123
3121
  justify: "between",
3124
3122
  __self: undefined,
3125
3123
  __source: {
3126
- fileName: _jsxFileName$Z,
3124
+ fileName: _jsxFileName$_,
3127
3125
  lineNumber: 242,
3128
3126
  columnNumber: 21
3129
3127
  }
@@ -3138,7 +3136,7 @@ const Toast = _ref => {
3138
3136
  },
3139
3137
  __self: undefined,
3140
3138
  __source: {
3141
- fileName: _jsxFileName$Z,
3139
+ fileName: _jsxFileName$_,
3142
3140
  lineNumber: 243,
3143
3141
  columnNumber: 23
3144
3142
  }
@@ -3147,7 +3145,7 @@ const Toast = _ref => {
3147
3145
  color: "secondary",
3148
3146
  __self: undefined,
3149
3147
  __source: {
3150
- fileName: _jsxFileName$Z,
3148
+ fileName: _jsxFileName$_,
3151
3149
  lineNumber: 257,
3152
3150
  columnNumber: 19
3153
3151
  }
@@ -3162,7 +3160,7 @@ const Toast = _ref => {
3162
3160
  hasTitle: !!title,
3163
3161
  __self: undefined,
3164
3162
  __source: {
3165
- fileName: _jsxFileName$Z,
3163
+ fileName: _jsxFileName$_,
3166
3164
  lineNumber: 261,
3167
3165
  columnNumber: 17
3168
3166
  }
@@ -3171,7 +3169,7 @@ const Toast = _ref => {
3171
3169
  size: "16px",
3172
3170
  __self: undefined,
3173
3171
  __source: {
3174
- fileName: _jsxFileName$Z,
3172
+ fileName: _jsxFileName$_,
3175
3173
  lineNumber: 271,
3176
3174
  columnNumber: 19
3177
3175
  }
@@ -3186,7 +3184,7 @@ const Toast = _ref => {
3186
3184
  },
3187
3185
  __self: undefined,
3188
3186
  __source: {
3189
- fileName: _jsxFileName$Z,
3187
+ fileName: _jsxFileName$_,
3190
3188
  lineNumber: 275,
3191
3189
  columnNumber: 17
3192
3190
  }
@@ -3210,7 +3208,7 @@ Toast.defaultProps = {
3210
3208
 
3211
3209
  const ToastContext = /*#__PURE__*/React.createContext({});
3212
3210
 
3213
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3211
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
3214
3212
  const ToastBox = styled(Flex$1, {
3215
3213
  position: 'fixed',
3216
3214
  variants: {
@@ -3258,7 +3256,7 @@ const ToastContainer = ({
3258
3256
  },
3259
3257
  __self: undefined,
3260
3258
  __source: {
3261
- fileName: _jsxFileName$Y,
3259
+ fileName: _jsxFileName$Z,
3262
3260
  lineNumber: 43,
3263
3261
  columnNumber: 5
3264
3262
  }
@@ -3266,7 +3264,7 @@ const ToastContainer = ({
3266
3264
  position: position,
3267
3265
  __self: undefined,
3268
3266
  __source: {
3269
- fileName: _jsxFileName$Y,
3267
+ fileName: _jsxFileName$Z,
3270
3268
  lineNumber: 44,
3271
3269
  columnNumber: 7
3272
3270
  }
@@ -3277,7 +3275,7 @@ const ToastContainer = ({
3277
3275
  }, toast, {
3278
3276
  __self: undefined,
3279
3277
  __source: {
3280
- fileName: _jsxFileName$Y,
3278
+ fileName: _jsxFileName$Z,
3281
3279
  lineNumber: 46,
3282
3280
  columnNumber: 18
3283
3281
  }
@@ -3285,8 +3283,8 @@ const ToastContainer = ({
3285
3283
  })));
3286
3284
  };
3287
3285
 
3288
- const _excluded$x = ["id"];
3289
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3286
+ const _excluded$y = ["id"];
3287
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
3290
3288
  let toastCount = 0;
3291
3289
 
3292
3290
  const ToastProvider = ({
@@ -3298,7 +3296,7 @@ const ToastProvider = ({
3298
3296
  const {
3299
3297
  id
3300
3298
  } = toast,
3301
- rest = _objectWithoutPropertiesLoose(toast, _excluded$x); // eslint-disable-next-line no-plusplus
3299
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$y); // eslint-disable-next-line no-plusplus
3302
3300
 
3303
3301
 
3304
3302
  const uniqueId = ++toastCount;
@@ -3328,7 +3326,7 @@ const ToastProvider = ({
3328
3326
  },
3329
3327
  __self: undefined,
3330
3328
  __source: {
3331
- fileName: _jsxFileName$X,
3329
+ fileName: _jsxFileName$Y,
3332
3330
  lineNumber: 43,
3333
3331
  columnNumber: 5
3334
3332
  }
@@ -3337,7 +3335,7 @@ const ToastProvider = ({
3337
3335
  position: TOP_RIGHT_POSITION,
3338
3336
  __self: undefined,
3339
3337
  __source: {
3340
- fileName: _jsxFileName$X,
3338
+ fileName: _jsxFileName$Y,
3341
3339
  lineNumber: 45,
3342
3340
  columnNumber: 7
3343
3341
  }
@@ -3346,7 +3344,7 @@ const ToastProvider = ({
3346
3344
  position: TOP_LEFT_POSITION,
3347
3345
  __self: undefined,
3348
3346
  __source: {
3349
- fileName: _jsxFileName$X,
3347
+ fileName: _jsxFileName$Y,
3350
3348
  lineNumber: 49,
3351
3349
  columnNumber: 7
3352
3350
  }
@@ -3355,7 +3353,7 @@ const ToastProvider = ({
3355
3353
  position: BOTTOM_RIGHT_POSITION,
3356
3354
  __self: undefined,
3357
3355
  __source: {
3358
- fileName: _jsxFileName$X,
3356
+ fileName: _jsxFileName$Y,
3359
3357
  lineNumber: 53,
3360
3358
  columnNumber: 7
3361
3359
  }
@@ -3364,14 +3362,14 @@ const ToastProvider = ({
3364
3362
  position: BOTTOM_LEFT_POSITION,
3365
3363
  __self: undefined,
3366
3364
  __source: {
3367
- fileName: _jsxFileName$X,
3365
+ fileName: _jsxFileName$Y,
3368
3366
  lineNumber: 57,
3369
3367
  columnNumber: 7
3370
3368
  }
3371
3369
  }));
3372
3370
  };
3373
3371
 
3374
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3372
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
3375
3373
 
3376
3374
  function MajooProvider({
3377
3375
  children,
@@ -3384,14 +3382,14 @@ function MajooProvider({
3384
3382
  theme: theme$1,
3385
3383
  __self: this,
3386
3384
  __source: {
3387
- fileName: _jsxFileName$W,
3385
+ fileName: _jsxFileName$X,
3388
3386
  lineNumber: 15,
3389
3387
  columnNumber: 10
3390
3388
  }
3391
3389
  }, /*#__PURE__*/React__default.createElement(ToastProvider, {
3392
3390
  __self: this,
3393
3391
  __source: {
3394
- fileName: _jsxFileName$W,
3392
+ fileName: _jsxFileName$X,
3395
3393
  lineNumber: 16,
3396
3394
  columnNumber: 5
3397
3395
  }
@@ -3405,8 +3403,8 @@ MajooProvider.propTypes = {
3405
3403
  disableGlobalStyle: PropTypes.bool
3406
3404
  };
3407
3405
 
3408
- const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3409
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3406
+ const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3407
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
3410
3408
  const Context$2 = /*#__PURE__*/React.createContext();
3411
3409
  const StyledBanner = styled(Flex$1, {
3412
3410
  maxWidth: '100%',
@@ -3492,19 +3490,19 @@ const BannerTitle = props => /*#__PURE__*/React.createElement(Title$2, _extends(
3492
3490
  }, props, {
3493
3491
  __self: undefined,
3494
3492
  __source: {
3495
- fileName: _jsxFileName$V,
3493
+ fileName: _jsxFileName$W,
3496
3494
  lineNumber: 95,
3497
3495
  columnNumber: 3
3498
3496
  }
3499
3497
  }), props.children);
3500
3498
  BannerTitle.propTypes = {
3501
- /**
3502
- Additional styles of title
3499
+ /**
3500
+ Additional styles of title
3503
3501
  */
3504
3502
  css: PropTypes.object,
3505
3503
 
3506
- /**
3507
- Title of the Banner to be displayed
3504
+ /**
3505
+ Title of the Banner to be displayed
3508
3506
  */
3509
3507
  children: PropTypes.string
3510
3508
  };
@@ -3514,19 +3512,19 @@ const BannerDescription = props => /*#__PURE__*/React.createElement(Description,
3514
3512
  }, props, {
3515
3513
  __self: undefined,
3516
3514
  __source: {
3517
- fileName: _jsxFileName$V,
3515
+ fileName: _jsxFileName$W,
3518
3516
  lineNumber: 112,
3519
3517
  columnNumber: 3
3520
3518
  }
3521
3519
  }), props.children);
3522
3520
  BannerDescription.propTypes = {
3523
- /**
3524
- Additional styles of description
3521
+ /**
3522
+ Additional styles of description
3525
3523
  */
3526
3524
  css: PropTypes.object,
3527
3525
 
3528
- /**
3529
- Description of the Banner to be displayed
3526
+ /**
3527
+ Description of the Banner to be displayed
3530
3528
  */
3531
3529
  children: PropTypes.string
3532
3530
  };
@@ -3537,7 +3535,7 @@ const BannerLink = ({
3537
3535
  }) => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3538
3536
  __self: undefined,
3539
3537
  __source: {
3540
- fileName: _jsxFileName$V,
3538
+ fileName: _jsxFileName$W,
3541
3539
  lineNumber: 129,
3542
3540
  columnNumber: 3
3543
3541
  }
@@ -3549,24 +3547,24 @@ const BannerLink = ({
3549
3547
  },
3550
3548
  __self: undefined,
3551
3549
  __source: {
3552
- fileName: _jsxFileName$V,
3550
+ fileName: _jsxFileName$W,
3553
3551
  lineNumber: 131,
3554
3552
  columnNumber: 7
3555
3553
  }
3556
3554
  }, children));
3557
3555
  BannerLink.propTypes = {
3558
- /**
3559
- The purpose of a clickable link, presented in url
3556
+ /**
3557
+ The purpose of a clickable link, presented in url
3560
3558
  */
3561
3559
  link: PropTypes.string,
3562
3560
 
3563
- /**
3564
- Text of BannerLink to be displayed
3561
+ /**
3562
+ Text of BannerLink to be displayed
3565
3563
  */
3566
3564
  children: PropTypes.string,
3567
3565
 
3568
- /**
3569
- Additional theme of BannerLink is presented by color variants
3566
+ /**
3567
+ Additional theme of BannerLink is presented by color variants
3570
3568
  */
3571
3569
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed'])
3572
3570
  };
@@ -3576,7 +3574,7 @@ BannerLink.defaultProps = {
3576
3574
  const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3577
3575
  __self: undefined,
3578
3576
  __source: {
3579
- fileName: _jsxFileName$V,
3577
+ fileName: _jsxFileName$W,
3580
3578
  lineNumber: 158,
3581
3579
  columnNumber: 3
3582
3580
  }
@@ -3584,11 +3582,11 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3584
3582
  onClick: e => {
3585
3583
  e.preventDefault();
3586
3584
  e.stopPropagation();
3587
- value === null || value === void 0 ? void 0 : value.onRemove();
3585
+ value == null ? void 0 : value.onRemove();
3588
3586
  },
3589
3587
  __self: undefined,
3590
3588
  __source: {
3591
- fileName: _jsxFileName$V,
3589
+ fileName: _jsxFileName$W,
3592
3590
  lineNumber: 160,
3593
3591
  columnNumber: 7
3594
3592
  }
@@ -3597,7 +3595,7 @@ const BannerClose = () => /*#__PURE__*/React.createElement(Context$2.Consumer, {
3597
3595
  size: "16px",
3598
3596
  __self: undefined,
3599
3597
  __source: {
3600
- fileName: _jsxFileName$V,
3598
+ fileName: _jsxFileName$W,
3601
3599
  lineNumber: 167,
3602
3600
  columnNumber: 9
3603
3601
  }
@@ -3607,7 +3605,7 @@ const SingleTagBanner = props => {
3607
3605
  return /*#__PURE__*/React.createElement(React.Fragment, {
3608
3606
  __self: undefined,
3609
3607
  __source: {
3610
- fileName: _jsxFileName$V,
3608
+ fileName: _jsxFileName$W,
3611
3609
  lineNumber: 175,
3612
3610
  columnNumber: 5
3613
3611
  }
@@ -3617,7 +3615,7 @@ const SingleTagBanner = props => {
3617
3615
  align: "end",
3618
3616
  __self: undefined,
3619
3617
  __source: {
3620
- fileName: _jsxFileName$V,
3618
+ fileName: _jsxFileName$W,
3621
3619
  lineNumber: 176,
3622
3620
  columnNumber: 7
3623
3621
  }
@@ -3630,21 +3628,21 @@ const SingleTagBanner = props => {
3630
3628
  },
3631
3629
  __self: undefined,
3632
3630
  __source: {
3633
- fileName: _jsxFileName$V,
3631
+ fileName: _jsxFileName$W,
3634
3632
  lineNumber: 177,
3635
3633
  columnNumber: 9
3636
3634
  }
3637
3635
  }, props.title && /*#__PURE__*/React.createElement(BannerTitle, {
3638
3636
  __self: undefined,
3639
3637
  __source: {
3640
- fileName: _jsxFileName$V,
3638
+ fileName: _jsxFileName$W,
3641
3639
  lineNumber: 185,
3642
3640
  columnNumber: 27
3643
3641
  }
3644
3642
  }, props.title), props.description && /*#__PURE__*/React.createElement(BannerDescription, {
3645
3643
  __self: undefined,
3646
3644
  __source: {
3647
- fileName: _jsxFileName$V,
3645
+ fileName: _jsxFileName$W,
3648
3646
  lineNumber: 186,
3649
3647
  columnNumber: 33
3650
3648
  }
@@ -3653,7 +3651,7 @@ const SingleTagBanner = props => {
3653
3651
  variant: props.variant,
3654
3652
  __self: undefined,
3655
3653
  __source: {
3656
- fileName: _jsxFileName$V,
3654
+ fileName: _jsxFileName$W,
3657
3655
  lineNumber: 189,
3658
3656
  columnNumber: 11
3659
3657
  }
@@ -3661,12 +3659,12 @@ const SingleTagBanner = props => {
3661
3659
  onClick: e => {
3662
3660
  e.preventDefault();
3663
3661
  e.stopPropagation();
3664
- props === null || props === void 0 ? void 0 : props.onRemove();
3662
+ props == null ? void 0 : props.onRemove();
3665
3663
  },
3666
3664
  closeCenter: !props.title && !props.link,
3667
3665
  __self: undefined,
3668
3666
  __source: {
3669
- fileName: _jsxFileName$V,
3667
+ fileName: _jsxFileName$W,
3670
3668
  lineNumber: 194,
3671
3669
  columnNumber: 7
3672
3670
  }
@@ -3675,7 +3673,7 @@ const SingleTagBanner = props => {
3675
3673
  size: "16px",
3676
3674
  __self: undefined,
3677
3675
  __source: {
3678
- fileName: _jsxFileName$V,
3676
+ fileName: _jsxFileName$W,
3679
3677
  lineNumber: 202,
3680
3678
  columnNumber: 9
3681
3679
  }
@@ -3694,7 +3692,7 @@ const Banner = _ref => {
3694
3692
  children,
3695
3693
  bannerBlock
3696
3694
  } = _ref,
3697
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3695
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3698
3696
 
3699
3697
  return /*#__PURE__*/React.createElement(StyledBanner, _extends({
3700
3698
  variant: variant,
@@ -3704,7 +3702,7 @@ const Banner = _ref => {
3704
3702
  }, rest, {
3705
3703
  __self: undefined,
3706
3704
  __source: {
3707
- fileName: _jsxFileName$V,
3705
+ fileName: _jsxFileName$W,
3708
3706
  lineNumber: 210,
3709
3707
  columnNumber: 5
3710
3708
  }
@@ -3721,7 +3719,7 @@ const Banner = _ref => {
3721
3719
  },
3722
3720
  __self: undefined,
3723
3721
  __source: {
3724
- fileName: _jsxFileName$V,
3722
+ fileName: _jsxFileName$W,
3725
3723
  lineNumber: 212,
3726
3724
  columnNumber: 9
3727
3725
  }
@@ -3732,7 +3730,7 @@ const Banner = _ref => {
3732
3730
  },
3733
3731
  __self: undefined,
3734
3732
  __source: {
3735
- fileName: _jsxFileName$V,
3733
+ fileName: _jsxFileName$W,
3736
3734
  lineNumber: 219,
3737
3735
  columnNumber: 11
3738
3736
  }
@@ -3746,7 +3744,7 @@ const Banner = _ref => {
3746
3744
  onRemove: onRemove,
3747
3745
  __self: undefined,
3748
3746
  __source: {
3749
- fileName: _jsxFileName$V,
3747
+ fileName: _jsxFileName$W,
3750
3748
  lineNumber: 222,
3751
3749
  columnNumber: 9
3752
3750
  }
@@ -3757,43 +3755,43 @@ Banner.displayName = 'Banner';
3757
3755
  BannerTitle.displayName = 'BannerTitle';
3758
3756
  BannerDescription.displayName = 'BannerDescription';
3759
3757
  Banner.propTypes = {
3760
- /**
3761
- Title of banner to be displayed
3758
+ /**
3759
+ Title of banner to be displayed
3762
3760
  */
3763
3761
  title: PropTypes.string,
3764
3762
 
3765
- /**
3766
- Description of banner to be displayed
3763
+ /**
3764
+ Description of banner to be displayed
3767
3765
  */
3768
3766
  description: PropTypes.string,
3769
3767
 
3770
- /**
3771
- The banner theme is presented in color variants
3768
+ /**
3769
+ The banner theme is presented in color variants
3772
3770
  */
3773
3771
  variant: PropTypes.oneOf(['info', 'warning', 'success', 'failed']),
3774
3772
 
3775
- /**
3776
- The purpose of a clickable link, presented in url
3773
+ /**
3774
+ The purpose of a clickable link, presented in url
3777
3775
  */
3778
3776
  link: PropTypes.string,
3779
3777
 
3780
- /**
3781
- Text of button link to be displayed
3778
+ /**
3779
+ Text of button link to be displayed
3782
3780
  */
3783
3781
  linkText: PropTypes.string,
3784
3782
 
3785
- /**
3786
- Clickable event handler
3783
+ /**
3784
+ Clickable event handler
3787
3785
  */
3788
3786
  onClick: PropTypes.func,
3789
3787
 
3790
- /**
3791
- Closable event handler
3788
+ /**
3789
+ Closable event handler
3792
3790
  */
3793
3791
  onRemove: PropTypes.func,
3794
3792
 
3795
- /**
3796
- Block type banner to display in full width
3793
+ /**
3794
+ Block type banner to display in full width
3797
3795
  */
3798
3796
  bannerBlock: PropTypes.bool
3799
3797
  };
@@ -4089,8 +4087,8 @@ const Button$3 = /*#__PURE__*/React.forwardRef((_a, forwardedRef) => {
4089
4087
  }), void 0);
4090
4088
  });
4091
4089
 
4092
- const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4093
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4090
+ const _excluded$w = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4091
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
4094
4092
  const CardComponent = styled('div', {
4095
4093
  padding: '12px',
4096
4094
  height: 'auto',
@@ -4227,7 +4225,7 @@ const Card$1 = _ref => {
4227
4225
  textColor,
4228
4226
  icon
4229
4227
  } = _ref,
4230
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4228
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4231
4229
 
4232
4230
  return /*#__PURE__*/React__default.createElement(CardComponent, {
4233
4231
  className: className,
@@ -4240,7 +4238,7 @@ const Card$1 = _ref => {
4240
4238
  }, props.css),
4241
4239
  __self: undefined,
4242
4240
  __source: {
4243
- fileName: _jsxFileName$U,
4241
+ fileName: _jsxFileName$V,
4244
4242
  lineNumber: 102,
4245
4243
  columnNumber: 5
4246
4244
  }
@@ -4248,14 +4246,14 @@ const Card$1 = _ref => {
4248
4246
  color: color,
4249
4247
  __self: undefined,
4250
4248
  __source: {
4251
- fileName: _jsxFileName$U,
4249
+ fileName: _jsxFileName$V,
4252
4250
  lineNumber: 113,
4253
4251
  columnNumber: 7
4254
4252
  }
4255
4253
  }), title !== '' ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, icon !== undefined ? /*#__PURE__*/React__default.createElement(StyledTitle$2, {
4256
4254
  __self: undefined,
4257
4255
  __source: {
4258
- fileName: _jsxFileName$U,
4256
+ fileName: _jsxFileName$V,
4259
4257
  lineNumber: 117,
4260
4258
  columnNumber: 13
4261
4259
  }
@@ -4264,14 +4262,14 @@ const Card$1 = _ref => {
4264
4262
  iconColor: color,
4265
4263
  __self: undefined,
4266
4264
  __source: {
4267
- fileName: _jsxFileName$U,
4265
+ fileName: _jsxFileName$V,
4268
4266
  lineNumber: 118,
4269
4267
  columnNumber: 15
4270
4268
  }
4271
4269
  }, icon), title) : /*#__PURE__*/React__default.createElement(StyledTitle$2, {
4272
4270
  __self: undefined,
4273
4271
  __source: {
4274
- fileName: _jsxFileName$U,
4272
+ fileName: _jsxFileName$V,
4275
4273
  lineNumber: 124,
4276
4274
  columnNumber: 13
4277
4275
  }
@@ -4297,8 +4295,8 @@ Card$1.defaultProps = {
4297
4295
  title: ''
4298
4296
  };
4299
4297
 
4300
- const _excluded$u = ["children"];
4301
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4298
+ const _excluded$v = ["children"];
4299
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
4302
4300
  const BreadcrumbStyle = styled('nav', {
4303
4301
  wordWrap: 'break-word',
4304
4302
  '& li+li:before': {
@@ -4344,7 +4342,7 @@ const BreadcrumbLinkBase = props => {
4344
4342
  return /*#__PURE__*/React__default.createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
4345
4343
  __self: undefined,
4346
4344
  __source: {
4347
- fileName: _jsxFileName$T,
4345
+ fileName: _jsxFileName$U,
4348
4346
  lineNumber: 42,
4349
4347
  columnNumber: 10
4350
4348
  }
@@ -4355,20 +4353,20 @@ const BreadcrumbBase = _ref => {
4355
4353
  let {
4356
4354
  children
4357
4355
  } = _ref,
4358
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4356
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4359
4357
 
4360
4358
  return /*#__PURE__*/React__default.createElement(BreadcrumbStyle, _extends({}, rest, {
4361
4359
  "aria-label": "breadcrumb",
4362
4360
  __self: undefined,
4363
4361
  __source: {
4364
- fileName: _jsxFileName$T,
4362
+ fileName: _jsxFileName$U,
4365
4363
  lineNumber: 47,
4366
4364
  columnNumber: 5
4367
4365
  }
4368
4366
  }), /*#__PURE__*/React__default.createElement(Ol, {
4369
4367
  __self: undefined,
4370
4368
  __source: {
4371
- fileName: _jsxFileName$T,
4369
+ fileName: _jsxFileName$U,
4372
4370
  lineNumber: 48,
4373
4371
  columnNumber: 7
4374
4372
  }
@@ -4573,8 +4571,8 @@ Badge.defaultProps = {
4573
4571
  };
4574
4572
  Badge.displayName = 'Badge';
4575
4573
 
4576
- const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4577
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4574
+ const _excluded$u = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4575
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
4578
4576
  const StyledAvatar = styled(AvatarPrimitive.Root, {
4579
4577
  width: '32px',
4580
4578
  height: '32px',
@@ -4618,7 +4616,7 @@ function Avatar(_ref) {
4618
4616
  onClick,
4619
4617
  css
4620
4618
  } = _ref,
4621
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4619
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4622
4620
 
4623
4621
  return /*#__PURE__*/React__default.createElement(StyledAvatar, _extends({
4624
4622
  className: className,
@@ -4627,7 +4625,7 @@ function Avatar(_ref) {
4627
4625
  }, props, {
4628
4626
  __self: this,
4629
4627
  __source: {
4630
- fileName: _jsxFileName$S,
4628
+ fileName: _jsxFileName$T,
4631
4629
  lineNumber: 46,
4632
4630
  columnNumber: 5
4633
4631
  }
@@ -4637,7 +4635,7 @@ function Avatar(_ref) {
4637
4635
  onLoadingStatusChange: onLoadingStatusChange,
4638
4636
  __self: this,
4639
4637
  __source: {
4640
- fileName: _jsxFileName$S,
4638
+ fileName: _jsxFileName$T,
4641
4639
  lineNumber: 47,
4642
4640
  columnNumber: 21
4643
4641
  }
@@ -4645,21 +4643,21 @@ function Avatar(_ref) {
4645
4643
  delayMs: delayMs,
4646
4644
  __self: this,
4647
4645
  __source: {
4648
- fileName: _jsxFileName$S,
4646
+ fileName: _jsxFileName$T,
4649
4647
  lineNumber: 48,
4650
4648
  columnNumber: 7
4651
4649
  }
4652
4650
  }, children !== undefined ? /*#__PURE__*/React__default.createElement(React__default.Fragment, null, children) : /*#__PURE__*/React__default.createElement(StyledIcon, {
4653
4651
  __self: this,
4654
4652
  __source: {
4655
- fileName: _jsxFileName$S,
4653
+ fileName: _jsxFileName$T,
4656
4654
  lineNumber: 52,
4657
4655
  columnNumber: 11
4658
4656
  }
4659
4657
  }, /*#__PURE__*/React__default.createElement(UserFilled, {
4660
4658
  __self: this,
4661
4659
  __source: {
4662
- fileName: _jsxFileName$S,
4660
+ fileName: _jsxFileName$T,
4663
4661
  lineNumber: 53,
4664
4662
  columnNumber: 13
4665
4663
  }
@@ -4676,8 +4674,8 @@ Avatar.defaultProps = {
4676
4674
  delayMs: 0
4677
4675
  };
4678
4676
 
4679
- const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4680
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4677
+ const _excluded$t = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4678
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
4681
4679
  const ContainerFallback = styled(Flex$1, {
4682
4680
  boxSizing: 'border-box',
4683
4681
  border: '2px dashed #C0C4C4',
@@ -4726,7 +4724,7 @@ function Image(_ref) {
4726
4724
  cssFallback,
4727
4725
  rounded
4728
4726
  } = _ref,
4729
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
4727
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4730
4728
 
4731
4729
  if (src || fallback) {
4732
4730
  return /*#__PURE__*/React__default.createElement(StyledImage, _extends({
@@ -4743,7 +4741,7 @@ function Image(_ref) {
4743
4741
  }, props, {
4744
4742
  __self: this,
4745
4743
  __source: {
4746
- fileName: _jsxFileName$R,
4744
+ fileName: _jsxFileName$S,
4747
4745
  lineNumber: 59,
4748
4746
  columnNumber: 7
4749
4747
  }
@@ -4759,14 +4757,14 @@ function Image(_ref) {
4759
4757
  }, cssFallback),
4760
4758
  __self: this,
4761
4759
  __source: {
4762
- fileName: _jsxFileName$R,
4760
+ fileName: _jsxFileName$S,
4763
4761
  lineNumber: 73,
4764
4762
  columnNumber: 7
4765
4763
  }
4766
4764
  }, /*#__PURE__*/React__default.createElement(TextFallback, {
4767
4765
  __self: this,
4768
4766
  __source: {
4769
- fileName: _jsxFileName$R,
4767
+ fileName: _jsxFileName$S,
4770
4768
  lineNumber: 74,
4771
4769
  columnNumber: 9
4772
4770
  }
@@ -4774,58 +4772,58 @@ function Image(_ref) {
4774
4772
  }
4775
4773
  }
4776
4774
  Image.propTypes = {
4777
- /**
4778
- Additional className for img element.
4775
+ /**
4776
+ Additional className for img element.
4779
4777
  */
4780
4778
  className: PropTypes.string,
4781
4779
 
4782
- /**
4783
- Which is used to specify the source of an image.
4780
+ /**
4781
+ Which is used to specify the source of an image.
4784
4782
  */
4785
4783
  src: PropTypes.string,
4786
4784
 
4787
- /**
4788
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4785
+ /**
4786
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4789
4787
  */
4790
4788
  alt: PropTypes.string,
4791
4789
 
4792
- /**
4793
- Additional css for img element.
4790
+ /**
4791
+ Additional css for img element.
4794
4792
  */
4795
4793
  css: PropTypes.object,
4796
4794
 
4797
- /**
4798
- Additional css for default fallback element.
4795
+ /**
4796
+ Additional css for default fallback element.
4799
4797
  */
4800
4798
  cssFallback: PropTypes.object,
4801
4799
 
4802
- /**
4803
- Custom width of img element.
4800
+ /**
4801
+ Custom width of img element.
4804
4802
  */
4805
4803
  width: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4806
4804
 
4807
- /**
4808
- Custom height of img element.
4805
+ /**
4806
+ Custom height of img element.
4809
4807
  */
4810
4808
  height: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
4811
4809
 
4812
- /**
4813
- Set image to circle.
4810
+ /**
4811
+ Set image to circle.
4814
4812
  */
4815
4813
  rounded: PropTypes.bool,
4816
4814
 
4817
- /**
4818
- Used to specify how an <img> should be resized to fit its container.
4815
+ /**
4816
+ Used to specify how an <img> should be resized to fit its container.
4819
4817
  */
4820
4818
  objectFit: PropTypes.string,
4821
4819
 
4822
- /**
4823
- Custom fallback if image url doesn't exist.
4820
+ /**
4821
+ Custom fallback if image url doesn't exist.
4824
4822
  */
4825
4823
  fallback: PropTypes.string,
4826
4824
 
4827
- /**
4828
- Custom fallback title for default fallback.
4825
+ /**
4826
+ Custom fallback title for default fallback.
4829
4827
  */
4830
4828
  fallbackTitle: PropTypes.string
4831
4829
  };
@@ -4834,8 +4832,8 @@ Image.defaultProps = {
4834
4832
  fallbackTitle: 'Tidak ada foto'
4835
4833
  };
4836
4834
 
4837
- const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
4838
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4835
+ const _excluded$s = ["children", "label", "color", "css", "withClick", "side", "align"];
4836
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4839
4837
  const {
4840
4838
  zIndices: zIndices$1
4841
4839
  } = foundations;
@@ -4949,13 +4947,13 @@ const Tooltip$1 = _ref => {
4949
4947
  side,
4950
4948
  align
4951
4949
  } = _ref,
4952
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$r);
4950
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
4953
4951
 
4954
4952
  const [open, setOpen] = useState(false);
4955
4953
  return /*#__PURE__*/React__default.createElement(Provider, {
4956
4954
  __self: undefined,
4957
4955
  __source: {
4958
- fileName: _jsxFileName$Q,
4956
+ fileName: _jsxFileName$R,
4959
4957
  lineNumber: 91,
4960
4958
  columnNumber: 5
4961
4959
  }
@@ -4963,7 +4961,7 @@ const Tooltip$1 = _ref => {
4963
4961
  open: withClick ? open : undefined,
4964
4962
  __self: undefined,
4965
4963
  __source: {
4966
- fileName: _jsxFileName$Q,
4964
+ fileName: _jsxFileName$R,
4967
4965
  lineNumber: 92,
4968
4966
  columnNumber: 7
4969
4967
  }
@@ -4971,7 +4969,7 @@ const Tooltip$1 = _ref => {
4971
4969
  asChild: true,
4972
4970
  __self: undefined,
4973
4971
  __source: {
4974
- fileName: _jsxFileName$Q,
4972
+ fileName: _jsxFileName$R,
4975
4973
  lineNumber: 93,
4976
4974
  columnNumber: 9
4977
4975
  }
@@ -4979,14 +4977,14 @@ const Tooltip$1 = _ref => {
4979
4977
  onClick: () => withClick ? setOpen(!open) : undefined,
4980
4978
  __self: undefined,
4981
4979
  __source: {
4982
- fileName: _jsxFileName$Q,
4980
+ fileName: _jsxFileName$R,
4983
4981
  lineNumber: 94,
4984
4982
  columnNumber: 11
4985
4983
  }
4986
4984
  }, children)), /*#__PURE__*/React__default.createElement(TooltipPrimitive.Portal, {
4987
4985
  __self: undefined,
4988
4986
  __source: {
4989
- fileName: _jsxFileName$Q,
4987
+ fileName: _jsxFileName$R,
4990
4988
  lineNumber: 96,
4991
4989
  columnNumber: 9
4992
4990
  }
@@ -4997,7 +4995,7 @@ const Tooltip$1 = _ref => {
4997
4995
  css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
4998
4996
  __self: undefined,
4999
4997
  __source: {
5000
- fileName: _jsxFileName$Q,
4998
+ fileName: _jsxFileName$R,
5001
4999
  lineNumber: 97,
5002
5000
  columnNumber: 11
5003
5001
  }
@@ -5006,7 +5004,7 @@ const Tooltip$1 = _ref => {
5006
5004
  css: color === 'dark' ? darkArrow : lightArrow,
5007
5005
  __self: undefined,
5008
5006
  __source: {
5009
- fileName: _jsxFileName$Q,
5007
+ fileName: _jsxFileName$R,
5010
5008
  lineNumber: 104,
5011
5009
  columnNumber: 13
5012
5010
  }
@@ -5028,15 +5026,15 @@ Tooltip$1.defaultProps = {
5028
5026
  children: /*#__PURE__*/React__default.createElement("div", {
5029
5027
  __self: undefined,
5030
5028
  __source: {
5031
- fileName: _jsxFileName$Q,
5029
+ fileName: _jsxFileName$R,
5032
5030
  lineNumber: 125,
5033
5031
  columnNumber: 13
5034
5032
  }
5035
5033
  })
5036
5034
  };
5037
5035
 
5038
- const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5039
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5036
+ const _excluded$r = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5037
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
5040
5038
  const StyledProgress$1 = styled$1(ProgressPrimitive.Root, {
5041
5039
  position: 'relative',
5042
5040
  overflow: 'hidden',
@@ -5154,7 +5152,7 @@ function Progress$1(_ref) {
5154
5152
  rounded,
5155
5153
  width
5156
5154
  } = _ref,
5157
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5155
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
5158
5156
 
5159
5157
  return /*#__PURE__*/React__default.createElement(StyledProgress$1, _extends({
5160
5158
  className: className,
@@ -5170,7 +5168,7 @@ function Progress$1(_ref) {
5170
5168
  }, props, {
5171
5169
  __self: this,
5172
5170
  __source: {
5173
- fileName: _jsxFileName$P,
5171
+ fileName: _jsxFileName$Q,
5174
5172
  lineNumber: 88,
5175
5173
  columnNumber: 5
5176
5174
  }
@@ -5183,7 +5181,7 @@ function Progress$1(_ref) {
5183
5181
  },
5184
5182
  __self: this,
5185
5183
  __source: {
5186
- fileName: _jsxFileName$P,
5184
+ fileName: _jsxFileName$Q,
5187
5185
  lineNumber: 89,
5188
5186
  columnNumber: 7
5189
5187
  }
@@ -5206,33 +5204,49 @@ Progress$1.defaultProps = {
5206
5204
  rounded: true
5207
5205
  };
5208
5206
 
5209
- const formLabelStyle = {
5210
- '& > .form-label': {
5211
- alignItems: 'start !important',
5212
- '& > div': {
5213
- width: 175
5214
- },
5215
- '& > div > span[role="label"]': {
5207
+ const ConditionalWrapper = ({
5208
+ condition,
5209
+ wrapper,
5210
+ children
5211
+ }) => condition ? wrapper(children) : children;
5212
+
5213
+ const _excluded$q = ["count", "maxCount", "css"];
5214
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
5215
+ const formLabelClassStyle = {
5216
+ alignItems: 'start !important',
5217
+ '& > div': {
5218
+ width: 175
5219
+ },
5220
+ '& > div > span[role="label"]': {
5221
+ color: '$textPrimary',
5222
+ fontSize: '$label',
5223
+ fontWeight: 500,
5224
+ lineHeight: '$label',
5225
+ letterSpacings: '$label',
5226
+ '@md': {
5216
5227
  color: '$textPrimary',
5217
- fontSize: '$label',
5218
- fontWeight: 500,
5219
- lineHeight: '$label',
5220
- letterSpacings: '$label',
5221
- '@md': {
5222
- color: '$textPrimary',
5223
- fontSize: '$section-sub-title',
5224
- fontWeight: 600,
5225
- lineHeight: '$section-sub-title',
5226
- letterSpacings: '$section-sub-title'
5227
- }
5228
+ fontSize: '$section-sub-title',
5229
+ fontWeight: 600,
5230
+ lineHeight: '$section-sub-title',
5231
+ letterSpacings: '$section-sub-title'
5228
5232
  }
5229
5233
  }
5230
5234
  };
5231
- const FormGroup = styled('div', {
5235
+ const formLabelStyle = {
5236
+ '& > .form-label': Object.assign({}, formLabelClassStyle)
5237
+ };
5238
+ const StyledFormGroup = styled('div', {
5232
5239
  display: 'grid',
5233
5240
  gridTemplateColumns: '1fr',
5234
5241
  rowGap: '$spacing-03',
5235
5242
  variants: {
5243
+ withCounter: {
5244
+ true: {
5245
+ '& > .form-label': Object.assign({
5246
+ marginTop: '-24px'
5247
+ }, formLabelClassStyle)
5248
+ }
5249
+ },
5236
5250
  responsive: {
5237
5251
  input: Object.assign({
5238
5252
  display: 'grid',
@@ -5294,10 +5308,64 @@ const FormGroup = styled('div', {
5294
5308
  }
5295
5309
  }
5296
5310
  });
5311
+
5312
+ const FormGroup = _ref => {
5313
+ let {
5314
+ count,
5315
+ maxCount,
5316
+ css
5317
+ } = _ref,
5318
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5319
+
5320
+ const withCounter = Boolean(count || maxCount);
5321
+ return /*#__PURE__*/React__default.createElement(ConditionalWrapper, {
5322
+ condition: withCounter,
5323
+ wrapper: children => /*#__PURE__*/React__default.createElement(Flex$1, {
5324
+ direction: "column",
5325
+ css: css,
5326
+ __self: undefined,
5327
+ __source: {
5328
+ fileName: _jsxFileName$P,
5329
+ lineNumber: 115,
5330
+ columnNumber: 9
5331
+ }
5332
+ }, /*#__PURE__*/React__default.createElement(Text$1, {
5333
+ variant: "label",
5334
+ color: "disable",
5335
+ css: {
5336
+ alignSelf: 'end',
5337
+ marginBottom: '$spacing-03'
5338
+ },
5339
+ __self: undefined,
5340
+ __source: {
5341
+ fileName: _jsxFileName$P,
5342
+ lineNumber: 116,
5343
+ columnNumber: 11
5344
+ }
5345
+ }, count, "/", maxCount), children),
5346
+ __self: undefined,
5347
+ __source: {
5348
+ fileName: _jsxFileName$P,
5349
+ lineNumber: 112,
5350
+ columnNumber: 5
5351
+ }
5352
+ }, /*#__PURE__*/React__default.createElement(StyledFormGroup, _extends({
5353
+ withCounter: withCounter,
5354
+ css: Object.assign({}, !withCounter && Object.assign({}, css))
5355
+ }, props, {
5356
+ __self: undefined,
5357
+ __source: {
5358
+ fileName: _jsxFileName$P,
5359
+ lineNumber: 123,
5360
+ columnNumber: 7
5361
+ }
5362
+ })));
5363
+ };
5364
+
5297
5365
  FormGroup.displayName = 'FormGroup';
5298
5366
 
5299
5367
  const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
5300
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5368
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
5301
5369
  const StyledLabel$1 = styled(LabelPrimitive.Root, Text$1, {
5302
5370
  display: 'inline-block',
5303
5371
  fontSize: '$label',
@@ -5417,7 +5485,7 @@ FormLabel.defaultProps = {
5417
5485
  FormLabel.displayName = 'FormLabel';
5418
5486
 
5419
5487
  const _excluded$o = ["children", "error", "errorMessage"];
5420
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5488
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
5421
5489
  const StyledHelper = styled(Text$1, {
5422
5490
  display: 'inline-block',
5423
5491
  color: '$textSecondary',
@@ -5478,7 +5546,7 @@ FormHelper.propTypes = {
5478
5546
  };
5479
5547
  FormHelper.displayName = 'FormHelper';
5480
5548
 
5481
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5549
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
5482
5550
  const CheckboxContext = /*#__PURE__*/createContext();
5483
5551
 
5484
5552
  const CheckboxGroup = ({
@@ -5541,7 +5609,7 @@ CheckboxGroup.defaultProps = {
5541
5609
  };
5542
5610
  CheckboxGroup.displayName = 'CheckboxGroup';
5543
5611
 
5544
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5612
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
5545
5613
 
5546
5614
  const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
5547
5615
  xmlns: "http://www.w3.org/2000/svg",
@@ -5589,7 +5657,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
5589
5657
  }
5590
5658
  }));
5591
5659
 
5592
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5660
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
5593
5661
 
5594
5662
  const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
5595
5663
  xmlns: "http://www.w3.org/2000/svg",
@@ -5638,7 +5706,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
5638
5706
  }));
5639
5707
 
5640
5708
  const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5641
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5709
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
5642
5710
  const StyledIndicator$2 = styled(CheckboxPrimitive.Indicator, {
5643
5711
  alignItems: 'center',
5644
5712
  display: 'flex',
@@ -5703,7 +5771,7 @@ const Checkbox = _ref => {
5703
5771
  const [isChecked, setChecked] = useState(false);
5704
5772
  useEffect(() => {
5705
5773
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5706
- setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5774
+ setChecked(checkValue != null ? checkValue : false);
5707
5775
  }, [checked, indeterminate, context]);
5708
5776
  return /*#__PURE__*/React__default.createElement(StyledCheckbox, _extends({
5709
5777
  id: id,
@@ -5804,7 +5872,7 @@ InputCheckbox.propTypes = {
5804
5872
  InputCheckbox.displayName = 'InputCheckbox';
5805
5873
 
5806
5874
  const _excluded$m = ["children", "size"];
5807
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5875
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
5808
5876
  const InputGroupStyle = styled('div', {
5809
5877
  display: 'flex',
5810
5878
  width: '100%',
@@ -5951,13 +6019,13 @@ const InputGroup = _ref => {
5951
6019
  }));
5952
6020
  };
5953
6021
  InputGroup.propTypes = {
5954
- /**
5955
- Adjust Input Text Size
6022
+ /**
6023
+ Adjust Input Text Size
5956
6024
  */
5957
6025
  size: PropTypes.oneOf(['sm', 'lg']),
5958
6026
 
5959
- /**
5960
- Children must be InputText, InputAddon, or InputPrefixes
6027
+ /**
6028
+ Children must be InputText, InputAddon, or InputPrefixes
5961
6029
  */
5962
6030
  children: PropTypes.node.isRequired,
5963
6031
 
@@ -6123,7 +6191,7 @@ InputSuffix.propTypes = {
6123
6191
  };
6124
6192
 
6125
6193
  const _excluded$l = ["disabled", "readOnly"];
6126
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6194
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
6127
6195
  const disabledStyle = {
6128
6196
  backgroundColor: '$formDisable',
6129
6197
  color: '$textDisable',
@@ -6201,6 +6269,8 @@ const StyledInput$1 = styled('input', {
6201
6269
  },
6202
6270
  inputGroup: {
6203
6271
  true: {
6272
+ paddingLeft: 0,
6273
+ paddingRight: 0,
6204
6274
  border: 'none',
6205
6275
  borderRadius: '$lg',
6206
6276
  '&:focus': {
@@ -6220,7 +6290,7 @@ const StyledInput$1 = styled('input', {
6220
6290
  color: '$textDisable'
6221
6291
  },
6222
6292
  '&:hover': {
6223
- border: '1px solid $colors$gray300'
6293
+ border: 'none'
6224
6294
  }
6225
6295
  }
6226
6296
  }
@@ -6277,7 +6347,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6277
6347
  __self: undefined,
6278
6348
  __source: {
6279
6349
  fileName: _jsxFileName$H,
6280
- lineNumber: 151,
6350
+ lineNumber: 153,
6281
6351
  columnNumber: 3
6282
6352
  }
6283
6353
  }));
@@ -6285,7 +6355,7 @@ const InputText = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6285
6355
  InputText.displayName = 'InputText';
6286
6356
 
6287
6357
  const _excluded$k = ["disabled", "readOnly"];
6288
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6358
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
6289
6359
  const StyledTextArea = styled(StyledInput$1, {
6290
6360
  variants: {
6291
6361
  size: {
@@ -6312,7 +6382,7 @@ const InputTextArea = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6312
6382
  useEffect(() => {
6313
6383
  if (textareaRef.current) {
6314
6384
  textareaRef.current.style.height = '50px';
6315
- const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
6385
+ const scrollHeight = textareaRef == null ? void 0 : textareaRef.current.scrollHeight;
6316
6386
  textareaRef.current.style.height = scrollHeight + 5 + 'px';
6317
6387
  }
6318
6388
  }, []);
@@ -6351,10 +6421,10 @@ InputTextArea.defaultProps = {
6351
6421
 
6352
6422
  const InputRadioContext = /*#__PURE__*/React__default.createContext();
6353
6423
 
6354
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6424
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
6355
6425
  const RadioGroup = styled(RadioGroupPrimitive.Root, Flex$1);
6356
6426
  function InputRadioGroup(props) {
6357
- return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
6427
+ return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default.createElement(InputRadioContext.Provider, {
6358
6428
  value: props,
6359
6429
  __self: this,
6360
6430
  __source: {
@@ -6369,7 +6439,7 @@ function InputRadioGroup(props) {
6369
6439
  lineNumber: 14,
6370
6440
  columnNumber: 9
6371
6441
  }
6372
- }), React__default.Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
6442
+ }), React__default.Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default.cloneElement(child, {
6373
6443
  style: Object.assign({}, child.props.style, {
6374
6444
  opacity: 1
6375
6445
  })
@@ -6384,7 +6454,7 @@ InputRadioGroup.propTypes = {
6384
6454
  InputRadioGroup.displayName = 'InputRadioGroup';
6385
6455
 
6386
6456
  const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
6387
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6457
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
6388
6458
  const INDICATOR_BASE_STYLES = {
6389
6459
  alignItems: 'center',
6390
6460
  display: 'flex',
@@ -6475,8 +6545,8 @@ const Container$8 = styled(Flex$1, {
6475
6545
  outlined: {
6476
6546
  true: {
6477
6547
  border: '1px solid $gray300',
6478
- borderRadius: 8,
6479
- padding: 8,
6548
+ borderRadius: '$lg',
6549
+ padding: '$spacing-03',
6480
6550
  '& > input': {
6481
6551
  border: 'none !important',
6482
6552
  padding: '0px !important',
@@ -6508,8 +6578,20 @@ const Container$8 = styled(Flex$1, {
6508
6578
  color: '$textSecondary !important'
6509
6579
  }
6510
6580
  }
6581
+ },
6582
+ withInputProps: {
6583
+ true: {
6584
+ padding: '0 $spacing-03'
6585
+ }
6511
6586
  }
6512
- }
6587
+ },
6588
+ compoundVariants: [{
6589
+ outlined: true,
6590
+ withInputProps: true,
6591
+ css: {
6592
+ padding: '0 $spacing-03'
6593
+ }
6594
+ }]
6513
6595
  });
6514
6596
  const InputRadio = _ref => {
6515
6597
  let {
@@ -6527,12 +6609,12 @@ const InputRadio = _ref => {
6527
6609
  switch (type) {
6528
6610
  case 'number':
6529
6611
  return /*#__PURE__*/React__default.createElement(InputNumber, _extends({}, inputProps, {
6530
- disabled: disabled || checked !== props.value,
6531
6612
  readOnly: readOnly || checked !== props.value,
6613
+ inputGroup: true,
6532
6614
  __self: this,
6533
6615
  __source: {
6534
6616
  fileName: _jsxFileName$E,
6535
- lineNumber: 146,
6617
+ lineNumber: 160,
6536
6618
  columnNumber: 11
6537
6619
  }
6538
6620
  }));
@@ -6541,10 +6623,11 @@ const InputRadio = _ref => {
6541
6623
  return /*#__PURE__*/React__default.createElement(InputText, _extends({}, inputProps, {
6542
6624
  disabled: disabled || checked !== props.value,
6543
6625
  readOnly: readOnly || checked !== props.value,
6626
+ inputGroup: true,
6544
6627
  __self: this,
6545
6628
  __source: {
6546
6629
  fileName: _jsxFileName$E,
6547
- lineNumber: 155,
6630
+ lineNumber: 169,
6548
6631
  columnNumber: 11
6549
6632
  }
6550
6633
  }));
@@ -6564,7 +6647,7 @@ const InputRadio = _ref => {
6564
6647
  __self: this,
6565
6648
  __source: {
6566
6649
  fileName: _jsxFileName$E,
6567
- lineNumber: 164,
6650
+ lineNumber: 179,
6568
6651
  columnNumber: 11
6569
6652
  }
6570
6653
  }, props.label);
@@ -6575,7 +6658,7 @@ const InputRadio = _ref => {
6575
6658
  __self: undefined,
6576
6659
  __source: {
6577
6660
  fileName: _jsxFileName$E,
6578
- lineNumber: 183,
6661
+ lineNumber: 198,
6579
6662
  columnNumber: 5
6580
6663
  }
6581
6664
  }, ({
@@ -6583,18 +6666,19 @@ const InputRadio = _ref => {
6583
6666
  value,
6584
6667
  outlined
6585
6668
  }) => {
6586
- const checked = value !== null && value !== void 0 ? value : defaultValue;
6669
+ const checked = value != null ? value : defaultValue;
6587
6670
  return /*#__PURE__*/React__default.createElement(Container$8, {
6588
6671
  direction: "column",
6589
6672
  outlined: outlined,
6590
6673
  disabledOutlined: outlined && (readOnly || disabled),
6591
6674
  disabled: disabled,
6592
6675
  active: outlined && checked === props.value && !disabled && !readOnly,
6676
+ withInputProps: !!inputProps,
6593
6677
  css: css,
6594
6678
  __self: undefined,
6595
6679
  __source: {
6596
6680
  fileName: _jsxFileName$E,
6597
- lineNumber: 188,
6681
+ lineNumber: 203,
6598
6682
  columnNumber: 11
6599
6683
  }
6600
6684
  }, /*#__PURE__*/React__default.createElement(Flex$1, {
@@ -6603,7 +6687,7 @@ const InputRadio = _ref => {
6603
6687
  __self: undefined,
6604
6688
  __source: {
6605
6689
  fileName: _jsxFileName$E,
6606
- lineNumber: 196,
6690
+ lineNumber: 212,
6607
6691
  columnNumber: 13
6608
6692
  }
6609
6693
  }, /*#__PURE__*/React__default.createElement(StyledRadio, _extends({
@@ -6614,14 +6698,14 @@ const InputRadio = _ref => {
6614
6698
  __self: undefined,
6615
6699
  __source: {
6616
6700
  fileName: _jsxFileName$E,
6617
- lineNumber: 197,
6701
+ lineNumber: 213,
6618
6702
  columnNumber: 15
6619
6703
  }
6620
6704
  }), /*#__PURE__*/React__default.createElement(StyledIndicator$1, {
6621
6705
  __self: undefined,
6622
6706
  __source: {
6623
6707
  fileName: _jsxFileName$E,
6624
- lineNumber: 198,
6708
+ lineNumber: 214,
6625
6709
  columnNumber: 17
6626
6710
  }
6627
6711
  })), renderInputType(inputType, checked)), description && /*#__PURE__*/React__default.createElement(Text$1, {
@@ -6633,7 +6717,7 @@ const InputRadio = _ref => {
6633
6717
  __self: undefined,
6634
6718
  __source: {
6635
6719
  fileName: _jsxFileName$E,
6636
- lineNumber: 203,
6720
+ lineNumber: 219,
6637
6721
  columnNumber: 15
6638
6722
  }
6639
6723
  }, description));
@@ -6682,7 +6766,7 @@ InputRightElement.propTypes = {
6682
6766
  InputRightElement.name = 'InputRightElement';
6683
6767
 
6684
6768
  const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
6685
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
6769
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
6686
6770
  const StyledInput = styled(NumberFormat, {
6687
6771
  // Reset
6688
6772
  appearance: 'none',
@@ -6753,6 +6837,8 @@ const StyledInput = styled(NumberFormat, {
6753
6837
  },
6754
6838
  inputGroup: {
6755
6839
  true: {
6840
+ paddingLeft: 0,
6841
+ paddingRight: 0,
6756
6842
  border: 'none',
6757
6843
  borderRadius: '$lg',
6758
6844
  '&:focus': {
@@ -6772,7 +6858,7 @@ const StyledInput = styled(NumberFormat, {
6772
6858
  color: '$textDisable'
6773
6859
  },
6774
6860
  '&:hover': {
6775
- border: '1px solid $colors$gray300'
6861
+ border: 'none'
6776
6862
  }
6777
6863
  }
6778
6864
  }
@@ -6833,13 +6919,13 @@ const InputNumber = /*#__PURE__*/React__default.forwardRef((_ref, ref) => {
6833
6919
  size: size,
6834
6920
  isInvalid: isInvalid,
6835
6921
  readOnly: readOnly,
6836
- isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup),
6922
+ isReadOnly: readOnly && !(props != null && props.inputGroup),
6837
6923
  disabled: disabled
6838
6924
  }, props, {
6839
6925
  __self: undefined,
6840
6926
  __source: {
6841
6927
  fileName: _jsxFileName$D,
6842
- lineNumber: 150,
6928
+ lineNumber: 152,
6843
6929
  columnNumber: 3
6844
6930
  }
6845
6931
  }));
@@ -6892,6 +6978,7 @@ var regexpFlags$1 = function () {
6892
6978
  if (that.multiline) result += 'm';
6893
6979
  if (that.dotAll) result += 's';
6894
6980
  if (that.unicode) result += 'u';
6981
+ if (that.unicodeSets) result += 'v';
6895
6982
  if (that.sticky) result += 'y';
6896
6983
  return result;
6897
6984
  };
@@ -6910,10 +6997,10 @@ var regexpGetFlags = function (R) {
6910
6997
  };
6911
6998
 
6912
6999
  var fails$g = fails$t;
6913
- var global$s = global$U;
7000
+ var global$g = global$s;
6914
7001
 
6915
7002
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6916
- var $RegExp$2 = global$s.RegExp;
7003
+ var $RegExp$2 = global$g.RegExp;
6917
7004
 
6918
7005
  var UNSUPPORTED_Y$3 = fails$g(function () {
6919
7006
  var re = $RegExp$2('a', 'y');
@@ -6970,10 +7057,10 @@ var setSpecies$2 = function (CONSTRUCTOR_NAME) {
6970
7057
  };
6971
7058
 
6972
7059
  var fails$f = fails$t;
6973
- var global$r = global$U;
7060
+ var global$f = global$s;
6974
7061
 
6975
7062
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
6976
- var $RegExp$1 = global$r.RegExp;
7063
+ var $RegExp$1 = global$f.RegExp;
6977
7064
 
6978
7065
  var regexpUnsupportedDotAll = fails$f(function () {
6979
7066
  var re = $RegExp$1('.', 's');
@@ -6981,10 +7068,10 @@ var regexpUnsupportedDotAll = fails$f(function () {
6981
7068
  });
6982
7069
 
6983
7070
  var fails$e = fails$t;
6984
- var global$q = global$U;
7071
+ var global$e = global$s;
6985
7072
 
6986
7073
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
6987
- var $RegExp = global$q.RegExp;
7074
+ var $RegExp = global$e.RegExp;
6988
7075
 
6989
7076
  var regexpUnsupportedNcg = fails$e(function () {
6990
7077
  var re = $RegExp('(?<a>b)', 'g');
@@ -6993,11 +7080,11 @@ var regexpUnsupportedNcg = fails$e(function () {
6993
7080
  });
6994
7081
 
6995
7082
  var DESCRIPTORS$2 = descriptors;
6996
- var global$p = global$U;
7083
+ var global$d = global$s;
6997
7084
  var uncurryThis$j = functionUncurryThis;
6998
7085
  var isForced$1 = isForced_1;
6999
7086
  var inheritIfRequired = inheritIfRequired$1;
7000
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
7087
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
7001
7088
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
7002
7089
  var isPrototypeOf$2 = objectIsPrototypeOf;
7003
7090
  var isRegExp$1 = isRegexp;
@@ -7015,15 +7102,15 @@ var UNSUPPORTED_DOT_ALL$1 = regexpUnsupportedDotAll;
7015
7102
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
7016
7103
 
7017
7104
  var MATCH = wellKnownSymbol$9('match');
7018
- var NativeRegExp = global$p.RegExp;
7105
+ var NativeRegExp = global$d.RegExp;
7019
7106
  var RegExpPrototype$2 = NativeRegExp.prototype;
7020
- var SyntaxError = global$p.SyntaxError;
7107
+ var SyntaxError = global$d.SyntaxError;
7021
7108
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
7022
7109
  var charAt$8 = uncurryThis$j(''.charAt);
7023
7110
  var replace$6 = uncurryThis$j(''.replace);
7024
7111
  var stringIndexOf$1 = uncurryThis$j(''.indexOf);
7025
7112
  var stringSlice$9 = uncurryThis$j(''.slice);
7026
- // TODO: Use only propper RegExpIdentifierName
7113
+ // TODO: Use only proper RegExpIdentifierName
7027
7114
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
7028
7115
  var re1 = /a/g;
7029
7116
  var re2 = /a/g;
@@ -7177,7 +7264,7 @@ if (isForced$1('RegExp', BASE_FORCED)) {
7177
7264
 
7178
7265
  RegExpPrototype$2.constructor = RegExpWrapper;
7179
7266
  RegExpWrapper.prototype = RegExpPrototype$2;
7180
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
7267
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
7181
7268
  }
7182
7269
 
7183
7270
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7278,7 +7365,7 @@ if (PATCH) {
7278
7365
  }
7279
7366
  if (NPCG_INCLUDED && match && match.length > 1) {
7280
7367
  // Fix browsers whose `exec` methods don't consistently return `undefined`
7281
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
7368
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
7282
7369
  call$f(nativeReplace, match[0], reCopy, function () {
7283
7370
  for (i = 1; i < arguments.length - 2; i++) {
7284
7371
  if (arguments[i] === undefined) match[i] = undefined;
@@ -7336,7 +7423,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
7336
7423
  }
7337
7424
 
7338
7425
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7339
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7426
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
7340
7427
  const TagWrapper$3 = styled('div', {
7341
7428
  boxSizing: 'border-box',
7342
7429
  listStyle: 'none',
@@ -7513,7 +7600,7 @@ Tag.defaultProps = {
7513
7600
  };
7514
7601
 
7515
7602
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
7516
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7603
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
7517
7604
  const Wrapper$2 = styled('div', {
7518
7605
  margin: 0,
7519
7606
  flexDirection: 'column',
@@ -7649,18 +7736,18 @@ function TagsInput(_ref) {
7649
7736
  const addTags = event => {
7650
7737
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
7651
7738
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
7652
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7739
+ onEnter == null ? void 0 : onEnter({
7653
7740
  key: 'duplicate',
7654
7741
  value: event.target.value
7655
7742
  });
7656
7743
  return;
7657
7744
  }
7658
7745
 
7659
- if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
7746
+ if (pattern && pattern != null && pattern.regex) {
7660
7747
  const regex = new RegExp(pattern.regex);
7661
7748
 
7662
7749
  if (!regex.test(event.target.value)) {
7663
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7750
+ onEnter == null ? void 0 : onEnter({
7664
7751
  key: 'error',
7665
7752
  value: event.target.value
7666
7753
  });
@@ -7670,7 +7757,7 @@ function TagsInput(_ref) {
7670
7757
  }
7671
7758
 
7672
7759
  setRegexError(false);
7673
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7760
+ onEnter == null ? void 0 : onEnter({
7674
7761
  key: 'success',
7675
7762
  value: event.target.value
7676
7763
  });
@@ -7683,7 +7770,7 @@ function TagsInput(_ref) {
7683
7770
  if (disabled || readOnly) {
7684
7771
  return tags;
7685
7772
  } else if (key === 'removeTag' || key === 'Backspace') {
7686
- onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
7773
+ onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
7687
7774
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
7688
7775
  }
7689
7776
  }; // const handleErrorMessage = () => {
@@ -7731,7 +7818,7 @@ function TagsInput(_ref) {
7731
7818
  lineNumber: 180,
7732
7819
  columnNumber: 9
7733
7820
  }
7734
- })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7821
+ })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default.createElement(FormHelper, {
7735
7822
  color: "red",
7736
7823
  __self: this,
7737
7824
  __source: {
@@ -7813,7 +7900,7 @@ TagsInput.defaultProps = {
7813
7900
  };
7814
7901
 
7815
7902
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7816
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7903
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
7817
7904
  const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
7818
7905
  display: 'block',
7819
7906
  width: '16px',
@@ -7921,7 +8008,7 @@ InputSwitch.propTypes = {
7921
8008
  };
7922
8009
  InputSwitch.displayName = 'InputSwitch';
7923
8010
 
7924
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
8011
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
7925
8012
 
7926
8013
  const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
7927
8014
  width: props.size,
@@ -7982,7 +8069,7 @@ SvgCloseFilled.defaultProps = {
7982
8069
  size: 24
7983
8070
  };
7984
8071
 
7985
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
8072
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
7986
8073
 
7987
8074
  const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
7988
8075
  width: props.size,
@@ -8025,7 +8112,7 @@ SvgSearchOutline.defaultProps = {
8025
8112
  };
8026
8113
 
8027
8114
  const _excluded$e = ["size", "onChange", "css", "disabled"];
8028
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
8115
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8029
8116
 
8030
8117
  const InputSearchbox = _ref => {
8031
8118
  let {
@@ -8140,7 +8227,7 @@ var defineBuiltIn$5 = defineBuiltIn$b;
8140
8227
  var regexpExec$2 = regexpExec$3;
8141
8228
  var fails$b = fails$t;
8142
8229
  var wellKnownSymbol$8 = wellKnownSymbol$l;
8143
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
8230
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
8144
8231
 
8145
8232
  var SPECIES$2 = wellKnownSymbol$8('species');
8146
8233
  var RegExpPrototype = RegExp.prototype;
@@ -8215,14 +8302,13 @@ var sameValue$1 = Object.is || function is(x, y) {
8215
8302
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8216
8303
  };
8217
8304
 
8218
- var global$o = global$U;
8219
8305
  var call$e = functionCall;
8220
8306
  var anObject$a = anObject$i;
8221
8307
  var isCallable$7 = isCallable$p;
8222
8308
  var classof$4 = classofRaw$1;
8223
8309
  var regexpExec$1 = regexpExec$3;
8224
8310
 
8225
- var TypeError$a = global$o.TypeError;
8311
+ var $TypeError$7 = TypeError;
8226
8312
 
8227
8313
  // `RegExpExec` abstract operation
8228
8314
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -8234,7 +8320,7 @@ var regexpExecAbstract = function (R, S) {
8234
8320
  return result;
8235
8321
  }
8236
8322
  if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
8237
- throw TypeError$a('RegExp#exec called on incompatible receiver');
8323
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
8238
8324
  };
8239
8325
 
8240
8326
  var call$d = functionCall;
@@ -8274,12 +8360,6 @@ fixRegExpWellKnownSymbolLogic$2('search', function (SEARCH, nativeSearch, maybeC
8274
8360
  ];
8275
8361
  });
8276
8362
 
8277
- const ConditionalWrapper = ({
8278
- condition,
8279
- wrapper,
8280
- children
8281
- }) => condition ? wrapper(children) : children;
8282
-
8283
8363
  const SelectContainer = styled('div', {
8284
8364
  margin: 0,
8285
8365
  flexDirection: 'column',
@@ -8866,6 +8946,14 @@ function InputSelect(_a) {
8866
8946
  }), void 0);
8867
8947
  }
8868
8948
 
8949
+ var tryToString$3 = tryToString$5;
8950
+
8951
+ var $TypeError$6 = TypeError;
8952
+
8953
+ var deletePropertyOrThrow$1 = function (O, P) {
8954
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
8955
+ };
8956
+
8869
8957
  var toPropertyKey = toPropertyKey$3;
8870
8958
  var definePropertyModule = objectDefineProperty;
8871
8959
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -8876,19 +8964,18 @@ var createProperty$2 = function (object, key, value) {
8876
8964
  else object[propertyKey] = value;
8877
8965
  };
8878
8966
 
8879
- var global$n = global$U;
8880
8967
  var toAbsoluteIndex = toAbsoluteIndex$2;
8881
8968
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
8882
8969
  var createProperty$1 = createProperty$2;
8883
8970
 
8884
- var Array$2 = global$n.Array;
8971
+ var $Array$1 = Array;
8885
8972
  var max$1 = Math.max;
8886
8973
 
8887
8974
  var arraySliceSimple = function (O, start, end) {
8888
8975
  var length = lengthOfArrayLike$4(O);
8889
8976
  var k = toAbsoluteIndex(start, length);
8890
8977
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
8891
- var result = Array$2(max$1(fin - k, 0));
8978
+ var result = $Array$1(max$1(fin - k, 0));
8892
8979
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
8893
8980
  result.length = n;
8894
8981
  return result;
@@ -8970,6 +9057,7 @@ var uncurryThis$g = functionUncurryThis;
8970
9057
  var aCallable$7 = aCallable$9;
8971
9058
  var toObject$3 = toObject$7;
8972
9059
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
9060
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
8973
9061
  var toString$b = toString$h;
8974
9062
  var fails$9 = fails$t;
8975
9063
  var internalSort = arraySort$1;
@@ -9064,19 +9152,18 @@ $$g({ target: 'Array', proto: true, forced: FORCED$3 }, {
9064
9152
  index = 0;
9065
9153
 
9066
9154
  while (index < itemsLength) array[index] = items[index++];
9067
- while (index < arrayLength) delete array[index++];
9155
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
9068
9156
 
9069
9157
  return array;
9070
9158
  }
9071
9159
  });
9072
9160
 
9073
- var global$m = global$U;
9074
9161
  var aCallable$6 = aCallable$9;
9075
9162
  var toObject$2 = toObject$7;
9076
9163
  var IndexedObject = indexedObject;
9077
9164
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
9078
9165
 
9079
- var TypeError$9 = global$m.TypeError;
9166
+ var $TypeError$5 = TypeError;
9080
9167
 
9081
9168
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
9082
9169
  var createMethod$2 = function (IS_RIGHT) {
@@ -9095,7 +9182,7 @@ var createMethod$2 = function (IS_RIGHT) {
9095
9182
  }
9096
9183
  index += i;
9097
9184
  if (IS_RIGHT ? index < 0 : length <= index) {
9098
- throw TypeError$9('Reduce of empty array with no initial value');
9185
+ throw $TypeError$5('Reduce of empty array with no initial value');
9099
9186
  }
9100
9187
  }
9101
9188
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -9115,20 +9202,20 @@ var arrayReduce = {
9115
9202
  };
9116
9203
 
9117
9204
  var classof$3 = classofRaw$1;
9118
- var global$l = global$U;
9205
+ var global$c = global$s;
9119
9206
 
9120
- var engineIsNode = classof$3(global$l.process) == 'process';
9207
+ var engineIsNode = classof$3(global$c.process) == 'process';
9121
9208
 
9122
9209
  var $$f = _export;
9123
9210
  var $reduce = arrayReduce.left;
9124
9211
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
9125
9212
  var CHROME_VERSION = engineV8Version;
9126
- var IS_NODE$3 = engineIsNode;
9213
+ var IS_NODE$4 = engineIsNode;
9127
9214
 
9128
9215
  var STRICT_METHOD = arrayMethodIsStrict('reduce');
9129
9216
  // Chrome 80-82 has a critical bug
9130
9217
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
9131
- var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9218
+ var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9132
9219
 
9133
9220
  // `Array.prototype.reduce` method
9134
9221
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
@@ -9139,7 +9226,7 @@ $$f({ target: 'Array', proto: true, forced: !STRICT_METHOD || CHROME_BUG }, {
9139
9226
  }
9140
9227
  });
9141
9228
 
9142
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
9229
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
9143
9230
 
9144
9231
  const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
9145
9232
  xmlns: "http://www.w3.org/2000/svg",
@@ -9188,7 +9275,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
9188
9275
  }));
9189
9276
 
9190
9277
  const _excluded$d = ["placeholder", "option", "value", "size", "disabled", "onChange", "search", "readOnly", "placement", "disabledOptions", "textEmptyItem", "onRemoveItem", "isInvalid", "sortBy", "showSelectAll", "selectAllLabel", "showSelectedTag", "unremovableTags", "helperText", "css", "showCounter", "labelCounter"];
9191
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9278
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
9192
9279
  const Wrapper$1 = styled('div', {
9193
9280
  margin: 0,
9194
9281
  flexDirection: 'column',
@@ -9553,10 +9640,10 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9553
9640
  return setItems(sortValue);
9554
9641
  }
9555
9642
  } else {
9556
- let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
9557
- var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
9643
+ let filterItems = option == null ? void 0 : option.filter(item => {
9644
+ var _item$name, _item$name$toLowerCas;
9558
9645
 
9559
- return item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) === null || _item$name$toLowerCas === void 0 ? void 0 : (_item$name$toLowerCas2 = _item$name$toLowerCas.includes) === null || _item$name$toLowerCas2 === void 0 ? void 0 : _item$name$toLowerCas2.call(_item$name$toLowerCas, input === null || input === void 0 ? void 0 : (_input$toLocaleLowerC = input.toLocaleLowerCase) === null || _input$toLocaleLowerC === void 0 ? void 0 : _input$toLocaleLowerC.call(input));
9646
+ return item == null ? void 0 : (_item$name = item.name) == null ? void 0 : (_item$name$toLowerCas = _item$name.toLowerCase()) == null ? void 0 : _item$name$toLowerCas.includes == null ? void 0 : _item$name$toLowerCas.includes(input == null ? void 0 : input.toLocaleLowerCase == null ? void 0 : input.toLocaleLowerCase());
9560
9647
  });
9561
9648
  setItems(filterItems);
9562
9649
  }
@@ -9566,9 +9653,9 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9566
9653
  if (disabled || readOnly) {
9567
9654
  return selectedValue;
9568
9655
  } else {
9569
- if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
9656
+ if ((selected == null ? void 0 : selected.id) === 'counter') {
9570
9657
  setSelectedValue([]);
9571
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9658
+ onChange == null ? void 0 : onChange([]);
9572
9659
 
9573
9660
  for (let i = 0; i < selectedValue.length; i++) {
9574
9661
  removeSelectedItem(selectedValue[i]);
@@ -9579,7 +9666,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9579
9666
  setSelectedValue(filterItems);
9580
9667
 
9581
9668
  if (selected.id !== '!all') {
9582
- onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
9669
+ onChange == null ? void 0 : onChange(filterItems);
9583
9670
  }
9584
9671
  }
9585
9672
  }
@@ -9624,7 +9711,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9624
9711
  removeSelectedItem(item);
9625
9712
  });
9626
9713
  setSelectedValue([]);
9627
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9714
+ onChange == null ? void 0 : onChange([]);
9628
9715
  } else {
9629
9716
  removeItem(selectedItem);
9630
9717
  }
@@ -9639,12 +9726,12 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9639
9726
  itemIds.push(item.id);
9640
9727
  });
9641
9728
  setSelectedValue(itemIds);
9642
- onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
9729
+ onChange == null ? void 0 : onChange(itemIds.slice(1));
9643
9730
  } else {
9644
9731
  addSelectedItem(selectedItem);
9645
9732
  setSelectedValue([...selectedValue, selectedItem.id]);
9646
9733
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
9647
- onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9734
+ onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9648
9735
  }
9649
9736
 
9650
9737
  selectItem(null);
@@ -9796,7 +9883,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9796
9883
  lineNumber: 559,
9797
9884
  columnNumber: 11
9798
9885
  }
9799
- }, selectedItems === null || selectedItems === void 0 ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item === null || item === void 0 ? void 0 : item.id) !== '!all')) === null || _selectedItems$filter === void 0 ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
9886
+ }, selectedItems == null ? void 0 : (_selectedItems$filter = selectedItems.filter(item => (item == null ? void 0 : item.id) !== '!all')) == null ? void 0 : _selectedItems$filter.map((selectedItem, index) => /*#__PURE__*/React__default.createElement(Tag, _extends({
9800
9887
  disabled: disabled,
9801
9888
  isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
9802
9889
  size: size,
@@ -9820,7 +9907,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9820
9907
  lineNumber: 563,
9821
9908
  columnNumber: 17
9822
9909
  }
9823
- }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(TagWrapper$1, {
9910
+ }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default.createElement(TagWrapper$1, {
9824
9911
  disabled: disabled,
9825
9912
  __self: undefined,
9826
9913
  __source: {
@@ -9833,7 +9920,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9833
9920
  maxWidth: '150px !important'
9834
9921
  },
9835
9922
  disabled: disabled,
9836
- isRemovable: readOnly || disabled || Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length),
9923
+ isRemovable: readOnly || disabled || Boolean(selectedItems == null ? void 0 : selectedItems.length),
9837
9924
  size: size,
9838
9925
  readOnly: readOnly // {...getSelectedItemProps({ selectedItem, index })}
9839
9926
  ,
@@ -9855,7 +9942,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9855
9942
  lineNumber: 586,
9856
9943
  columnNumber: 13
9857
9944
  }
9858
- }, `${selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
9945
+ }, `${selectedItems == null ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default.createElement(OptionWrapper$1, {
9859
9946
  placement: placement,
9860
9947
  css: {
9861
9948
  display: isOpen && disabled === false ? 'block' : 'none',
@@ -9923,7 +10010,7 @@ const InputSelectCheck = /*#__PURE__*/forwardRef((_ref, ref) => {
9923
10010
  lineNumber: 640,
9924
10011
  columnNumber: 27
9925
10012
  }
9926
- }), showSelectAll && (item === null || item === void 0 ? void 0 : item.id) === '!all' && selectedValue !== null && selectedValue !== void 0 && selectedValue.length && (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.length) < (items === null || items === void 0 ? void 0 : items.length) ? /*#__PURE__*/React__default.createElement(IndeterminateFilled, {
10013
+ }), showSelectAll && (item == null ? void 0 : item.id) === '!all' && selectedValue != null && selectedValue.length && (selectedValue == null ? void 0 : selectedValue.length) < (items == null ? void 0 : items.length) ? /*#__PURE__*/React__default.createElement(IndeterminateFilled, {
9927
10014
  __self: undefined,
9928
10015
  __source: {
9929
10016
  fileName: _jsxFileName$v,
@@ -10034,7 +10121,7 @@ InputSelectCheck.defaultProps = {
10034
10121
  labelCounter: 'Item terpilih'
10035
10122
  };
10036
10123
 
10037
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
10124
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
10038
10125
  const InputSelectTag = /*#__PURE__*/React.forwardRef((props, ref) => {
10039
10126
  return /*#__PURE__*/React.createElement(InputSelectCheck, _extends({
10040
10127
  ref: ref,
@@ -10085,7 +10172,7 @@ InputSelectTag.defaultProps = {
10085
10172
  labelCounter: 'Item terpilih'
10086
10173
  };
10087
10174
 
10088
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
10175
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
10089
10176
  const Wrapper = styled('div', {
10090
10177
  margin: 0,
10091
10178
  flexDirection: 'column',
@@ -10850,15 +10937,15 @@ var stringTrim = {
10850
10937
  trim: createMethod$1(3)
10851
10938
  };
10852
10939
 
10853
- var global$k = global$U;
10940
+ var global$b = global$s;
10854
10941
  var fails$8 = fails$t;
10855
10942
  var uncurryThis$d = functionUncurryThis;
10856
10943
  var toString$8 = toString$h;
10857
10944
  var trim$1 = stringTrim.trim;
10858
10945
  var whitespaces$2 = whitespaces$4;
10859
10946
 
10860
- var $parseInt$1 = global$k.parseInt;
10861
- var Symbol$6 = global$k.Symbol;
10947
+ var $parseInt$1 = global$b.parseInt;
10948
+ var Symbol$6 = global$b.Symbol;
10862
10949
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
10863
10950
  var hex = /^[+-]?0x/i;
10864
10951
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11077,7 +11164,7 @@ InputCounter.defaultProps = {
11077
11164
  };
11078
11165
 
11079
11166
  const _excluded$c = ["children"];
11080
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
11167
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
11081
11168
  const {
11082
11169
  zIndices
11083
11170
  } = foundations;
@@ -11167,8 +11254,8 @@ const PopoverContent = ({
11167
11254
  ref: floating,
11168
11255
  style: Object.assign({
11169
11256
  position: strategy,
11170
- top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
11171
- left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
11257
+ top: isMobile ? 0 : y != null ? y : '',
11258
+ left: isMobile ? 0 : x != null ? x : '',
11172
11259
  zIndex: zIndices.popover
11173
11260
  }, style)
11174
11261
  }), {
@@ -11211,7 +11298,7 @@ Popover.propTypes = {
11211
11298
  Popover.displayName = 'Popover';
11212
11299
 
11213
11300
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
11214
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
11301
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
11215
11302
  const StyledSlider = styled$1(SliderPrimitive.Root, {
11216
11303
  position: 'relative',
11217
11304
  display: 'flex',
@@ -11556,7 +11643,7 @@ Slider.defaultProps = {
11556
11643
  };
11557
11644
 
11558
11645
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
11559
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
11646
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
11560
11647
  const TagWrapper = styled('div', {
11561
11648
  boxSizing: 'border-box',
11562
11649
  fontSize: '12px',
@@ -11722,7 +11809,7 @@ const _excluded$9 = ["children"],
11722
11809
  _excluded2$1 = ["children", "activeTabs"],
11723
11810
  _excluded3 = ["children", "icon", "activeTabs", "value"],
11724
11811
  _excluded4 = ["activeTabs"];
11725
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
11812
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
11726
11813
  const StyledTabs = styled(TabsPrimitive.Root, {
11727
11814
  display: 'flex',
11728
11815
  flexDirection: 'column',
@@ -12073,7 +12160,7 @@ Separator$2.displayName = 'Separator';
12073
12160
 
12074
12161
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
12075
12162
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
12076
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
12163
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
12077
12164
  const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
12078
12165
  display: 'inline-flex',
12079
12166
  borderRadius: '$md',
@@ -12301,7 +12388,7 @@ ButtonGroupItem.defaultProps = {
12301
12388
  };
12302
12389
 
12303
12390
  const _excluded$7 = ["children"];
12304
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
12391
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
12305
12392
  const NotificationBadgeRootStyle = styled('span', {
12306
12393
  position: 'relative',
12307
12394
  display: 'inline-flex',
@@ -12401,7 +12488,7 @@ const NotificationBadge = _ref => {
12401
12488
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
12402
12489
 
12403
12490
  const getValue = () => {
12404
- let value = props === null || props === void 0 ? void 0 : props.value;
12491
+ let value = props == null ? void 0 : props.value;
12405
12492
 
12406
12493
  if (typeof value === 'number' || parseInt(value)) {
12407
12494
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -12445,7 +12532,7 @@ NotificationBadge.propTypes = {
12445
12532
  };
12446
12533
 
12447
12534
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
12448
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
12535
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
12449
12536
  const PaperComponent = styled('div', {
12450
12537
  padding: '20px',
12451
12538
  height: 'auto',
@@ -12656,14 +12743,13 @@ DialogClose.displayName = 'DialogClose';
12656
12743
  DialogOverlay.displayName = 'DialogOverlay';
12657
12744
  DialogPortal.displayName = 'DialogPortal';
12658
12745
 
12659
- var global$j = global$U;
12660
12746
  var isPrototypeOf$1 = objectIsPrototypeOf;
12661
12747
 
12662
- var TypeError$8 = global$j.TypeError;
12748
+ var $TypeError$4 = TypeError;
12663
12749
 
12664
12750
  var anInstance$3 = function (it, Prototype) {
12665
12751
  if (isPrototypeOf$1(Prototype, it)) return it;
12666
- throw TypeError$8('Incorrect invocation');
12752
+ throw $TypeError$4('Incorrect invocation');
12667
12753
  };
12668
12754
 
12669
12755
  var uncurryThis$c = functionUncurryThis;
@@ -12719,16 +12805,15 @@ var isConstructor$2 = !construct || fails$7(function () {
12719
12805
  || called;
12720
12806
  }) ? isConstructorLegacy : isConstructorModern;
12721
12807
 
12722
- var global$i = global$U;
12723
12808
  var isConstructor$1 = isConstructor$2;
12724
- var tryToString$2 = tryToString$4;
12809
+ var tryToString$2 = tryToString$5;
12725
12810
 
12726
- var TypeError$7 = global$i.TypeError;
12811
+ var $TypeError$3 = TypeError;
12727
12812
 
12728
12813
  // `Assert: IsConstructor(argument) is true`
12729
12814
  var aConstructor$1 = function (argument) {
12730
12815
  if (isConstructor$1(argument)) return argument;
12731
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
12816
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
12732
12817
  };
12733
12818
 
12734
12819
  var anObject$8 = anObject$i;
@@ -12774,12 +12859,10 @@ var uncurryThis$a = functionUncurryThis;
12774
12859
 
12775
12860
  var arraySlice$3 = uncurryThis$a([].slice);
12776
12861
 
12777
- var global$h = global$U;
12778
-
12779
- var TypeError$6 = global$h.TypeError;
12862
+ var $TypeError$2 = TypeError;
12780
12863
 
12781
12864
  var validateArgumentsLength$3 = function (passed, required) {
12782
- if (passed < required) throw TypeError$6('Not enough arguments');
12865
+ if (passed < required) throw $TypeError$2('Not enough arguments');
12783
12866
  return passed;
12784
12867
  };
12785
12868
 
@@ -12787,7 +12870,7 @@ var userAgent$2 = engineUserAgent;
12787
12870
 
12788
12871
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
12789
12872
 
12790
- var global$g = global$U;
12873
+ var global$a = global$s;
12791
12874
  var apply$2 = functionApply;
12792
12875
  var bind$6 = functionBindContext;
12793
12876
  var isCallable$5 = isCallable$p;
@@ -12798,15 +12881,15 @@ var arraySlice$2 = arraySlice$3;
12798
12881
  var createElement = documentCreateElement$2;
12799
12882
  var validateArgumentsLength$2 = validateArgumentsLength$3;
12800
12883
  var IS_IOS$1 = engineIsIos;
12801
- var IS_NODE$2 = engineIsNode;
12884
+ var IS_NODE$3 = engineIsNode;
12802
12885
 
12803
- var set = global$g.setImmediate;
12804
- var clear = global$g.clearImmediate;
12805
- var process$2 = global$g.process;
12806
- var Dispatch = global$g.Dispatch;
12807
- var Function$1 = global$g.Function;
12808
- var MessageChannel = global$g.MessageChannel;
12809
- var String$2 = global$g.String;
12886
+ var set = global$a.setImmediate;
12887
+ var clear = global$a.clearImmediate;
12888
+ var process$2 = global$a.process;
12889
+ var Dispatch = global$a.Dispatch;
12890
+ var Function$1 = global$a.Function;
12891
+ var MessageChannel = global$a.MessageChannel;
12892
+ var String$1 = global$a.String;
12810
12893
  var counter = 0;
12811
12894
  var queue$1 = {};
12812
12895
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -12814,7 +12897,7 @@ var location, defer, channel, port;
12814
12897
 
12815
12898
  try {
12816
12899
  // Deno throws a ReferenceError on `location` access without `--location` flag
12817
- location = global$g.location;
12900
+ location = global$a.location;
12818
12901
  } catch (error) { /* empty */ }
12819
12902
 
12820
12903
  var run = function (id) {
@@ -12837,7 +12920,7 @@ var listener = function (event) {
12837
12920
 
12838
12921
  var post = function (id) {
12839
12922
  // old engines have not location.origin
12840
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
12923
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
12841
12924
  };
12842
12925
 
12843
12926
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -12856,7 +12939,7 @@ if (!set || !clear) {
12856
12939
  delete queue$1[id];
12857
12940
  };
12858
12941
  // Node.js 0.8-
12859
- if (IS_NODE$2) {
12942
+ if (IS_NODE$3) {
12860
12943
  defer = function (id) {
12861
12944
  process$2.nextTick(runner(id));
12862
12945
  };
@@ -12875,14 +12958,14 @@ if (!set || !clear) {
12875
12958
  // Browsers with postMessage, skip WebWorkers
12876
12959
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
12877
12960
  } else if (
12878
- global$g.addEventListener &&
12879
- isCallable$5(global$g.postMessage) &&
12880
- !global$g.importScripts &&
12961
+ global$a.addEventListener &&
12962
+ isCallable$5(global$a.postMessage) &&
12963
+ !global$a.importScripts &&
12881
12964
  location && location.protocol !== 'file:' &&
12882
12965
  !fails$6(post)
12883
12966
  ) {
12884
12967
  defer = post;
12885
- global$g.addEventListener('message', listener, false);
12968
+ global$a.addEventListener('message', listener, false);
12886
12969
  // IE8-
12887
12970
  } else if (ONREADYSTATECHANGE in createElement('script')) {
12888
12971
  defer = function (id) {
@@ -12905,29 +12988,29 @@ var task$1 = {
12905
12988
  };
12906
12989
 
12907
12990
  var userAgent$1 = engineUserAgent;
12908
- var global$f = global$U;
12991
+ var global$9 = global$s;
12909
12992
 
12910
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
12993
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
12911
12994
 
12912
12995
  var userAgent = engineUserAgent;
12913
12996
 
12914
12997
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
12915
12998
 
12916
- var global$e = global$U;
12999
+ var global$8 = global$s;
12917
13000
  var bind$5 = functionBindContext;
12918
13001
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
12919
13002
  var macrotask = task$1.set;
12920
13003
  var IS_IOS = engineIsIos;
12921
13004
  var IS_IOS_PEBBLE = engineIsIosPebble;
12922
13005
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
12923
- var IS_NODE$1 = engineIsNode;
13006
+ var IS_NODE$2 = engineIsNode;
12924
13007
 
12925
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
12926
- var document$2 = global$e.document;
12927
- var process$1 = global$e.process;
12928
- var Promise$1 = global$e.Promise;
13008
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
13009
+ var document$2 = global$8.document;
13010
+ var process$1 = global$8.process;
13011
+ var Promise$1 = global$8.Promise;
12929
13012
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
12930
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
13013
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
12931
13014
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
12932
13015
 
12933
13016
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -12936,7 +13019,7 @@ var flush, head, last, notify$1, toggle, node, promise, then;
12936
13019
  if (!queueMicrotask) {
12937
13020
  flush = function () {
12938
13021
  var parent, fn;
12939
- if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
13022
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
12940
13023
  while (head) {
12941
13024
  fn = head.fn;
12942
13025
  head = head.next;
@@ -12953,7 +13036,7 @@ if (!queueMicrotask) {
12953
13036
 
12954
13037
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
12955
13038
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
12956
- if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
13039
+ if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
12957
13040
  toggle = true;
12958
13041
  node = document$2.createTextNode('');
12959
13042
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -12971,7 +13054,7 @@ if (!queueMicrotask) {
12971
13054
  then(flush);
12972
13055
  };
12973
13056
  // Node.js without promises
12974
- } else if (IS_NODE$1) {
13057
+ } else if (IS_NODE$2) {
12975
13058
  notify$1 = function () {
12976
13059
  process$1.nextTick(flush);
12977
13060
  };
@@ -12983,7 +13066,7 @@ if (!queueMicrotask) {
12983
13066
  // - setTimeout
12984
13067
  } else {
12985
13068
  // strange IE + webpack dev server bug - use .bind(global)
12986
- macrotask = bind$5(macrotask, global$e);
13069
+ macrotask = bind$5(macrotask, global$8);
12987
13070
  notify$1 = function () {
12988
13071
  macrotask(flush);
12989
13072
  };
@@ -12999,10 +13082,10 @@ var microtask$1 = queueMicrotask || function (fn) {
12999
13082
  } last = task;
13000
13083
  };
13001
13084
 
13002
- var global$d = global$U;
13085
+ var global$7 = global$s;
13003
13086
 
13004
13087
  var hostReportErrors$1 = function (a, b) {
13005
- var console = global$d.console;
13088
+ var console = global$7.console;
13006
13089
  if (console && console.error) {
13007
13090
  arguments.length == 1 ? console.error(a) : console.error(a, b);
13008
13091
  }
@@ -13040,25 +13123,35 @@ Queue$1.prototype = {
13040
13123
 
13041
13124
  var queue = Queue$1;
13042
13125
 
13043
- var global$c = global$U;
13126
+ var global$6 = global$s;
13127
+
13128
+ var promiseNativeConstructor = global$6.Promise;
13129
+
13130
+ /* global Deno -- Deno case */
13131
+
13132
+ var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
13044
13133
 
13045
- var promiseNativeConstructor = global$c.Promise;
13134
+ var IS_DENO$1 = engineIsDeno;
13135
+ var IS_NODE$1 = engineIsNode;
13046
13136
 
13047
- var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
13137
+ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
13138
+ && typeof window == 'object'
13139
+ && typeof document == 'object';
13048
13140
 
13049
- var global$b = global$U;
13141
+ var global$5 = global$s;
13050
13142
  var NativePromiseConstructor$3 = promiseNativeConstructor;
13051
13143
  var isCallable$4 = isCallable$p;
13052
13144
  var isForced = isForced_1;
13053
13145
  var inspectSource = inspectSource$4;
13054
13146
  var wellKnownSymbol$6 = wellKnownSymbol$l;
13055
13147
  var IS_BROWSER = engineIsBrowser;
13148
+ var IS_DENO = engineIsDeno;
13056
13149
  var V8_VERSION = engineV8Version;
13057
13150
 
13058
13151
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
13059
13152
  var SPECIES = wellKnownSymbol$6('species');
13060
13153
  var SUBCLASSING = false;
13061
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
13154
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
13062
13155
 
13063
13156
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13064
13157
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -13070,18 +13163,18 @@ var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13070
13163
  // We can't use @@species feature detection in V8 since it causes
13071
13164
  // deoptimization and performance degradation
13072
13165
  // https://github.com/zloirock/core-js/issues/679
13073
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
13074
- // Detect correctness of subclassing with @@species support
13075
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13076
- var FakePromise = function (exec) {
13077
- exec(function () { /* empty */ }, function () { /* empty */ });
13078
- };
13079
- var constructor = promise.constructor = {};
13080
- constructor[SPECIES] = FakePromise;
13081
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13082
- if (!SUBCLASSING) return true;
13166
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
13167
+ // Detect correctness of subclassing with @@species support
13168
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13169
+ var FakePromise = function (exec) {
13170
+ exec(function () { /* empty */ }, function () { /* empty */ });
13171
+ };
13172
+ var constructor = promise.constructor = {};
13173
+ constructor[SPECIES] = FakePromise;
13174
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13175
+ if (!SUBCLASSING) return true;
13083
13176
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
13084
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
13177
+ } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
13085
13178
  });
13086
13179
 
13087
13180
  var promiseConstructorDetection = {
@@ -13113,7 +13206,7 @@ newPromiseCapability$2.f = function (C) {
13113
13206
 
13114
13207
  var $$c = _export;
13115
13208
  var IS_NODE = engineIsNode;
13116
- var global$a = global$U;
13209
+ var global$4 = global$s;
13117
13210
  var call$b = functionCall;
13118
13211
  var defineBuiltIn$4 = defineBuiltIn$b;
13119
13212
  var setPrototypeOf = objectSetPrototypeOf;
@@ -13143,13 +13236,13 @@ var setInternalState$3 = InternalStateModule$3.set;
13143
13236
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
13144
13237
  var PromiseConstructor = NativePromiseConstructor$2;
13145
13238
  var PromisePrototype = NativePromisePrototype$1;
13146
- var TypeError$5 = global$a.TypeError;
13147
- var document$1 = global$a.document;
13148
- var process = global$a.process;
13239
+ var TypeError$3 = global$4.TypeError;
13240
+ var document$1 = global$4.document;
13241
+ var process = global$4.process;
13149
13242
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
13150
13243
  var newGenericPromiseCapability = newPromiseCapability$1;
13151
13244
 
13152
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
13245
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
13153
13246
  var UNHANDLED_REJECTION = 'unhandledrejection';
13154
13247
  var REJECTION_HANDLED = 'rejectionhandled';
13155
13248
  var PENDING = 0;
@@ -13190,7 +13283,7 @@ var callReaction = function (reaction, state) {
13190
13283
  }
13191
13284
  }
13192
13285
  if (result === reaction.promise) {
13193
- reject(TypeError$5('Promise-chain cycle'));
13286
+ reject(TypeError$3('Promise-chain cycle'));
13194
13287
  } else if (then = isThenable(result)) {
13195
13288
  call$b(then, result, resolve, reject);
13196
13289
  } else resolve(result);
@@ -13222,14 +13315,14 @@ var dispatchEvent = function (name, promise, reason) {
13222
13315
  event.promise = promise;
13223
13316
  event.reason = reason;
13224
13317
  event.initEvent(name, false, true);
13225
- global$a.dispatchEvent(event);
13318
+ global$4.dispatchEvent(event);
13226
13319
  } else event = { promise: promise, reason: reason };
13227
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
13320
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
13228
13321
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
13229
13322
  };
13230
13323
 
13231
13324
  var onUnhandled = function (state) {
13232
- call$b(task, global$a, function () {
13325
+ call$b(task, global$4, function () {
13233
13326
  var promise = state.facade;
13234
13327
  var value = state.value;
13235
13328
  var IS_UNHANDLED = isUnhandled(state);
@@ -13252,7 +13345,7 @@ var isUnhandled = function (state) {
13252
13345
  };
13253
13346
 
13254
13347
  var onHandleUnhandled = function (state) {
13255
- call$b(task, global$a, function () {
13348
+ call$b(task, global$4, function () {
13256
13349
  var promise = state.facade;
13257
13350
  if (IS_NODE) {
13258
13351
  process.emit('rejectionHandled', promise);
@@ -13280,7 +13373,7 @@ var internalResolve = function (state, value, unwrap) {
13280
13373
  state.done = true;
13281
13374
  if (unwrap) state = unwrap;
13282
13375
  try {
13283
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
13376
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
13284
13377
  var then = isThenable(value);
13285
13378
  if (then) {
13286
13379
  microtask(function () {
@@ -13422,19 +13515,18 @@ var getIteratorMethod$4 = function (it) {
13422
13515
  || Iterators[classof$1(it)];
13423
13516
  };
13424
13517
 
13425
- var global$9 = global$U;
13426
13518
  var call$a = functionCall;
13427
13519
  var aCallable$2 = aCallable$9;
13428
13520
  var anObject$7 = anObject$i;
13429
- var tryToString$1 = tryToString$4;
13521
+ var tryToString$1 = tryToString$5;
13430
13522
  var getIteratorMethod$3 = getIteratorMethod$4;
13431
13523
 
13432
- var TypeError$4 = global$9.TypeError;
13524
+ var $TypeError$1 = TypeError;
13433
13525
 
13434
13526
  var getIterator$3 = function (argument, usingIterator) {
13435
13527
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
13436
13528
  if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
13437
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
13529
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
13438
13530
  };
13439
13531
 
13440
13532
  var call$9 = functionCall;
@@ -13461,11 +13553,10 @@ var iteratorClose$2 = function (iterator, kind, value) {
13461
13553
  return value;
13462
13554
  };
13463
13555
 
13464
- var global$8 = global$U;
13465
13556
  var bind$3 = functionBindContext;
13466
13557
  var call$8 = functionCall;
13467
13558
  var anObject$5 = anObject$i;
13468
- var tryToString = tryToString$4;
13559
+ var tryToString = tryToString$5;
13469
13560
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
13470
13561
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
13471
13562
  var isPrototypeOf = objectIsPrototypeOf;
@@ -13473,7 +13564,7 @@ var getIterator$2 = getIterator$3;
13473
13564
  var getIteratorMethod$2 = getIteratorMethod$4;
13474
13565
  var iteratorClose$1 = iteratorClose$2;
13475
13566
 
13476
- var TypeError$3 = global$8.TypeError;
13567
+ var $TypeError = TypeError;
13477
13568
 
13478
13569
  var Result = function (stopped, result) {
13479
13570
  this.stopped = stopped;
@@ -13485,6 +13576,7 @@ var ResultPrototype = Result.prototype;
13485
13576
  var iterate$2 = function (iterable, unboundFunction, options) {
13486
13577
  var that = options && options.that;
13487
13578
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
13579
+ var IS_RECORD = !!(options && options.IS_RECORD);
13488
13580
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
13489
13581
  var INTERRUPTED = !!(options && options.INTERRUPTED);
13490
13582
  var fn = bind$3(unboundFunction, that);
@@ -13502,11 +13594,13 @@ var iterate$2 = function (iterable, unboundFunction, options) {
13502
13594
  } return INTERRUPTED ? fn(value, stop) : fn(value);
13503
13595
  };
13504
13596
 
13505
- if (IS_ITERATOR) {
13597
+ if (IS_RECORD) {
13598
+ iterator = iterable.iterator;
13599
+ } else if (IS_ITERATOR) {
13506
13600
  iterator = iterable;
13507
13601
  } else {
13508
13602
  iterFn = getIteratorMethod$2(iterable);
13509
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
13603
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
13510
13604
  // optimisation for array iterators
13511
13605
  if (isArrayIteratorMethod$1(iterFn)) {
13512
13606
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -13517,7 +13611,7 @@ var iterate$2 = function (iterable, unboundFunction, options) {
13517
13611
  iterator = getIterator$2(iterable, iterFn);
13518
13612
  }
13519
13613
 
13520
- next = iterator.next;
13614
+ next = IS_RECORD ? iterable.next : iterator.next;
13521
13615
  while (!(step = call$8(next, iterator)).done) {
13522
13616
  try {
13523
13617
  result = callFn(step.value);
@@ -13944,7 +14038,7 @@ ModalDialog.defaultProps = {
13944
14038
  };
13945
14039
 
13946
14040
  const _excluded$5 = ["children"];
13947
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
14041
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
13948
14042
  const Context$1 = /*#__PURE__*/React__default.createContext();
13949
14043
  const {
13950
14044
  sizes
@@ -15636,7 +15730,7 @@ const MobileCalendarBox = ({
15636
15730
  return null;
15637
15731
  };
15638
15732
 
15639
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
15733
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
15640
15734
  const Input$3 = styled('input', {
15641
15735
  display: 'none'
15642
15736
  });
@@ -15893,33 +15987,33 @@ const NativeTimePicker = ({
15893
15987
  })));
15894
15988
  };
15895
15989
  NativeTimePicker.propTypes = {
15896
- /**
15897
- Resize time picker.
15990
+ /**
15991
+ Resize time picker.
15898
15992
  */
15899
15993
  size: PropTypes.oneOf(['sm', 'lg']),
15900
15994
 
15901
- /**
15902
- Change handler.
15995
+ /**
15996
+ Change handler.
15903
15997
  */
15904
15998
  onChange: PropTypes.func,
15905
15999
 
15906
- /**
15907
- Time picker default value, support moment format.
16000
+ /**
16001
+ Time picker default value, support moment format.
15908
16002
  */
15909
16003
  defaultValue: PropTypes.instanceOf(Date),
15910
16004
 
15911
- /**
15912
- Time picker value, support moment format.
16005
+ /**
16006
+ Time picker value, support moment format.
15913
16007
  */
15914
16008
  value: PropTypes.instanceOf(Date),
15915
16009
 
15916
- /**
15917
- Specify the minimum date.
16010
+ /**
16011
+ Specify the minimum date.
15918
16012
  */
15919
16013
  minDate: PropTypes.instanceOf(Date),
15920
16014
 
15921
- /**
15922
- Specify the maximum date.
16015
+ /**
16016
+ Specify the maximum date.
15923
16017
  */
15924
16018
  maxDate: PropTypes.instanceOf(Date)
15925
16019
  };
@@ -15964,49 +16058,49 @@ const TimePicker = ({
15964
16058
  };
15965
16059
  TimePicker.displayName = 'TimePicker';
15966
16060
  TimePicker.propTypes = {
15967
- /**
15968
- Additional styles.
16061
+ /**
16062
+ Additional styles.
15969
16063
  */
15970
16064
  css: PropTypes.object,
15971
16065
 
15972
- /**
15973
- Resize time picker.
16066
+ /**
16067
+ Resize time picker.
15974
16068
  */
15975
16069
  size: PropTypes.oneOf(['sm', 'lg']),
15976
16070
 
15977
- /**
15978
- Change handler.
16071
+ /**
16072
+ Change handler.
15979
16073
  */
15980
16074
  onChange: PropTypes.func,
15981
16075
 
15982
- /**
15983
- Time picker default value, support moment format.
16076
+ /**
16077
+ Time picker default value, support moment format.
15984
16078
  */
15985
16079
  defaultValue: PropTypes.instanceOf(Date),
15986
16080
 
15987
- /**
15988
- Time picker value, support moment format.
16081
+ /**
16082
+ Time picker value, support moment format.
15989
16083
  */
15990
16084
  value: PropTypes.instanceOf(Date),
15991
16085
 
15992
- /**
15993
- Disabled state.
16086
+ /**
16087
+ Disabled state.
15994
16088
  */
15995
16089
  disabled: PropTypes.bool,
15996
16090
 
15997
- /**
15998
- Specify the minimum date.
16091
+ /**
16092
+ Specify the minimum date.
15999
16093
  */
16000
16094
  minDate: PropTypes.instanceOf(Date),
16001
16095
 
16002
- /**
16003
- Specify the maximum date.
16096
+ /**
16097
+ Specify the maximum date.
16004
16098
  */
16005
16099
  maxDate: PropTypes.instanceOf(Date)
16006
16100
  };
16007
16101
  NativeTimePicker.displayName = 'NativeTimePicker';
16008
16102
 
16009
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
16103
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
16010
16104
 
16011
16105
  const getInputPickerValue$1 = date => {
16012
16106
  if (!date) return;
@@ -16182,63 +16276,63 @@ InputTimePicker.defaultProps = {
16182
16276
  placeholder: 'Select Time'
16183
16277
  };
16184
16278
  InputTimePicker.propTypes = {
16185
- /**
16186
- Additional styles.
16279
+ /**
16280
+ Additional styles.
16187
16281
  */
16188
16282
  css: PropTypes.object,
16189
16283
 
16190
- /**
16191
- Disabled state.
16284
+ /**
16285
+ Disabled state.
16192
16286
  */
16193
16287
  disabled: PropTypes.bool,
16194
16288
 
16195
- /**
16196
- ReadOnly state.
16289
+ /**
16290
+ ReadOnly state.
16197
16291
  */
16198
16292
  readOnly: PropTypes.bool,
16199
16293
 
16200
- /**
16201
- Resize time picker.
16294
+ /**
16295
+ Resize time picker.
16202
16296
  */
16203
16297
  size: PropTypes.oneOf(['sm', 'lg']),
16204
16298
 
16205
- /**
16206
- Custom placeholder input time picker.
16299
+ /**
16300
+ Custom placeholder input time picker.
16207
16301
  */
16208
16302
  placeholder: PropTypes.string,
16209
16303
 
16210
- /**
16211
- Time picker default value, support moment format.
16304
+ /**
16305
+ Time picker default value, support moment format.
16212
16306
  */
16213
16307
  defaultValue: PropTypes.instanceOf(Date),
16214
16308
 
16215
- /**
16216
- Time picker value, support moment format.
16309
+ /**
16310
+ Time picker value, support moment format.
16217
16311
  */
16218
16312
  value: PropTypes.instanceOf(Date),
16219
16313
 
16220
- /**
16221
- Change handler.
16314
+ /**
16315
+ Change handler.
16222
16316
  */
16223
16317
  onChange: PropTypes.func,
16224
16318
 
16225
- /**
16226
- Placement popover input time picker.
16319
+ /**
16320
+ Placement popover input time picker.
16227
16321
  */
16228
16322
  placement: PropTypes.string,
16229
16323
 
16230
- /**
16231
- Specify the minimum date.
16324
+ /**
16325
+ Specify the minimum date.
16232
16326
  */
16233
16327
  minDate: PropTypes.instanceOf(Date),
16234
16328
 
16235
- /**
16236
- Specify the maximum date.
16329
+ /**
16330
+ Specify the maximum date.
16237
16331
  */
16238
16332
  maxDate: PropTypes.instanceOf(Date),
16239
16333
 
16240
- /**
16241
- * Invalid state input.
16334
+ /**
16335
+ * Invalid state input.
16242
16336
  */
16243
16337
  isInvalid: PropTypes.bool
16244
16338
  };
@@ -16773,7 +16867,7 @@ const removeUndefinedFields = obj => {
16773
16867
  };
16774
16868
 
16775
16869
  const _excluded$4 = ["isActive", "onClick"];
16776
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
16870
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
16777
16871
  const PrevNextButton = styled(Text$1, {
16778
16872
  padding: '$spacing-01',
16779
16873
  cursor: 'pointer',
@@ -17043,7 +17137,7 @@ const PaginationButton = ({
17043
17137
  };
17044
17138
 
17045
17139
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
17046
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
17140
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
17047
17141
  const LimitContainer = styled(Flex$1, {
17048
17142
  cursor: 'pointer'
17049
17143
  });
@@ -17149,7 +17243,7 @@ function PaginationInfo(_ref) {
17149
17243
  lineNumber: 40,
17150
17244
  columnNumber: 11
17151
17245
  }
17152
- }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
17246
+ }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default.createElement(PopoverClose, {
17153
17247
  key: limit,
17154
17248
  css: limitItemContainerStyle(selectedLimit === limit),
17155
17249
  onClick: () => onChange(limit),
@@ -17180,7 +17274,7 @@ function PaginationInfo(_ref) {
17180
17274
  }
17181
17275
 
17182
17276
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
17183
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
17277
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
17184
17278
 
17185
17279
  function Pagination(_ref) {
17186
17280
  let {
@@ -17797,7 +17891,7 @@ const stickyPositionStyling = column => {
17797
17891
  return {};
17798
17892
  };
17799
17893
 
17800
- const stickyShadowStyling = (column, tableScrollPosition) => {
17894
+ const stickyShadowStyling = (column, tableScrollPosition, scrollAreaWidth) => {
17801
17895
  const cssAfter = {
17802
17896
  position: 'absolute',
17803
17897
  top: 0,
@@ -17813,12 +17907,12 @@ const stickyShadowStyling = (column, tableScrollPosition) => {
17813
17907
  return column.sticky === 'left' ? {
17814
17908
  '&::after': Object.assign(Object.assign({}, cssAfter), {
17815
17909
  right: 0,
17816
- boxShadow: tableScrollPosition === 'start' ? 'none' : 'inset 10px 0 10px -10px #00000026'
17910
+ boxShadow: tableScrollPosition === 'start' || scrollAreaWidth <= 0 ? 'none' : 'inset 10px 0 10px -10px #00000026'
17817
17911
  })
17818
17912
  } : {
17819
17913
  '&::after': Object.assign(Object.assign({}, cssAfter), {
17820
17914
  left: 0,
17821
- boxShadow: tableScrollPosition === 'end' ? 'none' : 'inset -10px 0 10px -10px #00000026'
17915
+ boxShadow: tableScrollPosition === 'end' || scrollAreaWidth <= 0 ? 'none' : 'inset -10px 0 10px -10px #00000026'
17822
17916
  })
17823
17917
  };
17824
17918
  }
@@ -18033,7 +18127,7 @@ function Table({
18033
18127
  if (scrollerRef && scrollerRef.current) {
18034
18128
  setScrollAreaWidth(scrollerRef.current.scrollWidth - scrollerRef.current.clientWidth);
18035
18129
  }
18036
- }, [scrollerRef]);
18130
+ }, [scrollerRef, visibleColumns]);
18037
18131
  useEffect(() => {
18038
18132
  if (hiddenColumns) setHiddenColumns(hiddenColumns);
18039
18133
  }, [hiddenColumns]);
@@ -18130,7 +18224,7 @@ function Table({
18130
18224
  minWidth: column.colMinWidth
18131
18225
  }
18132
18226
  }]), {
18133
- css: Object.assign(Object.assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition))
18227
+ css: Object.assign(Object.assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth))
18134
18228
  }, {
18135
18229
  children: typeof headerRender === 'string' ? jsx(TableHeaderCellContainer, Object.assign({
18136
18230
  isSortedDesc: column.isSortedDesc,
@@ -18185,7 +18279,7 @@ function Table({
18185
18279
  padding: !isContextMenu || ['expander', 'selection', 'menu', 'eye'].includes((_a = cell === null || cell === void 0 ? void 0 : cell.column) === null || _a === void 0 ? void 0 : _a.id) ? cell.column.accessor ? '20px 8px' : '20px 20px' : '',
18186
18280
  verticalAlign: cell.column.accessor ? cellAlign : 'center',
18187
18281
  cursor: onRowClick ? 'pointer' : 'unset'
18188
- }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition)),
18282
+ }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition, scrollAreaWidth)),
18189
18283
  onClick: () => handleRowClick(row, i)
18190
18284
  }, {
18191
18285
  children: jsx(ConditionalWrapper, Object.assign({
@@ -18290,7 +18384,7 @@ const TableColumn = _a => {
18290
18384
  return jsx("div", {}, void 0);
18291
18385
  };
18292
18386
 
18293
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
18387
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
18294
18388
 
18295
18389
  const DateColumn = ({
18296
18390
  value,
@@ -18326,12 +18420,11 @@ var uncurryThis$9 = functionUncurryThis;
18326
18420
  // https://tc39.es/ecma262/#sec-thisnumbervalue
18327
18421
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
18328
18422
 
18329
- var global$7 = global$U;
18330
18423
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
18331
18424
  var toString$7 = toString$h;
18332
18425
  var requireObjectCoercible$3 = requireObjectCoercible$a;
18333
18426
 
18334
- var RangeError$2 = global$7.RangeError;
18427
+ var $RangeError$2 = RangeError;
18335
18428
 
18336
18429
  // `String.prototype.repeat` method implementation
18337
18430
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -18339,21 +18432,20 @@ var stringRepeat = function repeat(count) {
18339
18432
  var str = toString$7(requireObjectCoercible$3(this));
18340
18433
  var result = '';
18341
18434
  var n = toIntegerOrInfinity$3(count);
18342
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
18435
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
18343
18436
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
18344
18437
  return result;
18345
18438
  };
18346
18439
 
18347
18440
  var $$6 = _export;
18348
- var global$6 = global$U;
18349
18441
  var uncurryThis$8 = functionUncurryThis;
18350
18442
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
18351
18443
  var thisNumberValue = thisNumberValue$1;
18352
18444
  var $repeat = stringRepeat;
18353
18445
  var fails$5 = fails$t;
18354
18446
 
18355
- var RangeError$1 = global$6.RangeError;
18356
- var String$1 = global$6.String;
18447
+ var $RangeError$1 = RangeError;
18448
+ var $String = String;
18357
18449
  var floor$3 = Math.floor;
18358
18450
  var repeat = uncurryThis$8($repeat);
18359
18451
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -18401,7 +18493,7 @@ var dataToString = function (data) {
18401
18493
  var s = '';
18402
18494
  while (--index >= 0) {
18403
18495
  if (s !== '' || index === 0 || data[index] !== 0) {
18404
- var t = String$1(data[index]);
18496
+ var t = $String(data[index]);
18405
18497
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
18406
18498
  }
18407
18499
  } return s;
@@ -18429,10 +18521,10 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
18429
18521
  var e, z, j, k;
18430
18522
 
18431
18523
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
18432
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
18524
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
18433
18525
  // eslint-disable-next-line no-self-compare -- NaN check
18434
18526
  if (number != number) return 'NaN';
18435
- if (number <= -1e21 || number >= 1e21) return String$1(number);
18527
+ if (number <= -1e21 || number >= 1e21) return $String(number);
18436
18528
  if (number < 0) {
18437
18529
  sign = '-';
18438
18530
  number = -number;
@@ -18476,7 +18568,7 @@ $$6({ target: 'Number', proto: true, forced: FORCED$1 }, {
18476
18568
  }
18477
18569
  });
18478
18570
 
18479
- var global$5 = global$U;
18571
+ var global$3 = global$s;
18480
18572
  var fails$4 = fails$t;
18481
18573
  var uncurryThis$7 = functionUncurryThis;
18482
18574
  var toString$6 = toString$h;
@@ -18484,8 +18576,8 @@ var trim = stringTrim.trim;
18484
18576
  var whitespaces$1 = whitespaces$4;
18485
18577
 
18486
18578
  var charAt$6 = uncurryThis$7(''.charAt);
18487
- var n$ParseFloat = global$5.parseFloat;
18488
- var Symbol$5 = global$5.Symbol;
18579
+ var n$ParseFloat = global$3.parseFloat;
18580
+ var Symbol$5 = global$3.Symbol;
18489
18581
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
18490
18582
  var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
18491
18583
  // MS Edge 18- broken with boxed symbols
@@ -18974,7 +19066,7 @@ const PriceColumn = props => {
18974
19066
  return addThousandSeparator(param);
18975
19067
  };
18976
19068
 
18977
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
19069
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
18978
19070
  const rowExpanderColumn = {
18979
19071
  id: 'expander',
18980
19072
  Header: () => null,
@@ -19016,7 +19108,7 @@ const rowExpanderColumn = {
19016
19108
  unsortable: true
19017
19109
  };
19018
19110
 
19019
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
19111
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
19020
19112
 
19021
19113
  const rowMenuColumn = (options, icon, config) => ({
19022
19114
  id: 'menu',
@@ -19268,7 +19360,7 @@ const rowMenuColumn = (options, icon, config) => ({
19268
19360
  unsortable: true
19269
19361
  });
19270
19362
 
19271
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
19363
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
19272
19364
  const rowSelectionColumn = {
19273
19365
  id: 'selection',
19274
19366
  Header: ({
@@ -19571,7 +19663,7 @@ PageDialog.defaultProps = {
19571
19663
  };
19572
19664
 
19573
19665
  const _excluded$1 = ["children"];
19574
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
19666
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
19575
19667
  const overlayShow = keyframes({
19576
19668
  '0%': {
19577
19669
  opacity: 0
@@ -19743,7 +19835,7 @@ const TemplateAlertFunction = props => {
19743
19835
  if (!props.onOpenAutoFocus) {
19744
19836
  e.preventDefault();
19745
19837
  } else {
19746
- props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
19838
+ props == null ? void 0 : props.onOpenAutoFocus();
19747
19839
  }
19748
19840
  },
19749
19841
  __self: undefined,
@@ -19864,8 +19956,8 @@ const TemplateAlertFunction = props => {
19864
19956
  size: "sm",
19865
19957
  onClick: buttonConfirm,
19866
19958
  buttonType: props.dialogType,
19867
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19868
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
19959
+ disabled: props == null ? void 0 : props.disabledButton
19960
+ }, props == null ? void 0 : props.actionButtonProps, {
19869
19961
  __self: undefined,
19870
19962
  __source: {
19871
19963
  fileName: _jsxFileName$b,
@@ -19884,12 +19976,12 @@ const TemplateAlertFunction = props => {
19884
19976
  size: "sm",
19885
19977
  onClick: buttonCancel,
19886
19978
  css: {
19887
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
19979
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
19888
19980
  flex: props.isMobile && 1
19889
19981
  },
19890
19982
  buttonType: "ghost",
19891
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19892
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
19983
+ disabled: props == null ? void 0 : props.disabledButton
19984
+ }, props == null ? void 0 : props.cancelButtonProps, {
19893
19985
  __self: undefined,
19894
19986
  __source: {
19895
19987
  fileName: _jsxFileName$b,
@@ -19911,8 +20003,8 @@ const TemplateAlertFunction = props => {
19911
20003
  css: {
19912
20004
  flex: props.isMobile && 1
19913
20005
  },
19914
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
19915
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20006
+ disabled: props == null ? void 0 : props.disabledButton
20007
+ }, props == null ? void 0 : props.actionButtonProps, {
19916
20008
  __self: undefined,
19917
20009
  __source: {
19918
20010
  fileName: _jsxFileName$b,
@@ -20072,8 +20164,8 @@ function AlertDialog(props) {
20072
20164
  css: {
20073
20165
  flex: props.isMobile && 1
20074
20166
  },
20075
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20076
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20167
+ disabled: props == null ? void 0 : props.disabledButton
20168
+ }, props == null ? void 0 : props.actionButtonProps, {
20077
20169
  __self: this,
20078
20170
  __source: {
20079
20171
  fileName: _jsxFileName$b,
@@ -20092,12 +20184,12 @@ function AlertDialog(props) {
20092
20184
  size: "sm",
20093
20185
  onClick: props.onCancel,
20094
20186
  css: {
20095
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20187
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20096
20188
  flex: props.isMobile && 1
20097
20189
  },
20098
20190
  buttonType: "ghost",
20099
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20100
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20191
+ disabled: props == null ? void 0 : props.disabledButton
20192
+ }, props == null ? void 0 : props.cancelButtonProps, {
20101
20193
  __self: this,
20102
20194
  __source: {
20103
20195
  fileName: _jsxFileName$b,
@@ -20119,8 +20211,8 @@ function AlertDialog(props) {
20119
20211
  css: {
20120
20212
  flex: props.isMobile && 1
20121
20213
  },
20122
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20123
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20214
+ disabled: props == null ? void 0 : props.disabledButton
20215
+ }, props == null ? void 0 : props.actionButtonProps, {
20124
20216
  __self: this,
20125
20217
  __source: {
20126
20218
  fileName: _jsxFileName$b,
@@ -20170,7 +20262,7 @@ const AlertDialogCancel = ADialog.Cancel;
20170
20262
  const AlertDialogConfirm = ADialog.Action;
20171
20263
 
20172
20264
  const _excluded = ["side", "align", "children"];
20173
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
20265
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
20174
20266
  const Context = /*#__PURE__*/React__default.createContext();
20175
20267
  const slideUpAndFade = keyframes({
20176
20268
  '0%': {
@@ -20507,7 +20599,6 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
20507
20599
  }
20508
20600
  };
20509
20601
 
20510
- var global$4 = global$U;
20511
20602
  var bind$2 = functionBindContext;
20512
20603
  var call$2 = functionCall;
20513
20604
  var toObject = toObject$7;
@@ -20519,7 +20610,7 @@ var createProperty = createProperty$2;
20519
20610
  var getIterator$1 = getIterator$3;
20520
20611
  var getIteratorMethod$1 = getIteratorMethod$4;
20521
20612
 
20522
- var Array$1 = global$4.Array;
20613
+ var $Array = Array;
20523
20614
 
20524
20615
  // `Array.from` method implementation
20525
20616
  // https://tc39.es/ecma262/#sec-array.from
@@ -20534,7 +20625,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20534
20625
  var index = 0;
20535
20626
  var length, result, step, iterator, next, value;
20536
20627
  // if the target is not iterable or it's an array with the default iterator - use a simple case
20537
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
20628
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
20538
20629
  iterator = getIterator$1(O, iteratorMethod);
20539
20630
  next = iterator.next;
20540
20631
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -20544,7 +20635,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20544
20635
  }
20545
20636
  } else {
20546
20637
  length = lengthOfArrayLike(O);
20547
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
20638
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
20548
20639
  for (;length > index; index++) {
20549
20640
  value = mapping ? mapfn(O[index], index) : O[index];
20550
20641
  createProperty(result, index, value);
@@ -20555,7 +20646,6 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
20555
20646
  };
20556
20647
 
20557
20648
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
20558
- var global$3 = global$U;
20559
20649
  var uncurryThis$2 = functionUncurryThis;
20560
20650
 
20561
20651
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -20572,7 +20662,7 @@ var regexSeparators = /[.\u3002\uFF0E\uFF61]/g; // RFC 3490 separators
20572
20662
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
20573
20663
  var baseMinusTMin = base - tMin;
20574
20664
 
20575
- var RangeError = global$3.RangeError;
20665
+ var $RangeError = RangeError;
20576
20666
  var exec$1 = uncurryThis$2(regexSeparators.exec);
20577
20667
  var floor$1 = Math.floor;
20578
20668
  var fromCharCode = String.fromCharCode;
@@ -20687,7 +20777,7 @@ var encode = function (input) {
20687
20777
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
20688
20778
  var handledCPCountPlusOne = handledCPCount + 1;
20689
20779
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
20690
- throw RangeError(OVERFLOW_ERROR);
20780
+ throw $RangeError(OVERFLOW_ERROR);
20691
20781
  }
20692
20782
 
20693
20783
  delta += (m - n) * handledCPCountPlusOne;
@@ -20696,7 +20786,7 @@ var encode = function (input) {
20696
20786
  for (i = 0; i < input.length; i++) {
20697
20787
  currentValue = input[i];
20698
20788
  if (currentValue < n && ++delta > maxInt) {
20699
- throw RangeError(OVERFLOW_ERROR);
20789
+ throw $RangeError(OVERFLOW_ERROR);
20700
20790
  }
20701
20791
  if (currentValue == n) {
20702
20792
  // Represent delta as a generalized variable-length integer.
@@ -20746,7 +20836,7 @@ var defineBuiltIns$1 = function (target, src, options) {
20746
20836
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
20747
20837
 
20748
20838
  var $$4 = _export;
20749
- var global$2 = global$U;
20839
+ var global$2 = global$s;
20750
20840
  var call$1 = functionCall;
20751
20841
  var uncurryThis$1 = functionUncurryThis;
20752
20842
  var DESCRIPTORS$1 = descriptors;
@@ -21108,7 +21198,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
21108
21198
  };
21109
21199
 
21110
21200
  if (isCallable(nativeFetch)) {
21111
- $$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
21201
+ $$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
21112
21202
  fetch: function fetch(input /* , init */) {
21113
21203
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
21114
21204
  }
@@ -21124,7 +21214,7 @@ if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
21124
21214
  RequestPrototype.constructor = RequestConstructor;
21125
21215
  RequestConstructor.prototype = RequestPrototype;
21126
21216
 
21127
- $$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
21217
+ $$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
21128
21218
  Request: RequestConstructor
21129
21219
  });
21130
21220
  }
@@ -21140,7 +21230,7 @@ var web_urlSearchParams_constructor = {
21140
21230
  var $$3 = _export;
21141
21231
  var DESCRIPTORS = descriptors;
21142
21232
  var USE_NATIVE_URL = nativeUrl;
21143
- var global$1 = global$U;
21233
+ var global$1 = global$s;
21144
21234
  var bind = functionBindContext;
21145
21235
  var uncurryThis = functionUncurryThis;
21146
21236
  var defineBuiltIn = defineBuiltIn$b;
@@ -22284,7 +22374,7 @@ function upload({
22284
22374
  return promise;
22285
22375
  }
22286
22376
 
22287
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
22377
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
22288
22378
  const Input$2 = styled('input', {
22289
22379
  display: 'none !important'
22290
22380
  });
@@ -22602,7 +22692,7 @@ const Upload = ({
22602
22692
  upload({
22603
22693
  url: action,
22604
22694
  file: newFile,
22605
- customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
22695
+ customBody: customBodyRequest == null ? void 0 : customBodyRequest(newFile),
22606
22696
  token,
22607
22697
  tokenKey,
22608
22698
  reqKey,
@@ -22625,12 +22715,12 @@ const Upload = ({
22625
22715
  }
22626
22716
  }
22627
22717
 
22628
- onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
22718
+ onChange == null ? void 0 : (_onChange = onChange({
22629
22719
  fileList: arrProgress,
22630
22720
  file: fileProgress,
22631
22721
  indexReplace: indexReplace.current,
22632
22722
  isReplace: indexReplace.current !== null
22633
- })) === null || _onChange === void 0 ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) === null || _onChange$then === void 0 ? void 0 : _onChange$then.catch(error => setError(error.message));
22723
+ })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
22634
22724
  }
22635
22725
  }).then(result => {
22636
22726
  var _onChange2, _onChange2$then;
@@ -22647,12 +22737,12 @@ const Upload = ({
22647
22737
  }
22648
22738
  }
22649
22739
 
22650
- onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
22740
+ onChange == null ? void 0 : (_onChange2 = onChange({
22651
22741
  fileList: arrSuccess,
22652
22742
  file: fileSuccess,
22653
22743
  indexReplace: indexReplace.current,
22654
22744
  isReplace: indexReplace.current !== null
22655
- })) === null || _onChange2 === void 0 ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) === null || _onChange2$then === void 0 ? void 0 : _onChange2$then.catch(error => setError(error.message));
22745
+ })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
22656
22746
  }).catch(error => {
22657
22747
  var _onChange3, _onChange3$then;
22658
22748
 
@@ -22668,22 +22758,22 @@ const Upload = ({
22668
22758
  }
22669
22759
  }
22670
22760
 
22671
- onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
22761
+ onChange == null ? void 0 : (_onChange3 = onChange({
22672
22762
  fileList: arrError,
22673
22763
  file: fileError,
22674
22764
  indexReplace: indexReplace.current,
22675
22765
  isReplace: indexReplace.current !== null
22676
- })) === null || _onChange3 === void 0 ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) === null || _onChange3$then === void 0 ? void 0 : _onChange3$then.catch(error => setError(error.message));
22766
+ })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
22677
22767
  });
22678
22768
  } else {
22679
22769
  var _onChange4, _onChange4$then;
22680
22770
 
22681
- onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
22771
+ onChange == null ? void 0 : (_onChange4 = onChange({
22682
22772
  fileList: arrFile,
22683
22773
  file: newFile,
22684
22774
  indexReplace: indexReplace.current,
22685
22775
  isReplace: indexReplace.current !== null
22686
- })) === null || _onChange4 === void 0 ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) === null || _onChange4$then === void 0 ? void 0 : _onChange4$then.catch(error => setError(error.message));
22776
+ })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
22687
22777
  }
22688
22778
 
22689
22779
  if (indexReplace.current !== null) {
@@ -22708,24 +22798,24 @@ const Upload = ({
22708
22798
  // program to get the dimensions of an image
22709
22799
  const img = document.createElement('img');
22710
22800
  img.src = URL.createObjectURL(files[0]);
22711
- img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
22712
- img.type = files === null || files === void 0 ? void 0 : (_files$2 = files[0]) === null || _files$2 === void 0 ? void 0 : _files$2.type;
22801
+ img.size = files == null ? void 0 : (_files$ = files[0]) == null ? void 0 : _files$.size;
22802
+ img.type = files == null ? void 0 : (_files$2 = files[0]) == null ? void 0 : _files$2.type;
22713
22803
 
22714
22804
  img.onload = () => {
22715
22805
  var _onBeforeCrop, _onBeforeCrop$then;
22716
22806
 
22717
- onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
22807
+ onBeforeCrop == null ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) == null ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
22718
22808
  setError(null);
22719
22809
  toggleModal();
22720
22810
  setFileState(files[0]);
22721
22811
  setPreviewImage(URL.createObjectURL(files[0]));
22722
- })) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
22812
+ })) == null ? void 0 : _onBeforeCrop$then.catch(error => setError(error == null ? void 0 : error.message));
22723
22813
  };
22724
22814
 
22725
22815
  img.onerror = error => {
22726
22816
  var _onBeforeCrop2, _onBeforeCrop2$then;
22727
22817
 
22728
- onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) === null || _onBeforeCrop2 === void 0 ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) === null || _onBeforeCrop2$then === void 0 ? void 0 : _onBeforeCrop2$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
22818
+ onBeforeCrop == null ? void 0 : (_onBeforeCrop2 = onBeforeCrop(img, error)) == null ? void 0 : (_onBeforeCrop2$then = _onBeforeCrop2.then(() => setError(null))) == null ? void 0 : _onBeforeCrop2$then.catch(error => setError(error == null ? void 0 : error.message));
22729
22819
  };
22730
22820
  } else {
22731
22821
  toggleModal();
@@ -22737,15 +22827,15 @@ const Upload = ({
22737
22827
  }
22738
22828
 
22739
22829
  function handleCrop() {
22740
- if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
22830
+ if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
22741
22831
  imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
22742
- const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
22832
+ const sizeMB = (blob == null ? void 0 : blob.size) / 1024 / 1024;
22743
22833
 
22744
22834
  if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
22745
22835
  var _fileState$name;
22746
22836
 
22747
- const file = new File([blob], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name = fileState.name) === null || _fileState$name === void 0 ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
22748
- type: blob === null || blob === void 0 ? void 0 : blob.type
22837
+ const file = new File([blob], (fileState == null ? void 0 : (_fileState$name = fileState.name) == null ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
22838
+ type: blob == null ? void 0 : blob.type
22749
22839
  });
22750
22840
  handleUpload([file]);
22751
22841
  setCrop(null);
@@ -22760,17 +22850,17 @@ const Upload = ({
22760
22850
  }).then(compressedFile => {
22761
22851
  var _fileState$name2;
22762
22852
 
22763
- const file = new File([compressedFile], (fileState === null || fileState === void 0 ? void 0 : (_fileState$name2 = fileState.name) === null || _fileState$name2 === void 0 ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
22764
- type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
22853
+ const file = new File([compressedFile], (fileState == null ? void 0 : (_fileState$name2 = fileState.name) == null ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
22854
+ type: compressedFile == null ? void 0 : compressedFile.type
22765
22855
  });
22766
22856
  handleUpload([file]);
22767
22857
  setCrop(null);
22768
22858
  setCompletedCrop(null);
22769
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
22859
+ }).catch(error => console.error(error == null ? void 0 : error.message));
22770
22860
  }
22771
22861
 
22772
22862
  toggleModal();
22773
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
22863
+ }).catch(error => console.error(error == null ? void 0 : error.message));
22774
22864
  } else {
22775
22865
  handleUpload([fileState]);
22776
22866
  toggleModal();
@@ -22801,7 +22891,7 @@ const Upload = ({
22801
22891
  const index = fileList.indexOf(file);
22802
22892
  const newFileList = fileList.slice();
22803
22893
  newFileList.splice(index, 1);
22804
- onChange === null || onChange === void 0 ? void 0 : onChange({
22894
+ onChange == null ? void 0 : onChange({
22805
22895
  fileList: newFileList,
22806
22896
  file
22807
22897
  });
@@ -22829,22 +22919,22 @@ const Upload = ({
22829
22919
  function handleOpenFile(file) {
22830
22920
  var _String, _file$name;
22831
22921
 
22832
- let extension = (_String = String(file === null || file === void 0 ? void 0 : (_file$name = file.name) === null || _file$name === void 0 ? void 0 : _file$name.split('.').pop())) === null || _String === void 0 ? void 0 : _String.toLowerCase();
22922
+ let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
22833
22923
 
22834
22924
  if (extension === 'pdf') {
22835
- window.open(file === null || file === void 0 ? void 0 : file.url);
22925
+ window.open(file == null ? void 0 : file.url);
22836
22926
  } else {
22837
- request.get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
22927
+ request.get(file == null ? void 0 : file.url).end((err, res) => {
22838
22928
  if (err) {
22839
22929
  console.error(err.message);
22840
22930
  }
22841
22931
 
22842
- if (res && res !== null && res !== void 0 && res.ok) {
22843
- const response = res === null || res === void 0 ? void 0 : res.text;
22932
+ if (res && res != null && res.ok) {
22933
+ const response = res == null ? void 0 : res.text;
22844
22934
  const url = window.URL.createObjectURL(new Blob([response]));
22845
22935
  const link = document.createElement('a');
22846
22936
  link.href = url;
22847
- link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
22937
+ link.setAttribute('download', file == null ? void 0 : file.name);
22848
22938
  document.body.appendChild(link);
22849
22939
  link.click();
22850
22940
  document.body.removeChild(link);
@@ -22914,12 +23004,12 @@ const Upload = ({
22914
23004
  }
22915
23005
 
22916
23006
  const renderPicture = () => {
22917
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
22918
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23007
+ return fileList == null ? void 0 : fileList.map((item, index) => {
23008
+ if ((item == null ? void 0 : item.status) === 'uploading') {
22919
23009
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
22920
23010
  key: index,
22921
- progress: item === null || item === void 0 ? void 0 : item.percent,
22922
- loading: item === null || item === void 0 ? void 0 : item.loading,
23011
+ progress: item == null ? void 0 : item.percent,
23012
+ loading: item == null ? void 0 : item.loading,
22923
23013
  __self: undefined,
22924
23014
  __source: {
22925
23015
  fileName: _jsxFileName$9,
@@ -22994,14 +23084,14 @@ const Upload = ({
22994
23084
  };
22995
23085
 
22996
23086
  const renderFile = () => {
22997
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
23087
+ return fileList == null ? void 0 : fileList.map((item, index) => {
22998
23088
  var _item$name;
22999
23089
 
23000
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23090
+ if ((item == null ? void 0 : item.status) === 'uploading') {
23001
23091
  return /*#__PURE__*/React__default.createElement(UploadProgress, {
23002
23092
  key: index,
23003
- progress: item === null || item === void 0 ? void 0 : item.percent,
23004
- loading: item === null || item === void 0 ? void 0 : item.loading,
23093
+ progress: item == null ? void 0 : item.percent,
23094
+ loading: item == null ? void 0 : item.loading,
23005
23095
  __self: undefined,
23006
23096
  __source: {
23007
23097
  fileName: _jsxFileName$9,
@@ -23068,7 +23158,7 @@ const Upload = ({
23068
23158
  lineNumber: 661,
23069
23159
  columnNumber: 17
23070
23160
  }
23071
- }, ".", item === null || item === void 0 ? void 0 : (_item$name = item.name) === null || _item$name === void 0 ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
23161
+ }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default.createElement(Tooltip$1, {
23072
23162
  label: item.name,
23073
23163
  __self: undefined,
23074
23164
  __source: {
@@ -23240,7 +23330,7 @@ const Upload = ({
23240
23330
  lineNumber: 736,
23241
23331
  columnNumber: 11
23242
23332
  }
23243
- }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
23333
+ }, children != null ? children : /*#__PURE__*/React__default.createElement(React__default.Fragment, {
23244
23334
  __self: this,
23245
23335
  __source: {
23246
23336
  fileName: _jsxFileName$9,
@@ -23274,7 +23364,7 @@ const Upload = ({
23274
23364
  lineNumber: 742,
23275
23365
  columnNumber: 17
23276
23366
  }
23277
- }, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
23367
+ }, placeholder != null ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default.createElement(ErrorMessage, {
23278
23368
  __self: this,
23279
23369
  __source: {
23280
23370
  fileName: _jsxFileName$9,
@@ -23434,7 +23524,7 @@ const Upload = ({
23434
23524
 
23435
23525
  return /*#__PURE__*/React__default.createElement(Flex$1, {
23436
23526
  direction: "row",
23437
- gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23527
+ gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23438
23528
  wrap: "wrap",
23439
23529
  css: {
23440
23530
  userSelect: 'none'
@@ -23473,176 +23563,176 @@ Upload.defaultProps = {
23473
23563
  imageCompression: true
23474
23564
  };
23475
23565
  Upload.propTypes = {
23476
- /**
23477
- Placeholder label of upload.
23566
+ /**
23567
+ Placeholder label of upload.
23478
23568
  */
23479
23569
  placeholder: PropTypes.string,
23480
23570
 
23481
- /**
23482
- Disabled state of upload.
23571
+ /**
23572
+ Disabled state of upload.
23483
23573
  */
23484
23574
  disabled: PropTypes.bool,
23485
23575
 
23486
- /**
23487
- Built-in stylesheets, support for two types.
23576
+ /**
23577
+ Built-in stylesheets, support for two types.
23488
23578
  */
23489
23579
  listType: PropTypes.oneOf(['file', 'picture']),
23490
23580
 
23491
- /**
23492
- Whether to support selected multiple file.
23581
+ /**
23582
+ Whether to support selected multiple file.
23493
23583
  */
23494
23584
  multiple: PropTypes.bool,
23495
23585
 
23496
- /**
23497
- List of files to be uploaded.
23586
+ /**
23587
+ List of files to be uploaded.
23498
23588
  */
23499
23589
  fileList: PropTypes.array,
23500
23590
 
23501
- /**
23502
- A callback function, can be executed when uploading state is changing.
23591
+ /**
23592
+ A callback function, can be executed when uploading state is changing.
23503
23593
  */
23504
23594
  onChange: PropTypes.func,
23505
23595
 
23506
- /**
23507
- A callback function, can be executed when uploading in progress.
23508
- `(progress) => void`
23596
+ /**
23597
+ A callback function, can be executed when uploading in progress.
23598
+ `(progress) => void`
23509
23599
  */
23510
23600
  onProgress: PropTypes.func,
23511
23601
 
23512
- /**
23513
- A callback function, can be executed when uploading is success.
23514
- `(response) => void`
23602
+ /**
23603
+ A callback function, can be executed when uploading is success.
23604
+ `(response) => void`
23515
23605
  */
23516
23606
  onSuccess: PropTypes.func,
23517
23607
 
23518
- /**
23519
- A callback function, can be executed when uploading is error.
23520
- `(error, response) => void`
23608
+ /**
23609
+ A callback function, can be executed when uploading is error.
23610
+ `(error, response) => void`
23521
23611
  */
23522
23612
  onError: PropTypes.func,
23523
23613
 
23524
- /**
23525
- A callback function, can be executed when preview icon in picture type is clicked.
23614
+ /**
23615
+ A callback function, can be executed when preview icon in picture type is clicked.
23526
23616
  */
23527
23617
  onPreview: PropTypes.func,
23528
23618
 
23529
- /**
23530
- A callback function, can be executed when remove icon is clicked.
23619
+ /**
23620
+ A callback function, can be executed when remove icon is clicked.
23531
23621
  */
23532
23622
  onRemove: PropTypes.func,
23533
23623
 
23534
- /**
23535
- A custom element inside upload container.
23624
+ /**
23625
+ A custom element inside upload container.
23536
23626
  */
23537
23627
  children: PropTypes.element,
23538
23628
 
23539
- /**
23540
- Limit the number of uploaded files.
23629
+ /**
23630
+ Limit the number of uploaded files.
23541
23631
  */
23542
23632
  max: PropTypes.number,
23543
23633
 
23544
- /**
23545
- Limit the maximum image size in MB.
23634
+ /**
23635
+ Limit the maximum image size in MB.
23546
23636
  */
23547
23637
  maxSizeMB: PropTypes.number,
23548
23638
 
23549
- /**
23550
- Limit file type of upload.
23639
+ /**
23640
+ Limit file type of upload.
23551
23641
  */
23552
23642
  accept: PropTypes.string,
23553
23643
 
23554
- /**
23555
- Custom label for replace button.
23644
+ /**
23645
+ Custom label for replace button.
23556
23646
  */
23557
23647
  replaceLabel: PropTypes.string,
23558
23648
 
23559
- /**
23560
- Custom width of upload container.
23649
+ /**
23650
+ Custom width of upload container.
23561
23651
  */
23562
23652
  width: PropTypes.number,
23563
23653
 
23564
- /**
23565
- Custom height of upload container.
23654
+ /**
23655
+ Custom height of upload container.
23566
23656
  */
23567
23657
  height: PropTypes.number,
23568
23658
 
23569
- /**
23570
- Additional css.
23659
+ /**
23660
+ Additional css.
23571
23661
  */
23572
23662
  css: PropTypes.object,
23573
23663
 
23574
- /**
23575
- Custom title header of cropper modal.
23664
+ /**
23665
+ Custom title header of cropper modal.
23576
23666
  */
23577
23667
  cropperTitle: PropTypes.string,
23578
23668
 
23579
- /**
23580
- Add image cropper on upload.
23669
+ /**
23670
+ Add image cropper on upload.
23581
23671
  */
23582
23672
  showCropper: PropTypes.bool,
23583
23673
 
23584
- /**
23585
- Hidden toggle aspect ratio image cropper.
23674
+ /**
23675
+ Hidden toggle aspect ratio image cropper.
23586
23676
  */
23587
23677
  hiddenToggleAspect: PropTypes.bool,
23588
23678
 
23589
- /**
23590
- The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
23679
+ /**
23680
+ The aspect ratio of the crop, e.g. `1` for a square or `16 / 9` for landscape. Omit/pass undefined for a free-form crop.
23591
23681
  */
23592
23682
  ratio: PropTypes.number,
23593
23683
 
23594
- /**
23595
- Can set error message to the upload.
23684
+ /**
23685
+ Can set error message to the upload.
23596
23686
  */
23597
23687
  errorMessage: PropTypes.string,
23598
23688
 
23599
- /**
23600
- Progress of upload process.
23689
+ /**
23690
+ Progress of upload process.
23601
23691
  */
23602
23692
  progress: PropTypes.number,
23603
23693
 
23604
- /**
23605
- Auto increment progress of upload process.
23694
+ /**
23695
+ Auto increment progress of upload process.
23606
23696
  */
23607
23697
  loading: PropTypes.bool,
23608
23698
 
23609
- /**
23610
- API upload url, allows components to automatically upload directly to API service.
23699
+ /**
23700
+ API upload url, allows components to automatically upload directly to API service.
23611
23701
  */
23612
23702
  action: PropTypes.string,
23613
23703
 
23614
- /**
23615
- Custom body request to upload action.
23704
+ /**
23705
+ Custom body request to upload action.
23616
23706
  */
23617
23707
  customBodyRequest: PropTypes.func,
23618
23708
 
23619
- /**
23620
- Contains an authentication token for upload API.
23709
+ /**
23710
+ Contains an authentication token for upload API.
23621
23711
  */
23622
23712
  token: PropTypes.string,
23623
23713
 
23624
- /**
23625
- Referencing the headers key to attach the token.
23714
+ /**
23715
+ Referencing the headers key to attach the token.
23626
23716
  */
23627
23717
  tokenKey: PropTypes.string,
23628
23718
 
23629
- /**
23630
- Referencing the key to attach the file to be sent.
23719
+ /**
23720
+ Referencing the key to attach the file to be sent.
23631
23721
  */
23632
23722
  reqKey: PropTypes.string,
23633
23723
 
23634
- /**
23635
- Referencing the key to get the file from the API response.
23724
+ /**
23725
+ Referencing the key to get the file from the API response.
23636
23726
  */
23637
23727
  resKey: PropTypes.string,
23638
23728
 
23639
- /**
23640
- To compression image if file size > 1MB.
23729
+ /**
23730
+ To compression image if file size > 1MB.
23641
23731
  */
23642
23732
  imageCompression: PropTypes.bool,
23643
23733
 
23644
- /**
23645
- Callback to handle before crop image.
23734
+ /**
23735
+ Callback to handle before crop image.
23646
23736
  */
23647
23737
  onBeforeCrop: PropTypes.func
23648
23738
  };
@@ -24269,7 +24359,7 @@ const Device = props => {
24269
24359
 
24270
24360
  Device.displayName = 'DevicePreview';
24271
24361
 
24272
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
24362
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
24273
24363
  const Separator$1 = styled('div', {
24274
24364
  height: 20,
24275
24365
  width: 1,
@@ -24281,10 +24371,10 @@ function InputColorPicker(props) {
24281
24371
  const [isPopover, setIsPopover] = useState(false);
24282
24372
 
24283
24373
  function getColor() {
24284
- const color = props === null || props === void 0 ? void 0 : props.color;
24374
+ const color = props == null ? void 0 : props.color;
24285
24375
 
24286
24376
  if (typeof color === 'string') {
24287
- return color === null || color === void 0 ? void 0 : color.toUpperCase();
24377
+ return color == null ? void 0 : color.toUpperCase();
24288
24378
  }
24289
24379
 
24290
24380
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -24381,28 +24471,28 @@ function InputColorPicker(props) {
24381
24471
 
24382
24472
  InputColorPicker.displayName = 'InputColorPicker';
24383
24473
  InputColorPicker.propTypes = {
24384
- /**
24385
- Color code to be displayed.
24474
+ /**
24475
+ Color code to be displayed.
24386
24476
  */
24387
24477
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
24388
24478
 
24389
- /**
24390
- Additional color list.
24479
+ /**
24480
+ Additional color list.
24391
24481
  */
24392
24482
  presetColors: PropTypes.array,
24393
24483
 
24394
- /**
24395
- Change event handler.
24484
+ /**
24485
+ Change event handler.
24396
24486
  */
24397
24487
  onChange: PropTypes.func,
24398
24488
 
24399
- /**
24400
- Add preset color event handler.
24489
+ /**
24490
+ Add preset color event handler.
24401
24491
  */
24402
24492
  onAddColor: PropTypes.func,
24403
24493
 
24404
- /**
24405
- Disable opacity selector.
24494
+ /**
24495
+ Disable opacity selector.
24406
24496
  */
24407
24497
  disableAlpha: PropTypes.bool
24408
24498
  };
@@ -24412,7 +24502,7 @@ InputColorPicker.defaultProps = {
24412
24502
 
24413
24503
  var img$d = "data:image/gif;base64,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";
24414
24504
 
24415
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
24505
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
24416
24506
  const Container$6 = styled('div', {
24417
24507
  userSelect: 'none',
24418
24508
  margin: 'auto',
@@ -26376,7 +26466,7 @@ function ColorMap({
26376
26466
  })));
26377
26467
  }
26378
26468
 
26379
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
26469
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
26380
26470
  const CheckBoard = styled(Flex$1, {
26381
26471
  background: '$bgwhite',
26382
26472
  border: '1px solid #E5E7EB',
@@ -26577,7 +26667,7 @@ function ColorFields({
26577
26667
  }, "%")));
26578
26668
  }
26579
26669
 
26580
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
26670
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
26581
26671
  const Container$5 = styled(Flex$1, {
26582
26672
  background: '$white',
26583
26673
  padding: 16,
@@ -27080,28 +27170,28 @@ function ColorPicker({
27080
27170
  }
27081
27171
 
27082
27172
  ColorPicker.propTypes = {
27083
- /**
27084
- Color code to be displayed.
27173
+ /**
27174
+ Color code to be displayed.
27085
27175
  */
27086
27176
  color: PropTypes.oneOfType([PropTypes.object, PropTypes.string]),
27087
27177
 
27088
- /**
27089
- Additional color list
27178
+ /**
27179
+ Additional color list
27090
27180
  */
27091
27181
  presetColors: PropTypes.array,
27092
27182
 
27093
- /**
27094
- Change event handler
27183
+ /**
27184
+ Change event handler
27095
27185
  */
27096
27186
  onChange: PropTypes.func,
27097
27187
 
27098
- /**
27099
- Add preset color event handler
27188
+ /**
27189
+ Add preset color event handler
27100
27190
  */
27101
27191
  onAddColor: PropTypes.func,
27102
27192
 
27103
- /**
27104
- Disable opacity selector
27193
+ /**
27194
+ Disable opacity selector
27105
27195
  */
27106
27196
  disableAlpha: PropTypes.bool
27107
27197
  };
@@ -27110,7 +27200,7 @@ ColorPicker.defaultProps = {
27110
27200
  };
27111
27201
  var ColorPicker$1 = ColorWrap(ColorPicker);
27112
27202
 
27113
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
27203
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
27114
27204
  const StepWizardContext = /*#__PURE__*/React__default.createContext({});
27115
27205
  const Stepper = StepWizard$1;
27116
27206
  Stepper.displayName = 'Stepper';
@@ -27196,7 +27286,8 @@ const Navigation = props => {
27196
27286
  data,
27197
27287
  cssNav,
27198
27288
  isHide,
27199
- forbidClickNav
27289
+ forbidClickNav,
27290
+ hideCheckedIcon
27200
27291
  } = React__default.useContext(StepWizardContext);
27201
27292
  const mobileHidden = isMobile && isHide && {
27202
27293
  height: 'unset',
@@ -27244,7 +27335,7 @@ const Navigation = props => {
27244
27335
  lineNumber: 119,
27245
27336
  columnNumber: 15
27246
27337
  }
27247
- }), isComplete && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
27338
+ }), isComplete && !hideCheckedIcon && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
27248
27339
  css: {
27249
27340
  marginRight: 9
27250
27341
  },
@@ -27254,11 +27345,11 @@ const Navigation = props => {
27254
27345
  __source: {
27255
27346
  fileName: _jsxFileName$4,
27256
27347
  lineNumber: 120,
27257
- columnNumber: 30
27348
+ columnNumber: 50
27258
27349
  }
27259
- }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) === null || _data$title === void 0 ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) === null || _data2 === void 0 ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27350
+ }), typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title = (_data = data[i - 1]).title) == null ? void 0 : _data$title.call(_data), ((_data2 = data[i - 1]) == null ? void 0 : _data2.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27260
27351
  align: "center",
27261
- label: (_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.tooltipsContents,
27352
+ label: (_data3 = data[i - 1]) == null ? void 0 : _data3.tooltipsContents,
27262
27353
  __self: undefined,
27263
27354
  __source: {
27264
27355
  fileName: _jsxFileName$4,
@@ -27277,9 +27368,9 @@ const Navigation = props => {
27277
27368
  lineNumber: 124,
27278
27369
  columnNumber: 19
27279
27370
  }
27280
- })), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27371
+ })), ((_data4 = data[i - 1]) == null ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27281
27372
  css: {
27282
- marginLeft: (_data5 = data[i - 1]) !== null && _data5 !== void 0 && _data5.withTolltip ? 0 : '$spacing-03'
27373
+ marginLeft: (_data5 = data[i - 1]) != null && _data5.withTolltip ? 0 : '$spacing-03'
27283
27374
  },
27284
27375
  align: "center",
27285
27376
  __self: undefined,
@@ -27314,14 +27405,14 @@ const Navigation = props => {
27314
27405
  lineNumber: 137,
27315
27406
  columnNumber: 13
27316
27407
  }
27317
- }, isComplete && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
27408
+ }, isComplete && !hideCheckedIcon && /*#__PURE__*/React__default.createElement(StyledCheckFiled, {
27318
27409
  size: "24",
27319
27410
  color: colors$4.bgGreen,
27320
27411
  __self: undefined,
27321
27412
  __source: {
27322
27413
  fileName: _jsxFileName$4,
27323
27414
  lineNumber: 149,
27324
- columnNumber: 30
27415
+ columnNumber: 50
27325
27416
  }
27326
27417
  }), !isComplete && /*#__PURE__*/React__default.createElement(Flex$1, {
27327
27418
  justify: "center",
@@ -27331,7 +27422,7 @@ const Navigation = props => {
27331
27422
  height: 24,
27332
27423
  borderRadius: '$round',
27333
27424
  border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
27334
- backgroundColor: (_data6 = data[i - 1]) !== null && _data6 !== void 0 && _data6.disabled ? '$gray200' : '$white'
27425
+ backgroundColor: (_data6 = data[i - 1]) != null && _data6.disabled ? '$gray200' : '$white'
27335
27426
  },
27336
27427
  __self: undefined,
27337
27428
  __source: {
@@ -27349,10 +27440,10 @@ const Navigation = props => {
27349
27440
  lineNumber: 163,
27350
27441
  columnNumber: 15
27351
27442
  }
27352
- }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) === null || _data$title2 === void 0 ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) === null || _data8 === void 0 ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27443
+ }, isActive ? typeof data[i - 1].title === 'string' ? data[i - 1].title : (_data$title2 = (_data7 = data[i - 1]).title) == null ? void 0 : _data$title2.call(_data7) : ''), isActive && ((_data8 = data[i - 1]) == null ? void 0 : _data8.withTolltip) && /*#__PURE__*/React__default.createElement(Tooltip$1, {
27353
27444
  align: "center",
27354
27445
  withClick: true,
27355
- label: (_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.tooltipsContents,
27446
+ label: (_data9 = data[i - 1]) == null ? void 0 : _data9.tooltipsContents,
27356
27447
  __self: undefined,
27357
27448
  __source: {
27358
27449
  fileName: _jsxFileName$4,
@@ -27368,11 +27459,11 @@ const Navigation = props => {
27368
27459
  lineNumber: 168,
27369
27460
  columnNumber: 19
27370
27461
  }
27371
- })), isActive && ((_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27462
+ })), isActive && ((_data10 = data[i - 1]) == null ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default.createElement(Flex$1, {
27372
27463
  align: "center",
27373
27464
  justify: "center",
27374
27465
  css: {
27375
- marginTop: (_data11 = data[i - 1]) !== null && _data11 !== void 0 && _data11.withTolltip ? 0 : '$spacing-03'
27466
+ marginTop: (_data11 = data[i - 1]) != null && _data11.withTolltip ? 0 : '$spacing-03'
27376
27467
  },
27377
27468
  __self: undefined,
27378
27469
  __source: {
@@ -27454,9 +27545,7 @@ const Default = props => {
27454
27545
  }));
27455
27546
  }, [props.hide]);
27456
27547
  useEffect(() => {
27457
- var _props$onChangeVisibi;
27458
-
27459
- props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
27548
+ props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
27460
27549
  }, [state.hide]);
27461
27550
 
27462
27551
  const toogleVisibility = value => {
@@ -27468,13 +27557,13 @@ const Default = props => {
27468
27557
  const getIsComplete = currentStep => {
27469
27558
  var _state$isComplete;
27470
27559
 
27471
- return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
27560
+ return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
27472
27561
  };
27473
27562
 
27474
27563
  const getTitleStep = currentStep => {
27475
27564
  var _props$navContents, _props$navContents2;
27476
27565
 
27477
- return props === null || props === void 0 ? void 0 : (_props$navContents = props.navContents) === null || _props$navContents === void 0 ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) === null || _props$navContents2 === void 0 ? void 0 : _props$navContents2.title;
27566
+ return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
27478
27567
  };
27479
27568
 
27480
27569
  const setState = value => {
@@ -27516,15 +27605,15 @@ const Default = props => {
27516
27605
  });
27517
27606
  props.onStepChange && props.onStepChange(e);
27518
27607
 
27519
- if (props !== null && props !== void 0 && (_props$navContents3 = props.navContents) !== null && _props$navContents3 !== void 0 && (_props$navContents4 = _props$navContents3[(e === null || e === void 0 ? void 0 : e.activeStep) - 1]) !== null && _props$navContents4 !== void 0 && _props$navContents4.disabled) {
27520
- if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
27608
+ if (props != null && (_props$navContents3 = props.navContents) != null && (_props$navContents4 = _props$navContents3[(e == null ? void 0 : e.activeStep) - 1]) != null && _props$navContents4.disabled) {
27609
+ if ((e == null ? void 0 : e.activeStep) > (e == null ? void 0 : e.previousStep)) {
27521
27610
  var _state$SW;
27522
27611
 
27523
- state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
27612
+ state == null ? void 0 : (_state$SW = state.SW) == null ? void 0 : _state$SW.nextStep();
27524
27613
  } else {
27525
27614
  var _state$SW2;
27526
27615
 
27527
- state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
27616
+ state == null ? void 0 : (_state$SW2 = state.SW) == null ? void 0 : _state$SW2.previousStep();
27528
27617
  }
27529
27618
  }
27530
27619
  };
@@ -27540,18 +27629,19 @@ const Default = props => {
27540
27629
  }, /*#__PURE__*/React__default.createElement(StepWizardContext.Provider, {
27541
27630
  value: {
27542
27631
  toogleVisibility,
27543
- isHide: state === null || state === void 0 ? void 0 : state.hide,
27632
+ isHide: state == null ? void 0 : state.hide,
27544
27633
  setComplete,
27545
27634
  setState,
27546
27635
  state,
27547
- SW: state === null || state === void 0 ? void 0 : state.SW,
27636
+ SW: state == null ? void 0 : state.SW,
27548
27637
  forbidClickNav: props.forbidClickNav,
27549
27638
  titles: props.titles,
27550
27639
  isMobile: props.isMobile,
27551
27640
  data: props.navContents,
27552
27641
  cssNav: props.cssNav,
27553
27642
  getIsComplete,
27554
- getTitleStep
27643
+ getTitleStep,
27644
+ hideCheckedIcon: props.hideCheckedIcon
27555
27645
  },
27556
27646
  __self: undefined,
27557
27647
  __source: {
@@ -27569,7 +27659,7 @@ const Default = props => {
27569
27659
  __self: undefined,
27570
27660
  __source: {
27571
27661
  fileName: _jsxFileName$4,
27572
- lineNumber: 320,
27662
+ lineNumber: 321,
27573
27663
  columnNumber: 16
27574
27664
  }
27575
27665
  }),
@@ -27579,7 +27669,7 @@ const Default = props => {
27579
27669
  __self: undefined,
27580
27670
  __source: {
27581
27671
  fileName: _jsxFileName$4,
27582
- lineNumber: 315,
27672
+ lineNumber: 316,
27583
27673
  columnNumber: 9
27584
27674
  }
27585
27675
  }), props.children)));
@@ -27591,7 +27681,7 @@ const StepWizard = props => {
27591
27681
  }), void 0);
27592
27682
  };
27593
27683
 
27594
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
27684
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
27595
27685
 
27596
27686
  function Collapse({
27597
27687
  children,
@@ -27636,7 +27726,7 @@ Collapse.defaultProps = {
27636
27726
  isOpen: false
27637
27727
  };
27638
27728
 
27639
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
27729
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
27640
27730
  const DesktopContainer = styled(Flex$1, {
27641
27731
  display: 'none',
27642
27732
  '& .active-scroll-spy': {
@@ -27717,10 +27807,10 @@ function Content({
27717
27807
  function getDatasets(content, activeId, isCollapse) {
27718
27808
  const datasets = [];
27719
27809
 
27720
- for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
27810
+ for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
27721
27811
  var _content$i;
27722
27812
 
27723
- if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
27813
+ if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
27724
27814
  datasets.unshift(content[i]);
27725
27815
  } else {
27726
27816
  datasets.push(content[i]);
@@ -27760,7 +27850,7 @@ function Content({
27760
27850
  lineNumber: 99,
27761
27851
  columnNumber: 7
27762
27852
  }
27763
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
27853
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
27764
27854
  return /*#__PURE__*/React__default.createElement(List, {
27765
27855
  key: index,
27766
27856
  __self: this,
@@ -27777,11 +27867,11 @@ function Content({
27777
27867
  marginLeft: '-4px !important',
27778
27868
  borderLeftWidth: '4px !important',
27779
27869
  borderLeftStyle: 'solid !important',
27780
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
27870
+ borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
27781
27871
  paddingLeft: '16px !important',
27782
27872
  minHeight: 25
27783
27873
  },
27784
- "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
27874
+ "data-to-scrollspy-id": item == null ? void 0 : item.id,
27785
27875
  __self: this,
27786
27876
  __source: {
27787
27877
  fileName: _jsxFileName$2,
@@ -27790,8 +27880,8 @@ function Content({
27790
27880
  }
27791
27881
  }, /*#__PURE__*/React__default.createElement(Title$1, {
27792
27882
  className: "link-title",
27793
- active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
27794
- href: `#${item === null || item === void 0 ? void 0 : item.id}`,
27883
+ active: (item == null ? void 0 : item.id) === activeId,
27884
+ href: `#${item == null ? void 0 : item.id}`,
27795
27885
  onClick: e => {
27796
27886
  e.preventDefault();
27797
27887
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -27820,7 +27910,7 @@ function Content({
27820
27910
  lineNumber: 117,
27821
27911
  columnNumber: 17
27822
27912
  }
27823
- }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
27913
+ }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
27824
27914
  })));
27825
27915
  }
27826
27916
 
@@ -27922,23 +28012,23 @@ TableOfContent.defaultProps = {
27922
28012
  isDialog: false
27923
28013
  };
27924
28014
  TableOfContent.propTypes = {
27925
- /**
27926
- List of contents containing the title and id of a content.
28015
+ /**
28016
+ List of contents containing the title and id of a content.
27927
28017
  */
27928
28018
  content: PropTypes.array,
27929
28019
 
27930
- /**
27931
- Components devoted to mobile viewing only.
28020
+ /**
28021
+ Components devoted to mobile viewing only.
27932
28022
  */
27933
28023
  isMobile: PropTypes.bool,
27934
28024
 
27935
- /**
27936
- Condition when table of content is inside a component dialog.
28025
+ /**
28026
+ Condition when table of content is inside a component dialog.
27937
28027
  */
27938
28028
  isDialog: PropTypes.bool,
27939
28029
 
27940
- /**
27941
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
28030
+ /**
28031
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
27942
28032
  */
27943
28033
  activeId: PropTypes.string
27944
28034
  };
@@ -27958,7 +28048,7 @@ TableOfContentPage.defaultProps = {
27958
28048
  useBoxMethod: true
27959
28049
  };
27960
28050
 
27961
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
28051
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
27962
28052
 
27963
28053
  function Collapalse({
27964
28054
  children,
@@ -28891,7 +28981,16 @@ const StyledProgress = styled$1(ProgressPrimitive.Root, {
28891
28981
  background: '$gray150',
28892
28982
  borderRadius: '99999px',
28893
28983
  width: '100%',
28894
- height: 8
28984
+ variants: {
28985
+ size: {
28986
+ sm: {
28987
+ height: 4
28988
+ },
28989
+ md: {
28990
+ height: 8
28991
+ }
28992
+ }
28993
+ }
28895
28994
  });
28896
28995
  const StyledIndicator = styled$1(ProgressPrimitive.Indicator, {
28897
28996
  background: 'linear-gradient(90deg, rgba(1,174,136,1) 35%, rgba(4,201,158,1) 100%)',
@@ -28908,13 +29007,15 @@ function PrimitiveLoadingBar({
28908
29007
  showProgressOnly,
28909
29008
  css,
28910
29009
  visibility,
28911
- colors
29010
+ colors,
29011
+ size
28912
29012
  }) {
28913
29013
  return visibility && jsxs(Container$4, Object.assign({
28914
29014
  css: css
28915
29015
  }, {
28916
29016
  children: [jsx(Progress, Object.assign({
28917
- value: 66
29017
+ value: 66,
29018
+ size: size
28918
29019
  }, {
28919
29020
  children: jsx(ProgressIndicator$1, {
28920
29021
  style: {
@@ -28975,7 +29076,8 @@ function LoadingBar(props) {
28975
29076
  LoadingBar.defaultProps = {
28976
29077
  showProgressOnly: false,
28977
29078
  show: false,
28978
- description: 'Loading...'
29079
+ description: 'Loading...',
29080
+ size: 'md'
28979
29081
  };
28980
29082
 
28981
29083
  const Container$3 = styled(Flex$1, {
@@ -31635,7 +31737,7 @@ function Skeleton() {
31635
31737
  }
31636
31738
  }
31637
31739
 
31638
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
31740
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
31639
31741
  const StyledPaper = styled(Paper, {
31640
31742
  borderRadius: '10px 10px 0 0',
31641
31743
  padding: 15,