Skip to content

Commit 97db940

Browse files
committed
fix: correct typos
1 parent 0b8242a commit 97db940

7 files changed

Lines changed: 9 additions & 9 deletions

File tree

packages/modules/data-widgets/src/themesource/datawidgets/web/_datagrid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ $root: ".widget-datagrid";
551551
display: contents;
552552
}
553553

554-
:where(#{$root}-paging-bottom, #{$root}-padding-top) {
554+
:where(#{$root}-paging-bottom, #{$root}-paging-top) {
555555
display: flex;
556556
flex-flow: row nowrap;
557557
align-items: center;

packages/pluggableWidgets/datagrid-web/src/Datagrid.editorPreview.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ const numberOfItems = 3;
5252
const cls = {
5353
root: "widget-datagrid",
5454
topBar: "widget-datagrid-top-bar table-header",
55-
pagingTop: "widget-datagrid-padding-top",
55+
pagingTop: "widget-datagrid-paging-top",
5656
ptStart: "widget-datagrid-tb-start",
5757
ptEnd: "widget-datagrid-tb-end",
5858
header: "widget-datagrid-header header-filters",
@@ -61,7 +61,7 @@ const cls = {
6161
gridHeader: "widget-datagrid-grid-head",
6262
gridBody: "widget-datagrid-grid-body table-content",
6363
footer: "widget-datagrid-footer table-footer",
64-
pb: "widget-datagrid-padding-bottom",
64+
pb: "widget-datagrid-paging-bottom",
6565
pbStart: "widget-datagrid-pb-start",
6666
pbMid: "widget-datagrid-pb-middle",
6767
pbEnd: "widget-datagrid-pb-end"
@@ -300,7 +300,7 @@ const SelectionCounter = (): ReactNode => {
300300
return (
301301
<div className="widget-datagrid-selection-counter">
302302
<span className="widget-datagrid-selection-text" aria-live="polite" aria-atomic="true">
303-
{props.selectedCountTemplateSingular}
303+
{props.selectedCountTemplateSingular || "[row count]"}
304304
</span>
305305
&nbsp;|&nbsp;
306306
<button className="widget-datagrid-btn-link">{props.clearSelectionButtonLabel}</button>

packages/pluggableWidgets/datagrid-web/src/components/WidgetTopBar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const WidgetTopBar = observer(function WidgetTopBar(): ReactElement {
1212

1313
return (
1414
<div className="widget-datagrid-top-bar table-header">
15-
<div className="widget-datagrid-padding-top">
15+
<div className="widget-datagrid-paging-top">
1616
<div className="widget-datagrid-tb-start">
1717
<If condition={selectionCounter.isTopCounterVisible}>
1818
<SelectionCounter />

packages/pluggableWidgets/gallery-web/src/Gallery.editorPreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const Content = (): ReactNode => {
113113
[`widget-gallery-lg-${lg}`]: lg
114114
})}
115115
>
116-
<Item key="selectable_DO_NOE_REMOVE!_ALWAYS_RENDER!" />
116+
<Item key="selectable_DO_NOT_REMOVE!_ALWAYS_RENDER!" />
117117
{Array.from({ length: lgCount }).map((_, index) => (
118118
<Item key={index} className="visible-md visible-lg" />
119119
))}

packages/pluggableWidgets/gallery-web/src/components/GalleryTobBarControls.tsx renamed to packages/pluggableWidgets/gallery-web/src/components/GalleryTopBarControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { SelectionCounter } from "../features/selection-counter/SelectionCounter
66
import { usePaginationConfig } from "../model/hooks/injection-hooks";
77
import { Pagination } from "./Pagination";
88

9-
export const GalleryTobBarControls = observer(function GalleryTobBarControls(): ReactElement {
9+
export const GalleryTopBarControls = observer(function GalleryTopBarControls(): ReactElement {
1010
const counterVM = useSelectionCounterViewModel();
1111
const pgConfig = usePaginationConfig();
1212

packages/pluggableWidgets/gallery-web/src/components/GalleryWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { GalleryFooterControls as FooterControls } from "./GalleryFooterControls
66
import { GalleryHeader as Header } from "./GalleryHeader";
77
import { GalleryItems as Items } from "./GalleryItems";
88
import { GalleryRoot as Root } from "./GalleryRoot";
9-
import { GalleryTobBarControls as TopBarControls } from "./GalleryTobBarControls";
109
import { GalleryTopBar as TopBar } from "./GalleryTopBar";
10+
import { GalleryTopBarControls as TopBarControls } from "./GalleryTopBarControls";
1111
import { RefreshStatus } from "./RefreshStatus";
1212

1313
export function GalleryWidget(): ReactElement {

packages/shared/widget-plugin-grid/src/core/models/datasource.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function offsetAtom(gate: DerivedPropsGate<{ datasource: { offset: number
3636
* @injectable
3737
*/
3838
export function limitAtom(gate: DerivedPropsGate<{ datasource: { limit: number } }>): ComputedAtom<number> {
39-
return computed(() => gate.props.datasource.limit, { name: 'plugin:@computed:limitAtom' });
39+
return computed(() => gate.props.datasource.limit, { name: "plugin:@computed:limitAtom" });
4040
}
4141

4242
/**

0 commit comments

Comments
 (0)