@delightui/components 0.1.163 → 0.1.165

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.
@@ -36,6 +36,14 @@ export type ToastNotificationProps = Omit<HTMLAttributes<HTMLDivElement>, 'style
36
36
  * Duration before the toast auto-closes (in milliseconds).
37
37
  */
38
38
  duration?: number;
39
+ /**
40
+ * Custom renderer for the inner content area inside the toast wrapper.
41
+ * When provided, it replaces the default layout (leading icon + text + trailing icon).
42
+ * It receives `removeToast` (always defined) so your custom component can close the toast.
43
+ */
44
+ renderContent?: (helpers: {
45
+ removeToast: () => void;
46
+ }) => ReactNode;
39
47
  /**
40
48
  * Additional class for styling.
41
49
  */
@@ -12,4 +12,12 @@ export type DateInputProps = DatePickerBaseSharedProps & {
12
12
  * Icon to be displayed after the input.
13
13
  */
14
14
  trailingIcon?: React.ReactNode;
15
+ /**
16
+ * Accessible label (used as base for input and child suffixes e.g. --open-calendar).
17
+ */
18
+ ariaLabel?: string;
19
+ /**
20
+ * ID(s) of element(s) that label this component (used as base for child suffixes).
21
+ */
22
+ ariaLabelledBy?: string;
15
23
  };
@@ -32,4 +32,8 @@ export type ProgressBarProps = {
32
32
  * Additional class for styling
33
33
  */
34
34
  className?: string;
35
+ /**
36
+ * Accessible label for the progress bar
37
+ */
38
+ ariaLabel?: string;
35
39
  };
@@ -35777,7 +35777,7 @@ span.flatpickr-weekday {
35777
35777
  }
35778
35778
  .ToastNotification-module_toastNotification__LCpoq {
35779
35779
  display: flex;
35780
- position: fixed;
35780
+ position: relative;
35781
35781
  flex-direction: row;
35782
35782
  align-items: center;
35783
35783
  justify-content: center;