@trilogy-ds/react 0.0.11-esm-cjs → 0.0.13-esm-cjs
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/lib/{chunk-JPMJP4FB.mjs → chunk-57VVNO3I.mjs} +1 -1
- package/lib/{chunk-XS7CR5NW.mjs → chunk-5T6J3A25.mjs} +1 -1
- package/lib/{chunk-SZJMEVMK.mjs → chunk-6MSKYREQ.mjs} +1 -1
- package/lib/{chunk-OCWJQN4I.mjs → chunk-GY2RSUAJ.mjs} +2 -2
- package/lib/{chunk-ZQNIFM4G.mjs → chunk-IOHOQM2G.mjs} +2 -2
- package/lib/{chunk-3LYZFW3D.mjs → chunk-JQKBHQAI.mjs} +1 -1
- package/lib/{chunk-RAOQI2YA.mjs → chunk-JYONTZJI.mjs} +1 -1
- package/lib/chunk-UE6Q5FCK.mjs +1 -0
- package/lib/{chunk-GDOGTFV3.mjs → chunk-WCYJXOFQ.mjs} +2 -2
- package/lib/{chunk-LT76X7QI.mjs → chunk-WRTLMWIM.mjs} +4 -4
- package/lib/components/autocomplete/AutoComplete.js +2 -2
- package/lib/components/autocomplete/AutoComplete.mjs +2 -2
- package/lib/components/autocomplete/index.js +2 -2
- package/lib/components/autocomplete/index.mjs +2 -2
- package/lib/components/breadcrumb/Breadcrumb.js +2 -2
- package/lib/components/breadcrumb/Breadcrumb.mjs +1 -1
- package/lib/components/breadcrumb/index.js +2 -2
- package/lib/components/breadcrumb/index.mjs +1 -1
- package/lib/components/button/ButtonProps.d.mts +1 -1
- package/lib/components/button/ButtonProps.d.ts +1 -1
- package/lib/components/button/ButtonProps.mjs +1 -0
- package/lib/components/button/index.d.mts +1 -0
- package/lib/components/button/index.d.ts +1 -0
- package/lib/components/button/index.mjs +2 -1
- package/lib/components/button/index.native.d.mts +1 -0
- package/lib/components/button/index.native.d.ts +1 -0
- package/lib/components/button/index.native.mjs +2 -1
- package/lib/components/index.js +10 -10
- package/lib/components/index.mjs +15 -14
- package/lib/components/index.native.mjs +8 -7
- package/lib/components/input/Input.js +2 -2
- package/lib/components/input/Input.mjs +1 -1
- package/lib/components/input/index.js +2 -2
- package/lib/components/input/index.mjs +1 -1
- package/lib/components/modal/Modal.js +2 -2
- package/lib/components/modal/Modal.mjs +3 -2
- package/lib/components/modal/index.js +2 -2
- package/lib/components/modal/index.mjs +3 -2
- package/lib/components/otp/Otp.js +4 -4
- package/lib/components/otp/Otp.mjs +1 -1
- package/lib/components/otp/index.js +4 -4
- package/lib/components/otp/index.mjs +1 -1
- package/lib/components/select/Select.js +2 -2
- package/lib/components/select/Select.mjs +3 -3
- package/lib/components/select/index.js +2 -2
- package/lib/components/select/index.mjs +3 -3
- package/lib/components/select/web/SelectDynamic.js +2 -2
- package/lib/components/select/web/SelectDynamic.mjs +2 -2
- package/lib/components/select/web/SelectNative.js +2 -2
- package/lib/components/select/web/SelectNative.mjs +3 -3
- package/lib/components/select/web/index.js +2 -2
- package/lib/components/select/web/index.mjs +3 -3
- package/lib/components/tabs/index.mjs +6 -6
- package/lib/components/tabs/index.native.mjs +6 -6
- package/lib/context/provider/index.js +1 -1
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/index.js +11 -11
- package/lib/index.mjs +17 -16
- package/lib/index.native.js +1 -1
- package/lib/index.native.mjs +10 -9
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
- /package/lib/{chunk-2R2VEDDI.mjs → chunk-CZXKYMNG.mjs} +0 -0
- /package/lib/{chunk-PFJ6Y6ZL.mjs → chunk-PZYSTPFC.mjs} +0 -0
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Modal_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-GY2RSUAJ.mjs";
|
|
5
|
+
import "../../chunk-PZYSTPFC.mjs";
|
|
6
6
|
import "../../chunk-FPP2TUF5.mjs";
|
|
7
7
|
import "../../chunk-5NAC2FB4.mjs";
|
|
8
8
|
import "../../chunk-HLXQDY5F.mjs";
|
|
9
9
|
import "../../chunk-MOXBCNH3.mjs";
|
|
10
10
|
import "../../chunk-2RUJIIGS.mjs";
|
|
11
11
|
import "../../chunk-TB5FNQJR.mjs";
|
|
12
|
+
import "../../chunk-CZXKYMNG.mjs";
|
|
12
13
|
import "../../chunk-GVBMUMGT.mjs";
|
|
13
14
|
import "../../chunk-MVJ2C4EA.mjs";
|
|
14
15
|
import "../../chunk-A35Q44N2.mjs";
|
|
@@ -451,7 +451,7 @@ Title.displayName = "Title" /* Title */;
|
|
|
451
451
|
var Title_default = Title;
|
|
452
452
|
|
|
453
453
|
// components/modal/Modal.tsx
|
|
454
|
-
var
|
|
454
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
455
455
|
var import_clsx5 = __toESM(require("clsx"));
|
|
456
456
|
var import_react5 = __toESM(require("react"));
|
|
457
457
|
var Modal = import_react5.default.forwardRef(
|
|
@@ -559,7 +559,7 @@ var Modal = import_react5.default.forwardRef(
|
|
|
559
559
|
className: hashClass(styled, (0, import_clsx5.default)("modal-close", is("large"))),
|
|
560
560
|
type: "button" /* BUTTON */
|
|
561
561
|
},
|
|
562
|
-
/* @__PURE__ */ import_react5.default.createElement("span", { className: hashClass(styled, (0, import_clsx5.default)("sr-only")) },
|
|
562
|
+
/* @__PURE__ */ import_react5.default.createElement("span", { className: hashClass(styled, (0, import_clsx5.default)("sr-only")) }, import_locales.modalLocale.accessibilityLabelButtonClose)
|
|
563
563
|
), /* @__PURE__ */ import_react5.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
564
564
|
));
|
|
565
565
|
}
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
} from "../../chunk-ABTLCSFA.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Modal_default
|
|
11
|
-
} from "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
11
|
+
} from "../../chunk-GY2RSUAJ.mjs";
|
|
12
|
+
import "../../chunk-PZYSTPFC.mjs";
|
|
13
13
|
import "../../chunk-FPP2TUF5.mjs";
|
|
14
14
|
import "../../chunk-5NAC2FB4.mjs";
|
|
15
15
|
import "../../chunk-HLXQDY5F.mjs";
|
|
@@ -21,6 +21,7 @@ import {
|
|
|
21
21
|
ModalMarkup,
|
|
22
22
|
ModalSize
|
|
23
23
|
} from "../../chunk-G2DVFNXH.mjs";
|
|
24
|
+
import "../../chunk-CZXKYMNG.mjs";
|
|
24
25
|
import "../../chunk-GVBMUMGT.mjs";
|
|
25
26
|
import "../../chunk-MVJ2C4EA.mjs";
|
|
26
27
|
import "../../chunk-A35Q44N2.mjs";
|
|
@@ -162,7 +162,7 @@ var import_react2 = require("react");
|
|
|
162
162
|
var import_react3 = require("react");
|
|
163
163
|
|
|
164
164
|
// components/otp/Otp.tsx
|
|
165
|
-
var
|
|
165
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
166
166
|
var import_clsx2 = __toESM(require("clsx"));
|
|
167
167
|
var import_react4 = __toESM(require("react"));
|
|
168
168
|
var stringToCode = (str, codeSize) => {
|
|
@@ -218,8 +218,8 @@ var inputOnKeyUp = (e) => {
|
|
|
218
218
|
focusToNextInput(target);
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
|
-
var formatTranslation = (
|
|
222
|
-
return
|
|
221
|
+
var formatTranslation = (translation, x, y) => {
|
|
222
|
+
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
223
223
|
};
|
|
224
224
|
var Otp = import_react4.default.forwardRef(
|
|
225
225
|
({
|
|
@@ -307,7 +307,7 @@ var Otp = import_react4.default.forwardRef(
|
|
|
307
307
|
onFocus: inputOnFocus,
|
|
308
308
|
onChange: (e) => inputOnChange(e, idx),
|
|
309
309
|
disabled,
|
|
310
|
-
title: formatTranslation(
|
|
310
|
+
title: formatTranslation(import_locales.otpLocale.inputTitle, String(idx + 1), String(length)),
|
|
311
311
|
...others
|
|
312
312
|
}
|
|
313
313
|
))
|
|
@@ -162,7 +162,7 @@ var import_react2 = require("react");
|
|
|
162
162
|
var import_react3 = require("react");
|
|
163
163
|
|
|
164
164
|
// components/otp/Otp.tsx
|
|
165
|
-
var
|
|
165
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
166
166
|
var import_clsx2 = __toESM(require("clsx"));
|
|
167
167
|
var import_react4 = __toESM(require("react"));
|
|
168
168
|
var stringToCode = (str, codeSize) => {
|
|
@@ -218,8 +218,8 @@ var inputOnKeyUp = (e) => {
|
|
|
218
218
|
focusToNextInput(target);
|
|
219
219
|
}
|
|
220
220
|
};
|
|
221
|
-
var formatTranslation = (
|
|
222
|
-
return
|
|
221
|
+
var formatTranslation = (translation, x, y) => {
|
|
222
|
+
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
223
223
|
};
|
|
224
224
|
var Otp = import_react4.default.forwardRef(
|
|
225
225
|
({
|
|
@@ -307,7 +307,7 @@ var Otp = import_react4.default.forwardRef(
|
|
|
307
307
|
onFocus: inputOnFocus,
|
|
308
308
|
onChange: (e) => inputOnChange(e, idx),
|
|
309
309
|
disabled,
|
|
310
|
-
title: formatTranslation(
|
|
310
|
+
title: formatTranslation(import_locales.otpLocale.inputTitle, String(idx + 1), String(length)),
|
|
311
311
|
...others
|
|
312
312
|
}
|
|
313
313
|
))
|
|
@@ -53,7 +53,7 @@ var import_react8 = __toESM(require("react"));
|
|
|
53
53
|
var import_react_dom = __toESM(require("react-dom"));
|
|
54
54
|
|
|
55
55
|
// components/input/Input.tsx
|
|
56
|
-
var
|
|
56
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
57
57
|
var import_clsx4 = __toESM(require("clsx"));
|
|
58
58
|
var import_react7 = __toESM(require("react"));
|
|
59
59
|
|
|
@@ -677,7 +677,7 @@ var Input = import_react7.default.forwardRef(
|
|
|
677
677
|
IconWrapper,
|
|
678
678
|
{
|
|
679
679
|
showPassword: true,
|
|
680
|
-
srOnly: !isShowPwd ?
|
|
680
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
681
681
|
className: "icon-right",
|
|
682
682
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
683
683
|
onPress: () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5T6J3A25.mjs";
|
|
5
5
|
import "../../chunk-I2BTIELF.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-6MSKYREQ.mjs";
|
|
7
7
|
import "../../chunk-TH32WIIV.mjs";
|
|
8
8
|
import "../../chunk-T7LVKIVR.mjs";
|
|
9
9
|
import "../../chunk-MB3N2M2K.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-WCYJXOFQ.mjs";
|
|
11
11
|
import "../../chunk-GRGNRLCK.mjs";
|
|
12
12
|
import "../../chunk-VOIEK4BP.mjs";
|
|
13
13
|
import "../../chunk-BVZWKYND.mjs";
|
|
@@ -57,7 +57,7 @@ var import_react8 = __toESM(require("react"));
|
|
|
57
57
|
var import_react_dom = __toESM(require("react-dom"));
|
|
58
58
|
|
|
59
59
|
// components/input/Input.tsx
|
|
60
|
-
var
|
|
60
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
61
61
|
var import_clsx4 = __toESM(require("clsx"));
|
|
62
62
|
var import_react7 = __toESM(require("react"));
|
|
63
63
|
|
|
@@ -681,7 +681,7 @@ var Input = import_react7.default.forwardRef(
|
|
|
681
681
|
IconWrapper,
|
|
682
682
|
{
|
|
683
683
|
showPassword: true,
|
|
684
|
-
srOnly: !isShowPwd ?
|
|
684
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
685
685
|
className: "icon-right",
|
|
686
686
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
687
687
|
onPress: () => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Select_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5T6J3A25.mjs";
|
|
5
5
|
import {
|
|
6
6
|
option_default
|
|
7
7
|
} from "../../chunk-I2BTIELF.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-6MSKYREQ.mjs";
|
|
9
9
|
import "../../chunk-TH32WIIV.mjs";
|
|
10
10
|
import "../../chunk-T7LVKIVR.mjs";
|
|
11
11
|
import "../../chunk-MB3N2M2K.mjs";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-WCYJXOFQ.mjs";
|
|
13
13
|
import "../../chunk-GRGNRLCK.mjs";
|
|
14
14
|
import "../../chunk-VOIEK4BP.mjs";
|
|
15
15
|
import "../../chunk-BVZWKYND.mjs";
|
|
@@ -39,7 +39,7 @@ var import_react8 = __toESM(require("react"));
|
|
|
39
39
|
var import_react_dom = __toESM(require("react-dom"));
|
|
40
40
|
|
|
41
41
|
// components/input/Input.tsx
|
|
42
|
-
var
|
|
42
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
43
43
|
var import_clsx4 = __toESM(require("clsx"));
|
|
44
44
|
var import_react6 = __toESM(require("react"));
|
|
45
45
|
|
|
@@ -663,7 +663,7 @@ var Input = import_react6.default.forwardRef(
|
|
|
663
663
|
IconWrapper,
|
|
664
664
|
{
|
|
665
665
|
showPassword: true,
|
|
666
|
-
srOnly: !isShowPwd ?
|
|
666
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
667
667
|
className: "icon-right",
|
|
668
668
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
669
669
|
onPress: () => {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SelectDynamic_default
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-6MSKYREQ.mjs";
|
|
5
5
|
import "../../../chunk-T7LVKIVR.mjs";
|
|
6
6
|
import "../../../chunk-MB3N2M2K.mjs";
|
|
7
|
-
import "../../../chunk-
|
|
7
|
+
import "../../../chunk-WCYJXOFQ.mjs";
|
|
8
8
|
import "../../../chunk-GRGNRLCK.mjs";
|
|
9
9
|
import "../../../chunk-VOIEK4BP.mjs";
|
|
10
10
|
import "../../../chunk-BVZWKYND.mjs";
|
|
@@ -216,7 +216,7 @@ var import_react8 = __toESM(require("react"));
|
|
|
216
216
|
var import_react_dom = __toESM(require("react-dom"));
|
|
217
217
|
|
|
218
218
|
// components/input/Input.tsx
|
|
219
|
-
var
|
|
219
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
220
220
|
var import_clsx4 = __toESM(require("clsx"));
|
|
221
221
|
var import_react7 = __toESM(require("react"));
|
|
222
222
|
|
|
@@ -681,7 +681,7 @@ var Input = import_react7.default.forwardRef(
|
|
|
681
681
|
IconWrapper,
|
|
682
682
|
{
|
|
683
683
|
showPassword: true,
|
|
684
|
-
srOnly: !isShowPwd ?
|
|
684
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
685
685
|
className: "icon-right",
|
|
686
686
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
687
687
|
onPress: () => {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SelectNative_default
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-5T6J3A25.mjs";
|
|
5
5
|
import "../../../chunk-I2BTIELF.mjs";
|
|
6
|
-
import "../../../chunk-
|
|
6
|
+
import "../../../chunk-6MSKYREQ.mjs";
|
|
7
7
|
import "../../../chunk-TH32WIIV.mjs";
|
|
8
8
|
import "../../../chunk-T7LVKIVR.mjs";
|
|
9
9
|
import "../../../chunk-MB3N2M2K.mjs";
|
|
10
|
-
import "../../../chunk-
|
|
10
|
+
import "../../../chunk-WCYJXOFQ.mjs";
|
|
11
11
|
import "../../../chunk-GRGNRLCK.mjs";
|
|
12
12
|
import "../../../chunk-VOIEK4BP.mjs";
|
|
13
13
|
import "../../../chunk-BVZWKYND.mjs";
|
|
@@ -42,7 +42,7 @@ var import_react8 = __toESM(require("react"));
|
|
|
42
42
|
var import_react_dom = __toESM(require("react-dom"));
|
|
43
43
|
|
|
44
44
|
// components/input/Input.tsx
|
|
45
|
-
var
|
|
45
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
46
46
|
var import_clsx4 = __toESM(require("clsx"));
|
|
47
47
|
var import_react6 = __toESM(require("react"));
|
|
48
48
|
|
|
@@ -666,7 +666,7 @@ var Input = import_react6.default.forwardRef(
|
|
|
666
666
|
IconWrapper,
|
|
667
667
|
{
|
|
668
668
|
showPassword: true,
|
|
669
|
-
srOnly: !isShowPwd ?
|
|
669
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
670
670
|
className: "icon-right",
|
|
671
671
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
672
672
|
onPress: () => {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
SelectNative_default
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-5T6J3A25.mjs";
|
|
5
5
|
import "../../../chunk-I2BTIELF.mjs";
|
|
6
6
|
import {
|
|
7
7
|
SelectDynamic_default
|
|
8
|
-
} from "../../../chunk-
|
|
8
|
+
} from "../../../chunk-6MSKYREQ.mjs";
|
|
9
9
|
import "../../../chunk-TH32WIIV.mjs";
|
|
10
10
|
import "../../../chunk-T7LVKIVR.mjs";
|
|
11
11
|
import "../../../chunk-MB3N2M2K.mjs";
|
|
12
|
-
import "../../../chunk-
|
|
12
|
+
import "../../../chunk-WCYJXOFQ.mjs";
|
|
13
13
|
import "../../../chunk-GRGNRLCK.mjs";
|
|
14
14
|
import "../../../chunk-VOIEK4BP.mjs";
|
|
15
15
|
import "../../../chunk-BVZWKYND.mjs";
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-SEUFDQBO.mjs";
|
|
3
|
+
import {
|
|
4
|
+
TabList_default
|
|
5
|
+
} from "../../chunk-UNUI5GCY.mjs";
|
|
6
|
+
import {
|
|
7
|
+
Tab_default
|
|
8
|
+
} from "../../chunk-PTHFF3G5.mjs";
|
|
3
9
|
import {
|
|
4
10
|
TabPanels_default
|
|
5
11
|
} from "../../chunk-4XLHP4FT.mjs";
|
|
@@ -7,12 +13,6 @@ import "../../chunk-TTMI7WFG.mjs";
|
|
|
7
13
|
import {
|
|
8
14
|
TabPanel_default
|
|
9
15
|
} from "../../chunk-TBFT5WCF.mjs";
|
|
10
|
-
import {
|
|
11
|
-
TabList_default
|
|
12
|
-
} from "../../chunk-UNUI5GCY.mjs";
|
|
13
|
-
import {
|
|
14
|
-
Tab_default
|
|
15
|
-
} from "../../chunk-PTHFF3G5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
Tabs_default
|
|
18
18
|
} from "../../chunk-5Z2RQ5MY.mjs";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-5HT5JYKR.mjs";
|
|
3
|
-
import {
|
|
4
|
-
TabList_native_default
|
|
5
|
-
} from "../../chunk-YS4SPJEP.mjs";
|
|
6
|
-
import {
|
|
7
|
-
Tab_native_default
|
|
8
|
-
} from "../../chunk-AZ5GLGL2.mjs";
|
|
9
3
|
import {
|
|
10
4
|
TabPanels_native_default
|
|
11
5
|
} from "../../chunk-A4UUZNZZ.mjs";
|
|
12
6
|
import {
|
|
13
7
|
TabPanel_native_default
|
|
14
8
|
} from "../../chunk-R37XLGXJ.mjs";
|
|
9
|
+
import {
|
|
10
|
+
TabList_native_default
|
|
11
|
+
} from "../../chunk-YS4SPJEP.mjs";
|
|
12
|
+
import {
|
|
13
|
+
Tab_native_default
|
|
14
|
+
} from "../../chunk-AZ5GLGL2.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Tabs_native_default
|
|
17
17
|
} from "../../chunk-CIMSFVNA.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TrilogyProvider
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-57VVNO3I.mjs";
|
|
5
5
|
import "../../chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-JQKBHQAI.mjs";
|
|
7
7
|
import "../../chunk-ZB4OWTDD.mjs";
|
|
8
8
|
import "../../chunk-QIPGVLHJ.mjs";
|
|
9
9
|
export {
|
|
@@ -16476,7 +16476,7 @@ if (typeof process === "undefined" || !((_a = process.env) == null ? void 0 : _a
|
|
|
16476
16476
|
var import_react = __toESM(require("react"));
|
|
16477
16477
|
|
|
16478
16478
|
// version.ts
|
|
16479
|
-
var version = "0.0.
|
|
16479
|
+
var version = "0.0.13-esm-cjs";
|
|
16480
16480
|
|
|
16481
16481
|
// version.json
|
|
16482
16482
|
var version_default = {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TrilogyProvider
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-57VVNO3I.mjs";
|
|
5
5
|
import "../../chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-JQKBHQAI.mjs";
|
|
7
7
|
import {
|
|
8
8
|
TrilogyContext
|
|
9
9
|
} from "../../chunk-ZB4OWTDD.mjs";
|
package/lib/index.js
CHANGED
|
@@ -1166,7 +1166,7 @@ var import_clsx13 = __toESM(require("clsx"));
|
|
|
1166
1166
|
var import_react11 = __toESM(require("react"));
|
|
1167
1167
|
|
|
1168
1168
|
// components/input/Input.tsx
|
|
1169
|
-
var
|
|
1169
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
1170
1170
|
var import_clsx10 = __toESM(require("clsx"));
|
|
1171
1171
|
var import_react10 = __toESM(require("react"));
|
|
1172
1172
|
|
|
@@ -1907,7 +1907,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
1907
1907
|
IconWrapper,
|
|
1908
1908
|
{
|
|
1909
1909
|
showPassword: true,
|
|
1910
|
-
srOnly: !isShowPwd ?
|
|
1910
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
1911
1911
|
className: "icon-right",
|
|
1912
1912
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
1913
1913
|
onPress: () => {
|
|
@@ -2557,7 +2557,7 @@ var BoxItemSize = ((BoxItemSize2) => {
|
|
|
2557
2557
|
var item_default2 = BoxItem_default;
|
|
2558
2558
|
|
|
2559
2559
|
// components/breadcrumb/Breadcrumb.tsx
|
|
2560
|
-
var
|
|
2560
|
+
var import_locales2 = require("@trilogy-ds/locales");
|
|
2561
2561
|
var import_clsx21 = __toESM(require("clsx"));
|
|
2562
2562
|
var React27 = __toESM(require("react"));
|
|
2563
2563
|
var Breadcrumb = React27.forwardRef(
|
|
@@ -2570,7 +2570,7 @@ var Breadcrumb = React27.forwardRef(
|
|
|
2570
2570
|
id,
|
|
2571
2571
|
role: "navigation",
|
|
2572
2572
|
className: hashClass(styled, (0, import_clsx21.default)("breadcrumb", className)),
|
|
2573
|
-
"aria-label":
|
|
2573
|
+
"aria-label": import_locales2.breadcrumbLocale.accessibilityLabel,
|
|
2574
2574
|
...others
|
|
2575
2575
|
},
|
|
2576
2576
|
/* @__PURE__ */ React27.createElement("ul", null, children)
|
|
@@ -3707,7 +3707,7 @@ var ListIconStatus = /* @__PURE__ */ ((ListIconStatus2) => {
|
|
|
3707
3707
|
})(ListIconStatus || {});
|
|
3708
3708
|
|
|
3709
3709
|
// components/modal/Modal.tsx
|
|
3710
|
-
var
|
|
3710
|
+
var import_locales3 = require("@trilogy-ds/locales");
|
|
3711
3711
|
var import_clsx49 = __toESM(require("clsx"));
|
|
3712
3712
|
var import_react29 = __toESM(require("react"));
|
|
3713
3713
|
var Modal = import_react29.default.forwardRef(
|
|
@@ -3815,7 +3815,7 @@ var Modal = import_react29.default.forwardRef(
|
|
|
3815
3815
|
className: hashClass(styled, (0, import_clsx49.default)("modal-close", is("large"))),
|
|
3816
3816
|
type: "button" /* BUTTON */
|
|
3817
3817
|
},
|
|
3818
|
-
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0, import_clsx49.default)("sr-only")) },
|
|
3818
|
+
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0, import_clsx49.default)("sr-only")) }, import_locales3.modalLocale.accessibilityLabelButtonClose)
|
|
3819
3819
|
), /* @__PURE__ */ import_react29.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
3820
3820
|
));
|
|
3821
3821
|
}
|
|
@@ -3874,7 +3874,7 @@ var ModalSize = /* @__PURE__ */ ((ModalSize2) => {
|
|
|
3874
3874
|
})(ModalSize || {});
|
|
3875
3875
|
|
|
3876
3876
|
// components/otp/Otp.tsx
|
|
3877
|
-
var
|
|
3877
|
+
var import_locales4 = require("@trilogy-ds/locales");
|
|
3878
3878
|
var import_clsx52 = __toESM(require("clsx"));
|
|
3879
3879
|
var import_react30 = __toESM(require("react"));
|
|
3880
3880
|
var stringToCode = (str, codeSize) => {
|
|
@@ -3930,8 +3930,8 @@ var inputOnKeyUp = (e) => {
|
|
|
3930
3930
|
focusToNextInput(target);
|
|
3931
3931
|
}
|
|
3932
3932
|
};
|
|
3933
|
-
var formatTranslation = (
|
|
3934
|
-
return
|
|
3933
|
+
var formatTranslation = (translation, x, y) => {
|
|
3934
|
+
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
3935
3935
|
};
|
|
3936
3936
|
var Otp = import_react30.default.forwardRef(
|
|
3937
3937
|
({
|
|
@@ -4019,7 +4019,7 @@ var Otp = import_react30.default.forwardRef(
|
|
|
4019
4019
|
onFocus: inputOnFocus,
|
|
4020
4020
|
onChange: (e) => inputOnChange(e, idx),
|
|
4021
4021
|
disabled,
|
|
4022
|
-
title: formatTranslation(
|
|
4022
|
+
title: formatTranslation(import_locales4.otpLocale.inputTitle, String(idx + 1), String(length)),
|
|
4023
4023
|
...others
|
|
4024
4024
|
}
|
|
4025
4025
|
))
|
|
@@ -6084,7 +6084,7 @@ var JustifyContent = /* @__PURE__ */ ((JustifyContent2) => {
|
|
|
6084
6084
|
var import_react52 = __toESM(require("react"));
|
|
6085
6085
|
|
|
6086
6086
|
// version.ts
|
|
6087
|
-
var version = "0.0.
|
|
6087
|
+
var version = "0.0.13-esm-cjs";
|
|
6088
6088
|
|
|
6089
6089
|
// version.json
|
|
6090
6090
|
var version_default = {
|
package/lib/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TrilogyProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-57VVNO3I.mjs";
|
|
5
5
|
import "./chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-JQKBHQAI.mjs";
|
|
7
7
|
import "./chunk-GBY3HXT4.mjs";
|
|
8
8
|
import "./chunk-56PSJEFR.mjs";
|
|
9
9
|
import {
|
|
@@ -35,6 +35,12 @@ import {
|
|
|
35
35
|
Textarea_default
|
|
36
36
|
} from "./chunk-574Q5HPU.mjs";
|
|
37
37
|
import "./chunk-SEUFDQBO.mjs";
|
|
38
|
+
import {
|
|
39
|
+
TabList_default
|
|
40
|
+
} from "./chunk-UNUI5GCY.mjs";
|
|
41
|
+
import {
|
|
42
|
+
Tab_default
|
|
43
|
+
} from "./chunk-PTHFF3G5.mjs";
|
|
38
44
|
import {
|
|
39
45
|
TabPanels_default
|
|
40
46
|
} from "./chunk-4XLHP4FT.mjs";
|
|
@@ -42,12 +48,6 @@ import "./chunk-TTMI7WFG.mjs";
|
|
|
42
48
|
import {
|
|
43
49
|
TabPanel_default
|
|
44
50
|
} from "./chunk-TBFT5WCF.mjs";
|
|
45
|
-
import {
|
|
46
|
-
TabList_default
|
|
47
|
-
} from "./chunk-UNUI5GCY.mjs";
|
|
48
|
-
import {
|
|
49
|
-
Tab_default
|
|
50
|
-
} from "./chunk-PTHFF3G5.mjs";
|
|
51
51
|
import "./chunk-K4DWC43X.mjs";
|
|
52
52
|
import {
|
|
53
53
|
Tag_default
|
|
@@ -101,11 +101,11 @@ import {
|
|
|
101
101
|
} from "./chunk-22ZF6KCV.mjs";
|
|
102
102
|
import {
|
|
103
103
|
Select_default
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-5T6J3A25.mjs";
|
|
105
105
|
import {
|
|
106
106
|
option_default
|
|
107
107
|
} from "./chunk-I2BTIELF.mjs";
|
|
108
|
-
import "./chunk-
|
|
108
|
+
import "./chunk-6MSKYREQ.mjs";
|
|
109
109
|
import "./chunk-TH32WIIV.mjs";
|
|
110
110
|
import "./chunk-T7LVKIVR.mjs";
|
|
111
111
|
import "./chunk-PWPSDXNE.mjs";
|
|
@@ -183,10 +183,10 @@ import {
|
|
|
183
183
|
} from "./chunk-ABTLCSFA.mjs";
|
|
184
184
|
import {
|
|
185
185
|
Modal_default
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-GY2RSUAJ.mjs";
|
|
187
187
|
import {
|
|
188
188
|
Otp_default
|
|
189
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-WRTLMWIM.mjs";
|
|
190
190
|
import "./chunk-4SALNTSX.mjs";
|
|
191
191
|
import "./chunk-W4ZBP4MY.mjs";
|
|
192
192
|
import "./chunk-M4LDYIT7.mjs";
|
|
@@ -276,7 +276,7 @@ import {
|
|
|
276
276
|
import {
|
|
277
277
|
Checkbox_default
|
|
278
278
|
} from "./chunk-S76GK7PI.mjs";
|
|
279
|
-
import "./chunk-
|
|
279
|
+
import "./chunk-PZYSTPFC.mjs";
|
|
280
280
|
import "./chunk-FPP2TUF5.mjs";
|
|
281
281
|
import {
|
|
282
282
|
ButtonList_default
|
|
@@ -317,7 +317,7 @@ import {
|
|
|
317
317
|
} from "./chunk-62D2ZNLD.mjs";
|
|
318
318
|
import {
|
|
319
319
|
Breadcrumb_default
|
|
320
|
-
} from "./chunk-
|
|
320
|
+
} from "./chunk-IOHOQM2G.mjs";
|
|
321
321
|
import "./chunk-WRDU327E.mjs";
|
|
322
322
|
import {
|
|
323
323
|
Badge_default
|
|
@@ -351,11 +351,11 @@ import {
|
|
|
351
351
|
} from "./chunk-TB5FNQJR.mjs";
|
|
352
352
|
import {
|
|
353
353
|
AutoComplete_default
|
|
354
|
-
} from "./chunk-
|
|
354
|
+
} from "./chunk-JYONTZJI.mjs";
|
|
355
355
|
import "./chunk-MB3N2M2K.mjs";
|
|
356
356
|
import {
|
|
357
357
|
Input_default
|
|
358
|
-
} from "./chunk-
|
|
358
|
+
} from "./chunk-WCYJXOFQ.mjs";
|
|
359
359
|
import "./chunk-GRGNRLCK.mjs";
|
|
360
360
|
import "./chunk-VOIEK4BP.mjs";
|
|
361
361
|
import "./chunk-BVZWKYND.mjs";
|
|
@@ -449,6 +449,7 @@ import {
|
|
|
449
449
|
CardImageSize
|
|
450
450
|
} from "./chunk-OYMGXPMZ.mjs";
|
|
451
451
|
import "./chunk-CJSVEY7Z.mjs";
|
|
452
|
+
import "./chunk-CZXKYMNG.mjs";
|
|
452
453
|
import {
|
|
453
454
|
BoxItemSize
|
|
454
455
|
} from "./chunk-BW2X3JP2.mjs";
|
package/lib/index.native.js
CHANGED