@pinnacle0/web-ui 0.5.34 → 0.5.35
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/core/Radio.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export interface Props extends RadioProps {
|
|
|
4
4
|
}
|
|
5
5
|
export declare class Radio extends React.PureComponent<Props> {
|
|
6
6
|
static displayName: string;
|
|
7
|
-
static Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd").
|
|
7
|
+
static Button: React.ForwardRefExoticComponent<import("antd/es/radio/radioButton").RadioButtonProps & React.RefAttributes<import("antd/es/radio").RadioRef>>;
|
|
8
8
|
static Group: React.MemoExoticComponent<React.ForwardRefExoticComponent<import("antd/es/radio").RadioGroupProps & React.RefAttributes<HTMLDivElement>>>;
|
|
9
9
|
render(): React.JSX.Element;
|
|
10
10
|
}
|
|
@@ -43,8 +43,8 @@ var RangeSlider = /** @class */ (function (_super) {
|
|
|
43
43
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
44
44
|
}
|
|
45
45
|
RangeSlider.prototype.render = function () {
|
|
46
|
-
var _a = this.props, draggable = _a.draggable, rest = __rest(_a, ["draggable"]);
|
|
47
|
-
return React.createElement(AntSlider, __assign({ range: { draggableTrack: draggable } }, rest));
|
|
46
|
+
var _a = this.props, draggable = _a.draggable, onChange = _a.onChange, rest = __rest(_a, ["draggable", "onChange"]);
|
|
47
|
+
return React.createElement(AntSlider, __assign({ range: { draggableTrack: draggable }, onChange: function (x) { return onChange(x); } }, rest));
|
|
48
48
|
};
|
|
49
49
|
RangeSlider.displayName = "RangeSlider";
|
|
50
50
|
return RangeSlider;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RangeSlider.js","sourceRoot":"","sources":["../../../src/core/Slider/RangeSlider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAOvC;IAAiC,+BAA+B;IAAhE;;IAOA,CAAC;IAJG,4BAAM,GAAN;QACI,IAAM,
|
|
1
|
+
{"version":3,"file":"RangeSlider.js","sourceRoot":"","sources":["../../../src/core/Slider/RangeSlider.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAOvC;IAAiC,+BAA+B;IAAhE;;IAOA,CAAC;IAJG,4BAAM,GAAN;QACI,IAAM,KAAiC,IAAI,CAAC,KAAK,EAA1C,SAAS,eAAA,EAAE,QAAQ,cAAA,EAAK,IAAI,cAA7B,yBAA8B,CAAa,CAAC;QAClD,OAAO,oBAAC,SAAS,aAAC,KAAK,EAAE,EAAC,cAAc,EAAE,SAAS,EAAC,EAAE,QAAQ,EAAE,UAAC,CAAW,IAAK,OAAA,QAAQ,CAAC,CAAqB,CAAC,EAA/B,CAA+B,IAAM,IAAI,EAAI,CAAC;IACnI,CAAC;IALM,uBAAW,GAAG,aAAa,CAAC;IAMvC,kBAAC;CAAA,AAPD,CAAiC,KAAK,CAAC,aAAa,GAOnD;SAPY,WAAW"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pinnacle0/web-ui",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.35",
|
|
4
4
|
"author": "Pinnacle",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": [
|
|
@@ -17,16 +17,16 @@
|
|
|
17
17
|
"node": ">= 16.15.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@ant-design/cssinjs": "1.
|
|
20
|
+
"@ant-design/cssinjs": "1.17.2",
|
|
21
21
|
"@ant-design/icons": "5.2.6",
|
|
22
22
|
"@juggle/resize-observer": "3.4.0",
|
|
23
23
|
"@tanstack/react-virtual": "3.0.0-beta.30",
|
|
24
|
-
"antd": "5.
|
|
24
|
+
"antd": "5.11.1",
|
|
25
25
|
"classnames": "2.3.2",
|
|
26
26
|
"dayjs": "1.11.10",
|
|
27
27
|
"intersection-observer": "0.12.2",
|
|
28
|
-
"rc-picker": "3.
|
|
29
|
-
"rc-resize-observer": "1.
|
|
28
|
+
"rc-picker": "3.14.6",
|
|
29
|
+
"rc-resize-observer": "1.4.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"react": ">=18.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react-dom": "18.2.0",
|
|
51
51
|
"react-router-dom": "5.3.0",
|
|
52
52
|
"@pinnacle0/devtool-util": "1.2.9",
|
|
53
|
-
"@pinnacle0/webpack-util": "0.
|
|
53
|
+
"@pinnacle0/webpack-util": "0.6.0"
|
|
54
54
|
},
|
|
55
55
|
"publishConfig": {
|
|
56
56
|
"directory": "build",
|
|
@@ -7,38 +7,42 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.ant-modal-body {
|
|
10
|
-
.ant-modal-confirm-
|
|
11
|
-
|
|
12
|
-
padding: 12px 20px;
|
|
13
|
-
border-radius: 8px 8px 0 0;
|
|
14
|
-
color: inherit;
|
|
10
|
+
.ant-modal-confirm-paragraph {
|
|
11
|
+
max-width: 100%;
|
|
15
12
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
.ant-modal-confirm-title {
|
|
14
|
+
background: @lib-background-gray;
|
|
15
|
+
padding: 12px 20px;
|
|
16
|
+
border-radius: 8px 8px 0 0;
|
|
17
|
+
color: inherit;
|
|
18
|
+
|
|
19
|
+
> span {
|
|
20
|
+
font-size: 20px;
|
|
21
|
+
}
|
|
19
22
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
> .anticon-close {
|
|
24
|
+
color: #666;
|
|
25
|
+
position: absolute;
|
|
26
|
+
top: 17px;
|
|
27
|
+
right: 17px;
|
|
25
28
|
|
|
26
|
-
|
|
27
|
-
|
|
29
|
+
&:hover {
|
|
30
|
+
color: #000;
|
|
31
|
+
}
|
|
28
32
|
}
|
|
29
33
|
}
|
|
30
|
-
}
|
|
31
34
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
35
|
+
.ant-modal-confirm-content {
|
|
36
|
+
margin: 0 !important;
|
|
37
|
+
padding: 18px 20px;
|
|
38
|
+
color: inherit;
|
|
36
39
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
> .footer {
|
|
41
|
+
position: absolute;
|
|
42
|
+
bottom: 0;
|
|
43
|
+
left: 50%;
|
|
44
|
+
transform: translateX(-50%);
|
|
45
|
+
}
|
|
42
46
|
}
|
|
43
47
|
}
|
|
44
48
|
|