@jetlinks-web/components 2.0.30 → 2.0.31

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 (40) hide show
  1. package/es/CardSelect/style/index.css +24 -0
  2. package/es/CardSelect/style/index.less +1 -1
  3. package/es/Ellipsis/style/index.css +17 -0
  4. package/es/Ellipsis/style/index.less +20 -0
  5. package/es/FullPage/FullPage.js +1 -1
  6. package/es/ProLayout/Basic/BasicLayout.less +66 -0
  7. package/es/ProLayout/Basic/Header.less +8 -0
  8. package/es/ProLayout/PageContainer/index.less +103 -0
  9. package/es/ProLayout/SiderMenu/index.less +231 -0
  10. package/es/ProLayout/TopHeader/index.less +174 -0
  11. package/es/ProLayout/style/default.less +4 -0
  12. package/es/ProLayout/style/style.less +7 -0
  13. package/es/ProTable/style/index.css +69 -0
  14. package/es/ProTable/style/index.less +92 -0
  15. package/es/Search/Advanced/SaveHistory.js +1 -1
  16. package/es/Search/Item.js +1 -1
  17. package/es/Search/Search.js +1 -1
  18. package/es/Search/style/Item.less +33 -0
  19. package/es/Search/style/Search.less +179 -0
  20. package/lib/CardSelect/style/index.css +24 -0
  21. package/lib/CardSelect/style/index.less +1 -1
  22. package/lib/Ellipsis/style/index.css +17 -0
  23. package/lib/Ellipsis/style/index.less +20 -0
  24. package/lib/FullPage/FullPage.js +1 -1
  25. package/lib/ProLayout/Basic/BasicLayout.less +66 -0
  26. package/lib/ProLayout/Basic/Header.less +8 -0
  27. package/lib/ProLayout/PageContainer/index.less +103 -0
  28. package/lib/ProLayout/SiderMenu/index.less +231 -0
  29. package/lib/ProLayout/TopHeader/index.less +174 -0
  30. package/lib/ProLayout/style/default.less +4 -0
  31. package/lib/ProLayout/style/style.less +7 -0
  32. package/lib/ProTable/style/index.css +69 -0
  33. package/lib/ProTable/style/index.less +92 -0
  34. package/lib/Search/Advanced/SaveHistory.js +1 -1
  35. package/lib/Search/Item.js +1 -1
  36. package/lib/Search/Search.js +1 -1
  37. package/lib/Search/style/Item.less +33 -0
  38. package/lib/Search/style/Search.less +179 -0
  39. package/lib/style/components.less +4 -0
  40. package/package.json +3 -3
