gov-ui-core 1.0.29 → 2.0.0-beta.1
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/@types/styles.d.ts +4 -0
- package/build/components/Input/Select.d.ts +1 -0
- package/build/components/Modal/styled.d.ts +4 -3
- package/build/components/Slider/index.d.ts +7 -0
- package/build/components/Slider/styled.d.ts +8 -0
- package/build/components/ThemeProvider.d.ts +0 -7
- package/build/components/Tooltips/index.d.ts +3 -1
- package/build/index.js +1 -1
- package/build/index.js.LICENSE.txt +48 -22
- package/build/modules.d.ts +2 -2
- package/build/pages/SelectSample.d.ts +6 -0
- package/build/pages/SliderSample.d.ts +5 -0
- package/package.json +6 -4
- package/build/components/Sliders/index.d.ts +0 -13
- package/build/components/Sliders/styled.d.ts +0 -10
- package/build/pages/SlidersSample.d.ts +0 -5
|
@@ -51,28 +51,6 @@ object-assign
|
|
|
51
51
|
* LICENSE file in the root directory of this source tree.
|
|
52
52
|
*/
|
|
53
53
|
|
|
54
|
-
/**
|
|
55
|
-
* @remix-run/router v1.23.0
|
|
56
|
-
*
|
|
57
|
-
* Copyright (c) Remix Software Inc.
|
|
58
|
-
*
|
|
59
|
-
* This source code is licensed under the MIT license found in the
|
|
60
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
61
|
-
*
|
|
62
|
-
* @license MIT
|
|
63
|
-
*/
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* React Router v6.30.1
|
|
67
|
-
*
|
|
68
|
-
* Copyright (c) Remix Software Inc.
|
|
69
|
-
*
|
|
70
|
-
* This source code is licensed under the MIT license found in the
|
|
71
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
72
|
-
*
|
|
73
|
-
* @license MIT
|
|
74
|
-
*/
|
|
75
|
-
|
|
76
54
|
/** @license React v16.13.1
|
|
77
55
|
* react-is.production.min.js
|
|
78
56
|
*
|
|
@@ -91,6 +69,54 @@ object-assign
|
|
|
91
69
|
* LICENSE file in the root directory of this source tree.
|
|
92
70
|
*/
|
|
93
71
|
|
|
72
|
+
/** */
|
|
73
|
+
|
|
74
|
+
/** */
|
|
75
|
+
|
|
76
|
+
/** */
|
|
77
|
+
|
|
78
|
+
/** */
|
|
79
|
+
|
|
80
|
+
/** */
|
|
81
|
+
|
|
82
|
+
/** */
|
|
83
|
+
|
|
84
|
+
/** */
|
|
85
|
+
|
|
86
|
+
/** */
|
|
87
|
+
|
|
88
|
+
/** */
|
|
89
|
+
|
|
90
|
+
/** */
|
|
91
|
+
|
|
92
|
+
/** */
|
|
93
|
+
|
|
94
|
+
/** */
|
|
95
|
+
|
|
96
|
+
/** */
|
|
97
|
+
|
|
98
|
+
/** */
|
|
99
|
+
|
|
100
|
+
/** */
|
|
101
|
+
|
|
102
|
+
/** */
|
|
103
|
+
|
|
104
|
+
/** */
|
|
105
|
+
|
|
106
|
+
/** */
|
|
107
|
+
|
|
108
|
+
/** */
|
|
109
|
+
|
|
110
|
+
/** */
|
|
111
|
+
|
|
112
|
+
/** */
|
|
113
|
+
|
|
114
|
+
/** */
|
|
115
|
+
|
|
116
|
+
/** */
|
|
117
|
+
|
|
118
|
+
/** */
|
|
119
|
+
|
|
94
120
|
//! moment.js
|
|
95
121
|
|
|
96
122
|
//! moment.js locale configuration
|
package/build/modules.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import Modal from './components/Modal';
|
|
|
26
26
|
import Tabs from './components/Tabs';
|
|
27
27
|
import ThemeProvider from './components/ThemeProvider';
|
|
28
28
|
import { Methods } from './components/Form';
|
|
29
|
-
import
|
|
29
|
+
import Slider from './components/Slider';
|
|
30
30
|
import Tooltips from './components/Tooltips';
|
|
31
31
|
import Breadcrumb from './components/Breadcrumb';
|
|
32
32
|
import Toast from './components/Toast';
|
|
@@ -34,5 +34,5 @@ import Panel from './components/Panel';
|
|
|
34
34
|
import { TextBox } from './components/TextBox';
|
|
35
35
|
import Datepicker from './components/Datepicker';
|
|
36
36
|
import defaultTheme from './theme';
|
|
37
|
-
export { AppendTable, Button, TextButton, Calendar, Carousel, ContentHeader, Chip, Card, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, Progress, SwitchButton, Table, TableBase, Tree, ThemeProvider, AutoTooltip, Menu, Modal, Tabs, IntlText, defaultTheme,
|
|
37
|
+
export { AppendTable, Button, TextButton, Calendar, Carousel, ContentHeader, Chip, Card, Directory, DropdownButton, EmptyBox, Form, Icons, Input, ErrorMessage, OverlayLoading, Progress, SwitchButton, Table, TableBase, Tree, ThemeProvider, AutoTooltip, Menu, Modal, Tabs, IntlText, defaultTheme, Slider, Tooltips, Breadcrumb, Toast, Panel, TextBox, useAppendTable, Datepicker, };
|
|
38
38
|
export type { Methods };
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gov-ui-core",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-beta.1",
|
|
4
4
|
"repository": "https://github.com/liamyoon/gov-ui-core",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"module": "./build/index.js",
|
|
7
7
|
"types": "./build/modules.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
8
9
|
"scripts": {
|
|
9
10
|
"build": "node scripts/build.js && npm run types",
|
|
10
11
|
"build-storybook": "storybook build",
|
|
@@ -122,11 +123,12 @@
|
|
|
122
123
|
"@mdi/js": "^5.9.55",
|
|
123
124
|
"@mdi/react": "^1.6.1",
|
|
124
125
|
"@monaco-editor/react": "^4.7.0",
|
|
125
|
-
"antd": "^
|
|
126
|
+
"antd": "^5.26.3",
|
|
126
127
|
"browserslist": "^4.18.1",
|
|
127
128
|
"camelcase": "^6.2.1",
|
|
128
129
|
"classnames": "^2.5.1",
|
|
129
130
|
"date-fns": "^2.30.0",
|
|
131
|
+
"dompurify": "^3.2.6",
|
|
130
132
|
"dotenv": "^10.0.0",
|
|
131
133
|
"dotenv-expand": "^5.1.0",
|
|
132
134
|
"dynamic-antd-theme": "^0.8.7",
|
|
@@ -137,14 +139,14 @@
|
|
|
137
139
|
"query-string": "^9.0.0",
|
|
138
140
|
"ramda": "^0.29.1",
|
|
139
141
|
"rc-motion": "^2.9.0",
|
|
140
|
-
"react": "18.
|
|
142
|
+
"react": "18.3",
|
|
141
143
|
"react-app-polyfill": "^3.0.0",
|
|
142
144
|
"react-date-range": "^1.4.0",
|
|
143
145
|
"react-dom": "18.2",
|
|
144
146
|
"react-hook-form": "~7.54.0",
|
|
145
147
|
"react-intl": "^6.8.9",
|
|
146
148
|
"react-refresh": "^0.11.0",
|
|
147
|
-
"react-router
|
|
149
|
+
"react-router": "^7.6.3",
|
|
148
150
|
"react-slick": "^0.30.2",
|
|
149
151
|
"react-spring": "^9.7.5",
|
|
150
152
|
"react-toastify": "^11.0.3",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ISlidersProps {
|
|
3
|
-
type?: 'default' | 'range';
|
|
4
|
-
min?: number;
|
|
5
|
-
max?: number;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
value?: number;
|
|
8
|
-
minValue?: number;
|
|
9
|
-
maxValue?: number;
|
|
10
|
-
onChange?: any;
|
|
11
|
-
}
|
|
12
|
-
declare const Sliders: React.FC<ISlidersProps>;
|
|
13
|
-
export default Sliders;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const SliderBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
2
|
-
type?: string | undefined;
|
|
3
|
-
slidersHoverd?: boolean | undefined;
|
|
4
|
-
disabled?: boolean | undefined;
|
|
5
|
-
minBarPosition?: number | undefined;
|
|
6
|
-
maxBarPosition?: number | undefined;
|
|
7
|
-
min?: number | undefined;
|
|
8
|
-
max?: number | undefined;
|
|
9
|
-
sliderWidth?: number | undefined;
|
|
10
|
-
}, never>;
|