@carbon/styles 1.23.0 → 1.24.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.
Files changed (232) hide show
  1. package/css/styles.css +65 -80
  2. package/css/styles.min.css +1 -1
  3. package/index.scss +1 -1
  4. package/package.json +11 -11
  5. package/scss/__tests__/breakpoint-test.js +1 -1
  6. package/scss/__tests__/colors-test.js +1 -1
  7. package/scss/__tests__/config-test.js +1 -1
  8. package/scss/__tests__/grid-test.js +1 -1
  9. package/scss/__tests__/layer-test.js +1 -1
  10. package/scss/__tests__/motion-test.js +1 -1
  11. package/scss/__tests__/reset-test.js +1 -1
  12. package/scss/__tests__/theme-test.js +1 -1
  13. package/scss/__tests__/themes-test.js +1 -1
  14. package/scss/__tests__/type-test.js +1 -1
  15. package/scss/__tests__/zone-test.js +1 -1
  16. package/scss/_breakpoint.scss +1 -1
  17. package/scss/_colors.scss +1 -1
  18. package/scss/_config.scss +1 -1
  19. package/scss/_feature-flags.scss +1 -1
  20. package/scss/_motion.scss +1 -1
  21. package/scss/_reset.scss +1 -1
  22. package/scss/_spacing.scss +1 -1
  23. package/scss/_theme.scss +1 -1
  24. package/scss/_themes.scss +1 -1
  25. package/scss/_zone.scss +1 -1
  26. package/scss/compat/_theme.scss +1 -1
  27. package/scss/compat/_themes.scss +1 -1
  28. package/scss/components/__tests__/accordion-test.js +1 -1
  29. package/scss/components/__tests__/breadcrumb-test.js +1 -1
  30. package/scss/components/__tests__/button-test.js +1 -1
  31. package/scss/components/__tests__/checkbox-test.js +1 -1
  32. package/scss/components/__tests__/code-snippet-test.js +1 -1
  33. package/scss/components/__tests__/combo-box-test.js +1 -1
  34. package/scss/components/__tests__/content-switcher-test.js +1 -1
  35. package/scss/components/__tests__/copy-button-test.js +1 -1
  36. package/scss/components/__tests__/data-table-test.js +6 -6
  37. package/scss/components/__tests__/date-picker-test.js +1 -1
  38. package/scss/components/__tests__/dropdown-test.js +1 -1
  39. package/scss/components/__tests__/file-uploader.js +1 -1
  40. package/scss/components/__tests__/form-test.js +1 -1
  41. package/scss/components/__tests__/inline-loading-test.js +1 -1
  42. package/scss/components/__tests__/link-test.js +1 -1
  43. package/scss/components/__tests__/list-box-test.js +1 -1
  44. package/scss/components/__tests__/list-test.js +1 -1
  45. package/scss/components/__tests__/loading-test.js +1 -1
  46. package/scss/components/__tests__/menu-test.js +2 -2
  47. package/scss/components/__tests__/modal-test.js +2 -2
  48. package/scss/components/__tests__/multiselect-test.js +1 -1
  49. package/scss/components/__tests__/notification-test.js +1 -1
  50. package/scss/components/__tests__/number-input-test.js +2 -2
  51. package/scss/components/__tests__/overflow-menu-test.js +2 -2
  52. package/scss/components/__tests__/pagination-nav-test.js +2 -2
  53. package/scss/components/__tests__/pagination-test.js +1 -1
  54. package/scss/components/__tests__/progress-bar-test.js +1 -1
  55. package/scss/components/__tests__/progress-indicator-test.js +1 -1
  56. package/scss/components/__tests__/radio-button-test.js +1 -1
  57. package/scss/components/__tests__/search-test.js +1 -1
  58. package/scss/components/__tests__/select-test.js +1 -1
  59. package/scss/components/__tests__/skeleton-test.js +1 -1
  60. package/scss/components/__tests__/slider-test.js +1 -1
  61. package/scss/components/__tests__/structured-list-test.js +2 -2
  62. package/scss/components/__tests__/tabs-test.js +2 -2
  63. package/scss/components/__tests__/tag-test.js +1 -1
  64. package/scss/components/__tests__/text-area-test.js +1 -1
  65. package/scss/components/__tests__/text-input-test.js +2 -2
  66. package/scss/components/__tests__/tile-test.js +1 -1
  67. package/scss/components/__tests__/time-picker-test.js +1 -1
  68. package/scss/components/__tests__/toggle-test.js +1 -1
  69. package/scss/components/__tests__/tooltip-test.js +1 -1
  70. package/scss/components/__tests__/treeview-test.js +1 -1
  71. package/scss/components/__tests__/ui-shell-test.js +1 -1
  72. package/scss/components/_index.scss +1 -1
  73. package/scss/components/accordion/_accordion.scss +1 -1
  74. package/scss/components/accordion/_index.scss +1 -1
  75. package/scss/components/aspect-ratio/_aspect-ratio.scss +1 -1
  76. package/scss/components/aspect-ratio/_index.scss +1 -1
  77. package/scss/components/breadcrumb/_breadcrumb.scss +1 -1
  78. package/scss/components/breadcrumb/_css.scss +1 -1
  79. package/scss/components/breadcrumb/_index.scss +1 -1
  80. package/scss/components/button/_button.scss +1 -1
  81. package/scss/components/button/_index.scss +1 -1
  82. package/scss/components/button/_mixins.scss +1 -1
  83. package/scss/components/button/_tokens.scss +1 -1
  84. package/scss/components/button/_vars.scss +1 -1
  85. package/scss/components/checkbox/_checkbox.scss +1 -1
  86. package/scss/components/checkbox/_index.scss +1 -1
  87. package/scss/components/code-snippet/_code-snippet.scss +1 -1
  88. package/scss/components/code-snippet/_index.scss +1 -1
  89. package/scss/components/code-snippet/_mixins.scss +1 -1
  90. package/scss/components/combo-box/_combo-box.scss +1 -1
  91. package/scss/components/combo-box/_index.scss +1 -1
  92. package/scss/components/content-switcher/_content-switcher.scss +1 -1
  93. package/scss/components/content-switcher/_index.scss +1 -1
  94. package/scss/components/copy-button/_copy-button.scss +1 -1
  95. package/scss/components/copy-button/_index.scss +1 -1
  96. package/scss/components/data-table/_data-table.scss +1 -1
  97. package/scss/components/data-table/_index.scss +1 -1
  98. package/scss/components/data-table/_mixins.scss +1 -1
  99. package/scss/components/data-table/_vars.scss +1 -1
  100. package/scss/components/data-table/action/_data-table-action.scss +1 -1
  101. package/scss/components/data-table/action/_index.scss +1 -1
  102. package/scss/components/data-table/expandable/_data-table-expandable.scss +1 -1
  103. package/scss/components/data-table/expandable/_index.scss +1 -1
  104. package/scss/components/data-table/skeleton/_data-table-skeleton.scss +1 -1
  105. package/scss/components/data-table/skeleton/_index.scss +1 -1
  106. package/scss/components/data-table/sort/_data-table-sort.scss +1 -1
  107. package/scss/components/data-table/sort/_index.scss +1 -1
  108. package/scss/components/date-picker/_date-picker.scss +1 -1
  109. package/scss/components/date-picker/_flatpickr.scss +1 -1
  110. package/scss/components/date-picker/_index.scss +1 -1
  111. package/scss/components/dropdown/_dropdown.scss +1 -1
  112. package/scss/components/dropdown/_index.scss +1 -1
  113. package/scss/components/file-uploader/_file-uploader.scss +1 -1
  114. package/scss/components/file-uploader/_index.scss +1 -1
  115. package/scss/components/fluid-text-area/_fluid-text-area.scss +1 -1
  116. package/scss/components/fluid-text-area/_index.scss +1 -1
  117. package/scss/components/fluid-text-input/_fluid-text-input.scss +1 -1
  118. package/scss/components/fluid-text-input/_index.scss +1 -1
  119. package/scss/components/form/_form.scss +1 -1
  120. package/scss/components/form/_index.scss +1 -1
  121. package/scss/components/inline-loading/_index.scss +1 -1
  122. package/scss/components/inline-loading/_inline-loading.scss +1 -1
  123. package/scss/components/inline-loading/_keyframes.scss +1 -1
  124. package/scss/components/link/_index.scss +1 -1
  125. package/scss/components/link/_link.scss +2 -1
  126. package/scss/components/list/_index.scss +1 -1
  127. package/scss/components/list/_list.scss +1 -1
  128. package/scss/components/list-box/_index.scss +1 -1
  129. package/scss/components/list-box/_list-box.scss +1 -1
  130. package/scss/components/loading/_animation.scss +1 -1
  131. package/scss/components/loading/_functions.scss +1 -1
  132. package/scss/components/loading/_index.scss +1 -1
  133. package/scss/components/loading/_loading.scss +1 -1
  134. package/scss/components/loading/_vars.scss +1 -1
  135. package/scss/components/menu/_index.scss +1 -1
  136. package/scss/components/menu/_menu.scss +63 -70
  137. package/scss/components/modal/_index.scss +1 -1
  138. package/scss/components/modal/_modal.scss +1 -1
  139. package/scss/components/multiselect/_index.scss +1 -1
  140. package/scss/components/multiselect/_multiselect.scss +1 -1
  141. package/scss/components/notification/_actionable-notification.scss +1 -1
  142. package/scss/components/notification/_index.scss +1 -1
  143. package/scss/components/notification/_inline-notification.scss +1 -1
  144. package/scss/components/notification/_mixins.scss +1 -1
  145. package/scss/components/notification/_toast-notification.scss +1 -1
  146. package/scss/components/notification/_tokens.scss +1 -1
  147. package/scss/components/number-input/_index.scss +1 -1
  148. package/scss/components/number-input/_number-input.scss +1 -1
  149. package/scss/components/overflow-menu/_index.scss +1 -1
  150. package/scss/components/overflow-menu/_overflow-menu.scss +1 -1
  151. package/scss/components/pagination/_index.scss +1 -1
  152. package/scss/components/pagination/_pagination.scss +1 -1
  153. package/scss/components/pagination/_unstable_pagination.scss +1 -1
  154. package/scss/components/pagination-nav/_index.scss +1 -1
  155. package/scss/components/pagination-nav/_mixins.scss +1 -1
  156. package/scss/components/pagination-nav/_pagination-nav.scss +1 -1
  157. package/scss/components/popover/_index.scss +1 -1
  158. package/scss/components/popover/_popover.scss +3 -3
  159. package/scss/components/progress-bar/_index.scss +1 -1
  160. package/scss/components/progress-indicator/_index.scss +1 -1
  161. package/scss/components/progress-indicator/_progress-indicator.scss +1 -1
  162. package/scss/components/radio-button/_radio-button.scss +1 -1
  163. package/scss/components/search/_search.scss +1 -1
  164. package/scss/components/select/_index.scss +1 -1
  165. package/scss/components/select/_select.scss +1 -1
  166. package/scss/components/skeleton-styles/_index.scss +1 -1
  167. package/scss/components/skeleton-styles/_skeleton-styles.scss +1 -1
  168. package/scss/components/slider/_slider.scss +1 -1
  169. package/scss/components/stack/_index.scss +1 -1
  170. package/scss/components/stack/_stack.scss +1 -1
  171. package/scss/components/structured-list/_index.scss +1 -1
  172. package/scss/components/structured-list/_mixins.scss +1 -1
  173. package/scss/components/structured-list/_structured-list.scss +1 -1
  174. package/scss/components/tabs/_tabs.scss +1 -1
  175. package/scss/components/tag/_index.scss +1 -1
  176. package/scss/components/tag/_mixins.scss +1 -1
  177. package/scss/components/tag/_tag.scss +1 -1
  178. package/scss/components/text-area/_index.scss +1 -1
  179. package/scss/components/text-area/_text-area.scss +1 -1
  180. package/scss/components/text-input/_index.scss +1 -1
  181. package/scss/components/text-input/_text-input.scss +1 -1
  182. package/scss/components/tile/_index.scss +1 -1
  183. package/scss/components/tile/_tile.scss +1 -1
  184. package/scss/components/time-picker/_index.scss +1 -1
  185. package/scss/components/time-picker/_time-picker.scss +1 -1
  186. package/scss/components/toggle/_index.scss +1 -1
  187. package/scss/components/toggle/_toggle.scss +1 -1
  188. package/scss/components/toggletip/_index.scss +1 -1
  189. package/scss/components/toggletip/_toggletip.scss +1 -1
  190. package/scss/components/tooltip/_index.scss +1 -1
  191. package/scss/components/tooltip/_tooltip.scss +1 -1
  192. package/scss/components/treeview/_index.scss +1 -1
  193. package/scss/components/treeview/_treeview.scss +1 -1
  194. package/scss/components/ui-shell/_functions.scss +1 -1
  195. package/scss/components/ui-shell/_index.scss +1 -1
  196. package/scss/components/ui-shell/_mixins.scss +1 -1
  197. package/scss/components/ui-shell/_ui-shell.scss +1 -1
  198. package/scss/components/ui-shell/content/_content.scss +1 -1
  199. package/scss/components/ui-shell/content/_index.scss +1 -1
  200. package/scss/components/ui-shell/header/_header.scss +1 -1
  201. package/scss/components/ui-shell/header/_index.scss +1 -1
  202. package/scss/components/ui-shell/header-panel/_header-panel.scss +1 -1
  203. package/scss/components/ui-shell/header-panel/_index.scss +1 -1
  204. package/scss/components/ui-shell/side-nav/_index.scss +1 -1
  205. package/scss/components/ui-shell/side-nav/_side-nav.scss +1 -1
  206. package/scss/components/ui-shell/switcher/_index.scss +1 -1
  207. package/scss/components/ui-shell/switcher/_switcher.scss +1 -1
  208. package/scss/fonts/__tests__/fonts-test.js +1 -1
  209. package/scss/fonts/_index.scss +1 -1
  210. package/scss/fonts/_mono.scss +1 -1
  211. package/scss/fonts/_sans-arabic.scss +1 -1
  212. package/scss/fonts/_sans-devanagari.scss +1 -1
  213. package/scss/fonts/_sans-hebrew.scss +1 -1
  214. package/scss/fonts/_sans-thai-looped.scss +1 -1
  215. package/scss/fonts/_sans-thai.scss +1 -1
  216. package/scss/fonts/_sans.scss +1 -1
  217. package/scss/fonts/_serif.scss +1 -1
  218. package/scss/fonts/_src.scss +1 -1
  219. package/scss/fonts/unicode/_index.scss +1 -1
  220. package/scss/grid/_css-grid.scss +1 -1
  221. package/scss/grid/_flexbox.scss +1 -1
  222. package/scss/grid/_index.scss +1 -1
  223. package/scss/grid/_mixins.scss +1 -1
  224. package/scss/theme/_theme.scss +1 -1
  225. package/scss/type/_index.scss +1 -1
  226. package/scss/type/_reset.scss +1 -1
  227. package/scss/utilities/__tests__/custom-property-test.js +1 -1
  228. package/scss/utilities/_component-reset.scss +1 -1
  229. package/scss/utilities/_component-tokens.scss +1 -1
  230. package/scss/utilities/_convert.scss +1 -1
  231. package/scss/utilities/_custom-property.scss +1 -1
  232. package/scss/utilities/_index.scss +1 -1
