@geoinsight/react-components 0.6.5 → 0.6.6

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 CHANGED
@@ -237,7 +237,9 @@ function Modal({ modalref, children, title, subtitle, footer, hasCloseButton = t
237
237
  return (jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [jsxRuntime.jsx("div", { className: "modal-overlay" }), jsxRuntime.jsxs("div", { ref: modalref, className: "modal", children: [hasCloseButton && (jsxRuntime.jsx(Button, { mode: "secondary", className: "modal__close", size: "small", onClick: handleClose, children: jsxRuntime.jsx(io5.IoClose, {}) })), jsxRuntime.jsxs("div", { className: "modal__content", children: [title && (jsxRuntime.jsxs("div", { className: "modal__header", children: [jsxRuntime.jsx("h3", { children: title }), jsxRuntime.jsx("h6", { children: subtitle })] })), jsxRuntime.jsx("div", { className: "modal__children", children: children }), footer && jsxRuntime.jsx("div", { className: "modal__footer", children: footer })] })] })] }));
238
238
  }
239
239
 
240
- function Select({ inputClassName = "", classNameGroup = "", options, styleGroup, defaultValue, inputProps, setFormSelected, onFormBlur, handleSelect, ...rest }) {
240
+ function Select({ inputClassName = "", classNameGroup = "", options, styleGroup, defaultValue,
241
+ // inputProps,
242
+ setFormSelected, onFormBlur, handleSelect, ...rest }) {
241
243
  const [isOpen, setIsOpen] = react.useState(false);
242
244
  const [value, setValue] = react.useState(defaultValue || (options && options[0]));
243
245
  const [filteredOptions, setFilteredOptions] = react.useState(options);
package/dist/esm/index.js CHANGED
@@ -235,7 +235,9 @@ function Modal({ modalref, children, title, subtitle, footer, hasCloseButton = t
235
235
  return (jsxs(Fragment, { children: [jsx("div", { className: "modal-overlay" }), jsxs("div", { ref: modalref, className: "modal", children: [hasCloseButton && (jsx(Button, { mode: "secondary", className: "modal__close", size: "small", onClick: handleClose, children: jsx(IoClose, {}) })), jsxs("div", { className: "modal__content", children: [title && (jsxs("div", { className: "modal__header", children: [jsx("h3", { children: title }), jsx("h6", { children: subtitle })] })), jsx("div", { className: "modal__children", children: children }), footer && jsx("div", { className: "modal__footer", children: footer })] })] })] }));
236
236
  }
237
237
 
238
- function Select({ inputClassName = "", classNameGroup = "", options, styleGroup, defaultValue, inputProps, setFormSelected, onFormBlur, handleSelect, ...rest }) {
238
+ function Select({ inputClassName = "", classNameGroup = "", options, styleGroup, defaultValue,
239
+ // inputProps,
240
+ setFormSelected, onFormBlur, handleSelect, ...rest }) {
239
241
  const [isOpen, setIsOpen] = useState(false);
240
242
  const [value, setValue] = useState(defaultValue || (options && options[0]));
241
243
  const [filteredOptions, setFilteredOptions] = useState(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geoinsight/react-components",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "This library is the main UI component library for geoinsight",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",