@pingux/astro 1.5.0-alpha.0 → 1.5.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.
@@ -638,6 +638,18 @@ var colorBlock = {
638
638
  borderColor: 'accent.20'
639
639
  }
640
640
  };
641
+
642
+ var menuTab = _objectSpread(_objectSpread({}, quiet), {}, {
643
+ color: 'neutral.40',
644
+ alignItems: 'center',
645
+ '&.is-selected *, &.is-hovered *': {
646
+ color: 'active'
647
+ },
648
+ '& + *:not(div:first-of-type)': {
649
+ 'ml': 'md'
650
+ }
651
+ });
652
+
641
653
  export default {
642
654
  accordionHeader: accordionHeader,
643
655
  chipDeleteButton: chipDeleteButton,
@@ -680,6 +692,7 @@ export default {
680
692
  tooltipIconButton: tooltipIconButton,
681
693
  tooltipInline: tooltipInline,
682
694
  colorBlock: colorBlock,
695
+ menuTab: menuTab,
683
696
  multiselectToggle: multiselectToggle,
684
697
  neutralText: neutralText
685
698
  };
@@ -3,7 +3,8 @@ var theme = {
3
3
  color: '#545454',
4
4
  background: 'none',
5
5
  lineHeight: 1.5,
6
- tabSize: 4
6
+ tabSize: 4,
7
+ fontFamily: '"Roboto Mono", "Lucida Console", Courier, monospace'
7
8
  },
8
9
  styles: [{
9
10
  types: ['prolog', 'constant', 'builtin'],
@@ -14,12 +14,16 @@ export var tab = {
14
14
  },
15
15
  '&.is-selected.is-vertical': {
16
16
  bg: 'accent.95'
17
+ },
18
+ '& > svg': {
19
+ flexShrink: 0
17
20
  }
18
21
  };
19
22
  export var tabLine = {
20
23
  height: '2px',
21
24
  width: '100%',
22
- bg: 'active'
25
+ bg: 'active',
26
+ flexShrink: 0
23
27
  };
24
28
  export var tabPanel = {
25
29
  outline: 'none'
@@ -30,11 +30,16 @@ var wordWrap = {
30
30
  var tabLabel = _objectSpread(_objectSpread(_objectSpread({}, base), wordWrap), {}, {
31
31
  fontSize: 'sm',
32
32
  fontWeight: 1,
33
- mb: 6,
33
+ mb: 'sm',
34
+ lineHeight: '16px',
34
35
  color: 'neutral.40',
36
+ height: '100%',
35
37
  '.is-selected &, .is-hovered &': {
38
+ color: 'active'
39
+ },
40
+ '.is-selected &': {
36
41
  color: 'active',
37
- mb: 5
42
+ mb: 8
38
43
  },
39
44
  '.is-disabled &': {
40
45
  color: 'neutral.80'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.5.0-alpha.0",
3
+ "version": "1.5.0",
4
4
  "description": "PingUX themeable React component library",
5
5
  "author": "ux-development@pingidentity.com",
6
6
  "license": "Apache-2.0",