@geotab/zenith 3.11.1 → 3.12.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 +24 -0
- package/dist/absolute/absolute.d.ts +21 -1
- package/dist/absolute/absolute.js +46 -6
- package/dist/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
- package/dist/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/dist/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
- package/dist/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
- package/dist/alert/banner.d.ts +3 -1
- package/dist/alertRaw/alertRaw.js +1 -1
- package/dist/banner/banner.d.ts +5 -2
- package/dist/banner/banner.js +13 -2
- package/dist/banner/bannerErrorSummary.d.ts +7 -0
- package/dist/banner/bannerErrorSummary.js +8 -0
- package/dist/banner/bannerMultipLine.js +1 -1
- package/dist/banner/bannerSingleLine.js +1 -1
- package/dist/banner/utils/buildSummaryErrorList.d.ts +1 -0
- package/dist/banner/utils/buildSummaryErrorList.js +16 -0
- package/dist/banner/utils/hasSummaryErrorChild.d.ts +1 -0
- package/dist/banner/utils/hasSummaryErrorChild.js +7 -0
- package/dist/banner/utils/isSummaryErrorBanner.d.ts +2 -0
- package/dist/banner/utils/isSummaryErrorBanner.js +6 -0
- package/dist/banner/utils/isSummaryErrorElement.d.ts +3 -0
- package/dist/banner/utils/isSummaryErrorElement.js +7 -0
- package/dist/banner/utils/useSummaryBannerProp.d.ts +6 -0
- package/dist/banner/utils/useSummaryBannerProp.js +34 -0
- package/dist/betaPill/betaPill.js +4 -4
- package/dist/bookmark/bookmark.js +2 -2
- package/dist/bulkEditControl/bulkEditControl.js +5 -5
- package/dist/calendar/calendar.js +37 -34
- package/dist/calendar/calendarUtils.js +6 -4
- package/dist/card/card.js +1 -1
- package/dist/card/components/title.js +4 -1
- package/dist/card/components/titleLink.js +5 -2
- package/dist/chart/accessibleChart/accessibleChartNarrative.js +13 -13
- package/dist/chart/accessibleChart/accessibleChartTable.js +5 -5
- 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/chart.js +1 -1
- package/dist/chart/chartAxis/chartAxis.js +2 -2
- package/dist/chart/lineChart/getDefaultOptions.d.ts +4 -1
- package/dist/chart/lineChart/getDefaultOptions.js +7 -2
- package/dist/chart/lineChart.js +7 -3
- package/dist/chart/plugins/linePlugin/linePlugin.js +5 -4
- package/dist/chart/utils/getXAxisMeta.js +8 -5
- package/dist/chart/utils/isDateRange.js +1 -1
- package/dist/chart/utils/useHidden.d.ts +1 -0
- package/dist/chart/utils/useHidden.js +1 -1
- package/dist/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
- package/dist/chart/utils/useLastVisibleXAxisMeta.js +15 -0
- package/dist/checkboxListWithAction/checkboxListWithAction.js +8 -5
- package/dist/chip/chip.js +1 -1
- package/dist/columnsSelector/columnsSelector.js +2 -2
- package/dist/columnsSelector/columnsTab/columnsTab.js +1 -1
- package/dist/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/dist/commonStyles/columnsList.less +59 -0
- package/dist/commonStyles/link/link.less +1 -1
- package/dist/commonStyles/pillStyles/pillContent.less +14 -15
- package/dist/commonStyles/pillStyles/pillStyles.less +4 -5
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/pillStyles/pillTypes.less +1 -1
- package/dist/commonStyles/popupMixin.less +1 -1
- package/dist/commonStyles/selectButton.less +1 -1
- package/dist/commonStyles/typography/typography.less +545 -19
- package/dist/controlledPopup/controlledPopup.d.ts +1 -0
- package/dist/controlledPopup/controlledPopup.js +3 -1
- package/dist/dataFeed/feedExpandControl/feedExpandControl.js +5 -0
- package/dist/dataGrid/cell/cell.d.ts +2 -1
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
- package/dist/dataGrid/dataGrid.js +8 -5
- package/dist/dataGrid/emptySearchList/emptySearchList.js +1 -1
- package/dist/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
- package/dist/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
- 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/columnSettings.js +2 -2
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +45 -116
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +4 -0
- package/dist/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
- package/dist/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
- package/dist/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
- package/dist/dateInputInner/dateInputInner.js +7 -7
- package/dist/dateInputInner/dateInputInnerControlBlock.js +2 -2
- package/dist/dateInputRaw/dateInputRaw.js +4 -4
- package/dist/dateInputRaw/utils/getLabel.js +2 -2
- package/dist/dateRangeInner/dateRangeInner.js +6 -3
- package/dist/dateRangeRaw/dateRangeRaw.d.ts +1 -0
- package/dist/dateRangeRaw/dateRangeRaw.js +21 -15
- package/dist/dateRangeRaw/types.d.ts +1 -0
- package/dist/dateRangeRaw/utils/dateRangeUtils.js +17 -17
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
- package/dist/dialog/dialogContent.js +1 -1
- package/dist/dropdown/dropdownTrigger.d.ts +1 -1
- package/dist/dropdownRaw/dropdownList.js +9 -9
- package/dist/dropdownRaw/dropdownPopup.js +3 -3
- package/dist/dropdownRaw/dropdownRaw.js +34 -17
- package/dist/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
- package/dist/dropdownRaw/dropdownSearchableTrigger.js +8 -6
- package/dist/dropdownRaw/dropdownTrigger.d.ts +2 -1
- package/dist/dropdownRaw/dropdownTrigger.js +2 -2
- package/dist/dropdownRaw/types.d.ts +2 -0
- package/dist/favoriteButton/favoriteButton.js +1 -1
- package/dist/fileUpload/components/dropZoneContent.js +104 -104
- package/dist/fileUpload/components/templateDownloadSection.js +1 -1
- package/dist/fileUpload/components/uploadedFilesSection.js +2 -2
- package/dist/fileUpload/fileUpload.js +106 -106
- package/dist/filterButton/filterButton.d.ts +1 -0
- package/dist/filters/components/filtersContainer.js +2 -2
- package/dist/filters/components/filtersDropdown.d.ts +1 -1
- package/dist/filters/components/filtersEmptyState.js +2 -2
- package/dist/filters/components/filtersSaveModal.js +5 -5
- package/dist/filters/components/filtersSavedChipComponent.js +11 -11
- package/dist/filters/components/filtersSearchItemData.js +1 -1
- package/dist/filters/components/filtersSearchList.js +14 -11
- package/dist/filters/components/filtersSelect.js +1 -1
- package/dist/filters/components/filtersSelectListItem.js +2 -2
- package/dist/filters/components/filtersSidePanel.js +8 -8
- package/dist/filters/filters.js +7 -7
- package/dist/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/dist/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
- package/dist/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
- package/dist/filtersBar/components/resetComponentButton.js +1 -1
- package/dist/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
- package/dist/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/dist/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
- package/dist/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/dist/formField/hooks/useError.js +3 -3
- package/dist/formField/hooks/useFormFieldProps.d.ts +1 -1
- package/dist/formField/hooks/useFormFieldProps.js +4 -2
- package/dist/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
- package/dist/formGroup/hooks/useCustomRow.js +46 -32
- package/dist/formGroup/hooks/useRowElements.js +9 -6
- package/dist/formGroup/hooks/useToggle.js +1 -1
- package/dist/formGroup/types.d.ts +4 -0
- package/dist/formGroup/utils/normalizeFieldId.d.ts +1 -0
- package/dist/formGroup/utils/normalizeFieldId.js +5 -0
- package/dist/formGroup/utils/resolveId.d.ts +7 -0
- package/dist/formGroup/utils/resolveId.js +6 -0
- package/dist/formLayout/components/getLayoutColumns.js +4 -2
- package/dist/formLayout/hooks/useError.js +3 -3
- package/dist/formLayout/hooks/useErrorSummary.d.ts +6 -0
- package/dist/formLayout/hooks/useErrorSummary.js +34 -0
- package/dist/formLayout/hooks/useFormButtons.js +3 -3
- package/dist/formLayout/utils/applyGridPropsStatic.js +1 -1
- package/dist/formLayout/utils/flattenErrors.d.ts +5 -0
- package/dist/formLayout/utils/flattenErrors.js +14 -0
- package/dist/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
- package/dist/formLayout/utils/getFieldLabel.d.ts +1 -0
- package/dist/formLayout/utils/getFieldLabel.js +26 -0
- package/dist/formSection/hooks/useError.js +3 -3
- package/dist/formStepper/components/formStep.js +1 -1
- package/dist/formStepper/formStepper.js +2 -2
- package/dist/formStepperButtons/formStepperButtons.js +8 -5
- package/dist/gridLayout/hooks/useGridClasses.js +3 -9
- package/dist/groupButtonRaw/groupButtonRaw.js +2 -2
- package/dist/groupButtonRaw/types.d.ts +1 -0
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
- package/dist/groupsFilterRaw/groupsFilterBox.js +3 -3
- package/dist/groupsFilterRaw/groupsFilterCommon.js +2 -2
- package/dist/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
- package/dist/groupsFilterRaw/groupsFilterHelper.js +2 -2
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +12 -9
- package/dist/groupsFilterRaw/groupsFilterMenu.js +3 -3
- package/dist/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/dist/groupsFilterRaw/groupsFilterRaw.js +15 -10
- package/dist/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
- package/dist/groupsFilterRaw/groupsFilterTrigger.js +8 -5
- package/dist/groupsFilterRaw/groupsHelper.js +22 -22
- package/dist/groupsFilterRaw/types.d.ts +2 -0
- package/dist/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/dist/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
- package/dist/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
- package/dist/header/header.js +1 -1
- package/dist/header/headerBack.js +5 -2
- package/dist/header/headerHelpers.d.ts +1 -0
- package/dist/header/headerHelpers.js +10 -1
- package/dist/header/hooks/useNonFittingElements.js +1 -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 +3628 -3321
- package/dist/index.d.ts +1 -0
- package/dist/index.js +16 -14
- package/dist/lineChartMini/lineChartMini.js +15 -3
- package/dist/list/itemData/itemDataInternal.js +6 -3
- package/dist/list/listItem/listItem.js +6 -3
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +4 -1
- package/dist/menu/components/menuButton.d.ts +2 -1
- package/dist/menu/components/menuButton.js +7 -4
- package/dist/menu/components/menuErrorItem.js +2 -2
- package/dist/menu/components/menuItem.js +4 -4
- package/dist/menu/utils/useMenuItemCore.js +1 -3
- package/dist/miniTabs/miniTabs.d.ts +1 -0
- package/dist/miniTabs/miniTabs.js +1 -1
- package/dist/miniTabs/miniTabsHeaderItem.d.ts +2 -1
- package/dist/miniTabs/miniTabsHeaderItem.js +1 -1
- package/dist/miniTabs/miniTabsItem.d.ts +1 -0
- package/dist/mobileSheet/mobileSheet.js +2 -2
- package/dist/modal/modal.js +1 -1
- package/dist/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
- package/dist/nav/navFooter/navFooter.js +1 -1
- package/dist/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/dist/nav/navHeader/navHeader.js +2 -2
- package/dist/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
- package/dist/nav/navItem/navItem.js +4 -1
- package/dist/nav/navMobileBar/navMobileBar.js +1 -1
- package/dist/notification/notification.js +1 -1
- package/dist/pagination/paginationArrow.js +12 -5
- package/dist/pagination/paginationText/paginationText.js +1 -1
- package/dist/pill/components/pillNonActionable/pillNonActionable.js +1 -1
- package/dist/pillBox/components/pillBoxItem.js +1 -1
- package/dist/pillBox/pillBox.js +3 -3
- package/dist/pillExpandable/pillContent.js +12 -3
- package/dist/pillExpandable/pillExpandable.d.ts +4 -1
- package/dist/pillExpandable/pillExpandable.js +5 -3
- package/dist/pillExpandable/pillExpandableSimple.d.ts +1 -1
- package/dist/pillExpandable/pillExpandableSimple.js +4 -4
- package/dist/radioGroupRaw/radioGroupRaw.js +2 -1
- package/dist/rangeRaw/rangeRaw.js +7 -8
- package/dist/rangeRaw/utils/rangeHelper.js +7 -7
- package/dist/searchInputRaw/searchInputRaw.js +6 -3
- package/dist/selectList/selectList.js +2 -2
- package/dist/selectList/selectListItem.js +4 -1
- package/dist/skeleton/skeleton.js +1 -1
- package/dist/sortControl/sortControl.js +6 -7
- package/dist/stepperRaw/stepperRaw.js +5 -0
- package/dist/summary/summary.js +2 -2
- package/dist/summaryTile/summaryTile.d.ts +4 -2
- package/dist/summaryTile/summaryTile.js +59 -26
- package/dist/summaryTileBar/summaryTileBar.d.ts +4 -2
- package/dist/summaryTileBar/summaryTileBar.js +2 -2
- package/dist/table/actions/actionsMenu.js +2 -2
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/detailPanel/detailPanel.js +1 -1
- package/dist/table/detailPanel/detailPanelHeader.js +2 -2
- package/dist/table/flexible/columnSettings.js +2 -2
- package/dist/table/flexible/columnsList.js +47 -117
- package/dist/table/flexible/columnsPopup.d.ts +1 -1
- package/dist/table/flexible/columnsPopup.js +1 -1
- package/dist/table/nested/useNestedRows.js +2 -2
- package/dist/table/selectable/selectableHeader.js +5 -4
- package/dist/table/selectable/useSelectableRows.d.ts +8 -0
- package/dist/table/selectable/useSelectableRows.js +16 -8
- package/dist/table/sortable/mobileSortControl.js +1 -1
- package/dist/table/sortable/sortableHeader.js +2 -2
- package/dist/table/table.js +3 -9
- package/dist/tabs/tabItem/tabItem.d.ts +2 -1
- package/dist/tabs/tabItem/tabItem.js +7 -2
- package/dist/tabs/tabs.d.ts +2 -1
- package/dist/tabs/tabs.js +71 -61
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +11 -9
- package/dist/timePickerRaw/types.d.ts +1 -0
- package/dist/toastRaw/toastRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +7 -4
- package/dist/tooltip/tooltip.js +13 -5
- package/dist/utils/formatDate.js +37 -37
- package/dist/utils/localization/flipAlignment.js +12 -1
- package/dist/utils/localization/languageContext.d.ts +1 -1
- package/dist/utils/localization/translations/cs.json +7 -5
- package/dist/utils/localization/translations/da-DK.json +7 -5
- package/dist/utils/localization/translations/de.json +7 -5
- package/dist/utils/localization/translations/en.json +12 -1
- package/dist/utils/localization/translations/es.json +7 -5
- package/dist/utils/localization/translations/fi-FI.json +7 -5
- package/dist/utils/localization/translations/fr-FR.json +7 -5
- package/dist/utils/localization/translations/fr.json +7 -5
- package/dist/utils/localization/translations/hu-HU.json +7 -5
- package/dist/utils/localization/translations/id.json +7 -5
- package/dist/utils/localization/translations/it.json +7 -5
- package/dist/utils/localization/translations/ja.json +7 -5
- package/dist/utils/localization/translations/ko-KR.json +7 -5
- package/dist/utils/localization/translations/ms.json +7 -5
- package/dist/utils/localization/translations/nb-NO.json +7 -5
- package/dist/utils/localization/translations/nl.json +7 -5
- package/dist/utils/localization/translations/pl.json +7 -5
- package/dist/utils/localization/translations/pt-BR.json +7 -5
- package/dist/utils/localization/translations/pt-PT.json +7 -5
- package/dist/utils/localization/translations/ro-RO.json +7 -5
- package/dist/utils/localization/translations/sk-SK.json +7 -5
- package/dist/utils/localization/translations/sv.json +7 -5
- package/dist/utils/localization/translations/th.json +7 -5
- package/dist/utils/localization/translations/tr.json +7 -5
- package/dist/utils/localization/translations/zh-Hans.json +7 -5
- package/dist/utils/localization/translations/zh-TW.json +7 -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.d.ts +2 -1
- package/dist/utils/positioningUtils/calculatePosition.js +11 -11
- package/dist/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
- package/dist/utils/positioningUtils/normalizeLogicalAlignment.js +36 -0
- package/esm/absolute/absolute.d.ts +21 -1
- package/esm/absolute/absolute.js +46 -6
- package/esm/advancedGroupsFilter/advancedGroupsFilter.js +3 -3
- package/esm/advancedGroupsFilter/advancedGroupsFilterForm.js +2 -2
- package/esm/advancedGroupsFilter/advancedGroupsFilterFormSection.js +7 -7
- package/esm/advancedGroupsFilter/advancedGroupsFilterSectionTooltip.js +1 -1
- package/esm/alert/banner.d.ts +3 -1
- package/esm/alertRaw/alertRaw.js +1 -1
- package/esm/banner/banner.d.ts +5 -2
- package/esm/banner/banner.js +13 -2
- package/esm/banner/bannerErrorSummary.d.ts +7 -0
- package/esm/banner/bannerErrorSummary.js +4 -0
- package/esm/banner/bannerMultipLine.js +1 -1
- package/esm/banner/bannerSingleLine.js +1 -1
- package/esm/banner/utils/buildSummaryErrorList.d.ts +1 -0
- package/esm/banner/utils/buildSummaryErrorList.js +12 -0
- package/esm/banner/utils/hasSummaryErrorChild.d.ts +1 -0
- package/esm/banner/utils/hasSummaryErrorChild.js +3 -0
- package/esm/banner/utils/isSummaryErrorBanner.d.ts +2 -0
- package/esm/banner/utils/isSummaryErrorBanner.js +2 -0
- package/esm/banner/utils/isSummaryErrorElement.d.ts +3 -0
- package/esm/banner/utils/isSummaryErrorElement.js +3 -0
- package/esm/banner/utils/useSummaryBannerProp.d.ts +6 -0
- package/esm/banner/utils/useSummaryBannerProp.js +25 -0
- package/esm/betaPill/betaPill.js +4 -4
- package/esm/bookmark/bookmark.js +2 -2
- package/esm/bulkEditControl/bulkEditControl.js +5 -5
- package/esm/calendar/calendar.js +37 -34
- package/esm/calendar/calendarUtils.js +6 -4
- package/esm/card/card.js +1 -1
- package/esm/card/components/title.js +4 -1
- package/esm/card/components/titleLink.js +5 -2
- package/esm/chart/accessibleChart/accessibleChartNarrative.js +13 -13
- package/esm/chart/accessibleChart/accessibleChartTable.js +5 -5
- 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/chart.js +1 -1
- package/esm/chart/chartAxis/chartAxis.js +2 -2
- package/esm/chart/lineChart/getDefaultOptions.d.ts +4 -1
- package/esm/chart/lineChart/getDefaultOptions.js +7 -2
- package/esm/chart/lineChart.js +7 -3
- package/esm/chart/plugins/linePlugin/linePlugin.js +5 -4
- package/esm/chart/utils/getXAxisMeta.js +8 -5
- package/esm/chart/utils/isDateRange.js +1 -1
- package/esm/chart/utils/useHidden.d.ts +1 -0
- package/esm/chart/utils/useHidden.js +1 -1
- package/esm/chart/utils/useLastVisibleXAxisMeta.d.ts +2 -0
- package/esm/chart/utils/useLastVisibleXAxisMeta.js +11 -0
- package/esm/checkboxListWithAction/checkboxListWithAction.js +8 -5
- package/esm/chip/chip.js +1 -1
- package/esm/columnsSelector/columnsSelector.js +2 -2
- package/esm/columnsSelector/columnsTab/columnsTab.js +1 -1
- package/esm/columnsSelector/columnsTabGroup/columnsTabGroup.js +1 -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/dataFeed/feedExpandControl/feedExpandControl.js +3 -0
- package/esm/dataGrid/cell/cell.d.ts +2 -1
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/columns/checkboxColumn/checkboxHeaderCell.js +1 -1
- package/esm/dataGrid/dataGrid.js +8 -5
- package/esm/dataGrid/emptySearchList/emptySearchList.js +1 -1
- package/esm/dataGrid/entitiesListActions/actions/columnsListButton.js +1 -1
- package/esm/dataGrid/entitiesListActions/actions/fullscreenButton.js +2 -2
- 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/columnSettings.js +2 -2
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.d.ts +1 -1
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +44 -110
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsSidePanel.js +2 -0
- package/esm/dataGrid/withFlexibleColumns/withFlexibleColumns.js +29 -29
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.js +5 -5
- package/esm/dataGrid/withSelectableRows/withSelectableRows.js +4 -3
- package/esm/dataGrid/withSortableColumns/columns/sortableColumnWrapper.js +2 -2
- package/esm/dateInputInner/dateInputInner.js +7 -7
- package/esm/dateInputInner/dateInputInnerControlBlock.js +2 -2
- package/esm/dateInputRaw/dateInputRaw.js +4 -4
- package/esm/dateInputRaw/utils/getLabel.js +2 -2
- package/esm/dateRangeInner/dateRangeInner.js +6 -3
- package/esm/dateRangeRaw/dateRangeRaw.d.ts +1 -0
- package/esm/dateRangeRaw/dateRangeRaw.js +21 -15
- package/esm/dateRangeRaw/types.d.ts +1 -0
- package/esm/dateRangeRaw/utils/dateRangeUtils.js +17 -17
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dateSelectionWrapper/dateSelectionWrapper.js +4 -4
- package/esm/dialog/dialogContent.js +1 -1
- package/esm/dropdown/dropdownTrigger.d.ts +1 -1
- package/esm/dropdownRaw/dropdownList.js +9 -9
- package/esm/dropdownRaw/dropdownPopup.js +3 -3
- package/esm/dropdownRaw/dropdownRaw.js +34 -17
- package/esm/dropdownRaw/dropdownSearchableTrigger.d.ts +2 -1
- package/esm/dropdownRaw/dropdownSearchableTrigger.js +8 -6
- package/esm/dropdownRaw/dropdownTrigger.d.ts +2 -1
- package/esm/dropdownRaw/dropdownTrigger.js +2 -2
- package/esm/dropdownRaw/types.d.ts +2 -0
- package/esm/favoriteButton/favoriteButton.js +1 -1
- package/esm/fileUpload/components/dropZoneContent.js +104 -104
- package/esm/fileUpload/components/templateDownloadSection.js +1 -1
- package/esm/fileUpload/components/uploadedFilesSection.js +2 -2
- package/esm/fileUpload/fileUpload.js +106 -106
- package/esm/filterButton/filterButton.d.ts +1 -0
- package/esm/filters/components/filtersContainer.js +2 -2
- package/esm/filters/components/filtersDropdown.d.ts +1 -1
- package/esm/filters/components/filtersEmptyState.js +2 -2
- package/esm/filters/components/filtersSaveModal.js +5 -5
- package/esm/filters/components/filtersSavedChipComponent.js +11 -11
- package/esm/filters/components/filtersSearchItemData.js +1 -1
- package/esm/filters/components/filtersSearchList.js +14 -11
- package/esm/filters/components/filtersSelect.js +1 -1
- package/esm/filters/components/filtersSelectListItem.js +2 -2
- package/esm/filters/components/filtersSidePanel.js +8 -8
- package/esm/filters/filters.js +7 -7
- package/esm/filtersBar/components/filtersBarGroupsFilter/filtersBarGroupsFilter.d.ts +1 -1
- package/esm/filtersBar/components/filtersBarPeriodPicker/filtersBarPeriodPicker.d.ts +1 -0
- package/esm/filtersBar/components/filtersBarPeriodPicker/getRangeOption.js +18 -18
- package/esm/filtersBar/components/resetComponentButton.js +1 -1
- package/esm/filtersBar/filtersBarActions/filtersBarActions.js +3 -3
- package/esm/filtersBar/filtersBarSidePanel/components/filtersBarSidePanelRange/filtersBarSidePanelRange.js +2 -2
- package/esm/filtersBar/filtersBarSidePanel/filtersBarSidePanel.js +5 -5
- package/esm/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/esm/formField/hooks/useError.js +3 -3
- package/esm/formField/hooks/useFormFieldProps.d.ts +1 -1
- package/esm/formField/hooks/useFormFieldProps.js +4 -2
- package/esm/formGroup/components/reviewListToggle/reviewListToggle.js +2 -2
- package/esm/formGroup/hooks/useCustomRow.js +46 -32
- package/esm/formGroup/hooks/useRowElements.js +9 -6
- package/esm/formGroup/hooks/useToggle.js +1 -1
- package/esm/formGroup/types.d.ts +4 -0
- package/esm/formGroup/utils/normalizeFieldId.d.ts +1 -0
- package/esm/formGroup/utils/normalizeFieldId.js +1 -0
- package/esm/formGroup/utils/resolveId.d.ts +7 -0
- package/esm/formGroup/utils/resolveId.js +2 -0
- package/esm/formLayout/components/getLayoutColumns.js +4 -2
- package/esm/formLayout/hooks/useError.js +3 -3
- package/esm/formLayout/hooks/useErrorSummary.d.ts +6 -0
- package/esm/formLayout/hooks/useErrorSummary.js +30 -0
- package/esm/formLayout/hooks/useFormButtons.js +3 -3
- package/esm/formLayout/utils/applyGridPropsStatic.js +1 -1
- package/esm/formLayout/utils/flattenErrors.d.ts +5 -0
- package/esm/formLayout/utils/flattenErrors.js +10 -0
- package/esm/formLayout/utils/getChildrenWithCustomColumns.js +3 -0
- package/esm/formLayout/utils/getFieldLabel.d.ts +1 -0
- package/esm/formLayout/utils/getFieldLabel.js +22 -0
- package/esm/formSection/hooks/useError.js +3 -3
- package/esm/formStepper/components/formStep.js +1 -1
- package/esm/formStepper/formStepper.js +2 -2
- package/esm/formStepperButtons/formStepperButtons.js +8 -5
- package/esm/gridLayout/hooks/useGridClasses.js +3 -9
- package/esm/groupButtonRaw/groupButtonRaw.js +2 -2
- package/esm/groupButtonRaw/types.d.ts +1 -0
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +8 -5
- package/esm/groupsFilterRaw/groupsFilterBox.js +3 -3
- package/esm/groupsFilterRaw/groupsFilterCommon.js +2 -2
- package/esm/groupsFilterRaw/groupsFilterCurrentlySelectedState.js +5 -5
- package/esm/groupsFilterRaw/groupsFilterHelper.js +2 -2
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +12 -9
- package/esm/groupsFilterRaw/groupsFilterMenu.js +3 -3
- package/esm/groupsFilterRaw/groupsFilterRaw.d.ts +1 -0
- package/esm/groupsFilterRaw/groupsFilterRaw.js +15 -10
- package/esm/groupsFilterRaw/groupsFilterTrigger.d.ts +2 -1
- package/esm/groupsFilterRaw/groupsFilterTrigger.js +8 -5
- package/esm/groupsFilterRaw/groupsHelper.js +22 -22
- package/esm/groupsFilterRaw/types.d.ts +2 -0
- package/esm/header/components/collapsedItemsControl/collapsedItemsControl.js +1 -1
- package/esm/header/components/mobileFilterControl/mobileFilterControl.js +1 -1
- package/esm/header/components/mobileSearchControl/mobileSearchControl.js +3 -3
- package/esm/header/header.js +2 -2
- package/esm/header/headerBack.js +5 -2
- package/esm/header/headerHelpers.d.ts +1 -0
- package/esm/header/headerHelpers.js +8 -0
- package/esm/header/hooks/useNonFittingElements.js +1 -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 +6 -3
- package/esm/list/listItem/listItem.js +6 -3
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +4 -1
- package/esm/menu/components/menuButton.d.ts +2 -1
- package/esm/menu/components/menuButton.js +7 -4
- package/esm/menu/components/menuErrorItem.js +2 -2
- package/esm/menu/components/menuItem.js +4 -4
- package/esm/menu/utils/useMenuItemCore.js +1 -3
- package/esm/miniTabs/miniTabs.d.ts +1 -0
- package/esm/miniTabs/miniTabs.js +1 -1
- package/esm/miniTabs/miniTabsHeaderItem.d.ts +2 -1
- package/esm/miniTabs/miniTabsHeaderItem.js +1 -1
- package/esm/miniTabs/miniTabsItem.d.ts +1 -0
- package/esm/mobileSheet/mobileSheet.js +2 -2
- package/esm/modal/modal.js +1 -1
- package/esm/nav/navFooter/navEditFooter/navEditFooter.js +2 -2
- package/esm/nav/navFooter/navFooter.js +1 -1
- package/esm/nav/navFooter/navFooterAction/navFooterAction.js +1 -1
- package/esm/nav/navHeader/navHeader.js +2 -2
- package/esm/nav/navHeader/navHeaderSearch/navHeaderSearch.js +2 -2
- package/esm/nav/navItem/navItem.js +4 -1
- package/esm/nav/navMobileBar/navMobileBar.js +1 -1
- package/esm/notification/notification.js +1 -1
- package/esm/pagination/paginationArrow.js +12 -5
- package/esm/pagination/paginationText/paginationText.js +1 -1
- package/esm/pill/components/pillNonActionable/pillNonActionable.js +1 -1
- package/esm/pillBox/components/pillBoxItem.js +1 -1
- package/esm/pillBox/pillBox.js +3 -3
- package/esm/pillExpandable/pillContent.js +12 -3
- package/esm/pillExpandable/pillExpandable.d.ts +4 -1
- package/esm/pillExpandable/pillExpandable.js +5 -3
- package/esm/pillExpandable/pillExpandableSimple.d.ts +1 -1
- package/esm/pillExpandable/pillExpandableSimple.js +4 -4
- package/esm/radioGroupRaw/radioGroupRaw.js +2 -1
- package/esm/rangeRaw/rangeRaw.js +7 -8
- package/esm/rangeRaw/utils/rangeHelper.js +7 -7
- package/esm/searchInputRaw/searchInputRaw.js +6 -3
- package/esm/selectList/selectList.js +2 -2
- package/esm/selectList/selectListItem.js +4 -1
- package/esm/skeleton/skeleton.js +1 -1
- package/esm/sortControl/sortControl.js +6 -7
- package/esm/stepperRaw/stepperRaw.js +3 -0
- package/esm/summary/summary.js +2 -2
- package/esm/summaryTile/summaryTile.d.ts +4 -2
- package/esm/summaryTile/summaryTile.js +59 -26
- package/esm/summaryTileBar/summaryTileBar.d.ts +4 -2
- package/esm/summaryTileBar/summaryTileBar.js +2 -2
- package/esm/table/actions/actionsMenu.js +2 -2
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/detailPanel/detailPanel.js +1 -1
- package/esm/table/detailPanel/detailPanelHeader.js +2 -2
- package/esm/table/flexible/columnSettings.js +2 -2
- package/esm/table/flexible/columnsList.js +46 -111
- package/esm/table/flexible/columnsPopup.d.ts +1 -1
- package/esm/table/flexible/columnsPopup.js +1 -1
- package/esm/table/nested/useNestedRows.js +2 -2
- package/esm/table/selectable/selectableHeader.js +5 -4
- package/esm/table/selectable/useSelectableRows.d.ts +8 -0
- package/esm/table/selectable/useSelectableRows.js +16 -8
- package/esm/table/sortable/mobileSortControl.js +1 -1
- package/esm/table/sortable/sortableHeader.js +2 -2
- package/esm/table/table.js +3 -9
- package/esm/tabs/tabItem/tabItem.d.ts +2 -1
- package/esm/tabs/tabItem/tabItem.js +7 -2
- package/esm/tabs/tabs.d.ts +2 -1
- package/esm/tabs/tabs.js +71 -61
- 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 +11 -9
- package/esm/timePickerRaw/types.d.ts +1 -0
- package/esm/toastRaw/toastRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +7 -4
- package/esm/tooltip/tooltip.js +13 -5
- package/esm/utils/formatDate.js +37 -37
- package/esm/utils/localization/flipAlignment.js +12 -1
- package/esm/utils/localization/languageContext.d.ts +1 -1
- package/esm/utils/localization/translations/cs.json +7 -5
- package/esm/utils/localization/translations/da-DK.json +7 -5
- package/esm/utils/localization/translations/de.json +7 -5
- package/esm/utils/localization/translations/en.json +12 -1
- package/esm/utils/localization/translations/es.json +7 -5
- package/esm/utils/localization/translations/fi-FI.json +7 -5
- package/esm/utils/localization/translations/fr-FR.json +7 -5
- package/esm/utils/localization/translations/fr.json +7 -5
- package/esm/utils/localization/translations/hu-HU.json +7 -5
- package/esm/utils/localization/translations/id.json +7 -5
- package/esm/utils/localization/translations/it.json +7 -5
- package/esm/utils/localization/translations/ja.json +7 -5
- package/esm/utils/localization/translations/ko-KR.json +7 -5
- package/esm/utils/localization/translations/ms.json +7 -5
- package/esm/utils/localization/translations/nb-NO.json +7 -5
- package/esm/utils/localization/translations/nl.json +7 -5
- package/esm/utils/localization/translations/pl.json +7 -5
- package/esm/utils/localization/translations/pt-BR.json +7 -5
- package/esm/utils/localization/translations/pt-PT.json +7 -5
- package/esm/utils/localization/translations/ro-RO.json +7 -5
- package/esm/utils/localization/translations/sk-SK.json +7 -5
- package/esm/utils/localization/translations/sv.json +7 -5
- package/esm/utils/localization/translations/th.json +7 -5
- package/esm/utils/localization/translations/tr.json +7 -5
- package/esm/utils/localization/translations/zh-Hans.json +7 -5
- package/esm/utils/localization/translations/zh-TW.json +7 -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.d.ts +2 -1
- package/esm/utils/positioningUtils/calculatePosition.js +11 -11
- package/esm/utils/positioningUtils/normalizeLogicalAlignment.d.ts +4 -0
- package/esm/utils/positioningUtils/normalizeLogicalAlignment.js +32 -0
- package/package.json +11 -12
- package/dist/utils/localization/translations/en-json.d.ts +0 -317
- package/dist/utils/localization/translations/en-json.js +0 -320
- package/esm/utils/localization/translations/en-json.d.ts +0 -317
- package/esm/utils/localization/translations/en-json.js +0 -317
|
@@ -1,3 +1,528 @@
|
|
|
1
|
+
// temporary adding these here to avoid a break on current code, will be removed in the future
|
|
2
|
+
@import "../fonts/roboto.less";
|
|
3
|
+
@import "../fonts/robotomono.less";
|
|
4
|
+
@import "../fonts/notosarabic.less";
|
|
5
|
+
@main-font-family: Roboto, "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
|
|
6
|
+
@arabic-font-family: "Noto Sans Arabic", Roboto, "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
|
|
7
|
+
@driver-font-family: "Roboto Mono", "Segoe UI", Segoe, "Helvetica Neue", Helvetica, sans-serif;
|
|
8
|
+
@rem: 16rem;
|
|
9
|
+
|
|
10
|
+
//**********//
|
|
11
|
+
// Standard //
|
|
12
|
+
//**********//
|
|
13
|
+
|
|
14
|
+
//body-label
|
|
15
|
+
//label-01
|
|
16
|
+
//body-04
|
|
17
|
+
//body-s-400
|
|
18
|
+
@base-font-size: 12;
|
|
19
|
+
@base-line-height: 16;
|
|
20
|
+
@base-letter-spacing: 0.32;
|
|
21
|
+
@base-font-weight: 400;
|
|
22
|
+
@base-font-style: normal;
|
|
23
|
+
|
|
24
|
+
//body-01,
|
|
25
|
+
//body-l-400
|
|
26
|
+
@body-font-size: 16;
|
|
27
|
+
@body-line-height: 24;
|
|
28
|
+
@body-letter-spacing: 0;
|
|
29
|
+
|
|
30
|
+
//body-02-short,
|
|
31
|
+
//body-m-400-short
|
|
32
|
+
@body-short-font-size: 14;
|
|
33
|
+
|
|
34
|
+
//body-02-tall,
|
|
35
|
+
//body-m-400-tall
|
|
36
|
+
@body-tall-font-size: 14;
|
|
37
|
+
@body-tall-line-height: 28;
|
|
38
|
+
|
|
39
|
+
//body-03,
|
|
40
|
+
//body-s-700
|
|
41
|
+
@body-03-weight: 700;
|
|
42
|
+
|
|
43
|
+
//body-05,
|
|
44
|
+
//body-s-400-italic
|
|
45
|
+
@body-05-style: italic;
|
|
46
|
+
|
|
47
|
+
//heading-01
|
|
48
|
+
//heading-xl-300
|
|
49
|
+
@heading-01-font-size: 28;
|
|
50
|
+
@heading-01-font-mobile-size: 20;
|
|
51
|
+
@heading-01-line-height: 36;
|
|
52
|
+
@heading-01-weight: 300;
|
|
53
|
+
|
|
54
|
+
//heading-02
|
|
55
|
+
//heading-l-400
|
|
56
|
+
@heading-02-font-size: 20;
|
|
57
|
+
@heading-02-line-height: 24;
|
|
58
|
+
|
|
59
|
+
//heading-03
|
|
60
|
+
//heading-m-300
|
|
61
|
+
@heading-03-font-size: 20;
|
|
62
|
+
@heading-03-font-mobile-size: 18;
|
|
63
|
+
@heading-03-line-height: 28;
|
|
64
|
+
|
|
65
|
+
//heading-04
|
|
66
|
+
//heading-s-500
|
|
67
|
+
@heading-04-font-size: 16;
|
|
68
|
+
@heading-04-line-height: 24;
|
|
69
|
+
@heading-04-weight: 500;
|
|
70
|
+
|
|
71
|
+
//heading-05
|
|
72
|
+
//heading-xs-500
|
|
73
|
+
@heading-05-font-size: 14;
|
|
74
|
+
@heading-05-letter-spacing: 0.16;
|
|
75
|
+
@heading-05-weight: 500;
|
|
76
|
+
|
|
77
|
+
//heading-06
|
|
78
|
+
@heading-06-letter-spacing: 0;
|
|
79
|
+
@heading-06-text-transformI: uppercase;
|
|
80
|
+
|
|
81
|
+
//data-01
|
|
82
|
+
//data-xxl
|
|
83
|
+
@data-01-font-size: 32;
|
|
84
|
+
@data-01-line-height: 40;
|
|
85
|
+
|
|
86
|
+
//data-02
|
|
87
|
+
//data-xl
|
|
88
|
+
@data-02-font-size: 24;
|
|
89
|
+
@data-02-line-height: 32;
|
|
90
|
+
|
|
91
|
+
//data-03
|
|
92
|
+
//data-l
|
|
93
|
+
@data-03-font-size: 20;
|
|
94
|
+
@data-03-line-height: 24;
|
|
95
|
+
|
|
96
|
+
//data-04
|
|
97
|
+
//data-m
|
|
98
|
+
@data-04-font-size: 18;
|
|
99
|
+
@data-04-line-height: 21;
|
|
100
|
+
|
|
101
|
+
//data-05
|
|
102
|
+
//data-s
|
|
103
|
+
@data-05-font-size: 16;
|
|
104
|
+
@data-05-line-height: 18;
|
|
105
|
+
|
|
106
|
+
//data-06
|
|
107
|
+
//data-xs
|
|
108
|
+
@data-06-font-size: 14;
|
|
109
|
+
@data-06-line-height: 16;
|
|
110
|
+
|
|
111
|
+
//*******//
|
|
112
|
+
// Drive //
|
|
113
|
+
//*******//
|
|
114
|
+
|
|
115
|
+
//label-01-drive
|
|
116
|
+
//label-400-drive
|
|
117
|
+
@drive-base-font-size: 16;
|
|
118
|
+
@drive-base-font-mobile-size: 14;
|
|
119
|
+
@drive-base-line-height: 18;
|
|
120
|
+
@drive-base-letter-spacing: 0.32;
|
|
121
|
+
@drive-base-font-weight: 400;
|
|
122
|
+
@drive-base-font-style: normal;
|
|
123
|
+
|
|
124
|
+
//body-01-drive
|
|
125
|
+
//body-l-400-drive
|
|
126
|
+
@body-01-drive-font-size: 20;
|
|
127
|
+
@body-01-drive-font-mobile-size: 18;
|
|
128
|
+
@body-01-drive-line-height: 30;
|
|
129
|
+
@body-01-drive-line-height-mobile: 28;
|
|
130
|
+
@body-01-drive-letter-spacing: 0;
|
|
131
|
+
|
|
132
|
+
//body-02-short-drive
|
|
133
|
+
//body-m-400-short-drive
|
|
134
|
+
@body-02-short-drive-font-size: 18;
|
|
135
|
+
@body-02-short-drive-font-mobile-size: 16;
|
|
136
|
+
@body-02-short-drive-line-height: 22;
|
|
137
|
+
@body-02-short-drive-line-height-mobile: 20;
|
|
138
|
+
|
|
139
|
+
//body-02-tall-drive
|
|
140
|
+
//body-m-400-tall-drive
|
|
141
|
+
@body-02-tall-drive-font-size: 18;
|
|
142
|
+
@body-02-tall-drive-font-mobile-size: 16;
|
|
143
|
+
@body-02-tall-drive-line-height: 28;
|
|
144
|
+
@body-02-tall-drive-line-height-mobile: 26;
|
|
145
|
+
|
|
146
|
+
//body-03-drive,
|
|
147
|
+
//body-s-700-drive
|
|
148
|
+
@body-03-drive-line-height: 22;
|
|
149
|
+
@body-03-drive-weight: 700;
|
|
150
|
+
|
|
151
|
+
//body-04-drive,
|
|
152
|
+
//body-s-400-drive
|
|
153
|
+
@body-04-drive-line-height: 22;
|
|
154
|
+
@body-04-drive-line-height-mobile: 20;
|
|
155
|
+
|
|
156
|
+
//body-05-drive
|
|
157
|
+
//body-s-400-italic-drive
|
|
158
|
+
@body-05-drive-line-height: 20;
|
|
159
|
+
@body-05-drive-style: italic;
|
|
160
|
+
|
|
161
|
+
//heading-01-drive
|
|
162
|
+
//heading-xl-300-drive
|
|
163
|
+
@heading-01-drive-font-size: 26;
|
|
164
|
+
@heading-01-drive-font-mobile-size: 24;
|
|
165
|
+
@heading-01-drive-line-height: 34;
|
|
166
|
+
@heading-01-drive-line-height-mobile: 32;
|
|
167
|
+
@heading-01-drive-weight: 300;
|
|
168
|
+
|
|
169
|
+
//heading-02-drive
|
|
170
|
+
//heading-l-400-drive
|
|
171
|
+
@heading-02-drive-font-size: 24;
|
|
172
|
+
@heading-02-drive-font-mobile-size: 22;
|
|
173
|
+
@heading-02-drive-line-height: 30;
|
|
174
|
+
@heading-02-drive-line-height-mobile: 28;
|
|
175
|
+
|
|
176
|
+
//heading-03-drive
|
|
177
|
+
//heading-m-300-drive
|
|
178
|
+
@heading-03-drive-font-size: 20;
|
|
179
|
+
@heading-03-drive-font-mobile-size: 18;
|
|
180
|
+
@heading-03-drive-line-height: 26;
|
|
181
|
+
@heading-03-drive-mobile-line-height: 24;
|
|
182
|
+
|
|
183
|
+
//heading-04-drive
|
|
184
|
+
//heading-m-500-drive
|
|
185
|
+
@heading-04-drive-font-size: 20;
|
|
186
|
+
@heading-04-drive-font-mobile-size: 18;
|
|
187
|
+
@heading-04-drive-line-height: 28;
|
|
188
|
+
@heading-04-drive-mobile-line-height: 26;
|
|
189
|
+
@heading-04-drive-weight: 500;
|
|
190
|
+
|
|
191
|
+
//heading-05-drive
|
|
192
|
+
//heading-s-500-drive
|
|
193
|
+
@heading-05-drive-font-size: 18;
|
|
194
|
+
@heading-05-drive-font-mobile-size: 16;
|
|
195
|
+
@heading-05-drive-line-height: 22;
|
|
196
|
+
@heading-05-drive-mobile-line-height: 20;
|
|
197
|
+
@heading-05-drive-letter-spacing: 0.16;
|
|
198
|
+
|
|
199
|
+
//heading-06-drive
|
|
200
|
+
@heading-06-drive-font-size: 14;
|
|
201
|
+
@heading-06-drive-letter-spacing: 0;
|
|
202
|
+
|
|
203
|
+
//heading-07-drive
|
|
204
|
+
//heading-s-300-drive
|
|
205
|
+
@heading-07-drive-font-size: 18;
|
|
206
|
+
@heading-07-drive-font-mobile-size: 16;
|
|
207
|
+
@heading-07-drive-line-height: 20;
|
|
208
|
+
@heading-07-drive-mobile-line-height: 18;
|
|
209
|
+
|
|
210
|
+
//data-01-drive
|
|
211
|
+
//data-xl-drive
|
|
212
|
+
@data-01-drive-font-size: 34;
|
|
213
|
+
@data-01-drive-mobile-size: 32;
|
|
214
|
+
@data-01-drive-line-height: 42;
|
|
215
|
+
@data-01-drive-mobile-line-height: 40;
|
|
216
|
+
|
|
217
|
+
//data-02-drive
|
|
218
|
+
//data-l-drive
|
|
219
|
+
@data-02-drive-font-size: 22;
|
|
220
|
+
@data-02-drive-mobile-size: 20;
|
|
221
|
+
@data-02-drive-line-height: 26;
|
|
222
|
+
@data-02-drive-mobile-line-height: 24;
|
|
223
|
+
|
|
224
|
+
//data-03-drive
|
|
225
|
+
//data-m-drive
|
|
226
|
+
@data-03-drive-font-size: 20;
|
|
227
|
+
@data-03-drive-mobile-size: 16;
|
|
228
|
+
@data-03-drive-line-height: 22;
|
|
229
|
+
@data-03-drive-mobile-line-height: 21;
|
|
230
|
+
|
|
231
|
+
//data-04-drive
|
|
232
|
+
//data-s-drive
|
|
233
|
+
@data-04-drive-font-size: 18;
|
|
234
|
+
@data-04-drive-mobile-size: 16;
|
|
235
|
+
@data-04-drive-line-height: 26;
|
|
236
|
+
@data-04-drive-mobile-line-height: 24;
|
|
237
|
+
|
|
238
|
+
//*************************************************************//
|
|
239
|
+
// Do not add raw values here, use the variables above instead //
|
|
240
|
+
//*************************************************************//
|
|
241
|
+
|
|
242
|
+
.zen-font(@font,
|
|
243
|
+
@size: @base-font-size,
|
|
244
|
+
@line-height: @base-line-height,
|
|
245
|
+
@letter-spacing: @base-letter-spacing,
|
|
246
|
+
@weight: @base-font-weight,
|
|
247
|
+
@style: @base-font-style,
|
|
248
|
+
@text-transform: none,
|
|
249
|
+
) {
|
|
250
|
+
font-family: @font;
|
|
251
|
+
font-size: (@size / @rem);
|
|
252
|
+
font-style: @style;
|
|
253
|
+
font-weight: @weight;
|
|
254
|
+
letter-spacing: (@letter-spacing / @rem);
|
|
255
|
+
line-height: (@line-height / @rem);
|
|
256
|
+
text-transform: @text-transform;
|
|
257
|
+
text-decoration: none;
|
|
258
|
+
|
|
259
|
+
html:lang(ar) & {
|
|
260
|
+
font-family: @arabic-font-family;
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.zen-drive-font(@font,
|
|
265
|
+
@size: @drive-base-font-size,
|
|
266
|
+
@line-height: @drive-base-line-height,
|
|
267
|
+
@letter-spacing: @drive-base-letter-spacing,
|
|
268
|
+
@weight: @drive-base-font-weight,
|
|
269
|
+
@style: @drive-base-font-style,
|
|
270
|
+
@text-transform: none,
|
|
271
|
+
) {
|
|
272
|
+
font-family: @font;
|
|
273
|
+
font-size: (@size / @rem);
|
|
274
|
+
font-style: @style;
|
|
275
|
+
font-weight: @weight;
|
|
276
|
+
letter-spacing: (@letter-spacing / @rem);
|
|
277
|
+
line-height: (@line-height / @rem);
|
|
278
|
+
text-transform: @text-transform;
|
|
279
|
+
text-decoration: none;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// Standard
|
|
283
|
+
|
|
284
|
+
// Labels
|
|
285
|
+
.zen-body-label-400,
|
|
286
|
+
.zen-body-s-400 {
|
|
287
|
+
.zen-font(@main-font-family);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
// Body
|
|
291
|
+
.zen-body-l-400 {
|
|
292
|
+
.zen-font(@main-font-family, @body-font-size, @body-line-height, @body-letter-spacing);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.zen-body-m-400-short {
|
|
296
|
+
.zen-font(@main-font-family, @body-short-font-size, @base-line-height, @body-letter-spacing);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.zen-body-m-400-tall {
|
|
300
|
+
.zen-font(@main-font-family, @body-tall-font-size, @body-tall-line-height, @body-letter-spacing);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.zen-body-s-700 {
|
|
304
|
+
.zen-font(@main-font-family, @weight: @body-03-weight);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
.zen-body-s-400-italic {
|
|
308
|
+
.zen-font(@main-font-family, @style: @body-05-style);
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
// Headings
|
|
312
|
+
.zen-heading-xl-300 {
|
|
313
|
+
.zen-font(@main-font-family, @heading-01-font-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
.zen-heading-l-400 {
|
|
317
|
+
.zen-font(@main-font-family, @heading-02-font-size, @heading-02-line-height);
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.zen-heading-m-300 {
|
|
321
|
+
.zen-font(@main-font-family, @heading-03-font-size, @heading-03-line-height, @weight: @heading-01-weight);
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.zen-heading-s-500 {
|
|
325
|
+
.zen-font(@main-font-family, @heading-04-font-size, @heading-04-line-height, @weight: @heading-04-weight);
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.zen-heading-xs-500 {
|
|
329
|
+
.zen-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @heading-05-weight);
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.zen-heading-06 {
|
|
333
|
+
.zen-font(@main-font-family, @body-tall-font-size, @body-line-height, @heading-06-letter-spacing, @heading-05-weight, @text-transform: @heading-06-text-transformI);
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.zen-heading-xs-300 {
|
|
337
|
+
.zen-font(@main-font-family, @heading-05-font-size, @base-line-height, @heading-05-letter-spacing, @weight: @heading-01-weight);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
// Data
|
|
341
|
+
.zen-data-xxl {
|
|
342
|
+
.zen-font(@main-font-family, @data-01-font-size, @data-01-line-height);
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.zen-data-xl {
|
|
346
|
+
.zen-font(@main-font-family, @data-02-font-size, @data-02-line-height);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.zen-data-l {
|
|
350
|
+
.zen-font(@main-font-family, @data-03-font-size, @data-03-line-height);
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.zen-data-m {
|
|
354
|
+
.zen-font(@main-font-family, @data-04-font-size, @data-04-line-height);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
.zen-data-s {
|
|
358
|
+
.zen-font(@main-font-family, @data-05-font-size, @data-05-line-height);
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.zen-data-xs {
|
|
362
|
+
.zen-font(@main-font-family, @data-06-font-size, @data-06-line-height);
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
// Drive
|
|
366
|
+
|
|
367
|
+
// Labels Drive
|
|
368
|
+
.zen-label-400-drive {
|
|
369
|
+
.zen-drive-font(@driver-font-family);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
// Body Drive
|
|
373
|
+
.zen-body-l-400-drive {
|
|
374
|
+
.zen-drive-font(@driver-font-family, @body-01-drive-font-size, @body-01-drive-line-height, @body-01-drive-letter-spacing);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
.zen-body-m-400-short-drive {
|
|
378
|
+
.zen-drive-font(@driver-font-family, @body-02-short-drive-font-size, @body-02-short-drive-line-height);
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
.zen-body-m-400-tall-drive {
|
|
382
|
+
.zen-drive-font(@driver-font-family, @body-02-tall-drive-font-size, @body-02-tall-drive-line-height);
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
.zen-body-s-700-drive {
|
|
386
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.zen-body-s-400-drive {
|
|
390
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-04-drive-line-height);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.zen-body-s-400-italic-drive {
|
|
394
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
// Headings Drive
|
|
398
|
+
.zen-heading-xl-300-drive {
|
|
399
|
+
.zen-drive-font(@driver-font-family, @heading-01-drive-font-size, @heading-01-drive-line-height, @weight: @heading-01-drive-weight);
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.zen-heading-l-400-drive {
|
|
403
|
+
.zen-drive-font(@driver-font-family, @heading-02-drive-font-size, @heading-02-drive-line-height);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.zen-heading-m-300-drive {
|
|
407
|
+
.zen-drive-font(@driver-font-family, @heading-03-drive-font-size, @heading-03-drive-line-height, @weight: @heading-01-drive-weight);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.zen-heading-m-500-drive {
|
|
411
|
+
.zen-drive-font(@driver-font-family, @heading-04-drive-font-size, @heading-04-drive-line-height, @weight: @heading-04-drive-weight);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.zen-heading-s-500-drive {
|
|
415
|
+
.zen-drive-font(@driver-font-family, @heading-05-drive-font-size, @heading-05-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.zen-heading-06-drive {
|
|
419
|
+
.zen-drive-font(@driver-font-family, @heading-06-drive-font-size, @body-line-height, @heading-06-drive-letter-spacing, @weight: @heading-04-drive-weight, @text-transform: @heading-06-text-transformI);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
.zen-heading-s-300-drive {
|
|
423
|
+
.zen-drive-font(@driver-font-family, @heading-07-drive-font-size, @heading-07-drive-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
// Data Drive
|
|
427
|
+
.zen-data-xl-drive {
|
|
428
|
+
.zen-drive-font(@driver-font-family, @data-01-drive-font-size, @data-01-drive-line-height);
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.zen-data-l-drive {
|
|
432
|
+
.zen-drive-font(@driver-font-family, @data-02-drive-font-size, @data-02-drive-line-height);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
.zen-data-m-drive {
|
|
436
|
+
.zen-drive-font(@driver-font-family, @data-03-drive-font-size, @data-03-drive-line-height);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.zen-data-s-drive {
|
|
440
|
+
.zen-drive-font(@driver-font-family, @data-04-drive-font-size, @data-04-drive-line-height);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// Responsive overrides (mobile — max-width: 640px)
|
|
444
|
+
@media (max-width: 640px) {
|
|
445
|
+
// Standard
|
|
446
|
+
.zen-heading-xl-300 {
|
|
447
|
+
.zen-font(@main-font-family, @heading-01-font-mobile-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.zen-heading-m-300 {
|
|
451
|
+
.zen-font(@main-font-family, @heading-03-font-mobile-size, @heading-03-line-height, @weight: @heading-01-weight);
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
// Drive
|
|
455
|
+
.zen-label-400-drive {
|
|
456
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.zen-body-l-400-drive {
|
|
460
|
+
.zen-drive-font(@driver-font-family, @body-01-drive-font-mobile-size, @body-01-drive-line-height-mobile, @body-01-drive-letter-spacing);
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.zen-body-m-400-short-drive {
|
|
464
|
+
.zen-drive-font(@driver-font-family, @body-02-short-drive-font-mobile-size, @body-02-short-drive-line-height-mobile);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.zen-body-m-400-tall-drive {
|
|
468
|
+
.zen-drive-font(@driver-font-family, @body-02-tall-drive-font-mobile-size, @body-02-tall-drive-line-height-mobile);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.zen-body-s-700-drive {
|
|
472
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.zen-body-s-400-drive {
|
|
476
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-04-drive-line-height-mobile);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
.zen-body-s-400-italic-drive {
|
|
480
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.zen-heading-xl-300-drive {
|
|
484
|
+
.zen-drive-font(@driver-font-family, @heading-01-drive-font-mobile-size, @heading-01-drive-line-height-mobile, @weight: @heading-01-drive-weight);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.zen-heading-l-400-drive {
|
|
488
|
+
.zen-drive-font(@driver-font-family, @heading-02-drive-font-mobile-size, @heading-02-drive-line-height-mobile);
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.zen-heading-m-300-drive {
|
|
492
|
+
.zen-drive-font(@driver-font-family, @heading-03-drive-font-mobile-size, @heading-03-drive-mobile-line-height, @weight: @heading-01-drive-weight);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.zen-heading-m-500-drive {
|
|
496
|
+
.zen-drive-font(@driver-font-family, @heading-04-drive-font-mobile-size, @heading-04-drive-mobile-line-height, @weight: @heading-04-drive-weight);
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.zen-heading-s-500-drive {
|
|
500
|
+
.zen-drive-font(@driver-font-family, @heading-05-drive-font-mobile-size, @heading-05-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-04-drive-weight);
|
|
501
|
+
}
|
|
502
|
+
|
|
503
|
+
.zen-heading-s-300-drive {
|
|
504
|
+
.zen-drive-font(@driver-font-family, @heading-07-drive-font-mobile-size, @heading-07-drive-mobile-line-height, @heading-05-drive-letter-spacing, @weight: @heading-01-drive-weight);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.zen-data-xl-drive {
|
|
508
|
+
.zen-drive-font(@driver-font-family, @data-01-drive-mobile-size, @data-01-drive-mobile-line-height);
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.zen-data-l-drive {
|
|
512
|
+
.zen-drive-font(@driver-font-family, @data-02-drive-mobile-size, @data-02-drive-mobile-line-height);
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
.zen-data-m-drive {
|
|
516
|
+
.zen-drive-font(@driver-font-family, @data-03-drive-mobile-size, @data-03-drive-mobile-line-height);
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
.zen-data-s-drive {
|
|
520
|
+
.zen-drive-font(@driver-font-family, @data-04-drive-mobile-size, @data-04-drive-mobile-line-height);
|
|
521
|
+
}
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
// Depricated //
|
|
525
|
+
|
|
1
526
|
.font(
|
|
2
527
|
@font: Roboto,
|
|
3
528
|
@size,
|
|
@@ -6,6 +531,7 @@
|
|
|
6
531
|
@weight: 400,
|
|
7
532
|
@style: normal,
|
|
8
533
|
@text-transform: none,
|
|
534
|
+
@arabic-font: var(--arabic-font-family)
|
|
9
535
|
) {
|
|
10
536
|
font-family: @font;
|
|
11
537
|
font-size: @size;
|
|
@@ -17,7 +543,7 @@
|
|
|
17
543
|
text-decoration: none;
|
|
18
544
|
|
|
19
545
|
html:lang(ar) & {
|
|
20
|
-
font-family:
|
|
546
|
+
font-family: @arabic-font;
|
|
21
547
|
}
|
|
22
548
|
}
|
|
23
549
|
|
|
@@ -344,95 +870,95 @@
|
|
|
344
870
|
// Data
|
|
345
871
|
.data-01,
|
|
346
872
|
.data-xxl {
|
|
347
|
-
.font(var(--main-font-data), 32px, @line-height: 40px);
|
|
873
|
+
.font(var(--main-font-data), 32px, @line-height: 40px, @arabic-font: var(--main-font-data));
|
|
348
874
|
}
|
|
349
875
|
|
|
350
876
|
.data-02,
|
|
351
877
|
.data-xl {
|
|
352
|
-
.font(var(--main-font-data), 24px, 32px);
|
|
878
|
+
.font(var(--main-font-data), 24px, 32px, @arabic-font: var(--main-font-data));
|
|
353
879
|
}
|
|
354
880
|
|
|
355
881
|
.data-03,
|
|
356
882
|
.data-l {
|
|
357
|
-
.font(var(--main-font-data), 20px, 24px);
|
|
883
|
+
.font(var(--main-font-data), 20px, 24px, @arabic-font: var(--main-font-data));
|
|
358
884
|
}
|
|
359
885
|
|
|
360
886
|
.data-04,
|
|
361
887
|
.data-m {
|
|
362
|
-
.font(var(--main-font-data), 18px, 21px);
|
|
888
|
+
.font(var(--main-font-data), 18px, 21px, @arabic-font: var(--main-font-data));
|
|
363
889
|
}
|
|
364
890
|
|
|
365
891
|
.data-05,
|
|
366
892
|
.data-s {
|
|
367
|
-
.font(var(--main-font-data), 16px, 18px);
|
|
893
|
+
.font(var(--main-font-data), 16px, 18px, @arabic-font: var(--main-font-data));
|
|
368
894
|
}
|
|
369
895
|
|
|
370
896
|
.data-06,
|
|
371
897
|
.data-xs {
|
|
372
|
-
.font(var(--main-font-data), 14px, 16px);
|
|
898
|
+
.font(var(--main-font-data), 14px, 16px, @arabic-font: var(--main-font-data));
|
|
373
899
|
}
|
|
374
900
|
|
|
375
901
|
// Data Drive
|
|
376
902
|
.data-01-tablet-drive,
|
|
377
903
|
.tablet-data-xl-drive {
|
|
378
|
-
.font(var(--data-font-drive), 34px, 42px);
|
|
904
|
+
.font(var(--data-font-drive), 34px, 42px, @arabic-font: var(--data-font-drive));
|
|
379
905
|
}
|
|
380
906
|
|
|
381
907
|
.data-01-mobile-drive,
|
|
382
908
|
.mobile-data-xl-drive {
|
|
383
|
-
.font(var(--data-font-drive), 32px, 40px);
|
|
909
|
+
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
384
910
|
}
|
|
385
911
|
|
|
386
912
|
@media (max-width: 640px) {
|
|
387
913
|
.tablet-data-xl-drive {
|
|
388
|
-
.font(var(--data-font-drive), 32px, 40px);
|
|
914
|
+
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
389
915
|
}
|
|
390
916
|
}
|
|
391
917
|
|
|
392
918
|
.data-02-tablet-drive,
|
|
393
919
|
.tablet-data-l-drive {
|
|
394
|
-
.font(var(--data-font-drive), 22px, 26px);
|
|
920
|
+
.font(var(--data-font-drive), 22px, 26px, @arabic-font: var(--data-font-drive));
|
|
395
921
|
}
|
|
396
922
|
|
|
397
923
|
.data-02-mobile-drive,
|
|
398
924
|
.mobile-data-l-drive {
|
|
399
|
-
.font(var(--data-font-drive), 20px, 24px);
|
|
925
|
+
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
400
926
|
}
|
|
401
927
|
|
|
402
928
|
@media (max-width: 640px) {
|
|
403
929
|
.tablet-data-l-drive {
|
|
404
|
-
.font(var(--data-font-drive), 20px, 24px);
|
|
930
|
+
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
405
931
|
}
|
|
406
932
|
}
|
|
407
933
|
|
|
408
934
|
.data-03-tablet-drive,
|
|
409
935
|
.tablet-data-m-drive {
|
|
410
|
-
.font(var(--data-font-drive), 20px, 22px);
|
|
936
|
+
.font(var(--data-font-drive), 20px, 22px, @arabic-font: var(--data-font-drive));
|
|
411
937
|
}
|
|
412
938
|
|
|
413
939
|
.data-03-mobile-drive,
|
|
414
940
|
.mobile-data-m-drive {
|
|
415
|
-
.font(var(--data-font-drive), 16px, 21px);
|
|
941
|
+
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
416
942
|
}
|
|
417
943
|
|
|
418
944
|
@media (max-width: 640px) {
|
|
419
945
|
.tablet-data-m-drive {
|
|
420
|
-
.font(var(--data-font-drive), 16px, 21px);
|
|
946
|
+
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
421
947
|
}
|
|
422
948
|
}
|
|
423
949
|
|
|
424
950
|
.data-04-tablet-drive,
|
|
425
951
|
.tablet-data-s-drive {
|
|
426
|
-
.font(var(--data-font-drive), 18px, 26px);
|
|
952
|
+
.font(var(--data-font-drive), 18px, 26px, @arabic-font: var(--data-font-drive));
|
|
427
953
|
}
|
|
428
954
|
|
|
429
955
|
.data-04-mobile-drive,
|
|
430
956
|
.mobile-data-s-drive {
|
|
431
|
-
.font(var(--data-font-drive), 16px, 24px);
|
|
957
|
+
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
432
958
|
}
|
|
433
959
|
|
|
434
960
|
@media (max-width: 640px) {
|
|
435
961
|
.tablet-data-s-drive {
|
|
436
|
-
.font(var(--data-font-drive), 16px, 24px);
|
|
962
|
+
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
437
963
|
}
|
|
438
964
|
}
|
|
@@ -9,6 +9,7 @@ import { TAlignment as TAlignmentAbsolute } from "../absolute/absolute";
|
|
|
9
9
|
export type TAlignment = "top" | "top-left" | "top-right" | "left" | "left-top" | "left-bottom" | "right" | "right-top" | "right-bottom" | "bottom" | "bottom-left" | "bottom-right";
|
|
10
10
|
export interface IControlledPopup extends IZenComponentProps {
|
|
11
11
|
triggerRef: RefObject<HTMLElement | null>;
|
|
12
|
+
/** Alignment of the popup relative to its trigger. Defaults to `"bottom-left"` (flips to `"bottom-right"` in RTL). */
|
|
12
13
|
alignment?: TAlignmentAbsolute;
|
|
13
14
|
id?: string;
|
|
14
15
|
className?: string;
|