@tesouro/embedded-components-react 0.2.245 → 0.2.247
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/index.css +15 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/ui/dist/lib/CardDetailsPanel/CardDetailsPanel.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index7.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/gl-code-table-widget/ui/dist/index3.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/team-widget/ui/dist/index12.js +4 -2
- package/dist/packages/shared-ui-shadcn/dist/index.js +3203 -3143
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -1111,6 +1111,9 @@
|
|
|
1111
1111
|
.ttw\:w-180 {
|
|
1112
1112
|
width: calc(var(--ttw-spacing) * 180);
|
|
1113
1113
|
}
|
|
1114
|
+
.ttw\:w-560 {
|
|
1115
|
+
width: calc(var(--ttw-spacing) * 560);
|
|
1116
|
+
}
|
|
1114
1117
|
.ttw\:w-\[4\.5rem\] {
|
|
1115
1118
|
width: 4.5rem;
|
|
1116
1119
|
}
|
|
@@ -1474,6 +1477,9 @@
|
|
|
1474
1477
|
.ttw\:origin-center {
|
|
1475
1478
|
transform-origin: center;
|
|
1476
1479
|
}
|
|
1480
|
+
.ttw\:origin-top {
|
|
1481
|
+
transform-origin: top;
|
|
1482
|
+
}
|
|
1477
1483
|
.ttw\:-translate-1\/2 {
|
|
1478
1484
|
--tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
1479
1485
|
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
@@ -2924,6 +2930,9 @@
|
|
|
2924
2930
|
.ttw\:align-top {
|
|
2925
2931
|
vertical-align: top;
|
|
2926
2932
|
}
|
|
2933
|
+
.ttw\:font-\[inherit\] {
|
|
2934
|
+
font-family: inherit;
|
|
2935
|
+
}
|
|
2927
2936
|
.ttw\:font-mono {
|
|
2928
2937
|
font-family: var(--ttw-font-mono);
|
|
2929
2938
|
}
|
|
@@ -4228,6 +4237,9 @@
|
|
|
4228
4237
|
.ttw\:hover\:bg-zinc-100:hover {
|
|
4229
4238
|
background-color: var(--ttw-color-zinc-100);
|
|
4230
4239
|
}
|
|
4240
|
+
.ttw\:hover\:bg-zinc-300:hover {
|
|
4241
|
+
background-color: var(--ttw-color-zinc-300);
|
|
4242
|
+
}
|
|
4231
4243
|
.ttw\:hover\:\!text-sidebar-accent-foreground:hover {
|
|
4232
4244
|
color: var(--ttw-sidebar-accent-foreground) !important;
|
|
4233
4245
|
}
|
|
@@ -4268,6 +4280,9 @@
|
|
|
4268
4280
|
.ttw\:hover\:text-white:hover {
|
|
4269
4281
|
color: var(--ttw-color-white);
|
|
4270
4282
|
}
|
|
4283
|
+
.ttw\:hover\:text-zinc-900:hover {
|
|
4284
|
+
color: var(--ttw-color-zinc-900);
|
|
4285
|
+
}
|
|
4271
4286
|
.ttw\:hover\:no-underline:hover {
|
|
4272
4287
|
text-decoration-line: none;
|
|
4273
4288
|
}
|
|
@@ -165,7 +165,7 @@ function f({ fields: n, labels: f, isDisabled: p, websiteInvalid: m = !1 }) {
|
|
|
165
165
|
onValueChange: (e) => {
|
|
166
166
|
n.naicsCode.onValueChange(Array.isArray(e) ? e[0] ?? "" : e);
|
|
167
167
|
},
|
|
168
|
-
placeholder: f.naicsCodePlaceholder,
|
|
168
|
+
labels: { placeholder: f.naicsCodePlaceholder },
|
|
169
169
|
disabled: p
|
|
170
170
|
})] })
|
|
171
171
|
]
|
|
@@ -86,7 +86,7 @@ function m({ labels: m, state: h, nickname: g, statusLabel: _, statusTone: v, fo
|
|
|
86
86
|
children: /* @__PURE__ */ d("div", {
|
|
87
87
|
className: "ttw:flex ttw:flex-wrap ttw:gap-2",
|
|
88
88
|
children: O?.map((t) => /* @__PURE__ */ d(e, {
|
|
89
|
-
|
|
89
|
+
variant: "secondary",
|
|
90
90
|
children: t
|
|
91
91
|
}, t))
|
|
92
92
|
})
|
|
@@ -163,7 +163,7 @@ var y = ({ values: n, approverOptions: r, validationErrors: i, isEditing: o, dis
|
|
|
163
163
|
},
|
|
164
164
|
multiple: !0,
|
|
165
165
|
multipleSeparator: l.ApproverSeparator,
|
|
166
|
-
placeholder: l.ChooseApprovers,
|
|
166
|
+
labels: { placeholder: l.ChooseApprovers },
|
|
167
167
|
disabled: m,
|
|
168
168
|
chipBackgroundColor: "#4f46e5",
|
|
169
169
|
chipTextColor: "#ffffff"
|
|
@@ -167,8 +167,10 @@ function A({ data: s, isLoading: c, isError: u, sorting: d, onSortingChange: v,
|
|
|
167
167
|
hasPrevPage: N,
|
|
168
168
|
onNextPage: P,
|
|
169
169
|
onPrevPage: F,
|
|
170
|
-
|
|
171
|
-
|
|
170
|
+
labels: {
|
|
171
|
+
previousPage: H.paginationPrev,
|
|
172
|
+
nextPage: H.paginationNext
|
|
173
|
+
},
|
|
172
174
|
children: /* @__PURE__ */ g(O, {
|
|
173
175
|
title: H.emptyPageTitle,
|
|
174
176
|
description: H.emptyPageDescription,
|
|
@@ -200,8 +202,10 @@ function A({ data: s, isLoading: c, isError: u, sorting: d, onSortingChange: v,
|
|
|
200
202
|
hasPrevPage: N,
|
|
201
203
|
onNextPage: P,
|
|
202
204
|
onPrevPage: F,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
+
labels: {
|
|
206
|
+
previousPage: H.paginationPrev,
|
|
207
|
+
nextPage: H.paginationNext
|
|
208
|
+
}
|
|
205
209
|
})] });
|
|
206
210
|
}
|
|
207
211
|
//#endregion
|
|
@@ -20,9 +20,11 @@ var g = 500, _ = (e) => {
|
|
|
20
20
|
return /* @__PURE__ */ p(e, {
|
|
21
21
|
items: b,
|
|
22
22
|
value: o?.value ?? "",
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
labels: {
|
|
24
|
+
placeholder: n._("Added by"),
|
|
25
|
+
emptyMessage: n._("No users found"),
|
|
26
|
+
clearAriaLabel: n._("Clear selection")
|
|
27
|
+
},
|
|
26
28
|
onQueryChange: l,
|
|
27
29
|
onValueChange: (e) => {
|
|
28
30
|
let n = Array.isArray(e) ? e[0] ?? "" : e ?? "";
|
|
@@ -96,7 +96,7 @@ function S(S) {
|
|
|
96
96
|
selectedPreset: S.selectedDatePreset,
|
|
97
97
|
onPresetChange: S.onDatePresetChange,
|
|
98
98
|
presets: D,
|
|
99
|
-
fieldLabel: b[S.activeDateField]
|
|
99
|
+
labels: { fieldLabel: b[S.activeDateField] }
|
|
100
100
|
}),
|
|
101
101
|
w.activePanelId === "status" && /* @__PURE__ */ g(o, {
|
|
102
102
|
options: S.statusOptions,
|
|
@@ -111,8 +111,10 @@ function S(S) {
|
|
|
111
111
|
onMinChange: S.onAmountMinChange,
|
|
112
112
|
onMaxChange: S.onAmountMaxChange,
|
|
113
113
|
showFlowDirection: !1,
|
|
114
|
-
|
|
115
|
-
|
|
114
|
+
labels: {
|
|
115
|
+
min: "No less than",
|
|
116
|
+
max: "No more than"
|
|
117
|
+
}
|
|
116
118
|
}),
|
|
117
119
|
w.activePanelId === "vendor" && /* @__PURE__ */ _("div", {
|
|
118
120
|
className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2",
|
|
@@ -93,7 +93,7 @@ function b(b) {
|
|
|
93
93
|
selectedPreset: b.activeDateFields[e.field]?.preset,
|
|
94
94
|
onPresetChange: (t) => b.onDateFieldPresetChange(e.field, t),
|
|
95
95
|
presets: T,
|
|
96
|
-
fieldLabel: _[e.field]
|
|
96
|
+
labels: { fieldLabel: _[e.field] }
|
|
97
97
|
}, e.id)),
|
|
98
98
|
S.activePanelId === "status" && /* @__PURE__ */ m(o, {
|
|
99
99
|
options: b.statusOptions,
|
|
@@ -108,8 +108,10 @@ function b(b) {
|
|
|
108
108
|
onMinChange: b.onAmountMinChange,
|
|
109
109
|
onMaxChange: b.onAmountMaxChange,
|
|
110
110
|
showFlowDirection: !1,
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
labels: {
|
|
112
|
+
min: "No less than",
|
|
113
|
+
max: "No more than"
|
|
114
|
+
}
|
|
113
115
|
}),
|
|
114
116
|
S.activePanelId === "customer" && /* @__PURE__ */ h("div", {
|
|
115
117
|
className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2",
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.2.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.2.247", n = "e1f0d2840e1d252413df407dd44d2b9f786d24b0", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -45,8 +45,10 @@ function m({ open: m, isEditMode: h, name: g, onNameChange: _, options: v, selec
|
|
|
45
45
|
multiple: !0,
|
|
46
46
|
items: v,
|
|
47
47
|
value: y,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
labels: {
|
|
49
|
+
placeholder: D.membersSearchPlaceholder,
|
|
50
|
+
emptyMessage: D.membersEmptyMessage
|
|
51
|
+
},
|
|
50
52
|
onValueChange: b
|
|
51
53
|
})]
|
|
52
54
|
}),
|