@pingux/astro 2.150.0 → 2.151.0-alpha.4

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 (69) hide show
  1. package/lib/cjs/components/Avatar/Avatar.js +2 -1
  2. package/lib/cjs/components/Box/Box.js +5 -3
  3. package/lib/cjs/components/IconButtonToggle/IconButtonToggle.js +4 -2
  4. package/lib/cjs/components/ListViewItem/ListViewItem.styles.js +1 -11
  5. package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
  6. package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.js +1 -1
  7. package/lib/cjs/components/Modal/Modal.mdx +5 -1
  8. package/lib/cjs/components/Modal/Modal.stories.js +4 -2
  9. package/lib/cjs/components/MultivaluesField/CondensedMultivaluesField.js +18 -25
  10. package/lib/cjs/components/PanelHeader/PanelHeader.js +6 -4
  11. package/lib/cjs/components/PanelHeader/PanelHeader.stories.js +5 -5
  12. package/lib/cjs/components/PanelHeader/PanelHeader.styles.js +2 -1
  13. package/lib/cjs/components/PanelHeader/stories/OnyxDarkPanelHeader.chromatic.stories.js +22 -0
  14. package/lib/cjs/components/PanelHeader/stories/OnyxPanelHeader.chromatic.stories.js +22 -0
  15. package/lib/cjs/components/PanelHeader/stories/OnyxPanelHeaderComponent.js +89 -0
  16. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +8 -0
  17. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.js +8 -0
  18. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  19. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +1 -1
  20. package/lib/cjs/styles/themes/next-gen/forms.d.ts +1 -1
  21. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +159 -18
  22. package/lib/cjs/styles/themes/next-gen/next-gen.js +2 -0
  23. package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.d.ts +11 -0
  24. package/lib/cjs/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.js +197 -0
  25. package/lib/cjs/styles/themes/next-gen/variants/box.d.ts +61 -0
  26. package/lib/cjs/styles/themes/next-gen/variants/box.js +58 -0
  27. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +106 -5
  28. package/lib/cjs/styles/themes/next-gen/variants/button.js +40 -4
  29. package/lib/cjs/styles/themes/next-gen/variants/input.js +21 -0
  30. package/lib/cjs/styles/themes/next-gen/variants/listview.d.ts +0 -8
  31. package/lib/cjs/styles/themes/next-gen/variants/listview.js +0 -8
  32. package/lib/cjs/styles/themes/next-gen/variants/panelHeader.d.ts +5 -3
  33. package/lib/cjs/styles/themes/next-gen/variants/panelHeader.js +5 -3
  34. package/lib/cjs/styles/themes/next-gen/variants/switch.d.ts +1 -1
  35. package/lib/cjs/styles/themes/next-gen/variants/switch.js +2 -2
  36. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +7 -1
  37. package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -1
  38. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +43 -11
  39. package/lib/cjs/styles/themes/next-gen/variants/variants.js +2 -16
  40. package/lib/cjs/types/iconButtonToggle.d.ts +2 -0
  41. package/lib/components/Avatar/Avatar.js +2 -1
  42. package/lib/components/Box/Box.js +5 -3
  43. package/lib/components/IconButtonToggle/IconButtonToggle.js +4 -2
  44. package/lib/components/ListViewItem/ListViewItem.styles.js +1 -11
  45. package/lib/components/ListViewItem/controls/ListViewItemEditButton.js +1 -1
  46. package/lib/components/ListViewItem/controls/ListViewItemMenu.js +1 -1
  47. package/lib/components/Modal/Modal.mdx +5 -1
  48. package/lib/components/Modal/Modal.stories.js +4 -2
  49. package/lib/components/MultivaluesField/CondensedMultivaluesField.js +18 -25
  50. package/lib/components/PanelHeader/PanelHeader.js +6 -4
  51. package/lib/components/PanelHeader/PanelHeader.stories.js +5 -5
  52. package/lib/components/PanelHeader/PanelHeader.styles.js +2 -1
  53. package/lib/components/PanelHeader/stories/OnyxDarkPanelHeader.chromatic.stories.js +12 -0
  54. package/lib/components/PanelHeader/stories/OnyxPanelHeader.chromatic.stories.js +12 -0
  55. package/lib/components/PanelHeader/stories/OnyxPanelHeaderComponent.js +80 -0
  56. package/lib/styles/themeOverrides/nextGenDarkMode/variants/variants.js +8 -0
  57. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  58. package/lib/styles/themes/next-gen/customProperties/customSizes.js +1 -1
  59. package/lib/styles/themes/next-gen/next-gen.js +2 -0
  60. package/lib/styles/themes/next-gen/stories/OnyxInputPatterns.chromatic.stories.js +178 -0
  61. package/lib/styles/themes/next-gen/variants/box.js +49 -0
  62. package/lib/styles/themes/next-gen/variants/button.js +40 -4
  63. package/lib/styles/themes/next-gen/variants/input.js +21 -0
  64. package/lib/styles/themes/next-gen/variants/listview.js +0 -8
  65. package/lib/styles/themes/next-gen/variants/panelHeader.js +5 -3
  66. package/lib/styles/themes/next-gen/variants/switch.js +2 -2
  67. package/lib/styles/themes/next-gen/variants/text.js +8 -1
  68. package/lib/styles/themes/next-gen/variants/variants.js +2 -16
  69. package/package.json +1 -1
