baseui 0.0.0-next-63ff6bd → 0.0.0-next-40c39d9
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/es/popover/popover.js +1 -1
- package/es/themes/dark-theme/color-component-tokens.js +1 -1
- package/esm/popover/popover.js +1 -1
- package/esm/themes/dark-theme/color-component-tokens.js +1 -1
- package/package.json +1 -1
- package/popover/popover.js +1 -1
- package/themes/dark-theme/color-component-tokens.js +1 -1
- package/themes/dark-theme/color-component-tokens.js.flow +1 -1
package/es/popover/popover.js
CHANGED
|
@@ -132,7 +132,7 @@ class PopoverInner extends React.Component {
|
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
|
|
135
|
-
if (!anchor || anchor === target || target instanceof Node &&
|
|
135
|
+
if (!anchor || anchor === target || target instanceof Node && anchor.contains(target)) {
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
138
|
|
|
@@ -22,7 +22,7 @@ export default ((themePrimitives = colorTokens) => ({
|
|
|
22
22
|
bannerActionHighPositive: themePrimitives.positive600,
|
|
23
23
|
bannerActionHighWarning: themePrimitives.warning600,
|
|
24
24
|
// Buttons
|
|
25
|
-
buttonPrimaryFill: themePrimitives.
|
|
25
|
+
buttonPrimaryFill: themePrimitives.primaryA,
|
|
26
26
|
buttonPrimaryText: themePrimitives.black,
|
|
27
27
|
buttonPrimaryHover: themePrimitives.primary100,
|
|
28
28
|
buttonPrimaryActive: themePrimitives.primary200,
|
package/esm/popover/popover.js
CHANGED
|
@@ -173,7 +173,7 @@ var PopoverInner = /*#__PURE__*/function (_React$Component) {
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
if (!anchor || anchor === target || target instanceof Node &&
|
|
176
|
+
if (!anchor || anchor === target || target instanceof Node && anchor.contains(target)) {
|
|
177
177
|
return;
|
|
178
178
|
}
|
|
179
179
|
|
|
@@ -24,7 +24,7 @@ export default (function () {
|
|
|
24
24
|
bannerActionHighPositive: themePrimitives.positive600,
|
|
25
25
|
bannerActionHighWarning: themePrimitives.warning600,
|
|
26
26
|
// Buttons
|
|
27
|
-
buttonPrimaryFill: themePrimitives.
|
|
27
|
+
buttonPrimaryFill: themePrimitives.primaryA,
|
|
28
28
|
buttonPrimaryText: themePrimitives.black,
|
|
29
29
|
buttonPrimaryHover: themePrimitives.primary100,
|
|
30
30
|
buttonPrimaryActive: themePrimitives.primary200,
|
package/package.json
CHANGED
package/popover/popover.js
CHANGED
|
@@ -188,7 +188,7 @@ var PopoverInner = /*#__PURE__*/function (_React$Component) {
|
|
|
188
188
|
return;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
if (!anchor || anchor === target || target instanceof Node &&
|
|
191
|
+
if (!anchor || anchor === target || target instanceof Node && anchor.contains(target)) {
|
|
192
192
|
return;
|
|
193
193
|
}
|
|
194
194
|
|
|
@@ -34,7 +34,7 @@ var _default = function _default() {
|
|
|
34
34
|
bannerActionHighPositive: themePrimitives.positive600,
|
|
35
35
|
bannerActionHighWarning: themePrimitives.warning600,
|
|
36
36
|
// Buttons
|
|
37
|
-
buttonPrimaryFill: themePrimitives.
|
|
37
|
+
buttonPrimaryFill: themePrimitives.primaryA,
|
|
38
38
|
buttonPrimaryText: themePrimitives.black,
|
|
39
39
|
buttonPrimaryHover: themePrimitives.primary100,
|
|
40
40
|
buttonPrimaryActive: themePrimitives.primary200,
|
|
@@ -26,7 +26,7 @@ export default (themePrimitives: ColorTokensT = colorTokens): ComponentColorToke
|
|
|
26
26
|
bannerActionHighWarning: themePrimitives.warning600,
|
|
27
27
|
|
|
28
28
|
// Buttons
|
|
29
|
-
buttonPrimaryFill: themePrimitives.
|
|
29
|
+
buttonPrimaryFill: themePrimitives.primaryA,
|
|
30
30
|
buttonPrimaryText: themePrimitives.black,
|
|
31
31
|
buttonPrimaryHover: themePrimitives.primary100,
|
|
32
32
|
buttonPrimaryActive: themePrimitives.primary200,
|