bromcom-ui 2.12.3 → 3.0.0-alpha.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/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4ca7e0e7.entry.js → p-10687c62.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c49b6287.entry.js → p-19ed830b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32c55505.entry.js → p-1a7e1a74.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d59d9687.entry.js → p-1fbec9e4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0cc8f86.entry.js → p-2afde14e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-beaec5b8.js → p-2d0ff35e.js} +1 -1
- package/dist/bromcom-ui/{p-21bacc22.js → p-31a60231.js} +1 -1
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6bdf0cbc.js → p-3be27626.js} +1 -1
- package/dist/bromcom-ui/{p-6bea284a.js → p-499d8454.js} +1 -1
- package/dist/bromcom-ui/{p-a6aa173f.entry.js → p-4a71c61a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f34cf2a.entry.js → p-4cc12992.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c77541f4.js → p-4d2bf0e7.js} +2 -2
- package/dist/bromcom-ui/p-556010cb.js +5 -0
- package/dist/bromcom-ui/{p-3aaa60b9.entry.js → p-56b9cdf7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b558b0f.entry.js → p-583982a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ef5cba72.js → p-59dc2542.js} +1 -1
- package/dist/bromcom-ui/{p-d623e891.entry.js → p-5adcfd9b.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/{p-375e9750.entry.js → p-5f47e061.entry.js} +1 -1
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/{p-d6b1465a.entry.js → p-6d42e250.entry.js} +1 -1
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c018ae0.js → p-6f2e4c9b.js} +1 -1
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-6f861fed.js} +1 -1
- package/dist/bromcom-ui/{p-d1298c40.js → p-7b21fcb9.js} +1 -1
- package/dist/bromcom-ui/p-815f884d.entry.js +5 -0
- package/dist/bromcom-ui/{p-6657830f.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-8fa7d3c3.entry.js → p-8c009880.entry.js} +1 -1
- package/dist/bromcom-ui/p-8d0d0c5b.entry.js +5 -0
- package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/{p-0715c523.entry.js → p-8f062608.entry.js} +1 -1
- package/dist/bromcom-ui/p-9cbf3f1d.entry.js +16 -0
- package/dist/bromcom-ui/{p-aeb4be41.js → p-a2df6c19.js} +1 -1
- package/dist/bromcom-ui/p-a2e0a182.entry.js +5 -0
- package/dist/bromcom-ui/{p-2b42d77e.entry.js → p-a6b4a46d.entry.js} +1 -1
- package/dist/bromcom-ui/p-a6b696de.js +5 -0
- package/dist/bromcom-ui/p-a947136c.entry.js +5 -0
- package/dist/bromcom-ui/{p-bb6f4952.entry.js → p-ac720743.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3288f732.entry.js → p-b3af25ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-77ef609e.entry.js → p-b46e368e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d53c9b92.entry.js → p-bae91cbf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1141f58d.entry.js → p-c10b25e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-59f7fa84.entry.js → p-c4bf7f7e.entry.js} +1 -1
- package/dist/bromcom-ui/p-c4d524b5.entry.js +5 -0
- package/dist/bromcom-ui/{p-9b59c689.entry.js → p-c5bb29d0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5d670fd7.entry.js → p-cc70861b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8eaa3bb.entry.js → p-d0e56f5f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5d266fd0.entry.js → p-d49d3d72.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0d6d680.js → p-d65bc842.js} +1 -1
- package/dist/bromcom-ui/{p-cb7d5481.entry.js → p-dc2d5b2f.entry.js} +1 -1
- package/dist/bromcom-ui/p-dc73abe2.js +5 -0
- package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/p-e46fde49.js +5 -0
- package/dist/bromcom-ui/{p-083126ea.entry.js → p-e499306b.entry.js} +1 -1
- package/dist/bromcom-ui/p-ebd9132c.entry.js +5 -0
- package/dist/bromcom-ui/{p-1812bfb7.entry.js → p-f5a8e601.entry.js} +1 -1
- package/dist/bromcom-ui/{p-19b32974.entry.js → p-f66c4afa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a486613b.entry.js → p-fdd4cabe.entry.js} +1 -1
- package/dist/cjs/bcm-accordion_68.cjs.entry.js +47182 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +3 -3
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-number-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +17 -17
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-f8a78504.js} +9 -9
- package/dist/cjs/{generate-b43c3d3b.js → generate-e3956756.js} +13 -13
- package/dist/cjs/{input.style-b5676e6a.js → input.style-bee84fb0.js} +1 -1
- package/dist/cjs/{label-template-e83447b5.js → label-template-fc301e0c.js} +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-a708fa79.js → number-helper-43361f4e.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{validators-84d8ae28.js → validators-9a6ae72d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.style.js +4 -4
- package/dist/collection/components/atoms/badge/badge.style.js +8 -8
- package/dist/collection/components/atoms/button/button.css +90 -92
- package/dist/collection/components/atoms/button/button.js +45 -46
- package/dist/collection/components/atoms/chip/chip.css +27 -29
- package/dist/collection/components/atoms/chip/chip.js +10 -11
- package/dist/collection/components/atoms/divider/divider.css +4 -4
- package/dist/collection/components/atoms/link/link.css +10 -11
- package/dist/collection/components/molecules/accordion/accordion.css +23 -0
- package/dist/collection/components/molecules/accordion/accordion.js +1 -1
- package/dist/collection/components/molecules/alert/alert.css +28 -24
- package/dist/collection/components/molecules/alert/alert.js +26 -36
- package/dist/collection/components/molecules/button-group/button-group.css +15 -23
- package/dist/collection/components/molecules/checkbox/checkbox.css +15 -15
- package/dist/collection/components/molecules/checkbox/checkbox.js +8 -9
- package/dist/collection/components/molecules/color-input/color-input.js +1 -1
- package/dist/collection/components/molecules/empty/empty.js +1 -1
- package/dist/collection/components/molecules/error-layout/error-layout.css +13 -15
- package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +25 -22
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/molecules/input/input.css +21 -13
- package/dist/collection/components/molecules/input/input.style.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +29 -23
- package/dist/collection/components/molecules/modal/modal.css +21 -27
- package/dist/collection/components/molecules/radio/radio.js +10 -10
- package/dist/collection/components/molecules/range/range.css +5 -8
- package/dist/collection/components/molecules/search/search.css +21 -13
- package/dist/collection/components/molecules/stepper/stepper.css +6 -5
- package/dist/collection/components/molecules/switch/switch.css +22 -21
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +6 -6
- package/dist/collection/components/molecules/textarea/textarea.css +21 -13
- package/dist/collection/components/organism/list/list.css +44 -44
- package/dist/collection/components/other/shortcut/shortcut.js +4 -4
- package/dist/collection/components/other/toast/toast.js +16 -16
- package/dist/collection/components/third-parts/colorful/colorful.css +21 -13
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +13 -9
- package/dist/collection/global/components/_checkbox.css +15 -15
- package/dist/collection/helper/popover-helper.js +5 -5
- package/dist/collection/helper/tooltip-helper.js +6 -6
- package/dist/collection/templates/caption-template.js +9 -9
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +4 -4
- package/dist/collection/templates/step-template.js +4 -4
- package/dist/components/Overflow.js +141 -83
- package/dist/components/avatar.js +6 -6
- package/dist/components/badge.js +9 -9
- package/dist/components/bcm-accordion.js +2 -2
- package/dist/components/bcm-alert.js +28 -41
- package/dist/components/bcm-attendance-actions-comment.js +1 -1
- package/dist/components/bcm-attendance-actions-dropdown.js +1 -1
- package/dist/components/bcm-attendance-actions.js +1 -1
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-color-input.js +1 -1
- package/dist/components/bcm-error-layout.js +2 -2
- package/dist/components/bcm-expansion-panel.js +2 -2
- package/dist/components/bcm-input-2.js +1 -1
- package/dist/components/bcm-input-dropdown.js +1 -1
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-popover.js +5 -5
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-shortcut.js +4 -4
- package/dist/components/bcm-stepper.js +6 -6
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-item-header.js +6 -6
- package/dist/components/bcm-toast.js +16 -16
- package/dist/components/button.js +47 -48
- package/dist/components/caption-template.js +9 -9
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +9 -10
- package/dist/components/chip.js +11 -12
- package/dist/components/colorful.js +1 -1
- package/dist/components/divider.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/index4.js +2549 -171
- package/dist/components/index5.js +171 -2549
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.style.js +2 -2
- package/dist/components/label.js +4 -4
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +10 -10
- package/dist/components/rc-picker.js +2651 -2404
- package/dist/components/search.js +2 -2
- package/dist/components/skeleton.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/tooltip-helper.js +6 -6
- package/dist/esm/{_commonjsHelpers-82aa9212.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/bcm-accordion_68.entry.js +47111 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +10 -10
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +11 -11
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +5 -5
- package/dist/esm/bcm-caption.entry.js +12 -12
- package/dist/esm/bcm-card.entry.js +9 -9
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +7 -7
- package/dist/esm/bcm-datetime-picker.entry.js +11 -11
- package/dist/esm/bcm-default.entry.js +4 -4
- package/dist/esm/bcm-form-2.entry.js +6 -6
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-2.entry.js +9 -9
- package/dist/esm/bcm-input-custom.entry.js +5 -5
- package/dist/esm/bcm-input-dropdown.entry.js +12 -12
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
- package/dist/esm/bcm-modal-2-header.entry.js +10 -10
- package/dist/esm/bcm-modal-2.entry.js +11 -11
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +13 -13
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-react-number.entry.js +3 -3
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-skeleton.entry.js +10 -10
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +11 -11
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +7 -7
- package/dist/esm/bcm-time-picker.entry.js +7 -7
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +23 -23
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +4 -4
- package/dist/esm/{caption-template-d7953d13.js → caption-template-16dd9444.js} +11 -11
- package/dist/esm/{color-helper-74614f24.js → color-helper-ba15b0d8.js} +2 -2
- package/dist/esm/{colors-dd598eea.js → colors-ed4e7579.js} +1 -1
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-b75266e6.js} +1 -1
- package/dist/esm/{generate-d009624a.js → generate-d2495751.js} +14 -14
- package/dist/esm/{global-f1d14ca8.js → global-88abdcdc.js} +1 -1
- package/dist/esm/{index-f549811f.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-036974d7.js → index-0d3a56ec.js} +1 -1
- package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
- package/dist/esm/{input.style-e855c0f3.js → input.style-0ddc0073.js} +1 -1
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{label-template-a26f76c0.js → label-template-4c3797f4.js} +6 -6
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{number-helper-b7a7a318.js → number-helper-a1e5c9e5.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -10
- package/dist/esm/old-bcm-popover.entry.js +5 -5
- package/dist/esm/{popover-placement-d12fec40.js → popover-placement-2bf3a181.js} +1 -1
- package/dist/esm/{slot-template-2a19b2db.js → slot-template-e0202c5a.js} +2 -2
- package/dist/esm/{string-helper-3592bdc2.js → string-helper-69203215.js} +1 -1
- package/dist/esm/{utils-57652744.js → utils-7727d09e.js} +1 -1
- package/dist/esm/{validators-5519219e.js → validators-57df25a7.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
- package/dist/types/components/molecules/alert/alert.d.ts +1 -3
- package/dist/types/components.d.ts +0 -2
- package/package.json +1 -1
- package/dist/bromcom-ui/p-01dde034.entry.js +0 -5
- package/dist/bromcom-ui/p-01ffa0a9.entry.js +0 -5
- package/dist/bromcom-ui/p-096837b5.entry.js +0 -5
- package/dist/bromcom-ui/p-09cb8ce4.entry.js +0 -5
- package/dist/bromcom-ui/p-0a3ce86e.entry.js +0 -5
- package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
- package/dist/bromcom-ui/p-177e1e89.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-270e1b24.entry.js +0 -5
- package/dist/bromcom-ui/p-29bc95a1.entry.js +0 -5
- package/dist/bromcom-ui/p-2b02c9d5.entry.js +0 -5
- package/dist/bromcom-ui/p-2b0c3160.entry.js +0 -5
- package/dist/bromcom-ui/p-2cd6cdee.js +0 -5
- package/dist/bromcom-ui/p-2e96086c.entry.js +0 -5
- package/dist/bromcom-ui/p-349400c6.entry.js +0 -5
- package/dist/bromcom-ui/p-376a20ed.js +0 -5
- package/dist/bromcom-ui/p-41276d76.entry.js +0 -5
- package/dist/bromcom-ui/p-4393b33e.entry.js +0 -5
- package/dist/bromcom-ui/p-45a24494.entry.js +0 -5
- package/dist/bromcom-ui/p-4874c7d0.entry.js +0 -5
- package/dist/bromcom-ui/p-49bc13a0.entry.js +0 -5
- package/dist/bromcom-ui/p-4bd65d2f.entry.js +0 -5
- package/dist/bromcom-ui/p-4e03575c.entry.js +0 -7
- package/dist/bromcom-ui/p-4f0bf943.entry.js +0 -5
- package/dist/bromcom-ui/p-6404c57b.entry.js +0 -5
- package/dist/bromcom-ui/p-68b95b96.entry.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-790ff40a.entry.js +0 -5
- package/dist/bromcom-ui/p-7c3dcd4e.entry.js +0 -5
- package/dist/bromcom-ui/p-7dbfff1b.entry.js +0 -5
- package/dist/bromcom-ui/p-7fa0942c.js +0 -5
- package/dist/bromcom-ui/p-8256af97.entry.js +0 -5
- package/dist/bromcom-ui/p-85936d14.entry.js +0 -5
- package/dist/bromcom-ui/p-8b6d3a37.js +0 -5
- package/dist/bromcom-ui/p-8bc7d1dc.entry.js +0 -5
- package/dist/bromcom-ui/p-8d17c696.entry.js +0 -5
- package/dist/bromcom-ui/p-8f32198d.js +0 -14
- package/dist/bromcom-ui/p-8f519009.entry.js +0 -5
- package/dist/bromcom-ui/p-904b0c28.entry.js +0 -5
- package/dist/bromcom-ui/p-915fd3f1.entry.js +0 -5
- package/dist/bromcom-ui/p-93c2058f.entry.js +0 -5
- package/dist/bromcom-ui/p-96d7ab4a.entry.js +0 -5
- package/dist/bromcom-ui/p-9c0bc44a.js +0 -5
- package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
- package/dist/bromcom-ui/p-a23e04ba.entry.js +0 -5
- package/dist/bromcom-ui/p-a6b1a008.entry.js +0 -5
- package/dist/bromcom-ui/p-ab0ad97f.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-c1a992e7.entry.js +0 -5
- package/dist/bromcom-ui/p-c1c51cf2.entry.js +0 -5
- package/dist/bromcom-ui/p-cbb99519.entry.js +0 -5
- package/dist/bromcom-ui/p-cedb9ca3.js +0 -5
- package/dist/bromcom-ui/p-d0cd1d32.entry.js +0 -5
- package/dist/bromcom-ui/p-d231f047.entry.js +0 -5
- package/dist/bromcom-ui/p-d44ec0ea.entry.js +0 -5
- package/dist/bromcom-ui/p-d5f03511.entry.js +0 -5
- package/dist/bromcom-ui/p-e0ab7b38.js +0 -11
- package/dist/bromcom-ui/p-e1b6f98e.entry.js +0 -5
- package/dist/bromcom-ui/p-e25c4375.entry.js +0 -5
- package/dist/bromcom-ui/p-e29aebf7.entry.js +0 -5
- package/dist/bromcom-ui/p-eaa94da0.entry.js +0 -5
- package/dist/bromcom-ui/p-ec957130.entry.js +0 -5
- package/dist/bromcom-ui/p-eca0acda.js +0 -5
- package/dist/bromcom-ui/p-f5074bd8.js +0 -5
- package/dist/bromcom-ui/p-fb081ff7.entry.js +0 -5
- package/dist/bromcom-ui/p-fc787048.entry.js +0 -5
- package/dist/bromcom-ui/p-fdf2e30b.entry.js +0 -5
- package/dist/bromcom-ui/p-feed1c5a.entry.js +0 -5
- package/dist/cjs/Overflow-5a73947b.js +0 -2233
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -99
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
- package/dist/cjs/bcm-button.cjs.entry.js +0 -372
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2529
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
- package/dist/cjs/bcm-chip-group.cjs.entry.js +0 -128
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -43
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -62
- package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -251
- package/dist/cjs/bcm-date_6.cjs.entry.js +0 -15363
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -64
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
- package/dist/cjs/bcm-input_2.cjs.entry.js +0 -550
- package/dist/cjs/bcm-item.cjs.entry.js +0 -72
- package/dist/cjs/bcm-items.cjs.entry.js +0 -49
- package/dist/cjs/bcm-link.cjs.entry.js +0 -51
- package/dist/cjs/bcm-list_3.cjs.entry.js +0 -1977
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -157
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -145
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
- package/dist/cjs/bcm-range.cjs.entry.js +0 -183
- package/dist/cjs/bcm-select.cjs.entry.js +0 -1195
- package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
- package/dist/cjs/bcm-step.cjs.entry.js +0 -89
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -60
- package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -72
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -370
- package/dist/cjs/bcm-text.cjs.entry.js +0 -49
- package/dist/cjs/index-d321de96.js +0 -193
- package/dist/cjs/input-template-ccfbe214.js +0 -92
- package/dist/cjs/json-parse-decarator-f1c0961d.js +0 -40
- package/dist/cjs/lodash-917168d7.js +0 -17199
- package/dist/cjs/stepper-states-e293bcd3.js +0 -85
- package/dist/cjs/tooltip-helper-311d3baa.js +0 -158
- package/dist/esm/Overflow-40c63001.js +0 -2217
- package/dist/esm/bcm-accordion.entry.js +0 -70
- package/dist/esm/bcm-alert.entry.js +0 -95
- package/dist/esm/bcm-attendance-actions.entry.js +0 -326
- package/dist/esm/bcm-attendance.entry.js +0 -31
- package/dist/esm/bcm-avatar_2.entry.js +0 -205
- package/dist/esm/bcm-button-group.entry.js +0 -88
- package/dist/esm/bcm-button.entry.js +0 -368
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2517
- package/dist/esm/bcm-checkbox_2.entry.js +0 -189
- package/dist/esm/bcm-chip-group.entry.js +0 -124
- package/dist/esm/bcm-chip.entry.js +0 -87
- package/dist/esm/bcm-collapse-group.entry.js +0 -39
- package/dist/esm/bcm-collapse.entry.js +0 -58
- package/dist/esm/bcm-color-input.entry.js +0 -73
- package/dist/esm/bcm-colorful_2.entry.js +0 -246
- package/dist/esm/bcm-date_6.entry.js +0 -15354
- package/dist/esm/bcm-drawer.entry.js +0 -92
- package/dist/esm/bcm-dropdown.entry.js +0 -115
- package/dist/esm/bcm-error-layout.entry.js +0 -60
- package/dist/esm/bcm-expansion-panel.entry.js +0 -112
- package/dist/esm/bcm-input_2.entry.js +0 -545
- package/dist/esm/bcm-item.entry.js +0 -68
- package/dist/esm/bcm-items.entry.js +0 -45
- package/dist/esm/bcm-link.entry.js +0 -47
- package/dist/esm/bcm-list_3.entry.js +0 -1971
- package/dist/esm/bcm-menu.entry.js +0 -147
- package/dist/esm/bcm-modal.entry.js +0 -153
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-old-tag_2.entry.js +0 -140
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
- package/dist/esm/bcm-popconfirm.entry.js +0 -97
- package/dist/esm/bcm-popover.entry.js +0 -226
- package/dist/esm/bcm-progress.entry.js +0 -158
- package/dist/esm/bcm-radio-group.entry.js +0 -157
- package/dist/esm/bcm-radio.entry.js +0 -61
- package/dist/esm/bcm-range.entry.js +0 -179
- package/dist/esm/bcm-select.entry.js +0 -1191
- package/dist/esm/bcm-shortcut.entry.js +0 -61
- package/dist/esm/bcm-step.entry.js +0 -85
- package/dist/esm/bcm-stepper.entry.js +0 -236
- package/dist/esm/bcm-switch.entry.js +0 -147
- package/dist/esm/bcm-tab-group.entry.js +0 -206
- package/dist/esm/bcm-tab-item-header.entry.js +0 -56
- package/dist/esm/bcm-tab-item.entry.js +0 -87
- package/dist/esm/bcm-tab.entry.js +0 -68
- package/dist/esm/bcm-tabs.entry.js +0 -366
- package/dist/esm/bcm-text.entry.js +0 -45
- package/dist/esm/index-7e71bbc8.js +0 -191
- package/dist/esm/input-template-f22c62aa.js +0 -90
- package/dist/esm/json-parse-decarator-56846a0c.js +0 -38
- package/dist/esm/lodash-4197be99.js +0 -17197
- package/dist/esm/stepper-states-ec0b9c40.js +0 -83
- package/dist/esm/tooltip-helper-ddb8b9e3.js +0 -156
|
@@ -124,14 +124,16 @@
|
|
|
124
124
|
|
|
125
125
|
.bcm-alert {
|
|
126
126
|
display: block;
|
|
127
|
+
font-family: Inter, sans-serif;
|
|
128
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
129
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
130
|
+
font-weight: 500;
|
|
127
131
|
width: 100%;
|
|
128
132
|
max-width: 400px;
|
|
129
133
|
box-sizing: border-box;
|
|
130
|
-
padding:
|
|
131
|
-
|
|
132
|
-
border-radius: 2px;
|
|
134
|
+
padding: var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-5) var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-3);
|
|
135
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
133
136
|
position: relative;
|
|
134
|
-
grid-gap: 8px;
|
|
135
137
|
}
|
|
136
138
|
.bcm-alert.hidden {
|
|
137
139
|
display: none;
|
|
@@ -139,51 +141,53 @@
|
|
|
139
141
|
.bcm-alert.full-width {
|
|
140
142
|
max-width: 100%;
|
|
141
143
|
}
|
|
144
|
+
.bcm-alert__status-default {
|
|
145
|
+
color: var(--bcm-ui-color-text-default);
|
|
146
|
+
background-color: var(--bcm-ui-color-background-default-default);
|
|
147
|
+
}
|
|
142
148
|
.bcm-alert__status-info {
|
|
143
|
-
|
|
144
|
-
background-color: var(--bcm-color-
|
|
149
|
+
color: var(--bcm-ui-color-text-info);
|
|
150
|
+
background-color: var(--bcm-ui-color-background-stated-info-default);
|
|
145
151
|
}
|
|
146
152
|
.bcm-alert__status-error {
|
|
147
|
-
|
|
148
|
-
background-color: var(--bcm-color-
|
|
153
|
+
color: var(--bcm-ui-color-text-error);
|
|
154
|
+
background-color: var(--bcm-ui-color-background-stated-error-default);
|
|
149
155
|
}
|
|
150
156
|
.bcm-alert__status-warning {
|
|
151
|
-
|
|
152
|
-
background-color: var(--bcm-color-
|
|
157
|
+
color: var(--bcm-ui-color-text-warning);
|
|
158
|
+
background-color: var(--bcm-ui-color-background-stated-warning-default);
|
|
153
159
|
}
|
|
154
160
|
.bcm-alert__status-success {
|
|
155
|
-
|
|
156
|
-
background-color: var(--bcm-color-
|
|
161
|
+
color: var(--bcm-ui-color-text-success);
|
|
162
|
+
background-color: var(--bcm-ui-color-background-stated-success-default);
|
|
157
163
|
}
|
|
158
164
|
.bcm-alert__type-banner {
|
|
159
165
|
border: none;
|
|
160
166
|
}
|
|
161
167
|
.bcm-alert__header {
|
|
162
|
-
display:
|
|
163
|
-
align-items: center;
|
|
164
|
-
justify-content: space-between;
|
|
165
|
-
padding: 4px 0;
|
|
168
|
+
display: inline-block;
|
|
166
169
|
}
|
|
167
170
|
.bcm-alert__header-message {
|
|
168
171
|
display: flex;
|
|
169
172
|
align-items: center;
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
gap: var(--bcm-ui-spacing-2);
|
|
174
|
+
margin-right: var(--bcm-ui-spacing-2);
|
|
175
|
+
}
|
|
176
|
+
.bcm-alert__header-message:empty {
|
|
177
|
+
display: none;
|
|
172
178
|
}
|
|
173
179
|
.bcm-alert__header-dismiss {
|
|
174
180
|
display: flex;
|
|
175
181
|
position: absolute;
|
|
176
|
-
top: -
|
|
177
|
-
right:
|
|
178
|
-
padding:
|
|
179
|
-
color: var(--bcm-color-grey-8);
|
|
182
|
+
top: var(--bcm-ui-spacing-1);
|
|
183
|
+
right: var(--bcm-ui-spacing-1);
|
|
184
|
+
padding: var(--bcm-ui-spacing-2);
|
|
180
185
|
}
|
|
181
186
|
.bcm-alert__header-dismiss:hover {
|
|
182
187
|
cursor: pointer;
|
|
183
|
-
color: var(--bcm-color-grey-9);
|
|
184
188
|
}
|
|
185
189
|
.bcm-alert__content {
|
|
186
|
-
|
|
190
|
+
display: inline-block;
|
|
187
191
|
}
|
|
188
192
|
.bcm-alert__content p {
|
|
189
193
|
margin: 0;
|
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
import { h, Host } from '@stencil/core';
|
|
6
6
|
import { StatusProps, TypeProps } from './types';
|
|
7
7
|
import cs from 'classnames';
|
|
8
|
-
import alertStates from '../states/alert.states';
|
|
9
8
|
import { Generate } from '../../../helper/generate';
|
|
10
9
|
import { StringHelper } from '../../../helper/string-helper';
|
|
11
10
|
export class BcmAlert {
|
|
12
11
|
constructor() {
|
|
13
12
|
this.hidden = false;
|
|
14
13
|
this._id = Generate.UID();
|
|
15
|
-
this._title = undefined;
|
|
16
14
|
this.description = undefined;
|
|
17
15
|
this.status = StatusProps.info;
|
|
18
16
|
this.type = TypeProps.basic;
|
|
@@ -33,33 +31,42 @@ export class BcmAlert {
|
|
|
33
31
|
return;
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
|
-
this.setData();
|
|
37
34
|
}
|
|
38
35
|
dismiss(e) {
|
|
39
36
|
this.alertdismissible.emit(e);
|
|
40
37
|
this.el.remove();
|
|
41
38
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
39
|
+
// setData() {
|
|
40
|
+
// const { status, type, bigIcon } = this;
|
|
41
|
+
// alertStates.setValue({
|
|
42
|
+
// id: this._id,
|
|
43
|
+
// status,
|
|
44
|
+
// type,
|
|
45
|
+
// bigIcon,
|
|
46
|
+
// });
|
|
47
|
+
// }
|
|
48
|
+
statusIcon() {
|
|
49
|
+
const { status } = this;
|
|
50
|
+
switch (status) {
|
|
51
|
+
case StatusProps.info:
|
|
52
|
+
return "far fa-info-circle";
|
|
53
|
+
case StatusProps.error:
|
|
54
|
+
return "far fa-times-circle";
|
|
55
|
+
case StatusProps.warning:
|
|
56
|
+
return "far fa-exclamation-circle";
|
|
57
|
+
case StatusProps.success:
|
|
58
|
+
return "far fa-check-circle";
|
|
59
|
+
}
|
|
53
60
|
}
|
|
54
61
|
render() {
|
|
55
|
-
const { fullWidth, status, type, icon, bigIcon,
|
|
56
|
-
const hostClasses = cs('bcm-alert', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
62
|
+
const { fullWidth, status, type, icon, bigIcon, hidden, dismissible, description } = this;
|
|
63
|
+
const hostClasses = cs('bcm-alert bcm-ui-element', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
57
64
|
'full-width': fullWidth,
|
|
58
65
|
hidden,
|
|
59
66
|
});
|
|
60
|
-
const headerMessage = cs('bcm-alert__header-message', !!description ? '
|
|
61
|
-
const
|
|
62
|
-
return (h(Host, { class: hostClasses }, h("
|
|
67
|
+
const headerMessage = cs('bcm-alert__header-message', !!description ? '' : '');
|
|
68
|
+
const _icon = this.statusIcon();
|
|
69
|
+
return (h(Host, { class: hostClasses }, h("header", { class: "bcm-alert__header" }, h("span", { class: headerMessage }, (bigIcon || icon) && h("bcm-icon", { icon: _icon }))), h("main", { class: "bcm-alert__content" }, description && h("p", null, description), h("slot", null)), dismissible && (h("span", { class: "bcm-alert__header-dismiss", onClick: e => this.dismiss(e) }, typeof dismissible === 'string' ? dismissible : h("bcm-icon", { icon: "far fa-times" })))));
|
|
63
70
|
}
|
|
64
71
|
static get is() { return "bcm-alert"; }
|
|
65
72
|
static get originalStyleUrls() {
|
|
@@ -110,23 +117,6 @@ export class BcmAlert {
|
|
|
110
117
|
"reflect": true,
|
|
111
118
|
"defaultValue": "Generate.UID()"
|
|
112
119
|
},
|
|
113
|
-
"_title": {
|
|
114
|
-
"type": "any",
|
|
115
|
-
"mutable": true,
|
|
116
|
-
"complexType": {
|
|
117
|
-
"original": "any",
|
|
118
|
-
"resolved": "any",
|
|
119
|
-
"references": {}
|
|
120
|
-
},
|
|
121
|
-
"required": false,
|
|
122
|
-
"optional": false,
|
|
123
|
-
"docs": {
|
|
124
|
-
"tags": [],
|
|
125
|
-
"text": ""
|
|
126
|
-
},
|
|
127
|
-
"attribute": "_title",
|
|
128
|
-
"reflect": false
|
|
129
|
-
},
|
|
130
120
|
"description": {
|
|
131
121
|
"type": "any",
|
|
132
122
|
"mutable": true,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
3
2
|
.size-1 {
|
|
4
3
|
font-size: 12px;
|
|
5
4
|
line-height: 20px;
|
|
@@ -123,44 +122,37 @@
|
|
|
123
122
|
margin-right: 8px;
|
|
124
123
|
}
|
|
125
124
|
|
|
126
|
-
* {
|
|
127
|
-
box-sizing: border-box;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
125
|
.bcm-button-group {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight:
|
|
126
|
+
font-family: Inter, sans-serif;
|
|
127
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
128
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
129
|
+
font-weight: 500;
|
|
135
130
|
display: flex;
|
|
136
131
|
flex-direction: row;
|
|
137
132
|
align-items: center;
|
|
138
|
-
justify-content:
|
|
139
|
-
flex-wrap: nowrap;
|
|
133
|
+
justify-content: center;
|
|
140
134
|
width: fit-content;
|
|
141
|
-
background-color: var(--bcm-
|
|
142
|
-
border: 1px solid var(--bcm-
|
|
135
|
+
background-color: var(--bcm-ui-color-background-default-active);
|
|
136
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
143
137
|
gap: 1px;
|
|
144
|
-
border-radius:
|
|
138
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
145
139
|
}
|
|
146
140
|
.bcm-button-group .bcm-button__container {
|
|
147
141
|
border-radius: 0;
|
|
148
142
|
border: none;
|
|
149
143
|
}
|
|
150
144
|
.bcm-button-group .bcm-button:first-child .bcm-button__container {
|
|
151
|
-
border-top-left-radius:
|
|
152
|
-
border-bottom-left-radius:
|
|
145
|
+
border-top-left-radius: var(--bcm-ui-border-radius-default);
|
|
146
|
+
border-bottom-left-radius: var(--bcm-ui-border-radius-default);
|
|
153
147
|
}
|
|
154
148
|
.bcm-button-group .bcm-button:last-child .bcm-button__container {
|
|
155
|
-
border-top-right-radius:
|
|
156
|
-
border-bottom-right-radius:
|
|
149
|
+
border-top-right-radius: var(--bcm-ui-border-radius-default);
|
|
150
|
+
border-bottom-right-radius: var(--bcm-ui-border-radius-default);
|
|
157
151
|
}
|
|
158
152
|
.bcm-button-group__vertical {
|
|
159
|
-
display: flex;
|
|
160
153
|
flex-direction: column;
|
|
161
154
|
align-items: center;
|
|
162
|
-
justify-content:
|
|
163
|
-
flex-wrap: nowrap;
|
|
155
|
+
justify-content: center;
|
|
164
156
|
}
|
|
165
157
|
.bcm-button-group__vertical .bcm-button {
|
|
166
158
|
width: 100%;
|
|
@@ -170,8 +162,8 @@
|
|
|
170
162
|
border-radius: 0;
|
|
171
163
|
}
|
|
172
164
|
.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container {
|
|
173
|
-
border-radius:
|
|
165
|
+
border-radius: var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0;
|
|
174
166
|
}
|
|
175
167
|
.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container {
|
|
176
|
-
border-radius: 0 0
|
|
168
|
+
border-radius: 0 0 var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default);
|
|
177
169
|
}
|
|
@@ -194,14 +194,14 @@
|
|
|
194
194
|
.bcm-checkbox {
|
|
195
195
|
outline: none;
|
|
196
196
|
border: none;
|
|
197
|
-
--bcm-checkbox-primary-color-default: var(--bcm-
|
|
198
|
-
--bcm-checkbox-secondary-color-default: var(--bcm-
|
|
199
|
-
--bcm-checkbox-primary-color-hover: var(--bcm-
|
|
200
|
-
--bcm-checkbox-secondary-color-hover: var(--bcm-
|
|
201
|
-
--bcm-checkbox-primary-color-focus-visible: var(--bcm-
|
|
202
|
-
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-
|
|
203
|
-
--bcm-checkbox-primary-color-active: var(--bcm-
|
|
204
|
-
--bcm-checkbox-secondary-color-active: var(--bcm-
|
|
197
|
+
--bcm-checkbox-primary-color-default: var(--bcm-ui-color-background-primary-default);
|
|
198
|
+
--bcm-checkbox-secondary-color-default: var(--bcm-ui-color-background-base-default);
|
|
199
|
+
--bcm-checkbox-primary-color-hover: var(--bcm-ui-color-background-primary-hover);
|
|
200
|
+
--bcm-checkbox-secondary-color-hover: var(--bcm-ui-color-background-default-default);
|
|
201
|
+
--bcm-checkbox-primary-color-focus-visible: var(--bcm-ui-color-background-primary-active);
|
|
202
|
+
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-ui-color-background-default-active);
|
|
203
|
+
--bcm-checkbox-primary-color-active: var(--bcm-ui-color-background-primary-active);
|
|
204
|
+
--bcm-checkbox-secondary-color-active: var(--bcm-ui-color-background-default-active);
|
|
205
205
|
--bcm-checkbox-primary-color-disabled: var(--bcm-new-ds-color-slate-300);
|
|
206
206
|
--bcm-checkbox-secondary-color-disabled: var(--bcm-new-ds-color-slate-200);
|
|
207
207
|
display: inline-flex;
|
|
@@ -247,15 +247,15 @@
|
|
|
247
247
|
line-height: calc(14px + 8px);
|
|
248
248
|
font-weight: 400;
|
|
249
249
|
font-weight: 500;
|
|
250
|
-
color: var(--bcm-
|
|
250
|
+
color: var(--bcm-ui-color-text-default);
|
|
251
251
|
}
|
|
252
252
|
.bcm-checkbox .slot:not(:empty) {
|
|
253
253
|
margin-left: 8px;
|
|
254
254
|
margin-right: 8px;
|
|
255
255
|
}
|
|
256
256
|
.bcm-checkbox-size-small .slot {
|
|
257
|
-
font-size:
|
|
258
|
-
line-height:
|
|
257
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
258
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
259
259
|
margin-top: -2.5px;
|
|
260
260
|
}
|
|
261
261
|
.bcm-checkbox-size-small .bcm-checkbox__input {
|
|
@@ -268,8 +268,8 @@
|
|
|
268
268
|
font-size: calc(10px - 2px);
|
|
269
269
|
}
|
|
270
270
|
.bcm-checkbox-size-medium .slot {
|
|
271
|
-
font-size:
|
|
272
|
-
line-height:
|
|
271
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
272
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
273
273
|
margin-top: -1.5px;
|
|
274
274
|
}
|
|
275
275
|
.bcm-checkbox-size-medium .bcm-checkbox__input {
|
|
@@ -282,8 +282,8 @@
|
|
|
282
282
|
font-size: 10px;
|
|
283
283
|
}
|
|
284
284
|
.bcm-checkbox-size-large .slot {
|
|
285
|
-
font-size:
|
|
286
|
-
line-height:
|
|
285
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
286
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
287
287
|
margin-top: -1.5px;
|
|
288
288
|
}
|
|
289
289
|
.bcm-checkbox-size-large .bcm-checkbox__input {
|
|
@@ -19,7 +19,6 @@ import { Generate } from '../../../helper/generate';
|
|
|
19
19
|
import { SlotTemplate } from '../../../templates/slot-template';
|
|
20
20
|
import Bcm from '../../../models/bcm';
|
|
21
21
|
import { delay } from '../../../utils/utils';
|
|
22
|
-
import { ColorHelper } from '../../../helper/color-helper';
|
|
23
22
|
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
24
23
|
export class BcmCheckbox {
|
|
25
24
|
constructor() {
|
|
@@ -122,15 +121,15 @@ export class BcmCheckbox {
|
|
|
122
121
|
return;
|
|
123
122
|
const prefix = `--bcm-checkbox`;
|
|
124
123
|
return {
|
|
125
|
-
[`${prefix}-primary-color-default`]:
|
|
126
|
-
[`${prefix}-primary-color-hover`]:
|
|
127
|
-
[`${prefix}-primary-color-focus-visible`]:
|
|
128
|
-
[`${prefix}-primary-color-active`]:
|
|
124
|
+
[`${prefix}-primary-color-default`]: `var(--bcm-ui-color-background-vivid-${color}-default)`,
|
|
125
|
+
[`${prefix}-primary-color-hover`]: `var(--bcm-ui-color-background-vivid-${color}-hover)`,
|
|
126
|
+
[`${prefix}-primary-color-focus-visible`]: `var(--bcm-ui-color-background-vivid-${color}-active)`,
|
|
127
|
+
[`${prefix}-primary-color-active`]: `var(--bcm-ui-color-background-vivid-${color}-active)`,
|
|
129
128
|
// [`${prefix}-primary-color-disabled`]: ColorHelper.dsColor(color + '-300'),
|
|
130
|
-
[`${prefix}-secondary-color-default`]:
|
|
131
|
-
[`${prefix}-secondary-color-hover`]:
|
|
132
|
-
[`${prefix}-secondary-color-focus-visible`]:
|
|
133
|
-
[`${prefix}-secondary-color-active`]:
|
|
129
|
+
[`${prefix}-secondary-color-default`]: `var(--bcm-ui-color-background-default-default)`,
|
|
130
|
+
[`${prefix}-secondary-color-hover`]: `var(--bcm-ui-color-background-default-default)`,
|
|
131
|
+
[`${prefix}-secondary-color-focus-visible`]: `var(--bcm-ui-color-background-default-default)`,
|
|
132
|
+
[`${prefix}-secondary-color-active`]: `var(--bcm-ui-color-background-default-default)`,
|
|
134
133
|
// [`${prefix}-secondary-color-disabled`]: ColorHelper.dsColor('slate-200')
|
|
135
134
|
};
|
|
136
135
|
}
|
|
@@ -49,7 +49,7 @@ export class BcmColorInput {
|
|
|
49
49
|
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-
|
|
52
|
+
return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-solid tw-border-color-default", style: {
|
|
53
53
|
backgroundColor: this.value,
|
|
54
54
|
} }), this.isEyeDropperSupported() && h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), h("bcm-linked", { targetId: this._id + "-color-container" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.handleChange(e.detail) }))));
|
|
55
55
|
}
|
|
@@ -8,7 +8,7 @@ export class BcmEmpty {
|
|
|
8
8
|
this.icon = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { class: "tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1
|
|
11
|
+
return (h(Host, { class: "bcm-empty bcm-ui-element tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1 tw-text-color-caption tw-text-center tw-rounded tw-gap-2" }, this.icon && (h("div", { class: "tw-bg-blue-50 tw-text-color-primary tw-text-size-9 tw-mb-1 tw-rounded-3xl tw-p-4" }, h("i", { class: `${this.icon}` }))), h("bcm-typography", { class: "tw-text-color-caption tw-text-size-4 tw-font-medium" }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "bcm-empty"; }
|
|
14
14
|
static get properties() {
|
|
@@ -128,19 +128,17 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.error-layout {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.error-layout li > span {
|
|
145
|
-
margin-left: -4px;
|
|
131
|
+
font-family: Inter, sans-serif;
|
|
132
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
133
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
134
|
+
font-weight: 500;
|
|
135
|
+
padding: var(--bcm-ui-spacing-4);
|
|
136
|
+
background: var(--bcm-ui-color-background-stated-error-default);
|
|
137
|
+
border: 1px solid var(--bcm-ui-color-border-error);
|
|
138
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
139
|
+
color: var(--bcm-ui-color-text-error);
|
|
140
|
+
}
|
|
141
|
+
.error-layout ul {
|
|
142
|
+
margin: 0;
|
|
143
|
+
padding-left: var(--bcm-ui-spacing-5);
|
|
146
144
|
}
|
|
@@ -42,7 +42,7 @@ export class BcmErrorLayout {
|
|
|
42
42
|
render() {
|
|
43
43
|
const { itemsProp } = this;
|
|
44
44
|
const classes = cs('error-layout', this.size);
|
|
45
|
-
const hostClasses = cs(this.hidden ? 'hidden' : null);
|
|
45
|
+
const hostClasses = cs("tw-w-full bcm-ui-element", this.hidden ? 'hidden' : null);
|
|
46
46
|
return (h(Host, { class: hostClasses }, itemsProp.length > 0 && (h("div", { class: classes }, h("ul", null, this.itemsProp.map((item) => h("li", null, h("span", null, item))))))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "bcm-error-layout"; }
|
|
@@ -128,19 +128,18 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.bcm-expansion-panel {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight: 400;
|
|
131
|
+
font-family: Inter, sans-serif;
|
|
132
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
133
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
135
134
|
display: block;
|
|
136
135
|
width: 100%;
|
|
137
|
-
background-color: var(--bcm-
|
|
138
|
-
border-radius:
|
|
139
|
-
border: 1px solid var(--bcm-
|
|
136
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
137
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
138
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
140
139
|
box-sizing: border-box;
|
|
141
140
|
}
|
|
142
141
|
.bcm-expansion-panel + .bcm-expansion-panel {
|
|
143
|
-
margin-top:
|
|
142
|
+
margin-top: -1px;
|
|
144
143
|
}
|
|
145
144
|
.bcm-expansion-panel__header {
|
|
146
145
|
display: flex;
|
|
@@ -148,10 +147,11 @@
|
|
|
148
147
|
justify-content: flex-start;
|
|
149
148
|
user-select: none;
|
|
150
149
|
min-height: 50px;
|
|
151
|
-
border-radius:
|
|
152
|
-
padding:
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
151
|
+
padding: 0 var(--bcm-ui-spacing-4);
|
|
152
|
+
min-height: 56px;
|
|
153
|
+
color: var(--bcm-ui-color-text-default);
|
|
154
|
+
font-weight: 500;
|
|
155
155
|
}
|
|
156
156
|
.bcm-expansion-panel__header-content {
|
|
157
157
|
display: flex;
|
|
@@ -172,11 +172,13 @@
|
|
|
172
172
|
flex-direction: row;
|
|
173
173
|
align-items: center;
|
|
174
174
|
justify-content: flex-start;
|
|
175
|
-
gap:
|
|
175
|
+
gap: var(--bcm-ui-spacing-2);
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
color: var(--bcm-ui-color-text-header);
|
|
176
178
|
}
|
|
177
179
|
.bcm-expansion-panel__header-title-description {
|
|
178
|
-
margin-left:
|
|
179
|
-
color: var(--bcm-
|
|
180
|
+
margin-left: var(--bcm-ui-spacing-1);
|
|
181
|
+
color: var(--bcm-ui-color-text-caption);
|
|
180
182
|
font-size: 12px;
|
|
181
183
|
line-height: calc(12px + 8px);
|
|
182
184
|
}
|
|
@@ -193,7 +195,8 @@
|
|
|
193
195
|
justify-content: center;
|
|
194
196
|
transform: rotate(0deg);
|
|
195
197
|
transition: transform 0.2s ease-in-out;
|
|
196
|
-
font-size:
|
|
198
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
199
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
197
200
|
}
|
|
198
201
|
.bcm-expansion-panel__header-extra {
|
|
199
202
|
display: none;
|
|
@@ -212,23 +215,23 @@
|
|
|
212
215
|
}
|
|
213
216
|
.bcm-expansion-panel__body {
|
|
214
217
|
display: none;
|
|
215
|
-
padding:
|
|
218
|
+
padding: var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-4);
|
|
216
219
|
}
|
|
217
220
|
.bcm-expansion-panel--icon-right .bcm-expansion-panel__header {
|
|
218
221
|
justify-content: space-between;
|
|
219
|
-
padding-left:
|
|
222
|
+
padding-left: var(--bcm-ui-spacing-4);
|
|
220
223
|
}
|
|
221
224
|
.bcm-expansion-panel--icon-right .bcm-expansion-panel__header-toggle {
|
|
222
225
|
order: 6;
|
|
223
226
|
}
|
|
224
|
-
.bcm-expansion-panel--invalid .bcm-expansion-panel__header-
|
|
225
|
-
color: var(--bcm-
|
|
227
|
+
.bcm-expansion-panel--invalid .bcm-expansion-panel__header-content {
|
|
228
|
+
color: var(--bcm-ui-color-text-error);
|
|
226
229
|
}
|
|
227
230
|
.bcm-expansion-panel--expanded {
|
|
228
|
-
border-bottom: 1px solid var(--bcm-color-
|
|
231
|
+
border-bottom: 1px solid var(--bcm-ui-color-border-default);
|
|
229
232
|
}
|
|
230
233
|
.bcm-expansion-panel--expanded .bcm-expansion-panel__header {
|
|
231
|
-
border-radius:
|
|
234
|
+
border-radius: var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0;
|
|
232
235
|
}
|
|
233
236
|
.bcm-expansion-panel--expanded .bcm-expansion-panel__header-toggle {
|
|
234
237
|
transform: rotate(180deg);
|
|
@@ -90,7 +90,7 @@ export class BcmExpansionPanel {
|
|
|
90
90
|
'bcm-expansion-panel--icon-right': this.expandIconPosition === 'right',
|
|
91
91
|
hidden,
|
|
92
92
|
});
|
|
93
|
-
return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger, "aria-label": message }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "
|
|
93
|
+
return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger, "aria-label": message }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "fas fa-chevron-down" })))), h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, h("slot", null))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "bcm-expansion-panel"; }
|
|
96
96
|
static get originalStyleUrls() {
|
|
@@ -212,9 +212,9 @@
|
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: stretch;
|
|
214
214
|
flex-direction: row;
|
|
215
|
-
background-color: var(--bcm-
|
|
216
|
-
border: 1px solid var(--bcm-
|
|
217
|
-
border-radius:
|
|
215
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
216
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
217
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
218
218
|
box-sizing: border-box;
|
|
219
219
|
cursor: text;
|
|
220
220
|
padding: 0 0 0 4px;
|
|
@@ -222,18 +222,22 @@
|
|
|
222
222
|
width: 100%;
|
|
223
223
|
}
|
|
224
224
|
.bcm-input__container.disabled {
|
|
225
|
-
background-color: var(--bcm-
|
|
225
|
+
background-color: var(--bcm-ui-color-background-disabled-default);
|
|
226
|
+
border-color: var(--bcm-ui-color-border-disabled);
|
|
226
227
|
cursor: not-allowed;
|
|
227
228
|
}
|
|
228
229
|
.bcm-input__container.disabled .bcm-input-element {
|
|
229
|
-
color: var(--bcm-
|
|
230
|
+
color: var(--bcm-ui-color-text-disabled);
|
|
231
|
+
}
|
|
232
|
+
.bcm-input__container.disabled .bcm-input-element::placeholder {
|
|
233
|
+
color: var(--bcm-color-secondary-400);
|
|
230
234
|
}
|
|
231
235
|
.bcm-input__container.readonly {
|
|
232
236
|
background-color: var(--bcm-new-ds-color-slate-50);
|
|
233
237
|
cursor: default;
|
|
234
238
|
}
|
|
235
239
|
.bcm-input__container.readonly .bcm-input-element {
|
|
236
|
-
color: var(--bcm-
|
|
240
|
+
color: var(--bcm-ui-color-text-default);
|
|
237
241
|
}
|
|
238
242
|
.bcm-input__container:not(.disabled):hover .caret-container, .bcm-input__container:not(.disabled).focused .caret-container {
|
|
239
243
|
opacity: 1;
|
|
@@ -243,19 +247,20 @@
|
|
|
243
247
|
}
|
|
244
248
|
.bcm-input__container:not(.disabled).focused {
|
|
245
249
|
background-color: var(--bcm-new-ds-color-slate-50);
|
|
250
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
246
251
|
}
|
|
247
252
|
.bcm-input__container:not(.disabled):hover {
|
|
248
|
-
border-color: var(--bcm-color-
|
|
253
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
249
254
|
}
|
|
250
255
|
.bcm-input__container.empty .input-clear-button {
|
|
251
256
|
display: none;
|
|
252
257
|
}
|
|
253
258
|
.bcm-input__container.invalid, .bcm-input__container.error {
|
|
254
|
-
border-color: var(--bcm-
|
|
259
|
+
border-color: var(--bcm-ui-color-border-error);
|
|
255
260
|
}
|
|
256
261
|
.bcm-input__container .bcm-input-element {
|
|
257
262
|
width: 100%;
|
|
258
|
-
color: var(--bcm-
|
|
263
|
+
color: var(--bcm-ui-color-text-default);
|
|
259
264
|
flex: 1;
|
|
260
265
|
border: none;
|
|
261
266
|
background: transparent;
|
|
@@ -271,7 +276,7 @@
|
|
|
271
276
|
}
|
|
272
277
|
.bcm-input__container .bcm-input-element::placeholder {
|
|
273
278
|
font-family: "Inter", sans-serif;
|
|
274
|
-
color: var(--bcm-
|
|
279
|
+
color: var(--bcm-ui-color-text-placeholder);
|
|
275
280
|
user-select: none;
|
|
276
281
|
}
|
|
277
282
|
.bcm-input__container .bcm-input-element::-webkit-search-decoration, .bcm-input__container .bcm-input-element::-webkit-search-cancel-button, .bcm-input__container .bcm-input-element::-webkit-search-results-button, .bcm-input__container .bcm-input-element::-webkit-search-results-decoration, .bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator, .bcm-input__container .bcm-input-element::-webkit-inner-spin-button, .bcm-input__container .bcm-input-element::-webkit-outer-spin-button {
|
|
@@ -347,13 +352,16 @@
|
|
|
347
352
|
opacity: 0;
|
|
348
353
|
}
|
|
349
354
|
.bcm-input__container--small {
|
|
350
|
-
font-size:
|
|
355
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
356
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
351
357
|
}
|
|
352
358
|
.bcm-input__container--medium {
|
|
353
|
-
font-size:
|
|
359
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
360
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
354
361
|
}
|
|
355
362
|
.bcm-input__container--large {
|
|
356
|
-
font-size:
|
|
363
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
364
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
357
365
|
}
|
|
358
366
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
359
367
|
padding-right: 24px;
|
|
@@ -75,7 +75,7 @@ export const inputStyle = tv({
|
|
|
75
75
|
},
|
|
76
76
|
false: {
|
|
77
77
|
controlsBtn: "hover:tw-bg-color-base-hover hover:tw-text-color",
|
|
78
|
-
inputContainer: ["has-[:not([disabled]):focus]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-
|
|
78
|
+
inputContainer: ["has-[:not([disabled]):focus]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-primary"],
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
readonly: {
|