@pingux/astro 2.164.1-alpha.0 → 2.165.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 (32) 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/hooks/useGetTheme/useGetTheme.d.ts +4 -0
  7. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/customProperties/index.d.ts +2 -0
  8. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +6 -0
  9. package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +6 -0
  10. package/lib/cjs/styles/themes/astro/customProperties/index.d.ts +2 -0
  11. package/lib/cjs/styles/themes/astro/customProperties/index.js +4 -0
  12. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.d.ts +2 -0
  13. package/lib/cjs/styles/themes/next-gen/customProperties/customSizes.js +5 -1
  14. package/lib/cjs/styles/themes/next-gen/customProperties/index.d.ts +2 -0
  15. package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +24 -0
  16. package/lib/cjs/styles/themes/next-gen/variants/badges.d.ts +2 -0
  17. package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +17 -0
  18. package/lib/cjs/styles/themes/next-gen/variants/button.js +2 -1
  19. package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +6 -0
  20. package/lib/cjs/styles/themes/next-gen/variants/text.js +8 -2
  21. package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +1 -0
  22. package/lib/components/PageHeader/PageHeader.js +8 -5
  23. package/lib/components/PageHeader/PageHeader.stories.js +4 -4
  24. package/lib/components/PageHeader/PageHeader.test.js +21 -1
  25. package/lib/components/Text/Text.styles.js +1 -0
  26. package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +6 -0
  27. package/lib/styles/themes/astro/customProperties/index.js +4 -0
  28. package/lib/styles/themes/next-gen/customProperties/customSizes.js +5 -1
  29. package/lib/styles/themes/next-gen/variants/button.js +2 -1
  30. package/lib/styles/themes/next-gen/variants/text.js +8 -2
  31. package/lib/tsconfig.lib.tsbuildinfo +1 -1
  32. package/package.json +1 -1
@@ -30,23 +30,26 @@ var PageHeader = /*#__PURE__*/(0, _react.forwardRef)(function (_ref, ref) {
30
30
  }
31
31
  };
32
32
  var _useGetTheme = (0, _hooks.useGetTheme)(),
33
- pageHeaderTitleMargin = _useGetTheme.pageHeaderTitleMargin;
33
+ pageHeaderTitleMargin = _useGetTheme.pageHeaderTitleMargin,
34
+ pageHeaderAddIconMargin = _useGetTheme.pageHeaderAddIconMargin,
35
+ pageHeaderAddIconSize = _useGetTheme.pageHeaderAddIconSize;
34
36
  var renderButton = buttonProps && (0, _react2.jsx)(_index.IconButton, (0, _extends2["default"])({
35
37
  "aria-label": "icon button",
36
- ml: "sm",
38
+ ml: pageHeaderAddIconMargin,
37
39
  variant: "inverted"
38
40
  }, buttonProps), (0, _react2.jsx)(_index.Icon, {
39
41
  icon: _PlusIcon["default"],
40
- size: "sm"
42
+ size: pageHeaderAddIconSize
41
43
  }));
