@nanahoshi/mona-ui 0.32.2 → 0.32.3
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/docs/api/calendar.md +1 -1
- package/docs/api/i18n.md +3 -3
- package/docs/api/list-box.md +1 -1
- package/docs/api/tabs.md +1 -1
- package/docs/breadcrumb.md +6 -1
- package/docs/chart-line-area.md +6 -1
- package/docs/chart-treemap.md +1 -1
- package/docs/checkbox.md +1 -3
- package/docs/circular-progress-bar.md +26 -5
- package/docs/collapsible.md +28 -6
- package/docs/color-palette.md +24 -3
- package/docs/date-range-picker.md +1 -5
- package/docs/dropdown-button.md +6 -1
- package/docs/editor.md +8 -2
- package/docs/expansion-panel.md +6 -1
- package/docs/otp-input.md +12 -4
- package/docs/popup.md +2 -6
- package/docs/progress-bar.md +12 -3
- package/docs/scroll-view.md +6 -3
- package/docs/sheet.md +6 -2
- package/docs/sidebar.md +5 -1
- package/docs/skeleton.md +9 -2
- package/docs/stepper.md +3 -1
- package/docs/textarea.md +7 -1
- package/docs/textbox.md +7 -1
- package/docs/window.md +1 -1
- package/fesm2022/nanahoshi-mona-ui-card.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +6 -3
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +8 -3
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +8 -8
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-WbXAzGCa.mjs → nanahoshi-mona-ui-grid-grid-list.component-C1qjq2s7.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-DkWTD3pN.mjs → nanahoshi-mona-ui-grid-grid-row.component-CgOt2A6O.mjs} +3 -3
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-DAHqTwBJ.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-tguG2LpN.mjs} +2 -2
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-window.mjs +15 -67
- package/package.json +1 -1
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +2 -0
- package/types/nanahoshi-mona-ui-i18n.d.ts +13 -13
|
@@ -851,6 +851,7 @@ export interface MonaLocaleMessages {
|
|
|
851
851
|
colorPalette: MonaColorPaletteMessages;
|
|
852
852
|
colorPicker: MonaColorPickerMessages;
|
|
853
853
|
comboBox: MonaComboBoxMessages;
|
|
854
|
+
command: MonaCommandMessages;
|
|
854
855
|
datePicker: MonaDatePickerMessages;
|
|
855
856
|
dateRangePicker: MonaDateRangePickerMessages;
|
|
856
857
|
dateTimePicker: MonaDateTimePickerMessages;
|
|
@@ -871,11 +872,10 @@ export interface MonaLocaleMessages {
|
|
|
871
872
|
pager: MonaPagerMessages;
|
|
872
873
|
progressBar: MonaProgressBarMessages;
|
|
873
874
|
qrCode: MonaQrCodeMessages;
|
|
874
|
-
sidebar: MonaSidebarMessages;
|
|
875
875
|
rating: MonaRatingMessages;
|
|
876
|
-
command: MonaCommandMessages;
|
|
877
876
|
scrollView: MonaScrollViewMessages;
|
|
878
877
|
sheet: MonaSheetMessages;
|
|
878
|
+
sidebar: MonaSidebarMessages;
|
|
879
879
|
slider: MonaSliderMessages;
|
|
880
880
|
spinner: MonaSpinnerMessages;
|
|
881
881
|
splitButton: MonaSplitButtonMessages;
|
|
@@ -995,19 +995,19 @@ export declare function mergeTwo<T extends object>(base: T, source?: DeepPartial
|
|
|
995
995
|
export declare function mergeMessages<T extends object>(fallback: T, localeMessages?: DeepPartial<NoInfer<T>>, overrideMessages?: DeepPartial<NoInfer<T>>): T;
|
|
996
996
|
export interface NumberSymbols {
|
|
997
997
|
readonly decimal: string;
|
|
998
|
+
readonly digits: ReadonlyMap<string, string>;
|
|
998
999
|
readonly group: string;
|
|
999
1000
|
readonly minus: string;
|
|
1000
|
-
readonly digits: ReadonlyMap<string, string>;
|
|
1001
1001
|
}
|
|
1002
1002
|
export interface NumberGroupingPattern {
|
|
1003
|
-
readonly primaryGroupSize: number;
|
|
1004
|
-
readonly secondaryGroupSize: number;
|
|
1005
1003
|
readonly groupSeparator: string;
|
|
1006
1004
|
/**
|
|
1007
1005
|
* Fewest integer digits the locale groups when formatting (5 in es-ES, which formats 1000 but 10.000).
|
|
1008
1006
|
* Parsing does not enforce it: "1.000" is still read as 1000 in es-ES.
|
|
1009
1007
|
*/
|
|
1010
1008
|
readonly minimumGroupedIntegerDigits: number;
|
|
1009
|
+
readonly primaryGroupSize: number;
|
|
1010
|
+
readonly secondaryGroupSize: number;
|
|
1011
1011
|
}
|
|
1012
1012
|
export declare function getNumberGroupingPattern(locale: string): NumberGroupingPattern;
|
|
1013
1013
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
@@ -1034,6 +1034,10 @@ export declare function normalizeLocalizedInput(text: string, localeId: string):
|
|
|
1034
1034
|
export declare function getEditDecimalSeparators(symbols: NumberSymbols): ReadonlySet<string>;
|
|
1035
1035
|
export type LocalizedNumberParseMode = "edit" | "locale";
|
|
1036
1036
|
export interface ParseLocalizedNumberOptions {
|
|
1037
|
+
/**
|
|
1038
|
+
* Legacy convenience flag equivalent to `mode: "edit"`.
|
|
1039
|
+
*/
|
|
1040
|
+
alternateDecimal?: boolean;
|
|
1037
1041
|
/**
|
|
1038
1042
|
* When "locale" (default), parses strictly according to canonical locale rules.
|
|
1039
1043
|
* Only the locale's canonical decimal separator is treated as decimal, and only
|
|
@@ -1042,10 +1046,6 @@ export interface ParseLocalizedNumberOptions {
|
|
|
1042
1046
|
* during interactive input entry, unless the alternate is the locale's group separator.
|
|
1043
1047
|
*/
|
|
1044
1048
|
mode?: LocalizedNumberParseMode;
|
|
1045
|
-
/**
|
|
1046
|
-
* Legacy convenience flag equivalent to `mode: "edit"`.
|
|
1047
|
-
*/
|
|
1048
|
-
alternateDecimal?: boolean;
|
|
1049
1049
|
}
|
|
1050
1050
|
/**
|
|
1051
1051
|
* Why a value was refused:
|
|
@@ -1113,8 +1113,8 @@ export interface LocalizedDecimalEditValidationResult {
|
|
|
1113
1113
|
readonly value: string | null;
|
|
1114
1114
|
}
|
|
1115
1115
|
export interface ValidateLocalizedNumberEditOptions {
|
|
1116
|
-
readonly decimals?: number;
|
|
1117
1116
|
readonly allowSign?: boolean;
|
|
1117
|
+
readonly decimals?: number;
|
|
1118
1118
|
}
|
|
1119
1119
|
/** @hidden Exported for Mona UI's other entry points; applications don't need it. */
|
|
1120
1120
|
export declare function validateLocalizedNumberEdit(text: string | null | undefined, localeId: string, options?: ValidateLocalizedNumberEditOptions): LocalizedNumberEditValidationResult;
|
|
@@ -1217,14 +1217,14 @@ export declare function getLocaleDateTimeInputFormat(localeId: string, options?:
|
|
|
1217
1217
|
*/
|
|
1218
1218
|
export declare function getLocaleFirstDayOfWeek(localeId: string): LocaleFirstDayOfWeek;
|
|
1219
1219
|
export interface PseudoLocalizationOptions {
|
|
1220
|
-
readonly prefix?: string;
|
|
1221
|
-
readonly suffix?: string;
|
|
1222
1220
|
readonly expand?: boolean;
|
|
1223
1221
|
readonly expansionFactor?: number;
|
|
1222
|
+
readonly prefix?: string;
|
|
1223
|
+
readonly suffix?: string;
|
|
1224
1224
|
}
|
|
1225
1225
|
export interface GeneratePseudoLocaleOptions {
|
|
1226
|
-
readonly id?: string;
|
|
1227
1226
|
readonly direction?: MonaTextDirection;
|
|
1227
|
+
readonly id?: string;
|
|
1228
1228
|
readonly pseudoOptions?: PseudoLocalizationOptions;
|
|
1229
1229
|
}
|
|
1230
1230
|
/**
|