@paygreen/pgui 2.10.1 → 2.11.0
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/cjs/index.js +90 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/Select/index.d.ts +4 -4
- package/dist/esm/index.js +90 -10
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/Select/index.d.ts +4 -4
- package/dist/index.d.ts +4 -4
- package/package.json +52 -52
|
@@ -26,13 +26,12 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
|
|
|
26
26
|
debounceDelay?: number | undefined;
|
|
27
27
|
variant?: "outline" | "filled" | undefined;
|
|
28
28
|
} & Omit<Pick<import("react-select/dist/declarations/src/Select").Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
29
|
-
placeholder?: React.ReactNode;
|
|
30
29
|
tabIndex?: number | undefined;
|
|
31
30
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
32
31
|
isLoading?: boolean | undefined;
|
|
33
32
|
isDisabled?: boolean | undefined;
|
|
34
33
|
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, Group>> | undefined;
|
|
35
|
-
|
|
34
|
+
placeholder?: React.ReactNode;
|
|
36
35
|
options?: import("react-select").OptionsOrGroups<Option, Group> | undefined;
|
|
37
36
|
pageSize?: number | undefined;
|
|
38
37
|
backspaceRemovesValue?: boolean | undefined;
|
|
@@ -71,14 +70,14 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
|
|
|
71
70
|
}) => string) | undefined;
|
|
72
71
|
styles?: import("react-select").StylesConfig<Option, IsMulti, Group> | undefined;
|
|
73
72
|
tabSelectsValue?: boolean | undefined;
|
|
73
|
+
unstyled?: boolean | undefined;
|
|
74
74
|
} & {}, "value" | "onChange" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<import("react-select/dist/declarations/src/Select").Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
75
|
-
placeholder?: React.ReactNode;
|
|
76
75
|
tabIndex?: number | undefined;
|
|
77
76
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
78
77
|
isLoading?: boolean | undefined;
|
|
79
78
|
isDisabled?: boolean | undefined;
|
|
80
79
|
components?: Partial<import("react-select/dist/declarations/src/components").SelectComponents<Option, IsMulti, Group>> | undefined;
|
|
81
|
-
|
|
80
|
+
placeholder?: React.ReactNode;
|
|
82
81
|
options?: import("react-select").OptionsOrGroups<Option, Group> | undefined;
|
|
83
82
|
pageSize?: number | undefined;
|
|
84
83
|
backspaceRemovesValue?: boolean | undefined;
|
|
@@ -117,4 +116,5 @@ export declare const Select: <Option, IsMulti extends boolean = false, Group ext
|
|
|
117
116
|
}) => string) | undefined;
|
|
118
117
|
styles?: import("react-select").StylesConfig<Option, IsMulti, Group> | undefined;
|
|
119
118
|
tabSelectsValue?: boolean | undefined;
|
|
119
|
+
unstyled?: boolean | undefined;
|
|
120
120
|
} & {}> & import("react-select/dist/declarations/src/useStateManager").StateManagerAdditionalProps<Option> & Omit<BoxProps, "defaultValue"> & React.RefAttributes<HTMLElement>) => React.ReactElement | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -219,13 +219,12 @@ declare const Select: <Option, IsMulti extends boolean = false, Group extends Gr
|
|
|
219
219
|
debounceDelay?: number | undefined;
|
|
220
220
|
variant?: "outline" | "filled" | undefined;
|
|
221
221
|
} & Omit<Pick<react_select_dist_declarations_src_Select.Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
222
|
-
placeholder?: React.ReactNode;
|
|
223
222
|
tabIndex?: number | undefined;
|
|
224
223
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
225
224
|
isLoading?: boolean | undefined;
|
|
226
225
|
isDisabled?: boolean | undefined;
|
|
227
226
|
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<Option, IsMulti, Group>> | undefined;
|
|
228
|
-
|
|
227
|
+
placeholder?: React.ReactNode;
|
|
229
228
|
options?: react_select.OptionsOrGroups<Option, Group> | undefined;
|
|
230
229
|
pageSize?: number | undefined;
|
|
231
230
|
backspaceRemovesValue?: boolean | undefined;
|
|
@@ -264,14 +263,14 @@ declare const Select: <Option, IsMulti extends boolean = false, Group extends Gr
|
|
|
264
263
|
}) => string) | undefined;
|
|
265
264
|
styles?: react_select.StylesConfig<Option, IsMulti, Group> | undefined;
|
|
266
265
|
tabSelectsValue?: boolean | undefined;
|
|
266
|
+
unstyled?: boolean | undefined;
|
|
267
267
|
} & {}, "value" | "onChange" | "inputValue" | "menuIsOpen" | "onInputChange" | "onMenuOpen" | "onMenuClose"> & Partial<Pick<react_select_dist_declarations_src_Select.Props<Option, IsMulti, Group>, "aria-label" | "form" | "name" | "value" | "autoFocus" | "className" | "id" | "aria-errormessage" | "aria-invalid" | "aria-labelledby" | "onFocus" | "onBlur" | "onChange" | "onKeyDown" | "inputValue" | "theme" | "required" | "ariaLiveMessages" | "classNamePrefix" | "delimiter" | "formatOptionLabel" | "hideSelectedOptions" | "inputId" | "instanceId" | "isClearable" | "isOptionSelected" | "menuPortalTarget" | "onInputChange" | "onMenuOpen" | "onMenuClose" | "onMenuScrollToTop" | "onMenuScrollToBottom"> & {
|
|
268
|
-
placeholder?: React.ReactNode;
|
|
269
268
|
tabIndex?: number | undefined;
|
|
270
269
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
|
271
270
|
isLoading?: boolean | undefined;
|
|
272
271
|
isDisabled?: boolean | undefined;
|
|
273
272
|
components?: Partial<react_select_dist_declarations_src_components.SelectComponents<Option, IsMulti, Group>> | undefined;
|
|
274
|
-
|
|
273
|
+
placeholder?: React.ReactNode;
|
|
275
274
|
options?: react_select.OptionsOrGroups<Option, Group> | undefined;
|
|
276
275
|
pageSize?: number | undefined;
|
|
277
276
|
backspaceRemovesValue?: boolean | undefined;
|
|
@@ -310,6 +309,7 @@ declare const Select: <Option, IsMulti extends boolean = false, Group extends Gr
|
|
|
310
309
|
}) => string) | undefined;
|
|
311
310
|
styles?: react_select.StylesConfig<Option, IsMulti, Group> | undefined;
|
|
312
311
|
tabSelectsValue?: boolean | undefined;
|
|
312
|
+
unstyled?: boolean | undefined;
|
|
313
313
|
} & {}> & react_select_dist_declarations_src_useStateManager.StateManagerAdditionalProps<Option> & Omit<BoxProps, "defaultValue"> & React.RefAttributes<HTMLElement>) => React.ReactElement | null;
|
|
314
314
|
|
|
315
315
|
declare const BottomBar: (props: FlexProps) => React.JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@paygreen/pgui",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "PGUI is the design system coming from Paygreen.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -44,75 +44,75 @@
|
|
|
44
44
|
},
|
|
45
45
|
"homepage": "https://gitlab.com/Paygreen-paygreen/v3/pgui#readme",
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@babel/core": "^7.
|
|
48
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
49
|
-
"@babel/preset-env": "^7.
|
|
50
|
-
"@babel/preset-react": "^7.
|
|
51
|
-
"@babel/preset-typescript": "^7.
|
|
52
|
-
"@chakra-ui/react": "^2.
|
|
53
|
-
"@chakra-ui/theme-tools": "^2.
|
|
54
|
-
"@emotion/react": "^11.
|
|
55
|
-
"@emotion/styled": "^11.
|
|
56
|
-
"@rollup/plugin-commonjs": "^22.0.
|
|
47
|
+
"@babel/core": "^7.23.7",
|
|
48
|
+
"@babel/plugin-transform-runtime": "^7.23.7",
|
|
49
|
+
"@babel/preset-env": "^7.23.8",
|
|
50
|
+
"@babel/preset-react": "^7.23.3",
|
|
51
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
52
|
+
"@chakra-ui/react": "^2.8.2",
|
|
53
|
+
"@chakra-ui/theme-tools": "^2.1.2",
|
|
54
|
+
"@emotion/react": "^11.11.3",
|
|
55
|
+
"@emotion/styled": "^11.11.0",
|
|
56
|
+
"@rollup/plugin-commonjs": "^22.0.2",
|
|
57
57
|
"@rollup/plugin-node-resolve": "^13.3.0",
|
|
58
|
-
"@rollup/plugin-typescript": "11.1.
|
|
59
|
-
"@storybook/addon-actions": "^7.
|
|
60
|
-
"@storybook/addon-docs": "^7.
|
|
61
|
-
"@storybook/addon-essentials": "^7.
|
|
62
|
-
"@storybook/addon-interactions": "^7.
|
|
63
|
-
"@storybook/addon-links": "^7.
|
|
64
|
-
"@storybook/react": "^7.
|
|
65
|
-
"@storybook/react-webpack5": "^7.
|
|
66
|
-
"@storybook/testing-library": "^0.2.
|
|
67
|
-
"@trivago/prettier-plugin-sort-imports": "^4.
|
|
68
|
-
"@types/react": "^18.
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
70
|
-
"@typescript-eslint/parser": "^5.
|
|
58
|
+
"@rollup/plugin-typescript": "11.1.5",
|
|
59
|
+
"@storybook/addon-actions": "^7.6.7",
|
|
60
|
+
"@storybook/addon-docs": "^7.6.7",
|
|
61
|
+
"@storybook/addon-essentials": "^7.6.7",
|
|
62
|
+
"@storybook/addon-interactions": "^7.6.7",
|
|
63
|
+
"@storybook/addon-links": "^7.6.7",
|
|
64
|
+
"@storybook/react": "^7.6.7",
|
|
65
|
+
"@storybook/react-webpack5": "^7.6.7",
|
|
66
|
+
"@storybook/testing-library": "^0.2.2",
|
|
67
|
+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
|
|
68
|
+
"@types/react": "^18.2.47",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
70
|
+
"@typescript-eslint/parser": "^5.62.0",
|
|
71
71
|
"babel-jest": "^26.6.3",
|
|
72
|
-
"babel-loader": "^8.
|
|
73
|
-
"babel-plugin-import": "^1.13.
|
|
72
|
+
"babel-loader": "^8.3.0",
|
|
73
|
+
"babel-plugin-import": "^1.13.8",
|
|
74
74
|
"babel-plugin-module-resolver": "^5.0.0",
|
|
75
|
-
"css-loader": "^5.
|
|
76
|
-
"date-fns": "^2.
|
|
77
|
-
"dayjs": "^1.11.
|
|
75
|
+
"css-loader": "^5.2.7",
|
|
76
|
+
"date-fns": "^2.30.0",
|
|
77
|
+
"dayjs": "^1.11.10",
|
|
78
78
|
"dotenv-webpack": "^8.0.1",
|
|
79
|
-
"eslint": "^8.
|
|
79
|
+
"eslint": "^8.56.0",
|
|
80
80
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
81
|
-
"eslint-config-airbnb-typescript": "^17.
|
|
82
|
-
"eslint-config-prettier": "^8.
|
|
83
|
-
"eslint-import-resolver-typescript": "^3.
|
|
84
|
-
"eslint-plugin-import": "^2.
|
|
85
|
-
"eslint-plugin-jsx-a11y": "^6.
|
|
81
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
82
|
+
"eslint-config-prettier": "^8.10.0",
|
|
83
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
84
|
+
"eslint-plugin-import": "^2.29.1",
|
|
85
|
+
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
86
86
|
"eslint-plugin-prettier": "^4.2.1",
|
|
87
|
-
"eslint-plugin-react": "^7.
|
|
87
|
+
"eslint-plugin-react": "^7.33.2",
|
|
88
88
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
89
|
-
"eslint-plugin-storybook": "^0.6.
|
|
89
|
+
"eslint-plugin-storybook": "^0.6.15",
|
|
90
90
|
"framer-motion": "4.1.17",
|
|
91
|
-
"husky": "^8.0.
|
|
92
|
-
"lint-staged": "^13.0
|
|
93
|
-
"postcss": "^8.4.
|
|
94
|
-
"prettier": "^2.
|
|
95
|
-
"react-calendar": "^4.
|
|
96
|
-
"react-day-picker": "^8.
|
|
91
|
+
"husky": "^8.0.3",
|
|
92
|
+
"lint-staged": "^13.3.0",
|
|
93
|
+
"postcss": "^8.4.33",
|
|
94
|
+
"prettier": "^2.8.8",
|
|
95
|
+
"react-calendar": "^4.7.0",
|
|
96
|
+
"react-day-picker": "^8.10.0",
|
|
97
97
|
"react-dom": "^18.2.0",
|
|
98
|
-
"react-focus-lock": "^2.9.
|
|
99
|
-
"react-icons": "^4.
|
|
98
|
+
"react-focus-lock": "^2.9.6",
|
|
99
|
+
"react-icons": "^4.12.0",
|
|
100
100
|
"react-input-mask": "^3.0.0-alpha.2",
|
|
101
|
-
"react-phone-number-input": "^3.
|
|
102
|
-
"react-select": "^5.
|
|
101
|
+
"react-phone-number-input": "^3.3.9",
|
|
102
|
+
"react-select": "^5.8.0",
|
|
103
103
|
"relative-deps": "^0.0.2",
|
|
104
|
-
"rollup": "^2.
|
|
105
|
-
"rollup-plugin-dts": "^4.2.
|
|
104
|
+
"rollup": "^2.79.1",
|
|
105
|
+
"rollup-plugin-dts": "^4.2.3",
|
|
106
106
|
"rollup-plugin-node-externals": "^4.1.1",
|
|
107
107
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
108
108
|
"rollup-plugin-postcss": "^4.0.2",
|
|
109
109
|
"rollup-plugin-terser": "^7.0.2",
|
|
110
|
-
"sass": "^1.
|
|
110
|
+
"sass": "^1.69.7",
|
|
111
111
|
"sass-loader": "^12.6.0",
|
|
112
|
-
"storybook": "^7.
|
|
112
|
+
"storybook": "^7.6.7",
|
|
113
113
|
"style-loader": "^2.0.0",
|
|
114
114
|
"tslib": "^2.6.2",
|
|
115
|
-
"typescript": "^4.
|
|
115
|
+
"typescript": "^4.9.5"
|
|
116
116
|
},
|
|
117
117
|
"relativeDependencies": {}
|
|
118
118
|
}
|