@reykjavik/hanna-react 0.10.89 → 0.10.91

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/CHANGELOG.md CHANGED
@@ -4,13 +4,20 @@
4
4
 
5
5
  - ... <!-- Add new lines here. -->
6
6
 
7
+ ## 0.10.90 – 0.10.91
8
+
9
+ _2023-06-01_
10
+
11
+ - fix: Add missing named export of `Tooltip` compnent
12
+ - fix: Update dependencies to fix esm–cjs import resolution errors
13
+
7
14
  ## 0.10.88 – 0.10.89
8
15
 
9
16
  _2023-05-25_
10
17
 
11
18
  - feat(ts): Export utility type `HtmlProps` from `utils` module — for adding
12
19
  HTML attributes (including `data-*`) to React components.
13
- - fix: Update dependencies to fix import resolution errors in node@>=18
20
+ - fix: Update dependencies to fix esm–cjs import resolution errors
14
21
 
15
22
  ## 0.10.87
16
23
 
package/ContactBubble.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ContactBubble = exports.ensureIcon = exports.defaultTexts = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
- const focusElm_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/focusElm"));
6
+ const focusElm_1 = require("@hugsmidjan/qj/focusElm");
7
7
  const hooks_1 = require("@hugsmidjan/react/hooks");
8
8
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
9
9
  const hanna_utils_1 = require("@reykjavik/hanna-utils");
@@ -54,7 +54,7 @@ const ContactBubble = (props) => {
54
54
  closeBubble: (setFocus) => {
55
55
  useLocalState && setLocalOpen(false);
56
56
  onToggle && onToggle(false);
57
- setFocus !== false && (0, focusElm_1.default)(wrapperRef.current);
57
+ setFocus !== false && (0, focusElm_1.focusElm)(wrapperRef.current);
58
58
  },
59
59
  }), [useLocalState, onToggle]);
