bromcom-ui 2.8.0-rc.10-h → 2.8.0-rc.10
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/global/helper/index.ts +1 -0
- package/dist/bromcom-ui/global/helper/toast.ts +136 -0
- package/dist/bromcom-ui/p-01832535.entry.js +5 -0
- package/dist/bromcom-ui/p-04aac882.js +5 -0
- package/dist/bromcom-ui/{p-00a0bbb0.entry.js → p-04d4c6e7.entry.js} +1 -1
- package/dist/bromcom-ui/p-08372949.entry.js +5 -0
- package/dist/bromcom-ui/{p-213fa01f.js → p-09d8a268.js} +1 -1
- package/dist/bromcom-ui/{p-3bf3f141.entry.js → p-0a16fcfa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-20ecbc71.entry.js → p-0b663779.entry.js} +1 -1
- package/dist/bromcom-ui/p-0d7fcdef.entry.js +5 -0
- package/dist/bromcom-ui/p-1351e665.entry.js +5 -0
- package/dist/bromcom-ui/{p-d5f9c429.entry.js → p-14a0a646.entry.js} +1 -1
- package/dist/bromcom-ui/p-16cb2d3d.entry.js +5 -0
- package/dist/bromcom-ui/p-175a2b31.entry.js +5 -0
- package/dist/bromcom-ui/p-21c41833.entry.js +5 -0
- package/dist/bromcom-ui/{p-19769caf.entry.js → p-221448f8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d02b6aa2.js → p-24aefda6.js} +1 -1
- package/dist/bromcom-ui/{p-fe8f6043.entry.js → p-31226526.entry.js} +1 -1
- package/dist/bromcom-ui/p-31d72d3e.entry.js +5 -0
- package/dist/bromcom-ui/p-36b364af.entry.js +5 -0
- package/dist/bromcom-ui/p-37e672f8.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f77fafe.entry.js → p-39eda493.entry.js} +1 -1
- package/dist/bromcom-ui/p-3c1bd5fd.entry.js +5 -0
- package/dist/bromcom-ui/p-3fcbf33c.entry.js +10 -0
- package/dist/bromcom-ui/p-42645311.entry.js +5 -0
- package/dist/bromcom-ui/p-4701df7c.entry.js +5 -0
- package/dist/bromcom-ui/p-4aa0e6b1.js +5 -0
- package/dist/bromcom-ui/p-4fb0b07a.entry.js +5 -0
- package/dist/bromcom-ui/{p-d10a20eb.entry.js → p-4fcf03c1.entry.js} +1 -1
- package/dist/bromcom-ui/p-52953d34.entry.js +5 -0
- package/dist/bromcom-ui/{p-da1aa726.entry.js → p-533cb826.entry.js} +1 -1
- package/dist/bromcom-ui/p-5374828c.js +5 -0
- package/dist/bromcom-ui/p-5432f9e0.entry.js +5 -0
- package/dist/bromcom-ui/p-5a464d76.entry.js +5 -0
- package/dist/bromcom-ui/p-5c059eba.entry.js +5 -0
- package/dist/bromcom-ui/p-5c5db6d2.entry.js +5 -0
- package/dist/bromcom-ui/p-60aab0f0.entry.js +5 -0
- package/dist/bromcom-ui/{p-c89c3f46.entry.js → p-6b7a9d96.entry.js} +1 -1
- package/dist/bromcom-ui/p-6cc73d59.entry.js +5 -0
- package/dist/bromcom-ui/p-74540539.entry.js +5 -0
- package/dist/bromcom-ui/p-74970793.entry.js +5 -0
- package/dist/bromcom-ui/p-75887a27.entry.js +5 -0
- package/dist/bromcom-ui/{p-9d908441.js → p-76154996.js} +1 -1
- package/dist/bromcom-ui/p-774cc8c5.entry.js +5 -0
- package/dist/bromcom-ui/p-79fd816c.js +5 -0
- package/dist/bromcom-ui/p-7afeaca9.entry.js +5 -0
- package/dist/bromcom-ui/p-7f85ba54.entry.js +5 -0
- package/dist/bromcom-ui/p-82549604.entry.js +5 -0
- package/dist/bromcom-ui/p-843905c8.js +5 -0
- package/dist/bromcom-ui/p-8620b754.entry.js +5 -0
- package/dist/bromcom-ui/p-86dae775.entry.js +5 -0
- package/dist/bromcom-ui/p-88c0d54d.entry.js +5 -0
- package/dist/bromcom-ui/p-8c6057d0.entry.js +5 -0
- package/dist/bromcom-ui/{p-ea218e23.js → p-8d0ca8c2.js} +1 -1
- package/dist/bromcom-ui/{p-c7e245a3.entry.js → p-8e2540d8.entry.js} +1 -1
- package/dist/bromcom-ui/p-8fccd984.entry.js +5 -0
- package/dist/bromcom-ui/p-8fd8d750.entry.js +5 -0
- package/dist/bromcom-ui/p-91517b40.entry.js +5 -0
- package/dist/bromcom-ui/p-96d00dc7.entry.js +5 -0
- package/dist/bromcom-ui/{p-04e3d67d.entry.js → p-976f682f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-de1567c7.entry.js → p-97933e31.entry.js} +1 -1
- package/dist/bromcom-ui/p-9aa25453.entry.js +5 -0
- package/dist/bromcom-ui/p-9f6c06b3.entry.js +5 -0
- package/dist/bromcom-ui/{p-c9bd85e9.js → p-a429e85b.js} +1 -1
- package/dist/bromcom-ui/{p-19cd9e89.js → p-a51e8ad2.js} +1 -1
- package/dist/bromcom-ui/{p-4df600d5.js → p-a60a2dd0.js} +1 -1
- package/dist/bromcom-ui/p-a76148e1.entry.js +5 -0
- package/dist/bromcom-ui/p-a8ff8106.entry.js +5 -0
- package/dist/bromcom-ui/p-ab53518d.entry.js +5 -0
- package/dist/bromcom-ui/{p-e8d18848.js → p-b60bcecf.js} +1 -1
- package/dist/bromcom-ui/p-b6522bad.entry.js +5 -0
- package/dist/bromcom-ui/p-b93d2841.entry.js +5 -0
- package/dist/bromcom-ui/p-bb3ee847.entry.js +5 -0
- package/dist/bromcom-ui/p-bb5102ad.entry.js +5 -0
- package/dist/bromcom-ui/{p-33330368.entry.js → p-bc840f30.entry.js} +1 -1
- package/dist/bromcom-ui/p-bdae6fa2.entry.js +5 -0
- package/dist/bromcom-ui/p-be7a34ac.entry.js +5 -0
- package/dist/bromcom-ui/p-c23b6240.js +5 -0
- package/dist/bromcom-ui/p-c271533b.entry.js +5 -0
- package/dist/bromcom-ui/{p-ad9c9bdb.js → p-c834b5c2.js} +1 -1
- package/dist/bromcom-ui/{p-4371dc2d.entry.js → p-c85b8abc.entry.js} +1 -1
- package/dist/bromcom-ui/p-c8e13fd7.js +5 -0
- package/dist/bromcom-ui/{p-39b8a477.entry.js → p-d644b6d9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-35ea8fad.js → p-da1055cb.js} +1 -1
- package/dist/bromcom-ui/p-dafe02b6.entry.js +5 -0
- package/dist/bromcom-ui/{p-aaac4637.js → p-dbc4c30c.js} +1 -1
- package/dist/bromcom-ui/p-e0c548ea.entry.js +5 -0
- package/dist/bromcom-ui/{p-4f89942a.entry.js → p-e19e9dc1.entry.js} +1 -1
- package/dist/bromcom-ui/p-ec8cf4f0.entry.js +5 -0
- package/dist/bromcom-ui/p-ed026255.js +5 -0
- package/dist/bromcom-ui/p-eee421df.entry.js +5 -0
- package/dist/bromcom-ui/p-ef1b4760.entry.js +5 -0
- package/dist/bromcom-ui/p-f1c374c6.entry.js +5 -0
- package/dist/bromcom-ui/p-f4ce5b4e.entry.js +5 -0
- package/dist/bromcom-ui/{p-3f7e7354.entry.js → p-f8c20298.entry.js} +1 -1
- package/dist/bromcom-ui/p-f9f8c1c4.entry.js +5 -0
- package/dist/bromcom-ui/p-faed1c9e.entry.js +5 -0
- package/dist/bromcom-ui/p-fc784983.entry.js +5 -0
- package/dist/cjs/{bcm-2c51bf0c.js → bcm-634604e3.js} +1 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +5 -3
- package/dist/cjs/bcm-alert.cjs.entry.js +7 -6
- package/dist/cjs/bcm-attendance.cjs.entry.js +7 -5
- package/dist/cjs/bcm-autocomplete.cjs.entry.js +2 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +12 -11
- package/dist/cjs/bcm-box.cjs.entry.js +2 -2
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +4 -3
- package/dist/cjs/bcm-button-group.cjs.entry.js +7 -6
- package/dist/cjs/bcm-button_7.cjs.entry.js +1570 -0
- package/dist/cjs/bcm-card.cjs.entry.js +9 -8
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +6 -5
- package/dist/cjs/bcm-chip.cjs.entry.js +7 -6
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-collapse.cjs.entry.js +4 -3
- package/dist/cjs/bcm-color-input.cjs.entry.js +76 -0
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +17971 -0
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-date-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +11 -10
- package/dist/cjs/bcm-default.cjs.entry.js +5 -3
- package/dist/cjs/bcm-drawer.cjs.entry.js +10 -9
- package/dist/cjs/bcm-dropdown.cjs.entry.js +7 -6
- package/dist/cjs/bcm-error-layout.cjs.entry.js +3 -3
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +8 -7
- package/dist/cjs/bcm-form-2.cjs.entry.js +6 -5
- package/dist/cjs/bcm-form-group.cjs.entry.js +2 -2
- package/dist/cjs/bcm-input-custom.cjs.entry.js +73 -0
- package/dist/cjs/bcm-input.cjs.entry.js +41 -12
- package/dist/cjs/bcm-item.cjs.entry.js +7 -6
- package/dist/cjs/bcm-items.cjs.entry.js +6 -5
- package/dist/cjs/bcm-link.cjs.entry.js +5 -5
- package/dist/cjs/bcm-list.cjs.entry.js +33 -25
- package/dist/cjs/bcm-menu.cjs.entry.js +138 -0
- package/dist/cjs/bcm-message.cjs.entry.js +2 -2
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +50 -0
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +49 -0
- package/dist/cjs/bcm-modal-2.cjs.entry.js +172 -0
- package/dist/cjs/bcm-modal.cjs.entry.js +8 -7
- package/dist/cjs/bcm-notification.cjs.entry.js +2 -2
- package/dist/cjs/bcm-old-input.cjs.entry.js +4 -4
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +2 -2
- package/dist/cjs/bcm-overlay_2.cjs.entry.js +48 -0
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +9 -8
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +6 -5
- package/dist/cjs/bcm-popover.cjs.entry.js +92 -42
- package/dist/cjs/bcm-progress.cjs.entry.js +7 -6
- package/dist/cjs/bcm-radio-group.cjs.entry.js +93 -210
- package/dist/cjs/bcm-radio.cjs.entry.js +37 -78
- package/dist/cjs/bcm-range.cjs.entry.js +6 -5
- package/dist/cjs/bcm-result.cjs.entry.js +2 -2
- package/dist/cjs/bcm-search.cjs.entry.js +21 -14
- 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-select.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +10 -8
- package/dist/cjs/bcm-step.cjs.entry.js +6 -5
- package/dist/cjs/bcm-stepper.cjs.entry.js +42 -25
- package/dist/cjs/bcm-switch.cjs.entry.js +8 -7
- package/dist/cjs/bcm-tab-group.cjs.entry.js +158 -114
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +87 -0
- package/dist/cjs/bcm-tab-item.cjs.entry.js +104 -0
- package/dist/cjs/bcm-tab-pane.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tab.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs-content.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tabs.cjs.entry.js +2 -2
- package/dist/cjs/bcm-tag.cjs.entry.js +7 -6
- package/dist/cjs/bcm-text.cjs.entry.js +8 -7
- package/dist/cjs/bcm-textarea.cjs.entry.js +10 -8
- package/dist/cjs/bcm-time-picker.cjs.entry.js +5 -4
- package/dist/cjs/bcm-timeline-item.cjs.entry.js +2 -2
- package/dist/cjs/bcm-timeline.cjs.entry.js +2 -2
- package/dist/cjs/bcm-toast.cjs.entry.js +115 -0
- package/dist/cjs/bcm-treeview-group.cjs.entry.js +1 -1
- package/dist/cjs/bcm-typography.cjs.entry.js +35 -0
- package/dist/cjs/bromcom-ui.cjs.js +2 -2
- package/dist/cjs/{caption-template-1b6b0819.js → caption-template-8d099fd6.js} +1 -1
- package/dist/cjs/color-helper-d6d2028b.js +86 -0
- package/dist/cjs/{color-helper-d1cb7959.js → colors-e1d142ad.js} +4 -81
- package/dist/cjs/{floating-ui-ded9c11f.js → floating-ui-74eb26d6.js} +1 -1
- package/dist/cjs/{generate-24f01256.js → generate-d32dfcf9.js} +118 -16
- package/dist/cjs/{index-b6a28fdb.js → index-4506fcd7.js} +1 -1
- package/dist/cjs/{index-b4a2fb85.js → index-ddfd6d8f.js} +1 -1
- package/dist/cjs/input-template-272244eb.js +92 -0
- package/dist/cjs/{is-load-decorator-888172a8.js → is-load-decorator-137dded1.js} +1 -3
- package/dist/cjs/{json-parse-decarator-5049611b.js → json-parse-decarator-fe63bae0.js} +2 -2
- package/dist/cjs/{label-template-5d3d6f6c.js → label-template-cc69bc21.js} +3 -3
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{number-helper-5829e9a9.js → number-helper-8286f839.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +10 -9
- package/dist/cjs/old-bcm-popover.cjs.entry.js +5 -4
- package/dist/cjs/{popover-placement-dd87671c.js → popover-placement-3c8f3a72.js} +1 -1
- package/dist/cjs/{slot-template-720b35b8.js → slot-template-3e59d7d8.js} +2 -2
- package/dist/cjs/{stepper-states-04642356.js → stepper-states-fd08aaf7.js} +3 -3
- package/dist/cjs/{string-helper-a54773f3.js → string-helper-45cffee0.js} +1 -1
- package/dist/cjs/tooltip-helper-ce53d70b.js +149 -0
- package/dist/cjs/{validators-07e09750.js → validators-53bfb47b.js} +1 -1
- package/dist/collection/collection-manifest.json +16 -5
- package/dist/collection/components/atoms/avatar/avatar.css +0 -250
- package/dist/collection/components/atoms/badge/badge.css +0 -250
- package/dist/collection/components/atoms/button/button.css +0 -250
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/chip/chip.css +0 -250
- package/dist/collection/components/atoms/chip/chip.js +1 -1
- package/dist/collection/components/atoms/label/label.css +0 -250
- package/dist/collection/components/atoms/link/link.css +0 -250
- package/dist/collection/components/atoms/link/link.js +1 -1
- package/dist/collection/components/molecules/button-group/button-group.css +0 -250
- package/dist/collection/components/molecules/card/card.css +0 -250
- package/dist/collection/components/molecules/checkbox/checkbox.css +1 -750
- package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
- package/dist/collection/components/molecules/color-input/color-input.js +206 -0
- package/dist/collection/components/molecules/colorful/colorful.css +497 -0
- package/dist/collection/components/molecules/colorful/colorful.js +72 -0
- package/dist/collection/components/molecules/drawer/drawer.css +0 -250
- package/dist/collection/components/molecules/dropdown/dropdown.css +0 -250
- package/dist/collection/components/molecules/error-layout/error-layout.css +0 -250
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +0 -250
- package/dist/collection/components/molecules/input/input.css +3 -752
- package/dist/collection/components/molecules/input/input.js +31 -3
- package/dist/collection/components/molecules/item/item.css +0 -250
- package/dist/collection/components/molecules/linked/linked.js +87 -31
- package/dist/collection/components/molecules/menu/menu.css +0 -250
- package/dist/collection/components/molecules/menu/menu.js +1 -1
- package/dist/collection/components/molecules/modal/modal.css +0 -250
- package/dist/collection/components/molecules/popconfirm/popconfirm-box.css +0 -250
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +117 -12
- package/dist/collection/components/molecules/progress/progress.css +0 -250
- package/dist/collection/components/molecules/radio/{group.js → radio-group.js} +185 -247
- package/dist/collection/components/molecules/radio/radio.js +42 -132
- package/dist/collection/components/molecules/range/range.css +0 -250
- package/dist/collection/components/molecules/search/search.css +3 -752
- package/dist/collection/components/molecules/search/search.js +21 -2
- package/dist/collection/components/molecules/skeleton/skeleton.js +8 -8
- package/dist/collection/components/molecules/states/search.states.js +12 -7
- package/dist/collection/components/molecules/stepper/stepper.css +0 -250
- package/dist/collection/components/molecules/stepper/stepper.js +33 -26
- package/dist/collection/components/molecules/switch/switch.css +0 -750
- package/dist/collection/components/molecules/switch/switch.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +177 -114
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +186 -0
- package/dist/collection/components/molecules/tab-group/tab-item.js +161 -0
- package/dist/collection/components/molecules/textarea/textarea.css +3 -752
- package/dist/collection/components/molecules/textarea/textarea.js +2 -1
- package/dist/collection/components/molecules/tooltip/tooltip.js +143 -10
- package/dist/collection/components/organism/datetime-picker/datetime-picker.css +0 -750
- package/dist/collection/components/organism/datetime-picker/datetime-picker.js +1 -1
- package/dist/collection/components/organism/form/form.js +1 -1
- package/dist/collection/components/organism/list/list.css +1 -1000
- package/dist/collection/components/organism/list/list.js +21 -2
- package/dist/collection/components/other/attendance/attendance.css +0 -250
- package/dist/collection/components/other/attendance/attendance.js +1 -1
- package/dist/collection/components/other/input-custom/input-custom.js +249 -0
- package/dist/collection/components/other/modal-2/modal-2-footer.js +54 -0
- package/dist/collection/components/other/modal-2/modal-2-header.js +53 -0
- package/dist/collection/components/other/modal-2/modal-2.js +450 -0
- package/dist/collection/components/other/overlay/overlay.js +101 -0
- package/dist/collection/components/other/scroll-area/scroll-area.js +77 -0
- package/dist/collection/components/other/toast/toast.js +365 -0
- package/dist/collection/components/other_deprecated/old-input/old-input.css +0 -750
- package/dist/collection/components/other_deprecated/old-popover/old-popover-box.css +0 -250
- package/dist/collection/components/other_deprecated/select/select.js +1 -1
- package/dist/collection/components/other_deprecated/tabs/tab.css +0 -250
- package/dist/collection/components/other_deprecated/text/text.css +0 -250
- package/dist/collection/decorators/is-load-decorator.js +0 -2
- package/dist/collection/global/components/_checkbox.css +1 -250
- package/dist/collection/global/helper/index.js +5 -0
- package/dist/collection/global/helper/index.ts +1 -0
- package/dist/collection/global/helper/toast.js +114 -0
- package/dist/collection/global/helper/toast.ts +136 -0
- package/dist/collection/helper/generate.js +120 -19
- package/dist/collection/helper/popover-helper.js +57 -29
- package/dist/collection/helper/tooltip-helper.js +69 -26
- package/dist/collection/models/bcm.js +1 -0
- package/dist/collection/stories/assets/button/1.svg +35 -0
- package/dist/collection/stories/assets/button/10.svg +24 -0
- package/dist/collection/stories/assets/button/11.svg +24 -0
- package/dist/collection/stories/assets/button/12.svg +24 -0
- package/dist/collection/stories/assets/button/2.svg +28 -0
- package/dist/collection/stories/assets/button/3.svg +41 -0
- package/dist/collection/stories/assets/button/4.svg +9 -0
- package/dist/collection/stories/assets/button/5.svg +65 -0
- package/dist/collection/stories/assets/button/6.svg +68 -0
- package/dist/collection/stories/assets/button/7.svg +203 -0
- package/dist/collection/stories/assets/button/8.svg +316 -0
- package/dist/collection/stories/assets/button/9.svg +9 -0
- package/dist/collection/templates/button-template.js +1 -1
- package/dist/collection/templates/input-template.js +30 -29
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +10 -4
- package/dist/collection/templates/tag-template.js +1 -1
- package/dist/components/avatar.js +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/bcm-attendance.js +2 -2
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-card.js +1 -1
- package/dist/components/bcm-chip.js +2 -2
- package/dist/components/bcm-color-input.d.ts +11 -0
- package/dist/components/bcm-color-input.js +129 -0
- package/dist/components/bcm-colorful.d.ts +11 -0
- package/dist/components/bcm-colorful.js +10 -0
- package/dist/components/bcm-drawer.js +1 -1
- package/dist/components/bcm-dropdown.js +1 -1
- package/dist/components/bcm-error-layout.js +1 -1
- package/dist/components/bcm-expansion-panel.js +1 -1
- package/dist/components/bcm-form.js +1 -1
- package/dist/components/bcm-input-custom.d.ts +11 -0
- package/dist/components/bcm-input-custom.js +114 -0
- package/dist/components/bcm-input.js +1 -411
- package/dist/components/bcm-item.js +1 -1
- package/dist/components/bcm-list.js +18 -10
- package/dist/components/bcm-modal-2-footer.d.ts +11 -0
- package/dist/components/bcm-modal-2-footer.js +60 -0
- package/dist/components/bcm-modal-2-header.d.ts +11 -0
- package/dist/components/bcm-modal-2-header.js +59 -0
- package/dist/components/bcm-modal-2.d.ts +11 -0
- package/dist/components/bcm-modal-2.js +207 -0
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-overlay.d.ts +11 -0
- package/dist/components/bcm-overlay.js +10 -0
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +86 -33
- package/dist/components/bcm-progress.js +1 -1
- package/dist/components/bcm-radio-group.js +103 -228
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-scroll-area.d.ts +11 -0
- package/dist/components/bcm-scroll-area.js +10 -0
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/bcm-stepper.js +34 -26
- package/dist/components/bcm-switch.js +2 -2
- package/dist/components/bcm-tab-group.js +154 -112
- package/dist/components/bcm-tab-item-header.d.ts +11 -0
- package/dist/components/bcm-tab-item-header.js +102 -0
- package/dist/components/bcm-tab-item.d.ts +11 -0
- package/dist/components/bcm-tab-item.js +117 -0
- package/dist/components/bcm-tab.js +2 -2
- package/dist/components/bcm-tabs-content.js +1 -1
- package/dist/components/bcm-tabs.js +1 -1
- package/dist/components/bcm-tag.js +1 -1
- package/dist/components/bcm-textarea.js +3 -2
- package/dist/components/bcm-toast.d.ts +11 -0
- package/dist/components/bcm-toast.js +140 -0
- package/dist/components/bcm.js +1 -0
- package/dist/components/button.js +3 -3
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/color-helper.js +8 -434
- package/dist/components/colorful.js +17768 -0
- package/dist/components/colors2.js +433 -0
- package/dist/components/datetime-picker.js +2 -2
- package/dist/components/generate.js +117 -16
- package/dist/components/index.d.ts +16 -5
- package/dist/components/index.js +11 -0
- package/dist/components/input-template.js +46 -53
- package/dist/components/input.js +457 -0
- package/dist/components/is-load-decorator.js +0 -2
- package/dist/components/label.js +1 -1
- package/dist/components/link.js +2 -2
- package/dist/components/linked.js +62 -29
- package/dist/components/menu.js +2 -2
- package/dist/components/old-input.js +1 -1
- package/dist/components/old-popover-box.js +1 -1
- package/dist/components/overlay.js +47 -0
- package/dist/components/popconfirm-box.js +1 -1
- package/dist/components/radio.js +38 -82
- package/dist/components/scroll-area.js +40 -0
- package/dist/components/search.js +13 -6
- package/dist/components/skeleton.js +5 -5
- package/dist/components/text.js +1 -1
- package/dist/components/tooltip-helper.js +68 -24
- package/dist/components/tooltip.js +35 -5
- package/dist/components/types.js +14 -27
- package/dist/components/types2.js +25 -25
- package/dist/components/types3.js +32 -0
- package/dist/esm/{bcm-b8d8a236.js → bcm-9f50af9c.js} +1 -0
- package/dist/esm/bcm-accordion.entry.js +5 -3
- package/dist/esm/bcm-alert.entry.js +7 -6
- package/dist/esm/bcm-attendance.entry.js +7 -5
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +12 -11
- package/dist/esm/bcm-box.entry.js +2 -2
- package/dist/esm/bcm-breadcrumb.entry.js +4 -3
- package/dist/esm/bcm-button-group.entry.js +7 -6
- package/dist/esm/bcm-button_7.entry.js +1560 -0
- package/dist/esm/bcm-card.entry.js +9 -8
- package/dist/esm/bcm-checkbox-lite_9.entry.js +6 -5
- package/dist/esm/bcm-chip.entry.js +7 -6
- package/dist/esm/bcm-collapse-group.entry.js +2 -2
- package/dist/esm/bcm-collapse.entry.js +4 -3
- package/dist/esm/bcm-color-input.entry.js +72 -0
- package/dist/esm/bcm-colorful_2.entry.js +17966 -0
- package/dist/esm/bcm-colorpicker.entry.js +2 -2
- package/dist/esm/bcm-date-picker.entry.js +5 -4
- package/dist/esm/bcm-datetime-picker.entry.js +11 -10
- package/dist/esm/bcm-default.entry.js +5 -3
- package/dist/esm/bcm-drawer.entry.js +10 -9
- package/dist/esm/bcm-dropdown.entry.js +7 -6
- package/dist/esm/bcm-error-layout.entry.js +3 -3
- package/dist/esm/bcm-expansion-panel.entry.js +8 -7
- package/dist/esm/bcm-form-2.entry.js +6 -5
- package/dist/esm/bcm-form-group.entry.js +2 -2
- package/dist/esm/bcm-input-custom.entry.js +69 -0
- package/dist/esm/bcm-input.entry.js +41 -12
- package/dist/esm/bcm-item.entry.js +7 -6
- package/dist/esm/bcm-items.entry.js +6 -5
- package/dist/esm/bcm-link.entry.js +5 -5
- package/dist/esm/bcm-list.entry.js +33 -25
- package/dist/esm/bcm-menu.entry.js +134 -0
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal-2-footer.entry.js +46 -0
- package/dist/esm/bcm-modal-2-header.entry.js +45 -0
- package/dist/esm/bcm-modal-2.entry.js +168 -0
- package/dist/esm/bcm-modal.entry.js +8 -7
- package/dist/esm/bcm-notification.entry.js +2 -2
- package/dist/esm/bcm-old-input.entry.js +4 -4
- package/dist/esm/bcm-old-tag_2.entry.js +2 -2
- package/dist/esm/bcm-overlay_2.entry.js +43 -0
- package/dist/esm/bcm-popconfirm-box.entry.js +9 -8
- package/dist/esm/bcm-popconfirm.entry.js +6 -5
- package/dist/esm/bcm-popover.entry.js +92 -42
- package/dist/esm/bcm-progress.entry.js +7 -6
- package/dist/esm/bcm-radio-group.entry.js +89 -206
- package/dist/esm/bcm-radio.entry.js +36 -77
- package/dist/esm/bcm-range.entry.js +6 -5
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-search.entry.js +21 -14
- package/dist/esm/bcm-select-group.entry.js +1 -1
- package/dist/esm/bcm-select-option.entry.js +1 -1
- package/dist/esm/bcm-select.entry.js +5 -5
- package/dist/esm/bcm-skeleton.entry.js +10 -8
- package/dist/esm/bcm-step.entry.js +6 -5
- package/dist/esm/bcm-stepper.entry.js +40 -23
- package/dist/esm/bcm-switch.entry.js +8 -7
- package/dist/esm/bcm-tab-group.entry.js +156 -112
- package/dist/esm/bcm-tab-item-header.entry.js +83 -0
- package/dist/esm/bcm-tab-item.entry.js +100 -0
- package/dist/esm/bcm-tab-pane.entry.js +2 -2
- package/dist/esm/bcm-tab.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +2 -2
- package/dist/esm/bcm-tabs-content.entry.js +2 -2
- package/dist/esm/bcm-tabs.entry.js +2 -2
- package/dist/esm/bcm-tag.entry.js +7 -6
- package/dist/esm/bcm-text.entry.js +8 -7
- package/dist/esm/bcm-textarea.entry.js +10 -8
- package/dist/esm/bcm-time-picker.entry.js +5 -4
- package/dist/esm/bcm-timeline-item.entry.js +2 -2
- package/dist/esm/bcm-timeline.entry.js +2 -2
- package/dist/esm/bcm-toast.entry.js +111 -0
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bcm-typography.entry.js +31 -0
- package/dist/esm/bromcom-ui.js +3 -3
- package/dist/esm/{caption-template-ced0e2ef.js → caption-template-da16ba7b.js} +1 -1
- package/dist/esm/color-helper-e8ce23d7.js +84 -0
- package/dist/esm/{color-helper-cb1cfc1e.js → colors-44c95e7e.js} +4 -81
- package/dist/esm/{floating-ui-54c1f339.js → floating-ui-e7341329.js} +1 -1
- package/dist/esm/{generate-ffcc7e3a.js → generate-c1a5001c.js} +118 -16
- package/dist/esm/{index-85cce099.js → index-39133086.js} +1 -1
- package/dist/esm/{index-0f68d8f0.js → index-93e36fdb.js} +1 -1
- package/dist/esm/input-template-61daf88f.js +90 -0
- package/dist/esm/{is-load-decorator-87c09179.js → is-load-decorator-bc14ec4b.js} +1 -3
- package/dist/esm/{json-parse-decarator-64166384.js → json-parse-decarator-f6c2451e.js} +2 -2
- package/dist/esm/{label-template-4f474794.js → label-template-d74fe788.js} +3 -3
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{number-helper-8e72bacd.js → number-helper-72dfe745.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -9
- package/dist/esm/old-bcm-popover.entry.js +5 -4
- package/dist/esm/{popover-placement-0e158c8b.js → popover-placement-78f86f15.js} +1 -1
- package/dist/esm/{slot-template-97e4665e.js → slot-template-5b2db362.js} +2 -2
- package/dist/esm/{stepper-states-96090572.js → stepper-states-7876bdf9.js} +3 -3
- package/dist/esm/{string-helper-8793366d.js → string-helper-6bd24967.js} +1 -1
- package/dist/esm/tooltip-helper-45e5fc94.js +147 -0
- package/dist/esm/{validators-c7341d67.js → validators-5197f61b.js} +1 -1
- package/dist/types/components/molecules/color-input/color-input.d.ts +20 -0
- package/dist/types/components/molecules/colorful/colorful.d.ts +8 -0
- package/dist/types/components/molecules/input/input.d.ts +4 -1
- package/dist/types/components/molecules/linked/linked.d.ts +10 -3
- package/dist/types/components/molecules/popover/popover.d.ts +12 -3
- package/dist/types/components/molecules/radio/{group.d.ts → radio-group.d.ts} +22 -27
- package/dist/types/components/molecules/radio/radio.d.ts +5 -11
- package/dist/types/components/molecules/search/search.d.ts +1 -0
- package/dist/types/components/molecules/skeleton/skeleton.d.ts +1 -1
- package/dist/types/components/molecules/states/search.states.d.ts +1 -1
- package/dist/types/components/molecules/stepper/stepper.d.ts +2 -2
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +15 -6
- package/dist/types/components/molecules/tab-group/tab-item-header.d.ts +13 -0
- package/dist/types/components/molecules/tab-group/tab-item.d.ts +17 -0
- package/dist/types/components/molecules/textarea/textarea.d.ts +1 -1
- package/dist/types/components/molecules/tooltip/tooltip.d.ts +13 -3
- package/dist/types/components/organism/list/list.d.ts +1 -0
- package/dist/types/components/other/input-custom/input-custom.d.ts +20 -0
- package/dist/types/components/other/modal-2/modal-2-footer.d.ts +7 -0
- package/dist/types/components/other/modal-2/modal-2-header.d.ts +7 -0
- package/dist/types/components/other/modal-2/modal-2.d.ts +33 -0
- package/dist/types/components/other/overlay/overlay.d.ts +8 -0
- package/dist/types/components/other/scroll-area/scroll-area.d.ts +7 -0
- package/dist/types/components/other/toast/toast.d.ts +25 -0
- package/dist/types/components.d.ts +339 -41
- package/dist/types/global/helper/index.d.ts +1 -0
- package/dist/types/global/helper/toast.d.ts +96 -0
- package/dist/types/helper/generate.d.ts +3 -0
- package/dist/types/helper/popover-helper.d.ts +13 -3
- package/dist/types/helper/tooltip-helper.d.ts +16 -3
- package/dist/types/index.d.ts +1 -1
- package/dist/types/models/bcm.d.ts +2 -1
- package/dist/types/templates/input-template.d.ts +5 -3
- package/dist/types/templates/list-template.d.ts +1 -0
- package/helper/index.d.ts +2 -0
- package/helper/index.d.ts.map +1 -0
- package/helper/index.js +17 -0
- package/helper/toast.d.ts +97 -0
- package/helper/toast.d.ts.map +1 -0
- package/helper/toast.js +115 -0
- package/package.json +30 -19
- package/dist/bromcom-ui/p-0a9b2124.entry.js +0 -5
- package/dist/bromcom-ui/p-0e3e135f.entry.js +0 -5
- package/dist/bromcom-ui/p-0e77d1f3.entry.js +0 -5
- package/dist/bromcom-ui/p-0f9c9047.entry.js +0 -5
- package/dist/bromcom-ui/p-12da638d.entry.js +0 -5
- package/dist/bromcom-ui/p-14b1b4b2.entry.js +0 -5
- package/dist/bromcom-ui/p-1845582b.entry.js +0 -5
- package/dist/bromcom-ui/p-1c09af4f.js +0 -5
- package/dist/bromcom-ui/p-1de5af32.entry.js +0 -5
- package/dist/bromcom-ui/p-1f4d9b1f.entry.js +0 -5
- package/dist/bromcom-ui/p-231bff46.entry.js +0 -5
- package/dist/bromcom-ui/p-251629c7.entry.js +0 -5
- package/dist/bromcom-ui/p-38dc893a.entry.js +0 -5
- package/dist/bromcom-ui/p-3edd3360.js +0 -5
- package/dist/bromcom-ui/p-400ec1f7.entry.js +0 -5
- package/dist/bromcom-ui/p-4067c2e0.entry.js +0 -5
- package/dist/bromcom-ui/p-421cd232.js +0 -5
- package/dist/bromcom-ui/p-4260a393.entry.js +0 -5
- package/dist/bromcom-ui/p-44236a8b.entry.js +0 -5
- package/dist/bromcom-ui/p-46a546fb.entry.js +0 -5
- package/dist/bromcom-ui/p-4a9005ec.entry.js +0 -5
- package/dist/bromcom-ui/p-529c955c.js +0 -5
- package/dist/bromcom-ui/p-5546b28e.entry.js +0 -5
- package/dist/bromcom-ui/p-596611eb.entry.js +0 -5
- package/dist/bromcom-ui/p-63f90701.entry.js +0 -5
- package/dist/bromcom-ui/p-65c4ae21.entry.js +0 -5
- package/dist/bromcom-ui/p-685b892c.js +0 -5
- package/dist/bromcom-ui/p-6b748546.entry.js +0 -5
- package/dist/bromcom-ui/p-724f5a0b.entry.js +0 -5
- package/dist/bromcom-ui/p-78d82111.js +0 -5
- package/dist/bromcom-ui/p-7d3ed6cb.entry.js +0 -5
- package/dist/bromcom-ui/p-7dabd101.entry.js +0 -5
- package/dist/bromcom-ui/p-81b62ce8.entry.js +0 -5
- package/dist/bromcom-ui/p-88062515.entry.js +0 -5
- package/dist/bromcom-ui/p-961cab35.entry.js +0 -5
- package/dist/bromcom-ui/p-9aa699c1.entry.js +0 -5
- package/dist/bromcom-ui/p-9f95f24f.entry.js +0 -5
- package/dist/bromcom-ui/p-a051162a.entry.js +0 -5
- package/dist/bromcom-ui/p-a35fc9d4.entry.js +0 -5
- package/dist/bromcom-ui/p-b4a3871f.entry.js +0 -5
- package/dist/bromcom-ui/p-bb7760d7.entry.js +0 -5
- package/dist/bromcom-ui/p-bdeb220d.entry.js +0 -5
- package/dist/bromcom-ui/p-c09a1784.entry.js +0 -5
- package/dist/bromcom-ui/p-c0ba4ab5.entry.js +0 -5
- package/dist/bromcom-ui/p-c12555c7.entry.js +0 -5
- package/dist/bromcom-ui/p-c7bfb126.js +0 -5
- package/dist/bromcom-ui/p-d0bfb53b.entry.js +0 -5
- package/dist/bromcom-ui/p-d68d4ce0.entry.js +0 -5
- package/dist/bromcom-ui/p-d7f06284.entry.js +0 -5
- package/dist/bromcom-ui/p-dd1c6c24.entry.js +0 -5
- package/dist/bromcom-ui/p-e1a323b8.entry.js +0 -5
- package/dist/bromcom-ui/p-e5724ed4.entry.js +0 -5
- package/dist/bromcom-ui/p-e5fee9dc.entry.js +0 -5
- package/dist/bromcom-ui/p-e8359a46.entry.js +0 -5
- package/dist/bromcom-ui/p-e8436609.entry.js +0 -5
- package/dist/bromcom-ui/p-eb0ab3d9.entry.js +0 -5
- package/dist/bromcom-ui/p-f8864d6e.entry.js +0 -5
- package/dist/bromcom-ui/p-f8b43cb2.entry.js +0 -5
- package/dist/bromcom-ui/p-f8eb60b6.entry.js +0 -5
- package/dist/bromcom-ui/p-ffdc7a09.entry.js +0 -5
- package/dist/cjs/bcm-button.cjs.entry.js +0 -384
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -205
- package/dist/cjs/bcm-form.cjs.entry.js +0 -487
- package/dist/cjs/bcm-icon.cjs.entry.js +0 -41
- package/dist/cjs/bcm-label_2.cjs.entry.js +0 -122
- package/dist/cjs/bcm-linked_2.cjs.entry.js +0 -308
- package/dist/cjs/input-template-657a8fc1.js +0 -86
- package/dist/cjs/tooltip-helper-6c8bfde7.js +0 -105
- package/dist/collection/components/molecules/radio/group.css +0 -798
- package/dist/collection/components/molecules/radio/radio.css +0 -1280
- package/dist/collection/components/molecules/radio/types.js +0 -30
- package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
- package/dist/esm/bcm-button.entry.js +0 -380
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox_2.entry.js +0 -200
- package/dist/esm/bcm-form.entry.js +0 -483
- package/dist/esm/bcm-icon.entry.js +0 -37
- package/dist/esm/bcm-label_2.entry.js +0 -117
- package/dist/esm/bcm-linked_2.entry.js +0 -303
- package/dist/esm/input-template-7aaafa99.js +0 -84
- package/dist/esm/tooltip-helper-f58d482d.js +0 -103
- package/dist/types/components/molecules/radio/types.d.ts +0 -29
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
- /package/dist/bromcom-ui/{p-5fd7a8b6.js → p-2e73d572.js} +0 -0
- /package/dist/cjs/{types-6eb7e028.js → types-7523fd99.js} +0 -0
- /package/dist/collection/components/{atoms → other}/box/box.js +0 -0
- /package/dist/collection/components/{atoms → other}/typography/typography.js +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.css +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/colorpicker.js +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/chess.png +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/color.svg +0 -0
- /package/dist/collection/components/{organism → other_deprecated}/colorpicker/static/colors.svg +0 -0
- /package/dist/collection/components/{atoms → other_deprecated}/tag/tag.js +0 -0
- /package/dist/collection/components/{atoms → other_deprecated}/tag/types.js +0 -0
- /package/dist/esm/{types-bfc3bba1.js → types-9493a7ed.js} +0 -0
- /package/dist/types/components/{atoms → other}/box/box.d.ts +0 -0
- /package/dist/types/components/{atoms → other}/typography/typography.d.ts +0 -0
- /package/dist/types/components/{organism → other_deprecated}/colorpicker/colorpicker.d.ts +0 -0
- /package/dist/types/components/{atoms → other_deprecated}/tag/tag.d.ts +0 -0
- /package/dist/types/components/{atoms → other_deprecated}/tag/types.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./toast";
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
interface ToastOptions {
|
|
2
|
+
"id"?: string;
|
|
3
|
+
"message"?: string;
|
|
4
|
+
"status"?: "success" | "error" | "warning" | "info";
|
|
5
|
+
"description"?: string;
|
|
6
|
+
"duration"?: number;
|
|
7
|
+
"position"?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
8
|
+
"message-icon"?: string;
|
|
9
|
+
"view-button"?: boolean;
|
|
10
|
+
"close-button"?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ToastEvents {
|
|
13
|
+
bcmToastView?: (event: any) => void;
|
|
14
|
+
bcmToastClose?: (event: any) => void;
|
|
15
|
+
bcmToastOpen?: (event: any) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare class Toast {
|
|
18
|
+
element: any;
|
|
19
|
+
options: ToastOptions & ToastEvents;
|
|
20
|
+
/**
|
|
21
|
+
* Creates an instance of Toast.
|
|
22
|
+
* @param {ToastOptions & ToastEvents} [options={}]
|
|
23
|
+
* @example
|
|
24
|
+
* const toast = new Toast();
|
|
25
|
+
* @example
|
|
26
|
+
* const toast = new Toast({
|
|
27
|
+
* id: "my-toast",
|
|
28
|
+
* message: "Hello World",
|
|
29
|
+
* status: "success",
|
|
30
|
+
* description: "This is a description",
|
|
31
|
+
* duration: 5000,
|
|
32
|
+
* position: "top",
|
|
33
|
+
* "message-icon": "check",
|
|
34
|
+
* "view-button": true,
|
|
35
|
+
* "close-button": true,
|
|
36
|
+
* bcmToastView: (event) => {
|
|
37
|
+
* // This Event fires when the view button is clicked
|
|
38
|
+
* // do something
|
|
39
|
+
* },
|
|
40
|
+
* bcmToastClose: (event) => {
|
|
41
|
+
* // This Event fires when the toast is closed
|
|
42
|
+
* // do something
|
|
43
|
+
* },
|
|
44
|
+
* bcmToastOpen: (event) => {
|
|
45
|
+
* // This Event fires when the toast is opened
|
|
46
|
+
* // do something
|
|
47
|
+
* }
|
|
48
|
+
* });
|
|
49
|
+
* toast.show();
|
|
50
|
+
*/
|
|
51
|
+
constructor(options: ToastOptions & ToastEvents);
|
|
52
|
+
private createElement;
|
|
53
|
+
private listeners;
|
|
54
|
+
private setAttributes;
|
|
55
|
+
/**
|
|
56
|
+
* Shows the toast
|
|
57
|
+
* @returns {HTMLElement} The element that was shown
|
|
58
|
+
* @example
|
|
59
|
+
* const toast = new Toast();
|
|
60
|
+
* toast.show();
|
|
61
|
+
* @example
|
|
62
|
+
* const toast = new Toast();
|
|
63
|
+
* toast.show().then(() => {
|
|
64
|
+
* // do something
|
|
65
|
+
* });
|
|
66
|
+
* @example
|
|
67
|
+
* const toast = new Toast();
|
|
68
|
+
* toast.show().then(() => {
|
|
69
|
+
* // do something
|
|
70
|
+
* }).catch(() => {
|
|
71
|
+
* // do something else
|
|
72
|
+
* });
|
|
73
|
+
*/
|
|
74
|
+
show(): any;
|
|
75
|
+
/**
|
|
76
|
+
* Hides the toast
|
|
77
|
+
* @returns {HTMLElement} The element that was hidden
|
|
78
|
+
* @example
|
|
79
|
+
* const toast = new Toast();
|
|
80
|
+
* toast.hide();
|
|
81
|
+
* @example
|
|
82
|
+
* const toast = new Toast();
|
|
83
|
+
* toast.hide().then(() => {
|
|
84
|
+
* // do something
|
|
85
|
+
* });
|
|
86
|
+
* @example
|
|
87
|
+
* const toast = new Toast();
|
|
88
|
+
* toast.hide().then(() => {
|
|
89
|
+
* // do something
|
|
90
|
+
* }).catch(() => {
|
|
91
|
+
* // do something else
|
|
92
|
+
* });
|
|
93
|
+
*/
|
|
94
|
+
hide(): any;
|
|
95
|
+
}
|
|
96
|
+
export {};
|
|
@@ -19,4 +19,7 @@ export declare class Generate {
|
|
|
19
19
|
static setAttributes: (item: any, obj: any) => void;
|
|
20
20
|
static computedStyle: (element: HTMLElement, property: string) => string;
|
|
21
21
|
static getAncestor: (el: any, selector: any) => any;
|
|
22
|
+
static findParentElement: (element: any, selector: any) => any;
|
|
23
|
+
static observeElementRemoval(element: Element, callback: () => void): void;
|
|
24
|
+
static getTwColor(color: string, variable?: string): {};
|
|
22
25
|
}
|
|
@@ -7,14 +7,23 @@ export declare class Popover {
|
|
|
7
7
|
color?: string;
|
|
8
8
|
el?: HTMLElement;
|
|
9
9
|
trigger?: string;
|
|
10
|
-
|
|
10
|
+
openDelay: number;
|
|
11
|
+
closeDelay: number;
|
|
12
|
+
emitShow: () => void;
|
|
13
|
+
emitHide: () => void;
|
|
14
|
+
constructor({ content, message, targetId, placement, color, trigger, openDelay, closeDelay, emitShow, emitHide }: {
|
|
11
15
|
content: any;
|
|
12
16
|
message: any;
|
|
13
17
|
targetId: any;
|
|
14
18
|
placement?: string;
|
|
15
19
|
color?: string;
|
|
16
20
|
trigger?: string;
|
|
21
|
+
openDelay?: number;
|
|
22
|
+
closeDelay?: number;
|
|
23
|
+
emitShow?: () => void;
|
|
24
|
+
emitHide?: () => void;
|
|
17
25
|
});
|
|
26
|
+
destroy: () => void;
|
|
18
27
|
private bgColor;
|
|
19
28
|
exepcitonColors: {
|
|
20
29
|
white: string;
|
|
@@ -24,8 +33,9 @@ export declare class Popover {
|
|
|
24
33
|
private init;
|
|
25
34
|
update: () => void;
|
|
26
35
|
listener: () => void;
|
|
36
|
+
removeListener: () => void;
|
|
27
37
|
private calculatePosition;
|
|
28
|
-
show: () => void
|
|
29
|
-
hide: () => void
|
|
38
|
+
show: () => Promise<void>;
|
|
39
|
+
hide: () => Promise<void>;
|
|
30
40
|
toggle: () => void;
|
|
31
41
|
}
|
|
@@ -6,20 +6,33 @@ export declare class Tooltip {
|
|
|
6
6
|
color: string;
|
|
7
7
|
el: HTMLElement;
|
|
8
8
|
trigger: string;
|
|
9
|
-
|
|
9
|
+
size: string;
|
|
10
|
+
openDelay: number;
|
|
11
|
+
closeDelay: number;
|
|
12
|
+
emitShow: () => void;
|
|
13
|
+
emitHide: () => void;
|
|
14
|
+
constructor({ message, targetId, placement, color, trigger, size, openDelay, closeDelay, emitShow, emitHide, }: {
|
|
10
15
|
message: any;
|
|
11
16
|
targetId: any;
|
|
12
17
|
placement?: string;
|
|
13
18
|
color?: string;
|
|
14
19
|
trigger?: string;
|
|
20
|
+
size?: string;
|
|
21
|
+
openDelay?: number;
|
|
22
|
+
closeDelay?: number;
|
|
23
|
+
emitShow?: () => void;
|
|
24
|
+
emitHide?: () => void;
|
|
15
25
|
});
|
|
26
|
+
destroy: () => void;
|
|
16
27
|
private bgColor;
|
|
17
28
|
private target;
|
|
29
|
+
private sizeClass;
|
|
18
30
|
private init;
|
|
19
31
|
update: () => void;
|
|
20
32
|
listener: () => void;
|
|
33
|
+
removeListener: () => void;
|
|
21
34
|
private calculatePosition;
|
|
22
|
-
show: () => void
|
|
23
|
-
hide: () => void
|
|
35
|
+
show: () => Promise<void>;
|
|
36
|
+
hide: () => Promise<void>;
|
|
24
37
|
toggle: () => void;
|
|
25
38
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Components, JSX } from
|
|
1
|
+
export { Components, JSX } from "./components";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { FunctionalComponent } from
|
|
2
|
-
import Bcm from
|
|
1
|
+
import { FunctionalComponent } from "../stencil-public-runtime";
|
|
2
|
+
import Bcm from "../models/bcm";
|
|
3
3
|
interface InputTemplateProps extends Bcm.InputClickEvent {
|
|
4
|
-
elementType?:
|
|
4
|
+
elementType?: "textarea" | "input";
|
|
5
5
|
rows?: any;
|
|
6
6
|
id?: any;
|
|
7
7
|
internalId?: any;
|
|
@@ -29,6 +29,8 @@ interface InputTemplateProps extends Bcm.InputClickEvent {
|
|
|
29
29
|
changePasswordVisibility?: () => void;
|
|
30
30
|
handleClear?: (e: MouseEvent) => void;
|
|
31
31
|
steps?: (type: any) => void;
|
|
32
|
+
isEyeDropperSupported?: () => boolean;
|
|
33
|
+
eyeDropper?: () => void;
|
|
32
34
|
}
|
|
33
35
|
export declare const InputTemplate: FunctionalComponent<InputTemplateProps>;
|
|
34
36
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/global/helper/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
|
package/helper/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./toast"), exports);
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
interface ToastOptions {
|
|
2
|
+
"id"?: string;
|
|
3
|
+
"message"?: string;
|
|
4
|
+
"status"?: "success" | "error" | "warning" | "info";
|
|
5
|
+
"description"?: string;
|
|
6
|
+
"duration"?: number;
|
|
7
|
+
"position"?: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end";
|
|
8
|
+
"message-icon"?: string;
|
|
9
|
+
"view-button"?: boolean;
|
|
10
|
+
"close-button"?: boolean;
|
|
11
|
+
}
|
|
12
|
+
interface ToastEvents {
|
|
13
|
+
bcmToastView?: (event: any) => void;
|
|
14
|
+
bcmToastClose?: (event: any) => void;
|
|
15
|
+
bcmToastOpen?: (event: any) => void;
|
|
16
|
+
}
|
|
17
|
+
export declare class Toast {
|
|
18
|
+
element: any;
|
|
19
|
+
options: ToastOptions & ToastEvents;
|
|
20
|
+
/**
|
|
21
|
+
* Creates an instance of Toast.
|
|
22
|
+
* @param {ToastOptions & ToastEvents} [options={}]
|
|
23
|
+
* @example
|
|
24
|
+
* const toast = new Toast();
|
|
25
|
+
* @example
|
|
26
|
+
* const toast = new Toast({
|
|
27
|
+
* id: "my-toast",
|
|
28
|
+
* message: "Hello World",
|
|
29
|
+
* status: "success",
|
|
30
|
+
* description: "This is a description",
|
|
31
|
+
* duration: 5000,
|
|
32
|
+
* position: "top",
|
|
33
|
+
* "message-icon": "check",
|
|
34
|
+
* "view-button": true,
|
|
35
|
+
* "close-button": true,
|
|
36
|
+
* bcmToastView: (event) => {
|
|
37
|
+
* // This Event fires when the view button is clicked
|
|
38
|
+
* // do something
|
|
39
|
+
* },
|
|
40
|
+
* bcmToastClose: (event) => {
|
|
41
|
+
* // This Event fires when the toast is closed
|
|
42
|
+
* // do something
|
|
43
|
+
* },
|
|
44
|
+
* bcmToastOpen: (event) => {
|
|
45
|
+
* // This Event fires when the toast is opened
|
|
46
|
+
* // do something
|
|
47
|
+
* }
|
|
48
|
+
* });
|
|
49
|
+
* toast.show();
|
|
50
|
+
*/
|
|
51
|
+
constructor(options: ToastOptions & ToastEvents);
|
|
52
|
+
private createElement;
|
|
53
|
+
private listeners;
|
|
54
|
+
private setAttributes;
|
|
55
|
+
/**
|
|
56
|
+
* Shows the toast
|
|
57
|
+
* @returns {HTMLElement} The element that was shown
|
|
58
|
+
* @example
|
|
59
|
+
* const toast = new Toast();
|
|
60
|
+
* toast.show();
|
|
61
|
+
* @example
|
|
62
|
+
* const toast = new Toast();
|
|
63
|
+
* toast.show().then(() => {
|
|
64
|
+
* // do something
|
|
65
|
+
* });
|
|
66
|
+
* @example
|
|
67
|
+
* const toast = new Toast();
|
|
68
|
+
* toast.show().then(() => {
|
|
69
|
+
* // do something
|
|
70
|
+
* }).catch(() => {
|
|
71
|
+
* // do something else
|
|
72
|
+
* });
|
|
73
|
+
*/
|
|
74
|
+
show(): any;
|
|
75
|
+
/**
|
|
76
|
+
* Hides the toast
|
|
77
|
+
* @returns {HTMLElement} The element that was hidden
|
|
78
|
+
* @example
|
|
79
|
+
* const toast = new Toast();
|
|
80
|
+
* toast.hide();
|
|
81
|
+
* @example
|
|
82
|
+
* const toast = new Toast();
|
|
83
|
+
* toast.hide().then(() => {
|
|
84
|
+
* // do something
|
|
85
|
+
* });
|
|
86
|
+
* @example
|
|
87
|
+
* const toast = new Toast();
|
|
88
|
+
* toast.hide().then(() => {
|
|
89
|
+
* // do something
|
|
90
|
+
* }).catch(() => {
|
|
91
|
+
* // do something else
|
|
92
|
+
* });
|
|
93
|
+
*/
|
|
94
|
+
hide(): any;
|
|
95
|
+
}
|
|
96
|
+
export {};
|
|
97
|
+
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../src/global/helper/toast.ts"],"names":[],"mappings":"AAAA,UAAU,YAAY;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IACpD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,KAAK,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,GAAG,cAAc,GAAG,YAAY,CAAC;IACxF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;CAC5B;AAED,UAAU,WAAW;IACjB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACpC,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;IACrC,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,GAAG,KAAK,IAAI,CAAC;CACvC;AAED,qBAAa,KAAK;IACd,OAAO,EAAE,GAAG,CAAC;IACb,OAAO,EAAE,YAAY,GAAG,WAAW,CAAC;IAEpC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8BG;gBACS,OAAO,EAAE,YAAY,GAAG,WAAW;IAS/C,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,aAAa;IAMrB;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI;IAKJ;;;;;;;;;;;;;;;;;;OAkBG;IACH,IAAI;CAIP"}
|
package/helper/toast.js
ADDED
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Toast = void 0;
|
|
4
|
+
var Toast = /** @class */ (function () {
|
|
5
|
+
/**
|
|
6
|
+
* Creates an instance of Toast.
|
|
7
|
+
* @param {ToastOptions & ToastEvents} [options={}]
|
|
8
|
+
* @example
|
|
9
|
+
* const toast = new Toast();
|
|
10
|
+
* @example
|
|
11
|
+
* const toast = new Toast({
|
|
12
|
+
* id: "my-toast",
|
|
13
|
+
* message: "Hello World",
|
|
14
|
+
* status: "success",
|
|
15
|
+
* description: "This is a description",
|
|
16
|
+
* duration: 5000,
|
|
17
|
+
* position: "top",
|
|
18
|
+
* "message-icon": "check",
|
|
19
|
+
* "view-button": true,
|
|
20
|
+
* "close-button": true,
|
|
21
|
+
* bcmToastView: (event) => {
|
|
22
|
+
* // This Event fires when the view button is clicked
|
|
23
|
+
* // do something
|
|
24
|
+
* },
|
|
25
|
+
* bcmToastClose: (event) => {
|
|
26
|
+
* // This Event fires when the toast is closed
|
|
27
|
+
* // do something
|
|
28
|
+
* },
|
|
29
|
+
* bcmToastOpen: (event) => {
|
|
30
|
+
* // This Event fires when the toast is opened
|
|
31
|
+
* // do something
|
|
32
|
+
* }
|
|
33
|
+
* });
|
|
34
|
+
* toast.show();
|
|
35
|
+
*/
|
|
36
|
+
function Toast(options) {
|
|
37
|
+
this.options = options;
|
|
38
|
+
this.createElement();
|
|
39
|
+
this.listeners();
|
|
40
|
+
this.setAttributes();
|
|
41
|
+
return this.element;
|
|
42
|
+
}
|
|
43
|
+
Toast.prototype.createElement = function () {
|
|
44
|
+
var _a;
|
|
45
|
+
var el;
|
|
46
|
+
((_a = this.options) === null || _a === void 0 ? void 0 : _a.id) && (el = document.getElementById(this.options.id));
|
|
47
|
+
if (el) {
|
|
48
|
+
this.element = el;
|
|
49
|
+
}
|
|
50
|
+
else {
|
|
51
|
+
var tag = "bcm-toast";
|
|
52
|
+
this.element = document.createElement(tag);
|
|
53
|
+
}
|
|
54
|
+
document.body.appendChild(this.element);
|
|
55
|
+
return this.element;
|
|
56
|
+
};
|
|
57
|
+
Toast.prototype.listeners = function () {
|
|
58
|
+
this.options.bcmToastView && this.element.addEventListener("bcm-toast-view", this.options.bcmToastView);
|
|
59
|
+
this.options.bcmToastClose && this.element.addEventListener("bcm-toast-close", this.options.bcmToastClose);
|
|
60
|
+
this.options.bcmToastOpen && this.element.addEventListener("bcm-toast-open", this.options.bcmToastOpen);
|
|
61
|
+
};
|
|
62
|
+
Toast.prototype.setAttributes = function () {
|
|
63
|
+
for (var key in this.options) {
|
|
64
|
+
this.element.setAttribute(key, this.options[key]);
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Shows the toast
|
|
69
|
+
* @returns {HTMLElement} The element that was shown
|
|
70
|
+
* @example
|
|
71
|
+
* const toast = new Toast();
|
|
72
|
+
* toast.show();
|
|
73
|
+
* @example
|
|
74
|
+
* const toast = new Toast();
|
|
75
|
+
* toast.show().then(() => {
|
|
76
|
+
* // do something
|
|
77
|
+
* });
|
|
78
|
+
* @example
|
|
79
|
+
* const toast = new Toast();
|
|
80
|
+
* toast.show().then(() => {
|
|
81
|
+
* // do something
|
|
82
|
+
* }).catch(() => {
|
|
83
|
+
* // do something else
|
|
84
|
+
* });
|
|
85
|
+
*/
|
|
86
|
+
Toast.prototype.show = function () {
|
|
87
|
+
this.element.show();
|
|
88
|
+
return this.element;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Hides the toast
|
|
92
|
+
* @returns {HTMLElement} The element that was hidden
|
|
93
|
+
* @example
|
|
94
|
+
* const toast = new Toast();
|
|
95
|
+
* toast.hide();
|
|
96
|
+
* @example
|
|
97
|
+
* const toast = new Toast();
|
|
98
|
+
* toast.hide().then(() => {
|
|
99
|
+
* // do something
|
|
100
|
+
* });
|
|
101
|
+
* @example
|
|
102
|
+
* const toast = new Toast();
|
|
103
|
+
* toast.hide().then(() => {
|
|
104
|
+
* // do something
|
|
105
|
+
* }).catch(() => {
|
|
106
|
+
* // do something else
|
|
107
|
+
* });
|
|
108
|
+
*/
|
|
109
|
+
Toast.prototype.hide = function () {
|
|
110
|
+
this.element.hide();
|
|
111
|
+
return this.element;
|
|
112
|
+
};
|
|
113
|
+
return Toast;
|
|
114
|
+
}());
|
|
115
|
+
exports.Toast = Toast;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bromcom-ui",
|
|
3
|
-
"version": "2.8.0-rc.10
|
|
3
|
+
"version": "2.8.0-rc.10",
|
|
4
4
|
"description": "Stencil Component Starter",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -12,16 +12,18 @@
|
|
|
12
12
|
"unpkg": "dist/bromcom-ui/bromcom-ui.js",
|
|
13
13
|
"files": [
|
|
14
14
|
"dist/",
|
|
15
|
-
"loader/"
|
|
15
|
+
"loader/",
|
|
16
|
+
"helper/"
|
|
16
17
|
],
|
|
17
18
|
"scripts": {
|
|
18
19
|
"start": "npm-run-all clean:www -p dev:*",
|
|
19
20
|
"clean:www": "rm -rf www",
|
|
20
21
|
"dev:stencil": "stencil build --dev --watch --serve",
|
|
21
22
|
"dev:tailwind": "tailwindcss -i ./src/directives.css -o ./src/global/tailwind.css --watch --minify",
|
|
22
|
-
"build": "run-s clean:dist clean:loader build:tailwind build:stencil build:aliases",
|
|
23
|
+
"build": "run-s clean:dist clean:loader clean:helper tsc-helper build:tailwind build:stencil build:aliases",
|
|
23
24
|
"clean:dist": "rm -rf dist",
|
|
24
25
|
"clean:loader": "rm -rf loader",
|
|
26
|
+
"clean:helper": "rm -rf helper",
|
|
25
27
|
"build:tailwind": "tailwindcss -i ./src/directives.css -o ./src/global/tailwind.css --minify",
|
|
26
28
|
"build:stencil": "stencil build --prod",
|
|
27
29
|
"build:aliases": "tsc-alias -p tsconfig.aliases.json",
|
|
@@ -31,7 +33,9 @@
|
|
|
31
33
|
"ds-version": "npm run build && npm version patch && npm run build",
|
|
32
34
|
"storybook": "start-storybook -p 8000",
|
|
33
35
|
"build:storybook": "build-storybook",
|
|
34
|
-
"generate:storybook": "npm run build && npm run build:storybook"
|
|
36
|
+
"generate:storybook": "npm run build && npm run build:storybook",
|
|
37
|
+
"tsc-helper": "npm run clean:helper && cd ./src/global/helper && tsc index.ts --declaration --declarationMap --allowJs --outDir ./../../../helper",
|
|
38
|
+
"format": "prettier --write \"src/**/*.tsx\""
|
|
35
39
|
},
|
|
36
40
|
"license": "MIT",
|
|
37
41
|
"devDependencies": {
|
|
@@ -43,29 +47,36 @@
|
|
|
43
47
|
"@stencil/core": "^2.17.1",
|
|
44
48
|
"@stencil/sass": "^1.3.2",
|
|
45
49
|
"@stencil/store": "^1.5.0",
|
|
46
|
-
"@storybook/addon-a11y": "^6.5.
|
|
47
|
-
"@storybook/addon-actions": "^6.5.
|
|
48
|
-
"@storybook/addon-docs": "^6.5.
|
|
49
|
-
"@storybook/addon-essentials": "^6.5.
|
|
50
|
-
"@storybook/addon-interactions": "^6.5.
|
|
51
|
-
"@storybook/addon-links": "^6.5.
|
|
50
|
+
"@storybook/addon-a11y": "^6.5.16",
|
|
51
|
+
"@storybook/addon-actions": "^6.5.16",
|
|
52
|
+
"@storybook/addon-docs": "^6.5.16",
|
|
53
|
+
"@storybook/addon-essentials": "^6.5.16",
|
|
54
|
+
"@storybook/addon-interactions": "^6.5.16",
|
|
55
|
+
"@storybook/addon-links": "^6.5.16",
|
|
52
56
|
"@storybook/addon-notes": "^5.3.21",
|
|
53
|
-
"@storybook/builder-webpack4": "^6.5.
|
|
54
|
-
"@storybook/builder-webpack5": "^6.5.
|
|
55
|
-
"@storybook/html": "^6.5.
|
|
56
|
-
"@storybook/manager-webpack4": "^6.5.
|
|
57
|
-
"@storybook/manager-webpack5": "^6.5.
|
|
57
|
+
"@storybook/builder-webpack4": "^6.5.16",
|
|
58
|
+
"@storybook/builder-webpack5": "^6.5.16",
|
|
59
|
+
"@storybook/html": "^6.5.16",
|
|
60
|
+
"@storybook/manager-webpack4": "^6.5.16",
|
|
61
|
+
"@storybook/manager-webpack5": "^6.5.16",
|
|
58
62
|
"@storybook/testing-library": "^0.0.13",
|
|
59
|
-
"@types/
|
|
63
|
+
"@types/estree": "^1.0.0",
|
|
64
|
+
"@types/node": "^18.15.3",
|
|
60
65
|
"babel-loader": "^8.2.0",
|
|
61
66
|
"classnames": "^2.2.6",
|
|
62
67
|
"cpy-cli": "^4.2.0",
|
|
63
68
|
"fs-extra": "^11.1.0",
|
|
64
69
|
"jsx-dom": "^6.4.23",
|
|
65
70
|
"npm-run-all": "^4.1.5",
|
|
66
|
-
"prettier": "^2.8.
|
|
67
|
-
"prettier-plugin-
|
|
68
|
-
"
|
|
71
|
+
"prettier": "^2.8.7",
|
|
72
|
+
"prettier-plugin-organize-imports": "^3.2.2",
|
|
73
|
+
"prettier-plugin-tailwindcss": "^0.2.6",
|
|
74
|
+
"react": "^16.14.0",
|
|
75
|
+
"react-colorful": "^5.6.1",
|
|
76
|
+
"react-dom": "^16.14.0",
|
|
77
|
+
"rollup": "^2.58.0",
|
|
78
|
+
"@rollup/plugin-replace": "^3.1.0",
|
|
79
|
+
"rollup-plugin-dotenv": "latest",
|
|
69
80
|
"slugify": "^1.6.5",
|
|
70
81
|
"snq": "^1.0.3",
|
|
71
82
|
"storybook-fetch-addon": "^1.2.1",
|