@overmap-ai/blocks 1.0.43 → 1.0.44-use-context-selector.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/Layout/hooks.d.ts +3 -1
- 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 +862 -818
- package/dist/blocks.umd.cjs +1 -1
- package/package.json +3 -2
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;
|
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;
|