@overmap-ai/blocks 1.0.48-shadows.0 → 1.0.49
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/ActiveDescendantProvider/ActiveDescendantProvider.d.ts +7 -0
- package/dist/ActiveDescendantProvider/context.d.ts +8 -0
- package/dist/ActiveDescendantProvider/index.d.ts +2 -0
- package/dist/Avatar/typings.d.ts +1 -2
- package/dist/Badge/cva.d.ts +1 -1
- package/dist/Badge/typings.d.ts +3 -5
- package/dist/Buttons/cva.d.ts +1 -1
- package/dist/Buttons/typings.d.ts +4 -6
- package/dist/Card/typings.d.ts +2 -4
- package/dist/Checkbox/typings.d.ts +3 -5
- package/dist/CheckboxGroup/typings.d.ts +3 -5
- package/dist/CommandMenu/Content.d.ts +4 -3
- package/dist/CommandMenu/Empty.d.ts +1 -2
- package/dist/CommandMenu/Group.d.ts +1 -2
- package/dist/CommandMenu/GroupLabel.d.ts +4 -0
- package/dist/CommandMenu/Input.d.ts +1 -2
- package/dist/CommandMenu/Item.d.ts +2 -3
- package/dist/CommandMenu/Scroll.d.ts +4 -0
- package/dist/CommandMenu/Separator.d.ts +4 -3
- package/dist/CommandMenu/context.d.ts +7 -7
- package/dist/CommandMenu/cva.d.ts +4 -6
- package/dist/CommandMenu/index.d.ts +4 -2
- package/dist/CommandMenu/typings.d.ts +2 -4
- package/dist/DayPicker/typings.d.ts +3 -5
- package/dist/Dialog/Content.d.ts +2 -4
- package/dist/Dialog/typings.d.ts +4 -0
- package/dist/HoverCard/typings.d.ts +2 -4
- package/dist/Input/typings.d.ts +3 -5
- package/dist/Menu/CheckboxItem.d.ts +5 -1
- package/dist/Menu/CheckboxItemIndicator.d.ts +4 -1
- package/dist/Menu/ClickTrigger.d.ts +6 -1
- package/dist/Menu/Content.d.ts +4 -1
- package/dist/Menu/ContextTrigger.d.ts +6 -1
- package/dist/Menu/Group.d.ts +3 -1
- package/dist/Menu/InputField.d.ts +4 -1
- package/dist/Menu/InputRoot.d.ts +3 -1
- package/dist/Menu/InputSlot.d.ts +3 -1
- package/dist/Menu/Item.d.ts +13 -1
- package/dist/Menu/MultiSelectGroup.d.ts +4 -1
- package/dist/Menu/MultiSelectItem.d.ts +1 -1
- package/dist/Menu/PageContent.d.ts +4 -1
- package/dist/Menu/PageTrigger.d.ts +4 -1
- package/dist/Menu/Pages.d.ts +6 -1
- package/dist/Menu/Root.d.ts +12 -1
- package/dist/Menu/Scroll.d.ts +3 -1
- package/dist/Menu/SelectAllItem.d.ts +8 -1
- package/dist/Menu/SelectGroup.d.ts +3 -1
- package/dist/Menu/SelectItem.d.ts +4 -1
- package/dist/Menu/Separator.d.ts +4 -1
- package/dist/Menu/Sub.d.ts +13 -1
- package/dist/Menu/SubContent.d.ts +3 -1
- package/dist/Menu/SubTrigger.d.ts +3 -1
- package/dist/Menu/VirtualTrigger.d.ts +5 -1
- package/dist/Menu/cva.d.ts +0 -1
- package/dist/Menu/index.d.ts +25 -25
- package/dist/Menu/menuContentContext.d.ts +2 -3
- package/dist/Menu/menuPagesContext.d.ts +0 -1
- package/dist/Menu/rootContext.d.ts +0 -1
- package/dist/Menu/subContentContext.d.ts +0 -1
- package/dist/Menu/typings.d.ts +2 -103
- package/dist/MenuV2/typings.d.ts +2 -4
- package/dist/OneTimePasswordField/context.d.ts +3 -3
- package/dist/OneTimePasswordField/typings.d.ts +2 -4
- package/dist/Popover/typings.d.ts +2 -4
- package/dist/Progress/typings.d.ts +1 -2
- package/dist/Provider/Provider.d.ts +1 -1
- package/dist/Provider/context.d.ts +1 -1
- package/dist/Provider/index.d.ts +0 -1
- package/dist/RadioCards/context.d.ts +1 -1
- package/dist/RadioCards/typings.d.ts +1 -2
- package/dist/SegmentedControl/context.d.ts +1 -1
- package/dist/SegmentedControl/typings.d.ts +1 -2
- package/dist/SegmentedTabs/context.d.ts +1 -1
- package/dist/SegmentedTabs/typings.d.ts +1 -2
- package/dist/SelectContext/typings.d.ts +1 -0
- package/dist/Slider/typings.d.ts +1 -2
- package/dist/Switch/context.d.ts +1 -1
- package/dist/Switch/typings.d.ts +1 -2
- package/dist/TextArea/typings.d.ts +1 -2
- package/dist/ToggleButton/typings.d.ts +1 -2
- package/dist/ToggleGroup/context.d.ts +1 -1
- package/dist/ToggleGroup/typings.d.ts +1 -2
- package/dist/Tooltip/typings.d.ts +1 -2
- package/dist/blocks.js +2150 -2265
- package/dist/blocks.umd.cjs +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/typings.d.ts +6 -1
- package/package.json +55 -57
- package/dist/CommandMenu/List.d.ts +0 -5
- package/dist/HoverUtility/HoverUtility.d.ts +0 -15
- package/dist/HoverUtility/index.d.ts +0 -1
- package/dist/OvermapErrorBoundary/OvermapErrorBoundary.d.ts +0 -7
- package/dist/OvermapErrorBoundary/index.d.ts +0 -1
- package/dist/Provider/typings.d.ts +0 -1
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';
|
|
@@ -22,7 +21,6 @@ export * from './Menu';
|
|
|
22
21
|
export * from './MenuV2';
|
|
23
22
|
export * from './OneTimePasswordField';
|
|
24
23
|
export * from './Overlay';
|
|
25
|
-
export * from './OvermapErrorBoundary';
|
|
26
24
|
export * from './Popover';
|
|
27
25
|
export * from './Progress';
|
|
28
26
|
export * from './Provider';
|
package/dist/typings.d.ts
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export type ViewportSizes = "initial" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
2
2
|
export type ComponentShadow = "none" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl";
|
|
3
|
+
export type AccentColor = string;
|
|
3
4
|
export interface AccentColorProps {
|
|
4
|
-
accentColor?:
|
|
5
|
+
accentColor?: AccentColor;
|
|
6
|
+
}
|
|
7
|
+
export type ComponentRadius = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|
|
8
|
+
export interface RadiusProps {
|
|
9
|
+
radius?: ComponentRadius;
|
|
5
10
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@overmap-ai/blocks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.49",
|
|
4
4
|
"description": "A collection of React components for building Overmap's UI.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "Wôrdn Inc.",
|
|
@@ -23,64 +23,62 @@
|
|
|
23
23
|
"build-storybook": "storybook build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@floating-ui/react": "
|
|
27
|
-
"@radix-ui/react-alert-dialog": "
|
|
28
|
-
"@radix-ui/react-avatar": "
|
|
29
|
-
"@radix-ui/react-checkbox": "
|
|
30
|
-
"@radix-ui/react-dialog": "
|
|
31
|
-
"@radix-ui/react-hover-card": "
|
|
32
|
-
"@radix-ui/react-one-time-password-field": "
|
|
33
|
-
"@radix-ui/react-popover": "
|
|
34
|
-
"@radix-ui/react-progress": "
|
|
35
|
-
"@radix-ui/react-radio-group": "
|
|
36
|
-
"@radix-ui/react-separator": "
|
|
37
|
-
"@radix-ui/react-slider": "
|
|
38
|
-
"@radix-ui/react-slot": "
|
|
39
|
-
"@radix-ui/react-switch": "
|
|
40
|
-
"@radix-ui/react-tabs": "
|
|
41
|
-
"@radix-ui/react-toggle": "
|
|
42
|
-
"@radix-ui/react-toggle-group": "
|
|
43
|
-
"@radix-ui/react-tooltip": "
|
|
44
|
-
"class-variance-authority": "
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"react-
|
|
48
|
-
"react-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"tailwindcss-animate": "^1.0.7",
|
|
53
|
-
"use-context-selector": "^2.0.0"
|
|
26
|
+
"@floating-ui/react": "0.27.13",
|
|
27
|
+
"@radix-ui/react-alert-dialog": "1.1.15",
|
|
28
|
+
"@radix-ui/react-avatar": "1.1.11",
|
|
29
|
+
"@radix-ui/react-checkbox": "1.3.3",
|
|
30
|
+
"@radix-ui/react-dialog": "1.1.15",
|
|
31
|
+
"@radix-ui/react-hover-card": "1.1.15",
|
|
32
|
+
"@radix-ui/react-one-time-password-field": "0.1.8",
|
|
33
|
+
"@radix-ui/react-popover": "1.1.15",
|
|
34
|
+
"@radix-ui/react-progress": "1.1.8",
|
|
35
|
+
"@radix-ui/react-radio-group": "1.3.8",
|
|
36
|
+
"@radix-ui/react-separator": "1.1.8",
|
|
37
|
+
"@radix-ui/react-slider": "1.3.6",
|
|
38
|
+
"@radix-ui/react-slot": "1.2.4",
|
|
39
|
+
"@radix-ui/react-switch": "1.2.6",
|
|
40
|
+
"@radix-ui/react-tabs": "1.1.13",
|
|
41
|
+
"@radix-ui/react-toggle": "1.1.10",
|
|
42
|
+
"@radix-ui/react-toggle-group": "1.1.11",
|
|
43
|
+
"@radix-ui/react-tooltip": "1.2.8",
|
|
44
|
+
"class-variance-authority": "0.7.1",
|
|
45
|
+
"lucide-react": "0.542.0",
|
|
46
|
+
"react-day-picker": "10.0.1",
|
|
47
|
+
"react-responsive": "10.0.1",
|
|
48
|
+
"react-transition-group": "4.4.5",
|
|
49
|
+
"sonner": "2.0.7",
|
|
50
|
+
"tailwindcss-animate": "1.0.7",
|
|
51
|
+
"use-context-selector": "2.0.0"
|
|
54
52
|
},
|
|
55
53
|
"devDependencies": {
|
|
56
|
-
"@faker-js/faker": "
|
|
57
|
-
"@radix-ui/colors": "
|
|
58
|
-
"@storybook/addon-a11y": "
|
|
59
|
-
"@storybook/addon-docs": "
|
|
60
|
-
"@storybook/addon-links": "
|
|
61
|
-
"@storybook/addon-themes": "
|
|
62
|
-
"@storybook/react-vite": "
|
|
63
|
-
"@tailwindcss/vite": "
|
|
64
|
-
"@types/node": "
|
|
65
|
-
"@types/react": "
|
|
66
|
-
"@types/react-dom": "
|
|
67
|
-
"@types/react-responsive": "
|
|
68
|
-
"@types/react-transition-group": "
|
|
69
|
-
"@vitejs/plugin-react-swc": "
|
|
70
|
-
"globals": "
|
|
71
|
-
"oxfmt": "
|
|
72
|
-
"oxlint": "
|
|
73
|
-
"oxlint-tsgolint": "
|
|
74
|
-
"react": "
|
|
75
|
-
"react-dom": "
|
|
76
|
-
"remark-gfm": "
|
|
77
|
-
"rollup": "
|
|
78
|
-
"storybook": "
|
|
79
|
-
"tailwindcss": "
|
|
80
|
-
"typescript": "
|
|
81
|
-
"vite": "
|
|
82
|
-
"vite-plugin-dts": "
|
|
83
|
-
"vite-plugin-externalize-deps": "
|
|
54
|
+
"@faker-js/faker": "8.3.1",
|
|
55
|
+
"@radix-ui/colors": "3.0.0",
|
|
56
|
+
"@storybook/addon-a11y": "10.4.5",
|
|
57
|
+
"@storybook/addon-docs": "10.4.5",
|
|
58
|
+
"@storybook/addon-links": "10.4.5",
|
|
59
|
+
"@storybook/addon-themes": "10.4.5",
|
|
60
|
+
"@storybook/react-vite": "10.4.5",
|
|
61
|
+
"@tailwindcss/vite": "4.1.11",
|
|
62
|
+
"@types/node": "22.13.4",
|
|
63
|
+
"@types/react": "19.0.8",
|
|
64
|
+
"@types/react-dom": "19.0.3",
|
|
65
|
+
"@types/react-responsive": "9.0.0",
|
|
66
|
+
"@types/react-transition-group": "4.4.8",
|
|
67
|
+
"@vitejs/plugin-react-swc": "3.11.0",
|
|
68
|
+
"globals": "16.3.0",
|
|
69
|
+
"oxfmt": "0.23.0",
|
|
70
|
+
"oxlint": "1.25.0",
|
|
71
|
+
"oxlint-tsgolint": "0.4.0",
|
|
72
|
+
"react": "19.0.0",
|
|
73
|
+
"react-dom": "19.0.0",
|
|
74
|
+
"remark-gfm": "4.0.0",
|
|
75
|
+
"rollup": "4.59.0",
|
|
76
|
+
"storybook": "10.4.5",
|
|
77
|
+
"tailwindcss": "4.1.11",
|
|
78
|
+
"typescript": "5.2.2",
|
|
79
|
+
"vite": "6.4.3",
|
|
80
|
+
"vite-plugin-dts": "4.5.4",
|
|
81
|
+
"vite-plugin-externalize-deps": "0.9.0"
|
|
84
82
|
},
|
|
85
83
|
"peerDependencies": {
|
|
86
84
|
"react": ">=18.2.0 <20.0.0",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CommandList } from 'cmdk';
|
|
2
|
-
import { ComponentPropsWithRef } from 'react';
|
|
3
|
-
export interface CommandMenuListProps extends ComponentPropsWithRef<typeof CommandList> {
|
|
4
|
-
}
|
|
5
|
-
export declare const CommandMenuList: import('react').NamedExoticComponent<CommandMenuListProps>;
|
|
@@ -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';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
interface ErrorBoundaryProps extends PropsWithChildren {
|
|
3
|
-
absoluteCentering?: boolean;
|
|
4
|
-
message?: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const OvermapErrorBoundary: import('react').MemoExoticComponent<(props: ErrorBoundaryProps) => import("react/jsx-runtime").JSX.Element>;
|
|
7
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './OvermapErrorBoundary';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type ComponentRadius = "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full";
|