rsuite 5.66.0 → 5.67.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 (65) hide show
  1. package/AutoComplete/styles/index.css +0 -1
  2. package/Button/styles/index.css +0 -1
  3. package/Button/styles/index.less +0 -1
  4. package/CHANGELOG.md +17 -0
  5. package/Calendar/styles/index.css +0 -1
  6. package/Cascader/styles/index.css +0 -1
  7. package/CheckPicker/styles/index.css +0 -1
  8. package/CheckTree/styles/index.css +0 -1
  9. package/CheckTreePicker/styles/index.css +0 -1
  10. package/DatePicker/styles/index.css +0 -1
  11. package/DateRangePicker/styles/index.css +0 -1
  12. package/Dropdown/styles/index.css +0 -1
  13. package/IconButton/styles/index.css +0 -1
  14. package/InputGroup/styles/index.css +0 -1
  15. package/InputNumber/styles/index.css +0 -1
  16. package/InputPicker/styles/index.css +0 -1
  17. package/MultiCascadeTree/styles/index.css +0 -1
  18. package/MultiCascader/styles/index.css +0 -1
  19. package/Nav/styles/index.css +0 -1
  20. package/NavItem/package.json +3 -3
  21. package/Navbar/styles/index.css +0 -1
  22. package/Pagination/styles/index.css +0 -1
  23. package/SelectPicker/styles/index.css +0 -1
  24. package/Tabs/styles/index.css +0 -1
  25. package/TagInput/styles/index.css +0 -1
  26. package/TagPicker/styles/index.css +0 -1
  27. package/Uploader/styles/index.css +0 -1
  28. package/cjs/Nav/AdaptiveNavItem.d.ts +9 -0
  29. package/cjs/Nav/AdaptiveNavItem.js +89 -0
  30. package/cjs/Nav/Nav.js +3 -73
  31. package/cjs/Stack/Stack.js +6 -1
  32. package/cjs/Uploader/Uploader.d.ts +2 -2
  33. package/cjs/Uploader/Uploader.js +11 -9
  34. package/cjs/locales/ca_ES.d.ts +120 -0
  35. package/cjs/locales/ca_ES.js +87 -0
  36. package/cjs/locales/index.d.ts +1 -0
  37. package/cjs/locales/index.js +3 -1
  38. package/dist/rsuite-no-reset-rtl.css +0 -1
  39. package/dist/rsuite-no-reset-rtl.min.css +1 -1
  40. package/dist/rsuite-no-reset-rtl.min.css.map +1 -1
  41. package/dist/rsuite-no-reset.css +0 -1
  42. package/dist/rsuite-no-reset.min.css +1 -1
  43. package/dist/rsuite-no-reset.min.css.map +1 -1
  44. package/dist/rsuite-rtl.css +0 -1
  45. package/dist/rsuite-rtl.min.css +1 -1
  46. package/dist/rsuite-rtl.min.css.map +1 -1
  47. package/dist/rsuite.css +0 -1
  48. package/dist/rsuite.js +14 -3
  49. package/dist/rsuite.js.map +1 -1
  50. package/dist/rsuite.min.css +1 -1
  51. package/dist/rsuite.min.css.map +1 -1
  52. package/dist/rsuite.min.js +1 -1
  53. package/dist/rsuite.min.js.map +1 -1
  54. package/esm/Nav/AdaptiveNavItem.d.ts +9 -0
  55. package/esm/Nav/AdaptiveNavItem.js +83 -0
  56. package/esm/Nav/Nav.js +5 -75
  57. package/esm/Stack/Stack.js +6 -1
  58. package/esm/Uploader/Uploader.d.ts +2 -2
  59. package/esm/Uploader/Uploader.js +11 -9
  60. package/esm/locales/ca_ES.d.ts +120 -0
  61. package/esm/locales/ca_ES.js +82 -0
  62. package/esm/locales/index.d.ts +1 -0
  63. package/esm/locales/index.js +1 -0
  64. package/locales/ca_ES/package.json +7 -0
  65. package/package.json +1 -1
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { NavItemProps } from './NavItem';
3
+ /**
4
+ * The <Nav.Item> API
5
+ * When used as direct child of <Nav>, render the NavItem
6
+ * When used within a <Nav.Menu>, render the NavDropdownItem
7
+ */
8
+ declare const AdaptiveNavItem: React.ForwardRefExoticComponent<NavItemProps<string> & React.RefAttributes<any>>;
9
+ export default AdaptiveNavItem;
@@ -0,0 +1,83 @@
1
+ 'use client';
2
+ import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import React, { useContext, useEffect } from 'react';
4
+ import NavItem from "./NavItem.js";
5
+ import { useInternalId } from "../internals/hooks/index.js";
6
+ import { NavbarContext } from "../Navbar/Navbar.js";
7
+ import { SidenavContext } from "../Sidenav/Sidenav.js";
8
+ import NavContext from "./NavContext.js";
9
+ import { NavMenuActionType, NavMenuContext } from "./NavMenu.js";
10
+ import NavDropdownItem from "./NavDropdownItem.js";
11
+ import NavbarDropdownItem from "../Navbar/NavbarDropdownItem.js";
12
+ import SidenavDropdownItem from "../Sidenav/SidenavDropdownItem.js";
13
+ import NavbarItem from "../Navbar/NavbarItem.js";
14
+ import SidenavItem from "../Sidenav/SidenavItem.js";
15
+
16
+ /**
17
+ * The <Nav.Item> API
18
+ * When used as direct child of <Nav>, render the NavItem
19
+ * When used within a <Nav.Menu>, render the NavDropdownItem
20
+ */
21
+ var AdaptiveNavItem = /*#__PURE__*/React.forwardRef(function (props, ref) {
22
+ var nav = useContext(NavContext);
23
+ if (!nav) {
24
+ throw new Error('<Nav.Item> must be rendered within a <Nav> component.');
25
+ }
26
+ var parentNavMenu = useContext(NavMenuContext);
27
+ var navbar = useContext(NavbarContext);
28
+ var sidenav = useContext(SidenavContext);
29
+ var _ref = parentNavMenu !== null && parentNavMenu !== void 0 ? parentNavMenu : [],
30
+ dispatch = _ref[1];
31
+ var _id = useInternalId('Nav.Item');
32
+ useEffect(function () {
33
+ if (dispatch) {
34
+ var _props$active;
35
+ dispatch({
36
+ type: NavMenuActionType.RegisterItem,
37
+ payload: {
38
+ _id: _id,
39
+ eventKey: props.eventKey,
40
+ active: (_props$active = props.active) !== null && _props$active !== void 0 ? _props$active : false
41
+ }
42
+ });
43
+ return function () {
44
+ dispatch({
45
+ type: NavMenuActionType.UnregisterItem,
46
+ payload: {
47
+ _id: _id
48
+ }
49
+ });
50
+ };
51
+ }
52
+ }, [dispatch, _id, props.eventKey, props.active]);
53
+ if (parentNavMenu) {
54
+ if (navbar) {
55
+ return /*#__PURE__*/React.createElement(NavbarDropdownItem, _extends({
56
+ ref: ref
57
+ }, props));
58
+ }
59
+ if (sidenav) {
60
+ return /*#__PURE__*/React.createElement(SidenavDropdownItem, _extends({
61
+ ref: ref
62
+ }, props));
63
+ }
64
+ return /*#__PURE__*/React.createElement(NavDropdownItem, _extends({
65
+ ref: ref
66
+ }, props));
67
+ }
68
+ if (navbar) {
69
+ return /*#__PURE__*/React.createElement(NavbarItem, _extends({
70
+ ref: ref
71
+ }, props));
72
+ }
73
+ if (sidenav) {
74
+ return /*#__PURE__*/React.createElement(SidenavItem, _extends({
75
+ ref: ref
76
+ }, props));
77
+ }
78
+ return /*#__PURE__*/React.createElement(NavItem, _extends({
79
+ ref: ref
80
+ }, props));
81
+ });
82
+ AdaptiveNavItem.displayName = 'Nav.Item';
83
+ export default AdaptiveNavItem;
package/esm/Nav/Nav.js CHANGED
@@ -2,10 +2,9 @@
2
2
  import _extends from "@babel/runtime/helpers/esm/extends";
