@pingux/astro 2.197.0-alpha.0 → 2.198.7-alpha.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/lib/cjs/components/ComboBox/ComboBoxInput.js +3 -2
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +1 -1
- package/lib/cjs/components/HelpHint/HelpHint.js +3 -18
- package/lib/cjs/components/IconButton/IconButton.styles.d.ts +2 -2
- package/lib/cjs/components/IconWrapper/IconWrapper.js +1 -3
- package/lib/cjs/components/Modal/Modal.styles.d.ts +0 -4
- package/lib/cjs/components/Modal/Modal.styles.js +1 -3
- package/lib/cjs/components/Modal/ModalHeader.js +15 -7
- package/lib/cjs/components/MultivaluesField/CondensedMultivaluesField.js +3 -3
- package/lib/cjs/components/PanelHeader/PanelHeader.js +2 -2
- package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +2 -2
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +3 -0
- package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +2 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themes/astro/customProperties/icons.js +21 -1
- package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +3 -0
- package/lib/cjs/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +1 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +2 -0
- package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +3 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +27 -6
- package/lib/cjs/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +3 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +3 -0
- package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.d.ts +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/iconWrapper.js +2 -0
- package/lib/cjs/styles/themes/next-gen/variants/messages.d.ts +0 -1
- package/lib/cjs/styles/themes/next-gen/variants/messages.js +1 -2
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.d.ts +0 -3
- package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +1 -5
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +4 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +14 -5
- package/lib/cjs/styles/themes/next-gen/variants/variants.js +5 -2
- package/lib/cjs/types/Modal.d.ts +2 -0
- package/lib/components/ComboBox/ComboBoxInput.js +3 -2
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +1 -1
- package/lib/components/HelpHint/HelpHint.js +4 -19
- package/lib/components/IconWrapper/IconWrapper.js +1 -3
- package/lib/components/Modal/Modal.styles.js +1 -3
- package/lib/components/Modal/ModalHeader.js +15 -7
- package/lib/components/MultivaluesField/CondensedMultivaluesField.js +3 -3
- package/lib/components/PanelHeader/PanelHeader.js +2 -2
- package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +2 -2
- package/lib/styles/themes/astro/customProperties/icons.js +21 -1
- package/lib/styles/themes/astro/customProperties/index.js +3 -1
- package/lib/styles/themes/next-gen/colors/colors.js +1 -1
- package/lib/styles/themes/next-gen/customProperties/customSizes.js +3 -1
- package/lib/styles/themes/next-gen/customProperties/icons.js +1 -1
- package/lib/styles/themes/next-gen/next-gen.js +1 -1
- package/lib/styles/themes/next-gen/variants/button.js +3 -0
- package/lib/styles/themes/next-gen/variants/iconWrapper.js +2 -0
- package/lib/styles/themes/next-gen/variants/messages.js +1 -2
- package/lib/styles/themes/next-gen/variants/panelHeader.js +1 -5
- package/lib/styles/themes/next-gen/variants/text.js +4 -0
- package/lib/styles/themes/next-gen/variants/variants.js +5 -2
- package/package.json +1 -1
|
@@ -410,6 +410,9 @@ var onyxIconButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
410
410
|
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
411
411
|
});
|
|
412
412
|
var hintButton = {
|
|
413
|
+
maxWidth: 'unset',
|
|
414
|
+
maxHeight: 'unset',
|
|
415
|
+
borderRadius: '28px',
|
|
413
416
|
backgroundColor: 'transparent',
|
|
414
417
|
path: {
|
|
415
418
|
fill: 'dark'
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
xs: {
|
|
3
|
+
justifyContent: string;
|
|
4
|
+
alignItems: string;
|
|
3
5
|
'&.is-circle': {
|
|
4
6
|
borderRadius: string;
|
|
5
7
|
};
|
|
@@ -11,6 +13,8 @@ declare const _default: {
|
|
|
11
13
|
fontSize: any;
|
|
12
14
|
};
|
|
13
15
|
sm: {
|
|
16
|
+
justifyContent: string;
|
|
17
|
+
alignItems: string;
|
|
14
18
|
'&.is-circle': {
|
|
15
19
|
borderRadius: string;
|
|
16
20
|
};
|
|
@@ -22,6 +26,8 @@ declare const _default: {
|
|
|
22
26
|
fontSize: any;
|
|
23
27
|
};
|
|
24
28
|
md: {
|
|
29
|
+
justifyContent: string;
|
|
30
|
+
alignItems: string;
|
|
25
31
|
'&.is-circle': {
|
|
26
32
|
borderRadius: string;
|
|
27
33
|
};
|
|
@@ -33,6 +39,8 @@ declare const _default: {
|
|
|
33
39
|
fontSize: any;
|
|
34
40
|
};
|
|
35
41
|
lg: {
|
|
42
|
+
justifyContent: string;
|
|
43
|
+
alignItems: string;
|
|
36
44
|
'&.is-circle': {
|
|
37
45
|
borderRadius: string;
|
|
38
46
|
};
|
|
@@ -44,6 +52,8 @@ declare const _default: {
|
|
|
44
52
|
fontSize: any;
|
|
45
53
|
};
|
|
46
54
|
xl: {
|
|
55
|
+
justifyContent: string;
|
|
56
|
+
alignItems: string;
|
|
47
57
|
'&.is-circle': {
|
|
48
58
|
borderRadius: string;
|
|
49
59
|
};
|
|
@@ -18,6 +18,8 @@ var _sizes = _interopRequireDefault(require("../sizes"));
|
|
|
18
18
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
19
19
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
20
20
|
var circle = {
|
|
21
|
+
justifyContent: 'center',
|
|
22
|
+
alignItems: 'center',
|
|
21
23
|
'&.is-circle': {
|
|
22
24
|
borderRadius: '50%'
|
|
23
25
|
}
|
|
@@ -145,6 +145,13 @@ export declare const text: {
|
|
|
145
145
|
base: {
|
|
146
146
|
lineHeight: string;
|
|
147
147
|
};
|
|
148
|
+
modalTitle: {
|
|
149
|
+
lineHeight: string;
|
|
150
|
+
fontSize: any;
|
|
151
|
+
fontWeight: number;
|
|
152
|
+
color: string;
|
|
153
|
+
fontFamily: string;
|
|
154
|
+
};
|
|
148
155
|
buttonSubtitle: {
|
|
149
156
|
fontSize: string;
|
|
150
157
|
fontWeight: number;
|
|
@@ -123,10 +123,14 @@ var stepperTabContent = {
|
|
|
123
123
|
var stepperTabContentHeader = _objectSpread(_objectSpread({}, hTags.H2), {}, {
|
|
124
124
|
color: 'font.base'
|
|
125
125
|
});
|
|
126
|
+
var modalTitle = _objectSpread(_objectSpread({}, hTags.H3), {}, {
|
|
127
|
+
lineHeight: '2rem'
|
|
128
|
+
});
|
|
126
129
|
var text = exports.text = _objectSpread(_objectSpread({
|
|
127
130
|
base: {
|
|
128
131
|
lineHeight: 'body'
|
|
129
132
|
},
|
|
133
|
+
modalTitle: modalTitle,
|
|
130
134
|
buttonSubtitle: buttonSubtitle,
|
|
131
135
|
buttonTitle: buttonTitle,
|
|
132
136
|
pageHeaderBody: {
|
|
@@ -757,6 +757,8 @@ declare const _default: {
|
|
|
757
757
|
};
|
|
758
758
|
iconWrapper: {
|
|
759
759
|
xs: {
|
|
760
|
+
justifyContent: string;
|
|
761
|
+
alignItems: string;
|
|
760
762
|
'&.is-circle': {
|
|
761
763
|
borderRadius: string;
|
|
762
764
|
};
|
|
@@ -768,6 +770,8 @@ declare const _default: {
|
|
|
768
770
|
fontSize: any;
|
|
769
771
|
};
|
|
770
772
|
sm: {
|
|
773
|
+
justifyContent: string;
|
|
774
|
+
alignItems: string;
|
|
771
775
|
'&.is-circle': {
|
|
772
776
|
borderRadius: string;
|
|
773
777
|
};
|
|
@@ -779,6 +783,8 @@ declare const _default: {
|
|
|
779
783
|
fontSize: any;
|
|
780
784
|
};
|
|
781
785
|
md: {
|
|
786
|
+
justifyContent: string;
|
|
787
|
+
alignItems: string;
|
|
782
788
|
'&.is-circle': {
|
|
783
789
|
borderRadius: string;
|
|
784
790
|
};
|
|
@@ -790,6 +796,8 @@ declare const _default: {
|
|
|
790
796
|
fontSize: any;
|
|
791
797
|
};
|
|
792
798
|
lg: {
|
|
799
|
+
justifyContent: string;
|
|
800
|
+
alignItems: string;
|
|
793
801
|
'&.is-circle': {
|
|
794
802
|
borderRadius: string;
|
|
795
803
|
};
|
|
@@ -801,6 +809,8 @@ declare const _default: {
|
|
|
801
809
|
fontSize: any;
|
|
802
810
|
};
|
|
803
811
|
xl: {
|
|
812
|
+
justifyContent: string;
|
|
813
|
+
alignItems: string;
|
|
804
814
|
'&.is-circle': {
|
|
805
815
|
borderRadius: string;
|
|
806
816
|
};
|
|
@@ -814,13 +824,15 @@ declare const _default: {
|
|
|
814
824
|
};
|
|
815
825
|
listBox: {
|
|
816
826
|
container: {
|
|
817
|
-
|
|
827
|
+
pl: string;
|
|
828
|
+
pr: number;
|
|
818
829
|
py: string;
|
|
819
830
|
};
|
|
820
831
|
option: {
|
|
821
832
|
py: string;
|
|
822
833
|
pl: string;
|
|
823
834
|
pr: string;
|
|
835
|
+
mr: string;
|
|
824
836
|
justifyContent: string;
|
|
825
837
|
borderRadius: string;
|
|
826
838
|
lineHeight: string;
|
|
@@ -1088,7 +1100,6 @@ declare const _default: {
|
|
|
1088
1100
|
message: {
|
|
1089
1101
|
wrapper: {
|
|
1090
1102
|
gap: string;
|
|
1091
|
-
right: string;
|
|
1092
1103
|
};
|
|
1093
1104
|
item: {
|
|
1094
1105
|
maxWidth: number;
|
|
@@ -1207,6 +1218,7 @@ declare const _default: {
|
|
|
1207
1218
|
borderTopColor: string;
|
|
1208
1219
|
borderRadius: string;
|
|
1209
1220
|
p: string;
|
|
1221
|
+
flexDirection: string;
|
|
1210
1222
|
};
|
|
1211
1223
|
footerContainer: {
|
|
1212
1224
|
borderTop: string;
|
|
@@ -1426,9 +1438,6 @@ declare const _default: {
|
|
|
1426
1438
|
alignSelf: string;
|
|
1427
1439
|
mr: string;
|
|
1428
1440
|
};
|
|
1429
|
-
wrapper: {
|
|
1430
|
-
mr: string;
|
|
1431
|
-
};
|
|
1432
1441
|
};
|
|
1433
1442
|
popoverMenu: {
|
|
1434
1443
|
container: {
|
|
@@ -149,7 +149,8 @@ var modal = {
|
|
|
149
149
|
borderTop: '1px solid',
|
|
150
150
|
borderTopColor: 'gray-200',
|
|
151
151
|
borderRadius: '0px 0px 1em 1em',
|
|
152
|
-
p: 'lg'
|
|
152
|
+
p: 'lg',
|
|
153
|
+
flexDirection: 'row-reverse !important'
|
|
153
154
|
},
|
|
154
155
|
footerContainer: {
|
|
155
156
|
borderTop: '1px solid',
|
|
@@ -159,13 +160,15 @@ var modal = {
|
|
|
159
160
|
};
|
|
160
161
|
var listBox = {
|
|
161
162
|
container: {
|
|
162
|
-
|
|
163
|
+
pl: 'sm',
|
|
164
|
+
pr: 0,
|
|
163
165
|
py: 'xs'
|
|
164
166
|
},
|
|
165
167
|
option: {
|
|
166
168
|
py: '.75rem',
|
|
167
169
|
pl: '.75rem',
|
|
168
170
|
pr: 'md',
|
|
171
|
+
mr: 'sm',
|
|
169
172
|
justifyContent: 'space-between',
|
|
170
173
|
borderRadius: '4px',
|
|
171
174
|
lineHeight: 'body',
|
package/lib/cjs/types/Modal.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { AstroOverlayTriggerState } from '../hooks/useModalState/useModalState';
|
|
|
3
3
|
import { DOMAttributes } from './shared/dom';
|
|
4
4
|
import { ModalSizeProps, StyleProps } from './shared/style';
|
|
5
5
|
import { TestingAttributes } from './shared/test';
|
|
6
|
+
import { IconButtonProps } from './iconButton';
|
|
6
7
|
export interface ModalProps extends DOMAttributes, TestingAttributes {
|
|
7
8
|
/** Used in tandem with `hasCloseButton` to customize how the close button is rendered. */
|
|
8
9
|
closeButton?: ReactNode;
|
|
@@ -70,6 +71,7 @@ export interface ModalHeaderProps extends StyleProps {
|
|
|
70
71
|
onClose?: () => void;
|
|
71
72
|
title?: ReactNode;
|
|
72
73
|
hasNoSeparator?: boolean;
|
|
74
|
+
closeButtonProps?: IconButtonProps;
|
|
73
75
|
}
|
|
74
76
|
export type ModalFooterProps = {
|
|
75
77
|
onSubmit?: () => void;
|
|
@@ -93,8 +93,9 @@ var ComboBoxInput = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
93
93
|
transform: 'rotate(180deg)'
|
|
94
94
|
} : null,
|
|
95
95
|
title: {
|
|
96
|
-
name: '
|
|
97
|
-
}
|
|
96
|
+
name: ''
|
|
97
|
+
},
|
|
98
|
+
"aria-hidden": "true"
|
|
98
99
|
}))));
|
|
99
100
|
return ___EmotionJSX(FocusRing, {
|
|
100
101
|
within: true,
|
|
@@ -273,7 +273,7 @@ var EnvironmentBreadcrumb = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
273
273
|
onChange: function onChange(val) {
|
|
274
274
|
return setSearchValue(val);
|
|
275
275
|
},
|
|
276
|
-
p: "
|
|
276
|
+
p: "sm"
|
|
277
277
|
}, searchProps)), ___EmotionJSX(VisuallyHidden, {
|
|
278
278
|
role: "alert",
|
|
279
279
|
"aria-live": "polite",
|
|
@@ -9,27 +9,10 @@ import React, { forwardRef, useEffect, useRef, useState } from 'react';
|
|
|
9
9
|
import { FocusScope, mergeProps, useFocusRing, useFocusWithin, useOverlayPosition, useOverlayTrigger } from 'react-aria';
|
|
10
10
|
import { useOverlayTriggerState } from 'react-stately';
|
|
11
11
|
import { useHover } from '@react-aria/interactions';
|
|
12
|
-
import { v4 as uuid } from 'uuid';
|
|
13
12
|
import { Box, Icon, IconButton, PopoverContainer } from '../..';
|
|
14
|
-
import { useLocalOrForwardRef, useStatusClasses } from '../../hooks';
|
|
13
|
+
import { useGetTheme, useLocalOrForwardRef, useStatusClasses } from '../../hooks';
|
|
15
14
|
import { isSafari } from '../../styles/safariAgent';
|
|
16
15
|
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
17
|
-
var HelpIcon = function HelpIcon() {
|
|
18
|
-
var uid = uuid();
|
|
19
|
-
return ___EmotionJSX("svg", {
|
|
20
|
-
width: "7",
|
|
21
|
-
height: "9",
|
|
22
|
-
viewBox: "0 0 7 9",
|
|
23
|
-
fill: "none",
|
|
24
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
25
|
-
"aria-labelledby": uid
|
|
26
|
-
}, ___EmotionJSX("title", {
|
|
27
|
-
id: uid
|
|
28
|
-
}, "Help Icon"), ___EmotionJSX("path", {
|
|
29
|
-
d: "M2.56685 7.306V9H4.29385V7.306H2.56685ZM0.795848 3.676H2.41285C2.41285 3.478 2.43485 3.29467 2.47885 3.126C2.52285 2.95 2.58885 2.79967 2.67685 2.675C2.77218 2.543 2.88951 2.44033 3.02885 2.367C3.17551 2.28633 3.34785 2.246 3.54585 2.246C3.83918 2.246 4.06651 2.32667 4.22785 2.488C4.39651 2.64933 4.48085 2.89867 4.48085 3.236C4.48818 3.434 4.45151 3.599 4.37085 3.731C4.29751 3.863 4.19851 3.984 4.07385 4.094C3.94918 4.204 3.81351 4.314 3.66685 4.424C3.52018 4.534 3.38085 4.666 3.24885 4.82C3.11685 4.96667 2.99951 5.14633 2.89685 5.359C2.80151 5.57167 2.74285 5.83567 2.72085 6.151V6.646H4.20585V6.228C4.23518 6.008 4.30485 5.82467 4.41485 5.678C4.53218 5.53133 4.66418 5.403 4.81085 5.293C4.95751 5.17567 5.11151 5.062 5.27285 4.952C5.44151 4.83467 5.59185 4.69533 5.72385 4.534C5.86318 4.37267 5.97685 4.17833 6.06485 3.951C6.16018 3.72367 6.20785 3.434 6.20785 3.082C6.20785 2.86933 6.16018 2.642 6.06485 2.4C5.97685 2.15067 5.82651 1.91967 5.61385 1.707C5.40118 1.49433 5.11885 1.31833 4.76685 1.179C4.42218 1.03233 3.98951 0.959 3.46885 0.959C3.06551 0.959 2.69885 1.02867 2.36885 1.168C2.04618 1.3 1.76751 1.487 1.53285 1.729C1.30551 1.971 1.12585 2.257 0.993848 2.587C0.869181 2.917 0.803181 3.28 0.795848 3.676Z",
|
|
30
|
-
fill: "#3B4A58"
|
|
31
|
-
}));
|
|
32
|
-
};
|
|
33
16
|
var HelpHint = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
34
17
|
var _context;
|
|
35
18
|
var align = props.align,
|
|
@@ -45,6 +28,8 @@ var HelpHint = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
45
28
|
popoverProps = props.popoverProps,
|
|
46
29
|
tooltipProps = props.tooltipProps,
|
|
47
30
|
others = _objectWithoutProperties(props, _excluded);
|
|
31
|
+
var _useGetTheme = useGetTheme(),
|
|
32
|
+
icons = _useGetTheme.icons;
|
|
48
33
|
var _useState = useState(false),
|
|
49
34
|
_useState2 = _slicedToArray(_useState, 2),
|
|
50
35
|
isFocusWithinOverlay = _useState2[0],
|
|
@@ -133,7 +118,7 @@ var HelpHint = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
133
118
|
"data-testid": "help-hint__button",
|
|
134
119
|
variant: "hintButton"
|
|
135
120
|
}, mergeProps(triggerProps, iconButtonProps, focusProps, hoverProps)), ___EmotionJSX(Icon, {
|
|
136
|
-
icon:
|
|
121
|
+
icon: icons.helpHint
|
|
137
122
|
})), ___EmotionJSX(PopoverContainer, _extends({
|
|
138
123
|
arrowCrossOffset: arrowCrossOffset,
|
|
139
124
|
arrowProps: {
|
|
@@ -53,9 +53,7 @@ var IconWrapper = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
53
53
|
sx: _objectSpread({
|
|
54
54
|
backgroundColor: "iconWrapper.wrapper.".concat(finalColor)
|
|
55
55
|
}, sx),
|
|
56
|
-
className: classNames
|
|
57
|
-
justifyContent: "center",
|
|
58
|
-
alignItems: "center"
|
|
56
|
+
className: classNames
|
|
59
57
|
}, wrapperProps), ___EmotionJSX(Icon, _extends({
|
|
60
58
|
icon: icon,
|
|
61
59
|
size: sizeProps.size,
|
|
@@ -9,11 +9,11 @@ import _Object$defineProperty from "@babel/runtime-corejs3/core-js-stable/object
|
|
|
9
9
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
10
10
|
import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
|
|
11
11
|
import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectWithoutProperties";
|
|
12
|
-
var _excluded = ["closeButton", "hasCloseButton", "title", "onClose", "containerProps", "titleProps", "hasNoSeparator"];
|
|
12
|
+
var _excluded = ["closeButton", "hasCloseButton", "title", "onClose", "containerProps", "titleProps", "hasNoSeparator", "closeButtonProps"];
|
|
13
13
|
function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymbols) { var o = _Object$getOwnPropertySymbols(e); r && (o = _filterInstanceProperty(o).call(o, function (r) { return _Object$getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
14
14
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
15
15
|
import React, { forwardRef } from 'react';
|
|
16
|
-
import
|
|
16
|
+
import { useGetTheme } from '../../hooks';
|
|
17
17
|
import Box from '../Box';
|
|
18
18
|
import Icon from '../Icon';
|
|
19
19
|
import IconButton from '../IconButton';
|
|
@@ -27,10 +27,17 @@ var ModalHeader = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
27
27
|
containerProps = props.containerProps,
|
|
28
28
|
titleProps = props.titleProps,
|
|
29
29
|
hasNoSeparator = props.hasNoSeparator,
|
|
30
|
+
closeButtonProps = props.closeButtonProps,
|
|
30
31
|
rest = _objectWithoutProperties(props, _excluded);
|
|
32
|
+
var _useGetTheme = useGetTheme(),
|
|
33
|
+
icons = _useGetTheme.icons,
|
|
34
|
+
modalCloseIconSize = _useGetTheme.modalCloseIconSize;
|
|
35
|
+
var ModalCloseIcon = icons.ModalCloseIcon;
|
|
31
36
|
var titleContent = typeof title === 'string' && title ? ___EmotionJSX(Box, {
|
|
32
37
|
flex: "1"
|
|
33
|
-
}, ___EmotionJSX(Text, _extends({
|
|
38
|
+
}, ___EmotionJSX(Text, _extends({
|
|
39
|
+
as: "h3"
|
|
40
|
+
}, titleProps, {
|
|
34
41
|
variant: "modalTitle",
|
|
35
42
|
role: "heading",
|
|
36
43
|
"aria-level": 1
|
|
@@ -45,16 +52,17 @@ var ModalHeader = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
45
52
|
sx: _objectSpread({
|
|
46
53
|
borderBottomWidth: hasNoSeparator ? '0px' : '1px'
|
|
47
54
|
}, rest.sx)
|
|
48
|
-
}, containerProps, rest), titleContent, hasCloseButton && (closeButton !== null && closeButton !== void 0 ? closeButton : ___EmotionJSX(IconButton, {
|
|
55
|
+
}, containerProps, rest), titleContent, hasCloseButton && (closeButton !== null && closeButton !== void 0 ? closeButton : ___EmotionJSX(IconButton, _extends({
|
|
49
56
|
"aria-label": "Close modal window",
|
|
50
57
|
"data-id": "icon-button__close-modal-window",
|
|
51
58
|
variant: "modalHeaderCloseButton",
|
|
52
59
|
onPress: onClose
|
|
53
|
-
}, ___EmotionJSX(Icon, {
|
|
54
|
-
icon:
|
|
60
|
+
}, closeButtonProps), ___EmotionJSX(Icon, {
|
|
61
|
+
icon: ModalCloseIcon,
|
|
55
62
|
title: {
|
|
56
63
|
name: 'Close Icon'
|
|
57
|
-
}
|
|
64
|
+
},
|
|
65
|
+
size: modalCloseIconSize
|
|
58
66
|
}))));
|
|
59
67
|
});
|
|
60
68
|
ModalHeader.displayName = 'ModalHeader';
|
|
@@ -382,15 +382,15 @@ var CondensedMultivaluesField = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
382
382
|
onClick: handleButtonPress,
|
|
383
383
|
sx: {
|
|
384
384
|
border: 'none'
|
|
385
|
+
},
|
|
386
|
+
title: {
|
|
387
|
+
name: ''
|
|
385
388
|
}
|
|
386
389
|
}, ___EmotionJSX(Icon, _extends({
|
|
387
390
|
icon: isOpen ? MenuUp : MenuDown
|
|
388
391
|
}, isOnyx && {
|
|
389
392
|
size: 'sm'
|
|
390
393
|
}, {
|
|
391
|
-
title: {
|
|
392
|
-
name: ''
|
|
393
|
-
},
|
|
394
394
|
"aria-hidden": "true"
|
|
395
395
|
}))));
|
|
396
396
|
return ___EmotionJSX(MultivaluesContext.Provider, {
|
|
@@ -53,9 +53,9 @@ var PanelHeader = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
53
53
|
var renderAvatar = ___EmotionJSX(Avatar, _extends({
|
|
54
54
|
src: image === null || image === void 0 ? void 0 : image.src,
|
|
55
55
|
isSquare: !!(image !== null && image !== void 0 && image.src),
|
|
56
|
-
size: "
|
|
56
|
+
size: "sm",
|
|
57
57
|
defaultText: avatarDefaultText,
|
|
58
|
-
mr: "
|
|
58
|
+
mr: "md"
|
|
59
59
|
}, avatarProps));
|
|
60
60
|
var renderImage = !icon && image && ___EmotionJSX(Box, {
|
|
61
61
|
variant: "panelHeader.iconWrapper"
|
|
@@ -144,8 +144,8 @@ export var colors = _objectSpread(_objectSpread({
|
|
|
144
144
|
darkteal: astroTokensDark.color.teal[100],
|
|
145
145
|
darkcyan: astroTokensDark.color.cyan[100],
|
|
146
146
|
text: {
|
|
147
|
-
primary: astroTokensDark.color.
|
|
148
|
-
secondary: astroTokensDark.color.
|
|
147
|
+
primary: astroTokensDark.color.font.base,
|
|
148
|
+
secondary: astroTokensDark.color.font.light,
|
|
149
149
|
message: 'white',
|
|
150
150
|
fieldHelper: astroTokensDark.color.gray[400]
|
|
151
151
|
},
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
|
|
2
2
|
var _statuses$DEFAULT$sta;
|
|
3
|
+
import React from 'react';
|
|
3
4
|
import mdiAccountCog from '@pingux/mdi-react/AccountCogIcon';
|
|
4
5
|
import AccountMultiple from '@pingux/mdi-react/AccountMultipleIcon';
|
|
5
6
|
import AlertCircleIcon from '@pingux/mdi-react/AlertCircleIcon';
|
|
@@ -14,6 +15,7 @@ import DefaultCircle from '@pingux/mdi-react/CheckboxBlankCircleOutlineIcon';
|
|
|
14
15
|
import CheckCircleIcon from '@pingux/mdi-react/CheckCircleIcon';
|
|
15
16
|
import CheckCircleOutlineIcon from '@pingux/mdi-react/CheckCircleOutlineIcon';
|
|
16
17
|
import Clipboard from '@pingux/mdi-react/ClipboardIcon';
|
|
18
|
+
import CloseIcon from '@pingux/mdi-react/CloseIcon';
|
|
17
19
|
import CloseOctagonOutlineIcon from '@pingux/mdi-react/CloseOctagonOutlineIcon';
|
|
18
20
|
import ConnectionIcon from '@pingux/mdi-react/ConnectionIcon';
|
|
19
21
|
import CreateIcon from '@pingux/mdi-react/CreateIcon';
|
|
@@ -38,7 +40,25 @@ import ShieldStarOutlineIcon from '@pingux/mdi-react/ShieldStarOutlineIcon';
|
|
|
38
40
|
import TransitConnection from '@pingux/mdi-react/TransitConnectionVariantIcon';
|
|
39
41
|
import ViewDashboard from '@pingux/mdi-react/ViewDashboardIcon';
|
|
40
42
|
import WebIcon from '@pingux/mdi-react/WebIcon';
|
|
43
|
+
import { v4 as uuid } from 'uuid';
|
|
41
44
|
import { pingLogoHorizontalSmallWhite } from '../../../../utils/devUtils/constants/logos';
|
|
42
45
|
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
|
43
46
|
import { Aic, Credentials, DaVinci, PamIcon, Protect, Verify } from './navBarIcons';
|
|
44
|
-
|
|
47
|
+
import { jsx as ___EmotionJSX } from "@emotion/react";
|
|
48
|
+
var HelpIcon = function HelpIcon() {
|
|
49
|
+
var uid = uuid();
|
|
50
|
+
return ___EmotionJSX("svg", {
|
|
51
|
+
width: "7",
|
|
52
|
+
height: "9",
|
|
53
|
+
viewBox: "0 0 7 9",
|
|
54
|
+
fill: "none",
|
|
55
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
56
|
+
"aria-labelledby": uid
|
|
57
|
+
}, ___EmotionJSX("title", {
|
|
58
|
+
id: uid
|
|
59
|
+
}, "Help Icon"), ___EmotionJSX("path", {
|
|
60
|
+
d: "M2.56685 7.306V9H4.29385V7.306H2.56685ZM0.795848 3.676H2.41285C2.41285 3.478 2.43485 3.29467 2.47885 3.126C2.52285 2.95 2.58885 2.79967 2.67685 2.675C2.77218 2.543 2.88951 2.44033 3.02885 2.367C3.17551 2.28633 3.34785 2.246 3.54585 2.246C3.83918 2.246 4.06651 2.32667 4.22785 2.488C4.39651 2.64933 4.48085 2.89867 4.48085 3.236C4.48818 3.434 4.45151 3.599 4.37085 3.731C4.29751 3.863 4.19851 3.984 4.07385 4.094C3.94918 4.204 3.81351 4.314 3.66685 4.424C3.52018 4.534 3.38085 4.666 3.24885 4.82C3.11685 4.96667 2.99951 5.14633 2.89685 5.359C2.80151 5.57167 2.74285 5.83567 2.72085 6.151V6.646H4.20585V6.228C4.23518 6.008 4.30485 5.82467 4.41485 5.678C4.53218 5.53133 4.66418 5.403 4.81085 5.293C4.95751 5.17567 5.11151 5.062 5.27285 4.952C5.44151 4.83467 5.59185 4.69533 5.72385 4.534C5.86318 4.37267 5.97685 4.17833 6.06485 3.951C6.16018 3.72367 6.20785 3.434 6.20785 3.082C6.20785 2.86933 6.16018 2.642 6.06485 2.4C5.97685 2.15067 5.82651 1.91967 5.61385 1.707C5.40118 1.49433 5.11885 1.31833 4.76685 1.179C4.42218 1.03233 3.98951 0.959 3.46885 0.959C3.06551 0.959 2.69885 1.02867 2.36885 1.168C2.04618 1.3 1.76751 1.487 1.53285 1.729C1.30551 1.971 1.12585 2.257 0.993848 2.587C0.869181 2.917 0.803181 3.28 0.795848 3.676Z",
|
|
61
|
+
fill: "#3B4A58"
|
|
62
|
+
}));
|
|
63
|
+
};
|
|
64
|
+
export default (_statuses$DEFAULT$sta = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, statuses.DEFAULT, InformationIcon), statuses.ERROR, AlertCircleIcon), statuses.SUCCESS, CheckCircleIcon), statuses.WARNING, AlertIcon), statusIcon.CRITICAL, AlertCircleOutlineIcon), statusIcon.FATAL, CloseOctagonOutlineIcon), statusIcon.INFO, InformationOutlineIcon), statusIcon.MAJOR, ArrowUpIcon), statusIcon.MINOR, ArrowDownIcon), statusIcon.WARNING_NEUTRAL, WarningIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "aic", Aic), "applicationsIcon", ApplicationOutlineIcon), "Ascending", MenuUp), "authenticationIcon", CheckCircleOutlineIcon), "clipboard", Clipboard), "CreateIcon", CreateIcon), "daVinci", DaVinci), "DefaultCircle", DefaultCircle), "Descending", MenuDown), "popoverMenuIcon", MoreVertIcon), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "ErrorCircle", AlertCircleIcon), "integrationsIcon", ConnectionIcon), "listViewMenu", MoreVertIcon), "mdiAccountCog", mdiAccountCog), "mdiAccountMultiple", AccountMultiple), "mdiEarth", Earth), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", Fingerprint), "mdiPlayCircleIcon", PlayCircle), "mdiScaleBalance", ScaleBalance), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "mdiShoCard", Credentials), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", ViewDashboard), "mdiWeb", GlobeIcon), "MenuDown", MenuDown), "MenuUp", MenuUp), "monitoringIcon", PulseIcon), "openInNew", OpenInNew), "overviewIcon", WebIcon), "p1verify", Verify), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "pam", PamIcon), "PingAuthorize", KeyChainVariant), "HomeIcon", HomeIcon), "pingLogoHorizontalSmall", pingLogoHorizontalSmallWhite), "protect", Protect), "rocketLaunchIcon", RocketLaunchIcon), "shareFeedbackIcon", ChatIcon), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", CheckCircleIcon), "userExperienceIcon", MonitorScreenshotIcon), _defineProperty(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "WarningIcon", WarningIcon), "helpHint", HelpIcon), "ModalCloseIcon", CloseIcon));
|
|
@@ -23,6 +23,7 @@ var linkSelectFieldWidth = '10em';
|
|
|
23
23
|
var calendarIconSize = 25;
|
|
24
24
|
var navBarIconSize = 18;
|
|
25
25
|
var badgeTextFontSize = '';
|
|
26
|
+
var modalCloseIconSize = 'sm';
|
|
26
27
|
export var astroThemeValues = {
|
|
27
28
|
accordionHoveredState: hoveredState,
|
|
28
29
|
accordionItemDefaultLabelTag: accordionItemDefaultLabelTag,
|
|
@@ -55,5 +56,6 @@ export var astroThemeValues = {
|
|
|
55
56
|
greyText: '#FFFFFF'
|
|
56
57
|
},
|
|
57
58
|
linkSelectFieldWidth: linkSelectFieldWidth,
|
|
58
|
-
badgeTextFontSize: badgeTextFontSize
|
|
59
|
+
badgeTextFontSize: badgeTextFontSize,
|
|
60
|
+
modalCloseIconSize: modalCloseIconSize
|
|
59
61
|
};
|
|
@@ -86,7 +86,7 @@ export var info = {
|
|
|
86
86
|
};
|
|
87
87
|
var text = {
|
|
88
88
|
primary: astroTokens.color.font.base,
|
|
89
|
-
secondary: astroTokens.color.
|
|
89
|
+
secondary: astroTokens.color.font.light,
|
|
90
90
|
message: astroTokens.color.gray[700],
|
|
91
91
|
fieldHelper: astroTokens.color.gray[500]
|
|
92
92
|
};
|
|
@@ -6,6 +6,7 @@ var pageHeaderTitleMargin = 'sm';
|
|
|
6
6
|
var pageHeaderAddIconMargin = 'md';
|
|
7
7
|
var pageHeaderAddIconSize = 'md';
|
|
8
8
|
var defaultLoaderSize = 32;
|
|
9
|
+
var modalCloseIconSize = 'md';
|
|
9
10
|
export default {
|
|
10
11
|
copyButtonSize: copyButtonSize,
|
|
11
12
|
breadcrumbIconSize: breadcrumbIconSize,
|
|
@@ -14,5 +15,6 @@ export default {
|
|
|
14
15
|
pageHeaderTitleMargin: pageHeaderTitleMargin,
|
|
15
16
|
pageHeaderAddIconMargin: pageHeaderAddIconMargin,
|
|
16
17
|
pageHeaderAddIconSize: pageHeaderAddIconSize,
|
|
17
|
-
defaultLoaderSize: defaultLoaderSize
|
|
18
|
+
defaultLoaderSize: defaultLoaderSize,
|
|
19
|
+
modalCloseIconSize: modalCloseIconSize
|
|
18
20
|
};
|
|
@@ -8,5 +8,5 @@ import TransitConnection from '@pingux/mdi-react/TransitConnectionVariantIcon';
|
|
|
8
8
|
import { pingLogoHorizontalSmall } from '../../../../utils/devUtils/constants/logos';
|
|
9
9
|
import statuses, { statusIcon } from '../../../../utils/devUtils/constants/statuses';
|
|
10
10
|
import { Aic, PamIcon, Protect } from '../../astro/customProperties/navBarIcons';
|
|
11
|
-
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", ShowChartIcon), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "p1verify", 'person_check'), "pam", PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", pingLogoHorizontalSmall), "protect", Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), _defineProperty(_icons, "WarningIcon", 'warning'));
|
|
11
|
+
var icons = (_icons = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, statuses.DEFAULT, 'info'), statuses.ERROR, 'error'), statuses.SUCCESS, 'check_circle'), statuses.WARNING, 'warning'), statusIcon.CRITICAL, 'error'), statusIcon.FATAL, 'dangerous'), statusIcon.INFO, 'info'), statusIcon.MAJOR, 'arrow_upward'), statusIcon.MINOR, 'arrow_downward'), statusIcon.WARNING_NEUTRAL, 'warning'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "aic", Aic), "applicationsIcon", 'apps'), "Ascending", 'arrow_upward'), "authenticationIcon", 'check_circle'), "clipboard", 'content_paste'), "CreateIcon", 'edit'), "daVinci", 'account_tree'), "DefaultCircle", 'circle'), "Descending", 'arrow_downward'), "popoverMenuIcon", 'more_horiz'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", Settings), "mdiEmoticonHappyOutline", EmoticonHappy), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", TransitConnection), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", ShowChartIcon), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_icons, "p1verify", 'person_check'), "pam", PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", pingLogoHorizontalSmall), "protect", Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", ShieldStarOutlineIcon), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), _defineProperty(_defineProperty(_defineProperty(_icons, "WarningIcon", 'warning'), "helpHint", 'help_outline'), "ModalCloseIcon", 'close'));
|
|
12
12
|
export default icons;
|
|
@@ -403,6 +403,9 @@ var onyxIconButton = _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
|
|
403
403
|
'&.is-focused': _objectSpread({}, defaultFocus)
|
|
404
404
|
});
|
|
405
405
|
var hintButton = {
|
|
406
|
+
maxWidth: 'unset',
|
|
407
|
+
maxHeight: 'unset',
|
|
408
|
+
borderRadius: '28px',
|
|
406
409
|
backgroundColor: 'transparent',
|
|
407
410
|
path: {
|
|
408
411
|
fill: 'dark'
|
|
@@ -11,6 +11,8 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context, _context2; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(t), !0)).call(_context, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context2 = ownKeys(Object(t))).call(_context2, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
import sizes from '../sizes';
|
|
13
13
|
var circle = {
|
|
14
|
+
justifyContent: 'center',
|
|
15
|
+
alignItems: 'center',
|
|
14
16
|
'&.is-circle': {
|
|
15
17
|
borderRadius: '50%'
|
|
16
18
|
}
|