@qn-pandora/pandora-component 3.1.1 → 4.0.0

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.
Files changed (145) hide show
  1. package/CHANGELOG.json +7 -7
  2. package/CHANGELOG.md +8 -7
  3. package/es/components/AutoComplete/style.css +25 -29
  4. package/es/components/Button/index.d.ts +0 -8
  5. package/es/components/Button/index.js +4 -4
  6. package/es/components/Button/style.css +100 -104
  7. package/es/components/Button/style.less +3 -14
  8. package/es/components/Card/style.css +28 -2
  9. package/es/components/CheckTransformList/style.css +50 -21
  10. package/es/components/Checkbox/style.css +1 -1
  11. package/es/components/CheckboxList/index.d.ts +2 -0
  12. package/es/components/CheckboxList/index.js +2 -2
  13. package/es/components/CheckboxList/style.css +5 -3
  14. package/es/components/CheckboxList/style.less +4 -2
  15. package/es/components/Collapse/style.css +16 -12
  16. package/es/components/CollapsiblePanel/style.css +4 -4
  17. package/es/components/CollapsiblePanel/style.less +4 -4
  18. package/es/components/DateTimePicker/Base/style.css +378 -49
  19. package/es/components/DateTimePicker/Base/style.less +37 -41
  20. package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
  21. package/es/components/DateTimePicker/BaseMobile/style.less +4 -4
  22. package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
  23. package/es/components/DateTimePicker/constants.d.ts +1 -1
  24. package/es/components/DateTimePicker/constants.js +17 -6
  25. package/es/components/DateTimePicker/index.js +1 -1
  26. package/es/components/DateTimePicker/style.css +7 -7
  27. package/es/components/DateTimePicker/style.less +12 -10
  28. package/es/components/DateTimePicker/transform.d.ts +4 -0
  29. package/es/components/DateTimePicker/transform.js +52 -0
  30. package/es/components/Drawer/style.css +45 -45
  31. package/es/components/Input/index.d.ts +1 -2
  32. package/es/components/Input/index.js +0 -2
  33. package/es/components/Input/style.css +47 -16
  34. package/es/components/InputNumber/index.d.ts +1 -8
  35. package/es/components/InputNumber/index.js +1 -35
  36. package/es/components/Menu/Option.d.ts +4 -0
  37. package/es/components/Menu/Option.js +2 -1
  38. package/es/components/Menu/index.d.ts +1 -1
  39. package/es/components/Menu/style.css +20 -10
  40. package/es/components/Menu/style.less +10 -0
  41. package/es/components/NameLimiter/style.css +2 -4
  42. package/es/components/NameLimiter/style.less +2 -4
  43. package/es/components/OptionList/OptionItem/style.css +2 -2
  44. package/es/components/OptionList/OptionItem/style.less +2 -2
  45. package/es/components/OptionList/style.css +2 -2
  46. package/es/components/RadioGroup/style.css +8 -8
  47. package/es/components/RangeInput/style.css +427 -27
  48. package/es/components/RemarkName/style.css +2 -4
  49. package/es/components/Selector/style.css +25 -29
  50. package/es/components/Selector/style.less +27 -28
  51. package/es/components/Spin/style.css +0 -1
  52. package/es/components/Steps/style.css +8 -6
  53. package/es/components/Steps/style.less +9 -7
  54. package/es/components/Table/style.css +81 -23
  55. package/es/components/Table/style.less +10 -17
  56. package/es/components/Tabs/style.css +29 -1
  57. package/es/components/Tabs/style.less +3 -1
  58. package/es/components/TagList/style.css +10 -10
  59. package/es/components/TagList/style.less +1 -1
  60. package/es/components/Transfer/List/index.js +3 -3
  61. package/es/components/Transfer/List/style.css +3 -0
  62. package/es/components/Transfer/List/style.less +4 -0
  63. package/es/components/Transfer/style.css +3 -0
  64. package/es/components/TreeSelector/style.css +64 -20
  65. package/es/components/TreeSelector/style.less +9 -7
  66. package/es/index.css +2701 -2207
  67. package/es/index.d.ts +1 -1
  68. package/es/index.less +0 -1
  69. package/es/style/theme.less +2 -0
  70. package/lib/components/AutoComplete/style.css +25 -29
  71. package/lib/components/Button/index.d.ts +0 -8
  72. package/lib/components/Button/index.js +4 -4
  73. package/lib/components/Button/style.css +100 -104
  74. package/lib/components/Button/style.less +3 -14
  75. package/lib/components/Card/style.css +28 -2
  76. package/lib/components/CheckTransformList/style.css +50 -21
  77. package/lib/components/Checkbox/style.css +1 -1
  78. package/lib/components/CheckboxList/index.d.ts +2 -0
  79. package/lib/components/CheckboxList/index.js +2 -2
  80. package/lib/components/CheckboxList/style.css +5 -3
  81. package/lib/components/CheckboxList/style.less +4 -2
  82. package/lib/components/Collapse/style.css +16 -12
  83. package/lib/components/CollapsiblePanel/style.css +4 -4
  84. package/lib/components/CollapsiblePanel/style.less +4 -4
  85. package/lib/components/DateTimePicker/Base/style.css +378 -49
  86. package/lib/components/DateTimePicker/Base/style.less +37 -41
  87. package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
  88. package/lib/components/DateTimePicker/BaseMobile/style.less +4 -4
  89. package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
  90. package/lib/components/DateTimePicker/constants.d.ts +1 -1
  91. package/lib/components/DateTimePicker/constants.js +17 -6
  92. package/lib/components/DateTimePicker/index.js +1 -1
  93. package/lib/components/DateTimePicker/style.css +7 -7
  94. package/lib/components/DateTimePicker/style.less +12 -10
  95. package/lib/components/DateTimePicker/transform.d.ts +4 -0
  96. package/lib/components/DateTimePicker/transform.js +53 -0
  97. package/lib/components/Drawer/style.css +45 -45
  98. package/lib/components/Input/index.d.ts +1 -2
  99. package/lib/components/Input/index.js +0 -2
  100. package/lib/components/Input/style.css +47 -16
  101. package/lib/components/InputNumber/index.d.ts +1 -8
  102. package/lib/components/InputNumber/index.js +1 -38
  103. package/lib/components/Menu/Option.d.ts +4 -0
  104. package/lib/components/Menu/Option.js +2 -1
  105. package/lib/components/Menu/index.d.ts +1 -1
  106. package/lib/components/Menu/style.css +20 -10
  107. package/lib/components/Menu/style.less +10 -0
  108. package/lib/components/NameLimiter/style.css +2 -4
  109. package/lib/components/NameLimiter/style.less +2 -4
  110. package/lib/components/OptionList/OptionItem/style.css +2 -2
  111. package/lib/components/OptionList/OptionItem/style.less +2 -2
  112. package/lib/components/OptionList/style.css +2 -2
  113. package/lib/components/RadioGroup/style.css +8 -8
  114. package/lib/components/RangeInput/style.css +427 -27
  115. package/lib/components/RemarkName/style.css +2 -4
  116. package/lib/components/Selector/style.css +25 -29
  117. package/lib/components/Selector/style.less +27 -28
  118. package/lib/components/Spin/style.css +0 -1
  119. package/lib/components/Steps/style.css +8 -6
  120. package/lib/components/Steps/style.less +9 -7
  121. package/lib/components/Table/style.css +81 -23
  122. package/lib/components/Table/style.less +10 -17
  123. package/lib/components/Tabs/style.css +29 -1
  124. package/lib/components/Tabs/style.less +3 -1
  125. package/lib/components/TagList/style.css +10 -10
  126. package/lib/components/TagList/style.less +1 -1
  127. package/lib/components/Transfer/List/index.js +3 -3
  128. package/lib/components/Transfer/List/style.css +3 -0
  129. package/lib/components/Transfer/List/style.less +4 -0
  130. package/lib/components/Transfer/style.css +3 -0
  131. package/lib/components/TreeSelector/style.css +64 -20
  132. package/lib/components/TreeSelector/style.less +9 -7
  133. package/lib/index.css +5228 -4734
  134. package/lib/index.d.ts +1 -1
  135. package/lib/index.less +6 -7
  136. package/lib/style/theme.less +2 -0
  137. package/package.json +18 -47
  138. package/es/components/Input/NumberInput/index.d.ts +0 -29
  139. package/es/components/Input/NumberInput/index.js +0 -116
  140. package/es/components/InputNumber/style.css +0 -400
  141. package/es/components/InputNumber/style.less +0 -45
  142. package/lib/components/Input/NumberInput/index.d.ts +0 -29
  143. package/lib/components/Input/NumberInput/index.js +0 -121
  144. package/lib/components/InputNumber/style.css +0 -400
  145. package/lib/components/InputNumber/style.less +0 -45
