@steedos-widgets/amis-object 1.0.0-beta.31 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,6 +39,175 @@
39
39
  --Nav-item-onActive-color: #000;
40
40
  }
41
41
 
42
+ fieldset.antd-Collapse {
43
+ margin-bottom: 1rem;
44
+ }
45
+
46
+ fieldset.antd-Collapse > legend.antd-Collapse-header {
47
+ border-left: 0;
48
+ background: rgb(241 245 249);
49
+ padding: 0.5rem;
50
+ margin: 0;
51
+ border-radius: 0.25rem;
52
+ }
53
+
54
+ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:before {
55
+ border-color: initial
56
+ }
57
+
58
+
59
+ main {
60
+ background: var(--body-bg);
61
+ }
62
+
63
+
64
+ .ant-modal-root .amis-scope .antd-Panel-footerWrap{
65
+ position: sticky;
66
+ width: 100%;
67
+ bottom: 0px;
68
+ background: #ffffff
69
+ }
70
+
71
+ .amis-scope .antd-Select-option > label {
72
+ display: block;
73
+ min-width: 100px;
74
+ }
75
+
76
+ /* .steedos-related-listview.amis-scope .antd-Table-headToolbar{
77
+ display: none;
78
+ } */
79
+
80
+ /* .steedos-listview.amis-scope .antd-Table-headToolbar{
81
+ display: none;
82
+ } */
83
+
84
+ .antd-Crud-toolbar{
85
+ margin-left: 1rem;
86
+ margin-right: 1rem;
87
+ }
88
+
89
+ #__next .antd-Panel {
90
+ box-shadow: none;
91
+ }
92
+
93
+ .is-inline .antd-Combo-items{
94
+ justify-content: space-between !important;
95
+ display: flex !important;
96
+
97
+ }
98
+
99
+ .is-inline .antd-Combo-items > :not([hidden]) ~ :not([hidden]) {
100
+ --tw-space-x-reverse: 0 !important;
101
+ margin-right: calc(0.25rem * var(--tw-space-x-reverse)) !important;
102
+ margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))) !important;
103
+ }
104
+
105
+ .is-inline .antd-Combo-item{
106
+ display: inline-block !important;
107
+ flex: 1 1 0%;
108
+ margin-top: 0 !important;
109
+ }
110
+
111
+ /*Table空状态高度调整*/
112
+ .antd-Table-placeholder{
113
+ height: 20px !important;
114
+ }
115
+
116
+ .antd-Table-placeholder-empty-icon.icon{
117
+ height: 20px !important;
118
+ }
119
+
120
+ .steedos-listview .antd-List-toolbar{
121
+ display: none;
122
+ }
123
+
124
+ /* .steedos-listview .antd-Crud-toolbar:first-child{
125
+ display: none;
126
+ } */
127
+
128
+ .amis-scope .antd-Card{
129
+ border-left: none !important;
130
+ border-right: none !important;
131
+ -o-border-image: none !important;
132
+ border-image: none !important;
133
+ border-bottom: none !important;
134
+ }
135
+
136
+ .amis-scope svg.icon {
137
+ vertical-align: baseline;
138
+ display: inline;
139
+ }
140
+
141
+ button.antd-Button--primary {
142
+ color: #fff;
143
+ border-color: #1890ff;
144
+ background: #1890ff;
145
+ /* background-color: var(--Button--primary-bg); */
146
+ }
147
+
148
+ #__next .antd-Table {
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ #__next .antd-Table-tr--even {
153
+ background-color: #fcfdfe;
154
+ }
155
+
156
+ #__next .antd-Table-checkCell {
157
+ border-right: 0;
158
+ }
159
+
160
+ body {
161
+ font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
162
+ }
163
+
164
+ @media only screen and (min-width: 600px) {
165
+ body {
166
+ background: url(/images/defaultBackground.png);
167
+ background-size: contain;
168
+ background-repeat: no-repeat;
169
+ }
170
+ }
171
+
172
+ @media (max-width: 768px){
173
+ .ant-modal.antd-Modal--lg, .ant-modal.antd-Modal--xl, .ant-modal.antd-Modal--full{
174
+ top: 0px !important;
175
+ margin: 0px !important;
176
+ max-width: 100% !important;
177
+ padding-bottom: 0px !important;
178
+ height: 100%;
179
+ }
180
+ .ant-modal-content {
181
+ height: 100%;
182
+ max-height: 100%;
183
+ }
184
+ }
185
+
186
+ :focus:not(:focus-visible) {
187
+ outline: 0;
188
+ }
189
+
190
+ svg.icon {
191
+ display: inherit;
192
+ }
193
+
194
+
195
+ /* fix: https://github.com/baidu/amis/issues/5073 */
196
+ .antd-CBGroup-toolbar .antd-CBGroup-toolbarConditionAdd .antd-ButtonGroup>.antd-Button:first-child {
197
+ margin-right: 1.5rem;
198
+ }
199
+
200
+
201
+ @media only screen and (min-width: 768px) {
202
+ .amis-scope .antd-Modal-content{
203
+ max-height: calc(100vh - 100px);
204
+ }
205
+ }
206
+
207
+ .antd-Modal-body {
208
+ overflow: auto;
209
+ }
210
+
42
211
  /* @tailwind base; */
