@progressive-development/pd-page 0.0.23 → 0.0.24

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
@@ -3,7 +3,7 @@
3
3
  "description": "Progressive development page helper, teaser, menu, footer.",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.0.23",
6
+ "version": "0.0.24",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -20,7 +20,7 @@
20
20
  "lit": "^2.0.2",
21
21
  "@progressive-development/pd-contact": "^0.0.8",
22
22
  "@progressive-development/pd-forms": "^0.0.18",
23
- "@progressive-development/pd-dialog": "^0.0.13",
23
+ "@progressive-development/pd-dialog": "^0.0.14",
24
24
  "@progressive-development/pd-icon": "^0.0.9"
25
25
  },
26
26
  "devDependencies": {
@@ -7,8 +7,8 @@ export default {
7
7
  argTypes: {},
8
8
  };
9
9
 
10
- function Template() {
11
- return html`
10
+
11
+ const getTeaser = () => html`
12
12
  <pd-teaser
13
13
  .teaserObjects="${[{ name: 't1' }, { name: 't2' }, { name: 't3' }]}"
14
14
  >
@@ -35,7 +35,41 @@ function Template() {
35
35
  </pd-teaser-content>
36
36
  </pd-teaser>
37
37
  `;
38
+
39
+ function Template() {
40
+ return getTeaser();
41
+ }
42
+
43
+ function TemplateSmall() {
44
+ return html`
45
+
46
+ <style>
47
+ .smallContent {
48
+
49
+ min-height: 100vh;
50
+ height: 100%;
51
+
52
+ max-width: 960px;
53
+ margin: 0 auto;
54
+
55
+ display: flex;
56
+ flex-direction: column;
57
+ align-items: center;
58
+ justify-content: flex-start;
59
+
60
+ background-color: grey;
61
+ }
62
+ </style>
63
+
64
+ <div class="smallContent">
65
+ ${getTeaser()}
66
+ </div>
67
+ `;
38
68
  }
39
69
 
70
+
40
71
  export const Teaser = Template.bind({});
41
72
  Teaser.args = {};
73
+
74
+ export const TeaserSmall = TemplateSmall.bind({});
75
+ TeaserSmall.args = {};