42
44
  return (0, _react2.jsx)(_index.Box, (0, _extends2["default"])({
43
45
  ref: ref
44
46
  }, other), (0, _react2.jsx)(_index.Box, {
45
47
  isRow: true,
46
- mb: pageHeaderTitleMargin
48
+ mb: pageHeaderTitleMargin,
49
+ alignItems: "center"
47
50
  }, (0, _react2.jsx)(_index.Text, {
48
51
  as: "h1",
49
- variant: "H1"
52
+ variant: "pageHeaderTitle"
50
53
  }, title), renderButton), (0, _react2.jsx)(_index.Text, {
51
54
  variant: "pageHeaderBody",
52
55
  sx: linkStyles
@@ -37,7 +37,7 @@ var Default = exports.Default = function Default(args) {
37
37
  buttonProps: {
38
38
  onPress: function onPress() {}
39
39
  },
40
- title: "Lorem ipsum"
40
+ title: "Lorem Ipsum"
41
41
  }, args), description, (0, _react2.jsx)(_index.Link, {
42
42
  href: "https://uilibrary.ping-eng.com/"
43
43
  }, "Learn more"));
@@ -58,7 +58,7 @@ Default.parameters = {
58
58
  };
59
59
  var WithoutButton = exports.WithoutButton = function WithoutButton(args) {
60
60
  return (0, _react2.jsx)(_index.PageHeader, (0, _extends2["default"])({
61
- title: "Lorem ipsum"
61
+ title: "Lorem Ipsum"
62
62
  }, args), description, (0, _react2.jsx)(_index.Link, {
63
63
  href: "https://uilibrary.ping-eng.com/"
64
64
  }, "Learn more"));
@@ -82,7 +82,7 @@ var WithoutLink = exports.WithoutLink = function WithoutLink(args) {
82
82
  buttonProps: {
83
83
  onPress: function onPress() {}
84
84
  },
85
- title: "Lorem ipsum"
85
+ title: "Lorem Ipsum"
86
86
  }, args), description);
87
87
  };
88
88
  WithoutLink.parameters = {
@@ -96,7 +96,7 @@ var Customization = exports.Customization = function Customization(args) {
96
96
  buttonProps: {
97
97
  bg: 'critical.bright'
98
98
  },
99
- title: "Lorem ipsum"
99
+ title: "Lorem Ipsum"
100
100
  }, args), description, (0, _react2.jsx)(_index.Link, {
101
101
  href: "https://uilibrary.ping-eng.com/"
102
102
  }, "Learn more"));
@@ -15,16 +15,19 @@ var _Object$getPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/obje
15
15
  var _Object$setPrototypeOf = require("@babel/runtime-corejs3/core-js-stable/object/set-prototype-of");
16
16
  var _Promise = require("@babel/runtime-corejs3/core-js-stable/promise");
17
17
  var _sliceInstanceProperty = require("@babel/runtime-corejs3/core-js-stable/instance/slice");
18
+ var _WeakMap = require("@babel/runtime-corejs3/core-js-stable/weak-map");
18
19
  var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
19
20
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/defineProperty"));
20
21
  var _asyncToGenerator2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/asyncToGenerator"));
21
22
  var _extends2 = _interopRequireDefault(require("@babel/runtime-corejs3/helpers/extends"));
22
23
  var _react = _interopRequireDefault(require("react"));
23
24
  var _userEvent = _interopRequireDefault(require("@testing-library/user-event"));
25
+ var themeHook = _interopRequireWildcard(require("../../hooks"));
24
26
  var _index = require("../../index");
25
27
  var _testWrapper = require("../../utils/testUtils/testWrapper");
26
28
  var _universalComponentTest = require("../../utils/testUtils/universalComponentTest");
27
29
  var _react2 = require("@emotion/react");
