@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.
Files changed (73) hide show
  1. package/date-range-picker/package.json +4 -0
  2. package/docs/api/calendar.md +3 -2
  3. package/docs/api/common.md +1 -1
  4. package/docs/api/date-input.md +1 -1
  5. package/docs/api/date-range-picker.md +137 -0
  6. package/docs/api/i18n.md +53 -0
  7. package/docs/api/list.md +1 -1
  8. package/docs/api/locales.md +14 -14
  9. package/docs/api/popup.md +1 -1
  10. package/docs/api/theme.md +2 -2
  11. package/docs/calendar.md +47 -3
  12. package/docs/date-picker.md +1 -1
  13. package/docs/date-range-picker.md +420 -0
  14. package/docs/forms.md +1 -0
  15. package/docs/label.md +1 -0
  16. package/docs/theming-custom-themes.md +8 -0
  17. package/fesm2022/nanahoshi-mona-ui-calendar.mjs +171 -59
  18. package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +1 -0
  19. package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +1331 -0
  20. package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +1 -0
  21. package/fesm2022/nanahoshi-mona-ui-editor.mjs +1 -1
  22. package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +19 -0
  23. package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -1
  24. package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +23 -0
  25. package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +19 -0
  26. package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +19 -0
  27. package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +19 -0
  28. package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +16 -0
  29. package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +19 -0
  30. package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +16 -0
  31. package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +16 -0
  32. package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +21 -0
  33. package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +19 -0
  34. package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +21 -0
  35. package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +19 -0
  36. package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +16 -0
  37. package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +16 -0
  38. package/fesm2022/nanahoshi-mona-ui-theme.mjs +4 -2
  39. package/i18n/catalogs/en-US.messages.json +16 -0
  40. package/llms.txt +3 -1
  41. package/locales/ar-sa/ar-sa.messages.json +16 -0
  42. package/locales/de-de/de-de.messages.json +16 -0
  43. package/locales/es-es/es-es.messages.json +16 -0
  44. package/locales/fr-fr/fr-fr.messages.json +16 -0
  45. package/locales/id-id/id-id.messages.json +16 -0
  46. package/locales/it-it/it-it.messages.json +16 -0
  47. package/locales/ja-jp/ja-jp.messages.json +16 -0
  48. package/locales/ko-kr/ko-kr.messages.json +16 -0
  49. package/locales/pl-pl/pl-pl.messages.json +16 -0
  50. package/locales/pt-br/pt-br.messages.json +16 -0
  51. package/locales/ru-ru/ru-ru.messages.json +16 -0
  52. package/locales/tr-tr/tr-tr.messages.json +16 -0
  53. package/locales/zh-cn/zh-cn.messages.json +16 -0
  54. package/locales/zh-tw/zh-tw.messages.json +16 -0
  55. package/package.json +5 -1
  56. package/types/nanahoshi-mona-ui-calendar.d.ts +66 -8
  57. package/types/nanahoshi-mona-ui-date-range-picker.d.ts +462 -0
  58. package/types/nanahoshi-mona-ui-i18n.d.ts +39 -0
  59. package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +16 -0
  60. package/types/nanahoshi-mona-ui-locales-de-de.d.ts +16 -0
  61. package/types/nanahoshi-mona-ui-locales-es-es.d.ts +16 -0
  62. package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +16 -0
  63. package/types/nanahoshi-mona-ui-locales-id-id.d.ts +16 -0
  64. package/types/nanahoshi-mona-ui-locales-it-it.d.ts +16 -0
  65. package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +16 -0
  66. package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +16 -0
  67. package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +16 -0
  68. package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +16 -0
  69. package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +16 -0
  70. package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +16 -0
  71. package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +16 -0
  72. package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +16 -0
  73. 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>>;