@pingux/astro 2.202.1-alpha.0 → 2.203.0-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.
Files changed (43) hide show
  1. package/lib/cjs/components/Button/Button.stories.js +6 -1
  2. package/lib/cjs/components/Button/Buttons.styles.d.ts +80 -0
  3. package/lib/cjs/components/Button/Buttons.styles.js +5 -1
  4. package/lib/cjs/components/Button/buttonAttributes.js +1 -1
  5. package/lib/cjs/components/ImageUploadField/ImagePreviewButton.js +8 -5
  6. package/lib/cjs/components/ImageUploadField/imageUpload.js +5 -1
  7. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +4 -0
  8. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.d.ts +1 -0
  9. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/colors.js +1 -0
  10. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/icons.d.ts +2 -0
  11. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +2 -0
  12. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +13 -0
  13. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +13 -0
  14. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +8 -0
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +9 -1
  16. package/lib/cjs/styles/themeOverrides/onyxSideNav.d.ts +2 -0
  17. package/lib/cjs/styles/themes/astro/customProperties/icons.d.ts +2 -0
  18. package/lib/cjs/styles/themes/astro/customProperties/icons.js +3 -1
  19. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +2 -0
  20. package/lib/cjs/styles/themes/next-gen/colors/colors.d.ts +1 -0
  21. package/lib/cjs/styles/themes/next-gen/colors/colors.js +1 -0
  22. package/lib/cjs/styles/themes/next-gen/customProperties/icons.d.ts +2 -0
  23. package/lib/cjs/styles/themes/next-gen/customProperties/icons.js +1 -1
  24. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +2 -0
  25. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +34 -0
  26. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +16 -0
  27. package/lib/cjs/styles/themes/next-gen/variants/button.js +8 -0
  28. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +15 -0
  29. package/lib/cjs/styles/themes/next-gen/variants/variants.js +18 -2
  30. package/lib/components/Button/Button.stories.js +5 -0
  31. package/lib/components/Button/Buttons.styles.js +4 -0
  32. package/lib/components/Button/buttonAttributes.js +1 -1
  33. package/lib/components/ImageUploadField/ImagePreviewButton.js +8 -5
  34. package/lib/components/ImageUploadField/imageUpload.js +5 -1
  35. package/lib/styles/themeOverrides/nextGenDarkMode/colors.js +1 -0
  36. package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +13 -0
  37. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +9 -1
  38. package/lib/styles/themes/astro/customProperties/icons.js +3 -1
  39. package/lib/styles/themes/next-gen/colors/colors.js +1 -0
  40. package/lib/styles/themes/next-gen/customProperties/icons.js +1 -1
  41. package/lib/styles/themes/next-gen/variants/button.js +8 -0
  42. package/lib/styles/themes/next-gen/variants/variants.js +18 -2
  43. package/package.json +1 -1
@@ -12,7 +12,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
12
12
  _Object$defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
15
- exports["default"] = exports.WithLoading = exports.TextIconButton = exports.Primary = exports.LinkButton = exports.InlineButton = exports.Filter = exports.Disabled = exports.Default = exports.Critical = exports.ColorBlockButton = void 0;
15
+ exports["default"] = exports.WithLoading = exports.TextIconButton = exports.Primary = exports.LinkButton = exports.InlineButton = exports.Filter = exports.Disabled = exports.Default = exports.CriticalLink = exports.Critical = exports.ColorBlockButton = void 0;
16
16
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
17
17
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
18
18
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
@@ -75,6 +75,11 @@ Critical.parameters = {
75
75
  url: _figmaLinks.FIGMA_LINKS.button.critical
76
76
  }
77
77
  };
