@tesouro/embedded-components-react 0.8.0 → 0.8.1

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.
@@ -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.8.0", n = "5f0635c031287e1630715269006e9dfd5bf7549a", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.8.1", n = "302b389e6cc57ba3fedd823376be9d4d42f7fb52", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
@@ -54,12 +54,12 @@ var a = {
54
54
  cancelAction: "Cancel edit",
55
55
  emptyText: "No measure units yet."
56
56
  }, o = {
57
- titleNoItems: "Delete “{name}” unit?",
58
- titleWithItems: "Delete “{name}” unit and associated items?",
57
+ titleNoItems: "Delete \"{name}\"?",
58
+ titleWithItems: "Delete \"{name}\"?",
59
59
  messageNoItems: "There are no items created with this measure unit.",
60
60
  messageNoItemsHint: "Deleting it won't affect your items.",
61
- messageWithItems: "All items with this measure unit will get deleted, too.",
62
- messageWithItemsHint: "Please, check the list of products and services that will get deleted:",
61
+ messageWithItems: "Any products or services referencing this unit will update to use a blank unit of measure.",
62
+ messageWithItemsHint: "Previously issued invoices will not be impacted.",
63
63
  confirmButton: "Delete",
64
64
  cancelButton: "Cancel"
65
65
  }, s = {
@@ -24,10 +24,10 @@ function h({ open: h, onOpenChange: g, unitName: _, affectedProducts: v, isLoadi
24
24
  children: /* @__PURE__ */ p(c, { children: /* @__PURE__ */ p(l, { children: v.map((e) => /* @__PURE__ */ m(d, {
25
25
  className: "ttw:border-border ttw:hover:bg-transparent",
26
26
  children: [/* @__PURE__ */ p(u, {
27
- className: "ttw:pl-0 ttw:whitespace-normal ttw:text-text ttw:font-medium",
27
+ className: "ttw:pl-4 ttw:whitespace-normal ttw:text-text ttw:font-medium",
28
28
  children: e.name
29
29
  }), /* @__PURE__ */ p(u, {
30
- className: "ttw:pr-0 ttw:text-right ttw:text-text ttw:font-medium",
30
+ className: "ttw:pr-4 ttw:text-right ttw:text-text ttw:font-medium",
31
31
  children: e.priceLabel
32
32
  })]
33
33
  }, e.id)) }) })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [