@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
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Stigende",
|
|
328
|
-
"Descending": "Synkende",
|
|
329
|
-
"Scroll to start": "Rull til start",
|
|
330
|
-
"Scroll to end": "Rull til slutt"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Oplopend",
|
|
328
|
-
"Descending": "Aflopend",
|
|
329
|
-
"Scroll to start": "Scroll to start",
|
|
330
|
-
"Scroll to end": "Scroll to end"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
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"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Crescente",
|
|
328
|
-
"Descending": "Decrescente",
|
|
329
|
-
"Scroll to start": "Scroll to start",
|
|
330
|
-
"Scroll to end": "Scroll to end"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Ascendente",
|
|
328
|
-
"Descending": "Descendente",
|
|
329
|
-
"Scroll to start": "Scroll to start",
|
|
330
|
-
"Scroll to end": "Scroll to end"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
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"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Vzostupne",
|
|
328
|
-
"Descending": "Zostupne",
|
|
329
|
-
"Scroll to start": "Posunúť na začiatok",
|
|
330
|
-
"Scroll to end": "Posunúť na koniec"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "Stigande",
|
|
328
|
-
"Descending": "Fallande",
|
|
329
|
-
"Scroll to start": "Scroll to start",
|
|
330
|
-
"Scroll to end": "Scroll to end"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "จากน้อยไปมาก",
|
|
328
|
-
"Descending": "จากมากไปน้อย",
|
|
329
|
-
"Scroll to start": "เลื่อนไปที่จุดเริ่มต้น",
|
|
330
|
-
"Scroll to end": "เลื่อนไปที่จุดสิ้นสุด"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
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"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "升序",
|
|
328
|
-
"Descending": "降序",
|
|
329
|
-
"Scroll to start": "滚动至开头",
|
|
330
|
-
"Scroll to end": "滚动至末尾"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -317,15 +317,11 @@
|
|
|
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": "Drag & drop files or",
|
|
321
|
+
"Browse": "Browse",
|
|
322
|
+
"Tap to add files": "Tap to add files",
|
|
323
|
+
"Supported Formats:": "Supported Formats:",
|
|
324
324
|
"Upload files.": "Upload files.",
|
|
325
325
|
"File upload area": "File upload area",
|
|
326
|
-
"Uploaded": "Uploaded"
|
|
327
|
-
"Ascending": "遞增",
|
|
328
|
-
"Descending": "遞減",
|
|
329
|
-
"Scroll to start": "捲動至開始處",
|
|
330
|
-
"Scroll to end": "捲動至結尾處"
|
|
326
|
+
"Uploaded": "Uploaded"
|
|
331
327
|
}
|
|
@@ -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, _1: ISizes, parentRect: IPosition, paddingX: number, _2: number) => {
|
|
51
51
|
right: number;
|
|
52
|
-
|
|
52
|
+
bottom: 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, _1, parentRect, paddingX, _2) => ({
|
|
35
35
|
right: parentRect.right - triggerRect.right + triggerRect.width + paddingX,
|
|
36
|
-
|
|
36
|
+
bottom: parentRect.bottom - triggerRect.bottom
|
|
37
37
|
}),
|
|
38
38
|
right: (triggerRect, popupRect, parentRect, paddingX, _) => ({
|
|
39
39
|
left: triggerRect.left - parentRect.left + triggerRect.width + paddingX,
|
|
@@ -8,25 +8,27 @@ 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, _f, _g;
|
|
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;
|
|
18
19
|
const triggerRect = triggerElement.getBoundingClientRect();
|
|
19
20
|
let popupRect = popup.getBoundingClientRect();
|
|
20
|
-
const relativeParent = inline ? getRelativeParent(triggerElement) || ((
|
|
21
|
+
const relativeParent = inline ? getRelativeParent(triggerElement) || ((_e = zen.document) === null || _e === void 0 ? void 0 : _e.body) : (_f = zen.document) === null || _f === void 0 ? void 0 : _f.body;
|
|
21
22
|
popup.classList.add("zen-calculate-position");
|
|
22
23
|
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 };
|
|
23
24
|
popup.classList.remove("zen-calculate-position");
|
|
24
25
|
const parentBorders = getBorders(relativeParent || {});
|
|
25
26
|
const parentMargins = getMargins(relativeParent || {});
|
|
26
27
|
let parentTop = parentDomRect.top + parentBorders.top - parentMargins.top;
|
|
27
|
-
|
|
28
|
-
if (!inline && relativeParent === ((
|
|
28
|
+
let parentLeft = parentDomRect.left + parentBorders.left - parentMargins.left;
|
|
29
|
+
if (!inline && relativeParent === ((_g = zen.document) === null || _g === void 0 ? void 0 : _g.body)) {
|
|
29
30
|
parentTop = -scrollTop + parentBorders.top - parentMargins.top;
|
|
31
|
+
parentLeft = -scrollLeft + parentBorders.left - parentMargins.left;
|
|
30
32
|
}
|
|
31
33
|
const parentRect = {
|
|
32
34
|
top: parentTop,
|
package/package.json
CHANGED
|
@@ -1,126 +1,125 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
],
|
|
14
|
-
"scripts": {
|
|
15
|
-
"add-icon": "node addIcon.js",
|
|
16
|
-
"build-rtl": "node build-utils/rtl/generate-rtl-css.js",
|
|
17
|
-
"build": "npm run clean && npm run build-index && npm run update-version && npm run build-ts && npm run build-less && npm run build-copy && npm run build-clean && npm run translations",
|
|
18
|
-
"build-ai-mdx": "node collectmdx.js",
|
|
19
|
-
"build-cjs": "npx tsc -b tsconfig.cjs.json",
|
|
20
|
-
"build-clean": "node build-clean.js",
|
|
21
|
-
"build-copy": "node build-copy.js",
|
|
22
|
-
"build-esm": "npx tsc -b tsconfig.esm.json",
|
|
23
|
-
"build-index": "node buildIndex.js",
|
|
24
|
-
"build-less": "node less-compile.js",
|
|
25
|
-
"build-storybook": "storybook build && npm run build-ai-mdx",
|
|
26
|
-
"build-ts": "npm run build-esm && npm run build-cjs && npm run inject-translations && node less-transformer.js",
|
|
27
|
-
"clean": "rm -rf ./dist && rm -rf ./esm && rm -rf ./jest-coverage",
|
|
28
|
-
"coverage": "npm run test-coverage && google-chrome ./jest-coverage/index.html",
|
|
29
|
-
"inject-translations": "node build-utils/translations/inject-translations.js",
|
|
30
|
-
"lint": "npx eslint",
|
|
31
|
-
"lint-fix": "npm run lint -- --fix",
|
|
32
|
-
"new": "node newComponent.mjs",
|
|
33
|
-
"prettier": "npx prettier . --config '.prettierrc' --ignore-path '.prettierignore'",
|
|
34
|
-
"prettier-check": "npm run prettier -- --check",
|
|
35
|
-
"prettier-fix": "npm run prettier -- --write",
|
|
36
|
-
"start": "npm run storybook",
|
|
37
|
-
"storybook": "storybook dev -p 6006",
|
|
38
|
-
"test": "npm run clean && npm run test-build && jest",
|
|
39
|
-
"test-build": "npx tsc -b tsconfig.jestTests.json && npm run build-less && npm run inject-translations && jest --clearCache",
|
|
40
|
-
"test-coverage": "npm run clean && npm run test-build && jest --collectCoverage=true --coverage --collectCoverageFrom='./dist/**/*.js' --collectCoverageFrom='!./dist/**/*.test.js' --json --outputFile=jest-result.json --coverageReporters=html --coverageReporters=text-summary --coverageReporters=cobertura --maxWorkers=4 --noStackTrace && node testHelpers/cobertura/cobertura.js",
|
|
41
|
-
"test-storybook": "test-storybook",
|
|
42
|
-
"test-watch": "npm run clean && npm run test-build && npx tsc -b tsconfig.jestTests.json -w",
|
|
43
|
-
"translations": "node build-utils/translations/translation-integrity.mjs",
|
|
44
|
-
"update-version": "node updateVersion.js",
|
|
45
|
-
"watch": "npx tsc -b tsconfig.cjs.json -w",
|
|
46
|
-
"watch:inject-translations": "npx nodemon --watch dist --delay 500ms --ext js --exec 'npm run inject-translations'"
|
|
47
|
-
},
|
|
48
|
-
"author": "",
|
|
49
|
-
"license": "SEE LICENSE IN LICENSE.txt",
|
|
50
|
-
"devDependencies": {
|
|
51
|
-
"@babel/core": "^7.28.5",
|
|
52
|
-
"@babel/generator": "^7.28.5",
|
|
53
|
-
"@babel/parser": "^7.28.5",
|
|
54
|
-
"@babel/preset-env": "^7.24.3",
|
|
55
|
-
"@babel/preset-react": "^7.24.1",
|
|
56
|
-
"@babel/preset-typescript": "^7.24.1",
|
|
57
|
-
"@babel/traverse": "^7.28.5",
|
|
58
|
-
"@eslint/js": "^9.18.0",
|
|
59
|
-
"@storybook/addon-a11y": "^10.3.5",
|
|
60
|
-
"@storybook/addon-docs": "^10.3.5",
|
|
61
|
-
"@storybook/addon-links": "^10.3.5",
|
|
62
|
-
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
63
|
-
"@storybook/react-webpack5": "^10.3.5",
|
|
64
|
-
"@storybook/test-runner": "^0.24.3",
|
|
65
|
-
"@tanstack/react-query": "^5.85.5",
|
|
66
|
-
"@testing-library/react": "^16.3.0",
|
|
67
|
-
"@types/jest": "^29.5.12",
|
|
68
|
-
"@types/react": "^19.2.2",
|
|
69
|
-
"@types/react-dom": "^19.2.2",
|
|
70
|
-
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
|
71
|
-
"@typescript-eslint/parser": "^8.20.0",
|
|
72
|
-
"axe-core": "^4.10.2",
|
|
73
|
-
"css-loader": "^7.1.2",
|
|
74
|
-
"eslint": "^9.18.0",
|
|
75
|
-
"eslint-config-prettier": "^10.1.8",
|
|
76
|
-
"eslint-plugin-react": "^7.37.3",
|
|
77
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
78
|
-
"eslint-plugin-storybook": "^10.3.5",
|
|
79
|
-
"globals": "^17.1.0",
|
|
80
|
-
"jest": "^30.2.0",
|
|
81
|
-
"jest-environment-jsdom": "^30.2.0",
|
|
82
|
-
"jest-junit": "^16.0.0",
|
|
83
|
-
"less": "^4.1.3",
|
|
84
|
-
"less-loader": "^12.2.0",
|
|
85
|
-
"mini-css-extract-plugin": "^2.9.2",
|
|
86
|
-
"postcss-loader": "^8.2.1",
|
|
87
|
-
"postcss-rtlcss": "^6.0.0",
|
|
88
|
-
"prettier": "^3.8.1",
|
|
89
|
-
"storybook": "^10.3.5",
|
|
90
|
-
"style-loader": "^4.0.0",
|
|
91
|
-
"typescript": "^5.4.3",
|
|
92
|
-
"typescript-eslint": "^8.20.0",
|
|
93
|
-
"webpack": "^5.96.1",
|
|
94
|
-
"xml2js": "^0.6.0"
|
|
95
|
-
},
|
|
96
|
-
"dependencies": {
|
|
97
|
-
"chart.js": "^4.4.6",
|
|
98
|
-
"react": "^19.2.0",
|
|
99
|
-
"react-dom": "^19.2.0",
|
|
100
|
-
"react-hook-form": "^7.60.0"
|
|
101
|
-
},
|
|
102
|
-
"peerDependencies": {
|
|
103
|
-
"chart.js": "^4.4.6",
|
|
104
|
-
"react": "^19.2.0",
|
|
105
|
-
"react-dom": "^19.2.0"
|
|
106
|
-
},
|
|
107
|
-
"files": [
|
|
108
|
-
"./dist/",
|
|
109
|
-
"./esm"
|
|
110
|
-
],
|
|
111
|
-
"browserslist": {
|
|
112
|
-
"production": [
|
|
113
|
-
">0.2%",
|
|
114
|
-
"not dead",
|
|
115
|
-
"not op_mini all"
|
|
2
|
+
"name": "@geotab/zenith",
|
|
3
|
+
"version": "3.11.0-beta.1",
|
|
4
|
+
"description": "Zenith components library on React",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "esm/index.d.ts",
|
|
7
|
+
"module": "esm/index.js",
|
|
8
|
+
"sideEffects": [
|
|
9
|
+
"**/*.css",
|
|
10
|
+
"**/*.less",
|
|
11
|
+
"**/react-chartjs/dateAdapter.ts",
|
|
12
|
+
"**/react-chartjs/dateAdapter.js"
|
|
116
13
|
],
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
14
|
+
"scripts": {
|
|
15
|
+
"add-icon": "node addIcon.js",
|
|
16
|
+
"build-rtl": "node build-utils/rtl/generate-rtl-css.js",
|
|
17
|
+
"build": "npm run clean && npm run build-index && npm run update-version && npm run build-ts && npm run build-less && npm run build-copy && npm run build-clean && npm run translations",
|
|
18
|
+
"build-ai-mdx": "node collectmdx.js",
|
|
19
|
+
"build-cjs": "npx tsc -b tsconfig.cjs.json",
|
|
20
|
+
"build-clean": "node build-clean.js",
|
|
21
|
+
"build-copy": "node build-copy.js",
|
|
22
|
+
"build-esm": "npx tsc -b tsconfig.esm.json",
|
|
23
|
+
"build-index": "node buildIndex.js",
|
|
24
|
+
"build-less": "node less-compile.js",
|
|
25
|
+
"build-storybook": "storybook build && npm run build-ai-mdx",
|
|
26
|
+
"build-ts": "npm run build-esm && npm run build-cjs && npm run inject-translations && node less-transformer.js",
|
|
27
|
+
"clean": "rm -rf ./dist && rm -rf ./esm && rm -rf ./jest-coverage",
|
|
28
|
+
"coverage": "npm run test-coverage && google-chrome ./jest-coverage/index.html",
|
|
29
|
+
"inject-translations": "node build-utils/translations/inject-translations.js",
|
|
30
|
+
"lint": "npx eslint",
|
|
31
|
+
"new": "node newComponent.mjs",
|
|
32
|
+
"prettier": "npx prettier . --config '.prettierrc' --ignore-path '.prettierignore'",
|
|
33
|
+
"prettier-check": "npm run prettier -- --check",
|
|
34
|
+
"prettier-fix": "npm run prettier -- --write",
|
|
35
|
+
"start": "npm run storybook",
|
|
36
|
+
"storybook": "storybook dev -p 6006",
|
|
37
|
+
"test": "npm run clean && npm run test-build && jest",
|
|
38
|
+
"test-build": "npx tsc -b tsconfig.jestTests.json && npm run build-less && npm run inject-translations && jest --clearCache",
|
|
39
|
+
"test-coverage": "npm run clean && npm run test-build && jest --collectCoverage=true --coverage --collectCoverageFrom='./dist/**/*.js' --collectCoverageFrom='!./dist/**/*.test.js' --json --outputFile=jest-result.json --coverageReporters=html --coverageReporters=text-summary --coverageReporters=cobertura --maxWorkers=4 --noStackTrace && node testHelpers/cobertura/cobertura.js",
|
|
40
|
+
"test-storybook": "test-storybook",
|
|
41
|
+
"test-watch": "npm run clean && npm run test-build && npx tsc -b tsconfig.jestTests.json -w",
|
|
42
|
+
"translations": "node build-utils/translations/translation-integrity.mjs",
|
|
43
|
+
"update-version": "node updateVersion.js",
|
|
44
|
+
"watch": "npx tsc -b tsconfig.cjs.json -w",
|
|
45
|
+
"watch:inject-translations": "npx nodemon --watch dist --delay 500ms --ext js --exec 'npm run inject-translations'"
|
|
46
|
+
},
|
|
47
|
+
"author": "",
|
|
48
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@babel/core": "^7.28.5",
|
|
51
|
+
"@babel/generator": "^7.28.5",
|
|
52
|
+
"@babel/parser": "^7.28.5",
|
|
53
|
+
"@babel/preset-env": "^7.24.3",
|
|
54
|
+
"@babel/preset-react": "^7.24.1",
|
|
55
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
56
|
+
"@babel/traverse": "^7.28.5",
|
|
57
|
+
"@eslint/js": "^9.18.0",
|
|
58
|
+
"@storybook/addon-a11y": "^10.3.5",
|
|
59
|
+
"@storybook/addon-docs": "^10.3.5",
|
|
60
|
+
"@storybook/addon-links": "^10.3.5",
|
|
61
|
+
"@storybook/addon-webpack5-compiler-babel": "^4.0.1",
|
|
62
|
+
"@storybook/react-webpack5": "^10.3.5",
|
|
63
|
+
"@storybook/test-runner": "^0.24.3",
|
|
64
|
+
"@tanstack/react-query": "^5.85.5",
|
|
65
|
+
"@testing-library/react": "^16.3.0",
|
|
66
|
+
"@types/jest": "^29.5.12",
|
|
67
|
+
"@types/react": "^19.2.2",
|
|
68
|
+
"@types/react-dom": "^19.2.2",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
|
70
|
+
"@typescript-eslint/parser": "^8.20.0",
|
|
71
|
+
"axe-core": "^4.10.2",
|
|
72
|
+
"css-loader": "^7.1.2",
|
|
73
|
+
"eslint": "^9.18.0",
|
|
74
|
+
"eslint-config-prettier": "^10.1.8",
|
|
75
|
+
"eslint-plugin-react": "^7.37.3",
|
|
76
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
77
|
+
"eslint-plugin-storybook": "^10.3.5",
|
|
78
|
+
"globals": "^17.1.0",
|
|
79
|
+
"jest": "^30.2.0",
|
|
80
|
+
"jest-environment-jsdom": "^30.2.0",
|
|
81
|
+
"jest-junit": "^16.0.0",
|
|
82
|
+
"less": "^4.1.3",
|
|
83
|
+
"less-loader": "^12.2.0",
|
|
84
|
+
"mini-css-extract-plugin": "^2.9.2",
|
|
85
|
+
"postcss-loader": "^8.2.1",
|
|
86
|
+
"postcss-rtlcss": "^6.0.0",
|
|
87
|
+
"prettier": "^3.8.1",
|
|
88
|
+
"storybook": "^10.3.5",
|
|
89
|
+
"style-loader": "^4.0.0",
|
|
90
|
+
"typescript": "^5.4.3",
|
|
91
|
+
"typescript-eslint": "^8.20.0",
|
|
92
|
+
"webpack": "^5.96.1",
|
|
93
|
+
"xml2js": "^0.6.0"
|
|
94
|
+
},
|
|
95
|
+
"dependencies": {
|
|
96
|
+
"chart.js": "^4.4.6",
|
|
97
|
+
"react": "^19.2.0",
|
|
98
|
+
"react-dom": "^19.2.0",
|
|
99
|
+
"react-hook-form": "^7.60.0"
|
|
100
|
+
},
|
|
101
|
+
"peerDependencies": {
|
|
102
|
+
"chart.js": "^4.4.6",
|
|
103
|
+
"react": "^19.2.0",
|
|
104
|
+
"react-dom": "^19.2.0"
|
|
105
|
+
},
|
|
106
|
+
"files": [
|
|
107
|
+
"./dist/",
|
|
108
|
+
"./esm"
|
|
109
|
+
],
|
|
110
|
+
"browserslist": {
|
|
111
|
+
"production": [
|
|
112
|
+
">0.2%",
|
|
113
|
+
"not dead",
|
|
114
|
+
"not op_mini all"
|
|
115
|
+
],
|
|
116
|
+
"development": [
|
|
117
|
+
"last 1 chrome version",
|
|
118
|
+
"last 1 firefox version",
|
|
119
|
+
"last 1 safari version"
|
|
120
|
+
]
|
|
121
|
+
},
|
|
122
|
+
"publishConfig": {
|
|
123
|
+
"access": "public"
|
|
124
|
+
}
|
|
126
125
|
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useDirectionalIcon = void 0;
|
|
4
|
-
const useDirection_1 = require("./useDirection");
|
|
5
|
-
const useDirectionalIcon = (ltrIcon, rtlIcon) => {
|
|
6
|
-
const direction = (0, useDirection_1.useDirection)();
|
|
7
|
-
return direction === "rtl" ? rtlIcon : ltrIcon;
|
|
8
|
-
};
|
|
9
|
-
exports.useDirectionalIcon = useDirectionalIcon;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const mockAbsoluteAlignment: () => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import * as AbsoluteModule from "../absolute/absolute";
|
|
3
|
-
export const mockAbsoluteAlignment = () => {
|
|
4
|
-
beforeEach(() => {
|
|
5
|
-
jest.spyOn(AbsoluteModule, "Absolute").mockImplementation(({ alignment }) => (_jsx("div", { "data-testid": "absolute", "data-alignment": alignment })));
|
|
6
|
-
});
|
|
7
|
-
afterEach(() => {
|
|
8
|
-
jest.restoreAllMocks();
|
|
9
|
-
});
|
|
10
|
-
};
|