@geotab/zenith 3.12.3 → 3.13.0-beta.1
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.
- package/README.md +13 -1
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +29 -29
- package/dist/calendar/calendar.js +1 -1
- package/dist/chart/lineChart/useSummary.d.ts +2 -1
- package/dist/columnsSelector/columnsSelector.js +1 -1
- package/dist/commonHelpers/arrowNavigation/arrowNavigationHelper.d.ts +1 -1
- package/dist/commonHelpers/arrowNavigation/arrowNavigationHelper.js +29 -12
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +2 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +2 -2
- package/dist/commonHelpers/arrowNavigation/hooks/useManualScrolling.js +4 -2
- package/dist/commonHelpers/arrowNavigation/hooks/useScrollWhileHolding.js +12 -3
- package/dist/commonHelpers/arrowNavigation/hooks/useScrolling.js +18 -6
- package/dist/commonStyles/caption/caption.less +3 -5
- package/dist/commonStyles/colors/colors.less +4 -19
- package/dist/commonStyles/columnsList.less +1 -0
- package/dist/commonStyles/common.less +1 -2
- package/dist/commonStyles/ellipsis.less +1 -1
- package/dist/commonStyles/fonts/roboto.less +7 -7
- package/dist/commonStyles/link/link.less +1 -1
- package/dist/commonStyles/notSelectable.less +0 -4
- package/dist/commonStyles/pillStyles/pillContent.less +6 -2
- package/dist/commonStyles/pillStyles/pillStyles.less +1 -1
- package/dist/commonStyles/pillStyles/pillTextContent.less +3 -0
- package/dist/commonStyles/pillStyles/pillTypes.less +10 -0
- package/dist/commonStyles/popupMixin.less +2 -2
- package/dist/commonStyles/rangeFieldMixin.less +3 -6
- package/dist/commonStyles/shadows/shadows.less +3 -3
- package/dist/commonStyles/typography/typography.less +24 -24
- package/dist/dataFeed/dataFeed.js +28 -2
- package/dist/dataGrid/columns/actionsColumn/actionsButton.js +1 -1
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +1 -1
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +1 -1
- package/dist/dateInputInner/dateInputInnerControlBlock.js +57 -57
- package/dist/divider/divider.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +1 -1
- package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.js +1 -1
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -31
- package/dist/filtersBar/filtersContainer/filtersContainer.js +16 -5
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/dist/header/header.js +1 -1
- package/dist/header/headerMenu.js +1 -1
- package/dist/index.css +487 -571
- package/dist/list/itemData/itemDataInternal.js +1 -1
- package/dist/list/listItem/listItem.js +1 -1
- package/dist/menu/menu.js +1 -1
- package/dist/nav/navAddMenu/navAddMenu.js +1 -1
- package/dist/nav/navFooter/navFooter.js +4 -4
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/dist/nav/navHeader/navHeader.js +1 -1
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +1 -1
- package/dist/nav/navItem/navItem.js +2 -2
- package/dist/rangeRaw/rangeRaw.js +1 -1
- package/dist/rangeRaw/utils/rangeHelper.js +28 -28
- package/dist/sortControl/sortControl.js +1 -1
- package/dist/summary/summary.d.ts +3 -2
- package/dist/summary/summary.js +6 -2
- package/dist/summaryTileBar/summaryTileBar.js +3 -1
- package/dist/table/actions/actionsMenu.js +2 -2
- package/dist/table/flexible/columnsPopup.js +1 -1
- package/dist/table/table.js +5 -7
- package/dist/tabs/tabs.js +16 -5
- package/dist/toolbar/helpers/getWidthWithMargin.js +2 -2
- package/dist/tooltip/helpers/calculateArrowPosition.js +1 -7
- package/dist/tooltip/tooltip.js +7 -5
- package/dist/utils/localization/translations/ar.json +7 -7
- package/dist/utils/localization/translations/cs.json +7 -7
- package/dist/utils/localization/translations/da-DK.json +7 -7
- package/dist/utils/localization/translations/de.json +7 -7
- package/dist/utils/localization/translations/en.json +7 -7
- package/dist/utils/localization/translations/es.json +7 -7
- package/dist/utils/localization/translations/fi-FI.json +7 -7
- package/dist/utils/localization/translations/fr-FR.json +7 -7
- package/dist/utils/localization/translations/fr.json +7 -7
- package/dist/utils/localization/translations/hu-HU.json +7 -7
- package/dist/utils/localization/translations/id.json +7 -7
- package/dist/utils/localization/translations/it.json +7 -7
- package/dist/utils/localization/translations/ja.json +7 -7
- package/dist/utils/localization/translations/ko-KR.json +7 -7
- package/dist/utils/localization/translations/ms.json +7 -7
- package/dist/utils/localization/translations/nb-NO.json +7 -7
- package/dist/utils/localization/translations/nl.json +7 -7
- package/dist/utils/localization/translations/pl.json +7 -7
- package/dist/utils/localization/translations/pt-BR.json +7 -7
- package/dist/utils/localization/translations/pt-PT.json +7 -7
- package/dist/utils/localization/translations/ro-RO.json +7 -7
- package/dist/utils/localization/translations/sk-SK.json +7 -7
- package/dist/utils/localization/translations/sv.json +7 -7
- package/dist/utils/localization/translations/th.json +7 -7
- package/dist/utils/localization/translations/tr.json +7 -7
- package/dist/utils/localization/translations/zh-Hans.json +7 -7
- package/dist/utils/localization/translations/zh-TW.json +7 -7
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +29 -29
- package/esm/calendar/calendar.js +1 -1
- package/esm/chart/lineChart/useSummary.d.ts +2 -1
- package/esm/columnsSelector/columnsSelector.js +1 -1
- package/esm/commonHelpers/arrowNavigation/arrowNavigationHelper.d.ts +1 -1
- package/esm/commonHelpers/arrowNavigation/arrowNavigationHelper.js +29 -12
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.d.ts +2 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +2 -2
- package/esm/commonHelpers/arrowNavigation/hooks/useManualScrolling.js +4 -2
- package/esm/commonHelpers/arrowNavigation/hooks/useScrollWhileHolding.js +12 -3
- package/esm/commonHelpers/arrowNavigation/hooks/useScrolling.js +18 -6
- package/esm/dataFeed/dataFeed.js +28 -2
- package/esm/dataGrid/columns/actionsColumn/actionsButton.js +1 -1
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +1 -1
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +1 -1
- package/esm/dateInputInner/dateInputInnerControlBlock.js +57 -57
- package/esm/divider/divider.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +1 -1
- package/esm/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.js +1 -1
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +31 -31
- package/esm/filtersBar/filtersContainer/filtersContainer.js +16 -5
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/esm/header/header.js +1 -1
- package/esm/header/headerMenu.js +1 -1
- package/esm/list/itemData/itemDataInternal.js +1 -1
- package/esm/list/listItem/listItem.js +1 -1
- package/esm/menu/menu.js +1 -1
- package/esm/nav/navAddMenu/navAddMenu.js +1 -1
- package/esm/nav/navFooter/navFooter.js +4 -4
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/esm/nav/navHeader/navHeader.js +1 -1
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +1 -1
- package/esm/nav/navItem/navItem.js +2 -2
- package/esm/rangeRaw/rangeRaw.js +1 -1
- package/esm/rangeRaw/utils/rangeHelper.js +28 -28
- package/esm/sortControl/sortControl.js +1 -1
- package/esm/summary/summary.d.ts +3 -2
- package/esm/summary/summary.js +6 -2
- package/esm/summaryTileBar/summaryTileBar.js +3 -1
- package/esm/table/actions/actionsMenu.js +2 -2
- package/esm/table/flexible/columnsPopup.js +1 -1
- package/esm/table/table.js +5 -7
- package/esm/tabs/tabs.js +16 -5
- package/esm/toolbar/helpers/getWidthWithMargin.js +2 -2
- package/esm/tooltip/helpers/calculateArrowPosition.js +1 -7
- package/esm/tooltip/tooltip.js +7 -5
- package/esm/utils/localization/translations/ar.json +7 -7
- package/esm/utils/localization/translations/cs.json +7 -7
- package/esm/utils/localization/translations/da-DK.json +7 -7
- package/esm/utils/localization/translations/de.json +7 -7
- package/esm/utils/localization/translations/en.json +7 -7
- package/esm/utils/localization/translations/es.json +7 -7
- package/esm/utils/localization/translations/fi-FI.json +7 -7
- package/esm/utils/localization/translations/fr-FR.json +7 -7
- package/esm/utils/localization/translations/fr.json +7 -7
- package/esm/utils/localization/translations/hu-HU.json +7 -7
- package/esm/utils/localization/translations/id.json +7 -7
- package/esm/utils/localization/translations/it.json +7 -7
- package/esm/utils/localization/translations/ja.json +7 -7
- package/esm/utils/localization/translations/ko-KR.json +7 -7
- package/esm/utils/localization/translations/ms.json +7 -7
- package/esm/utils/localization/translations/nb-NO.json +7 -7
- package/esm/utils/localization/translations/nl.json +7 -7
- package/esm/utils/localization/translations/pl.json +7 -7
- package/esm/utils/localization/translations/pt-BR.json +7 -7
- package/esm/utils/localization/translations/pt-PT.json +7 -7
- package/esm/utils/localization/translations/ro-RO.json +7 -7
- package/esm/utils/localization/translations/sk-SK.json +7 -7
- package/esm/utils/localization/translations/sv.json +7 -7
- package/esm/utils/localization/translations/th.json +7 -7
- package/esm/utils/localization/translations/tr.json +7 -7
- package/esm/utils/localization/translations/zh-Hans.json +7 -7
- package/esm/utils/localization/translations/zh-TW.json +7 -7
- package/package.json +10 -1
|
@@ -10,14 +10,12 @@
|
|
|
10
10
|
@pill-height--mobile: 34px;
|
|
11
11
|
|
|
12
12
|
.zen-body-s-400();
|
|
13
|
-
display: flex;
|
|
14
13
|
align-items: center;
|
|
15
14
|
justify-content: space-between;
|
|
16
15
|
border-radius: (30 / @rem);
|
|
17
16
|
height: @pill-height;
|
|
18
17
|
display: grid;
|
|
19
18
|
grid-auto-flow: column;
|
|
20
|
-
|
|
21
19
|
gap: (8 / @rem);
|
|
22
20
|
|
|
23
21
|
&--icon-left {
|
|
@@ -44,9 +42,11 @@
|
|
|
44
42
|
&--hidden {
|
|
45
43
|
gap: (4 / @rem);
|
|
46
44
|
}
|
|
45
|
+
|
|
47
46
|
&.zen-pill-new-content--drive,
|
|
48
47
|
&.zen-pill-new-content--drive-tablet {
|
|
49
48
|
height: @pill-height--drive;
|
|
49
|
+
|
|
50
50
|
.zen-pill-non-actionable__icon {
|
|
51
51
|
min-width: (16 / @rem);
|
|
52
52
|
max-width: 16px;
|
|
@@ -70,9 +70,11 @@
|
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
+
|
|
73
74
|
&.zen-pill-new-content--mobile {
|
|
74
75
|
height: @pill-height--mobile;
|
|
75
76
|
.zen-body-m-400-short();
|
|
77
|
+
|
|
76
78
|
.zen-pill-non-actionable__icon {
|
|
77
79
|
min-width: (16 / @rem);
|
|
78
80
|
max-width: 16px;
|
|
@@ -96,9 +98,11 @@
|
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
}
|
|
101
|
+
|
|
99
102
|
&.zen-pill-new-content--drive {
|
|
100
103
|
.zen-body-s-400-drive();
|
|
101
104
|
}
|
|
105
|
+
|
|
102
106
|
&.zen-pill-new-content--drive-tablet {
|
|
103
107
|
.zen-body-s-400-drive();
|
|
104
108
|
}
|
|
@@ -7,13 +7,16 @@
|
|
|
7
7
|
&--hidden {
|
|
8
8
|
visibility: hidden;
|
|
9
9
|
}
|
|
10
|
+
|
|
10
11
|
&.zen-pill-text-content--drive,
|
|
11
12
|
&.zen-pill-text-content--drive-tablet {
|
|
12
13
|
height: 20px;
|
|
13
14
|
}
|
|
15
|
+
|
|
14
16
|
&.zen-pill-text-content--drive {
|
|
15
17
|
.zen-body-s-400-drive();
|
|
16
18
|
}
|
|
19
|
+
|
|
17
20
|
&.zen-pill-text-content--drive-tablet {
|
|
18
21
|
.zen-body-s-400-drive();
|
|
19
22
|
}
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
background: var(--backgrounds-content-1);
|
|
6
6
|
color: var(--text-primary);
|
|
7
7
|
fill: var(--text-primary);
|
|
8
|
+
|
|
8
9
|
.zen-pill-non-actionable__close-button {
|
|
9
10
|
fill: var(--text-primary);
|
|
11
|
+
|
|
10
12
|
&:active .zen-pill-non-actionable__close-icon,
|
|
11
13
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
12
14
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -21,8 +23,10 @@
|
|
|
21
23
|
color: var(--accents-success--detail);
|
|
22
24
|
background-color: var(--accents-success--main);
|
|
23
25
|
fill: var(--accents-success--detail);
|
|
26
|
+
|
|
24
27
|
.zen-pill-non-actionable__close-button {
|
|
25
28
|
fill: var(--accents-success--detail);
|
|
29
|
+
|
|
26
30
|
&:active .zen-pill-non-actionable__close-icon,
|
|
27
31
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
28
32
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -37,8 +41,10 @@
|
|
|
37
41
|
background-color: var(--accents-error--main);
|
|
38
42
|
color: var(--accents-error--detail);
|
|
39
43
|
fill: var(--accents-error--detail);
|
|
44
|
+
|
|
40
45
|
.zen-pill-non-actionable__close-button {
|
|
41
46
|
fill: var(--accents-error--detail);
|
|
47
|
+
|
|
42
48
|
&:active .zen-pill-non-actionable__close-icon,
|
|
43
49
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
44
50
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -53,8 +59,10 @@
|
|
|
53
59
|
background-color: var(--accents-warning--main);
|
|
54
60
|
color: var(--accents-warning--detail);
|
|
55
61
|
fill: var(--accents-warning--detail);
|
|
62
|
+
|
|
56
63
|
.zen-pill-non-actionable__close-button {
|
|
57
64
|
fill: var(--accents-warning--detail);
|
|
65
|
+
|
|
58
66
|
&:active .zen-pill-non-actionable__close-icon,
|
|
59
67
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
60
68
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -69,8 +77,10 @@
|
|
|
69
77
|
background-color: var(--accents-general--main);
|
|
70
78
|
color: var(--accents-general--detail);
|
|
71
79
|
fill: var(--accents-general--detail);
|
|
80
|
+
|
|
72
81
|
.zen-pill-non-actionable__close-button {
|
|
73
82
|
fill: var(--accents-general--detail);
|
|
83
|
+
|
|
74
84
|
&:active .zen-pill-non-actionable__close-icon,
|
|
75
85
|
&:hover .zen-pill-non-actionable__close-icon,
|
|
76
86
|
&:focus .zen-pill-non-actionable__close-icon {
|
|
@@ -3,14 +3,12 @@
|
|
|
3
3
|
grid-template-columns: minmax(min-content, auto) minmax(auto, 168px) minmax(0, auto);
|
|
4
4
|
grid-template-rows: auto auto;
|
|
5
5
|
gap: (4 / @rem) (8 / @rem);
|
|
6
|
-
|
|
7
|
-
justify-items: start;
|
|
6
|
+
place-items: center start;
|
|
8
7
|
}
|
|
9
8
|
|
|
10
9
|
.zen-range-field-wrapper-row {
|
|
11
10
|
display: grid;
|
|
12
|
-
|
|
13
|
-
justify-items: start;
|
|
11
|
+
place-items: center start;
|
|
14
12
|
grid-template-columns:
|
|
15
13
|
minmax((24 / @rem), (32 / @rem))
|
|
16
14
|
minmax((64 / @rem), (64 / @rem))
|
|
@@ -18,6 +16,5 @@
|
|
|
18
16
|
minmax((24 / @rem), (32 / @rem))
|
|
19
17
|
minmax((64 / @rem), (64 / @rem))
|
|
20
18
|
minmax((24 / @rem), (32 / @rem));
|
|
21
|
-
|
|
22
|
-
column-gap: (8 / @rem);
|
|
19
|
+
gap: (4 / @rem) (8 / @rem);
|
|
23
20
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
.zen-shadow-dropdown-default {
|
|
2
|
-
box-shadow:
|
|
2
|
+
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.zen-card-shadow {
|
|
6
|
-
box-shadow:
|
|
6
|
+
box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.1);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.zen-chip-shadow {
|
|
10
|
-
box-shadow:
|
|
10
|
+
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.15);
|
|
11
11
|
}
|
|
@@ -441,7 +441,7 @@
|
|
|
441
441
|
}
|
|
442
442
|
|
|
443
443
|
// Responsive overrides (mobile — max-width: 640px)
|
|
444
|
-
@media (
|
|
444
|
+
@media (width <= 640px) {
|
|
445
445
|
// Standard
|
|
446
446
|
.zen-heading-xl-300 {
|
|
447
447
|
.zen-font(@main-font-family, @heading-01-font-mobile-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
@@ -548,10 +548,10 @@
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
:root {
|
|
551
|
-
--main-font:
|
|
552
|
-
--main-font-data: "Roboto Mono", "Segoe UI",
|
|
553
|
-
--data-font-drive: "Roboto Mono", "Segoe UI",
|
|
554
|
-
--arabic-font-family: "Noto Sans Arabic",
|
|
551
|
+
--main-font: roboto, "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
552
|
+
--main-font-data: "Roboto Mono", "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
553
|
+
--data-font-drive: "Roboto Mono", "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
554
|
+
--arabic-font-family: "Noto Sans Arabic", roboto, "Segoe UI", segoe, "Helvetica Neue", helvetica, sans-serif;
|
|
555
555
|
}
|
|
556
556
|
|
|
557
557
|
// Labels
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
|
|
572
572
|
}
|
|
573
573
|
|
|
574
|
-
@media (
|
|
574
|
+
@media (width <= 640px) {
|
|
575
575
|
.tablet-label-400-drive {
|
|
576
576
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400);
|
|
577
577
|
}
|
|
@@ -619,7 +619,7 @@
|
|
|
619
619
|
.font(var(--main-font), 18px, @line-height: 28px, @letter-spacing: 0, @weight: 400);
|
|
620
620
|
}
|
|
621
621
|
|
|
622
|
-
@media (
|
|
622
|
+
@media (width <= 640px) {
|
|
623
623
|
.tablet-body-l-400-drive {
|
|
624
624
|
.font(var(--main-font), 18px, @line-height: 28px, @letter-spacing: 0, @weight: 400);
|
|
625
625
|
}
|
|
@@ -635,7 +635,7 @@
|
|
|
635
635
|
.font(var(--main-font), 16px, @line-height: 20px, @weight: 400);
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
@media (
|
|
638
|
+
@media (width <= 640px) {
|
|
639
639
|
.tablet-body-m-400-short-drive {
|
|
640
640
|
.font(var(--main-font), 16px, @line-height: 20px, @weight: 400);
|
|
641
641
|
}
|
|
@@ -651,7 +651,7 @@
|
|
|
651
651
|
.font(var(--main-font), 16px, @line-height: 26px, @weight: 400);
|
|
652
652
|
}
|
|
653
653
|
|
|
654
|
-
@media (
|
|
654
|
+
@media (width <= 640px) {
|
|
655
655
|
.tablet-body-m-400-tall-drive {
|
|
656
656
|
.font(var(--main-font), 16px, @line-height: 26px, @weight: 400);
|
|
657
657
|
}
|
|
@@ -667,7 +667,7 @@
|
|
|
667
667
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 700);
|
|
668
668
|
}
|
|
669
669
|
|
|
670
|
-
@media (
|
|
670
|
+
@media (width <= 640px) {
|
|
671
671
|
.tablet-body-s-700-drive {
|
|
672
672
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 700);
|
|
673
673
|
}
|
|
@@ -683,7 +683,7 @@
|
|
|
683
683
|
.font(var(--main-font), 14px, @line-height: 20px, @letter-spacing: 0.32px, @weight: 400);
|
|
684
684
|
}
|
|
685
685
|
|
|
686
|
-
@media (
|
|
686
|
+
@media (width <= 640px) {
|
|
687
687
|
.tablet-body-s-400-drive {
|
|
688
688
|
.font(var(--main-font), 14px, @line-height: 20px, @letter-spacing: 0.32px, @weight: 400);
|
|
689
689
|
}
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
|
|
700
700
|
}
|
|
701
701
|
|
|
702
|
-
@media (
|
|
702
|
+
@media (width <= 640px) {
|
|
703
703
|
.tablet-body-s-400-italic-drive {
|
|
704
704
|
.font(var(--main-font), 14px, @line-height: 18px, @letter-spacing: 0.32px, @weight: 400, @style: italic);
|
|
705
705
|
}
|
|
@@ -716,7 +716,7 @@
|
|
|
716
716
|
.font(var(--main-font), 20px, @line-height: 36px, @weight: 300);
|
|
717
717
|
}
|
|
718
718
|
|
|
719
|
-
@media (
|
|
719
|
+
@media (width <= 640px) {
|
|
720
720
|
.heading-xl-300 {
|
|
721
721
|
.font(var(--main-font), 20px, @line-height: 36px, @weight: 300);
|
|
722
722
|
}
|
|
@@ -737,7 +737,7 @@
|
|
|
737
737
|
.font(var(--main-font), 18px, @line-height: 28px, @weight: 300);
|
|
738
738
|
}
|
|
739
739
|
|
|
740
|
-
@media (
|
|
740
|
+
@media (width <= 640px) {
|
|
741
741
|
.heading-m-300 {
|
|
742
742
|
.font(var(--main-font), 18px, @line-height: 28px, @weight: 300);
|
|
743
743
|
}
|
|
@@ -773,7 +773,7 @@
|
|
|
773
773
|
.font(var(--main-font), 24px, 32px, @weight: 300);
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
-
@media (
|
|
776
|
+
@media (width <= 640px) {
|
|
777
777
|
.tablet-heading-xl-300-drive {
|
|
778
778
|
.font(var(--main-font), 24px, 32px, @weight: 300);
|
|
779
779
|
}
|
|
@@ -789,7 +789,7 @@
|
|
|
789
789
|
.font(var(--main-font), 22px, 28px, @weight: 400);
|
|
790
790
|
}
|
|
791
791
|
|
|
792
|
-
@media (
|
|
792
|
+
@media (width <= 640px) {
|
|
793
793
|
.tablet-heading-l-400-drive {
|
|
794
794
|
.font(var(--main-font), 22px, 28px, @weight: 400);
|
|
795
795
|
}
|
|
@@ -805,7 +805,7 @@
|
|
|
805
805
|
.font(var(--main-font), 18px, 24px, @weight: 300);
|
|
806
806
|
}
|
|
807
807
|
|
|
808
|
-
@media (
|
|
808
|
+
@media (width <= 640px) {
|
|
809
809
|
.tablet-heading-m-300-drive {
|
|
810
810
|
.font(var(--main-font), 18px, 24px, @weight: 300);
|
|
811
811
|
}
|
|
@@ -821,7 +821,7 @@
|
|
|
821
821
|
.font(var(--main-font), 18px, 26px, @weight: 500);
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
-
@media (
|
|
824
|
+
@media (width <= 640px) {
|
|
825
825
|
.tablet-heading-m-500-drive {
|
|
826
826
|
.font(var(--main-font), 18px, 26px, @weight: 500);
|
|
827
827
|
}
|
|
@@ -837,7 +837,7 @@
|
|
|
837
837
|
.font(var(--main-font), 16px, 20px, 0.16px, 500);
|
|
838
838
|
}
|
|
839
839
|
|
|
840
|
-
@media (
|
|
840
|
+
@media (width <= 640px) {
|
|
841
841
|
.tablet-heading-s-500-drive {
|
|
842
842
|
.font(var(--main-font), 16px, 20px, 0.16px, 500);
|
|
843
843
|
}
|
|
@@ -861,7 +861,7 @@
|
|
|
861
861
|
.font(var(--main-font), 16px, 18px, 0.16px, 300);
|
|
862
862
|
}
|
|
863
863
|
|
|
864
|
-
@media (
|
|
864
|
+
@media (width <= 640px) {
|
|
865
865
|
.tablet-heading-s-300-drive {
|
|
866
866
|
.font(var(--main-font), 16px, 18px, 0.16px, 300);
|
|
867
867
|
}
|
|
@@ -909,7 +909,7 @@
|
|
|
909
909
|
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
910
910
|
}
|
|
911
911
|
|
|
912
|
-
@media (
|
|
912
|
+
@media (width <= 640px) {
|
|
913
913
|
.tablet-data-xl-drive {
|
|
914
914
|
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
915
915
|
}
|
|
@@ -925,7 +925,7 @@
|
|
|
925
925
|
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
@media (
|
|
928
|
+
@media (width <= 640px) {
|
|
929
929
|
.tablet-data-l-drive {
|
|
930
930
|
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
931
931
|
}
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
942
942
|
}
|
|
943
943
|
|
|
944
|
-
@media (
|
|
944
|
+
@media (width <= 640px) {
|
|
945
945
|
.tablet-data-m-drive {
|
|
946
946
|
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
947
947
|
}
|
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
958
958
|
}
|
|
959
959
|
|
|
960
|
-
@media (
|
|
960
|
+
@media (width <= 640px) {
|
|
961
961
|
.tablet-data-s-drive {
|
|
962
962
|
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
963
963
|
}
|
|
@@ -33,8 +33,13 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
33
33
|
const { collapsedColumnsQty = 0, onFeedEnd, visibleColumns } = options;
|
|
34
34
|
const feedRef = (0, react_1.useRef)(null);
|
|
35
35
|
const lazyRenderTimerRef = (0, react_1.useRef)(0);
|
|
36
|
+
const feedEndFiredRef = (0, react_1.useRef)(false);
|
|
37
|
+
const prevEntitiesRef = (0, react_1.useRef)(entities);
|
|
36
38
|
(0, react_1.useEffect)(() => {
|
|
37
39
|
setPages(1);
|
|
40
|
+
// Re-arm the once-per-approach guard on a paginated reload (activePage change); in-place
|
|
41
|
+
// entity-list changes re-arm via the entities effect below.
|
|
42
|
+
feedEndFiredRef.current = false;
|
|
38
43
|
if (feedRef.current) {
|
|
39
44
|
feedRef.current.scrollTop = 0;
|
|
40
45
|
}
|
|
@@ -82,11 +87,21 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
82
87
|
newVisibleRows.forEach(row => newRowsSet.add(row));
|
|
83
88
|
setVisibleRows(newRowsSet);
|
|
84
89
|
}
|
|
85
|
-
|
|
90
|
+
const closeToTheEnd = checkCloseToTheEnd(feedRef.current);
|
|
91
|
+
if (visibleRows.size && closeToTheEnd) {
|
|
86
92
|
if (entities.length > data.length) {
|
|
87
93
|
setPages(pages + 1);
|
|
88
94
|
}
|
|
89
|
-
onFeedEnd
|
|
95
|
+
// Fire onFeedEnd once per approach to the bottom (re-armed below once scrolled out),
|
|
96
|
+
// matching DataGrid.onScrollEnd. Without the guard the consumer is called on every
|
|
97
|
+
// animation frame near the bottom and has to debounce it itself.
|
|
98
|
+
if (!feedEndFiredRef.current) {
|
|
99
|
+
feedEndFiredRef.current = true;
|
|
100
|
+
onFeedEnd && onFeedEnd();
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
else if (!closeToTheEnd) {
|
|
104
|
+
feedEndFiredRef.current = false;
|
|
90
105
|
}
|
|
91
106
|
});
|
|
92
107
|
}, [itemsMap, visibleRows, setVisibleRows, onFeedEnd, pages, setPages, entities, data.length]);
|
|
@@ -95,6 +110,17 @@ const DataFeedInner = ({ entities, columns, feedWrappers, className, expanded, o
|
|
|
95
110
|
(_a = zen_1.zen.cancelAnimationFrame) === null || _a === void 0 ? void 0 : _a.call(zen_1.zen, lazyRenderTimerRef.current);
|
|
96
111
|
lazyRenderTimerRef.current = scheduleVisibleChanges();
|
|
97
112
|
}, [scheduleVisibleChanges]);
|
|
113
|
+
(0, react_1.useEffect)(() => {
|
|
114
|
+
// An entity-list change (in-place filter/sort swap, or appended rows) re-arms the once-per-approach
|
|
115
|
+
// guard and re-checks fit, so a short result set still requests the next page and a stale guard
|
|
116
|
+
// can't suppress the next fire. Keyed on `entities`, not the internal `data` slice, so progressive
|
|
117
|
+
// `setPages` reveals don't reset the guard and cause repeat fires.
|
|
118
|
+
if (prevEntitiesRef.current !== entities) {
|
|
119
|
+
prevEntitiesRef.current = entities;
|
|
120
|
+
feedEndFiredRef.current = false;
|
|
121
|
+
scheduleLazyRender();
|
|
122
|
+
}
|
|
123
|
+
}, [entities, scheduleLazyRender]);
|
|
98
124
|
const handleScroll = (0, react_1.useCallback)(() => {
|
|
99
125
|
scheduleLazyRender();
|
|
100
126
|
}, [scheduleLazyRender]);
|
|
@@ -37,6 +37,6 @@ function ActionsButton({ action, entity }) {
|
|
|
37
37
|
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(actionsColumnCell_1.ActionColumnCell, { ref: buttonRef, tag: action.createLink !== undefined ? "a" : "button", hash: action.id, title: action.createTitle(entity), href: action.createLink !== undefined ? action.createLink(entity) : undefined, icon: action.icon, onClick: e => {
|
|
38
38
|
setIsMenuOpen(!isMenuOpen);
|
|
39
39
|
action.handler && action.handler(entity, e.target);
|
|
40
|
-
} }, action.id), items.length ? ((0, jsx_runtime_1.jsx)(controlledMenu_1.ControlledMenu, { triggerRef: buttonRef, alignment: "bottom-
|
|
40
|
+
} }, action.id), items.length ? ((0, jsx_runtime_1.jsx)(controlledMenu_1.ControlledMenu, { triggerRef: buttonRef, alignment: "bottom-end", isOpen: isMenuOpen, setIsOpen: setIsMenuOpen, title: action.createTitle(entity), children: items }, entityId + "-" + action.id + "-menu")) : null] }));
|
|
41
41
|
}
|
|
42
42
|
exports.ActionsButton = ActionsButton;
|
|
@@ -220,7 +220,7 @@ const withFlexibleColumns = DataGridComponent => {
|
|
|
220
220
|
}) : (0, jsx_runtime_1.jsx)(popup_1.Popup, {
|
|
221
221
|
ariaLabel: translate("Select visible columns"),
|
|
222
222
|
triggerRef: popupTriggerRef,
|
|
223
|
-
alignment: "bottom-
|
|
223
|
+
alignment: "bottom-end",
|
|
224
224
|
children: (0, jsx_runtime_1.jsx)(columnSettings_1.ColumnSettings, {
|
|
225
225
|
onReset: onResetListener,
|
|
226
226
|
children: listOfColumns
|
|
@@ -294,7 +294,7 @@ const withSelectableRows = DataGridComponent => {
|
|
|
294
294
|
triggerRef: selectMenuRef,
|
|
295
295
|
isOpen: isOpen,
|
|
296
296
|
onOpenChange: setIsOpen,
|
|
297
|
-
alignment: "bottom-
|
|
297
|
+
alignment: "bottom-start",
|
|
298
298
|
children: (0, jsx_runtime_1.jsx)(selectList_1.SelectList, {
|
|
299
299
|
id: selectId,
|
|
300
300
|
title: translate("Select menu"),
|
|
@@ -14,60 +14,60 @@ const timePicker_1 = require("../timePicker/timePicker");
|
|
|
14
14
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
15
15
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
16
16
|
const formFieldError_1 = require("../formFieldError/formFieldError");
|
|
17
|
-
injectString("cs", "The time must be set", "Je t\u0159eba nastavit \u010Das.");
|
|
18
|
-
injectString("da-DK", "The time must be set", "Tiden skal indstilles.");
|
|
19
|
-
injectString("de", "The time must be set", "Die Uhrzeit muss festgelegt werden.");
|
|
20
|
-
injectString("en", "The time must be set", "The time must be set.");
|
|
21
|
-
injectString("es", "The time must be set", "Se debe establecer la hora.");
|
|
22
|
-
injectString("fi-FI", "The time must be set", "Aika on asetettava.");
|
|
23
|
-
injectString("fr", "The time must be set", "L'heure doit \xEAtre programm\xE9e.");
|
|
24
|
-
injectString("fr-FR", "The time must be set", "L'heure doit \xEAtre d\xE9finie.");
|
|
25
|
-
injectString("hu-HU", "The time must be set", "Az id\u0151 be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
26
|
-
injectString("id", "The time must be set", "Waktu harus diatur.");
|
|
27
|
-
injectString("it", "The time must be set", "Impostare l'ora.");
|
|
28
|
-
injectString("ja", "The time must be set", "\u6642\u523B\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
29
|
-
injectString("ko-KR", "The time must be set", "\uC2DC\uAC04\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
30
|
-
injectString("ms", "The time must be set", "Masa mesti ditetapkan.");
|
|
31
|
-
injectString("nb-NO", "The time must be set", "Tiden m\xE5 settes.");
|
|
32
|
-
injectString("nl", "The time must be set", "De tijd moet worden ingesteld.");
|
|
33
|
-
injectString("pl", "The time must be set", "Godzina musi by\u0107 ustawiona.");
|
|
34
|
-
injectString("pt-BR", "The time must be set", "\xC9 necess\xE1rio definir a hora.");
|
|
35
|
-
injectString("pt-PT", "The time must be set", "A hora deve ser definida");
|
|
36
|
-
injectString("sk-SK", "The time must be set", "Mus\xED\u0161 nastavi\u0165 \u010Das.");
|
|
37
|
-
injectString("sv", "The time must be set", "Tiden m\xE5ste anges.");
|
|
38
|
-
injectString("th", "The time must be set", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E27\u0E25\u0E32");
|
|
39
|
-
injectString("tr", "The time must be set", "Saat ayarlanmal\u0131d\u0131r.");
|
|
40
|
-
injectString("zh-Hans", "The time must be set", "\u5FC5\u987B\u8BBE\u5B9A\u65F6\u95F4\u3002");
|
|
41
|
-
injectString("zh-TW", "The time must be set", "\u5FC5\u9808\u8A2D\u5B9A\u6642\u9593");
|
|
42
|
-
injectString("ro-RO", "The time must be set", "Trebuie setat\u0103 ora");
|
|
43
|
-
injectString("ar", "The time must be set", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0648\u0642\u062A.");
|
|
44
|
-
injectString("cs", "The date must be set", "Je t\u0159eba nastavit datum.");
|
|
45
|
-
injectString("da-DK", "The date must be set", "Datoen skal indstilles.");
|
|
46
|
-
injectString("de", "The date must be set", "Das Datum muss festgelegt werden.");
|
|
47
|
-
injectString("en", "The date must be set", "The date must be set.");
|
|
48
|
-
injectString("es", "The date must be set", "Se debe establecer la fecha.");
|
|
49
|
-
injectString("fi-FI", "The date must be set", "P\xE4iv\xE4m\xE4\xE4r\xE4 on asetettava.");
|
|
50
|
-
injectString("fr", "The date must be set", "La date doit \xEAtre programm\xE9e.");
|
|
51
|
-
injectString("fr-FR", "The date must be set", "La date doit \xEAtre d\xE9finie.");
|
|
52
|
-
injectString("hu-HU", "The date must be set", "A d\xE1tum be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
53
|
-
injectString("id", "The date must be set", "Tanggal harus diatur.");
|
|
54
|
-
injectString("it", "The date must be set", "Impostare la data.");
|
|
55
|
-
injectString("ja", "The date must be set", "\u65E5\u4ED8\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
56
|
-
injectString("ko-KR", "The date must be set", "\uB0A0\uC9DC\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
57
|
-
injectString("ms", "The date must be set", "Tarikh mesti ditetapkan.");
|
|
58
|
-
injectString("nb-NO", "The date must be set", "Datoen m\xE5 settes.");
|
|
59
|
-
injectString("nl", "The date must be set", "De datum moet worden ingesteld.");
|
|
60
|
-
injectString("pl", "The date must be set", "Data musi by\u0107 ustawiona.");
|
|
61
|
-
injectString("pt-BR", "The date must be set", "\xC9 necess\xE1rio definir a data.");
|
|
62
|
-
injectString("pt-PT", "The date must be set", "A data deve ser definida");
|
|
63
|
-
injectString("sk-SK", "The date must be set", "Mus\xED\u0161 nastavi\u0165 d\xE1tum.");
|
|
64
|
-
injectString("sv", "The date must be set", "Datumet m\xE5ste anges.");
|
|
65
|
-
injectString("th", "The date must be set", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48");
|
|
66
|
-
injectString("tr", "The date must be set", "Tarih ayarlanmal\u0131d\u0131r.");
|
|
67
|
-
injectString("zh-Hans", "The date must be set", "\u5FC5\u987B\u8BBE\u5B9A\u65E5\u671F\u3002");
|
|
68
|
-
injectString("zh-TW", "The date must be set", "\u5FC5\u9808\u8A2D\u5B9A\u65E5\u671F");
|
|
69
|
-
injectString("ro-RO", "The date must be set", "Trebuie setat\u0103 data");
|
|
70
|
-
injectString("ar", "The date must be set", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u062A\u0627\u0631\u064A\u062E.");
|
|
17
|
+
injectString("cs", "The time must be set.", "Je t\u0159eba nastavit \u010Das.");
|
|
18
|
+
injectString("da-DK", "The time must be set.", "Tiden skal indstilles.");
|
|
19
|
+
injectString("de", "The time must be set.", "Die Uhrzeit muss festgelegt werden.");
|
|
20
|
+
injectString("en", "The time must be set.", "The time must be set.");
|
|
21
|
+
injectString("es", "The time must be set.", "Se debe establecer la hora.");
|
|
22
|
+
injectString("fi-FI", "The time must be set.", "Aika on asetettava.");
|
|
23
|
+
injectString("fr", "The time must be set.", "L'heure doit \xEAtre programm\xE9e.");
|
|
24
|
+
injectString("fr-FR", "The time must be set.", "L'heure doit \xEAtre d\xE9finie.");
|
|
25
|
+
injectString("hu-HU", "The time must be set.", "Az id\u0151 be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
26
|
+
injectString("id", "The time must be set.", "Waktu harus diatur.");
|
|
27
|
+
injectString("it", "The time must be set.", "Impostare l'ora.");
|
|
28
|
+
injectString("ja", "The time must be set.", "\u6642\u523B\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
29
|
+
injectString("ko-KR", "The time must be set.", "\uC2DC\uAC04\uC744 \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
30
|
+
injectString("ms", "The time must be set.", "Masa mesti ditetapkan.");
|
|
31
|
+
injectString("nb-NO", "The time must be set.", "Tiden m\xE5 settes.");
|
|
32
|
+
injectString("nl", "The time must be set.", "De tijd moet worden ingesteld.");
|
|
33
|
+
injectString("pl", "The time must be set.", "Godzina musi by\u0107 ustawiona.");
|
|
34
|
+
injectString("pt-BR", "The time must be set.", "\xC9 necess\xE1rio definir a hora.");
|
|
35
|
+
injectString("pt-PT", "The time must be set.", "A hora deve ser definida");
|
|
36
|
+
injectString("sk-SK", "The time must be set.", "Mus\xED\u0161 nastavi\u0165 \u010Das.");
|
|
37
|
+
injectString("sv", "The time must be set.", "Tiden m\xE5ste anges.");
|
|
38
|
+
injectString("th", "The time must be set.", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E40\u0E27\u0E25\u0E32");
|
|
39
|
+
injectString("tr", "The time must be set.", "Saat ayarlanmal\u0131d\u0131r.");
|
|
40
|
+
injectString("zh-Hans", "The time must be set.", "\u5FC5\u987B\u8BBE\u5B9A\u65F6\u95F4\u3002");
|
|
41
|
+
injectString("zh-TW", "The time must be set.", "\u5FC5\u9808\u8A2D\u5B9A\u6642\u9593");
|
|
42
|
+
injectString("ro-RO", "The time must be set.", "Trebuie setat\u0103 ora");
|
|
43
|
+
injectString("ar", "The time must be set.", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u0648\u0642\u062A.");
|
|
44
|
+
injectString("cs", "The date must be set.", "Je t\u0159eba nastavit datum.");
|
|
45
|
+
injectString("da-DK", "The date must be set.", "Datoen skal indstilles.");
|
|
46
|
+
injectString("de", "The date must be set.", "Das Datum muss festgelegt werden.");
|
|
47
|
+
injectString("en", "The date must be set.", "The date must be set.");
|
|
48
|
+
injectString("es", "The date must be set.", "Se debe establecer la fecha.");
|
|
49
|
+
injectString("fi-FI", "The date must be set.", "P\xE4iv\xE4m\xE4\xE4r\xE4 on asetettava.");
|
|
50
|
+
injectString("fr", "The date must be set.", "La date doit \xEAtre programm\xE9e.");
|
|
51
|
+
injectString("fr-FR", "The date must be set.", "La date doit \xEAtre d\xE9finie.");
|
|
52
|
+
injectString("hu-HU", "The date must be set.", "A d\xE1tum be\xE1ll\xEDt\xE1sa k\xF6telez\u0151.");
|
|
53
|
+
injectString("id", "The date must be set.", "Tanggal harus diatur.");
|
|
54
|
+
injectString("it", "The date must be set.", "Impostare la data.");
|
|
55
|
+
injectString("ja", "The date must be set.", "\u65E5\u4ED8\u3092\u8A2D\u5B9A\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059\u3002");
|
|
56
|
+
injectString("ko-KR", "The date must be set.", "\uB0A0\uC9DC\uB97C \uC124\uC815\uD574\uC57C \uD569\uB2C8\uB2E4.");
|
|
57
|
+
injectString("ms", "The date must be set.", "Tarikh mesti ditetapkan.");
|
|
58
|
+
injectString("nb-NO", "The date must be set.", "Datoen m\xE5 settes.");
|
|
59
|
+
injectString("nl", "The date must be set.", "De datum moet worden ingesteld.");
|
|
60
|
+
injectString("pl", "The date must be set.", "Data musi by\u0107 ustawiona.");
|
|
61
|
+
injectString("pt-BR", "The date must be set.", "\xC9 necess\xE1rio definir a data.");
|
|
62
|
+
injectString("pt-PT", "The date must be set.", "A data deve ser definida");
|
|
63
|
+
injectString("sk-SK", "The date must be set.", "Mus\xED\u0161 nastavi\u0165 d\xE1tum.");
|
|
64
|
+
injectString("sv", "The date must be set.", "Datumet m\xE5ste anges.");
|
|
65
|
+
injectString("th", "The date must be set.", "\u0E15\u0E49\u0E2D\u0E07\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48");
|
|
66
|
+
injectString("tr", "The date must be set.", "Tarih ayarlanmal\u0131d\u0131r.");
|
|
67
|
+
injectString("zh-Hans", "The date must be set.", "\u5FC5\u987B\u8BBE\u5B9A\u65E5\u671F\u3002");
|
|
68
|
+
injectString("zh-TW", "The date must be set.", "\u5FC5\u9808\u8A2D\u5B9A\u65E5\u671F");
|
|
69
|
+
injectString("ro-RO", "The date must be set.", "Trebuie setat\u0103 data");
|
|
70
|
+
injectString("ar", "The date must be set.", "\u064A\u062C\u0628 \u062A\u0639\u064A\u064A\u0646 \u0627\u0644\u062A\u0627\u0631\u064A\u062E.");
|
|
71
71
|
const useDriveClassName_1 = require("../utils/theme/useDriveClassName");
|
|
72
72
|
const DateInputInnerControlBlock = props => {
|
|
73
73
|
const {
|
|
@@ -122,7 +122,7 @@ const DateInputInnerControlBlock = props => {
|
|
|
122
122
|
dataTimeId: id
|
|
123
123
|
}), isHasTimeError ? (0, jsx_runtime_1.jsx)(formFieldError_1.FormFieldError, {
|
|
124
124
|
id: timeErrorId,
|
|
125
|
-
error: translate("The time must be set")
|
|
125
|
+
error: translate("The time must be set.")
|
|
126
126
|
}) : null]
|
|
127
127
|
}) : null, [selectTime, isActiveField, isHasTimeError, timePickerValue, timeChangeHandler, isMobileView, id, timeErrorId, translate]);
|
|
128
128
|
return (0, jsx_runtime_1.jsxs)("div", {
|
|
@@ -137,7 +137,7 @@ const DateInputInnerControlBlock = props => {
|
|
|
137
137
|
className: "zen-date-input-inner__inputs-block-item",
|
|
138
138
|
children: [memoizedDateInput, isHasDateError ? (0, jsx_runtime_1.jsx)(formFieldError_1.FormFieldError, {
|
|
139
139
|
id: dateErrorId,
|
|
140
|
-
error: translate("The date must be set")
|
|
140
|
+
error: translate("The date must be set.")
|
|
141
141
|
}) : null]
|
|
142
142
|
}), memoizedTimeSelect]
|
|
143
143
|
}), assistiveText ? (0, jsx_runtime_1.jsx)("div", {
|
|
@@ -147,4 +147,4 @@ const DateInputInnerControlBlock = props => {
|
|
|
147
147
|
});
|
|
148
148
|
};
|
|
149
149
|
exports.DateInputInnerControlBlock = DateInputInnerControlBlock;
|
|
150
|
-
exports.TRANSLATIONS = ["The date must be set", "The time must be set"];
|
|
150
|
+
exports.TRANSLATIONS = ["The date must be set.", "The time must be set."];
|
package/dist/divider/divider.js
CHANGED
|
@@ -5,7 +5,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
6
6
|
const Divider = ({ className, spacing }) => {
|
|
7
7
|
const classes = (0, classNames_1.classNames)(["zen-divider", className !== null && className !== void 0 ? className : ""]);
|
|
8
|
-
const style = spacing ? {
|
|
8
|
+
const style = spacing ? { marginBlockStart: spacing, marginBlockEnd: spacing } : undefined;
|
|
9
9
|
return (0, jsx_runtime_1.jsx)("hr", { className: classes, style: style, role: "separator" });
|
|
10
10
|
};
|
|
11
11
|
exports.Divider = Divider;
|
|
@@ -165,4 +165,4 @@ const FiltersBarPeriodPicker = ({ props, hasApplyButton, className, useSidePanel
|
|
|
165
165
|
return ((0, jsx_runtime_1.jsx)(sidePanelCell_1.SidePanelCell, { role: "group", labelledBy: filterBarLabelledId, titleId: filterBarLabelledId, title: sidePanelTitle, withoutSidePaddings: !isUsePopup, children: isUsePopup ? popup : component }));
|
|
166
166
|
};
|
|
167
167
|
exports.FiltersBarPeriodPicker = FiltersBarPeriodPicker;
|
|
168
|
-
exports.TRANSLATIONS = ["Clear", "Reset", "Apply", "Date range filter", "The
|
|
168
|
+
exports.TRANSLATIONS = ["Clear", "Reset", "Apply", "Date range filter", "The Start date cannot be empty.", "The End date cannot be empty."];
|