bromcom-ui 2.7.38-rc.9 → 2.8.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/global/helper/index.ts +1 -0
- package/dist/bromcom-ui/global/helper/toast.ts +136 -0
- package/dist/bromcom-ui/p-07b62dab.entry.js +5 -0
- package/dist/bromcom-ui/p-0ae31364.entry.js +5 -0
- package/dist/bromcom-ui/{p-72f741db.entry.js → p-0b77585e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-64b20f43.entry.js → p-0f685aa9.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c58f338d.entry.js → p-14938158.entry.js} +1 -1
- package/dist/bromcom-ui/p-168d2632.entry.js +5 -0
- package/dist/bromcom-ui/p-178fb088.entry.js +5 -0
- package/dist/bromcom-ui/p-17bafd84.entry.js +5 -0
- package/dist/bromcom-ui/p-1a0900cc.entry.js +10 -0
- package/dist/bromcom-ui/p-1faaac85.entry.js +5 -0
- package/dist/bromcom-ui/p-22e08221.entry.js +5 -0
- package/dist/bromcom-ui/p-2a57c8c7.entry.js +5 -0
- package/dist/bromcom-ui/{p-444cb95f.entry.js → p-2cdc4578.entry.js} +1 -1
- package/dist/bromcom-ui/p-2eaf7068.entry.js +5 -0
- package/dist/bromcom-ui/p-34a59d30.js +5 -0
- package/dist/bromcom-ui/{p-4721d58a.entry.js → p-369d6e4f.entry.js} +1 -1
- package/dist/bromcom-ui/p-3a093f9e.entry.js +5 -0
- package/dist/bromcom-ui/{p-969f623c.entry.js → p-3ccc9177.entry.js} +1 -1
- package/dist/bromcom-ui/{p-69ef565b.entry.js → p-3d4897d8.entry.js} +1 -1
- package/dist/bromcom-ui/p-3d8802d9.entry.js +5 -0
- package/dist/bromcom-ui/p-3e45d00d.entry.js +5 -0
- package/dist/bromcom-ui/p-410c74f6.js +5 -0
- package/dist/bromcom-ui/p-4185987d.entry.js +5 -0
- package/dist/bromcom-ui/p-4487e8c2.js +5 -0
- package/dist/bromcom-ui/{p-5775dcea.js → p-48e9166c.js} +1 -1
- package/dist/bromcom-ui/{p-1d44dbea.entry.js → p-4a123037.entry.js} +1 -1
- package/dist/bromcom-ui/p-4a51c718.entry.js +5 -0
- package/dist/bromcom-ui/p-51deaab5.entry.js +5 -0
- package/dist/bromcom-ui/p-524ab0fc.entry.js +5 -0
- package/dist/bromcom-ui/{p-620afa4f.js → p-56a5396d.js} +1 -1
- package/dist/bromcom-ui/p-56bb19ef.js +5 -0
- package/dist/bromcom-ui/p-58815bb1.entry.js +5 -0
- package/dist/bromcom-ui/p-5cd30376.entry.js +5 -0
- package/dist/bromcom-ui/{p-fc55a7e3.entry.js → p-5d014153.entry.js} +1 -1
- package/dist/bromcom-ui/p-5de651cc.entry.js +5 -0
- package/dist/bromcom-ui/{p-3126f440.entry.js → p-61709094.entry.js} +1 -1
- package/dist/bromcom-ui/p-65fbabc8.entry.js +5 -0
- package/dist/bromcom-ui/p-6baf6ea4.entry.js +5 -0
- package/dist/bromcom-ui/p-6ea775e8.entry.js +5 -0
- package/dist/bromcom-ui/p-701cf04e.entry.js +5 -0
- package/dist/bromcom-ui/p-70c794df.js +5 -0
- package/dist/bromcom-ui/p-71930900.js +5 -0
- package/dist/bromcom-ui/{p-16ff1ff3.js → p-74595a06.js} +1 -1
- package/dist/bromcom-ui/p-79a1c167.js +5 -0
- package/dist/bromcom-ui/{p-5ae0a59b.js → p-7e44e6b5.js} +1 -1
- package/dist/bromcom-ui/p-7eb09daf.entry.js +5 -0
- package/dist/bromcom-ui/{p-930558cd.js → p-7eb8c46e.js} +1 -1
- package/dist/bromcom-ui/p-80fdd63f.entry.js +5 -0
- package/dist/bromcom-ui/p-889553d3.entry.js +5 -0
- package/dist/bromcom-ui/{p-ba062b3c.js → p-88f7d869.js} +1 -1
- package/dist/bromcom-ui/p-89a9e8e3.entry.js +5 -0
- package/dist/bromcom-ui/{p-3c7a0345.js → p-8c018ae0.js} +1 -1
- package/dist/bromcom-ui/p-8cc29a92.entry.js +5 -0
- package/dist/bromcom-ui/{p-219b3300.entry.js → p-8d1cd79f.entry.js} +1 -1
- package/dist/bromcom-ui/p-8fa7cdf0.entry.js +5 -0
- package/dist/bromcom-ui/p-94da7678.entry.js +5 -0
- package/dist/bromcom-ui/p-967df53d.entry.js +5 -0
- package/dist/bromcom-ui/p-970a4dd6.entry.js +5 -0
- package/dist/bromcom-ui/{p-57d0c6e7.entry.js → p-97df9122.entry.js} +1 -1
- package/dist/bromcom-ui/p-98c9ac37.entry.js +5 -0
- package/dist/bromcom-ui/{p-ee9ba6ba.entry.js → p-9a1dc17c.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1d77b8a6.js → p-9bef5a59.js} +1 -1
- package/dist/bromcom-ui/{p-4f86851c.entry.js → p-a173ed35.entry.js} +1 -1
- package/dist/bromcom-ui/p-a452bb5e.entry.js +5 -0
- package/dist/bromcom-ui/p-a5abe2d6.entry.js +5 -0
- package/dist/bromcom-ui/p-afa908e9.entry.js +5 -0
- package/dist/bromcom-ui/p-b175a1e1.entry.js +5 -0
- package/dist/bromcom-ui/p-b5531d54.entry.js +5 -0
- package/dist/bromcom-ui/p-ba8d8c03.entry.js +5 -0
- package/dist/bromcom-ui/p-bd2d9941.entry.js +5 -0
- package/dist/bromcom-ui/{p-5a9b78f6.entry.js → p-bdb012c3.entry.js} +1 -1
- package/dist/bromcom-ui/p-c3238361.entry.js +5 -0
- package/dist/bromcom-ui/{p-5001042f.js → p-c718f29a.js} +1 -1
- package/dist/bromcom-ui/{p-2b73f6b1.entry.js → p-c9235a71.entry.js} +1 -1
- package/dist/bromcom-ui/p-ceace9c7.entry.js +5 -0
- package/dist/bromcom-ui/p-d236a84f.entry.js +5 -0
- package/dist/bromcom-ui/p-d39369ff.entry.js +5 -0
- package/dist/bromcom-ui/{p-a368c325.entry.js → p-dae1cc7b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-b9352123.entry.js → p-dc306bd8.entry.js} +1 -1
- package/dist/bromcom-ui/{p-764ae0c1.js → p-de954bc9.js} +1 -1
- package/dist/bromcom-ui/{p-c3ef369d.entry.js → p-dfe8e354.entry.js} +1 -1
- package/dist/bromcom-ui/{p-568f4f45.entry.js → p-e02491ce.entry.js} +1 -1
- package/dist/bromcom-ui/{p-0b6afb97.entry.js → p-e2b3cb98.entry.js} +1 -1
- package/dist/bromcom-ui/p-e2e7d808.entry.js +5 -0
- package/dist/bromcom-ui/p-e30c5251.entry.js +5 -0
- package/dist/bromcom-ui/p-e3d32c37.entry.js +5 -0
- package/dist/bromcom-ui/{p-ac156ba4.entry.js → p-e422fc70.entry.js} +1 -1
- package/dist/bromcom-ui/p-e9295fec.entry.js +5 -0
- package/dist/bromcom-ui/p-ef6e4107.entry.js +5 -0
- package/dist/bromcom-ui/{p-4b1ed966.entry.js → p-f089027d.entry.js} +1 -1
- package/dist/bromcom-ui/{p-9979bd82.entry.js → p-f16ce14a.entry.js} +1 -1
- package/dist/bromcom-ui/p-f881a6b8.entry.js +5 -0
- package/dist/bromcom-ui/p-ffb57c2c.entry.js +5 -0
- package/dist/cjs/bcm-accordion.cjs.entry.js +3 -1
- package/dist/cjs/bcm-alert.cjs.entry.js +2 -1
- package/dist/cjs/bcm-attendance.cjs.entry.js +4 -2
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +5 -4
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +2 -1
- package/dist/cjs/bcm-button-group.cjs.entry.js +2 -1
- package/dist/cjs/{bcm-button.cjs.entry.js → bcm-button_2.cjs.entry.js} +127 -29
- package/dist/cjs/bcm-card.cjs.entry.js +3 -2
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +2 -1
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +3 -2
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +5 -4
- package/dist/cjs/bcm-chip.cjs.entry.js +4 -3
- package/dist/cjs/bcm-collapse.cjs.entry.js +2 -1
- package/dist/cjs/bcm-color-input.cjs.entry.js +5 -4
- package/dist/cjs/{bcm-colorful_7.cjs.entry.js → bcm-colorful_2.cjs.entry.js} +10 -904
- package/dist/cjs/bcm-colorpicker.cjs.entry.js +432 -0
- package/dist/cjs/bcm-date-picker.cjs.entry.js +2 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +3 -2
- package/dist/cjs/bcm-default.cjs.entry.js +3 -1
- package/dist/cjs/bcm-drawer.cjs.entry.js +5 -4
- package/dist/cjs/bcm-dropdown.cjs.entry.js +3 -2
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +3 -2
- package/dist/cjs/bcm-form-2.cjs.entry.js +2 -1
- package/dist/cjs/bcm-form.cjs.entry.js +1 -1
- package/dist/cjs/bcm-icon.cjs.entry.js +41 -0
- package/dist/cjs/bcm-input-custom.cjs.entry.js +73 -0
- package/dist/cjs/bcm-input.cjs.entry.js +369 -0
- package/dist/cjs/bcm-item.cjs.entry.js +3 -2
- package/dist/cjs/bcm-items.cjs.entry.js +3 -2
- package/dist/cjs/bcm-label_2.cjs.entry.js +149 -0
- package/dist/cjs/bcm-link.cjs.entry.js +1 -1
- package/dist/cjs/bcm-list.cjs.entry.js +14 -12
- package/dist/cjs/bcm-menu.cjs.entry.js +7 -6
- package/dist/cjs/bcm-modal.cjs.entry.js +2 -1
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +3 -2
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +3 -2
- package/dist/cjs/bcm-popover.cjs.entry.js +84 -34
- package/dist/cjs/bcm-progress.cjs.entry.js +3 -2
- package/dist/cjs/bcm-radio-group.cjs.entry.js +77 -211
- package/dist/cjs/bcm-radio.cjs.entry.js +36 -77
- package/dist/cjs/bcm-range.cjs.entry.js +2 -1
- package/dist/cjs/bcm-search.cjs.entry.js +6 -4
- package/dist/cjs/bcm-select.cjs.entry.js +1 -1
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -1
- package/dist/cjs/bcm-step.cjs.entry.js +3 -2
- package/dist/cjs/bcm-stepper.cjs.entry.js +56 -29
- package/dist/cjs/bcm-switch.cjs.entry.js +3 -2
- package/dist/cjs/bcm-tab-group.cjs.entry.js +86 -98
- 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-tag.cjs.entry.js +3 -2
- package/dist/cjs/bcm-text.cjs.entry.js +2 -1
- package/dist/cjs/bcm-textarea.cjs.entry.js +3 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +2 -1
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/color-helper-09aa652d.js +86 -0
- package/dist/cjs/{color-helper-c9882bd8.js → colors-7cc2aee2.js} +1 -78
- package/dist/cjs/{generate-dbed3a63.js → generate-b2779357.js} +118 -16
- package/dist/cjs/{input-template-79002b88.js → input-template-ef0dff49.js} +2 -2
- package/dist/cjs/{json-parse-decarator-65760934.js → json-parse-decarator-6daa901d.js} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-d77c9113.js → number-helper-c0a3073d.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +3 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +2 -1
- package/dist/cjs/{stepper-states-fae35b0d.js → stepper-states-7458308e.js} +1 -1
- package/dist/cjs/{tooltip-helper-7beca613.js → tooltip-helper-d4c09d59.js} +38 -8
- package/dist/cjs/{validators-95afb38d.js → validators-9db90679.js} +1 -1
- package/dist/collection/collection-manifest.json +5 -1
- package/dist/collection/components/atoms/button/button.js +1 -1
- package/dist/collection/components/atoms/chip/chip.js +1 -1
- package/dist/collection/components/atoms/link/link.js +1 -1
- package/dist/collection/components/external-source/bcm-toast-helper.js +20 -0
- package/dist/collection/components/external-source/test.js/bcm-toast-helper.js +20 -0
- package/dist/collection/components/molecules/checkbox/checkbox.css +1 -0
- package/dist/collection/components/molecules/checkbox/checkbox.js +1 -1
- package/dist/collection/components/molecules/input/input.js +5 -2
- package/dist/collection/components/molecules/menu/menu.js +1 -1
- package/dist/collection/components/molecules/popconfirm/popconfirm.js +1 -1
- package/dist/collection/components/molecules/popover/popover.js +107 -2
- package/dist/collection/components/molecules/radio/{group.js → radio-group.js} +163 -246
- package/dist/collection/components/molecules/radio/radio.js +42 -132
- package/dist/collection/components/molecules/search/search.js +20 -1
- package/dist/collection/components/molecules/stepper/stepper.js +55 -35
- package/dist/collection/components/molecules/switch/switch.js +1 -1
- package/dist/collection/components/molecules/tab-group/tab-group.js +98 -100
- 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/tooltip/tooltip.js +109 -2
- 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 -0
- package/dist/collection/components/organism/list/list.js +21 -2
- 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/toast/toast.js +365 -0
- package/dist/collection/components/other_deprecated/select/select.js +1 -1
- package/dist/collection/global/components/_checkbox.css +1 -0
- 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 +34 -5
- 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 +1 -1
- package/dist/collection/templates/list-item-template.js +1 -1
- package/dist/collection/templates/list-template.js +2 -2
- package/dist/components/bcm-attendance.js +1 -1
- package/dist/components/bcm-chip.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-list.js +10 -8
- package/dist/components/bcm-popconfirm.js +1 -1
- package/dist/components/bcm-popover.js +83 -30
- package/dist/components/bcm-radio-group.js +88 -230
- package/dist/components/bcm-select.js +1 -1
- package/dist/components/bcm-stepper.js +51 -33
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-group.js +84 -98
- 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 +1 -1
- 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-toast.d.ts +11 -0
- package/dist/components/bcm-toast.js +140 -0
- package/dist/components/button.js +2 -2
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +2 -2
- package/dist/components/color-helper.js +1 -405
- package/dist/components/colors2.js +411 -0
- package/dist/components/datetime-picker.js +1 -1
- package/dist/components/generate.js +117 -16
- package/dist/components/index.d.ts +5 -1
- package/dist/components/index.js +4 -0
- package/dist/components/input-template.js +2 -15
- package/dist/components/input.js +5 -2
- package/dist/components/link.js +1 -1
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +38 -82
- package/dist/components/search.js +3 -1
- package/dist/components/tooltip-helper.js +34 -4
- package/dist/components/tooltip.js +29 -3
- 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-accordion.entry.js +5 -3
- package/dist/esm/bcm-alert.entry.js +5 -4
- package/dist/esm/bcm-attendance.entry.js +6 -4
- package/dist/esm/bcm-autocomplete.entry.js +2 -2
- package/dist/esm/bcm-avatar_2.entry.js +10 -9
- 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 +4 -3
- package/dist/esm/{bcm-button.entry.js → bcm-button_2.entry.js} +125 -28
- package/dist/esm/bcm-card.entry.js +7 -6
- package/dist/esm/bcm-checkbox-group.entry.js +8 -7
- package/dist/esm/bcm-checkbox-lite_9.entry.js +6 -5
- package/dist/esm/bcm-checkbox_2.entry.js +10 -9
- package/dist/esm/bcm-chip.entry.js +7 -6
- package/dist/esm/bcm-collapse-group.entry.js +3 -3
- package/dist/esm/bcm-collapse.entry.js +4 -3
- package/dist/esm/bcm-color-input.entry.js +8 -7
- package/dist/esm/{bcm-colorful_7.entry.js → bcm-colorful_2.entry.js} +16 -905
- package/dist/esm/bcm-colorpicker.entry.js +428 -0
- package/dist/esm/bcm-date-picker.entry.js +5 -4
- package/dist/esm/bcm-datetime-picker.entry.js +9 -8
- package/dist/esm/bcm-default.entry.js +5 -3
- package/dist/esm/bcm-drawer.entry.js +9 -8
- package/dist/esm/bcm-dropdown.entry.js +5 -4
- package/dist/esm/bcm-error-layout.entry.js +2 -2
- package/dist/esm/bcm-expansion-panel.entry.js +6 -5
- package/dist/esm/bcm-form-2.entry.js +4 -3
- package/dist/esm/bcm-form-group.entry.js +2 -2
- package/dist/esm/bcm-form.entry.js +4 -4
- package/dist/esm/bcm-icon.entry.js +37 -0
- package/dist/esm/bcm-input-custom.entry.js +69 -0
- package/dist/esm/bcm-input.entry.js +365 -0
- package/dist/esm/bcm-item.entry.js +6 -5
- package/dist/esm/bcm-items.entry.js +5 -4
- package/dist/esm/bcm-label_2.entry.js +144 -0
- package/dist/esm/bcm-link.entry.js +3 -3
- package/dist/esm/bcm-list.entry.js +22 -20
- package/dist/esm/bcm-menu.entry.js +11 -10
- package/dist/esm/bcm-message.entry.js +2 -2
- package/dist/esm/bcm-modal.entry.js +5 -4
- 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 +3 -3
- package/dist/esm/bcm-popconfirm-box.entry.js +6 -5
- package/dist/esm/bcm-popconfirm.entry.js +5 -4
- package/dist/esm/bcm-popover.entry.js +87 -37
- package/dist/esm/bcm-progress.entry.js +6 -5
- package/dist/esm/bcm-radio-group.entry.js +74 -208
- package/dist/esm/bcm-radio.entry.js +37 -78
- package/dist/esm/bcm-range.entry.js +5 -4
- package/dist/esm/bcm-result.entry.js +2 -2
- package/dist/esm/bcm-search.entry.js +10 -8
- 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 +4 -4
- package/dist/esm/bcm-skeleton.entry.js +5 -3
- package/dist/esm/bcm-step.entry.js +6 -5
- package/dist/esm/bcm-stepper.entry.js +57 -30
- package/dist/esm/bcm-switch.entry.js +7 -6
- package/dist/esm/bcm-tab-group.entry.js +87 -99
- 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 +2 -2
- package/dist/esm/bcm-table.entry.js +3 -3
- package/dist/esm/bcm-tabs-content.entry.js +3 -3
- package/dist/esm/bcm-tabs.entry.js +3 -3
- package/dist/esm/bcm-tag.entry.js +6 -5
- package/dist/esm/bcm-text.entry.js +6 -5
- package/dist/esm/bcm-textarea.entry.js +7 -6
- 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-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +2 -2
- package/dist/esm/{caption-template-2ef181f9.js → caption-template-389f5bd6.js} +1 -1
- package/dist/esm/color-helper-2b6697b6.js +84 -0
- package/dist/esm/{color-helper-b5e9aa56.js → colors-39b87f63.js} +1 -78
- package/dist/esm/{element-dragger-7ea06c76.js → element-dragger-89bb52fd.js} +1 -1
- package/dist/esm/{generate-1e46485f.js → generate-fbf3c64b.js} +118 -16
- package/dist/esm/{index-662f4cf5.js → index-6e2d80d7.js} +1 -1
- package/dist/esm/{index-cb0cdd87.js → index-8b349654.js} +1 -1
- package/dist/esm/{input-template-844dc974.js → input-template-f5b003c0.js} +3 -3
- package/dist/esm/{is-load-decorator-0a59085d.js → is-load-decorator-66e19e04.js} +1 -1
- package/dist/esm/{json-parse-decarator-00aa321e.js → json-parse-decarator-f023562b.js} +2 -2
- package/dist/esm/{label-template-d8687efd.js → label-template-eed2dd69.js} +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{number-helper-f2cdb65b.js → number-helper-b69dc985.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +7 -6
- package/dist/esm/old-bcm-popover.entry.js +4 -3
- package/dist/esm/{slot-template-5b2da1d3.js → slot-template-64b41ee5.js} +1 -1
- package/dist/esm/{stepper-states-822ebfe9.js → stepper-states-7087f0cb.js} +3 -3
- package/dist/esm/{tooltip-helper-aecc821b.js → tooltip-helper-31ca799b.js} +39 -9
- package/dist/esm/{utils-b3338faf.js → utils-57652744.js} +1 -1
- package/dist/esm/{validators-1b3c085a.js → validators-d3c37e80.js} +1 -1
- package/dist/types/components/external-source/bcm-toast-helper.d.ts +12 -0
- package/dist/types/components/external-source/test.js/bcm-toast-helper.d.ts +12 -0
- package/dist/types/components/molecules/popover/popover.d.ts +10 -1
- package/dist/types/components/molecules/radio/{group.d.ts → radio-group.d.ts} +19 -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/stepper/stepper.d.ts +3 -3
- package/dist/types/components/molecules/tab-group/tab-group.d.ts +7 -4
- 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/tooltip/tooltip.d.ts +10 -1
- 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/toast/toast.d.ts +25 -0
- package/dist/types/components.d.ts +176 -42
- 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 +13 -3
- package/dist/types/index.d.ts +1 -1
- 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 +8 -5
- package/dist/bromcom-ui/p-053e9893.js +0 -5
- package/dist/bromcom-ui/p-07ebe62b.entry.js +0 -10
- package/dist/bromcom-ui/p-08c22a43.entry.js +0 -5
- package/dist/bromcom-ui/p-0a6cf248.entry.js +0 -5
- package/dist/bromcom-ui/p-15dcafdc.entry.js +0 -5
- package/dist/bromcom-ui/p-1683b3c0.entry.js +0 -5
- package/dist/bromcom-ui/p-1eaffb4d.entry.js +0 -5
- package/dist/bromcom-ui/p-2d75fb9d.entry.js +0 -5
- package/dist/bromcom-ui/p-2dc55ebd.entry.js +0 -5
- package/dist/bromcom-ui/p-2de23a54.entry.js +0 -5
- package/dist/bromcom-ui/p-3118bba1.entry.js +0 -5
- package/dist/bromcom-ui/p-3f3bb4b0.entry.js +0 -5
- package/dist/bromcom-ui/p-3f4192c8.entry.js +0 -5
- package/dist/bromcom-ui/p-40736ee7.entry.js +0 -5
- package/dist/bromcom-ui/p-44843df2.entry.js +0 -5
- package/dist/bromcom-ui/p-612f6cbc.entry.js +0 -5
- package/dist/bromcom-ui/p-69bffd70.entry.js +0 -5
- package/dist/bromcom-ui/p-6c77955c.entry.js +0 -5
- package/dist/bromcom-ui/p-6f98089c.entry.js +0 -5
- package/dist/bromcom-ui/p-6fcb72c6.entry.js +0 -5
- package/dist/bromcom-ui/p-73076cdb.entry.js +0 -5
- package/dist/bromcom-ui/p-751ee360.entry.js +0 -5
- package/dist/bromcom-ui/p-7b7ae0f3.entry.js +0 -5
- package/dist/bromcom-ui/p-7c318b12.js +0 -5
- package/dist/bromcom-ui/p-7dfb39a6.js +0 -5
- package/dist/bromcom-ui/p-7ea09be3.js +0 -5
- package/dist/bromcom-ui/p-87de49b4.entry.js +0 -5
- package/dist/bromcom-ui/p-8914af05.entry.js +0 -5
- package/dist/bromcom-ui/p-918acf86.entry.js +0 -5
- package/dist/bromcom-ui/p-962d32ef.entry.js +0 -5
- package/dist/bromcom-ui/p-968e2d79.js +0 -5
- package/dist/bromcom-ui/p-9d349123.entry.js +0 -5
- package/dist/bromcom-ui/p-a3864e85.entry.js +0 -5
- package/dist/bromcom-ui/p-a5077dec.entry.js +0 -5
- package/dist/bromcom-ui/p-a8d1397d.js +0 -5
- package/dist/bromcom-ui/p-adf96c3b.entry.js +0 -5
- package/dist/bromcom-ui/p-b00d3d27.entry.js +0 -5
- package/dist/bromcom-ui/p-c421b369.entry.js +0 -5
- package/dist/bromcom-ui/p-c9e1f317.entry.js +0 -5
- package/dist/bromcom-ui/p-cd8998bd.entry.js +0 -5
- package/dist/bromcom-ui/p-cf5ad8a8.entry.js +0 -5
- package/dist/bromcom-ui/p-d1bd9b8d.entry.js +0 -5
- package/dist/bromcom-ui/p-dddbb790.entry.js +0 -5
- package/dist/bromcom-ui/p-de332baa.entry.js +0 -5
- package/dist/bromcom-ui/p-e258c81c.entry.js +0 -5
- package/dist/bromcom-ui/p-e9cea37d.entry.js +0 -5
- package/dist/bromcom-ui/p-ea9667ba.entry.js +0 -5
- package/dist/bromcom-ui/p-f7e85c95.entry.js +0 -5
- package/dist/bromcom-ui/p-f9608226.entry.js +0 -5
- package/dist/bromcom-ui/p-fa5118d5.entry.js +0 -5
- package/dist/bromcom-ui/p-faee01b2.entry.js +0 -5
- package/dist/collection/components/molecules/radio/group.css +0 -802
- package/dist/collection/components/molecules/radio/radio.css +0 -1286
- package/dist/collection/components/molecules/radio/types.js +0 -30
- package/dist/collection/components/molecules/states/radio-group.states.js +0 -107
- package/dist/types/components/molecules/radio/types.d.ts +0 -29
- package/dist/types/components/molecules/states/radio-group.states.d.ts +0 -48
|
@@ -7,22 +7,32 @@ export declare class Tooltip {
|
|
|
7
7
|
el: HTMLElement;
|
|
8
8
|
trigger: string;
|
|
9
9
|
size: string;
|
|
10
|
-
|
|
10
|
+
openDelay: number;
|
|
11
|
+
closeDelay: number;
|
|
12
|
+
emitShow: () => void;
|
|
13
|
+
emitHide: () => void;
|
|
14
|
+
constructor({ message, targetId, placement, color, trigger, size, openDelay, closeDelay, emitShow, emitHide, }: {
|
|
11
15
|
message: any;
|
|
12
16
|
targetId: any;
|
|
13
17
|
placement?: string;
|
|
14
18
|
color?: string;
|
|
15
19
|
trigger?: string;
|
|
16
20
|
size?: string;
|
|
21
|
+
openDelay?: number;
|
|
22
|
+
closeDelay?: number;
|
|
23
|
+
emitShow?: () => void;
|
|
24
|
+
emitHide?: () => void;
|
|
17
25
|
});
|
|
26
|
+
destroy: () => void;
|
|
18
27
|
private bgColor;
|
|
19
28
|
private target;
|
|
20
29
|
private sizeClass;
|
|
21
30
|
private init;
|
|
22
31
|
update: () => void;
|
|
23
32
|
listener: () => void;
|
|
33
|
+
removeListener: () => void;
|
|
24
34
|
private calculatePosition;
|
|
25
|
-
show: () => void
|
|
26
|
-
hide: () => void
|
|
35
|
+
show: () => Promise<void>;
|
|
36
|
+
hide: () => Promise<void>;
|
|
27
37
|
toggle: () => void;
|
|
28
38
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Components, JSX } from
|
|
1
|
+
export { Components, JSX } from "./components";
|
|
@@ -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
|
+
exports.__esModule = 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
|
+
exports.__esModule = 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.
|
|
3
|
+
"version": "2.8.0-rc.1",
|
|
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,8 @@
|
|
|
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"
|
|
35
38
|
},
|
|
36
39
|
"license": "MIT",
|
|
37
40
|
"devDependencies": {
|
|
@@ -56,7 +59,7 @@
|
|
|
56
59
|
"@storybook/manager-webpack4": "^6.5.16",
|
|
57
60
|
"@storybook/manager-webpack5": "^6.5.16",
|
|
58
61
|
"@storybook/testing-library": "^0.0.13",
|
|
59
|
-
"@types/node": "^18.
|
|
62
|
+
"@types/node": "^18.15.3",
|
|
60
63
|
"babel-loader": "^8.2.0",
|
|
61
64
|
"classnames": "^2.2.6",
|
|
62
65
|
"cpy-cli": "^4.2.0",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
* Built with Stencil
|
|
3
|
-
* Copyright (c) Bromcom.
|
|
4
|
-
*/
|
|
5
|
-
import{h as e}from"./p-ba062b3c.js";import{c as m}from"./p-d5b08a77.js";import{B as r}from"./p-a429e85b.js";import{S as a}from"./p-5775dcea.js";const o=({required:o,value:t,size:s,form:l,htmlFor:b,type:p})=>{const c=m("bcm-label__text","bcm-label__text-"+(p=p||r.Status.default),"bcm-label__size-"+(s=s||"medium"));return e("label",{form:l,htmlFor:b,class:c}," ",e(a,{value:t})," ",o&&"*")};export{o as L}
|