@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.umd.js CHANGED
@@ -58,7 +58,7 @@
58
58
  var ReactCrop__default = /*#__PURE__*/_interopDefaultLegacy(ReactCrop);
59
59
  var imageCompressionComponent__default = /*#__PURE__*/_interopDefaultLegacy(imageCompressionComponent);
60
60
 
61
- var _jsxFileName$10 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\ThemeProvider.js";
61
+ var _jsxFileName$11 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
62
62
 
63
63
  function ThemeProvider({
64
64
  theme,
@@ -68,7 +68,7 @@
68
68
  className: theme,
69
69
  __self: this,
70
70
  __source: {
71
- fileName: _jsxFileName$10,
71
+ fileName: _jsxFileName$11,
72
72
  lineNumber: 5,
73
73
  columnNumber: 10
74
74
  }
@@ -87,7 +87,7 @@
87
87
  };
88
88
 
89
89
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
90
- var global$U =
90
+ var global$s =
91
91
  // eslint-disable-next-line es-x/no-global-this -- safe
92
92
  check(typeof globalThis == 'object' && globalThis) ||
93
93
  check(typeof window == 'object' && window) ||
@@ -181,31 +181,28 @@
181
181
  return stringSlice$b(toString$j(it), 8, -1);
182
182
  };
183
183
 
184
- var global$T = global$U;
185
184
  var uncurryThis$v = functionUncurryThis;
186
185
  var fails$q = fails$t;
187
186
  var classof$8 = classofRaw$1;
188
187
 
189
- var Object$5 = global$T.Object;
188
+ var $Object$4 = Object;
190
189
  var split$3 = uncurryThis$v(''.split);
191
190
 
192
191
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
193
192
  var indexedObject = fails$q(function () {
194
193
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
195
194
  // eslint-disable-next-line no-prototype-builtins -- safe
196
- return !Object$5('z').propertyIsEnumerable(0);
195
+ return !$Object$4('z').propertyIsEnumerable(0);
197
196
  }) ? function (it) {
198
- return classof$8(it) == 'String' ? split$3(it, '') : Object$5(it);
199
- } : Object$5;
200
-
201
- var global$S = global$U;
197
+ return classof$8(it) == 'String' ? split$3(it, '') : $Object$4(it);
198
+ } : $Object$4;
202
199
 
203
- var TypeError$j = global$S.TypeError;
200
+ var $TypeError$f = TypeError;
204
201
 
205
202
  // `RequireObjectCoercible` abstract operation
206
203
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
207
204
  var requireObjectCoercible$a = function (it) {
208
- if (it == undefined) throw TypeError$j("Can't call method on " + it);
205
+ if (it == undefined) throw $TypeError$f("Can't call method on " + it);
209
206
  return it;
210
207
  };
211
208
 
@@ -229,7 +226,7 @@
229
226
  return typeof it == 'object' ? it !== null : isCallable$o(it);
230
227
  };
231
228
 
232
- var global$R = global$U;
229
+ var global$r = global$s;
233
230
  var isCallable$n = isCallable$p;
234
231
 
235
232
  var aFunction = function (argument) {
@@ -237,7 +234,7 @@
237
234
  };
238
235
 
239
236
  var getBuiltIn$8 = function (namespace, method) {
240
- return arguments.length < 2 ? aFunction(global$R[namespace]) : global$R[namespace] && global$R[namespace][method];
237
+ return arguments.length < 2 ? aFunction(global$r[namespace]) : global$r[namespace] && global$r[namespace][method];
241
238
  };
242
239
 
243
240
  var uncurryThis$u = functionUncurryThis;
@@ -248,11 +245,11 @@
248
245
 
249
246
  var engineUserAgent = getBuiltIn$7('navigator', 'userAgent') || '';
250
247
 
251
- var global$Q = global$U;
248
+ var global$q = global$s;
252
249
  var userAgent$5 = engineUserAgent;
253
250
 
254
- var process$3 = global$Q.process;
255
- var Deno$1 = global$Q.Deno;
251
+ var process$3 = global$q.process;
252
+ var Deno$1 = global$q.Deno;
256
253
  var versions = process$3 && process$3.versions || Deno$1 && Deno$1.version;
257
254
  var v8 = versions && versions.v8;
258
255
  var match, version;
@@ -299,43 +296,39 @@
299
296
  && !Symbol.sham
300
297
  && typeof Symbol.iterator == 'symbol';
301
298
 
302
- var global$P = global$U;
303
299
  var getBuiltIn$6 = getBuiltIn$8;
304
300
  var isCallable$m = isCallable$p;
305
301
  var isPrototypeOf$5 = objectIsPrototypeOf;
306
302
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
307
303
 
308
- var Object$4 = global$P.Object;
304
+ var $Object$3 = Object;
309
305
 
310
306
  var isSymbol$6 = USE_SYMBOL_AS_UID$1 ? function (it) {
311
307
  return typeof it == 'symbol';
312
308
  } : function (it) {
313
309
  var $Symbol = getBuiltIn$6('Symbol');
314
- return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
310
+ return isCallable$m($Symbol) && isPrototypeOf$5($Symbol.prototype, $Object$3(it));
315
311
  };
316
312
 
317
- var global$O = global$U;
318
-
319
- var String$6 = global$O.String;
313
+ var $String$4 = String;
320
314
 
321
- var tryToString$4 = function (argument) {
315
+ var tryToString$5 = function (argument) {
322
316
  try {
323
- return String$6(argument);
317
+ return $String$4(argument);
324
318
  } catch (error) {
325
319
  return 'Object';
326
320
  }
327
321
  };
328
322
 
329
- var global$N = global$U;
330
323
  var isCallable$l = isCallable$p;
331
- var tryToString$3 = tryToString$4;
324
+ var tryToString$4 = tryToString$5;
332
325
 
333
- var TypeError$i = global$N.TypeError;
326
+ var $TypeError$e = TypeError;
334
327
 
335
328
  // `Assert: IsCallable(argument) is true`
336
329
  var aCallable$9 = function (argument) {
337
330
  if (isCallable$l(argument)) return argument;
338
- throw TypeError$i(tryToString$3(argument) + ' is not a function');
331
+ throw $TypeError$e(tryToString$4(argument) + ' is not a function');
339
332
  };
340
333
 
341
334
  var aCallable$8 = aCallable$9;
@@ -347,12 +340,11 @@
347
340
  return func == null ? undefined : aCallable$8(func);
348
341
  };
349
342
 
350
- var global$M = global$U;
351
343
  var call$l = functionCall;
352
344
  var isCallable$k = isCallable$p;
353
345
  var isObject$c = isObject$d;
354
346
 
355
- var TypeError$h = global$M.TypeError;
347
+ var $TypeError$d = TypeError;
356
348
 
357
349
  // `OrdinaryToPrimitive` abstract operation
358
350
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
@@ -361,31 +353,31 @@
361
353
  if (pref === 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
362
354
  if (isCallable$k(fn = input.valueOf) && !isObject$c(val = call$l(fn, input))) return val;
363
355
  if (pref !== 'string' && isCallable$k(fn = input.toString) && !isObject$c(val = call$l(fn, input))) return val;
364
- throw TypeError$h("Can't convert object to primitive value");
356
+ throw $TypeError$d("Can't convert object to primitive value");
365
357
  };
366
358
 
367
359
  var shared$4 = {exports: {}};
368
360
 
369
361
  var isPure = false;
370
362
 
371
- var global$L = global$U;
363
+ var global$p = global$s;
372
364
 
373
365
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
374
- var defineProperty$7 = Object.defineProperty;
366
+ var defineProperty$8 = Object.defineProperty;
375
367
 
376
- var setGlobal$3 = function (key, value) {
368
+ var defineGlobalProperty$3 = function (key, value) {
377
369
  try {
378
- defineProperty$7(global$L, key, { value: value, configurable: true, writable: true });
370
+ defineProperty$8(global$p, key, { value: value, configurable: true, writable: true });
379
371
  } catch (error) {
380
- global$L[key] = value;
372
+ global$p[key] = value;
381
373
  } return value;
382
374
  };
383
375
 
384
- var global$K = global$U;
385
- var setGlobal$2 = setGlobal$3;
376
+ var global$o = global$s;
377
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
386
378
 
387
379
  var SHARED = '__core-js_shared__';
388
- var store$3 = global$K[SHARED] || setGlobal$2(SHARED, {});
380
+ var store$3 = global$o[SHARED] || defineGlobalProperty$2(SHARED, {});
389
381
 
390
382
  var sharedStore = store$3;
391
383
 
@@ -394,22 +386,21 @@
394
386
  (shared$4.exports = function (key, value) {
395
387
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
396
388
  })('versions', []).push({
397
- version: '3.22.5',
389
+ version: '3.24.1',
398
390
  mode: 'global',
399
391
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
400
- license: 'https://github.com/zloirock/core-js/blob/v3.22.5/LICENSE',
392
+ license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
401
393
  source: 'https://github.com/zloirock/core-js'
402
394
  });
403
395
 
404
- var global$J = global$U;
405
396
  var requireObjectCoercible$8 = requireObjectCoercible$a;
406
397
 
407
- var Object$3 = global$J.Object;
398
+ var $Object$2 = Object;
408
399
 
409
400
  // `ToObject` abstract operation
410
401
  // https://tc39.es/ecma262/#sec-toobject
411
402
  var toObject$7 = function (argument) {
412
- return Object$3(requireObjectCoercible$8(argument));
403
+ return $Object$2(requireObjectCoercible$8(argument));
413
404
  };
414
405
 
415
406
  var uncurryThis$t = functionUncurryThis;
@@ -434,7 +425,7 @@
434
425
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$i(++id + postfix, 36);
435
426
  };
436
427
 
437
- var global$I = global$U;
428
+ var global$n = global$s;
438
429
  var shared$3 = shared$4.exports;
439
430
  var hasOwn$e = hasOwnProperty_1;
440
431
  var uid$1 = uid$2;
@@ -442,7 +433,7 @@
442
433
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
443
434
 
444
435
  var WellKnownSymbolsStore = shared$3('wks');
445
- var Symbol$7 = global$I.Symbol;
436
+ var Symbol$7 = global$n.Symbol;
446
437
  var symbolFor = Symbol$7 && Symbol$7['for'];
447
438
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$7 : Symbol$7 && Symbol$7.withoutSetter || uid$1;
448
439
 
@@ -459,7 +450,6 @@
459
450
  } return WellKnownSymbolsStore[name];
460
451
  };
461
452
 
462
- var global$H = global$U;
463
453
  var call$k = functionCall;
464
454
  var isObject$b = isObject$d;
465
455
  var isSymbol$5 = isSymbol$6;
@@ -467,7 +457,7 @@
467
457
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
468
458
  var wellKnownSymbol$k = wellKnownSymbol$l;
469
459
 
470
- var TypeError$g = global$H.TypeError;
460
+ var $TypeError$c = TypeError;
471
461
  var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
472
462
 
473
463
  // `ToPrimitive` abstract operation
@@ -480,7 +470,7 @@
480
470
  if (pref === undefined) pref = 'default';
481
471
  result = call$k(exoticToPrim, input, pref);
482
472
  if (!isObject$b(result) || isSymbol$5(result)) return result;
483
- throw TypeError$g("Can't convert object to primitive value");
473
+ throw $TypeError$c("Can't convert object to primitive value");
484
474
  }
485
475
  if (pref === undefined) pref = 'number';
486
476
  return ordinaryToPrimitive(input, pref);
@@ -496,10 +486,10 @@
496
486
  return isSymbol$4(key) ? key : key + '';
497
487
  };
498
488
 
499
- var global$G = global$U;
489
+ var global$m = global$s;
500
490
  var isObject$a = isObject$d;
501
491
 
502
- var document$3 = global$G.document;
492
+ var document$3 = global$m.document;
503
493
  // typeof document.createElement is 'object' in old IE
504
494
  var EXISTS$1 = isObject$a(document$3) && isObject$a(document$3.createElement);
505
495
 
@@ -557,26 +547,24 @@
557
547
  }).prototype != 42;
558
548
  });
559
549
 
560
- var global$F = global$U;
561
550
  var isObject$9 = isObject$d;
562
551
 
563
- var String$5 = global$F.String;
564
- var TypeError$f = global$F.TypeError;
552
+ var $String$3 = String;
553
+ var $TypeError$b = TypeError;
565
554
 
566
555
  // `Assert: Type(argument) is Object`
567
556
  var anObject$i = function (argument) {
568
557
  if (isObject$9(argument)) return argument;
569
- throw TypeError$f(String$5(argument) + ' is not an object');
558
+ throw $TypeError$b($String$3(argument) + ' is not an object');
570
559
  };
571
560
 
572
- var global$E = global$U;
573
561
  var DESCRIPTORS$b = descriptors;
574
562
  var IE8_DOM_DEFINE = ie8DomDefine;
575
563
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
576
564
  var anObject$h = anObject$i;
577
565
  var toPropertyKey$1 = toPropertyKey$3;
578
566
 
579
- var TypeError$e = global$E.TypeError;
567
+ var $TypeError$a = TypeError;
580
568
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
581
569
  var $defineProperty = Object.defineProperty;
582
570
  // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
@@ -609,7 +597,7 @@
609
597
  if (IE8_DOM_DEFINE) try {
610
598
  return $defineProperty(O, P, Attributes);
611
599
  } catch (error) { /* empty */ }
612
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
600
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$a('Accessors not supported');
613
601
  if ('value' in Attributes) O[P] = Attributes.value;
614
602
  return O;
615
603
  };
@@ -618,7 +606,7 @@
618
606
  var definePropertyModule$5 = objectDefineProperty;
619
607
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
620
608
 
