@delightui/components 0.1.134 → 0.1.135

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.d.ts CHANGED
@@ -1877,6 +1877,14 @@ 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 a value-label pair from Option components.
1882
+ */
1883
+ registerOption: (value: FieldValue, label: React.ReactNode) => void;
1884
+ /**
1885
+ * Function to get the display label for a value.
1886
+ */
1887
+ getDisplayLabel: (value: FieldValue) => React.ReactNode | undefined;
1880
1888
  /**
1881
1889
  * Indicates whether the field is in an invalid state.
1882
1890
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@delightui/components",
3
- "version": "0.1.134",
3
+ "version": "0.1.135",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "vite",