@pingux/astro 2.164.0 → 2.164.1-alpha.1

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 (53) hide show
  1. package/lib/cjs/components/PageHeader/PageHeader.js +8 -5
  2. package/lib/cjs/components/PageHeader/PageHeader.stories.js +4 -4
  3. package/lib/cjs/components/PageHeader/PageHeader.test.js +23 -1
  4. package/lib/cjs/components/Text/Text.styles.d.ts +12 -0
  5. package/lib/cjs/components/Text/Text.styles.js +1 -0
  6. package/lib/cjs/components/TimeField/TimeField.styles.js +1 -1
  7. package/lib/cjs/components/TimeField/TimeSegment.js +2 -1
  8. package/lib/cjs/components/TimeField/stories/OnyxTimeField.d.ts +2 -0
  9. package/lib/cjs/components/TimeField/stories/OnyxTimeField.js +39 -0
  10. package/lib/cjs/components/TimeField/stories/TimeFieldOnyx.chromatic.stories.d.ts +5 -0
  11. package/lib/cjs/components/TimeField/stories/TimeFieldOnyx.chromatic.stories.js +20 -0
  12. package/lib/cjs/components/TimeField/stories/TimeFieldOnyxDark.chromatic.stories.d.ts +5 -0
  13. package/lib/cjs/components/TimeField/stories/TimeFieldOnyxDark.chromatic.stories.js +20 -0
  14. package/lib/cjs/hooks/useGetTheme/useGetTheme.d.ts +4 -0
  15. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +2 -0
  16. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.d.ts +1 -0
  17. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/forms.js +1 -0
  18. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +6 -0
  19. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +6 -0
  20. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +2 -0
  21. package/lib/cjs/styles/themes/astro/customProperties/index.js +4 -0
  22. package/lib/cjs/styles/themes/next-gen/convertedComponentList.js +1 -1
  23. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +2 -0
  24. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +5 -1
  25. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +2 -0
  26. package/lib/cjs/styles/themes/next-gen/forms.d.ts +1810 -0
  27. package/lib/cjs/styles/themes/next-gen/forms.js +36 -2
  28. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +929 -0
  29. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +2 -0
  30. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +17 -0
  31. package/lib/cjs/styles/themes/next-gen/variants/button.js +2 -1
  32. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +6 -0
  33. package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -2
  34. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +1 -0
  35. package/lib/components/PageHeader/PageHeader.js +8 -5
  36. package/lib/components/PageHeader/PageHeader.stories.js +4 -4
  37. package/lib/components/PageHeader/PageHeader.test.js +21 -1
  38. package/lib/components/Text/Text.styles.js +1 -0
  39. package/lib/components/TimeField/TimeField.styles.js +1 -1
  40. package/lib/components/TimeField/TimeSegment.js +2 -1
  41. package/lib/components/TimeField/stories/OnyxTimeField.js +31 -0
  42. package/lib/components/TimeField/stories/TimeFieldOnyx.chromatic.stories.js +12 -0
  43. package/lib/components/TimeField/stories/TimeFieldOnyxDark.chromatic.stories.js +12 -0
  44. package/lib/styles/themeOverrides/nextGenDarkMode/variants/forms.js +1 -0
  45. package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +6 -0
  46. package/lib/styles/themes/astro/customProperties/index.js +4 -0
  47. package/lib/styles/themes/next-gen/convertedComponentList.js +1 -1
  48. package/lib/styles/themes/next-gen/customProperties/customSizes.js +5 -1
  49. package/lib/styles/themes/next-gen/forms.js +35 -1
  50. package/lib/styles/themes/next-gen/variants/button.js +2 -1
  51. package/lib/styles/themes/next-gen/variants/text.js +8 -2
  52. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  53. package/package.json +1 -1
@@ -28,6 +28,7 @@ export declare const badgeDeleteButton: {
28
28
  outline: string;
29
29
  border: string;
30
30
  boxShadow: string;
31
+ alignSelf: string;
31
32
  };
