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/cxd-ie11.css
CHANGED
@@ -1048,7 +1048,9 @@
|
|
1048
1048
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
1049
1049
|
--ResultBox-value-bg: #f5f5f5;
|
1050
1050
|
--ResultBox-value-color: #000;
|
1051
|
-
--Rating-
|
1051
|
+
--Rating-inactive-color: #e6e6e8;
|
1052
|
+
--Rating-star-margin: 0.5rem;
|
1053
|
+
--Rating-star-size: 1.5rem;
|
1052
1054
|
--Satus-icon-width: var(--gap-lg);
|
1053
1055
|
--Satus-icon-height: var(--Satus-icon-width);
|
1054
1056
|
--Sparkline-line-color: var(--info);
|
@@ -1739,6 +1741,7 @@
|
|
1739
1741
|
--Satus-icon-width: 0.875rem;
|
1740
1742
|
--Tree-itemHeight: 2rem;
|
1741
1743
|
--Progress-borderRadius: 1rem;
|
1744
|
+
--Rating-inactive-color: #e6e6e8;
|
1742
1745
|
}
|
1743
1746
|
|
1744
1747
|
/* Reset
|
@@ -16388,22 +16391,45 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16388
16391
|
}
|
16389
16392
|
|
16390
16393
|
.cxd-Rating {
|
16394
|
+
display: flex;
|
16391
16395
|
position: relative;
|
16396
|
+
align-items: center;
|
16397
|
+
justify-content: flex-start;
|
16398
|
+
flex-flow: row wrap;
|
16399
|
+
}
|
16400
|
+
.cxd-Rating > ul {
|
16401
|
+
display: flex;
|
16402
|
+
padding: unset;
|
16403
|
+
margin: unset;
|
16404
|
+
align-items: center;
|
16405
|
+
justify-content: flex-start;
|
16406
|
+
flex-flow: row wrap;
|
16407
|
+
}
|
16408
|
+
.cxd-Rating-star {
|
16409
|
+
position: relative;
|
16410
|
+
margin-right: var(--Rating-star-margin);
|
16392
16411
|
overflow: hidden;
|
16393
16412
|
display: block;
|
16394
|
-
|
16395
|
-
|
16396
|
-
color: var(--dark);
|
16413
|
+
font-size: var(--Rating-star-size);
|
16414
|
+
line-height: 1;
|
16397
16415
|
cursor: pointer;
|
16416
|
+
user-select: none;
|
16417
|
+
color: var(--Rating-inactive-color);
|
16398
16418
|
}
|
16399
|
-
.cxd-Rating.
|
16400
|
-
|
16419
|
+
.cxd-Rating-star-half > svg.icon, .cxd-Rating-star > svg.icon {
|
16420
|
+
display: block;
|
16421
|
+
width: 1.5rem;
|
16422
|
+
height: 1.5rem;
|
16423
|
+
top: 0;
|
16424
|
+
}
|
16425
|
+
.cxd-Rating-star:last-of-type {
|
16426
|
+
margin-right: 0;
|
16401
16427
|
}
|
16402
|
-
.cxd-Rating.is-disabled {
|
16428
|
+
.cxd-Rating-star.is-disabled {
|
16403
16429
|
cursor: not-allowed;
|
16404
16430
|
pointer-events: none;
|
16405
16431
|
}
|
16406
|
-
.cxd-Rating-half
|
16432
|
+
.cxd-Rating-star-half {
|
16407
16433
|
position: absolute;
|
16408
16434
|
overflow: hidden;
|
16409
16435
|
display: block;
|
@@ -16411,8 +16437,17 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16411
16437
|
top: 0;
|
16412
16438
|
left: 0;
|
16413
16439
|
width: 50%;
|
16414
|
-
|
16415
|
-
|
16440
|
+
}
|
16441
|
+
.cxd-Rating-text {
|
16442
|
+
font-size: var(--fontSizeSm);
|
16443
|
+
color: var(--text-color);
|
16444
|
+
font-weight: var(--fontWeightNormal);
|
16445
|
+
}
|
16446
|
+
.cxd-Rating-text--left {
|
16447
|
+
margin-right: var(--Rating-star-margin);
|
16448
|
+
}
|
16449
|
+
.cxd-Rating-text--right {
|
16450
|
+
margin-left: var(--Rating-star-margin);
|
16416
16451
|
}
|
16417
16452
|
|
16418
16453
|
.cxd-RatingControl {
|
package/lib/themes/cxd.css
CHANGED
@@ -1048,7 +1048,9 @@
|
|
1048
1048
|
--ResultBox-value--onHover-bg: rgba(0, 145, 255, 0.1);
|
1049
1049
|
--ResultBox-value-bg: #f5f5f5;
|
1050
1050
|
--ResultBox-value-color: #000;
|
1051
|
-
--Rating-
|
1051
|
+
--Rating-inactive-color: #e6e6e8;
|
1052
|
+
--Rating-star-margin: 0.5rem;
|
1053
|
+
--Rating-star-size: 1.5rem;
|
1052
1054
|
--Satus-icon-width: var(--gap-lg);
|
1053
1055
|
--Satus-icon-height: var(--Satus-icon-width);
|
1054
1056
|
--Sparkline-line-color: var(--info);
|
@@ -1739,6 +1741,7 @@
|
|
1739
1741
|
--Satus-icon-width: 0.875rem;
|
1740
1742
|
--Tree-itemHeight: 2rem;
|
1741
1743
|
--Progress-borderRadius: 1rem;
|
1744
|
+
--Rating-inactive-color: #e6e6e8;
|
1742
1745
|
}
|
1743
1746
|
|
1744
1747
|
/* Reset
|
@@ -16388,22 +16391,45 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16388
16391
|
}
|
16389
16392
|
|
16390
16393
|
.cxd-Rating {
|
16394
|
+
display: flex;
|
16391
16395
|
position: relative;
|
16396
|
+
align-items: center;
|
16397
|
+
justify-content: flex-start;
|
16398
|
+
flex-flow: row wrap;
|
16399
|
+
}
|
16400
|
+
.cxd-Rating > ul {
|
16401
|
+
display: flex;
|
16402
|
+
padding: unset;
|
16403
|
+
margin: unset;
|
16404
|
+
align-items: center;
|
16405
|
+
justify-content: flex-start;
|
16406
|
+
flex-flow: row wrap;
|
16407
|
+
}
|
16408
|
+
.cxd-Rating-star {
|
16409
|
+
position: relative;
|
16410
|
+
margin-right: var(--Rating-star-margin);
|
16392
16411
|
overflow: hidden;
|
16393
16412
|
display: block;
|
16394
|
-
|
16395
|
-
|
16396
|
-
color: var(--dark);
|
16413
|
+
font-size: var(--Rating-star-size);
|
16414
|
+
line-height: 1;
|
16397
16415
|
cursor: pointer;
|
16416
|
+
user-select: none;
|
16417
|
+
color: var(--Rating-inactive-color);
|
16398
16418
|
}
|
16399
|
-
.cxd-Rating.
|
16400
|
-
|
16419
|
+
.cxd-Rating-star-half > svg.icon, .cxd-Rating-star > svg.icon {
|
16420
|
+
display: block;
|
16421
|
+
width: 1.5rem;
|
16422
|
+
height: 1.5rem;
|
16423
|
+
top: 0;
|
16424
|
+
}
|
16425
|
+
.cxd-Rating-star:last-of-type {
|
16426
|
+
margin-right: 0;
|
16401
16427
|
}
|
16402
|
-
.cxd-Rating.is-disabled {
|
16428
|
+
.cxd-Rating-star.is-disabled {
|
16403
16429
|
cursor: not-allowed;
|
16404
16430
|
pointer-events: none;
|
16405
16431
|
}
|
16406
|
-
.cxd-Rating-half
|
16432
|
+
.cxd-Rating-star-half {
|
16407
16433
|
position: absolute;
|
16408
16434
|
overflow: hidden;
|
16409
16435
|
display: block;
|
@@ -16411,8 +16437,17 @@ td.rdtQuarter.rdtDisabled > span {
|
|
16411
16437
|
top: 0;
|
16412
16438
|
left: 0;
|
16413
16439
|
width: 50%;
|
16414
|
-
|
16415
|
-
|
16440
|
+
}
|
16441
|
+
.cxd-Rating-text {
|
16442
|
+
font-size: var(--fontSizeSm);
|
16443
|
+
color: var(--text-color);
|
16444
|
+
font-weight: var(--fontWeightNormal);
|
16445
|
+
}
|
16446
|
+
.cxd-Rating-text--left {
|
16447
|
+
margin-right: var(--Rating-star-margin);
|
16448
|
+
}
|
16449
|
+
.cxd-Rating-text--right {
|
16450
|
+
margin-left: var(--Rating-star-margin);
|
16416
16451
|
}
|
16417
16452
|
|
16418
16453
|
.cxd-RatingControl {
|