@geotab/zenith 3.11.0-beta.0 → 3.11.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 +3 -26
- package/dist/calendar/calendar.js +4 -7
- package/dist/card/components/title.js +1 -4
- package/dist/card/components/titleLink.js +2 -5
- package/dist/chart/barChart/getDefaultOptions.d.ts +1 -2
- package/dist/chart/barChart/getDefaultOptions.js +2 -5
- package/dist/chart/barChart.js +4 -6
- package/dist/chart/lineChart/getDefaultOptions.d.ts +1 -2
- package/dist/chart/lineChart/getDefaultOptions.js +2 -5
- package/dist/chart/lineChart.js +2 -4
- package/dist/checkboxListWithAction/checkboxListWithAction.js +1 -4
- package/dist/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +1 -4
- package/dist/commonStyles/pillStyles/pillContent.less +14 -13
- package/dist/commonStyles/pillStyles/pillStyles.less +5 -4
- package/dist/commonStyles/pillStyles/pillTextContent.less +2 -2
- package/dist/commonStyles/typography/typography.less +19 -579
- package/dist/controlledPopup/controlledPopup.d.ts +0 -1
- package/dist/controlledPopup/controlledPopup.js +1 -3
- package/dist/dataGrid/cell/cell.d.ts +1 -2
- package/dist/dataGrid/cell/cell.js +2 -2
- package/dist/dataGrid/dataGrid.js +4 -7
- package/dist/dataGrid/listColumn.d.ts +0 -2
- package/dist/dataGrid/row/row.d.ts +1 -2
- package/dist/dataGrid/row/row.js +9 -13
- package/dist/dataGrid/withFlexibleColumns/components/columnSettingsList.js +1 -2
- package/dist/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +0 -4
- package/dist/dateRangeInner/dateRangeInner.js +2 -5
- package/dist/dateRangeRaw/dateRangeRaw.js +2 -5
- package/dist/dateRangeRaw/utils/parseLabel.js +1 -1
- package/dist/dropdownRaw/dropdownRaw.js +6 -12
- package/dist/fileUpload/components/dropZoneContent.js +100 -100
- package/dist/fileUpload/fileUpload.js +100 -100
- package/dist/filters/components/filtersSearchList.js +1 -4
- package/dist/filtersBar/filtersContainer/filtersContainer.js +61 -62
- package/dist/formStepperButtons/formStepperButtons.js +1 -4
- package/dist/groupsFilterRaw/groupsFilterAdjustmentState.js +1 -4
- package/dist/groupsFilterRaw/groupsFilterInitialState.js +1 -4
- package/dist/header/headerBack.js +1 -4
- package/dist/icons/iconAlignLeft.js +3 -1
- package/dist/icons/iconAlignmentLeft.js +3 -1
- package/dist/icons/iconAlignmentRight.js +3 -1
- package/dist/icons/iconArrowBottomLeft.js +3 -1
- package/dist/icons/iconArrowBottomRight.js +3 -1
- package/dist/icons/iconArrowLeftPath.js +3 -1
- package/dist/icons/iconArrowRight.js +3 -1
- package/dist/icons/iconArrowRightCircle.js +3 -1
- package/dist/icons/iconArrowRightPath.js +3 -1
- package/dist/icons/iconArrowTopLeft.js +3 -1
- package/dist/icons/iconArrowTopRight.js +3 -1
- package/dist/icons/iconChevronDoubleRight.js +3 -1
- package/dist/icons/iconChevronRight.js +3 -1
- package/dist/icons/iconChevronRightSmall.js +3 -1
- package/dist/icons/iconCornerDownLeft.js +3 -1
- package/dist/icons/iconCornerDownRight.js +3 -1
- package/dist/icons/iconCornerLeftDown.js +3 -1
- package/dist/icons/iconCornerLeftUp.js +3 -1
- package/dist/icons/iconCornerRightDown.js +3 -1
- package/dist/icons/iconCornerRightUp.js +3 -1
- package/dist/icons/iconCornerUpLeft.js +3 -1
- package/dist/icons/iconCornerUpRight.js +3 -1
- package/dist/index.css +2920 -3245
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1 -3
- package/dist/lineChartMini/lineChartMini.js +3 -15
- package/dist/list/itemData/itemDataInternal.js +1 -4
- package/dist/list/listItem/listItem.js +1 -4
- package/dist/menu/components/controlledMenuList/controlledMenuList.js +1 -4
- package/dist/menu/components/menuButton.js +1 -4
- package/dist/menu/utils/useMenuItemCore.js +3 -4
- package/dist/nav/navItem/navItem.js +1 -4
- package/dist/pagination/paginationArrow.js +3 -10
- package/dist/radioGroupRaw/radioGroupRaw.js +1 -2
- package/dist/rangeRaw/rangeRaw.js +1 -0
- package/dist/selectList/selectList.helpers.d.ts +1 -1
- package/dist/selectList/selectList.helpers.js +4 -29
- package/dist/selectList/selectList.js +1 -3
- package/dist/selectList/selectList.reducer.js +2 -1
- package/dist/selectList/selectListItem.js +1 -4
- package/dist/sortControl/sortControl.js +4 -59
- package/dist/table/children/useTableChildren.d.ts +1 -1
- package/dist/table/children/useTableChildren.js +3 -3
- package/dist/table/flexible/columnsList.js +2 -4
- package/dist/table/selectable/useSelectableRows.d.ts +0 -8
- package/dist/table/selectable/useSelectableRows.js +6 -14
- package/dist/table/table.js +7 -1
- package/dist/tabs/tabs.js +58 -60
- package/dist/tabs/tabsTestHelper.js +2 -2
- package/dist/timePickerRaw/timePickerRaw.js +1 -1
- package/dist/toggleButtonRaw/toggleButtonRaw.js +2 -5
- package/dist/utils/localization/translations/ar.json +1 -3
- package/dist/utils/localization/translations/cs.json +5 -9
- package/dist/utils/localization/translations/da-DK.json +5 -9
- package/dist/utils/localization/translations/de.json +5 -9
- package/dist/utils/localization/translations/en.json +1 -5
- package/dist/utils/localization/translations/es.json +5 -9
- package/dist/utils/localization/translations/fi-FI.json +5 -9
- package/dist/utils/localization/translations/fr-FR.json +5 -9
- package/dist/utils/localization/translations/fr.json +5 -9
- package/dist/utils/localization/translations/hu-HU.json +5 -9
- package/dist/utils/localization/translations/id.json +5 -9
- package/dist/utils/localization/translations/it.json +5 -9
- package/dist/utils/localization/translations/ja.json +5 -9
- package/dist/utils/localization/translations/ko-KR.json +5 -9
- package/dist/utils/localization/translations/ms.json +5 -9
- package/dist/utils/localization/translations/nb-NO.json +5 -9
- package/dist/utils/localization/translations/nl.json +5 -9
- package/dist/utils/localization/translations/pl.json +5 -9
- package/dist/utils/localization/translations/pt-BR.json +5 -9
- package/dist/utils/localization/translations/pt-PT.json +5 -9
- package/dist/utils/localization/translations/ro-RO.json +5 -9
- package/dist/utils/localization/translations/sk-SK.json +5 -9
- package/dist/utils/localization/translations/sv.json +5 -9
- package/dist/utils/localization/translations/th.json +5 -9
- package/dist/utils/localization/translations/tr.json +5 -9
- package/dist/utils/localization/translations/zh-Hans.json +5 -9
- package/dist/utils/localization/translations/zh-TW.json +5 -9
- package/dist/utils/positioningUtils/alignments.d.ts +2 -2
- package/dist/utils/positioningUtils/alignments.js +2 -2
- package/dist/utils/positioningUtils/calculatePosition.js +6 -4
- package/esm/calendar/calendar.js +4 -7
- package/esm/card/components/title.js +1 -4
- package/esm/card/components/titleLink.js +2 -5
- package/esm/chart/barChart/getDefaultOptions.d.ts +1 -2
- package/esm/chart/barChart/getDefaultOptions.js +2 -5
- package/esm/chart/barChart.js +4 -6
- package/esm/chart/lineChart/getDefaultOptions.d.ts +1 -2
- package/esm/chart/lineChart/getDefaultOptions.js +2 -5
- package/esm/chart/lineChart.js +2 -4
- package/esm/checkboxListWithAction/checkboxListWithAction.js +1 -4
- package/esm/commonHelpers/arrowNavigation/components/arrowButton/arrowButton.js +1 -4
- package/esm/controlledPopup/controlledPopup.d.ts +0 -1
- package/esm/controlledPopup/controlledPopup.js +1 -3
- package/esm/dataGrid/cell/cell.d.ts +1 -2
- package/esm/dataGrid/cell/cell.js +2 -2
- package/esm/dataGrid/dataGrid.js +4 -7
- package/esm/dataGrid/listColumn.d.ts +0 -2
- package/esm/dataGrid/row/row.d.ts +1 -2
- package/esm/dataGrid/row/row.js +9 -13
- package/esm/dataGrid/withFlexibleColumns/components/columnSettingsList.js +1 -2
- package/esm/dataGrid/withSelectableRows/components/bulkActions/bulkActions.d.ts +0 -4
- package/esm/dateRangeInner/dateRangeInner.js +2 -5
- package/esm/dateRangeRaw/dateRangeRaw.js +2 -5
- package/esm/dateRangeRaw/utils/parseLabel.js +1 -1
- package/esm/dropdownRaw/dropdownRaw.js +6 -12
- package/esm/fileUpload/components/dropZoneContent.js +100 -100
- package/esm/fileUpload/fileUpload.js +100 -100
- package/esm/filters/components/filtersSearchList.js +1 -4
- package/esm/filtersBar/filtersContainer/filtersContainer.js +61 -62
- package/esm/formStepperButtons/formStepperButtons.js +1 -4
- package/esm/groupsFilterRaw/groupsFilterAdjustmentState.js +1 -4
- package/esm/groupsFilterRaw/groupsFilterInitialState.js +1 -4
- package/esm/header/headerBack.js +1 -4
- package/esm/icons/iconAlignLeft.js +3 -1
- package/esm/icons/iconAlignmentLeft.js +3 -1
- package/esm/icons/iconAlignmentRight.js +3 -1
- package/esm/icons/iconArrowBottomLeft.js +3 -1
- package/esm/icons/iconArrowBottomRight.js +3 -1
- package/esm/icons/iconArrowLeftPath.js +3 -1
- package/esm/icons/iconArrowRight.js +3 -1
- package/esm/icons/iconArrowRightCircle.js +3 -1
- package/esm/icons/iconArrowRightPath.js +3 -1
- package/esm/icons/iconArrowTopLeft.js +3 -1
- package/esm/icons/iconArrowTopRight.js +3 -1
- package/esm/icons/iconChevronDoubleRight.js +3 -1
- package/esm/icons/iconChevronRight.js +3 -1
- package/esm/icons/iconChevronRightSmall.js +3 -1
- package/esm/icons/iconCornerDownLeft.js +3 -1
- package/esm/icons/iconCornerDownRight.js +3 -1
- package/esm/icons/iconCornerLeftDown.js +3 -1
- package/esm/icons/iconCornerLeftUp.js +3 -1
- package/esm/icons/iconCornerRightDown.js +3 -1
- package/esm/icons/iconCornerRightUp.js +3 -1
- package/esm/icons/iconCornerUpLeft.js +3 -1
- package/esm/icons/iconCornerUpRight.js +3 -1
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/lineChartMini/lineChartMini.js +3 -15
- package/esm/list/itemData/itemDataInternal.js +1 -4
- package/esm/list/listItem/listItem.js +1 -4
- package/esm/menu/components/controlledMenuList/controlledMenuList.js +1 -4
- package/esm/menu/components/menuButton.js +1 -4
- package/esm/menu/utils/useMenuItemCore.js +3 -4
- package/esm/nav/navItem/navItem.js +1 -4
- package/esm/pagination/paginationArrow.js +3 -10
- package/esm/radioGroupRaw/radioGroupRaw.js +1 -2
- package/esm/rangeRaw/rangeRaw.js +1 -0
- package/esm/selectList/selectList.helpers.d.ts +1 -1
- package/esm/selectList/selectList.helpers.js +4 -29
- package/esm/selectList/selectList.js +1 -3
- package/esm/selectList/selectList.reducer.js +2 -1
- package/esm/selectList/selectListItem.js +1 -4
- package/esm/sortControl/sortControl.js +4 -59
- package/esm/table/children/useTableChildren.d.ts +1 -1
- package/esm/table/children/useTableChildren.js +3 -3
- package/esm/table/flexible/columnsList.js +2 -4
- package/esm/table/selectable/useSelectableRows.d.ts +0 -8
- package/esm/table/selectable/useSelectableRows.js +6 -14
- package/esm/table/table.js +7 -1
- package/esm/tabs/tabs.js +58 -60
- package/esm/tabs/tabsTestHelper.js +2 -2
- package/esm/timePickerRaw/timePickerRaw.js +1 -1
- package/esm/toggleButtonRaw/toggleButtonRaw.js +2 -5
- package/esm/utils/localization/translations/ar.json +1 -3
- package/esm/utils/localization/translations/cs.json +5 -9
- package/esm/utils/localization/translations/da-DK.json +5 -9
- package/esm/utils/localization/translations/de.json +5 -9
- package/esm/utils/localization/translations/en.json +1 -5
- package/esm/utils/localization/translations/es.json +5 -9
- package/esm/utils/localization/translations/fi-FI.json +5 -9
- package/esm/utils/localization/translations/fr-FR.json +5 -9
- package/esm/utils/localization/translations/fr.json +5 -9
- package/esm/utils/localization/translations/hu-HU.json +5 -9
- package/esm/utils/localization/translations/id.json +5 -9
- package/esm/utils/localization/translations/it.json +5 -9
- package/esm/utils/localization/translations/ja.json +5 -9
- package/esm/utils/localization/translations/ko-KR.json +5 -9
- package/esm/utils/localization/translations/ms.json +5 -9
- package/esm/utils/localization/translations/nb-NO.json +5 -9
- package/esm/utils/localization/translations/nl.json +5 -9
- package/esm/utils/localization/translations/pl.json +5 -9
- package/esm/utils/localization/translations/pt-BR.json +5 -9
- package/esm/utils/localization/translations/pt-PT.json +5 -9
- package/esm/utils/localization/translations/ro-RO.json +5 -9
- package/esm/utils/localization/translations/sk-SK.json +5 -9
- package/esm/utils/localization/translations/sv.json +5 -9
- package/esm/utils/localization/translations/th.json +5 -9
- package/esm/utils/localization/translations/tr.json +5 -9
- package/esm/utils/localization/translations/zh-Hans.json +5 -9
- package/esm/utils/localization/translations/zh-TW.json +5 -9
- package/esm/utils/positioningUtils/alignments.d.ts +2 -2
- package/esm/utils/positioningUtils/alignments.js +2 -2
- package/esm/utils/positioningUtils/calculatePosition.js +6 -4
- package/package.json +122 -123
- package/dist/utils/localization/useDirectionalIcon.d.ts +0 -3
- package/dist/utils/localization/useDirectionalIcon.js +0 -9
- package/esm/testHelpers/mockAbsoluteAlignment.d.ts +0 -1
- package/esm/testHelpers/mockAbsoluteAlignment.js +0 -10
- package/esm/utils/localization/useDirectionalIcon.d.ts +0 -3
- package/esm/utils/localization/useDirectionalIcon.js +0 -5
|
@@ -1,562 +1,3 @@
|
|
|
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
|
-
|
|
560
1
|
.font(
|
|
561
2
|
@font: Roboto,
|
|
562
3
|
@size,
|
|
@@ -565,7 +6,6 @@
|
|
|
565
6
|
@weight: 400,
|
|
566
7
|
@style: normal,
|
|
567
8
|
@text-transform: none,
|
|
568
|
-
@arabic-font: var(--arabic-font-family)
|
|
569
9
|
) {
|
|
570
10
|
font-family: @font;
|
|
571
11
|
font-size: @size;
|
|
@@ -577,7 +17,7 @@
|
|
|
577
17
|
text-decoration: none;
|
|
578
18
|
|
|
579
19
|
html:lang(ar) & {
|
|
580
|
-
font-family:
|
|
20
|
+
font-family: var(--arabic-font-family);
|
|
581
21
|
}
|
|
582
22
|
}
|
|
583
23
|
|
|
@@ -904,95 +344,95 @@
|
|
|
904
344
|
// Data
|
|
905
345
|
.data-01,
|
|
906
346
|
.data-xxl {
|
|
907
|
-
.font(var(--main-font-data), 32px, @line-height: 40px
|
|
347
|
+
.font(var(--main-font-data), 32px, @line-height: 40px);
|
|
908
348
|
}
|
|
909
349
|
|
|
910
350
|
.data-02,
|
|
911
351
|
.data-xl {
|
|
912
|
-
.font(var(--main-font-data), 24px, 32px
|
|
352
|
+
.font(var(--main-font-data), 24px, 32px);
|
|
913
353
|
}
|
|
914
354
|
|
|
915
355
|
.data-03,
|
|
916
356
|
.data-l {
|
|
917
|
-
.font(var(--main-font-data), 20px, 24px
|
|
357
|
+
.font(var(--main-font-data), 20px, 24px);
|
|
918
358
|
}
|
|
919
359
|
|
|
920
360
|
.data-04,
|
|
921
361
|
.data-m {
|
|
922
|
-
.font(var(--main-font-data), 18px, 21px
|
|
362
|
+
.font(var(--main-font-data), 18px, 21px);
|
|
923
363
|
}
|
|
924
364
|
|
|
925
365
|
.data-05,
|
|
926
366
|
.data-s {
|
|
927
|
-
.font(var(--main-font-data), 16px, 18px
|
|
367
|
+
.font(var(--main-font-data), 16px, 18px);
|
|
928
368
|
}
|
|
929
369
|
|
|
930
370
|
.data-06,
|
|
931
371
|
.data-xs {
|
|
932
|
-
.font(var(--main-font-data), 14px, 16px
|
|
372
|
+
.font(var(--main-font-data), 14px, 16px);
|
|
933
373
|
}
|
|
934
374
|
|
|
935
375
|
// Data Drive
|
|
936
376
|
.data-01-tablet-drive,
|
|
937
377
|
.tablet-data-xl-drive {
|
|
938
|
-
.font(var(--data-font-drive), 34px, 42px
|
|
378
|
+
.font(var(--data-font-drive), 34px, 42px);
|
|
939
379
|
}
|
|
940
380
|
|
|
941
381
|
.data-01-mobile-drive,
|
|
942
382
|
.mobile-data-xl-drive {
|
|
943
|
-
.font(var(--data-font-drive), 32px, 40px
|
|
383
|
+
.font(var(--data-font-drive), 32px, 40px);
|
|
944
384
|
}
|
|
945
385
|
|
|
946
386
|
@media (max-width: 640px) {
|
|
947
387
|
.tablet-data-xl-drive {
|
|
948
|
-
.font(var(--data-font-drive), 32px, 40px
|
|
388
|
+
.font(var(--data-font-drive), 32px, 40px);
|
|
949
389
|
}
|
|
950
390
|
}
|
|
951
391
|
|
|
952
392
|
.data-02-tablet-drive,
|
|
953
393
|
.tablet-data-l-drive {
|
|
954
|
-
.font(var(--data-font-drive), 22px, 26px
|
|
394
|
+
.font(var(--data-font-drive), 22px, 26px);
|
|
955
395
|
}
|
|
956
396
|
|
|
957
397
|
.data-02-mobile-drive,
|
|
958
398
|
.mobile-data-l-drive {
|
|
959
|
-
.font(var(--data-font-drive), 20px, 24px
|
|
399
|
+
.font(var(--data-font-drive), 20px, 24px);
|
|
960
400
|
}
|
|
961
401
|
|
|
962
402
|
@media (max-width: 640px) {
|
|
963
403
|
.tablet-data-l-drive {
|
|
964
|
-
.font(var(--data-font-drive), 20px, 24px
|
|
404
|
+
.font(var(--data-font-drive), 20px, 24px);
|
|
965
405
|
}
|
|
966
406
|
}
|
|
967
407
|
|
|
968
408
|
.data-03-tablet-drive,
|
|
969
409
|
.tablet-data-m-drive {
|
|
970
|
-
.font(var(--data-font-drive), 20px, 22px
|
|
410
|
+
.font(var(--data-font-drive), 20px, 22px);
|
|
971
411
|
}
|
|
972
412
|
|
|
973
413
|
.data-03-mobile-drive,
|
|
974
414
|
.mobile-data-m-drive {
|
|
975
|
-
.font(var(--data-font-drive), 16px, 21px
|
|
415
|
+
.font(var(--data-font-drive), 16px, 21px);
|
|
976
416
|
}
|
|
977
417
|
|
|
978
418
|
@media (max-width: 640px) {
|
|
979
419
|
.tablet-data-m-drive {
|
|
980
|
-
.font(var(--data-font-drive), 16px, 21px
|
|
420
|
+
.font(var(--data-font-drive), 16px, 21px);
|
|
981
421
|
}
|
|
982
422
|
}
|
|
983
423
|
|
|
984
424
|
.data-04-tablet-drive,
|
|
985
425
|
.tablet-data-s-drive {
|
|
986
|
-
.font(var(--data-font-drive), 18px, 26px
|
|
426
|
+
.font(var(--data-font-drive), 18px, 26px);
|
|
987
427
|
}
|
|
988
428
|
|
|
989
429
|
.data-04-mobile-drive,
|
|
990
430
|
.mobile-data-s-drive {
|
|
991
|
-
.font(var(--data-font-drive), 16px, 24px
|
|
431
|
+
.font(var(--data-font-drive), 16px, 24px);
|
|
992
432
|
}
|
|
993
433
|
|
|
994
434
|
@media (max-width: 640px) {
|
|
995
435
|
.tablet-data-s-drive {
|
|
996
|
-
.font(var(--data-font-drive), 16px, 24px
|
|
436
|
+
.font(var(--data-font-drive), 16px, 24px);
|
|
997
437
|
}
|
|
998
438
|
}
|
|
@@ -9,7 +9,6 @@ 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). */
|
|
13
12
|
alignment?: TAlignmentAbsolute;
|
|
14
13
|
id?: string;
|
|
15
14
|
className?: string;
|