621
- var createNonEnumerableProperty$7 = DESCRIPTORS$a ? function (object, key, value) {
609
+ var createNonEnumerableProperty$6 = DESCRIPTORS$a ? function (object, key, value) {
622
610
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$3(1, value));
623
611
  } : function (object, key, value) {
624
612
  object[key] = value;
@@ -660,11 +648,11 @@
660
648
 
661
649
  var inspectSource$4 = store$1.inspectSource;
662
650
 
663
- var global$D = global$U;
651
+ var global$l = global$s;
664
652
  var isCallable$i = isCallable$p;
665
653
  var inspectSource$3 = inspectSource$4;
666
654
 
667
- var WeakMap$1 = global$D.WeakMap;
655
+ var WeakMap$1 = global$l.WeakMap;
668
656
 
669
657
  var nativeWeakMap = isCallable$i(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
670
658
 
@@ -680,18 +668,18 @@
680
668
  var hiddenKeys$4 = {};
681
669
 
682
670
  var NATIVE_WEAK_MAP = nativeWeakMap;
683
- var global$C = global$U;
671
+ var global$k = global$s;
684
672
  var uncurryThis$q = functionUncurryThis;
685
673
  var isObject$8 = isObject$d;
686
- var createNonEnumerableProperty$6 = createNonEnumerableProperty$7;
674
+ var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
687
675
  var hasOwn$b = hasOwnProperty_1;
688
676
  var shared$1 = sharedStore;
689
677
  var sharedKey$2 = sharedKey$3;
690
678
  var hiddenKeys$3 = hiddenKeys$4;
691
679
 
692
680
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
693
- var TypeError$d = global$C.TypeError;
694
- var WeakMap = global$C.WeakMap;
681
+ var TypeError$4 = global$k.TypeError;
682
+ var WeakMap = global$k.WeakMap;
695
683
  var set$1, get$1, has;
696
684
 
697
685
  var enforce = function (it) {
@@ -702,7 +690,7 @@
702
690
  return function (it) {
703
691
  var state;
704
692
  if (!isObject$8(it) || (state = get$1(it)).type !== TYPE) {
705
- throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
693
+ throw TypeError$4('Incompatible receiver, ' + TYPE + ' required');
706
694
  } return state;
707
695
  };
708
696
  };
@@ -713,7 +701,7 @@
713
701
  var wmhas = uncurryThis$q(store.has);
714
702
  var wmset = uncurryThis$q(store.set);
715
703
  set$1 = function (it, metadata) {
716
- if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
704
+ if (wmhas(store, it)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
717
705
  metadata.facade = it;
718
706
  wmset(store, it, metadata);
719
707
  return metadata;
@@ -728,9 +716,9 @@
728
716
  var STATE = sharedKey$2('state');
729
717
  hiddenKeys$3[STATE] = true;
730
718
  set$1 = function (it, metadata) {
731
- if (hasOwn$b(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
719
+ if (hasOwn$b(it, STATE)) throw new TypeError$4(OBJECT_ALREADY_INITIALIZED);
732
720
  metadata.facade = it;
733
- createNonEnumerableProperty$6(it, STATE, metadata);
721
+ createNonEnumerableProperty$5(it, STATE, metadata);
734
722
  return metadata;
735
723
  };
736
724
  get$1 = function (it) {
@@ -760,10 +748,10 @@
760
748
  var enforceInternalState$1 = InternalStateModule$5.enforce;
761
749
  var getInternalState$3 = InternalStateModule$5.get;
762
750
  // eslint-disable-next-line es-x/no-object-defineproperty -- safe
763
- var defineProperty$6 = Object.defineProperty;
751
+ var defineProperty$7 = Object.defineProperty;
764
752
 
765
753
  var CONFIGURABLE_LENGTH = DESCRIPTORS$8 && !fails$m(function () {
766
- return defineProperty$6(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
754
+ return defineProperty$7(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
767
755
  });
768
756
 
769
757
  var TEMPLATE = String(String).split('String');
@@ -775,16 +763,18 @@
775
763
  if (options && options.getter) name = 'get ' + name;
776
764
  if (options && options.setter) name = 'set ' + name;
777
765
  if (!hasOwn$a(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
778
- defineProperty$6(value, 'name', { value: name, configurable: true });
766
+ if (DESCRIPTORS$8) defineProperty$7(value, 'name', { value: name, configurable: true });
767
+ else value.name = name;
779
768
  }
780
769
  if (CONFIGURABLE_LENGTH && options && hasOwn$a(options, 'arity') && value.length !== options.arity) {
781
- defineProperty$6(value, 'length', { value: options.arity });
770
+ defineProperty$7(value, 'length', { value: options.arity });
782
771
  }
783
- if (options && hasOwn$a(options, 'constructor') && options.constructor) {
784
- if (DESCRIPTORS$8) try {
785
- defineProperty$6(value, 'prototype', { writable: false });
786
- } catch (error) { /* empty */ }
787
- } else value.prototype = undefined;
772
+ try {
773
+ if (options && hasOwn$a(options, 'constructor') && options.constructor) {
774
+ if (DESCRIPTORS$8) defineProperty$7(value, 'prototype', { writable: false });
775
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
776
+ } else if (value.prototype) value.prototype = undefined;
777
+ } catch (error) { /* empty */ }
788
778
  var state = enforceInternalState$1(value);
789
779
  if (!hasOwn$a(state, 'source')) {
790
780
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
@@ -797,30 +787,32 @@
797
787
  return isCallable$h(this) && getInternalState$3(this).source || inspectSource$2(this);
798
788
  }, 'toString');
799
789
 
800
- var global$B = global$U;
801
790
  var isCallable$g = isCallable$p;
802
- var createNonEnumerableProperty$5 = createNonEnumerableProperty$7;
791
+ var definePropertyModule$4 = objectDefineProperty;
803
792
  var makeBuiltIn$1 = makeBuiltIn$3.exports;
804
- var setGlobal$1 = setGlobal$3;
793
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
805
794
 
806
795
  var defineBuiltIn$b = function (O, key, value, options) {
807
- var unsafe = options ? !!options.unsafe : false;
808
- var simple = options ? !!options.enumerable : false;
809
- var noTargetGet = options ? !!options.noTargetGet : false;
810
- var name = options && options.name !== undefined ? options.name : key;
796
+ if (!options) options = {};
797
+ var simple = options.enumerable;
798
+ var name = options.name !== undefined ? options.name : key;
811
799
  if (isCallable$g(value)) makeBuiltIn$1(value, name, options);
812
- if (O === global$B) {
800
+ if (options.global) {
813
801
  if (simple) O[key] = value;
814
- else setGlobal$1(key, value);
815
- return O;
816
- } else if (!unsafe) {
817
- delete O[key];
818
- } else if (!noTargetGet && O[key]) {
819
- simple = true;
820
- }
821
- if (simple) O[key] = value;
822
- else createNonEnumerableProperty$5(O, key, value);
823
- return O;
802
+ else defineGlobalProperty$1(key, value);
803
+ } else {
804
+ try {
805
+ if (!options.unsafe) delete O[key];
806
+ else if (O[key]) simple = true;
807
+ } catch (error) { /* empty */ }
808
+ if (simple) O[key] = value;
809
+ else definePropertyModule$4.f(O, key, {
810
+ value: value,
811
+ enumerable: false,
812
+ configurable: !options.nonConfigurable,
813
+ writable: !options.nonWritable
814
+ });
815
+ } return O;
824
816
  };
825
817
 
826
818
  var objectGetOwnPropertyNames = {};
@@ -828,12 +820,22 @@
828
820
  var ceil = Math.ceil;
829
821
  var floor$5 = Math.floor;
830
822
 
823
+ // `Math.trunc` method
824
+ // https://tc39.es/ecma262/#sec-math.trunc
825
+ // eslint-disable-next-line es-x/no-math-trunc -- safe
826
+ var mathTrunc = Math.trunc || function trunc(x) {
827
+ var n = +x;
828
+ return (n > 0 ? floor$5 : ceil)(n);
829
+ };
830
+
831
+ var trunc = mathTrunc;
832
+
831
833
  // `ToIntegerOrInfinity` abstract operation
832
834
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
833
835
  var toIntegerOrInfinity$6 = function (argument) {
834
836
  var number = +argument;
835
- // eslint-disable-next-line no-self-compare -- safe
836
- return number !== number || number === 0 ? 0 : (number > 0 ? floor$5 : ceil)(number);
837
+ // eslint-disable-next-line no-self-compare -- NaN check
838
+ return number !== number || number === 0 ? 0 : trunc(number);
837
839
  };
838
840
 
839
841
  var toIntegerOrInfinity$5 = toIntegerOrInfinity$6;
@@ -967,11 +969,11 @@
967
969
  var hasOwn$8 = hasOwnProperty_1;
968
970
  var ownKeys = ownKeys$1;
969
971
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
970
- var definePropertyModule$4 = objectDefineProperty;
972
+ var definePropertyModule$3 = objectDefineProperty;
971
973
 
972
974
  var copyConstructorProperties$2 = function (target, source, exceptions) {
973
975
  var keys = ownKeys(source);
974
- var defineProperty = definePropertyModule$4.f;
976
+ var defineProperty = definePropertyModule$3.f;
975
977
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
976
978
  for (var i = 0; i < keys.length; i++) {
977
979
  var key = keys[i];
@@ -1004,28 +1006,28 @@
1004
1006
 
1005
1007
  var isForced_1 = isForced$3;
1006
1008
 
1007
- var global$A = global$U;
1009
+ var global$j = global$s;
1008
1010
  var getOwnPropertyDescriptor$3 = objectGetOwnPropertyDescriptor.f;
1009
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$7;
1011
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
1010
1012
  var defineBuiltIn$a = defineBuiltIn$b;
1011
- var setGlobal = setGlobal$3;
1013
+ var defineGlobalProperty = defineGlobalProperty$3;
1012
1014
  var copyConstructorProperties$1 = copyConstructorProperties$2;
1013
1015
  var isForced$2 = isForced_1;
1014
1016
 
1015
1017
  /*
1016
- options.target - name of the target object
1017
- options.global - target is the global object
1018
- options.stat - export as static methods of target
1019
- options.proto - export as prototype methods of target
1020
- options.real - real prototype method for the `pure` version
1021
- options.forced - export even if the native feature is available
1022
- options.bind - bind methods to the target, required for the `pure` version
1023
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1024
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
1025
- options.sham - add a flag to not completely full polyfills
1026
- options.enumerable - export as enumerable property
1027
- options.noTargetGet - prevent calling a getter on target
1028
- options.name - the .name of the function if it does not match the key
1018
+ options.target - name of the target object
1019
+ options.global - target is the global object
1020
+ options.stat - export as static methods of target
1021
+ options.proto - export as prototype methods of target
1022
+ options.real - real prototype method for the `pure` version
1023
+ options.forced - export even if the native feature is available
1024
+ options.bind - bind methods to the target, required for the `pure` version
1025
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1026
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1027
+ options.sham - add a flag to not completely full polyfills
1028
+ options.enumerable - export as enumerable property
1029
+ options.dontCallGetSet - prevent calling a getter on target
1030
+ options.name - the .name of the function if it does not match the key
1029
1031
  */
1030
1032
  var _export = function (options, source) {
1031
1033
  var TARGET = options.target;
@@ -1033,15 +1035,15 @@
1033
1035
  var STATIC = options.stat;
1034
1036
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1035
1037
  if (GLOBAL) {
1036
- target = global$A;
1038
+ target = global$j;
1037
1039
  } else if (STATIC) {
1038
- target = global$A[TARGET] || setGlobal(TARGET, {});
1040
+ target = global$j[TARGET] || defineGlobalProperty(TARGET, {});
1039
1041
  } else {
1040
- target = (global$A[TARGET] || {}).prototype;
1042
+ target = (global$j[TARGET] || {}).prototype;
1041
1043
  }
1042
1044
  if (target) for (key in source) {
1043
1045
  sourceProperty = source[key];
1044
- if (options.noTargetGet) {
1046
+ if (options.dontCallGetSet) {
1045
1047
  descriptor = getOwnPropertyDescriptor$3(target, key);
1046
1048
  targetProperty = descriptor && descriptor.value;
1047
1049
  } else targetProperty = target[key];
@@ -1082,17 +1084,17 @@
1082
1084
  // eslint-disable-next-line es-x/no-object-assign -- safe
1083
1085
  var $assign = Object.assign;
1084
1086
  // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
1085
- var defineProperty$5 = Object.defineProperty;
1087
+ var defineProperty$6 = Object.defineProperty;
1086
1088
  var concat$1 = uncurryThis$n([].concat);
1087
1089
 
1088
1090
  // `Object.assign` method
1089
1091
  // https://tc39.es/ecma262/#sec-object.assign
1090
1092
  var objectAssign = !$assign || fails$k(function () {
1091
1093
  // should have correct order of operations (Edge bug)
1092
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$5({}, 'a', {
1094
+ if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty$6({}, 'a', {
1093
1095
  enumerable: true,
1094
1096
  get: function () {
1095
- defineProperty$5(this, 'b', {
1097
+ defineProperty$6(this, 'b', {
1096
1098
  value: 3,
1097
1099
  enumerable: false
1098
1100
  });
@@ -1515,7 +1517,7 @@
1515
1517
 
1516
1518
  var DESCRIPTORS$6 = descriptors;
1517
1519
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1518
- var definePropertyModule$3 = objectDefineProperty;
1520
+ var definePropertyModule$2 = objectDefineProperty;
1519
1521
  var anObject$f = anObject$i;
1520
1522
  var toIndexedObject$1 = toIndexedObject$5;
1521
1523
  var objectKeys = objectKeys$2;
@@ -1530,7 +1532,7 @@
1530
1532
  var length = keys.length;
1531
1533
  var index = 0;
1532
1534
  var key;
1533
- while (length > index) definePropertyModule$3.f(O, key = keys[index++], props[key]);
1535
+ while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
1534
1536
  return O;
1535
1537
  };
1536
1538
 
@@ -1625,7 +1627,7 @@
1625
1627
 
1626
1628
  var wellKnownSymbol$j = wellKnownSymbol$l;
1627
1629
  var create$3 = objectCreate;
1628
- var definePropertyModule$2 = objectDefineProperty;
1630
+ var defineProperty$5 = objectDefineProperty.f;
1629
1631
 
1630
1632
  var UNSCOPABLES = wellKnownSymbol$j('unscopables');
1631
1633
  var ArrayPrototype$1 = Array.prototype;
@@ -1633,7 +1635,7 @@
1633
1635
  // Array.prototype[@@unscopables]
1634
1636
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1635
1637
  if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
1636
- definePropertyModule$2.f(ArrayPrototype$1, UNSCOPABLES, {
1638
+ defineProperty$5(ArrayPrototype$1, UNSCOPABLES, {
1637
1639
  configurable: true,
1638
1640
  value: create$3(null)
1639
1641
  });
@@ -1655,7 +1657,6 @@
1655
1657
  return Object.getPrototypeOf(new F()) !== F.prototype;
1656
1658
  });
1657
1659
 
1658
- var global$z = global$U;
1659
1660
  var hasOwn$7 = hasOwnProperty_1;
1660
1661
  var isCallable$e = isCallable$p;
1661
1662
  var toObject$4 = toObject$7;
@@ -1663,18 +1664,19 @@
1663
1664
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1664
1665
 
1665
1666
  var IE_PROTO = sharedKey('IE_PROTO');
1666
- var Object$2 = global$z.Object;
1667
- var ObjectPrototype = Object$2.prototype;
1667
+ var $Object$1 = Object;
1668
+ var ObjectPrototype = $Object$1.prototype;
1668
1669
 
1669
1670
  // `Object.getPrototypeOf` method
1670
1671
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1671
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1672
+ // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
1673
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1672
1674
  var object = toObject$4(O);
1673
1675
  if (hasOwn$7(object, IE_PROTO)) return object[IE_PROTO];
1674
1676
  var constructor = object.constructor;
1675
1677
  if (isCallable$e(constructor) && object instanceof constructor) {
1676
1678
  return constructor.prototype;
1677
- } return object instanceof Object$2 ? ObjectPrototype : null;
1679
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1678
1680
  };
1679
1681
 
1680
1682
  var fails$i = fails$t;
@@ -1751,15 +1753,14 @@
1751
1753
  return IteratorConstructor;
1752
1754
  };
1753
1755
 
1754
- var global$y = global$U;
1755
1756
  var isCallable$c = isCallable$p;
1756
1757
 
1757
- var String$4 = global$y.String;
1758
- var TypeError$c = global$y.TypeError;
1758
+ var $String$2 = String;
1759
+ var $TypeError$9 = TypeError;
1759
1760
 
1760
1761
  var aPossiblePrototype$1 = function (argument) {
1761
1762
  if (typeof argument == 'object' || isCallable$c(argument)) return argument;
1762
- throw TypeError$c("Can't set " + String$4(argument) + ' as a prototype');
1763
+ throw $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1763
1764
  };
1764
1765
 
1765
1766
  /* eslint-disable no-proto -- safe */
@@ -1799,7 +1800,7 @@
1799
1800
  var getPrototypeOf = objectGetPrototypeOf;
1800
1801
  var setPrototypeOf$2 = objectSetPrototypeOf;
1801
1802
  var setToStringTag$3 = setToStringTag$5;
1802
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$7;
1803
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1803
1804
  var defineBuiltIn$8 = defineBuiltIn$b;
1804
1805
  var wellKnownSymbol$g = wellKnownSymbol$l;
1805
1806
  var Iterators$3 = iterators;
@@ -1992,11 +1993,11 @@
1992
1993
 
1993
1994
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1994
1995
 
1995
- var global$x = global$U;
1996
+ var global$i = global$s;
1996
1997
  var DOMIterables = domIterables;
1997
1998
  var DOMTokenListPrototype = domTokenListPrototype;
1998
1999
  var ArrayIteratorMethods = es_array_iterator;
1999
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$7;
2000
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
2000
2001
  var wellKnownSymbol$f = wellKnownSymbol$l;
2001
2002
 
2002
2003
  var ITERATOR$7 = wellKnownSymbol$f('iterator');
@@ -2026,7 +2027,7 @@
2026
2027
  };
2027
2028
 
2028
2029
  for (var COLLECTION_NAME in DOMIterables) {
2029
- handlePrototype(global$x[COLLECTION_NAME] && global$x[COLLECTION_NAME].prototype, COLLECTION_NAME);
2030
+ handlePrototype(global$i[COLLECTION_NAME] && global$i[COLLECTION_NAME].prototype, COLLECTION_NAME);
2030
2031
  }
2031
2032
 
2032
2033
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
@@ -2040,14 +2041,13 @@
2040
2041
 
2041
2042
  var toStringTagSupport = String(test$1) === '[object z]';
2042
2043
 
2043
- var global$w = global$U;
2044
2044
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2045
2045
  var isCallable$a = isCallable$p;
2046
2046
  var classofRaw = classofRaw$1;
2047
2047
  var wellKnownSymbol$d = wellKnownSymbol$l;
2048
2048
 
2049
2049
  var TO_STRING_TAG = wellKnownSymbol$d('toStringTag');
2050
- var Object$1 = global$w.Object;
2050
+ var $Object = Object;
2051
2051
 
2052
2052
  // ES3 wrong here
2053
2053
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2064,26 +2064,25 @@
2064
2064
  var O, tag, result;
2065
2065
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2066
2066
  // @@toStringTag case
2067
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2067
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2068
2068
  // builtinTag case
2069
2069
  : CORRECT_ARGUMENTS ? classofRaw(O)
2070
2070
  // ES3 arguments fallback
2071
2071
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
2072
2072
  };
2073
2073
 
2074
- var global$v = global$U;
2075
2074
  var classof$6 = classof$7;
2076
2075
 
2077
- var String$3 = global$v.String;
2076
+ var $String$1 = String;
2078
2077
 
2079
2078
  var toString$h = function (argument) {
2080
2079
  if (classof$6(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2081
- return String$3(argument);
2080
+ return $String$1(argument);
2082
2081
  };
2083
2082
 
2084
2083
  var $$k = _export;
2085
2084
  var DESCRIPTORS$4 = descriptors;
2086
- var global$u = global$U;
2085
+ var global$h = global$s;
2087
2086
  var uncurryThis$l = functionUncurryThis;
2088
2087
  var hasOwn$5 = hasOwnProperty_1;
2089
2088
  var isCallable$9 = isCallable$p;
@@ -2092,7 +2091,7 @@
2092
2091
  var defineProperty$2 = objectDefineProperty.f;
2093
2092
  var copyConstructorProperties = copyConstructorProperties$2;
2094
2093
 
2095
- var NativeSymbol = global$u.Symbol;
2094
+ var NativeSymbol = global$h.Symbol;
2096
2095
  var SymbolPrototype = NativeSymbol && NativeSymbol.prototype;
2097
2096
 
2098
2097
  if (DESCRIPTORS$4 && isCallable$9(NativeSymbol) && (!('description' in SymbolPrototype) ||
@@ -2172,14 +2171,13 @@
2172
2171
  return isObject$7(it) && ((isRegExp = it[MATCH$2]) !== undefined ? !!isRegExp : classof$5(it) == 'RegExp');
2173
2172
  };
2174
2173
 
2175
- var global$t = global$U;
2176
2174
  var isRegExp$2 = isRegexp;
2177
2175
 
2178
- var TypeError$b = global$t.TypeError;
2176
+ var $TypeError$8 = TypeError;
2179
2177
 
2180
2178
  var notARegexp = function (it) {
2181
2179
  if (isRegExp$2(it)) {
2182
- throw TypeError$b("The method doesn't accept regular expressions");
2180
+ throw $TypeError$8("The method doesn't accept regular expressions");
2183
2181
  } return it;
2184
2182
  };
2185
2183
 
@@ -2351,9 +2349,9 @@
2351
2349
  };
2352
2350
  Flex$1.displayName = 'Flex';
2353
2351
 
2354
- const _excluded$A = ["children"],
2352
+ const _excluded$B = ["children"],
2355
2353
  _excluded2$2 = ["children"];
2356
- var _jsxFileName$$ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\grid\\Grid.js";
2354
+ var _jsxFileName$10 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/grid/Grid.js";
2357
2355
  const GridComponent = styled('div', {
2358
2356
  display: 'grid',
2359
2357
  variants: {
@@ -2527,7 +2525,7 @@
2527
2525
  let {
2528
2526
  children
2529
2527
  } = _ref,
2530
- props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2528
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$B);
2531
2529
 
2532
2530
  return /*#__PURE__*/React__default["default"].createElement(GridComponent, _extends({}, props, {
2533
2531
  css: Object.assign({}, props.css, {
@@ -2538,7 +2536,7 @@
2538
2536
  }),
2539
2537
  __self: undefined,
2540
2538
  __source: {
2541
- fileName: _jsxFileName$$,
2539
+ fileName: _jsxFileName$10,
2542
2540
  lineNumber: 178,
2543
2541
  columnNumber: 5
2544
2542
  }
@@ -2594,7 +2592,7 @@
2594
2592
  }),
2595
2593
  __self: undefined,
2596
2594
  __source: {
2597
- fileName: _jsxFileName$$,
2595
+ fileName: _jsxFileName$10,
2598
2596
  lineNumber: 232,
2599
2597
  columnNumber: 5
2600
2598
  }
@@ -2611,8 +2609,8 @@
2611
2609
  };
2612
2610
  GridItem.displayName = 'Grid Item';
2613
2611
 
2614
- const _excluded$z = ["children", "isCollapse", "css", "contentHeader"];
2615
- var _jsxFileName$_ = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\layout\\pageContainer\\PageContainer.js";
2612
+ const _excluded$A = ["children", "isCollapse", "css", "contentHeader"];
2613
+ var _jsxFileName$$ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/layout/pageContainer/PageContainer.js";
2616
2614
  const StyledDiv$3 = styled(Flex$1, {
2617
2615
  justifyContent: 'center',
2618
2616
  marginLeft: 'auto',
@@ -2641,7 +2639,7 @@
2641
2639
  css,
2642
2640
  contentHeader
2643
2641
  } = _ref,
2644
- props = _objectWithoutPropertiesLoose(_ref, _excluded$z);
2642
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$A);
2645
2643
 
2646
2644
  return /*#__PURE__*/React__default["default"].createElement(StyledDiv$3, _extends({
2647
2645
  id: "retina-container",
@@ -2651,7 +2649,7 @@
2651
2649
  }, props, {
2652
2650
  __self: undefined,
2653
2651
  __source: {
2654
- fileName: _jsxFileName$_,
2652
+ fileName: _jsxFileName$$,
2655
2653
  lineNumber: 28,
2656
2654
  columnNumber: 5
2657
2655
  }
@@ -2932,8 +2930,8 @@
2932
2930
  }), void 0);
2933
2931
  });
2934
2932
 
2935
- const _excluded$y = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2936
- var _jsxFileName$Z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\Toast.js";
2933
+ const _excluded$z = ["id", "title", "description", "position", "dismissAfter", "variant", "onClick", "onRemove", "isExternalOfAction", "onClickOfAction", "captionOfAction", "hrefOfAction"];
2934
+ var _jsxFileName$_ = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/Toast.js";
2937
2935
  const TOAST_WIDTH = 576;
2938
2936
  const ANIMATION_DURATION = 400;
2939
2937
  const TOP_RIGHT_POSITION = 'top-right';
@@ -3105,7 +3103,7 @@
3105
3103
  captionOfAction,
3106
3104
  hrefOfAction
3107
3105
  } = _ref,
3108
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$y);
3106
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$z);
3109
3107
 
3110
3108
  const [isOpen, setIsOpen] = React__namespace.useState(false);
3111
3109
  const close = React__namespace.useCallback(() => {
@@ -3134,7 +3132,7 @@
3134
3132
  onExited: onRemove,
3135
3133
  __self: undefined,
3136
3134
  __source: {
3137
- fileName: _jsxFileName$Z,
3135
+ fileName: _jsxFileName$_,
3138
3136
  lineNumber: 212,
3139
3137
  columnNumber: 5
3140
3138
  }
@@ -3146,7 +3144,7 @@
3146
3144
  }, rest, {
3147
3145
  __self: undefined,
3148
3146
  __source: {
3149
- fileName: _jsxFileName$Z,
3147
+ fileName: _jsxFileName$_,
3150
3148
  lineNumber: 223,
3151
3149
  columnNumber: 9
3152
3150
  }
@@ -3156,7 +3154,7 @@
3156
3154
  onClick: onClick,
3157
3155
  __self: undefined,
3158
3156
  __source: {
3159
- fileName: _jsxFileName$Z,
3157
+ fileName: _jsxFileName$_,
3160
3158
  lineNumber: 230,
3161
3159
  columnNumber: 11
3162
3160
  }
@@ -3164,7 +3162,7 @@
3164
3162
  direction: "column",
3165
3163
  __self: undefined,
3166
3164
  __source: {
3167
- fileName: _jsxFileName$Z,
3165
+ fileName: _jsxFileName$_,
3168
3166
  lineNumber: 231,
3169
3167
  columnNumber: 13
3170
3168
  }
@@ -3172,7 +3170,7 @@
3172
3170
  direction: "row",
3173
3171
  __self: undefined,
3174
3172
  __source: {
3175
- fileName: _jsxFileName$Z,
3173
+ fileName: _jsxFileName$_,
3176
3174
  lineNumber: 232,
3177
3175
  columnNumber: 15
3178
3176
  }
@@ -3180,7 +3178,7 @@
3180
3178
  variant: variant,
3181
3179
  __self: undefined,
3182
3180
  __source: {
3183
- fileName: _jsxFileName$Z,
3181
+ fileName: _jsxFileName$_,
3184
3182
  lineNumber: 233,
3185
3183
  columnNumber: 17
3186
3184
  }
@@ -3192,7 +3190,7 @@
3192
3190
  },
3193
3191
  __self: undefined,
3194
3192
  __source: {
3195
- fileName: _jsxFileName$Z,
3193
+ fileName: _jsxFileName$_,
3196
3194
  lineNumber: 234,
3197
3195
  columnNumber: 17
3198
3196
  }
@@ -3200,7 +3198,7 @@
3200
3198
  justify: "between",
3201
3199
  __self: undefined,
3202
3200
  __source: {
3203
- fileName: _jsxFileName$Z,
3201
+ fileName: _jsxFileName$_,
3204
3202
  lineNumber: 242,
3205
3203
  columnNumber: 21
3206
3204
  }
@@ -3215,7 +3213,7 @@
3215
3213
  },
3216
3214
  __self: undefined,
3217
3215
  __source: {
3218
- fileName: _jsxFileName$Z,
3216
+ fileName: _jsxFileName$_,
3219
3217
  lineNumber: 243,
3220
3218
  columnNumber: 23
3221
3219
  }
@@ -3224,7 +3222,7 @@
3224
3222
  color: "secondary",
3225
3223
  __self: undefined,
3226
3224
  __source: {
3227
- fileName: _jsxFileName$Z,
3225
+ fileName: _jsxFileName$_,
3228
3226
  lineNumber: 257,
3229
3227
  columnNumber: 19
3230
3228
  }
@@ -3239,7 +3237,7 @@
3239
3237
  hasTitle: !!title,
3240
3238
  __self: undefined,
3241
3239
  __source: {
3242
- fileName: _jsxFileName$Z,
3240
+ fileName: _jsxFileName$_,
3243
3241
  lineNumber: 261,
3244
3242
  columnNumber: 17
3245
3243
  }
@@ -3248,7 +3246,7 @@
3248
3246
  size: "16px",
3249
3247
  __self: undefined,
3250
3248
  __source: {
3251
- fileName: _jsxFileName$Z,
3249
+ fileName: _jsxFileName$_,
3252
3250
  lineNumber: 271,
3253
3251
  columnNumber: 19
3254
3252
  }
@@ -3263,7 +3261,7 @@
3263
3261
  },
3264
3262
  __self: undefined,
3265
3263
  __source: {
3266
- fileName: _jsxFileName$Z,
3264
+ fileName: _jsxFileName$_,
3267
3265
  lineNumber: 275,
3268
3266
  columnNumber: 17
3269
3267
  }
@@ -3287,7 +3285,7 @@
3287
3285
 
3288
3286
  const ToastContext = /*#__PURE__*/React__namespace.createContext({});
3289
3287
 
3290
- var _jsxFileName$Y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\ToastContainer.js";
3288
+ var _jsxFileName$Z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
3291
3289
  const ToastBox = styled(Flex$1, {
3292
3290
  position: 'fixed',
3293
3291
  variants: {
@@ -3335,7 +3333,7 @@
3335
3333
  },
3336
3334
  __self: undefined,
3337
3335
  __source: {
3338
- fileName: _jsxFileName$Y,
3336
+ fileName: _jsxFileName$Z,
3339
3337
  lineNumber: 43,
3340
3338
  columnNumber: 5
3341
3339
  }
@@ -3343,7 +3341,7 @@
3343
3341
  position: position,
3344
3342
  __self: undefined,
3345
3343
  __source: {
3346
- fileName: _jsxFileName$Y,
3344
+ fileName: _jsxFileName$Z,
3347
3345
  lineNumber: 44,
3348
3346
  columnNumber: 7
3349
3347
  }
@@ -3354,7 +3352,7 @@
3354
3352
  }, toast, {
3355
3353
  __self: undefined,
3356
3354
  __source: {
3357
- fileName: _jsxFileName$Y,
3355
+ fileName: _jsxFileName$Z,
3358
3356
  lineNumber: 46,
3359
3357
  columnNumber: 18
3360
3358
  }
@@ -3362,8 +3360,8 @@
3362
3360
  })));
3363
3361
  };
3364
3362
 
3365
- const _excluded$x = ["id"];
3366
- var _jsxFileName$X = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\toast\\context\\ToastProvider.js";
3363
+ const _excluded$y = ["id"];
3364
+ var _jsxFileName$Y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
3367
3365
  let toastCount = 0;
3368
3366
 
3369
3367
  const ToastProvider = ({
@@ -3375,7 +3373,7 @@
3375
3373
  const {
3376
3374
  id
3377
3375
  } = toast,
3378
- rest = _objectWithoutPropertiesLoose(toast, _excluded$x); // eslint-disable-next-line no-plusplus
3376
+ rest = _objectWithoutPropertiesLoose(toast, _excluded$y); // eslint-disable-next-line no-plusplus
3379
3377
 
3380
3378
 
3381
3379
  const uniqueId = ++toastCount;
@@ -3405,7 +3403,7 @@
3405
3403
  },
3406
3404
  __self: undefined,
3407
3405
  __source: {
3408
- fileName: _jsxFileName$X,
3406
+ fileName: _jsxFileName$Y,
3409
3407
  lineNumber: 43,
3410
3408
  columnNumber: 5
3411
3409
  }
@@ -3414,7 +3412,7 @@
3414
3412
  position: TOP_RIGHT_POSITION,
3415
3413
  __self: undefined,
3416
3414
  __source: {
3417
- fileName: _jsxFileName$X,
3415
+ fileName: _jsxFileName$Y,
3418
3416
  lineNumber: 45,
3419
3417
  columnNumber: 7
3420
3418
  }
@@ -3423,7 +3421,7 @@
3423
3421
  position: TOP_LEFT_POSITION,
3424
3422
  __self: undefined,
3425
3423
  __source: {
3426
- fileName: _jsxFileName$X,
3424
+ fileName: _jsxFileName$Y,
3427
3425
  lineNumber: 49,
3428
3426
  columnNumber: 7
3429
3427
  }
@@ -3432,7 +3430,7 @@
3432
3430
  position: BOTTOM_RIGHT_POSITION,
3433
3431
  __self: undefined,
3434
3432
  __source: {
3435
- fileName: _jsxFileName$X,
3433
+ fileName: _jsxFileName$Y,
3436
3434
  lineNumber: 53,
3437
3435
  columnNumber: 7
3438
3436
  }
@@ -3441,14 +3439,14 @@
3441
3439
  position: BOTTOM_LEFT_POSITION,
3442
3440
  __self: undefined,
3443
3441
  __source: {
3444
- fileName: _jsxFileName$X,
3442
+ fileName: _jsxFileName$Y,
3445
3443
  lineNumber: 57,
3446
3444
  columnNumber: 7
3447
3445
  }
3448
3446
  }));
3449
3447
  };
3450
3448
 
3451
- var _jsxFileName$W = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\majoo-provider\\MajooProvider.js";
3449
+ var _jsxFileName$X = "/home/alfiantryp/Project/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
3452
3450
 
3453
3451
  function MajooProvider({
3454
3452
  children,
@@ -3461,14 +3459,14 @@
3461
3459
  theme: theme$1,
3462
3460
  __self: this,
3463
3461
  __source: {
3464
- fileName: _jsxFileName$W,
3462
+ fileName: _jsxFileName$X,
3465
3463
  lineNumber: 15,
3466
3464
  columnNumber: 10
3467
3465
  }
3468
3466
  }, /*#__PURE__*/React__default["default"].createElement(ToastProvider, {
3469
3467
  __self: this,
3470
3468
  __source: {
3471
- fileName: _jsxFileName$W,
3469
+ fileName: _jsxFileName$X,
3472
3470
  lineNumber: 16,
3473
3471
  columnNumber: 5
3474
3472
  }
@@ -3482,8 +3480,8 @@
3482
3480
  disableGlobalStyle: PropTypes__default["default"].bool
3483
3481
  };
3484
3482
 
3485
- const _excluded$w = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3486
- var _jsxFileName$V = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\banner\\Banner.js";
3483
+ const _excluded$x = ["title", "description", "variant", "link", "linkText", "onClick", "onRemove", "children", "bannerBlock"];
3484
+ var _jsxFileName$W = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/banner/Banner.js";
3487
3485
  const Context$2 = /*#__PURE__*/React__namespace.createContext();
3488
3486
  const StyledBanner = styled(Flex$1, {
3489
3487
  maxWidth: '100%',
@@ -3569,19 +3567,19 @@
3569
3567
  }, props, {
3570
3568
  __self: undefined,
3571
3569
  __source: {
3572
- fileName: _jsxFileName$V,
3570
+ fileName: _jsxFileName$W,
3573
3571
  lineNumber: 95,
3574
3572
  columnNumber: 3
3575
3573
  }
3576
3574
  }), props.children);
3577
3575
  BannerTitle.propTypes = {
3578
- /**
3579
- Additional styles of title
3576
+ /**
3577
+ Additional styles of title
3580
3578
  */
3581
3579
  css: PropTypes__default["default"].object,
3582
3580
 
3583
- /**
3584
- Title of the Banner to be displayed
3581
+ /**
3582
+ Title of the Banner to be displayed
3585
3583
  */
3586
3584
  children: PropTypes__default["default"].string
3587
3585
  };
@@ -3591,19 +3589,19 @@
3591
3589
  }, props, {
3592
3590
  __self: undefined,
3593
3591
  __source: {
3594
- fileName: _jsxFileName$V,
3592
+ fileName: _jsxFileName$W,
3595
3593
  lineNumber: 112,
3596
3594
  columnNumber: 3
3597
3595
  }
3598
3596
  }), props.children);
3599
3597
  BannerDescription.propTypes = {
3600
- /**
3601
- Additional styles of description
3598
+ /**
3599
+ Additional styles of description
3602
3600
  */
3603
3601
  css: PropTypes__default["default"].object,
3604
3602
 
3605
- /**
3606
- Description of the Banner to be displayed
3603
+ /**
3604
+ Description of the Banner to be displayed
3607
3605
  */
3608
3606
  children: PropTypes__default["default"].string
3609
3607
  };
@@ -3614,7 +3612,7 @@
3614
3612
  }) => /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
3615
3613
  __self: undefined,
3616
3614
  __source: {
3617
- fileName: _jsxFileName$V,
3615
+ fileName: _jsxFileName$W,
3618
3616
  lineNumber: 129,
3619
3617
  columnNumber: 3
3620
3618
  }
@@ -3626,24 +3624,24 @@
3626
3624
  },
3627
3625
  __self: undefined,
3628
3626
  __source: {
3629
- fileName: _jsxFileName$V,
3627
+ fileName: _jsxFileName$W,
3630
3628
  lineNumber: 131,
3631
3629
  columnNumber: 7
3632
3630
  }
3633
3631
  }, children));
3634
3632
  BannerLink.propTypes = {
3635
- /**
3636
- The purpose of a clickable link, presented in url
3633
+ /**
3634
+ The purpose of a clickable link, presented in url
3637
3635
  */
3638
3636
  link: PropTypes__default["default"].string,
3639
3637
 
3640
- /**
3641
- Text of BannerLink to be displayed
3638
+ /**
3639
+ Text of BannerLink to be displayed
3642
3640
  */
3643
3641
  children: PropTypes__default["default"].string,
3644
3642
 
3645
- /**
3646
- Additional theme of BannerLink is presented by color variants
3643
+ /**
3644
+ Additional theme of BannerLink is presented by color variants
3647
3645
  */
3648
3646
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed'])
3649
3647
  };
@@ -3653,7 +3651,7 @@
3653
3651
  const BannerClose = () => /*#__PURE__*/React__namespace.createElement(Context$2.Consumer, {
3654
3652
  __self: undefined,
3655
3653
  __source: {
3656
- fileName: _jsxFileName$V,
3654
+ fileName: _jsxFileName$W,
3657
3655
  lineNumber: 158,
3658
3656
  columnNumber: 3
3659
3657
  }
@@ -3661,11 +3659,11 @@
3661
3659
  onClick: e => {
3662
3660
  e.preventDefault();
3663
3661
  e.stopPropagation();
3664
- value === null || value === void 0 ? void 0 : value.onRemove();
3662
+ value == null ? void 0 : value.onRemove();
3665
3663
  },
3666
3664
  __self: undefined,
3667
3665
  __source: {
3668
- fileName: _jsxFileName$V,
3666
+ fileName: _jsxFileName$W,
3669
3667
  lineNumber: 160,
3670
3668
  columnNumber: 7
3671
3669
  }
@@ -3674,7 +3672,7 @@
3674
3672
  size: "16px",
3675
3673
  __self: undefined,
3676
3674
  __source: {
3677
- fileName: _jsxFileName$V,
3675
+ fileName: _jsxFileName$W,
3678
3676
  lineNumber: 167,
3679
3677
  columnNumber: 9
3680
3678
  }
@@ -3684,7 +3682,7 @@
3684
3682
  return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
3685
3683
  __self: undefined,
3686
3684
  __source: {
3687
- fileName: _jsxFileName$V,
3685
+ fileName: _jsxFileName$W,
3688
3686
  lineNumber: 175,
3689
3687
  columnNumber: 5
3690
3688
  }
@@ -3694,7 +3692,7 @@
3694
3692
  align: "end",
3695
3693
  __self: undefined,
3696
3694
  __source: {
3697
- fileName: _jsxFileName$V,
3695
+ fileName: _jsxFileName$W,
3698
3696
  lineNumber: 176,
3699
3697
  columnNumber: 7
3700
3698
  }
@@ -3707,21 +3705,21 @@
3707
3705
  },
3708
3706
  __self: undefined,
3709
3707
  __source: {
3710
- fileName: _jsxFileName$V,
3708
+ fileName: _jsxFileName$W,
3711
3709
  lineNumber: 177,
3712
3710
  columnNumber: 9
3713
3711
  }
3714
3712
  }, props.title && /*#__PURE__*/React__namespace.createElement(BannerTitle, {
3715
3713
  __self: undefined,
3716
3714
  __source: {
3717
- fileName: _jsxFileName$V,
3715
+ fileName: _jsxFileName$W,
3718
3716
  lineNumber: 185,
3719
3717
  columnNumber: 27
3720
3718
  }
3721
3719
  }, props.title), props.description && /*#__PURE__*/React__namespace.createElement(BannerDescription, {
3722
3720
  __self: undefined,
3723
3721
  __source: {
3724
- fileName: _jsxFileName$V,
3722
+ fileName: _jsxFileName$W,
3725
3723
  lineNumber: 186,
3726
3724
  columnNumber: 33
3727
3725
  }
@@ -3730,7 +3728,7 @@
3730
3728
  variant: props.variant,
3731
3729
  __self: undefined,
3732
3730
  __source: {
3733
- fileName: _jsxFileName$V,
3731
+ fileName: _jsxFileName$W,
3734
3732
  lineNumber: 189,
3735
3733
  columnNumber: 11
3736
3734
  }
@@ -3738,12 +3736,12 @@
3738
3736
  onClick: e => {
3739
3737
  e.preventDefault();
3740
3738
  e.stopPropagation();
3741
- props === null || props === void 0 ? void 0 : props.onRemove();
3739
+ props == null ? void 0 : props.onRemove();
3742
3740
  },
3743
3741
  closeCenter: !props.title && !props.link,
3744
3742
  __self: undefined,
3745
3743
  __source: {
3746
- fileName: _jsxFileName$V,
3744
+ fileName: _jsxFileName$W,
3747
3745
  lineNumber: 194,
3748
3746
  columnNumber: 7
3749
3747
  }
@@ -3752,7 +3750,7 @@
3752
3750
  size: "16px",
3753
3751
  __self: undefined,
3754
3752
  __source: {
3755
- fileName: _jsxFileName$V,
3753
+ fileName: _jsxFileName$W,
3756
3754
  lineNumber: 202,
3757
3755
  columnNumber: 9
3758
3756
  }
@@ -3771,7 +3769,7 @@
3771
3769
  children,
3772
3770
  bannerBlock
3773
3771
  } = _ref,
3774
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
3772
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
3775
3773
 
3776
3774
  return /*#__PURE__*/React__namespace.createElement(StyledBanner, _extends({
3777
3775
  variant: variant,
@@ -3781,7 +3779,7 @@
3781
3779
  }, rest, {
3782
3780
  __self: undefined,
3783
3781
  __source: {
3784
- fileName: _jsxFileName$V,
3782
+ fileName: _jsxFileName$W,
3785
3783
  lineNumber: 210,
3786
3784
  columnNumber: 5
3787
3785
  }
@@ -3798,7 +3796,7 @@
3798
3796
  },
3799
3797
  __self: undefined,
3800
3798
  __source: {
3801
- fileName: _jsxFileName$V,
3799
+ fileName: _jsxFileName$W,
3802
3800
  lineNumber: 212,
3803
3801
  columnNumber: 9
3804
3802
  }
@@ -3809,7 +3807,7 @@
3809
3807
  },
3810
3808
  __self: undefined,
3811
3809
  __source: {
3812
- fileName: _jsxFileName$V,
3810
+ fileName: _jsxFileName$W,
3813
3811
  lineNumber: 219,
3814
3812
  columnNumber: 11
3815
3813
  }
@@ -3823,7 +3821,7 @@
3823
3821
  onRemove: onRemove,
3824
3822
  __self: undefined,
3825
3823
  __source: {
3826
- fileName: _jsxFileName$V,
3824
+ fileName: _jsxFileName$W,
3827
3825
  lineNumber: 222,
3828
3826
  columnNumber: 9
3829
3827
  }
@@ -3834,43 +3832,43 @@
3834
3832
  BannerTitle.displayName = 'BannerTitle';
3835
3833
  BannerDescription.displayName = 'BannerDescription';
3836
3834
  Banner.propTypes = {
3837
- /**
3838
- Title of banner to be displayed
3835
+ /**
3836
+ Title of banner to be displayed
3839
3837
  */
3840
3838
  title: PropTypes__default["default"].string,
3841
3839
 
3842
- /**
3843
- Description of banner to be displayed
3840
+ /**
3841
+ Description of banner to be displayed
3844
3842
  */
3845
3843
  description: PropTypes__default["default"].string,
3846
3844
 
3847
- /**
3848
- The banner theme is presented in color variants
3845
+ /**
3846
+ The banner theme is presented in color variants
3849
3847
  */
3850
3848
  variant: PropTypes__default["default"].oneOf(['info', 'warning', 'success', 'failed']),
3851
3849
 
3852
- /**
3853
- The purpose of a clickable link, presented in url
3850
+ /**
3851
+ The purpose of a clickable link, presented in url
3854
3852
  */
3855
3853
  link: PropTypes__default["default"].string,
3856
3854
 
3857
- /**
3858
- Text of button link to be displayed
3855
+ /**
3856
+ Text of button link to be displayed
3859
3857
  */
3860
3858
  linkText: PropTypes__default["default"].string,
3861
3859
 
3862
- /**
3863
- Clickable event handler
3860
+ /**
3861
+ Clickable event handler
3864
3862
  */
3865
3863
  onClick: PropTypes__default["default"].func,
3866
3864
 
3867
- /**
3868
- Closable event handler
3865
+ /**
3866
+ Closable event handler
3869
3867
  */
3870
3868
  onRemove: PropTypes__default["default"].func,
3871
3869
 
3872
- /**
3873
- Block type banner to display in full width
3870
+ /**
3871
+ Block type banner to display in full width
3874
3872
  */
3875
3873
  bannerBlock: PropTypes__default["default"].bool
3876
3874
  };
@@ -4169,8 +4167,8 @@
4169
4167
  }), void 0);
4170
4168
  });
