@otto-de/b2b-core-components 1.6.0 → 1.7.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.esm.js +1 -1
- package/dist/b2b-core-components/icons/b2b_icon-error-hint.svg +3 -0
- package/dist/b2b-core-components/p-03e21565.entry.js +1 -0
- package/dist/b2b-core-components/p-1c0df04b.entry.js +1 -0
- package/dist/b2b-core-components/p-1dc70300.js +1 -0
- package/dist/b2b-core-components/{p-a50ea33f.entry.js → p-33e66446.entry.js} +1 -1
- package/dist/b2b-core-components/{p-90a3ffed.entry.js → p-7a879329.entry.js} +1 -1
- package/dist/b2b-core-components/p-8bad814b.entry.js +1 -0
- package/dist/b2b-core-components/{p-db7d2ec3.entry.js → p-98b563a9.entry.js} +1 -1
- package/dist/b2b-core-components/p-9c0e419e.entry.js +1 -0
- package/dist/b2b-core-components/p-c60253d2.entry.js +1 -0
- package/dist/b2b-core-components/p-c885a630.entry.js +1 -0
- package/dist/b2b-core-components/p-cf0999e2.entry.js +1 -0
- package/dist/b2b-core-components/p-e31915cf.entry.js +1 -0
- package/dist/b2b-core-components/{p-0beabdb4.entry.js → p-f8ed569f.entry.js} +1 -1
- package/dist/cjs/b2b-breadcrumb-item.cjs.entry.js +40 -0
- package/dist/cjs/b2b-breadcrumb.cjs.entry.js +34 -0
- package/dist/cjs/b2b-button_2.cjs.entry.js +1 -1
- package/dist/cjs/b2b-checkbox_3.cjs.entry.js +24 -8
- package/dist/cjs/b2b-chip-component.cjs.entry.js +37 -0
- package/dist/cjs/b2b-core-components.cjs.js +1 -1
- package/dist/cjs/b2b-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/b2b-icon.cjs.entry.js +1 -0
- package/dist/cjs/b2b-tab-group.cjs.entry.js +3 -1
- package/dist/cjs/b2b-table-row.cjs.entry.js +5 -8
- package/dist/cjs/b2b-table-rowgroup.cjs.entry.js +1 -1
- package/dist/cjs/b2b-table.cjs.entry.js +1 -1
- package/dist/cjs/b2b-textarea.cjs.entry.js +2 -1
- package/dist/cjs/index-04e07a00.js +12 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{table.types-00c8228a.js → table.types-196dc690.js} +6 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/alert/alert.css +2 -2
- package/dist/collection/components/alert/alert.stories.js +1 -8
- package/dist/collection/components/anchor/anchor.css +2 -2
- package/dist/collection/components/anchor/anchor.stories.js +0 -6
- package/dist/collection/components/breadcrumb/breadcrumb-item.js +123 -0
- package/dist/collection/components/breadcrumb/breadcrumb.css +250 -0
- package/dist/collection/components/breadcrumb/breadcrumb.e2e.js +50 -0
- package/dist/collection/components/breadcrumb/breadcrumb.js +66 -0
- package/dist/collection/components/breadcrumb/breadcrumb.stories.js +22 -0
- package/dist/collection/components/button/button.css +10 -6
- package/dist/collection/components/button/button.stories.js +136 -80
- package/dist/collection/components/card/card.css +2 -2
- package/dist/collection/components/card/card.stories.js +0 -6
- package/dist/collection/components/checkbox/checkbox.css +5 -5
- package/dist/collection/components/checkbox/checkbox.js +1 -1
- package/dist/collection/components/checkbox/checkbox.stories.js +0 -6
- package/dist/collection/components/checkbox-group/checkbox-group.css +2 -2
- package/dist/collection/components/checkbox-group/checkbox-group.stories.js +0 -6
- package/dist/collection/components/chip/chip.css +249 -0
- package/dist/collection/components/chip/chip.e2e.js +19 -0
- package/dist/collection/components/chip/chip.js +134 -0
- package/dist/collection/components/chip/chip.stories.js +30 -0
- package/dist/collection/components/dropdown/dropdown.css +2 -2
- package/dist/collection/components/dropdown/dropdown.js +2 -2
- package/dist/collection/components/dropdown/dropdown.stories.js +0 -6
- package/dist/collection/components/grid/grid.stories.js +0 -4
- package/dist/collection/components/headline/headline.css +2 -2
- package/dist/collection/components/headline/headline.stories.js +0 -6
- package/dist/collection/components/icon/icon.css +2 -2
- package/dist/collection/components/icon/icon.js +1 -1
- package/dist/collection/components/icon/icon.stories.js +0 -6
- package/dist/collection/components/icon/icons/b2b_icon-error-hint.svg +3 -0
- package/dist/collection/components/icon/types.js +1 -0
- package/dist/collection/components/input/input.css +2 -2
- package/dist/collection/components/input/input.stories.js +124 -75
- package/dist/collection/components/input-group/input-group.css +2 -2
- package/dist/collection/components/input-group/input-group.stories.js +0 -6
- package/dist/collection/components/input-list/input-list.css +2 -2
- package/dist/collection/components/input-list/input-list.stories.js +74 -58
- package/dist/collection/components/label/label.css +2 -2
- package/dist/collection/components/label/label.stories.js +0 -6
- package/dist/collection/components/modal/modal.css +2 -2
- package/dist/collection/components/modal/modal.stories.js +1 -7
- package/dist/collection/components/pagination/pagination.css +2 -2
- package/dist/collection/components/pagination/pagination.stories.js +0 -4
- package/dist/collection/components/paragraph/paragraph.css +2 -2
- package/dist/collection/components/paragraph/paragraph.stories.js +0 -9
- package/dist/collection/components/radio/radio.css +2 -2
- package/dist/collection/components/radio/radio.stories.js +0 -6
- package/dist/collection/components/radio-group/radio-group.css +2 -2
- package/dist/collection/components/radio-group/radio-group.stories.js +0 -6
- package/dist/collection/components/required-separator/required-separator.css +2 -2
- package/dist/collection/components/required-separator/required-separator.stories.js +0 -6
- package/dist/collection/components/rounded-icon/rounded-icon.css +2 -2
- package/dist/collection/components/rounded-icon/rounded-icon.stories.js +0 -4
- package/dist/collection/components/scrollable-container/scrollable-container.css +2 -2
- package/dist/collection/components/scrollable-container/scrollable-container.stories.js +0 -4
- package/dist/collection/components/search/search.stories.js +2 -8
- package/dist/collection/components/separator/separator.css +2 -2
- package/dist/collection/components/separator/separator.stories.js +0 -6
- package/dist/collection/components/spinner/spinner.css +2 -2
- package/dist/collection/components/spinner/spinner.stories.js +0 -6
- package/dist/collection/components/tab/tab.css +2 -2
- package/dist/collection/components/tab-group/tab-group.e2e.js +1 -0
- package/dist/collection/components/tab-group/tab-group.js +3 -1
- package/dist/collection/components/tab-group/tab-group.stories.js +0 -6
- package/dist/collection/components/tab-panel/tab-panel.css +2 -2
- package/dist/collection/components/table/stories.data.js +4 -26
- package/dist/collection/components/table/table-cell/table-cell.css +2 -2
- package/dist/collection/components/table/table-header/table-header.css +27 -4
- package/dist/collection/components/table/table-header/table-header.js +46 -6
- package/dist/collection/components/table/table-row/table-row.css +2 -2
- package/dist/collection/components/table/table-row/table-row.js +4 -7
- 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/table/table.e2e.js +7 -3
- package/dist/collection/components/table/table.stories.js +334 -275
- package/dist/collection/components/textarea/textarea.css +2 -2
- package/dist/collection/components/textarea/textarea.js +19 -1
- package/dist/collection/components/textarea/textarea.stories.js +5 -7
- package/dist/collection/components/toggle-button/toggle-button.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.css +2 -2
- package/dist/collection/components/toggle-group/toggle-group.stories.js +0 -6
- package/dist/collection/components/tooltip/tooltip.css +2 -2
- package/dist/collection/components/tooltip/tooltip.stories.js +1 -7
- package/dist/collection/components/wizard/wizard.css +2 -2
- package/dist/collection/components/wizard/wizard.stories.js +0 -4
- package/dist/collection/components/wizard-icon/wizard-icon.css +2 -2
- package/dist/collection/components/wizard-icon/wizard-icon.stories.js +9 -7
- package/dist/collection/docs/tokens/color.stories.js +1 -5
- package/dist/collection/docs/tokens/font.stories.js +1 -6
- package/dist/collection/docs/tokens/size.stories.js +1 -5
- package/dist/collection/utils/types/table.types.js +5 -0
- package/dist/components/b2b-breadcrumb-item.d.ts +11 -0
- package/dist/components/b2b-breadcrumb-item.js +58 -0
- package/dist/components/b2b-breadcrumb.d.ts +11 -0
- package/dist/components/b2b-breadcrumb.js +48 -0
- package/dist/components/b2b-chip-component.d.ts +11 -0
- package/dist/components/b2b-chip-component.js +56 -0
- package/dist/components/b2b-dropdown.js +2 -2
- package/dist/components/b2b-tab-group.js +3 -1
- package/dist/components/b2b-table-row.js +4 -7
- package/dist/components/b2b-textarea.js +4 -2
- package/dist/components/button.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/icon.js +1 -0
- package/dist/components/table-header.js +25 -7
- package/dist/components/table.types.js +6 -1
- package/dist/custom-elements.json +76 -0
- package/dist/esm/b2b-breadcrumb-item.entry.js +36 -0
- package/dist/esm/b2b-breadcrumb.entry.js +30 -0
- package/dist/esm/b2b-button_2.entry.js +1 -1
- package/dist/esm/b2b-checkbox_3.entry.js +24 -8
- package/dist/esm/b2b-chip-component.entry.js +33 -0
- package/dist/esm/b2b-core-components.js +1 -1
- package/dist/esm/b2b-dropdown.entry.js +2 -2
- package/dist/esm/b2b-icon.entry.js +1 -0
- package/dist/esm/b2b-tab-group.entry.js +3 -1
- package/dist/esm/b2b-table-row.entry.js +5 -8
- package/dist/esm/b2b-table-rowgroup.entry.js +1 -1
- package/dist/esm/b2b-table.entry.js +1 -1
- package/dist/esm/b2b-textarea.entry.js +2 -1
- package/dist/esm/index-dfdbf4b9.js +12 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{table.types-dd829d83.js → table.types-46c5a83a.js} +6 -1
- package/{loader → dist/loader}/cdn.js +1 -1
- package/{loader → dist/loader}/index.cjs.js +1 -1
- package/{loader → dist/loader}/index.d.ts +1 -1
- package/dist/loader/index.es2017.js +3 -0
- package/{loader → dist/loader}/index.js +2 -2
- package/dist/types/components/breadcrumb/breadcrumb-item.d.ts +15 -0
- package/dist/types/components/breadcrumb/breadcrumb.d.ts +11 -0
- package/dist/types/components/breadcrumb/breadcrumb.stories.d.ts +4 -0
- package/dist/types/components/button/button.stories.d.ts +14 -12
- package/dist/types/components/chip/chip.d.ts +17 -0
- package/dist/types/components/chip/chip.stories.d.ts +6 -0
- package/dist/types/components/icon/types.d.ts +1 -1
- package/dist/types/components/input/input.stories.d.ts +14 -13
- package/dist/types/components/input-list/input-list.stories.d.ts +8 -7
- package/dist/types/components/paragraph/paragraph.stories.d.ts +0 -1
- package/dist/types/components/table/stories.data.d.ts +3 -3
- package/dist/types/components/table/table-header/table-header.d.ts +5 -2
- package/dist/types/components/table/table.stories.d.ts +18 -16
- package/dist/types/components/textarea/textarea.d.ts +2 -0
- package/dist/types/components/textarea/textarea.stories.d.ts +1 -0
- package/dist/types/components.d.ts +135 -4
- package/dist/types/utils/interfaces/form.interface.d.ts +3 -0
- package/dist/types/utils/interfaces/interaction.interface.d.ts +4 -0
- package/dist/types/utils/types/table.types.d.ts +6 -0
- package/dist/web-types.json +149 -3
- package/package.json +26 -21
- package/dist/b2b-core-components/p-01fd54a1.entry.js +0 -1
- package/dist/b2b-core-components/p-06aa96a8.entry.js +0 -1
- package/dist/b2b-core-components/p-077217b3.entry.js +0 -1
- package/dist/b2b-core-components/p-163466cf.entry.js +0 -1
- package/dist/b2b-core-components/p-34eb99cb.js +0 -1
- package/dist/b2b-core-components/p-d7bb8aa1.entry.js +0 -1
- package/loader/index.es2017.js +0 -3
- /package/{loader → dist/loader}/package.json +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ChipComponentEventDetail } from '../../utils/interfaces/form.interface';
|
|
3
|
+
export declare class B2bChipComponent {
|
|
4
|
+
/** The text content of the chip. It is required. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Whether the chip is disabled. */
|
|
7
|
+
disabled: boolean;
|
|
8
|
+
/** Whether or not the chip component has a close button. Per default it is true. */
|
|
9
|
+
hasCloseButton: boolean;
|
|
10
|
+
/** It is only used when the chip component participates in a group */
|
|
11
|
+
value?: any;
|
|
12
|
+
/** This event will be triggered when the chip element is closed */
|
|
13
|
+
b2bClose: EventEmitter<ChipComponentEventDetail>;
|
|
14
|
+
private onClick;
|
|
15
|
+
private clearIcon;
|
|
16
|
+
render(): any;
|
|
17
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const iconTypes: readonly ["b2b_icon-360-degree", "b2b_icon-advice", "b2b_icon-allergen-sulfur-dioxide-sulfite", "b2b_icon-almond", "b2b_icon-archive", "b2b_icon-armchair", "b2b_icon-arrow-down", "b2b_icon-arrow-graph", "b2b_icon-arrow-left", "b2b_icon-arrow-right", "b2b_icon-arrow-up", "b2b_icon-assembly", "b2b_icon-assortment", "b2b_icon-attachment", "b2b_icon-augmented-reality", "b2b_icon-autonomous-team", "b2b_icon-bank-details", "b2b_icon-bar-graph-ascending", "b2b_icon-bar-graph-axis", "b2b_icon-barley", "b2b_icon-basket-sale", "b2b_icon-basket", "b2b_icon-basketball", "b2b_icon-bikini", "b2b_icon-blogs", "b2b_icon-brandshop", "b2b_icon-brazil-nut", "b2b_icon-browser-click", "b2b_icon-browser-content", "b2b_icon-browser-psm", "b2b_icon-burger", "b2b_icon-bus", "b2b_icon-callback", "b2b_icon-camera", "b2b_icon-cashback", "b2b_icon-cashew-nut", "b2b_icon-catalogue", "b2b_icon-categories", "b2b_icon-celery", "b2b_icon-certificate", "b2b_icon-chair", "b2b_icon-chat", "b2b_icon-check-bold", "b2b_icon-check", "b2b_icon-chicken", "b2b_icon-city", "b2b_icon-clear", "b2b_icon-close-bold", "b2b_icon-close", "b2b_icon-code-management", "b2b_icon-contact-mail", "b2b_icon-copy", "b2b_icon-cow", "b2b_icon-crab", "b2b_icon-critique", "b2b_icon-curtain", "b2b_icon-cut-out", "b2b_icon-dashboard", "b2b_icon-deer", "b2b_icon-delete", "b2b_icon-delivery-24h", "b2b_icon-delivery-desired-date-selection", "b2b_icon-delivery-desired-date", "b2b_icon-delivery-express", "b2b_icon-delivery-flat", "b2b_icon-delivery-on-hangers", "b2b_icon-delivery-preferred-place", "b2b_icon-desktop-phone-ads-click", "b2b_icon-desktop-phone-ads", "b2b_icon-desktop-phone", "b2b_icon-desktop", "b2b_icon-devices-monitor-laptop-tablet", "b2b_icon-dish-feature-lactose-free", "b2b_icon-dislike", "b2b_icon-disposal", "b2b_icon-document-sign", "b2b_icon-downloads", "b2b_icon-dress", "b2b_icon-dungarees", "b2b_icon-duration", "b2b_icon-e-invoice", "b2b_icon-edit-pad", "b2b_icon-edit", "b2b_icon-egg", "b2b_icon-ellipsis", "b2b_icon-email-verification-confirmed-safe", "b2b_icon-email-verification-confirmed", "b2b_icon-email-verification-sent-safe", "b2b_icon-email-verification-sent", "b2b_icon-empty-hint", "b2b_icon-end-to-end", "b2b_icon-error-article-image", "b2b_icon-error", "b2b_icon-euro", "b2b_icon-event", "b2b_icon-events", "b2b_icon-expand", "b2b_icon-faq", "b2b_icon-feedback", "b2b_icon-filter", "b2b_icon-fish", "b2b_icon-fitness", "b2b_icon-flag-chequered", "b2b_icon-flexible-work", "b2b_icon-flip", "b2b_icon-food-processor", "b2b_icon-fullscreen", "b2b_icon-gallery-view", "b2b_icon-gamepad", "b2b_icon-garlic", "b2b_icon-gender-intersex", "b2b_icon-globe", "b2b_icon-gluten", "b2b_icon-glutenfree", "b2b_icon-handshake", "b2b_icon-hashtag", "b2b_icon-hazelnut", "b2b_icon-hide", "b2b_icon-high-heels", "b2b_icon-home", "b2b_icon-info-small", "b2b_icon-info", "b2b_icon-inplace-zoom-reverse", "b2b_icon-inplace-zoom", "b2b_icon-insurance", "b2b_icon-kamut", "b2b_icon-laptop-os", "b2b_icon-laptop", "b2b_icon-leaving-page", "b2b_icon-light-bulb", "b2b_icon-like-fingers", "b2b_icon-like-product", "b2b_icon-like", "b2b_icon-line-graph", "b2b_icon-list-view", "b2b_icon-location", "b2b_icon-lupine", "b2b_icon-macadamia", "b2b_icon-material-samples", "b2b_icon-measurement", "b2b_icon-megaphone", "b2b_icon-menu", "b2b_icon-mic", "b2b_icon-milk", "b2b_icon-minus", "b2b_icon-module-operations", "b2b_icon-money-coins", "b2b_icon-money-document", "b2b_icon-money-plus", "b2b_icon-money-stack", "b2b_icon-money", "b2b_icon-move", "b2b_icon-mustard", "b2b_icon-nav", "b2b_icon-new", "b2b_icon-newsletter-sign-up", "b2b_icon-notification", "b2b_icon-nuts", "b2b_icon-oat", "b2b_icon-order-cancelled", "b2b_icon-order-delivered", "b2b_icon-order-form", "b2b_icon-order-management", "b2b_icon-order-misdirected", "b2b_icon-order-on-road", "b2b_icon-order-packed", "b2b_icon-order-payment", "b2b_icon-order-received", "b2b_icon-order-return", "b2b_icon-order-shipped", "b2b_icon-order-state-unknown", "b2b_icon-order-stored", "b2b_icon-order", "b2b_icon-otto-app", "b2b_icon-otto-campus", "b2b_icon-otto-company", "b2b_icon-otto-laptop", "b2b_icon-otto-logo", "b2b_icon-otto-up-points", "b2b_icon-otto-up", "b2b_icon-paper-plane", "b2b_icon-pause", "b2b_icon-payment-credit-card", "b2b_icon-payment-invoice", "b2b_icon-payment-pause", "b2b_icon-payment-plan-protection", "b2b_icon-payment-plan", "b2b_icon-pdf", "b2b_icon-peanut", "b2b_icon-pecan-nut", "b2b_icon-pending", "b2b_icon-person-access", "b2b_icon-person-callcenter", "b2b_icon-person-check", "b2b_icon-person-colleagues", "b2b_icon-person-community", "b2b_icon-person-development", "b2b_icon-person-female", "b2b_icon-person-info", "b2b_icon-person-male", "b2b_icon-person-rating", "b2b_icon-person-support", "b2b_icon-person-switch", "b2b_icon-person-workshop", "b2b_icon-person", "b2b_icon-phone-permission", "b2b_icon-phone", "b2b_icon-pig", "b2b_icon-pin", "b2b_icon-pinch-gesture", "b2b_icon-pinch", "b2b_icon-pistachio", "b2b_icon-plant", "b2b_icon-play-1", "b2b_icon-play", "b2b_icon-plus", "b2b_icon-price-alert", "b2b_icon-price-tag", "b2b_icon-print", "b2b_icon-puzzle", "b2b_icon-qr-code", "b2b_icon-question-hint", "b2b_icon-question", "b2b_icon-rating-empty", "b2b_icon-rating-filled", "b2b_icon-rating-half", "b2b_icon-rating-order", "b2b_icon-rating-payment", "b2b_icon-remote-work", "b2b_icon-repair", "b2b_icon-reply", "b2b_icon-retirement-provision", "b2b_icon-rocket", "b2b_icon-rye", "b2b_icon-sabbatical", "b2b_icon-sale", "b2b_icon-save", "b2b_icon-sea", "b2b_icon-search-enter", "b2b_icon-search", "b2b_icon-seo", "b2b_icon-service-info", "b2b_icon-sesame", "b2b_icon-settings", "b2b_icon-share-ios", "b2b_icon-share", "b2b_icon-sheep", "b2b_icon-shell", "b2b_icon-shirt", "b2b_icon-shopping-cart-euro", "b2b_icon-shopping-cart", "b2b_icon-show", "b2b_icon-smiley-angry", "b2b_icon-smiley-happy", "b2b_icon-smiley-negative", "b2b_icon-smiley-neutral", "b2b_icon-smiley-positive", "b2b_icon-sms-info", "b2b_icon-sneaker", "b2b_icon-sort-ascending", "b2b_icon-sort-descending", "b2b_icon-sort", "b2b_icon-soy", "b2b_icon-spelt", "b2b_icon-stationary", "b2b_icon-studies", "b2b_icon-success", "b2b_icon-sustainable-delivery", "b2b_icon-sustainable-energy-efficient", "b2b_icon-sustainable-production", "b2b_icon-sustainable-recycling", "b2b_icon-sustainable-resource", "b2b_icon-swipe-gesture", "b2b_icon-sync-device", "b2b_icon-t-shirt", "b2b_icon-tablet", "b2b_icon-tableware", "b2b_icon-target-group", "b2b_icon-teddy", "b2b_icon-test-result", "b2b_icon-town", "b2b_icon-trash", "b2b_icon-trend-down", "b2b_icon-trend-up", "b2b_icon-trousers", "b2b_icon-trusted", "b2b_icon-unpin", "b2b_icon-upload", "b2b_icon-user-management", "b2b_icon-vacation", "b2b_icon-variant-content", "b2b_icon-vegan", "b2b_icon-vegetarian", "b2b_icon-viewtoggle-tiles", "b2b_icon-village", "b2b_icon-volume-off", "b2b_icon-volume-on", "b2b_icon-voucher", "b2b_icon-walnut", "b2b_icon-warning", "b2b_icon-warranty", "b2b_icon-washing-machine", "b2b_icon-whatsapp", "b2b_icon-wheat", "b2b_icon-wifi", "b2b_icon-wishlist-active", "b2b_icon-wishlist", "b2b_icon-work-life", "b2b_icon-workshop", "b2b_icon-zoom-in", "b2b_icon-zoom-out"];
|
|
1
|
+
export declare const iconTypes: readonly ["b2b_icon-360-degree", "b2b_icon-advice", "b2b_icon-allergen-sulfur-dioxide-sulfite", "b2b_icon-almond", "b2b_icon-archive", "b2b_icon-armchair", "b2b_icon-arrow-down", "b2b_icon-arrow-graph", "b2b_icon-arrow-left", "b2b_icon-arrow-right", "b2b_icon-arrow-up", "b2b_icon-assembly", "b2b_icon-assortment", "b2b_icon-attachment", "b2b_icon-augmented-reality", "b2b_icon-autonomous-team", "b2b_icon-bank-details", "b2b_icon-bar-graph-ascending", "b2b_icon-bar-graph-axis", "b2b_icon-barley", "b2b_icon-basket-sale", "b2b_icon-basket", "b2b_icon-basketball", "b2b_icon-bikini", "b2b_icon-blogs", "b2b_icon-brandshop", "b2b_icon-brazil-nut", "b2b_icon-browser-click", "b2b_icon-browser-content", "b2b_icon-browser-psm", "b2b_icon-burger", "b2b_icon-bus", "b2b_icon-callback", "b2b_icon-camera", "b2b_icon-cashback", "b2b_icon-cashew-nut", "b2b_icon-catalogue", "b2b_icon-categories", "b2b_icon-celery", "b2b_icon-certificate", "b2b_icon-chair", "b2b_icon-chat", "b2b_icon-check-bold", "b2b_icon-check", "b2b_icon-chicken", "b2b_icon-city", "b2b_icon-clear", "b2b_icon-close-bold", "b2b_icon-close", "b2b_icon-code-management", "b2b_icon-contact-mail", "b2b_icon-copy", "b2b_icon-cow", "b2b_icon-crab", "b2b_icon-critique", "b2b_icon-curtain", "b2b_icon-cut-out", "b2b_icon-dashboard", "b2b_icon-deer", "b2b_icon-delete", "b2b_icon-delivery-24h", "b2b_icon-delivery-desired-date-selection", "b2b_icon-delivery-desired-date", "b2b_icon-delivery-express", "b2b_icon-delivery-flat", "b2b_icon-delivery-on-hangers", "b2b_icon-delivery-preferred-place", "b2b_icon-desktop-phone-ads-click", "b2b_icon-desktop-phone-ads", "b2b_icon-desktop-phone", "b2b_icon-desktop", "b2b_icon-devices-monitor-laptop-tablet", "b2b_icon-dish-feature-lactose-free", "b2b_icon-dislike", "b2b_icon-disposal", "b2b_icon-document-sign", "b2b_icon-downloads", "b2b_icon-dress", "b2b_icon-dungarees", "b2b_icon-duration", "b2b_icon-e-invoice", "b2b_icon-edit-pad", "b2b_icon-edit", "b2b_icon-egg", "b2b_icon-ellipsis", "b2b_icon-email-verification-confirmed-safe", "b2b_icon-email-verification-confirmed", "b2b_icon-email-verification-sent-safe", "b2b_icon-email-verification-sent", "b2b_icon-empty-hint", "b2b_icon-end-to-end", "b2b_icon-error-article-image", "b2b_icon-error-hint", "b2b_icon-error", "b2b_icon-euro", "b2b_icon-event", "b2b_icon-events", "b2b_icon-expand", "b2b_icon-faq", "b2b_icon-feedback", "b2b_icon-filter", "b2b_icon-fish", "b2b_icon-fitness", "b2b_icon-flag-chequered", "b2b_icon-flexible-work", "b2b_icon-flip", "b2b_icon-food-processor", "b2b_icon-fullscreen", "b2b_icon-gallery-view", "b2b_icon-gamepad", "b2b_icon-garlic", "b2b_icon-gender-intersex", "b2b_icon-globe", "b2b_icon-gluten", "b2b_icon-glutenfree", "b2b_icon-handshake", "b2b_icon-hashtag", "b2b_icon-hazelnut", "b2b_icon-hide", "b2b_icon-high-heels", "b2b_icon-home", "b2b_icon-info-small", "b2b_icon-info", "b2b_icon-inplace-zoom-reverse", "b2b_icon-inplace-zoom", "b2b_icon-insurance", "b2b_icon-kamut", "b2b_icon-laptop-os", "b2b_icon-laptop", "b2b_icon-leaving-page", "b2b_icon-light-bulb", "b2b_icon-like-fingers", "b2b_icon-like-product", "b2b_icon-like", "b2b_icon-line-graph", "b2b_icon-list-view", "b2b_icon-location", "b2b_icon-lupine", "b2b_icon-macadamia", "b2b_icon-material-samples", "b2b_icon-measurement", "b2b_icon-megaphone", "b2b_icon-menu", "b2b_icon-mic", "b2b_icon-milk", "b2b_icon-minus", "b2b_icon-module-operations", "b2b_icon-money-coins", "b2b_icon-money-document", "b2b_icon-money-plus", "b2b_icon-money-stack", "b2b_icon-money", "b2b_icon-move", "b2b_icon-mustard", "b2b_icon-nav", "b2b_icon-new", "b2b_icon-newsletter-sign-up", "b2b_icon-notification", "b2b_icon-nuts", "b2b_icon-oat", "b2b_icon-order-cancelled", "b2b_icon-order-delivered", "b2b_icon-order-form", "b2b_icon-order-management", "b2b_icon-order-misdirected", "b2b_icon-order-on-road", "b2b_icon-order-packed", "b2b_icon-order-payment", "b2b_icon-order-received", "b2b_icon-order-return", "b2b_icon-order-shipped", "b2b_icon-order-state-unknown", "b2b_icon-order-stored", "b2b_icon-order", "b2b_icon-otto-app", "b2b_icon-otto-campus", "b2b_icon-otto-company", "b2b_icon-otto-laptop", "b2b_icon-otto-logo", "b2b_icon-otto-up-points", "b2b_icon-otto-up", "b2b_icon-paper-plane", "b2b_icon-pause", "b2b_icon-payment-credit-card", "b2b_icon-payment-invoice", "b2b_icon-payment-pause", "b2b_icon-payment-plan-protection", "b2b_icon-payment-plan", "b2b_icon-pdf", "b2b_icon-peanut", "b2b_icon-pecan-nut", "b2b_icon-pending", "b2b_icon-person-access", "b2b_icon-person-callcenter", "b2b_icon-person-check", "b2b_icon-person-colleagues", "b2b_icon-person-community", "b2b_icon-person-development", "b2b_icon-person-female", "b2b_icon-person-info", "b2b_icon-person-male", "b2b_icon-person-rating", "b2b_icon-person-support", "b2b_icon-person-switch", "b2b_icon-person-workshop", "b2b_icon-person", "b2b_icon-phone-permission", "b2b_icon-phone", "b2b_icon-pig", "b2b_icon-pin", "b2b_icon-pinch-gesture", "b2b_icon-pinch", "b2b_icon-pistachio", "b2b_icon-plant", "b2b_icon-play-1", "b2b_icon-play", "b2b_icon-plus", "b2b_icon-price-alert", "b2b_icon-price-tag", "b2b_icon-print", "b2b_icon-puzzle", "b2b_icon-qr-code", "b2b_icon-question-hint", "b2b_icon-question", "b2b_icon-rating-empty", "b2b_icon-rating-filled", "b2b_icon-rating-half", "b2b_icon-rating-order", "b2b_icon-rating-payment", "b2b_icon-remote-work", "b2b_icon-repair", "b2b_icon-reply", "b2b_icon-retirement-provision", "b2b_icon-rocket", "b2b_icon-rye", "b2b_icon-sabbatical", "b2b_icon-sale", "b2b_icon-save", "b2b_icon-sea", "b2b_icon-search-enter", "b2b_icon-search", "b2b_icon-seo", "b2b_icon-service-info", "b2b_icon-sesame", "b2b_icon-settings", "b2b_icon-share-ios", "b2b_icon-share", "b2b_icon-sheep", "b2b_icon-shell", "b2b_icon-shirt", "b2b_icon-shopping-cart-euro", "b2b_icon-shopping-cart", "b2b_icon-show", "b2b_icon-smiley-angry", "b2b_icon-smiley-happy", "b2b_icon-smiley-negative", "b2b_icon-smiley-neutral", "b2b_icon-smiley-positive", "b2b_icon-sms-info", "b2b_icon-sneaker", "b2b_icon-sort-ascending", "b2b_icon-sort-descending", "b2b_icon-sort", "b2b_icon-soy", "b2b_icon-spelt", "b2b_icon-stationary", "b2b_icon-studies", "b2b_icon-success", "b2b_icon-sustainable-delivery", "b2b_icon-sustainable-energy-efficient", "b2b_icon-sustainable-production", "b2b_icon-sustainable-recycling", "b2b_icon-sustainable-resource", "b2b_icon-swipe-gesture", "b2b_icon-sync-device", "b2b_icon-t-shirt", "b2b_icon-tablet", "b2b_icon-tableware", "b2b_icon-target-group", "b2b_icon-teddy", "b2b_icon-test-result", "b2b_icon-town", "b2b_icon-trash", "b2b_icon-trend-down", "b2b_icon-trend-up", "b2b_icon-trousers", "b2b_icon-trusted", "b2b_icon-unpin", "b2b_icon-upload", "b2b_icon-user-management", "b2b_icon-vacation", "b2b_icon-variant-content", "b2b_icon-vegan", "b2b_icon-vegetarian", "b2b_icon-viewtoggle-tiles", "b2b_icon-village", "b2b_icon-volume-off", "b2b_icon-volume-on", "b2b_icon-voucher", "b2b_icon-walnut", "b2b_icon-warning", "b2b_icon-warranty", "b2b_icon-washing-machine", "b2b_icon-whatsapp", "b2b_icon-wheat", "b2b_icon-wifi", "b2b_icon-wishlist-active", "b2b_icon-wishlist", "b2b_icon-work-life", "b2b_icon-workshop", "b2b_icon-zoom-in", "b2b_icon-zoom-out"];
|
|
2
2
|
export type IconName = typeof iconTypes[number];
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { Meta } from '@storybook/web-components';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
declare const
|
|
13
|
-
export
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/web-components';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const Placeholder: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const Hint: Story;
|
|
9
|
+
export declare const Error: Story;
|
|
10
|
+
export declare const Required: Story;
|
|
11
|
+
export declare const IconEnd: Story;
|
|
12
|
+
export declare const Prefix: Story;
|
|
13
|
+
export declare const PrefixAndSuffix: Story;
|
|
14
|
+
export declare const AllPropertiesSpecified: Story;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { Meta } from '@storybook/web-components';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
6
|
-
declare const
|
|
7
|
-
export
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/web-components';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const InputList: Story;
|
|
6
|
+
export declare const Focused: Story;
|
|
7
|
+
export declare const Disabled: Story;
|
|
8
|
+
export declare const CustomList: Story;
|
|
@@ -4,6 +4,5 @@ export declare const story020Bold: any;
|
|
|
4
4
|
export declare const story030Small: any;
|
|
5
5
|
export declare const story040Center: any;
|
|
6
6
|
export declare const story050Right: any;
|
|
7
|
-
export declare const story900Playground: any;
|
|
8
7
|
declare const _default: Meta;
|
|
9
8
|
export default _default;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export declare const sampleData: {
|
|
2
2
|
columns: string[];
|
|
3
|
-
rows:
|
|
3
|
+
rows: string[][];
|
|
4
4
|
};
|
|
5
5
|
export declare const smallSampleData: {
|
|
6
6
|
columns: string[];
|
|
7
|
-
rows:
|
|
7
|
+
rows: string[][];
|
|
8
8
|
};
|
|
9
9
|
export declare const longSampleData: {
|
|
10
10
|
columns: string[];
|
|
11
|
-
rows:
|
|
11
|
+
rows: string[][];
|
|
12
12
|
};
|
|
13
13
|
export declare const userSampleData: {
|
|
14
14
|
columns: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
-
import { TableSortDirections } from '../../../utils/types/table.types';
|
|
2
|
+
import { ContentAlignment, TableSortDirections, SortIconAlignment } from '../../../utils/types/table.types';
|
|
3
3
|
export declare class TableHeaderComponent {
|
|
4
4
|
hostElement: HTMLB2bTableHeaderElement;
|
|
5
5
|
/** adds a border to the right of the header. **/
|
|
@@ -10,10 +10,13 @@ export declare class TableHeaderComponent {
|
|
|
10
10
|
sortDirection: TableSortDirections;
|
|
11
11
|
/** Optional string to uniquely represent the header, this id will be emitted by the table b2b-sort-change event. If not provided, the event will emit the header textContent. */
|
|
12
12
|
sortId?: string;
|
|
13
|
+
/** Alignment of the content of the cell, by default is to the left. **/
|
|
14
|
+
contentAlign: ContentAlignment;
|
|
13
15
|
/** Emits whenever the sort direction changes. */
|
|
14
16
|
b2bChange: EventEmitter<TableSortDirections>;
|
|
15
17
|
active: boolean;
|
|
16
|
-
|
|
18
|
+
iconAlign: SortIconAlignment;
|
|
19
|
+
componentWillRender(): void;
|
|
17
20
|
private changeSortDirection;
|
|
18
21
|
private unSortSiblings;
|
|
19
22
|
private setActive;
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import { Meta } from '@storybook/web-components';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
9
|
-
export declare const
|
|
10
|
-
export declare const
|
|
11
|
-
export declare const
|
|
12
|
-
export declare const
|
|
13
|
-
export declare const
|
|
14
|
-
export declare const
|
|
15
|
-
declare const
|
|
16
|
-
export
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/web-components';
|
|
2
|
+
type Story = StoryObj;
|
|
3
|
+
declare const meta: Meta;
|
|
4
|
+
export default meta;
|
|
5
|
+
export declare const SizeExpand: Story;
|
|
6
|
+
export declare const SizeEqual: Story;
|
|
7
|
+
export declare const SizeExpandFullWidth: Story;
|
|
8
|
+
export declare const SmallTableExpand: Story;
|
|
9
|
+
export declare const SmallTableEqual: Story;
|
|
10
|
+
export declare const FixedCellSize: Story;
|
|
11
|
+
export declare const FixedRowHeight: Story;
|
|
12
|
+
export declare const WithDividers: Story;
|
|
13
|
+
export declare const ColoredRow: Story;
|
|
14
|
+
export declare const ScrollableTable: Story;
|
|
15
|
+
export declare const SortableTable: Story;
|
|
16
|
+
export declare const SortableTableRightAlign: Story;
|
|
17
|
+
export declare const AccordionTable: Story;
|
|
18
|
+
export declare const Selectable: Story;
|
|
@@ -29,6 +29,8 @@ export declare class B2BTextareaComponent {
|
|
|
29
29
|
name?: string;
|
|
30
30
|
/** The maximum input length. Characters entered after that will not be appended to the input value. */
|
|
31
31
|
maxLength?: number;
|
|
32
|
+
/** The height of the text area */
|
|
33
|
+
height?: string;
|
|
32
34
|
/** Emits whenever the textarea receives focus. */
|
|
33
35
|
b2bFocus: EventEmitter<FocusEvent>;
|
|
34
36
|
/** Emits whenever the textarea loses focus. */
|
|
@@ -6,5 +6,6 @@ export declare const story040Hint: any;
|
|
|
6
6
|
export declare const story050Error: any;
|
|
7
7
|
export declare const story055Required: any;
|
|
8
8
|
export declare const story060AllArgs: any;
|
|
9
|
+
export declare const story070Height: any;
|
|
9
10
|
declare const _default: Meta;
|
|
10
11
|
export default _default;
|
|
@@ -5,18 +5,18 @@
|
|
|
5
5
|
* It contains typing information for all components that exist in this project.
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import {
|
|
8
|
+
import { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
9
|
+
import { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
9
10
|
import { IconName } from "./components/icon/types";
|
|
10
11
|
import { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
|
|
11
|
-
import { ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
12
12
|
import { ContentAlignment, TableAccordionRowTypes, TableColourOptions, TableRowgroupTypes, TableSizes, TableSortDirections } from "./utils/types/table.types";
|
|
13
13
|
import { CheckboxEventDetail as CheckboxEventDetail1 } from "./components";
|
|
14
14
|
import { TableAccordionSelectedEventDetail } from "./utils/interfaces/content.interface";
|
|
15
15
|
import { WizardStatus, WizardSteps } from "./utils/types/wizard.types";
|
|
16
|
-
export {
|
|
16
|
+
export { BreadCrumbChangeEventDetail, ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
17
|
+
export { CheckboxEventDetail, ChipComponentEventDetail, InputChangeEvent, InputClear, OptionSelectedEventDetail, RadioEventDetail, SearchClickEventDetail, ToggleButtonEventDetail } from "./utils/interfaces/form.interface";
|
|
17
18
|
export { IconName } from "./components/icon/types";
|
|
18
19
|
export { BeforeCloseEventDetail } from "./utils/interfaces/status.interface";
|
|
19
|
-
export { ColumnSortChangeEventDetail, PageChangeEventDetail, TabChangeEventDetail } from "./utils/interfaces/interaction.interface";
|
|
20
20
|
export { ContentAlignment, TableAccordionRowTypes, TableColourOptions, TableRowgroupTypes, TableSizes, TableSortDirections } from "./utils/types/table.types";
|
|
21
21
|
export { CheckboxEventDetail as CheckboxEventDetail1 } from "./components";
|
|
22
22
|
export { TableAccordionSelectedEventDetail } from "./utils/interfaces/content.interface";
|
|
@@ -62,6 +62,22 @@ export namespace Components {
|
|
|
62
62
|
*/
|
|
63
63
|
"target": 'self' | 'blank' | 'parent' | 'top';
|
|
64
64
|
}
|
|
65
|
+
interface B2bBreadcrumb {
|
|
66
|
+
}
|
|
67
|
+
interface B2bBreadcrumbItem {
|
|
68
|
+
/**
|
|
69
|
+
* If the item is currently selected. If true, it will not emit an event when clicked and does not have a hover state.
|
|
70
|
+
*/
|
|
71
|
+
"active": boolean;
|
|
72
|
+
/**
|
|
73
|
+
* If defined, an anchor tag will be rendered instead of a span, opening the specified link in the same context when clicked.
|
|
74
|
+
*/
|
|
75
|
+
"href": string;
|
|
76
|
+
/**
|
|
77
|
+
* The value associated with the current page. It is required, must be unique and can be a page title, an id or something similar.
|
|
78
|
+
*/
|
|
79
|
+
"value": any;
|
|
80
|
+
}
|
|
65
81
|
interface B2bButton {
|
|
66
82
|
/**
|
|
67
83
|
* Whether the button is currently active. Set to true when using the button to signify a permanent active state
|
|
@@ -196,6 +212,24 @@ export namespace Components {
|
|
|
196
212
|
*/
|
|
197
213
|
"required": boolean;
|
|
198
214
|
}
|
|
215
|
+
interface B2bChipComponent {
|
|
216
|
+
/**
|
|
217
|
+
* Whether the chip is disabled.
|
|
218
|
+
*/
|
|
219
|
+
"disabled": boolean;
|
|
220
|
+
/**
|
|
221
|
+
* Whether or not the chip component has a close button. Per default it is true.
|
|
222
|
+
*/
|
|
223
|
+
"hasCloseButton": boolean;
|
|
224
|
+
/**
|
|
225
|
+
* The text content of the chip. It is required.
|
|
226
|
+
*/
|
|
227
|
+
"label": string;
|
|
228
|
+
/**
|
|
229
|
+
* It is only used when the chip component participates in a group
|
|
230
|
+
*/
|
|
231
|
+
"value"?: any;
|
|
232
|
+
}
|
|
199
233
|
interface B2bDropdown {
|
|
200
234
|
/**
|
|
201
235
|
* Whether the select as a whole is disabled. Per default it is false.
|
|
@@ -689,6 +723,10 @@ export namespace Components {
|
|
|
689
723
|
"textWrap": boolean;
|
|
690
724
|
}
|
|
691
725
|
interface B2bTableHeader {
|
|
726
|
+
/**
|
|
727
|
+
* Alignment of the content of the cell, by default is to the left. *
|
|
728
|
+
*/
|
|
729
|
+
"contentAlign": ContentAlignment;
|
|
692
730
|
/**
|
|
693
731
|
* adds a border to the right of the header. *
|
|
694
732
|
*/
|
|
@@ -769,6 +807,10 @@ export namespace Components {
|
|
|
769
807
|
* An optional error message that is displayed when the textarea is invalid. Per default it is undefined.
|
|
770
808
|
*/
|
|
771
809
|
"error"?: string;
|
|
810
|
+
/**
|
|
811
|
+
* The height of the text area
|
|
812
|
+
*/
|
|
813
|
+
"height"?: string;
|
|
772
814
|
/**
|
|
773
815
|
* An optional hint for the textarea. Per default it is undefined.
|
|
774
816
|
*/
|
|
@@ -910,6 +952,14 @@ export interface B2bAlertCustomEvent<T> extends CustomEvent<T> {
|
|
|
910
952
|
detail: T;
|
|
911
953
|
target: HTMLB2bAlertElement;
|
|
912
954
|
}
|
|
955
|
+
export interface B2bBreadcrumbCustomEvent<T> extends CustomEvent<T> {
|
|
956
|
+
detail: T;
|
|
957
|
+
target: HTMLB2bBreadcrumbElement;
|
|
958
|
+
}
|
|
959
|
+
export interface B2bBreadcrumbItemCustomEvent<T> extends CustomEvent<T> {
|
|
960
|
+
detail: T;
|
|
961
|
+
target: HTMLB2bBreadcrumbItemElement;
|
|
962
|
+
}
|
|
913
963
|
export interface B2bCardCustomEvent<T> extends CustomEvent<T> {
|
|
914
964
|
detail: T;
|
|
915
965
|
target: HTMLB2bCardElement;
|
|
@@ -922,6 +972,10 @@ export interface B2bCheckboxGroupCustomEvent<T> extends CustomEvent<T> {
|
|
|
922
972
|
detail: T;
|
|
923
973
|
target: HTMLB2bCheckboxGroupElement;
|
|
924
974
|
}
|
|
975
|
+
export interface B2bChipComponentCustomEvent<T> extends CustomEvent<T> {
|
|
976
|
+
detail: T;
|
|
977
|
+
target: HTMLB2bChipComponentElement;
|
|
978
|
+
}
|
|
925
979
|
export interface B2bDropdownCustomEvent<T> extends CustomEvent<T> {
|
|
926
980
|
detail: T;
|
|
927
981
|
target: HTMLB2bDropdownElement;
|
|
@@ -1007,6 +1061,18 @@ declare global {
|
|
|
1007
1061
|
prototype: HTMLB2bAnchorElement;
|
|
1008
1062
|
new (): HTMLB2bAnchorElement;
|
|
1009
1063
|
};
|
|
1064
|
+
interface HTMLB2bBreadcrumbElement extends Components.B2bBreadcrumb, HTMLStencilElement {
|
|
1065
|
+
}
|
|
1066
|
+
var HTMLB2bBreadcrumbElement: {
|
|
1067
|
+
prototype: HTMLB2bBreadcrumbElement;
|
|
1068
|
+
new (): HTMLB2bBreadcrumbElement;
|
|
1069
|
+
};
|
|
1070
|
+
interface HTMLB2bBreadcrumbItemElement extends Components.B2bBreadcrumbItem, HTMLStencilElement {
|
|
1071
|
+
}
|
|
1072
|
+
var HTMLB2bBreadcrumbItemElement: {
|
|
1073
|
+
prototype: HTMLB2bBreadcrumbItemElement;
|
|
1074
|
+
new (): HTMLB2bBreadcrumbItemElement;
|
|
1075
|
+
};
|
|
1010
1076
|
interface HTMLB2bButtonElement extends Components.B2bButton, HTMLStencilElement {
|
|
1011
1077
|
}
|
|
1012
1078
|
var HTMLB2bButtonElement: {
|
|
@@ -1031,6 +1097,12 @@ declare global {
|
|
|
1031
1097
|
prototype: HTMLB2bCheckboxGroupElement;
|
|
1032
1098
|
new (): HTMLB2bCheckboxGroupElement;
|
|
1033
1099
|
};
|
|
1100
|
+
interface HTMLB2bChipComponentElement extends Components.B2bChipComponent, HTMLStencilElement {
|
|
1101
|
+
}
|
|
1102
|
+
var HTMLB2bChipComponentElement: {
|
|
1103
|
+
prototype: HTMLB2bChipComponentElement;
|
|
1104
|
+
new (): HTMLB2bChipComponentElement;
|
|
1105
|
+
};
|
|
1034
1106
|
interface HTMLB2bDropdownElement extends Components.B2bDropdown, HTMLStencilElement {
|
|
1035
1107
|
}
|
|
1036
1108
|
var HTMLB2bDropdownElement: {
|
|
@@ -1290,10 +1362,13 @@ declare global {
|
|
|
1290
1362
|
interface HTMLElementTagNameMap {
|
|
1291
1363
|
"b2b-alert": HTMLB2bAlertElement;
|
|
1292
1364
|
"b2b-anchor": HTMLB2bAnchorElement;
|
|
1365
|
+
"b2b-breadcrumb": HTMLB2bBreadcrumbElement;
|
|
1366
|
+
"b2b-breadcrumb-item": HTMLB2bBreadcrumbItemElement;
|
|
1293
1367
|
"b2b-button": HTMLB2bButtonElement;
|
|
1294
1368
|
"b2b-card": HTMLB2bCardElement;
|
|
1295
1369
|
"b2b-checkbox": HTMLB2bCheckboxElement;
|
|
1296
1370
|
"b2b-checkbox-group": HTMLB2bCheckboxGroupElement;
|
|
1371
|
+
"b2b-chip-component": HTMLB2bChipComponentElement;
|
|
1297
1372
|
"b2b-dropdown": HTMLB2bDropdownElement;
|
|
1298
1373
|
"b2b-grid": HTMLB2bGridElement;
|
|
1299
1374
|
"b2b-grid-col": HTMLB2bGridColElement;
|
|
@@ -1379,6 +1454,26 @@ declare namespace LocalJSX {
|
|
|
1379
1454
|
*/
|
|
1380
1455
|
"target"?: 'self' | 'blank' | 'parent' | 'top';
|
|
1381
1456
|
}
|
|
1457
|
+
interface B2bBreadcrumb {
|
|
1458
|
+
/**
|
|
1459
|
+
* Emits the value of the currently selected item whenever an item is selected.
|
|
1460
|
+
*/
|
|
1461
|
+
"onB2b-selected"?: (event: B2bBreadcrumbCustomEvent<BreadCrumbChangeEventDetail>) => void;
|
|
1462
|
+
}
|
|
1463
|
+
interface B2bBreadcrumbItem {
|
|
1464
|
+
/**
|
|
1465
|
+
* If the item is currently selected. If true, it will not emit an event when clicked and does not have a hover state.
|
|
1466
|
+
*/
|
|
1467
|
+
"active"?: boolean;
|
|
1468
|
+
/**
|
|
1469
|
+
* If defined, an anchor tag will be rendered instead of a span, opening the specified link in the same context when clicked.
|
|
1470
|
+
*/
|
|
1471
|
+
"href"?: string;
|
|
1472
|
+
/**
|
|
1473
|
+
* The value associated with the current page. It is required, must be unique and can be a page title, an id or something similar.
|
|
1474
|
+
*/
|
|
1475
|
+
"value": any;
|
|
1476
|
+
}
|
|
1382
1477
|
interface B2bButton {
|
|
1383
1478
|
/**
|
|
1384
1479
|
* Whether the button is currently active. Set to true when using the button to signify a permanent active state
|
|
@@ -1527,6 +1622,28 @@ declare namespace LocalJSX {
|
|
|
1527
1622
|
*/
|
|
1528
1623
|
"required"?: boolean;
|
|
1529
1624
|
}
|
|
1625
|
+
interface B2bChipComponent {
|
|
1626
|
+
/**
|
|
1627
|
+
* Whether the chip is disabled.
|
|
1628
|
+
*/
|
|
1629
|
+
"disabled"?: boolean;
|
|
1630
|
+
/**
|
|
1631
|
+
* Whether or not the chip component has a close button. Per default it is true.
|
|
1632
|
+
*/
|
|
1633
|
+
"hasCloseButton"?: boolean;
|
|
1634
|
+
/**
|
|
1635
|
+
* The text content of the chip. It is required.
|
|
1636
|
+
*/
|
|
1637
|
+
"label": string;
|
|
1638
|
+
/**
|
|
1639
|
+
* This event will be triggered when the chip element is closed
|
|
1640
|
+
*/
|
|
1641
|
+
"onB2b-close"?: (event: B2bChipComponentCustomEvent<ChipComponentEventDetail>) => void;
|
|
1642
|
+
/**
|
|
1643
|
+
* It is only used when the chip component participates in a group
|
|
1644
|
+
*/
|
|
1645
|
+
"value"?: any;
|
|
1646
|
+
}
|
|
1530
1647
|
interface B2bDropdown {
|
|
1531
1648
|
/**
|
|
1532
1649
|
* Whether the select as a whole is disabled. Per default it is false.
|
|
@@ -2086,6 +2203,10 @@ declare namespace LocalJSX {
|
|
|
2086
2203
|
"textWrap"?: boolean;
|
|
2087
2204
|
}
|
|
2088
2205
|
interface B2bTableHeader {
|
|
2206
|
+
/**
|
|
2207
|
+
* Alignment of the content of the cell, by default is to the left. *
|
|
2208
|
+
*/
|
|
2209
|
+
"contentAlign"?: ContentAlignment;
|
|
2089
2210
|
/**
|
|
2090
2211
|
* adds a border to the right of the header. *
|
|
2091
2212
|
*/
|
|
@@ -2176,6 +2297,10 @@ declare namespace LocalJSX {
|
|
|
2176
2297
|
* An optional error message that is displayed when the textarea is invalid. Per default it is undefined.
|
|
2177
2298
|
*/
|
|
2178
2299
|
"error"?: string;
|
|
2300
|
+
/**
|
|
2301
|
+
* The height of the text area
|
|
2302
|
+
*/
|
|
2303
|
+
"height"?: string;
|
|
2179
2304
|
/**
|
|
2180
2305
|
* An optional hint for the textarea. Per default it is undefined.
|
|
2181
2306
|
*/
|
|
@@ -2335,10 +2460,13 @@ declare namespace LocalJSX {
|
|
|
2335
2460
|
interface IntrinsicElements {
|
|
2336
2461
|
"b2b-alert": B2bAlert;
|
|
2337
2462
|
"b2b-anchor": B2bAnchor;
|
|
2463
|
+
"b2b-breadcrumb": B2bBreadcrumb;
|
|
2464
|
+
"b2b-breadcrumb-item": B2bBreadcrumbItem;
|
|
2338
2465
|
"b2b-button": B2bButton;
|
|
2339
2466
|
"b2b-card": B2bCard;
|
|
2340
2467
|
"b2b-checkbox": B2bCheckbox;
|
|
2341
2468
|
"b2b-checkbox-group": B2bCheckboxGroup;
|
|
2469
|
+
"b2b-chip-component": B2bChipComponent;
|
|
2342
2470
|
"b2b-dropdown": B2bDropdown;
|
|
2343
2471
|
"b2b-grid": B2bGrid;
|
|
2344
2472
|
"b2b-grid-col": B2bGridCol;
|
|
@@ -2385,10 +2513,13 @@ declare module "@stencil/core" {
|
|
|
2385
2513
|
interface IntrinsicElements {
|
|
2386
2514
|
"b2b-alert": LocalJSX.B2bAlert & JSXBase.HTMLAttributes<HTMLB2bAlertElement>;
|
|
2387
2515
|
"b2b-anchor": LocalJSX.B2bAnchor & JSXBase.HTMLAttributes<HTMLB2bAnchorElement>;
|
|
2516
|
+
"b2b-breadcrumb": LocalJSX.B2bBreadcrumb & JSXBase.HTMLAttributes<HTMLB2bBreadcrumbElement>;
|
|
2517
|
+
"b2b-breadcrumb-item": LocalJSX.B2bBreadcrumbItem & JSXBase.HTMLAttributes<HTMLB2bBreadcrumbItemElement>;
|
|
2388
2518
|
"b2b-button": LocalJSX.B2bButton & JSXBase.HTMLAttributes<HTMLB2bButtonElement>;
|
|
2389
2519
|
"b2b-card": LocalJSX.B2bCard & JSXBase.HTMLAttributes<HTMLB2bCardElement>;
|
|
2390
2520
|
"b2b-checkbox": LocalJSX.B2bCheckbox & JSXBase.HTMLAttributes<HTMLB2bCheckboxElement>;
|
|
2391
2521
|
"b2b-checkbox-group": LocalJSX.B2bCheckboxGroup & JSXBase.HTMLAttributes<HTMLB2bCheckboxGroupElement>;
|
|
2522
|
+
"b2b-chip-component": LocalJSX.B2bChipComponent & JSXBase.HTMLAttributes<HTMLB2bChipComponentElement>;
|
|
2392
2523
|
"b2b-dropdown": LocalJSX.B2bDropdown & JSXBase.HTMLAttributes<HTMLB2bDropdownElement>;
|
|
2393
2524
|
"b2b-grid": LocalJSX.B2bGrid & JSXBase.HTMLAttributes<HTMLB2bGridElement>;
|
|
2394
2525
|
"b2b-grid-col": LocalJSX.B2bGridCol & JSXBase.HTMLAttributes<HTMLB2bGridColElement>;
|
|
@@ -15,6 +15,12 @@ export declare const ContentAlignment: {
|
|
|
15
15
|
readonly CENTER: "center";
|
|
16
16
|
};
|
|
17
17
|
export type ContentAlignment = (typeof ContentAlignment)[keyof typeof ContentAlignment];
|
|
18
|
+
export declare const SortIconAlignment: {
|
|
19
|
+
readonly LEFT: "left";
|
|
20
|
+
readonly RIGHT: "right";
|
|
21
|
+
readonly CENTER: "center";
|
|
22
|
+
};
|
|
23
|
+
export type SortIconAlignment = (typeof SortIconAlignment)[keyof typeof SortIconAlignment];
|
|
18
24
|
export declare const TableSortDirections: {
|
|
19
25
|
readonly NOT: "not-sorted";
|
|
20
26
|
readonly ASC: "ascending";
|