@hazelcast/ui 1.1.1 → 1.3.1-next.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/lib/Alert.d.ts +3 -2
- package/lib/Alert.js +23 -22
- package/lib/Alert.js.map +1 -1
- package/lib/Alert.module.scss +14 -6
- package/lib/AutocompleteField.d.ts +2 -1
- package/lib/AutocompleteField.js +45 -22
- package/lib/AutocompleteField.js.map +1 -1
- package/lib/AutocompleteField.module.scss +3 -5
- package/lib/AutocompleteFieldFormik.d.ts +2 -1
- package/lib/AutocompleteFieldFormik.js +11 -5
- package/lib/AutocompleteFieldFormik.js.map +1 -1
- package/lib/Button.d.ts +9 -294
- package/lib/Button.js +41 -14
- package/lib/Button.js.map +1 -1
- package/lib/Button.module.scss +120 -87
- package/lib/Calendar/Calendar.d.ts +1 -1
- package/lib/Calendar/Calendar.js +8 -3
- package/lib/Calendar/Calendar.js.map +1 -1
- package/lib/Calendar/Calendar.module.scss +134 -123
- package/lib/Calendar/components/CalendarInput.js +2 -2
- package/lib/Calendar/components/CalendarInput.js.map +1 -1
- package/lib/Calendar/components/CalendarTime.js +2 -2
- package/lib/Calendar/components/CalendarTime.js.map +1 -1
- package/lib/Calendar/components/CalendarTime.module.scss +2 -0
- package/lib/Card.d.ts +1 -0
- package/lib/Card.js +4 -3
- package/lib/Card.js.map +1 -1
- package/lib/Card.module.scss +16 -4
- package/lib/Checkbox.d.ts +2 -2
- package/lib/Checkbox.js +7 -4
- package/lib/Checkbox.js.map +1 -1
- package/lib/Checkbox.module.scss +17 -6
- package/lib/CheckboxFormik.d.ts +2 -1
- package/lib/CheckboxFormik.js +9 -4
- package/lib/CheckboxFormik.js.map +1 -1
- package/lib/CodeEditor.d.ts +3 -2
- package/lib/CodeEditor.js +4 -3
- package/lib/CodeEditor.js.map +1 -1
- package/lib/CodeEditor.module.scss +5 -2
- package/lib/CodeEditorFormik.js +2 -2
- package/lib/CodeEditorFormik.js.map +1 -1
- package/lib/Dialog.js +5 -2
- package/lib/Dialog.js.map +1 -1
- package/lib/Dialog.module.scss +3 -0
- package/lib/EmptyState.d.ts +6 -4
- package/lib/EmptyState.js +4 -6
- package/lib/EmptyState.js.map +1 -1
- package/lib/EmptyState.module.scss +1 -1
- package/lib/Error.d.ts +3 -0
- package/lib/Error.js +2 -1
- package/lib/Error.js.map +1 -1
- package/lib/FieldHeader.d.ts +20 -0
- package/lib/FieldHeader.js +15 -0
- package/lib/FieldHeader.js.map +1 -0
- package/lib/FieldHeader.module.scss +20 -0
- package/lib/Icon.d.ts +2 -35
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/Icon.module.scss +5 -0
- package/lib/IconButton.d.ts +6 -158
- package/lib/IconButton.js +3 -3
- package/lib/IconButton.js.map +1 -1
- package/lib/InteractiveList.d.ts +3 -3
- package/lib/InteractiveList.js +2 -3
- package/lib/InteractiveList.js.map +1 -1
- package/lib/InteractiveList.module.scss +1 -0
- package/lib/InteractiveListFormik.js +5 -4
- package/lib/InteractiveListFormik.js.map +1 -1
- package/lib/Link.d.ts +1 -65
- package/lib/Link.js +3 -4
- package/lib/Link.js.map +1 -1
- package/lib/Link.module.scss +7 -0
- package/lib/Loader.js +2 -2
- package/lib/Loader.js.map +1 -1
- package/lib/Loader.module.scss +10 -1
- package/lib/Modal.js +3 -3
- package/lib/Modal.js.map +1 -1
- package/lib/Modal.module.scss +1 -0
- package/lib/Notification.module.scss +1 -0
- package/lib/NumberField.d.ts +1 -0
- package/lib/NumberField.js +41 -13
- package/lib/NumberField.js.map +1 -1
- package/lib/NumberField.module.scss +40 -3
- package/lib/NumberFieldFormik.d.ts +2 -1
- package/lib/NumberFieldFormik.js +7 -4
- package/lib/NumberFieldFormik.js.map +1 -1
- package/lib/Overlay.d.ts +3 -2
- package/lib/Overlay.js +7 -5
- package/lib/Overlay.js.map +1 -1
- package/lib/Overlay.module.scss +18 -3
- package/lib/Pagination.d.ts +0 -3
- package/lib/Pagination.js +10 -13
- package/lib/Pagination.js.map +1 -1
- package/lib/Pagination.module.scss +3 -1
- package/lib/PasswordField.js +2 -2
- package/lib/PasswordField.js.map +1 -1
- package/lib/PasswordFieldFormik.d.ts +2 -1
- package/lib/PasswordFieldFormik.js +9 -4
- package/lib/PasswordFieldFormik.js.map +1 -1
- package/lib/Popover.d.ts +21 -0
- package/lib/Popover.js +77 -0
- package/lib/Popover.js.map +1 -0
- package/lib/Popover.module.scss +12 -0
- package/lib/Radio.d.ts +2 -2
- package/lib/Radio.js +4 -2
- package/lib/Radio.js.map +1 -1
- package/lib/Radio.module.scss +3 -0
- package/lib/RadioFormik.js +1 -1
- package/lib/RadioFormik.js.map +1 -1
- package/lib/RadioGroup.js +4 -3
- package/lib/RadioGroup.js.map +1 -1
- package/lib/RadioGroup.module.scss +1 -4
- package/lib/RadioGroupFormik.d.ts +2 -1
- package/lib/RadioGroupFormik.js +9 -4
- package/lib/RadioGroupFormik.js.map +1 -1
- package/lib/SegmentedControl.d.ts +8 -8
- package/lib/SegmentedControl.js.map +1 -1
- package/lib/SegmentedControl.module.scss +4 -2
- package/lib/SegmentedControlFormik.d.ts +4 -4
- package/lib/SegmentedControlFormik.js +1 -1
- package/lib/SegmentedControlFormik.js.map +1 -1
- package/lib/Select/CheckableSelectField.d.ts +34 -0
- package/lib/Select/CheckableSelectField.js +65 -0
- package/lib/Select/CheckableSelectField.js.map +1 -0
- package/lib/Select/CheckableSelectField.module.scss +87 -0
- package/lib/Select/CheckableSelectFieldFormik.d.ts +10 -0
- package/lib/Select/CheckableSelectFieldFormik.js +19 -0
- package/lib/Select/CheckableSelectFieldFormik.js.map +1 -0
- package/lib/Select/Common.d.ts +2 -0
- package/lib/Select/Common.js +10 -3
- package/lib/Select/Common.js.map +1 -1
- package/lib/Select/Common.module.scss +2 -0
- package/lib/Select/MultiSelectField.d.ts +5 -8
- package/lib/Select/MultiSelectField.js +13 -14
- package/lib/Select/MultiSelectField.js.map +1 -1
- package/lib/Select/MultiSelectField.module.scss +8 -0
- package/lib/Select/MultiSelectFieldFormik.d.ts +3 -2
- package/lib/Select/MultiSelectFieldFormik.js +11 -5
- package/lib/Select/MultiSelectFieldFormik.js.map +1 -1
- package/lib/Select/SelectField.d.ts +3 -7
- package/lib/Select/SelectField.js +8 -8
- package/lib/Select/SelectField.js.map +1 -1
- package/lib/Select/SelectField.module.scss +5 -5
- package/lib/Select/SelectFieldFormik.d.ts +3 -2
- package/lib/Select/SelectFieldFormik.js +10 -4
- package/lib/Select/SelectFieldFormik.js.map +1 -1
- package/lib/Select/helpers.d.ts +1 -2
- package/lib/Select/index.d.ts +7 -5
- package/lib/Select/index.js +7 -5
- package/lib/Select/index.js.map +1 -1
- package/lib/SimpleTable.js +7 -7
- package/lib/SimpleTable.js.map +1 -1
- package/lib/SimpleTable.module.scss +1 -1
- package/lib/Slider.d.ts +6 -5
- package/lib/Slider.js +35 -17
- package/lib/Slider.js.map +1 -1
- package/lib/Slider.module.scss +13 -9
- package/lib/SliderFormik.d.ts +1 -1
- package/lib/SliderFormik.js +1 -1
- package/lib/SliderFormik.js.map +1 -1
- package/lib/Table/Cell.module.scss +11 -4
- package/lib/Table/EnhancedRenderers.d.ts +0 -7
- package/lib/Table/EnhancedRenderers.js +3 -14
- package/lib/Table/EnhancedRenderers.js.map +1 -1
- package/lib/Table/Header.js +9 -3
- package/lib/Table/Header.js.map +1 -1
- package/lib/Table/Header.module.scss +29 -35
- package/lib/Table/Row.js +2 -7
- package/lib/Table/Row.js.map +1 -1
- package/lib/Table/Row.module.scss +4 -10
- package/lib/Table/Table.d.ts +10 -4
- package/lib/Table/Table.js +71 -31
- package/lib/Table/Table.js.map +1 -1
- package/lib/Table/Table.module.scss +5 -5
- package/lib/Tabs/Tab.d.ts +9 -1
- package/lib/Tabs/Tab.js +5 -2
- package/lib/Tabs/Tab.js.map +1 -1
- package/lib/Tabs/Tab.module.scss +5 -1
- package/lib/Tabs/TabList.js +2 -1
- package/lib/Tabs/TabList.js.map +1 -1
- package/lib/Tabs/index.d.ts +4 -4
- package/lib/Tabs/index.js +4 -4
- package/lib/Tabs/index.js.map +1 -1
- package/lib/Terminal.js +3 -3
- package/lib/Terminal.js.map +1 -1
- package/lib/Terminal.module.scss +1 -0
- package/lib/TextArea.d.ts +2 -5
- package/lib/TextArea.js +9 -9
- package/lib/TextArea.js.map +1 -1
- package/lib/TextArea.module.scss +15 -10
- package/lib/TextAreaFormik.js +1 -1
- package/lib/TextAreaFormik.js.map +1 -1
- package/lib/TextField.d.ts +13 -23
- package/lib/TextField.js +27 -12
- package/lib/TextField.js.map +1 -1
- package/lib/TextField.module.scss +36 -38
- package/lib/TextFieldFormik.d.ts +4 -2
- package/lib/TextFieldFormik.js +15 -4
- package/lib/TextFieldFormik.js.map +1 -1
- package/lib/TimeField.d.ts +2 -11
- package/lib/TimeField.js +8 -7
- package/lib/TimeField.js.map +1 -1
- package/lib/TimeField.module.scss +6 -6
- package/lib/TimeFieldFormik.js +1 -1
- package/lib/TimeFieldFormik.js.map +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/Toggle.js +4 -3
- package/lib/Toggle.js.map +1 -1
- package/lib/Toggle.module.scss +23 -19
- package/lib/ToggleFormik.js +1 -1
- package/lib/ToggleFormik.js.map +1 -1
- package/lib/Tooltip.d.ts +9 -2
- package/lib/Tooltip.js +87 -27
- package/lib/Tooltip.js.map +1 -1
- package/lib/Tooltip.module.scss +10 -5
- package/lib/TruncatedText.d.ts +6 -3
- package/lib/TruncatedText.js +2 -2
- package/lib/TruncatedText.js.map +1 -1
- package/lib/hooks/index.d.ts +5 -0
- package/lib/hooks/index.js +7 -0
- package/lib/hooks/index.js.map +1 -0
- package/lib/hooks/useIsMounted.d.ts +1 -0
- package/lib/hooks/useIsMounted.js +12 -0
- package/lib/hooks/useIsMounted.js.map +1 -0
- package/lib/hooks/useOnClickOutside.d.ts +8 -0
- package/lib/hooks/useOnClickOutside.js +24 -0
- package/lib/hooks/useOnClickOutside.js.map +1 -0
- package/lib/hooks/useOpenCloseState.d.ts +6 -0
- package/lib/hooks/useOpenCloseState.js +14 -0
- package/lib/hooks/useOpenCloseState.js.map +1 -0
- package/lib/hooks/usePrevious.d.ts +1 -0
- package/lib/hooks/usePrevious.js +9 -0
- package/lib/hooks/usePrevious.js.map +1 -0
- package/lib/hooks/useRefValue.d.ts +1 -0
- package/lib/hooks/useRefValue.js +9 -0
- package/lib/hooks/useRefValue.js.map +1 -0
- package/lib/hooks/useTableCustomizableColumns.d.ts +9 -0
- package/lib/hooks/useTableCustomizableColumns.js +23 -0
- package/lib/hooks/useTableCustomizableColumns.js.map +1 -0
- package/lib/index.d.ts +55 -53
- package/lib/index.js +55 -53
- package/lib/index.js.map +1 -1
- package/lib/utils/test.d.ts +1 -0
- package/lib/utils/test.js +8 -0
- package/lib/utils/test.js.map +1 -0
- package/package.json +57 -50
- package/styles/constants/_animations.scss +0 -1
- package/styles/constants/_colors.scss +1 -10
- package/styles/constants/_sizes.scss +6 -24
- package/styles/constants/_typography.scss +21 -10
- package/styles/constants/export.module.scss +1 -1
- package/styles/fonts.css +14 -65
- package/styles/helpers/_a11y.scss +8 -1
- package/styles/helpers/_error.scss +17 -0
- package/styles/helpers/_index.scss +1 -0
- package/styles/helpers/_input.scss +1 -1
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
$fontFamilyHeading: '
|
|
1
|
+
$fontFamilyHeading: 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
|
|
2
2
|
$fontWeightHeadingLight: 300 !default;
|
|
3
3
|
$fontWeightHeadingRegular: 400 !default;
|
|
4
4
|
$fontWeightHeadingBold: 500 !default;
|
|
5
|
-
|
|
6
|
-
$fontFamilyText: 'Open Sans', sans-serif !default;
|
|
5
|
+
$fontFamilyText: 'Roboto', 'Helvetica', 'Arial', sans-serif !default;
|
|
7
6
|
$fontWeightTextLight: 300 !default;
|
|
8
7
|
$fontWeightTextRegular: 400 !default;
|
|
9
|
-
$fontWeightTextBold:
|
|
8
|
+
$fontWeightTextBold: 500 !default;
|
|
10
9
|
|
|
11
10
|
// https://www.figma.com/file/8mVm6LTbp2Z0RaWWjTZoft/%F0%9F%90%9DHIVE?node-id=0%3A136
|
|
12
11
|
$fontSizeH1: 2rem !default;
|
|
@@ -18,7 +17,6 @@ $fontSizeBodyNormal: 1rem !default;
|
|
|
18
17
|
$fontSizeBodySmall: 0.875rem !default;
|
|
19
18
|
$fontSizeBodySmaller: 0.75rem !default;
|
|
20
19
|
$fontSizeBodyTiny: 0.625rem !default;
|
|
21
|
-
|
|
22
20
|
$letterSpacingH1: 0.25px !default;
|
|
23
21
|
$letterSpacingH2: 0 !default;
|
|
24
22
|
$letterSpacingH3: 0.15px !default;
|
|
@@ -28,7 +26,6 @@ $letterSpacingBodyNormal: 0.5px !default;
|
|
|
28
26
|
$letterSpacingBodySmall: 0.25px !default;
|
|
29
27
|
$letterSpacingBodySmaller: normal !default;
|
|
30
28
|
$letterSpacingBodyTiny: normal !default;
|
|
31
|
-
|
|
32
29
|
$lineHeightH1: normal !default;
|
|
33
30
|
$lineHeightH2: normal !default;
|
|
34
31
|
$lineHeightH3: normal !default;
|
|
@@ -39,33 +36,37 @@ $lineHeightBodySmaller: normal !default;
|
|
|
39
36
|
$lineHeightBodyTiny: normal !default;
|
|
40
37
|
|
|
41
38
|
@function override($override: false) {
|
|
42
|
-
@if
|
|
39
|
+
@if $override {
|
|
43
40
|
@return '!important';
|
|
44
41
|
}
|
|
42
|
+
|
|
45
43
|
@return '';
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
@mixin typographyH1($override: false) {
|
|
49
|
-
font-family: $fontFamilyHeading #{override($override)};
|
|
47
|
+
font-family: $fontFamilyHeading #{override($override)};
|
|
50
48
|
font-weight: $fontWeightHeadingBold #{override($override)};
|
|
51
49
|
font-size: $fontSizeH1 #{override($override)};
|
|
52
50
|
letter-spacing: $letterSpacingH1 #{override($override)};
|
|
53
51
|
line-height: $lineHeightH1 #{override($override)};
|
|
54
52
|
}
|
|
53
|
+
|
|
55
54
|
@mixin typographyH2($override: false) {
|
|
56
|
-
font-family: $fontFamilyHeading #{override($override)};
|
|
55
|
+
font-family: $fontFamilyHeading #{override($override)};
|
|
57
56
|
font-weight: $fontWeightHeadingBold #{override($override)};
|
|
58
57
|
font-size: $fontSizeH2 #{override($override)};
|
|
59
58
|
letter-spacing: $letterSpacingH2 #{override($override)};
|
|
60
59
|
line-height: $lineHeightH2 #{override($override)};
|
|
61
60
|
}
|
|
61
|
+
|
|
62
62
|
@mixin typographyH3($override: false) {
|
|
63
|
-
font-family: $fontFamilyHeading #{override($override)};
|
|
63
|
+
font-family: $fontFamilyHeading #{override($override)};
|
|
64
64
|
font-weight: $fontWeightHeadingBold #{override($override)};
|
|
65
65
|
font-size: $fontSizeH3 #{override($override)};
|
|
66
66
|
letter-spacing: $letterSpacingH3 #{override($override)};
|
|
67
67
|
line-height: $lineHeightH3 #{override($override)};
|
|
68
68
|
}
|
|
69
|
+
|
|
69
70
|
@mixin typographyButton($size: 'medium') {
|
|
70
71
|
font-family: $fontFamilyText;
|
|
71
72
|
line-height: $lineHeightButton;
|
|
@@ -75,23 +76,28 @@ $lineHeightBodyTiny: normal !default;
|
|
|
75
76
|
font-size: $fontSizeButton;
|
|
76
77
|
letter-spacing: $letterSpacingButton;
|
|
77
78
|
}
|
|
79
|
+
|
|
78
80
|
@if $size == 'small' {
|
|
79
81
|
font-weight: $fontWeightTextRegular;
|
|
80
82
|
font-size: $fontSizeButtonSmall;
|
|
81
83
|
letter-spacing: $letterSpacingButtonSmall;
|
|
82
84
|
}
|
|
83
85
|
}
|
|
86
|
+
|
|
84
87
|
@mixin typographyBodyWeight($weight: 'regular') {
|
|
85
88
|
@if $weight == 'regular' {
|
|
86
89
|
font-weight: $fontWeightTextRegular;
|
|
87
90
|
}
|
|
91
|
+
|
|
88
92
|
@if $weight == 'bold' {
|
|
89
93
|
font-weight: $fontWeightTextBold;
|
|
90
94
|
}
|
|
95
|
+
|
|
91
96
|
@if $weight == 'light' {
|
|
92
97
|
font-weight: $fontWeightTextLight;
|
|
93
98
|
}
|
|
94
99
|
}
|
|
100
|
+
|
|
95
101
|
@mixin typographyBodyNormal($weight: 'regular') {
|
|
96
102
|
font-family: $fontFamilyText;
|
|
97
103
|
font-size: $fontSizeBodyNormal;
|
|
@@ -100,6 +106,7 @@ $lineHeightBodyTiny: normal !default;
|
|
|
100
106
|
|
|
101
107
|
@include typographyBodyWeight($weight);
|
|
102
108
|
}
|
|
109
|
+
|
|
103
110
|
@mixin typographyBodySmall($weight: 'regular') {
|
|
104
111
|
font-family: $fontFamilyText;
|
|
105
112
|
font-size: $fontSizeBodySmall;
|
|
@@ -108,6 +115,7 @@ $lineHeightBodyTiny: normal !default;
|
|
|
108
115
|
|
|
109
116
|
@include typographyBodyWeight($weight);
|
|
110
117
|
}
|
|
118
|
+
|
|
111
119
|
@mixin typographyBodySmaller($weight: 'regular') {
|
|
112
120
|
font-family: $fontFamilyText;
|
|
113
121
|
font-size: $fontSizeBodySmaller;
|
|
@@ -116,6 +124,7 @@ $lineHeightBodyTiny: normal !default;
|
|
|
116
124
|
|
|
117
125
|
@include typographyBodyWeight($weight);
|
|
118
126
|
}
|
|
127
|
+
|
|
119
128
|
@mixin typographyBodyTiny($weight: 'regular') {
|
|
120
129
|
font-family: $fontFamilyText;
|
|
121
130
|
font-size: $fontSizeBodyTiny;
|
|
@@ -131,9 +140,11 @@ $lineHeightBodyTiny: normal !default;
|
|
|
131
140
|
h1 {
|
|
132
141
|
@include typographyH1($override);
|
|
133
142
|
}
|
|
143
|
+
|
|
134
144
|
h2 {
|
|
135
145
|
@include typographyH2($override);
|
|
136
146
|
}
|
|
147
|
+
|
|
137
148
|
h3 {
|
|
138
149
|
@include typographyH3($override);
|
|
139
150
|
}
|
package/styles/fonts.css
CHANGED
|
@@ -1,77 +1,26 @@
|
|
|
1
|
-
/*
|
|
2
|
-
|
|
3
|
-
/* ubuntu-300 - latin */
|
|
1
|
+
/* roboto-300 - latin */
|
|
4
2
|
@font-face {
|
|
5
|
-
font-family:
|
|
3
|
+
font-family: Roboto;
|
|
6
4
|
font-style: normal;
|
|
7
5
|
font-weight: 300;
|
|
8
|
-
src: url('../
|
|
9
|
-
|
|
10
|
-
/* IE6-IE8 */ url('../assets/ubuntu-v15-latin-300.woff2') format('woff2'),
|
|
11
|
-
/* Super Modern Browsers */ url('../assets/ubuntu-v15-latin-300.woff') format('woff'),
|
|
12
|
-
/* Modern Browsers */ url('../assets/ubuntu-v15-latin-300.ttf') format('truetype'),
|
|
13
|
-
/* Safari, Android, iOS */ url('../assets/ubuntu-v15-latin-300.svg#Ubuntu') format('svg'); /* Legacy iOS */
|
|
14
|
-
}
|
|
15
|
-
/* ubuntu-regular - latin */
|
|
16
|
-
@font-face {
|
|
17
|
-
font-family: 'Ubuntu';
|
|
18
|
-
font-style: normal;
|
|
19
|
-
font-weight: 400;
|
|
20
|
-
src: url('../assets/ubuntu-v15-latin-regular.eot'); /* IE9 Compat Modes */
|
|
21
|
-
src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url('../assets/ubuntu-v15-latin-regular.eot?#iefix') format('embedded-opentype'),
|
|
22
|
-
/* IE6-IE8 */ url('../assets/ubuntu-v15-latin-regular.woff2') format('woff2'),
|
|
23
|
-
/* Super Modern Browsers */ url('../assets/ubuntu-v15-latin-regular.woff') format('woff'),
|
|
24
|
-
/* Modern Browsers */ url('../assets/ubuntu-v15-latin-regular.ttf') format('truetype'),
|
|
25
|
-
/* Safari, Android, iOS */ url('../assets/ubuntu-v15-latin-regular.svg#Ubuntu') format('svg'); /* Legacy iOS */
|
|
26
|
-
}
|
|
27
|
-
/* ubuntu-500 - latin */
|
|
28
|
-
@font-face {
|
|
29
|
-
font-family: 'Ubuntu';
|
|
30
|
-
font-style: normal;
|
|
31
|
-
font-weight: 500;
|
|
32
|
-
src: url('../assets/ubuntu-v15-latin-500.eot'); /* IE9 Compat Modes */
|
|
33
|
-
src: local('Ubuntu Medium'), local('Ubuntu-Medium'), url('../assets/ubuntu-v15-latin-500.eot?#iefix') format('embedded-opentype'),
|
|
34
|
-
/* IE6-IE8 */ url('../assets/ubuntu-v15-latin-500.woff2') format('woff2'),
|
|
35
|
-
/* Super Modern Browsers */ url('../assets/ubuntu-v15-latin-500.woff') format('woff'),
|
|
36
|
-
/* Modern Browsers */ url('../assets/ubuntu-v15-latin-500.ttf') format('truetype'),
|
|
37
|
-
/* Safari, Android, iOS */ url('../assets/ubuntu-v15-latin-500.svg#Ubuntu') format('svg'); /* Legacy iOS */
|
|
6
|
+
src: url('../fonts/roboto-v27-latin-300.woff2') format('woff2'), url('../fonts/roboto-v27-latin-300.woff') format('woff'),
|
|
7
|
+
url('../fonts/roboto-v27-latin-300.ttf') format('truetype'), url('../fonts/roboto-v27-latin-300.svg#Roboto') format('svg'); /* Legacy iOS */
|
|
38
8
|
}
|
|
39
9
|
|
|
40
|
-
/*
|
|
10
|
+
/* roboto-regular - latin */
|
|
41
11
|
@font-face {
|
|
42
|
-
font-family:
|
|
43
|
-
font-style: normal;
|
|
44
|
-
font-weight: 300;
|
|
45
|
-
src: url('../assets/open-sans-v18-latin-300.eot'); /* IE9 Compat Modes */
|
|
46
|
-
src: local('Open Sans Light'), local('OpenSans-Light'), url('../assets/open-sans-v18-latin-300.eot?#iefix') format('embedded-opentype'),
|
|
47
|
-
/* IE6-IE8 */ url('../assets/open-sans-v18-latin-300.woff2') format('woff2'),
|
|
48
|
-
/* Super Modern Browsers */ url('../assets/open-sans-v18-latin-300.woff') format('woff'),
|
|
49
|
-
/* Modern Browsers */ url('../assets/open-sans-v18-latin-300.ttf') format('truetype'),
|
|
50
|
-
/* Safari, Android, iOS */ url('../assets/open-sans-v18-latin-300.svg#OpenSans') format('svg'); /* Legacy iOS */
|
|
51
|
-
}
|
|
52
|
-
/* open-sans-regular - latin */
|
|
53
|
-
@font-face {
|
|
54
|
-
font-family: 'Open Sans';
|
|
12
|
+
font-family: Roboto;
|
|
55
13
|
font-style: normal;
|
|
56
14
|
font-weight: 400;
|
|
57
|
-
src: url('../
|
|
58
|
-
|
|
59
|
-
url('../assets/open-sans-v18-latin-regular.eot?#iefix') format('embedded-opentype'),
|
|
60
|
-
/* IE6-IE8 */ url('../assets/open-sans-v18-latin-regular.woff2') format('woff2'),
|
|
61
|
-
/* Super Modern Browsers */ url('../assets/open-sans-v18-latin-regular.woff') format('woff'),
|
|
62
|
-
/* Modern Browsers */ url('../assets/open-sans-v18-latin-regular.ttf') format('truetype'),
|
|
63
|
-
/* Safari, Android, iOS */ url('../assets/open-sans-v18-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
|
|
15
|
+
src: url('../fonts/roboto-v27-latin-regular.woff2') format('woff2'), url('../fonts/roboto-v27-latin-regular.woff') format('woff'),
|
|
16
|
+
url('../fonts/roboto-v27-latin-regular.ttf') format('truetype'), url('../fonts/roboto-v27-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
|
|
64
17
|
}
|
|
65
|
-
|
|
18
|
+
|
|
19
|
+
/* roboto-500 - latin */
|
|
66
20
|
@font-face {
|
|
67
|
-
font-family:
|
|
21
|
+
font-family: Roboto;
|
|
68
22
|
font-style: normal;
|
|
69
|
-
font-weight:
|
|
70
|
-
src: url('../
|
|
71
|
-
|
|
72
|
-
url('../assets/open-sans-v18-latin-600.eot?#iefix') format('embedded-opentype'),
|
|
73
|
-
/* IE6-IE8 */ url('../assets/open-sans-v18-latin-600.woff2') format('woff2'),
|
|
74
|
-
/* Super Modern Browsers */ url('../assets/open-sans-v18-latin-600.woff') format('woff'),
|
|
75
|
-
/* Modern Browsers */ url('../assets/open-sans-v18-latin-600.ttf') format('truetype'),
|
|
76
|
-
/* Safari, Android, iOS */ url('../assets/open-sans-v18-latin-600.svg#OpenSans') format('svg'); /* Legacy iOS */
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
src: url('../fonts/roboto-v27-latin-500.woff2') format('woff2'), url('../fonts/roboto-v27-latin-500.woff') format('woff'),
|
|
25
|
+
url('../fonts/roboto-v27-latin-500.ttf') format('truetype'), url('../fonts/roboto-v27-latin-500.svg#Roboto') format('svg'); /* Legacy iOS */
|
|
77
26
|
}
|
|
@@ -4,9 +4,15 @@
|
|
|
4
4
|
box-shadow: inset 0 0 0 c.$outlineWidth c.$colorAccessibilityOutline;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
+
@mixin outlineAround {
|
|
8
|
+
box-shadow: 0 0 0 c.$outlineWidth c.$colorAccessibilityOutline;
|
|
9
|
+
}
|
|
10
|
+
|
|
7
11
|
@mixin outlineFormField {
|
|
8
12
|
border-color: c.$colorAccessibilityOutline;
|
|
9
|
-
|
|
13
|
+
|
|
14
|
+
// Border is also colored with the a11y color. We need to make the total visible outline width c.$outlineWidth,
|
|
15
|
+
// including the border
|
|
10
16
|
box-shadow: inset 0 0 0 (c.$outlineWidth - c.$borderWidth) c.$colorAccessibilityOutline;
|
|
11
17
|
|
|
12
18
|
// Do not remove outline for high-contrast modes
|
|
@@ -25,6 +31,7 @@
|
|
|
25
31
|
overflow: hidden;
|
|
26
32
|
border: 0;
|
|
27
33
|
white-space: nowrap;
|
|
34
|
+
|
|
28
35
|
// Without explicit top and left it causes rendering a scrollbar
|
|
29
36
|
top: 1px;
|
|
30
37
|
left: 1px;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@use '../constants' as c;
|
|
2
|
+
|
|
3
|
+
@mixin withError {
|
|
4
|
+
.withError {
|
|
5
|
+
position: relative;
|
|
6
|
+
padding-bottom: c.$errorHeight + c.$grid;
|
|
7
|
+
|
|
8
|
+
.errorContainer {
|
|
9
|
+
position: absolute;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
left: 0;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
height: c.$errorHeight;
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* doiuse-disable css-appearance */
|
|
4
4
|
appearance: menulist-button;
|
|
5
5
|
/* doiuse-enable css-appearance */
|
|
6
|
-
background-color: rgb(232
|
|
6
|
+
background-color: rgb(232 240 254) !important;
|
|
7
7
|
background-image: none !important;
|
|
8
8
|
color: -internal-light-dark(black, white) !important;
|
|
9
9
|
}
|