amis 1.10.0 → 1.10.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. package/lib/components/Checkbox.js +8 -2
  2. package/lib/components/Checkbox.js.map +2 -2
  3. package/lib/components/Select.js +4 -2
  4. package/lib/components/Select.js.map +2 -2
  5. package/lib/components/formula/Picker.d.ts +0 -1
  6. package/lib/components/formula/Picker.js +8 -17
  7. package/lib/components/formula/Picker.js.map +2 -2
  8. package/lib/index.js +1 -1
  9. package/lib/renderers/Form/InputFormula.js +1 -1
  10. package/lib/renderers/Form/InputFormula.js.map +2 -2
  11. package/lib/renderers/Form/InputImage.d.ts +1 -1
  12. package/lib/renderers/Form/InputImage.js +6 -2
  13. package/lib/renderers/Form/InputImage.js.map +2 -2
  14. package/lib/themes/ang-ie11.css +30 -18
  15. package/lib/themes/ang.css +33 -19
  16. package/lib/themes/ang.css.map +1 -1
  17. package/lib/themes/antd-ie11.css +25 -13
  18. package/lib/themes/antd.css +33 -19
  19. package/lib/themes/antd.css.map +1 -1
  20. package/lib/themes/cxd-ie11.css +32 -20
  21. package/lib/themes/cxd.css +35 -21
  22. package/lib/themes/cxd.css.map +1 -1
  23. package/lib/themes/dark-ie11.css +27 -15
  24. package/lib/themes/dark.css +33 -19
  25. package/lib/themes/dark.css.map +1 -1
  26. package/lib/themes/default-ie11.css +32 -20
  27. package/lib/themes/default.css +35 -21
  28. package/lib/themes/default.css.map +1 -1
  29. package/package.json +1 -1
  30. package/scss/_properties.scss +5 -3
  31. package/scss/components/_formula.scss +2 -3
  32. package/scss/components/form/_checks.scss +26 -16
  33. package/scss/themes/_cxd-variables.scss +2 -2
  34. package/sdk/ang-ie11.css +34 -19
  35. package/sdk/ang.css +37 -20
  36. package/sdk/antd-ie11.css +29 -14
  37. package/sdk/antd.css +37 -20
  38. package/sdk/barcode.js +51 -51
  39. package/sdk/charts.js +14 -14
  40. package/sdk/codemirror.js +7 -7
  41. package/sdk/color-picker.js +65 -65
  42. package/sdk/cropperjs.js +2 -2
  43. package/sdk/cxd-ie11.css +36 -21
  44. package/sdk/cxd.css +39 -22
  45. package/sdk/dark-ie11.css +31 -16
  46. package/sdk/dark.css +37 -20
  47. package/sdk/exceljs.js +1 -1
  48. package/sdk/markdown.js +69 -69
  49. package/sdk/papaparse.js +1 -1
  50. package/sdk/renderers/Form/CityDB.js +1 -1
  51. package/sdk/rest.js +16 -16
  52. package/sdk/rich-text.js +62 -62
  53. package/sdk/sdk-ie11.css +36 -21
  54. package/sdk/sdk.css +39 -22
  55. package/sdk/sdk.js +1333 -1333
  56. package/sdk/thirds/hls.js/hls.js +1 -1
  57. package/sdk/thirds/mpegts.js/mpegts.js +1 -1
  58. package/sdk/tinymce.js +57 -57
  59. package/src/components/Checkbox.tsx +10 -3
  60. package/src/components/Select.tsx +4 -2
  61. package/src/components/formula/Picker.tsx +27 -16
  62. package/src/renderers/Form/InputFormula.tsx +1 -1
  63. package/src/renderers/Form/InputImage.tsx +7 -5
package/sdk/sdk-ie11.css CHANGED
@@ -40994,7 +40994,7 @@ readers do not read off random characters that represent icons */
40994
40994
  }
40995
40995
 
40996
40996
  .amis-scope .cxd-Checkbox--checkbox input[disabled] + i {
40997
- border-color: #ebebeb;
40997
+ border-color: #B8BABF;
40998
40998
  cursor: not-allowed;
40999
40999
  }
