shineout 3.1.8 → 3.2.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.js +1 -1
- package/dist/shineout.js +561 -228
- package/dist/shineout.js.map +1 -1
- package/dist/shineout.min.js +1 -1
- package/dist/shineout.min.js.map +1 -1
- package/esm/index.js +1 -1
- package/package.json +5 -5
package/dist/shineout.js
CHANGED
|
@@ -11949,7 +11949,7 @@ var handleStyle = function handleStyle(style) {
|
|
|
11949
11949
|
};
|
|
11950
11950
|
/* harmony default export */ var jss_style_handleStyle = (handleStyle);
|
|
11951
11951
|
;// CONCATENATED MODULE: ../shineout-style/src/version.ts
|
|
11952
|
-
/* harmony default export */ var version = ('3.
|
|
11952
|
+
/* harmony default export */ var version = ('3.2.0-rc.2');
|
|
11953
11953
|
;// CONCATENATED MODULE: ../shineout-style/src/jss-style/index.tsx
|
|
11954
11954
|
|
|
11955
11955
|
|
|
@@ -12478,12 +12478,15 @@ var alertTokens = {
|
|
|
12478
12478
|
alertDangerBorderColor: 'Danger-2',
|
|
12479
12479
|
alertDangerFontColor: 'Danger-6',
|
|
12480
12480
|
alertFontSize: 'Font-14',
|
|
12481
|
+
alertFontWeight: 'Weight-regular',
|
|
12481
12482
|
alertFontColor: 'Neutral-text-5',
|
|
12482
12483
|
alertPaddingX: 'Spacing-16',
|
|
12483
12484
|
alertPaddingY: 'Spacing-8',
|
|
12484
|
-
alertBorderRadius: 'Radius-
|
|
12485
|
+
alertBorderRadius: 'Radius-default',
|
|
12485
12486
|
alertNearlyMargin: 'Spacing-8',
|
|
12486
12487
|
alertTitleFontSize: 'Font-16',
|
|
12488
|
+
alertTitleFontWeight: 'Weight-medium',
|
|
12489
|
+
alertTitleMarginY: 'Spacing-4',
|
|
12487
12490
|
alertCloseFontColor: 'Neutral-text-4',
|
|
12488
12491
|
alertCloseHoverColor: 'Neutral-text-5',
|
|
12489
12492
|
alertMessageHoverColor: 'Neutral-fill-2'
|
|
@@ -12501,11 +12504,9 @@ var alertTokens = {
|
|
|
12501
12504
|
var breadcrumbTokens = {
|
|
12502
12505
|
breadcrumbFontSize: 'Font-14',
|
|
12503
12506
|
breadcrumbFontColor: 'Neutral-text-5',
|
|
12507
|
+
breadcrumbFontWieght: 'Weight-regular',
|
|
12504
12508
|
breadcrumbLinkColor: 'Neutral-text-3',
|
|
12505
12509
|
breadcrumbLinkHoverColor: 'Brand-5',
|
|
12506
|
-
breadcrumbListBackgroundColor: 'Neutral-fill-1',
|
|
12507
|
-
breadcrumbListShadow: 'Shadow-1',
|
|
12508
|
-
breadcrumbListBorderColor: '#f4f5f8',
|
|
12509
12510
|
breadcrumbListPaddingY: 'Spacing-4',
|
|
12510
12511
|
breadcrumbListItemBorderRadius: 'Radius-4',
|
|
12511
12512
|
breadcrumbListItemWrapperPaddingX: 'Spacing-4',
|
|
@@ -13250,7 +13251,7 @@ var descriptionsTokens = {
|
|
|
13250
13251
|
descriptionsTitleSmallSize: 'Font-14',
|
|
13251
13252
|
descriptionsTitleDefaultSize: 'Font-16',
|
|
13252
13253
|
descriptionsTitleLargeSize: 'Font-18',
|
|
13253
|
-
descriptionsBorderDefaultSize: '
|
|
13254
|
+
descriptionsBorderDefaultSize: 'Border-1',
|
|
13254
13255
|
descriptionsFontSmallSize: 'Font-12',
|
|
13255
13256
|
descriptionsFontDefaultSize: 'Font-14',
|
|
13256
13257
|
descriptionsFontLargeSize: 'Font-16',
|
|
@@ -13259,15 +13260,17 @@ var descriptionsTokens = {
|
|
|
13259
13260
|
descriptionsTitleColor: 'Neutral-text-5',
|
|
13260
13261
|
descriptionsBackgroundColor: 'Neutral-fill-2',
|
|
13261
13262
|
descriptionsBorderColor: 'Neutral-border-1',
|
|
13262
|
-
descriptionsTitleFontWeight: '
|
|
13263
|
+
descriptionsTitleFontWeight: 'Weight-medium',
|
|
13263
13264
|
descriptionsTitleGap: 'Size-2',
|
|
13264
|
-
|
|
13265
|
+
descriptionsCellGap: 'Spacing-0',
|
|
13266
|
+
descriptionsBorderRadius: 'Radius-lesser',
|
|
13265
13267
|
descriptionsBorderRightSize: '1px',
|
|
13266
13268
|
descriptionsBorderBottomSize: '1px',
|
|
13267
13269
|
descriptionsBorderPaddingX: 'Spacing-8',
|
|
13268
13270
|
descriptionsBorderPaddingY: 'Spacing-12',
|
|
13269
13271
|
descriptionsInlineBorderPaddingX: 'Spacing-8',
|
|
13270
|
-
descriptionsInlineBorderPaddingY: 'Spacing-12'
|
|
13272
|
+
descriptionsInlineBorderPaddingY: 'Spacing-12',
|
|
13273
|
+
descriptionsVerticalPaddingBottom: 'Spacing-2'
|
|
13271
13274
|
};
|
|
13272
13275
|
/* harmony default export */ var descriptions = (descriptionsTokens);
|
|
13273
13276
|
;// CONCATENATED MODULE: ../theme/src/descriptions/index.ts
|
|
@@ -13300,16 +13303,16 @@ var dividerTokens = {
|
|
|
13300
13303
|
// This file was generated automatically by a script. Please do not modify it directly.
|
|
13301
13304
|
|
|
13302
13305
|
var dropdownTokens = {
|
|
13303
|
-
dropdownCaretMarginLeft: 'Spacing-
|
|
13304
|
-
dropdownListBorderRadius: 'Radius-
|
|
13306
|
+
dropdownCaretMarginLeft: 'Spacing-8',
|
|
13307
|
+
dropdownListBorderRadius: 'Radius-default',
|
|
13305
13308
|
dropdownListPaddingX: 'Spacing-4',
|
|
13306
13309
|
dropdownListPaddingY: 'Spacing-4',
|
|
13307
13310
|
dropdownListFontSize: 'Font-14',
|
|
13308
|
-
dropdownListSmallBorderRadius: 'Radius-
|
|
13311
|
+
dropdownListSmallBorderRadius: 'Radius-default',
|
|
13309
13312
|
dropdownListSmallPaddingX: 'Spacing-4',
|
|
13310
13313
|
dropdownListSmallPaddingY: 'Spacing-4',
|
|
13311
13314
|
dropdownListSmallFontSize: 'Font-12',
|
|
13312
|
-
dropdownListLargeBorderRadius: 'Radius-
|
|
13315
|
+
dropdownListLargeBorderRadius: 'Radius-default',
|
|
13313
13316
|
dropdownListLargePaddingX: 'Spacing-4',
|
|
13314
13317
|
dropdownListLargePaddingY: 'Spacing-4',
|
|
13315
13318
|
dropdownListLargeFontSize: 'Font-16',
|
|
@@ -13334,6 +13337,8 @@ var dropdownTokens = {
|
|
|
13334
13337
|
dropdownOptionSelectFontColor: 'Brand-6',
|
|
13335
13338
|
dropdownOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
13336
13339
|
dropdownOptionDisabledFontColor: 'Neutral-text-2',
|
|
13340
|
+
dropdownOptionBorderRadius: 'Radius-default',
|
|
13341
|
+
dropdownOptionFontWeight: 'Weight-regular',
|
|
13337
13342
|
dropdownColumnPaddingX: 'Spacing-4',
|
|
13338
13343
|
dropdownColumnPaddingY: 'Spacing-4',
|
|
13339
13344
|
dropdownOptionGroupPaddingX: 'Spacing-8',
|
|
@@ -13461,33 +13466,42 @@ var imageTokens = {
|
|
|
13461
13466
|
|
|
13462
13467
|
var inputTokens = {
|
|
13463
13468
|
inputFontSize: 'Font-14',
|
|
13464
|
-
|
|
13469
|
+
inputFontColor: 'Neutral-text-5',
|
|
13470
|
+
inputFontWeight: 'Weight-regular',
|
|
13471
|
+
inputBorderRadius: 'Radius-default',
|
|
13472
|
+
inputBorderColor: 'Neutral-border-2',
|
|
13473
|
+
inputBorderWidth: 'Border-1',
|
|
13465
13474
|
inputPaddingX: 'Spacing-8',
|
|
13466
13475
|
inputPaddingY: 'Spacing-4',
|
|
13467
13476
|
inputIconSize: 'Size-7',
|
|
13477
|
+
inputIconColor: 'Neutral-text-4',
|
|
13468
13478
|
inputSmallFontSize: 'Font-12',
|
|
13469
13479
|
inputSmallPaddingX: 'Spacing-8',
|
|
13470
13480
|
inputSmallPaddingY: 'Spacing-1',
|
|
13471
13481
|
inputLargeFontSize: 'Font-16',
|
|
13472
13482
|
inputLargePaddingX: 'Spacing-12',
|
|
13473
13483
|
inputLargePaddingY: 'Spacing-7',
|
|
13474
|
-
inputFontColor: 'Neutral-text-5',
|
|
13475
13484
|
inputPlaceholderColor: 'Neutral-text-2',
|
|
13476
|
-
inputBorderColor: 'Neutral-border-2',
|
|
13477
13485
|
inputBackgroundColor: 'Neutral-fill-1',
|
|
13478
13486
|
inputClearColor: 'Neutral-text-3',
|
|
13479
13487
|
inputToggleColor: 'Neutral-text-4',
|
|
13480
|
-
inputIconColor: 'Neutral-text-4',
|
|
13481
13488
|
inputHoverBorderColor: 'Brand-6',
|
|
13489
|
+
inputHoverBackgroundColor: 'Neutral-fill-1',
|
|
13482
13490
|
inputHoverClearColor: 'Neutral-text-4',
|
|
13483
13491
|
inputHoverToggleColor: 'Neutral-text-5',
|
|
13484
13492
|
inputFocusBorderColor: 'Brand-7',
|
|
13493
|
+
inputFocusBackgroundColor: 'Neutral-fill-1',
|
|
13485
13494
|
inputFocusShadow: 'Brand-2',
|
|
13486
13495
|
inputDisabledFontColor: 'Neutral-text-2',
|
|
13487
13496
|
inputDisabledPlaceholderColor: 'Neutral-text-2',
|
|
13488
13497
|
inputDisabledBorderColor: 'Neutral-border-1',
|
|
13489
13498
|
inputDisabledBackgroundColor: 'Neutral-fill-2',
|
|
13490
13499
|
inputErrorBorderColor: 'Danger-6',
|
|
13500
|
+
inputErrorBackgroundColor: 'Neutral-fill-1',
|
|
13501
|
+
inputErrorHoverBorderColor: 'Danger-6',
|
|
13502
|
+
inputErrorHoverBackgroundColor: 'Neutral-fill-1',
|
|
13503
|
+
inputErrorFocusBorderColor: 'Danger-6',
|
|
13504
|
+
inputErrorFocusBackgroundColor: 'Neutral-fill-1',
|
|
13491
13505
|
inputErrorFocusShadow: 'Danger-1',
|
|
13492
13506
|
inputInfoFontColor: 'Brand-6',
|
|
13493
13507
|
inputInfoBackgroundColor: 'Neutral-fill-1',
|
|
@@ -13498,13 +13512,16 @@ var inputTokens = {
|
|
|
13498
13512
|
inputInnerPaddingX: 'Spacing-8',
|
|
13499
13513
|
inputInnerPaddingY: 'Spacing-1',
|
|
13500
13514
|
inputInnerFontSize: 'Font-12',
|
|
13515
|
+
inputInnerFontColor: 'Neutral-text-4',
|
|
13501
13516
|
inputInnerSmallPaddingX: 'Spacing-8',
|
|
13502
13517
|
inputInnerSmallPaddingY: 'Spacing-1',
|
|
13503
13518
|
inputInnerSmallFontSize: 'Font-12',
|
|
13504
13519
|
inputInnerLargePaddingX: 'Spacing-12',
|
|
13505
13520
|
inputInnerLargePaddingY: 'Spacing-3',
|
|
13506
13521
|
inputInnerLargeFontSize: 'Font-14',
|
|
13507
|
-
|
|
13522
|
+
inputInnerTopFontSize: 'Font-12',
|
|
13523
|
+
inputInnerTopSmallFontSize: 'Font-12',
|
|
13524
|
+
inputInnerTopLargeFontSize: 'Font-12'
|
|
13508
13525
|
};
|
|
13509
13526
|
/* harmony default export */ var input = (inputTokens);
|
|
13510
13527
|
;// CONCATENATED MODULE: ../theme/src/input/index.ts
|
|
@@ -13520,13 +13537,17 @@ var listTokens = {
|
|
|
13520
13537
|
listFontSize: 'Font-14',
|
|
13521
13538
|
listFontColor: 'Neutral-text-5',
|
|
13522
13539
|
listBorderColor: 'Neutral-border-1',
|
|
13523
|
-
listBorderRadius: 'Radius-
|
|
13540
|
+
listBorderRadius: 'Radius-lesser',
|
|
13541
|
+
listBorderWidth: 'Border-1',
|
|
13524
13542
|
listItemPaddingY: 'Spacing-12',
|
|
13525
13543
|
listItemPaddingX: 'Spacing-16',
|
|
13544
|
+
listItemBackgroundColor: 'Transparent',
|
|
13526
13545
|
listSmallItemPaddingY: 'Spacing-8',
|
|
13527
13546
|
listSmallItemPaddingX: 'Spacing-12',
|
|
13547
|
+
listSmallFontSize: 'Font-14',
|
|
13528
13548
|
listLargeItemPaddingY: 'Spacing-16',
|
|
13529
13549
|
listLargeItemPaddingX: 'Spacing-20',
|
|
13550
|
+
listLargeFontSize: 'Font-14',
|
|
13530
13551
|
listPaginationMarginY: 'Spacing-12',
|
|
13531
13552
|
listStripedBackgroundColor: 'Neutral-fill-2'
|
|
13532
13553
|
};
|
|
@@ -13544,6 +13565,11 @@ var menuTokens = {
|
|
|
13544
13565
|
menuFontSize: 'Font-14',
|
|
13545
13566
|
menuFontColor: 'Neutral-text-5',
|
|
13546
13567
|
menuIconColor: 'Neutral-text-4',
|
|
13568
|
+
menuCollapseWidth: 'Size-20',
|
|
13569
|
+
menuCollapseItemDisabledFontColor: 'Neutral-text-2',
|
|
13570
|
+
menuCollapseItemDisabledBackgroundColor: 'Neutral-fill-1',
|
|
13571
|
+
menuCollapseItemActiveFontColor: 'Brand-6',
|
|
13572
|
+
menuCollapseItemActiveBackgroundColor: 'Neutral-fill-1',
|
|
13547
13573
|
menuItemBackgroundColor: 'Neutral-fill-1',
|
|
13548
13574
|
menuItemFontColor: 'Neutral-text-5',
|
|
13549
13575
|
menuItemHoverBackgroundColor: 'Neutral-fill-2',
|
|
@@ -13553,7 +13579,7 @@ var menuTokens = {
|
|
|
13553
13579
|
menuItemActiveFontColor: 'Brand-6',
|
|
13554
13580
|
menuItemDisabledBackgroundColor: 'Neutral-fill-1',
|
|
13555
13581
|
menuItemDisabledFontColor: 'Neutral-text-2',
|
|
13556
|
-
menuTitlePaddingX: '
|
|
13582
|
+
menuTitlePaddingX: '13px',
|
|
13557
13583
|
menuTitlePaddingY: '9px',
|
|
13558
13584
|
menuExpandWidth: '46px',
|
|
13559
13585
|
menuExpandSize: '14px',
|
|
@@ -13569,7 +13595,15 @@ var menuTokens = {
|
|
|
13569
13595
|
menuDarkItemOpenBackgroundColor: 'Neutral-fill-9',
|
|
13570
13596
|
menuDarkItemOpenFontColor: 'Neutral-text-1',
|
|
13571
13597
|
menuDarkItemDisabledBackgroundColor: 'Neutral-fill-10',
|
|
13572
|
-
menuDarkItemDisabledFontColor: 'Neutral-text-4'
|
|
13598
|
+
menuDarkItemDisabledFontColor: 'Neutral-text-4',
|
|
13599
|
+
menuDarkCollapseItemFontColor: 'Brand-1',
|
|
13600
|
+
menuDarkCollapseItemBackgroundColor: 'Neutral-fill-9',
|
|
13601
|
+
menuDarkCollapseItemActiveFontColor: 'Neutral-text-1',
|
|
13602
|
+
menuDarkCollapseItemActiveBackgroundColor: 'Brand-6',
|
|
13603
|
+
menuDarkCollapseItemDisabledFontColor: 'Neutral-text-4',
|
|
13604
|
+
menuDarkCollapseItemDisabledBackgroundColor: 'Neutral-fill-9',
|
|
13605
|
+
menuDarkCollapseItemHoverFontColor: 'Neutral-text-1',
|
|
13606
|
+
menuDarkCollapseItemHoverBackgroundColor: 'Brand-9'
|
|
13573
13607
|
};
|
|
13574
13608
|
/* harmony default export */ var menu = (menuTokens);
|
|
13575
13609
|
;// CONCATENATED MODULE: ../theme/src/menu/index.ts
|
|
@@ -13657,9 +13691,10 @@ var paginationTokens = {
|
|
|
13657
13691
|
|
|
13658
13692
|
var popoverTokens = {
|
|
13659
13693
|
popoverFontSize: 'Font-14',
|
|
13694
|
+
popoverFontWeight: 'Weight-regular',
|
|
13660
13695
|
popoverPaddingX: 'Spacing-8',
|
|
13661
13696
|
popoverPaddingY: 'Spacing-8',
|
|
13662
|
-
popoverRadius: 'Radius-
|
|
13697
|
+
popoverRadius: 'Radius-default',
|
|
13663
13698
|
popoverBorderWidth: 'Border-1',
|
|
13664
13699
|
popoverFontColor: 'Neutral-text-5',
|
|
13665
13700
|
popoverBackgroundColor: 'Neutral-fill-1',
|
|
@@ -13667,17 +13702,18 @@ var popoverTokens = {
|
|
|
13667
13702
|
popoverBorderColor: 'Neutral-border-1',
|
|
13668
13703
|
popoverSuccessBackgroundColor: '#edf9e8',
|
|
13669
13704
|
popoverSuccessBorderColor: 'rgba(82, 196, 26, 0.1)',
|
|
13670
|
-
popoverWarningBackgroundColor: '
|
|
13671
|
-
popoverWarningBorderColor: '
|
|
13672
|
-
popoverInfoBackgroundColor: '
|
|
13673
|
-
popoverInfoBorderColor: '
|
|
13674
|
-
popoverDangerBackgroundColor: '
|
|
13675
|
-
popoverDangerBorderColor: '
|
|
13705
|
+
popoverWarningBackgroundColor: 'Warning-1',
|
|
13706
|
+
popoverWarningBorderColor: 'Warning-2',
|
|
13707
|
+
popoverInfoBackgroundColor: 'Brand-1',
|
|
13708
|
+
popoverInfoBorderColor: 'Brand-2',
|
|
13709
|
+
popoverDangerBackgroundColor: 'Danger-1',
|
|
13710
|
+
popoverDangerBorderColor: 'Danger-2',
|
|
13676
13711
|
popoverErrorFontColor: 'Danger-7',
|
|
13677
13712
|
popoverErrorBackgroundColor: 'Danger-1',
|
|
13678
13713
|
popoverErrorBorderColor: 'Danger-1',
|
|
13679
13714
|
popoverConfirmPaddingX: 'Spacing-16',
|
|
13680
13715
|
popoverConfirmPaddingY: 'Spacing-16',
|
|
13716
|
+
popoverConfirmMarginY: 'Spacing-16',
|
|
13681
13717
|
popoverConfirmBackgroundColor: 'transparent'
|
|
13682
13718
|
};
|
|
13683
13719
|
/* harmony default export */ var popover = (popoverTokens);
|
|
@@ -13784,8 +13820,10 @@ var rateTokens = {
|
|
|
13784
13820
|
var selectTokens = {
|
|
13785
13821
|
selectFontSize: 'Font-14',
|
|
13786
13822
|
selectFontColor: 'Neutral-text-5',
|
|
13787
|
-
|
|
13823
|
+
selectFontWeight: 'Weight-regular',
|
|
13824
|
+
selectBorderRadius: 'Radius-default',
|
|
13788
13825
|
selectBorderColor: 'Neutral-border-2',
|
|
13826
|
+
selectBorderWidth: 'Border-1',
|
|
13789
13827
|
selectPaddingX: 'Spacing-8',
|
|
13790
13828
|
selectPaddingY: 'Spacing-2',
|
|
13791
13829
|
selectIconSize: 'Size-7',
|
|
@@ -13810,26 +13848,35 @@ var selectTokens = {
|
|
|
13810
13848
|
selectClearPadding: 'Spacing-8',
|
|
13811
13849
|
selectHoverBorderColor: 'Brand-6',
|
|
13812
13850
|
selectHoverClearColor: 'Neutral-text-4',
|
|
13851
|
+
selectHoverBackgroundColor: 'Neutral-fill-1',
|
|
13813
13852
|
selectFocusBorderColor: 'Brand-7',
|
|
13814
13853
|
selectFocusShadow: 'Brand-2',
|
|
13854
|
+
selectFocusBackgroundColor: 'Neutral-fill-1',
|
|
13815
13855
|
selectDisabledIconColor: 'Neutral-text-2',
|
|
13816
13856
|
selectDisabledFontColor: 'Neutral-text-2',
|
|
13817
13857
|
selectDisabledPlaceholderColor: 'Neutral-text-2',
|
|
13818
13858
|
selectDisabledBorderColor: 'Neutral-border-1',
|
|
13819
13859
|
selectDisabledBackgroundColor: 'Neutral-fill-2',
|
|
13820
|
-
selectResultTextBorderRadius: 'Radius-
|
|
13860
|
+
selectResultTextBorderRadius: 'Radius-default',
|
|
13821
13861
|
selectResultTextPaddingX: 'Spacing-4',
|
|
13822
13862
|
selectResultTextSmallPaddingX: 'Spacing-4',
|
|
13823
13863
|
selectResultTextLargePaddingX: 'Spacing-10',
|
|
13824
13864
|
selectResultTextActiveBackgroundColor: 'Brand-1',
|
|
13825
13865
|
selectErrorBorderColor: 'Danger-6',
|
|
13866
|
+
selectErrorBackgroundColor: 'Neutral-fill-1',
|
|
13826
13867
|
selectErrorFocusShadow: 'Danger-1',
|
|
13868
|
+
selectErrorFocusBackgroundColor: 'Neutral-fill-1',
|
|
13869
|
+
selectErrorFocusBorderColor: 'Danger-6',
|
|
13870
|
+
selectErrorHoverBackgroundColor: 'Neutral-fill-1',
|
|
13871
|
+
selectErrorHoverBorderColor: 'Danger-6',
|
|
13827
13872
|
selectPanelColor: 'Neutral-text-5',
|
|
13828
13873
|
selectPanelBackgroundColor: 'Neutral-fill-1',
|
|
13829
13874
|
selectPanelShadow: 'Shadow-2',
|
|
13830
|
-
selectPanelRadius: 'Radius-
|
|
13875
|
+
selectPanelRadius: 'Radius-default',
|
|
13831
13876
|
selectPanelBorder: 'Neutral-border-1',
|
|
13832
13877
|
selectOptionHeight: 'Size-16',
|
|
13878
|
+
selectOptionBackgroundColor: 'Neutral-fill-1',
|
|
13879
|
+
selectOptionFontColor: 'Neutral-text-5',
|
|
13833
13880
|
selectOptionPaddingX: 'Spacing-4',
|
|
13834
13881
|
selectOptionPaddingY: 'Spacing-1',
|
|
13835
13882
|
selectOptionActiveColor: 'Brand-6',
|
|
@@ -13837,15 +13884,18 @@ var selectTokens = {
|
|
|
13837
13884
|
selectOptionInnerPaddingX: 'Spacing-8',
|
|
13838
13885
|
selectOptionInnerPaddingY: 'Spacing-5',
|
|
13839
13886
|
selectOptionInnerPaddingRight: 'Size-15',
|
|
13840
|
-
selectOptionInnerBorderRadius: 'Radius-
|
|
13887
|
+
selectOptionInnerBorderRadius: 'Radius-lesser',
|
|
13841
13888
|
selectOptionHoverBackgroundColor: 'Neutral-fill-2',
|
|
13889
|
+
selectOptionHoverFontColor: 'Neutral-text-5',
|
|
13842
13890
|
selectOptionDisabledColor: 'Neutral-text-2',
|
|
13843
13891
|
selectOptionDisabledBackgroundColor: 'Neutral-fill-1',
|
|
13844
13892
|
selectMorePadding: 'Spacing-8',
|
|
13845
|
-
|
|
13893
|
+
selectHeaderPaddingX: 'Spacing-8',
|
|
13894
|
+
selectHeaderPaddingY: 'Spacing-8',
|
|
13846
13895
|
selectHeaderBorderColor: 'Neutral-border-1',
|
|
13847
13896
|
selectGroupTitleFontColor: 'Neutral-text-3',
|
|
13848
13897
|
selectGroupTitleFontSize: 'Font-12',
|
|
13898
|
+
selectGroupTitleFontWeight: 'Weight-regular',
|
|
13849
13899
|
selectGroupTitlePaddingX: 'Spacing-12',
|
|
13850
13900
|
selectGroupTitlePaddingTop: 'Spacing-10',
|
|
13851
13901
|
selectGroupTitlePaddingBottom: 'Spacing-2',
|
|
@@ -13856,8 +13906,10 @@ var selectTokens = {
|
|
|
13856
13906
|
selectGroupTitleLargeBottom: 'Spacing-4',
|
|
13857
13907
|
selectColumnPadding: 'Spacing-8',
|
|
13858
13908
|
selectColumnOptionMargin: 'Spacing-8',
|
|
13859
|
-
selectColumnBorderRadius: 'Radius-
|
|
13860
|
-
selectColumnBackgroundColor: 'Neutral-fill-2'
|
|
13909
|
+
selectColumnBorderRadius: 'Radius-default',
|
|
13910
|
+
selectColumnBackgroundColor: 'Neutral-fill-2',
|
|
13911
|
+
selectLoadingSpinColor: 'Brand-6',
|
|
13912
|
+
selectEmptyFontColor: 'Neutral-text-2'
|
|
13861
13913
|
};
|
|
13862
13914
|
/* harmony default export */ var select_select = (selectTokens);
|
|
13863
13915
|
;// CONCATENATED MODULE: ../theme/src/select/index.ts
|
|
@@ -14748,6 +14800,7 @@ var alertStyle = {
|
|
|
14748
14800
|
borderRadius: src.alertBorderRadius,
|
|
14749
14801
|
borderWidth: 1,
|
|
14750
14802
|
borderStyle: 'solid',
|
|
14803
|
+
fontWeight: src.alertFontWeight,
|
|
14751
14804
|
opacity: 1,
|
|
14752
14805
|
transformOrigin: '0 0',
|
|
14753
14806
|
transform: 'scaleY(1) translateZ(0)',
|
|
@@ -14804,8 +14857,8 @@ var alertStyle = {
|
|
|
14804
14857
|
},
|
|
14805
14858
|
title: {
|
|
14806
14859
|
fontSize: src.alertTitleFontSize,
|
|
14807
|
-
fontWeight:
|
|
14808
|
-
marginBottom:
|
|
14860
|
+
fontWeight: src.alertTitleFontWeight,
|
|
14861
|
+
marginBottom: src.alertTitleMarginY,
|
|
14809
14862
|
overflowWrap: 'anywhere',
|
|
14810
14863
|
lineHeight: src.alertTitleFontSize
|
|
14811
14864
|
},
|
|
@@ -14927,7 +14980,7 @@ var breadcrumbStyle = {
|
|
|
14927
14980
|
top: '-3px'
|
|
14928
14981
|
},
|
|
14929
14982
|
itemWrapper: {
|
|
14930
|
-
padding:
|
|
14983
|
+
// padding: `0 ${token.breadcrumbListItemWrapperPaddingX}`,
|
|
14931
14984
|
},
|
|
14932
14985
|
item: {
|
|
14933
14986
|
display: 'flex',
|
|
@@ -14960,23 +15013,27 @@ var breadcrumbStyle = {
|
|
|
14960
15013
|
transform: 'rotate(180deg)'
|
|
14961
15014
|
},
|
|
14962
15015
|
dropdown: {
|
|
14963
|
-
|
|
14964
|
-
|
|
14965
|
-
|
|
14966
|
-
|
|
15016
|
+
borderRadius: src.dropdownListBorderRadius,
|
|
15017
|
+
backgroundColor: src.dropdownListBackgroundColor,
|
|
15018
|
+
boxShadow: src.dropdownListBoxShadow,
|
|
15019
|
+
border: "1px solid ".concat(src.dropdownListBorderColor),
|
|
15020
|
+
// padding: `${token.breadcrumbListPaddingY} 0`,
|
|
15021
|
+
padding: "".concat(src.dropdownListPaddingY, " ").concat(src.dropdownListPaddingX),
|
|
14967
15022
|
color: src.breadcrumbLinkColor
|
|
14968
15023
|
},
|
|
14969
15024
|
dropdownItem: {
|
|
14970
15025
|
lineHeight: src.lineHeightDynamic,
|
|
14971
|
-
fontSize: src.
|
|
15026
|
+
fontSize: src.dropdownListFontSize,
|
|
15027
|
+
fontWeight: src.breadcrumbFontWieght,
|
|
14972
15028
|
cursor: 'pointer',
|
|
14973
|
-
color: src.
|
|
14974
|
-
borderRadius: src.
|
|
15029
|
+
color: src.dropdownOptionFontColor,
|
|
15030
|
+
borderRadius: src.dropdownOptionBorderRadius,
|
|
14975
15031
|
'&:hover': {
|
|
14976
|
-
|
|
15032
|
+
color: src.dropdownOptionHoverFontColor,
|
|
15033
|
+
backgroundColor: src.dropdownOptionHoverBackgroundColor
|
|
14977
15034
|
},
|
|
14978
15035
|
'& $content, & a': {
|
|
14979
|
-
padding: "".concat(src.
|
|
15036
|
+
padding: "".concat(src.dropdownOptionPaddingY, " ").concat(src.dropdownOptionPaddingX),
|
|
14980
15037
|
display: 'inline-block',
|
|
14981
15038
|
textDecoration: 'none',
|
|
14982
15039
|
color: 'inherit',
|
|
@@ -15971,15 +16028,18 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
15971
16028
|
boxSizing: 'border-box',
|
|
15972
16029
|
borderRadius: token.borderRadius,
|
|
15973
16030
|
background: token.backgroundColor,
|
|
15974
|
-
border: "
|
|
16031
|
+
border: "".concat(token.borderWidth, " solid ").concat(token.borderColor),
|
|
15975
16032
|
color: token.fontColor,
|
|
15976
16033
|
lineHeight: token.lineHeight,
|
|
15977
16034
|
fontSize: token.fontSize,
|
|
16035
|
+
fontWeight: token.fontWeight,
|
|
15978
16036
|
verticalAlign: 'top',
|
|
15979
16037
|
transition: "border-color .15s ease-in-out,box-shadow .15s ease-in-out;",
|
|
15980
|
-
'&:hover': {
|
|
16038
|
+
'&:hover': defineProperty_default()({
|
|
15981
16039
|
borderColor: token.hoverBorderColor
|
|
15982
|
-
},
|
|
16040
|
+
}, "&:not($".concat(name, "Disabled):not($").concat(name, "Error)"), {
|
|
16041
|
+
backgroundColor: token.hoverBackgroundColor
|
|
16042
|
+
}),
|
|
15983
16043
|
'[data-soui-role="input-group"] &': {
|
|
15984
16044
|
borderWidth: 0,
|
|
15985
16045
|
borderRadius: 0,
|
|
@@ -16030,16 +16090,21 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
16030
16090
|
}), "".concat(name, "Focus"), {
|
|
16031
16091
|
borderColor: token.focusBorderColor,
|
|
16032
16092
|
boxShadow: "0 0 0 2px ".concat(token.focusShadow),
|
|
16093
|
+
background: token.focusBackgroundColor,
|
|
16033
16094
|
'&:hover': {
|
|
16034
16095
|
borderColor: token.focusBorderColor
|
|
16035
16096
|
}
|
|
16036
16097
|
}), "".concat(name, "Error"), defineProperty_default()({
|
|
16037
16098
|
borderColor: token.errorBorderColor,
|
|
16099
|
+
background: token.errorBackgroundColor,
|
|
16038
16100
|
'&:hover': {
|
|
16039
|
-
|
|
16101
|
+
backgroundColor: token.errorHoverBackgroundColor,
|
|
16102
|
+
borderColor: token.errorHoverBorderColor
|
|
16040
16103
|
}
|
|
16041
16104
|
}, "&$".concat(name, "Focus"), {
|
|
16042
|
-
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow)
|
|
16105
|
+
boxShadow: "0 0 0 2px ".concat(token.errorFocusShadow),
|
|
16106
|
+
borderColor: token.errorFocusBorderColor,
|
|
16107
|
+
background: token.errorFocusBackgroundColor
|
|
16043
16108
|
})), "".concat(name, "Disabled"), {
|
|
16044
16109
|
color: token.disabledFontColor,
|
|
16045
16110
|
backgroundColor: token.disabledBackgroundColor,
|
|
@@ -16074,27 +16139,36 @@ var useCarouselStyle = styled(carousel_carousel, 'carousel');
|
|
|
16074
16139
|
|
|
16075
16140
|
var inputBorderToken = {
|
|
16076
16141
|
lineHeight: src.lineHeightDynamic,
|
|
16077
|
-
borderRadius: src.
|
|
16078
|
-
fontSize: src.
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
|
|
16082
|
-
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
|
|
16086
|
-
|
|
16087
|
-
|
|
16088
|
-
|
|
16089
|
-
|
|
16090
|
-
|
|
16091
|
-
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16142
|
+
borderRadius: src.inputBorderRadius,
|
|
16143
|
+
fontSize: src.inputFontSize,
|
|
16144
|
+
fontWeight: src.inputFontWeight,
|
|
16145
|
+
smallFontSize: src.inputSmallFontSize,
|
|
16146
|
+
largeFontSize: src.inputLargeFontSize,
|
|
16147
|
+
paddingY: src.selectPaddingY,
|
|
16148
|
+
smallPaddingY: src.selectSmallPaddingY,
|
|
16149
|
+
largePaddingY: src.selectLargePaddingY,
|
|
16150
|
+
paddingX: src.selectPaddingX,
|
|
16151
|
+
smallPaddingX: src.selectSmallPaddingX,
|
|
16152
|
+
largePaddingX: src.selectLargePaddingX,
|
|
16153
|
+
borderColor: src.inputBorderColor,
|
|
16154
|
+
borderWidth: src.inputBorderWidth,
|
|
16155
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
16156
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
16157
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
16158
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
16159
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
16160
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
16161
|
+
fontColor: src.inputFontColor,
|
|
16162
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
16163
|
+
backgroundColor: src.inputBackgroundColor,
|
|
16164
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
16165
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
16166
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
16167
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
16168
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
16169
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
16170
|
+
focusShadow: src.inputFocusShadow,
|
|
16171
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
16098
16172
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
16099
16173
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
16100
16174
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
@@ -16872,27 +16946,36 @@ var useCollapseItemStyle = styled(collapse_item, 'collapseItem');
|
|
|
16872
16946
|
|
|
16873
16947
|
var date_picker_inputBorderToken = {
|
|
16874
16948
|
lineHeight: src.lineHeightDynamic,
|
|
16875
|
-
borderRadius: src.
|
|
16876
|
-
fontSize: src.
|
|
16877
|
-
|
|
16878
|
-
|
|
16879
|
-
|
|
16880
|
-
|
|
16881
|
-
|
|
16882
|
-
|
|
16883
|
-
|
|
16884
|
-
|
|
16885
|
-
|
|
16886
|
-
|
|
16887
|
-
|
|
16888
|
-
|
|
16889
|
-
|
|
16890
|
-
|
|
16891
|
-
|
|
16892
|
-
|
|
16893
|
-
|
|
16894
|
-
|
|
16895
|
-
|
|
16949
|
+
borderRadius: src.inputBorderRadius,
|
|
16950
|
+
fontSize: src.inputFontSize,
|
|
16951
|
+
fontWeight: src.inputFontWeight,
|
|
16952
|
+
smallFontSize: src.inputSmallFontSize,
|
|
16953
|
+
largeFontSize: src.inputLargeFontSize,
|
|
16954
|
+
paddingY: src.inputPaddingY,
|
|
16955
|
+
smallPaddingY: src.inputSmallPaddingY,
|
|
16956
|
+
largePaddingY: src.inputLargePaddingY,
|
|
16957
|
+
paddingX: src.inputPaddingX,
|
|
16958
|
+
smallPaddingX: src.inputSmallPaddingX,
|
|
16959
|
+
largePaddingX: src.inputLargePaddingX,
|
|
16960
|
+
borderColor: src.inputBorderColor,
|
|
16961
|
+
borderWidth: src.inputBorderWidth,
|
|
16962
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
16963
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
16964
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
16965
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
16966
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
16967
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
16968
|
+
fontColor: src.inputFontColor,
|
|
16969
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
16970
|
+
backgroundColor: src.inputBackgroundColor,
|
|
16971
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
16972
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
16973
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
16974
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
16975
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
16976
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
16977
|
+
focusShadow: src.inputFocusShadow,
|
|
16978
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
16896
16979
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
16897
16980
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
16898
16981
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
@@ -17580,7 +17663,13 @@ var descriptionsStyle = {
|
|
|
17580
17663
|
borderCollapse: 'collapse',
|
|
17581
17664
|
lineHeight: src.lineHeightDynamic
|
|
17582
17665
|
},
|
|
17583
|
-
row: {
|
|
17666
|
+
row: {
|
|
17667
|
+
// '&>td': {
|
|
17668
|
+
// '&:not(:last-child)': {
|
|
17669
|
+
// paddingRight: token.descriptionsCellGap,
|
|
17670
|
+
// },
|
|
17671
|
+
// },
|
|
17672
|
+
},
|
|
17584
17673
|
label: {
|
|
17585
17674
|
paddingRight: src.descriptionsLabelPaddingRight,
|
|
17586
17675
|
paddingBottom: src.descriptionsLabelPaddingBottom,
|
|
@@ -17599,7 +17688,7 @@ var descriptionsStyle = {
|
|
|
17599
17688
|
paddingRight: 0
|
|
17600
17689
|
}
|
|
17601
17690
|
},
|
|
17602
|
-
|
|
17691
|
+
cell: {
|
|
17603
17692
|
textAlign: 'left',
|
|
17604
17693
|
boxSizing: 'border-box',
|
|
17605
17694
|
verticalAlign: 'top'
|
|
@@ -17625,13 +17714,25 @@ var descriptionsStyle = {
|
|
|
17625
17714
|
width: '1px'
|
|
17626
17715
|
}
|
|
17627
17716
|
},
|
|
17717
|
+
vertical: {
|
|
17718
|
+
'& $label': {
|
|
17719
|
+
paddingBottom: src.descriptionsVerticalPaddingBottom
|
|
17720
|
+
}
|
|
17721
|
+
},
|
|
17628
17722
|
inlineHorizontal: {
|
|
17629
17723
|
'& $item': {
|
|
17630
17724
|
display: 'flex',
|
|
17631
17725
|
alignItems: 'center'
|
|
17632
17726
|
},
|
|
17633
|
-
'& $
|
|
17727
|
+
'& $cell': {
|
|
17634
17728
|
verticalAlign: 'middle'
|
|
17729
|
+
},
|
|
17730
|
+
'& $row': {
|
|
17731
|
+
'&>td': {
|
|
17732
|
+
'&:not(:last-child)': {
|
|
17733
|
+
paddingRight: src.descriptionsCellGap
|
|
17734
|
+
}
|
|
17735
|
+
}
|
|
17635
17736
|
}
|
|
17636
17737
|
},
|
|
17637
17738
|
tableLayoutFixed: {
|
|
@@ -17646,20 +17747,20 @@ var descriptionsStyle = {
|
|
|
17646
17747
|
border: "".concat(src.descriptionsBorderDefaultSize, " solid ").concat(src.descriptionsBorderColor),
|
|
17647
17748
|
borderRadius: src.descriptionsBorderRadius,
|
|
17648
17749
|
'& $row:not(:last-child)': {
|
|
17649
|
-
borderBottom: "".concat(src.
|
|
17750
|
+
borderBottom: "".concat(src.descriptionsBorderDefaultSize, " solid ").concat(src.descriptionsBorderColor)
|
|
17650
17751
|
},
|
|
17651
17752
|
'& $label': {
|
|
17652
17753
|
padding: "".concat(src.descriptionsBorderPaddingX, " ").concat(src.descriptionsBorderPaddingY),
|
|
17653
17754
|
backgroundColor: src.descriptionsBackgroundColor,
|
|
17654
|
-
borderRight: "".concat(src.
|
|
17755
|
+
borderRight: "".concat(src.descriptionsBorderDefaultSize, " solid ").concat(src.descriptionsBorderColor)
|
|
17655
17756
|
},
|
|
17656
17757
|
'& $value': {
|
|
17657
17758
|
padding: "".concat(src.descriptionsBorderPaddingX, " ").concat(src.descriptionsBorderPaddingY),
|
|
17658
|
-
borderRight: "".concat(src.
|
|
17759
|
+
borderRight: "".concat(src.descriptionsBorderDefaultSize, " solid ").concat(src.descriptionsBorderColor)
|
|
17659
17760
|
},
|
|
17660
|
-
'& $
|
|
17761
|
+
'& $cell': {
|
|
17661
17762
|
padding: "".concat(src.descriptionsInlineBorderPaddingX, " ").concat(src.descriptionsInlineBorderPaddingY),
|
|
17662
|
-
borderRight: "".concat(src.
|
|
17763
|
+
borderRight: "".concat(src.descriptionsBorderDefaultSize, " solid ").concat(src.descriptionsBorderColor)
|
|
17663
17764
|
},
|
|
17664
17765
|
'& $labelInline': {
|
|
17665
17766
|
paddingRight: src.descriptionsLabelPaddingRight
|
|
@@ -17907,7 +18008,7 @@ var dropdown_dropdown = {
|
|
|
17907
18008
|
itemWrapper: {},
|
|
17908
18009
|
item: {
|
|
17909
18010
|
display: 'block',
|
|
17910
|
-
borderRadius:
|
|
18011
|
+
borderRadius: src.dropdownOptionBorderRadius,
|
|
17911
18012
|
lineHeight: src.lineHeightDynamic,
|
|
17912
18013
|
color: src.dropdownOptionFontColor,
|
|
17913
18014
|
backgroundColor: src.dropdownOptionBackgroundColor,
|
|
@@ -17974,36 +18075,46 @@ var useDropdownStyle = styled(src_dropdown_dropdown, 'dropdown');
|
|
|
17974
18075
|
|
|
17975
18076
|
|
|
17976
18077
|
|
|
17977
|
-
var
|
|
18078
|
+
var editable_area_inputBorderToken = {
|
|
17978
18079
|
lineHeight: src.lineHeightDynamic,
|
|
17979
|
-
borderRadius: src.
|
|
17980
|
-
fontSize: src.
|
|
17981
|
-
|
|
17982
|
-
|
|
17983
|
-
|
|
17984
|
-
|
|
17985
|
-
|
|
17986
|
-
|
|
17987
|
-
|
|
17988
|
-
|
|
17989
|
-
|
|
17990
|
-
|
|
17991
|
-
|
|
17992
|
-
|
|
17993
|
-
|
|
17994
|
-
|
|
17995
|
-
|
|
17996
|
-
|
|
17997
|
-
|
|
17998
|
-
|
|
17999
|
-
|
|
18080
|
+
borderRadius: src.inputBorderRadius,
|
|
18081
|
+
fontSize: src.inputFontSize,
|
|
18082
|
+
fontWeight: src.inputFontWeight,
|
|
18083
|
+
smallFontSize: src.inputSmallFontSize,
|
|
18084
|
+
largeFontSize: src.inputLargeFontSize,
|
|
18085
|
+
paddingY: src.inputPaddingY,
|
|
18086
|
+
smallPaddingY: src.inputSmallPaddingY,
|
|
18087
|
+
largePaddingY: src.inputLargePaddingY,
|
|
18088
|
+
paddingX: src.inputPaddingX,
|
|
18089
|
+
smallPaddingX: src.inputSmallPaddingX,
|
|
18090
|
+
largePaddingX: src.inputLargePaddingX,
|
|
18091
|
+
borderColor: src.inputBorderColor,
|
|
18092
|
+
borderWidth: src.inputBorderWidth,
|
|
18093
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
18094
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
18095
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
18096
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
18097
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
18098
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
18099
|
+
fontColor: src.inputFontColor,
|
|
18100
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
18101
|
+
backgroundColor: src.inputBackgroundColor,
|
|
18102
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
18103
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
18104
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
18105
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
18106
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
18107
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
18108
|
+
focusShadow: src.inputFocusShadow,
|
|
18109
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
18000
18110
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
18001
18111
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
18002
18112
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
18003
18113
|
smallInnerTitlePaddingX: src.inputInnerSmallPaddingX,
|
|
18004
18114
|
largeInnerTitlePaddingY: src.inputInnerLargePaddingY,
|
|
18005
18115
|
largeInnerTitlePaddingX: src.inputInnerLargePaddingX
|
|
18006
|
-
}
|
|
18116
|
+
};
|
|
18117
|
+
var editable_area_inputBorder = input_border('wrapper', editable_area_inputBorderToken);
|
|
18007
18118
|
var editable_area_wrapper = editable_area_inputBorder.wrapper,
|
|
18008
18119
|
wrapperNoBorder = editable_area_inputBorder.wrapperNoBorder,
|
|
18009
18120
|
_noFocus = editable_area_inputBorder.wrapperFocus,
|
|
@@ -18770,6 +18881,13 @@ var innerTitle = objectSpread2_default()(objectSpread2_default()({}, inner_title
|
|
|
18770
18881
|
},
|
|
18771
18882
|
top: {
|
|
18772
18883
|
opacity: '0',
|
|
18884
|
+
fontSize: src.inputInnerTopFontSize,
|
|
18885
|
+
'$wrapperSmall &': {
|
|
18886
|
+
fontSize: src.inputInnerTopSmallFontSize
|
|
18887
|
+
},
|
|
18888
|
+
'$wrapperLarge &': {
|
|
18889
|
+
fontSize: src.inputInnerTopLargeFontSize
|
|
18890
|
+
},
|
|
18773
18891
|
'$wrapperOpen &': {
|
|
18774
18892
|
opacity: '1',
|
|
18775
18893
|
transition: "opacity 0s ease-in ".concat(moveTime)
|
|
@@ -18824,6 +18942,7 @@ var input_inputBorderToken = {
|
|
|
18824
18942
|
lineHeight: src.lineHeightDynamic,
|
|
18825
18943
|
borderRadius: src.inputBorderRadius,
|
|
18826
18944
|
fontSize: src.inputFontSize,
|
|
18945
|
+
fontWeight: src.inputFontWeight,
|
|
18827
18946
|
smallFontSize: src.inputSmallFontSize,
|
|
18828
18947
|
largeFontSize: src.inputLargeFontSize,
|
|
18829
18948
|
paddingY: src.inputPaddingY,
|
|
@@ -18833,14 +18952,22 @@ var input_inputBorderToken = {
|
|
|
18833
18952
|
smallPaddingX: src.inputSmallPaddingX,
|
|
18834
18953
|
largePaddingX: src.inputLargePaddingX,
|
|
18835
18954
|
borderColor: src.inputBorderColor,
|
|
18955
|
+
borderWidth: src.inputBorderWidth,
|
|
18836
18956
|
focusBorderColor: src.inputFocusBorderColor,
|
|
18837
18957
|
hoverBorderColor: src.inputHoverBorderColor,
|
|
18838
18958
|
disabledBorderColor: src.inputDisabledBorderColor,
|
|
18839
18959
|
errorBorderColor: src.inputErrorBorderColor,
|
|
18960
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
18961
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
18840
18962
|
fontColor: src.inputFontColor,
|
|
18841
18963
|
disabledFontColor: src.inputDisabledFontColor,
|
|
18842
18964
|
backgroundColor: src.inputBackgroundColor,
|
|
18965
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
18966
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
18843
18967
|
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
18968
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
18969
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
18970
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
18844
18971
|
focusShadow: src.inputFocusShadow,
|
|
18845
18972
|
errorFocusShadow: src.inputErrorFocusShadow,
|
|
18846
18973
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
@@ -19150,7 +19277,7 @@ var listStyle = {
|
|
|
19150
19277
|
alignItems: 'center',
|
|
19151
19278
|
boxSizing: 'border-box',
|
|
19152
19279
|
'&:not(:last-child)': {
|
|
19153
|
-
borderBottom: "
|
|
19280
|
+
borderBottom: "".concat(src.listBorderWidth, " solid ").concat(src.listBorderColor)
|
|
19154
19281
|
}
|
|
19155
19282
|
},
|
|
19156
19283
|
item: {
|
|
@@ -19159,13 +19286,16 @@ var listStyle = {
|
|
|
19159
19286
|
color: src.listFontColor,
|
|
19160
19287
|
display: 'flex',
|
|
19161
19288
|
flexWrap: 'nowrap',
|
|
19289
|
+
background: src.listItemBackgroundColor,
|
|
19162
19290
|
boxSizing: 'border-box',
|
|
19163
19291
|
padding: "".concat(src.listItemPaddingY, " ").concat(src.listItemPaddingX),
|
|
19164
19292
|
'$wrapperSmall &': {
|
|
19165
|
-
padding: "".concat(src.listSmallItemPaddingY, " ").concat(src.listSmallItemPaddingX)
|
|
19293
|
+
padding: "".concat(src.listSmallItemPaddingY, " ").concat(src.listSmallItemPaddingX),
|
|
19294
|
+
fontSize: src.listSmallFontSize
|
|
19166
19295
|
},
|
|
19167
19296
|
'$wrapperLarge &': {
|
|
19168
|
-
padding: "".concat(src.listLargeItemPaddingY, " ").concat(src.listLargeItemPaddingY)
|
|
19297
|
+
padding: "".concat(src.listLargeItemPaddingY, " ").concat(src.listLargeItemPaddingY),
|
|
19298
|
+
fontSize: src.listLargeFontSize
|
|
19169
19299
|
}
|
|
19170
19300
|
},
|
|
19171
19301
|
checkContent: {
|
|
@@ -19238,12 +19368,20 @@ var arrow = {
|
|
|
19238
19368
|
var menuStyle = {
|
|
19239
19369
|
wrapper: {
|
|
19240
19370
|
height: '100%',
|
|
19371
|
+
transition: 'width 0.3s',
|
|
19241
19372
|
backgroundColor: src.menuItemBackgroundColor
|
|
19242
19373
|
},
|
|
19243
19374
|
wrapperLight: {},
|
|
19244
19375
|
wrapperDark: {
|
|
19245
19376
|
backgroundColor: src.menuDarkItemBackgroundColor
|
|
19246
19377
|
},
|
|
19378
|
+
collapse: {
|
|
19379
|
+
width: src.menuCollapseWidth,
|
|
19380
|
+
boxSizing: 'content-box',
|
|
19381
|
+
'& $root': {
|
|
19382
|
+
width: src.menuCollapseWidth
|
|
19383
|
+
}
|
|
19384
|
+
},
|
|
19247
19385
|
scrollbox: {
|
|
19248
19386
|
'$wrapperVertical &': {
|
|
19249
19387
|
overflow: 'hidden',
|
|
@@ -19352,10 +19490,87 @@ var menuStyle = {
|
|
|
19352
19490
|
item: {
|
|
19353
19491
|
listStyle: 'none',
|
|
19354
19492
|
flexShrink: 0,
|
|
19493
|
+
position: 'relative',
|
|
19355
19494
|
'$wrapperVertical &, $wrapperHorizontal &': {
|
|
19356
19495
|
position: 'relative'
|
|
19357
19496
|
}
|
|
19358
19497
|
},
|
|
19498
|
+
collapseItem: {
|
|
19499
|
+
// width: 40,
|
|
19500
|
+
cursor: 'pointer',
|
|
19501
|
+
opacity: 1,
|
|
19502
|
+
height: src.menuCollapseWidth,
|
|
19503
|
+
transition: 'all ease .3s',
|
|
19504
|
+
color: 'inherit',
|
|
19505
|
+
position: 'relative',
|
|
19506
|
+
'$wrapperLight &': {
|
|
19507
|
+
background: src.menuItemBackgroundColor,
|
|
19508
|
+
'&:hover': {
|
|
19509
|
+
background: src.menuItemHoverBackgroundColor,
|
|
19510
|
+
color: src.menuItemHoverFontColor
|
|
19511
|
+
}
|
|
19512
|
+
},
|
|
19513
|
+
'$wrapperLight $itemDisabled > &&': {
|
|
19514
|
+
cursor: 'not-allowed',
|
|
19515
|
+
color: src.menuCollapseItemDisabledFontColor,
|
|
19516
|
+
background: src.menuCollapseItemDisabledBackgroundColor
|
|
19517
|
+
},
|
|
19518
|
+
'$wrapperDark $itemDisabled > &&': {
|
|
19519
|
+
cursor: 'not-allowed',
|
|
19520
|
+
color: src.menuDarkCollapseItemDisabledFontColor,
|
|
19521
|
+
background: src.menuDarkCollapseItemDisabledBackgroundColor
|
|
19522
|
+
},
|
|
19523
|
+
'$wrapperDark &': {
|
|
19524
|
+
color: src.menuDarkCollapseItemFontColor,
|
|
19525
|
+
background: src.menuDarkCollapseItemBackgroundColor,
|
|
19526
|
+
'&:hover': {
|
|
19527
|
+
background: src.menuDarkCollapseItemHoverBackgroundColor,
|
|
19528
|
+
color: src.menuDarkCollapseItemHoverFontColor
|
|
19529
|
+
}
|
|
19530
|
+
},
|
|
19531
|
+
'$itemActive > &&': {
|
|
19532
|
+
'$wrapperLight &': {
|
|
19533
|
+
color: src.menuCollapseItemActiveFontColor,
|
|
19534
|
+
background: src.menuCollapseItemActiveBackgroundColor
|
|
19535
|
+
},
|
|
19536
|
+
'$wrapperDark &': {
|
|
19537
|
+
color: src.menuDarkCollapseItemActiveFontColor,
|
|
19538
|
+
background: src.menuDarkCollapseItemActiveBackgroundColor
|
|
19539
|
+
}
|
|
19540
|
+
},
|
|
19541
|
+
'&$collapseItemInPath': {
|
|
19542
|
+
// background: token.menuItemBackgroundColor,
|
|
19543
|
+
'&::after': {
|
|
19544
|
+
content: '""',
|
|
19545
|
+
position: 'absolute',
|
|
19546
|
+
left: 0,
|
|
19547
|
+
top: 0,
|
|
19548
|
+
bottom: 0,
|
|
19549
|
+
width: 3,
|
|
19550
|
+
transition: 'all ease 0.3s',
|
|
19551
|
+
backgroundColor: src.menuCollapseItemActiveFontColor
|
|
19552
|
+
}
|
|
19553
|
+
}
|
|
19554
|
+
},
|
|
19555
|
+
collapseItemInPath: {},
|
|
19556
|
+
collapseItemHide: {
|
|
19557
|
+
opacity: 0,
|
|
19558
|
+
width: 0,
|
|
19559
|
+
// height: 0,
|
|
19560
|
+
// zIndex: -1,
|
|
19561
|
+
position: 'absolute',
|
|
19562
|
+
top: 0,
|
|
19563
|
+
color: 'transparent',
|
|
19564
|
+
background: 'transparent',
|
|
19565
|
+
'&$collapseItemInPath': {
|
|
19566
|
+
// background: token.menuItemBackgroundColor,
|
|
19567
|
+
'&::after': {
|
|
19568
|
+
top: 20,
|
|
19569
|
+
bottom: 20,
|
|
19570
|
+
backgroundColor: 'transparent'
|
|
19571
|
+
}
|
|
19572
|
+
}
|
|
19573
|
+
},
|
|
19359
19574
|
itemActive: {},
|
|
19360
19575
|
itemDisabled: {},
|
|
19361
19576
|
itemOpen: {},
|
|
@@ -19368,6 +19583,8 @@ var menuStyle = {
|
|
|
19368
19583
|
alignItems: 'center',
|
|
19369
19584
|
cursor: 'pointer',
|
|
19370
19585
|
position: 'relative',
|
|
19586
|
+
// opacity: 1,
|
|
19587
|
+
transition: 'all ease 0.3s',
|
|
19371
19588
|
'$wrapperLight &': {
|
|
19372
19589
|
color: src.menuItemFontColor,
|
|
19373
19590
|
backgroundColor: src.menuItemBackgroundColor,
|
|
@@ -19475,6 +19692,20 @@ var menuStyle = {
|
|
|
19475
19692
|
}
|
|
19476
19693
|
}
|
|
19477
19694
|
},
|
|
19695
|
+
itemContentHide: {
|
|
19696
|
+
position: 'absolute',
|
|
19697
|
+
overflow: 'hidden',
|
|
19698
|
+
pointerEvents: 'none',
|
|
19699
|
+
// opacity: 0,
|
|
19700
|
+
visibility: 'hidden',
|
|
19701
|
+
'& $title': {
|
|
19702
|
+
pointerEvents: 'none',
|
|
19703
|
+
whiteSpace: 'nowrap'
|
|
19704
|
+
},
|
|
19705
|
+
'& $menuIcon': {
|
|
19706
|
+
opacity: 0
|
|
19707
|
+
}
|
|
19708
|
+
},
|
|
19478
19709
|
itemContentFront: {},
|
|
19479
19710
|
itemContentBack: {},
|
|
19480
19711
|
title: {
|
|
@@ -19514,6 +19745,7 @@ var menuStyle = {
|
|
|
19514
19745
|
},
|
|
19515
19746
|
'& > $icon': {
|
|
19516
19747
|
lineHeight: 1,
|
|
19748
|
+
opacity: 1,
|
|
19517
19749
|
width: src.menuExpandSize,
|
|
19518
19750
|
height: src.menuExpandSize,
|
|
19519
19751
|
'$wrapper:not($wrapperVertical) $itemOpen > $itemContent &': {
|
|
@@ -19529,7 +19761,9 @@ var menuStyle = {
|
|
|
19529
19761
|
}
|
|
19530
19762
|
}
|
|
19531
19763
|
},
|
|
19532
|
-
icon: {
|
|
19764
|
+
icon: {
|
|
19765
|
+
transition: 'all ease 0.3s'
|
|
19766
|
+
},
|
|
19533
19767
|
expandHover: {
|
|
19534
19768
|
'&:hover': {
|
|
19535
19769
|
backgroundColor: src.menuExpandHoverBackgroundColor
|
|
@@ -20537,6 +20771,7 @@ var popoverStyle = {
|
|
|
20537
20771
|
position: 'relative',
|
|
20538
20772
|
zIndex: 2,
|
|
20539
20773
|
fontSize: src.popoverFontSize,
|
|
20774
|
+
fontWeight: src.popoverFontWeight,
|
|
20540
20775
|
color: src.popoverFontColor,
|
|
20541
20776
|
background: 'inherit',
|
|
20542
20777
|
borderRadius: 'inherit'
|
|
@@ -20554,7 +20789,7 @@ var popoverStyle = {
|
|
|
20554
20789
|
backgroundColor: 'transparent',
|
|
20555
20790
|
border: 0,
|
|
20556
20791
|
padding: 0,
|
|
20557
|
-
marginBottom: src.
|
|
20792
|
+
marginBottom: src.popoverConfirmMarginY
|
|
20558
20793
|
}
|
|
20559
20794
|
},
|
|
20560
20795
|
footer: {
|
|
@@ -21015,27 +21250,36 @@ var useRateStyle = styled(rate_rate, 'rate');
|
|
|
21015
21250
|
|
|
21016
21251
|
var select_inputBorderToken = {
|
|
21017
21252
|
lineHeight: src.lineHeightDynamic,
|
|
21018
|
-
borderRadius: src.
|
|
21019
|
-
fontSize: src.
|
|
21020
|
-
|
|
21021
|
-
|
|
21253
|
+
borderRadius: src.inputBorderRadius,
|
|
21254
|
+
fontSize: src.inputFontSize,
|
|
21255
|
+
fontWeight: src.inputFontWeight,
|
|
21256
|
+
smallFontSize: src.inputSmallFontSize,
|
|
21257
|
+
largeFontSize: src.inputLargeFontSize,
|
|
21022
21258
|
paddingY: src.selectPaddingY,
|
|
21023
21259
|
smallPaddingY: src.selectSmallPaddingY,
|
|
21024
21260
|
largePaddingY: src.selectLargePaddingY,
|
|
21025
21261
|
paddingX: src.selectPaddingX,
|
|
21026
21262
|
smallPaddingX: src.selectSmallPaddingX,
|
|
21027
21263
|
largePaddingX: src.selectLargePaddingX,
|
|
21028
|
-
borderColor: src.
|
|
21029
|
-
|
|
21030
|
-
|
|
21031
|
-
|
|
21032
|
-
|
|
21033
|
-
|
|
21034
|
-
|
|
21035
|
-
|
|
21036
|
-
|
|
21037
|
-
|
|
21038
|
-
|
|
21264
|
+
borderColor: src.inputBorderColor,
|
|
21265
|
+
borderWidth: src.inputBorderWidth,
|
|
21266
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
21267
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
21268
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
21269
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
21270
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
21271
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
21272
|
+
fontColor: src.inputFontColor,
|
|
21273
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
21274
|
+
backgroundColor: src.inputBackgroundColor,
|
|
21275
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
21276
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
21277
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
21278
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
21279
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
21280
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
21281
|
+
focusShadow: src.inputFocusShadow,
|
|
21282
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
21039
21283
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
21040
21284
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
21041
21285
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
@@ -21096,7 +21340,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21096
21340
|
marginBottom: src.selectLargePlaceholderMarginY
|
|
21097
21341
|
}
|
|
21098
21342
|
},
|
|
21099
|
-
'&:hover': {
|
|
21343
|
+
'&:hover': objectSpread2_default()(objectSpread2_default()({}, select_wrapper['&:hover']), {}, {
|
|
21100
21344
|
cursor: 'pointer',
|
|
21101
21345
|
'&$clearable:not($wrapperEmpty)': {
|
|
21102
21346
|
'& $clearIcon': {
|
|
@@ -21106,7 +21350,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21106
21350
|
display: 'none'
|
|
21107
21351
|
}
|
|
21108
21352
|
}
|
|
21109
|
-
},
|
|
21353
|
+
}),
|
|
21110
21354
|
'&:not($wrapperEmpty):not($wrapperOpen)': {
|
|
21111
21355
|
'& $clearIcon': {
|
|
21112
21356
|
display: 'none'
|
|
@@ -21118,6 +21362,9 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21118
21362
|
wrapperDisabled: objectSpread2_default()(objectSpread2_default()({}, select_wrapperDisabled), {}, {
|
|
21119
21363
|
'& $arrowIcon': {
|
|
21120
21364
|
color: src.selectDisabledIconColor
|
|
21365
|
+
},
|
|
21366
|
+
'& $placeholder': {
|
|
21367
|
+
color: src.selectDisabledPlaceholderColor
|
|
21121
21368
|
}
|
|
21122
21369
|
}),
|
|
21123
21370
|
popover: {}
|
|
@@ -21331,8 +21578,13 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21331
21578
|
loading: {
|
|
21332
21579
|
padding: 10,
|
|
21333
21580
|
display: 'flex',
|
|
21334
|
-
justifyContent: 'center'
|
|
21581
|
+
justifyContent: 'center',
|
|
21582
|
+
'& > $loadingSpin': {
|
|
21583
|
+
borderColor: src.selectLoadingSpinColor,
|
|
21584
|
+
borderTopColor: 'transparent'
|
|
21585
|
+
}
|
|
21335
21586
|
},
|
|
21587
|
+
loadingSpin: {},
|
|
21336
21588
|
checkedIcon: {
|
|
21337
21589
|
'&[dir=ltr]': {
|
|
21338
21590
|
right: 8
|
|
@@ -21422,10 +21674,16 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21422
21674
|
overflow: 'hidden',
|
|
21423
21675
|
textOverflow: 'ellipsis',
|
|
21424
21676
|
whiteSpace: 'nowrap',
|
|
21677
|
+
color: src.selectOptionFontColor,
|
|
21425
21678
|
fontSize: src.selectFontSize,
|
|
21426
21679
|
lineHeight: src.lineHeightDynamic,
|
|
21680
|
+
background: src.selectOptionBackgroundColor,
|
|
21427
21681
|
padding: "".concat(src.selectOptionInnerPaddingY, " ").concat(src.selectOptionInnerPaddingX),
|
|
21428
|
-
borderRadius: src.selectOptionInnerBorderRadius
|
|
21682
|
+
borderRadius: src.selectOptionInnerBorderRadius,
|
|
21683
|
+
// hover
|
|
21684
|
+
'&:not($optionDisabled):not($optionActive):hover': {
|
|
21685
|
+
color: src.selectOptionHoverFontColor
|
|
21686
|
+
}
|
|
21429
21687
|
},
|
|
21430
21688
|
optionHover: {
|
|
21431
21689
|
// backgroundColor: token.selectOptionHoverBackgroundColor,
|
|
@@ -21455,14 +21713,15 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21455
21713
|
fontSize: src.selectGroupTitleFontSize,
|
|
21456
21714
|
lineHeight: src.lineHeightDynamic,
|
|
21457
21715
|
padding: "".concat(src.selectGroupTitlePaddingTop, " ").concat(src.selectGroupTitlePaddingX, " ").concat(src.selectGroupTitlePaddingBottom, " ").concat(src.selectGroupTitlePaddingX),
|
|
21458
|
-
color: src.selectGroupTitleFontColor
|
|
21716
|
+
color: src.selectGroupTitleFontColor,
|
|
21717
|
+
fontWeight: src.selectGroupTitleFontWeight
|
|
21459
21718
|
},
|
|
21460
21719
|
header: {
|
|
21461
21720
|
display: 'flex',
|
|
21462
21721
|
alignItems: 'center',
|
|
21463
21722
|
boxSizing: 'border-box',
|
|
21464
21723
|
height: 32,
|
|
21465
|
-
padding: src.
|
|
21724
|
+
padding: "".concat(src.selectHeaderPaddingY, " ").concat(src.selectHeaderPaddingX),
|
|
21466
21725
|
borderBottom: "1px solid ".concat(src.selectHeaderBorderColor),
|
|
21467
21726
|
marginBottom: 4,
|
|
21468
21727
|
'& $columnsCheckbox': {
|
|
@@ -21479,7 +21738,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21479
21738
|
alignItems: 'center',
|
|
21480
21739
|
padding: "0 ".concat(src.selectOptionPaddingX),
|
|
21481
21740
|
'& $optionGroupTitle': {
|
|
21482
|
-
padding: "0 ".concat(src.
|
|
21741
|
+
padding: "0 ".concat(src.selectHeaderPaddingX),
|
|
21483
21742
|
marginLeft: src.selectColumnOptionMargin
|
|
21484
21743
|
}
|
|
21485
21744
|
},
|
|
@@ -21496,8 +21755,8 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21496
21755
|
marginRight: 0
|
|
21497
21756
|
},
|
|
21498
21757
|
'&:not($optionDisabled):hover': {
|
|
21499
|
-
background: src.
|
|
21500
|
-
borderRadius: src.
|
|
21758
|
+
background: src.selectOptionHoverBackgroundColor,
|
|
21759
|
+
borderRadius: src.selectPanelRadius
|
|
21501
21760
|
}
|
|
21502
21761
|
},
|
|
21503
21762
|
columnsRadio: {
|
|
@@ -21522,7 +21781,7 @@ var selectStyle = objectSpread2_default()(objectSpread2_default()({
|
|
|
21522
21781
|
}
|
|
21523
21782
|
},
|
|
21524
21783
|
empty: {
|
|
21525
|
-
color: src.
|
|
21784
|
+
color: src.selectEmptyFontColor
|
|
21526
21785
|
}
|
|
21527
21786
|
});
|
|
21528
21787
|
/* harmony default export */ var src_select_select = (selectStyle);
|
|
@@ -24889,36 +25148,46 @@ var useTagStyle = styled(src_tag_tag, 'tag');
|
|
|
24889
25148
|
|
|
24890
25149
|
|
|
24891
25150
|
|
|
24892
|
-
var
|
|
25151
|
+
var textarea_inputBorderToken = {
|
|
24893
25152
|
lineHeight: src.lineHeightDynamic,
|
|
24894
|
-
borderRadius: src.
|
|
24895
|
-
fontSize: src.
|
|
24896
|
-
|
|
24897
|
-
|
|
24898
|
-
|
|
24899
|
-
|
|
24900
|
-
|
|
24901
|
-
|
|
24902
|
-
|
|
24903
|
-
|
|
24904
|
-
|
|
24905
|
-
|
|
24906
|
-
|
|
24907
|
-
|
|
24908
|
-
|
|
24909
|
-
|
|
24910
|
-
|
|
24911
|
-
|
|
24912
|
-
|
|
24913
|
-
|
|
24914
|
-
|
|
25153
|
+
borderRadius: src.inputBorderRadius,
|
|
25154
|
+
fontSize: src.inputFontSize,
|
|
25155
|
+
fontWeight: src.inputFontWeight,
|
|
25156
|
+
smallFontSize: src.inputSmallFontSize,
|
|
25157
|
+
largeFontSize: src.inputLargeFontSize,
|
|
25158
|
+
paddingY: src.inputPaddingY,
|
|
25159
|
+
smallPaddingY: src.inputSmallPaddingY,
|
|
25160
|
+
largePaddingY: src.inputLargePaddingY,
|
|
25161
|
+
paddingX: src.inputPaddingX,
|
|
25162
|
+
smallPaddingX: src.inputSmallPaddingX,
|
|
25163
|
+
largePaddingX: src.inputLargePaddingX,
|
|
25164
|
+
borderColor: src.inputBorderColor,
|
|
25165
|
+
borderWidth: src.inputBorderWidth,
|
|
25166
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
25167
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
25168
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
25169
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
25170
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
25171
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
25172
|
+
fontColor: src.inputFontColor,
|
|
25173
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
25174
|
+
backgroundColor: src.inputBackgroundColor,
|
|
25175
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
25176
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
25177
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
25178
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
25179
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
25180
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
25181
|
+
focusShadow: src.inputFocusShadow,
|
|
25182
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
24915
25183
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
24916
25184
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
24917
25185
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
24918
25186
|
smallInnerTitlePaddingX: src.inputInnerSmallPaddingX,
|
|
24919
25187
|
largeInnerTitlePaddingY: src.inputInnerLargePaddingY,
|
|
24920
25188
|
largeInnerTitlePaddingX: src.inputInnerLargePaddingX
|
|
24921
|
-
}
|
|
25189
|
+
};
|
|
25190
|
+
var textarea_inputBorder = input_border('wrapper', textarea_inputBorderToken);
|
|
24922
25191
|
var textarea_wrapper = textarea_inputBorder.wrapper,
|
|
24923
25192
|
textarea_resetWrapper = objectWithoutProperties_default()(textarea_inputBorder, ["wrapper"]);
|
|
24924
25193
|
var textarea_input = objectSpread2_default()(objectSpread2_default()(objectSpread2_default()({}, textarea_inputBorder), {}, {
|
|
@@ -25679,27 +25948,36 @@ var useTreeStyle = styled(tree_tree, 'tree');
|
|
|
25679
25948
|
|
|
25680
25949
|
var tree_select_inputBorderToken = {
|
|
25681
25950
|
lineHeight: src.lineHeightDynamic,
|
|
25682
|
-
borderRadius: src.
|
|
25683
|
-
fontSize: src.
|
|
25684
|
-
|
|
25685
|
-
|
|
25686
|
-
|
|
25687
|
-
|
|
25688
|
-
|
|
25689
|
-
|
|
25690
|
-
|
|
25691
|
-
|
|
25692
|
-
|
|
25693
|
-
|
|
25694
|
-
|
|
25695
|
-
|
|
25696
|
-
|
|
25697
|
-
|
|
25698
|
-
|
|
25699
|
-
|
|
25700
|
-
|
|
25701
|
-
|
|
25702
|
-
|
|
25951
|
+
borderRadius: src.inputBorderRadius,
|
|
25952
|
+
fontSize: src.inputFontSize,
|
|
25953
|
+
fontWeight: src.inputFontWeight,
|
|
25954
|
+
smallFontSize: src.inputSmallFontSize,
|
|
25955
|
+
largeFontSize: src.inputLargeFontSize,
|
|
25956
|
+
paddingY: src.selectPaddingY,
|
|
25957
|
+
smallPaddingY: src.selectSmallPaddingY,
|
|
25958
|
+
largePaddingY: src.selectLargePaddingY,
|
|
25959
|
+
paddingX: src.selectPaddingX,
|
|
25960
|
+
smallPaddingX: src.selectSmallPaddingX,
|
|
25961
|
+
largePaddingX: src.selectLargePaddingX,
|
|
25962
|
+
borderColor: src.inputBorderColor,
|
|
25963
|
+
borderWidth: src.inputBorderWidth,
|
|
25964
|
+
focusBorderColor: src.inputFocusBorderColor,
|
|
25965
|
+
hoverBorderColor: src.inputHoverBorderColor,
|
|
25966
|
+
disabledBorderColor: src.inputDisabledBorderColor,
|
|
25967
|
+
errorBorderColor: src.inputErrorBorderColor,
|
|
25968
|
+
errorHoverBorderColor: src.inputErrorHoverBorderColor,
|
|
25969
|
+
errorFocusBorderColor: src.inputErrorFocusBorderColor,
|
|
25970
|
+
fontColor: src.inputFontColor,
|
|
25971
|
+
disabledFontColor: src.inputDisabledFontColor,
|
|
25972
|
+
backgroundColor: src.inputBackgroundColor,
|
|
25973
|
+
hoverBackgroundColor: src.inputHoverBackgroundColor,
|
|
25974
|
+
focusBackgroundColor: src.inputFocusBackgroundColor,
|
|
25975
|
+
disabledBackgroundColor: src.inputDisabledBackgroundColor,
|
|
25976
|
+
errorBackgroundColor: src.inputErrorBackgroundColor,
|
|
25977
|
+
errorFocusBackgroundColor: src.inputErrorFocusBackgroundColor,
|
|
25978
|
+
errorHoverBackgroundColor: src.inputErrorHoverBackgroundColor,
|
|
25979
|
+
focusShadow: src.inputFocusShadow,
|
|
25980
|
+
errorFocusShadow: src.inputErrorFocusShadow,
|
|
25703
25981
|
innerTitlePaddingY: src.inputInnerPaddingY,
|
|
25704
25982
|
innerTitlePaddingX: src.inputInnerPaddingX,
|
|
25705
25983
|
smallInnerTitlePaddingY: src.inputInnerSmallPaddingY,
|
|
@@ -33881,14 +34159,18 @@ function castImmutable(value) {
|
|
|
33881
34159
|
}
|
|
33882
34160
|
|
|
33883
34161
|
;// CONCATENATED MODULE: ../hooks/src/utils/immer.ts
|
|
34162
|
+
// import { produce as produce2, getSnapshot } from '@shined/reactive/vanilla';
|
|
33884
34163
|
|
|
34164
|
+
// export const produce = ((...args: any) => {
|
|
34165
|
+
// return produce2.apply(null, args);
|
|
34166
|
+
// }) as typeof produce2;
|
|
33885
34167
|
|
|
33886
|
-
|
|
33887
|
-
|
|
33888
|
-
|
|
33889
|
-
|
|
33890
|
-
|
|
33891
|
-
return immer_produce
|
|
34168
|
+
// export const current = getSnapshot;
|
|
34169
|
+
|
|
34170
|
+
|
|
34171
|
+
|
|
34172
|
+
var utils_immer_produce = function produce(value, cb) {
|
|
34173
|
+
return immer_produce(value, cb);
|
|
33892
34174
|
};
|
|
33893
34175
|
;// CONCATENATED MODULE: ../hooks/src/utils/clone.ts
|
|
33894
34176
|
|
|
@@ -35984,6 +36266,8 @@ var Cascader = function Cascader(props0) {
|
|
|
35984
36266
|
var props = use_with_form_config(props0);
|
|
35985
36267
|
var jssStyle = props.jssStyle,
|
|
35986
36268
|
style = props.style,
|
|
36269
|
+
_props$adjust = props.adjust,
|
|
36270
|
+
adjust = _props$adjust === void 0 ? true : _props$adjust,
|
|
35987
36271
|
width = props.width,
|
|
35988
36272
|
height = props.height,
|
|
35989
36273
|
className = props.className,
|
|
@@ -36571,7 +36855,7 @@ var Cascader = function Cascader(props0) {
|
|
|
36571
36855
|
}
|
|
36572
36856
|
},
|
|
36573
36857
|
children: [tipNode, renderResult(), /*#__PURE__*/(0,jsx_runtime.jsx)(absolute_list, {
|
|
36574
|
-
adjust:
|
|
36858
|
+
adjust: adjust,
|
|
36575
36859
|
focus: open,
|
|
36576
36860
|
fixedWidth: false,
|
|
36577
36861
|
absolute: absolute,
|
|
@@ -41330,7 +41614,9 @@ var DatePicker = function DatePicker(props0) {
|
|
|
41330
41614
|
_props$clearable = props.clearable,
|
|
41331
41615
|
clearable = _props$clearable === void 0 ? true : _props$clearable,
|
|
41332
41616
|
disabled = props.disabled,
|
|
41333
|
-
size = props.size
|
|
41617
|
+
size = props.size,
|
|
41618
|
+
_props$adjust = props.adjust,
|
|
41619
|
+
adjust = _props$adjust === void 0 ? true : _props$adjust;
|
|
41334
41620
|
var _React$useState = external_root_React_commonjs2_react_commonjs_react_amd_react_default().useState(-1),
|
|
41335
41621
|
_React$useState2 = slicedToArray_default()(_React$useState, 2),
|
|
41336
41622
|
activeIndex = _React$useState2[0],
|
|
@@ -41508,7 +41794,7 @@ var DatePicker = function DatePicker(props0) {
|
|
|
41508
41794
|
focus: open,
|
|
41509
41795
|
fixedWidth: false,
|
|
41510
41796
|
popupGap: 4,
|
|
41511
|
-
adjust:
|
|
41797
|
+
adjust: adjust,
|
|
41512
41798
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(animation_list, {
|
|
41513
41799
|
onRef: popupRef,
|
|
41514
41800
|
className: classnames_default()(styles === null || styles === void 0 ? void 0 : styles.pickerWrapper),
|
|
@@ -41814,7 +42100,7 @@ var Descriptions = function Descriptions(props) {
|
|
|
41814
42100
|
className: jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.row,
|
|
41815
42101
|
children: d.map(function (_d, _i) {
|
|
41816
42102
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("td", objectSpread2_default()(objectSpread2_default()({}, getColSpan(_d)), {}, {
|
|
41817
|
-
className: jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.
|
|
42103
|
+
className: jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.cell,
|
|
41818
42104
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
41819
42105
|
className: jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.item,
|
|
41820
42106
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
@@ -41835,8 +42121,8 @@ var Descriptions = function Descriptions(props) {
|
|
|
41835
42121
|
if (layout === 'inlineHorizontal' || layout === 'inlineVertical') return renderInline(d, i);
|
|
41836
42122
|
return layout === 'horizontal' ? renderHorizontal(d, i) : renderVertical(d, i);
|
|
41837
42123
|
};
|
|
41838
|
-
var rootClassName = classnames_default()(className, jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.wrapper);
|
|
41839
|
-
var bodyClassName = classnames_default()(jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.body, border && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.border), tableLayout === 'fixed' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tableLayoutFixed), layout === 'inlineHorizontal' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.inlineHorizontal), layout === 'horizontal' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.horizontal),
|
|
42124
|
+
var rootClassName = classnames_default()(className, jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.wrapper, size === 'small' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.small), size === 'large' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.large));
|
|
42125
|
+
var bodyClassName = classnames_default()(jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.body, border && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.border), tableLayout === 'fixed' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.tableLayoutFixed), layout === 'inlineHorizontal' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.inlineHorizontal), layout === 'horizontal' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.horizontal), layout === 'vertical' && (jssStyle === null || jssStyle === void 0 ? void 0 : jssStyle.vertical));
|
|
41840
42126
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
41841
42127
|
className: rootClassName,
|
|
41842
42128
|
style: style,
|
|
@@ -42647,6 +42933,8 @@ var Dropdown = function Dropdown(props) {
|
|
|
42647
42933
|
data = _props$data === void 0 ? [] : _props$data,
|
|
42648
42934
|
jssStyle = props.jssStyle,
|
|
42649
42935
|
isSub = props.isSub,
|
|
42936
|
+
_props$adjust = props.adjust,
|
|
42937
|
+
adjust = _props$adjust === void 0 ? true : _props$adjust,
|
|
42650
42938
|
columns = props.columns,
|
|
42651
42939
|
width = props.width,
|
|
42652
42940
|
disabled = props.disabled,
|
|
@@ -42806,7 +43094,7 @@ var Dropdown = function Dropdown(props) {
|
|
|
42806
43094
|
fixedWidth: 'min',
|
|
42807
43095
|
popupGap: 4,
|
|
42808
43096
|
popupElRef: popupRef,
|
|
42809
|
-
adjust: !isSub,
|
|
43097
|
+
adjust: !isSub && adjust,
|
|
42810
43098
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(animation_list, {
|
|
42811
43099
|
display: columns ? 'grid' : 'block',
|
|
42812
43100
|
className: classnames_default()(dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.list, hasChildren && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listHasChildren), columns !== undefined && columns > 1 && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.boxList), size === 'small' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listSmall), size === 'large' && (dropdownClasses === null || dropdownClasses === void 0 ? void 0 : dropdownClasses.listLarge)),
|
|
@@ -48589,6 +48877,8 @@ function Select(props0) {
|
|
|
48589
48877
|
className = props.className,
|
|
48590
48878
|
size = props.size,
|
|
48591
48879
|
data = props.data,
|
|
48880
|
+
_props$adjust = props.adjust,
|
|
48881
|
+
adjust = _props$adjust === void 0 ? true : _props$adjust,
|
|
48592
48882
|
treeData = props.treeData,
|
|
48593
48883
|
header = props.header,
|
|
48594
48884
|
footer = props.footer,
|
|
@@ -49140,7 +49430,8 @@ function Select(props0) {
|
|
|
49140
49430
|
className: styles === null || styles === void 0 ? void 0 : styles.loading,
|
|
49141
49431
|
children: /*#__PURE__*/(0,jsx_runtime.jsx)(src_spin_spin, {
|
|
49142
49432
|
jssStyle: jssStyle,
|
|
49143
|
-
size: 14
|
|
49433
|
+
size: 14,
|
|
49434
|
+
className: styles.loadingSpin
|
|
49144
49435
|
})
|
|
49145
49436
|
});
|
|
49146
49437
|
};
|
|
@@ -49203,7 +49494,7 @@ function Select(props0) {
|
|
|
49203
49494
|
}
|
|
49204
49495
|
},
|
|
49205
49496
|
children: [tipNode, renderResult(), /*#__PURE__*/(0,jsx_runtime.jsx)(absolute_list, {
|
|
49206
|
-
adjust:
|
|
49497
|
+
adjust: adjust,
|
|
49207
49498
|
focus: open,
|
|
49208
49499
|
fixedWidth: autoAdapt ? 'min' : true,
|
|
49209
49500
|
absolute: props.absolute,
|
|
@@ -50527,10 +50818,13 @@ var MenuItem = function MenuItem(props) {
|
|
|
50527
50818
|
var _props$jssStyle, _props$jssStyle$menu;
|
|
50528
50819
|
var classes = (_props$jssStyle = props.jssStyle) === null || _props$jssStyle === void 0 || (_props$jssStyle$menu = _props$jssStyle.menu) === null || _props$jssStyle$menu === void 0 ? void 0 : _props$jssStyle$menu.call(_props$jssStyle);
|
|
50529
50820
|
var children = props.dataItem.children || [];
|
|
50821
|
+
var itemContentRef = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
50822
|
+
var timer = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useRef)(null);
|
|
50530
50823
|
var _props$inlineIndent = props.inlineIndent,
|
|
50531
50824
|
inlineIndent = _props$inlineIndent === void 0 ? 24 : _props$inlineIndent,
|
|
50532
50825
|
_props$frontCaretType = props.frontCaretType,
|
|
50533
|
-
frontCaretType = _props$frontCaretType === void 0 ? 'solid' : _props$frontCaretType
|
|
50826
|
+
frontCaretType = _props$frontCaretType === void 0 ? 'solid' : _props$frontCaretType,
|
|
50827
|
+
collapse = props.collapse;
|
|
50534
50828
|
var config = useConfig();
|
|
50535
50829
|
var hasExpandAbleChildren = children.some(function (item) {
|
|
50536
50830
|
return item && item.children && (props.looseChildren || item.children.length);
|
|
@@ -50587,9 +50881,11 @@ var MenuItem = function MenuItem(props) {
|
|
|
50587
50881
|
flexShrink: 0
|
|
50588
50882
|
}
|
|
50589
50883
|
}) : null;
|
|
50884
|
+
var isFirstCollapseItem = collapse && props.level === 0;
|
|
50590
50885
|
if (props.frontCaret) {
|
|
50591
50886
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
50592
|
-
|
|
50887
|
+
ref: itemContentRef,
|
|
50888
|
+
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.itemContent, classes === null || classes === void 0 ? void 0 : classes.itemContentFront, isFirstCollapseItem && (classes === null || classes === void 0 ? void 0 : classes.itemContentHide)),
|
|
50593
50889
|
onClick: handleItemClick,
|
|
50594
50890
|
children: [indent, /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
50595
50891
|
style: {
|
|
@@ -50606,7 +50902,8 @@ var MenuItem = function MenuItem(props) {
|
|
|
50606
50902
|
});
|
|
50607
50903
|
} else {
|
|
50608
50904
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
50609
|
-
|
|
50905
|
+
ref: itemContentRef,
|
|
50906
|
+
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.itemContent, classes === null || classes === void 0 ? void 0 : classes.itemContentBack, isFirstCollapseItem && (classes === null || classes === void 0 ? void 0 : classes.itemContentHide)),
|
|
50610
50907
|
onClick: handleItemClick,
|
|
50611
50908
|
children: [indent, title, expandAble && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
50612
50909
|
onClick: handleExpandClick,
|
|
@@ -50623,12 +50920,36 @@ var MenuItem = function MenuItem(props) {
|
|
|
50623
50920
|
});
|
|
50624
50921
|
}
|
|
50625
50922
|
};
|
|
50923
|
+
var renderCollapseItem = function renderCollapseItem() {
|
|
50924
|
+
if (!props.renderCollapse) return null;
|
|
50925
|
+
var isFirstCollapseItem = props.level === 0 && collapse;
|
|
50926
|
+
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
50927
|
+
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.collapseItem, isInPath && (classes === null || classes === void 0 ? void 0 : classes.collapseItemInPath), !isFirstCollapseItem && (classes === null || classes === void 0 ? void 0 : classes.collapseItemHide)),
|
|
50928
|
+
onClick: handleItemClick,
|
|
50929
|
+
children: props.renderCollapse(props.dataItem, props.index)
|
|
50930
|
+
});
|
|
50931
|
+
};
|
|
50932
|
+
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
50933
|
+
if (!itemContentRef.current) return;
|
|
50934
|
+
if (collapse === undefined) return;
|
|
50935
|
+
if (timer.current) clearTimeout(timer.current);
|
|
50936
|
+
itemContentRef.current.style.overflow = 'hidden';
|
|
50937
|
+
itemContentRef.current.style.whiteSpace = 'nowrap';
|
|
50938
|
+
timer.current = setTimeout(function () {
|
|
50939
|
+
if (!itemContentRef.current) return;
|
|
50940
|
+
itemContentRef.current.style.overflow = '';
|
|
50941
|
+
itemContentRef.current.style.whiteSpace = '';
|
|
50942
|
+
}, 300);
|
|
50943
|
+
return function () {
|
|
50944
|
+
if (timer.current) clearTimeout(timer.current);
|
|
50945
|
+
};
|
|
50946
|
+
}, [collapse]);
|
|
50626
50947
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("li", {
|
|
50627
50948
|
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.item, isDisabled && (classes === null || classes === void 0 ? void 0 : classes.itemDisabled), isInPath && (classes === null || classes === void 0 ? void 0 : classes.itemInPath), isOpen && (classes === null || classes === void 0 ? void 0 : classes.itemOpen), isChecked && (classes === null || classes === void 0 ? void 0 : classes.itemActive), expandAble && (classes === null || classes === void 0 ? void 0 : classes.itemHasChildren)),
|
|
50628
50949
|
onMouseEnter: handleMouseEnter,
|
|
50629
50950
|
onMouseLeave: handleMouseLeave,
|
|
50630
50951
|
dir: config.direction,
|
|
50631
|
-
children: [renderItem(), children.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
|
|
50952
|
+
children: [renderItem(), renderCollapseItem(), children.length > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("ul", {
|
|
50632
50953
|
className: classnames_default()(classes === null || classes === void 0 ? void 0 : classes.children, isUp && (classes === null || classes === void 0 ? void 0 : classes.childrenUp), hasExpandAbleChildren && (classes === null || classes === void 0 ? void 0 : classes.childrenHasExpand)),
|
|
50633
50954
|
dir: config.direction,
|
|
50634
50955
|
children: children.map(function (item, index) {
|
|
@@ -50859,9 +51180,11 @@ var Menu = function Menu(props) {
|
|
|
50859
51180
|
var _props$data = props.data,
|
|
50860
51181
|
data = _props$data === void 0 ? menu_emptyArray : _props$data,
|
|
50861
51182
|
_props$mode = props.mode,
|
|
50862
|
-
|
|
51183
|
+
modeProps = _props$mode === void 0 ? 'inline' : _props$mode,
|
|
50863
51184
|
_props$theme = props.theme,
|
|
50864
|
-
theme = _props$theme === void 0 ? 'light' : _props$theme
|
|
51185
|
+
theme = _props$theme === void 0 ? 'light' : _props$theme,
|
|
51186
|
+
collapse = props.collapse;
|
|
51187
|
+
var mode = collapse ? 'vertical' : modeProps;
|
|
50865
51188
|
var classes = (_props$jssStyle = props.jssStyle) === null || _props$jssStyle === void 0 || (_props$jssStyle$menu = _props$jssStyle.menu) === null || _props$jssStyle$menu === void 0 ? void 0 : _props$jssStyle$menu.call(_props$jssStyle);
|
|
50866
51189
|
var isVertical = mode === 'vertical' || mode === 'vertical-auto';
|
|
50867
51190
|
var isHorizontal = mode === 'horizontal';
|
|
@@ -50869,12 +51192,16 @@ var Menu = function Menu(props) {
|
|
|
50869
51192
|
_useState2 = slicedToArray_default()(_useState, 2),
|
|
50870
51193
|
hasOpen = _useState2[0],
|
|
50871
51194
|
setHasOpen = _useState2[1];
|
|
51195
|
+
var _useState3 = (0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useState)([]),
|
|
51196
|
+
_useState4 = slicedToArray_default()(_useState3, 2),
|
|
51197
|
+
collapseOpenKeys = _useState4[0],
|
|
51198
|
+
setCollapseOpenKeys = _useState4[1];
|
|
50872
51199
|
var _useMenu = use_menu({
|
|
50873
51200
|
data: data,
|
|
50874
51201
|
active: props.active,
|
|
50875
51202
|
defaultOpenKeys: props.defaultOpenKeys,
|
|
50876
|
-
openKeys: props.openKeys,
|
|
50877
|
-
onOpenChange: props.onOpenChange
|
|
51203
|
+
openKeys: props.collapse ? collapseOpenKeys : props.openKeys,
|
|
51204
|
+
onOpenChange: props.collapse ? setCollapseOpenKeys : props.onOpenChange
|
|
50878
51205
|
}),
|
|
50879
51206
|
openKeys = _useMenu.openKeys,
|
|
50880
51207
|
onOpenChange = _useMenu.onOpenChange,
|
|
@@ -50886,7 +51213,9 @@ var Menu = function Menu(props) {
|
|
|
50886
51213
|
return item && item.children && (props.looseChildren || item.children.length);
|
|
50887
51214
|
});
|
|
50888
51215
|
var showScrollBar = isHorizontal || isVertical;
|
|
50889
|
-
var
|
|
51216
|
+
var style = objectSpread2_default()({}, props.style);
|
|
51217
|
+
if (collapse) delete style.width;
|
|
51218
|
+
var listStyle = isVertical && !collapse ? {
|
|
50890
51219
|
width: (_props$style = props.style) === null || _props$style === void 0 ? void 0 : _props$style.width
|
|
50891
51220
|
} : undefined;
|
|
50892
51221
|
(0,external_root_React_commonjs2_react_commonjs_react_amd_react_.useEffect)(function () {
|
|
@@ -50900,10 +51229,10 @@ var Menu = function Menu(props) {
|
|
|
50900
51229
|
}
|
|
50901
51230
|
}, [data, openKeys]);
|
|
50902
51231
|
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
50903
|
-
className: classnames_default()(props.className, classes === null || classes === void 0 ? void 0 : classes.wrapper, mode === 'inline' && (classes === null || classes === void 0 ? void 0 : classes.wrapperInline), (mode === 'vertical' || mode === 'vertical-auto') && (classes === null || classes === void 0 ? void 0 : classes.wrapperVertical), mode === 'horizontal' && (classes === null || classes === void 0 ? void 0 : classes.wrapperHorizontal), hasOpen && (classes === null || classes === void 0 ? void 0 : classes.wrapperHasOpen), theme === 'dark' ? classes === null || classes === void 0 ? void 0 : classes.wrapperDark : classes === null || classes === void 0 ? void 0 : classes.wrapperLight),
|
|
51232
|
+
className: classnames_default()(props.className, classes === null || classes === void 0 ? void 0 : classes.wrapper, mode === 'inline' && (classes === null || classes === void 0 ? void 0 : classes.wrapperInline), (mode === 'vertical' || mode === 'vertical-auto') && (classes === null || classes === void 0 ? void 0 : classes.wrapperVertical), mode === 'horizontal' && (classes === null || classes === void 0 ? void 0 : classes.wrapperHorizontal), hasOpen && (classes === null || classes === void 0 ? void 0 : classes.wrapperHasOpen), theme === 'dark' ? classes === null || classes === void 0 ? void 0 : classes.wrapperDark : classes === null || classes === void 0 ? void 0 : classes.wrapperLight, collapse && (classes === null || classes === void 0 ? void 0 : classes.collapse)),
|
|
50904
51233
|
style: objectSpread2_default()({
|
|
50905
51234
|
height: props.height
|
|
50906
|
-
},
|
|
51235
|
+
}, style),
|
|
50907
51236
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
50908
51237
|
className: classes === null || classes === void 0 ? void 0 : classes.scrollbox,
|
|
50909
51238
|
ref: scrollRef,
|
|
@@ -50916,6 +51245,7 @@ var Menu = function Menu(props) {
|
|
|
50916
51245
|
level: 0,
|
|
50917
51246
|
index: index,
|
|
50918
51247
|
parentId: "",
|
|
51248
|
+
collapse: collapse,
|
|
50919
51249
|
dataItem: item,
|
|
50920
51250
|
keyResult: key,
|
|
50921
51251
|
openKeys: openKeys,
|
|
@@ -50930,6 +51260,7 @@ var Menu = function Menu(props) {
|
|
|
50930
51260
|
toggleDuration: props.toggleDuration,
|
|
50931
51261
|
disabled: props.disabled,
|
|
50932
51262
|
renderItem: props.renderItem,
|
|
51263
|
+
renderCollapse: props.renderCollapse,
|
|
50933
51264
|
keygen: props.keygen,
|
|
50934
51265
|
jssStyle: props.jssStyle,
|
|
50935
51266
|
linkKey: props.linkKey,
|
|
@@ -57894,6 +58225,8 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
57894
58225
|
var jssStyle = props.jssStyle,
|
|
57895
58226
|
className = props.className,
|
|
57896
58227
|
size = props.size,
|
|
58228
|
+
_props$adjust = props.adjust,
|
|
58229
|
+
adjust = _props$adjust === void 0 ? true : _props$adjust,
|
|
57897
58230
|
valueProp = props.value,
|
|
57898
58231
|
defaultValue = props.defaultValue,
|
|
57899
58232
|
_props$data = props.data,
|
|
@@ -58440,7 +58773,7 @@ var TreeSelect = function TreeSelect(props0) {
|
|
|
58440
58773
|
}
|
|
58441
58774
|
},
|
|
58442
58775
|
children: [tipNode, renderResult(), /*#__PURE__*/(0,jsx_runtime.jsx)(absolute_list, {
|
|
58443
|
-
adjust:
|
|
58776
|
+
adjust: adjust,
|
|
58444
58777
|
focus: open,
|
|
58445
58778
|
fixedWidth: "min",
|
|
58446
58779
|
lazy: false,
|
|
@@ -62037,7 +62370,7 @@ var upload_interface = __webpack_require__(4412);
|
|
|
62037
62370
|
|
|
62038
62371
|
|
|
62039
62372
|
/* harmony default export */ var src_0 = ({
|
|
62040
|
-
version: '3.
|
|
62373
|
+
version: '3.2.0-rc.2'
|
|
62041
62374
|
});
|
|
62042
62375
|
}();
|
|
62043
62376
|
/******/ return __webpack_exports__;
|