@commercetools-uikit/hooks 14.0.1 → 14.0.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.
@@ -353,7 +353,7 @@ var useDataTableSortingState = function useDataTableSortingState() {
353
353
  var useDataTableSortingState$1 = useDataTableSortingState;
354
354
 
355
355
  // NOTE: This string will be replaced on build time with the package version.
356
- var version = "14.0.1";
356
+ var version = "14.0.3";
357
357
 
358
358
  exports.useDataTableSortingState = useDataTableSortingState$1;
359
359
  exports.useFieldId = useFieldId$1;
@@ -353,7 +353,7 @@ var useDataTableSortingState = function useDataTableSortingState() {
353
353
  var useDataTableSortingState$1 = useDataTableSortingState;
354
354
 
355
355
  // NOTE: This string will be replaced on build time with the package version.
356
- var version = "14.0.1";
356
+ var version = "14.0.3";
357
357
 
358
358
  exports.useDataTableSortingState = useDataTableSortingState$1;
359
359
  exports.useFieldId = useFieldId$1;
@@ -333,6 +333,6 @@ var useDataTableSortingState = function useDataTableSortingState() {
333
333
  var useDataTableSortingState$1 = useDataTableSortingState;
334
334
 
335
335
  // NOTE: This string will be replaced on build time with the package version.
336
- var version = "14.0.1";
336
+ var version = "14.0.3";
337
337
 
338
338
  export { useDataTableSortingState$1 as useDataTableSortingState, useFieldId$1 as useFieldId, usePaginationState$1 as usePaginationState, usePrevious$1 as usePrevious, useRowSelection$1 as useRowSelection, useSorting$1 as useSorting, useToggleState$1 as useToggleState, version };
@@ -5,4 +5,5 @@ export { default as useRowSelection } from './use-row-selection';
5
5
  export { default as useSorting } from './use-sorting';
6
6
  export { default as usePaginationState } from './use-pagination-state';
7
7
  export { default as useDataTableSortingState } from './use-data-table-sorting-state';
8
+ export * from './use-data-table-sorting-state/export-types';
8
9
  export { default as version } from './version';
@@ -0,0 +1 @@
1
+ export type { TSortDefinition, TDataTableSortingState, } from './use-data-table-sorting-state';
@@ -1 +1,2 @@
1
1
  export { default } from './use-data-table-sorting-state';
2
+ export * from './export-types';
@@ -1,8 +1,8 @@
1
- declare type TSortDefinition = {
1
+ export declare type TSortDefinition = {
2
2
  key: string;
3
3
  order: 'desc' | 'asc';
4
4
  };
5
- declare type TDataTableSortingState = {
5
+ export declare type TDataTableSortingState = {
6
6
  value: TSortDefinition;
7
7
  onChange: (key: TSortDefinition['key'], order: TSortDefinition['order']) => void;
8
8
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/hooks",
3
3
  "description": "A collection of React hooks used across some of the UI-Kit components.",
4
- "version": "14.0.1",
4
+ "version": "14.0.3",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",