@otto-de/b2b-core-components 1.37.0 → 1.37.1

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.
Files changed (49) hide show
  1. package/dist/collection/components/alert/alert.stories.js +5 -5
  2. package/dist/collection/components/anchor/anchor.stories.js +6 -6
  3. package/dist/collection/components/background-box/background-box.stories.js +6 -6
  4. package/dist/collection/components/breadcrumb/breadcrumb.stories.js +3 -5
  5. package/dist/collection/components/button/button.stories.js +41 -41
  6. package/dist/collection/components/card/card.stories.js +1 -1
  7. package/dist/collection/components/checkbox/checkbox.stories.js +9 -9
  8. package/dist/collection/components/checkbox-group/checkbox-group.stories.js +9 -9
  9. package/dist/collection/components/chip/chip.stories.js +13 -13
  10. package/dist/collection/components/custom-dropdown/custom-dropdown.stories.js +47 -47
  11. package/dist/collection/components/date-picker/date-picker.stories.js +2 -2
  12. package/dist/collection/components/dropdown/dropdown.stories.js +9 -9
  13. package/dist/collection/components/flyout-menu/flyout-menu.stories.js +4 -4
  14. package/dist/collection/components/grid/grid.stories.js +38 -38
  15. package/dist/collection/components/headline/headline.stories.js +1 -4
  16. package/dist/collection/components/icon/icon.stories.js +5 -8
  17. package/dist/collection/components/icon-100/icon-100.stories.js +11 -11
  18. package/dist/collection/components/icon-50/icon-50.stories.js +9 -9
  19. package/dist/collection/components/input/input.stories.js +44 -44
  20. package/dist/collection/components/input-group/input-group.stories.js +4 -4
  21. package/dist/collection/components/input-list/input-list.stories.js +13 -13
  22. package/dist/collection/components/label/label.stories.js +1 -1
  23. package/dist/collection/components/modal/modal.stories.js +5 -5
  24. package/dist/collection/components/pagination/pagination.stories.js +2 -2
  25. package/dist/collection/components/paragraph/paragraph.stories.js +18 -18
  26. package/dist/collection/components/progress-bar/progress-bar.stories.js +4 -4
  27. package/dist/collection/components/radio/radio.stories.js +9 -9
  28. package/dist/collection/components/radio-group/radio-group.stories.js +10 -10
  29. package/dist/collection/components/required-separator/required-separator.stories.js +1 -1
  30. package/dist/collection/components/rounded-icon/rounded-icon.stories.js +3 -3
  31. package/dist/collection/components/search/search.stories.js +2 -2
  32. package/dist/collection/components/separator/separator.stories.js +2 -2
  33. package/dist/collection/components/shimmer/shimmer.js +1 -1
  34. package/dist/collection/components/shimmer/shimmer.stories.js +4 -4
  35. package/dist/collection/components/snackbar/snackbar.stories.js +8 -8
  36. package/dist/collection/components/spinner/spinner.stories.js +1 -1
  37. package/dist/collection/components/tab-group/tab-group.stories.js +1 -1
  38. package/dist/collection/components/table/table.stories.js +35 -35
  39. package/dist/collection/components/textarea/textarea.stories.js +12 -12
  40. package/dist/collection/components/toggle-group/toggle-group.stories.js +6 -6
  41. package/dist/collection/components/toggle-switch/toggle-switch.stories.js +4 -4
  42. package/dist/collection/components/tooltip/tooltip.stories.js +8 -8
  43. package/dist/collection/components/wizard/wizard.stories.js +6 -6
  44. package/dist/collection/components/wizard-icon/wizard-icon.stories.js +1 -1
  45. package/dist/custom-elements.json +1 -1
  46. package/dist/types/components/shimmer/shimmer.d.ts +1 -1
  47. package/dist/types/components.d.ts +2 -2
  48. package/dist/web-types.json +2 -2
  49. package/package.json +2 -2
