@hitachivantara/uikit-react-core 3.68.5 → 3.68.8
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/dist/AssetInventory/AssetInventory.js +1 -0
- package/dist/AssetInventory/AssetInventory.js.map +1 -1
- package/dist/Login/Login.js +1 -3
- package/dist/Login/Login.js.map +1 -1
- package/dist/Slider/Slider.js +7 -3
- package/dist/Slider/Slider.js.map +1 -1
- package/dist/Slider/base.js +255 -0
- package/dist/Slider/base.js.map +1 -0
- package/dist/Slider/styles.js +3 -1
- package/dist/Slider/styles.js.map +1 -1
- package/dist/legacy/AssetInventory/AssetInventory.js +2 -1
- package/dist/legacy/AssetInventory/AssetInventory.js.map +1 -1
- package/dist/legacy/Login/Login.js +1 -2
- package/dist/legacy/Login/Login.js.map +1 -1
- package/dist/legacy/Slider/Slider.js +7 -2
- package/dist/legacy/Slider/Slider.js.map +1 -1
- package/dist/legacy/Slider/base.js +248 -0
- package/dist/legacy/Slider/base.js.map +1 -0
- package/dist/legacy/Slider/styles.js +2 -1
- package/dist/legacy/Slider/styles.js.map +1 -1
- package/dist/modern/AssetInventory/AssetInventory.js +2 -1
- package/dist/modern/AssetInventory/AssetInventory.js.map +1 -1
- package/dist/modern/Login/Login.js +1 -2
- package/dist/modern/Login/Login.js.map +1 -1
- package/dist/modern/Slider/Slider.js +7 -2
- package/dist/modern/Slider/Slider.js.map +1 -1
- package/dist/modern/Slider/base.js +248 -0
- package/dist/modern/Slider/base.js.map +1 -0
- package/dist/modern/Slider/styles.js +2 -1
- package/dist/modern/Slider/styles.js.map +1 -1
- package/package.json +12 -27
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"& .rc-slider": {
|
|
3
|
+
position: "relative",
|
|
4
|
+
width: "100%",
|
|
5
|
+
height: "14px",
|
|
6
|
+
padding: " 5px 0",
|
|
7
|
+
borderRadius: "6px",
|
|
8
|
+
touchAction: "none",
|
|
9
|
+
boxSizing: "border-box",
|
|
10
|
+
"-webkit-tap-highlight-color": "rgba(0, 0, 0, 0)"
|
|
11
|
+
},
|
|
12
|
+
"& .rc-slider *": {
|
|
13
|
+
boxSizing: "border-box",
|
|
14
|
+
"-webkit-tap-highlight-color": "rgba(0, 0, 0, 0)"
|
|
15
|
+
},
|
|
16
|
+
"& .rc-slider-rail": {
|
|
17
|
+
position: "absolute",
|
|
18
|
+
width: "100%",
|
|
19
|
+
height: "4px",
|
|
20
|
+
backgroundColor: "#e9e9e9",
|
|
21
|
+
borderRadius: "6px"
|
|
22
|
+
},
|
|
23
|
+
"& .rc-slider-track": {
|
|
24
|
+
position: "absolute",
|
|
25
|
+
height: "4px",
|
|
26
|
+
backgroundColor: "#abe2fb",
|
|
27
|
+
borderRadius: "6px"
|
|
28
|
+
},
|
|
29
|
+
"& .rc-slider-handle": {
|
|
30
|
+
position: "absolute",
|
|
31
|
+
width: "14px",
|
|
32
|
+
height: "14px",
|
|
33
|
+
marginTop: "-5px",
|
|
34
|
+
backgroundColor: "#fff",
|
|
35
|
+
border: "solid 2px #96dbfa",
|
|
36
|
+
borderRadius: "50%",
|
|
37
|
+
// cursor: "pointer",
|
|
38
|
+
// cursor: "-webkit-grab",
|
|
39
|
+
cursor: "grab",
|
|
40
|
+
opacity: 0.8,
|
|
41
|
+
touchAction: "pan-x"
|
|
42
|
+
},
|
|
43
|
+
"& .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging": {
|
|
44
|
+
borderColor: "#57c5f7",
|
|
45
|
+
boxShadow: "0 0 0 5px #96dbfa"
|
|
46
|
+
},
|
|
47
|
+
"& .rc-slider-handle:focus": {
|
|
48
|
+
outline: "none",
|
|
49
|
+
boxShadow: "none"
|
|
50
|
+
},
|
|
51
|
+
"& .rc-slider-handle:focus-visible": {
|
|
52
|
+
borderColor: "#2db7f5",
|
|
53
|
+
boxShadow: "0 0 0 3px #96dbfa"
|
|
54
|
+
},
|
|
55
|
+
"& .rc-slider-handle-click-focused:focus": {
|
|
56
|
+
borderColor: "#96dbfa",
|
|
57
|
+
boxShadow: "unset"
|
|
58
|
+
},
|
|
59
|
+
"& .rc-slider-handle:hover": {
|
|
60
|
+
borderColor: "#57c5f7"
|
|
61
|
+
},
|
|
62
|
+
"& .rc-slider-handle:active": {
|
|
63
|
+
borderColor: "#57c5f7",
|
|
64
|
+
boxShadow: "0 0 5px #57c5f7",
|
|
65
|
+
// cursor: "-webkit-grabbing",
|
|
66
|
+
cursor: "grabbing"
|
|
67
|
+
},
|
|
68
|
+
"& .rc-slider-mark": {
|
|
69
|
+
position: "absolute",
|
|
70
|
+
top: "18px",
|
|
71
|
+
left: 0,
|
|
72
|
+
width: "100%",
|
|
73
|
+
fontSize: "12px"
|
|
74
|
+
},
|
|
75
|
+
"& .rc-slider-mark-text": {
|
|
76
|
+
position: "absolute",
|
|
77
|
+
display: "inline-block",
|
|
78
|
+
color: "#999",
|
|
79
|
+
textAlign: "center",
|
|
80
|
+
verticalAlign: "middle",
|
|
81
|
+
cursor: "pointer"
|
|
82
|
+
},
|
|
83
|
+
"& .rc-slider-mark-text-active": {
|
|
84
|
+
color: "#666"
|
|
85
|
+
},
|
|
86
|
+
"& .rc-slider-step": {
|
|
87
|
+
position: "absolute",
|
|
88
|
+
width: "100%",
|
|
89
|
+
height: "4px",
|
|
90
|
+
background: "transparent",
|
|
91
|
+
pointerEvents: "none"
|
|
92
|
+
},
|
|
93
|
+
"& .rc-slider-dot": {
|
|
94
|
+
position: "absolute",
|
|
95
|
+
bottom: "-2px",
|
|
96
|
+
width: "8px",
|
|
97
|
+
height: "8px",
|
|
98
|
+
verticalAlign: "middle",
|
|
99
|
+
backgroundColor: "#fff",
|
|
100
|
+
border: "2px solid #e9e9e9",
|
|
101
|
+
borderRadius: "50%",
|
|
102
|
+
cursor: "pointer"
|
|
103
|
+
},
|
|
104
|
+
"& .rc-slider-dot-active": {
|
|
105
|
+
borderColor: "#96dbfa"
|
|
106
|
+
},
|
|
107
|
+
"& .rc-slider-dot-reverse": {
|
|
108
|
+
marginRight: "-4px"
|
|
109
|
+
},
|
|
110
|
+
"& .rc-slider-disabled": {
|
|
111
|
+
backgroundColor: "#e9e9e9"
|
|
112
|
+
},
|
|
113
|
+
"& .rc-slider-disabled .rc-slider-track": {
|
|
114
|
+
backgroundColor: "#ccc"
|
|
115
|
+
},
|
|
116
|
+
"& .rc-slider-disabled .rc-slider-handle": {
|
|
117
|
+
backgroundColor: "#fff",
|
|
118
|
+
borderColor: "#ccc",
|
|
119
|
+
boxShadow: "none",
|
|
120
|
+
cursor: "not-allowed"
|
|
121
|
+
},
|
|
122
|
+
"&.rc-slider-disabled .rc-slider-dot": {
|
|
123
|
+
backgroundColor: "#fff",
|
|
124
|
+
borderColor: "#ccc",
|
|
125
|
+
boxShadow: "none",
|
|
126
|
+
cursor: "not-allowed"
|
|
127
|
+
},
|
|
128
|
+
"& .rc-slider-disabled .rc-slider-mark-text": {
|
|
129
|
+
cursor: "not-allowed !important"
|
|
130
|
+
},
|
|
131
|
+
"& .rc-slider-disabled .rc-slider-dot": {
|
|
132
|
+
cursor: "not-allowed !important"
|
|
133
|
+
},
|
|
134
|
+
"& .rc-slider-vertical": {
|
|
135
|
+
width: "14px",
|
|
136
|
+
height: "100%",
|
|
137
|
+
padding: "0 5px"
|
|
138
|
+
},
|
|
139
|
+
"& .rc-slider-vertical .rc-slider-rail": {
|
|
140
|
+
width: "4px",
|
|
141
|
+
height: "100%"
|
|
142
|
+
},
|
|
143
|
+
"& .rc-slider-vertical .rc-slider-track": {
|
|
144
|
+
bottom: 0,
|
|
145
|
+
left: "5px",
|
|
146
|
+
width: "4px"
|
|
147
|
+
},
|
|
148
|
+
"& .rc-slider-vertical .rc-slider-handle": {
|
|
149
|
+
marginTop: 0,
|
|
150
|
+
marginLeft: "-5px",
|
|
151
|
+
touchAction: "pan-y"
|
|
152
|
+
},
|
|
153
|
+
"& .rc-slider-vertical .rc-slider-mark": {
|
|
154
|
+
top: 0,
|
|
155
|
+
left: "18px",
|
|
156
|
+
height: "100%"
|
|
157
|
+
},
|
|
158
|
+
"& .rc-slider-vertical .rc-slider-step": {
|
|
159
|
+
width: "4px",
|
|
160
|
+
height: "100%"
|
|
161
|
+
},
|
|
162
|
+
"& .rc-slider-vertical .rc-slider-dot": {
|
|
163
|
+
marginLeft: "-2px"
|
|
164
|
+
},
|
|
165
|
+
"& .rc-slider-tooltip-zoom-down-enter": {
|
|
166
|
+
display: "block !important",
|
|
167
|
+
animationDuration: "0.3s",
|
|
168
|
+
animationFillMode: "both",
|
|
169
|
+
animationPlayState: "paused",
|
|
170
|
+
transform: "scale(0, 0)",
|
|
171
|
+
animationTimingFunction: "cubic-bezier(0.23, 1, 0.32, 1)"
|
|
172
|
+
},
|
|
173
|
+
"& .rc-slider-tooltip-zoom-down-appear": {
|
|
174
|
+
display: "block !important",
|
|
175
|
+
animationDuration: "0.3s",
|
|
176
|
+
animationFillMode: "both",
|
|
177
|
+
animationPlayState: "paused"
|
|
178
|
+
},
|
|
179
|
+
"& .rc-slider-tooltip-zoom-down-leave": {
|
|
180
|
+
display: "block !important",
|
|
181
|
+
animationDuration: "0.3s",
|
|
182
|
+
animationFillMode: "both",
|
|
183
|
+
animationPlayState: "paused",
|
|
184
|
+
animationTimingFunction: "cubic-bezier(0.755, 0.05, 0.855, 0.06)"
|
|
185
|
+
},
|
|
186
|
+
"& .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active": {
|
|
187
|
+
animationName: "rcSliderTooltipZoomDownIn",
|
|
188
|
+
animationPlayState: "running"
|
|
189
|
+
},
|
|
190
|
+
"& .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active": {
|
|
191
|
+
animationName: "rcSliderTooltipZoomDownIn",
|
|
192
|
+
animationPlayState: "running"
|
|
193
|
+
},
|
|
194
|
+
"& .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active": {
|
|
195
|
+
animationName: "rcSliderTooltipZoomDownOut",
|
|
196
|
+
animationPlayState: "running"
|
|
197
|
+
},
|
|
198
|
+
"&. .rc-slider-tooltip-zoom-down-appear": {
|
|
199
|
+
transform: "scale(0, 0)",
|
|
200
|
+
animationTimingFunction: "cubic-bezier(0.23, 1, 0.32, 1)"
|
|
201
|
+
},
|
|
202
|
+
"& .rc-slider-tooltip": {
|
|
203
|
+
position: "absolute",
|
|
204
|
+
top: "-9999px",
|
|
205
|
+
left: "-9999px",
|
|
206
|
+
visibility: "visible",
|
|
207
|
+
boxSizing: "border-box",
|
|
208
|
+
"-webkit-tap-highlight-color": "rgba(0, 0, 0, 0)"
|
|
209
|
+
},
|
|
210
|
+
"& .rc-slider-tooltip *": {
|
|
211
|
+
boxSizing: "border-box",
|
|
212
|
+
"-webkit-tap-highlight-color": "rgba(0, 0, 0, 0)"
|
|
213
|
+
},
|
|
214
|
+
"& .rc-slider-tooltip-hidden": {
|
|
215
|
+
display: "none"
|
|
216
|
+
},
|
|
217
|
+
"& .rc-slider-tooltip-placement-top": {
|
|
218
|
+
padding: "4px 0 8px 0"
|
|
219
|
+
},
|
|
220
|
+
"& .rc-slider-tooltip-inner": {
|
|
221
|
+
minWidth: "24px",
|
|
222
|
+
height: "24px",
|
|
223
|
+
padding: "6px 2px",
|
|
224
|
+
color: "#fff",
|
|
225
|
+
fontSize: "12px",
|
|
226
|
+
lineHeight: 1,
|
|
227
|
+
textAlign: "center",
|
|
228
|
+
textDecoration: "none",
|
|
229
|
+
backgroundColor: "#6c6c6c",
|
|
230
|
+
borderRadius: "6px",
|
|
231
|
+
boxShadow: "0 0 4px #d9d9d9"
|
|
232
|
+
},
|
|
233
|
+
"& .rc-slider-tooltip-arrow": {
|
|
234
|
+
position: "absolute",
|
|
235
|
+
width: 0,
|
|
236
|
+
height: 0,
|
|
237
|
+
borderColor: "transparent",
|
|
238
|
+
borderStyle: "solid"
|
|
239
|
+
},
|
|
240
|
+
"& .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow": {
|
|
241
|
+
bottom: "4px",
|
|
242
|
+
left: "50%",
|
|
243
|
+
marginLeft: "-4px",
|
|
244
|
+
borderWidth: "4px 4px 0",
|
|
245
|
+
borderTopColor: "#6c6c6c"
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","names":["position","width","height","padding","borderRadius","touchAction","boxSizing","backgroundColor","marginTop","border","cursor","opacity","borderColor","boxShadow","outline","top","left","fontSize","display","color","textAlign","verticalAlign","background","pointerEvents","bottom","marginRight","marginLeft","animationDuration","animationFillMode","animationPlayState","transform","animationTimingFunction","animationName","visibility","minWidth","lineHeight","textDecoration","borderStyle","borderWidth","borderTopColor"],"sources":["../../../src/Slider/base.js"],"sourcesContent":["export default {\n \"& .rc-slider\": {\n position: \"relative\",\n width: \"100%\",\n height: \"14px\",\n padding: \" 5px 0\",\n borderRadius: \"6px\",\n touchAction: \"none\",\n boxSizing: \"border-box\",\n \"-webkit-tap-highlight-color\": \"rgba(0, 0, 0, 0)\",\n },\n \"& .rc-slider *\": {\n boxSizing: \"border-box\",\n \"-webkit-tap-highlight-color\": \"rgba(0, 0, 0, 0)\",\n },\n \"& .rc-slider-rail\": {\n position: \"absolute\",\n width: \"100%\",\n height: \"4px\",\n backgroundColor: \"#e9e9e9\",\n borderRadius: \"6px\",\n },\n \"& .rc-slider-track\": {\n position: \"absolute\",\n height: \"4px\",\n backgroundColor: \"#abe2fb\",\n borderRadius: \"6px\",\n },\n \"& .rc-slider-handle\": {\n position: \"absolute\",\n width: \"14px\",\n height: \"14px\",\n marginTop: \"-5px\",\n backgroundColor: \"#fff\",\n border: \"solid 2px #96dbfa\",\n borderRadius: \"50%\",\n // cursor: \"pointer\",\n // cursor: \"-webkit-grab\",\n cursor: \"grab\",\n opacity: 0.8,\n touchAction: \"pan-x\",\n },\n \"& .rc-slider-handle-dragging.rc-slider-handle-dragging.rc-slider-handle-dragging\": {\n borderColor: \"#57c5f7\",\n boxShadow: \"0 0 0 5px #96dbfa\",\n },\n \"& .rc-slider-handle:focus\": {\n outline: \"none\",\n boxShadow: \"none\",\n },\n \"& .rc-slider-handle:focus-visible\": {\n borderColor: \"#2db7f5\",\n boxShadow: \"0 0 0 3px #96dbfa\",\n },\n \"& .rc-slider-handle-click-focused:focus\": {\n borderColor: \"#96dbfa\",\n boxShadow: \"unset\",\n },\n \"& .rc-slider-handle:hover\": {\n borderColor: \"#57c5f7\",\n },\n \"& .rc-slider-handle:active\": {\n borderColor: \"#57c5f7\",\n boxShadow: \"0 0 5px #57c5f7\",\n // cursor: \"-webkit-grabbing\",\n cursor: \"grabbing\",\n },\n \"& .rc-slider-mark\": {\n position: \"absolute\",\n top: \"18px\",\n left: 0,\n width: \"100%\",\n fontSize: \"12px\",\n },\n \"& .rc-slider-mark-text\": {\n position: \"absolute\",\n display: \"inline-block\",\n color: \"#999\",\n textAlign: \"center\",\n verticalAlign: \"middle\",\n cursor: \"pointer\",\n },\n \"& .rc-slider-mark-text-active\": {\n color: \"#666\",\n },\n \"& .rc-slider-step\": {\n position: \"absolute\",\n width: \"100%\",\n height: \"4px\",\n background: \"transparent\",\n pointerEvents: \"none\",\n },\n \"& .rc-slider-dot\": {\n position: \"absolute\",\n bottom: \"-2px\",\n width: \"8px\",\n height: \"8px\",\n verticalAlign: \"middle\",\n backgroundColor: \"#fff\",\n border: \"2px solid #e9e9e9\",\n borderRadius: \"50%\",\n cursor: \"pointer\",\n },\n \"& .rc-slider-dot-active\": {\n borderColor: \"#96dbfa\",\n },\n \"& .rc-slider-dot-reverse\": {\n marginRight: \"-4px\",\n },\n \"& .rc-slider-disabled\": {\n backgroundColor: \"#e9e9e9\",\n },\n \"& .rc-slider-disabled .rc-slider-track\": {\n backgroundColor: \"#ccc\",\n },\n \"& .rc-slider-disabled .rc-slider-handle\": {\n backgroundColor: \"#fff\",\n borderColor: \"#ccc\",\n boxShadow: \"none\",\n cursor: \"not-allowed\",\n },\n \"&.rc-slider-disabled .rc-slider-dot\": {\n backgroundColor: \"#fff\",\n borderColor: \"#ccc\",\n boxShadow: \"none\",\n cursor: \"not-allowed\",\n },\n \"& .rc-slider-disabled .rc-slider-mark-text\": {\n cursor: \"not-allowed !important\",\n },\n \"& .rc-slider-disabled .rc-slider-dot\": {\n cursor: \"not-allowed !important\",\n },\n \"& .rc-slider-vertical\": {\n width: \"14px\",\n height: \"100%\",\n padding: \"0 5px\",\n },\n \"& .rc-slider-vertical .rc-slider-rail\": {\n width: \"4px\",\n height: \"100%\",\n },\n \"& .rc-slider-vertical .rc-slider-track\": {\n bottom: 0,\n left: \"5px\",\n width: \"4px\",\n },\n \"& .rc-slider-vertical .rc-slider-handle\": {\n marginTop: 0,\n marginLeft: \"-5px\",\n touchAction: \"pan-y\",\n },\n \"& .rc-slider-vertical .rc-slider-mark\": {\n top: 0,\n left: \"18px\",\n height: \"100%\",\n },\n \"& .rc-slider-vertical .rc-slider-step\": {\n width: \"4px\",\n height: \"100%\",\n },\n \"& .rc-slider-vertical .rc-slider-dot\": {\n marginLeft: \"-2px\",\n },\n \"& .rc-slider-tooltip-zoom-down-enter\": {\n display: \"block !important\",\n animationDuration: \"0.3s\",\n animationFillMode: \"both\",\n animationPlayState: \"paused\",\n transform: \"scale(0, 0)\",\n animationTimingFunction: \"cubic-bezier(0.23, 1, 0.32, 1)\",\n },\n \"& .rc-slider-tooltip-zoom-down-appear\": {\n display: \"block !important\",\n animationDuration: \"0.3s\",\n animationFillMode: \"both\",\n animationPlayState: \"paused\",\n },\n \"& .rc-slider-tooltip-zoom-down-leave\": {\n display: \"block !important\",\n animationDuration: \"0.3s\",\n animationFillMode: \"both\",\n animationPlayState: \"paused\",\n animationTimingFunction: \"cubic-bezier(0.755, 0.05, 0.855, 0.06)\",\n },\n \"& .rc-slider-tooltip-zoom-down-enter.rc-slider-tooltip-zoom-down-enter-active\": {\n animationName: \"rcSliderTooltipZoomDownIn\",\n animationPlayState: \"running\",\n },\n \"& .rc-slider-tooltip-zoom-down-appear.rc-slider-tooltip-zoom-down-appear-active\": {\n animationName: \"rcSliderTooltipZoomDownIn\",\n animationPlayState: \"running\",\n },\n \"& .rc-slider-tooltip-zoom-down-leave.rc-slider-tooltip-zoom-down-leave-active\": {\n animationName: \"rcSliderTooltipZoomDownOut\",\n animationPlayState: \"running\",\n },\n \"&. .rc-slider-tooltip-zoom-down-appear\": {\n transform: \"scale(0, 0)\",\n animationTimingFunction: \"cubic-bezier(0.23, 1, 0.32, 1)\",\n },\n \"& .rc-slider-tooltip\": {\n position: \"absolute\",\n top: \"-9999px\",\n left: \"-9999px\",\n visibility: \"visible\",\n boxSizing: \"border-box\",\n \"-webkit-tap-highlight-color\": \"rgba(0, 0, 0, 0)\",\n },\n \"& .rc-slider-tooltip *\": {\n boxSizing: \"border-box\",\n \"-webkit-tap-highlight-color\": \"rgba(0, 0, 0, 0)\",\n },\n \"& .rc-slider-tooltip-hidden\": {\n display: \"none\",\n },\n \"& .rc-slider-tooltip-placement-top\": {\n padding: \"4px 0 8px 0\",\n },\n \"& .rc-slider-tooltip-inner\": {\n minWidth: \"24px\",\n height: \"24px\",\n padding: \"6px 2px\",\n color: \"#fff\",\n fontSize: \"12px\",\n lineHeight: 1,\n textAlign: \"center\",\n textDecoration: \"none\",\n backgroundColor: \"#6c6c6c\",\n borderRadius: \"6px\",\n boxShadow: \"0 0 4px #d9d9d9\",\n },\n \"& .rc-slider-tooltip-arrow\": {\n position: \"absolute\",\n width: 0,\n height: 0,\n borderColor: \"transparent\",\n borderStyle: \"solid\",\n },\n \"& .rc-slider-tooltip-placement-top .rc-slider-tooltip-arrow\": {\n bottom: \"4px\",\n left: \"50%\",\n marginLeft: \"-4px\",\n borderWidth: \"4px 4px 0\",\n borderTopColor: \"#6c6c6c\",\n },\n};\n"],"mappings":"AAAA,eAAe;EACb,gBAAgB;IACdA,QAAQ,EAAE,UADI;IAEdC,KAAK,EAAE,MAFO;IAGdC,MAAM,EAAE,MA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db,MAAM,EAAE,KADqD;IAE7DR,IAAI,EAAE,KAFuD;IAG7DU,UAAU,EAAE,MAHiD;IAI7DY,WAAW,EAAE,WAJgD;IAK7DC,cAAc,EAAE;EAL6C;AA/OlD,CAAf"}
|
|
@@ -5,6 +5,7 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (O
|
|
|
5
5
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
6
6
|
|
|
7
7
|
import { outlineStyles } from "../Focus/styles";
|
|
8
|
+
import base from "./base";
|
|
8
9
|
|
|
9
10
|
const styles = theme => {
|
|
10
11
|
const ring = {
|
|
@@ -55,7 +56,7 @@ const styles = theme => {
|
|
|
55
56
|
zIndex: "-3"
|
|
56
57
|
};
|
|
57
58
|
return {
|
|
58
|
-
|
|
59
|
+
sliderBase: _objectSpread({}, base),
|
|
59
60
|
rootDisabled: {
|
|
60
61
|
cursor: "not-allowed",
|
|
61
62
|
"& .rc-slider-disabled": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","names":["outlineStyles","styles","theme","ring","width","height","borderRadius","border","hv","palette","accent","acce1","opacity","content","position","top","left","atmosphere","atmo1","dragSquare","cursor","background","borderTop","atmo3","borderBottom","zIndex","dot","bottom","marginLeft","backgroundColor","atmo4","verticalAlign","root","rootDisabled","sliderContainer","marginBottom","padding","error","trackDragging","trackStandBy","sliderRoot","rootRange","handleContainer","marginTop","boxShadow","handle","handleContainerDisabled","handleHiddenContainer","display","labelContainer","alignItems","justifyContent","marginRight","labelIncluded","onlyInput","label","dotDisabled","rail","knobInner","borderColor","knobOuter","knobHidden","knobHiddenLast","touchAction","track","mark","typography","vizText","fontFamily","disabledMark","color","atmo5","sliderTooltip","maxWidth","spacing","sm","normalText","visibility"],"sources":["../../../src/Slider/styles.js"],"sourcesContent":["import { outlineStyles } from \"../Focus/styles\";\n\nconst styles = (theme) => {\n const ring = {\n width: \"32px\",\n height: \"32px\",\n borderRadius: \"50%\",\n border: `9px solid ${theme.hv.palette.accent.acce1}`,\n opacity: \"20%\",\n content: \"''\",\n position: \"absolute\",\n top: \"-10px\",\n left: \"-10px\",\n };\n const border = {\n width: \"20px\",\n height: \"20px\",\n borderRadius: \"50%\",\n border: `2px solid ${theme.hv.palette.atmosphere.atmo1}`,\n content: \"''\",\n position: \"absolute\",\n top: \"-4px\",\n left: \"-4px\",\n };\n const dragSquare = {\n cursor: \"grab\",\n width: \"calc(100% - 40px)\",\n left: \"20px\",\n height: \"27px\",\n position: \"absolute\",\n top: \"-12px\",\n content: \"''\",\n background: \"transparent\",\n borderTop: `12px solid ${theme.hv.palette.atmosphere.atmo3}`,\n borderBottom: `12px solid ${theme.hv.palette.atmosphere.atmo3}`,\n zIndex: \"-2\",\n };\n const dot = {\n position: \"absolute\",\n bottom: \"-1px\",\n marginLeft: \"0px\",\n width: \"1px\",\n height: \"4px\",\n border: \"none\",\n borderRadius: \"0%\",\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n cursor: \"pointer\",\n verticalAlign: \"middle\",\n zIndex: \"-3\",\n };\n\n return {\n root: {},\n rootDisabled: {\n cursor: \"not-allowed\",\n \"& .rc-slider-disabled\": {\n background: \"transparent\",\n },\n },\n sliderContainer: {\n marginBottom: \"18px\",\n padding: \"0 23px\",\n },\n error: {\n padding: \"0 8px\",\n },\n trackDragging: {\n cursor: \"grabbing\",\n \"& .rc-slider-track\": {\n \"&::before\": {\n ...dragSquare,\n cursor: \"grabbing\",\n },\n },\n },\n trackStandBy: {\n \"& .rc-slider-track\": {\n \"&:hover\": {\n \"&::before\": {\n ...dragSquare,\n },\n },\n },\n },\n sliderRoot: {\n zIndex: 0,\n },\n rootRange: {},\n handleContainer: {\n \"& .rc-slider-handle\": {\n cursor: \"pointer\",\n marginTop: \"-8px\",\n opacity: 1,\n \"&:active\": {\n cursor: \"grab\",\n \"&::before\": {\n ...ring,\n },\n \"&::after\": {\n ...border,\n },\n },\n \"&:hover\": {\n \"&::before\": {\n ...ring,\n },\n \"&::after\": {\n ...border,\n },\n },\n // Note about the usage of `!important below`: the way the rc-slider allows us to\n // style the knobs is through inline styles. This means that the `box-shadow`, which\n // is an inline style and is set to `none` to prevent the default rc-slider style to\n // show, can't be overriden for the focus scenario unless we use the `!important` flag.\n \"&:focus-visible\": {\n ...outlineStyles,\n boxShadow: \"0 0 0 1px #52A8EC, 0 0 0 4px rgba(29,155,209,.3)!important\",\n },\n },\n },\n handle: {},\n handleContainerDisabled: {\n \"& .rc-slider-handle\": {\n cursor: \"not-allowed\",\n marginTop: \"-8px\",\n opacity: 1,\n \"&:active\": {\n cursor: \"not-allowed\",\n },\n \"&:hover\": {\n cursor: \"not-allowed\",\n },\n },\n },\n handleHiddenContainer: {\n display: \"none\",\n },\n labelContainer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n marginBottom: \"12px\",\n marginLeft: \"20px\",\n marginRight: \"20px\",\n },\n labelIncluded: {\n justifyContent: \"space-between\",\n },\n onlyInput: {\n justifyContent: \"flex-end\",\n },\n label: {},\n dot: {\n ...dot,\n },\n dotDisabled: {\n ...dot,\n cursor: \"not-allowed\",\n },\n rail: {\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n height: \"1px\",\n zIndex: \"-3\",\n },\n knobInner: {\n borderColor: \"transparent\",\n boxShadow: \"none\",\n backgroundColor: theme.hv.palette.accent.acce1,\n width: \"16px\",\n height: \"16px\",\n },\n knobOuter: {\n position: \"relative\",\n borderColor: \"transparent\",\n borderRadius: \"50%\",\n boxShadow: \"none\",\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n width: \"32px\",\n height: \"32px\",\n top: \"-80%\",\n left: \"-80%\",\n zIndex: \"-1\",\n },\n knobHidden: {\n display: \"none\",\n },\n knobHiddenLast: {\n borderColor: \"transparent\",\n height: \"3px\",\n width: \"2px\",\n marginLeft: \"-1px\",\n border: \"none\",\n borderRadius: \"0\",\n marginTop: \"0px\",\n left: \"100%\",\n touchAction: \"none\",\n cursor: \"default\",\n },\n track: {\n backgroundColor: theme.hv.palette.accent.acce1,\n height: \"3px\",\n zIndex: \"-1\",\n marginTop: \"-1px\",\n },\n mark: {\n ...theme.hv.typography.vizText,\n fontFamily: theme.hv.typography.fontFamily,\n top: \"-2px\",\n zIndex: -1,\n },\n disabledMark: {\n ...theme.hv.typography.vizText,\n fontFamily: theme.hv.typography.fontFamily,\n color: `${theme.hv.palette.atmosphere.atmo5}`,\n cursor: \"not-allowed\",\n top: \"-2px\",\n },\n sliderTooltip: {\n \"& .rc-slider-tooltip-inner\": {\n background: theme.hv.palette.atmosphere.atmo1,\n borderRadius: 0,\n maxWidth: \"532px\",\n height: \"100%\",\n padding: `${theme.hv.spacing.sm}px`,\n ...theme.hv.typography.normalText,\n fontFamily: theme.hv.typography.fontFamily,\n boxShadow: \"none\",\n },\n \"& .rc-slider-tooltip-arrow\": {\n visibility: \"hidden\",\n },\n },\n };\n};\n\nexport default styles;\n"],"mappings":";;;;;;AAAA,SAASA,aAAT,QAA8B,iBAA9B;;AAEA,MAAMC,MAAM,GAAIC,KAAD,IAAW;EACxB,MAAMC,IAAI,GAAG;IACXC,KAAK,EAAE,MADI;IAEXC,MAAM,EAAE,MAFG;IAGXC,YAAY,EAAE,KAHH;IAIXC,MAAM,EAAG,aAAYL,KAAK,CAACM,EAAN,CAASC,OAAT,CAAiBC,MAAjB,CAAwBC,KAAM,EAJxC;IAKXC,OAAO,EAAE,KALE;IAMXC,OAAO,EAAE,IANE;IAOXC,QAAQ,EAAE,UAPC;IAQXC,GAAG,EAAE,OARM;IASXC,IAAI,EAAE;EATK,CAAb;EAWA,MAAMT,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CAvOD;;AAyOA,eAAe5E,MAAf"}
|
|
1
|
+
{"version":3,"file":"styles.js","names":["outlineStyles","base","styles","theme","ring","width","height","borderRadius","border","hv","palette","accent","acce1","opacity","content","position","top","left","atmosphere","atmo1","dragSquare","cursor","background","borderTop","atmo3","borderBottom","zIndex","dot","bottom","marginLeft","backgroundColor","atmo4","verticalAlign","sliderBase","rootDisabled","sliderContainer","marginBottom","padding","error","trackDragging","trackStandBy","sliderRoot","rootRange","handleContainer","marginTop","boxShadow","handle","handleContainerDisabled","handleHiddenContainer","display","labelContainer","alignItems","justifyContent","marginRight","labelIncluded","onlyInput","label","dotDisabled","rail","knobInner","borderColor","knobOuter","knobHidden","knobHiddenLast","touchAction","track","mark","typography","vizText","fontFamily","disabledMark","color","atmo5","sliderTooltip","maxWidth","spacing","sm","normalText","visibility"],"sources":["../../../src/Slider/styles.js"],"sourcesContent":["import { outlineStyles } from \"../Focus/styles\";\nimport base from \"./base\";\n\nconst styles = (theme) => {\n const ring = {\n width: \"32px\",\n height: \"32px\",\n borderRadius: \"50%\",\n border: `9px solid ${theme.hv.palette.accent.acce1}`,\n opacity: \"20%\",\n content: \"''\",\n position: \"absolute\",\n top: \"-10px\",\n left: \"-10px\",\n };\n const border = {\n width: \"20px\",\n height: \"20px\",\n borderRadius: \"50%\",\n border: `2px solid ${theme.hv.palette.atmosphere.atmo1}`,\n content: \"''\",\n position: \"absolute\",\n top: \"-4px\",\n left: \"-4px\",\n };\n const dragSquare = {\n cursor: \"grab\",\n width: \"calc(100% - 40px)\",\n left: \"20px\",\n height: \"27px\",\n position: \"absolute\",\n top: \"-12px\",\n content: \"''\",\n background: \"transparent\",\n borderTop: `12px solid ${theme.hv.palette.atmosphere.atmo3}`,\n borderBottom: `12px solid ${theme.hv.palette.atmosphere.atmo3}`,\n zIndex: \"-2\",\n };\n const dot = {\n position: \"absolute\",\n bottom: \"-1px\",\n marginLeft: \"0px\",\n width: \"1px\",\n height: \"4px\",\n border: \"none\",\n borderRadius: \"0%\",\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n cursor: \"pointer\",\n verticalAlign: \"middle\",\n zIndex: \"-3\",\n };\n\n return {\n sliderBase: { ...base },\n rootDisabled: {\n cursor: \"not-allowed\",\n \"& .rc-slider-disabled\": {\n background: \"transparent\",\n },\n },\n sliderContainer: {\n marginBottom: \"18px\",\n padding: \"0 23px\",\n },\n error: {\n padding: \"0 8px\",\n },\n trackDragging: {\n cursor: \"grabbing\",\n \"& .rc-slider-track\": {\n \"&::before\": {\n ...dragSquare,\n cursor: \"grabbing\",\n },\n },\n },\n trackStandBy: {\n \"& .rc-slider-track\": {\n \"&:hover\": {\n \"&::before\": {\n ...dragSquare,\n },\n },\n },\n },\n sliderRoot: {\n zIndex: 0,\n },\n rootRange: {},\n handleContainer: {\n \"& .rc-slider-handle\": {\n cursor: \"pointer\",\n marginTop: \"-8px\",\n opacity: 1,\n \"&:active\": {\n cursor: \"grab\",\n \"&::before\": {\n ...ring,\n },\n \"&::after\": {\n ...border,\n },\n },\n \"&:hover\": {\n \"&::before\": {\n ...ring,\n },\n \"&::after\": {\n ...border,\n },\n },\n // Note about the usage of `!important below`: the way the rc-slider allows us to\n // style the knobs is through inline styles. This means that the `box-shadow`, which\n // is an inline style and is set to `none` to prevent the default rc-slider style to\n // show, can't be overriden for the focus scenario unless we use the `!important` flag.\n \"&:focus-visible\": {\n ...outlineStyles,\n boxShadow: \"0 0 0 1px #52A8EC, 0 0 0 4px rgba(29,155,209,.3)!important\",\n },\n },\n },\n handle: {},\n handleContainerDisabled: {\n \"& .rc-slider-handle\": {\n cursor: \"not-allowed\",\n marginTop: \"-8px\",\n opacity: 1,\n \"&:active\": {\n cursor: \"not-allowed\",\n },\n \"&:hover\": {\n cursor: \"not-allowed\",\n },\n },\n },\n handleHiddenContainer: {\n display: \"none\",\n },\n labelContainer: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n marginBottom: \"12px\",\n marginLeft: \"20px\",\n marginRight: \"20px\",\n },\n labelIncluded: {\n justifyContent: \"space-between\",\n },\n onlyInput: {\n justifyContent: \"flex-end\",\n },\n label: {},\n dot: {\n ...dot,\n },\n dotDisabled: {\n ...dot,\n cursor: \"not-allowed\",\n },\n rail: {\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n height: \"1px\",\n zIndex: \"-3\",\n },\n knobInner: {\n borderColor: \"transparent\",\n boxShadow: \"none\",\n backgroundColor: theme.hv.palette.accent.acce1,\n width: \"16px\",\n height: \"16px\",\n },\n knobOuter: {\n position: \"relative\",\n borderColor: \"transparent\",\n borderRadius: \"50%\",\n boxShadow: \"none\",\n backgroundColor: theme.hv.palette.atmosphere.atmo4,\n width: \"32px\",\n height: \"32px\",\n top: \"-80%\",\n left: \"-80%\",\n zIndex: \"-1\",\n },\n knobHidden: {\n display: \"none\",\n },\n knobHiddenLast: {\n borderColor: \"transparent\",\n height: \"3px\",\n width: \"2px\",\n marginLeft: \"-1px\",\n border: \"none\",\n borderRadius: \"0\",\n marginTop: \"0px\",\n left: \"100%\",\n touchAction: \"none\",\n cursor: \"default\",\n },\n track: {\n backgroundColor: theme.hv.palette.accent.acce1,\n height: \"3px\",\n zIndex: \"-1\",\n marginTop: \"-1px\",\n },\n mark: {\n ...theme.hv.typography.vizText,\n fontFamily: theme.hv.typography.fontFamily,\n top: \"-2px\",\n zIndex: -1,\n },\n disabledMark: {\n ...theme.hv.typography.vizText,\n fontFamily: theme.hv.typography.fontFamily,\n color: `${theme.hv.palette.atmosphere.atmo5}`,\n cursor: \"not-allowed\",\n top: \"-2px\",\n },\n sliderTooltip: {\n \"& .rc-slider-tooltip-inner\": {\n background: theme.hv.palette.atmosphere.atmo1,\n borderRadius: 0,\n maxWidth: \"532px\",\n height: \"100%\",\n padding: `${theme.hv.spacing.sm}px`,\n ...theme.hv.typography.normalText,\n fontFamily: theme.hv.typography.fontFamily,\n boxShadow: \"none\",\n },\n \"& .rc-slider-tooltip-arrow\": {\n visibility: \"hidden\",\n },\n },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D,aAAa,EAAE;MACb;QACEnD,UAAU,EAAEnB,KAAK,CAACM,EAAN,CAASC,OAAT,CAAiBQ,UAAjB,CAA4BC,KAD1C;QAEEZ,YAAY,EAAE,CAFhB;QAGEmE,QAAQ,EAAE,OAHZ;QAIEpE,MAAM,EAAE,MAJV;QAKE+B,OAAO,EAAG,GAAElC,KAAK,CAACM,EAAN,CAASkE,OAAT,CAAiBC,EAAG;MALlC,GAMKzE,KAAK,CAACM,EAAN,CAAS0D,UAAT,CAAoBU,UANzB;QAOER,UAAU,EAAElE,KAAK,CAACM,EAAN,CAAS0D,UAAT,CAAoBE,UAPlC;QAQExB,SAAS,EAAE;MARb,EADa;MAWb,8BAA8B;QAC5BiC,UAAU,EAAE;MADgB;IAXjB;EAtKV,CAAP;AAsLD,CAvOD;;AAyOA,eAAe5E,MAAf"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hitachivantara/uikit-react-core",
|
|
3
|
-
"version": "3.68.
|
|
3
|
+
"version": "3.68.8",
|
|
4
4
|
"description": "A collection of React components for the Hitachi Vantara's Design System.",
|
|
5
5
|
"homepage": "https://github.com/lumada-design/hv-uikit-react",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"build:babel:node": "cross-env BABEL_ENV=commonjs npx babel --root-mode upward src -d dist --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
|
|
22
22
|
"build:babel:legacy": "cross-env BABEL_ENV=legacy npx babel --root-mode upward src -d dist/legacy --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
|
|
23
23
|
"build:babel:modern": "cross-env BABEL_ENV=modern npx babel --root-mode upward src -d dist/modern --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored",
|
|
24
|
-
"build:post:clean-snapshots": "npx
|
|
24
|
+
"build:post:clean-snapshots": "npx rimraf **/dist/**/tests",
|
|
25
25
|
"dev": "npx npm-run-all --npm-path npm clean dev:babel:watch",
|
|
26
26
|
"dev:babel:watch": "cross-env BABEL_ENV=commonjs npx babel --root-mode upward src -d dist --extensions '.js,.jsx' --source-maps --ignore '**/tests','**/stories' --copy-files --no-copy-ignored --watch",
|
|
27
|
-
"clean": "npx
|
|
28
|
-
"test": "jest
|
|
29
|
-
"test:watch": "jest
|
|
30
|
-
"test:update": "jest
|
|
27
|
+
"clean": "npx rimraf dist",
|
|
28
|
+
"test": "jest --coverage",
|
|
29
|
+
"test:watch": "jest --watch",
|
|
30
|
+
"test:update": "jest --u",
|
|
31
31
|
"prepublishOnly": "npm run build",
|
|
32
32
|
"link": "npm link",
|
|
33
33
|
"yalc-publish": "npx yalc publish --no-scripts",
|
|
@@ -41,13 +41,11 @@
|
|
|
41
41
|
"react-dom": "^16.13.1 || ^17.0.2"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@
|
|
45
|
-
"@hitachivantara/uikit-
|
|
46
|
-
"@hitachivantara/uikit-react-icons": "^3.9.4",
|
|
44
|
+
"@hitachivantara/uikit-common-themes": "^3.6.3",
|
|
45
|
+
"@hitachivantara/uikit-react-icons": "^3.9.5",
|
|
47
46
|
"@popperjs/core": "2.11.5",
|
|
48
47
|
"attr-accept": "^2.2.2",
|
|
49
48
|
"clsx": "^1.2.1",
|
|
50
|
-
"core-js": "^3.23.3",
|
|
51
49
|
"dayjs": "^1.11.3",
|
|
52
50
|
"deep-diff": "^1.0.2",
|
|
53
51
|
"detect-browser": "^5.3.0",
|
|
@@ -61,6 +59,7 @@
|
|
|
61
59
|
"rc-slider": "10.0.0",
|
|
62
60
|
"rc-tooltip": "^5.1.1",
|
|
63
61
|
"react-debounce-render": "^8.0.2",
|
|
62
|
+
"react-google-charts": "^4.0.0",
|
|
64
63
|
"react-outside-click-handler": "^1.3.0",
|
|
65
64
|
"react-popper": "^2.3.0",
|
|
66
65
|
"react-resize-detector": "^7.1.2",
|
|
@@ -70,24 +69,10 @@
|
|
|
70
69
|
"react-window": "^1.8.7"
|
|
71
70
|
},
|
|
72
71
|
"devDependencies": {
|
|
73
|
-
"@testing-library/jest-dom": "^5.16.4",
|
|
74
|
-
"@testing-library/react": "^12.1.2",
|
|
75
|
-
"@testing-library/react-hooks": "^8.0.1",
|
|
76
|
-
"@testing-library/user-event": "^12.8.3",
|
|
77
72
|
"@types/lodash": "^4.14.182",
|
|
73
|
+
"@types/react": "^17.0.47",
|
|
78
74
|
"@types/react-window": "^1.8.5",
|
|
79
|
-
"
|
|
80
|
-
"del-cli": "^4.0.1",
|
|
81
|
-
"enzyme": "^3.11.0",
|
|
82
|
-
"enzyme-to-json": "^3.6.2",
|
|
83
|
-
"jest": "^28.1.2",
|
|
84
|
-
"jest-canvas-mock": "^2.4.0",
|
|
85
|
-
"jest-environment-jsdom": "^28.1.2",
|
|
86
|
-
"jest-fail-on-console": "^2.4.2",
|
|
87
|
-
"jest-junit": "^14.0.0",
|
|
88
|
-
"nodemon": "^2.0.19",
|
|
89
|
-
"npm-run-all": "^4.1.5",
|
|
90
|
-
"react-google-charts": "^4.0.0"
|
|
75
|
+
"cross-env": "^7.0.3"
|
|
91
76
|
},
|
|
92
77
|
"files": [
|
|
93
78
|
"dist"
|
|
@@ -95,5 +80,5 @@
|
|
|
95
80
|
"publishConfig": {
|
|
96
81
|
"access": "public"
|
|
97
82
|
},
|
|
98
|
-
"gitHead": "
|
|
83
|
+
"gitHead": "78bcc4d7adfc72ecdefd0f9c367c3f3e3e7520b3"
|
|
99
84
|
}
|