@northlight/ui 2.14.2 → 2.15.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/dist/es/northlight.d.ts +15 -2
- package/dist/es/northlight.js +393 -256
- package/dist/es/northlight.js.map +1 -1
- package/dist/umd/northlight.cjs +393 -255
- package/dist/umd/northlight.cjs.map +1 -1
- package/dist/umd/northlight.min.cjs +3 -3
- package/dist/umd/northlight.min.cjs.map +1 -1
- package/package.json +2 -2
package/dist/umd/northlight.cjs
CHANGED
|
@@ -4,6 +4,24 @@
|
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.northlight = {}, global.react, global.React, global.chakraReactSelect, global.ramda, global.focus, global.reactHookForm, global.system, global.tokens, global.icons, global.joi, global.checkbox$1, global.radio$1, global.utils, global.radio, global.checkbox, global.datepicker, global.datepicker$1, global.date, global.button, global.i18n, global.calendar$1, global.calendar, global.reactRouterDom, global.clickable, global.framerMotion, global.core, global.utilities, global.sortable, global.modifiers, global.reactWindow, global.AutoSizer, global.AvatarEditor, global.themeTools, global.reactNumberFormat, global.InputMask));
|
|
5
5
|
})(this, (function (exports, react, React, chakraReactSelect, ramda, focus, reactHookForm, system, tokens, icons, joi, checkbox$1, radio$1, utils, radio, checkbox, datepicker, datepicker$1, date, button, i18n, calendar$1, calendar, reactRouterDom, clickable, framerMotion, core, utilities, sortable, modifiers, reactWindow, AutoSizer, AvatarEditor, themeTools, reactNumberFormat, InputMask) { 'use strict';
|
|
6
6
|
|
|
7
|
+
var __defProp$2d = Object.defineProperty;
|
|
8
|
+
var __getOwnPropSymbols$2d = Object.getOwnPropertySymbols;
|
|
9
|
+
var __hasOwnProp$2d = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __propIsEnum$2d = Object.prototype.propertyIsEnumerable;
|
|
11
|
+
var __defNormalProp$2d = (obj, key, value) => key in obj ? __defProp$2d(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
12
|
+
var __spreadValues$2d = (a, b) => {
|
|
13
|
+
for (var prop in b || (b = {}))
|
|
14
|
+
if (__hasOwnProp$2d.call(b, prop))
|
|
15
|
+
__defNormalProp$2d(a, prop, b[prop]);
|
|
16
|
+
if (__getOwnPropSymbols$2d)
|
|
17
|
+
for (var prop of __getOwnPropSymbols$2d(b)) {
|
|
18
|
+
if (__propIsEnum$2d.call(b, prop))
|
|
19
|
+
__defNormalProp$2d(a, prop, b[prop]);
|
|
20
|
+
}
|
|
21
|
+
return a;
|
|
22
|
+
};
|
|
23
|
+
const Accordion = (props) => /* @__PURE__ */ React.createElement(react.Accordion, __spreadValues$2d({}, props));
|
|
24
|
+
|
|
7
25
|
var __defProp$2c = Object.defineProperty;
|
|
8
26
|
var __getOwnPropSymbols$2c = Object.getOwnPropertySymbols;
|
|
9
27
|
var __hasOwnProp$2c = Object.prototype.hasOwnProperty;
|
|
@@ -20,7 +38,7 @@
|
|
|
20
38
|
}
|
|
21
39
|
return a;
|
|
22
40
|
};
|
|
23
|
-
const
|
|
41
|
+
const AccordionButton = (props) => /* @__PURE__ */ React.createElement(react.AccordionButton, __spreadValues$2c({}, props));
|
|
24
42
|
|
|
25
43
|
var __defProp$2b = Object.defineProperty;
|
|
26
44
|
var __getOwnPropSymbols$2b = Object.getOwnPropertySymbols;
|
|
@@ -38,7 +56,7 @@
|
|
|
38
56
|
}
|
|
39
57
|
return a;
|
|
40
58
|
};
|
|
41
|
-
const
|
|
59
|
+
const AccordionPanel = (props) => /* @__PURE__ */ React.createElement(react.AccordionPanel, __spreadValues$2b({}, props));
|
|
42
60
|
|
|
43
61
|
var __defProp$2a = Object.defineProperty;
|
|
44
62
|
var __getOwnPropSymbols$2a = Object.getOwnPropertySymbols;
|
|
@@ -56,25 +74,7 @@
|
|
|
56
74
|
}
|
|
57
75
|
return a;
|
|
58
76
|
};
|
|
59
|
-
const
|
|
60
|
-
|
|
61
|
-
var __defProp$29 = Object.defineProperty;
|
|
62
|
-
var __getOwnPropSymbols$29 = Object.getOwnPropertySymbols;
|
|
63
|
-
var __hasOwnProp$29 = Object.prototype.hasOwnProperty;
|
|
64
|
-
var __propIsEnum$29 = Object.prototype.propertyIsEnumerable;
|
|
65
|
-
var __defNormalProp$29 = (obj, key, value) => key in obj ? __defProp$29(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
66
|
-
var __spreadValues$29 = (a, b) => {
|
|
67
|
-
for (var prop in b || (b = {}))
|
|
68
|
-
if (__hasOwnProp$29.call(b, prop))
|
|
69
|
-
__defNormalProp$29(a, prop, b[prop]);
|
|
70
|
-
if (__getOwnPropSymbols$29)
|
|
71
|
-
for (var prop of __getOwnPropSymbols$29(b)) {
|
|
72
|
-
if (__propIsEnum$29.call(b, prop))
|
|
73
|
-
__defNormalProp$29(a, prop, b[prop]);
|
|
74
|
-
}
|
|
75
|
-
return a;
|
|
76
|
-
};
|
|
77
|
-
const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$29({}, props));
|
|
77
|
+
const AccordionItem = (props) => /* @__PURE__ */ React.createElement(react.AccordionItem, __spreadValues$2a({}, props));
|
|
78
78
|
|
|
79
79
|
const useDebounce = (value, delay) => {
|
|
80
80
|
const [debouncedValue, setDebouncedValue] = React.useState(value);
|
|
@@ -390,6 +390,24 @@
|
|
|
390
390
|
return fieldError;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
|
+
var __defProp$29 = Object.defineProperty;
|
|
394
|
+
var __getOwnPropSymbols$29 = Object.getOwnPropertySymbols;
|
|
395
|
+
var __hasOwnProp$29 = Object.prototype.hasOwnProperty;
|
|
396
|
+
var __propIsEnum$29 = Object.prototype.propertyIsEnumerable;
|
|
397
|
+
var __defNormalProp$29 = (obj, key, value) => key in obj ? __defProp$29(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
398
|
+
var __spreadValues$29 = (a, b) => {
|
|
399
|
+
for (var prop in b || (b = {}))
|
|
400
|
+
if (__hasOwnProp$29.call(b, prop))
|
|
401
|
+
__defNormalProp$29(a, prop, b[prop]);
|
|
402
|
+
if (__getOwnPropSymbols$29)
|
|
403
|
+
for (var prop of __getOwnPropSymbols$29(b)) {
|
|
404
|
+
if (__propIsEnum$29.call(b, prop))
|
|
405
|
+
__defNormalProp$29(a, prop, b[prop]);
|
|
406
|
+
}
|
|
407
|
+
return a;
|
|
408
|
+
};
|
|
409
|
+
const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$29({}, styles)) : child;
|
|
410
|
+
|
|
393
411
|
var __defProp$28 = Object.defineProperty;
|
|
394
412
|
var __getOwnPropSymbols$28 = Object.getOwnPropertySymbols;
|
|
395
413
|
var __hasOwnProp$28 = Object.prototype.hasOwnProperty;
|
|
@@ -406,27 +424,9 @@
|
|
|
406
424
|
}
|
|
407
425
|
return a;
|
|
408
426
|
};
|
|
409
|
-
const passPropsToChild = (child, styles) => React.isValidElement(child) ? React.cloneElement(child, __spreadValues$28({}, styles)) : child;
|
|
410
|
-
|
|
411
|
-
var __defProp$27 = Object.defineProperty;
|
|
412
|
-
var __getOwnPropSymbols$27 = Object.getOwnPropertySymbols;
|
|
413
|
-
var __hasOwnProp$27 = Object.prototype.hasOwnProperty;
|
|
414
|
-
var __propIsEnum$27 = Object.prototype.propertyIsEnumerable;
|
|
415
|
-
var __defNormalProp$27 = (obj, key, value) => key in obj ? __defProp$27(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
416
|
-
var __spreadValues$27 = (a, b) => {
|
|
417
|
-
for (var prop in b || (b = {}))
|
|
418
|
-
if (__hasOwnProp$27.call(b, prop))
|
|
419
|
-
__defNormalProp$27(a, prop, b[prop]);
|
|
420
|
-
if (__getOwnPropSymbols$27)
|
|
421
|
-
for (var prop of __getOwnPropSymbols$27(b)) {
|
|
422
|
-
if (__propIsEnum$27.call(b, prop))
|
|
423
|
-
__defNormalProp$27(a, prop, b[prop]);
|
|
424
|
-
}
|
|
425
|
-
return a;
|
|
426
|
-
};
|
|
427
427
|
const getChildrenWithProps = (children, styles, predicate = ramda.T) => {
|
|
428
428
|
const childrenAsArr = React.Children.toArray(children);
|
|
429
|
-
const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$
|
|
429
|
+
const childrenWithoutFocus = childrenAsArr.map((child, i) => predicate(child, i) ? passPropsToChild(child, __spreadValues$28({}, styles)) : child);
|
|
430
430
|
return childrenWithoutFocus;
|
|
431
431
|
};
|
|
432
432
|
|
|
@@ -453,79 +453,79 @@
|
|
|
453
453
|
return theme;
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
-
var __defProp$
|
|
456
|
+
var __defProp$27 = Object.defineProperty;
|
|
457
457
|
var __defProps$y = Object.defineProperties;
|
|
458
458
|
var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
|
|
459
|
-
var __getOwnPropSymbols$
|
|
460
|
-
var __hasOwnProp$
|
|
461
|
-
var __propIsEnum$
|
|
462
|
-
var __defNormalProp$
|
|
463
|
-
var __spreadValues$
|
|
459
|
+
var __getOwnPropSymbols$27 = Object.getOwnPropertySymbols;
|
|
460
|
+
var __hasOwnProp$27 = Object.prototype.hasOwnProperty;
|
|
461
|
+
var __propIsEnum$27 = Object.prototype.propertyIsEnumerable;
|
|
462
|
+
var __defNormalProp$27 = (obj, key, value) => key in obj ? __defProp$27(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
463
|
+
var __spreadValues$27 = (a, b) => {
|
|
464
464
|
for (var prop in b || (b = {}))
|
|
465
|
-
if (__hasOwnProp$
|
|
466
|
-
__defNormalProp$
|
|
467
|
-
if (__getOwnPropSymbols$
|
|
468
|
-
for (var prop of __getOwnPropSymbols$
|
|
469
|
-
if (__propIsEnum$
|
|
470
|
-
__defNormalProp$
|
|
465
|
+
if (__hasOwnProp$27.call(b, prop))
|
|
466
|
+
__defNormalProp$27(a, prop, b[prop]);
|
|
467
|
+
if (__getOwnPropSymbols$27)
|
|
468
|
+
for (var prop of __getOwnPropSymbols$27(b)) {
|
|
469
|
+
if (__propIsEnum$27.call(b, prop))
|
|
470
|
+
__defNormalProp$27(a, prop, b[prop]);
|
|
471
471
|
}
|
|
472
472
|
return a;
|
|
473
473
|
};
|
|
474
474
|
var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
|
|
475
475
|
const customSelectStyles = {
|
|
476
|
-
container: (provided) => __spreadProps$y(__spreadValues$
|
|
476
|
+
container: (provided) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
477
477
|
width: "100%",
|
|
478
478
|
color: "text.default"
|
|
479
479
|
}),
|
|
480
|
-
option: (provided, state) => __spreadProps$y(__spreadValues$
|
|
480
|
+
option: (provided, state) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
481
481
|
background: state.isFocused && "background.select.option-focus",
|
|
482
482
|
_active: {
|
|
483
483
|
background: "background.select.option-active"
|
|
484
484
|
}
|
|
485
485
|
}),
|
|
486
|
-
valueContainer: (provided) => __spreadProps$y(__spreadValues$
|
|
486
|
+
valueContainer: (provided) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
487
487
|
paddingInlineStart: "padding-inline.select.default"
|
|
488
488
|
}),
|
|
489
|
-
downChevron: (provided) => __spreadProps$y(__spreadValues$
|
|
489
|
+
downChevron: (provided) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
490
490
|
color: "icon.select.default"
|
|
491
491
|
}),
|
|
492
|
-
placeholder: (provided) => __spreadProps$y(__spreadValues$
|
|
492
|
+
placeholder: (provided) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
493
493
|
color: "text.select.placeholder"
|
|
494
494
|
}),
|
|
495
495
|
multiValue: (provided, state) => {
|
|
496
496
|
var _a;
|
|
497
497
|
const background = state.data.isFixed ? "background.select.option-disabled" : (_a = state.data.color) != null ? _a : provided.bgColor;
|
|
498
|
-
return __spreadProps$y(__spreadValues$
|
|
498
|
+
return __spreadProps$y(__spreadValues$27({}, provided), {
|
|
499
499
|
bgColor: background,
|
|
500
500
|
color: getContrastColor(background)
|
|
501
501
|
});
|
|
502
502
|
},
|
|
503
|
-
menuList: (provided) => __spreadProps$y(__spreadValues$
|
|
503
|
+
menuList: (provided) => __spreadProps$y(__spreadValues$27({}, provided), {
|
|
504
504
|
bgColor: "background.default"
|
|
505
505
|
})
|
|
506
506
|
};
|
|
507
507
|
|
|
508
|
-
var __defProp$
|
|
508
|
+
var __defProp$26 = Object.defineProperty;
|
|
509
509
|
var __defProps$x = Object.defineProperties;
|
|
510
510
|
var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
|
|
511
|
-
var __getOwnPropSymbols$
|
|
512
|
-
var __hasOwnProp$
|
|
513
|
-
var __propIsEnum$
|
|
514
|
-
var __defNormalProp$
|
|
515
|
-
var __spreadValues$
|
|
511
|
+
var __getOwnPropSymbols$26 = Object.getOwnPropertySymbols;
|
|
512
|
+
var __hasOwnProp$26 = Object.prototype.hasOwnProperty;
|
|
513
|
+
var __propIsEnum$26 = Object.prototype.propertyIsEnumerable;
|
|
514
|
+
var __defNormalProp$26 = (obj, key, value) => key in obj ? __defProp$26(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
515
|
+
var __spreadValues$26 = (a, b) => {
|
|
516
516
|
for (var prop in b || (b = {}))
|
|
517
|
-
if (__hasOwnProp$
|
|
518
|
-
__defNormalProp$
|
|
519
|
-
if (__getOwnPropSymbols$
|
|
520
|
-
for (var prop of __getOwnPropSymbols$
|
|
521
|
-
if (__propIsEnum$
|
|
522
|
-
__defNormalProp$
|
|
517
|
+
if (__hasOwnProp$26.call(b, prop))
|
|
518
|
+
__defNormalProp$26(a, prop, b[prop]);
|
|
519
|
+
if (__getOwnPropSymbols$26)
|
|
520
|
+
for (var prop of __getOwnPropSymbols$26(b)) {
|
|
521
|
+
if (__propIsEnum$26.call(b, prop))
|
|
522
|
+
__defNormalProp$26(a, prop, b[prop]);
|
|
523
523
|
}
|
|
524
524
|
return a;
|
|
525
525
|
};
|
|
526
526
|
var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
|
|
527
|
-
const tagsInputStyles = (isFocused, borderColor) => __spreadProps$x(__spreadValues$
|
|
528
|
-
container: (provided) => __spreadProps$x(__spreadValues$
|
|
527
|
+
const tagsInputStyles = (isFocused, borderColor) => __spreadProps$x(__spreadValues$26({}, customSelectStyles), {
|
|
528
|
+
container: (provided) => __spreadProps$x(__spreadValues$26({}, provided), {
|
|
529
529
|
w: "full",
|
|
530
530
|
height: "100%",
|
|
531
531
|
resize: "vertical",
|
|
@@ -538,45 +538,45 @@
|
|
|
538
538
|
color: "text.default",
|
|
539
539
|
boxShadow: isFocused ? `0 0 0 1px ${borderColor}` : "none"
|
|
540
540
|
}),
|
|
541
|
-
control: (provided) => __spreadProps$x(__spreadValues$
|
|
541
|
+
control: (provided) => __spreadProps$x(__spreadValues$26({}, provided), {
|
|
542
542
|
minHeight: "20",
|
|
543
543
|
height: "100%",
|
|
544
544
|
alignItems: "start"
|
|
545
545
|
}),
|
|
546
|
-
valueContainer: (provided) => __spreadProps$x(__spreadValues$
|
|
546
|
+
valueContainer: (provided) => __spreadProps$x(__spreadValues$26({}, provided), {
|
|
547
547
|
paddingInlineStart: "padding-inline.select.default",
|
|
548
548
|
overflowY: "auto",
|
|
549
549
|
maxH: "100%"
|
|
550
550
|
})
|
|
551
551
|
});
|
|
552
552
|
|
|
553
|
-
var __defProp$
|
|
553
|
+
var __defProp$25 = Object.defineProperty;
|
|
554
554
|
var __defProps$w = Object.defineProperties;
|
|
555
555
|
var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
|
|
556
|
-
var __getOwnPropSymbols$
|
|
557
|
-
var __hasOwnProp$
|
|
558
|
-
var __propIsEnum$
|
|
559
|
-
var __defNormalProp$
|
|
560
|
-
var __spreadValues$
|
|
556
|
+
var __getOwnPropSymbols$25 = Object.getOwnPropertySymbols;
|
|
557
|
+
var __hasOwnProp$25 = Object.prototype.hasOwnProperty;
|
|
558
|
+
var __propIsEnum$25 = Object.prototype.propertyIsEnumerable;
|
|
559
|
+
var __defNormalProp$25 = (obj, key, value) => key in obj ? __defProp$25(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
560
|
+
var __spreadValues$25 = (a, b) => {
|
|
561
561
|
for (var prop in b || (b = {}))
|
|
562
|
-
if (__hasOwnProp$
|
|
563
|
-
__defNormalProp$
|
|
564
|
-
if (__getOwnPropSymbols$
|
|
565
|
-
for (var prop of __getOwnPropSymbols$
|
|
566
|
-
if (__propIsEnum$
|
|
567
|
-
__defNormalProp$
|
|
562
|
+
if (__hasOwnProp$25.call(b, prop))
|
|
563
|
+
__defNormalProp$25(a, prop, b[prop]);
|
|
564
|
+
if (__getOwnPropSymbols$25)
|
|
565
|
+
for (var prop of __getOwnPropSymbols$25(b)) {
|
|
566
|
+
if (__propIsEnum$25.call(b, prop))
|
|
567
|
+
__defNormalProp$25(a, prop, b[prop]);
|
|
568
568
|
}
|
|
569
569
|
return a;
|
|
570
570
|
};
|
|
571
571
|
var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
|
|
572
|
-
var __objRest$
|
|
572
|
+
var __objRest$1y = (source, exclude) => {
|
|
573
573
|
var target = {};
|
|
574
574
|
for (var prop in source)
|
|
575
|
-
if (__hasOwnProp$
|
|
575
|
+
if (__hasOwnProp$25.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
576
576
|
target[prop] = source[prop];
|
|
577
|
-
if (source != null && __getOwnPropSymbols$
|
|
578
|
-
for (var prop of __getOwnPropSymbols$
|
|
579
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
577
|
+
if (source != null && __getOwnPropSymbols$25)
|
|
578
|
+
for (var prop of __getOwnPropSymbols$25(source)) {
|
|
579
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$25.call(source, prop))
|
|
580
580
|
target[prop] = source[prop];
|
|
581
581
|
}
|
|
582
582
|
return target;
|
|
@@ -589,7 +589,7 @@
|
|
|
589
589
|
loadingList = () => null,
|
|
590
590
|
"data-testid": testId,
|
|
591
591
|
value = []
|
|
592
|
-
} = _b, rest = __objRest$
|
|
592
|
+
} = _b, rest = __objRest$1y(_b, [
|
|
593
593
|
"options",
|
|
594
594
|
"onChange",
|
|
595
595
|
"isLoading",
|
|
@@ -657,7 +657,7 @@
|
|
|
657
657
|
};
|
|
658
658
|
return /* @__PURE__ */ React.createElement(react.Box, { w: "full", "data-testid": testId }, /* @__PURE__ */ React.createElement(
|
|
659
659
|
CustomSelect,
|
|
660
|
-
__spreadValues$
|
|
660
|
+
__spreadValues$25(__spreadProps$w(__spreadValues$25({
|
|
661
661
|
isMulti: true,
|
|
662
662
|
menuPortalTarget: document.body,
|
|
663
663
|
placeholder: "Type something and press Enter or comma...",
|
|
@@ -690,30 +690,30 @@
|
|
|
690
690
|
));
|
|
691
691
|
}
|
|
692
692
|
|
|
693
|
-
var __defProp$
|
|
694
|
-
var __getOwnPropSymbols$
|
|
695
|
-
var __hasOwnProp$
|
|
696
|
-
var __propIsEnum$
|
|
697
|
-
var __defNormalProp$
|
|
698
|
-
var __spreadValues$
|
|
693
|
+
var __defProp$24 = Object.defineProperty;
|
|
694
|
+
var __getOwnPropSymbols$24 = Object.getOwnPropertySymbols;
|
|
695
|
+
var __hasOwnProp$24 = Object.prototype.hasOwnProperty;
|
|
696
|
+
var __propIsEnum$24 = Object.prototype.propertyIsEnumerable;
|
|
697
|
+
var __defNormalProp$24 = (obj, key, value) => key in obj ? __defProp$24(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
698
|
+
var __spreadValues$24 = (a, b) => {
|
|
699
699
|
for (var prop in b || (b = {}))
|
|
700
|
-
if (__hasOwnProp$
|
|
701
|
-
__defNormalProp$
|
|
702
|
-
if (__getOwnPropSymbols$
|
|
703
|
-
for (var prop of __getOwnPropSymbols$
|
|
704
|
-
if (__propIsEnum$
|
|
705
|
-
__defNormalProp$
|
|
700
|
+
if (__hasOwnProp$24.call(b, prop))
|
|
701
|
+
__defNormalProp$24(a, prop, b[prop]);
|
|
702
|
+
if (__getOwnPropSymbols$24)
|
|
703
|
+
for (var prop of __getOwnPropSymbols$24(b)) {
|
|
704
|
+
if (__propIsEnum$24.call(b, prop))
|
|
705
|
+
__defNormalProp$24(a, prop, b[prop]);
|
|
706
706
|
}
|
|
707
707
|
return a;
|
|
708
708
|
};
|
|
709
|
-
var __objRest$
|
|
709
|
+
var __objRest$1x = (source, exclude) => {
|
|
710
710
|
var target = {};
|
|
711
711
|
for (var prop in source)
|
|
712
|
-
if (__hasOwnProp$
|
|
712
|
+
if (__hasOwnProp$24.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
713
713
|
target[prop] = source[prop];
|
|
714
|
-
if (source != null && __getOwnPropSymbols$
|
|
715
|
-
for (var prop of __getOwnPropSymbols$
|
|
716
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
714
|
+
if (source != null && __getOwnPropSymbols$24)
|
|
715
|
+
for (var prop of __getOwnPropSymbols$24(source)) {
|
|
716
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$24.call(source, prop))
|
|
717
717
|
target[prop] = source[prop];
|
|
718
718
|
}
|
|
719
719
|
return target;
|
|
@@ -723,7 +723,7 @@
|
|
|
723
723
|
name,
|
|
724
724
|
image,
|
|
725
725
|
variant = "square"
|
|
726
|
-
} = _b, rest = __objRest$
|
|
726
|
+
} = _b, rest = __objRest$1x(_b, [
|
|
727
727
|
"name",
|
|
728
728
|
"image",
|
|
729
729
|
"variant"
|
|
@@ -732,7 +732,7 @@
|
|
|
732
732
|
const {
|
|
733
733
|
container,
|
|
734
734
|
text
|
|
735
|
-
} = react.useMultiStyleConfig("Avatar", __spreadValues$
|
|
735
|
+
} = react.useMultiStyleConfig("Avatar", __spreadValues$24({ variant, image }, rest));
|
|
736
736
|
return /* @__PURE__ */ React.createElement(
|
|
737
737
|
react.chakra.div,
|
|
738
738
|
{
|
|
@@ -749,30 +749,30 @@
|
|
|
749
749
|
);
|
|
750
750
|
};
|
|
751
751
|
|
|
752
|
-
var __defProp$
|
|
753
|
-
var __getOwnPropSymbols$
|
|
754
|
-
var __hasOwnProp$
|
|
755
|
-
var __propIsEnum$
|
|
756
|
-
var __defNormalProp$
|
|
757
|
-
var __spreadValues$
|
|
752
|
+
var __defProp$23 = Object.defineProperty;
|
|
753
|
+
var __getOwnPropSymbols$23 = Object.getOwnPropertySymbols;
|
|
754
|
+
var __hasOwnProp$23 = Object.prototype.hasOwnProperty;
|
|
755
|
+
var __propIsEnum$23 = Object.prototype.propertyIsEnumerable;
|
|
756
|
+
var __defNormalProp$23 = (obj, key, value) => key in obj ? __defProp$23(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
757
|
+
var __spreadValues$23 = (a, b) => {
|
|
758
758
|
for (var prop in b || (b = {}))
|
|
759
|
-
if (__hasOwnProp$
|
|
760
|
-
__defNormalProp$
|
|
761
|
-
if (__getOwnPropSymbols$
|
|
762
|
-
for (var prop of __getOwnPropSymbols$
|
|
763
|
-
if (__propIsEnum$
|
|
764
|
-
__defNormalProp$
|
|
759
|
+
if (__hasOwnProp$23.call(b, prop))
|
|
760
|
+
__defNormalProp$23(a, prop, b[prop]);
|
|
761
|
+
if (__getOwnPropSymbols$23)
|
|
762
|
+
for (var prop of __getOwnPropSymbols$23(b)) {
|
|
763
|
+
if (__propIsEnum$23.call(b, prop))
|
|
764
|
+
__defNormalProp$23(a, prop, b[prop]);
|
|
765
765
|
}
|
|
766
766
|
return a;
|
|
767
767
|
};
|
|
768
|
-
var __objRest$
|
|
768
|
+
var __objRest$1w = (source, exclude) => {
|
|
769
769
|
var target = {};
|
|
770
770
|
for (var prop in source)
|
|
771
|
-
if (__hasOwnProp$
|
|
771
|
+
if (__hasOwnProp$23.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
772
772
|
target[prop] = source[prop];
|
|
773
|
-
if (source != null && __getOwnPropSymbols$
|
|
774
|
-
for (var prop of __getOwnPropSymbols$
|
|
775
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
773
|
+
if (source != null && __getOwnPropSymbols$23)
|
|
774
|
+
for (var prop of __getOwnPropSymbols$23(source)) {
|
|
775
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$23.call(source, prop))
|
|
776
776
|
target[prop] = source[prop];
|
|
777
777
|
}
|
|
778
778
|
return target;
|
|
@@ -781,13 +781,31 @@
|
|
|
781
781
|
var _b = _a, {
|
|
782
782
|
variant = "success",
|
|
783
783
|
children
|
|
784
|
-
} = _b, rest = __objRest$
|
|
784
|
+
} = _b, rest = __objRest$1w(_b, [
|
|
785
785
|
"variant",
|
|
786
786
|
"children"
|
|
787
787
|
]);
|
|
788
|
-
return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$
|
|
788
|
+
return /* @__PURE__ */ React.createElement(react.Alert, __spreadValues$23({ variant }, rest), children);
|
|
789
789
|
};
|
|
790
790
|
|
|
791
|
+
var __defProp$22 = Object.defineProperty;
|
|
792
|
+
var __getOwnPropSymbols$22 = Object.getOwnPropertySymbols;
|
|
793
|
+
var __hasOwnProp$22 = Object.prototype.hasOwnProperty;
|
|
794
|
+
var __propIsEnum$22 = Object.prototype.propertyIsEnumerable;
|
|
795
|
+
var __defNormalProp$22 = (obj, key, value) => key in obj ? __defProp$22(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
796
|
+
var __spreadValues$22 = (a, b) => {
|
|
797
|
+
for (var prop in b || (b = {}))
|
|
798
|
+
if (__hasOwnProp$22.call(b, prop))
|
|
799
|
+
__defNormalProp$22(a, prop, b[prop]);
|
|
800
|
+
if (__getOwnPropSymbols$22)
|
|
801
|
+
for (var prop of __getOwnPropSymbols$22(b)) {
|
|
802
|
+
if (__propIsEnum$22.call(b, prop))
|
|
803
|
+
__defNormalProp$22(a, prop, b[prop]);
|
|
804
|
+
}
|
|
805
|
+
return a;
|
|
806
|
+
};
|
|
807
|
+
const AspectRatio = (props) => /* @__PURE__ */ React.createElement(react.AspectRatio, __spreadValues$22({}, props));
|
|
808
|
+
|
|
791
809
|
var __defProp$21 = Object.defineProperty;
|
|
792
810
|
var __getOwnPropSymbols$21 = Object.getOwnPropertySymbols;
|
|
793
811
|
var __hasOwnProp$21 = Object.prototype.hasOwnProperty;
|
|
@@ -804,32 +822,14 @@
|
|
|
804
822
|
}
|
|
805
823
|
return a;
|
|
806
824
|
};
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
var __defProp$20 = Object.defineProperty;
|
|
810
|
-
var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
|
|
811
|
-
var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
|
|
812
|
-
var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
|
|
813
|
-
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
814
|
-
var __spreadValues$20 = (a, b) => {
|
|
815
|
-
for (var prop in b || (b = {}))
|
|
816
|
-
if (__hasOwnProp$20.call(b, prop))
|
|
817
|
-
__defNormalProp$20(a, prop, b[prop]);
|
|
818
|
-
if (__getOwnPropSymbols$20)
|
|
819
|
-
for (var prop of __getOwnPropSymbols$20(b)) {
|
|
820
|
-
if (__propIsEnum$20.call(b, prop))
|
|
821
|
-
__defNormalProp$20(a, prop, b[prop]);
|
|
822
|
-
}
|
|
823
|
-
return a;
|
|
824
|
-
};
|
|
825
|
-
var __objRest$1u = (source, exclude) => {
|
|
825
|
+
var __objRest$1v = (source, exclude) => {
|
|
826
826
|
var target = {};
|
|
827
827
|
for (var prop in source)
|
|
828
|
-
if (__hasOwnProp$
|
|
828
|
+
if (__hasOwnProp$21.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
829
829
|
target[prop] = source[prop];
|
|
830
|
-
if (source != null && __getOwnPropSymbols$
|
|
831
|
-
for (var prop of __getOwnPropSymbols$
|
|
832
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
830
|
+
if (source != null && __getOwnPropSymbols$21)
|
|
831
|
+
for (var prop of __getOwnPropSymbols$21(source)) {
|
|
832
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$21.call(source, prop))
|
|
833
833
|
target[prop] = source[prop];
|
|
834
834
|
}
|
|
835
835
|
return target;
|
|
@@ -840,7 +840,7 @@
|
|
|
840
840
|
size,
|
|
841
841
|
color,
|
|
842
842
|
boxSize
|
|
843
|
-
} = _b, rest = __objRest$
|
|
843
|
+
} = _b, rest = __objRest$1v(_b, [
|
|
844
844
|
"as",
|
|
845
845
|
"size",
|
|
846
846
|
"color",
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
const styles = react.useStyleConfig("Icon", { size, color, boxSize });
|
|
851
851
|
return /* @__PURE__ */ React.createElement(
|
|
852
852
|
react.Icon,
|
|
853
|
-
__spreadValues$
|
|
853
|
+
__spreadValues$21({
|
|
854
854
|
ref,
|
|
855
855
|
sx: styles
|
|
856
856
|
}, rest),
|
|
@@ -865,30 +865,30 @@
|
|
|
865
865
|
return /* @__PURE__ */ React.createElement(react.chakra.span, { sx: badge }, notificationCount > 999 ? "999+" : notificationCount);
|
|
866
866
|
};
|
|
867
867
|
|
|
868
|
-
var __defProp$
|
|
869
|
-
var __getOwnPropSymbols$
|
|
870
|
-
var __hasOwnProp$
|
|
871
|
-
var __propIsEnum$
|
|
872
|
-
var __defNormalProp$
|
|
873
|
-
var __spreadValues$
|
|
868
|
+
var __defProp$20 = Object.defineProperty;
|
|
869
|
+
var __getOwnPropSymbols$20 = Object.getOwnPropertySymbols;
|
|
870
|
+
var __hasOwnProp$20 = Object.prototype.hasOwnProperty;
|
|
871
|
+
var __propIsEnum$20 = Object.prototype.propertyIsEnumerable;
|
|
872
|
+
var __defNormalProp$20 = (obj, key, value) => key in obj ? __defProp$20(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
873
|
+
var __spreadValues$20 = (a, b) => {
|
|
874
874
|
for (var prop in b || (b = {}))
|
|
875
|
-
if (__hasOwnProp$
|
|
876
|
-
__defNormalProp$
|
|
877
|
-
if (__getOwnPropSymbols$
|
|
878
|
-
for (var prop of __getOwnPropSymbols$
|
|
879
|
-
if (__propIsEnum$
|
|
880
|
-
__defNormalProp$
|
|
875
|
+
if (__hasOwnProp$20.call(b, prop))
|
|
876
|
+
__defNormalProp$20(a, prop, b[prop]);
|
|
877
|
+
if (__getOwnPropSymbols$20)
|
|
878
|
+
for (var prop of __getOwnPropSymbols$20(b)) {
|
|
879
|
+
if (__propIsEnum$20.call(b, prop))
|
|
880
|
+
__defNormalProp$20(a, prop, b[prop]);
|
|
881
881
|
}
|
|
882
882
|
return a;
|
|
883
883
|
};
|
|
884
|
-
var __objRest$
|
|
884
|
+
var __objRest$1u = (source, exclude) => {
|
|
885
885
|
var target = {};
|
|
886
886
|
for (var prop in source)
|
|
887
|
-
if (__hasOwnProp$
|
|
887
|
+
if (__hasOwnProp$20.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
888
888
|
target[prop] = source[prop];
|
|
889
|
-
if (source != null && __getOwnPropSymbols$
|
|
890
|
-
for (var prop of __getOwnPropSymbols$
|
|
891
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum$
|
|
889
|
+
if (source != null && __getOwnPropSymbols$20)
|
|
890
|
+
for (var prop of __getOwnPropSymbols$20(source)) {
|
|
891
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$20.call(source, prop))
|
|
892
892
|
target[prop] = source[prop];
|
|
893
893
|
}
|
|
894
894
|
return target;
|
|
@@ -900,7 +900,7 @@
|
|
|
900
900
|
name,
|
|
901
901
|
image,
|
|
902
902
|
size
|
|
903
|
-
} = _b, rest = __objRest$
|
|
903
|
+
} = _b, rest = __objRest$1u(_b, [
|
|
904
904
|
"variant",
|
|
905
905
|
"notificationCount",
|
|
906
906
|
"name",
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
size,
|
|
914
914
|
name
|
|
915
915
|
});
|
|
916
|
-
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$
|
|
916
|
+
return /* @__PURE__ */ React.createElement(react.Box, __spreadValues$20({ __css: container, "data-testid": "avatar-test-id" }, rest), image ? /* @__PURE__ */ React.createElement(
|
|
917
917
|
react.chakra.img,
|
|
918
918
|
{
|
|
919
919
|
alt: name,
|
|
@@ -930,6 +930,53 @@
|
|
|
930
930
|
), notificationCount > 0 && /* @__PURE__ */ React.createElement(AvatarBadge, { notificationCount }));
|
|
931
931
|
};
|
|
932
932
|
|
|
933
|
+
var __defProp$1$ = Object.defineProperty;
|
|
934
|
+
var __getOwnPropSymbols$1$ = Object.getOwnPropertySymbols;
|
|
935
|
+
var __hasOwnProp$1$ = Object.prototype.hasOwnProperty;
|
|
936
|
+
var __propIsEnum$1$ = Object.prototype.propertyIsEnumerable;
|
|
937
|
+
var __defNormalProp$1$ = (obj, key, value) => key in obj ? __defProp$1$(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
938
|
+
var __spreadValues$1$ = (a, b) => {
|
|
939
|
+
for (var prop in b || (b = {}))
|
|
940
|
+
if (__hasOwnProp$1$.call(b, prop))
|
|
941
|
+
__defNormalProp$1$(a, prop, b[prop]);
|
|
942
|
+
if (__getOwnPropSymbols$1$)
|
|
943
|
+
for (var prop of __getOwnPropSymbols$1$(b)) {
|
|
944
|
+
if (__propIsEnum$1$.call(b, prop))
|
|
945
|
+
__defNormalProp$1$(a, prop, b[prop]);
|
|
946
|
+
}
|
|
947
|
+
return a;
|
|
948
|
+
};
|
|
949
|
+
var __objRest$1t = (source, exclude) => {
|
|
950
|
+
var target = {};
|
|
951
|
+
for (var prop in source)
|
|
952
|
+
if (__hasOwnProp$1$.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
953
|
+
target[prop] = source[prop];
|
|
954
|
+
if (source != null && __getOwnPropSymbols$1$)
|
|
955
|
+
for (var prop of __getOwnPropSymbols$1$(source)) {
|
|
956
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum$1$.call(source, prop))
|
|
957
|
+
target[prop] = source[prop];
|
|
958
|
+
}
|
|
959
|
+
return target;
|
|
960
|
+
};
|
|
961
|
+
const H1$1 = (_a) => {
|
|
962
|
+
var _b = _a, {
|
|
963
|
+
children,
|
|
964
|
+
sx = {}
|
|
965
|
+
} = _b, rest = __objRest$1t(_b, [
|
|
966
|
+
"children",
|
|
967
|
+
"sx"
|
|
968
|
+
]);
|
|
969
|
+
const styles = react.useStyleConfig("H1", { sx });
|
|
970
|
+
return /* @__PURE__ */ React.createElement(
|
|
971
|
+
react.Heading,
|
|
972
|
+
__spreadValues$1$({
|
|
973
|
+
as: "h1",
|
|
974
|
+
sx: styles
|
|
975
|
+
}, rest),
|
|
976
|
+
children
|
|
977
|
+
);
|
|
978
|
+
};
|
|
979
|
+
|
|
933
980
|
var __defProp$1_ = Object.defineProperty;
|
|
934
981
|
var __getOwnPropSymbols$1_ = Object.getOwnPropertySymbols;
|
|
935
982
|
var __hasOwnProp$1_ = Object.prototype.hasOwnProperty;
|
|
@@ -958,7 +1005,7 @@
|
|
|
958
1005
|
}
|
|
959
1006
|
return target;
|
|
960
1007
|
};
|
|
961
|
-
const
|
|
1008
|
+
const H2$1 = (_a) => {
|
|
962
1009
|
var _b = _a, {
|
|
963
1010
|
children,
|
|
964
1011
|
sx = {}
|
|
@@ -966,11 +1013,11 @@
|
|
|
966
1013
|
"children",
|
|
967
1014
|
"sx"
|
|
968
1015
|
]);
|
|
969
|
-
const styles = react.useStyleConfig("
|
|
1016
|
+
const styles = react.useStyleConfig("H2", { sx });
|
|
970
1017
|
return /* @__PURE__ */ React.createElement(
|
|
971
1018
|
react.Heading,
|
|
972
1019
|
__spreadValues$1_({
|
|
973
|
-
as: "
|
|
1020
|
+
as: "h2",
|
|
974
1021
|
sx: styles
|
|
975
1022
|
}, rest),
|
|
976
1023
|
children
|
|
@@ -1005,7 +1052,7 @@
|
|
|
1005
1052
|
}
|
|
1006
1053
|
return target;
|
|
1007
1054
|
};
|
|
1008
|
-
const
|
|
1055
|
+
const H3$1 = (_a) => {
|
|
1009
1056
|
var _b = _a, {
|
|
1010
1057
|
children,
|
|
1011
1058
|
sx = {}
|
|
@@ -1013,11 +1060,11 @@
|
|
|
1013
1060
|
"children",
|
|
1014
1061
|
"sx"
|
|
1015
1062
|
]);
|
|
1016
|
-
const styles = react.useStyleConfig("
|
|
1063
|
+
const styles = react.useStyleConfig("H3", { sx });
|
|
1017
1064
|
return /* @__PURE__ */ React.createElement(
|
|
1018
1065
|
react.Heading,
|
|
1019
1066
|
__spreadValues$1Z({
|
|
1020
|
-
as: "
|
|
1067
|
+
as: "h3",
|
|
1021
1068
|
sx: styles
|
|
1022
1069
|
}, rest),
|
|
1023
1070
|
children
|
|
@@ -1052,7 +1099,7 @@
|
|
|
1052
1099
|
}
|
|
1053
1100
|
return target;
|
|
1054
1101
|
};
|
|
1055
|
-
const
|
|
1102
|
+
const H4$1 = (_a) => {
|
|
1056
1103
|
var _b = _a, {
|
|
1057
1104
|
children,
|
|
1058
1105
|
sx = {}
|
|
@@ -1060,11 +1107,11 @@
|
|
|
1060
1107
|
"children",
|
|
1061
1108
|
"sx"
|
|
1062
1109
|
]);
|
|
1063
|
-
const styles = react.useStyleConfig("
|
|
1110
|
+
const styles = react.useStyleConfig("H4", { sx });
|
|
1064
1111
|
return /* @__PURE__ */ React.createElement(
|
|
1065
1112
|
react.Heading,
|
|
1066
1113
|
__spreadValues$1Y({
|
|
1067
|
-
as: "
|
|
1114
|
+
as: "h4",
|
|
1068
1115
|
sx: styles
|
|
1069
1116
|
}, rest),
|
|
1070
1117
|
children
|
|
@@ -1099,7 +1146,7 @@
|
|
|
1099
1146
|
}
|
|
1100
1147
|
return target;
|
|
1101
1148
|
};
|
|
1102
|
-
const
|
|
1149
|
+
const H5$1 = (_a) => {
|
|
1103
1150
|
var _b = _a, {
|
|
1104
1151
|
children,
|
|
1105
1152
|
sx = {}
|
|
@@ -1107,11 +1154,11 @@
|
|
|
1107
1154
|
"children",
|
|
1108
1155
|
"sx"
|
|
1109
1156
|
]);
|
|
1110
|
-
const styles = react.useStyleConfig("
|
|
1157
|
+
const styles = react.useStyleConfig("H5", { sx });
|
|
1111
1158
|
return /* @__PURE__ */ React.createElement(
|
|
1112
1159
|
react.Heading,
|
|
1113
1160
|
__spreadValues$1X({
|
|
1114
|
-
as: "
|
|
1161
|
+
as: "h5",
|
|
1115
1162
|
sx: styles
|
|
1116
1163
|
}, rest),
|
|
1117
1164
|
children
|
|
@@ -1146,7 +1193,7 @@
|
|
|
1146
1193
|
}
|
|
1147
1194
|
return target;
|
|
1148
1195
|
};
|
|
1149
|
-
const
|
|
1196
|
+
const H6$1 = (_a) => {
|
|
1150
1197
|
var _b = _a, {
|
|
1151
1198
|
children,
|
|
1152
1199
|
sx = {}
|
|
@@ -1154,11 +1201,11 @@
|
|
|
1154
1201
|
"children",
|
|
1155
1202
|
"sx"
|
|
1156
1203
|
]);
|
|
1157
|
-
const styles = react.useStyleConfig("
|
|
1204
|
+
const styles = react.useStyleConfig("H6", { sx });
|
|
1158
1205
|
return /* @__PURE__ */ React.createElement(
|
|
1159
1206
|
react.Heading,
|
|
1160
1207
|
__spreadValues$1W({
|
|
1161
|
-
as: "
|
|
1208
|
+
as: "h6",
|
|
1162
1209
|
sx: styles
|
|
1163
1210
|
}, rest),
|
|
1164
1211
|
children
|
|
@@ -1193,19 +1240,21 @@
|
|
|
1193
1240
|
}
|
|
1194
1241
|
return target;
|
|
1195
1242
|
};
|
|
1196
|
-
const
|
|
1243
|
+
const P$1 = (_a) => {
|
|
1197
1244
|
var _b = _a, {
|
|
1198
1245
|
children,
|
|
1246
|
+
variant = "16",
|
|
1199
1247
|
sx = {}
|
|
1200
1248
|
} = _b, rest = __objRest$1n(_b, [
|
|
1201
1249
|
"children",
|
|
1250
|
+
"variant",
|
|
1202
1251
|
"sx"
|
|
1203
1252
|
]);
|
|
1204
|
-
const styles = react.useStyleConfig("
|
|
1253
|
+
const styles = react.useStyleConfig("P", { variant, sx });
|
|
1205
1254
|
return /* @__PURE__ */ React.createElement(
|
|
1206
|
-
react.
|
|
1255
|
+
react.Text,
|
|
1207
1256
|
__spreadValues$1V({
|
|
1208
|
-
|
|
1257
|
+
variant,
|
|
1209
1258
|
sx: styles
|
|
1210
1259
|
}, rest),
|
|
1211
1260
|
children
|
|
@@ -1240,25 +1289,10 @@
|
|
|
1240
1289
|
}
|
|
1241
1290
|
return target;
|
|
1242
1291
|
};
|
|
1243
|
-
const
|
|
1244
|
-
var _b = _a, {
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
sx = {}
|
|
1248
|
-
} = _b, rest = __objRest$1m(_b, [
|
|
1249
|
-
"children",
|
|
1250
|
-
"variant",
|
|
1251
|
-
"sx"
|
|
1252
|
-
]);
|
|
1253
|
-
const styles = react.useStyleConfig("P", { variant, sx });
|
|
1254
|
-
return /* @__PURE__ */ React.createElement(
|
|
1255
|
-
react.Text,
|
|
1256
|
-
__spreadValues$1U({
|
|
1257
|
-
variant,
|
|
1258
|
-
sx: styles
|
|
1259
|
-
}, rest),
|
|
1260
|
-
children
|
|
1261
|
-
);
|
|
1292
|
+
const Blockquote$1 = (_a) => {
|
|
1293
|
+
var _b = _a, { children, sx = {} } = _b, rest = __objRest$1m(_b, ["children", "sx"]);
|
|
1294
|
+
const styles = react.useStyleConfig("Blockquote", { sx });
|
|
1295
|
+
return /* @__PURE__ */ React.createElement(react.Text, __spreadValues$1U({ as: "span", sx: styles }, rest), children);
|
|
1262
1296
|
};
|
|
1263
1297
|
|
|
1264
1298
|
var __defProp$1T = Object.defineProperty;
|
|
@@ -1289,10 +1323,23 @@
|
|
|
1289
1323
|
}
|
|
1290
1324
|
return target;
|
|
1291
1325
|
};
|
|
1292
|
-
const
|
|
1293
|
-
var _b = _a, {
|
|
1294
|
-
|
|
1295
|
-
|
|
1326
|
+
const Capitalized$1 = (_a) => {
|
|
1327
|
+
var _b = _a, {
|
|
1328
|
+
children,
|
|
1329
|
+
sx = {}
|
|
1330
|
+
} = _b, rest = __objRest$1l(_b, [
|
|
1331
|
+
"children",
|
|
1332
|
+
"sx"
|
|
1333
|
+
]);
|
|
1334
|
+
const styles = react.useStyleConfig("Capitalized", { sx });
|
|
1335
|
+
return /* @__PURE__ */ React.createElement(
|
|
1336
|
+
react.Text,
|
|
1337
|
+
__spreadValues$1T({
|
|
1338
|
+
as: "span",
|
|
1339
|
+
sx: styles
|
|
1340
|
+
}, rest),
|
|
1341
|
+
children
|
|
1342
|
+
);
|
|
1296
1343
|
};
|
|
1297
1344
|
|
|
1298
1345
|
var __defProp$1S = Object.defineProperty;
|
|
@@ -1323,7 +1370,7 @@
|
|
|
1323
1370
|
}
|
|
1324
1371
|
return target;
|
|
1325
1372
|
};
|
|
1326
|
-
const
|
|
1373
|
+
const Lead$1 = (_a) => {
|
|
1327
1374
|
var _b = _a, {
|
|
1328
1375
|
children,
|
|
1329
1376
|
sx = {}
|
|
@@ -1331,7 +1378,7 @@
|
|
|
1331
1378
|
"children",
|
|
1332
1379
|
"sx"
|
|
1333
1380
|
]);
|
|
1334
|
-
const styles = react.useStyleConfig("
|
|
1381
|
+
const styles = react.useStyleConfig("Lead", { sx });
|
|
1335
1382
|
return /* @__PURE__ */ React.createElement(
|
|
1336
1383
|
react.Text,
|
|
1337
1384
|
__spreadValues$1S({
|
|
@@ -1370,7 +1417,7 @@
|
|
|
1370
1417
|
}
|
|
1371
1418
|
return target;
|
|
1372
1419
|
};
|
|
1373
|
-
const
|
|
1420
|
+
const Small$1 = (_a) => {
|
|
1374
1421
|
var _b = _a, {
|
|
1375
1422
|
children,
|
|
1376
1423
|
sx = {}
|
|
@@ -1378,11 +1425,11 @@
|
|
|
1378
1425
|
"children",
|
|
1379
1426
|
"sx"
|
|
1380
1427
|
]);
|
|
1381
|
-
const styles = react.useStyleConfig("
|
|
1428
|
+
const styles = react.useStyleConfig("Small", { sx });
|
|
1382
1429
|
return /* @__PURE__ */ React.createElement(
|
|
1383
1430
|
react.Text,
|
|
1384
1431
|
__spreadValues$1R({
|
|
1385
|
-
as: "
|
|
1432
|
+
as: "small",
|
|
1386
1433
|
sx: styles
|
|
1387
1434
|
}, rest),
|
|
1388
1435
|
children
|
|
@@ -1417,7 +1464,7 @@
|
|
|
1417
1464
|
}
|
|
1418
1465
|
return target;
|
|
1419
1466
|
};
|
|
1420
|
-
const
|
|
1467
|
+
const Tiny$1 = (_a) => {
|
|
1421
1468
|
var _b = _a, {
|
|
1422
1469
|
children,
|
|
1423
1470
|
sx = {}
|
|
@@ -1425,11 +1472,11 @@
|
|
|
1425
1472
|
"children",
|
|
1426
1473
|
"sx"
|
|
1427
1474
|
]);
|
|
1428
|
-
const styles = react.useStyleConfig("
|
|
1475
|
+
const styles = react.useStyleConfig("Tiny", { sx });
|
|
1429
1476
|
return /* @__PURE__ */ React.createElement(
|
|
1430
1477
|
react.Text,
|
|
1431
1478
|
__spreadValues$1Q({
|
|
1432
|
-
as: "
|
|
1479
|
+
as: "span",
|
|
1433
1480
|
sx: styles
|
|
1434
1481
|
}, rest),
|
|
1435
1482
|
children
|
|
@@ -1464,24 +1511,27 @@
|
|
|
1464
1511
|
}
|
|
1465
1512
|
return target;
|
|
1466
1513
|
};
|
|
1467
|
-
const
|
|
1514
|
+
const Label$1 = React.forwardRef((_a, ref) => {
|
|
1468
1515
|
var _b = _a, {
|
|
1469
1516
|
children,
|
|
1517
|
+
size = "sm",
|
|
1470
1518
|
sx = {}
|
|
1471
1519
|
} = _b, rest = __objRest$1h(_b, [
|
|
1472
1520
|
"children",
|
|
1521
|
+
"size",
|
|
1473
1522
|
"sx"
|
|
1474
1523
|
]);
|
|
1475
|
-
const styles = react.useStyleConfig("
|
|
1524
|
+
const styles = react.useStyleConfig("Label", { sx, size });
|
|
1476
1525
|
return /* @__PURE__ */ React.createElement(
|
|
1477
|
-
react.
|
|
1526
|
+
react.FormLabel,
|
|
1478
1527
|
__spreadValues$1P({
|
|
1479
|
-
|
|
1480
|
-
|
|
1528
|
+
sx: styles,
|
|
1529
|
+
requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
|
|
1530
|
+
ref
|
|
1481
1531
|
}, rest),
|
|
1482
1532
|
children
|
|
1483
1533
|
);
|
|
1484
|
-
};
|
|
1534
|
+
});
|
|
1485
1535
|
|
|
1486
1536
|
var __defProp$1O = Object.defineProperty;
|
|
1487
1537
|
var __getOwnPropSymbols$1O = Object.getOwnPropertySymbols;
|
|
@@ -1511,27 +1561,21 @@
|
|
|
1511
1561
|
}
|
|
1512
1562
|
return target;
|
|
1513
1563
|
};
|
|
1514
|
-
const
|
|
1515
|
-
|
|
1516
|
-
children,
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
requiredIndicator: /* @__PURE__ */ React.createElement(react.VisuallyHidden, null),
|
|
1530
|
-
ref
|
|
1531
|
-
}, rest),
|
|
1532
|
-
children
|
|
1533
|
-
);
|
|
1534
|
-
});
|
|
1564
|
+
const NumVal$1 = React.forwardRef(
|
|
1565
|
+
(_a, ref) => {
|
|
1566
|
+
var _b = _a, { children, size = "sm", sx = {} } = _b, rest = __objRest$1g(_b, ["children", "size", "sx"]);
|
|
1567
|
+
const styles = react.useStyleConfig("NumVal", { sx, size });
|
|
1568
|
+
return /* @__PURE__ */ React.createElement(
|
|
1569
|
+
react.Text,
|
|
1570
|
+
__spreadValues$1O({
|
|
1571
|
+
as: "span",
|
|
1572
|
+
sx: styles,
|
|
1573
|
+
ref
|
|
1574
|
+
}, rest),
|
|
1575
|
+
children
|
|
1576
|
+
);
|
|
1577
|
+
}
|
|
1578
|
+
);
|
|
1535
1579
|
|
|
1536
1580
|
const positiveOrZero = ramda.ifElse(ramda.gt(0), ramda.always(0), ramda.identity);
|
|
1537
1581
|
const EMPTY_RECT = {
|
|
@@ -6790,7 +6834,7 @@
|
|
|
6790
6834
|
items: identifierItems,
|
|
6791
6835
|
strategy: strategy || sortable.rectSortingStrategy
|
|
6792
6836
|
},
|
|
6793
|
-
items.map((item) => {
|
|
6837
|
+
items.map((item, index) => {
|
|
6794
6838
|
const id = createKey(item);
|
|
6795
6839
|
return /* @__PURE__ */ React.createElement(
|
|
6796
6840
|
SortableItem,
|
|
@@ -6801,7 +6845,7 @@
|
|
|
6801
6845
|
dblClickThreshold,
|
|
6802
6846
|
disableDrag
|
|
6803
6847
|
},
|
|
6804
|
-
(listeners, props) => typeof children === "function" ? children(item, listeners, props) : children
|
|
6848
|
+
(listeners, props) => typeof children === "function" ? children(item, listeners, props, index) : children
|
|
6805
6849
|
);
|
|
6806
6850
|
})
|
|
6807
6851
|
),
|
|
@@ -10590,6 +10634,98 @@
|
|
|
10590
10634
|
}
|
|
10591
10635
|
};
|
|
10592
10636
|
|
|
10637
|
+
const NumVal = {
|
|
10638
|
+
baseStyle: ({ theme: { sizes: sizing }, sx }) => ramda.merge(
|
|
10639
|
+
{
|
|
10640
|
+
color: "inherit",
|
|
10641
|
+
width: "100%",
|
|
10642
|
+
maxWidth: "100%",
|
|
10643
|
+
marginBottom: sizing[0],
|
|
10644
|
+
marginInlineStart: sizing[0],
|
|
10645
|
+
marginEnd: sizing[0],
|
|
10646
|
+
marginInlineEnd: sizing[0]
|
|
10647
|
+
},
|
|
10648
|
+
sx
|
|
10649
|
+
),
|
|
10650
|
+
sizes: {
|
|
10651
|
+
"2xs": ({ theme, sx }) => {
|
|
10652
|
+
const { tinyMono } = theme.typography.numVal;
|
|
10653
|
+
return ramda.merge(
|
|
10654
|
+
{
|
|
10655
|
+
fontFamily: tinyMono.fontFamily,
|
|
10656
|
+
fontWeight: tinyMono.fontWeight,
|
|
10657
|
+
lineHeight: tinyMono.lineHeight,
|
|
10658
|
+
fontSize: tinyMono.fontSize,
|
|
10659
|
+
letterSpacing: tinyMono.letterSpacing,
|
|
10660
|
+
textTransform: tinyMono.textCase,
|
|
10661
|
+
textDecoration: tinyMono.textDecoration
|
|
10662
|
+
},
|
|
10663
|
+
sx
|
|
10664
|
+
);
|
|
10665
|
+
},
|
|
10666
|
+
xs: ({ theme, sx }) => {
|
|
10667
|
+
const { xsMono } = theme.typography.numVal;
|
|
10668
|
+
return ramda.merge(
|
|
10669
|
+
{
|
|
10670
|
+
fontFamily: xsMono.fontFamily,
|
|
10671
|
+
fontWeight: xsMono.fontWeight,
|
|
10672
|
+
lineHeight: xsMono.lineHeight,
|
|
10673
|
+
fontSize: xsMono.fontSize,
|
|
10674
|
+
letterSpacing: xsMono.letterSpacing,
|
|
10675
|
+
textTransform: xsMono.textCase,
|
|
10676
|
+
textDecoration: xsMono.textDecoration
|
|
10677
|
+
},
|
|
10678
|
+
sx
|
|
10679
|
+
);
|
|
10680
|
+
},
|
|
10681
|
+
sm: ({ theme, sx }) => {
|
|
10682
|
+
const { smMono } = theme.typography.numVal;
|
|
10683
|
+
return ramda.merge(
|
|
10684
|
+
{
|
|
10685
|
+
fontFamily: smMono.fontFamily,
|
|
10686
|
+
fontWeight: smMono.fontWeight,
|
|
10687
|
+
lineHeight: smMono.lineHeight,
|
|
10688
|
+
fontSize: smMono.fontSize,
|
|
10689
|
+
letterSpacing: smMono.letterSpacing,
|
|
10690
|
+
textTransform: smMono.textCase,
|
|
10691
|
+
textDecoration: smMono.textDecoration
|
|
10692
|
+
},
|
|
10693
|
+
sx
|
|
10694
|
+
);
|
|
10695
|
+
},
|
|
10696
|
+
md: ({ theme, sx }) => {
|
|
10697
|
+
const { mdMono } = theme.typography.numVal;
|
|
10698
|
+
return ramda.merge(
|
|
10699
|
+
{
|
|
10700
|
+
fontFamily: mdMono.fontFamily,
|
|
10701
|
+
fontWeight: mdMono.fontWeight,
|
|
10702
|
+
lineHeight: mdMono.lineHeight,
|
|
10703
|
+
fontSize: mdMono.fontSize,
|
|
10704
|
+
letterSpacing: mdMono.letterSpacing,
|
|
10705
|
+
textTransform: mdMono.textCase,
|
|
10706
|
+
textDecoration: mdMono.textDecoration
|
|
10707
|
+
},
|
|
10708
|
+
sx
|
|
10709
|
+
);
|
|
10710
|
+
},
|
|
10711
|
+
lg: ({ theme, sx }) => {
|
|
10712
|
+
const { lgMono } = theme.typography.numVal;
|
|
10713
|
+
return ramda.merge(
|
|
10714
|
+
{
|
|
10715
|
+
fontFamily: lgMono.fontFamily,
|
|
10716
|
+
fontWeight: lgMono.fontWeight,
|
|
10717
|
+
lineHeight: lgMono.lineHeight,
|
|
10718
|
+
fontSize: lgMono.fontSize,
|
|
10719
|
+
letterSpacing: lgMono.letterSpacing,
|
|
10720
|
+
textTransform: lgMono.textCase,
|
|
10721
|
+
textDecoration: lgMono.textDecoration
|
|
10722
|
+
},
|
|
10723
|
+
sx
|
|
10724
|
+
);
|
|
10725
|
+
}
|
|
10726
|
+
}
|
|
10727
|
+
};
|
|
10728
|
+
|
|
10593
10729
|
const SplitPane$1 = {
|
|
10594
10730
|
baseStyle: ({ minLeftWidth, minRightWidth, initialSplit, isOpen }) => ({
|
|
10595
10731
|
display: "grid",
|
|
@@ -10946,6 +11082,7 @@
|
|
|
10946
11082
|
Link: Link,
|
|
10947
11083
|
Modal: Modal,
|
|
10948
11084
|
NotificationIconButton: NotificationIconButton$1,
|
|
11085
|
+
NumVal: NumVal,
|
|
10949
11086
|
NumberInput: NumberInput$1,
|
|
10950
11087
|
P: P,
|
|
10951
11088
|
PaneDivider: PaneDivider$1,
|
|
@@ -13743,6 +13880,7 @@
|
|
|
13743
13880
|
exports.MultiFileUploader = MultiFileUploader;
|
|
13744
13881
|
exports.MultiSort = MultiSort;
|
|
13745
13882
|
exports.NotificationIconButton = NotificationIconButton;
|
|
13883
|
+
exports.NumVal = NumVal$1;
|
|
13746
13884
|
exports.NumberInput = NumberInput;
|
|
13747
13885
|
exports.NumberInputField = NumberInputField;
|
|
13748
13886
|
exports.OrganizationLogo = OrganizationLogo;
|