bromcom-ui 2.12.1-test.0 → 3.0.0-preview.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/p-0125212b.entry.js +5 -0
- package/dist/bromcom-ui/{p-58c0a1f5.js → p-014f7aa2.js} +1 -1
- package/dist/bromcom-ui/{p-c54aaa8c.entry.js → p-0167c2cc.entry.js} +1 -1
- package/dist/bromcom-ui/p-033f2926.entry.js +5 -0
- package/dist/bromcom-ui/{p-7d18ce0e.entry.js → p-0c494f44.entry.js} +1 -1
- package/dist/bromcom-ui/{p-daeb868a.js → p-0e65fd54.js} +1 -1
- package/dist/bromcom-ui/p-14ed2c86.js +5 -0
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-1ca7e1a1.entry.js} +1 -1
- package/dist/bromcom-ui/{p-053dc717.entry.js → p-1d577d30.entry.js} +1 -1
- package/dist/bromcom-ui/p-2032843f.entry.js +5 -0
- package/dist/bromcom-ui/{p-2aaeb247.entry.js → p-23c01e93.entry.js} +1 -1
- package/dist/bromcom-ui/p-2663c49f.entry.js +5 -0
- package/dist/bromcom-ui/{p-bdc78a44.entry.js → p-2903e611.entry.js} +1 -1
- package/dist/bromcom-ui/p-2ecb8899.entry.js +5 -0
- package/dist/bromcom-ui/p-31368d21.entry.js +5 -0
- package/dist/bromcom-ui/{p-c02d4055.entry.js → p-370b6020.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9850cbce.js → p-397c1438.js} +1 -1
- package/dist/bromcom-ui/p-3a944947.entry.js +5 -0
- package/dist/bromcom-ui/{p-cebe6c15.entry.js → p-3aa7e1ce.entry.js} +1 -1
- package/dist/bromcom-ui/p-3db88841.entry.js +5 -0
- package/dist/bromcom-ui/{p-c99dbd93.entry.js → p-3f4d5368.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3a60a194.js → p-403d3912.js} +1 -1
- package/dist/bromcom-ui/p-40871628.js +5 -0
- package/dist/bromcom-ui/p-4254234c.entry.js +5 -0
- package/dist/bromcom-ui/p-42a7244e.entry.js +5 -0
- package/dist/bromcom-ui/p-4c5168fe.js +5 -0
- package/dist/bromcom-ui/{p-69260d36.entry.js → p-51341d24.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0bda558d.js → p-588ba8fc.js} +1 -1
- package/dist/bromcom-ui/{p-d73d6a2f.entry.js → p-58fa6ecf.entry.js} +1 -1
- package/dist/bromcom-ui/p-5a65b538.js +5 -0
- package/dist/bromcom-ui/p-5f74f707.js +5 -0
- package/dist/bromcom-ui/{p-35f2e15a.js → p-5fbbf611.js} +1 -1
- package/dist/bromcom-ui/p-66d74084.js +5 -0
- package/dist/bromcom-ui/p-74912375.js +5 -0
- package/dist/bromcom-ui/p-7fa410eb.entry.js +5 -0
- package/dist/bromcom-ui/{p-626b805d.entry.js → p-87291a4f.entry.js} +1 -1
- package/dist/bromcom-ui/p-8d2e1aea.entry.js +5 -0
- package/dist/bromcom-ui/p-9acc7a1c.entry.js +5 -0
- package/dist/bromcom-ui/p-9f913f3e.entry.js +5 -0
- package/dist/bromcom-ui/{p-e82dab5a.entry.js → p-a02650af.entry.js} +1 -1
- package/dist/bromcom-ui/p-aa370552.js +5 -0
- package/dist/bromcom-ui/{p-7c223356.entry.js → p-ac200139.entry.js} +1 -1
- package/dist/bromcom-ui/p-afe35470.entry.js +16 -0
- package/dist/bromcom-ui/p-affe097a.entry.js +5 -0
- package/dist/bromcom-ui/{p-79d5c3d8.entry.js → p-b702f1e5.entry.js} +1 -1
- package/dist/bromcom-ui/p-bc6ecf66.entry.js +5 -0
- package/dist/bromcom-ui/{p-313b7bb0.entry.js → p-bdda1f76.entry.js} +1 -1
- package/dist/bromcom-ui/p-bde34843.entry.js +5 -0
- package/dist/bromcom-ui/{p-f0e30624.entry.js → p-c187994f.entry.js} +1 -1
- package/dist/bromcom-ui/p-cc583dbc.js +5 -0
- package/dist/bromcom-ui/p-ccc61045.js +5 -0
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-cd12ef44.entry.js} +1 -1
- package/dist/bromcom-ui/p-cf164584.js +5 -0
- package/dist/bromcom-ui/{p-594a57c3.entry.js → p-cfb0bdbe.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d551a51d.entry.js → p-dc23865f.entry.js} +1 -1
- package/dist/bromcom-ui/p-ddf90943.entry.js +5 -0
- package/dist/bromcom-ui/{p-170cf07d.js → p-e3ce7150.js} +2 -2
- package/dist/bromcom-ui/p-e45072df.entry.js +5 -0
- package/dist/bromcom-ui/p-e747137c.entry.js +5 -0
- package/dist/bromcom-ui/{p-ba9eff2a.entry.js → p-e8f7282a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c9314bd.entry.js → p-e9672b15.entry.js} +1 -1
- package/dist/bromcom-ui/p-ef34f278.entry.js +5 -0
- package/dist/bromcom-ui/{p-11a5ae6d.entry.js → p-ef84ca66.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c7ea00b.entry.js → p-ef8636fe.entry.js} +1 -1
- package/dist/bromcom-ui/p-f530cf23.js +5 -0
- package/dist/bromcom-ui/{p-5dea2654.entry.js → p-f65dae79.entry.js} +1 -1
- package/dist/bromcom-ui/p-f68a946f.js +5 -0
- package/dist/bromcom-ui/p-f9e5528f.entry.js +5 -0
- package/dist/bromcom-ui/{p-1bdfc73a.entry.js → p-fa1eae97.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1c801d0c.entry.js → p-fb083e20.entry.js} +1 -1
- package/dist/bromcom-ui/p-fb490a1f.entry.js +5 -0
- package/dist/cjs/{bcm-1d1fcf21.js → bcm-51d38d17.js} +7 -1
- package/dist/cjs/{bcm-accordion_63.cjs.entry.js → bcm-accordion_68.cjs.entry.js} +2641 -1319
- package/dist/cjs/bcm-alert.cjs.entry.js +89 -75
- package/dist/cjs/bcm-arrow.cjs.entry.js +34 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +10 -9
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +10 -9
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +1 -1
- package/dist/cjs/bcm-box.cjs.entry.js +1 -1
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +3 -3
- package/dist/cjs/bcm-caption.cjs.entry.js +10 -9
- package/dist/cjs/bcm-card.cjs.entry.js +6 -6
- package/dist/cjs/bcm-chip-group.cjs.entry.js +15 -19
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -5
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +9 -9
- package/dist/cjs/bcm-default.cjs.entry.js +3 -3
- package/dist/cjs/bcm-error-layout.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +6 -6
- package/dist/cjs/bcm-form-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-custom.cjs.entry.js +3 -3
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +10 -10
- package/dist/cjs/bcm-message.cjs.entry.js +1 -1
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +8 -7
- package/dist/cjs/bcm-modal-2.cjs.entry.js +8 -7
- package/dist/cjs/bcm-notification.cjs.entry.js +1 -1
- package/dist/cjs/bcm-number-input.cjs.entry.js +12 -12
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-popconfirm-box-v2.cjs.entry.js +109 -0
- package/dist/cjs/bcm-popconfirm-host.cjs.entry.js +135 -0
- package/dist/cjs/bcm-range.cjs.entry.js +4 -4
- package/dist/cjs/bcm-react-number.cjs.entry.js +1 -1
- package/dist/cjs/bcm-resizable-pane.cjs.entry.js +42 -0
- package/dist/cjs/bcm-result-footer.cjs.entry.js +39 -0
- package/dist/cjs/bcm-result.cjs.entry.js +16 -47
- package/dist/cjs/bcm-segment-picker-item.cjs.entry.js +33 -0
- package/dist/cjs/bcm-segment-picker.cjs.entry.js +67 -0
- package/dist/cjs/bcm-select-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-select-option.cjs.entry.js +1 -1
- package/dist/cjs/bcm-skeleton.cjs.entry.js +8 -8
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +1 -1
- package/dist/cjs/bcm-table.cjs.entry.js +9 -8
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +1 -1
- package/dist/cjs/bcm-tag.cjs.entry.js +5 -5
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -5
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/bcm-timeline.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +198 -42
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bromcom-ui.cjs.js +4 -4
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-1ba40085.js} +10 -10
- package/dist/cjs/floating-ui-4c31473e.js +101 -0
- package/dist/{esm/floating-ui-3f4394da.js → cjs/floating-ui.dom.esm-f0638c44.js} +8 -93
- package/dist/cjs/{generate-7510539d.js → generate-eda14f12.js} +13 -36
- package/dist/cjs/{global-711c589c.js → global-971b32f6.js} +2 -2
- package/dist/cjs/{index-c591ecec.js → index-bb6ac306.js} +3 -0
- package/dist/cjs/{index-5279dea2.js → index-d3b89435.js} +386 -347
- package/dist/cjs/{input.style-b5676e6a.js → input.style-3e8b7803.js} +16 -15
- package/dist/cjs/{is-load-decorator-15036f37.js → is-load-decorator-60805e8b.js} +1 -1
- package/dist/cjs/{label-template-e83447b5.js → label-template-540044c9.js} +8 -7
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/{number-helper-9d2d1d5a.js → number-helper-d14c9546.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +10 -9
- package/dist/cjs/old-bcm-popover.cjs.entry.js +4 -4
- package/dist/cjs/{package-a60955f7.js → package-f644e6eb.js} +1 -1
- package/dist/cjs/{popover-placement-d1aa81f0.js → popover-placement-3c0ad75e.js} +1 -1
- package/dist/cjs/popover.style-e390b5a1.js +108 -0
- package/dist/cjs/result.style-f58d0ac4.js +56 -0
- package/dist/cjs/segment-picker.style-ce057603.js +55 -0
- package/dist/cjs/{slot-template-29229e8f.js → slot-template-d02ae4e4.js} +2 -2
- package/dist/cjs/{string-helper-1ee6dc21.js → string-helper-cc89c9d6.js} +1 -1
- package/dist/cjs/types-e4c4d1b2.js +175 -0
- package/dist/collection/collection-manifest.json +15 -5
- package/dist/collection/components/atoms/{chip/chip-group.css → avatar/avatar.css} +4 -2
- package/dist/collection/components/atoms/avatar/avatar.js +13 -3
- package/dist/collection/components/atoms/avatar/avatar.style.js +6 -6
- package/dist/collection/components/atoms/{icon/icon.css → badge/badge.css} +3 -2
- package/dist/collection/components/atoms/badge/badge.js +10 -0
- package/dist/collection/components/atoms/badge/badge.style.js +10 -10
- package/dist/collection/components/atoms/button/button.css +11 -332
- package/dist/collection/components/atoms/button/button.js +429 -241
- package/dist/collection/components/atoms/button/button.style.js +89 -0
- package/dist/collection/components/atoms/chip/chip-group.js +2 -14
- package/dist/collection/components/atoms/chip/chip.css +11 -87
- package/dist/collection/components/atoms/chip/chip.js +84 -45
- package/dist/collection/components/atoms/chip/chip.style.js +99 -0
- package/dist/collection/components/atoms/divider/divider.js +7 -38
- package/dist/collection/components/atoms/divider/divider.style.js +19 -0
- package/dist/collection/components/atoms/icon/icon.js +14 -37
- package/dist/collection/components/atoms/label/label.js +21 -2
- package/dist/collection/components/atoms/link/link.js +132 -58
- package/dist/collection/components/atoms/link/link.style.js +39 -0
- package/dist/collection/components/molecules/accordion/accordion.js +3 -13
- package/dist/collection/components/molecules/alert/alert.js +118 -137
- package/dist/collection/components/molecules/alert/alert.style.js +65 -0
- package/dist/collection/components/molecules/checkbox/checkbox.css +10 -317
- package/dist/collection/components/molecules/checkbox/checkbox.js +119 -142
- package/dist/collection/components/molecules/checkbox/checkbox.style.js +156 -0
- package/dist/collection/components/molecules/{checkbox/group.js → checkbox-group/checkbox-group.js} +23 -40
- package/dist/collection/components/molecules/checkbox-group/checkbox-group.style.js +40 -0
- package/dist/collection/components/molecules/color-input/color-input.js +3 -1
- package/dist/collection/components/molecules/color-input/color-input.style.js +17 -0
- package/dist/collection/components/molecules/drawer/drawer.css +0 -81
- package/dist/collection/components/molecules/drawer/drawer.js +7 -13
- package/dist/collection/components/molecules/drawer/drawer.style.js +55 -0
- package/dist/collection/components/molecules/dropdown/dropdown.js +13 -7
- package/dist/collection/components/molecules/empty/empty.js +91 -3
- package/dist/collection/components/molecules/empty/empty.style.js +64 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-description.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-extra.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/bcm-expansion-panel-header.js +16 -0
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +91 -57
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.style.js +91 -0
- package/dist/collection/components/molecules/input/input.js +78 -66
- package/dist/collection/components/molecules/input/input.style.js +15 -14
- package/dist/collection/components/molecules/menu/menu.js +14 -0
- package/dist/collection/components/molecules/modal/modal-footer.js +41 -0
- package/dist/collection/components/molecules/modal/modal-header.js +39 -0
- package/dist/collection/components/molecules/modal/modal.css +1 -139
- package/dist/collection/components/molecules/modal/modal.js +9 -16
- package/dist/collection/components/molecules/modal/modal.style.js +111 -0
- package/dist/collection/components/molecules/number-input/number-input.js +1 -1
- package/dist/collection/components/molecules/number-input/react-input.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +22 -6
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.js +11 -9
- package/dist/collection/components/molecules/popconfirm-v2/pop-confirm-host.js +309 -0
- package/dist/collection/components/molecules/popconfirm-v2/popconf.style.js +57 -0
- package/dist/collection/components/molecules/popconfirm-v2/popconfirm-v2.js +201 -0
- package/dist/collection/components/molecules/popover/popover.js +3 -1
- package/dist/collection/components/molecules/popover/popover.style.js +42 -0
- package/dist/collection/components/molecules/radio/radio-group.js +6 -2
- package/dist/collection/components/molecules/radio/radio-group.style.js +37 -0
- package/dist/collection/components/{atoms/divider/divider.css → molecules/radio/radio.css} +9 -17
- package/dist/collection/components/molecules/radio/radio.js +21 -22
- package/dist/collection/components/molecules/radio/radio.style.js +67 -0
- package/dist/collection/components/molecules/result/result-footer.js +41 -0
- package/dist/collection/components/molecules/result/result.js +36 -65
- package/dist/collection/components/molecules/result/result.style.js +51 -0
- package/dist/collection/components/molecules/search/search.js +10 -13
- package/dist/collection/components/molecules/stepper/stepper.css +41 -35
- package/dist/collection/components/molecules/switch/switch.js +11 -24
- package/dist/collection/components/molecules/switch/switch.style.js +182 -0
- package/dist/collection/components/molecules/tab-group/tab-group.js +3 -28
- package/dist/collection/components/molecules/tab-group/tab-group.syle.js +63 -0
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +7 -32
- package/dist/collection/components/molecules/tab-group/tab-item.js +7 -6
- package/dist/collection/components/molecules/textarea/textarea.js +55 -44
- package/dist/collection/components/molecules/textarea/textarea.style.js +122 -0
- package/dist/collection/components/molecules/tooltip/tooltip.js +5 -3
- package/dist/collection/components/molecules/tooltip/tooltip.style.js +38 -0
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +20 -20
- package/dist/collection/components/organism/list/list.css +73 -324
- package/dist/collection/components/organism/list/list.js +2 -2
- package/dist/collection/components/{molecules/checkbox/group.css → other/arrow/arrow.css} +24 -31
- package/dist/collection/components/other/arrow/arrow.js +70 -0
- package/dist/collection/components/other/resizable-pane/resizable-pane.js +79 -0
- package/dist/collection/components/other/segment-picker/segment-picker-item.js +158 -0
- package/dist/collection/components/other/segment-picker/segment-picker.js +252 -0
- package/dist/collection/components/other/segment-picker/segment-picker.style.js +50 -0
- package/dist/collection/components/other/shortcut/shortcut.js +12 -6
- package/dist/collection/components/other/shortcut/shortcut.style.js +38 -0
- package/dist/collection/components/other/toast/toast.js +15 -31
- package/dist/collection/components/other/toast/toast.style.js +176 -0
- package/dist/collection/components/other_deprecated/listbox/listbox-item.js +1 -1
- package/dist/collection/components/other_deprecated/listbox/listbox.js +1 -1
- package/dist/collection/components/other_deprecated/old-input/old-input.css +38 -24
- package/dist/collection/components/other_deprecated/old-input/old-input.js +4 -2
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +3 -2
- package/dist/collection/components/third-parts/colorful/colorful.css +0 -242
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +31 -27
- package/dist/collection/helper/generate.js +11 -16
- package/dist/collection/helper/index.js +1 -0
- package/dist/collection/helper/pop-confirm-helper.js +76 -0
- package/dist/collection/helper/popover-helper.js +8 -7
- package/dist/collection/helper/tooltip-helper.js +3 -15
- package/dist/collection/models/bcm.js +9 -1
- package/dist/collection/templates/caption-template.js +9 -9
- package/dist/collection/templates/checkbox-template.js +11 -16
- package/dist/collection/templates/icon-template.js +4 -19
- package/dist/collection/templates/info-footer-template.js +1 -1
- package/dist/collection/templates/label-template.js +6 -5
- package/dist/collection/templates/list-item-template.js +3 -2
- package/dist/collection/templates/step-template.js +1 -1
- package/dist/components/avatar.js +17 -20
- package/dist/components/badge.js +16 -13
- package/dist/components/bcm-accordion.js +3 -6
- package/dist/components/bcm-alert.js +99 -88
- package/dist/components/{bcm-input-2.d.ts → bcm-arrow.d.ts} +4 -4
- package/dist/components/bcm-arrow.js +47 -0
- package/dist/components/bcm-attendance-actions-comment.js +3 -3
- package/dist/components/bcm-attendance-actions-dropdown.js +3 -3
- package/dist/components/bcm-attendance-actions.js +3 -3
- package/dist/components/bcm-autocomplete.js +6 -12
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-caption.js +3 -2
- package/dist/components/bcm-checkbox-group.js +62 -40
- package/dist/components/bcm-chip-group.js +6 -9
- package/dist/components/bcm-color-input.js +17 -2
- package/dist/components/bcm-date-picker.js +2 -2
- package/dist/components/bcm-date.js +3 -2
- package/dist/components/bcm-drawer.js +61 -29
- package/dist/components/bcm-dropdown.js +3 -3
- package/dist/components/bcm-expansion-panel-description.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-description.js +36 -0
- package/dist/components/bcm-expansion-panel-extra.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-extra.js +36 -0
- package/dist/components/bcm-expansion-panel-header.d.ts +11 -0
- package/dist/components/bcm-expansion-panel-header.js +36 -0
- package/dist/components/bcm-expansion-panel.js +118 -52
- package/dist/components/bcm-form-2.js +1 -1
- package/dist/components/bcm-input-dropdown.js +4 -3
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-modal-2-footer.js +1 -1
- package/dist/components/bcm-modal-2-header.js +1 -1
- package/dist/components/bcm-modal-2.js +2 -2
- package/dist/components/bcm-modal-footer.d.ts +11 -0
- package/dist/components/bcm-modal-footer.js +47 -0
- package/dist/components/bcm-modal-header.d.ts +11 -0
- package/dist/components/bcm-modal-header.js +45 -0
- package/dist/components/bcm-modal.js +12 -25
- package/dist/components/bcm-number-input.js +4 -3
- package/dist/components/bcm-popconfirm-box-v2.d.ts +11 -0
- package/dist/components/bcm-popconfirm-box-v2.js +132 -0
- package/dist/components/bcm-popconfirm-host.d.ts +11 -0
- package/dist/components/bcm-popconfirm-host.js +158 -0
- package/dist/components/bcm-popconfirm.js +5 -17
- package/dist/components/bcm-popover.js +11 -10
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +43 -4
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-resizable-pane.d.ts +11 -0
- package/dist/components/bcm-resizable-pane.js +60 -0
- package/dist/components/{bcm-checkbox-lite.d.ts → bcm-result-footer.d.ts} +4 -4
- package/dist/components/bcm-result-footer.js +47 -0
- package/dist/components/bcm-result.js +20 -61
- package/dist/components/bcm-segment-picker-item.d.ts +11 -0
- package/dist/components/bcm-segment-picker-item.js +51 -0
- package/dist/components/bcm-segment-picker.d.ts +11 -0
- package/dist/components/bcm-segment-picker.js +87 -0
- package/dist/components/bcm-select.js +6 -12
- package/dist/components/bcm-shortcut.js +48 -8
- package/dist/components/bcm-stepper.js +5 -4
- package/dist/components/bcm-switch.js +189 -17
- package/dist/components/bcm-tab-group.js +5 -13
- package/dist/components/bcm-tab-item-header.js +9 -17
- package/dist/components/bcm-tab-item.js +8 -7
- package/dist/components/bcm-table.js +2 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-time-picker.js +1 -1
- package/dist/components/bcm-toast.js +188 -32
- package/dist/components/bcm.js +8 -2
- package/dist/components/button.js +232 -184
- package/dist/components/caption-template.js +9 -9
- package/dist/components/checkbox.js +94 -104
- package/dist/components/checkbox.style.js +159 -0
- package/dist/components/chip.js +152 -40
- package/dist/components/colorful.js +1 -1
- package/dist/components/datetime-picker.js +3 -3
- package/dist/components/divider.js +21 -13
- package/dist/components/empty.js +75 -3
- package/dist/{cjs/floating-ui-5b396838.js → components/floating-ui.dom.esm.js} +1 -96
- package/dist/components/floating-ui.js +2 -1407
- package/dist/components/generate.js +14 -37
- package/dist/components/icon.js +14 -13
- package/dist/components/index.d.ts +14 -4
- package/dist/components/index.js +12 -2
- package/dist/components/index4.js +2590 -173
- package/dist/components/index5.js +171 -2549
- package/dist/components/input.js +77 -54
- package/dist/components/input.style.js +16 -15
- package/dist/components/label.js +12 -9
- package/dist/components/link.js +83 -39
- package/dist/components/linked.js +2 -2
- package/dist/components/list.js +28 -33
- package/dist/components/listbox-item.js +21 -9
- package/dist/components/listbox.js +7 -13
- package/dist/components/menu.js +15 -1
- package/dist/components/modal.style.js +114 -0
- package/dist/components/old-bcm-popover.js +1 -1
- package/dist/components/old-input.js +5 -3
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/popconfirm-box.js +12 -22
- package/dist/components/popover.style.js +108 -0
- package/dist/components/radio.js +79 -24
- package/dist/components/rc-overflow.js +1 -1
- package/dist/components/rc-picker.js +2 -2
- package/dist/components/result.style.js +54 -0
- package/dist/components/search.js +14 -16
- package/dist/components/segment-picker.style.js +53 -0
- package/dist/components/select-box.js +6 -12
- package/dist/components/skeleton.js +2 -2
- package/dist/components/step.js +1 -1
- package/dist/components/string-helper.js +1 -1
- package/dist/components/tab-group.syle.js +66 -0
- package/dist/components/textarea.js +152 -36
- package/dist/components/tooltip-helper.js +3 -16
- package/dist/components/tooltip.js +5 -4
- package/dist/esm/{bcm-a50d55ba.js → bcm-7f07539b.js} +7 -1
- package/dist/esm/{bcm-accordion_63.entry.js → bcm-accordion_68.entry.js} +2198 -881
- package/dist/esm/bcm-alert.entry.js +89 -75
- package/dist/esm/bcm-arrow.entry.js +30 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +10 -9
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +10 -9
- package/dist/esm/bcm-autocomplete.entry.js +1 -1
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +3 -3
- package/dist/esm/bcm-caption.entry.js +10 -9
- package/dist/esm/bcm-card.entry.js +6 -6
- package/dist/esm/bcm-chip-group.entry.js +15 -19
- package/dist/esm/bcm-colorpicker.entry.js +1 -1
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +5 -5
- package/dist/esm/bcm-datetime-picker.entry.js +9 -9
- package/dist/esm/bcm-default.entry.js +3 -3
- package/dist/esm/bcm-error-layout.entry.js +1 -1
- package/dist/esm/bcm-form-2.entry.js +6 -6
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-custom.entry.js +3 -3
- package/dist/esm/bcm-input-dropdown.entry.js +10 -10
- package/dist/esm/bcm-message.entry.js +1 -1
- package/dist/esm/bcm-modal-2-footer.entry.js +8 -7
- package/dist/esm/bcm-modal-2-header.entry.js +8 -7
- package/dist/esm/bcm-modal-2.entry.js +8 -7
- package/dist/esm/bcm-notification.entry.js +1 -1
- package/dist/esm/bcm-number-input.entry.js +12 -12
- package/dist/esm/bcm-overlay_2.entry.js +1 -1
- package/dist/esm/bcm-popconfirm-box-v2.entry.js +105 -0
- package/dist/esm/bcm-popconfirm-host.entry.js +131 -0
- package/dist/esm/bcm-range.entry.js +4 -4
- package/dist/esm/bcm-react-number.entry.js +1 -1
- package/dist/esm/bcm-resizable-pane.entry.js +38 -0
- package/dist/esm/bcm-result-footer.entry.js +35 -0
- package/dist/esm/bcm-result.entry.js +16 -47
- package/dist/esm/bcm-segment-picker-item.entry.js +29 -0
- package/dist/esm/bcm-segment-picker.entry.js +63 -0
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-skeleton.entry.js +8 -8
- package/dist/esm/bcm-tab-pane.entry.js +1 -1
- package/dist/esm/bcm-table.entry.js +9 -8
- package/dist/esm/bcm-tabs-content.entry.js +1 -1
- package/dist/esm/bcm-tag.entry.js +5 -5
- package/dist/esm/bcm-time-picker.entry.js +5 -5
- package/dist/esm/bcm-timeline-item.entry.js +1 -1
- package/dist/esm/bcm-timeline.entry.js +1 -1
- package/dist/esm/bcm-toast.entry.js +192 -36
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +5 -5
- package/dist/esm/{caption-template-3cd42c3b.js → caption-template-56977835.js} +10 -10
- package/dist/esm/floating-ui-4016b544.js +99 -0
- package/dist/esm/floating-ui.dom.esm-40a07b59.js +1411 -0
- package/dist/esm/{generate-74379aca.js → generate-8470dd6c.js} +14 -37
- package/dist/esm/{global-e20393a3.js → global-e694da71.js} +2 -2
- package/dist/esm/{index-0615c2b8.js → index-15387314.js} +3 -1
- package/dist/esm/{index-3bc8c6e3.js → index-9f698d35.js} +386 -347
- package/dist/esm/{input.style-e855c0f3.js → input.style-fe41ebc8.js} +16 -15
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-5b0610df.js} +1 -1
- package/dist/esm/{label-template-ef97aadb.js → label-template-c7e70e5f.js} +8 -7
- package/dist/esm/loader.js +5 -5
- package/dist/esm/{number-helper-6c691943.js → number-helper-56061510.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -9
- package/dist/esm/old-bcm-popover.entry.js +4 -4
- package/dist/esm/{package-0b936309.js → package-387afefd.js} +1 -1
- package/dist/esm/{popover-placement-1b15cc99.js → popover-placement-6391b815.js} +1 -1
- package/dist/esm/popover.style-be349acc.js +104 -0
- package/dist/esm/result.style-de3bc950.js +54 -0
- package/dist/esm/segment-picker.style-1e837fe7.js +53 -0
- package/dist/esm/{slot-template-0d958dcc.js → slot-template-250f6ed4.js} +2 -2
- package/dist/esm/{string-helper-b4602002.js → string-helper-243b3e1d.js} +1 -1
- package/dist/esm/types-ec7dcf4f.js +173 -0
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
- package/dist/types/components/atoms/button/button.d.ts +32 -20
- package/dist/types/components/atoms/button/button.style.d.ts +334 -0
- package/dist/types/components/atoms/chip/chip.d.ts +4 -14
- package/dist/types/components/atoms/chip/chip.style.d.ts +387 -0
- package/dist/types/components/atoms/divider/divider.d.ts +1 -2
- package/dist/types/components/atoms/divider/divider.style.d.ts +42 -0
- package/dist/types/components/atoms/icon/icon.d.ts +0 -2
- package/dist/types/components/atoms/label/label.d.ts +1 -0
- package/dist/types/components/atoms/link/link.d.ts +10 -6
- package/dist/types/components/atoms/link/link.style.d.ts +171 -0
- package/dist/types/components/molecules/alert/alert.d.ts +15 -17
- package/dist/types/components/molecules/alert/alert.style.d.ts +331 -0
- package/dist/types/components/molecules/checkbox/checkbox.d.ts +16 -29
- package/dist/types/components/molecules/checkbox/checkbox.style.d.ts +498 -0
- package/dist/types/components/molecules/checkbox-group/checkbox-group.style.d.ts +108 -0
- package/dist/types/components/molecules/color-input/color-input.d.ts +0 -1
- package/dist/types/components/molecules/color-input/color-input.style.d.ts +10 -0
- package/dist/types/components/molecules/drawer/drawer.style.d.ts +252 -0
- package/dist/types/components/molecules/dropdown/dropdown.d.ts +2 -2
- package/dist/types/components/molecules/empty/empty.d.ts +6 -0
- package/dist/types/components/molecules/empty/empty.style.d.ts +296 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-description.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-extra.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/bcm-expansion-panel-header.d.ts +6 -0
- package/dist/types/components/molecules/expansion-panel/expansion-panel.d.ts +6 -5
- package/dist/types/components/molecules/expansion-panel/expansion-panel.style.d.ts +437 -0
- package/dist/types/components/molecules/input/input.d.ts +2 -2
- package/dist/types/components/molecules/modal/modal-footer.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal-header.d.ts +7 -0
- package/dist/types/components/molecules/modal/modal.style.d.ts +364 -0
- package/dist/types/components/molecules/popconfirm/popconfirm-box.d.ts +1 -1
- package/dist/types/components/molecules/popconfirm-v2/pop-confirm-host.d.ts +26 -0
- package/dist/types/components/molecules/popconfirm-v2/popconf.style.d.ts +277 -0
- package/dist/types/components/molecules/popconfirm-v2/popconfirm-v2.d.ts +15 -0
- package/dist/types/components/molecules/popover/popover.style.d.ts +103 -0
- package/dist/types/components/molecules/radio/radio-group.style.d.ts +108 -0
- package/dist/types/components/molecules/radio/radio.style.d.ts +202 -0
- package/dist/types/components/molecules/result/result-footer.d.ts +7 -0
- package/dist/types/components/molecules/result/result.d.ts +3 -7
- package/dist/types/components/molecules/result/result.style.d.ts +180 -0
- package/dist/types/components/molecules/switch/switch.style.d.ts +537 -0
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +0 -1
- package/dist/types/components/molecules/tab-group/tab-group.syle.d.ts +236 -0
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +0 -1
- package/dist/types/components/molecules/textarea/textarea.d.ts +2 -2
- package/dist/types/components/molecules/textarea/textarea.style.d.ts +610 -0
- package/dist/types/components/molecules/tooltip/tooltip.style.d.ts +94 -0
- package/dist/types/components/other/arrow/arrow.d.ts +7 -0
- package/dist/types/components/other/resizable-pane/resizable-pane.d.ts +11 -0
- package/dist/types/components/other/segment-picker/segment-picker-item.d.ts +12 -0
- package/dist/types/components/other/segment-picker/segment-picker.d.ts +35 -0
- package/dist/types/components/other/segment-picker/segment-picker.style.d.ts +150 -0
- package/dist/types/components/other/shortcut/shortcut.style.d.ts +91 -0
- package/dist/types/components/other/toast/toast.style.d.ts +539 -0
- package/dist/types/components.d.ts +448 -278
- package/dist/types/helper/generate.d.ts +0 -3
- package/dist/types/helper/index.d.ts +1 -0
- package/dist/types/helper/pop-confirm-helper.d.ts +23 -0
- package/dist/types/helper/tooltip-helper.d.ts +0 -1
- package/dist/types/models/bcm-types.d.ts +3 -2
- package/dist/types/models/bcm.d.ts +7 -1
- package/dist/types/templates/icon-template.d.ts +2 -2
- package/dist/types/templates/label-template.d.ts +1 -0
- package/package.json +2 -2
- package/dist/bromcom-ui/p-0345ed68.entry.js +0 -5
- package/dist/bromcom-ui/p-069ae664.entry.js +0 -5
- package/dist/bromcom-ui/p-08c75801.js +0 -5
- package/dist/bromcom-ui/p-193d926a.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-29c4dc0a.entry.js +0 -5
- package/dist/bromcom-ui/p-2d34eb30.entry.js +0 -5
- package/dist/bromcom-ui/p-2df6b47d.js +0 -5
- package/dist/bromcom-ui/p-2ee89105.entry.js +0 -5
- package/dist/bromcom-ui/p-305b0bc8.entry.js +0 -5
- package/dist/bromcom-ui/p-3238bf36.js +0 -5
- package/dist/bromcom-ui/p-3b863650.entry.js +0 -5
- package/dist/bromcom-ui/p-3fac58f7.js +0 -5
- package/dist/bromcom-ui/p-43c578cf.js +0 -5
- package/dist/bromcom-ui/p-4f05c6a4.entry.js +0 -5
- package/dist/bromcom-ui/p-4f6eb6d6.js +0 -5
- package/dist/bromcom-ui/p-6e5f5f36.js +0 -5
- package/dist/bromcom-ui/p-7400e3c3.entry.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-87d9dff7.entry.js +0 -5
- package/dist/bromcom-ui/p-8e683b32.js +0 -5
- package/dist/bromcom-ui/p-a2ed89f0.entry.js +0 -5
- package/dist/bromcom-ui/p-a313fba6.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-bbae06ed.entry.js +0 -5
- package/dist/bromcom-ui/p-d1298c40.js +0 -5
- package/dist/bromcom-ui/p-e99cc26b.entry.js +0 -5
- package/dist/bromcom-ui/p-ea7368b4.entry.js +0 -5
- package/dist/bromcom-ui/p-ec1fe98f.entry.js +0 -16
- package/dist/bromcom-ui/p-ece578ef.entry.js +0 -5
- package/dist/cjs/bcm-input-2.cjs.entry.js +0 -153
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
- package/dist/cjs/index-d321de96.js +0 -193
- package/dist/cjs/types-cc4adee7.js +0 -19
- package/dist/cjs/validators-9369c82a.js +0 -33
- package/dist/collection/components/atoms/link/link.css +0 -175
- package/dist/collection/components/atoms/states/button.states.js +0 -31
- package/dist/collection/components/molecules/accordion/accordion.css +0 -127
- package/dist/collection/components/molecules/alert/alert.css +0 -191
- package/dist/collection/components/molecules/alert/types.js +0 -23
- package/dist/collection/components/molecules/checkbox/checkbox-lite.js +0 -236
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -238
- package/dist/collection/components/molecules/input/input.css +0 -365
- package/dist/collection/components/molecules/input/input2.js +0 -918
- package/dist/collection/components/molecules/result/result.css +0 -164
- package/dist/collection/components/molecules/result/types.js +0 -22
- package/dist/collection/components/molecules/search/search.css +0 -365
- package/dist/collection/components/molecules/states/alert.states.js +0 -25
- package/dist/collection/components/molecules/switch/switch.css +0 -434
- package/dist/collection/components/molecules/textarea/textarea.css +0 -365
- package/dist/collection/components/molecules/textarea/types.js +0 -13
- package/dist/collection/global/components/_checkbox.css +0 -378
- package/dist/components/bcm-checkbox-lite.js +0 -10
- package/dist/components/bcm-input-2.js +0 -225
- package/dist/components/checkbox-lite.js +0 -97
- package/dist/components/input-template.js +0 -90
- package/dist/components/validators.js +0 -35
- package/dist/esm/bcm-input-2.entry.js +0 -149
- package/dist/esm/bcm-popover.entry.js +0 -226
- package/dist/esm/index-7e71bbc8.js +0 -191
- package/dist/esm/types-6f06fa1a.js +0 -19
- package/dist/esm/validators-c067048c.js +0 -31
- package/dist/types/components/atoms/states/button.states.d.ts +0 -7
- package/dist/types/components/molecules/alert/types.d.ts +0 -25
- package/dist/types/components/molecules/checkbox/checkbox-lite.d.ts +0 -14
- package/dist/types/components/molecules/input/input2.d.ts +0 -64
- package/dist/types/components/molecules/result/types.d.ts +0 -19
- package/dist/types/components/molecules/states/alert.states.d.ts +0 -7
- package/dist/types/components/molecules/textarea/types.d.ts +0 -9
- /package/dist/collection/components/{third-parts/rc-picker → organism/date}/date.js +0 -0
- /package/dist/types/components/molecules/{checkbox/group.d.ts → checkbox-group/checkbox-group.d.ts} +0 -0
- /package/dist/types/components/{third-parts/rc-picker → organism/date}/date.d.ts +0 -0
package/dist/collection/components/molecules/{checkbox/group.js → checkbox-group/checkbox-group.js}
RENAMED
|
@@ -13,15 +13,13 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
13
13
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
14
14
|
};
|
|
15
15
|
import { h, Host } from '@stencil/core';
|
|
16
|
-
import cs from 'classnames';
|
|
17
16
|
import { Generate } from '../../../helper/generate';
|
|
18
17
|
import Bcm from '../../../models/bcm';
|
|
19
18
|
import { delay, getChildElements } from '../../../utils/utils';
|
|
20
19
|
import checkBoxGroupState from "../states/checkbox-group.states";
|
|
21
|
-
import { CheckboxGroupTemplate } from '../../../templates/checkbox-group-template';
|
|
22
20
|
import snq from 'snq';
|
|
23
|
-
import { LabelTemplate } from '../../../templates/label-template';
|
|
24
21
|
import { IsLoad } from '../../../decorators/is-load-decorator';
|
|
22
|
+
import { checkboxGroupStyle } from './checkbox-group.style';
|
|
25
23
|
export class BcmCheckboxGroup {
|
|
26
24
|
constructor() {
|
|
27
25
|
this._id = Generate.UID();
|
|
@@ -177,37 +175,22 @@ export class BcmCheckboxGroup {
|
|
|
177
175
|
}
|
|
178
176
|
render() {
|
|
179
177
|
const items = this.getItems();
|
|
180
|
-
const { disabled, captionType, label, indeterminate, indeterminateState, required, direction,
|
|
181
|
-
const
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
});
|
|
185
|
-
const bcmChechboxGroupContainer = cs('bcm-checkbox-group__container', optionType, {
|
|
186
|
-
[direction]: optionType === 'default',
|
|
187
|
-
indeterminate,
|
|
188
|
-
hidden,
|
|
189
|
-
'full-width': fullWidth
|
|
178
|
+
const { disabled, captionType, label, indeterminate, indeterminateState, required, direction, gap } = items;
|
|
179
|
+
const { host, checkboxGroupContainer } = checkboxGroupStyle({
|
|
180
|
+
direction,
|
|
181
|
+
indeterminate
|
|
190
182
|
});
|
|
191
|
-
return (h(Host, { class:
|
|
192
|
-
h("
|
|
193
|
-
h("bcm-checkbox", {
|
|
183
|
+
return (h(Host, { class: host() }, h("span", { hidden: true, id: `bcm-checkbox-group__items-${this._id}` }, h("slot", null)), label && h("bcm-label", { type: captionType, value: label, required: required }), indeterminate &&
|
|
184
|
+
h("bcm-checkbox", { onClick: (e) => { this.indeterminateClick(), e.preventDefault(); }, "no-caption": true, "no-margin": true, id: "bcm-indeterminate-element", indeterminate: indeterminateState, disabled: disabled }, "Check All"), h("div", { class: checkboxGroupContainer(), style: gap && ({ 'gap': gap }) }, items.childs && items.childs.map((checkbox) => {
|
|
185
|
+
return (h("bcm-checkbox", { id: checkbox.id, name: checkbox.name, color: checkbox.color, checked: checkbox.checked, disabled: checkbox.disabled, readonly: checkbox.readonly, required: checkbox.required, noCaption: checkbox.noCaption, "no-margin": true, size: checkbox.size, "full-width": checkbox.fullWidth, onClick: (e) => { !checkbox.disabled && !checkbox.readonly && (this.changeCheckBox(checkbox.id), e.preventDefault()); } }, checkbox.slot || checkbox.label));
|
|
186
|
+
}))));
|
|
194
187
|
}
|
|
195
188
|
static get is() { return "bcm-checkbox-group"; }
|
|
196
|
-
static get originalStyleUrls() {
|
|
197
|
-
return {
|
|
198
|
-
"$": ["group.scss"]
|
|
199
|
-
};
|
|
200
|
-
}
|
|
201
|
-
static get styleUrls() {
|
|
202
|
-
return {
|
|
203
|
-
"$": ["group.css"]
|
|
204
|
-
};
|
|
205
|
-
}
|
|
206
189
|
static get properties() {
|
|
207
190
|
return {
|
|
208
191
|
"_id": {
|
|
209
192
|
"type": "string",
|
|
210
|
-
"mutable":
|
|
193
|
+
"mutable": false,
|
|
211
194
|
"complexType": {
|
|
212
195
|
"original": "string",
|
|
213
196
|
"resolved": "string",
|
|
@@ -225,7 +208,7 @@ export class BcmCheckboxGroup {
|
|
|
225
208
|
},
|
|
226
209
|
"direction": {
|
|
227
210
|
"type": "string",
|
|
228
|
-
"mutable":
|
|
211
|
+
"mutable": false,
|
|
229
212
|
"complexType": {
|
|
230
213
|
"original": "DirectionTypes",
|
|
231
214
|
"resolved": "\"horizontal\" | \"vertical\"",
|
|
@@ -248,7 +231,7 @@ export class BcmCheckboxGroup {
|
|
|
248
231
|
},
|
|
249
232
|
"items": {
|
|
250
233
|
"type": "string",
|
|
251
|
-
"mutable":
|
|
234
|
+
"mutable": false,
|
|
252
235
|
"complexType": {
|
|
253
236
|
"original": "Array<object> | string",
|
|
254
237
|
"resolved": "object[] | string",
|
|
@@ -288,7 +271,7 @@ export class BcmCheckboxGroup {
|
|
|
288
271
|
},
|
|
289
272
|
"name": {
|
|
290
273
|
"type": "string",
|
|
291
|
-
"mutable":
|
|
274
|
+
"mutable": false,
|
|
292
275
|
"complexType": {
|
|
293
276
|
"original": "string",
|
|
294
277
|
"resolved": "string",
|
|
@@ -305,7 +288,7 @@ export class BcmCheckboxGroup {
|
|
|
305
288
|
},
|
|
306
289
|
"value": {
|
|
307
290
|
"type": "any",
|
|
308
|
-
"mutable":
|
|
291
|
+
"mutable": false,
|
|
309
292
|
"complexType": {
|
|
310
293
|
"original": "any",
|
|
311
294
|
"resolved": "any",
|
|
@@ -322,7 +305,7 @@ export class BcmCheckboxGroup {
|
|
|
322
305
|
},
|
|
323
306
|
"disabled": {
|
|
324
307
|
"type": "boolean",
|
|
325
|
-
"mutable":
|
|
308
|
+
"mutable": false,
|
|
326
309
|
"complexType": {
|
|
327
310
|
"original": "boolean",
|
|
328
311
|
"resolved": "boolean",
|
|
@@ -340,7 +323,7 @@ export class BcmCheckboxGroup {
|
|
|
340
323
|
},
|
|
341
324
|
"readonly": {
|
|
342
325
|
"type": "boolean",
|
|
343
|
-
"mutable":
|
|
326
|
+
"mutable": false,
|
|
344
327
|
"complexType": {
|
|
345
328
|
"original": "boolean",
|
|
346
329
|
"resolved": "boolean",
|
|
@@ -358,7 +341,7 @@ export class BcmCheckboxGroup {
|
|
|
358
341
|
},
|
|
359
342
|
"hidden": {
|
|
360
343
|
"type": "boolean",
|
|
361
|
-
"mutable":
|
|
344
|
+
"mutable": false,
|
|
362
345
|
"complexType": {
|
|
363
346
|
"original": "boolean",
|
|
364
347
|
"resolved": "boolean",
|
|
@@ -376,7 +359,7 @@ export class BcmCheckboxGroup {
|
|
|
376
359
|
},
|
|
377
360
|
"required": {
|
|
378
361
|
"type": "boolean",
|
|
379
|
-
"mutable":
|
|
362
|
+
"mutable": false,
|
|
380
363
|
"complexType": {
|
|
381
364
|
"original": "boolean",
|
|
382
365
|
"resolved": "boolean",
|
|
@@ -394,7 +377,7 @@ export class BcmCheckboxGroup {
|
|
|
394
377
|
},
|
|
395
378
|
"label": {
|
|
396
379
|
"type": "string",
|
|
397
|
-
"mutable":
|
|
380
|
+
"mutable": false,
|
|
398
381
|
"complexType": {
|
|
399
382
|
"original": "string",
|
|
400
383
|
"resolved": "string",
|
|
@@ -411,7 +394,7 @@ export class BcmCheckboxGroup {
|
|
|
411
394
|
},
|
|
412
395
|
"gap": {
|
|
413
396
|
"type": "string",
|
|
414
|
-
"mutable":
|
|
397
|
+
"mutable": false,
|
|
415
398
|
"complexType": {
|
|
416
399
|
"original": "string",
|
|
417
400
|
"resolved": "string",
|
|
@@ -428,7 +411,7 @@ export class BcmCheckboxGroup {
|
|
|
428
411
|
},
|
|
429
412
|
"defaultValue": {
|
|
430
413
|
"type": "string",
|
|
431
|
-
"mutable":
|
|
414
|
+
"mutable": false,
|
|
432
415
|
"complexType": {
|
|
433
416
|
"original": "string",
|
|
434
417
|
"resolved": "string",
|
|
@@ -445,7 +428,7 @@ export class BcmCheckboxGroup {
|
|
|
445
428
|
},
|
|
446
429
|
"fullWidth": {
|
|
447
430
|
"type": "any",
|
|
448
|
-
"mutable":
|
|
431
|
+
"mutable": false,
|
|
449
432
|
"complexType": {
|
|
450
433
|
"original": "boolean | \"flex\"",
|
|
451
434
|
"resolved": "\"flex\" | boolean",
|
|
@@ -499,7 +482,7 @@ export class BcmCheckboxGroup {
|
|
|
499
482
|
},
|
|
500
483
|
"size": {
|
|
501
484
|
"type": "string",
|
|
502
|
-
"mutable":
|
|
485
|
+
"mutable": false,
|
|
503
486
|
"complexType": {
|
|
504
487
|
"original": "SizeTypes",
|
|
505
488
|
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
export const checkboxGroupStyle = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
host: [
|
|
9
|
+
"bcm-checkbox-group",
|
|
10
|
+
"bcm-ui-element bcm-ui-inputs",
|
|
11
|
+
"tw-flex tw-flex-col tw-items-start tw-w-full",
|
|
12
|
+
"tw-mb-2 tw-gap-1",
|
|
13
|
+
],
|
|
14
|
+
checkboxGroupContainer: [
|
|
15
|
+
"bcm-checkbox-group__container",
|
|
16
|
+
"tw-flex tw-w-full",
|
|
17
|
+
"tw-items-start tw-justify-start",
|
|
18
|
+
],
|
|
19
|
+
},
|
|
20
|
+
variants: {
|
|
21
|
+
direction: {
|
|
22
|
+
vertical: {
|
|
23
|
+
checkboxGroupContainer: ["tw-flex-col tw-gap-2"],
|
|
24
|
+
},
|
|
25
|
+
horizontal: {
|
|
26
|
+
checkboxGroupContainer: ["tw-flex-row tw-gap-2.5"],
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
indeterminate: {
|
|
30
|
+
true: {
|
|
31
|
+
checkboxGroupContainer: ["indeterminate tw-pt-2 tw-border-0 tw-border-t tw-border-solid tw-border-color"],
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
defaultVariants: {
|
|
36
|
+
direction: "vertical",
|
|
37
|
+
fullWidth: false,
|
|
38
|
+
indeterminate: false,
|
|
39
|
+
},
|
|
40
|
+
});
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Generate } from "@bcm/helpers";
|
|
6
6
|
import { Host, forceUpdate, h } from "@stencil/core";
|
|
7
|
+
import { colorInputStyle } from "./color-input.style";
|
|
7
8
|
export class BcmColorInput {
|
|
8
9
|
constructor() {
|
|
9
10
|
this._id = Generate.UID();
|
|
@@ -49,7 +50,8 @@ export class BcmColorInput {
|
|
|
49
50
|
return typeof window !== "undefined" && "EyeDropper" in window;
|
|
50
51
|
}
|
|
51
52
|
render() {
|
|
52
|
-
|
|
53
|
+
const { host, prefixIcon } = colorInputStyle();
|
|
54
|
+
return (h(Host, { class: host() }, 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: prefixIcon(), style: {
|
|
53
55
|
backgroundColor: this.value,
|
|
54
56
|
} }), 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
57
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
export const colorInputStyle = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
host: [
|
|
9
|
+
"bcm-color-input",
|
|
10
|
+
"bcm-ui-element bcm-ui-inputs",
|
|
11
|
+
"tw-block",
|
|
12
|
+
],
|
|
13
|
+
prefixIcon: "tw-flex tw-h-4 tw-w-4 tw-items-center tw-justify-center tw-rounded-full tw-border tw-border-gray-100",
|
|
14
|
+
},
|
|
15
|
+
variants: {},
|
|
16
|
+
defaultVariants: {},
|
|
17
|
+
});
|
|
@@ -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,71 +122,10 @@
|
|
|
123
122
|
margin-right: 8px;
|
|
124
123
|
}
|
|
125
124
|
|
|
126
|
-
* {
|
|
127
|
-
box-sizing: border-box;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.bcm-drawer {
|
|
131
|
-
user-select: none;
|
|
132
|
-
position: absolute;
|
|
133
|
-
width: 100vw;
|
|
134
|
-
height: 100vh;
|
|
135
|
-
top: -100%;
|
|
136
|
-
left: -100%;
|
|
137
|
-
overflow: hidden;
|
|
138
|
-
visibility: hidden;
|
|
139
|
-
}
|
|
140
|
-
.bcm-drawer--open {
|
|
141
|
-
visibility: visible;
|
|
142
|
-
top: 0;
|
|
143
|
-
left: 0;
|
|
144
|
-
}
|
|
145
125
|
.bcm-drawer__content {
|
|
146
|
-
font-family: "Inter", sans-serif;
|
|
147
|
-
font-size: 14px;
|
|
148
|
-
line-height: calc(14px + 8px);
|
|
149
|
-
font-weight: 400;
|
|
150
|
-
user-select: text;
|
|
151
|
-
position: fixed;
|
|
152
|
-
width: 100%;
|
|
153
|
-
height: 100%;
|
|
154
|
-
background-color: #f1f5f9;
|
|
155
|
-
z-index: 10350;
|
|
156
126
|
transition: transform 0.2s ease-in-out;
|
|
157
127
|
transform: translateX(-100%);
|
|
158
128
|
visibility: hidden;
|
|
159
|
-
overflow: hidden;
|
|
160
|
-
display: flex;
|
|
161
|
-
flex-direction: column;
|
|
162
|
-
align-items: stretch;
|
|
163
|
-
justify-content: flex-start;
|
|
164
|
-
}
|
|
165
|
-
.bcm-drawer__content-body {
|
|
166
|
-
padding: 0 24px 24px 24px;
|
|
167
|
-
}
|
|
168
|
-
.bcm-drawer__content.full-width {
|
|
169
|
-
max-width: 100%;
|
|
170
|
-
}
|
|
171
|
-
.bcm-drawer__content-header {
|
|
172
|
-
padding: 24px 24px 0 24px;
|
|
173
|
-
display: flex;
|
|
174
|
-
justify-content: space-between;
|
|
175
|
-
align-items: flex-start;
|
|
176
|
-
color: var(--bcm-color-grey-8);
|
|
177
|
-
margin-bottom: 8px;
|
|
178
|
-
}
|
|
179
|
-
.bcm-drawer__content-header-close {
|
|
180
|
-
padding: 4px 8px;
|
|
181
|
-
margin-right: -4px;
|
|
182
|
-
margin-top: -4px;
|
|
183
|
-
color: var(--bcm-color-grey-7);
|
|
184
|
-
}
|
|
185
|
-
.bcm-drawer__content-header-close:hover {
|
|
186
|
-
cursor: pointer;
|
|
187
|
-
color: var(--bcm-color-grey-8);
|
|
188
|
-
}
|
|
189
|
-
.bcm-drawer__content-footer {
|
|
190
|
-
padding: 12px 24px;
|
|
191
129
|
}
|
|
192
130
|
.bcm-drawer__content--position-left, .bcm-drawer__content--position-right {
|
|
193
131
|
max-width: 500px;
|
|
@@ -229,24 +167,5 @@
|
|
|
229
167
|
visibility: visible;
|
|
230
168
|
}
|
|
231
169
|
.bcm-drawer__overlay {
|
|
232
|
-
position: fixed;
|
|
233
|
-
top: 0;
|
|
234
|
-
left: 0;
|
|
235
|
-
width: 100%;
|
|
236
|
-
height: 100%;
|
|
237
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
238
|
-
z-index: 10349;
|
|
239
|
-
visibility: hidden;
|
|
240
|
-
opacity: 0;
|
|
241
170
|
transition: opacity 0.3s ease-in-out;
|
|
242
|
-
}
|
|
243
|
-
.bcm-drawer__overlay--close {
|
|
244
|
-
opacity: 0;
|
|
245
|
-
visibility: visible;
|
|
246
|
-
transform: translateX(-100%);
|
|
247
|
-
}
|
|
248
|
-
.bcm-drawer__overlay--open {
|
|
249
|
-
opacity: 1;
|
|
250
|
-
visibility: visible;
|
|
251
|
-
transform: translateX(0);
|
|
252
171
|
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { Generate } from '@bcm/helpers';
|
|
2
2
|
import { Bcm } from '@bcm/model';
|
|
3
3
|
import { h, Host } from '@stencil/core';
|
|
4
|
-
import cs from 'classnames';
|
|
4
|
+
// import cs from 'classnames';
|
|
5
|
+
import { drawerStyle } from './drawer.style';
|
|
5
6
|
export class BcmDrawer {
|
|
6
7
|
constructor() {
|
|
7
8
|
this._id = Generate.UID();
|
|
@@ -47,19 +48,12 @@ export class BcmDrawer {
|
|
|
47
48
|
this.el.remove();
|
|
48
49
|
}
|
|
49
50
|
render() {
|
|
50
|
-
const
|
|
51
|
-
|
|
51
|
+
const { host, content, overlay, contentHeader, contentHeaderTitle, contentHeaderClose, contentBody, contentFooter } = drawerStyle({
|
|
52
|
+
isShow: this._open,
|
|
53
|
+
fullWidth: this.fullWidth,
|
|
54
|
+
position: this.position,
|
|
52
55
|
});
|
|
53
|
-
|
|
54
|
-
'bcm-drawer__content--open': this._open,
|
|
55
|
-
'bcm-drawer__content--close': this._close,
|
|
56
|
-
'full-width': this.fullWidth,
|
|
57
|
-
});
|
|
58
|
-
const overlay = cs('bcm-drawer__overlay', {
|
|
59
|
-
'bcm-drawer__overlay--open': this._open,
|
|
60
|
-
'bcm-drawer__overlay--close': this._close,
|
|
61
|
-
});
|
|
62
|
-
return (h(Host, { class: hostClasses }, h("div", { class: overlay, onClick: () => this.hide() }), h("div", { class: contentClasses }, h("div", { class: "bcm-drawer__content-header" }, h("bcm-text", { class: "bcm-drawer__content-header-title", "font-size": "6", weight: "600", color: "slate-800" }, this._title, " ", h("slot", { name: "header" })), h("div", { class: "bcm-drawer__content-header-close size-4", onClick: () => this.hide() }, h("bcm-icon", { icon: "fal fa-times" }))), h("div", { style: { 'overflow': 'auto', 'flex': '1' } }, h("div", { class: "bcm-drawer__content-body" }, h("slot", null))), h("div", { class: "bcm-drawer__content-footer" }, h("slot", { name: "footer" })))));
|
|
56
|
+
return (h(Host, { class: host() }, h("div", { class: overlay(), onClick: () => this.hide() }), h("div", { class: content() }, h("div", { class: contentHeader() }, h("span", { class: contentHeaderTitle() }, this._title, " ", h("slot", { name: "header" })), h("div", { class: contentHeaderClose(), onClick: () => this.hide() }, h("i", { class: "fa-solid fa-xmark" }))), h("div", { class: "tw-overflow-auto tw-flex-1" }, h("div", { class: contentBody() }, h("slot", null))), h("div", { class: contentFooter() }, h("slot", { name: "footer" })))));
|
|
63
57
|
}
|
|
64
58
|
static get is() { return "bcm-drawer"; }
|
|
65
59
|
static get originalStyleUrls() {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
export const drawerStyle = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
host: ["bcm-drawer bcm-ui-element bcm-ui-content-display", "tw-user-select-none tw-absolute tw-overflow-hidden", "tw-w-screen tw-h-screen"],
|
|
9
|
+
content: ["bcm-drawer__content", "tw-flex tw-flex-col tw-items-stretch tw-justify-start", "tw-w-full tw-h-full tw-bg-color-surface-modal", "tw-fixed tw-user-select-text", "tw-z-drawer tw-overflow-hidden"],
|
|
10
|
+
contentHeader: ["bcm-drawer__content-header", "tw-px-6 tw-pt-6 tw-pb-0 tw-flex tw-justify-between tw-items-start", "tw-text-color tw-mb-2"],
|
|
11
|
+
contentHeaderTitle: ["bcm-drawer__content-header-title", "tw-text-size-6 tw-font-semibold"],
|
|
12
|
+
contentHeaderClose: ["bcm-drawer__content-header-close tw-text-size-6", "tw-px-2 tw-py-1 -tw-mr-1 -tw-mt-1 tw-text-color", "hover:tw-cursor-pointer"],
|
|
13
|
+
contentBody: ["bcm-drawer__content-body", "tw-px-6 tw-pt-0 tw-pb-6"],
|
|
14
|
+
contentFooter: ["bcm-drawer__content-footer", "tw-py-3 tw-px-6"],
|
|
15
|
+
overlay: ["bcm-drawer__overlay", "tw-fixed tw-bg-color-transparent-background tw-z-drawer-bd", "tw-top-0 tw-left-0 tw-w-full tw-h-full"],
|
|
16
|
+
},
|
|
17
|
+
variants: {
|
|
18
|
+
isShow: {
|
|
19
|
+
true: {
|
|
20
|
+
host: ["bcm-drawer--open", "tw-visible tw-top-0 tw-left-0"],
|
|
21
|
+
content: ["bcm-drawer__content--open"],
|
|
22
|
+
overlay: ["bcm-drawer__overlay--open", "tw-opacity-100 tw-visible tw-transform tw--translate-x-0"],
|
|
23
|
+
},
|
|
24
|
+
false: {
|
|
25
|
+
host: ["-tw-top-full -tw-left-full tw-invisible"],
|
|
26
|
+
content: ["bcm-drawer__content--close"],
|
|
27
|
+
overlay: ["bcm-drawer__overlay--close", "tw-opacity-0 tw-invisible tw-transform tw--translate-x-full"],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
fullWidth: {
|
|
31
|
+
true: {
|
|
32
|
+
content: ["full-width tw-max-w-full"],
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
position: {
|
|
36
|
+
right: {
|
|
37
|
+
content: ["bcm-drawer__content--position-right"],
|
|
38
|
+
},
|
|
39
|
+
left: {
|
|
40
|
+
content: ["bcm-drawer__content--position-left"],
|
|
41
|
+
},
|
|
42
|
+
top: {
|
|
43
|
+
content: ["bcm-drawer__content--position-top"],
|
|
44
|
+
},
|
|
45
|
+
bottom: {
|
|
46
|
+
content: ["bcm-drawer__content--position-bottom"],
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
defaultVariants: {
|
|
51
|
+
isShow: false,
|
|
52
|
+
fullWidth: false,
|
|
53
|
+
position: "right",
|
|
54
|
+
},
|
|
55
|
+
});
|
|
@@ -30,7 +30,7 @@ export class BcmDropdown {
|
|
|
30
30
|
this.kind = Bcm.Kind.solid;
|
|
31
31
|
this.icon = undefined;
|
|
32
32
|
this.href = undefined;
|
|
33
|
-
this.target =
|
|
33
|
+
this.target = Bcm.Target["_blank"];
|
|
34
34
|
this.value = undefined;
|
|
35
35
|
this.noStyle = false;
|
|
36
36
|
this.dropdownIcon = 'fas fa-angle-down';
|
|
@@ -238,7 +238,7 @@ export class BcmDropdown {
|
|
|
238
238
|
"mutable": true,
|
|
239
239
|
"complexType": {
|
|
240
240
|
"original": "KindTypes",
|
|
241
|
-
"resolved": "\"ghost\" | \"
|
|
241
|
+
"resolved": "\"ghost\" | \"link\" | \"outline\" | \"solid\"",
|
|
242
242
|
"references": {
|
|
243
243
|
"KindTypes": {
|
|
244
244
|
"location": "import",
|
|
@@ -292,11 +292,16 @@ export class BcmDropdown {
|
|
|
292
292
|
},
|
|
293
293
|
"target": {
|
|
294
294
|
"type": "string",
|
|
295
|
-
"mutable":
|
|
295
|
+
"mutable": false,
|
|
296
296
|
"complexType": {
|
|
297
|
-
"original": "
|
|
298
|
-
"resolved": "
|
|
299
|
-
"references": {
|
|
297
|
+
"original": "TargetTypes",
|
|
298
|
+
"resolved": "\"blank\" | \"parent\" | \"self\" | \"top\"",
|
|
299
|
+
"references": {
|
|
300
|
+
"TargetTypes": {
|
|
301
|
+
"location": "import",
|
|
302
|
+
"path": "../../../models/bcm-types"
|
|
303
|
+
}
|
|
304
|
+
}
|
|
300
305
|
},
|
|
301
306
|
"required": false,
|
|
302
307
|
"optional": false,
|
|
@@ -305,7 +310,8 @@ export class BcmDropdown {
|
|
|
305
310
|
"text": ""
|
|
306
311
|
},
|
|
307
312
|
"attribute": "target",
|
|
308
|
-
"reflect": false
|
|
313
|
+
"reflect": false,
|
|
314
|
+
"defaultValue": "Bcm.Target[\"_blank\"]"
|
|
309
315
|
},
|
|
310
316
|
"value": {
|
|
311
317
|
"type": "string",
|
|
@@ -2,13 +2,21 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
import {
|
|
5
|
+
import { Host, h } from "@stencil/core";
|
|
6
|
+
import Bcm from "../../../models/bcm";
|
|
7
|
+
import { emptyStyle } from "./empty.style";
|
|
6
8
|
export class BcmEmpty {
|
|
7
9
|
constructor() {
|
|
8
|
-
this.icon =
|
|
10
|
+
this.icon = "fa-duotone fa-folder-open";
|
|
11
|
+
this.text = undefined;
|
|
12
|
+
this.description = undefined;
|
|
13
|
+
this.status = Bcm.Status.default;
|
|
14
|
+
this.size = Bcm.Size.medium;
|
|
9
15
|
}
|
|
10
16
|
render() {
|
|
11
|
-
|
|
17
|
+
const { text, description, status, size, icon } = this;
|
|
18
|
+
const { host, textStyle, iconStyle, descriptionStyle } = emptyStyle({ size, status });
|
|
19
|
+
return (h(Host, { class: host() }, icon && (h("div", { class: iconStyle() }, h("i", { class: `${icon}` }))), text && h("bcm-typography", { class: textStyle() }, text), description && h("bcm-typography", { class: descriptionStyle() }, description), h("bcm-typography", { class: descriptionStyle() }, h("slot", null))));
|
|
12
20
|
}
|
|
13
21
|
static get is() { return "bcm-empty"; }
|
|
14
22
|
static get properties() {
|
|
@@ -28,7 +36,87 @@ export class BcmEmpty {
|
|
|
28
36
|
"text": ""
|
|
29
37
|
},
|
|
30
38
|
"attribute": "icon",
|
|
39
|
+
"reflect": false,
|
|
40
|
+
"defaultValue": "\"fa-duotone fa-folder-open\""
|
|
41
|
+
},
|
|
42
|
+
"text": {
|
|
43
|
+
"type": "string",
|
|
44
|
+
"mutable": false,
|
|
45
|
+
"complexType": {
|
|
46
|
+
"original": "string",
|
|
47
|
+
"resolved": "string",
|
|
48
|
+
"references": {}
|
|
49
|
+
},
|
|
50
|
+
"required": false,
|
|
51
|
+
"optional": false,
|
|
52
|
+
"docs": {
|
|
53
|
+
"tags": [],
|
|
54
|
+
"text": ""
|
|
55
|
+
},
|
|
56
|
+
"attribute": "text",
|
|
31
57
|
"reflect": false
|
|
58
|
+
},
|
|
59
|
+
"description": {
|
|
60
|
+
"type": "string",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "string",
|
|
64
|
+
"resolved": "string",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": ""
|
|
72
|
+
},
|
|
73
|
+
"attribute": "description",
|
|
74
|
+
"reflect": false
|
|
75
|
+
},
|
|
76
|
+
"status": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"mutable": false,
|
|
79
|
+
"complexType": {
|
|
80
|
+
"original": "Bcm.Status",
|
|
81
|
+
"resolved": "Status.default | Status.error | Status.info | Status.success | Status.warning",
|
|
82
|
+
"references": {
|
|
83
|
+
"Bcm": {
|
|
84
|
+
"location": "global"
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": false,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": ""
|
|
93
|
+
},
|
|
94
|
+
"attribute": "status",
|
|
95
|
+
"reflect": false,
|
|
96
|
+
"defaultValue": "Bcm.Status.default"
|
|
97
|
+
},
|
|
98
|
+
"size": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "SizeTypes",
|
|
103
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
104
|
+
"references": {
|
|
105
|
+
"SizeTypes": {
|
|
106
|
+
"location": "import",
|
|
107
|
+
"path": "../../../models/bcm-types"
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
"required": false,
|
|
112
|
+
"optional": false,
|
|
113
|
+
"docs": {
|
|
114
|
+
"tags": [],
|
|
115
|
+
"text": ""
|
|
116
|
+
},
|
|
117
|
+
"attribute": "size",
|
|
118
|
+
"reflect": false,
|
|
119
|
+
"defaultValue": "Bcm.Size.medium"
|
|
32
120
|
}
|
|
33
121
|
};
|
|
34
122
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Stencil
|
|
3
|
+
* Copyright (c) Bromcom.
|
|
4
|
+
*/
|
|
5
|
+
import { tv } from "tailwind-variants";
|
|
6
|
+
export const emptyStyle = tv({
|
|
7
|
+
slots: {
|
|
8
|
+
host: [
|
|
9
|
+
"bcm-empty bcm-ui-element bcm-ui-feedback",
|
|
10
|
+
"tw-flex tw-flex-1 tw-flex-col tw-items-center tw-justify-center tw-gap-2",
|
|
11
|
+
"tw-h-full tw-w-fulltw-text-center",
|
|
12
|
+
"tw-text-color-caption",
|
|
13
|
+
"tw-font-medium"
|
|
14
|
+
],
|
|
15
|
+
iconStyle: "tw-mb-1 tw-rounded-3xl tw-p-4",
|
|
16
|
+
textStyle: "tw-font-semibold tw-text-color",
|
|
17
|
+
descriptionStyle: "",
|
|
18
|
+
},
|
|
19
|
+
variants: {
|
|
20
|
+
size: {
|
|
21
|
+
small: {
|
|
22
|
+
host: "tw-text-size-3",
|
|
23
|
+
textStyle: "tw-text-size-4",
|
|
24
|
+
iconStyle: "tw-text-size-8",
|
|
25
|
+
},
|
|
26
|
+
medium: {
|
|
27
|
+
host: "tw-text-size-4",
|
|
28
|
+
textStyle: "tw-text-size-5",
|
|
29
|
+
iconStyle: "tw-text-size-9",
|
|
30
|
+
},
|
|
31
|
+
large: {
|
|
32
|
+
host: "tw-text-size-5",
|
|
33
|
+
textStyle: "tw-text-size-6",
|
|
34
|
+
iconStyle: "tw-text-size-10",
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
status: {
|
|
38
|
+
default: {
|
|
39
|
+
host: "",
|
|
40
|
+
iconStyle: "tw-bg-blue-50 tw-text-color-primary",
|
|
41
|
+
},
|
|
42
|
+
success: {
|
|
43
|
+
host: "",
|
|
44
|
+
iconStyle: "tw-bg-emerald-50 tw-text-color-success",
|
|
45
|
+
},
|
|
46
|
+
warning: {
|
|
47
|
+
host: "",
|
|
48
|
+
iconStyle: "tw-bg-amber-50 tw-text-color-warning",
|
|
49
|
+
},
|
|
50
|
+
error: {
|
|
51
|
+
host: "",
|
|
52
|
+
iconStyle: "tw-bg-red-50 tw-text-color-error",
|
|
53
|
+
},
|
|
54
|
+
info: {
|
|
55
|
+
host: "",
|
|
56
|
+
iconStyle: "tw-bg-blue-50 tw-text-color-primary",
|
|
57
|
+
},
|
|
58
|
+
},
|
|
59
|
+
},
|
|
60
|
+
defaultVariants: {
|
|
61
|
+
size: "medium",
|
|
62
|
+
status: "default",
|
|
63
|
+
},
|
|
64
|
+
});
|