rsuite 5.34.1 → 5.35.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.
- package/CHANGELOG.md +13 -0
- package/RadioTile/package.json +7 -0
- package/RadioTile/styles/index.less +69 -0
- package/RadioTileGroup/package.json +7 -0
- package/RadioTileGroup/styles/index.less +1 -0
- package/TreePicker/styles/index.less +1 -0
- package/cjs/RadioTile/RadioTile.d.ts +25 -0
- package/cjs/RadioTile/RadioTile.js +128 -0
- package/cjs/RadioTile/index.d.ts +3 -0
- package/cjs/RadioTile/index.js +11 -0
- package/cjs/RadioTileGroup/RadioTileGroup.d.ts +23 -0
- package/cjs/RadioTileGroup/RadioTileGroup.js +89 -0
- package/cjs/RadioTileGroup/index.d.ts +3 -0
- package/cjs/RadioTileGroup/index.js +11 -0
- package/cjs/index.d.ts +4 -0
- package/cjs/index.js +9 -1
- package/dist/rsuite-no-reset-rtl.css +86 -0
- package/dist/rsuite-no-reset-rtl.min.css +1 -1
- package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
- package/dist/rsuite-no-reset.css +86 -0
- package/dist/rsuite-no-reset.min.css +1 -1
- package/dist/rsuite-no-reset.min.css.map +1 -1
- package/dist/rsuite-rtl.css +86 -0
- package/dist/rsuite-rtl.min.css +1 -1
- package/dist/rsuite-rtl.min.css.map +1 -1
- package/dist/rsuite.css +86 -0
- package/dist/rsuite.js +49 -5
- package/dist/rsuite.js.map +1 -1
- package/dist/rsuite.min.css +1 -1
- package/dist/rsuite.min.css.map +1 -1
- package/dist/rsuite.min.js +1 -1
- package/dist/rsuite.min.js.map +1 -1
- package/esm/RadioTile/RadioTile.d.ts +25 -0
- package/esm/RadioTile/RadioTile.js +108 -0
- package/esm/RadioTile/index.d.ts +3 -0
- package/esm/RadioTile/index.js +2 -0
- package/esm/RadioTileGroup/RadioTileGroup.d.ts +23 -0
- package/esm/RadioTileGroup/RadioTileGroup.js +69 -0
- package/esm/RadioTileGroup/index.d.ts +3 -0
- package/esm/RadioTileGroup/index.js +2 -0
- package/esm/index.d.ts +4 -0
- package/esm/index.js +2 -0
- package/package.json +2 -2
- package/styles/color-modes/dark.less +7 -0
- package/styles/color-modes/high-contrast.less +7 -0
- package/styles/color-modes/light.less +8 -0
- package/styles/index.less +1 -0
package/dist/rsuite-no-reset.css
CHANGED
|
@@ -261,6 +261,12 @@
|
|
|
261
261
|
--rs-radio-border: #d9d9d9;
|
|
262
262
|
--rs-radio-checked-bg: #3498ff;
|
|
263
263
|
--rs-radio-disabled-bg: #f7f7fa;
|
|
264
|
+
--rs-radio-tile-border: #d9d9d9;
|
|
265
|
+
--rs-radio-tile-bg: #fff;
|
|
266
|
+
--rs-radio-tile-checked-color: #3498ff;
|
|
267
|
+
--rs-radio-tile-checked-mark-color: #fff;
|
|
268
|
+
--rs-radio-tile-checked-disabled-color: #cce9ff;
|
|
269
|
+
--rs-radio-tile-icon-size: 32px;
|
|
264
270
|
--rs-rate-symbol: #8e8e93;
|
|
265
271
|
--rs-rate-symbol-checked: #ffb300;
|
|
266
272
|
--rs-toggle-bg: #d9d9d9;
|
|
@@ -585,6 +591,11 @@
|
|
|
585
591
|
--rs-radio-border: #6a6f76;
|
|
586
592
|
--rs-radio-checked-bg: #34c3ff;
|
|
587
593
|
--rs-radio-disabled-bg: #5c6066;
|
|
594
|
+
--rs-radio-tile-border: #858b94;
|
|
595
|
+
--rs-radio-tile-bg: #fff;
|
|
596
|
+
--rs-radio-tile-checked-color: #34c3ff;
|
|
597
|
+
--rs-radio-tile-checked-mark-color: #1a1d24;
|
|
598
|
+
--rs-radio-tile-checked-disabled-color: #006199;
|
|
588
599
|
--rs-rate-symbol: #3c3f43;
|
|
589
600
|
--rs-rate-symbol-checked: #ffb300;
|
|
590
601
|
--rs-toggle-bg: #6a6f76;
|
|
@@ -916,6 +927,11 @@
|
|
|
916
927
|
--rs-radio-border: #cbced4;
|
|
917
928
|
--rs-radio-checked-bg: #ffff00;
|
|
918
929
|
--rs-radio-disabled-bg: #5c6066;
|
|
930
|
+
--rs-radio-tile-border: #858b94;
|
|
931
|
+
--rs-radio-tile-bg: #fff;
|
|
932
|
+
--rs-radio-tile-checked-color: #ffff00;
|
|
933
|
+
--rs-radio-tile-checked-mark-color: #1a1d24;
|
|
934
|
+
--rs-radio-tile-checked-disabled-color: #8f9900;
|
|
919
935
|
--rs-rate-symbol: #cbced4;
|
|
920
936
|
--rs-rate-symbol-checked: #ffff00;
|
|
921
937
|
--rs-toggle-bg: #1a1d24;
|
|
@@ -12918,6 +12934,74 @@ textarea.rs-picker-menu .rs-picker-search-bar .rs-picker-search-bar-input {
|
|
|
12918
12934
|
color: #8e8e93;
|
|
12919
12935
|
color: var(--rs-text-secondary);
|
|
12920
12936
|
}
|
|
12937
|
+
.rs-radio-tile {
|
|
12938
|
+
border-radius: 6px;
|
|
12939
|
+
overflow: hidden;
|
|
12940
|
+
border: 2px solid #d9d9d9;
|
|
12941
|
+
border: 2px solid var(--rs-radio-tile-border);
|
|
12942
|
+
padding: 10px;
|
|
12943
|
+
position: relative;
|
|
12944
|
+
cursor: pointer;
|
|
12945
|
+
}
|
|
12946
|
+
.rs-radio-tile-label {
|
|
12947
|
+
font-weight: bold;
|
|
12948
|
+
}
|
|
12949
|
+
.rs-radio-tile-content {
|
|
12950
|
+
color: #8e8e93;
|
|
12951
|
+
color: var(--rs-text-secondary);
|
|
12952
|
+
}
|
|
12953
|
+
.rs-radio-tile-mark {
|
|
12954
|
+
background: #3498ff;
|
|
12955
|
+
background: var(--rs-radio-tile-checked-color);
|
|
12956
|
+
border-bottom-left-radius: 50%;
|
|
12957
|
+
height: 48px;
|
|
12958
|
+
position: absolute;
|
|
12959
|
+
right: -24px;
|
|
12960
|
+
top: -24px;
|
|
12961
|
+
width: 48px;
|
|
12962
|
+
z-index: 3;
|
|
12963
|
+
opacity: 0;
|
|
12964
|
+
}
|
|
12965
|
+
.rs-radio-tile-mark-icon {
|
|
12966
|
+
position: absolute;
|
|
12967
|
+
font-size: 16px;
|
|
12968
|
+
top: 25px;
|
|
12969
|
+
left: 7px;
|
|
12970
|
+
color: #fff;
|
|
12971
|
+
color: var(--rs-radio-tile-checked-mark-color);
|
|
12972
|
+
}
|
|
12973
|
+
.rs-radio-tile-checked .rs-radio-tile-mark {
|
|
12974
|
+
opacity: 1;
|
|
12975
|
+
}
|
|
12976
|
+
.rs-radio-tile-checked.rs-radio-tile-disabled {
|
|
12977
|
+
border-color: #cce9ff;
|
|
12978
|
+
border-color: var(--rs-radio-tile-checked-disabled-color);
|
|
12979
|
+
}
|
|
12980
|
+
.rs-radio-tile-checked.rs-radio-tile-disabled .rs-radio-tile-mark {
|
|
12981
|
+
background-color: #cce9ff;
|
|
12982
|
+
background-color: var(--rs-radio-tile-checked-disabled-color);
|
|
12983
|
+
}
|
|
12984
|
+
.rs-radio-tile-checked,
|
|
12985
|
+
.rs-radio-tile:hover:not(.rs-radio-tile-disabled) {
|
|
12986
|
+
border: 2px solid #3498ff;
|
|
12987
|
+
border: 2px solid var(--rs-radio-tile-checked-color);
|
|
12988
|
+
}
|
|
12989
|
+
.rs-radio-tile-disabled,
|
|
12990
|
+
.rs-radio-tile-disabled .rs-radio-tile-content {
|
|
12991
|
+
color: #c5c6c7;
|
|
12992
|
+
color: var(--rs-text-disabled);
|
|
12993
|
+
cursor: not-allowed;
|
|
12994
|
+
}
|
|
12995
|
+
.rs-radio-tile input {
|
|
12996
|
+
opacity: 0;
|
|
12997
|
+
width: 0;
|
|
12998
|
+
height: 0;
|
|
12999
|
+
position: absolute;
|
|
13000
|
+
}
|
|
13001
|
+
.rs-radio-tile-icon {
|
|
13002
|
+
font-size: 32px;
|
|
13003
|
+
font-size: var(--rs-radio-tile-icon-size);
|
|
13004
|
+
}
|
|
12921
13005
|
.rs-ripple {
|
|
12922
13006
|
position: absolute;
|
|
12923
13007
|
display: block;
|
|
@@ -15632,6 +15716,8 @@ textarea.rs-picker-menu .rs-picker-search-bar .rs-picker-search-bar-input {
|
|
|
15632
15716
|
}
|
|
15633
15717
|
.rs-tree-node-disabled > .rs-tree-node-label > .rs-tree-node-label-content {
|
|
15634
15718
|
cursor: not-allowed;
|
|
15719
|
+
color: #c5c6c7;
|
|
15720
|
+
color: var(--rs-listbox-option-disabled-text);
|
|
15635
15721
|
}
|
|
15636
15722
|
.rs-tree-node-disabled > .rs-tree-node-label > .rs-tree-node-label-content,
|
|
15637
15723
|
.rs-tree-node-disabled > .rs-tree-node-label > .rs-tree-node-label-content:hover {
|