@pingux/astro 2.151.1-alpha.1 → 2.151.1-alpha.2

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.
@@ -429,7 +429,9 @@ var thirdData = [{
429
429
  }];
430
430
  var Default = function Default() {
431
431
  var _useGetTheme = (0, _hooks.useGetTheme)(),
432
- icons = _useGetTheme.icons;
432
+ icons = _useGetTheme.icons,
433
+ themeState = _useGetTheme.themeState;
434
+ var isOnyx = themeState.isOnyx;
433
435
  return (0, _react2.jsx)(_.NavBar, null, (0, _react2.jsx)(_.Box, {
434
436
  padding: "md",
435
437
  key: "top-logo-parent"
@@ -437,10 +439,10 @@ var Default = function Default() {
437
439
  "aria-label": "home link",
438
440
  href: "https://pingidentity.com",
439
441
  target: "_blank"
440
- }, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
442
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? (0, _react2.jsx)(_.Separator, {
441
443
  m: 0,
442
444
  backgroundColor: "neutral.60"
443
- }), (0, _react2.jsx)(_.Box, {
445
+ }) : (0, _react2.jsx)(_.Box, null), (0, _react2.jsx)(_.Box, {
444
446
  variant: "navBar.sectionContainer",
445
447
  paddingBottom: "xl",
446
448
  key: "first-section-container"
@@ -650,6 +652,9 @@ var Controlled = function Controlled() {
650
652
  setSelectedKey = _useState2[1];
651
653
  var _useGetTheme3 = (0, _hooks.useGetTheme)(),
652
654
  icons = _useGetTheme3.icons;
655
+ var _useGetTheme4 = (0, _hooks.useGetTheme)(),
656
+ themeState = _useGetTheme4.themeState;
657
+ var isOnyx = themeState.isOnyx;
653
658
  var customData = [{
654
659
  icon: _EarthIcon["default"],
655
660
  key: 'Environment',
@@ -675,11 +680,11 @@ var Controlled = function Controlled() {
675
680
  "aria-label": "home link",
676
681
  href: "https://pingidentity.com",
677
682
  target: "_blank"
678
- }, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
683
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? (0, _react2.jsx)(_.Separator, {
679
684
  m: "0",
680
685
  backgroundColor: "neutral.60",
681
686
  key: "top-separator"
682
- }), (0, _react2.jsx)(_.Box, {
687
+ }) : (0, _react2.jsx)(_.Box, null), (0, _react2.jsx)(_.Box, {
683
688
  variant: "navBar.sectionContainer",
684
689
  paddingBottom: "xl",
685
690
  key: "first-section-container"
@@ -706,8 +711,10 @@ var Controlled = function Controlled() {
706
711
  };
707
712
  exports.Controlled = Controlled;
708
713
  var AutoCollapse = function AutoCollapse() {
709
- var _useGetTheme4 = (0, _hooks.useGetTheme)(),
710
- icons = _useGetTheme4.icons;
714
+ var _useGetTheme5 = (0, _hooks.useGetTheme)(),
715
+ icons = _useGetTheme5.icons,
716
+ themeState = _useGetTheme5.themeState;
717
+ var isOnyx = themeState.isOnyx;
711
718
  return (0, _react2.jsx)(_.NavBar, {
712
719
  isAutoСollapsible: true
713
720
  }, (0, _react2.jsx)(_.Box, {
@@ -717,10 +724,10 @@ var AutoCollapse = function AutoCollapse() {
717
724
  "aria-label": "home link",
718
725
  href: "https://pingidentity.com",
719
726
  target: "_blank"
720
- }, icons.pingLogoHorizontalSmall)), (0, _react2.jsx)(_.Separator, {
727
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? (0, _react2.jsx)(_.Separator, {
721
728
  m: 0,
722
729
  backgroundColor: "neutral.60"
723
- }), (0, _react2.jsx)(_.Box, {
730
+ }) : (0, _react2.jsx)(_.Box, null), (0, _react2.jsx)(_.Box, {
724
731
  variant: "navBar.sectionContainer",
725
732
  paddingBottom: "xl",
726
733
  key: "first-section-container"
@@ -4531,6 +4531,8 @@ declare const _default: {
4531
4531
  paddingLeft: string;
4532
4532
  color: string;
4533
4533
  borderRadius: string;
4534
+ fontWeight: number;
4535
+ fontSize: string;
4534
4536
  '&.is-focused': {
4535
4537
  outline: string;
4536
4538
  outlineColor: string;
@@ -4554,6 +4556,8 @@ declare const _default: {
4554
4556
  };
4555
4557
  headerText: {
4556
4558
  color: string;
4559
+ fontWeight: number;
4560
+ fontSize: string;
4557
4561
  ml: string;
4558
4562
  '.is-selected &': {
4559
4563
  color: string;
@@ -37,6 +37,8 @@ export declare const navBar: {
37
37
  paddingLeft: string;
38
38
  color: string;
39
39
  borderRadius: string;
40
+ fontWeight: number;
41
+ fontSize: string;
40
42
  '&.is-focused': {
41
43
  outline: string;
42
44
  outlineColor: string;
@@ -60,6 +62,8 @@ export declare const navBar: {
60
62
  };
61
63
  headerText: {
62
64
  color: string;
65
+ fontWeight: number;
66
+ fontSize: string;
63
67
  ml: string;
64
68
  '.is-selected &': {
65
69
  color: string;
@@ -17,7 +17,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime-corejs3/he
17
17
  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; }
18
18
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
19
19
  var navBarSelected = {
20
- backgroundColor: 'lightblue',
20
+ backgroundColor: 'blue-100',
21
21
  boxShadow: 'none'
22
22
  };
23
23
  exports.navBarSelected = navBarSelected;
@@ -53,6 +53,8 @@ var navBar = {
53
53
  paddingLeft: '53px',
54
54
  color: 'gray-700',
55
55
  borderRadius: '4px',
56
+ fontWeight: 0,
57
+ fontSize: 'sm',
56
58
  '&.is-focused': _objectSpread({}, navBarFocus),
57
59
  '&.is-hovered': {
58
60
  backgroundColor: 'light'
@@ -62,7 +64,7 @@ var navBar = {
62
64
  color: 'gray-700'
63
65
  },
64
66
  '&.is-selected': {
65
- bg: 'lightblue',
67
+ bg: 'blue-100',
66
68
  boxShadow: 'none',
67
69
  color: 'darkblue'
68
70
  }
@@ -71,7 +73,9 @@ var navBar = {
71
73
  color: 'gray-700'
72
74
  },
73
75
  headerText: {
74
- color: 'text.primary',
76
+ color: 'gray-700',
77
+ fontWeight: 0,
78
+ fontSize: 'sm',
75
79
  ml: 'sm',
76
80
  '.is-selected &': {
77
81
  color: 'darkblue'
@@ -1014,6 +1014,8 @@ declare const _default: {
1014
1014
  paddingLeft: string;
1015
1015
  color: string;
1016
1016
  borderRadius: string;
1017
+ fontWeight: number;
1018
+ fontSize: string;
1017
1019
  '&.is-focused': {
1018
1020
  outline: string;
1019
1021
  outlineColor: string;
@@ -1037,6 +1039,8 @@ declare const _default: {
1037
1039
  };
1038
1040
  headerText: {
1039
1041
  color: string;
1042
+ fontWeight: number;
1043
+ fontSize: string;
1040
1044
  ml: string;
1041
1045
  '.is-selected &': {
1042
1046
  color: string;
@@ -415,7 +415,9 @@ var thirdData = [{
415
415
  }];
416
416
  export var Default = function Default() {
417
417
  var _useGetTheme = useGetTheme(),
418
- icons = _useGetTheme.icons;
418
+ icons = _useGetTheme.icons,
419
+ themeState = _useGetTheme.themeState;
420
+ var isOnyx = themeState.isOnyx;
419
421
  return ___EmotionJSX(NavBar, null, ___EmotionJSX(Box, {
420
422
  padding: "md",
421
423
  key: "top-logo-parent"
@@ -423,10 +425,10 @@ export var Default = function Default() {
423
425
  "aria-label": "home link",
424
426
  href: "https://pingidentity.com",
425
427
  target: "_blank"
426
- }, icons.pingLogoHorizontalSmall)), ___EmotionJSX(Separator, {
428
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? ___EmotionJSX(Separator, {
427
429
  m: 0,
428
430
  backgroundColor: "neutral.60"
429
- }), ___EmotionJSX(Box, {
431
+ }) : ___EmotionJSX(Box, null), ___EmotionJSX(Box, {
430
432
  variant: "navBar.sectionContainer",
431
433
  paddingBottom: "xl",
432
434
  key: "first-section-container"
@@ -634,6 +636,9 @@ export var Controlled = function Controlled() {
634
636
  setSelectedKey = _useState2[1];
635
637
  var _useGetTheme3 = useGetTheme(),
636
638
  icons = _useGetTheme3.icons;
639
+ var _useGetTheme4 = useGetTheme(),
640
+ themeState = _useGetTheme4.themeState;
641
+ var isOnyx = themeState.isOnyx;
637
642
  var customData = [{
638
643
  icon: Earth,
639
644
  key: 'Environment',
@@ -659,11 +664,11 @@ export var Controlled = function Controlled() {
659
664
  "aria-label": "home link",
660
665
  href: "https://pingidentity.com",
661
666
  target: "_blank"
662
- }, icons.pingLogoHorizontalSmall)), ___EmotionJSX(Separator, {
667
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? ___EmotionJSX(Separator, {
663
668
  m: "0",
664
669
  backgroundColor: "neutral.60",
665
670
  key: "top-separator"
666
- }), ___EmotionJSX(Box, {
671
+ }) : ___EmotionJSX(Box, null), ___EmotionJSX(Box, {
667
672
  variant: "navBar.sectionContainer",
668
673
  paddingBottom: "xl",
669
674
  key: "first-section-container"
@@ -689,8 +694,10 @@ export var Controlled = function Controlled() {
689
694
  })));
690
695
  };
691
696
  export var AutoCollapse = function AutoCollapse() {
692
- var _useGetTheme4 = useGetTheme(),
693
- icons = _useGetTheme4.icons;
697
+ var _useGetTheme5 = useGetTheme(),
698
+ icons = _useGetTheme5.icons,
699
+ themeState = _useGetTheme5.themeState;
700
+ var isOnyx = themeState.isOnyx;
694
701
  return ___EmotionJSX(NavBar, {
695
702
  isAutoСollapsible: true
696
703
  }, ___EmotionJSX(Box, {
@@ -700,10 +707,10 @@ export var AutoCollapse = function AutoCollapse() {
700
707
  "aria-label": "home link",
701
708
  href: "https://pingidentity.com",
702
709
  target: "_blank"
703
- }, icons.pingLogoHorizontalSmall)), ___EmotionJSX(Separator, {
710
+ }, icons.pingLogoHorizontalSmall)), !isOnyx ? ___EmotionJSX(Separator, {
704
711
  m: 0,
705
712
  backgroundColor: "neutral.60"
706
- }), ___EmotionJSX(Box, {
713
+ }) : ___EmotionJSX(Box, null), ___EmotionJSX(Box, {
707
714
  variant: "navBar.sectionContainer",
708
715
  paddingBottom: "xl",
709
716
  key: "first-section-container"
@@ -10,7 +10,7 @@ import _defineProperty from "@babel/runtime-corejs3/helpers/esm/defineProperty";
10
10
  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; }
11
11
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var _context, _context2; var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? _forEachInstanceProperty(_context = ownKeys(Object(source), !0)).call(_context, function (key) { _defineProperty(target, key, source[key]); }) : _Object$getOwnPropertyDescriptors ? _Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source)) : _forEachInstanceProperty(_context2 = ownKeys(Object(source))).call(_context2, function (key) { _Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key)); }); } return target; }
12
12
  export var navBarSelected = {
13
- backgroundColor: 'lightblue',
13
+ backgroundColor: 'blue-100',
14
14
  boxShadow: 'none'
15
15
  };
16
16
  export var navBarFocus = {
@@ -44,6 +44,8 @@ export var navBar = {
44
44
  paddingLeft: '53px',
45
45
  color: 'gray-700',
46
46
  borderRadius: '4px',
47
+ fontWeight: 0,
48
+ fontSize: 'sm',
47
49
  '&.is-focused': _objectSpread({}, navBarFocus),
48
50
  '&.is-hovered': {
49
51
  backgroundColor: 'light'
@@ -53,7 +55,7 @@ export var navBar = {
53
55
  color: 'gray-700'
54
56
  },
55
57
  '&.is-selected': {
56
- bg: 'lightblue',
58
+ bg: 'blue-100',
57
59
  boxShadow: 'none',
58
60
  color: 'darkblue'
59
61
  }
@@ -62,7 +64,9 @@ export var navBar = {
62
64
  color: 'gray-700'
63
65
  },
64
66
  headerText: {
65
- color: 'text.primary',
67
+ color: 'gray-700',
68
+ fontWeight: 0,
69
+ fontSize: 'sm',
66
70
  ml: 'sm',
67
71
  '.is-selected &': {
68
72
  color: 'darkblue'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.151.1-alpha.1",
3
+ "version": "2.151.1-alpha.2",
4
4
  "description": "React component library for Ping Identity's design system",
5
5
  "repository": {
6
6
  "type": "git",