78
+ var CriticalLink = exports.CriticalLink = function CriticalLink(args) {
79
+ return (0, _react2.jsx)(_index.Button, (0, _extends2["default"])({}, args, {
80
+ variant: "criticalLink"
81
+ }), "Button Text");
82
+ };
78
83
  var InlineButton = exports.InlineButton = function InlineButton(args) {
79
84
  return (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.Button, (0, _extends2["default"])({}, args, {
80
85
  mb: "sm",
@@ -126,6 +126,46 @@ export declare const link: {
126
126
  flexShrink: number;
127
127
  whiteSpace: string;
128
128
  };
129
+ export declare const criticalLink: {
130
+ color: string;
131
+ lineHeight: string;
132
+ textDecoration: string;
133
+ display: string;
134
+ justifyContent: string;
135
+ width: string;
136
+ '&.is-current': {
137
+ cursor: string;
138
+ color: string;
139
+ };
140
+ '&.is-focused': {
141
+ boxShadow: string;
142
+ outline: string;
143
+ outlineColor: string;
144
+ outlineOffset: string;
145
+ };
146
+ bg: string;
147
+ border: string;
148
+ borderColor: string;
149
+ height: string;
150
+ padding: string;
151
+ '&.is-hovered': {
152
+ textDecoration: string;
153
+ };
154
+ fontSize: string;
155
+ fontWeight: number;
156
+ fontFamily: string;
157
+ overflowWrap: import("../..").overflowWrap;
158
+ maxWidth: string;
159
+ wordWrap: import("../..").wordWrap;
160
+ wordBreak: import("../..").wordBreak;
161
+ cursor: string;
162
+ minWidth: string;
163
+ outline: string;
164
+ alignItems: string;
165
+ borderRadius: string;
166
+ flexShrink: number;
167
+ whiteSpace: string;
168
+ };
129
169
  export declare const selectLink: {
130
170
  textDecoration: string;
131
171
  '&.is-hovered': {
@@ -724,6 +764,46 @@ declare const _default: {
724
764
  flexShrink: number;
725
765
  whiteSpace: string;
726
766
  };
767
+ criticalLink: {
768
+ color: string;
769
+ lineHeight: string;
770
+ textDecoration: string;
771
+ display: string;
772
+ justifyContent: string;
773
+ width: string;
774
+ '&.is-current': {
775
+ cursor: string;
776
+ color: string;
777
+ };
778
+ '&.is-focused': {
779
+ boxShadow: string;
780
+ outline: string;
781
+ outlineColor: string;
782
+ outlineOffset: string;
783
+ };
784
+ bg: string;
785
+ border: string;
786
+ borderColor: string;
787
+ height: string;
788
+ padding: string;
789
+ '&.is-hovered': {
790
+ textDecoration: string;
791
+ };
792
+ fontSize: string;
793
+ fontWeight: number;
794
+ fontFamily: string;
795
+ overflowWrap: import("../..").overflowWrap;
796
+ maxWidth: string;
797
+ wordWrap: import("../..").wordWrap;
798
+ wordBreak: import("../..").wordBreak;
799
+ cursor: string;
800
+ minWidth: string;
801
+ outline: string;
802
+ alignItems: string;
803
+ borderRadius: string;
804
+ flexShrink: number;
805
+ whiteSpace: string;
806
+ };
727
807
  listBoxLink: {
728
808
  lineHeight: string;
729
809
  textDecoration: string;
@@ -12,7 +12,7 @@ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequ
12
12
  _Object$defineProperty(exports, "__esModule", {
13
13
  value: true
14
14
  });
15
- exports.text = exports.selectLink = exports.quiet = exports.link = exports.focusWithCroppedOutline = exports.defaultHover = exports.defaultFocus = exports.defaultActive = exports["default"] = exports.base = void 0;
15
+ exports.text = exports.selectLink = exports.quiet = exports.link = exports.focusWithCroppedOutline = exports.defaultHover = exports.defaultFocus = exports.defaultActive = exports["default"] = exports.criticalLink = exports.base = void 0;
16
16
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
17
17
  var _Text = require("../Text/Text.styles");
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; }
@@ -181,6 +181,9 @@ var link = exports.link = _objectSpread(_objectSpread({}, text), {}, {
181
181
  },
182
182
  '&.is-focused': _objectSpread({}, focusWithCroppedOutline)
183
183
  });
184
+ var criticalLink = exports.criticalLink = _objectSpread(_objectSpread({}, link), {}, {
185
+ color: 'critical.bright'
186
+ });
184
187
  var selectLink = exports.selectLink = _objectSpread(_objectSpread({}, link), {}, {
185
188
  textDecoration: 'none',
186
189
  '&.is-hovered': {
@@ -336,6 +339,7 @@ var _default = exports["default"] = {
336
339
  inlinePrimaryWithIcon: inlinePrimaryWithIcon,
337
340
  inlineWithIcon: inlineWithIcon,
338
341
  link: link,
342
+ criticalLink: criticalLink,
339
343
  listBoxLink: listBoxLink,
340
344
  paginationMenu: paginationMenu,
341
345
  primary: primary,
@@ -21,7 +21,7 @@ var _pressAttributes = require("../../utils/docUtils/pressAttributes");
21
21
  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; }
22
22
  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; }
23
23
  // add designer approved variants for devs to use here
24
- var variantOptions = ['critical', 'default', 'inline', 'inlinePrimary', 'link', 'primary'];
24
+ var variantOptions = ['critical', 'criticalLink', 'default', 'inline', 'inlinePrimary', 'link', 'primary'];
25
25
  var descriptions = {
26
26
  children: 'Button text.',
27
27
  isDisabled: 'Whether the button is disabled.',
@@ -13,10 +13,9 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/e
13
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/objectWithoutProperties"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _reactAria = require("react-aria");
16
- var _CameraAltIcon = _interopRequireDefault(require("@pingux/mdi-react/CameraAltIcon"));
17
- var _ImageFilterHdrIcon = _interopRequireDefault(require("@pingux/mdi-react/ImageFilterHdrIcon"));
18
16
  var _interactions = require("@react-aria/interactions");
19
17
  var _propTypes = _interopRequireDefault(require("prop-types"));
18
+ var _hooks = require("../../hooks");
20
19
  var _index = require("../../index");
21
20
  var _Loader = _interopRequireDefault(require("../Loader"));
22
21
  var _react2 = require("@emotion/react");
@@ -44,9 +43,13 @@ var ImagePreviewButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, re
44
43
  var _useHover = (0, _interactions.useHover)(props),
45
44
  hoverProps = _useHover.hoverProps,
46
45
  isHovered = _useHover.isHovered;
46
+ var _useGetTheme = (0, _hooks.useGetTheme)(),
47
+ icons = _useGetTheme.icons;
48
+ var ImageOutlineIcon = icons.ImageOutlineIcon,
49
+ CameraOutlineIcon = icons.CameraOutlineIcon;
47
50
  var noImagePreview = defaultPreviewNode || (0, _react2.jsx)(_index.Icon, {
48
- icon: _ImageFilterHdrIcon["default"],
49
- color: "neutral.60",
51
+ icon: ImageOutlineIcon,
52
+ variant: "imageUpload.noImagePreview",
50
53
  size: 24,
51
54
  "data-testid": "image-upload-no-image-preview",
52
55
  title: {
@@ -82,7 +85,7 @@ var ImagePreviewButton = /*#__PURE__*/(0, _react.forwardRef)(function (props, re
82
85
  sx: widthHeightSx,
83
86
  "data-testid": "image-upload-hovered-preview"
84
87
  }, (0, _react2.jsx)(_index.Icon, {
85
- icon: _CameraAltIcon["default"],
88
+ icon: CameraOutlineIcon,
86
89
  color: isFocusVisible || isMenuOpen ? 'active' : 'white',
87
90
  size: 24,
88
91
  sx: {
@@ -33,6 +33,9 @@ var hoveredPreview = {
33
33
  borderRadius: 2
34
34
  }
35
35
  };
36
+ var noImagePreview = {
37
+ fill: '#98a0a8 !important'
38
+ };
36
39
  var button = _objectSpread(_objectSpread({}, _Buttons.base), {}, {
37
40
  display: 'inline-flex',
38
41
  alignItems: 'center',
@@ -47,5 +50,6 @@ var button = _objectSpread(_objectSpread({}, _Buttons.base), {}, {
47
50
  });
48
51
  var _default = exports["default"] = {
49
52
  hoveredPreview: hoveredPreview,
50
- button: button
53
+ button: button,
54
+ noImagePreview: noImagePreview
51
55
  };
@@ -58,6 +58,8 @@ declare const useGetTheme: () => {
58
58
  SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
59
59
  userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
60
60
  WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
61
+ CameraOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
62
+ ImageOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
61
63
  helpHint: () => import("react/jsx-runtime").JSX.Element;
62
64
  ModalCloseIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
63
65
  };
@@ -156,6 +158,8 @@ declare const useGetTheme: () => {
156
158
  SuccessCircle: string;
157
159
  userExperienceIcon: string;
158
160
  WarningIcon: string;
161
+ CameraOutlineIcon: string;
162
+ ImageOutlineIcon: string;
159
163
  helpHint: string;
160
164
  ModalCloseIcon: string;
161
165
  };
@@ -68,6 +68,7 @@ export declare const colors: {
68
68
  text: {
69
69
  primary: any;
70
70
  secondary: any;
71
+ error: any;
71
72
  message: string;
72
73
  fieldHelper: any;
73
74
  };
@@ -153,6 +153,7 @@ var colors = exports.colors = _objectSpread(_objectSpread({
153
153
  text: {
154
154
  primary: _onyxTokens.astroTokensDark.color.font.base,
155
155
  secondary: _onyxTokens.astroTokensDark.color.font.light,
156
+ error: _onyxTokens.astroTokensDark.color.font.error,
156
157
  message: 'white',
157
158
  fieldHelper: _onyxTokens.astroTokensDark.color.gray[400]
158
159
  },
@@ -40,6 +40,8 @@ declare const _default: {
40
40
  SuccessCircle: string;
41
41
  userExperienceIcon: string;
42
42
  WarningIcon: string;
43
+ CameraOutlineIcon: string;
44
+ ImageOutlineIcon: string;
43
45
  helpHint: string;
44
46
  ModalCloseIcon: string;
45
47
  };
@@ -43,6 +43,8 @@ export declare const nextGenDarkThemeValues: {
43
43
  SuccessCircle: string;
44
44
  userExperienceIcon: string;
45
45
  WarningIcon: string;
46
+ CameraOutlineIcon: string;
47
+ ImageOutlineIcon: string;
46
48
  helpHint: string;
47
49
  ModalCloseIcon: string;
48
50
  };
@@ -189,6 +189,19 @@ declare const buttons: {
189
189
  outline: string;
190
190
  };
191
191
  };
192
+ criticalLink: {
193
+ color: any;
194
+ '&.is-pressed': {
195
+ textDecoration: string;
196
+ outline: string;
197
+ color: string;
198
+ };
199
+ '&.is-focused': {
200
+ textDecoration: string;
201
+ color: string;
202
+ outline: string;
203
+ };
204
+ };
192
205
  iconButtons: {
193
206
  base: {
194
207
  path: {
@@ -290,6 +290,19 @@ var buttons = {
290
290
  outline: 'none'
291
291
  }
292
292
  },
293
+ criticalLink: {
294
+ color: _onyxTokens.astroTokensDark.color.red[400],
295
+ '&.is-pressed': {
296
+ textDecoration: 'underline',
297
+ outline: 'none',
298
+ color: _chromaJs["default"].mix(_onyxTokens.astroTokensDark.color.red[500], 'white', 0.45, 'rgb').hex()
299
+ },
300
+ '&.is-focused': {
301
+ textDecoration: 'underline',
302
+ color: _chromaJs["default"].mix(_onyxTokens.astroTokensDark.color.red[500], 'white', 0.3, 'rgb').hex(),
303
+ outline: 'none'
304
+ }
305
+ },
293
306
  iconButtons: iconButtons,
294
307
  searchNavTabLabel: searchNavTabLabel,
295
308
  modalCloseButton: modalCloseButton,
@@ -762,5 +762,13 @@ declare const _default: {
762
762
  };
763
763
  };
764
764
  };
765
+ imageUpload: {
766
+ button: {
767
+ background: string;
768
+ };
769
+ noImagePreview: {
770
+ color: string;
771
+ };
772
+ };
765
773
  };
766
774
  export default _default;
@@ -272,7 +272,7 @@ var _default = exports["default"] = {
272
272
  color: 'text.fieldHelper'
273
273
  },
274
274
  '&.is-error': {
275
- color: 'critical.bright'
275
+ color: 'text.error'
276
276
  },
277
277
  '&.is-warning': {
278
278
  color: 'warning.bright'
@@ -302,5 +302,13 @@ var _default = exports["default"] = {
302
302
  backgroundColor: '#2C323A'
303
303
  }
304
304
  }
305
+ },
306
+ imageUpload: {
307
+ button: {
308
+ background: 'transparent'
309
+ },
310
+ noImagePreview: {
311
+ color: "".concat(_onyxTokens.astroTokensDark.color.gray[100], " !important")
312
+ }
305
313
  }
306
314
  };
@@ -318,6 +318,8 @@ declare const _default: {
318
318
  SuccessCircle: string;
319
319
  userExperienceIcon: string;
320
320
  WarningIcon: string;
321
+ CameraOutlineIcon: string;
322
+ ImageOutlineIcon: string;
321
323
  helpHint: string;
322
324
  ModalCloseIcon: string;
323
325
  };
@@ -41,6 +41,8 @@ declare const _default: {
41
41
  SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
42
42
  userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
43
43
  WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
44
+ CameraOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
45
+ ImageOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
44
46
  helpHint: () => import("react/jsx-runtime").JSX.Element;
45
47
  ModalCloseIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
46
48
  };
@@ -20,6 +20,7 @@ var _AlertOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/AlertO
20
20
  var _ApplicationOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/ApplicationOutlineIcon"));
21
21
  var _ArrowDownIcon = _interopRequireDefault(require("@pingux/mdi-react/ArrowDownIcon"));
22
22
  var _ArrowUpIcon = _interopRequireDefault(require("@pingux/mdi-react/ArrowUpIcon"));
23
+ var _CameraAltIcon = _interopRequireDefault(require("@pingux/mdi-react/CameraAltIcon"));
23
24
  var _ChatIcon = _interopRequireDefault(require("@pingux/mdi-react/ChatIcon"));
24
25
  var _CheckboxBlankCircleOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckboxBlankCircleOutlineIcon"));
25
26
  var _CheckCircleIcon = _interopRequireDefault(require("@pingux/mdi-react/CheckCircleIcon"));
@@ -34,6 +35,7 @@ var _EmoticonHappyOutlineIcon = _interopRequireDefault(require("@pingux/mdi-reac
34
35
  var _FingerprintIcon = _interopRequireDefault(require("@pingux/mdi-react/FingerprintIcon"));
35
36
  var _GlobeIcon = _interopRequireDefault(require("@pingux/mdi-react/GlobeIcon"));
36
37
  var _HomeIcon = _interopRequireDefault(require("@pingux/mdi-react/HomeIcon"));
38
+ var _ImageFilterHdrIcon = _interopRequireDefault(require("@pingux/mdi-react/ImageFilterHdrIcon"));
37
39
  var _InformationIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationIcon"));
38
40
  var _InformationOutlineIcon = _interopRequireDefault(require("@pingux/mdi-react/InformationOutlineIcon"));
39
41
  var _KeyChainVariantIcon = _interopRequireDefault(require("@pingux/mdi-react/KeyChainVariantIcon"));
@@ -73,4 +75,4 @@ var HelpIcon = function HelpIcon() {
73
75
  fill: "#3B4A58"
74
76
  }));
75
77
  };
76
- var _default = exports["default"] = (_statuses$DEFAULT$sta = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, _statuses["default"].DEFAULT, _InformationIcon["default"]), _statuses["default"].ERROR, _AlertCircleIcon["default"]), _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), _statuses["default"].WARNING, _AlertIcon["default"]), _statuses.statusIcon.CRITICAL, _AlertCircleOutlineIcon["default"]), _statuses.statusIcon.FATAL, _CloseOctagonOutlineIcon["default"]), _statuses.statusIcon.INFO, _InformationOutlineIcon["default"]), _statuses.statusIcon.MAJOR, _ArrowUpIcon["default"]), _statuses.statusIcon.MINOR, _ArrowDownIcon["default"]), _statuses.statusIcon.WARNING_NEUTRAL, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "aic", _navBarIcons.Aic), "applicationsIcon", _ApplicationOutlineIcon["default"]), "Ascending", _MenuUpIcon["default"]), "authenticationIcon", _CheckCircleOutlineIcon["default"]), "clipboard", _ClipboardIcon["default"]), "CreateIcon", _CreateIcon["default"]), "daVinci", _navBarIcons.DaVinci), "DefaultCircle", _CheckboxBlankCircleOutlineIcon["default"]), "Descending", _MenuDownIcon["default"]), "popoverMenuIcon", _MoreVertIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "ErrorCircle", _AlertCircleIcon["default"]), "integrationsIcon", _ConnectionIcon["default"]), "listViewMenu", _MoreVertIcon["default"]), "mdiAccountCog", _AccountCogIcon["default"]), "mdiAccountMultiple", _AccountMultipleIcon["default"]), "mdiEarth", _EarthIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", _FingerprintIcon["default"]), "mdiPlayCircleIcon", _PlayCircleIcon["default"]), "mdiScaleBalance", _ScaleBalanceIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "mdiShoCard", _navBarIcons.Credentials), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", _ViewDashboardIcon["default"]), "mdiWeb", _GlobeIcon["default"]), "MenuDown", _MenuDownIcon["default"]), "MenuUp", _MenuUpIcon["default"]), "monitoringIcon", _PulseIcon["default"]), "openInNew", _OpenInNewIcon["default"]), "overviewIcon", _WebIcon["default"]), "p1verify", _navBarIcons.Verify), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "pam", _navBarIcons.PamIcon), "PingAuthorize", _KeyChainVariantIcon["default"]), "HomeIcon", _HomeIcon["default"]), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), "protect", _navBarIcons.Protect), "rocketLaunchIcon", _RocketLaunchIcon["default"]), "shareFeedbackIcon", _ChatIcon["default"]), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", _CheckCircleIcon["default"]), "userExperienceIcon", _MonitorScreenshotIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "WarningIcon", _AlertOutlineIcon["default"]), "helpHint", HelpIcon), "ModalCloseIcon", _CloseIcon["default"]));
78
+ var _default = exports["default"] = (_statuses$DEFAULT$sta = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, _statuses["default"].DEFAULT, _InformationIcon["default"]), _statuses["default"].ERROR, _AlertCircleIcon["default"]), _statuses["default"].SUCCESS, _CheckCircleIcon["default"]), _statuses["default"].WARNING, _AlertIcon["default"]), _statuses.statusIcon.CRITICAL, _AlertCircleOutlineIcon["default"]), _statuses.statusIcon.FATAL, _CloseOctagonOutlineIcon["default"]), _statuses.statusIcon.INFO, _InformationOutlineIcon["default"]), _statuses.statusIcon.MAJOR, _ArrowUpIcon["default"]), _statuses.statusIcon.MINOR, _ArrowDownIcon["default"]), _statuses.statusIcon.WARNING_NEUTRAL, _AlertOutlineIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "aic", _navBarIcons.Aic), "applicationsIcon", _ApplicationOutlineIcon["default"]), "Ascending", _MenuUpIcon["default"]), "authenticationIcon", _CheckCircleOutlineIcon["default"]), "clipboard", _ClipboardIcon["default"]), "CreateIcon", _CreateIcon["default"]), "daVinci", _navBarIcons.DaVinci), "DefaultCircle", _CheckboxBlankCircleOutlineIcon["default"]), "Descending", _MenuDownIcon["default"]), "popoverMenuIcon", _MoreVertIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "ErrorCircle", _AlertCircleIcon["default"]), "integrationsIcon", _ConnectionIcon["default"]), "listViewMenu", _MoreVertIcon["default"]), "mdiAccountCog", _AccountCogIcon["default"]), "mdiAccountMultiple", _AccountMultipleIcon["default"]), "mdiEarth", _EarthIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", _FingerprintIcon["default"]), "mdiPlayCircleIcon", _PlayCircleIcon["default"]), "mdiScaleBalance", _ScaleBalanceIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "mdiShoCard", _navBarIcons.Credentials), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", _ViewDashboardIcon["default"]), "mdiWeb", _GlobeIcon["default"]), "MenuDown", _MenuDownIcon["default"]), "MenuUp", _MenuUpIcon["default"]), "monitoringIcon", _PulseIcon["default"]), "openInNew", _OpenInNewIcon["default"]), "overviewIcon", _WebIcon["default"]), "p1verify", _navBarIcons.Verify), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "pam", _navBarIcons.PamIcon), "PingAuthorize", _KeyChainVariantIcon["default"]), "HomeIcon", _HomeIcon["default"]), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmallWhite), "protect", _navBarIcons.Protect), "rocketLaunchIcon", _RocketLaunchIcon["default"]), "shareFeedbackIcon", _ChatIcon["default"]), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", _CheckCircleIcon["default"]), "userExperienceIcon", _MonitorScreenshotIcon["default"]), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_statuses$DEFAULT$sta, "WarningIcon", _AlertOutlineIcon["default"]), "CameraOutlineIcon", _CameraAltIcon["default"]), "ImageOutlineIcon", _ImageFilterHdrIcon["default"]), "helpHint", HelpIcon), "ModalCloseIcon", _CloseIcon["default"]));
@@ -52,6 +52,8 @@ export declare const astroThemeValues: {
52
52
  SuccessCircle: import("@pingux/mdi-react").MdiReactIconComponentType;
53
53
  userExperienceIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
54
54
  WarningIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
55
+ CameraOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
56
+ ImageOutlineIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
55
57
  helpHint: () => import("react/jsx-runtime").JSX.Element;
56
58
  ModalCloseIcon: import("@pingux/mdi-react").MdiReactIconComponentType;
57
59
  };
