@texturehq/edges 1.6.0 → 1.6.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.d.cts CHANGED
@@ -1601,7 +1601,7 @@ interface DataControlsProps {
1601
1601
  onClear?: () => void;
1602
1602
  placeholder?: string;
1603
1603
  };
1604
- /** How to display search on narrow containers */
1604
+ /** @deprecated Search is always expanded on narrow containers. This prop is kept for backward compatibility but has no effect. */
1605
1605
  searchMobileMode?: "expanded" | "collapsed";
1606
1606
  /** Active filters */
1607
1607
  filters?: Filter[];
@@ -1667,7 +1667,8 @@ interface DataControlsProps {
1667
1667
  * />
1668
1668
  * ```
1669
1669
  */
1670
- declare function DataControls({ search, searchMobileMode, filters, onRemoveFilter, onClearAllFilters, onManageFilters, maxVisibleFilterChips, sort, resultsCount, className, style, }: DataControlsProps): react_jsx_runtime.JSX.Element | null;
1670
+ declare function DataControls({ search, searchMobileMode: _searchMobileMode, // Deprecated: kept for backward compatibility
1671
+ filters, onRemoveFilter, onClearAllFilters, onManageFilters, maxVisibleFilterChips, sort, resultsCount, className, style, }: DataControlsProps): react_jsx_runtime.JSX.Element | null;
1671
1672
 
1672
1673
  interface ResultsCountProps {
1673
1674
  /** Number of results/items */
@@ -1697,7 +1698,7 @@ interface ResultsCountProps {
1697
1698
  * // Renders: loading skeleton
1698
1699
  * ```
1699
1700
  */
1700
- declare function ResultsCount({ count, label, isLoading, className }: ResultsCountProps): react_jsx_runtime.JSX.Element;
1701
+ declare function ResultsCount({ count, label, isLoading, className, }: ResultsCountProps): react_jsx_runtime.JSX.Element;
1701
1702
 
1702
1703
  interface SearchControlProps {
1703
1704
  /** Current search value */
@@ -2162,7 +2163,7 @@ declare function useInputFocus(): {
2162
2163
  /**
2163
2164
  * Wrapper component for input containers
2164
2165
  */
2165
- declare function InputWrapper({ children, className }: {
2166
+ declare function InputWrapper({ children, className, }: {
2166
2167
  children: React__default.ReactNode;
2167
2168
  className?: string;
2168
2169
  }): react_jsx_runtime.JSX.Element;
@@ -2243,7 +2244,7 @@ declare function getFieldGroupStyles(props: FieldGroupProps): string;
2243
2244
  * </Label>
2244
2245
  * ```
2245
2246
  */
2246
- declare function Label({ children, size, tooltip, isRequired, className, htmlFor }: LabelProps): react_jsx_runtime.JSX.Element;
2247
+ declare function Label({ children, size, tooltip, isRequired, className, htmlFor, }: LabelProps): react_jsx_runtime.JSX.Element;
2247
2248
  /**
2248
2249
  * Description component for providing additional context about a form field.
2249
2250
  *
package/dist/index.d.ts CHANGED
@@ -1601,7 +1601,7 @@ interface DataControlsProps {
1601
1601
  onClear?: () => void;
1602
1602
  placeholder?: string;
1603
1603
  };
1604
- /** How to display search on narrow containers */
1604
+ /** @deprecated Search is always expanded on narrow containers. This prop is kept for backward compatibility but has no effect. */
1605
1605
  searchMobileMode?: "expanded" | "collapsed";
1606
1606
  /** Active filters */
1607
1607
  filters?: Filter[];
@@ -1667,7 +1667,8 @@ interface DataControlsProps {
1667
1667
  * />
1668
1668
  * ```
1669
1669
  */
1670
- declare function DataControls({ search, searchMobileMode, filters, onRemoveFilter, onClearAllFilters, onManageFilters, maxVisibleFilterChips, sort, resultsCount, className, style, }: DataControlsProps): react_jsx_runtime.JSX.Element | null;
1670
+ declare function DataControls({ search, searchMobileMode: _searchMobileMode, // Deprecated: kept for backward compatibility
1671
+ filters, onRemoveFilter, onClearAllFilters, onManageFilters, maxVisibleFilterChips, sort, resultsCount, className, style, }: DataControlsProps): react_jsx_runtime.JSX.Element | null;
1671
1672
 
1672
1673
  interface ResultsCountProps {
1673
1674
  /** Number of results/items */
@@ -1697,7 +1698,7 @@ interface ResultsCountProps {
1697
1698
  * // Renders: loading skeleton
1698
1699
  * ```
1699
1700
  */
1700
- declare function ResultsCount({ count, label, isLoading, className }: ResultsCountProps): react_jsx_runtime.JSX.Element;
1701
+ declare function ResultsCount({ count, label, isLoading, className, }: ResultsCountProps): react_jsx_runtime.JSX.Element;
1701
1702
 
1702
1703
  interface SearchControlProps {
1703
1704
  /** Current search value */
@@ -2162,7 +2163,7 @@ declare function useInputFocus(): {
2162
2163
  /**
2163
2164
  * Wrapper component for input containers
2164
2165
  */
2165
- declare function InputWrapper({ children, className }: {
2166
+ declare function InputWrapper({ children, className, }: {
2166
2167
  children: React__default.ReactNode;
2167
2168
  className?: string;
2168
2169
  }): react_jsx_runtime.JSX.Element;
@@ -2243,7 +2244,7 @@ declare function getFieldGroupStyles(props: FieldGroupProps): string;
2243
2244
  * </Label>
2244
2245
  * ```
2245
2246
  */
2246
- declare function Label({ children, size, tooltip, isRequired, className, htmlFor }: LabelProps): react_jsx_runtime.JSX.Element;
2247
+ declare function Label({ children, size, tooltip, isRequired, className, htmlFor, }: LabelProps): react_jsx_runtime.JSX.Element;
2247
2248
  /**
2248
2249
  * Description component for providing additional context about a form field.
2249
2250
  *