@carbon/styles 1.33.1 → 1.34.0-rc.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/css/styles.css +10074 -9792
- package/css/styles.min.css +1 -1
- package/package.json +8 -8
- package/scss/components/accordion/_accordion.scss +1 -0
- package/scss/components/breadcrumb/_breadcrumb.scss +4 -1
- package/scss/components/button/_button.scss +9 -2
- package/scss/components/button/_mixins.scss +8 -2
- package/scss/components/checkbox/_checkbox.scss +2 -1
- package/scss/components/code-snippet/_code-snippet.scss +6 -2
- package/scss/components/combo-button/_combo-button.scss +2 -0
- package/scss/components/contained-list/_contained-list.scss +2 -0
- package/scss/components/content-switcher/_content-switcher.scss +1 -0
- package/scss/components/copy-button/_copy-button.scss +5 -0
- package/scss/components/data-table/_data-table.scss +3 -0
- package/scss/components/data-table/action/_data-table-action.scss +3 -0
- package/scss/components/data-table/expandable/_data-table-expandable.scss +1 -0
- package/scss/components/date-picker/_date-picker.scss +2 -2
- package/scss/components/dropdown/_dropdown.scss +1 -0
- package/scss/components/fluid-multiselect/_fluid-multiselect.scss +1 -1
- package/scss/components/fluid-text-area/_fluid-text-area.scss +1 -0
- package/scss/components/form/_form.scss +3 -1
- package/scss/components/inline-loading/_inline-loading.scss +1 -0
- package/scss/components/list-box/_list-box.scss +3 -0
- package/scss/components/loading/_loading.scss +4 -3
- package/scss/components/menu/_menu.scss +9 -1
- package/scss/components/menu-button/_menu-button.scss +2 -0
- package/scss/components/modal/_modal.scss +4 -3
- package/scss/components/multiselect/_multiselect.scss +5 -0
- package/scss/components/notification/_actionable-notification.scss +1 -0
- package/scss/components/number-input/_number-input.scss +1 -0
- package/scss/components/overflow-menu/_overflow-menu.scss +8 -4
- package/scss/components/pagination/_pagination.scss +3 -1
- package/scss/components/pagination-nav/_pagination-nav.scss +2 -1
- package/scss/components/popover/_popover.scss +8 -0
- package/scss/components/progress-bar/_progress-bar.scss +1 -0
- package/scss/components/radio-button/_radio-button.scss +4 -5
- package/scss/components/search/_search.scss +7 -0
- package/scss/components/select/_select.scss +1 -1
- package/scss/components/slider/_slider.scss +2 -4
- package/scss/components/structured-list/_structured-list.scss +7 -5
- package/scss/components/tabs/_tabs.scss +34 -29
- package/scss/components/text-area/_text-area.scss +2 -1
- package/scss/components/text-input/_text-input.scss +2 -5
- package/scss/components/tile/_tile.scss +9 -5
- package/scss/components/time-picker/_time-picker.scss +6 -0
- package/scss/components/toggletip/_toggletip.scss +5 -0
- package/scss/components/tooltip/_tooltip.scss +2 -0
- package/scss/components/treeview/_treeview.scss +23 -3
- package/scss/components/ui-shell/header/_header.scss +7 -0
- package/scss/components/ui-shell/header-panel/_header-panel.scss +1 -0
- package/scss/components/ui-shell/side-nav/_side-nav.scss +9 -0
- package/scss/components/ui-shell/switcher/_switcher.scss +3 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/styles",
|
|
3
3
|
"description": "Styles for the Carbon Design System",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.34.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -37,13 +37,13 @@
|
|
|
37
37
|
}
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@carbon/colors": "^11.
|
|
40
|
+
"@carbon/colors": "^11.18.0-rc.0",
|
|
41
41
|
"@carbon/feature-flags": "^0.15.0",
|
|
42
|
-
"@carbon/grid": "^11.
|
|
43
|
-
"@carbon/layout": "^11.
|
|
44
|
-
"@carbon/motion": "^11.
|
|
45
|
-
"@carbon/themes": "^11.
|
|
46
|
-
"@carbon/type": "^11.
|
|
42
|
+
"@carbon/grid": "^11.17.0-rc.0",
|
|
43
|
+
"@carbon/layout": "^11.17.0-rc.0",
|
|
44
|
+
"@carbon/motion": "^11.14.0-rc.0",
|
|
45
|
+
"@carbon/themes": "^11.22.0-rc.0",
|
|
46
|
+
"@carbon/type": "^11.21.0-rc.0",
|
|
47
47
|
"@ibm/plex": "6.0.0-next.6"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"scss/**/*.css",
|
|
65
65
|
"css/**/*.css"
|
|
66
66
|
],
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "52fd3db75951b341e4abb3af2e7441da6639bfa4"
|
|
68
68
|
}
|
|
@@ -5,18 +5,21 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../overflow-menu';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../breakpoint' as *;
|
|
10
11
|
@use '../../motion' as *;
|
|
11
12
|
@use '../../spacing' as *;
|
|
12
13
|
@use '../../theme' as *;
|
|
13
14
|
@use '../../type' as *;
|
|
15
|
+
@use '../../layer' as *;
|
|
16
|
+
@use '../../utilities/component-reset';
|
|
14
17
|
@use '../../utilities/convert' as *;
|
|
15
18
|
@use '../../utilities/skeleton' as *;
|
|
16
19
|
|
|
17
20
|
@mixin breadcrumb {
|
|
18
21
|
.#{$prefix}--breadcrumb {
|
|
19
|
-
@include reset;
|
|
22
|
+
@include component-reset.reset;
|
|
20
23
|
@include type-style('body-compact-01');
|
|
21
24
|
|
|
22
25
|
display: inline;
|
|
@@ -5,19 +5,21 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
-
@use '
|
|
8
|
+
@use 'tokens' as *;
|
|
9
9
|
@use 'vars' as *;
|
|
10
10
|
@use 'mixins' as *;
|
|
11
|
+
@use '../tooltip';
|
|
12
|
+
@use '../../config' as *;
|
|
11
13
|
@use '../../spacing' as *;
|
|
12
14
|
@use '../../theme' as *;
|
|
13
15
|
@use '../../type' as *;
|
|
16
|
+
@use '../../layer' as *;
|
|
14
17
|
@use '../../utilities/convert' as *;
|
|
15
18
|
@use '../../utilities/focus-outline';
|
|
16
19
|
@use '../../utilities/high-contrast-mode' as *;
|
|
17
20
|
@use '../../utilities/skeleton' as *;
|
|
18
21
|
@use '../../utilities/visually-hidden' as *;
|
|
19
22
|
@use '../../utilities/layout';
|
|
20
|
-
@use 'tokens' as *;
|
|
21
23
|
|
|
22
24
|
@mixin button {
|
|
23
25
|
.#{$prefix}--btn {
|
|
@@ -300,6 +302,11 @@
|
|
|
300
302
|
//expressive styles
|
|
301
303
|
.#{$prefix}--btn--expressive {
|
|
302
304
|
@include type-style('body-compact-02');
|
|
305
|
+
|
|
306
|
+
padding-block: min(
|
|
307
|
+
calc((layout.size('height') - var(--temp-expressive-1lh)) / 2 - rem(1px)),
|
|
308
|
+
var(--temp-padding-block-max)
|
|
309
|
+
);
|
|
303
310
|
}
|
|
304
311
|
|
|
305
312
|
.#{$prefix}--btn--icon-only.#{$prefix}--btn--expressive {
|
|
@@ -29,6 +29,12 @@ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
|
|
|
29
29
|
map.get($body-compact-01, line-height)
|
|
30
30
|
)} * 1em
|
|
31
31
|
);
|
|
32
|
+
--temp-expressive-1lh: (
|
|
33
|
+
#{custom-property.get-var(
|
|
34
|
+
'body-compact-02-line-height',
|
|
35
|
+
map.get($body-compact-02, line-height)
|
|
36
|
+
)} * 1em
|
|
37
|
+
);
|
|
32
38
|
// -1px to compensate for border width
|
|
33
39
|
--temp-padding-block-max: calc(
|
|
34
40
|
(#{custom-property.get-var('layout-size-height-lg')} - var(--temp-1lh)) / 2 -
|
|
@@ -42,7 +48,7 @@ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
|
|
|
42
48
|
display: inline-flex;
|
|
43
49
|
width: max-content;
|
|
44
50
|
max-width: rem(320px);
|
|
45
|
-
height: layout.size('height');
|
|
51
|
+
min-height: layout.size('height');
|
|
46
52
|
flex-shrink: 0;
|
|
47
53
|
justify-content: space-between;
|
|
48
54
|
// Fix to remove added margins on buttons in safari (see #5155)
|
|
@@ -51,7 +57,7 @@ $button-focus-color: custom-property.get-var('button-focus-color', $focus);
|
|
|
51
57
|
cursor: pointer;
|
|
52
58
|
outline: none;
|
|
53
59
|
// -1px to compensate for border width
|
|
54
|
-
padding-block
|
|
60
|
+
padding-block: min(
|
|
55
61
|
calc((layout.size('height') - var(--temp-1lh)) / 2 - rem(1px)),
|
|
56
62
|
var(--temp-padding-block-max)
|
|
57
63
|
);
|
|
@@ -10,13 +10,14 @@
|
|
|
10
10
|
@use '../../spacing' as *;
|
|
11
11
|
@use '../../theme' as *;
|
|
12
12
|
@use '../../type' as *;
|
|
13
|
+
@use '../../utilities/component-reset';
|
|
13
14
|
@use '../../utilities/convert' as *;
|
|
14
15
|
@use '../../utilities/skeleton' as *;
|
|
15
16
|
@use '../../utilities/visually-hidden' as *;
|
|
16
17
|
|
|
17
18
|
@mixin checkbox {
|
|
18
19
|
.#{$prefix}--checkbox-group {
|
|
19
|
-
@include reset;
|
|
20
|
+
@include component-reset.reset;
|
|
20
21
|
}
|
|
21
22
|
|
|
22
23
|
// Spacing between checkboxes
|
|
@@ -5,20 +5,22 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use 'mixins' as *;
|
|
9
|
+
@use '../copy-button';
|
|
8
10
|
@use '../../config' as *;
|
|
9
11
|
@use '../../motion' as *;
|
|
10
12
|
@use '../../spacing' as *;
|
|
11
13
|
@use '../../theme' as *;
|
|
12
14
|
@use '../../type' as *;
|
|
13
|
-
@use '
|
|
15
|
+
@use '../../layer' as *;
|
|
14
16
|
@use '../../utilities/convert' as *;
|
|
15
17
|
@use '../../utilities/focus-outline' as *;
|
|
16
18
|
@use '../../utilities/high-contrast-mode' as *;
|
|
17
19
|
@use '../../utilities/keyframes' as *;
|
|
20
|
+
@use '../../utilities/layout' as *;
|
|
18
21
|
@use '../../utilities/skeleton' as *;
|
|
19
22
|
@use '../../utilities/tooltip' as *;
|
|
20
23
|
@use '../../utilities/z-index' as *;
|
|
21
|
-
@use 'mixins' as *;
|
|
22
24
|
|
|
23
25
|
/// @type Color
|
|
24
26
|
/// @access public
|
|
@@ -304,6 +306,7 @@ $copy-btn-feedback: $background-inverse !default;
|
|
|
304
306
|
.#{$prefix}--snippet--inline.#{$prefix}--btn {
|
|
305
307
|
width: initial;
|
|
306
308
|
height: 1.25rem;
|
|
309
|
+
min-height: 1.25rem;
|
|
307
310
|
padding-inline: 0;
|
|
308
311
|
}
|
|
309
312
|
|
|
@@ -332,6 +335,7 @@ $copy-btn-feedback: $background-inverse !default;
|
|
|
332
335
|
right: 0;
|
|
333
336
|
bottom: 0;
|
|
334
337
|
display: inline-flex;
|
|
338
|
+
height: rem(32px);
|
|
335
339
|
align-items: center;
|
|
336
340
|
|
|
337
341
|
padding: $spacing-03 $spacing-05;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../spacing' as *;
|
|
10
11
|
@use '../../motion' as *;
|
|
@@ -83,6 +84,10 @@
|
|
|
83
84
|
}
|
|
84
85
|
}
|
|
85
86
|
|
|
87
|
+
.#{$prefix}--copy-btn svg {
|
|
88
|
+
fill: $icon-primary;
|
|
89
|
+
}
|
|
90
|
+
|
|
86
91
|
// Needs to come after reset so hidden text is not set to font-size: 100%
|
|
87
92
|
.#{$prefix}--copy {
|
|
88
93
|
font-size: 0;
|
|
@@ -7,12 +7,15 @@
|
|
|
7
7
|
|
|
8
8
|
@use 'mixins' as *;
|
|
9
9
|
@use 'vars' as *;
|
|
10
|
+
@use '../checkbox';
|
|
11
|
+
@use '../radio-button';
|
|
10
12
|
@use '../../config' as *;
|
|
11
13
|
@use '../../breakpoint' as *;
|
|
12
14
|
@use '../../motion' as *;
|
|
13
15
|
@use '../../spacing' as *;
|
|
14
16
|
@use '../../theme' as *;
|
|
15
17
|
@use '../../type' as *;
|
|
18
|
+
@use '../../layer' as *;
|
|
16
19
|
@use '../../utilities/convert' as *;
|
|
17
20
|
@use '../../utilities/focus-outline' as *;
|
|
18
21
|
@use '../../utilities/high-contrast-mode' as *;
|
|
@@ -5,20 +5,20 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use 'flatpickr' as *;
|
|
9
|
+
@use '../form';
|
|
8
10
|
@use '../../colors' as *;
|
|
9
11
|
@use '../../config' as *;
|
|
10
12
|
@use '../../motion' as *;
|
|
11
13
|
@use '../../theme' as *;
|
|
12
14
|
@use '../../spacing' as *;
|
|
13
15
|
@use '../../type' as *;
|
|
14
|
-
@use '../form/form';
|
|
15
16
|
@use '../../utilities/component-reset';
|
|
16
17
|
@use '../../utilities/convert' as *;
|
|
17
18
|
@use '../../utilities/focus-outline' as *;
|
|
18
19
|
@use '../../utilities/high-contrast-mode' as *;
|
|
19
20
|
@use '../../utilities/placeholder-colors' as *;
|
|
20
21
|
@use '../../utilities/skeleton' as *;
|
|
21
|
-
@use 'flatpickr' as *;
|
|
22
22
|
|
|
23
23
|
/// Date picker styles
|
|
24
24
|
/// @access public
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
@use '../../spacing' as *;
|
|
10
10
|
@use '../../theme' as *;
|
|
11
11
|
@use '../../type' as *;
|
|
12
|
+
@use '../../layer' as *;
|
|
13
|
+
@use '../../utilities/component-reset';
|
|
12
14
|
@use '../../utilities/convert' as *;
|
|
13
15
|
@use '../../utilities/focus-outline' as *;
|
|
14
16
|
@use '../../utilities/skeleton' as *;
|
|
@@ -32,7 +34,7 @@ $input-label-weight: 400 !default;
|
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
.#{$prefix}--fieldset {
|
|
35
|
-
@include reset;
|
|
37
|
+
@include component-reset.reset;
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
.#{$prefix}--form-item {
|
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
@use '../../type' as *;
|
|
16
16
|
@use '../../spacing' as *;
|
|
17
17
|
@use '../../motion' as *;
|
|
18
|
+
@use '../../layer' as *;
|
|
18
19
|
@use '../../utilities/box-shadow' as *;
|
|
19
20
|
@use '../../utilities/button-reset';
|
|
21
|
+
@use '../../utilities/component-reset';
|
|
20
22
|
@use '../../utilities/convert' as *;
|
|
21
23
|
@use '../../utilities/focus-outline' as *;
|
|
22
24
|
@use '../../utilities/high-contrast-mode' as *;
|
|
@@ -649,6 +651,7 @@ $list-box-menu-width: rem(300px);
|
|
|
649
651
|
}
|
|
650
652
|
|
|
651
653
|
.#{$prefix}--list-box__menu-item__option {
|
|
654
|
+
@include component-reset.reset;
|
|
652
655
|
@include focus-outline('reset');
|
|
653
656
|
|
|
654
657
|
display: block;
|
|
@@ -5,16 +5,17 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use 'vars' as *;
|
|
9
|
+
@use 'functions' as *;
|
|
10
|
+
@use 'animation';
|
|
8
11
|
@use '../../config' as *;
|
|
12
|
+
@use '../../layer' as *;
|
|
9
13
|
@use '../../motion' as *;
|
|
10
14
|
@use '../../spacing' as *;
|
|
11
15
|
@use '../../theme' as *;
|
|
12
16
|
@use '../../utilities/component-reset';
|
|
13
17
|
@use '../../utilities/convert';
|
|
14
18
|
@use '../../utilities/z-index' as *;
|
|
15
|
-
@use 'vars' as *;
|
|
16
|
-
@use 'functions' as *;
|
|
17
|
-
@use 'animation';
|
|
18
19
|
|
|
19
20
|
/// Loading styles
|
|
20
21
|
/// @access private
|
|
@@ -5,16 +5,18 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button/tokens' as button-tokens;
|
|
8
9
|
@use '../../config' as *;
|
|
10
|
+
@use '../../layer' as *;
|
|
9
11
|
@use '../../motion' as *;
|
|
10
12
|
@use '../../spacing' as *;
|
|
11
13
|
@use '../../theme' as *;
|
|
12
14
|
@use '../../type' as *;
|
|
13
|
-
@use '../button/tokens' as button-tokens;
|
|
14
15
|
@use '../../utilities/box-shadow' as *;
|
|
15
16
|
@use '../../utilities/focus-outline' as *;
|
|
16
17
|
@use '../../utilities/z-index' as *;
|
|
17
18
|
@use '../../utilities/convert' as *;
|
|
19
|
+
@use '../../utilities/component-reset';
|
|
18
20
|
|
|
19
21
|
/// Menu styles
|
|
20
22
|
/// @access public
|
|
@@ -23,6 +25,7 @@
|
|
|
23
25
|
// Menu
|
|
24
26
|
|
|
25
27
|
.#{$prefix}--menu {
|
|
28
|
+
@include component-reset.reset;
|
|
26
29
|
@include box-shadow;
|
|
27
30
|
|
|
28
31
|
position: fixed;
|
|
@@ -110,6 +113,11 @@
|
|
|
110
113
|
display: flex;
|
|
111
114
|
}
|
|
112
115
|
|
|
116
|
+
.#{$prefix}--menu-item-group > ul,
|
|
117
|
+
.#{$prefix}--menu-item-radio-group > ul {
|
|
118
|
+
@include component-reset.reset;
|
|
119
|
+
}
|
|
120
|
+
|
|
113
121
|
.#{$prefix}--menu--with-icons > .#{$prefix}--menu-item,
|
|
114
122
|
.#{$prefix}--menu--with-icons
|
|
115
123
|
> .#{$prefix}--menu-item-group
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button';
|
|
8
9
|
@use '../../config' as *;
|
|
9
10
|
@use '../../breakpoint' as *;
|
|
10
11
|
@use '../../motion' as *;
|
|
@@ -12,13 +13,11 @@
|
|
|
12
13
|
@use '../../theme' as *;
|
|
13
14
|
@use '../../type' as *;
|
|
14
15
|
@use '../../utilities/convert' as *;
|
|
15
|
-
@use '../../utilities/component-reset'
|
|
16
|
+
@use '../../utilities/component-reset';
|
|
16
17
|
@use '../../utilities/focus-outline' as *;
|
|
17
18
|
@use '../../utilities/high-contrast-mode' as *;
|
|
18
19
|
@use '../../utilities/z-index' as *;
|
|
19
20
|
|
|
20
|
-
@use '../button';
|
|
21
|
-
|
|
22
21
|
/// Modal styles
|
|
23
22
|
/// @access public
|
|
24
23
|
/// @group modal
|
|
@@ -227,6 +226,7 @@
|
|
|
227
226
|
}
|
|
228
227
|
|
|
229
228
|
.#{$prefix}--modal-header__label {
|
|
229
|
+
@include component-reset.reset;
|
|
230
230
|
@include type-style('label-01');
|
|
231
231
|
|
|
232
232
|
margin-bottom: $spacing-02;
|
|
@@ -234,6 +234,7 @@
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
.#{$prefix}--modal-header__heading {
|
|
237
|
+
@include component-reset.reset;
|
|
237
238
|
@include type-style('heading-03');
|
|
238
239
|
|
|
239
240
|
// padding should take into account the left and right padding of modal container
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../checkbox';
|
|
8
9
|
@use '../list-box';
|
|
9
10
|
@use '../../config' as *;
|
|
10
11
|
@use '../../motion' as *;
|
|
@@ -28,6 +29,10 @@
|
|
|
28
29
|
@include focus-outline('reset');
|
|
29
30
|
}
|
|
30
31
|
|
|
32
|
+
.#{$prefix}--multi-select--filterable .#{$prefix}--list-box__field {
|
|
33
|
+
padding: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
31
36
|
.#{$prefix}--multi-select .#{$prefix}--tag {
|
|
32
37
|
min-width: auto;
|
|
33
38
|
margin: 0 $spacing-03 0 $spacing-05;
|
|
@@ -5,14 +5,17 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button' as button;
|
|
9
|
+
@use '../tooltip';
|
|
8
10
|
@use '../../config' as *;
|
|
9
11
|
@use '../../motion' as *;
|
|
10
12
|
@use '../../spacing' as *;
|
|
11
13
|
@use '../../theme' as *;
|
|
12
14
|
@use '../../type' as *;
|
|
13
|
-
@use '
|
|
15
|
+
@use '../../layer' as *;
|
|
14
16
|
@use '../../utilities/box-shadow' as *;
|
|
15
17
|
@use '../../utilities/button-reset';
|
|
18
|
+
@use '../../utilities/component-reset';
|
|
16
19
|
@use '../../utilities/focus-outline' as *;
|
|
17
20
|
@use '../../utilities/high-contrast-mode' as *;
|
|
18
21
|
@use '../../utilities/convert' as *;
|
|
@@ -25,13 +28,14 @@
|
|
|
25
28
|
.#{$prefix}--overflow-menu,
|
|
26
29
|
.#{$prefix}--overflow-menu__trigger {
|
|
27
30
|
@include button-reset.reset;
|
|
28
|
-
@include reset;
|
|
31
|
+
@include component-reset.reset;
|
|
29
32
|
@include focus-outline('reset');
|
|
30
33
|
|
|
31
34
|
position: relative;
|
|
32
35
|
display: flex;
|
|
33
36
|
width: rem(40px);
|
|
34
37
|
height: rem(40px);
|
|
38
|
+
min-height: rem(40px);
|
|
35
39
|
align-items: center;
|
|
36
40
|
justify-content: center;
|
|
37
41
|
cursor: pointer;
|
|
@@ -96,7 +100,7 @@
|
|
|
96
100
|
}
|
|
97
101
|
|
|
98
102
|
.#{$prefix}--overflow-menu-options {
|
|
99
|
-
@include reset;
|
|
103
|
+
@include component-reset.reset;
|
|
100
104
|
@include box-shadow;
|
|
101
105
|
|
|
102
106
|
position: absolute;
|
|
@@ -215,7 +219,7 @@
|
|
|
215
219
|
}
|
|
216
220
|
|
|
217
221
|
.#{$prefix}--overflow-menu-options__option {
|
|
218
|
-
@include reset;
|
|
222
|
+
@include component-reset.reset;
|
|
219
223
|
|
|
220
224
|
display: flex;
|
|
221
225
|
width: 100%;
|
|
@@ -5,6 +5,9 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use '../button';
|
|
9
|
+
@use '../select';
|
|
10
|
+
@use '../../layer' as *;
|
|
8
11
|
@use '../../config' as *;
|
|
9
12
|
@use '../../spacing' as *;
|
|
10
13
|
@use '../../motion' as *;
|
|
@@ -15,7 +18,6 @@
|
|
|
15
18
|
@use '../../utilities/convert' as *;
|
|
16
19
|
@use '../../utilities/focus-outline' as *;
|
|
17
20
|
@use '../../utilities/high-contrast-mode' as *;
|
|
18
|
-
@use '../select';
|
|
19
21
|
|
|
20
22
|
/// Pagination styles
|
|
21
23
|
/// @access public
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
// LICENSE file in the root directory of this source tree.
|
|
6
6
|
//
|
|
7
7
|
|
|
8
|
+
@use 'mixins' as *;
|
|
9
|
+
@use '../button';
|
|
8
10
|
@use '../../config' as *;
|
|
9
11
|
@use '../../motion' as *;
|
|
10
12
|
@use '../../spacing' as *;
|
|
@@ -15,7 +17,6 @@
|
|
|
15
17
|
@use '../../utilities/focus-outline' as *;
|
|
16
18
|
@use '../../utilities/high-contrast-mode' as *;
|
|
17
19
|
@use '../../utilities/visually-hidden' as *;
|
|
18
|
-
@use 'mixins' as *;
|
|
19
20
|
|
|
20
21
|
/// Pagination nav base styles
|
|
21
22
|
/// @access public
|
|
@@ -6,9 +6,11 @@
|
|
|
6
6
|
//
|
|
7
7
|
|
|
8
8
|
@use '../../config' as *;
|
|
9
|
+
@use '../../layer' as *;
|
|
9
10
|
@use '../../theme';
|
|
10
11
|
@use '../../utilities/box-shadow' as *;
|
|
11
12
|
@use '../../utilities/button-reset';
|
|
13
|
+
@use '../../utilities/component-reset';
|
|
12
14
|
@use '../../utilities/custom-property';
|
|
13
15
|
@use '../../utilities/high-contrast-mode' as *;
|
|
14
16
|
@use '../../utilities/focus-outline' as *;
|
|
@@ -117,6 +119,8 @@ $popover-caret-height: custom-property.get-var(
|
|
|
117
119
|
|
|
118
120
|
// Popover content
|
|
119
121
|
.#{$prefix}--popover-content {
|
|
122
|
+
@include component-reset.reset;
|
|
123
|
+
|
|
120
124
|
position: absolute;
|
|
121
125
|
z-index: z('floating');
|
|
122
126
|
display: none;
|
|
@@ -388,6 +392,10 @@ $popover-caret-height: custom-property.get-var(
|
|
|
388
392
|
border-radius: 0;
|
|
389
393
|
}
|
|
390
394
|
|
|
395
|
+
.#{$prefix}--popover--tab-tip .#{$prefix}--popover {
|
|
396
|
+
will-change: filter;
|
|
397
|
+
}
|
|
398
|
+
|
|
391
399
|
.#{$prefix}--popover--tab-tip__button {
|
|
392
400
|
@include button-reset.reset;
|
|
393
401
|
|