@@ -10,15 +10,18 @@
10
10
  @use '../../spacing' as *;
11
11
  @use '../../theme' as *;
12
12
  @use '../../type' as *;
13
- @use '../button/tokens' as button;
13
+ @use '../button/tokens' as button-tokens;
14
14
  @use '../../utilities/box-shadow' as *;
15
15
  @use '../../utilities/focus-outline' as *;
16
16
  @use '../../utilities/z-index' as *;
17
+ @use '../../utilities/convert' as *;
17
18
 
18
19
  /// Menu styles
19
20
  /// @access public
20
21
  /// @group menu
21
22
  @mixin menu {
23
+ // Menu
24
+
22
25
  .#{$prefix}--menu {
23
26
  @include box-shadow;
24
27
 
@@ -28,6 +31,7 @@
28
31
  max-width: 18rem;
29
32
  padding: $spacing-02 0;
30
33
  background-color: $layer;
34
+ opacity: 0;
31
35
  visibility: hidden;
32
36
  }
33
37
 
@@ -39,19 +43,27 @@
39
43
  }
40
44
  }
41
45
 
42
- .#{$prefix}--menu--invisible {
43
- opacity: 0;
44
- pointer-events: none;
46
+ .#{$prefix}--menu:not(.#{$prefix}--menu--open) .#{$prefix}--menu--open {
47
+ visibility: hidden;
48
+ }
49
+
50
+ .#{$prefix}--menu--shown {
51
+ opacity: 1;
45
52
  }
