@overmap-ai/blocks 1.0.44-gcs.3 → 1.0.44-gcs.4

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,4 +1,3 @@
1
1
  export declare const floating: (props?: ({
2
- shadow?: "1" | "2" | "3" | "4" | "5" | null | undefined;
3
2
  side?: "top" | "right" | "bottom" | "left" | null | undefined;
4
3
  } & import('class-variance-authority/types').ClassProp) | undefined) => string;
@@ -1,2 +1,3 @@
1
1
  export * from './floating';
2
2
  export * from './radius';
3
+ export * from './surface';
@@ -0,0 +1,3 @@
1
+ export declare const shadowCva: (props?: ({
2
+ size?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "2xs" | "2xl" | null | undefined;
3
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
package/dist/index.d.ts CHANGED
@@ -13,7 +13,6 @@ export * from './Dialog';
13
13
  export * from './Heading';
14
14
  export * from './hooks';
15
15
  export * from './HoverCard';
16
- export * from './HoverUtility';
17
16
  export * from './Input';
18
17
  export * from './Layout';
19
18
  export * from './Link';
package/dist/typings.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export type ViewportSizes = "initial" | "xs" | "sm" | "md" | "lg" | "xl";
2
+ export type ComponentShadow = "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
2
3
  export interface AccentColorProps {
3
4
  accentColor?: string;
4
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@overmap-ai/blocks",
3
- "version": "1.0.44-gcs.3",
3
+ "version": "1.0.44-gcs.4",
4
4
  "description": "A collection of React components for building Overmap's UI.",
5
5
  "license": "UNLICENSED",
6
6
  "author": "Wôrdn Inc.",
@@ -1,15 +0,0 @@
1
- import { PointerEventHandler, ReactElement } from 'react';
2
- interface ChildProps {
3
- isHovered: boolean;
4
- onPointerEnter: PointerEventHandler<HTMLElement>;
5
- onPointerLeave: PointerEventHandler<HTMLElement>;
6
- }
7
- interface HoverUtilityProps {
8
- forceHover?: boolean;
9
- children: (props: ChildProps) => ReactElement;
10
- }
11
- /** HoverUtility is a utility component used for detecting when an element is being hovered over or not, is passes a
12
- * isHovered variable to its children as well as props onPointerEnter and onPointerLeave that can be spread on any
13
- * child component that should be used as the element to observe hovering on. See stories of examples of its use. */
14
- export declare const HoverUtility: import('react').NamedExoticComponent<HoverUtilityProps>;
15
- export {};
@@ -1 +0,0 @@
1
- export * from './HoverUtility';