@nanahoshi/mona-ui 0.31.0 → 0.32.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/date-range-picker/package.json +4 -0
- package/docs/api/calendar.md +3 -2
- package/docs/api/common.md +1 -1
- package/docs/api/date-input.md +1 -1
- package/docs/api/date-range-picker.md +137 -0
- package/docs/api/i18n.md +53 -0
- package/docs/api/list.md +1 -1
- package/docs/api/locales.md +14 -14
- package/docs/api/popup.md +1 -1
- package/docs/api/theme.md +2 -2
- package/docs/calendar.md +47 -3
- package/docs/date-picker.md +1 -1
- package/docs/date-range-picker.md +420 -0
- package/docs/forms.md +1 -0
- package/docs/label.md +1 -0
- package/docs/theming-custom-themes.md +8 -0
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +171 -59
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +1331 -0
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1 -0
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +23 -0
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +21 -0
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +21 -0
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +19 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +16 -0
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +4 -2
- package/i18n/catalogs/en-US.messages.json +16 -0
- package/llms.txt +3 -1
- package/locales/ar-sa/ar-sa.messages.json +16 -0
- package/locales/de-de/de-de.messages.json +16 -0
- package/locales/es-es/es-es.messages.json +16 -0
- package/locales/fr-fr/fr-fr.messages.json +16 -0
- package/locales/id-id/id-id.messages.json +16 -0
- package/locales/it-it/it-it.messages.json +16 -0
- package/locales/ja-jp/ja-jp.messages.json +16 -0
- package/locales/ko-kr/ko-kr.messages.json +16 -0
- package/locales/pl-pl/pl-pl.messages.json +16 -0
- package/locales/pt-br/pt-br.messages.json +16 -0
- package/locales/ru-ru/ru-ru.messages.json +16 -0
- package/locales/tr-tr/tr-tr.messages.json +16 -0
- package/locales/zh-cn/zh-cn.messages.json +16 -0
- package/locales/zh-tw/zh-tw.messages.json +16 -0
- package/package.json +5 -1
- package/types/nanahoshi-mona-ui-calendar.d.ts +66 -8
- package/types/nanahoshi-mona-ui-date-range-picker.d.ts +462 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +39 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
- package/types/nanahoshi-mona-ui-theme.d.ts +4 -0
|
@@ -173,6 +173,22 @@ export declare const MONA_KO_KR_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_PL_PL_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_PT_BR_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_RU_RU_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_TR_TR_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_ZH_CN_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -173,6 +173,22 @@ export declare const MONA_ZH_TW_LOCALE: {
|
|
|
173
173
|
datePicker: string;
|
|
174
174
|
openCalendar: string;
|
|
175
175
|
};
|
|
176
|
+
dateRangePicker: {
|
|
177
|
+
dateRangePicker: string;
|
|
178
|
+
end: string;
|
|
179
|
+
lastDays: (count: number) => string;
|
|
180
|
+
lastMonth: string;
|
|
181
|
+
lastWeek: string;
|
|
182
|
+
lastYear: string;
|
|
183
|
+
openCalendar: string;
|
|
184
|
+
presets: string;
|
|
185
|
+
start: string;
|
|
186
|
+
thisMonth: string;
|
|
187
|
+
thisWeek: string;
|
|
188
|
+
thisYear: string;
|
|
189
|
+
today: string;
|
|
190
|
+
yesterday: string;
|
|
191
|
+
};
|
|
176
192
|
dateTimePicker: {
|
|
177
193
|
calendar: string;
|
|
178
194
|
cancel: string;
|
|
@@ -166,6 +166,7 @@ export declare const annaTheme: Readonly<{
|
|
|
166
166
|
custom: Readonly<{
|
|
167
167
|
"--mona-indicator-color": "var(--color-primary)";
|
|
168
168
|
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
169
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
169
170
|
}>;
|
|
170
171
|
effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
|
|
171
172
|
motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
|
|
@@ -178,6 +179,7 @@ export declare const annaTheme: Readonly<{
|
|
|
178
179
|
custom: Readonly<{
|
|
179
180
|
"--mona-indicator-color": "var(--color-primary-border)";
|
|
180
181
|
"--mona-indicator-foreground": "#161718";
|
|
182
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
181
183
|
}>;
|
|
182
184
|
effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
|
|
183
185
|
motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
|
|
@@ -196,6 +198,7 @@ export declare const builtInThemes: Readonly<{
|
|
|
196
198
|
custom: Readonly<{
|
|
197
199
|
"--mona-indicator-color": "var(--color-primary)";
|
|
198
200
|
"--mona-indicator-foreground": "var(--color-primary-foreground)";
|
|
201
|
+
"--mona-primary-text-color": "var(--color-primary)";
|
|
199
202
|
}>;
|
|
200
203
|
effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
|
|
201
204
|
motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
|
|
@@ -208,6 +211,7 @@ export declare const builtInThemes: Readonly<{
|
|
|
208
211
|
custom: Readonly<{
|
|
209
212
|
"--mona-indicator-color": "var(--color-primary-border)";
|
|
210
213
|
"--mona-indicator-foreground": "#161718";
|
|
214
|
+
"--mona-primary-text-color": "var(--color-focus-indicator)";
|
|
211
215
|
}>;
|
|
212
216
|
effects: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeEffectVariable, string>>;
|
|
213
217
|
motion: Readonly<Record<import("@nanahoshi/mona-ui/theme").ThemeMotionVariable, string>>;
|