@overmap-ai/blocks 1.0.7 → 1.0.8
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/README.md +3 -3
- package/dist/ButtonGroup/ButtonList.d.ts +2 -1
- package/dist/blocks.js +8 -37
- package/dist/blocks.js.map +1 -1
- package/dist/blocks.umd.cjs +39 -161
- package/dist/blocks.umd.cjs.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/style.css +16 -16
- package/package.json +102 -102
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# overmap-ai blocks
|
|
2
|
-
|
|
3
|
-
Contains basic components used by overmap-ai libraries.
|
|
1
|
+
# overmap-ai blocks
|
|
2
|
+
|
|
3
|
+
Contains basic components used by overmap-ai libraries.
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { FC, ReactNode } from "react";
|
|
2
2
|
import { ButtonGroupProps } from ".";
|
|
3
3
|
import { ButtonProps } from "../Buttons/typings";
|
|
4
|
-
import {
|
|
4
|
+
import { Size } from "..";
|
|
5
|
+
import { Responsive } from "@radix-ui/themes";
|
|
5
6
|
interface ButtonListRootProps extends Pick<ButtonGroupProps, "size" | "variant" | "children"> {
|
|
6
7
|
/** @default "medium" */
|
|
7
8
|
size?: Responsive<Exclude<Size, "large">>;
|
package/dist/blocks.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export * from "@radix-ui/colors";
|
|
2
|
-
import { Cross1Icon, MagnifyingGlassIcon, CheckIcon, DragHandleDots2Icon, Cross2Icon, DividerHorizontalIcon, CaretSortIcon, ArrowUpIcon, ArrowDownIcon, MixerHorizontalIcon, Pencil1Icon, TrashIcon, DoubleArrowLeftIcon, ChevronLeftIcon, ChevronRightIcon, DoubleArrowRightIcon } from "@radix-ui/react-icons";
|
|
3
|
-
export * from "@radix-ui/react-icons";
|
|
4
|
-
import { useThemeContext, Badge as Badge$1, Flex as Flex$1, Box, Link, Text as Text$2, Button, IconButton as IconButton$1, Card, Inset, Dialog as Dialog$1, AlertDialog as AlertDialog$1, DropdownMenu as DropdownMenu$1, Kbd, Select as Select$1, Checkbox as Checkbox$1, Switch as Switch$1, Portal, TextField, Popover as Popover$1, TextArea as TextArea$1, Callout, Tooltip as Tooltip$1, Theme, Separator as Separator$1, TableRow } from "@radix-ui/themes";
|
|
5
|
-
import { AccessibleIcon, AspectRatio, Avatar, Blockquote, Box as Box2, Callout as Callout2, Card as Card2, Code, Container, Em, Grid, Heading, HoverCard, Inset as Inset2, Kbd as Kbd2, Link as Link2, Portal as Portal2, Quote, RadioGroup, ScrollArea, Section, Slider, Slot, Strong, Tabs, TextField as TextField2, Theme as Theme2, VisuallyHidden, updateThemeAppearanceClass, useThemeContext as useThemeContext2 } from "@radix-ui/themes";
|
|
6
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { useThemeContext, Badge as Badge$1, Flex as Flex$1, Box, Link, Text as Text$2, Button, IconButton as IconButton$1, Card, Inset, Dialog as Dialog$1, AlertDialog as AlertDialog$1, DropdownMenu as DropdownMenu$1, Kbd, Select as Select$1, Checkbox as Checkbox$1, Switch as Switch$1, Portal, TextField, Popover as Popover$1, TextArea as TextArea$1, Callout, Tooltip as Tooltip$1, Theme, Separator as Separator$1, TableRow } from "@radix-ui/themes";
|
|
3
|
+
import { Theme as Theme2, updateThemeAppearanceClass, useThemeContext as useThemeContext2 } from "@radix-ui/themes";
|
|
7
4
|
import React, { useMemo, useState, useLayoutEffect, useCallback, useEffect, Children, isValidElement, forwardRef, memo, createContext, useContext, cloneElement, createElement, useRef, useReducer, Fragment as Fragment$1 } from "react";
|
|
8
5
|
import { useMediaQuery } from "react-responsive";
|
|
6
|
+
import { Cross1Icon, MagnifyingGlassIcon, CheckIcon, DragHandleDots2Icon, Cross2Icon, DividerHorizontalIcon, CaretSortIcon, ArrowUpIcon, ArrowDownIcon, MixerHorizontalIcon, Pencil1Icon, TrashIcon, DoubleArrowLeftIcon, ChevronLeftIcon, ChevronRightIcon, DoubleArrowRightIcon } from "@radix-ui/react-icons";
|
|
9
7
|
import * as RadixDropdownMenu from "@radix-ui/react-dropdown-menu";
|
|
10
8
|
import * as RadixDialogPrimitive from "@radix-ui/react-dialog";
|
|
11
9
|
import { Resizable } from "re-resizable";
|
|
@@ -16,11 +14,11 @@ import { Root as Root$2 } from "@radix-ui/react-toolbar";
|
|
|
16
14
|
import * as RadixToast from "@radix-ui/react-toast";
|
|
17
15
|
import { ToastProvider as ToastProvider$1, ToastViewport as ToastViewport$1 } from "@radix-ui/react-toast";
|
|
18
16
|
import { flushSync } from "react-dom";
|
|
19
|
-
import { HeaderCell, Table as Table$1, Header, HeaderRow, Body, Cell, Row } from "@table-library/react-table-library/table";
|
|
20
|
-
import { useTheme } from "@table-library/react-table-library/theme";
|
|
21
|
-
import { useSort, HeaderCellSort } from "@table-library/react-table-library/sort";
|
|
22
|
-
import { useRowSelect, SelectTypes, SelectClickTypes, HeaderCellSelect, CellSelect } from "@table-library/react-table-library/select";
|
|
23
|
-
import { usePagination } from "@table-library/react-table-library/pagination";
|
|
17
|
+
import { HeaderCell, Table as Table$1, Header, HeaderRow, Body, Cell, Row } from "@table-library/react-table-library/table.js";
|
|
18
|
+
import { useTheme } from "@table-library/react-table-library/theme.js";
|
|
19
|
+
import { useSort, HeaderCellSort } from "@table-library/react-table-library/sort.js";
|
|
20
|
+
import { useRowSelect, SelectTypes, SelectClickTypes, HeaderCellSelect, CellSelect } from "@table-library/react-table-library/select.js";
|
|
21
|
+
import { usePagination } from "@table-library/react-table-library/pagination.js";
|
|
24
22
|
import { isMobile } from "react-device-detect";
|
|
25
23
|
function getDefaultExportFromCjs(x) {
|
|
26
24
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
@@ -3565,25 +3563,16 @@ const _ConfirmEditInput = forwardRef(function ConfirmEditInput2({
|
|
|
3565
3563
|
});
|
|
3566
3564
|
const ConfirmEditInput = React.memo(_ConfirmEditInput);
|
|
3567
3565
|
export {
|
|
3568
|
-
AccessibleIcon,
|
|
3569
3566
|
AlertDialog,
|
|
3570
3567
|
AlertDialogContent,
|
|
3571
3568
|
AlertDialogProvider,
|
|
3572
|
-
AspectRatio,
|
|
3573
|
-
Avatar,
|
|
3574
3569
|
Badge,
|
|
3575
|
-
Blockquote,
|
|
3576
|
-
Box2 as Box,
|
|
3577
3570
|
Breadcrumb,
|
|
3578
3571
|
Button2 as Button,
|
|
3579
3572
|
ButtonGroup,
|
|
3580
3573
|
ButtonList,
|
|
3581
|
-
Callout2 as Callout,
|
|
3582
|
-
Card2 as Card,
|
|
3583
3574
|
Checkbox,
|
|
3584
|
-
Code,
|
|
3585
3575
|
ConfirmEditInput,
|
|
3586
|
-
Container,
|
|
3587
3576
|
DefaultTheme,
|
|
3588
3577
|
Dialog,
|
|
3589
3578
|
DropdownItemMenu,
|
|
@@ -3594,43 +3583,26 @@ export {
|
|
|
3594
3583
|
DropdownMenuSubMenuGroup,
|
|
3595
3584
|
DropdownMultiSelect,
|
|
3596
3585
|
DropdownSelect,
|
|
3597
|
-
Em,
|
|
3598
3586
|
Flex,
|
|
3599
|
-
Grid,
|
|
3600
|
-
Heading,
|
|
3601
|
-
HoverCard,
|
|
3602
3587
|
HoverUtility,
|
|
3603
3588
|
IconButton,
|
|
3604
3589
|
IconColorUtility,
|
|
3605
3590
|
Input,
|
|
3606
|
-
Inset2 as Inset,
|
|
3607
|
-
Kbd2 as Kbd,
|
|
3608
3591
|
LeftAndRightPanels,
|
|
3609
|
-
Link2 as Link,
|
|
3610
3592
|
MultiPagePopover,
|
|
3611
3593
|
MultiSelect,
|
|
3612
3594
|
Popover,
|
|
3613
|
-
Portal2 as Portal,
|
|
3614
|
-
Quote,
|
|
3615
|
-
RadioGroup,
|
|
3616
3595
|
Root2 as Root,
|
|
3617
|
-
ScrollArea,
|
|
3618
|
-
Section,
|
|
3619
3596
|
Select,
|
|
3620
3597
|
SelectAllCheckbox,
|
|
3621
3598
|
Separator,
|
|
3622
3599
|
Sidebar,
|
|
3623
3600
|
SlideOut,
|
|
3624
|
-
Slider,
|
|
3625
|
-
Slot,
|
|
3626
3601
|
Spinner,
|
|
3627
|
-
Strong,
|
|
3628
3602
|
Switch,
|
|
3629
3603
|
Table,
|
|
3630
|
-
Tabs,
|
|
3631
3604
|
Text$1 as Text,
|
|
3632
3605
|
TextArea,
|
|
3633
|
-
TextField2 as TextField,
|
|
3634
3606
|
Theme2 as Theme,
|
|
3635
3607
|
Toast,
|
|
3636
3608
|
ToastContext,
|
|
@@ -3638,7 +3610,6 @@ export {
|
|
|
3638
3610
|
ToggleGroup,
|
|
3639
3611
|
Toolbar,
|
|
3640
3612
|
Tooltip,
|
|
3641
|
-
VisuallyHidden,
|
|
3642
3613
|
divButtonProps,
|
|
3643
3614
|
unsafeShowToast,
|
|
3644
3615
|
updateThemeAppearanceClass,
|