amis 1.5.6-beta.5 → 1.5.6
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/Card.js +1 -1
- package/lib/components/Card.js.map +2 -2
- package/lib/components/Collapse.js +1 -1
- package/lib/components/Collapse.js.map +2 -2
- package/lib/components/Rating.d.ts +203 -73
- package/lib/components/Rating.js +147 -31
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/icons/star.js +12 -0
- package/lib/index.js +1 -1
- package/lib/renderers/Form/InputRating.d.ts +37 -0
- package/lib/renderers/Form/InputRating.js +6 -2
- package/lib/renderers/Form/InputRating.js.map +2 -2
- package/lib/renderers/Json.js +7 -0
- package/lib/renderers/Json.js.map +2 -2
- package/lib/themes/ang-ie11.css +44 -10
- package/lib/themes/ang.css +44 -10
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +44 -10
- package/lib/themes/antd.css +44 -10
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +45 -10
- package/lib/themes/cxd.css +45 -10
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +44 -10
- package/lib/themes/dark.css +44 -10
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default.css +45 -10
- package/lib/themes/default.css.map +1 -1
- package/package.json +2 -2
- package/schema.json +59 -7
- package/scss/_properties.scss +3 -1
- package/scss/components/form/_rating.scss +60 -21
- package/scss/themes/_cxd-variables.scss +2 -0
- package/sdk/ang-ie11.css +47 -8
- package/sdk/ang.css +51 -10
- package/sdk/antd-ie11.css +47 -8
- package/sdk/antd.css +51 -10
- package/sdk/charts.js +13 -13
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +47 -8
- package/sdk/cxd.css +52 -10
- package/sdk/dark-ie11.css +47 -8
- package/sdk/dark.css +51 -10
- 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 +18 -18
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +47 -8
- package/sdk/sdk.css +52 -10
- package/sdk/sdk.js +1213 -1211
- 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/Card.tsx +2 -2
- package/src/components/Collapse.tsx +1 -1
- package/src/components/Rating.tsx +235 -47
- package/src/components/icons.tsx +2 -0
- package/src/icons/star.svg +12 -0
- package/src/renderers/Form/InputRating.tsx +66 -3
- package/src/renderers/Json.tsx +5 -0
package/lib/themes/antd-ie11.css
CHANGED
@@ -1051,7 +1051,9 @@
|
|
1051
1051
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
1052
1052
|
--ResultBox-value-bg: #f5f5f5;
|
1053
1053
|
--ResultBox-value-color: #000;
|
1054
|
-
--Rating-
|
1054
|
+
--Rating-inactive-color: #e6e6e8;
|
1055
|
+
--Rating-star-margin: 0.5rem;
|
1056
|
+
--Rating-star-size: 1.5rem;
|
1055
1057
|
--Satus-icon-width: var(--gap-lg);
|
1056
1058
|
--Satus-icon-height: var(--Satus-icon-width);
|
1057
1059
|
--Sparkline-line-color: var(--info);
|
@@ -16063,22 +16065,45 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16063
16065
|
}
|
16064
16066
|
|
16065
16067
|
.antd-Rating {
|
16068
|
+
display: flex;
|
16066
16069
|
position: relative;
|
16070
|
+
align-items: center;
|
16071
|
+
justify-content: flex-start;
|
16072
|
+
flex-flow: row wrap;
|
16073
|
+
}
|
16074
|
+
.antd-Rating > ul {
|
16075
|
+
display: flex;
|
16076
|
+
padding: unset;
|
16077
|
+
margin: unset;
|
16078
|
+
align-items: center;
|
16079
|
+
justify-content: flex-start;
|
16080
|
+
flex-flow: row wrap;
|
16081
|
+
}
|
16082
|
+
.antd-Rating-star {
|
16083
|
+
position: relative;
|
16084
|
+
margin-right: var(--Rating-star-margin);
|
16067
16085
|
overflow: hidden;
|
16068
16086
|
display: block;
|
16069
|
-
|
16070
|
-
|
16071
|
-
color: var(--dark);
|
16087
|
+
font-size: var(--Rating-star-size);
|
16088
|
+
line-height: 1;
|
16072
16089
|
cursor: pointer;
|
16090
|
+
user-select: none;
|
16091
|
+
color: var(--Rating-inactive-color);
|
16073
16092
|
}
|
16074
|
-
.antd-Rating.
|
16075
|
-
|
16093
|
+
.antd-Rating-star-half > svg.icon, .antd-Rating-star > svg.icon {
|
16094
|
+
display: block;
|
16095
|
+
width: 1.5rem;
|
16096
|
+
height: 1.5rem;
|
16097
|
+
top: 0;
|
16098
|
+
}
|
16099
|
+
.antd-Rating-star:last-of-type {
|
16100
|
+
margin-right: 0;
|
16076
16101
|
}
|
16077
|
-
.antd-Rating.is-disabled {
|
16102
|
+
.antd-Rating-star.is-disabled {
|
16078
16103
|
cursor: not-allowed;
|
16079
16104
|
pointer-events: none;
|
16080
16105
|
}
|
16081
|
-
.antd-Rating-half
|
16106
|
+
.antd-Rating-star-half {
|
16082
16107
|
position: absolute;
|
16083
16108
|
overflow: hidden;
|
16084
16109
|
display: block;
|
@@ -16086,8 +16111,17 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16086
16111
|
top: 0;
|
16087
16112
|
left: 0;
|
16088
16113
|
width: 50%;
|
16089
|
-
|
16090
|
-
|
16114
|
+
}
|
16115
|
+
.antd-Rating-text {
|
16116
|
+
font-size: var(--fontSizeSm);
|
16117
|
+
color: var(--text-color);
|
16118
|
+
font-weight: var(--fontWeightNormal);
|
16119
|
+
}
|
16120
|
+
.antd-Rating-text--left {
|
16121
|
+
margin-right: var(--Rating-star-margin);
|
16122
|
+
}
|
16123
|
+
.antd-Rating-text--right {
|
16124
|
+
margin-left: var(--Rating-star-margin);
|
16091
16125
|
}
|
16092
16126
|
|
16093
16127
|
.antd-RatingControl {
|
package/lib/themes/antd.css
CHANGED
@@ -1051,7 +1051,9 @@
|
|
1051
1051
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
1052
1052
|
--ResultBox-value-bg: #f5f5f5;
|
1053
1053
|
--ResultBox-value-color: #000;
|
1054
|
-
--Rating-
|
1054
|
+
--Rating-inactive-color: #e6e6e8;
|
1055
|
+
--Rating-star-margin: 0.5rem;
|
1056
|
+
--Rating-star-size: 1.5rem;
|
1055
1057
|
--Satus-icon-width: var(--gap-lg);
|
1056
1058
|
--Satus-icon-height: var(--Satus-icon-width);
|
1057
1059
|
--Sparkline-line-color: var(--info);
|
@@ -16063,22 +16065,45 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16063
16065
|
}
|
16064
16066
|
|
16065
16067
|
.antd-Rating {
|
16068
|
+
display: flex;
|
16066
16069
|
position: relative;
|
16070
|
+
align-items: center;
|
16071
|
+
justify-content: flex-start;
|
16072
|
+
flex-flow: row wrap;
|
16073
|
+
}
|
16074
|
+
.antd-Rating > ul {
|
16075
|
+
display: flex;
|
16076
|
+
padding: unset;
|
16077
|
+
margin: unset;
|
16078
|
+
align-items: center;
|
16079
|
+
justify-content: flex-start;
|
16080
|
+
flex-flow: row wrap;
|
16081
|
+
}
|
16082
|
+
.antd-Rating-star {
|
16083
|
+
position: relative;
|
16084
|
+
margin-right: var(--Rating-star-margin);
|
16067
16085
|
overflow: hidden;
|
16068
16086
|
display: block;
|
16069
|
-
|
16070
|
-
|
16071
|
-
color: var(--dark);
|
16087
|
+
font-size: var(--Rating-star-size);
|
16088
|
+
line-height: 1;
|
16072
16089
|
cursor: pointer;
|
16090
|
+
user-select: none;
|
16091
|
+
color: var(--Rating-inactive-color);
|
16073
16092
|
}
|
16074
|
-
.antd-Rating.
|
16075
|
-
|
16093
|
+
.antd-Rating-star-half > svg.icon, .antd-Rating-star > svg.icon {
|
16094
|
+
display: block;
|
16095
|
+
width: 1.5rem;
|
16096
|
+
height: 1.5rem;
|
16097
|
+
top: 0;
|
16098
|
+
}
|
16099
|
+
.antd-Rating-star:last-of-type {
|
16100
|
+
margin-right: 0;
|
16076
16101
|
}
|
16077
|
-
.antd-Rating.is-disabled {
|
16102
|
+
.antd-Rating-star.is-disabled {
|
16078
16103
|
cursor: not-allowed;
|
16079
16104
|
pointer-events: none;
|
16080
16105
|
}
|
16081
|
-
.antd-Rating-half
|
16106
|
+
.antd-Rating-star-half {
|
16082
16107
|
position: absolute;
|
16083
16108
|
overflow: hidden;
|
16084
16109
|
display: block;
|
@@ -16086,8 +16111,17 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16086
16111
|
top: 0;
|
16087
16112
|
left: 0;
|
16088
16113
|
width: 50%;
|
16089
|
-
|
16090
|
-
|
16114
|
+
}
|
16115
|
+
.antd-Rating-text {
|
16116
|
+
font-size: var(--fontSizeSm);
|
16117
|
+
color: var(--text-color);
|
16118
|
+
font-weight: var(--fontWeightNormal);
|
16119
|
+
}
|
16120
|
+
.antd-Rating-text--left {
|
16121
|
+
margin-right: var(--Rating-star-margin);
|
16122
|
+
}
|
16123
|
+
.antd-Rating-text--right {
|
16124
|
+
margin-left: var(--Rating-star-margin);
|
16091
16125
|
}
|
16092
16126
|
|
16093
16127
|
.antd-RatingControl {
|