@@ -53,7 +53,8 @@ var Avatar = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
53
53
  sx: _objectSpread({
54
54
  size: size,
55
55
  width: _sizes["default"].avatar[size],
56
- height: _sizes["default"].avatar[size]
56
+ height: _sizes["default"].avatar[size],
57
+ borderRadius: isSquare ? '0px' : '100%'
57
58
  }, sx)
58
59
  }, others));
59
60
  }
@@ -26,7 +26,7 @@ var _styledSystem = require("styled-system");
26
26
  var _themeUi = require("theme-ui");
27
27
  var _hooks = require("../../hooks");
28
28
  var _react2 = require("@emotion/react");
29
- var _excluded = ["as", "flexDirection", "gap", "isRow", "isDisabled", "className", "fontSize", "sx"];
29
+ var _excluded = ["as", "flexDirection", "gap", "isRow", "isDisabled", "className", "fontSize", "sx", "variant"];
30
30
  function _getRequireWildcardCache(nodeInterop) { if (typeof _WeakMap !== "function") return null; var cacheBabelInterop = new _WeakMap(); var cacheNodeInterop = new _WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
31
31
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { _Object$defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
32
32
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -36,7 +36,7 @@ var ExtendedBox = /*#__PURE__*/(0, _base["default"])(_themeUi.Box, process.env.N
36
36
  } : {
37
37
  target: "ejf9h0h0",
38
38
  label: "ExtendedBox"
39
- })(_styledSystem.layout, _styledSystem.flexbox, _styledSystem.typography, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JveC9Cb3gudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVNvQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9z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*/");
39
+ })(_styledSystem.layout, _styledSystem.flexbox, _styledSystem.typography, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jb21wb25lbnRzL0JveC9Cb3gudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVNvQiIsImZpbGUiOiIuLi8uLi8uLi8uLi9zcmMvY29tcG9uZW50cy9Cb3gvQm94LnRzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyBmb3J3YXJkUmVmLCB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHN0eWxlZCBmcm9tICdAZW1vdGlvbi9zdHlsZWQnO1xuaW1wb3J0IHsgdG9OdW1iZXIgfSBmcm9tICdsb2Rhc2gnO1xuaW1wb3J0IHsgZmxleGJveCwgbGF5b3V0LCB0eXBvZ3JhcGh5IH0gZnJvbSAnc3R5bGVkLXN5c3RlbSc7XG5pbXBvcnQgeyBCb3ggYXMgVGhlbWVVSUJveCB9IGZyb20gJ3RoZW1lLXVpJztcblxuaW1wb3J0IHsgdXNlUHJvcFdhcm5pbmcsIHVzZVN0YXR1c0NsYXNzZXMgfSBmcm9tICcuLi8uLi9ob29rcyc7XG5pbXBvcnQgeyBCb3hQcm9wcyB9IGZyb20gJy4uLy4uL3R5cGVzJztcblxuY29uc3QgRXh0ZW5kZWRCb3ggPSBzdHlsZWQoVGhlbWVVSUJveCkoXG4gIGxheW91dCxcbiAgZmxleGJveCxcbiAgdHlwb2dyYXBoeSxcbik7XG5cbmNvbnN0IEJveCA9IGZvcndhcmRSZWY8SFRNTEVsZW1lbnQsIEJveFByb3BzPigocHJvcHMsIHJlZikgPT4ge1xuICBjb25zdCB7XG4gICAgYXMgPSAnZGl2JyxcbiAgICBmbGV4RGlyZWN0aW9uLFxuICAgIGdhcCxcbiAgICBpc1JvdyA9IG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zcGxheT1cImZsZXhcIlxuICAgICAgZmxleERpcmVjdGlvbj17ZmR9XG4gICAgICB2YXJpYW50PXt2YXJpYW50fVxuICAgICAgZm9udFNpemU9e2N1c3RvbUZvbnRTaXplfVxuICAgICAgYXM9e2FzfVxuICAgICAgey4uLm90aGVyc31cbiAgICAgIHN4PXtjdXN0b219XG4gICAgLz5cbiAgKTtcbn0pO1xuXG5Cb3guZGlzcGxheU5hbWUgPSAnQm94JztcblxuZXhwb3J0IGRlZmF1bHQgQm94O1xuIl19 */");
40
40
  var Box = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
41
41
  var _props$as = props.as,
42
42
  as = _props$as === void 0 ? 'div' : _props$as,
@@ -49,6 +49,8 @@ var Box = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
49
49
  className = props.className,
50
50
  fontSize = props.fontSize,
51
51
  sx = props.sx,
52
+ _props$variant = props.variant,
53
+ variant = _props$variant === void 0 ? 'box.base' : _props$variant,
52
54
  others = (0, _objectWithoutProperties2["default"])(props, _excluded);
53
55
  var fd = flexDirection || isRow ? 'row' : 'column';
54
56
  var custom = _objectSpread({}, sx);
@@ -72,7 +74,7 @@ var Box = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
72
74
  ref: ref,
73
75
  display: "flex",
74
76
  flexDirection: fd,
75
- variant: "box.base",
77
+ variant: variant,
76
78
  fontSize: customFontSize,
77
79
  as: as
78
80
  }, others, {
@@ -24,7 +24,8 @@ var IconButtonToggle = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
24
24
  iconProps = props.iconProps,
25
25
  isToggled = props.isToggled,
26
26
  onToggle = props.onToggle,
27
- title = props.title;
27
+ title = props.title,
28
+ variant = props.variant;
28
29
  var conditionalRenderProps = {
29
30
  ComponentToRenderIfTrue: toggledIcon,
30
31
  ComponentToRenderIfFalse: defaultIcon,
@@ -37,7 +38,8 @@ var IconButtonToggle = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref)
37
38
  return (0, _react2.jsx)(_IconButton["default"], (0, _extends2["default"])({
38
39
  onPress: handleConditionChange,
39
40
  ref: ref,
40
- title: title
41
+ title: title,
42
+ variant: variant
41
43
  }, buttonProps), (0, _react2.jsx)(_Icon["default"], (0, _extends2["default"])({
42
44
  icon: RenderedComponent
43
45
  }, iconProps)));
@@ -155,14 +155,6 @@ var expandableRow = {
155
155
  var expandIcon = {
156
156
  color: 'gray-900'
157
157
  };
158
- var editIcon = {
159
- width: '25px !important',
160
- height: '25px !important'
161
- };
162
- var menuIcon = {
163
- width: '25px !important',
164
- height: '25px !important'
165
- };
166
158
  var _default = {
167
159
  container: container,
168
160
  controls: controls,
@@ -178,8 +170,6 @@ var _default = {
178
170
  expandableItemBody: expandableItemBody,
179
171
  expandableStyledListItem: expandableStyledListItem,
180
172
  expandableRow: expandableRow,
181
- expandIcon: expandIcon,
182
- editIcon: editIcon,
183
- menuIcon: menuIcon
173
+ expandIcon: expandIcon
184
174
  };
185
175
  exports["default"] = _default;
@@ -28,7 +28,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
28
28
  ml: "sm"
29
29
  }, (0, _react2.jsx)(_.IconButton, props, (0, _react2.jsx)(_.Icon, {
30
30
  icon: _CreateIcon["default"],
31
- variant: "listViewItem.editIcon"
31
+ size: "md"
32
32
  })));
33
33
  });