@@ -0,0 +1,179 @@
1
+ @import '../../style/variable.less';
2
+ .JSearch-warp {
3
+ padding: 24px;
4
+ background-color: #fff;
5
+ margin-bottom: 24px;
6
+
7
+ .pack-up {
8
+ .JSearch-items {
9
+ flex: 1 1 auto;
10
+
11
+ .left {
12
+ min-width: 380px;
13
+ max-width: 580px;
14
+ }
15
+ }
16
+ }
17
+
18
+ &.senior {
19
+ > .JSearch-content {
20
+ display: flex;
21
+ .JSearch-footer {
22
+ display: flex;
23
+ gap: 64px;
24
+ position: relative;
25
+
26
+ .more-btn {
27
+ .more-text {
28
+ padding-right: 24px;
29
+ }
30
+ .more-icon {
31
+ transition: transform 0.3s;
32
+ transform: rotateZ(90deg);
33
+ font-size: 14px;
34
+
35
+ &.more-up {
36
+ transform: rotateZ(-90deg);
37
+ }
38
+ }
39
+ }
40
+
41
+ &.expand {
42
+ margin-top: 16px;
43
+ width: 100%;
44
+ justify-content: space-between;
45
+ }
46
+
47
+ .JSearch-footer--btns {
48
+ display: flex;
49
+ gap: 12px;
50
+ }
51
+ }
52
+
53
+ .items-expand {
54
+ display: flex;
55
+ gap: 16px;
56
+
57
+ .left,
58
+ & .right {
59
+ min-width: 0;
60
+ flex: 1 1 0;
61
+ }
62
+
63
+ .left-items,
64
+ & .right-items {
65
+ display: flex;
66
+ gap: 16px;
67
+ flex-direction: column;
68
+ }
69
+
70
+ .center {
71
+ display: flex;
72
+ flex-direction: column;
73
+ justify-content: center;
74
+ }
75
+
76
+ &.vertical {
77
+ flex-direction: column;
78
+ .center {
79
+ flex-direction: row;
80
+ justify-content: center;
81
+ }
82
+ }
83
+ }
84
+
85
+ &.senior-expand {
86
+ flex-direction: column;
87
+ }
88
+
89
+ &.small {
90
+ gap: 12px;
91
+ .JSearch-footer {
92
+ gap: 4px;
93
+ }
94
+ }
95
+ }
96
+ }
97
+
98
+ .JSearch-content {
99
+ &.simple {
100
+ .JSearch-footer--btns {
101
+ display: flex;
102
+ gap: 12px;
103
+ }
104
+
105
+ .JSearch-item {
106
+ gap: 8px;
107
+
108
+ .JSearch-item--label {
109
+ text-align: right;
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+ .no-radius {
116
+ border-radius: 0;
117
+ border-color: #f1f1f1;
118
+ }
119
+
120
+ .search-history-warp {
121
+ position: relative;
122
+
123
+ .search-history-button {
124
+ padding-right: 32px;
125
+ }
126
+
127
+ .search-history-button-icon {
128
+ position: absolute;
129
+ width: 24px;
130
+ height: 18px;
131
+ right: 6px;
132
+ top: 8px;
133
+ color: #fff;
134
+ line-height: 18px;
135
+ text-align: center;
136
+ font-weight: bold;
137
+ > span {
138
+ font-size: 14px;
139
+ }
140
+ }
141
+ }
142
+ }
143
+
144
+ .search-history-empty {
145
+ padding: 12px 12px 6px 12px;
146
+ background-color: #fff;
147
+ }
148
+
149
+ .search-history-items {
150
+ width: 120px;
151
+ max-height: 300px;
152
+ overflow-y: auto;
153
+ .search-history-item {
154
+ display: flex;
155
+ padding: 4px 0px 4px 4px;
156
+ align-items: center;
157
+ gap: 4px;
158
+
159
+ &:hover {
160
+ background-color: #f1f1f1;
161
+ }
162
+
163
+ .history-item--title {
164
+ width: calc(100% - 30px);
165
+ cursor: pointer;
166
+ }
167
+
168
+ .delete {
169
+ padding: 0 6px;
170
+ flex: 0 0 28px;
171
+ }
172
+ }
173
+ }
174
+
175
+ .search-history-list-pop {
176
+ .ant-popover-inner-content {
177
+ padding: 0;
178
+ }
179
+ }
@@ -0,0 +1,4 @@
1
+ @import "../CardSelect/style/index-pure.less";
2
+ @import "../CheckButton/style/index-pure.less";
3
+ @import "../Ellipsis/style/index-pure.less";
4
+ @import "../ProTable/style/index-pure.less";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetlinks-web/components",
3
- "version": "2.0.30",
3
+ "version": "2.0.31",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -134,9 +134,9 @@
134
134
  "webpack-dev-server": "^4.0.0",
135
135
  "webpack-merge": "^5.0.0",
136
136
  "webpackbar": "^5.0.2",
137
+ "@jetlinks-web/hooks": "^1.0.13",
137
138
  "@jetlinks-web/constants": "^1.0.2",
138
- "@jetlinks-web/utils": "^1.0.7",
139
- "@jetlinks-web/hooks": "^1.0.13"
139
+ "@jetlinks-web/utils": "^1.0.7"
140
140
  },
141
141
  "publishConfig": {
142
142
  "registry": "https://registry.npmjs.org/",