@otto-de/b2b-core-components 1.24.0 → 1.26.0

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 (146) hide show
  1. package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
  2. package/dist/b2b-core-components/p-01a5c813.entry.js +1 -0
  3. package/dist/b2b-core-components/p-225e561a.entry.js +1 -0
  4. package/dist/b2b-core-components/p-4d96ee04.entry.js +1 -0
  5. package/dist/b2b-core-components/p-51dab4f2.entry.js +1 -0
  6. package/dist/b2b-core-components/p-5c576b32.entry.js +1 -0
  7. package/dist/b2b-core-components/p-9e3d9908.entry.js +1 -0
  8. package/dist/b2b-core-components/p-b9cc3f9f.entry.js +1 -0
  9. package/dist/b2b-core-components/p-e73552ea.entry.js +1 -0
  10. package/dist/cjs/b2b-background-box.cjs.entry.js +5 -5
  11. package/dist/cjs/b2b-core-components.cjs.js +1 -1
  12. package/dist/cjs/b2b-date-picker.cjs.entry.js +2 -1
  13. package/dist/cjs/b2b-dropdown.cjs.entry.js +12 -3
  14. package/dist/cjs/b2b-grid-row.cjs.entry.js +65 -11
  15. package/dist/cjs/b2b-input-group_2.cjs.entry.js +1 -1
  16. package/dist/cjs/b2b-input_2.cjs.entry.js +27 -6
  17. package/dist/cjs/b2b-multiselect-dropdown.cjs.entry.js +4 -4
  18. package/dist/cjs/b2b-snackbar.cjs.entry.js +5 -4
  19. package/dist/cjs/loader.cjs.js +1 -1
  20. package/dist/collection/components/alert/alert.css +2 -2
  21. package/dist/collection/components/alert/alert.stories.js +1 -2
  22. package/dist/collection/components/anchor/anchor.css +2 -2
  23. package/dist/collection/components/background-box/background-box.css +6 -6
  24. package/dist/collection/components/background-box/background-box.e2e.js +3 -3
  25. package/dist/collection/components/background-box/background-box.js +7 -7
  26. package/dist/collection/components/background-box/background-box.spec.js +3 -3
  27. package/dist/collection/components/background-box/background-box.stories.js +18 -18
  28. package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
  29. package/dist/collection/components/button/button.css +2 -2
  30. package/dist/collection/components/button/button.stories.js +79 -79
  31. package/dist/collection/components/card/card.css +2 -2
  32. package/dist/collection/components/checkbox/checkbox.css +2 -2
  33. package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
  34. package/dist/collection/components/chip/chip.css +2 -2
  35. package/dist/collection/components/chip/chip.stories.js +15 -15
  36. package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
  37. package/dist/collection/components/date-picker/date-picker-days.css +2 -2
  38. package/dist/collection/components/date-picker/date-picker-header.css +2 -2
  39. package/dist/collection/components/date-picker/date-picker-months.css +2 -2
  40. package/dist/collection/components/date-picker/date-picker-years.css +2 -2
  41. package/dist/collection/components/date-picker/date-picker.css +2 -2
  42. package/dist/collection/components/date-picker/date-picker.js +20 -1
  43. package/dist/collection/components/date-picker/date-picker.stories.js +4 -1
  44. package/dist/collection/components/dropdown/dropdown.css +4 -4
  45. package/dist/collection/components/dropdown/dropdown.js +47 -2
  46. package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
  47. package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
  48. package/dist/collection/components/flyout-menu/flyout-menu.stories.js +44 -44
  49. package/dist/collection/components/grid/grid.stories.js +151 -148
  50. package/dist/collection/components/grid/row.js +65 -11
  51. package/dist/collection/components/headline/headline.css +2 -2
  52. package/dist/collection/components/icon/icon.css +2 -2
  53. package/dist/collection/components/icon-100/icon-100.css +2 -2
  54. package/dist/collection/components/icon-100/icon-100.stories.js +5 -5
  55. package/dist/collection/components/icon-50/icon-50.css +2 -2
  56. package/dist/collection/components/icon-50/icon-50.stories.js +4 -4
  57. package/dist/collection/components/input/input.css +3 -3
  58. package/dist/collection/components/input/input.e2e.js +28 -0
  59. package/dist/collection/components/input/input.js +26 -5
  60. package/dist/collection/components/input/input.stories.js +75 -55
  61. package/dist/collection/components/input-group/input-group.css +3 -3
  62. package/dist/collection/components/input-list/input-list.css +2 -2
  63. package/dist/collection/components/input-list/input-list.stories.js +50 -50
  64. package/dist/collection/components/label/label.css +2 -2
  65. package/dist/collection/components/modal/modal.css +2 -2
  66. package/dist/collection/components/modal/modal.stories.js +1 -1
  67. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
  68. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.js +4 -4
  69. package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.stories.js +19 -19
  70. package/dist/collection/components/pagination/pagination.css +2 -2
  71. package/dist/collection/components/paragraph/paragraph.css +2 -2
  72. package/dist/collection/components/paragraph/paragraph.stories.js +82 -78
  73. package/dist/collection/components/progress-bar/progress-bar.css +2 -2
  74. package/dist/collection/components/progress-bar/progress-bar.stories.js +4 -4
  75. package/dist/collection/components/radio/radio.css +2 -2
  76. package/dist/collection/components/radio-group/radio-group.css +2 -2
  77. package/dist/collection/components/required-separator/required-separator.css +2 -2
  78. package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
  79. package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
  80. package/dist/collection/components/separator/separator.css +2 -2
  81. package/dist/collection/components/shimmer/shimmer.css +2 -2
  82. package/dist/collection/components/snackbar/snackbar.css +2 -2
  83. package/dist/collection/components/snackbar/snackbar.js +22 -4
  84. package/dist/collection/components/snackbar/snackbar.stories.js +10 -2
  85. package/dist/collection/components/spinner/spinner.css +2 -2
  86. package/dist/collection/components/tab/tab.css +2 -2
  87. package/dist/collection/components/tab-panel/tab-panel.css +2 -2
  88. package/dist/collection/components/table/table-cell/table-cell.css +2 -2
  89. package/dist/collection/components/table/table-header/table-header.css +2 -2
  90. package/dist/collection/components/table/table-row/table-row.css +2 -2
  91. package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
  92. package/dist/collection/components/table/table.css +2 -2
  93. package/dist/collection/components/table/table.e2e.js +2 -1
  94. package/dist/collection/components/table/table.stories.js +157 -157
  95. package/dist/collection/components/textarea/textarea.css +2 -2
  96. package/dist/collection/components/toggle-button/toggle-button.css +2 -2
  97. package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
  98. package/dist/collection/components/toggle-chip/toggle-chip.stories.js +14 -2
  99. package/dist/collection/components/toggle-group/toggle-group.css +2 -2
  100. package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
  101. package/dist/collection/components/toggle-switch/toggle-switch.stories.js +4 -4
  102. package/dist/collection/components/tooltip/tooltip.css +2 -2
  103. package/dist/collection/components/wizard/wizard.css +2 -2
  104. package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
  105. package/dist/components/b2b-background-box.js +6 -6
  106. package/dist/components/b2b-date-picker.js +23 -15
  107. package/dist/components/b2b-dropdown.js +14 -3
  108. package/dist/components/b2b-grid-row.js +65 -11
  109. package/dist/components/b2b-multiselect-dropdown.js +4 -4
  110. package/dist/components/b2b-snackbar.js +7 -5
  111. package/dist/components/input-group.js +1 -1
  112. package/dist/components/input.js +27 -6
  113. package/dist/custom-elements.json +18 -2
  114. package/dist/esm/b2b-background-box.entry.js +5 -5
  115. package/dist/esm/b2b-core-components.js +1 -1
  116. package/dist/esm/b2b-date-picker.entry.js +2 -1
  117. package/dist/esm/b2b-dropdown.entry.js +12 -3
  118. package/dist/esm/b2b-grid-row.entry.js +65 -11
  119. package/dist/esm/b2b-input-group_2.entry.js +1 -1
  120. package/dist/esm/b2b-input_2.entry.js +27 -6
  121. package/dist/esm/b2b-multiselect-dropdown.entry.js +4 -4
  122. package/dist/esm/b2b-snackbar.entry.js +5 -4
  123. package/dist/esm/loader.js +1 -1
  124. package/dist/types/components/background-box/background-box.d.ts +2 -2
  125. package/dist/types/components/background-box/background-box.stories.d.ts +1 -1
  126. package/dist/types/components/button/button.stories.d.ts +2 -2
  127. package/dist/types/components/date-picker/date-picker.d.ts +2 -0
  128. package/dist/types/components/dropdown/dropdown.d.ts +4 -0
  129. package/dist/types/components/grid/row.d.ts +3 -0
  130. package/dist/types/components/icon/icon.stories.d.ts +3 -3
  131. package/dist/types/components/input/input.d.ts +4 -0
  132. package/dist/types/components/input/input.stories.d.ts +1 -0
  133. package/dist/types/components/snackbar/snackbar.d.ts +2 -0
  134. package/dist/types/components/snackbar/snackbar.stories.d.ts +1 -0
  135. package/dist/types/components/toggle-chip/toggle-chip.stories.d.ts +3 -2
  136. package/dist/types/components.d.ts +36 -4
  137. package/dist/web-types.json +42 -3
  138. package/package.json +21 -16
  139. package/dist/b2b-core-components/p-191b7d0b.entry.js +0 -1
  140. package/dist/b2b-core-components/p-2b5b4472.entry.js +0 -1
  141. package/dist/b2b-core-components/p-333969c9.entry.js +0 -1
  142. package/dist/b2b-core-components/p-339dd3ba.entry.js +0 -1
  143. package/dist/b2b-core-components/p-56293400.entry.js +0 -1
  144. package/dist/b2b-core-components/p-95d3519f.entry.js +0 -1
  145. package/dist/b2b-core-components/p-be5c3d5d.entry.js +0 -1
  146. package/dist/b2b-core-components/p-fdfdc92d.entry.js +0 -1
