@delightui/components 0.1.137 → 0.1.139
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/cjs/components/molecules/Select/Select.types.d.ts +4 -0
- package/dist/cjs/components/molecules/Select/Select.utils.d.ts +0 -7
- package/dist/cjs/library.css +1 -0
- package/dist/cjs/library.js +3 -3
- package/dist/cjs/library.js.map +1 -1
- package/dist/esm/components/molecules/Select/Select.types.d.ts +4 -0
- package/dist/esm/components/molecules/Select/Select.utils.d.ts +0 -7
- package/dist/esm/library.css +1 -0
- package/dist/esm/library.js +3 -3
- package/dist/esm/library.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1877,6 +1877,10 @@ type SelectContextType = {
|
|
|
1877
1877
|
* Function to reset the selected value to its default state.
|
|
1878
1878
|
*/
|
|
1879
1879
|
resetSelectedValue: () => void;
|
|
1880
|
+
/**
|
|
1881
|
+
* Function to register an option's value-label pair.
|
|
1882
|
+
*/
|
|
1883
|
+
registerOption: (optionValue: FieldValue, label: React.ReactNode) => void;
|
|
1880
1884
|
/**
|
|
1881
1885
|
* Function to get the display label for a value.
|
|
1882
1886
|
*/
|