@delightui/components 0.1.132 → 0.1.134

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.
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { FieldValue } from '../../organisms/Form/Form.types';
2
3
  /**
3
4
  * Utility function to check if a given value has content.
@@ -13,9 +14,10 @@ export declare const hasValue: (value: FieldValue) => boolean | FieldValue;
13
14
  *
14
15
  * @param selected - The selected value, which can be a string, number, or an array of strings or numbers.
15
16
  * @param defaultValue - The default value to return if no selected value is provided. Default is an empty string.
17
+ * @param labelMap - Optional map of values to labels for displaying custom text.
16
18
  * @returns The selected value if it exists, formatted as a string or number, or the default value.
17
19
  */
18
- export declare const getSelectedValue: (selected: FieldValue, defaultValue?: string) => string | number | undefined;
20
+ export declare const getSelectedValue: (selected: FieldValue, defaultValue?: string, labelMap?: Map<string, React.ReactNode>) => string | React.ReactNode | undefined;
19
21
  /**
20
22
  * Utility function to handle changes to the selected value in a Select component.
21
23
  * @param newValue The new value to be selected or deselected.
@@ -35339,6 +35339,16 @@ span.flatpickr-weekday {
35339
35339
  .NotificationContainer-module_top-center__uNAv8 {
35340
35340
  align-items: center;
35341
35341
  }
35342
+
35343
+ .NotificationContainer-module_bottom-right__lSCdh,
35344
+ .NotificationContainer-module_top-right__8CJ57 {
35345
+ align-items: flex-end;
35346
+ }
35347
+
35348
+ .NotificationContainer-module_bottom-left__qg8Oo,
35349
+ .NotificationContainer-module_top-left__DSEaN {
35350
+ align-items: flex-start;
35351
+ }
35342
35352
  .ToastNotification-module_toastNotification__LCpoq {
35343
35353
  display: flex;
35344
35354
  position: fixed;