qstd 0.2.23 → 0.2.25
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/block/slider.d.ts.map +1 -1
- package/dist/react/index.cjs +12 -12
- package/dist/react/index.css +3 -3
- package/dist/react/index.js +12 -12
- package/package.json +1 -1
- package/styled-system/styles.css +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/block/slider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AA2B9B,KAAK,gBAAgB,GAAG,EAAE,CAAC,cAAc,GAAG;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAoBF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,
|
|
1
|
+
{"version":3,"file":"slider.d.ts","sourceRoot":"","sources":["../../src/block/slider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,SAAS,CAAC;AA2B9B,KAAK,gBAAgB,GAAG,EAAE,CAAC,cAAc,GAAG;IAC1C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAoBF,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,EAAE,CAAC,gBAAgB,2CA4OxD;AAMD,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAoBlD;yBApBe,WAAW;;;AAuB3B,wBAAgB,UAAU,CAAC,KAAK,EAAE,gBAAgB,2CAyBjD;yBAzBe,UAAU;;;AA4B1B,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,2CAuClD;yBAvCe,WAAW"}
|
package/dist/react/index.cjs
CHANGED
|
@@ -3166,9 +3166,7 @@ function Slider(props) {
|
|
|
3166
3166
|
cols: "1",
|
|
3167
3167
|
rows: "1",
|
|
3168
3168
|
alignItems: "center",
|
|
3169
|
-
position: "relative",
|
|
3170
3169
|
w: true,
|
|
3171
|
-
h: height,
|
|
3172
3170
|
cursor: disabled ? "not-allowed" : "pointer",
|
|
3173
3171
|
opacity: disabled ? 0.5 : 1,
|
|
3174
3172
|
onPointerDown: handleTrackPointerDown,
|
|
@@ -3176,6 +3174,8 @@ function Slider(props) {
|
|
|
3176
3174
|
userSelect: "none",
|
|
3177
3175
|
touchAction: "none",
|
|
3178
3176
|
...rest,
|
|
3177
|
+
position: "relative",
|
|
3178
|
+
h: height,
|
|
3179
3179
|
children: [
|
|
3180
3180
|
trackEl,
|
|
3181
3181
|
fillEl,
|
|
@@ -3247,25 +3247,25 @@ function SliderThumb(props) {
|
|
|
3247
3247
|
MotionDiv6,
|
|
3248
3248
|
{
|
|
3249
3249
|
"data-slider-thumb": true,
|
|
3250
|
-
gridArea: "1 / 1",
|
|
3251
|
-
position: "absolute",
|
|
3252
|
-
top: "50%",
|
|
3253
|
-
size: 24,
|
|
3254
3250
|
rounded: true,
|
|
3255
3251
|
bg: "white",
|
|
3256
3252
|
boxShadow: "0 2px 8px rgba(0,0,0,0.25)",
|
|
3257
3253
|
cursor: disabled ? "not-allowed" : "grab",
|
|
3258
3254
|
pointerEvents: "none",
|
|
3259
|
-
style: {
|
|
3260
|
-
...style,
|
|
3261
|
-
left,
|
|
3262
|
-
transform: "translate(-50%, -50%)"
|
|
3263
|
-
},
|
|
3264
3255
|
initial: false,
|
|
3265
3256
|
animate: {
|
|
3266
3257
|
scale: isDragging ? 1.1 : 1
|
|
3267
3258
|
},
|
|
3268
|
-
...rest
|
|
3259
|
+
...rest,
|
|
3260
|
+
position: "absolute",
|
|
3261
|
+
size: 24,
|
|
3262
|
+
style: {
|
|
3263
|
+
...rest.style || {},
|
|
3264
|
+
...style,
|
|
3265
|
+
left,
|
|
3266
|
+
top: "50%",
|
|
3267
|
+
transform: "translate(-50%, -50%)"
|
|
3268
|
+
}
|
|
3269
3269
|
}
|
|
3270
3270
|
);
|
|
3271
3271
|
}
|
package/dist/react/index.css
CHANGED
|
@@ -1164,13 +1164,13 @@
|
|
|
1164
1164
|
.cursor_grab {
|
|
1165
1165
|
cursor: grab;
|
|
1166
1166
|
}
|
|
1167
|
+
.bx-sh_0_2px_8px_rgba\(0\,0\,0\,0\.25\) {
|
|
1168
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
1169
|
+
}
|
|
1167
1170
|
.size_24 {
|
|
1168
1171
|
width: 24px;
|
|
1169
1172
|
height: 24px;
|
|
1170
1173
|
}
|
|
1171
|
-
.bx-sh_0_2px_8px_rgba\(0\,0\,0\,0\.25\) {
|
|
1172
|
-
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
|
|
1173
|
-
}
|
|
1174
1174
|
.type_spring {
|
|
1175
1175
|
type: spring;
|
|
1176
1176
|
}
|
package/dist/react/index.js
CHANGED
|
@@ -3143,9 +3143,7 @@ function Slider(props) {
|
|
|
3143
3143
|
cols: "1",
|
|
3144
3144
|
rows: "1",
|
|
3145
3145
|
alignItems: "center",
|
|
3146
|
-
position: "relative",
|
|
3147
3146
|
w: true,
|
|
3148
|
-
h: height,
|
|
3149
3147
|
cursor: disabled ? "not-allowed" : "pointer",
|
|
3150
3148
|
opacity: disabled ? 0.5 : 1,
|
|
3151
3149
|
onPointerDown: handleTrackPointerDown,
|
|
@@ -3153,6 +3151,8 @@ function Slider(props) {
|
|
|
3153
3151
|
userSelect: "none",
|
|
3154
3152
|
touchAction: "none",
|
|
3155
3153
|
...rest,
|
|
3154
|
+
position: "relative",
|
|
3155
|
+
h: height,
|
|
3156
3156
|
children: [
|
|
3157
3157
|
trackEl,
|
|
3158
3158
|
fillEl,
|
|
@@ -3224,25 +3224,25 @@ function SliderThumb(props) {
|
|
|
3224
3224
|
MotionDiv6,
|
|
3225
3225
|
{
|
|
3226
3226
|
"data-slider-thumb": true,
|
|
3227
|
-
gridArea: "1 / 1",
|
|
3228
|
-
position: "absolute",
|
|
3229
|
-
top: "50%",
|
|
3230
|
-
size: 24,
|
|
3231
3227
|
rounded: true,
|
|
3232
3228
|
bg: "white",
|
|
3233
3229
|
boxShadow: "0 2px 8px rgba(0,0,0,0.25)",
|
|
3234
3230
|
cursor: disabled ? "not-allowed" : "grab",
|
|
3235
3231
|
pointerEvents: "none",
|
|
3236
|
-
style: {
|
|
3237
|
-
...style,
|
|
3238
|
-
left,
|
|
3239
|
-
transform: "translate(-50%, -50%)"
|
|
3240
|
-
},
|
|
3241
3232
|
initial: false,
|
|
3242
3233
|
animate: {
|
|
3243
3234
|
scale: isDragging ? 1.1 : 1
|
|
3244
3235
|
},
|
|
3245
|
-
...rest
|
|
3236
|
+
...rest,
|
|
3237
|
+
position: "absolute",
|
|
3238
|
+
size: 24,
|
|
3239
|
+
style: {
|
|
3240
|
+
...rest.style || {},
|
|
3241
|
+
...style,
|
|
3242
|
+
left,
|
|
3243
|
+
top: "50%",
|
|
3244
|
+
transform: "translate(-50%, -50%)"
|
|
3245
|
+
}
|
|
3246
3246
|
}
|
|
3247
3247
|
);
|
|
3248
3248
|
}
|
package/package.json
CHANGED
package/styled-system/styles.css
CHANGED
|
@@ -1231,15 +1231,15 @@
|
|
|
1231
1231
|
cursor: grab;
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
|
+
.bx-sh_0_2px_8px_rgba\(0\,0\,0\,0\.25\) {
|
|
1235
|
+
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1234
1238
|
.size_24 {
|
|
1235
1239
|
width: 24px;
|
|
1236
1240
|
height: 24px;
|
|
1237
1241
|
}
|
|
1238
1242
|
|
|
1239
|
-
.bx-sh_0_2px_8px_rgba\(0\,0\,0\,0\.25\) {
|
|
1240
|
-
box-shadow: 0 2px 8px rgba(0,0,0,0.25);
|
|
1241
|
-
}
|
|
1242
|
-
|
|
1243
1243
|
.type_spring {
|
|
1244
1244
|
type: spring;
|
|
1245
1245
|
}
|