@trilogy-ds/react 0.0.11-esm-cjs → 0.0.12-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-XS7CR5NW.mjs → chunk-5T6J3A25.mjs} +1 -1
- package/lib/{chunk-SZJMEVMK.mjs → chunk-6MSKYREQ.mjs} +1 -1
- package/lib/{chunk-JPMJP4FB.mjs → chunk-FJVGHDVY.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-RAOQI2YA.mjs → chunk-JYONTZJI.mjs} +1 -1
- package/lib/{chunk-GDOGTFV3.mjs → chunk-WCYJXOFQ.mjs} +2 -2
- package/lib/{chunk-LT76X7QI.mjs → chunk-WRTLMWIM.mjs} +4 -4
- package/lib/{chunk-3LYZFW3D.mjs → chunk-ZRFCXFJ5.mjs} +1 -1
- 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/index.js +10 -10
- package/lib/components/index.mjs +12 -12
- package/lib/components/index.native.mjs +1 -1
- 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 +1 -1
- package/lib/components/modal/index.js +2 -2
- package/lib/components/modal/index.mjs +1 -1
- 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/timeline/index.mjs +5 -5
- package/lib/components/timeline/index.native.mjs +1 -1
- package/lib/components/timeline/item/index.mjs +1 -1
- 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 +14 -14
- package/lib/index.native.js +1 -1
- package/lib/index.native.mjs +3 -3
- 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
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZB4OWTDD.mjs";
|
|
14
14
|
|
|
15
15
|
// components/modal/Modal.tsx
|
|
16
|
-
import
|
|
16
|
+
import { modalLocale } from "@trilogy-ds/locales";
|
|
17
17
|
import clsx from "clsx";
|
|
18
18
|
import React, { useCallback, useEffect, useId, useRef, useState } from "react";
|
|
19
19
|
var Modal = React.forwardRef(
|
|
@@ -121,7 +121,7 @@ var Modal = React.forwardRef(
|
|
|
121
121
|
className: hashClass(styled, clsx("modal-close", is("large"))),
|
|
122
122
|
type: "button" /* BUTTON */
|
|
123
123
|
},
|
|
124
|
-
/* @__PURE__ */ React.createElement("span", { className: hashClass(styled, clsx("sr-only")) },
|
|
124
|
+
/* @__PURE__ */ React.createElement("span", { className: hashClass(styled, clsx("sr-only")) }, modalLocale.accessibilityLabelButtonClose)
|
|
125
125
|
), /* @__PURE__ */ React.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
126
126
|
));
|
|
127
127
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-ZB4OWTDD.mjs";
|
|
8
8
|
|
|
9
9
|
// components/breadcrumb/Breadcrumb.tsx
|
|
10
|
-
import
|
|
10
|
+
import { breadcrumbLocale } from "@trilogy-ds/locales";
|
|
11
11
|
import clsx from "clsx";
|
|
12
12
|
import * as React from "react";
|
|
13
13
|
var Breadcrumb = React.forwardRef(
|
|
@@ -20,7 +20,7 @@ var Breadcrumb = React.forwardRef(
|
|
|
20
20
|
id,
|
|
21
21
|
role: "navigation",
|
|
22
22
|
className: hashClass(styled, clsx("breadcrumb", className)),
|
|
23
|
-
"aria-label":
|
|
23
|
+
"aria-label": breadcrumbLocale.accessibilityLabel,
|
|
24
24
|
...others
|
|
25
25
|
},
|
|
26
26
|
/* @__PURE__ */ React.createElement("ul", null, children)
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-ZB4OWTDD.mjs";
|
|
21
21
|
|
|
22
22
|
// components/input/Input.tsx
|
|
23
|
-
import
|
|
23
|
+
import { inputLocale } from "@trilogy-ds/locales";
|
|
24
24
|
import clsx from "clsx";
|
|
25
25
|
import React, { useCallback, useEffect, useId, useState } from "react";
|
|
26
26
|
var Input = React.forwardRef(
|
|
@@ -227,7 +227,7 @@ var Input = React.forwardRef(
|
|
|
227
227
|
IconWrapper,
|
|
228
228
|
{
|
|
229
229
|
showPassword: true,
|
|
230
|
-
srOnly: !isShowPwd ?
|
|
230
|
+
srOnly: !isShowPwd ? inputLocale.showPassword : inputLocale.hidePassword,
|
|
231
231
|
className: "icon-right",
|
|
232
232
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
233
233
|
onPress: () => {
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-ZB4OWTDD.mjs";
|
|
14
14
|
|
|
15
15
|
// components/otp/Otp.tsx
|
|
16
|
-
import
|
|
16
|
+
import { otpLocale } from "@trilogy-ds/locales";
|
|
17
17
|
import clsx from "clsx";
|
|
18
18
|
import React, { useEffect, useRef, useState } from "react";
|
|
19
19
|
var stringToCode = (str, codeSize) => {
|
|
@@ -69,8 +69,8 @@ var inputOnKeyUp = (e) => {
|
|
|
69
69
|
focusToNextInput(target);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
var formatTranslation = (
|
|
73
|
-
return
|
|
72
|
+
var formatTranslation = (translation, x, y) => {
|
|
73
|
+
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
74
74
|
};
|
|
75
75
|
var Otp = React.forwardRef(
|
|
76
76
|
({
|
|
@@ -158,7 +158,7 @@ var Otp = React.forwardRef(
|
|
|
158
158
|
onFocus: inputOnFocus,
|
|
159
159
|
onChange: (e) => inputOnChange(e, idx),
|
|
160
160
|
disabled,
|
|
161
|
-
title: formatTranslation(
|
|
161
|
+
title: formatTranslation(otpLocale.inputTitle, String(idx + 1), String(length)),
|
|
162
162
|
...others
|
|
163
163
|
}
|
|
164
164
|
))
|
|
@@ -38,7 +38,7 @@ var import_clsx7 = __toESM(require("clsx"));
|
|
|
38
38
|
var import_react7 = __toESM(require("react"));
|
|
39
39
|
|
|
40
40
|
// components/input/Input.tsx
|
|
41
|
-
var
|
|
41
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
42
42
|
var import_clsx4 = __toESM(require("clsx"));
|
|
43
43
|
var import_react6 = __toESM(require("react"));
|
|
44
44
|
|
|
@@ -662,7 +662,7 @@ var Input = import_react6.default.forwardRef(
|
|
|
662
662
|
IconWrapper,
|
|
663
663
|
{
|
|
664
664
|
showPassword: true,
|
|
665
|
-
srOnly: !isShowPwd ?
|
|
665
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
666
666
|
className: "icon-right",
|
|
667
667
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
668
668
|
onPress: () => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
AutoComplete_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-JYONTZJI.mjs";
|
|
5
5
|
import "../../chunk-MB3N2M2K.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-WCYJXOFQ.mjs";
|
|
7
7
|
import "../../chunk-GRGNRLCK.mjs";
|
|
8
8
|
import "../../chunk-VOIEK4BP.mjs";
|
|
9
9
|
import "../../chunk-BVZWKYND.mjs";
|
|
@@ -42,7 +42,7 @@ var import_clsx7 = __toESM(require("clsx"));
|
|
|
42
42
|
var import_react7 = __toESM(require("react"));
|
|
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: () => {
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import "../../chunk-JPW6HLPE.mjs";
|
|
3
3
|
import {
|
|
4
4
|
AutoComplete_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-JYONTZJI.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";
|
|
@@ -60,7 +60,7 @@ var hashClass = (addHash = false, classes) => {
|
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
// components/breadcrumb/Breadcrumb.tsx
|
|
63
|
-
var
|
|
63
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
64
64
|
var import_clsx = __toESM(require("clsx"));
|
|
65
65
|
var React2 = __toESM(require("react"));
|
|
66
66
|
var Breadcrumb = React2.forwardRef(
|
|
@@ -73,7 +73,7 @@ var Breadcrumb = React2.forwardRef(
|
|
|
73
73
|
id,
|
|
74
74
|
role: "navigation",
|
|
75
75
|
className: hashClass(styled, (0, import_clsx.default)("breadcrumb", className)),
|
|
76
|
-
"aria-label":
|
|
76
|
+
"aria-label": import_locales.breadcrumbLocale.accessibilityLabel,
|
|
77
77
|
...others
|
|
78
78
|
},
|
|
79
79
|
/* @__PURE__ */ React2.createElement("ul", null, children)
|
|
@@ -61,7 +61,7 @@ var hashClass = (addHash = false, classes) => {
|
|
|
61
61
|
};
|
|
62
62
|
|
|
63
63
|
// components/breadcrumb/Breadcrumb.tsx
|
|
64
|
-
var
|
|
64
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
65
65
|
var import_clsx = __toESM(require("clsx"));
|
|
66
66
|
var React2 = __toESM(require("react"));
|
|
67
67
|
var Breadcrumb = React2.forwardRef(
|
|
@@ -74,7 +74,7 @@ var Breadcrumb = React2.forwardRef(
|
|
|
74
74
|
id,
|
|
75
75
|
role: "navigation",
|
|
76
76
|
className: hashClass(styled, (0, import_clsx.default)("breadcrumb", className)),
|
|
77
|
-
"aria-label":
|
|
77
|
+
"aria-label": import_locales.breadcrumbLocale.accessibilityLabel,
|
|
78
78
|
...others
|
|
79
79
|
},
|
|
80
80
|
/* @__PURE__ */ React2.createElement("ul", null, children)
|
|
@@ -8,7 +8,7 @@ import "../../chunk-CRKTC32Z.mjs";
|
|
|
8
8
|
import "../../chunk-62D2ZNLD.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Breadcrumb_default
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-IOHOQM2G.mjs";
|
|
12
12
|
import "../../chunk-YYWCL3GN.mjs";
|
|
13
13
|
import "../../chunk-SGAZRZIK.mjs";
|
|
14
14
|
import "../../chunk-WC3ULY5W.mjs";
|
package/lib/components/index.js
CHANGED
|
@@ -996,7 +996,7 @@ var import_clsx13 = __toESM(require("clsx"));
|
|
|
996
996
|
var import_react11 = __toESM(require("react"));
|
|
997
997
|
|
|
998
998
|
// components/input/Input.tsx
|
|
999
|
-
var
|
|
999
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
1000
1000
|
var import_clsx10 = __toESM(require("clsx"));
|
|
1001
1001
|
var import_react10 = __toESM(require("react"));
|
|
1002
1002
|
|
|
@@ -1574,7 +1574,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
1574
1574
|
IconWrapper,
|
|
1575
1575
|
{
|
|
1576
1576
|
showPassword: true,
|
|
1577
|
-
srOnly: !isShowPwd ?
|
|
1577
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
1578
1578
|
className: "icon-right",
|
|
1579
1579
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
1580
1580
|
onPress: () => {
|
|
@@ -2224,7 +2224,7 @@ var BoxItemSize = ((BoxItemSize2) => {
|
|
|
2224
2224
|
var item_default2 = BoxItem_default;
|
|
2225
2225
|
|
|
2226
2226
|
// components/breadcrumb/Breadcrumb.tsx
|
|
2227
|
-
var
|
|
2227
|
+
var import_locales2 = require("@trilogy-ds/locales");
|
|
2228
2228
|
var import_clsx21 = __toESM(require("clsx"));
|
|
2229
2229
|
var React27 = __toESM(require("react"));
|
|
2230
2230
|
var Breadcrumb = React27.forwardRef(
|
|
@@ -2237,7 +2237,7 @@ var Breadcrumb = React27.forwardRef(
|
|
|
2237
2237
|
id,
|
|
2238
2238
|
role: "navigation",
|
|
2239
2239
|
className: hashClass(styled, (0, import_clsx21.default)("breadcrumb", className)),
|
|
2240
|
-
"aria-label":
|
|
2240
|
+
"aria-label": import_locales2.breadcrumbLocale.accessibilityLabel,
|
|
2241
2241
|
...others
|
|
2242
2242
|
},
|
|
2243
2243
|
/* @__PURE__ */ React27.createElement("ul", null, children)
|
|
@@ -3374,7 +3374,7 @@ var ListIconStatus = /* @__PURE__ */ ((ListIconStatus2) => {
|
|
|
3374
3374
|
})(ListIconStatus || {});
|
|
3375
3375
|
|
|
3376
3376
|
// components/modal/Modal.tsx
|
|
3377
|
-
var
|
|
3377
|
+
var import_locales3 = require("@trilogy-ds/locales");
|
|
3378
3378
|
var import_clsx49 = __toESM(require("clsx"));
|
|
3379
3379
|
var import_react29 = __toESM(require("react"));
|
|
3380
3380
|
var Modal = import_react29.default.forwardRef(
|
|
@@ -3482,7 +3482,7 @@ var Modal = import_react29.default.forwardRef(
|
|
|
3482
3482
|
className: hashClass(styled, (0, import_clsx49.default)("modal-close", is("large"))),
|
|
3483
3483
|
type: "button" /* BUTTON */
|
|
3484
3484
|
},
|
|
3485
|
-
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0, import_clsx49.default)("sr-only")) },
|
|
3485
|
+
/* @__PURE__ */ import_react29.default.createElement("span", { className: hashClass(styled, (0, import_clsx49.default)("sr-only")) }, import_locales3.modalLocale.accessibilityLabelButtonClose)
|
|
3486
3486
|
), /* @__PURE__ */ import_react29.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
3487
3487
|
));
|
|
3488
3488
|
}
|
|
@@ -3541,7 +3541,7 @@ var ModalSize = /* @__PURE__ */ ((ModalSize2) => {
|
|
|
3541
3541
|
})(ModalSize || {});
|
|
3542
3542
|
|
|
3543
3543
|
// components/otp/Otp.tsx
|
|
3544
|
-
var
|
|
3544
|
+
var import_locales4 = require("@trilogy-ds/locales");
|
|
3545
3545
|
var import_clsx52 = __toESM(require("clsx"));
|
|
3546
3546
|
var import_react30 = __toESM(require("react"));
|
|
3547
3547
|
var stringToCode = (str, codeSize) => {
|
|
@@ -3597,8 +3597,8 @@ var inputOnKeyUp = (e) => {
|
|
|
3597
3597
|
focusToNextInput(target);
|
|
3598
3598
|
}
|
|
3599
3599
|
};
|
|
3600
|
-
var formatTranslation = (
|
|
3601
|
-
return
|
|
3600
|
+
var formatTranslation = (translation, x, y) => {
|
|
3601
|
+
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
3602
3602
|
};
|
|
3603
3603
|
var Otp = import_react30.default.forwardRef(
|
|
3604
3604
|
({
|
|
@@ -3686,7 +3686,7 @@ var Otp = import_react30.default.forwardRef(
|
|
|
3686
3686
|
onFocus: inputOnFocus,
|
|
3687
3687
|
onChange: (e) => inputOnChange(e, idx),
|
|
3688
3688
|
disabled,
|
|
3689
|
-
title: formatTranslation(
|
|
3689
|
+
title: formatTranslation(import_locales4.otpLocale.inputTitle, String(idx + 1), String(length)),
|
|
3690
3690
|
...others
|
|
3691
3691
|
}
|
|
3692
3692
|
))
|
package/lib/components/index.mjs
CHANGED
|
@@ -9,20 +9,20 @@ import {
|
|
|
9
9
|
} from "../chunk-EFIZDE7C.mjs";
|
|
10
10
|
import "../chunk-NYE5UI2T.mjs";
|
|
11
11
|
import "../chunk-OBANZQ7B.mjs";
|
|
12
|
+
import {
|
|
13
|
+
marker_default
|
|
14
|
+
} from "../chunk-YLNTACMP.mjs";
|
|
12
15
|
import {
|
|
13
16
|
item_default as item_default5
|
|
14
17
|
} from "../chunk-EOGM64YO.mjs";
|
|
18
|
+
import "../chunk-DXSXX5ZX.mjs";
|
|
15
19
|
import "../chunk-3DQLCET2.mjs";
|
|
16
|
-
import {
|
|
17
|
-
marker_default
|
|
18
|
-
} from "../chunk-YLNTACMP.mjs";
|
|
19
|
-
import "../chunk-6NWZNU3P.mjs";
|
|
20
20
|
import {
|
|
21
21
|
content_default as content_default3
|
|
22
22
|
} from "../chunk-BUHGINEV.mjs";
|
|
23
23
|
import "../chunk-LKS2SY52.mjs";
|
|
24
24
|
import "../chunk-GKIGKRVW.mjs";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-6NWZNU3P.mjs";
|
|
26
26
|
import {
|
|
27
27
|
Timeline_default
|
|
28
28
|
} from "../chunk-3EEOOLVU.mjs";
|
|
@@ -96,11 +96,11 @@ import {
|
|
|
96
96
|
} from "../chunk-22ZF6KCV.mjs";
|
|
97
97
|
import {
|
|
98
98
|
Select_default
|
|
99
|
-
} from "../chunk-
|
|
99
|
+
} from "../chunk-5T6J3A25.mjs";
|
|
100
100
|
import {
|
|
101
101
|
option_default
|
|
102
102
|
} from "../chunk-I2BTIELF.mjs";
|
|
103
|
-
import "../chunk-
|
|
103
|
+
import "../chunk-6MSKYREQ.mjs";
|
|
104
104
|
import "../chunk-TH32WIIV.mjs";
|
|
105
105
|
import "../chunk-T7LVKIVR.mjs";
|
|
106
106
|
import "../chunk-PWPSDXNE.mjs";
|
|
@@ -178,10 +178,10 @@ import {
|
|
|
178
178
|
} from "../chunk-ABTLCSFA.mjs";
|
|
179
179
|
import {
|
|
180
180
|
Modal_default
|
|
181
|
-
} from "../chunk-
|
|
181
|
+
} from "../chunk-GY2RSUAJ.mjs";
|
|
182
182
|
import {
|
|
183
183
|
Otp_default
|
|
184
|
-
} from "../chunk-
|
|
184
|
+
} from "../chunk-WRTLMWIM.mjs";
|
|
185
185
|
import "../chunk-4SALNTSX.mjs";
|
|
186
186
|
import "../chunk-W4ZBP4MY.mjs";
|
|
187
187
|
import "../chunk-M4LDYIT7.mjs";
|
|
@@ -312,7 +312,7 @@ import {
|
|
|
312
312
|
} from "../chunk-62D2ZNLD.mjs";
|
|
313
313
|
import {
|
|
314
314
|
Breadcrumb_default
|
|
315
|
-
} from "../chunk-
|
|
315
|
+
} from "../chunk-IOHOQM2G.mjs";
|
|
316
316
|
import "../chunk-WRDU327E.mjs";
|
|
317
317
|
import {
|
|
318
318
|
Badge_default
|
|
@@ -346,11 +346,11 @@ import {
|
|
|
346
346
|
} from "../chunk-TB5FNQJR.mjs";
|
|
347
347
|
import {
|
|
348
348
|
AutoComplete_default
|
|
349
|
-
} from "../chunk-
|
|
349
|
+
} from "../chunk-JYONTZJI.mjs";
|
|
350
350
|
import "../chunk-MB3N2M2K.mjs";
|
|
351
351
|
import {
|
|
352
352
|
Input_default
|
|
353
|
-
} from "../chunk-
|
|
353
|
+
} from "../chunk-WCYJXOFQ.mjs";
|
|
354
354
|
import "../chunk-GRGNRLCK.mjs";
|
|
355
355
|
import "../chunk-VOIEK4BP.mjs";
|
|
356
356
|
import "../chunk-BVZWKYND.mjs";
|
|
@@ -5,10 +5,10 @@ import "../chunk-WJ66MCM5.mjs";
|
|
|
5
5
|
import {
|
|
6
6
|
index_native_default as index_native_default3
|
|
7
7
|
} from "../chunk-MWQQD27H.mjs";
|
|
8
|
-
import "../chunk-Y4ZMPV3Q.mjs";
|
|
9
8
|
import {
|
|
10
9
|
TimelineContent_native_default
|
|
11
10
|
} from "../chunk-3U2THTWL.mjs";
|
|
11
|
+
import "../chunk-Y4ZMPV3Q.mjs";
|
|
12
12
|
import {
|
|
13
13
|
TimelineItem_native_default
|
|
14
14
|
} from "../chunk-JDN37IEF.mjs";
|
|
@@ -34,7 +34,7 @@ __export(Input_exports, {
|
|
|
34
34
|
default: () => Input_default
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(Input_exports);
|
|
37
|
-
var
|
|
37
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
38
38
|
var import_clsx4 = __toESM(require("clsx"));
|
|
39
39
|
var import_react6 = __toESM(require("react"));
|
|
40
40
|
|
|
@@ -658,7 +658,7 @@ var Input = import_react6.default.forwardRef(
|
|
|
658
658
|
IconWrapper,
|
|
659
659
|
{
|
|
660
660
|
showPassword: true,
|
|
661
|
-
srOnly: !isShowPwd ?
|
|
661
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
662
662
|
className: "icon-right",
|
|
663
663
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
664
664
|
onPress: () => {
|
|
@@ -43,7 +43,7 @@ __export(input_exports, {
|
|
|
43
43
|
module.exports = __toCommonJS(input_exports);
|
|
44
44
|
|
|
45
45
|
// components/input/Input.tsx
|
|
46
|
-
var
|
|
46
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
47
47
|
var import_clsx4 = __toESM(require("clsx"));
|
|
48
48
|
var import_react6 = __toESM(require("react"));
|
|
49
49
|
|
|
@@ -803,7 +803,7 @@ var Input = import_react6.default.forwardRef(
|
|
|
803
803
|
IconWrapper,
|
|
804
804
|
{
|
|
805
805
|
showPassword: true,
|
|
806
|
-
srOnly: !isShowPwd ?
|
|
806
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
807
807
|
className: "icon-right",
|
|
808
808
|
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
809
809
|
onPress: () => {
|
|
@@ -446,7 +446,7 @@ Title.displayName = "Title" /* Title */;
|
|
|
446
446
|
var Title_default = Title;
|
|
447
447
|
|
|
448
448
|
// components/modal/Modal.tsx
|
|
449
|
-
var
|
|
449
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
450
450
|
var import_clsx5 = __toESM(require("clsx"));
|
|
451
451
|
var import_react5 = __toESM(require("react"));
|
|
452
452
|
var Modal = import_react5.default.forwardRef(
|
|
@@ -554,7 +554,7 @@ var Modal = import_react5.default.forwardRef(
|
|
|
554
554
|
className: hashClass(styled, (0, import_clsx5.default)("modal-close", is("large"))),
|
|
555
555
|
type: "button" /* BUTTON */
|
|
556
556
|
},
|
|
557
|
-
/* @__PURE__ */ import_react5.default.createElement("span", { className: hashClass(styled, (0, import_clsx5.default)("sr-only")) },
|
|
557
|
+
/* @__PURE__ */ import_react5.default.createElement("span", { className: hashClass(styled, (0, import_clsx5.default)("sr-only")) }, import_locales.modalLocale.accessibilityLabelButtonClose)
|
|
558
558
|
), /* @__PURE__ */ import_react5.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
559
559
|
));
|
|
560
560
|
}
|
|
@@ -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
|
}
|
|
@@ -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,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-OBANZQ7B.mjs";
|
|
3
|
+
import {
|
|
4
|
+
marker_default
|
|
5
|
+
} from "../../chunk-YLNTACMP.mjs";
|
|
3
6
|
import {
|
|
4
7
|
item_default
|
|
5
8
|
} from "../../chunk-EOGM64YO.mjs";
|
|
9
|
+
import "../../chunk-DXSXX5ZX.mjs";
|
|
6
10
|
import "../../chunk-3DQLCET2.mjs";
|
|
7
|
-
import {
|
|
8
|
-
marker_default
|
|
9
|
-
} from "../../chunk-YLNTACMP.mjs";
|
|
10
|
-
import "../../chunk-6NWZNU3P.mjs";
|
|
11
11
|
import {
|
|
12
12
|
content_default
|
|
13
13
|
} from "../../chunk-BUHGINEV.mjs";
|
|
14
14
|
import "../../chunk-LKS2SY52.mjs";
|
|
15
15
|
import "../../chunk-GKIGKRVW.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-6NWZNU3P.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Timeline_default
|
|
19
19
|
} from "../../chunk-3EEOOLVU.mjs";
|
|
@@ -3,10 +3,10 @@ import "../../chunk-WJ66MCM5.mjs";
|
|
|
3
3
|
import {
|
|
4
4
|
index_native_default
|
|
5
5
|
} from "../../chunk-MWQQD27H.mjs";
|
|
6
|
-
import "../../chunk-Y4ZMPV3Q.mjs";
|
|
7
6
|
import {
|
|
8
7
|
TimelineContent_native_default
|
|
9
8
|
} from "../../chunk-3U2THTWL.mjs";
|
|
9
|
+
import "../../chunk-Y4ZMPV3Q.mjs";
|
|
10
10
|
import {
|
|
11
11
|
TimelineItem_native_default
|
|
12
12
|
} from "../../chunk-JDN37IEF.mjs";
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
item_default
|
|
4
4
|
} from "../../../chunk-EOGM64YO.mjs";
|
|
5
|
-
import "../../../chunk-3DQLCET2.mjs";
|
|
6
5
|
import "../../../chunk-DXSXX5ZX.mjs";
|
|
6
|
+
import "../../../chunk-3DQLCET2.mjs";
|
|
7
7
|
import "../../../chunk-Y7CEUBIZ.mjs";
|
|
8
8
|
import "../../../chunk-HU3FAWMX.mjs";
|
|
9
9
|
import "../../../chunk-ODKCJMCG.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
TrilogyProvider
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-FJVGHDVY.mjs";
|
|
5
5
|
import "../../chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-ZRFCXFJ5.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.12-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-FJVGHDVY.mjs";
|
|
5
5
|
import "../../chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-ZRFCXFJ5.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.12-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-FJVGHDVY.mjs";
|
|
5
5
|
import "./chunk-RZQA2M2N.mjs";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-ZRFCXFJ5.mjs";
|
|
7
7
|
import "./chunk-GBY3HXT4.mjs";
|
|
8
8
|
import "./chunk-56PSJEFR.mjs";
|
|
9
9
|
import {
|
|
@@ -14,20 +14,20 @@ import {
|
|
|
14
14
|
} from "./chunk-EFIZDE7C.mjs";
|
|
15
15
|
import "./chunk-NYE5UI2T.mjs";
|
|
16
16
|
import "./chunk-OBANZQ7B.mjs";
|
|
17
|
+
import {
|
|
18
|
+
marker_default
|
|
19
|
+
} from "./chunk-YLNTACMP.mjs";
|
|
17
20
|
import {
|
|
18
21
|
item_default as item_default5
|
|
19
22
|
} from "./chunk-EOGM64YO.mjs";
|
|
23
|
+
import "./chunk-DXSXX5ZX.mjs";
|
|
20
24
|
import "./chunk-3DQLCET2.mjs";
|
|
21
|
-
import {
|
|
22
|
-
marker_default
|
|
23
|
-
} from "./chunk-YLNTACMP.mjs";
|
|
24
|
-
import "./chunk-6NWZNU3P.mjs";
|
|
25
25
|
import {
|
|
26
26
|
content_default as content_default3
|
|
27
27
|
} from "./chunk-BUHGINEV.mjs";
|
|
28
28
|
import "./chunk-LKS2SY52.mjs";
|
|
29
29
|
import "./chunk-GKIGKRVW.mjs";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-6NWZNU3P.mjs";
|
|
31
31
|
import {
|
|
32
32
|
Timeline_default
|
|
33
33
|
} from "./chunk-3EEOOLVU.mjs";
|
|
@@ -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";
|
|
@@ -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";
|
package/lib/index.native.js
CHANGED
package/lib/index.native.mjs
CHANGED
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
import "./chunk-G2DDP7FD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
TrilogyProvider
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FJVGHDVY.mjs";
|
|
10
10
|
import "./chunk-RZQA2M2N.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ZRFCXFJ5.mjs";
|
|
12
12
|
import "./chunk-S3BT5JEK.mjs";
|
|
13
13
|
import "./chunk-7ALJ5SBS.mjs";
|
|
14
14
|
import "./chunk-WJ66MCM5.mjs";
|
|
15
15
|
import {
|
|
16
16
|
index_native_default as index_native_default3
|
|
17
17
|
} from "./chunk-MWQQD27H.mjs";
|
|
18
|
-
import "./chunk-Y4ZMPV3Q.mjs";
|
|
19
18
|
import {
|
|
20
19
|
TimelineContent_native_default
|
|
21
20
|
} from "./chunk-3U2THTWL.mjs";
|
|
21
|
+
import "./chunk-Y4ZMPV3Q.mjs";
|
|
22
22
|
import {
|
|
23
23
|
TimelineItem_native_default
|
|
24
24
|
} from "./chunk-JDN37IEF.mjs";
|
package/lib/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.12-esm-cjs";
|
package/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.0.
|
|
1
|
+
export declare const version = "0.0.12-esm-cjs";
|
package/lib/version.js
CHANGED
|
@@ -24,7 +24,7 @@ __export(version_exports, {
|
|
|
24
24
|
version: () => version
|
|
25
25
|
});
|
|
26
26
|
module.exports = __toCommonJS(version_exports);
|
|
27
|
-
var version = "0.0.
|
|
27
|
+
var version = "0.0.12-esm-cjs";
|
|
28
28
|
// Annotate the CommonJS export names for ESM import in node:
|
|
29
29
|
0 && (module.exports = {
|
|
30
30
|
version
|
package/lib/version.mjs
CHANGED