Skip to content

Commit

Permalink
Merge branch 'master' of github.com:DevoInc/genesys-ui
Browse files Browse the repository at this point in the history
  • Loading branch information
soslayando committed Oct 23, 2024
2 parents cad51ac + 82109b2 commit d70ecf0
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 15 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [13.3.0](https://github.com/DevoInc/genesys-ui/compare/v13.2.0...v13.3.0) (2024-10-23)


### Features

* integration of components with component tokens instead of alias ones ([55bb8fe](https://github.com/DevoInc/genesys-ui/commit/55bb8feaa111a4d2de3696d5060885956c235d09))

## [13.2.0](https://github.com/DevoInc/genesys-ui/compare/v13.1.0...v13.2.0) (2024-10-22)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "genesys-ui",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"private": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/code/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui-code",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -30,7 +30,7 @@
"dpdm": "dpdm --exit-code circular:1 ./src/index.ts"
},
"peerDependencies": {
"@devoinc/genesys-ui": "^13.2.0",
"@devoinc/genesys-ui": "^13.3.0",
"ahooks": "3.x.x",
"monaco-editor-core": "0.x.x",
"react": "16.x || 17.x || 18.x",
Expand Down
4 changes: 2 additions & 2 deletions packages/color/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui-color",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -29,7 +29,7 @@
"author": "",
"license": "MIT",
"peerDependencies": {
"@devoinc/genesys-ui": "^13.2.0",
"@devoinc/genesys-ui": "^13.3.0",
"polished": "4.x.x",
"react": "16.x || 17.x || 18.x",
"react-color": "2.x.x",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/datetime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui-datetime",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -31,7 +31,7 @@
"license": "MIT",
"peerDependencies": {
"@devoinc/genesys-icons": "4.x.x || 5.x.x || 6.x.x",
"@devoinc/genesys-ui": "^13.2.0",
"@devoinc/genesys-ui": "^13.3.0",
"date-fns": "2.x.x",
"react": "16.x || 17.x || 18.x",
"react-popper": "2.x.x",
Expand Down
6 changes: 3 additions & 3 deletions packages/table/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui-table",
"version": "13.2.0",
"version": "13.3.0",
"description": "Genesys composable table",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -31,8 +31,8 @@
"license": "MIT",
"peerDependencies": {
"@devoinc/genesys-icons": "^4.x.x || ^5.x.x || ^6.x.x",
"@devoinc/genesys-ui": "^13.2.0",
"@devoinc/genesys-ui-datetime": "^13.2.0",
"@devoinc/genesys-ui": "^13.3.0",
"@devoinc/genesys-ui-datetime": "^13.3.0",
"@tanstack/react-virtual": "3.x.x",
"date-fns": "2.x.x",
"date-fns-tz": "2.x.x",
Expand Down
6 changes: 4 additions & 2 deletions packages/table/src/core/HeaderCell/HeaderCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ interface HeaderCellProps {
offsetX: number;
children: React.ReactNode;
title?: string;
filter?: boolean;
}

export const HeaderCell: React.FC<HeaderCellProps> = ({
Expand All @@ -21,8 +22,9 @@ export const HeaderCell: React.FC<HeaderCellProps> = ({
offsetX,
children,
title,
filter
}) => {
const { density, onSort, resizableColumns, showFilters } = React.useContext(TableContext);
const { density, onSort, resizableColumns } = React.useContext(TableContext);

return (
<StyledHeaderCell
Expand All @@ -42,7 +44,7 @@ export const HeaderCell: React.FC<HeaderCellProps> = ({
}
>
{children}
{colDef.sortable && !showFilters && <OrderIndicator colDef={colDef} />}
{colDef.sortable && !filter && <OrderIndicator colDef={colDef} />}
{(colDef?.resizable ?? resizableColumns) && (
<StyledHeaderCellResizer
$density={density}
Expand Down
1 change: 1 addition & 0 deletions packages/table/src/core/TableHead/TableHead.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export const TableHead: React.FC<TableHeadProps> = ({
colDef={colDef}
width={virtualColumn ? `${virtualColumn.size}px` : 'auto'}
offsetX={virtualColumn ? virtualColumn.start : undefined}
filter={true}
>
{colDef?.headerOnFilterPosition ? (
colDef?.headerRenderer ? (
Expand Down
1 change: 1 addition & 0 deletions packages/table/stories/column/Order.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const OrderTable = () => {
editable: false,
sortable: true,
}}
showFilters
colDefs={updateColDefsWithOrderStruct(colDefs, orderStruct)}
data={dataOrdered}
/>
Expand Down
4 changes: 2 additions & 2 deletions packages/upload/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devoinc/genesys-ui-upload",
"version": "13.2.0",
"version": "13.3.0",
"description": "",
"type": "module",
"scripts": {
Expand Down Expand Up @@ -30,7 +30,7 @@
"license": "MIT",
"peerDependencies": {
"@devoinc/genesys-icons": "4.x.x || 5.x.x || 6.x.x",
"@devoinc/genesys-ui": "^13.2.0",
"@devoinc/genesys-ui": "^13.3.0",
"filepond-plugin-file-validate-size": "2.x.x",
"filepond-plugin-file-validate-type": "1.x.x",
"filepond-plugin-image-preview": "4.x.x",
Expand Down

0 comments on commit d70ecf0

Please sign in to comment.