60
60
  (0, react_1.useEffect)(() => {
package/Datepicker.js CHANGED
@@ -3,16 +3,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Datepicker = exports.getDateDiff = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importDefault(require("react"));
6
- // Documentation: https://reactdatepicker.com/
7
- const react_datepicker_1 = tslib_1.__importStar(require("react-datepicker"));
8
6
  const hooks_1 = require("@hugsmidjan/react/hooks");
9
7
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
10
8
  // For more info on localization see: https://stackoverflow.com/questions/54399084/change-locale-in-react-datepicker/58306958#58306958
11
- const is_1 = tslib_1.__importDefault(require("date-fns/locale/is"));
12
- const pl_1 = tslib_1.__importDefault(require("date-fns/locale/pl"));
13
- const FormField_js_1 = tslib_1.__importDefault(require("./FormField.js"));
14
- (0, react_datepicker_1.registerLocale)('is', is_1.default);
15
- (0, react_datepicker_1.registerLocale)('pl', pl_1.default);
9
+ const index_js_1 = tslib_1.__importDefault(require("date-fns/locale/is/index.js"));
10
+ const index_js_2 = tslib_1.__importDefault(require("date-fns/locale/pl/index.js"));
11
+ const ReactDatepicker_js_1 = require("./_mixed_export_resolution_/ReactDatepicker.js"); // Docs: https://reactdatepicker.com/
12
+ const FormField_js_1 = require("./FormField.js");
13
+ (0, ReactDatepicker_js_1.registerLocale)('is', index_js_1.default);
14
+ (0, ReactDatepicker_js_1.registerLocale)('pl', index_js_2.default);
16
15
  const getDateDiff = (date, diff) => {
17
16
  const newDate = new Date(date);
18
17
  newDate.setDate(newDate.getDate() + diff);
@@ -59,14 +58,14 @@ const Datepicker = (props) => {
59
58
  const txts = i18n[localeCode] || {};
60
59
  const filled = !!value;
61
60
  const empty = !filled && !placeholder;
62
- return (react_1.default.createElement(FormField_js_1.default, { className: (0, getBemClass_1.default)('Datepicker', [], className), ssr: ssr, label: label, small: small, assistText: assistText, hideLabel: hideLabel, invalid: invalid, required: required, reqText: reqText, disabled: disabled, readOnly: readOnly, filled: filled, empty: empty, errorMessage: errorMessage, renderInput: (className, inputProps, addFocusProps) => {
61
+ return (react_1.default.createElement(FormField_js_1.FormField, { className: (0, getBemClass_1.default)('Datepicker', [], className), ssr: ssr, label: label, small: small, assistText: assistText, hideLabel: hideLabel, invalid: invalid, required: required, reqText: reqText, disabled: disabled, readOnly: readOnly, filled: filled, empty: empty, errorMessage: errorMessage, renderInput: (className, inputProps, addFocusProps) => {
63
62
  return (react_1.default.createElement("div", Object.assign({ className: className.input, onClick: ({ target, currentTarget }) => { var _a; return target === currentTarget && ((_a = currentTarget.querySelector('input')) === null || _a === void 0 ? void 0 : _a.focus()); }, ref: inputRef &&
64
63
  ((elm) => {
65
64
  inputRef.current =
66
65
  (elm === null || elm === void 0 ? void 0 : elm.querySelector('input')) || undefined;
67
66
  return elm;
68
67
  }) }, addFocusProps()),
69
- react_1.default.createElement(react_datepicker_1.default, Object.assign({ id: domid, required: inputProps.required, disabled: inputProps.disabled, readOnly: inputProps.readOnly, selected: value, name: name, locale: localeCode, dateFormat:
68
+ react_1.default.createElement(ReactDatepicker_js_1.ReactDatePicker, Object.assign({ id: domid, required: inputProps.required, disabled: inputProps.disabled, readOnly: inputProps.readOnly, selected: value, name: name, locale: localeCode, dateFormat:
70
69
  // NOTE: Force all dateFormat values into Array<string> to temporarily work around
71
70
  // a bug in the current version of react-datepicker where invalid **string** values
72
71
  // are re-parsed with `new Date()`, causing surprising (weird) false positives
package/FileInput.js CHANGED
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.FileInput = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
- const react_dropzone_1 = require("react-dropzone"); // https://react-dropzone.js.org/#!/Dropzone
7
6
  const hooks_1 = require("@hugsmidjan/react/hooks");
8
7
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
9
8
  const i18n_1 = require("@reykjavik/hanna-utils/i18n");
9
+ const ReactDropzone_js_1 = require("./_mixed_export_resolution_/ReactDropzone.js");
10
10
  const _FileInput_utils_js_1 = require("./FileInput/_FileInput.utils.js");
11
11
  const _FileInputFileList_js_1 = require("./FileInput/_FileInputFileList.js");
12
12
  const FormField_js_1 = tslib_1.__importDefault(require("./FormField.js"));
@@ -37,7 +37,7 @@ const FileInput = (props) => {
37
37
  const fileInput = (0, react_1.useRef)(null);
38
38
  const files = value;
39
39
  const [isHover, setIsHover] = (0, react_1.useState)(false);
40
- const { getRootProps, getInputProps, isDragReject, inputRef } = (0, react_dropzone_1.useDropzone)({
40
+ const { getRootProps, getInputProps, isDragReject, inputRef } = (0, ReactDropzone_js_1.useDropzone)({
41
41
  onDrop: (acceptedFiles) => {
42
42
  acceptedFiles = acceptedFiles.map((file) => {
43
43
  (0, _FileInput_utils_js_1.addPreview)(file);
package/IframeBlock.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { EitherObj } from '@reykjavik/hanna-utils';
2
- import { ResizerOptions } from 'iframe-resizer-react';
2
+ import { type ResizerOptions } from 'iframe-resizer-react';
3
3
  export type IframeBlockProps = {
4
4
  src: string;
5
5
  /** Accessible title attribute for the iframe (similar to alt="" on images) */
package/MainMenu.js CHANGED
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MainMenu = exports.defaultMainMenuTexts = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
- const focusElm_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/focusElm"));
6
+ const focusElm_1 = require("@hugsmidjan/qj/focusElm");
7
7
  const useShortState_1 = tslib_1.__importDefault(require("@hugsmidjan/react/hooks/useShortState"));
8
8
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
9
9
  const hanna_utils_1 = require("@reykjavik/hanna-utils");
@@ -121,13 +121,13 @@ const MainMenu = (props) => {
121
121
  // const buttonElm = menuElm.querySelector<HTMLButtonElement>(
122
122
  // 'button.MainMenu__link[aria-pressed="true"]'
123
123
  // );
124
- (0, focusElm_1.default)(pressedLinkElm);
124
+ (0, focusElm_1.focusElm)(pressedLinkElm);
125
125
  }
126
126
  else if (newActive !== activePanel) {
127
127
  // const panelElm = menuElm.querySelector<HTMLButtonElement>(
128
128
  // '.PrimaryPanel--active'
129
129
  // );
130
- (0, focusElm_1.default)(activePanelRef.current);
130
+ (0, focusElm_1.focusElm)(activePanelRef.current);
131
131
  }
132
132
  }, 100);
133
133
  }
package/Tooltip.d.ts CHANGED
@@ -3,5 +3,5 @@ export type TooltipProps = {
3
3
  text: string | JSX.Element;
4
4
  iconOnly?: boolean;
5
5
  };
6
- declare const ToolTip: (props: TooltipProps) => JSX.Element;
7
- export default ToolTip;
6
+ export declare const Tooltip: (props: TooltipProps) => JSX.Element;
7
+ export default Tooltip;
package/Tooltip.js CHANGED
@@ -1,12 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Tooltip = void 0;
3
4
  const tslib_1 = require("tslib");
4
5
  const react_1 = tslib_1.__importStar(require("react"));
5
6
  const react_2 = require("@floating-ui/react");
6
7
  const hooks_1 = require("@hugsmidjan/react/hooks");
7
8
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
8
9
  const getSide = (placement) => placement.split('-')[0];
9
- const ToolTip = (props) => {
10
+ const Tooltip = (props) => {
10
11
  const { text, label, iconOnly } = props;
11
12
  const arrowRef = (0, react_1.useRef)(null);
12
13
  const [isOpen, setIsOpen] = (0, hooks_1.useLaggedState)(false, 300);
@@ -58,4 +59,5 @@ const ToolTip = (props) => {
58
59
  x !== null && (react_1.default.createElement("div", { "data-floating-ui-hack-plz-ignore": "", style: { position: 'absolute', display: 'none' }, ref: arrowRef })),
59
60
  text)));
60
61
  };
61
- exports.default = ToolTip;
62
+ exports.Tooltip = Tooltip;
63
+ exports.default = exports.Tooltip;
@@ -5,7 +5,7 @@ const tslib_1 = require("tslib");
5
5
  const react_1 = tslib_1.__importStar(require("react"));
6
6
  const A_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/A"));
7
7
  const debounce_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/debounce"));
8
- const focusElm_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/focusElm"));
8
+ const focusElm_1 = require("@hugsmidjan/qj/focusElm");
9
9
  const throttle_1 = tslib_1.__importDefault(require("@hugsmidjan/qj/throttle"));
10
10
  const getBemClass_1 = tslib_1.__importDefault(require("@hugsmidjan/react/utils/getBemClass"));
11
11
  const hanna_utils_1 = require("@reykjavik/hanna-utils");
@@ -73,7 +73,7 @@ const AbstractCarousel = (props) => {
73
73
  }
74
74
  setActiveItem(newActive);
75
75
  listElm.scrollLeft = newItem.offsetLeft || 1;
76
- setTimeout(() => (0, focusElm_1.default)(newItem), 500);
76
+ setTimeout(() => (0, focusElm_1.focusElm)(newItem), 500);
77
77
  };
78
78
  const { delayedScrollLeft, delayedScrollRight } = (0, react_1.useMemo)(() => {
79
79
  const delayedScrollLeft = (0, debounce_1.default)((currentActive) => {
@@ -0,0 +1,6 @@
1
+ import * as reactDropzonePkg from 'react-datepicker';
2
+ export declare const ReactDatePicker: typeof reactDropzonePkg.ReactDatePicker;
3
+ export declare const registerLocale: typeof reactDropzonePkg.registerLocale;
4
+ export declare const setDefaultLocale: typeof reactDropzonePkg.setDefaultLocale;
5
+ export declare const getDefaultLocale: typeof reactDropzonePkg.getDefaultLocale;
6
+ export declare const CalendarContainer: typeof reactDropzonePkg.CalendarContainer;
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ // See <file://./_WAT.md> for info on why this file exists
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.CalendarContainer = exports.getDefaultLocale = exports.setDefaultLocale = exports.registerLocale = exports.ReactDatePicker = void 0;
5
+ const tslib_1 = require("tslib");
6
+ const reactDropzonePkg = tslib_1.__importStar(require("react-datepicker")); // Docs: https://reactdatepicker.com/
7
+ const _default = reactDropzonePkg.default;
8
+ // This defensive code is required to get around the fact that react-dropzone
9
+ // mixes default and named exports.
10
+ // Depending whether this module is run as ESM or CJS, then `_default` may be
11
+ // either the actual default export or an object with a default property.
12
+ // Rejoice in the woeful borderlands of modern ESM and legacy CJS interop.
13
+ exports.ReactDatePicker = 'default' in _default ? _default.default : _default;
14
+ exports.registerLocale = reactDropzonePkg.registerLocale;
15
+ exports.setDefaultLocale = reactDropzonePkg.setDefaultLocale;
16
+ exports.getDefaultLocale = reactDropzonePkg.getDefaultLocale;
17
+ exports.CalendarContainer = reactDropzonePkg.CalendarContainer;
@@ -0,0 +1,3 @@
1
+ import * as reactDropzonePkg from 'react-dropzone';
2
+ export declare const ReactDropzone: typeof reactDropzonePkg.default;
3
+ export declare const useDropzone: typeof reactDropzonePkg.useDropzone;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ // See <file://./_WAT.md> for info on why this file exists
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.useDropzone = exports.ReactDropzone = void 0;
5
+ const tslib_1 = require("tslib");
6
+ const reactDropzonePkg = tslib_1.__importStar(require("react-dropzone"));
7
+ const _default = reactDropzonePkg.default;
8
+ // This defensive code is required to get around the fact that react-dropzone
9
+ // mixes default and named exports.
10
+ // Depending whether this module is run as ESM or CJS, then `_default` may be
11
+ // either the actual default export or an object with a default property.
12
+ // Rejoice in the woeful borderlands of modern ESM and legacy CJS interop.
13
+ exports.ReactDropzone = 'default' in _default ? _default.default : _default;
14
+ exports.useDropzone = reactDropzonePkg.useDropzone;
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useMemo, useRef, useState } from 'react';
2
- import focusElm from '@hugsmidjan/qj/focusElm';
2
+ import { focusElm } from '@hugsmidjan/qj/focusElm';
3
3
  import { useDomid } from '@hugsmidjan/react/hooks';
4
4
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
5
5
  import { getPageScrollElm } from '@reykjavik/hanna-utils';
package/esm/Datepicker.js CHANGED
@@ -1,14 +1,11 @@
1
1
  import React from 'react';
2
- // Documentation: https://reactdatepicker.com/
3
- import ReactDatePicker, { registerLocale,
4
- // setDefaultLocale,
5
- } from 'react-datepicker';
6
2
  import { useDomid } from '@hugsmidjan/react/hooks';
7
3
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
8
4
  // For more info on localization see: https://stackoverflow.com/questions/54399084/change-locale-in-react-datepicker/58306958#58306958
9
- import is from 'date-fns/locale/is';
10
- import pl from 'date-fns/locale/pl';
11
- import FormField from './FormField.js';
5
+ import is from 'date-fns/locale/is/index.js';
6
+ import pl from 'date-fns/locale/pl/index.js';
7
+ import { ReactDatePicker, registerLocale, } from './_mixed_export_resolution_/ReactDatepicker.js'; // Docs: https://reactdatepicker.com/
8
+ import { FormField } from './FormField.js';
12
9
  registerLocale('is', is);
13
10
  registerLocale('pl', pl);
14
11
  export const getDateDiff = (date, diff) => {
package/esm/FileInput.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { __rest } from "tslib";
2
2
  import React, { useEffect, useRef, useState } from 'react';
3
- import { useDropzone } from 'react-dropzone'; // https://react-dropzone.js.org/#!/Dropzone
4
3
  import { useDomid } from '@hugsmidjan/react/hooks';
5
4
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
6
5
  import { DEFAULT_LANG } from '@reykjavik/hanna-utils/i18n';
6
+ import { useDropzone } from './_mixed_export_resolution_/ReactDropzone.js';
7
7
  import { addPreview, formatBytes, getFileListUpdate, releasePreview, } from './FileInput/_FileInput.utils.js';
8
8
  import { DefaultFileList } from './FileInput/_FileInputFileList.js';
9
9
  import FormField from './FormField.js';
@@ -1,5 +1,5 @@
1
1
  import { EitherObj } from '@reykjavik/hanna-utils';
2
- import { ResizerOptions } from 'iframe-resizer-react';
2
+ import { type ResizerOptions } from 'iframe-resizer-react';
3
3
  export type IframeBlockProps = {
4
4
  src: string;
5
5
  /** Accessible title attribute for the iframe (similar to alt="" on images) */
package/esm/MainMenu.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useMemo, useRef, useState } from 'react';
2
- import focusElm from '@hugsmidjan/qj/focusElm';
2
+ import { focusElm } from '@hugsmidjan/qj/focusElm';
3
3
  import useShortState from '@hugsmidjan/react/hooks/useShortState';
4
4
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
5
5
  import { getPageScrollElm } from '@reykjavik/hanna-utils';
package/esm/Tooltip.d.ts CHANGED
@@ -3,5 +3,5 @@ export type TooltipProps = {
3
3
  text: string | JSX.Element;
4
4
  iconOnly?: boolean;
5
5
  };
6
- declare const ToolTip: (props: TooltipProps) => JSX.Element;
7
- export default ToolTip;
6
+ export declare const Tooltip: (props: TooltipProps) => JSX.Element;
7
+ export default Tooltip;
package/esm/Tooltip.js CHANGED
@@ -3,7 +3,7 @@ import { arrow as arrowPlugin, autoUpdate, flip, offset, shift, useFloating, } f
3
3
  import { useCallbackOnEsc, useLaggedState } from '@hugsmidjan/react/hooks';
4
4
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
5
5
  const getSide = (placement) => placement.split('-')[0];
6
- const ToolTip = (props) => {
6
+ export const Tooltip = (props) => {
7
7
  const { text, label, iconOnly } = props;
8
8
  const arrowRef = useRef(null);
9
9
  const [isOpen, setIsOpen] = useLaggedState(false, 300);
@@ -55,4 +55,4 @@ const ToolTip = (props) => {
55
55
  x !== null && (React.createElement("div", { "data-floating-ui-hack-plz-ignore": "", style: { position: 'absolute', display: 'none' }, ref: arrowRef })),
56
56
  text)));
57
57
  };
58
- export default ToolTip;
58
+ export default Tooltip;
@@ -1,7 +1,7 @@
1
1
  import React, { useEffect, useMemo, useRef, useState, } from 'react';
2
2
  import A from '@hugsmidjan/qj/A';
3
3
  import debounce from '@hugsmidjan/qj/debounce';
4
- import focusElm from '@hugsmidjan/qj/focusElm';
4
+ import { focusElm } from '@hugsmidjan/qj/focusElm';
5
5
  import throttle from '@hugsmidjan/qj/throttle';
6
6
  import getBemClass from '@hugsmidjan/react/utils/getBemClass';
7
7
  import { notNully } from '@reykjavik/hanna-utils';
@@ -0,0 +1,6 @@
1
+ import * as reactDropzonePkg from 'react-datepicker';
2
+ export declare const ReactDatePicker: typeof reactDropzonePkg.ReactDatePicker;
3
+ export declare const registerLocale: typeof reactDropzonePkg.registerLocale;
4
+ export declare const setDefaultLocale: typeof reactDropzonePkg.setDefaultLocale;
5
+ export declare const getDefaultLocale: typeof reactDropzonePkg.getDefaultLocale;
6
+ export declare const CalendarContainer: typeof reactDropzonePkg.CalendarContainer;
@@ -0,0 +1,13 @@
1
+ // See <file://./_WAT.md> for info on why this file exists
2
+ import * as reactDropzonePkg from 'react-datepicker'; // Docs: https://reactdatepicker.com/
3
+ const _default = reactDropzonePkg.default;
4
+ // This defensive code is required to get around the fact that react-dropzone
5
+ // mixes default and named exports.
6
+ // Depending whether this module is run as ESM or CJS, then `_default` may be
7
+ // either the actual default export or an object with a default property.
8
+ // Rejoice in the woeful borderlands of modern ESM and legacy CJS interop.
9
+ export const ReactDatePicker = 'default' in _default ? _default.default : _default;
10
+ export const registerLocale = reactDropzonePkg.registerLocale;
11
+ export const setDefaultLocale = reactDropzonePkg.setDefaultLocale;
12
+ export const getDefaultLocale = reactDropzonePkg.getDefaultLocale;
13
+ export const CalendarContainer = reactDropzonePkg.CalendarContainer;
@@ -0,0 +1,3 @@
1
+ import * as reactDropzonePkg from 'react-dropzone';
2
+ export declare const ReactDropzone: typeof reactDropzonePkg.default;
3
+ export declare const useDropzone: typeof reactDropzonePkg.useDropzone;
@@ -0,0 +1,10 @@
1
+ // See <file://./_WAT.md> for info on why this file exists
2
+ import * as reactDropzonePkg from 'react-dropzone';
3
+ const _default = reactDropzonePkg.default;
4
+ // This defensive code is required to get around the fact that react-dropzone
5
+ // mixes default and named exports.
6
+ // Depending whether this module is run as ESM or CJS, then `_default` may be
7
+ // either the actual default export or an object with a default property.
8
+ // Rejoice in the woeful borderlands of modern ESM and legacy CJS interop.
9
+ export const ReactDropzone = 'default' in _default ? _default.default : _default;
10
+ export const useDropzone = reactDropzonePkg.useDropzone;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reykjavik/hanna-react",
3
- "version": "0.10.89",
3
+ "version": "0.10.91",
4
4
  "author": "Reykjavík (http://www.reykjavik.is)",
5
5
  "contributors": [
6
6
  "Hugsmiðjan ehf (http://www.hugsmidjan.is)",
@@ -14,8 +14,8 @@
14
14
  "license": "MIT",
15
15
  "dependencies": {
16
16
  "@floating-ui/react": "^0.19.2",
17
- "@hugsmidjan/qj": "^4.18.0",
18
- "@hugsmidjan/react": "^0.4.30",
17
+ "@hugsmidjan/qj": "^4.19.0",
18
+ "@hugsmidjan/react": "^0.4.31",
19
19
  "@reykjavik/hanna-css": "^0.4.2",
20
20
  "@reykjavik/hanna-utils": "^0.2.5",
21
21
  "@types/react": "^17.0.24",