@12-apps/discounts 1.6.0 → 1.7.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@12-apps/discounts",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "The discount/promotion domain: a host-agnostic evaluator (percentage or fixed amount, order/category/item scope, automatic or coupon-triggered, stacking and exclusivity, integer-cent allocation) plus the admin CRUD surface as wiring-contract route descriptors over a store port. No database, no framework, no baked user copy.",
|
|
6
6
|
"exports": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@12-apps/app-shell": "^5.2.0",
|
|
32
32
|
"@12-apps/forms-core": "^1.20.0",
|
|
33
33
|
"@12-apps/shared-helpers": "^2.0.2",
|
|
34
|
-
"@12-apps/ui": "^6.
|
|
34
|
+
"@12-apps/ui": "^6.7.0",
|
|
35
35
|
"@mui/icons-material": "^6.5.0",
|
|
36
36
|
"zod": "^4.3.5"
|
|
37
37
|
},
|
package/src/react/copy.ts
CHANGED
|
@@ -243,6 +243,8 @@ export interface DiscountsActionsCopy {
|
|
|
243
243
|
readonly deleteFailed: string;
|
|
244
244
|
/** The shared snackbar's heading, over whatever an action reported. */
|
|
245
245
|
readonly actionFailed: string;
|
|
246
|
+
/** The dismiss on that failure's toast — a glyph with no visible label. */
|
|
247
|
+
readonly actionFailedDismiss: string;
|
|
246
248
|
}
|
|
247
249
|
|
|
248
250
|
/** The two card layouts. */
|
package/src/react/pt-BR.ts
CHANGED
|
@@ -163,6 +163,7 @@ export const PT_BR_DISCOUNTS_WEB_COPY: DiscountsWebCopy = {
|
|
|
163
163
|
deleteManyDescription: "Deixam de valer na vitrine e não podem ser restaurados.",
|
|
164
164
|
deleteFailed: "Não foi possível excluir o desconto.",
|
|
165
165
|
actionFailed: "Não foi possível concluir a ação",
|
|
166
|
+
actionFailedDismiss: "Fechar o aviso",
|
|
166
167
|
},
|
|
167
168
|
card: {
|
|
168
169
|
paused: "Pausado",
|