@qn-pandora/pandora-component 4.3.4 → 4.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (120) hide show
  1. package/CHANGELOG.json +20 -0
  2. package/CHANGELOG.md +8 -1
  3. package/README.md +36 -36
  4. package/es/components/AutoComplete/style.less +8 -8
  5. package/es/components/Breadcrumb/style.less +9 -9
  6. package/es/components/Button/style.less +51 -51
  7. package/es/components/Card/RowExtra/style.less +8 -8
  8. package/es/components/Card/SearchInput/style.less +8 -8
  9. package/es/components/Card/style.less +11 -11
  10. package/es/components/CheckTransformList/style.less +35 -35
  11. package/es/components/Checkbox/style.less +5 -5
  12. package/es/components/CheckboxList/style.less +11 -11
  13. package/es/components/Collapse/style.less +58 -58
  14. package/es/components/CollapsiblePanel/style.less +63 -63
  15. package/es/components/DateTimePicker/Base/style.less +160 -160
  16. package/es/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  17. package/es/components/DateTimePicker/BaseMobile/style.less +32 -32
  18. package/es/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  19. package/es/components/DateTimePicker/DisplayInput/style.less +9 -9
  20. package/es/components/DateTimePicker/constants.d.ts +2 -2
  21. package/es/components/DateTimePicker/style.less +19 -19
  22. package/es/components/Descriptions/style.less +16 -16
  23. package/es/components/Drawer/CloseIcon/style.less +8 -8
  24. package/es/components/Drawer/style.less +61 -61
  25. package/es/components/FileResumable/style.less +94 -94
  26. package/es/components/Input/style.less +12 -12
  27. package/es/components/KeyValuePair/style.less +25 -25
  28. package/es/components/Menu/style.less +18 -18
  29. package/es/components/Modal/style.less +30 -30
  30. package/es/components/NameExplainTooltip/style.less +10 -10
  31. package/es/components/NameLimiter/style.less +19 -19
  32. package/es/components/OptionList/InlineOptionList/style.less +16 -16
  33. package/es/components/OptionList/OptionItem/style.less +25 -25
  34. package/es/components/OptionList/PopoverOptionList/style.less +30 -30
  35. package/es/components/OptionList/style.less +3 -3
  36. package/es/components/RadioGroup/style.less +41 -41
  37. package/es/components/RangeInput/style.less +37 -37
  38. package/es/components/RemarkName/style.less +2 -2
  39. package/es/components/Selector/style.less +99 -99
  40. package/es/components/Spin/style.less +26 -26
  41. package/es/components/Steps/ControlButton/style.less +5 -5
  42. package/es/components/Steps/style.less +48 -48
  43. package/es/components/Table/ColumnSetting/index.js +5 -1
  44. package/es/components/Table/ColumnSetting/style.less +46 -46
  45. package/es/components/Table/ColumnTag/style.less +40 -40
  46. package/es/components/Table/style.css +21 -0
  47. package/es/components/Table/style.less +344 -321
  48. package/es/components/Tabs/style.less +33 -33
  49. package/es/components/TagList/Tag/style.less +72 -72
  50. package/es/components/TagList/TagSwitch/style.less +28 -28
  51. package/es/components/TagList/style.less +28 -28
  52. package/es/components/Timeline/TimelineItem/style.less +49 -49
  53. package/es/components/Timeline/style.less +23 -23
  54. package/es/components/Transfer/List/style.less +19 -19
  55. package/es/components/Transfer/ListBody/style.less +18 -18
  56. package/es/components/Transfer/style.less +14 -14
  57. package/es/components/TreeSelector/style.less +56 -56
  58. package/es/index.css +2263 -2242
  59. package/es/index.less +53 -53
  60. package/es/style/mixin.less +45 -45
  61. package/es/style/theme.less +414 -412
  62. package/lib/components/AutoComplete/style.less +8 -8
  63. package/lib/components/Breadcrumb/style.less +9 -9
  64. package/lib/components/Button/style.less +51 -51
  65. package/lib/components/Card/RowExtra/style.less +8 -8
  66. package/lib/components/Card/SearchInput/style.less +8 -8
  67. package/lib/components/Card/style.less +11 -11
  68. package/lib/components/CheckTransformList/style.less +35 -35
  69. package/lib/components/Checkbox/style.less +5 -5
  70. package/lib/components/CheckboxList/style.less +11 -11
  71. package/lib/components/Collapse/style.less +58 -58
  72. package/lib/components/CollapsiblePanel/style.less +63 -63
  73. package/lib/components/DateTimePicker/Base/style.less +160 -160
  74. package/lib/components/DateTimePicker/BaseMobile/Absolute/style.less +35 -35
  75. package/lib/components/DateTimePicker/BaseMobile/style.less +32 -32
  76. package/lib/components/DateTimePicker/Collapse/Panel/style.less +26 -26
  77. package/lib/components/DateTimePicker/DisplayInput/style.less +9 -9
  78. package/lib/components/DateTimePicker/constants.d.ts +2 -2
  79. package/lib/components/DateTimePicker/style.less +19 -19
  80. package/lib/components/Descriptions/style.less +16 -16
  81. package/lib/components/Drawer/CloseIcon/style.less +8 -8
  82. package/lib/components/Drawer/style.less +61 -61
  83. package/lib/components/FileResumable/style.less +94 -94
  84. package/lib/components/Input/style.less +12 -12
  85. package/lib/components/KeyValuePair/style.less +25 -25
  86. package/lib/components/Menu/style.less +18 -18
  87. package/lib/components/Modal/style.less +30 -30
  88. package/lib/components/NameExplainTooltip/style.less +10 -10
  89. package/lib/components/NameLimiter/style.less +19 -19
  90. package/lib/components/OptionList/InlineOptionList/style.less +16 -16
  91. package/lib/components/OptionList/OptionItem/style.less +25 -25
  92. package/lib/components/OptionList/PopoverOptionList/style.less +30 -30
  93. package/lib/components/OptionList/style.less +3 -3
  94. package/lib/components/RadioGroup/style.less +41 -41
  95. package/lib/components/RangeInput/style.less +37 -37
  96. package/lib/components/RemarkName/style.less +2 -2
  97. package/lib/components/Selector/style.less +99 -99
  98. package/lib/components/Spin/style.less +26 -26
  99. package/lib/components/Steps/ControlButton/style.less +5 -5
  100. package/lib/components/Steps/style.less +48 -48
  101. package/lib/components/Table/ColumnSetting/index.js +5 -1
  102. package/lib/components/Table/ColumnSetting/style.less +46 -46
  103. package/lib/components/Table/ColumnTag/style.less +40 -40
  104. package/lib/components/Table/style.css +21 -0
  105. package/lib/components/Table/style.less +344 -321
  106. package/lib/components/Tabs/style.less +33 -33
  107. package/lib/components/TagList/Tag/style.less +72 -72
  108. package/lib/components/TagList/TagSwitch/style.less +28 -28
  109. package/lib/components/TagList/style.less +28 -28
  110. package/lib/components/Timeline/TimelineItem/style.less +49 -49
  111. package/lib/components/Timeline/style.less +23 -23
  112. package/lib/components/Transfer/List/style.less +19 -19
  113. package/lib/components/Transfer/ListBody/style.less +18 -18
  114. package/lib/components/Transfer/style.less +14 -14
  115. package/lib/components/TreeSelector/style.less +56 -56
  116. package/lib/index.css +212 -191
  117. package/lib/index.less +53 -53
  118. package/lib/style/mixin.less +45 -45
  119. package/lib/style/theme.less +414 -412
  120. package/package.json +83 -83
