@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.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/style.css +2 -2
- package/dist/style.css.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.js +1 -1
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/TableAutocomplete/index.d.ts +3 -1
- package/dist/types/TableAutocomplete/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tokens/js/colors.js
CHANGED
|
@@ -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;AAErD,eAAO,MAAM,WAAW,GACtB,OAAO,qBAAqB,EAAE,EAC9B,YAAY,MAAM,4BAIjB,CAAC;AAEJ;;;;;;GAMG;AACH,QAAA,MAAM,iBAAiB;
|
|
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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