41000
41000
 
@@ -41060,22 +41060,18 @@ readers do not read off random characters that represent icons */
41060
41060
  }
41061
41061
 
41062
41062
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input[disabled] + i {
41063
- border-color: #ebebeb;
41064
- background: #f7f7f9;
41063
+ border-color: #e8e9eb;
41064
+ background: #F7F7F9;
41065
41065
  }
41066
41066
 
41067
41067
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input[disabled]:checked + i:before {
41068
- border-color: #ebebeb;
41068
+ border-color: #B8BABF;
41069
+ background: #F7F7F9;
41069
41070
  }
41070
41071
 
41071
41072
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input:checked[disabled] + i {
41072
- border-color: #ebebeb;
41073
- background: #f7f7f9;
41074
- }
41075
-
41076
- .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input:checked[disabled] + i:before {
41077
- background: #f7f7f9;
41078
- border-color: #d4d6d9;
41073
+ border-color: #e8e9eb;
41074
+ background: #F7F7F9;
41079
41075
  }
41080
41076
 
41081
41077
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox > i {
@@ -41112,7 +41108,7 @@ readers do not read off random characters that represent icons */
41112
41108
  }
41113
41109
 
41114
41110
  .amis-scope .cxd-Checkbox--partial.cxd-Checkbox--checkbox input[disabled] + i {
41115
- border-color: #ebebeb;
41111
+ border-color: #B8BABF;
41116
41112
  }
41117
41113
 
