@texturehq/edges 1.24.1 → 1.24.2

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.css CHANGED
@@ -1,2 +1,2 @@
1
- .mapboxgl-ctrl-attrib,.mapboxgl-ctrl-logo{display:none!important}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit;max-width:none!important}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}
1
+ .mapboxgl-ctrl-attrib,.mapboxgl-ctrl-attrib-inner,.mapboxgl-ctrl-attrib.mapboxgl-compact,.mapboxgl-ctrl-attrib.mapboxgl-compact-show,.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner,.mapboxgl-ctrl-logo,.mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-attrib button,.mapboxgl-ctrl-attrib.mapboxgl-compact button,.mapboxgl-ctrl-attrib .mapboxgl-ctrl-attrib-button,button.mapboxgl-ctrl-attrib-button,.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib,.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib{display:none!important}.map-tooltip .mapboxgl-popup-content{padding:.75rem 1rem;background-color:var(--color-background-surface);border:1px solid var(--color-border-default);border-radius:.5rem;box-shadow:0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a;font-family:inherit;max-width:none!important}.map-tooltip .mapboxgl-popup-tip{border-top-color:var(--color-background-surface)}
2
2
  /*# sourceMappingURL=index.css.map */
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution */\n.mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n max-width: none !important; /* Allow custom tooltip widths */\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n"],"mappings":"AACA,CAAC,qBAKD,CAAC,mBAJC,QAAS,cACX,CAQA,CAAC,YAAY,CAAC,uBAXd,QAYW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAdxB,cAeiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,QACb,UAAW,cACb,CAEA,CAZC,YAYY,CAAC,mBACZ,iBAAkB,IAAI,2BACxB","names":[]}
1
+ {"version":3,"sources":["../src/components/Maps/mapbox-overrides.css"],"sourcesContent":["/* Hide Mapbox attribution (including compact mobile version) */\n.mapboxgl-ctrl-attrib,\n.mapboxgl-ctrl-attrib-inner,\n.mapboxgl-ctrl-attrib.mapboxgl-compact,\n.mapboxgl-ctrl-attrib.mapboxgl-compact-show,\n.mapboxgl-ctrl-attrib.mapboxgl-compact .mapboxgl-ctrl-attrib-inner {\n display: none !important;\n}\n\n/* Hide Mapbox logo */\n.mapboxgl-ctrl-logo {\n display: none !important;\n}\n\n/* Hide attribution button that appears on mobile (the \"i\" icon) */\n.mapboxgl-ctrl-attrib-button,\n.mapboxgl-ctrl-attrib button,\n.mapboxgl-ctrl-attrib.mapboxgl-compact button,\n.mapboxgl-ctrl-attrib .mapboxgl-ctrl-attrib-button,\nbutton.mapboxgl-ctrl-attrib-button {\n display: none !important;\n}\n\n/* Hide the entire attribution control container in bottom corners */\n.mapboxgl-ctrl-bottom-left .mapboxgl-ctrl-attrib,\n.mapboxgl-ctrl-bottom-right .mapboxgl-ctrl-attrib {\n display: none !important;\n}\n\n/* Tooltip popup styling */\n.map-tooltip .mapboxgl-popup-content {\n padding: 0.75rem 1rem;\n background-color: var(--color-background-surface);\n border: 1px solid var(--color-border-default);\n border-radius: 0.5rem;\n box-shadow:\n 0 20px 25px -5px rgb(0 0 0 / 0.1),\n 0 8px 10px -6px rgb(0 0 0 / 0.1);\n font-family: inherit;\n max-width: none !important; /* Allow custom tooltip widths */\n}\n\n.map-tooltip .mapboxgl-popup-tip {\n border-top-color: var(--color-background-surface);\n}\n"],"mappings":"AACA,CAAC,qBACD,CAAC,2BACD,CAFC,oBAEoB,CAAC,iBACtB,CAHC,oBAGoB,CAAC,sBACtB,CAJC,oBAIoB,CAFC,iBAEiB,CAHtC,2BAQD,CAAC,mBAKD,CAAC,4BACD,CAfC,qBAeqB,OACtB,CAhBC,oBAgBoB,CAdC,iBAciB,OACvC,CAjBC,qBAiBqB,CAHrB,4BAID,MAAM,CAJL,4BASD,CAAC,0BAA0B,CAvB1B,qBAwBD,CAAC,2BAA2B,CAxB3B,qBAKC,QAAS,cACX,CAuBA,CAAC,YAAY,CAAC,uBA9Bd,QA+BW,OAAQ,KACjB,iBAAkB,IAAI,4BACtB,OAAQ,IAAI,MAAM,IAAI,wBAjCxB,cAkCiB,MACf,WACE,EAAE,KAAK,KAAK,KAAK,SAAgB,CACjC,EAAE,IAAI,KAAK,KAAK,UAClB,YAAa,QACb,UAAW,cACb,CAEA,CAZC,YAYY,CAAC,mBACZ,iBAAkB,IAAI,2BACxB","names":[]}
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ import { I as Icon, S as Size, d as IconName$2, B as BaseInputProps } from './Ri
10
10
  export { f as BaseProps, C as ClearButton, a as DateField, D as DateFieldProps, q as Description, i as DescriptionProps, r as FieldError, g as FieldErrorProps, t as FieldGroup, j as FieldGroupProps, b as FileUpload, F as FileUploadProps, s as Input, h as InputProps, e as InputStyleProps, k as InputWrapper, p as Label, L as LabelProps, c as RichTextEditor, R as RichTextEditorProps, o as getFieldGroupStyles, m as getInputBackgroundStyles, n as getInputBaseStyles, l as getInputStateStyles, u as useInputFocus } from './RichTextEditor-BGQenUvv.cjs';
