@geomak/ui 7.3.3 → 7.3.4

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,4 +1,4 @@
1
- export { C as COLORS, S as SemanticColorKey, a as SemanticSharedKey, V as VarColorKey, b as VarDensityKey, c as VarMotionKey, d as VarRadiusKey, e as VarShadowKey, f as VarTypoKey, g as VarZIndexKey, P as palette, s as semanticTokens, v as vars } from './index-5FQ64bx1.cjs';
1
+ export { C as COLORS, S as SemanticColorKey, a as SemanticSharedKey, V as VarColorKey, b as VarDensityKey, c as VarMotionKey, d as VarRadiusKey, e as VarShadowKey, f as VarTypoKey, g as VarZIndexKey, P as palette, s as semanticTokens, v as vars } from './index-BktppxXp.cjs';
2
2
  export { CreateIconOptions, Icon, IconComponent, IconProps, createIcon } from './icons/index.cjs';
3
3
  import * as react from 'react';
4
4
  import react__default from 'react';
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { C as COLORS, S as SemanticColorKey, a as SemanticSharedKey, V as VarColorKey, b as VarDensityKey, c as VarMotionKey, d as VarRadiusKey, e as VarShadowKey, f as VarTypoKey, g as VarZIndexKey, P as palette, s as semanticTokens, v as vars } from './index-5FQ64bx1.js';
1
+ export { C as COLORS, S as SemanticColorKey, a as SemanticSharedKey, V as VarColorKey, b as VarDensityKey, c as VarMotionKey, d as VarRadiusKey, e as VarShadowKey, f as VarTypoKey, g as VarZIndexKey, P as palette, s as semanticTokens, v as vars } from './index-BktppxXp.js';
2
2
  export { CreateIconOptions, Icon, IconComponent, IconProps, createIcon } from './icons/index.js';
3
3
  import * as react from 'react';
4
4
  import react__default from 'react';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { icons_default as Icon, createIcon } from './chunk-KAFJJO5O.js';
2
- import { colors_default } from './chunk-I2P4JJDB.js';
3
- export { colors_default as COLORS, PALETTE as palette, semanticTokens, vars } from './chunk-I2P4JJDB.js';
2
+ import { colors_default } from './chunk-DXOWXLKK.js';
3
+ export { colors_default as COLORS, PALETTE as palette, semanticTokens, vars } from './chunk-DXOWXLKK.js';
4
4
  import React30, { createContext, useState, useEffect, useMemo, useId, useCallback, useRef, useContext, useSyncExternalStore, useLayoutEffect } from 'react';
5
5
  import { createPortal } from 'react-dom';
6
6
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
@@ -7544,8 +7544,9 @@ function Dropdown({
7544
7544
  {
7545
7545
  align: "start",
7546
7546
  sideOffset: 4,
7547
+ collisionPadding: 8,
7547
7548
  style: { width: style?.width || 240 },
7548
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-2 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7549
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-2 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7549
7550
  onInteractOutside: () => setOpen(false),
7550
7551
  children: [
7551
7552
  hasSearch && /* @__PURE__ */ jsx("div", { className: "mb-2", children: /* @__PURE__ */ jsx(
@@ -7728,8 +7729,9 @@ function AutoComplete({
7728
7729
  {
7729
7730
  align: "start",
7730
7731
  sideOffset: 4,
7732
+ collisionPadding: 8,
7731
7733
  onOpenAutoFocus: (e) => e.preventDefault(),
7732
- className: "w-64 bg-surface border border-border rounded-lg mt-1 shadow-md z-50 overflow-y-auto max-h-36 animate-in fade-in-0 zoom-in-95",
7734
+ className: "w-64 bg-surface border border-border rounded-lg mt-1 shadow-md z-popover overflow-y-auto max-h-36 animate-in fade-in-0 zoom-in-95",
7733
7735
  children: loading ? /* @__PURE__ */ jsxs("div", { className: "h-full w-full flex items-center justify-center gap-2 py-4 text-sm text-foreground-secondary", children: [
7734
7736
  /* @__PURE__ */ jsx(LoadingSpinner, { inline: true, size: "xs" }),
7735
7737
  /* @__PURE__ */ jsx("span", { children: loadingText })
@@ -7913,8 +7915,9 @@ function TreeSelect({
7913
7915
  {
7914
7916
  align: "start",
7915
7917
  sideOffset: 4,
7918
+ collisionPadding: 8,
7916
7919
  style: { width: style?.width || 280 },
7917
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-1 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7920
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-1 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
7918
7921
  onOpenAutoFocus: (e) => {
7919
7922
  e.preventDefault();
7920
7923
  listRef.current?.focus();
@@ -8362,7 +8365,8 @@ function DatePicker({
8362
8365
  {
8363
8366
  align: "start",
8364
8367
  sideOffset: 4,
8365
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-3 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8368
+ collisionPadding: 8,
8369
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-3 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
8366
8370
  onOpenAutoFocus: (e) => {
8367
8371
  e.preventDefault();
8368
8372
  },
@@ -9161,7 +9165,8 @@ function TimePicker({
9161
9165
  {
9162
9166
  align: "start",
9163
9167
  sideOffset: 4,
9164
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-2 flex gap-1 animate-in fade-in-0 zoom-in-95",
9168
+ collisionPadding: 8,
9169
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-2 flex gap-1 animate-in fade-in-0 zoom-in-95",
9165
9170
  children: [
9166
9171
  /* @__PURE__ */ jsx(
9167
9172
  Column,
@@ -9334,7 +9339,8 @@ function DateRangePicker({
9334
9339
  {
9335
9340
  align: "start",
9336
9341
  sideOffset: 4,
9337
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-3 flex flex-col gap-3 sm:flex-row max-w-[calc(100vw-1rem)] max-h-[calc(100vh-2rem)] overflow-auto animate-in fade-in-0 zoom-in-95",
9342
+ collisionPadding: 8,
9343
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-3 flex flex-col gap-3 sm:flex-row max-w-[calc(100vw-1rem)] max-h-[calc(100vh-2rem)] overflow-auto animate-in fade-in-0 zoom-in-95",
9338
9344
  children: [
9339
9345
  presets && presets.length > 0 && /* @__PURE__ */ jsx("div", { className: "flex flex-col gap-1 min-w-[120px] sm:pr-3 sm:border-r sm:border-border", children: presets.map((p) => /* @__PURE__ */ jsx(
9340
9346
  "button",
@@ -9457,7 +9463,8 @@ function ColorPicker({
9457
9463
  {
9458
9464
  align: "start",
9459
9465
  sideOffset: 4,
9460
- className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-50 p-3 w-56 animate-in fade-in-0 zoom-in-95",
9466
+ collisionPadding: 8,
9467
+ className: "bg-surface text-foreground border border-border rounded-lg shadow-md z-popover p-3 w-56 animate-in fade-in-0 zoom-in-95",
9461
9468
  children: [
9462
9469
  /* @__PURE__ */ jsx("div", { className: "grid grid-cols-6 gap-2 mb-3", children: swatches.map((sw) => /* @__PURE__ */ jsx(
9463
9470
  "button",