@ostack.tech/ui 1.3.0-beta.2 → 1.3.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/LICENSE +202 -0
- package/README.md +13 -1
- package/dist/chunks/{en-W4OWqPrv.js → en-Czf-_HZt.js} +9 -11
- package/dist/chunks/en-Czf-_HZt.js.map +1 -0
- package/dist/locales/en-GB.js +1 -1
- package/dist/locales/en-US.js +1 -1
- package/dist/locales/fr-FR.js +8 -10
- package/dist/locales/fr-FR.js.map +1 -1
- package/dist/locales/pt-PT.js +8 -10
- package/dist/locales/pt-PT.js.map +1 -1
- package/dist/ostack-ui.css +69 -6
- package/dist/ostack-ui.js +854 -540
- package/dist/ostack-ui.js.map +1 -1
- package/package.json +3 -1
- package/scss/_utils.scss +1 -0
- package/scss/components/ButtonGroup/_ButtonGroup.scss +2 -5
- package/scss/components/Pagination/_Pagination-variables.scss +89 -0
- package/scss/components/Pagination/_Pagination.scss +135 -0
- package/scss/components/Select/_Select-variables.scss +1 -1
- package/scss/components/Tabs/_Tabs-variables.scss +1 -1
- package/scss/components/Tabs/_Tabs.scss +3 -2
- package/scss/index.scss +1 -0
- package/scss/scss/placeholders/button/_button-variables.scss +3 -0
- package/scss/scss/placeholders/button/_button.scss +4 -3
- package/scss/scss/placeholders/menu/_menu-variables.scss +4 -1
- package/scss/scss/placeholders/menu/_menu.scss +4 -0
- package/types/components/DataTable/DataTablePagination.d.ts +7 -16
- package/types/components/DataTable/PagedDataTablePagination.d.ts +5 -5
- package/types/components/DataTable/sanitizeProps.d.ts +0 -2
- package/types/components/Pagination/Pagination.d.ts +93 -0
- package/types/components/Pagination/index.d.ts +1 -0
- package/types/components/Pagination/paginationItems.d.ts +7 -0
- package/types/index.d.ts +1 -0
- package/types/providers/LocalizationProvider/LocalizationObject.d.ts +3 -1
- package/types/utils/sanitizeProps.d.ts +2 -0
- package/dist/chunks/en-W4OWqPrv.js.map +0 -1
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
# `@ostack.tech/ui`
|
|
2
2
|
|
|
3
|
-
ostack/UI component library.
|
|
3
|
+
[ostack/UI](https://ui.ostack.tech/) is an accessible React component library.
|
|
4
|
+
|
|
5
|
+
To build forms with [ostack/KForm](https://kform.ostack.tech/), see
|
|
6
|
+
[`@ostack.tech/ui-kform`](https://www.npmjs.com/package/@ostack.tech/ui-kform).
|
|
7
|
+
|
|
8
|
+
## Documentation
|
|
9
|
+
|
|
10
|
+
- [ostack/UI documentation](https://ui.ostack.tech/) ([llms.txt](https://ui.ostack.tech/llms.txt)):
|
|
11
|
+
the latest ostack/UI and ostack/UI-KForm documentation.
|
|
12
|
+
|
|
13
|
+
## License
|
|
14
|
+
|
|
15
|
+
[Apache License, Version 2.0](LICENSE).
|
|
@@ -39,16 +39,8 @@ var en = {
|
|
|
39
39
|
placeholder: "Search…"
|
|
40
40
|
},
|
|
41
41
|
DataTablePagination: {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
rowsRange: (range, total) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
-
"Rows\xA0",
|
|
46
|
-
range,
|
|
47
|
-
"\xA0of ",
|
|
48
|
-
total
|
|
49
|
-
] }),
|
|
50
|
-
previousPageButtonLabel: "Previous page",
|
|
51
|
-
nextPageButtonLabel: "Next page"
|
|
42
|
+
label: "Table pagination",
|
|
43
|
+
rowsRange: (rangeStart, rangeEnd, total) => `Rows\u00A0${rangeStart}–${rangeEnd}\u00A0of ${total}`
|
|
52
44
|
},
|
|
53
45
|
DataTableRowsPerPage: { label: "Rows per page:" },
|
|
54
46
|
DateInput: {
|
|
@@ -112,6 +104,12 @@ var en = {
|
|
|
112
104
|
groupingStyle: "thousand",
|
|
113
105
|
groupSeparator: ","
|
|
114
106
|
},
|
|
107
|
+
Pagination: {
|
|
108
|
+
label: "Pagination",
|
|
109
|
+
previousPageButtonLabel: "Previous page",
|
|
110
|
+
nextPageButtonLabel: "Next page",
|
|
111
|
+
pageButtonLabel: (page) => `Page ${page}`
|
|
112
|
+
},
|
|
115
113
|
RadioGroup: { clearDescription: "Press Backspace or Delete to clear." },
|
|
116
114
|
Select: {
|
|
117
115
|
placeholder: "Select…",
|
|
@@ -138,4 +136,4 @@ var en = {
|
|
|
138
136
|
};
|
|
139
137
|
export { en as t };
|
|
140
138
|
|
|
141
|
-
//# sourceMappingURL=en-
|
|
139
|
+
//# sourceMappingURL=en-Czf-_HZt.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-Czf-_HZt.js","names":["_Fragment"],"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 label: \"Table pagination\",\n rowsRange: (rangeStart, rangeEnd, total) =>\n `Rows\\u00A0${rangeStart}–${rangeEnd}\\u00A0of ${total}`,\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 ${end || \"missing end date\"}`,\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, 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: \"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} ${minLength === 1 ? \"character\" : \"characters\"}.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Limited to at most ${maxLength} ${maxLength === 1 ? \"character\" : \"characters\"}.`;\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 Pagination: {\n label: \"Pagination\",\n previousPageButtonLabel: \"Previous page\",\n nextPageButtonLabel: \"Next page\",\n pageButtonLabel: (page) => `Page ${page}`,\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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GACA,iBAAiB;GACjB,WAAW,OAAO;IAChB,MAAM,YAAa,GAAwB;IAC3C,OAAO,qBAAqB,UAAU,GAAG,cAAc,IAAI,cAAc,aAAa;GACxF;GACA,UAAU,OAAO;IACf,MAAM,YAAa,GAAwB;IAC3C,OAAO,sBAAsB,UAAU,GAAG,cAAc,IAAI,cAAc,aAAa;GACzF;GACA,iBAAiB,OAAO;IAEtB,OAAO,oBADM,GAAwB,IACN;GACjC;GACA,gBAAgB,OAAO;IAErB,OAAO,oBADM,GAAwB,IACN;GACjC;GACA,cAAc;EAChB;CACF;CACA,OAAO;EACL,oBAAoB;EACpB,kBAAkB;CACpB;CACA,UAAU;EACR,wBAAwB;EACxB,0BAA0B;EAC1B,WAAW,EACT,MAAM,WAAW,KAAA,IAAY,cAC/B;CACF;CACA,OAAO,EACL,mBAAmB,YACrB;CACA,cAAc;EACZ,kBAAkB;EAClB,eAAe;EACf,gBAAgB;CAClB;CACA,YAAY;EACV,OAAO;EACP,yBAAyB;EACzB,qBAAqB;EACrB,kBAAkB,SAAS,QAAQ;CACrC;CACA,YAAY,EACV,kBAAkB,sCACpB;CACA,QAAQ;EACN,aAAa;EACb,kBAAkB;EAClB,aAAa;EACb,cAAc;EACd,0BAA0B;CAC5B;CACA,MAAM;EACJ,kBAAkB,WAAW,QAAQ;EACrC,gBAAgB;CAClB;CACA,sBAAsB,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"}
|
package/dist/locales/en-GB.js
CHANGED
package/dist/locales/en-US.js
CHANGED
package/dist/locales/fr-FR.js
CHANGED
|
@@ -42,16 +42,8 @@ var locale = {
|
|
|
42
42
|
placeholder: "Rechercher…"
|
|
43
43
|
},
|
|
44
44
|
DataTablePagination: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
rowsRange: (range, total) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
48
|
-
"Lignes\xA0",
|
|
49
|
-
range,
|
|
50
|
-
"\xA0sur ",
|
|
51
|
-
total
|
|
52
|
-
] }),
|
|
53
|
-
previousPageButtonLabel: "Page précédente",
|
|
54
|
-
nextPageButtonLabel: "Page suivante"
|
|
45
|
+
label: "Pagination du tableau",
|
|
46
|
+
rowsRange: (rangeStart, rangeEnd, total) => `Lignes\u00A0${rangeStart}–${rangeEnd}\u00A0sur ${total}`
|
|
55
47
|
},
|
|
56
48
|
DataTableRowsPerPage: { label: "Lignes par page :" },
|
|
57
49
|
DateInput: {
|
|
@@ -146,6 +138,12 @@ var locale = {
|
|
|
146
138
|
groupingStyle: "thousand",
|
|
147
139
|
groupSeparator: "\xA0"
|
|
148
140
|
},
|
|
141
|
+
Pagination: {
|
|
142
|
+
label: "Pagination",
|
|
143
|
+
previousPageButtonLabel: "Page précédente",
|
|
144
|
+
nextPageButtonLabel: "Page suivante",
|
|
145
|
+
pageButtonLabel: (page) => `Page ${page}`
|
|
146
|
+
},
|
|
149
147
|
RadioGroup: { clearDescription: "Appuyez sur Retour arrière ou Suppr pour effacer." },
|
|
150
148
|
Select: {
|
|
151
149
|
placeholder: "Choisir…",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr-FR.js","names":["dayPickerFr","_Fragment"],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { fr as dayPickerFr } from \"@daypicker/react/locale/fr\";\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
|
|
1
|
+
{"version":3,"file":"fr-FR.js","names":["dayPickerFr","_Fragment"],"sources":["../../src/locales/fr-FR.tsx"],"sourcesContent":["import { fr as dayPickerFr } from \"@daypicker/react/locale/fr\";\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 label: \"Pagination du tableau\",\n rowsRange: (rangeStart, rangeEnd, total) =>\n `Lignes\\u00A0${rangeStart}–${rangeEnd}\\u00A0sur ${total}`,\n },\n DataTableRowsPerPage: {\n label: \"Lignes par page\\u202F:\",\n },\n DateInput: {\n placeholder: \"jour/mois/année\",\n formatDescription: \"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, 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: \"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} ${minLength === 1 ? \"caractère\" : \"caractères\"} requis.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Maximum de ${maxLength} ${maxLength === 1 ? \"caractère\" : \"caractères\"} 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 Pagination: {\n label: \"Pagination\",\n previousPageButtonLabel: \"Page précédente\",\n nextPageButtonLabel: \"Page suivante\",\n pageButtonLabel: (page) => `Page ${page}`,\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,iBAAiBA;CACjB,aAAa,EACX,YAAY,iBACd;CACA,kBAAkB,EAChB,OAAO,iBACT;CACA,aAAa,EACX,QAAQ,KACV;CACA,UAAU;EACR,kBAAkB;EAClB,iBAAiB;EACjB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kB,QAAQ,cAAc,gBACzD;CACA,SAAS;EACP,uBAAuB;EACvB,wBAAwB;CAC1B;CACA,eAAe,EACb,OAAO,eACT;CACA,eAAe,EACb,OAAO,2BACT;AACF"}
|
package/dist/locales/pt-PT.js
CHANGED
|
@@ -42,16 +42,8 @@ var locale = {
|
|
|
42
42
|
placeholder: "Pesquisar…"
|
|
43
43
|
},
|
|
44
44
|
DataTablePagination: {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
rowsRange: (range, total) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
48
|
-
"Linhas\xA0",
|
|
49
|
-
range,
|
|
50
|
-
"\xA0de ",
|
|
51
|
-
total
|
|
52
|
-
] }),
|
|
53
|
-
previousPageButtonLabel: "Página anterior",
|
|
54
|
-
nextPageButtonLabel: "Próxima página"
|
|
45
|
+
label: "Paginação da tabela",
|
|
46
|
+
rowsRange: (rangeStart, rangeEnd, total) => `Linhas\u00A0${rangeStart}–${rangeEnd}\u00A0de ${total}`
|
|
55
47
|
},
|
|
56
48
|
DataTableRowsPerPage: { label: "Linhas por página:" },
|
|
57
49
|
DateInput: {
|
|
@@ -130,6 +122,12 @@ var locale = {
|
|
|
130
122
|
groupingStyle: "thousand",
|
|
131
123
|
groupSeparator: "\xA0"
|
|
132
124
|
},
|
|
125
|
+
Pagination: {
|
|
126
|
+
label: "Paginação",
|
|
127
|
+
previousPageButtonLabel: "Página anterior",
|
|
128
|
+
nextPageButtonLabel: "Página seguinte",
|
|
129
|
+
pageButtonLabel: (page) => `Página ${page}`
|
|
130
|
+
},
|
|
133
131
|
RadioGroup: { clearDescription: "Pressione Backspace ou Delete para limpar." },
|
|
134
132
|
Select: {
|
|
135
133
|
placeholder: "Selecionar…",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pt-PT.js","names":["dayPickerPt","_Fragment"],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { pt as dayPickerPt } from \"@daypicker/react/locale/pt\";\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
|
|
1
|
+
{"version":3,"file":"pt-PT.js","names":["dayPickerPt","_Fragment"],"sources":["../../src/locales/pt-PT.tsx"],"sourcesContent":["import { pt as dayPickerPt } from \"@daypicker/react/locale/pt\";\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 label: \"Paginação da tabela\",\n rowsRange: (rangeStart, rangeEnd, total) =>\n `Linhas\\u00A0${rangeStart}–${rangeEnd}\\u00A0de ${total}`,\n },\n DataTableRowsPerPage: {\n label: \"Linhas por página:\",\n },\n DateInput: {\n placeholder: \"dia/mês/ano\",\n formatDescription: \"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 ${end || \"data de fim ausente\"}`,\n },\n ErrorBoundary: {\n fallbackMessage: (\n <>\n Algo correu mal.\n <br />\n Pressione o botão à direita para tentar novamente. Se o problema persistir, volte a tentar\n 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: \"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} ${minLength === 1 ? \"caractér\" : \"caracteres\"}.`;\n },\n tooLong: (el) => {\n const maxLength = (el as HTMLInputElement).maxLength;\n return `Limitado a no máximo ${maxLength} ${maxLength === 1 ? \"caractér\" : \"caracteres\"}.`;\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 Pagination: {\n label: \"Paginação\",\n previousPageButtonLabel: \"Página anterior\",\n nextPageButtonLabel: \"Página seguinte\",\n pageButtonLabel: (page) => `Página ${page}`,\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,iBAAiBA;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,cA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,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,OAAO;EACP,yBAAyB;EACzB,qBAAqB;EACrB,kBAAkB,SAAS,UAAU;CACvC;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"}
|
package/dist/ostack-ui.css
CHANGED
|
@@ -797,12 +797,13 @@
|
|
|
797
797
|
opacity: 0.65;
|
|
798
798
|
box-shadow: none;
|
|
799
799
|
}
|
|
800
|
-
.o-ui-icon-button:
|
|
801
|
-
|
|
800
|
+
.o-ui-icon-button:is(:disabled, [data-disabled])[data-spinning], .o-ui-button:is(:disabled, [data-disabled])[data-spinning] {
|
|
801
|
+
cursor: progress;
|
|
802
802
|
}
|
|
803
803
|
.o-ui-icon-button:focus-visible, .o-ui-button:focus-visible {
|
|
804
804
|
outline: 2px solid var(--o-ui-accent-8);
|
|
805
805
|
outline-offset: var(--o-ui-button-focus-outline-offset);
|
|
806
|
+
z-index: 1;
|
|
806
807
|
}
|
|
807
808
|
[aria-haspopup][aria-expanded=true].o-ui-icon-button:not([data-inactive]), [aria-haspopup][aria-expanded=true].o-ui-button:not([data-inactive]) {
|
|
808
809
|
box-shadow: var(--o-ui-button-open-box-shadow, );
|
|
@@ -1813,6 +1814,9 @@ a > .o-ui-code {
|
|
|
1813
1814
|
cursor: not-allowed;
|
|
1814
1815
|
opacity: 0.5;
|
|
1815
1816
|
}
|
|
1817
|
+
.o-ui-menu-list__item-action:is(:disabled, [data-disabled])[data-spinning] {
|
|
1818
|
+
cursor: progress;
|
|
1819
|
+
}
|
|
1816
1820
|
.o-ui-menu-list__item-action:focus-visible {
|
|
1817
1821
|
outline: 2px solid var(--o-ui-primary-8);
|
|
1818
1822
|
outline-offset: var(--o-ui-menu-item-focus-outline-offset, -1px);
|
|
@@ -1919,7 +1923,7 @@ a > .o-ui-code {
|
|
|
1919
1923
|
color: var(--o-ui-menu-item-keybinds-color, var(--o-ui-neutral-9));
|
|
1920
1924
|
}
|
|
1921
1925
|
.o-ui-dropdown-menu__sub-trigger-icon {
|
|
1922
|
-
font-size: var(--o-ui-font-size-
|
|
1926
|
+
font-size: var(--o-ui-font-size-xs);
|
|
1923
1927
|
}
|
|
1924
1928
|
.o-ui-dropdown-menu__checkbox, .o-ui-dropdown-menu__radio {
|
|
1925
1929
|
display: flex;
|
|
@@ -3485,6 +3489,67 @@ a > .o-ui-code {
|
|
|
3485
3489
|
}
|
|
3486
3490
|
}
|
|
3487
3491
|
|
|
3492
|
+
.o-ui-pagination {
|
|
3493
|
+
min-width: 0;
|
|
3494
|
+
width: auto;
|
|
3495
|
+
}
|
|
3496
|
+
.o-ui-pagination__list {
|
|
3497
|
+
display: inline-flex;
|
|
3498
|
+
align-items: stretch;
|
|
3499
|
+
margin: 0;
|
|
3500
|
+
padding: 0;
|
|
3501
|
+
list-style: none;
|
|
3502
|
+
}
|
|
3503
|
+
.o-ui-pagination__item {
|
|
3504
|
+
display: flex;
|
|
3505
|
+
}
|
|
3506
|
+
.o-ui-pagination__item:not(:first-child) > .o-ui-pagination__button {
|
|
3507
|
+
margin-left: calc(var(--o-ui-space) * 0.5);
|
|
3508
|
+
}
|
|
3509
|
+
.o-ui-pagination__button {
|
|
3510
|
+
position: relative;
|
|
3511
|
+
min-width: var(--o-ui-pagination-button-min-size);
|
|
3512
|
+
min-height: var(--o-ui-pagination-button-min-size);
|
|
3513
|
+
color: var(--o-ui-neutral-a12);
|
|
3514
|
+
font-weight: 400;
|
|
3515
|
+
}
|
|
3516
|
+
.o-ui-pagination__button:not([data-current]:hover) {
|
|
3517
|
+
transition: none;
|
|
3518
|
+
}
|
|
3519
|
+
.o-ui-pagination__button[data-current] {
|
|
3520
|
+
background-color: var(--o-ui-neutral-a4);
|
|
3521
|
+
}
|
|
3522
|
+
.o-ui-pagination__page, .o-ui-pagination__ellipsis {
|
|
3523
|
+
padding: 0 0.25em;
|
|
3524
|
+
}
|
|
3525
|
+
.o-ui-pagination__ellipsis {
|
|
3526
|
+
color: var(--o-ui-neutral-a11);
|
|
3527
|
+
pointer-events: none;
|
|
3528
|
+
}
|
|
3529
|
+
.o-ui-pagination__arrow {
|
|
3530
|
+
color: var(--o-ui-neutral-a12);
|
|
3531
|
+
font-size: var(--o-ui-pagination-arrow-font-size);
|
|
3532
|
+
}
|
|
3533
|
+
.o-ui-pagination__loading > .o-ui-button__spinner {
|
|
3534
|
+
margin: 0;
|
|
3535
|
+
}
|
|
3536
|
+
.o-ui-pagination__button:is(.o-ui-button--sm, .o-ui-icon-button--sm) {
|
|
3537
|
+
--o-ui-pagination-button-min-size: 24px;
|
|
3538
|
+
--o-ui-pagination-arrow-font-size: var(--o-ui-font-size-2xs);
|
|
3539
|
+
}
|
|
3540
|
+
.o-ui-pagination__button:is(.o-ui-button--md, .o-ui-icon-button--md) {
|
|
3541
|
+
--o-ui-pagination-button-min-size: 32px;
|
|
3542
|
+
--o-ui-pagination-arrow-font-size: var(--o-ui-font-size-xs);
|
|
3543
|
+
}
|
|
3544
|
+
.o-ui-pagination__button:is(.o-ui-button--lg, .o-ui-icon-button--lg) {
|
|
3545
|
+
--o-ui-pagination-button-min-size: 40px;
|
|
3546
|
+
--o-ui-pagination-arrow-font-size: var(--o-ui-font-size-sm);
|
|
3547
|
+
}
|
|
3548
|
+
.o-ui-pagination__button:is(.o-ui-button--xl, .o-ui-icon-button--xl) {
|
|
3549
|
+
--o-ui-pagination-button-min-size: 48px;
|
|
3550
|
+
--o-ui-pagination-arrow-font-size: var(--o-ui-font-size-md);
|
|
3551
|
+
}
|
|
3552
|
+
|
|
3488
3553
|
.o-ui-radio {
|
|
3489
3554
|
border-radius: 50%;
|
|
3490
3555
|
}
|
|
@@ -3911,7 +3976,7 @@ a > .o-ui-code {
|
|
|
3911
3976
|
}
|
|
3912
3977
|
.o-ui-select__arrow {
|
|
3913
3978
|
margin-right: var(--o-ui-control-padding-x);
|
|
3914
|
-
font-size: var(--o-ui-font-size-
|
|
3979
|
+
font-size: var(--o-ui-font-size-xs) !important;
|
|
3915
3980
|
color: var(--o-ui-neutral-11);
|
|
3916
3981
|
}
|
|
3917
3982
|
.o-ui-select__arrow[data-status] {
|
|
@@ -4897,8 +4962,6 @@ a > .o-ui-code {
|
|
|
4897
4962
|
min-width: auto;
|
|
4898
4963
|
min-height: auto;
|
|
4899
4964
|
padding: 0 calc(var(--o-ui-space) * 2);
|
|
4900
|
-
font-size: var(--o-ui-font-size-sm) !important;
|
|
4901
|
-
color: !important;
|
|
4902
4965
|
border-bottom-left-radius: 0;
|
|
4903
4966
|
border-bottom-right-radius: 0;
|
|
4904
4967
|
}
|