11
11
  import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } from './index-DKA9NMRw.cjs';
12
12
  export { d as Dialog, g as DialogForm, c as DialogProps, f as Drawer, h as DrawerForm, e as DrawerProps, F as FormActions, j as FormDivider, i as FormGrid, k as FormSection, l as FormStepper, S as SaveBar, U as UnsavedChangesPrompt, u as useWizard } from './index-DKA9NMRw.cjs';
13
- export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, f as ColorFieldProps, N as NumberField, g as Radio, R as RadioGroup, S as Select, c as Switch, T as TextArea, d as TextField, h as TimeField } from './TimeField-CC3x7lhz.cjs';
13
+ export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, f as ColorFieldProps, N as NumberField, g as Radio, R as RadioGroup, S as Select, c as Switch, T as TextArea, d as TextField, h as TimeField } from './TimeField-p31z8xSR.cjs';
14
14
  import { ScaleTime, ScaleLinear } from 'd3-scale';
15
15
  import 'react-map-gl';
16
16
  import '@phosphor-icons/react';
@@ -2422,6 +2422,7 @@ interface DataControlsProps {
2422
2422
  onChange: (value: string) => void;
2423
2423
  onClear?: () => void;
2424
2424
  placeholder?: string;
2425
+ isLoading?: boolean;
2425
2426
  };
2426
2427
  /** @deprecated Search is always expanded on narrow containers. This prop is kept for backward compatibility but has no effect. */
2427
2428
  searchMobileMode?: "expanded" | "collapsed";
@@ -2601,6 +2602,8 @@ interface SearchControlProps {
2601
2602
  size?: Size;
2602
2603
  /** Additional CSS classes */
2603
2604
  className?: string;
2605
+ /** Shows a loading spinner instead of search icon */
2606
+ isLoading?: boolean;
2604
2607
  }
2605
2608
  /**
2606
2609
  * SearchControl
@@ -2618,7 +2621,7 @@ interface SearchControlProps {
2618
2621
  * />
2619
2622
  * ```
2620
2623
  */
2621
- declare function SearchControl({ value, onChange, onClear, placeholder, size, className, }: SearchControlProps): react_jsx_runtime.JSX.Element;
2624
+ declare function SearchControl({ value, onChange, onClear, placeholder, size, className, isLoading, }: SearchControlProps): react_jsx_runtime.JSX.Element;
2622
2625
 
2623
2626
  /**
2624
2627
  * Action configuration for ActionCell
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { I as Icon, S as Size, d as IconName$2, B as BaseInputProps } from './Ri
10
10
  export { f as BaseProps, C as ClearButton, a as DateField, D as DateFieldProps, q as Description, i as DescriptionProps, r as FieldError, g as FieldErrorProps, t as FieldGroup, j as FieldGroupProps, b as FileUpload, F as FileUploadProps, s as Input, h as InputProps, e as InputStyleProps, k as InputWrapper, p as Label, L as LabelProps, c as RichTextEditor, R as RichTextEditorProps, o as getFieldGroupStyles, m as getInputBackgroundStyles, n as getInputBaseStyles, l as getInputStateStyles, u as useInputFocus } from './RichTextEditor-BGQenUvv.js';
11
11
  import { D as DialogAction, a as DialogHeaderConfig, b as DialogFooterConfig } from './index-DKA9NMRw.js';
12
12
  export { d as Dialog, g as DialogForm, c as DialogProps, f as Drawer, h as DrawerForm, e as DrawerProps, F as FormActions, j as FormDivider, i as FormGrid, k as FormSection, l as FormStepper, S as SaveBar, U as UnsavedChangesPrompt, u as useWizard } from './index-DKA9NMRw.js';
13
- export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, f as ColorFieldProps, N as NumberField, g as Radio, R as RadioGroup, S as Select, c as Switch, T as TextArea, d as TextField, h as TimeField } from './TimeField-D3hN7DMK.js';
13
+ export { A as Autocomplete, B as Button, C as Checkbox, a as CheckboxGroup, b as ColorField, f as ColorFieldProps, N as NumberField, g as Radio, R as RadioGroup, S as Select, c as Switch, T as TextArea, d as TextField, h as TimeField } from './TimeField-Blk2Ci2M.js';
14
14
  import { ScaleTime, ScaleLinear } from 'd3-scale';
15
15
  import 'react-map-gl';
16
16
  import '@phosphor-icons/react';
@@ -2422,6 +2422,7 @@ interface DataControlsProps {
2422
2422
  onChange: (value: string) => void;
2423
2423
  onClear?: () => void;
2424
2424
  placeholder?: string;
2425
+ isLoading?: boolean;
2425
2426
  };
2426
2427
  /** @deprecated Search is always expanded on narrow containers. This prop is kept for backward compatibility but has no effect. */
2427
2428
  searchMobileMode?: "expanded" | "collapsed";
@@ -2601,6 +2602,8 @@ interface SearchControlProps {
2601
2602
  size?: Size;
2602
2603
  /** Additional CSS classes */
2603
2604
  className?: string;
2605
+ /** Shows a loading spinner instead of search icon */
2606
+ isLoading?: boolean;
2604
2607
  }
2605
2608
  /**
2606
2609
  * SearchControl
@@ -2618,7 +2621,7 @@ interface SearchControlProps {
2618
2621
  * />
2619
2622
  * ```
2620
2623
  */
2621
- declare function SearchControl({ value, onChange, onClear, placeholder, size, className, }: SearchControlProps): react_jsx_runtime.JSX.Element;
2624
+ declare function SearchControl({ value, onChange, onClear, placeholder, size, className, isLoading, }: SearchControlProps): react_jsx_runtime.JSX.Element;
2622
2625
 
2623
2626
  /**
2624
2627
  * Action configuration for ActionCell