@semcore/bulk-textarea 1.2.0 → 16.0.0-prerelease.11
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 +3 -3
- package/lib/cjs/BulkTextarea.js +6 -8
- package/lib/cjs/BulkTextarea.js.map +1 -1
- package/lib/cjs/BulkTextarea.types.js.map +1 -1
- package/lib/cjs/components/ClearAll.js.map +1 -1
- package/lib/cjs/components/Counter.js.map +1 -1
- package/lib/cjs/components/ErrorsNavigation.js.map +1 -1
- package/lib/cjs/components/InputField/InputField.js +14 -15
- package/lib/cjs/components/InputField/InputField.js.map +1 -1
- package/lib/es6/BulkTextarea.js +5 -6
- package/lib/es6/BulkTextarea.js.map +1 -1
- package/lib/es6/BulkTextarea.types.js.map +1 -1
- package/lib/es6/components/ClearAll.js.map +1 -1
- package/lib/es6/components/Counter.js.map +1 -1
- package/lib/es6/components/ErrorsNavigation.js.map +1 -1
- package/lib/es6/components/InputField/InputField.js +15 -15
- package/lib/es6/components/InputField/InputField.js.map +1 -1
- package/lib/esm/BulkTextarea.mjs +199 -141
- 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 +853 -413
- 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/lib/types/BulkTextarea.types.d.ts +1 -1
- package/lib/types/components/ClearAll.d.ts +1 -1
- package/lib/types/components/Counter.d.ts +1 -1
- package/lib/types/components/ErrorsNavigation.d.ts +1 -1
- package/package.json +9 -12
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
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IRootComponentProps } from '@semcore/core';
|
|
3
|
-
import { useI18n } from '@semcore/
|
|
3
|
+
import { useI18n } from '@semcore/core/lib/utils/enhances/WithI18n';
|
|
4
4
|
export declare function ClearAll(props: IRootComponentProps & {
|
|
5
5
|
isHidden: boolean;
|
|
6
6
|
getI18nText: ReturnType<typeof useI18n>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { CounterProps as CounterPropsKit } from '@semcore/counter';
|
|
3
|
-
import { useI18n } from '@semcore/
|
|
3
|
+
import { useI18n } from '@semcore/core/lib/utils/enhances/WithI18n';
|
|
4
4
|
export type CounterProps = {
|
|
5
5
|
theme: CounterPropsKit['theme'];
|
|
6
6
|
linesCount: number;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/bulk-textarea",
|
|
3
3
|
"description": "Semrush BulkTextarea Component",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "16.0.0-prerelease.11",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
@@ -14,21 +14,18 @@
|
|
|
14
14
|
"types": "./lib/types/index.d.ts"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@semcore/
|
|
18
|
-
"@semcore/
|
|
19
|
-
"@semcore/
|
|
20
|
-
"@semcore/
|
|
21
|
-
"@semcore/
|
|
22
|
-
"@semcore/
|
|
23
|
-
"@semcore/
|
|
24
|
-
"@semcore/tooltip": "6.49.1",
|
|
17
|
+
"@semcore/flex-box": "16.0.0-prerelease.11",
|
|
18
|
+
"@semcore/button": "16.0.0-prerelease.11",
|
|
19
|
+
"@semcore/typography": "16.0.0-prerelease.11",
|
|
20
|
+
"@semcore/counter": "16.0.0-prerelease.11",
|
|
21
|
+
"@semcore/icon": "16.0.0-prerelease.11",
|
|
22
|
+
"@semcore/popper": "16.0.0-prerelease.11",
|
|
23
|
+
"@semcore/tooltip": "16.0.0-prerelease.11",
|
|
25
24
|
"csstype": "3.0.8",
|
|
26
25
|
"dompurify": "3.2.3"
|
|
27
26
|
},
|
|
28
27
|
"peerDependencies": {
|
|
29
|
-
"@semcore/
|
|
30
|
-
"react": "16.8 - 18",
|
|
31
|
-
"react-dom": "16.8 - 18"
|
|
28
|
+
"@semcore/base-components": "^16.0.0-prerelease.11"
|
|
32
29
|
},
|
|
33
30
|
"repository": {
|
|
34
31
|
"type": "git",
|