46
53
 
47
- .#{$prefix}--menu-option {
48
- position: relative;
49
- display: list-item;
50
- // $size-sm
54
+ // MenuItem
55
+
56
+ .#{$prefix}--menu-item {
57
+ @include type-style('body-short-01');
58
+
59
+ display: grid;
51
60
  height: 2rem;
52
- background-color: $layer;
61
+ align-items: center;
53
62
  color: $text-primary;
63
+ column-gap: $spacing-03;
54
64
  cursor: pointer;
65
+ grid-template-columns: 0 1fr max-content;
66
+ padding-inline: $spacing-05;
55
67
  transition: background-color $duration-fast-01 motion(standard, productive);
56
68
 
57
69
  &:focus {
@@ -59,88 +71,69 @@
59
71
  }
60
72
  }
61
73
 
62
- .#{$prefix}--menu-option--active,
63
- .#{$prefix}--menu-option:hover {
74
+ .#{$prefix}--menu-item:hover {
64
75
  background-color: $layer-hover;
65
76
  }
66
77
 
67
- .#{$prefix}--menu-option--danger:hover,
68
- .#{$prefix}--menu-option--danger:focus {
69
- background-color: button.$button-danger-primary;
70
- color: $text-on-color;
71
- }
78
+ $supported-sizes: (
79
+ 'xs': 1.5rem,
80
+ 'sm': 2rem,
81
+ 'md': 2.5rem,
82
+ 'lg': 3rem,
83
+ );
72
84
 