3
3
  import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
4
4
  var _excluded = ["as", "classPrefix", "appearance", "vertical", "justified", "reversed", "pullRight", "className", "children", "activeKey", "defaultActiveKey", "onSelect"];
5
- import React, { useContext, useEffect, useMemo } from 'react';
5
+ import React, { useContext, useMemo } from 'react';
6
6
  import PropTypes from 'prop-types';
7
- import NavItem from "./NavItem.js";
8
- import { useClassNames, useEnsuredRef, useInternalId, useControlled } from "../internals/hooks/index.js";
7
+ import { useClassNames, useEnsuredRef, useControlled } from "../internals/hooks/index.js";
9
8
  import { NavbarContext } from "../Navbar/Navbar.js";
10
9
  import { SidenavContext } from "../Sidenav/Sidenav.js";
11
10
  import NavContext from "./NavContext.js";
@@ -13,13 +12,10 @@ import Menubar from "../internals/Menu/Menubar.js";
13
12
  import { oneOf } from "../internals/propTypes/index.js";
14
13
  import { deprecateComponent } from "../internals/utils/index.js";
15
14
  import NavDropdown from "./NavDropdown.js";
16
- import NavMenu, { NavMenuActionType, NavMenuContext } from "./NavMenu.js";
15
+ import NavMenu from "./NavMenu.js";
17
16
  import NavDropdownItem from "./NavDropdownItem.js";
