@pingux/astro 1.29.0 → 1.29.1-alpha.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.
@@ -36,17 +36,29 @@ var _default = {
36
36
  title: 'Recipes/Panel Header'
37
37
  };
38
38
  exports["default"] = _default;
39
+ var sx = {
40
+ wrapper: {
41
+ width: 'fit-content',
42
+ alignItems: 'center',
43
+ bg: 'accent.99',
44
+ py: 'sm',
45
+ pl: 'md'
46
+ },
47
+ title: {
48
+ fontSize: 'md',
49
+ lineHeight: '18px'
50
+ },
51
+ subtitle: {
52
+ fontSize: 'sm',
53
+ my: '1px',
54
+ lineHeight: '16px'
55
+ }
56
+ };
39
57
 
40
58
  var Default = function Default() {
41
59
  return (0, _react2.jsx)(_Box["default"], {
42
- bg: "accent.99",
43
- py: "sm",
44
- pl: "md",
45
60
  isRow: true,
46
- alignItems: "center",
47
- sx: {
48
- width: 'fit-content'
49
- }
61
+ sx: sx.wrapper
50
62
  }, (0, _react2.jsx)(_Icon["default"], {
51
63
  icon: _AccountIcon["default"],
52
64
  size: 25,
@@ -55,17 +67,10 @@ var Default = function Default() {
55
67
  ml: "sm",
56
68
  mr: "xx"
57
69
  }, (0, _react2.jsx)(_Text["default"], {
58
- sx: {
59
- fontSize: 'md',
60
- lineHeight: '18px'
61
- },
70
+ sx: sx.title,
62
71
  variant: "bodyStrong"
63
72
  }, "Fons Vernall"), (0, _react2.jsx)(_Text["default"], {
64
- sx: {
65
- fontSize: 'sm',
66
- my: '1px',
67
- lineHeight: '16px'
68
- },
73
+ sx: sx.subtitle,
69
74
  variant: "subtitle"
70
75
  }, "fvernall0@google.it")), (0, _react2.jsx)(_index.OverlayProvider, null, (0, _react2.jsx)(_PopoverMenu["default"], null, (0, _react2.jsx)(_IconButton["default"], {
71
76
  "aria-label": "Menu Button"
@@ -12,16 +12,28 @@ import { jsx as ___EmotionJSX } from "@emotion/react";
12
12
  export default {
13
13
  title: 'Recipes/Panel Header'
14
14
  };
15
+ var sx = {
16
+ wrapper: {
17
+ width: 'fit-content',
18
+ alignItems: 'center',
19
+ bg: 'accent.99',
20
+ py: 'sm',
21
+ pl: 'md'
22
+ },
23
+ title: {
24
+ fontSize: 'md',
25
+ lineHeight: '18px'
26
+ },
27
+ subtitle: {
28
+ fontSize: 'sm',
29
+ my: '1px',
30
+ lineHeight: '16px'
31
+ }
32
+ };
15
33
  export var Default = function Default() {
16
34
  return ___EmotionJSX(Box, {
17
- bg: "accent.99",
18
- py: "sm",
19
- pl: "md",
20
35
  isRow: true,
21
- alignItems: "center",
22
- sx: {
23
- width: 'fit-content'
24
- }
36
+ sx: sx.wrapper
25
37
  }, ___EmotionJSX(Icon, {
26
38
  icon: AccountIcon,
27
39
  size: 25,
@@ -30,17 +42,10 @@ export var Default = function Default() {
30
42
  ml: "sm",
31
43
  mr: "xx"
32
44
  }, ___EmotionJSX(Text, {
33
- sx: {
34
- fontSize: 'md',
35
- lineHeight: '18px'
36
- },
45
+ sx: sx.title,
37
46
  variant: "bodyStrong"
38
47
  }, "Fons Vernall"), ___EmotionJSX(Text, {
39
- sx: {
40
- fontSize: 'sm',
41
- my: '1px',
42
- lineHeight: '16px'
43
- },
48
+ sx: sx.subtitle,
44
49
  variant: "subtitle"
45
50
  }, "fvernall0@google.it")), ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, null, ___EmotionJSX(IconButton, {
46
51
  "aria-label": "Menu Button"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "1.29.0",
3
+ "version": "1.29.1-alpha.0",
4
4
  "description": "PingUX themeable React component library",
5
5
  "repository": {
6
6
  "type": "git",