@ostack.tech/ui 0.16.3 → 1.0.0-rc.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.
Files changed (51) hide show
  1. package/dist/chunks/{en-DT1KWQei.js → en-DGLb7rrz.js} +3 -1
  2. package/dist/chunks/en-DGLb7rrz.js.map +1 -0
  3. package/dist/locales/en-GB.js +1 -1
  4. package/dist/locales/en-US.js +1 -1
  5. package/dist/locales/fr-FR.js +2 -0
  6. package/dist/locales/fr-FR.js.map +1 -1
  7. package/dist/locales/pt-PT.js +2 -0
  8. package/dist/locales/pt-PT.js.map +1 -1
  9. package/dist/ostack-ui.css +32 -9
  10. package/dist/ostack-ui.js +7625 -7145
  11. package/dist/ostack-ui.js.map +1 -1
  12. package/package.json +2 -2
  13. package/scss/_utils.scss +1 -0
  14. package/scss/components/Actions/_Actions-variables.scss +5 -0
  15. package/scss/components/Actions/_Actions.scss +19 -0
  16. package/scss/components/ButtonGroup/_ButtonGroup.scss +2 -2
  17. package/scss/components/Root/_Root.scss +3 -3
  18. package/scss/components/Toast/_Toast.scss +1 -1
  19. package/scss/index.scss +1 -0
  20. package/scss/scss/placeholders/menu/_menu.scss +22 -4
  21. package/types/components/Actions/Action.d.ts +38 -0
  22. package/types/components/Actions/ActionGroup.d.ts +36 -0
  23. package/types/components/Actions/ActionMenu.d.ts +48 -0
  24. package/types/components/Actions/ActionMenuCheckboxItem.d.ts +5 -0
  25. package/types/components/Actions/ActionMenuRadioGroup.d.ts +5 -0
  26. package/types/components/Actions/ActionMenuRadioItem.d.ts +5 -0
  27. package/types/components/Actions/ActionSplit.d.ts +28 -0
  28. package/types/components/Actions/Actions.d.ts +87 -0
  29. package/types/components/Actions/ActionsContext.d.ts +13 -0
  30. package/types/components/Actions/ActionsSecondary.d.ts +6 -0
  31. package/types/components/Actions/index.d.ts +10 -0
  32. package/types/components/Actions/useActionsLayouts.d.ts +9 -0
  33. package/types/components/AlertDialog/AlertDialogContent.d.ts +3 -3
  34. package/types/components/Button/Button.d.ts +1 -1
  35. package/types/components/ButtonGroup/ButtonGroup.d.ts +4 -2
  36. package/types/components/Collapsible/Collapsible.d.ts +1 -1
  37. package/types/components/CommandMenu/CommandMenu.d.ts +2 -2
  38. package/types/components/CommandMenu/CommandMenuDialog.d.ts +1 -1
  39. package/types/components/Control/controlUtils.d.ts +1 -2
  40. package/types/components/DataTable/DataTableSelectionTrigger.d.ts +19 -4
  41. package/types/components/Feedback/feedbackUtils.d.ts +8 -3
  42. package/types/components/MenuList/MenuList.d.ts +1 -1
  43. package/types/components/MenuList/MenuListItem.d.ts +2 -2
  44. package/types/components/Printer/PrinterContentContext.d.ts +1 -1
  45. package/types/components/Tag/Tag.d.ts +2 -2
  46. package/types/index.d.ts +1 -0
  47. package/types/providers/LocalizationProvider/LocalizationObject.d.ts +3 -0
  48. package/types/utils/breakpoints.d.ts +6 -0
  49. package/types/utils/useResponsiveValues.d.ts +14 -1
  50. package/types/utils/useSafeLayoutEffect.d.ts +2 -2
  51. package/dist/chunks/en-DT1KWQei.js.map +0 -1
@@ -3,6 +3,8 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
3
3
  //#region src/locales/en.tsx
4
4
  /** `en` locale (partial). */
