@pingux/astro 2.54.0-alpha.2 → 2.54.0-alpha.3
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.
@@ -34,13 +34,13 @@ var _default = {
|
|
34
34
|
}
|
35
35
|
},
|
36
36
|
args: {
|
37
|
-
children: '
|
37
|
+
children: 'Text of the popover right here...'
|
38
38
|
}
|
39
39
|
};
|
40
40
|
exports["default"] = _default;
|
41
41
|
var Default = function Default(args) {
|
42
42
|
return (0, _react2.jsx)(_index.Box, {
|
43
|
-
p:
|
43
|
+
p: 50
|
44
44
|
}, (0, _react2.jsx)(_index.HelpHint, args));
|
45
45
|
};
|
46
46
|
exports.Default = Default;
|
@@ -52,7 +52,7 @@ Default.parameters = {
|
|
52
52
|
};
|
53
53
|
var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps() {
|
54
54
|
return (0, _react2.jsx)(_index.Box, {
|
55
|
-
p:
|
55
|
+
p: 50
|
56
56
|
}, (0, _react2.jsx)(_index.HelpHint, {
|
57
57
|
popoverProps: {
|
58
58
|
'data-testid': 'popover-container'
|
@@ -61,15 +61,15 @@ var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps() {
|
|
61
61
|
'aria-label': 'Help hint'
|
62
62
|
},
|
63
63
|
direction: "bottom"
|
64
|
-
}, "
|
64
|
+
}, "Text of the popover right here..."));
|
65
65
|
};
|
66
66
|
exports.WithPopoverAndIconButtonProps = WithPopoverAndIconButtonProps;
|
67
67
|
var ContentWithLink = function ContentWithLink() {
|
68
68
|
return (0, _react2.jsx)(_index.Box, {
|
69
|
-
p:
|
69
|
+
p: 70
|
70
70
|
}, (0, _react2.jsx)(_index.HelpHint, null, (0, _react2.jsx)(_index.Text, {
|
71
71
|
variant: "popover"
|
72
|
-
}, "
|
72
|
+
}, "Text of the popover right here... "), (0, _react2.jsx)(_index.Link, {
|
73
73
|
variant: "popover",
|
74
74
|
href: "https://uilibrary.ping-eng.com/",
|
75
75
|
target: "_blank"
|
@@ -84,7 +84,7 @@ ContentWithLink.parameters = {
|
|
84
84
|
};
|
85
85
|
var WithDelay = function WithDelay(args) {
|
86
86
|
return (0, _react2.jsx)(_index.Box, {
|
87
|
-
p:
|
87
|
+
p: 50
|
88
88
|
}, (0, _react2.jsx)(_index.HelpHint, (0, _extends2["default"])({}, args, {
|
89
89
|
closeDelay: 5000
|
90
90
|
})));
|
@@ -26,12 +26,12 @@ export default {
|
|
26
26
|
}
|
27
27
|
},
|
28
28
|
args: {
|
29
|
-
children: '
|
29
|
+
children: 'Text of the popover right here...'
|
30
30
|
}
|
31
31
|
};
|
32
32
|
export var Default = function Default(args) {
|
33
33
|
return ___EmotionJSX(Box, {
|
34
|
-
p:
|
34
|
+
p: 50
|
35
35
|
}, ___EmotionJSX(HelpHint, args));
|
36
36
|
};
|
37
37
|
Default.parameters = {
|
@@ -42,7 +42,7 @@ Default.parameters = {
|
|
42
42
|
};
|
43
43
|
export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProps() {
|
44
44
|
return ___EmotionJSX(Box, {
|
45
|
-
p:
|
45
|
+
p: 50
|
46
46
|
}, ___EmotionJSX(HelpHint, {
|
47
47
|
popoverProps: {
|
48
48
|
'data-testid': 'popover-container'
|
@@ -51,14 +51,14 @@ export var WithPopoverAndIconButtonProps = function WithPopoverAndIconButtonProp
|
|
51
51
|
'aria-label': 'Help hint'
|
52
52
|
},
|
53
53
|
direction: "bottom"
|
54
|
-
}, "
|
54
|
+
}, "Text of the popover right here..."));
|
55
55
|
};
|
56
56
|
export var ContentWithLink = function ContentWithLink() {
|
57
57
|
return ___EmotionJSX(Box, {
|
58
|
-
p:
|
58
|
+
p: 70
|
59
59
|
}, ___EmotionJSX(HelpHint, null, ___EmotionJSX(Text, {
|
60
60
|
variant: "popover"
|
61
|
-
}, "
|
61
|
+
}, "Text of the popover right here... "), ___EmotionJSX(Link, {
|
62
62
|
variant: "popover",
|
63
63
|
href: "https://uilibrary.ping-eng.com/",
|
64
64
|
target: "_blank"
|
@@ -72,7 +72,7 @@ ContentWithLink.parameters = {
|
|
72
72
|
};
|
73
73
|
export var WithDelay = function WithDelay(args) {
|
74
74
|
return ___EmotionJSX(Box, {
|
75
|
-
p:
|
75
|
+
p: 50
|
76
76
|
}, ___EmotionJSX(HelpHint, _extends({}, args, {
|
77
77
|
closeDelay: 5000
|
78
78
|
})));
|