34
34
  ListViewItemEditButton.propTypes = _iconButtonAttributes.iconButtonPropTypes;
@@ -38,7 +38,7 @@ var ListViewItemMenu = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref)
38
38
  ref: ref
39
39
  }, iconButtonProps), (0, _react2.jsx)(_.Icon, {
40
40
  icon: listViewMenu,
41
- variant: "listViewItem.menuIcon",
41
+ size: "md",
42
42
  title: {
43
43
  name: 'Menu Icon'
44
44
  }
@@ -55,4 +55,8 @@ These keys provide additional functionality to the component.
55
55
  This component uses the following attributes to assist screen readers:
56
56
  - The button uses the **`aria-label`** attribute to provide an accessible name.
57
57
  - The **`aria-labelledby`** attribute is supplied with label ID.
58
- - The **`aria-modal`** attribute allows the assistive technologies to inform users that the ability to interact with or access other content on the page requires the modal dialog to be closed.
58
+ - The **`aria-modal`** attribute allows the assistive technologies to inform users that the ability to interact with or access other content on the page requires the modal dialog to be closed.
59
+
60
+ #### Note
61
+
62
+ AutoFocus is not enabled by default. To ensure accessibility and expected keyboard navigation support set the `hasAutoFocus` prop to true.
@@ -97,7 +97,8 @@ var _default = {
97
97
  }
98
98
  },
99
99
  args: {
100
- hasCloseButton: true
100
+ hasCloseButton: true,
101
+ hasAutoFocus: true
101
102
  }
102
103
  };
