@progressive-development/pd-forms 0.0.12 → 0.0.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/package.json +2 -2
- package/pd-button-goup.js +3 -0
- package/pd-button.js +3 -0
- package/pd-checkbox.js +3 -0
- package/pd-form-container.js +3 -0
- package/pd-form-row.js +3 -0
- package/pd-input-area.js +3 -0
- package/pd-input.js +3 -0
- package/pd-label-value.js +3 -0
- package/pd-radio-group.js +3 -0
- package/pd-select.js +3 -0
- package/src/{squi-base-ui.js → PdBaseUi.js} +1 -1
- package/src/{squi-base-ui-input.js → PdBaseUiInput.js} +2 -2
- package/src/{squi-button.js → PdButton.js} +1 -1
- package/src/{squi-button-group.js → PdButtonGroup.js} +3 -3
- package/src/{squi-checkbox.js → PdCheckbox.js} +2 -2
- package/src/{squi-form-container.js → PdFormContainer.js} +1 -1
- package/src/{squi-form-row.js → PdFormRow.js} +1 -1
- package/src/{squi-input.js → PdInput.js} +13 -13
- package/src/{squi-input-area.js → PdInputArea.js} +11 -11
- package/src/PdLabelValue.js +75 -0
- package/src/{squi-radio-group.js → PdRadioGroup.js} +4 -4
- package/src/{squi-select.js → PdSelect.js} +7 -7
- package/stories/button.stories.js +15 -0
- package/stories/checkbox.stories.js +50 -0
- package/stories/form-container.stories.js +50 -0
- package/stories/index.stories.js +297 -29
- package/stories/input-area.stories.js +129 -0
- package/stories/input.stories.js +130 -0
- package/stories/label-value.stories.js +32 -0
- package/stories/radio-group.stories.js +45 -0
- package/stories/select.stories.js +104 -0
- package/PdButton.js +0 -3
- package/PdButtonGroup.js +0 -3
- package/PdCheckbox.js +0 -3
- package/PdFormContainer.js +0 -3
- package/PdFormRow.js +0 -3
- package/PdInput.js +0 -3
- package/PdInputArea.js +0 -3
- package/PdRadioGroup.js +0 -3
- package/PdSelect.js +0 -3
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Webcomponent pd-forms following open-wc recommendations",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"author": "PD Progressive Development",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.14",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "index.js",
|
|
9
9
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"storybook:build": "npm run analyze -- --exclude dist && build-storybook"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@progressive-development/pd-icon": "0.0.
|
|
20
|
+
"@progressive-development/pd-icon": "0.0.4",
|
|
21
21
|
"lit": "^2.0.0-rc.4",
|
|
22
22
|
"@lit-labs/motion": "^1.0.0-rc.2"
|
|
23
23
|
},
|
package/pd-button.js
ADDED
package/pd-checkbox.js
ADDED
package/pd-form-row.js
ADDED
package/pd-input-area.js
ADDED
package/pd-input.js
ADDED
package/pd-select.js
ADDED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Copyright (c) 2021 PD Progressive Development UG. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import { PdBaseUI } from './PdBaseUi.js';
|
|
7
7
|
|
|
8
8
|
export const INPUT_TYPE_TEXT = 1;
|
|
9
9
|
export const INPUT_TYPE_SELECT = 2;
|
|
@@ -11,7 +11,7 @@ export const INPUT_TYPE_CHECK = 3;
|
|
|
11
11
|
export const INPUT_TYPE_RANGE = 4;
|
|
12
12
|
export const INPUT_TYPE_AREA = 5;
|
|
13
13
|
|
|
14
|
-
export class
|
|
14
|
+
export class PdBaseUIInput extends PdBaseUI {
|
|
15
15
|
|
|
16
16
|
static get properties() {
|
|
17
17
|
return {
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
import { html, css , LitElement } from 'lit';
|
|
7
7
|
|
|
8
8
|
import { SharedInputStyles } from './shared-input-styles.js';
|
|
9
|
-
import '
|
|
9
|
+
import '../pd-button.js';
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
export class
|
|
12
|
+
export class PdButtonGroup extends LitElement {
|
|
13
13
|
|
|
14
14
|
static get styles() {
|
|
15
15
|
return [
|
|
@@ -46,7 +46,7 @@ export class SquiButtonGroup extends LitElement {
|
|
|
46
46
|
return html`
|
|
47
47
|
<div class="button-group">
|
|
48
48
|
${this.buttons.map(entry => html`
|
|
49
|
-
<
|
|
49
|
+
<pd-button text="${entry.text}" style="visibility: ${entry.visibility};"></pd-button>
|
|
50
50
|
`)}
|
|
51
51
|
</div>
|
|
52
52
|
`;
|
|
@@ -9,12 +9,12 @@ import { classMap } from 'lit/directives/class-map.js';
|
|
|
9
9
|
// import {GestureEventListeners} from '@polymer/polymer/lib/mixins/gesture-event-listeners.js';
|
|
10
10
|
|
|
11
11
|
import '@progressive-development/pd-icon';
|
|
12
|
-
import {
|
|
12
|
+
import { PdBaseUIInput, INPUT_TYPE_CHECK } from "./PdBaseUiInput.js";
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
// import { installMediaQueryWatcher } from 'pwa-helpers/media-query.js';
|
|
16
16
|
|
|
17
|
-
export class
|
|
17
|
+
export class PdCheckbox extends PdBaseUIInput {
|
|
18
18
|
static get properties() {
|
|
19
19
|
return {
|
|
20
20
|
hasInner: { type: Boolean },
|
|
@@ -11,7 +11,7 @@ import {LitElement, html, css} from 'lit';
|
|
|
11
11
|
* @slot - This element has a slot
|
|
12
12
|
* @csspart button - The button
|
|
13
13
|
*/
|
|
14
|
-
export class
|
|
14
|
+
export class PdFormContainer extends LitElement {
|
|
15
15
|
|
|
16
16
|
static get styles() {
|
|
17
17
|
return css`
|
|
@@ -7,7 +7,7 @@ import { html, css } from 'lit';
|
|
|
7
7
|
import { classMap } from 'lit/directives/class-map.js';
|
|
8
8
|
import { SharedInputStyles } from './shared-input-styles.js';
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { PdBaseUIInput, INPUT_TYPE_TEXT } from './PdBaseUiInput.js';
|
|
11
11
|
|
|
12
12
|
import '@progressive-development/pd-icon/pd-icon.js';
|
|
13
13
|
|
|
@@ -39,34 +39,34 @@ import '@progressive-development/pd-icon/pd-icon.js';
|
|
|
39
39
|
*
|
|
40
40
|
* The icon inside `squi-input` is hidden by default. To show it, set the attribute `icon-right` or `icon-left`.
|
|
41
41
|
*
|
|
42
|
-
* <
|
|
43
|
-
* <
|
|
42
|
+
* <pd-input icon-left></pd-input>
|
|
43
|
+
* <pd-input icon-right></pd-input>
|
|
44
44
|
*
|
|
45
|
-
* <
|
|
45
|
+
* <pd-input icon-left .icon="${'hardware:headset'}"></pd-input>
|
|
46
46
|
*
|
|
47
47
|
* Text can be left or right aligned. Default is left alignment.
|
|
48
48
|
*
|
|
49
|
-
* <
|
|
50
|
-
* <
|
|
49
|
+
* <pd-input text-right></pd-input>
|
|
50
|
+
* <pd-input text-left></pd-input>
|
|
51
51
|
*/
|
|
52
|
-
export class
|
|
52
|
+
export class PdInput extends PdBaseUIInput {
|
|
53
53
|
/**
|
|
54
|
-
* Fired when `
|
|
54
|
+
* Fired when `pd-input` has focus and the user press `Enter` key.
|
|
55
55
|
* @event enter-pressed
|
|
56
56
|
*/
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
* Fired when `
|
|
59
|
+
* Fired when `pd-input` has focus and the user press any key except `Enter`.
|
|
60
60
|
* @event key-pressed
|
|
61
61
|
*/
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Fire when the `
|
|
64
|
+
* Fire when the `pd-input` loses focus.
|
|
65
65
|
* @event focus-lost
|
|
66
66
|
*/
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
|
-
* Fire when the icon inside `
|
|
69
|
+
* Fire when the icon inside `pd-input` is clicked.
|
|
70
70
|
* @event icon-clicked
|
|
71
71
|
*/
|
|
72
72
|
|
|
@@ -85,10 +85,10 @@ export class SquiInput extends SquiBaseUIInput {
|
|
|
85
85
|
return {
|
|
86
86
|
key: { type: String }, // Test, wird für das setzten der Error Msg benötigt
|
|
87
87
|
|
|
88
|
-
/** Placeholder for `
|
|
88
|
+
/** Placeholder for `pd-input` initial text. */
|
|
89
89
|
placeHolder: { type: String },
|
|
90
90
|
/**
|
|
91
|
-
* Icon to be shown inside `
|
|
91
|
+
* Icon to be shown inside `pd-input`.
|
|
92
92
|
*/
|
|
93
93
|
icon: { type: String },
|
|
94
94
|
secret: { type: Boolean }, // True for type password
|
|
@@ -7,7 +7,7 @@ import { html, css } from 'lit';
|
|
|
7
7
|
import { classMap } from 'lit/directives/class-map.js';
|
|
8
8
|
import { SharedInputStyles } from './shared-input-styles.js';
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { PdBaseUIInput, INPUT_TYPE_AREA } from './PdBaseUiInput.js';
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
import '@progressive-development/pd-icon/pd-icon.js';
|
|
@@ -40,35 +40,35 @@ import '@progressive-development/pd-icon/pd-icon.js';
|
|
|
40
40
|
*
|
|
41
41
|
* The icon inside `squi-input` is hidden by default. To show it, set the attribute `icon-right` or `icon-left`.
|
|
42
42
|
*
|
|
43
|
-
* <
|
|
44
|
-
* <
|
|
43
|
+
* <pd-input icon-left></pd-input>
|
|
44
|
+
* <pd-input icon-right></pd-input>
|
|
45
45
|
*
|
|
46
|
-
* <
|
|
46
|
+
* <pd-input icon-left .icon="${'hardware:headset'}"></pd-input>
|
|
47
47
|
*
|
|
48
48
|
* Text can be left or right aligned. Default is left alignment.
|
|
49
49
|
*
|
|
50
|
-
* <
|
|
51
|
-
* <
|
|
50
|
+
* <pd-input text-right></pd-input>
|
|
51
|
+
* <pd-input text-left></pd-input>
|
|
52
52
|
*/
|
|
53
|
-
export class
|
|
53
|
+
export class PdInputArea extends PdBaseUIInput {
|
|
54
54
|
|
|
55
55
|
/**
|
|
56
|
-
* Fired when `
|
|
56
|
+
* Fired when `pd-input-area` has focus and the user press `Enter` key.
|
|
57
57
|
* @event enter-pressed
|
|
58
58
|
*/
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
|
-
* Fired when `
|
|
61
|
+
* Fired when `pd-input-area` has focus and the user press any key except `Enter`.
|
|
62
62
|
* @event key-pressed
|
|
63
63
|
*/
|
|
64
64
|
|
|
65
65
|
/**
|
|
66
|
-
* Fire when the `
|
|
66
|
+
* Fire when the `pd-input-area` loses focus.
|
|
67
67
|
* @event focus-lost
|
|
68
68
|
*/
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
|
-
* Fire when the icon inside `
|
|
71
|
+
* Fire when the icon inside `pd-input-area` is clicked.
|
|
72
72
|
* @event icon-clicked
|
|
73
73
|
*/
|
|
74
74
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright (c) 2019 The Polymer Project Authors. All rights reserved.
|
|
4
|
+
* This code may only be used under the BSD style license found at
|
|
5
|
+
* http://polymer.github.io/LICENSE.txt
|
|
6
|
+
* The complete set of authors may be found at
|
|
7
|
+
* http://polymer.github.io/AUTHORS.txt
|
|
8
|
+
* The complete set of contributors may be found at
|
|
9
|
+
* http://polymer.github.io/CONTRIBUTORS.txt
|
|
10
|
+
* Code distributed by Google as part of the polymer project is also
|
|
11
|
+
* subject to an additional IP rights grant found at
|
|
12
|
+
* http://polymer.github.io/PATENTS.txt
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import {LitElement, html, css} from 'lit';
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* An example element.
|
|
19
|
+
*
|
|
20
|
+
* @slot - This element has a slot
|
|
21
|
+
* @csspart button - The button
|
|
22
|
+
*/
|
|
23
|
+
export class PdLabelValue extends LitElement {
|
|
24
|
+
|
|
25
|
+
static get styles() {
|
|
26
|
+
return css`
|
|
27
|
+
:host {
|
|
28
|
+
|
|
29
|
+
--my-label-color: var(--squi-background-color, #24a3b9);
|
|
30
|
+
--my-label-font: var(--squi-background-color, #24a3b9);
|
|
31
|
+
|
|
32
|
+
--my-value-color: var(--squi-background-hover-color, #23636e);
|
|
33
|
+
--my-value-font: var(--squi-background-hover-color, #23636e);
|
|
34
|
+
|
|
35
|
+
display: block;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.container {
|
|
39
|
+
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.label {
|
|
43
|
+
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.value {
|
|
47
|
+
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
`;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
label: {type: String},
|
|
56
|
+
value: {type: String}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor() {
|
|
61
|
+
super();
|
|
62
|
+
this.label = '';
|
|
63
|
+
this.value = '';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
render() {
|
|
67
|
+
return html`
|
|
68
|
+
<div class="container">
|
|
69
|
+
<span class="label">${this.label}</span>
|
|
70
|
+
<span class="value">${this.value}</span>
|
|
71
|
+
</div>
|
|
72
|
+
`;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
}
|
|
@@ -13,7 +13,7 @@ import { SharedInputStyles } from './shared-input-styles.js';
|
|
|
13
13
|
* @slot - This element has a slot
|
|
14
14
|
* @csspart button - The button
|
|
15
15
|
*/
|
|
16
|
-
export class
|
|
16
|
+
export class PdRadioGroup extends LitElement {
|
|
17
17
|
|
|
18
18
|
static get styles() {
|
|
19
19
|
return [
|
|
@@ -52,7 +52,7 @@ export class SquiRadioGroup extends LitElement {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
get value() {
|
|
55
|
-
const elColl = this.getElementsByTagName('
|
|
55
|
+
const elColl = this.getElementsByTagName('pd-checkbox');
|
|
56
56
|
let returnVal;
|
|
57
57
|
Object.keys(elColl).forEach(keyValue => {
|
|
58
58
|
if (elColl[keyValue].value === 'true') {
|
|
@@ -66,7 +66,7 @@ export class SquiRadioGroup extends LitElement {
|
|
|
66
66
|
|
|
67
67
|
// add event listener
|
|
68
68
|
this.addEventListener('checkbox-changed', (e) => {
|
|
69
|
-
const elCollection = this.getElementsByTagName('
|
|
69
|
+
const elCollection = this.getElementsByTagName('pd-checkbox');
|
|
70
70
|
Object.keys(elCollection).forEach(keyValue => {
|
|
71
71
|
if (elCollection[keyValue] !== e.target) {
|
|
72
72
|
elCollection[keyValue].value = false;
|
|
@@ -78,7 +78,7 @@ export class SquiRadioGroup extends LitElement {
|
|
|
78
78
|
});
|
|
79
79
|
|
|
80
80
|
// set default
|
|
81
|
-
const elColl = this.getElementsByTagName('
|
|
81
|
+
const elColl = this.getElementsByTagName('pd-checkbox');
|
|
82
82
|
Object.keys(elColl).forEach(keyValue => {
|
|
83
83
|
elColl[keyValue].readonly = elColl[keyValue].value === 'true';
|
|
84
84
|
});
|
|
@@ -7,7 +7,7 @@ import { html, css } from 'lit';
|
|
|
7
7
|
import { classMap } from 'lit/directives/class-map.js';
|
|
8
8
|
import { SharedInputStyles } from './shared-input-styles.js';
|
|
9
9
|
|
|
10
|
-
import {
|
|
10
|
+
import { PdBaseUIInput, INPUT_TYPE_SELECT } from './PdBaseUiInput.js';
|
|
11
11
|
|
|
12
12
|
import '@progressive-development/pd-icon/pd-icon.js';
|
|
13
13
|
|
|
@@ -39,17 +39,17 @@ import '@progressive-development/pd-icon/pd-icon.js';
|
|
|
39
39
|
*
|
|
40
40
|
* The icon inside `squi-input` is hidden by default. To show it, set the attribute `icon-right` or `icon-left`.
|
|
41
41
|
*
|
|
42
|
-
* <
|
|
43
|
-
* <
|
|
42
|
+
* <pd-input icon-left></pd-input>
|
|
43
|
+
* <pd-input icon-right></pd-input>
|
|
44
44
|
*
|
|
45
|
-
* <
|
|
45
|
+
* <pd-input icon-left .icon="${'hardware:headset'}"></pd-input>
|
|
46
46
|
*
|
|
47
47
|
* Text can be left or right aligned. Default is left alignment.
|
|
48
48
|
*
|
|
49
|
-
* <
|
|
50
|
-
* <
|
|
49
|
+
* <pd-input text-right></pd-input>
|
|
50
|
+
* <pd-input text-left></pd-input>
|
|
51
51
|
*/
|
|
52
|
-
export class
|
|
52
|
+
export class PdSelect extends PdBaseUIInput {
|
|
53
53
|
/**
|
|
54
54
|
* Fired when `squi-input` has focus and the user press `Enter` key.
|
|
55
55
|
* @event enter-pressed
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import '../pd-button.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'PdForms/Button',
|
|
6
|
+
component: 'pd-button',
|
|
7
|
+
argTypes: {},
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
function ButtonTemplate() {
|
|
11
|
+
return html` <pd-button text="My Button"></pd-button> `;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const Button = ButtonTemplate.bind({});
|
|
15
|
+
Button.args = {};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import '../pd-checkbox.js';
|
|
3
|
+
|
|
4
|
+
export default {
|
|
5
|
+
title: 'PdForms/Checkbox',
|
|
6
|
+
component: 'pd-checkbox',
|
|
7
|
+
parameters: {
|
|
8
|
+
actions: {
|
|
9
|
+
handles: ['checkbox-changed'],
|
|
10
|
+
},
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
function Template({ errorMsg }) {
|
|
15
|
+
return html`
|
|
16
|
+
<h3>Checkbox selected</h3>
|
|
17
|
+
<pd-checkbox name="Test1" value="true" errorMsg="${errorMsg}"
|
|
18
|
+
>Label zur Checkbox</pd-checkbox
|
|
19
|
+
>
|
|
20
|
+
|
|
21
|
+
<h3>Checkbox unselected</h3>
|
|
22
|
+
<pd-checkbox name="Test2" value="false" errorMsg="${errorMsg}"
|
|
23
|
+
>Label zur Checkbox</pd-checkbox
|
|
24
|
+
>
|
|
25
|
+
`;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
function SwitchTemplate({ errorMsg }) {
|
|
29
|
+
return html`
|
|
30
|
+
<h3>Switch selected</h3>
|
|
31
|
+
<pd-checkbox name="Test1" isSwitch value="true" errorMsg="${errorMsg}"
|
|
32
|
+
>Label zur Checkbox</pd-checkbox
|
|
33
|
+
>
|
|
34
|
+
|
|
35
|
+
<h3>Switch unselected</h3>
|
|
36
|
+
<pd-checkbox name="Test2" isSwitch value="false" errorMsg="${errorMsg}"
|
|
37
|
+
>Label zur Checkbox</pd-checkbox
|
|
38
|
+
>
|
|
39
|
+
`;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export const Checkbox = Template.bind({});
|
|
43
|
+
Checkbox.args = {
|
|
44
|
+
errorMsg: '',
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export const Switch = SwitchTemplate.bind({});
|
|
48
|
+
Switch.args = {
|
|
49
|
+
errorMsg: '',
|
|
50
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { html } from 'lit';
|
|
2
|
+
import '../pd-form-container.js';
|
|
3
|
+
import '../pd-form-row.js';
|
|
4
|
+
import '../pd-input.js';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'PdForms/Form Container',
|
|
8
|
+
component: 'pd-form-container',
|
|
9
|
+
argTypes: {},
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
function Template() {
|
|
13
|
+
return html`
|
|
14
|
+
<h3>Mit Forms</h3>
|
|
15
|
+
<pd-form-container>
|
|
16
|
+
<pd-form-row>
|
|
17
|
+
<pd-input class="quarter2" id="test1Id" label="Label 1"></pd-input>
|
|
18
|
+
<pd-input class="quarter2" id="test2Id" label="Label 2"></pd-input>
|
|
19
|
+
</pd-form-row>
|
|
20
|
+
<pd-form-row>
|
|
21
|
+
<pd-input class="quarter4" id="test3Id" label="Label 3"></pd-input>
|
|
22
|
+
</pd-form-row>
|
|
23
|
+
<pd-form-row>
|
|
24
|
+
<pd-input class="quarter3" id="test4Id" label="Label 4"></pd-input>
|
|
25
|
+
</pd-form-row>
|
|
26
|
+
<pd-form-row>
|
|
27
|
+
<pd-input class="quarter1" id="test5Id" label="Label 5"></pd-input>
|
|
28
|
+
<pd-input class="quarter1" id="test6Id" label="Label 6"></pd-input>
|
|
29
|
+
<pd-input class="quarter1" id="test7Id" label="Label 7"></pd-input>
|
|
30
|
+
<pd-input class="quarter1" id="test8Id" label="Label 8"></pd-input>
|
|
31
|
+
</pd-form-row>
|
|
32
|
+
<pd-form-row>
|
|
33
|
+
<pd-input class="quarter3" id="test9Id" label="Label 5"></pd-input>
|
|
34
|
+
<pd-input class="quarter1" id="test10Id" label="Label 6"></pd-input>
|
|
35
|
+
</pd-form-row>
|
|
36
|
+
<pd-form-row>
|
|
37
|
+
<pd-input class="quarter1" id="test11Id" label="Label 5"></pd-input>
|
|
38
|
+
<pd-input class="quarter3" id="test12Id" label="Label 6"></pd-input>
|
|
39
|
+
</pd-form-row>
|
|
40
|
+
<pd-form-row>
|
|
41
|
+
<pd-input class="quarter1" id="test13Id" label="Label 5"></pd-input>
|
|
42
|
+
<pd-input class="quarter1" id="test14Id" label="Label 5"></pd-input>
|
|
43
|
+
<pd-input class="quarter2" id="test15Id" label="Label 6"></pd-input>
|
|
44
|
+
</pd-form-row>
|
|
45
|
+
</pd-form-container>
|
|
46
|
+
`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const FormContainer = Template.bind({});
|
|
50
|
+
FormContainer.args = {};
|