@hazelcast/ui 4.0.1-canary.9 → 4.0.2
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 +27 -175
- package/lib/components/Alert.js +3 -4
- package/lib/components/Alert.js.map +1 -1
- package/lib/components/Alert.module.css +111 -0
- package/lib/components/AppHeader/AppHeader.js +1 -1
- package/lib/components/AppHeader/AppHeader.js.map +1 -1
- package/lib/components/AppHeader/AppHeader.module.css +27 -0
- package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.js +1 -1
- package/lib/components/AppHeader/AppHeaderLogo/AppHeaderLogo.js.map +1 -1
- package/lib/components/AppHeader/AppHeaderLogo/{AppHeaderLogo.module.scss → AppHeaderLogo.module.css} +1 -4
- package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.js +1 -1
- package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.js.map +1 -1
- package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.module.css +18 -0
- package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.js +1 -1
- package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.js.map +1 -1
- package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.module.css +11 -0
- package/lib/components/AppHeader/SelectCluster/SelectCluster.js +1 -1
- package/lib/components/AppHeader/SelectCluster/SelectCluster.js.map +1 -1
- package/lib/components/AppHeader/SelectCluster/SelectCluster.module.css +75 -0
- package/lib/components/AppSidebar/AppSidebar.js +1 -1
- package/lib/components/AppSidebar/AppSidebar.js.map +1 -1
- package/lib/components/AppSidebar/{AppSidebar.module.scss → AppSidebar.module.css} +12 -18
- package/lib/components/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.js +1 -1
- package/lib/components/AppSidebar/AppSidebarFavoriteButton/AppSidebarFavoriteButton.js.map +1 -1
- package/lib/components/AppSidebar/AppSidebarFavoriteButton/{AppSidebarFavoriteButton.module.scss → AppSidebarFavoriteButton.module.css} +3 -5
- package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.js +1 -1
- package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.js.map +1 -1
- package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.module.css +11 -0
- package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.js +1 -1
- package/lib/components/AppSidebar/AppSidebarItem/AppSidebarItem.js.map +1 -1
- package/lib/components/AppSidebar/AppSidebarItem/{AppSidebarItem.module.scss → AppSidebarItem.module.css} +18 -20
- package/lib/components/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.js +1 -1
- package/lib/components/AppSidebar/AppSidebarMenuItemCounter/AppSidebarMenuItemCounter.js.map +1 -1
- package/lib/components/AppSidebar/AppSidebarMenuItemCounter/{AppSidebarMenuItemCounter.module.scss → AppSidebarMenuItemCounter.module.css} +5 -8
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.js +1 -1
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.js.map +1 -1
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.module.css +53 -0
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js +1 -1
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSectionExpandable.js.map +1 -1
- package/lib/components/AutocompleteField.js +1 -1
- package/lib/components/AutocompleteField.js.map +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/Badge.js.map +1 -1
- package/lib/components/{Badge.module.scss → Badge.module.css} +7 -5
- package/lib/components/Button.d.ts +0 -2
- package/lib/components/Button.js +3 -7
- package/lib/components/Button.js.map +1 -1
- package/lib/components/Calendar/Calendar.d.ts +0 -2
- package/lib/components/Calendar/Calendar.js +3 -3
- package/lib/components/Calendar/Calendar.js.map +1 -1
- package/lib/components/Calendar/Calendar.module.css +321 -0
- package/lib/components/Calendar/CalendarRange.js +5 -5
- package/lib/components/Calendar/CalendarRange.js.map +1 -1
- package/lib/components/Calendar/CalendarRange.module.css +19 -0
- package/lib/components/Calendar/components/CalendarHeader.js +4 -4
- package/lib/components/Calendar/components/CalendarHeader.js.map +1 -1
- package/lib/components/Calendar/components/CalendarInput.d.ts +0 -2
- package/lib/components/Calendar/components/CalendarInput.js +1 -1
- package/lib/components/Calendar/components/CalendarInput.js.map +1 -1
- package/lib/components/Calendar/components/CalendarTime.js +2 -2
- package/lib/components/Calendar/components/CalendarTime.js.map +1 -1
- package/lib/components/Calendar/components/{CalendarTime.module.scss → CalendarTime.module.css} +16 -21
- package/lib/components/Card.js +1 -1
- package/lib/components/Card.js.map +1 -1
- package/lib/components/Card.module.css +97 -0
- package/lib/components/Carousel.js +3 -3
- package/lib/components/Carousel.js.map +1 -1
- package/lib/components/Carousel.module.css +53 -0
- package/lib/components/CenteredLoader.js +1 -1
- package/lib/components/CenteredLoader.js.map +1 -1
- package/lib/components/{CenteredLoader.module.scss → CenteredLoader.module.css} +1 -3
- package/lib/components/CircularProgressBar.js +1 -1
- package/lib/components/CircularProgressBar.js.map +1 -1
- package/lib/components/{CircularProgressBar.module.scss → CircularProgressBar.module.css} +8 -8
- package/lib/components/ContextMenu.js +1 -1
- package/lib/components/ContextMenu.js.map +1 -1
- package/lib/components/ContextMenu.module.css +34 -0
- package/lib/components/Dialog.js +1 -1
- package/lib/components/Dialog.js.map +1 -1
- package/lib/components/{Dialog.module.scss → Dialog.module.css} +11 -13
- package/lib/components/EmptyState.js +1 -1
- package/lib/components/EmptyState.js.map +1 -1
- package/lib/components/EmptyState.module.css +96 -0
- package/lib/components/Error.js +1 -1
- package/lib/components/Error.js.map +1 -1
- package/lib/components/Error.module.css +13 -0
- package/lib/components/FieldHeader.d.ts +0 -2
- package/lib/components/FieldHeader.js +3 -3
- package/lib/components/FieldHeader.js.map +1 -1
- package/lib/components/FieldHeader.module.css +22 -0
- package/lib/components/Help.js +3 -3
- package/lib/components/Help.js.map +1 -1
- package/lib/components/Help.module.css +7 -0
- package/lib/components/Icon.js +3 -3
- package/lib/components/Icon.js.map +1 -1
- package/lib/components/Icon.module.css +31 -0
- package/lib/components/IconButton.d.ts +1 -2
- package/lib/components/IconButton.js +3 -7
- package/lib/components/IconButton.js.map +1 -1
- package/lib/components/InteractiveList.js +2 -2
- package/lib/components/InteractiveList.js.map +1 -1
- package/lib/components/InteractiveList.module.css +3 -3
- package/lib/components/InteractiveListFormik.js +1 -2
- package/lib/components/InteractiveListFormik.js.map +1 -1
- package/lib/components/Label.js +1 -1
- package/lib/components/Label.js.map +1 -1
- package/lib/components/Label.module.css +13 -0
- package/lib/components/Link.js +1 -1
- package/lib/components/Link.js.map +1 -1
- package/lib/components/Link.module.css +65 -0
- package/lib/components/Loader.js +1 -1
- package/lib/components/Loader.js.map +1 -1
- package/lib/components/Loader.module.css +91 -0
- package/lib/components/Modal.js +2 -2
- package/lib/components/Modal.js.map +1 -1
- package/lib/components/Notification.js +3 -3
- package/lib/components/Notification.js.map +1 -1
- package/lib/components/Notification.module.css +64 -0
- package/lib/components/NumberBadge.js +1 -1
- package/lib/components/NumberBadge.js.map +1 -1
- package/lib/components/NumberBadge.module.css +14 -0
- package/lib/components/NumberField.js +3 -3
- package/lib/components/NumberField.js.map +1 -1
- package/lib/components/Overlay.js +1 -1
- package/lib/components/Overlay.js.map +1 -1
- package/lib/components/Overlay.module.css +112 -0
- package/lib/components/Pagination.js +1 -1
- package/lib/components/Pagination.js.map +1 -1
- package/lib/components/Pagination.module.css +118 -0
- package/lib/components/PasswordField.js +3 -3
- package/lib/components/PasswordField.js.map +1 -1
- package/lib/components/{PasswordField.module.scss → PasswordField.module.css} +2 -7
- package/lib/components/Popover.js +1 -1
- package/lib/components/Popover.js.map +1 -1
- package/lib/components/Popover.module.css +8 -0
- package/lib/components/Radio.js +1 -1
- package/lib/components/Radio.js.map +1 -1
- package/lib/components/Radio.module.css +122 -0
- package/lib/components/RadioGroup.js +1 -1
- package/lib/components/RadioGroup.js.map +1 -1
- package/lib/components/RadioGroup.module.css +31 -0
- package/lib/components/SegmentedControl.d.ts +1 -3
- package/lib/components/SegmentedControl.js +7 -5
- package/lib/components/SegmentedControl.js.map +1 -1
- package/lib/components/SegmentedControl.module.css +94 -0
- package/lib/components/Select/CheckableSelectField.js +2 -2
- package/lib/components/Select/CheckableSelectField.js.map +1 -1
- package/lib/components/Select/MultiSelectField.js +1 -1
- package/lib/components/Select/MultiSelectField.js.map +1 -1
- package/lib/components/Select/SelectField.js +1 -1
- package/lib/components/Select/SelectField.js.map +1 -1
- package/lib/components/Slider.js +1 -1
- package/lib/components/Slider.js.map +1 -1
- package/lib/components/Slider.module.css +315 -0
- package/lib/components/Table/Cell.js +1 -1
- package/lib/components/Table/Cell.js.map +1 -1
- package/lib/components/Table/{Cell.module.scss → Cell.module.css} +12 -15
- package/lib/components/Table/EnhancedRenderers.js +1 -1
- package/lib/components/Table/EnhancedRenderers.js.map +1 -1
- package/lib/components/Table/Header.js +1 -1
- package/lib/components/Table/Header.js.map +1 -1
- package/lib/components/Table/Header.module.css +129 -0
- package/lib/components/Table/Row.js +1 -1
- package/lib/components/Table/Row.js.map +1 -1
- package/lib/components/Table/Row.module.css +76 -0
- package/lib/components/Table/Table.d.ts +2 -1
- package/lib/components/Table/Table.js +7 -7
- package/lib/components/Table/Table.js.map +1 -1
- package/lib/components/Table/Table.module.css +28 -0
- package/lib/components/Table/TableContent.js +1 -1
- package/lib/components/Table/TableContent.js.map +1 -1
- package/lib/components/Table/features/columnsSelection/CellCopyablePopover.js +1 -1
- package/lib/components/Table/features/columnsSelection/CellCopyablePopover.js.map +1 -1
- package/lib/components/Table/features/columnsSelection/{CellCopyablePopover.module.scss → CellCopyablePopover.module.css} +1 -3
- package/lib/components/Table/features/columnsSelection/ContextMenu/ContextMenu.js +1 -1
- package/lib/components/Table/features/columnsSelection/ContextMenu/ContextMenu.js.map +1 -1
- package/lib/components/Terminal.js +1 -1
- package/lib/components/Terminal.js.map +1 -1
- package/lib/components/Terminal.module.css +123 -0
- package/lib/components/TextArea.d.ts +0 -2
- package/lib/components/TextArea.js +2 -2
- package/lib/components/TextArea.js.map +1 -1
- package/lib/components/TextField.d.ts +0 -2
- package/lib/components/TextField.js +5 -6
- package/lib/components/TextField.js.map +1 -1
- package/lib/components/TextField.module.css +5 -0
- package/lib/components/TimeField.js +3 -3
- package/lib/components/TimeField.js.map +1 -1
- package/lib/components/Toast/Toast.d.ts +15 -0
- package/lib/components/Toast/Toast.js +28 -0
- package/lib/components/Toast/Toast.js.map +1 -0
- package/lib/components/Toast/Toast.module.css +98 -0
- package/lib/components/Toast/index.d.ts +4 -0
- package/lib/components/Toast/index.js +5 -0
- package/lib/components/Toast/index.js.map +1 -0
- package/lib/components/TruncatedText.js +1 -1
- package/lib/components/TruncatedText.js.map +1 -1
- package/lib/components/TruncatedText.module.css +14 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/old/Alert.d.ts +33 -0
- package/lib/old/Alert.js +51 -0
- package/lib/old/Alert.js.map +1 -0
- package/lib/old/AutocompleteField.js +1 -1
- package/lib/old/AutocompleteField.js.map +1 -1
- package/lib/old/Notification.d.ts +25 -0
- package/lib/old/Notification.js +39 -0
- package/lib/old/Notification.js.map +1 -0
- package/lib/old/NumberField.js +3 -3
- package/lib/old/NumberField.js.map +1 -1
- package/lib/old/PasswordField.d.ts +1 -2
- package/lib/old/PasswordField.js +1 -1
- package/lib/old/PasswordField.js.map +1 -1
- package/lib/old/Select/MultiSelectField.js +1 -3
- package/lib/old/Select/MultiSelectField.js.map +1 -1
- package/lib/old/Select/SelectField.js +1 -1
- package/lib/old/Select/SelectField.js.map +1 -1
- package/lib/old/TextArea.js +2 -2
- package/lib/old/TextArea.js.map +1 -1
- package/lib/old/TextField.js +2 -2
- package/lib/old/TextField.js.map +1 -1
- package/lib/{components → old}/Toast.js +3 -3
- package/lib/old/Toast.js.map +1 -0
- package/lib/old/index.d.ts +7 -0
- package/lib/old/index.js +4 -0
- package/lib/old/index.js.map +1 -1
- package/lib/utils/styleConstants.d.ts +13 -0
- package/lib/utils/styleConstants.js +14 -0
- package/lib/utils/styleConstants.js.map +1 -0
- package/package.json +2 -1
- package/styles/variables.css +24 -0
- package/lib/components/AppHeader/AppHeader.module.scss +0 -29
- package/lib/components/AppHeader/AppHeaderMenu/AppHeaderMenu.module.scss +0 -20
- package/lib/components/AppHeader/EnvironmentBadge/EnvironmentBadge.module.scss +0 -13
- package/lib/components/AppHeader/SelectCluster/SelectCluster.module.scss +0 -101
- package/lib/components/AppSidebar/AppSidebarFavorites/AppSidebarFavorites.module.scss +0 -13
- package/lib/components/AppSidebar/AppSidebarSection/AppSidebarSection.module.scss +0 -58
- package/lib/components/Calendar/Calendar.module.scss +0 -185
- package/lib/components/Calendar/CalendarRange.module.scss +0 -21
- package/lib/components/Card.module.scss +0 -92
- package/lib/components/Carousel.module.scss +0 -43
- package/lib/components/ContextMenu.module.scss +0 -37
- package/lib/components/EmptyState.module.scss +0 -87
- package/lib/components/Error.module.scss +0 -12
- package/lib/components/FieldHeader.module.scss +0 -20
- package/lib/components/Help.module.scss +0 -9
- package/lib/components/Icon.module.scss +0 -33
- package/lib/components/Label.module.scss +0 -12
- package/lib/components/Link.module.scss +0 -64
- package/lib/components/Loader.module.scss +0 -74
- package/lib/components/NumberBadge.module.scss +0 -13
- package/lib/components/Overlay.module.scss +0 -108
- package/lib/components/Pagination.module.scss +0 -117
- package/lib/components/Popover.module.scss +0 -12
- package/lib/components/Radio.module.scss +0 -112
- package/lib/components/RadioGroup.module.scss +0 -21
- package/lib/components/SegmentedControl.module.scss +0 -81
- package/lib/components/Slider.module.scss +0 -277
- package/lib/components/Table/Header.module.scss +0 -128
- package/lib/components/Table/Row.module.scss +0 -59
- package/lib/components/Table/Table.module.scss +0 -31
- package/lib/components/Terminal.module.scss +0 -109
- package/lib/components/Toast.js.map +0 -1
- package/lib/components/Tooltip.module.scss +0 -45
- package/lib/components/TruncatedText.module.scss +0 -9
- package/styles/constants/export.module.scss +0 -8
- /package/lib/components/Table/{TableContent.module.scss → TableContent.module.css} +0 -0
- /package/lib/components/Table/features/columnsSelection/ContextMenu/{ContextMenu.module.scss → ContextMenu.module.css} +0 -0
- /package/lib/components/{TimeField.module.scss → TimeField.module.css} +0 -0
- /package/lib/{components/Alert.module.scss → old/AlertLegacy.module.scss} +0 -0
- /package/lib/{components/Notification.module.scss → old/NotificationLegacy.module.scss} +0 -0
- /package/lib/{components → old}/Toast.d.ts +0 -0
- /package/lib/{components/Toast.module.scss → old/ToastLegacy.module.scss} +0 -0
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
|
|
3
|
-
.iconContainer {
|
|
4
|
-
display: inline-block;
|
|
5
|
-
|
|
6
|
-
// Note: Font-size reset in order break inheritance.
|
|
7
|
-
font-size: 0;
|
|
8
|
-
|
|
9
|
-
.small {
|
|
10
|
-
width: c.$iconSizeSmall;
|
|
11
|
-
height: c.$iconSizeSmall;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.smallMedium {
|
|
15
|
-
width: c.$iconSizeSmallMedium;
|
|
16
|
-
height: c.$iconSizeSmallMedium;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.medium {
|
|
20
|
-
width: c.$iconSizeMedium;
|
|
21
|
-
height: c.$iconSizeMedium;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.large {
|
|
25
|
-
width: c.$iconSizeLarge;
|
|
26
|
-
height: c.$iconSizeLarge;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.xlarge {
|
|
30
|
-
width: c.$iconSizeXLarge;
|
|
31
|
-
height: c.$iconSizeXLarge;
|
|
32
|
-
}
|
|
33
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
@use '../../styles/helpers' as h;
|
|
3
|
-
|
|
4
|
-
@mixin link {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
text-decoration: none;
|
|
9
|
-
border: none;
|
|
10
|
-
background: none;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
|
|
13
|
-
&:hover,
|
|
14
|
-
&.hover,
|
|
15
|
-
&:focus,
|
|
16
|
-
&.focus,
|
|
17
|
-
&:active,
|
|
18
|
-
&.active {
|
|
19
|
-
/* doiuse-disable text-decoration */
|
|
20
|
-
text-decoration: underline solid;
|
|
21
|
-
outline: transparent solid c.$outlineWidth;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
&:focus,
|
|
25
|
-
&.focus {
|
|
26
|
-
@include h.outlineSimple;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.primary {
|
|
30
|
-
color: c.$colorPrimary;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&.secondary {
|
|
34
|
-
color: c.$colorTextSecondary;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
&.contrast {
|
|
38
|
-
color: c.$colorNeutralLighter;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.link {
|
|
43
|
-
@include link;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.normal {
|
|
47
|
-
@include c.typographyBodyNormal;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.small {
|
|
51
|
-
@include c.typographyBodySmall;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
.inherit {
|
|
55
|
-
font-family: inherit;
|
|
56
|
-
font-size: inherit;
|
|
57
|
-
letter-spacing: inherit;
|
|
58
|
-
line-height: inherit;
|
|
59
|
-
font-weight: inherit;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.bold {
|
|
63
|
-
@include c.typographyBodyWeight('bold');
|
|
64
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
@use 'sass:math';
|
|
2
|
-
@use '../../styles/constants' as c;
|
|
3
|
-
|
|
4
|
-
$itemsCnt: 8;
|
|
5
|
-
$duration: c.$durationLoader;
|
|
6
|
-
$delayStep: math.div($duration, $itemsCnt);
|
|
7
|
-
$opacityMax: 1;
|
|
8
|
-
$opacityMin: 0.2;
|
|
9
|
-
|
|
10
|
-
.loader {
|
|
11
|
-
&.small {
|
|
12
|
-
width: c.$iconSizeSmall;
|
|
13
|
-
height: c.$iconSizeSmall;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&.smallMedium {
|
|
17
|
-
width: c.$iconSizeSmallMedium;
|
|
18
|
-
height: c.$iconSizeSmallMedium;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&.medium {
|
|
22
|
-
width: c.$iconSizeMedium;
|
|
23
|
-
height: c.$iconSizeMedium;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
&.large {
|
|
27
|
-
width: c.$iconSizeLarge;
|
|
28
|
-
height: c.$iconSizeLarge;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&.xlarge {
|
|
32
|
-
width: c.$iconSizeXLarge;
|
|
33
|
-
height: c.$iconSizeXLarge;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&.primary {
|
|
37
|
-
color: c.$colorPrimaryDark;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.contrast {
|
|
41
|
-
color: c.$colorNeutralWhite;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&.inherit {
|
|
45
|
-
color: inherit;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
> line {
|
|
49
|
-
animation-duration: $duration;
|
|
50
|
-
animation-name: fade;
|
|
51
|
-
animation-iteration-count: infinite;
|
|
52
|
-
animation-fill-mode: both;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@for $i from 1 through $itemsCnt {
|
|
56
|
-
> line:nth-child(#{$i}) {
|
|
57
|
-
animation-delay: $delayStep * ($i - 1);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@keyframes fade {
|
|
63
|
-
0% {
|
|
64
|
-
opacity: $opacityMax;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
50% {
|
|
68
|
-
opacity: $opacityMin;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
100% {
|
|
72
|
-
opacity: $opacityMax;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
|
|
3
|
-
.numberBadge {
|
|
4
|
-
display: inline-flex;
|
|
5
|
-
justify-content: center;
|
|
6
|
-
align-items: center;
|
|
7
|
-
border-radius: c.$borderRadiusBadge;
|
|
8
|
-
padding: 0 c.$grid * 1.25;
|
|
9
|
-
background-color: c.$colorNeutral;
|
|
10
|
-
color: c.$colorText;
|
|
11
|
-
|
|
12
|
-
@include c.typographyBodySmall;
|
|
13
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
@use 'sass:color';
|
|
2
|
-
@use '../../styles/constants' as c;
|
|
3
|
-
@use '../../styles/helpers' as h;
|
|
4
|
-
|
|
5
|
-
.overlayed {
|
|
6
|
-
overflow: hidden;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.portal {
|
|
10
|
-
width: 100vw;
|
|
11
|
-
height: 100vh;
|
|
12
|
-
position: fixed;
|
|
13
|
-
z-index: c.$zIndex1000;
|
|
14
|
-
pointer-events: none;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.modal {
|
|
18
|
-
background: color.adjust(c.$colorOverlayBackground, $alpha: -0.1);
|
|
19
|
-
width: 100vw;
|
|
20
|
-
height: 100vh;
|
|
21
|
-
z-index: c.$zIndex1000;
|
|
22
|
-
padding: c.$grid * 5;
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
pointer-events: all;
|
|
25
|
-
animation: fadeIn 500ms;
|
|
26
|
-
|
|
27
|
-
@keyframes fadeIn {
|
|
28
|
-
from {
|
|
29
|
-
opacity: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
to {
|
|
33
|
-
opacity: 1;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
// Since Overlay is full screen, we don't have to show an outline
|
|
38
|
-
&:focus {
|
|
39
|
-
outline: transparent;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.wrapper {
|
|
43
|
-
width: 100%;
|
|
44
|
-
margin-left: auto;
|
|
45
|
-
margin-right: auto;
|
|
46
|
-
box-sizing: border-box;
|
|
47
|
-
display: flex;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
height: 100%;
|
|
50
|
-
max-height: 100%;
|
|
51
|
-
|
|
52
|
-
&.normal {
|
|
53
|
-
max-width: c.$overlayContentMaxWidth;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.fullscreen {
|
|
57
|
-
max-width: 100%;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
.header {
|
|
61
|
-
$iconSize: c.$grid * 9;
|
|
62
|
-
|
|
63
|
-
display: flex;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
overflow: hidden;
|
|
67
|
-
flex-shrink: 0;
|
|
68
|
-
margin-bottom: c.$grid * 9;
|
|
69
|
-
padding: 0 c.$grid * 21; // close button width
|
|
70
|
-
|
|
71
|
-
@media only screen and (width <= 640px) {
|
|
72
|
-
padding: 0 $iconSize;
|
|
73
|
-
|
|
74
|
-
.closeText {
|
|
75
|
-
@include h.visuallyHidden;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
.close {
|
|
80
|
-
position: absolute;
|
|
81
|
-
right: c.$grid * 5;
|
|
82
|
-
top: c.$grid * 5;
|
|
83
|
-
padding: 0;
|
|
84
|
-
|
|
85
|
-
.closeIcon {
|
|
86
|
-
width: $iconSize;
|
|
87
|
-
height: $iconSize;
|
|
88
|
-
color: c.$colorText;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.icon {
|
|
93
|
-
margin-right: c.$grid * 2.5;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
.title {
|
|
97
|
-
margin: 0;
|
|
98
|
-
overflow: hidden;
|
|
99
|
-
word-break: break-word;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.content {
|
|
104
|
-
flex: 1 1 auto;
|
|
105
|
-
overflow: auto;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
@use '../../styles/helpers' as h;
|
|
3
|
-
|
|
4
|
-
.container {
|
|
5
|
-
display: flex;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
align-items: center;
|
|
8
|
-
|
|
9
|
-
> *:not(:last-child) {
|
|
10
|
-
margin-right: c.$grid * 4.5;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.rows {
|
|
14
|
-
display: flex;
|
|
15
|
-
align-items: flex-end;
|
|
16
|
-
|
|
17
|
-
> *:first-child {
|
|
18
|
-
margin-right: c.$grid * 5;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.shownItems {
|
|
23
|
-
@include c.typographyBodySmall;
|
|
24
|
-
|
|
25
|
-
color: c.$colorTextSecondary;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.buttons {
|
|
29
|
-
display: flex;
|
|
30
|
-
align-items: center;
|
|
31
|
-
|
|
32
|
-
> *:not(:last-child) {
|
|
33
|
-
margin-right: c.$grid * 2;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
// Override Button styles
|
|
37
|
-
.button {
|
|
38
|
-
color: c.$colorTextSecondary;
|
|
39
|
-
background-color: c.$colorNeutralLighter;
|
|
40
|
-
border: 1px solid;
|
|
41
|
-
border-color: c.$colorNeutralLight;
|
|
42
|
-
height: c.$inputHeightSmall;
|
|
43
|
-
border-radius: c.$borderRadius;
|
|
44
|
-
|
|
45
|
-
@include c.typographyBodySmall;
|
|
46
|
-
|
|
47
|
-
.outline {
|
|
48
|
-
display: none;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.body {
|
|
52
|
-
padding: 0 c.$grid * 2.5;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&:hover,
|
|
56
|
-
&:active,
|
|
57
|
-
&.selected {
|
|
58
|
-
color: c.$colorText;
|
|
59
|
-
border-color: c.$colorPrimary;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:focus-visible {
|
|
63
|
-
color: c.$colorText;
|
|
64
|
-
border-color: c.$colorAccessibilityOutline;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
// Override IconButton styles
|
|
70
|
-
.iconButton {
|
|
71
|
-
display: flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
background-color: c.$colorNeutralLighter;
|
|
74
|
-
border: 1px solid;
|
|
75
|
-
border-color: c.$colorNeutralLight;
|
|
76
|
-
height: c.$inputHeightSmall;
|
|
77
|
-
padding: 0 c.$grid * 2;
|
|
78
|
-
|
|
79
|
-
&:hover,
|
|
80
|
-
&:active,
|
|
81
|
-
&.selected {
|
|
82
|
-
border-color: c.$colorPrimary;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
&:focus,
|
|
86
|
-
&:focus-visible {
|
|
87
|
-
box-shadow: none;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.pageJumpForm {
|
|
92
|
-
display: flex;
|
|
93
|
-
align-items: center;
|
|
94
|
-
|
|
95
|
-
.inputContainer {
|
|
96
|
-
// Comfortable to use with up to 4-digit numbers and small enough to not take much space
|
|
97
|
-
// max-width: c.$grid * 14;
|
|
98
|
-
// min-width: c.$grid * 14;
|
|
99
|
-
width: c.$grid * 14;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.rowsPerPage {
|
|
104
|
-
display: flex;
|
|
105
|
-
align-items: center;
|
|
106
|
-
|
|
107
|
-
.label {
|
|
108
|
-
margin-right: c.$grid * 2;
|
|
109
|
-
margin-bottom: 0;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
:global .hz-select-field__control {
|
|
113
|
-
// Comfortable to use with up to 4-digit numbers and small enough to not take much space
|
|
114
|
-
width: c.$grid * 22;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants/index' as c;
|
|
2
|
-
|
|
3
|
-
$contentBorderRadius: 3px;
|
|
4
|
-
|
|
5
|
-
.root {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
background: c.$colorNeutralWhite;
|
|
9
|
-
border-bottom-left-radius: $contentBorderRadius;
|
|
10
|
-
border-bottom-right-radius: $contentBorderRadius;
|
|
11
|
-
box-shadow: 0 1px 3px 0 rgb(0 0 0 / 17%);
|
|
12
|
-
}
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
@use '../../styles/helpers' as h;
|
|
3
|
-
|
|
4
|
-
.wrapper {
|
|
5
|
-
display: inline-flex;
|
|
6
|
-
|
|
7
|
-
// inline-flex changes vertical align compared to display: flex
|
|
8
|
-
// setting vertical-align allows us to easily use radio button
|
|
9
|
-
// inline e.g. next to the text
|
|
10
|
-
// Most common use case will be still the usage in a form where parent
|
|
11
|
-
// wrapper controls this.
|
|
12
|
-
vertical-align: bottom;
|
|
13
|
-
align-items: center;
|
|
14
|
-
cursor: pointer;
|
|
15
|
-
|
|
16
|
-
@include c.typographyBodySmall;
|
|
17
|
-
|
|
18
|
-
// hide native checkbox
|
|
19
|
-
input {
|
|
20
|
-
@include h.visuallyHidden;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.helperText {
|
|
24
|
-
margin-left: c.$grid * 0.5;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// default visible checkmark
|
|
28
|
-
.checkmark {
|
|
29
|
-
// using min-{size} because the circle can be broken in a flex wrapper
|
|
30
|
-
min-width: c.$iconSizeSmall;
|
|
31
|
-
min-height: c.$iconSizeSmall;
|
|
32
|
-
border: c.$borderWidth solid c.$colorNeutralLight;
|
|
33
|
-
border-radius: 50%;
|
|
34
|
-
|
|
35
|
-
// because of ~ and + selectors used below, we need to keep the current order in DOM and
|
|
36
|
-
// fix it visually with order property
|
|
37
|
-
order: -1;
|
|
38
|
-
display: flex;
|
|
39
|
-
align-items: center;
|
|
40
|
-
justify-content: center;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&.inline {
|
|
44
|
-
.checkmark {
|
|
45
|
-
// in case we have inline mode, we should have a padding like native radio button has
|
|
46
|
-
margin-left: c.$grid;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
& > input:checked ~ .checkmark {
|
|
51
|
-
background-color: c.$colorSuccess;
|
|
52
|
-
border-color: c.$colorSuccess;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
Hover
|
|
57
|
-
*/
|
|
58
|
-
&:hover,
|
|
59
|
-
&.hover {
|
|
60
|
-
input ~ .checkmark {
|
|
61
|
-
border-color: c.$colorPrimary;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* Style the indicator (dot/circle) */
|
|
66
|
-
.checkmark::after {
|
|
67
|
-
content: '';
|
|
68
|
-
width: 1.5 * c.$grid;
|
|
69
|
-
height: 1.5 * c.$grid;
|
|
70
|
-
border-radius: 50%;
|
|
71
|
-
background: transparent;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
input:checked ~ .checkmark::after {
|
|
75
|
-
background: c.$colorNeutralWhite;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.name {
|
|
79
|
-
overflow: hidden;
|
|
80
|
-
padding-left: c.$grid * 1.25;
|
|
81
|
-
padding-right: c.$grid * 1.25;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.disabled {
|
|
85
|
-
cursor: not-allowed;
|
|
86
|
-
color: c.$colorNeutralLight;
|
|
87
|
-
|
|
88
|
-
input ~ .checkmark {
|
|
89
|
-
border-color: c.$colorNeutralLight;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
input:checked ~ .checkmark {
|
|
93
|
-
background-color: c.$colorNeutral;
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
// Error state
|
|
98
|
-
&.error input:checked ~ .checkmark {
|
|
99
|
-
border-color: c.$colorError;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
// :checked, :not(:checked) is added here to make the specificity more important than the error's state
|
|
103
|
-
// where we make the radio as error if and only if it's checked
|
|
104
|
-
&.focus > input:not(:checked),
|
|
105
|
-
&.focus > input:checked,
|
|
106
|
-
input:focus:not(:checked),
|
|
107
|
-
input:focus:checked {
|
|
108
|
-
~ .checkmark {
|
|
109
|
-
@include h.outlineFormField;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
@use '../../styles/helpers' as h;
|
|
3
|
-
@include h.withError;
|
|
4
|
-
|
|
5
|
-
.radioGroup {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
|
|
9
|
-
&:not(.inline) > *:not(:last-child) {
|
|
10
|
-
// we need to provide spacing between radios if they're in a vertical column
|
|
11
|
-
margin-bottom: c.$grid;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&.inline {
|
|
15
|
-
flex-direction: row;
|
|
16
|
-
|
|
17
|
-
> *:not(:first-child) {
|
|
18
|
-
margin-left: c.$grid;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
@use '../../styles/constants' as c;
|
|
2
|
-
@use '../../styles/helpers' as h;
|
|
3
|
-
|
|
4
|
-
.group {
|
|
5
|
-
display: flex;
|
|
6
|
-
|
|
7
|
-
.groupLabel {
|
|
8
|
-
@include h.visuallyHidden;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.option {
|
|
12
|
-
position: relative;
|
|
13
|
-
box-sizing: border-box;
|
|
14
|
-
height: c.$inputHeight;
|
|
15
|
-
min-width: c.$grid * 37.5;
|
|
16
|
-
border: 1px solid c.$colorNeutralLight;
|
|
17
|
-
border-bottom-width: 6px;
|
|
18
|
-
background-color: c.$colorNeutralLighter;
|
|
19
|
-
color: c.$colorTextSecondary;
|
|
20
|
-
cursor: pointer;
|
|
21
|
-
|
|
22
|
-
.label {
|
|
23
|
-
display: flex;
|
|
24
|
-
justify-content: center;
|
|
25
|
-
align-items: center;
|
|
26
|
-
height: 100%;
|
|
27
|
-
padding-left: c.$grid * 2;
|
|
28
|
-
padding-right: c.$grid * 2;
|
|
29
|
-
cursor: pointer;
|
|
30
|
-
|
|
31
|
-
@include c.typographyBodyNormal('bold');
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&.checked {
|
|
35
|
-
color: c.$colorText;
|
|
36
|
-
border-bottom-color: c.$colorSuccess;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&:first-of-type {
|
|
40
|
-
border-top-left-radius: c.$borderRadius;
|
|
41
|
-
border-bottom-left-radius: c.$borderRadius;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&:last-of-type {
|
|
45
|
-
border-top-right-radius: c.$borderRadius;
|
|
46
|
-
border-bottom-right-radius: c.$borderRadius;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
// Border collapse
|
|
50
|
-
&:not(:first-of-type) {
|
|
51
|
-
margin-left: -1px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
&:hover {
|
|
55
|
-
color: c.$colorText;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:focus-visible {
|
|
59
|
-
// Do not remove outline for high-contrast modes
|
|
60
|
-
// https://stackoverflow.com/a/52616313
|
|
61
|
-
outline: c.$outlineWidth solid transparent;
|
|
62
|
-
color: c.$colorText;
|
|
63
|
-
position: relative;
|
|
64
|
-
z-index: c.$zIndex200;
|
|
65
|
-
|
|
66
|
-
@include h.outlineAround;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&.small {
|
|
71
|
-
.option {
|
|
72
|
-
min-width: c.$grid * 28.125;
|
|
73
|
-
height: c.$inputHeightSmall;
|
|
74
|
-
border-bottom-width: 4px;
|
|
75
|
-
|
|
76
|
-
.label {
|
|
77
|
-
@include c.typographyBodySmall('bold');
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|