@otto-de/b2b-core-components 1.26.0 → 1.26.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.
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/p-c305ae21.entry.js +1 -0
- package/dist/cjs/b2b-grid-row.cjs.entry.js +14 -2
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/background-box/background-box.css +2 -2
- package/dist/collection/components/breadcrumb/breadcrumb.css +2 -2
- package/dist/collection/components/button/button.css +2 -2
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/checkbox/checkbox.css +2 -2
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/chip/chip.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-days.css +2 -2
- package/dist/collection/components/date-picker/date-picker-header.css +2 -2
- package/dist/collection/components/date-picker/date-picker-months.css +2 -2
- package/dist/collection/components/date-picker/date-picker-years.css +2 -2
- package/dist/collection/components/date-picker/date-picker.css +2 -2
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu-option.css +2 -2
- package/dist/collection/components/flyout-menu/flyout-menu.css +2 -2
- package/dist/collection/components/grid/row.js +14 -2
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon-100/icon-100.css +2 -2
- package/dist/collection/components/icon-50/icon-50.css +2 -2
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/multiselect-dropdown/multiselect-dropdown.css +2 -2
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/progress-bar/progress-bar.css +2 -2
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/shimmer/shimmer.css +2 -2
- package/dist/collection/components/snackbar/snackbar.css +2 -2
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-header/table-header.css +2 -2
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +2 -2
- package/dist/collection/components/table/table.css +2 -2
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-chip/toggle-chip.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-switch/toggle-switch.css +2 -2
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/components/b2b-grid-row.js +14 -2
- package/dist/esm/b2b-grid-row.entry.js +14 -2
- package/dist/types/components/grid/row.d.ts +1 -0
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/b2b-core-components/p-b9cc3f9f.entry.js +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Thu, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
3
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 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, 20 Mar 2025
|
|
126
|
+
* Generated on Thu, 20 Mar 2025 12:45:50 GMT
|
|
127
127
|
*/
|
|
128
128
|
:root [data-theme="dark"] {
|
|
129
129
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -51,6 +51,18 @@ const B2bGridRowComponent = /*@__PURE__*/ proxyCustomElement(class B2bGridRowCom
|
|
|
51
51
|
this.handleRowsWithColumnsWithoutSpan(columnsWithoutSpan, columnsWithSpan, totalSpan);
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
|
+
if (totalSpan < 12 && columnsWithoutSpan.length === 0) {
|
|
55
|
+
this.handleNonOverflowingColumnsWithSpan(columnsWithSpan);
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
handleNonOverflowingColumnsWithSpan(columnsWithSpan) {
|
|
60
|
+
columnsWithSpan.forEach(column => {
|
|
61
|
+
let span = parseInt(column.getAttribute('span'), 10);
|
|
62
|
+
let widthPercentage = (span / 12) * 100;
|
|
63
|
+
column.style.flex = `0 0 calc(${widthPercentage}% - ${this.columnGap}px)`;
|
|
64
|
+
column.style.maxWidth = `calc(${widthPercentage}% - ${this.columnGap}px)`;
|
|
65
|
+
});
|
|
54
66
|
}
|
|
55
67
|
handleOverflowingColumns(columns) {
|
|
56
68
|
let rows = [];
|
|
@@ -96,7 +108,7 @@ const B2bGridRowComponent = /*@__PURE__*/ proxyCustomElement(class B2bGridRowCom
|
|
|
96
108
|
});
|
|
97
109
|
}
|
|
98
110
|
render() {
|
|
99
|
-
return (h(Host, { key: '
|
|
111
|
+
return (h(Host, { key: 'da13d7265983cb9a8e70b43c0f7e152912b8e353', style: {
|
|
100
112
|
['justify-content']: `${this.justify}`,
|
|
101
113
|
['gap']: `${this.columnGap}px`,
|
|
102
114
|
['margin']: `${this.rowGap}px 0`,
|
|
@@ -104,7 +116,7 @@ const B2bGridRowComponent = /*@__PURE__*/ proxyCustomElement(class B2bGridRowCom
|
|
|
104
116
|
['display']: 'flex',
|
|
105
117
|
['flex-wrap']: 'wrap',
|
|
106
118
|
['box-sizing']: 'border-box',
|
|
107
|
-
} }, h("slot", { key: '
|
|
119
|
+
} }, h("slot", { key: 'b0be12c2eeda9cf109875a17e1509755960f1e65' })));
|
|
108
120
|
}
|
|
109
121
|
get hostElement() { return this; }
|
|
110
122
|
}, [1, "b2b-grid-row", {
|
|
@@ -49,6 +49,18 @@ const B2bGridRowComponent = class {
|
|
|
49
49
|
this.handleRowsWithColumnsWithoutSpan(columnsWithoutSpan, columnsWithSpan, totalSpan);
|
|
50
50
|
return;
|
|
51
51
|
}
|
|
52
|
+
if (totalSpan < 12 && columnsWithoutSpan.length === 0) {
|
|
53
|
+
this.handleNonOverflowingColumnsWithSpan(columnsWithSpan);
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
handleNonOverflowingColumnsWithSpan(columnsWithSpan) {
|
|
58
|
+
columnsWithSpan.forEach(column => {
|
|
59
|
+
let span = parseInt(column.getAttribute('span'), 10);
|
|
60
|
+
let widthPercentage = (span / 12) * 100;
|
|
61
|
+
column.style.flex = `0 0 calc(${widthPercentage}% - ${this.columnGap}px)`;
|
|
62
|
+
column.style.maxWidth = `calc(${widthPercentage}% - ${this.columnGap}px)`;
|
|
63
|
+
});
|
|
52
64
|
}
|
|
53
65
|
handleOverflowingColumns(columns) {
|
|
54
66
|
let rows = [];
|
|
@@ -94,7 +106,7 @@ const B2bGridRowComponent = class {
|
|
|
94
106
|
});
|
|
95
107
|
}
|
|
96
108
|
render() {
|
|
97
|
-
return (h(Host, { key: '
|
|
109
|
+
return (h(Host, { key: 'da13d7265983cb9a8e70b43c0f7e152912b8e353', style: {
|
|
98
110
|
['justify-content']: `${this.justify}`,
|
|
99
111
|
['gap']: `${this.columnGap}px`,
|
|
100
112
|
['margin']: `${this.rowGap}px 0`,
|
|
@@ -102,7 +114,7 @@ const B2bGridRowComponent = class {
|
|
|
102
114
|
['display']: 'flex',
|
|
103
115
|
['flex-wrap']: 'wrap',
|
|
104
116
|
['box-sizing']: 'border-box',
|
|
105
|
-
} }, h("slot", { key: '
|
|
117
|
+
} }, h("slot", { key: 'b0be12c2eeda9cf109875a17e1509755960f1e65' })));
|
|
106
118
|
}
|
|
107
119
|
get hostElement() { return getElement(this); }
|
|
108
120
|
};
|
|
@@ -11,6 +11,7 @@ export declare class B2bGridRowComponent {
|
|
|
11
11
|
componentDidLoad(): void;
|
|
12
12
|
private calculateRowsAndsSpaceForColumnsWithSpan;
|
|
13
13
|
private adjustColumnFlex;
|
|
14
|
+
private handleNonOverflowingColumnsWithSpan;
|
|
14
15
|
private handleOverflowingColumns;
|
|
15
16
|
private handleRowsWithColumnsWithoutSpan;
|
|
16
17
|
render(): any;
|
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@otto-de/b2b-core-components",
|
|
3
|
-
"version": "1.26.
|
|
3
|
+
"version": "1.26.1",
|
|
4
4
|
"description": "Core components defined with Stencil",
|
|
5
5
|
"author": "Otto GmbH",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"build:storybook": "npm run copy-md-files && storybook build -o docs-build/design-system"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@otto-de/b2b-tokens": "1.26.
|
|
44
|
+
"@otto-de/b2b-tokens": "1.26.1",
|
|
45
45
|
"@stencil-community/eslint-plugin": "^0.5.0",
|
|
46
46
|
"@stencil/core": "4.13.0"
|
|
47
47
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,H as e,g as a}from"./p-b6a753e8.js";const i=class{constructor(s){t(this,s),this.columnGap=24,this.rowGap=24,this.alignItems="stretch",this.justify="start"}componentDidLoad(){this.adjustColumnFlex()}calculateRowsAndsSpaceForColumnsWithSpan(t,s,e,a){t.forEach((t=>{let i=parseInt(t.getAttribute("span"),10);s+i>12&&(e.push(a),a=[],s=0),a.push(t),s+=i})),a.length>0&&e.push(a)}adjustColumnFlex(){const t=this.hostElement.querySelectorAll(":scope > b2b-grid-col");let s=0,e=[],a=[];t.forEach((t=>{const i=t.getAttribute("span");i?(s+=parseInt(i,10),a.push(t)):e.push(t)})),s>12&&0===e.length?this.handleOverflowingColumns(a):e.length>0&&this.handleRowsWithColumnsWithoutSpan(e,a,s)}handleOverflowingColumns(t){let s=[];this.calculateRowsAndsSpaceForColumnsWithSpan(t,0,s,[]),s.forEach((t=>{t.forEach((t=>{let s=parseInt(t.getAttribute("span"),10)/12*100;t.style.flex=`0 0 calc(${s}% - ${this.columnGap}px)`,t.style.maxWidth=`calc(${s}% - ${this.columnGap}px)`}))}))}handleRowsWithColumnsWithoutSpan(t,s,e){let a=12-e<=0?12:12-e,i=[],n=[],l=0;this.calculateRowsAndsSpaceForColumnsWithSpan(s,l,i,n),t.forEach((s=>{let e=Math.max(1,Math.floor(a/t.length));l+e>12&&(i.push(n),n=[],l=0),s.setAttribute("span",e.toString()),n.push(s),l+=e})),n.length>0&&i.push(n),i.forEach((t=>{t.forEach((t=>{let s=(parseInt(t.getAttribute("span"),10)||1)/12*100;t.style.flex=`0 0 calc(${s}% - ${this.columnGap}px)`,t.style.maxWidth=`calc(${s}% - ${this.columnGap}px)`}))}))}render(){return s(e,{key:"348d0627a954387d90980e420931f2609973f9ab",style:{"justify-content":`${this.justify}`,gap:`${this.columnGap}px`,margin:`${this.rowGap}px 0`,"align-items":`${this.alignItems}`,display:"flex","flex-wrap":"wrap","box-sizing":"border-box"}},s("slot",{key:"6c2fd302ccf7be951dbcf14b548e8f7c83ea542e"}))}get hostElement(){return a(this)}};export{i as b2b_grid_row}
|