@kaizen/components 1.78.0 → 1.79.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/dist/cjs/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.cjs +1 -1
- package/dist/esm/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.mjs +1 -1
- package/dist/styles.css +9823 -10017
- package/package.json +27 -26
- package/src/Avatar/Avatar.module.css +137 -135
- package/src/AvatarGroup/AvatarGroup.module.css +58 -56
- package/src/Badge/Badge.module.css +98 -96
- package/src/Brand/Brand.module.css +5 -3
- package/src/BrandMoment/BrandMoment.module.css +147 -145
- package/src/BrandMoment/_docs/ExampleHeaders.module.scss +68 -66
- package/src/Button/Button/Button.module.scss +135 -133
- package/src/Button/GenericButton/GenericButton.module.scss +81 -79
- package/src/Button/IconButton/IconButton.module.scss +20 -18
- package/src/ButtonGroup/ButtonGroup.module.css +38 -36
- package/src/ButtonGroup/ButtonGroup.module.scss +41 -39
- package/src/Calendar/CalendarPopover/CalendarPopover.module.scss +19 -17
- package/src/Calendar/CalendarRange/CalendarRange.module.scss +48 -46
- package/src/Calendar/CalendarSingle/CalendarSingle.module.scss +12 -10
- package/src/Calendar/LegacyCalendarRange/LegacyCalendarRange.module.scss +20 -18
- package/src/Calendar/baseCalendarClassNames.module.scss +148 -146
- package/src/Card/Card.module.css +91 -89
- package/src/Checkbox/Checkbox/Checkbox.module.scss +89 -87
- package/src/Checkbox/CheckboxField/CheckboxField.module.scss +32 -30
- package/src/Checkbox/CheckboxGroup/CheckboxGroup.module.scss +11 -9
- package/src/ClearButton/ClearButton.module.scss +32 -30
- package/src/Collapsible/Collapsible/Collapsible.module.scss +87 -85
- package/src/Collapsible/CollapsibleGroup/CollapsibleGroup.module.scss +9 -7
- package/src/Collapsible/ExpertAdviceCollapsible/ExpertAdviceCollapsible.module.scss +35 -33
- package/src/Container/Container.module.scss +11 -9
- package/src/Content/Content.module.scss +10 -8
- package/src/DateInput/DateInput/DateInput.module.scss +7 -5
- package/src/DateInput/DateInputDescription/DateInputDescription.module.scss +15 -13
- package/src/DateInput/DateInputWithIconButton/DateInputWithIconButton.module.scss +32 -30
- package/src/DatePicker/DatePicker.module.scss +7 -5
- package/src/DatePicker/subcomponents/DateInputField/DateInputField.module.scss +5 -3
- package/src/DateRangePicker/DateRangePicker.module.scss +75 -73
- package/src/Divider/Divider.module.scss +35 -33
- package/src/EmptyState/EmptyState.module.css +95 -93
- package/src/ErrorPage/ErrorPage.module.scss +4 -2
- package/src/FieldGroup/FieldGroup.module.scss +8 -6
- package/src/FieldMessage/FieldMessage.module.scss +53 -51
- package/src/Filter/Filter/Filter.module.css +5 -3
- package/src/Filter/Filter/subcomponents/FilterContents/FilterContents.module.css +4 -2
- package/src/Filter/Filter/subcomponents/FilterPopover/FilterPopover.module.css +8 -6
- package/src/Filter/FilterBar/FilterBar.module.css +17 -15
- package/src/Filter/FilterBar/subcomponents/ClearAllButton/ClearAllButton.module.css +7 -5
- package/src/Filter/FilterBar/subcomponents/FilterBarButton/FilterBarButton.module.css +4 -2
- package/src/Filter/FilterBar/subcomponents/FilterBarMultiSelect/FilterBarMultiSelect.module.css +5 -3
- package/src/Filter/FilterBar/subcomponents/FilterBarSelect/FilterBarSelect.tsx +1 -1
- package/src/Filter/FilterButton/FilterButton/FilterButton.module.css +19 -17
- package/src/Filter/FilterButton/FilterButtonRemovable/FilterButtonRemovable.module.css +4 -2
- package/src/Filter/FilterButton/subcomponents/FilterButtonBase/FilterButtonBase.module.scss +42 -40
- package/src/Filter/FilterDatePicker/subcomponents/DateInputField/DateInputField.module.scss +4 -2
- package/src/Filter/FilterDatePicker/subcomponents/FilterDatePickerField/FilterDatePickerField.module.scss +6 -4
- package/src/Filter/FilterDateRangePicker/FilterDateRangePicker.module.css +7 -5
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeDisplayLabel/DateRangeDisplayLabel.module.scss +5 -3
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeInputField/DateRangeInputField.module.scss +36 -34
- package/src/Filter/FilterDateRangePicker/subcomponents/DateRangeValidationMessage/DateRangeValidationMessage.module.scss +5 -3
- package/src/Filter/FilterDateRangePicker/subcomponents/FilterDateRangePickerField/FilterDateRangePickerField.module.scss +7 -5
- package/src/Filter/FilterMultiSelect/subcomponents/ListBox/ListBox.module.scss +19 -17
- package/src/Filter/FilterMultiSelect/subcomponents/ListBoxSection/ListBoxSection.module.scss +14 -12
- package/src/Filter/FilterMultiSelect/subcomponents/LoadMoreButton/LoadMoreButton.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuFooter/MenuFooter.module.scss +7 -5
- package/src/Filter/FilterMultiSelect/subcomponents/MenuLayout/MenuLoadingSkeleton/MenuLoadingSkeleton.module.scss +8 -6
- package/src/Filter/FilterMultiSelect/subcomponents/MenuPopup/MenuPopup.module.scss +17 -15
- package/src/Filter/FilterMultiSelect/subcomponents/MultiSelectOption/MultiSelectOption.module.scss +90 -88
- package/src/Filter/FilterMultiSelect/subcomponents/NoResults/NoResults.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/SearchInput/SearchInput.module.scss +5 -3
- package/src/Filter/FilterMultiSelect/subcomponents/SectionDivider/SectionDivider.module.scss +4 -2
- package/src/Filter/FilterMultiSelect/subcomponents/SelectionControlButton/SelectionControlButton.module.scss +52 -50
- package/src/Filter/FilterMultiSelect/subcomponents/Trigger/RemovableFilterTrigger/RemovableFilterTrigger.module.css +4 -2
- package/src/Filter/FilterSelect/FilterSelect.module.css +9 -7
- package/src/Focusable/Focusable.module.scss +4 -2
- package/src/GuidanceBlock/GuidanceBlock.module.css +212 -210
- package/src/Heading/Heading.module.scss +87 -85
- package/src/Icon/_docs/icon.module.scss +35 -33
- package/src/Icon/subcomponents/SVG/SVG.module.scss +26 -24
- package/src/Illustration/subcomponents/Base/Base.module.scss +100 -98
- package/src/Input/Input/Input.module.scss +217 -215
- package/src/Input/InputRange/InputRange.module.scss +138 -136
- package/src/Input/InputSearch/InputSearch.module.scss +155 -152
- package/src/Label/Label.module.scss +82 -80
- package/src/LabelledMessage/LabelledMessage.module.scss +8 -6
- package/src/LikertScaleLegacy/LikertScaleLegacy.module.scss +266 -264
- package/src/Link/Link.module.css +115 -113
- package/src/LinkButton/LinkButton.module.css +5 -3
- package/src/Loading/LoadingGraphic/LoadingGraphic.module.scss +12 -10
- package/src/Loading/LoadingHeading/LoadingHeading.module.scss +44 -42
- package/src/Loading/LoadingInput/LoadingInput.module.scss +11 -9
- package/src/Loading/LoadingParagraph/LoadingParagraph.module.scss +47 -45
- package/src/Loading/LoadingSpinner/LoadingSpinner.module.css +22 -20
- package/src/Loading/_mixins.scss +11 -9
- package/src/Menu/subcomponents/MenuDropdown/MenuDropdown.module.scss +18 -16
- package/src/Menu/subcomponents/MenuHeading/MenuHeading.module.scss +8 -6
- package/src/Menu/subcomponents/MenuItem/MenuItem.module.scss +74 -72
- package/src/Menu/subcomponents/MenuList/MenuList.module.scss +14 -12
- package/src/Menu/subcomponents/StatelessMenu/StatelessMenu.module.scss +4 -2
- package/src/Modal/ConfirmationModal/ConfirmationModal.module.scss +126 -124
- package/src/Modal/ContextModal/ContextModal.module.scss +72 -70
- package/src/Modal/GenericModal/GenericModal.module.scss +92 -90
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleDescription/ModalAccessibleDescription.module.scss +4 -2
- package/src/Modal/GenericModal/subcomponents/ModalAccessibleLabel/ModalAccessibleLabel.module.scss +25 -23
- package/src/Modal/GenericModal/subcomponents/ModalBody/ModalBody.module.scss +5 -3
- package/src/Modal/GenericModal/subcomponents/ModalFooter/ModalFooter.module.scss +55 -53
- package/src/Modal/GenericModal/subcomponents/ModalHeader/ModalHeader.module.scss +17 -15
- package/src/Modal/InputEditModal/InputEditModal.module.scss +32 -30
- package/src/MultiSelect/MultiSelect.module.scss +7 -5
- package/src/MultiSelect/subcomponents/Checkbox/Checkbox.module.scss +59 -57
- package/src/MultiSelect/subcomponents/MultiSelectOptionField/MultiSelectOptionField.module.scss +55 -53
- package/src/MultiSelect/subcomponents/MultiSelectOptions/MultiSelectOptions.module.scss +8 -6
- package/src/MultiSelect/subcomponents/MultiSelectToggle/MultiSelectToggle.module.scss +66 -64
- package/src/MultiSelect/subcomponents/Popover/Popover.module.scss +15 -13
- package/src/Notification/ToastNotification/ToastNotificationsList/ToastNotificationsList.module.scss +21 -19
- package/src/Notification/subcomponents/GenericNotification/GenericNotification.module.scss +112 -110
- package/src/Notification/subcomponents/GenericNotification/_mixins.scss +278 -276
- package/src/Notification/subcomponents/NotificationIcon/NotificationIcon.module.css +4 -2
- package/src/Pagination/Pagination.module.scss +39 -37
- package/src/Pagination/subcomponents/DirectionalLink/DirectionalLink.module.scss +11 -9
- package/src/Pagination/subcomponents/PaginationLink/PaginationLink.module.scss +53 -51
- package/src/Pagination/subcomponents/TruncateIndicator/TruncateIndicator.module.css +10 -8
- package/src/Popover/Popover.module.scss +187 -185
- package/src/ProgressBar/ProgressBar.module.scss +75 -73
- package/src/ProgressBar/subcomponents/Label/Label.module.scss +6 -4
- package/src/Radio/Radio/Radio.module.scss +60 -58
- package/src/Radio/RadioField/RadioField.module.scss +33 -32
- package/src/Radio/RadioGroup/RadioGroup.module.scss +18 -16
- package/src/RichTextEditor/EditableRichTextContent/EditableRichTextContent.module.scss +32 -30
- package/src/RichTextEditor/RichTextContent/RichTextContent.module.scss +4 -2
- package/src/RichTextEditor/RichTextEditor/RichTextEditor.module.scss +76 -74
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToggleIconButton/ToggleIconButton.module.scss +92 -90
- package/src/RichTextEditor/RichTextEditor/subcomponents/Toolbar/Toolbar.module.scss +5 -3
- package/src/RichTextEditor/RichTextEditor/subcomponents/ToolbarSection/ToolbarSection.module.scss +12 -10
- package/src/RichTextEditor/_mixins.scss +1 -1
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkModal/LinkModal.module.scss +5 -3
- package/src/RichTextEditor/utils/plugins/LinkManager/components/LinkPopover/LinkPopover.module.scss +22 -20
- package/src/SearchField/SearchField.module.scss +5 -3
- package/src/Select/Select.module.scss +17 -0
- package/src/Skirt/Skirt.module.scss +24 -22
- package/src/Skirt/subcomponents/SkirtCard/SkirtCard.module.scss +13 -11
- package/src/Slider/Slider.module.scss +34 -32
- package/src/SplitButton/SplitButton.module.scss +5 -3
- package/src/SplitButton/subcomponents/ActionButton/ActionButton.module.scss +7 -5
- package/src/SplitButton/subcomponents/BaseButton/BaseButton.module.scss +65 -63
- package/src/SplitButton/subcomponents/DropdownButton/DropdownButton.module.scss +19 -17
- package/src/Table/Table.module.scss +251 -249
- package/src/Tabs/subcomponents/Tab.module.scss +81 -79
- package/src/Tabs/subcomponents/TabList.module.scss +8 -6
- package/src/Tabs/subcomponents/TabPanel.module.scss +10 -8
- package/src/Tag/Tag.module.scss +166 -164
- package/src/Tag/subcomponents/LiveIcon/LiveIcon.module.css +42 -40
- package/src/Text/Text.module.scss +57 -55
- package/src/TextArea/TextArea.module.css +103 -100
- package/src/TextAreaField/TextAreaField.module.scss +14 -12
- package/src/TextField/TextField.module.scss +16 -14
- package/src/Tile/MultiActionTile/MultiActionTile.module.scss +7 -5
- package/src/Tile/TileGrid/TileGrid.module.scss +18 -16
- package/src/Tile/subcomponents/GenericTile/GenericTile.module.scss +123 -121
- package/src/TimeField/TimeField.module.scss +57 -55
- package/src/TimeField/subcomponents/TimeSegment/TimeSegment.module.scss +37 -35
- package/src/TitleBlockZen/TitleBlockZen.module.scss +507 -505
- package/src/TitleBlockZen/subcomponents/MainActions.module.scss +11 -9
- package/src/TitleBlockZen/subcomponents/MobileActions.module.scss +146 -144
- package/src/TitleBlockZen/subcomponents/NavigationTabs.module.scss +105 -103
- package/src/TitleBlockZen/subcomponents/TitleBlockMenuItem.module.scss +74 -72
- package/src/TitleBlockZen/subcomponents/Toolbar.module.scss +28 -26
- package/src/ToggleSwitch/ToggleSwitch/ToggleSwitch.module.scss +105 -103
- package/src/ToggleSwitch/ToggleSwitchField/ToggleSwitchField.module.scss +11 -9
- package/src/Tooltip/Tooltip.module.scss +139 -137
- package/src/VisuallyHidden/VisuallyHidden.module.scss +10 -8
- package/src/Well/Well.module.css +104 -102
- package/src/Workflow/subcomponents/Footer/components/FooterActions/FooterActions.module.css +14 -12
- package/src/Workflow/subcomponents/Footer/components/ProgressStepper/ProgressStepper.module.css +101 -99
- package/src/Workflow/subcomponents/Footer/components/Root/FooterRoot.module.css +19 -17
- package/src/Workflow/subcomponents/Header/components/Actions/Actions.module.css +14 -12
- package/src/Workflow/subcomponents/Header/components/Branding/Branding.module.css +12 -10
- package/src/Workflow/subcomponents/Header/components/Root/Root.module.css +19 -17
- package/src/Workflow/subcomponents/Header/components/Titles/Titles.module.css +19 -17
- package/src/Workflow/subcomponents/Main/Main.module.css +5 -3
- package/src/Workflow/subcomponents/Wrapper/Wrapper.module.css +8 -6
- package/src/__next__/Button/Button.module.css +220 -218
- package/src/__next__/Button/subcomponents/ButtonContent/ButtonContent.module.css +17 -15
- package/src/__next__/Button/subcomponents/PendingContent/PendingContent.module.css +15 -13
- package/src/__next__/Icon/Icon.module.css +40 -38
- package/src/__next__/Icon/_docs/Icon.docs.module.css +13 -11
- package/src/__next__/Menu/Menu.module.css +30 -28
- package/src/__next__/Menu/MenuItem.module.css +41 -39
- package/src/__next__/Select/Select.module.scss +8 -6
- package/src/__next__/Select/subcomponents/ListBox/ListBox.module.scss +12 -10
- package/src/__next__/Select/subcomponents/ListBoxSection/ListBoxSection.module.scss +15 -13
- package/src/__next__/Select/subcomponents/Option/Option.module.scss +53 -51
- package/src/__next__/Select/subcomponents/SectionDivider/SectionDivider.module.scss +8 -6
- package/src/__next__/Select/subcomponents/SelectPopoverContents/SelectPopoverContents.module.scss +4 -2
- package/src/__next__/Select/subcomponents/SelectToggle/SelectToggle.module.scss +105 -103
- package/src/__next__/Tabs/subcomponents/Tab/Tab.module.css +81 -79
- package/src/__next__/Tabs/subcomponents/TabList/TabList.module.css +56 -54
- package/src/__next__/Tabs/subcomponents/TabPanel/TabPanel.module.css +10 -8
- package/src/__next__/Tag/RemovableTag/RemovableTag.module.scss +6 -4
- package/src/__next__/Tag/RemovableTag/subcomponents/RemoveButton.module.scss +26 -24
- package/src/__next__/Tag/Tag/Tag.module.scss +56 -54
- package/src/__next__/Tooltip/OverlayArrow.module.scss +40 -38
- package/src/__next__/Tooltip/Tooltip.module.scss +39 -37
- package/src/__next__/Tooltip/_docs/ApiSpecification.mdx +2 -2
- package/src/__next__/Tooltip/_docs/Tooltip.docs.stories.tsx +15 -30
- package/src/__next__/Tooltip/_docs/Tooltip.mdx +1 -1
- package/src/__next__/Tooltip/_docs/Tooltip.spec.stories.tsx +21 -58
- package/src/__next__/Tooltip/_docs/Tooltip.stories.tsx +2 -2
- package/src/utils/AppearanceAnim.module.scss +14 -12
|
@@ -4,306 +4,308 @@
|
|
|
4
4
|
@import '~@kaizen/design-tokens/sass/spacing';
|
|
5
5
|
@import '~@kaizen/design-tokens/sass/color';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
//
|
|
9
|
-
|
|
10
|
-
$
|
|
11
|
-
$row-height
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
color: $color-purple-800;
|
|
16
|
-
display: block;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
@mixin anchor-reset-pseudo-states {
|
|
20
|
-
&:hover,
|
|
21
|
-
&:active,
|
|
22
|
-
&:focus {
|
|
7
|
+
@layer kz-components {
|
|
8
|
+
// Taken from design-tokens/sass/shadow
|
|
9
|
+
// we need control of the x and y offset in this component
|
|
10
|
+
$box-shadow-color-sm: rgb(53, 55, 74, 0.09);
|
|
11
|
+
$row-height: 60px;
|
|
12
|
+
$row-height-data-variant: 48px;
|
|
13
|
+
|
|
14
|
+
@mixin anchor-reset {
|
|
23
15
|
text-decoration: none;
|
|
16
|
+
color: $color-purple-800;
|
|
17
|
+
display: block;
|
|
24
18
|
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
// Special Table-only button reset
|
|
28
|
-
@mixin button-reset {
|
|
29
|
-
appearance: none;
|
|
30
|
-
background: transparent;
|
|
31
|
-
border: none;
|
|
32
|
-
font: inherit;
|
|
33
|
-
margin: 0;
|
|
34
|
-
padding: 0;
|
|
35
|
-
transition: none; // override Murmur global styles :(
|
|
36
|
-
outline: none;
|
|
37
|
-
}
|
|
38
19
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
display: flex;
|
|
46
|
-
align-items: stretch;
|
|
47
|
-
text-align: start;
|
|
48
|
-
justify-content: flex-start;
|
|
49
|
-
// The 8px usually makes the height of the header cell 40px
|
|
50
|
-
padding: 8px $spacing-md;
|
|
51
|
-
// This is required as so the tooltip will display directly above the header cell
|
|
52
|
-
position: relative;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.headerRowCellNoWrap {
|
|
56
|
-
.headerRowCellLabel {
|
|
57
|
-
text-overflow: ellipsis;
|
|
58
|
-
overflow: hidden;
|
|
59
|
-
white-space: nowrap;
|
|
20
|
+
@mixin anchor-reset-pseudo-states {
|
|
21
|
+
&:hover,
|
|
22
|
+
&:active,
|
|
23
|
+
&:focus {
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
60
26
|
}
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.headerRowCellAlignCenter {
|
|
64
|
-
justify-content: center;
|
|
65
|
-
text-align: center;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.headerRowCellAlignEnd {
|
|
69
|
-
justify-content: flex-end;
|
|
70
|
-
text-align: end;
|
|
71
|
-
}
|
|
72
27
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.headerRowCell.headerRowCellNoWrap .headerRowCellContent {
|
|
86
|
-
max-width: 100%;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.headerRowCellButton {
|
|
90
|
-
@include button-reset;
|
|
91
|
-
@include anchor-reset;
|
|
92
|
-
|
|
93
|
-
display: flex;
|
|
94
|
-
align-items: stretch;
|
|
95
|
-
width: 100%;
|
|
96
|
-
// Ensures that the 100% doesn't go outside of the `headerRowCell` width
|
|
97
|
-
box-sizing: border-box;
|
|
28
|
+
// Special Table-only button reset
|
|
29
|
+
@mixin button-reset {
|
|
30
|
+
appearance: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
border: none;
|
|
33
|
+
font: inherit;
|
|
34
|
+
margin: 0;
|
|
35
|
+
padding: 0;
|
|
36
|
+
transition: none; // override Murmur global styles :(
|
|
37
|
+
outline: none;
|
|
38
|
+
}
|
|
98
39
|
|
|
99
|
-
|
|
40
|
+
.container {
|
|
41
|
+
width: 100%;
|
|
42
|
+
margin-bottom: $spacing-sm;
|
|
43
|
+
}
|
|
100
44
|
|
|
101
|
-
|
|
102
|
-
|
|
45
|
+
.headerRowCell {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: stretch;
|
|
48
|
+
text-align: start;
|
|
49
|
+
justify-content: flex-start;
|
|
50
|
+
// The 8px usually makes the height of the header cell 40px
|
|
51
|
+
padding: 8px $spacing-md;
|
|
52
|
+
// This is required as so the tooltip will display directly above the header cell
|
|
103
53
|
position: relative;
|
|
54
|
+
}
|
|
104
55
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
left: 50%;
|
|
111
|
-
transform: translate(-50%, -50%);
|
|
112
|
-
width: calc(100% + #{$focus-ring-offset});
|
|
113
|
-
height: calc(100% + #{$focus-ring-offset});
|
|
114
|
-
content: '';
|
|
115
|
-
position: absolute;
|
|
116
|
-
background: transparent;
|
|
117
|
-
border-color: $color-blue-500;
|
|
118
|
-
border-width: $border-focus-ring-border-width;
|
|
119
|
-
border-style: $border-focus-ring-border-style;
|
|
120
|
-
border-radius: $border-focus-ring-border-radius;
|
|
56
|
+
.headerRowCellNoWrap {
|
|
57
|
+
.headerRowCellLabel {
|
|
58
|
+
text-overflow: ellipsis;
|
|
59
|
+
overflow: hidden;
|
|
60
|
+
white-space: nowrap;
|
|
121
61
|
}
|
|
122
62
|
}
|
|
123
|
-
}
|
|
124
63
|
|
|
125
|
-
.
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
&:focus-visible::after {
|
|
129
|
-
border-color: $color-blue-100;
|
|
64
|
+
.headerRowCellAlignCenter {
|
|
65
|
+
justify-content: center;
|
|
66
|
+
text-align: center;
|
|
130
67
|
}
|
|
131
|
-
}
|
|
132
68
|
|
|
133
|
-
.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
// Ensures that the 100% doesn't go outside of the `headerRowCell` width
|
|
138
|
-
box-sizing: border-box;
|
|
139
|
-
}
|
|
69
|
+
.headerRowCellAlignEnd {
|
|
70
|
+
justify-content: flex-end;
|
|
71
|
+
text-align: end;
|
|
72
|
+
}
|
|
140
73
|
|
|
141
|
-
.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
flex: 1 1 100%;
|
|
145
|
-
width: 100%;
|
|
146
|
-
}
|
|
74
|
+
.headerRowCellCheckbox {
|
|
75
|
+
margin-inline-end: 10px;
|
|
76
|
+
}
|
|
147
77
|
|
|
148
|
-
.
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
78
|
+
// The .headerRowCell wrapper is required to increase the specificity, as so
|
|
79
|
+
// we can override the `Tooltip` component's styling.
|
|
80
|
+
.headerRowCell .headerRowCellTooltip {
|
|
81
|
+
display: flex;
|
|
82
|
+
align-items: stretch;
|
|
83
|
+
max-width: 100%;
|
|
84
|
+
}
|
|
152
85
|
|
|
153
|
-
.
|
|
154
|
-
|
|
155
|
-
|
|
86
|
+
.headerRowCell.headerRowCellNoWrap .headerRowCellContent {
|
|
87
|
+
max-width: 100%;
|
|
88
|
+
}
|
|
156
89
|
|
|
157
|
-
.
|
|
158
|
-
|
|
90
|
+
.headerRowCellButton {
|
|
91
|
+
@include button-reset;
|
|
92
|
+
@include anchor-reset;
|
|
93
|
+
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: stretch;
|
|
96
|
+
width: 100%;
|
|
97
|
+
// Ensures that the 100% doesn't go outside of the `headerRowCell` width
|
|
98
|
+
box-sizing: border-box;
|
|
99
|
+
|
|
100
|
+
@include anchor-reset-pseudo-states;
|
|
101
|
+
|
|
102
|
+
&:focus-visible {
|
|
103
|
+
outline: none;
|
|
104
|
+
position: relative;
|
|
105
|
+
|
|
106
|
+
&::after {
|
|
107
|
+
// This offset provide enough gap on reverse for contrast ratios
|
|
108
|
+
$focus-ring-offset: calc((#{$border-focus-ring-border-width} * 2) + 1px);
|
|
109
|
+
|
|
110
|
+
top: 50%;
|
|
111
|
+
left: 50%;
|
|
112
|
+
transform: translate(-50%, -50%);
|
|
113
|
+
width: calc(100% + #{$focus-ring-offset});
|
|
114
|
+
height: calc(100% + #{$focus-ring-offset});
|
|
115
|
+
content: '';
|
|
116
|
+
position: absolute;
|
|
117
|
+
background: transparent;
|
|
118
|
+
border-color: $color-blue-500;
|
|
119
|
+
border-width: $border-focus-ring-border-width;
|
|
120
|
+
border-style: $border-focus-ring-border-style;
|
|
121
|
+
border-radius: $border-focus-ring-border-radius;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
159
124
|
}
|
|
160
125
|
|
|
161
|
-
.headerRowCellButtonReversed
|
|
126
|
+
.headerRowCellButtonReversed {
|
|
162
127
|
color: $color-white;
|
|
128
|
+
|
|
129
|
+
&:focus-visible::after {
|
|
130
|
+
border-color: $color-blue-100;
|
|
131
|
+
}
|
|
163
132
|
}
|
|
164
|
-
}
|
|
165
133
|
|
|
166
|
-
.
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
// the proceeding cards
|
|
173
|
-
box-shadow: 0 4px 6px rgba(53, 55, 74, 0.04);
|
|
174
|
-
border: solid 1px rgba($color-purple-700-rgb, 0.1);
|
|
175
|
-
transition:
|
|
176
|
-
box-shadow $animation-duration-rapid,
|
|
177
|
-
border-color $animation-duration-rapid,
|
|
178
|
-
margin $animation-duration-rapid,
|
|
179
|
-
padding $animation-duration-rapid,
|
|
180
|
-
width $animation-duration-rapid;
|
|
181
|
-
background: $color-white;
|
|
182
|
-
|
|
183
|
-
@include anchor-reset-pseudo-states;
|
|
184
|
-
|
|
185
|
-
&:not(:first-child) {
|
|
186
|
-
margin-top: -1px;
|
|
134
|
+
.headerRowCellNoButton {
|
|
135
|
+
display: flex;
|
|
136
|
+
align-items: stretch;
|
|
137
|
+
width: 100%;
|
|
138
|
+
// Ensures that the 100% doesn't go outside of the `headerRowCell` width
|
|
139
|
+
box-sizing: border-box;
|
|
187
140
|
}
|
|
188
141
|
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
142
|
+
.headerRowCellLabelAndIcons {
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
flex: 1 1 100%;
|
|
146
|
+
width: 100%;
|
|
192
147
|
}
|
|
193
148
|
|
|
194
|
-
|
|
195
|
-
|
|
149
|
+
.headerRowCellTooltipIcon {
|
|
150
|
+
color: $color-blue-500;
|
|
151
|
+
margin-inline-end: $spacing-xs;
|
|
196
152
|
}
|
|
197
153
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
154
|
+
.headerRowCellIcon {
|
|
155
|
+
color: rgb($color-purple-800-rgb, 0.7);
|
|
156
|
+
height: 20px;
|
|
201
157
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
$focus-ring-offset: calc(#{$border-focus-ring-border-width} + 2px);
|
|
205
|
-
|
|
206
|
-
top: 50%;
|
|
207
|
-
left: 50%;
|
|
208
|
-
transform: translate(-50%, -50%);
|
|
209
|
-
width: calc(100% + #{$focus-ring-offset});
|
|
210
|
-
height: calc(100% + #{$focus-ring-offset});
|
|
211
|
-
content: '';
|
|
212
|
-
position: absolute;
|
|
213
|
-
background: transparent;
|
|
214
|
-
border-color: $color-blue-500;
|
|
215
|
-
border-width: $border-focus-ring-border-width;
|
|
216
|
-
border-style: $border-focus-ring-border-style;
|
|
217
|
-
border-radius: inherit;
|
|
158
|
+
.headerRowCellActive & {
|
|
159
|
+
color: $color-purple-800;
|
|
218
160
|
}
|
|
219
|
-
}
|
|
220
161
|
|
|
221
|
-
|
|
222
|
-
|
|
162
|
+
.headerRowCellButtonReversed & {
|
|
163
|
+
color: $color-white;
|
|
164
|
+
}
|
|
223
165
|
}
|
|
224
|
-
}
|
|
225
166
|
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
167
|
+
.card {
|
|
168
|
+
@include button-reset;
|
|
169
|
+
// These css properties are required for when the rows are anchor elements
|
|
170
|
+
@include anchor-reset;
|
|
171
|
+
|
|
172
|
+
// This is an optical hack to stop the card shadow from overlapping over
|
|
173
|
+
// the proceeding cards
|
|
174
|
+
box-shadow: 0 4px 6px rgb(53, 55, 74, 0.04);
|
|
175
|
+
border: solid 1px rgb($color-purple-700-rgb, 0.1);
|
|
176
|
+
transition:
|
|
177
|
+
box-shadow $animation-duration-rapid,
|
|
178
|
+
border-color $animation-duration-rapid,
|
|
179
|
+
margin $animation-duration-rapid,
|
|
180
|
+
padding $animation-duration-rapid,
|
|
181
|
+
width $animation-duration-rapid;
|
|
182
|
+
background: $color-white;
|
|
183
|
+
|
|
184
|
+
@include anchor-reset-pseudo-states;
|
|
185
|
+
|
|
186
|
+
&:not(:first-child) {
|
|
187
|
+
margin-top: -1px;
|
|
188
|
+
}
|
|
232
189
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
}
|
|
190
|
+
&:last-child {
|
|
191
|
+
border-bottom-left-radius: $border-solid-border-radius;
|
|
192
|
+
border-bottom-right-radius: $border-solid-border-radius;
|
|
193
|
+
}
|
|
238
194
|
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
}
|
|
195
|
+
&:hover {
|
|
196
|
+
will-change: box-shadow, border-color, margin, padding, width;
|
|
197
|
+
}
|
|
242
198
|
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
}
|
|
199
|
+
&:focus-visible {
|
|
200
|
+
outline: none;
|
|
201
|
+
position: relative;
|
|
202
|
+
|
|
203
|
+
&::after {
|
|
204
|
+
// This offset provide enough gap on on reverse for contrast ratios
|
|
205
|
+
$focus-ring-offset: calc(#{$border-focus-ring-border-width} + 2px);
|
|
206
|
+
|
|
207
|
+
top: 50%;
|
|
208
|
+
left: 50%;
|
|
209
|
+
transform: translate(-50%, -50%);
|
|
210
|
+
width: calc(100% + #{$focus-ring-offset});
|
|
211
|
+
height: calc(100% + #{$focus-ring-offset});
|
|
212
|
+
content: '';
|
|
213
|
+
position: absolute;
|
|
214
|
+
background: transparent;
|
|
215
|
+
border-color: $color-blue-500;
|
|
216
|
+
border-width: $border-focus-ring-border-width;
|
|
217
|
+
border-style: $border-focus-ring-border-style;
|
|
218
|
+
border-radius: inherit;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
250
221
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
}
|
|
222
|
+
&.well {
|
|
223
|
+
margin-top: $spacing-sm;
|
|
224
|
+
}
|
|
225
|
+
}
|
|
254
226
|
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
padding-right: $spacing-sm;
|
|
262
|
-
}
|
|
227
|
+
// target the first child card when there is a heading present
|
|
228
|
+
[role='rowgroup'] + .card {
|
|
229
|
+
border-top-left-radius: $border-solid-border-radius;
|
|
230
|
+
border-top-right-radius: $border-solid-border-radius;
|
|
231
|
+
box-shadow: $shadow-small-box-shadow;
|
|
232
|
+
}
|
|
263
233
|
|
|
264
|
-
.
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
234
|
+
.card:first-child {
|
|
235
|
+
border-top-left-radius: $border-solid-border-radius;
|
|
236
|
+
border-top-right-radius: $border-solid-border-radius;
|
|
237
|
+
box-shadow: $shadow-small-box-shadow;
|
|
238
|
+
}
|
|
268
239
|
|
|
269
|
-
|
|
270
|
-
|
|
240
|
+
.row {
|
|
241
|
+
display: flex;
|
|
271
242
|
}
|
|
272
243
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
244
|
+
.well {
|
|
245
|
+
border-color: $border-borderless-border-color;
|
|
246
|
+
box-shadow: none;
|
|
247
|
+
border-radius: $border-solid-border-radius;
|
|
248
|
+
background-color: $color-gray-300;
|
|
249
|
+
margin-bottom: $spacing-sm;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.popout {
|
|
253
|
+
box-shadow: $shadow-large-box-shadow;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.expanded {
|
|
257
|
+
position: relative;
|
|
258
|
+
z-index: 1;
|
|
259
|
+
margin-left: calc(#{$spacing-sm} * -1);
|
|
260
|
+
margin-right: calc(#{$spacing-sm} * -1);
|
|
261
|
+
padding-left: $spacing-sm;
|
|
262
|
+
padding-right: $spacing-sm;
|
|
276
263
|
}
|
|
277
|
-
}
|
|
278
264
|
|
|
279
|
-
.
|
|
280
|
-
|
|
281
|
-
|
|
265
|
+
.hasHoverState {
|
|
266
|
+
width: 100%;
|
|
267
|
+
text-align: left;
|
|
268
|
+
cursor: pointer;
|
|
282
269
|
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
align-items: center;
|
|
270
|
+
&.expanded {
|
|
271
|
+
width: calc(100% + #{$spacing-md});
|
|
272
|
+
}
|
|
287
273
|
|
|
288
|
-
|
|
289
|
-
|
|
274
|
+
&:focus,
|
|
275
|
+
&:hover {
|
|
276
|
+
background-color: $color-gray-100;
|
|
277
|
+
}
|
|
290
278
|
}
|
|
291
279
|
|
|
292
|
-
.
|
|
293
|
-
|
|
280
|
+
.rowCell {
|
|
281
|
+
// These css properties are required for when the cells are anchor elements
|
|
282
|
+
@include anchor-reset;
|
|
283
|
+
|
|
284
|
+
min-height: $row-height;
|
|
285
|
+
padding: 0 $spacing-md;
|
|
286
|
+
display: flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
|
|
289
|
+
.defaultSpacing & {
|
|
290
|
+
padding: $spacing-sm $spacing-md;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.dataVariant & {
|
|
294
|
+
min-height: $row-height-data-variant;
|
|
295
|
+
}
|
|
294
296
|
}
|
|
295
|
-
}
|
|
296
297
|
|
|
297
|
-
.rowCellAlignCenter {
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
}
|
|
298
|
+
.rowCellAlignCenter {
|
|
299
|
+
justify-content: center;
|
|
300
|
+
text-align: center;
|
|
301
|
+
}
|
|
301
302
|
|
|
302
|
-
.rowCellAlignEnd {
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
303
|
+
.rowCellAlignEnd {
|
|
304
|
+
justify-content: flex-end;
|
|
305
|
+
text-align: right;
|
|
306
|
+
}
|
|
306
307
|
|
|
307
|
-
.whiteText {
|
|
308
|
-
|
|
308
|
+
.whiteText {
|
|
309
|
+
color: $color-white;
|
|
310
|
+
}
|
|
309
311
|
}
|