@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.
@@ -20,6 +20,10 @@ export type SelectContextType = {
20
20
  * Function to reset the selected value to its default state.
21
21
  */
22
22
  resetSelectedValue: () => void;
23
+ /**
24
+ * Function to register an option's value-label pair.
25
+ */
26
+ registerOption: (optionValue: FieldValue, label: React.ReactNode) => void;
23
27
  /**
24
28
  * Function to get the display label for a value.
25
29
  */
@@ -33,10 +33,3 @@ export declare const handleSelectionChange: (newValue: string | number, selected
33
33
  * @returns Whether the option is selected or not.
34
34
  */
35
35
  export declare const checkIsSelected: (optionValue?: string, selectedValue?: FieldValue) => boolean;
36
- /**
37
- * Utility to recursively find Option components and extract their props
38
- */
39
- export declare const extractOptionProps: (children: React.ReactNode, OptionComponent: React.ComponentType<any>) => Array<{
40
- value: FieldValue;
41
- label: React.ReactNode;
42
- }>;
@@ -692,6 +692,7 @@
692
692
  display: flex;
693
693
  width: auto;
694
694
  height: auto;
695
+ position: relative;
695
696
  gap: var(--tooltip-wrapper-row-gap) var(--tooltip-wrapper-column-gap);
696
697
  }
697
698
  .Tooltip-module_tooltipWrapper__wwgA3 .Tooltip-module_tooltipTarget__FAk8O {