32
33
  export declare const badges: {
33
34
  baseBadge: {
@@ -782,6 +783,7 @@ export declare const badges: {
782
783
  outline: string;
783
784
  border: string;
784
785
  boxShadow: string;
786
+ alignSelf: string;
785
787
  };
786
788
  itemBadgeWithSlot: {
787
789
  border: string;
@@ -531,6 +531,7 @@ declare const buttons: {
531
531
  border: string;
532
532
  cursor: string;
533
533
  boxShadow: string;
534
+ alignSelf: string;
534
535
  };
535
536
  invertedBadgeDeleteButton: {
536
537
  transition: string;
@@ -559,6 +560,7 @@ declare const buttons: {
559
560
  border: string;
560
561
  cursor: string;
561
562
  boxShadow: string;
563
+ alignSelf: string;
562
564
  };
563
565
  clearSelectionButton: {
564
566
  top: string;
@@ -587,6 +589,7 @@ declare const buttons: {
587
589
  border: string;
588
590
  cursor: string;
589
591
  boxShadow: string;
592
+ alignSelf: string;
590
593
  };
591
594
  };
592
595
  withIcon: {
@@ -868,6 +871,7 @@ declare const buttons: {
868
871
  border: string;
869
872
  cursor: string;
870
873
  boxShadow: string;
874
+ alignSelf: string;
871
875
  };
872
876
  onyx: {
873
877
  path: {
@@ -900,6 +904,7 @@ declare const buttons: {
900
904
  border: string;
901
905
  cursor: string;
902
906
  boxShadow: string;
907
+ alignSelf: string;
903
908
  };
904
909
  responseToolbar: {
905
910
  '&.is-not-loaded': {
@@ -933,6 +938,7 @@ declare const buttons: {
933
938
  border: string;
934
939
  cursor: string;
935
940
  boxShadow: string;
941
+ alignSelf: string;
936
942
  };
937
943
  modalCloseButton: {
938
944
  path: {
@@ -962,6 +968,7 @@ declare const buttons: {
962
968
  border: string;
963
969
  cursor: string;
964
970
  boxShadow: string;
971
+ alignSelf: string;
965
972
  };
966
973
  modalHeaderCloseButton: {
967
974
  top: string;
@@ -994,6 +1001,7 @@ declare const buttons: {
994
1001
  border: string;
995
1002
  cursor: string;
996
1003
  boxShadow: string;
1004
+ alignSelf: string;
997
1005
  };
998
1006
  badge: {
999
1007
  deleteButton: {
@@ -1027,6 +1035,7 @@ declare const buttons: {
1027
1035
  outline: string;
1028
1036
  border: string;
1029
1037
  boxShadow: string;
1038
+ alignSelf: string;
1030
1039
  };
1031
1040
  };
1032
1041
  messageCloseButton: {
@@ -1068,6 +1077,7 @@ declare const buttons: {
1068
1077
  border: string;
1069
1078
  cursor: string;
1070
1079
  boxShadow: string;
1080
+ alignSelf: string;
1071
1081
  };
1072
1082
  headerNav: {
1073
1083
  path: {
@@ -1097,6 +1107,7 @@ declare const buttons: {
1097
1107
  border: string;
1098
1108
  cursor: string;
1099
1109
  boxShadow: string;
1110
+ alignSelf: string;
1100
1111
  };
1101
1112
  copyButton: {
1102
1113
  default: {
@@ -1141,6 +1152,7 @@ declare const buttons: {
1141
1152
  border: string;
1142
1153
  cursor: string;
1143
1154
  boxShadow: string;
1155
+ alignSelf: string;
1144
1156
  };
1145
1157
  inverted: {
1146
1158
  '&.is-hovered': {
@@ -1165,6 +1177,7 @@ declare const buttons: {
1165
1177
  border: string;
1166
1178
  cursor: string;
1167
1179
  boxShadow: string;
1180
+ alignSelf: string;
1168
1181
  };
1169
1182
  searchClearButton: {
1170
1183
  path: {
@@ -1188,6 +1201,7 @@ declare const buttons: {
1188
1201
  border: string;
1189
1202
  cursor: string;
1190
1203
  boxShadow: string;
1204
+ alignSelf: string;
1191
1205
  };
1192
1206
  filter: {
1193
1207
  width: string;
@@ -1220,6 +1234,7 @@ declare const buttons: {
1220
1234
  border: string;
1221
1235
  cursor: string;
1222
1236
  boxShadow: string;
1237
+ alignSelf: string;
1223
1238
  };
1224
1239
  hintButton: {
1225
1240
  backgroundColor: string;
@@ -1278,6 +1293,7 @@ declare const buttons: {
1278
1293
  borderRadius: string;
1279
1294
  cursor: string;
1280
1295
  boxShadow: string;
1296
+ alignSelf: string;
1281
1297
  };
1282
1298
  };
1283
1299
  modalCloseButton: {
@@ -1308,6 +1324,7 @@ declare const buttons: {
1308
1324
  border: string;
1309
1325
  cursor: string;
1310
1326
  boxShadow: string;
1327
+ alignSelf: string;
1311
1328
  };
1312
1329
  aiChat: {
1313
1330
  maxWidth: string;
@@ -356,7 +356,8 @@ var baseIconButtonStyle = {
356
356
  borderRadius: '28px',
357
357
  border: 'none',
358
358
  cursor: 'pointer',
359
- boxShadow: 'none !important'
359
+ boxShadow: 'none !important',
360
+ alignSelf: 'center'
360
361
  };
361
362
  var baseIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
362
363
  path: {
@@ -31,6 +31,11 @@ export declare const text: {
31
31
  color: string;
32
32
  marginTop: string;
33
33
  };
34
+ pageHeaderTitle: {
35
+ lineHeight: string;
36
+ fontSize: string;
37
+ fontWeight: number;
38
+ };
34
39
  requirementsListText: {
35
40
  color: string;
36
41
  fontSize: string;
@@ -137,6 +142,7 @@ export declare const text: {
137
142
  pageHeaderBody: {
138
143
  lineHeight: string;
139
144
  color: string;
145
+ fontSize: string;
140
146
  };
141
147
  sideNavHeader: {
142
148
  py: string;
@@ -116,8 +116,9 @@ var text = exports.text = _objectSpread(_objectSpread({
116
116
  buttonSubtitle: buttonSubtitle,
117
117
  buttonTitle: buttonTitle,
118
118
  pageHeaderBody: {
119
- lineHeight: '150%',
120
- color: 'text.primary'
119
+ lineHeight: 'body',
120
+ color: 'text.primary',
121
+ fontSize: 'md'
121
122
  },
122
123
  sideNavHeader: {
123
124
  py: 'sm',
@@ -217,6 +218,11 @@ var text = exports.text = _objectSpread(_objectSpread({
217
218
  color: 'font.light',
218
219
  marginTop: '0px !important'
219
220
  },
221
+ pageHeaderTitle: {
222
+ lineHeight: 'xs',
223
+ fontSize: 'xxx',
224
+ fontWeight: 2
225
+ },
220
226
  requirementsListText: {
221
227
  color: 'font.base',
222
228
  fontSize: 'md',
@@ -28,6 +28,7 @@ export declare const badgeDeleteButton: {
28
28
  outline: string;
29
29
  border: string;
30
30
  boxShadow: string;
31
+ alignSelf: string;
31
32
  };
32
33
  declare const _default: {
33
34
  accordion: {
@@ -18,23 +18,26 @@ var PageHeader = /*#__PURE__*/forwardRef(function (_ref, ref) {
18
18
  }
19
19
  };
20
20
  var _useGetTheme = useGetTheme(),
21
- pageHeaderTitleMargin = _useGetTheme.pageHeaderTitleMargin;
21
+ pageHeaderTitleMargin = _useGetTheme.pageHeaderTitleMargin,
22
+ pageHeaderAddIconMargin = _useGetTheme.pageHeaderAddIconMargin,
23
+ pageHeaderAddIconSize = _useGetTheme.pageHeaderAddIconSize;
22
24
  var renderButton = buttonProps && ___EmotionJSX(IconButton, _extends({
23
25
  "aria-label": "icon button",
24
- ml: "sm",
26
+ ml: pageHeaderAddIconMargin,
25
27
  variant: "inverted"
26
28
  }, buttonProps), ___EmotionJSX(Icon, {
27
29
  icon: PlusIcon,
28
- size: "sm"
30
+ size: pageHeaderAddIconSize
29
31
  }));
30
32
  return ___EmotionJSX(Box, _extends({
31
33
  ref: ref
32
34
  }, other), ___EmotionJSX(Box, {
33
35
  isRow: true,
34
- mb: pageHeaderTitleMargin
36
+ mb: pageHeaderTitleMargin,
37
+ alignItems: "center"
35
38
  }, ___EmotionJSX(Text, {
36
39
  as: "h1",
37
- variant: "H1"
40
+ variant: "pageHeaderTitle"
38
41
  }, title), renderButton), ___EmotionJSX(Text, {
39
42
  variant: "pageHeaderBody",
40
43
  sx: linkStyles
@@ -29,7 +29,7 @@ export var Default = function Default(args) {
29
29
  buttonProps: {
30
30
  onPress: function onPress() {}
31
31
  },
32
- title: "Lorem ipsum"
32
+ title: "Lorem Ipsum"
33
33
  }, args), description, ___EmotionJSX(Link, {
34
34
  href: "https://uilibrary.ping-eng.com/"
35
35
  }, "Learn more"));
@@ -50,7 +50,7 @@ Default.parameters = {
50
50
  };
51
51
  export var WithoutButton = function WithoutButton(args) {
52
52
  return ___EmotionJSX(PageHeader, _extends({
53
- title: "Lorem ipsum"
53
+ title: "Lorem Ipsum"
54
54
  }, args), description, ___EmotionJSX(Link, {
55
55
  href: "https://uilibrary.ping-eng.com/"
56
56
  }, "Learn more"));
@@ -74,7 +74,7 @@ export var WithoutLink = function WithoutLink(args) {
74
74
  buttonProps: {
75
75
  onPress: function onPress() {}
76
76
  },
77
- title: "Lorem ipsum"
77
+ title: "Lorem Ipsum"
78
78
  }, args), description);
79
79
  };
80
80
  WithoutLink.parameters = {
@@ -88,7 +88,7 @@ export var Customization = function Customization(args) {
88
88
  buttonProps: {
89
89
  bg: 'critical.bright'
90
90
  },
91
- title: "Lorem ipsum"
91
+ title: "Lorem Ipsum"
92
92
  }, args), description, ___EmotionJSX(Link, {
93
93
  href: "https://uilibrary.ping-eng.com/"
94
94
  }, "Learn more"));
@@ -21,6 +21,7 @@ function ownKeys(e, r) { var t = _Object$keys(e); if (_Object$getOwnPropertySymb
21
21
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var _context2, _context3; var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? _forEachInstanceProperty(_context2 = ownKeys(Object(t), !0)).call(_context2, function (r) { _defineProperty(e, r, t[r]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(e, _Object$getOwnPropertyDescriptors(t)) : _forEachInstanceProperty(_context3 = ownKeys(Object(t))).call(_context3, function (r) { _Object$defineProperty(e, r, _Object$getOwnPropertyDescriptor(t, r)); }); } return e; }
22
22
  import React from 'react';
23
23
  import userEvent from '@testing-library/user-event';
24
+ import * as themeHook from '../../hooks';
24
25
  import { Link, PageHeader } from '../../index';
25
26
  import { render, screen } from '../../utils/testUtils/testWrapper';
26
27
  import { universalComponentTests } from '../../utils/testUtils/universalComponentTest';
@@ -96,4 +97,23 @@ test('when the button is pressed, it calls the onPress callback', /*#__PURE__*/_
96
97
  return _context.stop();
97
98
  }
98
99
  }, _callee);
99
- })));
100
+ })));
101
+ test('for default theme, it applies correct styles', function () {
102
+ getComponent();
103
+ var button = screen.getByRole('button', {
104
+ name: /icon button/i
105
+ });
106
+ expect(button).toHaveStyleRule('margin-left', '10px');
107
+ });
108
+ test('for onyx theme, it applies correct styles', function () {
109
+ jest.spyOn(themeHook, 'useGetTheme').mockReturnValue({
110
+ pageHeaderTitleMargin: 'md',
111
+ pageHeaderAddIconMargin: 'md',
112
+ pageHeaderAddIconSize: 'md'
113
+ });
114
+ getComponent();
115
+ var button = screen.getByRole('button', {
116
+ name: /icon button/i
117
+ });
118
+ expect(button).toHaveStyleRule('margin-left', '15px');
119
+ });
@@ -294,6 +294,7 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
294
294
  attachmentTitle: attachmentTitle,
295
295
  messagesText: _objectSpread({}, base),
296
296
  stepperLabel: stepperLabel,
297
+ pageHeaderTitle: _objectSpread({}, HTags.H1),
297
298
  stepperTabContent: stepperTabContent,
298
299
  stepperTabContentHeader: stepperTabContentHeader
299
300
  });
@@ -32,7 +32,7 @@ var inputField = _objectSpread(_objectSpread({}, input), {}, {
32
32
  var segment = {
33
33
  '&:focus-visible': {
34
34
  outline: '1px solid',
35
- outlineColor: 'active',
35
+ outlineColor: 'focus',
36
36
  borderRadius: 4
37
37
  }
38
38
  };
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime-corejs3/helpers/esm/extends";
2
+ import _trimInstanceProperty from "@babel/runtime-corejs3/core-js-stable/instance/trim";
2
3
  import React, { useCallback, useRef } from 'react';
3
4
  import { useFocusManager } from 'react-aria';
4
5
  import { useDateSegment } from '@react-aria/datepicker';
@@ -43,6 +44,6 @@ var TimeSegment = function TimeSegment(props) {
43
44
  ref: ref,
44
45
  variant: "forms.timeField.segment",
45
46
  onKeyUp: handleKeyEvents
46
- }), text);
47
+ }), _trimInstanceProperty(text).call(text));
47
48
  };
48
49
  export default TimeSegment;
@@ -0,0 +1,31 @@
1
+ import React from 'react';
2
+ import { Box, TimeField } from '../../..';
3
+ import { jsx as ___EmotionJSX } from "@emotion/react";
4
+ var OnyxTimeField = function OnyxTimeField() {
5
+ return ___EmotionJSX(Box, {
6
+ gap: "md",
7
+ p: "md"
8
+ }, ___EmotionJSX(TimeField, {
9
+ "aria-label": "timeField-default"
10
+ }), ___EmotionJSX(TimeField, {
11
+ "aria-label": "timeField-default",
12
+ defaultValue: "12:30",
13
+ hourCycle: 12,
14
+ granularity: "second"
15
+ }), ___EmotionJSX(TimeField, {
16
+ "aria-label": "timeField-default",
17
+ isDisabled: true
18
+ }), ___EmotionJSX(TimeField, {
19
+ "aria-label": "timeField-default",
20
+ isReadOnly: true
21
+ }), ___EmotionJSX(TimeField, {
22
+ "aria-label": "timeField-default",
23
+ isRequired: true,
24
+ label: "Lorem Ipsum"
25
+ }), ___EmotionJSX(TimeField, {
26
+ "aria-label": "timeField-default",
27
+ defaultValue: "12:30",
28
+ isInvalid: true
29
+ }));
30
+ };
31
+ export default OnyxTimeField;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { AstroProvider, OnyxTheme } from '../../..';
3
+ import OnyxTimeField from './OnyxTimeField';
4
+ import { jsx as ___EmotionJSX } from "@emotion/react";
5
+ export default {
6
+ title: 'Onyx TimeField'
7
+ };
8
+ export var Default = function Default() {
9
+ return ___EmotionJSX(AstroProvider, {
10
+ theme: OnyxTheme
11
+ }, ___EmotionJSX(OnyxTimeField, null));
12
+ };
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { AstroProvider, OnyxDarkTheme } from '../../..';
3
+ import OnyxTimeField from './OnyxTimeField';
4
+ import { jsx as ___EmotionJSX } from "@emotion/react";
5
+ export default {
6
+ title: 'Onyx Dark TimeField'
7
+ };
8
+ export var Default = function Default() {
9
+ return ___EmotionJSX(AstroProvider, {
10
+ theme: OnyxDarkTheme
11
+ }, ___EmotionJSX(OnyxTimeField, null));
12
+ };
@@ -35,6 +35,7 @@ export var checkbox = {
35
35
  color: 'text.primary'
36
36
  };
37
37
  var label = {
38
+ color: 'gray-100',
38
39
  radioGroup: {
39
40
  color: 'white'
40
41
  },
@@ -40,5 +40,11 @@ export var text = {
40
40
  color: 'white'
41
41
  }
42
42
  }
43
+ },
44
+ pageHeaderBody: {
45
+ color: 'text.secondary'
46
+ },
47
+ pageHeaderTitle: {
48
+ color: 'gray-100'
43
49
  }
44
50
  };
@@ -9,6 +9,8 @@ var iconBadgeCircleColor = 'white';
9
9
  var rockerButtonGap = '3px';
10
10
  var accordionItemMarginLeft = 'sm';
11
11
  var pageHeaderTitleMargin = 'xs';
12
+ var pageHeaderAddIconMargin = 'sm';
13
+ var pageHeaderAddIconSize = 'sm';
12
14
  var activeColor = '#4462ED';
13
15
  var backgroundBaseColor = 'white';
14
16
  var defaultLoaderSize = 16;
@@ -30,6 +32,8 @@ export var astroThemeValues = {
30
32
  iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
31
33
  copyButtonSize: copyButtonSize,
32
34
  pageHeaderTitleMargin: pageHeaderTitleMargin,
35
+ pageHeaderAddIconMargin: pageHeaderAddIconMargin,
36
+ pageHeaderAddIconSize: pageHeaderAddIconSize,
33
37
  breadcrumbIconSize: breadcrumbIconSize,
34
38
  breadcrumbIconMargin: breadcrumbIconMargin,
35
39
  rockerButtonGap: rockerButtonGap,
@@ -1,4 +1,4 @@
1
- var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RangeCalendar', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SearchNav', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box'];
1
+ var nextGenConvertedComponents = ['AccordionGridGroup', 'AccordionGroup', 'ArrayField', 'AstroProvider', 'Avatar', 'Badge', 'Base Components', 'Breadcrumbs', 'Button', 'ButtonBar', 'Callout', 'Card', 'CheckboxField', 'CodeView', 'ColorField', 'ComboBoxField', 'CopyText', 'DataTable', 'EnvironmentBreadcrumb', 'GridList', 'HelpHint', 'Icon', 'IconBadge', 'IconButton', 'IconWrapper', 'ImageUploadField', 'Loader', 'Link', 'LinkSelectField', 'ListView', 'ListViewItem', 'Message', 'Messages', 'Modal', 'MultiValuesField', 'MultivaluesField', 'NavBar', 'NavigationHeader', 'NextGen ListViewItem', 'NumberField', 'OverlayPanel', 'PageHeader', 'Pagination', 'PanelHeader', 'PasswordField', 'PopoverMenu', 'ProgressBar', 'RadioField', 'RadioGroupField', 'RangeCalendar', 'RequirementsList', 'RockerButtonGroup', 'SearchField', 'SearchNav', 'SelectField', 'Skeleton', 'SliderField', 'Stepper', 'Sticker Sheet', 'SwitchField', 'StatusIcon', 'Table', 'TableBase', 'Tabs', 'Text', 'TextAreaField', 'TextField', 'TooltipTrigger', 'ArrayField', 'ColorField', 'LinkSelectField', 'NumberField', 'SwitchField', 'Base Components', 'SliderField', 'ServerErrorBoundary', 'Avatar', 'Box', 'TimeField'];
2
2
  export var componentSpecificNextGenBlacklist = {
3
3
  AstroProvider: ['Default', 'With Custom Theme Override'],
4
4
  Messages: ['Customization'],
@@ -2,7 +2,9 @@ var copyButtonSize = 'sm';
2
2
  var breadcrumbIconSize = 'sm';
3
3
  var breadcrumbIconMargin = 'md';
4
4
  var accordionItemMarginLeft = 'md';
5
- var pageHeaderTitleMargin = 'md';
5
+ var pageHeaderTitleMargin = 'sm';
6
+ var pageHeaderAddIconMargin = 'md';
7
+ var pageHeaderAddIconSize = 'md';
6
8
  var defaultLoaderSize = 32;
7
9
  export default {
8
10
  copyButtonSize: copyButtonSize,
@@ -10,5 +12,7 @@ export default {
10
12
  breadcrumbIconMargin: breadcrumbIconMargin,
11
13
  accordionItemMarginLeft: accordionItemMarginLeft,
12
14
  pageHeaderTitleMargin: pageHeaderTitleMargin,
15
+ pageHeaderAddIconMargin: pageHeaderAddIconMargin,
16
+ pageHeaderAddIconSize: pageHeaderAddIconSize,
13
17
  defaultLoaderSize: defaultLoaderSize
14
18
  };
@@ -92,6 +92,39 @@ export var radio = {
92
92
  }
93
93
  }
94
94
  };
95
+ export var timeField = {
96
+ inputField: _objectSpread(_objectSpread({}, input), {}, {
97
+ color: 'font.base',
98
+ alignItems: 'center',
99
+ justifyContent: 'center',
100
+ lineHeight: 'body',
101
+ minWidth: '105px',
102
+ '&:focus-within:not(.is-read-only)': {
103
+ borderColor: 'focus',
104
+ outline: '1px solid',
105
+ outlineColor: 'focus',
106
+ outlineOffset: '0px'
107
+ },
108
+ '&.is-read-only': {
109
+ border: '1px solid',
110
+ borderColor: 'border.input',
111
+ backgroundColor: 'disabled'
112
+ },
113
+ '&.is-disabled': {
114
+ opacity: 1,
115
+ border: '1px solid',
116
+ borderColor: 'border.input',
117
+ backgroundColor: 'disabled'
118
+ }
119
+ }),
120
+ segment: {
121
+ px: '2px',
122
+ textTransform: 'uppercase',
123
+ '&:empty': {
124
+ px: 0
125
+ }
126
+ }
127
+ };
95
128
  export default {
96
129
  input: input,
97
130
  label: label,
@@ -101,5 +134,6 @@ export default {
101
134
  radio: radio,
102
135
  search: search,
103
136
  "switch": switchable,
104
- numberField: numberField
137
+ numberField: numberField,
138
+ timeField: timeField
105
139
  };
@@ -349,7 +349,8 @@ var baseIconButtonStyle = {
349
349
  borderRadius: '28px',
350
350
  border: 'none',
351
351
  cursor: 'pointer',
352
- boxShadow: 'none !important'
352
+ boxShadow: 'none !important',
353
+ alignSelf: 'center'
353
354
  };
354
355
  var baseIconButton = _objectSpread(_objectSpread({}, baseIconButtonStyle), {}, {
355
356
  path: {
@@ -109,8 +109,9 @@ export var text = _objectSpread(_objectSpread({
109
109
  buttonSubtitle: buttonSubtitle,
110
110
  buttonTitle: buttonTitle,
111
111
  pageHeaderBody: {
112
- lineHeight: '150%',
113
- color: 'text.primary'
112
+ lineHeight: 'body',
113
+ color: 'text.primary',
114
+ fontSize: 'md'
114
115
  },
115
116
  sideNavHeader: {
116
117
  py: 'sm',
@@ -210,6 +211,11 @@ export var text = _objectSpread(_objectSpread({
210
211
  color: 'font.light',
211
212
  marginTop: '0px !important'
212
213
  },
214
+ pageHeaderTitle: {
215
+ lineHeight: 'xs',
216
+ fontSize: 'xxx',
217
+ fontWeight: 2
218
+ },
213
219
  requirementsListText: {
214
220
  color: 'font.base',
215
221
  fontSize: 'md',