@@ -33,13 +33,13 @@ export const story010Grid = {
33
33
  },
34
34
  render: (_a) => {
35
35
  var args = __rest(_a, []);
36
- return html ` <b2b-grid margin="${args.margin}">
36
+ return html ` <b2b-grid margin=${args.margin}>
37
37
  <b2b-grid-row
38
- justify="${args.justify}"
39
- row-gap="${args.rowGap}"
40
- column-gap="${args.columnGap}">
41
- <b2b-grid-col span="6" text-align="${args.textAlign}"
42
- ><div style="${gridBoxStyles}">
38
+ justify=${args.justify}
39
+ row-gap=${args.rowGap}
40
+ column-gap=${args.columnGap}>
41
+ <b2b-grid-col span="6" text-align=${args.textAlign}
42
+ ><div style=${gridBoxStyles}>
43
43
  <h4>Column 1-6 of 12</h4>
44
44
  <p>
45
45
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
@@ -53,25 +53,25 @@ export const story010Grid = {
53
53
  </div></b2b-grid-col
54
54
  >
55
55
  <b2b-grid-col
56
- ><div style="${gridBoxStyles}">
56
+ ><div style=${gridBoxStyles}>
57
57
  <h4>Column 7 of 12</h4>
58
58
  <p>I grow to fill up all available space</p>
59
59
  </div></b2b-grid-col
60
60
  >
61
61
  <b2b-grid-col
62
- ><div style="${gridBoxStyles}">
62
+ ><div style=${gridBoxStyles}>
63
63
  <h4>Column 8 of 12</h4>
64
64
  <p>I grow to fill up all available space</p>
65
65
  </div></b2b-grid-col
66
66
  >
67
67
  <b2b-grid-col
68
- ><div style="${gridBoxStyles}">
68
+ ><div style=${gridBoxStyles}>
69
69
  <h4>Column 9 of 12</h4>
70
70
  <p>I grow to fill up all available space</p>
71
71
  </div></b2b-grid-col
72
72
  >
73
73
  <b2b-grid-col span="3"
74
- ><div style="${gridBoxStyles}">
74
+ ><div style=${gridBoxStyles}>
75
75
  <h4>Column 10-12 of 12</h4>
76
76
  <p>Resize me by changing the span attribute in the args table.</p>
77
77
  </div></b2b-grid-col
@@ -94,37 +94,37 @@ export const story020AlignItems = {
94
94
  var args = __rest(_a, []);
95
95
  return html `<b2b-grid
96
96
  ><b2b-grid-row
97
- align-items="${args.alignItems}"
98
- justify="${args.justify}"
99
- row-gap="${args.rowGap}"
100
- column-gap="${args.columnGap}">
97
+ align-items=${args.alignItems}
98
+ justify=${args.justify}
99
+ row-gap=${args.rowGap}
100
+ column-gap=${args.columnGap}>
101
101
  <b2b-grid-col span="2"
102
- ><div style="${gridBoxSmallStyles}">
102
+ ><div style=${gridBoxSmallStyles}>
103
103
  <h4>Column 1-2 of 12</h4>
104
104
  </div></b2b-grid-col
105
105
  >
106
106
  <b2b-grid-col span="2"
107
- ><div style="${gridBoxStyles}">
107
+ ><div style=${gridBoxStyles}>
108
108
  <h4>Column 3-4 of 12</h4>
109
109
  </div></b2b-grid-col
110
110
  >
111
111
  <b2b-grid-col span="2"
112
- ><div style="${gridBoxSmallStyles}">
112
+ ><div style=${gridBoxSmallStyles}>
113
113
  <h4>Column 5-6 of 12</h4>
114
114
  </div></b2b-grid-col
115
115
  >
116
116
  <b2b-grid-col span="2"
117
- ><div style="${gridBoxStyles}">
117
+ ><div style=${gridBoxStyles}>
118
118
  <h4>Column 7-8 of 12</h4>
119
119
  </div></b2b-grid-col
120
120
  >
121
121
  <b2b-grid-col span="2"
122
- ><div style="${gridBoxSmallStyles}">
122
+ ><div style=${gridBoxSmallStyles}>
123
123
  <h4>Column 9-10 of 12</h4>
124
124
  </div></b2b-grid-col
125
125
  >
126
126
  <b2b-grid-col span="2"
127
- ><div style="${gridBoxStyles}">
127
+ ><div style=${gridBoxStyles}>
128
128
  <h4>Column 11-12 of 12</h4>
129
129
  </div></b2b-grid-col
130
130
  >
@@ -144,13 +144,13 @@ export const story030TextAlign = {
144
144
  },
145
145
  render: (_a) => {
146
146
  var args = __rest(_a, []);
147
- return html `<b2b-grid margin="${args.margin}">
147
+ return html `<b2b-grid margin=${args.margin}>
148
148
  <b2b-grid-row
149
- justify="${args.justify}"
150
- row-gap="${args.rowGap}"
151
- column-gap="${args.columnGap}">
152
- <b2b-grid-col span="6" text-align="${args.textAlign}"
153
- ><div style="${gridBoxStyles}">
149
+ justify=${args.justify}
150
+ row-gap=${args.rowGap}
151
+ column-gap=${args.columnGap}>
152
+ <b2b-grid-col span="6" text-align=${args.textAlign}
153
+ ><div style=${gridBoxStyles}>
154
154
  <h4>Column 1-6 of 12</h4>
155
155
  <p>
156
156
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
@@ -164,17 +164,17 @@ export const story030TextAlign = {
164
164
  </div></b2b-grid-col
165
165
  >
166
166
  <b2b-grid-col span="2"
167
- ><div style="${gridBoxStyles}">
167
+ ><div style=${gridBoxStyles}>
168
168
  <h4>Column 7-8 of 12</h4>
169
169
  </div></b2b-grid-col
170
170
  >
171
171
  <b2b-grid-col span="2"
172
- ><div style="${gridBoxStyles}">
172
+ ><div style=${gridBoxStyles}>
173
173
  <h4>Column 9-10 of 12</h4>
174
174
  </div></b2b-grid-col
175
175
  >
176
176
  <b2b-grid-col span="2"
177
- ><div style="${gridBoxStyles}">
177
+ ><div style=${gridBoxStyles}>
178
178
  <h4>Column 11-12 of 12</h4>
179
179
  </div></b2b-grid-col
180
180
  ></b2b-grid-row
@@ -194,13 +194,13 @@ export const story040Justify = {
194
194
  },
195
195
  render: (_a) => {
196
196
  var args = __rest(_a, []);
197
- return html `<b2b-grid margin="${args.margin}">
197
+ return html `<b2b-grid margin=${args.margin}>
198
198
  <b2b-grid-row
199
- justify="${args.justify}"
200
- row-gap="${args.rowGap}"
201
- column-gap="${args.columnGap}">
202
- <b2b-grid-col span="6" text-align="${args.textAlign}"
203
- ><div style="${gridBoxStyles}">
199
+ justify=${args.justify}
200
+ row-gap=${args.rowGap}
201
+ column-gap=${args.columnGap}>
202
+ <b2b-grid-col span="6" text-align=${args.textAlign}
203
+ ><div style=${gridBoxStyles}>
204
204
  <h4>Column 1-6 of 12</h4>
205
205
  <p>
206
206
  Lorem ipsum dolor sit amet, consectetur adipiscing elit.
@@ -214,17 +214,17 @@ export const story040Justify = {
214
214
  </div></b2b-grid-col
215
215
  >
216
216
  <b2b-grid-col span="2"
217
- ><div style="${gridBoxStyles}">
217
+ ><div style=${gridBoxStyles}>
218
218
  <h4>Column 7-8 of 12</h4>
219
219
  </div></b2b-grid-col
220
220
  >
221
221
  <b2b-grid-col span="2"
222
- ><div style="${gridBoxStyles}">
222
+ ><div style=${gridBoxStyles}>
223
223
  <h4>Column 9-10 of 12</h4>
224
224
  </div></b2b-grid-col
225
225
  >
226
226
  <b2b-grid-col span="2"
227
- ><div style="${gridBoxStyles}">
227
+ ><div style=${gridBoxStyles}>
228
228
  <h4>Column 11-12 of 12</h4>
229
229
  </div></b2b-grid-col
230
230
  ></b2b-grid-row
@@ -1,10 +1,7 @@
1
1
  import { html } from "lit-html";
2
2
  import { getArgTypes } from "../../docs/config/utils";
3
3
  const template = ({ size, align, slot, noMargin }) => {
4
- return html `<b2b-headline
5
- size="${size}"
6
- align="${align}"
7
- no-margin="${noMargin}">
4
+ return html `<b2b-headline size=${size} align=${align} no-margin=${noMargin}>
8
5
  ${slot}
9
6
  </b2b-headline>`;
10
7
  };
@@ -3,10 +3,7 @@ import { getArgTypes } from "../../docs/config/utils";
3
3
  import { iconTypes } from "./types";
4
4
  import "./../../global/icon.stories.scss";
5
5
  const Template = ({ icon, color, variant }) => {
6
- return html `<b2b-icon
7
- icon="${icon}"
8
- color="${color}"
9
- variant="${variant}" />`;
6
+ return html `<b2b-icon icon=${icon} color=${color} variant=${variant} />`;
10
7
  };
11
8
  const defaultArgs = {
12
9
  icon: 'b2b_icon-edit',
@@ -29,7 +26,7 @@ story030Inverse.parameters = {
29
26
  };
30
27
  export const story035Inherit = ({ icon, color, variant }) => {
31
28
  return html ` <div style="color: red;">
32
- <b2b-icon icon="${icon}" color="${color}" variant="${variant}" />
29
+ <b2b-icon icon=${icon} color=${color} variant=${variant} />
33
30
  </div>`;
34
31
  };
35
32
  story035Inherit.args = Object.assign(Object.assign({}, defaultArgs), { color: 'inherit' });
@@ -46,9 +43,9 @@ export const story070AllIcons = ({ color, variant }) => {
46
43
  return html `
47
44
  <div class="icon-container">
48
45
  <b2b-icon
49
- icon="${icon}"
50
- color="${color || defaultArgs.color}"
51
- variant="${variant || 100}"></b2b-icon>
46
+ icon=${icon}
47
+ color=${color || defaultArgs.color}
48
+ variant=${variant || 100}></b2b-icon>
52
49
  <p>${icon}</p>
53
50
  </div>
54
51
  `;
@@ -33,11 +33,11 @@ const meta = {
33
33
  render: (_a) => {
34
34
  var args = __rest(_a, []);
35
35
  return html `<b2b-icon-100
36
- icon="${args.icon}"
37
- color="${args.color}"
38
- size="${args.size}"
39
- clickable="${args.clickable}"
40
- focusable="${args.focusable}"></b2b-icon-100>`;
36
+ icon=${args.icon}
37
+ color=${args.color}
38
+ size=${args.size}
39
+ clickable=${args.clickable}
40
+ focusable=${args.focusable}></b2b-icon-100>`;
41
41
  },
42
42
  };
43
43
  export default meta;
@@ -62,11 +62,11 @@ export const Inherit = {
62
62
  render: ({ icon, color, size, clickable, focusable }) => {
63
63
  return html ` <div style="color: red;">
64
64
  <b2b-icon-100
65
- icon="${icon}"
66
- color="${color}"
67
- size="${size}"
68
- clickable="${clickable}"
69
- focusable="${focusable}">
65
+ icon=${icon}
66
+ color=${color}
67
+ size=${size}
68
+ clickable=${clickable}
69
+ focusable=${focusable}>
70
70
  </b2b-icon-100>
71
71
  </div>`;
72
72
  },
@@ -75,7 +75,7 @@ export const Inherit = {
75
75
  const renderAllIcons = () => {
76
76
  const icons = iconTypes.map(icon => {
77
77
  return html ` <div class="icon-container">
78
- <b2b-icon-100 icon="${icon}"></b2b-icon-100>
78
+ <b2b-icon-100 icon=${icon}></b2b-icon-100>
79
79
  <p>${icon}</p>
80
80
  </div>`;
81
81
  });
@@ -32,10 +32,10 @@ const meta = {
32
32
  render: (_a) => {
33
33
  var args = __rest(_a, []);
34
34
  return html `<b2b-icon-50
35
- icon="${args.icon}"
36
- color="${args.color}"
37
- clickable="${args.clickable}"
38
- focusable="${args.focusable}"></b2b-icon-50>`;
35
+ icon=${args.icon}
36
+ color=${args.color}
37
+ clickable=${args.clickable}
38
+ focusable=${args.focusable}></b2b-icon-50>`;
39
39
  },
40
40
  };
41
41
  export default meta;
@@ -57,10 +57,10 @@ export const Inherit = {
57
57
  render: ({ icon, color, clickable, focusable }) => {
58
58
  return html ` <div style="color: red;">
59
59
  <b2b-icon-50
60
- icon="${icon}"
61
- color="${color}"
62
- clickable="${clickable}"
63
- focusable="${focusable}">
60
+ icon=${icon}
61
+ color=${color}
62
+ clickable=${clickable}
63
+ focusable=${focusable}>
64
64
  </b2b-icon-50>
65
65
  </div>`;
66
66
  },
@@ -69,7 +69,7 @@ export const Inherit = {
69
69
  const renderAllIcons = () => {
70
70
  const icons = iconTypes.map(icon => {
71
71
  return html ` <div class="icon-container">
72
- <b2b-icon-50 icon="${icon}"></b2b-icon-50>
72
+ <b2b-icon-50 icon=${icon}></b2b-icon-50>
73
73
  <p>${icon}</p>
74
74
  </div>`;
75
75
  });
@@ -33,17 +33,17 @@ const meta = {
33
33
  var args = __rest(_a, []);
34
34
  return html `<div style="width: 400px;">
35
35
  <b2b-input
36
- label="${args.label}"
37
- required="${args.required}"
38
- type="${args.defaultType}"
39
- disabled="${args.disabled}"
40
- placeholder="${args.placeholder}"
41
- value="${args.value}"
42
- hint="${args.hint}"
43
- error="${args.error}"
44
- autofocus="${args.autofocus}"
36
+ label=${args.label}
37
+ required=${args.required}
38
+ type=${args.defaultType}
39
+ disabled=${args.disabled}
40
+ placeholder=${args.placeholder}
41
+ value=${args.value}
42
+ hint=${args.hint}
43
+ error=${args.error}
44
+ autofocus=${args.autofocus}
45
45
  invalid=${args.invalid}
46
- input-text-align="${args.inputTextAlign}"></b2b-input>
46
+ input-text-align=${args.inputTextAlign}></b2b-input>
47
47
  </div>`;
48
48
  },
49
49
  };
@@ -72,15 +72,15 @@ export const Prefix = {
72
72
  var args = __rest(_a, []);
73
73
  return html `<div style="width: 400px;">
74
74
  <b2b-input
75
- label="${args.label}"
76
- required="${args.required}"
77
- type="${args.type}"
78
- disabled="${args.disabled}"
79
- placeholder="${args.placeholder}"
80
- value="${args.value}"
81
- hint="${args.hint}"
82
- error="${args.error}"
83
- autofocus="${args.autofocus}"
75
+ label=${args.label}
76
+ required=${args.required}
77
+ type=${args.type}
78
+ disabled=${args.disabled}
79
+ placeholder=${args.placeholder}
80
+ value=${args.value}
81
+ hint=${args.hint}
82
+ error=${args.error}
83
+ autofocus=${args.autofocus}
84
84
  invalid=${args.invalid}
85
85
  ><span slot="start">Registration Number</span></b2b-input
86
86
  >
@@ -114,15 +114,15 @@ export const PrefixAndSuffix = {
114
114
  var args = __rest(_a, []);
115
115
  return html `<div style="width: 400px;">
116
116
  <b2b-input
117
- label="${args.label}"
118
- required="${args.required}"
119
- type="${args.type}"
120
- disabled="${args.disabled}"
121
- placeholder="${args.placeholder}"
122
- value="${args.value}"
123
- hint="${args.hint}"
124
- error="${args.error}"
125
- autofocus="${args.autofocus}"
117
+ label=${args.label}
118
+ required=${args.required}
119
+ type=${args.type}
120
+ disabled=${args.disabled}
121
+ placeholder=${args.placeholder}
122
+ value=${args.value}
123
+ hint=${args.hint}
124
+ error=${args.error}
125
+ autofocus=${args.autofocus}
126
126
  invalid=${args.invalid}>
127
127
  <b2b-icon-100 icon="b2b_icon-search" slot="start"></b2b-icon-100
128
128
  ><span slot="end">Registration Number</span></b2b-input
@@ -136,14 +136,14 @@ export const Label = {
136
136
  var args = __rest(_a, []);
137
137
  return html `<div style="width: 400px;">
138
138
  <b2b-input
139
- required="${args.required}"
140
- type="${args.type}"
141
- disabled="${args.disabled}"
142
- placeholder="${args.placeholder}"
143
- value="${args.value}"
144
- hint="${args.hint}"
145
- error="${args.error}"
146
- autofocus="${args.autofocus}"
139
+ required=${args.required}
140
+ type=${args.type}
141
+ disabled=${args.disabled}
142
+ placeholder=${args.placeholder}
143
+ value=${args.value}
144
+ hint=${args.hint}
145
+ error=${args.error}
146
+ autofocus=${args.autofocus}
147
147
  invalid=${args.invalid}
148
148
  ><span slot="label">Custom label</span></b2b-input
149
149
  >
@@ -156,14 +156,14 @@ export const HintSlot = {
156
156
  var args = __rest(_a, []);
157
157
  return html `<div style="width: 400px;">
158
158
  <b2b-input
159
- label="${args.label}"
160
- required="${args.required}"
161
- type="${args.type}"
162
- disabled="${args.disabled}"
163
- placeholder="${args.placeholder}"
164
- value="${args.value}"
165
- error="${args.error}"
166
- autofocus="${args.autofocus}"
159
+ label=${args.label}
160
+ required=${args.required}
161
+ type=${args.type}
162
+ disabled=${args.disabled}
163
+ placeholder=${args.placeholder}
164
+ value=${args.value}
165
+ error=${args.error}
166
+ autofocus=${args.autofocus}
167
167
  invalid=${args.invalid}
168
168
  ><span slot="hint">Custom hint</span></b2b-input
169
169
  >
@@ -4,10 +4,10 @@ const Template = ({ invalid, disabled, error, hint, additionalSlot, }) => {
4
4
  return additionalSlot
5
5
  ? html ` <div style="width: 380px">
6
6
  <b2b-input-group
7
- invalid="${invalid}"
8
- disabled="${disabled}"
9
- error="${error}"
10
- hint="${hint}">
7
+ invalid=${invalid}
8
+ disabled=${disabled}
9
+ error=${error}
10
+ hint=${hint}>
11
11
  <b2b-input slot="start" label="Search Term"></b2b-input>
12
12
  <b2b-dropdown style="width: 90px;">
13
13
  <option value="one">€</option>
@@ -29,10 +29,10 @@ const meta = {
29
29
  return html `<div style="height: 130px; width: 300px">
30
30
  <b2b-input-list
31
31
  data-testid="element"
32
- label="${args.label}"
33
- required="${args.required}"
34
- placeholder="${args.placeholder}"
35
- disabled="${args.disabled}"
32
+ label=${args.label}
33
+ required=${args.required}
34
+ placeholder=${args.placeholder}
35
+ disabled=${args.disabled}
36
36
  .optionsList=${args.optionsList}></b2b-input-list>
37
37
  </div>`;
38
38
  },
@@ -60,10 +60,10 @@ export const CustomList = {
60
60
  return html `<div style="height: 130px; width: 300px">
61
61
  <b2b-input-list
62
62
  data-testid="element"
63
- label="${args.label}"
64
- required="${args.required}"
65
- placeholder="${args.placeholder}"
66
- disabled="${args.disabled}"
63
+ label=${args.label}
64
+ required=${args.required}
65
+ placeholder=${args.placeholder}
66
+ disabled=${args.disabled}
67
67
  .optionsList=${args.optionsList}
68
68
  ><ul>
69
69
  <li>Option 1</li>
@@ -90,11 +90,11 @@ export const disabledWithSelectedOption = {
90
90
  return html `<div style="height: 130px; width: 300px">
91
91
  <b2b-input-list
92
92
  data-testid="element"
93
- label="${args.label}"
94
- value="${args.optionsList[0]}"
95
- required="${args.required}"
96
- placeholder="${args.placeholder}"
97
- disabled="${args.disabled}"
93
+ label=${args.label}
94
+ value=${args.optionsList[0]}
95
+ required=${args.required}
96
+ placeholder=${args.placeholder}
97
+ disabled=${args.disabled}
98
98
  .optionsList=${args.optionsList}
99
99
  ><ul>
100
100
  <li>Option 1</li>
@@ -1,7 +1,7 @@
1
1
  import { html } from "lit-html";
2
2
  import { getArgTypes } from "../../docs/config/utils";
3
3
  const Template = ({ type }) => {
4
- return html `<b2b-label type="${type}">Label</b2b-label>`;
4
+ return html `<b2b-label type=${type}>Label</b2b-label>`;
5
5
  };
6
6
  const defaultArgs = {
7
7
  type: 'neutral',
@@ -22,11 +22,11 @@ const Template = ({ opened, variant, heading, backdropDismiss, escDismiss, conte
22
22
  <b2b-modal
23
23
  @b2b-close=${closeModal}
24
24
  id="modal"
25
- opened="${opened}"
26
- variant="${variant}"
27
- heading="${heading}"
28
- backdrop-dismiss="${backdropDismiss}"
29
- esc-dismiss="${escDismiss}">
25
+ opened=${opened}
26
+ variant=${variant}
27
+ heading=${heading}
28
+ backdrop-dismiss=${backdropDismiss}
29
+ esc-dismiss=${escDismiss}>
30
30
  <b2b-icon-100 slot="header-icon" icon="b2b_icon-info"></b2b-icon-100>
31
31
  <div>${content}</div>
32
32
  <b2b-paragraph slot="footer-left">* Left Slot</b2b-paragraph>
@@ -2,8 +2,8 @@ import { getArgTypes } from "../../docs/config/utils";
2
2
  import { html } from "lit-html";
3
3
  const Template = ({ totalPages, activePage }) => {
4
4
  return html `<b2b-pagination
5
- total-pages="${totalPages}"
6
- active-page="${activePage}"></b2b-pagination>`;
5
+ total-pages=${totalPages}
6
+ active-page=${activePage}></b2b-pagination>`;
7
7
  };
8
8
  const defaultArgs = {
9
9
  totalPages: 10,
@@ -28,12 +28,12 @@ const meta = {
28
28
  render: (_a) => {
29
29
  var args = __rest(_a, []);
30
30
  return html `<b2b-paragraph
31
- weight="${args.weight}"
32
- size="${args.size}"
33
- align="${args.align}"
34
- margin="${args.margin}"
35
- variant="${args.variant}"
36
- display="${args.display}">
31
+ weight=${args.weight}
32
+ size=${args.size}
33
+ align=${args.align}
34
+ margin=${args.margin}
35
+ variant=${args.variant}
36
+ display=${args.display}>
37
37
  Far far away, behind the word mountains, far from the countries Vokalia
38
38
  and Consonantia, there live the blind texts. Separated they live in
39
39
  Bookmarksgrove right at the coast of the Semantics, a large language
@@ -75,12 +75,12 @@ export const DisplayInline = {
75
75
  render: (_a) => {
76
76
  var args = __rest(_a, []);
77
77
  return html `<b2b-paragraph
78
- weight="${args.weight}"
79
- size="${args.size}"
80
- align="${args.align}"
81
- margin="${args.margin}"
82
- variant="${args.variant}"
83
- display="${args.display}">
78
+ weight=${args.weight}
79
+ size=${args.size}
80
+ align=${args.align}
81
+ margin=${args.margin}
82
+ variant=${args.variant}
83
+ display=${args.display}>
84
84
  Far far away, behind the word mountains, far from the countries Vokalia
85
85
  and Consonantia, there live the blind texts. Separated they live in
86
86
  Bookmarksgrove right at the coast of the Semantics, a large language
@@ -114,12 +114,12 @@ export const DisplayInlineBlock = {
114
114
  render: (_a) => {
115
115
  var args = __rest(_a, []);
116
116
  return html `<b2b-paragraph
117
- weight="${args.weight}"
118
- size="${args.size}"
119
- align="${args.align}"
120
- margin="${args.margin}"
121
- variant="${args.variant}"
122
- display="${args.display}">
117
+ weight=${args.weight}
118
+ size=${args.size}
119
+ align=${args.align}
120
+ margin=${args.margin}
121
+ variant=${args.variant}
122
+ display=${args.display}>
123
123
  Far far away, behind the word mountains, far from the countries Vokalia
124
124
  and Consonantia, there live the blind texts. Separated they live in
125
125
  Bookmarksgrove right at the coast of the Semantics, a large language
@@ -25,10 +25,10 @@ const meta = {
25
25
  render: (_a) => {
26
26
  var args = __rest(_a, []);
27
27
  return html `<b2b-progress-bar
28
- progress="${args.progress}"
29
- label="${args.label}"
30
- label-type="${args.labelType}"
31
- label-position="${args.labelPosition}" />`;
28
+ progress=${args.progress}
29
+ label=${args.label}
30
+ label-type=${args.labelType}
31
+ label-position=${args.labelPosition} />`;
32
32
  },
33
33
  };
34
34
  export default meta;
@@ -2,15 +2,15 @@ import { getArgTypes } from "../../docs/config/utils";
2
2
  import { html } from "lit-html";
3
3
  const Template = ({ label, required, name, checked, disabled, invalid, value, hint, error, }) => {
4
4
  return html ` <b2b-radio-button
5
- label="${label}"
6
- required="${required}"
7
- name="${name}"
8
- checked="${checked}"
9
- value="${value}"
10
- invalid="${invalid}"
11
- disabled="${disabled}"
12
- hint="${hint}"
13
- error="${error}"></b2b-radio-button>`;
5
+ label=${label}
6
+ required=${required}
7
+ name=${name}
8
+ checked=${checked}
9
+ value=${value}
10
+ invalid=${invalid}
11
+ disabled=${disabled}
12
+ hint=${hint}
13
+ error=${error}></b2b-radio-button>`;
14
14
  };
15
15
  const defaultArgs = {
16
16
  label: 'Single Radio Button Label',