@geotab/zenith 3.10.0 → 3.11.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +29 -0
- package/dist/calendar/calendar.js +7 -4
- package/dist/card/components/title.js +4 -1
- package/dist/card/components/titleLink.js +5 -2
- package/dist/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/dist/chart/barChart/getDefaultOptions.js +5 -2
- package/dist/chart/barChart.js +6 -4
- package/dist/chart/lineChart/getDefaultOptions.d.ts +2 -1
- package/dist/chart/lineChart/getDefaultOptions.js +5 -2
- package/dist/chart/lineChart.js +4 -2
- package/dist/checkboxListWithAction/checkboxListWithAction.js +4 -1
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/dist/commonStyles/pillStyles/pillContent.less +13 -14
- package/dist/commonStyles/pillStyles/pillStyles.less +4 -5
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/typography/typography.less +579 -19
- package/dist/controlledPopup/controlledPopup.d.ts +1 -0
- package/dist/controlledPopup/controlledPopup.js +3 -1
- package/dist/dataGrid/cell/cell.d.ts +2 -1
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/dataGrid.js +7 -4
- package/dist/dataGrid/listColumn.d.ts +2 -0
- package/dist/dataGrid/row/row.d.ts +2 -1
- package/dist/dataGrid/row/row.js +13 -9
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +2 -1
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/dist/dateRangeInner/dateRangeInner.js +5 -2
- package/dist/dateRangeRaw/dateRangeRaw.js +5 -2
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +12 -6
- package/dist/fileUpload/components/dropZoneContent.js +100 -100
- package/dist/fileUpload/fileUpload.js +100 -100
- package/dist/filters/components/filtersSearchList.js +4 -1
- package/dist/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/dist/formStepperButtons/formStepperButtons.js +4 -1
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +4 -1
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +4 -1
- package/dist/header/headerBack.js +4 -1
- package/dist/icons/iconAlignLeft.js +1 -3
- package/dist/icons/iconAlignmentLeft.js +1 -3
- package/dist/icons/iconAlignmentRight.js +1 -3
- package/dist/icons/iconArrowBottomLeft.js +1 -3
- package/dist/icons/iconArrowBottomRight.js +1 -3
- package/dist/icons/iconArrowLeftPath.js +1 -3
- package/dist/icons/iconArrowRight.js +1 -3
- package/dist/icons/iconArrowRightCircle.js +1 -3
- package/dist/icons/iconArrowRightPath.js +1 -3
- package/dist/icons/iconArrowTopLeft.js +1 -3
- package/dist/icons/iconArrowTopRight.js +1 -3
- package/dist/icons/iconChevronDoubleRight.js +1 -3
- package/dist/icons/iconChevronRight.js +1 -3
- package/dist/icons/iconChevronRightSmall.js +1 -3
- package/dist/icons/iconCornerDownLeft.js +1 -3
- package/dist/icons/iconCornerDownRight.js +1 -3
- package/dist/icons/iconCornerLeftDown.js +1 -3
- package/dist/icons/iconCornerLeftUp.js +1 -3
- package/dist/icons/iconCornerRightDown.js +1 -3
- package/dist/icons/iconCornerRightUp.js +1 -3
- package/dist/icons/iconCornerUpLeft.js +1 -3
- package/dist/icons/iconCornerUpRight.js +1 -3
- package/dist/index.css +3254 -2922
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/dist/lineChartMini/lineChartMini.js +15 -3
- package/dist/list/itemData/itemDataInternal.js +4 -1
- package/dist/list/listItem/listItem.js +4 -1
- package/dist/menu/components/controlledMenuList/controlledMenuList.d.ts +27 -0
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +126 -0
- package/dist/menu/components/createControlledMenuList.d.ts +37 -0
- package/dist/menu/components/createControlledMenuList.js +55 -0
- package/dist/menu/components/createMenuItem.d.ts +67 -0
- package/dist/menu/components/createMenuItem.js +97 -0
- package/dist/menu/components/menuButton.js +12 -3
- package/dist/menu/components/menuItem.d.ts +1 -2
- package/dist/menu/components/menuItem.js +20 -74
- package/dist/menu/contexts/usePathContext.d.ts +2 -0
- package/dist/menu/contexts/usePathContext.js +9 -0
- package/dist/menu/controlledMenu.js +8 -175
- package/dist/menu/utils/buildMenuContent.d.ts +2 -0
- package/dist/menu/utils/buildMenuContent.js +38 -0
- package/dist/menu/utils/findContent.d.ts +2 -2
- package/dist/menu/utils/findContent.js +4 -3
- package/dist/menu/utils/getItemLabel.d.ts +2 -0
- package/dist/menu/utils/getItemLabel.js +8 -0
- package/dist/menu/utils/getSafeRel.d.ts +1 -0
- package/dist/menu/utils/getSafeRel.js +14 -0
- package/dist/menu/utils/isMenuItem.d.ts +2 -0
- package/dist/menu/utils/isMenuItem.js +13 -0
- package/dist/menu/utils/isSafeHref.d.ts +1 -0
- package/dist/menu/utils/isSafeHref.js +10 -0
- package/dist/menu/utils/normalizeSeparators.d.ts +2 -0
- package/dist/menu/utils/normalizeSeparators.js +23 -0
- package/dist/menu/utils/resolveKeys.d.ts +12 -0
- package/dist/menu/utils/resolveKeys.js +22 -0
- package/dist/menu/utils/useLastValidSheet.d.ts +7 -0
- package/dist/menu/utils/useLastValidSheet.js +30 -0
- package/dist/menu/utils/useMenuItemCore.d.ts +31 -0
- package/dist/menu/utils/useMenuItemCore.js +54 -0
- package/dist/menu/utils/useMenuItemKeyboardNav.d.ts +2 -0
- package/dist/menu/utils/useMenuItemKeyboardNav.js +15 -0
- package/dist/menu/utils/useMenuListKeyboardNav.d.ts +12 -0
- package/dist/menu/utils/useMenuListKeyboardNav.js +77 -0
- package/dist/menu/utils/useMenuPath.d.ts +6 -0
- package/dist/menu/utils/useMenuPath.js +35 -0
- package/dist/nav/navItem/navItem.js +10 -5
- package/dist/nav/navSection/navSection.js +7 -5
- package/dist/pagination/paginationArrow.js +10 -3
- package/dist/radioGroupRaw/radioGroupRaw.js +2 -1
- package/dist/rangeRaw/rangeRaw.js +0 -1
- package/dist/selectList/selectList.helpers.d.ts +1 -1
- package/dist/selectList/selectList.helpers.js +29 -4
- package/dist/selectList/selectList.js +3 -1
- package/dist/selectList/selectList.reducer.js +1 -2
- package/dist/selectList/selectListItem.js +4 -1
- package/dist/sortControl/sortControl.js +59 -4
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/flexible/columnsList.js +4 -2
- package/dist/table/selectable/useSelectableRows.d.ts +8 -0
- package/dist/table/selectable/useSelectableRows.js +14 -6
- package/dist/table/table.js +1 -7
- package/dist/tabs/tabs.js +60 -58
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +5 -2
- package/dist/utils/localization/translations/ar.json +3 -1
- package/dist/utils/localization/translations/cs.json +9 -5
- package/dist/utils/localization/translations/da-DK.json +9 -5
- package/dist/utils/localization/translations/de.json +9 -5
- package/dist/utils/localization/translations/en.json +5 -1
- package/dist/utils/localization/translations/es.json +9 -5
- package/dist/utils/localization/translations/fi-FI.json +9 -5
- package/dist/utils/localization/translations/fr-FR.json +9 -5
- package/dist/utils/localization/translations/fr.json +9 -5
- package/dist/utils/localization/translations/hu-HU.json +9 -5
- package/dist/utils/localization/translations/id.json +9 -5
- package/dist/utils/localization/translations/it.json +9 -5
- package/dist/utils/localization/translations/ja.json +9 -5
- package/dist/utils/localization/translations/ko-KR.json +9 -5
- package/dist/utils/localization/translations/ms.json +9 -5
- package/dist/utils/localization/translations/nb-NO.json +9 -5
- package/dist/utils/localization/translations/nl.json +9 -5
- package/dist/utils/localization/translations/pl.json +9 -5
- package/dist/utils/localization/translations/pt-BR.json +9 -5
- package/dist/utils/localization/translations/pt-PT.json +9 -5
- package/dist/utils/localization/translations/ro-RO.json +9 -5
- package/dist/utils/localization/translations/sk-SK.json +9 -5
- package/dist/utils/localization/translations/sv.json +9 -5
- package/dist/utils/localization/translations/th.json +9 -5
- package/dist/utils/localization/translations/tr.json +9 -5
- package/dist/utils/localization/translations/zh-Hans.json +9 -5
- package/dist/utils/localization/translations/zh-TW.json +9 -5
- package/dist/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/dist/utils/localization/useDirectionalIcon.js +9 -0
- package/dist/utils/positioningUtils/alignments.d.ts +2 -2
- package/dist/utils/positioningUtils/alignments.js +2 -2
- package/dist/utils/positioningUtils/calculatePosition.js +4 -6
- package/esm/calendar/calendar.js +7 -4
- package/esm/card/components/title.js +4 -1
- package/esm/card/components/titleLink.js +5 -2
- package/esm/chart/barChart/getDefaultOptions.d.ts +2 -1
- package/esm/chart/barChart/getDefaultOptions.js +5 -2
- package/esm/chart/barChart.js +6 -4
- package/esm/chart/lineChart/getDefaultOptions.d.ts +2 -1
- package/esm/chart/lineChart/getDefaultOptions.js +5 -2
- package/esm/chart/lineChart.js +4 -2
- package/esm/checkboxListWithAction/checkboxListWithAction.js +4 -1
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +4 -1
- package/esm/controlledPopup/controlledPopup.d.ts +1 -0
- package/esm/controlledPopup/controlledPopup.js +3 -1
- package/esm/dataGrid/cell/cell.d.ts +2 -1
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/dataGrid.js +7 -4
- package/esm/dataGrid/listColumn.d.ts +2 -0
- package/esm/dataGrid/row/row.d.ts +2 -1
- package/esm/dataGrid/row/row.js +13 -9
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +2 -1
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +4 -0
- package/esm/dateRangeInner/dateRangeInner.js +5 -2
- package/esm/dateRangeRaw/dateRangeRaw.js +5 -2
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +12 -6
- package/esm/fileUpload/components/dropZoneContent.js +100 -100
- package/esm/fileUpload/fileUpload.js +100 -100
- package/esm/filters/components/filtersSearchList.js +4 -1
- package/esm/filtersBar/filtersContainer/filtersContainer.js +62 -61
- package/esm/formStepperButtons/formStepperButtons.js +4 -1
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +4 -1
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +4 -1
- package/esm/header/headerBack.js +4 -1
- package/esm/icons/iconAlignLeft.js +1 -3
- package/esm/icons/iconAlignmentLeft.js +1 -3
- package/esm/icons/iconAlignmentRight.js +1 -3
- package/esm/icons/iconArrowBottomLeft.js +1 -3
- package/esm/icons/iconArrowBottomRight.js +1 -3
- package/esm/icons/iconArrowLeftPath.js +1 -3
- package/esm/icons/iconArrowRight.js +1 -3
- package/esm/icons/iconArrowRightCircle.js +1 -3
- package/esm/icons/iconArrowRightPath.js +1 -3
- package/esm/icons/iconArrowTopLeft.js +1 -3
- package/esm/icons/iconArrowTopRight.js +1 -3
- package/esm/icons/iconChevronDoubleRight.js +1 -3
- package/esm/icons/iconChevronRight.js +1 -3
- package/esm/icons/iconChevronRightSmall.js +1 -3
- package/esm/icons/iconCornerDownLeft.js +1 -3
- package/esm/icons/iconCornerDownRight.js +1 -3
- package/esm/icons/iconCornerLeftDown.js +1 -3
- package/esm/icons/iconCornerLeftUp.js +1 -3
- package/esm/icons/iconCornerRightDown.js +1 -3
- package/esm/icons/iconCornerRightUp.js +1 -3
- package/esm/icons/iconCornerUpLeft.js +1 -3
- package/esm/icons/iconCornerUpRight.js +1 -3
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/lineChartMini/lineChartMini.js +15 -3
- package/esm/list/itemData/itemDataInternal.js +4 -1
- package/esm/list/listItem/listItem.js +4 -1
- package/esm/menu/components/controlledMenuList/controlledMenuList.d.ts +27 -0
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +123 -0
- package/esm/menu/components/createControlledMenuList.d.ts +37 -0
- package/esm/menu/components/createControlledMenuList.js +51 -0
- package/esm/menu/components/createMenuItem.d.ts +67 -0
- package/esm/menu/components/createMenuItem.js +93 -0
- package/esm/menu/components/menuButton.js +12 -3
- package/esm/menu/components/menuItem.d.ts +1 -2
- package/esm/menu/components/menuItem.js +20 -74
- package/esm/menu/contexts/usePathContext.d.ts +2 -0
- package/esm/menu/contexts/usePathContext.js +5 -0
- package/esm/menu/controlledMenu.js +10 -177
- package/esm/menu/utils/buildMenuContent.d.ts +2 -0
- package/esm/menu/utils/buildMenuContent.js +34 -0
- package/esm/menu/utils/findContent.d.ts +2 -2
- package/esm/menu/utils/findContent.js +4 -3
- package/esm/menu/utils/getItemLabel.d.ts +2 -0
- package/esm/menu/utils/getItemLabel.js +4 -0
- package/esm/menu/utils/getSafeRel.d.ts +1 -0
- package/esm/menu/utils/getSafeRel.js +10 -0
- package/esm/menu/utils/isMenuItem.d.ts +2 -0
- package/esm/menu/utils/isMenuItem.js +9 -0
- package/esm/menu/utils/isSafeHref.d.ts +1 -0
- package/esm/menu/utils/isSafeHref.js +6 -0
- package/esm/menu/utils/normalizeSeparators.d.ts +2 -0
- package/esm/menu/utils/normalizeSeparators.js +19 -0
- package/esm/menu/utils/resolveKeys.d.ts +12 -0
- package/esm/menu/utils/resolveKeys.js +18 -0
- package/esm/menu/utils/useLastValidSheet.d.ts +7 -0
- package/esm/menu/utils/useLastValidSheet.js +26 -0
- package/esm/menu/utils/useMenuItemCore.d.ts +31 -0
- package/esm/menu/utils/useMenuItemCore.js +50 -0
- package/esm/menu/utils/useMenuItemKeyboardNav.d.ts +2 -0
- package/esm/menu/utils/useMenuItemKeyboardNav.js +11 -0
- package/esm/menu/utils/useMenuListKeyboardNav.d.ts +12 -0
- package/esm/menu/utils/useMenuListKeyboardNav.js +73 -0
- package/esm/menu/utils/useMenuPath.d.ts +6 -0
- package/esm/menu/utils/useMenuPath.js +31 -0
- package/esm/nav/navItem/navItem.js +10 -5
- package/esm/nav/navSection/navSection.js +7 -5
- package/esm/pagination/paginationArrow.js +10 -3
- package/esm/radioGroupRaw/radioGroupRaw.js +2 -1
- package/esm/rangeRaw/rangeRaw.js +0 -1
- package/esm/selectList/selectList.helpers.d.ts +1 -1
- package/esm/selectList/selectList.helpers.js +29 -4
- package/esm/selectList/selectList.js +3 -1
- package/esm/selectList/selectList.reducer.js +1 -2
- package/esm/selectList/selectListItem.js +4 -1
- package/esm/sortControl/sortControl.js +59 -4
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/flexible/columnsList.js +4 -2
- package/esm/table/selectable/useSelectableRows.d.ts +8 -0
- package/esm/table/selectable/useSelectableRows.js +14 -6
- package/esm/table/table.js +1 -7
- package/esm/tabs/tabs.js +60 -58
- package/esm/tabs/tabsTestHelper.js +2 -2
- package/esm/testHelpers/mockAbsoluteAlignment.d.ts +1 -0
- package/esm/testHelpers/mockAbsoluteAlignment.js +10 -0
- package/esm/timePickerRaw/timePickerRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +5 -2
- package/esm/utils/localization/translations/ar.json +3 -1
- package/esm/utils/localization/translations/cs.json +9 -5
- package/esm/utils/localization/translations/da-DK.json +9 -5
- package/esm/utils/localization/translations/de.json +9 -5
- package/esm/utils/localization/translations/en.json +5 -1
- package/esm/utils/localization/translations/es.json +9 -5
- package/esm/utils/localization/translations/fi-FI.json +9 -5
- package/esm/utils/localization/translations/fr-FR.json +9 -5
- package/esm/utils/localization/translations/fr.json +9 -5
- package/esm/utils/localization/translations/hu-HU.json +9 -5
- package/esm/utils/localization/translations/id.json +9 -5
- package/esm/utils/localization/translations/it.json +9 -5
- package/esm/utils/localization/translations/ja.json +9 -5
- package/esm/utils/localization/translations/ko-KR.json +9 -5
- package/esm/utils/localization/translations/ms.json +9 -5
- package/esm/utils/localization/translations/nb-NO.json +9 -5
- package/esm/utils/localization/translations/nl.json +9 -5
- package/esm/utils/localization/translations/pl.json +9 -5
- package/esm/utils/localization/translations/pt-BR.json +9 -5
- package/esm/utils/localization/translations/pt-PT.json +9 -5
- package/esm/utils/localization/translations/ro-RO.json +9 -5
- package/esm/utils/localization/translations/sk-SK.json +9 -5
- package/esm/utils/localization/translations/sv.json +9 -5
- package/esm/utils/localization/translations/th.json +9 -5
- package/esm/utils/localization/translations/tr.json +9 -5
- package/esm/utils/localization/translations/zh-Hans.json +9 -5
- package/esm/utils/localization/translations/zh-TW.json +9 -5
- package/esm/utils/localization/useDirectionalIcon.d.ts +3 -0
- package/esm/utils/localization/useDirectionalIcon.js +5 -0
- package/esm/utils/positioningUtils/alignments.d.ts +2 -2
- package/esm/utils/positioningUtils/alignments.js +2 -2
- package/esm/utils/positioningUtils/calculatePosition.js +4 -6
- package/package.json +123 -122
|
@@ -1,3 +1,562 @@
|
|
|
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-01-drive,
|
|
369
|
+
.zen-label-400-drive {
|
|
370
|
+
.zen-drive-font(@driver-font-family);
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
// Body Drive
|
|
374
|
+
.zen-body-01-drive,
|
|
375
|
+
.zen-body-l-400-drive {
|
|
376
|
+
.zen-drive-font(@driver-font-family, @body-01-drive-font-size, @body-01-drive-line-height, @body-01-drive-letter-spacing);
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
.zen-body-02-short-drive,
|
|
380
|
+
.zen-body-m-400-short-drive {
|
|
381
|
+
.zen-drive-font(@driver-font-family, @body-02-short-drive-font-size, @body-02-short-drive-line-height);
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.zen-body-02-tall-drive,
|
|
385
|
+
.zen-body-m-400-tall-drive {
|
|
386
|
+
.zen-drive-font(@driver-font-family, @body-02-tall-drive-font-size, @body-02-tall-drive-line-height);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.zen-body-03-drive,
|
|
390
|
+
.zen-body-s-700-drive {
|
|
391
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.zen-body-04-drive,
|
|
395
|
+
.zen-body-s-400-drive {
|
|
396
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-04-drive-line-height);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.zen-body-05-drive,
|
|
400
|
+
.zen-body-s-400-italic-drive {
|
|
401
|
+
.zen-drive-font(@driver-font-family, @line-height: @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
// Headings Drive
|
|
405
|
+
.zen-heading-01-drive,
|
|
406
|
+
.zen-heading-xl-300-drive {
|
|
407
|
+
.zen-drive-font(@driver-font-family, @heading-01-drive-font-size, @heading-01-drive-line-height, @weight: @heading-01-drive-weight);
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.zen-heading-02-drive,
|
|
411
|
+
.zen-heading-l-400-drive {
|
|
412
|
+
.zen-drive-font(@driver-font-family, @heading-02-drive-font-size, @heading-02-drive-line-height);
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.zen-heading-03-drive,
|
|
416
|
+
.zen-heading-m-300-drive {
|
|
417
|
+
.zen-drive-font(@driver-font-family, @heading-03-drive-font-size, @heading-03-drive-line-height, @weight: @heading-01-drive-weight);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.zen-heading-04-drive,
|
|
421
|
+
.zen-heading-m-500-drive {
|
|
422
|
+
.zen-drive-font(@driver-font-family, @heading-04-drive-font-size, @heading-04-drive-line-height, @weight: @heading-04-drive-weight);
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
.zen-heading-05-drive,
|
|
426
|
+
.zen-heading-s-500-drive {
|
|
427
|
+
.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);
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.zen-heading-06-drive {
|
|
431
|
+
.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);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.zen-heading-07-drive,
|
|
435
|
+
.zen-heading-s-300-drive {
|
|
436
|
+
.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);
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
// Data Drive
|
|
440
|
+
.zen-data-01-drive,
|
|
441
|
+
.zen-data-xl-drive {
|
|
442
|
+
.zen-drive-font(@driver-font-family, @data-01-drive-font-size, @data-01-drive-line-height);
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.zen-data-02-drive,
|
|
446
|
+
.zen-data-l-drive {
|
|
447
|
+
.zen-drive-font(@driver-font-family, @data-02-drive-font-size, @data-02-drive-line-height);
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
.zen-data-03-drive,
|
|
451
|
+
.zen-data-m-drive {
|
|
452
|
+
.zen-drive-font(@driver-font-family, @data-03-drive-font-size, @data-03-drive-line-height);
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
.zen-data-04-drive,
|
|
456
|
+
.zen-data-s-drive {
|
|
457
|
+
.zen-drive-font(@driver-font-family, @data-04-drive-font-size, @data-04-drive-line-height);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
// Responsive overrides (mobile — max-width: 640px)
|
|
461
|
+
@media (max-width: 640px) {
|
|
462
|
+
// Standard
|
|
463
|
+
.zen-heading-xl-300 {
|
|
464
|
+
.zen-font(@main-font-family, @heading-01-font-mobile-size, @heading-01-line-height, @weight: @heading-01-weight);
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
.zen-heading-m-300 {
|
|
468
|
+
.zen-font(@main-font-family, @heading-03-font-mobile-size, @heading-03-line-height, @weight: @heading-01-weight);
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
// Drive
|
|
472
|
+
.zen-label-01-drive,
|
|
473
|
+
.zen-label-400-drive {
|
|
474
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size);
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.zen-body-01-drive,
|
|
478
|
+
.zen-body-l-400-drive {
|
|
479
|
+
.zen-drive-font(@driver-font-family, @body-01-drive-font-mobile-size, @body-01-drive-line-height-mobile, @body-01-drive-letter-spacing);
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.zen-body-02-short-drive,
|
|
483
|
+
.zen-body-m-400-short-drive {
|
|
484
|
+
.zen-drive-font(@driver-font-family, @body-02-short-drive-font-mobile-size, @body-02-short-drive-line-height-mobile);
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.zen-body-02-tall-drive,
|
|
488
|
+
.zen-body-m-400-tall-drive {
|
|
489
|
+
.zen-drive-font(@driver-font-family, @body-02-tall-drive-font-mobile-size, @body-02-tall-drive-line-height-mobile);
|
|
490
|
+
}
|
|
491
|
+
|
|
492
|
+
.zen-body-03-drive,
|
|
493
|
+
.zen-body-s-700-drive {
|
|
494
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @line-height: @body-03-drive-line-height, @weight: @body-03-drive-weight);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
.zen-body-04-drive,
|
|
498
|
+
.zen-body-s-400-drive {
|
|
499
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-04-drive-line-height-mobile);
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.zen-body-05-drive,
|
|
503
|
+
.zen-body-s-400-italic-drive {
|
|
504
|
+
.zen-drive-font(@driver-font-family, @drive-base-font-mobile-size, @body-05-drive-line-height, @style: @body-05-drive-style);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
.zen-heading-01-drive,
|
|
508
|
+
.zen-heading-xl-300-drive {
|
|
509
|
+
.zen-drive-font(@driver-font-family, @heading-01-drive-font-mobile-size, @heading-01-drive-line-height-mobile, @weight: @heading-01-drive-weight);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.zen-heading-02-drive,
|
|
513
|
+
.zen-heading-l-400-drive {
|
|
514
|
+
.zen-drive-font(@driver-font-family, @heading-02-drive-font-mobile-size, @heading-02-drive-line-height-mobile);
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
.zen-heading-03-drive,
|
|
518
|
+
.zen-heading-m-300-drive {
|
|
519
|
+
.zen-drive-font(@driver-font-family, @heading-03-drive-font-mobile-size, @heading-03-drive-mobile-line-height, @weight: @heading-01-drive-weight);
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
.zen-heading-04-drive,
|
|
523
|
+
.zen-heading-m-500-drive {
|
|
524
|
+
.zen-drive-font(@driver-font-family, @heading-04-drive-font-mobile-size, @heading-04-drive-mobile-line-height, @weight: @heading-04-drive-weight);
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.zen-heading-05-drive,
|
|
528
|
+
.zen-heading-s-500-drive {
|
|
529
|
+
.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);
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.zen-heading-07-drive,
|
|
533
|
+
.zen-heading-s-300-drive {
|
|
534
|
+
.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);
|
|
535
|
+
}
|
|
536
|
+
|
|
537
|
+
.zen-data-01-drive,
|
|
538
|
+
.zen-data-xl-drive {
|
|
539
|
+
.zen-drive-font(@driver-font-family, @data-01-drive-mobile-size, @data-01-drive-mobile-line-height);
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.zen-data-02-drive,
|
|
543
|
+
.zen-data-l-drive {
|
|
544
|
+
.zen-drive-font(@driver-font-family, @data-02-drive-mobile-size, @data-02-drive-mobile-line-height);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.zen-data-03-drive,
|
|
548
|
+
.zen-data-m-drive {
|
|
549
|
+
.zen-drive-font(@driver-font-family, @data-03-drive-mobile-size, @data-03-drive-mobile-line-height);
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.zen-data-04-drive,
|
|
553
|
+
.zen-data-s-drive {
|
|
554
|
+
.zen-drive-font(@driver-font-family, @data-04-drive-mobile-size, @data-04-drive-mobile-line-height);
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
// Depricated //
|
|
559
|
+
|
|
1
560
|
.font(
|
|
2
561
|
@font: Roboto,
|
|
3
562
|
@size,
|
|
@@ -6,6 +565,7 @@
|
|
|
6
565
|
@weight: 400,
|
|
7
566
|
@style: normal,
|
|
8
567
|
@text-transform: none,
|
|
568
|
+
@arabic-font: var(--arabic-font-family)
|
|
9
569
|
) {
|
|
10
570
|
font-family: @font;
|
|
11
571
|
font-size: @size;
|
|
@@ -17,7 +577,7 @@
|
|
|
17
577
|
text-decoration: none;
|
|
18
578
|
|
|
19
579
|
html:lang(ar) & {
|
|
20
|
-
font-family:
|
|
580
|
+
font-family: @arabic-font;
|
|
21
581
|
}
|
|
22
582
|
}
|
|
23
583
|
|
|
@@ -344,95 +904,95 @@
|
|
|
344
904
|
// Data
|
|
345
905
|
.data-01,
|
|
346
906
|
.data-xxl {
|
|
347
|
-
.font(var(--main-font-data), 32px, @line-height: 40px);
|
|
907
|
+
.font(var(--main-font-data), 32px, @line-height: 40px, @arabic-font: var(--main-font-data));
|
|
348
908
|
}
|
|
349
909
|
|
|
350
910
|
.data-02,
|
|
351
911
|
.data-xl {
|
|
352
|
-
.font(var(--main-font-data), 24px, 32px);
|
|
912
|
+
.font(var(--main-font-data), 24px, 32px, @arabic-font: var(--main-font-data));
|
|
353
913
|
}
|
|
354
914
|
|
|
355
915
|
.data-03,
|
|
356
916
|
.data-l {
|
|
357
|
-
.font(var(--main-font-data), 20px, 24px);
|
|
917
|
+
.font(var(--main-font-data), 20px, 24px, @arabic-font: var(--main-font-data));
|
|
358
918
|
}
|
|
359
919
|
|
|
360
920
|
.data-04,
|
|
361
921
|
.data-m {
|
|
362
|
-
.font(var(--main-font-data), 18px, 21px);
|
|
922
|
+
.font(var(--main-font-data), 18px, 21px, @arabic-font: var(--main-font-data));
|
|
363
923
|
}
|
|
364
924
|
|
|
365
925
|
.data-05,
|
|
366
926
|
.data-s {
|
|
367
|
-
.font(var(--main-font-data), 16px, 18px);
|
|
927
|
+
.font(var(--main-font-data), 16px, 18px, @arabic-font: var(--main-font-data));
|
|
368
928
|
}
|
|
369
929
|
|
|
370
930
|
.data-06,
|
|
371
931
|
.data-xs {
|
|
372
|
-
.font(var(--main-font-data), 14px, 16px);
|
|
932
|
+
.font(var(--main-font-data), 14px, 16px, @arabic-font: var(--main-font-data));
|
|
373
933
|
}
|
|
374
934
|
|
|
375
935
|
// Data Drive
|
|
376
936
|
.data-01-tablet-drive,
|
|
377
937
|
.tablet-data-xl-drive {
|
|
378
|
-
.font(var(--data-font-drive), 34px, 42px);
|
|
938
|
+
.font(var(--data-font-drive), 34px, 42px, @arabic-font: var(--data-font-drive));
|
|
379
939
|
}
|
|
380
940
|
|
|
381
941
|
.data-01-mobile-drive,
|
|
382
942
|
.mobile-data-xl-drive {
|
|
383
|
-
.font(var(--data-font-drive), 32px, 40px);
|
|
943
|
+
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
384
944
|
}
|
|
385
945
|
|
|
386
946
|
@media (max-width: 640px) {
|
|
387
947
|
.tablet-data-xl-drive {
|
|
388
|
-
.font(var(--data-font-drive), 32px, 40px);
|
|
948
|
+
.font(var(--data-font-drive), 32px, 40px, @arabic-font: var(--data-font-drive));
|
|
389
949
|
}
|
|
390
950
|
}
|
|
391
951
|
|
|
392
952
|
.data-02-tablet-drive,
|
|
393
953
|
.tablet-data-l-drive {
|
|
394
|
-
.font(var(--data-font-drive), 22px, 26px);
|
|
954
|
+
.font(var(--data-font-drive), 22px, 26px, @arabic-font: var(--data-font-drive));
|
|
395
955
|
}
|
|
396
956
|
|
|
397
957
|
.data-02-mobile-drive,
|
|
398
958
|
.mobile-data-l-drive {
|
|
399
|
-
.font(var(--data-font-drive), 20px, 24px);
|
|
959
|
+
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
400
960
|
}
|
|
401
961
|
|
|
402
962
|
@media (max-width: 640px) {
|
|
403
963
|
.tablet-data-l-drive {
|
|
404
|
-
.font(var(--data-font-drive), 20px, 24px);
|
|
964
|
+
.font(var(--data-font-drive), 20px, 24px, @arabic-font: var(--data-font-drive));
|
|
405
965
|
}
|
|
406
966
|
}
|
|
407
967
|
|
|
408
968
|
.data-03-tablet-drive,
|
|
409
969
|
.tablet-data-m-drive {
|
|
410
|
-
.font(var(--data-font-drive), 20px, 22px);
|
|
970
|
+
.font(var(--data-font-drive), 20px, 22px, @arabic-font: var(--data-font-drive));
|
|
411
971
|
}
|
|
412
972
|
|
|
413
973
|
.data-03-mobile-drive,
|
|
414
974
|
.mobile-data-m-drive {
|
|
415
|
-
.font(var(--data-font-drive), 16px, 21px);
|
|
975
|
+
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
416
976
|
}
|
|
417
977
|
|
|
418
978
|
@media (max-width: 640px) {
|
|
419
979
|
.tablet-data-m-drive {
|
|
420
|
-
.font(var(--data-font-drive), 16px, 21px);
|
|
980
|
+
.font(var(--data-font-drive), 16px, 21px, @arabic-font: var(--data-font-drive));
|
|
421
981
|
}
|
|
422
982
|
}
|
|
423
983
|
|
|
424
984
|
.data-04-tablet-drive,
|
|
425
985
|
.tablet-data-s-drive {
|
|
426
|
-
.font(var(--data-font-drive), 18px, 26px);
|
|
986
|
+
.font(var(--data-font-drive), 18px, 26px, @arabic-font: var(--data-font-drive));
|
|
427
987
|
}
|
|
428
988
|
|
|
429
989
|
.data-04-mobile-drive,
|
|
430
990
|
.mobile-data-s-drive {
|
|
431
|
-
.font(var(--data-font-drive), 16px, 24px);
|
|
991
|
+
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
432
992
|
}
|
|
433
993
|
|
|
434
994
|
@media (max-width: 640px) {
|
|
435
995
|
.tablet-data-s-drive {
|
|
436
|
-
.font(var(--data-font-drive), 16px, 24px);
|
|
996
|
+
.font(var(--data-font-drive), 16px, 24px, @arabic-font: var(--data-font-drive));
|
|
437
997
|
}
|
|
438
998
|
}
|
|
@@ -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;
|