18
17
  import NavDropdownMenu from "./NavDropdownMenu.js";
19
- import NavbarDropdownItem from "../Navbar/NavbarDropdownItem.js";
20
- import SidenavDropdownItem from "../Sidenav/SidenavDropdownItem.js";
21
- import NavbarItem from "../Navbar/NavbarItem.js";
22
- import SidenavItem from "../Sidenav/SidenavItem.js";
18
+ import AdaptiveNavItem from "./AdaptiveNavItem.js";
23
19
  /**
24
20
  * The `Nav` component is used to create navigation links.
25
21
  * @see https://rsuitejs.com/components/nav
@@ -114,73 +110,7 @@ var DeprecatedNavDropdown = deprecateComponent(NavDropdown, '<Nav.Dropdown> is d
114
110
  DeprecatedNavDropdown.Menu = deprecateComponent(NavDropdownMenu, '<Nav.Dropdown.Menu> is deprecated, use <Nav.Menu> instead');
115
111
  DeprecatedNavDropdown.Item = deprecateComponent(NavDropdownItem, '<Nav.Dropdown.Item> is deprecated, use <Nav.Item> instead');
116
112
  Nav.Dropdown = DeprecatedNavDropdown;
117
- /**
118
- * The <Nav.Item> API
119
- * When used as direct child of <Nav>, render the NavItem
120
- * When used within a <Nav.Menu>, render the NavDropdownItem
121
- */
122
- Nav.Item = /*#__PURE__*/React.forwardRef(function (props, ref) {
123
- var nav = useContext(NavContext);
124
- if (!nav) {
125
- throw new Error('<Nav.Item> must be rendered within a <Nav> component.');
126
- }
127
- var parentNavMenu = useContext(NavMenuContext);
128
- var navbar = useContext(NavbarContext);
129
- var sidenav = useContext(SidenavContext);
130
- var _ref2 = parentNavMenu !== null && parentNavMenu !== void 0 ? parentNavMenu : [],
131
- dispatch = _ref2[1];
132
- var _id = useInternalId('Nav.Item');
133
- useEffect(function () {
134
- if (dispatch) {
135
- var _props$active;
136
- dispatch({
137
- type: NavMenuActionType.RegisterItem,
138
- payload: {
139
- _id: _id,
140
- eventKey: props.eventKey,
141
- active: (_props$active = props.active) !== null && _props$active !== void 0 ? _props$active : false
142
- }
143
- });
144
- return function () {
145
- dispatch({
146
- type: NavMenuActionType.UnregisterItem,
147
- payload: {
148
- _id: _id
149
- }
150
- });
151
- };
152
- }
153
- }, [dispatch, _id, props.eventKey, props.active]);
154
- if (parentNavMenu) {
155
- if (navbar) {
156
- return /*#__PURE__*/React.createElement(NavbarDropdownItem, _extends({
157
- ref: ref
158
- }, props));
159
- }
160
- if (sidenav) {
161
- return /*#__PURE__*/React.createElement(SidenavDropdownItem, _extends({
162
- ref: ref
163
- }, props));
164
- }
165
- return /*#__PURE__*/React.createElement(NavDropdownItem, _extends({
166
- ref: ref
167
- }, props));
168
- }
169
- if (navbar) {
170
- return /*#__PURE__*/React.createElement(NavbarItem, _extends({
171
- ref: ref
172
- }, props));
173
- }
174
- if (sidenav) {
175
- return /*#__PURE__*/React.createElement(SidenavItem, _extends({
176
- ref: ref
177
- }, props));
178
- }
179
- return /*#__PURE__*/React.createElement(NavItem, _extends({
180
- ref: ref
181
- }, props));
182
- });
183
- Nav.Item.displayName = 'Nav.Item';
113
+ Nav.Item = AdaptiveNavItem;
184
114
  Nav.Menu = NavMenu;