package/CHANGELOG.json CHANGED
@@ -1,6 +1,26 @@
1
1
  {
2
2
  "name": "@qn-pandora/pandora-component",
3
3
  "entries": [
4
+ {
5
+ "version": "4.3.5",
6
+ "tag": "@qn-pandora/pandora-component_v4.3.5",
7
+ "date": "Thu, 28 Dec 2023 06:39:32 GMT",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "2023-12-28发包"
12
+ }
13
+ ],
14
+ "dependency": [
15
+ {
16
+ "comment": "Updating dependency \"@qn-pandora/pandora-component-icons\" from `^3.3.2` to `^3.3.3`"
17
+ },
18
+ {
19
+ "comment": "Updating dependency \"@qn-pandora/app-sdk\" from `^3.3.4` to `^3.3.5`"
20
+ }
21
+ ]
22
+ }
23
+ },
4
24
  {
5
25
  "version": "4.3.4",
6
26
  "tag": "@qn-pandora/pandora-component_v4.3.4",
package/CHANGELOG.md CHANGED
@@ -1,6 +1,13 @@
1
1
  # Change Log - @qn-pandora/pandora-component
2
2
 
3
- This log was last generated on Mon, 18 Dec 2023 11:54:46 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 28 Dec 2023 06:39:32 GMT and should not be manually modified.
4
+
5
+ ## 4.3.5
6
+ Thu, 28 Dec 2023 06:39:32 GMT
7
+
8
+ ### Patches
9
+
10
+ - 2023-12-28发包
4
11
 
5
12
  ## 4.3.4
6
13
  Mon, 18 Dec 2023 11:54:46 GMT
package/README.md CHANGED
@@ -1,36 +1,36 @@
1
- # `@qn-pandora/pandora-component`
2
-
3
- Pandora 基础组件库,详细文档请参考:[https://docs-pandora.qiniu.com/lib/pandora-component/index.html](https://docs-pandora.qiniu.com/lib/pandora-component/index.html)
4
-
5
- ## Install
6
-
7
- ```bash
8
- # run in terminal
9
- yarn add @qn-pandora/pandora-component
10
- # or
11
- npm install @qn-pandora/pandora-component
12
- ```
13
-
14
- ## Usage
15
-
16
- ```typescript
17
- import { Button } from '@qn-pandora/pandora-component'
18
-
19
- const App = () => (
20
- <>
21
- <Button type="primary">Hello Pandora</Button>
22
- </>
23
- )
24
- ```
25
-
26
- And import style manually:
27
-
28
- ```typescript
29
- import '@qn-pandora/pandora-component/lib/index.css'
30
- // or
31
- import '@qn-pandora/pandora-component/lib/index.less'
32
- ```
33
-
34
- ## Support Components & Docs
35
-
36
- view the [documentation](https://docs-pandora.qiniu.com/lib/pandora-component)
1
+ # `@qn-pandora/pandora-component`
2
+
3
+ Pandora 基础组件库,详细文档请参考:[https://docs-pandora.qiniu.com/lib/pandora-component/index.html](https://docs-pandora.qiniu.com/lib/pandora-component/index.html)
4
+
5
+ ## Install
6
+
7
+ ```bash
8
+ # run in terminal
9
+ yarn add @qn-pandora/pandora-component
10
+ # or
11
+ npm install @qn-pandora/pandora-component
12
+ ```
13
+
14
+ ## Usage
15
+
16
+ ```typescript
17
+ import { Button } from '@qn-pandora/pandora-component'
18
+
19
+ const App = () => (
20
+ <>
21
+ <Button type="primary">Hello Pandora</Button>
22
+ </>
23
+ )
24
+ ```
25
+
26
+ And import style manually:
27
+
28
+ ```typescript
29
+ import '@qn-pandora/pandora-component/lib/index.css'
30
+ // or
31
+ import '@qn-pandora/pandora-component/lib/index.less'
32
+ ```
33
+
34
+ ## Support Components & Docs
35
+
36
+ view the [documentation](https://docs-pandora.qiniu.com/lib/pandora-component)
@@ -1,8 +1,8 @@
1
- @import 'antd/lib/auto-complete/style/index.less';
2
- @import '../../style/theme.less';
3
- @import '../Selector/style.less';
4
- .@{sdk-prefix}-auto-complete {
5
- .@{ant-prefix}-input {
6
- border: 0px;
7
- }
8
- }
1
+ @import 'antd/lib/auto-complete/style/index.less';
2
+ @import '../../style/theme.less';
3
+ @import '../Selector/style.less';
4
+ .@{sdk-prefix}-auto-complete {
5
+ .@{ant-prefix}-input {
6
+ border: 0px;
7
+ }
8
+ }
@@ -1,9 +1,9 @@
1
- @import 'antd/lib/breadcrumb/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-breadcrumb {
5
- font-size: 14px;
6
- a {
7
- text-decoration: none;
8
- }
9
- }
1
+ @import 'antd/lib/breadcrumb/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-breadcrumb {
5
+ font-size: 14px;
6
+ a {
7
+ text-decoration: none;
8
+ }
9
+ }
@@ -1,51 +1,51 @@
1
- @import 'antd/lib/button/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-button {
5
- box-shadow: none;
6
-
7
- &.@{sdk-prefix}-button-disabled {
8
- background: @button-disabled-bg;
9
- color: @button-disabled-color;
10
- border-color: @button-disabled-border-color;
11
- pointer-events: none;
12
- text-shadow: none;
13
- }
14
-
15
- // type
16
- &.@{sdk-prefix}-type-default {
17
- background: @button-default-bg;
18
- color: @button-default-color;
19
- border: 1px solid @button-default-border-color;
20
- &:hover,
21
- &:focus {
22
- background: @button-default-hover-bg;
23
- border-color: @button-default-hover-border-color;
24
- }
25
- }
26
-
27
- // size
28
- &.@{sdk-prefix}-size-large {
29
- font-size: 16px;
30
- padding: 0 20px;
31
- height: 32px;
32
- }
33
- &.@{sdk-prefix}-size-default {
34
- font-size: 14px;
35
- padding: 0 16px;
36
- height: 32px;
37
- }
38
- &.@{sdk-prefix}-size-small {
39
- font-size: 12px;
40
- padding: 4px 14px;
41
- }
42
- &.@{sdk-prefix}-size-mini {
43
- font-size: 10px;
44
- padding: 2px 6px;
45
- }
46
-
47
- .anticon {
48
- color: inherit;
49
- vertical-align: middle;
50
- }
51
- }
1
+ @import 'antd/lib/button/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-button {
5
+ box-shadow: none;
6
+
7
+ &.@{sdk-prefix}-button-disabled {
8
+ background: @button-disabled-bg;
9
+ color: @button-disabled-color;
10
+ border-color: @button-disabled-border-color;
11
+ pointer-events: none;
12
+ text-shadow: none;
13
+ }
14
+
15
+ // type
16
+ &.@{sdk-prefix}-type-default {
17
+ background: @button-default-bg;
18
+ color: @button-default-color;
19
+ border: 1px solid @button-default-border-color;
20
+ &:hover,
21
+ &:focus {
22
+ background: @button-default-hover-bg;
23
+ border-color: @button-default-hover-border-color;
24
+ }
25
+ }
26
+
27
+ // size
28
+ &.@{sdk-prefix}-size-large {
29
+ font-size: 16px;
30
+ padding: 0 20px;
31
+ height: 32px;
32
+ }
33
+ &.@{sdk-prefix}-size-default {
34
+ font-size: 14px;
35
+ padding: 0 16px;
36
+ height: 32px;
37
+ }
38
+ &.@{sdk-prefix}-size-small {
39
+ font-size: 12px;
40
+ padding: 4px 14px;
41
+ }
42
+ &.@{sdk-prefix}-size-mini {
43
+ font-size: 10px;
44
+ padding: 2px 6px;
45
+ }
46
+
47
+ .anticon {
48
+ color: inherit;
49
+ vertical-align: middle;
50
+ }
51
+ }
@@ -1,8 +1,8 @@
1
- @import 'antd/lib/grid/style/index.less';
2
- @import '../../../style/theme.less';
3
-
4
- .@{sdk-prefix}-card-row-extra {
5
- button {
6
- min-width: 80px;
7
- }
8
- }
1
+ @import 'antd/lib/grid/style/index.less';
2
+ @import '../../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-card-row-extra {
5
+ button {
6
+ min-width: 80px;
7
+ }
8
+ }
@@ -1,8 +1,8 @@
1
- @import '../../../style/theme.less';
2
-
3
- .@{sdk-prefix}-card-search-input {
4
- min-width: 200px;
5
- i {
6
- color: @input-placeholder-color;
7
- }
8
- }
1
+ @import '../../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-card-search-input {
4
+ min-width: 200px;
5
+ i {
6
+ color: @input-placeholder-color;
7
+ }
8
+ }
@@ -1,11 +1,11 @@
1
- @import 'antd/lib/card/style/index.less';
2
- @import 'antd/lib/tabs/style/index.less';
3
- @import '../../style/theme.less';
4
-
5
- .@{sdk-prefix}-card {
6
- .@{ant-prefix}-card-head {
7
- .@{ant-prefix}-card-extra {
8
- padding: 0;
9
- }
10
- }
11
- }
1
+ @import 'antd/lib/card/style/index.less';
2
+ @import 'antd/lib/tabs/style/index.less';
3
+ @import '../../style/theme.less';
4
+
5
+ .@{sdk-prefix}-card {
6
+ .@{ant-prefix}-card-head {
7
+ .@{ant-prefix}-card-extra {
8
+ padding: 0;
9
+ }
10
+ }
11
+ }
@@ -1,35 +1,35 @@
1
- @import 'antd/lib/divider/style/index.less';
2
- @import 'antd/lib/checkbox/style/index.less';
3
- @import 'antd/lib/input/style/index.less';
4
- @import '../NameLimiter/style.less';
5
- @import '../../style/theme.less';
6
-
7
- .@{sdk-prefix}-check-transform-list {
8
- display: flex;
9
- margin-top: 20px;
10
- padding-left: 5px;
11
- padding-right: 5px;
12
- .@{sdk-prefix}-check-transform-divider {
13
- height: auto;
14
- margin-left: 40px;
15
- margin-right: 40px;
16
- }
17
- }
18
- .@{sdk-prefix}-check-transform {
19
- flex: 1;
20
- .@{sdk-prefix}-check-transform-header {
21
- margin-bottom: 10px;
22
- }
23
- .@{sdk-prefix}-check-transform-search {
24
- width: 100%;
25
- height: 40px;
26
- margin-bottom: 10px;
27
- }
28
- .@{sdk-prefix}-check-transform-checkBox {
29
- line-height: 40px;
30
-
31
- .@{sdk-prefix}-check-transform-checkbox-group {
32
- line-height: 40px;
33
- }
34
- }
35
- }
1
+ @import 'antd/lib/divider/style/index.less';
2
+ @import 'antd/lib/checkbox/style/index.less';
3
+ @import 'antd/lib/input/style/index.less';
4
+ @import '../NameLimiter/style.less';
5
+ @import '../../style/theme.less';
6
+
7
+ .@{sdk-prefix}-check-transform-list {
8
+ display: flex;
9
+ margin-top: 20px;
10
+ padding-left: 5px;
11
+ padding-right: 5px;
12
+ .@{sdk-prefix}-check-transform-divider {
13
+ height: auto;
14
+ margin-left: 40px;
15
+ margin-right: 40px;
16
+ }
17
+ }
18
+ .@{sdk-prefix}-check-transform {
19
+ flex: 1;
20
+ .@{sdk-prefix}-check-transform-header {
21
+ margin-bottom: 10px;
22
+ }
23
+ .@{sdk-prefix}-check-transform-search {
24
+ width: 100%;
25
+ height: 40px;
26
+ margin-bottom: 10px;
27
+ }
28
+ .@{sdk-prefix}-check-transform-checkBox {
29
+ line-height: 40px;
30
+
31
+ .@{sdk-prefix}-check-transform-checkbox-group {
32
+ line-height: 40px;
33
+ }
34
+ }
35
+ }
@@ -1,5 +1,5 @@
1
- @import 'antd/lib/checkbox/style/index.less';
2
-
3
- .@{ant-prefix}-checkbox-inner::after {
4
- left: 20%;
5
- }
1
+ @import 'antd/lib/checkbox/style/index.less';
2
+
3
+ .@{ant-prefix}-checkbox-inner::after {
4
+ left: 20%;
5
+ }
@@ -1,11 +1,11 @@
1
- @import 'antd/lib/checkbox/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-checkbox-item {
5
- white-space: nowrap;
6
- width: 100%;
7
- &.@{ant-prefix}-checkbox-wrapper {
8
- margin-left: 0;
9
- line-height: 25px;
10
- }
11
- }
1
+ @import 'antd/lib/checkbox/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-checkbox-item {
5
+ white-space: nowrap;
6
+ width: 100%;
7
+ &.@{ant-prefix}-checkbox-wrapper {
8
+ margin-left: 0;
9
+ line-height: 25px;
10
+ }
11
+ }
@@ -1,58 +1,58 @@
1
- @import 'antd/lib/collapse/style/index.less';
2
- @import '../../style/theme.less';
3
-
4
- .@{sdk-prefix}-collapse-simple {
5
- border-width: 0px;
6
- color: @heading-color;
7
- }
8
-
9
- .@{sdk-prefix}-collapse-simple > .@{ant-prefix}-collapse-item {
10
- > .@{ant-prefix}-collapse-header {
11
- background-color: @normal-color;
12
- > .@{ant-prefix}-collapse-arrow {
13
- color: @heading-color;
14
- }
15
- }
16
- > .@{ant-prefix}-collapse-content {
17
- color: heading-color;
18
- border-top-width: 0px;
19
- }
20
- }
21
-
22
- .@{sdk-prefix}-collapse-primary,
23
- .@{sdk-prefix}-collapse-dashed {
24
- border: none;
25
- }
26
-
27
- .@{sdk-prefix}-collapse-primary > .@{ant-prefix}-collapse-item {
28
- border: none;
29
- > .@{ant-prefix}-collapse-header {
30
- padding: 5px 16px;
31
- border-bottom-width: 0px;
32
- background-color: @table-thead-bg;
33
- font-weight: 500;
34
- position: relative;
35
- .@{sdk-prefix}-header-line {
36
- width: 2px;
37
- height: 16px;
38
- position: absolute;
39
- top: 8px;
40
- left: 0px;
41
- background-color: @theme-color;
42
- }
43
- }
44
- > .@{ant-prefix}-collapse-content {
45
- border: none;
46
- }
47
- }
48
-
49
- .@{sdk-prefix}-collapse-dashed > .@{ant-prefix}-collapse-item {
50
- border: 1px dashed @border-color-1;
51
- margin-bottom: 12px;
52
- > .@{ant-prefix}-collapse-header {
53
- background-color: @normal-color;
54
- }
55
- > .@{ant-prefix}-collapse-content {
56
- border: none;
57
- }
58
- }
1
+ @import 'antd/lib/collapse/style/index.less';
2
+ @import '../../style/theme.less';
3
+
4
+ .@{sdk-prefix}-collapse-simple {
5
+ border-width: 0px;
6
+ color: @heading-color;
7
+ }
8
+
9
+ .@{sdk-prefix}-collapse-simple > .@{ant-prefix}-collapse-item {
10
+ > .@{ant-prefix}-collapse-header {
11
+ background-color: @normal-color;
12
+ > .@{ant-prefix}-collapse-arrow {
13
+ color: @heading-color;
14
+ }
15
+ }
16
+ > .@{ant-prefix}-collapse-content {
17
+ color: heading-color;
18
+ border-top-width: 0px;
19
+ }
20
+ }
21
+
22
+ .@{sdk-prefix}-collapse-primary,
23
+ .@{sdk-prefix}-collapse-dashed {
24
+ border: none;
25
+ }
26
+
27
+ .@{sdk-prefix}-collapse-primary > .@{ant-prefix}-collapse-item {
28
+ border: none;
29
+ > .@{ant-prefix}-collapse-header {
30
+ padding: 5px 16px;
31
+ border-bottom-width: 0px;
32
+ background-color: @table-thead-bg;
33
+ font-weight: 500;
34
+ position: relative;
35
+ .@{sdk-prefix}-header-line {
36
+ width: 2px;
37
+ height: 16px;
38
+ position: absolute;
39
+ top: 8px;
40
+ left: 0px;
41
+ background-color: @theme-color;
42
+ }
43
+ }
44
+ > .@{ant-prefix}-collapse-content {
45
+ border: none;
46
+ }
47
+ }
48
+
49
+ .@{sdk-prefix}-collapse-dashed > .@{ant-prefix}-collapse-item {
50
+ border: 1px dashed @border-color-1;
51
+ margin-bottom: 12px;
52
+ > .@{ant-prefix}-collapse-header {
53
+ background-color: @normal-color;
54
+ }
55
+ > .@{ant-prefix}-collapse-content {
56
+ border: none;
57
+ }
58
+ }
@@ -1,63 +1,63 @@
1
- @import '../../style/theme.less';
2
-
3
- .@{sdk-prefix}-collapsible-panel {
4
- & > .panel-header {
5
- position: relative;
6
- padding: 12px 16px 12px 40px;
7
- cursor: pointer;
8
- color: @text-color;
9
- background-color: @gray-bg-color;
10
- border: 1px solid @border-color-base;
11
- > .icon {
12
- position: absolute;
13
- left: 16px;
14
- top: 50%;
15
- transform: translateY(-50%);
16
- > i {
17
- color: inherit;
18
- > svg {
19
- transition: transform 0.2s linear;
20
- }
21
- }
22
- }
23
-
24
- &.disabled-header {
25
- cursor: not-allowed;
26
- }
27
- }
28
- & > .panel-content-box {
29
- overflow-y: hidden;
30
- padding: 0;
31
- margin: 0;
32
- border: none;
33
- & > div > .panel-content {
34
- padding: 8px 16px;
35
- color: @text-color;
36
- background-color: @component-background;
37
- border: 1px solid @border-color-base;
38
- border-top: none;
39
- overflow-x: auto;
40
- }
41
- }
42
- &.no-border {
43
- & > .panel-header,
44
- & > .panel-content-box > div > .panel-content {
45
- border: none;
46
- }
47
- }
48
- &.icon-right {
49
- & > .panel-header {
50
- padding: 12px 40px 12px 16px;
51
- & > :local(.icon) {
52
- left: unset;
53
- right: 16px;
54
- }
55
- }
56
- }
57
- &.hide-arrow {
58
- & > .panel-header {
59
- padding-left: 16px;
60
- padding-right: 16px;
61
- }
62
- }
63
- }
1
+ @import '../../style/theme.less';
2
+
3
+ .@{sdk-prefix}-collapsible-panel {
4
+ & > .panel-header {
5
+ position: relative;
6
+ padding: 12px 16px 12px 40px;
7
+ cursor: pointer;
8
+ color: @text-color;
9
+ background-color: @gray-bg-color;
10
+ border: 1px solid @border-color-base;
11
+ > .icon {
12
+ position: absolute;
13
+ left: 16px;
14
+ top: 50%;
15
+ transform: translateY(-50%);
16
+ > i {
17
+ color: inherit;
18
+ > svg {
19
+ transition: transform 0.2s linear;
20
+ }
21
+ }
22
+ }
23
+
24
+ &.disabled-header {
25
+ cursor: not-allowed;
26
+ }
27
+ }
28
+ & > .panel-content-box {
29
+ overflow-y: hidden;
30
+ padding: 0;
31
+ margin: 0;
32
+ border: none;
33
+ & > div > .panel-content {
34
+ padding: 8px 16px;
35
+ color: @text-color;
36
+ background-color: @component-background;
37
+ border: 1px solid @border-color-base;
38
+ border-top: none;
39
+ overflow-x: auto;
40
+ }
41
+ }
42
+ &.no-border {
43
+ & > .panel-header,
44
+ & > .panel-content-box > div > .panel-content {
45
+ border: none;
46
+ }
47
+ }
48
+ &.icon-right {
49
+ & > .panel-header {
50
+ padding: 12px 40px 12px 16px;
51
+ & > :local(.icon) {
52
+ left: unset;
53
+ right: 16px;
54
+ }
55
+ }
56
+ }
57
+ &.hide-arrow {
58
+ & > .panel-header {
59
+ padding-left: 16px;
60
+ padding-right: 16px;
61
+ }
62
+ }
63
+ }