@redsift/popovers 10.3.0-alpha.10 → 10.3.0-alpha.12

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.
Files changed (2) hide show
  1. package/index.d.ts +12 -12
  2. package/package.json +2 -2
package/index.d.ts CHANGED
@@ -35,10 +35,10 @@ declare function useDialog({ color, defaultOpen, hasCloseButton, initialFocus, i
35
35
  y: number | null;
36
36
  placement: _floating_ui_react.Placement;
37
37
  strategy: _floating_ui_react.Strategy;
38
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
39
- floating: (node: HTMLElement | null) => void;
40
38
  middlewareData: _floating_ui_react.MiddlewareData;
41
39
  update: () => void;
40
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
41
+ floating: (node: HTMLElement | null) => void;
42
42
  isPositioned: boolean;
43
43
  open: boolean;
44
44
  onOpenChange: (open: boolean) => void;
@@ -260,10 +260,10 @@ declare const useDialogContext: () => {
260
260
  y: number | null;
261
261
  placement: _floating_ui_core.Placement;
262
262
  strategy: _floating_ui_core.Strategy;
263
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
264
- floating: (node: HTMLElement | null) => void;
265
263
  middlewareData: _floating_ui_core.MiddlewareData;
266
264
  update: () => void;
265
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
266
+ floating: (node: HTMLElement | null) => void;
267
267
  isPositioned: boolean;
268
268
  open: boolean;
269
269
  onOpenChange: (open: boolean) => void;
@@ -307,10 +307,10 @@ declare function usePopover({ color, defaultOpen, isModal, isOpen: propsIsOpen,
307
307
  y: number | null;
308
308
  placement: _floating_ui_react.Placement;
309
309
  strategy: _floating_ui_react.Strategy;
310
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
311
- floating: (node: HTMLElement | null) => void;
312
310
  middlewareData: _floating_ui_react.MiddlewareData;
313
311
  update: () => void;
312
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
313
+ floating: (node: HTMLElement | null) => void;
314
314
  isPositioned: boolean;
315
315
  open: boolean;
316
316
  onOpenChange: (open: boolean) => void;
@@ -478,10 +478,10 @@ declare const usePopoverContext: () => {
478
478
  y: number | null;
479
479
  placement: _floating_ui_core.Placement;
480
480
  strategy: _floating_ui_core.Strategy;
481
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
482
- floating: (node: HTMLElement | null) => void;
483
481
  middlewareData: _floating_ui_core.MiddlewareData;
484
482
  update: () => void;
483
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
484
+ floating: (node: HTMLElement | null) => void;
485
485
  isPositioned: boolean;
486
486
  open: boolean;
487
487
  onOpenChange: (open: boolean) => void;
@@ -676,10 +676,10 @@ declare function useTooltip({ color, defaultOpen, delay, placement, isOpen: prop
676
676
  y: number | null;
677
677
  placement: _floating_ui_react.Placement;
678
678
  strategy: _floating_ui_react.Strategy;
679
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
680
- floating: (node: HTMLElement | null) => void;
681
679
  middlewareData: _floating_ui_react.MiddlewareData;
682
680
  update: () => void;
681
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
682
+ floating: (node: HTMLElement | null) => void;
683
683
  isPositioned: boolean;
684
684
  open: boolean;
685
685
  onOpenChange: (open: boolean) => void;
@@ -793,10 +793,10 @@ declare const useTooltipContext: () => {
793
793
  y: number | null;
794
794
  placement: _floating_ui_core.Placement;
795
795
  strategy: _floating_ui_core.Strategy;
796
- reference: (node: _floating_ui_react.ReferenceType | null) => void;
797
- floating: (node: HTMLElement | null) => void;
798
796
  middlewareData: _floating_ui_core.MiddlewareData;
799
797
  update: () => void;
798
+ reference: (node: _floating_ui_react.ReferenceType | null) => void;
799
+ floating: (node: HTMLElement | null) => void;
800
800
  isPositioned: boolean;
801
801
  open: boolean;
802
802
  onOpenChange: (open: boolean) => void;
package/package.json CHANGED
@@ -30,7 +30,7 @@
30
30
  "test": "yarn test:unit && yarn test:storybook"
31
31
  },
32
32
  "types": "index.d.ts",
33
- "version": "10.3.0-alpha.10",
33
+ "version": "10.3.0-alpha.12",
34
34
  "dependencies": {
35
35
  "@floating-ui/react": "^0.19.2",
36
36
  "classnames": "^2.3.1",
@@ -92,5 +92,5 @@
92
92
  "react-dom": ">=17",
93
93
  "styled-components": "^5.3.5"
94
94
  },
95
- "gitHead": "df5c2f525b5fe807f878b52bb87efe55ce5a320a"
95
+ "gitHead": "c4bfc6e3ffd0b4df21d65274249d4f01cdc3223a"
96
96
  }