@geotab/zenith 3.11.0-beta.0 → 3.11.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 +3 -26
- package/dist/calendar/calendar.js +4 -7
- package/dist/card/components/title.js +1 -4
- package/dist/card/components/titleLink.js +2 -5
- package/dist/chart/barChart/getDefaultOptions.d.ts +1 -2
- package/dist/chart/barChart/getDefaultOptions.js +2 -5
- package/dist/chart/barChart.js +4 -6
- package/dist/chart/lineChart/getDefaultOptions.d.ts +1 -2
- package/dist/chart/lineChart/getDefaultOptions.js +2 -5
- package/dist/chart/lineChart.js +2 -4
- package/dist/checkboxListWithAction/checkboxListWithAction.js +1 -4
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +1 -4
- package/dist/commonStyles/pillStyles/pillContent.less +14 -13
- package/dist/commonStyles/pillStyles/pillStyles.less +5 -4
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/typography/typography.less +19 -579
- package/dist/controlledPopup/controlledPopup.d.ts +0 -1
- package/dist/controlledPopup/controlledPopup.js +1 -3
- package/dist/dataGrid/cell/cell.d.ts +1 -2
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/dataGrid.js +4 -7
- package/dist/dataGrid/listColumn.d.ts +0 -2
- package/dist/dataGrid/row/row.d.ts +1 -2
- package/dist/dataGrid/row/row.js +9 -13
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +1 -2
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +0 -4
- package/dist/dateRangeInner/dateRangeInner.js +2 -5
- package/dist/dateRangeRaw/dateRangeRaw.js +2 -5
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +6 -12
- package/dist/fileUpload/components/dropZoneContent.js +100 -100
- package/dist/fileUpload/fileUpload.js +100 -100
- package/dist/filters/components/filtersSearchList.js +1 -4
- package/dist/filtersBar/filtersContainer/filtersContainer.js +61 -62
- package/dist/formStepperButtons/formStepperButtons.js +1 -4
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +1 -4
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +1 -4
- package/dist/header/headerBack.js +1 -4
- package/dist/icons/iconAlignLeft.js +3 -1
- package/dist/icons/iconAlignmentLeft.js +3 -1
- package/dist/icons/iconAlignmentRight.js +3 -1
- package/dist/icons/iconArrowBottomLeft.js +3 -1
- package/dist/icons/iconArrowBottomRight.js +3 -1
- package/dist/icons/iconArrowLeftPath.js +3 -1
- package/dist/icons/iconArrowRight.js +3 -1
- package/dist/icons/iconArrowRightCircle.js +3 -1
- package/dist/icons/iconArrowRightPath.js +3 -1
- package/dist/icons/iconArrowTopLeft.js +3 -1
- package/dist/icons/iconArrowTopRight.js +3 -1
- package/dist/icons/iconChevronDoubleRight.js +3 -1
- package/dist/icons/iconChevronRight.js +3 -1
- package/dist/icons/iconChevronRightSmall.js +3 -1
- package/dist/icons/iconCornerDownLeft.js +3 -1
- package/dist/icons/iconCornerDownRight.js +3 -1
- package/dist/icons/iconCornerLeftDown.js +3 -1
- package/dist/icons/iconCornerLeftUp.js +3 -1
- package/dist/icons/iconCornerRightDown.js +3 -1
- package/dist/icons/iconCornerRightUp.js +3 -1
- package/dist/icons/iconCornerUpLeft.js +3 -1
- package/dist/icons/iconCornerUpRight.js +3 -1
- package/dist/index.css +2920 -3245
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/dist/lineChartMini/lineChartMini.js +3 -15
- package/dist/list/itemData/itemDataInternal.js +1 -4
- package/dist/list/listItem/listItem.js +1 -4
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +1 -4
- package/dist/menu/components/menuButton.js +1 -4
- package/dist/menu/utils/useMenuItemCore.js +1 -4
- package/dist/nav/navItem/navItem.js +1 -4
- package/dist/pagination/paginationArrow.js +3 -10
- package/dist/radioGroupRaw/radioGroupRaw.js +1 -2
- package/dist/rangeRaw/rangeRaw.js +1 -0
- package/dist/selectList/selectList.helpers.d.ts +1 -1
- package/dist/selectList/selectList.helpers.js +4 -29
- package/dist/selectList/selectList.js +1 -3
- package/dist/selectList/selectList.reducer.js +2 -1
- package/dist/selectList/selectListItem.js +1 -4
- package/dist/sortControl/sortControl.js +4 -59
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/flexible/columnsList.js +2 -4
- package/dist/table/selectable/useSelectableRows.d.ts +0 -8
- package/dist/table/selectable/useSelectableRows.js +6 -14
- package/dist/table/table.js +7 -1
- package/dist/tabs/tabs.js +58 -60
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +2 -5
- package/dist/utils/localization/translations/ar.json +1 -3
- package/dist/utils/localization/translations/cs.json +5 -9
- package/dist/utils/localization/translations/da-DK.json +5 -9
- package/dist/utils/localization/translations/de.json +5 -9
- package/dist/utils/localization/translations/en.json +1 -5
- package/dist/utils/localization/translations/es.json +5 -9
- package/dist/utils/localization/translations/fi-FI.json +5 -9
- package/dist/utils/localization/translations/fr-FR.json +5 -9
- package/dist/utils/localization/translations/fr.json +5 -9
- package/dist/utils/localization/translations/hu-HU.json +5 -9
- package/dist/utils/localization/translations/id.json +5 -9
- package/dist/utils/localization/translations/it.json +5 -9
- package/dist/utils/localization/translations/ja.json +5 -9
- package/dist/utils/localization/translations/ko-KR.json +5 -9
- package/dist/utils/localization/translations/ms.json +5 -9
- package/dist/utils/localization/translations/nb-NO.json +5 -9
- package/dist/utils/localization/translations/nl.json +5 -9
- package/dist/utils/localization/translations/pl.json +5 -9
- package/dist/utils/localization/translations/pt-BR.json +5 -9
- package/dist/utils/localization/translations/pt-PT.json +5 -9
- package/dist/utils/localization/translations/ro-RO.json +5 -9
- package/dist/utils/localization/translations/sk-SK.json +5 -9
- package/dist/utils/localization/translations/sv.json +5 -9
- package/dist/utils/localization/translations/th.json +5 -9
- package/dist/utils/localization/translations/tr.json +5 -9
- package/dist/utils/localization/translations/zh-Hans.json +5 -9
- package/dist/utils/localization/translations/zh-TW.json +5 -9
- package/dist/utils/positioningUtils/alignments.d.ts +2 -2
- package/dist/utils/positioningUtils/alignments.js +2 -2
- package/dist/utils/positioningUtils/calculatePosition.js +6 -4
- package/esm/calendar/calendar.js +4 -7
- package/esm/card/components/title.js +1 -4
- package/esm/card/components/titleLink.js +2 -5
- package/esm/chart/barChart/getDefaultOptions.d.ts +1 -2
- package/esm/chart/barChart/getDefaultOptions.js +2 -5
- package/esm/chart/barChart.js +4 -6
- package/esm/chart/lineChart/getDefaultOptions.d.ts +1 -2
- package/esm/chart/lineChart/getDefaultOptions.js +2 -5
- package/esm/chart/lineChart.js +2 -4
- package/esm/checkboxListWithAction/checkboxListWithAction.js +1 -4
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +1 -4
- package/esm/controlledPopup/controlledPopup.d.ts +0 -1
- package/esm/controlledPopup/controlledPopup.js +1 -3
- package/esm/dataGrid/cell/cell.d.ts +1 -2
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/dataGrid.js +4 -7
- package/esm/dataGrid/listColumn.d.ts +0 -2
- package/esm/dataGrid/row/row.d.ts +1 -2
- package/esm/dataGrid/row/row.js +9 -13
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +1 -2
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +0 -4
- package/esm/dateRangeInner/dateRangeInner.js +2 -5
- package/esm/dateRangeRaw/dateRangeRaw.js +2 -5
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +6 -12
- package/esm/fileUpload/components/dropZoneContent.js +100 -100
- package/esm/fileUpload/fileUpload.js +100 -100
- package/esm/filters/components/filtersSearchList.js +1 -4
- package/esm/filtersBar/filtersContainer/filtersContainer.js +61 -62
- package/esm/formStepperButtons/formStepperButtons.js +1 -4
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +1 -4
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +1 -4
- package/esm/header/headerBack.js +1 -4
- package/esm/icons/iconAlignLeft.js +3 -1
- package/esm/icons/iconAlignmentLeft.js +3 -1
- package/esm/icons/iconAlignmentRight.js +3 -1
- package/esm/icons/iconArrowBottomLeft.js +3 -1
- package/esm/icons/iconArrowBottomRight.js +3 -1
- package/esm/icons/iconArrowLeftPath.js +3 -1
- package/esm/icons/iconArrowRight.js +3 -1
- package/esm/icons/iconArrowRightCircle.js +3 -1
- package/esm/icons/iconArrowRightPath.js +3 -1
- package/esm/icons/iconArrowTopLeft.js +3 -1
- package/esm/icons/iconArrowTopRight.js +3 -1
- package/esm/icons/iconChevronDoubleRight.js +3 -1
- package/esm/icons/iconChevronRight.js +3 -1
- package/esm/icons/iconChevronRightSmall.js +3 -1
- package/esm/icons/iconCornerDownLeft.js +3 -1
- package/esm/icons/iconCornerDownRight.js +3 -1
- package/esm/icons/iconCornerLeftDown.js +3 -1
- package/esm/icons/iconCornerLeftUp.js +3 -1
- package/esm/icons/iconCornerRightDown.js +3 -1
- package/esm/icons/iconCornerRightUp.js +3 -1
- package/esm/icons/iconCornerUpLeft.js +3 -1
- package/esm/icons/iconCornerUpRight.js +3 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/lineChartMini/lineChartMini.js +3 -15
- package/esm/list/itemData/itemDataInternal.js +1 -4
- package/esm/list/listItem/listItem.js +1 -4
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +1 -4
- package/esm/menu/components/menuButton.js +1 -4
- package/esm/menu/utils/useMenuItemCore.js +1 -4
- package/esm/nav/navItem/navItem.js +1 -4
- package/esm/pagination/paginationArrow.js +3 -10
- package/esm/radioGroupRaw/radioGroupRaw.js +1 -2
- package/esm/rangeRaw/rangeRaw.js +1 -0
- package/esm/selectList/selectList.helpers.d.ts +1 -1
- package/esm/selectList/selectList.helpers.js +4 -29
- package/esm/selectList/selectList.js +1 -3
- package/esm/selectList/selectList.reducer.js +2 -1
- package/esm/selectList/selectListItem.js +1 -4
- package/esm/sortControl/sortControl.js +4 -59
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/flexible/columnsList.js +2 -4
- package/esm/table/selectable/useSelectableRows.d.ts +0 -8
- package/esm/table/selectable/useSelectableRows.js +6 -14
- package/esm/table/table.js +7 -1
- package/esm/tabs/tabs.js +58 -60
- package/esm/tabs/tabsTestHelper.js +2 -2
- package/esm/timePickerRaw/timePickerRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +2 -5
- package/esm/utils/localization/translations/ar.json +1 -3
- package/esm/utils/localization/translations/cs.json +5 -9
- package/esm/utils/localization/translations/da-DK.json +5 -9
- package/esm/utils/localization/translations/de.json +5 -9
- package/esm/utils/localization/translations/en.json +1 -5
- package/esm/utils/localization/translations/es.json +5 -9
- package/esm/utils/localization/translations/fi-FI.json +5 -9
- package/esm/utils/localization/translations/fr-FR.json +5 -9
- package/esm/utils/localization/translations/fr.json +5 -9
- package/esm/utils/localization/translations/hu-HU.json +5 -9
- package/esm/utils/localization/translations/id.json +5 -9
- package/esm/utils/localization/translations/it.json +5 -9
- package/esm/utils/localization/translations/ja.json +5 -9
- package/esm/utils/localization/translations/ko-KR.json +5 -9
- package/esm/utils/localization/translations/ms.json +5 -9
- package/esm/utils/localization/translations/nb-NO.json +5 -9
- package/esm/utils/localization/translations/nl.json +5 -9
- package/esm/utils/localization/translations/pl.json +5 -9
- package/esm/utils/localization/translations/pt-BR.json +5 -9
- package/esm/utils/localization/translations/pt-PT.json +5 -9
- package/esm/utils/localization/translations/ro-RO.json +5 -9
- package/esm/utils/localization/translations/sk-SK.json +5 -9
- package/esm/utils/localization/translations/sv.json +5 -9
- package/esm/utils/localization/translations/th.json +5 -9
- package/esm/utils/localization/translations/tr.json +5 -9
- package/esm/utils/localization/translations/zh-Hans.json +5 -9
- package/esm/utils/localization/translations/zh-TW.json +5 -9
- package/esm/utils/positioningUtils/alignments.d.ts +2 -2
- package/esm/utils/positioningUtils/alignments.js +2 -2
- package/esm/utils/positioningUtils/calculatePosition.js +6 -4
- package/package.json +122 -123
- package/dist/utils/localization/useDirectionalIcon.d.ts +0 -3
- package/dist/utils/localization/useDirectionalIcon.js +0 -9
- package/esm/testHelpers/mockAbsoluteAlignment.d.ts +0 -1
- package/esm/testHelpers/mockAbsoluteAlignment.js +0 -10
- package/esm/utils/localization/useDirectionalIcon.d.ts +0 -3
- package/esm/utils/localization/useDirectionalIcon.js +0 -5
|
@@ -17,86 +17,86 @@ const waiting_1 = require("../waiting/waiting");
|
|
|
17
17
|
const dropZoneContent_1 = require("./components/dropZoneContent");
|
|
18
18
|
const templateDownloadSection_1 = require("./components/templateDownloadSection");
|
|
19
19
|
const uploadedFilesSection_1 = require("./components/uploadedFilesSection");
|
|
20
|
-
injectString("cs", "Tap to add files", "
|
|
21
|
-
injectString("da-DK", "Tap to add files", "
|
|
22
|
-
injectString("de", "Tap to add files", "
|
|
20
|
+
injectString("cs", "Tap to add files", "Tap to add files");
|
|
21
|
+
injectString("da-DK", "Tap to add files", "Tap to add files");
|
|
22
|
+
injectString("de", "Tap to add files", "Tap to add files");
|
|
23
23
|
injectString("en", "Tap to add files", "Tap to add files");
|
|
24
|
-
injectString("es", "Tap to add files", "
|
|
25
|
-
injectString("fi-FI", "Tap to add files", "
|
|
26
|
-
injectString("fr", "Tap to add files", "
|
|
27
|
-
injectString("fr-FR", "Tap to add files", "
|
|
28
|
-
injectString("hu-HU", "Tap to add files", "
|
|
29
|
-
injectString("id", "Tap to add files", "
|
|
30
|
-
injectString("it", "Tap to add files", "
|
|
31
|
-
injectString("ja", "Tap to add files", "
|
|
32
|
-
injectString("ko-KR", "Tap to add files", "
|
|
33
|
-
injectString("ms", "Tap to add files", "
|
|
34
|
-
injectString("nb-NO", "Tap to add files", "
|
|
35
|
-
injectString("nl", "Tap to add files", "
|
|
36
|
-
injectString("pl", "Tap to add files", "
|
|
37
|
-
injectString("pt-BR", "Tap to add files", "
|
|
38
|
-
injectString("pt-PT", "Tap to add files", "
|
|
39
|
-
injectString("sk-SK", "Tap to add files", "
|
|
40
|
-
injectString("sv", "Tap to add files", "
|
|
41
|
-
injectString("th", "Tap to add files", "
|
|
42
|
-
injectString("tr", "Tap to add files", "
|
|
43
|
-
injectString("zh-Hans", "Tap to add files", "
|
|
44
|
-
injectString("zh-TW", "Tap to add files", "
|
|
45
|
-
injectString("ro-RO", "Tap to add files", "
|
|
24
|
+
injectString("es", "Tap to add files", "Tap to add files");
|
|
25
|
+
injectString("fi-FI", "Tap to add files", "Tap to add files");
|
|
26
|
+
injectString("fr", "Tap to add files", "Tap to add files");
|
|
27
|
+
injectString("fr-FR", "Tap to add files", "Tap to add files");
|
|
28
|
+
injectString("hu-HU", "Tap to add files", "Tap to add files");
|
|
29
|
+
injectString("id", "Tap to add files", "Tap to add files");
|
|
30
|
+
injectString("it", "Tap to add files", "Tap to add files");
|
|
31
|
+
injectString("ja", "Tap to add files", "Tap to add files");
|
|
32
|
+
injectString("ko-KR", "Tap to add files", "Tap to add files");
|
|
33
|
+
injectString("ms", "Tap to add files", "Tap to add files");
|
|
34
|
+
injectString("nb-NO", "Tap to add files", "Tap to add files");
|
|
35
|
+
injectString("nl", "Tap to add files", "Tap to add files");
|
|
36
|
+
injectString("pl", "Tap to add files", "Tap to add files");
|
|
37
|
+
injectString("pt-BR", "Tap to add files", "Tap to add files");
|
|
38
|
+
injectString("pt-PT", "Tap to add files", "Tap to add files");
|
|
39
|
+
injectString("sk-SK", "Tap to add files", "Tap to add files");
|
|
40
|
+
injectString("sv", "Tap to add files", "Tap to add files");
|
|
41
|
+
injectString("th", "Tap to add files", "Tap to add files");
|
|
42
|
+
injectString("tr", "Tap to add files", "Tap to add files");
|
|
43
|
+
injectString("zh-Hans", "Tap to add files", "Tap to add files");
|
|
44
|
+
injectString("zh-TW", "Tap to add files", "Tap to add files");
|
|
45
|
+
injectString("ro-RO", "Tap to add files", "Tap to add files");
|
|
46
46
|
injectString("ar-SA", "Tap to add files", "\u0627\u0646\u0642\u0631 \u0644\u0625\u0636\u0627\u0641\u0629 \u0645\u0644\u0641\u0627\u062A");
|
|
47
|
-
injectString("cs", "Drag & drop files or", "
|
|
48
|
-
injectString("da-DK", "Drag & drop files or", "
|
|
49
|
-
injectString("de", "Drag & drop files or", "
|
|
47
|
+
injectString("cs", "Drag & drop files or", "Drag & drop files or");
|
|
48
|
+
injectString("da-DK", "Drag & drop files or", "Drag & drop files or");
|
|
49
|
+
injectString("de", "Drag & drop files or", "Drag & drop files or");
|
|
50
50
|
injectString("en", "Drag & drop files or", "Drag & drop files or");
|
|
51
|
-
injectString("es", "Drag & drop files or", "
|
|
52
|
-
injectString("fi-FI", "Drag & drop files or", "
|
|
53
|
-
injectString("fr", "Drag & drop files or", "
|
|
54
|
-
injectString("fr-FR", "Drag & drop files or", "
|
|
55
|
-
injectString("hu-HU", "Drag & drop files or", "
|
|
56
|
-
injectString("id", "Drag & drop files or", "
|
|
57
|
-
injectString("it", "Drag & drop files or", "
|
|
58
|
-
injectString("ja", "Drag & drop files or", "
|
|
59
|
-
injectString("ko-KR", "Drag & drop files or", "
|
|
60
|
-
injectString("ms", "Drag & drop files or", "
|
|
61
|
-
injectString("nb-NO", "Drag & drop files or", "
|
|
62
|
-
injectString("nl", "Drag & drop files or", "
|
|
63
|
-
injectString("pl", "Drag & drop files or", "
|
|
64
|
-
injectString("pt-BR", "Drag & drop files or", "
|
|
65
|
-
injectString("pt-PT", "Drag & drop files or", "
|
|
66
|
-
injectString("sk-SK", "Drag & drop files or", "
|
|
67
|
-
injectString("sv", "Drag & drop files or", "
|
|
68
|
-
injectString("th", "Drag & drop files or", "
|
|
69
|
-
injectString("tr", "Drag & drop files or", "
|
|
70
|
-
injectString("zh-Hans", "Drag & drop files or", "
|
|
71
|
-
injectString("zh-TW", "Drag & drop files or", "
|
|
72
|
-
injectString("ro-RO", "Drag & drop files or", "
|
|
51
|
+
injectString("es", "Drag & drop files or", "Drag & drop files or");
|
|
52
|
+
injectString("fi-FI", "Drag & drop files or", "Drag & drop files or");
|
|
53
|
+
injectString("fr", "Drag & drop files or", "Drag & drop files or");
|
|
54
|
+
injectString("fr-FR", "Drag & drop files or", "Drag & drop files or");
|
|
55
|
+
injectString("hu-HU", "Drag & drop files or", "Drag & drop files or");
|
|
56
|
+
injectString("id", "Drag & drop files or", "Drag & drop files or");
|
|
57
|
+
injectString("it", "Drag & drop files or", "Drag & drop files or");
|
|
58
|
+
injectString("ja", "Drag & drop files or", "Drag & drop files or");
|
|
59
|
+
injectString("ko-KR", "Drag & drop files or", "Drag & drop files or");
|
|
60
|
+
injectString("ms", "Drag & drop files or", "Drag & drop files or");
|
|
61
|
+
injectString("nb-NO", "Drag & drop files or", "Drag & drop files or");
|
|
62
|
+
injectString("nl", "Drag & drop files or", "Drag & drop files or");
|
|
63
|
+
injectString("pl", "Drag & drop files or", "Drag & drop files or");
|
|
64
|
+
injectString("pt-BR", "Drag & drop files or", "Drag & drop files or");
|
|
65
|
+
injectString("pt-PT", "Drag & drop files or", "Drag & drop files or");
|
|
66
|
+
injectString("sk-SK", "Drag & drop files or", "Drag & drop files or");
|
|
67
|
+
injectString("sv", "Drag & drop files or", "Drag & drop files or");
|
|
68
|
+
injectString("th", "Drag & drop files or", "Drag & drop files or");
|
|
69
|
+
injectString("tr", "Drag & drop files or", "Drag & drop files or");
|
|
70
|
+
injectString("zh-Hans", "Drag & drop files or", "Drag & drop files or");
|
|
71
|
+
injectString("zh-TW", "Drag & drop files or", "Drag & drop files or");
|
|
72
|
+
injectString("ro-RO", "Drag & drop files or", "Drag & drop files or");
|
|
73
73
|
injectString("ar-SA", "Drag & drop files or", "\u0627\u0633\u062D\u0628 \u0648\u0623\u0641\u0644\u062A \u0627\u0644\u0645\u0644\u0641\u0627\u062A \u0623\u0648");
|
|
74
|
-
injectString("cs", "Browse", "
|
|
75
|
-
injectString("da-DK", "Browse", "
|
|
76
|
-
injectString("de", "Browse", "
|
|
74
|
+
injectString("cs", "Browse", "Browse");
|
|
75
|
+
injectString("da-DK", "Browse", "Browse");
|
|
76
|
+
injectString("de", "Browse", "Browse");
|
|
77
77
|
injectString("en", "Browse", "Browse");
|
|
78
|
-
injectString("es", "Browse", "
|
|
79
|
-
injectString("fi-FI", "Browse", "
|
|
80
|
-
injectString("fr", "Browse", "
|
|
81
|
-
injectString("fr-FR", "Browse", "
|
|
82
|
-
injectString("hu-HU", "Browse", "
|
|
83
|
-
injectString("id", "Browse", "
|
|
84
|
-
injectString("it", "Browse", "
|
|
85
|
-
injectString("ja", "Browse", "
|
|
86
|
-
injectString("ko-KR", "Browse", "
|
|
87
|
-
injectString("ms", "Browse", "
|
|
88
|
-
injectString("nb-NO", "Browse", "
|
|
89
|
-
injectString("nl", "Browse", "
|
|
90
|
-
injectString("pl", "Browse", "
|
|
91
|
-
injectString("pt-BR", "Browse", "
|
|
92
|
-
injectString("pt-PT", "Browse", "
|
|
93
|
-
injectString("sk-SK", "Browse", "
|
|
94
|
-
injectString("sv", "Browse", "
|
|
95
|
-
injectString("th", "Browse", "
|
|
96
|
-
injectString("tr", "Browse", "
|
|
97
|
-
injectString("zh-Hans", "Browse", "
|
|
98
|
-
injectString("zh-TW", "Browse", "
|
|
99
|
-
injectString("ro-RO", "Browse", "
|
|
78
|
+
injectString("es", "Browse", "Browse");
|
|
79
|
+
injectString("fi-FI", "Browse", "Browse");
|
|
80
|
+
injectString("fr", "Browse", "Browse");
|
|
81
|
+
injectString("fr-FR", "Browse", "Browse");
|
|
82
|
+
injectString("hu-HU", "Browse", "Browse");
|
|
83
|
+
injectString("id", "Browse", "Browse");
|
|
84
|
+
injectString("it", "Browse", "Browse");
|
|
85
|
+
injectString("ja", "Browse", "Browse");
|
|
86
|
+
injectString("ko-KR", "Browse", "Browse");
|
|
87
|
+
injectString("ms", "Browse", "Browse");
|
|
88
|
+
injectString("nb-NO", "Browse", "Browse");
|
|
89
|
+
injectString("nl", "Browse", "Browse");
|
|
90
|
+
injectString("pl", "Browse", "Browse");
|
|
91
|
+
injectString("pt-BR", "Browse", "Browse");
|
|
92
|
+
injectString("pt-PT", "Browse", "Browse");
|
|
93
|
+
injectString("sk-SK", "Browse", "Browse");
|
|
94
|
+
injectString("sv", "Browse", "Browse");
|
|
95
|
+
injectString("th", "Browse", "Browse");
|
|
96
|
+
injectString("tr", "Browse", "Browse");
|
|
97
|
+
injectString("zh-Hans", "Browse", "Browse");
|
|
98
|
+
injectString("zh-TW", "Browse", "Browse");
|
|
99
|
+
injectString("ro-RO", "Browse", "Browse");
|
|
100
100
|
injectString("ar-SA", "Browse", "\u062A\u0635\u0641\u062D");
|
|
101
101
|
injectString("cs", "Upload files.", "Upload files.");
|
|
102
102
|
injectString("da-DK", "Upload files.", "Upload files.");
|
|
@@ -125,32 +125,32 @@ injectString("zh-Hans", "Upload files.", "Upload files.");
|
|
|
125
125
|
injectString("zh-TW", "Upload files.", "Upload files.");
|
|
126
126
|
injectString("ro-RO", "Upload files.", "Upload files.");
|
|
127
127
|
injectString("ar-SA", "Upload files.", "\u0631\u0641\u0639 \u0627\u0644\u0645\u0644\u0641\u0627\u062A.");
|
|
128
|
-
injectString("cs", "Supported Formats:", "
|
|
129
|
-
injectString("da-DK", "Supported Formats:", "
|
|
130
|
-
injectString("de", "Supported Formats:", "
|
|
128
|
+
injectString("cs", "Supported Formats:", "Supported Formats:");
|
|
129
|
+
injectString("da-DK", "Supported Formats:", "Supported Formats:");
|
|
130
|
+
injectString("de", "Supported Formats:", "Supported Formats:");
|
|
131
131
|
injectString("en", "Supported Formats:", "Supported Formats:");
|
|
132
|
-
injectString("es", "Supported Formats:", "
|
|
133
|
-
injectString("fi-FI", "Supported Formats:", "
|
|
134
|
-
injectString("fr", "Supported Formats:", "Formats
|
|
135
|
-
injectString("fr-FR", "Supported Formats:", "Formats
|
|
136
|
-
injectString("hu-HU", "Supported Formats:", "
|
|
137
|
-
injectString("id", "Supported Formats:", "
|
|
138
|
-
injectString("it", "Supported Formats:", "
|
|
139
|
-
injectString("ja", "Supported Formats:", "
|
|
140
|
-
injectString("ko-KR", "Supported Formats:", "
|
|
141
|
-
injectString("ms", "Supported Formats:", "
|
|
142
|
-
injectString("nb-NO", "Supported Formats:", "
|
|
143
|
-
injectString("nl", "Supported Formats:", "
|
|
144
|
-
injectString("pl", "Supported Formats:", "
|
|
145
|
-
injectString("pt-BR", "Supported Formats:", "
|
|
146
|
-
injectString("pt-PT", "Supported Formats:", "
|
|
147
|
-
injectString("sk-SK", "Supported Formats:", "
|
|
148
|
-
injectString("sv", "Supported Formats:", "
|
|
149
|
-
injectString("th", "Supported Formats:", "
|
|
150
|
-
injectString("tr", "Supported Formats:", "
|
|
151
|
-
injectString("zh-Hans", "Supported Formats:", "
|
|
152
|
-
injectString("zh-TW", "Supported Formats:", "
|
|
153
|
-
injectString("ro-RO", "Supported Formats:", "
|
|
132
|
+
injectString("es", "Supported Formats:", "Supported Formats:");
|
|
133
|
+
injectString("fi-FI", "Supported Formats:", "Supported Formats:");
|
|
134
|
+
injectString("fr", "Supported Formats:", "Supported Formats:");
|
|
135
|
+
injectString("fr-FR", "Supported Formats:", "Supported Formats:");
|
|
136
|
+
injectString("hu-HU", "Supported Formats:", "Supported Formats:");
|
|
137
|
+
injectString("id", "Supported Formats:", "Supported Formats:");
|
|
138
|
+
injectString("it", "Supported Formats:", "Supported Formats:");
|
|
139
|
+
injectString("ja", "Supported Formats:", "Supported Formats:");
|
|
140
|
+
injectString("ko-KR", "Supported Formats:", "Supported Formats:");
|
|
141
|
+
injectString("ms", "Supported Formats:", "Supported Formats:");
|
|
142
|
+
injectString("nb-NO", "Supported Formats:", "Supported Formats:");
|
|
143
|
+
injectString("nl", "Supported Formats:", "Supported Formats:");
|
|
144
|
+
injectString("pl", "Supported Formats:", "Supported Formats:");
|
|
145
|
+
injectString("pt-BR", "Supported Formats:", "Supported Formats:");
|
|
146
|
+
injectString("pt-PT", "Supported Formats:", "Supported Formats:");
|
|
147
|
+
injectString("sk-SK", "Supported Formats:", "Supported Formats:");
|
|
148
|
+
injectString("sv", "Supported Formats:", "Supported Formats:");
|
|
149
|
+
injectString("th", "Supported Formats:", "Supported Formats:");
|
|
150
|
+
injectString("tr", "Supported Formats:", "Supported Formats:");
|
|
151
|
+
injectString("zh-Hans", "Supported Formats:", "Supported Formats:");
|
|
152
|
+
injectString("zh-TW", "Supported Formats:", "Supported Formats:");
|
|
153
|
+
injectString("ro-RO", "Supported Formats:", "Supported Formats:");
|
|
154
154
|
injectString("ar-SA", "Supported Formats:", "\u0627\u0644\u0635\u064A\u063A \u0627\u0644\u0645\u062F\u0639\u0648\u0645\u0629:");
|
|
155
155
|
injectString("cs", "File upload area", "File upload area");
|
|
156
156
|
injectString("da-DK", "File upload area", "File upload area");
|
|
@@ -284,8 +284,6 @@ const useLanguage_1 = require("../../utils/localization/useLanguage");
|
|
|
284
284
|
const button_1 = require("../../button/button");
|
|
285
285
|
const textIconButton_1 = require("../../textIconButton/textIconButton");
|
|
286
286
|
const iconChevronLeft_1 = require("../../icons/iconChevronLeft");
|
|
287
|
-
const iconChevronRight_1 = require("../../icons/iconChevronRight");
|
|
288
|
-
const useDirectionalIcon_1 = require("../../utils/localization/useDirectionalIcon");
|
|
289
287
|
const textIconButton_2 = require("../../textIconButton/textIconButton");
|
|
290
288
|
const filtersSearchItemData_1 = require("./filtersSearchItemData");
|
|
291
289
|
const useMobile_1 = require("../../commonHelpers/hooks/useMobile");
|
|
@@ -319,7 +317,6 @@ const FiltersSearchList = ({
|
|
|
319
317
|
const {
|
|
320
318
|
translate
|
|
321
319
|
} = (0, useLanguage_1.useLanguage)();
|
|
322
|
-
const BackChevronIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronLeft_1.IconChevronLeft, iconChevronRight_1.IconChevronRight);
|
|
323
320
|
const isSearchModeAvailable = Boolean(handleSearchItemClick && searchSelection);
|
|
324
321
|
const isRecentSearchesModeAvailable = Boolean(recentSearches && handleRecentSearchItemClick && onRemoveRecentSearchItem);
|
|
325
322
|
const isMobile = (0, useMobile_1.useMobile)();
|
|
@@ -516,7 +513,7 @@ const FiltersSearchList = ({
|
|
|
516
513
|
title: translate("Back"),
|
|
517
514
|
type: "tertiary",
|
|
518
515
|
onClick: changeMode.bind(null, "recent"),
|
|
519
|
-
icon:
|
|
516
|
+
icon: iconChevronLeft_1.IconChevronLeft,
|
|
520
517
|
iconPosition: textIconButton_2.ButtonIconPosition.Start
|
|
521
518
|
}), (0, jsx_runtime_1.jsx)(button_1.Button, {
|
|
522
519
|
type: "tertiary",
|
|
@@ -12,63 +12,63 @@ const textIconButton_1 = require("../../textIconButton/textIconButton");
|
|
|
12
12
|
const classNames_1 = require("../../commonHelpers/classNames/classNames");
|
|
13
13
|
const react_1 = require("react");
|
|
14
14
|
const iconChevronRight_1 = require("../../icons/iconChevronRight");
|
|
15
|
-
const iconChevronLeft_1 = require("../../icons/iconChevronLeft");
|
|
16
|
-
const useDirectionalIcon_1 = require("../../utils/localization/useDirectionalIcon");
|
|
17
15
|
const useLanguage_1 = require("../../utils/localization/useLanguage");
|
|
18
16
|
const useDriveClassName_1 = require("../../utils/theme/useDriveClassName");
|
|
19
17
|
const zen_1 = require("../../utils/zen");
|
|
20
|
-
injectString("cs", "Scroll
|
|
21
|
-
injectString("da-DK", "Scroll
|
|
22
|
-
injectString("de", "Scroll
|
|
23
|
-
injectString("en", "Scroll
|
|
24
|
-
injectString("es", "Scroll
|
|
25
|
-
injectString("fi-FI", "Scroll
|
|
26
|
-
injectString("fr", "Scroll
|
|
27
|
-
injectString("fr-FR", "Scroll
|
|
28
|
-
injectString("hu-HU", "Scroll
|
|
29
|
-
injectString("id", "Scroll
|
|
30
|
-
injectString("it", "Scroll
|
|
31
|
-
injectString("ja", "Scroll
|
|
32
|
-
injectString("ko-KR", "Scroll
|
|
33
|
-
injectString("ms", "Scroll
|
|
34
|
-
injectString("nb-NO", "Scroll
|
|
35
|
-
injectString("nl", "Scroll
|
|
36
|
-
injectString("pl", "Scroll
|
|
37
|
-
injectString("pt-BR", "Scroll
|
|
38
|
-
injectString("pt-PT", "Scroll
|
|
39
|
-
injectString("sk-SK", "Scroll
|
|
40
|
-
injectString("sv", "Scroll
|
|
41
|
-
injectString("th", "Scroll
|
|
42
|
-
injectString("tr", "Scroll
|
|
43
|
-
injectString("zh-Hans", "Scroll
|
|
44
|
-
injectString("zh-TW", "Scroll
|
|
45
|
-
injectString("ro-RO", "Scroll
|
|
46
|
-
injectString("
|
|
47
|
-
injectString("
|
|
48
|
-
injectString("
|
|
49
|
-
injectString("
|
|
50
|
-
injectString("
|
|
51
|
-
injectString("
|
|
52
|
-
injectString("
|
|
53
|
-
injectString("fr
|
|
54
|
-
injectString("
|
|
55
|
-
injectString("
|
|
56
|
-
injectString("
|
|
57
|
-
injectString("
|
|
58
|
-
injectString("
|
|
59
|
-
injectString("
|
|
60
|
-
injectString("
|
|
61
|
-
injectString("
|
|
62
|
-
injectString("
|
|
63
|
-
injectString("
|
|
64
|
-
injectString("pt-
|
|
65
|
-
injectString("
|
|
66
|
-
injectString("
|
|
67
|
-
injectString("
|
|
68
|
-
injectString("
|
|
69
|
-
injectString("
|
|
70
|
-
injectString("zh-
|
|
71
|
-
injectString("
|
|
18
|
+
injectString("cs", "Scroll left", "P\u0159ej\xEDt doleva");
|
|
19
|
+
injectString("da-DK", "Scroll left", "Rul til venstre");
|
|
20
|
+
injectString("de", "Scroll left", "Nach links scrollen");
|
|
21
|
+
injectString("en", "Scroll left", "Scroll left");
|
|
22
|
+
injectString("es", "Scroll left", "Desplazarse a la izquierda");
|
|
23
|
+
injectString("fi-FI", "Scroll left", "Selaa vasemmalle");
|
|
24
|
+
injectString("fr", "Scroll left", "D\xE9filer vers la gauche");
|
|
25
|
+
injectString("fr-FR", "Scroll left", "Faire d\xE9filer vers la gauche");
|
|
26
|
+
injectString("hu-HU", "Scroll left", "Lapozz balra.");
|
|
27
|
+
injectString("id", "Scroll left", "Gulir ke kiri");
|
|
28
|
+
injectString("it", "Scroll left", "Scorrere verso sinistra");
|
|
29
|
+
injectString("ja", "Scroll left", "\u5DE6\u306B\u30B9\u30AF\u30ED\u30FC\u30EB");
|
|
30
|
+
injectString("ko-KR", "Scroll left", "\uC67C\uCABD\uC73C\uB85C \uC2A4\uD06C\uB864");
|
|
31
|
+
injectString("ms", "Scroll left", "Skrol ke kiri");
|
|
32
|
+
injectString("nb-NO", "Scroll left", "Rull til venstre");
|
|
33
|
+
injectString("nl", "Scroll left", "Blader naar links");
|
|
34
|
+
injectString("pl", "Scroll left", "Przewi\u0144 w lewo");
|
|
35
|
+
injectString("pt-BR", "Scroll left", "Rolar para a esquerda");
|
|
36
|
+
injectString("pt-PT", "Scroll left", "Deslizar para a esquerda");
|
|
37
|
+
injectString("sk-SK", "Scroll left", "Posu\u0148 do\u013Eava");
|
|
38
|
+
injectString("sv", "Scroll left", "Bl\xE4ddra \xE5t v\xE4nster");
|
|
39
|
+
injectString("th", "Scroll left", "\u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E1B\u0E17\u0E32\u0E07\u0E0B\u0E49\u0E32\u0E22");
|
|
40
|
+
injectString("tr", "Scroll left", "Sola kayd\u0131r");
|
|
41
|
+
injectString("zh-Hans", "Scroll left", "\u5411\u5DE6\u6EDA\u52A8");
|
|
42
|
+
injectString("zh-TW", "Scroll left", "\u5411\u5DE6\u6372\u52D5");
|
|
43
|
+
injectString("ro-RO", "Scroll left", "Derula\u021Bi la st\xE2nga");
|
|
44
|
+
injectString("ar-SA", "Scroll left", "\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0644\u064A\u0633\u0627\u0631");
|
|
45
|
+
injectString("cs", "Scroll right", "P\u0159ej\xEDt doprava");
|
|
46
|
+
injectString("da-DK", "Scroll right", "Rul til h\xF8jre");
|
|
47
|
+
injectString("de", "Scroll right", "Nach rechts scrollen");
|
|
48
|
+
injectString("en", "Scroll right", "Scroll right");
|
|
49
|
+
injectString("es", "Scroll right", "Desplazarse a la derecha");
|
|
50
|
+
injectString("fi-FI", "Scroll right", "Selaa oikealle");
|
|
51
|
+
injectString("fr", "Scroll right", "D\xE9filer vers la droite");
|
|
52
|
+
injectString("fr-FR", "Scroll right", "Faire d\xE9filer vers la droite");
|
|
53
|
+
injectString("hu-HU", "Scroll right", "Lapozz jobbra.");
|
|
54
|
+
injectString("id", "Scroll right", "Gulir ke kanan");
|
|
55
|
+
injectString("it", "Scroll right", "Scorrere verso destra");
|
|
56
|
+
injectString("ja", "Scroll right", "\u53F3\u306B\u30B9\u30AF\u30ED\u30FC\u30EB");
|
|
57
|
+
injectString("ko-KR", "Scroll right", "\uC624\uB978\uCABD\uC73C\uB85C \uC2A4\uD06C\uB864");
|
|
58
|
+
injectString("ms", "Scroll right", "Skrol ke kanan");
|
|
59
|
+
injectString("nb-NO", "Scroll right", "Rull til h\xF8yre");
|
|
60
|
+
injectString("nl", "Scroll right", "Blader naar rechts");
|
|
61
|
+
injectString("pl", "Scroll right", "Przewi\u0144 w prawo");
|
|
62
|
+
injectString("pt-BR", "Scroll right", "Rolar para a direita");
|
|
63
|
+
injectString("pt-PT", "Scroll right", "Deslizar para a direita");
|
|
64
|
+
injectString("sk-SK", "Scroll right", "Posu\u0148 doprava");
|
|
65
|
+
injectString("sv", "Scroll right", "Bl\xE4ddra \xE5t h\xF6ger");
|
|
66
|
+
injectString("th", "Scroll right", "\u0E40\u0E25\u0E37\u0E48\u0E2D\u0E19\u0E44\u0E1B\u0E17\u0E32\u0E07\u0E02\u0E27\u0E32");
|
|
67
|
+
injectString("tr", "Scroll right", "Sa\u011Fa Kayd\u0131r");
|
|
68
|
+
injectString("zh-Hans", "Scroll right", "\u5411\u53F3\u6EDA\u52A8");
|
|
69
|
+
injectString("zh-TW", "Scroll right", "\u5411\u53F3\u6372\u52D5");
|
|
70
|
+
injectString("ro-RO", "Scroll right", "Derula\u021Bi la dreapta");
|
|
71
|
+
injectString("ar-SA", "Scroll right", "\u0627\u0644\u062A\u0645\u0631\u064A\u0631 \u0644\u0644\u064A\u0645\u064A\u0646");
|
|
72
72
|
const getScrollButtonType = element => {
|
|
73
73
|
const scrollLeft = element.scrollLeft;
|
|
74
74
|
const scrollWidth = element.scrollWidth;
|
|
@@ -93,8 +93,6 @@ const FiltersContainer = ({
|
|
|
93
93
|
const {
|
|
94
94
|
translate
|
|
95
95
|
} = (0, useLanguage_1.useLanguage)();
|
|
96
|
-
const ScrollStartIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronLeft_1.IconChevronLeft, iconChevronRight_1.IconChevronRight);
|
|
97
|
-
const ScrollEndIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronRight_1.IconChevronRight, iconChevronLeft_1.IconChevronLeft);
|
|
98
96
|
const gradientClass = "zen-filters-toolbar__gradient";
|
|
99
97
|
const scrollerClass = "zen-filters-toolbar__scroller";
|
|
100
98
|
const driveClassNameScroller = (0, useDriveClassName_1.useDriveClassName)(scrollerClass);
|
|
@@ -205,11 +203,12 @@ const FiltersContainer = ({
|
|
|
205
203
|
children: [(0, jsx_runtime_1.jsx)("div", {
|
|
206
204
|
className: (0, classNames_1.classNames)([gradientClass, driveClassNameGradient || "", `${gradientClass}--left`, showLeft ? `${gradientClass}--visible` : "", isHiddenDisplay.left ? `${gradientClass}--hidden` : ""])
|
|
207
205
|
}), (0, jsx_runtime_1.jsx)(textIconButton_1.TextIconButton, {
|
|
208
|
-
title: translate("Scroll
|
|
206
|
+
title: translate("Scroll left"),
|
|
209
207
|
className: (0, classNames_1.classNames)(["zen-filters-toolbar__scroller", driveClassNameScroller || "", "zen-filters-toolbar__start", showLeft ? `${scrollerClass}--visible` : "", isHiddenDisplay.left ? `${scrollerClass}--hidden` : ""]),
|
|
210
|
-
icon:
|
|
208
|
+
icon: iconChevronRight_1.IconChevronRight,
|
|
211
209
|
iconPosition: textIconButton_1.ButtonIconPosition.Start,
|
|
212
|
-
onClick: handleScrollButtonClick(-scrollableStep)
|
|
210
|
+
onClick: handleScrollButtonClick(-scrollableStep),
|
|
211
|
+
iconClasses: "zen-filters-toolbar__start-icon"
|
|
213
212
|
}), (0, jsx_runtime_1.jsx)("div", {
|
|
214
213
|
ref: scrollableRef,
|
|
215
214
|
className: (0, classNames_1.classNames)(["zen-filters-toolbar__scrollable", !isHiddenDisplay.left ? "has-left-scroller" : "", !isHiddenDisplay.right ? "has-right-scroller" : ""]),
|
|
@@ -220,13 +219,13 @@ const FiltersContainer = ({
|
|
|
220
219
|
}), (0, jsx_runtime_1.jsx)("div", {
|
|
221
220
|
className: (0, classNames_1.classNames)([gradientClass, driveClassNameGradient || "", `${gradientClass}--right`, showRight ? `${gradientClass}--visible` : "", isHiddenDisplay.right ? `${gradientClass}--hidden` : ""])
|
|
222
221
|
}), (0, jsx_runtime_1.jsx)(textIconButton_1.TextIconButton, {
|
|
223
|
-
title: translate("Scroll
|
|
222
|
+
title: translate("Scroll right"),
|
|
224
223
|
className: (0, classNames_1.classNames)([scrollerClass, driveClassNameScroller || "", "zen-filters-toolbar__end", showRight ? `${scrollerClass}--visible` : "", isHiddenDisplay.right ? `${scrollerClass}--hidden` : ""]),
|
|
225
|
-
icon:
|
|
224
|
+
icon: iconChevronRight_1.IconChevronRight,
|
|
226
225
|
onClick: handleScrollButtonClick(scrollableStep),
|
|
227
226
|
iconPosition: textIconButton_1.ButtonIconPosition.End
|
|
228
227
|
})]
|
|
229
228
|
}) : null;
|
|
230
229
|
};
|
|
231
230
|
exports.FiltersContainer = FiltersContainer;
|
|
232
|
-
exports.TRANSLATIONS = ["Scroll
|
|
231
|
+
exports.TRANSLATIONS = ["Scroll left", "Scroll right"];
|
|
@@ -11,8 +11,6 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
11
11
|
const react_1 = require("react");
|
|
12
12
|
const button_1 = require("../button/button");
|
|
13
13
|
const iconChevronLeft_1 = require("../icons/iconChevronLeft");
|
|
14
|
-
const iconChevronRight_1 = require("../icons/iconChevronRight");
|
|
15
|
-
const useDirectionalIcon_1 = require("../utils/localization/useDirectionalIcon");
|
|
16
14
|
const textIconButton_1 = require("../textIconButton/textIconButton");
|
|
17
15
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
18
16
|
const formStepper_1 = require("../formStepper/formStepper");
|
|
@@ -141,7 +139,6 @@ const FormStepperButtons = ({
|
|
|
141
139
|
translate
|
|
142
140
|
} = (0, useLanguage_1.useLanguage)();
|
|
143
141
|
const isMobile = (0, useMobile_1.useMobile)();
|
|
144
|
-
const BackChevronIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronLeft_1.IconChevronLeft, iconChevronRight_1.IconChevronRight);
|
|
145
142
|
const onPreviousHandler = (0, react_1.useCallback)(() => {
|
|
146
143
|
const currIndex = (0, getCurrentIndex_1.getCurrentIndex)(steps, current);
|
|
147
144
|
const prevStep = currIndex > 0 ? steps[currIndex - 1].id : null;
|
|
@@ -180,7 +177,7 @@ const FormStepperButtons = ({
|
|
|
180
177
|
className: "zen-form-step-buttons__left",
|
|
181
178
|
children: !isFirstStep && (0, jsx_runtime_1.jsx)(textIconButton_1.TextIconButton, {
|
|
182
179
|
className: "zen-form-step-buttons__previous",
|
|
183
|
-
icon:
|
|
180
|
+
icon: iconChevronLeft_1.IconChevronLeft,
|
|
184
181
|
type: "tertiary-black",
|
|
185
182
|
onClick: onPreviousHandler,
|
|
186
183
|
children: translate("Previous step")
|
|
@@ -126,8 +126,6 @@ const iconHouse_1 = require("../icons/deprecated/iconHouse");
|
|
|
126
126
|
const iconCheckRadio_1 = require("../icons/iconCheckRadio");
|
|
127
127
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
128
128
|
const iconArrowLeft_1 = require("../icons/iconArrowLeft");
|
|
129
|
-
const iconArrowRight_1 = require("../icons/iconArrowRight");
|
|
130
|
-
const useDirectionalIcon_1 = require("../utils/localization/useDirectionalIcon");
|
|
131
129
|
const GroupsFilterAdjustmentState = ({
|
|
132
130
|
children,
|
|
133
131
|
onBackButtonClick,
|
|
@@ -139,7 +137,6 @@ const GroupsFilterAdjustmentState = ({
|
|
|
139
137
|
const {
|
|
140
138
|
translate
|
|
141
139
|
} = (0, useLanguage_1.useLanguage)();
|
|
142
|
-
const BackArrowIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconArrowLeft_1.IconArrowLeft, iconArrowRight_1.IconArrowRight);
|
|
143
140
|
const handleSelectAllClick = () => {
|
|
144
141
|
onSelectAllClick(isAllSelected);
|
|
145
142
|
};
|
|
@@ -163,7 +160,7 @@ const GroupsFilterAdjustmentState = ({
|
|
|
163
160
|
className: "zen-groups-filter-menu__content-adjustment",
|
|
164
161
|
children: [(0, jsx_runtime_1.jsxs)("div", {
|
|
165
162
|
className: "zen-groups-filter-menu__item-wrapper",
|
|
166
|
-
children: [getActionButton(backButtonName ? backButtonName : translate("Back"), translate("Back"),
|
|
163
|
+
children: [getActionButton(backButtonName ? backButtonName : translate("Back"), translate("Back"), iconArrowLeft_1.IconArrowLeft, onBackButtonClick), (0, jsx_runtime_1.jsx)("button", {
|
|
167
164
|
type: "button",
|
|
168
165
|
onClick: onHomeButtonClick,
|
|
169
166
|
className: "zen-groups-filter-menu__item zen-groups-filter-menu__item--interactive zen-groups-filter-menu__action-button zen-groups-filter-menu__item--end zen-groups-filter-menu__action-button-home",
|
|
@@ -229,8 +229,6 @@ injectString("ar-SA", "Results", "\u0627\u0644\u0646\u062A\u0627\u0626\u062C");
|
|
|
229
229
|
const iconGlobe_1 = require("../icons/deprecated/iconGlobe");
|
|
230
230
|
const iconOrgFilter_1 = require("../icons/deprecated/iconOrgFilter");
|
|
231
231
|
const iconChevronRight_1 = require("../icons/iconChevronRight");
|
|
232
|
-
const iconChevronLeft_1 = require("../icons/iconChevronLeft");
|
|
233
|
-
const useDirectionalIcon_1 = require("../utils/localization/useDirectionalIcon");
|
|
234
232
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
235
233
|
const toggleButtonRaw_1 = require("../toggleButtonRaw/toggleButtonRaw");
|
|
236
234
|
const divider_1 = require("../divider/divider");
|
|
@@ -247,7 +245,6 @@ const GroupsFilterInitialState = ({
|
|
|
247
245
|
translate
|
|
248
246
|
} = (0, useLanguage_1.useLanguage)();
|
|
249
247
|
const togglerId = (0, react_1.useId)();
|
|
250
|
-
const ChevronIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronRight_1.IconChevronRight, iconChevronLeft_1.IconChevronLeft);
|
|
251
248
|
const handleTogglerChange = newState => onSiteWideChange(newState);
|
|
252
249
|
const currentlySelectedAriaLabel = translate("View currently selected filters").concat(". ").concat(count ? translate("Number of selected groups - {count}").replace("{count}", count.toString()) : translate("All groups selected"));
|
|
253
250
|
return (0, jsx_runtime_1.jsxs)("div", {
|
|
@@ -296,7 +293,7 @@ const GroupsFilterInitialState = ({
|
|
|
296
293
|
children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, {
|
|
297
294
|
children: [(0, jsx_runtime_1.jsx)(groupsFilterCommon_1.GroupsFilterCurrentlySelectedLabel, {
|
|
298
295
|
count: count
|
|
299
|
-
}), (0, jsx_runtime_1.jsx)(
|
|
296
|
+
}), (0, jsx_runtime_1.jsx)(iconChevronRight_1.IconChevronRight, {
|
|
300
297
|
size: "large"
|
|
301
298
|
})]
|
|
302
299
|
})
|
|
@@ -19,9 +19,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
19
19
|
const textIconButton_1 = require("../textIconButton/textIconButton");
|
|
20
20
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
21
21
|
const iconChevronLeft_1 = require("../icons/iconChevronLeft");
|
|
22
|
-
const iconChevronRight_1 = require("../icons/iconChevronRight");
|
|
23
22
|
const useLanguage_1 = require("../utils/localization/useLanguage");
|
|
24
|
-
const useDirectionalIcon_1 = require("../utils/localization/useDirectionalIcon");
|
|
25
23
|
injectString("cs", "Back", "Zp\u011Bt");
|
|
26
24
|
injectString("da-DK", "Back", "Tilbage");
|
|
27
25
|
injectString("de", "Back", "Zur\xFCck");
|
|
@@ -62,12 +60,11 @@ const HeaderBack = _a => {
|
|
|
62
60
|
const {
|
|
63
61
|
translate
|
|
64
62
|
} = (0, useLanguage_1.useLanguage)();
|
|
65
|
-
const BackChevronIcon = (0, useDirectionalIcon_1.useDirectionalIcon)(iconChevronLeft_1.IconChevronLeft, iconChevronRight_1.IconChevronRight);
|
|
66
63
|
const fullClassName = (0, classNames_1.classNames)(["zen-header-back", className || ""]);
|
|
67
64
|
const props = Object.assign({}, restProps);
|
|
68
65
|
return (0, jsx_runtime_1.jsx)(textIconButton_1.TextIconButton, Object.assign({
|
|
69
66
|
id: id,
|
|
70
|
-
icon:
|
|
67
|
+
icon: iconChevronLeft_1.IconChevronLeft,
|
|
71
68
|
iconPosition: textIconButton_1.ButtonIconPosition.Start,
|
|
72
69
|
type: "tertiary",
|
|
73
70
|
className: fullClassName,
|
|
@@ -4,9 +4,11 @@ exports.IconAlignLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 4.87a1 1 0 011-1h16a1 1 0 011 1v16a1 1 0 01-1 1H4a1 1 0 01-1-1v-16zm2 1v14h14v-14H5zm3 2a1 1 0 011 1v8a1 1 0 11-2 0v-8a1 1 0 011-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignLeft = IconAlignLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconAlignmentLeft = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignmentLeft = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignmentLeft", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 5.87a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1zm0 7a1 1 0 011-1h8a1 1 0 110 2H4a1 1 0 01-1-1zm0 7a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignmentLeft = IconAlignmentLeft;
|
|
@@ -4,9 +4,11 @@ exports.IconAlignmentRight = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const classNames_1 = require("../commonHelpers/classNames/classNames");
|
|
7
|
+
const useIsRTL_1 = require("../utils/localization/useIsRTL");
|
|
7
8
|
const IconAlignmentRight = ({ className, size, title, description, focusable = false }) => {
|
|
8
9
|
const uniqueId = (0, react_1.useId)();
|
|
9
|
-
const
|
|
10
|
+
const isRTL = (0, useIsRTL_1.useIsRTL)();
|
|
11
|
+
const classes = (0, react_1.useMemo)(() => (0, classNames_1.classNames)(["zen-icon", size ? `zen-icon--${size}` : "", isRTL ? "zen-icon--rtl" : "", className !== null && className !== void 0 ? className : ""]), [size, isRTL, className]);
|
|
10
12
|
return ((0, jsx_runtime_1.jsxs)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 25", focusable: focusable ? "true" : undefined, tabIndex: focusable ? 0 : undefined, role: focusable || title || description ? undefined : "presentation", className: classes, "aria-labelledby": title && focusable ? uniqueId : undefined, "data-name": "IconAlignmentRight", children: [title ? (0, jsx_runtime_1.jsx)("title", { id: uniqueId, children: title }) : null, description ? (0, jsx_runtime_1.jsx)("desc", { children: description }) : null, (0, jsx_runtime_1.jsx)("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3 5.87a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1zm8 7a1 1 0 011-1h8a1 1 0 110 2h-8a1 1 0 01-1-1zm-8 7a1 1 0 011-1h16a1 1 0 110 2H4a1 1 0 01-1-1z" })] }));
|
|
11
13
|
};
|
|
12
14
|
exports.IconAlignmentRight = IconAlignmentRight;
|