4171
4169
 
4172
- const _excluded$v = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4173
- var _jsxFileName$U = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\card\\Card.js";
4170
+ const _excluded$w = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
4171
+ var _jsxFileName$V = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/card/Card.js";
4174
4172
  const CardComponent = styled('div', {
4175
4173
  padding: '12px',
4176
4174
  height: 'auto',
@@ -4307,7 +4305,7 @@
4307
4305
  textColor,
4308
4306
  icon
4309
4307
  } = _ref,
4310
- props = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4308
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$w);
4311
4309
 
4312
4310
  return /*#__PURE__*/React__default["default"].createElement(CardComponent, {
4313
4311
  className: className,
@@ -4320,7 +4318,7 @@
4320
4318
  }, props.css),
4321
4319
  __self: undefined,
4322
4320
  __source: {
4323
- fileName: _jsxFileName$U,
4321
+ fileName: _jsxFileName$V,
4324
4322
  lineNumber: 102,
4325
4323
  columnNumber: 5
4326
4324
  }
@@ -4328,14 +4326,14 @@
4328
4326
  color: color,
4329
4327
  __self: undefined,
4330
4328
  __source: {
4331
- fileName: _jsxFileName$U,
4329
+ fileName: _jsxFileName$V,
4332
4330
  lineNumber: 113,
4333
4331
  columnNumber: 7
4334
4332
  }