41118
41114
  .amis-scope .cxd-Checkbox--partial.cxd-Checkbox--checkbox input[disabled] + i:before {
@@ -41124,7 +41120,7 @@ readers do not read off random characters that represent icons */
41124
41120
  .amis-scope .cxd-Checkbox--partial.cxd-Checkbox--checkbox input:checked[disabled] + i {
41125
41121
  width: 0.5rem;
41126
41122
  height: 0.5rem;
41127
- background: #cccccc;
41123
+ background: #F7F7F9;
41128
41124
  }
41129
41125
 
41130
41126
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox {
@@ -41147,6 +41143,7 @@ readers do not read off random characters that represent icons */
41147
41143
 
41148
41144
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox:hover:not(:disabled) {
41149
41145
  color: #2468f2;
41146
+ border-color: #2468f2;
41150
41147
  }
41151
41148
 
41152
41149
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox:hover input:checked + i {
@@ -41176,12 +41173,12 @@ readers do not read off random characters that represent icons */
41176
41173
  left: 0;
41177
41174
  width: 0.5rem;
41178
41175
  height: calc(0.5rem / 2);
41179
- transform: translate(-80%, -160%) rotate(-50deg);
41176
+ transform: translate(-80%, -160%) rotate(-50deg) scale(0.8);
41180
41177
  background: transparent;
41181
41178
  }
41182
41179
 
41183
41180
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox input[disabled] + i {
41184
- border-color: #ebebeb;
41181
+ border-color: #B8BABF;
41185
41182
  background: transparent;
41186
41183
  }
41187
41184
 
@@ -41191,8 +41188,13 @@ readers do not read off random characters that represent icons */
41191
41188
 
41192
41189
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox input:checked[disabled] + i {
41193
41190
  background: transparent;
41194
- border-width: 0.5rem;
41195
- border-color: #2468f2 transparent transparent #2468f2;
41191
+ border-width: 0.4375rem;
41192
+ border-color: #e8e9eb transparent transparent #e8e9eb;
41193
+ }
41194
+
41195
+ .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox input:checked[disabled] + i:before {
41196
+ background: transparent;
41197
+ border-color: #ffffff !important;
41196
41198
  }
41197
41199
 
41198
41200
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox > i {
@@ -41227,8 +41229,22 @@ readers do not read off random characters that represent icons */
41227
41229
  color: #144bcc;
41228
41230
  }
41229
41231
 
41230
- .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox.cxd-Checkbox--full i {
41232
+ .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox {
41231
41233
  background: #f7f7f9;
41234
+ border-color: #e8e9eb;
41235
+ }
41236
+
41237
+ .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox:hover {
41238
+ border-color: #e8e9eb !important;
41239
+ }
41240
+
41241
+ .amis-scope .cxd-Checkbox--button--disabled--checked.cxd-Checkbox--checkbox {
41242
+ background: #F7F7F9;
41243
+ border-color: #e8e9eb !important;
41244
+ }
41245
+
41246
+ .amis-scope .cxd-Checkbox--button--disabled--checked.cxd-Checkbox--checkbox:hover {
41247
+ border-color: #e8e9eb !important;
41232
41248
  }
41233
41249
 
41234
41250
  .amis-scope .cxd-Checkbox--radio {
@@ -49407,9 +49423,8 @@ readers do not read off random characters that represent icons */
49407
49423
  }
49408
49424
 
49409
49425
  .amis-scope .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input {
49410
- display: inline-block;
49411
- width: 100%;
49412
- height: 100%;
49426
+ display: flex;
49427
+ align-items: center;
49413
49428
  background: none;
49414
49429
  padding: 0;
49415
49430
  border: 0;
package/sdk/sdk.css CHANGED
@@ -13633,10 +13633,12 @@ readers do not read off random characters that represent icons */
13633
13633
  --Checkbox-size: 1rem;
13634
13634
  --Checkbox-inner-size: calc(var(--Checkbox-size) / 2);
13635
13635
  --Checkbox-onHover-color: var(--info);
13636
- --Checkbox-onDisabled-bg: #e5e7eb;
13637
- --Checkbox-onDisabled-color: var(--text--muted-color);
13636
+ --Checkbox-onDisabled-bg: #f7f7f9;
13637
+ --Checkbox-onDisabled-color: #b8babf;
13638
13638
  --Checkbox-inner-onDisabled-bg: #d4d6d9;
13639
- --Checkbox-disabled-unchecked-bg: #f2f3f3;
13639
+ --Checkbox-inner-onDisabled-color: #ffffff;
13640
+ --Checkbox-disabled-unchecked-bg: #f7f7f9;
13641
+ --Checkbox-inner-disabled-checked-bg: #e8e9eb;
13640
13642
  --Checkbox-border-width: var(--Form-input-borderWidth);
13641
13643
  --Checkbox-paddingX: 0.75rem;
13642
13644
  --Checkbox-button-height: 2rem;
@@ -14864,8 +14866,8 @@ readers do not read off random characters that represent icons */
14864
14866
  --Number-handler--up-content: "";
14865
14867
  --Number-handler--up-transform: rotate(180deg);
14866
14868
  --Number-handler--down-content: "";
14867
- --Checkbox-onDisabled-color: #ebebeb;
14868
- --Checkbox-onDisabled-bg: #cccccc;
14869
+ --Checkbox-onDisabled-bg: #F7F7F9;
14870
+ --Checkbox-onDisabled-color: #B8BABF;
14869
14871
  --Checkbox-inner-size: 0.5rem;
14870
14872
  --Checkbox--full-inner-size: 0.5rem;
14871
14873
  --Checkbox--sm-size: 0.875rem;
@@ -42952,22 +42954,18 @@ readers do not read off random characters that represent icons */
42952
42954
  }
42953
42955
 
42954
42956
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input[disabled] + i {
42955
- border-color: var(--Checkbox-onDisabled-color);
42956
- background: var(--FileControl-onDisabled-bg);
42957
+ border-color: var(--Checkbox-color);
42958
+ background: var(--Checkbox-onDisabled-bg);
42957
42959
  }
42958
42960
 
42959
42961
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input[disabled]:checked + i:before {
42960
42962
  border-color: var(--Checkbox-onDisabled-color);
42963
+ background: var(--Checkbox-onDisabled-bg);
42961
42964
  }
42962
42965
 
42963
42966
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input:checked[disabled] + i {
42964
- border-color: var(--Checkbox-onDisabled-color);
42965
- background: var(--FileControl-onDisabled-bg);
42966
- }
42967
-
42968
- .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox input:checked[disabled] + i:before {
42969
- background: var(--FileControl-onDisabled-bg);
42970
- border-color: var(--Checkbox-inner-onDisabled-bg);
42967
+ border-color: var(--Checkbox-color);
42968
+ background: var(--Checkbox-onDisabled-bg);
42971
42969
  }
42972
42970
 
42973
42971
  .amis-scope .cxd-Checkbox--full.cxd-Checkbox--checkbox > i {
@@ -43039,6 +43037,7 @@ readers do not read off random characters that represent icons */
43039
43037
 
43040
43038
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox:hover:not(:disabled) {
43041
43039
  color: var(--Checkbox-onHover-color);
43040
+ border-color: var(--Checkbox-onHover-color);
43042
43041
  }
43043
43042
 
43044
43043
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox:hover input:checked + i {
@@ -43068,7 +43067,7 @@ readers do not read off random characters that represent icons */
43068
43067
  left: 0;
43069
43068
  width: var(--Checkbox--full-inner-size);
43070
43069
  height: calc(var(--Checkbox--full-inner-size) / 2);
43071
- transform: translate(-80%, -160%) rotate(-50deg);
43070
+ transform: translate(-80%, -160%) rotate(-50deg) scale(0.8);
43072
43071
  background: transparent;
43073
43072
  }
43074
43073
 
@@ -43083,8 +43082,13 @@ readers do not read off random characters that represent icons */
43083
43082
 
43084
43083
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox input:checked[disabled] + i {
43085
43084
  background: transparent;
43086
- border-width: 0.5rem;
43087
- border-color: var(--Checkbox-onHover-color) transparent transparent var(--Checkbox-onHover-color);
43085
+ border-width: 0.4375rem;
43086
+ border-color: var(--Checkbox-inner-disabled-checked-bg) transparent transparent var(--Checkbox-inner-disabled-checked-bg);
43087
+ }
43088
+
43089
+ .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox input:checked[disabled] + i:before {
43090
+ background: transparent;
43091
+ border-color: var(--Checkbox-inner-onDisabled-color) !important;
43088
43092
  }
43089
43093
 
43090
43094
  .amis-scope .cxd-Checkbox--button.cxd-Checkbox--checkbox > i {
@@ -43119,8 +43123,22 @@ readers do not read off random characters that represent icons */
43119
43123
  color: var(--Switch-checked-onHover-bgColor);
43120
43124
  }
43121
43125
 
43122
- .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox.cxd-Checkbox--full i {
43123
- background: var(--FileControl-onDisabled-bg);
43126
+ .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox {
43127
+ background: var(--Checkbox-disabled-unchecked-bg);
43128
+ border-color: var(--Checkbox-color);
43129
+ }
43130
+
43131
+ .amis-scope .cxd-Checkbox--button--disabled--unchecked.cxd-Checkbox--checkbox:hover {
43132
+ border-color: var(--Checkbox-color) !important;
43133
+ }
43134
+
43135
+ .amis-scope .cxd-Checkbox--button--disabled--checked.cxd-Checkbox--checkbox {
43136
+ background: var(--Checkbox-onDisabled-bg);
43137
+ border-color: var(--Checkbox-color) !important;
43138
+ }
43139
+
43140
+ .amis-scope .cxd-Checkbox--button--disabled--checked.cxd-Checkbox--checkbox:hover {
43141
+ border-color: var(--Checkbox-color) !important;
43124
43142
  }
43125
43143
 
43126
43144
  .amis-scope .cxd-Checkbox--radio {
@@ -51139,9 +51157,8 @@ readers do not read off random characters that represent icons */
51139
51157
  }
51140
51158
 
51141
51159
  .amis-scope .cxd-FormulaPicker.is-input-group .cxd-FormulaPicker-input {
51142
- display: inline-block;
51143
- width: 100%;
51144
- height: 100%;
51160
+ display: flex;
51161
+ align-items: center;
51145
51162
  background: none;
51146
51163
  padding: 0;
51147
51164
  border: 0;