185
115
  Nav.displayName = 'Nav';
186
116
  Nav.propTypes = {
@@ -8,6 +8,11 @@ import { isSupportFlexGap, ReactChildren } from "../internals/utils/index.js";
8
8
  import { oneOf } from "../internals/propTypes/index.js";
9
9
  import { useClassNames, useCustom } from "../internals/hooks/index.js";
10
10
  import StackItem from "./StackItem.js";
11
+ function isStackItem(child) {
12
+ var _child$type;
13
+ return child.type === StackItem || ((_child$type = child.type) === null || _child$type === void 0 ? void 0 : _child$type.displayName) === 'StackItem';
14
+ }
15
+
11
16
  /**
12
17
  * The `Stack` component is a quick layout component through Flexbox,
13
18
  * supporting vertical and horizontal stacking, custom spacing and line wrapping.
@@ -61,7 +66,7 @@ var Stack = /*#__PURE__*/React.forwardRef(function (props, ref) {
61
66
  className: classes,
62
67
  style: styles
63
68
  }), ReactChildren.map(filterChildren, function (child, index) {
64
- var childNode = childrenRenderMode === 'wrap' && child.type !== StackItem ? /*#__PURE__*/React.createElement(StackItem, {
69
+ var childNode = childrenRenderMode === 'wrap' && !isStackItem(child) ? /*#__PURE__*/React.createElement(StackItem, {
65
70
  key: index,
66
71
  className: prefix('item'),
67
72
  style: !isSupportGap ? itemStyles : undefined
@@ -36,7 +36,7 @@ export interface UploaderProps extends WithAsProps, Omit<UploadTriggerProps, 'on
36
36
  fileList?: FileType[];
37
37
  /** Upload the parameters with */
38
38
  data?: any;
39
- /** Allow multiple file uploads to be selected at a time */
39
+ /** Allow multiple file uploads */
40
40
  multiple?: boolean;
41
41
  /** Disabled upload button */
42
42
  disabled?: boolean;
@@ -80,7 +80,7 @@ export interface UploaderProps extends WithAsProps, Omit<UploadTriggerProps, 'on
80
80
  /** Allow uploading of files. Check function before file upload, return false without uploading */
81
81
  shouldUpload?: (file: FileType) => boolean | Promise<boolean>;
82
82
  /** callback function that the upload queue has changed */
83
- onChange?: (fileList: FileType[]) => void;
83
+ onChange?: (fileList: FileType[], event: React.ChangeEvent | React.MouseEvent) => void;
84
84
  /** The callback function that starts the upload file */
85
85
  onUpload?: (file: FileType, uploadData: any, xhr: XMLHttpRequest) => void;
86
86
  /** In the file list, for uploading failed files, click the callback function to upload */
@@ -301,13 +301,15 @@ var Uploader = /*#__PURE__*/React.forwardRef(function (props, ref) {
301
301
  return;
302
302
  }
303
303
  var upload = function upload() {
304
- onChange === null || onChange === void 0 ? void 0 : onChange(nextFileList);
305
- dispatch({
306
- type: 'push',
307
- files: newFileList
308
- }, function () {
309
- autoUpload && handleAjaxUpload();
310
- });
304
+ onChange === null || onChange === void 0 ? void 0 : onChange(nextFileList, event);
305
+ if (rootRef.current) {
306
+ dispatch({
307
+ type: 'push',
308
+ files: newFileList
309
+ }, function () {
310
+ autoUpload && handleAjaxUpload();
311
+ });
312
+ }
311
313
  };
312
314
  if (checkState instanceof Promise) {
313
315
  checkState.then(function (res) {
@@ -317,7 +319,7 @@ var Uploader = /*#__PURE__*/React.forwardRef(function (props, ref) {
317
319
  }
318
320
  upload();
319
321
  };
320
- var handleRemoveFile = function handleRemoveFile(fileKey) {
322
+ var handleRemoveFile = function handleRemoveFile(fileKey, event) {
321
323
  var _xhrs$current, _xhrs$current$file$fi;
322
324
  var file = find(fileList.current, function (f) {
323
325
  return f.fileKey === fileKey;
@@ -334,7 +336,7 @@ var Uploader = /*#__PURE__*/React.forwardRef(function (props, ref) {
334
336
  fileKey: fileKey
335
337
  });
336
338
  onRemove === null || onRemove === void 0 ? void 0 : onRemove(file);
337
- onChange === null || onChange === void 0 ? void 0 : onChange(nextFileList);
339
+ onChange === null || onChange === void 0 ? void 0 : onChange(nextFileList, event);
338
340
  cleanInputValue();
339
341
  };
340
342
  var handleReupload = function handleReupload(file) {
@@ -0,0 +1,120 @@
1
+ declare const _default: {
2
+ common: {
3
+ loading: string;
4
+ emptyMessage: string;
5
+ remove: string;
6
+ clear: string;
7
+ };
8
+ Plaintext: {
9
+ unfilled: string;
10
+ notSelected: string;
11
+ notUploaded: string;
12
+ };
13
+ Pagination: {
14
+ more: string;
15
+ prev: string;
16
+ next: string;
17
+ first: string;
18
+ last: string;
19
+ limit: string;
20
+ total: string;
21
+ skip: string;
22
+ };
23
+ Calendar: {
24
+ sunday: string;
25
+ monday: string;
26
+ tuesday: string;
27
+ wednesday: string;
28
+ thursday: string;
29
+ friday: string;
30
+ saturday: string;
31
+ ok: string;
32
+ today: string;
33
+ yesterday: string;
34
+ hours: string;
35
+ minutes: string;
36
+ seconds: string;
37
+ /**
38
+ * Format of the string is based on Unicode Technical Standard #35:
39
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
40
+ **/
41
+ formattedMonthPattern: string;
42
+ formattedDayPattern: string;
43
+ dateLocale: Locale;
44
+ };
45
+ DatePicker: {
46
+ sunday: string;
47
+ monday: string;
48
+ tuesday: string;
49
+ wednesday: string;
50
+ thursday: string;
51
+ friday: string;
52
+ saturday: string;
53
+ ok: string;
54
+ today: string;
55
+ yesterday: string;
56
+ hours: string;
57
+ minutes: string;
58
+ seconds: string;
59
+ /**
60
+ * Format of the string is based on Unicode Technical Standard #35:
61
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
62
+ **/
63
+ formattedMonthPattern: string;
64
+ formattedDayPattern: string;
65
+ dateLocale: Locale;
66
+ };
67
+ DateRangePicker: {
68
+ last7Days: string;
69
+ sunday: string;
70
+ monday: string;
71
+ tuesday: string;
72
+ wednesday: string;
73
+ thursday: string;
74
+ friday: string;
75
+ saturday: string;
76
+ ok: string;
77
+ today: string;
78
+ yesterday: string;
79
+ hours: string;
80
+ minutes: string;
81
+ seconds: string;
82
+ /**
83
+ * Format of the string is based on Unicode Technical Standard #35:
84
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
85
+ **/
86
+ formattedMonthPattern: string;
87
+ formattedDayPattern: string;
88
+ dateLocale: Locale;
89
+ };
90
+ Picker: {
91
+ noResultsText: string;
92
+ placeholder: string;
93
+ searchPlaceholder: string;
94
+ checkAll: string;
95
+ };
96
+ InputPicker: {
97
+ newItem: string;
98
+ createOption: string;
99
+ };
100
+ Uploader: {
101
+ inited: string;
102
+ progress: string;
103
+ error: string;
104
+ complete: string;
105
+ emptyFile: string;
106
+ upload: string;
107
+ removeFile: string;
108
+ };
109
+ CloseButton: {
110
+ closeLabel: string;
111
+ };
112
+ Breadcrumb: {
113
+ expandText: string;
114
+ };
115
+ Toggle: {
116
+ on: string;
117
+ off: string;
118
+ };
119
+ };
120
+ export default _default;
@@ -0,0 +1,82 @@
1
+ 'use client';
2
+ import _extends from "@babel/runtime/helpers/esm/extends";
3
+ import ca from 'date-fns/locale/ca';
4
+ var Calendar = {
5
+ sunday: 'Dg',
6
+ monday: 'Dl',
7
+ tuesday: 'Dt',
8
+ wednesday: 'Dc',
9
+ thursday: 'Dj',
10
+ friday: 'Dv',
11
+ saturday: 'Ds',
12
+ ok: 'Acceptar',
13
+ today: 'Avui',
14
+ yesterday: 'Ahir',
15
+ hours: 'Hores',
16
+ minutes: 'Minuts',
17
+ seconds: 'Segons',
18
+ /**
19
+ * Format of the string is based on Unicode Technical Standard #35:
20
+ * https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
21
+ **/
22
+ formattedMonthPattern: 'MMM yyyy',
23
+ formattedDayPattern: 'dd MMM yyyy',
24
+ dateLocale: ca
25
+ };
26
+ export default {
27
+ common: {
28
+ loading: 'Carregant...',
29
+ emptyMessage: 'Sense dades',
30
+ remove: 'Eliminar',
31
+ clear: 'Netejar'
32
+ },
33
+ Plaintext: {
34
+ unfilled: 'Sense omplir',
35
+ notSelected: 'No seleccionat',
36
+ notUploaded: 'No pujat'
37
+ },
38
+ Pagination: {
39
+ more: 'Més',
40
+ prev: 'Anterior',
41
+ next: 'Següent',
42
+ first: 'Primer',
43
+ last: 'Últim',
44
+ limit: '{0} / pàgines',
45
+ total: 'Total: {0}',
46
+ skip: 'Anar{0}'
47
+ },
48
+ Calendar: Calendar,
49
+ DatePicker: _extends({}, Calendar),
50
+ DateRangePicker: _extends({}, Calendar, {
51
+ last7Days: 'Últims 7 dies'
52
+ }),
53
+ Picker: {
54
+ noResultsText: "No s'han trobat resultats",
55
+ placeholder: 'Seleccionar',
56
+ searchPlaceholder: 'Cercar',
57
+ checkAll: 'Tots'
58
+ },
59
+ InputPicker: {
60
+ newItem: 'Nou',
61
+ createOption: 'Crear opció "{0}"'
62
+ },
63
+ Uploader: {
64
+ inited: 'Inicial',
65
+ progress: 'Pujant',
66
+ error: 'Error',
67
+ complete: 'Completat',
68
+ emptyFile: 'Buit',
69
+ upload: 'Pujar',
70
+ removeFile: 'Eliminar fitxer'
71
+ },
72
+ CloseButton: {
73
+ closeLabel: 'Tancar'
74
+ },
75
+ Breadcrumb: {
76
+ expandText: 'Mostrar ruta'
77
+ },
78
+ Toggle: {
79
+ on: 'Encendre',
80
+ off: 'Apagar'
81
+ }
82
+ };
@@ -6,6 +6,7 @@ export { default as enGB } from './en_GB';
6
6
  export { default as enUS } from './en_US';
7
7
  export { default as esAR } from './es_AR';
8
8
  export { default as esES } from './es_ES';
9
+ export { default as caES } from './ca_ES';
9
10
  export { default as fiFI } from './fi_FI';
10
11
  export { default as huHU } from './hu_HU';
11
12
  export { default as itIT } from './it_IT';
@@ -6,6 +6,7 @@ export { default as enGB } from "./en_GB.js";
6
6
  export { default as enUS } from "./en_US.js";
7
7
  export { default as esAR } from "./es_AR.js";
8
8
  export { default as esES } from "./es_ES.js";
9
+ export { default as caES } from "./ca_ES.js";
9
10
  export { default as fiFI } from "./fi_FI.js";
10
11
  export { default as huHU } from "./hu_HU.js";
11
12
  export { default as itIT } from "./it_IT.js";
@@ -0,0 +1,7 @@
1
+ {
2
+ "name": "rsuite/locales/ca_ES",
3
+ "private": true,
4
+ "main": "../../cjs/locales/ca_ES.js",
5
+ "module": "../../esm/locales/ca_ES.js",
6
+ "types": "../../esm/locales/ca_ES.d.ts"
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsuite",
3
- "version": "5.66.0",
3
+ "version": "5.67.0",
4
4
  "description": "A suite of react components",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",