@redis-ui/components 47.5.1 → 47.5.3

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.
@@ -17,6 +17,6 @@ var SwitchCompose = styled_components.default.div.attrs(() => {
17
17
  }).withConfig({
18
18
  displayName: "Composestyle__SwitchCompose",
19
19
  componentId: "RedisUI__sc-6vrwxt-0"
20
- })(["display:inline-flex;flex-direction:row;gap:", ";"], () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.switchButton.gap);
20
+ })(["display:inline-flex;flex-direction:row;align-items:center;gap:", ";"], () => (0, _redislabsdev_redis_ui_styles.useTheme)().components.switchButton.gap);
21
21
  //#endregion
22
22
  exports.SwitchCompose = SwitchCompose;
@@ -15,6 +15,6 @@ var SwitchCompose = _styled.div.attrs(() => {
15
15
  }).withConfig({
16
16
  displayName: "Composestyle__SwitchCompose",
17
17
  componentId: "RedisUI__sc-6vrwxt-0"
18
- })(["display:inline-flex;flex-direction:row;gap:", ";"], () => useTheme().components.switchButton.gap);
18
+ })(["display:inline-flex;flex-direction:row;align-items:center;gap:", ";"], () => useTheme().components.switchButton.gap);
19
19
  //#endregion
20
20
  export { SwitchCompose };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/components",
3
3
  "license": "UNLICENSED",
4
- "version": "47.5.1",
4
+ "version": "47.5.3",
5
5
  "type": "module",
6
6
  "sideEffects": false,
7
7
  "repository": "git@github.com:redislabsdev/redis-ui.git",
@@ -96,7 +96,7 @@ import { PaginationInfoLabelProps } from '@redis-ui/components';
96
96
  import { columns, tableData } from './TableStory.data';
97
97
 
98
98
  const renderRowCount: PaginationInfoLabelProps['renderer'] = ({ visibleItemCount, totalItemCount }) =>
99
- `Showing ${visibleItemCount} out of ${totalItemCount} rows`;
99
+ `Showing ${visibleItemCount} out of ${totalItemCount} ${totalItemCount === 1 ? 'row' : 'rows'}`;
100
100
 
101
101
  const renderPageCount: PaginationInfoLabelProps['renderer'] = ({ pageIndex, pageCount }) =>
102
102
  `${pageIndex + 1} of ${pageCount}`;