ingred-ui 29.1.0 → 29.1.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.
@@ -1,7 +1,7 @@
1
1
  import { Dayjs } from "dayjs";
2
2
  import React from "react";
3
3
  import { PresetButton } from "../internal/Actions";
4
- import { TimeFieldProps } from "../../TimeField/TimeField";
4
+ import type { TimeField2Props } from "../../TimeField/TimeField2";
5
5
  import type { CalendarWeekConfig } from "../types";
6
6
  export type CalendarProps = React.HTMLAttributes<HTMLDivElement> & {
7
7
  /**
@@ -56,9 +56,9 @@ export type CalendarProps = React.HTMLAttributes<HTMLDivElement> & {
56
56
  */
57
57
  showTimeFields?: boolean;
58
58
  /**
59
- * TimeFieldのprops
59
+ * TimeField2のprops
60
60
  */
61
- timeFieldProps?: Partial<TimeFieldProps>;
61
+ timeFieldProps?: Partial<TimeField2Props>;
62
62
  };
63
63
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
64
64
  /**
@@ -113,8 +113,8 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
113
113
  */
114
114
  showTimeFields?: boolean | undefined;
115
115
  /**
116
- * TimeFieldのprops
116
+ * TimeField2のprops
117
117
  */
118
- timeFieldProps?: Partial<TimeFieldProps> | undefined;
118
+ timeFieldProps?: Partial<TimeField2Props> | undefined;
119
119
  } & React.RefAttributes<HTMLDivElement>>>;
120
120
  export default _default;
@@ -16,7 +16,7 @@ declare const _default: {
16
16
  isOutsideRange?: ((date: dayjs.Dayjs) => boolean) | undefined;
17
17
  onDateChange: (value: dayjs.Dayjs) => void;
18
18
  showTimeFields?: boolean | undefined;
19
- timeFieldProps?: Partial<import("../..").TimeFieldProps> | undefined;
19
+ timeFieldProps?: Partial<import("../..").TimeField2Props> | undefined;
20
20
  } & React.RefAttributes<HTMLDivElement>>>;
21
21
  };
22
22
  export default _default;
@@ -2,7 +2,7 @@ import dayjs, { Dayjs } from "dayjs";
2
2
  import { DateRange } from "../..";
3
3
  import React from "react";
4
4
  import { PresetButton } from "../internal/Actions";
5
- import { TimeFieldProps } from "../../TimeField/TimeField";
5
+ import type { TimeField2Props } from "../../TimeField/TimeField2";
6
6
  import type { CalendarWeekConfig } from "../types";
7
7
  export type CalendarRangeProps = React.HTMLAttributes<HTMLDivElement> & {
8
8
  /**
@@ -80,9 +80,9 @@ export type CalendarRangeProps = React.HTMLAttributes<HTMLDivElement> & {
80
80
  */
81
81
  showTimeFields?: boolean;
82
82
  /**
83
- * TimeFieldのprops
83
+ * TimeField2のprops
84
84
  */
85
- timeFieldProps?: Partial<TimeFieldProps>;
85
+ timeFieldProps?: Partial<TimeField2Props>;
86
86
  };
87
87
  /**
88
88
  * CalendarRange
@@ -165,9 +165,9 @@ export declare const CalendarRange: React.ForwardRefExoticComponent<React.HTMLAt
165
165
  */
166
166
  showTimeFields?: boolean | undefined;
167
167
  /**
168
- * TimeFieldのprops
168
+ * TimeField2のprops
169
169
  */
170
- timeFieldProps?: Partial<TimeFieldProps> | undefined;
170
+ timeFieldProps?: Partial<TimeField2Props> | undefined;
171
171
  } & React.RefAttributes<HTMLDivElement>>;
172
172
  export type { DateRange };
173
173
  declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
@@ -246,8 +246,8 @@ declare const _default: React.MemoExoticComponent<React.ForwardRefExoticComponen
246
246
  */
247
247
  showTimeFields?: boolean | undefined;
248
248
  /**
249
- * TimeFieldのprops
249
+ * TimeField2のprops
250
250
  */
251
- timeFieldProps?: Partial<TimeFieldProps> | undefined;
251
+ timeFieldProps?: Partial<TimeField2Props> | undefined;
252
252
  } & React.RefAttributes<HTMLDivElement>>>;
253
253
  export default _default;
@@ -21,7 +21,7 @@ declare const _default: {
21
21
  isOutsideRange?: ((date: dayjs.Dayjs) => boolean) | undefined;
22
22
  onDatesChange?: ((dates: import("./CalendarRange").DateRange) => void) | undefined;
23
23
  showTimeFields?: boolean | undefined;
24
- timeFieldProps?: Partial<import("../..").TimeFieldProps> | undefined;
24
+ timeFieldProps?: Partial<import("../..").TimeField2Props> | undefined;
25
25
  } & React.RefAttributes<HTMLDivElement>>>;
26
26
  };
27
27
  export default _default;
@@ -31,5 +31,5 @@ export declare const WithPresetButtons: StoryObj<CalendarRangeProps>;
31
31
  export declare const WithDateField: StoryObj<CalendarRangeProps>;
32
32
  export declare const WithDateFieldAndPresetButtons: StoryObj<CalendarRangeProps>;
33
33
  export declare const WithDateFieldsAndTimeFields: StoryObj<CalendarRangeProps>;
34
- /** DateField + TimeField に加え、プリセットボタンを並べた組み合わせ例 */
34
+ /** DateField2 + TimeField2 に加え、プリセットボタンを並べた組み合わせ例 */
35
35
  export declare const WithDateFieldsTimeFieldsAndPresetButtons: StoryObj<CalendarRangeProps>;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import type { CalendarWeekConfig } from "../Calendar/types";
3
3
  import { PresetButton } from "../Calendar/internal/Actions";
4
4
  import { Dayjs } from "dayjs";
5
- import { TimeFieldProps } from "../TimeField/TimeField";
5
+ import type { TimeField2Props } from "../TimeField/TimeField2";
6
6
  import { InputSize, InputVariant } from "../Input/types";
7
7
  export type DatePickerProps = {
8
8
  /**
@@ -99,9 +99,9 @@ export type DatePickerProps = {
99
99
  */
100
100
  showTimeFields?: boolean;
101
101
  /**
102
- * TimeFieldのprops
102
+ * TimeField2のprops
103
103
  */
104
- timeFieldProps?: Partial<TimeFieldProps>;
104
+ timeFieldProps?: Partial<TimeField2Props>;
105
105
  /**
106
106
  * CalendarRangeを使用するかどうか
107
107
  * @default false
@@ -2,7 +2,7 @@ import * as React from "react";
2
2
  import { Dayjs } from "dayjs";
3
3
  import type { CalendarWeekConfig } from "../Calendar/types";
4
4
  import { PresetButton } from "../Calendar/internal/Actions";
5
- import { TimeFieldProps } from "../TimeField/TimeField";
5
+ import type { TimeField2Props } from "../TimeField/TimeField2";
6
6
  import { InputSize, InputVariant } from "../Input/types";
7
7
  export type DateRange = {
8
8
  startDate: Dayjs;
@@ -88,9 +88,9 @@ export type DateRangePickerProps = {
88
88
  */
89
89
  showTimeFields?: boolean;
90
90
  /**
91
- * TimeFieldのprops
91
+ * TimeField2のprops
92
92
  */
93
- timeFieldProps?: Partial<TimeFieldProps>;
93
+ timeFieldProps?: Partial<TimeField2Props>;
94
94
  /**
95
95
  * 日付の表示フォーマット
96
96
  * @default "YYYY-MM-DD"