@scbt-ecom/ui 0.75.0 → 0.75.2
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/{index-DRIZ5Qrl.js → index-CiahWWHr.js} +2229 -2225
- package/dist/index-CiahWWHr.js.map +1 -0
- package/dist/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/hooks/useSliderMarks.d.ts +3 -1
- package/dist/ui.js +8 -32
- package/dist/ui.js.map +1 -1
- package/dist/widget.js +83 -83
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
- package/dist/index-DRIZ5Qrl.js.map +0 -1
package/dist/shared/ui/formElements/uncontrolled/slider/ui/sliderMarks/hooks/useSliderMarks.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
interface UseSliderMarks {
|
|
2
2
|
marks: number[];
|
|
3
3
|
onChange?: (value: number) => void;
|
|
4
|
+
value: number | undefined;
|
|
4
5
|
}
|
|
5
|
-
export declare const useSliderMarks: ({ marks, onChange }: UseSliderMarks) => {
|
|
6
|
+
export declare const useSliderMarks: ({ marks, onChange, value }: UseSliderMarks) => {
|
|
6
7
|
handleChangeSlider: (value?: number) => void;
|
|
8
|
+
handleBlur: () => void;
|
|
7
9
|
sliderMin: number;
|
|
8
10
|
sliderMax: number;
|
|
9
11
|
};
|
package/dist/ui.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { j as w, c as On, R as An, B as ge, u as Nn, a as Tn, b as jn, d as Hn, P as ke, e as Wt, f as Gn, I as zn, g as et, h as Bn, A as kn, i as be, H as qn, D as Un, V as Kn, O as Xn } from "./index-
|
|
2
|
-
import { o as Fi, C as _i, v as Ii, t as Mi, p as Vi, K as bi, L as Pi, M as $i, N as Ei, n as Di, q as Li, r as Oi, U as Ai, s as Ni, k as Ti, m as ji, l as Hi, w as Gi } from "./index-
|
|
1
|
+
import { j as w, c as On, R as An, B as ge, u as Nn, a as Tn, b as jn, d as Hn, P as ke, e as Wt, f as Gn, I as zn, g as et, h as Bn, A as kn, i as be, H as qn, D as Un, V as Kn, O as Xn } from "./index-CiahWWHr.js";
|
|
2
|
+
import { o as Fi, C as _i, v as Ii, t as Mi, p as Vi, K as bi, L as Pi, M as $i, N as Ei, n as Di, q as Li, r as Oi, U as Ai, s as Ni, k as Ti, m as ji, l as Hi, w as Gi } from "./index-CiahWWHr.js";
|
|
3
3
|
import * as ce from "react";
|
|
4
4
|
import { forwardRef as Q, useState as oe, useRef as je, useCallback as Se, useEffect as ve, isValidElement as He, cloneElement as Qt, Children as Ie } from "react";
|
|
5
5
|
import { c as F, T as Nt } from "./typeGuards-CSiImkUY.js";
|
|
@@ -59,9 +59,7 @@ const Jn = On(
|
|
|
59
59
|
"brandLogos/logoMain",
|
|
60
60
|
"brandLogos/logoWhite"
|
|
61
61
|
],
|
|
62
|
-
communication: [
|
|
63
|
-
"communication/phone"
|
|
64
|
-
],
|
|
62
|
+
communication: ["communication/phone"],
|
|
65
63
|
editor: [
|
|
66
64
|
"editor/bold",
|
|
67
65
|
"editor/heading",
|
|
@@ -77,13 +75,7 @@ const Jn = On(
|
|
|
77
75
|
"editor/underline",
|
|
78
76
|
"editor/undo"
|
|
79
77
|
],
|
|
80
|
-
files: [
|
|
81
|
-
"files/border",
|
|
82
|
-
"files/borderError",
|
|
83
|
-
"files/documentFilled",
|
|
84
|
-
"files/documentOutline",
|
|
85
|
-
"files/upload"
|
|
86
|
-
],
|
|
78
|
+
files: ["files/border", "files/borderError", "files/documentFilled", "files/documentOutline", "files/upload"],
|
|
87
79
|
general: [
|
|
88
80
|
"general/calendar",
|
|
89
81
|
"general/check",
|
|
@@ -97,26 +89,10 @@ const Jn = On(
|
|
|
97
89
|
"general/shield",
|
|
98
90
|
"general/showEye"
|
|
99
91
|
],
|
|
100
|
-
info: [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
]
|
|
104
|
-
logos: [
|
|
105
|
-
"logos/beeline",
|
|
106
|
-
"logos/megafon",
|
|
107
|
-
"logos/mts"
|
|
108
|
-
],
|
|
109
|
-
social: [
|
|
110
|
-
"social/classmates",
|
|
111
|
-
"social/telegram",
|
|
112
|
-
"social/vk"
|
|
113
|
-
],
|
|
114
|
-
status: [
|
|
115
|
-
"status/badSmile",
|
|
116
|
-
"status/iconMark",
|
|
117
|
-
"status/iconRetry",
|
|
118
|
-
"status/iconUser"
|
|
119
|
-
]
|
|
92
|
+
info: ["info/helpCircle", "info/warningCircle"],
|
|
93
|
+
logos: ["logos/beeline", "logos/megafon", "logos/mts"],
|
|
94
|
+
social: ["social/classmates", "social/telegram", "social/vk"],
|
|
95
|
+
status: ["status/badSmile", "status/iconMark", "status/iconRetry", "status/iconUser"]
|
|
120
96
|
},
|
|
121
97
|
flatten: [
|
|
122
98
|
"arrows/arrowCircle",
|