30
+ 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); }
28
31
  function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return r; }; var t, r = {}, e = Object.prototype, n = e.hasOwnProperty, o = "function" == typeof _Symbol ? _Symbol : {}, i = o.iterator || "@@iterator", a = o.asyncIterator || "@@asyncIterator", u = o.toStringTag || "@@toStringTag"; function c(t, r, e, n) { return _Object$defineProperty(t, r, { value: e, enumerable: !n, configurable: !n, writable: !n }); } try { c({}, ""); } catch (t) { c = function c(t, r, e) { return t[r] = e; }; } function h(r, e, n, o) { var i = e && e.prototype instanceof Generator ? e : Generator, a = _Object$create(i.prototype); return c(a, "_invoke", function (r, e, n) { var o = 1; return function (i, a) { if (3 === o) throw Error("Generator is already running"); if (4 === o) { if ("throw" === i) throw a; return { value: t, done: !0 }; } for (n.method = i, n.arg = a;;) { var u = n.delegate; if (u) { var c = d(u, n); if (c) { if (c === f) continue; return c; } } if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) { if (1 === o) throw o = 4, n.arg; n.dispatchException(n.arg); } else "return" === n.method && n.abrupt("return", n.arg); o = 3; var h = s(r, e, n); if ("normal" === h.type) { if (o = n.done ? 4 : 2, h.arg === f) continue; return { value: h.arg, done: n.done }; } "throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg); } }; }(r, n, new Context(o || [])), !0), a; } function s(t, r, e) { try { return { type: "normal", arg: t.call(r, e) }; } catch (t) { return { type: "throw", arg: t }; } } r.wrap = h; var f = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var l = {}; c(l, i, function () { return this; }); var p = _Object$getPrototypeOf, y = p && p(p(x([]))); y && y !== e && n.call(y, i) && (l = y); var v = GeneratorFunctionPrototype.prototype = Generator.prototype = _Object$create(l); function g(t) { var _context4; _forEachInstanceProperty(_context4 = ["next", "throw", "return"]).call(_context4, function (r) { c(t, r, function (t) { return this._invoke(r, t); }); }); } function AsyncIterator(t, r) { function e(o, i, a, u) { var c = s(t[o], t, i); if ("throw" !== c.type) { var h = c.arg, f = h.value; return f && "object" == _typeof(f) && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) { e("next", t, a, u); }, function (t) { e("throw", t, a, u); }) : r.resolve(f).then(function (t) { h.value = t, a(h); }, function (t) { return e("throw", t, a, u); }); } u(c.arg); } var o; c(this, "_invoke", function (t, n) { function i() { return new r(function (r, o) { e(t, n, r, o); }); } return o = o ? o.then(i, i) : i(); }, !0); } function d(r, e) { var n = e.method, o = r.i[n]; if (o === t) return e.delegate = null, "throw" === n && r.i["return"] && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f; var i = s(o, r.i, e.arg); if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f; var a = i.arg; return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f); } function w(t) { this.tryEntries.push(t); } function m(r) { var e = r[4] || {}; e.type = "normal", e.arg = t, r[4] = e; } function Context(t) { this.tryEntries = [[-1]], _forEachInstanceProperty(t).call(t, w, this), this.reset(!0); } function x(r) { if (null != r) { var e = r[i]; if (e) return e.call(r); if ("function" == typeof r.next) return r; if (!isNaN(r.length)) { var o = -1, a = function e() { for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e; return e.value = t, e.done = !0, e; }; return a.next = a; } } throw new TypeError(_typeof(r) + " is not iterable"); } return GeneratorFunction.prototype = GeneratorFunctionPrototype, c(v, "constructor", GeneratorFunctionPrototype), c(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = c(GeneratorFunctionPrototype, u, "GeneratorFunction"), r.isGeneratorFunction = function (t) { var r = "function" == typeof t && t.constructor; return !!r && (r === GeneratorFunction || "GeneratorFunction" === (r.displayName || r.name)); }, r.mark = function (t) { return _Object$setPrototypeOf ? _Object$setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, c(t, u, "GeneratorFunction")), t.prototype = _Object$create(v), t; }, r.awrap = function (t) { return { __await: t }; }, g(AsyncIterator.prototype), c(AsyncIterator.prototype, a, function () { return this; }), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) { void 0 === i && (i = _Promise); var a = new AsyncIterator(h(t, e, n, o), i); return r.isGeneratorFunction(e) ? a : a.next().then(function (t) { return t.done ? t.value : a.next(); }); }, g(v), c(v, u, "Generator"), c(v, i, function () { return this; }), c(v, "toString", function () { return "[object Generator]"; }), r.keys = function (t) { var r = Object(t), e = []; for (var n in r) e.unshift(n); return function t() { for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t; return t.done = !0, t; }; }, r.values = x, Context.prototype = { constructor: Context, reset: function reset(r) { var _context5; if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, _forEachInstanceProperty(_context5 = this.tryEntries).call(_context5, m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+_sliceInstanceProperty(e).call(e, 1)) && (this[e] = t); }, stop: function stop() { this.done = !0; var t = this.tryEntries[0][4]; if ("throw" === t.type) throw t.arg; return this.rval; }, dispatchException: function dispatchException(r) { if (this.done) throw r; var e = this; function n(t) { a.type = "throw", a.arg = r, e.next = t; } for (var o = e.tryEntries.length - 1; o >= 0; --o) { var i = this.tryEntries[o], a = i[4], u = this.prev, c = i[1], h = i[2]; if (-1 === i[0]) return n("end"), !1; if (!c && !h) throw Error("try statement without catch or finally"); if (null != i[0] && i[0] <= u) { if (u < c) return this.method = "next", this.arg = t, n(c), !0; if (u < h) return n(h), !1; } } }, abrupt: function abrupt(t, r) { for (var e = this.tryEntries.length - 1; e >= 0; --e) { var n = this.tryEntries[e]; if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) { var o = n; break; } } o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null); var i = o ? o[4] : {}; return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i); }, complete: function complete(t, r) { if ("throw" === t.type) throw t.arg; return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && r && (this.next = r), f; }, finish: function finish(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[2] === t) return this.complete(e[4], e[3]), m(e), f; } }, "catch": function _catch(t) { for (var r = this.tryEntries.length - 1; r >= 0; --r) { var e = this.tryEntries[r]; if (e[0] === t) { var n = e[4]; if ("throw" === n.type) { var o = n.arg; m(e); } return o; } } throw Error("illegal catch attempt"); }, delegateYield: function delegateYield(r, e, n) { return this.delegate = { i: x(r), r: e, n: n }, "next" === this.method && (this.arg = t), f; } }, r; }
29
32
  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; }
30
33
  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) { (0, _defineProperty2["default"])(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; }
@@ -99,4 +102,23 @@ test('when the button is pressed, it calls the onPress callback', /*#__PURE__*/(
99
102
  return _context.stop();
100
103
  }
101
104
  }, _callee);
102
- })));
105
+ })));
106
+ test('for default theme, it applies correct styles', function () {
107
+ getComponent();
108
+ var button = _testWrapper.screen.getByRole('button', {
109
+ name: /icon button/i
110
+ });
111
+ expect(button).toHaveStyleRule('margin-left', '10px');
112
+ });
113
+ test('for onyx theme, it applies correct styles', function () {
114
+ jest.spyOn(themeHook, 'useGetTheme').mockReturnValue({
115
+ pageHeaderTitleMargin: 'md',
116
+ pageHeaderAddIconMargin: 'md',
117
+ pageHeaderAddIconSize: 'md'
118
+ });
119
+ getComponent();
120
+ var button = _testWrapper.screen.getByRole('button', {
121
+ name: /icon button/i
122
+ });
123
+ expect(button).toHaveStyleRule('margin-left', '15px');
124
+ });
@@ -6441,6 +6441,18 @@ export declare const text: {
6441
6441
  variant?: string;
6442
6442
  label?: string;
6443
6443
  };
