@db-ux/wc-core-components 1.0.0-test-13b991d
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/README.md +92 -0
- package/dist/cjs/app-globals-3a1e7e63.js +7 -0
- package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
- package/dist/cjs/constants-89822e5f.js +116 -0
- package/dist/cjs/constants-89822e5f.js.map +1 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js +73 -0
- package/dist/cjs/db-accordion-item.cjs.entry.js.map +1 -0
- package/dist/cjs/db-accordion.cjs.entry.js +130 -0
- package/dist/cjs/db-accordion.cjs.entry.js.map +1 -0
- package/dist/cjs/db-badge.cjs.entry.js +75 -0
- package/dist/cjs/db-badge.cjs.entry.js.map +1 -0
- package/dist/cjs/db-brand.cjs.entry.js +58 -0
- package/dist/cjs/db-brand.cjs.entry.js.map +1 -0
- package/dist/cjs/db-button.cjs.entry.js +62 -0
- package/dist/cjs/db-button.cjs.entry.js.map +1 -0
- package/dist/cjs/db-card.cjs.entry.js +62 -0
- package/dist/cjs/db-card.cjs.entry.js.map +1 -0
- package/dist/cjs/db-checkbox.cjs.entry.js +149 -0
- package/dist/cjs/db-checkbox.cjs.entry.js.map +1 -0
- package/dist/cjs/db-divider.cjs.entry.js +56 -0
- package/dist/cjs/db-divider.cjs.entry.js.map +1 -0
- package/dist/cjs/db-drawer.cjs.entry.js +108 -0
- package/dist/cjs/db-drawer.cjs.entry.js.map +1 -0
- package/dist/cjs/db-header.cjs.entry.js +89 -0
- package/dist/cjs/db-header.cjs.entry.js.map +1 -0
- package/dist/cjs/db-icon.cjs.entry.js +56 -0
- package/dist/cjs/db-icon.cjs.entry.js.map +1 -0
- package/dist/cjs/db-infotext.cjs.entry.js +57 -0
- package/dist/cjs/db-infotext.cjs.entry.js.map +1 -0
- package/dist/cjs/db-input.cjs.entry.js +157 -0
- package/dist/cjs/db-input.cjs.entry.js.map +1 -0
- package/dist/cjs/db-link.cjs.entry.js +63 -0
- package/dist/cjs/db-link.cjs.entry.js.map +1 -0
- package/dist/cjs/db-navigation-item.cjs.entry.js +102 -0
- package/dist/cjs/db-navigation-item.cjs.entry.js.map +1 -0
- package/dist/cjs/db-navigation.cjs.entry.js +59 -0
- package/dist/cjs/db-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/db-notification.cjs.entry.js +64 -0
- package/dist/cjs/db-notification.cjs.entry.js.map +1 -0
- package/dist/cjs/db-page.cjs.entry.js +73 -0
- package/dist/cjs/db-page.cjs.entry.js.map +1 -0
- package/dist/cjs/db-popover.cjs.entry.js +113 -0
- package/dist/cjs/db-popover.cjs.entry.js.map +1 -0
- package/dist/cjs/db-radio.cjs.entry.js +98 -0
- package/dist/cjs/db-radio.cjs.entry.js.map +1 -0
- package/dist/cjs/db-section.cjs.entry.js +59 -0
- package/dist/cjs/db-section.cjs.entry.js.map +1 -0
- package/dist/cjs/db-select.cjs.entry.js +170 -0
- package/dist/cjs/db-select.cjs.entry.js.map +1 -0
- package/dist/cjs/db-stack.cjs.entry.js +56 -0
- package/dist/cjs/db-stack.cjs.entry.js.map +1 -0
- package/dist/cjs/db-switch.cjs.entry.js +91 -0
- package/dist/cjs/db-switch.cjs.entry.js.map +1 -0
- package/dist/cjs/db-tab-item_3.cjs.entry.js +175 -0
- package/dist/cjs/db-tab-item_3.cjs.entry.js.map +1 -0
- package/dist/cjs/db-tabs.cjs.entry.js +173 -0
- package/dist/cjs/db-tabs.cjs.entry.js.map +1 -0
- package/dist/cjs/db-tag.cjs.entry.js +83 -0
- package/dist/cjs/db-tag.cjs.entry.js.map +1 -0
- package/dist/cjs/db-textarea.cjs.entry.js +144 -0
- package/dist/cjs/db-textarea.cjs.entry.js.map +1 -0
- package/dist/cjs/db-tooltip.cjs.entry.js +86 -0
- package/dist/cjs/db-tooltip.cjs.entry.js.map +1 -0
- package/dist/cjs/db-ux.cjs.js +27 -0
- package/dist/cjs/db-ux.cjs.js.map +1 -0
- package/dist/cjs/index-3d093f06.js +1496 -0
- package/dist/cjs/index-3d093f06.js.map +1 -0
- package/dist/cjs/index-c0df827d.js +169 -0
- package/dist/cjs/index-c0df827d.js.map +1 -0
- package/dist/cjs/index.cjs.js +118 -0
- package/dist/cjs/index.cjs.js.map +1 -0
- package/dist/cjs/loader.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js.map +1 -0
- package/dist/cjs/navigation-bb2d5552.js +140 -0
- package/dist/cjs/navigation-bb2d5552.js.map +1 -0
- package/dist/collection/collection-manifest.json +42 -0
- package/dist/collection/components/accordion/accordion.js +311 -0
- package/dist/collection/components/accordion/accordion.js.map +1 -0
- package/dist/collection/components/accordion/index.js +3 -0
- package/dist/collection/components/accordion/index.js.map +1 -0
- package/dist/collection/components/accordion/model.js +3 -0
- package/dist/collection/components/accordion/model.js.map +1 -0
- package/dist/collection/components/accordion-item/accordion-item.js +246 -0
- package/dist/collection/components/accordion-item/accordion-item.js.map +1 -0
- package/dist/collection/components/accordion-item/index.js +3 -0
- package/dist/collection/components/accordion-item/index.js.map +1 -0
- package/dist/collection/components/accordion-item/model.js +2 -0
- package/dist/collection/components/accordion-item/model.js.map +1 -0
- package/dist/collection/components/badge/badge.js +280 -0
- package/dist/collection/components/badge/badge.js.map +1 -0
- package/dist/collection/components/badge/index.js +3 -0
- package/dist/collection/components/badge/index.js.map +1 -0
- package/dist/collection/components/badge/model.js +2 -0
- package/dist/collection/components/badge/model.js.map +1 -0
- package/dist/collection/components/brand/brand.js +206 -0
- package/dist/collection/components/brand/brand.js.map +1 -0
- package/dist/collection/components/brand/index.js +3 -0
- package/dist/collection/components/brand/index.js.map +1 -0
- package/dist/collection/components/brand/model.js +2 -0
- package/dist/collection/components/brand/model.js.map +1 -0
- package/dist/collection/components/button/button.js +527 -0
- package/dist/collection/components/button/button.js.map +1 -0
- package/dist/collection/components/button/index.js +3 -0
- package/dist/collection/components/button/index.js.map +1 -0
- package/dist/collection/components/button/model.js +4 -0
- package/dist/collection/components/button/model.js.map +1 -0
- package/dist/collection/components/card/card.js +202 -0
- package/dist/collection/components/card/card.js.map +1 -0
- package/dist/collection/components/card/index.js +3 -0
- package/dist/collection/components/card/index.js.map +1 -0
- package/dist/collection/components/card/model.js +3 -0
- package/dist/collection/components/card/model.js.map +1 -0
- package/dist/collection/components/checkbox/checkbox.js +699 -0
- package/dist/collection/components/checkbox/checkbox.js.map +1 -0
- package/dist/collection/components/checkbox/index.js +3 -0
- package/dist/collection/components/checkbox/index.js.map +1 -0
- package/dist/collection/components/checkbox/model.js +2 -0
- package/dist/collection/components/checkbox/model.js.map +1 -0
- package/dist/collection/components/divider/divider.js +204 -0
- package/dist/collection/components/divider/divider.js.map +1 -0
- package/dist/collection/components/divider/index.js +3 -0
- package/dist/collection/components/divider/index.js.map +1 -0
- package/dist/collection/components/divider/model.js +3 -0
- package/dist/collection/components/divider/model.js.map +1 -0
- package/dist/collection/components/drawer/drawer.js +398 -0
- package/dist/collection/components/drawer/drawer.js.map +1 -0
- package/dist/collection/components/drawer/index.js +3 -0
- package/dist/collection/components/drawer/index.js.map +1 -0
- package/dist/collection/components/drawer/model.js +4 -0
- package/dist/collection/components/drawer/model.js.map +1 -0
- package/dist/collection/components/header/header.js +266 -0
- package/dist/collection/components/header/header.js.map +1 -0
- package/dist/collection/components/header/index.js +3 -0
- package/dist/collection/components/header/index.js.map +1 -0
- package/dist/collection/components/header/model.js +2 -0
- package/dist/collection/components/header/model.js.map +1 -0
- package/dist/collection/components/icon/icon.js +204 -0
- package/dist/collection/components/icon/icon.js.map +1 -0
- package/dist/collection/components/icon/index.js +3 -0
- package/dist/collection/components/icon/index.js.map +1 -0
- package/dist/collection/components/icon/model.js +3 -0
- package/dist/collection/components/icon/model.js.map +1 -0
- package/dist/collection/components/infotext/index.js +3 -0
- package/dist/collection/components/infotext/index.js.map +1 -0
- package/dist/collection/components/infotext/infotext.js +230 -0
- package/dist/collection/components/infotext/infotext.js.map +1 -0
- package/dist/collection/components/infotext/model.js +2 -0
- package/dist/collection/components/infotext/model.js.map +1 -0
- package/dist/collection/components/input/index.js +3 -0
- package/dist/collection/components/input/index.js.map +1 -0
- package/dist/collection/components/input/input.js +1118 -0
- package/dist/collection/components/input/input.js.map +1 -0
- package/dist/collection/components/input/model.js +6 -0
- package/dist/collection/components/input/model.js.map +1 -0
- package/dist/collection/components/link/index.js +3 -0
- package/dist/collection/components/link/index.js.map +1 -0
- package/dist/collection/components/link/link.js +478 -0
- package/dist/collection/components/link/link.js.map +1 -0
- package/dist/collection/components/link/model.js +4 -0
- package/dist/collection/components/link/model.js.map +1 -0
- package/dist/collection/components/navigation/index.js +3 -0
- package/dist/collection/components/navigation/index.js.map +1 -0
- package/dist/collection/components/navigation/model.js +2 -0
- package/dist/collection/components/navigation/model.js.map +1 -0
- package/dist/collection/components/navigation/navigation.js +139 -0
- package/dist/collection/components/navigation/navigation.js.map +1 -0
- package/dist/collection/components/navigation-item/index.js +3 -0
- package/dist/collection/components/navigation-item/index.js.map +1 -0
- package/dist/collection/components/navigation-item/model.js +2 -0
- package/dist/collection/components/navigation-item/model.js.map +1 -0
- package/dist/collection/components/navigation-item/navigation-item.js +404 -0
- package/dist/collection/components/navigation-item/navigation-item.js.map +1 -0
- package/dist/collection/components/notification/index.js +3 -0
- package/dist/collection/components/notification/index.js.map +1 -0
- package/dist/collection/components/notification/model.js +4 -0
- package/dist/collection/components/notification/model.js.map +1 -0
- package/dist/collection/components/notification/notification.js +480 -0
- package/dist/collection/components/notification/notification.js.map +1 -0
- package/dist/collection/components/page/index.js +3 -0
- package/dist/collection/components/page/index.js.map +1 -0
- package/dist/collection/components/page/model.js +3 -0
- package/dist/collection/components/page/model.js.map +1 -0
- package/dist/collection/components/page/page.js +204 -0
- package/dist/collection/components/page/page.js.map +1 -0
- package/dist/collection/components/popover/index.js +3 -0
- package/dist/collection/components/popover/index.js.map +1 -0
- package/dist/collection/components/popover/model.js +2 -0
- package/dist/collection/components/popover/model.js.map +1 -0
- package/dist/collection/components/popover/popover.js +344 -0
- package/dist/collection/components/popover/popover.js.map +1 -0
- package/dist/collection/components/radio/index.js +3 -0
- package/dist/collection/components/radio/index.js.map +1 -0
- package/dist/collection/components/radio/model.js +2 -0
- package/dist/collection/components/radio/model.js.map +1 -0
- package/dist/collection/components/radio/radio.js +518 -0
- package/dist/collection/components/radio/radio.js.map +1 -0
- package/dist/collection/components/section/index.js +3 -0
- package/dist/collection/components/section/index.js.map +1 -0
- package/dist/collection/components/section/model.js +2 -0
- package/dist/collection/components/section/model.js.map +1 -0
- package/dist/collection/components/section/section.js +164 -0
- package/dist/collection/components/section/section.js.map +1 -0
- package/dist/collection/components/select/index.js +3 -0
- package/dist/collection/components/select/index.js.map +1 -0
- package/dist/collection/components/select/model.js +2 -0
- package/dist/collection/components/select/model.js.map +1 -0
- package/dist/collection/components/select/select.js +846 -0
- package/dist/collection/components/select/select.js.map +1 -0
- package/dist/collection/components/stack/index.js +3 -0
- package/dist/collection/components/stack/index.js.map +1 -0
- package/dist/collection/components/stack/model.js +5 -0
- package/dist/collection/components/stack/model.js.map +1 -0
- package/dist/collection/components/stack/stack.js +254 -0
- package/dist/collection/components/stack/stack.js.map +1 -0
- package/dist/collection/components/switch/index.js +3 -0
- package/dist/collection/components/switch/index.js.map +1 -0
- package/dist/collection/components/switch/model.js +2 -0
- package/dist/collection/components/switch/model.js.map +1 -0
- package/dist/collection/components/switch/switch.js +587 -0
- package/dist/collection/components/switch/switch.js.map +1 -0
- package/dist/collection/components/tab-item/index.js +3 -0
- package/dist/collection/components/tab-item/index.js.map +1 -0
- package/dist/collection/components/tab-item/model.js +2 -0
- package/dist/collection/components/tab-item/model.js.map +1 -0
- package/dist/collection/components/tab-item/tab-item.js +399 -0
- package/dist/collection/components/tab-item/tab-item.js.map +1 -0
- package/dist/collection/components/tab-list/index.js +3 -0
- package/dist/collection/components/tab-list/index.js.map +1 -0
- package/dist/collection/components/tab-list/model.js +2 -0
- package/dist/collection/components/tab-list/model.js.map +1 -0
- package/dist/collection/components/tab-list/tab-list.js +114 -0
- package/dist/collection/components/tab-list/tab-list.js.map +1 -0
- package/dist/collection/components/tab-panel/index.js +3 -0
- package/dist/collection/components/tab-panel/index.js.map +1 -0
- package/dist/collection/components/tab-panel/model.js +2 -0
- package/dist/collection/components/tab-panel/model.js.map +1 -0
- package/dist/collection/components/tab-panel/tab-panel.js +154 -0
- package/dist/collection/components/tab-panel/tab-panel.js.map +1 -0
- package/dist/collection/components/tabs/index.js +3 -0
- package/dist/collection/components/tabs/index.js.map +1 -0
- package/dist/collection/components/tabs/model.js +3 -0
- package/dist/collection/components/tabs/model.js.map +1 -0
- package/dist/collection/components/tabs/tabs.js +458 -0
- package/dist/collection/components/tabs/tabs.js.map +1 -0
- package/dist/collection/components/tag/index.js +3 -0
- package/dist/collection/components/tag/index.js.map +1 -0
- package/dist/collection/components/tag/model.js +2 -0
- package/dist/collection/components/tag/model.js.map +1 -0
- package/dist/collection/components/tag/tag.js +430 -0
- package/dist/collection/components/tag/tag.js.map +1 -0
- package/dist/collection/components/textarea/index.js +3 -0
- package/dist/collection/components/textarea/index.js.map +1 -0
- package/dist/collection/components/textarea/model.js +3 -0
- package/dist/collection/components/textarea/model.js.map +1 -0
- package/dist/collection/components/textarea/textarea.js +956 -0
- package/dist/collection/components/textarea/textarea.js.map +1 -0
- package/dist/collection/components/tooltip/index.js +3 -0
- package/dist/collection/components/tooltip/index.js.map +1 -0
- package/dist/collection/components/tooltip/model.js +2 -0
- package/dist/collection/components/tooltip/model.js.map +1 -0
- package/dist/collection/components/tooltip/tooltip.js +292 -0
- package/dist/collection/components/tooltip/tooltip.js.map +1 -0
- package/dist/collection/index.js +37 -0
- package/dist/collection/index.js.map +1 -0
- package/dist/collection/shared/constants.js +88 -0
- package/dist/collection/shared/constants.js.map +1 -0
- package/dist/collection/shared/model.js +22 -0
- package/dist/collection/shared/model.js.map +1 -0
- package/dist/collection/utils/form-components.js +11 -0
- package/dist/collection/utils/form-components.js.map +1 -0
- package/dist/collection/utils/index.js +167 -0
- package/dist/collection/utils/index.js.map +1 -0
- package/dist/collection/utils/navigation.js +137 -0
- package/dist/collection/utils/navigation.js.map +1 -0
- package/dist/custom-elements.json +13474 -0
- package/dist/db-ux/db-ux.esm.js +2 -0
- package/dist/db-ux/db-ux.esm.js.map +1 -0
- package/dist/db-ux/index.esm.js +2 -0
- package/dist/db-ux/index.esm.js.map +1 -0
- package/dist/db-ux/p-031e9fbf.entry.js +2 -0
- package/dist/db-ux/p-031e9fbf.entry.js.map +1 -0
- package/dist/db-ux/p-08126c21.entry.js +2 -0
- package/dist/db-ux/p-08126c21.entry.js.map +1 -0
- package/dist/db-ux/p-1066cd52.entry.js +2 -0
- package/dist/db-ux/p-1066cd52.entry.js.map +1 -0
- package/dist/db-ux/p-10d30f53.entry.js +2 -0
- package/dist/db-ux/p-10d30f53.entry.js.map +1 -0
- package/dist/db-ux/p-1566cfef.entry.js +2 -0
- package/dist/db-ux/p-1566cfef.entry.js.map +1 -0
- package/dist/db-ux/p-1c12853c.entry.js +2 -0
- package/dist/db-ux/p-1c12853c.entry.js.map +1 -0
- package/dist/db-ux/p-1feee149.js +3 -0
- package/dist/db-ux/p-1feee149.js.map +1 -0
- package/dist/db-ux/p-2d32aa06.entry.js +2 -0
- package/dist/db-ux/p-2d32aa06.entry.js.map +1 -0
- package/dist/db-ux/p-2e318e2a.entry.js +2 -0
- package/dist/db-ux/p-2e318e2a.entry.js.map +1 -0
- package/dist/db-ux/p-34f88e4e.js +2 -0
- package/dist/db-ux/p-34f88e4e.js.map +1 -0
- package/dist/db-ux/p-3f2e2d87.entry.js +2 -0
- package/dist/db-ux/p-3f2e2d87.entry.js.map +1 -0
- package/dist/db-ux/p-43aa16d7.entry.js +2 -0
- package/dist/db-ux/p-43aa16d7.entry.js.map +1 -0
- package/dist/db-ux/p-5a689165.entry.js +2 -0
- package/dist/db-ux/p-5a689165.entry.js.map +1 -0
- package/dist/db-ux/p-683d690f.entry.js +2 -0
- package/dist/db-ux/p-683d690f.entry.js.map +1 -0
- package/dist/db-ux/p-6b6f1f7f.entry.js +2 -0
- package/dist/db-ux/p-6b6f1f7f.entry.js.map +1 -0
- package/dist/db-ux/p-6f645f17.entry.js +2 -0
- package/dist/db-ux/p-6f645f17.entry.js.map +1 -0
- package/dist/db-ux/p-71cb932e.entry.js +2 -0
- package/dist/db-ux/p-71cb932e.entry.js.map +1 -0
- package/dist/db-ux/p-78e5293a.entry.js +2 -0
- package/dist/db-ux/p-78e5293a.entry.js.map +1 -0
- package/dist/db-ux/p-79b43b42.entry.js +2 -0
- package/dist/db-ux/p-79b43b42.entry.js.map +1 -0
- package/dist/db-ux/p-79d9caa7.entry.js +2 -0
- package/dist/db-ux/p-79d9caa7.entry.js.map +1 -0
- package/dist/db-ux/p-871805e1.entry.js +2 -0
- package/dist/db-ux/p-871805e1.entry.js.map +1 -0
- package/dist/db-ux/p-8e2a086b.entry.js +2 -0
- package/dist/db-ux/p-8e2a086b.entry.js.map +1 -0
- package/dist/db-ux/p-99d90022.js +2 -0
- package/dist/db-ux/p-99d90022.js.map +1 -0
- package/dist/db-ux/p-a3be13fd.entry.js +2 -0
- package/dist/db-ux/p-a3be13fd.entry.js.map +1 -0
- package/dist/db-ux/p-a494046c.entry.js +2 -0
- package/dist/db-ux/p-a494046c.entry.js.map +1 -0
- package/dist/db-ux/p-ab8a1944.entry.js +2 -0
- package/dist/db-ux/p-ab8a1944.entry.js.map +1 -0
- package/dist/db-ux/p-af3834b6.js +2 -0
- package/dist/db-ux/p-af3834b6.js.map +1 -0
- package/dist/db-ux/p-b0f1a571.entry.js +2 -0
- package/dist/db-ux/p-b0f1a571.entry.js.map +1 -0
- package/dist/db-ux/p-b47af6eb.entry.js +2 -0
- package/dist/db-ux/p-b47af6eb.entry.js.map +1 -0
- package/dist/db-ux/p-c6d54dd4.entry.js +2 -0
- package/dist/db-ux/p-c6d54dd4.entry.js.map +1 -0
- package/dist/db-ux/p-d48f3770.entry.js +2 -0
- package/dist/db-ux/p-d48f3770.entry.js.map +1 -0
- package/dist/db-ux/p-e1255160.js +2 -0
- package/dist/db-ux/p-e1255160.js.map +1 -0
- package/dist/db-ux/p-f65f4eac.entry.js +2 -0
- package/dist/db-ux/p-f65f4eac.entry.js.map +1 -0
- package/dist/db-ux/p-fea6db86.entry.js +2 -0
- package/dist/db-ux/p-fea6db86.entry.js.map +1 -0
- package/dist/esm/app-globals-0f993ce5.js +5 -0
- package/dist/esm/app-globals-0f993ce5.js.map +1 -0
- package/dist/esm/constants-745cf8d7.js +91 -0
- package/dist/esm/constants-745cf8d7.js.map +1 -0
- package/dist/esm/db-accordion-item.entry.js +69 -0
- package/dist/esm/db-accordion-item.entry.js.map +1 -0
- package/dist/esm/db-accordion.entry.js +126 -0
- package/dist/esm/db-accordion.entry.js.map +1 -0
- package/dist/esm/db-badge.entry.js +71 -0
- package/dist/esm/db-badge.entry.js.map +1 -0
- package/dist/esm/db-brand.entry.js +54 -0
- package/dist/esm/db-brand.entry.js.map +1 -0
- package/dist/esm/db-button.entry.js +58 -0
- package/dist/esm/db-button.entry.js.map +1 -0
- package/dist/esm/db-card.entry.js +58 -0
- package/dist/esm/db-card.entry.js.map +1 -0
- package/dist/esm/db-checkbox.entry.js +145 -0
- package/dist/esm/db-checkbox.entry.js.map +1 -0
- package/dist/esm/db-divider.entry.js +52 -0
- package/dist/esm/db-divider.entry.js.map +1 -0
- package/dist/esm/db-drawer.entry.js +104 -0
- package/dist/esm/db-drawer.entry.js.map +1 -0
- package/dist/esm/db-header.entry.js +85 -0
- package/dist/esm/db-header.entry.js.map +1 -0
- package/dist/esm/db-icon.entry.js +52 -0
- package/dist/esm/db-icon.entry.js.map +1 -0
- package/dist/esm/db-infotext.entry.js +53 -0
- package/dist/esm/db-infotext.entry.js.map +1 -0
- package/dist/esm/db-input.entry.js +153 -0
- package/dist/esm/db-input.entry.js.map +1 -0
- package/dist/esm/db-link.entry.js +59 -0
- package/dist/esm/db-link.entry.js.map +1 -0
- package/dist/esm/db-navigation-item.entry.js +98 -0
- package/dist/esm/db-navigation-item.entry.js.map +1 -0
- package/dist/esm/db-navigation.entry.js +55 -0
- package/dist/esm/db-navigation.entry.js.map +1 -0
- package/dist/esm/db-notification.entry.js +60 -0
- package/dist/esm/db-notification.entry.js.map +1 -0
- package/dist/esm/db-page.entry.js +69 -0
- package/dist/esm/db-page.entry.js.map +1 -0
- package/dist/esm/db-popover.entry.js +109 -0
- package/dist/esm/db-popover.entry.js.map +1 -0
- package/dist/esm/db-radio.entry.js +94 -0
- package/dist/esm/db-radio.entry.js.map +1 -0
- package/dist/esm/db-section.entry.js +55 -0
- package/dist/esm/db-section.entry.js.map +1 -0
- package/dist/esm/db-select.entry.js +166 -0
- package/dist/esm/db-select.entry.js.map +1 -0
- package/dist/esm/db-stack.entry.js +52 -0
- package/dist/esm/db-stack.entry.js.map +1 -0
- package/dist/esm/db-switch.entry.js +87 -0
- package/dist/esm/db-switch.entry.js.map +1 -0
- package/dist/esm/db-tab-item_3.entry.js +169 -0
- package/dist/esm/db-tab-item_3.entry.js.map +1 -0
- package/dist/esm/db-tabs.entry.js +169 -0
- package/dist/esm/db-tabs.entry.js.map +1 -0
- package/dist/esm/db-tag.entry.js +79 -0
- package/dist/esm/db-tag.entry.js.map +1 -0
- package/dist/esm/db-textarea.entry.js +140 -0
- package/dist/esm/db-textarea.entry.js.map +1 -0
- package/dist/esm/db-tooltip.entry.js +82 -0
- package/dist/esm/db-tooltip.entry.js.map +1 -0
- package/dist/esm/db-ux.js +22 -0
- package/dist/esm/db-ux.js.map +1 -0
- package/dist/esm/index-5be50117.js +1468 -0
- package/dist/esm/index-5be50117.js.map +1 -0
- package/dist/esm/index-fad99efc.js +153 -0
- package/dist/esm/index-fad99efc.js.map +1 -0
- package/dist/esm/index.js +30 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/loader.js +13 -0
- package/dist/esm/loader.js.map +1 -0
- package/dist/esm/navigation-9fec9921.js +137 -0
- package/dist/esm/navigation-9fec9921.js.map +1 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/loader/cdn.js +1 -0
- package/dist/loader/index.cjs.js +1 -0
- package/dist/loader/index.d.ts +24 -0
- package/dist/loader/index.es2017.js +1 -0
- package/dist/loader/index.js +2 -0
- package/dist/loader/package.json +11 -0
- package/dist/types/components/accordion/accordion.d.ts +29 -0
- package/dist/types/components/accordion/index.d.ts +2 -0
- package/dist/types/components/accordion/model.d.ts +41 -0
- package/dist/types/components/accordion-item/accordion-item.d.ts +27 -0
- package/dist/types/components/accordion-item/index.d.ts +2 -0
- package/dist/types/components/accordion-item/model.d.ts +24 -0
- package/dist/types/components/badge/badge.d.ts +26 -0
- package/dist/types/components/badge/index.d.ts +2 -0
- package/dist/types/components/badge/model.d.ts +16 -0
- package/dist/types/components/brand/brand.d.ts +22 -0
- package/dist/types/components/brand/index.d.ts +2 -0
- package/dist/types/components/brand/model.d.ts +10 -0
- package/dist/types/components/button/button.d.ts +37 -0
- package/dist/types/components/button/index.d.ts +2 -0
- package/dist/types/components/button/model.d.ts +52 -0
- package/dist/types/components/card/card.d.ts +24 -0
- package/dist/types/components/card/index.d.ts +2 -0
- package/dist/types/components/card/model.d.ts +18 -0
- package/dist/types/components/checkbox/checkbox.d.ts +51 -0
- package/dist/types/components/checkbox/index.d.ts +2 -0
- package/dist/types/components/checkbox/model.d.ts +10 -0
- package/dist/types/components/divider/divider.d.ts +22 -0
- package/dist/types/components/divider/index.d.ts +2 -0
- package/dist/types/components/divider/model.d.ts +18 -0
- package/dist/types/components/drawer/drawer.d.ts +32 -0
- package/dist/types/components/drawer/index.d.ts +2 -0
- package/dist/types/components/drawer/model.d.ts +41 -0
- package/dist/types/components/header/header.d.ts +32 -0
- package/dist/types/components/header/index.d.ts +2 -0
- package/dist/types/components/header/model.d.ts +44 -0
- package/dist/types/components/icon/icon.d.ts +22 -0
- package/dist/types/components/icon/index.d.ts +2 -0
- package/dist/types/components/icon/model.d.ts +12 -0
- package/dist/types/components/infotext/index.d.ts +2 -0
- package/dist/types/components/infotext/infotext.d.ts +23 -0
- package/dist/types/components/infotext/model.d.ts +5 -0
- package/dist/types/components/input/index.d.ts +2 -0
- package/dist/types/components/input/input.d.ts +71 -0
- package/dist/types/components/input/model.d.ts +39 -0
- package/dist/types/components/link/index.d.ts +2 -0
- package/dist/types/components/link/link.d.ts +35 -0
- package/dist/types/components/link/model.d.ts +24 -0
- package/dist/types/components/navigation/index.d.ts +2 -0
- package/dist/types/components/navigation/model.d.ts +5 -0
- package/dist/types/components/navigation/navigation.d.ts +20 -0
- package/dist/types/components/navigation-item/index.d.ts +2 -0
- package/dist/types/components/navigation-item/model.d.ts +34 -0
- package/dist/types/components/navigation-item/navigation-item.d.ts +39 -0
- package/dist/types/components/notification/index.d.ts +2 -0
- package/dist/types/components/notification/model.d.ts +57 -0
- package/dist/types/components/notification/notification.d.ts +36 -0
- package/dist/types/components/page/index.d.ts +2 -0
- package/dist/types/components/page/model.d.ts +32 -0
- package/dist/types/components/page/page.d.ts +24 -0
- package/dist/types/components/popover/index.d.ts +2 -0
- package/dist/types/components/popover/model.d.ts +18 -0
- package/dist/types/components/popover/popover.d.ts +31 -0
- package/dist/types/components/radio/index.d.ts +2 -0
- package/dist/types/components/radio/model.d.ts +7 -0
- package/dist/types/components/radio/radio.d.ts +41 -0
- package/dist/types/components/section/index.d.ts +2 -0
- package/dist/types/components/section/model.d.ts +5 -0
- package/dist/types/components/section/section.d.ts +21 -0
- package/dist/types/components/select/index.d.ts +2 -0
- package/dist/types/components/select/model.d.ts +43 -0
- package/dist/types/components/select/select.d.ts +62 -0
- package/dist/types/components/stack/index.d.ts +2 -0
- package/dist/types/components/stack/model.d.ts +34 -0
- package/dist/types/components/stack/stack.d.ts +24 -0
- package/dist/types/components/switch/index.d.ts +2 -0
- package/dist/types/components/switch/model.d.ts +12 -0
- package/dist/types/components/switch/switch.d.ts +44 -0
- package/dist/types/components/tab-item/index.d.ts +2 -0
- package/dist/types/components/tab-item/model.d.ts +24 -0
- package/dist/types/components/tab-item/tab-item.d.ts +34 -0
- package/dist/types/components/tab-list/index.d.ts +2 -0
- package/dist/types/components/tab-list/model.d.ts +5 -0
- package/dist/types/components/tab-list/tab-list.d.ts +19 -0
- package/dist/types/components/tab-panel/index.d.ts +2 -0
- package/dist/types/components/tab-panel/model.d.ts +10 -0
- package/dist/types/components/tab-panel/tab-panel.d.ts +20 -0
- package/dist/types/components/tabs/index.d.ts +2 -0
- package/dist/types/components/tabs/model.d.ts +47 -0
- package/dist/types/components/tabs/tabs.d.ts +39 -0
- package/dist/types/components/tag/index.d.ts +2 -0
- package/dist/types/components/tag/model.d.ts +45 -0
- package/dist/types/components/tag/tag.d.ts +34 -0
- package/dist/types/components/textarea/index.d.ts +2 -0
- package/dist/types/components/textarea/model.d.ts +30 -0
- package/dist/types/components/textarea/textarea.d.ts +63 -0
- package/dist/types/components/tooltip/index.d.ts +2 -0
- package/dist/types/components/tooltip/model.d.ts +7 -0
- package/dist/types/components/tooltip/tooltip.d.ts +30 -0
- package/dist/types/components.d.ts +1479 -0
- package/dist/types/index.d.ts +36 -0
- package/dist/types/shared/constants.d.ts +83 -0
- package/dist/types/shared/model.d.ts +445 -0
- package/dist/types/stencil-public-runtime.d.ts +1680 -0
- package/dist/types/utils/form-components.d.ts +2 -0
- package/dist/types/utils/index.d.ts +61 -0
- package/dist/types/utils/navigation.d.ts +32 -0
- package/dist/vscode.html-custom-data.json +2245 -0
- package/dist/web-types.json +3991 -0
- package/package.json +48 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
import { cls, uuid } from "../../utils";
|
|
2
|
+
import { DEFAULT_ID } from "../../shared/constants";
|
|
3
|
+
import { h } from "@stencil/core";
|
|
4
|
+
/**
|
|
5
|
+
* @slot children - This is a default/unnamed slot
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
export class DBSection {
|
|
9
|
+
constructor() {
|
|
10
|
+
this._id = DEFAULT_ID;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.
|
|
14
|
+
* @param element the ref for the component
|
|
15
|
+
* @param customElementSelector the custom element like `my-component`
|
|
16
|
+
*/
|
|
17
|
+
enableAttributePassing(element, customElementSelector) {
|
|
18
|
+
const parent = element === null || element === void 0 ? void 0 : element.closest(customElementSelector);
|
|
19
|
+
if (element && parent) {
|
|
20
|
+
const attributes = parent.attributes;
|
|
21
|
+
for (let i = 0; i < attributes.length; i++) {
|
|
22
|
+
const attr = attributes.item(i);
|
|
23
|
+
if (attr &&
|
|
24
|
+
(attr.name.startsWith("data-") || attr.name.startsWith("aria-"))) {
|
|
25
|
+
element.setAttribute(attr.name, attr.value);
|
|
26
|
+
parent.removeAttribute(attr.name);
|
|
27
|
+
}
|
|
28
|
+
if (attr && attr.name === "class") {
|
|
29
|
+
const isWebComponent = attr.value.includes("hydrated");
|
|
30
|
+
const value = attr.value.replace("hydrated", "").trim();
|
|
31
|
+
const currentClass = element.getAttribute("class");
|
|
32
|
+
element.setAttribute(attr.name, `${currentClass ? `${currentClass} ` : ""}${value}`);
|
|
33
|
+
if (isWebComponent) {
|
|
34
|
+
// Stencil is using this class for lazy loading component
|
|
35
|
+
parent.setAttribute("class", "hydrated");
|
|
36
|
+
}
|
|
37
|
+
else {
|
|
38
|
+
parent.removeAttribute(attr.name);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
componentDidLoad() {
|
|
45
|
+
this.enableAttributePassing(this._ref, "db-section");
|
|
46
|
+
this._id = this.id || "section-" + uuid();
|
|
47
|
+
}
|
|
48
|
+
render() {
|
|
49
|
+
return (h("section", { key: 'e7968521b6967bc9832d0953f3adf5c0f12263c4', class: cls("db-section", this.className), ref: (el) => {
|
|
50
|
+
this._ref = el;
|
|
51
|
+
}, id: this._id, "data-spacing": this.spacing || "medium", "data-width": this.width }, h("slot", { key: 'a87c12f1d2379a3e6a41b7db1d1e5ba3dc64d60c' })));
|
|
52
|
+
}
|
|
53
|
+
static get is() { return "db-section"; }
|
|
54
|
+
static get properties() {
|
|
55
|
+
return {
|
|
56
|
+
"id": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"mutable": false,
|
|
59
|
+
"complexType": {
|
|
60
|
+
"original": "DBSectionProps[\"id\"]",
|
|
61
|
+
"resolved": "string",
|
|
62
|
+
"references": {
|
|
63
|
+
"DBSectionProps": {
|
|
64
|
+
"location": "import",
|
|
65
|
+
"path": "./model",
|
|
66
|
+
"id": "src/components/section/model.ts::DBSectionProps"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
"required": false,
|
|
71
|
+
"optional": false,
|
|
72
|
+
"docs": {
|
|
73
|
+
"tags": [],
|
|
74
|
+
"text": ""
|
|
75
|
+
},
|
|
76
|
+
"getter": false,
|
|
77
|
+
"setter": false,
|
|
78
|
+
"attribute": "id",
|
|
79
|
+
"reflect": false
|
|
80
|
+
},
|
|
81
|
+
"className": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"mutable": false,
|
|
84
|
+
"complexType": {
|
|
85
|
+
"original": "DBSectionProps[\"className\"]",
|
|
86
|
+
"resolved": "string",
|
|
87
|
+
"references": {
|
|
88
|
+
"DBSectionProps": {
|
|
89
|
+
"location": "import",
|
|
90
|
+
"path": "./model",
|
|
91
|
+
"id": "src/components/section/model.ts::DBSectionProps"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"required": false,
|
|
96
|
+
"optional": false,
|
|
97
|
+
"docs": {
|
|
98
|
+
"tags": [],
|
|
99
|
+
"text": ""
|
|
100
|
+
},
|
|
101
|
+
"getter": false,
|
|
102
|
+
"setter": false,
|
|
103
|
+
"attribute": "classname",
|
|
104
|
+
"reflect": false
|
|
105
|
+
},
|
|
106
|
+
"spacing": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"mutable": false,
|
|
109
|
+
"complexType": {
|
|
110
|
+
"original": "DBSectionProps[\"spacing\"]",
|
|
111
|
+
"resolved": "\"large\" | \"medium\" | \"none\" | \"small\"",
|
|
112
|
+
"references": {
|
|
113
|
+
"DBSectionProps": {
|
|
114
|
+
"location": "import",
|
|
115
|
+
"path": "./model",
|
|
116
|
+
"id": "src/components/section/model.ts::DBSectionProps"
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
"required": false,
|
|
121
|
+
"optional": false,
|
|
122
|
+
"docs": {
|
|
123
|
+
"tags": [],
|
|
124
|
+
"text": ""
|
|
125
|
+
},
|
|
126
|
+
"getter": false,
|
|
127
|
+
"setter": false,
|
|
128
|
+
"attribute": "spacing",
|
|
129
|
+
"reflect": false
|
|
130
|
+
},
|
|
131
|
+
"width": {
|
|
132
|
+
"type": "string",
|
|
133
|
+
"mutable": false,
|
|
134
|
+
"complexType": {
|
|
135
|
+
"original": "DBSectionProps[\"width\"]",
|
|
136
|
+
"resolved": "\"full\" | \"large\" | \"medium\" | \"small\"",
|
|
137
|
+
"references": {
|
|
138
|
+
"DBSectionProps": {
|
|
139
|
+
"location": "import",
|
|
140
|
+
"path": "./model",
|
|
141
|
+
"id": "src/components/section/model.ts::DBSectionProps"
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": ""
|
|
150
|
+
},
|
|
151
|
+
"getter": false,
|
|
152
|
+
"setter": false,
|
|
153
|
+
"attribute": "width",
|
|
154
|
+
"reflect": false
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
static get states() {
|
|
159
|
+
return {
|
|
160
|
+
"_id": {}
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
//# sourceMappingURL=section.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"section.js","sourceRoot":"","sources":["../../../src/components/section/section.tsx"],"names":[],"mappings":"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","sourcesContent":["import { DBSectionProps, DBSectionState } from \"./model\";\nimport { cls, uuid } from \"../../utils\";\nimport { DEFAULT_ID } from \"../../shared/constants\";\n\nimport { Component, h, Fragment, Prop, State } from \"@stencil/core\";\n\n\n/**\n * @slot children - This is a default/unnamed slot\n\n */\n @Component({\n tag: \"db-section\",\n})\nexport class DBSection {\n private _ref!: HTMLDivElement | null;\n @Prop() id: DBSectionProps[\"id\"];\n @Prop({attribute: \"classname\"}) className: DBSectionProps[\"className\"];\n @Prop() spacing: DBSectionProps[\"spacing\"];\n @Prop() width: DBSectionProps[\"width\"];\n\n @State() _id = DEFAULT_ID;\n\n /**\n * Passes `aria-*`, `data-*` & `class` attributes to correct child. Used in angular and stencil.\n * @param element the ref for the component\n * @param customElementSelector the custom element like `my-component`\n */\n private enableAttributePassing(\n element: HTMLElement | null,\n customElementSelector: string\n ) {\n const parent = element?.closest(customElementSelector);\n if (element && parent) {\n const attributes = parent.attributes;\n for (let i = 0; i < attributes.length; i++) {\n const attr = attributes.item(i);\n if (\n attr &&\n (attr.name.startsWith(\"data-\") || attr.name.startsWith(\"aria-\"))\n ) {\n element.setAttribute(attr.name, attr.value);\n parent.removeAttribute(attr.name);\n }\n if (attr && attr.name === \"class\") {\n const isWebComponent = attr.value.includes(\"hydrated\");\n const value = attr.value.replace(\"hydrated\", \"\").trim();\n const currentClass = element.getAttribute(\"class\");\n element.setAttribute(\n attr.name,\n `${currentClass ? `${currentClass} ` : \"\"}${value}`\n );\n if (isWebComponent) {\n // Stencil is using this class for lazy loading component\n parent.setAttribute(\"class\", \"hydrated\");\n } else {\n parent.removeAttribute(attr.name);\n }\n }\n }\n }\n }\n\n componentDidLoad() {\n this.enableAttributePassing(this._ref, \"db-section\");\n this._id = this.id || \"section-\" + uuid();\n }\n\n render() {\n return (\n <section\n class={cls(\"db-section\", this.className)}\n ref={(el: any) => {\n this._ref = el;\n }}\n id={this._id}\n data-spacing={this.spacing || \"medium\"}\n data-width={this.width}\n >\n <slot></slot>\n </section>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/components/select/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAe,QAAQ,CAAC","sourcesContent":["import { DBSelect } from './select';\n\nexport default DBSelect;"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../../src/components/select/model.ts"],"names":[],"mappings":"","sourcesContent":["import { ChangeEventProps, ChangeEventState, ClickEventProps, ClickEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, GlobalProps, GlobalState, IconProps, InitializedState, InputEventProps, InputEventState, ShowIconProps } from '../../shared/model';\nexport type DBSelectDefaultProps = {\n /**\n * The description attribute will add a paragraph below the select.\n */\n description?: string;\n\n /**\n * If you don't/can't use children/slots you can pass in the options as an array.\n */\n options?: DBSelectOptionType[];\n};\nexport type DBSelectOptionType = {\n /**\n * Identifier for option\n */\n id?: string;\n\n /**\n * Disables this option\n */\n disabled?: boolean;\n\n /**\n * Selects this option\n */\n selected?: boolean;\n\n /**\n * If the value is different from the label you want to show to the user.\n */\n label?: string;\n\n /**\n * If you want to use optgroup you can nest options here.\n */\n options?: DBSelectOptionType[];\n\n /**\n * The main value you select, will be shown as default label if no label is set.\n */\n value: string | string[] | number;\n};\nexport type DBSelectProps = DBSelectDefaultProps & GlobalProps & ClickEventProps<HTMLSelectElement> & ChangeEventProps<HTMLSelectElement> & FocusEventProps<HTMLSelectElement> & InputEventProps<HTMLSelectElement> & FormProps & IconProps & FormMessageProps & ShowIconProps;\nexport type DBSelectDefaultState = {\n _placeholderId: string;\n getOptionLabel: (option: DBSelectOptionType) => string;\n};\nexport type DBSelectState = DBSelectDefaultState & GlobalState & ClickEventState<HTMLSelectElement> & ChangeEventState<HTMLSelectElement> & FocusEventState<HTMLSelectElement> & InputEventState<HTMLSelectElement> & FormState & InitializedState"]}
|