4335
4333
  }), title !== '' ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, icon !== undefined ? /*#__PURE__*/React__default["default"].createElement(StyledTitle$2, {
4336
4334
  __self: undefined,
4337
4335
  __source: {
4338
- fileName: _jsxFileName$U,
4336
+ fileName: _jsxFileName$V,
4339
4337
  lineNumber: 117,
4340
4338
  columnNumber: 13
4341
4339
  }
@@ -4344,14 +4342,14 @@
4344
4342
  iconColor: color,
4345
4343
  __self: undefined,
4346
4344
  __source: {
4347
- fileName: _jsxFileName$U,
4345
+ fileName: _jsxFileName$V,
4348
4346
  lineNumber: 118,
4349
4347
  columnNumber: 15
4350
4348
  }
4351
4349
  }, icon), title) : /*#__PURE__*/React__default["default"].createElement(StyledTitle$2, {
4352
4350
  __self: undefined,
4353
4351
  __source: {
4354
- fileName: _jsxFileName$U,
4352
+ fileName: _jsxFileName$V,
4355
4353
  lineNumber: 124,
4356
4354
  columnNumber: 13
4357
4355
  }
@@ -4377,8 +4375,8 @@
4377
4375
  title: ''
4378
4376
  };
4379
4377
 
4380
- const _excluded$u = ["children"];
4381
- var _jsxFileName$T = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\breadcrumb\\Breadcrumb.js";
4378
+ const _excluded$v = ["children"];
4379
+ var _jsxFileName$U = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
4382
4380
  const BreadcrumbStyle = styled('nav', {
4383
4381
  wordWrap: 'break-word',
4384
4382
  '& li+li:before': {
@@ -4424,7 +4422,7 @@
4424
4422
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbLinkStyle, _extends({}, props, aria, {
4425
4423
  __self: undefined,
4426
4424
  __source: {
4427
- fileName: _jsxFileName$T,
4425
+ fileName: _jsxFileName$U,
4428
4426
  lineNumber: 42,
4429
4427
  columnNumber: 10
4430
4428
  }
@@ -4435,20 +4433,20 @@
4435
4433
  let {
4436
4434
  children
4437
4435
  } = _ref,
4438
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4436
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
4439
4437
 
4440
4438
  return /*#__PURE__*/React__default["default"].createElement(BreadcrumbStyle, _extends({}, rest, {
4441
4439
  "aria-label": "breadcrumb",
4442
4440
  __self: undefined,
4443
4441
  __source: {
4444
- fileName: _jsxFileName$T,
4442
+ fileName: _jsxFileName$U,
4445
4443
  lineNumber: 47,
4446
4444
  columnNumber: 5
4447
4445
  }
4448
4446
  }), /*#__PURE__*/React__default["default"].createElement(Ol, {
4449
4447
  __self: undefined,
4450
4448
  __source: {
4451
- fileName: _jsxFileName$T,
4449
+ fileName: _jsxFileName$U,
4452
4450
  lineNumber: 48,
4453
4451
  columnNumber: 7
4454
4452
  }
@@ -4651,8 +4649,8 @@
4651
4649
  };
4652
4650
  Badge.displayName = 'Badge';
4653
4651
 
4654
- const _excluded$t = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4655
- var _jsxFileName$S = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\avatar\\Avatar.js";
4652
+ const _excluded$u = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
4653
+ var _jsxFileName$T = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/avatar/Avatar.js";
4656
4654
  const StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
4657
4655
  width: '32px',
4658
4656
  height: '32px',
@@ -4696,7 +4694,7 @@
4696
4694
  onClick,
4697
4695
  css
4698
4696
  } = _ref,
4699
- props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4697
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$u);
4700
4698
 
4701
4699
  return /*#__PURE__*/React__default["default"].createElement(StyledAvatar, _extends({
4702
4700
  className: className,
@@ -4705,7 +4703,7 @@
4705
4703
  }, props, {
4706
4704
  __self: this,
4707
4705
  __source: {
4708
- fileName: _jsxFileName$S,
4706
+ fileName: _jsxFileName$T,
4709
4707
  lineNumber: 46,
4710
4708
  columnNumber: 5
4711
4709
  }
@@ -4715,7 +4713,7 @@
4715
4713
  onLoadingStatusChange: onLoadingStatusChange,
4716
4714
  __self: this,
4717
4715
  __source: {
4718
- fileName: _jsxFileName$S,
4716
+ fileName: _jsxFileName$T,
4719
4717
  lineNumber: 47,
4720
4718
  columnNumber: 21
4721
4719
  }
@@ -4723,21 +4721,21 @@
4723
4721
  delayMs: delayMs,
4724
4722
  __self: this,
4725
4723
  __source: {
4726
- fileName: _jsxFileName$S,
4724
+ fileName: _jsxFileName$T,
4727
4725
  lineNumber: 48,
4728
4726
  columnNumber: 7
4729
4727
  }
4730
4728
  }, children !== undefined ? /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, null, children) : /*#__PURE__*/React__default["default"].createElement(StyledIcon, {
4731
4729
  __self: this,
4732
4730
  __source: {
4733
- fileName: _jsxFileName$S,
4731
+ fileName: _jsxFileName$T,
4734
4732
  lineNumber: 52,
4735
4733
  columnNumber: 11
4736
4734
  }
4737
4735
  }, /*#__PURE__*/React__default["default"].createElement(icons.UserFilled, {
4738
4736
  __self: this,
4739
4737
  __source: {
4740
- fileName: _jsxFileName$S,
4738
+ fileName: _jsxFileName$T,
4741
4739
  lineNumber: 53,
4742
4740
  columnNumber: 13
4743
4741
  }
@@ -4754,8 +4752,8 @@
4754
4752
  delayMs: 0
4755
4753
  };
4756
4754
 
4757
- const _excluded$s = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4758
- var _jsxFileName$R = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\image\\Image.js";
4755
+ const _excluded$t = ["className", "src", "alt", "width", "height", "objectFit", "fallback", "fallbackTitle", "css", "cssFallback", "rounded"];
4756
+ var _jsxFileName$S = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/image/Image.js";
4759
4757
  const ContainerFallback = styled(Flex$1, {
4760
4758
  boxSizing: 'border-box',
4761
4759
  border: '2px dashed #C0C4C4',
@@ -4804,7 +4802,7 @@
4804
4802
  cssFallback,
4805
4803
  rounded
4806
4804
  } = _ref,
4807
- props = _objectWithoutPropertiesLoose(_ref, _excluded$s);
4805
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$t);
4808
4806
 
4809
4807
  if (src || fallback) {
4810
4808
  return /*#__PURE__*/React__default["default"].createElement(StyledImage, _extends({
@@ -4821,7 +4819,7 @@
4821
4819
  }, props, {
4822
4820
  __self: this,
4823
4821
  __source: {
4824
- fileName: _jsxFileName$R,
4822
+ fileName: _jsxFileName$S,
4825
4823
  lineNumber: 59,
4826
4824
  columnNumber: 7
4827
4825
  }
@@ -4837,14 +4835,14 @@
4837
4835
  }, cssFallback),
4838
4836
  __self: this,
4839
4837
  __source: {
4840
- fileName: _jsxFileName$R,
4838
+ fileName: _jsxFileName$S,
4841
4839
  lineNumber: 73,
4842
4840
  columnNumber: 7
4843
4841
  }
4844
4842
  }, /*#__PURE__*/React__default["default"].createElement(TextFallback, {
4845
4843
  __self: this,
4846
4844
  __source: {
4847
- fileName: _jsxFileName$R,
4845
+ fileName: _jsxFileName$S,
4848
4846
  lineNumber: 74,
4849
4847
  columnNumber: 9
4850
4848
  }
@@ -4852,58 +4850,58 @@
4852
4850
  }
4853
4851
  }
4854
4852
  Image.propTypes = {
4855
- /**
4856
- Additional className for img element.
4853
+ /**
4854
+ Additional className for img element.
4857
4855
  */
4858
4856
  className: PropTypes__default["default"].string,
4859
4857
 
4860
- /**
4861
- Which is used to specify the source of an image.
4858
+ /**
4859
+ Which is used to specify the source of an image.
4862
4860
  */
4863
4861
  src: PropTypes__default["default"].string,
4864
4862
 
4865
- /**
4866
- The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4863
+ /**
4864
+ The written copy that appears in place of an image on a webpage if the image fails to load on a user's screen.
4867
4865
  */
4868
4866
  alt: PropTypes__default["default"].string,
4869
4867
 
4870
- /**
4871
- Additional css for img element.
4868
+ /**
4869
+ Additional css for img element.
4872
4870
  */
4873
4871
  css: PropTypes__default["default"].object,
4874
4872
 
4875
- /**
4876
- Additional css for default fallback element.
4873
+ /**
4874
+ Additional css for default fallback element.
4877
4875
  */
4878
4876
  cssFallback: PropTypes__default["default"].object,
4879
4877
 
4880
- /**
4881
- Custom width of img element.
4878
+ /**
4879
+ Custom width of img element.
4882
4880
  */
4883
4881
  width: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4884
4882
 
4885
- /**
4886
- Custom height of img element.
4883
+ /**
4884
+ Custom height of img element.
4887
4885
  */
4888
4886
  height: PropTypes__default["default"].oneOfType([PropTypes__default["default"].string, PropTypes__default["default"].number]),
4889
4887
 
4890
- /**
4891
- Set image to circle.
4888
+ /**
4889
+ Set image to circle.
4892
4890
  */
4893
4891
  rounded: PropTypes__default["default"].bool,
4894
4892
 
4895
- /**
4896
- Used to specify how an <img> should be resized to fit its container.
4893
+ /**
4894
+ Used to specify how an <img> should be resized to fit its container.
4897
4895
  */
4898
4896
  objectFit: PropTypes__default["default"].string,
4899
4897
 
4900
- /**
4901
- Custom fallback if image url doesn't exist.
4898
+ /**
4899
+ Custom fallback if image url doesn't exist.
4902
4900
  */
4903
4901
  fallback: PropTypes__default["default"].string,
4904
4902
 
4905
- /**
4906
- Custom fallback title for default fallback.
4903
+ /**
4904
+ Custom fallback title for default fallback.
4907
4905
  */
4908
4906
  fallbackTitle: PropTypes__default["default"].string
4909
4907
  };
@@ -4912,8 +4910,8 @@
4912
4910
  fallbackTitle: 'Tidak ada foto'
4913
4911
  };
4914
4912
 
4915
- const _excluded$r = ["children", "label", "color", "css", "withClick", "side", "align"];
4916
- var _jsxFileName$Q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tooltip\\Tooltip.js";
4913
+ const _excluded$s = ["children", "label", "color", "css", "withClick", "side", "align"];
4914
+ var _jsxFileName$R = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
4917
4915
  const {
4918
4916
  zIndices: zIndices$1
4919
4917
  } = core.foundations;
@@ -5027,13 +5025,13 @@
5027
5025
  side,
5028
5026
  align
5029
5027
  } = _ref,
5030
- rest = _objectWithoutPropertiesLoose(_ref, _excluded$r);
5028
+ rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
5031
5029
 
5032
5030
  const [open, setOpen] = React.useState(false);
5033
5031
  return /*#__PURE__*/React__default["default"].createElement(Provider, {
5034
5032
  __self: undefined,
5035
5033
  __source: {
5036
- fileName: _jsxFileName$Q,
5034
+ fileName: _jsxFileName$R,
5037
5035
  lineNumber: 91,
5038
5036
  columnNumber: 5
5039
5037
  }
@@ -5041,7 +5039,7 @@
5041
5039
  open: withClick ? open : undefined,
5042
5040
  __self: undefined,
5043
5041
  __source: {
5044
- fileName: _jsxFileName$Q,
5042
+ fileName: _jsxFileName$R,
5045
5043
  lineNumber: 92,
5046
5044
  columnNumber: 7
5047
5045
  }
@@ -5049,7 +5047,7 @@
5049
5047
  asChild: true,
5050
5048
  __self: undefined,
5051
5049
  __source: {
5052
- fileName: _jsxFileName$Q,
5050
+ fileName: _jsxFileName$R,
5053
5051
  lineNumber: 93,
5054
5052
  columnNumber: 9
5055
5053
  }
@@ -5057,14 +5055,14 @@
5057
5055
  onClick: () => withClick ? setOpen(!open) : undefined,
5058
5056
  __self: undefined,
5059
5057
  __source: {
5060
- fileName: _jsxFileName$Q,
5058
+ fileName: _jsxFileName$R,
5061
5059
  lineNumber: 94,
5062
5060
  columnNumber: 11
5063
5061
  }
5064
5062
  }, children)), /*#__PURE__*/React__default["default"].createElement(TooltipPrimitive__namespace.Portal, {
5065
5063
  __self: undefined,
5066
5064
  __source: {
5067
- fileName: _jsxFileName$Q,
5065
+ fileName: _jsxFileName$R,
5068
5066
  lineNumber: 96,
5069
5067
  columnNumber: 9
5070
5068
  }
@@ -5075,7 +5073,7 @@
5075
5073
  css: color === 'dark' ? Object.assign({}, dark, css) : Object.assign({}, ligth, css),
5076
5074
  __self: undefined,
5077
5075
  __source: {
5078
- fileName: _jsxFileName$Q,
5076
+ fileName: _jsxFileName$R,
5079
5077
  lineNumber: 97,
5080
5078
  columnNumber: 11
5081
5079
  }
@@ -5084,7 +5082,7 @@
5084
5082
  css: color === 'dark' ? darkArrow : lightArrow,
5085
5083
  __self: undefined,
5086
5084
  __source: {
5087
- fileName: _jsxFileName$Q,
5085
+ fileName: _jsxFileName$R,
5088
5086
  lineNumber: 104,
5089
5087
  columnNumber: 13
5090
5088
  }
@@ -5106,15 +5104,15 @@
5106
5104
  children: /*#__PURE__*/React__default["default"].createElement("div", {
5107
5105
  __self: undefined,
5108
5106
  __source: {
5109
- fileName: _jsxFileName$Q,
5107
+ fileName: _jsxFileName$R,
5110
5108
  lineNumber: 125,
5111
5109
  columnNumber: 13
5112
5110
  }
5113
5111
  })
5114
5112
  };
5115
5113
 
5116
- const _excluded$q = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5117
- var _jsxFileName$P = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\progress\\Progress.js";
5114
+ const _excluded$r = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
5115
+ var _jsxFileName$Q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/progress/Progress.js";
5118
5116
  const StyledProgress$1 = react.styled(ProgressPrimitive__namespace.Root, {
5119
5117
  position: 'relative',
5120
5118
  overflow: 'hidden',
@@ -5232,7 +5230,7 @@
5232
5230
  rounded,
5233
5231
  width
5234
5232
  } = _ref,
5235
- props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5233
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$r);
5236
5234
 
5237
5235
  return /*#__PURE__*/React__default["default"].createElement(StyledProgress$1, _extends({
5238
5236
  className: className,
@@ -5248,7 +5246,7 @@
5248
5246
  }, props, {
5249
5247
  __self: this,
5250
5248
  __source: {
5251
- fileName: _jsxFileName$P,
5249
+ fileName: _jsxFileName$Q,
5252
5250
  lineNumber: 88,
5253
5251
  columnNumber: 5
5254
5252
  }
@@ -5261,7 +5259,7 @@
5261
5259
  },
5262
5260
  __self: this,
5263
5261
  __source: {
5264
- fileName: _jsxFileName$P,
5262
+ fileName: _jsxFileName$Q,
5265
5263
  lineNumber: 89,
5266
5264
  columnNumber: 7
5267
5265
  }
@@ -5284,33 +5282,49 @@
5284
5282
  rounded: true
5285
5283
  };
5286
5284
 
5287
- const formLabelStyle = {
5288
- '& > .form-label': {
5289
- alignItems: 'start !important',
5290
- '& > div': {
5291
- width: 175
5292
- },
5293
- '& > div > span[role="label"]': {
5285
+ const ConditionalWrapper = ({
5286
+ condition,
5287
+ wrapper,
5288
+ children
5289
+ }) => condition ? wrapper(children) : children;
5290
+
5291
+ const _excluded$q = ["count", "maxCount", "css"];
5292
+ var _jsxFileName$P = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormGroup/FormGroup.js";
5293
+ const formLabelClassStyle = {
5294
+ alignItems: 'start !important',
5295
+ '& > div': {
5296
+ width: 175
5297
+ },
5298
+ '& > div > span[role="label"]': {
5299
+ color: '$textPrimary',
5300
+ fontSize: '$label',
5301
+ fontWeight: 500,
5302
+ lineHeight: '$label',
5303
+ letterSpacings: '$label',
5304
+ '@md': {
5294
5305
  color: '$textPrimary',
5295
- fontSize: '$label',
5296
- fontWeight: 500,
5297
- lineHeight: '$label',
5298
- letterSpacings: '$label',
5299
- '@md': {
5300
- color: '$textPrimary',
5301
- fontSize: '$section-sub-title',
5302
- fontWeight: 600,
5303
- lineHeight: '$section-sub-title',
5304
- letterSpacings: '$section-sub-title'
5305
- }
5306
+ fontSize: '$section-sub-title',
5307
+ fontWeight: 600,
5308
+ lineHeight: '$section-sub-title',
5309
+ letterSpacings: '$section-sub-title'
5306
5310
  }
5307
5311
  }
5308
5312
  };
5309
- const FormGroup = styled('div', {
5313
+ const formLabelStyle = {
5314
+ '& > .form-label': Object.assign({}, formLabelClassStyle)
5315
+ };
5316
+ const StyledFormGroup = styled('div', {
5310
5317
  display: 'grid',
5311
5318
  gridTemplateColumns: '1fr',
5312
5319
  rowGap: '$spacing-03',
5313
5320
  variants: {
5321
+ withCounter: {
5322
+ true: {
5323
+ '& > .form-label': Object.assign({
5324
+ marginTop: '-24px'
5325
+ }, formLabelClassStyle)
5326
+ }
5327
+ },
5314
5328
  responsive: {
5315
5329
  input: Object.assign({
5316
5330
  display: 'grid',
@@ -5372,10 +5386,64 @@
5372
5386
  }
5373
5387
  }
5374
5388
  });
5389
+
5390
+ const FormGroup = _ref => {
5391
+ let {
5392
+ count,
5393
+ maxCount,
5394
+ css
5395
+ } = _ref,
5396
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$q);
5397
+
5398
+ const withCounter = Boolean(count || maxCount);
5399
+ return /*#__PURE__*/React__default["default"].createElement(ConditionalWrapper, {
5400
+ condition: withCounter,
5401
+ wrapper: children => /*#__PURE__*/React__default["default"].createElement(Flex$1, {
5402
+ direction: "column",
5403
+ css: css,
5404
+ __self: undefined,
5405
+ __source: {
5406
+ fileName: _jsxFileName$P,
5407
+ lineNumber: 115,
5408
+ columnNumber: 9
5409
+ }
5410
+ }, /*#__PURE__*/React__default["default"].createElement(Text$1, {
5411
+ variant: "label",
5412
+ color: "disable",
5413
+ css: {
5414
+ alignSelf: 'end',
5415
+ marginBottom: '$spacing-03'
5416
+ },
5417
+ __self: undefined,
5418
+ __source: {
5419
+ fileName: _jsxFileName$P,
5420
+ lineNumber: 116,
5421
+ columnNumber: 11
5422
+ }
5423
+ }, count, "/", maxCount), children),
5424
+ __self: undefined,
5425
+ __source: {
5426
+ fileName: _jsxFileName$P,
5427
+ lineNumber: 112,
5428
+ columnNumber: 5
5429
+ }
5430
+ }, /*#__PURE__*/React__default["default"].createElement(StyledFormGroup, _extends({
5431
+ withCounter: withCounter,
5432
+ css: Object.assign({}, !withCounter && Object.assign({}, css))
5433
+ }, props, {
5434
+ __self: undefined,
5435
+ __source: {
5436
+ fileName: _jsxFileName$P,
5437
+ lineNumber: 123,
5438
+ columnNumber: 7
5439
+ }
5440
+ })));
5441
+ };
5442
+
5375
5443
  FormGroup.displayName = 'FormGroup';
5376
5444
 
5377
5445
  const _excluded$p = ["children", "htmlFor", "variant", "variants", "tooltipLabel", "count", "maxCount", "labelCss"];
5378
- var _jsxFileName$O = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormLabel\\Label.js";
5446
+ var _jsxFileName$O = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
5379
5447
  const StyledLabel$1 = styled(LabelPrimitive__namespace.Root, Text$1, {
5380
5448
  display: 'inline-block',
5381
5449
  fontSize: '$label',
@@ -5495,7 +5563,7 @@
5495
5563
  FormLabel.displayName = 'FormLabel';
5496
5564
 
5497
5565
  const _excluded$o = ["children", "error", "errorMessage"];
5498
- var _jsxFileName$N = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\FormHelper\\Helper.js";
5566
+ var _jsxFileName$N = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
5499
5567
  const StyledHelper = styled(Text$1, {
5500
5568
  display: 'inline-block',
5501
5569
  color: '$textSecondary',
@@ -5556,7 +5624,7 @@
5556
5624
  };
5557
5625
  FormHelper.displayName = 'FormHelper';
5558
5626
 
5559
- var _jsxFileName$M = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\CheckboxGroup.js";
5627
+ var _jsxFileName$M = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/CheckboxGroup.js";
5560
5628
  const CheckboxContext = /*#__PURE__*/React.createContext();
5561
5629
 
5562
5630
  const CheckboxGroup = ({
@@ -5619,7 +5687,7 @@
5619
5687
  };
5620
5688
  CheckboxGroup.displayName = 'CheckboxGroup';
5621
5689
 
5622
- var _jsxFileName$L = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\CheckOutline.js";
5690
+ var _jsxFileName$L = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
5623
5691
 
5624
5692
  const CheckOutline$1 = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5625
5693
  xmlns: "http://www.w3.org/2000/svg",
@@ -5667,7 +5735,7 @@
5667
5735
  }
5668
5736
  }));
5669
5737
 
5670
- var _jsxFileName$K = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\icon\\MinusOutline.js";
5738
+ var _jsxFileName$K = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
5671
5739
 
5672
5740
  const SvgMinusOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
5673
5741
  xmlns: "http://www.w3.org/2000/svg",
@@ -5716,7 +5784,7 @@
5716
5784
  }));
5717
5785
 
5718
5786
  const _excluded$n = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label", "index", "value"];
5719
- var _jsxFileName$J = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCheckbox\\InputCheckbox.js";
5787
+ var _jsxFileName$J = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
5720
5788
  const StyledIndicator$2 = styled(CheckboxPrimitive__namespace.Indicator, {
5721
5789
  alignItems: 'center',
5722
5790
  display: 'flex',
@@ -5781,7 +5849,7 @@
5781
5849
  const [isChecked, setChecked] = React.useState(false);
5782
5850
  React.useEffect(() => {
5783
5851
  const checkValue = context && context.checkedItems.includes(value) || checked || indeterminate;
5784
- setChecked(checkValue !== null && checkValue !== void 0 ? checkValue : false);
5852
+ setChecked(checkValue != null ? checkValue : false);
5785
5853
  }, [checked, indeterminate, context]);
5786
5854
  return /*#__PURE__*/React__default["default"].createElement(StyledCheckbox, _extends({
5787
5855
  id: id,
@@ -5882,7 +5950,7 @@
5882
5950
  InputCheckbox.displayName = 'InputCheckbox';
5883
5951
 
5884
5952
  const _excluded$m = ["children", "size"];
5885
- var _jsxFileName$I = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputGroup\\InputGroup.js";
5953
+ var _jsxFileName$I = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
5886
5954
  const InputGroupStyle = styled('div', {
5887
5955
  display: 'flex',
5888
5956
  width: '100%',
@@ -6029,13 +6097,13 @@
6029
6097
  }));
6030
6098
  };
6031
6099
  InputGroup.propTypes = {
6032
- /**
6033
- Adjust Input Text Size
6100
+ /**
6101
+ Adjust Input Text Size
6034
6102
  */
6035
6103
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
6036
6104
 
6037
- /**
6038
- Children must be InputText, InputAddon, or InputPrefixes
6105
+ /**
6106
+ Children must be InputText, InputAddon, or InputPrefixes
6039
6107
  */
6040
6108
  children: PropTypes__default["default"].node.isRequired,
6041
6109
 
@@ -6201,7 +6269,7 @@
6201
6269
  };
6202
6270
 
6203
6271
  const _excluded$l = ["disabled", "readOnly"];
6204
- var _jsxFileName$H = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputText\\InputText.js";
6272
+ var _jsxFileName$H = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputText/InputText.js";
6205
6273
  const disabledStyle = {
6206
6274
  backgroundColor: '$formDisable',
6207
6275
  color: '$textDisable',
@@ -6279,6 +6347,8 @@
6279
6347
  },
6280
6348
  inputGroup: {
6281
6349
  true: {
6350
+ paddingLeft: 0,
6351
+ paddingRight: 0,
6282
6352
  border: 'none',
6283
6353
  borderRadius: '$lg',
6284
6354
  '&:focus': {
@@ -6298,7 +6368,7 @@
6298
6368
  color: '$textDisable'
6299
6369
  },
6300
6370
  '&:hover': {
6301
- border: '1px solid $colors$gray300'
6371
+ border: 'none'
6302
6372
  }
6303
6373
  }
6304
6374
  }
@@ -6355,7 +6425,7 @@
6355
6425
  __self: undefined,
6356
6426
  __source: {
6357
6427
  fileName: _jsxFileName$H,
6358
- lineNumber: 151,
6428
+ lineNumber: 153,
6359
6429
  columnNumber: 3
6360
6430
  }
6361
6431
  }));
@@ -6363,7 +6433,7 @@
6363
6433
  InputText.displayName = 'InputText';
6364
6434
 
6365
6435
  const _excluded$k = ["disabled", "readOnly"];
6366
- var _jsxFileName$G = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTextArea\\InputTextArea.js";
6436
+ var _jsxFileName$G = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTextArea/InputTextArea.js";
6367
6437
  const StyledTextArea = styled(StyledInput$1, {
6368
6438
  variants: {
6369
6439
  size: {
@@ -6390,7 +6460,7 @@
6390
6460
  React.useEffect(() => {
6391
6461
  if (textareaRef.current) {
6392
6462
  textareaRef.current.style.height = '50px';
6393
- const scrollHeight = textareaRef === null || textareaRef === void 0 ? void 0 : textareaRef.current.scrollHeight;
6463
+ const scrollHeight = textareaRef == null ? void 0 : textareaRef.current.scrollHeight;
6394
6464
  textareaRef.current.style.height = scrollHeight + 5 + 'px';
6395
6465
  }
6396
6466
  }, []);
@@ -6429,10 +6499,10 @@
6429
6499
 
6430
6500
  const InputRadioContext = /*#__PURE__*/React__default["default"].createContext();
6431
6501
 
6432
- var _jsxFileName$F = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadioGroup.js";
6502
+ var _jsxFileName$F = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadioGroup.js";
6433
6503
  const RadioGroup = styled(RadioGroupPrimitive__namespace.Root, Flex$1);
6434
6504
  function InputRadioGroup(props) {
6435
- return (props === null || props === void 0 ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6505
+ return (props == null ? void 0 : props.children) && /*#__PURE__*/React__default["default"].createElement(InputRadioContext.Provider, {
6436
6506
  value: props,
6437
6507
  __self: this,
6438
6508
  __source: {
@@ -6447,7 +6517,7 @@
6447
6517
  lineNumber: 14,
6448
6518
  columnNumber: 9
6449
6519
  }
6450
- }), React__default["default"].Children.map(props === null || props === void 0 ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6520
+ }), React__default["default"].Children.map(props == null ? void 0 : props.children, child => /*#__PURE__*/React__default["default"].cloneElement(child, {
6451
6521
  style: Object.assign({}, child.props.style, {
6452
6522
  opacity: 1
6453
6523
  })
@@ -6462,7 +6532,7 @@
6462
6532
  InputRadioGroup.displayName = 'InputRadioGroup';
6463
6533
 
6464
6534
  const _excluded$j = ["id", "disabled", "css", "inputType", "inputProps", "description", "readOnly"];
6465
- var _jsxFileName$E = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputRadio\\InputRadio.js";
6535
+ var _jsxFileName$E = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
6466
6536
  const INDICATOR_BASE_STYLES = {
6467
6537
  alignItems: 'center',
6468
6538
  display: 'flex',
@@ -6553,8 +6623,8 @@
6553
6623
  outlined: {
6554
6624
  true: {
6555
6625
  border: '1px solid $gray300',
6556
- borderRadius: 8,
6557
- padding: 8,
6626
+ borderRadius: '$lg',
6627
+ padding: '$spacing-03',
6558
6628
  '& > input': {
6559
6629
  border: 'none !important',
6560
6630
  padding: '0px !important',
@@ -6586,8 +6656,20 @@
6586
6656
  color: '$textSecondary !important'
6587
6657
  }
6588
6658
  }
6659
+ },
6660
+ withInputProps: {
6661
+ true: {
6662
+ padding: '0 $spacing-03'
6663
+ }
6589
6664
  }
6590
- }
6665
+ },
6666
+ compoundVariants: [{
6667
+ outlined: true,
6668
+ withInputProps: true,
6669
+ css: {
6670
+ padding: '0 $spacing-03'
6671
+ }
6672
+ }]
6591
6673
  });
6592
6674
  const InputRadio = _ref => {
6593
6675
  let {
@@ -6605,12 +6687,12 @@
6605
6687
  switch (type) {
6606
6688
  case 'number':
6607
6689
  return /*#__PURE__*/React__default["default"].createElement(InputNumber, _extends({}, inputProps, {
6608
- disabled: disabled || checked !== props.value,
6609
6690
  readOnly: readOnly || checked !== props.value,
6691
+ inputGroup: true,
6610
6692
  __self: this,
6611
6693
  __source: {
6612
6694
  fileName: _jsxFileName$E,
6613
- lineNumber: 146,
6695
+ lineNumber: 160,
6614
6696
  columnNumber: 11
6615
6697
  }
6616
6698
  }));
@@ -6619,10 +6701,11 @@
6619
6701
  return /*#__PURE__*/React__default["default"].createElement(InputText, _extends({}, inputProps, {
6620
6702
  disabled: disabled || checked !== props.value,
6621
6703
  readOnly: readOnly || checked !== props.value,
6704
+ inputGroup: true,
6622
6705
  __self: this,
6623
6706
  __source: {
6624
6707
  fileName: _jsxFileName$E,
6625
- lineNumber: 155,
6708
+ lineNumber: 169,
6626
6709
  columnNumber: 11
6627
6710
  }
6628
6711
  }));
@@ -6642,7 +6725,7 @@
6642
6725
  __self: this,
6643
6726
  __source: {
6644
6727
  fileName: _jsxFileName$E,
6645
- lineNumber: 164,
6728
+ lineNumber: 179,
6646
6729
  columnNumber: 11
6647
6730
  }
6648
6731
  }, props.label);
@@ -6653,7 +6736,7 @@
6653
6736
  __self: undefined,
6654
6737
  __source: {
6655
6738
  fileName: _jsxFileName$E,
6656
- lineNumber: 183,
6739
+ lineNumber: 198,
6657
6740
  columnNumber: 5
6658
6741
  }
6659
6742
  }, ({
@@ -6661,18 +6744,19 @@
6661
6744
  value,
6662
6745
  outlined
6663
6746
  }) => {
6664
- const checked = value !== null && value !== void 0 ? value : defaultValue;
6747
+ const checked = value != null ? value : defaultValue;
6665
6748
  return /*#__PURE__*/React__default["default"].createElement(Container$8, {
6666
6749
  direction: "column",
6667
6750
  outlined: outlined,
6668
6751
  disabledOutlined: outlined && (readOnly || disabled),
6669
6752
  disabled: disabled,
6670
6753
  active: outlined && checked === props.value && !disabled && !readOnly,
6754
+ withInputProps: !!inputProps,
6671
6755
  css: css,
6672
6756
  __self: undefined,
6673
6757
  __source: {
6674
6758
  fileName: _jsxFileName$E,
6675
- lineNumber: 188,
6759
+ lineNumber: 203,
6676
6760
  columnNumber: 11
6677
6761
  }
6678
6762
  }, /*#__PURE__*/React__default["default"].createElement(Flex$1, {
@@ -6681,7 +6765,7 @@
6681
6765
  __self: undefined,
6682
6766
  __source: {
6683
6767
  fileName: _jsxFileName$E,
6684
- lineNumber: 196,
6768
+ lineNumber: 212,
6685
6769
  columnNumber: 13
6686
6770
  }
6687
6771
  }, /*#__PURE__*/React__default["default"].createElement(StyledRadio, _extends({
@@ -6692,14 +6776,14 @@
6692
6776
  __self: undefined,
6693
6777
  __source: {
6694
6778
  fileName: _jsxFileName$E,
6695
- lineNumber: 197,
6779
+ lineNumber: 213,
6696
6780
  columnNumber: 15
6697
6781
  }
6698
6782
  }), /*#__PURE__*/React__default["default"].createElement(StyledIndicator$1, {
6699
6783
  __self: undefined,
6700
6784
  __source: {
6701
6785
  fileName: _jsxFileName$E,
6702
- lineNumber: 198,
6786
+ lineNumber: 214,
6703
6787
  columnNumber: 17
6704
6788
  }
6705
6789
  })), renderInputType(inputType, checked)), description && /*#__PURE__*/React__default["default"].createElement(Text$1, {
@@ -6711,7 +6795,7 @@
6711
6795
  __self: undefined,
6712
6796
  __source: {
6713
6797
  fileName: _jsxFileName$E,
6714
- lineNumber: 203,
6798
+ lineNumber: 219,
6715
6799
  columnNumber: 15
6716
6800
  }
6717
6801
  }, description));
@@ -6760,7 +6844,7 @@
6760
6844
  InputRightElement.name = 'InputRightElement';
6761
6845
 
6762
6846
  const _excluded$i = ["placeholder", "value", "size", "isInvalid", "readOnly", "disabled"];
6763
- var _jsxFileName$D = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputNumber\\InputNumber.js";
6847
+ var _jsxFileName$D = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputNumber/InputNumber.js";
6764
6848
  const StyledInput = styled(NumberFormat__default["default"], {
6765
6849
  // Reset
6766
6850
  appearance: 'none',
@@ -6831,6 +6915,8 @@
6831
6915
  },
6832
6916
  inputGroup: {
6833
6917
  true: {
6918
+ paddingLeft: 0,
6919
+ paddingRight: 0,
6834
6920
  border: 'none',
6835
6921
  borderRadius: '$lg',
6836
6922
  '&:focus': {
@@ -6850,7 +6936,7 @@
6850
6936
  color: '$textDisable'
6851
6937
  },
6852
6938
  '&:hover': {
6853
- border: '1px solid $colors$gray300'
6939
+ border: 'none'
6854
6940
  }
6855
6941
  }
6856
6942
  }
@@ -6911,13 +6997,13 @@
6911
6997
  size: size,
6912
6998
  isInvalid: isInvalid,
6913
6999
  readOnly: readOnly,
6914
- isReadOnly: readOnly && !(props !== null && props !== void 0 && props.inputGroup),
7000
+ isReadOnly: readOnly && !(props != null && props.inputGroup),
6915
7001
  disabled: disabled
6916
7002
  }, props, {
6917
7003
  __self: undefined,
6918
7004
  __source: {
6919
7005
  fileName: _jsxFileName$D,
6920
- lineNumber: 150,
7006
+ lineNumber: 152,
6921
7007
  columnNumber: 3
6922
7008
  }
6923
7009
  }));
@@ -6970,6 +7056,7 @@
6970
7056
  if (that.multiline) result += 'm';
6971
7057
  if (that.dotAll) result += 's';
6972
7058
  if (that.unicode) result += 'u';
7059
+ if (that.unicodeSets) result += 'v';
6973
7060
  if (that.sticky) result += 'y';
6974
7061
  return result;
6975
7062
  };
@@ -6988,10 +7075,10 @@
6988
7075
  };
6989
7076
 
6990
7077
  var fails$g = fails$t;
6991
- var global$s = global$U;
7078
+ var global$g = global$s;
6992
7079
 
6993
7080
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
6994
- var $RegExp$2 = global$s.RegExp;
7081
+ var $RegExp$2 = global$g.RegExp;
6995
7082
 
6996
7083
  var UNSUPPORTED_Y$3 = fails$g(function () {
6997
7084
  var re = $RegExp$2('a', 'y');
@@ -7048,10 +7135,10 @@
7048
7135
  };
7049
7136
 
7050
7137
  var fails$f = fails$t;
7051
- var global$r = global$U;
7138
+ var global$f = global$s;
7052
7139
 
7053
7140
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
7054
- var $RegExp$1 = global$r.RegExp;
7141
+ var $RegExp$1 = global$f.RegExp;
7055
7142
 
7056
7143
  var regexpUnsupportedDotAll = fails$f(function () {
7057
7144
  var re = $RegExp$1('.', 's');
@@ -7059,10 +7146,10 @@
7059
7146
  });
7060
7147
 
7061
7148
  var fails$e = fails$t;
7062
- var global$q = global$U;
7149
+ var global$e = global$s;
7063
7150
 
7064
7151
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
7065
- var $RegExp = global$q.RegExp;
7152
+ var $RegExp = global$e.RegExp;
7066
7153
 
7067
7154
  var regexpUnsupportedNcg = fails$e(function () {
7068
7155
  var re = $RegExp('(?<a>b)', 'g');
@@ -7071,11 +7158,11 @@
7071
7158
  });
7072
7159
 
7073
7160
  var DESCRIPTORS$2 = descriptors;
7074
- var global$p = global$U;
7161
+ var global$d = global$s;
7075
7162
  var uncurryThis$j = functionUncurryThis;
7076
7163
  var isForced$1 = isForced_1;
7077
7164
  var inheritIfRequired = inheritIfRequired$1;
7078
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$7;
7165
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$6;
7079
7166
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
7080
7167
  var isPrototypeOf$2 = objectIsPrototypeOf;
7081
7168
  var isRegExp$1 = isRegexp;
@@ -7093,15 +7180,15 @@
7093
7180
  var UNSUPPORTED_NCG$1 = regexpUnsupportedNcg;
7094
7181
 
7095
7182
  var MATCH = wellKnownSymbol$9('match');
7096
- var NativeRegExp = global$p.RegExp;
7183
+ var NativeRegExp = global$d.RegExp;
7097
7184
  var RegExpPrototype$2 = NativeRegExp.prototype;
7098
- var SyntaxError = global$p.SyntaxError;
7185
+ var SyntaxError = global$d.SyntaxError;
7099
7186
  var exec$6 = uncurryThis$j(RegExpPrototype$2.exec);
7100
7187
  var charAt$8 = uncurryThis$j(''.charAt);
7101
7188
  var replace$6 = uncurryThis$j(''.replace);
7102
7189
  var stringIndexOf$1 = uncurryThis$j(''.indexOf);
7103
7190
  var stringSlice$9 = uncurryThis$j(''.slice);
7104
- // TODO: Use only propper RegExpIdentifierName
7191
+ // TODO: Use only proper RegExpIdentifierName
7105
7192
  var IS_NCG = /^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/;
7106
7193
  var re1 = /a/g;
7107
7194
  var re2 = /a/g;
@@ -7255,7 +7342,7 @@
7255
7342
 
7256
7343
  RegExpPrototype$2.constructor = RegExpWrapper;
7257
7344
  RegExpWrapper.prototype = RegExpPrototype$2;
7258
- defineBuiltIn$7(global$p, 'RegExp', RegExpWrapper, { constructor: true });
7345
+ defineBuiltIn$7(global$d, 'RegExp', RegExpWrapper, { constructor: true });
7259
7346
  }
7260
7347
 
7261
7348
  // https://tc39.es/ecma262/#sec-get-regexp-@@species
@@ -7356,7 +7443,7 @@
7356
7443
  }
7357
7444
  if (NPCG_INCLUDED && match && match.length > 1) {
7358
7445
  // Fix browsers whose `exec` methods don't consistently return `undefined`
7359
- // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/
7446
+ // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
7360
7447
  call$f(nativeReplace, match[0], reCopy, function () {
7361
7448
  for (i = 1; i < arguments.length - 2; i++) {
7362
7449
  if (arguments[i] === undefined) match[i] = undefined;
@@ -7414,7 +7501,7 @@
7414
7501
  }
7415
7502
 
7416
7503
  const _excluded$h = ["className", "children", "onClick", "size", "icon", "isRemovable", "disabled", "type", "onRemove", "readOnly"];
7417
- var _jsxFileName$C = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tag\\Tag.js";
7504
+ var _jsxFileName$C = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tag/Tag.js";
7418
7505
  const TagWrapper$3 = styled('div', {
7419
7506
  boxSizing: 'border-box',
7420
7507
  listStyle: 'none',
@@ -7591,7 +7678,7 @@
7591
7678
  };
7592
7679
 
7593
7680
  const _excluded$g = ["size", "isInvalid", "placeholder", "onChange", "onEnter", "onInputChange", "value", "disabled", "readOnly", "max", "maxChar", "pattern", "helperText", "unremovableTags", "onRemoveItem"];
7594
- var _jsxFileName$B = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputTags\\InputTags.js";
7681
+ var _jsxFileName$B = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
7595
7682
  const Wrapper$2 = styled('div', {
7596
7683
  margin: 0,
7597
7684
  flexDirection: 'column',
@@ -7727,18 +7814,18 @@
7727
7814
  const addTags = event => {
7728
7815
  if (event.key === 'Enter' && event.target.value !== '' && max !== tags.length) {
7729
7816
  if (tags.find(tag => tag.toLowerCase() === event.target.value.toLowerCase())) {
7730
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7817
+ onEnter == null ? void 0 : onEnter({
7731
7818
  key: 'duplicate',
7732
7819
  value: event.target.value
7733
7820
  });
7734
7821
  return;
7735
7822
  }
7736
7823
 
7737
- if (pattern && pattern !== null && pattern !== void 0 && pattern.regex) {
7824
+ if (pattern && pattern != null && pattern.regex) {
7738
7825
  const regex = new RegExp(pattern.regex);
7739
7826
 
7740
7827
  if (!regex.test(event.target.value)) {
7741
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7828
+ onEnter == null ? void 0 : onEnter({
7742
7829
  key: 'error',
7743
7830
  value: event.target.value
7744
7831
  });
@@ -7748,7 +7835,7 @@
7748
7835
  }
7749
7836
 
7750
7837
  setRegexError(false);
7751
- onEnter === null || onEnter === void 0 ? void 0 : onEnter({
7838
+ onEnter == null ? void 0 : onEnter({
7752
7839
  key: 'success',
7753
7840
  value: event.target.value
7754
7841
  });
@@ -7761,7 +7848,7 @@
7761
7848
  if (disabled || readOnly) {
7762
7849
  return tags;
7763
7850
  } else if (key === 'removeTag' || key === 'Backspace') {
7764
- onRemoveItem === null || onRemoveItem === void 0 ? void 0 : onRemoveItem(tags[index]);
7851
+ onRemoveItem == null ? void 0 : onRemoveItem(tags[index]);
7765
7852
  setTags([...tags.filter(tag => tags.indexOf(tag) !== index)]);
7766
7853
  }
7767
7854
  }; // const handleErrorMessage = () => {
@@ -7809,7 +7896,7 @@
7809
7896
  lineNumber: 180,
7810
7897
  columnNumber: 9
7811
7898
  }
7812
- })), regexError && pattern && (pattern !== null && pattern !== void 0 && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7899
+ })), regexError && pattern && (pattern != null && pattern.errorMessage ? /*#__PURE__*/React__default["default"].createElement(FormHelper, {
7813
7900
  color: "red",
7814
7901
  __self: this,
7815
7902
  __source: {
@@ -7891,7 +7978,7 @@
7891
7978
  };
7892
7979
 
7893
7980
  const _excluded$f = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
7894
- var _jsxFileName$A = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSwitch\\InputSwitch.js";
7981
+ var _jsxFileName$A = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
7895
7982
  const StyledThumb$1 = styled(SwitchPrimitive__namespace.Thumb, {
7896
7983
  display: 'block',
7897
7984
  width: '16px',
@@ -7999,7 +8086,7 @@
7999
8086
  };
8000
8087
  InputSwitch.displayName = 'InputSwitch';
8001
8088
 
8002
- var _jsxFileName$z = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\CloseFilled.js";
8089
+ var _jsxFileName$z = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
8003
8090
 
8004
8091
  const SvgCloseFilled = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
8005
8092
  width: props.size,
@@ -8060,7 +8147,7 @@
8060
8147
  size: 24
8061
8148
  };
8062
8149
 
8063
- var _jsxFileName$y = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\SearchOutline.js";
8150
+ var _jsxFileName$y = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
8064
8151
 
8065
8152
  const SvgSearchOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
8066
8153
  width: props.size,
@@ -8103,7 +8190,7 @@
8103
8190
  };
8104
8191
 
8105
8192
  const _excluded$e = ["size", "onChange", "css", "disabled"];
8106
- var _jsxFileName$x = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSearchbox\\InputSearchbox.js";
8193
+ var _jsxFileName$x = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
8107
8194
 
8108
8195
  const InputSearchbox = _ref => {
8109
8196
  let {
@@ -8218,7 +8305,7 @@
8218
8305
  var regexpExec$2 = regexpExec$3;
8219
8306
  var fails$b = fails$t;
8220
8307
  var wellKnownSymbol$8 = wellKnownSymbol$l;
8221
- var createNonEnumerableProperty = createNonEnumerableProperty$7;
8308
+ var createNonEnumerableProperty = createNonEnumerableProperty$6;
8222
8309
 
8223
8310
  var SPECIES$2 = wellKnownSymbol$8('species');
8224
8311
  var RegExpPrototype = RegExp.prototype;
@@ -8293,14 +8380,13 @@
8293
8380
  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
8294
8381
  };
8295
8382
 
8296
- var global$o = global$U;
8297
8383
  var call$e = functionCall;
8298
8384
  var anObject$a = anObject$i;
8299
8385
  var isCallable$7 = isCallable$p;
8300
8386
  var classof$4 = classofRaw$1;
8301
8387
  var regexpExec$1 = regexpExec$3;
8302
8388
 
8303
- var TypeError$a = global$o.TypeError;
8389
+ var $TypeError$7 = TypeError;
8304
8390
 
8305
8391
  // `RegExpExec` abstract operation
8306
8392
  // https://tc39.es/ecma262/#sec-regexpexec
@@ -8312,7 +8398,7 @@
8312
8398
  return result;
8313
8399
  }
8314
8400
  if (classof$4(R) === 'RegExp') return call$e(regexpExec$1, R, S);
8315
- throw TypeError$a('RegExp#exec called on incompatible receiver');
8401
+ throw $TypeError$7('RegExp#exec called on incompatible receiver');
8316
8402
  };
8317
8403
 
8318
8404
  var call$d = functionCall;
@@ -8352,12 +8438,6 @@
8352
8438
  ];
8353
8439
  });
8354
8440
 
8355
- const ConditionalWrapper = ({
8356
- condition,
8357
- wrapper,
8358
- children
8359
- }) => condition ? wrapper(children) : children;
8360
-
8361
8441
  var SelectContainer = styled('div', {
8362
8442
  margin: 0,
8363
8443
  flexDirection: 'column',
@@ -9001,6 +9081,14 @@
9001
9081
  }), void 0);
9002
9082
  }
9003
9083
 
9084
+ var tryToString$3 = tryToString$5;
9085
+
9086
+ var $TypeError$6 = TypeError;
9087
+
9088
+ var deletePropertyOrThrow$1 = function (O, P) {
9089
+ if (!delete O[P]) throw $TypeError$6('Cannot delete property ' + tryToString$3(P) + ' of ' + tryToString$3(O));
9090
+ };
9091
+
9004
9092
  var toPropertyKey = toPropertyKey$3;
9005
9093
  var definePropertyModule = objectDefineProperty;
9006
9094
  var createPropertyDescriptor$1 = createPropertyDescriptor$5;
@@ -9011,19 +9099,18 @@
9011
9099
  else object[propertyKey] = value;
9012
9100
  };
9013
9101
 
9014
- var global$n = global$U;
9015
9102
  var toAbsoluteIndex = toAbsoluteIndex$2;
9016
9103
  var lengthOfArrayLike$4 = lengthOfArrayLike$6;
9017
9104
  var createProperty$1 = createProperty$2;
9018
9105
 
9019
- var Array$2 = global$n.Array;
9106
+ var $Array$1 = Array;
9020
9107
  var max$1 = Math.max;
9021
9108
 
9022
9109
  var arraySliceSimple = function (O, start, end) {
9023
9110
  var length = lengthOfArrayLike$4(O);
9024
9111
  var k = toAbsoluteIndex(start, length);
9025
9112
  var fin = toAbsoluteIndex(end === undefined ? length : end, length);
9026
- var result = Array$2(max$1(fin - k, 0));
9113
+ var result = $Array$1(max$1(fin - k, 0));
9027
9114
  for (var n = 0; k < fin; k++, n++) createProperty$1(result, n, O[k]);
9028
9115
  result.length = n;
9029
9116
  return result;
@@ -9105,6 +9192,7 @@
9105
9192
  var aCallable$7 = aCallable$9;
9106
9193
  var toObject$3 = toObject$7;
9107
9194
  var lengthOfArrayLike$3 = lengthOfArrayLike$6;
9195
+ var deletePropertyOrThrow = deletePropertyOrThrow$1;
9108
9196
  var toString$b = toString$h;
9109
9197
  var fails$9 = fails$t;
9110
9198
  var internalSort = arraySort$1;
@@ -9199,19 +9287,18 @@
9199
9287
  index = 0;
9200
9288
 
9201
9289
  while (index < itemsLength) array[index] = items[index++];
9202
- while (index < arrayLength) delete array[index++];
9290
+ while (index < arrayLength) deletePropertyOrThrow(array, index++);
9203
9291
 
9204
9292
  return array;
9205
9293
  }
9206
9294
  });
9207
9295
 
9208
- var global$m = global$U;
9209
9296
  var aCallable$6 = aCallable$9;
9210
9297
  var toObject$2 = toObject$7;
9211
9298
  var IndexedObject = indexedObject;
9212
9299
  var lengthOfArrayLike$2 = lengthOfArrayLike$6;
9213
9300
 
9214
- var TypeError$9 = global$m.TypeError;
9301
+ var $TypeError$5 = TypeError;
9215
9302
 
9216
9303
  // `Array.prototype.{ reduce, reduceRight }` methods implementation
9217
9304
  var createMethod$2 = function (IS_RIGHT) {
@@ -9230,7 +9317,7 @@
9230
9317
  }
9231
9318
  index += i;
9232
9319
  if (IS_RIGHT ? index < 0 : length <= index) {
9233
- throw TypeError$9('Reduce of empty array with no initial value');
9320
+ throw $TypeError$5('Reduce of empty array with no initial value');
9234
9321
  }
9235
9322
  }
9236
9323
  for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {
@@ -9250,20 +9337,20 @@
9250
9337
  };
9251
9338
 
9252
9339
  var classof$3 = classofRaw$1;
9253
- var global$l = global$U;
9340
+ var global$c = global$s;
9254
9341
 
9255
- var engineIsNode = classof$3(global$l.process) == 'process';
9342
+ var engineIsNode = classof$3(global$c.process) == 'process';
9256
9343
 
9257
9344
  var $$f = _export;
9258
9345
  var $reduce = arrayReduce.left;
9259
9346
  var arrayMethodIsStrict = arrayMethodIsStrict$2;
9260
9347
  var CHROME_VERSION = engineV8Version;
9261
- var IS_NODE$3 = engineIsNode;
9348
+ var IS_NODE$4 = engineIsNode;
9262
9349
 
9263
9350
  var STRICT_METHOD = arrayMethodIsStrict('reduce');
9264
9351
  // Chrome 80-82 has a critical bug
9265
9352
  // https://bugs.chromium.org/p/chromium/issues/detail?id=1049982
9266
- var CHROME_BUG = !IS_NODE$3 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9353
+ var CHROME_BUG = !IS_NODE$4 && CHROME_VERSION > 79 && CHROME_VERSION < 83;
9267
9354
 
9268
9355
  // `Array.prototype.reduce` method
9269
9356
  // https://tc39.es/ecma262/#sec-array.prototype.reduce
@@ -9274,7 +9361,7 @@
9274
9361
  }
9275
9362
  });
9276
9363
 
9277
- var _jsxFileName$w = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\icon\\CheckOutline.js";
9364
+ var _jsxFileName$w = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/icon/CheckOutline.js";
9278
9365
 
9279
9366
  const CheckOutline = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
9280
9367
  xmlns: "http://www.w3.org/2000/svg",
@@ -9323,7 +9410,7 @@
9323
9410
  }));
9324
9411
 
9325
9412
  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"];
9326
- var _jsxFileName$v = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectCheck\\InputSelectCheck.js";
9413
+ var _jsxFileName$v = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectCheck/InputSelectCheck.js";
9327
9414
  const Wrapper$1 = styled('div', {
9328
9415
  margin: 0,
9329
9416
  flexDirection: 'column',
@@ -9688,10 +9775,10 @@
9688
9775
  return setItems(sortValue);
9689
9776
  }
9690
9777
  } else {
9691
- let filterItems = option === null || option === void 0 ? void 0 : option.filter(item => {
9692
- var _item$name, _item$name$toLowerCas, _item$name$toLowerCas2, _input$toLocaleLowerC;
9778
+ let filterItems = option == null ? void 0 : option.filter(item => {
9779
+ var _item$name, _item$name$toLowerCas;
9693
9780
 
9694
- 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));
9781
+ 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());
9695
9782
  });
9696
9783
  setItems(filterItems);
9697
9784
  }
@@ -9701,9 +9788,9 @@
9701
9788
  if (disabled || readOnly) {
9702
9789
  return selectedValue;
9703
9790
  } else {
9704
- if ((selected === null || selected === void 0 ? void 0 : selected.id) === 'counter') {
9791
+ if ((selected == null ? void 0 : selected.id) === 'counter') {
9705
9792
  setSelectedValue([]);
9706
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9793
+ onChange == null ? void 0 : onChange([]);
9707
9794
 
9708
9795
  for (let i = 0; i < selectedValue.length; i++) {
9709
9796
  removeSelectedItem(selectedValue[i]);
@@ -9714,7 +9801,7 @@
9714
9801
  setSelectedValue(filterItems);
9715
9802
 
9716
9803
  if (selected.id !== '!all') {
9717
- onChange === null || onChange === void 0 ? void 0 : onChange(filterItems);
9804
+ onChange == null ? void 0 : onChange(filterItems);
9718
9805
  }
9719
9806
  }
9720
9807
  }
@@ -9759,7 +9846,7 @@
9759
9846
  removeSelectedItem(item);
9760
9847
  });
9761
9848
  setSelectedValue([]);
9762
- onChange === null || onChange === void 0 ? void 0 : onChange([]);
9849
+ onChange == null ? void 0 : onChange([]);
9763
9850
  } else {
9764
9851
  removeItem(selectedItem);
9765
9852
  }
@@ -9774,12 +9861,12 @@
9774
9861
  itemIds.push(item.id);
9775
9862
  });