5
5
  var en = {
6
+ ActionSplit: { splitLabel: "More options" },
7
+ ActionsSecondary: { label: "More actions" },
6
8
  AlertDialog: { okText: "OK" },
7
9
  Calendar: {
8
10
  monthSelectLabel: "Month",
@@ -137,4 +139,4 @@ var en = {
137
139
  //#endregion
138
140
  export { en as t };
139
141
 
140
- //# sourceMappingURL=en-DT1KWQei.js.map
142
+ //# sourceMappingURL=en-DGLb7rrz.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"en-DGLb7rrz.js","names":[],"sources":["../../src/locales/en.tsx"],"sourcesContent":["import type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { IS_APPLE } from \"../utils/platformUtils.ts\";\n\n/** `en` locale (partial). */\nexport const en: Omit<LocalizationObject, \"languageTag\" | \"dayPickerLocale\"> = {\n ActionSplit: {\n splitLabel: \"More options\",\n },\n ActionsSecondary: {\n label: \"More actions\",\n },\n AlertDialog: {\n okText: \"OK\",\n },\n Calendar: {\n monthSelectLabel: \"Month\",\n yearSelectLabel: \"Year\",\n previousMonthLabel: \"Previous month\",\n nextMonthLabel: \"Next month\",\n },\n CloseButton: {\n label: \"Close\",\n },\n CollapsibleTrigger: {\n expandLabel: \"Show\",\n collapseLabel: \"Hide\",\n },\n CommandMenu: {\n searchPlaceholder: \"Search…\",\n listLabel: \"Suggestions\",\n loadingLabel: \"Loading…\",\n emptyMessage: \"No results found.\",\n },\n CommandMenuDialog: {\n title: \"Command palette\",\n description: \"Search for a command…\",\n },\n ConfirmDialog: {\n cancelText: \"Cancel\",\n },\n ControlCode: {\n visuallyHiddenPrefix: \"Field\",\n },\n DataTable: {\n selectAllRowsLabel: \"Select all\",\n selectRowLabel: \"Select\",\n },\n DataTableContent: {\n emptyMessage: \"Nothing to show.\",\n },\n DataTableFilter: {\n \"aria-label\": \"Search table\",\n placeholder: \"Search…\",\n },\n DataTablePagination: {\n \"aria-label\": \"Table pagination\",\n rowsRangeSelectLabel: (total) => `Visible rows out of ${total}`,\n rowsRange: (range, total) => (\n <>\n Rows&nbsp;{range}&nbsp;of {total}\n </>\n ),\n previousPageButtonLabel: \"Previous page\",\n nextPageButtonLabel: \"Next page\",\n },\n DataTableRowsPerPage: {\n label: \"Rows per page:\",\n },\n DateInput: {\n selectedDateDescription: (date) => `Selected date, ${date}`,\n calendarButtonLabel: \"Open calendar\",\n },\n DateRangeInput: {\n startInputLabel: \"Start date\",\n endInputLabel: \"End date\",\n selectedDateRangeDescription: ({ start, end }) =>\n `Selected date range, ${start || \"missing start date\"} to ${\n end || \"missing end date\"\n }`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Something went wrong.\n <br />\n Press the button on the right to try again. If the problem persists,\n please try again later.\n </>\n ),\n resetButtonLabel: \"Retry\",\n },\n Feedback: {\n visuallyHiddenPrefix: (type) =>\n type === \"error\" ? \"Error,\" : type === \"warning\" ? \"Warning,\" : null,\n },\n FeedbackPopover: {\n label: \"Show feedback\",\n },\n FieldGroupHeader: {\n visuallyHiddenCodePrefix: \"Section\",\n },\n Form: {\n submitErrorMessage:\n \"An error occurred during submission. Please try again later.\",\n nativeErrorMessages: {\n valueMissing: \"Required.\",\n badInput: \"Unrecognized format.\",\n typeMismatch: (el) => {\n const type = (el as HTMLInputElement).type;\n return type === \"email\" ? \"Invalid email.\" : \"Invalid URL.\";\n },\n patternMismatch: \"Invalid format.\",\n tooShort: (el) => {\n const minLength = (el as HTMLInputElement).minLength;\n return `Requires at least ${minLength} ${\n minLength === 1 ? \"character\" : \"characters\"\n }.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Limited to at most ${maxLength} ${\n maxLength === 1 ? \"character\" : \"characters\"\n }.`;\n },\n rangeUnderflow: (el) => {\n const min = (el as HTMLInputElement).min;\n return `Below minimum of ${min}.`;\n },\n rangeOverflow: (el) => {\n const max = (el as HTMLInputElement).max;\n return `Above maximum of ${max}.`;\n },\n stepMismatch: \"Invalid value increment.\",\n },\n },\n Input: {\n loadingDescription: \"Loading…\",\n clearButtonLabel: \"Clear\",\n },\n Keybinds: {\n keybindsSeparatorLabel: \"or\",\n keyPressesSeparatorLabel: \"then\",\n keyLabels: {\n Meta: IS_APPLE ? undefined : \"Windows Key\",\n },\n },\n Label: {\n helperButtonLabel: \"Show help\",\n },\n NumericInput: {\n decimalSeparator: \".\",\n groupingStyle: \"thousand\",\n groupSeparator: \",\",\n },\n RadioGroup: {\n clearDescription: \"Press Backspace or Delete to clear.\",\n },\n Select: {\n placeholder: \"Select…\",\n clearDescription: \"Press Backspace or Delete to clear.\",\n searchLabel: \"Search options\",\n optionsLabel: \"Options\",\n valueTagCloseButtonLabel: \"Remove\",\n },\n Step: {\n stepNumberLabel: (number) => `Step ${number}`,\n completedLabel: \"Completed\",\n },\n StepperFinishTrigger: {\n label: \"Finish\",\n },\n StepperNextTrigger: {\n label: \"Next\",\n },\n StepperPreviousTrigger: {\n label: \"Back\",\n },\n TableColumn: {\n helperButtonLabel: \"Show help\",\n },\n TableHead: {\n sortByColumnDescription: (sortDirection) =>\n sortDirection === null\n ? \"Clear sort\"\n : `Sort ${sortDirection === \"asc\" ? \"ascending\" : \"descending\"}`,\n },\n TabList: {\n scrollLeftButtonLabel: \"Scroll left\",\n scrollRightButtonLabel: \"Scroll right\",\n },\n ToastProvider: {\n label: \"Notification\",\n },\n ToastViewport: {\n label: \"Notifications ({hotkey})\",\n },\n};\n"],"mappings":";;;;AAIA,IAAa,KAAkE;CAC7E,aAAa,EACX,YAAY,eACd;CACA,kBAAkB,EAChB,OAAO,eACT;CACA,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,gBAAgB;CAClB;CACA,aAAa,EACX,OAAO,QACT;CACA,oBAAoB;EAClB,aAAa;EACb,eAAe;CACjB;CACA,aAAa;EACX,mBAAmB;EACnB,WAAW;EACX,cAAc;EACd,cAAc;CAChB;CACA,mBAAmB;EACjB,OAAO;EACP,aAAa;CACf;CACA,eAAe,EACb,YAAY,SACd;CACA,aAAa,EACX,sBAAsB,QACxB;CACA,WAAW;EACT,oBAAoB;EACpB,gBAAgB;CAClB;CACA,kBAAkB,EAChB,cAAc,mBAChB;CACA,iBAAiB;EACf,cAAc;EACd,aAAa;CACf;CACA,qBAAqB;EACnB,cAAc;EACd,uBAAuB,UAAU,uBAAuB;EACxD,YAAY,OAAO,UACjB,qBAAA,UAAA,EAAA,UAAA;GAAE;GACW;GAAM;GAAU;EAC3B,EAAA,CAAA;EAEJ,yBAAyB;EACzB,qBAAqB;CACvB;CACA,sBAAsB,EACpB,OAAO,iBACT;CACA,WAAW;EACT,0BAA0B,SAAS,kBAAkB;EACrD,qBAAqB;CACvB;CACA,gBAAgB;EACd,iBAAiB;EACjB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EACpB,OAAO,SACT;CACA,oBAAoB,EAClB,OAAO,OACT;CACA,wBAAwB,EACtB,OAAO,OACT;CACA,aAAa,EACX,mBAAmB,YACrB;CACA,WAAW,EACT,0BAA0B,kBACxB,kBAAkB,OACd,eACA,QAAQ,kBAAkB,QAAQ,cAAc,eACxD;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,eACT;CACA,eAAe,EACb,OAAO,2BACT;AACF"}
@@ -1,4 +1,4 @@
1
- import { t as en } from "../chunks/en-DT1KWQei.js";
1
+ import { t as en } from "../chunks/en-DGLb7rrz.js";
2
2
  import { enGB } from "@daypicker/react/locale";
3
3
  //#region src/locales/en-GB.tsx
4
4
  /** `en-GB` locale. */
@@ -1,4 +1,4 @@
1
- import { t as en } from "../chunks/en-DT1KWQei.js";
1
+ import { t as en } from "../chunks/en-DGLb7rrz.js";
2
2
  import { enUS } from "@daypicker/react/locale";
3
3
  //#region src/locales/en-US.tsx
4
4
  /** `en-US` locale. */
@@ -6,6 +6,8 @@ import { fr } from "@daypicker/react/locale";
6
6
  var locale = {
7
7
  languageTag: "fr-FR",
8
8
  dayPickerLocale: fr,
9
+ ActionSplit: { splitLabel: "Plus d’options" },
10
+ ActionsSecondary: { label: "Plus d’actions" },
9
11
  AlertDialog: { okText: "OK" },
10
12
  Calendar: {
11
13
  monthSelectLabel: "Mois",
@@ -1 +1 @@
1
- {"version":3,"file":"fr-FR.js","names":[],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { fr as dayPickerFr } from \"@daypicker/react/locale\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { IS_APPLE } from \"../utils/platformUtils.ts\";\n\n/** `fr-FR` locale. */\nexport const locale: LocalizationObject = {\n languageTag: \"fr-FR\",\n dayPickerLocale: dayPickerFr,\n AlertDialog: {\n okText: \"OK\",\n },\n Calendar: {\n monthSelectLabel: \"Mois\",\n yearSelectLabel: \"Année\",\n previousMonthLabel: \"Mois précédent\",\n nextMonthLabel: \"Mois suivant\",\n },\n CloseButton: {\n label: \"Fermer\",\n },\n CollapsibleTrigger: {\n expandLabel: \"Afficher\",\n collapseLabel: \"Masquer\",\n },\n CommandMenu: {\n searchPlaceholder: \"Rechercher…\",\n listLabel: \"Suggestions\",\n loadingLabel: \"Chargement…\",\n emptyMessage: \"Aucun résultat trouvé.\",\n },\n CommandMenuDialog: {\n title: \"Palette de commandes\",\n description: \"Rechercher une commande…\",\n },\n ConfirmDialog: {\n cancelText: \"Annuler\",\n },\n ControlCode: {\n visuallyHiddenPrefix: \"Champ\",\n },\n DataTable: {\n selectAllRowsLabel: \"Tout sélectionner\",\n selectRowLabel: \"Sélectionner\",\n },\n DataTableContent: {\n emptyMessage: \"Rien à afficher.\",\n },\n DataTableFilter: {\n \"aria-label\": \"Rechercher dans le tableau\",\n placeholder: \"Rechercher…\",\n },\n DataTablePagination: {\n \"aria-label\": \"Pagination du tableau\",\n rowsRangeSelectLabel: (total) => `Lignes affichées sur ${total}`,\n rowsRange: (range, total) => (\n <>\n Lignes&nbsp;{range}&nbsp;sur {total}\n </>\n ),\n previousPageButtonLabel: \"Page précédente\",\n nextPageButtonLabel: \"Page suivante\",\n },\n DataTableRowsPerPage: {\n label: \"Lignes par page\\u202F:\",\n },\n DateInput: {\n placeholder: \"jour/mois/année\",\n formatDescription:\n \"Saisir la date au format, J J barre oblique M M barre oblique A A A A.\",\n selectedDateDescription: (date) => `Date sélectionnée, ${date}`,\n calendarButtonLabel: \"Ouvrir le calendrier\",\n },\n DateRangeInput: {\n startInputLabel: \"Date de début\",\n endInputLabel: \"Date de fin\",\n selectedDateRangeDescription: ({ start, end }) =>\n `Période sélectionnée, ${start || \"date de début manquante\"} au ${\n end || \"date de fin manquante\"\n }`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Une erreur s'est produite.\n <br />\n Appuyez sur le bouton à droite pour réessayer. Si le problème persiste,\n réessayez plus tard.\n </>\n ),\n resetButtonLabel: \"Réessayer\",\n },\n Feedback: {\n visuallyHiddenPrefix: (type) =>\n type === \"error\" ? \"Erreur,\" : type === \"warning\" ? \"Alerte,\" : null,\n },\n FeedbackPopover: {\n label: \"Afficher les observations\",\n },\n FieldGroupHeader: {\n visuallyHiddenCodePrefix: \"Section\",\n },\n Form: {\n submitErrorMessage:\n \"Une erreur s’est produite lors de l’envoi. Veuillez réessayer plus tard.\",\n nativeErrorMessages: {\n valueMissing: \"Obligatoire.\",\n badInput: \"Format non reconnu.\",\n typeMismatch: (el) => {\n const type = (el as HTMLInputElement).type;\n return type === \"email\" ? \"Email invalide.\" : \"URL invalide.\";\n },\n patternMismatch: \"Format invalide.\",\n tooShort: (el) => {\n const minLength = (el as HTMLInputElement).minLength;\n return `Minimum de ${minLength} ${\n minLength === 1 ? \"caractère\" : \"caractères\"\n } requis.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Maximum de ${maxLength} ${\n maxLength === 1 ? \"caractère\" : \"caractères\"\n } autorisé.`;\n },\n rangeUnderflow: (el) => {\n const min = (el as HTMLInputElement).min;\n return `Inférieur au minimum de ${min}.`;\n },\n rangeOverflow: (el) => {\n const max = (el as HTMLInputElement).max;\n return `Supérieur au maximum de ${max}.`;\n },\n stepMismatch: \"Incrément de valeur invalide.\",\n },\n },\n Input: {\n loadingDescription: \"Chargement…\",\n clearButtonLabel: \"Effacer\",\n },\n Label: {\n helperButtonLabel: \"Afficher l’aide\",\n },\n Keybinds: {\n keybindsSeparatorLabel: \"ou\",\n keyPressesSeparatorLabel: \"puis\",\n keySymbols: {\n Shift: IS_APPLE ? undefined : \"Maj\",\n CapsLock: IS_APPLE ? undefined : \"Verr. maj.\",\n Space: \"Espace\",\n Home: \"Début\",\n End: \"Fin\",\n PageUp: \"Pg. pr\",\n PageDown: \"Pg. su\",\n Escape: \"Échap\",\n Delete: IS_APPLE ? undefined : \"Suppr\",\n },\n keyLabels: {\n Control: \"Contrôle\",\n Shift: \"Majuscule\",\n Meta: IS_APPLE ? \"Commande\" : \"Touche Windows\",\n CapsLock: \"Verrouillage majuscule\",\n Space: \"Espace\",\n ArrowUp: \"Haut\",\n ArrowDown: \"Bas\",\n ArrowLeft: \"Gauche\",\n ArrowRight: \"Droite\",\n Enter: IS_APPLE ? \"Retour\" : \"Entrée\",\n Escape: \"Échappement\",\n Backspace: \"Retour arrière\",\n Delete: \"Supprimer\",\n Home: \"Début\",\n End: \"Fin\",\n PageUp: \"Page précédente\",\n PageDown: \"Page suivante\",\n },\n },\n NumericInput: {\n decimalSeparator: \",\",\n groupingStyle: \"thousand\",\n groupSeparator: \"\\u00A0\",\n },\n RadioGroup: {\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n },\n Select: {\n placeholder: \"Choisir…\",\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n searchLabel: \"Rechercher des options\",\n optionsLabel: \"Options\",\n valueTagCloseButtonLabel: \"Supprimer\",\n },\n Step: {\n stepNumberLabel: (number) => `Étape ${number}`,\n completedLabel: \"Terminée\",\n },\n StepperFinishTrigger: {\n label: \"Terminer\",\n },\n StepperNextTrigger: {\n label: \"Suivant\",\n },\n StepperPreviousTrigger: {\n label: \"Précédent\",\n },\n TableColumn: {\n helperButtonLabel: \"Afficher l’aide\",\n },\n TableHead: {\n sortByColumnDescription: (sortDirection) =>\n sortDirection === null\n ? \"Annuler le tri\"\n : `Trier ${sortDirection === \"asc\" ? \"croissant\" : \"décroissant\"}`,\n },\n TabList: {\n scrollLeftButtonLabel: \"Défiler à gauche\",\n scrollRightButtonLabel: \"Défiler à droite\",\n },\n ToastProvider: {\n label: \"Notification\",\n },\n ToastViewport: {\n label: \"Notifications ({hotkey})\",\n },\n};\n"],"mappings":";;;;;AAMA,IAAa,SAA6B;CACxC,aAAa;CACb,iBAAiB;CACjB,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,gBA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zD;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,eACT;CACA,eAAe,EACb,OAAO,2BACT;AACF"}
1
+ {"version":3,"file":"fr-FR.js","names":[],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { fr as dayPickerFr } from \"@daypicker/react/locale\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { IS_APPLE } from \"../utils/platformUtils.ts\";\n\n/** `fr-FR` locale. */\nexport const locale: LocalizationObject = {\n languageTag: \"fr-FR\",\n dayPickerLocale: dayPickerFr,\n ActionSplit: {\n splitLabel: \"Plus d’options\",\n },\n ActionsSecondary: {\n label: \"Plus d’actions\",\n },\n AlertDialog: {\n okText: \"OK\",\n },\n Calendar: {\n monthSelectLabel: \"Mois\",\n yearSelectLabel: \"Année\",\n previousMonthLabel: \"Mois précédent\",\n nextMonthLabel: \"Mois suivant\",\n },\n CloseButton: {\n label: \"Fermer\",\n },\n CollapsibleTrigger: {\n expandLabel: \"Afficher\",\n collapseLabel: \"Masquer\",\n },\n CommandMenu: {\n searchPlaceholder: \"Rechercher…\",\n listLabel: \"Suggestions\",\n loadingLabel: \"Chargement…\",\n emptyMessage: \"Aucun résultat trouvé.\",\n },\n CommandMenuDialog: {\n title: \"Palette de commandes\",\n description: \"Rechercher une commande…\",\n },\n ConfirmDialog: {\n cancelText: \"Annuler\",\n },\n ControlCode: {\n visuallyHiddenPrefix: \"Champ\",\n },\n DataTable: {\n selectAllRowsLabel: \"Tout sélectionner\",\n selectRowLabel: \"Sélectionner\",\n },\n DataTableContent: {\n emptyMessage: \"Rien à afficher.\",\n },\n DataTableFilter: {\n \"aria-label\": \"Rechercher dans le tableau\",\n placeholder: \"Rechercher…\",\n },\n DataTablePagination: {\n \"aria-label\": \"Pagination du tableau\",\n rowsRangeSelectLabel: (total) => `Lignes affichées sur ${total}`,\n rowsRange: (range, total) => (\n <>\n Lignes&nbsp;{range}&nbsp;sur {total}\n </>\n ),\n previousPageButtonLabel: \"Page précédente\",\n nextPageButtonLabel: \"Page suivante\",\n },\n DataTableRowsPerPage: {\n label: \"Lignes par page\\u202F:\",\n },\n DateInput: {\n placeholder: \"jour/mois/année\",\n formatDescription:\n \"Saisir la date au format, J J barre oblique M M barre oblique A A A A.\",\n selectedDateDescription: (date) => `Date sélectionnée, ${date}`,\n calendarButtonLabel: \"Ouvrir le calendrier\",\n },\n DateRangeInput: {\n startInputLabel: \"Date de début\",\n endInputLabel: \"Date de fin\",\n selectedDateRangeDescription: ({ start, end }) =>\n `Période sélectionnée, ${start || \"date de début manquante\"} au ${\n end || \"date de fin manquante\"\n }`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Une erreur s'est produite.\n <br />\n Appuyez sur le bouton à droite pour réessayer. Si le problème persiste,\n réessayez plus tard.\n </>\n ),\n resetButtonLabel: \"Réessayer\",\n },\n Feedback: {\n visuallyHiddenPrefix: (type) =>\n type === \"error\" ? \"Erreur,\" : type === \"warning\" ? \"Alerte,\" : null,\n },\n FeedbackPopover: {\n label: \"Afficher les observations\",\n },\n FieldGroupHeader: {\n visuallyHiddenCodePrefix: \"Section\",\n },\n Form: {\n submitErrorMessage:\n \"Une erreur s’est produite lors de l’envoi. Veuillez réessayer plus tard.\",\n nativeErrorMessages: {\n valueMissing: \"Obligatoire.\",\n badInput: \"Format non reconnu.\",\n typeMismatch: (el) => {\n const type = (el as HTMLInputElement).type;\n return type === \"email\" ? \"Email invalide.\" : \"URL invalide.\";\n },\n patternMismatch: \"Format invalide.\",\n tooShort: (el) => {\n const minLength = (el as HTMLInputElement).minLength;\n return `Minimum de ${minLength} ${\n minLength === 1 ? \"caractère\" : \"caractères\"\n } requis.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Maximum de ${maxLength} ${\n maxLength === 1 ? \"caractère\" : \"caractères\"\n } autorisé.`;\n },\n rangeUnderflow: (el) => {\n const min = (el as HTMLInputElement).min;\n return `Inférieur au minimum de ${min}.`;\n },\n rangeOverflow: (el) => {\n const max = (el as HTMLInputElement).max;\n return `Supérieur au maximum de ${max}.`;\n },\n stepMismatch: \"Incrément de valeur invalide.\",\n },\n },\n Input: {\n loadingDescription: \"Chargement…\",\n clearButtonLabel: \"Effacer\",\n },\n Label: {\n helperButtonLabel: \"Afficher l’aide\",\n },\n Keybinds: {\n keybindsSeparatorLabel: \"ou\",\n keyPressesSeparatorLabel: \"puis\",\n keySymbols: {\n Shift: IS_APPLE ? undefined : \"Maj\",\n CapsLock: IS_APPLE ? undefined : \"Verr. maj.\",\n Space: \"Espace\",\n Home: \"Début\",\n End: \"Fin\",\n PageUp: \"Pg. pr\",\n PageDown: \"Pg. su\",\n Escape: \"Échap\",\n Delete: IS_APPLE ? undefined : \"Suppr\",\n },\n keyLabels: {\n Control: \"Contrôle\",\n Shift: \"Majuscule\",\n Meta: IS_APPLE ? \"Commande\" : \"Touche Windows\",\n CapsLock: \"Verrouillage majuscule\",\n Space: \"Espace\",\n ArrowUp: \"Haut\",\n ArrowDown: \"Bas\",\n ArrowLeft: \"Gauche\",\n ArrowRight: \"Droite\",\n Enter: IS_APPLE ? \"Retour\" : \"Entrée\",\n Escape: \"Échappement\",\n Backspace: \"Retour arrière\",\n Delete: \"Supprimer\",\n Home: \"Début\",\n End: \"Fin\",\n PageUp: \"Page précédente\",\n PageDown: \"Page suivante\",\n },\n },\n NumericInput: {\n decimalSeparator: \",\",\n groupingStyle: \"thousand\",\n groupSeparator: \"\\u00A0\",\n },\n RadioGroup: {\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n },\n Select: {\n placeholder: \"Choisir…\",\n clearDescription: \"Appuyez sur Retour arrière ou Suppr pour effacer.\",\n searchLabel: \"Rechercher des options\",\n optionsLabel: \"Options\",\n valueTagCloseButtonLabel: \"Supprimer\",\n },\n Step: {\n stepNumberLabel: (number) => `Étape ${number}`,\n completedLabel: \"Terminée\",\n },\n StepperFinishTrigger: {\n label: \"Terminer\",\n },\n StepperNextTrigger: {\n label: \"Suivant\",\n },\n StepperPreviousTrigger: {\n label: \"Précédent\",\n },\n TableColumn: {\n helperButtonLabel: \"Afficher l’aide\",\n },\n TableHead: {\n sortByColumnDescription: (sortDirection) =>\n sortDirection === null\n ? \"Annuler le tri\"\n : `Trier ${sortDirection === \"asc\" ? \"croissant\" : \"décroissant\"}`,\n },\n TabList: {\n scrollLeftButtonLabel: \"Défiler à gauche\",\n scrollRightButtonLabel: \"Défiler à droite\",\n },\n ToastProvider: {\n label: \"Notification\",\n },\n ToastViewport: {\n label: \"Notifications ({hotkey})\",\n },\n};\n"],"mappings":";;;;;AAMA,IAAa,SAA6B;CACxC,aAAa;CACb,iBAAiB;CACjB,aAAa,EACX,YAAY,iBACd;CACA,kBAAkB,EAChB,OAAO,iBACT;CACA,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,gBAAgB;CAClB;CACA,aAAa,EACX,OAAO,SACT;CACA,oBAAoB;EAClB,aAAa;EACb,eAAe;CACjB;CACA,aAAa;EACX,mBAAmB;EACnB,WAAW;EACX,cAAc;EACd,cAAc;CAChB;CACA,mBAAmB;EACjB,OAAO;EACP,aAAa;CACf;CACA,eAAe,EACb,YAAY,UACd;CACA,aAAa,EACX,sBAAsB,QACxB;CACA,WAAW;EACT,oBAAoB;EACpB,gBAAgB;CAClB;CACA,kBAAkB,EAChB,cAAc,mBAChB;CACA,iBAAiB;EACf,cAAc;EACd,aAAa;CACf;CACA,qBAAqB;EACnB,cAAc;EACd,uBAAuB,UAAU,wBAAwB;EACzD,YAAY,OAAO,UACjB,qBAAA,UAAA,EAAA,UAAA;GAAE;GACa;GAAM;GAAW;EAC9B,EAAA,CAAA;EAEJ,yBAAyB;EACzB,qBAAqB;CACvB;CACA,sBAAsB,EACpB,OAAO,oBACT;CACA,WAAW;EACT,aAAa;EACb,mBACE;EACF,0BAA0B,SAAS,sBAAsB;EACzD,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V,OAAO;GACP,SAAS;GACT,WAAW;GACX,WAAW;GACX,YAAY;GACZ,OAAO,WAAW,WAAW;GAC7B,QAAQ;GACR,WAAW;GACX,QAAQ;GACR,MAAM;GACN,KAAK;GACL,QAAQ;GACR,UAAU;EACZ;CACF;CACA,cAAc;EACZ,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CAClB;CACA,YAAY,EACV,kBAAkB,oDACpB;CACA,QAAQ;EACN,aAAa;EACb,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,0BAA0B;CAC5B;CACA,MAAM;EACJ,kBAAkB,WAAW,SAAS;EACtC,gBAAgB;CAClB;CACA,sBAAsB,EACpB,OAAO,WACT;CACA,oBAAoB,EAClB,OAAO,UACT;CACA,wBAAwB,EACtB,OAAO,YACT;CACA,aAAa,EACX,mBAAmB,kBACrB;CACA,WAAW,EACT,0BAA0B,kBACxB,kBAAkB,OACd,mBACA,SAAS,kBAAkB,QAAQ,cAAc,gBACzD;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,eACT;CACA,eAAe,EACb,OAAO,2BACT;AACF"}
@@ -6,6 +6,8 @@ import { pt } from "@daypicker/react/locale";
6
6
  var locale = {
7
7
  languageTag: "pt-PT",
8
8
  dayPickerLocale: pt,
9
+ ActionSplit: { splitLabel: "Mais opções" },
10
+ ActionsSecondary: { label: "Mais ações" },
9
11
  AlertDialog: { okText: "OK" },
10
12
  Calendar: {
11
13
  monthSelectLabel: "Mês",
@@ -1 +1 @@
1
- {"version":3,"file":"pt-PT.js","names":[],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { pt as dayPickerPt } from \"@daypicker/react/locale\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { IS_APPLE } from \"../utils/platformUtils.ts\";\n\n/** `pt-PT` locale. */\nexport const locale: LocalizationObject = {\n languageTag: \"pt-PT\",\n dayPickerLocale: dayPickerPt,\n AlertDialog: {\n okText: \"OK\",\n },\n Calendar: {\n monthSelectLabel: \"Mês\",\n yearSelectLabel: \"Ano\",\n previousMonthLabel: \"Mês anterior\",\n nextMonthLabel: \"Próximo mês\",\n },\n CloseButton: {\n label: \"Fechar\",\n },\n CollapsibleTrigger: {\n expandLabel: \"Mostrar\",\n collapseLabel: \"Ocultar\",\n },\n CommandMenu: {\n searchPlaceholder: \"Pesquisar…\",\n listLabel: \"Sugestões\",\n loadingLabel: \"A carregar…\",\n emptyMessage: \"Nenhum resultado encontrado.\",\n },\n CommandMenuDialog: {\n title: \"Paleta de comandos\",\n description: \"Pesquise por um comando…\",\n },\n ConfirmDialog: {\n cancelText: \"Cancelar\",\n },\n ControlCode: {\n visuallyHiddenPrefix: \"Campo\",\n },\n DataTable: {\n selectAllRowsLabel: \"Selecionar tudo\",\n selectRowLabel: \"Selecionar\",\n },\n DataTableContent: {\n emptyMessage: \"Nada a mostrar.\",\n },\n DataTableFilter: {\n \"aria-label\": \"Pesquisar tabela\",\n placeholder: \"Pesquisar…\",\n },\n DataTablePagination: {\n \"aria-label\": \"Paginação da tabela\",\n rowsRangeSelectLabel: (total) => `Linhas visíveis de um total de ${total}`,\n rowsRange: (range, total) => (\n <>\n Linhas&nbsp;{range}&nbsp;de {total}\n </>\n ),\n previousPageButtonLabel: \"Página anterior\",\n nextPageButtonLabel: \"Próxima página\",\n },\n DataTableRowsPerPage: {\n label: \"Linhas por página:\",\n },\n DateInput: {\n placeholder: \"dia/mês/ano\",\n formatDescription:\n \"Introduza a data no formato, D D barra M M barra A A A A.\",\n selectedDateDescription: (date) => `Data selecionada, ${date}`,\n calendarButtonLabel: \"Abrir calendário\",\n },\n DateRangeInput: {\n startInputLabel: \"Data de início\",\n endInputLabel: \"Data de fim\",\n selectedDateRangeDescription: ({ start, end }) =>\n `Período selecionado, ${start || \"data de início ausente\"} a ${\n end || \"data de fim ausente\"\n }`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Algo correu mal.\n <br />\n Pressione o botão à direita para tentar novamente. Se o problema\n persistir, volte a tentar mais tarde.\n </>\n ),\n resetButtonLabel: \"Tentar novamente\",\n },\n Feedback: {\n visuallyHiddenPrefix: (type) =>\n type === \"error\" ? \"Erro,\" : type === \"warning\" ? \"Alerta,\" : null,\n },\n FeedbackPopover: {\n label: \"Mostrar observações\",\n },\n FieldGroupHeader: {\n visuallyHiddenCodePrefix: \"Secção\",\n },\n Form: {\n submitErrorMessage:\n \"Ocorreu um erro na submissão. Por favor volte a tentar mais tarde.\",\n nativeErrorMessages: {\n valueMissing: \"Obrigatório.\",\n badInput: \"Formato não reconhecido.\",\n typeMismatch: (el) => {\n const type = (el as HTMLInputElement).type;\n return type === \"email\" ? \"Email inválido.\" : \"URL inválido.\";\n },\n patternMismatch: \"Formato inválido.\",\n tooShort: (el) => {\n const minLength = (el as HTMLInputElement).minLength;\n return `Requer pelo menos ${minLength} ${\n minLength === 1 ? \"caractér\" : \"caracteres\"\n }.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Limitado a no máximo ${maxLength} ${\n maxLength === 1 ? \"caractér\" : \"caracteres\"\n }.`;\n },\n rangeUnderflow: (el) => {\n const min = (el as HTMLInputElement).min;\n return `Inferior ao mínimo de ${min}.`;\n },\n rangeOverflow: (el) => {\n const max = (el as HTMLInputElement).max;\n return `Superior ao máximo de ${max}.`;\n },\n stepMismatch: \"Incremento de valor inválido.\",\n },\n },\n Input: {\n loadingDescription: \"A carregar…\",\n clearButtonLabel: \"Limpar\",\n },\n Keybinds: {\n keybindsSeparatorLabel: \"ou\",\n keyPressesSeparatorLabel: \"seguido de\",\n keySymbols: {\n Space: \"Espaço\",\n },\n keyLabels: {\n Meta: IS_APPLE ? undefined : \"Tecla Windows\",\n Space: \"Espaço\",\n ArrowUp: \"Seta para cima\",\n ArrowDown: \"Seta para baixo\",\n ArrowLeft: \"Seta para esquerda\",\n ArrowRight: \"Seta para direita\",\n Enter: IS_APPLE ? \"Retorno\" : undefined,\n Home: \"Início\",\n End: \"Fim\",\n PageUp: \"Página para cima\",\n PageDown: \"Página para baixo\",\n },\n },\n Label: {\n helperButtonLabel: \"Mostrar ajuda\",\n },\n NumericInput: {\n decimalSeparator: \",\",\n groupingStyle: \"thousand\",\n groupSeparator: \"\\u00A0\",\n },\n RadioGroup: {\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n },\n Select: {\n placeholder: \"Selecionar…\",\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n searchLabel: \"Pesquisar opções\",\n optionsLabel: \"Opções\",\n valueTagCloseButtonLabel: \"Remover\",\n },\n Step: {\n stepNumberLabel: (number) => `Passo ${number}`,\n completedLabel: \"Concluído\",\n },\n StepperFinishTrigger: {\n label: \"Concluir\",\n },\n StepperNextTrigger: {\n label: \"Seguinte\",\n },\n StepperPreviousTrigger: {\n label: \"Anterior\",\n },\n TableColumn: {\n helperButtonLabel: \"Mostrar ajuda\",\n },\n TableHead: {\n sortByColumnDescription: (sortDirection) =>\n sortDirection === null\n ? \"Remover ordenação\"\n : `Ordenar ${sortDirection === \"asc\" ? \"crescente\" : \"decrescente\"}`,\n },\n TabList: {\n scrollLeftButtonLabel: \"Deslocar para a esquerda\",\n scrollRightButtonLabel: \"Deslocar para a direita\",\n },\n ToastProvider: {\n label: \"Notificação\",\n },\n ToastViewport: {\n label: \"Notificações ({hotkey})\",\n },\n};\n"],"mappings":";;;;;AAMA,IAAa,SAA6B;CACxC,aAAa;CACb,iBAAiB;CACjB,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,gBAAgB;CAClB;CACA,aAAa,EACX,OAAO,SACT;CACA,oBAAoB;EAClB,aAAa;EACb,eAAe;CACjB;CACA,aAAa;EACX,mBAAmB;EACnB,WAAW;EACX,cAAc;EACd,cAAc;CAChB;CACA,mBAAmB;EACjB,OAAO;EACP,aAAa;CACf;CACA,eAAe,EACb,YAAY,WACd;CACA,aAAa,EACX,s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yBADM,GAAwB,IACD;GACtC;GACA,cAAc;EAChB;CACF;CACA,OAAO;EACL,oBAAoB;EACpB,kBAAkB;CACpB;CACA,UAAU;EACR,wBAAwB;EACxB,0BAA0B;EAC1B,YAAY,EACV,OAAO,SACT;EACA,WAAW;GACT,MAAM,WAAW,KAAA,IAAY;GAC7B,OAAO;GACP,SAAS;GACT,WAAW;GACX,WAAW;GACX,YAAY;GACZ,OAAO,WAAW,YAAY,KAAA;GAC9B,MAAM;GACN,KAAK;GACL,QAAQ;GACR,UAAU;EACZ;CACF;CACA,OAAO,EACL,mBAAmB,gBACrB;CACA,cAAc;EACZ,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CAClB;CACA,YAAY,EACV,kBAAkB,6CACpB;CACA,QAAQ;EACN,aAAa;EACb,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,0BAA0B;CAC5B;CACA,MAAM;EACJ,kBAAkB,WAAW,SAAS;EACtC,gBAAgB;CAClB;CACA,sBAAsB,EACpB,OAAO,WACT;CACA,oBAAoB,EAClB,OAAO,WACT;CACA,wBAAwB,EACtB,OAAO,WACT;CACA,aAAa,EACX,mBAAmB,gBACrB;CACA,WAAW,EACT,0BAA0B,kBACxB,kBAAkB,OACd,sBACA,WAAW,kBAAkB,QAAQ,cAAc,gBAC3D;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,cACT;CACA,eAAe,EACb,OAAO,0BACT;AACF"}
1
+ {"version":3,"file":"pt-PT.js","names":[],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { pt as dayPickerPt } from \"@daypicker/react/locale\";\n\nimport type { LocalizationObject } from \"../providers/LocalizationProvider\";\nimport { IS_APPLE } from \"../utils/platformUtils.ts\";\n\n/** `pt-PT` locale. */\nexport const locale: LocalizationObject = {\n languageTag: \"pt-PT\",\n dayPickerLocale: dayPickerPt,\n ActionSplit: {\n splitLabel: \"Mais opções\",\n },\n ActionsSecondary: {\n label: \"Mais ações\",\n },\n AlertDialog: {\n okText: \"OK\",\n },\n Calendar: {\n monthSelectLabel: \"Mês\",\n yearSelectLabel: \"Ano\",\n previousMonthLabel: \"Mês anterior\",\n nextMonthLabel: \"Próximo mês\",\n },\n CloseButton: {\n label: \"Fechar\",\n },\n CollapsibleTrigger: {\n expandLabel: \"Mostrar\",\n collapseLabel: \"Ocultar\",\n },\n CommandMenu: {\n searchPlaceholder: \"Pesquisar…\",\n listLabel: \"Sugestões\",\n loadingLabel: \"A carregar…\",\n emptyMessage: \"Nenhum resultado encontrado.\",\n },\n CommandMenuDialog: {\n title: \"Paleta de comandos\",\n description: \"Pesquise por um comando…\",\n },\n ConfirmDialog: {\n cancelText: \"Cancelar\",\n },\n ControlCode: {\n visuallyHiddenPrefix: \"Campo\",\n },\n DataTable: {\n selectAllRowsLabel: \"Selecionar tudo\",\n selectRowLabel: \"Selecionar\",\n },\n DataTableContent: {\n emptyMessage: \"Nada a mostrar.\",\n },\n DataTableFilter: {\n \"aria-label\": \"Pesquisar tabela\",\n placeholder: \"Pesquisar…\",\n },\n DataTablePagination: {\n \"aria-label\": \"Paginação da tabela\",\n rowsRangeSelectLabel: (total) => `Linhas visíveis de um total de ${total}`,\n rowsRange: (range, total) => (\n <>\n Linhas&nbsp;{range}&nbsp;de {total}\n </>\n ),\n previousPageButtonLabel: \"Página anterior\",\n nextPageButtonLabel: \"Próxima página\",\n },\n DataTableRowsPerPage: {\n label: \"Linhas por página:\",\n },\n DateInput: {\n placeholder: \"dia/mês/ano\",\n formatDescription:\n \"Introduza a data no formato, D D barra M M barra A A A A.\",\n selectedDateDescription: (date) => `Data selecionada, ${date}`,\n calendarButtonLabel: \"Abrir calendário\",\n },\n DateRangeInput: {\n startInputLabel: \"Data de início\",\n endInputLabel: \"Data de fim\",\n selectedDateRangeDescription: ({ start, end }) =>\n `Período selecionado, ${start || \"data de início ausente\"} a ${\n end || \"data de fim ausente\"\n }`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Algo correu mal.\n <br />\n Pressione o botão à direita para tentar novamente. Se o problema\n persistir, volte a tentar mais tarde.\n </>\n ),\n resetButtonLabel: \"Tentar novamente\",\n },\n Feedback: {\n visuallyHiddenPrefix: (type) =>\n type === \"error\" ? \"Erro,\" : type === \"warning\" ? \"Alerta,\" : null,\n },\n FeedbackPopover: {\n label: \"Mostrar observações\",\n },\n FieldGroupHeader: {\n visuallyHiddenCodePrefix: \"Secção\",\n },\n Form: {\n submitErrorMessage:\n \"Ocorreu um erro na submissão. Por favor volte a tentar mais tarde.\",\n nativeErrorMessages: {\n valueMissing: \"Obrigatório.\",\n badInput: \"Formato não reconhecido.\",\n typeMismatch: (el) => {\n const type = (el as HTMLInputElement).type;\n return type === \"email\" ? \"Email inválido.\" : \"URL inválido.\";\n },\n patternMismatch: \"Formato inválido.\",\n tooShort: (el) => {\n const minLength = (el as HTMLInputElement).minLength;\n return `Requer pelo menos ${minLength} ${\n minLength === 1 ? \"caractér\" : \"caracteres\"\n }.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Limitado a no máximo ${maxLength} ${\n maxLength === 1 ? \"caractér\" : \"caracteres\"\n }.`;\n },\n rangeUnderflow: (el) => {\n const min = (el as HTMLInputElement).min;\n return `Inferior ao mínimo de ${min}.`;\n },\n rangeOverflow: (el) => {\n const max = (el as HTMLInputElement).max;\n return `Superior ao máximo de ${max}.`;\n },\n stepMismatch: \"Incremento de valor inválido.\",\n },\n },\n Input: {\n loadingDescription: \"A carregar…\",\n clearButtonLabel: \"Limpar\",\n },\n Keybinds: {\n keybindsSeparatorLabel: \"ou\",\n keyPressesSeparatorLabel: \"seguido de\",\n keySymbols: {\n Space: \"Espaço\",\n },\n keyLabels: {\n Meta: IS_APPLE ? undefined : \"Tecla Windows\",\n Space: \"Espaço\",\n ArrowUp: \"Seta para cima\",\n ArrowDown: \"Seta para baixo\",\n ArrowLeft: \"Seta para esquerda\",\n ArrowRight: \"Seta para direita\",\n Enter: IS_APPLE ? \"Retorno\" : undefined,\n Home: \"Início\",\n End: \"Fim\",\n PageUp: \"Página para cima\",\n PageDown: \"Página para baixo\",\n },\n },\n Label: {\n helperButtonLabel: \"Mostrar ajuda\",\n },\n NumericInput: {\n decimalSeparator: \",\",\n groupingStyle: \"thousand\",\n groupSeparator: \"\\u00A0\",\n },\n RadioGroup: {\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n },\n Select: {\n placeholder: \"Selecionar…\",\n clearDescription: \"Pressione Backspace ou Delete para limpar.\",\n searchLabel: \"Pesquisar opções\",\n optionsLabel: \"Opções\",\n valueTagCloseButtonLabel: \"Remover\",\n },\n Step: {\n stepNumberLabel: (number) => `Passo ${number}`,\n completedLabel: \"Concluído\",\n },\n StepperFinishTrigger: {\n label: \"Concluir\",\n },\n StepperNextTrigger: {\n label: \"Seguinte\",\n },\n StepperPreviousTrigger: {\n label: \"Anterior\",\n },\n TableColumn: {\n helperButtonLabel: \"Mostrar ajuda\",\n },\n TableHead: {\n sortByColumnDescription: (sortDirection) =>\n sortDirection === null\n ? \"Remover ordenação\"\n : `Ordenar ${sortDirection === \"asc\" ? \"crescente\" : \"decrescente\"}`,\n },\n TabList: {\n scrollLeftButtonLabel: \"Deslocar para a esquerda\",\n scrollRightButtonLabel: \"Deslocar para a direita\",\n },\n ToastProvider: {\n label: \"Notificação\",\n },\n ToastViewport: {\n label: \"Notificações ({hotkey})\",\n },\n};\n"],"mappings":";;;;;AAMA,IAAa,SAA6B;CACxC,aAAa;CACb,iBAAiB;CACjB,aAAa,EACX,YAAY,cACd;CACA,kBAAkB,EAChB,OAAO,aACT;CACA,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;EACpB,gBAAgB;CAClB;CACA,aAAa,EACX,OAAO,SACT;CACA,oBAAoB;EAClB,aAAa;EACb,eAAe;CACjB;CACA,aAAa;EACX,mBAAmB;EACnB,WAAW;EACX,cAAc;EACd,cAA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GACH;GACA,iBAAiB,OAAO;IAEtB,OAAO,yBADM,GAAwB,IACD;GACtC;GACA,gBAAgB,OAAO;IAErB,OAAO,yBADM,GAAwB,IACD;GACtC;GACA,cAAc;EAChB;CACF;CACA,OAAO;EACL,oBAAoB;EACpB,kBAAkB;CACpB;CACA,UAAU;EACR,wBAAwB;EACxB,0BAA0B;EAC1B,YAAY,EACV,OAAO,SACT;EACA,WAAW;GACT,MAAM,WAAW,KAAA,IAAY;GAC7B,OAAO;GACP,SAAS;GACT,WAAW;GACX,WAAW;GACX,YAAY;GACZ,OAAO,WAAW,YAAY,KAAA;GAC9B,MAAM;GACN,KAAK;GACL,QAAQ;GACR,UAAU;EACZ;CACF;CACA,OAAO,EACL,mBAAmB,gBACrB;CACA,cAAc;EACZ,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CAClB;CACA,YAAY,EACV,kBAAkB,6CACpB;CACA,QAAQ;EACN,aAAa;EACb,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,0BAA0B;CAC5B;CACA,MAAM;EACJ,kBAAkB,WAAW,SAAS;EACtC,gBAAgB;CAClB;CACA,sBAAsB,EACpB,OAAO,WACT;CACA,oBAAoB,EAClB,OAAO,WACT;CACA,wBAAwB,EACtB,OAAO,WACT;CACA,aAAa,EACX,mBAAmB,gBACrB;CACA,WAAW,EACT,0BAA0B,kBACxB,kBAAkB,OACd,sBACA,WAAW,kBAAkB,QAAQ,cAAc,gBAC3D;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,cACT;CACA,eAAe,EACb,OAAO,0BACT;AACF"}
@@ -122,6 +122,20 @@
122
122
  position: absolute !important;
123
123
  }
124
124
 
125
+ .o-ui-actions {
126
+ min-width: max-content;
127
+ max-width: max-content;
128
+ }
129
+ .o-ui-actions__container {
130
+ flex: 1 1 auto;
131
+ display: flex;
132
+ align-items: center;
133
+ min-width: 0;
134
+ }
135
+ .o-ui-actions__split-trigger {
136
+ min-width: 0 !important;
137
+ }
138
+
125
139
  .o-ui-toast, .o-ui-alert {
126
140
  display: flex;
127
141
  align-items: center;
@@ -419,13 +433,13 @@
419
433
  position: relative;
420
434
  flex: 1 1 auto;
421
435
  }
422
- .o-ui-button-group > .o-ui-button:not(:first-child),
423
- .o-ui-button-group > .o-ui-icon-button:not(:first-child) {
436
+ .o-ui-button-group > .o-ui-button:not(:nth-child(1 of :not([hidden]))),
437
+ .o-ui-button-group > .o-ui-icon-button:not(:nth-child(1 of :not([hidden]))) {
424
438
  border-top-left-radius: 0;
425
439
  border-bottom-left-radius: 0;
426
440
  }
427
- .o-ui-button-group > .o-ui-button:not(:last-child),
428
- .o-ui-button-group > .o-ui-icon-button:not(:last-child) {
441
+ .o-ui-button-group > .o-ui-button:not(:nth-last-child(1 of :not([hidden]))),
442
+ .o-ui-button-group > .o-ui-icon-button:not(:nth-last-child(1 of :not([hidden]))) {
429
443
  border-top-right-radius: 0;
430
444
  border-bottom-right-radius: 0;
431
445
  }
@@ -1182,11 +1196,21 @@ a > .o-ui-code {
1182
1196
  line-height: var(--o-ui-line-height-xs);
1183
1197
  color: var(--o-ui-neutral-a10);
1184
1198
  }
1185
- .o-ui-menu-list__group-item:not([hidden]) + :is(.o-ui-menu-list__group-item, .o-ui-command-menu [cmdk-group], .o-ui-menu-list__item), .o-ui-command-menu [cmdk-group]:not([hidden]) + :is(.o-ui-menu-list__group-item, .o-ui-command-menu [cmdk-group], .o-ui-menu-list__item) {
1199
+ .o-ui-menu-list__group-item:not(:nth-child(1 of :not([hidden]))), .o-ui-command-menu [cmdk-group]:not(:nth-child(1 of :not([hidden]))) {
1186
1200
  margin-top: calc(var(--o-ui-space) * 2);
1187
1201
  padding-top: calc(var(--o-ui-space) * 2);
1188
1202
  border-top: 1px solid var(--o-ui-neutral-a7);
1189
1203
  }
1204
+ .o-ui-menu-list__group-item:not(:nth-last-child(1 of :not([hidden], span))), .o-ui-command-menu [cmdk-group]:not(:nth-last-child(1 of :not([hidden], span))) {
1205
+ margin-bottom: calc(var(--o-ui-space) * 2);
1206
+ padding-bottom: calc(var(--o-ui-space) * 2);
1207
+ border-bottom: 1px solid var(--o-ui-neutral-a7);
1208
+ }
1209
+ .o-ui-menu-list__group-item + .o-ui-menu-list__group-item:not([hidden]), .o-ui-command-menu [cmdk-group] + .o-ui-menu-list__group-item:not([hidden]), .o-ui-command-menu .o-ui-menu-list__group-item + [cmdk-group]:not([hidden]), .o-ui-command-menu [cmdk-group] + [cmdk-group]:not([hidden]) {
1210
+ margin-top: 0;
1211
+ padding-top: 0;
1212
+ border-top: 0;
1213
+ }
1190
1214
  .o-ui-menu-list__group-item, .o-ui-command-menu [cmdk-group], .o-ui-menu-list__item {
1191
1215
  list-style-type: none;
1192
1216
  }
@@ -3078,14 +3102,13 @@ a > .o-ui-code {
3078
3102
  }
3079
3103
 
3080
3104
  .o-ui-root {
3105
+ box-sizing: border-box;
3081
3106
  font-family: var(--o-ui-font-family-base);
3082
3107
  font-size: var(--o-ui-font-size-md);
3083
3108
  line-height: var(--o-ui-line-height-md);
3084
3109
  color: var(--o-ui-neutral-12);
3085
3110
  }
3086
- .o-ui-root *,
3087
- .o-ui-root *::before,
3088
- .o-ui-root *::after {
3111
+ .o-ui-root :is(*, *::before, *::after) {
3089
3112
  box-sizing: border-box;
3090
3113
  }
3091
3114
  .o-ui-root [hidden] {
@@ -4422,7 +4445,7 @@ a > .o-ui-code {
4422
4445
  display: flex;
4423
4446
  flex-direction: column;
4424
4447
  width: 420px;
4425
- max-width: 100vw;
4448
+ max-width: 100%;
4426
4449
  margin: 0;
4427
4450
  --o-ui-toast-viewport-padding: calc(var(--o-ui-space) * 2);
4428
4451
  padding: var(--o-ui-toast-viewport-padding);