@woovi/ui 6.9.8 → 7.0.2

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.
@@ -0,0 +1,21 @@
1
+ import type React from 'react';
2
+ /**
3
+ * Decides whether an Enter keydown inside a dialog should trigger the
4
+ * dialog's primary/default action.
5
+ *
6
+ * Guards (Enter is NOT hijacked when):
7
+ * - a modifier key is held (Shift/Alt/Ctrl/Meta) — e.g. Shift+Enter for newlines;
8
+ * - the IME is composing (e.g. typing accented/CJK characters);
9
+ * - focus is inside a multiline `<textarea>`, where Enter inserts a newline;
10
+ * - focus is on another actionable control (`<button>`, `<a>`, `[role="button"]`)
11
+ * or a `<select>`, so tabbing to "Cancel" and pressing Enter still cancels.
12
+ */
13
+ export declare const shouldSubmitOnEnter: (event: React.KeyboardEvent) => boolean;
14
+ /**
15
+ * Finds the primary/default action button inside a rendered dialog.
16
+ *
17
+ * By convention the actions live in MUI's `.MuiDialogActions-root` container
18
+ * with the confirm/primary button rendered LAST (e.g. `Cancel` then `Confirm`).
19
+ * Returns the last enabled button, or `null` when none is available.
20
+ */
21
+ export declare const findPrimaryDialogButton: (container: HTMLElement | null) => HTMLButtonElement | null;
package/locales/en.json CHANGED
@@ -203,6 +203,8 @@
203
203
  "to upload your data": "to upload your data",
204
204
  "to {{companyName}}": "to {{companyName}}",
205
205
  "via Pix": "via Pix",
206
+ "{{count}} items selected_one": "{{count}} item selected",
207
+ "{{count}} items selected_other": "{{count}} items selected",
206
208
  "{{count}} selected_one": "{{count}} selected",
207
209
  "{{count}} selected_other": "{{count}} selected",
208
210
  "{{finalValue}}": "{{finalValue}}"
package/locales/es.json CHANGED
@@ -204,6 +204,9 @@
204
204
  "to upload your data": "para subir tus datos",
205
205
  "to {{companyName}}": "a {{nombre de la empresa}}",
206
206
  "via Pix": "a través de Pix",
207
+ "{{count}} items selected_many": "{{count}} elementos seleccionados",
208
+ "{{count}} items selected_one": "{{count}} elemento seleccionado",
209
+ "{{count}} items selected_other": "{{count}} elementos seleccionados",
207
210
  "{{count}} selected_many": "{{count}} seleccionados_muchos",
208
211
  "{{count}} selected_one": "{{count}} seleccionado_uno",
209
212
  "{{count}} selected_other": "{{count}} seleccionado_otro",
@@ -204,6 +204,9 @@
204
204
  "to upload your data": "para enviar seus dados",
205
205
  "to {{companyName}}": "para {{nomedaempresa}}",
206
206
  "via Pix": "via Pix",
207
+ "{{count}} items selected_many": "{{count}} itens selecionados",
208
+ "{{count}} items selected_one": "{{count}} item selecionado",
209
+ "{{count}} items selected_other": "{{count}} itens selecionados",
207
210
  "{{count}} selected_many": "{{count}} selecionados_many",
208
211
  "{{count}} selected_one": "{{contagem}} selecionados_um",
209
212
  "{{count}} selected_other": "{{count}} selecionados_outros",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@woovi/ui",
3
3
  "description": "Woovi UI component library",
4
- "version": "6.9.8",
4
+ "version": "7.0.2",
5
5
  "author": "Woovi",
6
6
  "dependencies": {
7
7
  "@emotion/react": "^11.14.0",
@@ -13,7 +13,7 @@
13
13
  "@mui/x-data-grid-pro": "8.27.1",
14
14
  "@mui/x-license": "^8.26.0",
15
15
  "@tanstack/react-virtual": "3.13.18",
16
- "@woovi-private/release": "^1.1.0",
16
+ "@woovi-private/release": "^1.2.0",
17
17
  "brazilian-values": "0.13.1",
18
18
  "dot-object": "2.1.5",
19
19
  "formik": "3.0.0-next.6",
@@ -174,7 +174,8 @@
174
174
  "storybook:build": "turbo run docs:build",
175
175
  "updateRelease": "woovi-update-release",
176
176
  "firstRelease": "woovi-first-release",
177
- "publish:npm": "./release/publish-npm.sh",
178
- "publish:verdaccio": "./release/publish-verdaccio.sh"
177
+ "publish:all": "./release/publish.sh",
178
+ "publish:npm": "./release/publish.sh",
179
+ "publish:verdaccio": "./release/publish.sh"
179
180
  }
180
181
  }