Skip to content

Commit

Permalink
fixed seo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshBot-Debug committed Mar 10, 2024
1 parent 0adf3f9 commit dbab125
Show file tree
Hide file tree
Showing 12 changed files with 256 additions and 159 deletions.
4 changes: 2 additions & 2 deletions build/index.esm.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jjmyers/datatable",
"version": "1.0.12",
"version": "1.0.13",
"private": false,
"main": "build/index.js",
"module": "build/index.esm.js",
Expand Down
6 changes: 3 additions & 3 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function App() {
{ field: "email", width: 250, datatype: "email", sortable: false, filterable: false },
{ field: "phone", datatype: "phone" },
{ field: "isActive", datatype: "boolean" },
{ field: "profileImage", datatype: "image" },
// { field: "profileImage", datatype: "image" },
{ field: "website", width: 250, datatype: "link" },
{ field: "loginTime", datatype: "time" },
{ field: "dateOfBirth", width: 180, datatype: "date" },
Expand Down Expand Up @@ -89,8 +89,8 @@ function App() {
return (
<Datatable
isFetching={isFetching}
RowOptionMenu={RowOptionMenu}
AppsPanel={AppsPanel}
// RowOptionMenu={RowOptionMenu}
// AppsPanel={AppsPanel}
isSelectable={row => row.isActive}
columnNameFontSize={16}
{...controller}
Expand Down
3 changes: 3 additions & 0 deletions src/lib/BaseDatatable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ export function BaseDatatable<Data extends Record<string, any>>(props: Datatable
{
RowOptionMenu && (
<button
type="button"
aria-label="row options"
{...triggerProps}
onClick={(e) => { e.stopPropagation(); triggerProps.onClick(e) }}
>
Expand Down Expand Up @@ -487,6 +489,7 @@ function Popper(props: {
return (
<>
<button
aria-label="table options"
type="button"
ref={refs.setReference}
{...buttonProps}
Expand Down
2 changes: 2 additions & 0 deletions src/lib/features/OmitColumn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function OmitColumn<Data extends Record<string, any>>(config: Pro
<div className="omit-column-list">
<div className="omit-column-list-item-container">
<input
name="check-uncheck all"
type="checkbox"
id={`omit-column-list-item-${id}-all`}
checked={!isAllOmitted}
Expand All @@ -53,6 +54,7 @@ export default function OmitColumn<Data extends Record<string, any>>(config: Pro
className="omit-column-list-item-container"
>
<input
name="check-uncheck"
id={`omit-column-list-item-${id}-${String(column.field)}`}
type="checkbox"
checked={!column.omit}
Expand Down
Loading

0 comments on commit dbab125

Please sign in to comment.