@geomak/ui 1.1.0 → 1.2.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/index.d.cts CHANGED
@@ -1,44 +1,8 @@
1
+ export { C as COLORS, S as SemanticColorKey, a as SemanticRadiusKey, V as VarColorKey, b as VarRadiusKey, c as VarShadowKey, P as palette, s as semanticTokens, v as vars } from './index-CPCiQllz.cjs';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import React$1 from 'react';
3
4
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
5
 
5
- declare const COLORS: {
6
- PALETTE: {
7
- readonly 'true-blue': "#0466C8";
8
- readonly 'usafa-blue': "#0353A4";
9
- readonly 'dark-cornflower-blue': "#023E7D";
10
- readonly 'oxford-blue-700': "#002855";
11
- readonly 'oxford-blue-800': "#001845";
12
- readonly 'oxford-blue-900': "#001233";
13
- readonly independence: "#33415C";
14
- readonly 'black-coral': "#5C677D";
15
- readonly 'roman-silver': "#7D8597";
16
- readonly manatee: "#979DAC";
17
- readonly white: "#fff";
18
- readonly ice: "#DBF1FD";
19
- readonly 'ice-dark': "#d0e3ed";
20
- readonly 'midnight-green-eagle-900': "#013E53";
21
- readonly 'midnight-green-eagle-700': "#125F6C";
22
- readonly 'midnight-green-eagle-500': "#125F6C";
23
- readonly 'rich-black-fogra': "#000202";
24
- readonly 'rich-black-fogra-opaque': "#0000005b";
25
- readonly 'prussian-blue': "#00273A";
26
- readonly 'indigo-dye': "#013C54";
27
- readonly ming: "#0F6372";
28
- readonly skobeloff: "#217479";
29
- readonly 'dark-cyan': "#2A8784";
30
- readonly 'celadon-green': "#297E74";
31
- readonly turquise: "#2EB8B0";
32
- readonly 'oxford-blue-700-opaque': "rgba(0, 40, 85, .3)";
33
- readonly disabled: "#dee2e6";
34
- readonly error: "tomato";
35
- readonly warning: "orange";
36
- readonly success: "lightgreen";
37
- readonly info: "lightblue";
38
- readonly transparent: "rgba(255, 255, 255, .0)";
39
- };
40
- };
41
-
42
6
  declare const Icon: {
43
7
  (): react_jsx_runtime.JSX.Element;
44
8
  Moon: ({ color }: {
@@ -1273,4 +1237,4 @@ declare const Temporal: {
1273
1237
  TemporalPicker: typeof TemporalPickerBase;
1274
1238
  };
1275
1239
 
1276
- export { AutoComplete, type AutoCompleteProps, Button, type ButtonProps, COLORS, Catalog, CatalogCarousel, type CatalogCarouselProps, CatalogGrid, type CatalogGridProps, type CatalogProps, Checkbox, type CheckboxProps, ContextMenu, type ContextMenuActionItem, type ContextMenuPosition, type ContextMenuProps, type DatePickerProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownPill, type DropdownPillProps, type DropdownProps, type ExpandRowOptions, FadingBase, type FadingBaseProps, FileInput, type FileInputProps, GridCard, type GridCardItem, type GridCardProps, Icon, IconButton, type IconButtonProps, List, type ListItem, type ListProps, LoadingSpinner, type LoadingSpinnerProps, MenuBar, MenuBarItem, type MenuBarItemConfig, type MenuBarItemProps, type MenuBarProps, Modal, type ModalProps, type NotificationPayload, NotificationProvider, NumberInput, type NumberInputProps, OpaqueGridCard, type OpaqueGridCardProps, type PaginationOptions, Password, type PasswordProps, ScalableContainer, type ScalableContainerProps, SearchInput, type SearchInputProps, Switch, type SwitchInputProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Temporal, type TemporalPickerProps, TextInput, type TextInputProps, Switch$1 as ThemeSwitch, type ThemeSwitchProps, ToggleButton, type ToggleButtonProps, type ToggleItem, Tooltip, type TooltipProps, TooltipProvider, Tree, type TreeItemClickPayload, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, Wizard, type WizardProps, type WizardStep, useNotification };
1240
+ export { AutoComplete, type AutoCompleteProps, Button, type ButtonProps, Catalog, CatalogCarousel, type CatalogCarouselProps, CatalogGrid, type CatalogGridProps, type CatalogProps, Checkbox, type CheckboxProps, ContextMenu, type ContextMenuActionItem, type ContextMenuPosition, type ContextMenuProps, type DatePickerProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownPill, type DropdownPillProps, type DropdownProps, type ExpandRowOptions, FadingBase, type FadingBaseProps, FileInput, type FileInputProps, GridCard, type GridCardItem, type GridCardProps, Icon, IconButton, type IconButtonProps, List, type ListItem, type ListProps, LoadingSpinner, type LoadingSpinnerProps, MenuBar, MenuBarItem, type MenuBarItemConfig, type MenuBarItemProps, type MenuBarProps, Modal, type ModalProps, type NotificationPayload, NotificationProvider, NumberInput, type NumberInputProps, OpaqueGridCard, type OpaqueGridCardProps, type PaginationOptions, Password, type PasswordProps, ScalableContainer, type ScalableContainerProps, SearchInput, type SearchInputProps, Switch, type SwitchInputProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Temporal, type TemporalPickerProps, TextInput, type TextInputProps, Switch$1 as ThemeSwitch, type ThemeSwitchProps, ToggleButton, type ToggleButtonProps, type ToggleItem, Tooltip, type TooltipProps, TooltipProvider, Tree, type TreeItemClickPayload, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, Wizard, type WizardProps, type WizardStep, useNotification };
package/dist/index.d.ts CHANGED
@@ -1,44 +1,8 @@
1
+ export { C as COLORS, S as SemanticColorKey, a as SemanticRadiusKey, V as VarColorKey, b as VarRadiusKey, c as VarShadowKey, P as palette, s as semanticTokens, v as vars } from './index-CPCiQllz.js';
1
2
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
3
  import React$1 from 'react';
3
4
  import * as TooltipPrimitive from '@radix-ui/react-tooltip';
4
5
 
5
- declare const COLORS: {
6
- PALETTE: {
7
- readonly 'true-blue': "#0466C8";
8
- readonly 'usafa-blue': "#0353A4";
9
- readonly 'dark-cornflower-blue': "#023E7D";
10
- readonly 'oxford-blue-700': "#002855";
11
- readonly 'oxford-blue-800': "#001845";
12
- readonly 'oxford-blue-900': "#001233";
13
- readonly independence: "#33415C";
14
- readonly 'black-coral': "#5C677D";
15
- readonly 'roman-silver': "#7D8597";
16
- readonly manatee: "#979DAC";
17
- readonly white: "#fff";
18
- readonly ice: "#DBF1FD";
19
- readonly 'ice-dark': "#d0e3ed";
20
- readonly 'midnight-green-eagle-900': "#013E53";
21
- readonly 'midnight-green-eagle-700': "#125F6C";
22
- readonly 'midnight-green-eagle-500': "#125F6C";
23
- readonly 'rich-black-fogra': "#000202";
24
- readonly 'rich-black-fogra-opaque': "#0000005b";
25
- readonly 'prussian-blue': "#00273A";
26
- readonly 'indigo-dye': "#013C54";
27
- readonly ming: "#0F6372";
28
- readonly skobeloff: "#217479";
29
- readonly 'dark-cyan': "#2A8784";
30
- readonly 'celadon-green': "#297E74";
31
- readonly turquise: "#2EB8B0";
32
- readonly 'oxford-blue-700-opaque': "rgba(0, 40, 85, .3)";
33
- readonly disabled: "#dee2e6";
34
- readonly error: "tomato";
35
- readonly warning: "orange";
36
- readonly success: "lightgreen";
37
- readonly info: "lightblue";
38
- readonly transparent: "rgba(255, 255, 255, .0)";
39
- };
40
- };
41
-
42
6
  declare const Icon: {
43
7
  (): react_jsx_runtime.JSX.Element;
44
8
  Moon: ({ color }: {
@@ -1273,4 +1237,4 @@ declare const Temporal: {
1273
1237
  TemporalPicker: typeof TemporalPickerBase;
1274
1238
  };
1275
1239
 
1276
- export { AutoComplete, type AutoCompleteProps, Button, type ButtonProps, COLORS, Catalog, CatalogCarousel, type CatalogCarouselProps, CatalogGrid, type CatalogGridProps, type CatalogProps, Checkbox, type CheckboxProps, ContextMenu, type ContextMenuActionItem, type ContextMenuPosition, type ContextMenuProps, type DatePickerProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownPill, type DropdownPillProps, type DropdownProps, type ExpandRowOptions, FadingBase, type FadingBaseProps, FileInput, type FileInputProps, GridCard, type GridCardItem, type GridCardProps, Icon, IconButton, type IconButtonProps, List, type ListItem, type ListProps, LoadingSpinner, type LoadingSpinnerProps, MenuBar, MenuBarItem, type MenuBarItemConfig, type MenuBarItemProps, type MenuBarProps, Modal, type ModalProps, type NotificationPayload, NotificationProvider, NumberInput, type NumberInputProps, OpaqueGridCard, type OpaqueGridCardProps, type PaginationOptions, Password, type PasswordProps, ScalableContainer, type ScalableContainerProps, SearchInput, type SearchInputProps, Switch, type SwitchInputProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Temporal, type TemporalPickerProps, TextInput, type TextInputProps, Switch$1 as ThemeSwitch, type ThemeSwitchProps, ToggleButton, type ToggleButtonProps, type ToggleItem, Tooltip, type TooltipProps, TooltipProvider, Tree, type TreeItemClickPayload, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, Wizard, type WizardProps, type WizardStep, useNotification };
1240
+ export { AutoComplete, type AutoCompleteProps, Button, type ButtonProps, Catalog, CatalogCarousel, type CatalogCarouselProps, CatalogGrid, type CatalogGridProps, type CatalogProps, Checkbox, type CheckboxProps, ContextMenu, type ContextMenuActionItem, type ContextMenuPosition, type ContextMenuProps, type DatePickerProps, Drawer, type DrawerProps, Dropdown, type DropdownItem, DropdownPill, type DropdownPillProps, type DropdownProps, type ExpandRowOptions, FadingBase, type FadingBaseProps, FileInput, type FileInputProps, GridCard, type GridCardItem, type GridCardProps, Icon, IconButton, type IconButtonProps, List, type ListItem, type ListProps, LoadingSpinner, type LoadingSpinnerProps, MenuBar, MenuBarItem, type MenuBarItemConfig, type MenuBarItemProps, type MenuBarProps, Modal, type ModalProps, type NotificationPayload, NotificationProvider, NumberInput, type NumberInputProps, OpaqueGridCard, type OpaqueGridCardProps, type PaginationOptions, Password, type PasswordProps, ScalableContainer, type ScalableContainerProps, SearchInput, type SearchInputProps, Switch, type SwitchInputProps, type TabItem, Table, type TableColumn, type TableProps, Tabs, type TabsProps, Temporal, type TemporalPickerProps, TextInput, type TextInputProps, Switch$1 as ThemeSwitch, type ThemeSwitchProps, ToggleButton, type ToggleButtonProps, type ToggleItem, Tooltip, type TooltipProps, TooltipProvider, Tree, type TreeItemClickPayload, type TreeNode, type TreeProps, TreeSelect, type TreeSelectProps, Wizard, type WizardProps, type WizardStep, useNotification };
package/dist/index.js CHANGED
@@ -1,3 +1,5 @@
1
+ import { colors_default } from './chunk-DNQSZOYD.js';
2
+ export { colors_default as COLORS, PALETTE as palette, semanticTokens, vars } from './chunk-DNQSZOYD.js';
1
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
2
4
  import React9, { createContext, useMemo, useState, useEffect, useContext, useRef, useCallback, useId } from 'react';
3
5
  import * as Dialog from '@radix-ui/react-dialog';
@@ -11,43 +13,6 @@ import * as Popover from '@radix-ui/react-popover';
11
13
  import * as SwitchPrimitive from '@radix-ui/react-switch';
12
14
  import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
13
15
 
14
- // src/utils/colors.ts
15
- var PALETTE = {
16
- "true-blue": "#0466C8",
17
- "usafa-blue": "#0353A4",
18
- "dark-cornflower-blue": "#023E7D",
19
- "oxford-blue-700": "#002855",
20
- "oxford-blue-800": "#001845",
21
- "oxford-blue-900": "#001233",
22
- independence: "#33415C",
23
- "black-coral": "#5C677D",
24
- "roman-silver": "#7D8597",
25
- manatee: "#979DAC",
26
- white: "#fff",
27
- ice: "#DBF1FD",
28
- "ice-dark": "#d0e3ed",
29
- "midnight-green-eagle-900": "#013E53",
30
- "midnight-green-eagle-700": "#125F6C",
31
- "midnight-green-eagle-500": "#125F6C",
32
- "rich-black-fogra": "#000202",
33
- "rich-black-fogra-opaque": "#0000005b",
34
- "prussian-blue": "#00273A",
35
- "indigo-dye": "#013C54",
36
- ming: "#0F6372",
37
- skobeloff: "#217479",
38
- "dark-cyan": "#2A8784",
39
- "celadon-green": "#297E74",
40
- turquise: "#2EB8B0",
41
- "oxford-blue-700-opaque": "rgba(0, 40, 85, .3)",
42
- disabled: "#dee2e6",
43
- error: "tomato",
44
- warning: "orange",
45
- success: "lightgreen",
46
- info: "lightblue",
47
- transparent: "rgba(255, 255, 255, .0)"
48
- };
49
- var COLORS = { PALETTE };
50
- var colors_default = COLORS;
51
16
  var Moon = ({ color = "gray" }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: color, viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: color, className: "w-8 h-8", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z" }) });
52
17
  var Sun = ({ color = "yellow" }) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: color, viewBox: "0 0 24 24", strokeWidth: 1.5, stroke: color, className: "w-8 h-8", children: /* @__PURE__ */ jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", d: "M12 3v2.25m6.364.386l-1.591 1.591M21 12h-2.25m-.386 6.364l-1.591-1.591M12 18.75V21m-4.773-4.227l-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0z" }) });
53
18
  var CheckCircle = ({ color = "#fff", size = 28 }) => /* @__PURE__ */ jsx("svg", { width: size, height: size, viewBox: "0 0 28 28", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M14 0.25C6.40625 0.25 0.25 6.40625 0.25 14C0.25 21.5937 6.40625 27.75 14 27.75C21.5937 27.75 27.75 21.5937 27.75 14C27.75 6.40625 21.5937 0.25 14 0.25ZM19.96 11.675C20.0697 11.5496 20.1533 11.4034 20.2057 11.2452C20.2582 11.087 20.2784 10.9199 20.2653 10.7537C20.2522 10.5876 20.206 10.4257 20.1295 10.2777C20.0529 10.1296 19.9475 9.99838 19.8194 9.89168C19.6914 9.78497 19.5433 9.70495 19.3839 9.65633C19.2244 9.6077 19.0569 9.59145 18.8911 9.60853C18.7253 9.62562 18.5646 9.67568 18.4184 9.75579C18.2723 9.8359 18.1436 9.94443 18.04 10.075L12.665 16.5237L9.88375 13.7412C9.648 13.5136 9.33224 13.3876 9.0045 13.3904C8.67675 13.3933 8.36324 13.5247 8.13148 13.7565C7.89972 13.9882 7.76825 14.3018 7.76541 14.6295C7.76256 14.9572 7.88855 15.273 8.11625 15.5087L11.8662 19.2587C11.9891 19.3815 12.1361 19.4773 12.298 19.5401C12.4599 19.6028 12.6331 19.6312 12.8066 19.6233C12.98 19.6154 13.15 19.5715 13.3055 19.4943C13.4611 19.4171 13.5988 19.3084 13.71 19.175L19.96 11.675Z", fill: color }) });
@@ -2634,6 +2599,6 @@ Temporal.DatePicker = DatePickerBase;
2634
2599
  Temporal.TemporalPicker = TemporalPickerBase;
2635
2600
  var DatePicker_default = Temporal;
2636
2601
 
2637
- export { AutoComplete, Button, colors_default as COLORS, Catalog, CatalogCarousel, CatalogGrid, Checkbox, ContextMenu, Drawer, Dropdown, DropdownPill, FadingBase, FileInput, GridCard, icons_default as Icon, IconButton, List2 as List, LoadingSpinner, MenuBar, MenuBarItem, Modal, NotificationProvider, NumberInput, OpaqueGridCard, Password, ScalableContainer, SearchInput_default as SearchInput, Switch2 as Switch, Table, Tabs, DatePicker_default as Temporal, TextInput, Switch as ThemeSwitch, ToggleButton, Tooltip, TooltipProvider, Tree, TreeSelect, Wizard, useNotification };
2602
+ export { AutoComplete, Button, Catalog, CatalogCarousel, CatalogGrid, Checkbox, ContextMenu, Drawer, Dropdown, DropdownPill, FadingBase, FileInput, GridCard, icons_default as Icon, IconButton, List2 as List, LoadingSpinner, MenuBar, MenuBarItem, Modal, NotificationProvider, NumberInput, OpaqueGridCard, Password, ScalableContainer, SearchInput_default as SearchInput, Switch2 as Switch, Table, Tabs, DatePicker_default as Temporal, TextInput, Switch as ThemeSwitch, ToggleButton, Tooltip, TooltipProvider, Tree, TreeSelect, Wizard, useNotification };
2638
2603
  //# sourceMappingURL=index.js.map
2639
2604
  //# sourceMappingURL=index.js.map