@box/copy-input 0.27.3 → 0.28.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/esm/lib/copy-input.js +6 -6
- package/dist/esm/lib/messages.js +1 -1
- package/dist/i18n/bn-IN.properties +2 -2
- package/dist/i18n/da-DK.properties +2 -2
- package/dist/i18n/de-DE.properties +2 -2
- package/dist/i18n/en-AU.properties +2 -2
- package/dist/i18n/en-CA.properties +2 -2
- package/dist/i18n/en-GB.properties +2 -2
- package/dist/i18n/en-US.properties +2 -2
- package/dist/i18n/en-x-pseudo.js +2 -2
- package/dist/i18n/en-x-pseudo.properties +4 -4
- package/dist/i18n/es-419.properties +2 -2
- package/dist/i18n/es-ES.properties +2 -2
- package/dist/i18n/fi-FI.properties +2 -2
- package/dist/i18n/fr-CA.properties +2 -2
- package/dist/i18n/fr-FR.properties +2 -2
- package/dist/i18n/hi-IN.properties +2 -2
- package/dist/i18n/it-IT.properties +2 -2
- package/dist/i18n/ja-JP.properties +2 -2
- package/dist/i18n/json/src/lib/messages.json +1 -1
- package/dist/i18n/ko-KR.properties +2 -2
- package/dist/i18n/nb-NO.properties +2 -2
- package/dist/i18n/nl-NL.properties +2 -2
- package/dist/i18n/pl-PL.properties +2 -2
- package/dist/i18n/pt-BR.properties +2 -2
- package/dist/i18n/ru-RU.properties +2 -2
- package/dist/i18n/sv-SE.properties +2 -2
- package/dist/i18n/tr-TR.properties +2 -2
- package/dist/i18n/zh-CN.properties +2 -2
- package/dist/i18n/zh-TW.properties +2 -2
- package/dist/types/lib/messages.d.ts +1 -1
- package/package.json +1 -1
|
@@ -28,7 +28,7 @@ import '../../styles/copy-input.css';const U = "_formWrapper_yd7hc_1", A = "_has
|
|
|
28
28
|
onCopy: L,
|
|
29
29
|
hideLabel: W,
|
|
30
30
|
...l
|
|
31
|
-
} = x, d = z(), N = d.formatMessage(f.
|
|
31
|
+
} = x, d = z(), N = d.formatMessage(f.copyButtonLabel), S = d.formatMessage(f.copyButtonCopiedLabel), u = _("inline-error-"), y = _("subtext-"), {
|
|
32
32
|
copied: m,
|
|
33
33
|
handleCopy: h,
|
|
34
34
|
inputRef: T
|
|
@@ -36,11 +36,11 @@ import '../../styles/copy-input.css';const U = "_formWrapper_yd7hc_1", A = "_has
|
|
|
36
36
|
o.target.select();
|
|
37
37
|
}, []), M = b((o) => {
|
|
38
38
|
o.target instanceof HTMLInputElement && o.target.setSelectionRange(0, o.target.value.length);
|
|
39
|
-
}, []), t = !!r && !n,
|
|
40
|
-
let
|
|
41
|
-
t ?
|
|
39
|
+
}, []), t = !!r && !n, c = !r && !!p, R = t || c;
|
|
40
|
+
let a = "";
|
|
41
|
+
t ? a = u : c && (a = y);
|
|
42
42
|
const j = i(l["aria-describedby"], {
|
|
43
|
-
[
|
|
43
|
+
[a]: R
|
|
44
44
|
});
|
|
45
45
|
return /* @__PURE__ */ I("div", {
|
|
46
46
|
className: i(e.formWrapper, {
|
|
@@ -79,7 +79,7 @@ import '../../styles/copy-input.css';const U = "_formWrapper_yd7hc_1", A = "_has
|
|
|
79
79
|
className: e.inlineError,
|
|
80
80
|
id: u,
|
|
81
81
|
children: r
|
|
82
|
-
}) :
|
|
82
|
+
}) : c && /* @__PURE__ */ s(q, {
|
|
83
83
|
as: "p",
|
|
84
84
|
className: e.subtext,
|
|
85
85
|
color: "textOnLightSecondary",
|
package/dist/esm/lib/messages.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = অনুলিপি করা হয়েছে
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = কপি করুন
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopieret
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopiér
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopiert
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopieren
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copied
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copy
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copied
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copy
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copied
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copy
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copied
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copy
|
package/dist/i18n/en-x-pseudo.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export default {
|
|
2
|
-
"groupSharedFeatures.copyButton.copyButtonCopiedLabel": "⟦萬
|
|
3
|
-
"groupSharedFeatures.copyButton.copyButtonLabel": "⟦萬
|
|
2
|
+
"groupSharedFeatures.copyButton.copyButtonCopiedLabel": "⟦萬 ĆóΡïεď 國⟧",
|
|
3
|
+
"groupSharedFeatures.copyButton.copyButtonLabel": "⟦萬 ÇōΡý 國⟧"
|
|
4
4
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
2
|
-
groupSharedFeatures.copyButton.copyButtonCopiedLabel = ⟦萬
|
|
3
|
-
#
|
|
4
|
-
groupSharedFeatures.copyButton.copyButtonLabel = ⟦萬
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
|
+
groupSharedFeatures.copyButton.copyButtonCopiedLabel = ⟦萬 ĆóΡïεď 國⟧
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
|
+
groupSharedFeatures.copyButton.copyButtonLabel = ⟦萬 ÇōΡý 國⟧
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copiado
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copiar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copiado
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copiar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopioitu
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopioi
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copié
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copier
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copié
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copier
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = कॉपी किया गया
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = कॉपी करें
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copiato
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copia
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = コピー済み
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = コピー
|
|
@@ -1 +1 @@
|
|
|
1
|
-
[{"id":"groupSharedFeatures.copyButton.copyButtonLabel","description":"
|
|
1
|
+
[{"id":"groupSharedFeatures.copyButton.copyButtonLabel","description":"Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.","defaultMessage":"Copy"},{"id":"groupSharedFeatures.copyButton.copyButtonCopiedLabel","description":"Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.","defaultMessage":"Copied"}]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = 복사함
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = 복사
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopiert
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopier
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Gekopieerd
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopiëren
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Skopiowano
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopiuj
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Copiado
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Copiar
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Скопировано
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Копировать
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopierad
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopiera
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = Kopyalandı
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = Kopyala
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = 已复制
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = 复制
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Label for a call-to-action button in its active state. Button was clicked and text input's contents was copied the user's clipboard.
|
|
2
2
|
groupSharedFeatures.copyButton.copyButtonCopiedLabel = 已複製
|
|
3
|
-
#
|
|
3
|
+
# Label for a call-to-action button in its default state. Clicking the button copies text input's contents to the user's clipboard.
|
|
4
4
|
groupSharedFeatures.copyButton.copyButtonLabel = 複製
|