73
- .#{$prefix}--menu-option > .#{$prefix}--menu {
74
- margin-top: calc(#{$spacing-02} * -1);
85
+ @each $size, $value in $supported-sizes {
86
+ .#{$prefix}--menu--#{$size} .#{$prefix}--menu-item {
87
+ height: $value;
88
+ }
75
89
  }
76
90
 
77
- .#{$prefix}--menu-option__content {
91
+ .#{$prefix}--menu-item__icon {
78
92
  display: flex;
79
- height: 100%;
80
- align-items: center;
81
- justify-content: space-between;
82
- padding: 0 $spacing-05;
83
93
  }
84
94
 
85
- .#{$prefix}--menu-option__content--disabled {
86
- background-color: $layer;
87
- color: $text-disabled;
88
- cursor: not-allowed;
95
+ .#{$prefix}--menu-item__label {
96
+ overflow: hidden;
97
+ text-overflow: ellipsis;
98
+ white-space: nowrap;
89
99
  }
90
100
 
91
- .#{$prefix}--menu-option__content--disabled .#{$prefix}--menu-option__label,
92
- .#{$prefix}--menu-option__content--disabled .#{$prefix}--menu-option__info,
93
- .#{$prefix}--menu-option__content--disabled .#{$prefix}--menu-option__icon {
94
- color: $text-disabled;
101
+ .#{$prefix}--menu--with-icons > .#{$prefix}--menu-item,
102
+ .#{$prefix}--menu--with-icons
103
+ > .#{$prefix}--menu-item-group
104
+ > ul
105
+ > .#{$prefix}--menu-item,
106
+ .#{$prefix}--menu--with-icons
107
+ > .#{$prefix}--menu-item-radio-group
108
+ > ul
109
+ > .#{$prefix}--menu-item {
110
+ grid-template-columns: 1rem 1fr max-content;
95
111
  }
