@geotab/zenith 3.10.0-beta.7 → 3.11.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -0
- package/dist/calendar/calendar.js +7 -4
- package/dist/card/components/title.js +4 -1
- package/dist/card/components/titleLink.js +5 -2
- package/dist/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/dist/chart/barChart/getDefaultOptions.js +5 -2
- package/dist/chart/barChart.js +6 -4
- package/dist/chart/lineChart/getDefaultOptions.d.ts +2 -1
- package/dist/chart/lineChart/getDefaultOptions.js +5 -2
- package/dist/chart/lineChart.js +4 -2
- package/dist/checkboxListWithAction/checkboxListWithAction.js +4 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/dist/commonStyles/pillStyles/pillContent.less +13 -14
- package/dist/commonStyles/pillStyles/pillStyles.less +4 -5
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/typography/typography.less +579 -19
- package/dist/controlledPopup/controlledPopup.d.ts +1 -0
- package/dist/controlledPopup/controlledPopup.js +3 -1
- package/dist/dataGrid/cell/cell.d.ts +2 -1
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/dataGrid.js +7 -4
- package/dist/dataGrid/listColumn.d.ts +2 -0
- package/dist/dataGrid/row/row.d.ts +2 -1
- package/dist/dataGrid/row/row.js +13 -9
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +2 -1
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/dist/dateRangeInner/dateRangeInner.js +5 -2
- package/dist/dateRangeRaw/dateRangeRaw.js +5 -2
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +12 -6
- package/dist/fileUpload/components/dropZoneContent.js +100 -100
- package/dist/fileUpload/fileUpload.js +100 -100
- package/dist/filters/components/filtersSearchList.js +4 -1
- package/dist/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/dist/formStepperButtons/formStepperButtons.js +4 -1
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +4 -1
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +4 -1
- package/dist/header/headerBack.js +4 -1
- package/dist/icons/iconAlignLeft.js +1 -3
- package/dist/icons/iconAlignmentLeft.js +1 -3
- package/dist/icons/iconAlignmentRight.js +1 -3
- package/dist/icons/iconArrowBottomLeft.js +1 -3
- package/dist/icons/iconArrowBottomRight.js +1 -3
- package/dist/icons/iconArrowLeftPath.js +1 -3
- package/dist/icons/iconArrowRight.js +1 -3
- package/dist/icons/iconArrowRightCircle.js +1 -3
- package/dist/icons/iconArrowRightPath.js +1 -3
- package/dist/icons/iconArrowTopLeft.js +1 -3
- package/dist/icons/iconArrowTopRight.js +1 -3
- package/dist/icons/iconChevronDoubleRight.js +1 -3
- package/dist/icons/iconChevronRight.js +1 -3
- package/dist/icons/iconChevronRightSmall.js +1 -3
- package/dist/icons/iconCornerDownLeft.js +1 -3
- package/dist/icons/iconCornerDownRight.js +1 -3
- package/dist/icons/iconCornerLeftDown.js +1 -3
- package/dist/icons/iconCornerLeftUp.js +1 -3
- package/dist/icons/iconCornerRightDown.js +1 -3
- package/dist/icons/iconCornerRightUp.js +1 -3
- package/dist/icons/iconCornerUpLeft.js +1 -3
- package/dist/icons/iconCornerUpRight.js +1 -3
- package/dist/index.css +3257 -2925
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/lineChartMini/lineChartMini.js +15 -3
- package/dist/list/itemData/itemDataInternal.js +4 -1
- package/dist/list/list.d.ts +1 -0
- package/dist/list/list.js +2 -2
- package/dist/list/listItem/listItem.d.ts +1 -3
- package/dist/list/listItem/listItem.js +6 -5
- package/dist/menu/components/controlledMenuList/controlledMenuList.d.ts +27 -0
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +126 -0
- package/dist/menu/components/createControlledMenuList.d.ts +37 -0
- package/dist/menu/components/createControlledMenuList.js +55 -0
- package/dist/menu/components/createMenuItem.d.ts +67 -0
- package/dist/menu/components/createMenuItem.js +97 -0
- package/dist/menu/components/menuButton.js +12 -3
- package/dist/menu/components/menuItem.d.ts +1 -2
- package/dist/menu/components/menuItem.js +20 -74
- package/dist/menu/contexts/usePathContext.d.ts +2 -0
- package/dist/menu/contexts/usePathContext.js +9 -0
- package/dist/menu/controlledMenu.js +8 -175
- package/dist/menu/utils/buildMenuContent.d.ts +2 -0
- package/dist/menu/utils/buildMenuContent.js +38 -0
- package/dist/menu/utils/findContent.d.ts +2 -2
- package/dist/menu/utils/findContent.js +4 -3
- package/dist/menu/utils/getItemLabel.d.ts +2 -0
- package/dist/menu/utils/getItemLabel.js +8 -0
- package/dist/menu/utils/getSafeRel.d.ts +1 -0
- package/dist/menu/utils/getSafeRel.js +14 -0
- package/dist/menu/utils/isMenuItem.d.ts +2 -0
- package/dist/menu/utils/isMenuItem.js +13 -0
- package/dist/menu/utils/isSafeHref.d.ts +1 -0
- package/dist/menu/utils/isSafeHref.js +10 -0
- package/dist/menu/utils/normalizeSeparators.d.ts +2 -0
- package/dist/menu/utils/normalizeSeparators.js +23 -0
- package/dist/menu/utils/resolveKeys.d.ts +12 -0
- package/dist/menu/utils/resolveKeys.js +22 -0
- package/dist/menu/utils/useLastValidSheet.d.ts +7 -0
- package/dist/menu/utils/useLastValidSheet.js +30 -0
- package/dist/menu/utils/useMenuItemCore.d.ts +31 -0
- package/dist/menu/utils/useMenuItemCore.js +54 -0
- package/dist/menu/utils/useMenuItemKeyboardNav.d.ts +2 -0
- package/dist/menu/utils/useMenuItemKeyboardNav.js +15 -0
- package/dist/menu/utils/useMenuListKeyboardNav.d.ts +12 -0
- package/dist/menu/utils/useMenuListKeyboardNav.js +77 -0
- package/dist/menu/utils/useMenuPath.d.ts +6 -0
- package/dist/menu/utils/useMenuPath.js +35 -0
- package/dist/nav/navItem/navItem.js +10 -5
- package/dist/nav/navSection/navSection.js +7 -5
- package/dist/pagination/paginationArrow.js +10 -3
- package/dist/radioGroupRaw/radioGroupRaw.js +2 -1
- package/dist/rangeRaw/rangeRaw.js +0 -1
- package/dist/selectList/selectList.helpers.d.ts +1 -1
- package/dist/selectList/selectList.helpers.js +29 -4
- package/dist/selectList/selectList.js +3 -1
- package/dist/selectList/selectList.reducer.js +1 -2
- package/dist/selectList/selectListItem.js +4 -1
- package/dist/sortControl/sortControl.js +59 -4
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/flexible/columnsList.js +4 -2
- package/dist/table/selectable/useSelectableRows.d.ts +8 -0
- package/dist/table/selectable/useSelectableRows.js +14 -6
- package/dist/table/table.js +1 -7
- package/dist/tabs/tabs.js +60 -58
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +5 -2
- package/dist/utils/localization/translations/ar.json +3 -1
- package/dist/utils/localization/translations/cs.json +9 -5
- package/dist/utils/localization/translations/da-DK.json +9 -5
- package/dist/utils/localization/translations/de.json +9 -5
- package/dist/utils/localization/translations/en.json +5 -1
- package/dist/utils/localization/translations/es.json +9 -5
- package/dist/utils/localization/translations/fi-FI.json +9 -5
- package/dist/utils/localization/translations/fr-FR.json +9 -5
- package/dist/utils/localization/translations/fr.json +9 -5
- package/dist/utils/localization/translations/hu-HU.json +9 -5
- package/dist/utils/localization/translations/id.json +9 -5
- package/dist/utils/localization/translations/it.json +9 -5
- package/dist/utils/localization/translations/ja.json +9 -5
- package/dist/utils/localization/translations/ko-KR.json +9 -5
- package/dist/utils/localization/translations/ms.json +9 -5
- package/dist/utils/localization/translations/nb-NO.json +9 -5
- package/dist/utils/localization/translations/nl.json +9 -5
- package/dist/utils/localization/translations/pl.json +9 -5
- package/dist/utils/localization/translations/pt-BR.json +9 -5
- package/dist/utils/localization/translations/pt-PT.json +9 -5
- package/dist/utils/localization/translations/ro-RO.json +9 -5
- package/dist/utils/localization/translations/sk-SK.json +9 -5
- package/dist/utils/localization/translations/sv.json +9 -5
- package/dist/utils/localization/translations/th.json +9 -5
- package/dist/utils/localization/translations/tr.json +9 -5
- package/dist/utils/localization/translations/zh-Hans.json +9 -5
- package/dist/utils/localization/translations/zh-TW.json +9 -5
- package/dist/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/dist/utils/localization/useDirectionalIcon.js +9 -0
- package/dist/utils/positioningUtils/alignments.d.ts +2 -2
- package/dist/utils/positioningUtils/alignments.js +2 -2
- package/dist/utils/positioningUtils/calculatePosition.js +4 -6
- package/esm/calendar/calendar.js +7 -4
- package/esm/card/components/title.js +4 -1
- package/esm/card/components/titleLink.js +5 -2
- package/esm/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/esm/chart/barChart/getDefaultOptions.js +5 -2
- package/esm/chart/barChart.js +6 -4
- package/esm/chart/lineChart/getDefaultOptions.d.ts +2 -1
- package/esm/chart/lineChart/getDefaultOptions.js +5 -2
- package/esm/chart/lineChart.js +4 -2
- package/esm/checkboxListWithAction/checkboxListWithAction.js +4 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/esm/controlledPopup/controlledPopup.d.ts +1 -0
- package/esm/controlledPopup/controlledPopup.js +3 -1
- package/esm/dataGrid/cell/cell.d.ts +2 -1
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/dataGrid.js +7 -4
- package/esm/dataGrid/listColumn.d.ts +2 -0
- package/esm/dataGrid/row/row.d.ts +2 -1
- package/esm/dataGrid/row/row.js +13 -9
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +2 -1
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/esm/dateRangeInner/dateRangeInner.js +5 -2
- package/esm/dateRangeRaw/dateRangeRaw.js +5 -2
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +12 -6
- package/esm/fileUpload/components/dropZoneContent.js +100 -100
- package/esm/fileUpload/fileUpload.js +100 -100
- package/esm/filters/components/filtersSearchList.js +4 -1
- package/esm/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/esm/formStepperButtons/formStepperButtons.js +4 -1
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +4 -1
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +4 -1
- package/esm/header/headerBack.js +4 -1
- package/esm/icons/iconAlignLeft.js +1 -3
- package/esm/icons/iconAlignmentLeft.js +1 -3
- package/esm/icons/iconAlignmentRight.js +1 -3
- package/esm/icons/iconArrowBottomLeft.js +1 -3
- package/esm/icons/iconArrowBottomRight.js +1 -3
- package/esm/icons/iconArrowLeftPath.js +1 -3
- package/esm/icons/iconArrowRight.js +1 -3
- package/esm/icons/iconArrowRightCircle.js +1 -3
- package/esm/icons/iconArrowRightPath.js +1 -3
- package/esm/icons/iconArrowTopLeft.js +1 -3
- package/esm/icons/iconArrowTopRight.js +1 -3
- package/esm/icons/iconChevronDoubleRight.js +1 -3
- package/esm/icons/iconChevronRight.js +1 -3
- package/esm/icons/iconChevronRightSmall.js +1 -3
- package/esm/icons/iconCornerDownLeft.js +1 -3
- package/esm/icons/iconCornerDownRight.js +1 -3
- package/esm/icons/iconCornerLeftDown.js +1 -3
- package/esm/icons/iconCornerLeftUp.js +1 -3
- package/esm/icons/iconCornerRightDown.js +1 -3
- package/esm/icons/iconCornerRightUp.js +1 -3
- package/esm/icons/iconCornerUpLeft.js +1 -3
- package/esm/icons/iconCornerUpRight.js +1 -3
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/lineChartMini/lineChartMini.js +15 -3
- package/esm/list/itemData/itemDataInternal.js +4 -1
- package/esm/list/list.d.ts +1 -0
- package/esm/list/list.js +2 -2
- package/esm/list/listItem/listItem.d.ts +1 -3
- package/esm/list/listItem/listItem.js +6 -5
- package/esm/menu/components/controlledMenuList/controlledMenuList.d.ts +27 -0
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +123 -0
- package/esm/menu/components/createControlledMenuList.d.ts +37 -0
- package/esm/menu/components/createControlledMenuList.js +51 -0
- package/esm/menu/components/createMenuItem.d.ts +67 -0
- package/esm/menu/components/createMenuItem.js +93 -0
- package/esm/menu/components/menuButton.js +12 -3
- package/esm/menu/components/menuItem.d.ts +1 -2
- package/esm/menu/components/menuItem.js +20 -74
- package/esm/menu/contexts/usePathContext.d.ts +2 -0
- package/esm/menu/contexts/usePathContext.js +5 -0
- package/esm/menu/controlledMenu.js +10 -177
- package/esm/menu/utils/buildMenuContent.d.ts +2 -0
- package/esm/menu/utils/buildMenuContent.js +34 -0
- package/esm/menu/utils/findContent.d.ts +2 -2
- package/esm/menu/utils/findContent.js +4 -3
- package/esm/menu/utils/getItemLabel.d.ts +2 -0
- package/esm/menu/utils/getItemLabel.js +4 -0
- package/esm/menu/utils/getSafeRel.d.ts +1 -0
- package/esm/menu/utils/getSafeRel.js +10 -0
- package/esm/menu/utils/isMenuItem.d.ts +2 -0
- package/esm/menu/utils/isMenuItem.js +9 -0
- package/esm/menu/utils/isSafeHref.d.ts +1 -0
- package/esm/menu/utils/isSafeHref.js +6 -0
- package/esm/menu/utils/normalizeSeparators.d.ts +2 -0
- package/esm/menu/utils/normalizeSeparators.js +19 -0
- package/esm/menu/utils/resolveKeys.d.ts +12 -0
- package/esm/menu/utils/resolveKeys.js +18 -0
- package/esm/menu/utils/useLastValidSheet.d.ts +7 -0
- package/esm/menu/utils/useLastValidSheet.js +26 -0
- package/esm/menu/utils/useMenuItemCore.d.ts +31 -0
- package/esm/menu/utils/useMenuItemCore.js +50 -0
- package/esm/menu/utils/useMenuItemKeyboardNav.d.ts +2 -0
- package/esm/menu/utils/useMenuItemKeyboardNav.js +11 -0
- package/esm/menu/utils/useMenuListKeyboardNav.d.ts +12 -0
- package/esm/menu/utils/useMenuListKeyboardNav.js +73 -0
- package/esm/menu/utils/useMenuPath.d.ts +6 -0
- package/esm/menu/utils/useMenuPath.js +31 -0
- package/esm/nav/navItem/navItem.js +10 -5
- package/esm/nav/navSection/navSection.js +7 -5
- package/esm/pagination/paginationArrow.js +10 -3
- package/esm/radioGroupRaw/radioGroupRaw.js +2 -1
- package/esm/rangeRaw/rangeRaw.js +0 -1
- package/esm/selectList/selectList.helpers.d.ts +1 -1
- package/esm/selectList/selectList.helpers.js +29 -4
- package/esm/selectList/selectList.js +3 -1
- package/esm/selectList/selectList.reducer.js +1 -2
- package/esm/selectList/selectListItem.js +4 -1
- package/esm/sortControl/sortControl.js +59 -4
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/flexible/columnsList.js +4 -2
- package/esm/table/selectable/useSelectableRows.d.ts +8 -0
- package/esm/table/selectable/useSelectableRows.js +14 -6
- package/esm/table/table.js +1 -7
- package/esm/tabs/tabs.js +60 -58
- package/esm/tabs/tabsTestHelper.js +2 -2
- package/esm/testHelpers/mockAbsoluteAlignment.d.ts +1 -0
- package/esm/testHelpers/mockAbsoluteAlignment.js +10 -0
- package/esm/timePickerRaw/timePickerRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +5 -2
- package/esm/utils/localization/translations/ar.json +3 -1
- package/esm/utils/localization/translations/cs.json +9 -5
- package/esm/utils/localization/translations/da-DK.json +9 -5
- package/esm/utils/localization/translations/de.json +9 -5
- package/esm/utils/localization/translations/en.json +5 -1
- package/esm/utils/localization/translations/es.json +9 -5
- package/esm/utils/localization/translations/fi-FI.json +9 -5
- package/esm/utils/localization/translations/fr-FR.json +9 -5
- package/esm/utils/localization/translations/fr.json +9 -5
- package/esm/utils/localization/translations/hu-HU.json +9 -5
- package/esm/utils/localization/translations/id.json +9 -5
- package/esm/utils/localization/translations/it.json +9 -5
- package/esm/utils/localization/translations/ja.json +9 -5
- package/esm/utils/localization/translations/ko-KR.json +9 -5
- package/esm/utils/localization/translations/ms.json +9 -5
- package/esm/utils/localization/translations/nb-NO.json +9 -5
- package/esm/utils/localization/translations/nl.json +9 -5
- package/esm/utils/localization/translations/pl.json +9 -5
- package/esm/utils/localization/translations/pt-BR.json +9 -5
- package/esm/utils/localization/translations/pt-PT.json +9 -5
- package/esm/utils/localization/translations/ro-RO.json +9 -5
- package/esm/utils/localization/translations/sk-SK.json +9 -5
- package/esm/utils/localization/translations/sv.json +9 -5
- package/esm/utils/localization/translations/th.json +9 -5
- package/esm/utils/localization/translations/tr.json +9 -5
- package/esm/utils/localization/translations/zh-Hans.json +9 -5
- package/esm/utils/localization/translations/zh-TW.json +9 -5
- package/esm/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/esm/utils/localization/useDirectionalIcon.js +5 -0
- package/esm/utils/positioningUtils/alignments.d.ts +2 -2
- package/esm/utils/positioningUtils/alignments.js +2 -2
- package/esm/utils/positioningUtils/calculatePosition.js +4 -6
- package/package.json +123 -122
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "파일을 드래그 앤 드롭하거나",
|
|
321
|
+
"Browse": "찾아보기",
|
|
322
|
+
"Tap to add files": "탭하여 파일 추가",
|
|
323
|
+
"Supported Formats:": "지원되는 형식:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "오름차순",
|
|
328
|
+
"Descending": "내림차순",
|
|
329
|
+
"Scroll to start": "시작 위치로 스크롤",
|
|
330
|
+
"Scroll to end": "마지막 위치로 스크롤"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Seret & lepas fail atau",
|
|
321
|
+
"Browse": "Semak Imbas",
|
|
322
|
+
"Tap to add files": "Ketik untuk menambah fail",
|
|
323
|
+
"Supported Formats:": "Format yang Disokong:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Menaik",
|
|
328
|
+
"Descending": "Menurun",
|
|
329
|
+
"Scroll to start": "Tatal ke permulaan",
|
|
330
|
+
"Scroll to end": "Tatal ke penghujung"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Dra og slipp filer eller",
|
|
321
|
+
"Browse": "Bla gjennom",
|
|
322
|
+
"Tap to add files": "Trykk for å legge til filer",
|
|
323
|
+
"Supported Formats:": "Støttede formater:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Stigende",
|
|
328
|
+
"Descending": "Synkende",
|
|
329
|
+
"Scroll to start": "Rull til start",
|
|
330
|
+
"Scroll to end": "Rull til slutt"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Bestanden slepen en neerzetten of",
|
|
321
|
+
"Browse": "Bladeren",
|
|
322
|
+
"Tap to add files": "Tik om bestanden toe te voegen",
|
|
323
|
+
"Supported Formats:": "Ondersteunde indelingen:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Oplopend",
|
|
328
|
+
"Descending": "Aflopend",
|
|
329
|
+
"Scroll to start": "Scroll to start",
|
|
330
|
+
"Scroll to end": "Scroll to end"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Przeciągnij i upuść pliki lub",
|
|
321
|
+
"Browse": "Przeglądaj",
|
|
322
|
+
"Tap to add files": "Dotknij, aby dodać pliki",
|
|
323
|
+
"Supported Formats:": "Obsługiwane formaty:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Rosnąco",
|
|
328
|
+
"Descending": "Malejąco",
|
|
329
|
+
"Scroll to start": "Przewiń do początku",
|
|
330
|
+
"Scroll to end": "Przewiń do końca"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Arraste e solte arquivos ou",
|
|
321
|
+
"Browse": "Procurar",
|
|
322
|
+
"Tap to add files": "Toque para adicionar arquivos",
|
|
323
|
+
"Supported Formats:": "Formatos suportados:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Crescente",
|
|
328
|
+
"Descending": "Decrescente",
|
|
329
|
+
"Scroll to start": "Scroll to start",
|
|
330
|
+
"Scroll to end": "Scroll to end"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Arraste e largue ficheiros ou",
|
|
321
|
+
"Browse": "Procurar",
|
|
322
|
+
"Tap to add files": "Toque para adicionar ficheiros",
|
|
323
|
+
"Supported Formats:": "Formatos suportados:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Ascendente",
|
|
328
|
+
"Descending": "Descendente",
|
|
329
|
+
"Scroll to start": "Scroll to start",
|
|
330
|
+
"Scroll to end": "Scroll to end"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Glisați și fixați fișiere sau",
|
|
321
|
+
"Browse": "Răsfoire",
|
|
322
|
+
"Tap to add files": "Atingeți pentru a adăuga fișiere",
|
|
323
|
+
"Supported Formats:": "Formate acceptate:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Ascensiune",
|
|
328
|
+
"Descending": "Coborâre",
|
|
329
|
+
"Scroll to start": "Derulare la început",
|
|
330
|
+
"Scroll to end": "Derulare la sfârșit"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Presuňte súbory alebo",
|
|
321
|
+
"Browse": "Prehľadávať",
|
|
322
|
+
"Tap to add files": "Klepnutím pridajte súbory",
|
|
323
|
+
"Supported Formats:": "Podporované formáty:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Vzostupne",
|
|
328
|
+
"Descending": "Zostupne",
|
|
329
|
+
"Scroll to start": "Posunúť na začiatok",
|
|
330
|
+
"Scroll to end": "Posunúť na koniec"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Dra och släpp filer eller",
|
|
321
|
+
"Browse": "Bläddra",
|
|
322
|
+
"Tap to add files": "Tryck för att lägga till filer",
|
|
323
|
+
"Supported Formats:": "Format som stöds:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Stigande",
|
|
328
|
+
"Descending": "Fallande",
|
|
329
|
+
"Scroll to start": "Scroll to start",
|
|
330
|
+
"Scroll to end": "Scroll to end"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "ลากและวางไฟล์หรือ",
|
|
321
|
+
"Browse": "เรียกดู",
|
|
322
|
+
"Tap to add files": "แตะเพื่อเพิ่มไฟล์",
|
|
323
|
+
"Supported Formats:": "รูปแบบที่รองรับ:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "จากน้อยไปมาก",
|
|
328
|
+
"Descending": "จากมากไปน้อย",
|
|
329
|
+
"Scroll to start": "เลื่อนไปที่จุดเริ่มต้น",
|
|
330
|
+
"Scroll to end": "เลื่อนไปที่จุดสิ้นสุด"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "Dosyaları sürükleyip bırakın veya",
|
|
321
|
+
"Browse": "Gözat",
|
|
322
|
+
"Tap to add files": "Dosya eklemek için dokunun",
|
|
323
|
+
"Supported Formats:": "Desteklenen Biçimler:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "Artan",
|
|
328
|
+
"Descending": "Azalan",
|
|
329
|
+
"Scroll to start": "Başlangıca kaydır",
|
|
330
|
+
"Scroll to end": "Sona kaydır"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "拖放文件或",
|
|
321
|
+
"Browse": "浏览",
|
|
322
|
+
"Tap to add files": "点击添加文件",
|
|
323
|
+
"Supported Formats:": "支持的格式:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "升序",
|
|
328
|
+
"Descending": "降序",
|
|
329
|
+
"Scroll to start": "滚动至开头",
|
|
330
|
+
"Scroll to end": "滚动至末尾"
|
|
327
331
|
}
|
|
@@ -317,11 +317,15 @@
|
|
|
317
317
|
"Exit full screen table view": "Exit full screen table view",
|
|
318
318
|
"Close search": "Close search",
|
|
319
319
|
"Has additional actions. Use right arrow to access button, left arrow to return.": "Has additional actions. Use right arrow to access button, left arrow to return.",
|
|
320
|
-
"Drag & drop files or": "
|
|
321
|
-
"Browse": "
|
|
322
|
-
"Tap to add files": "
|
|
323
|
-
"Supported Formats:": "
|
|
320
|
+
"Drag & drop files or": "拖放檔案或",
|
|
321
|
+
"Browse": "瀏覽",
|
|
322
|
+
"Tap to add files": "點選以新增檔案",
|
|
323
|
+
"Supported Formats:": "支援的格式:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
326
|
+
"Uploaded": "Uploaded",
|
|
327
|
+
"Ascending": "遞增",
|
|
328
|
+
"Descending": "遞減",
|
|
329
|
+
"Scroll to start": "捲動至開始處",
|
|
330
|
+
"Scroll to end": "捲動至結尾處"
|
|
327
331
|
}
|
|
@@ -47,9 +47,9 @@ export declare const alignments: {
|
|
|
47
47
|
right: number;
|
|
48
48
|
top: number;
|
|
49
49
|
};
|
|
50
|
-
"left-bottom": (triggerRect: IRect,
|
|
50
|
+
"left-bottom": (triggerRect: IRect, popupRect: ISizes, parentRect: IPosition, paddingX: number, _2: number) => {
|
|
51
51
|
right: number;
|
|
52
|
-
|
|
52
|
+
top: number;
|
|
53
53
|
};
|
|
54
54
|
right: (triggerRect: IRect, popupRect: ISizes, parentRect: IPosition, paddingX: number, _: number) => {
|
|
55
55
|
left: number;
|
|
@@ -31,9 +31,9 @@ export const alignments = {
|
|
|
31
31
|
right: parentRect.right - triggerRect.right + triggerRect.width + paddingX,
|
|
32
32
|
top: triggerRect.top - parentRect.top
|
|
33
33
|
}),
|
|
34
|
-
"left-bottom": (triggerRect,
|
|
34
|
+
"left-bottom": (triggerRect, popupRect, parentRect, paddingX, _2) => ({
|
|
35
35
|
right: parentRect.right - triggerRect.right + triggerRect.width + paddingX,
|
|
36
|
-
|
|
36
|
+
top: triggerRect.bottom - parentRect.top - popupRect.height
|
|
37
37
|
}),
|
|
38
38
|
right: (triggerRect, popupRect, parentRect, paddingX, _) => ({
|
|
39
39
|
left: triggerRect.left - parentRect.left + triggerRect.width + paddingX,
|
|
@@ -8,27 +8,25 @@ import { zen } from "../zen";
|
|
|
8
8
|
export const calculatePosition = (triggerRef, popupRef, paddingX, paddingY, inline, alignment, alignmentsFn = alignments, scrollParent, forceHorizontalCenter
|
|
9
9
|
// eslint-disable-next-line complexity
|
|
10
10
|
) => {
|
|
11
|
-
var _a, _b, _c, _d, _e
|
|
11
|
+
var _a, _b, _c, _d, _e;
|
|
12
12
|
if (!triggerRef.current || !popupRef.current) {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
15
|
const triggerElement = triggerRef.current;
|
|
16
16
|
const popup = popupRef.current;
|
|
17
17
|
const scrollTop = zen.pageYOffset || ((_a = zen.document) === null || _a === void 0 ? void 0 : _a.documentElement.scrollTop) || ((_b = zen.document) === null || _b === void 0 ? void 0 : _b.body.scrollTop) || 0;
|
|
18
|
-
const scrollLeft = zen.pageXOffset || ((_c = zen.document) === null || _c === void 0 ? void 0 : _c.documentElement.scrollLeft) || ((_d = zen.document) === null || _d === void 0 ? void 0 : _d.body.scrollLeft) || 0;
|
|
19
18
|
const triggerRect = triggerElement.getBoundingClientRect();
|
|
20
19
|
let popupRect = popup.getBoundingClientRect();
|
|
21
|
-
const relativeParent = inline ? getRelativeParent(triggerElement) || ((
|
|
20
|
+
const relativeParent = inline ? getRelativeParent(triggerElement) || ((_c = zen.document) === null || _c === void 0 ? void 0 : _c.body) : (_d = zen.document) === null || _d === void 0 ? void 0 : _d.body;
|
|
22
21
|
popup.classList.add("zen-calculate-position");
|
|
23
22
|
const parentDomRect = (relativeParent === null || relativeParent === void 0 ? void 0 : relativeParent.getBoundingClientRect()) || { top: 0, left: 0, bottom: 0, right: 0, width: 0, height: 0, x: 0, y: 0 };
|
|
24
23
|
popup.classList.remove("zen-calculate-position");
|
|
25
24
|
const parentBorders = getBorders(relativeParent || {});
|
|
26
25
|
const parentMargins = getMargins(relativeParent || {});
|
|
27
26
|
let parentTop = parentDomRect.top + parentBorders.top - parentMargins.top;
|
|
28
|
-
|
|
29
|
-
if (!inline && relativeParent === ((
|
|
27
|
+
const parentLeft = parentDomRect.left + parentBorders.left - parentMargins.left;
|
|
28
|
+
if (!inline && relativeParent === ((_e = zen.document) === null || _e === void 0 ? void 0 : _e.body)) {
|
|
30
29
|
parentTop = -scrollTop + parentBorders.top - parentMargins.top;
|
|
31
|
-
parentLeft = -scrollLeft + parentBorders.left - parentMargins.left;
|
|
32
30
|
}
|
|
33
31
|
const parentRect = {
|
|
34
32
|
top: parentTop,
|