43
212
  .container {
44
213
  width: 100%
@@ -39,6 +39,175 @@
39
39
  --Nav-item-onActive-color: #000;
40
40
  }
41
41
 
42
+ fieldset.antd-Collapse {
43
+ margin-bottom: 1rem;
44
+ }
45
+
46
+ fieldset.antd-Collapse > legend.antd-Collapse-header {
47
+ border-left: 0;
48
+ background: rgb(241 245 249);
49
+ padding: 0.5rem;
50
+ margin: 0;
51
+ border-radius: 0.25rem;
52
+ }
53
+
54
+ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:before {
55
+ border-color: initial
56
+ }
57
+
58
+
59
+ main {
60
+ background: var(--body-bg);
61
+ }
62
+
63
+
64
+ .ant-modal-root .amis-scope .antd-Panel-footerWrap{
65
+ position: sticky;
66
+ width: 100%;
67
+ bottom: 0px;
68
+ background: #ffffff
69
+ }
70
+
71
+ .amis-scope .antd-Select-option > label {
72
+ display: block;
73
+ min-width: 100px;
74
+ }
75
+
76
+ /* .steedos-related-listview.amis-scope .antd-Table-headToolbar{
77
+ display: none;
78
+ } */
79
+
80
+ /* .steedos-listview.amis-scope .antd-Table-headToolbar{
81
+ display: none;
82
+ } */
83
+
84
+ .antd-Crud-toolbar{
85
+ margin-left: 1rem;
86
+ margin-right: 1rem;
87
+ }
88
+
89
+ #__next .antd-Panel {
90
+ box-shadow: none;
91
+ }
92
+
93
+ .is-inline .antd-Combo-items{
94
+ justify-content: space-between !important;
95
+ display: flex !important;
96
+
97
+ }
98
+
99
+ .is-inline .antd-Combo-items > :not([hidden]) ~ :not([hidden]) {
100
+ --tw-space-x-reverse: 0 !important;
101
+ margin-right: calc(0.25rem * var(--tw-space-x-reverse)) !important;
102
+ margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))) !important;
103
+ }
104
+
105
+ .is-inline .antd-Combo-item{
106
+ display: inline-block !important;
107
+ flex: 1 1 0%;
108
+ margin-top: 0 !important;
109
+ }
110
+
111
+ /*Table空状态高度调整*/
112
+ .antd-Table-placeholder{
113
+ height: 20px !important;
114
+ }
115
+
116
+ .antd-Table-placeholder-empty-icon.icon{
117
+ height: 20px !important;
118
+ }
119
+
120
+ .steedos-listview .antd-List-toolbar{
121
+ display: none;
122
+ }
123
+
124
+ /* .steedos-listview .antd-Crud-toolbar:first-child{
125
+ display: none;
126
+ } */
127
+
128
+ .amis-scope .antd-Card{
129
+ border-left: none !important;
130
+ border-right: none !important;
131
+ -o-border-image: none !important;
132
+ border-image: none !important;
133
+ border-bottom: none !important;
134
+ }
135
+
136
+ .amis-scope svg.icon {
137
+ vertical-align: baseline;
138
+ display: inline;
139
+ }
140
+
141
+ button.antd-Button--primary {
142
+ color: #fff;
143
+ border-color: #1890ff;
144
+ background: #1890ff;
145
+ /* background-color: var(--Button--primary-bg); */
146
+ }
147
+
148
+ #__next .antd-Table {
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ #__next .antd-Table-tr--even {
153
+ background-color: #fcfdfe;
154
+ }
155
+
156
+ #__next .antd-Table-checkCell {
157
+ border-right: 0;
158
+ }
159
+
160
+ body {
161
+ font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
162
+ }
163
+
164
+ @media only screen and (min-width: 600px) {
165
+ body {
166
+ background: url(/images/defaultBackground.png);
167
+ background-size: contain;
168
+ background-repeat: no-repeat;
169
+ }
170
+ }
171
+
172
+ @media (max-width: 768px){
173
+ .ant-modal.antd-Modal--lg, .ant-modal.antd-Modal--xl, .ant-modal.antd-Modal--full{
174
+ top: 0px !important;
175
+ margin: 0px !important;
176
+ max-width: 100% !important;
177
+ padding-bottom: 0px !important;
178
+ height: 100%;
179
+ }
180
+ .ant-modal-content {
181
+ height: 100%;
182
+ max-height: 100%;
183
+ }
184
+ }
185
+
186
+ :focus:not(:focus-visible) {
187
+ outline: 0;
188
+ }
189
+
190
+ svg.icon {
191
+ display: inherit;
192
+ }
193
+
194
+
195
+ /* fix: https://github.com/baidu/amis/issues/5073 */
196
+ .antd-CBGroup-toolbar .antd-CBGroup-toolbarConditionAdd .antd-ButtonGroup>.antd-Button:first-child {
197
+ margin-right: 1.5rem;
198
+ }
199
+
200
+
201
+ @media only screen and (min-width: 768px) {
202
+ .amis-scope .antd-Modal-content{
203
+ max-height: calc(100vh - 100px);
204
+ }
205
+ }
206
+
207
+ .antd-Modal-body {
208
+ overflow: auto;
209
+ }
210
+
42
211
  /* @tailwind base; */