96
112
 
97
- .#{$prefix}--menu-option__content--indented .#{$prefix}--menu-option__label {
98
- margin-left: $spacing-05;
113
+ .#{$prefix}--menu-item--disabled {
114
+ color: $text-disabled;
115
+ cursor: not-allowed;
99
116
  }
100
117
 
101
- .#{$prefix}--menu-option__label {
102
- @include type-style('body-compact-01');
103
-
104
- overflow: hidden;
105
- flex-grow: 1;
106
- // add top/bottom padding to make sure letters are not cut off by hidden overflow
107
- padding: $spacing-02 0;
108
- text-align: start;
109
- text-overflow: ellipsis;
110
- white-space: nowrap;
118
+ .#{$prefix}--menu-item--disabled:hover,
119
+ .#{$prefix}--menu-item--disabled.#{$prefix}--menu-item--danger:hover {
120
+ background-color: $layer;
121
+ color: $text-disabled;
111
122
  }
112
123
 
113
- .#{$prefix}--menu-option__info {
114
- display: inline-flex;
115
- margin-left: $spacing-05;
124
+ .#{$prefix}--menu-item--danger:focus,
125
+ .#{$prefix}--menu-item--danger:hover {
126
+ background-color: button-tokens.$button-danger-primary;
127
+ color: $text-on-color;
116
128
  }
