@sveltia/ui 0.80.4 → 0.81.0
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/dist/components/text-editor/shiki/version.d.ts +1 -1
- package/dist/components/text-editor/shiki/version.js +1 -1
- package/dist/components/text-field/number-input.d.ts +13 -0
- package/dist/components/text-field/number-input.js +30 -0
- package/dist/components/text-field/number-input.svelte +93 -46
- package/dist/components/text-field/number-input.svelte.d.ts +30 -2
- package/dist/locales/ar.yaml +6 -0
- package/dist/locales/bg.yaml +6 -0
- package/dist/locales/ca.yaml +6 -0
- package/dist/locales/cs.yaml +6 -0
- package/dist/locales/da.yaml +6 -0
- package/dist/locales/de.yaml +6 -0
- package/dist/locales/el.yaml +6 -0
- package/dist/locales/en-CA.yaml +6 -0
- package/dist/locales/en-GB.yaml +6 -0
- package/dist/locales/en-US.yaml +6 -0
- package/dist/locales/es-CO.yaml +6 -0
- package/dist/locales/fa.yaml +6 -0
- package/dist/locales/fi.yaml +6 -0
- package/dist/locales/fr.yaml +6 -0
- package/dist/locales/he.yaml +6 -0
- package/dist/locales/hr.yaml +6 -0
- package/dist/locales/it.yaml +6 -0
- package/dist/locales/ja.yaml +6 -0
- package/dist/locales/ko.yaml +6 -0
- package/dist/locales/nl.yaml +6 -0
- package/dist/locales/pl.yaml +6 -0
- package/dist/locales/pt-BR.yaml +6 -0
- package/dist/locales/pt-PT.yaml +6 -0
- package/dist/locales/ru.yaml +6 -0
- package/dist/locales/sk.yaml +6 -0
- package/dist/locales/sv.yaml +6 -0
- package/dist/locales/tr.yaml +6 -0
- package/dist/locales/uk.yaml +6 -0
- package/dist/locales/vi.yaml +6 -0
- package/dist/locales/zh-CN.yaml +6 -0
- package/dist/locales/zh-TW.yaml +6 -0
- package/package.json +1 -1
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logic behind `<NumberInput>`, kept apart from the component so the number handling can be tested
|
|
3
|
+
* without rendering anything.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Step value that turns stepping off: the spin buttons are hidden and the arrow keys are ignored.
|
|
7
|
+
*/
|
|
8
|
+
export const STEP_DISABLED: -1;
|
|
9
|
+
export function normalizeStep(step: number | null | undefined): number;
|
|
1
10
|
export function getMaximumFractionDigits(step: number): number;
|
|
11
|
+
export function getInputMode({ fractional, min }: {
|
|
12
|
+
fractional: boolean;
|
|
13
|
+
min?: number | undefined;
|
|
14
|
+
}): "text" | "decimal" | "numeric";
|
|
2
15
|
export function getDecimalSeparator(locale: string | undefined): string;
|
|
3
16
|
export function normalizeNumber(inputValue: string, locale: string | undefined): string;
|
|
4
17
|
export function parseNumber(inputValue: string): number | undefined;
|
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
* without rendering anything.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
+
/**
|
|
7
|
+
* Step value that turns stepping off: the spin buttons are hidden and the arrow keys are ignored.
|
|
8
|
+
*/
|
|
9
|
+
export const STEP_DISABLED = -1;
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Get the step to use, falling back to `1` for a value that isn’t a positive number, like `0`,
|
|
13
|
+
* `null` or `NaN`, which would leave the spin buttons and the arrow keys with nowhere to go.
|
|
14
|
+
* @param {number | null | undefined} step Step value.
|
|
15
|
+
* @returns {number} Positive step.
|
|
16
|
+
*/
|
|
17
|
+
export const normalizeStep = (step) =>
|
|
18
|
+
typeof step === 'number' && Number.isFinite(step) && step > 0 ? step : 1;
|
|
19
|
+
|
|
6
20
|
/**
|
|
7
21
|
* Get the number of fraction digits a value should be formatted with, so stepping by `0.1` yields
|
|
8
22
|
* `0.3` rather than `0.30000000000000004`.
|
|
@@ -17,6 +31,22 @@ export const getMaximumFractionDigits = (step) => {
|
|
|
17
31
|
return Math.max(digits, 0);
|
|
18
32
|
};
|
|
19
33
|
|
|
34
|
+
/**
|
|
35
|
+
* Get the `inputmode` attribute for the field. The numeric and decimal keypads on iOS have no minus
|
|
36
|
+
* key, so a field that accepts a negative number gets the full keyboard instead.
|
|
37
|
+
* @param {object} options Options.
|
|
38
|
+
* @param {boolean} options.fractional Whether the number can have a fraction.
|
|
39
|
+
* @param {number} [options.min] Minimum allowed value.
|
|
40
|
+
* @returns {'text' | 'decimal' | 'numeric'} Input mode.
|
|
41
|
+
*/
|
|
42
|
+
export const getInputMode = ({ fractional, min }) => {
|
|
43
|
+
if (!(typeof min === 'number' && min >= 0)) {
|
|
44
|
+
return 'text';
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
return fractional ? 'decimal' : 'numeric';
|
|
48
|
+
};
|
|
49
|
+
|
|
20
50
|
/**
|
|
21
51
|
* Decimal separators of the locales looked up, keyed by locale. The separator is read on every
|
|
22
52
|
* keystroke, while creating an `Intl.NumberFormat` is comparatively expensive.
|
|
@@ -10,11 +10,14 @@
|
|
|
10
10
|
import Button from '../button/button.svelte';
|
|
11
11
|
import Icon from '../icon/icon.svelte';
|
|
12
12
|
import {
|
|
13
|
+
STEP_DISABLED,
|
|
14
|
+
getInputMode,
|
|
13
15
|
getMaximumFractionDigits,
|
|
14
16
|
isAtMax,
|
|
15
17
|
isAtMin,
|
|
16
18
|
isInvalidNumber,
|
|
17
19
|
normalizeNumber,
|
|
20
|
+
normalizeStep,
|
|
18
21
|
parseNumber,
|
|
19
22
|
stepNumber,
|
|
20
23
|
} from './number-input.js';
|
|
@@ -31,7 +34,15 @@
|
|
|
31
34
|
* @property {number} [min] Minimum allowed value.
|
|
32
35
|
* @property {number} [max] Maximum allowed value.
|
|
33
36
|
* @property {number} [step] Value to be added or removed when using the up/down arrow key or
|
|
34
|
-
* button.
|
|
37
|
+
* button. Set to `-1` to hide the buttons and disable stepping with the arrow keys, for a number
|
|
38
|
+
* that isn’t meant to be stepped, like an ID. Any other value that isn’t a positive number falls
|
|
39
|
+
* back to `1`.
|
|
40
|
+
* @property {boolean} [fractional] Whether the number can have a fraction, which brings up the
|
|
41
|
+
* decimal keypad rather than the numeric one on mobile. If omitted, it’s inferred from `step`:
|
|
42
|
+
* `true` for a fractional step or with stepping turned off, `false` for an integer step.
|
|
43
|
+
* @property {'text' | 'decimal' | 'numeric'} [inputmode] The `inputmode` attribute on the
|
|
44
|
+
* `<input>`. If omitted, it’s `text` if a negative number is allowed, as the numeric and decimal
|
|
45
|
+
* keypads on iOS have no minus key, otherwise `decimal` or `numeric` depending on `fractional`.
|
|
35
46
|
* @property {Snippet} [increaseIcon] Increase icon slot content.
|
|
36
47
|
* @property {Snippet} [decreaseIcon] Decrease icon slot content.
|
|
37
48
|
*/
|
|
@@ -47,6 +58,8 @@
|
|
|
47
58
|
min = undefined,
|
|
48
59
|
max = undefined,
|
|
49
60
|
step = 1,
|
|
61
|
+
fractional = undefined,
|
|
62
|
+
inputmode = undefined,
|
|
50
63
|
class: className,
|
|
51
64
|
hidden = false,
|
|
52
65
|
disabled = false,
|
|
@@ -67,7 +80,36 @@
|
|
|
67
80
|
let edited = $state(false);
|
|
68
81
|
let inputValue = $state('');
|
|
69
82
|
|
|
70
|
-
|
|
83
|
+
// `-1` turns stepping off altogether, leaving a plain text box: a spin button promises the arrow
|
|
84
|
+
// keys step the value
|
|
85
|
+
const stepEnabled = $derived(step !== STEP_DISABLED);
|
|
86
|
+
const stepSize = $derived(normalizeStep(step));
|
|
87
|
+
const isFractional = $derived(
|
|
88
|
+
fractional ?? (!stepEnabled || getMaximumFractionDigits(stepSize) > 0),
|
|
89
|
+
);
|
|
90
|
+
// A plain text box can’t expose the range with `aria-valuemin` and `aria-valuemax`, so it’s
|
|
91
|
+
// described instead, by a hidden element: `aria-description` isn’t supported everywhere
|
|
92
|
+
const rangeDescription = $derived.by(() => {
|
|
93
|
+
const hasMin = typeof min === 'number';
|
|
94
|
+
const hasMax = typeof max === 'number';
|
|
95
|
+
|
|
96
|
+
if (stepEnabled || (!hasMin && !hasMax)) {
|
|
97
|
+
return undefined;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (hasMin && hasMax) {
|
|
101
|
+
return _('_sui.number_input.range', { values: { min, max } });
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
return hasMin
|
|
105
|
+
? _('_sui.number_input.min', { values: { min } })
|
|
106
|
+
: _('_sui.number_input.max', { values: { max } });
|
|
107
|
+
});
|
|
108
|
+
const describedBy = $derived(
|
|
109
|
+
[restProps['aria-describedby'], rangeDescription ? `${id}-range` : undefined]
|
|
110
|
+
.filter(Boolean)
|
|
111
|
+
.join(' ') || undefined,
|
|
112
|
+
);
|
|
71
113
|
// Accept the decimal separator of the field’s language, or that of the UI, like `,` in German
|
|
72
114
|
const numberValue = $derived(normalizeNumber(inputValue, restProps.lang ?? locale.current));
|
|
73
115
|
const isMin = $derived(isAtMin(numberValue, min));
|
|
@@ -100,7 +142,7 @@
|
|
|
100
142
|
* @param {1 | -1} direction `1` to increase, `-1` to decrease.
|
|
101
143
|
*/
|
|
102
144
|
const stepValue = (direction) => {
|
|
103
|
-
const newInputValue = stepNumber(numberValue, { step, direction, min, max });
|
|
145
|
+
const newInputValue = stepNumber(numberValue, { step: stepSize, direction, min, max });
|
|
104
146
|
|
|
105
147
|
if (newInputValue !== undefined) {
|
|
106
148
|
inputValue = newInputValue;
|
|
@@ -130,46 +172,50 @@
|
|
|
130
172
|
class:readonly
|
|
131
173
|
{hidden}
|
|
132
174
|
>
|
|
133
|
-
|
|
134
|
-
<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
{#
|
|
145
|
-
{
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
{#
|
|
162
|
-
{
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
175
|
+
{#if stepEnabled}
|
|
176
|
+
<div role="none" class="buttons">
|
|
177
|
+
<Button
|
|
178
|
+
iconic
|
|
179
|
+
disabled={disabled || readonly || Number.isNaN(Number(numberValue)) || isMax}
|
|
180
|
+
aria-label={_('_sui.number_input.increase')}
|
|
181
|
+
aria-controls={id}
|
|
182
|
+
onclick={() => {
|
|
183
|
+
increase();
|
|
184
|
+
}}
|
|
185
|
+
>
|
|
186
|
+
{#snippet startIcon()}
|
|
187
|
+
{#if increaseIcon}
|
|
188
|
+
{@render increaseIcon()}
|
|
189
|
+
{:else}
|
|
190
|
+
<Icon name="expand_less" />
|
|
191
|
+
{/if}
|
|
192
|
+
{/snippet}
|
|
193
|
+
</Button>
|
|
194
|
+
<Button
|
|
195
|
+
iconic
|
|
196
|
+
disabled={disabled || readonly || Number.isNaN(Number(numberValue)) || isMin}
|
|
197
|
+
aria-label={_('_sui.number_input.decrease')}
|
|
198
|
+
aria-controls={id}
|
|
199
|
+
onclick={() => {
|
|
200
|
+
decrease();
|
|
201
|
+
}}
|
|
202
|
+
>
|
|
203
|
+
{#snippet startIcon()}
|
|
204
|
+
{#if decreaseIcon}
|
|
205
|
+
{@render decreaseIcon()}
|
|
206
|
+
{:else}
|
|
207
|
+
<Icon name="expand_more" />
|
|
208
|
+
{/if}
|
|
209
|
+
{/snippet}
|
|
210
|
+
</Button>
|
|
211
|
+
</div>
|
|
212
|
+
{:else if rangeDescription}
|
|
213
|
+
<span id="{id}-range" hidden>{rangeDescription}</span>
|
|
214
|
+
{/if}
|
|
169
215
|
<TextInput
|
|
170
216
|
dir="ltr"
|
|
171
217
|
{...restProps}
|
|
172
|
-
role=
|
|
218
|
+
role={stepEnabled ? 'spinbutton' : 'textbox'}
|
|
173
219
|
{id}
|
|
174
220
|
bind:value={inputValue}
|
|
175
221
|
spellcheck="false"
|
|
@@ -179,15 +225,16 @@
|
|
|
179
225
|
{readonly}
|
|
180
226
|
{required}
|
|
181
227
|
{invalid}
|
|
182
|
-
aria-valuenow={Number.isFinite(value) ? value : undefined}
|
|
183
|
-
aria-valuemin={min}
|
|
184
|
-
aria-valuemax={max}
|
|
185
|
-
inputmode={
|
|
228
|
+
aria-valuenow={stepEnabled && Number.isFinite(value) ? value : undefined}
|
|
229
|
+
aria-valuemin={stepEnabled ? min : undefined}
|
|
230
|
+
aria-valuemax={stepEnabled ? max : undefined}
|
|
231
|
+
inputmode={inputmode ?? getInputMode({ fractional: isFractional, min })}
|
|
232
|
+
aria-describedby={describedBy}
|
|
186
233
|
onkeydown={(event) => {
|
|
187
234
|
const { key, ctrlKey, metaKey, altKey, shiftKey } = event;
|
|
188
235
|
const hasModifier = shiftKey || altKey || ctrlKey || metaKey;
|
|
189
236
|
// A read-only field can’t be stepped, just like the spin buttons
|
|
190
|
-
const canStep = !disabled && !readonly && !hasModifier;
|
|
237
|
+
const canStep = stepEnabled && !disabled && !readonly && !hasModifier;
|
|
191
238
|
|
|
192
239
|
if (key === 'ArrowDown' && canStep) {
|
|
193
240
|
event.preventDefault();
|
|
@@ -235,7 +282,7 @@
|
|
|
235
282
|
.number-input:not(.disabled) :global(button[aria-disabled='true']) :global(*) {
|
|
236
283
|
filter: grayscale(1) opacity(var(--sui-disabled-opacity, 0.35));
|
|
237
284
|
}
|
|
238
|
-
.number-input :global(:
|
|
285
|
+
.number-input :global(.buttons) + :global(*) :global(input) {
|
|
239
286
|
border-start-start-radius: 0;
|
|
240
287
|
border-end-start-radius: 0;
|
|
241
288
|
}
|
|
@@ -23,9 +23,23 @@ declare const NumberInput: import("svelte").Component<TextInputProps & import(".
|
|
|
23
23
|
max?: number | undefined;
|
|
24
24
|
/**
|
|
25
25
|
* Value to be added or removed when using the up/down arrow key or
|
|
26
|
-
* button.
|
|
26
|
+
* button. Set to `-1` to hide the buttons and disable stepping with the arrow keys, for a number
|
|
27
|
+
* that isn’t meant to be stepped, like an ID. Any other value that isn’t a positive number falls
|
|
28
|
+
* back to `1`.
|
|
27
29
|
*/
|
|
28
30
|
step?: number | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* Whether the number can have a fraction, which brings up the
|
|
33
|
+
* decimal keypad rather than the numeric one on mobile. If omitted, it’s inferred from `step`:
|
|
34
|
+
* `true` for a fractional step or with stepping turned off, `false` for an integer step.
|
|
35
|
+
*/
|
|
36
|
+
fractional?: boolean | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* The `inputmode` attribute on the
|
|
39
|
+
* `<input>`. If omitted, it’s `text` if a negative number is allowed, as the numeric and decimal
|
|
40
|
+
* keypads on iOS have no minus key, otherwise `decimal` or `numeric` depending on `fractional`.
|
|
41
|
+
*/
|
|
42
|
+
inputmode?: "text" | "decimal" | "numeric" | undefined;
|
|
29
43
|
/**
|
|
30
44
|
* Increase icon slot content.
|
|
31
45
|
*/
|
|
@@ -50,9 +64,23 @@ type Props = {
|
|
|
50
64
|
max?: number | undefined;
|
|
51
65
|
/**
|
|
52
66
|
* Value to be added or removed when using the up/down arrow key or
|
|
53
|
-
* button.
|
|
67
|
+
* button. Set to `-1` to hide the buttons and disable stepping with the arrow keys, for a number
|
|
68
|
+
* that isn’t meant to be stepped, like an ID. Any other value that isn’t a positive number falls
|
|
69
|
+
* back to `1`.
|
|
54
70
|
*/
|
|
55
71
|
step?: number | undefined;
|
|
72
|
+
/**
|
|
73
|
+
* Whether the number can have a fraction, which brings up the
|
|
74
|
+
* decimal keypad rather than the numeric one on mobile. If omitted, it’s inferred from `step`:
|
|
75
|
+
* `true` for a fractional step or with stepping turned off, `false` for an integer step.
|
|
76
|
+
*/
|
|
77
|
+
fractional?: boolean | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* The `inputmode` attribute on the
|
|
80
|
+
* `<input>`. If omitted, it’s `text` if a negative number is allowed, as the numeric and decimal
|
|
81
|
+
* keypads on iOS have no minus key, otherwise `decimal` or `numeric` depending on `fractional`.
|
|
82
|
+
*/
|
|
83
|
+
inputmode?: "text" | "decimal" | "numeric" | undefined;
|
|
56
84
|
/**
|
|
57
85
|
* Increase icon slot content.
|
|
58
86
|
*/
|
package/dist/locales/ar.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: زيادة
|
|
76
76
|
decrease: نقصان
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: من {$min} إلى {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: الحد الأدنى {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: الحد الأقصى {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/bg.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Увеличаване
|
|
76
76
|
decrease: Намаляване
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: От {$min} до {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Минимум {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Максимум {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/ca.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Augmenta
|
|
76
76
|
decrease: Redueix
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: De {$min} a {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Mínim {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Màxim {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/cs.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Zvýšit
|
|
76
76
|
decrease: Snížit
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Od {$min} do {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/da.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Forøg
|
|
76
76
|
decrease: Formindsk
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Fra {$min} til {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maksimum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/de.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Erhöhen
|
|
76
76
|
decrease: Verringern
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Von {$min} bis {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/el.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Αύξηση
|
|
76
76
|
decrease: Μείωση
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Από {$min} έως {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Ελάχιστο {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Μέγιστο {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/en-CA.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Increase
|
|
76
76
|
decrease: Decrease
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: From {$min} to {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/en-GB.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Increase
|
|
76
76
|
decrease: Decrease
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: From {$min} to {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/en-US.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Increase
|
|
76
76
|
decrease: Decrease
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: From {$min} to {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/es-CO.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Aumentar
|
|
76
76
|
decrease: Disminuir
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: De {$min} a {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Mínimo {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Máximo {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/fa.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: افزایش
|
|
76
76
|
decrease: کاهش
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: از {$min} تا {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: حداقل {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: حداکثر {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/fi.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Lisää
|
|
76
76
|
decrease: Vähennä
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Välillä {$min}–{$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Vähintään {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Enintään {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/fr.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Augmenter
|
|
76
76
|
decrease: Diminuer
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: De {$min} à {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/he.yaml
CHANGED
|
@@ -79,6 +79,12 @@ number_input:
|
|
|
79
79
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
80
80
|
increase: הגדלה
|
|
81
81
|
decrease: הקטנה
|
|
82
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
83
|
+
range: מ־{$min} עד {$max}
|
|
84
|
+
# Description of the minimum value when the number can’t be stepped
|
|
85
|
+
min: מינימום {$min}
|
|
86
|
+
# Description of the maximum value when the number can’t be stepped
|
|
87
|
+
max: מקסימום {$max}
|
|
82
88
|
|
|
83
89
|
# Password input component
|
|
84
90
|
password_input:
|
package/dist/locales/hr.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Povećaj
|
|
76
76
|
decrease: Smanji
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Od {$min} do {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Najmanje {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Najviše {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/it.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Aumenta
|
|
76
76
|
decrease: Diminuisci
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Da {$min} a {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimo {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Massimo {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/ja.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: 増やす
|
|
76
76
|
decrease: 減らす
|
|
77
|
+
# Description of the allowed range when the number can't be stepped, e.g. "From 1 to 10"
|
|
78
|
+
range: '{$min} から {$max} まで'
|
|
79
|
+
# Description of the minimum value when the number can't be stepped
|
|
80
|
+
min: 最小値 {$min}
|
|
81
|
+
# Description of the maximum value when the number can't be stepped
|
|
82
|
+
max: 最大値 {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/ko.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: 증가
|
|
76
76
|
decrease: 감소
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: '{$min}부터 {$max}까지'
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: 최솟값 {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: 최댓값 {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/nl.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Verhogen
|
|
76
76
|
decrease: Verlagen
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Van {$min} tot {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimaal {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximaal {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/pl.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Zwiększ
|
|
76
76
|
decrease: Zmniejsz
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Od {$min} do {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maksimum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/pt-BR.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Aumentar
|
|
76
76
|
decrease: Diminuir
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: De {$min} a {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Mínimo {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Máximo {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/pt-PT.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Aumentar
|
|
76
76
|
decrease: Diminuir
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: De {$min} a {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Mínimo {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Máximo {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/ru.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Увеличить
|
|
76
76
|
decrease: Уменьшить
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: От {$min} до {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Минимум {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Максимум {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/sk.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Zvýšiť
|
|
76
76
|
decrease: Znížiť
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Od {$min} do {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minimum {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Maximum {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/sv.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Öka
|
|
76
76
|
decrease: Minska
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Från {$min} till {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Minst {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Högst {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/tr.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Artır
|
|
76
76
|
decrease: Azalt
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: '{$min} ile {$max} arası'
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: En az {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: En fazla {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/uk.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Збільшити
|
|
76
76
|
decrease: Зменшити
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Від {$min} до {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Мінімум {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Максимум {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/vi.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: Tăng
|
|
76
76
|
decrease: Giảm
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: Từ {$min} đến {$max}
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: Tối thiểu {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: Tối đa {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/zh-CN.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: 增加
|
|
76
76
|
decrease: 减少
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: '{$min} 至 {$max}'
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: 最小值 {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: 最大值 {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|
package/dist/locales/zh-TW.yaml
CHANGED
|
@@ -74,6 +74,12 @@ number_input:
|
|
|
74
74
|
# Spin button aria-labels for incrementing/decrementing the number value
|
|
75
75
|
increase: 增加
|
|
76
76
|
decrease: 減少
|
|
77
|
+
# Description of the allowed range when the number can’t be stepped, e.g. “From 1 to 10”
|
|
78
|
+
range: '{$min} 至 {$max}'
|
|
79
|
+
# Description of the minimum value when the number can’t be stepped
|
|
80
|
+
min: 最小值 {$min}
|
|
81
|
+
# Description of the maximum value when the number can’t be stepped
|
|
82
|
+
max: 最大值 {$max}
|
|
77
83
|
|
|
78
84
|
# Password input component
|
|
79
85
|
password_input:
|