43
212
  .container {
44
213
  width: 100%
@@ -39,6 +39,175 @@
39
39
  --Nav-item-onActive-color: #000;
40
40
  }
41
41
 
42
+ fieldset.antd-Collapse {
43
+ margin-bottom: 1rem;
44
+ }
45
+
46
+ fieldset.antd-Collapse > legend.antd-Collapse-header {
47
+ border-left: 0;
48
+ background: rgb(241 245 249);
49
+ padding: 0.5rem;
50
+ margin: 0;
51
+ border-radius: 0.25rem;
52
+ }
53
+
54
+ fieldset.antd-Collapse > legend.antd-Collapse-header > .antd-Collapse-arrow:before {
55
+ border-color: initial
56
+ }
57
+
58
+
59
+ main {
60
+ background: var(--body-bg);
61
+ }
62
+
63
+
64
+ .ant-modal-root .amis-scope .antd-Panel-footerWrap{
65
+ position: sticky;
66
+ width: 100%;
67
+ bottom: 0px;
68
+ background: #ffffff
69
+ }
70
+
71
+ .amis-scope .antd-Select-option > label {
72
+ display: block;
73
+ min-width: 100px;
74
+ }
75
+
76
+ /* .steedos-related-listview.amis-scope .antd-Table-headToolbar{
77
+ display: none;
78
+ } */
79
+
80
+ /* .steedos-listview.amis-scope .antd-Table-headToolbar{
81
+ display: none;
82
+ } */
83
+
84
+ .antd-Crud-toolbar{
85
+ margin-left: 1rem;
86
+ margin-right: 1rem;
87
+ }
88
+
89
+ #__next .antd-Panel {
90
+ box-shadow: none;
91
+ }
92
+
93
+ .is-inline .antd-Combo-items{
94
+ justify-content: space-between !important;
95
+ display: flex !important;
96
+
97
+ }
98
+
99
+ .is-inline .antd-Combo-items > :not([hidden]) ~ :not([hidden]) {
100
+ --tw-space-x-reverse: 0 !important;
101
+ margin-right: calc(0.25rem * var(--tw-space-x-reverse)) !important;
102
+ margin-left: calc(0.25rem * calc(1 - var(--tw-space-x-reverse))) !important;
103
+ }
104
+
105
+ .is-inline .antd-Combo-item{
106
+ display: inline-block !important;
107
+ flex: 1 1 0%;
108
+ margin-top: 0 !important;
109
+ }
110
+
111
+ /*Table空状态高度调整*/
112
+ .antd-Table-placeholder{
113
+ height: 20px !important;
114
+ }
115
+
116
+ .antd-Table-placeholder-empty-icon.icon{
117
+ height: 20px !important;
118
+ }
119
+
120
+ .steedos-listview .antd-List-toolbar{
121
+ display: none;
122
+ }
123
+
124
+ /* .steedos-listview .antd-Crud-toolbar:first-child{
125
+ display: none;
126
+ } */
127
+
128
+ .amis-scope .antd-Card{
129
+ border-left: none !important;
130
+ border-right: none !important;
131
+ -o-border-image: none !important;
132
+ border-image: none !important;
133
+ border-bottom: none !important;
134
+ }
135
+
136
+ .amis-scope svg.icon {
137
+ vertical-align: baseline;
138
+ display: inline;
139
+ }
140
+
141
+ button.antd-Button--primary {
142
+ color: #fff;
143
+ border-color: #1890ff;
144
+ background: #1890ff;
145
+ /* background-color: var(--Button--primary-bg); */
146
+ }
147
+
148
+ #__next .antd-Table {
149
+ margin-bottom: 0;
150
+ }
151
+
152
+ #__next .antd-Table-tr--even {
153
+ background-color: #fcfdfe;
154
+ }
155
+
156
+ #__next .antd-Table-checkCell {
157
+ border-right: 0;
158
+ }
159
+
160
+ body {
161
+ font-family: -apple-system,BlinkMacSystemFont,Helvetica,Arial,Microsoft Yahei,SimHei;
162
+ }
163
+
164
+ @media only screen and (min-width: 600px) {
165
+ body {
166
+ background: url(/images/defaultBackground.png);
167
+ background-size: contain;
168
+ background-repeat: no-repeat;
169
+ }
170
+ }
171
+
172
+ @media (max-width: 768px){
173
+ .ant-modal.antd-Modal--lg, .ant-modal.antd-Modal--xl, .ant-modal.antd-Modal--full{
174
+ top: 0px !important;
175
+ margin: 0px !important;
176
+ max-width: 100% !important;
177
+ padding-bottom: 0px !important;
178
+ height: 100%;
179
+ }
180
+ .ant-modal-content {
181
+ height: 100%;
182
+ max-height: 100%;
183
+ }
184
+ }
185
+
186
+ :focus:not(:focus-visible) {
187
+ outline: 0;
188
+ }
189
+
190
+ svg.icon {
191
+ display: inherit;
192
+ }
193
+
194
+
195
+ /* fix: https://github.com/baidu/amis/issues/5073 */
196
+ .antd-CBGroup-toolbar .antd-CBGroup-toolbarConditionAdd .antd-ButtonGroup>.antd-Button:first-child {
197
+ margin-right: 1.5rem;
198
+ }
199
+
200
+
201
+ @media only screen and (min-width: 768px) {
202
+ .amis-scope .antd-Modal-content{
203
+ max-height: calc(100vh - 100px);
204
+ }
205
+ }
206
+
207
+ .antd-Modal-body {
208
+ overflow: auto;
209
+ }
210
+
42
211
  /* @tailwind base; */