@@ -26,13 +26,13 @@ describe('B2B-Background-Box', () => {
26
26
  const style = await element.getComputedStyle();
27
27
  expect(style.padding).toBe('0px');
28
28
  });
29
- it('should set fixed width', async () => {
29
+ it('should set max width', async () => {
30
30
  page = await newE2EPage();
31
- await page.setContent(`<b2b-background-box fixed-width='true' no-padding='true'>Background box component</b2b-background-box>`);
31
+ await page.setContent(`<b2b-background-box max-width='true' no-padding='true'>Background box component</b2b-background-box>`);
32
32
  const element = await page.find('b2b-background-box');
33
33
  expect(element).toEqualText('Background box component');
34
34
  const style = await element.getComputedStyle();
35
- expect(style.width).toBe('1212px');
35
+ expect(style.maxWidth).toBe('1212px');
36
36
  });
37
37
  it('should remove specific borders when set to none', async () => {
38
38
  page = await newE2EPage();
@@ -1,7 +1,7 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class BackgroundBoxComponent {
3
3
  constructor() {
4
- this.fixedWidth = false;
4
+ this.maxWidth = false;
5
5
  this.noPadding = false;
6
6
  this.borderTop = 'default';
7
7
  this.borderRight = 'default';
@@ -9,15 +9,15 @@ export class BackgroundBoxComponent {
9
9
  this.borderLeft = 'default';
10
10
  }
11
11
  render() {
12
- return (h(Host, { key: '74f2133140f10daf4130d42400afe779b51328ba', class: {
12
+ return (h(Host, { key: '3f5519f808f26a88fde93a7f933b11c9b3f96992', class: {
13
13
  'b2b-background-box': true,
14
- 'b2b-background-box--fixed-width': this.fixedWidth,
14
+ 'b2b-background-box--max-width': this.maxWidth,
15
15
  'b2b-background-box--no-padding': this.noPadding,
16
16
  'b2b-background-box--hide-border-top': this.borderTop === 'none',
17
17
  'b2b-background-box--hide-border-right': this.borderRight === 'none',
18
18
  'b2b-background-box--hide-border-bottom': this.borderBottom === 'none',
19
19
  'b2b-background-box--hide-border-left': this.borderLeft === 'none',
20
- } }, h("slot", { key: '0762108f2b1305b4a158ea346ebb1f9ba17cb45b' })));
20
+ } }, h("slot", { key: '35bd80fb92b66ab216db1cf86ce7817a9087fe19' })));
21
21
  }
22
22
  static get is() { return "b2b-background-box"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class BackgroundBoxComponent {
33
33
  }
34
34
  static get properties() {
35
35
  return {
36
- "fixedWidth": {
36
+ "maxWidth": {
37
37
  "type": "boolean",
38
38
  "mutable": false,
39
39
  "complexType": {
@@ -45,9 +45,9 @@ export class BackgroundBoxComponent {
45
45
  "optional": false,
46
46
  "docs": {
47
47
  "tags": [],
48
- "text": "Fixes width to 1212px. Per default, it is false"
48
+ "text": "Sets max width to 1212px. Per default, it is false"
49
49
  },
50
- "attribute": "fixed-width",
50
+ "attribute": "max-width",
51
51
  "reflect": false,
52
52
  "defaultValue": "false"
53
53
  },
@@ -15,13 +15,13 @@ it('should render the background box with default values', async () => {
15
15
  </b2b-background-box>
16
16
  `);
17
17
  });
18
- it('should render the background box with fixed width', async () => {
18
+ it('should render the background box with max width', async () => {
19
19
  const page = await newSpecPage({
20
20
  components: [BackgroundBoxComponent],
21
- template: () => (h("b2b-background-box", { "fixed-width": true }, "B2B Background Box")),
21
+ template: () => (h("b2b-background-box", { "max-width": true }, "B2B Background Box")),
22
22
  });
23
23
  expect(page.root).toEqualHtml(`
24
- <b2b-background-box class="b2b-background-box b2b-background-box--fixed-width" fixed-width="">
24
+ <b2b-background-box class="b2b-background-box b2b-background-box--max-width" max-width="">
25
25
  <mock:shadow-root>
26
26
  <slot></slot>
27
27
  </mock:shadow-root>
@@ -16,7 +16,7 @@ const meta = {
16
16
  title: 'Components/Utilities/Background Box',
17
17
  component: 'b2b-background-box',
18
18
  args: {
19
- fixedWidth: false,
19
+ maxWidth: false,
20
20
  noPadding: false,
21
21
  borderTop: 'default',
22
22
  borderRight: 'default',
@@ -27,21 +27,21 @@ const meta = {
27
27
  render: (_a) => {
28
28
  var args = __rest(_a, []);
29
29
  return html ` <b2b-background-box
30
- fixed-width="${args.fixedWidth}"
31
- no-padding="${args.noPadding}"
32
- border-top="${args.borderTop}"
33
- border-right="${args.borderRight}"
34
- border-bottom="${args.borderBottom}"
35
- border-left="${args.borderLeft}">
36
- <b2b-paragraph>
37
- The BackgroundBox component adjusts its width and padding based on two
38
- properties: fixedWidth and noPadding. When fixedWidth is true, the box has
39
- a fixed width of 1212px; otherwise, it fills the available width. The
40
- noPadding property controls internal spacing—if true, no padding is
41
- applied; if false, a default padding of 24px (1.5rem) is added. The height
42
- of the box depends on its internal content.
43
- </b2b-paragraph>
44
- </b2b-background-box>`;
30
+ max-width="${args.maxWidth}"
31
+ no-padding="${args.noPadding}"
32
+ border-top="${args.borderTop}"
33
+ border-right="${args.borderRight}"
34
+ border-bottom="${args.borderBottom}"
35
+ border-left="${args.borderLeft}">
36
+ <b2b-paragraph>
37
+ The BackgroundBox component adjusts its width and padding based on two
38
+ properties: maxWidth and noPadding. When maxWidth is true, it fills the
39
+ available width until 1212px. The noPadding property controls internal
40
+ spacing—if true, no padding is applied; if false, a default padding of
41
+ 24px (1.5rem) is added. The height of the box depends on its internal
42
+ content.
43
+ </b2b-paragraph>
44
+ </b2b-background-box>`;
45
45
  },
46
46
  };
47
47
  export default meta;
@@ -51,8 +51,8 @@ export const Default = {
51
51
  export const BorderControl = {
52
52
  args: Object.assign(Object.assign({}, meta.args), { borderTop: 'none' }),
53
53
  };
54
- export const FixedWidth = {
55
- args: Object.assign(Object.assign({}, meta.args), { fixedWidth: true }),
54
+ export const MaxWidth = {
55
+ args: Object.assign(Object.assign({}, meta.args), { maxWidth: true }),
56
56
  };
57
57
  export const NoPadding = {
58
58
  args: Object.assign(Object.assign({}, meta.args), { noPadding: true }),
@@ -1,7 +1,7 @@
1
1
  @charset "UTF-8";
2
2
  /**
3
3
  * Do not edit directly
4
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
4
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
5
5
  */
6
6
  :root, :host {
7
7
  --b2b-size-200: 5rem; /* 80px */
@@ -124,7 +124,7 @@
124
124
  }
125
125
  /**
126
126
  * Do not edit directly
127
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
127
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
128
128
  */
129
129
  :root [data-theme="dark"] {
130
130
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -12,7 +12,7 @@ var __rest = (this && this.__rest) || function (s, e) {
12
12
  };
13
13
  import { html } from "lit-html";
14
14
  import { getArgTypes } from "../../docs/config/utils";
15
- const meta = {
15
+ const button = {
16
16
  title: 'Components/Interaction/Button',
17
17
  component: 'b2b-button',
18
18
  args: {
@@ -30,133 +30,133 @@ const meta = {
30
30
  render: (_a) => {
31
31
  var args = __rest(_a, []);
32
32
  return html `<b2b-button
33
- variant="${args.variant}"
34
- size="${args.size}"
35
- disabled="${args.disabled}"
36
- loading="${args.loading}"
37
- type="${args.type}">
38
- ${args.label}
39
- </b2b-button>`;
33
+ variant="${args.variant}"
34
+ size="${args.size}"
35
+ disabled="${args.disabled}"
36
+ loading="${args.loading}"
37
+ type="${args.type}">
38
+ ${args.label}
39
+ </b2b-button>`;
40
40
  },
41
41
  };
42
- export default meta;
42
+ export default button;
43
43
  export const Primary = {
44
- args: Object.assign(Object.assign({}, meta.args), { variant: 'primary', label: 'Primary' }),
44
+ args: Object.assign(Object.assign({}, button.args), { variant: 'primary', label: 'Primary' }),
45
45
  };
46
46
  export const Secondary = {
47
- args: Object.assign(Object.assign({}, meta.args), { label: 'Secondary' }),
47
+ args: Object.assign(Object.assign({}, button.args), { label: 'Secondary' }),
48
48
  };
49
49
  export const Loading = {
50
- args: Object.assign(Object.assign({}, meta.args), { loading: true, label: 'Loading' }),
50
+ args: Object.assign(Object.assign({}, button.args), { loading: true, label: 'Loading' }),
51
51
  };
52
52
  export const IconStart = {
53
- args: Object.assign(Object.assign({}, meta.args), { label: 'Icon Start' }),
53
+ args: Object.assign(Object.assign({}, button.args), { label: 'Icon Start' }),
54
54
  render: (_a) => {
55
55
  var args = __rest(_a, []);
56
56
  return html `<b2b-button
57
- variant="${args.variant}"
58
- size="${args.size}"
59
- disabled="${args.disabled}"
60
- loading="${args.loading}"
61
- type="${args.type}">
62
- <b2b-icon-100 slot="start" icon="b2b_icon-check"></b2b-icon-100>
63
- ${args.label}
64
- </b2b-button>`;
57
+ variant="${args.variant}"
58
+ size="${args.size}"
59
+ disabled="${args.disabled}"
60
+ loading="${args.loading}"
61
+ type="${args.type}">
62
+ <b2b-icon-100 slot="start" icon="b2b_icon-check"></b2b-icon-100>
63
+ ${args.label}
64
+ </b2b-button>`;
65
65
  },
66
66
  };
67
67
  export const IconEnd = {
68
- args: Object.assign(Object.assign({}, meta.args), { label: 'Icon End' }),
68
+ args: Object.assign(Object.assign({}, button.args), { label: 'Icon End' }),
69
69
  render: (_a) => {
70
70
  var args = __rest(_a, []);
71
71
  return html `<b2b-button
72
- variant="${args.variant}"
73
- size="${args.size}"
74
- disabled="${args.disabled}"
75
- loading="${args.loading}"
76
- type="${args.type}">
77
- ${args.label}
78
- <b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
79
- </b2b-button>`;
72
+ variant="${args.variant}"
73
+ size="${args.size}"
74
+ disabled="${args.disabled}"
75
+ loading="${args.loading}"
76
+ type="${args.type}">
77
+ ${args.label}
78
+ <b2b-icon-100 slot="end" icon="b2b_icon-check"></b2b-icon-100>
79
+ </b2b-button>`;
80
80
  },
81
81
  };
82
82
  export const PaliIcon = {
83
- args: Object.assign(Object.assign({}, meta.args), { label: 'Icon from PaLi' }),
83
+ args: Object.assign(Object.assign({}, button.args), { label: 'Icon from PaLi' }),
84
84
  render: (_a) => {
85
85
  var args = __rest(_a, []);
86
86
  return html `<b2b-button
87
- variant="${args.variant}"
88
- size="${args.size}"
89
- disabled="${args.disabled}"
90
- loading="${args.loading}"
91
- type="${args.type}">
92
- <i slot="start" class="obc_icon-info"></i>
93
- ${args.label}
94
- </b2b-button>`;
87
+ variant="${args.variant}"
88
+ size="${args.size}"
89
+ disabled="${args.disabled}"
90
+ loading="${args.loading}"
91
+ type="${args.type}">
92
+ <i slot="start" class="obc_icon-info"></i>
93
+ ${args.label}
94
+ </b2b-button>`;
95
95
  },
96
96
  };
97
97
  export const IconOnly = {
98
- args: Object.assign({}, meta.args),
98
+ args: Object.assign({}, button.args),
99
99
  render: (_a) => {
100
100
  var args = __rest(_a, []);
101
101
  return html `<b2b-button
102
- variant="${args.variant}"
103
- size="${args.size}"
104
- disabled="${args.disabled}"
105
- loading="${args.loading}"
106
- type="${args.type}">
107
- <b2b-icon-100 slot="end" icon="b2b_icon-search"></b2b-icon-100>
108
- </b2b-button>`;
102
+ variant="${args.variant}"
103
+ size="${args.size}"
104
+ disabled="${args.disabled}"
105
+ loading="${args.loading}"
106
+ type="${args.type}">
107
+ <b2b-icon-100 slot="end" icon="b2b_icon-search"></b2b-icon-100>
108
+ </b2b-button>`;
109
109
  },
110
110
  };
111
111
  export const Disabled = {
112
- args: Object.assign(Object.assign({}, meta.args), { disabled: true, label: 'Disabled' }),
112
+ args: Object.assign(Object.assign({}, button.args), { disabled: true, label: 'Disabled' }),
113
113
  };
114
114
  export const Anchor = {
115
- args: Object.assign({}, meta.args),
115
+ args: Object.assign({}, button.args),
116
116
  render: (_a) => {
117
117
  var args = __rest(_a, []);
118
118
  return html `<b2b-button
119
- variant="${args.variant}"
120
- size="${args.size}"
121
- disabled="${args.disabled}"
122
- loading="${args.loading}"
123
- href="www.otto.de"
124
- target="blank"
125
- type="${args.type}">
126
- Go to otto.de
127
- </b2b-button>`;
119
+ variant="${args.variant}"
120
+ size="${args.size}"
121
+ disabled="${args.disabled}"
122
+ loading="${args.loading}"
123
+ href="www.otto.de"
124
+ target="blank"
125
+ type="${args.type}">
126
+ Go to otto.de
127
+ </b2b-button>`;
128
128
  },
129
129
  };
130
130
  export const DisabledAnchor = {
131
- args: Object.assign(Object.assign({}, meta.args), { disabled: true }),
131
+ args: Object.assign(Object.assign({}, button.args), { disabled: true }),
132
132
  render: (_a) => {
133
133
  var args = __rest(_a, []);
134
134
  return html `<b2b-button
135
- variant="${args.variant}"
136
- size="${args.size}"
137
- disabled="${args.disabled}"
138
- loading="${args.loading}"
139
- href="www.otto.de"
140
- target="blank"
141
- type="${args.type}">
142
- Go to otto.de
143
- </b2b-button>`;
135
+ variant="${args.variant}"
136
+ size="${args.size}"
137
+ disabled="${args.disabled}"
138
+ loading="${args.loading}"
139
+ href="www.otto.de"
140
+ target="blank"
141
+ type="${args.type}">
142
+ Go to otto.de
143
+ </b2b-button>`;
144
144
  },
145
145
  };
146
146
  export const CustomWidth = {
147
- args: Object.assign(Object.assign({}, meta.args), { width: 'custom' }),
147
+ args: Object.assign(Object.assign({}, button.args), { width: 'custom' }),
148
148
  render: (_a) => {
149
149
  var args = __rest(_a, []);
150
150
  return html ` <b2b-button
151
- class="docs-button-obc-overwrite"
152
- style="width: 300px"
153
- variant="${args.variant}"
154
- size="${args.size}"
155
- width="${args.width}"
156
- disabled="${args.disabled}"
157
- loading="${args.loading}"
158
- type="${args.type}">
159
- 300px custom width
160
- </b2b-button>`;
151
+ class="docs-button-obc-overwrite"
152
+ style="width: 300px"
153
+ variant="${args.variant}"
154
+ size="${args.size}"
155
+ width="${args.width}"
156
+ disabled="${args.disabled}"
157
+ loading="${args.loading}"
158
+ type="${args.type}">
159
+ 300px custom width
160
+ </b2b-button>`;
161
161
  },
162
162
  };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -27,12 +27,12 @@ const meta = {
27
27
  render: (_a) => {
28
28
  var args = __rest(_a, []);
29
29
  return html `<b2b-chip-component
30
- label="${args.label}"
31
- type="${args.type}"
32
- label-style="${args.labelStyle}"
33
- disabled="${args.disabled}"
34
- value="${args.value}"
35
- has-close-button="${args.hasCloseButton}" />`;
30
+ label="${args.label}"
31
+ type="${args.type}"
32
+ label-style="${args.labelStyle}"
33
+ disabled="${args.disabled}"
34
+ value="${args.value}"
35
+ has-close-button="${args.hasCloseButton}" />`;
36
36
  },
37
37
  };
38
38
  export default meta;
@@ -54,15 +54,15 @@ export const story040WithTruncatedText = {
54
54
  render: (_a) => {
55
55
  var args = __rest(_a, []);
56
56
  return html `<div
57
- style="width: 170px; border: 1px solid grey; border-radius: 3px; padding: 6px;">
58
- <b2b-chip-component
59
- label="${args.label}"
60
- type="${args.type}"
61
- label-style="${args.labelStyle}"
62
- disabled="${args.disabled}"
63
- value="${args.value}"
64
- has-close-button="${args.hasCloseButton}" />
65
- </div>`;
57
+ style="width: 170px; border: 1px solid grey; border-radius: 3px; padding: 6px;">
58
+ <b2b-chip-component
59
+ label="${args.label}"
60
+ type="${args.type}"
61
+ label-style="${args.labelStyle}"
62
+ disabled="${args.disabled}"
63
+ value="${args.value}"
64
+ has-close-button="${args.hasCloseButton}" />
65
+ </div>`;
66
66
  },
67
67
  };
68
68
  export const story050SuccessChip = {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
3
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
4
4
  */
5
5
  :root, :host {
6
6
  --b2b-size-200: 5rem; /* 80px */
@@ -123,7 +123,7 @@
123
123
  }
124
124
  /**
125
125
  * Do not edit directly
126
- * Generated on Thu, 27 Feb 2025 06:22:03 GMT
126
+ * Generated on Thu, 20 Mar 2025 06:20:36 GMT
127
127
  */
128
128
  :root [data-theme="dark"] {
129
129
  --b2b-size-200: 5rem; /* 80px */