@lumx/react 4.3.1 → 4.3.2-alpha.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/CONTRIBUTING.md +0 -12
- package/index.d.ts +170 -97
- package/index.js +446 -293
- package/index.js.map +1 -1
- package/package.json +4 -3
package/index.js
CHANGED
|
@@ -96,7 +96,7 @@ const CONFIG$1 = {
|
|
|
96
96
|
/**
|
|
97
97
|
* Component display name.
|
|
98
98
|
*/
|
|
99
|
-
const COMPONENT_NAME$
|
|
99
|
+
const COMPONENT_NAME$1l = 'AlertDialog';
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
102
|
* Component default class name and class prefix.
|
|
@@ -109,7 +109,7 @@ const {
|
|
|
109
109
|
/**
|
|
110
110
|
* Component default props.
|
|
111
111
|
*/
|
|
112
|
-
const DEFAULT_PROPS$
|
|
112
|
+
const DEFAULT_PROPS$19 = {
|
|
113
113
|
size: Size$1.tiny,
|
|
114
114
|
kind: Kind$1.info
|
|
115
115
|
};
|
|
@@ -130,8 +130,8 @@ const AlertDialog = forwardRef((props, ref) => {
|
|
|
130
130
|
className,
|
|
131
131
|
cancelProps,
|
|
132
132
|
confirmProps,
|
|
133
|
-
kind = DEFAULT_PROPS$
|
|
134
|
-
size = DEFAULT_PROPS$
|
|
133
|
+
kind = DEFAULT_PROPS$19.kind,
|
|
134
|
+
size = DEFAULT_PROPS$19.size,
|
|
135
135
|
dialogProps,
|
|
136
136
|
children,
|
|
137
137
|
...forwardedProps
|
|
@@ -217,9 +217,9 @@ const AlertDialog = forwardRef((props, ref) => {
|
|
|
217
217
|
})]
|
|
218
218
|
});
|
|
219
219
|
});
|
|
220
|
-
AlertDialog.displayName = COMPONENT_NAME$
|
|
220
|
+
AlertDialog.displayName = COMPONENT_NAME$1l;
|
|
221
221
|
AlertDialog.className = CLASSNAME$1j;
|
|
222
|
-
AlertDialog.defaultProps = DEFAULT_PROPS$
|
|
222
|
+
AlertDialog.defaultProps = DEFAULT_PROPS$19;
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* Hook focusing an element when defined and `focus` boolean `true`.
|
|
@@ -311,7 +311,7 @@ function useDisableStateProps(props) {
|
|
|
311
311
|
/**
|
|
312
312
|
* Component display name.
|
|
313
313
|
*/
|
|
314
|
-
const COMPONENT_NAME$
|
|
314
|
+
const COMPONENT_NAME$1k = 'Autocomplete';
|
|
315
315
|
|
|
316
316
|
/**
|
|
317
317
|
* Component default class name and class prefix.
|
|
@@ -321,7 +321,7 @@ const CLASSNAME$1i = 'lumx-autocomplete';
|
|
|
321
321
|
/**
|
|
322
322
|
* Component default props.
|
|
323
323
|
*/
|
|
324
|
-
const DEFAULT_PROPS$
|
|
324
|
+
const DEFAULT_PROPS$18 = {
|
|
325
325
|
anchorToInput: false,
|
|
326
326
|
closeOnClick: false,
|
|
327
327
|
closeOnClickAway: true,
|
|
@@ -343,13 +343,13 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
343
343
|
otherProps
|
|
344
344
|
} = useDisableStateProps(props);
|
|
345
345
|
const {
|
|
346
|
-
anchorToInput = DEFAULT_PROPS$
|
|
346
|
+
anchorToInput = DEFAULT_PROPS$18.anchorToInput,
|
|
347
347
|
children,
|
|
348
348
|
chips,
|
|
349
349
|
className,
|
|
350
|
-
closeOnClick = DEFAULT_PROPS$
|
|
351
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
352
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
350
|
+
closeOnClick = DEFAULT_PROPS$18.closeOnClick,
|
|
351
|
+
closeOnClickAway = DEFAULT_PROPS$18.closeOnClickAway,
|
|
352
|
+
closeOnEscape = DEFAULT_PROPS$18.closeOnEscape,
|
|
353
353
|
error,
|
|
354
354
|
fitToAnchorWidth,
|
|
355
355
|
hasError,
|
|
@@ -370,7 +370,7 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
370
370
|
onInfiniteScroll,
|
|
371
371
|
placeholder,
|
|
372
372
|
placement,
|
|
373
|
-
shouldFocusOnClose = DEFAULT_PROPS$
|
|
373
|
+
shouldFocusOnClose = DEFAULT_PROPS$18.shouldFocusOnClose,
|
|
374
374
|
theme = defaultTheme,
|
|
375
375
|
value,
|
|
376
376
|
textFieldProps = {},
|
|
@@ -423,14 +423,14 @@ const Autocomplete = forwardRef((props, ref) => {
|
|
|
423
423
|
})]
|
|
424
424
|
});
|
|
425
425
|
});
|
|
426
|
-
Autocomplete.displayName = COMPONENT_NAME$
|
|
426
|
+
Autocomplete.displayName = COMPONENT_NAME$1k;
|
|
427
427
|
Autocomplete.className = CLASSNAME$1i;
|
|
428
|
-
Autocomplete.defaultProps = DEFAULT_PROPS$
|
|
428
|
+
Autocomplete.defaultProps = DEFAULT_PROPS$18;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* Component display name.
|
|
432
432
|
*/
|
|
433
|
-
const COMPONENT_NAME$
|
|
433
|
+
const COMPONENT_NAME$1j = 'AutocompleteMultiple';
|
|
434
434
|
|
|
435
435
|
/**
|
|
436
436
|
* Component default class name and class prefix.
|
|
@@ -440,7 +440,7 @@ const CLASSNAME$1h = 'lumx-autocomplete-multiple';
|
|
|
440
440
|
/**
|
|
441
441
|
* Component default props.
|
|
442
442
|
*/
|
|
443
|
-
const DEFAULT_PROPS$
|
|
443
|
+
const DEFAULT_PROPS$17 = {
|
|
444
444
|
closeOnClickAway: true,
|
|
445
445
|
closeOnEscape: true,
|
|
446
446
|
selectedChipRender(choice, index, onClear, isDisabled) {
|
|
@@ -480,8 +480,8 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
480
480
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
481
481
|
chipsAlignment,
|
|
482
482
|
className,
|
|
483
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
484
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
483
|
+
closeOnClickAway = DEFAULT_PROPS$17.closeOnClickAway,
|
|
484
|
+
closeOnEscape = DEFAULT_PROPS$17.closeOnEscape,
|
|
485
485
|
fitToAnchorWidth,
|
|
486
486
|
hasError,
|
|
487
487
|
helper,
|
|
@@ -503,12 +503,12 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
503
503
|
onKeyDown,
|
|
504
504
|
placeholder,
|
|
505
505
|
placement,
|
|
506
|
-
selectedChipRender = DEFAULT_PROPS$
|
|
506
|
+
selectedChipRender = DEFAULT_PROPS$17.selectedChipRender,
|
|
507
507
|
shouldFocusOnClose,
|
|
508
508
|
theme = defaultTheme,
|
|
509
509
|
type,
|
|
510
510
|
value,
|
|
511
|
-
values = DEFAULT_PROPS$
|
|
511
|
+
values = DEFAULT_PROPS$17.values,
|
|
512
512
|
...forwardedProps
|
|
513
513
|
} = otherProps;
|
|
514
514
|
return /*#__PURE__*/jsx(Autocomplete, {
|
|
@@ -548,14 +548,14 @@ const AutocompleteMultiple = forwardRef((props, ref) => {
|
|
|
548
548
|
children: children
|
|
549
549
|
});
|
|
550
550
|
});
|
|
551
|
-
AutocompleteMultiple.displayName = COMPONENT_NAME$
|
|
551
|
+
AutocompleteMultiple.displayName = COMPONENT_NAME$1j;
|
|
552
552
|
AutocompleteMultiple.className = CLASSNAME$1h;
|
|
553
|
-
AutocompleteMultiple.defaultProps = DEFAULT_PROPS$
|
|
553
|
+
AutocompleteMultiple.defaultProps = DEFAULT_PROPS$17;
|
|
554
554
|
|
|
555
555
|
/**
|
|
556
556
|
* Component display name.
|
|
557
557
|
*/
|
|
558
|
-
const COMPONENT_NAME$
|
|
558
|
+
const COMPONENT_NAME$1i = 'Avatar';
|
|
559
559
|
|
|
560
560
|
/**
|
|
561
561
|
* Component default class name and class prefix.
|
|
@@ -569,7 +569,7 @@ const {
|
|
|
569
569
|
/**
|
|
570
570
|
* Component default props.
|
|
571
571
|
*/
|
|
572
|
-
const DEFAULT_PROPS$
|
|
572
|
+
const DEFAULT_PROPS$16 = {
|
|
573
573
|
size: Size$1.m
|
|
574
574
|
};
|
|
575
575
|
|
|
@@ -592,7 +592,7 @@ const Avatar = forwardRef((props, ref) => {
|
|
|
592
592
|
linkAs,
|
|
593
593
|
onClick,
|
|
594
594
|
onKeyPress,
|
|
595
|
-
size = DEFAULT_PROPS$
|
|
595
|
+
size = DEFAULT_PROPS$16.size,
|
|
596
596
|
theme = defaultTheme,
|
|
597
597
|
thumbnailProps,
|
|
598
598
|
...forwardedProps
|
|
@@ -625,84 +625,9 @@ const Avatar = forwardRef((props, ref) => {
|
|
|
625
625
|
})]
|
|
626
626
|
});
|
|
627
627
|
});
|
|
628
|
-
Avatar.displayName = COMPONENT_NAME$
|
|
628
|
+
Avatar.displayName = COMPONENT_NAME$1i;
|
|
629
629
|
Avatar.className = CLASSNAME$1g;
|
|
630
|
-
Avatar.defaultProps = DEFAULT_PROPS$
|
|
631
|
-
|
|
632
|
-
/**
|
|
633
|
-
* Component display name.
|
|
634
|
-
*/
|
|
635
|
-
const COMPONENT_NAME$1g = 'Badge';
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Component default class name and class prefix.
|
|
639
|
-
*/
|
|
640
|
-
const CLASSNAME$1f = 'lumx-badge';
|
|
641
|
-
const {
|
|
642
|
-
block: block$12
|
|
643
|
-
} = classNames.bem(CLASSNAME$1f);
|
|
644
|
-
|
|
645
|
-
/**
|
|
646
|
-
* Component default props.
|
|
647
|
-
*/
|
|
648
|
-
const DEFAULT_PROPS$14 = {
|
|
649
|
-
color: ColorPalette$1.primary
|
|
650
|
-
};
|
|
651
|
-
|
|
652
|
-
/**
|
|
653
|
-
* Badge component.
|
|
654
|
-
*
|
|
655
|
-
* @param props Component props.
|
|
656
|
-
* @param ref Component ref.
|
|
657
|
-
* @return React element.
|
|
658
|
-
*/
|
|
659
|
-
const Badge = forwardRef((props, ref) => {
|
|
660
|
-
const {
|
|
661
|
-
children,
|
|
662
|
-
className,
|
|
663
|
-
color = DEFAULT_PROPS$14.color,
|
|
664
|
-
...forwardedProps
|
|
665
|
-
} = props;
|
|
666
|
-
return /*#__PURE__*/jsx("div", {
|
|
667
|
-
ref: ref,
|
|
668
|
-
...forwardedProps,
|
|
669
|
-
className: classNames.join(className, block$12({
|
|
670
|
-
[`color-${color}`]: Boolean(color)
|
|
671
|
-
})),
|
|
672
|
-
children: children
|
|
673
|
-
});
|
|
674
|
-
});
|
|
675
|
-
Badge.displayName = COMPONENT_NAME$1g;
|
|
676
|
-
Badge.className = CLASSNAME$1f;
|
|
677
|
-
Badge.defaultProps = DEFAULT_PROPS$14;
|
|
678
|
-
|
|
679
|
-
/**
|
|
680
|
-
* Component default class name and class prefix.
|
|
681
|
-
*/
|
|
682
|
-
const CLASSNAME$1e = 'lumx-badge-wrapper';
|
|
683
|
-
const {
|
|
684
|
-
block: block$11,
|
|
685
|
-
element: element$M
|
|
686
|
-
} = classNames.bem(CLASSNAME$1e);
|
|
687
|
-
const BadgeWrapper = forwardRef((props, ref) => {
|
|
688
|
-
const {
|
|
689
|
-
badge,
|
|
690
|
-
children,
|
|
691
|
-
className,
|
|
692
|
-
...forwardedProps
|
|
693
|
-
} = props;
|
|
694
|
-
return /*#__PURE__*/jsxs("div", {
|
|
695
|
-
ref: ref,
|
|
696
|
-
...forwardedProps,
|
|
697
|
-
className: classNames.join(className, block$11()),
|
|
698
|
-
children: [children, badge && /*#__PURE__*/jsx("div", {
|
|
699
|
-
className: element$M('badge'),
|
|
700
|
-
children: badge
|
|
701
|
-
})]
|
|
702
|
-
});
|
|
703
|
-
});
|
|
704
|
-
BadgeWrapper.displayName = 'BadgeWrapper';
|
|
705
|
-
BadgeWrapper.className = CLASSNAME$1e;
|
|
630
|
+
Avatar.defaultProps = DEFAULT_PROPS$16;
|
|
706
631
|
|
|
707
632
|
/**
|
|
708
633
|
* Alignments.
|
|
@@ -926,7 +851,7 @@ function modifier$1(baseName, modifiers) {
|
|
|
926
851
|
* block('button', { active: true, disabled: false }); // 'button button--active'
|
|
927
852
|
*/
|
|
928
853
|
|
|
929
|
-
function block$
|
|
854
|
+
function block$12(baseName, modifiersOrAdditionalClasses, additionalClasses) {
|
|
930
855
|
let modifiers;
|
|
931
856
|
let classes;
|
|
932
857
|
if (Array.isArray(modifiersOrAdditionalClasses)) {
|
|
@@ -961,11 +886,11 @@ function block$10(baseName, modifiersOrAdditionalClasses, additionalClasses) {
|
|
|
961
886
|
* element('my-button', 'icon', { active: true }); // 'my-button__icon my-button__icon--active'
|
|
962
887
|
*/
|
|
963
888
|
|
|
964
|
-
function element$
|
|
889
|
+
function element$M(baseClass, elem, modifiersOrAdditionalClasses, additionalClasses) {
|
|
965
890
|
if (Array.isArray(modifiersOrAdditionalClasses)) {
|
|
966
|
-
return block$
|
|
891
|
+
return block$12(`${baseClass}__${elem}`, modifiersOrAdditionalClasses);
|
|
967
892
|
}
|
|
968
|
-
return block$
|
|
893
|
+
return block$12(`${baseClass}__${elem}`, modifiersOrAdditionalClasses, additionalClasses);
|
|
969
894
|
}
|
|
970
895
|
|
|
971
896
|
/**
|
|
@@ -974,15 +899,15 @@ function element$L(baseClass, elem, modifiersOrAdditionalClasses, additionalClas
|
|
|
974
899
|
function bem(baseName) {
|
|
975
900
|
function blockFn(modifiersOrAdditionalClasses, additionalClasses) {
|
|
976
901
|
if (Array.isArray(modifiersOrAdditionalClasses)) {
|
|
977
|
-
return block$
|
|
902
|
+
return block$12(baseName, modifiersOrAdditionalClasses);
|
|
978
903
|
}
|
|
979
|
-
return block$
|
|
904
|
+
return block$12(baseName, modifiersOrAdditionalClasses, additionalClasses);
|
|
980
905
|
}
|
|
981
906
|
function elementFn(elem, modifiersOrAdditionalClasses, additionalClasses) {
|
|
982
907
|
if (Array.isArray(modifiersOrAdditionalClasses)) {
|
|
983
|
-
return element$
|
|
908
|
+
return element$M(baseName, elem, modifiersOrAdditionalClasses);
|
|
984
909
|
}
|
|
985
|
-
return element$
|
|
910
|
+
return element$M(baseName, elem, modifiersOrAdditionalClasses, additionalClasses);
|
|
986
911
|
}
|
|
987
912
|
return {
|
|
988
913
|
block: blockFn,
|
|
@@ -991,6 +916,108 @@ function bem(baseName) {
|
|
|
991
916
|
};
|
|
992
917
|
}
|
|
993
918
|
|
|
919
|
+
/**
|
|
920
|
+
* Component display name.
|
|
921
|
+
*/
|
|
922
|
+
const COMPONENT_NAME$1h = 'Badge';
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Component default class name and class prefix.
|
|
926
|
+
*/
|
|
927
|
+
const CLASSNAME$1f = 'lumx-badge';
|
|
928
|
+
const {
|
|
929
|
+
block: block$11
|
|
930
|
+
} = bem(CLASSNAME$1f);
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Component default props.
|
|
934
|
+
*/
|
|
935
|
+
const DEFAULT_PROPS$15 = {
|
|
936
|
+
color: ColorPalette.primary
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* Badge component.
|
|
941
|
+
*
|
|
942
|
+
* @param props Component props.
|
|
943
|
+
* @return JSX element.
|
|
944
|
+
*/
|
|
945
|
+
const Badge$1 = props => {
|
|
946
|
+
const {
|
|
947
|
+
children,
|
|
948
|
+
className,
|
|
949
|
+
color = DEFAULT_PROPS$15.color,
|
|
950
|
+
ref,
|
|
951
|
+
...forwardedProps
|
|
952
|
+
} = props;
|
|
953
|
+
return /*#__PURE__*/jsx("div", {
|
|
954
|
+
ref: ref,
|
|
955
|
+
...forwardedProps,
|
|
956
|
+
className: classnames(className, block$11({
|
|
957
|
+
[`color-${color}`]: Boolean(color)
|
|
958
|
+
})),
|
|
959
|
+
children: children
|
|
960
|
+
});
|
|
961
|
+
};
|
|
962
|
+
Badge$1.displayName = COMPONENT_NAME$1h;
|
|
963
|
+
Badge$1.className = CLASSNAME$1f;
|
|
964
|
+
Badge$1.defaultProps = DEFAULT_PROPS$15;
|
|
965
|
+
|
|
966
|
+
/**
|
|
967
|
+
* Defines the props of the component.
|
|
968
|
+
*/
|
|
969
|
+
|
|
970
|
+
/**
|
|
971
|
+
* Badge component.
|
|
972
|
+
*
|
|
973
|
+
* @param props Component props.
|
|
974
|
+
* @param ref Component ref.
|
|
975
|
+
* @return React element.
|
|
976
|
+
*/
|
|
977
|
+
const Badge = forwardRef((props, ref) => {
|
|
978
|
+
return Badge$1({
|
|
979
|
+
...props,
|
|
980
|
+
ref
|
|
981
|
+
});
|
|
982
|
+
});
|
|
983
|
+
Badge.displayName = Badge$1.displayName;
|
|
984
|
+
Badge.className = Badge$1.className;
|
|
985
|
+
Badge.defaultProps = Badge$1.defaultProps;
|
|
986
|
+
|
|
987
|
+
const COMPONENT_NAME$1g = 'BadgeWrapper';
|
|
988
|
+
const CLASSNAME$1e = 'lumx-badge-wrapper';
|
|
989
|
+
const {
|
|
990
|
+
block: block$10,
|
|
991
|
+
element: element$L
|
|
992
|
+
} = bem(CLASSNAME$1e);
|
|
993
|
+
const BadgeWrapper$1 = props => {
|
|
994
|
+
const {
|
|
995
|
+
badge,
|
|
996
|
+
children,
|
|
997
|
+
className,
|
|
998
|
+
ref,
|
|
999
|
+
...forwardedProps
|
|
1000
|
+
} = props;
|
|
1001
|
+
return /*#__PURE__*/jsxs("div", {
|
|
1002
|
+
ref: ref,
|
|
1003
|
+
...forwardedProps,
|
|
1004
|
+
className: classnames(className, block$10()),
|
|
1005
|
+
children: [children, badge && /*#__PURE__*/jsx("div", {
|
|
1006
|
+
className: element$L('badge'),
|
|
1007
|
+
children: badge
|
|
1008
|
+
})]
|
|
1009
|
+
});
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
const BadgeWrapper = forwardRef((props, ref) => {
|
|
1013
|
+
return BadgeWrapper$1({
|
|
1014
|
+
...props,
|
|
1015
|
+
ref
|
|
1016
|
+
});
|
|
1017
|
+
});
|
|
1018
|
+
BadgeWrapper.displayName = COMPONENT_NAME$1g;
|
|
1019
|
+
BadgeWrapper.className = CLASSNAME$1e;
|
|
1020
|
+
|
|
994
1021
|
/**
|
|
995
1022
|
* Render clickable element (link, button or custom element)
|
|
996
1023
|
* (also does some basic disabled state handling)
|
|
@@ -1158,7 +1185,7 @@ const {
|
|
|
1158
1185
|
/**
|
|
1159
1186
|
* Component default props.
|
|
1160
1187
|
*/
|
|
1161
|
-
const DEFAULT_PROPS$
|
|
1188
|
+
const DEFAULT_PROPS$14 = {
|
|
1162
1189
|
emphasis: Emphasis.high,
|
|
1163
1190
|
size: Size.m
|
|
1164
1191
|
};
|
|
@@ -1172,10 +1199,10 @@ const DEFAULT_PROPS$13 = {
|
|
|
1172
1199
|
const Button$1 = props => {
|
|
1173
1200
|
const {
|
|
1174
1201
|
className,
|
|
1175
|
-
emphasis = DEFAULT_PROPS$
|
|
1202
|
+
emphasis = DEFAULT_PROPS$14.emphasis,
|
|
1176
1203
|
leftIcon,
|
|
1177
1204
|
rightIcon,
|
|
1178
|
-
size = DEFAULT_PROPS$
|
|
1205
|
+
size = DEFAULT_PROPS$14.size,
|
|
1179
1206
|
...forwardedProps
|
|
1180
1207
|
} = props;
|
|
1181
1208
|
const buttonClassName = classnames(className, modifier({
|
|
@@ -1192,7 +1219,7 @@ const Button$1 = props => {
|
|
|
1192
1219
|
};
|
|
1193
1220
|
Button$1.displayName = COMPONENT_NAME$1e;
|
|
1194
1221
|
Button$1.className = CLASSNAME$1d;
|
|
1195
|
-
Button$1.defaultProps = DEFAULT_PROPS$
|
|
1222
|
+
Button$1.defaultProps = DEFAULT_PROPS$14;
|
|
1196
1223
|
|
|
1197
1224
|
/**
|
|
1198
1225
|
* Properties of a component to use to determine it's name.
|
|
@@ -1260,7 +1287,7 @@ const Button = forwardRef((props, ref) => {
|
|
|
1260
1287
|
});
|
|
1261
1288
|
Button.displayName = COMPONENT_NAME$1e;
|
|
1262
1289
|
Button.className = CLASSNAME$1d;
|
|
1263
|
-
Button.defaultProps = DEFAULT_PROPS$
|
|
1290
|
+
Button.defaultProps = DEFAULT_PROPS$14;
|
|
1264
1291
|
|
|
1265
1292
|
const COMPONENT_NAME$1d = 'Icon';
|
|
1266
1293
|
const IconClassName = 'lumx-icon';
|
|
@@ -1277,7 +1304,7 @@ const {
|
|
|
1277
1304
|
/**
|
|
1278
1305
|
* Component default props.
|
|
1279
1306
|
*/
|
|
1280
|
-
const DEFAULT_PROPS$
|
|
1307
|
+
const DEFAULT_PROPS$13 = {};
|
|
1281
1308
|
|
|
1282
1309
|
/**
|
|
1283
1310
|
* Icon component.
|
|
@@ -1357,7 +1384,7 @@ const Icon$1 = props => {
|
|
|
1357
1384
|
};
|
|
1358
1385
|
Icon$1.displayName = COMPONENT_NAME$1d;
|
|
1359
1386
|
Icon$1.className = CLASSNAME$1c;
|
|
1360
|
-
Icon$1.defaultProps = DEFAULT_PROPS$
|
|
1387
|
+
Icon$1.defaultProps = DEFAULT_PROPS$13;
|
|
1361
1388
|
|
|
1362
1389
|
/**
|
|
1363
1390
|
* Component display name.
|
|
@@ -1372,7 +1399,7 @@ const CLASSNAME$1b = 'lumx-icon-button';
|
|
|
1372
1399
|
/**
|
|
1373
1400
|
* Component default props.
|
|
1374
1401
|
*/
|
|
1375
|
-
const DEFAULT_PROPS$
|
|
1402
|
+
const DEFAULT_PROPS$12 = {
|
|
1376
1403
|
emphasis: Emphasis.high,
|
|
1377
1404
|
size: Size.m
|
|
1378
1405
|
};
|
|
@@ -1385,11 +1412,11 @@ const DEFAULT_PROPS$11 = {
|
|
|
1385
1412
|
*/
|
|
1386
1413
|
const IconButton$1 = props => {
|
|
1387
1414
|
const {
|
|
1388
|
-
emphasis = DEFAULT_PROPS$
|
|
1415
|
+
emphasis = DEFAULT_PROPS$12.emphasis,
|
|
1389
1416
|
image,
|
|
1390
1417
|
icon,
|
|
1391
1418
|
label,
|
|
1392
|
-
size = DEFAULT_PROPS$
|
|
1419
|
+
size = DEFAULT_PROPS$12.size,
|
|
1393
1420
|
...forwardedProps
|
|
1394
1421
|
} = props;
|
|
1395
1422
|
const defaultChildren = image ? /*#__PURE__*/jsx("img", {
|
|
@@ -1410,7 +1437,7 @@ const IconButton$1 = props => {
|
|
|
1410
1437
|
};
|
|
1411
1438
|
IconButton$1.displayName = COMPONENT_NAME$1c;
|
|
1412
1439
|
IconButton$1.className = CLASSNAME$1b;
|
|
1413
|
-
IconButton$1.defaultProps = DEFAULT_PROPS$
|
|
1440
|
+
IconButton$1.defaultProps = DEFAULT_PROPS$12;
|
|
1414
1441
|
|
|
1415
1442
|
/**
|
|
1416
1443
|
* IconButton component.
|
|
@@ -1447,7 +1474,7 @@ const IconButton = forwardRef((props, ref) => {
|
|
|
1447
1474
|
});
|
|
1448
1475
|
IconButton.displayName = COMPONENT_NAME$1c;
|
|
1449
1476
|
IconButton.className = CLASSNAME$1b;
|
|
1450
|
-
IconButton.defaultProps = DEFAULT_PROPS$
|
|
1477
|
+
IconButton.defaultProps = DEFAULT_PROPS$12;
|
|
1451
1478
|
|
|
1452
1479
|
/**
|
|
1453
1480
|
* Component display name.
|
|
@@ -1462,7 +1489,7 @@ const CLASSNAME$1a = 'lumx-button-group';
|
|
|
1462
1489
|
/**
|
|
1463
1490
|
* Component default props.
|
|
1464
1491
|
*/
|
|
1465
|
-
const DEFAULT_PROPS$
|
|
1492
|
+
const DEFAULT_PROPS$11 = {};
|
|
1466
1493
|
|
|
1467
1494
|
/**
|
|
1468
1495
|
* ButtonGroup component.
|
|
@@ -1484,7 +1511,7 @@ const ButtonGroup$1 = props => {
|
|
|
1484
1511
|
};
|
|
1485
1512
|
ButtonGroup$1.displayName = COMPONENT_NAME$1b;
|
|
1486
1513
|
ButtonGroup$1.className = CLASSNAME$1a;
|
|
1487
|
-
ButtonGroup$1.defaultProps = DEFAULT_PROPS$
|
|
1514
|
+
ButtonGroup$1.defaultProps = DEFAULT_PROPS$11;
|
|
1488
1515
|
|
|
1489
1516
|
/**
|
|
1490
1517
|
* ButtonGroup component.
|
|
@@ -1501,7 +1528,7 @@ const ButtonGroup = forwardRef((props, ref) => {
|
|
|
1501
1528
|
});
|
|
1502
1529
|
ButtonGroup.displayName = COMPONENT_NAME$1b;
|
|
1503
1530
|
ButtonGroup.className = CLASSNAME$1a;
|
|
1504
|
-
ButtonGroup.defaultProps = DEFAULT_PROPS$
|
|
1531
|
+
ButtonGroup.defaultProps = DEFAULT_PROPS$11;
|
|
1505
1532
|
|
|
1506
1533
|
const COMPONENT_NAME$1a = 'InputLabel';
|
|
1507
1534
|
const InputLabelClassName = 'lumx-input-label';
|
|
@@ -1509,7 +1536,7 @@ const CLASSNAME$19 = InputLabelClassName;
|
|
|
1509
1536
|
const {
|
|
1510
1537
|
block: block$_
|
|
1511
1538
|
} = bem(CLASSNAME$19);
|
|
1512
|
-
const DEFAULT_PROPS
|
|
1539
|
+
const DEFAULT_PROPS$10 = {};
|
|
1513
1540
|
|
|
1514
1541
|
/**
|
|
1515
1542
|
* InputLabel component.
|
|
@@ -1539,7 +1566,7 @@ function InputLabel$1(props) {
|
|
|
1539
1566
|
}
|
|
1540
1567
|
InputLabel$1.displayName = COMPONENT_NAME$1a;
|
|
1541
1568
|
InputLabel$1.className = CLASSNAME$19;
|
|
1542
|
-
InputLabel$1.defaultProps = DEFAULT_PROPS
|
|
1569
|
+
InputLabel$1.defaultProps = DEFAULT_PROPS$10;
|
|
1543
1570
|
|
|
1544
1571
|
const INPUT_HELPER_CONFIGURATION = {
|
|
1545
1572
|
[Kind.error]: {
|
|
@@ -1568,7 +1595,7 @@ const {
|
|
|
1568
1595
|
/**
|
|
1569
1596
|
* Component default props.
|
|
1570
1597
|
*/
|
|
1571
|
-
const DEFAULT_PROPS
|
|
1598
|
+
const DEFAULT_PROPS$$ = {
|
|
1572
1599
|
kind: Kind.info
|
|
1573
1600
|
};
|
|
1574
1601
|
|
|
@@ -1579,7 +1606,7 @@ function InputHelper$1(props) {
|
|
|
1579
1606
|
const {
|
|
1580
1607
|
children,
|
|
1581
1608
|
className,
|
|
1582
|
-
kind = DEFAULT_PROPS
|
|
1609
|
+
kind = DEFAULT_PROPS$$.kind,
|
|
1583
1610
|
theme,
|
|
1584
1611
|
ref,
|
|
1585
1612
|
...forwardedProps
|
|
@@ -1599,7 +1626,7 @@ function InputHelper$1(props) {
|
|
|
1599
1626
|
}
|
|
1600
1627
|
InputHelper$1.displayName = COMPONENT_NAME$19;
|
|
1601
1628
|
InputHelper$1.className = CLASSNAME$18;
|
|
1602
|
-
InputHelper$1.defaultProps = DEFAULT_PROPS
|
|
1629
|
+
InputHelper$1.defaultProps = DEFAULT_PROPS$$;
|
|
1603
1630
|
|
|
1604
1631
|
const INTERMEDIATE_STATE = 'intermediate';
|
|
1605
1632
|
|
|
@@ -1714,7 +1741,7 @@ const Checkbox$1 = props => {
|
|
|
1714
1741
|
/**
|
|
1715
1742
|
* Component default props.
|
|
1716
1743
|
*/
|
|
1717
|
-
const DEFAULT_PROPS$
|
|
1744
|
+
const DEFAULT_PROPS$_ = {};
|
|
1718
1745
|
|
|
1719
1746
|
/**
|
|
1720
1747
|
* Checkbox component.
|
|
@@ -1776,7 +1803,7 @@ const Checkbox = forwardRef((props, ref) => {
|
|
|
1776
1803
|
});
|
|
1777
1804
|
Checkbox.displayName = COMPONENT_NAME$18;
|
|
1778
1805
|
Checkbox.className = CLASSNAME$17;
|
|
1779
|
-
Checkbox.defaultProps = DEFAULT_PROPS$
|
|
1806
|
+
Checkbox.defaultProps = DEFAULT_PROPS$_;
|
|
1780
1807
|
|
|
1781
1808
|
/**
|
|
1782
1809
|
* Wrap mouse event handler to stop event propagation.
|
|
@@ -1811,7 +1838,7 @@ const {
|
|
|
1811
1838
|
/**
|
|
1812
1839
|
* Component default props.
|
|
1813
1840
|
*/
|
|
1814
|
-
const DEFAULT_PROPS$
|
|
1841
|
+
const DEFAULT_PROPS$Z = {
|
|
1815
1842
|
size: Size$1.m
|
|
1816
1843
|
};
|
|
1817
1844
|
|
|
@@ -1841,7 +1868,7 @@ const Chip = forwardRef((props, ref) => {
|
|
|
1841
1868
|
onAfterClick,
|
|
1842
1869
|
onBeforeClick,
|
|
1843
1870
|
onClick,
|
|
1844
|
-
size = DEFAULT_PROPS$
|
|
1871
|
+
size = DEFAULT_PROPS$Z.size,
|
|
1845
1872
|
theme = defaultTheme,
|
|
1846
1873
|
href,
|
|
1847
1874
|
onKeyDown,
|
|
@@ -1913,7 +1940,7 @@ const Chip = forwardRef((props, ref) => {
|
|
|
1913
1940
|
});
|
|
1914
1941
|
Chip.displayName = COMPONENT_NAME$17;
|
|
1915
1942
|
Chip.className = CLASSNAME$16;
|
|
1916
|
-
Chip.defaultProps = DEFAULT_PROPS$
|
|
1943
|
+
Chip.defaultProps = DEFAULT_PROPS$Z;
|
|
1917
1944
|
|
|
1918
1945
|
const INITIAL_STATE_ACTIVE_CHIP = -1;
|
|
1919
1946
|
|
|
@@ -1969,7 +1996,7 @@ const useChipGroupNavigation = (chips, onChipDeleted, initialActiveChip = INITIA
|
|
|
1969
1996
|
/**
|
|
1970
1997
|
* Component default props.
|
|
1971
1998
|
*/
|
|
1972
|
-
const DEFAULT_PROPS$
|
|
1999
|
+
const DEFAULT_PROPS$Y = {};
|
|
1973
2000
|
|
|
1974
2001
|
/**
|
|
1975
2002
|
* Component display name.
|
|
@@ -2004,7 +2031,7 @@ const InternalChipGroup = forwardRef((props, ref) => {
|
|
|
2004
2031
|
});
|
|
2005
2032
|
InternalChipGroup.displayName = COMPONENT_NAME$16;
|
|
2006
2033
|
InternalChipGroup.className = CLASSNAME$15;
|
|
2007
|
-
InternalChipGroup.defaultProps = DEFAULT_PROPS$
|
|
2034
|
+
InternalChipGroup.defaultProps = DEFAULT_PROPS$Y;
|
|
2008
2035
|
const ChipGroup = Object.assign(InternalChipGroup, {
|
|
2009
2036
|
useChipGroupNavigation
|
|
2010
2037
|
});
|
|
@@ -2216,7 +2243,7 @@ const {
|
|
|
2216
2243
|
/**
|
|
2217
2244
|
* Component default props.
|
|
2218
2245
|
*/
|
|
2219
|
-
const DEFAULT_PROPS$
|
|
2246
|
+
const DEFAULT_PROPS$X = {
|
|
2220
2247
|
variant: CommentBlockVariant.indented
|
|
2221
2248
|
};
|
|
2222
2249
|
|
|
@@ -2246,7 +2273,7 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
2246
2273
|
onMouseLeave,
|
|
2247
2274
|
text,
|
|
2248
2275
|
theme = defaultTheme,
|
|
2249
|
-
variant = DEFAULT_PROPS$
|
|
2276
|
+
variant = DEFAULT_PROPS$X.variant,
|
|
2250
2277
|
...forwardedProps
|
|
2251
2278
|
} = props;
|
|
2252
2279
|
const hasChildren = Children.count(children) > 0;
|
|
@@ -2315,7 +2342,7 @@ const CommentBlock = forwardRef((props, ref) => {
|
|
|
2315
2342
|
});
|
|
2316
2343
|
CommentBlock.displayName = COMPONENT_NAME$15;
|
|
2317
2344
|
CommentBlock.className = CLASSNAME$13;
|
|
2318
|
-
CommentBlock.defaultProps = DEFAULT_PROPS$
|
|
2345
|
+
CommentBlock.defaultProps = DEFAULT_PROPS$X;
|
|
2319
2346
|
|
|
2320
2347
|
/**
|
|
2321
2348
|
* Add a number of months from a date while resetting the day to prevent month length mismatches.
|
|
@@ -3420,7 +3447,7 @@ const {
|
|
|
3420
3447
|
/**
|
|
3421
3448
|
* Component default props.
|
|
3422
3449
|
*/
|
|
3423
|
-
const DEFAULT_PROPS$
|
|
3450
|
+
const DEFAULT_PROPS$W = {
|
|
3424
3451
|
size: Size$1.big,
|
|
3425
3452
|
disableBodyScroll: true
|
|
3426
3453
|
};
|
|
@@ -3451,11 +3478,11 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
3451
3478
|
parentElement,
|
|
3452
3479
|
contentRef,
|
|
3453
3480
|
preventAutoClose,
|
|
3454
|
-
size = DEFAULT_PROPS$
|
|
3481
|
+
size = DEFAULT_PROPS$W.size,
|
|
3455
3482
|
zIndex,
|
|
3456
3483
|
dialogProps,
|
|
3457
3484
|
onVisibilityChange,
|
|
3458
|
-
disableBodyScroll = DEFAULT_PROPS$
|
|
3485
|
+
disableBodyScroll = DEFAULT_PROPS$W.disableBodyScroll,
|
|
3459
3486
|
preventCloseOnClick,
|
|
3460
3487
|
preventCloseOnEscape,
|
|
3461
3488
|
...forwardedProps
|
|
@@ -3595,7 +3622,7 @@ const Dialog = forwardRef((props, ref) => {
|
|
|
3595
3622
|
});
|
|
3596
3623
|
Dialog.displayName = COMPONENT_NAME$11;
|
|
3597
3624
|
Dialog.className = CLASSNAME$11;
|
|
3598
|
-
Dialog.defaultProps = DEFAULT_PROPS$
|
|
3625
|
+
Dialog.defaultProps = DEFAULT_PROPS$W;
|
|
3599
3626
|
|
|
3600
3627
|
/**
|
|
3601
3628
|
* Component display name.
|
|
@@ -3608,12 +3635,38 @@ const COMPONENT_NAME$10 = 'Divider';
|
|
|
3608
3635
|
const CLASSNAME$10 = 'lumx-divider';
|
|
3609
3636
|
const {
|
|
3610
3637
|
block: block$T
|
|
3611
|
-
} =
|
|
3638
|
+
} = bem(CLASSNAME$10);
|
|
3639
|
+
|
|
3640
|
+
/**
|
|
3641
|
+
* Divider component.
|
|
3642
|
+
*
|
|
3643
|
+
* @param props Component props.
|
|
3644
|
+
* @return JSX element.
|
|
3645
|
+
*/
|
|
3646
|
+
const Divider$1 = props => {
|
|
3647
|
+
const {
|
|
3648
|
+
className,
|
|
3649
|
+
theme,
|
|
3650
|
+
ref,
|
|
3651
|
+
...forwardedProps
|
|
3652
|
+
} = props;
|
|
3653
|
+
return /*#__PURE__*/jsx("hr", {
|
|
3654
|
+
ref: ref,
|
|
3655
|
+
...forwardedProps,
|
|
3656
|
+
className: classnames(className, block$T({
|
|
3657
|
+
[`theme-${theme}`]: Boolean(theme)
|
|
3658
|
+
}))
|
|
3659
|
+
});
|
|
3660
|
+
};
|
|
3661
|
+
|
|
3662
|
+
/**
|
|
3663
|
+
* Defines the props of the component.
|
|
3664
|
+
*/
|
|
3612
3665
|
|
|
3613
3666
|
/**
|
|
3614
3667
|
* Component default props.
|
|
3615
3668
|
*/
|
|
3616
|
-
const DEFAULT_PROPS$
|
|
3669
|
+
const DEFAULT_PROPS$V = {};
|
|
3617
3670
|
|
|
3618
3671
|
/**
|
|
3619
3672
|
* Divider component.
|
|
@@ -3625,21 +3678,18 @@ const DEFAULT_PROPS$U = {};
|
|
|
3625
3678
|
const Divider = forwardRef((props, ref) => {
|
|
3626
3679
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
3627
3680
|
const {
|
|
3628
|
-
className,
|
|
3629
3681
|
theme = defaultTheme,
|
|
3630
|
-
...
|
|
3682
|
+
...otherProps
|
|
3631
3683
|
} = props;
|
|
3632
|
-
return
|
|
3633
|
-
ref
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
[`theme-${theme}`]: Boolean(theme)
|
|
3637
|
-
}))
|
|
3684
|
+
return Divider$1({
|
|
3685
|
+
ref,
|
|
3686
|
+
theme,
|
|
3687
|
+
...otherProps
|
|
3638
3688
|
});
|
|
3639
3689
|
});
|
|
3640
3690
|
Divider.displayName = COMPONENT_NAME$10;
|
|
3641
3691
|
Divider.className = CLASSNAME$10;
|
|
3642
|
-
Divider.defaultProps = DEFAULT_PROPS$
|
|
3692
|
+
Divider.defaultProps = DEFAULT_PROPS$V;
|
|
3643
3693
|
|
|
3644
3694
|
/**
|
|
3645
3695
|
* Component display name.
|
|
@@ -3864,7 +3914,7 @@ const {
|
|
|
3864
3914
|
/**
|
|
3865
3915
|
* Component default props.
|
|
3866
3916
|
*/
|
|
3867
|
-
const DEFAULT_PROPS$
|
|
3917
|
+
const DEFAULT_PROPS$U = {
|
|
3868
3918
|
tabIndex: -1
|
|
3869
3919
|
};
|
|
3870
3920
|
|
|
@@ -3883,7 +3933,7 @@ const InternalList = forwardRef((props, ref) => {
|
|
|
3883
3933
|
isClickable,
|
|
3884
3934
|
itemPadding,
|
|
3885
3935
|
onListItemSelected,
|
|
3886
|
-
tabIndex = DEFAULT_PROPS$
|
|
3936
|
+
tabIndex = DEFAULT_PROPS$U.tabIndex,
|
|
3887
3937
|
...forwardedProps
|
|
3888
3938
|
} = props;
|
|
3889
3939
|
const adjustedItemPadding = itemPadding ?? (isClickable ? Size$1.big : undefined);
|
|
@@ -3899,7 +3949,7 @@ const InternalList = forwardRef((props, ref) => {
|
|
|
3899
3949
|
});
|
|
3900
3950
|
InternalList.displayName = COMPONENT_NAME$_;
|
|
3901
3951
|
InternalList.className = CLASSNAME$_;
|
|
3902
|
-
InternalList.defaultProps = DEFAULT_PROPS$
|
|
3952
|
+
InternalList.defaultProps = DEFAULT_PROPS$U;
|
|
3903
3953
|
const List = Object.assign(InternalList, {
|
|
3904
3954
|
useKeyboardListNavigation
|
|
3905
3955
|
});
|
|
@@ -6344,7 +6394,7 @@ const {
|
|
|
6344
6394
|
/**
|
|
6345
6395
|
* Component default props.
|
|
6346
6396
|
*/
|
|
6347
|
-
const DEFAULT_PROPS$
|
|
6397
|
+
const DEFAULT_PROPS$T = {
|
|
6348
6398
|
elevation: 3,
|
|
6349
6399
|
placement: Placement.AUTO,
|
|
6350
6400
|
focusAnchorOnClose: true,
|
|
@@ -6361,24 +6411,24 @@ const _InnerPopover = forwardRef((props, ref) => {
|
|
|
6361
6411
|
className,
|
|
6362
6412
|
closeOnClickAway,
|
|
6363
6413
|
closeOnEscape,
|
|
6364
|
-
elevation = DEFAULT_PROPS$
|
|
6414
|
+
elevation = DEFAULT_PROPS$T.elevation,
|
|
6365
6415
|
focusElement,
|
|
6366
6416
|
hasArrow,
|
|
6367
6417
|
isOpen,
|
|
6368
6418
|
onClose,
|
|
6369
6419
|
parentElement,
|
|
6370
|
-
usePortal = DEFAULT_PROPS$
|
|
6371
|
-
focusAnchorOnClose = DEFAULT_PROPS$
|
|
6420
|
+
usePortal = DEFAULT_PROPS$T.usePortal,
|
|
6421
|
+
focusAnchorOnClose = DEFAULT_PROPS$T.focusAnchorOnClose,
|
|
6372
6422
|
withFocusTrap,
|
|
6373
6423
|
boundaryRef,
|
|
6374
6424
|
fitToAnchorWidth,
|
|
6375
6425
|
fitWithinViewportHeight,
|
|
6376
6426
|
focusTrapZoneElement,
|
|
6377
6427
|
offset,
|
|
6378
|
-
placement = DEFAULT_PROPS$
|
|
6428
|
+
placement = DEFAULT_PROPS$T.placement,
|
|
6379
6429
|
style,
|
|
6380
6430
|
theme,
|
|
6381
|
-
zIndex = DEFAULT_PROPS$
|
|
6431
|
+
zIndex = DEFAULT_PROPS$T.zIndex,
|
|
6382
6432
|
...forwardedProps
|
|
6383
6433
|
} = props;
|
|
6384
6434
|
const popoverRef = useRef(null);
|
|
@@ -6464,7 +6514,7 @@ const Popover = skipRender(
|
|
|
6464
6514
|
() => Boolean(DOCUMENT), _InnerPopover);
|
|
6465
6515
|
Popover.displayName = COMPONENT_NAME$Z;
|
|
6466
6516
|
Popover.className = CLASSNAME$Z;
|
|
6467
|
-
Popover.defaultProps = DEFAULT_PROPS$
|
|
6517
|
+
Popover.defaultProps = DEFAULT_PROPS$T;
|
|
6468
6518
|
|
|
6469
6519
|
// The error margin in px we want to have for triggering infinite scroll
|
|
6470
6520
|
const SCROLL_TRIGGER_MARGIN = 5;
|
|
@@ -6524,7 +6574,7 @@ const {
|
|
|
6524
6574
|
/**
|
|
6525
6575
|
* Component default props.
|
|
6526
6576
|
*/
|
|
6527
|
-
const DEFAULT_PROPS$
|
|
6577
|
+
const DEFAULT_PROPS$S = {
|
|
6528
6578
|
closeOnClick: true,
|
|
6529
6579
|
closeOnClickAway: true,
|
|
6530
6580
|
closeOnEscape: true,
|
|
@@ -6547,18 +6597,18 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
6547
6597
|
anchorRef,
|
|
6548
6598
|
children,
|
|
6549
6599
|
className,
|
|
6550
|
-
closeOnClick = DEFAULT_PROPS$
|
|
6551
|
-
closeOnClickAway = DEFAULT_PROPS$
|
|
6552
|
-
closeOnEscape = DEFAULT_PROPS$
|
|
6553
|
-
fitToAnchorWidth = DEFAULT_PROPS$
|
|
6554
|
-
fitWithinViewportHeight = DEFAULT_PROPS$
|
|
6600
|
+
closeOnClick = DEFAULT_PROPS$S.closeOnClick,
|
|
6601
|
+
closeOnClickAway = DEFAULT_PROPS$S.closeOnClickAway,
|
|
6602
|
+
closeOnEscape = DEFAULT_PROPS$S.closeOnEscape,
|
|
6603
|
+
fitToAnchorWidth = DEFAULT_PROPS$S.fitToAnchorWidth,
|
|
6604
|
+
fitWithinViewportHeight = DEFAULT_PROPS$S.fitWithinViewportHeight,
|
|
6555
6605
|
isOpen,
|
|
6556
6606
|
offset,
|
|
6557
|
-
focusAnchorOnClose = DEFAULT_PROPS$
|
|
6607
|
+
focusAnchorOnClose = DEFAULT_PROPS$S.focusAnchorOnClose,
|
|
6558
6608
|
onClose,
|
|
6559
6609
|
onInfiniteScroll,
|
|
6560
|
-
placement = DEFAULT_PROPS$
|
|
6561
|
-
shouldFocusOnOpen = DEFAULT_PROPS$
|
|
6610
|
+
placement = DEFAULT_PROPS$S.placement,
|
|
6611
|
+
shouldFocusOnOpen = DEFAULT_PROPS$S.shouldFocusOnOpen,
|
|
6562
6612
|
zIndex,
|
|
6563
6613
|
...forwardedProps
|
|
6564
6614
|
} = props;
|
|
@@ -6604,7 +6654,7 @@ const Dropdown = forwardRef((props, ref) => {
|
|
|
6604
6654
|
});
|
|
6605
6655
|
Dropdown.displayName = COMPONENT_NAME$Y;
|
|
6606
6656
|
Dropdown.className = CLASSNAME$Y;
|
|
6607
|
-
Dropdown.defaultProps = DEFAULT_PROPS$
|
|
6657
|
+
Dropdown.defaultProps = DEFAULT_PROPS$S;
|
|
6608
6658
|
|
|
6609
6659
|
/**
|
|
6610
6660
|
* Component display name.
|
|
@@ -6623,7 +6673,7 @@ const {
|
|
|
6623
6673
|
/**
|
|
6624
6674
|
* Component default props.
|
|
6625
6675
|
*/
|
|
6626
|
-
const DEFAULT_PROPS$
|
|
6676
|
+
const DEFAULT_PROPS$R = {
|
|
6627
6677
|
closeMode: 'unmount'
|
|
6628
6678
|
};
|
|
6629
6679
|
const isDragHandle = isComponent(DragHandle);
|
|
@@ -6641,7 +6691,7 @@ const ExpansionPanel = forwardRef((props, ref) => {
|
|
|
6641
6691
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
6642
6692
|
const {
|
|
6643
6693
|
className,
|
|
6644
|
-
closeMode = DEFAULT_PROPS$
|
|
6694
|
+
closeMode = DEFAULT_PROPS$R.closeMode,
|
|
6645
6695
|
children: anyChildren,
|
|
6646
6696
|
hasBackground,
|
|
6647
6697
|
hasHeaderDivider,
|
|
@@ -6758,11 +6808,11 @@ const ExpansionPanel = forwardRef((props, ref) => {
|
|
|
6758
6808
|
});
|
|
6759
6809
|
ExpansionPanel.displayName = COMPONENT_NAME$X;
|
|
6760
6810
|
ExpansionPanel.className = CLASSNAME$X;
|
|
6761
|
-
ExpansionPanel.defaultProps = DEFAULT_PROPS$
|
|
6811
|
+
ExpansionPanel.defaultProps = DEFAULT_PROPS$R;
|
|
6762
6812
|
|
|
6763
6813
|
const COMPONENT_NAME$W = 'Flag';
|
|
6764
6814
|
const CLASSNAME$W = 'lumx-flag';
|
|
6765
|
-
const DEFAULT_PROPS$
|
|
6815
|
+
const DEFAULT_PROPS$Q = {};
|
|
6766
6816
|
const {
|
|
6767
6817
|
block: block$N,
|
|
6768
6818
|
element: element$B
|
|
@@ -6826,7 +6876,7 @@ const Flag = forwardRef((props, ref) => {
|
|
|
6826
6876
|
});
|
|
6827
6877
|
Flag.displayName = COMPONENT_NAME$W;
|
|
6828
6878
|
Flag.className = CLASSNAME$W;
|
|
6829
|
-
Flag.defaultProps = DEFAULT_PROPS$
|
|
6879
|
+
Flag.defaultProps = DEFAULT_PROPS$Q;
|
|
6830
6880
|
|
|
6831
6881
|
/**
|
|
6832
6882
|
* Defines the props of the component.
|
|
@@ -6919,7 +6969,7 @@ const {
|
|
|
6919
6969
|
/**
|
|
6920
6970
|
* Component default props.
|
|
6921
6971
|
*/
|
|
6922
|
-
const DEFAULT_PROPS$
|
|
6972
|
+
const DEFAULT_PROPS$P = {
|
|
6923
6973
|
gap: Size$1.big,
|
|
6924
6974
|
orientation: Orientation$1.horizontal
|
|
6925
6975
|
};
|
|
@@ -6949,8 +6999,8 @@ const BaseGenericBlock = forwardRef((props, ref) => {
|
|
|
6949
6999
|
children,
|
|
6950
7000
|
actions,
|
|
6951
7001
|
actionsProps,
|
|
6952
|
-
gap = DEFAULT_PROPS$
|
|
6953
|
-
orientation = DEFAULT_PROPS$
|
|
7002
|
+
gap = DEFAULT_PROPS$P.gap,
|
|
7003
|
+
orientation = DEFAULT_PROPS$P.orientation,
|
|
6954
7004
|
contentProps,
|
|
6955
7005
|
...forwardedProps
|
|
6956
7006
|
} = props;
|
|
@@ -7004,7 +7054,7 @@ const BaseGenericBlock = forwardRef((props, ref) => {
|
|
|
7004
7054
|
});
|
|
7005
7055
|
BaseGenericBlock.displayName = COMPONENT_NAME$U;
|
|
7006
7056
|
BaseGenericBlock.className = CLASSNAME$U;
|
|
7007
|
-
BaseGenericBlock.defaultProps = DEFAULT_PROPS$
|
|
7057
|
+
BaseGenericBlock.defaultProps = DEFAULT_PROPS$P;
|
|
7008
7058
|
const GenericBlock = Object.assign(BaseGenericBlock, {
|
|
7009
7059
|
Figure,
|
|
7010
7060
|
Content,
|
|
@@ -7052,7 +7102,7 @@ const CLASSNAME$T = 'lumx-heading';
|
|
|
7052
7102
|
/**
|
|
7053
7103
|
* Component default props.
|
|
7054
7104
|
*/
|
|
7055
|
-
const DEFAULT_PROPS$
|
|
7105
|
+
const DEFAULT_PROPS$O = {};
|
|
7056
7106
|
|
|
7057
7107
|
/**
|
|
7058
7108
|
* Get Heading component common props
|
|
@@ -7153,7 +7203,7 @@ const {
|
|
|
7153
7203
|
/**
|
|
7154
7204
|
* Component default props.
|
|
7155
7205
|
*/
|
|
7156
|
-
const DEFAULT_PROPS$
|
|
7206
|
+
const DEFAULT_PROPS$N = {};
|
|
7157
7207
|
|
|
7158
7208
|
/**
|
|
7159
7209
|
* Text component common props
|
|
@@ -7240,7 +7290,7 @@ const Text = forwardRef((props, ref) => {
|
|
|
7240
7290
|
});
|
|
7241
7291
|
Text.displayName = COMPONENT_NAME$S;
|
|
7242
7292
|
Text.className = CLASSNAME$S;
|
|
7243
|
-
Text.defaultProps = DEFAULT_PROPS$
|
|
7293
|
+
Text.defaultProps = DEFAULT_PROPS$N;
|
|
7244
7294
|
|
|
7245
7295
|
const HeadingLevelContext = /*#__PURE__*/createContext(defaultContext);
|
|
7246
7296
|
|
|
@@ -7277,7 +7327,7 @@ const Heading = forwardRef((props, ref) => {
|
|
|
7277
7327
|
});
|
|
7278
7328
|
Heading.displayName = COMPONENT_NAME$T;
|
|
7279
7329
|
Heading.className = CLASSNAME$T;
|
|
7280
|
-
Heading.defaultProps = DEFAULT_PROPS$
|
|
7330
|
+
Heading.defaultProps = DEFAULT_PROPS$O;
|
|
7281
7331
|
|
|
7282
7332
|
/**
|
|
7283
7333
|
* Computes the next heading level based on the optional prop level or the parent context level.
|
|
@@ -7328,7 +7378,7 @@ const {
|
|
|
7328
7378
|
/**
|
|
7329
7379
|
* Component default props.
|
|
7330
7380
|
*/
|
|
7331
|
-
const DEFAULT_PROPS$
|
|
7381
|
+
const DEFAULT_PROPS$M = {
|
|
7332
7382
|
orientation: Orientation$1.horizontal,
|
|
7333
7383
|
wrap: 'nowrap'
|
|
7334
7384
|
};
|
|
@@ -7346,9 +7396,9 @@ const Grid = forwardRef((props, ref) => {
|
|
|
7346
7396
|
className,
|
|
7347
7397
|
gutter,
|
|
7348
7398
|
hAlign,
|
|
7349
|
-
orientation = DEFAULT_PROPS$
|
|
7399
|
+
orientation = DEFAULT_PROPS$M.orientation,
|
|
7350
7400
|
vAlign,
|
|
7351
|
-
wrap = DEFAULT_PROPS$
|
|
7401
|
+
wrap = DEFAULT_PROPS$M.wrap,
|
|
7352
7402
|
...forwardedProps
|
|
7353
7403
|
} = props;
|
|
7354
7404
|
return /*#__PURE__*/jsx("div", {
|
|
@@ -7366,7 +7416,7 @@ const Grid = forwardRef((props, ref) => {
|
|
|
7366
7416
|
});
|
|
7367
7417
|
Grid.displayName = COMPONENT_NAME$R;
|
|
7368
7418
|
Grid.className = CLASSNAME$R;
|
|
7369
|
-
Grid.defaultProps = DEFAULT_PROPS$
|
|
7419
|
+
Grid.defaultProps = DEFAULT_PROPS$M;
|
|
7370
7420
|
|
|
7371
7421
|
/**
|
|
7372
7422
|
* Component display name.
|
|
@@ -7424,7 +7474,7 @@ const CLASSNAME$P = 'lumx-grid-column';
|
|
|
7424
7474
|
/**
|
|
7425
7475
|
* Component default props.
|
|
7426
7476
|
*/
|
|
7427
|
-
const DEFAULT_PROPS$
|
|
7477
|
+
const DEFAULT_PROPS$L = {};
|
|
7428
7478
|
|
|
7429
7479
|
/**
|
|
7430
7480
|
* The GridColumn is a layout component that can display children in a grid
|
|
@@ -7461,7 +7511,7 @@ const GridColumn = forwardRef((props, ref) => {
|
|
|
7461
7511
|
});
|
|
7462
7512
|
GridColumn.displayName = COMPONENT_NAME$P;
|
|
7463
7513
|
GridColumn.className = CLASSNAME$P;
|
|
7464
|
-
GridColumn.defaultProps = DEFAULT_PROPS$
|
|
7514
|
+
GridColumn.defaultProps = DEFAULT_PROPS$L;
|
|
7465
7515
|
|
|
7466
7516
|
/**
|
|
7467
7517
|
* Icon component.
|
|
@@ -7579,7 +7629,7 @@ const {
|
|
|
7579
7629
|
/**
|
|
7580
7630
|
* Component default props.
|
|
7581
7631
|
*/
|
|
7582
|
-
const DEFAULT_PROPS$
|
|
7632
|
+
const DEFAULT_PROPS$K = {
|
|
7583
7633
|
captionPosition: ImageBlockCaptionPosition.below,
|
|
7584
7634
|
align: Alignment.left
|
|
7585
7635
|
};
|
|
@@ -7595,9 +7645,9 @@ const ImageBlock = forwardRef((props, ref) => {
|
|
|
7595
7645
|
const defaultTheme = useTheme() || Theme$1.light;
|
|
7596
7646
|
const {
|
|
7597
7647
|
actions,
|
|
7598
|
-
align = DEFAULT_PROPS$
|
|
7648
|
+
align = DEFAULT_PROPS$K.align,
|
|
7599
7649
|
alt,
|
|
7600
|
-
captionPosition = DEFAULT_PROPS$
|
|
7650
|
+
captionPosition = DEFAULT_PROPS$K.captionPosition,
|
|
7601
7651
|
captionStyle,
|
|
7602
7652
|
className,
|
|
7603
7653
|
description,
|
|
@@ -7651,7 +7701,7 @@ const ImageBlock = forwardRef((props, ref) => {
|
|
|
7651
7701
|
});
|
|
7652
7702
|
ImageBlock.displayName = COMPONENT_NAME$O;
|
|
7653
7703
|
ImageBlock.className = CLASSNAME$O;
|
|
7654
|
-
ImageBlock.defaultProps = DEFAULT_PROPS$
|
|
7704
|
+
ImageBlock.defaultProps = DEFAULT_PROPS$K;
|
|
7655
7705
|
|
|
7656
7706
|
/**
|
|
7657
7707
|
* Component display name.
|
|
@@ -8411,7 +8461,7 @@ const {
|
|
|
8411
8461
|
/**
|
|
8412
8462
|
* Component default props.
|
|
8413
8463
|
*/
|
|
8414
|
-
const DEFAULT_PROPS$
|
|
8464
|
+
const DEFAULT_PROPS$J = {};
|
|
8415
8465
|
|
|
8416
8466
|
/**
|
|
8417
8467
|
* InlineList component.
|
|
@@ -8464,7 +8514,7 @@ const InlineList = forwardRef((props, ref) => {
|
|
|
8464
8514
|
});
|
|
8465
8515
|
InlineList.displayName = COMPONENT_NAME$M;
|
|
8466
8516
|
InlineList.className = CLASSNAME$M;
|
|
8467
|
-
InlineList.defaultProps = DEFAULT_PROPS$
|
|
8517
|
+
InlineList.defaultProps = DEFAULT_PROPS$J;
|
|
8468
8518
|
|
|
8469
8519
|
/**
|
|
8470
8520
|
* InputHelper component.
|
|
@@ -8738,7 +8788,7 @@ const {
|
|
|
8738
8788
|
/**
|
|
8739
8789
|
* Component default props.
|
|
8740
8790
|
*/
|
|
8741
|
-
const DEFAULT_PROPS$
|
|
8791
|
+
const DEFAULT_PROPS$I = {
|
|
8742
8792
|
size: Size$1.regular,
|
|
8743
8793
|
titleHeading: 'h2'
|
|
8744
8794
|
};
|
|
@@ -8758,11 +8808,11 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
8758
8808
|
link,
|
|
8759
8809
|
linkAs,
|
|
8760
8810
|
linkProps,
|
|
8761
|
-
size = DEFAULT_PROPS$
|
|
8811
|
+
size = DEFAULT_PROPS$I.size,
|
|
8762
8812
|
theme = defaultTheme,
|
|
8763
8813
|
thumbnailProps,
|
|
8764
8814
|
title,
|
|
8765
|
-
titleHeading = DEFAULT_PROPS$
|
|
8815
|
+
titleHeading = DEFAULT_PROPS$I.titleHeading,
|
|
8766
8816
|
...forwardedProps
|
|
8767
8817
|
} = props;
|
|
8768
8818
|
// Use title heading as title wrapper (see DEFAULT_PROPS for the default value).
|
|
@@ -8830,7 +8880,7 @@ const LinkPreview = forwardRef((props, ref) => {
|
|
|
8830
8880
|
});
|
|
8831
8881
|
LinkPreview.displayName = COMPONENT_NAME$J;
|
|
8832
8882
|
LinkPreview.className = CLASSNAME$J;
|
|
8833
|
-
LinkPreview.defaultProps = DEFAULT_PROPS$
|
|
8883
|
+
LinkPreview.defaultProps = DEFAULT_PROPS$I;
|
|
8834
8884
|
|
|
8835
8885
|
/**
|
|
8836
8886
|
* Render link with default <a> HTML component or a custom one provided by `linkAs`.
|
|
@@ -8863,7 +8913,7 @@ const {
|
|
|
8863
8913
|
/**
|
|
8864
8914
|
* Component default props.
|
|
8865
8915
|
*/
|
|
8866
|
-
const DEFAULT_PROPS$
|
|
8916
|
+
const DEFAULT_PROPS$H = {
|
|
8867
8917
|
size: Size$1.regular
|
|
8868
8918
|
};
|
|
8869
8919
|
|
|
@@ -8902,7 +8952,7 @@ const ListItem = forwardRef((props, ref) => {
|
|
|
8902
8952
|
linkProps = {},
|
|
8903
8953
|
linkRef,
|
|
8904
8954
|
onItemSelected,
|
|
8905
|
-
size = DEFAULT_PROPS$
|
|
8955
|
+
size = DEFAULT_PROPS$H.size,
|
|
8906
8956
|
...forwardedProps
|
|
8907
8957
|
} = otherProps;
|
|
8908
8958
|
const role = linkAs || linkProps.href ? 'link' : 'button';
|
|
@@ -8959,7 +9009,7 @@ const ListItem = forwardRef((props, ref) => {
|
|
|
8959
9009
|
});
|
|
8960
9010
|
ListItem.displayName = COMPONENT_NAME$I;
|
|
8961
9011
|
ListItem.className = CLASSNAME$I;
|
|
8962
|
-
ListItem.defaultProps = DEFAULT_PROPS$
|
|
9012
|
+
ListItem.defaultProps = DEFAULT_PROPS$H;
|
|
8963
9013
|
|
|
8964
9014
|
/**
|
|
8965
9015
|
* Component display name.
|
|
@@ -9147,7 +9197,7 @@ const {
|
|
|
9147
9197
|
/**
|
|
9148
9198
|
* Component default props.
|
|
9149
9199
|
*/
|
|
9150
|
-
const DEFAULT_PROPS$
|
|
9200
|
+
const DEFAULT_PROPS$G = {};
|
|
9151
9201
|
|
|
9152
9202
|
/**
|
|
9153
9203
|
* Mosaic component.
|
|
@@ -9214,7 +9264,7 @@ const Mosaic = forwardRef((props, ref) => {
|
|
|
9214
9264
|
});
|
|
9215
9265
|
Mosaic.displayName = COMPONENT_NAME$E;
|
|
9216
9266
|
Mosaic.className = CLASSNAME$E;
|
|
9217
|
-
Mosaic.defaultProps = DEFAULT_PROPS$
|
|
9267
|
+
Mosaic.defaultProps = DEFAULT_PROPS$G;
|
|
9218
9268
|
|
|
9219
9269
|
const NavigationContext = /*#__PURE__*/createContext({
|
|
9220
9270
|
orientation: Orientation$1.vertical
|
|
@@ -9403,7 +9453,7 @@ const {
|
|
|
9403
9453
|
/**
|
|
9404
9454
|
* Component default props
|
|
9405
9455
|
*/
|
|
9406
|
-
const DEFAULT_PROPS$
|
|
9456
|
+
const DEFAULT_PROPS$F = {
|
|
9407
9457
|
orientation: Orientation$1.vertical
|
|
9408
9458
|
};
|
|
9409
9459
|
const Navigation = forwardRef((props, ref) => {
|
|
@@ -9412,7 +9462,7 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
9412
9462
|
children,
|
|
9413
9463
|
className,
|
|
9414
9464
|
theme = defaultTheme,
|
|
9415
|
-
orientation = DEFAULT_PROPS$
|
|
9465
|
+
orientation = DEFAULT_PROPS$F.orientation,
|
|
9416
9466
|
...forwardedProps
|
|
9417
9467
|
} = props;
|
|
9418
9468
|
return /*#__PURE__*/jsx(ThemeProvider, {
|
|
@@ -9438,7 +9488,7 @@ const Navigation = forwardRef((props, ref) => {
|
|
|
9438
9488
|
});
|
|
9439
9489
|
Navigation.displayName = COMPONENT_NAME$C;
|
|
9440
9490
|
Navigation.className = CLASSNAME$C;
|
|
9441
|
-
Navigation.defaultProps = DEFAULT_PROPS$
|
|
9491
|
+
Navigation.defaultProps = DEFAULT_PROPS$F;
|
|
9442
9492
|
|
|
9443
9493
|
// Sub components
|
|
9444
9494
|
Navigation.Section = NavigationSection;
|
|
@@ -9483,7 +9533,7 @@ const {
|
|
|
9483
9533
|
/**
|
|
9484
9534
|
* Component default props.
|
|
9485
9535
|
*/
|
|
9486
|
-
const DEFAULT_PROPS$
|
|
9536
|
+
const DEFAULT_PROPS$E = {
|
|
9487
9537
|
zIndex: 9999,
|
|
9488
9538
|
usePortal: true
|
|
9489
9539
|
};
|
|
@@ -9507,8 +9557,8 @@ const Notification = forwardRef((props, ref) => {
|
|
|
9507
9557
|
onClick,
|
|
9508
9558
|
theme = defaultTheme,
|
|
9509
9559
|
type,
|
|
9510
|
-
zIndex = DEFAULT_PROPS$
|
|
9511
|
-
usePortal = DEFAULT_PROPS$
|
|
9560
|
+
zIndex = DEFAULT_PROPS$E.zIndex,
|
|
9561
|
+
usePortal = DEFAULT_PROPS$E.usePortal,
|
|
9512
9562
|
style,
|
|
9513
9563
|
...forwardedProps
|
|
9514
9564
|
} = props;
|
|
@@ -9573,7 +9623,7 @@ const Notification = forwardRef((props, ref) => {
|
|
|
9573
9623
|
});
|
|
9574
9624
|
Notification.displayName = COMPONENT_NAME$B;
|
|
9575
9625
|
Notification.className = CLASSNAME$B;
|
|
9576
|
-
Notification.defaultProps = DEFAULT_PROPS$
|
|
9626
|
+
Notification.defaultProps = DEFAULT_PROPS$E;
|
|
9577
9627
|
|
|
9578
9628
|
/**
|
|
9579
9629
|
* Component display name.
|
|
@@ -9588,7 +9638,7 @@ const CLASSNAME$A = 'lumx-popover-dialog';
|
|
|
9588
9638
|
/**
|
|
9589
9639
|
* Component default props.
|
|
9590
9640
|
*/
|
|
9591
|
-
const DEFAULT_PROPS$
|
|
9641
|
+
const DEFAULT_PROPS$D = {};
|
|
9592
9642
|
|
|
9593
9643
|
/**
|
|
9594
9644
|
* PopoverDialog component.
|
|
@@ -9631,7 +9681,7 @@ const PopoverDialog = forwardRef((props, ref) => {
|
|
|
9631
9681
|
});
|
|
9632
9682
|
PopoverDialog.displayName = COMPONENT_NAME$A;
|
|
9633
9683
|
PopoverDialog.className = CLASSNAME$A;
|
|
9634
|
-
PopoverDialog.defaultProps = DEFAULT_PROPS$
|
|
9684
|
+
PopoverDialog.defaultProps = DEFAULT_PROPS$D;
|
|
9635
9685
|
|
|
9636
9686
|
/**
|
|
9637
9687
|
* Component display name.
|
|
@@ -9650,7 +9700,7 @@ const {
|
|
|
9650
9700
|
/**
|
|
9651
9701
|
* Component default props.
|
|
9652
9702
|
*/
|
|
9653
|
-
const DEFAULT_PROPS$
|
|
9703
|
+
const DEFAULT_PROPS$C = {
|
|
9654
9704
|
orientation: Orientation$1.horizontal
|
|
9655
9705
|
};
|
|
9656
9706
|
|
|
@@ -9670,7 +9720,7 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
9670
9720
|
className,
|
|
9671
9721
|
meta,
|
|
9672
9722
|
onClick,
|
|
9673
|
-
orientation = DEFAULT_PROPS$
|
|
9723
|
+
orientation = DEFAULT_PROPS$C.orientation,
|
|
9674
9724
|
tags,
|
|
9675
9725
|
text,
|
|
9676
9726
|
theme = defaultTheme,
|
|
@@ -9732,7 +9782,7 @@ const PostBlock = forwardRef((props, ref) => {
|
|
|
9732
9782
|
});
|
|
9733
9783
|
PostBlock.displayName = COMPONENT_NAME$z;
|
|
9734
9784
|
PostBlock.className = CLASSNAME$z;
|
|
9735
|
-
PostBlock.defaultProps = DEFAULT_PROPS$
|
|
9785
|
+
PostBlock.defaultProps = DEFAULT_PROPS$C;
|
|
9736
9786
|
|
|
9737
9787
|
/**
|
|
9738
9788
|
* Component display name.
|
|
@@ -9751,7 +9801,7 @@ const {
|
|
|
9751
9801
|
/**
|
|
9752
9802
|
* Component default props.
|
|
9753
9803
|
*/
|
|
9754
|
-
const DEFAULT_PROPS$
|
|
9804
|
+
const DEFAULT_PROPS$B = {};
|
|
9755
9805
|
|
|
9756
9806
|
/**
|
|
9757
9807
|
* ProgressLinear component.
|
|
@@ -9782,7 +9832,7 @@ const ProgressLinear = forwardRef((props, ref) => {
|
|
|
9782
9832
|
});
|
|
9783
9833
|
ProgressLinear.displayName = COMPONENT_NAME$y;
|
|
9784
9834
|
ProgressLinear.className = CLASSNAME$y;
|
|
9785
|
-
ProgressLinear.defaultProps = DEFAULT_PROPS$
|
|
9835
|
+
ProgressLinear.defaultProps = DEFAULT_PROPS$B;
|
|
9786
9836
|
|
|
9787
9837
|
/**
|
|
9788
9838
|
* Component display name.
|
|
@@ -9801,7 +9851,7 @@ const {
|
|
|
9801
9851
|
/**
|
|
9802
9852
|
* Component default props.
|
|
9803
9853
|
*/
|
|
9804
|
-
const DEFAULT_PROPS$
|
|
9854
|
+
const DEFAULT_PROPS$A = {
|
|
9805
9855
|
size: Size$1.m,
|
|
9806
9856
|
display: 'block'
|
|
9807
9857
|
};
|
|
@@ -9818,8 +9868,8 @@ const ProgressCircular = forwardRef((props, ref) => {
|
|
|
9818
9868
|
const {
|
|
9819
9869
|
className,
|
|
9820
9870
|
theme = defaultTheme,
|
|
9821
|
-
size = DEFAULT_PROPS$
|
|
9822
|
-
display = DEFAULT_PROPS$
|
|
9871
|
+
size = DEFAULT_PROPS$A.size,
|
|
9872
|
+
display = DEFAULT_PROPS$A.display,
|
|
9823
9873
|
...forwardedProps
|
|
9824
9874
|
} = props;
|
|
9825
9875
|
const Element = display === 'block' ? 'div' : 'span';
|
|
@@ -9851,7 +9901,7 @@ const ProgressCircular = forwardRef((props, ref) => {
|
|
|
9851
9901
|
});
|
|
9852
9902
|
ProgressCircular.displayName = COMPONENT_NAME$x;
|
|
9853
9903
|
ProgressCircular.className = CLASSNAME$x;
|
|
9854
|
-
ProgressCircular.defaultProps = DEFAULT_PROPS$
|
|
9904
|
+
ProgressCircular.defaultProps = DEFAULT_PROPS$A;
|
|
9855
9905
|
|
|
9856
9906
|
const ProgressVariant = {
|
|
9857
9907
|
linear: 'linear',
|
|
@@ -9878,7 +9928,7 @@ const {
|
|
|
9878
9928
|
/**
|
|
9879
9929
|
* Component default props.
|
|
9880
9930
|
*/
|
|
9881
|
-
const DEFAULT_PROPS$
|
|
9931
|
+
const DEFAULT_PROPS$z = {
|
|
9882
9932
|
variant: ProgressVariant.circular
|
|
9883
9933
|
};
|
|
9884
9934
|
|
|
@@ -9895,7 +9945,7 @@ const Progress = forwardRef((props, ref) => {
|
|
|
9895
9945
|
const {
|
|
9896
9946
|
className,
|
|
9897
9947
|
theme = defaultTheme,
|
|
9898
|
-
variant = DEFAULT_PROPS$
|
|
9948
|
+
variant = DEFAULT_PROPS$z.variant,
|
|
9899
9949
|
...forwardedProps
|
|
9900
9950
|
} = props;
|
|
9901
9951
|
return /*#__PURE__*/jsxs("div", {
|
|
@@ -9914,7 +9964,7 @@ const Progress = forwardRef((props, ref) => {
|
|
|
9914
9964
|
});
|
|
9915
9965
|
Progress.displayName = COMPONENT_NAME$w;
|
|
9916
9966
|
Progress.className = CLASSNAME$w;
|
|
9917
|
-
Progress.defaultProps = DEFAULT_PROPS$
|
|
9967
|
+
Progress.defaultProps = DEFAULT_PROPS$z;
|
|
9918
9968
|
|
|
9919
9969
|
const INIT_STATE = {
|
|
9920
9970
|
isLazy: true,
|
|
@@ -10041,7 +10091,7 @@ const useTabProviderContextState = () => {
|
|
|
10041
10091
|
return context?.[0];
|
|
10042
10092
|
};
|
|
10043
10093
|
|
|
10044
|
-
const DEFAULT_PROPS$
|
|
10094
|
+
const DEFAULT_PROPS$y = {
|
|
10045
10095
|
isLazy: INIT_STATE.isLazy,
|
|
10046
10096
|
shouldActivateOnFocus: INIT_STATE.shouldActivateOnFocus
|
|
10047
10097
|
};
|
|
@@ -10070,7 +10120,7 @@ const ProgressTrackerProvider = props => {
|
|
|
10070
10120
|
dispatch({
|
|
10071
10121
|
type: 'update',
|
|
10072
10122
|
payload: {
|
|
10073
|
-
...DEFAULT_PROPS$
|
|
10123
|
+
...DEFAULT_PROPS$y,
|
|
10074
10124
|
...propState,
|
|
10075
10125
|
activeTabIndex: propState.activeStepIndex || INIT_STATE.activeTabIndex
|
|
10076
10126
|
}
|
|
@@ -10093,7 +10143,7 @@ const ProgressTrackerProvider = props => {
|
|
|
10093
10143
|
children: children
|
|
10094
10144
|
});
|
|
10095
10145
|
};
|
|
10096
|
-
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$
|
|
10146
|
+
ProgressTrackerProvider.defaultProps = DEFAULT_PROPS$y;
|
|
10097
10147
|
|
|
10098
10148
|
const useRovingTabIndex = ({
|
|
10099
10149
|
parentRef,
|
|
@@ -10185,7 +10235,7 @@ const {
|
|
|
10185
10235
|
/**
|
|
10186
10236
|
* Component default props.
|
|
10187
10237
|
*/
|
|
10188
|
-
const DEFAULT_PROPS$
|
|
10238
|
+
const DEFAULT_PROPS$x = {};
|
|
10189
10239
|
|
|
10190
10240
|
/**
|
|
10191
10241
|
* ProgressTracker component.
|
|
@@ -10241,7 +10291,7 @@ const ProgressTracker = forwardRef((props, ref) => {
|
|
|
10241
10291
|
});
|
|
10242
10292
|
ProgressTracker.displayName = COMPONENT_NAME$v;
|
|
10243
10293
|
ProgressTracker.className = CLASSNAME$v;
|
|
10244
|
-
ProgressTracker.defaultProps = DEFAULT_PROPS$
|
|
10294
|
+
ProgressTracker.defaultProps = DEFAULT_PROPS$x;
|
|
10245
10295
|
|
|
10246
10296
|
/**
|
|
10247
10297
|
* Component display name.
|
|
@@ -10260,7 +10310,7 @@ const {
|
|
|
10260
10310
|
/**
|
|
10261
10311
|
* Component default props.
|
|
10262
10312
|
*/
|
|
10263
|
-
const DEFAULT_PROPS$
|
|
10313
|
+
const DEFAULT_PROPS$w = {};
|
|
10264
10314
|
|
|
10265
10315
|
/**
|
|
10266
10316
|
* ProgressTrackerStep component.
|
|
@@ -10355,7 +10405,7 @@ const ProgressTrackerStep = forwardRef((props, ref) => {
|
|
|
10355
10405
|
});
|
|
10356
10406
|
ProgressTrackerStep.displayName = COMPONENT_NAME$u;
|
|
10357
10407
|
ProgressTrackerStep.className = CLASSNAME$u;
|
|
10358
|
-
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$
|
|
10408
|
+
ProgressTrackerStep.defaultProps = DEFAULT_PROPS$w;
|
|
10359
10409
|
|
|
10360
10410
|
/**
|
|
10361
10411
|
* Component display name.
|
|
@@ -10373,7 +10423,7 @@ const {
|
|
|
10373
10423
|
/**
|
|
10374
10424
|
* Component default props.
|
|
10375
10425
|
*/
|
|
10376
|
-
const DEFAULT_PROPS$
|
|
10426
|
+
const DEFAULT_PROPS$v = {};
|
|
10377
10427
|
|
|
10378
10428
|
/**
|
|
10379
10429
|
* ProgressTrackerStepPanel component.
|
|
@@ -10409,7 +10459,7 @@ const ProgressTrackerStepPanel = forwardRef((props, ref) => {
|
|
|
10409
10459
|
});
|
|
10410
10460
|
ProgressTrackerStepPanel.displayName = COMPONENT_NAME$t;
|
|
10411
10461
|
ProgressTrackerStepPanel.className = CLASSNAME$t;
|
|
10412
|
-
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$
|
|
10462
|
+
ProgressTrackerStepPanel.defaultProps = DEFAULT_PROPS$v;
|
|
10413
10463
|
|
|
10414
10464
|
/**
|
|
10415
10465
|
* Component display name.
|
|
@@ -10512,7 +10562,7 @@ const RadioButton$1 = props => {
|
|
|
10512
10562
|
/**
|
|
10513
10563
|
* Component default props.
|
|
10514
10564
|
*/
|
|
10515
|
-
const DEFAULT_PROPS$
|
|
10565
|
+
const DEFAULT_PROPS$u = {};
|
|
10516
10566
|
|
|
10517
10567
|
/**
|
|
10518
10568
|
* RadioButton component.
|
|
@@ -10568,7 +10618,7 @@ const RadioButton = forwardRef((props, ref) => {
|
|
|
10568
10618
|
});
|
|
10569
10619
|
RadioButton.displayName = COMPONENT_NAME$s;
|
|
10570
10620
|
RadioButton.className = CLASSNAME$s;
|
|
10571
|
-
RadioButton.defaultProps = DEFAULT_PROPS$
|
|
10621
|
+
RadioButton.defaultProps = DEFAULT_PROPS$u;
|
|
10572
10622
|
|
|
10573
10623
|
/**
|
|
10574
10624
|
* Component display name.
|
|
@@ -10583,7 +10633,7 @@ const CLASSNAME$r = 'lumx-radio-group';
|
|
|
10583
10633
|
/**
|
|
10584
10634
|
* Component default props.
|
|
10585
10635
|
*/
|
|
10586
|
-
const DEFAULT_PROPS$
|
|
10636
|
+
const DEFAULT_PROPS$t = {};
|
|
10587
10637
|
|
|
10588
10638
|
/**
|
|
10589
10639
|
* RadioGroup component.
|
|
@@ -10607,7 +10657,7 @@ const RadioGroup$1 = props => {
|
|
|
10607
10657
|
};
|
|
10608
10658
|
RadioGroup$1.displayName = COMPONENT_NAME$r;
|
|
10609
10659
|
RadioGroup$1.className = CLASSNAME$r;
|
|
10610
|
-
RadioGroup$1.defaultProps = DEFAULT_PROPS$
|
|
10660
|
+
RadioGroup$1.defaultProps = DEFAULT_PROPS$t;
|
|
10611
10661
|
|
|
10612
10662
|
/**
|
|
10613
10663
|
* Defines the props of the component.
|
|
@@ -10791,7 +10841,7 @@ const {
|
|
|
10791
10841
|
} = classNames.bem(CLASSNAME$p);
|
|
10792
10842
|
|
|
10793
10843
|
/** The default value of props. */
|
|
10794
|
-
const DEFAULT_PROPS$
|
|
10844
|
+
const DEFAULT_PROPS$s = {
|
|
10795
10845
|
selectedValueRender: choice => choice,
|
|
10796
10846
|
variant: SelectVariant.input
|
|
10797
10847
|
};
|
|
@@ -10914,7 +10964,7 @@ const Select = forwardRef((props, ref) => {
|
|
|
10914
10964
|
const isEmpty$1 = isEmpty(props.value);
|
|
10915
10965
|
const hasInputClear = props.onClear && props.clearButtonProps && !isEmpty$1;
|
|
10916
10966
|
return WithSelectContext(SelectField, {
|
|
10917
|
-
...DEFAULT_PROPS$
|
|
10967
|
+
...DEFAULT_PROPS$s,
|
|
10918
10968
|
...props,
|
|
10919
10969
|
className: classNames.join(props.className, block$n({
|
|
10920
10970
|
'has-input-clear': hasInputClear,
|
|
@@ -10926,7 +10976,7 @@ const Select = forwardRef((props, ref) => {
|
|
|
10926
10976
|
});
|
|
10927
10977
|
Select.displayName = COMPONENT_NAME$q;
|
|
10928
10978
|
Select.className = CLASSNAME$p;
|
|
10929
|
-
Select.defaultProps = DEFAULT_PROPS$
|
|
10979
|
+
Select.defaultProps = DEFAULT_PROPS$s;
|
|
10930
10980
|
Select.className = CLASSNAME$p;
|
|
10931
10981
|
|
|
10932
10982
|
/** The display name of the component. */
|
|
@@ -10940,7 +10990,7 @@ const {
|
|
|
10940
10990
|
} = classNames.bem(CLASSNAME$o);
|
|
10941
10991
|
|
|
10942
10992
|
/** The default value of props. */
|
|
10943
|
-
const DEFAULT_PROPS$
|
|
10993
|
+
const DEFAULT_PROPS$r = {
|
|
10944
10994
|
selectedChipRender(choice, index, onClear, isDisabled, theme) {
|
|
10945
10995
|
const onClick = event => onClear && onClear(event, choice);
|
|
10946
10996
|
return /*#__PURE__*/jsx(Chip, {
|
|
@@ -11066,7 +11116,7 @@ const SelectMultipleField = props => {
|
|
|
11066
11116
|
*/
|
|
11067
11117
|
const SelectMultiple = forwardRef((props, ref) => {
|
|
11068
11118
|
return WithSelectContext(SelectMultipleField, {
|
|
11069
|
-
...DEFAULT_PROPS$
|
|
11119
|
+
...DEFAULT_PROPS$r,
|
|
11070
11120
|
...props,
|
|
11071
11121
|
className: classNames.join(props.className, block$m({
|
|
11072
11122
|
'has-multiple': !props.isEmpty
|
|
@@ -11077,7 +11127,7 @@ const SelectMultiple = forwardRef((props, ref) => {
|
|
|
11077
11127
|
});
|
|
11078
11128
|
SelectMultiple.displayName = COMPONENT_NAME$p;
|
|
11079
11129
|
SelectMultiple.className = CLASSNAME$o;
|
|
11080
|
-
SelectMultiple.defaultProps = DEFAULT_PROPS$
|
|
11130
|
+
SelectMultiple.defaultProps = DEFAULT_PROPS$r;
|
|
11081
11131
|
|
|
11082
11132
|
/**
|
|
11083
11133
|
* Component display name.
|
|
@@ -11132,7 +11182,7 @@ const {
|
|
|
11132
11182
|
/**
|
|
11133
11183
|
* Component default props.
|
|
11134
11184
|
*/
|
|
11135
|
-
const DEFAULT_PROPS$
|
|
11185
|
+
const DEFAULT_PROPS$q = {
|
|
11136
11186
|
emphasis: Emphasis$1.high,
|
|
11137
11187
|
closeMode: 'unmount'
|
|
11138
11188
|
};
|
|
@@ -11148,7 +11198,7 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
11148
11198
|
const {
|
|
11149
11199
|
children,
|
|
11150
11200
|
className,
|
|
11151
|
-
emphasis = DEFAULT_PROPS$
|
|
11201
|
+
emphasis = DEFAULT_PROPS$q.emphasis,
|
|
11152
11202
|
icon,
|
|
11153
11203
|
isOpen,
|
|
11154
11204
|
isSelected,
|
|
@@ -11158,7 +11208,7 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
11158
11208
|
onActionClick,
|
|
11159
11209
|
onClick,
|
|
11160
11210
|
toggleButtonProps,
|
|
11161
|
-
closeMode = DEFAULT_PROPS$
|
|
11211
|
+
closeMode = DEFAULT_PROPS$q.closeMode,
|
|
11162
11212
|
...forwardedProps
|
|
11163
11213
|
} = props;
|
|
11164
11214
|
const content = children && Children.toArray(children).filter(isComponent(SideNavigationItem));
|
|
@@ -11229,9 +11279,7 @@ const SideNavigationItem = forwardRef((props, ref) => {
|
|
|
11229
11279
|
});
|
|
11230
11280
|
SideNavigationItem.displayName = COMPONENT_NAME$n;
|
|
11231
11281
|
SideNavigationItem.className = CLASSNAME$m;
|
|
11232
|
-
SideNavigationItem.defaultProps = DEFAULT_PROPS$
|
|
11233
|
-
|
|
11234
|
-
const DEFAULT_PROPS$o = {};
|
|
11282
|
+
SideNavigationItem.defaultProps = DEFAULT_PROPS$q;
|
|
11235
11283
|
|
|
11236
11284
|
/**
|
|
11237
11285
|
* Component display name.
|
|
@@ -11244,38 +11292,37 @@ const COMPONENT_NAME$m = 'SkeletonCircle';
|
|
|
11244
11292
|
const CLASSNAME$l = 'lumx-skeleton-circle';
|
|
11245
11293
|
const {
|
|
11246
11294
|
block: block$k
|
|
11247
|
-
} =
|
|
11295
|
+
} = bem(CLASSNAME$l);
|
|
11248
11296
|
|
|
11249
11297
|
/**
|
|
11250
11298
|
* SkeletonCircle component.
|
|
11251
11299
|
*
|
|
11252
11300
|
* @param props Component props.
|
|
11253
|
-
* @
|
|
11254
|
-
* @return React element.
|
|
11301
|
+
* @return JSX element.
|
|
11255
11302
|
*/
|
|
11256
|
-
const SkeletonCircle =
|
|
11257
|
-
const defaultTheme = useTheme() || Theme$1.light;
|
|
11303
|
+
const SkeletonCircle$1 = props => {
|
|
11258
11304
|
const {
|
|
11259
11305
|
className,
|
|
11260
11306
|
size,
|
|
11261
11307
|
color,
|
|
11262
|
-
theme
|
|
11308
|
+
theme,
|
|
11309
|
+
ref,
|
|
11263
11310
|
...forwardedProps
|
|
11264
11311
|
} = props;
|
|
11265
11312
|
return /*#__PURE__*/jsx("div", {
|
|
11266
11313
|
ref: ref,
|
|
11267
11314
|
...forwardedProps,
|
|
11268
|
-
className:
|
|
11315
|
+
className: classnames(className, block$k({
|
|
11269
11316
|
[`size-${size}`]: Boolean(size),
|
|
11270
11317
|
[`color-${color}`]: Boolean(color),
|
|
11271
11318
|
[`theme-${theme}`]: Boolean(theme)
|
|
11272
11319
|
}))
|
|
11273
11320
|
});
|
|
11274
|
-
}
|
|
11275
|
-
SkeletonCircle.displayName = COMPONENT_NAME$m;
|
|
11276
|
-
SkeletonCircle.defaultProps = DEFAULT_PROPS$o;
|
|
11277
|
-
SkeletonCircle.className = CLASSNAME$l;
|
|
11321
|
+
};
|
|
11278
11322
|
|
|
11323
|
+
/**
|
|
11324
|
+
* Skeleton variants.
|
|
11325
|
+
*/
|
|
11279
11326
|
const SkeletonRectangleVariant = {
|
|
11280
11327
|
squared: 'squared',
|
|
11281
11328
|
rounded: 'rounded',
|
|
@@ -11286,10 +11333,6 @@ const SkeletonRectangleVariant = {
|
|
|
11286
11333
|
* Defines the props of the component.
|
|
11287
11334
|
*/
|
|
11288
11335
|
|
|
11289
|
-
const DEFAULT_PROPS$n = {
|
|
11290
|
-
variant: SkeletonRectangleVariant.squared
|
|
11291
|
-
};
|
|
11292
|
-
|
|
11293
11336
|
/**
|
|
11294
11337
|
* Component display name.
|
|
11295
11338
|
*/
|
|
@@ -11302,31 +11345,37 @@ const CLASSNAME$k = 'lumx-skeleton-rectangle';
|
|
|
11302
11345
|
const {
|
|
11303
11346
|
block: block$j,
|
|
11304
11347
|
element: element$c
|
|
11305
|
-
} =
|
|
11348
|
+
} = bem(CLASSNAME$k);
|
|
11349
|
+
|
|
11350
|
+
/**
|
|
11351
|
+
* Component default props.
|
|
11352
|
+
*/
|
|
11353
|
+
const DEFAULT_PROPS$p = {
|
|
11354
|
+
variant: SkeletonRectangleVariant.squared
|
|
11355
|
+
};
|
|
11306
11356
|
|
|
11307
11357
|
/**
|
|
11308
11358
|
* SkeletonRectangle component.
|
|
11309
11359
|
*
|
|
11310
11360
|
* @param props Component props.
|
|
11311
|
-
* @
|
|
11312
|
-
* @return React element.
|
|
11361
|
+
* @return JSX element.
|
|
11313
11362
|
*/
|
|
11314
|
-
const SkeletonRectangle =
|
|
11315
|
-
const defaultTheme = useTheme() || Theme$1.light;
|
|
11363
|
+
const SkeletonRectangle$1 = props => {
|
|
11316
11364
|
const {
|
|
11317
11365
|
aspectRatio,
|
|
11318
11366
|
className,
|
|
11319
11367
|
height,
|
|
11320
|
-
theme
|
|
11321
|
-
variant = DEFAULT_PROPS$
|
|
11368
|
+
theme,
|
|
11369
|
+
variant = DEFAULT_PROPS$p.variant,
|
|
11322
11370
|
width,
|
|
11323
11371
|
color,
|
|
11372
|
+
ref,
|
|
11324
11373
|
...forwardedProps
|
|
11325
11374
|
} = props;
|
|
11326
11375
|
return /*#__PURE__*/jsx("div", {
|
|
11327
11376
|
ref: ref,
|
|
11328
11377
|
...forwardedProps,
|
|
11329
|
-
className:
|
|
11378
|
+
className: classnames(className, block$j({
|
|
11330
11379
|
[`aspect-ratio-${aspectRatio}`]: Boolean(aspectRatio),
|
|
11331
11380
|
[`height-${height}`]: Boolean(aspectRatio ? undefined : height),
|
|
11332
11381
|
[`theme-${theme}`]: Boolean(theme),
|
|
@@ -11338,12 +11387,7 @@ const SkeletonRectangle = forwardRef((props, ref) => {
|
|
|
11338
11387
|
className: element$c('inner')
|
|
11339
11388
|
})
|
|
11340
11389
|
});
|
|
11341
|
-
}
|
|
11342
|
-
SkeletonRectangle.displayName = COMPONENT_NAME$l;
|
|
11343
|
-
SkeletonRectangle.className = CLASSNAME$k;
|
|
11344
|
-
SkeletonRectangle.defaultProps = DEFAULT_PROPS$n;
|
|
11345
|
-
|
|
11346
|
-
const DEFAULT_PROPS$m = {};
|
|
11390
|
+
};
|
|
11347
11391
|
|
|
11348
11392
|
/**
|
|
11349
11393
|
* Component display name.
|
|
@@ -11357,29 +11401,28 @@ const CLASSNAME$j = 'lumx-skeleton-typography';
|
|
|
11357
11401
|
const {
|
|
11358
11402
|
block: block$i,
|
|
11359
11403
|
element: element$b
|
|
11360
|
-
} =
|
|
11404
|
+
} = bem(CLASSNAME$j);
|
|
11361
11405
|
|
|
11362
11406
|
/**
|
|
11363
11407
|
* SkeletonTypography component.
|
|
11364
11408
|
*
|
|
11365
11409
|
* @param props Component props.
|
|
11366
|
-
* @
|
|
11367
|
-
* @return React element.
|
|
11410
|
+
* @return JSX element.
|
|
11368
11411
|
*/
|
|
11369
|
-
const SkeletonTypography =
|
|
11370
|
-
const defaultTheme = useTheme() || Theme$1.light;
|
|
11412
|
+
const SkeletonTypography$1 = props => {
|
|
11371
11413
|
const {
|
|
11372
11414
|
className,
|
|
11373
|
-
theme
|
|
11415
|
+
theme,
|
|
11374
11416
|
typography,
|
|
11375
11417
|
width,
|
|
11376
11418
|
color,
|
|
11419
|
+
ref,
|
|
11377
11420
|
...forwardedProps
|
|
11378
11421
|
} = props;
|
|
11379
11422
|
return /*#__PURE__*/jsx("div", {
|
|
11380
11423
|
ref: ref,
|
|
11381
11424
|
...forwardedProps,
|
|
11382
|
-
className:
|
|
11425
|
+
className: classnames(className, block$i({
|
|
11383
11426
|
[`theme-${theme}`]: Boolean(theme),
|
|
11384
11427
|
[`typography-${typography}`]: Boolean(typography),
|
|
11385
11428
|
[`color-${color}`]: Boolean(color)
|
|
@@ -11392,6 +11435,116 @@ const SkeletonTypography = forwardRef((props, ref) => {
|
|
|
11392
11435
|
className: element$b('inner')
|
|
11393
11436
|
})
|
|
11394
11437
|
});
|
|
11438
|
+
};
|
|
11439
|
+
|
|
11440
|
+
/**
|
|
11441
|
+
* Defines the props of the component.
|
|
11442
|
+
*/
|
|
11443
|
+
|
|
11444
|
+
const DEFAULT_PROPS$o = {};
|
|
11445
|
+
|
|
11446
|
+
/**
|
|
11447
|
+
* SkeletonCircle component.
|
|
11448
|
+
*
|
|
11449
|
+
* @param props Component props.
|
|
11450
|
+
* @param ref Component ref.
|
|
11451
|
+
* @return React element.
|
|
11452
|
+
*/
|
|
11453
|
+
const SkeletonCircle = forwardRef((props, ref) => {
|
|
11454
|
+
const defaultTheme = useTheme() || Theme$1.light;
|
|
11455
|
+
const {
|
|
11456
|
+
className,
|
|
11457
|
+
size,
|
|
11458
|
+
color,
|
|
11459
|
+
theme = defaultTheme,
|
|
11460
|
+
...forwardedProps
|
|
11461
|
+
} = props;
|
|
11462
|
+
return SkeletonCircle$1({
|
|
11463
|
+
ref,
|
|
11464
|
+
className,
|
|
11465
|
+
size,
|
|
11466
|
+
color,
|
|
11467
|
+
theme,
|
|
11468
|
+
...forwardedProps
|
|
11469
|
+
});
|
|
11470
|
+
});
|
|
11471
|
+
SkeletonCircle.displayName = COMPONENT_NAME$m;
|
|
11472
|
+
SkeletonCircle.defaultProps = DEFAULT_PROPS$o;
|
|
11473
|
+
SkeletonCircle.className = CLASSNAME$l;
|
|
11474
|
+
|
|
11475
|
+
/**
|
|
11476
|
+
* Defines the props of the component.
|
|
11477
|
+
*/
|
|
11478
|
+
|
|
11479
|
+
const DEFAULT_PROPS$n = DEFAULT_PROPS$p;
|
|
11480
|
+
|
|
11481
|
+
/**
|
|
11482
|
+
* SkeletonRectangle component.
|
|
11483
|
+
*
|
|
11484
|
+
* @param props Component props.
|
|
11485
|
+
* @param ref Component ref.
|
|
11486
|
+
* @return React element.
|
|
11487
|
+
*/
|
|
11488
|
+
const SkeletonRectangle = forwardRef((props, ref) => {
|
|
11489
|
+
const defaultTheme = useTheme() || Theme$1.light;
|
|
11490
|
+
const {
|
|
11491
|
+
aspectRatio,
|
|
11492
|
+
className,
|
|
11493
|
+
height,
|
|
11494
|
+
theme = defaultTheme,
|
|
11495
|
+
variant = DEFAULT_PROPS$n.variant,
|
|
11496
|
+
width,
|
|
11497
|
+
color,
|
|
11498
|
+
...forwardedProps
|
|
11499
|
+
} = props;
|
|
11500
|
+
return SkeletonRectangle$1({
|
|
11501
|
+
ref,
|
|
11502
|
+
aspectRatio,
|
|
11503
|
+
className,
|
|
11504
|
+
height,
|
|
11505
|
+
theme,
|
|
11506
|
+
variant,
|
|
11507
|
+
width,
|
|
11508
|
+
color,
|
|
11509
|
+
...forwardedProps
|
|
11510
|
+
});
|
|
11511
|
+
});
|
|
11512
|
+
SkeletonRectangle.displayName = COMPONENT_NAME$l;
|
|
11513
|
+
SkeletonRectangle.className = CLASSNAME$k;
|
|
11514
|
+
SkeletonRectangle.defaultProps = DEFAULT_PROPS$n;
|
|
11515
|
+
|
|
11516
|
+
/**
|
|
11517
|
+
* Defines the props of the component.
|
|
11518
|
+
*/
|
|
11519
|
+
|
|
11520
|
+
const DEFAULT_PROPS$m = {};
|
|
11521
|
+
|
|
11522
|
+
/**
|
|
11523
|
+
* SkeletonTypography component.
|
|
11524
|
+
*
|
|
11525
|
+
* @param props Component props.
|
|
11526
|
+
* @param ref Component ref.
|
|
11527
|
+
* @return React element.
|
|
11528
|
+
*/
|
|
11529
|
+
const SkeletonTypography = forwardRef((props, ref) => {
|
|
11530
|
+
const defaultTheme = useTheme() || Theme$1.light;
|
|
11531
|
+
const {
|
|
11532
|
+
className,
|
|
11533
|
+
theme = defaultTheme,
|
|
11534
|
+
typography,
|
|
11535
|
+
width,
|
|
11536
|
+
color,
|
|
11537
|
+
...forwardedProps
|
|
11538
|
+
} = props;
|
|
11539
|
+
return SkeletonTypography$1({
|
|
11540
|
+
ref,
|
|
11541
|
+
className,
|
|
11542
|
+
theme,
|
|
11543
|
+
typography,
|
|
11544
|
+
width,
|
|
11545
|
+
color,
|
|
11546
|
+
...forwardedProps
|
|
11547
|
+
});
|
|
11395
11548
|
});
|
|
11396
11549
|
SkeletonTypography.displayName = COMPONENT_NAME$k;
|
|
11397
11550
|
SkeletonTypography.defaultProps = DEFAULT_PROPS$m;
|
|
@@ -14793,5 +14946,5 @@ UserBlock.displayName = COMPONENT_NAME;
|
|
|
14793
14946
|
UserBlock.className = CLASSNAME;
|
|
14794
14947
|
UserBlock.defaultProps = DEFAULT_PROPS;
|
|
14795
14948
|
|
|
14796
|
-
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1d as CLASSNAME, COMPONENT_NAME$1e as COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$
|
|
14949
|
+
export { AlertDialog, Autocomplete, AutocompleteMultiple, Avatar, Badge, BadgeWrapper, Button, ButtonGroup, CLASSNAME$1d as CLASSNAME, COMPONENT_NAME$1e as COMPONENT_NAME, Checkbox, Chip, ChipGroup, CommentBlock, CommentBlockVariant, DEFAULT_PROPS$14 as DEFAULT_PROPS, DatePicker, DatePickerControlled, DatePickerField, Dialog, Divider, DragHandle, Dropdown, ExpansionPanel, Flag, FlexBox, GenericBlock, GenericBlockGapSize, Grid, GridColumn, GridItem, Heading, HeadingLevelProvider, Icon, IconButton, ImageBlock, ImageBlockCaptionPosition, ImageLightbox, InlineList, InputHelper, InputLabel, Lightbox, Link, LinkPreview, List, ListDivider, ListItem, ListSubheader, Message, Mosaic, Navigation, Notification, Placement, Popover, PopoverDialog, PostBlock, Progress, ProgressCircular, ProgressLinear, ProgressTracker, ProgressTrackerProvider, ProgressTrackerStep, ProgressTrackerStepPanel, ProgressVariant, RadioButton, RadioGroup, RawInputText, RawInputTextarea, Select, SelectMultiple, SelectMultipleField, SelectVariant, SelectionChipGroup, SideNavigation, SideNavigationItem, SkeletonCircle, SkeletonRectangle, SkeletonRectangleVariant, SkeletonTypography, Slider, Slides, Slideshow, SlideshowControls, SlideshowItem, Switch, Tab, TabList, TabListLayout, TabPanel, TabProvider, Table, TableBody, TableCell, TableCellVariant, TableHeader, TableRow, Text, TextField, ThOrder, ThemeProvider, Thumbnail, ThumbnailAspectRatio, ThumbnailObjectFit, ThumbnailVariant, Toolbar, Tooltip, Uploader, UploaderVariant, UserBlock, clamp, isClickable, useFocusPointStyle, useHeadingLevel, useTheme };
|
|
14797
14950
|
//# sourceMappingURL=index.js.map
|