@narmi/design_system 5.2.0 → 5.2.1
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/tokens/css/rgbColors.css +1 -1
- package/dist/tokens/css/rgbColors.scss +1 -1
- package/dist/tokens/css/tokens.css +1 -1
- package/dist/tokens/css/tokens.scss +1 -1
- package/dist/tokens/js/colors.esm.js +1 -1
- package/dist/tokens/js/colors.js +1 -1
- package/dist/tokens/js/manifest.esm.js +1 -1
- package/dist/tokens/js/manifest.js +1 -1
- package/dist/tokens/js/reactNativeWeb.js +1 -1
- package/dist/types/DropdownTrigger/index.d.ts +2 -0
- package/dist/types/TableSelect/index.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/tokens/js/colors.js
CHANGED
|
@@ -15,6 +15,8 @@ export interface DropdownTriggerProps extends React.ButtonHTMLAttributes<HTMLBut
|
|
|
15
15
|
* Usually, this represents the name of a selected option
|
|
16
16
|
*/
|
|
17
17
|
displayValue?: string | ReactNode;
|
|
18
|
+
/** Render function that returns JSX to display as the value */
|
|
19
|
+
renderDisplayValue?: (() => ReactNode) | undefined;
|
|
18
20
|
/** Error message. When this prop is passed, an error state is displayed */
|
|
19
21
|
errorText?: string;
|
|
20
22
|
/** Set to `true` to display error state without providing error text */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/TableSelect/index.tsx"],"names":[],"mappings":"AACA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAOvC,OAAO,IAAI,EAAE,EAAE,oBAAoB,EAAE,MAAM,QAAQ,CAAC;AAEpD,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,YAAY,CAAC,oBAAoB,CAAC,CAAC;AAEvE,MAAM,WAAW,gBAAgB;IAC/B,sBAAsB;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,oCAAoC;IACpC,KAAK,EAAE,MA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