@majoo-ui/react 1.29.2 → 1.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +129 -88
- package/index.umd.js +129 -88
- package/package.json +4 -4
package/index.esm.js
CHANGED
|
@@ -29,7 +29,7 @@ import { useTable, useSortBy, useExpanded, usePagination, useRowSelect } from 'r
|
|
|
29
29
|
import moment from 'moment';
|
|
30
30
|
import debounce from 'lodash.debounce';
|
|
31
31
|
|
|
32
|
-
var _jsxFileName$Q = "
|
|
32
|
+
var _jsxFileName$Q = "/home/omegalord666/work/majoo-ui/packages/react/src/majoo-provider/ThemeProvider.js";
|
|
33
33
|
|
|
34
34
|
function ThemeProvider({
|
|
35
35
|
theme,
|
|
@@ -59,7 +59,7 @@ var check = function (it) {
|
|
|
59
59
|
|
|
60
60
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
61
61
|
var global$A =
|
|
62
|
-
// eslint-disable-next-line es/no-global-this -- safe
|
|
62
|
+
// eslint-disable-next-line es-x/no-global-this -- safe
|
|
63
63
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
64
64
|
check(typeof window == 'object' && window) ||
|
|
65
65
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
@@ -82,13 +82,14 @@ var fails$j = fails$k;
|
|
|
82
82
|
|
|
83
83
|
// Detect IE8's incomplete defineProperty implementation
|
|
84
84
|
var descriptors = !fails$j(function () {
|
|
85
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
85
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
86
86
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
|
|
87
87
|
});
|
|
88
88
|
|
|
89
89
|
var fails$i = fails$k;
|
|
90
90
|
|
|
91
91
|
var functionBindNative = !fails$i(function () {
|
|
92
|
+
// eslint-disable-next-line es-x/no-function-prototype-bind -- safe
|
|
92
93
|
var test = (function () { /* empty */ }).bind();
|
|
93
94
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
94
95
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
@@ -105,7 +106,7 @@ var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
|
|
|
105
106
|
var objectPropertyIsEnumerable = {};
|
|
106
107
|
|
|
107
108
|
var $propertyIsEnumerable = {}.propertyIsEnumerable;
|
|
108
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
109
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
109
110
|
var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
|
|
110
111
|
|
|
111
112
|
// Nashorn ~ JDK8 bug
|
|
@@ -246,12 +247,12 @@ if (!version && userAgent) {
|
|
|
246
247
|
|
|
247
248
|
var engineV8Version = version;
|
|
248
249
|
|
|
249
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
250
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
250
251
|
|
|
251
252
|
var V8_VERSION = engineV8Version;
|
|
252
253
|
var fails$g = fails$k;
|
|
253
254
|
|
|
254
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
255
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
|
|
255
256
|
var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$g(function () {
|
|
256
257
|
var symbol = Symbol();
|
|
257
258
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
@@ -261,7 +262,7 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$g(function () {
|
|
|
261
262
|
!Symbol.sham && V8_VERSION && V8_VERSION < 41;
|
|
262
263
|
});
|
|
263
264
|
|
|
264
|
-
/* eslint-disable es/no-symbol -- required for testing */
|
|
265
|
+
/* eslint-disable es-x/no-symbol -- required for testing */
|
|
265
266
|
|
|
266
267
|
var NATIVE_SYMBOL$1 = nativeSymbol;
|
|
267
268
|
|
|
@@ -338,7 +339,7 @@ var shared$4 = {exports: {}};
|
|
|
338
339
|
|
|
339
340
|
var global$r = global$A;
|
|
340
341
|
|
|
341
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
342
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
342
343
|
var defineProperty$3 = Object.defineProperty;
|
|
343
344
|
|
|
344
345
|
var setGlobal$3 = function (key, value) {
|
|
@@ -362,10 +363,10 @@ var store$2 = sharedStore;
|
|
|
362
363
|
(shared$4.exports = function (key, value) {
|
|
363
364
|
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
364
365
|
})('versions', []).push({
|
|
365
|
-
version: '3.
|
|
366
|
+
version: '3.22.0',
|
|
366
367
|
mode: 'global',
|
|
367
368
|
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
|
|
368
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
369
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.22.0/LICENSE',
|
|
369
370
|
source: 'https://github.com/zloirock/core-js'
|
|
370
371
|
});
|
|
371
372
|
|
|
@@ -387,6 +388,7 @@ var hasOwnProperty = uncurryThis$l({}.hasOwnProperty);
|
|
|
387
388
|
|
|
388
389
|
// `HasOwnProperty` abstract operation
|
|
389
390
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
391
|
+
// eslint-disable-next-line es-x/no-object-hasown -- safe
|
|
390
392
|
var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
391
393
|
return hasOwnProperty(toObject$3(it), key);
|
|
392
394
|
};
|
|
@@ -480,7 +482,7 @@ var createElement = documentCreateElement$2;
|
|
|
480
482
|
|
|
481
483
|
// Thanks to IE8 for its funny defineProperty
|
|
482
484
|
var ie8DomDefine = !DESCRIPTORS$8 && !fails$f(function () {
|
|
483
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
485
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
484
486
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
485
487
|
get: function () { return 7; }
|
|
486
488
|
}).a != 7;
|
|
@@ -495,7 +497,7 @@ var toPropertyKey$2 = toPropertyKey$3;
|
|
|
495
497
|
var hasOwn$7 = hasOwnProperty_1;
|
|
496
498
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
497
499
|
|
|
498
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
500
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
499
501
|
var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
500
502
|
|
|
501
503
|
// `Object.getOwnPropertyDescriptor` method
|
|
@@ -517,7 +519,7 @@ var fails$e = fails$k;
|
|
|
517
519
|
// V8 ~ Chrome 36-
|
|
518
520
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
519
521
|
var v8PrototypeDefineBug = DESCRIPTORS$6 && fails$e(function () {
|
|
520
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
522
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
521
523
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
522
524
|
value: 42,
|
|
523
525
|
writable: false
|
|
@@ -544,9 +546,9 @@ var anObject$b = anObject$c;
|
|
|
544
546
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
545
547
|
|
|
546
548
|
var TypeError$6 = global$k.TypeError;
|
|
547
|
-
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
549
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- safe
|
|
548
550
|
var $defineProperty = Object.defineProperty;
|
|
549
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
551
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
550
552
|
var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
|
|
551
553
|
var ENUMERABLE = 'enumerable';
|
|
552
554
|
var CONFIGURABLE$1 = 'configurable';
|
|
@@ -702,7 +704,7 @@ var DESCRIPTORS$3 = descriptors;
|
|
|
702
704
|
var hasOwn$5 = hasOwnProperty_1;
|
|
703
705
|
|
|
704
706
|
var FunctionPrototype$1 = Function.prototype;
|
|
705
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
707
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
706
708
|
var getDescriptor = DESCRIPTORS$3 && Object.getOwnPropertyDescriptor;
|
|
707
709
|
|
|
708
710
|
var EXISTS = hasOwn$5(FunctionPrototype$1, 'name');
|
|
@@ -879,14 +881,14 @@ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
|
|
|
879
881
|
|
|
880
882
|
// `Object.getOwnPropertyNames` method
|
|
881
883
|
// https://tc39.es/ecma262/#sec-object.getownpropertynames
|
|
882
|
-
// eslint-disable-next-line es/no-object-getownpropertynames -- safe
|
|
884
|
+
// eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
|
|
883
885
|
objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
|
|
884
886
|
return internalObjectKeys$1(O, hiddenKeys$1);
|
|
885
887
|
};
|
|
886
888
|
|
|
887
889
|
var objectGetOwnPropertySymbols = {};
|
|
888
890
|
|
|
889
|
-
// eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
|
|
891
|
+
// eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
|
|
890
892
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
891
893
|
|
|
892
894
|
var getBuiltIn$2 = getBuiltIn$5;
|
|
@@ -1005,7 +1007,7 @@ var enumBugKeys$1 = enumBugKeys$3;
|
|
|
1005
1007
|
|
|
1006
1008
|
// `Object.keys` method
|
|
1007
1009
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
1008
|
-
// eslint-disable-next-line es/no-object-keys -- safe
|
|
1010
|
+
// eslint-disable-next-line es-x/no-object-keys -- safe
|
|
1009
1011
|
var objectKeys$2 = Object.keys || function keys(O) {
|
|
1010
1012
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1011
1013
|
};
|
|
@@ -1020,9 +1022,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
|
1020
1022
|
var toObject$2 = toObject$4;
|
|
1021
1023
|
var IndexedObject = indexedObject;
|
|
1022
1024
|
|
|
1023
|
-
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1025
|
+
// eslint-disable-next-line es-x/no-object-assign -- safe
|
|
1024
1026
|
var $assign = Object.assign;
|
|
1025
|
-
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1027
|
+
// eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
|
|
1026
1028
|
var defineProperty$2 = Object.defineProperty;
|
|
1027
1029
|
var concat$1 = uncurryThis$f([].concat);
|
|
1028
1030
|
|
|
@@ -1042,7 +1044,7 @@ var objectAssign = !$assign || fails$c(function () {
|
|
|
1042
1044
|
// should work with symbols and should have deterministic property order (V8 bug)
|
|
1043
1045
|
var A = {};
|
|
1044
1046
|
var B = {};
|
|
1045
|
-
// eslint-disable-next-line es/no-symbol -- safe
|
|
1047
|
+
// eslint-disable-next-line es-x/no-symbol -- safe
|
|
1046
1048
|
var symbol = Symbol();
|
|
1047
1049
|
var alphabet = 'abcdefghijklmnopqrst';
|
|
1048
1050
|
A[symbol] = 7;
|
|
@@ -1072,7 +1074,7 @@ var assign = objectAssign;
|
|
|
1072
1074
|
|
|
1073
1075
|
// `Object.assign` method
|
|
1074
1076
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1075
|
-
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1077
|
+
// eslint-disable-next-line es-x/no-object-assign -- required for testing
|
|
1076
1078
|
$$6({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
|
|
1077
1079
|
assign: assign
|
|
1078
1080
|
});
|
|
@@ -1095,7 +1097,8 @@ const {
|
|
|
1095
1097
|
fonts: Object.assign({}, foundations.fonts),
|
|
1096
1098
|
lineHeights: Object.assign({}, foundations.lineHeights),
|
|
1097
1099
|
letterSpacings: Object.assign({}, foundations.letterSpacings),
|
|
1098
|
-
radii: Object.assign({}, foundations.radii)
|
|
1100
|
+
radii: Object.assign({}, foundations.radii),
|
|
1101
|
+
sizes: Object.assign({}, foundations.sizes)
|
|
1099
1102
|
},
|
|
1100
1103
|
media: {
|
|
1101
1104
|
sm: '(min-width: 359px)',
|
|
@@ -1360,7 +1363,7 @@ var objectKeys = objectKeys$2;
|
|
|
1360
1363
|
|
|
1361
1364
|
// `Object.defineProperties` method
|
|
1362
1365
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1363
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1366
|
+
// eslint-disable-next-line es-x/no-object-defineproperties -- safe
|
|
1364
1367
|
objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1365
1368
|
anObject$9(O);
|
|
1366
1369
|
var props = toIndexedObject$1(Properties);
|
|
@@ -1448,6 +1451,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
1448
1451
|
|
|
1449
1452
|
// `Object.create` method
|
|
1450
1453
|
// https://tc39.es/ecma262/#sec-object.create
|
|
1454
|
+
// eslint-disable-next-line es-x/no-object-create -- safe
|
|
1451
1455
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
1452
1456
|
var result;
|
|
1453
1457
|
if (O !== null) {
|
|
@@ -1488,7 +1492,7 @@ var fails$b = fails$k;
|
|
|
1488
1492
|
var correctPrototypeGetter = !fails$b(function () {
|
|
1489
1493
|
function F() { /* empty */ }
|
|
1490
1494
|
F.prototype.constructor = null;
|
|
1491
|
-
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
1495
|
+
// eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
|
|
1492
1496
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
1493
1497
|
});
|
|
1494
1498
|
|
|
@@ -1527,7 +1531,7 @@ var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
|
1527
1531
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
1528
1532
|
var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
1529
1533
|
|
|
1530
|
-
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
1534
|
+
/* eslint-disable es-x/no-array-prototype-keys -- safe */
|
|
1531
1535
|
if ([].keys) {
|
|
1532
1536
|
arrayIterator = [].keys();
|
|
1533
1537
|
// Safari 8 has buggy iterators w/o `next`
|
|
@@ -1608,13 +1612,13 @@ var aPossiblePrototype = aPossiblePrototype$1;
|
|
|
1608
1612
|
// `Object.setPrototypeOf` method
|
|
1609
1613
|
// https://tc39.es/ecma262/#sec-object.setprototypeof
|
|
1610
1614
|
// Works with __proto__ only. Old v8 can't work with null proto objects.
|
|
1611
|
-
// eslint-disable-next-line es/no-object-setprototypeof -- safe
|
|
1615
|
+
// eslint-disable-next-line es-x/no-object-setprototypeof -- safe
|
|
1612
1616
|
var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
1613
1617
|
var CORRECT_SETTER = false;
|
|
1614
1618
|
var test = {};
|
|
1615
1619
|
var setter;
|
|
1616
1620
|
try {
|
|
1617
|
-
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
1621
|
+
// eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
|
|
1618
1622
|
setter = uncurryThis$e(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
1619
1623
|
setter(test, []);
|
|
1620
1624
|
CORRECT_SETTER = test instanceof Array;
|
|
@@ -1869,7 +1873,7 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
1869
1873
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
1870
1874
|
|
|
1871
1875
|
const _excluded$v = ["className", "children", "color", "textColor", "padding"];
|
|
1872
|
-
var _jsxFileName$P = "
|
|
1876
|
+
var _jsxFileName$P = "/home/omegalord666/work/majoo-ui/packages/react/src/layout/box/Box.js";
|
|
1873
1877
|
const BoxComponent = styled('div', {
|
|
1874
1878
|
height: 'auto',
|
|
1875
1879
|
background: 'none',
|
|
@@ -2045,7 +2049,7 @@ Flex.displayName = 'Flex';
|
|
|
2045
2049
|
|
|
2046
2050
|
const _excluded$u = ["children"],
|
|
2047
2051
|
_excluded2$3 = ["children"];
|
|
2048
|
-
var _jsxFileName$O = "
|
|
2052
|
+
var _jsxFileName$O = "/home/omegalord666/work/majoo-ui/packages/react/src/layout/grid/Grid.js";
|
|
2049
2053
|
const GridComponent = styled('div', {
|
|
2050
2054
|
display: 'grid',
|
|
2051
2055
|
variants: {
|
|
@@ -2304,7 +2308,7 @@ GridItem.propTypes = {
|
|
|
2304
2308
|
GridItem.displayName = 'Grid Item';
|
|
2305
2309
|
|
|
2306
2310
|
const _excluded$t = ["className", "children", "type", "buttonType", "size", "disabled", "onClick", "block", "width", "leftIcon", "rightIcon", "icon"];
|
|
2307
|
-
var _jsxFileName$N = "
|
|
2311
|
+
var _jsxFileName$N = "/home/omegalord666/work/majoo-ui/packages/react/src/components/button/Button.js";
|
|
2308
2312
|
const ButtonPrimary = {
|
|
2309
2313
|
backgroundColor: '$btnPrimary',
|
|
2310
2314
|
color: '$textWhite',
|
|
@@ -2591,7 +2595,7 @@ Button$1.defaultProps = {
|
|
|
2591
2595
|
};
|
|
2592
2596
|
|
|
2593
2597
|
const _excluded$s = ["id", "message", "dismissAfter", "variant", "onAction", "actionText", "onRemove"];
|
|
2594
|
-
var _jsxFileName$M = "
|
|
2598
|
+
var _jsxFileName$M = "/home/omegalord666/work/majoo-ui/packages/react/src/components/toast/Toast.js";
|
|
2595
2599
|
const TOAST_WIDTH = 360;
|
|
2596
2600
|
const ANIMATION_DURATION = 400; // export interface ToastProps extends Omit<ToastSettings, 'status'>, BoxProps {
|
|
2597
2601
|
// variant?: ToastVariants;
|
|
@@ -2811,7 +2815,7 @@ Toast.defaultProps = {
|
|
|
2811
2815
|
|
|
2812
2816
|
const ToastContext = /*#__PURE__*/React.createContext({});
|
|
2813
2817
|
|
|
2814
|
-
var _jsxFileName$L = "
|
|
2818
|
+
var _jsxFileName$L = "/home/omegalord666/work/majoo-ui/packages/react/src/components/toast/ToastContainer.js";
|
|
2815
2819
|
const ToastBox = styled(Box$1, {
|
|
2816
2820
|
display: 'block',
|
|
2817
2821
|
position: 'fixed',
|
|
@@ -2857,7 +2861,7 @@ const ToastContainer = ({
|
|
|
2857
2861
|
};
|
|
2858
2862
|
|
|
2859
2863
|
const _excluded$r = ["id"];
|
|
2860
|
-
var _jsxFileName$K = "
|
|
2864
|
+
var _jsxFileName$K = "/home/omegalord666/work/majoo-ui/packages/react/src/components/toast/context/ToastProvider.js";
|
|
2861
2865
|
let toastCount = 0;
|
|
2862
2866
|
|
|
2863
2867
|
const ToastProvider = ({
|
|
@@ -2909,7 +2913,7 @@ const ToastProvider = ({
|
|
|
2909
2913
|
}));
|
|
2910
2914
|
};
|
|
2911
2915
|
|
|
2912
|
-
var _jsxFileName$J = "
|
|
2916
|
+
var _jsxFileName$J = "/home/omegalord666/work/majoo-ui/packages/react/src/majoo-provider/MajooProvider.js";
|
|
2913
2917
|
|
|
2914
2918
|
function MajooProvider({
|
|
2915
2919
|
children,
|
|
@@ -2943,7 +2947,7 @@ MajooProvider.propTypes = {
|
|
|
2943
2947
|
disableGlobalStyle: PropTypes.bool
|
|
2944
2948
|
};
|
|
2945
2949
|
|
|
2946
|
-
var _jsxFileName$I = "
|
|
2950
|
+
var _jsxFileName$I = "/home/omegalord666/work/majoo-ui/packages/react/src/components/alert/AlertProvider.js";
|
|
2947
2951
|
const StatusContext = /*#__PURE__*/createContext();
|
|
2948
2952
|
|
|
2949
2953
|
const AlertProvider = ({
|
|
@@ -2967,7 +2971,7 @@ const AlertProvider = ({
|
|
|
2967
2971
|
}, children);
|
|
2968
2972
|
};
|
|
2969
2973
|
|
|
2970
|
-
var _jsxFileName$H = "
|
|
2974
|
+
var _jsxFileName$H = "/home/omegalord666/work/majoo-ui/packages/react/src/components/alert/Alert.js";
|
|
2971
2975
|
const AlertStyle = styled('div', {
|
|
2972
2976
|
backgroundColor: 'white',
|
|
2973
2977
|
borderWidth: 0,
|
|
@@ -3237,7 +3241,7 @@ AlertDescription.displayName = 'AlertDescription';
|
|
|
3237
3241
|
AlertTitle.displayName = 'AlertTitle';
|
|
3238
3242
|
|
|
3239
3243
|
const _excluded$q = ["className", "children", "color", "shadow", "radius", "padding", "title", "width", "textColor", "icon"];
|
|
3240
|
-
var _jsxFileName$G = "
|
|
3244
|
+
var _jsxFileName$G = "/home/omegalord666/work/majoo-ui/packages/react/src/components/card/Card.js";
|
|
3241
3245
|
const CardComponent = styled('div', {
|
|
3242
3246
|
padding: '20px',
|
|
3243
3247
|
height: 'auto',
|
|
@@ -3688,7 +3692,7 @@ function __rest(s, e) {
|
|
|
3688
3692
|
}
|
|
3689
3693
|
|
|
3690
3694
|
const _excluded$p = ["children"];
|
|
3691
|
-
var _jsxFileName$F = "
|
|
3695
|
+
var _jsxFileName$F = "/home/omegalord666/work/majoo-ui/packages/react/src/components/breadcrumb/Breadcrumb.js";
|
|
3692
3696
|
const BreadcrumbStyle = styled('nav', {
|
|
3693
3697
|
wordWrap: 'break-word',
|
|
3694
3698
|
'& li+li:before': {
|
|
@@ -3965,7 +3969,7 @@ Badge.defaultProps = {
|
|
|
3965
3969
|
Badge.displayName = 'Badge';
|
|
3966
3970
|
|
|
3967
3971
|
const _excluded$o = ["className", "img", "children", "onLoadingStatusChange", "delayMs", "onClick", "css"];
|
|
3968
|
-
var _jsxFileName$E = "
|
|
3972
|
+
var _jsxFileName$E = "/home/omegalord666/work/majoo-ui/packages/react/src/components/avatar/Avatar.js";
|
|
3969
3973
|
const StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
3970
3974
|
width: '32px',
|
|
3971
3975
|
height: '32px',
|
|
@@ -4068,7 +4072,7 @@ Avatar.defaultProps = {
|
|
|
4068
4072
|
};
|
|
4069
4073
|
|
|
4070
4074
|
const _excluded$n = ["className", "src", "alt", "width", "height", "objectFit", "fallback"];
|
|
4071
|
-
var _jsxFileName$D = "
|
|
4075
|
+
var _jsxFileName$D = "/home/omegalord666/work/majoo-ui/packages/react/src/components/image/Image.js";
|
|
4072
4076
|
const StyledImage = styled('img', {
|
|
4073
4077
|
display: 'inline-block',
|
|
4074
4078
|
alignItems: 'center',
|
|
@@ -4127,7 +4131,7 @@ Image.defaultProps = {
|
|
|
4127
4131
|
};
|
|
4128
4132
|
|
|
4129
4133
|
const _excluded$m = ["children", "label", "color", "contentCss", "withClick"];
|
|
4130
|
-
var _jsxFileName$C = "
|
|
4134
|
+
var _jsxFileName$C = "/home/omegalord666/work/majoo-ui/packages/react/src/components/tooltip/Tooltip.js";
|
|
4131
4135
|
const slideUpAndFade$1 = keyframes({
|
|
4132
4136
|
'0%': {
|
|
4133
4137
|
opacity: 0,
|
|
@@ -4289,7 +4293,7 @@ Tooltip.defaultProps = {
|
|
|
4289
4293
|
};
|
|
4290
4294
|
|
|
4291
4295
|
const _excluded$l = ["className", "value", "max", "getValueLabel", "color", "size", "rounded", "width"];
|
|
4292
|
-
var _jsxFileName$B = "
|
|
4296
|
+
var _jsxFileName$B = "/home/omegalord666/work/majoo-ui/packages/react/src/components/progress/Progress.js";
|
|
4293
4297
|
const StyledProgress = styled$1(ProgressPrimitive.Root, {
|
|
4294
4298
|
position: 'relative',
|
|
4295
4299
|
overflow: 'hidden',
|
|
@@ -4460,7 +4464,7 @@ Progress.defaultProps = {
|
|
|
4460
4464
|
};
|
|
4461
4465
|
|
|
4462
4466
|
const _excluded$k = ["children", "htmlFor", "variant", "tooltipLabel", "count", "maxCount"];
|
|
4463
|
-
var _jsxFileName$A = "
|
|
4467
|
+
var _jsxFileName$A = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/FormLabel/Label.js";
|
|
4464
4468
|
const StyledLabel = styled(LabelPrimitive.Root, Text$1, {
|
|
4465
4469
|
display: 'inline-block',
|
|
4466
4470
|
fontSize: '$label',
|
|
@@ -4572,7 +4576,7 @@ FormLabel.propTypes = {
|
|
|
4572
4576
|
FormLabel.displayName = 'FormLabel';
|
|
4573
4577
|
|
|
4574
4578
|
const _excluded$j = ["children", "error"];
|
|
4575
|
-
var _jsxFileName$z = "
|
|
4579
|
+
var _jsxFileName$z = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/FormHelper/Helper.js";
|
|
4576
4580
|
const StyledHelper = styled(Text$1, {
|
|
4577
4581
|
display: 'inline-block',
|
|
4578
4582
|
color: '$textSecondary',
|
|
@@ -4610,7 +4614,7 @@ FormHelper.propTypes = {
|
|
|
4610
4614
|
};
|
|
4611
4615
|
FormHelper.displayName = 'FormHelper';
|
|
4612
4616
|
|
|
4613
|
-
var _jsxFileName$y = "
|
|
4617
|
+
var _jsxFileName$y = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/CheckOutline.js";
|
|
4614
4618
|
|
|
4615
4619
|
const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
4616
4620
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4658,7 +4662,7 @@ const CheckOutline$1 = props => /*#__PURE__*/React.createElement("svg", _extends
|
|
|
4658
4662
|
}
|
|
4659
4663
|
}));
|
|
4660
4664
|
|
|
4661
|
-
var _jsxFileName$x = "
|
|
4665
|
+
var _jsxFileName$x = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputCheckbox/icon/MinusOutline.js";
|
|
4662
4666
|
|
|
4663
4667
|
const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
4664
4668
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -4707,7 +4711,7 @@ const SvgMinusOutline = props => /*#__PURE__*/React.createElement("svg", _extend
|
|
|
4707
4711
|
}));
|
|
4708
4712
|
|
|
4709
4713
|
const _excluded$i = ["id", "checked", "indeterminate", "disabled", "onCheckedChange", "label"];
|
|
4710
|
-
var _jsxFileName$w = "
|
|
4714
|
+
var _jsxFileName$w = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputCheckbox/InputCheckbox.js";
|
|
4711
4715
|
const StyledIndicator$1 = styled(CheckboxPrimitive.Indicator, {
|
|
4712
4716
|
alignItems: 'center',
|
|
4713
4717
|
display: 'flex',
|
|
@@ -4856,7 +4860,7 @@ InputCheckbox.propTypes = {
|
|
|
4856
4860
|
InputCheckbox.displayName = 'InputCheckbox';
|
|
4857
4861
|
|
|
4858
4862
|
const _excluded$h = ["children", "size"];
|
|
4859
|
-
var _jsxFileName$v = "
|
|
4863
|
+
var _jsxFileName$v = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputGroup/InputGroup.js";
|
|
4860
4864
|
const InputGroupStyle = styled('div', {
|
|
4861
4865
|
display: 'flex',
|
|
4862
4866
|
width: '100%',
|
|
@@ -5307,7 +5311,7 @@ InputRadioGroup.propTypes = {
|
|
|
5307
5311
|
InputRadioGroup.displayName = 'InputRadioGroup';
|
|
5308
5312
|
|
|
5309
5313
|
const _excluded$g = ["id", "disabled"];
|
|
5310
|
-
var _jsxFileName$u = "
|
|
5314
|
+
var _jsxFileName$u = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputRadio/InputRadio.js";
|
|
5311
5315
|
const INDICATOR_BASE_STYLES = {
|
|
5312
5316
|
alignItems: 'center',
|
|
5313
5317
|
display: 'flex',
|
|
@@ -5469,7 +5473,7 @@ InputRightElement.propTypes = {
|
|
|
5469
5473
|
InputRightElement.name = 'InputRightElement';
|
|
5470
5474
|
|
|
5471
5475
|
const _excluded$f = ["className", "children", "onClick", "color", "size", "leftIcon", "rightIcon"];
|
|
5472
|
-
var _jsxFileName$t = "
|
|
5476
|
+
var _jsxFileName$t = "/home/omegalord666/work/majoo-ui/packages/react/src/components/tag/Tag.js";
|
|
5473
5477
|
const TagComponent = styled('span', {
|
|
5474
5478
|
boxSizing: 'border-box',
|
|
5475
5479
|
color: '$white',
|
|
@@ -5591,7 +5595,7 @@ Tag.defaultProps = {
|
|
|
5591
5595
|
};
|
|
5592
5596
|
|
|
5593
5597
|
const _excluded$e = ["className", "size", "isInvalid", "placeholder", "onChange", "value", "disabled", "readOnly", "max"];
|
|
5594
|
-
var _jsxFileName$s = "
|
|
5598
|
+
var _jsxFileName$s = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputTags/InputTags.js";
|
|
5595
5599
|
const InputTagsComponent = styled('div', {
|
|
5596
5600
|
display: 'flex',
|
|
5597
5601
|
position: 'relative',
|
|
@@ -5812,7 +5816,7 @@ TagsInput.defaultProps = {
|
|
|
5812
5816
|
};
|
|
5813
5817
|
|
|
5814
5818
|
const _excluded$d = ["id", "defaultChecked", "dataOnLabel", "dataOffLabel", "disabled"];
|
|
5815
|
-
var _jsxFileName$r = "
|
|
5819
|
+
var _jsxFileName$r = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSwitch/InputSwitch.js";
|
|
5816
5820
|
const StyledThumb$1 = styled(SwitchPrimitive.Thumb, {
|
|
5817
5821
|
display: 'block',
|
|
5818
5822
|
width: '16px',
|
|
@@ -5920,7 +5924,7 @@ InputSwitch.propTypes = {
|
|
|
5920
5924
|
};
|
|
5921
5925
|
InputSwitch.displayName = 'InputSwitch';
|
|
5922
5926
|
|
|
5923
|
-
var _jsxFileName$q = "
|
|
5927
|
+
var _jsxFileName$q = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSearchbox/CloseFilled.js";
|
|
5924
5928
|
|
|
5925
5929
|
const SvgCloseFilled = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5926
5930
|
width: props.size,
|
|
@@ -5981,7 +5985,7 @@ SvgCloseFilled.defaultProps = {
|
|
|
5981
5985
|
size: 24
|
|
5982
5986
|
};
|
|
5983
5987
|
|
|
5984
|
-
var _jsxFileName$p = "
|
|
5988
|
+
var _jsxFileName$p = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSearchbox/SearchOutline.js";
|
|
5985
5989
|
|
|
5986
5990
|
const SvgSearchOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
5987
5991
|
width: props.size,
|
|
@@ -6024,7 +6028,7 @@ SvgSearchOutline.defaultProps = {
|
|
|
6024
6028
|
};
|
|
6025
6029
|
|
|
6026
6030
|
const _excluded$c = ["size", "onChange"];
|
|
6027
|
-
var _jsxFileName$o = "
|
|
6031
|
+
var _jsxFileName$o = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSearchbox/InputSearchbox.js";
|
|
6028
6032
|
|
|
6029
6033
|
const InputSearchbox = _ref => {
|
|
6030
6034
|
let {
|
|
@@ -6444,7 +6448,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
6444
6448
|
|
|
6445
6449
|
// `SameValue` abstract operation
|
|
6446
6450
|
// https://tc39.es/ecma262/#sec-samevalue
|
|
6447
|
-
// eslint-disable-next-line es/no-object-is -- safe
|
|
6451
|
+
// eslint-disable-next-line es-x/no-object-is -- safe
|
|
6448
6452
|
var sameValue$1 = Object.is || function is(x, y) {
|
|
6449
6453
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
6450
6454
|
return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;
|
|
@@ -6558,7 +6562,7 @@ var notARegExp$1 = notARegexp;
|
|
|
6558
6562
|
var requireObjectCoercible$6 = requireObjectCoercible$a;
|
|
6559
6563
|
var correctIsRegExpLogic$1 = correctIsRegexpLogic;
|
|
6560
6564
|
|
|
6561
|
-
// eslint-disable-next-line es/no-string-prototype-startswith -- safe
|
|
6565
|
+
// eslint-disable-next-line es-x/no-string-prototype-startswith -- safe
|
|
6562
6566
|
var un$StartsWith = uncurryThis$b(''.startsWith);
|
|
6563
6567
|
var stringSlice$5 = uncurryThis$b(''.slice);
|
|
6564
6568
|
var min$2 = Math.min;
|
|
@@ -6606,7 +6610,7 @@ $$2({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }
|
|
|
6606
6610
|
});
|
|
6607
6611
|
|
|
6608
6612
|
const _excluded$b = ["placeholder", "option", "onChange", "size", "disabled", "search", "value", "iconColor", "icon", "placement", "valueSelector", "textSelector", "disabledOptions", "css"];
|
|
6609
|
-
var _jsxFileName$n = "
|
|
6613
|
+
var _jsxFileName$n = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSelect/InputSelect.js";
|
|
6610
6614
|
const Box = styled('div', {
|
|
6611
6615
|
margin: 0,
|
|
6612
6616
|
flexDirection: 'column',
|
|
@@ -6999,7 +7003,7 @@ Select$1.defaultProps = {
|
|
|
6999
7003
|
disabledOptions: []
|
|
7000
7004
|
};
|
|
7001
7005
|
|
|
7002
|
-
var _jsxFileName$m = "
|
|
7006
|
+
var _jsxFileName$m = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSelectTag/icon/CheckOutline.js";
|
|
7003
7007
|
|
|
7004
7008
|
const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
7005
7009
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7047,7 +7051,7 @@ const CheckOutline = props => /*#__PURE__*/React.createElement("svg", _extends({
|
|
|
7047
7051
|
}
|
|
7048
7052
|
}));
|
|
7049
7053
|
|
|
7050
|
-
var _jsxFileName$l = "
|
|
7054
|
+
var _jsxFileName$l = "/home/omegalord666/work/majoo-ui/packages/react/src/components/form/components/InputSelectTag/InputSelectTag.js";
|
|
7051
7055
|
const Wrapper = styled('div', {
|
|
7052
7056
|
margin: 0,
|
|
7053
7057
|
flexDirection: 'column',
|
|
@@ -7529,7 +7533,7 @@ const StyledAnchor = styled(PopoverPrimitive.Anchor, {});
|
|
|
7529
7533
|
const PopoverAnchor = StyledAnchor;
|
|
7530
7534
|
|
|
7531
7535
|
const _excluded$a = ["className", "defaultValue", "value", "name", "disabled", "orientation", "dir", "min", "max", "step", "onValueChange", "minStepsBetweenThumbs", "color", "size", "width", "height"];
|
|
7532
|
-
var _jsxFileName$k = "
|
|
7536
|
+
var _jsxFileName$k = "/home/omegalord666/work/majoo-ui/packages/react/src/components/slider/Slider.js";
|
|
7533
7537
|
const StyledSlider = styled$1(SliderPrimitive.Root, {
|
|
7534
7538
|
position: 'relative',
|
|
7535
7539
|
display: 'flex',
|
|
@@ -7937,7 +7941,7 @@ const Separator = StyledSeparator;
|
|
|
7937
7941
|
|
|
7938
7942
|
const _excluded$9 = ["className", "children", "type", "value", "defaultValue", "onValueChange", "disabled", "rovingFocus", "orientation", "dir", "loop", "size"],
|
|
7939
7943
|
_excluded2$2 = ["className", "children", "leftIcon", "rightIcon", "disabled", "isToggle", "value"];
|
|
7940
|
-
var _jsxFileName$j = "
|
|
7944
|
+
var _jsxFileName$j = "/home/omegalord666/work/majoo-ui/packages/react/src/components/buttonGroup/ButtonGroup.js";
|
|
7941
7945
|
const ButtonGroupComponent = styled(ToggleGroupPrimitive.Root, {
|
|
7942
7946
|
display: 'inline-flex',
|
|
7943
7947
|
borderRadius: '$md',
|
|
@@ -8165,7 +8169,7 @@ ButtonGroupItem.defaultProps = {
|
|
|
8165
8169
|
};
|
|
8166
8170
|
|
|
8167
8171
|
const _excluded$8 = ["children", "value"];
|
|
8168
|
-
var _jsxFileName$i = "
|
|
8172
|
+
var _jsxFileName$i = "/home/omegalord666/work/majoo-ui/packages/react/src/components/notificationBadge/notificationBadge.js";
|
|
8169
8173
|
const NotificationBadgeRootStyle = styled('span', {
|
|
8170
8174
|
position: 'relative',
|
|
8171
8175
|
display: 'inline-flex',
|
|
@@ -8329,7 +8333,7 @@ NotificationBadge.propTypes = {
|
|
|
8329
8333
|
};
|
|
8330
8334
|
|
|
8331
8335
|
const _excluded$7 = ["className", "children", "radius", "padding", "width", "height"];
|
|
8332
|
-
var _jsxFileName$h = "
|
|
8336
|
+
var _jsxFileName$h = "/home/omegalord666/work/majoo-ui/packages/react/src/components/paper/Paper.js";
|
|
8333
8337
|
const PaperComponent = styled('div', {
|
|
8334
8338
|
padding: '20px',
|
|
8335
8339
|
height: 'auto',
|
|
@@ -8423,7 +8427,7 @@ const IconButton = styled('button', {
|
|
|
8423
8427
|
});
|
|
8424
8428
|
|
|
8425
8429
|
const _excluded$6 = ["children"];
|
|
8426
|
-
var _jsxFileName$g = "
|
|
8430
|
+
var _jsxFileName$g = "/home/omegalord666/work/majoo-ui/packages/react/src/components/modalDialog/ModalDialog.js";
|
|
8427
8431
|
const overlayShow = keyframes({
|
|
8428
8432
|
'0%': {
|
|
8429
8433
|
opacity: 0
|
|
@@ -8460,6 +8464,33 @@ const StyledContent$2 = styled(DialogPrimitive.Content, {
|
|
|
8460
8464
|
},
|
|
8461
8465
|
'&:focus': {
|
|
8462
8466
|
outline: 'none'
|
|
8467
|
+
},
|
|
8468
|
+
width: '100%',
|
|
8469
|
+
variants: {
|
|
8470
|
+
size: {
|
|
8471
|
+
xs: {
|
|
8472
|
+
maxWidth: '320px'
|
|
8473
|
+
},
|
|
8474
|
+
sm: {
|
|
8475
|
+
maxWidth: '384px'
|
|
8476
|
+
},
|
|
8477
|
+
md: {
|
|
8478
|
+
maxWidth: '448px'
|
|
8479
|
+
},
|
|
8480
|
+
lg: {
|
|
8481
|
+
maxWidth: '512px'
|
|
8482
|
+
},
|
|
8483
|
+
xl: {
|
|
8484
|
+
maxWidth: '576px'
|
|
8485
|
+
},
|
|
8486
|
+
full: {
|
|
8487
|
+
maxWidth: '100vw',
|
|
8488
|
+
minHeight: '100vh'
|
|
8489
|
+
}
|
|
8490
|
+
}
|
|
8491
|
+
},
|
|
8492
|
+
defaultVariants: {
|
|
8493
|
+
size: 'md'
|
|
8463
8494
|
}
|
|
8464
8495
|
});
|
|
8465
8496
|
|
|
@@ -8473,21 +8504,21 @@ function Content(_ref) {
|
|
|
8473
8504
|
__self: this,
|
|
8474
8505
|
__source: {
|
|
8475
8506
|
fileName: _jsxFileName$g,
|
|
8476
|
-
lineNumber:
|
|
8507
|
+
lineNumber: 66,
|
|
8477
8508
|
columnNumber: 5
|
|
8478
8509
|
}
|
|
8479
8510
|
}, /*#__PURE__*/React__default.createElement(StyledOverlay$1, {
|
|
8480
8511
|
__self: this,
|
|
8481
8512
|
__source: {
|
|
8482
8513
|
fileName: _jsxFileName$g,
|
|
8483
|
-
lineNumber:
|
|
8514
|
+
lineNumber: 67,
|
|
8484
8515
|
columnNumber: 7
|
|
8485
8516
|
}
|
|
8486
8517
|
}), /*#__PURE__*/React__default.createElement(StyledContent$2, _extends({}, props, {
|
|
8487
8518
|
__self: this,
|
|
8488
8519
|
__source: {
|
|
8489
8520
|
fileName: _jsxFileName$g,
|
|
8490
|
-
lineNumber:
|
|
8521
|
+
lineNumber: 68,
|
|
8491
8522
|
columnNumber: 7
|
|
8492
8523
|
}
|
|
8493
8524
|
}), children));
|
|
@@ -8515,9 +8546,14 @@ const DialogContent = Content;
|
|
|
8515
8546
|
const DialogTitle = StyledTitle;
|
|
8516
8547
|
const DialogDescription = StyledDescription;
|
|
8517
8548
|
const DialogClose = DialogPrimitive.Close;
|
|
8549
|
+
DialogTrigger.displayName = 'DialogTrigger';
|
|
8550
|
+
DialogContent.displayName = 'DialogContent';
|
|
8551
|
+
DialogTitle.displayName = 'DialogTitle';
|
|
8552
|
+
DialogDescription.displayName = 'DialogDescription';
|
|
8553
|
+
DialogClose.displayName = 'DialogClose';
|
|
8518
8554
|
|
|
8519
8555
|
const _excluded$5 = ["children"];
|
|
8520
|
-
var _jsxFileName$f = "
|
|
8556
|
+
var _jsxFileName$f = "/home/omegalord666/work/majoo-ui/packages/react/src/components/drawer/Drawer.js";
|
|
8521
8557
|
const fadeIn = keyframes({
|
|
8522
8558
|
from: {
|
|
8523
8559
|
opacity: '0'
|
|
@@ -8669,11 +8705,16 @@ const DrawerTrigger = DialogPrimitive.Trigger;
|
|
|
8669
8705
|
const DrawerClose = StyledClose;
|
|
8670
8706
|
const DrawerTitle = DialogPrimitive.Title;
|
|
8671
8707
|
const DrawerDescription = DialogPrimitive.Description;
|
|
8708
|
+
Drawer.displayName = 'Drawer';
|
|
8709
|
+
DrawerContent.displayName = 'DrawerContent';
|
|
8710
|
+
DrawerClose.displayName = 'DrawerClose';
|
|
8711
|
+
DrawerTitle.displayName = 'DrawerTitle';
|
|
8712
|
+
DrawerDescription.displayName = 'DrawerDescription';
|
|
8672
8713
|
|
|
8673
8714
|
const _excluded$4 = ["children", "disabled"],
|
|
8674
8715
|
_excluded2$1 = ["children", "hasContent", "arrowColor"],
|
|
8675
8716
|
_excluded3$1 = ["children"];
|
|
8676
|
-
var _jsxFileName$e = "
|
|
8717
|
+
var _jsxFileName$e = "/home/omegalord666/work/majoo-ui/packages/react/src/components/accordion/Accordion.js";
|
|
8677
8718
|
// from: { height: 0 },
|
|
8678
8719
|
// to: { height: 'var(--radix-accordion-content-height)' },
|
|
8679
8720
|
// });
|
|
@@ -8845,7 +8886,7 @@ function useMediaQuery(query) {
|
|
|
8845
8886
|
return matches;
|
|
8846
8887
|
}
|
|
8847
8888
|
|
|
8848
|
-
var _jsxFileName$d = "
|
|
8889
|
+
var _jsxFileName$d = "/home/omegalord666/work/majoo-ui/packages/react/src/components/datePicker/AdvancedOption.js";
|
|
8849
8890
|
const ButtonGroup = styled(ToggleGroupPrimitive.Root, {
|
|
8850
8891
|
width: '100%'
|
|
8851
8892
|
});
|
|
@@ -8958,7 +8999,7 @@ const DateNumber = styled('div', {
|
|
|
8958
8999
|
});
|
|
8959
9000
|
DateNumber.displayName = 'DateNumber';
|
|
8960
9001
|
|
|
8961
|
-
var _jsxFileName$c = "
|
|
9002
|
+
var _jsxFileName$c = "/home/omegalord666/work/majoo-ui/packages/react/src/components/datePicker/components/Calendar.js";
|
|
8962
9003
|
|
|
8963
9004
|
const getVariant$1 = ({
|
|
8964
9005
|
selectable,
|
|
@@ -9625,7 +9666,7 @@ const CalendarBox = ({
|
|
|
9625
9666
|
return null;
|
|
9626
9667
|
};
|
|
9627
9668
|
|
|
9628
|
-
var _jsxFileName$b = "
|
|
9669
|
+
var _jsxFileName$b = "/home/omegalord666/work/majoo-ui/packages/react/src/components/datePicker/components/MobileCalendar.js";
|
|
9629
9670
|
|
|
9630
9671
|
const getVariant = ({
|
|
9631
9672
|
selectable,
|
|
@@ -10281,7 +10322,7 @@ const MobileCalendarBox = ({
|
|
|
10281
10322
|
const _excluded$3 = ["multiDatePicker", "onChange", "onClose", "advanceView", "selected", "disabled"],
|
|
10282
10323
|
_excluded2 = ["multiDatePicker", "onChange", "onClose", "advanceView", "selected", "disabled"],
|
|
10283
10324
|
_excluded3 = ["type"];
|
|
10284
|
-
var _jsxFileName$a = "
|
|
10325
|
+
var _jsxFileName$a = "/home/omegalord666/work/majoo-ui/packages/react/src/components/datePicker/DatePicker.js";
|
|
10285
10326
|
const SINGLE_PICKER = 'single';
|
|
10286
10327
|
const RANGE_PICKER = 'range';
|
|
10287
10328
|
const ADVANCE_PICKER = 'advance';
|
|
@@ -10463,7 +10504,7 @@ const DatePicker = props => {
|
|
|
10463
10504
|
}));
|
|
10464
10505
|
};
|
|
10465
10506
|
|
|
10466
|
-
var _jsxFileName$9 = "
|
|
10507
|
+
var _jsxFileName$9 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/datePicker/InputDatePicker.js";
|
|
10467
10508
|
const UPDATE = 'UPDATE';
|
|
10468
10509
|
const TODAY = 'TODAY';
|
|
10469
10510
|
const YESTERDAY = 'YESTERDAY';
|
|
@@ -10676,7 +10717,7 @@ function InputDatePicker({
|
|
|
10676
10717
|
}),
|
|
10677
10718
|
type: type,
|
|
10678
10719
|
disabled: disabled,
|
|
10679
|
-
date: date ? date
|
|
10720
|
+
date: date ? date == null ? void 0 : date[1] : selectedDate == null ? void 0 : selectedDate[1],
|
|
10680
10721
|
selected: selectedDate,
|
|
10681
10722
|
multiDatePicker: type !== SINGLE_PICKER,
|
|
10682
10723
|
onChange: date => {
|
|
@@ -10824,7 +10865,7 @@ if (NOT_GENERIC || INCORRECT_NAME) {
|
|
|
10824
10865
|
}
|
|
10825
10866
|
|
|
10826
10867
|
const _excluded$2 = ["isActive", "onClick"];
|
|
10827
|
-
var _jsxFileName$8 = "
|
|
10868
|
+
var _jsxFileName$8 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/pagination/PaginationButton.js";
|
|
10828
10869
|
|
|
10829
10870
|
const PageButton = _ref => {
|
|
10830
10871
|
let {
|
|
@@ -11070,7 +11111,7 @@ const PaginationButton = ({
|
|
|
11070
11111
|
};
|
|
11071
11112
|
|
|
11072
11113
|
const _excluded$1 = ["limits", "selectedLimit", "currentPage", "totalData", "onChange"];
|
|
11073
|
-
var _jsxFileName$7 = "
|
|
11114
|
+
var _jsxFileName$7 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/pagination/PaginationInfo.js";
|
|
11074
11115
|
|
|
11075
11116
|
function PaginationInfo(_ref) {
|
|
11076
11117
|
let {
|
|
@@ -11166,7 +11207,7 @@ function PaginationInfo(_ref) {
|
|
|
11166
11207
|
}
|
|
11167
11208
|
|
|
11168
11209
|
const _excluded = ["limit", "currentPage", "totalData", "onLimitChange", "onPageChange"];
|
|
11169
|
-
var _jsxFileName$6 = "
|
|
11210
|
+
var _jsxFileName$6 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/pagination/Pagination.js";
|
|
11170
11211
|
|
|
11171
11212
|
function Pagination(_ref) {
|
|
11172
11213
|
let {
|
|
@@ -11226,7 +11267,7 @@ Pagination.propTypes = {
|
|
|
11226
11267
|
};
|
|
11227
11268
|
Pagination.displayName = 'Pagination';
|
|
11228
11269
|
|
|
11229
|
-
var _jsxFileName$5 = "
|
|
11270
|
+
var _jsxFileName$5 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/MobileTable.js";
|
|
11230
11271
|
const TableContainer$1 = styled(Flex, {
|
|
11231
11272
|
position: 'relative',
|
|
11232
11273
|
flexDirection: 'column',
|
|
@@ -11494,7 +11535,7 @@ function MobileTable({
|
|
|
11494
11535
|
}, footer)))));
|
|
11495
11536
|
}
|
|
11496
11537
|
|
|
11497
|
-
var _jsxFileName$4 = "
|
|
11538
|
+
var _jsxFileName$4 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/Table.js";
|
|
11498
11539
|
const TableContainer = styled('div', {
|
|
11499
11540
|
display: 'block',
|
|
11500
11541
|
flexDirection: 'column',
|
|
@@ -11957,7 +11998,7 @@ Table.propTypes = {
|
|
|
11957
11998
|
};
|
|
11958
11999
|
Table.displayName = 'Table';
|
|
11959
12000
|
|
|
11960
|
-
var _jsxFileName$3 = "
|
|
12001
|
+
var _jsxFileName$3 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/components/columns/DateColumn.js";
|
|
11961
12002
|
|
|
11962
12003
|
const DateColumn = ({
|
|
11963
12004
|
value
|
|
@@ -12216,7 +12257,7 @@ var FunctionPrototype = Function.prototype;
|
|
|
12216
12257
|
var apply$2 = FunctionPrototype.apply;
|
|
12217
12258
|
var call$2 = FunctionPrototype.call;
|
|
12218
12259
|
|
|
12219
|
-
// eslint-disable-next-line es/no-reflect -- safe
|
|
12260
|
+
// eslint-disable-next-line es-x/no-reflect -- safe
|
|
12220
12261
|
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$2.bind(apply$2) : function () {
|
|
12221
12262
|
return call$2.apply(apply$2, arguments);
|
|
12222
12263
|
});
|
|
@@ -12794,7 +12835,7 @@ const PriceColumn = props => {
|
|
|
12794
12835
|
return addThousandSeparator(param);
|
|
12795
12836
|
};
|
|
12796
12837
|
|
|
12797
|
-
var _jsxFileName$2 = "
|
|
12838
|
+
var _jsxFileName$2 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/components/columns/RowExpanderColumn.js";
|
|
12798
12839
|
const rowExpanderColumn = {
|
|
12799
12840
|
id: 'expander',
|
|
12800
12841
|
Header: () => null,
|
|
@@ -12825,7 +12866,7 @@ const rowExpanderColumn = {
|
|
|
12825
12866
|
canSort: false
|
|
12826
12867
|
};
|
|
12827
12868
|
|
|
12828
|
-
var _jsxFileName$1 = "
|
|
12869
|
+
var _jsxFileName$1 = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/components/columns/RowMenuColumn.js";
|
|
12829
12870
|
const MenuContainer = styled(Flex, {
|
|
12830
12871
|
boxShadow: '0px 0px 8px rgba(131, 131, 131, 0.16)',
|
|
12831
12872
|
borderRadius: '$sm'
|
|
@@ -12909,7 +12950,7 @@ const rowMenuColumn = options => ({
|
|
|
12909
12950
|
canSort: false
|
|
12910
12951
|
});
|
|
12911
12952
|
|
|
12912
|
-
var _jsxFileName = "
|
|
12953
|
+
var _jsxFileName = "/home/omegalord666/work/majoo-ui/packages/react/src/components/table/components/columns/RowSelectionColumn.js";
|
|
12913
12954
|
const rowSelectionColumn = {
|
|
12914
12955
|
id: 'selection',
|
|
12915
12956
|
Header: ({
|