@digital-ai/dot-components 4.25.0 → 4.25.1

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/index.esm.js CHANGED
@@ -13840,7 +13840,9 @@ const StyledDatePicker = styled(DatePicker)`
13840
13840
  }
13841
13841
 
13842
13842
  .dot-icon-btn .dot-i {
13843
- margin-top: -5px;
13843
+ color: ${theme.palette.figma.typography.black};
13844
+ margin-top: -6px;
13845
+ margin-right: 6px;
13844
13846
  }
13845
13847
 
13846
13848
  .MuiFormLabel-root {
@@ -13951,7 +13953,9 @@ const StyledTimePicker = styled(TimePicker)`
13951
13953
  }
13952
13954
 
13953
13955
  .dot-icon-btn .dot-i {
13954
- margin-top: -5px;
13956
+ margin-top: -6px;
13957
+ margin-right: 6px;
13958
+ color: ${theme.palette.figma.typography.black};
13955
13959
  }
13956
13960
 
13957
13961
  .MuiFormLabel-root {
@@ -52599,7 +52603,8 @@ const DotDatePicker = ({
52599
52603
  children: [error && jsx(DotIcon, {
52600
52604
  className: "dot-error-icon",
52601
52605
  "data-testid": "dot-error-icon",
52602
- iconId: "error-solid"
52606
+ iconId: "error-solid",
52607
+ fontSize: "large"
52603
52608
  }), jsx(DotIconButton, {
52604
52609
  ariaLabel: "Open date picker",
52605
52610
  "data-pendoid": "date-picker-open-btn",
@@ -53006,7 +53011,8 @@ const DotTimePicker = ({
53006
53011
  children: [error && jsx(DotIcon, {
53007
53012
  className: "dot-error-icon",
53008
53013
  "data-testid": dataTestId && `${dataTestId}-input-error-icon`,
53009
- iconId: "error-solid"
53014
+ iconId: "error-solid",
53015
+ fontSize: "large"
53010
53016
  }), !disableOpenPicker && !isComponentReadOnly && !disabled && jsx(DotIconButton, {
53011
53017
  ariaLabel: "Open time picker",
53012
53018
  "data-pendoid": dataPendoId && `${dataPendoId}-open-btn`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital-ai/dot-components",
3
- "version": "4.25.0",
3
+ "version": "4.25.1",
4
4
  "private": false,
5
5
  "license": "SEE LICENSE IN <LICENSE.md>",
6
6
  "contributors": [
@@ -80,6 +80,6 @@ export interface DatePickerProps extends CommonProps {
80
80
  */
81
81
  showDaysOutsideCurrentMonth?: boolean;
82
82
  /** The selected value. Used when the component is controlled. Date in ISO 8601 format, ie: YYYY-MM-DD */
83
- value?: string;
83
+ value?: string | null;
84
84
  }
85
85
  export declare const DotDatePicker: ({ ariaLabel, autoFocus, className, closeOnSelect, "data-pendoid": dataPendoId, "data-testid": dataTestId, defaultValue, disableOpenPicker, disablePast, disablePortal, disabled, displayWeekNumber, displayClearButton, error, fixedWeekNumber, focusInputOnPopperOpened, format, fullWidth, helperText, inputId, inputName, label, locale, maxDate, minDate, onAccept, onBlur, onChange, onClose, onError, onKeyDown, onOpen, open, persistentLabel, readOnly, required, showDaysOutsideCurrentMonth, value, informationToolTip, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -55,7 +55,7 @@ export interface TimePickerProps extends CommonProps {
55
55
  /** If true, the label is displayed as required and the input element will be required. */
56
56
  required?: boolean;
57
57
  /** The selected value. Used when the component is controlled. Time in ISO 8601 format, ie: HH:mm */
58
- value?: string;
58
+ value?: string | null;
59
59
  }
60
60
  export declare const DEFAULT_PICKER_TIME_FORMAT = "HH:mm";
61
61
  export declare const DEFAULT_TIME_FORMAT = "HH:mm";