@syncfusion/ej2-react-inputs 20.3.57 → 20.4.38
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 +7 -14
- package/diConfig.json +46 -5
- package/dist/ej2-react-inputs.min.js +2 -2
- package/dist/ej2-react-inputs.umd.min.js +2 -2
- package/dist/ej2-react-inputs.umd.min.js.map +1 -1
- package/dist/es6/ej2-react-inputs.es2015.js +28 -2
- package/dist/es6/ej2-react-inputs.es2015.js.map +1 -1
- package/package.json +13 -9
- package/rating.d.ts +4 -0
- package/rating.js +4 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/rating/index.d.ts +1 -0
- package/src/rating/index.js +1 -0
- package/src/rating/rating.component.d.ts +37 -0
- package/src/rating/rating.component.js +45 -0
- package/styles/bootstrap-dark.css +264 -0
- package/styles/bootstrap-dark.scss +1 -0
- package/styles/bootstrap.css +264 -0
- package/styles/bootstrap.scss +1 -0
- package/styles/bootstrap4.css +267 -2
- package/styles/bootstrap4.scss +1 -0
- package/styles/bootstrap5-dark.css +265 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +265 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/color-picker/bootstrap4.css +2 -2
- package/styles/fabric-dark.css +264 -0
- package/styles/fabric-dark.scss +1 -0
- package/styles/fabric.css +264 -0
- package/styles/fabric.scss +1 -0
- package/styles/fluent-dark.css +264 -0
- package/styles/fluent-dark.scss +1 -0
- package/styles/fluent.css +264 -0
- package/styles/fluent.scss +1 -0
- package/styles/highcontrast-light.css +264 -0
- package/styles/highcontrast-light.scss +1 -0
- package/styles/highcontrast.css +264 -0
- package/styles/highcontrast.scss +1 -0
- package/styles/material-dark.css +264 -0
- package/styles/material-dark.scss +1 -0
- package/styles/material.css +264 -0
- package/styles/material.scss +1 -0
- package/styles/rating/bootstrap-dark.css +263 -0
- package/styles/rating/bootstrap-dark.scss +1 -0
- package/styles/rating/bootstrap.css +263 -0
- package/styles/rating/bootstrap.scss +1 -0
- package/styles/rating/bootstrap4.css +264 -0
- package/styles/rating/bootstrap4.scss +1 -0
- package/styles/rating/bootstrap5-dark.css +264 -0
- package/styles/rating/bootstrap5-dark.scss +1 -0
- package/styles/rating/bootstrap5.css +264 -0
- package/styles/rating/bootstrap5.scss +1 -0
- package/styles/rating/fabric-dark.css +263 -0
- package/styles/rating/fabric-dark.scss +1 -0
- package/styles/rating/fabric.css +263 -0
- package/styles/rating/fabric.scss +1 -0
- package/styles/rating/fluent-dark.css +263 -0
- package/styles/rating/fluent-dark.scss +1 -0
- package/styles/rating/fluent.css +263 -0
- package/styles/rating/fluent.scss +1 -0
- package/styles/rating/highcontrast-light.css +263 -0
- package/styles/rating/highcontrast-light.scss +1 -0
- package/styles/rating/highcontrast.css +263 -0
- package/styles/rating/highcontrast.scss +1 -0
- package/styles/rating/material-dark.css +264 -0
- package/styles/rating/material-dark.scss +1 -0
- package/styles/rating/material.css +264 -0
- package/styles/rating/material.scss +1 -0
- package/styles/rating/tailwind-dark.css +269 -0
- package/styles/rating/tailwind-dark.scss +1 -0
- package/styles/rating/tailwind.css +269 -0
- package/styles/rating/tailwind.scss +1 -0
- package/styles/tailwind-dark.css +270 -0
- package/styles/tailwind-dark.scss +1 -0
- package/styles/tailwind.css +270 -0
- package/styles/tailwind.scss +1 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Rating, RatingModel } from '@syncfusion/ej2-inputs';
|
|
3
|
+
import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base';
|
|
4
|
+
export interface RatingTypecast {
|
|
5
|
+
fullTemplate?: string | Function | any;
|
|
6
|
+
emptyTemplate?: string | Function | any;
|
|
7
|
+
tooltipTemplate?: string | Function | any;
|
|
8
|
+
labelTemplate?: string | Function | any;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Represents the React Rating Component
|
|
12
|
+
* ```html
|
|
13
|
+
* <RatingComponent value={value}></RatingComponent>
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare class RatingComponent extends Rating {
|
|
17
|
+
state: Readonly<{
|
|
18
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
19
|
+
}> & Readonly<RatingModel & DefaultHtmlAttributes | RatingTypecast>;
|
|
20
|
+
setState: any;
|
|
21
|
+
private getDefaultAttributes;
|
|
22
|
+
initRenderCalled: boolean;
|
|
23
|
+
private checkInjectedModules;
|
|
24
|
+
private immediateRender;
|
|
25
|
+
props: Readonly<{
|
|
26
|
+
children?: React.ReactNode | React.ReactNode[];
|
|
27
|
+
}> & Readonly<RatingModel & DefaultHtmlAttributes | RatingTypecast>;
|
|
28
|
+
forceUpdate: (callBack?: () => any) => void;
|
|
29
|
+
context: Object;
|
|
30
|
+
portals: any;
|
|
31
|
+
isReactComponent: Object;
|
|
32
|
+
refs: {
|
|
33
|
+
[key: string]: React.ReactInstance;
|
|
34
|
+
};
|
|
35
|
+
constructor(props: any);
|
|
36
|
+
render(): any;
|
|
37
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var __extends = (this && this.__extends) || (function () {
|
|
2
|
+
var extendStatics = function (d, b) {
|
|
3
|
+
extendStatics = Object.setPrototypeOf ||
|
|
4
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
+
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
+
return extendStatics(d, b);
|
|
7
|
+
};
|
|
8
|
+
return function (d, b) {
|
|
9
|
+
extendStatics(d, b);
|
|
10
|
+
function __() { this.constructor = d; }
|
|
11
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
+
};
|
|
13
|
+
})();
|
|
14
|
+
import * as React from 'react';
|
|
15
|
+
import { Rating } from '@syncfusion/ej2-inputs';
|
|
16
|
+
import { ComponentBase, applyMixins } from '@syncfusion/ej2-react-base';
|
|
17
|
+
/**
|
|
18
|
+
* Represents the React Rating Component
|
|
19
|
+
* ```html
|
|
20
|
+
* <RatingComponent value={value}></RatingComponent>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
var RatingComponent = /** @class */ (function (_super) {
|
|
24
|
+
__extends(RatingComponent, _super);
|
|
25
|
+
function RatingComponent(props) {
|
|
26
|
+
var _this = _super.call(this, props) || this;
|
|
27
|
+
_this.initRenderCalled = false;
|
|
28
|
+
_this.checkInjectedModules = false;
|
|
29
|
+
_this.immediateRender = false;
|
|
30
|
+
_this.portals = [];
|
|
31
|
+
return _this;
|
|
32
|
+
}
|
|
33
|
+
RatingComponent.prototype.render = function () {
|
|
34
|
+
if (((this.element && !this.initRenderCalled) || this.refreshing) && !this.isReactForeceUpdate) {
|
|
35
|
+
_super.prototype.render.call(this);
|
|
36
|
+
this.initRenderCalled = true;
|
|
37
|
+
}
|
|
38
|
+
else {
|
|
39
|
+
return React.createElement(React.Fragment, null, [].concat(React.createElement("input", this.getDefaultAttributes()), this.portals));
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
return RatingComponent;
|
|
43
|
+
}(Rating));
|
|
44
|
+
export { RatingComponent };
|
|
45
|
+
applyMixins(RatingComponent, [ComponentBase, React.Component]);
|
|
@@ -6766,4 +6766,268 @@ body.e-colorpicker-overflow {
|
|
|
6766
6766
|
.e-popup.e-tooltip-wrap.e-color-picker-tooltip {
|
|
6767
6767
|
background-color: #fff;
|
|
6768
6768
|
border-color: #fff;
|
|
6769
|
+
}
|
|
6770
|
+
|
|
6771
|
+
.e-rating-container {
|
|
6772
|
+
display: -ms-inline-flexbox;
|
|
6773
|
+
display: inline-flex;
|
|
6774
|
+
-ms-flex-wrap: wrap;
|
|
6775
|
+
flex-wrap: wrap;
|
|
6776
|
+
-ms-flex-pack: center;
|
|
6777
|
+
justify-content: center;
|
|
6778
|
+
-ms-flex-align: center;
|
|
6779
|
+
align-items: center;
|
|
6780
|
+
min-width: max-content;
|
|
6781
|
+
}
|
|
6782
|
+
.e-rating-container .e-rating {
|
|
6783
|
+
display: none;
|
|
6784
|
+
}
|
|
6785
|
+
.e-rating-container .e-rating-item-list {
|
|
6786
|
+
display: -ms-inline-flexbox;
|
|
6787
|
+
display: inline-flex;
|
|
6788
|
+
padding: 0;
|
|
6789
|
+
margin: 4px;
|
|
6790
|
+
}
|
|
6791
|
+
.e-rating-container .e-rating-item-list:focus-visible:not(:hover) .e-rating-focus {
|
|
6792
|
+
outline: 1px solid;
|
|
6793
|
+
}
|
|
6794
|
+
.e-rating-container .e-rating-item-list:focus-visible {
|
|
6795
|
+
outline: none;
|
|
6796
|
+
}
|
|
6797
|
+
.e-rating-container.e-rating-readonly {
|
|
6798
|
+
cursor: default;
|
|
6799
|
+
pointer-events: none;
|
|
6800
|
+
}
|
|
6801
|
+
.e-rating-container .e-rating-item-container {
|
|
6802
|
+
cursor: pointer;
|
|
6803
|
+
font-size: 20px;
|
|
6804
|
+
padding: 4px;
|
|
6805
|
+
line-height: 9px;
|
|
6806
|
+
display: block;
|
|
6807
|
+
position: relative;
|
|
6808
|
+
}
|
|
6809
|
+
.e-rating-container .e-rating-item-container .e-rating-item {
|
|
6810
|
+
display: block;
|
|
6811
|
+
}
|
|
6812
|
+
.e-rating-container.e-rating-animation:not(.e-disabled) .e-rating-item-container:hover .e-rating-item {
|
|
6813
|
+
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
6814
|
+
transform: scale(1.4);
|
|
6815
|
+
}
|
|
6816
|
+
.e-rating-container.e-disabled {
|
|
6817
|
+
cursor: default;
|
|
6818
|
+
pointer-events: none;
|
|
6819
|
+
}
|
|
6820
|
+
.e-rating-container.e-rating-hidden {
|
|
6821
|
+
display: none;
|
|
6822
|
+
}
|
|
6823
|
+
.e-rating-container .e-reset {
|
|
6824
|
+
cursor: pointer;
|
|
6825
|
+
margin: auto 2px 6px;
|
|
6826
|
+
font-size: 16px;
|
|
6827
|
+
padding: 2px;
|
|
6828
|
+
}
|
|
6829
|
+
.e-rating-container .e-reset.e-disabled {
|
|
6830
|
+
cursor: default;
|
|
6831
|
+
}
|
|
6832
|
+
.e-rating-container .e-rating-label {
|
|
6833
|
+
font-size: 12px;
|
|
6834
|
+
line-height: 18px;
|
|
6835
|
+
}
|
|
6836
|
+
.e-rating-container .e-rating-label.e-label-right, .e-rating-container .e-rating-label.e-label-left {
|
|
6837
|
+
min-width: 50px;
|
|
6838
|
+
}
|
|
6839
|
+
.e-rating-container .e-rating-label.e-label-bottom, .e-rating-container .e-rating-label.e-label-top {
|
|
6840
|
+
-ms-flex-preferred-size: 100%;
|
|
6841
|
+
flex-basis: 100%;
|
|
6842
|
+
width: 0;
|
|
6843
|
+
text-align: center;
|
|
6844
|
+
}
|
|
6845
|
+
.e-rating-container .e-rating-label.e-label-right {
|
|
6846
|
+
text-align: left;
|
|
6847
|
+
margin: auto 4px;
|
|
6848
|
+
}
|
|
6849
|
+
.e-rating-container .e-rating-label.e-label-left {
|
|
6850
|
+
text-align: right;
|
|
6851
|
+
margin: auto 4px;
|
|
6852
|
+
}
|
|
6853
|
+
.e-rating-container .e-rating-label.e-label-top {
|
|
6854
|
+
margin: 8px 0;
|
|
6855
|
+
}
|
|
6856
|
+
.e-rating-container .e-rating-label.e-label-bottom {
|
|
6857
|
+
margin: 8px 0;
|
|
6858
|
+
}
|
|
6859
|
+
.e-rating-container.e-rtl .e-rating-label.e-label-right {
|
|
6860
|
+
text-align: right;
|
|
6861
|
+
}
|
|
6862
|
+
.e-rating-container.e-rtl .e-rating-label.e-label-left {
|
|
6863
|
+
text-align: left;
|
|
6864
|
+
}
|
|
6865
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip {
|
|
6866
|
+
display: none;
|
|
6867
|
+
-ms-flex-pack: center;
|
|
6868
|
+
justify-content: center;
|
|
6869
|
+
left: 50%;
|
|
6870
|
+
top: -8px;
|
|
6871
|
+
transform: translate(-50%, -100%);
|
|
6872
|
+
}
|
|
6873
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip.e-show-tooltip {
|
|
6874
|
+
display: -ms-inline-flexbox;
|
|
6875
|
+
display: inline-flex;
|
|
6876
|
+
}
|
|
6877
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-tip-content {
|
|
6878
|
+
width: max-content;
|
|
6879
|
+
}
|
|
6880
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-arrow-tip.e-tip-bottom {
|
|
6881
|
+
left: 50%;
|
|
6882
|
+
top: 100%;
|
|
6883
|
+
transform: translate(-50%, 0);
|
|
6884
|
+
}
|
|
6885
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-arrow-tip-inner.e-tip-bottom {
|
|
6886
|
+
top: -6px;
|
|
6887
|
+
}
|
|
6888
|
+
|
|
6889
|
+
.e-rating-tooltip .e-tip-content {
|
|
6890
|
+
text-align: center;
|
|
6891
|
+
}
|
|
6892
|
+
|
|
6893
|
+
.e-small.e-rating-container .e-rating-item-container,
|
|
6894
|
+
.e-small .e-rating-container .e-rating-item-container {
|
|
6895
|
+
font-size: 16px;
|
|
6896
|
+
line-height: 4px;
|
|
6897
|
+
}
|
|
6898
|
+
.e-small.e-rating-container .e-rating-label,
|
|
6899
|
+
.e-small .e-rating-container .e-rating-label {
|
|
6900
|
+
font-size: 10px;
|
|
6901
|
+
line-height: 16px;
|
|
6902
|
+
}
|
|
6903
|
+
.e-small.e-rating-container .e-reset,
|
|
6904
|
+
.e-small .e-rating-container .e-reset {
|
|
6905
|
+
font-size: 12px;
|
|
6906
|
+
}
|
|
6907
|
+
|
|
6908
|
+
.e-bigger.e-rating-container .e-rating-item-container,
|
|
6909
|
+
.e-bigger .e-rating-container .e-rating-item-container {
|
|
6910
|
+
font-size: 32px;
|
|
6911
|
+
line-height: 16px;
|
|
6912
|
+
}
|
|
6913
|
+
.e-bigger.e-rating-container .e-rating-label,
|
|
6914
|
+
.e-bigger .e-rating-container .e-rating-label {
|
|
6915
|
+
font-size: 14px;
|
|
6916
|
+
line-height: 22px;
|
|
6917
|
+
}
|
|
6918
|
+
.e-bigger.e-rating-container .e-reset,
|
|
6919
|
+
.e-bigger .e-rating-container .e-reset {
|
|
6920
|
+
font-size: 28px;
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
.e-bigger.e-small.e-rating-container .e-rating-item-container,
|
|
6924
|
+
.e-bigger.e-small .e-rating-container .e-rating-item-container,
|
|
6925
|
+
.e-bigger .e-small.e-rating-container .e-rating-item-container,
|
|
6926
|
+
.e-small .e-bigger.e-rating-container .e-rating-item-container {
|
|
6927
|
+
font-size: 26px;
|
|
6928
|
+
line-height: 9px;
|
|
6929
|
+
}
|
|
6930
|
+
.e-bigger.e-small.e-rating-container .e-rating-label,
|
|
6931
|
+
.e-bigger.e-small .e-rating-container .e-rating-label,
|
|
6932
|
+
.e-bigger .e-small.e-rating-container .e-rating-label,
|
|
6933
|
+
.e-small .e-bigger.e-rating-container .e-rating-label {
|
|
6934
|
+
font-size: 12px;
|
|
6935
|
+
line-height: 18px;
|
|
6936
|
+
}
|
|
6937
|
+
.e-bigger.e-small.e-rating-container .e-reset,
|
|
6938
|
+
.e-bigger.e-small .e-rating-container .e-reset,
|
|
6939
|
+
.e-bigger .e-small.e-rating-container .e-reset,
|
|
6940
|
+
.e-small .e-bigger.e-rating-container .e-reset {
|
|
6941
|
+
font-size: 22px;
|
|
6942
|
+
}
|
|
6943
|
+
|
|
6944
|
+
.e-rating-container .e-rating-item-list:focus .e-rating-focus {
|
|
6945
|
+
outline-color: #676767;
|
|
6946
|
+
border-radius: 2px;
|
|
6947
|
+
}
|
|
6948
|
+
.e-rating-container .e-reset {
|
|
6949
|
+
color: #acacac;
|
|
6950
|
+
}
|
|
6951
|
+
.e-rating-container .e-reset:hover {
|
|
6952
|
+
color: #676767;
|
|
6953
|
+
}
|
|
6954
|
+
.e-rating-container .e-reset.e-disabled {
|
|
6955
|
+
color: #505050;
|
|
6956
|
+
}
|
|
6957
|
+
.e-rating-container .e-rating-item-container .e-rating-icon {
|
|
6958
|
+
-webkit-text-fill-color: transparent;
|
|
6959
|
+
-webkit-text-stroke: 1px #676767;
|
|
6960
|
+
}
|
|
6961
|
+
.e-rating-container .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6962
|
+
background: linear-gradient(to right, #acacac var(--rating-value), transparent var(--rating-value));
|
|
6963
|
+
background-clip: text;
|
|
6964
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6965
|
+
-webkit-background-clip: text;
|
|
6966
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6967
|
+
-webkit-text-stroke: 1px #acacac;
|
|
6968
|
+
}
|
|
6969
|
+
.e-rating-container .e-rating-item-container.e-selected-value .e-rating-icon {
|
|
6970
|
+
-webkit-text-stroke: 1px #57a5ff;
|
|
6971
|
+
}
|
|
6972
|
+
.e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6973
|
+
background: linear-gradient(to right, #57a5ff var(--rating-value), transparent var(--rating-value));
|
|
6974
|
+
background-clip: text;
|
|
6975
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6976
|
+
-webkit-background-clip: text;
|
|
6977
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6978
|
+
-webkit-text-stroke: 1px #57a5ff;
|
|
6979
|
+
}
|
|
6980
|
+
.e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
6981
|
+
background: linear-gradient(to right, #57a5ff var(--rating-value), transparent var(--rating-value));
|
|
6982
|
+
background-clip: text;
|
|
6983
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6984
|
+
-webkit-background-clip: text;
|
|
6985
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6986
|
+
-webkit-text-stroke: 1px #57a5ff;
|
|
6987
|
+
}
|
|
6988
|
+
.e-rating-container.e-rtl .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6989
|
+
background: linear-gradient(to left, #acacac var(--rating-value), transparent var(--rating-value));
|
|
6990
|
+
background-clip: text;
|
|
6991
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6992
|
+
-webkit-background-clip: text;
|
|
6993
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6994
|
+
}
|
|
6995
|
+
.e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6996
|
+
background: linear-gradient(to left, #57a5ff var(--rating-value), transparent var(--rating-value));
|
|
6997
|
+
background-clip: text;
|
|
6998
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6999
|
+
-webkit-background-clip: text;
|
|
7000
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
7001
|
+
}
|
|
7002
|
+
.e-rating-container.e-rtl .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
7003
|
+
background: linear-gradient(to left, #57a5ff var(--rating-value), transparent var(--rating-value));
|
|
7004
|
+
background-clip: text;
|
|
7005
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7006
|
+
-webkit-background-clip: text;
|
|
7007
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
7008
|
+
}
|
|
7009
|
+
.e-rating-container.e-disabled .e-rating-item-container .e-rating-icon {
|
|
7010
|
+
-webkit-text-stroke: 1px #505050;
|
|
7011
|
+
}
|
|
7012
|
+
.e-rating-container.e-disabled .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
7013
|
+
background: linear-gradient(to right, #505050 var(--rating-value), transparent var(--rating-value));
|
|
7014
|
+
background-clip: text;
|
|
7015
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7016
|
+
-webkit-background-clip: text;
|
|
7017
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
7018
|
+
-webkit-text-stroke: 1px #505050;
|
|
7019
|
+
}
|
|
7020
|
+
.e-rating-container.e-disabled.e-rtl .e-rating-item-container .e-rating-icon {
|
|
7021
|
+
background: linear-gradient(to left, #505050 var(--rating-value), transparent var(--rating-value));
|
|
7022
|
+
background-clip: text;
|
|
7023
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7024
|
+
-webkit-background-clip: text;
|
|
7025
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
7026
|
+
}
|
|
7027
|
+
.e-rating-container.e-disabled.e-rtl.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled.e-rtl.e-rating-intermediate .e-rating-icon {
|
|
7028
|
+
background: linear-gradient(to left, #505050 var(--rating-value), transparent var(--rating-value));
|
|
7029
|
+
background-clip: text;
|
|
7030
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7031
|
+
-webkit-background-clip: text;
|
|
7032
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6769
7033
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -6745,4 +6745,268 @@ body.e-colorpicker-overflow {
|
|
|
6745
6745
|
.e-popup.e-tooltip-wrap.e-color-picker-tooltip {
|
|
6746
6746
|
background-color: #fff;
|
|
6747
6747
|
border-color: #fff;
|
|
6748
|
+
}
|
|
6749
|
+
|
|
6750
|
+
.e-rating-container {
|
|
6751
|
+
display: -ms-inline-flexbox;
|
|
6752
|
+
display: inline-flex;
|
|
6753
|
+
-ms-flex-wrap: wrap;
|
|
6754
|
+
flex-wrap: wrap;
|
|
6755
|
+
-ms-flex-pack: center;
|
|
6756
|
+
justify-content: center;
|
|
6757
|
+
-ms-flex-align: center;
|
|
6758
|
+
align-items: center;
|
|
6759
|
+
min-width: max-content;
|
|
6760
|
+
}
|
|
6761
|
+
.e-rating-container .e-rating {
|
|
6762
|
+
display: none;
|
|
6763
|
+
}
|
|
6764
|
+
.e-rating-container .e-rating-item-list {
|
|
6765
|
+
display: -ms-inline-flexbox;
|
|
6766
|
+
display: inline-flex;
|
|
6767
|
+
padding: 0;
|
|
6768
|
+
margin: 4px;
|
|
6769
|
+
}
|
|
6770
|
+
.e-rating-container .e-rating-item-list:focus-visible:not(:hover) .e-rating-focus {
|
|
6771
|
+
outline: 1px solid;
|
|
6772
|
+
}
|
|
6773
|
+
.e-rating-container .e-rating-item-list:focus-visible {
|
|
6774
|
+
outline: none;
|
|
6775
|
+
}
|
|
6776
|
+
.e-rating-container.e-rating-readonly {
|
|
6777
|
+
cursor: default;
|
|
6778
|
+
pointer-events: none;
|
|
6779
|
+
}
|
|
6780
|
+
.e-rating-container .e-rating-item-container {
|
|
6781
|
+
cursor: pointer;
|
|
6782
|
+
font-size: 20px;
|
|
6783
|
+
padding: 4px;
|
|
6784
|
+
line-height: 9px;
|
|
6785
|
+
display: block;
|
|
6786
|
+
position: relative;
|
|
6787
|
+
}
|
|
6788
|
+
.e-rating-container .e-rating-item-container .e-rating-item {
|
|
6789
|
+
display: block;
|
|
6790
|
+
}
|
|
6791
|
+
.e-rating-container.e-rating-animation:not(.e-disabled) .e-rating-item-container:hover .e-rating-item {
|
|
6792
|
+
transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
|
|
6793
|
+
transform: scale(1.4);
|
|
6794
|
+
}
|
|
6795
|
+
.e-rating-container.e-disabled {
|
|
6796
|
+
cursor: default;
|
|
6797
|
+
pointer-events: none;
|
|
6798
|
+
}
|
|
6799
|
+
.e-rating-container.e-rating-hidden {
|
|
6800
|
+
display: none;
|
|
6801
|
+
}
|
|
6802
|
+
.e-rating-container .e-reset {
|
|
6803
|
+
cursor: pointer;
|
|
6804
|
+
margin: auto 2px 6px;
|
|
6805
|
+
font-size: 16px;
|
|
6806
|
+
padding: 2px;
|
|
6807
|
+
}
|
|
6808
|
+
.e-rating-container .e-reset.e-disabled {
|
|
6809
|
+
cursor: default;
|
|
6810
|
+
}
|
|
6811
|
+
.e-rating-container .e-rating-label {
|
|
6812
|
+
font-size: 12px;
|
|
6813
|
+
line-height: 18px;
|
|
6814
|
+
}
|
|
6815
|
+
.e-rating-container .e-rating-label.e-label-right, .e-rating-container .e-rating-label.e-label-left {
|
|
6816
|
+
min-width: 50px;
|
|
6817
|
+
}
|
|
6818
|
+
.e-rating-container .e-rating-label.e-label-bottom, .e-rating-container .e-rating-label.e-label-top {
|
|
6819
|
+
-ms-flex-preferred-size: 100%;
|
|
6820
|
+
flex-basis: 100%;
|
|
6821
|
+
width: 0;
|
|
6822
|
+
text-align: center;
|
|
6823
|
+
}
|
|
6824
|
+
.e-rating-container .e-rating-label.e-label-right {
|
|
6825
|
+
text-align: left;
|
|
6826
|
+
margin: auto 4px;
|
|
6827
|
+
}
|
|
6828
|
+
.e-rating-container .e-rating-label.e-label-left {
|
|
6829
|
+
text-align: right;
|
|
6830
|
+
margin: auto 8px;
|
|
6831
|
+
}
|
|
6832
|
+
.e-rating-container .e-rating-label.e-label-top {
|
|
6833
|
+
margin: 8px 0;
|
|
6834
|
+
}
|
|
6835
|
+
.e-rating-container .e-rating-label.e-label-bottom {
|
|
6836
|
+
margin: 9px 0;
|
|
6837
|
+
}
|
|
6838
|
+
.e-rating-container.e-rtl .e-rating-label.e-label-right {
|
|
6839
|
+
text-align: right;
|
|
6840
|
+
}
|
|
6841
|
+
.e-rating-container.e-rtl .e-rating-label.e-label-left {
|
|
6842
|
+
text-align: left;
|
|
6843
|
+
}
|
|
6844
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip {
|
|
6845
|
+
display: none;
|
|
6846
|
+
-ms-flex-pack: center;
|
|
6847
|
+
justify-content: center;
|
|
6848
|
+
left: 50%;
|
|
6849
|
+
top: -8px;
|
|
6850
|
+
transform: translate(-50%, -100%);
|
|
6851
|
+
}
|
|
6852
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip.e-show-tooltip {
|
|
6853
|
+
display: -ms-inline-flexbox;
|
|
6854
|
+
display: inline-flex;
|
|
6855
|
+
}
|
|
6856
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-tip-content {
|
|
6857
|
+
width: max-content;
|
|
6858
|
+
}
|
|
6859
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-arrow-tip.e-tip-bottom {
|
|
6860
|
+
left: 50%;
|
|
6861
|
+
top: 100%;
|
|
6862
|
+
transform: translate(-50%, 0);
|
|
6863
|
+
}
|
|
6864
|
+
.e-rating-container .e-tooltip-wrap.e-rating-tooltip .e-arrow-tip-inner.e-tip-bottom {
|
|
6865
|
+
top: -6px;
|
|
6866
|
+
}
|
|
6867
|
+
|
|
6868
|
+
.e-rating-tooltip .e-tip-content {
|
|
6869
|
+
text-align: center;
|
|
6870
|
+
}
|
|
6871
|
+
|
|
6872
|
+
.e-small.e-rating-container .e-rating-item-container,
|
|
6873
|
+
.e-small .e-rating-container .e-rating-item-container {
|
|
6874
|
+
font-size: 16px;
|
|
6875
|
+
line-height: 4px;
|
|
6876
|
+
}
|
|
6877
|
+
.e-small.e-rating-container .e-rating-label,
|
|
6878
|
+
.e-small .e-rating-container .e-rating-label {
|
|
6879
|
+
font-size: 10px;
|
|
6880
|
+
line-height: 16px;
|
|
6881
|
+
}
|
|
6882
|
+
.e-small.e-rating-container .e-reset,
|
|
6883
|
+
.e-small .e-rating-container .e-reset {
|
|
6884
|
+
font-size: 12px;
|
|
6885
|
+
}
|
|
6886
|
+
|
|
6887
|
+
.e-bigger.e-rating-container .e-rating-item-container,
|
|
6888
|
+
.e-bigger .e-rating-container .e-rating-item-container {
|
|
6889
|
+
font-size: 32px;
|
|
6890
|
+
line-height: 16px;
|
|
6891
|
+
}
|
|
6892
|
+
.e-bigger.e-rating-container .e-rating-label,
|
|
6893
|
+
.e-bigger .e-rating-container .e-rating-label {
|
|
6894
|
+
font-size: 14px;
|
|
6895
|
+
line-height: 22px;
|
|
6896
|
+
}
|
|
6897
|
+
.e-bigger.e-rating-container .e-reset,
|
|
6898
|
+
.e-bigger .e-rating-container .e-reset {
|
|
6899
|
+
font-size: 28px;
|
|
6900
|
+
}
|
|
6901
|
+
|
|
6902
|
+
.e-bigger.e-small.e-rating-container .e-rating-item-container,
|
|
6903
|
+
.e-bigger.e-small .e-rating-container .e-rating-item-container,
|
|
6904
|
+
.e-bigger .e-small.e-rating-container .e-rating-item-container,
|
|
6905
|
+
.e-small .e-bigger.e-rating-container .e-rating-item-container {
|
|
6906
|
+
font-size: 26px;
|
|
6907
|
+
line-height: 9px;
|
|
6908
|
+
}
|
|
6909
|
+
.e-bigger.e-small.e-rating-container .e-rating-label,
|
|
6910
|
+
.e-bigger.e-small .e-rating-container .e-rating-label,
|
|
6911
|
+
.e-bigger .e-small.e-rating-container .e-rating-label,
|
|
6912
|
+
.e-small .e-bigger.e-rating-container .e-rating-label {
|
|
6913
|
+
font-size: 12px;
|
|
6914
|
+
line-height: 18px;
|
|
6915
|
+
}
|
|
6916
|
+
.e-bigger.e-small.e-rating-container .e-reset,
|
|
6917
|
+
.e-bigger.e-small .e-rating-container .e-reset,
|
|
6918
|
+
.e-bigger .e-small.e-rating-container .e-reset,
|
|
6919
|
+
.e-small .e-bigger.e-rating-container .e-reset {
|
|
6920
|
+
font-size: 24px;
|
|
6921
|
+
}
|
|
6922
|
+
|
|
6923
|
+
.e-rating-container .e-rating-item-list:focus .e-rating-focus {
|
|
6924
|
+
outline-color: #adadad;
|
|
6925
|
+
border-radius: 2px;
|
|
6926
|
+
}
|
|
6927
|
+
.e-rating-container .e-reset {
|
|
6928
|
+
color: #555;
|
|
6929
|
+
}
|
|
6930
|
+
.e-rating-container .e-reset:hover {
|
|
6931
|
+
color: #444;
|
|
6932
|
+
}
|
|
6933
|
+
.e-rating-container .e-reset.e-disabled {
|
|
6934
|
+
color: #999;
|
|
6935
|
+
}
|
|
6936
|
+
.e-rating-container .e-rating-item-container .e-rating-icon {
|
|
6937
|
+
-webkit-text-fill-color: transparent;
|
|
6938
|
+
-webkit-text-stroke: 1px #adadad;
|
|
6939
|
+
}
|
|
6940
|
+
.e-rating-container .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6941
|
+
background: linear-gradient(to right, #444 var(--rating-value), transparent var(--rating-value));
|
|
6942
|
+
background-clip: text;
|
|
6943
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6944
|
+
-webkit-background-clip: text;
|
|
6945
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6946
|
+
-webkit-text-stroke: 1px #444;
|
|
6947
|
+
}
|
|
6948
|
+
.e-rating-container .e-rating-item-container.e-selected-value .e-rating-icon {
|
|
6949
|
+
-webkit-text-stroke: 1px #3071a9;
|
|
6950
|
+
}
|
|
6951
|
+
.e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6952
|
+
background: linear-gradient(to right, #3071a9 var(--rating-value), transparent var(--rating-value));
|
|
6953
|
+
background-clip: text;
|
|
6954
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6955
|
+
-webkit-background-clip: text;
|
|
6956
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6957
|
+
-webkit-text-stroke: 1px #3071a9;
|
|
6958
|
+
}
|
|
6959
|
+
.e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
6960
|
+
background: linear-gradient(to right, #317ab9 var(--rating-value), transparent var(--rating-value));
|
|
6961
|
+
background-clip: text;
|
|
6962
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6963
|
+
-webkit-background-clip: text;
|
|
6964
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6965
|
+
-webkit-text-stroke: 1px #317ab9;
|
|
6966
|
+
}
|
|
6967
|
+
.e-rating-container.e-rtl .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6968
|
+
background: linear-gradient(to left, #444 var(--rating-value), transparent var(--rating-value));
|
|
6969
|
+
background-clip: text;
|
|
6970
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6971
|
+
-webkit-background-clip: text;
|
|
6972
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6973
|
+
}
|
|
6974
|
+
.e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list:hover .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6975
|
+
background: linear-gradient(to left, #3071a9 var(--rating-value), transparent var(--rating-value));
|
|
6976
|
+
background-clip: text;
|
|
6977
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6978
|
+
-webkit-background-clip: text;
|
|
6979
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6980
|
+
}
|
|
6981
|
+
.e-rating-container.e-rtl .e-rating-item-list .e-rating-item-container.e-rating-selected:active .e-rating-icon, .e-rating-container.e-rtl .e-rating-item-list .e-rating-item-container.e-rating-intermediate:active .e-rating-icon {
|
|
6982
|
+
background: linear-gradient(to left, #317ab9 var(--rating-value), transparent var(--rating-value));
|
|
6983
|
+
background-clip: text;
|
|
6984
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6985
|
+
-webkit-background-clip: text;
|
|
6986
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6987
|
+
}
|
|
6988
|
+
.e-rating-container.e-disabled .e-rating-item-container .e-rating-icon {
|
|
6989
|
+
-webkit-text-stroke: 1px #999;
|
|
6990
|
+
}
|
|
6991
|
+
.e-rating-container.e-disabled .e-rating-item-container.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled .e-rating-item-container.e-rating-intermediate .e-rating-icon {
|
|
6992
|
+
background: linear-gradient(to right, #999 var(--rating-value), transparent var(--rating-value));
|
|
6993
|
+
background-clip: text;
|
|
6994
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
6995
|
+
-webkit-background-clip: text;
|
|
6996
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6997
|
+
-webkit-text-stroke: 1px #999;
|
|
6998
|
+
}
|
|
6999
|
+
.e-rating-container.e-disabled.e-rtl .e-rating-item-container .e-rating-icon {
|
|
7000
|
+
background: linear-gradient(to left, #999 var(--rating-value), transparent var(--rating-value));
|
|
7001
|
+
background-clip: text;
|
|
7002
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7003
|
+
-webkit-background-clip: text;
|
|
7004
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
7005
|
+
}
|
|
7006
|
+
.e-rating-container.e-disabled.e-rtl.e-rating-selected .e-rating-icon, .e-rating-container.e-disabled.e-rtl.e-rating-intermediate .e-rating-icon {
|
|
7007
|
+
background: linear-gradient(to left, #999 var(--rating-value), transparent var(--rating-value));
|
|
7008
|
+
background-clip: text;
|
|
7009
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
7010
|
+
-webkit-background-clip: text;
|
|
7011
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
6748
7012
|
}
|
package/styles/bootstrap.scss
CHANGED