bromcom-ui 2.12.4-rc.0 → 3.0.0-alpha.1
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-2a15a39d.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-652c1d30.entry.js → p-14b04371.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32a5791b.entry.js → p-19ed830b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-55a44163.entry.js → p-1a7e1a74.entry.js} +1 -1
- package/dist/bromcom-ui/{p-63646141.entry.js → p-1fbec9e4.entry.js} +1 -1
- package/dist/bromcom-ui/p-217934a4.entry.js +5 -0
- package/dist/bromcom-ui/p-22e3161d.entry.js +5 -0
- package/dist/bromcom-ui/{p-b1754fc5.entry.js → p-2a0b6273.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcc6f71e.js → p-2d0ff35e.js} +1 -1
- package/dist/bromcom-ui/p-367bc8e0.js +5 -0
- package/dist/bromcom-ui/{p-b689c630.entry.js → p-369948e7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-fcbd8a75.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4211b6bb.entry.js → p-46628fcd.entry.js} +1 -1
- package/dist/bromcom-ui/{p-49c6a7eb.entry.js → p-485ed6c1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-8129ed3a.js → p-499d8454.js} +1 -1
- package/dist/bromcom-ui/{p-b1382dbd.entry.js → p-4a71c61a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3182df7e.js → p-4d2bf0e7.js} +1 -1
- package/dist/bromcom-ui/{p-1fb713c8.entry.js → p-51ba3626.entry.js} +1 -1
- package/dist/bromcom-ui/p-556010cb.js +5 -0
- package/dist/bromcom-ui/{p-a4f0590d.entry.js → p-583982a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d4c75e60.entry.js → p-5bf051b9.entry.js} +1 -1
- package/dist/bromcom-ui/p-5c4939a7.js +5 -0
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/p-6e5f5f36.js +1 -1
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/p-6f224017.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-6f2e4c9b.js} +1 -1
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-6f861fed.js} +1 -1
- package/dist/bromcom-ui/{p-9eb250d4.entry.js → p-7416d1f6.entry.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-8363990a.entry.js +5 -0
- package/dist/bromcom-ui/p-8457670e.entry.js +5 -0
- package/dist/bromcom-ui/{p-f82db5dd.js → p-858cee66.js} +1 -1
- package/dist/bromcom-ui/{p-e45c1546.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-65783175.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/{p-34b9cf32.entry.js → p-9015080d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-40a29024.entry.js → p-9d41ff2a.entry.js} +1 -1
- package/dist/bromcom-ui/p-a080c8ea.entry.js +5 -0
- package/dist/bromcom-ui/p-a141b2bc.entry.js +5 -0
- package/dist/bromcom-ui/{p-4680865d.js → p-a2df6c19.js} +1 -1
- package/dist/bromcom-ui/p-a313fba6.js +1 -1
- package/dist/bromcom-ui/{p-c097f624.entry.js → p-a6b4a46d.entry.js} +1 -1
- package/dist/bromcom-ui/p-a6b696de.js +5 -0
- package/dist/bromcom-ui/p-acfceb2b.entry.js +5 -0
- package/dist/bromcom-ui/{p-c0aa5289.entry.js → p-b46e368e.entry.js} +1 -1
- package/dist/bromcom-ui/p-b85227c8.entry.js +5 -0
- package/dist/bromcom-ui/p-c47463b1.entry.js +5 -0
- package/dist/bromcom-ui/{p-defdd05b.entry.js → p-c4bf7f7e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-826a85ed.entry.js → p-c5bb29d0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c3b74f76.entry.js → p-cc70861b.entry.js} +1 -1
- package/dist/bromcom-ui/p-ce452032.entry.js +16 -0
- package/dist/bromcom-ui/{p-b4b9ca15.entry.js → p-d0e56f5f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-aa6887d7.js → p-d4e4aeee.js} +1 -1
- package/dist/bromcom-ui/{p-6b5ed4d8.js → p-d65bc842.js} +1 -1
- package/dist/bromcom-ui/p-dc73abe2.js +5 -0
- package/dist/bromcom-ui/p-dcd69786.entry.js +5 -0
- package/dist/bromcom-ui/{p-50a1591e.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/{p-874053cc.entry.js → p-e7c31126.entry.js} +1 -1
- package/dist/bromcom-ui/p-e9a43560.js +5 -0
- package/dist/bromcom-ui/p-ea24a822.entry.js +5 -0
- package/dist/bromcom-ui/{p-f815dc7a.entry.js → p-fdd4cabe.entry.js} +1 -1
- package/dist/cjs/{bcm-489c9b1a.js → bcm-1d1fcf21.js} +4 -4
- package/dist/cjs/bcm-accordion_68.cjs.entry.js +47182 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +8 -8
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +8 -8
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/bcm-caption.cjs.entry.js +9 -9
- package/dist/cjs/bcm-card.cjs.entry.js +5 -5
- package/dist/cjs/bcm-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +8 -8
- package/dist/cjs/bcm-default.cjs.entry.js +2 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +5 -5
- package/dist/cjs/bcm-input-2.cjs.entry.js +9 -9
- package/dist/cjs/bcm-input-custom.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +9 -9
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +6 -6
- package/dist/cjs/bcm-modal-2.cjs.entry.js +7 -7
- package/dist/cjs/bcm-number-input.cjs.entry.js +9 -9
- package/dist/cjs/bcm-skeleton.cjs.entry.js +6 -6
- package/dist/cjs/bcm-table.cjs.entry.js +6 -6
- package/dist/cjs/bcm-tag.cjs.entry.js +15 -15
- package/dist/cjs/bcm-time-picker.cjs.entry.js +4 -4
- 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/{floating-ui-21890d11.js → floating-ui-5b396838.js} +2 -2
- package/dist/cjs/{generate-b55bc9ac.js → generate-a25d8fc8.js} +1 -1
- package/dist/cjs/{global-ae5a410a.js → global-08c079a8.js} +1 -1
- package/dist/cjs/{input.style-b5676e6a.js → input.style-bee84fb0.js} +1 -1
- package/dist/cjs/{label-template-6da4808b.js → label-template-fc301e0c.js} +6 -6
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{number-helper-4a5c0bb5.js → number-helper-3a56812f.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +7 -7
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -5
- package/dist/cjs/{package-1757d4e0.js → package-6afe17f3.js} +1 -1
- package/dist/cjs/{popover-placement-e7d6eabd.js → popover-placement-02e6101b.js} +1 -1
- package/dist/cjs/{slot-template-c8e2816c.js → slot-template-df7b5b59.js} +1 -1
- package/dist/cjs/{string-helper-f9184277.js → string-helper-9cdfb273.js} +2 -2
- package/dist/cjs/{validators-51a16def.js → validators-78797513.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 +42 -35
- package/dist/collection/components/molecules/modal/modal.js +1 -1
- 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/organism/list/list.js +19 -73
- package/dist/collection/components/other/shortcut/shortcut.js +4 -4
- package/dist/collection/components/other/toast/toast.js +7 -7
- 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/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 +2 -2
- 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 +7 -7
- 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 +21 -58
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +10 -10
- package/dist/components/rc-picker.js +1 -1
- 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-be0d4ec8.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/bcm-a50d55ba.js +1 -1
- package/dist/esm/bcm-accordion_68.entry.js +47111 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +12 -12
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +13 -13
- 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 +14 -14
- 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 +9 -9
- package/dist/esm/bcm-datetime-picker.entry.js +13 -13
- package/dist/esm/bcm-default.entry.js +5 -5
- package/dist/esm/bcm-form-2.entry.js +8 -8
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-2.entry.js +11 -11
- package/dist/esm/bcm-input-custom.entry.js +6 -6
- package/dist/esm/bcm-input-dropdown.entry.js +14 -14
- 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 +13 -13
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +15 -15
- 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 +9 -9
- package/dist/esm/bcm-time-picker.entry.js +9 -9
- 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 +16 -16
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-9d0ea503.js → caption-template-16dd9444.js} +11 -11
- package/dist/esm/{color-helper-e74656af.js → color-helper-ba15b0d8.js} +2 -2
- package/dist/esm/{colors-df32bb43.js → colors-ed4e7579.js} +1 -1
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-b75266e6.js} +1 -1
- package/dist/esm/floating-ui-3f4394da.js +1 -1
- package/dist/esm/{generate-27c06421.js → generate-a4b85775.js} +2 -2
- package/dist/esm/{global-0dac0bf2.js → global-1baa11cd.js} +2 -2
- package/dist/esm/{index-b84bc8c9.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-a6d9d0af.js → index-0d3a56ec.js} +1 -1
- package/dist/esm/{index-b3026131.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-613d613a.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{label-template-8c5948ab.js → label-template-4c3797f4.js} +7 -7
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-94a51ec2.js → number-helper-872d5482.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +11 -11
- package/dist/esm/old-bcm-popover.entry.js +7 -7
- package/dist/esm/{package-34090aad.js → package-1d6f13ed.js} +1 -1
- package/dist/esm/{popover-placement-2f5939ea.js → popover-placement-2bf3a181.js} +1 -1
- package/dist/esm/{slot-template-f85d540c.js → slot-template-e0202c5a.js} +2 -2
- package/dist/esm/{string-helper-85990695.js → string-helper-69203215.js} +2 -2
- package/dist/esm/{utils-b3338faf.js → utils-7727d09e.js} +1 -1
- package/dist/esm/{validators-7e605ca5.js → validators-e9800e9a.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/organism/list/list.d.ts +0 -4
- package/dist/types/components.d.ts +0 -4
- package/package.json +1 -1
- package/dist/bromcom-ui/p-0089f9c5.entry.js +0 -5
- package/dist/bromcom-ui/p-03cc10f8.entry.js +0 -5
- package/dist/bromcom-ui/p-075dd6ba.entry.js +0 -5
- package/dist/bromcom-ui/p-07971537.entry.js +0 -5
- package/dist/bromcom-ui/p-0d952c81.js +0 -5
- package/dist/bromcom-ui/p-0e97b110.js +0 -5
- package/dist/bromcom-ui/p-12687eaa.entry.js +0 -5
- package/dist/bromcom-ui/p-1441edac.entry.js +0 -5
- package/dist/bromcom-ui/p-17bc7e7e.entry.js +0 -5
- package/dist/bromcom-ui/p-1ac9eb84.entry.js +0 -5
- package/dist/bromcom-ui/p-1bf1e8ad.entry.js +0 -5
- package/dist/bromcom-ui/p-1c8ed0b3.entry.js +0 -5
- package/dist/bromcom-ui/p-1d663e83.entry.js +0 -5
- package/dist/bromcom-ui/p-21b4ca2e.entry.js +0 -5
- package/dist/bromcom-ui/p-2ebe3b67.entry.js +0 -5
- package/dist/bromcom-ui/p-30a11f2e.entry.js +0 -5
- package/dist/bromcom-ui/p-30cc83af.js +0 -5
- package/dist/bromcom-ui/p-33d204f1.entry.js +0 -5
- package/dist/bromcom-ui/p-348e74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-379b00d6.js +0 -5
- package/dist/bromcom-ui/p-38a52254.js +0 -5
- package/dist/bromcom-ui/p-3e12382d.js +0 -5
- package/dist/bromcom-ui/p-4b5c5f62.entry.js +0 -5
- package/dist/bromcom-ui/p-4c2e776d.entry.js +0 -5
- package/dist/bromcom-ui/p-4c9c2159.entry.js +0 -5
- package/dist/bromcom-ui/p-56b45430.entry.js +0 -5
- package/dist/bromcom-ui/p-646c8ea2.entry.js +0 -5
- package/dist/bromcom-ui/p-69e3b4f9.entry.js +0 -5
- package/dist/bromcom-ui/p-6b3bf457.entry.js +0 -5
- package/dist/bromcom-ui/p-6fa98b12.entry.js +0 -5
- package/dist/bromcom-ui/p-7247ac65.entry.js +0 -5
- package/dist/bromcom-ui/p-7505325c.entry.js +0 -5
- package/dist/bromcom-ui/p-76edf59f.js +0 -7
- package/dist/bromcom-ui/p-7ae23e76.entry.js +0 -5
- package/dist/bromcom-ui/p-7b6d3a77.entry.js +0 -5
- package/dist/bromcom-ui/p-7dd0467a.entry.js +0 -5
- package/dist/bromcom-ui/p-815f1132.entry.js +0 -5
- package/dist/bromcom-ui/p-852fd092.entry.js +0 -5
- package/dist/bromcom-ui/p-85aa9dfd.entry.js +0 -5
- package/dist/bromcom-ui/p-8baa08ea.entry.js +0 -5
- package/dist/bromcom-ui/p-8c7e1bea.entry.js +0 -5
- package/dist/bromcom-ui/p-8dda8873.js +0 -14
- package/dist/bromcom-ui/p-8ee40a96.js +0 -5
- package/dist/bromcom-ui/p-90b5befd.entry.js +0 -5
- package/dist/bromcom-ui/p-935f57ad.entry.js +0 -5
- package/dist/bromcom-ui/p-9402a607.entry.js +0 -5
- package/dist/bromcom-ui/p-9695f7c9.js +0 -5
- package/dist/bromcom-ui/p-97bc1843.entry.js +0 -5
- package/dist/bromcom-ui/p-9b080d5d.entry.js +0 -5
- package/dist/bromcom-ui/p-9b8e6484.entry.js +0 -5
- package/dist/bromcom-ui/p-9d1e255a.js +0 -5
- package/dist/bromcom-ui/p-9db3dcfa.entry.js +0 -5
- package/dist/bromcom-ui/p-ac949369.entry.js +0 -5
- package/dist/bromcom-ui/p-ad295560.entry.js +0 -5
- package/dist/bromcom-ui/p-b3faa68b.js +0 -5
- package/dist/bromcom-ui/p-b5bdc541.entry.js +0 -5
- package/dist/bromcom-ui/p-b716412b.entry.js +0 -5
- package/dist/bromcom-ui/p-bed627ab.js +0 -11
- package/dist/bromcom-ui/p-bfdf9447.entry.js +0 -5
- package/dist/bromcom-ui/p-c621138a.entry.js +0 -5
- package/dist/bromcom-ui/p-c9d35a7a.entry.js +0 -5
- package/dist/bromcom-ui/p-d0833fd3.entry.js +0 -5
- package/dist/bromcom-ui/p-d1dbebf6.entry.js +0 -5
- package/dist/bromcom-ui/p-d2f863d9.js +0 -5
- package/dist/bromcom-ui/p-d6c99f1f.entry.js +0 -5
- package/dist/bromcom-ui/p-daa32fc1.js +0 -5
- package/dist/bromcom-ui/p-dc3275aa.entry.js +0 -5
- package/dist/bromcom-ui/p-dccb9b5f.entry.js +0 -5
- package/dist/bromcom-ui/p-de1f21b5.entry.js +0 -5
- package/dist/bromcom-ui/p-de23b7bf.entry.js +0 -5
- package/dist/bromcom-ui/p-e3f8efa5.entry.js +0 -5
- package/dist/bromcom-ui/p-ee1b4a47.entry.js +0 -5
- package/dist/bromcom-ui/p-f0469946.entry.js +0 -5
- package/dist/bromcom-ui/p-f2fc3d54.entry.js +0 -5
- package/dist/bromcom-ui/p-f3c9ad5e.entry.js +0 -5
- package/dist/bromcom-ui/p-f6f37125.entry.js +0 -5
- package/dist/bromcom-ui/p-f86515f0.entry.js +0 -5
- package/dist/bromcom-ui/p-f908af03.entry.js +0 -5
- package/dist/bromcom-ui/p-f9c32e82.entry.js +0 -5
- package/dist/bromcom-ui/p-fd0c42ae.entry.js +0 -5
- package/dist/cjs/Overflow-ebad34dd.js +0 -2292
- 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.cjs.entry.js +0 -182
- 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-form.cjs.entry.js +0 -492
- package/dist/cjs/bcm-icon_6.cjs.entry.js +0 -2152
- 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-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-rc-picker.cjs.entry.js +0 -10235
- 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-4f41f5f2.js +0 -92
- package/dist/cjs/json-parse-decarator-ca73e0ee.js +0 -40
- package/dist/cjs/lodash-917168d7.js +0 -17199
- package/dist/cjs/moment-d06b012f.js +0 -4601
- package/dist/cjs/stepper-states-969da6c3.js +0 -85
- package/dist/cjs/tooltip-helper-a45a6cd4.js +0 -158
- package/dist/esm/Overflow-65c2db90.js +0 -2275
- 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.entry.js +0 -178
- 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-form.entry.js +0 -488
- package/dist/esm/bcm-icon_6.entry.js +0 -2143
- 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-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-rc-picker.entry.js +0 -10231
- 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-91dbe540.js +0 -191
- package/dist/esm/input-template-4d3a4e34.js +0 -90
- package/dist/esm/json-parse-decarator-1f7310a8.js +0 -38
- package/dist/esm/lodash-0a4396a7.js +0 -17197
- package/dist/esm/moment-15cd9198.js +0 -4598
- package/dist/esm/stepper-states-b1aa55b0.js +0 -83
- package/dist/esm/tooltip-helper-112e52a6.js +0 -156
|
@@ -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
|
};
|
|
@@ -10,21 +10,21 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { B as Bcm } from './bcm.js';
|
|
13
|
-
import { c as ce } from './
|
|
13
|
+
import { c as ce } from './index4.js';
|
|
14
14
|
import { d as defineCustomElement$2 } from './badge.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './icon.js';
|
|
16
16
|
|
|
17
17
|
const avatarStyle = ce({
|
|
18
18
|
slots: {
|
|
19
|
-
base: "bcm-avatar bcm-ui-element bcm-ui-content-display tw-uppercase tw-inline-flex tw-items-center tw-justify-center tw-bg-[--bcm-avatar-bg] tw-text-[--bcm-avatar-text]",
|
|
19
|
+
base: "bcm-avatar bcm-ui-element bcm-ui-content-display tw-uppercase tw-inline-flex tw-items-center tw-justify-center tw-bg-[--bcm-avatar-bg] tw-text-[--bcm-avatar-text] tw-font-medium",
|
|
20
20
|
image: "tw-w-full tw-h-full",
|
|
21
21
|
badge: "",
|
|
22
22
|
},
|
|
23
23
|
variants: {
|
|
24
24
|
size: {
|
|
25
|
-
small: "bcm-avatar__size-small tw-text-
|
|
26
|
-
medium: "bcm-avatar__size-medium tw-text-
|
|
27
|
-
large: "bcm-avatar__size-large tw-text-
|
|
25
|
+
small: "bcm-avatar__size-small tw-text-size-4 tw-w-6 tw-h-6",
|
|
26
|
+
medium: "bcm-avatar__size-medium tw-text-size-5 tw-w-8 tw-h-8",
|
|
27
|
+
large: "bcm-avatar__size-large tw-text-size-6 tw-w-10 tw-h-10",
|
|
28
28
|
},
|
|
29
29
|
shape: {
|
|
30
30
|
ellipse: {
|
|
@@ -82,7 +82,7 @@ const BcmAvatar = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
82
82
|
const dc = Generate.getTwColor({
|
|
83
83
|
color: color,
|
|
84
84
|
tones: {
|
|
85
|
-
|
|
85
|
+
100: ["bg"],
|
|
86
86
|
700: ["text"],
|
|
87
87
|
},
|
|
88
88
|
variable: "--bcm-avatar",
|
package/dist/components/badge.js
CHANGED
|
@@ -10,35 +10,35 @@ import './number-helper.js';
|
|
|
10
10
|
import './string-helper.js';
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { B as Bcm } from './bcm.js';
|
|
13
|
-
import { c as ce } from './
|
|
13
|
+
import { c as ce } from './index4.js';
|
|
14
14
|
|
|
15
15
|
const badgeStyle = ce({
|
|
16
16
|
slots: {
|
|
17
|
-
host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal ",
|
|
17
|
+
host: "bcm-badge bcm-ui-element bcm-ui-content-display tw-inline-flex tw-items-center tw-justify-center tw-font-normal tw-text-color-default",
|
|
18
18
|
base: [
|
|
19
19
|
"bcm-badge__dot tw-z-10",
|
|
20
20
|
"tw-flex tw-items-center tw-justify-center tw-flex-row",
|
|
21
21
|
"tw-rounded-full tw-text-center",
|
|
22
22
|
"tw-bg-[--bcm-badge-bg] tw-text-[--bcm-badge-text]",
|
|
23
|
-
"tw-whitespace-nowrap",
|
|
23
|
+
"tw-whitespace-nowrap tw-font-medium",
|
|
24
24
|
],
|
|
25
25
|
dotText: "empty:tw-hidden",
|
|
26
26
|
},
|
|
27
27
|
variants: {
|
|
28
28
|
size: {
|
|
29
29
|
small: {
|
|
30
|
-
host: "tw-text-
|
|
31
|
-
base: "bcm-badge__dot-size-small tw-text-
|
|
30
|
+
host: "tw-text-size-3 tw-gap-1",
|
|
31
|
+
base: "bcm-badge__dot-size-small tw-text-size-3 tw-min-w-1.5 tw-min-h-1.5",
|
|
32
32
|
dotText: "tw-px-1.5 tw-min-w-4",
|
|
33
33
|
},
|
|
34
34
|
medium: {
|
|
35
|
-
host: "tw-text-
|
|
36
|
-
base: "bcm-badge__dot-size-medium tw-text-
|
|
35
|
+
host: "tw-text-size-4 tw-gap-1.5",
|
|
36
|
+
base: "bcm-badge__dot-size-medium tw-text-size-4 tw-min-w-2 tw-min-h-2",
|
|
37
37
|
dotText: "tw-px-1.5 tw-min-w-5",
|
|
38
38
|
},
|
|
39
39
|
large: {
|
|
40
|
-
host: "tw-text-
|
|
41
|
-
base: "bcm-badge__dot-size-large tw-text-
|
|
40
|
+
host: "tw-text-size-5 tw-gap-2",
|
|
41
|
+
base: "bcm-badge__dot-size-large tw-text-size-5 tw-min-w-2.5 tw-min-h-2.5",
|
|
42
42
|
dotText: "tw-px-2 tw-min-w-6",
|
|
43
43
|
},
|
|
44
44
|
},
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { G as Generate } from './generate.js';
|
|
7
7
|
|
|
8
|
-
const accordionCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}";
|
|
8
|
+
const accordionCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}:host{display:block}.bcm-accordion .bcm-expansion-panel{border-radius:0}.bcm-accordion .bcm-expansion-panel .bcm-expansion-panel__header{border-radius:0}.bcm-accordion .bcm-expansion-panel:first-child{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:first-child .bcm-expansion-panel__header{border-top-left-radius:var(--bcm-ui-border-radius-default);border-top-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}.bcm-accordion .bcm-expansion-panel:last-child .bcm-expansion-panel__header{border-bottom-left-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}";
|
|
9
9
|
|
|
10
10
|
const BcmAccordion$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
11
11
|
constructor() {
|
|
@@ -59,7 +59,7 @@ const BcmAccordion$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElemen
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
render() {
|
|
62
|
-
return (h(Host, { id: this._id }, h("slot", null)));
|
|
62
|
+
return (h(Host, { id: this._id, class: "bcm-accordion" }, h("slot", null)));
|
|
63
63
|
}
|
|
64
64
|
get el() { return this; }
|
|
65
65
|
static get style() { return accordionCss; }
|
|
@@ -3,32 +3,12 @@
|
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
5
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
6
|
-
import { G as Generate,
|
|
6
|
+
import { G as Generate, S as StatusProps, T as TypeProps } from './generate.js';
|
|
7
7
|
import { c as classnames } from './index2.js';
|
|
8
|
-
import { c as createStore } from './index4.js';
|
|
9
8
|
import { S as StringHelper } from './string-helper.js';
|
|
10
9
|
import { d as defineCustomElement$2 } from './icon.js';
|
|
11
10
|
|
|
12
|
-
const {
|
|
13
|
-
value: new Map(),
|
|
14
|
-
setData: {},
|
|
15
|
-
removeData: {}
|
|
16
|
-
});
|
|
17
|
-
const setValue = (val) => {
|
|
18
|
-
const data = Object.assign(Object.assign(Object.assign({}, val), { size: val.bigIcon ? 'medium' : 14, iconType: val.bigIcon ? 'outlined' : 'fill' }), Generate.getIconAttrWithStatusType(val.status));
|
|
19
|
-
state.value.set(data.id, data);
|
|
20
|
-
};
|
|
21
|
-
const removeValue = (_id) => {
|
|
22
|
-
state.value.delete(_id);
|
|
23
|
-
};
|
|
24
|
-
const getValue = (id) => snq(() => state.value.get(id), {});
|
|
25
|
-
const alertStates = {
|
|
26
|
-
setValue,
|
|
27
|
-
removeValue,
|
|
28
|
-
getValue
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
const alertCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-alert{display:block;width:100%;max-width:400px;box-sizing:border-box;padding:8px 16px;box-shadow:0px 2px 4px rgba(0, 0, 0, 0.15);border-radius:2px;position:relative;grid-gap:8px}.bcm-alert.hidden{display:none}.bcm-alert.full-width{max-width:100%}.bcm-alert__status-info{border:1px solid var(--bcm-color-blue-3);background-color:var(--bcm-color-blue-1)}.bcm-alert__status-error{border:1px solid var(--bcm-color-red-3);background-color:var(--bcm-color-red-1)}.bcm-alert__status-warning{border:1px solid var(--bcm-color-warmyellow-3);background-color:var(--bcm-color-warmyellow-1)}.bcm-alert__status-success{border:1px solid var(--bcm-color-green-3);background-color:var(--bcm-color-green-1)}.bcm-alert__type-banner{border:none}.bcm-alert__header{display:flex;align-items:center;justify-content:space-between;padding:4px 0}.bcm-alert__header-message{display:flex;align-items:center;grid-gap:8px;color:var(--bcm-color-grey-8)}.bcm-alert__header-dismiss{display:flex;position:absolute;top:-1px;right:0;padding:16px;color:var(--bcm-color-grey-8)}.bcm-alert__header-dismiss:hover{cursor:pointer;color:var(--bcm-color-grey-9)}.bcm-alert__content{color:var(--bcm-color-grey-8)}.bcm-alert__content p{margin:0;padding:0}";
|
|
11
|
+
const alertCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-alert{display:block;font-family:Inter, sans-serif;font-size:var(--bcm-ui-font-size-5);line-height:var(--bcm-ui-line-height-5);font-weight:500;width:100%;max-width:400px;box-sizing:border-box;padding:var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-5) var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-3);border-radius:var(--bcm-ui-border-radius-default);position:relative}.bcm-alert.hidden{display:none}.bcm-alert.full-width{max-width:100%}.bcm-alert__status-default{color:var(--bcm-ui-color-text-default);background-color:var(--bcm-ui-color-background-default-default)}.bcm-alert__status-info{color:var(--bcm-ui-color-text-info);background-color:var(--bcm-ui-color-background-stated-info-default)}.bcm-alert__status-error{color:var(--bcm-ui-color-text-error);background-color:var(--bcm-ui-color-background-stated-error-default)}.bcm-alert__status-warning{color:var(--bcm-ui-color-text-warning);background-color:var(--bcm-ui-color-background-stated-warning-default)}.bcm-alert__status-success{color:var(--bcm-ui-color-text-success);background-color:var(--bcm-ui-color-background-stated-success-default)}.bcm-alert__type-banner{border:none}.bcm-alert__header{display:inline-block}.bcm-alert__header-message{display:flex;align-items:center;gap:var(--bcm-ui-spacing-2);margin-right:var(--bcm-ui-spacing-2)}.bcm-alert__header-message:empty{display:none}.bcm-alert__header-dismiss{display:flex;position:absolute;top:var(--bcm-ui-spacing-1);right:var(--bcm-ui-spacing-1);padding:var(--bcm-ui-spacing-2)}.bcm-alert__header-dismiss:hover{cursor:pointer}.bcm-alert__content{display:inline-block}.bcm-alert__content p{margin:0;padding:0}";
|
|
32
12
|
|
|
33
13
|
const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
34
14
|
constructor() {
|
|
@@ -37,7 +17,6 @@ const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
37
17
|
this.alertdismissible = createEvent(this, "bcm-alert-dismissible", 7);
|
|
38
18
|
this.hidden = false;
|
|
39
19
|
this._id = Generate.UID();
|
|
40
|
-
this._title = undefined;
|
|
41
20
|
this.description = undefined;
|
|
42
21
|
this.status = StatusProps.info;
|
|
43
22
|
this.type = TypeProps.basic;
|
|
@@ -58,40 +37,48 @@ const BcmAlert$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
58
37
|
return;
|
|
59
38
|
}
|
|
60
39
|
}
|
|
61
|
-
this.setData();
|
|
62
40
|
}
|
|
63
41
|
dismiss(e) {
|
|
64
42
|
this.alertdismissible.emit(e);
|
|
65
43
|
this.el.remove();
|
|
66
44
|
}
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
}
|
|
45
|
+
// setData() {
|
|
46
|
+
// const { status, type, bigIcon } = this;
|
|
47
|
+
// alertStates.setValue({
|
|
48
|
+
// id: this._id,
|
|
49
|
+
// status,
|
|
50
|
+
// type,
|
|
51
|
+
// bigIcon,
|
|
52
|
+
// });
|
|
53
|
+
// }
|
|
54
|
+
statusIcon() {
|
|
55
|
+
const { status } = this;
|
|
56
|
+
switch (status) {
|
|
57
|
+
case StatusProps.info:
|
|
58
|
+
return "far fa-info-circle";
|
|
59
|
+
case StatusProps.error:
|
|
60
|
+
return "far fa-times-circle";
|
|
61
|
+
case StatusProps.warning:
|
|
62
|
+
return "far fa-exclamation-circle";
|
|
63
|
+
case StatusProps.success:
|
|
64
|
+
return "far fa-check-circle";
|
|
65
|
+
}
|
|
78
66
|
}
|
|
79
67
|
render() {
|
|
80
|
-
const { fullWidth, status, type, icon, bigIcon,
|
|
81
|
-
const hostClasses = classnames('bcm-alert', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
68
|
+
const { fullWidth, status, type, icon, bigIcon, hidden, dismissible, description } = this;
|
|
69
|
+
const hostClasses = classnames('bcm-alert bcm-ui-element', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
82
70
|
'full-width': fullWidth,
|
|
83
71
|
hidden,
|
|
84
72
|
});
|
|
85
|
-
const headerMessage = classnames('bcm-alert__header-message', !!description ? '
|
|
86
|
-
const
|
|
87
|
-
return (h(Host, { class: hostClasses }, h("
|
|
73
|
+
const headerMessage = classnames('bcm-alert__header-message', !!description ? '' : '');
|
|
74
|
+
const _icon = this.statusIcon();
|
|
75
|
+
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" })))));
|
|
88
76
|
}
|
|
89
77
|
get el() { return this; }
|
|
90
78
|
static get style() { return alertCss; }
|
|
91
79
|
}, [4, "bcm-alert", {
|
|
92
80
|
"hidden": [1028],
|
|
93
81
|
"_id": [1537, "id"],
|
|
94
|
-
"_title": [1032],
|
|
95
82
|
"description": [1032],
|
|
96
83
|
"status": [1025],
|
|
97
84
|
"type": [1025],
|
|
@@ -12,7 +12,7 @@ import './element-dragger.js';
|
|
|
12
12
|
import { d as delay } from './utils.js';
|
|
13
13
|
import { F as FloatingUI } from './floating-ui.js';
|
|
14
14
|
import { B as Bcm } from './bcm.js';
|
|
15
|
-
import { c as ce } from './
|
|
15
|
+
import { c as ce } from './index4.js';
|
|
16
16
|
import { d as defineCustomElement$a } from './button.js';
|
|
17
17
|
import { d as defineCustomElement$9 } from './colorful.js';
|
|
18
18
|
import { d as defineCustomElement$8 } from './form.js';
|
|
@@ -12,7 +12,7 @@ import './element-dragger.js';
|
|
|
12
12
|
import { F as FloatingUI } from './floating-ui.js';
|
|
13
13
|
import { B as Bcm } from './bcm.js';
|
|
14
14
|
import { c as classnames } from './index2.js';
|
|
15
|
-
import { c as ce } from './
|
|
15
|
+
import { c as ce } from './index4.js';
|
|
16
16
|
|
|
17
17
|
const attendanceActionDropdownStyle = ce({
|
|
18
18
|
slots: {
|
|
@@ -11,7 +11,7 @@ import './string-helper.js';
|
|
|
11
11
|
import './element-dragger.js';
|
|
12
12
|
import { B as Bcm } from './bcm.js';
|
|
13
13
|
import { c as classnames } from './index2.js';
|
|
14
|
-
import { c as ce } from './
|
|
14
|
+
import { c as ce } from './index4.js';
|
|
15
15
|
|
|
16
16
|
// --bcm-attendance-actions-button-bg: #F1F5F9; /* slate-100 */
|
|
17
17
|
// --bcm-attendance-actions-button-text: #334155; /* slate-700 */
|
|
@@ -8,7 +8,7 @@ import { a as Bcm } from './bcm.js';
|
|
|
8
8
|
import { c as classnames } from './index2.js';
|
|
9
9
|
import { S as StringHelper } from './string-helper.js';
|
|
10
10
|
|
|
11
|
-
const buttonGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\")
|
|
11
|
+
const buttonGroupCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");.size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}.bcm-button-group{font-family:Inter, sans-serif;font-size:var(--bcm-ui-font-size-5);line-height:var(--bcm-ui-line-height-5);font-weight:500;display:flex;flex-direction:row;align-items:center;justify-content:center;width:fit-content;background-color:var(--bcm-ui-color-background-default-active);border:1px solid var(--bcm-ui-color-border-default);gap:1px;border-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group .bcm-button__container{border-radius:0;border:none}.bcm-button-group .bcm-button:first-child .bcm-button__container{border-top-left-radius:var(--bcm-ui-border-radius-default);border-bottom-left-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group .bcm-button:last-child .bcm-button__container{border-top-right-radius:var(--bcm-ui-border-radius-default);border-bottom-right-radius:var(--bcm-ui-border-radius-default)}.bcm-button-group__vertical{flex-direction:column;align-items:center;justify-content:center}.bcm-button-group__vertical .bcm-button{width:100%}.bcm-button-group__vertical .bcm-button__container{width:100%;border-radius:0}.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container{border-radius:var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0}.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container{border-radius:0 0 var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default)}";
|
|
12
12
|
|
|
13
13
|
const BcmButtonGroup$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
14
14
|
constructor() {
|
|
@@ -7,7 +7,7 @@ import { c as classnames } from './index2.js';
|
|
|
7
7
|
import { G as Generate, s as snq } from './generate.js';
|
|
8
8
|
import { a as Bcm } from './bcm.js';
|
|
9
9
|
import { d as delay, g as getChildElements } from './utils.js';
|
|
10
|
-
import { c as createStore } from './
|
|
10
|
+
import { c as createStore } from './index5.js';
|
|
11
11
|
import { L as LabelTemplate, d as defineCustomElement$3 } from './label.js';
|
|
12
12
|
import { I as IsLoad } from './is-load-decorator.js';
|
|
13
13
|
import { d as defineCustomElement$5 } from './checkbox.js';
|
|
@@ -64,7 +64,7 @@ const BcmColorInput$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLEleme
|
|
|
64
64
|
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
65
65
|
}
|
|
66
66
|
render() {
|
|
67
|
-
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-
|
|
67
|
+
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: {
|
|
68
68
|
backgroundColor: this.value,
|
|
69
69
|
} }), 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) }))));
|
|
70
70
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
6
6
|
import { c as classnames } from './index2.js';
|
|
7
7
|
|
|
8
|
-
const errorLayoutCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.error-layout{font-family
|
|
8
|
+
const errorLayoutCss = "@import url(\"https://fonts.googleapis.com/css?family=Roboto:400,500\");@import url(\"https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap\"); .size-1{font-size:12px;line-height:20px}.size-2{font-size:14px;line-height:22px}.size-3{font-size:16px;line-height:24px}.size-4{font-size:20px;line-height:28px}.size-5{font-size:24px;line-height:32px}.size-6{font-size:30px;line-height:38px}.size-7{font-size:38px;line-height:46px}.size-8{font-size:46px;line-height:54px}.size-9{font-size:56px;line-height:64px}.weight-regular{font-weight:400}.weight-semibold{font-weight:500}.input-size-large{height:40px}.input-size-medium{height:32px}.input-size-small{height:24px}.resize-none textarea{resize:none}.resize-vertical textarea{resize:vertical}.resize-auto textarea{height:auto;resize:none}.textarea-size-large{padding:4px 0 0 4px;min-height:40px}.textarea-size-large .bcm-input-element{min-height:calc((40px - 8px) + 2px)}.textarea-size-large .input-clear-button{height:calc( 40px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-medium{padding:4px 0 0 4px;min-height:32px}.textarea-size-medium .bcm-input-element{min-height:calc((32px - 8px) + 2px)}.textarea-size-medium .input-clear-button{height:calc( 32px - 16px );top:8px;padding:0;margin-right:8px}.textarea-size-small{padding:0px 0 0 4px;min-height:24px}.textarea-size-small .bcm-input-element{min-height:calc((24px - 8px) + 2px)}.textarea-size-small .input-clear-button{height:calc( 24px - 16px );top:8px;padding:0;margin-right:8px}*{box-sizing:border-box}.error-layout{font-family:Inter, sans-serif;font-size:var(--bcm-ui-font-size-4);line-height:var(--bcm-ui-line-height-4);font-weight:500;padding:var(--bcm-ui-spacing-4);background:var(--bcm-ui-color-background-stated-error-default);border:1px solid var(--bcm-ui-color-border-error);border-radius:var(--bcm-ui-border-radius-default);color:var(--bcm-ui-color-text-error)}.error-layout ul{margin:0;padding-left:var(--bcm-ui-spacing-5)}";
|
|
9
9
|
|
|
10
10
|
const BcmErrorLayout$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
11
11
|
constructor() {
|
|
@@ -48,7 +48,7 @@ const BcmErrorLayout$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElem
|
|
|
48
48
|
render() {
|
|
49
49
|
const { itemsProp } = this;
|
|
50
50
|
const classes = classnames('error-layout', this.size);
|
|
51
|
-
const hostClasses = classnames(this.hidden ? 'hidden' : null);
|
|
51
|
+
const hostClasses = classnames("tw-w-full bcm-ui-element", this.hidden ? 'hidden' : null);
|
|
52
52
|
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))))))));
|
|
53
53
|
}
|
|
54
54
|
get el() { return this; }
|