@nanahoshi/mona-ui 0.35.0 → 0.36.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/docs/api/common.md +1 -1
- package/docs/api/i18n.md +26 -5
- package/docs/api/locales.md +14 -14
- package/docs/api/masked-text-box.md +137 -0
- package/docs/api/multi-select.md +1 -0
- package/docs/api/popup.md +1 -1
- package/docs/masked-textbox.md +334 -0
- package/docs/multi-select.md +66 -0
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +54 -15
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pl-pl.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +10 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +1302 -0
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +29 -1
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +29 -8
- package/i18n/catalogs/en-US.messages.json +10 -1
- package/llms.txt +3 -1
- package/locales/ar-sa/ar-sa.messages.json +10 -1
- package/locales/de-de/de-de.messages.json +10 -1
- package/locales/es-es/es-es.messages.json +10 -1
- package/locales/fr-fr/fr-fr.messages.json +10 -1
- package/locales/id-id/id-id.messages.json +10 -1
- package/locales/it-it/it-it.messages.json +10 -1
- package/locales/ja-jp/ja-jp.messages.json +10 -1
- package/locales/ko-kr/ko-kr.messages.json +10 -1
- package/locales/pl-pl/pl-pl.messages.json +10 -1
- package/locales/pt-br/pt-br.messages.json +10 -1
- package/locales/ru-ru/ru-ru.messages.json +10 -1
- package/locales/tr-tr/tr-tr.messages.json +10 -1
- package/locales/zh-cn/zh-cn.messages.json +10 -1
- package/locales/zh-tw/zh-tw.messages.json +10 -1
- package/masked-text-box/package.json +4 -0
- package/package.json +5 -1
- package/types/nanahoshi-mona-ui-i18n.d.ts +20 -0
- package/types/nanahoshi-mona-ui-internal-list.d.ts +12 -0
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pl-pl.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +9 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +9 -0
- package/types/nanahoshi-mona-ui-masked-text-box.d.ts +391 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -0
- package/types/nanahoshi-mona-ui-popup.d.ts +3 -1
package/docs/api/common.md
CHANGED
|
@@ -461,7 +461,7 @@ HTML attributes by name, to apply to an element.
|
|
|
461
461
|
type AttributeConfig = Record<string, unknown>;
|
|
462
462
|
```
|
|
463
463
|
|
|
464
|
-
**Used by:** [`OtpInputComponent`](otp-input.md#otpinputcomponent), [`TextBoxComponent`](text-box.md#textboxcomponent)
|
|
464
|
+
**Used by:** [`MaskedTextBoxComponent`](masked-text-box.md#maskedtextboxcomponent), [`OtpInputComponent`](otp-input.md#otpinputcomponent), [`TextBoxComponent`](text-box.md#textboxcomponent)
|
|
465
465
|
|
|
466
466
|
## `BaseChangeStrategy`
|
|
467
467
|
|
package/docs/api/i18n.md
CHANGED
|
@@ -1318,6 +1318,7 @@ Interface.
|
|
|
1318
1318
|
| `label` | `MonaLabelMessages` |
|
|
1319
1319
|
| `list` | `MonaListMessages` |
|
|
1320
1320
|
| `listBox` | `MonaListBoxMessages` |
|
|
1321
|
+
| `maskedTextBox` | `MonaMaskedTextBoxMessages` |
|
|
1321
1322
|
| `multiSelect` | `MonaMultiSelectMessages` |
|
|
1322
1323
|
| `notification` | `MonaNotificationMessages` |
|
|
1323
1324
|
| `numericTextBox` | `MonaNumericTextBoxMessages` |
|
|
@@ -1344,6 +1345,25 @@ Interface.
|
|
|
1344
1345
|
|
|
1345
1346
|
**Used by:** [`generatePseudoLocale`](i18n.md#generatepseudolocale), [`MonaI18nConfig`](i18n.md#monai18nconfig), [`MonaI18nService`](i18n.md#monai18nservice), [`MonaLocale`](i18n.md#monalocale), [`MonaMessageNamespace`](i18n.md#monamessagenamespace)
|
|
1346
1347
|
|
|
1348
|
+
## `MonaMaskedTextBoxMessages`
|
|
1349
|
+
|
|
1350
|
+
Interface.
|
|
1351
|
+
|
|
1352
|
+
The masked text box's clear button, and what it says when a typed character doesn't fit the slot at the caret.
|
|
1353
|
+
|
|
1354
|
+
### Properties
|
|
1355
|
+
|
|
1356
|
+
| Name | Type | Description |
|
|
1357
|
+
| --- | --- | --- |
|
|
1358
|
+
| `characterNotAllowed` (read-only) | `string` | Read out when a character doesn't fit a slot that takes something else, such as one of a custom rule. |
|
|
1359
|
+
| `clear` (read-only) | `string` | Name of the button that clears the value. |
|
|
1360
|
+
| `digitOnly` (read-only) | `string` | Read out when a character doesn't fit a slot that takes a digit. |
|
|
1361
|
+
| `digitOrSignOnly` (read-only) | `string` | Read out when a character doesn't fit a slot that takes a digit, `+` or `-`. |
|
|
1362
|
+
| `letterOnly` (read-only) | `string` | Read out when a character doesn't fit a slot that takes a letter. |
|
|
1363
|
+
| `letterOrDigitOnly` (read-only) | `string` | Read out when a character doesn't fit a slot that takes a letter or a digit. |
|
|
1364
|
+
|
|
1365
|
+
**Used by:** [`MASKED_TEXT_BOX_DEFAULT_MESSAGES`](masked-text-box.md#masked-text-box-default-messages), [`MonaLocaleMessages`](i18n.md#monalocalemessages)
|
|
1366
|
+
|
|
1347
1367
|
## `MonaMessageOverrideOptions`
|
|
1348
1368
|
|
|
1349
1369
|
Interface.
|
|
@@ -1362,11 +1382,12 @@ Interface.
|
|
|
1362
1382
|
|
|
1363
1383
|
### Properties
|
|
1364
1384
|
|
|
1365
|
-
| Name | Type |
|
|
1366
|
-
| --- | --- |
|
|
1367
|
-
| `clear` (read-only) | `string` |
|
|
1368
|
-
| `itemsCount` (read-only) | `(count: number) => string` |
|
|
1369
|
-
| `removeMoreItems` (read-only) | `(count: number) => string` |
|
|
1385
|
+
| Name | Type | Description |
|
|
1386
|
+
| --- | --- | --- |
|
|
1387
|
+
| `clear` (read-only) | `string` | |
|
|
1388
|
+
| `itemsCount` (read-only) | `(count: number) => string` | |
|
|
1389
|
+
| `removeMoreItems` (read-only) | `(count: number) => string` | |
|
|
1390
|
+
| `selectAll` (read-only) | `string` | The option at the top of the list that selects every item shown, or clears them when they're all selected. |
|
|
1370
1391
|
|
|
1371
1392
|
**Used by:** [`MonaLocaleMessages`](i18n.md#monalocalemessages), [`MULTI_SELECT_DEFAULT_MESSAGES`](multi-select.md#multi-select-default-messages)
|
|
1372
1393
|
|