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
|
@@ -124,14 +124,16 @@
|
|
|
124
124
|
|
|
125
125
|
.bcm-alert {
|
|
126
126
|
display: block;
|
|
127
|
+
font-family: Inter, sans-serif;
|
|
128
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
129
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
130
|
+
font-weight: 500;
|
|
127
131
|
width: 100%;
|
|
128
132
|
max-width: 400px;
|
|
129
133
|
box-sizing: border-box;
|
|
130
|
-
padding:
|
|
131
|
-
|
|
132
|
-
border-radius: 2px;
|
|
134
|
+
padding: var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-5) var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-3);
|
|
135
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
133
136
|
position: relative;
|
|
134
|
-
grid-gap: 8px;
|
|
135
137
|
}
|
|
136
138
|
.bcm-alert.hidden {
|
|
137
139
|
display: none;
|
|
@@ -139,51 +141,53 @@
|
|
|
139
141
|
.bcm-alert.full-width {
|
|
140
142
|
max-width: 100%;
|
|
141
143
|
}
|
|
144
|
+
.bcm-alert__status-default {
|
|
145
|
+
color: var(--bcm-ui-color-text-default);
|
|
146
|
+
background-color: var(--bcm-ui-color-background-default-default);
|
|
147
|
+
}
|
|
142
148
|
.bcm-alert__status-info {
|
|
143
|
-
|
|
144
|
-
background-color: var(--bcm-color-
|
|
149
|
+
color: var(--bcm-ui-color-text-info);
|
|
150
|
+
background-color: var(--bcm-ui-color-background-stated-info-default);
|
|
145
151
|
}
|
|
146
152
|
.bcm-alert__status-error {
|
|
147
|
-
|
|
148
|
-
background-color: var(--bcm-color-
|
|
153
|
+
color: var(--bcm-ui-color-text-error);
|
|
154
|
+
background-color: var(--bcm-ui-color-background-stated-error-default);
|
|
149
155
|
}
|
|
150
156
|
.bcm-alert__status-warning {
|
|
151
|
-
|
|
152
|
-
background-color: var(--bcm-color-
|
|
157
|
+
color: var(--bcm-ui-color-text-warning);
|
|
158
|
+
background-color: var(--bcm-ui-color-background-stated-warning-default);
|
|
153
159
|
}
|
|
154
160
|
.bcm-alert__status-success {
|
|
155
|
-
|
|
156
|
-
background-color: var(--bcm-color-
|
|
161
|
+
color: var(--bcm-ui-color-text-success);
|
|
162
|
+
background-color: var(--bcm-ui-color-background-stated-success-default);
|
|
157
163
|
}
|
|
158
164
|
.bcm-alert__type-banner {
|
|
159
165
|
border: none;
|
|
160
166
|
}
|
|
161
167
|
.bcm-alert__header {
|
|
162
|
-
display:
|
|
163
|
-
align-items: center;
|
|
164
|
-
justify-content: space-between;
|
|
165
|
-
padding: 4px 0;
|
|
168
|
+
display: inline-block;
|
|
166
169
|
}
|
|
167
170
|
.bcm-alert__header-message {
|
|
168
171
|
display: flex;
|
|
169
172
|
align-items: center;
|
|
170
|
-
|
|
171
|
-
|
|
173
|
+
gap: var(--bcm-ui-spacing-2);
|
|
174
|
+
margin-right: var(--bcm-ui-spacing-2);
|
|
175
|
+
}
|
|
176
|
+
.bcm-alert__header-message:empty {
|
|
177
|
+
display: none;
|
|
172
178
|
}
|
|
173
179
|
.bcm-alert__header-dismiss {
|
|
174
180
|
display: flex;
|
|
175
181
|
position: absolute;
|
|
176
|
-
top: -
|
|
177
|
-
right:
|
|
178
|
-
padding:
|
|
179
|
-
color: var(--bcm-color-grey-8);
|
|
182
|
+
top: var(--bcm-ui-spacing-1);
|
|
183
|
+
right: var(--bcm-ui-spacing-1);
|
|
184
|
+
padding: var(--bcm-ui-spacing-2);
|
|
180
185
|
}
|
|
181
186
|
.bcm-alert__header-dismiss:hover {
|
|
182
187
|
cursor: pointer;
|
|
183
|
-
color: var(--bcm-color-grey-9);
|
|
184
188
|
}
|
|
185
189
|
.bcm-alert__content {
|
|
186
|
-
|
|
190
|
+
display: inline-block;
|
|
187
191
|
}
|
|
188
192
|
.bcm-alert__content p {
|
|
189
193
|
margin: 0;
|
|
@@ -5,14 +5,12 @@
|
|
|
5
5
|
import { h, Host } from '@stencil/core';
|
|
6
6
|
import { StatusProps, TypeProps } from './types';
|
|
7
7
|
import cs from 'classnames';
|
|
8
|
-
import alertStates from '../states/alert.states';
|
|
9
8
|
import { Generate } from '../../../helper/generate';
|
|
10
9
|
import { StringHelper } from '../../../helper/string-helper';
|
|
11
10
|
export class BcmAlert {
|
|
12
11
|
constructor() {
|
|
13
12
|
this.hidden = false;
|
|
14
13
|
this._id = Generate.UID();
|
|
15
|
-
this._title = undefined;
|
|
16
14
|
this.description = undefined;
|
|
17
15
|
this.status = StatusProps.info;
|
|
18
16
|
this.type = TypeProps.basic;
|
|
@@ -33,33 +31,42 @@ export class BcmAlert {
|
|
|
33
31
|
return;
|
|
34
32
|
}
|
|
35
33
|
}
|
|
36
|
-
this.setData();
|
|
37
34
|
}
|
|
38
35
|
dismiss(e) {
|
|
39
36
|
this.alertdismissible.emit(e);
|
|
40
37
|
this.el.remove();
|
|
41
38
|
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
}
|
|
39
|
+
// setData() {
|
|
40
|
+
// const { status, type, bigIcon } = this;
|
|
41
|
+
// alertStates.setValue({
|
|
42
|
+
// id: this._id,
|
|
43
|
+
// status,
|
|
44
|
+
// type,
|
|
45
|
+
// bigIcon,
|
|
46
|
+
// });
|
|
47
|
+
// }
|
|
48
|
+
statusIcon() {
|
|
49
|
+
const { status } = this;
|
|
50
|
+
switch (status) {
|
|
51
|
+
case StatusProps.info:
|
|
52
|
+
return "far fa-info-circle";
|
|
53
|
+
case StatusProps.error:
|
|
54
|
+
return "far fa-times-circle";
|
|
55
|
+
case StatusProps.warning:
|
|
56
|
+
return "far fa-exclamation-circle";
|
|
57
|
+
case StatusProps.success:
|
|
58
|
+
return "far fa-check-circle";
|
|
59
|
+
}
|
|
53
60
|
}
|
|
54
61
|
render() {
|
|
55
|
-
const { fullWidth, status, type, icon, bigIcon,
|
|
56
|
-
const hostClasses = cs('bcm-alert', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
62
|
+
const { fullWidth, status, type, icon, bigIcon, hidden, dismissible, description } = this;
|
|
63
|
+
const hostClasses = cs('bcm-alert bcm-ui-element', 'bcm-alert__type-' + type, 'bcm-alert__status-' + status, {
|
|
57
64
|
'full-width': fullWidth,
|
|
58
65
|
hidden,
|
|
59
66
|
});
|
|
60
|
-
const headerMessage = cs('bcm-alert__header-message', !!description ? '
|
|
61
|
-
const
|
|
62
|
-
return (h(Host, { class: hostClasses }, h("
|
|
67
|
+
const headerMessage = cs('bcm-alert__header-message', !!description ? '' : '');
|
|
68
|
+
const _icon = this.statusIcon();
|
|
69
|
+
return (h(Host, { class: hostClasses }, h("header", { class: "bcm-alert__header" }, h("span", { class: headerMessage }, (bigIcon || icon) && h("bcm-icon", { icon: _icon }))), h("main", { class: "bcm-alert__content" }, description && h("p", null, description), h("slot", null)), dismissible && (h("span", { class: "bcm-alert__header-dismiss", onClick: e => this.dismiss(e) }, typeof dismissible === 'string' ? dismissible : h("bcm-icon", { icon: "far fa-times" })))));
|
|
63
70
|
}
|
|
64
71
|
static get is() { return "bcm-alert"; }
|
|
65
72
|
static get originalStyleUrls() {
|
|
@@ -110,23 +117,6 @@ export class BcmAlert {
|
|
|
110
117
|
"reflect": true,
|
|
111
118
|
"defaultValue": "Generate.UID()"
|
|
112
119
|
},
|
|
113
|
-
"_title": {
|
|
114
|
-
"type": "any",
|
|
115
|
-
"mutable": true,
|
|
116
|
-
"complexType": {
|
|
117
|
-
"original": "any",
|
|
118
|
-
"resolved": "any",
|
|
119
|
-
"references": {}
|
|
120
|
-
},
|
|
121
|
-
"required": false,
|
|
122
|
-
"optional": false,
|
|
123
|
-
"docs": {
|
|
124
|
-
"tags": [],
|
|
125
|
-
"text": ""
|
|
126
|
-
},
|
|
127
|
-
"attribute": "_title",
|
|
128
|
-
"reflect": false
|
|
129
|
-
},
|
|
130
120
|
"description": {
|
|
131
121
|
"type": "any",
|
|
132
122
|
"mutable": true,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@import url("https://fonts.googleapis.com/css?family=Roboto:400,500");
|
|
2
|
-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;400;500;600&display=swap");
|
|
3
2
|
.size-1 {
|
|
4
3
|
font-size: 12px;
|
|
5
4
|
line-height: 20px;
|
|
@@ -123,44 +122,37 @@
|
|
|
123
122
|
margin-right: 8px;
|
|
124
123
|
}
|
|
125
124
|
|
|
126
|
-
* {
|
|
127
|
-
box-sizing: border-box;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
125
|
.bcm-button-group {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight:
|
|
126
|
+
font-family: Inter, sans-serif;
|
|
127
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
128
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
129
|
+
font-weight: 500;
|
|
135
130
|
display: flex;
|
|
136
131
|
flex-direction: row;
|
|
137
132
|
align-items: center;
|
|
138
|
-
justify-content:
|
|
139
|
-
flex-wrap: nowrap;
|
|
133
|
+
justify-content: center;
|
|
140
134
|
width: fit-content;
|
|
141
|
-
background-color: var(--bcm-
|
|
142
|
-
border: 1px solid var(--bcm-
|
|
135
|
+
background-color: var(--bcm-ui-color-background-default-active);
|
|
136
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
143
137
|
gap: 1px;
|
|
144
|
-
border-radius:
|
|
138
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
145
139
|
}
|
|
146
140
|
.bcm-button-group .bcm-button__container {
|
|
147
141
|
border-radius: 0;
|
|
148
142
|
border: none;
|
|
149
143
|
}
|
|
150
144
|
.bcm-button-group .bcm-button:first-child .bcm-button__container {
|
|
151
|
-
border-top-left-radius:
|
|
152
|
-
border-bottom-left-radius:
|
|
145
|
+
border-top-left-radius: var(--bcm-ui-border-radius-default);
|
|
146
|
+
border-bottom-left-radius: var(--bcm-ui-border-radius-default);
|
|
153
147
|
}
|
|
154
148
|
.bcm-button-group .bcm-button:last-child .bcm-button__container {
|
|
155
|
-
border-top-right-radius:
|
|
156
|
-
border-bottom-right-radius:
|
|
149
|
+
border-top-right-radius: var(--bcm-ui-border-radius-default);
|
|
150
|
+
border-bottom-right-radius: var(--bcm-ui-border-radius-default);
|
|
157
151
|
}
|
|
158
152
|
.bcm-button-group__vertical {
|
|
159
|
-
display: flex;
|
|
160
153
|
flex-direction: column;
|
|
161
154
|
align-items: center;
|
|
162
|
-
justify-content:
|
|
163
|
-
flex-wrap: nowrap;
|
|
155
|
+
justify-content: center;
|
|
164
156
|
}
|
|
165
157
|
.bcm-button-group__vertical .bcm-button {
|
|
166
158
|
width: 100%;
|
|
@@ -170,8 +162,8 @@
|
|
|
170
162
|
border-radius: 0;
|
|
171
163
|
}
|
|
172
164
|
.bcm-button-group__vertical .bcm-button:first-child .bcm-button__container {
|
|
173
|
-
border-radius:
|
|
165
|
+
border-radius: var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0;
|
|
174
166
|
}
|
|
175
167
|
.bcm-button-group__vertical .bcm-button:last-child .bcm-button__container {
|
|
176
|
-
border-radius: 0 0
|
|
168
|
+
border-radius: 0 0 var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default);
|
|
177
169
|
}
|
|
@@ -194,14 +194,14 @@
|
|
|
194
194
|
.bcm-checkbox {
|
|
195
195
|
outline: none;
|
|
196
196
|
border: none;
|
|
197
|
-
--bcm-checkbox-primary-color-default: var(--bcm-
|
|
198
|
-
--bcm-checkbox-secondary-color-default: var(--bcm-
|
|
199
|
-
--bcm-checkbox-primary-color-hover: var(--bcm-
|
|
200
|
-
--bcm-checkbox-secondary-color-hover: var(--bcm-
|
|
201
|
-
--bcm-checkbox-primary-color-focus-visible: var(--bcm-
|
|
202
|
-
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-
|
|
203
|
-
--bcm-checkbox-primary-color-active: var(--bcm-
|
|
204
|
-
--bcm-checkbox-secondary-color-active: var(--bcm-
|
|
197
|
+
--bcm-checkbox-primary-color-default: var(--bcm-ui-color-background-primary-default);
|
|
198
|
+
--bcm-checkbox-secondary-color-default: var(--bcm-ui-color-background-base-default);
|
|
199
|
+
--bcm-checkbox-primary-color-hover: var(--bcm-ui-color-background-primary-hover);
|
|
200
|
+
--bcm-checkbox-secondary-color-hover: var(--bcm-ui-color-background-default-default);
|
|
201
|
+
--bcm-checkbox-primary-color-focus-visible: var(--bcm-ui-color-background-primary-active);
|
|
202
|
+
--bcm-checkbox-secondary-color-focus-visible: var(--bcm-ui-color-background-default-active);
|
|
203
|
+
--bcm-checkbox-primary-color-active: var(--bcm-ui-color-background-primary-active);
|
|
204
|
+
--bcm-checkbox-secondary-color-active: var(--bcm-ui-color-background-default-active);
|
|
205
205
|
--bcm-checkbox-primary-color-disabled: var(--bcm-new-ds-color-slate-300);
|
|
206
206
|
--bcm-checkbox-secondary-color-disabled: var(--bcm-new-ds-color-slate-200);
|
|
207
207
|
display: inline-flex;
|
|
@@ -247,15 +247,15 @@
|
|
|
247
247
|
line-height: calc(14px + 8px);
|
|
248
248
|
font-weight: 400;
|
|
249
249
|
font-weight: 500;
|
|
250
|
-
color: var(--bcm-
|
|
250
|
+
color: var(--bcm-ui-color-text-default);
|
|
251
251
|
}
|
|
252
252
|
.bcm-checkbox .slot:not(:empty) {
|
|
253
253
|
margin-left: 8px;
|
|
254
254
|
margin-right: 8px;
|
|
255
255
|
}
|
|
256
256
|
.bcm-checkbox-size-small .slot {
|
|
257
|
-
font-size:
|
|
258
|
-
line-height:
|
|
257
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
258
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
259
259
|
margin-top: -2.5px;
|
|
260
260
|
}
|
|
261
261
|
.bcm-checkbox-size-small .bcm-checkbox__input {
|
|
@@ -268,8 +268,8 @@
|
|
|
268
268
|
font-size: calc(10px - 2px);
|
|
269
269
|
}
|
|
270
270
|
.bcm-checkbox-size-medium .slot {
|
|
271
|
-
font-size:
|
|
272
|
-
line-height:
|
|
271
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
272
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
273
273
|
margin-top: -1.5px;
|
|
274
274
|
}
|
|
275
275
|
.bcm-checkbox-size-medium .bcm-checkbox__input {
|
|
@@ -282,8 +282,8 @@
|
|
|
282
282
|
font-size: 10px;
|
|
283
283
|
}
|
|
284
284
|
.bcm-checkbox-size-large .slot {
|
|
285
|
-
font-size:
|
|
286
|
-
line-height:
|
|
285
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
286
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
287
287
|
margin-top: -1.5px;
|
|
288
288
|
}
|
|
289
289
|
.bcm-checkbox-size-large .bcm-checkbox__input {
|
|
@@ -19,7 +19,6 @@ import { Generate } from '../../../helper/generate';
|
|
|
19
19
|
import { SlotTemplate } from '../../../templates/slot-template';
|
|
20
20
|
import Bcm from '../../../models/bcm';
|
|
21
21
|
import { delay } from '../../../utils/utils';
|
|
22
|
-
import { ColorHelper } from '../../../helper/color-helper';
|
|
23
22
|
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
24
23
|
export class BcmCheckbox {
|
|
25
24
|
constructor() {
|
|
@@ -122,15 +121,15 @@ export class BcmCheckbox {
|
|
|
122
121
|
return;
|
|
123
122
|
const prefix = `--bcm-checkbox`;
|
|
124
123
|
return {
|
|
125
|
-
[`${prefix}-primary-color-default`]:
|
|
126
|
-
[`${prefix}-primary-color-hover`]:
|
|
127
|
-
[`${prefix}-primary-color-focus-visible`]:
|
|
128
|
-
[`${prefix}-primary-color-active`]:
|
|
124
|
+
[`${prefix}-primary-color-default`]: `var(--bcm-ui-color-background-vivid-${color}-default)`,
|
|
125
|
+
[`${prefix}-primary-color-hover`]: `var(--bcm-ui-color-background-vivid-${color}-hover)`,
|
|
126
|
+
[`${prefix}-primary-color-focus-visible`]: `var(--bcm-ui-color-background-vivid-${color}-active)`,
|
|
127
|
+
[`${prefix}-primary-color-active`]: `var(--bcm-ui-color-background-vivid-${color}-active)`,
|
|
129
128
|
// [`${prefix}-primary-color-disabled`]: ColorHelper.dsColor(color + '-300'),
|
|
130
|
-
[`${prefix}-secondary-color-default`]:
|
|
131
|
-
[`${prefix}-secondary-color-hover`]:
|
|
132
|
-
[`${prefix}-secondary-color-focus-visible`]:
|
|
133
|
-
[`${prefix}-secondary-color-active`]:
|
|
129
|
+
[`${prefix}-secondary-color-default`]: `var(--bcm-ui-color-background-default-default)`,
|
|
130
|
+
[`${prefix}-secondary-color-hover`]: `var(--bcm-ui-color-background-default-default)`,
|
|
131
|
+
[`${prefix}-secondary-color-focus-visible`]: `var(--bcm-ui-color-background-default-default)`,
|
|
132
|
+
[`${prefix}-secondary-color-active`]: `var(--bcm-ui-color-background-default-default)`,
|
|
134
133
|
// [`${prefix}-secondary-color-disabled`]: ColorHelper.dsColor('slate-200')
|
|
135
134
|
};
|
|
136
135
|
}
|
|
@@ -49,7 +49,7 @@ export class BcmColorInput {
|
|
|
49
49
|
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-
|
|
52
|
+
return (h(Host, { class: "tw-block" }, h("bcm-input", { id: this._id + "-color", fullWidth: this.fullWidth, label: this.label, placeholder: this.placeholder, type: "text", "onBcm-change": e => this.handleInputChanged(e), value: this.value }, h("i", { slot: "prefix", class: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-solid tw-border-color-default", style: {
|
|
53
53
|
backgroundColor: this.value,
|
|
54
54
|
} }), this.isEyeDropperSupported() && h("i", { slot: "suffix", class: "far fa-eye-dropper", onClick: () => this.eyeDropper() })), h("bcm-linked", { targetId: this._id + "-color-container" }, h("bcm-colorful", { id: this._id + "-picker", color: this.value, onBcmChange: e => this.handleChange(e.detail) }))));
|
|
55
55
|
}
|
|
@@ -8,7 +8,7 @@ export class BcmEmpty {
|
|
|
8
8
|
this.icon = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h(Host, { class: "tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1
|
|
11
|
+
return (h(Host, { class: "bcm-empty bcm-ui-element tw-h-full tw-flex tw-flex-col tw-items-center tw-justify-center tw-w-full tw-flex-1 tw-text-color-caption tw-text-center tw-rounded tw-gap-2" }, this.icon && (h("div", { class: "tw-bg-blue-50 tw-text-color-primary tw-text-size-9 tw-mb-1 tw-rounded-3xl tw-p-4" }, h("i", { class: `${this.icon}` }))), h("bcm-typography", { class: "tw-text-color-caption tw-text-size-4 tw-font-medium" }, h("slot", null))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "bcm-empty"; }
|
|
14
14
|
static get properties() {
|
|
@@ -128,19 +128,17 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.error-layout {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight:
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
.error-layout li > span {
|
|
145
|
-
margin-left: -4px;
|
|
131
|
+
font-family: Inter, sans-serif;
|
|
132
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
133
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
134
|
+
font-weight: 500;
|
|
135
|
+
padding: var(--bcm-ui-spacing-4);
|
|
136
|
+
background: var(--bcm-ui-color-background-stated-error-default);
|
|
137
|
+
border: 1px solid var(--bcm-ui-color-border-error);
|
|
138
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
139
|
+
color: var(--bcm-ui-color-text-error);
|
|
140
|
+
}
|
|
141
|
+
.error-layout ul {
|
|
142
|
+
margin: 0;
|
|
143
|
+
padding-left: var(--bcm-ui-spacing-5);
|
|
146
144
|
}
|
|
@@ -42,7 +42,7 @@ export class BcmErrorLayout {
|
|
|
42
42
|
render() {
|
|
43
43
|
const { itemsProp } = this;
|
|
44
44
|
const classes = cs('error-layout', this.size);
|
|
45
|
-
const hostClasses = cs(this.hidden ? 'hidden' : null);
|
|
45
|
+
const hostClasses = cs("tw-w-full bcm-ui-element", this.hidden ? 'hidden' : null);
|
|
46
46
|
return (h(Host, { class: hostClasses }, itemsProp.length > 0 && (h("div", { class: classes }, h("ul", null, this.itemsProp.map((item) => h("li", null, h("span", null, item))))))));
|
|
47
47
|
}
|
|
48
48
|
static get is() { return "bcm-error-layout"; }
|
|
@@ -128,19 +128,18 @@
|
|
|
128
128
|
}
|
|
129
129
|
|
|
130
130
|
.bcm-expansion-panel {
|
|
131
|
-
font-family:
|
|
132
|
-
font-size:
|
|
133
|
-
line-height:
|
|
134
|
-
font-weight: 400;
|
|
131
|
+
font-family: Inter, sans-serif;
|
|
132
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
133
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
135
134
|
display: block;
|
|
136
135
|
width: 100%;
|
|
137
|
-
background-color: var(--bcm-
|
|
138
|
-
border-radius:
|
|
139
|
-
border: 1px solid var(--bcm-
|
|
136
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
137
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
138
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
140
139
|
box-sizing: border-box;
|
|
141
140
|
}
|
|
142
141
|
.bcm-expansion-panel + .bcm-expansion-panel {
|
|
143
|
-
margin-top:
|
|
142
|
+
margin-top: -1px;
|
|
144
143
|
}
|
|
145
144
|
.bcm-expansion-panel__header {
|
|
146
145
|
display: flex;
|
|
@@ -148,10 +147,11 @@
|
|
|
148
147
|
justify-content: flex-start;
|
|
149
148
|
user-select: none;
|
|
150
149
|
min-height: 50px;
|
|
151
|
-
border-radius:
|
|
152
|
-
padding:
|
|
153
|
-
|
|
154
|
-
|
|
150
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
151
|
+
padding: 0 var(--bcm-ui-spacing-4);
|
|
152
|
+
min-height: 56px;
|
|
153
|
+
color: var(--bcm-ui-color-text-default);
|
|
154
|
+
font-weight: 500;
|
|
155
155
|
}
|
|
156
156
|
.bcm-expansion-panel__header-content {
|
|
157
157
|
display: flex;
|
|
@@ -172,11 +172,13 @@
|
|
|
172
172
|
flex-direction: row;
|
|
173
173
|
align-items: center;
|
|
174
174
|
justify-content: flex-start;
|
|
175
|
-
gap:
|
|
175
|
+
gap: var(--bcm-ui-spacing-2);
|
|
176
|
+
font-weight: 600;
|
|
177
|
+
color: var(--bcm-ui-color-text-header);
|
|
176
178
|
}
|
|
177
179
|
.bcm-expansion-panel__header-title-description {
|
|
178
|
-
margin-left:
|
|
179
|
-
color: var(--bcm-
|
|
180
|
+
margin-left: var(--bcm-ui-spacing-1);
|
|
181
|
+
color: var(--bcm-ui-color-text-caption);
|
|
180
182
|
font-size: 12px;
|
|
181
183
|
line-height: calc(12px + 8px);
|
|
182
184
|
}
|
|
@@ -193,7 +195,8 @@
|
|
|
193
195
|
justify-content: center;
|
|
194
196
|
transform: rotate(0deg);
|
|
195
197
|
transition: transform 0.2s ease-in-out;
|
|
196
|
-
font-size:
|
|
198
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
199
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
197
200
|
}
|
|
198
201
|
.bcm-expansion-panel__header-extra {
|
|
199
202
|
display: none;
|
|
@@ -212,23 +215,23 @@
|
|
|
212
215
|
}
|
|
213
216
|
.bcm-expansion-panel__body {
|
|
214
217
|
display: none;
|
|
215
|
-
padding:
|
|
218
|
+
padding: var(--bcm-ui-spacing-2) var(--bcm-ui-spacing-4);
|
|
216
219
|
}
|
|
217
220
|
.bcm-expansion-panel--icon-right .bcm-expansion-panel__header {
|
|
218
221
|
justify-content: space-between;
|
|
219
|
-
padding-left:
|
|
222
|
+
padding-left: var(--bcm-ui-spacing-4);
|
|
220
223
|
}
|
|
221
224
|
.bcm-expansion-panel--icon-right .bcm-expansion-panel__header-toggle {
|
|
222
225
|
order: 6;
|
|
223
226
|
}
|
|
224
|
-
.bcm-expansion-panel--invalid .bcm-expansion-panel__header-
|
|
225
|
-
color: var(--bcm-
|
|
227
|
+
.bcm-expansion-panel--invalid .bcm-expansion-panel__header-content {
|
|
228
|
+
color: var(--bcm-ui-color-text-error);
|
|
226
229
|
}
|
|
227
230
|
.bcm-expansion-panel--expanded {
|
|
228
|
-
border-bottom: 1px solid var(--bcm-color-
|
|
231
|
+
border-bottom: 1px solid var(--bcm-ui-color-border-default);
|
|
229
232
|
}
|
|
230
233
|
.bcm-expansion-panel--expanded .bcm-expansion-panel__header {
|
|
231
|
-
border-radius:
|
|
234
|
+
border-radius: var(--bcm-ui-border-radius-default) var(--bcm-ui-border-radius-default) 0 0;
|
|
232
235
|
}
|
|
233
236
|
.bcm-expansion-panel--expanded .bcm-expansion-panel__header-toggle {
|
|
234
237
|
transform: rotate(180deg);
|
|
@@ -90,7 +90,7 @@ export class BcmExpansionPanel {
|
|
|
90
90
|
'bcm-expansion-panel--icon-right': this.expandIconPosition === 'right',
|
|
91
91
|
hidden,
|
|
92
92
|
});
|
|
93
|
-
return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger, "aria-label": message }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "
|
|
93
|
+
return (h(Host, { class: hostClasses }, h("div", { class: "bcm-expansion-panel__header", onClick: () => this.toggle(), style: { 'background-color': ColorHelper.dsColor(this.headerColor) } }, h("div", { class: "bcm-expansion-panel__header-title" }, h("span", { id: _id + '-header' }, h("slot", { name: "header" })), tooltip && (h("span", { class: "bcm-expansion-panel__header-tooltip", style: Object.assign({}, color && { color: ColorHelper.convertColorToHex(color) }) }, h("bcm-tooltip", { message: message, placement: placement, trigger: trigger, "aria-label": message }, h("bcm-icon", { color: color, icon: icon })))), h("span", { id: _id + '-description', class: "bcm-expansion-panel__header-title-description" }, h("slot", { name: "description" }))), h("span", { id: _id + '-extra', class: "bcm-expansion-panel__header-extra", onClick: (e) => this.clickExtra(e) }, h("slot", { name: "extra" })), !hideToggle && (h("div", { class: "bcm-expansion-panel__header-toggle" }, h("bcm-icon", { icon: "fas fa-chevron-down" })))), h("div", { class: "bcm-expansion-panel__body", id: _id + '-body' }, h("slot", null))));
|
|
94
94
|
}
|
|
95
95
|
static get is() { return "bcm-expansion-panel"; }
|
|
96
96
|
static get originalStyleUrls() {
|
|
@@ -212,9 +212,9 @@
|
|
|
212
212
|
display: flex;
|
|
213
213
|
align-items: stretch;
|
|
214
214
|
flex-direction: row;
|
|
215
|
-
background-color: var(--bcm-
|
|
216
|
-
border: 1px solid var(--bcm-
|
|
217
|
-
border-radius:
|
|
215
|
+
background-color: var(--bcm-ui-color-background-base-default);
|
|
216
|
+
border: 1px solid var(--bcm-ui-color-border-default);
|
|
217
|
+
border-radius: var(--bcm-ui-border-radius-default);
|
|
218
218
|
box-sizing: border-box;
|
|
219
219
|
cursor: text;
|
|
220
220
|
padding: 0 0 0 4px;
|
|
@@ -222,18 +222,22 @@
|
|
|
222
222
|
width: 100%;
|
|
223
223
|
}
|
|
224
224
|
.bcm-input__container.disabled {
|
|
225
|
-
background-color: var(--bcm-
|
|
225
|
+
background-color: var(--bcm-ui-color-background-disabled-default);
|
|
226
|
+
border-color: var(--bcm-ui-color-border-disabled);
|
|
226
227
|
cursor: not-allowed;
|
|
227
228
|
}
|
|
228
229
|
.bcm-input__container.disabled .bcm-input-element {
|
|
229
|
-
color: var(--bcm-
|
|
230
|
+
color: var(--bcm-ui-color-text-disabled);
|
|
231
|
+
}
|
|
232
|
+
.bcm-input__container.disabled .bcm-input-element::placeholder {
|
|
233
|
+
color: var(--bcm-color-secondary-400);
|
|
230
234
|
}
|
|
231
235
|
.bcm-input__container.readonly {
|
|
232
236
|
background-color: var(--bcm-new-ds-color-slate-50);
|
|
233
237
|
cursor: default;
|
|
234
238
|
}
|
|
235
239
|
.bcm-input__container.readonly .bcm-input-element {
|
|
236
|
-
color: var(--bcm-
|
|
240
|
+
color: var(--bcm-ui-color-text-default);
|
|
237
241
|
}
|
|
238
242
|
.bcm-input__container:not(.disabled):hover .caret-container, .bcm-input__container:not(.disabled).focused .caret-container {
|
|
239
243
|
opacity: 1;
|
|
@@ -243,19 +247,20 @@
|
|
|
243
247
|
}
|
|
244
248
|
.bcm-input__container:not(.disabled).focused {
|
|
245
249
|
background-color: var(--bcm-new-ds-color-slate-50);
|
|
250
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
246
251
|
}
|
|
247
252
|
.bcm-input__container:not(.disabled):hover {
|
|
248
|
-
border-color: var(--bcm-color-
|
|
253
|
+
border-color: var(--bcm-ui-color-border-primary);
|
|
249
254
|
}
|
|
250
255
|
.bcm-input__container.empty .input-clear-button {
|
|
251
256
|
display: none;
|
|
252
257
|
}
|
|
253
258
|
.bcm-input__container.invalid, .bcm-input__container.error {
|
|
254
|
-
border-color: var(--bcm-
|
|
259
|
+
border-color: var(--bcm-ui-color-border-error);
|
|
255
260
|
}
|
|
256
261
|
.bcm-input__container .bcm-input-element {
|
|
257
262
|
width: 100%;
|
|
258
|
-
color: var(--bcm-
|
|
263
|
+
color: var(--bcm-ui-color-text-default);
|
|
259
264
|
flex: 1;
|
|
260
265
|
border: none;
|
|
261
266
|
background: transparent;
|
|
@@ -271,7 +276,7 @@
|
|
|
271
276
|
}
|
|
272
277
|
.bcm-input__container .bcm-input-element::placeholder {
|
|
273
278
|
font-family: "Inter", sans-serif;
|
|
274
|
-
color: var(--bcm-
|
|
279
|
+
color: var(--bcm-ui-color-text-placeholder);
|
|
275
280
|
user-select: none;
|
|
276
281
|
}
|
|
277
282
|
.bcm-input__container .bcm-input-element::-webkit-search-decoration, .bcm-input__container .bcm-input-element::-webkit-search-cancel-button, .bcm-input__container .bcm-input-element::-webkit-search-results-button, .bcm-input__container .bcm-input-element::-webkit-search-results-decoration, .bcm-input__container .bcm-input-element::-webkit-calendar-picker-indicator, .bcm-input__container .bcm-input-element::-webkit-inner-spin-button, .bcm-input__container .bcm-input-element::-webkit-outer-spin-button {
|
|
@@ -347,13 +352,16 @@
|
|
|
347
352
|
opacity: 0;
|
|
348
353
|
}
|
|
349
354
|
.bcm-input__container--small {
|
|
350
|
-
font-size:
|
|
355
|
+
font-size: var(--bcm-ui-font-size-4);
|
|
356
|
+
line-height: var(--bcm-ui-line-height-4);
|
|
351
357
|
}
|
|
352
358
|
.bcm-input__container--medium {
|
|
353
|
-
font-size:
|
|
359
|
+
font-size: var(--bcm-ui-font-size-5);
|
|
360
|
+
line-height: var(--bcm-ui-line-height-5);
|
|
354
361
|
}
|
|
355
362
|
.bcm-input__container--large {
|
|
356
|
-
font-size:
|
|
363
|
+
font-size: var(--bcm-ui-font-size-6);
|
|
364
|
+
line-height: var(--bcm-ui-line-height-6);
|
|
357
365
|
}
|
|
358
366
|
.bcm-input__textarea.clearable .bcm-input-element {
|
|
359
367
|
padding-right: 24px;
|
|
@@ -75,7 +75,7 @@ export const inputStyle = tv({
|
|
|
75
75
|
},
|
|
76
76
|
false: {
|
|
77
77
|
controlsBtn: "hover:tw-bg-color-base-hover hover:tw-text-color",
|
|
78
|
-
inputContainer: ["has-[:not([disabled]):focus]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-
|
|
78
|
+
inputContainer: ["has-[:not([disabled]):focus]:tw-ring", "has-[:not([disabled]):hover]:tw-border-color-primary"],
|
|
79
79
|
},
|
|
80
80
|
},
|
|
81
81
|
readonly: {
|