@geotab/zenith 1.20.0 → 1.21.0

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.
Files changed (53) hide show
  1. package/README.md +8 -0
  2. package/dist/dateRange/dateRange.d.ts +2 -0
  3. package/dist/dateRange/dateRange.js +109 -20
  4. package/dist/dropdown/dropdown.js +1 -1
  5. package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
  6. package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.js +1 -1
  7. package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.d.ts +28 -0
  8. package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +177 -1
  9. package/dist/groupsFilter/groupsFilter.js +24 -3
  10. package/dist/groupsFilter/groupsFilterAdvancedValue.d.ts +16 -0
  11. package/dist/groupsFilter/groupsFilterAdvancedValue.js +34 -0
  12. package/dist/header/components/basicToolbar/basicToolbar.js +1 -1
  13. package/dist/index.css +88 -1
  14. package/dist/pagination/pagination.d.ts +1 -0
  15. package/dist/pagination/pagination.js +13 -4
  16. package/dist/table/children/useTableChildren.d.ts +1 -1
  17. package/dist/table/children/useTableChildren.js +4 -3
  18. package/dist/table/table.js +1 -1
  19. package/dist/utils/localization/translations/cs-json.d.ts +2 -0
  20. package/dist/utils/localization/translations/cs-json.js +3 -1
  21. package/dist/utils/localization/translations/de-json.d.ts +2 -0
  22. package/dist/utils/localization/translations/de-json.js +3 -1
  23. package/dist/utils/localization/translations/en-json.d.ts +7 -0
  24. package/dist/utils/localization/translations/en-json.js +8 -1
  25. package/dist/utils/localization/translations/es-json.d.ts +2 -0
  26. package/dist/utils/localization/translations/es-json.js +3 -1
  27. package/dist/utils/localization/translations/fr-FR-json.d.ts +2 -0
  28. package/dist/utils/localization/translations/fr-FR-json.js +3 -1
  29. package/dist/utils/localization/translations/fr-json.d.ts +2 -0
  30. package/dist/utils/localization/translations/fr-json.js +3 -1
  31. package/dist/utils/localization/translations/id-json.d.ts +2 -0
  32. package/dist/utils/localization/translations/id-json.js +3 -1
  33. package/dist/utils/localization/translations/it-json.d.ts +2 -0
  34. package/dist/utils/localization/translations/it-json.js +3 -1
  35. package/dist/utils/localization/translations/ja-json.d.ts +2 -0
  36. package/dist/utils/localization/translations/ja-json.js +3 -1
  37. package/dist/utils/localization/translations/ms-json.d.ts +2 -0
  38. package/dist/utils/localization/translations/ms-json.js +3 -1
  39. package/dist/utils/localization/translations/nl-json.d.ts +2 -0
  40. package/dist/utils/localization/translations/nl-json.js +3 -1
  41. package/dist/utils/localization/translations/pl-json.d.ts +2 -0
  42. package/dist/utils/localization/translations/pl-json.js +3 -1
  43. package/dist/utils/localization/translations/pt-BR-json.d.ts +2 -0
  44. package/dist/utils/localization/translations/pt-BR-json.js +3 -1
  45. package/dist/utils/localization/translations/sv-json.d.ts +2 -0
  46. package/dist/utils/localization/translations/sv-json.js +3 -1
  47. package/dist/utils/localization/translations/th-json.d.ts +2 -0
  48. package/dist/utils/localization/translations/th-json.js +3 -1
  49. package/dist/utils/localization/translations/tr-json.d.ts +2 -0
  50. package/dist/utils/localization/translations/tr-json.js +3 -1
  51. package/dist/utils/localization/translations/zh-Hans-json.d.ts +2 -0
  52. package/dist/utils/localization/translations/zh-Hans-json.js +3 -1
  53. package/package.json +3 -3
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BasicToolbar = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const classNames_1 = require("../../../commonHelpers/classNames/classNames");
6
- const BasicToolbar = ({ className = "", leftElements, middleElements, rightElements, isMobile, leftElementsRef, rightElementsRef }) => (0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-header", className ? className : "", isMobile ? "zen-header--mobile" : ""]), children: [(0, jsx_runtime_1.jsx)("div", { ref: leftElementsRef, className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--left", leftElements ? "" : "zen-header__section--hidden"]), children: leftElements }), isMobile ? (0, jsx_runtime_1.jsxs)("div", { className: "zen-header__right-sections", children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--middle", middleElements ? "" : "zen-header__section--hidden"]), children: middleElements }), (0, jsx_runtime_1.jsx)("div", { ref: rightElementsRef, className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--right", rightElements ? "" : "zen-header__section--hidden"]), children: rightElements })] }) :
6
+ const BasicToolbar = ({ className = "", leftElements, middleElements, rightElements, isMobile, leftElementsRef, rightElementsRef }) => (0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-header", className ? className : "", isMobile ? "zen-header--mobile" : ""]), children: [(0, jsx_runtime_1.jsx)("div", { ref: leftElementsRef, className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--left", leftElements ? "" : "zen-header__section--hidden", !isMobile && !rightElements ? "zen-header__section--single" : ""]), children: leftElements }), isMobile ? (0, jsx_runtime_1.jsxs)("div", { className: "zen-header__right-sections", children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--middle", middleElements ? "" : "zen-header__section--hidden"]), children: middleElements }), (0, jsx_runtime_1.jsx)("div", { ref: rightElementsRef, className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--right", rightElements ? "" : "zen-header__section--hidden"]), children: rightElements })] }) :
7
7
  (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("div", { className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--middle", middleElements ? "" : "zen-header__section--hidden"]), children: middleElements }), (0, jsx_runtime_1.jsx)("div", { ref: rightElementsRef, className: (0, classNames_1.classNames)(["zen-header__section zen-header__section--right", rightElements ? "" : "zen-header__section--hidden"]), children: rightElements })] })] });
8
8
  exports.BasicToolbar = BasicToolbar;
package/dist/index.css CHANGED
@@ -7893,6 +7893,68 @@
7893
7893
  .zen-radio--disabled .zen-radio__label .zen-radio__label-text {
7894
7894
  color: var(--text-button-disabled);
7895
7895
  }
7896
+ .zen-date-range-wrapper {
7897
+ display: flex;
7898
+ flex-wrap: nowrap;
7899
+ width: 226px;
7900
+ }
7901
+ .zen-date-range-wrapper .zen-date-range__stepper {
7902
+ display: flex;
7903
+ border: var(--border-width-default) solid var(--borders-general);
7904
+ border-radius: var(--border-radius-default);
7905
+ justify-content: center;
7906
+ align-items: center;
7907
+ background: var(--backgrounds-main);
7908
+ fill: var(--action-secondary--default);
7909
+ width: 32px;
7910
+ cursor: pointer;
7911
+ flex-shrink: 0;
7912
+ }
7913
+ .zen-date-range-wrapper .zen-date-range__stepper--left {
7914
+ margin-right: -1px;
7915
+ border-top-right-radius: 0;
7916
+ border-bottom-right-radius: 0;
7917
+ }
7918
+ .zen-date-range-wrapper .zen-date-range__stepper--right {
7919
+ border-top-left-radius: 0;
7920
+ border-bottom-left-radius: 0;
7921
+ margin-left: -1px;
7922
+ }
7923
+ .zen-date-range-wrapper .zen-date-range__stepper:hover:not(.zen-date-range__stepper:disabled),
7924
+ .zen-date-range-wrapper .zen-date-range__stepper:focus {
7925
+ z-index: 1;
7926
+ background-color: var(--backgrounds-hover);
7927
+ border: var(--border-width-default) solid var(--borders-form-field--hover);
7928
+ }
7929
+ .zen-date-range-wrapper .zen-date-range__stepper:active:not(.zen-date-range__stepper:disabled) {
7930
+ color: var(--text-reverse-primary);
7931
+ fill: var(--text-reverse-primary);
7932
+ border-color: var(--action-secondary--hover);
7933
+ background-color: var(--action-secondary--hover);
7934
+ }
7935
+ .zen-date-range-wrapper .zen-date-range__stepper:focus-visible {
7936
+ outline: none;
7937
+ }
7938
+ .zen-date-range-wrapper .zen-date-range__stepper:disabled {
7939
+ color: var(--text-button-disabled);
7940
+ fill: var(--text-button-disabled);
7941
+ background-color: transparent;
7942
+ cursor: default;
7943
+ }
7944
+ .zen-date-range-wrapper.zen-date-range-wrapper--drive {
7945
+ width: 296px;
7946
+ }
7947
+ .zen-date-range-wrapper.zen-date-range-wrapper--drive .zen-date-range__stepper {
7948
+ height: 44px;
7949
+ width: 44px;
7950
+ }
7951
+ .zen-date-range-wrapper.zen-date-range-wrapper--drive-tablet {
7952
+ width: 296px;
7953
+ }
7954
+ .zen-date-range-wrapper.zen-date-range-wrapper--drive-tablet .zen-date-range__stepper {
7955
+ height: 46px;
7956
+ width: 46px;
7957
+ }
7896
7958
  .zen-date-range {
7897
7959
  box-sizing: border-box;
7898
7960
  }
@@ -7908,6 +7970,25 @@
7908
7970
  .zen-date-range--error.zen-date-range--error {
7909
7971
  border: 1px solid var(--text-error-message);
7910
7972
  }
7973
+ .zen-date-range--with-stepper.zen-date-range--with-stepper {
7974
+ width: 100%;
7975
+ justify-content: center;
7976
+ border-radius: 0;
7977
+ }
7978
+ .zen-date-range--with-stepper.zen-date-range--with-stepper .zen-caption__content {
7979
+ margin: 0;
7980
+ overflow: hidden;
7981
+ text-overflow: ellipsis;
7982
+ white-space: nowrap;
7983
+ word-wrap: normal;
7984
+ }
7985
+ .zen-date-range--with-stepper.zen-date-range--with-stepper:hover,
7986
+ .zen-date-range--with-stepper.zen-date-range--with-stepper:focus {
7987
+ z-index: 1;
7988
+ }
7989
+ .zen-date-range.zen-date-range--with-stepper-custom svg {
7990
+ display: none;
7991
+ }
7911
7992
  .zen-date-range-popup-wrapper.zen-date-range-popup-wrapper {
7912
7993
  z-index: 11002;
7913
7994
  }
@@ -9061,6 +9142,9 @@
9061
9142
  .zen-filters-bar-period-picker__error {
9062
9143
  margin: 12px 16px 0;
9063
9144
  }
9145
+ .zen-filters-bar-period-picker-wrapper.zen-date-range-wrapper {
9146
+ width: 100%;
9147
+ }
9064
9148
  .zen-range {
9065
9149
  box-sizing: border-box;
9066
9150
  font-family: var(--main-font);
@@ -10003,7 +10087,7 @@
10003
10087
  letter-spacing: 0;
10004
10088
  line-height: 36px;
10005
10089
  text-transform: none;
10006
- max-width: 390px;
10090
+ max-width: 656px;
10007
10091
  padding: 0px;
10008
10092
  margin: 0px;
10009
10093
  color: var(--text-primary);
@@ -10452,6 +10536,9 @@
10452
10536
  .zen-header__section--hidden {
10453
10537
  display: none;
10454
10538
  }
10539
+ .zen-header__section--single {
10540
+ flex-shrink: 1;
10541
+ }
10455
10542
  .zen-header--mobile .zen-header__section--middle {
10456
10543
  flex-grow: 0;
10457
10544
  }
@@ -15,5 +15,6 @@ export interface IPagination extends IZenComponentProps {
15
15
  className?: string;
16
16
  includeText?: boolean;
17
17
  type?: PaginationType;
18
+ gridRef?: React.RefObject<HTMLElement>;
18
19
  }
19
20
  export declare const Pagination: React.FC<IPagination>;
@@ -8,7 +8,10 @@ const paginationArrow_1 = require("./paginationArrow");
8
8
  const paginationButtonsRow_1 = require("./paginationButtonsRow");
9
9
  const paginationText_1 = require("./paginationText/paginationText");
10
10
  const paginationType_1 = require("./paginationType");
11
- const Pagination = ({ className, activePage, total, perPage, onChange, includeText = false, type = paginationType_1.PaginationType.Compact }) => {
11
+ const Pagination = ({ className, activePage, total, perPage, onChange, includeText = false, type = paginationType_1.PaginationType.Compact, gridRef }) => {
12
+ var _a, _b;
13
+ const gridNode = ((_a = gridRef === null || gridRef === void 0 ? void 0 : gridRef.current) === null || _a === void 0 ? void 0 : _a.classList.contains("zen-data-grid")) ?
14
+ gridRef.current : (_b = gridRef === null || gridRef === void 0 ? void 0 : gridRef.current) === null || _b === void 0 ? void 0 : _b.querySelector(".zen-data-grid");
12
15
  const displayedPagesCount = 6;
13
16
  const totalNumberOfPages = (0, react_1.useMemo)(() => Math.ceil(total / perPage), [total, perPage]);
14
17
  const getPaginationValues = () => {
@@ -40,15 +43,21 @@ const Pagination = ({ className, activePage, total, perPage, onChange, includeTe
40
43
  }
41
44
  return paginationArr;
42
45
  };
46
+ const handlePageChange = (newActivePage) => {
47
+ onChange(newActivePage);
48
+ if (gridNode && typeof gridNode.scrollTo === "function") {
49
+ gridNode.scrollTo({ top: 0, behavior: "instant" });
50
+ }
51
+ };
43
52
  const isSinglePage = total <= perPage;
44
53
  return (0, jsx_runtime_1.jsxs)("div", { className: (0, classNames_1.classNames)(["zen-pagination", `zen-pagination--type-${type}`, className ? className : ""]), children: [includeText
45
54
  ? (0, jsx_runtime_1.jsx)(paginationText_1.PaginationText, { amount: total, from: total === 0 ? total : activePage * perPage + 1, to: Math.min((activePage + 1) * perPage, total) })
46
55
  : null, isSinglePage
47
56
  ? null
48
- : (0, jsx_runtime_1.jsx)(paginationArrow_1.PaginationArrow, { value: "previous", disabled: activePage === 0, arrowButtonHandler: () => onChange(activePage - 1), type: type }), type === paginationType_1.PaginationType.Normal
49
- ? (0, jsx_runtime_1.jsx)(paginationButtonsRow_1.PaginationButtonsRow, { paginationValues: getPaginationValues(), activePage: activePage, upperBoundIndex: totalNumberOfPages - 1, onChange: onChange })
57
+ : (0, jsx_runtime_1.jsx)(paginationArrow_1.PaginationArrow, { value: "previous", disabled: activePage === 0, arrowButtonHandler: () => handlePageChange(activePage - 1), type: type }), type === paginationType_1.PaginationType.Normal
58
+ ? (0, jsx_runtime_1.jsx)(paginationButtonsRow_1.PaginationButtonsRow, { paginationValues: getPaginationValues(), activePage: activePage, upperBoundIndex: totalNumberOfPages - 1, onChange: handlePageChange })
50
59
  : null, isSinglePage
51
60
  ? null
52
- : (0, jsx_runtime_1.jsx)(paginationArrow_1.PaginationArrow, { value: "next", disabled: activePage >= totalNumberOfPages - 1, arrowButtonHandler: () => onChange(activePage + 1), type: type })] });
61
+ : (0, jsx_runtime_1.jsx)(paginationArrow_1.PaginationArrow, { value: "next", disabled: activePage >= totalNumberOfPages - 1, arrowButtonHandler: () => handlePageChange(activePage + 1), type: type })] });
53
62
  };
54
63
  exports.Pagination = Pagination;
@@ -1,5 +1,5 @@
1
1
  import { ReactElement, ReactNode } from "react";
2
- export declare const useTableChildren: (children: ReactNode, isMobile: boolean, selected: number, clearSelection: () => void) => {
2
+ export declare const useTableChildren: (children: ReactNode, isMobile: boolean, selected: number, clearSelection: () => void, gridRef?: React.RefObject<HTMLElement>) => {
3
3
  bulkActions: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
4
4
  pagination: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
5
5
  fullscreenButton: ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
@@ -22,7 +22,7 @@ const isChildElement = (child, expectedType) => {
22
22
  }
23
23
  return child.type.displayName === expectedType;
24
24
  };
25
- const useTableChildren = (children, isMobile, selected, clearSelection) => (0, react_1.useMemo)(() => {
25
+ const useTableChildren = (children, isMobile, selected, clearSelection, gridRef) => (0, react_1.useMemo)(() => {
26
26
  let bulkActions = undefined;
27
27
  let tablePagination = undefined;
28
28
  let tableFullscreen = undefined;
@@ -46,7 +46,8 @@ const useTableChildren = (children, isMobile, selected, clearSelection) => (0, r
46
46
  perPage: child.props.perPage,
47
47
  onChange: child.props.onChange,
48
48
  type: paginationType_1.PaginationType.Compact,
49
- includeText: true
49
+ includeText: true,
50
+ gridRef: gridRef
50
51
  });
51
52
  return;
52
53
  }
@@ -80,5 +81,5 @@ const useTableChildren = (children, isMobile, selected, clearSelection) => (0, r
80
81
  footer: footer,
81
82
  other: other
82
83
  };
83
- }, [children, clearSelection, isMobile, selected]);
84
+ }, [children, clearSelection, isMobile, selected, gridRef]);
84
85
  exports.useTableChildren = useTableChildren;
@@ -73,7 +73,7 @@ const TableInner = ({ entities, columns, selectable, sortable, flexible, isLoadi
73
73
  setSelectMode(false);
74
74
  selectable === null || selectable === void 0 ? void 0 : selectable.onSelect({ all: false, selected: [] });
75
75
  }, [selectable]);
76
- const { bulkActions, pagination, fullscreenButton, emptyList, footer, other } = (0, useTableChildren_1.useTableChildren)(children, isMobile, selectionQty, clearSelection);
76
+ const { bulkActions, pagination, fullscreenButton, emptyList, footer, other } = (0, useTableChildren_1.useTableChildren)(children, isMobile, selectionQty, clearSelection, gridRef);
77
77
  const handleOnHidePanel = (0, react_1.useCallback)(() => setSelectMode(false), []);
78
78
  const handleOnTriggerClick = (0, react_1.useCallback)(() => setSelectMode(prev => !prev), []);
79
79
  const hasPostActions = (0, react_1.useMemo)(() => columnsPopup || (isMobile && selectable) || (!isMobile && fullscreenButton) || isFeedVisible, [columnsPopup, fullscreenButton, isFeedVisible, isMobile, selectable]);
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Je třeba nastavit čas.",
216
216
  "Reset column settings": "Obnovit nastavení sloupce",
217
217
  "Filters": "Filtry",
218
- "Ma": "Kvě"
218
+ "Ma": "Kvě",
219
+ "Next": "Další",
220
+ "Previous": "Předchozí"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Die Uhrzeit muss festgelegt werden.",
216
216
  "Reset column settings": "Spalteneinstellungen zurücksetzen",
217
217
  "Filters": "Filter",
218
- "Ma": "Mai"
218
+ "Ma": "Mai",
219
+ "Next": "Nächstes",
220
+ "Previous": "Vorherige"
219
221
  };
@@ -225,4 +225,11 @@ export declare const translations: {
225
225
  Ma: string;
226
226
  "Y-axis": string;
227
227
  "X-axis": string;
228
+ Previous: string;
229
+ Next: string;
230
+ "Choose dates": string;
231
+ "Date range not available": string;
232
+ "Choose your date range": string;
233
+ "Some of the dates you selected aren\u2019t available. Please try a different range.": string;
234
+ "Please select the dates you want to view.": string;
228
235
  };
@@ -227,5 +227,12 @@ exports.translations = {
227
227
  "Manage beta option": "Manage beta option",
228
228
  "Ma": "May",
229
229
  "Y-axis": "Y-axis",
230
- "X-axis": "X-axis"
230
+ "X-axis": "X-axis",
231
+ "Previous": "Previous",
232
+ "Next": "Next",
233
+ "Choose dates": "Choose dates",
234
+ "Date range not available": "Date range not available",
235
+ "Choose your date range": "Choose your date range",
236
+ "Some of the dates you selected aren’t available. Please try a different range.": "Some of the dates you selected aren’t available. Please try a different range.",
237
+ "Please select the dates you want to view.": "Please select the dates you want to view."
231
238
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Se debe establecer la hora.",
216
216
  "Reset column settings": "Restablecer configuración de columna",
217
217
  "Filters": "Filtros",
218
- "Ma": "May"
218
+ "Ma": "May",
219
+ "Next": "Siguiente",
220
+ "Previous": "Anterior"
219
221
  };
@@ -212,4 +212,6 @@ export declare const translations: {
212
212
  "Reset column settings": string;
213
213
  Filters: string;
214
214
  Ma: string;
215
+ Next: string;
216
+ Previous: string;
215
217
  };
@@ -214,5 +214,7 @@ exports.translations = {
214
214
  "The time must be set": "L'heure doit être définie.",
215
215
  "Reset column settings": "Réinitialiser les paramètres des colonnes",
216
216
  "Filters": "Filtres",
217
- "Ma": "Mai"
217
+ "Ma": "Mai",
218
+ "Next": "Suivant",
219
+ "Previous": "Précédent"
218
220
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "L'heure doit être programmée.",
216
216
  "Reset column settings": "Réinitialiser les paramètres de la colonne",
217
217
  "Filters": "Filtres",
218
- "Ma": "mai"
218
+ "Ma": "mai",
219
+ "Next": "Suivant",
220
+ "Previous": "Précédent"
219
221
  };
@@ -214,4 +214,6 @@ export declare const translations: {
214
214
  "Reset column settings": string;
215
215
  Filters: string;
216
216
  Ma: string;
217
+ Next: string;
218
+ Previous: string;
217
219
  };
@@ -216,5 +216,7 @@ exports.translations = {
216
216
  "The time must be set": "Waktu harus diatur.",
217
217
  "Reset column settings": "Reset pengaturan kolom",
218
218
  "Filters": "Filter",
219
- "Ma": "Mei"
219
+ "Ma": "Mei",
220
+ "Next": "Berikutnya",
221
+ "Previous": "Sebelumnya"
220
222
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Impostare l'ora.",
216
216
  "Reset column settings": "Ripristinare impostazioni colonna",
217
217
  "Filters": "Filtri",
218
- "Ma": "Mag"
218
+ "Ma": "Mag",
219
+ "Next": "Avanti",
220
+ "Previous": "Indietro"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "時刻を設定する必要があります。",
216
216
  "Reset column settings": "列設定をリセット",
217
217
  "Filters": "フィルター",
218
- "Ma": "5月"
218
+ "Ma": "5月",
219
+ "Next": "次の",
220
+ "Previous": "前"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Masa mesti ditetapkan.",
216
216
  "Reset column settings": "Tetapkan semula tetapan lajur",
217
217
  "Filters": "Penyaring",
218
- "Ma": "Mei"
218
+ "Ma": "Mei",
219
+ "Next": "Seterusnya",
220
+ "Previous": "Sebelumnya"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "De tijd moet worden ingesteld.",
216
216
  "Reset column settings": "Reset kolominstellingen",
217
217
  "Filters": "Filters",
218
- "Ma": "mei"
218
+ "Ma": "mei",
219
+ "Next": "Volgende",
220
+ "Previous": "Vorige"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Godzina musi być ustawiona.",
216
216
  "Reset column settings": "Zresetuj ustawienia kolumny",
217
217
  "Filters": "Filtry",
218
- "Ma": "Maj"
218
+ "Ma": "Maj",
219
+ "Next": "Następne",
220
+ "Previous": "Poprzednie"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "É necessário definir a hora.",
216
216
  "Reset column settings": "Redefinir configurações de coluna",
217
217
  "Filters": "Filtros",
218
- "Ma": "Mai"
218
+ "Ma": "Mai",
219
+ "Next": "Avançar",
220
+ "Previous": "Anterior"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Tiden måste anges.",
216
216
  "Reset column settings": "Återställ kolumninställningar",
217
217
  "Filters": "Filter",
218
- "Ma": "Maj"
218
+ "Ma": "Maj",
219
+ "Next": "Nästa",
220
+ "Previous": "Föregående"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "ต้องกำหนดเวลา",
216
216
  "Reset column settings": "รีเซ็ตการตั้งค่าคอลัมน์",
217
217
  "Filters": "ตัวกรอง",
218
- "Ma": "พ.ค."
218
+ "Ma": "พ.ค.",
219
+ "Next": "ถัดไป",
220
+ "Previous": "ก่อนหน้า"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "Saat ayarlanmalıdır.",
216
216
  "Reset column settings": "Sütun ayarlarını sıfırla",
217
217
  "Filters": "Filtreler",
218
- "Ma": "May"
218
+ "Ma": "May",
219
+ "Next": "Sonraki",
220
+ "Previous": "Önceki"
219
221
  };
@@ -213,4 +213,6 @@ export declare const translations: {
213
213
  "Reset column settings": string;
214
214
  Filters: string;
215
215
  Ma: string;
216
+ Next: string;
217
+ Previous: string;
216
218
  };
@@ -215,5 +215,7 @@ exports.translations = {
215
215
  "The time must be set": "必须设定时间。",
216
216
  "Reset column settings": "重置列设置",
217
217
  "Filters": "筛选器",
218
- "Ma": "五月"
218
+ "Ma": "五月",
219
+ "Next": "下一个",
220
+ "Previous": "前一"
219
221
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@geotab/zenith",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Zenith components library on React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -21,7 +21,7 @@
21
21
  "watch": "npx tsc -b tsconfig.build.json -w",
22
22
  "test-build": "npx tsc -b tsconfig.jestTests.json",
23
23
  "test-watch": "npx tsc -b tsconfig.jestTests.json -w",
24
- "test-coverage": "npm run clean && npm run test-build && jest --collectCoverage=true --coverage --collectCoverageFrom=./**/*.js --json --outputFile=jest-result.json --coverageReporters=html --coverageReporters=text-summary --coverageReporters=cobertura --noStackTrace && node testHelpers/cobertura/cobertura.js",
24
+ "test-coverage": "npm run clean && npm run test-build && jest --collectCoverage=true --coverage --collectCoverageFrom=./**/*.js --json --outputFile=jest-result.json --coverageReporters=html --coverageReporters=text-summary --coverageReporters=cobertura --maxWorkers=4 --noStackTrace && node testHelpers/cobertura/cobertura.js",
25
25
  "coverage": "npm run test-coverage && google-chrome ./jest-coverage/index.html",
26
26
  "storybook": "storybook dev -p 6006",
27
27
  "build-storybook": "storybook build && npm run build-ai-mdx",
@@ -93,6 +93,6 @@
93
93
  ]
94
94
  },
95
95
  "publishConfig": {
96
- "access": "public"
96
+ "access": "public"
97
97
  }
98
98
  }