9776
9863
  setSelectedValue(itemIds);
9777
- onChange === null || onChange === void 0 ? void 0 : onChange(itemIds.slice(1));
9864
+ onChange == null ? void 0 : onChange(itemIds.slice(1));
9778
9865
  } else {
9779
9866
  addSelectedItem(selectedItem);
9780
9867
  setSelectedValue([...selectedValue, selectedItem.id]);
9781
9868
  const filteredSelectedValues = selectedValue.filter(val => val !== '!all');
9782
- onChange === null || onChange === void 0 ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9869
+ onChange == null ? void 0 : onChange([...filteredSelectedValues, selectedItem.id]);
9783
9870
  }
9784
9871
 
9785
9872
  selectItem(null);
@@ -9931,7 +10018,7 @@
9931
10018
  lineNumber: 559,
9932
10019
  columnNumber: 11
9933
10020
  }
9934
- }, 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["default"].createElement(Tag, _extends({
10021
+ }, 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["default"].createElement(Tag, _extends({
9935
10022
  disabled: disabled,
9936
10023
  isRemovable: readOnly || disabled || unremovableTags.includes(selectedItem.id) ? false : true,
9937
10024
  size: size,
@@ -9955,7 +10042,7 @@
9955
10042
  lineNumber: 563,
9956
10043
  columnNumber: 17
9957
10044
  }
9958
- }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length) && /*#__PURE__*/React__default["default"].createElement(TagWrapper$1, {
10045
+ }), selectedItem.name))), showSelectedTag && showCounter && Boolean(selectedItems == null ? void 0 : selectedItems.length) && /*#__PURE__*/React__default["default"].createElement(TagWrapper$1, {
9959
10046
  disabled: disabled,
9960
10047
  __self: undefined,
9961
10048
  __source: {
@@ -9968,7 +10055,7 @@
9968
10055
  maxWidth: '150px !important'
9969
10056
  },
9970
10057
  disabled: disabled,
9971
- isRemovable: readOnly || disabled || Boolean(selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length),
10058
+ isRemovable: readOnly || disabled || Boolean(selectedItems == null ? void 0 : selectedItems.length),
9972
10059
  size: size,
9973
10060
  readOnly: readOnly // {...getSelectedItemProps({ selectedItem, index })}
9974
10061
  ,
@@ -9990,7 +10077,7 @@
9990
10077
  lineNumber: 586,
9991
10078
  columnNumber: 13
9992
10079
  }
9993
- }, `${selectedItems === null || selectedItems === void 0 ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default["default"].createElement(OptionWrapper$1, {
10080
+ }, `${selectedItems == null ? void 0 : selectedItems.length} ${labelCounter}`)), /*#__PURE__*/React__default["default"].createElement(OptionWrapper$1, {
9994
10081
  placement: placement,
9995
10082
  css: {
9996
10083
  display: isOpen && disabled === false ? 'block' : 'none',
@@ -10058,7 +10145,7 @@
10058
10145
  lineNumber: 640,
10059
10146
  columnNumber: 27
10060
10147
  }
10061
- }), 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["default"].createElement(IndeterminateFilled, {
10148
+ }), 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["default"].createElement(IndeterminateFilled, {
10062
10149
  __self: undefined,
10063
10150
  __source: {
10064
10151
  fileName: _jsxFileName$v,
@@ -10169,7 +10256,7 @@
10169
10256
  labelCounter: 'Item terpilih'
10170
10257
  };
10171
10258
 
10172
- var _jsxFileName$u = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputSelectTag\\InputSelectTag.js";
10259
+ var _jsxFileName$u = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
10173
10260
  const InputSelectTag = /*#__PURE__*/React__namespace.forwardRef((props, ref) => {
10174
10261
  return /*#__PURE__*/React__namespace.createElement(InputSelectCheck, _extends({
10175
10262
  ref: ref,
@@ -10220,7 +10307,7 @@
10220
10307
  labelCounter: 'Item terpilih'
10221
10308
  };
10222
10309
 
10223
- var _jsxFileName$t = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\form\\components\\InputCreatable\\InputCreatable.js";
10310
+ var _jsxFileName$t = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/form/components/InputCreatable/InputCreatable.js";
10224
10311
  const Wrapper = styled('div', {
10225
10312
  margin: 0,
10226
10313
  flexDirection: 'column',
@@ -11022,15 +11109,15 @@
11022
11109
  trim: createMethod$1(3)
11023
11110
  };
11024
11111
 
11025
- var global$k = global$U;
11112
+ var global$b = global$s;
11026
11113
  var fails$8 = fails$t;
11027
11114
  var uncurryThis$d = functionUncurryThis;
11028
11115
  var toString$8 = toString$h;
11029
11116
  var trim$1 = stringTrim.trim;
11030
11117
  var whitespaces$2 = whitespaces$4;
11031
11118
 
11032
- var $parseInt$1 = global$k.parseInt;
11033
- var Symbol$6 = global$k.Symbol;
11119
+ var $parseInt$1 = global$b.parseInt;
11120
+ var Symbol$6 = global$b.Symbol;
11034
11121
  var ITERATOR$6 = Symbol$6 && Symbol$6.iterator;
11035
11122
  var hex = /^[+-]?0x/i;
11036
11123
  var exec$4 = uncurryThis$d(hex.exec);
@@ -11251,7 +11338,7 @@
11251
11338
  };
11252
11339
 
11253
11340
  const _excluded$c = ["children"];
11254
- var _jsxFileName$s = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\popover\\Popover.js";
11341
+ var _jsxFileName$s = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/popover/Popover.js";
11255
11342
  const {
11256
11343
  zIndices
11257
11344
  } = core.foundations;
@@ -11341,8 +11428,8 @@
11341
11428
  ref: floating,
11342
11429
  style: Object.assign({
11343
11430
  position: strategy,
11344
- top: isMobile ? 0 : y !== null && y !== void 0 ? y : '',
11345
- left: isMobile ? 0 : x !== null && x !== void 0 ? x : '',
11431
+ top: isMobile ? 0 : y != null ? y : '',
11432
+ left: isMobile ? 0 : x != null ? x : '',
11346
11433
  zIndex: zIndices.popover
11347
11434
  }, style)
11348
11435
  }), {
@@ -11385,7 +11472,7 @@
11385
11472
  Popover.displayName = 'Popover';
11386
11473
 
11387
11474
  const _excluded$b = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
11388
- var _jsxFileName$r = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\slider\\Slider.js";
11475
+ var _jsxFileName$r = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/slider/Slider.js";
11389
11476
  const StyledSlider = react.styled(SliderPrimitive__namespace.Root, {
11390
11477
  position: 'relative',
11391
11478
  display: 'flex',
@@ -11730,7 +11817,7 @@
11730
11817
  };
11731
11818
 
11732
11819
  const _excluded$a = ["className", "children", "onClick", "type", "size"];
11733
- var _jsxFileName$q = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tagStatus\\TagStatus.js";
11820
+ var _jsxFileName$q = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tagStatus/TagStatus.js";
11734
11821
  const TagWrapper = styled('div', {
11735
11822
  boxSizing: 'border-box',
11736
11823
  fontSize: '12px',
@@ -11896,7 +11983,7 @@
11896
11983
  _excluded2$1 = ["children", "activeTabs"],
11897
11984
  _excluded3 = ["children", "icon", "activeTabs", "value"],
11898
11985
  _excluded4 = ["activeTabs"];
11899
- var _jsxFileName$p = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tabs\\Tabs.js";
11986
+ var _jsxFileName$p = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tabs/Tabs.js";
11900
11987
  const StyledTabs = styled(TabsPrimitive__namespace.Root, {
11901
11988
  display: 'flex',
11902
11989
  flexDirection: 'column',
@@ -12247,7 +12334,7 @@
12247
12334
 
12248
12335
  const _excluded$8 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
12249
12336
  _excluded2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
12250
- var _jsxFileName$o = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\buttonGroup\\ButtonGroup.js";
12337
+ var _jsxFileName$o = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
12251
12338
  const ButtonGroupComponent = styled(ToggleGroupPrimitive__namespace.Root, {
12252
12339
  display: 'inline-flex',
12253
12340
  borderRadius: '$md',
@@ -12475,7 +12562,7 @@
12475
12562
  };
12476
12563
 
12477
12564
  const _excluded$7 = ["children"];
12478
- var _jsxFileName$n = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\notificationBadge\\NotificationBadge.js";
12565
+ var _jsxFileName$n = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/notificationBadge/NotificationBadge.js";
12479
12566
  const NotificationBadgeRootStyle = styled('span', {
12480
12567
  position: 'relative',
12481
12568
  display: 'inline-flex',
@@ -12575,7 +12662,7 @@
12575
12662
  props = _objectWithoutPropertiesLoose(_ref, _excluded$7);
12576
12663
 
12577
12664
  const getValue = () => {
12578
- let value = props === null || props === void 0 ? void 0 : props.value;
12665
+ let value = props == null ? void 0 : props.value;
12579
12666
 
12580
12667
  if (typeof value === 'number' || parseInt(value)) {
12581
12668
  if (Math.sign(value) === 1 || Math.sign(value) === 0) {
@@ -12619,7 +12706,7 @@
12619
12706
  };
12620
12707
 
12621
12708
  const _excluded$6 = ["className", "children", "radius", "padding", "width", "height"];
12622
- var _jsxFileName$m = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\paper\\Paper.js";
12709
+ var _jsxFileName$m = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/paper/Paper.js";
12623
12710
  const PaperComponent = styled('div', {
12624
12711
  padding: '20px',
12625
12712
  height: 'auto',
@@ -12828,14 +12915,13 @@
12828
12915
  DialogOverlay.displayName = 'DialogOverlay';
12829
12916
  DialogPortal.displayName = 'DialogPortal';
12830
12917
 
12831
- var global$j = global$U;
12832
12918
  var isPrototypeOf$1 = objectIsPrototypeOf;
12833
12919
 
12834
- var TypeError$8 = global$j.TypeError;
12920
+ var $TypeError$4 = TypeError;
12835
12921
 
12836
12922
  var anInstance$3 = function (it, Prototype) {
12837
12923
  if (isPrototypeOf$1(Prototype, it)) return it;
12838
- throw TypeError$8('Incorrect invocation');
12924
+ throw $TypeError$4('Incorrect invocation');
12839
12925
  };
12840
12926
 
12841
12927
  var uncurryThis$c = functionUncurryThis;
@@ -12891,16 +12977,15 @@
12891
12977
  || called;
12892
12978
  }) ? isConstructorLegacy : isConstructorModern;
12893
12979
 
12894
- var global$i = global$U;
12895
12980
  var isConstructor$1 = isConstructor$2;
12896
- var tryToString$2 = tryToString$4;
12981
+ var tryToString$2 = tryToString$5;
12897
12982
 
12898
- var TypeError$7 = global$i.TypeError;
12983
+ var $TypeError$3 = TypeError;
12899
12984
 
12900
12985
  // `Assert: IsConstructor(argument) is true`
12901
12986
  var aConstructor$1 = function (argument) {
12902
12987
  if (isConstructor$1(argument)) return argument;
12903
- throw TypeError$7(tryToString$2(argument) + ' is not a constructor');
12988
+ throw $TypeError$3(tryToString$2(argument) + ' is not a constructor');
12904
12989
  };
12905
12990
 
12906
12991
  var anObject$8 = anObject$i;
@@ -12946,12 +13031,10 @@
12946
13031
 
12947
13032
  var arraySlice$3 = uncurryThis$a([].slice);
12948
13033
 
12949
- var global$h = global$U;
12950
-
12951
- var TypeError$6 = global$h.TypeError;
13034
+ var $TypeError$2 = TypeError;
12952
13035
 
12953
13036
  var validateArgumentsLength$3 = function (passed, required) {
12954
- if (passed < required) throw TypeError$6('Not enough arguments');
13037
+ if (passed < required) throw $TypeError$2('Not enough arguments');
12955
13038
  return passed;
12956
13039
  };
12957
13040
 
@@ -12959,7 +13042,7 @@
12959
13042
 
12960
13043
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
12961
13044
 
12962
- var global$g = global$U;
13045
+ var global$a = global$s;
12963
13046
  var apply$2 = functionApply;
12964
13047
  var bind$6 = functionBindContext;
12965
13048
  var isCallable$5 = isCallable$p;
@@ -12970,15 +13053,15 @@
12970
13053
  var createElement = documentCreateElement$2;
12971
13054
  var validateArgumentsLength$2 = validateArgumentsLength$3;
12972
13055
  var IS_IOS$1 = engineIsIos;
12973
- var IS_NODE$2 = engineIsNode;
13056
+ var IS_NODE$3 = engineIsNode;
12974
13057
 
12975
- var set = global$g.setImmediate;
12976
- var clear = global$g.clearImmediate;
12977
- var process$2 = global$g.process;
12978
- var Dispatch = global$g.Dispatch;
12979
- var Function$1 = global$g.Function;
12980
- var MessageChannel = global$g.MessageChannel;
12981
- var String$2 = global$g.String;
13058
+ var set = global$a.setImmediate;
13059
+ var clear = global$a.clearImmediate;
13060
+ var process$2 = global$a.process;
13061
+ var Dispatch = global$a.Dispatch;
13062
+ var Function$1 = global$a.Function;
13063
+ var MessageChannel = global$a.MessageChannel;
13064
+ var String$1 = global$a.String;
12982
13065
  var counter = 0;
12983
13066
  var queue$1 = {};
12984
13067
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -12986,7 +13069,7 @@
12986
13069
 
12987
13070
  try {
12988
13071
  // Deno throws a ReferenceError on `location` access without `--location` flag
12989
- location = global$g.location;
13072
+ location = global$a.location;
12990
13073
  } catch (error) { /* empty */ }
12991
13074
 
12992
13075
  var run = function (id) {
@@ -13009,7 +13092,7 @@
13009
13092
 
13010
13093
  var post = function (id) {
13011
13094
  // old engines have not location.origin
13012
- global$g.postMessage(String$2(id), location.protocol + '//' + location.host);
13095
+ global$a.postMessage(String$1(id), location.protocol + '//' + location.host);
13013
13096
  };
13014
13097
 
13015
13098
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -13028,7 +13111,7 @@
13028
13111
  delete queue$1[id];
13029
13112
  };
13030
13113
  // Node.js 0.8-
13031
- if (IS_NODE$2) {
13114
+ if (IS_NODE$3) {
13032
13115
  defer = function (id) {
13033
13116
  process$2.nextTick(runner(id));
13034
13117
  };
@@ -13047,14 +13130,14 @@
13047
13130
  // Browsers with postMessage, skip WebWorkers
13048
13131
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
13049
13132
  } else if (
13050
- global$g.addEventListener &&
13051
- isCallable$5(global$g.postMessage) &&
13052
- !global$g.importScripts &&
13133
+ global$a.addEventListener &&
13134
+ isCallable$5(global$a.postMessage) &&
13135
+ !global$a.importScripts &&
13053
13136
  location && location.protocol !== 'file:' &&
13054
13137
  !fails$6(post)
13055
13138
  ) {
13056
13139
  defer = post;
13057
- global$g.addEventListener('message', listener, false);
13140
+ global$a.addEventListener('message', listener, false);
13058
13141
  // IE8-
13059
13142
  } else if (ONREADYSTATECHANGE in createElement('script')) {
13060
13143
  defer = function (id) {
@@ -13077,29 +13160,29 @@
13077
13160
  };
13078
13161
 
13079
13162
  var userAgent$1 = engineUserAgent;
13080
- var global$f = global$U;
13163
+ var global$9 = global$s;
13081
13164
 
13082
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$f.Pebble !== undefined;
13165
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$9.Pebble !== undefined;
13083
13166
 
13084
13167
  var userAgent = engineUserAgent;
13085
13168
 
13086
13169
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
13087
13170
 
13088
- var global$e = global$U;
13171
+ var global$8 = global$s;
13089
13172
  var bind$5 = functionBindContext;
13090
13173
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
13091
13174
  var macrotask = task$1.set;
13092
13175
  var IS_IOS = engineIsIos;
13093
13176
  var IS_IOS_PEBBLE = engineIsIosPebble;
13094
13177
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
13095
- var IS_NODE$1 = engineIsNode;
13178
+ var IS_NODE$2 = engineIsNode;
13096
13179
 
13097
- var MutationObserver = global$e.MutationObserver || global$e.WebKitMutationObserver;
13098
- var document$2 = global$e.document;
13099
- var process$1 = global$e.process;
13100
- var Promise$1 = global$e.Promise;
13180
+ var MutationObserver = global$8.MutationObserver || global$8.WebKitMutationObserver;
13181
+ var document$2 = global$8.document;
13182
+ var process$1 = global$8.process;
13183
+ var Promise$1 = global$8.Promise;
13101
13184
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
13102
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$e, 'queueMicrotask');
13185
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor$1(global$8, 'queueMicrotask');
13103
13186
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
13104
13187
 
13105
13188
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -13108,7 +13191,7 @@
13108
13191
  if (!queueMicrotask) {
13109
13192
  flush = function () {
13110
13193
  var parent, fn;
13111
- if (IS_NODE$1 && (parent = process$1.domain)) parent.exit();
13194
+ if (IS_NODE$2 && (parent = process$1.domain)) parent.exit();
13112
13195
  while (head) {
13113
13196
  fn = head.fn;
13114
13197
  head = head.next;
@@ -13125,7 +13208,7 @@
13125
13208
 
13126
13209
  // browsers with MutationObserver, except iOS - https://github.com/zloirock/core-js/issues/339
13127
13210
  // also except WebOS Webkit https://github.com/zloirock/core-js/issues/898
13128
- if (!IS_IOS && !IS_NODE$1 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
13211
+ if (!IS_IOS && !IS_NODE$2 && !IS_WEBOS_WEBKIT && MutationObserver && document$2) {
13129
13212
  toggle = true;
13130
13213
  node = document$2.createTextNode('');
13131
13214
  new MutationObserver(flush).observe(node, { characterData: true });
@@ -13143,7 +13226,7 @@
13143
13226
  then(flush);
13144
13227
  };
13145
13228
  // Node.js without promises
13146
- } else if (IS_NODE$1) {
13229
+ } else if (IS_NODE$2) {
13147
13230
  notify$1 = function () {
13148
13231
  process$1.nextTick(flush);
13149
13232
  };
@@ -13155,7 +13238,7 @@
13155
13238
  // - setTimeout
13156
13239
  } else {
13157
13240
  // strange IE + webpack dev server bug - use .bind(global)
13158
- macrotask = bind$5(macrotask, global$e);
13241
+ macrotask = bind$5(macrotask, global$8);
13159
13242
  notify$1 = function () {
13160
13243
  macrotask(flush);
13161
13244
  };
@@ -13171,10 +13254,10 @@
13171
13254
  } last = task;
13172
13255
  };
13173
13256
 
13174
- var global$d = global$U;
13257
+ var global$7 = global$s;
13175
13258
 
13176
13259
  var hostReportErrors$1 = function (a, b) {
13177
- var console = global$d.console;
13260
+ var console = global$7.console;
13178
13261
  if (console && console.error) {
13179
13262
  arguments.length == 1 ? console.error(a) : console.error(a, b);
13180
13263
  }
@@ -13212,25 +13295,35 @@
13212
13295
 
13213
13296
  var queue = Queue$1;
13214
13297
 
13215
- var global$c = global$U;
13298
+ var global$6 = global$s;
13299
+
13300
+ var promiseNativeConstructor = global$6.Promise;
13301
+
13302
+ /* global Deno -- Deno case */
13216
13303
 
13217
- var promiseNativeConstructor = global$c.Promise;
13304
+ var engineIsDeno = typeof Deno == 'object' && Deno && typeof Deno.version == 'object';
13218
13305
 
13219
- var engineIsBrowser = typeof window == 'object' && typeof Deno != 'object';
13306
+ var IS_DENO$1 = engineIsDeno;
13307
+ var IS_NODE$1 = engineIsNode;
13308
+
13309
+ var engineIsBrowser = !IS_DENO$1 && !IS_NODE$1
13310
+ && typeof window == 'object'
13311
+ && typeof document == 'object';
13220
13312
 
13221
- var global$b = global$U;
13313
+ var global$5 = global$s;
13222
13314
  var NativePromiseConstructor$3 = promiseNativeConstructor;
13223
13315
  var isCallable$4 = isCallable$p;
13224
13316
  var isForced = isForced_1;
13225
13317
  var inspectSource = inspectSource$4;
13226
13318
  var wellKnownSymbol$6 = wellKnownSymbol$l;
13227
13319
  var IS_BROWSER = engineIsBrowser;
13320
+ var IS_DENO = engineIsDeno;
13228
13321
  var V8_VERSION = engineV8Version;
13229
13322
 
13230
13323
  NativePromiseConstructor$3 && NativePromiseConstructor$3.prototype;
13231
13324
  var SPECIES = wellKnownSymbol$6('species');
13232
13325
  var SUBCLASSING = false;
13233
- var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$b.PromiseRejectionEvent);
13326
+ var NATIVE_PROMISE_REJECTION_EVENT$1 = isCallable$4(global$5.PromiseRejectionEvent);
13234
13327
 
13235
13328
  var FORCED_PROMISE_CONSTRUCTOR$5 = isForced('Promise', function () {
13236
13329
  var PROMISE_CONSTRUCTOR_SOURCE = inspectSource(NativePromiseConstructor$3);
@@ -13242,18 +13335,18 @@
13242
13335
  // We can't use @@species feature detection in V8 since it causes
13243
13336
  // deoptimization and performance degradation
13244
13337
  // https://github.com/zloirock/core-js/issues/679
13245
- if (V8_VERSION >= 51 && /native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) return false;
13246
- // Detect correctness of subclassing with @@species support
13247
- var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13248
- var FakePromise = function (exec) {
13249
- exec(function () { /* empty */ }, function () { /* empty */ });
13250
- };
13251
- var constructor = promise.constructor = {};
13252
- constructor[SPECIES] = FakePromise;
13253
- SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13254
- if (!SUBCLASSING) return true;
13338
+ if (!V8_VERSION || V8_VERSION < 51 || !/native code/.test(PROMISE_CONSTRUCTOR_SOURCE)) {
13339
+ // Detect correctness of subclassing with @@species support
13340
+ var promise = new NativePromiseConstructor$3(function (resolve) { resolve(1); });
13341
+ var FakePromise = function (exec) {
13342
+ exec(function () { /* empty */ }, function () { /* empty */ });
13343
+ };
13344
+ var constructor = promise.constructor = {};
13345
+ constructor[SPECIES] = FakePromise;
13346
+ SUBCLASSING = promise.then(function () { /* empty */ }) instanceof FakePromise;
13347
+ if (!SUBCLASSING) return true;
13255
13348
  // Unhandled rejections tracking support, NodeJS Promise without it fails @@species test
13256
- return !GLOBAL_CORE_JS_PROMISE && IS_BROWSER && !NATIVE_PROMISE_REJECTION_EVENT$1;
13349
+ } return !GLOBAL_CORE_JS_PROMISE && (IS_BROWSER || IS_DENO) && !NATIVE_PROMISE_REJECTION_EVENT$1;
13257
13350
  });
13258
13351
 
13259
13352
  var promiseConstructorDetection = {
@@ -13285,7 +13378,7 @@
13285
13378
 
13286
13379
  var $$c = _export;
13287
13380
  var IS_NODE = engineIsNode;
13288
- var global$a = global$U;
13381
+ var global$4 = global$s;
13289
13382
  var call$b = functionCall;
13290
13383
  var defineBuiltIn$4 = defineBuiltIn$b;
13291
13384
  var setPrototypeOf = objectSetPrototypeOf;
@@ -13315,13 +13408,13 @@
13315
13408
  var NativePromisePrototype$1 = NativePromiseConstructor$2 && NativePromiseConstructor$2.prototype;
13316
13409
  var PromiseConstructor = NativePromiseConstructor$2;
13317
13410
  var PromisePrototype = NativePromisePrototype$1;
13318
- var TypeError$5 = global$a.TypeError;
13319
- var document$1 = global$a.document;
13320
- var process = global$a.process;
13411
+ var TypeError$3 = global$4.TypeError;
13412
+ var document$1 = global$4.document;
13413
+ var process = global$4.process;
13321
13414
  var newPromiseCapability$1 = newPromiseCapabilityModule$3.f;
13322
13415
  var newGenericPromiseCapability = newPromiseCapability$1;
13323
13416
 
13324
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$a.dispatchEvent);
13417
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$4.dispatchEvent);
13325
13418
  var UNHANDLED_REJECTION = 'unhandledrejection';
13326
13419
  var REJECTION_HANDLED = 'rejectionhandled';
13327
13420
  var PENDING = 0;
@@ -13362,7 +13455,7 @@
13362
13455
  }
13363
13456
  }
13364
13457
  if (result === reaction.promise) {
13365
- reject(TypeError$5('Promise-chain cycle'));
13458
+ reject(TypeError$3('Promise-chain cycle'));
13366
13459
  } else if (then = isThenable(result)) {
13367
13460
  call$b(then, result, resolve, reject);
13368
13461
  } else resolve(result);
@@ -13394,14 +13487,14 @@
13394
13487
  event.promise = promise;
13395
13488
  event.reason = reason;
13396
13489
  event.initEvent(name, false, true);
13397
- global$a.dispatchEvent(event);
13490
+ global$4.dispatchEvent(event);
13398
13491
  } else event = { promise: promise, reason: reason };
13399
- if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$a['on' + name])) handler(event);
13492
+ if (!NATIVE_PROMISE_REJECTION_EVENT && (handler = global$4['on' + name])) handler(event);
13400
13493
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
13401
13494
  };
13402
13495
 
13403
13496
  var onUnhandled = function (state) {
13404
- call$b(task, global$a, function () {
13497
+ call$b(task, global$4, function () {
13405
13498
  var promise = state.facade;
13406
13499
  var value = state.value;
13407
13500
  var IS_UNHANDLED = isUnhandled(state);
@@ -13424,7 +13517,7 @@
13424
13517
  };
13425
13518
 
13426
13519
  var onHandleUnhandled = function (state) {
13427
- call$b(task, global$a, function () {
13520
+ call$b(task, global$4, function () {
13428
13521
  var promise = state.facade;
13429
13522
  if (IS_NODE) {
13430
13523
  process.emit('rejectionHandled', promise);
@@ -13452,7 +13545,7 @@
13452
13545
  state.done = true;
13453
13546
  if (unwrap) state = unwrap;
13454
13547
  try {
13455
- if (state.facade === value) throw TypeError$5("Promise can't be resolved itself");
13548
+ if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
13456
13549
  var then = isThenable(value);
13457
13550
  if (then) {
13458
13551
  microtask(function () {
@@ -13594,19 +13687,18 @@
13594
13687
  || Iterators[classof$1(it)];
13595
13688
  };
13596
13689
 
13597
- var global$9 = global$U;
13598
13690
  var call$a = functionCall;
13599
13691
  var aCallable$2 = aCallable$9;
13600
13692
  var anObject$7 = anObject$i;
13601
- var tryToString$1 = tryToString$4;
13693
+ var tryToString$1 = tryToString$5;
13602
13694
  var getIteratorMethod$3 = getIteratorMethod$4;
13603
13695
 
13604
- var TypeError$4 = global$9.TypeError;
13696
+ var $TypeError$1 = TypeError;
13605
13697
 
13606
13698
  var getIterator$3 = function (argument, usingIterator) {
13607
13699
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
13608
13700
  if (aCallable$2(iteratorMethod)) return anObject$7(call$a(iteratorMethod, argument));
13609
- throw TypeError$4(tryToString$1(argument) + ' is not iterable');
13701
+ throw $TypeError$1(tryToString$1(argument) + ' is not iterable');
13610
13702
  };
13611
13703
 
13612
13704
  var call$9 = functionCall;
@@ -13633,11 +13725,10 @@
13633
13725
  return value;
13634
13726
  };
13635
13727
 
13636
- var global$8 = global$U;
13637
13728
  var bind$3 = functionBindContext;
13638
13729
  var call$8 = functionCall;
13639
13730
  var anObject$5 = anObject$i;
13640
- var tryToString = tryToString$4;
13731
+ var tryToString = tryToString$5;
13641
13732
  var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
13642
13733
  var lengthOfArrayLike$1 = lengthOfArrayLike$6;
13643
13734
  var isPrototypeOf = objectIsPrototypeOf;
@@ -13645,7 +13736,7 @@
13645
13736
  var getIteratorMethod$2 = getIteratorMethod$4;
13646
13737
  var iteratorClose$1 = iteratorClose$2;
13647
13738
 
13648
- var TypeError$3 = global$8.TypeError;
13739
+ var $TypeError = TypeError;
13649
13740
 
13650
13741
  var Result = function (stopped, result) {
13651
13742
  this.stopped = stopped;
@@ -13657,6 +13748,7 @@
13657
13748
  var iterate$2 = function (iterable, unboundFunction, options) {
13658
13749
  var that = options && options.that;
13659
13750
  var AS_ENTRIES = !!(options && options.AS_ENTRIES);
13751
+ var IS_RECORD = !!(options && options.IS_RECORD);
13660
13752
  var IS_ITERATOR = !!(options && options.IS_ITERATOR);
13661
13753
  var INTERRUPTED = !!(options && options.INTERRUPTED);
13662
13754
  var fn = bind$3(unboundFunction, that);
@@ -13674,11 +13766,13 @@
13674
13766
  } return INTERRUPTED ? fn(value, stop) : fn(value);
13675
13767
  };
13676
13768
 
13677
- if (IS_ITERATOR) {
13769
+ if (IS_RECORD) {
13770
+ iterator = iterable.iterator;
13771
+ } else if (IS_ITERATOR) {
13678
13772
  iterator = iterable;
13679
13773
  } else {
13680
13774
  iterFn = getIteratorMethod$2(iterable);
13681
- if (!iterFn) throw TypeError$3(tryToString(iterable) + ' is not iterable');
13775
+ if (!iterFn) throw $TypeError(tryToString(iterable) + ' is not iterable');
13682
13776
  // optimisation for array iterators
13683
13777
  if (isArrayIteratorMethod$1(iterFn)) {
13684
13778
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -13689,7 +13783,7 @@
13689
13783
  iterator = getIterator$2(iterable, iterFn);
13690
13784
  }
13691
13785
 
13692
- next = iterator.next;
13786
+ next = IS_RECORD ? iterable.next : iterator.next;
13693
13787
  while (!(step = call$8(next, iterator)).done) {
13694
13788
  try {
13695
13789
  result = callFn(step.value);
@@ -14116,7 +14210,7 @@
14116
14210
  };
14117
14211
 
14118
14212
  const _excluded$5 = ["children"];
14119
- var _jsxFileName$l = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\drawer\\Drawer.js";
14213
+ var _jsxFileName$l = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/drawer/Drawer.js";
14120
14214
  const Context$1 = /*#__PURE__*/React__default["default"].createContext();
14121
14215
  const {
14122
14216
  sizes
@@ -15888,7 +15982,7 @@
15888
15982
  return null;
15889
15983
  };
15890
15984
 
15891
- var _jsxFileName$k = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\TimePicker.js";
15985
+ var _jsxFileName$k = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/TimePicker.js";
15892
15986
  const Input$3 = styled('input', {
15893
15987
  display: 'none'
15894
15988
  });
@@ -16145,33 +16239,33 @@
16145
16239
  })));
16146
16240
  };
16147
16241
  NativeTimePicker.propTypes = {
16148
- /**
16149
- Resize time picker.
16242
+ /**
16243
+ Resize time picker.
16150
16244
  */
16151
16245
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16152
16246
 
16153
- /**
16154
- Change handler.
16247
+ /**
16248
+ Change handler.
16155
16249
  */
16156
16250
  onChange: PropTypes__default["default"].func,
16157
16251
 
16158
- /**
16159
- Time picker default value, support moment format.
16252
+ /**
16253
+ Time picker default value, support moment format.
16160
16254
  */
16161
16255
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16162
16256
 
16163
- /**
16164
- Time picker value, support moment format.
16257
+ /**
16258
+ Time picker value, support moment format.
16165
16259
  */
16166
16260
  value: PropTypes__default["default"].instanceOf(Date),
16167
16261
 
16168
- /**
16169
- Specify the minimum date.
16262
+ /**
16263
+ Specify the minimum date.
16170
16264
  */
16171
16265
  minDate: PropTypes__default["default"].instanceOf(Date),
16172
16266
 
16173
- /**
16174
- Specify the maximum date.
16267
+ /**
16268
+ Specify the maximum date.
16175
16269
  */
16176
16270
  maxDate: PropTypes__default["default"].instanceOf(Date)
16177
16271
  };
@@ -16216,49 +16310,49 @@
16216
16310
  };
16217
16311
  TimePicker.displayName = 'TimePicker';
16218
16312
  TimePicker.propTypes = {
16219
- /**
16220
- Additional styles.
16313
+ /**
16314
+ Additional styles.
16221
16315
  */
16222
16316
  css: PropTypes__default["default"].object,
16223
16317
 
16224
- /**
16225
- Resize time picker.
16318
+ /**
16319
+ Resize time picker.
16226
16320
  */
16227
16321
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16228
16322
 
16229
- /**
16230
- Change handler.
16323
+ /**
16324
+ Change handler.
16231
16325
  */
16232
16326
  onChange: PropTypes__default["default"].func,
16233
16327
 
16234
- /**
16235
- Time picker default value, support moment format.
16328
+ /**
16329
+ Time picker default value, support moment format.
16236
16330
  */
16237
16331
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16238
16332
 
16239
- /**
16240
- Time picker value, support moment format.
16333
+ /**
16334
+ Time picker value, support moment format.
16241
16335
  */
16242
16336
  value: PropTypes__default["default"].instanceOf(Date),
16243
16337
 
16244
- /**
16245
- Disabled state.
16338
+ /**
16339
+ Disabled state.
16246
16340
  */
16247
16341
  disabled: PropTypes__default["default"].bool,
16248
16342
 
16249
- /**
16250
- Specify the minimum date.
16343
+ /**
16344
+ Specify the minimum date.
16251
16345
  */
16252
16346
  minDate: PropTypes__default["default"].instanceOf(Date),
16253
16347
 
16254
- /**
16255
- Specify the maximum date.
16348
+ /**
16349
+ Specify the maximum date.
16256
16350
  */
16257
16351
  maxDate: PropTypes__default["default"].instanceOf(Date)
16258
16352
  };
16259
16353
  NativeTimePicker.displayName = 'NativeTimePicker';
16260
16354
 
16261
- var _jsxFileName$j = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\datePicker\\timePicker\\InputTimePicker.js";
16355
+ var _jsxFileName$j = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/datePicker/timePicker/InputTimePicker.js";
16262
16356
 
16263
16357
  const getInputPickerValue$1 = date => {
16264
16358
  if (!date) return;
@@ -16434,63 +16528,63 @@
16434
16528
  placeholder: 'Select Time'
16435
16529
  };
16436
16530
  InputTimePicker.propTypes = {
16437
- /**
16438
- Additional styles.
16531
+ /**
16532
+ Additional styles.
16439
16533
  */
16440
16534
  css: PropTypes__default["default"].object,
16441
16535
 
16442
- /**
16443
- Disabled state.
16536
+ /**
16537
+ Disabled state.
16444
16538
  */
16445
16539
  disabled: PropTypes__default["default"].bool,
16446
16540
 
16447
- /**
16448
- ReadOnly state.
16541
+ /**
16542
+ ReadOnly state.
16449
16543
  */
16450
16544
  readOnly: PropTypes__default["default"].bool,
16451
16545
 
16452
- /**
16453
- Resize time picker.
16546
+ /**
16547
+ Resize time picker.
16454
16548
  */
16455
16549
  size: PropTypes__default["default"].oneOf(['sm', 'lg']),
16456
16550
 
16457
- /**
16458
- Custom placeholder input time picker.
16551
+ /**
16552
+ Custom placeholder input time picker.
16459
16553
  */
16460
16554
  placeholder: PropTypes__default["default"].string,
16461
16555
 
16462
- /**
16463
- Time picker default value, support moment format.
16556
+ /**
16557
+ Time picker default value, support moment format.
16464
16558
  */
16465
16559
  defaultValue: PropTypes__default["default"].instanceOf(Date),
16466
16560
 
16467
- /**
16468
- Time picker value, support moment format.
16561
+ /**
16562
+ Time picker value, support moment format.
16469
16563
  */
16470
16564
  value: PropTypes__default["default"].instanceOf(Date),
16471
16565
 
16472
- /**
16473
- Change handler.
16566
+ /**
16567
+ Change handler.
16474
16568
  */
16475
16569
  onChange: PropTypes__default["default"].func,
16476
16570
 
16477
- /**
16478
- Placement popover input time picker.
16571
+ /**
16572
+ Placement popover input time picker.
16479
16573
  */
16480
16574
  placement: PropTypes__default["default"].string,
16481
16575
 
16482
- /**
16483
- Specify the minimum date.
16576
+ /**
16577
+ Specify the minimum date.
16484
16578
  */
16485
16579
  minDate: PropTypes__default["default"].instanceOf(Date),
16486
16580
 
16487
- /**
16488
- Specify the maximum date.
16581
+ /**
16582
+ Specify the maximum date.
16489
16583
  */
16490
16584
  maxDate: PropTypes__default["default"].instanceOf(Date),
16491
16585
 
16492
- /**
16493
- * Invalid state input.
16586
+ /**
16587
+ * Invalid state input.
16494
16588
  */
16495
16589
  isInvalid: PropTypes__default["default"].bool
16496
16590
  };
@@ -17055,7 +17149,7 @@
17055
17149
  };
17056
17150
 
17057
17151
  const _excluded$4 = ["isActive", "onClick"];
17058
- var _jsxFileName$i = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationButton.js";
17152
+ var _jsxFileName$i = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
17059
17153
  const PrevNextButton = styled(Text$1, {
17060
17154
  padding: '$spacing-01',
17061
17155
  cursor: 'pointer',
@@ -17325,7 +17419,7 @@
17325
17419
  };
17326
17420
 
17327
17421
  const _excluded$3 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
17328
- var _jsxFileName$h = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\PaginationInfo.js";
17422
+ var _jsxFileName$h = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
17329
17423
  const LimitContainer = styled(Flex$1, {
17330
17424
  cursor: 'pointer'
17331
17425
  });
@@ -17431,7 +17525,7 @@
17431
17525
  lineNumber: 40,
17432
17526
  columnNumber: 11
17433
17527
  }
17434
- }, limits === null || limits === void 0 ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
17528
+ }, limits == null ? void 0 : limits.map(limit => /*#__PURE__*/React__default["default"].createElement(PopoverClose, {
17435
17529
  key: limit,
17436
17530
  css: limitItemContainerStyle(selectedLimit === limit),
17437
17531
  onClick: () => onChange(limit),
@@ -17462,7 +17556,7 @@
17462
17556
  }
17463
17557
 
17464
17558
  const _excluded$2 = ["limit", "currentPage", "totalData", "hideDataInfo", "onLimitChange", "onPageChange", "rowsPerPageOptions"];
17465
- var _jsxFileName$g = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\pagination\\Pagination.js";
17559
+ var _jsxFileName$g = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/pagination/Pagination.js";
17466
17560
 
17467
17561
  function Pagination(_ref) {
17468
17562
  let {
@@ -18086,7 +18180,7 @@
18086
18180
  return {};
18087
18181
  };
18088
18182
 
18089
- var stickyShadowStyling = function stickyShadowStyling(column, tableScrollPosition) {
18183
+ var stickyShadowStyling = function stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth) {
18090
18184
  var cssAfter = {
18091
18185
  position: 'absolute',
18092
18186
  top: 0,
@@ -18102,12 +18196,12 @@
18102
18196
  return column.sticky === 'left' ? {
18103
18197
  '&::after': __assign(__assign({}, cssAfter), {
18104
18198
  right: 0,
18105
- boxShadow: tableScrollPosition === 'start' ? 'none' : 'inset 10px 0 10px -10px #00000026'
18199
+ boxShadow: tableScrollPosition === 'start' || scrollAreaWidth <= 0 ? 'none' : 'inset 10px 0 10px -10px #00000026'
18106
18200
  })
18107
18201
  } : {
18108
18202
  '&::after': __assign(__assign({}, cssAfter), {
18109
18203
  left: 0,
18110
- boxShadow: tableScrollPosition === 'end' ? 'none' : 'inset -10px 0 10px -10px #00000026'
18204
+ boxShadow: tableScrollPosition === 'end' || scrollAreaWidth <= 0 ? 'none' : 'inset -10px 0 10px -10px #00000026'
18111
18205
  })
18112
18206
  };
18113
18207
  }
@@ -18361,7 +18455,7 @@
18361
18455
  if (scrollerRef && scrollerRef.current) {
18362
18456
  setScrollAreaWidth(scrollerRef.current.scrollWidth - scrollerRef.current.clientWidth);
18363
18457
  }
18364
- }, [scrollerRef]);
18458
+ }, [scrollerRef, visibleColumns]);
18365
18459
  React.useEffect(function () {
18366
18460
  if (hiddenColumns) setHiddenColumns(hiddenColumns);
18367
18461
  }, [hiddenColumns]);
@@ -18462,7 +18556,7 @@
18462
18556
  }
18463
18557
  }];
18464
18558
  }), {
18465
- css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition))
18559
+ css: __assign(__assign({}, stickyPositionStyling(column)), stickyShadowStyling(column, tableScrollPosition, scrollAreaWidth))
18466
18560
  }, {
18467
18561
  children: typeof headerRender === 'string' ? jsxRuntime.jsx(TableHeaderCellContainer, __assign({
18468
18562
  isSortedDesc: column.isSortedDesc,
@@ -18525,7 +18619,7 @@
18525
18619
  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' : '',
18526
18620
  verticalAlign: cell.column.accessor ? cellAlign : 'center',
18527
18621
  cursor: onRowClick ? 'pointer' : 'unset'
18528
- }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition)),
18622
+ }, stickyPositionStyling(cell.column)), stickyShadowStyling(cell.column, tableScrollPosition, scrollAreaWidth)),
18529
18623
  onClick: function () {
18530
18624
  return handleRowClick(row, i);
18531
18625
  }
@@ -18647,7 +18741,7 @@
18647
18741
  return jsxRuntime.jsx("div", {}, void 0);
18648
18742
  };
18649
18743
 
18650
- var _jsxFileName$f = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\DateColumn.js";
18744
+ var _jsxFileName$f = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
18651
18745
 
18652
18746
  const DateColumn = ({
18653
18747
  value,
@@ -18683,12 +18777,11 @@
18683
18777
  // https://tc39.es/ecma262/#sec-thisnumbervalue
18684
18778
  var thisNumberValue$1 = uncurryThis$9(1.0.valueOf);
18685
18779
 
18686
- var global$7 = global$U;
18687
18780
  var toIntegerOrInfinity$3 = toIntegerOrInfinity$6;
18688
18781
  var toString$7 = toString$h;
18689
18782
  var requireObjectCoercible$3 = requireObjectCoercible$a;
18690
18783
 
18691
- var RangeError$2 = global$7.RangeError;
18784
+ var $RangeError$2 = RangeError;
18692
18785
 
18693
18786
  // `String.prototype.repeat` method implementation
18694
18787
  // https://tc39.es/ecma262/#sec-string.prototype.repeat
@@ -18696,21 +18789,20 @@
18696
18789
  var str = toString$7(requireObjectCoercible$3(this));
18697
18790
  var result = '';
18698
18791
  var n = toIntegerOrInfinity$3(count);
18699
- if (n < 0 || n == Infinity) throw RangeError$2('Wrong number of repetitions');
18792
+ if (n < 0 || n == Infinity) throw $RangeError$2('Wrong number of repetitions');
18700
18793
  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) result += str;
18701
18794
  return result;
18702
18795
  };
18703
18796
 
18704
18797
  var $$6 = _export;
18705
- var global$6 = global$U;
18706
18798
  var uncurryThis$8 = functionUncurryThis;
18707
18799
  var toIntegerOrInfinity$2 = toIntegerOrInfinity$6;
18708
18800
  var thisNumberValue = thisNumberValue$1;
18709
18801
  var $repeat = stringRepeat;
18710
18802
  var fails$5 = fails$t;
18711
18803
 
18712
- var RangeError$1 = global$6.RangeError;
18713
- var String$1 = global$6.String;
18804
+ var $RangeError$1 = RangeError;
18805
+ var $String = String;
18714
18806
  var floor$3 = Math.floor;
18715
18807
  var repeat = uncurryThis$8($repeat);
18716
18808
  var stringSlice$6 = uncurryThis$8(''.slice);
@@ -18758,7 +18850,7 @@
18758
18850
  var s = '';
18759
18851
  while (--index >= 0) {
18760
18852
  if (s !== '' || index === 0 || data[index] !== 0) {
18761
- var t = String$1(data[index]);
18853
+ var t = $String(data[index]);
18762
18854
  s = s === '' ? t : s + repeat('0', 7 - t.length) + t;
18763
18855
  }
18764
18856
  } return s;
@@ -18786,10 +18878,10 @@
18786
18878
  var e, z, j, k;
18787
18879
 
18788
18880
  // TODO: ES2018 increased the maximum number of fraction digits to 100, need to improve the implementation
18789
- if (fractDigits < 0 || fractDigits > 20) throw RangeError$1('Incorrect fraction digits');
18881
+ if (fractDigits < 0 || fractDigits > 20) throw $RangeError$1('Incorrect fraction digits');
18790
18882
  // eslint-disable-next-line no-self-compare -- NaN check
18791
18883
  if (number != number) return 'NaN';
18792
- if (number <= -1e21 || number >= 1e21) return String$1(number);
18884
+ if (number <= -1e21 || number >= 1e21) return $String(number);
18793
18885
  if (number < 0) {
18794
18886
  sign = '-';
18795
18887
  number = -number;
@@ -18833,7 +18925,7 @@
18833
18925
  }
18834
18926
  });
18835
18927
 
18836
- var global$5 = global$U;
18928
+ var global$3 = global$s;
18837
18929
  var fails$4 = fails$t;
18838
18930
  var uncurryThis$7 = functionUncurryThis;
18839
18931
  var toString$6 = toString$h;
@@ -18841,8 +18933,8 @@
18841
18933
  var whitespaces$1 = whitespaces$4;
18842
18934
 
18843
18935
  var charAt$6 = uncurryThis$7(''.charAt);
18844
- var n$ParseFloat = global$5.parseFloat;
18845
- var Symbol$5 = global$5.Symbol;
18936
+ var n$ParseFloat = global$3.parseFloat;
18937
+ var Symbol$5 = global$3.Symbol;
18846
18938
  var ITERATOR$2 = Symbol$5 && Symbol$5.iterator;
18847
18939
  var FORCED = 1 / n$ParseFloat(whitespaces$1 + '-0') !== -Infinity
18848
18940
  // MS Edge 18- broken with boxed symbols
@@ -19331,7 +19423,7 @@
19331
19423
  return addThousandSeparator(param);
19332
19424
  };
19333
19425
 
19334
- var _jsxFileName$e = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowExpanderColumn.js";
19426
+ var _jsxFileName$e = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
19335
19427
  const rowExpanderColumn = {
19336
19428
  id: 'expander',
19337
19429
  Header: () => null,
@@ -19373,7 +19465,7 @@
19373
19465
  unsortable: true
19374
19466
  };
19375
19467
 
19376
- var _jsxFileName$d = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowMenuColumn.js";
19468
+ var _jsxFileName$d = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
19377
19469
 
19378
19470
  const rowMenuColumn = (options, icon, config) => ({
19379
19471
  id: 'menu',
@@ -19625,7 +19717,7 @@
19625
19717
  unsortable: true
19626
19718
  });
19627
19719
 
19628
- var _jsxFileName$c = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\table\\components\\columns\\RowSelectionColumn.js";
19720
+ var _jsxFileName$c = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
19629
19721
  const rowSelectionColumn = {
19630
19722
  id: 'selection',
19631
19723
  Header: ({
@@ -19930,7 +20022,7 @@
19930
20022
  };
19931
20023
 
19932
20024
  const _excluded$1 = ["children"];
19933
- var _jsxFileName$b = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\alertDialog\\AlertDialog.js";
20025
+ var _jsxFileName$b = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/alertDialog/AlertDialog.js";
19934
20026
  const overlayShow = keyframes({
19935
20027
  '0%': {
19936
20028
  opacity: 0
@@ -20102,7 +20194,7 @@
20102
20194
  if (!props.onOpenAutoFocus) {
20103
20195
  e.preventDefault();
20104
20196
  } else {
20105
- props === null || props === void 0 ? void 0 : props.onOpenAutoFocus();
20197
+ props == null ? void 0 : props.onOpenAutoFocus();
20106
20198
  }
20107
20199
  },
20108
20200
  __self: undefined,
@@ -20223,8 +20315,8 @@
20223
20315
  size: "sm",
20224
20316
  onClick: buttonConfirm,
20225
20317
  buttonType: props.dialogType,
20226
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20227
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20318
+ disabled: props == null ? void 0 : props.disabledButton
20319
+ }, props == null ? void 0 : props.actionButtonProps, {
20228
20320
  __self: undefined,
20229
20321
  __source: {
20230
20322
  fileName: _jsxFileName$b,
@@ -20243,12 +20335,12 @@
20243
20335
  size: "sm",
20244
20336
  onClick: buttonCancel,
20245
20337
  css: {
20246
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20338
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20247
20339
  flex: props.isMobile && 1
20248
20340
  },
20249
20341
  buttonType: "ghost",
20250
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20251
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20342
+ disabled: props == null ? void 0 : props.disabledButton
20343
+ }, props == null ? void 0 : props.cancelButtonProps, {
20252
20344
  __self: undefined,
20253
20345
  __source: {
20254
20346
  fileName: _jsxFileName$b,
@@ -20270,8 +20362,8 @@
20270
20362
  css: {
20271
20363
  flex: props.isMobile && 1
20272
20364
  },
20273
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20274
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20365
+ disabled: props == null ? void 0 : props.disabledButton
20366
+ }, props == null ? void 0 : props.actionButtonProps, {
20275
20367
  __self: undefined,
20276
20368
  __source: {
20277
20369
  fileName: _jsxFileName$b,
@@ -20431,8 +20523,8 @@
20431
20523
  css: {
20432
20524
  flex: props.isMobile && 1
20433
20525
  },
20434
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20435
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20526
+ disabled: props == null ? void 0 : props.disabledButton
20527
+ }, props == null ? void 0 : props.actionButtonProps, {
20436
20528
  __self: this,
20437
20529
  __source: {
20438
20530
  fileName: _jsxFileName$b,
@@ -20451,12 +20543,12 @@
20451
20543
  size: "sm",
20452
20544
  onClick: props.onCancel,
20453
20545
  css: {
20454
- color: props.dialogType === 'negative' && !(props !== null && props !== void 0 && props.disabledButton) && '$gray900 !important',
20546
+ color: props.dialogType === 'negative' && !(props != null && props.disabledButton) && '$gray900 !important',
20455
20547
  flex: props.isMobile && 1
20456
20548
  },
20457
20549
  buttonType: "ghost",
20458
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20459
- }, props === null || props === void 0 ? void 0 : props.cancelButtonProps, {
20550
+ disabled: props == null ? void 0 : props.disabledButton
20551
+ }, props == null ? void 0 : props.cancelButtonProps, {
20460
20552
  __self: this,
20461
20553
  __source: {
20462
20554
  fileName: _jsxFileName$b,
@@ -20478,8 +20570,8 @@
20478
20570
  css: {
20479
20571
  flex: props.isMobile && 1
20480
20572
  },
20481
- disabled: props === null || props === void 0 ? void 0 : props.disabledButton
20482
- }, props === null || props === void 0 ? void 0 : props.actionButtonProps, {
20573
+ disabled: props == null ? void 0 : props.disabledButton
20574
+ }, props == null ? void 0 : props.actionButtonProps, {
20483
20575
  __self: this,
20484
20576
  __source: {
20485
20577
  fileName: _jsxFileName$b,
@@ -20529,7 +20621,7 @@
20529
20621
  const AlertDialogConfirm = ADialog__namespace.Action;
20530
20622
 
20531
20623
  const _excluded = ["side", "align", "children"];
20532
- var _jsxFileName$a = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\dropdownMenu\\DropdownMenu.js";
20624
+ var _jsxFileName$a = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/dropdownMenu/DropdownMenu.js";
20533
20625
  const Context = /*#__PURE__*/React__default["default"].createContext();
20534
20626
  const slideUpAndFade = keyframes({
20535
20627
  '0%': {
@@ -20866,7 +20958,6 @@
20866
20958
  }
20867
20959
  };
20868
20960
 
20869
- var global$4 = global$U;
20870
20961
  var bind$2 = functionBindContext;
20871
20962
  var call$2 = functionCall;
20872
20963
  var toObject = toObject$7;
@@ -20878,7 +20969,7 @@
20878
20969
  var getIterator$1 = getIterator$3;
20879
20970
  var getIteratorMethod$1 = getIteratorMethod$4;
20880
20971
 
20881
- var Array$1 = global$4.Array;
20972
+ var $Array = Array;
20882
20973
 
20883
20974
  // `Array.from` method implementation
20884
20975
  // https://tc39.es/ecma262/#sec-array.from
@@ -20893,7 +20984,7 @@
20893
20984
  var index = 0;
20894
20985
  var length, result, step, iterator, next, value;
20895
20986
  // if the target is not iterable or it's an array with the default iterator - use a simple case
20896
- if (iteratorMethod && !(this == Array$1 && isArrayIteratorMethod(iteratorMethod))) {
20987
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
20897
20988
  iterator = getIterator$1(O, iteratorMethod);
20898
20989
  next = iterator.next;
20899
20990
  result = IS_CONSTRUCTOR ? new this() : [];
@@ -20903,7 +20994,7 @@
20903
20994
  }
20904
20995
  } else {
20905
20996
  length = lengthOfArrayLike(O);
20906
- result = IS_CONSTRUCTOR ? new this(length) : Array$1(length);
20997
+ result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
20907
20998
  for (;length > index; index++) {
20908
20999
  value = mapping ? mapfn(O[index], index) : O[index];
20909
21000
  createProperty(result, index, value);
@@ -20914,7 +21005,6 @@
20914
21005
  };
20915
21006
 
20916
21007
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
20917
- var global$3 = global$U;
20918
21008
  var uncurryThis$2 = functionUncurryThis;
20919
21009
 
20920
21010
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -20931,7 +21021,7 @@
20931
21021
  var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
20932
21022
  var baseMinusTMin = base - tMin;
20933
21023
 
20934
- var RangeError = global$3.RangeError;
21024
+ var $RangeError = RangeError;
20935
21025
  var exec$1 = uncurryThis$2(regexSeparators.exec);
20936
21026
  var floor$1 = Math.floor;
20937
21027
  var fromCharCode = String.fromCharCode;
@@ -21046,7 +21136,7 @@
21046
21136
  // Increase `delta` enough to advance the decoder's <n,i> state to <m,0>, but guard against overflow.
21047
21137
  var handledCPCountPlusOne = handledCPCount + 1;
21048
21138
  if (m - n > floor$1((maxInt - delta) / handledCPCountPlusOne)) {
21049
- throw RangeError(OVERFLOW_ERROR);
21139
+ throw $RangeError(OVERFLOW_ERROR);
21050
21140
  }
21051
21141
 
21052
21142
  delta += (m - n) * handledCPCountPlusOne;
@@ -21055,7 +21145,7 @@
21055
21145
  for (i = 0; i < input.length; i++) {
21056
21146
  currentValue = input[i];
21057
21147
  if (currentValue < n && ++delta > maxInt) {
21058
- throw RangeError(OVERFLOW_ERROR);
21148
+ throw $RangeError(OVERFLOW_ERROR);
21059
21149
  }
21060
21150
  if (currentValue == n) {
21061
21151
  // Represent delta as a generalized variable-length integer.
@@ -21105,7 +21195,7 @@
21105
21195
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
21106
21196
 
21107
21197
  var $$4 = _export;
21108
- var global$2 = global$U;
21198
+ var global$2 = global$s;
21109
21199
  var call$1 = functionCall;
21110
21200
  var uncurryThis$1 = functionUncurryThis;
21111
21201
  var DESCRIPTORS$1 = descriptors;
@@ -21467,7 +21557,7 @@
21467
21557
  };
21468
21558
 
21469
21559
  if (isCallable(nativeFetch)) {
21470
- $$4({ global: true, enumerable: true, noTargetGet: true, forced: true }, {
21560
+ $$4({ global: true, enumerable: true, dontCallGetSet: true, forced: true }, {
21471
21561
  fetch: function fetch(input /* , init */) {
21472
21562
  return nativeFetch(input, arguments.length > 1 ? wrapRequestOptions(arguments[1]) : {});
21473
21563
  }
@@ -21483,7 +21573,7 @@
21483
21573
  RequestPrototype.constructor = RequestConstructor;
21484
21574
  RequestConstructor.prototype = RequestPrototype;
21485
21575
 
21486
- $$4({ global: true, constructor: true, noTargetGet: true, forced: true }, {
21576
+ $$4({ global: true, constructor: true, dontCallGetSet: true, forced: true }, {
21487
21577
  Request: RequestConstructor
21488
21578
  });
21489
21579
  }
@@ -21499,7 +21589,7 @@
21499
21589
  var $$3 = _export;
21500
21590
  var DESCRIPTORS = descriptors;
21501
21591
  var USE_NATIVE_URL = nativeUrl;
21502
- var global$1 = global$U;
21592
+ var global$1 = global$s;
21503
21593
  var bind = functionBindContext;
21504
21594
  var uncurryThis = functionUncurryThis;
21505
21595
  var defineBuiltIn = defineBuiltIn$b;
@@ -22677,7 +22767,7 @@
22677
22767
  return promise;
22678
22768
  }
22679
22769
 
22680
- var _jsxFileName$9 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\upload\\Upload.js";
22770
+ var _jsxFileName$9 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/upload/Upload.js";
22681
22771
  const Input$2 = styled('input', {
22682
22772
  display: 'none !important'
22683
22773
  });
@@ -22995,7 +23085,7 @@
22995
23085
  upload({
22996
23086
  url: action,
22997
23087
  file: newFile,
22998
- customBody: customBodyRequest === null || customBodyRequest === void 0 ? void 0 : customBodyRequest(newFile),
23088
+ customBody: customBodyRequest == null ? void 0 : customBodyRequest(newFile),
22999
23089
  token,
23000
23090
  tokenKey,
23001
23091
  reqKey,
@@ -23018,12 +23108,12 @@
23018
23108
  }
23019
23109
  }
23020
23110
 
23021
- onChange === null || onChange === void 0 ? void 0 : (_onChange = onChange({
23111
+ onChange == null ? void 0 : (_onChange = onChange({
23022
23112
  fileList: arrProgress,
23023
23113
  file: fileProgress,
23024
23114
  indexReplace: indexReplace.current,
23025
23115
  isReplace: indexReplace.current !== null
23026
- })) === 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));
23116
+ })) == null ? void 0 : (_onChange$then = _onChange.then(() => setError(null))) == null ? void 0 : _onChange$then.catch(error => setError(error.message));
23027
23117
  }
23028
23118
  }).then(result => {
23029
23119
  var _onChange2, _onChange2$then;
@@ -23040,12 +23130,12 @@
23040
23130
  }
23041
23131
  }
23042
23132
 
23043
- onChange === null || onChange === void 0 ? void 0 : (_onChange2 = onChange({
23133
+ onChange == null ? void 0 : (_onChange2 = onChange({
23044
23134
  fileList: arrSuccess,
23045
23135
  file: fileSuccess,
23046
23136
  indexReplace: indexReplace.current,
23047
23137
  isReplace: indexReplace.current !== null
23048
- })) === 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));
23138
+ })) == null ? void 0 : (_onChange2$then = _onChange2.then(() => setError(null))) == null ? void 0 : _onChange2$then.catch(error => setError(error.message));
23049
23139
  }).catch(error => {
23050
23140
  var _onChange3, _onChange3$then;
23051
23141
 
@@ -23061,22 +23151,22 @@
23061
23151
  }
23062
23152
  }
23063
23153
 
23064
- onChange === null || onChange === void 0 ? void 0 : (_onChange3 = onChange({
23154
+ onChange == null ? void 0 : (_onChange3 = onChange({
23065
23155
  fileList: arrError,
23066
23156
  file: fileError,
23067
23157
  indexReplace: indexReplace.current,
23068
23158
  isReplace: indexReplace.current !== null
23069
- })) === 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));
23159
+ })) == null ? void 0 : (_onChange3$then = _onChange3.then(() => setError(null))) == null ? void 0 : _onChange3$then.catch(error => setError(error.message));
23070
23160
  });
23071
23161
  } else {
23072
23162
  var _onChange4, _onChange4$then;
23073
23163
 
23074
- onChange === null || onChange === void 0 ? void 0 : (_onChange4 = onChange({
23164
+ onChange == null ? void 0 : (_onChange4 = onChange({
23075
23165
  fileList: arrFile,
23076
23166
  file: newFile,
23077
23167
  indexReplace: indexReplace.current,
23078
23168
  isReplace: indexReplace.current !== null
23079
- })) === 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));
23169
+ })) == null ? void 0 : (_onChange4$then = _onChange4.then(() => setError(null))) == null ? void 0 : _onChange4$then.catch(error => setError(error.message));
23080
23170
  }
23081
23171
 
23082
23172
  if (indexReplace.current !== null) {
@@ -23101,24 +23191,24 @@
23101
23191
  // program to get the dimensions of an image
23102
23192
  const img = document.createElement('img');
23103
23193
  img.src = URL.createObjectURL(files[0]);
23104
- img.size = files === null || files === void 0 ? void 0 : (_files$ = files[0]) === null || _files$ === void 0 ? void 0 : _files$.size;
23105
- img.type = files === null || files === void 0 ? void 0 : (_files$2 = files[0]) === null || _files$2 === void 0 ? void 0 : _files$2.type;
23194
+ img.size = files == null ? void 0 : (_files$ = files[0]) == null ? void 0 : _files$.size;
23195
+ img.type = files == null ? void 0 : (_files$2 = files[0]) == null ? void 0 : _files$2.type;
23106
23196
 
23107
23197
  img.onload = () => {
23108
23198
  var _onBeforeCrop, _onBeforeCrop$then;
23109
23199
 
23110
- onBeforeCrop === null || onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) === null || _onBeforeCrop === void 0 ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
23200
+ onBeforeCrop == null ? void 0 : (_onBeforeCrop = onBeforeCrop(img)) == null ? void 0 : (_onBeforeCrop$then = _onBeforeCrop.then(() => {
23111
23201
  setError(null);
23112
23202
  toggleModal();
23113
23203
  setFileState(files[0]);
23114
23204
  setPreviewImage(URL.createObjectURL(files[0]));
23115
- })) === null || _onBeforeCrop$then === void 0 ? void 0 : _onBeforeCrop$then.catch(error => setError(error === null || error === void 0 ? void 0 : error.message));
23205
+ })) == null ? void 0 : _onBeforeCrop$then.catch(error => setError(error == null ? void 0 : error.message));
23116
23206
  };
23117
23207
 
23118
23208
  img.onerror = error => {
23119
23209
  var _onBeforeCrop2, _onBeforeCrop2$then;
23120
23210
 
23121
- 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));
23211
+ 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));
23122
23212
  };
23123
23213
  } else {
23124
23214
  toggleModal();
@@ -23130,15 +23220,15 @@
23130
23220
  }
23131
23221
 
23132
23222
  function handleCrop() {
23133
- if (completedCrop !== null && completedCrop !== void 0 && completedCrop.width && completedCrop !== null && completedCrop !== void 0 && completedCrop.height && imgRef.current) {
23223
+ if (completedCrop != null && completedCrop.width && completedCrop != null && completedCrop.height && imgRef.current) {
23134
23224
  imgPreview(imgRef.current, completedCrop, 1, 0, ratio).then(blob => {
23135
- const sizeMB = (blob === null || blob === void 0 ? void 0 : blob.size) / 1024 / 1024;
23225
+ const sizeMB = (blob == null ? void 0 : blob.size) / 1024 / 1024;
23136
23226
 
23137
23227
  if (sizeMB < maxSizeMB || sizeMB < 1 || !imageCompression) {
23138
23228
  var _fileState$name;
23139
23229
 
23140
- 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', {
23141
- type: blob === null || blob === void 0 ? void 0 : blob.type
23230
+ const file = new File([blob], (fileState == null ? void 0 : (_fileState$name = fileState.name) == null ? void 0 : _fileState$name.replace(/\.[^/.]+$/, '')) + '.png', {
23231
+ type: blob == null ? void 0 : blob.type
23142
23232
  });
23143
23233
  handleUpload([file]);
23144
23234
  setCrop(null);
@@ -23153,17 +23243,17 @@
23153
23243
  }).then(compressedFile => {
23154
23244
  var _fileState$name2;
23155
23245
 
23156
- 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', {
23157
- type: compressedFile === null || compressedFile === void 0 ? void 0 : compressedFile.type
23246
+ const file = new File([compressedFile], (fileState == null ? void 0 : (_fileState$name2 = fileState.name) == null ? void 0 : _fileState$name2.replace(/\.[^/.]+$/, '')) + '.png', {
23247
+ type: compressedFile == null ? void 0 : compressedFile.type
23158
23248
  });
23159
23249
  handleUpload([file]);
23160
23250
  setCrop(null);
23161
23251
  setCompletedCrop(null);
23162
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
23252
+ }).catch(error => console.error(error == null ? void 0 : error.message));
23163
23253
  }
23164
23254
 
23165
23255
  toggleModal();
23166
- }).catch(error => console.error(error === null || error === void 0 ? void 0 : error.message));
23256
+ }).catch(error => console.error(error == null ? void 0 : error.message));
23167
23257
  } else {
23168
23258
  handleUpload([fileState]);
23169
23259
  toggleModal();
@@ -23194,7 +23284,7 @@
23194
23284
  const index = fileList.indexOf(file);
23195
23285
  const newFileList = fileList.slice();
23196
23286
  newFileList.splice(index, 1);
23197
- onChange === null || onChange === void 0 ? void 0 : onChange({
23287
+ onChange == null ? void 0 : onChange({
23198
23288
  fileList: newFileList,
23199
23289
  file
23200
23290
  });
@@ -23222,22 +23312,22 @@
23222
23312
  function handleOpenFile(file) {
23223
23313
  var _String, _file$name;
23224
23314
 
23225
- 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();
23315
+ let extension = (_String = String(file == null ? void 0 : (_file$name = file.name) == null ? void 0 : _file$name.split('.').pop())) == null ? void 0 : _String.toLowerCase();
23226
23316
 
23227
23317
  if (extension === 'pdf') {
23228
- window.open(file === null || file === void 0 ? void 0 : file.url);
23318
+ window.open(file == null ? void 0 : file.url);
23229
23319
  } else {
23230
- request__default["default"].get(file === null || file === void 0 ? void 0 : file.url).end((err, res) => {
23320
+ request__default["default"].get(file == null ? void 0 : file.url).end((err, res) => {
23231
23321
  if (err) {
23232
23322
  console.error(err.message);
23233
23323
  }
23234
23324
 
23235
- if (res && res !== null && res !== void 0 && res.ok) {
23236
- const response = res === null || res === void 0 ? void 0 : res.text;
23325
+ if (res && res != null && res.ok) {
23326
+ const response = res == null ? void 0 : res.text;
23237
23327
  const url = window.URL.createObjectURL(new Blob([response]));
23238
23328
  const link = document.createElement('a');
23239
23329
  link.href = url;
23240
- link.setAttribute('download', file === null || file === void 0 ? void 0 : file.name);
23330
+ link.setAttribute('download', file == null ? void 0 : file.name);
23241
23331
  document.body.appendChild(link);
23242
23332
  link.click();
23243
23333
  document.body.removeChild(link);
@@ -23307,12 +23397,12 @@
23307
23397
  }
23308
23398
 
23309
23399
  const renderPicture = () => {
23310
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
23311
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23400
+ return fileList == null ? void 0 : fileList.map((item, index) => {
23401
+ if ((item == null ? void 0 : item.status) === 'uploading') {
23312
23402
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
23313
23403
  key: index,
23314
- progress: item === null || item === void 0 ? void 0 : item.percent,
23315
- loading: item === null || item === void 0 ? void 0 : item.loading,
23404
+ progress: item == null ? void 0 : item.percent,
23405
+ loading: item == null ? void 0 : item.loading,
23316
23406
  __self: undefined,
23317
23407
  __source: {
23318
23408
  fileName: _jsxFileName$9,
@@ -23387,14 +23477,14 @@
23387
23477
  };
23388
23478
 
23389
23479
  const renderFile = () => {
23390
- return fileList === null || fileList === void 0 ? void 0 : fileList.map((item, index) => {
23480
+ return fileList == null ? void 0 : fileList.map((item, index) => {
23391
23481
  var _item$name;
23392
23482
 
23393
- if ((item === null || item === void 0 ? void 0 : item.status) === 'uploading') {
23483
+ if ((item == null ? void 0 : item.status) === 'uploading') {
23394
23484
  return /*#__PURE__*/React__default["default"].createElement(UploadProgress, {
23395
23485
  key: index,
23396
- progress: item === null || item === void 0 ? void 0 : item.percent,
23397
- loading: item === null || item === void 0 ? void 0 : item.loading,
23486
+ progress: item == null ? void 0 : item.percent,
23487
+ loading: item == null ? void 0 : item.loading,
23398
23488
  __self: undefined,
23399
23489
  __source: {
23400
23490
  fileName: _jsxFileName$9,
@@ -23461,7 +23551,7 @@
23461
23551
  lineNumber: 661,
23462
23552
  columnNumber: 17
23463
23553
  }
23464
- }, ".", 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["default"].createElement(Tooltip$1, {
23554
+ }, ".", item == null ? void 0 : (_item$name = item.name) == null ? void 0 : _item$name.split('.').pop()), /*#__PURE__*/React__default["default"].createElement(Tooltip$1, {
23465
23555
  label: item.name,
23466
23556
  __self: undefined,
23467
23557
  __source: {
@@ -23633,7 +23723,7 @@
23633
23723
  lineNumber: 736,
23634
23724
  columnNumber: 11
23635
23725
  }
23636
- }, children !== null && children !== void 0 ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
23726
+ }, children != null ? children : /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
23637
23727
  __self: this,
23638
23728
  __source: {
23639
23729
  fileName: _jsxFileName$9,
@@ -23667,7 +23757,7 @@
23667
23757
  lineNumber: 742,
23668
23758
  columnNumber: 17
23669
23759
  }
23670
- }, placeholder !== null && placeholder !== void 0 ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
23760
+ }, placeholder != null ? placeholder : `Pilih atau letakkan berkas di sini`)))), error && /*#__PURE__*/React__default["default"].createElement(ErrorMessage, {
23671
23761
  __self: this,
23672
23762
  __source: {
23673
23763
  fileName: _jsxFileName$9,
@@ -23827,7 +23917,7 @@
23827
23917
 
23828
23918
  return /*#__PURE__*/React__default["default"].createElement(Flex$1, {
23829
23919
  direction: "row",
23830
- gap: (fileList === null || fileList === void 0 ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23920
+ gap: (fileList == null ? void 0 : fileList.length) <= 1 && max === 1 ? 0 : 3,
23831
23921
  wrap: "wrap",
23832
23922
  css: {
23833
23923
  userSelect: 'none'
@@ -23866,176 +23956,176 @@
23866
23956
  imageCompression: true
23867
23957
  };
23868
23958
  Upload.propTypes = {
23869
- /**
23870
- Placeholder label of upload.
23959
+ /**
23960
+ Placeholder label of upload.
23871
23961
  */
23872
23962
  placeholder: PropTypes__default["default"].string,
23873
23963
 
23874
- /**
23875
- Disabled state of upload.
23964
+ /**
23965
+ Disabled state of upload.
23876
23966
  */
23877
23967
  disabled: PropTypes__default["default"].bool,
23878
23968
 
23879
- /**
23880
- Built-in stylesheets, support for two types.
23969
+ /**
23970
+ Built-in stylesheets, support for two types.
23881
23971
  */
23882
23972
  listType: PropTypes__default["default"].oneOf(['file', 'picture']),
23883
23973
 
23884
- /**
23885
- Whether to support selected multiple file.
23974
+ /**
23975
+ Whether to support selected multiple file.
23886
23976
  */
23887
23977
  multiple: PropTypes__default["default"].bool,
23888
23978
 
23889
- /**
23890
- List of files to be uploaded.
23979
+ /**
23980
+ List of files to be uploaded.
23891
23981
  */
23892
23982
  fileList: PropTypes__default["default"].array,
23893
23983
 
23894
- /**
23895
- A callback function, can be executed when uploading state is changing.
23984
+ /**
23985
+ A callback function, can be executed when uploading state is changing.
23896
23986
  */
23897
23987
  onChange: PropTypes__default["default"].func,
23898
23988
 
23899
- /**
23900
- A callback function, can be executed when uploading in progress.
23901
- `(progress) => void`
23989
+ /**
23990
+ A callback function, can be executed when uploading in progress.
23991
+ `(progress) => void`
23902
23992
  */
23903
23993
  onProgress: PropTypes__default["default"].func,
23904
23994
 
23905
- /**
23906
- A callback function, can be executed when uploading is success.
23907
- `(response) => void`
23995
+ /**
23996
+ A callback function, can be executed when uploading is success.
23997
+ `(response) => void`
23908
23998
  */
23909
23999
  onSuccess: PropTypes__default["default"].func,
23910
24000
 
23911
- /**
23912
- A callback function, can be executed when uploading is error.
23913
- `(error, response) => void`
24001
+ /**
24002
+ A callback function, can be executed when uploading is error.
24003
+ `(error, response) => void`
23914
24004
  */
23915
24005
  onError: PropTypes__default["default"].func,
23916
24006
 
23917
- /**
23918
- A callback function, can be executed when preview icon in picture type is clicked.
24007
+ /**
24008
+ A callback function, can be executed when preview icon in picture type is clicked.
23919
24009
  */
23920
24010
  onPreview: PropTypes__default["default"].func,
23921
24011
 
23922
- /**
23923
- A callback function, can be executed when remove icon is clicked.
24012
+ /**
24013
+ A callback function, can be executed when remove icon is clicked.
23924
24014
  */
23925
24015
  onRemove: PropTypes__default["default"].func,
23926
24016
 
23927
- /**
23928
- A custom element inside upload container.
24017
+ /**
24018
+ A custom element inside upload container.
23929
24019
  */
23930
24020
  children: PropTypes__default["default"].element,
23931
24021
 
23932
- /**
23933
- Limit the number of uploaded files.
24022
+ /**
24023
+ Limit the number of uploaded files.
23934
24024
  */
23935
24025
  max: PropTypes__default["default"].number,
23936
24026
 
23937
- /**
23938
- Limit the maximum image size in MB.
24027
+ /**
24028
+ Limit the maximum image size in MB.
23939
24029
  */
23940
24030
  maxSizeMB: PropTypes__default["default"].number,
23941
24031
 
23942
- /**
23943
- Limit file type of upload.
24032
+ /**
24033
+ Limit file type of upload.
23944
24034
  */
23945
24035
  accept: PropTypes__default["default"].string,
23946
24036
 
23947
- /**
23948
- Custom label for replace button.
24037
+ /**
24038
+ Custom label for replace button.
23949
24039
  */
23950
24040
  replaceLabel: PropTypes__default["default"].string,
23951
24041
 
23952
- /**
23953
- Custom width of upload container.
24042
+ /**
24043
+ Custom width of upload container.
23954
24044
  */
23955
24045
  width: PropTypes__default["default"].number,
23956
24046
 
23957
- /**
23958
- Custom height of upload container.
24047
+ /**
24048
+ Custom height of upload container.
23959
24049
  */
23960
24050
  height: PropTypes__default["default"].number,
23961
24051
 
23962
- /**
23963
- Additional css.
24052
+ /**
24053
+ Additional css.
23964
24054
  */
23965
24055
  css: PropTypes__default["default"].object,
23966
24056
 
23967
- /**
23968
- Custom title header of cropper modal.
24057
+ /**
24058
+ Custom title header of cropper modal.
23969
24059
  */
23970
24060
  cropperTitle: PropTypes__default["default"].string,
23971
24061
 
23972
- /**
23973
- Add image cropper on upload.
24062
+ /**
24063
+ Add image cropper on upload.
23974
24064
  */
23975
24065
  showCropper: PropTypes__default["default"].bool,
23976
24066
 
23977
- /**
23978
- Hidden toggle aspect ratio image cropper.
24067
+ /**
24068
+ Hidden toggle aspect ratio image cropper.
23979
24069
  */
23980
24070
  hiddenToggleAspect: PropTypes__default["default"].bool,
23981
24071
 
23982
- /**
23983
- 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.
24072
+ /**
24073
+ 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.
23984
24074
  */
23985
24075
  ratio: PropTypes__default["default"].number,
23986
24076
 
23987
- /**
23988
- Can set error message to the upload.
24077
+ /**
24078
+ Can set error message to the upload.
23989
24079
  */
23990
24080
  errorMessage: PropTypes__default["default"].string,
23991
24081
 
23992
- /**
23993
- Progress of upload process.
24082
+ /**
24083
+ Progress of upload process.
23994
24084
  */
23995
24085
  progress: PropTypes__default["default"].number,
23996
24086
 
23997
- /**
23998
- Auto increment progress of upload process.
24087
+ /**
24088
+ Auto increment progress of upload process.
23999
24089
  */
24000
24090
  loading: PropTypes__default["default"].bool,
24001
24091
 
24002
- /**
24003
- API upload url, allows components to automatically upload directly to API service.
24092
+ /**
24093
+ API upload url, allows components to automatically upload directly to API service.
24004
24094
  */
24005
24095
  action: PropTypes__default["default"].string,
24006
24096
 
24007
- /**
24008
- Custom body request to upload action.
24097
+ /**
24098
+ Custom body request to upload action.
24009
24099
  */
24010
24100
  customBodyRequest: PropTypes__default["default"].func,
24011
24101
 
24012
- /**
24013
- Contains an authentication token for upload API.
24102
+ /**
24103
+ Contains an authentication token for upload API.
24014
24104
  */
24015
24105
  token: PropTypes__default["default"].string,
24016
24106
 
24017
- /**
24018
- Referencing the headers key to attach the token.
24107
+ /**
24108
+ Referencing the headers key to attach the token.
24019
24109
  */
24020
24110
  tokenKey: PropTypes__default["default"].string,
24021
24111
 
24022
- /**
24023
- Referencing the key to attach the file to be sent.
24112
+ /**
24113
+ Referencing the key to attach the file to be sent.
24024
24114
  */
24025
24115
  reqKey: PropTypes__default["default"].string,
24026
24116
 
24027
- /**
24028
- Referencing the key to get the file from the API response.
24117
+ /**
24118
+ Referencing the key to get the file from the API response.
24029
24119
  */
24030
24120
  resKey: PropTypes__default["default"].string,
24031
24121
 
24032
- /**
24033
- To compression image if file size > 1MB.
24122
+ /**
24123
+ To compression image if file size > 1MB.
24034
24124
  */
24035
24125
  imageCompression: PropTypes__default["default"].bool,
24036
24126
 
24037
- /**
24038
- Callback to handle before crop image.
24127
+ /**
24128
+ Callback to handle before crop image.
24039
24129
  */
24040
24130
  onBeforeCrop: PropTypes__default["default"].func
24041
24131
  };
@@ -24675,7 +24765,7 @@
24675
24765
 
24676
24766
  Device.displayName = 'DevicePreview';
24677
24767
 
24678
- var _jsxFileName$8 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\InputColorPicker.js";
24768
+ var _jsxFileName$8 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/InputColorPicker.js";
24679
24769
  const Separator$1 = styled('div', {
24680
24770
  height: 20,
24681
24771
  width: 1,
@@ -24687,10 +24777,10 @@
24687
24777
  const [isPopover, setIsPopover] = React.useState(false);
24688
24778
 
24689
24779
  function getColor() {
24690
- const color = props === null || props === void 0 ? void 0 : props.color;
24780
+ const color = props == null ? void 0 : props.color;
24691
24781
 
24692
24782
  if (typeof color === 'string') {
24693
- return color === null || color === void 0 ? void 0 : color.toUpperCase();
24783
+ return color == null ? void 0 : color.toUpperCase();
24694
24784
  }
24695
24785
 
24696
24786
  return `rgba(${color.r},${color.g},${color.b},${color.a})`;
@@ -24787,28 +24877,28 @@
24787
24877
 
24788
24878
  InputColorPicker.displayName = 'InputColorPicker';
24789
24879
  InputColorPicker.propTypes = {
24790
- /**
24791
- Color code to be displayed.
24880
+ /**
24881
+ Color code to be displayed.
24792
24882
  */
24793
24883
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
24794
24884
 
24795
- /**
24796
- Additional color list.
24885
+ /**
24886
+ Additional color list.
24797
24887
  */
24798
24888
  presetColors: PropTypes__default["default"].array,
24799
24889
 
24800
- /**
24801
- Change event handler.
24890
+ /**
24891
+ Change event handler.
24802
24892
  */
24803
24893
  onChange: PropTypes__default["default"].func,
24804
24894
 
24805
- /**
24806
- Add preset color event handler.
24895
+ /**
24896
+ Add preset color event handler.
24807
24897
  */
24808
24898
  onAddColor: PropTypes__default["default"].func,
24809
24899
 
24810
- /**
24811
- Disable opacity selector.
24900
+ /**
24901
+ Disable opacity selector.
24812
24902
  */
24813
24903
  disableAlpha: PropTypes__default["default"].bool
24814
24904
  };
@@ -24818,7 +24908,7 @@
24818
24908
 
24819
24909
  var img$d = "data:image/gif;base64,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";
24820
24910
 
24821
- var _jsxFileName$7 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorMap.js";
24911
+ var _jsxFileName$7 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorMap.js";
24822
24912
  const Container$6 = styled('div', {
24823
24913
  userSelect: 'none',
24824
24914
  margin: 'auto',
@@ -26782,7 +26872,7 @@
26782
26872
  })));
26783
26873
  }
26784
26874
 
26785
- var _jsxFileName$6 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\components\\ColorFields.js";
26875
+ var _jsxFileName$6 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/components/ColorFields.js";
26786
26876
  const CheckBoard = styled(Flex$1, {
26787
26877
  background: '$bgwhite',
26788
26878
  border: '1px solid #E5E7EB',
@@ -26983,7 +27073,7 @@
26983
27073
  }, "%")));
26984
27074
  }
26985
27075
 
26986
- var _jsxFileName$5 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\colorPicker\\ColorPicker.js";
27076
+ var _jsxFileName$5 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/colorPicker/ColorPicker.js";
26987
27077
  const Container$5 = styled(Flex$1, {
26988
27078
  background: '$white',
26989
27079
  padding: 16,
@@ -27486,28 +27576,28 @@
27486
27576
  }
27487
27577
 
27488
27578
  ColorPicker.propTypes = {
27489
- /**
27490
- Color code to be displayed.
27579
+ /**
27580
+ Color code to be displayed.
27491
27581
  */
27492
27582
  color: PropTypes__default["default"].oneOfType([PropTypes__default["default"].object, PropTypes__default["default"].string]),
27493
27583
 
27494
- /**
27495
- Additional color list
27584
+ /**
27585
+ Additional color list
27496
27586
  */
27497
27587
  presetColors: PropTypes__default["default"].array,
27498
27588
 
27499
- /**
27500
- Change event handler
27589
+ /**
27590
+ Change event handler
27501
27591
  */
27502
27592
  onChange: PropTypes__default["default"].func,
27503
27593
 
27504
- /**
27505
- Add preset color event handler
27594
+ /**
27595
+ Add preset color event handler
27506
27596
  */
27507
27597
  onAddColor: PropTypes__default["default"].func,
27508
27598
 
27509
- /**
27510
- Disable opacity selector
27599
+ /**
27600
+ Disable opacity selector
27511
27601
  */
27512
27602
  disableAlpha: PropTypes__default["default"].bool
27513
27603
  };
@@ -27516,7 +27606,7 @@
27516
27606
  };
27517
27607
  var ColorPicker$1 = common.ColorWrap(ColorPicker);
27518
27608
 
27519
- var _jsxFileName$4 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\stepWizard\\StepWizard.js";
27609
+ var _jsxFileName$4 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/stepWizard/StepWizard.js";
27520
27610
  const StepWizardContext = /*#__PURE__*/React__default["default"].createContext({});
27521
27611
  const Stepper = StepWizard__default["default"];
27522
27612
  Stepper.displayName = 'Stepper';
@@ -27602,7 +27692,8 @@
27602
27692
  data,
27603
27693
  cssNav,
27604
27694
  isHide,
27605
- forbidClickNav
27695
+ forbidClickNav,
27696
+ hideCheckedIcon
27606
27697
  } = React__default["default"].useContext(StepWizardContext);
27607
27698
  const mobileHidden = isMobile && isHide && {
27608
27699
  height: 'unset',
@@ -27650,7 +27741,7 @@
27650
27741
  lineNumber: 119,
27651
27742
  columnNumber: 15
27652
27743
  }
27653
- }), isComplete && /*#__PURE__*/React__default["default"].createElement(StyledCheckFiled, {
27744
+ }), isComplete && !hideCheckedIcon && /*#__PURE__*/React__default["default"].createElement(StyledCheckFiled, {
27654
27745
  css: {
27655
27746
  marginRight: 9
27656
27747
  },
@@ -27660,11 +27751,11 @@
27660
27751
  __source: {
27661
27752
  fileName: _jsxFileName$4,
27662
27753
  lineNumber: 120,
27663
- columnNumber: 30
27754
+ columnNumber: 50
27664
27755
  }
27665
- }), 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["default"].createElement(Tooltip$1, {
27756
+ }), 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["default"].createElement(Tooltip$1, {
27666
27757
  align: "center",
27667
- label: (_data3 = data[i - 1]) === null || _data3 === void 0 ? void 0 : _data3.tooltipsContents,
27758
+ label: (_data3 = data[i - 1]) == null ? void 0 : _data3.tooltipsContents,
27668
27759
  __self: undefined,
27669
27760
  __source: {
27670
27761
  fileName: _jsxFileName$4,
@@ -27683,9 +27774,9 @@
27683
27774
  lineNumber: 124,
27684
27775
  columnNumber: 19
27685
27776
  }
27686
- })), ((_data4 = data[i - 1]) === null || _data4 === void 0 ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27777
+ })), ((_data4 = data[i - 1]) == null ? void 0 : _data4.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27687
27778
  css: {
27688
- marginLeft: (_data5 = data[i - 1]) !== null && _data5 !== void 0 && _data5.withTolltip ? 0 : '$spacing-03'
27779
+ marginLeft: (_data5 = data[i - 1]) != null && _data5.withTolltip ? 0 : '$spacing-03'
27689
27780
  },
27690
27781
  align: "center",
27691
27782
  __self: undefined,
@@ -27720,14 +27811,14 @@
27720
27811
  lineNumber: 137,
27721
27812
  columnNumber: 13
27722
27813
  }
27723
- }, isComplete && /*#__PURE__*/React__default["default"].createElement(StyledCheckFiled, {
27814
+ }, isComplete && !hideCheckedIcon && /*#__PURE__*/React__default["default"].createElement(StyledCheckFiled, {
27724
27815
  size: "24",
27725
27816
  color: colors$4.bgGreen,
27726
27817
  __self: undefined,
27727
27818
  __source: {
27728
27819
  fileName: _jsxFileName$4,
27729
27820
  lineNumber: 149,
27730
- columnNumber: 30
27821
+ columnNumber: 50
27731
27822
  }
27732
27823
  }), !isComplete && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27733
27824
  justify: "center",
@@ -27737,7 +27828,7 @@
27737
27828
  height: 24,
27738
27829
  borderRadius: '$round',
27739
27830
  border: `4px solid ${isActive ? '$bgGreen' : '$bgInactive'}`,
27740
- backgroundColor: (_data6 = data[i - 1]) !== null && _data6 !== void 0 && _data6.disabled ? '$gray200' : '$white'
27831
+ backgroundColor: (_data6 = data[i - 1]) != null && _data6.disabled ? '$gray200' : '$white'
27741
27832
  },
27742
27833
  __self: undefined,
27743
27834
  __source: {
@@ -27755,10 +27846,10 @@
27755
27846
  lineNumber: 163,
27756
27847
  columnNumber: 15
27757
27848
  }
27758
- }, 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["default"].createElement(Tooltip$1, {
27849
+ }, 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["default"].createElement(Tooltip$1, {
27759
27850
  align: "center",
27760
27851
  withClick: true,
27761
- label: (_data9 = data[i - 1]) === null || _data9 === void 0 ? void 0 : _data9.tooltipsContents,
27852
+ label: (_data9 = data[i - 1]) == null ? void 0 : _data9.tooltipsContents,
27762
27853
  __self: undefined,
27763
27854
  __source: {
27764
27855
  fileName: _jsxFileName$4,
@@ -27774,11 +27865,11 @@
27774
27865
  lineNumber: 168,
27775
27866
  columnNumber: 19
27776
27867
  }
27777
- })), isActive && ((_data10 = data[i - 1]) === null || _data10 === void 0 ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27868
+ })), isActive && ((_data10 = data[i - 1]) == null ? void 0 : _data10.comingSoon) && /*#__PURE__*/React__default["default"].createElement(Flex$1, {
27778
27869
  align: "center",
27779
27870
  justify: "center",
27780
27871
  css: {
27781
- marginTop: (_data11 = data[i - 1]) !== null && _data11 !== void 0 && _data11.withTolltip ? 0 : '$spacing-03'
27872
+ marginTop: (_data11 = data[i - 1]) != null && _data11.withTolltip ? 0 : '$spacing-03'
27782
27873
  },
27783
27874
  __self: undefined,
27784
27875
  __source: {
@@ -27860,9 +27951,7 @@
27860
27951
  }));
27861
27952
  }, [props.hide]);
27862
27953
  React.useEffect(() => {
27863
- var _props$onChangeVisibi;
27864
-
27865
- props === null || props === void 0 ? void 0 : (_props$onChangeVisibi = props.onChangeVisibility) === null || _props$onChangeVisibi === void 0 ? void 0 : _props$onChangeVisibi.call(props, state.hide);
27954
+ props == null ? void 0 : props.onChangeVisibility == null ? void 0 : props.onChangeVisibility(state.hide);
27866
27955
  }, [state.hide]);
27867
27956
 
27868
27957
  const toogleVisibility = value => {
@@ -27874,13 +27963,13 @@
27874
27963
  const getIsComplete = currentStep => {
27875
27964
  var _state$isComplete;
27876
27965
 
27877
- return state === null || state === void 0 ? void 0 : (_state$isComplete = state.isComplete) === null || _state$isComplete === void 0 ? void 0 : _state$isComplete[currentStep - 1];
27966
+ return state == null ? void 0 : (_state$isComplete = state.isComplete) == null ? void 0 : _state$isComplete[currentStep - 1];
27878
27967
  };
27879
27968
 
27880
27969
  const getTitleStep = currentStep => {
27881
27970
  var _props$navContents, _props$navContents2;
27882
27971
 
27883
- 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;
27972
+ return props == null ? void 0 : (_props$navContents = props.navContents) == null ? void 0 : (_props$navContents2 = _props$navContents[currentStep - 1]) == null ? void 0 : _props$navContents2.title;
27884
27973
  };
27885
27974
 
27886
27975
  const setState = value => {
@@ -27922,15 +28011,15 @@
27922
28011
  });
27923
28012
  props.onStepChange && props.onStepChange(e);
27924
28013
 
27925
- 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) {
27926
- if ((e === null || e === void 0 ? void 0 : e.activeStep) > (e === null || e === void 0 ? void 0 : e.previousStep)) {
28014
+ if (props != null && (_props$navContents3 = props.navContents) != null && (_props$navContents4 = _props$navContents3[(e == null ? void 0 : e.activeStep) - 1]) != null && _props$navContents4.disabled) {
28015
+ if ((e == null ? void 0 : e.activeStep) > (e == null ? void 0 : e.previousStep)) {
27927
28016
  var _state$SW;
27928
28017
 
27929
- state === null || state === void 0 ? void 0 : (_state$SW = state.SW) === null || _state$SW === void 0 ? void 0 : _state$SW.nextStep();
28018
+ state == null ? void 0 : (_state$SW = state.SW) == null ? void 0 : _state$SW.nextStep();
27930
28019
  } else {
27931
28020
  var _state$SW2;
27932
28021
 
27933
- state === null || state === void 0 ? void 0 : (_state$SW2 = state.SW) === null || _state$SW2 === void 0 ? void 0 : _state$SW2.previousStep();
28022
+ state == null ? void 0 : (_state$SW2 = state.SW) == null ? void 0 : _state$SW2.previousStep();
27934
28023
  }
27935
28024
  }
27936
28025
  };
@@ -27946,18 +28035,19 @@
27946
28035
  }, /*#__PURE__*/React__default["default"].createElement(StepWizardContext.Provider, {
27947
28036
  value: {
27948
28037
  toogleVisibility,
27949
- isHide: state === null || state === void 0 ? void 0 : state.hide,
28038
+ isHide: state == null ? void 0 : state.hide,
27950
28039
  setComplete,
27951
28040
  setState,
27952
28041
  state,
27953
- SW: state === null || state === void 0 ? void 0 : state.SW,
28042
+ SW: state == null ? void 0 : state.SW,
27954
28043
  forbidClickNav: props.forbidClickNav,
27955
28044
  titles: props.titles,
27956
28045
  isMobile: props.isMobile,
27957
28046
  data: props.navContents,
27958
28047
  cssNav: props.cssNav,
27959
28048
  getIsComplete,
27960
- getTitleStep
28049
+ getTitleStep,
28050
+ hideCheckedIcon: props.hideCheckedIcon
27961
28051
  },
27962
28052
  __self: undefined,
27963
28053
  __source: {
@@ -27975,7 +28065,7 @@
27975
28065
  __self: undefined,
27976
28066
  __source: {
27977
28067
  fileName: _jsxFileName$4,
27978
- lineNumber: 320,
28068
+ lineNumber: 321,
27979
28069
  columnNumber: 16
27980
28070
  }
27981
28071
  }),
@@ -27985,7 +28075,7 @@
27985
28075
  __self: undefined,
27986
28076
  __source: {
27987
28077
  fileName: _jsxFileName$4,
27988
- lineNumber: 315,
28078
+ lineNumber: 316,
27989
28079
  columnNumber: 9
27990
28080
  }
27991
28081
  }), props.children)));
@@ -27997,7 +28087,7 @@
27997
28087
  }), void 0);
27998
28088
  };
27999
28089
 
28000
- var _jsxFileName$3 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\transition.js";
28090
+ var _jsxFileName$3 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/transition.js";
28001
28091
 
28002
28092
  function Collapse({
28003
28093
  children,
@@ -28042,7 +28132,7 @@
28042
28132
  isOpen: false
28043
28133
  };
28044
28134
 
28045
- var _jsxFileName$2 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\tableOfContent\\TableOfContent.js";
28135
+ var _jsxFileName$2 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/tableOfContent/TableOfContent.js";
28046
28136
  const DesktopContainer = styled(Flex$1, {
28047
28137
  display: 'none',
28048
28138
  '& .active-scroll-spy': {
@@ -28123,10 +28213,10 @@
28123
28213
  function getDatasets(content, activeId, isCollapse) {
28124
28214
  const datasets = [];
28125
28215
 
28126
- for (let i = 0; i < (content === null || content === void 0 ? void 0 : content.length); i++) {
28216
+ for (let i = 0; i < (content == null ? void 0 : content.length); i++) {
28127
28217
  var _content$i;
28128
28218
 
28129
- if (((_content$i = content[i]) === null || _content$i === void 0 ? void 0 : _content$i.id) === activeId) {
28219
+ if (((_content$i = content[i]) == null ? void 0 : _content$i.id) === activeId) {
28130
28220
  datasets.unshift(content[i]);
28131
28221
  } else {
28132
28222
  datasets.push(content[i]);
@@ -28166,7 +28256,7 @@
28166
28256
  lineNumber: 99,
28167
28257
  columnNumber: 7
28168
28258
  }
28169
- }, (_getDatasets = getDatasets(content, activeId, isCollapse)) === null || _getDatasets === void 0 ? void 0 : _getDatasets.map((item, index) => {
28259
+ }, (_getDatasets = getDatasets(content, activeId, isCollapse)) == null ? void 0 : _getDatasets.map((item, index) => {
28170
28260
  return /*#__PURE__*/React__default["default"].createElement(List, {
28171
28261
  key: index,
28172
28262
  __self: this,
@@ -28183,11 +28273,11 @@
28183
28273
  marginLeft: '-4px !important',
28184
28274
  borderLeftWidth: '4px !important',
28185
28275
  borderLeftStyle: 'solid !important',
28186
- borderLeftColor: `${(item === null || item === void 0 ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
28276
+ borderLeftColor: `${(item == null ? void 0 : item.id) === activeId ? colors$4.primary500 : 'transparent'} !important`,
28187
28277
  paddingLeft: '16px !important',
28188
28278
  minHeight: 25
28189
28279
  },
28190
- "data-to-scrollspy-id": item === null || item === void 0 ? void 0 : item.id,
28280
+ "data-to-scrollspy-id": item == null ? void 0 : item.id,
28191
28281
  __self: this,
28192
28282
  __source: {
28193
28283
  fileName: _jsxFileName$2,
@@ -28196,8 +28286,8 @@
28196
28286
  }
28197
28287
  }, /*#__PURE__*/React__default["default"].createElement(Title$1, {
28198
28288
  className: "link-title",
28199
- active: (item === null || item === void 0 ? void 0 : item.id) === activeId,
28200
- href: `#${item === null || item === void 0 ? void 0 : item.id}`,
28289
+ active: (item == null ? void 0 : item.id) === activeId,
28290
+ href: `#${item == null ? void 0 : item.id}`,
28201
28291
  onClick: e => {
28202
28292
  e.preventDefault();
28203
28293
  const target = window.document.getElementById(e.currentTarget.href.split('#')[1]);
@@ -28226,7 +28316,7 @@
28226
28316
  lineNumber: 117,
28227
28317
  columnNumber: 17
28228
28318
  }
28229
- }, item === null || item === void 0 ? void 0 : item.title), item === null || item === void 0 ? void 0 : item.icon));
28319
+ }, item == null ? void 0 : item.title), item == null ? void 0 : item.icon));
28230
28320
  })));