@@ -5,9 +5,9 @@
5
5
  box-shadow: none;
6
6
 
7
7
  &.@{sdk-prefix}-button-disabled {
8
- background: @button-disabled-bg!important;
9
- color: @button-disabled-color!important;
10
- border-color: @button-disabled-border-color!important;
8
+ background: @button-disabled-bg;
9
+ color: @button-disabled-color;
10
+ border-color: @button-disabled-border-color;
11
11
  pointer-events: none;
12
12
  text-shadow: none;
13
13
  }
@@ -23,17 +23,6 @@
23
23
  border-color: @button-default-hover-border-color;
24
24
  }
25
25
  }
26
- &.@{sdk-prefix}-type-primary {
27
- background: @button-primary-bg;
28
- color: @button-primary-color;
29
- border: 1px solid @button-primary-border-color;
30
- &:hover,
31
- &:focus {
32
- background: @button-primary-hover-bg;
33
- color: @button-primary-hover-color;
34
- border-color: @button-primary-hover-border-color;
35
- }
36
- }
37
26
 
38
27
  // size
39
28
  &.@{sdk-prefix}-size-large {
@@ -80,14 +80,14 @@
80
80
  margin-top: 0;
81
81
  margin-bottom: 0;
82
82
  }
83
- .ant-card-head .ant-tabs {
83
+ .ant-card-head .ant-tabs-top {
84
84
  clear: both;
85
85
  margin-bottom: -17px;
86
86
  color: rgba(0, 0, 0, 0.65);
87
87
  font-weight: normal;
88
88
  font-size: 14px;
89
89
  }
90
- .ant-card-head .ant-tabs-bar {
90
+ .ant-card-head .ant-tabs-top-bar {
91
91
  border-bottom: 1px solid #e5e5e5;
92
92
  }
93
93
  .ant-card-extra {
@@ -679,6 +679,12 @@
679
679
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
680
680
  }
681
681
  .ant-tabs-dropdown-menu-item {
682
+ display: -webkit-box;
683
+ display: -ms-flexbox;
684
+ display: flex;
685
+ -webkit-box-align: center;
686
+ -ms-flex-align: center;
687
+ align-items: center;
682
688
  min-width: 120px;
683
689
  margin: 0;
684
690
  padding: 5px 12px;
@@ -693,6 +699,26 @@
693
699
  -webkit-transition: all 0.3s;
694
700
  transition: all 0.3s;
695
701
  }
702
+ .ant-tabs-dropdown-menu-item > span {
703
+ -webkit-box-flex: 1;
704
+ -ms-flex: 1;
705
+ flex: 1;
706
+ white-space: nowrap;
707
+ }
708
+ .ant-tabs-dropdown-menu-item-remove {
709
+ -webkit-box-flex: 0;
710
+ -ms-flex: none;
711
+ flex: none;
712
+ margin-left: 12px;
713
+ color: rgba(0, 0, 0, 0.45);
714
+ font-size: 12px;
715
+ background: transparent;
716
+ border: 0;
717
+ cursor: pointer;
718
+ }
719
+ .ant-tabs-dropdown-menu-item-remove:hover {
720
+ color: #2c6dd2;
721
+ }
696
722
  .ant-tabs-dropdown-menu-item:hover {
697
723
  background: rgba(44, 109, 210, 0.05);
698
724
  }
@@ -201,7 +201,7 @@
201
201
  .ant-checkbox-inner::after {
202
202
  position: absolute;
203
203
  top: 50%;
204
- left: 22%;
204
+ left: 21.5%;
205
205
  display: table;
206
206
  width: 5.71428571px;
207
207
  height: 9.14285714px;
@@ -381,6 +381,7 @@
381
381
  border-radius: 2px;
382
382
  -webkit-transition: all 0.3s;
383
383
  transition: all 0.3s;
384
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
384
385
  display: -webkit-inline-box;
385
386
  display: -ms-inline-flexbox;
386
387
  display: inline-flex;
@@ -390,12 +391,20 @@
390
391
  }
391
392
  .ant-input-affix-wrapper::-webkit-input-placeholder {
392
393
  color: #bfbfbf;
394
+ -webkit-user-select: none;
395
+ user-select: none;
393
396
  }
394
397
  .ant-input-affix-wrapper::-ms-input-placeholder {
395
398
  color: #bfbfbf;
399
+ -ms-user-select: none;
400
+ user-select: none;
396
401
  }
397
402
  .ant-input-affix-wrapper::placeholder {
398
403
  color: #bfbfbf;
404
+ -webkit-user-select: none;
405
+ -moz-user-select: none;
406
+ -ms-user-select: none;
407
+ user-select: none;
399
408
  }
400
409
  .ant-input-affix-wrapper:placeholder-shown {
401
410
  text-overflow: ellipsis;
@@ -410,11 +419,11 @@
410
419
  }
411
420
  .ant-input-affix-wrapper:focus,
412
421
  .ant-input-affix-wrapper-focused {
413
- border-color: #528cde;
422
+ border-color: #9ca0a6;
423
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
424
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
414
425
  border-right-width: 1px !important;
415
426
  outline: 0;
416
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
417
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
418
427
  }
419
428
  .ant-input-rtl .ant-input-affix-wrapper:focus,
420
429
  .ant-input-rtl .ant-input-affix-wrapper-focused {
@@ -424,6 +433,9 @@
424
433
  .ant-input-affix-wrapper-disabled {
425
434
  color: rgba(0, 0, 0, 0.25);
426
435
  background-color: #f5f5f5;
436
+ border-color: #bfbfbf;
437
+ -webkit-box-shadow: none;
438
+ box-shadow: none;
427
439
  cursor: not-allowed;
428
440
  opacity: 1;
429
441
  }
@@ -434,6 +446,9 @@
434
446
  .ant-input-affix-wrapper[disabled] {
435
447
  color: rgba(0, 0, 0, 0.25);
436
448
  background-color: #f5f5f5;
449
+ border-color: #bfbfbf;
450
+ -webkit-box-shadow: none;
451
+ box-shadow: none;
437
452
  cursor: not-allowed;
438
453
  opacity: 1;
439
454
  }
@@ -523,7 +538,7 @@ textarea.ant-input-affix-wrapper {
523
538
  margin-left: 4px;
524
539
  }
525
540
  .anticon.ant-input-clear-icon {
526
- margin: 0 4px;
541
+ margin: 0;
527
542
  color: rgba(0, 0, 0, 0.25);
528
543
  font-size: 12px;
529
544
  vertical-align: -1px;
@@ -540,8 +555,8 @@ textarea.ant-input-affix-wrapper {
540
555
  .anticon.ant-input-clear-icon-hidden {
541
556
  visibility: hidden;
542
557
  }
543
- .anticon.ant-input-clear-icon:last-child {
544
- margin-right: 0;
558
+ .anticon.ant-input-clear-icon-has-suffix {
559
+ margin: 0 4px;
545
560
  }
546
561
  .ant-input-affix-wrapper-textarea-with-clear-btn {
547
562
  padding: 0 !important;
@@ -577,18 +592,27 @@ textarea.ant-input-affix-wrapper {
577
592
  border-radius: 2px;
578
593
  -webkit-transition: all 0.3s;
579
594
  transition: all 0.3s;
595
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
580
596
  }
581
597
  .ant-input::-moz-placeholder {
582
598
  opacity: 1;
583
599
  }
584
600
  .ant-input::-webkit-input-placeholder {
585
601
  color: #bfbfbf;
602
+ -webkit-user-select: none;
603
+ user-select: none;
586
604
  }
587
605
  .ant-input::-ms-input-placeholder {
588
606
  color: #bfbfbf;
607
+ -ms-user-select: none;
608
+ user-select: none;
589
609
  }
590
610
  .ant-input::placeholder {
591
611
  color: #bfbfbf;
612
+ -webkit-user-select: none;
613
+ -moz-user-select: none;
614
+ -ms-user-select: none;
615
+ user-select: none;
592
616
  }
593
617
  .ant-input:placeholder-shown {
594
618
  text-overflow: ellipsis;
@@ -603,11 +627,11 @@ textarea.ant-input-affix-wrapper {
603
627
  }
604
628
  .ant-input:focus,
605
629
  .ant-input-focused {
606
- border-color: #528cde;
630
+ border-color: #9ca0a6;
631
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
632
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
607
633
  border-right-width: 1px !important;
608
634
  outline: 0;
609
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
610
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
611
635
  }
612
636
  .ant-input-rtl .ant-input:focus,
613
637
  .ant-input-rtl .ant-input-focused {
@@ -617,6 +641,9 @@ textarea.ant-input-affix-wrapper {
617
641
  .ant-input-disabled {
618
642
  color: rgba(0, 0, 0, 0.25);
619
643
  background-color: #f5f5f5;
644
+ border-color: #bfbfbf;
645
+ -webkit-box-shadow: none;
646
+ box-shadow: none;
620
647
  cursor: not-allowed;
621
648
  opacity: 1;
622
649
  }
@@ -627,6 +654,9 @@ textarea.ant-input-affix-wrapper {
627
654
  .ant-input[disabled] {
628
655
  color: rgba(0, 0, 0, 0.25);
629
656
  background-color: #f5f5f5;
657
+ border-color: #bfbfbf;
658
+ -webkit-box-shadow: none;
659
+ box-shadow: none;
630
660
  cursor: not-allowed;
631
661
  opacity: 1;
632
662
  }
@@ -814,10 +844,6 @@ textarea.ant-input {
814
844
  .ant-input-group-sm .ant-select-single .ant-select-selector {
815
845
  height: 26px;
816
846
  }
817
- .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
818
- border-top-left-radius: 0;
819
- border-bottom-left-radius: 0;
820
- }
821
847
  .ant-input-group .ant-input-affix-wrapper:not(:last-child) {
822
848
  border-top-right-radius: 0;
823
849
  border-bottom-right-radius: 0;
@@ -826,6 +852,11 @@ textarea.ant-input {
826
852
  border-top-left-radius: 2px;
827
853
  border-bottom-left-radius: 2px;
828
854
  }
855
+ .ant-input-group .ant-input-affix-wrapper:not(:first-child),
856
+ .ant-input-search .ant-input-group .ant-input-affix-wrapper:not(:first-child) {
857
+ border-top-left-radius: 0;
858
+ border-bottom-left-radius: 0;
859
+ }
829
860
  .ant-input-group.ant-input-group-compact {
830
861
  display: block;
831
862
  }
@@ -1080,9 +1111,9 @@ textarea.ant-input {
1080
1111
  .ant-input-textarea-rtl.ant-input-textarea-show-count::after {
1081
1112
  text-align: left;
1082
1113
  }
1083
- .ant-input-affix-wrapper-rtl .ant-input-clear-icon:last-child {
1084
- margin-right: 4px;
1085
- margin-left: 0;
1114
+ .ant-input-affix-wrapper-rtl .ant-input-clear-icon-has-suffix {
1115
+ margin-right: 0;
1116
+ margin-left: 4px;
1086
1117
  }
1087
1118
  .ant-input-affix-wrapper-rtl .ant-input-clear-icon {
1088
1119
  right: auto;
@@ -1390,11 +1421,9 @@ textarea.ant-input {
1390
1421
  overflow: hidden;
1391
1422
  }
1392
1423
  .pandora-sdk-name-limit-tooltip .ant-tooltip-inner {
1393
- max-width: 400px !important;
1394
- max-height: 200px !important;
1424
+ max-width: 400px;
1425
+ max-height: 200px;
1395
1426
  overflow: auto;
1396
- line-height: 22px;
1397
- font-size: 12px;
1398
1427
  }
1399
1428
  .ant-btn {
1400
1429
  padding: 4px 15px;
@@ -87,7 +87,7 @@
87
87
  .ant-checkbox-inner::after {
88
88
  position: absolute;
89
89
  top: 50%;
90
- left: 22%;
90
+ left: 21.5%;
91
91
  display: table;
92
92
  width: 5.71428571px;
93
93
  height: 9.14285714px;
@@ -7,6 +7,7 @@ export interface IOptionItem {
7
7
  indeterminate?: boolean | ((item: IOptionItem) => boolean);
8
8
  disabled?: boolean | ((item: IOptionItem) => boolean);
9
9
  }
10
+ export { CheckboxValueType };
10
11
  export interface ICheckboxListProps {
11
12
  /**
12
13
  * 选项可以是对象数组,也可以是字符串数组;
@@ -23,5 +24,6 @@ export interface ICheckboxListProps {
23
24
  */
24
25
  itemClassName?: string;
25
26
  onChange?: (value: CheckboxValueType[]) => void;
27
+ disabled?: boolean;
26
28
  }
27
29
  export default function CheckboxList(props: ICheckboxListProps): JSX.Element;
@@ -16,8 +16,8 @@ var classnames_1 = __importDefault(require("classnames"));
16
16
  var style_1 = require("../../constants/style");
17
17
  var CheckboxGroup = antd_1.Checkbox.Group;
18
18
  function CheckboxList(props) {
19
- var options = props.options, itemClassName = props.itemClassName, value = props.value, onChange = props.onChange;
20
- return (React.createElement(CheckboxGroup, { value: value, onChange: onChange }, options &&
19
+ var options = props.options, itemClassName = props.itemClassName, value = props.value, onChange = props.onChange, disabled = props.disabled;
20
+ return (React.createElement(CheckboxGroup, { value: value, onChange: onChange, disabled: disabled }, options &&
21
21
  options.map(function (option) {
22
22
  // 将 option string的形式进行格式化
23
23
  var optionItem = typeof option === 'string' ? { value: option } : option;
@@ -87,7 +87,7 @@
87
87
  .ant-checkbox-inner::after {
88
88
  position: absolute;
89
89
  top: 50%;
90
- left: 22%;
90
+ left: 21.5%;
91
91
  display: table;
92
92
  width: 5.71428571px;
93
93
  height: 9.14285714px;
@@ -259,8 +259,10 @@
259
259
  padding: 0 7px;
260
260
  }
261
261
  .pandora-sdk-checkbox-item {
262
- line-height: 25px !important;
263
262
  white-space: nowrap;
264
263
  width: 100%;
265
- margin-left: 0 !important;
264
+ }
265
+ .pandora-sdk-checkbox-item.ant-checkbox-wrapper {
266
+ margin-left: 0;
267
+ line-height: 25px;
266
268
  }
@@ -2,8 +2,10 @@
2
2
  @import '../../style/theme.less';
3
3
 
4
4
  .@{sdk-prefix}-checkbox-item {
5
- line-height: 25px !important;
6
5
  white-space: nowrap;
7
6
  width: 100%;
8
- margin-left: 0 !important;
7
+ &.@{ant-prefix}-checkbox-wrapper {
8
+ margin-left: 0;
9
+ line-height: 25px;
10
+ }
9
11
  }
@@ -27,7 +27,14 @@
27
27
  border-radius: 0 0 2px 2px;
28
28
  }
29
29
  .ant-collapse > .ant-collapse-item > .ant-collapse-header {
30
- position: relative;
30
+ display: -webkit-box;
31
+ display: -ms-flexbox;
32
+ display: flex;
33
+ -ms-flex-wrap: nowrap;
34
+ flex-wrap: nowrap;
35
+ -webkit-box-align: start;
36
+ -ms-flex-align: start;
37
+ align-items: flex-start;
31
38
  padding: 12px 16px;
32
39
  color: #333;
33
40
  line-height: 1.5715;
@@ -35,15 +42,6 @@
35
42
  -webkit-transition: all 0.3s, visibility 0s;
36
43
  transition: all 0.3s, visibility 0s;
37
44
  }
38
- .ant-collapse > .ant-collapse-item > .ant-collapse-header::before {
39
- display: table;
40
- content: '';
41
- }
42
- .ant-collapse > .ant-collapse-item > .ant-collapse-header::after {
43
- display: table;
44
- clear: both;
45
- content: '';
46
- }
47
45
  .ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
48
46
  display: inline-block;
49
47
  margin-right: 12px;
@@ -57,7 +55,7 @@
57
55
  transition: transform 0.24s, -webkit-transform 0.24s;
58
56
  }
59
57
  .ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-extra {
60
- float: right;
58
+ margin-left: auto;
61
59
  }
62
60
  .ant-collapse > .ant-collapse-item > .ant-collapse-header:focus {
63
61
  outline: none;
@@ -72,6 +70,7 @@
72
70
  padding-left: 12px;
73
71
  }
74
72
  .ant-collapse-icon-position-right > .ant-collapse-item > .ant-collapse-header {
73
+ position: relative;
75
74
  padding: 12px 16px;
76
75
  padding-right: 40px;
77
76
  }
@@ -143,12 +142,17 @@
143
142
  padding: 12px 16px;
144
143
  padding-right: 40px;
145
144
  }
145
+ .ant-collapse-rtl.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
146
+ margin-right: 0;
147
+ margin-left: 12px;
148
+ }
146
149
  .ant-collapse-rtl.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow svg {
147
150
  -webkit-transform: rotate(180deg);
148
151
  transform: rotate(180deg);
149
152
  }
150
153
  .ant-collapse-rtl.ant-collapse > .ant-collapse-item > .ant-collapse-header .ant-collapse-extra {
151
- float: left;
154
+ margin-right: auto;
155
+ margin-left: 0;
152
156
  }
153
157
  .ant-collapse-rtl.ant-collapse > .ant-collapse-item.ant-collapse-no-arrow > .ant-collapse-header {
154
158
  padding-right: 12px;
@@ -29,13 +29,13 @@
29
29
  transition: transform 0.2s linear, -webkit-transform 0.2s linear;
30
30
  }
31
31
  .pandora-sdk-collapsible-panel > .panel-header.disabled-header {
32
- cursor: not-allowed !important;
32
+ cursor: not-allowed;
33
33
  }
34
34
  .pandora-sdk-collapsible-panel > .panel-content-box {
35
35
  overflow-y: hidden;
36
- padding: 0 !important;
37
- margin: 0 !important;
38
- border: none !important;
36
+ padding: 0;
37
+ margin: 0;
38
+ border: none;
39
39
  }
40
40
  .pandora-sdk-collapsible-panel > .panel-content-box > div > .panel-content {
41
41
  padding: 8px 16px;
@@ -22,14 +22,14 @@
22
22
  }
23
23
 
24
24
  &.disabled-header {
25
- cursor: not-allowed !important;
25
+ cursor: not-allowed;
26
26
  }
27
27
  }
28
28
  & > .panel-content-box {
29
29
  overflow-y: hidden;
30
- padding: 0 !important;
31
- margin: 0 !important;
32
- border: none !important;
30
+ padding: 0;
31
+ margin: 0;
32
+ border: none;
33
33
  & > div > .panel-content {
34
34
  padding: 8px 16px;
35
35
  color: @text-color;