@paygreen/pgui 2.10.1 → 2.11.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.
@@ -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
- unstyled?: boolean | undefined;
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
- unstyled?: boolean | undefined;
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
- unstyled?: boolean | undefined;
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
- unstyled?: boolean | undefined;
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.10.1",
3
+ "version": "2.11.1",
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.18.6",
48
- "@babel/plugin-transform-runtime": "^7.18.6",
49
- "@babel/preset-env": "^7.18.6",
50
- "@babel/preset-react": "^7.18.6",
51
- "@babel/preset-typescript": "^7.18.6",
52
- "@chakra-ui/react": "^2.3.5",
53
- "@chakra-ui/theme-tools": "^2.0.14",
54
- "@emotion/react": "^11.9.3",
55
- "@emotion/styled": "^11.9.3",
56
- "@rollup/plugin-commonjs": "^22.0.1",
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.4",
59
- "@storybook/addon-actions": "^7.4.0",
60
- "@storybook/addon-docs": "^7.4.0",
61
- "@storybook/addon-essentials": "^7.4.0",
62
- "@storybook/addon-interactions": "^7.4.0",
63
- "@storybook/addon-links": "^7.4.0",
64
- "@storybook/react": "^7.4.0",
65
- "@storybook/react-webpack5": "^7.4.0",
66
- "@storybook/testing-library": "^0.2.1-next.0",
67
- "@trivago/prettier-plugin-sort-imports": "^4.2.1",
68
- "@types/react": "^18.0.26",
69
- "@typescript-eslint/eslint-plugin": "^5.30.6",
70
- "@typescript-eslint/parser": "^5.30.6",
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.1.0",
73
- "babel-plugin-import": "^1.13.5",
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.0.1",
76
- "date-fns": "^2.29.3",
77
- "dayjs": "^1.11.7",
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.20.0",
79
+ "eslint": "^8.56.0",
80
80
  "eslint-config-airbnb-base": "^15.0.0",
81
- "eslint-config-airbnb-typescript": "^17.0.0",
82
- "eslint-config-prettier": "^8.5.0",
83
- "eslint-import-resolver-typescript": "^3.2.7",
84
- "eslint-plugin-import": "^2.26.0",
85
- "eslint-plugin-jsx-a11y": "^6.6.1",
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.30.1",
87
+ "eslint-plugin-react": "^7.33.2",
88
88
  "eslint-plugin-react-hooks": "^4.6.0",
89
- "eslint-plugin-storybook": "^0.6.8",
89
+ "eslint-plugin-storybook": "^0.6.15",
90
90
  "framer-motion": "4.1.17",
91
- "husky": "^8.0.2",
92
- "lint-staged": "^13.0.3",
93
- "postcss": "^8.4.19",
94
- "prettier": "^2.7.1",
95
- "react-calendar": "^4.0.0",
96
- "react-day-picker": "^8.3.7",
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.2",
99
- "react-icons": "^4.4.0",
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.2.13",
102
- "react-select": "^5.4.0",
101
+ "react-phone-number-input": "^3.3.9",
102
+ "react-select": "^5.8.0",
103
103
  "relative-deps": "^0.0.2",
104
- "rollup": "^2.77.0",
105
- "rollup-plugin-dts": "^4.2.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.53.0",
110
+ "sass": "^1.69.7",
111
111
  "sass-loader": "^12.6.0",
112
- "storybook": "^7.4.0",
112
+ "storybook": "^7.6.7",
113
113
  "style-loader": "^2.0.0",
114
114
  "tslib": "^2.6.2",
115
- "typescript": "^4.7.4"
115
+ "typescript": "^4.9.5"
116
116
  },
117
117
  "relativeDependencies": {}
118
118
  }