bromcom-ui 2.12.3 → 3.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bromcom-ui/bromcom-ui.css +1 -1
- package/dist/bromcom-ui/bromcom-ui.esm.js +1 -1
- package/dist/bromcom-ui/{p-7c5763cc.entry.js → p-03337609.entry.js} +1 -1
- package/dist/bromcom-ui/{p-4ca7e0e7.entry.js → p-10687c62.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c49b6287.entry.js → p-19ed830b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-32c55505.entry.js → p-1a7e1a74.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d59d9687.entry.js → p-1fbec9e4.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e0cc8f86.entry.js → p-2afde14e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-beaec5b8.js → p-2d0ff35e.js} +1 -1
- package/dist/bromcom-ui/{p-21bacc22.js → p-31a60231.js} +1 -1
- package/dist/bromcom-ui/{p-67343ad8.entry.js → p-3b079331.entry.js} +1 -1
- package/dist/bromcom-ui/{p-6bdf0cbc.js → p-3be27626.js} +1 -1
- package/dist/bromcom-ui/{p-6bea284a.js → p-499d8454.js} +1 -1
- package/dist/bromcom-ui/{p-a6aa173f.entry.js → p-4a71c61a.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3f34cf2a.entry.js → p-4cc12992.entry.js} +1 -1
- package/dist/bromcom-ui/{p-c77541f4.js → p-4d2bf0e7.js} +2 -2
- package/dist/bromcom-ui/p-556010cb.js +5 -0
- package/dist/bromcom-ui/{p-3aaa60b9.entry.js → p-56b9cdf7.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1b558b0f.entry.js → p-583982a6.entry.js} +1 -1
- package/dist/bromcom-ui/{p-ef5cba72.js → p-59dc2542.js} +1 -1
- package/dist/bromcom-ui/{p-d623e891.entry.js → p-5adcfd9b.entry.js} +1 -1
- package/dist/bromcom-ui/p-5ea9881d.entry.js +5 -0
- package/dist/bromcom-ui/{p-375e9750.entry.js → p-5f47e061.entry.js} +1 -1
- package/dist/bromcom-ui/p-64fad38b.js +11 -0
- package/dist/bromcom-ui/{p-d6b1465a.entry.js → p-6d42e250.entry.js} +1 -1
- package/dist/bromcom-ui/p-6f11eb8e.entry.js +5 -0
- package/dist/bromcom-ui/{p-8c018ae0.js → p-6f2e4c9b.js} +1 -1
- package/dist/bromcom-ui/{p-7e44e6b5.js → p-6f861fed.js} +1 -1
- package/dist/bromcom-ui/{p-d1298c40.js → p-7b21fcb9.js} +1 -1
- package/dist/bromcom-ui/p-815f884d.entry.js +5 -0
- package/dist/bromcom-ui/{p-6657830f.js → p-85eedabc.js} +1 -1
- package/dist/bromcom-ui/{p-8fa7d3c3.entry.js → p-8c009880.entry.js} +1 -1
- package/dist/bromcom-ui/p-8d0d0c5b.entry.js +5 -0
- package/dist/bromcom-ui/{p-9850cbce.js → p-8e5e362a.js} +1 -1
- package/dist/bromcom-ui/{p-0715c523.entry.js → p-8f062608.entry.js} +1 -1
- package/dist/bromcom-ui/p-9cbf3f1d.entry.js +16 -0
- package/dist/bromcom-ui/{p-aeb4be41.js → p-a2df6c19.js} +1 -1
- package/dist/bromcom-ui/p-a2e0a182.entry.js +5 -0
- package/dist/bromcom-ui/{p-2b42d77e.entry.js → p-a6b4a46d.entry.js} +1 -1
- package/dist/bromcom-ui/p-a6b696de.js +5 -0
- package/dist/bromcom-ui/p-a947136c.entry.js +5 -0
- package/dist/bromcom-ui/{p-bb6f4952.entry.js → p-ac720743.entry.js} +1 -1
- package/dist/bromcom-ui/{p-3288f732.entry.js → p-b3af25ef.entry.js} +1 -1
- package/dist/bromcom-ui/{p-77ef609e.entry.js → p-b46e368e.entry.js} +1 -1
- package/dist/bromcom-ui/{p-d53c9b92.entry.js → p-bae91cbf.entry.js} +1 -1
- package/dist/bromcom-ui/{p-1141f58d.entry.js → p-c10b25e2.entry.js} +1 -1
- package/dist/bromcom-ui/{p-59f7fa84.entry.js → p-c4bf7f7e.entry.js} +1 -1
- package/dist/bromcom-ui/p-c4d524b5.entry.js +5 -0
- package/dist/bromcom-ui/{p-9b59c689.entry.js → p-c5bb29d0.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5d670fd7.entry.js → p-cc70861b.entry.js} +1 -1
- package/dist/bromcom-ui/{p-e8eaa3bb.entry.js → p-d0e56f5f.entry.js} +1 -1
- package/dist/bromcom-ui/{p-5d266fd0.entry.js → p-d49d3d72.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a0d6d680.js → p-d65bc842.js} +1 -1
- package/dist/bromcom-ui/{p-cb7d5481.entry.js → p-dc2d5b2f.entry.js} +1 -1
- package/dist/bromcom-ui/p-dc73abe2.js +5 -0
- package/dist/bromcom-ui/{p-170cf07d.js → p-e037ee2b.js} +1 -1
- package/dist/bromcom-ui/p-e46fde49.js +5 -0
- package/dist/bromcom-ui/{p-083126ea.entry.js → p-e499306b.entry.js} +1 -1
- package/dist/bromcom-ui/p-ebd9132c.entry.js +5 -0
- package/dist/bromcom-ui/{p-1812bfb7.entry.js → p-f5a8e601.entry.js} +1 -1
- package/dist/bromcom-ui/{p-19b32974.entry.js → p-f66c4afa.entry.js} +1 -1
- package/dist/bromcom-ui/{p-a486613b.entry.js → p-fdd4cabe.entry.js} +1 -1
- package/dist/cjs/bcm-accordion_68.cjs.entry.js +47182 -0
- package/dist/cjs/bcm-attendance-actions-comment.cjs.entry.js +3 -3
- package/dist/cjs/bcm-attendance-actions-dropdown.cjs.entry.js +3 -3
- package/dist/cjs/bcm-breadcrumb.cjs.entry.js +1 -1
- package/dist/cjs/bcm-caption.cjs.entry.js +4 -4
- package/dist/cjs/bcm-card.cjs.entry.js +1 -1
- package/dist/cjs/bcm-date-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-datetime-picker.cjs.entry.js +2 -2
- package/dist/cjs/bcm-default.cjs.entry.js +1 -1
- package/dist/cjs/bcm-form-2.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-2.cjs.entry.js +4 -4
- package/dist/cjs/bcm-input-custom.cjs.entry.js +1 -1
- package/dist/cjs/bcm-input-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/bcm-modal-2-footer.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2-header.cjs.entry.js +3 -3
- package/dist/cjs/bcm-modal-2.cjs.entry.js +3 -3
- package/dist/cjs/bcm-number-input.cjs.entry.js +5 -5
- package/dist/cjs/bcm-skeleton.cjs.entry.js +3 -3
- package/dist/cjs/bcm-table.cjs.entry.js +3 -3
- package/dist/cjs/bcm-tag.cjs.entry.js +2 -2
- package/dist/cjs/bcm-time-picker.cjs.entry.js +1 -1
- package/dist/cjs/bcm-toast.cjs.entry.js +17 -17
- package/dist/cjs/bromcom-ui.cjs.js +1 -1
- package/dist/cjs/{caption-template-85a18b6d.js → caption-template-f8a78504.js} +9 -9
- package/dist/cjs/{generate-b43c3d3b.js → generate-e3956756.js} +13 -13
- package/dist/cjs/{input.style-b5676e6a.js → input.style-bee84fb0.js} +1 -1
- package/dist/cjs/{label-template-e83447b5.js → label-template-fc301e0c.js} +4 -4
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{number-helper-a708fa79.js → number-helper-43361f4e.js} +1 -1
- package/dist/cjs/old-bcm-popover-box.cjs.entry.js +2 -2
- package/dist/cjs/old-bcm-popover.cjs.entry.js +1 -1
- package/dist/cjs/{validators-84d8ae28.js → validators-9a6ae72d.js} +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/atoms/avatar/avatar.js +1 -1
- package/dist/collection/components/atoms/avatar/avatar.style.js +4 -4
- package/dist/collection/components/atoms/badge/badge.style.js +8 -8
- package/dist/collection/components/atoms/button/button.css +90 -92
- package/dist/collection/components/atoms/button/button.js +45 -46
- package/dist/collection/components/atoms/chip/chip.css +27 -29
- package/dist/collection/components/atoms/chip/chip.js +10 -11
- package/dist/collection/components/atoms/divider/divider.css +4 -4
- package/dist/collection/components/atoms/link/link.css +10 -11
- package/dist/collection/components/molecules/accordion/accordion.css +23 -0
- package/dist/collection/components/molecules/accordion/accordion.js +1 -1
- package/dist/collection/components/molecules/alert/alert.css +28 -24
- package/dist/collection/components/molecules/alert/alert.js +26 -36
- package/dist/collection/components/molecules/button-group/button-group.css +15 -23
- package/dist/collection/components/molecules/checkbox/checkbox.css +15 -15
- package/dist/collection/components/molecules/checkbox/checkbox.js +8 -9
- package/dist/collection/components/molecules/color-input/color-input.js +1 -1
- package/dist/collection/components/molecules/empty/empty.js +1 -1
- package/dist/collection/components/molecules/error-layout/error-layout.css +13 -15
- package/dist/collection/components/molecules/error-layout/error-layout.js +1 -1
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.css +25 -22
- package/dist/collection/components/molecules/expansion-panel/expansion-panel.js +1 -1
- package/dist/collection/components/molecules/input/input.css +21 -13
- package/dist/collection/components/molecules/input/input.style.js +1 -1
- package/dist/collection/components/molecules/menu/menu.css +29 -23
- package/dist/collection/components/molecules/modal/modal.css +21 -27
- package/dist/collection/components/molecules/radio/radio.js +10 -10
- package/dist/collection/components/molecules/range/range.css +5 -8
- package/dist/collection/components/molecules/search/search.css +21 -13
- package/dist/collection/components/molecules/stepper/stepper.css +6 -5
- package/dist/collection/components/molecules/switch/switch.css +22 -21
- package/dist/collection/components/molecules/tab-group/tab-item-header.js +6 -6
- package/dist/collection/components/molecules/textarea/textarea.css +21 -13
- package/dist/collection/components/organism/list/list.css +44 -44
- package/dist/collection/components/other/shortcut/shortcut.js +4 -4
- package/dist/collection/components/other/toast/toast.js +16 -16
- package/dist/collection/components/third-parts/colorful/colorful.css +21 -13
- package/dist/collection/components/third-parts/rc-picker/rc-picker.css +13 -9
- package/dist/collection/global/components/_checkbox.css +15 -15
- package/dist/collection/helper/popover-helper.js +5 -5
- package/dist/collection/helper/tooltip-helper.js +6 -6
- package/dist/collection/templates/caption-template.js +9 -9
- package/dist/collection/templates/input-template.js +1 -1
- package/dist/collection/templates/label-template.js +4 -4
- package/dist/collection/templates/step-template.js +4 -4
- package/dist/components/Overflow.js +141 -83
- package/dist/components/avatar.js +6 -6
- package/dist/components/badge.js +9 -9
- package/dist/components/bcm-accordion.js +2 -2
- package/dist/components/bcm-alert.js +28 -41
- package/dist/components/bcm-attendance-actions-comment.js +1 -1
- package/dist/components/bcm-attendance-actions-dropdown.js +1 -1
- package/dist/components/bcm-attendance-actions.js +1 -1
- package/dist/components/bcm-button-group.js +1 -1
- package/dist/components/bcm-checkbox-group.js +1 -1
- package/dist/components/bcm-color-input.js +1 -1
- package/dist/components/bcm-error-layout.js +2 -2
- package/dist/components/bcm-expansion-panel.js +2 -2
- package/dist/components/bcm-input-2.js +1 -1
- package/dist/components/bcm-input-dropdown.js +1 -1
- package/dist/components/bcm-modal.js +1 -1
- package/dist/components/bcm-popover.js +5 -5
- package/dist/components/bcm-range.js +1 -1
- package/dist/components/bcm-shortcut.js +4 -4
- package/dist/components/bcm-stepper.js +6 -6
- package/dist/components/bcm-switch.js +1 -1
- package/dist/components/bcm-tab-item-header.js +6 -6
- package/dist/components/bcm-toast.js +16 -16
- package/dist/components/button.js +47 -48
- package/dist/components/caption-template.js +9 -9
- package/dist/components/checkbox-lite.js +1 -1
- package/dist/components/checkbox.js +9 -10
- package/dist/components/chip.js +11 -12
- package/dist/components/colorful.js +1 -1
- package/dist/components/divider.js +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/index4.js +2549 -171
- package/dist/components/index5.js +171 -2549
- package/dist/components/input-template.js +1 -1
- package/dist/components/input.js +1 -1
- package/dist/components/input.style.js +2 -2
- package/dist/components/label.js +4 -4
- package/dist/components/link.js +1 -1
- package/dist/components/list.js +2 -2
- package/dist/components/menu.js +1 -1
- package/dist/components/radio.js +10 -10
- package/dist/components/rc-picker.js +2651 -2404
- package/dist/components/search.js +2 -2
- package/dist/components/skeleton.js +1 -1
- package/dist/components/step.js +1 -1
- package/dist/components/textarea.js +1 -1
- package/dist/components/tooltip-helper.js +6 -6
- package/dist/esm/{_commonjsHelpers-82aa9212.js → _commonjsHelpers-7002e5de.js} +1 -1
- package/dist/esm/bcm-accordion_68.entry.js +47111 -0
- package/dist/esm/bcm-attendance-actions-comment.entry.js +10 -10
- package/dist/esm/bcm-attendance-actions-dropdown.entry.js +11 -11
- package/dist/esm/bcm-autocomplete.entry.js +3 -3
- package/dist/esm/bcm-box.entry.js +1 -1
- package/dist/esm/bcm-breadcrumb.entry.js +5 -5
- package/dist/esm/bcm-caption.entry.js +12 -12
- package/dist/esm/bcm-card.entry.js +9 -9
- package/dist/esm/bcm-colorpicker.entry.js +5 -5
- package/dist/esm/bcm-content.entry.js +1 -1
- package/dist/esm/bcm-date-picker.entry.js +7 -7
- package/dist/esm/bcm-datetime-picker.entry.js +11 -11
- package/dist/esm/bcm-default.entry.js +4 -4
- package/dist/esm/bcm-form-2.entry.js +6 -6
- package/dist/esm/bcm-form-group.entry.js +1 -1
- package/dist/esm/bcm-input-2.entry.js +9 -9
- package/dist/esm/bcm-input-custom.entry.js +5 -5
- package/dist/esm/bcm-input-dropdown.entry.js +12 -12
- package/dist/esm/bcm-message.entry.js +3 -3
- package/dist/esm/bcm-modal-2-footer.entry.js +11 -11
- package/dist/esm/bcm-modal-2-header.entry.js +10 -10
- package/dist/esm/bcm-modal-2.entry.js +11 -11
- package/dist/esm/bcm-notification.entry.js +3 -3
- package/dist/esm/bcm-number-input.entry.js +13 -13
- package/dist/esm/bcm-overlay_2.entry.js +4 -4
- package/dist/esm/bcm-react-number.entry.js +3 -3
- package/dist/esm/bcm-result.entry.js +3 -3
- package/dist/esm/bcm-select-group.entry.js +3 -3
- package/dist/esm/bcm-select-option.entry.js +3 -3
- package/dist/esm/bcm-skeleton.entry.js +10 -10
- package/dist/esm/bcm-tab-pane.entry.js +3 -3
- package/dist/esm/bcm-table.entry.js +11 -11
- package/dist/esm/bcm-tabs-content.entry.js +4 -4
- package/dist/esm/bcm-tag.entry.js +7 -7
- package/dist/esm/bcm-time-picker.entry.js +7 -7
- package/dist/esm/bcm-timeline-item.entry.js +3 -3
- package/dist/esm/bcm-timeline.entry.js +3 -3
- package/dist/esm/bcm-toast.entry.js +23 -23
- package/dist/esm/bcm-treeview-group.entry.js +1 -1
- package/dist/esm/bromcom-ui.js +4 -4
- package/dist/esm/{caption-template-d7953d13.js → caption-template-16dd9444.js} +11 -11
- package/dist/esm/{color-helper-74614f24.js → color-helper-ba15b0d8.js} +2 -2
- package/dist/esm/{colors-dd598eea.js → colors-ed4e7579.js} +1 -1
- package/dist/esm/{element-dragger-89bb52fd.js → element-dragger-b75266e6.js} +1 -1
- package/dist/esm/{generate-d009624a.js → generate-d2495751.js} +14 -14
- package/dist/esm/{global-f1d14ca8.js → global-88abdcdc.js} +1 -1
- package/dist/esm/{index-f549811f.js → index-00c8a8f7.js} +1 -1
- package/dist/esm/{index-036974d7.js → index-0d3a56ec.js} +1 -1
- package/dist/esm/{index-0615c2b8.js → index-4614b7f0.js} +1 -1
- package/dist/esm/{input.style-e855c0f3.js → input.style-0ddc0073.js} +1 -1
- package/dist/esm/{is-load-decorator-8277e3b8.js → is-load-decorator-b8ca22f2.js} +1 -1
- package/dist/esm/{label-template-a26f76c0.js → label-template-4c3797f4.js} +6 -6
- package/dist/esm/loader.js +4 -4
- package/dist/esm/{number-helper-b7a7a318.js → number-helper-a1e5c9e5.js} +1 -1
- package/dist/esm/old-bcm-popover-box.entry.js +10 -10
- package/dist/esm/old-bcm-popover.entry.js +5 -5
- package/dist/esm/{popover-placement-d12fec40.js → popover-placement-2bf3a181.js} +1 -1
- package/dist/esm/{slot-template-2a19b2db.js → slot-template-e0202c5a.js} +2 -2
- package/dist/esm/{string-helper-3592bdc2.js → string-helper-69203215.js} +1 -1
- package/dist/esm/{utils-57652744.js → utils-7727d09e.js} +1 -1
- package/dist/esm/{validators-5519219e.js → validators-57df25a7.js} +1 -1
- package/dist/types/components/atoms/avatar/avatar.style.d.ts +21 -21
- package/dist/types/components/molecules/alert/alert.d.ts +1 -3
- package/dist/types/components.d.ts +0 -2
- package/package.json +1 -1
- package/dist/bromcom-ui/p-01dde034.entry.js +0 -5
- package/dist/bromcom-ui/p-01ffa0a9.entry.js +0 -5
- package/dist/bromcom-ui/p-096837b5.entry.js +0 -5
- package/dist/bromcom-ui/p-09cb8ce4.entry.js +0 -5
- package/dist/bromcom-ui/p-0a3ce86e.entry.js +0 -5
- package/dist/bromcom-ui/p-1345d51b.entry.js +0 -5
- package/dist/bromcom-ui/p-177e1e89.entry.js +0 -5
- package/dist/bromcom-ui/p-228c74e9.entry.js +0 -5
- package/dist/bromcom-ui/p-270e1b24.entry.js +0 -5
- package/dist/bromcom-ui/p-29bc95a1.entry.js +0 -5
- package/dist/bromcom-ui/p-2b02c9d5.entry.js +0 -5
- package/dist/bromcom-ui/p-2b0c3160.entry.js +0 -5
- package/dist/bromcom-ui/p-2cd6cdee.js +0 -5
- package/dist/bromcom-ui/p-2e96086c.entry.js +0 -5
- package/dist/bromcom-ui/p-349400c6.entry.js +0 -5
- package/dist/bromcom-ui/p-376a20ed.js +0 -5
- package/dist/bromcom-ui/p-41276d76.entry.js +0 -5
- package/dist/bromcom-ui/p-4393b33e.entry.js +0 -5
- package/dist/bromcom-ui/p-45a24494.entry.js +0 -5
- package/dist/bromcom-ui/p-4874c7d0.entry.js +0 -5
- package/dist/bromcom-ui/p-49bc13a0.entry.js +0 -5
- package/dist/bromcom-ui/p-4bd65d2f.entry.js +0 -5
- package/dist/bromcom-ui/p-4e03575c.entry.js +0 -7
- package/dist/bromcom-ui/p-4f0bf943.entry.js +0 -5
- package/dist/bromcom-ui/p-6404c57b.entry.js +0 -5
- package/dist/bromcom-ui/p-68b95b96.entry.js +0 -5
- package/dist/bromcom-ui/p-74e6d2b6.js +0 -5
- package/dist/bromcom-ui/p-790ff40a.entry.js +0 -5
- package/dist/bromcom-ui/p-7c3dcd4e.entry.js +0 -5
- package/dist/bromcom-ui/p-7dbfff1b.entry.js +0 -5
- package/dist/bromcom-ui/p-7fa0942c.js +0 -5
- package/dist/bromcom-ui/p-8256af97.entry.js +0 -5
- package/dist/bromcom-ui/p-85936d14.entry.js +0 -5
- package/dist/bromcom-ui/p-8b6d3a37.js +0 -5
- package/dist/bromcom-ui/p-8bc7d1dc.entry.js +0 -5
- package/dist/bromcom-ui/p-8d17c696.entry.js +0 -5
- package/dist/bromcom-ui/p-8f32198d.js +0 -14
- package/dist/bromcom-ui/p-8f519009.entry.js +0 -5
- package/dist/bromcom-ui/p-904b0c28.entry.js +0 -5
- package/dist/bromcom-ui/p-915fd3f1.entry.js +0 -5
- package/dist/bromcom-ui/p-93c2058f.entry.js +0 -5
- package/dist/bromcom-ui/p-96d7ab4a.entry.js +0 -5
- package/dist/bromcom-ui/p-9c0bc44a.js +0 -5
- package/dist/bromcom-ui/p-a0f44b56.entry.js +0 -5
- package/dist/bromcom-ui/p-a23e04ba.entry.js +0 -5
- package/dist/bromcom-ui/p-a6b1a008.entry.js +0 -5
- package/dist/bromcom-ui/p-ab0ad97f.js +0 -5
- package/dist/bromcom-ui/p-ae57f046.entry.js +0 -5
- package/dist/bromcom-ui/p-c1a992e7.entry.js +0 -5
- package/dist/bromcom-ui/p-c1c51cf2.entry.js +0 -5
- package/dist/bromcom-ui/p-cbb99519.entry.js +0 -5
- package/dist/bromcom-ui/p-cedb9ca3.js +0 -5
- package/dist/bromcom-ui/p-d0cd1d32.entry.js +0 -5
- package/dist/bromcom-ui/p-d231f047.entry.js +0 -5
- package/dist/bromcom-ui/p-d44ec0ea.entry.js +0 -5
- package/dist/bromcom-ui/p-d5f03511.entry.js +0 -5
- package/dist/bromcom-ui/p-e0ab7b38.js +0 -11
- package/dist/bromcom-ui/p-e1b6f98e.entry.js +0 -5
- package/dist/bromcom-ui/p-e25c4375.entry.js +0 -5
- package/dist/bromcom-ui/p-e29aebf7.entry.js +0 -5
- package/dist/bromcom-ui/p-eaa94da0.entry.js +0 -5
- package/dist/bromcom-ui/p-ec957130.entry.js +0 -5
- package/dist/bromcom-ui/p-eca0acda.js +0 -5
- package/dist/bromcom-ui/p-f5074bd8.js +0 -5
- package/dist/bromcom-ui/p-fb081ff7.entry.js +0 -5
- package/dist/bromcom-ui/p-fc787048.entry.js +0 -5
- package/dist/bromcom-ui/p-fdf2e30b.entry.js +0 -5
- package/dist/bromcom-ui/p-feed1c5a.entry.js +0 -5
- package/dist/cjs/Overflow-5a73947b.js +0 -2233
- package/dist/cjs/bcm-accordion.cjs.entry.js +0 -74
- package/dist/cjs/bcm-alert.cjs.entry.js +0 -99
- package/dist/cjs/bcm-attendance-actions.cjs.entry.js +0 -330
- package/dist/cjs/bcm-attendance.cjs.entry.js +0 -35
- package/dist/cjs/bcm-avatar_2.cjs.entry.js +0 -210
- package/dist/cjs/bcm-button-group.cjs.entry.js +0 -92
- package/dist/cjs/bcm-button.cjs.entry.js +0 -372
- package/dist/cjs/bcm-checkbox-group.cjs.entry.js +0 -415
- package/dist/cjs/bcm-checkbox-lite_9.cjs.entry.js +0 -2529
- package/dist/cjs/bcm-checkbox_2.cjs.entry.js +0 -194
- package/dist/cjs/bcm-chip-group.cjs.entry.js +0 -128
- package/dist/cjs/bcm-chip.cjs.entry.js +0 -91
- package/dist/cjs/bcm-collapse-group.cjs.entry.js +0 -43
- package/dist/cjs/bcm-collapse.cjs.entry.js +0 -62
- package/dist/cjs/bcm-color-input.cjs.entry.js +0 -77
- package/dist/cjs/bcm-colorful_2.cjs.entry.js +0 -251
- package/dist/cjs/bcm-date_6.cjs.entry.js +0 -15363
- package/dist/cjs/bcm-drawer.cjs.entry.js +0 -96
- package/dist/cjs/bcm-dropdown.cjs.entry.js +0 -119
- package/dist/cjs/bcm-error-layout.cjs.entry.js +0 -64
- package/dist/cjs/bcm-expansion-panel.cjs.entry.js +0 -116
- package/dist/cjs/bcm-input_2.cjs.entry.js +0 -550
- package/dist/cjs/bcm-item.cjs.entry.js +0 -72
- package/dist/cjs/bcm-items.cjs.entry.js +0 -49
- package/dist/cjs/bcm-link.cjs.entry.js +0 -51
- package/dist/cjs/bcm-list_3.cjs.entry.js +0 -1977
- package/dist/cjs/bcm-menu.cjs.entry.js +0 -151
- package/dist/cjs/bcm-modal.cjs.entry.js +0 -157
- package/dist/cjs/bcm-old-input.cjs.entry.js +0 -397
- package/dist/cjs/bcm-old-tag_2.cjs.entry.js +0 -145
- package/dist/cjs/bcm-popconfirm-box.cjs.entry.js +0 -115
- package/dist/cjs/bcm-popconfirm.cjs.entry.js +0 -101
- package/dist/cjs/bcm-popover.cjs.entry.js +0 -230
- package/dist/cjs/bcm-progress.cjs.entry.js +0 -162
- package/dist/cjs/bcm-radio-group.cjs.entry.js +0 -161
- package/dist/cjs/bcm-radio.cjs.entry.js +0 -65
- package/dist/cjs/bcm-range.cjs.entry.js +0 -183
- package/dist/cjs/bcm-select.cjs.entry.js +0 -1195
- package/dist/cjs/bcm-shortcut.cjs.entry.js +0 -65
- package/dist/cjs/bcm-step.cjs.entry.js +0 -89
- package/dist/cjs/bcm-stepper.cjs.entry.js +0 -240
- package/dist/cjs/bcm-switch.cjs.entry.js +0 -151
- package/dist/cjs/bcm-tab-group.cjs.entry.js +0 -210
- package/dist/cjs/bcm-tab-item-header.cjs.entry.js +0 -60
- package/dist/cjs/bcm-tab-item.cjs.entry.js +0 -91
- package/dist/cjs/bcm-tab.cjs.entry.js +0 -72
- package/dist/cjs/bcm-tabs.cjs.entry.js +0 -370
- package/dist/cjs/bcm-text.cjs.entry.js +0 -49
- package/dist/cjs/index-d321de96.js +0 -193
- package/dist/cjs/input-template-ccfbe214.js +0 -92
- package/dist/cjs/json-parse-decarator-f1c0961d.js +0 -40
- package/dist/cjs/lodash-917168d7.js +0 -17199
- package/dist/cjs/stepper-states-e293bcd3.js +0 -85
- package/dist/cjs/tooltip-helper-311d3baa.js +0 -158
- package/dist/esm/Overflow-40c63001.js +0 -2217
- package/dist/esm/bcm-accordion.entry.js +0 -70
- package/dist/esm/bcm-alert.entry.js +0 -95
- package/dist/esm/bcm-attendance-actions.entry.js +0 -326
- package/dist/esm/bcm-attendance.entry.js +0 -31
- package/dist/esm/bcm-avatar_2.entry.js +0 -205
- package/dist/esm/bcm-button-group.entry.js +0 -88
- package/dist/esm/bcm-button.entry.js +0 -368
- package/dist/esm/bcm-checkbox-group.entry.js +0 -411
- package/dist/esm/bcm-checkbox-lite_9.entry.js +0 -2517
- package/dist/esm/bcm-checkbox_2.entry.js +0 -189
- package/dist/esm/bcm-chip-group.entry.js +0 -124
- package/dist/esm/bcm-chip.entry.js +0 -87
- package/dist/esm/bcm-collapse-group.entry.js +0 -39
- package/dist/esm/bcm-collapse.entry.js +0 -58
- package/dist/esm/bcm-color-input.entry.js +0 -73
- package/dist/esm/bcm-colorful_2.entry.js +0 -246
- package/dist/esm/bcm-date_6.entry.js +0 -15354
- package/dist/esm/bcm-drawer.entry.js +0 -92
- package/dist/esm/bcm-dropdown.entry.js +0 -115
- package/dist/esm/bcm-error-layout.entry.js +0 -60
- package/dist/esm/bcm-expansion-panel.entry.js +0 -112
- package/dist/esm/bcm-input_2.entry.js +0 -545
- package/dist/esm/bcm-item.entry.js +0 -68
- package/dist/esm/bcm-items.entry.js +0 -45
- package/dist/esm/bcm-link.entry.js +0 -47
- package/dist/esm/bcm-list_3.entry.js +0 -1971
- package/dist/esm/bcm-menu.entry.js +0 -147
- package/dist/esm/bcm-modal.entry.js +0 -153
- package/dist/esm/bcm-old-input.entry.js +0 -393
- package/dist/esm/bcm-old-tag_2.entry.js +0 -140
- package/dist/esm/bcm-popconfirm-box.entry.js +0 -111
- package/dist/esm/bcm-popconfirm.entry.js +0 -97
- package/dist/esm/bcm-popover.entry.js +0 -226
- package/dist/esm/bcm-progress.entry.js +0 -158
- package/dist/esm/bcm-radio-group.entry.js +0 -157
- package/dist/esm/bcm-radio.entry.js +0 -61
- package/dist/esm/bcm-range.entry.js +0 -179
- package/dist/esm/bcm-select.entry.js +0 -1191
- package/dist/esm/bcm-shortcut.entry.js +0 -61
- package/dist/esm/bcm-step.entry.js +0 -85
- package/dist/esm/bcm-stepper.entry.js +0 -236
- package/dist/esm/bcm-switch.entry.js +0 -147
- package/dist/esm/bcm-tab-group.entry.js +0 -206
- package/dist/esm/bcm-tab-item-header.entry.js +0 -56
- package/dist/esm/bcm-tab-item.entry.js +0 -87
- package/dist/esm/bcm-tab.entry.js +0 -68
- package/dist/esm/bcm-tabs.entry.js +0 -366
- package/dist/esm/bcm-text.entry.js +0 -45
- package/dist/esm/index-7e71bbc8.js +0 -191
- package/dist/esm/input-template-f22c62aa.js +0 -90
- package/dist/esm/json-parse-decarator-56846a0c.js +0 -38
- package/dist/esm/lodash-4197be99.js +0 -17197
- package/dist/esm/stepper-states-ec0b9c40.js +0 -83
- package/dist/esm/tooltip-helper-ddb8b9e3.js +0 -156
|
@@ -2,2568 +2,190 @@
|
|
|
2
2
|
* Built with Stencil
|
|
3
3
|
* Copyright (c) Bromcom.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
import { getRenderingRef, forceUpdate } from '@stencil/core/internal/client';
|
|
6
|
+
|
|
7
|
+
const appendToMap = (map, propName, value) => {
|
|
8
|
+
const items = map.get(propName);
|
|
9
|
+
if (!items) {
|
|
10
|
+
map.set(propName, [value]);
|
|
11
|
+
}
|
|
12
|
+
else if (!items.includes(value)) {
|
|
13
|
+
items.push(value);
|
|
14
|
+
}
|
|
15
|
+
};
|
|
16
|
+
const debounce = (fn, ms) => {
|
|
17
|
+
let timeoutId;
|
|
18
|
+
return (...args) => {
|
|
19
|
+
if (timeoutId) {
|
|
20
|
+
clearTimeout(timeoutId);
|
|
21
|
+
}
|
|
22
|
+
timeoutId = setTimeout(() => {
|
|
23
|
+
timeoutId = 0;
|
|
24
|
+
fn(...args);
|
|
25
|
+
}, ms);
|
|
26
|
+
};
|
|
27
|
+
};
|
|
6
28
|
|
|
7
29
|
/**
|
|
8
|
-
*
|
|
30
|
+
* Check if a possible element isConnected.
|
|
31
|
+
* The property might not be there, so we check for it.
|
|
9
32
|
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* - TypeScript types from https://github.com/lukeed/clsx/blob/v1.2.1/clsx.d.ts
|
|
33
|
+
* We want it to return true if isConnected is not a property,
|
|
34
|
+
* otherwise we would remove these elements and would not update.
|
|
13
35
|
*
|
|
14
|
-
*
|
|
36
|
+
* Better leak in Edge than to be useless.
|
|
15
37
|
*/
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
return string;
|
|
30
|
-
}
|
|
31
|
-
function toValue(mix) {
|
|
32
|
-
if (typeof mix === 'string') {
|
|
33
|
-
return mix;
|
|
34
|
-
}
|
|
35
|
-
var resolvedValue;
|
|
36
|
-
var string = '';
|
|
37
|
-
for (var k = 0; k < mix.length; k++) {
|
|
38
|
-
if (mix[k]) {
|
|
39
|
-
if (resolvedValue = toValue(mix[k])) {
|
|
40
|
-
string && (string += ' ');
|
|
41
|
-
string += resolvedValue;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
return string;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
var CLASS_PART_SEPARATOR = '-';
|
|
49
|
-
function createClassUtils(config) {
|
|
50
|
-
var classMap = createClassMap(config);
|
|
51
|
-
var conflictingClassGroups = config.conflictingClassGroups,
|
|
52
|
-
_config$conflictingCl = config.conflictingClassGroupModifiers,
|
|
53
|
-
conflictingClassGroupModifiers = _config$conflictingCl === void 0 ? {} : _config$conflictingCl;
|
|
54
|
-
function getClassGroupId(className) {
|
|
55
|
-
var classParts = className.split(CLASS_PART_SEPARATOR);
|
|
56
|
-
// Classes like `-inset-1` produce an empty string as first classPart. We assume that classes for negative values are used correctly and remove it from classParts.
|
|
57
|
-
if (classParts[0] === '' && classParts.length !== 1) {
|
|
58
|
-
classParts.shift();
|
|
59
|
-
}
|
|
60
|
-
return getGroupRecursive(classParts, classMap) || getGroupIdForArbitraryProperty(className);
|
|
61
|
-
}
|
|
62
|
-
function getConflictingClassGroupIds(classGroupId, hasPostfixModifier) {
|
|
63
|
-
var conflicts = conflictingClassGroups[classGroupId] || [];
|
|
64
|
-
if (hasPostfixModifier && conflictingClassGroupModifiers[classGroupId]) {
|
|
65
|
-
return [].concat(conflicts, conflictingClassGroupModifiers[classGroupId]);
|
|
66
|
-
}
|
|
67
|
-
return conflicts;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
getClassGroupId: getClassGroupId,
|
|
71
|
-
getConflictingClassGroupIds: getConflictingClassGroupIds
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function getGroupRecursive(classParts, classPartObject) {
|
|
75
|
-
if (classParts.length === 0) {
|
|
76
|
-
return classPartObject.classGroupId;
|
|
77
|
-
}
|
|
78
|
-
var currentClassPart = classParts[0];
|
|
79
|
-
var nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
|
|
80
|
-
var classGroupFromNextClassPart = nextClassPartObject ? getGroupRecursive(classParts.slice(1), nextClassPartObject) : undefined;
|
|
81
|
-
if (classGroupFromNextClassPart) {
|
|
82
|
-
return classGroupFromNextClassPart;
|
|
83
|
-
}
|
|
84
|
-
if (classPartObject.validators.length === 0) {
|
|
85
|
-
return undefined;
|
|
86
|
-
}
|
|
87
|
-
var classRest = classParts.join(CLASS_PART_SEPARATOR);
|
|
88
|
-
return classPartObject.validators.find(function (_ref) {
|
|
89
|
-
var validator = _ref.validator;
|
|
90
|
-
return validator(classRest);
|
|
91
|
-
})?.classGroupId;
|
|
92
|
-
}
|
|
93
|
-
var arbitraryPropertyRegex = /^\[(.+)\]$/;
|
|
94
|
-
function getGroupIdForArbitraryProperty(className) {
|
|
95
|
-
if (arbitraryPropertyRegex.test(className)) {
|
|
96
|
-
var arbitraryPropertyClassName = arbitraryPropertyRegex.exec(className)[1];
|
|
97
|
-
var property = arbitraryPropertyClassName?.substring(0, arbitraryPropertyClassName.indexOf(':'));
|
|
98
|
-
if (property) {
|
|
99
|
-
// I use two dots here because one dot is used as prefix for class groups in plugins
|
|
100
|
-
return 'arbitrary..' + property;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Exported for testing only
|
|
106
|
-
*/
|
|
107
|
-
function createClassMap(config) {
|
|
108
|
-
var theme = config.theme,
|
|
109
|
-
prefix = config.prefix;
|
|
110
|
-
var classMap = {
|
|
111
|
-
nextPart: new Map(),
|
|
112
|
-
validators: []
|
|
113
|
-
};
|
|
114
|
-
var prefixedClassGroupEntries = getPrefixedClassGroupEntries(Object.entries(config.classGroups), prefix);
|
|
115
|
-
prefixedClassGroupEntries.forEach(function (_ref2) {
|
|
116
|
-
var classGroupId = _ref2[0],
|
|
117
|
-
classGroup = _ref2[1];
|
|
118
|
-
processClassesRecursively(classGroup, classMap, classGroupId, theme);
|
|
119
|
-
});
|
|
120
|
-
return classMap;
|
|
121
|
-
}
|
|
122
|
-
function processClassesRecursively(classGroup, classPartObject, classGroupId, theme) {
|
|
123
|
-
classGroup.forEach(function (classDefinition) {
|
|
124
|
-
if (typeof classDefinition === 'string') {
|
|
125
|
-
var classPartObjectToEdit = classDefinition === '' ? classPartObject : getPart(classPartObject, classDefinition);
|
|
126
|
-
classPartObjectToEdit.classGroupId = classGroupId;
|
|
127
|
-
return;
|
|
128
|
-
}
|
|
129
|
-
if (typeof classDefinition === 'function') {
|
|
130
|
-
if (isThemeGetter(classDefinition)) {
|
|
131
|
-
processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
|
|
132
|
-
return;
|
|
133
|
-
}
|
|
134
|
-
classPartObject.validators.push({
|
|
135
|
-
validator: classDefinition,
|
|
136
|
-
classGroupId: classGroupId
|
|
137
|
-
});
|
|
138
|
-
return;
|
|
139
|
-
}
|
|
140
|
-
Object.entries(classDefinition).forEach(function (_ref3) {
|
|
141
|
-
var key = _ref3[0],
|
|
142
|
-
classGroup = _ref3[1];
|
|
143
|
-
processClassesRecursively(classGroup, getPart(classPartObject, key), classGroupId, theme);
|
|
144
|
-
});
|
|
145
|
-
});
|
|
146
|
-
}
|
|
147
|
-
function getPart(classPartObject, path) {
|
|
148
|
-
var currentClassPartObject = classPartObject;
|
|
149
|
-
path.split(CLASS_PART_SEPARATOR).forEach(function (pathPart) {
|
|
150
|
-
if (!currentClassPartObject.nextPart.has(pathPart)) {
|
|
151
|
-
currentClassPartObject.nextPart.set(pathPart, {
|
|
152
|
-
nextPart: new Map(),
|
|
153
|
-
validators: []
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
currentClassPartObject = currentClassPartObject.nextPart.get(pathPart);
|
|
157
|
-
});
|
|
158
|
-
return currentClassPartObject;
|
|
159
|
-
}
|
|
160
|
-
function isThemeGetter(func) {
|
|
161
|
-
return func.isThemeGetter;
|
|
162
|
-
}
|
|
163
|
-
function getPrefixedClassGroupEntries(classGroupEntries, prefix) {
|
|
164
|
-
if (!prefix) {
|
|
165
|
-
return classGroupEntries;
|
|
166
|
-
}
|
|
167
|
-
return classGroupEntries.map(function (_ref4) {
|
|
168
|
-
var classGroupId = _ref4[0],
|
|
169
|
-
classGroup = _ref4[1];
|
|
170
|
-
var prefixedClassGroup = classGroup.map(function (classDefinition) {
|
|
171
|
-
if (typeof classDefinition === 'string') {
|
|
172
|
-
return prefix + classDefinition;
|
|
173
|
-
}
|
|
174
|
-
if (typeof classDefinition === 'object') {
|
|
175
|
-
return Object.fromEntries(Object.entries(classDefinition).map(function (_ref5) {
|
|
176
|
-
var key = _ref5[0],
|
|
177
|
-
value = _ref5[1];
|
|
178
|
-
return [prefix + key, value];
|
|
179
|
-
}));
|
|
180
|
-
}
|
|
181
|
-
return classDefinition;
|
|
182
|
-
});
|
|
183
|
-
return [classGroupId, prefixedClassGroup];
|
|
184
|
-
});
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
// LRU cache inspired from hashlru (https://github.com/dominictarr/hashlru/blob/v1.0.4/index.js) but object replaced with Map to improve performance
|
|
188
|
-
function createLruCache(maxCacheSize) {
|
|
189
|
-
if (maxCacheSize < 1) {
|
|
38
|
+
const isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;
|
|
39
|
+
const cleanupElements = debounce((map) => {
|
|
40
|
+
for (let key of map.keys()) {
|
|
41
|
+
map.set(key, map.get(key).filter(isConnected));
|
|
42
|
+
}
|
|
43
|
+
}, 2000);
|
|
44
|
+
const stencilSubscription = () => {
|
|
45
|
+
if (typeof getRenderingRef !== 'function') {
|
|
46
|
+
// If we are not in a stencil project, we do nothing.
|
|
47
|
+
// This function is not really exported by @stencil/core.
|
|
48
|
+
return {};
|
|
49
|
+
}
|
|
50
|
+
const elmsToUpdate = new Map();
|
|
190
51
|
return {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
52
|
+
dispose: () => elmsToUpdate.clear(),
|
|
53
|
+
get: (propName) => {
|
|
54
|
+
const elm = getRenderingRef();
|
|
55
|
+
if (elm) {
|
|
56
|
+
appendToMap(elmsToUpdate, propName, elm);
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
set: (propName) => {
|
|
60
|
+
const elements = elmsToUpdate.get(propName);
|
|
61
|
+
if (elements) {
|
|
62
|
+
elmsToUpdate.set(propName, elements.filter(forceUpdate));
|
|
63
|
+
}
|
|
64
|
+
cleanupElements(elmsToUpdate);
|
|
65
|
+
},
|
|
66
|
+
reset: () => {
|
|
67
|
+
elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));
|
|
68
|
+
cleanupElements(elmsToUpdate);
|
|
69
|
+
},
|
|
195
70
|
};
|
|
196
|
-
|
|
197
|
-
var cacheSize = 0;
|
|
198
|
-
var cache = new Map();
|
|
199
|
-
var previousCache = new Map();
|
|
200
|
-
function update(key, value) {
|
|
201
|
-
cache.set(key, value);
|
|
202
|
-
cacheSize++;
|
|
203
|
-
if (cacheSize > maxCacheSize) {
|
|
204
|
-
cacheSize = 0;
|
|
205
|
-
previousCache = cache;
|
|
206
|
-
cache = new Map();
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
return {
|
|
210
|
-
get: function get(key) {
|
|
211
|
-
var value = cache.get(key);
|
|
212
|
-
if (value !== undefined) {
|
|
213
|
-
return value;
|
|
214
|
-
}
|
|
215
|
-
if ((value = previousCache.get(key)) !== undefined) {
|
|
216
|
-
update(key, value);
|
|
217
|
-
return value;
|
|
218
|
-
}
|
|
219
|
-
},
|
|
220
|
-
set: function set(key, value) {
|
|
221
|
-
if (cache.has(key)) {
|
|
222
|
-
cache.set(key, value);
|
|
223
|
-
} else {
|
|
224
|
-
update(key, value);
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
};
|
|
228
|
-
}
|
|
71
|
+
};
|
|
229
72
|
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
73
|
+
const createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {
|
|
74
|
+
let states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
|
|
75
|
+
const handlers = {
|
|
76
|
+
dispose: [],
|
|
77
|
+
get: [],
|
|
78
|
+
set: [],
|
|
79
|
+
reset: [],
|
|
80
|
+
};
|
|
81
|
+
const reset = () => {
|
|
82
|
+
states = new Map(Object.entries(defaultState !== null && defaultState !== void 0 ? defaultState : {}));
|
|
83
|
+
handlers.reset.forEach((cb) => cb());
|
|
84
|
+
};
|
|
85
|
+
const dispose = () => {
|
|
86
|
+
// Call first dispose as resetting the state would
|
|
87
|
+
// cause less updates ;)
|
|
88
|
+
handlers.dispose.forEach((cb) => cb());
|
|
89
|
+
reset();
|
|
90
|
+
};
|
|
91
|
+
const get = (propName) => {
|
|
92
|
+
handlers.get.forEach((cb) => cb(propName));
|
|
93
|
+
return states.get(propName);
|
|
94
|
+
};
|
|
95
|
+
const set = (propName, value) => {
|
|
96
|
+
const oldValue = states.get(propName);
|
|
97
|
+
if (shouldUpdate(value, oldValue, propName)) {
|
|
98
|
+
states.set(propName, value);
|
|
99
|
+
handlers.set.forEach((cb) => cb(propName, value, oldValue));
|
|
253
100
|
}
|
|
254
|
-
}
|
|
255
|
-
if (currentCharacter === '[') {
|
|
256
|
-
bracketDepth++;
|
|
257
|
-
} else if (currentCharacter === ']') {
|
|
258
|
-
bracketDepth--;
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
var baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.substring(modifierStart);
|
|
262
|
-
var hasImportantModifier = baseClassNameWithImportantModifier.startsWith(IMPORTANT_MODIFIER);
|
|
263
|
-
var baseClassName = hasImportantModifier ? baseClassNameWithImportantModifier.substring(1) : baseClassNameWithImportantModifier;
|
|
264
|
-
var maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : undefined;
|
|
265
|
-
return {
|
|
266
|
-
modifiers: modifiers,
|
|
267
|
-
hasImportantModifier: hasImportantModifier,
|
|
268
|
-
baseClassName: baseClassName,
|
|
269
|
-
maybePostfixModifierPosition: maybePostfixModifierPosition
|
|
270
101
|
};
|
|
271
|
-
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
return {
|
|
299
|
-
cache: createLruCache(config.cacheSize),
|
|
300
|
-
splitModifiers: createSplitModifiers(config),
|
|
301
|
-
...createClassUtils(config)
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
var SPLIT_CLASSES_REGEX = /\s+/;
|
|
306
|
-
function mergeClassList(classList, configUtils) {
|
|
307
|
-
var splitModifiers = configUtils.splitModifiers,
|
|
308
|
-
getClassGroupId = configUtils.getClassGroupId,
|
|
309
|
-
getConflictingClassGroupIds = configUtils.getConflictingClassGroupIds;
|
|
310
|
-
/**
|
|
311
|
-
* Set of classGroupIds in following format:
|
|
312
|
-
* `{importantModifier}{variantModifiers}{classGroupId}`
|
|
313
|
-
* @example 'float'
|
|
314
|
-
* @example 'hover:focus:bg-color'
|
|
315
|
-
* @example 'md:!pr'
|
|
316
|
-
*/
|
|
317
|
-
var classGroupsInConflict = new Set();
|
|
318
|
-
return classList.trim().split(SPLIT_CLASSES_REGEX).map(function (originalClassName) {
|
|
319
|
-
var _splitModifiers = splitModifiers(originalClassName),
|
|
320
|
-
modifiers = _splitModifiers.modifiers,
|
|
321
|
-
hasImportantModifier = _splitModifiers.hasImportantModifier,
|
|
322
|
-
baseClassName = _splitModifiers.baseClassName,
|
|
323
|
-
maybePostfixModifierPosition = _splitModifiers.maybePostfixModifierPosition;
|
|
324
|
-
var classGroupId = getClassGroupId(maybePostfixModifierPosition ? baseClassName.substring(0, maybePostfixModifierPosition) : baseClassName);
|
|
325
|
-
var hasPostfixModifier = Boolean(maybePostfixModifierPosition);
|
|
326
|
-
if (!classGroupId) {
|
|
327
|
-
if (!maybePostfixModifierPosition) {
|
|
328
|
-
return {
|
|
329
|
-
isTailwindClass: false,
|
|
330
|
-
originalClassName: originalClassName
|
|
102
|
+
const state = (typeof Proxy === 'undefined'
|
|
103
|
+
? {}
|
|
104
|
+
: new Proxy(defaultState, {
|
|
105
|
+
get(_, propName) {
|
|
106
|
+
return get(propName);
|
|
107
|
+
},
|
|
108
|
+
ownKeys(_) {
|
|
109
|
+
return Array.from(states.keys());
|
|
110
|
+
},
|
|
111
|
+
getOwnPropertyDescriptor() {
|
|
112
|
+
return {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
configurable: true,
|
|
115
|
+
};
|
|
116
|
+
},
|
|
117
|
+
has(_, propName) {
|
|
118
|
+
return states.has(propName);
|
|
119
|
+
},
|
|
120
|
+
set(_, propName, value) {
|
|
121
|
+
set(propName, value);
|
|
122
|
+
return true;
|
|
123
|
+
},
|
|
124
|
+
}));
|
|
125
|
+
const on = (eventName, callback) => {
|
|
126
|
+
handlers[eventName].push(callback);
|
|
127
|
+
return () => {
|
|
128
|
+
removeFromArray(handlers[eventName], callback);
|
|
331
129
|
};
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
130
|
+
};
|
|
131
|
+
const onChange = (propName, cb) => {
|
|
132
|
+
const unSet = on('set', (key, newValue) => {
|
|
133
|
+
if (key === propName) {
|
|
134
|
+
cb(newValue);
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
const unReset = on('reset', () => cb(defaultState[propName]));
|
|
138
|
+
return () => {
|
|
139
|
+
unSet();
|
|
140
|
+
unReset();
|
|
338
141
|
};
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
142
|
+
};
|
|
143
|
+
const use = (...subscriptions) => {
|
|
144
|
+
const unsubs = subscriptions.reduce((unsubs, subscription) => {
|
|
145
|
+
if (subscription.set) {
|
|
146
|
+
unsubs.push(on('set', subscription.set));
|
|
147
|
+
}
|
|
148
|
+
if (subscription.get) {
|
|
149
|
+
unsubs.push(on('get', subscription.get));
|
|
150
|
+
}
|
|
151
|
+
if (subscription.reset) {
|
|
152
|
+
unsubs.push(on('reset', subscription.reset));
|
|
153
|
+
}
|
|
154
|
+
if (subscription.dispose) {
|
|
155
|
+
unsubs.push(on('dispose', subscription.dispose));
|
|
156
|
+
}
|
|
157
|
+
return unsubs;
|
|
158
|
+
}, []);
|
|
159
|
+
return () => unsubs.forEach((unsub) => unsub());
|
|
160
|
+
};
|
|
161
|
+
const forceUpdate = (key) => {
|
|
162
|
+
const oldValue = states.get(key);
|
|
163
|
+
handlers.set.forEach((cb) => cb(key, oldValue, oldValue));
|
|
164
|
+
};
|
|
344
165
|
return {
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
166
|
+
state,
|
|
167
|
+
get,
|
|
168
|
+
set,
|
|
169
|
+
on,
|
|
170
|
+
onChange,
|
|
171
|
+
use,
|
|
172
|
+
dispose,
|
|
173
|
+
reset,
|
|
174
|
+
forceUpdate,
|
|
350
175
|
};
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
if (
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
hasPostfixModifier = parsed.hasPostfixModifier;
|
|
360
|
-
var classId = modifierId + classGroupId;
|
|
361
|
-
if (classGroupsInConflict.has(classId)) {
|
|
362
|
-
return false;
|
|
363
|
-
}
|
|
364
|
-
classGroupsInConflict.add(classId);
|
|
365
|
-
getConflictingClassGroupIds(classGroupId, hasPostfixModifier).forEach(function (group) {
|
|
366
|
-
return classGroupsInConflict.add(modifierId + group);
|
|
367
|
-
});
|
|
368
|
-
return true;
|
|
369
|
-
}).reverse().map(function (parsed) {
|
|
370
|
-
return parsed.originalClassName;
|
|
371
|
-
}).join(' ');
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
function createTailwindMerge() {
|
|
375
|
-
for (var _len = arguments.length, createConfig = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
376
|
-
createConfig[_key] = arguments[_key];
|
|
377
|
-
}
|
|
378
|
-
var configUtils;
|
|
379
|
-
var cacheGet;
|
|
380
|
-
var cacheSet;
|
|
381
|
-
var functionToCall = initTailwindMerge;
|
|
382
|
-
function initTailwindMerge(classList) {
|
|
383
|
-
var firstCreateConfig = createConfig[0],
|
|
384
|
-
restCreateConfig = createConfig.slice(1);
|
|
385
|
-
var config = restCreateConfig.reduce(function (previousConfig, createConfigCurrent) {
|
|
386
|
-
return createConfigCurrent(previousConfig);
|
|
387
|
-
}, firstCreateConfig());
|
|
388
|
-
configUtils = createConfigUtils(config);
|
|
389
|
-
cacheGet = configUtils.cache.get;
|
|
390
|
-
cacheSet = configUtils.cache.set;
|
|
391
|
-
functionToCall = tailwindMerge;
|
|
392
|
-
return tailwindMerge(classList);
|
|
393
|
-
}
|
|
394
|
-
function tailwindMerge(classList) {
|
|
395
|
-
var cachedResult = cacheGet(classList);
|
|
396
|
-
if (cachedResult) {
|
|
397
|
-
return cachedResult;
|
|
398
|
-
}
|
|
399
|
-
var result = mergeClassList(classList, configUtils);
|
|
400
|
-
cacheSet(classList, result);
|
|
401
|
-
return result;
|
|
402
|
-
}
|
|
403
|
-
return function callTailwindMerge() {
|
|
404
|
-
return functionToCall(twJoin.apply(null, arguments));
|
|
405
|
-
};
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
function fromTheme(key) {
|
|
409
|
-
var themeGetter = function themeGetter(theme) {
|
|
410
|
-
return theme[key] || [];
|
|
411
|
-
};
|
|
412
|
-
themeGetter.isThemeGetter = true;
|
|
413
|
-
return themeGetter;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
var arbitraryValueRegex = /^\[(?:([a-z-]+):)?(.+)\]$/i;
|
|
417
|
-
var fractionRegex = /^\d+\/\d+$/;
|
|
418
|
-
var stringLengths = /*#__PURE__*/new Set(['px', 'full', 'screen']);
|
|
419
|
-
var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
|
|
420
|
-
var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
|
|
421
|
-
// Shadow always begins with x and y offset separated by underscore
|
|
422
|
-
var shadowRegex = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
|
|
423
|
-
function isLength(value) {
|
|
424
|
-
return isNumber(value) || stringLengths.has(value) || fractionRegex.test(value) || isArbitraryLength(value);
|
|
425
|
-
}
|
|
426
|
-
function isArbitraryLength(value) {
|
|
427
|
-
return getIsArbitraryValue(value, 'length', isLengthOnly);
|
|
428
|
-
}
|
|
429
|
-
function isArbitrarySize(value) {
|
|
430
|
-
return getIsArbitraryValue(value, 'size', isNever);
|
|
431
|
-
}
|
|
432
|
-
function isArbitraryPosition(value) {
|
|
433
|
-
return getIsArbitraryValue(value, 'position', isNever);
|
|
434
|
-
}
|
|
435
|
-
function isArbitraryUrl(value) {
|
|
436
|
-
return getIsArbitraryValue(value, 'url', isUrl);
|
|
437
|
-
}
|
|
438
|
-
function isArbitraryNumber(value) {
|
|
439
|
-
return getIsArbitraryValue(value, 'number', isNumber);
|
|
440
|
-
}
|
|
441
|
-
function isNumber(value) {
|
|
442
|
-
return !Number.isNaN(Number(value));
|
|
443
|
-
}
|
|
444
|
-
function isPercent(value) {
|
|
445
|
-
return value.endsWith('%') && isNumber(value.slice(0, -1));
|
|
446
|
-
}
|
|
447
|
-
function isInteger(value) {
|
|
448
|
-
return isIntegerOnly(value) || getIsArbitraryValue(value, 'number', isIntegerOnly);
|
|
449
|
-
}
|
|
450
|
-
function isArbitraryValue(value) {
|
|
451
|
-
return arbitraryValueRegex.test(value);
|
|
452
|
-
}
|
|
453
|
-
function isAny() {
|
|
454
|
-
return true;
|
|
455
|
-
}
|
|
456
|
-
function isTshirtSize(value) {
|
|
457
|
-
return tshirtUnitRegex.test(value);
|
|
458
|
-
}
|
|
459
|
-
function isArbitraryShadow(value) {
|
|
460
|
-
return getIsArbitraryValue(value, '', isShadow);
|
|
461
|
-
}
|
|
462
|
-
function getIsArbitraryValue(value, label, testValue) {
|
|
463
|
-
var result = arbitraryValueRegex.exec(value);
|
|
464
|
-
if (result) {
|
|
465
|
-
if (result[1]) {
|
|
466
|
-
return result[1] === label;
|
|
467
|
-
}
|
|
468
|
-
return testValue(result[2]);
|
|
469
|
-
}
|
|
470
|
-
return false;
|
|
471
|
-
}
|
|
472
|
-
function isLengthOnly(value) {
|
|
473
|
-
return lengthUnitRegex.test(value);
|
|
474
|
-
}
|
|
475
|
-
function isNever() {
|
|
476
|
-
return false;
|
|
477
|
-
}
|
|
478
|
-
function isUrl(value) {
|
|
479
|
-
return value.startsWith('url(');
|
|
480
|
-
}
|
|
481
|
-
function isIntegerOnly(value) {
|
|
482
|
-
return Number.isInteger(Number(value));
|
|
483
|
-
}
|
|
484
|
-
function isShadow(value) {
|
|
485
|
-
return shadowRegex.test(value);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
function getDefaultConfig() {
|
|
489
|
-
var colors = fromTheme('colors');
|
|
490
|
-
var spacing = fromTheme('spacing');
|
|
491
|
-
var blur = fromTheme('blur');
|
|
492
|
-
var brightness = fromTheme('brightness');
|
|
493
|
-
var borderColor = fromTheme('borderColor');
|
|
494
|
-
var borderRadius = fromTheme('borderRadius');
|
|
495
|
-
var borderSpacing = fromTheme('borderSpacing');
|
|
496
|
-
var borderWidth = fromTheme('borderWidth');
|
|
497
|
-
var contrast = fromTheme('contrast');
|
|
498
|
-
var grayscale = fromTheme('grayscale');
|
|
499
|
-
var hueRotate = fromTheme('hueRotate');
|
|
500
|
-
var invert = fromTheme('invert');
|
|
501
|
-
var gap = fromTheme('gap');
|
|
502
|
-
var gradientColorStops = fromTheme('gradientColorStops');
|
|
503
|
-
var gradientColorStopPositions = fromTheme('gradientColorStopPositions');
|
|
504
|
-
var inset = fromTheme('inset');
|
|
505
|
-
var margin = fromTheme('margin');
|
|
506
|
-
var opacity = fromTheme('opacity');
|
|
507
|
-
var padding = fromTheme('padding');
|
|
508
|
-
var saturate = fromTheme('saturate');
|
|
509
|
-
var scale = fromTheme('scale');
|
|
510
|
-
var sepia = fromTheme('sepia');
|
|
511
|
-
var skew = fromTheme('skew');
|
|
512
|
-
var space = fromTheme('space');
|
|
513
|
-
var translate = fromTheme('translate');
|
|
514
|
-
var getOverscroll = function getOverscroll() {
|
|
515
|
-
return ['auto', 'contain', 'none'];
|
|
516
|
-
};
|
|
517
|
-
var getOverflow = function getOverflow() {
|
|
518
|
-
return ['auto', 'hidden', 'clip', 'visible', 'scroll'];
|
|
519
|
-
};
|
|
520
|
-
var getSpacingWithAutoAndArbitrary = function getSpacingWithAutoAndArbitrary() {
|
|
521
|
-
return ['auto', isArbitraryValue, spacing];
|
|
522
|
-
};
|
|
523
|
-
var getSpacingWithArbitrary = function getSpacingWithArbitrary() {
|
|
524
|
-
return [isArbitraryValue, spacing];
|
|
525
|
-
};
|
|
526
|
-
var getLengthWithEmpty = function getLengthWithEmpty() {
|
|
527
|
-
return ['', isLength];
|
|
528
|
-
};
|
|
529
|
-
var getNumberWithAutoAndArbitrary = function getNumberWithAutoAndArbitrary() {
|
|
530
|
-
return ['auto', isNumber, isArbitraryValue];
|
|
531
|
-
};
|
|
532
|
-
var getPositions = function getPositions() {
|
|
533
|
-
return ['bottom', 'center', 'left', 'left-bottom', 'left-top', 'right', 'right-bottom', 'right-top', 'top'];
|
|
534
|
-
};
|
|
535
|
-
var getLineStyles = function getLineStyles() {
|
|
536
|
-
return ['solid', 'dashed', 'dotted', 'double', 'none'];
|
|
537
|
-
};
|
|
538
|
-
var getBlendModes = function getBlendModes() {
|
|
539
|
-
return ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity', 'plus-lighter'];
|
|
540
|
-
};
|
|
541
|
-
var getAlign = function getAlign() {
|
|
542
|
-
return ['start', 'end', 'center', 'between', 'around', 'evenly', 'stretch'];
|
|
543
|
-
};
|
|
544
|
-
var getZeroAndEmpty = function getZeroAndEmpty() {
|
|
545
|
-
return ['', '0', isArbitraryValue];
|
|
546
|
-
};
|
|
547
|
-
var getBreaks = function getBreaks() {
|
|
548
|
-
return ['auto', 'avoid', 'all', 'avoid-page', 'page', 'left', 'right', 'column'];
|
|
549
|
-
};
|
|
550
|
-
var getNumber = function getNumber() {
|
|
551
|
-
return [isNumber, isArbitraryNumber];
|
|
552
|
-
};
|
|
553
|
-
var getNumberAndArbitrary = function getNumberAndArbitrary() {
|
|
554
|
-
return [isNumber, isArbitraryValue];
|
|
555
|
-
};
|
|
556
|
-
return {
|
|
557
|
-
cacheSize: 500,
|
|
558
|
-
theme: {
|
|
559
|
-
colors: [isAny],
|
|
560
|
-
spacing: [isLength],
|
|
561
|
-
blur: ['none', '', isTshirtSize, isArbitraryValue],
|
|
562
|
-
brightness: getNumber(),
|
|
563
|
-
borderColor: [colors],
|
|
564
|
-
borderRadius: ['none', '', 'full', isTshirtSize, isArbitraryValue],
|
|
565
|
-
borderSpacing: getSpacingWithArbitrary(),
|
|
566
|
-
borderWidth: getLengthWithEmpty(),
|
|
567
|
-
contrast: getNumber(),
|
|
568
|
-
grayscale: getZeroAndEmpty(),
|
|
569
|
-
hueRotate: getNumberAndArbitrary(),
|
|
570
|
-
invert: getZeroAndEmpty(),
|
|
571
|
-
gap: getSpacingWithArbitrary(),
|
|
572
|
-
gradientColorStops: [colors],
|
|
573
|
-
gradientColorStopPositions: [isPercent, isArbitraryLength],
|
|
574
|
-
inset: getSpacingWithAutoAndArbitrary(),
|
|
575
|
-
margin: getSpacingWithAutoAndArbitrary(),
|
|
576
|
-
opacity: getNumber(),
|
|
577
|
-
padding: getSpacingWithArbitrary(),
|
|
578
|
-
saturate: getNumber(),
|
|
579
|
-
scale: getNumber(),
|
|
580
|
-
sepia: getZeroAndEmpty(),
|
|
581
|
-
skew: getNumberAndArbitrary(),
|
|
582
|
-
space: getSpacingWithArbitrary(),
|
|
583
|
-
translate: getSpacingWithArbitrary()
|
|
584
|
-
},
|
|
585
|
-
classGroups: {
|
|
586
|
-
// Layout
|
|
587
|
-
/**
|
|
588
|
-
* Aspect Ratio
|
|
589
|
-
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
590
|
-
*/
|
|
591
|
-
aspect: [{
|
|
592
|
-
aspect: ['auto', 'square', 'video', isArbitraryValue]
|
|
593
|
-
}],
|
|
594
|
-
/**
|
|
595
|
-
* Container
|
|
596
|
-
* @see https://tailwindcss.com/docs/container
|
|
597
|
-
*/
|
|
598
|
-
container: ['container'],
|
|
599
|
-
/**
|
|
600
|
-
* Columns
|
|
601
|
-
* @see https://tailwindcss.com/docs/columns
|
|
602
|
-
*/
|
|
603
|
-
columns: [{
|
|
604
|
-
columns: [isTshirtSize]
|
|
605
|
-
}],
|
|
606
|
-
/**
|
|
607
|
-
* Break After
|
|
608
|
-
* @see https://tailwindcss.com/docs/break-after
|
|
609
|
-
*/
|
|
610
|
-
'break-after': [{
|
|
611
|
-
'break-after': getBreaks()
|
|
612
|
-
}],
|
|
613
|
-
/**
|
|
614
|
-
* Break Before
|
|
615
|
-
* @see https://tailwindcss.com/docs/break-before
|
|
616
|
-
*/
|
|
617
|
-
'break-before': [{
|
|
618
|
-
'break-before': getBreaks()
|
|
619
|
-
}],
|
|
620
|
-
/**
|
|
621
|
-
* Break Inside
|
|
622
|
-
* @see https://tailwindcss.com/docs/break-inside
|
|
623
|
-
*/
|
|
624
|
-
'break-inside': [{
|
|
625
|
-
'break-inside': ['auto', 'avoid', 'avoid-page', 'avoid-column']
|
|
626
|
-
}],
|
|
627
|
-
/**
|
|
628
|
-
* Box Decoration Break
|
|
629
|
-
* @see https://tailwindcss.com/docs/box-decoration-break
|
|
630
|
-
*/
|
|
631
|
-
'box-decoration': [{
|
|
632
|
-
'box-decoration': ['slice', 'clone']
|
|
633
|
-
}],
|
|
634
|
-
/**
|
|
635
|
-
* Box Sizing
|
|
636
|
-
* @see https://tailwindcss.com/docs/box-sizing
|
|
637
|
-
*/
|
|
638
|
-
box: [{
|
|
639
|
-
box: ['border', 'content']
|
|
640
|
-
}],
|
|
641
|
-
/**
|
|
642
|
-
* Display
|
|
643
|
-
* @see https://tailwindcss.com/docs/display
|
|
644
|
-
*/
|
|
645
|
-
display: ['block', 'inline-block', 'inline', 'flex', 'inline-flex', 'table', 'inline-table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row-group', 'table-row', 'flow-root', 'grid', 'inline-grid', 'contents', 'list-item', 'hidden'],
|
|
646
|
-
/**
|
|
647
|
-
* Floats
|
|
648
|
-
* @see https://tailwindcss.com/docs/float
|
|
649
|
-
*/
|
|
650
|
-
"float": [{
|
|
651
|
-
"float": ['right', 'left', 'none']
|
|
652
|
-
}],
|
|
653
|
-
/**
|
|
654
|
-
* Clear
|
|
655
|
-
* @see https://tailwindcss.com/docs/clear
|
|
656
|
-
*/
|
|
657
|
-
clear: [{
|
|
658
|
-
clear: ['left', 'right', 'both', 'none']
|
|
659
|
-
}],
|
|
660
|
-
/**
|
|
661
|
-
* Isolation
|
|
662
|
-
* @see https://tailwindcss.com/docs/isolation
|
|
663
|
-
*/
|
|
664
|
-
isolation: ['isolate', 'isolation-auto'],
|
|
665
|
-
/**
|
|
666
|
-
* Object Fit
|
|
667
|
-
* @see https://tailwindcss.com/docs/object-fit
|
|
668
|
-
*/
|
|
669
|
-
'object-fit': [{
|
|
670
|
-
object: ['contain', 'cover', 'fill', 'none', 'scale-down']
|
|
671
|
-
}],
|
|
672
|
-
/**
|
|
673
|
-
* Object Position
|
|
674
|
-
* @see https://tailwindcss.com/docs/object-position
|
|
675
|
-
*/
|
|
676
|
-
'object-position': [{
|
|
677
|
-
object: [].concat(getPositions(), [isArbitraryValue])
|
|
678
|
-
}],
|
|
679
|
-
/**
|
|
680
|
-
* Overflow
|
|
681
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
682
|
-
*/
|
|
683
|
-
overflow: [{
|
|
684
|
-
overflow: getOverflow()
|
|
685
|
-
}],
|
|
686
|
-
/**
|
|
687
|
-
* Overflow X
|
|
688
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
689
|
-
*/
|
|
690
|
-
'overflow-x': [{
|
|
691
|
-
'overflow-x': getOverflow()
|
|
692
|
-
}],
|
|
693
|
-
/**
|
|
694
|
-
* Overflow Y
|
|
695
|
-
* @see https://tailwindcss.com/docs/overflow
|
|
696
|
-
*/
|
|
697
|
-
'overflow-y': [{
|
|
698
|
-
'overflow-y': getOverflow()
|
|
699
|
-
}],
|
|
700
|
-
/**
|
|
701
|
-
* Overscroll Behavior
|
|
702
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
703
|
-
*/
|
|
704
|
-
overscroll: [{
|
|
705
|
-
overscroll: getOverscroll()
|
|
706
|
-
}],
|
|
707
|
-
/**
|
|
708
|
-
* Overscroll Behavior X
|
|
709
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
710
|
-
*/
|
|
711
|
-
'overscroll-x': [{
|
|
712
|
-
'overscroll-x': getOverscroll()
|
|
713
|
-
}],
|
|
714
|
-
/**
|
|
715
|
-
* Overscroll Behavior Y
|
|
716
|
-
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
717
|
-
*/
|
|
718
|
-
'overscroll-y': [{
|
|
719
|
-
'overscroll-y': getOverscroll()
|
|
720
|
-
}],
|
|
721
|
-
/**
|
|
722
|
-
* Position
|
|
723
|
-
* @see https://tailwindcss.com/docs/position
|
|
724
|
-
*/
|
|
725
|
-
position: ['static', 'fixed', 'absolute', 'relative', 'sticky'],
|
|
726
|
-
/**
|
|
727
|
-
* Top / Right / Bottom / Left
|
|
728
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
729
|
-
*/
|
|
730
|
-
inset: [{
|
|
731
|
-
inset: [inset]
|
|
732
|
-
}],
|
|
733
|
-
/**
|
|
734
|
-
* Right / Left
|
|
735
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
736
|
-
*/
|
|
737
|
-
'inset-x': [{
|
|
738
|
-
'inset-x': [inset]
|
|
739
|
-
}],
|
|
740
|
-
/**
|
|
741
|
-
* Top / Bottom
|
|
742
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
743
|
-
*/
|
|
744
|
-
'inset-y': [{
|
|
745
|
-
'inset-y': [inset]
|
|
746
|
-
}],
|
|
747
|
-
/**
|
|
748
|
-
* Start
|
|
749
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
750
|
-
*/
|
|
751
|
-
start: [{
|
|
752
|
-
start: [inset]
|
|
753
|
-
}],
|
|
754
|
-
/**
|
|
755
|
-
* End
|
|
756
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
757
|
-
*/
|
|
758
|
-
end: [{
|
|
759
|
-
end: [inset]
|
|
760
|
-
}],
|
|
761
|
-
/**
|
|
762
|
-
* Top
|
|
763
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
764
|
-
*/
|
|
765
|
-
top: [{
|
|
766
|
-
top: [inset]
|
|
767
|
-
}],
|
|
768
|
-
/**
|
|
769
|
-
* Right
|
|
770
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
771
|
-
*/
|
|
772
|
-
right: [{
|
|
773
|
-
right: [inset]
|
|
774
|
-
}],
|
|
775
|
-
/**
|
|
776
|
-
* Bottom
|
|
777
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
778
|
-
*/
|
|
779
|
-
bottom: [{
|
|
780
|
-
bottom: [inset]
|
|
781
|
-
}],
|
|
782
|
-
/**
|
|
783
|
-
* Left
|
|
784
|
-
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
785
|
-
*/
|
|
786
|
-
left: [{
|
|
787
|
-
left: [inset]
|
|
788
|
-
}],
|
|
789
|
-
/**
|
|
790
|
-
* Visibility
|
|
791
|
-
* @see https://tailwindcss.com/docs/visibility
|
|
792
|
-
*/
|
|
793
|
-
visibility: ['visible', 'invisible', 'collapse'],
|
|
794
|
-
/**
|
|
795
|
-
* Z-Index
|
|
796
|
-
* @see https://tailwindcss.com/docs/z-index
|
|
797
|
-
*/
|
|
798
|
-
z: [{
|
|
799
|
-
z: ['auto', isInteger]
|
|
800
|
-
}],
|
|
801
|
-
// Flexbox and Grid
|
|
802
|
-
/**
|
|
803
|
-
* Flex Basis
|
|
804
|
-
* @see https://tailwindcss.com/docs/flex-basis
|
|
805
|
-
*/
|
|
806
|
-
basis: [{
|
|
807
|
-
basis: getSpacingWithAutoAndArbitrary()
|
|
808
|
-
}],
|
|
809
|
-
/**
|
|
810
|
-
* Flex Direction
|
|
811
|
-
* @see https://tailwindcss.com/docs/flex-direction
|
|
812
|
-
*/
|
|
813
|
-
'flex-direction': [{
|
|
814
|
-
flex: ['row', 'row-reverse', 'col', 'col-reverse']
|
|
815
|
-
}],
|
|
816
|
-
/**
|
|
817
|
-
* Flex Wrap
|
|
818
|
-
* @see https://tailwindcss.com/docs/flex-wrap
|
|
819
|
-
*/
|
|
820
|
-
'flex-wrap': [{
|
|
821
|
-
flex: ['wrap', 'wrap-reverse', 'nowrap']
|
|
822
|
-
}],
|
|
823
|
-
/**
|
|
824
|
-
* Flex
|
|
825
|
-
* @see https://tailwindcss.com/docs/flex
|
|
826
|
-
*/
|
|
827
|
-
flex: [{
|
|
828
|
-
flex: ['1', 'auto', 'initial', 'none', isArbitraryValue]
|
|
829
|
-
}],
|
|
830
|
-
/**
|
|
831
|
-
* Flex Grow
|
|
832
|
-
* @see https://tailwindcss.com/docs/flex-grow
|
|
833
|
-
*/
|
|
834
|
-
grow: [{
|
|
835
|
-
grow: getZeroAndEmpty()
|
|
836
|
-
}],
|
|
837
|
-
/**
|
|
838
|
-
* Flex Shrink
|
|
839
|
-
* @see https://tailwindcss.com/docs/flex-shrink
|
|
840
|
-
*/
|
|
841
|
-
shrink: [{
|
|
842
|
-
shrink: getZeroAndEmpty()
|
|
843
|
-
}],
|
|
844
|
-
/**
|
|
845
|
-
* Order
|
|
846
|
-
* @see https://tailwindcss.com/docs/order
|
|
847
|
-
*/
|
|
848
|
-
order: [{
|
|
849
|
-
order: ['first', 'last', 'none', isInteger]
|
|
850
|
-
}],
|
|
851
|
-
/**
|
|
852
|
-
* Grid Template Columns
|
|
853
|
-
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
854
|
-
*/
|
|
855
|
-
'grid-cols': [{
|
|
856
|
-
'grid-cols': [isAny]
|
|
857
|
-
}],
|
|
858
|
-
/**
|
|
859
|
-
* Grid Column Start / End
|
|
860
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
861
|
-
*/
|
|
862
|
-
'col-start-end': [{
|
|
863
|
-
col: ['auto', {
|
|
864
|
-
span: ['full', isInteger]
|
|
865
|
-
}, isArbitraryValue]
|
|
866
|
-
}],
|
|
867
|
-
/**
|
|
868
|
-
* Grid Column Start
|
|
869
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
870
|
-
*/
|
|
871
|
-
'col-start': [{
|
|
872
|
-
'col-start': getNumberWithAutoAndArbitrary()
|
|
873
|
-
}],
|
|
874
|
-
/**
|
|
875
|
-
* Grid Column End
|
|
876
|
-
* @see https://tailwindcss.com/docs/grid-column
|
|
877
|
-
*/
|
|
878
|
-
'col-end': [{
|
|
879
|
-
'col-end': getNumberWithAutoAndArbitrary()
|
|
880
|
-
}],
|
|
881
|
-
/**
|
|
882
|
-
* Grid Template Rows
|
|
883
|
-
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
884
|
-
*/
|
|
885
|
-
'grid-rows': [{
|
|
886
|
-
'grid-rows': [isAny]
|
|
887
|
-
}],
|
|
888
|
-
/**
|
|
889
|
-
* Grid Row Start / End
|
|
890
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
891
|
-
*/
|
|
892
|
-
'row-start-end': [{
|
|
893
|
-
row: ['auto', {
|
|
894
|
-
span: [isInteger]
|
|
895
|
-
}, isArbitraryValue]
|
|
896
|
-
}],
|
|
897
|
-
/**
|
|
898
|
-
* Grid Row Start
|
|
899
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
900
|
-
*/
|
|
901
|
-
'row-start': [{
|
|
902
|
-
'row-start': getNumberWithAutoAndArbitrary()
|
|
903
|
-
}],
|
|
904
|
-
/**
|
|
905
|
-
* Grid Row End
|
|
906
|
-
* @see https://tailwindcss.com/docs/grid-row
|
|
907
|
-
*/
|
|
908
|
-
'row-end': [{
|
|
909
|
-
'row-end': getNumberWithAutoAndArbitrary()
|
|
910
|
-
}],
|
|
911
|
-
/**
|
|
912
|
-
* Grid Auto Flow
|
|
913
|
-
* @see https://tailwindcss.com/docs/grid-auto-flow
|
|
914
|
-
*/
|
|
915
|
-
'grid-flow': [{
|
|
916
|
-
'grid-flow': ['row', 'col', 'dense', 'row-dense', 'col-dense']
|
|
917
|
-
}],
|
|
918
|
-
/**
|
|
919
|
-
* Grid Auto Columns
|
|
920
|
-
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
921
|
-
*/
|
|
922
|
-
'auto-cols': [{
|
|
923
|
-
'auto-cols': ['auto', 'min', 'max', 'fr', isArbitraryValue]
|
|
924
|
-
}],
|
|
925
|
-
/**
|
|
926
|
-
* Grid Auto Rows
|
|
927
|
-
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
928
|
-
*/
|
|
929
|
-
'auto-rows': [{
|
|
930
|
-
'auto-rows': ['auto', 'min', 'max', 'fr', isArbitraryValue]
|
|
931
|
-
}],
|
|
932
|
-
/**
|
|
933
|
-
* Gap
|
|
934
|
-
* @see https://tailwindcss.com/docs/gap
|
|
935
|
-
*/
|
|
936
|
-
gap: [{
|
|
937
|
-
gap: [gap]
|
|
938
|
-
}],
|
|
939
|
-
/**
|
|
940
|
-
* Gap X
|
|
941
|
-
* @see https://tailwindcss.com/docs/gap
|
|
942
|
-
*/
|
|
943
|
-
'gap-x': [{
|
|
944
|
-
'gap-x': [gap]
|
|
945
|
-
}],
|
|
946
|
-
/**
|
|
947
|
-
* Gap Y
|
|
948
|
-
* @see https://tailwindcss.com/docs/gap
|
|
949
|
-
*/
|
|
950
|
-
'gap-y': [{
|
|
951
|
-
'gap-y': [gap]
|
|
952
|
-
}],
|
|
953
|
-
/**
|
|
954
|
-
* Justify Content
|
|
955
|
-
* @see https://tailwindcss.com/docs/justify-content
|
|
956
|
-
*/
|
|
957
|
-
'justify-content': [{
|
|
958
|
-
justify: ['normal'].concat(getAlign())
|
|
959
|
-
}],
|
|
960
|
-
/**
|
|
961
|
-
* Justify Items
|
|
962
|
-
* @see https://tailwindcss.com/docs/justify-items
|
|
963
|
-
*/
|
|
964
|
-
'justify-items': [{
|
|
965
|
-
'justify-items': ['start', 'end', 'center', 'stretch']
|
|
966
|
-
}],
|
|
967
|
-
/**
|
|
968
|
-
* Justify Self
|
|
969
|
-
* @see https://tailwindcss.com/docs/justify-self
|
|
970
|
-
*/
|
|
971
|
-
'justify-self': [{
|
|
972
|
-
'justify-self': ['auto', 'start', 'end', 'center', 'stretch']
|
|
973
|
-
}],
|
|
974
|
-
/**
|
|
975
|
-
* Align Content
|
|
976
|
-
* @see https://tailwindcss.com/docs/align-content
|
|
977
|
-
*/
|
|
978
|
-
'align-content': [{
|
|
979
|
-
content: ['normal'].concat(getAlign(), ['baseline'])
|
|
980
|
-
}],
|
|
981
|
-
/**
|
|
982
|
-
* Align Items
|
|
983
|
-
* @see https://tailwindcss.com/docs/align-items
|
|
984
|
-
*/
|
|
985
|
-
'align-items': [{
|
|
986
|
-
items: ['start', 'end', 'center', 'baseline', 'stretch']
|
|
987
|
-
}],
|
|
988
|
-
/**
|
|
989
|
-
* Align Self
|
|
990
|
-
* @see https://tailwindcss.com/docs/align-self
|
|
991
|
-
*/
|
|
992
|
-
'align-self': [{
|
|
993
|
-
self: ['auto', 'start', 'end', 'center', 'stretch', 'baseline']
|
|
994
|
-
}],
|
|
995
|
-
/**
|
|
996
|
-
* Place Content
|
|
997
|
-
* @see https://tailwindcss.com/docs/place-content
|
|
998
|
-
*/
|
|
999
|
-
'place-content': [{
|
|
1000
|
-
'place-content': [].concat(getAlign(), ['baseline'])
|
|
1001
|
-
}],
|
|
1002
|
-
/**
|
|
1003
|
-
* Place Items
|
|
1004
|
-
* @see https://tailwindcss.com/docs/place-items
|
|
1005
|
-
*/
|
|
1006
|
-
'place-items': [{
|
|
1007
|
-
'place-items': ['start', 'end', 'center', 'baseline', 'stretch']
|
|
1008
|
-
}],
|
|
1009
|
-
/**
|
|
1010
|
-
* Place Self
|
|
1011
|
-
* @see https://tailwindcss.com/docs/place-self
|
|
1012
|
-
*/
|
|
1013
|
-
'place-self': [{
|
|
1014
|
-
'place-self': ['auto', 'start', 'end', 'center', 'stretch']
|
|
1015
|
-
}],
|
|
1016
|
-
// Spacing
|
|
1017
|
-
/**
|
|
1018
|
-
* Padding
|
|
1019
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1020
|
-
*/
|
|
1021
|
-
p: [{
|
|
1022
|
-
p: [padding]
|
|
1023
|
-
}],
|
|
1024
|
-
/**
|
|
1025
|
-
* Padding X
|
|
1026
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1027
|
-
*/
|
|
1028
|
-
px: [{
|
|
1029
|
-
px: [padding]
|
|
1030
|
-
}],
|
|
1031
|
-
/**
|
|
1032
|
-
* Padding Y
|
|
1033
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1034
|
-
*/
|
|
1035
|
-
py: [{
|
|
1036
|
-
py: [padding]
|
|
1037
|
-
}],
|
|
1038
|
-
/**
|
|
1039
|
-
* Padding Start
|
|
1040
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1041
|
-
*/
|
|
1042
|
-
ps: [{
|
|
1043
|
-
ps: [padding]
|
|
1044
|
-
}],
|
|
1045
|
-
/**
|
|
1046
|
-
* Padding End
|
|
1047
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1048
|
-
*/
|
|
1049
|
-
pe: [{
|
|
1050
|
-
pe: [padding]
|
|
1051
|
-
}],
|
|
1052
|
-
/**
|
|
1053
|
-
* Padding Top
|
|
1054
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1055
|
-
*/
|
|
1056
|
-
pt: [{
|
|
1057
|
-
pt: [padding]
|
|
1058
|
-
}],
|
|
1059
|
-
/**
|
|
1060
|
-
* Padding Right
|
|
1061
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1062
|
-
*/
|
|
1063
|
-
pr: [{
|
|
1064
|
-
pr: [padding]
|
|
1065
|
-
}],
|
|
1066
|
-
/**
|
|
1067
|
-
* Padding Bottom
|
|
1068
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1069
|
-
*/
|
|
1070
|
-
pb: [{
|
|
1071
|
-
pb: [padding]
|
|
1072
|
-
}],
|
|
1073
|
-
/**
|
|
1074
|
-
* Padding Left
|
|
1075
|
-
* @see https://tailwindcss.com/docs/padding
|
|
1076
|
-
*/
|
|
1077
|
-
pl: [{
|
|
1078
|
-
pl: [padding]
|
|
1079
|
-
}],
|
|
1080
|
-
/**
|
|
1081
|
-
* Margin
|
|
1082
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1083
|
-
*/
|
|
1084
|
-
m: [{
|
|
1085
|
-
m: [margin]
|
|
1086
|
-
}],
|
|
1087
|
-
/**
|
|
1088
|
-
* Margin X
|
|
1089
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1090
|
-
*/
|
|
1091
|
-
mx: [{
|
|
1092
|
-
mx: [margin]
|
|
1093
|
-
}],
|
|
1094
|
-
/**
|
|
1095
|
-
* Margin Y
|
|
1096
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1097
|
-
*/
|
|
1098
|
-
my: [{
|
|
1099
|
-
my: [margin]
|
|
1100
|
-
}],
|
|
1101
|
-
/**
|
|
1102
|
-
* Margin Start
|
|
1103
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1104
|
-
*/
|
|
1105
|
-
ms: [{
|
|
1106
|
-
ms: [margin]
|
|
1107
|
-
}],
|
|
1108
|
-
/**
|
|
1109
|
-
* Margin End
|
|
1110
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1111
|
-
*/
|
|
1112
|
-
me: [{
|
|
1113
|
-
me: [margin]
|
|
1114
|
-
}],
|
|
1115
|
-
/**
|
|
1116
|
-
* Margin Top
|
|
1117
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1118
|
-
*/
|
|
1119
|
-
mt: [{
|
|
1120
|
-
mt: [margin]
|
|
1121
|
-
}],
|
|
1122
|
-
/**
|
|
1123
|
-
* Margin Right
|
|
1124
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1125
|
-
*/
|
|
1126
|
-
mr: [{
|
|
1127
|
-
mr: [margin]
|
|
1128
|
-
}],
|
|
1129
|
-
/**
|
|
1130
|
-
* Margin Bottom
|
|
1131
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1132
|
-
*/
|
|
1133
|
-
mb: [{
|
|
1134
|
-
mb: [margin]
|
|
1135
|
-
}],
|
|
1136
|
-
/**
|
|
1137
|
-
* Margin Left
|
|
1138
|
-
* @see https://tailwindcss.com/docs/margin
|
|
1139
|
-
*/
|
|
1140
|
-
ml: [{
|
|
1141
|
-
ml: [margin]
|
|
1142
|
-
}],
|
|
1143
|
-
/**
|
|
1144
|
-
* Space Between X
|
|
1145
|
-
* @see https://tailwindcss.com/docs/space
|
|
1146
|
-
*/
|
|
1147
|
-
'space-x': [{
|
|
1148
|
-
'space-x': [space]
|
|
1149
|
-
}],
|
|
1150
|
-
/**
|
|
1151
|
-
* Space Between X Reverse
|
|
1152
|
-
* @see https://tailwindcss.com/docs/space
|
|
1153
|
-
*/
|
|
1154
|
-
'space-x-reverse': ['space-x-reverse'],
|
|
1155
|
-
/**
|
|
1156
|
-
* Space Between Y
|
|
1157
|
-
* @see https://tailwindcss.com/docs/space
|
|
1158
|
-
*/
|
|
1159
|
-
'space-y': [{
|
|
1160
|
-
'space-y': [space]
|
|
1161
|
-
}],
|
|
1162
|
-
/**
|
|
1163
|
-
* Space Between Y Reverse
|
|
1164
|
-
* @see https://tailwindcss.com/docs/space
|
|
1165
|
-
*/
|
|
1166
|
-
'space-y-reverse': ['space-y-reverse'],
|
|
1167
|
-
// Sizing
|
|
1168
|
-
/**
|
|
1169
|
-
* Width
|
|
1170
|
-
* @see https://tailwindcss.com/docs/width
|
|
1171
|
-
*/
|
|
1172
|
-
w: [{
|
|
1173
|
-
w: ['auto', 'min', 'max', 'fit', isArbitraryValue, spacing]
|
|
1174
|
-
}],
|
|
1175
|
-
/**
|
|
1176
|
-
* Min-Width
|
|
1177
|
-
* @see https://tailwindcss.com/docs/min-width
|
|
1178
|
-
*/
|
|
1179
|
-
'min-w': [{
|
|
1180
|
-
'min-w': ['min', 'max', 'fit', isArbitraryValue, isLength]
|
|
1181
|
-
}],
|
|
1182
|
-
/**
|
|
1183
|
-
* Max-Width
|
|
1184
|
-
* @see https://tailwindcss.com/docs/max-width
|
|
1185
|
-
*/
|
|
1186
|
-
'max-w': [{
|
|
1187
|
-
'max-w': ['0', 'none', 'full', 'min', 'max', 'fit', 'prose', {
|
|
1188
|
-
screen: [isTshirtSize]
|
|
1189
|
-
}, isTshirtSize, isArbitraryValue]
|
|
1190
|
-
}],
|
|
1191
|
-
/**
|
|
1192
|
-
* Height
|
|
1193
|
-
* @see https://tailwindcss.com/docs/height
|
|
1194
|
-
*/
|
|
1195
|
-
h: [{
|
|
1196
|
-
h: [isArbitraryValue, spacing, 'auto', 'min', 'max', 'fit']
|
|
1197
|
-
}],
|
|
1198
|
-
/**
|
|
1199
|
-
* Min-Height
|
|
1200
|
-
* @see https://tailwindcss.com/docs/min-height
|
|
1201
|
-
*/
|
|
1202
|
-
'min-h': [{
|
|
1203
|
-
'min-h': ['min', 'max', 'fit', isArbitraryValue, isLength]
|
|
1204
|
-
}],
|
|
1205
|
-
/**
|
|
1206
|
-
* Max-Height
|
|
1207
|
-
* @see https://tailwindcss.com/docs/max-height
|
|
1208
|
-
*/
|
|
1209
|
-
'max-h': [{
|
|
1210
|
-
'max-h': [isArbitraryValue, spacing, 'min', 'max', 'fit']
|
|
1211
|
-
}],
|
|
1212
|
-
// Typography
|
|
1213
|
-
/**
|
|
1214
|
-
* Font Size
|
|
1215
|
-
* @see https://tailwindcss.com/docs/font-size
|
|
1216
|
-
*/
|
|
1217
|
-
'font-size': [{
|
|
1218
|
-
text: ['base', isTshirtSize, isArbitraryLength]
|
|
1219
|
-
}],
|
|
1220
|
-
/**
|
|
1221
|
-
* Font Smoothing
|
|
1222
|
-
* @see https://tailwindcss.com/docs/font-smoothing
|
|
1223
|
-
*/
|
|
1224
|
-
'font-smoothing': ['antialiased', 'subpixel-antialiased'],
|
|
1225
|
-
/**
|
|
1226
|
-
* Font Style
|
|
1227
|
-
* @see https://tailwindcss.com/docs/font-style
|
|
1228
|
-
*/
|
|
1229
|
-
'font-style': ['italic', 'not-italic'],
|
|
1230
|
-
/**
|
|
1231
|
-
* Font Weight
|
|
1232
|
-
* @see https://tailwindcss.com/docs/font-weight
|
|
1233
|
-
*/
|
|
1234
|
-
'font-weight': [{
|
|
1235
|
-
font: ['thin', 'extralight', 'light', 'normal', 'medium', 'semibold', 'bold', 'extrabold', 'black', isArbitraryNumber]
|
|
1236
|
-
}],
|
|
1237
|
-
/**
|
|
1238
|
-
* Font Family
|
|
1239
|
-
* @see https://tailwindcss.com/docs/font-family
|
|
1240
|
-
*/
|
|
1241
|
-
'font-family': [{
|
|
1242
|
-
font: [isAny]
|
|
1243
|
-
}],
|
|
1244
|
-
/**
|
|
1245
|
-
* Font Variant Numeric
|
|
1246
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1247
|
-
*/
|
|
1248
|
-
'fvn-normal': ['normal-nums'],
|
|
1249
|
-
/**
|
|
1250
|
-
* Font Variant Numeric
|
|
1251
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1252
|
-
*/
|
|
1253
|
-
'fvn-ordinal': ['ordinal'],
|
|
1254
|
-
/**
|
|
1255
|
-
* Font Variant Numeric
|
|
1256
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1257
|
-
*/
|
|
1258
|
-
'fvn-slashed-zero': ['slashed-zero'],
|
|
1259
|
-
/**
|
|
1260
|
-
* Font Variant Numeric
|
|
1261
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1262
|
-
*/
|
|
1263
|
-
'fvn-figure': ['lining-nums', 'oldstyle-nums'],
|
|
1264
|
-
/**
|
|
1265
|
-
* Font Variant Numeric
|
|
1266
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1267
|
-
*/
|
|
1268
|
-
'fvn-spacing': ['proportional-nums', 'tabular-nums'],
|
|
1269
|
-
/**
|
|
1270
|
-
* Font Variant Numeric
|
|
1271
|
-
* @see https://tailwindcss.com/docs/font-variant-numeric
|
|
1272
|
-
*/
|
|
1273
|
-
'fvn-fraction': ['diagonal-fractions', 'stacked-fractons'],
|
|
1274
|
-
/**
|
|
1275
|
-
* Letter Spacing
|
|
1276
|
-
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1277
|
-
*/
|
|
1278
|
-
tracking: [{
|
|
1279
|
-
tracking: ['tighter', 'tight', 'normal', 'wide', 'wider', 'widest', isArbitraryValue]
|
|
1280
|
-
}],
|
|
1281
|
-
/**
|
|
1282
|
-
* Line Clamp
|
|
1283
|
-
* @see https://tailwindcss.com/docs/line-clamp
|
|
1284
|
-
*/
|
|
1285
|
-
'line-clamp': [{
|
|
1286
|
-
'line-clamp': ['none', isNumber, isArbitraryNumber]
|
|
1287
|
-
}],
|
|
1288
|
-
/**
|
|
1289
|
-
* Line Height
|
|
1290
|
-
* @see https://tailwindcss.com/docs/line-height
|
|
1291
|
-
*/
|
|
1292
|
-
leading: [{
|
|
1293
|
-
leading: ['none', 'tight', 'snug', 'normal', 'relaxed', 'loose', isArbitraryValue, isLength]
|
|
1294
|
-
}],
|
|
1295
|
-
/**
|
|
1296
|
-
* List Style Image
|
|
1297
|
-
* @see https://tailwindcss.com/docs/list-style-image
|
|
1298
|
-
*/
|
|
1299
|
-
'list-image': [{
|
|
1300
|
-
'list-image': ['none', isArbitraryValue]
|
|
1301
|
-
}],
|
|
1302
|
-
/**
|
|
1303
|
-
* List Style Type
|
|
1304
|
-
* @see https://tailwindcss.com/docs/list-style-type
|
|
1305
|
-
*/
|
|
1306
|
-
'list-style-type': [{
|
|
1307
|
-
list: ['none', 'disc', 'decimal', isArbitraryValue]
|
|
1308
|
-
}],
|
|
1309
|
-
/**
|
|
1310
|
-
* List Style Position
|
|
1311
|
-
* @see https://tailwindcss.com/docs/list-style-position
|
|
1312
|
-
*/
|
|
1313
|
-
'list-style-position': [{
|
|
1314
|
-
list: ['inside', 'outside']
|
|
1315
|
-
}],
|
|
1316
|
-
/**
|
|
1317
|
-
* Placeholder Color
|
|
1318
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1319
|
-
* @see https://tailwindcss.com/docs/placeholder-color
|
|
1320
|
-
*/
|
|
1321
|
-
'placeholder-color': [{
|
|
1322
|
-
placeholder: [colors]
|
|
1323
|
-
}],
|
|
1324
|
-
/**
|
|
1325
|
-
* Placeholder Opacity
|
|
1326
|
-
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1327
|
-
*/
|
|
1328
|
-
'placeholder-opacity': [{
|
|
1329
|
-
'placeholder-opacity': [opacity]
|
|
1330
|
-
}],
|
|
1331
|
-
/**
|
|
1332
|
-
* Text Alignment
|
|
1333
|
-
* @see https://tailwindcss.com/docs/text-align
|
|
1334
|
-
*/
|
|
1335
|
-
'text-alignment': [{
|
|
1336
|
-
text: ['left', 'center', 'right', 'justify', 'start', 'end']
|
|
1337
|
-
}],
|
|
1338
|
-
/**
|
|
1339
|
-
* Text Color
|
|
1340
|
-
* @see https://tailwindcss.com/docs/text-color
|
|
1341
|
-
*/
|
|
1342
|
-
'text-color': [{
|
|
1343
|
-
text: [colors]
|
|
1344
|
-
}],
|
|
1345
|
-
/**
|
|
1346
|
-
* Text Opacity
|
|
1347
|
-
* @see https://tailwindcss.com/docs/text-opacity
|
|
1348
|
-
*/
|
|
1349
|
-
'text-opacity': [{
|
|
1350
|
-
'text-opacity': [opacity]
|
|
1351
|
-
}],
|
|
1352
|
-
/**
|
|
1353
|
-
* Text Decoration
|
|
1354
|
-
* @see https://tailwindcss.com/docs/text-decoration
|
|
1355
|
-
*/
|
|
1356
|
-
'text-decoration': ['underline', 'overline', 'line-through', 'no-underline'],
|
|
1357
|
-
/**
|
|
1358
|
-
* Text Decoration Style
|
|
1359
|
-
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1360
|
-
*/
|
|
1361
|
-
'text-decoration-style': [{
|
|
1362
|
-
decoration: [].concat(getLineStyles(), ['wavy'])
|
|
1363
|
-
}],
|
|
1364
|
-
/**
|
|
1365
|
-
* Text Decoration Thickness
|
|
1366
|
-
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1367
|
-
*/
|
|
1368
|
-
'text-decoration-thickness': [{
|
|
1369
|
-
decoration: ['auto', 'from-font', isLength]
|
|
1370
|
-
}],
|
|
1371
|
-
/**
|
|
1372
|
-
* Text Underline Offset
|
|
1373
|
-
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1374
|
-
*/
|
|
1375
|
-
'underline-offset': [{
|
|
1376
|
-
'underline-offset': ['auto', isArbitraryValue, isLength]
|
|
1377
|
-
}],
|
|
1378
|
-
/**
|
|
1379
|
-
* Text Decoration Color
|
|
1380
|
-
* @see https://tailwindcss.com/docs/text-decoration-color
|
|
1381
|
-
*/
|
|
1382
|
-
'text-decoration-color': [{
|
|
1383
|
-
decoration: [colors]
|
|
1384
|
-
}],
|
|
1385
|
-
/**
|
|
1386
|
-
* Text Transform
|
|
1387
|
-
* @see https://tailwindcss.com/docs/text-transform
|
|
1388
|
-
*/
|
|
1389
|
-
'text-transform': ['uppercase', 'lowercase', 'capitalize', 'normal-case'],
|
|
1390
|
-
/**
|
|
1391
|
-
* Text Overflow
|
|
1392
|
-
* @see https://tailwindcss.com/docs/text-overflow
|
|
1393
|
-
*/
|
|
1394
|
-
'text-overflow': ['truncate', 'text-ellipsis', 'text-clip'],
|
|
1395
|
-
/**
|
|
1396
|
-
* Text Indent
|
|
1397
|
-
* @see https://tailwindcss.com/docs/text-indent
|
|
1398
|
-
*/
|
|
1399
|
-
indent: [{
|
|
1400
|
-
indent: getSpacingWithArbitrary()
|
|
1401
|
-
}],
|
|
1402
|
-
/**
|
|
1403
|
-
* Vertical Alignment
|
|
1404
|
-
* @see https://tailwindcss.com/docs/vertical-align
|
|
1405
|
-
*/
|
|
1406
|
-
'vertical-align': [{
|
|
1407
|
-
align: ['baseline', 'top', 'middle', 'bottom', 'text-top', 'text-bottom', 'sub', 'super', isArbitraryValue]
|
|
1408
|
-
}],
|
|
1409
|
-
/**
|
|
1410
|
-
* Whitespace
|
|
1411
|
-
* @see https://tailwindcss.com/docs/whitespace
|
|
1412
|
-
*/
|
|
1413
|
-
whitespace: [{
|
|
1414
|
-
whitespace: ['normal', 'nowrap', 'pre', 'pre-line', 'pre-wrap', 'break-spaces']
|
|
1415
|
-
}],
|
|
1416
|
-
/**
|
|
1417
|
-
* Word Break
|
|
1418
|
-
* @see https://tailwindcss.com/docs/word-break
|
|
1419
|
-
*/
|
|
1420
|
-
"break": [{
|
|
1421
|
-
"break": ['normal', 'words', 'all', 'keep']
|
|
1422
|
-
}],
|
|
1423
|
-
/**
|
|
1424
|
-
* Hyphens
|
|
1425
|
-
* @see https://tailwindcss.com/docs/hyphens
|
|
1426
|
-
*/
|
|
1427
|
-
hyphens: [{
|
|
1428
|
-
hyphens: ['none', 'manual', 'auto']
|
|
1429
|
-
}],
|
|
1430
|
-
/**
|
|
1431
|
-
* Content
|
|
1432
|
-
* @see https://tailwindcss.com/docs/content
|
|
1433
|
-
*/
|
|
1434
|
-
content: [{
|
|
1435
|
-
content: ['none', isArbitraryValue]
|
|
1436
|
-
}],
|
|
1437
|
-
// Backgrounds
|
|
1438
|
-
/**
|
|
1439
|
-
* Background Attachment
|
|
1440
|
-
* @see https://tailwindcss.com/docs/background-attachment
|
|
1441
|
-
*/
|
|
1442
|
-
'bg-attachment': [{
|
|
1443
|
-
bg: ['fixed', 'local', 'scroll']
|
|
1444
|
-
}],
|
|
1445
|
-
/**
|
|
1446
|
-
* Background Clip
|
|
1447
|
-
* @see https://tailwindcss.com/docs/background-clip
|
|
1448
|
-
*/
|
|
1449
|
-
'bg-clip': [{
|
|
1450
|
-
'bg-clip': ['border', 'padding', 'content', 'text']
|
|
1451
|
-
}],
|
|
1452
|
-
/**
|
|
1453
|
-
* Background Opacity
|
|
1454
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1455
|
-
* @see https://tailwindcss.com/docs/background-opacity
|
|
1456
|
-
*/
|
|
1457
|
-
'bg-opacity': [{
|
|
1458
|
-
'bg-opacity': [opacity]
|
|
1459
|
-
}],
|
|
1460
|
-
/**
|
|
1461
|
-
* Background Origin
|
|
1462
|
-
* @see https://tailwindcss.com/docs/background-origin
|
|
1463
|
-
*/
|
|
1464
|
-
'bg-origin': [{
|
|
1465
|
-
'bg-origin': ['border', 'padding', 'content']
|
|
1466
|
-
}],
|
|
1467
|
-
/**
|
|
1468
|
-
* Background Position
|
|
1469
|
-
* @see https://tailwindcss.com/docs/background-position
|
|
1470
|
-
*/
|
|
1471
|
-
'bg-position': [{
|
|
1472
|
-
bg: [].concat(getPositions(), [isArbitraryPosition])
|
|
1473
|
-
}],
|
|
1474
|
-
/**
|
|
1475
|
-
* Background Repeat
|
|
1476
|
-
* @see https://tailwindcss.com/docs/background-repeat
|
|
1477
|
-
*/
|
|
1478
|
-
'bg-repeat': [{
|
|
1479
|
-
bg: ['no-repeat', {
|
|
1480
|
-
repeat: ['', 'x', 'y', 'round', 'space']
|
|
1481
|
-
}]
|
|
1482
|
-
}],
|
|
1483
|
-
/**
|
|
1484
|
-
* Background Size
|
|
1485
|
-
* @see https://tailwindcss.com/docs/background-size
|
|
1486
|
-
*/
|
|
1487
|
-
'bg-size': [{
|
|
1488
|
-
bg: ['auto', 'cover', 'contain', isArbitrarySize]
|
|
1489
|
-
}],
|
|
1490
|
-
/**
|
|
1491
|
-
* Background Image
|
|
1492
|
-
* @see https://tailwindcss.com/docs/background-image
|
|
1493
|
-
*/
|
|
1494
|
-
'bg-image': [{
|
|
1495
|
-
bg: ['none', {
|
|
1496
|
-
'gradient-to': ['t', 'tr', 'r', 'br', 'b', 'bl', 'l', 'tl']
|
|
1497
|
-
}, isArbitraryUrl]
|
|
1498
|
-
}],
|
|
1499
|
-
/**
|
|
1500
|
-
* Background Color
|
|
1501
|
-
* @see https://tailwindcss.com/docs/background-color
|
|
1502
|
-
*/
|
|
1503
|
-
'bg-color': [{
|
|
1504
|
-
bg: [colors]
|
|
1505
|
-
}],
|
|
1506
|
-
/**
|
|
1507
|
-
* Gradient Color Stops From Position
|
|
1508
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1509
|
-
*/
|
|
1510
|
-
'gradient-from-pos': [{
|
|
1511
|
-
from: [gradientColorStopPositions]
|
|
1512
|
-
}],
|
|
1513
|
-
/**
|
|
1514
|
-
* Gradient Color Stops Via Position
|
|
1515
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1516
|
-
*/
|
|
1517
|
-
'gradient-via-pos': [{
|
|
1518
|
-
via: [gradientColorStopPositions]
|
|
1519
|
-
}],
|
|
1520
|
-
/**
|
|
1521
|
-
* Gradient Color Stops To Position
|
|
1522
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1523
|
-
*/
|
|
1524
|
-
'gradient-to-pos': [{
|
|
1525
|
-
to: [gradientColorStopPositions]
|
|
1526
|
-
}],
|
|
1527
|
-
/**
|
|
1528
|
-
* Gradient Color Stops From
|
|
1529
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1530
|
-
*/
|
|
1531
|
-
'gradient-from': [{
|
|
1532
|
-
from: [gradientColorStops]
|
|
1533
|
-
}],
|
|
1534
|
-
/**
|
|
1535
|
-
* Gradient Color Stops Via
|
|
1536
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1537
|
-
*/
|
|
1538
|
-
'gradient-via': [{
|
|
1539
|
-
via: [gradientColorStops]
|
|
1540
|
-
}],
|
|
1541
|
-
/**
|
|
1542
|
-
* Gradient Color Stops To
|
|
1543
|
-
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1544
|
-
*/
|
|
1545
|
-
'gradient-to': [{
|
|
1546
|
-
to: [gradientColorStops]
|
|
1547
|
-
}],
|
|
1548
|
-
// Borders
|
|
1549
|
-
/**
|
|
1550
|
-
* Border Radius
|
|
1551
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1552
|
-
*/
|
|
1553
|
-
rounded: [{
|
|
1554
|
-
rounded: [borderRadius]
|
|
1555
|
-
}],
|
|
1556
|
-
/**
|
|
1557
|
-
* Border Radius Start
|
|
1558
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1559
|
-
*/
|
|
1560
|
-
'rounded-s': [{
|
|
1561
|
-
'rounded-s': [borderRadius]
|
|
1562
|
-
}],
|
|
1563
|
-
/**
|
|
1564
|
-
* Border Radius End
|
|
1565
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1566
|
-
*/
|
|
1567
|
-
'rounded-e': [{
|
|
1568
|
-
'rounded-e': [borderRadius]
|
|
1569
|
-
}],
|
|
1570
|
-
/**
|
|
1571
|
-
* Border Radius Top
|
|
1572
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1573
|
-
*/
|
|
1574
|
-
'rounded-t': [{
|
|
1575
|
-
'rounded-t': [borderRadius]
|
|
1576
|
-
}],
|
|
1577
|
-
/**
|
|
1578
|
-
* Border Radius Right
|
|
1579
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1580
|
-
*/
|
|
1581
|
-
'rounded-r': [{
|
|
1582
|
-
'rounded-r': [borderRadius]
|
|
1583
|
-
}],
|
|
1584
|
-
/**
|
|
1585
|
-
* Border Radius Bottom
|
|
1586
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1587
|
-
*/
|
|
1588
|
-
'rounded-b': [{
|
|
1589
|
-
'rounded-b': [borderRadius]
|
|
1590
|
-
}],
|
|
1591
|
-
/**
|
|
1592
|
-
* Border Radius Left
|
|
1593
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1594
|
-
*/
|
|
1595
|
-
'rounded-l': [{
|
|
1596
|
-
'rounded-l': [borderRadius]
|
|
1597
|
-
}],
|
|
1598
|
-
/**
|
|
1599
|
-
* Border Radius Start Start
|
|
1600
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1601
|
-
*/
|
|
1602
|
-
'rounded-ss': [{
|
|
1603
|
-
'rounded-ss': [borderRadius]
|
|
1604
|
-
}],
|
|
1605
|
-
/**
|
|
1606
|
-
* Border Radius Start End
|
|
1607
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1608
|
-
*/
|
|
1609
|
-
'rounded-se': [{
|
|
1610
|
-
'rounded-se': [borderRadius]
|
|
1611
|
-
}],
|
|
1612
|
-
/**
|
|
1613
|
-
* Border Radius End End
|
|
1614
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1615
|
-
*/
|
|
1616
|
-
'rounded-ee': [{
|
|
1617
|
-
'rounded-ee': [borderRadius]
|
|
1618
|
-
}],
|
|
1619
|
-
/**
|
|
1620
|
-
* Border Radius End Start
|
|
1621
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1622
|
-
*/
|
|
1623
|
-
'rounded-es': [{
|
|
1624
|
-
'rounded-es': [borderRadius]
|
|
1625
|
-
}],
|
|
1626
|
-
/**
|
|
1627
|
-
* Border Radius Top Left
|
|
1628
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1629
|
-
*/
|
|
1630
|
-
'rounded-tl': [{
|
|
1631
|
-
'rounded-tl': [borderRadius]
|
|
1632
|
-
}],
|
|
1633
|
-
/**
|
|
1634
|
-
* Border Radius Top Right
|
|
1635
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1636
|
-
*/
|
|
1637
|
-
'rounded-tr': [{
|
|
1638
|
-
'rounded-tr': [borderRadius]
|
|
1639
|
-
}],
|
|
1640
|
-
/**
|
|
1641
|
-
* Border Radius Bottom Right
|
|
1642
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1643
|
-
*/
|
|
1644
|
-
'rounded-br': [{
|
|
1645
|
-
'rounded-br': [borderRadius]
|
|
1646
|
-
}],
|
|
1647
|
-
/**
|
|
1648
|
-
* Border Radius Bottom Left
|
|
1649
|
-
* @see https://tailwindcss.com/docs/border-radius
|
|
1650
|
-
*/
|
|
1651
|
-
'rounded-bl': [{
|
|
1652
|
-
'rounded-bl': [borderRadius]
|
|
1653
|
-
}],
|
|
1654
|
-
/**
|
|
1655
|
-
* Border Width
|
|
1656
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1657
|
-
*/
|
|
1658
|
-
'border-w': [{
|
|
1659
|
-
border: [borderWidth]
|
|
1660
|
-
}],
|
|
1661
|
-
/**
|
|
1662
|
-
* Border Width X
|
|
1663
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1664
|
-
*/
|
|
1665
|
-
'border-w-x': [{
|
|
1666
|
-
'border-x': [borderWidth]
|
|
1667
|
-
}],
|
|
1668
|
-
/**
|
|
1669
|
-
* Border Width Y
|
|
1670
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1671
|
-
*/
|
|
1672
|
-
'border-w-y': [{
|
|
1673
|
-
'border-y': [borderWidth]
|
|
1674
|
-
}],
|
|
1675
|
-
/**
|
|
1676
|
-
* Border Width Start
|
|
1677
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1678
|
-
*/
|
|
1679
|
-
'border-w-s': [{
|
|
1680
|
-
'border-s': [borderWidth]
|
|
1681
|
-
}],
|
|
1682
|
-
/**
|
|
1683
|
-
* Border Width End
|
|
1684
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1685
|
-
*/
|
|
1686
|
-
'border-w-e': [{
|
|
1687
|
-
'border-e': [borderWidth]
|
|
1688
|
-
}],
|
|
1689
|
-
/**
|
|
1690
|
-
* Border Width Top
|
|
1691
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1692
|
-
*/
|
|
1693
|
-
'border-w-t': [{
|
|
1694
|
-
'border-t': [borderWidth]
|
|
1695
|
-
}],
|
|
1696
|
-
/**
|
|
1697
|
-
* Border Width Right
|
|
1698
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1699
|
-
*/
|
|
1700
|
-
'border-w-r': [{
|
|
1701
|
-
'border-r': [borderWidth]
|
|
1702
|
-
}],
|
|
1703
|
-
/**
|
|
1704
|
-
* Border Width Bottom
|
|
1705
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1706
|
-
*/
|
|
1707
|
-
'border-w-b': [{
|
|
1708
|
-
'border-b': [borderWidth]
|
|
1709
|
-
}],
|
|
1710
|
-
/**
|
|
1711
|
-
* Border Width Left
|
|
1712
|
-
* @see https://tailwindcss.com/docs/border-width
|
|
1713
|
-
*/
|
|
1714
|
-
'border-w-l': [{
|
|
1715
|
-
'border-l': [borderWidth]
|
|
1716
|
-
}],
|
|
1717
|
-
/**
|
|
1718
|
-
* Border Opacity
|
|
1719
|
-
* @see https://tailwindcss.com/docs/border-opacity
|
|
1720
|
-
*/
|
|
1721
|
-
'border-opacity': [{
|
|
1722
|
-
'border-opacity': [opacity]
|
|
1723
|
-
}],
|
|
1724
|
-
/**
|
|
1725
|
-
* Border Style
|
|
1726
|
-
* @see https://tailwindcss.com/docs/border-style
|
|
1727
|
-
*/
|
|
1728
|
-
'border-style': [{
|
|
1729
|
-
border: [].concat(getLineStyles(), ['hidden'])
|
|
1730
|
-
}],
|
|
1731
|
-
/**
|
|
1732
|
-
* Divide Width X
|
|
1733
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1734
|
-
*/
|
|
1735
|
-
'divide-x': [{
|
|
1736
|
-
'divide-x': [borderWidth]
|
|
1737
|
-
}],
|
|
1738
|
-
/**
|
|
1739
|
-
* Divide Width X Reverse
|
|
1740
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1741
|
-
*/
|
|
1742
|
-
'divide-x-reverse': ['divide-x-reverse'],
|
|
1743
|
-
/**
|
|
1744
|
-
* Divide Width Y
|
|
1745
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1746
|
-
*/
|
|
1747
|
-
'divide-y': [{
|
|
1748
|
-
'divide-y': [borderWidth]
|
|
1749
|
-
}],
|
|
1750
|
-
/**
|
|
1751
|
-
* Divide Width Y Reverse
|
|
1752
|
-
* @see https://tailwindcss.com/docs/divide-width
|
|
1753
|
-
*/
|
|
1754
|
-
'divide-y-reverse': ['divide-y-reverse'],
|
|
1755
|
-
/**
|
|
1756
|
-
* Divide Opacity
|
|
1757
|
-
* @see https://tailwindcss.com/docs/divide-opacity
|
|
1758
|
-
*/
|
|
1759
|
-
'divide-opacity': [{
|
|
1760
|
-
'divide-opacity': [opacity]
|
|
1761
|
-
}],
|
|
1762
|
-
/**
|
|
1763
|
-
* Divide Style
|
|
1764
|
-
* @see https://tailwindcss.com/docs/divide-style
|
|
1765
|
-
*/
|
|
1766
|
-
'divide-style': [{
|
|
1767
|
-
divide: getLineStyles()
|
|
1768
|
-
}],
|
|
1769
|
-
/**
|
|
1770
|
-
* Border Color
|
|
1771
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1772
|
-
*/
|
|
1773
|
-
'border-color': [{
|
|
1774
|
-
border: [borderColor]
|
|
1775
|
-
}],
|
|
1776
|
-
/**
|
|
1777
|
-
* Border Color X
|
|
1778
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1779
|
-
*/
|
|
1780
|
-
'border-color-x': [{
|
|
1781
|
-
'border-x': [borderColor]
|
|
1782
|
-
}],
|
|
1783
|
-
/**
|
|
1784
|
-
* Border Color Y
|
|
1785
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1786
|
-
*/
|
|
1787
|
-
'border-color-y': [{
|
|
1788
|
-
'border-y': [borderColor]
|
|
1789
|
-
}],
|
|
1790
|
-
/**
|
|
1791
|
-
* Border Color Top
|
|
1792
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1793
|
-
*/
|
|
1794
|
-
'border-color-t': [{
|
|
1795
|
-
'border-t': [borderColor]
|
|
1796
|
-
}],
|
|
1797
|
-
/**
|
|
1798
|
-
* Border Color Right
|
|
1799
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1800
|
-
*/
|
|
1801
|
-
'border-color-r': [{
|
|
1802
|
-
'border-r': [borderColor]
|
|
1803
|
-
}],
|
|
1804
|
-
/**
|
|
1805
|
-
* Border Color Bottom
|
|
1806
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1807
|
-
*/
|
|
1808
|
-
'border-color-b': [{
|
|
1809
|
-
'border-b': [borderColor]
|
|
1810
|
-
}],
|
|
1811
|
-
/**
|
|
1812
|
-
* Border Color Left
|
|
1813
|
-
* @see https://tailwindcss.com/docs/border-color
|
|
1814
|
-
*/
|
|
1815
|
-
'border-color-l': [{
|
|
1816
|
-
'border-l': [borderColor]
|
|
1817
|
-
}],
|
|
1818
|
-
/**
|
|
1819
|
-
* Divide Color
|
|
1820
|
-
* @see https://tailwindcss.com/docs/divide-color
|
|
1821
|
-
*/
|
|
1822
|
-
'divide-color': [{
|
|
1823
|
-
divide: [borderColor]
|
|
1824
|
-
}],
|
|
1825
|
-
/**
|
|
1826
|
-
* Outline Style
|
|
1827
|
-
* @see https://tailwindcss.com/docs/outline-style
|
|
1828
|
-
*/
|
|
1829
|
-
'outline-style': [{
|
|
1830
|
-
outline: [''].concat(getLineStyles())
|
|
1831
|
-
}],
|
|
1832
|
-
/**
|
|
1833
|
-
* Outline Offset
|
|
1834
|
-
* @see https://tailwindcss.com/docs/outline-offset
|
|
1835
|
-
*/
|
|
1836
|
-
'outline-offset': [{
|
|
1837
|
-
'outline-offset': [isArbitraryValue, isLength]
|
|
1838
|
-
}],
|
|
1839
|
-
/**
|
|
1840
|
-
* Outline Width
|
|
1841
|
-
* @see https://tailwindcss.com/docs/outline-width
|
|
1842
|
-
*/
|
|
1843
|
-
'outline-w': [{
|
|
1844
|
-
outline: [isLength]
|
|
1845
|
-
}],
|
|
1846
|
-
/**
|
|
1847
|
-
* Outline Color
|
|
1848
|
-
* @see https://tailwindcss.com/docs/outline-color
|
|
1849
|
-
*/
|
|
1850
|
-
'outline-color': [{
|
|
1851
|
-
outline: [colors]
|
|
1852
|
-
}],
|
|
1853
|
-
/**
|
|
1854
|
-
* Ring Width
|
|
1855
|
-
* @see https://tailwindcss.com/docs/ring-width
|
|
1856
|
-
*/
|
|
1857
|
-
'ring-w': [{
|
|
1858
|
-
ring: getLengthWithEmpty()
|
|
1859
|
-
}],
|
|
1860
|
-
/**
|
|
1861
|
-
* Ring Width Inset
|
|
1862
|
-
* @see https://tailwindcss.com/docs/ring-width
|
|
1863
|
-
*/
|
|
1864
|
-
'ring-w-inset': ['ring-inset'],
|
|
1865
|
-
/**
|
|
1866
|
-
* Ring Color
|
|
1867
|
-
* @see https://tailwindcss.com/docs/ring-color
|
|
1868
|
-
*/
|
|
1869
|
-
'ring-color': [{
|
|
1870
|
-
ring: [colors]
|
|
1871
|
-
}],
|
|
1872
|
-
/**
|
|
1873
|
-
* Ring Opacity
|
|
1874
|
-
* @see https://tailwindcss.com/docs/ring-opacity
|
|
1875
|
-
*/
|
|
1876
|
-
'ring-opacity': [{
|
|
1877
|
-
'ring-opacity': [opacity]
|
|
1878
|
-
}],
|
|
1879
|
-
/**
|
|
1880
|
-
* Ring Offset Width
|
|
1881
|
-
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1882
|
-
*/
|
|
1883
|
-
'ring-offset-w': [{
|
|
1884
|
-
'ring-offset': [isLength]
|
|
1885
|
-
}],
|
|
1886
|
-
/**
|
|
1887
|
-
* Ring Offset Color
|
|
1888
|
-
* @see https://tailwindcss.com/docs/ring-offset-color
|
|
1889
|
-
*/
|
|
1890
|
-
'ring-offset-color': [{
|
|
1891
|
-
'ring-offset': [colors]
|
|
1892
|
-
}],
|
|
1893
|
-
// Effects
|
|
1894
|
-
/**
|
|
1895
|
-
* Box Shadow
|
|
1896
|
-
* @see https://tailwindcss.com/docs/box-shadow
|
|
1897
|
-
*/
|
|
1898
|
-
shadow: [{
|
|
1899
|
-
shadow: ['', 'inner', 'none', isTshirtSize, isArbitraryShadow]
|
|
1900
|
-
}],
|
|
1901
|
-
/**
|
|
1902
|
-
* Box Shadow Color
|
|
1903
|
-
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1904
|
-
*/
|
|
1905
|
-
'shadow-color': [{
|
|
1906
|
-
shadow: [isAny]
|
|
1907
|
-
}],
|
|
1908
|
-
/**
|
|
1909
|
-
* Opacity
|
|
1910
|
-
* @see https://tailwindcss.com/docs/opacity
|
|
1911
|
-
*/
|
|
1912
|
-
opacity: [{
|
|
1913
|
-
opacity: [opacity]
|
|
1914
|
-
}],
|
|
1915
|
-
/**
|
|
1916
|
-
* Mix Blend Mode
|
|
1917
|
-
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1918
|
-
*/
|
|
1919
|
-
'mix-blend': [{
|
|
1920
|
-
'mix-blend': getBlendModes()
|
|
1921
|
-
}],
|
|
1922
|
-
/**
|
|
1923
|
-
* Background Blend Mode
|
|
1924
|
-
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1925
|
-
*/
|
|
1926
|
-
'bg-blend': [{
|
|
1927
|
-
'bg-blend': getBlendModes()
|
|
1928
|
-
}],
|
|
1929
|
-
// Filters
|
|
1930
|
-
/**
|
|
1931
|
-
* Filter
|
|
1932
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
1933
|
-
* @see https://tailwindcss.com/docs/filter
|
|
1934
|
-
*/
|
|
1935
|
-
filter: [{
|
|
1936
|
-
filter: ['', 'none']
|
|
1937
|
-
}],
|
|
1938
|
-
/**
|
|
1939
|
-
* Blur
|
|
1940
|
-
* @see https://tailwindcss.com/docs/blur
|
|
1941
|
-
*/
|
|
1942
|
-
blur: [{
|
|
1943
|
-
blur: [blur]
|
|
1944
|
-
}],
|
|
1945
|
-
/**
|
|
1946
|
-
* Brightness
|
|
1947
|
-
* @see https://tailwindcss.com/docs/brightness
|
|
1948
|
-
*/
|
|
1949
|
-
brightness: [{
|
|
1950
|
-
brightness: [brightness]
|
|
1951
|
-
}],
|
|
1952
|
-
/**
|
|
1953
|
-
* Contrast
|
|
1954
|
-
* @see https://tailwindcss.com/docs/contrast
|
|
1955
|
-
*/
|
|
1956
|
-
contrast: [{
|
|
1957
|
-
contrast: [contrast]
|
|
1958
|
-
}],
|
|
1959
|
-
/**
|
|
1960
|
-
* Drop Shadow
|
|
1961
|
-
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1962
|
-
*/
|
|
1963
|
-
'drop-shadow': [{
|
|
1964
|
-
'drop-shadow': ['', 'none', isTshirtSize, isArbitraryValue]
|
|
1965
|
-
}],
|
|
1966
|
-
/**
|
|
1967
|
-
* Grayscale
|
|
1968
|
-
* @see https://tailwindcss.com/docs/grayscale
|
|
1969
|
-
*/
|
|
1970
|
-
grayscale: [{
|
|
1971
|
-
grayscale: [grayscale]
|
|
1972
|
-
}],
|
|
1973
|
-
/**
|
|
1974
|
-
* Hue Rotate
|
|
1975
|
-
* @see https://tailwindcss.com/docs/hue-rotate
|
|
1976
|
-
*/
|
|
1977
|
-
'hue-rotate': [{
|
|
1978
|
-
'hue-rotate': [hueRotate]
|
|
1979
|
-
}],
|
|
1980
|
-
/**
|
|
1981
|
-
* Invert
|
|
1982
|
-
* @see https://tailwindcss.com/docs/invert
|
|
1983
|
-
*/
|
|
1984
|
-
invert: [{
|
|
1985
|
-
invert: [invert]
|
|
1986
|
-
}],
|
|
1987
|
-
/**
|
|
1988
|
-
* Saturate
|
|
1989
|
-
* @see https://tailwindcss.com/docs/saturate
|
|
1990
|
-
*/
|
|
1991
|
-
saturate: [{
|
|
1992
|
-
saturate: [saturate]
|
|
1993
|
-
}],
|
|
1994
|
-
/**
|
|
1995
|
-
* Sepia
|
|
1996
|
-
* @see https://tailwindcss.com/docs/sepia
|
|
1997
|
-
*/
|
|
1998
|
-
sepia: [{
|
|
1999
|
-
sepia: [sepia]
|
|
2000
|
-
}],
|
|
2001
|
-
/**
|
|
2002
|
-
* Backdrop Filter
|
|
2003
|
-
* @deprecated since Tailwind CSS v3.0.0
|
|
2004
|
-
* @see https://tailwindcss.com/docs/backdrop-filter
|
|
2005
|
-
*/
|
|
2006
|
-
'backdrop-filter': [{
|
|
2007
|
-
'backdrop-filter': ['', 'none']
|
|
2008
|
-
}],
|
|
2009
|
-
/**
|
|
2010
|
-
* Backdrop Blur
|
|
2011
|
-
* @see https://tailwindcss.com/docs/backdrop-blur
|
|
2012
|
-
*/
|
|
2013
|
-
'backdrop-blur': [{
|
|
2014
|
-
'backdrop-blur': [blur]
|
|
2015
|
-
}],
|
|
2016
|
-
/**
|
|
2017
|
-
* Backdrop Brightness
|
|
2018
|
-
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2019
|
-
*/
|
|
2020
|
-
'backdrop-brightness': [{
|
|
2021
|
-
'backdrop-brightness': [brightness]
|
|
2022
|
-
}],
|
|
2023
|
-
/**
|
|
2024
|
-
* Backdrop Contrast
|
|
2025
|
-
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2026
|
-
*/
|
|
2027
|
-
'backdrop-contrast': [{
|
|
2028
|
-
'backdrop-contrast': [contrast]
|
|
2029
|
-
}],
|
|
2030
|
-
/**
|
|
2031
|
-
* Backdrop Grayscale
|
|
2032
|
-
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2033
|
-
*/
|
|
2034
|
-
'backdrop-grayscale': [{
|
|
2035
|
-
'backdrop-grayscale': [grayscale]
|
|
2036
|
-
}],
|
|
2037
|
-
/**
|
|
2038
|
-
* Backdrop Hue Rotate
|
|
2039
|
-
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2040
|
-
*/
|
|
2041
|
-
'backdrop-hue-rotate': [{
|
|
2042
|
-
'backdrop-hue-rotate': [hueRotate]
|
|
2043
|
-
}],
|
|
2044
|
-
/**
|
|
2045
|
-
* Backdrop Invert
|
|
2046
|
-
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2047
|
-
*/
|
|
2048
|
-
'backdrop-invert': [{
|
|
2049
|
-
'backdrop-invert': [invert]
|
|
2050
|
-
}],
|
|
2051
|
-
/**
|
|
2052
|
-
* Backdrop Opacity
|
|
2053
|
-
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2054
|
-
*/
|
|
2055
|
-
'backdrop-opacity': [{
|
|
2056
|
-
'backdrop-opacity': [opacity]
|
|
2057
|
-
}],
|
|
2058
|
-
/**
|
|
2059
|
-
* Backdrop Saturate
|
|
2060
|
-
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2061
|
-
*/
|
|
2062
|
-
'backdrop-saturate': [{
|
|
2063
|
-
'backdrop-saturate': [saturate]
|
|
2064
|
-
}],
|
|
2065
|
-
/**
|
|
2066
|
-
* Backdrop Sepia
|
|
2067
|
-
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2068
|
-
*/
|
|
2069
|
-
'backdrop-sepia': [{
|
|
2070
|
-
'backdrop-sepia': [sepia]
|
|
2071
|
-
}],
|
|
2072
|
-
// Tables
|
|
2073
|
-
/**
|
|
2074
|
-
* Border Collapse
|
|
2075
|
-
* @see https://tailwindcss.com/docs/border-collapse
|
|
2076
|
-
*/
|
|
2077
|
-
'border-collapse': [{
|
|
2078
|
-
border: ['collapse', 'separate']
|
|
2079
|
-
}],
|
|
2080
|
-
/**
|
|
2081
|
-
* Border Spacing
|
|
2082
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2083
|
-
*/
|
|
2084
|
-
'border-spacing': [{
|
|
2085
|
-
'border-spacing': [borderSpacing]
|
|
2086
|
-
}],
|
|
2087
|
-
/**
|
|
2088
|
-
* Border Spacing X
|
|
2089
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2090
|
-
*/
|
|
2091
|
-
'border-spacing-x': [{
|
|
2092
|
-
'border-spacing-x': [borderSpacing]
|
|
2093
|
-
}],
|
|
2094
|
-
/**
|
|
2095
|
-
* Border Spacing Y
|
|
2096
|
-
* @see https://tailwindcss.com/docs/border-spacing
|
|
2097
|
-
*/
|
|
2098
|
-
'border-spacing-y': [{
|
|
2099
|
-
'border-spacing-y': [borderSpacing]
|
|
2100
|
-
}],
|
|
2101
|
-
/**
|
|
2102
|
-
* Table Layout
|
|
2103
|
-
* @see https://tailwindcss.com/docs/table-layout
|
|
2104
|
-
*/
|
|
2105
|
-
'table-layout': [{
|
|
2106
|
-
table: ['auto', 'fixed']
|
|
2107
|
-
}],
|
|
2108
|
-
/**
|
|
2109
|
-
* Caption Side
|
|
2110
|
-
* @see https://tailwindcss.com/docs/caption-side
|
|
2111
|
-
*/
|
|
2112
|
-
caption: [{
|
|
2113
|
-
caption: ['top', 'bottom']
|
|
2114
|
-
}],
|
|
2115
|
-
// Transitions and Animation
|
|
2116
|
-
/**
|
|
2117
|
-
* Tranisition Property
|
|
2118
|
-
* @see https://tailwindcss.com/docs/transition-property
|
|
2119
|
-
*/
|
|
2120
|
-
transition: [{
|
|
2121
|
-
transition: ['none', 'all', '', 'colors', 'opacity', 'shadow', 'transform', isArbitraryValue]
|
|
2122
|
-
}],
|
|
2123
|
-
/**
|
|
2124
|
-
* Transition Duration
|
|
2125
|
-
* @see https://tailwindcss.com/docs/transition-duration
|
|
2126
|
-
*/
|
|
2127
|
-
duration: [{
|
|
2128
|
-
duration: getNumberAndArbitrary()
|
|
2129
|
-
}],
|
|
2130
|
-
/**
|
|
2131
|
-
* Transition Timing Function
|
|
2132
|
-
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2133
|
-
*/
|
|
2134
|
-
ease: [{
|
|
2135
|
-
ease: ['linear', 'in', 'out', 'in-out', isArbitraryValue]
|
|
2136
|
-
}],
|
|
2137
|
-
/**
|
|
2138
|
-
* Transition Delay
|
|
2139
|
-
* @see https://tailwindcss.com/docs/transition-delay
|
|
2140
|
-
*/
|
|
2141
|
-
delay: [{
|
|
2142
|
-
delay: getNumberAndArbitrary()
|
|
2143
|
-
}],
|
|
2144
|
-
/**
|
|
2145
|
-
* Animation
|
|
2146
|
-
* @see https://tailwindcss.com/docs/animation
|
|
2147
|
-
*/
|
|
2148
|
-
animate: [{
|
|
2149
|
-
animate: ['none', 'spin', 'ping', 'pulse', 'bounce', isArbitraryValue]
|
|
2150
|
-
}],
|
|
2151
|
-
// Transforms
|
|
2152
|
-
/**
|
|
2153
|
-
* Transform
|
|
2154
|
-
* @see https://tailwindcss.com/docs/transform
|
|
2155
|
-
*/
|
|
2156
|
-
transform: [{
|
|
2157
|
-
transform: ['', 'gpu', 'none']
|
|
2158
|
-
}],
|
|
2159
|
-
/**
|
|
2160
|
-
* Scale
|
|
2161
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2162
|
-
*/
|
|
2163
|
-
scale: [{
|
|
2164
|
-
scale: [scale]
|
|
2165
|
-
}],
|
|
2166
|
-
/**
|
|
2167
|
-
* Scale X
|
|
2168
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2169
|
-
*/
|
|
2170
|
-
'scale-x': [{
|
|
2171
|
-
'scale-x': [scale]
|
|
2172
|
-
}],
|
|
2173
|
-
/**
|
|
2174
|
-
* Scale Y
|
|
2175
|
-
* @see https://tailwindcss.com/docs/scale
|
|
2176
|
-
*/
|
|
2177
|
-
'scale-y': [{
|
|
2178
|
-
'scale-y': [scale]
|
|
2179
|
-
}],
|
|
2180
|
-
/**
|
|
2181
|
-
* Rotate
|
|
2182
|
-
* @see https://tailwindcss.com/docs/rotate
|
|
2183
|
-
*/
|
|
2184
|
-
rotate: [{
|
|
2185
|
-
rotate: [isInteger, isArbitraryValue]
|
|
2186
|
-
}],
|
|
2187
|
-
/**
|
|
2188
|
-
* Translate X
|
|
2189
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2190
|
-
*/
|
|
2191
|
-
'translate-x': [{
|
|
2192
|
-
'translate-x': [translate]
|
|
2193
|
-
}],
|
|
2194
|
-
/**
|
|
2195
|
-
* Translate Y
|
|
2196
|
-
* @see https://tailwindcss.com/docs/translate
|
|
2197
|
-
*/
|
|
2198
|
-
'translate-y': [{
|
|
2199
|
-
'translate-y': [translate]
|
|
2200
|
-
}],
|
|
2201
|
-
/**
|
|
2202
|
-
* Skew X
|
|
2203
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2204
|
-
*/
|
|
2205
|
-
'skew-x': [{
|
|
2206
|
-
'skew-x': [skew]
|
|
2207
|
-
}],
|
|
2208
|
-
/**
|
|
2209
|
-
* Skew Y
|
|
2210
|
-
* @see https://tailwindcss.com/docs/skew
|
|
2211
|
-
*/
|
|
2212
|
-
'skew-y': [{
|
|
2213
|
-
'skew-y': [skew]
|
|
2214
|
-
}],
|
|
2215
|
-
/**
|
|
2216
|
-
* Transform Origin
|
|
2217
|
-
* @see https://tailwindcss.com/docs/transform-origin
|
|
2218
|
-
*/
|
|
2219
|
-
'transform-origin': [{
|
|
2220
|
-
origin: ['center', 'top', 'top-right', 'right', 'bottom-right', 'bottom', 'bottom-left', 'left', 'top-left', isArbitraryValue]
|
|
2221
|
-
}],
|
|
2222
|
-
// Interactivity
|
|
2223
|
-
/**
|
|
2224
|
-
* Accent Color
|
|
2225
|
-
* @see https://tailwindcss.com/docs/accent-color
|
|
2226
|
-
*/
|
|
2227
|
-
accent: [{
|
|
2228
|
-
accent: ['auto', colors]
|
|
2229
|
-
}],
|
|
2230
|
-
/**
|
|
2231
|
-
* Appearance
|
|
2232
|
-
* @see https://tailwindcss.com/docs/appearance
|
|
2233
|
-
*/
|
|
2234
|
-
appearance: ['appearance-none'],
|
|
2235
|
-
/**
|
|
2236
|
-
* Cursor
|
|
2237
|
-
* @see https://tailwindcss.com/docs/cursor
|
|
2238
|
-
*/
|
|
2239
|
-
cursor: [{
|
|
2240
|
-
cursor: ['auto', 'default', 'pointer', 'wait', 'text', 'move', 'help', 'not-allowed', 'none', 'context-menu', 'progress', 'cell', 'crosshair', 'vertical-text', 'alias', 'copy', 'no-drop', 'grab', 'grabbing', 'all-scroll', 'col-resize', 'row-resize', 'n-resize', 'e-resize', 's-resize', 'w-resize', 'ne-resize', 'nw-resize', 'se-resize', 'sw-resize', 'ew-resize', 'ns-resize', 'nesw-resize', 'nwse-resize', 'zoom-in', 'zoom-out', isArbitraryValue]
|
|
2241
|
-
}],
|
|
2242
|
-
/**
|
|
2243
|
-
* Caret Color
|
|
2244
|
-
* @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
|
|
2245
|
-
*/
|
|
2246
|
-
'caret-color': [{
|
|
2247
|
-
caret: [colors]
|
|
2248
|
-
}],
|
|
2249
|
-
/**
|
|
2250
|
-
* Pointer Events
|
|
2251
|
-
* @see https://tailwindcss.com/docs/pointer-events
|
|
2252
|
-
*/
|
|
2253
|
-
'pointer-events': [{
|
|
2254
|
-
'pointer-events': ['none', 'auto']
|
|
2255
|
-
}],
|
|
2256
|
-
/**
|
|
2257
|
-
* Resize
|
|
2258
|
-
* @see https://tailwindcss.com/docs/resize
|
|
2259
|
-
*/
|
|
2260
|
-
resize: [{
|
|
2261
|
-
resize: ['none', 'y', 'x', '']
|
|
2262
|
-
}],
|
|
2263
|
-
/**
|
|
2264
|
-
* Scroll Behavior
|
|
2265
|
-
* @see https://tailwindcss.com/docs/scroll-behavior
|
|
2266
|
-
*/
|
|
2267
|
-
'scroll-behavior': [{
|
|
2268
|
-
scroll: ['auto', 'smooth']
|
|
2269
|
-
}],
|
|
2270
|
-
/**
|
|
2271
|
-
* Scroll Margin
|
|
2272
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2273
|
-
*/
|
|
2274
|
-
'scroll-m': [{
|
|
2275
|
-
'scroll-m': getSpacingWithArbitrary()
|
|
2276
|
-
}],
|
|
2277
|
-
/**
|
|
2278
|
-
* Scroll Margin X
|
|
2279
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2280
|
-
*/
|
|
2281
|
-
'scroll-mx': [{
|
|
2282
|
-
'scroll-mx': getSpacingWithArbitrary()
|
|
2283
|
-
}],
|
|
2284
|
-
/**
|
|
2285
|
-
* Scroll Margin Y
|
|
2286
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2287
|
-
*/
|
|
2288
|
-
'scroll-my': [{
|
|
2289
|
-
'scroll-my': getSpacingWithArbitrary()
|
|
2290
|
-
}],
|
|
2291
|
-
/**
|
|
2292
|
-
* Scroll Margin Start
|
|
2293
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2294
|
-
*/
|
|
2295
|
-
'scroll-ms': [{
|
|
2296
|
-
'scroll-ms': getSpacingWithArbitrary()
|
|
2297
|
-
}],
|
|
2298
|
-
/**
|
|
2299
|
-
* Scroll Margin End
|
|
2300
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2301
|
-
*/
|
|
2302
|
-
'scroll-me': [{
|
|
2303
|
-
'scroll-me': getSpacingWithArbitrary()
|
|
2304
|
-
}],
|
|
2305
|
-
/**
|
|
2306
|
-
* Scroll Margin Top
|
|
2307
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2308
|
-
*/
|
|
2309
|
-
'scroll-mt': [{
|
|
2310
|
-
'scroll-mt': getSpacingWithArbitrary()
|
|
2311
|
-
}],
|
|
2312
|
-
/**
|
|
2313
|
-
* Scroll Margin Right
|
|
2314
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2315
|
-
*/
|
|
2316
|
-
'scroll-mr': [{
|
|
2317
|
-
'scroll-mr': getSpacingWithArbitrary()
|
|
2318
|
-
}],
|
|
2319
|
-
/**
|
|
2320
|
-
* Scroll Margin Bottom
|
|
2321
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2322
|
-
*/
|
|
2323
|
-
'scroll-mb': [{
|
|
2324
|
-
'scroll-mb': getSpacingWithArbitrary()
|
|
2325
|
-
}],
|
|
2326
|
-
/**
|
|
2327
|
-
* Scroll Margin Left
|
|
2328
|
-
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2329
|
-
*/
|
|
2330
|
-
'scroll-ml': [{
|
|
2331
|
-
'scroll-ml': getSpacingWithArbitrary()
|
|
2332
|
-
}],
|
|
2333
|
-
/**
|
|
2334
|
-
* Scroll Padding
|
|
2335
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2336
|
-
*/
|
|
2337
|
-
'scroll-p': [{
|
|
2338
|
-
'scroll-p': getSpacingWithArbitrary()
|
|
2339
|
-
}],
|
|
2340
|
-
/**
|
|
2341
|
-
* Scroll Padding X
|
|
2342
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2343
|
-
*/
|
|
2344
|
-
'scroll-px': [{
|
|
2345
|
-
'scroll-px': getSpacingWithArbitrary()
|
|
2346
|
-
}],
|
|
2347
|
-
/**
|
|
2348
|
-
* Scroll Padding Y
|
|
2349
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2350
|
-
*/
|
|
2351
|
-
'scroll-py': [{
|
|
2352
|
-
'scroll-py': getSpacingWithArbitrary()
|
|
2353
|
-
}],
|
|
2354
|
-
/**
|
|
2355
|
-
* Scroll Padding Start
|
|
2356
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2357
|
-
*/
|
|
2358
|
-
'scroll-ps': [{
|
|
2359
|
-
'scroll-ps': getSpacingWithArbitrary()
|
|
2360
|
-
}],
|
|
2361
|
-
/**
|
|
2362
|
-
* Scroll Padding End
|
|
2363
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2364
|
-
*/
|
|
2365
|
-
'scroll-pe': [{
|
|
2366
|
-
'scroll-pe': getSpacingWithArbitrary()
|
|
2367
|
-
}],
|
|
2368
|
-
/**
|
|
2369
|
-
* Scroll Padding Top
|
|
2370
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2371
|
-
*/
|
|
2372
|
-
'scroll-pt': [{
|
|
2373
|
-
'scroll-pt': getSpacingWithArbitrary()
|
|
2374
|
-
}],
|
|
2375
|
-
/**
|
|
2376
|
-
* Scroll Padding Right
|
|
2377
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2378
|
-
*/
|
|
2379
|
-
'scroll-pr': [{
|
|
2380
|
-
'scroll-pr': getSpacingWithArbitrary()
|
|
2381
|
-
}],
|
|
2382
|
-
/**
|
|
2383
|
-
* Scroll Padding Bottom
|
|
2384
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2385
|
-
*/
|
|
2386
|
-
'scroll-pb': [{
|
|
2387
|
-
'scroll-pb': getSpacingWithArbitrary()
|
|
2388
|
-
}],
|
|
2389
|
-
/**
|
|
2390
|
-
* Scroll Padding Left
|
|
2391
|
-
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2392
|
-
*/
|
|
2393
|
-
'scroll-pl': [{
|
|
2394
|
-
'scroll-pl': getSpacingWithArbitrary()
|
|
2395
|
-
}],
|
|
2396
|
-
/**
|
|
2397
|
-
* Scroll Snap Align
|
|
2398
|
-
* @see https://tailwindcss.com/docs/scroll-snap-align
|
|
2399
|
-
*/
|
|
2400
|
-
'snap-align': [{
|
|
2401
|
-
snap: ['start', 'end', 'center', 'align-none']
|
|
2402
|
-
}],
|
|
2403
|
-
/**
|
|
2404
|
-
* Scroll Snap Stop
|
|
2405
|
-
* @see https://tailwindcss.com/docs/scroll-snap-stop
|
|
2406
|
-
*/
|
|
2407
|
-
'snap-stop': [{
|
|
2408
|
-
snap: ['normal', 'always']
|
|
2409
|
-
}],
|
|
2410
|
-
/**
|
|
2411
|
-
* Scroll Snap Type
|
|
2412
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2413
|
-
*/
|
|
2414
|
-
'snap-type': [{
|
|
2415
|
-
snap: ['none', 'x', 'y', 'both']
|
|
2416
|
-
}],
|
|
2417
|
-
/**
|
|
2418
|
-
* Scroll Snap Type Strictness
|
|
2419
|
-
* @see https://tailwindcss.com/docs/scroll-snap-type
|
|
2420
|
-
*/
|
|
2421
|
-
'snap-strictness': [{
|
|
2422
|
-
snap: ['mandatory', 'proximity']
|
|
2423
|
-
}],
|
|
2424
|
-
/**
|
|
2425
|
-
* Touch Action
|
|
2426
|
-
* @see https://tailwindcss.com/docs/touch-action
|
|
2427
|
-
*/
|
|
2428
|
-
touch: [{
|
|
2429
|
-
touch: ['auto', 'none', 'pinch-zoom', 'manipulation', {
|
|
2430
|
-
pan: ['x', 'left', 'right', 'y', 'up', 'down']
|
|
2431
|
-
}]
|
|
2432
|
-
}],
|
|
2433
|
-
/**
|
|
2434
|
-
* User Select
|
|
2435
|
-
* @see https://tailwindcss.com/docs/user-select
|
|
2436
|
-
*/
|
|
2437
|
-
select: [{
|
|
2438
|
-
select: ['none', 'text', 'all', 'auto']
|
|
2439
|
-
}],
|
|
2440
|
-
/**
|
|
2441
|
-
* Will Change
|
|
2442
|
-
* @see https://tailwindcss.com/docs/will-change
|
|
2443
|
-
*/
|
|
2444
|
-
'will-change': [{
|
|
2445
|
-
'will-change': ['auto', 'scroll', 'contents', 'transform', isArbitraryValue]
|
|
2446
|
-
}],
|
|
2447
|
-
// SVG
|
|
2448
|
-
/**
|
|
2449
|
-
* Fill
|
|
2450
|
-
* @see https://tailwindcss.com/docs/fill
|
|
2451
|
-
*/
|
|
2452
|
-
fill: [{
|
|
2453
|
-
fill: [colors, 'none']
|
|
2454
|
-
}],
|
|
2455
|
-
/**
|
|
2456
|
-
* Stroke Width
|
|
2457
|
-
* @see https://tailwindcss.com/docs/stroke-width
|
|
2458
|
-
*/
|
|
2459
|
-
'stroke-w': [{
|
|
2460
|
-
stroke: [isLength, isArbitraryNumber]
|
|
2461
|
-
}],
|
|
2462
|
-
/**
|
|
2463
|
-
* Stroke
|
|
2464
|
-
* @see https://tailwindcss.com/docs/stroke
|
|
2465
|
-
*/
|
|
2466
|
-
stroke: [{
|
|
2467
|
-
stroke: [colors, 'none']
|
|
2468
|
-
}],
|
|
2469
|
-
// Accessibility
|
|
2470
|
-
/**
|
|
2471
|
-
* Screen Readers
|
|
2472
|
-
* @see https://tailwindcss.com/docs/screen-readers
|
|
2473
|
-
*/
|
|
2474
|
-
sr: ['sr-only', 'not-sr-only']
|
|
2475
|
-
},
|
|
2476
|
-
conflictingClassGroups: {
|
|
2477
|
-
overflow: ['overflow-x', 'overflow-y'],
|
|
2478
|
-
overscroll: ['overscroll-x', 'overscroll-y'],
|
|
2479
|
-
inset: ['inset-x', 'inset-y', 'start', 'end', 'top', 'right', 'bottom', 'left'],
|
|
2480
|
-
'inset-x': ['right', 'left'],
|
|
2481
|
-
'inset-y': ['top', 'bottom'],
|
|
2482
|
-
flex: ['basis', 'grow', 'shrink'],
|
|
2483
|
-
gap: ['gap-x', 'gap-y'],
|
|
2484
|
-
p: ['px', 'py', 'ps', 'pe', 'pt', 'pr', 'pb', 'pl'],
|
|
2485
|
-
px: ['pr', 'pl'],
|
|
2486
|
-
py: ['pt', 'pb'],
|
|
2487
|
-
m: ['mx', 'my', 'ms', 'me', 'mt', 'mr', 'mb', 'ml'],
|
|
2488
|
-
mx: ['mr', 'ml'],
|
|
2489
|
-
my: ['mt', 'mb'],
|
|
2490
|
-
'font-size': ['leading'],
|
|
2491
|
-
'fvn-normal': ['fvn-ordinal', 'fvn-slashed-zero', 'fvn-figure', 'fvn-spacing', 'fvn-fraction'],
|
|
2492
|
-
'fvn-ordinal': ['fvn-normal'],
|
|
2493
|
-
'fvn-slashed-zero': ['fvn-normal'],
|
|
2494
|
-
'fvn-figure': ['fvn-normal'],
|
|
2495
|
-
'fvn-spacing': ['fvn-normal'],
|
|
2496
|
-
'fvn-fraction': ['fvn-normal'],
|
|
2497
|
-
rounded: ['rounded-s', 'rounded-e', 'rounded-t', 'rounded-r', 'rounded-b', 'rounded-l', 'rounded-ss', 'rounded-se', 'rounded-ee', 'rounded-es', 'rounded-tl', 'rounded-tr', 'rounded-br', 'rounded-bl'],
|
|
2498
|
-
'rounded-s': ['rounded-ss', 'rounded-es'],
|
|
2499
|
-
'rounded-e': ['rounded-se', 'rounded-ee'],
|
|
2500
|
-
'rounded-t': ['rounded-tl', 'rounded-tr'],
|
|
2501
|
-
'rounded-r': ['rounded-tr', 'rounded-br'],
|
|
2502
|
-
'rounded-b': ['rounded-br', 'rounded-bl'],
|
|
2503
|
-
'rounded-l': ['rounded-tl', 'rounded-bl'],
|
|
2504
|
-
'border-spacing': ['border-spacing-x', 'border-spacing-y'],
|
|
2505
|
-
'border-w': ['border-w-s', 'border-w-e', 'border-w-t', 'border-w-r', 'border-w-b', 'border-w-l'],
|
|
2506
|
-
'border-w-x': ['border-w-r', 'border-w-l'],
|
|
2507
|
-
'border-w-y': ['border-w-t', 'border-w-b'],
|
|
2508
|
-
'border-color': ['border-color-t', 'border-color-r', 'border-color-b', 'border-color-l'],
|
|
2509
|
-
'border-color-x': ['border-color-r', 'border-color-l'],
|
|
2510
|
-
'border-color-y': ['border-color-t', 'border-color-b'],
|
|
2511
|
-
'scroll-m': ['scroll-mx', 'scroll-my', 'scroll-ms', 'scroll-me', 'scroll-mt', 'scroll-mr', 'scroll-mb', 'scroll-ml'],
|
|
2512
|
-
'scroll-mx': ['scroll-mr', 'scroll-ml'],
|
|
2513
|
-
'scroll-my': ['scroll-mt', 'scroll-mb'],
|
|
2514
|
-
'scroll-p': ['scroll-px', 'scroll-py', 'scroll-ps', 'scroll-pe', 'scroll-pt', 'scroll-pr', 'scroll-pb', 'scroll-pl'],
|
|
2515
|
-
'scroll-px': ['scroll-pr', 'scroll-pl'],
|
|
2516
|
-
'scroll-py': ['scroll-pt', 'scroll-pb']
|
|
2517
|
-
},
|
|
2518
|
-
conflictingClassGroupModifiers: {
|
|
2519
|
-
'font-size': ['leading']
|
|
2520
|
-
}
|
|
2521
|
-
};
|
|
2522
|
-
}
|
|
2523
|
-
|
|
2524
|
-
/**
|
|
2525
|
-
* @param baseConfig Config where other config will be merged into. This object will be mutated.
|
|
2526
|
-
* @param configExtension Partial config to merge into the `baseConfig`.
|
|
2527
|
-
*/
|
|
2528
|
-
function mergeConfigs(baseConfig, configExtension) {
|
|
2529
|
-
for (var key in configExtension) {
|
|
2530
|
-
mergePropertyRecursively(baseConfig, key, configExtension[key]);
|
|
2531
|
-
}
|
|
2532
|
-
return baseConfig;
|
|
2533
|
-
}
|
|
2534
|
-
var hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
2535
|
-
var overrideTypes = /*#__PURE__*/new Set(['string', 'number', 'boolean']);
|
|
2536
|
-
function mergePropertyRecursively(baseObject, mergeKey, mergeValue) {
|
|
2537
|
-
if (!hasOwnProperty.call(baseObject, mergeKey) || overrideTypes.has(typeof mergeValue) || mergeValue === null) {
|
|
2538
|
-
baseObject[mergeKey] = mergeValue;
|
|
2539
|
-
return;
|
|
2540
|
-
}
|
|
2541
|
-
if (Array.isArray(mergeValue) && Array.isArray(baseObject[mergeKey])) {
|
|
2542
|
-
baseObject[mergeKey] = baseObject[mergeKey].concat(mergeValue);
|
|
2543
|
-
return;
|
|
2544
|
-
}
|
|
2545
|
-
if (typeof mergeValue === 'object' && typeof baseObject[mergeKey] === 'object') {
|
|
2546
|
-
if (baseObject[mergeKey] === null) {
|
|
2547
|
-
baseObject[mergeKey] = mergeValue;
|
|
2548
|
-
return;
|
|
2549
|
-
}
|
|
2550
|
-
for (var nextKey in mergeValue) {
|
|
2551
|
-
mergePropertyRecursively(baseObject[mergeKey], nextKey, mergeValue[nextKey]);
|
|
2552
|
-
}
|
|
2553
|
-
}
|
|
2554
|
-
}
|
|
2555
|
-
|
|
2556
|
-
function extendTailwindMerge(configExtension) {
|
|
2557
|
-
for (var _len = arguments.length, createConfig = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
|
|
2558
|
-
createConfig[_key - 1] = arguments[_key];
|
|
2559
|
-
}
|
|
2560
|
-
return typeof configExtension === 'function' ? createTailwindMerge.apply(void 0, [getDefaultConfig, configExtension].concat(createConfig)) : createTailwindMerge.apply(void 0, [function () {
|
|
2561
|
-
return mergeConfigs(getDefaultConfig(), configExtension);
|
|
2562
|
-
}].concat(createConfig));
|
|
2563
|
-
}
|
|
2564
|
-
|
|
2565
|
-
var twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
|
|
176
|
+
};
|
|
177
|
+
const removeFromArray = (array, item) => {
|
|
178
|
+
const index = array.indexOf(item);
|
|
179
|
+
if (index >= 0) {
|
|
180
|
+
array[index] = array[array.length - 1];
|
|
181
|
+
array.length--;
|
|
182
|
+
}
|
|
183
|
+
};
|
|
2566
184
|
|
|
2567
|
-
|
|
185
|
+
const createStore = (defaultState, shouldUpdate) => {
|
|
186
|
+
const map = createObservableMap(defaultState, shouldUpdate);
|
|
187
|
+
map.use(stencilSubscription());
|
|
188
|
+
return map;
|
|
189
|
+
};
|
|
2568
190
|
|
|
2569
|
-
export {
|
|
191
|
+
export { createStore as c };
|