@pingux/astro 2.2.0-alpha.4 → 2.2.0-alpha.5

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pingux/astro",
3
- "version": "2.2.0-alpha.4",
3
+ "version": "2.2.0-alpha.5",
4
4
  "description": "PingUX themeable React component library",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,80 +0,0 @@
1
- "use strict";
2
-
3
- var _Object$defineProperty = require("@babel/runtime-corejs3/core-js-stable/object/define-property");
4
- var _interopRequireDefault = require("@babel/runtime-corejs3/helpers/interopRequireDefault");
5
- _Object$defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports["default"] = exports.Default = void 0;
9
- var _react = _interopRequireDefault(require("react"));
10
- var _AccountIcon = _interopRequireDefault(require("mdi-react/AccountIcon"));
11
- var _CloseIcon = _interopRequireDefault(require("mdi-react/CloseIcon"));
12
- var _DotsVerticalIcon = _interopRequireDefault(require("mdi-react/DotsVerticalIcon"));
13
- var _index = require("../index");
14
- var _react2 = require("@emotion/react");
15
- var _default = {
16
- title: 'Recipes/Panel Header'
17
- };
18
- exports["default"] = _default;
19
- var sx = {
20
- wrapper: {
21
- width: 'fit-content',
22
- alignItems: 'center',
23
- bg: 'accent.99',
24
- py: 'sm',
25
- pl: 'md'
26
- },
27
- title: {
28
- fontSize: 'md',
29
- lineHeight: '18px'
30
- },
31
- subtitle: {
32
- fontSize: 'sm',
33
- my: '1px',
34
- lineHeight: '16px'
35
- }
36
- };
37
- var Default = function Default() {
38
- return (0, _react2.jsx)(_index.Box, {
39
- isRow: true,
40
- sx: sx.wrapper
41
- }, (0, _react2.jsx)(_index.Icon, {
42
- icon: _AccountIcon["default"],
43
- size: 25,
44
- color: "accent.40"
45
- }), (0, _react2.jsx)(_index.Box, {
46
- ml: "sm",
47
- mr: "xx"
48
- }, (0, _react2.jsx)(_index.Text, {
49
- sx: sx.title,
50
- variant: "bodyStrong"
51
- }, "Fons Vernall"), (0, _react2.jsx)(_index.Text, {
52
- sx: sx.subtitle,
53
- variant: "subtitle"
54
- }, "fvernall0@google.it")), (0, _react2.jsx)(_index.OverlayProvider, null, (0, _react2.jsx)(_index.PopoverMenu, null, (0, _react2.jsx)(_index.IconButton, {
55
- "aria-label": "Menu Button"
56
- }, (0, _react2.jsx)(_index.Icon, {
57
- icon: _DotsVerticalIcon["default"],
58
- size: "xs",
59
- color: "Neutral.40",
60
- m: "0.61px"
61
- })), (0, _react2.jsx)(_index.Menu, null, (0, _react2.jsx)(_index.Item, {
62
- key: "edit"
63
- }, "Edit"), (0, _react2.jsx)(_index.Item, {
64
- key: "duplicate"
65
- }, "Duplicate"), (0, _react2.jsx)(_index.Item, {
66
- key: "delete",
67
- textValue: "delete"
68
- }, (0, _react2.jsx)(_index.Text, {
69
- color: "critical.bright"
70
- }, "Delete"))))), (0, _react2.jsx)(_index.Box, null, (0, _react2.jsx)(_index.IconButton, {
71
- "aria-label": "Close Button",
72
- mx: "10px"
73
- }, (0, _react2.jsx)(_index.Icon, {
74
- icon: _CloseIcon["default"],
75
- size: "xs",
76
- color: "Neutral.40",
77
- m: "0.61px"
78
- }))));
79
- };
80
- exports.Default = Default;
@@ -1,70 +0,0 @@
1
- import React from 'react';
2
- import AccountIcon from 'mdi-react/AccountIcon';
3
- import CloseIcon from 'mdi-react/CloseIcon';
4
- import DotsVerticalIcon from 'mdi-react/DotsVerticalIcon';
5
- import { Box, Icon, IconButton, Item, Menu, OverlayProvider, PopoverMenu, Text } from '../index';
6
- import { jsx as ___EmotionJSX } from "@emotion/react";
7
- export default {
8
- title: 'Recipes/Panel Header'
9
- };
10
- var sx = {
11
- wrapper: {
12
- width: 'fit-content',
13
- alignItems: 'center',
14
- bg: 'accent.99',
15
- py: 'sm',
16
- pl: 'md'
17
- },
18
- title: {
19
- fontSize: 'md',
20
- lineHeight: '18px'
21
- },
22
- subtitle: {
23
- fontSize: 'sm',
24
- my: '1px',
25
- lineHeight: '16px'
26
- }
27
- };
28
- export var Default = function Default() {
29
- return ___EmotionJSX(Box, {
30
- isRow: true,
31
- sx: sx.wrapper
32
- }, ___EmotionJSX(Icon, {
33
- icon: AccountIcon,
34
- size: 25,
35
- color: "accent.40"
36
- }), ___EmotionJSX(Box, {
37
- ml: "sm",
38
- mr: "xx"
39
- }, ___EmotionJSX(Text, {
40
- sx: sx.title,
41
- variant: "bodyStrong"
42
- }, "Fons Vernall"), ___EmotionJSX(Text, {
43
- sx: sx.subtitle,
44
- variant: "subtitle"
45
- }, "fvernall0@google.it")), ___EmotionJSX(OverlayProvider, null, ___EmotionJSX(PopoverMenu, null, ___EmotionJSX(IconButton, {
46
- "aria-label": "Menu Button"
47
- }, ___EmotionJSX(Icon, {
48
- icon: DotsVerticalIcon,
49
- size: "xs",
50
- color: "Neutral.40",
51
- m: "0.61px"
52
- })), ___EmotionJSX(Menu, null, ___EmotionJSX(Item, {
53
- key: "edit"
54
- }, "Edit"), ___EmotionJSX(Item, {
55
- key: "duplicate"
56
- }, "Duplicate"), ___EmotionJSX(Item, {
57
- key: "delete",
58
- textValue: "delete"
59
- }, ___EmotionJSX(Text, {
60
- color: "critical.bright"
61
- }, "Delete"))))), ___EmotionJSX(Box, null, ___EmotionJSX(IconButton, {
62
- "aria-label": "Close Button",
63
- mx: "10px"
64
- }, ___EmotionJSX(Icon, {
65
- icon: CloseIcon,
66
- size: "xs",
67
- color: "Neutral.40",
68
- m: "0.61px"
69
- }))));
70
- };