@overmap-ai/blocks 1.0.43 → 1.0.44-gcs-update-sync.0
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/DayPicker/DayPicker.d.ts +1 -1
- package/dist/DayPicker/cva.d.ts +6 -0
- package/dist/Layout/context.d.ts +1 -2
- package/dist/Layout/hooks.d.ts +3 -1
- package/dist/Spinner/Spinner.d.ts +9 -3
- package/dist/Spinner/cva.d.ts +3 -0
- package/dist/Spinner/index.d.ts +1 -0
- package/dist/Spinner/typings.d.ts +9 -0
- package/dist/Table/Root.d.ts +1 -0
- package/dist/Table/context.d.ts +1 -0
- package/dist/Table/cva.d.ts +1 -0
- package/dist/Table/typings.d.ts +1 -0
- package/dist/blocks.js +1134 -1017
- package/dist/blocks.umd.cjs +1 -1
- package/package.json +3 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { DayPicker as ReactDayPicker } from 'react-day-picker';
|
|
3
3
|
import { DayPickerVariantProps } from './typings';
|
|
4
|
-
export type DayPickerProps = ComponentProps<typeof ReactDayPicker> & DayPickerVariantProps;
|
|
4
|
+
export type DayPickerProps = Omit<ComponentProps<typeof ReactDayPicker>, "captionLayout" | "hideNavigation"> & DayPickerVariantProps;
|
|
5
5
|
/**
|
|
6
6
|
* Date picker component built on react-day-picker with consistent styling.
|
|
7
7
|
* Supports single/multiple date selection, date ranges, and custom styling variants.
|
package/dist/DayPicker/cva.d.ts
CHANGED
|
@@ -18,3 +18,9 @@ export declare const todayCva: (props?: ({
|
|
|
18
18
|
export declare const monthCaptionCva: (props?: ({
|
|
19
19
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
20
20
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
21
|
+
export declare const dropdownRootCva: (props?: ({
|
|
22
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
23
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
24
|
+
export declare const captionsLabelCva: (props?: ({
|
|
25
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
26
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
package/dist/Layout/context.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
export interface ILayoutContent {
|
|
3
2
|
small: boolean;
|
|
4
3
|
hideLayout: boolean;
|
|
5
4
|
isOpen: (id: string) => boolean;
|
|
6
5
|
setOpen: (id: string, open: boolean) => void;
|
|
7
6
|
}
|
|
8
|
-
export declare const LayoutContext: import('
|
|
7
|
+
export declare const LayoutContext: import('use-context-selector').Context<ILayoutContent>;
|
package/dist/Layout/hooks.d.ts
CHANGED
|
@@ -1 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import { ILayoutContent } from './context';
|
|
2
|
+
export declare const useLayoutContext: () => ILayoutContent;
|
|
3
|
+
export declare function useLayoutContextSelector<Selected>(selector: (ctx: ILayoutContent) => Selected): Selected;
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { SpinnerVariantProps } from './typings';
|
|
3
|
+
export interface SpinnerProps extends ComponentPropsWithRef<"div">, SpinnerVariantProps {
|
|
4
|
+
}
|
|
2
5
|
/**
|
|
3
6
|
* Loading spinner component that indicates ongoing operations.
|
|
4
|
-
*
|
|
7
|
+
* Supports button-aligned size variants and accent color theming.
|
|
8
|
+
*
|
|
9
|
+
* @param [size="md"] {SpinnerSize} - Spinner size
|
|
10
|
+
* @param accentColor {string} - Accent color override
|
|
5
11
|
*/
|
|
6
|
-
export declare const Spinner: import('react').
|
|
12
|
+
export declare const Spinner: import('react').NamedExoticComponent<SpinnerProps>;
|
package/dist/Spinner/index.d.ts
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { AccentColorProps } from '../typings';
|
|
3
|
+
import { spinnerCva } from './cva';
|
|
4
|
+
type Variants = VariantProps<typeof spinnerCva>;
|
|
5
|
+
export type SpinnerSize = NonNullable<Variants["size"]>;
|
|
6
|
+
export interface SpinnerVariantProps extends AccentColorProps {
|
|
7
|
+
size?: SpinnerSize;
|
|
8
|
+
}
|
|
9
|
+
export {};
|
package/dist/Table/Root.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export interface TableRootProps extends Omit<ComponentPropsWithRef<"table">, "bo
|
|
|
9
9
|
* @param [size="md"] {TableSize} - Size variant affecting padding and font size
|
|
10
10
|
* @param [border="row"] {TableBorder} - Border style - "none", "row", "column", or "all"
|
|
11
11
|
* @param [variant="ghost"] {TableVariant} - Visual style variant
|
|
12
|
+
* @param [compact=false] {boolean} - Use compact vertical padding (half of horizontal)
|
|
12
13
|
* @param [accentColor="base"] {string} - Accent color for styling
|
|
13
14
|
*/
|
|
14
15
|
export declare const TableRoot: import('react').NamedExoticComponent<TableRootProps>;
|
package/dist/Table/context.d.ts
CHANGED
package/dist/Table/cva.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ export declare const tableRootCva: (props?: ({
|
|
|
4
4
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
5
5
|
export declare const tableCellCva: (props?: ({
|
|
6
6
|
variant?: "surface" | "ghost" | null | undefined;
|
|
7
|
+
compact?: boolean | null | undefined;
|
|
7
8
|
cell?: boolean | null | undefined;
|
|
8
9
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
10
|
border?: "none" | "col" | "grid" | "row" | null | undefined;
|