@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.
- package/dist/css/dynamic-ui-non-root.css +3 -2
- package/dist/css/dynamic-ui-non-root.min.css +2 -2
- package/dist/css/dynamic-ui-root.css +1 -1
- package/dist/css/dynamic-ui-root.min.css +1 -1
- package/dist/css/dynamic-ui.css +3 -2
- package/dist/css/dynamic-ui.min.css +2 -2
- package/dist/index.esm.js +43 -27
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +43 -27
- package/dist/index.js.map +1 -1
- package/dist/types/components/DDatePicker/DDatePicker.d.ts +4 -1
- package/dist/types/components/DDatePickerInput/DDatePickerInput.d.ts +1 -1
- package/package.json +2 -2
- package/src/style/components/_d-input-pin.scss +1 -1
- package/src/style/components/_d-select.scss +1 -0
|
@@ -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' | '
|
|
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.
|
|
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": "
|
|
152
|
+
"gitHead": "390121896cb0178e9faf24aef8f1da30a55fa6bf"
|
|
153
153
|
}
|
|
@@ -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);
|