103
104
  exports["default"] = _default;
@@ -192,7 +193,8 @@ var WithInputField = function WithInputField() {
192
193
  "aria-label": "Open modal"
193
194
  }, "Open Modal"), state.isOpen && (0, _react2.jsx)(_index.Modal, {
194
195
  isOpen: state.isOpen,
195
- onClose: state.close
196
+ onClose: state.close,
197
+ hasAutoFocus: true
196
198
  }, (0, _react2.jsx)(_index.Box, {
197
199
  gap: "lg"
198
200
  }, (0, _react2.jsx)(_index.Text, null, "Lorem ipsum dolor sit amet consectetur"), (0, _react2.jsx)(_index.SelectField, {
@@ -50,7 +50,7 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
50
50
  function ownKeys(object, enumerableOnly) { var keys = _Object$keys(object); if (_Object$getOwnPropertySymbols) { var symbols = _Object$getOwnPropertySymbols(object); enumerableOnly && (symbols = _filterInstanceProperty2(symbols).call(symbols, function (sym) { return _Object$getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
51
51
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context3, _context4; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context3 = ownKeys(Object(source), !0)).call(_context3, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context4 = ownKeys(Object(source))).call(_context4, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
52
52
  var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (props, ref) {
53
- var _selectionManager$sta, _selectionManager$sta2, _selectionManager$sta3, _listBoxRef$current2;
53
+ var _selectionManager$sta, _selectionManager$sta2, _selectionManager$sta3, _listBoxRef$current;
54
54
  var defaultSelectedKeys = props.defaultSelectedKeys,
55
55
  direction = props.direction,
56
56
  _props$disabledKeys = props.disabledKeys,
@@ -99,14 +99,10 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
99
99
  _useState6 = (0, _slicedToArray2["default"])(_useState5, 2),
100
100
  hasFocusWithin = _useState6[0],
101
101
  setFocusWithin = _useState6[1];
102
- var _useState7 = (0, _react.useState)([]),
102
+ var _useState7 = (0, _react.useState)(''),
103
103
  _useState8 = (0, _slicedToArray2["default"])(_useState7, 2),
104
- initialItems = _useState8[0],
105
- setInitialItems = _useState8[1];
106
- var _useState9 = (0, _react.useState)(''),
107
- _useState10 = (0, _slicedToArray2["default"])(_useState9, 2),
108
- activeDescendant = _useState10[0],
109
- setActiveDescendant = _useState10[1];
104
+ activeDescendant = _useState8[0],
105
+ setActiveDescendant = _useState8[1];
110
106
  var inputWrapperRef = (0, _react.useRef)();
111
107
  var inputRef = (0, _react.useRef)();
112
108
  var buttonRef = (0, _react.useRef)();
@@ -123,9 +119,6 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
123
119
  inputValue: filterString
124
120
  }),
125
121
  isLoading = _useInputLoader.isLoading;
126
- (0, _react.useEffect)(function () {
127
- setInitialItems((0, _from["default"])(items));
128
- }, []);
129
122
  var toggleItems = function toggleItems(keys) {
130
123
  if (onSelectionChange) onSelectionChange(keys);
131
124
  };
@@ -204,10 +197,10 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
204
197
  }, [isOpen, selectionManager.selectedKeys, updatePosition]);
205
198
 
206
199
  // Measure the width of the input to inform the width of the menu (below).
207
- var _useState11 = (0, _react.useState)(null),
208
- _useState12 = (0, _slicedToArray2["default"])(_useState11, 2),
209
- menuWidth = _useState12[0],
210
- setMenuWidth = _useState12[1];
200
+ var _useState9 = (0, _react.useState)(null),
201
+ _useState10 = (0, _slicedToArray2["default"])(_useState9, 2),
202
+ menuWidth = _useState10[0],
203
+ setMenuWidth = _useState10[1];
211
204
  var onResize = (0, _react.useCallback)(function () {
212
205
  /* istanbul ignore next */
213
206
  if (inputWrapperRef.current) {
@@ -272,20 +265,20 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
272
265
  if (onKeyDown) onKeyDown(e.nativeEvent);
273
266
  };
274
267
  var handleBlur = function handleBlur(e) {
275
- var _inputWrapperRef$curr, _listBoxRef$current;
268
+ var _inputWrapperRef$curr, _popoverRef$current;
276
269
  var relatedTarget = e.relatedTarget || document.activeElement;
277
- if ((_inputWrapperRef$curr = inputWrapperRef.current) !== null && _inputWrapperRef$curr !== void 0 && _inputWrapperRef$curr.contains(relatedTarget) || (_listBoxRef$current = listBoxRef.current) !== null && _listBoxRef$current !== void 0 && _listBoxRef$current.contains(relatedTarget) || buttonRef.current === relatedTarget) {
270
+ if ((_inputWrapperRef$curr = inputWrapperRef.current) !== null && _inputWrapperRef$curr !== void 0 && _inputWrapperRef$curr.contains(relatedTarget) || (_popoverRef$current = popoverRef.current) !== null && _popoverRef$current !== void 0 && _popoverRef$current.contains(relatedTarget) || buttonRef.current === relatedTarget) {
278
271
  return;
279
272
  }
280
273
  setFilterString('');
281
274
  setIsOpen(false);
282
275
  };
283
- var _useState13 = (0, _react.useState)('Select All'),
284
- _useState14 = (0, _slicedToArray2["default"])(_useState13, 2),
285
- selectionState = _useState14[0],
286
- setSelectionState = _useState14[1];
276
+ var _useState11 = (0, _react.useState)('Select All'),
277
+ _useState12 = (0, _slicedToArray2["default"])(_useState11, 2),
278
+ selectionState = _useState12[0],
279
+ setSelectionState = _useState12[1];
287
280
  var arrayItems = (0, _from["default"])(items);
288
- var itemCount = (0, _reduce["default"])(initialItems).call(initialItems, function (count, obj) {
281
+ var itemCount = (0, _reduce["default"])(arrayItems).call(arrayItems, function (count, obj) {
289
282
  return count + (obj.children ? obj.children.length : 1);
290
283
  }, 0);
291
284
  var selectedKeysSize = selectionManager.selectedKeys.size;
@@ -353,7 +346,7 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
353
346
  var inputProps = _objectSpread(_objectSpread({}, customInputProps), {}, {
354
347
  controlProps: {
355
348
  'aria-activedescendant': activeDescendant,
356
- 'aria-controls': (_listBoxRef$current2 = listBoxRef.current) === null || _listBoxRef$current2 === void 0 ? void 0 : _listBoxRef$current2.id,
349
+ 'aria-controls': (_listBoxRef$current = listBoxRef.current) === null || _listBoxRef$current === void 0 ? void 0 : _listBoxRef$current.id,
357
350
  'aria-expanded': isOpen,
358
351
  role: 'combobox',
359
352
  ref: inputRef,
@@ -411,8 +404,8 @@ var CondensedMultivaluesField = /*#__PURE__*/(0, _react.forwardRef)(function (pr
411
404
  value: setActiveDescendant
412
405
  }, (0, _react2.jsx)(_.Box, (0, _reactAria.mergeProps)(containerProps, focusWithinProps), (0, _react2.jsx)(_.TextField, (0, _extends2["default"])({
413
406
  onBlur: function onBlur(e) {
414
- var _popoverRef$current;
415
- var blurIntoPopover = (_popoverRef$current = popoverRef.current) === null || _popoverRef$current === void 0 ? void 0 : _popoverRef$current.contains(e.relatedTarget);
407
+ var _popoverRef$current2;
408
+ var blurIntoPopover = (_popoverRef$current2 = popoverRef.current) === null || _popoverRef$current2 === void 0 ? void 0 : _popoverRef$current2.contains(e.relatedTarget);
416
409
  if (blurIntoPopover) {
417
410
  return;
418
411
  }
@@ -47,7 +47,7 @@ var PanelHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
47
47
  image = data.image,
48
48
  subtext = data.subtext,
49
49
  text = data.text,
50
- avatarDefualtText = data.avatarDefualtText;
50
+ avatarDefaultText = data.avatarDefaultText;
51
51
  var _useGetTheme = (0, _hooks.useGetTheme)(),
52
52
  themeState = _useGetTheme.themeState;
53
53
  var isOnyx = themeState.isOnyx;
@@ -63,10 +63,12 @@ var PanelHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
63
63
  }
64
64
  }));
65
65
  var renderAvatar = (0, _react2.jsx)(_index.Avatar, (0, _extends2["default"])({
66
+ color: "green",
66
67
  src: image === null || image === void 0 ? void 0 : image.src,
68
+ isSquare: !!(image !== null && image !== void 0 && image.src),
67
69
  size: "avatar.lg",
68
- defaultText: avatarDefualtText,
69
- mr: "md"
70
+ defaultText: avatarDefaultText,
71
+ mr: "lg"
70
72
  }, avatarProps));
71
73
  var renderImage = !icon && image && (0, _react2.jsx)(_index.Box, {
72
74
  variant: "panelHeader.iconWrapper"
@@ -100,7 +102,7 @@ var PanelHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
100
102
  var renderData = (0, _react2.jsx)(_index.Box, {
101
103
  isRow: true,
102
104
  variant: text || subtext ? 'panelHeader.data' : 'panelHeader.emptyData'
103
- }, renderLeftContent(), (0, _react2.jsx)(_index.Box, headerWrapperPropsSpread, text && (0, _react2.jsx)(_index.Text, (0, _extends2["default"])({}, headerPropsSpread, {
105
+ }, renderLeftContent(), (text || subtext) && (0, _react2.jsx)(_index.Box, headerWrapperPropsSpread, text && (0, _react2.jsx)(_index.Text, (0, _extends2["default"])({}, headerPropsSpread, {
104
106
  variant: "panelHeaderText"
105
107
  }), text), subtext && (0, _react2.jsx)(_index.Text, {
106
108
  variant: "panelHeaderSubtext"
@@ -37,7 +37,7 @@ var Default = function Default(_ref) {
37
37
  data: {
38
38
  icon: _AccountIcon["default"],
39
39
  text: 'Fons Vernall',
40
- avatarDefualtText: 'FV'
40
+ avatarDefaultText: 'FV'
41
41
  }
42
42
  }));
43
43
  };
@@ -55,7 +55,7 @@ var WithSubtext = function WithSubtext(_ref2) {
55
55
  icon: _AccountIcon["default"],
56
56
  subtext: 'rad_developer@pingidentity.com',
57
57
  text: 'Fons Vernall',
58
- avatarDefualtText: 'FV'
58
+ avatarDefaultText: 'FV'
59
59
  }
60
60
  }));
61
61
  };
@@ -73,7 +73,7 @@ var WithControls = function WithControls(_ref3) {
73
73
  icon: _AccountIcon["default"],
74
74
  text: 'Fons Vernall',
75
75
  subtext: 'rad_developer@pingidentity.com',
76
- avatarDefualtText: 'FV'
76
+ avatarDefaultText: 'FV'
77
77
  }
78
78
  }), (0, _react2.jsx)(_index.PanelHeaderSwitchField, null), (0, _react2.jsx)(_index.PanelHeaderMenu, null, (0, _react2.jsx)(_index.Item, {
79
79
  key: "enable"
@@ -97,7 +97,7 @@ var WithImage = function WithImage(args) {
97
97
  src: _images.pingImg,
98
98
  alt: 'Ping Identity Logo',
99
99
  'aria-label': 'Ping Identity Logo',
100
- avatarDefualtText: 'FV'
100
+ avatarDefaultText: 'FV'
101
101
  },
102
102
  text: 'Fons Vernall'
103
103
  }
@@ -158,7 +158,7 @@ var WithExtraLongText = function WithExtraLongText(_ref4) {
158
158
  var args = (0, _extends2["default"])({}, ((0, _objectDestructuringEmpty2["default"])(_ref4), _ref4));
159
159
  return (0, _react2.jsx)(_index.PanelHeader, (0, _extends2["default"])({}, args, {
160
160
  data: {
161
- avatarDefualtText: 'FV',
161
+ avatarDefaultText: 'FV',
162
162
  icon: _AccountIcon["default"],
163
163
  text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
164
164
  subtext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum'
@@ -45,7 +45,8 @@ var wrapper = {
45
45
  flex: '1 1 0px'
46
46
  };
47
47
  var rightOfData = {
48
- alignSelf: 'center'
48
+ alignSelf: 'center',
49
+ mr: 'md'
49
50
  };
50
51
  var iconWrapper = {
51
52
  width: '25px',
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.Default = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ = require("../../..");
11
+ var _OnyxPanelHeaderComponent = _interopRequireDefault(require("./OnyxPanelHeaderComponent"));
12
+ var _react2 = require("@emotion/react");
13
+ var _default = {
14
+ title: 'Chromatic Only Onyx Dark Panel Header'
15
+ };
16
+ exports["default"] = _default;
17
+ var Default = function Default() {
18
+ return (0, _react2.jsx)(_.AstroProvider, {
19
+ theme: _.OnyxDarkTheme
20
+ }, (0, _react2.jsx)(_OnyxPanelHeaderComponent["default"], null));
21
+ };
22
+ exports.Default = Default;
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = exports.Default = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _ = require("../../..");
11
+ var _OnyxPanelHeaderComponent = _interopRequireDefault(require("./OnyxPanelHeaderComponent"));
12
+ var _react2 = require("@emotion/react");
13
+ var _default = {
14
+ title: 'Chromatic Only Onyx Panel Header'
15
+ };
16
+ exports["default"] = _default;
17
+ var Default = function Default() {
18
+ return (0, _react2.jsx)(_.AstroProvider, {
19
+ theme: _.OnyxTheme
20
+ }, (0, _react2.jsx)(_OnyxPanelHeaderComponent["default"], null));
21
+ };
22
+ exports.Default = Default;
@@ -0,0 +1,89 @@
1
+ "use strict";
2
+
3
+ var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
+ var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
+ _Object$defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+ var _react = _interopRequireDefault(require("react"));
10
+ var _AccountIcon = _interopRequireDefault(require("@pingux/mdi-react/AccountIcon"));
11
+ var _ChevronRightIcon = _interopRequireDefault(require("@pingux/mdi-react/ChevronRightIcon"));
12
+ var _ = require("../../..");
13
+ var _images = require("../../../utils/devUtils/constants/images");
14
+ var _react2 = require("@emotion/react");
15
+ var PanelHeaderComponent = function PanelHeaderComponent() {
16
+ var breadcrumbs = (0, _react2.jsx)(_.Box, {
17
+ width: "100%"
18
+ }, (0, _react2.jsx)(_.Breadcrumbs, {
19
+ icon: _ChevronRightIcon["default"]
20
+ }, (0, _react2.jsx)(_.Item, {
21
+ "aria-label": "Lorem Text",
22
+ href: "https://www.pingidentity.com",
23
+ key: "Item1Key"
24
+ }, "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."), (0, _react2.jsx)(_.Item, {
25
+ "aria-label": "Lorem Ut",
26
+ key: "Item2Key"
27
+ }, "Ut enim ad minim veniam, quis nostrud exercitation ullamco, laboris nisi ut aliquip ex ea commodo consequat incididunt et dolore.")));
28
+ return (0, _react2.jsx)(_.Box, {
29
+ gap: "md"
30
+ }, (0, _react2.jsx)(_.PanelHeader, {
31
+ data: {
32
+ icon: _AccountIcon["default"],
33
+ text: 'Fons Vernall',
34
+ avatarDefaultText: 'FV'
35
+ }
36
+ }), (0, _react2.jsx)(_.PanelHeader, {
37
+ data: {
38
+ icon: _AccountIcon["default"],
39
+ subtext: 'rad_developer@pingidentity.com',
40
+ text: 'Fons Vernall',
41
+ avatarDefaultText: 'FV'
42
+ }
43
+ }), (0, _react2.jsx)(_.PanelHeader, {
44
+ data: {
45
+ icon: _AccountIcon["default"],
46
+ text: 'Fons Vernall',
47
+ subtext: 'rad_developer@pingidentity.com',
48
+ avatarDefaultText: 'FV'
49
+ }
50
+ }, (0, _react2.jsx)(_.PanelHeaderSwitchField, null), (0, _react2.jsx)(_.PanelHeaderMenu, null, (0, _react2.jsx)(_.Item, {
51
+ key: "enable"
52
+ }, "Enable user"), (0, _react2.jsx)(_.Item, {
53
+ key: "disable"
54
+ }, "Disable user"), (0, _react2.jsx)(_.Item, {
55
+ key: "delete"
56
+ }, "Delete user")), (0, _react2.jsx)(_.PanelHeaderCloseButton, null)), (0, _react2.jsx)(_.PanelHeader, {
57
+ data: {
58
+ image: {
59
+ src: _images.pingImg,
60
+ alt: 'Ping Identity Logo',
61
+ 'aria-label': 'Ping Identity Logo',
62
+ avatarDefaultText: 'FV'
63
+ },
64
+ text: 'Fons Vernall'
65
+ }
66
+ }), (0, _react2.jsx)(_.PanelHeader, {
67
+ data: {
68
+ icon: _AccountIcon["default"]
69
+ },
70
+ slots: {
71
+ rightOfData: breadcrumbs
72
+ }
73
+ }, (0, _react2.jsx)(_.PanelHeaderCloseButton, null)), (0, _react2.jsx)(_.PanelHeader, {
74
+ data: {
75
+ avatarDefaultText: 'FV',
76
+ icon: _AccountIcon["default"],
77
+ text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum',
78
+ subtext: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum'
79
+ }
80
+ }, (0, _react2.jsx)(_.PanelHeaderSwitchField, null), (0, _react2.jsx)(_.PanelHeaderMenu, null, (0, _react2.jsx)(_.Item, {
81
+ key: "enable"
82
+ }, "Enable user"), (0, _react2.jsx)(_.Item, {
83
+ key: "disable"
84
+ }, "Disable user"), (0, _react2.jsx)(_.Item, {
85
+ key: "delete"
86
+ }, "Delete user")), (0, _react2.jsx)(_.PanelHeaderCloseButton, null)));
87
+ };
88
+ var _default = PanelHeaderComponent;
89
+ exports["default"] = _default;
@@ -645,5 +645,13 @@ declare const _default: {
645
645
  boxShadow: string;
646
646
  };
647
647
  };
648
+ breadcrumb: {
649
+ link: {
650
+ color: string;
651
+ '&.is-current': {
652
+ color: string;
653
+ };
654
+ };
655
+ };
648
656
  };
649
657
  export default _default;
@@ -259,6 +259,14 @@ var _default = {
259
259
  border: '1px solid border.separator',
260
260
  boxShadow: 'none'
261
261
  }
262
+ },
263
+ breadcrumb: {
264
+ link: {
265
+ color: 'blue-400',
266
+ '&.is-current': {
267
+ color: 'text.secondary'
268
+ }
269
+ }
262
270
  }
263
271
  };
264
272
  exports["default"] = _default;
@@ -28,7 +28,7 @@ var astroBlacklistStory = {
28
28
  Loader: ['Circular', 'Custom Circular']
29
29
  };
30
30
  exports.astroBlacklistStory = astroBlacklistStory;
31
- var nextGenOnlyComponents = ['NavigationHeader', 'Prompt', 'AI Panel', 'Response', 'Suggestions', 'Prompt Input', 'Footer'];
31
+ var nextGenOnlyComponents = ['NavigationHeader', 'Prompt', 'AI Panel', 'Response', 'Suggestions', 'Prompt Input', 'Footer', 'Onyx Input Patterns'];
32
32
  exports.nextGenOnlyComponents = nextGenOnlyComponents;
33
33
  var _default = nextGenConvertedComponents;
34
34
  exports["default"] = _default;
@@ -7,7 +7,7 @@ _Object$defineProperty(exports, "__esModule", {
7
7
  exports["default"] = void 0;
8
8
  var copyButtonSize = 'sm';
9
9
  var breadcrumbIconSize = 'sm';
10
- var breadcrumbIconMargin = 'sm';
10
+ var breadcrumbIconMargin = 'md';
11
11
  var accordionItemMarginLeft = 'md';
12
12
  var pageHeaderTitleMargin = 'md';
13
13
  var defaultLoaderSize = 32;
@@ -245,7 +245,7 @@ declare const _default: {
245
245
  thumbContainer: {
246
246
  bg: string;
247
247
  border: string;
248
- maxWidth: number;
248
+ width: string;
249
249
  height: number;
250
250
  py: string;
251
251
  px: string;