117
129
 
118
- .#{$prefix}--menu-option__icon {
119
- display: flex;
120
- width: 1rem;
121
- height: 1rem;
122
- align-items: center;
123
- margin-right: $spacing-03;
124
- }
130
+ // MenuItemDivider
125
131
 
126
- .#{$prefix}--menu-divider {
127
- display: list-item;
132
+ .#{$prefix}--menu-item-divider {
133
+ display: block;
128
134
  width: 100%;
129
- height: 1px;
130
- margin: $spacing-02 0;
135
+ height: rem(1px);
131
136
  background-color: $border-subtle;
132
- }
133
-
134
- $supported-sizes: (
135
- // $size-md
136
- 'md': 2.5rem,
137
- // $size-lg
138
- 'lg': 3rem
139
- );
140
-
141
- @each $size, $value in $supported-sizes {
142
- .#{$prefix}--menu--#{$size} .#{$prefix}--menu-option {
143
- height: $value;
144
- }
137
+ margin-block: $spacing-02;
145
138
  }
146
139
  }
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2020
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -333,7 +333,7 @@ $popover-caret-height: custom-property.get-var(
333
333
  // moved farther than the caret
334
334
  transform: translate(
335
335
  calc(-1 * $popover-offset),
336
- calc(-1 * 0.5 * $popover-offset)
336
+ calc(-1 * 0.5 * $popover-offset + 16px)
337
337
  );
338
338
  }
339
339
 
@@ -344,7 +344,7 @@ $popover-caret-height: custom-property.get-var(
344
344
  // moved farther than the caret
345
345
  transform: translate(
346
346
  calc(-1 * $popover-offset),
347
- calc(0.5 * $popover-offset)
347
+ calc(0.5 * $popover-offset - 16px)
348
348
  );
349
349
  }
350
350
 
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2016, 2018
2
+ // Copyright IBM Corp. 2016, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.
@@ -1,5 +1,5 @@
1
1
  //
2
- // Copyright IBM Corp. 2018, 2018
2
+ // Copyright IBM Corp. 2018, 2023
3
3
  //
4
4
  // This source code is licensed under the Apache-2.0 license found in the
5
5
  // LICENSE file in the root directory of this source tree.