@driveflux/ui 1.1.1 → 1.1.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"BottomSheetProvider.d.ts","sourceRoot":"","sources":["../../src/bottom-sheet/BottomSheetProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACN,KAAK,EAAE,EACP,KAAK,iBAAiB,EAKtB,MAAM,OAAO,CAAA;AAed,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CAuH9C,CAAA;AAED,eAAe,mBAAmB,CAAA"}
1
+ {"version":3,"file":"BottomSheetProvider.d.ts","sourceRoot":"","sources":["../../src/bottom-sheet/BottomSheetProvider.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,EAAE,EACP,KAAK,iBAAiB,EAKvB,MAAM,OAAO,CAAA;AAed,QAAA,MAAM,mBAAmB,EAAE,EAAE,CAAC,iBAAiB,CAuH9C,CAAA;AAED,eAAe,mBAAmB,CAAA"}
@@ -47,10 +47,10 @@ function _unsupported_iterable_to_array(o, minLen) {
47
47
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
48
48
  import { IconClose } from '@driveflux/icons';
49
49
  import { useCallback, useEffect, useRef, useState } from 'react';
50
- import { Box, Button, Divider, HStack, Slide, Text, VStack, useDisclosure } from '../chakra';
51
- import { colors } from '../theme';
52
- import { BottomSheetContext } from './context';
53
- import { isMobile } from './utils';
50
+ import { Box, Button, Divider, HStack, Slide, Text, VStack, useDisclosure } from '../chakra.js';
51
+ import { colors } from '../theme/index.js';
52
+ import { BottomSheetContext } from './context.js';
53
+ import { isMobile } from './utils.js';
54
54
  var BottomSheetProvider = function(param) {
55
55
  var children = param.children;
56
56
  var _useDisclosure = useDisclosure(), isOpen = _useDisclosure.isOpen, onClose = _useDisclosure.onClose, onOpen = _useDisclosure.onOpen;
@@ -1,6 +1,6 @@
1
1
  export declare const useBottomSheet: () => {
2
2
  isOpen: boolean;
3
- open: (options: import("./context").BottomSheetOptions) => void;
3
+ open: (options: import("./context.js").BottomSheetOptions) => void;
4
4
  close: () => void;
5
5
  };
6
6
  //# sourceMappingURL=use-bottom-sheet.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { useContext } from 'react';
2
- import { BottomSheetContext } from './context';
2
+ import { BottomSheetContext } from './context.js';
3
3
  export var useBottomSheet = function() {
4
4
  return useContext(BottomSheetContext);
5
5
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@driveflux/ui",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {
@@ -42,7 +42,7 @@
42
42
  "lodash": "^4.17.21"
43
43
  },
44
44
  "devDependencies": {
45
- "@driveflux/fab": "2.1.1",
45
+ "@driveflux/fab": "2.1.2",
46
46
  "@driveflux/problem": "4.1.2",
47
47
  "@driveflux/result": "4.1.1",
48
48
  "@driveflux/tsconfig": "1.1.2",