@semcore/bulk-textarea 1.4.0 → 1.4.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/CHANGELOG.md +6 -0
- package/lib/cjs/components/InputField/InputField.js +15 -13
- package/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/lib/es6/components/InputField/InputField.js +15 -13
- package/lib/es6/components/InputField/InputField.js.map +1 -1
- package/lib/esm/BulkTextarea.mjs +202 -143
- package/lib/esm/components/ClearAll.mjs +14 -13
- package/lib/esm/components/Counter.mjs +15 -14
- package/lib/esm/components/ErrorsNavigation.mjs +30 -30
- package/lib/esm/components/InputField/InputField.mjs +872 -429
- package/lib/esm/components/InputField/inputField.shadow.css +171 -0
- package/lib/esm/index.mjs +2 -2
- package/lib/esm/translations/__intergalactic-dynamic-locales.mjs +30 -30
- package/lib/esm/translations/de.json.mjs +2 -2
- package/lib/esm/translations/en.json.mjs +2 -2
- package/lib/esm/translations/es.json.mjs +2 -2
- package/lib/esm/translations/fr.json.mjs +2 -2
- package/lib/esm/translations/it.json.mjs +2 -2
- package/lib/esm/translations/ja.json.mjs +2 -2
- package/lib/esm/translations/ko.json.mjs +2 -2
- package/lib/esm/translations/nl.json.mjs +2 -2
- package/lib/esm/translations/pl.json.mjs +2 -2
- package/lib/esm/translations/pt.json.mjs +2 -2
- package/lib/esm/translations/sv.json.mjs +2 -2
- package/lib/esm/translations/tr.json.mjs +2 -2
- package/lib/esm/translations/vi.json.mjs +2 -2
- package/lib/esm/translations/zh.json.mjs +2 -2
- package/package.json +9 -9
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
SInputField > div {
|
|
2
|
+
box-sizing: content-box;
|
|
3
|
+
outline: none;
|
|
4
|
+
border-radius: var(--intergalactic-control-rounded, 6px);
|
|
5
|
+
border-color: var(--intergalactic-border-primary, #c4c7cf);
|
|
6
|
+
border-style: solid;
|
|
7
|
+
border-width: 1px;
|
|
8
|
+
overflow: auto;
|
|
9
|
+
position: relative;
|
|
10
|
+
|
|
11
|
+
background-color: var(--intergalactic-bg-primary-neutral, #ffffff);
|
|
12
|
+
color: var(--intergalactic-text-primary, #191b23);
|
|
13
|
+
word-wrap: break-word;
|
|
14
|
+
word-break: break-word;
|
|
15
|
+
font-family: inherit;
|
|
16
|
+
|
|
17
|
+
&:empty::before {
|
|
18
|
+
content: '1. ' attr(placeholder);
|
|
19
|
+
color: var(--intergalactic-text-placeholder, #8a8e9b);
|
|
20
|
+
position: absolute;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:nth-child(even) {
|
|
24
|
+
color: red;
|
|
25
|
+
counter-increment: row;
|
|
26
|
+
margin-bottom: var(--intergalactic-spacing-1x, 4px);
|
|
27
|
+
position: relative;
|
|
28
|
+
word-break: break-all;
|
|
29
|
+
|
|
30
|
+
&::before {
|
|
31
|
+
content: counter(row) '.';
|
|
32
|
+
display: inline-block;
|
|
33
|
+
white-space: nowrap;
|
|
34
|
+
text-align: right;
|
|
35
|
+
color: var(--intergalactic-text-secondary, #6c6e79);
|
|
36
|
+
margin-right: var(--intergalactic-spacing-1x, 4px);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
> p {
|
|
41
|
+
counter-increment: row;
|
|
42
|
+
/*display: inline-block;*/
|
|
43
|
+
margin: 0 0 var(--intergalactic-spacing-1x, 4px) 0;
|
|
44
|
+
position: relative;
|
|
45
|
+
word-break: break-all;
|
|
46
|
+
white-space: pre-wrap;
|
|
47
|
+
padding: 0 var(--intergalactic-spacing-5x, 20px) 0 var(--intergalactic-spacing-4x, 16px);
|
|
48
|
+
|
|
49
|
+
&:last-of-type {
|
|
50
|
+
margin-bottom: 0;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&:not(:empty)::before {
|
|
54
|
+
content: counter(row) '.';
|
|
55
|
+
display: inline-block;
|
|
56
|
+
white-space: nowrap;
|
|
57
|
+
text-align: right;
|
|
58
|
+
color: var(--intergalactic-text-secondary, #6c6e79);
|
|
59
|
+
margin-right: var(--intergalactic-spacing-1x, 4px);
|
|
60
|
+
|
|
61
|
+
position: absolute;
|
|
62
|
+
left: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&[data-over-max-rows='true'] {
|
|
66
|
+
background-color: var(--intergalactic-bg-secondary-critical, #fff0f7);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&:has(p:nth-child(n + 10)) {
|
|
71
|
+
> p {
|
|
72
|
+
padding-left: var(--intergalactic-spacing-6x, 24px);
|
|
73
|
+
}
|
|
74
|
+
> p:nth-child(-n + 9)::before {
|
|
75
|
+
padding-left: var(--intergalactic-spacing-2x, 8px);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&:has(p:nth-child(n + 100)) {
|
|
80
|
+
> p {
|
|
81
|
+
padding-left: var(--intergalactic-spacing-8x, 32px);
|
|
82
|
+
}
|
|
83
|
+
> p:nth-child(-n + 9)::before {
|
|
84
|
+
padding-left: var(--intergalactic-spacing-4x, 16px);
|
|
85
|
+
}
|
|
86
|
+
> p:nth-child(n + 10)::before {
|
|
87
|
+
padding-left: var(--intergalactic-spacing-2x, 8px);
|
|
88
|
+
}
|
|
89
|
+
> p:nth-child(n + 100)::before {
|
|
90
|
+
padding-left: 0;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
SInputField[showErrors] > div[aria-invalid] > p[aria-invalid]:after {
|
|
96
|
+
content: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBmaWxsPSIjZDEwMDJmIj48cGF0aCBkPSJNNyA2aDJ2NEg3VjZabTIgN3YtMkg3djJoMloiLz48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTYuMTUyIDEuMTcyYy43MTktMS41NjMgMi45NzctMS41NjMgMy42OTYgMGw2LjA0MyAxMy4xNDFjLjM2My43OTEtLjIyNSAxLjY4Ny0xLjEwOSAxLjY4N0gxLjIxOGMtLjg4NCAwLTEuNDcyLS44OTYtMS4xMDktMS42ODdMNi4xNTIgMS4xNzJabTcuMzc0IDEyLjgzN0w4IDEuOTkgMi40NzQgMTQuMDFoMTEuMDUyWiIvPjwvc3ZnPgo= ");
|
|
97
|
+
position: absolute;
|
|
98
|
+
right: 0;
|
|
99
|
+
top: var(--intergalactic-spacing-05x, 2px);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
SInputField[size='m'] > div {
|
|
103
|
+
padding: var(--intergalactic-spacing-2x, 8px) var(--intergalactic-spacing-4x, 16px);
|
|
104
|
+
font-size: var(--intergalactic-fs-200, 14px);
|
|
105
|
+
line-height: var(--intergalactic-lh-200, 142%);
|
|
106
|
+
|
|
107
|
+
min-height: calc(var(--minRows) * 20px);
|
|
108
|
+
/* (maxRowsLength - 1 * (rowsHeight + marginBottom)) + lastRowHeight */
|
|
109
|
+
max-height: calc((var(--maxRows) - 1) * (20px + var(--intergalactic-spacing-1x, 4px)) + 18px);
|
|
110
|
+
|
|
111
|
+
&:empty {
|
|
112
|
+
padding-left: var(--intergalactic-spacing-8x, 32px);
|
|
113
|
+
&::before {
|
|
114
|
+
left: var(--intergalactic-spacing-4x, 16px);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
SInputField[size='l'] > div {
|
|
120
|
+
padding: var(--intergalactic-spacing-3x, 12px) var(--intergalactic-spacing-4x, 16px);
|
|
121
|
+
font-size: var(--intergalactic-fs-300, 16px);
|
|
122
|
+
line-height: var(--intergalactic-lh-300, 150%);
|
|
123
|
+
|
|
124
|
+
min-height: calc(var(--minRows) * 24px);
|
|
125
|
+
max-height: calc((var(--maxRows) - 1) * (24px + var(--intergalactic-spacing-1x, 4px)) + 20px);
|
|
126
|
+
|
|
127
|
+
&:empty {
|
|
128
|
+
padding-left: calc(var(--intergalactic-spacing-8x, 32px) + var(--intergalactic-spacing-05x, 2px));
|
|
129
|
+
&::before {
|
|
130
|
+
left: var(--intergalactic-spacing-4x, 16px);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
SInputField[state='normal']:not([disabled]) > div:focus {
|
|
137
|
+
&:focus {
|
|
138
|
+
box-shadow: var(--intergalactic-keyboard-focus, 0px 0px 0px 3px rgba(0, 143, 248, 0.5));
|
|
139
|
+
border-color: var(--intergalactic-border-info-active, #006dca);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
SInputField[state='valid'] > div {
|
|
144
|
+
border-color: var(--intergalactic-border-success-active, #007c65);
|
|
145
|
+
|
|
146
|
+
&:focus {
|
|
147
|
+
box-shadow: var(--intergalactic-keyboard-focus-valid, 0px 0px 0px 3px rgba(0, 159, 129, 0.5));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
SInputField[state='invalid'] > div {
|
|
152
|
+
border-color: var(--intergalactic-border-critical-active, #d1002f);
|
|
153
|
+
|
|
154
|
+
&:focus {
|
|
155
|
+
box-shadow: var(--intergalactic-keyboard-focus-invalid, 0px 0px 0px 3px rgba(255, 73, 83, 0.5));
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
background-image: var(--intergalactic-border-critical-pattern, repeating-linear-gradient(315deg, rgba(209, 0, 47, 1) 0, rgba(209, 0, 47, 1) 2px, transparent 0, transparent 50%));
|
|
159
|
+
background-size: 6px 6px;
|
|
160
|
+
background-color: var(--intergalactic-bg-primary-neutral, #ffffff);
|
|
161
|
+
border-bottom-left-radius: var(--intergalactic-control-rounded, 6px);
|
|
162
|
+
border-top-left-radius: var(--intergalactic-control-rounded, 6px);
|
|
163
|
+
background-repeat: repeat-y;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
SInputField[readonly] > div {
|
|
167
|
+
background-color: var(--intergalactic-bg-secondary-neutral, #f4f5f9);
|
|
168
|
+
}
|
|
169
|
+
SInputField[disabled] > div {
|
|
170
|
+
opacity: var(--intergalactic-disabled-opacity, 0.3);
|
|
171
|
+
}
|
package/lib/esm/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
var
|
|
16
|
-
de
|
|
17
|
-
en
|
|
18
|
-
es
|
|
19
|
-
fr
|
|
20
|
-
it
|
|
21
|
-
ja
|
|
22
|
-
ko
|
|
23
|
-
nl
|
|
24
|
-
pt
|
|
25
|
-
tr
|
|
26
|
-
vi
|
|
27
|
-
zh
|
|
28
|
-
pl
|
|
29
|
-
sv
|
|
1
|
+
import de from "./de.json.mjs";
|
|
2
|
+
import en from "./en.json.mjs";
|
|
3
|
+
import es from "./es.json.mjs";
|
|
4
|
+
import fr from "./fr.json.mjs";
|
|
5
|
+
import it from "./it.json.mjs";
|
|
6
|
+
import ja from "./ja.json.mjs";
|
|
7
|
+
import ko from "./ko.json.mjs";
|
|
8
|
+
import nl from "./nl.json.mjs";
|
|
9
|
+
import pt from "./pt.json.mjs";
|
|
10
|
+
import tr from "./tr.json.mjs";
|
|
11
|
+
import vi from "./vi.json.mjs";
|
|
12
|
+
import zh from "./zh.json.mjs";
|
|
13
|
+
import pl from "./pl.json.mjs";
|
|
14
|
+
import sv from "./sv.json.mjs";
|
|
15
|
+
var localizedMessages = {
|
|
16
|
+
de,
|
|
17
|
+
en,
|
|
18
|
+
es,
|
|
19
|
+
fr,
|
|
20
|
+
it,
|
|
21
|
+
ja,
|
|
22
|
+
ko,
|
|
23
|
+
nl,
|
|
24
|
+
pt,
|
|
25
|
+
tr,
|
|
26
|
+
vi,
|
|
27
|
+
zh,
|
|
28
|
+
pl,
|
|
29
|
+
sv
|
|
30
30
|
};
|
|
31
31
|
export {
|
|
32
|
-
|
|
32
|
+
localizedMessages
|
|
33
33
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const de = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Alle löschen",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "von {rowsNumber} Zeilen",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limit erreicht",
|
|
@@ -9,5 +9,5 @@ const e = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Voriger Fehler"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
de as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const en = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Clear all",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "of {rowsNumber} lines",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limit reached",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Previous error"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
en as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const es = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Borrar todo",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "de {rowsNumber} líneas",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Límite alcanzado",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Error anterior"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
es as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const fr = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Tout effacer",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "lignes sur {rowsNumber}",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limite atteinte",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Erreur précédente"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
fr as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const it = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Cancella tutto",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "di {rowsNumber} linee",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limite raggiunto",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Errore precedente"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
it as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const ja = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "すべてクリア",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "上限は{rowsNumber}行",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "制限に達しました",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "前のエラー"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
ja as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const ko = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "모두 지우기",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "(행 {rowsNumber}개 중)",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "한도에 도달했습니다",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "이전 오류"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
ko as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const nl = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Alles wissen",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "van {rowsNumber} rijen",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limiet bereikt",
|
|
@@ -9,5 +9,5 @@ const e = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Vorige fout"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
nl as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const pl = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Wyczyść wszystko",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "z {rowsNumber} wierszy",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Osiągnięto limit",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Poprzedni błąd"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
pl as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const pt = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Limpar tudo",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "de {rowsNumber} linhas",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Limite atingido",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Erro anterior"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
pt as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const sv = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Rensa allt",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "av {rowsNumber} rader",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Gränsen är nådd",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Föregående fel"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
sv as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const tr = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Tümünü temizle",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "/{rowsNumber} satır",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Sınıra ulaşıldı",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Önceki hata"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
tr as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const vi = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "Xóa tất cả",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "trên tổng số {rowsNumber} dòng",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "Đã đạt đến giới hạn",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "Lỗi trước"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
vi as default
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const zh = {
|
|
2
2
|
"BulkTextarea.ClearAllButton.buttonText": "清除全部",
|
|
3
3
|
"BulkTextarea.Counter.ofAllowedRows:sr-message": "/ {rowsNumber} 行",
|
|
4
4
|
"BulkTextarea.Counter.limitReached:sr-message": "达到限额",
|
|
@@ -9,5 +9,5 @@ const r = {
|
|
|
9
9
|
"BulkTextarea.ErrorsNavigation.previousError:aria-label": "上一个错误"
|
|
10
10
|
};
|
|
11
11
|
export {
|
|
12
|
-
|
|
12
|
+
zh as default
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/bulk-textarea",
|
|
3
3
|
"description": "Semrush BulkTextarea Component",
|
|
4
|
-
"version": "1.4.
|
|
4
|
+
"version": "1.4.1",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,14 +14,14 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/utils": "4.48.
|
|
18
|
-
"@semcore/flex-box": "5.41.
|
|
19
|
-
"@semcore/button": "5.43.
|
|
20
|
-
"@semcore/typography": "5.53.
|
|
21
|
-
"@semcore/counter": "3.38.
|
|
22
|
-
"@semcore/icon": "4.
|
|
23
|
-
"@semcore/popper": "5.46.
|
|
24
|
-
"@semcore/tooltip": "6.49.
|
|
17
|
+
"@semcore/utils": "4.48.4",
|
|
18
|
+
"@semcore/flex-box": "5.41.3",
|
|
19
|
+
"@semcore/button": "5.43.2",
|
|
20
|
+
"@semcore/typography": "5.53.1",
|
|
21
|
+
"@semcore/counter": "3.38.3",
|
|
22
|
+
"@semcore/icon": "4.62.0",
|
|
23
|
+
"@semcore/popper": "5.46.3",
|
|
24
|
+
"@semcore/tooltip": "6.49.3",
|
|
25
25
|
"csstype": "3.0.8",
|
|
26
26
|
"dompurify": "3.2.3"
|
|
27
27
|
},
|