@foundrykit/components 1.0.23 → 1.1.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.
@@ -0,0 +1,18 @@
1
+
2
+ 
3
+ > @foundrykit/components@1.0.23 build /Users/isj/Desktop/work/projects/foundry/packages/components
4
+ > tsup
5
+
6
+ CLI Building entry: src/index.ts
7
+ CLI Using tsconfig: tsconfig.json
8
+ CLI tsup v8.5.0
9
+ CLI Using tsup config: /Users/isj/Desktop/work/projects/foundry/packages/components/tsup.config.ts
10
+ CLI Target: es2022
11
+ CLI Cleaning output folder
12
+ ESM Build start
13
+ ESM dist/index.js 44.13 KB
14
+ ESM dist/index.js.map 84.55 KB
15
+ ESM ⚡️ Build success in 11ms
16
+ DTS Build start
17
+ DTS ⚡️ Build success in 1009ms
18
+ DTS dist/index.d.ts 15.67 KB
@@ -0,0 +1,4 @@
1
+
2
+ > @foundrykit/components@1.0.23 type-check /Users/isj/Desktop/work/projects/foundry/packages/components
3
+ > tsc --noEmit
4
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @foundrykit/components
2
2
 
3
+ ## 1.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c666749: mass update
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [c666749]
12
+ - @foundrykit/hooks@1.1.0
13
+
3
14
  ## 1.0.23
4
15
 
5
16
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -110,7 +110,8 @@ interface AdvancedSearchProviderProps {
110
110
  */
111
111
  styles?: {
112
112
  /** CSS properties for the results dropdown */
113
- results: React.CSSProperties;
113
+ results?: React.CSSProperties;
114
+ width?: string | number;
114
115
  };
115
116
  }
116
117
  /**
@@ -220,6 +221,10 @@ interface SearchResultsProps extends React.HTMLAttributes<HTMLDivElement>, Varia
220
221
  emptyStateMessage?: string;
221
222
  /** Whether to show loading state while searching */
222
223
  showLoadingState?: boolean;
224
+ /** Whether loading replaces results or keeps previous results visible */
225
+ loadingBehavior?: 'replace-results' | 'preserve-results';
226
+ /** Custom loading state rendered instead of loadingMessage */
227
+ loadingState?: React.ReactNode;
223
228
  /** Custom message to show while loading */
224
229
  loadingMessage?: string;
225
230
  }
@@ -319,6 +324,9 @@ declare const SearchItem: React.ForwardRefExoticComponent<SearchItemProps & Reac
319
324
  * Wrapper component for documentation and preview purposes.
320
325
  * Provides a complete search implementation with mock data for testing and demos.
321
326
  *
327
+ * @deprecated Demo-only helper. Prefer composing AdvancedSearchProvider,
328
+ * AdvancedSearchBar, SearchInput, and SearchResults in application code.
329
+ *
322
330
  * @param props - Configuration props for the search wrapper
323
331
  * @returns Complete search component with mock functionality
324
332
  *