6444
+ pageHeaderTitle: {
6445
+ lineHeight: string;
6446
+ fontWeight: number;
6447
+ fontSize: string;
6448
+ color: string;
6449
+ fontFamily: string;
6450
+ display: string;
6451
+ overflowWrap: overflowWrap;
6452
+ maxWidth: string;
6453
+ wordWrap: wordWrapText;
6454
+ wordBreak: wordBreak;
6455
+ };
6444
6456
  stepperTabContent: {
6445
6457
  fontSize: string;
6446
6458
  };
@@ -301,6 +301,7 @@ var text = exports.text = _objectSpread(_objectSpread(_objectSpread({
301
301
  attachmentTitle: attachmentTitle,
302
302
  messagesText: _objectSpread({}, base),
303
303
  stepperLabel: stepperLabel,
304
+ pageHeaderTitle: _objectSpread({}, HTags.H1),
304
305
  stepperTabContent: stepperTabContent,
305
306
  stepperTabContentHeader: stepperTabContentHeader
306
307
  });
@@ -71,6 +71,8 @@ declare const useGetTheme: () => {
71
71
  iFrameContentDivBackgroundColor: string;
72
72
  copyButtonSize: import("../..").IconSize;
73
73
  pageHeaderTitleMargin: string;
74
+ pageHeaderAddIconMargin: string;
75
+ pageHeaderAddIconSize: import("../..").IconSize;
74
76
  breadcrumbIconSize: import("../..").IconSize;
75
77
  breadcrumbIconMargin: number;
76
78
  rockerButtonGap: string;
@@ -151,6 +153,8 @@ declare const useGetTheme: () => {
151
153
  breadcrumbIconMargin: string;
152
154
  accordionItemMarginLeft: string;
153
155
  pageHeaderTitleMargin: string;
156
+ pageHeaderAddIconMargin: string;
157
+ pageHeaderAddIconSize: string;
154
158
  defaultLoaderSize: number;
155
159
  activeColor: string;
156
160
  styles: {
@@ -55,6 +55,8 @@ export declare const nextGenDarkThemeValues: {
55
55
  breadcrumbIconMargin: string;
56
56
  accordionItemMarginLeft: string;
57
57
  pageHeaderTitleMargin: string;
58
+ pageHeaderAddIconMargin: string;
59
+ pageHeaderAddIconSize: string;
58
60
  defaultLoaderSize: number;
59
61
  activeColor: string;
60
62
  styles: {
@@ -41,4 +41,10 @@ export declare const text: {
41
41
  };
42
42
  };
43
43
  };
44
+ pageHeaderBody: {
45
+ color: string;
46
+ };
47
+ pageHeaderTitle: {
48
+ color: string;
49
+ };
44
50
  };
@@ -47,5 +47,11 @@ var text = exports.text = {
47
47
  color: 'white'
48
48
  }
49
49
  }
50
+ },
51
+ pageHeaderBody: {
52
+ color: 'text.secondary'
53
+ },
54
+ pageHeaderTitle: {
55
+ color: 'gray-100'
50
56
  }
51
57
  };
@@ -65,6 +65,8 @@ export declare const astroThemeValues: {
65
65
  iFrameContentDivBackgroundColor: string;
66
66
  copyButtonSize: IconSize;
67
67
  pageHeaderTitleMargin: string;
68
+ pageHeaderAddIconMargin: string;
69
+ pageHeaderAddIconSize: IconSize;
68
70
  breadcrumbIconSize: IconSize;
69
71
  breadcrumbIconMargin: number;
70
72
  rockerButtonGap: string;
@@ -21,6 +21,8 @@ var iconBadgeCircleColor = 'white';
21
21
  var rockerButtonGap = '3px';
22
22
  var accordionItemMarginLeft = 'sm';
23
23
  var pageHeaderTitleMargin = 'xs';
24
+ var pageHeaderAddIconMargin = 'sm';
25
+ var pageHeaderAddIconSize = 'sm';
24
26
  var activeColor = '#4462ED';
25
27
  var backgroundBaseColor = 'white';
26
28
  var defaultLoaderSize = 16;
@@ -42,6 +44,8 @@ var astroThemeValues = exports.astroThemeValues = {
42
44
  iFrameContentDivBackgroundColor: iFrameContentDivBackgroundColor,
43
45
  copyButtonSize: copyButtonSize,
44
46
  pageHeaderTitleMargin: pageHeaderTitleMargin,
47
+ pageHeaderAddIconMargin: pageHeaderAddIconMargin,
48
+ pageHeaderAddIconSize: pageHeaderAddIconSize,
45
49
  breadcrumbIconSize: breadcrumbIconSize,
46
50
  breadcrumbIconMargin: breadcrumbIconMargin,
47
51
  rockerButtonGap: rockerButtonGap,
@@ -5,6 +5,8 @@ declare const _default: {
5
5
  breadcrumbIconMargin: string;
6
6
  accordionItemMarginLeft: string;
7
7
  pageHeaderTitleMargin: string;
8
+ pageHeaderAddIconMargin: string;
9
+ pageHeaderAddIconSize: string;
8
10
  defaultLoaderSize: number;
9
11
  };
10
12
  export default _default;
@@ -9,7 +9,9 @@ var copyButtonSize = 'sm';
9
9
  var breadcrumbIconSize = 'sm';
10
10
  var breadcrumbIconMargin = 'md';
11
11
  var accordionItemMarginLeft = 'md';
12
- var pageHeaderTitleMargin = 'md';
12
+ var pageHeaderTitleMargin = 'sm';
13
+ var pageHeaderAddIconMargin = 'md';
14
+ var pageHeaderAddIconSize = 'md';
13
15
  var defaultLoaderSize = 32;
14
16
  var _default = exports["default"] = {
15
17
  copyButtonSize: copyButtonSize,
@@ -17,5 +19,7 @@ var _default = exports["default"] = {
17
19
  breadcrumbIconMargin: breadcrumbIconMargin,
18
20
  accordionItemMarginLeft: accordionItemMarginLeft,
19
21
  pageHeaderTitleMargin: pageHeaderTitleMargin,
22
+ pageHeaderAddIconMargin: pageHeaderAddIconMargin,
23
+ pageHeaderAddIconSize: pageHeaderAddIconSize,
20
24
  defaultLoaderSize: defaultLoaderSize
21
25
  };
@@ -6,6 +6,8 @@ export declare const nextGenThemeValues: {
6
6
  breadcrumbIconMargin: string;
7
7
  accordionItemMarginLeft: string;
8
8
  pageHeaderTitleMargin: string;
9
+ pageHeaderAddIconMargin: string;
10
+ pageHeaderAddIconSize: string;
9
11
  defaultLoaderSize: number;
10
12
  activeColor: string;
11
13
  backgroundBaseColor: string;
@@ -830,6 +830,7 @@ declare const _default: {
830
830
  border: string;
831
831
  cursor: string;
832
832
  boxShadow: string;
833
+ alignSelf: string;
833
834
  };
834
835
  invertedBadgeDeleteButton: {
835
836
  transition: string;
@@ -858,6 +859,7 @@ declare const _default: {
858
859
  border: string;
859
860
  cursor: string;
860
861
  boxShadow: string;
862
+ alignSelf: string;
861
863
  };
862
864
  clearSelectionButton: {
863
865
  top: string;
@@ -886,6 +888,7 @@ declare const _default: {
886
888
  border: string;
887
889
  cursor: string;
888
890
  boxShadow: string;
891
+ alignSelf: string;
889
892
  };
890
893
  };
891
894
  withIcon: {
@@ -1167,6 +1170,7 @@ declare const _default: {
1167
1170
  border: string;
1168
1171
  cursor: string;
1169
1172
  boxShadow: string;
1173
+ alignSelf: string;
1170
1174
  };
1171
1175
  onyx: {
1172
1176
  path: {
@@ -1199,6 +1203,7 @@ declare const _default: {
1199
1203
  border: string;
1200
1204
  cursor: string;
1201
1205
  boxShadow: string;
1206
+ alignSelf: string;
1202
1207
  };
1203
1208
  responseToolbar: {
1204
1209
  '&.is-not-loaded': {
@@ -1232,6 +1237,7 @@ declare const _default: {
1232
1237
  border: string;
1233
1238
  cursor: string;
1234
1239
  boxShadow: string;
1240
+ alignSelf: string;
1235
1241
  };
1236
1242
  modalCloseButton: {
1237
1243
  path: {
@@ -1261,6 +1267,7 @@ declare const _default: {
1261
1267
  border: string;
1262
1268
  cursor: string;
1263
1269
  boxShadow: string;
1270
+ alignSelf: string;
1264
1271
  };
1265
1272
  modalHeaderCloseButton: {
1266
1273
  top: string;
@@ -1293,6 +1300,7 @@ declare const _default: {
1293
1300
  border: string;
1294
1301
  cursor: string;
1295
1302
  boxShadow: string;
1303
+ alignSelf: string;
1296
1304
  };
1297
1305
  badge: {
1298
1306
  deleteButton: {
@@ -1326,6 +1334,7 @@ declare const _default: {
1326
1334
  outline: string;
1327
1335
  border: string;
1328
1336
  boxShadow: string;
1337
+ alignSelf: string;
1329
1338
  };
1330
1339
  };
1331
1340
  messageCloseButton: {
@@ -1367,6 +1376,7 @@ declare const _default: {
1367
1376
  border: string;
1368
1377
  cursor: string;
1369
1378
  boxShadow: string;
1379
+ alignSelf: string;
1370
1380
  };
1371
1381
  headerNav: {
1372
1382
  path: {
@@ -1396,6 +1406,7 @@ declare const _default: {
1396
1406
  border: string;
1397
1407
  cursor: string;
1398
1408
  boxShadow: string;
1409
+ alignSelf: string;
1399
1410
  };
1400
1411
  copyButton: {
1401
1412
  default: {
@@ -1440,6 +1451,7 @@ declare const _default: {
1440
1451
  border: string;
1441
1452
  cursor: string;
1442
1453
  boxShadow: string;
1454
+ alignSelf: string;
1443
1455
  };
1444
1456
  inverted: {
1445
1457
  '&.is-hovered': {
@@ -1464,6 +1476,7 @@ declare const _default: {
1464
1476
  border: string;
1465
1477
  cursor: string;
1466
1478
  boxShadow: string;
1479
+ alignSelf: string;
1467
1480
  };
1468
1481
  searchClearButton: {
1469
1482
  path: {
@@ -1487,6 +1500,7 @@ declare const _default: {
1487
1500
  border: string;
1488
1501
  cursor: string;
1489
1502
  boxShadow: string;
1503
+ alignSelf: string;
1490
1504
  };
1491
1505
  filter: {
1492
1506
  width: string;
@@ -1519,6 +1533,7 @@ declare const _default: {
1519
1533
  border: string;
1520
1534
  cursor: string;
1521
1535
  boxShadow: string;
1536
+ alignSelf: string;
1522
1537
  };
1523
1538
  hintButton: {
1524
1539
  backgroundColor: string;
@@ -1577,6 +1592,7 @@ declare const _default: {
1577
1592
  borderRadius: string;
1578
1593
  cursor: string;
1579
1594
  boxShadow: string;
1595
+ alignSelf: string;
1580
1596
  };
1581
1597
  };
1582
1598
  modalCloseButton: {
@@ -1607,6 +1623,7 @@ declare const _default: {
1607
1623
  border: string;
1608
1624
  cursor: string;
1609
1625
  boxShadow: string;
1626
+ alignSelf: string;
1610
1627
  };
1611
1628
  aiChat: {
1612
1629
  maxWidth: string;
@@ -2882,6 +2899,11 @@ declare const _default: {
2882
2899
  color: string;
2883
2900
  marginTop: string;
2884
2901
  };
2902
+ pageHeaderTitle: {
2903
+ lineHeight: string;
2904
+ fontSize: string;
2905
+ fontWeight: number;
2906
+ };
2885
2907
  requirementsListText: {
2886
2908
  color: string;
2887
2909
  fontSize: string;
@@ -2988,6 +3010,7 @@ declare const _default: {
2988
3010
  pageHeaderBody: {
2989
3011
  lineHeight: string;
2990
3012
  color: string;
3013
+ fontSize: string;
2991
3014
  };
2992
3015
  sideNavHeader: {
2993
3016
  py: string;
@@ -3902,6 +3925,7 @@ declare const _default: {
3902
3925
  outline: string;
3903
3926
  border: string;
3904
3927
  boxShadow: string;
3928
+ alignSelf: string;
3905
3929
  };
3906
3930
  itemBadgeWithSlot: {
3907
3931
  border: string;
@@ -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: {