@pingux/astro 1.27.0-alpha.13 → 1.27.0-alpha.14
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/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +2 -8
- package/lib/cjs/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +0 -35
- package/lib/cjs/components/PageHeader/PageHeader.js +1 -7
- package/lib/cjs/recipes/ListAndPanel.stories.js +87 -102
- package/lib/cjs/recipes/SelectedFieldOverlay.story.js +21 -25
- package/lib/cjs/recipes/TrialExperienceStatusBar.stories.js +72 -81
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.js +2 -7
- package/lib/components/EnvironmentBreadcrumb/EnvironmentBreadcrumb.test.js +0 -25
- package/lib/components/PageHeader/PageHeader.js +1 -8
- package/lib/recipes/ListAndPanel.stories.js +87 -102
- package/lib/recipes/SelectedFieldOverlay.story.js +21 -25
- package/lib/recipes/TrialExperienceStatusBar.stories.js +72 -81
- package/package.json +1 -1
- package/lib/cjs/recipes/PageHeader.stories.js +0 -73
- package/lib/recipes/PageHeader.stories.js +0 -53
@@ -1,53 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import PlusIcon from 'mdi-react/PlusIcon';
|
3
|
-
import { Box, Button, IconButton, Icon, Text } from '../index';
|
4
|
-
import { jsx as ___EmotionJSX } from "@emotion/react";
|
5
|
-
export default {
|
6
|
-
title: 'Recipes/Page Header'
|
7
|
-
};
|
8
|
-
export var Default = function Default() {
|
9
|
-
var heading = 'Title of the Page';
|
10
|
-
var description = 'The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page. The description of the page.';
|
11
|
-
return ___EmotionJSX(Box, null, ___EmotionJSX(Box, null, ___EmotionJSX(Box, {
|
12
|
-
align: "center",
|
13
|
-
isRow: true,
|
14
|
-
mb: "xs",
|
15
|
-
role: "heading",
|
16
|
-
"aria-level": "1"
|
17
|
-
}, ___EmotionJSX(Text, {
|
18
|
-
variant: "title",
|
19
|
-
fontWeight: 3
|
20
|
-
}, heading), ___EmotionJSX(Button, {
|
21
|
-
variant: "inlinePrimary",
|
22
|
-
ml: "sm"
|
23
|
-
}, ___EmotionJSX(Icon, {
|
24
|
-
icon: PlusIcon,
|
25
|
-
color: "white",
|
26
|
-
size: 13,
|
27
|
-
mr: "4px"
|
28
|
-
}), "\xA0", "Add")), ___EmotionJSX(Text, {
|
29
|
-
variant: "bodyWeak"
|
30
|
-
}, description)), ___EmotionJSX(Box, {
|
31
|
-
mt: "xl"
|
32
|
-
}, ___EmotionJSX(Box, {
|
33
|
-
align: "center",
|
34
|
-
isRow: true,
|
35
|
-
mb: "xs",
|
36
|
-
role: "heading",
|
37
|
-
"aria-level": "1"
|
38
|
-
}, ___EmotionJSX(Text, {
|
39
|
-
variant: "title",
|
40
|
-
fontWeight: 3
|
41
|
-
}, heading), ___EmotionJSX(IconButton, {
|
42
|
-
"aria-label": "icon button",
|
43
|
-
ml: "sm",
|
44
|
-
mt: "3px",
|
45
|
-
variant: "inverted"
|
46
|
-
}, ___EmotionJSX(Icon, {
|
47
|
-
icon: PlusIcon,
|
48
|
-
color: "white",
|
49
|
-
size: 13
|
50
|
-
}))), ___EmotionJSX(Text, {
|
51
|
-
variant: "bodyWeak"
|
52
|
-
}, description)));
|
53
|
-
};
|