28231
28321
  }
28232
28322
 
@@ -28328,23 +28418,23 @@
28328
28418
  isDialog: false
28329
28419
  };
28330
28420
  TableOfContent.propTypes = {
28331
- /**
28332
- List of contents containing the title and id of a content.
28421
+ /**
28422
+ List of contents containing the title and id of a content.
28333
28423
  */
28334
28424
  content: PropTypes__default["default"].array,
28335
28425
 
28336
- /**
28337
- Components devoted to mobile viewing only.
28426
+ /**
28427
+ Components devoted to mobile viewing only.
28338
28428
  */
28339
28429
  isMobile: PropTypes__default["default"].bool,
28340
28430
 
28341
- /**
28342
- Condition when table of content is inside a component dialog.
28431
+ /**
28432
+ Condition when table of content is inside a component dialog.
28343
28433
  */
28344
28434
  isDialog: PropTypes__default["default"].bool,
28345
28435
 
28346
- /**
28347
- The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
28436
+ /**
28437
+ The active ID to reference the active content on the mobile view obtained from onUpdateCallback.
28348
28438
  */
28349
28439
  activeId: PropTypes__default["default"].string
28350
28440
  };
@@ -28364,7 +28454,7 @@
28364
28454
  useBoxMethod: true
28365
28455
  };