@@ -50,6 +50,7 @@ declare const colors: {
50
50
  text: {
51
51
  primary: any;
52
52
  secondary: any;
53
+ error: any;
53
54
  message: any;
54
55
  fieldHelper: any;
55
56
  };
@@ -94,6 +94,7 @@ var info = exports.info = {
94
94
  var text = {
95
95
  primary: _onyxTokens.astroTokens.color.font.base,
96
96
  secondary: _onyxTokens.astroTokens.color.font.light,
97
+ error: _onyxTokens.astroTokens.color.font.error,
97
98
  message: _onyxTokens.astroTokens.color.gray[700],
98
99
  fieldHelper: _onyxTokens.astroTokens.color.font.light
99
100
  };
@@ -41,6 +41,8 @@ declare const icons: {
41
41
  SuccessCircle: string;
42
42
  userExperienceIcon: string;
43
43
  WarningIcon: string;
44
+ CameraOutlineIcon: string;
45
+ ImageOutlineIcon: string;
44
46
  helpHint: string;
45
47
  ModalCloseIcon: string;
46
48
  };
@@ -20,5 +20,5 @@ var _statuses = _interopRequireWildcard(require("../../../../utils/devUtils/cons
20
20
  var _navBarIcons = require("../../astro/customProperties/navBarIcons");
21
21
  var _icons;
22
22
  function _interopRequireWildcard(e, t) { if ("function" == typeof _WeakMap) var r = new _WeakMap(), n = new _WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, "default": e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = _Object$defineProperty) && _Object$getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
23
- var icons = (_icons = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, _statuses["default"].DEFAULT, 'info'), _statuses["default"].ERROR, 'error'), _statuses["default"].SUCCESS, 'check_circle'), _statuses["default"].WARNING, 'warning'), _statuses.statusIcon.CRITICAL, 'error'), _statuses.statusIcon.FATAL, 'dangerous'), _statuses.statusIcon.INFO, 'info'), _statuses.statusIcon.MAJOR, 'arrow_upward'), _statuses.statusIcon.MINOR, 'arrow_downward'), _statuses.statusIcon.WARNING_NEUTRAL, 'warning'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "aic", _navBarIcons.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'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", _SettingsOutlineIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", _ShowChartIcon["default"]), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "p1verify", 'person_check'), "pam", _navBarIcons.PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmall), "protect", _navBarIcons.Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "WarningIcon", 'warning'), "helpHint", 'help_outline'), "ModalCloseIcon", 'close'));
23
+ var icons = (_icons = {}, (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, _statuses["default"].DEFAULT, 'info'), _statuses["default"].ERROR, 'error'), _statuses["default"].SUCCESS, 'check_circle'), _statuses["default"].WARNING, 'warning'), _statuses.statusIcon.CRITICAL, 'error'), _statuses.statusIcon.FATAL, 'dangerous'), _statuses.statusIcon.INFO, 'info'), _statuses.statusIcon.MAJOR, 'arrow_upward'), _statuses.statusIcon.MINOR, 'arrow_downward'), _statuses.statusIcon.WARNING_NEUTRAL, 'warning'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "aic", _navBarIcons.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'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "ErrorCircle", 'error'), "HomeIcon", 'home'), "integrationsIcon", 'widgets'), "listViewMenu", 'more_horiz'), "mdiAccountCog", 'manage_accounts'), "mdiAccountMultiple", 'group'), "mdiEarth", _SettingsOutlineIcon["default"]), "mdiEmoticonHappyOutline", _EmoticonHappyOutlineIcon["default"]), "mdiFingerprint", 'fingerprint'), "mdiPlayCircleIcon", 'play_circle'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "mdiScaleBalance", 'balance'), "mdiShoCard", 'id_card'), "mdiTransitConnectionVariant", _TransitConnectionVariantIcon["default"]), "mdiViewDashboard", 'dashboard'), "mdiWeb", 'globe'), "MenuDown", 'keyboard_arrow_down'), "MenuUp", 'keyboard_arrow_up'), "monitoringIcon", _ShowChartIcon["default"]), "openInNew", 'open_in_new'), "overviewIcon", 'dashboard'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "p1verify", 'person_check'), "pam", _navBarIcons.PamIcon), "PingAuthorize", 'key'), "pingLogoHorizontalSmall", _logos.pingLogoHorizontalSmall), "protect", _navBarIcons.Protect), "rocketLaunchIcon", 'rocket_launch'), "shareFeedbackIcon", 'chat'), "shieldStar", _ShieldStarOutlineIcon["default"]), "SuccessCircle", 'check_circle'), "userExperienceIcon", 'palette'), (0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])((0, _defineProperty2["default"])(_icons, "WarningIcon", 'warning'), "CameraOutlineIcon", 'photo_camera'), "ImageOutlineIcon", 'image'), "helpHint", 'help_outline'), "ModalCloseIcon", 'close'));
24
24
  var _default = exports["default"] = icons;
