@narmi/design_system 4.36.5 → 4.37.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.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 20 Aug 2025 22:23:36 GMT
3
+ * Generated on Thu, 21 Aug 2025 17:54:50 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 20 Aug 2025 22:23:36 GMT
3
+ * Generated on Thu, 21 Aug 2025 17:54:50 GMT
4
4
  */
5
5
 
6
6
  :root {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 20 Aug 2025 22:23:36 GMT
3
+ * Generated on Thu, 21 Aug 2025 17:54:50 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 20 Aug 2025 22:23:36 GMT
3
+ * Generated on Thu, 21 Aug 2025 17:54:50 GMT
4
4
  */
5
5
 
6
6
  module.exports = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DO NOT EDIT
3
- * Generated by style-dictionary on Wed Aug 20 2025 22:23:36 GMT+0000 (Coordinated Universal Time)
3
+ * Generated by style-dictionary on Thu Aug 21 2025 17:54:50 GMT+0000 (Coordinated Universal Time)
4
4
  * github.com/narmi/design_system/
5
5
  */
6
6
 
@@ -13,6 +13,8 @@ export interface TableAutocompleteProps {
13
13
  onChange?: (value: string) => void;
14
14
  /** Input change event callback */
15
15
  onInputChange?: (value: string) => void;
16
+ /** Optional custom filter function for items. Signature: (items, inputValue) => filteredItems[] */
17
+ filterItemsByInput?: (items: TableAutocompleteItem[], inputValue: string) => TableAutocompleteItem[];
16
18
  /** Optional pinned footer content; use for action buttons */
17
19
  footerContent?: React.ReactNode;
18
20
  /** Input placeholder text */
@@ -34,7 +36,7 @@ export declare const filterItems: (items: TableAutocompleteItem[], inputValue: s
34
36
  * Allows single selection only.
35
37
  */
36
38
  declare const TableAutocomplete: {
37
- ({ label, children, onChange, onInputChange, footerContent, placeholder, isDisabled, hasError, inputValue, }: TableAutocompleteProps): import("react/jsx-runtime").JSX.Element;
39
+ ({ label, children, onChange, onInputChange, filterItemsByInput, footerContent, placeholder, isDisabled, hasError, inputValue, }: TableAutocompleteProps): import("react/jsx-runtime").JSX.Element;
38
40
  Item: React.FC<import("./Item").TableAutocompleteItemProps>;
39
41
  };
40
42
  export default TableAutocomplete;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TableAutocomplete/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,YAAY,EAAE,0BAA0B,EAAE,MAAM,QAAQ,CAAC;AAGzD,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,YAAY,CAAC;AAEvD,MAAM,WAAW,sBAAsB;IACrC,oCAAoC;IACpC,KAAK,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,QAAQ,EAAE,qBAAqB,EAAE,CAAC;IAClC,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,kCAAkC;IAClC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,6DAA6D;IAC7D,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,6BAA6B;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oCAAoC;IACpC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sCAAsC;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qCAAqC;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,eAAO,MAAM,YAAY,GAAI,MAAM,qBAAqB,GAAG,IAAI,QACX,CAAC;AA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AAM,4BAIjB,CAAC;AAEJ;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;sIAWpB,sBAAsB;;CAqJxB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@narmi/design_system",
3
- "version": "4.36.5",
3
+ "version": "4.37.0",
4
4
  "description": "⚡ A consistent look-and-feel and extensible interface for Narmi experiences 🔥",
5
5
  "main": "dist/index.js",
6
6
  "files": [