bromcom-ui 2.12.3-rc.3-test.0 → 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-540fbc32.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-dd24646a.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-7e0e02b3.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-cbcf6d9c.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-80edaf47.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-a00b053e.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-59dc2542.js +5 -0
- package/dist/bromcom-ui/{p-fec89309.entry.js → p-5adcfd9b.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/{p-9f5ee998.entry.js → p-5f47e061.entry.js} +1 -1
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/{p-507db92e.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-974a427c.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-cf11cdde.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-8b8dd8fe.entry.js → p-a2e0a182.entry.js} +1 -1
- 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-fafa70ac.entry.js → p-ac720743.entry.js} +1 -1
- package/dist/bromcom-ui/{p-10f511ff.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-25bbe3e6.entry.js → p-bae91cbf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-15402dac.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-052005c9.js → p-c7ae8fa9.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-a31644e3.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-d19d45ed.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-87192588.entry.js → p-e499306b.entry.js} +1 -1
- package/dist/bromcom-ui/p-ebd9132c.entry.js +5 -0
- package/dist/bromcom-ui/{p-01e63843.entry.js → p-f5a8e601.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9253d439.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 +4 -4
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-caption.cjs.entry.js +5 -5
- package/dist/cjs/bcm-card.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -3
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +5 -5
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-number-input.cjs.entry.js +6 -6
- package/dist/cjs/bcm-skeleton.cjs.entry.js +4 -4
- package/dist/cjs/bcm-table.cjs.entry.js +4 -4
- package/dist/cjs/bcm-tag.cjs.entry.js +3 -3
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +18 -18
- package/dist/cjs/bromcom-ui.cjs.js +3 -3
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-f8a78504.js} +9 -9
- package/dist/cjs/{generate-bff3fa38.js → generate-e3956756.js} +14 -14
- package/dist/cjs/{global-825d9cd4.js → global-642cd031.js} +1 -1
- 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 +3 -3
- package/dist/cjs/{number-helper-9bc46d37.js → number-helper-43361f4e.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -3
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -2
- package/dist/cjs/{package-dda6f822.js → package-033055fc.js} +1 -1
- package/dist/cjs/{validators-c0eef77a.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/generate.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 +11 -11
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +12 -12
- 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 +6 -6
- package/dist/esm/bcm-caption.entry.js +13 -13
- package/dist/esm/bcm-card.entry.js +10 -10
- 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 +8 -8
- package/dist/esm/bcm-datetime-picker.entry.js +12 -12
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-form-2.entry.js +7 -7
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-2.entry.js +10 -10
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +13 -13
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +12 -12
- package/dist/esm/bcm-modal-2-header.entry.js +11 -11
- package/dist/esm/bcm-modal-2.entry.js +12 -12
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +14 -14
- 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 +11 -11
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +12 -12
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +8 -8
- package/dist/esm/bcm-time-picker.entry.js +8 -8
- 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 +24 -24
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- 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-1281254a.js → generate-d2495751.js} +15 -15
- package/dist/esm/{global-c031697c.js → global-88abdcdc.js} +2 -2
- 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 +5 -5
- package/dist/esm/{number-helper-778c8f87.js → number-helper-a1e5c9e5.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +6 -6
- package/dist/esm/{package-08ddc3fa.js → package-7549581c.js} +1 -1
- 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-0c6e8dea.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-04594f76.entry.js +0 -5
- package/dist/bromcom-ui/p-0e110a9f.entry.js +0 -5
- package/dist/bromcom-ui/p-0e5f1168.entry.js +0 -5
- package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
- package/dist/bromcom-ui/p-1baed29d.entry.js +0 -5
- package/dist/bromcom-ui/p-1e61a44c.entry.js +0 -5
- package/dist/bromcom-ui/p-1f93fd33.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-23759244.entry.js +0 -5
- package/dist/bromcom-ui/p-270e1b24.entry.js +0 -5
- package/dist/bromcom-ui/p-27596881.entry.js +0 -5
- package/dist/bromcom-ui/p-29791e4a.entry.js +0 -5
- package/dist/bromcom-ui/p-2bd0545e.js +0 -5
- package/dist/bromcom-ui/p-2cd6cdee.js +0 -5
- package/dist/bromcom-ui/p-3179ce74.entry.js +0 -7
- package/dist/bromcom-ui/p-33166492.entry.js +0 -5
- package/dist/bromcom-ui/p-376a20ed.js +0 -5
- package/dist/bromcom-ui/p-3da7b6c0.entry.js +0 -5
- package/dist/bromcom-ui/p-41276d76.entry.js +0 -5
- package/dist/bromcom-ui/p-412abc6d.entry.js +0 -5
- package/dist/bromcom-ui/p-4393b33e.entry.js +0 -5
- package/dist/bromcom-ui/p-46db5206.js +0 -5
- package/dist/bromcom-ui/p-4834bc26.js +0 -5
- package/dist/bromcom-ui/p-4856568f.entry.js +0 -5
- package/dist/bromcom-ui/p-534f958a.entry.js +0 -5
- package/dist/bromcom-ui/p-65da044b.js +0 -5
- package/dist/bromcom-ui/p-6687afd7.entry.js +0 -5
- package/dist/bromcom-ui/p-6ceb315f.entry.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-7c45705d.entry.js +0 -5
- package/dist/bromcom-ui/p-7dbfff1b.entry.js +0 -5
- package/dist/bromcom-ui/p-822dda00.js +0 -5
- package/dist/bromcom-ui/p-881853bd.entry.js +0 -5
- package/dist/bromcom-ui/p-8b6d3a37.js +0 -5
- package/dist/bromcom-ui/p-8cd80ac4.entry.js +0 -5
- package/dist/bromcom-ui/p-8f32198d.js +0 -14
- package/dist/bromcom-ui/p-904b0c28.entry.js +0 -5
- package/dist/bromcom-ui/p-926b314d.entry.js +0 -5
- package/dist/bromcom-ui/p-95a797b3.entry.js +0 -5
- package/dist/bromcom-ui/p-9ebe6ef9.entry.js +0 -5
- package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
- package/dist/bromcom-ui/p-a2065e9e.entry.js +0 -5
- package/dist/bromcom-ui/p-a2e5bb35.entry.js +0 -5
- package/dist/bromcom-ui/p-a352f45e.entry.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-b1084320.entry.js +0 -5
- package/dist/bromcom-ui/p-b301fa40.entry.js +0 -5
- package/dist/bromcom-ui/p-b43e975b.entry.js +0 -5
- package/dist/bromcom-ui/p-b9a88f16.entry.js +0 -5
- package/dist/bromcom-ui/p-bbcb683f.entry.js +0 -5
- package/dist/bromcom-ui/p-bd50c28f.entry.js +0 -5
- package/dist/bromcom-ui/p-c1a992e7.entry.js +0 -5
- package/dist/bromcom-ui/p-c39e73dc.entry.js +0 -5
- package/dist/bromcom-ui/p-c503526a.entry.js +0 -5
- package/dist/bromcom-ui/p-c63f5261.entry.js +0 -5
- package/dist/bromcom-ui/p-d2bd0293.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-e36c7523.entry.js +0 -5
- package/dist/bromcom-ui/p-e5532875.entry.js +0 -5
- package/dist/bromcom-ui/p-e94d2f48.js +0 -5
- package/dist/bromcom-ui/p-ead59725.entry.js +0 -5
- package/dist/bromcom-ui/p-eca0acda.js +0 -5
- package/dist/bromcom-ui/p-ede7ca76.entry.js +0 -5
- package/dist/bromcom-ui/p-eef8f7c7.entry.js +0 -5
- package/dist/bromcom-ui/p-effc088c.entry.js +0 -5
- package/dist/bromcom-ui/p-fc787048.entry.js +0 -5
- package/dist/bromcom-ui/p-ff2b4565.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-d05a507f.js +0 -92
- package/dist/cjs/json-parse-decarator-b9186302.js +0 -40
- package/dist/cjs/lodash-917168d7.js +0 -17199
- package/dist/cjs/stepper-states-a565a45f.js +0 -85
- package/dist/cjs/tooltip-helper-2e1f4fda.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-b4045b25.js +0 -90
- package/dist/esm/json-parse-decarator-7d436ec7.js +0 -38
- package/dist/esm/lodash-4197be99.js +0 -17197
- package/dist/esm/stepper-states-325c754b.js +0 -83
- package/dist/esm/tooltip-helper-9c64ad15.js +0 -156
|
@@ -199,14 +199,14 @@
|
|
|
199
199
|
.bcm-checkbox {
|
|
200
200
|
outline: none;
|
|
201
201
|
border: none;
|
|
202
|
-
--bcm-checkbox-primary-color-default: var(--bcm-
|
|
203
|
-
--bcm-checkbox-secondary-color-default: var(--bcm-
|
|
204
|
-
--bcm-checkbox-primary-color-hover: var(--bcm-
|
|
205
|
-
--bcm-checkbox-secondary-color-hover: var(--bcm-
|
|
206
|
-
--bcm-checkbox-primary-color-focus-visible: var(--bcm-
|
|
207
|
-
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-
|
|
208
|
-
--bcm-checkbox-primary-color-active: var(--bcm-
|
|
209
|
-
--bcm-checkbox-secondary-color-active: var(--bcm-
|
|
202
|
+
--bcm-checkbox-primary-color-default: var(--bcm-ui-color-background-primary-default);
|
|
203
|
+
--bcm-checkbox-secondary-color-default: var(--bcm-ui-color-background-base-default);
|
|
204
|
+
--bcm-checkbox-primary-color-hover: var(--bcm-ui-color-background-primary-hover);
|
|
205
|
+
--bcm-checkbox-secondary-color-hover: var(--bcm-ui-color-background-default-default);
|
|
206
|
+
--bcm-checkbox-primary-color-focus-visible: var(--bcm-ui-color-background-primary-active);
|
|
207
|
+
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-ui-color-background-default-active);
|
|
208
|
+
--bcm-checkbox-primary-color-active: var(--bcm-ui-color-background-primary-active);
|
|
209
|
+
--bcm-checkbox-secondary-color-active: var(--bcm-ui-color-background-default-active);
|
|
210
210
|
--bcm-checkbox-primary-color-disabled: var(--bcm-new-ds-color-slate-300);
|
|
211
211
|
--bcm-checkbox-secondary-color-disabled: var(--bcm-new-ds-color-slate-200);
|
|
212
212
|
display: inline-flex;
|
|
@@ -252,15 +252,15 @@
|
|
|
252
252
|
line-height: calc(14px + 8px);
|
|
253
253
|
font-weight: 400;
|
|
254
254
|
font-weight: 500;
|
|
255
|
-
color: var(--bcm-
|
|
255
|
+
color: var(--bcm-ui-color-text-default);
|
|
256
256
|
}
|
|
257
257
|
.bcm-checkbox .slot:not(:empty) {
|
|
258
258
|
margin-left: 8px;
|
|
259
259
|
margin-right: 8px;
|
|
260
260
|
}
|
|
261
261
|
.bcm-checkbox-size-small .slot {
|
|
262
|
-
font-size:
|
|
263
|
-
line-height:
|
|
262
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
263
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
264
264
|
margin-top: -2.5px;
|
|
265
265
|
}
|
|
266
266
|
.bcm-checkbox-size-small .bcm-checkbox__input {
|
|
@@ -273,8 +273,8 @@
|
|
|
273
273
|
font-size: calc(10px - 2px);
|
|
274
274
|
}
|
|
275
275
|
.bcm-checkbox-size-medium .slot {
|
|
276
|
-
font-size:
|
|
277
|
-
line-height:
|
|
276
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
277
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
278
278
|
margin-top: -1.5px;
|
|
279
279
|
}
|
|
280
280
|
.bcm-checkbox-size-medium .bcm-checkbox__input {
|
|
@@ -287,8 +287,8 @@
|
|
|
287
287
|
font-size: 10px;
|
|
288
288
|
}
|
|
289
289
|
.bcm-checkbox-size-large .slot {
|
|
290
|
-
font-size:
|
|
291
|
-
line-height:
|
|
290
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
291
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
292
292
|
margin-top: -1.5px;
|
|
293
293
|
}
|
|
294
294
|
.bcm-checkbox-size-large .bcm-checkbox__input {
|
|
@@ -470,8 +470,8 @@
|
|
|
470
470
|
}
|
|
471
471
|
.bcm-list__size-small .bcm-list__input {
|
|
472
472
|
height: 24px;
|
|
473
|
-
font-size:
|
|
474
|
-
line-height:
|
|
473
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
474
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
475
475
|
}
|
|
476
476
|
.bcm-list__size-small .bcm-list__input .bcm-tag__content.dismissable {
|
|
477
477
|
font-size: 10px;
|
|
@@ -479,8 +479,8 @@
|
|
|
479
479
|
}
|
|
480
480
|
.bcm-list__size-medium .bcm-list__input {
|
|
481
481
|
height: 32px;
|
|
482
|
-
font-size:
|
|
483
|
-
line-height:
|
|
482
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
483
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
484
484
|
}
|
|
485
485
|
.bcm-list__size-medium .bcm-list__input .bcm-tag__content.dismissable {
|
|
486
486
|
font-size: 12px;
|
|
@@ -488,8 +488,8 @@
|
|
|
488
488
|
}
|
|
489
489
|
.bcm-list__size-large .bcm-list__input {
|
|
490
490
|
height: 40px;
|
|
491
|
-
font-size:
|
|
492
|
-
line-height:
|
|
491
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
492
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
493
493
|
}
|
|
494
494
|
.bcm-list__size-large .bcm-list__input .bcm-tag__content.dismissable {
|
|
495
495
|
font-size: 14px;
|
|
@@ -521,9 +521,9 @@
|
|
|
521
521
|
--height: 256px;
|
|
522
522
|
width: var(--width);
|
|
523
523
|
height: var(--height);
|
|
524
|
-
background-color: var(--bcm-
|
|
525
|
-
border: 1px solid var(--bcm-
|
|
526
|
-
border-radius:
|
|
524
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
525
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
526
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
527
527
|
box-sizing: border-box;
|
|
528
528
|
padding-top: 8px;
|
|
529
529
|
display: flex;
|
|
@@ -591,10 +591,10 @@
|
|
|
591
591
|
align-items: center;
|
|
592
592
|
justify-content: space-between;
|
|
593
593
|
box-sizing: border-box;
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
594
|
+
color: var(--bcm-ui-color-text-default);
|
|
595
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
596
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
597
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
598
598
|
user-select: none;
|
|
599
599
|
cursor: pointer;
|
|
600
600
|
padding: 0 8px;
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
text-overflow: ellipsis;
|
|
638
638
|
}
|
|
639
639
|
.bcm-list__input-placeholder {
|
|
640
|
-
color:
|
|
640
|
+
color: var(--bcm-ui-color-text-placeholder);
|
|
641
641
|
}
|
|
642
642
|
.bcm-list__input-tag-container {
|
|
643
643
|
height: 100%;
|
|
@@ -662,7 +662,7 @@
|
|
|
662
662
|
box-sizing: border-box;
|
|
663
663
|
padding: 0 4px 0 4px;
|
|
664
664
|
font-size: 16px;
|
|
665
|
-
color: var(--bcm-
|
|
665
|
+
color: var(--bcm-ui-color-text-default);
|
|
666
666
|
}
|
|
667
667
|
.bcm-list__input-buttons-button.caret-is {
|
|
668
668
|
transform: rotate(360deg);
|
|
@@ -729,8 +729,8 @@
|
|
|
729
729
|
border-color: var(--bcm-color-red-6);
|
|
730
730
|
}
|
|
731
731
|
.bcm-list.disabled .bcm-list__container, .bcm-list.disabled .bcm-list__input {
|
|
732
|
-
color: var(--bcm-
|
|
733
|
-
background-color: var(--bcm-
|
|
732
|
+
color: var(--bcm-ui-color-text-disabled);
|
|
733
|
+
background-color: var(--bcm-ui-color-background-disabled-default);
|
|
734
734
|
cursor: not-allowed;
|
|
735
735
|
}
|
|
736
736
|
.bcm-list.disabled .bcm-tag__content.dismissable .close-button {
|
|
@@ -743,18 +743,18 @@
|
|
|
743
743
|
color: var(--bcm-new-ds-color-slate-200);
|
|
744
744
|
}
|
|
745
745
|
.bcm-list:not(.disabled) .bcm-list__input:hover {
|
|
746
|
-
border-color: var(--bcm-
|
|
746
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
747
747
|
}
|
|
748
748
|
.bcm-list:not(.disabled) .bcm-list__input:hover .bcm-tag__content.dismissable:not(.checked) {
|
|
749
749
|
background-color: var(--bcm-new-ds-color-slate-200);
|
|
750
750
|
border-color: var(--bcm-new-ds-color-slate-200);
|
|
751
751
|
}
|
|
752
752
|
.bcm-list:not(.disabled) .bcm-list__input:focus-visible {
|
|
753
|
-
border-color: var(--bcm-
|
|
753
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
754
754
|
box-shadow: 0 1px 3px 0 rgba(17, 24, 38, 0.1);
|
|
755
755
|
}
|
|
756
756
|
.bcm-list:not(.disabled) .bcm-list__input:active {
|
|
757
|
-
border-color: var(--bcm-
|
|
757
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
758
758
|
}
|
|
759
759
|
.bcm-list__item {
|
|
760
760
|
padding: 2px 0;
|
|
@@ -781,12 +781,12 @@
|
|
|
781
781
|
border-radius: 4px;
|
|
782
782
|
padding: 0;
|
|
783
783
|
padding-left: 4px;
|
|
784
|
-
color: var(--bcm-
|
|
784
|
+
color: var(--bcm-ui-color-text-default);
|
|
785
785
|
transition: background-color 0.2s ease;
|
|
786
786
|
}
|
|
787
787
|
.bcm-list__item-content.disabled {
|
|
788
|
-
color: var(--bcm-
|
|
789
|
-
background-color: var(--bcm-
|
|
788
|
+
color: var(--bcm-ui-color-text-disabled);
|
|
789
|
+
background-color: var(--bcm-ui-color-background-disabled-default);
|
|
790
790
|
user-select: none;
|
|
791
791
|
cursor: not-allowed;
|
|
792
792
|
}
|
|
@@ -800,19 +800,19 @@
|
|
|
800
800
|
cursor: pointer;
|
|
801
801
|
}
|
|
802
802
|
.bcm-list__item-content.selected {
|
|
803
|
-
color: var(--bcm-
|
|
804
|
-
background-color: var(--bcm-
|
|
803
|
+
color: var(--bcm-ui-color-text-primary);
|
|
804
|
+
background-color: var(--bcm-ui-color-background-stated-primary-default);
|
|
805
805
|
}
|
|
806
806
|
.bcm-list__item-content.selected:hover:not(.disabled):not(.readonly) {
|
|
807
|
-
color: var(--bcm-
|
|
808
|
-
background-color: var(--bcm-
|
|
807
|
+
color: var(--bcm-ui-color-text-primary);
|
|
808
|
+
background-color: var(--bcm-ui-color-background-stated-primary-hover);
|
|
809
809
|
}
|
|
810
810
|
.bcm-list__item-content:hover:not(.disabled):not(.readonly) {
|
|
811
|
-
background-color: var(--bcm-
|
|
811
|
+
background-color: var(--bcm-ui-color-background-base-hover);
|
|
812
812
|
}
|
|
813
813
|
.bcm-list__item-content:active:not(.disabled):not(.readonly) {
|
|
814
814
|
color: var(--bcm-new-ds-color-slate-600);
|
|
815
|
-
background-color: var(--bcm-
|
|
815
|
+
background-color: var(--bcm-ui-color-background-base-active);
|
|
816
816
|
}
|
|
817
817
|
.bcm-list__item-content-collapse-icon {
|
|
818
818
|
width: 16px;
|
|
@@ -37,10 +37,10 @@ export class BcmShortcut {
|
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
39
|
const { size, color, hotkey } = this;
|
|
40
|
-
return (h(Host, { class: cs("bcm-ui-element bcm-ui-content-display", "tw-block tw-h-fit tw-w-fit tw-rounded tw-border tw-border-solid tw-px-1", "tw-border-default
|
|
41
|
-
"tw-text-
|
|
42
|
-
"tw-text-
|
|
43
|
-
"tw-text-
|
|
40
|
+
return (h(Host, { class: cs("bcm-ui-element bcm-ui-content-display", "tw-block tw-h-fit tw-w-fit tw-rounded tw-border tw-border-solid tw-px-1", "tw-border-color-default tw-bg-color-default tw-text-color-default", "tw-text-center tw-font-medium tw-capitalize", {
|
|
41
|
+
"tw-text-size-3": size === Bcm.Size.small,
|
|
42
|
+
"tw-text-size-4": size === Bcm.Size.medium,
|
|
43
|
+
"tw-text-size-5": size === Bcm.Size.large,
|
|
44
44
|
}), style: Object.assign({}, Generate.getTwColor({ color })) }, this.getHotkey(hotkey)));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "bcm-shortcut"; }
|
|
@@ -40,15 +40,15 @@ export class BcmToast {
|
|
|
40
40
|
return this.el;
|
|
41
41
|
}
|
|
42
42
|
async hide() {
|
|
43
|
-
this.visibleContainer = false;
|
|
44
|
-
clearTimeout(this.timer);
|
|
45
|
-
this.bcmToastClose.emit();
|
|
46
|
-
await delay(100);
|
|
47
|
-
this.visible = false;
|
|
48
|
-
if (this.removeAfterClose) {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
}
|
|
43
|
+
// this.visibleContainer = false;
|
|
44
|
+
// clearTimeout(this.timer);
|
|
45
|
+
// this.bcmToastClose.emit();
|
|
46
|
+
// await delay(100);
|
|
47
|
+
// this.visible = false;
|
|
48
|
+
// if (this.removeAfterClose) {
|
|
49
|
+
// await delay(100);
|
|
50
|
+
// this.el.remove();
|
|
51
|
+
// }
|
|
52
52
|
}
|
|
53
53
|
handleMouseEnter() {
|
|
54
54
|
clearTimeout(this.timer);
|
|
@@ -78,7 +78,7 @@ export class BcmToast {
|
|
|
78
78
|
return container;
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
|
-
return (h(Host, { class: "tw-hidden" }, h("div", { class: cs({ "tw-hidden": !this.visible }), id: this._id + "-container", onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("div", { class: cs("tw-pointer-events-auto tw-transform tw-transition tw-duration-300 tw-ease-in-out", "tw-flex tw-min-w-[256px] tw-max-w-[420px] tw-flex-col tw-gap-2 tw-rounded-lg tw-border tw-font-sans tw-font-normal tw-shadow-2", "tw-border-
|
|
81
|
+
return (h(Host, { class: "tw-hidden" }, h("div", { class: cs({ "tw-hidden": !this.visible }), id: this._id + "-container", onMouseEnter: () => this.handleMouseEnter(), onMouseLeave: () => this.handleMouseLeave() }, h("div", { class: cs("tw-pointer-events-auto tw-transform tw-transition tw-duration-300 tw-ease-in-out", "tw-flex tw-min-w-[256px] tw-max-w-[420px] tw-flex-col tw-gap-2 tw-rounded-lg tw-border tw-font-sans tw-font-normal tw-shadow-2", "tw-border-color-default tw-bg-white tw-text-color-default", {
|
|
82
82
|
"tw-p-4": !this.description,
|
|
83
83
|
"tw-p-6": this.description,
|
|
84
84
|
}, "tw-transform tw-transition tw-duration-300 tw-ease-in-out ", {
|
|
@@ -87,10 +87,10 @@ export class BcmToast {
|
|
|
87
87
|
"tw-translate-y-[-100%]": !this.visibleContainer && this.position.split("-")[0] === "top",
|
|
88
88
|
"tw-translate-y-[100%]": !this.visibleContainer && this.position.split("-")[0] === "bottom",
|
|
89
89
|
}) }, h("div", { class: "tw-flex tw-items-center tw-justify-between tw-gap-5" }, h("div", { class: "tw-flex tw-items-center tw-gap-3 " }, this.status && (h("i", { class: cs("tw-text-6", this.messageIcon ? this.messageIcon : "far", {
|
|
90
|
-
"tw-text-
|
|
91
|
-
"tw-text-
|
|
92
|
-
"tw-text-
|
|
93
|
-
"tw-text-
|
|
90
|
+
"tw-text-color-success": this.status === "success",
|
|
91
|
+
"tw-text-color-error": this.status === "error",
|
|
92
|
+
"tw-text-color-warning": this.status === "warning",
|
|
93
|
+
"tw-text-color-info": this.status === "info",
|
|
94
94
|
}, {
|
|
95
95
|
"fa-check-circle": !this.messageIcon && this.status === "success",
|
|
96
96
|
"fa-exclamation-circle": !this.messageIcon && this.status === "error",
|
|
@@ -99,9 +99,9 @@ export class BcmToast {
|
|
|
99
99
|
}) })), h("span", { class: cs({
|
|
100
100
|
"tw-text-4": !this.description,
|
|
101
101
|
"tw-text-6 tw-font-medium": this.description,
|
|
102
|
-
}) }, !this.description && this.status && h("span", null, StringHelper.capitalize(this.status), ": "), this.message)), h("div", { class: "tw-flex tw-items-baseline tw-gap-2" }, this.viewButton && (h("button", { onClick: () => this.bcmToastView.emit(), title: "View details", class: cs("tw-cursor-pointer tw-rounded tw-bg-transparent tw-p-0 tw-px-1 tw-text-4 tw-text-inherit", "hover:tw-bg-
|
|
102
|
+
}) }, !this.description && this.status && h("span", null, StringHelper.capitalize(this.status), ": "), this.message)), h("div", { class: "tw-flex tw-items-baseline tw-gap-2" }, this.viewButton && (h("button", { onClick: () => this.bcmToastView.emit(), title: "View details", class: cs("tw-appearance-none tw-outline-0 tw-border-none tw-cursor-pointer tw-rounded tw-bg-transparent tw-p-0 tw-px-1 tw-text-4 tw-text-inherit", "hover:tw-bg-color-default-hover", "active:tw-bg-color-default-active", "tw-transition tw-duration-300 tw-ease-in-out", {
|
|
103
103
|
"tw-font-medium": this.description,
|
|
104
|
-
}) }, "View")), this.closeButton && (h("button", { title: "Close", onClick: () => this.hide(), class: cs("tw-rounded tw-bg-transparent tw-p-0", "tw-flex tw-h-6 tw-w-6 tw-cursor-pointer tw-items-center tw-justify-center tw-text-3 tw-text-inherit", "hover:tw-bg-
|
|
104
|
+
}) }, "View")), this.closeButton && (h("button", { title: "Close", onClick: () => this.hide(), class: cs("tw-appearance-none tw-outline-0 tw-border-none tw-cursor-pointer", "tw-rounded tw-bg-transparent tw-p-0", "tw-flex tw-h-6 tw-w-6 tw-cursor-pointer tw-items-center tw-justify-center tw-text-3 tw-text-inherit", "hover:tw-bg-color-default-hover", "active:tw-bg-color-default-active") }, h("i", { class: "fal fa-times" }))))), this.description && h("div", { class: "tw-text-size-5 font-medium" }, this.description), h("slot", null)))));
|
|
105
105
|
}
|
|
106
106
|
static get is() { return "bcm-toast"; }
|
|
107
107
|
static get properties() {
|
|
@@ -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;
|
|
@@ -125,19 +125,19 @@
|
|
|
125
125
|
|
|
126
126
|
:root {
|
|
127
127
|
--bcm-date-border-color: var(--bcm-ui-color-border-default);
|
|
128
|
-
--bcm-date-border-hover:
|
|
128
|
+
--bcm-date-border-hover: var(--bcm-ui-color-border-primary);
|
|
129
129
|
--bcm-date-text-color: var(--bcm-ui-color-text-default);
|
|
130
130
|
--bcm-date-placeholder-color: var(--bcm-ui-color-text-placeholder);
|
|
131
131
|
--bcm-date-disabled-color: var(--bcm-ui-color-text-disabled);
|
|
132
132
|
--bcm-date-error-color: #e53e3e;
|
|
133
|
-
--bcm-date-primary-color: var(--bcm-ui-color-background-primary-
|
|
134
|
-
--bcm-date-primary-hover: var(--bcm-ui-color-background-primary-
|
|
133
|
+
--bcm-date-primary-color: var(--bcm-ui-color-background-primary-default);
|
|
134
|
+
--bcm-date-primary-hover: var(--bcm-ui-color-background-primary-hover);
|
|
135
135
|
--bcm-date-bg-hover: #e2e8f0;
|
|
136
|
-
--bcm-date-range-bg: var(--bcm-ui-color-background-
|
|
137
|
-
--bcm-date-range-hover-bg: var(--bcm-ui-color-background-
|
|
136
|
+
--bcm-date-range-bg: var(--bcm-ui-color-background-stated-blue-default);
|
|
137
|
+
--bcm-date-range-hover-bg: var(--bcm-ui-color-background-stated-blue-hover);
|
|
138
138
|
--bcm-date-disabled-bg: #f8fafc;
|
|
139
139
|
--bcm-date-focused-bg: #f8fafc;
|
|
140
|
-
--bcm-date-border-radius:
|
|
140
|
+
--bcm-date-border-radius: var(--bcm-ui-border-radius-default);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
.bcm-date {
|
|
@@ -167,8 +167,12 @@
|
|
|
167
167
|
}
|
|
168
168
|
.bcm-date--medium {
|
|
169
169
|
height: 32px;
|
|
170
|
-
font-size:
|
|
171
|
-
line-height:
|
|
170
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
171
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
172
|
+
}
|
|
173
|
+
.bcm-date--medium input {
|
|
174
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
175
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
172
176
|
}
|
|
173
177
|
.bcm-date--small {
|
|
174
178
|
height: 24px;
|
|
@@ -243,7 +247,7 @@
|
|
|
243
247
|
outline: none;
|
|
244
248
|
overflow: hidden;
|
|
245
249
|
text-overflow: ellipsis;
|
|
246
|
-
font-weight:
|
|
250
|
+
font-weight: 400;
|
|
247
251
|
}
|
|
248
252
|
.bcm-date-input > input::placeholder {
|
|
249
253
|
font-family: "Inter", sans-serif;
|
|
@@ -130,14 +130,14 @@
|
|
|
130
130
|
.bcm-checkbox {
|
|
131
131
|
outline: none;
|
|
132
132
|
border: none;
|
|
133
|
-
--bcm-checkbox-primary-color-default: var(--bcm-
|
|
134
|
-
--bcm-checkbox-secondary-color-default: var(--bcm-
|
|
135
|
-
--bcm-checkbox-primary-color-hover: var(--bcm-
|
|
136
|
-
--bcm-checkbox-secondary-color-hover: var(--bcm-
|
|
137
|
-
--bcm-checkbox-primary-color-focus-visible: var(--bcm-
|
|
138
|
-
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-
|
|
139
|
-
--bcm-checkbox-primary-color-active: var(--bcm-
|
|
140
|
-
--bcm-checkbox-secondary-color-active: var(--bcm-
|
|
133
|
+
--bcm-checkbox-primary-color-default: var(--bcm-ui-color-background-primary-default);
|
|
134
|
+
--bcm-checkbox-secondary-color-default: var(--bcm-ui-color-background-base-default);
|
|
135
|
+
--bcm-checkbox-primary-color-hover: var(--bcm-ui-color-background-primary-hover);
|
|
136
|
+
--bcm-checkbox-secondary-color-hover: var(--bcm-ui-color-background-default-default);
|
|
137
|
+
--bcm-checkbox-primary-color-focus-visible: var(--bcm-ui-color-background-primary-active);
|
|
138
|
+
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-ui-color-background-default-active);
|
|
139
|
+
--bcm-checkbox-primary-color-active: var(--bcm-ui-color-background-primary-active);
|
|
140
|
+
--bcm-checkbox-secondary-color-active: var(--bcm-ui-color-background-default-active);
|
|
141
141
|
--bcm-checkbox-primary-color-disabled: var(--bcm-new-ds-color-slate-300);
|
|
142
142
|
--bcm-checkbox-secondary-color-disabled: var(--bcm-new-ds-color-slate-200);
|
|
143
143
|
display: inline-flex;
|
|
@@ -183,15 +183,15 @@
|
|
|
183
183
|
line-height: calc(14px + 8px);
|
|
184
184
|
font-weight: 400;
|
|
185
185
|
font-weight: 500;
|
|
186
|
-
color: var(--bcm-
|
|
186
|
+
color: var(--bcm-ui-color-text-default);
|
|
187
187
|
}
|
|
188
188
|
.bcm-checkbox .slot:not(:empty) {
|
|
189
189
|
margin-left: 8px;
|
|
190
190
|
margin-right: 8px;
|
|
191
191
|
}
|
|
192
192
|
.bcm-checkbox-size-small .slot {
|
|
193
|
-
font-size:
|
|
194
|
-
line-height:
|
|
193
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
194
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
195
195
|
margin-top: -2.5px;
|
|
196
196
|
}
|
|
197
197
|
.bcm-checkbox-size-small .bcm-checkbox__input {
|
|
@@ -204,8 +204,8 @@
|
|
|
204
204
|
font-size: calc(10px - 2px);
|
|
205
205
|
}
|
|
206
206
|
.bcm-checkbox-size-medium .slot {
|
|
207
|
-
font-size:
|
|
208
|
-
line-height:
|
|
207
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
208
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
209
209
|
margin-top: -1.5px;
|
|
210
210
|
}
|
|
211
211
|
.bcm-checkbox-size-medium .bcm-checkbox__input {
|
|
@@ -218,8 +218,8 @@
|
|
|
218
218
|
font-size: 10px;
|
|
219
219
|
}
|
|
220
220
|
.bcm-checkbox-size-large .slot {
|
|
221
|
-
font-size:
|
|
222
|
-
line-height:
|
|
221
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
222
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
223
223
|
margin-top: -1.5px;
|
|
224
224
|
}
|
|
225
225
|
.bcm-checkbox-size-large .bcm-checkbox__input {
|
|
@@ -25,15 +25,15 @@ export class Popover {
|
|
|
25
25
|
variable: "--bcm-popover",
|
|
26
26
|
});
|
|
27
27
|
const style = Object.assign(Object.assign({}, dc), (dc["--bcm-popover-bg"] && { "--bcm-popover-text": ColorHelper.reverseColor(dc["--bcm-popover-bg"]) }));
|
|
28
|
-
const inner = `<div class="tw-z-[1] tw-rounded tw-py-
|
|
29
|
-
${this.message ? `<div class="tw-font-
|
|
30
|
-
${this.content ? `<div class="tw-font-normal tw-px-
|
|
28
|
+
const inner = `<div class="tw-z-[1] tw-rounded-md tw-py-3">
|
|
29
|
+
${this.message ? `<div class="tw-font-semibold tw-w-full tw-pb-3 tw-px-3">${StringHelper.trim(this.message)}</div>` : ""}
|
|
30
|
+
${this.content ? `<div class="tw-font-normal tw-px-3">${StringHelper.trim(this.content)}</div>` : ""}
|
|
31
31
|
</div>`;
|
|
32
32
|
this.el = Generate.createElement("div", {
|
|
33
33
|
"id": `${this.targetId}-popover-box`,
|
|
34
34
|
"class": `
|
|
35
|
-
tw-whitespace-normal tw-break-words tw-block tw-font-sans tw-pointer-events-none tw-max-w-[256px] tw-rounded tw-bg-[--bcm-popover-bg] tw-text-[--bcm-popover-text] tw-text-
|
|
36
|
-
tw-shadow`,
|
|
35
|
+
tw-whitespace-normal tw-break-words tw-block tw-font-sans tw-pointer-events-none tw-max-w-[256px] tw-rounded tw-bg-[--bcm-popover-bg] tw-text-[--bcm-popover-text] tw-text-size-4 tw-absolute tw-top-0 tw-left-0 tw-z-tooltip tw-opacity-0 tw-transition-opacity tw-duration-300
|
|
36
|
+
tw-shadow-md`,
|
|
37
37
|
"role": "popover",
|
|
38
38
|
"aria-hidden": "true",
|
|
39
39
|
"style": ColorHelper.generateStyleString(style),
|
|
@@ -6,7 +6,7 @@ import { delay, FloatingUI } from "@bcm/utils";
|
|
|
6
6
|
import { ColorHelper, Generate, StringHelper } from "@bcm/helpers";
|
|
7
7
|
import { Bcm } from "@bcm/model";
|
|
8
8
|
export class Tooltip {
|
|
9
|
-
constructor({ message, targetId, placement = "top", color = "
|
|
9
|
+
constructor({ message, targetId, placement = "top", color = "gray-700", trigger = "none", size = "medium", openDelay = 0, closeDelay = 0, autoHide = false, emitShow = () => { }, emitHide = () => { }, }) {
|
|
10
10
|
this.destroy = () => {
|
|
11
11
|
this.el = document.getElementById(this.id);
|
|
12
12
|
if (this.el) {
|
|
@@ -19,13 +19,13 @@ export class Tooltip {
|
|
|
19
19
|
this.sizeClass = () => {
|
|
20
20
|
switch (this.size) {
|
|
21
21
|
case Bcm.Size.small:
|
|
22
|
-
return "tw-text-
|
|
22
|
+
return "tw-text-size-3";
|
|
23
23
|
case Bcm.Size.medium:
|
|
24
|
-
return "tw-text-
|
|
24
|
+
return "tw-text-size-4";
|
|
25
25
|
case Bcm.Size.large:
|
|
26
|
-
return "tw-text-
|
|
26
|
+
return "tw-text-size-5";
|
|
27
27
|
default:
|
|
28
|
-
return "tw-text-
|
|
28
|
+
return "tw-text-size-4";
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
this.init = () => {
|
|
@@ -41,7 +41,7 @@ export class Tooltip {
|
|
|
41
41
|
this.el = Generate.createElement("div", {
|
|
42
42
|
"id": `${this.targetId}-tooltip-box`,
|
|
43
43
|
"class": `
|
|
44
|
-
tw-whitespace-normal tw-break-words tw-block tw-font-sans tw-pointer-events-none tw-max-w-xs tw-py-1 tw-px-
|
|
44
|
+
tw-whitespace-normal tw-break-words tw-block tw-font-sans tw-font-medium tw-pointer-events-none tw-max-w-xs tw-py-1 tw-px-3 tw-rounded-md tw-bg-[--bcm-tooltip-bg] tw-text-[--bcm-tooltip-text] ${this.sizeClass()} tw-absolute tw-top-0 tw-left-0 tw-z-tooltip tw-opacity-0 tw-transition-opacity tw-duration-300`,
|
|
45
45
|
"role": "tooltip",
|
|
46
46
|
"aria-hidden": "true",
|
|
47
47
|
"style": ColorHelper.generateStyleString(style),
|
|
@@ -9,14 +9,14 @@ export const CaptionTemplate = ({ noCaption, captionType, caption, captionError,
|
|
|
9
9
|
maxLength, value, }) => {
|
|
10
10
|
size = size || "medium";
|
|
11
11
|
return ((noCaption == false || maxLength) && (h("div", { class: cs("bcm-ui-element bcm-ui-feedback bcm-caption-area tw-mt-1 tw-min-h-[20px] tw-flex tw-flex-row tw-items-start tw-justify-between tw-font-normal", {
|
|
12
|
-
"tw-text-
|
|
13
|
-
"tw-text-
|
|
14
|
-
"tw-text-
|
|
15
|
-
"tw-text-
|
|
16
|
-
"tw-text-
|
|
12
|
+
"tw-text-color-caption": !captionType || captionType == "default",
|
|
13
|
+
"tw-text-color-info": captionType == "info",
|
|
14
|
+
"tw-text-color-success": captionType == "success",
|
|
15
|
+
"tw-text-color-warning": captionType == "warning",
|
|
16
|
+
"tw-text-color-error": captionType == "error",
|
|
17
17
|
}, {
|
|
18
|
-
"tw-text-
|
|
19
|
-
"tw-text-
|
|
20
|
-
"tw-text-
|
|
21
|
-
}, captionType && captionType != "default" && `bcm-caption-area__type-${captionType}`) }, h("div", { class: "bcm-caption-area__text" }, captionType == "error" ? customErrorMessage || captionError : caption), maxLength && h("div", { class: "bcm-caption-area__text tw-text-
|
|
18
|
+
"tw-text-size-3": size == "small",
|
|
19
|
+
"tw-text-size-4": size == "medium",
|
|
20
|
+
"tw-text-size-5": size == "large",
|
|
21
|
+
}, captionType && captionType != "default" && `bcm-caption-area__type-${captionType}`) }, h("div", { class: "bcm-caption-area__text" }, captionType == "error" ? customErrorMessage || captionError : caption), maxLength && h("div", { class: "bcm-caption-area__text tw-text-color-caption" }, " ", `${(value === null || value === void 0 ? void 0 : value.length) || 0}/${maxLength}`, " "))));
|
|
22
22
|
};
|
|
@@ -51,7 +51,7 @@ ref, handleBlur, handleFocus, handleInput, handleChange, isEyeDropperSupported,
|
|
|
51
51
|
});
|
|
52
52
|
const inputClass = "bcm-input__container--" + size;
|
|
53
53
|
const unitClass = cs(inputClass, "unit-prefix");
|
|
54
|
-
return (h("div", { class: containerClass, id: id + "-container" }, h("span", { hidden: true }, h("slot", null)), h("span", { class: "input-prefix" }, h("slot", { name: "prefix" }), _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix }), unitPrefix && h("span", { class: unitClass }, unitPrefix), typeColor && (h("i", { class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-
|
|
54
|
+
return (h("div", { class: containerClass, id: id + "-container" }, h("span", { hidden: true }, h("slot", null)), h("span", { class: "input-prefix" }, h("slot", { name: "prefix" }), _prefix && _prefix.length > 0 && h("span", { innerHTML: _prefix }), unitPrefix && h("span", { class: unitClass }, unitPrefix), typeColor && (h("i", { 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: {
|
|
55
55
|
backgroundColor: value,
|
|
56
56
|
} }))), h(ElementTagType, Object.assign({ tabindex: "0", id: id + "-input", "bcm-internal-id": internalId, class: "bcm-input-element " + inputClass }, (ElementTagType === Bcm.HtmlElementType.input && {
|
|
57
57
|
type,
|
|
@@ -8,9 +8,9 @@ import Bcm from "../models/bcm";
|
|
|
8
8
|
export const LabelTemplate = ({ required, value, size, form, htmlFor, type, tooltip }) => {
|
|
9
9
|
size = size || "medium";
|
|
10
10
|
type = type || Bcm.Status.default;
|
|
11
|
-
return (h("label", { form: form, htmlFor: htmlFor, "aria-hidden": "true", class: cs("bcm-ui-element bcm-ui-feedback bcm-label bcm-label__text tw-mb-1 tw-font-medium tw-text-
|
|
12
|
-
"tw-text-
|
|
13
|
-
"tw-text-
|
|
14
|
-
"tw-text-
|
|
11
|
+
return (h("label", { form: form, htmlFor: htmlFor, "aria-hidden": "true", class: cs("bcm-ui-element bcm-ui-feedback bcm-label bcm-label__text tw-mb-1 tw-font-medium tw-text-color-label ", {
|
|
12
|
+
"tw-text-size-3": size == "small",
|
|
13
|
+
"tw-text-size-4": size == "medium",
|
|
14
|
+
"tw-text-size-5": size == "large",
|
|
15
15
|
}) }, value, " ", required && "*", tooltip && (h("span", { class: "tw-ml-1" }, h("bcm-tooltip", { message: tooltip, placement: "top", trigger: "hover" }, h("bcm-icon", { icon: "fas fa-info-circle" }))))));
|
|
16
16
|
};
|
|
@@ -13,10 +13,10 @@ export const StepperHeaderTemplate = ({ _title, description, status, valid, inde
|
|
|
13
13
|
'hidden': headerHidden,
|
|
14
14
|
});
|
|
15
15
|
const defaultIcons = {
|
|
16
|
-
success: '
|
|
17
|
-
warning: '
|
|
18
|
-
error: '
|
|
16
|
+
success: 'far fa-check',
|
|
17
|
+
warning: 'far fa-exclamation-triangle',
|
|
18
|
+
error: 'far fa-times',
|
|
19
19
|
};
|
|
20
20
|
const customIcon = (icon || (statusIcon && defaultIcons[status])) && h("bcm-icon", { icon: icon ? icon : defaultIcons[status] });
|
|
21
|
-
return (h("div", { class: classes }, h("div", { class: "bcm-stepper__header-item--container", onClick: () => !disabled && stepChange(index) }, h("div", { class: "bcm-stepper__header-item-icon size-3" }, loading ? h("bcm-icon", { icon: "far fa-spinner-third fa-spin" }) : customIcon || index), h("div", { class: "bcm-stepper__header-item-title size-
|
|
21
|
+
return (h("div", { class: classes }, h("div", { class: "bcm-stepper__header-item--container", onClick: () => !disabled && stepChange(index) }, h("div", { class: "bcm-stepper__header-item-icon size-3" }, loading ? h("bcm-icon", { icon: "far fa-spinner-third fa-spin" }) : customIcon || index), h("div", { class: "bcm-stepper__header-item-title tw-text-size-5" }, _title), h("div", { class: "bcm-stepper__header-item-description tw-text-size-4 tw-text-center", innerHTML: description }))));
|
|
22
22
|
};
|