@@ -67,6 +67,8 @@ export declare const nextGenThemeValues: {
67
67
  SuccessCircle: string;
68
68
  userExperienceIcon: string;
69
69
  WarningIcon: string;
70
+ CameraOutlineIcon: string;
71
+ ImageOutlineIcon: string;
70
72
  helpHint: string;
71
73
  ModalCloseIcon: string;
72
74
  };
@@ -33,6 +33,7 @@ declare const _default: {
33
33
  text: {
34
34
  primary: any;
35
35
  secondary: any;
36
+ error: any;
36
37
  message: any;
37
38
  fieldHelper: any;
38
39
  };
@@ -793,6 +794,22 @@ declare const _default: {
793
794
  outline: string;
794
795
  };
795
796
  };
797
+ criticalLink: {
798
+ color: string;
799
+ '&.is-pressed': {
800
+ textDecoration: string;
801
+ outline: string;
802
+ };
803
+ transition: string;
804
+ fontSize: string;
805
+ textDecoration: string;
806
+ px: string;
807
+ py: string;
808
+ '&.is-focused': {
809
+ textDecoration: string;
810
+ outline: string;
811
+ };
812
+ };
796
813
  listBoxLink: {
797
814
  color: string;
798
815
  transition: string;
@@ -3226,6 +3243,8 @@ declare const _default: {
3226
3243
  SuccessCircle: string;
3227
3244
  userExperienceIcon: string;
3228
3245
  WarningIcon: string;
3246
+ CameraOutlineIcon: string;
3247
+ ImageOutlineIcon: string;
3229
3248
  helpHint: string;
3230
3249
  ModalCloseIcon: string;
3231
3250
  };
@@ -6942,6 +6961,21 @@ declare const _default: {
6942
6961
  };
6943
6962
  };
