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/sdk/sdk-ie11.css
CHANGED
@@ -37361,25 +37361,52 @@ readers do not read off random characters that represent icons */
|
|
37361
37361
|
}
|
37362
37362
|
|
37363
37363
|
.amis-scope .cxd-Rating {
|
37364
|
+
display: flex;
|
37364
37365
|
position: relative;
|
37366
|
+
align-items: center;
|
37367
|
+
justify-content: flex-start;
|
37368
|
+
flex-flow: row wrap;
|
37369
|
+
}
|
37370
|
+
|
37371
|
+
.amis-scope .cxd-Rating > ul {
|
37372
|
+
display: flex;
|
37373
|
+
padding: unset;
|
37374
|
+
margin: unset;
|
37375
|
+
align-items: center;
|
37376
|
+
justify-content: flex-start;
|
37377
|
+
flex-flow: row wrap;
|
37378
|
+
}
|
37379
|
+
|
37380
|
+
.amis-scope .cxd-Rating-star {
|
37381
|
+
position: relative;
|
37382
|
+
margin-right: 0.5rem;
|
37365
37383
|
overflow: hidden;
|
37366
37384
|
display: block;
|
37367
|
-
float: left;
|
37368
37385
|
font-size: 1.5rem;
|
37369
|
-
|
37386
|
+
line-height: 1;
|
37370
37387
|
cursor: pointer;
|
37388
|
+
user-select: none;
|
37389
|
+
color: #e6e6e8;
|
37371
37390
|
}
|
37372
37391
|
|
37373
|
-
.amis-scope .cxd-Rating
|
37374
|
-
|
37392
|
+
.amis-scope .cxd-Rating-star-half > svg.icon,
|
37393
|
+
.amis-scope .cxd-Rating-star > svg.icon {
|
37394
|
+
display: block;
|
37395
|
+
width: 1.5rem;
|
37396
|
+
height: 1.5rem;
|
37397
|
+
top: 0;
|
37375
37398
|
}
|
37376
37399
|
|
37377
|
-
.amis-scope .cxd-Rating
|
37400
|
+
.amis-scope .cxd-Rating-star:last-of-type {
|
37401
|
+
margin-right: 0;
|
37402
|
+
}
|
37403
|
+
|
37404
|
+
.amis-scope .cxd-Rating-star.is-disabled {
|
37378
37405
|
cursor: not-allowed;
|
37379
37406
|
pointer-events: none;
|
37380
37407
|
}
|
37381
37408
|
|
37382
|
-
.amis-scope .cxd-Rating-half
|
37409
|
+
.amis-scope .cxd-Rating-star-half {
|
37383
37410
|
position: absolute;
|
37384
37411
|
overflow: hidden;
|
37385
37412
|
display: block;
|
@@ -37387,8 +37414,20 @@ readers do not read off random characters that represent icons */
|
|
37387
37414
|
top: 0;
|
37388
37415
|
left: 0;
|
37389
37416
|
width: 50%;
|
37390
|
-
|
37391
|
-
|
37417
|
+
}
|
37418
|
+
|
37419
|
+
.amis-scope .cxd-Rating-text {
|
37420
|
+
font-size: 0.75rem;
|
37421
|
+
color: #151a26;
|
37422
|
+
font-weight: 400;
|
37423
|
+
}
|
37424
|
+
|
37425
|
+
.amis-scope .cxd-Rating-text--left {
|
37426
|
+
margin-right: 0.5rem;
|
37427
|
+
}
|
37428
|
+
|
37429
|
+
.amis-scope .cxd-Rating-text--right {
|
37430
|
+
margin-left: 0.5rem;
|
37392
37431
|
}
|
37393
37432
|
|
37394
37433
|
.amis-scope .cxd-RatingControl {
|
package/sdk/sdk.css
CHANGED
@@ -20748,7 +20748,9 @@ readers do not read off random characters that represent icons */
|
|
20748
20748
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
20749
20749
|
--ResultBox-value-bg: #f5f5f5;
|
20750
20750
|
--ResultBox-value-color: #000;
|
20751
|
-
--Rating-
|
20751
|
+
--Rating-inactive-color: #e6e6e8;
|
20752
|
+
--Rating-star-margin: 0.5rem;
|
20753
|
+
--Rating-star-size: 1.5rem;
|
20752
20754
|
--Satus-icon-width: var(--gap-lg);
|
20753
20755
|
--Satus-icon-height: var(--Satus-icon-width);
|
20754
20756
|
--Sparkline-line-color: var(--info);
|
@@ -21439,6 +21441,7 @@ readers do not read off random characters that represent icons */
|
|
21439
21441
|
--Satus-icon-width: 0.875rem;
|
21440
21442
|
--Tree-itemHeight: 2rem;
|
21441
21443
|
--Progress-borderRadius: 1rem;
|
21444
|
+
--Rating-inactive-color: #e6e6e8;
|
21442
21445
|
}
|
21443
21446
|
|
21444
21447
|
/* Reset
|
@@ -38916,25 +38919,52 @@ readers do not read off random characters that represent icons */
|
|
38916
38919
|
}
|
38917
38920
|
|
38918
38921
|
.amis-scope .cxd-Rating {
|
38922
|
+
display: flex;
|
38923
|
+
position: relative;
|
38924
|
+
align-items: center;
|
38925
|
+
justify-content: flex-start;
|
38926
|
+
flex-flow: row wrap;
|
38927
|
+
}
|
38928
|
+
|
38929
|
+
.amis-scope .cxd-Rating > ul {
|
38930
|
+
display: flex;
|
38931
|
+
padding: unset;
|
38932
|
+
margin: unset;
|
38933
|
+
align-items: center;
|
38934
|
+
justify-content: flex-start;
|
38935
|
+
flex-flow: row wrap;
|
38936
|
+
}
|
38937
|
+
|
38938
|
+
.amis-scope .cxd-Rating-star {
|
38919
38939
|
position: relative;
|
38940
|
+
margin-right: var(--Rating-star-margin);
|
38920
38941
|
overflow: hidden;
|
38921
38942
|
display: block;
|
38922
|
-
|
38923
|
-
|
38924
|
-
color: var(--dark);
|
38943
|
+
font-size: var(--Rating-star-size);
|
38944
|
+
line-height: 1;
|
38925
38945
|
cursor: pointer;
|
38946
|
+
user-select: none;
|
38947
|
+
color: var(--Rating-inactive-color);
|
38926
38948
|
}
|
38927
38949
|
|
38928
|
-
.amis-scope .cxd-Rating
|
38929
|
-
|
38950
|
+
.amis-scope .cxd-Rating-star-half > svg.icon,
|
38951
|
+
.amis-scope .cxd-Rating-star > svg.icon {
|
38952
|
+
display: block;
|
38953
|
+
width: 1.5rem;
|
38954
|
+
height: 1.5rem;
|
38955
|
+
top: 0;
|
38956
|
+
}
|
38957
|
+
|
38958
|
+
.amis-scope .cxd-Rating-star:last-of-type {
|
38959
|
+
margin-right: 0;
|
38930
38960
|
}
|
38931
38961
|
|
38932
|
-
.amis-scope .cxd-Rating.is-disabled {
|
38962
|
+
.amis-scope .cxd-Rating-star.is-disabled {
|
38933
38963
|
cursor: not-allowed;
|
38934
38964
|
pointer-events: none;
|
38935
38965
|
}
|
38936
38966
|
|
38937
|
-
.amis-scope .cxd-Rating-half
|
38967
|
+
.amis-scope .cxd-Rating-star-half {
|
38938
38968
|
position: absolute;
|
38939
38969
|
overflow: hidden;
|
38940
38970
|
display: block;
|
@@ -38942,8 +38972,20 @@ readers do not read off random characters that represent icons */
|
|
38942
38972
|
top: 0;
|
38943
38973
|
left: 0;
|
38944
38974
|
width: 50%;
|
38945
|
-
|
38946
|
-
|
38975
|
+
}
|
38976
|
+
|
38977
|
+
.amis-scope .cxd-Rating-text {
|
38978
|
+
font-size: var(--fontSizeSm);
|
38979
|
+
color: var(--text-color);
|
38980
|
+
font-weight: var(--fontWeightNormal);
|
38981
|
+
}
|
38982
|
+
|
38983
|
+
.amis-scope .cxd-Rating-text--left {
|
38984
|
+
margin-right: var(--Rating-star-margin);
|
38985
|
+
}
|
38986
|
+
|
38987
|
+
.amis-scope .cxd-Rating-text--right {
|
38988
|
+
margin-left: var(--Rating-star-margin);
|
38947
38989
|
}
|
38948
38990
|
|
38949
38991
|
.amis-scope .cxd-RatingControl {
|