@otto-de/b2b-core-components 1.4.0-beta.1 → 1.5.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.
- package/dist/b2b-core-components/b2b-core-components.css +1 -1
- package/dist/b2b-core-components/b2b-core-components.esm.js +1 -1
- package/dist/b2b-core-components/p-03beebf5.entry.js +1 -0
- package/dist/b2b-core-components/p-0675225a.entry.js +1 -0
- package/dist/b2b-core-components/p-06ef4c5e.entry.js +1 -0
- package/dist/b2b-core-components/{p-5c316460.entry.js → p-080a0741.entry.js} +1 -1
- package/dist/b2b-core-components/p-0f8bd310.entry.js +1 -0
- package/dist/b2b-core-components/p-163fe245.entry.js +1 -0
- package/dist/b2b-core-components/p-1e1bdb50.entry.js +1 -0
- package/dist/b2b-core-components/p-1eb784f9.entry.js +1 -0
- package/dist/b2b-core-components/p-21bfe96a.entry.js +1 -0
- package/dist/b2b-core-components/p-2b3a67db.entry.js +1 -0
- package/dist/b2b-core-components/p-38791fb9.entry.js +1 -0
- package/dist/b2b-core-components/p-3cd9088a.entry.js +1 -0
- package/dist/b2b-core-components/p-42da7a57.entry.js +1 -0
- package/dist/b2b-core-components/p-4fc894c8.entry.js +1 -0
- package/dist/b2b-core-components/p-5c2db521.entry.js +1 -0
- package/dist/b2b-core-components/p-5d7866e8.entry.js +1 -0
- package/dist/b2b-core-components/{p-34f6555e.entry.js → p-60c7f6f7.entry.js} +1 -1
- package/dist/b2b-core-components/{p-400b3111.entry.js → p-6997ceb0.entry.js} +1 -1
- package/dist/b2b-core-components/p-710600ca.entry.js +1 -0
- package/dist/b2b-core-components/p-75f84f53.entry.js +1 -0
- package/dist/b2b-core-components/p-76e240f8.entry.js +1 -0
- package/dist/b2b-core-components/p-7b04f40b.entry.js +1 -0
- package/dist/b2b-core-components/p-83cb9d03.entry.js +1 -0
- package/dist/b2b-core-components/p-b95089a7.entry.js +1 -0
- package/dist/b2b-core-components/p-bb5e7c53.js +1 -0
- package/dist/b2b-core-components/p-bcf36531.entry.js +1 -0
- package/dist/b2b-core-components/p-bda69b9a.entry.js +1 -0
- package/dist/b2b-core-components/p-c20baf90.entry.js +1 -0
- package/dist/b2b-core-components/p-c8294029.entry.js +1 -0
- package/dist/b2b-core-components/{p-144a3c59.entry.js → p-c9dcb35a.entry.js} +1 -1
- package/dist/b2b-core-components/p-cf010e88.entry.js +1 -0
- package/dist/b2b-core-components/p-dcd80266.entry.js +1 -0
- package/dist/b2b-core-components/p-e1622cb8.entry.js +1 -0
- package/dist/b2b-core-components/p-e3cd216c.entry.js +1 -0
- package/dist/b2b-core-components/p-fa6cd2ac.entry.js +1 -0
- package/dist/b2b-core-components/p-fe96d81a.entry.js +1 -0
- package/dist/cjs/b2b-alert.cjs.entry.js +1 -1
- package/dist/cjs/b2b-anchor.cjs.entry.js +1 -1
- package/dist/cjs/b2b-button_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-card.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/b2b-headline.cjs.entry.js +1 -1
- package/dist/cjs/b2b-icon.cjs.entry.js +1 -1
- package/dist/cjs/b2b-input-group_2.cjs.entry.js +19 -5
- package/dist/cjs/b2b-input_2.cjs.entry.js +2 -2
- package/dist/cjs/b2b-label.cjs.entry.js +1 -1
- package/dist/cjs/b2b-modal.cjs.entry.js +1 -1
- package/dist/cjs/b2b-pagination.cjs.entry.js +1 -1
- package/dist/cjs/b2b-paragraph.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/b2b-radio-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-required-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-rounded-icon.cjs.entry.js +3 -1
- package/dist/cjs/b2b-scrollable-container.cjs.entry.js +1 -1
- package/dist/cjs/b2b-search.cjs.entry.js +6 -1
- package/dist/cjs/b2b-separator.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab-panel.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tab.cjs.entry.js +1 -1
- package/dist/cjs/b2b-table-cell_2.cjs.entry.js +9 -9
- package/dist/cjs/b2b-table-row.cjs.entry.js +7 -8
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +4 -4
- package/dist/cjs/b2b-table.cjs.entry.js +4 -4
- package/dist/cjs/b2b-textarea.cjs.entry.js +1 -1
- package/dist/cjs/b2b-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/b2b-toggle-group.cjs.entry.js +1 -1
- package/dist/cjs/b2b-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/b2b-wizard-icon.cjs.entry.js +5 -3
- package/dist/cjs/b2b-wizard-step.cjs.entry.js +26 -0
- package/dist/cjs/b2b-wizard.cjs.entry.js +61 -0
- package/dist/cjs/index-496aa5dd.js +14 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{types-ef85a0bf.js → table.types-bb0926c7.js} +2 -2
- package/dist/cjs/wizard.types-690c64bb.js +10 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/alert/alert.css +6 -4
- package/dist/collection/components/anchor/anchor.css +3 -4
- package/dist/collection/components/button/button.css +3 -4
- package/dist/collection/components/card/card.css +3 -4
- package/dist/collection/components/checkbox/checkbox.css +4 -5
- package/dist/collection/components/checkbox-group/checkbox-group.css +4 -5
- package/dist/collection/components/dropdown/dropdown.css +4 -5
- package/dist/collection/components/headline/headline.css +3 -4
- package/dist/collection/components/icon/icon.css +3 -4
- package/dist/collection/components/input/input.css +4 -5
- package/dist/collection/components/input-group/input-group.css +4 -5
- package/dist/collection/components/input-group/input-group.js +22 -3
- package/dist/collection/components/input-list/input-list.css +3 -4
- package/dist/collection/components/label/label.css +4 -5
- package/dist/collection/components/modal/modal.css +3 -4
- package/dist/collection/components/pagination/pagination.css +3 -4
- package/dist/collection/components/paragraph/paragraph.css +4 -5
- package/dist/collection/components/radio/radio.css +4 -5
- package/dist/collection/components/radio-group/radio-group.css +4 -5
- package/dist/collection/components/required-separator/required-separator.css +3 -4
- package/dist/collection/components/rounded-icon/rounded-icon.css +4 -5
- package/dist/collection/components/rounded-icon/rounded-icon.js +19 -0
- package/dist/collection/components/scrollable-container/scrollable-container.css +3 -4
- package/dist/collection/components/search/search.js +15 -1
- package/dist/collection/components/search/search.stories.js +1 -0
- package/dist/collection/components/separator/separator.css +3 -4
- package/dist/collection/components/spinner/spinner.css +3 -4
- package/dist/collection/components/tab/tab.css +3 -4
- package/dist/collection/components/tab-panel/tab-panel.css +3 -4
- package/dist/collection/components/table/table-cell/table-cell.css +3 -4
- package/dist/collection/components/table/table-cell/table-cell.js +4 -4
- package/dist/collection/components/table/table-header/table-header.css +3 -4
- package/dist/collection/components/table/table-header/table-header.js +3 -3
- package/dist/collection/components/table/table-row/table-row.css +3 -4
- package/dist/collection/components/table/table-row/table-row.js +3 -4
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.css +3 -4
- package/dist/collection/components/table/table-rowgroup/table-rowgroup.js +2 -2
- package/dist/collection/components/table/table.css +3 -4
- package/dist/collection/components/table/table.js +2 -2
- package/dist/collection/components/table/table.stories.js +1 -1
- package/dist/collection/components/textarea/textarea.css +4 -5
- package/dist/collection/components/toggle-button/toggle-button.css +3 -4
- package/dist/collection/components/toggle-group/toggle-group.css +3 -4
- package/dist/collection/components/tooltip/tooltip.css +4 -5
- package/dist/collection/components/wizard/wizard-step.js +95 -0
- package/dist/collection/components/wizard/wizard.css +240 -0
- package/dist/collection/components/wizard/wizard.js +125 -0
- package/dist/collection/components/wizard/wizard.stories.js +44 -0
- package/dist/collection/components/wizard-icon/wizard-icon.css +3 -4
- package/dist/collection/components/wizard-icon/wizard-icon.js +38 -8
- package/dist/collection/components/wizard-icon/wizard-icon.stories.js +14 -3
- package/dist/collection/{components/table/types.js → utils/types/table.types.js} +2 -2
- package/dist/collection/utils/types/wizard.types.js +6 -0
- package/dist/components/b2b-alert.js +1 -1
- package/dist/components/b2b-anchor.js +1 -1
- package/dist/components/b2b-card.js +1 -1
- package/dist/components/b2b-checkbox-group.js +1 -1
- package/dist/components/b2b-checkbox.js +1 -1
- package/dist/components/b2b-dropdown.js +1 -1
- package/dist/components/b2b-label.js +1 -1
- package/dist/components/b2b-modal.js +1 -1
- package/dist/components/b2b-pagination.js +1 -1
- package/dist/components/b2b-paragraph.js +1 -1
- package/dist/components/b2b-radio-button.js +1 -1
- package/dist/components/b2b-radio-group.js +1 -1
- package/dist/components/b2b-required-separator.js +1 -1
- package/dist/components/b2b-scrollable-container.js +1 -1
- package/dist/components/b2b-search.js +7 -2
- package/dist/components/b2b-tab-panel.js +1 -1
- package/dist/components/b2b-tab.js +1 -1
- package/dist/components/b2b-table-row.js +2 -3
- package/dist/components/b2b-table-rowgroup.js +2 -2
- package/dist/components/b2b-table.js +2 -2
- package/dist/components/b2b-textarea.js +1 -1
- package/dist/components/b2b-toggle-button.js +1 -1
- package/dist/components/b2b-toggle-group.js +1 -1
- package/dist/components/b2b-tooltip.js +1 -1
- package/dist/components/b2b-wizard-icon.js +1 -47
- package/dist/components/b2b-wizard-step.d.ts +11 -0
- package/dist/components/b2b-wizard-step.js +62 -0
- package/dist/components/b2b-wizard.d.ts +11 -0
- package/dist/components/b2b-wizard.js +79 -0
- package/dist/components/button.js +1 -1
- package/dist/components/headline.js +1 -1
- package/dist/components/icon.js +1 -1
- package/dist/components/input-group.js +20 -5
- package/dist/components/input-list-option.js +1 -1
- package/dist/components/input-list.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/rounded-icon.js +4 -1
- package/dist/components/separator.js +1 -1
- package/dist/components/spinner.js +1 -1
- package/dist/components/table-cell.js +2 -2
- package/dist/components/table-header.js +2 -2
- package/dist/components/{types.js → table.types.js} +2 -2
- package/dist/components/wizard-icon.js +52 -0
- package/dist/components/wizard.types.js +8 -0
- package/dist/custom-elements.json +110 -0
- package/dist/esm/b2b-alert.entry.js +1 -1
- package/dist/esm/b2b-anchor.entry.js +1 -1
- package/dist/esm/b2b-button_2.entry.js +2 -2
- package/dist/esm/b2b-card.entry.js +1 -1
- package/dist/esm/b2b-checkbox-group.entry.js +1 -1
- package/dist/esm/b2b-checkbox.entry.js +1 -1
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-dropdown.entry.js +1 -1
- package/dist/esm/b2b-headline.entry.js +1 -1
- package/dist/esm/b2b-icon.entry.js +1 -1
- package/dist/esm/b2b-input-group_2.entry.js +19 -5
- package/dist/esm/b2b-input_2.entry.js +2 -2
- package/dist/esm/b2b-label.entry.js +1 -1
- package/dist/esm/b2b-modal.entry.js +1 -1
- package/dist/esm/b2b-pagination.entry.js +1 -1
- package/dist/esm/b2b-paragraph.entry.js +1 -1
- package/dist/esm/b2b-radio-button.entry.js +1 -1
- package/dist/esm/b2b-radio-group.entry.js +1 -1
- package/dist/esm/b2b-required-separator.entry.js +1 -1
- package/dist/esm/b2b-rounded-icon.entry.js +3 -1
- package/dist/esm/b2b-scrollable-container.entry.js +1 -1
- package/dist/esm/b2b-search.entry.js +6 -1
- package/dist/esm/b2b-separator.entry.js +1 -1
- package/dist/esm/b2b-tab-panel.entry.js +1 -1
- package/dist/esm/b2b-tab.entry.js +1 -1
- package/dist/esm/b2b-table-cell_2.entry.js +3 -3
- package/dist/esm/b2b-table-row.entry.js +2 -3
- package/dist/esm/b2b-table-rowgroup.entry.js +2 -2
- package/dist/esm/b2b-table.entry.js +2 -2
- package/dist/esm/b2b-textarea.entry.js +1 -1
- package/dist/esm/b2b-toggle-button.entry.js +1 -1
- package/dist/esm/b2b-toggle-group.entry.js +1 -1
- package/dist/esm/b2b-tooltip.entry.js +1 -1
- package/dist/esm/b2b-wizard-icon.entry.js +5 -3
- package/dist/esm/b2b-wizard-step.entry.js +22 -0
- package/dist/esm/b2b-wizard.entry.js +57 -0
- package/dist/esm/index-026605c2.js +14 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{types-5aa59787.js → table.types-9943c937.js} +2 -2
- package/dist/esm/wizard.types-2a03b8e0.js +8 -0
- package/dist/types/components/input-group/input-group.d.ts +4 -0
- package/dist/types/components/rounded-icon/rounded-icon.d.ts +4 -0
- package/dist/types/components/search/search.d.ts +1 -0
- package/dist/types/components/table/table-cell/table-cell.d.ts +1 -1
- package/dist/types/components/table/table-header/table-header.d.ts +1 -1
- package/dist/types/components/table/table-row/table-row.d.ts +1 -1
- package/dist/types/components/table/table-rowgroup/table-rowgroup.d.ts +1 -1
- package/dist/types/components/table/table.d.ts +1 -1
- package/dist/types/components/wizard/wizard-step.d.ts +11 -0
- package/dist/types/components/wizard/wizard.d.ts +19 -0
- package/dist/types/components/wizard/wizard.stories.d.ts +5 -0
- package/dist/types/components/wizard-icon/wizard-icon.d.ts +6 -2
- package/dist/types/components/wizard-icon/wizard-icon.stories.d.ts +2 -0
- package/dist/types/components.d.ts +98 -6
- package/dist/types/utils/types/wizard.types.d.ts +8 -0
- package/dist/web-types.json +109 -4
- package/package.json +3 -3
- package/dist/b2b-core-components/p-08a50b6c.entry.js +0 -1
- package/dist/b2b-core-components/p-10414c0b.entry.js +0 -1
- package/dist/b2b-core-components/p-1493f7df.entry.js +0 -1
- package/dist/b2b-core-components/p-15a499b0.entry.js +0 -1
- package/dist/b2b-core-components/p-22dab2b4.entry.js +0 -1
- package/dist/b2b-core-components/p-4b25559c.entry.js +0 -1
- package/dist/b2b-core-components/p-515eb49e.entry.js +0 -1
- package/dist/b2b-core-components/p-541ffefb.entry.js +0 -1
- package/dist/b2b-core-components/p-5572aab3.entry.js +0 -1
- package/dist/b2b-core-components/p-5952fa73.entry.js +0 -1
- package/dist/b2b-core-components/p-686d6598.entry.js +0 -1
- package/dist/b2b-core-components/p-6c9b0c23.entry.js +0 -1
- package/dist/b2b-core-components/p-6e0e6acc.entry.js +0 -1
- package/dist/b2b-core-components/p-6e3b27cd.entry.js +0 -1
- package/dist/b2b-core-components/p-7af1b977.entry.js +0 -1
- package/dist/b2b-core-components/p-7ca9b704.entry.js +0 -1
- package/dist/b2b-core-components/p-81a52d1a.entry.js +0 -1
- package/dist/b2b-core-components/p-8970ae74.entry.js +0 -1
- package/dist/b2b-core-components/p-925e40af.entry.js +0 -1
- package/dist/b2b-core-components/p-965ae161.entry.js +0 -1
- package/dist/b2b-core-components/p-99f8cf34.entry.js +0 -1
- package/dist/b2b-core-components/p-a6248754.entry.js +0 -1
- package/dist/b2b-core-components/p-b6e0a6ea.entry.js +0 -1
- package/dist/b2b-core-components/p-ba74cde5.entry.js +0 -1
- package/dist/b2b-core-components/p-c2bcf0a8.entry.js +0 -1
- package/dist/b2b-core-components/p-d6ce3259.entry.js +0 -1
- package/dist/b2b-core-components/p-da6a1f55.entry.js +0 -1
- package/dist/b2b-core-components/p-fc639b29.entry.js +0 -1
- package/dist/b2b-core-components/p-ff49e330.entry.js +0 -1
- /package/dist/b2b-core-components/{p-4130f1ae.js → p-de2c1003.js} +0 -0
- /package/dist/types/{components/table/types.d.ts → utils/types/table.types.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -257,7 +256,7 @@
|
|
|
257
256
|
user-select: none;
|
|
258
257
|
}
|
|
259
258
|
.b2b-radio span {
|
|
260
|
-
font-size: var(--b2b-size-copy-
|
|
259
|
+
font-size: var(--b2b-size-copy-50);
|
|
261
260
|
line-height: var(--b2b-size-copy-line-height-75);
|
|
262
261
|
color: var(--b2b-color-grey-300);
|
|
263
262
|
display: block;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -232,7 +231,7 @@
|
|
|
232
231
|
}
|
|
233
232
|
.b2b-radio-group span {
|
|
234
233
|
display: block;
|
|
235
|
-
font-size: var(--b2b-size-copy-
|
|
234
|
+
font-size: var(--b2b-size-copy-50);
|
|
236
235
|
color: var(--b2b-color-grey-300);
|
|
237
236
|
line-height: var(--b2b-size-copy-line-height-75);
|
|
238
237
|
margin-top: 1px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -218,7 +217,7 @@
|
|
|
218
217
|
width: 24px;
|
|
219
218
|
height: 24px;
|
|
220
219
|
display: inline-flex;
|
|
221
|
-
padding:
|
|
220
|
+
padding: 3px;
|
|
222
221
|
border-radius: 100%;
|
|
223
222
|
}
|
|
224
223
|
::slotted(*[slot=text]) {
|
|
@@ -2,11 +2,13 @@ import { h, Host } from '@stencil/core';
|
|
|
2
2
|
export class RoundedIconComponent {
|
|
3
3
|
constructor() {
|
|
4
4
|
this.color = 'var(--b2b-color-info-50)';
|
|
5
|
+
this.borderColor = undefined;
|
|
5
6
|
this.contentColor = 'var(--b2b-color-copy-default)';
|
|
6
7
|
}
|
|
7
8
|
render() {
|
|
8
9
|
return (h(Host, null, h("div", { style: {
|
|
9
10
|
['background-color']: this.color,
|
|
11
|
+
['border']: `1px solid ${this.borderColor || this.color}`,
|
|
10
12
|
}, class: {
|
|
11
13
|
'b2b-rounded-icon': true,
|
|
12
14
|
} }, h("div", { style: {
|
|
@@ -47,6 +49,23 @@ export class RoundedIconComponent {
|
|
|
47
49
|
"reflect": false,
|
|
48
50
|
"defaultValue": "'var(--b2b-color-info-50)'"
|
|
49
51
|
},
|
|
52
|
+
"borderColor": {
|
|
53
|
+
"type": "string",
|
|
54
|
+
"mutable": false,
|
|
55
|
+
"complexType": {
|
|
56
|
+
"original": "string",
|
|
57
|
+
"resolved": "string",
|
|
58
|
+
"references": {}
|
|
59
|
+
},
|
|
60
|
+
"required": false,
|
|
61
|
+
"optional": false,
|
|
62
|
+
"docs": {
|
|
63
|
+
"tags": [],
|
|
64
|
+
"text": "The color of the border of the circle around the icon or text.\nUse any type including hex, rgb or css custom properties\nas long as you pass it as a string"
|
|
65
|
+
},
|
|
66
|
+
"attribute": "border-color",
|
|
67
|
+
"reflect": false
|
|
68
|
+
},
|
|
50
69
|
"contentColor": {
|
|
51
70
|
"type": "string",
|
|
52
71
|
"mutable": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -16,8 +16,13 @@ export class SearchComponent {
|
|
|
16
16
|
this.disabled = false;
|
|
17
17
|
this.closed = undefined;
|
|
18
18
|
}
|
|
19
|
+
handleKeyDown(event) {
|
|
20
|
+
if (event.key === 'Enter') {
|
|
21
|
+
this.b2bSearch.emit({ searchTerm: this.value });
|
|
22
|
+
}
|
|
23
|
+
}
|
|
19
24
|
render() {
|
|
20
|
-
return (h(Host, null, h("b2b-input-group", { disabled: this.disabled }, h("b2b-input-list", { slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", null)), h("b2b-button", { slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon", { icon: "b2b_icon-search" })))));
|
|
25
|
+
return (h(Host, null, h("b2b-input-group", { disabled: this.disabled }, h("b2b-input-list", { slot: "start", value: this.value, placeholder: this.placeholder, optionsList: this.optionsList, "onb2b-input": this.onInput, "onb2b-option-selected": this.onOptionSelected }, h("slot", null)), h("b2b-button", { slot: "end", variant: "primary", onClick: this.onSearchClicked }, h("b2b-icon", { icon: "b2b_icon-search", clickable: true })))));
|
|
21
26
|
}
|
|
22
27
|
static get is() { return "b2b-search"; }
|
|
23
28
|
static get encapsulation() { return "shadow"; }
|
|
@@ -123,4 +128,13 @@ export class SearchComponent {
|
|
|
123
128
|
}];
|
|
124
129
|
}
|
|
125
130
|
static get elementRef() { return "hostElement"; }
|
|
131
|
+
static get listeners() {
|
|
132
|
+
return [{
|
|
133
|
+
"name": "keydown",
|
|
134
|
+
"method": "handleKeyDown",
|
|
135
|
+
"target": undefined,
|
|
136
|
+
"capture": false,
|
|
137
|
+
"passive": false
|
|
138
|
+
}];
|
|
139
|
+
}
|
|
126
140
|
}
|
|
@@ -24,6 +24,7 @@ const Template = ({ placeholder, optionsList, disabled }) => {
|
|
|
24
24
|
// it also works when the component has the word 'input' in its name
|
|
25
25
|
return html `<div style="width: 300px; display: block">
|
|
26
26
|
<b2b-search
|
|
27
|
+
contenteditable
|
|
27
28
|
data-testid="search-element"
|
|
28
29
|
disabled=${disabled}
|
|
29
30
|
placeholder="${placeholder}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
-
import { ContentAlignment, TableSizes } from '
|
|
2
|
+
import { ContentAlignment, TableSizes, } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableCellComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.expandTextHoverWaitTime = 600;
|
|
@@ -78,7 +78,7 @@ export class TableCellComponent {
|
|
|
78
78
|
"references": {
|
|
79
79
|
"TableSizes": {
|
|
80
80
|
"location": "import",
|
|
81
|
-
"path": "
|
|
81
|
+
"path": "../../../utils/types/table.types"
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
},
|
|
@@ -101,7 +101,7 @@ export class TableCellComponent {
|
|
|
101
101
|
"references": {
|
|
102
102
|
"ContentAlignment": {
|
|
103
103
|
"location": "import",
|
|
104
|
-
"path": "
|
|
104
|
+
"path": "../../../utils/types/table.types"
|
|
105
105
|
}
|
|
106
106
|
}
|
|
107
107
|
},
|
|
@@ -142,7 +142,7 @@ export class TableCellComponent {
|
|
|
142
142
|
"references": {
|
|
143
143
|
"TableColourOptions": {
|
|
144
144
|
"location": "import",
|
|
145
|
-
"path": "
|
|
145
|
+
"path": "../../../utils/types/table.types"
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
|
-
import { TableSortDirections } from '
|
|
2
|
+
import { TableSortDirections } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableHeaderComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.sortIcon = (h("svg", { viewBox: "0 0 24 24", height: "24px", width: "24px", xmlns: "http://www.w3.org/2000/svg" }, h("path", { d: "M19.1831 8.47552L12.8541 2.14703C12.8079 2.10065 12.7524 2.06384 12.6909 2.03839C12.5687 1.98785 12.4313 1.98785 12.3091 2.03839C12.2476 2.06384 12.1921 2.10065 12.1459 2.14703L5.81689 8.47552C5.62158 8.67084 5.62158 8.98724 5.81689 9.18256C6.01221 9.37787 6.32861 9.37787 6.52393 9.18256L12 3.70691V21.4999C12 21.7763 12.2236 21.9999 12.5 21.9999C12.7764 21.9999 13 21.7763 13 21.4999V3.70691L18.4761 9.18256C18.5737 9.28021 18.7017 9.32904 18.8296 9.32904C18.9575 9.32904 19.0854 9.28021 19.1831 9.18256C19.3784 8.98724 19.3784 8.67084 19.1831 8.47552Z" })));
|
|
@@ -119,7 +119,7 @@ export class TableHeaderComponent {
|
|
|
119
119
|
"references": {
|
|
120
120
|
"TableSortDirections": {
|
|
121
121
|
"location": "import",
|
|
122
|
-
"path": "
|
|
122
|
+
"path": "../../../utils/types/table.types"
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
125
|
},
|
|
@@ -173,7 +173,7 @@ export class TableHeaderComponent {
|
|
|
173
173
|
"references": {
|
|
174
174
|
"TableSortDirections": {
|
|
175
175
|
"location": "import",
|
|
176
|
-
"path": "
|
|
176
|
+
"path": "../../../utils/types/table.types"
|
|
177
177
|
}
|
|
178
178
|
}
|
|
179
179
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
|
-
import { TableRowTypes, TableColourOptions, TableSizes } from '
|
|
2
|
+
import { TableRowTypes, TableColourOptions, TableSizes, } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableRowComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.toggleOpen = () => {
|
|
@@ -36,7 +36,6 @@ export class TableRowComponent {
|
|
|
36
36
|
this.b2bOpen.emit(isOpen);
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
console.log(this.getRowWidthForEqualSize());
|
|
40
39
|
return (h(Host, { class: {
|
|
41
40
|
'b2b-table-row': true,
|
|
42
41
|
['b2b-table-row--highlight']: this.highlight,
|
|
@@ -89,7 +88,7 @@ export class TableRowComponent {
|
|
|
89
88
|
"references": {
|
|
90
89
|
"TableColourOptions": {
|
|
91
90
|
"location": "import",
|
|
92
|
-
"path": "
|
|
91
|
+
"path": "../../../utils/types/table.types"
|
|
93
92
|
}
|
|
94
93
|
}
|
|
95
94
|
},
|
|
@@ -112,7 +111,7 @@ export class TableRowComponent {
|
|
|
112
111
|
"references": {
|
|
113
112
|
"TableRowTypes": {
|
|
114
113
|
"location": "import",
|
|
115
|
-
"path": "
|
|
114
|
+
"path": "../../../utils/types/table.types"
|
|
116
115
|
}
|
|
117
116
|
}
|
|
118
117
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from '@stencil/core';
|
|
2
|
-
import { TableRowgroupTypes } from '
|
|
2
|
+
import { TableRowgroupTypes } from '../../../utils/types/table.types';
|
|
3
3
|
export class TableRowgroupComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.getFirstRow = () => {
|
|
@@ -95,7 +95,7 @@ export class TableRowgroupComponent {
|
|
|
95
95
|
"references": {
|
|
96
96
|
"TableRowgroupTypes": {
|
|
97
97
|
"location": "import",
|
|
98
|
-
"path": "
|
|
98
|
+
"path": "../../../utils/types/table.types"
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host, } from '@stencil/core';
|
|
2
|
-
import { TableSizes, TableSortDirections } from '
|
|
2
|
+
import { TableSizes, TableSortDirections } from '../../utils/types/table.types';
|
|
3
3
|
export class TableComponent {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.size = TableSizes.EXPAND;
|
|
@@ -66,7 +66,7 @@ export class TableComponent {
|
|
|
66
66
|
"references": {
|
|
67
67
|
"TableSizes": {
|
|
68
68
|
"location": "import",
|
|
69
|
-
"path": "
|
|
69
|
+
"path": "../../utils/types/table.types"
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
},
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getArgTypes } from '../../docs/config/utils';
|
|
2
2
|
import { html } from 'lit-html';
|
|
3
3
|
import tableDocs from './table.docs.mdx';
|
|
4
|
-
import { ContentAlignment, TableRowgroupTypes, TableSizes } from '
|
|
4
|
+
import { ContentAlignment, TableRowgroupTypes, TableSizes, } from '../../utils/types/table.types';
|
|
5
5
|
import { sampleData, smallSampleData, longSampleData, userSampleData, } from './stories.data';
|
|
6
6
|
import { useArgs } from '@storybook/client-api';
|
|
7
7
|
const Template = ({ data, parentWidth, firstColumnWidth, firstRowHeight, size, textWrap, align, highlight, withDividers, color, }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Mon,
|
|
3
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root, :host {
|
|
6
6
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -76,8 +76,7 @@
|
|
|
76
76
|
--b2b-size-copy-200: var(--b2b-size-45);
|
|
77
77
|
--b2b-size-copy-125: var(--b2b-size-40);
|
|
78
78
|
--b2b-size-copy-100: var(--b2b-size-35);
|
|
79
|
-
--b2b-size-copy-
|
|
80
|
-
--b2b-size-copy-50: var(--b2b-size-25);
|
|
79
|
+
--b2b-size-copy-50: var(--b2b-size-30);
|
|
81
80
|
--b2b-size-border-no-radius-bottom: var(--b2b-size-7) var(--b2b-size-7) 0 0;
|
|
82
81
|
--b2b-size-border-no-radius-top: 0 0 var(--b2b-size-7) var(--b2b-size-7);
|
|
83
82
|
--b2b-size-border-no-radius-right: var(--b2b-size-7) 0 0 var(--b2b-size-7);
|
|
@@ -123,7 +122,7 @@
|
|
|
123
122
|
}
|
|
124
123
|
/**
|
|
125
124
|
* Do not edit directly
|
|
126
|
-
* Generated on Mon,
|
|
125
|
+
* Generated on Mon, 03 Jul 2023 11:38:27 GMT
|
|
127
126
|
*/
|
|
128
127
|
:root [data-theme="dark"] {
|
|
129
128
|
--b2b-size-200: 5rem; /* 80px */
|
|
@@ -249,7 +248,7 @@
|
|
|
249
248
|
}
|
|
250
249
|
:host(.b2b-textarea) span {
|
|
251
250
|
display: block;
|
|
252
|
-
font-size: var(--b2b-size-copy-
|
|
251
|
+
font-size: var(--b2b-size-copy-50);
|
|
253
252
|
line-height: var(--b2b-size-copy-line-height-75);
|
|
254
253
|
color: var(--b2b-color-grey-300);
|
|
255
254
|
}
|