6944
6963
  };
6964
+ imageUpload: {
6965
+ button: {
6966
+ border: string;
6967
+ borderColor: string;
6968
+ backgroundColor: string;
6969
+ };
6970
+ noImagePreview: {
6971
+ color: string;
6972
+ };
6973
+ hoveredPreview: {
6974
+ shaded: {
6975
+ opacity: number;
6976
+ };
6977
+ };
6978
+ };
6945
6979
  };
6946
6980
  images: {
6947
6981
  avatar: {};
@@ -490,6 +490,22 @@ declare const buttons: {
490
490
  outline: string;
491
491
  };
492
492
  };
493
+ criticalLink: {
494
+ color: string;
495
+ '&.is-pressed': {
496
+ textDecoration: string;
497
+ outline: string;
498
+ };
499
+ transition: string;
500
+ fontSize: string;
501
+ textDecoration: string;
502
+ px: string;
503
+ py: string;
504
+ '&.is-focused': {
505
+ textDecoration: string;
506
+ outline: string;
507
+ };
508
+ };
493
509
  listBoxLink: {
494
510
  color: string;
495
511
  transition: string;
@@ -249,6 +249,13 @@ var link = {
249
249
  outline: 'none'
250
250
  }
251
251
  };
252
+ var criticalLink = _objectSpread(_objectSpread({}, link), {}, {
253
+ color: 'critical.bright',
254
+ '&.is-pressed': {
255
+ textDecoration: 'underline',
256
+ outline: 'none'
257
+ }
258
+ });
252
259
  var selectLink = _objectSpread(_objectSpread({}, link), {}, {
253
260
  textDecoration: 'none',
254
261
  px: '0',
@@ -628,6 +635,7 @@ var buttons = {
628
635
  searchNavTabLabel: searchNavTabLabel,
629
636
  outlineCritical: outlineCritical,
630
637
  link: link,
638
+ criticalLink: criticalLink,
631
639
  listBoxLink: listBoxLink,
632
640
  withIcon: withIcon,
633
641
  primaryWithIcon: primaryWithIcon,
@@ -2247,5 +2247,20 @@ declare const _default: {
2247
2247
  };
2248
2248
  };
2249
2249
  };
2250
+ imageUpload: {
2251
+ button: {
2252
+ border: string;
2253
+ borderColor: string;
2254
+ backgroundColor: string;
2255
+ };
2256
+ noImagePreview: {
2257
+ color: string;
2258
+ };
2259
+ hoveredPreview: {
2260
+ shaded: {
2261
+ opacity: number;
2262
+ };
2263
+ };
2264
+ };
2250
2265
  };