28366
28456
 
28367
- var _jsxFileName$1 = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\components\\editableTable\\transition.js";
28457
+ var _jsxFileName$1 = "/home/alfiantryp/Project/majoo-ui/packages/react/src/components/editableTable/transition.js";
28368
28458
 
28369
28459
  function Collapalse({
28370
28460
  children,
@@ -29310,7 +29400,16 @@
29310
29400
  background: '$gray150',
29311
29401
  borderRadius: '99999px',
29312
29402
  width: '100%',
29313
- height: 8
29403
+ variants: {
29404
+ size: {
29405
+ sm: {
29406
+ height: 4
29407
+ },
29408
+ md: {
29409
+ height: 8
29410
+ }
29411
+ }
29412
+ }
29314
29413
  });
29315
29414
  var StyledIndicator = react.styled(ProgressPrimitive__namespace.Indicator, {
29316
29415
  background: 'linear-gradient(90deg, rgba(1,174,136,1) 35%, rgba(4,201,158,1) 100%)',
@@ -29327,12 +29426,14 @@
29327
29426
  showProgressOnly = _a.showProgressOnly,
29328
29427
  css = _a.css,
29329
29428
  visibility = _a.visibility,
29330
- colors = _a.colors;
29429
+ colors = _a.colors,
29430
+ size = _a.size;
29331
29431
  return visibility && jsxRuntime.jsxs(Container$4, __assign({
29332
29432
  css: css
29333
29433
  }, {
29334
29434
  children: [jsxRuntime.jsx(Progress, __assign({
29335
- value: 66
29435
+ value: 66,
29436
+ size: size
29336
29437
  }, {
29337
29438
  children: jsxRuntime.jsx(ProgressIndicator$1, {
29338
29439
  style: {
@@ -29400,7 +29501,8 @@
29400
29501
  LoadingBar.defaultProps = {
29401
29502
  showProgressOnly: false,
29402
29503
  show: false,
29403
- description: 'Loading...'
29504
+ description: 'Loading...',
29505
+ size: 'md'
29404
29506
  };
29405
29507
 
29406
29508
  var Container$3 = styled(Flex$1, {
@@ -32178,7 +32280,7 @@
32178
32280
  }
32179
32281
  }
32180
32282
 
32181
- var _jsxFileName = "C:\\Users\\Lenovo\\Documents\\code\\majoo\\majoo-ui\\packages\\react\\src\\colors\\Colors.js";
32283
+ var _jsxFileName = "/home/alfiantryp/Project/majoo-ui/packages/react/src/colors/Colors.js";
32182
32284
  const StyledPaper = styled(Paper, {
32183
32285
  borderRadius: '10px 10px 0 0',
32184
32286
  padding: 15,