@theroutingcompany/components 0.0.111 → 0.0.112
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/trc-components.es.js +3087 -3094
- package/dist/trc-components.es.js.map +1 -1
- package/dist/trc-components.umd.js +253 -253
- package/dist/trc-components.umd.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/types/components/SingleSelect/SingleSelect.d.ts +3 -1
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import type { AriaSelectProps } from '@react-types/select';
|
|
2
2
|
import type { CollectionChildren } from '@react-types/shared';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
export { Item as SingleSelectItem, Section as SingleSelectSection } from '@react-stately/collections';
|
|
4
|
+
export { Item as SingleSelectItem, Section as SingleSelectSection, } from '@react-stately/collections';
|
|
5
5
|
export { CollectionChildren as SingleSelectChildren };
|
|
6
|
+
type DisplayValue = 'textValue' | 'rendered';
|
|
6
7
|
type SingleSelectProps<T> = Omit<AriaSelectProps<T>, 'children'> & {
|
|
7
8
|
placeholder?: string;
|
|
8
9
|
tooltipIcon?: string;
|
|
@@ -13,6 +14,7 @@ type SingleSelectProps<T> = Omit<AriaSelectProps<T>, 'children'> & {
|
|
|
13
14
|
errorMessage?: string;
|
|
14
15
|
isInvalid?: boolean;
|
|
15
16
|
children?: CollectionChildren<T>;
|
|
17
|
+
displayValue?: DisplayValue;
|
|
16
18
|
};
|
|
17
19
|
type PlaceholderProps = {
|
|
18
20
|
lineHeight?: number | string;
|