2251
2266
  export default _default;
@@ -60,7 +60,7 @@ var fieldHelperText = {
60
60
  color: 'text.fieldHelper'
61
61
  },
62
62
  '&.is-error': {
63
- color: 'critical.dark'
63
+ color: 'text.error'
64
64
  },
65
65
  '&.is-warning': {
66
66
  color: 'warning.bright'
@@ -440,6 +440,21 @@ var statusIcon = {
440
440
  }
441
441
  }
442
442
  };
443
+ var imageUpload = {
444
+ button: {
445
+ border: '1px solid',
446
+ borderColor: 'common.border',
447
+ backgroundColor: 'gray-100'
448
+ },
449
+ noImagePreview: {
450
+ color: "".concat(_onyxTokens.astroTokens.color.gray[900], " !important")
451
+ },
452
+ hoveredPreview: {
453
+ shaded: {
454
+ opacity: 0.5
455
+ }
456
+ }
457
+ };
443
458
  var _default = exports["default"] = {
444
459
  accordion: _accordion["default"],
445
460
  accordionGrid: _accordionGrid["default"],
@@ -486,5 +501,6 @@ var _default = exports["default"] = {
486
501
  table: _table.table,
487
502
  tableBase: _tableBase.tableBase,
488
503
  tabs: _tabs.tabs,
489
- tooltip: _tooltip["default"]
504
+ tooltip: _tooltip["default"],
505
+ imageUpload: imageUpload
490
506
  };
@@ -68,6 +68,11 @@ Critical.parameters = {
68
68
  url: FIGMA_LINKS.button.critical
69
69
  }
70
70
  };
