@dynamic-framework/ui-react 1.19.1 → 1.20.0

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.
@@ -5,6 +5,7 @@ type Props<CustomModifierNames extends string = never, WithRange extends boolean
5
5
  date?: string | null;
6
6
  selectsRange?: boolean;
7
7
  inputLabel?: string;
8
+ inputHint?: string;
8
9
  inputAriaLabel?: string;
9
10
  inputActionAriaLabel?: string;
10
11
  iconInput?: string;
@@ -21,6 +22,8 @@ type Props<CustomModifierNames extends string = never, WithRange extends boolean
21
22
  locale?: Locale;
22
23
  minYearSelect?: number;
23
24
  maxYearSelect?: number;
25
+ invalid?: boolean;
26
+ valid?: boolean;
24
27
  };
25
- export default function DDatePicker<CustomModifierNames extends string = never, WithRange extends boolean | undefined = undefined>({ date, selectsRange, inputLabel, inputAriaLabel, inputActionAriaLabel, inputId, timeId, timeLabel, iconInput: iconInputProp, iconHeaderPrevMonth: iconHeaderPrevMonthProp, iconHeaderNextMonth: iconHeaderNextMonthProp, iconMaterialStyle: iconMaterialStyleProp, iconFamilyClass, iconFamilyPrefix, minYearSelect, maxYearSelect, iconHeaderSize, headerPrevMonthAriaLabel, headerNextMonthAriaLabel, headerButtonVariant, headerButtonTheme, locale, className, formatWeekDay: formatWeekDayProp, style, ...props }: Props<CustomModifierNames, WithRange>): import("react/jsx-runtime").JSX.Element;
28
+ export default function DDatePicker<CustomModifierNames extends string = never, WithRange extends boolean | undefined = undefined>({ date, selectsRange, inputLabel, inputHint, inputAriaLabel, inputActionAriaLabel, inputId, timeId, timeLabel, iconInput: iconInputProp, iconHeaderPrevMonth: iconHeaderPrevMonthProp, iconHeaderNextMonth: iconHeaderNextMonthProp, iconMaterialStyle: iconMaterialStyleProp, iconFamilyClass, iconFamilyPrefix, minYearSelect, maxYearSelect, iconHeaderSize, headerPrevMonthAriaLabel, headerNextMonthAriaLabel, headerButtonVariant, headerButtonTheme, invalid, valid, locale, className, formatWeekDay: formatWeekDayProp, style, ...props }: Props<CustomModifierNames, WithRange>): import("react/jsx-runtime").JSX.Element;
26
29
  export {};
@@ -5,6 +5,6 @@ type Props = BaseProps & {
5
5
  value?: string;
6
6
  onClick?: () => void;
7
7
  inputLabel?: string;
8
- } & Omit<ComponentProps<typeof DInput>, 'type' | 'isReadOnly' | 'onIconEndClick' | 'value'>;
8
+ } & Omit<ComponentProps<typeof DInput>, 'type' | 'onIconEndClick' | 'value'>;
9
9
  declare const ForwardedDDatePickerInput: import("react").ForwardRefExoticComponent<Omit<Props, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
10
10
  export default ForwardedDDatePickerInput;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sideEffects": [
4
4
  "*.css"
5
5
  ],
6
- "version": "1.19.1",
6
+ "version": "1.20.0",
7
7
  "description": "React Dynamic Framework",
8
8
  "license": "https://github.com/dynamic-framework/dynamic-ui/blob/master/libraries/dynamic-ui-react/LICENSE.md",
9
9
  "repository": {
@@ -149,5 +149,5 @@
149
149
  "react-dom": "^18.2.0",
150
150
  "react-i18next": "^13.3.1"
151
151
  },
152
- "gitHead": "a8a398fe7b2718df5329a1f1ca6d38aa36b8ef02"
152
+ "gitHead": "390121896cb0178e9faf24aef8f1da30a55fa6bf"
153
153
  }
@@ -9,7 +9,7 @@
9
9
  flex-direction: column;
10
10
  align-items: flex-start;
11
11
 
12
- form {
12
+ .d-input-pin-group {
13
13
  display: flex;
14
14
  flex-direction: row;
15
15
  gap: var(--#{$prefix}input-pin-form-gap);
@@ -101,6 +101,7 @@
101
101
  // select menu
102
102
  .d-select__menu-list {
103
103
  top: calc(var(--#{$prefix}input-border-width) * 2);
104
+ margin: calc(var(--#{$prefix}input-border-width) * -1);
104
105
  background: $input-bg;
105
106
  border-radius: var(--#{$prefix}input-border-radius);
106
107
  box-shadow: var(--#{$prefix}select-menu-shadow);