43
212
  .container {
44
213
  width: 100%
package/dist/assets.json CHANGED
@@ -11,8 +11,8 @@
11
11
  {
12
12
  "package": "@steedos-widgets/amis-object",
13
13
  "urls": [
14
- "https://unpkg.com/@steedos-widgets/amis-object@1.0.0-beta.31/dist/amis-object.umd.js",
15
- "https://unpkg.com/@steedos-widgets/amis-object@1.0.0-beta.31/dist/amis-object.umd.css"
14
+ "https://unpkg.com/@steedos-widgets/amis-object@1.0.1/dist/amis-object.umd.js",
15
+ "https://unpkg.com/@steedos-widgets/amis-object@1.0.1/dist/amis-object.umd.css"
16
16
  ],
17
17
  "library": "BuilderAmisObject"
18
18
  }
@@ -23,10 +23,10 @@
23
23
  "npm": {
24
24
  "package": "@steedos-widgets/amis-object"
25
25
  },
26
- "url": "https://unpkg.com/@steedos-widgets/amis-object@1.0.0-beta.31/dist/meta.js",
26
+ "url": "https://unpkg.com/@steedos-widgets/amis-object@1.0.1/dist/meta.js",
27
27
  "urls": {
28
- "default": "https://unpkg.com/@steedos-widgets/amis-object@1.0.0-beta.31/dist/meta.js",
29
- "design": "https://unpkg.com/@steedos-widgets/amis-object@1.0.0-beta.31/dist/meta.js"
28
+ "default": "https://unpkg.com/@steedos-widgets/amis-object@1.0.1/dist/meta.js",
29
+ "design": "https://unpkg.com/@steedos-widgets/amis-object@1.0.1/dist/meta.js"
30
30
  }
31
31
  }
32
32
  ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@steedos-widgets/amis-object",
3
3
  "private": false,
4
- "version": "1.0.0-beta.31",
4
+ "version": "1.0.1",
5
5
  "main": "dist/amis-object.cjs.js",
6
6
  "module": "dist/amis-object.esm.js",
7
7
  "unpkg": "dist/amis-object.umd.js",
@@ -60,10 +60,10 @@
60
60
  "uglify-js": "^3.17.0"
61
61
  },
62
62
  "dependencies": {
63
- "@steedos-widgets/amis-lib": "1.0.0-beta.31",
63
+ "@steedos-widgets/amis-lib": "1.0.1",
64
64
  "autoprefixer": "^10.4.13",
65
65
  "postcss": "^8.4.19",
66
66
  "tailwindcss": "^3.2.4"
67
67
  },
68
- "gitHead": "c265e7c0cda7e89e1c0b9b2f733b10958e6fa968"
68
+ "gitHead": "7200c0614e935ad372fc58184fabbd305cf597e2"
69
69
  }