amis 1.8.0-beta.3 → 1.8.0-beta.5
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.
- package/lib/components/AssociatedSelection.js +9 -2
- package/lib/components/AssociatedSelection.js.map +2 -2
- package/lib/components/Checkbox.d.ts +24 -23
- package/lib/components/Checkbox.js +6 -2
- package/lib/components/Checkbox.js.map +2 -2
- package/lib/components/DateRangePicker.d.ts +2 -0
- package/lib/components/DateRangePicker.js +61 -2
- package/lib/components/DateRangePicker.js.map +2 -2
- package/lib/components/Radios.d.ts +21 -21
- package/lib/components/calendar/Calendar.js +2 -14
- package/lib/components/calendar/Calendar.js.map +2 -2
- package/lib/factory.js +4 -1
- package/lib/factory.js.map +2 -2
- package/lib/index.js +1 -1
- package/lib/renderers/CRUD.d.ts +8 -0
- package/lib/renderers/CRUD.js +11 -4
- package/lib/renderers/CRUD.js.map +2 -2
- package/lib/renderers/Form/Checkbox.d.ts +5 -2
- package/lib/renderers/Form/Checkbox.js +2 -2
- package/lib/renderers/Form/Checkbox.js.map +2 -2
- package/lib/renderers/Form/Checkboxes.d.ts +5 -0
- package/lib/renderers/Form/Checkboxes.js +99 -6
- package/lib/renderers/Form/Checkboxes.js.map +2 -2
- package/lib/renderers/Form/Item.js +3 -1
- package/lib/renderers/Form/Item.js.map +2 -2
- package/lib/renderers/Form/index.d.ts +1 -0
- package/lib/renderers/Form/index.js.map +2 -2
- package/lib/renderers/Table/index.d.ts +1 -0
- package/lib/renderers/Table/index.js +3 -2
- package/lib/renderers/Table/index.js.map +2 -2
- package/lib/store/crud.d.ts +1 -0
- package/lib/store/crud.js +33 -7
- package/lib/store/crud.js.map +2 -2
- package/lib/store/formItem.js +1 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/themes/ang-ie11.css +120 -3
- package/lib/themes/ang.css +127 -2
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +120 -3
- package/lib/themes/antd.css +127 -2
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +120 -3
- package/lib/themes/cxd.css +127 -2
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +120 -3
- package/lib/themes/dark.css +127 -2
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +120 -3
- package/lib/themes/default.css +127 -2
- package/lib/themes/default.css.map +1 -1
- package/package.json +1 -1
- package/schema.json +76 -7
- package/scss/_properties.scss +10 -1
- package/scss/components/form/_checks.scss +122 -1
- package/scss/components/form/_form.scss +16 -0
- package/sdk/ang-ie11.css +143 -3
- package/sdk/ang.css +150 -2
- package/sdk/antd-ie11.css +143 -3
- package/sdk/antd.css +150 -2
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +143 -3
- package/sdk/cxd.css +150 -2
- package/sdk/dark-ie11.css +143 -3
- package/sdk/dark.css +150 -2
- package/sdk/exceljs.js +1 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +17 -17
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +143 -3
- package/sdk/sdk.css +150 -2
- package/sdk/sdk.js +1247 -1247
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/components/AssociatedSelection.tsx +9 -3
- package/src/components/Checkbox.tsx +11 -5
- package/src/components/DateRangePicker.tsx +97 -2
- package/src/components/calendar/Calendar.tsx +2 -15
- package/src/factory.tsx +4 -1
- package/src/renderers/CRUD.tsx +22 -4
- package/src/renderers/Form/Checkbox.tsx +11 -2
- package/src/renderers/Form/Checkboxes.tsx +101 -5
- package/src/renderers/Form/Item.tsx +1 -0
- package/src/renderers/Form/index.tsx +1 -0
- package/src/renderers/Table/index.tsx +4 -2
- package/src/store/crud.ts +40 -5
- package/src/store/formItem.ts +1 -2
package/sdk/ang.css
CHANGED
@@ -12528,6 +12528,12 @@ readers do not read off random characters that represent icons */
|
|
12528
12528
|
--Checkbox-onHover-color: var(--info);
|
12529
12529
|
--Checkbox-onDisabled-bg: #e5e7eb;
|
12530
12530
|
--Checkbox-onDisabled-color: var(--text--muted-color);
|
12531
|
+
--Checkbox-inner-onDisabled-bg: #D4D6D9;
|
12532
|
+
--Checkbox-disabled-unchecked-bg: #F2F3F3;
|
12533
|
+
--Checkbox-border-width: var(--Form-input-borderWidth);
|
12534
|
+
--Checkbox-paddingX: 0.75rem;
|
12535
|
+
--Checkbox-button-height: 2rem;
|
12536
|
+
--Checkbox-button-line-height: 1.875rem;
|
12531
12537
|
--ColorPicker-bg: var(--white);
|
12532
12538
|
--ColorPicker-borderColor: var(--Form-input-borderColor);
|
12533
12539
|
--ColorPicker-borderRadius: var(--Form-input-borderRadius);
|
@@ -12684,6 +12690,8 @@ readers do not read off random characters that represent icons */
|
|
12684
12690
|
--Form--horizontal-label-widthMd: 10rem;
|
12685
12691
|
--Form--horizontal-label-widthSm: 5.625rem;
|
12686
12692
|
--Form--horizontal-label-widthXs: 3.75rem;
|
12693
|
+
--Form--horizontal-justify-label-align: left;
|
12694
|
+
--Form--horizontal-justify-value-align: right;
|
12687
12695
|
--Form-control-widthBase: 12.5rem;
|
12688
12696
|
--Form-control-widthLg: 20rem;
|
12689
12697
|
--Form-control-widthMd: 15rem;
|
@@ -12857,7 +12865,7 @@ readers do not read off random characters that represent icons */
|
|
12857
12865
|
--InputRange-padding: 1.25rem;
|
12858
12866
|
--InputRange-onDisabled-color: var(--light);
|
12859
12867
|
--InputRange-primaryColor: var(--primary);
|
12860
|
-
--InputRange-track-height: 0.
|
12868
|
+
--InputRange-track-height: 0.25rem;
|
12861
12869
|
--InputRange-track-bg: #f3f4f6;
|
12862
12870
|
--InputRange-track-onDisabled-bg: var(--InputRange-onDisabled-color);
|
12863
12871
|
--InputRange-track-onActive-bg: var(--InputRange-primaryColor);
|
@@ -38804,10 +38812,121 @@ readers do not read off random characters that represent icons */
|
|
38804
38812
|
border-color: transparent;
|
38805
38813
|
transition: width var(--animation-duration), height var(--animation-duration), transform var(--animation-duration);
|
38806
38814
|
border-width: 0 0 0.125rem 0.125rem;
|
38807
|
-
transform: translate(-50%, -
|
38815
|
+
transform: translate(-50%, -90%) rotate(-40deg);
|
38808
38816
|
border-style: solid;
|
38809
38817
|
}
|
38810
38818
|
|
38819
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input {
|
38820
|
+
margin-left: calc(var(--Checkbox-size) * -1);
|
38821
|
+
}
|
38822
|
+
|
38823
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input + i {
|
38824
|
+
border-color: var(--Checkbox-onHover-color);
|
38825
|
+
}
|
38826
|
+
|
38827
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input + i:before {
|
38828
|
+
width: var(--Checkbox-inner-size);
|
38829
|
+
height: var(--Checkbox-inner-size);
|
38830
|
+
background: var(--Checkbox-onHover-color);
|
38831
|
+
}
|
38832
|
+
|
38833
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input[disabled] + i {
|
38834
|
+
border-color: var(--Checkbox-onDisabled-color);
|
38835
|
+
}
|
38836
|
+
|
38837
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input[disabled] + i:before {
|
38838
|
+
width: var(--Checkbox-inner-size);
|
38839
|
+
height: var(--Checkbox-inner-size);
|
38840
|
+
background: var(--Checkbox-inner-onDisabled-bg);
|
38841
|
+
}
|
38842
|
+
|
38843
|
+
.amis-scope .a-Checkbox--partial.a-Checkbox--checkbox input:checked[disabled] + i {
|
38844
|
+
width: var(--Checkbox-inner-size);
|
38845
|
+
height: var(--Checkbox-inner-size);
|
38846
|
+
background: var(--Checkbox-onDisabled-bg);
|
38847
|
+
}
|
38848
|
+
|
38849
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox {
|
38850
|
+
text-align: center;
|
38851
|
+
height: var(--Checkbox-button-height);
|
38852
|
+
line-height: var(--Checkbox-button-line-height);
|
38853
|
+
padding-left: var(--Checkbox-paddingX);
|
38854
|
+
padding-right: var(--Checkbox-paddingX);
|
38855
|
+
font-size: var(--fontSizeSm);
|
38856
|
+
border: var(--Checkbox-border-width) solid;
|
38857
|
+
cursor: pointer;
|
38858
|
+
position: relative;
|
38859
|
+
display: inline-block;
|
38860
|
+
background-color: var(--Checkbox-gb);
|
38861
|
+
border-color: var(--Checkbox-color);
|
38862
|
+
margin-right: 0;
|
38863
|
+
}
|
38864
|
+
|
38865
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox:hover:not(:disabled) {
|
38866
|
+
color: var(--Checkbox-onHover-color);
|
38867
|
+
}
|
38868
|
+
|
38869
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox input:checked + i {
|
38870
|
+
background: transparent;
|
38871
|
+
top: 0;
|
38872
|
+
left: 0;
|
38873
|
+
width: 0;
|
38874
|
+
height: 0;
|
38875
|
+
border-width: 0.5rem;
|
38876
|
+
border-color: var(--Checkbox-onHover-color) transparent transparent var(--Checkbox-onHover-color);
|
38877
|
+
border-radius: 0;
|
38878
|
+
}
|
38879
|
+
|
38880
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox input:checked + i:before {
|
38881
|
+
position: absolute;
|
38882
|
+
top: 0;
|
38883
|
+
left: 0;
|
38884
|
+
width: 0.5rem;
|
38885
|
+
height: 0.375rem;
|
38886
|
+
transform: translate(-80%, -120%) rotate(-50deg);
|
38887
|
+
background: transparent;
|
38888
|
+
}
|
38889
|
+
|
38890
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox input[disabled] + i {
|
38891
|
+
border-color: var(--Checkbox-onDisabled-color);
|
38892
|
+
background: transparent;
|
38893
|
+
}
|
38894
|
+
|
38895
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox input[disabled] + i:before {
|
38896
|
+
background: transparent;
|
38897
|
+
}
|
38898
|
+
|
38899
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox input:checked[disabled] + i {
|
38900
|
+
background: transparent;
|
38901
|
+
border-width: 0.5rem;
|
38902
|
+
border-color: var(--Checkbox-onHover-color) transparent transparent var(--Checkbox-onHover-color);
|
38903
|
+
}
|
38904
|
+
|
38905
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox > i {
|
38906
|
+
position: absolute;
|
38907
|
+
top: 0;
|
38908
|
+
left: 0;
|
38909
|
+
margin-left: 0;
|
38910
|
+
border: 0;
|
38911
|
+
border-style: solid;
|
38912
|
+
}
|
38913
|
+
|
38914
|
+
.amis-scope .a-Checkbox--button.a-Checkbox--checkbox > i + span {
|
38915
|
+
max-width: 6.25rem;
|
38916
|
+
text-overflow: ellipsis;
|
38917
|
+
white-space: nowrap;
|
38918
|
+
overflow: hidden;
|
38919
|
+
}
|
38920
|
+
|
38921
|
+
.amis-scope .a-Checkbox--button--checked.a-Checkbox--checkbox {
|
38922
|
+
border-color: var(--Checkbox-onHover-color);
|
38923
|
+
color: var(--Checkbox-onHover-color);
|
38924
|
+
}
|
38925
|
+
|
38926
|
+
.amis-scope .a-Checkbox--button--disabled--unchecked.a-Checkbox--checkbox {
|
38927
|
+
background: var(--Checkbox-disabled-unchecked-bg);
|
38928
|
+
}
|
38929
|
+
|
38811
38930
|
.amis-scope .a-Checkbox--radio {
|
38812
38931
|
padding-left: var(--Radio-size);
|
38813
38932
|
}
|
@@ -38904,12 +39023,24 @@ readers do not read off random characters that represent icons */
|
|
38904
39023
|
margin-bottom: var(--Form-label-paddingTop);
|
38905
39024
|
}
|
38906
39025
|
|
39026
|
+
.amis-scope .a-RadiosControl .a-Checkbox--button,
|
39027
|
+
.amis-scope .a-CheckboxesControl .a-Checkbox--button {
|
39028
|
+
margin-bottom: 0;
|
39029
|
+
}
|
39030
|
+
|
38907
39031
|
.amis-scope .a-RadiosControl.is-inline .a-Checkbox,
|
38908
39032
|
.amis-scope .a-CheckboxesControl.is-inline .a-Checkbox {
|
38909
39033
|
display: inline-block;
|
38910
39034
|
margin-right: var(--gap-md);
|
38911
39035
|
}
|
38912
39036
|
|
39037
|
+
.amis-scope .a-RadiosControl.is-inline .a-Checkbox--button,
|
39038
|
+
.amis-scope .a-CheckboxesControl.is-inline .a-Checkbox--button {
|
39039
|
+
display: inline-block;
|
39040
|
+
margin-right: 0;
|
39041
|
+
margin-bottom: 0;
|
39042
|
+
}
|
39043
|
+
|
38913
39044
|
.amis-scope .a-RadiosControl-group:not(:first-child),
|
38914
39045
|
.amis-scope .a-CheckboxesControl-group:not(:first-child) {
|
38915
39046
|
margin-top: 0.625rem;
|
@@ -44489,6 +44620,23 @@ readers do not read off random characters that represent icons */
|
|
44489
44620
|
white-space: var(--Form--horizontal-label-whiteSpace);
|
44490
44621
|
}
|
44491
44622
|
|
44623
|
+
.amis-scope .a-Form-item--horizontal-justify {
|
44624
|
+
justify-content: space-between;
|
44625
|
+
}
|
44626
|
+
|
44627
|
+
.amis-scope .a-Form-item--horizontal-justify > .a-Form-label {
|
44628
|
+
text-align: var(--Form--horizontal-justify-label-align);
|
44629
|
+
white-space: var(--Form--horizontal-justify-label-whiteSpace);
|
44630
|
+
}
|
44631
|
+
|
44632
|
+
.amis-scope .a-Form-item--horizontal-justify > .a-Form-value {
|
44633
|
+
text-align: var(--Form--horizontal-justify-value-align);
|
44634
|
+
}
|
44635
|
+
|
44636
|
+
.amis-scope .a-Form-item--horizontal-justify > .a-Form-value > * {
|
44637
|
+
text-align: initial;
|
44638
|
+
}
|
44639
|
+
|
44492
44640
|
.amis-scope .a-Form-item--normal > .a-Form-label {
|
44493
44641
|
display: block;
|
44494
44642
|
}
|
package/sdk/antd-ie11.css
CHANGED
@@ -37477,10 +37477,121 @@ readers do not read off random characters that represent icons */
|
|
37477
37477
|
border-color: transparent;
|
37478
37478
|
transition: width 0s, height 0s, transform 0s;
|
37479
37479
|
border-width: 0 0 0.125rem 0.125rem;
|
37480
|
-
transform: translate(-50%, -
|
37480
|
+
transform: translate(-50%, -90%) rotate(-40deg);
|
37481
37481
|
border-style: solid;
|
37482
37482
|
}
|
37483
37483
|
|
37484
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input {
|
37485
|
+
margin-left: calc(0.875rem * -1);
|
37486
|
+
}
|
37487
|
+
|
37488
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input + i {
|
37489
|
+
border-color: #1890ff;
|
37490
|
+
}
|
37491
|
+
|
37492
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input + i:before {
|
37493
|
+
width: calc(0.875rem / 2);
|
37494
|
+
height: calc(0.875rem / 2);
|
37495
|
+
background: #1890ff;
|
37496
|
+
}
|
37497
|
+
|
37498
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input[disabled] + i {
|
37499
|
+
border-color: #d9d9d9;
|
37500
|
+
}
|
37501
|
+
|
37502
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input[disabled] + i:before {
|
37503
|
+
width: calc(0.875rem / 2);
|
37504
|
+
height: calc(0.875rem / 2);
|
37505
|
+
background: #D4D6D9;
|
37506
|
+
}
|
37507
|
+
|
37508
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input:checked[disabled] + i {
|
37509
|
+
width: calc(0.875rem / 2);
|
37510
|
+
height: calc(0.875rem / 2);
|
37511
|
+
background: #f5f5f5;
|
37512
|
+
}
|
37513
|
+
|
37514
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox {
|
37515
|
+
text-align: center;
|
37516
|
+
height: 2rem;
|
37517
|
+
line-height: 1.875rem;
|
37518
|
+
padding-left: 0.75rem;
|
37519
|
+
padding-right: 0.75rem;
|
37520
|
+
font-size: 0.75rem;
|
37521
|
+
border: 0.0625rem solid;
|
37522
|
+
cursor: pointer;
|
37523
|
+
position: relative;
|
37524
|
+
display: inline-block;
|
37525
|
+
background-color: #fff;
|
37526
|
+
border-color: #d9d9d9;
|
37527
|
+
margin-right: 0;
|
37528
|
+
}
|
37529
|
+
|
37530
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox:hover:not(:disabled) {
|
37531
|
+
color: #1890ff;
|
37532
|
+
}
|
37533
|
+
|
37534
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked + i {
|
37535
|
+
background: transparent;
|
37536
|
+
top: 0;
|
37537
|
+
left: 0;
|
37538
|
+
width: 0;
|
37539
|
+
height: 0;
|
37540
|
+
border-width: 0.5rem;
|
37541
|
+
border-color: #1890ff transparent transparent #1890ff;
|
37542
|
+
border-radius: 0;
|
37543
|
+
}
|
37544
|
+
|
37545
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked + i:before {
|
37546
|
+
position: absolute;
|
37547
|
+
top: 0;
|
37548
|
+
left: 0;
|
37549
|
+
width: 0.5rem;
|
37550
|
+
height: 0.375rem;
|
37551
|
+
transform: translate(-80%, -120%) rotate(-50deg);
|
37552
|
+
background: transparent;
|
37553
|
+
}
|
37554
|
+
|
37555
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input[disabled] + i {
|
37556
|
+
border-color: #d9d9d9;
|
37557
|
+
background: transparent;
|
37558
|
+
}
|
37559
|
+
|
37560
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input[disabled] + i:before {
|
37561
|
+
background: transparent;
|
37562
|
+
}
|
37563
|
+
|
37564
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked[disabled] + i {
|
37565
|
+
background: transparent;
|
37566
|
+
border-width: 0.5rem;
|
37567
|
+
border-color: #1890ff transparent transparent #1890ff;
|
37568
|
+
}
|
37569
|
+
|
37570
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox > i {
|
37571
|
+
position: absolute;
|
37572
|
+
top: 0;
|
37573
|
+
left: 0;
|
37574
|
+
margin-left: 0;
|
37575
|
+
border: 0;
|
37576
|
+
border-style: solid;
|
37577
|
+
}
|
37578
|
+
|
37579
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox > i + span {
|
37580
|
+
max-width: 6.25rem;
|
37581
|
+
text-overflow: ellipsis;
|
37582
|
+
white-space: nowrap;
|
37583
|
+
overflow: hidden;
|
37584
|
+
}
|
37585
|
+
|
37586
|
+
.amis-scope .antd-Checkbox--button--checked.antd-Checkbox--checkbox {
|
37587
|
+
border-color: #1890ff;
|
37588
|
+
color: #1890ff;
|
37589
|
+
}
|
37590
|
+
|
37591
|
+
.amis-scope .antd-Checkbox--button--disabled--unchecked.antd-Checkbox--checkbox {
|
37592
|
+
background: #F2F3F3;
|
37593
|
+
}
|
37594
|
+
|
37484
37595
|
.amis-scope .antd-Checkbox--radio {
|
37485
37596
|
padding-left: 0.875rem;
|
37486
37597
|
}
|
@@ -37582,12 +37693,24 @@ readers do not read off random characters that represent icons */
|
|
37582
37693
|
);
|
37583
37694
|
}
|
37584
37695
|
|
37696
|
+
.amis-scope .antd-RadiosControl .antd-Checkbox--button,
|
37697
|
+
.amis-scope .antd-CheckboxesControl .antd-Checkbox--button {
|
37698
|
+
margin-bottom: 0;
|
37699
|
+
}
|
37700
|
+
|
37585
37701
|
.amis-scope .antd-RadiosControl.is-inline .antd-Checkbox,
|
37586
37702
|
.amis-scope .antd-CheckboxesControl.is-inline .antd-Checkbox {
|
37587
37703
|
display: inline-block;
|
37588
37704
|
margin-right: 1rem;
|
37589
37705
|
}
|
37590
37706
|
|
37707
|
+
.amis-scope .antd-RadiosControl.is-inline .antd-Checkbox--button,
|
37708
|
+
.amis-scope .antd-CheckboxesControl.is-inline .antd-Checkbox--button {
|
37709
|
+
display: inline-block;
|
37710
|
+
margin-right: 0;
|
37711
|
+
margin-bottom: 0;
|
37712
|
+
}
|
37713
|
+
|
37591
37714
|
.amis-scope .antd-RadiosControl-group:not(:first-child),
|
37592
37715
|
.amis-scope .antd-CheckboxesControl-group:not(:first-child) {
|
37593
37716
|
margin-top: 0.625rem;
|
@@ -40925,7 +41048,7 @@ readers do not read off random characters that represent icons */
|
|
40925
41048
|
border-radius: 0.25rem;
|
40926
41049
|
cursor: pointer;
|
40927
41050
|
display: block;
|
40928
|
-
height: 0.
|
41051
|
+
height: 0.25rem;
|
40929
41052
|
position: relative;
|
40930
41053
|
transition: left 0s ease-out,
|
40931
41054
|
width 0s ease-out;
|
@@ -40946,7 +41069,7 @@ readers do not read off random characters that represent icons */
|
|
40946
41069
|
|
40947
41070
|
.amis-scope .antd-InputRange-track--background {
|
40948
41071
|
left: 0.5rem;
|
40949
|
-
margin-top: calc(-0.5 * 0.
|
41072
|
+
margin-top: calc(-0.5 * 0.25rem);
|
40950
41073
|
position: absolute;
|
40951
41074
|
right: 0.5rem;
|
40952
41075
|
top: 50%;
|
@@ -43302,6 +43425,23 @@ readers do not read off random characters that represent icons */
|
|
43302
43425
|
white-space: "normal";
|
43303
43426
|
}
|
43304
43427
|
|
43428
|
+
.amis-scope .antd-Form-item--horizontal-justify {
|
43429
|
+
justify-content: space-between;
|
43430
|
+
}
|
43431
|
+
|
43432
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-label {
|
43433
|
+
text-align: left;
|
43434
|
+
white-space: var(--Form--horizontal-justify-label-whiteSpace);
|
43435
|
+
}
|
43436
|
+
|
43437
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-value {
|
43438
|
+
text-align: right;
|
43439
|
+
}
|
43440
|
+
|
43441
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-value > * {
|
43442
|
+
text-align: initial;
|
43443
|
+
}
|
43444
|
+
|
43305
43445
|
.amis-scope .antd-Form-item--normal > .antd-Form-label {
|
43306
43446
|
display: block;
|
43307
43447
|
}
|
package/sdk/antd.css
CHANGED
@@ -12532,6 +12532,12 @@ readers do not read off random characters that represent icons */
|
|
12532
12532
|
--Checkbox-onHover-color: var(--info);
|
12533
12533
|
--Checkbox-onDisabled-bg: #e5e7eb;
|
12534
12534
|
--Checkbox-onDisabled-color: var(--text--muted-color);
|
12535
|
+
--Checkbox-inner-onDisabled-bg: #D4D6D9;
|
12536
|
+
--Checkbox-disabled-unchecked-bg: #F2F3F3;
|
12537
|
+
--Checkbox-border-width: var(--Form-input-borderWidth);
|
12538
|
+
--Checkbox-paddingX: 0.75rem;
|
12539
|
+
--Checkbox-button-height: 2rem;
|
12540
|
+
--Checkbox-button-line-height: 1.875rem;
|
12535
12541
|
--ColorPicker-bg: var(--white);
|
12536
12542
|
--ColorPicker-borderColor: var(--Form-input-borderColor);
|
12537
12543
|
--ColorPicker-borderRadius: var(--Form-input-borderRadius);
|
@@ -12688,6 +12694,8 @@ readers do not read off random characters that represent icons */
|
|
12688
12694
|
--Form--horizontal-label-widthMd: 10rem;
|
12689
12695
|
--Form--horizontal-label-widthSm: 5.625rem;
|
12690
12696
|
--Form--horizontal-label-widthXs: 3.75rem;
|
12697
|
+
--Form--horizontal-justify-label-align: left;
|
12698
|
+
--Form--horizontal-justify-value-align: right;
|
12691
12699
|
--Form-control-widthBase: 12.5rem;
|
12692
12700
|
--Form-control-widthLg: 20rem;
|
12693
12701
|
--Form-control-widthMd: 15rem;
|
@@ -12861,7 +12869,7 @@ readers do not read off random characters that represent icons */
|
|
12861
12869
|
--InputRange-padding: 1.25rem;
|
12862
12870
|
--InputRange-onDisabled-color: var(--light);
|
12863
12871
|
--InputRange-primaryColor: var(--primary);
|
12864
|
-
--InputRange-track-height: 0.
|
12872
|
+
--InputRange-track-height: 0.25rem;
|
12865
12873
|
--InputRange-track-bg: #f3f4f6;
|
12866
12874
|
--InputRange-track-onDisabled-bg: var(--InputRange-onDisabled-color);
|
12867
12875
|
--InputRange-track-onActive-bg: var(--InputRange-primaryColor);
|
@@ -38913,10 +38921,121 @@ readers do not read off random characters that represent icons */
|
|
38913
38921
|
border-color: transparent;
|
38914
38922
|
transition: width var(--animation-duration), height var(--animation-duration), transform var(--animation-duration);
|
38915
38923
|
border-width: 0 0 0.125rem 0.125rem;
|
38916
|
-
transform: translate(-50%, -
|
38924
|
+
transform: translate(-50%, -90%) rotate(-40deg);
|
38917
38925
|
border-style: solid;
|
38918
38926
|
}
|
38919
38927
|
|
38928
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input {
|
38929
|
+
margin-left: calc(var(--Checkbox-size) * -1);
|
38930
|
+
}
|
38931
|
+
|
38932
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input + i {
|
38933
|
+
border-color: var(--Checkbox-onHover-color);
|
38934
|
+
}
|
38935
|
+
|
38936
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input + i:before {
|
38937
|
+
width: var(--Checkbox-inner-size);
|
38938
|
+
height: var(--Checkbox-inner-size);
|
38939
|
+
background: var(--Checkbox-onHover-color);
|
38940
|
+
}
|
38941
|
+
|
38942
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input[disabled] + i {
|
38943
|
+
border-color: var(--Checkbox-onDisabled-color);
|
38944
|
+
}
|
38945
|
+
|
38946
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input[disabled] + i:before {
|
38947
|
+
width: var(--Checkbox-inner-size);
|
38948
|
+
height: var(--Checkbox-inner-size);
|
38949
|
+
background: var(--Checkbox-inner-onDisabled-bg);
|
38950
|
+
}
|
38951
|
+
|
38952
|
+
.amis-scope .antd-Checkbox--partial.antd-Checkbox--checkbox input:checked[disabled] + i {
|
38953
|
+
width: var(--Checkbox-inner-size);
|
38954
|
+
height: var(--Checkbox-inner-size);
|
38955
|
+
background: var(--Checkbox-onDisabled-bg);
|
38956
|
+
}
|
38957
|
+
|
38958
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox {
|
38959
|
+
text-align: center;
|
38960
|
+
height: var(--Checkbox-button-height);
|
38961
|
+
line-height: var(--Checkbox-button-line-height);
|
38962
|
+
padding-left: var(--Checkbox-paddingX);
|
38963
|
+
padding-right: var(--Checkbox-paddingX);
|
38964
|
+
font-size: var(--fontSizeSm);
|
38965
|
+
border: var(--Checkbox-border-width) solid;
|
38966
|
+
cursor: pointer;
|
38967
|
+
position: relative;
|
38968
|
+
display: inline-block;
|
38969
|
+
background-color: var(--Checkbox-gb);
|
38970
|
+
border-color: var(--Checkbox-color);
|
38971
|
+
margin-right: 0;
|
38972
|
+
}
|
38973
|
+
|
38974
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox:hover:not(:disabled) {
|
38975
|
+
color: var(--Checkbox-onHover-color);
|
38976
|
+
}
|
38977
|
+
|
38978
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked + i {
|
38979
|
+
background: transparent;
|
38980
|
+
top: 0;
|
38981
|
+
left: 0;
|
38982
|
+
width: 0;
|
38983
|
+
height: 0;
|
38984
|
+
border-width: 0.5rem;
|
38985
|
+
border-color: var(--Checkbox-onHover-color) transparent transparent var(--Checkbox-onHover-color);
|
38986
|
+
border-radius: 0;
|
38987
|
+
}
|
38988
|
+
|
38989
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked + i:before {
|
38990
|
+
position: absolute;
|
38991
|
+
top: 0;
|
38992
|
+
left: 0;
|
38993
|
+
width: 0.5rem;
|
38994
|
+
height: 0.375rem;
|
38995
|
+
transform: translate(-80%, -120%) rotate(-50deg);
|
38996
|
+
background: transparent;
|
38997
|
+
}
|
38998
|
+
|
38999
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input[disabled] + i {
|
39000
|
+
border-color: var(--Checkbox-onDisabled-color);
|
39001
|
+
background: transparent;
|
39002
|
+
}
|
39003
|
+
|
39004
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input[disabled] + i:before {
|
39005
|
+
background: transparent;
|
39006
|
+
}
|
39007
|
+
|
39008
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox input:checked[disabled] + i {
|
39009
|
+
background: transparent;
|
39010
|
+
border-width: 0.5rem;
|
39011
|
+
border-color: var(--Checkbox-onHover-color) transparent transparent var(--Checkbox-onHover-color);
|
39012
|
+
}
|
39013
|
+
|
39014
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox > i {
|
39015
|
+
position: absolute;
|
39016
|
+
top: 0;
|
39017
|
+
left: 0;
|
39018
|
+
margin-left: 0;
|
39019
|
+
border: 0;
|
39020
|
+
border-style: solid;
|
39021
|
+
}
|
39022
|
+
|
39023
|
+
.amis-scope .antd-Checkbox--button.antd-Checkbox--checkbox > i + span {
|
39024
|
+
max-width: 6.25rem;
|
39025
|
+
text-overflow: ellipsis;
|
39026
|
+
white-space: nowrap;
|
39027
|
+
overflow: hidden;
|
39028
|
+
}
|
39029
|
+
|
39030
|
+
.amis-scope .antd-Checkbox--button--checked.antd-Checkbox--checkbox {
|
39031
|
+
border-color: var(--Checkbox-onHover-color);
|
39032
|
+
color: var(--Checkbox-onHover-color);
|
39033
|
+
}
|
39034
|
+
|
39035
|
+
.amis-scope .antd-Checkbox--button--disabled--unchecked.antd-Checkbox--checkbox {
|
39036
|
+
background: var(--Checkbox-disabled-unchecked-bg);
|
39037
|
+
}
|
39038
|
+
|
38920
39039
|
.amis-scope .antd-Checkbox--radio {
|
38921
39040
|
padding-left: var(--Radio-size);
|
38922
39041
|
}
|
@@ -39013,12 +39132,24 @@ readers do not read off random characters that represent icons */
|
|
39013
39132
|
margin-bottom: var(--Form-label-paddingTop);
|
39014
39133
|
}
|
39015
39134
|
|
39135
|
+
.amis-scope .antd-RadiosControl .antd-Checkbox--button,
|
39136
|
+
.amis-scope .antd-CheckboxesControl .antd-Checkbox--button {
|
39137
|
+
margin-bottom: 0;
|
39138
|
+
}
|
39139
|
+
|
39016
39140
|
.amis-scope .antd-RadiosControl.is-inline .antd-Checkbox,
|
39017
39141
|
.amis-scope .antd-CheckboxesControl.is-inline .antd-Checkbox {
|
39018
39142
|
display: inline-block;
|
39019
39143
|
margin-right: var(--gap-md);
|
39020
39144
|
}
|
39021
39145
|
|
39146
|
+
.amis-scope .antd-RadiosControl.is-inline .antd-Checkbox--button,
|
39147
|
+
.amis-scope .antd-CheckboxesControl.is-inline .antd-Checkbox--button {
|
39148
|
+
display: inline-block;
|
39149
|
+
margin-right: 0;
|
39150
|
+
margin-bottom: 0;
|
39151
|
+
}
|
39152
|
+
|
39022
39153
|
.amis-scope .antd-RadiosControl-group:not(:first-child),
|
39023
39154
|
.amis-scope .antd-CheckboxesControl-group:not(:first-child) {
|
39024
39155
|
margin-top: 0.625rem;
|
@@ -44598,6 +44729,23 @@ readers do not read off random characters that represent icons */
|
|
44598
44729
|
white-space: var(--Form--horizontal-label-whiteSpace);
|
44599
44730
|
}
|
44600
44731
|
|
44732
|
+
.amis-scope .antd-Form-item--horizontal-justify {
|
44733
|
+
justify-content: space-between;
|
44734
|
+
}
|
44735
|
+
|
44736
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-label {
|
44737
|
+
text-align: var(--Form--horizontal-justify-label-align);
|
44738
|
+
white-space: var(--Form--horizontal-justify-label-whiteSpace);
|
44739
|
+
}
|
44740
|
+
|
44741
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-value {
|
44742
|
+
text-align: var(--Form--horizontal-justify-value-align);
|
44743
|
+
}
|
44744
|
+
|
44745
|
+
.amis-scope .antd-Form-item--horizontal-justify > .antd-Form-value > * {
|
44746
|
+
text-align: initial;
|
44747
|
+
}
|
44748
|
+
|
44601
44749
|
.amis-scope .antd-Form-item--normal > .antd-Form-label {
|
44602
44750
|
display: block;
|
44603
44751
|
}
|