71
+ export var CriticalLink = function CriticalLink(args) {
72
+ return ___EmotionJSX(Button, _extends({}, args, {
73
+ variant: "criticalLink"
74
+ }), "Button Text");
75
+ };
71
76
  export var InlineButton = function InlineButton(args) {
72
77
  return ___EmotionJSX(Box, null, ___EmotionJSX(Button, _extends({}, args, {
73
78
  mb: "sm",
@@ -174,6 +174,9 @@ export var link = _objectSpread(_objectSpread({}, text), {}, {
174
174
  },
175
175
  '&.is-focused': _objectSpread({}, focusWithCroppedOutline)
176
176
  });
177
+ export var criticalLink = _objectSpread(_objectSpread({}, link), {}, {
178
+ color: 'critical.bright'
179
+ });
177
180
  export var selectLink = _objectSpread(_objectSpread({}, link), {}, {
178
181
  textDecoration: 'none',
179
182
  '&.is-hovered': {
@@ -329,6 +332,7 @@ export default {
329
332
  inlinePrimaryWithIcon: inlinePrimaryWithIcon,
330
333
  inlineWithIcon: inlineWithIcon,
331
334
  link: link,
335
+ criticalLink: criticalLink,
332
336
  listBoxLink: listBoxLink,
333
337
  paginationMenu: paginationMenu,
334
338
  primary: primary,
@@ -14,7 +14,7 @@ import { booleanArg } from '../../utils/docUtils/docArgTypes';
14
14
  import { onHoverArgTypes } from '../../utils/docUtils/hoverProps';
15
15
  import { onPressArgTypes } from '../../utils/docUtils/pressAttributes';
16
16
  // add designer approved variants for devs to use here
17
- var variantOptions = ['critical', 'default', 'inline', 'inlinePrimary', 'link', 'primary'];
17
+ var variantOptions = ['critical', 'criticalLink', 'default', 'inline', 'inlinePrimary', 'link', 'primary'];
18
18
  var descriptions = {
19
19
  children: 'Button text.',
20
20
  isDisabled: 'Whether the button is disabled.',
@@ -3,10 +3,9 @@ import _objectWithoutProperties from "@babel/runtime-corejs3/helpers/esm/objectW
3
3
  var _excluded = ["defaultPreviewImage", "defaultPreviewNode", "isImageType", "isLoading", "loaderSize", "isMenuOpen", "previewImage", "previewWidth", "widthHeightSx"];
4
4
  import React, { forwardRef, useImperativeHandle, useRef } from 'react';
5
5
  import { mergeProps, useFocusRing } from 'react-aria';
6
- import CameraAltIcon from '@pingux/mdi-react/CameraAltIcon';
7
- import ImageFilterHdrIcon from '@pingux/mdi-react/ImageFilterHdrIcon';
8
6
  import { useHover } from '@react-aria/interactions';
9
7
  import PropTypes from 'prop-types';
8
+ import { useGetTheme } from '../../hooks';
10
9
  import { Box, Button, Icon, Image } from '../../index';
11
10
  import Loader from '../Loader';
12
11
  import { jsx as ___EmotionJSX } from "@emotion/react";
@@ -32,9 +31,13 @@ var ImagePreviewButton = /*#__PURE__*/forwardRef(function (props, ref) {
32
31
  var _useHover = useHover(props),
33
32
  hoverProps = _useHover.hoverProps,
34
33
  isHovered = _useHover.isHovered;
34
+ var _useGetTheme = useGetTheme(),
35
+ icons = _useGetTheme.icons;
36
+ var ImageOutlineIcon = icons.ImageOutlineIcon,
37
+ CameraOutlineIcon = icons.CameraOutlineIcon;
35
38
  var noImagePreview = defaultPreviewNode || ___EmotionJSX(Icon, {
36
- icon: ImageFilterHdrIcon,
37
- color: "neutral.60",
39
+ icon: ImageOutlineIcon,
40
+ variant: "imageUpload.noImagePreview",
38
41
  size: 24,
39
42
  "data-testid": "image-upload-no-image-preview",
40
43
  title: {
@@ -70,7 +73,7 @@ var ImagePreviewButton = /*#__PURE__*/forwardRef(function (props, ref) {
70
73
  sx: widthHeightSx,
71
74
  "data-testid": "image-upload-hovered-preview"
72
75
  }, ___EmotionJSX(Icon, {
73
- icon: CameraAltIcon,
76
+ icon: CameraOutlineIcon,
74
77
  color: isFocusVisible || isMenuOpen ? 'active' : 'white',
75
78
  size: 24,
76
79
  sx: {
@@ -26,6 +26,9 @@ var hoveredPreview = {
26
26
  borderRadius: 2
27
27
  }
28
28
  };
29
+ var noImagePreview = {
30
+ fill: '#98a0a8 !important'
31
+ };
29
32
  var button = _objectSpread(_objectSpread({}, base), {}, {
30
33
  display: 'inline-flex',
31
34
  alignItems: 'center',
@@ -40,5 +43,6 @@ var button = _objectSpread(_objectSpread({}, base), {}, {
40
43
  });
41
44
  export default {
42
45
  hoveredPreview: hoveredPreview,
43
- button: button
46
+ button: button,
47
+ noImagePreview: noImagePreview
44
48
  };
@@ -146,6 +146,7 @@ export var colors = _objectSpread(_objectSpread({
146
146
  text: {
147
147
  primary: astroTokensDark.color.font.base,
148
148
  secondary: astroTokensDark.color.font.light,
149
+ error: astroTokensDark.color.font.error,
149
150
  message: 'white',
150
151
  fieldHelper: astroTokensDark.color.gray[400]
151
152
  },
@@ -283,6 +283,19 @@ var buttons = {
283
283
  outline: 'none'
284
284
  }
285
285
  },
286
+ criticalLink: {
287
+ color: astroTokensDark.color.red[400],
288
+ '&.is-pressed': {
289
+ textDecoration: 'underline',
290
+ outline: 'none',
291
+ color: chroma.mix(astroTokensDark.color.red[500], 'white', 0.45, 'rgb').hex()
292
+ },
293
+ '&.is-focused': {
294
+ textDecoration: 'underline',
295
+ color: chroma.mix(astroTokensDark.color.red[500], 'white', 0.3, 'rgb').hex(),
296
+ outline: 'none'
297
+ }
298
+ },
286
299
  iconButtons: iconButtons,
287
300
  searchNavTabLabel: searchNavTabLabel,
288
301
  modalCloseButton: modalCloseButton,
@@ -264,7 +264,7 @@ export default {
264
264
  color: 'text.fieldHelper'
265
265
  },
266
266
  '&.is-error': {
267
- color: 'critical.bright'
267
+ color: 'text.error'
268
268
  },
269
269
  '&.is-warning': {
270
270
  color: 'warning.bright'
@@ -294,5 +294,13 @@ export default {
294
294
  backgroundColor: '#2C323A'
295
295
  }
296
296
  }
297
+ },
298
+ imageUpload: {
299
+ button: {
300
+ background: 'transparent'
301
+ },
302
+ noImagePreview: {
303
+ color: "".concat(astroTokensDark.color.gray[100], " !important")
304
+ }
297
305
  }
298
306
  };
@@ -10,6 +10,7 @@ import WarningIcon from '@pingux/mdi-react/AlertOutlineIcon';
10
10
  import ApplicationOutlineIcon from '@pingux/mdi-react/ApplicationOutlineIcon';
11
11
  import ArrowDownIcon from '@pingux/mdi-react/ArrowDownIcon';
12
12
  import ArrowUpIcon from '@pingux/mdi-react/ArrowUpIcon';
13
+ import CameraAltIcon from '@pingux/mdi-react/CameraAltIcon';
13
14
  import ChatIcon from '@pingux/mdi-react/ChatIcon';
14
15
  import DefaultCircle from '@pingux/mdi-react/CheckboxBlankCircleOutlineIcon';
15
16
  import CheckCircleIcon from '@pingux/mdi-react/CheckCircleIcon';
@@ -24,6 +25,7 @@ import EmoticonHappy from '@pingux/mdi-react/EmoticonHappyOutlineIcon';
24
25
  import Fingerprint from '@pingux/mdi-react/FingerprintIcon';
25
26
  import GlobeIcon from '@pingux/mdi-react/GlobeIcon';
26
27
  import HomeIcon from '@pingux/mdi-react/HomeIcon';
28
+ import ImageFilterHdrIcon from '@pingux/mdi-react/ImageFilterHdrIcon';
27
29
  import InformationIcon from '@pingux/mdi-react/InformationIcon';
28
30
  import InformationOutlineIcon from '@pingux/mdi-react/InformationOutlineIcon';
29
31
  import KeyChainVariant from '@pingux/mdi-react/KeyChainVariantIcon';
@@ -61,4 +63,4 @@ var HelpIcon = function HelpIcon() {
61
63
  fill: "#3B4A58"
62
64
  }));
63
65
  };
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));
66
+ 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(_defineProperty(_defineProperty(_statuses$DEFAULT$sta, "WarningIcon", WarningIcon), "CameraOutlineIcon", CameraAltIcon), "ImageOutlineIcon", ImageFilterHdrIcon), "helpHint", HelpIcon), "ModalCloseIcon", CloseIcon));
@@ -87,6 +87,7 @@ export var info = {
87
87
  var text = {
88
88
  primary: astroTokens.color.font.base,
89
89
  secondary: astroTokens.color.font.light,
90
+ error: astroTokens.color.font.error,
90
91
  message: astroTokens.color.gray[700],
91
92
  fieldHelper: astroTokens.color.font.light
92
93
  };
@@ -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(_defineProperty(_defineProperty(_icons, "WarningIcon", 'warning'), "helpHint", 'help_outline'), "ModalCloseIcon", 'close'));
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(_defineProperty(_defineProperty(_icons, "WarningIcon", 'warning'), "CameraOutlineIcon", 'photo_camera'), "ImageOutlineIcon", 'image'), "helpHint", 'help_outline'), "ModalCloseIcon", 'close'));
12
12
  export default icons;
@@ -242,6 +242,13 @@ var link = {
242
242
  outline: 'none'
243
243
  }
244
244
  };
245
+ var criticalLink = _objectSpread(_objectSpread({}, link), {}, {
246
+ color: 'critical.bright',
247
+ '&.is-pressed': {
248
+ textDecoration: 'underline',
249
+ outline: 'none'
250
+ }
251
+ });
245
252
  var selectLink = _objectSpread(_objectSpread({}, link), {}, {
246
253
  textDecoration: 'none',
247
254
  px: '0',
@@ -621,6 +628,7 @@ var buttons = {
621
628
  searchNavTabLabel: searchNavTabLabel,
622
629
  outlineCritical: outlineCritical,
623
630
  link: link,
631
+ criticalLink: criticalLink,
624
632
  listBoxLink: listBoxLink,
625
633
  withIcon: withIcon,
626
634
  primaryWithIcon: primaryWithIcon,
@@ -50,7 +50,7 @@ var fieldHelperText = {
50
50
  color: 'text.fieldHelper'
51
51
  },
52
52
  '&.is-error': {
53
- color: 'critical.dark'
53
+ color: 'text.error'
54
54
  },
55
55
  '&.is-warning': {
56
56
  color: 'warning.bright'
@@ -430,6 +430,21 @@ var statusIcon = {
430
430
  }
431
431
  }
432
432
  };
433
+ var imageUpload = {
434
+ button: {
435
+ border: '1px solid',
436
+ borderColor: 'common.border',
437
+ backgroundColor: 'gray-100'
438
+ },
439
+ noImagePreview: {
440
+ color: "".concat(astroTokens.color.gray[900], " !important")
441
+ },
442
+ hoveredPreview: {
443
+ shaded: {
444
+ opacity: 0.5
445
+ }
446
+ }
447
+ };
433
448
  export default {
434
449
  accordion: accordion,
435
450
  accordionGrid: accordionGrid,
@@ -476,5 +491,6 @@ export default {
476
491
  table: table,
477
492
  tableBase: tableBase,
478
493
  tabs: tabs,
479
- tooltip: tooltip
494
+ tooltip: tooltip,
495
+ imageUpload: imageUpload
480
496
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.202.1-alpha.0",
3
+ "version": "2.203.0-alpha.0",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",