@public-ui/visual-tests 4.3.0-rc.0 → 4.3.0-rc.2
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/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js +2 -0
- package/app/dist/assets/Alert-LeFfZ8Oj-q6xkBMwW.js.map +1 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js +2 -0
- package/app/dist/assets/Collapsible-BG8kZny4-D7QQckDg.js.map +1 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js +2 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup--3PdjAdp-DVqeaAb-.js.map +1 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js +2 -0
- package/app/dist/assets/FieldControlStateWrapper-BJghqA8K-8c6soCWp.js.map +1 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js +2 -0
- package/app/dist/assets/FormFieldStateWrapper-D1Q6Lpff-BcE0oYC6.js.map +1 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js +2 -0
- package/app/dist/assets/Heading-uCdB_mbH-DKod8P-f.js.map +1 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js +2 -0
- package/app/dist/assets/Input-Cu811opH-BulJQfD3.js.map +1 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js +2 -0
- package/app/dist/assets/InputStateWrapper-Cl_V9Vuo-DkZ0x-MC.js.map +1 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js +2 -0
- package/app/dist/assets/_Uint8Array-kJHDjtoP-CTkgs_0o.js.map +1 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js +2 -0
- package/app/dist/assets/access-and-short-key-C7QS_Tel-COXTroHd.js.map +1 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js +2 -0
- package/app/dist/assets/align-DdWzcKWR-CMxncrQu.js.map +1 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js +2 -0
- package/app/dist/assets/align-floating-elements-CqZdcuwL-Crn-g1u-.js.map +1 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js +2 -0
- package/app/dist/assets/aria-details-CG4GFq8t-DMdfnYtr.js.map +1 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js +2 -0
- package/app/dist/assets/aria-expanded-BwKOdsiZ-MDAIoJk2.js.map +1 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js +2 -0
- package/app/dist/assets/aria-labelledby-6-ki3akM-C6lJ0lQF.js.map +1 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js +2 -0
- package/app/dist/assets/aria-labelledby-BuvPnlu7-DWeVUk6D.js.map +1 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js +2 -0
- package/app/dist/assets/associated.controller-Da2zylzp-vF9c3Kyq.js.map +1 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js +2 -0
- package/app/dist/assets/auto-complete-p-8iouPy-Dp74oEdp.js.map +1 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js +2 -0
- package/app/dist/assets/base-controller-CXhqh4cR-BNzx0WwK.js.map +1 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js +2 -0
- package/app/dist/assets/base-web-component-CArCAUxk-iRwmL-Bz.js.map +1 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js +2 -0
- package/app/dist/assets/clsx-COFh-Vc8-alQuJLqj.js.map +1 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js +2 -0
- package/app/dist/assets/color-CftCtla8-BlBPrQKt.js.map +1 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js +2 -0
- package/app/dist/assets/component-2ImIjrdm-CLfZjMLU.js.map +1 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js +2 -0
- package/app/dist/assets/component-DI3pO3QY-DBhA3_XT.js.map +1 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js +15 -0
- package/app/dist/assets/component-DbrY6RW_-C_fX4Phj.js.map +1 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js +2 -0
- package/app/dist/assets/component-fsnfw59D-Csotiz-4.js.map +1 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js +2 -0
- package/app/dist/assets/contrast-D1msrkD4-BlhsJu9X.js.map +1 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js +2 -0
- package/app/dist/assets/controller-B21n_zqt-D5tvaHSC.js.map +1 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js +2 -0
- package/app/dist/assets/controller-B2Qb2oqz-BVAVfqmA.js.map +1 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js +2 -0
- package/app/dist/assets/controller-BuikHDKh-kkEW7S3V.js.map +1 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js +2 -0
- package/app/dist/assets/controller-CJs4fTO0-C_M7l5V5.js.map +1 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js +2 -0
- package/app/dist/assets/controller-DiWO-Gw_-CyfNgPeX.js.map +1 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js +2 -0
- package/app/dist/assets/controller-icon-DaBPXypo-DGokif20.js.map +1 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js +2 -0
- package/app/dist/assets/custom-class-DRA8ZYTU-BcgWvugy.js.map +1 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js +14 -0
- package/app/dist/assets/dev.utils-Ce_5C3Pe-Dee1ZIk1.js.map +1 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js +14 -0
- package/app/dist/assets/devtools-yLGw7QsN-CWXSOcfv.js.map +1 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js +2 -0
- package/app/dist/assets/disabled-DzYBnXfG-Don45pIR.js.map +1 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js +2 -0
- package/app/dist/assets/element-focus-BQXzaLL9-oq1SsV6e.js.map +1 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js +2 -0
- package/app/dist/assets/element-interaction-C5-6aPzz-CwUv4L8C.js.map +1 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js +2 -0
- package/app/dist/assets/has-closer-COzVY-FT-CpPhxKsD.js.map +1 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js +2 -0
- package/app/dist/assets/hide-label-jbOZNqJV-n04MiKlJ.js.map +1 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js +2 -0
- package/app/dist/assets/href-CMm8l_Io-7BOMg4qF.js.map +1 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js +2 -0
- package/app/dist/assets/i18n-BkwRYsvE-Baa6kHEL.js.map +1 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js +2 -0
- package/app/dist/assets/icons-BfxrxChI-o5aHb8tS.js.map +1 -0
- package/app/dist/assets/index-CLYw1HnO.js +168 -0
- package/app/dist/assets/index-CLYw1HnO.js.map +1 -0
- package/app/dist/assets/index-DntD6gvY.css +1 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js +2 -0
- package/app/dist/assets/inline-CIEtzpMz-BC4oN5cN.js.map +1 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js +2 -0
- package/app/dist/assets/isArray-CcrBs4JM-DiEJ1b3e.js.map +1 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js +2 -0
- package/app/dist/assets/keyboard-DNd73LVa-BCj4IeP3.js.map +1 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js +379 -0
- package/app/dist/assets/kol-abbr.entry-kiE0g-5M.js.map +1 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js +379 -0
- package/app/dist/assets/kol-accordion.entry-BSMwFUp6.js.map +1 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js +2 -0
- package/app/dist/assets/kol-alert-wc.entry-lOdhRPo0.js.map +1 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js +417 -0
- package/app/dist/assets/kol-alert.entry-D0MnDTfZ.js.map +1 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js +232 -0
- package/app/dist/assets/kol-avatar.entry-DYx44CtD.js.map +1 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js +392 -0
- package/app/dist/assets/kol-badge.entry-CGSXjjyF.js.map +1 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js +423 -0
- package/app/dist/assets/kol-breadcrumb.entry-D6KY7jZ4.js.map +1 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js +416 -0
- package/app/dist/assets/kol-button-link.entry-BT80hGY2.js.map +1 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js +2 -0
- package/app/dist/assets/kol-button-wc.entry-CnDXjFij.js.map +1 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js +398 -0
- package/app/dist/assets/kol-button.entry-D-6ivALp.js.map +1 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js +2 -0
- package/app/dist/assets/kol-card-wc.entry-DdMvzg5J.js.map +1 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js +426 -0
- package/app/dist/assets/kol-card.entry-BnfJ8LbT.js.map +1 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js +2 -0
- package/app/dist/assets/kol-click-button.entry-BZOemoD9.js.map +1 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js +539 -0
- package/app/dist/assets/kol-combobox.entry-XrJ9oOqu.js.map +1 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js +470 -0
- package/app/dist/assets/kol-details.entry-DdeHo2-B.js.map +1 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js +2 -0
- package/app/dist/assets/kol-dialog-wc.entry-BrNLBMWI.js.map +1 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js +439 -0
- package/app/dist/assets/kol-dialog.entry-LA89sseJ.js.map +1 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js +468 -0
- package/app/dist/assets/kol-drawer.entry-DOaW9rJn.js.map +1 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js +454 -0
- package/app/dist/assets/kol-form.entry-C5nYx4nO.js.map +1 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js +213 -0
- package/app/dist/assets/kol-heading.entry-Epvl-OpW.js.map +1 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js +106 -0
- package/app/dist/assets/kol-icon.entry-D7dytHtv.js.map +1 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js +215 -0
- package/app/dist/assets/kol-image.entry-X5CvdKLU.js.map +1 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js +608 -0
- package/app/dist/assets/kol-input-checkbox.entry-BBozFQWL.js.map +1 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js +483 -0
- package/app/dist/assets/kol-input-color.entry-z_x0PjK3.js.map +1 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js +492 -0
- package/app/dist/assets/kol-input-date.entry-C5p3wgea.js.map +1 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js +466 -0
- package/app/dist/assets/kol-input-email.entry-CwfqUQHY.js.map +1 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js +518 -0
- package/app/dist/assets/kol-input-file.entry-DjUmETfv.js.map +1 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js +480 -0
- package/app/dist/assets/kol-input-number.entry-7sUf_XFI.js.map +1 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js +476 -0
- package/app/dist/assets/kol-input-password.entry-CGvCAprg.js.map +1 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js +584 -0
- package/app/dist/assets/kol-input-radio.entry-CH6IBIBK.js.map +1 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js +516 -0
- package/app/dist/assets/kol-input-range.entry-DZlL6KX8.js.map +1 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js +466 -0
- package/app/dist/assets/kol-input-text.entry-DzfGfeBz.js.map +1 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js +219 -0
- package/app/dist/assets/kol-kolibri.entry-pDPw_Dh0.js.map +1 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js +398 -0
- package/app/dist/assets/kol-link-button.entry-CA6vcFrq.js.map +1 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js +2 -0
- package/app/dist/assets/kol-link-wc.entry-BjcERh3u.js.map +1 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js +412 -0
- package/app/dist/assets/kol-link.entry-D21mpCr5.js.map +1 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js +312 -0
- package/app/dist/assets/kol-meter.entry-BBlv5SXi.js.map +1 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js +439 -0
- package/app/dist/assets/kol-modal.entry-Clrq4LNn.js.map +1 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js +415 -0
- package/app/dist/assets/kol-nav.entry-B3FUfOqc.js.map +1 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js +2 -0
- package/app/dist/assets/kol-pagination-wc.entry-Cjy5vcPB.js.map +1 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js +515 -0
- package/app/dist/assets/kol-pagination.entry-DgsK4E4x.js.map +1 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js +2 -0
- package/app/dist/assets/kol-popover-button-wc.entry-CQBotCTk.js.map +1 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js +423 -0
- package/app/dist/assets/kol-popover-button.entry-DVnuvNe7.js.map +1 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js +293 -0
- package/app/dist/assets/kol-progress.entry-BWNwErl6.js.map +1 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js +229 -0
- package/app/dist/assets/kol-quote.entry-lAAsykY8.js.map +1 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js +2 -0
- package/app/dist/assets/kol-select-wc.entry-Bc9d13-t.js.map +1 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js +480 -0
- package/app/dist/assets/kol-select.entry-jHSzJBCd.js.map +1 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js +547 -0
- package/app/dist/assets/kol-single-select.entry-khmMipCm.js.map +1 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js +2 -0
- package/app/dist/assets/kol-skeleton.entry-BZ6iN-zQ.js.map +1 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js +431 -0
- package/app/dist/assets/kol-skip-nav.entry-DlH6M787.js.map +1 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js +358 -0
- package/app/dist/assets/kol-spin.entry-AdC6scJA.js.map +1 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js +413 -0
- package/app/dist/assets/kol-split-button.entry-DbvplUJr.js.map +1 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js +2 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DwrbsbDJ.js.map +1 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js +847 -0
- package/app/dist/assets/kol-table-stateful.entry-DrPNjTdG.js.map +1 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js +2 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-DftSYpVF.js.map +1 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js +712 -0
- package/app/dist/assets/kol-table-stateless.entry-Btd89sZ1.js.map +1 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js +437 -0
- package/app/dist/assets/kol-tabs.entry-DlixmcB4.js.map +1 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js +464 -0
- package/app/dist/assets/kol-textarea.entry-CobMN18S.js.map +1 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js +427 -0
- package/app/dist/assets/kol-toast-container.entry-CbBUQusQ.js.map +1 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js +437 -0
- package/app/dist/assets/kol-toolbar.entry-CJTgr8PZ.js.map +1 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js +2 -0
- package/app/dist/assets/kol-tooltip-wc.entry-4xOOJnY2.js.map +1 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js +2 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DcVg9U7Y.js.map +1 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js +341 -0
- package/app/dist/assets/kol-tree-item.entry-NCENwjq3.js.map +1 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js +2 -0
- package/app/dist/assets/kol-tree-wc.entry-S2jMB-dn.js.map +1 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js +219 -0
- package/app/dist/assets/kol-tree.entry-C7uNfa7s.js.map +1 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js +208 -0
- package/app/dist/assets/kol-version.entry-BE3CRKT4.js.map +1 -0
- package/app/dist/assets/kolibri.ico +0 -0
- package/app/dist/assets/kolicons/kolicons.eot +0 -0
- package/app/dist/assets/kolicons/kolicons.json +29 -0
- package/app/dist/assets/kolicons/kolicons.svg +93 -0
- package/app/dist/assets/kolicons/kolicons.ttf +0 -0
- package/app/dist/assets/kolicons/kolicons.woff +0 -0
- package/app/dist/assets/kolicons/kolicons.woff2 +0 -0
- package/app/dist/assets/kolicons/style.css +49 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js +2 -0
- package/app/dist/assets/label-BT-6lb8r-DTZ8Zack.js.map +1 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js +2 -0
- package/app/dist/assets/label-BiOix5de-Bf1AwuDH.js.map +1 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js +2 -0
- package/app/dist/assets/level-Kr0RFikR-B5d8MWXa.js.map +1 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js +2 -0
- package/app/dist/assets/max-length-behavior-CRJOkECl-BLe_zJb6.js.map +1 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js +2 -0
- package/app/dist/assets/multiple-hxH51udE-D0mS3fEU.js.map +1 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js +2 -0
- package/app/dist/assets/normalizers-B5NKuJgN-BAPba39_.js.map +1 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js +2 -0
- package/app/dist/assets/open-DZ2Z5a7z-CKRhcE2O.js.map +1 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js +2 -0
- package/app/dist/assets/orientation-BptN6AOK-3Ys8gj-c.js.map +1 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js +2 -0
- package/app/dist/assets/placeholder-B4wceSsL-BOCmr7MX.js.map +1 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js +2 -0
- package/app/dist/assets/read-only-DIC7Vhiy-D9-XUAfH.js.map +1 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js +2 -0
- package/app/dist/assets/required-By197yB9-RXlY3Rb2.js.map +1 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js +2 -0
- package/app/dist/assets/rows-BwZCT-gJ-Dr2z6AxQ.js.map +1 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js +2 -0
- package/app/dist/assets/spell-check-CKvoSTJE-zLCZ8HCy.js.map +1 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js +2 -0
- package/app/dist/assets/src-DH5c0A9H-bskaKyoj.js.map +1 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js +2 -0
- package/app/dist/assets/suggestions-C2o-U3UR-B6i0Ta4M.js.map +1 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js +2 -0
- package/app/dist/assets/table-selection-G45AEZGP-lB35IFxR.js.map +1 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js +2 -0
- package/app/dist/assets/test-component.entry-DxxpLaar.js.map +1 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js +2 -0
- package/app/dist/assets/tooltip-align-BZrIplzz-ywk_a6dy.js.map +1 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js +2 -0
- package/app/dist/assets/tslib.es6-QNbPBOk5-DpzS01Oy.js.map +1 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js +2 -0
- package/app/dist/assets/unique-nav-labels-OKhw3uEq-CBkUOvjm.js.map +1 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js +2 -0
- package/app/dist/assets/validation-DFynMQYA-CtWB9mFZ.js.map +1 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js +2 -0
- package/app/dist/assets/validation-D_PYegRV-CwGvj4NI.js.map +1 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js +2 -0
- package/app/dist/assets/value-number-clamped-eznLHU11-Dh70flmU.js.map +1 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js +2 -0
- package/app/dist/assets/variant-class-name-B1jsQGPM-BRrb5XyN.js.map +1 -0
- package/app/dist/index.html +27 -0
- package/app/dist/robots.txt +2 -0
- package/app/dist/sample-image.png +0 -0
- package/app/index.html +26 -0
- package/app/public/assets/kolibri.ico +0 -0
- package/app/public/assets/kolicons/kolicons.eot +0 -0
- package/app/public/assets/kolicons/kolicons.json +29 -0
- package/app/public/assets/kolicons/kolicons.svg +93 -0
- package/app/public/assets/kolicons/kolicons.ttf +0 -0
- package/app/public/assets/kolicons/kolicons.woff +0 -0
- package/app/public/assets/kolicons/kolicons.woff2 +0 -0
- package/app/public/assets/kolicons/style.css +49 -0
- package/app/public/robots.txt +2 -0
- package/app/public/sample-image.png +0 -0
- package/app/src/@shared/_mixins.scss +3 -0
- package/app/src/empty-theme.ts +3 -0
- package/app/src/env.d.ts +3 -0
- package/app/src/main.ts +17 -0
- package/app/src/react.main.tsx +128 -0
- package/app/src/style.scss +117 -0
- package/app/tsconfig.json +31 -0
- package/app/unocss.config.ts +318 -0
- package/app/vite.config.ts +57 -0
- package/package.json +29 -9
- package/src/index.js +42 -16
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@font-face {
|
|
2
|
+
font-family: "kolicons";
|
|
3
|
+
src: url('kolicons.eot?t=1782311579243'); /* IE9*/
|
|
4
|
+
src: url('kolicons.eot?t=1782311579243#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
5
|
+
url("kolicons.woff2?t=1782311579243") format("woff2"),
|
|
6
|
+
url("kolicons.woff?t=1782311579243") format("woff"),
|
|
7
|
+
url('kolicons.ttf?t=1782311579243') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
|
8
|
+
url('kolicons.svg?t=1782311579243#kolicons') format('svg'); /* iOS 4.1- */
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
@layer kol-component {
|
|
12
|
+
[class^="kolicon-"], [class*=" kolicon-"] {
|
|
13
|
+
font-family: 'kolicons';
|
|
14
|
+
font-style: normal;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
line-height: 1em;
|
|
17
|
+
-webkit-font-smoothing: antialiased;
|
|
18
|
+
-moz-osx-font-smoothing: grayscale;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.kolicon-alert-error::before { content: "\ea01"; }
|
|
22
|
+
.kolicon-alert-info::before { content: "\ea02"; }
|
|
23
|
+
.kolicon-alert-success::before { content: "\ea03"; }
|
|
24
|
+
.kolicon-alert-warning::before { content: "\ea04"; }
|
|
25
|
+
.kolicon-check::before { content: "\ea05"; }
|
|
26
|
+
.kolicon-chevron-double-left::before { content: "\ea06"; }
|
|
27
|
+
.kolicon-chevron-double-right::before { content: "\ea07"; }
|
|
28
|
+
.kolicon-chevron-down::before { content: "\ea08"; }
|
|
29
|
+
.kolicon-chevron-left::before { content: "\ea09"; }
|
|
30
|
+
.kolicon-chevron-right::before { content: "\ea0a"; }
|
|
31
|
+
.kolicon-chevron-up::before { content: "\ea0b"; }
|
|
32
|
+
.kolicon-cogwheel::before { content: "\ea0c"; }
|
|
33
|
+
.kolicon-cross::before { content: "\ea0d"; }
|
|
34
|
+
.kolicon-eye-closed::before { content: "\ea0e"; }
|
|
35
|
+
.kolicon-eye::before { content: "\ea0f"; }
|
|
36
|
+
.kolicon-house::before { content: "\ea10"; }
|
|
37
|
+
.kolicon-kolibri::before { content: "\ea11"; }
|
|
38
|
+
.kolicon-link-external::before { content: "\ea12"; }
|
|
39
|
+
.kolicon-link::before { content: "\ea13"; }
|
|
40
|
+
.kolicon-minus::before { content: "\ea14"; }
|
|
41
|
+
.kolicon-plus::before { content: "\ea15"; }
|
|
42
|
+
.kolicon-settings::before { content: "\ea16"; }
|
|
43
|
+
.kolicon-sort-asc::before { content: "\ea17"; }
|
|
44
|
+
.kolicon-sort-desc::before { content: "\ea18"; }
|
|
45
|
+
.kolicon-sort-neutral::before { content: "\ea19"; }
|
|
46
|
+
.kolicon-up::before { content: "\ea1a"; }
|
|
47
|
+
.kolicon-version::before { content: "\ea1b"; }
|
|
48
|
+
|
|
49
|
+
}
|
|
Binary file
|
package/app/src/env.d.ts
ADDED
package/app/src/main.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import 'uno.css'; // https://github.com/antfu/unocss
|
|
2
|
+
// App style
|
|
3
|
+
import './style.scss';
|
|
4
|
+
|
|
5
|
+
/* Optional theme CSS (e.g. font-face declarations). The CLI copies the theme's inject-assets.css
|
|
6
|
+
into the served build root, so we load it via a normal stylesheet link with a relative URL.
|
|
7
|
+
A dynamic import of the absolute filesystem path only resolves in the Vite dev server – in the
|
|
8
|
+
statically served production build it fails and aborts the entry module (blank page). */
|
|
9
|
+
if (process.env.THEME_CSS) {
|
|
10
|
+
const themeCssLink = document.createElement('link');
|
|
11
|
+
themeCssLink.rel = 'stylesheet';
|
|
12
|
+
themeCssLink.href = 'inject-assets.css';
|
|
13
|
+
document.head.appendChild(themeCssLink);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
// App
|
|
17
|
+
import './react.main';
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { setTagNameTransformer } from '@public-ui/react-v19';
|
|
2
|
+
import React, { StrictMode } from 'react';
|
|
3
|
+
import { createRoot } from 'react-dom/client';
|
|
4
|
+
import { HashRouter as Router } from 'react-router-dom';
|
|
5
|
+
|
|
6
|
+
import { bootstrap, getDefaultThemeName, KoliBriDevHelper } from '@public-ui/components';
|
|
7
|
+
import { defineCustomElements } from '@public-ui/components/loader';
|
|
8
|
+
import { App, setCustomThemes } from '@public-ui/sample-react';
|
|
9
|
+
|
|
10
|
+
import type { Generic } from 'adopted-style-sheets';
|
|
11
|
+
|
|
12
|
+
type Theme = Generic.Theming.RegisterPatch<string, string, string>;
|
|
13
|
+
|
|
14
|
+
const ENABLE_I18N_OVERWRITING =
|
|
15
|
+
process.env.ENABLE_I18N_OVERWRITING === 'true' || new URL('https://x' + location.hash.substring(1)).searchParams.has('enableI18nOverwriting');
|
|
16
|
+
|
|
17
|
+
const ENABLE_THEME_PATCHING =
|
|
18
|
+
process.env.ENABLE_THEME_PATCHING === 'true' || new URL('https://x' + location.hash.substring(1)).searchParams.has('enableThemePatching');
|
|
19
|
+
|
|
20
|
+
const ENABLE_TAG_NAME_TRANSFORMER =
|
|
21
|
+
process.env.ENABLE_TAG_NAME_TRANSFORMER === 'true' || new URL('https://x' + location.hash.substring(1)).searchParams.has('enableTagNameTransformer');
|
|
22
|
+
|
|
23
|
+
const tagNameTransformer = (tagName: string) => `${tagName}-sample`;
|
|
24
|
+
if (ENABLE_TAG_NAME_TRANSFORMER) {
|
|
25
|
+
setTagNameTransformer(tagNameTransformer);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Visual regression testing host: the theme is always injected via the THEME_MODULE that the
|
|
29
|
+
theme package provides (see the `kolibri-visual-test` invocation in each theme's `test` script).
|
|
30
|
+
This app intentionally never imports a theme package itself – that is what breaks the former
|
|
31
|
+
circular dependency between the themes, the visual-tests runner and the sample app. */
|
|
32
|
+
const getThemes = async (): Promise<Theme[]> => {
|
|
33
|
+
if (!process.env.THEME_MODULE) {
|
|
34
|
+
throw new Error('Environment variable THEME_MODULE not specified. The visual-tests app must be started via "kolibri-visual-test".');
|
|
35
|
+
}
|
|
36
|
+
/* The theme under test is bundled at build time through the "@kolibri-vt/theme" alias (see
|
|
37
|
+
vite.config.ts), which resolves to the THEME_MODULE path. The theme module depends on
|
|
38
|
+
@public-ui/components, so it must be bundled – a runtime import of the absolute filesystem path
|
|
39
|
+
would only resolve in the Vite dev server, not in the statically served production build. */
|
|
40
|
+
const themeModule = (await import('@kolibri-vt/theme')) as Record<string, Theme>;
|
|
41
|
+
return [themeModule[(process.env.THEME_EXPORT as string) || 'default']];
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
void (async () => {
|
|
45
|
+
try {
|
|
46
|
+
await bootstrap(
|
|
47
|
+
await getThemes(),
|
|
48
|
+
() => {
|
|
49
|
+
// @see https://github.com/ionic-team/stencil/issues/2847
|
|
50
|
+
defineCustomElements(window, {
|
|
51
|
+
transformTagName: ENABLE_TAG_NAME_TRANSFORMER ? tagNameTransformer : undefined,
|
|
52
|
+
} as any);
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
environment: process.env.NODE_ENV === 'development' ? 'development' : 'production',
|
|
56
|
+
reflectInputValues: true,
|
|
57
|
+
/* The theme is injected via THEME_MODULE, so auto-detection must stay disabled. */
|
|
58
|
+
theme: undefined,
|
|
59
|
+
translation: {
|
|
60
|
+
name: 'en',
|
|
61
|
+
},
|
|
62
|
+
/**
|
|
63
|
+
* You can add your own translations here.
|
|
64
|
+
*/
|
|
65
|
+
translations: ENABLE_I18N_OVERWRITING
|
|
66
|
+
? new Set([
|
|
67
|
+
(t) =>
|
|
68
|
+
t('en', {
|
|
69
|
+
// https://github.com/public-ui/kolibri/blob/develop/packages/components/src/locales/en.ts
|
|
70
|
+
'kol-error': 'Tiny error!',
|
|
71
|
+
}),
|
|
72
|
+
(t) =>
|
|
73
|
+
t('de', {
|
|
74
|
+
// https://github.com/public-ui/kolibri/blob/develop/packages/components/src/locales/de.ts
|
|
75
|
+
'kol-error': 'Kleiner Fehler!',
|
|
76
|
+
}),
|
|
77
|
+
])
|
|
78
|
+
: undefined,
|
|
79
|
+
transformTagName: ENABLE_TAG_NAME_TRANSFORMER ? tagNameTransformer : undefined,
|
|
80
|
+
},
|
|
81
|
+
);
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* You should patch the theme after the components and your default theme are registered.
|
|
85
|
+
*/
|
|
86
|
+
if (ENABLE_THEME_PATCHING) {
|
|
87
|
+
KoliBriDevHelper.patchTheme(
|
|
88
|
+
'default',
|
|
89
|
+
{
|
|
90
|
+
'KOL-BUTTON': `
|
|
91
|
+
button {
|
|
92
|
+
border: 1px solid red;
|
|
93
|
+
}`,
|
|
94
|
+
'KOL-SPIN': `
|
|
95
|
+
.bg-spin-2 {
|
|
96
|
+
background-color: red;
|
|
97
|
+
}
|
|
98
|
+
.bg-spin-3 {
|
|
99
|
+
background-color: gold;
|
|
100
|
+
}`,
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
append: true,
|
|
104
|
+
},
|
|
105
|
+
);
|
|
106
|
+
}
|
|
107
|
+
} catch (error) {
|
|
108
|
+
console.warn('Theme registration failed:', error);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
/* Derive the theme key from the actually registered default theme name so it matches the
|
|
112
|
+
inject-variants JSON file exactly and the variant samples render the injected theme. */
|
|
113
|
+
const defaultThemeName = getDefaultThemeName();
|
|
114
|
+
const customThemes = defaultThemeName ? [{ key: defaultThemeName, name: defaultThemeName }] : undefined;
|
|
115
|
+
setCustomThemes(customThemes);
|
|
116
|
+
|
|
117
|
+
const htmlDivElement = document.querySelector('div#app');
|
|
118
|
+
if (htmlDivElement instanceof HTMLDivElement) {
|
|
119
|
+
const root = createRoot(htmlDivElement);
|
|
120
|
+
root.render(
|
|
121
|
+
<StrictMode>
|
|
122
|
+
<Router>
|
|
123
|
+
<App customThemes={customThemes} />
|
|
124
|
+
</Router>
|
|
125
|
+
</StrictMode>,
|
|
126
|
+
);
|
|
127
|
+
}
|
|
128
|
+
})();
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
@use './@shared/mixins' as *;
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
--kolibri-root-font-size: 100;
|
|
5
|
+
font-size: 625%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
body {
|
|
9
|
+
margin: 0;
|
|
10
|
+
|
|
11
|
+
font-family: Verdana;
|
|
12
|
+
font-size: rem(16);
|
|
13
|
+
line-height: normal;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
dl,
|
|
17
|
+
hr {
|
|
18
|
+
margin: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.grid-cols-2 {
|
|
22
|
+
grid-template-columns: auto auto;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.indented-text {
|
|
26
|
+
p {
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.visually-hidden {
|
|
32
|
+
position: absolute;
|
|
33
|
+
width: 1px;
|
|
34
|
+
height: 1px;
|
|
35
|
+
overflow: hidden;
|
|
36
|
+
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
clip-path: inset(50%);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.black-background {
|
|
42
|
+
background-color: black;
|
|
43
|
+
display: flex;
|
|
44
|
+
padding: rem(8);
|
|
45
|
+
flex-direction: column;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.w-image {
|
|
49
|
+
width: 500px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.drawer-content-vertical {
|
|
53
|
+
width: rem(400);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Remove bullet points from horizontal link lists */
|
|
57
|
+
.list-none {
|
|
58
|
+
margin: 0;
|
|
59
|
+
padding: 0;
|
|
60
|
+
list-style: none;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.header-alert {
|
|
64
|
+
margin-bottom: rem(16);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
@media (min-width: 1024px) {
|
|
68
|
+
.app-container {
|
|
69
|
+
display: grid;
|
|
70
|
+
height: 100vh;
|
|
71
|
+
grid-template-columns: rem(360) calc(100% - rem(360));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.app-sidebar {
|
|
75
|
+
background-color: white;
|
|
76
|
+
max-height: calc(100vh - 32px);
|
|
77
|
+
border-right: 1px solid gray;
|
|
78
|
+
|
|
79
|
+
& .scrollable-container-wrapper {
|
|
80
|
+
display: flex;
|
|
81
|
+
max-height: calc(100vh - 32px);
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
|
|
84
|
+
& .scrollable-container {
|
|
85
|
+
overflow: auto;
|
|
86
|
+
flex: 1 auto;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
main {
|
|
92
|
+
max-height: calc(100vh);
|
|
93
|
+
overflow: auto;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
@media print {
|
|
98
|
+
.no-print,
|
|
99
|
+
.no-print * {
|
|
100
|
+
display: none !important;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.expert-slot-required-label::after {
|
|
105
|
+
content: ' *' / '';
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.loading-overlay {
|
|
109
|
+
background-color: rgb(250, 250, 250, 0.4);
|
|
110
|
+
backdrop-filter: blur(5px);
|
|
111
|
+
display: flex;
|
|
112
|
+
position: absolute;
|
|
113
|
+
inset: 0;
|
|
114
|
+
z-index: 100;
|
|
115
|
+
align-items: center;
|
|
116
|
+
justify-content: center;
|
|
117
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compilerOptions": {
|
|
3
|
+
"experimentalDecorators": true,
|
|
4
|
+
"pretty": true,
|
|
5
|
+
"target": "ESNext",
|
|
6
|
+
"module": "ESNext",
|
|
7
|
+
"preserveConstEnums": true,
|
|
8
|
+
"sourceMap": true,
|
|
9
|
+
"preserveSymlinks": true,
|
|
10
|
+
"moduleResolution": "bundler",
|
|
11
|
+
"lib": ["es2017", "dom"],
|
|
12
|
+
"typeRoots": ["node_modules/@types"],
|
|
13
|
+
"noUnusedLocals": true,
|
|
14
|
+
"resolveJsonModule": true,
|
|
15
|
+
"noEmit": true,
|
|
16
|
+
"skipLibCheck": true,
|
|
17
|
+
"noUnusedParameters": true,
|
|
18
|
+
"noImplicitReturns": true,
|
|
19
|
+
"noFallthroughCasesInSwitch": true,
|
|
20
|
+
"forceConsistentCasingInFileNames": true,
|
|
21
|
+
"importHelpers": true,
|
|
22
|
+
"removeComments": true,
|
|
23
|
+
"strict": true,
|
|
24
|
+
"allowSyntheticDefaultImports": true,
|
|
25
|
+
"jsx": "react",
|
|
26
|
+
"jsxFactory": "React.createElement",
|
|
27
|
+
"jsxFragmentFactory": "React.Fragment"
|
|
28
|
+
},
|
|
29
|
+
"include": ["**/*.ts", "**/*.tsx"],
|
|
30
|
+
"exclude": ["node_modules", "dist"]
|
|
31
|
+
}
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
import { presetMini } from '@unocss/preset-mini';
|
|
2
|
+
import { defineConfig } from '@unocss/vite';
|
|
3
|
+
|
|
4
|
+
function pxValueToRem(size: number): string {
|
|
5
|
+
return `calc(${size}rem / var(--kolibri-root-font-size, 16))`;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
function convertRem(value: number): string {
|
|
9
|
+
return pxValueToRem(value * 16);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
function convertDynamicClassValueToRem(value: string) {
|
|
13
|
+
return pxValueToRem((Number.parseFloat(value) * 16) / 4);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default defineConfig({
|
|
17
|
+
rules: [
|
|
18
|
+
[
|
|
19
|
+
/^p-(\d+)$/,
|
|
20
|
+
([, d]) => ({
|
|
21
|
+
padding: convertDynamicClassValueToRem(d),
|
|
22
|
+
}),
|
|
23
|
+
],
|
|
24
|
+
|
|
25
|
+
[
|
|
26
|
+
/^px-(\d+)$/,
|
|
27
|
+
([, d]) => ({
|
|
28
|
+
'padding-left': convertDynamicClassValueToRem(d),
|
|
29
|
+
'padding-right': convertDynamicClassValueToRem(d),
|
|
30
|
+
}),
|
|
31
|
+
],
|
|
32
|
+
[
|
|
33
|
+
/^py-(\d+)$/,
|
|
34
|
+
([, d]) => ({
|
|
35
|
+
'padding-top': convertDynamicClassValueToRem(d),
|
|
36
|
+
'padding-bottom': convertDynamicClassValueToRem(d),
|
|
37
|
+
}),
|
|
38
|
+
],
|
|
39
|
+
|
|
40
|
+
[
|
|
41
|
+
/^ps-(\d+)$/,
|
|
42
|
+
([, d]) => ({
|
|
43
|
+
'padding-inline-start': convertDynamicClassValueToRem(d),
|
|
44
|
+
}),
|
|
45
|
+
],
|
|
46
|
+
[
|
|
47
|
+
/^pe-(\d+)$/,
|
|
48
|
+
([, d]) => ({
|
|
49
|
+
'padding-inline-end': convertDynamicClassValueToRem(d),
|
|
50
|
+
}),
|
|
51
|
+
],
|
|
52
|
+
|
|
53
|
+
[
|
|
54
|
+
/^pt-(\d+)$/,
|
|
55
|
+
([, d]) => ({
|
|
56
|
+
'padding-top': convertDynamicClassValueToRem(d),
|
|
57
|
+
}),
|
|
58
|
+
],
|
|
59
|
+
[
|
|
60
|
+
/^pl-(\d+)$/,
|
|
61
|
+
([, d]) => ({
|
|
62
|
+
'padding-left': convertDynamicClassValueToRem(d),
|
|
63
|
+
}),
|
|
64
|
+
],
|
|
65
|
+
[
|
|
66
|
+
/^pr-(\d+)$/,
|
|
67
|
+
([, d]) => ({
|
|
68
|
+
'padding-right': convertDynamicClassValueToRem(d),
|
|
69
|
+
}),
|
|
70
|
+
],
|
|
71
|
+
[
|
|
72
|
+
/^pb-(\d+)$/,
|
|
73
|
+
([, d]) => ({
|
|
74
|
+
'padding-bottom': convertDynamicClassValueToRem(d),
|
|
75
|
+
}),
|
|
76
|
+
],
|
|
77
|
+
|
|
78
|
+
[
|
|
79
|
+
/^p-t-(\d+)$/,
|
|
80
|
+
([, d]) => ({
|
|
81
|
+
'padding-top': convertDynamicClassValueToRem(d),
|
|
82
|
+
}),
|
|
83
|
+
],
|
|
84
|
+
[
|
|
85
|
+
/^p-l-(\d+)$/,
|
|
86
|
+
([, d]) => ({
|
|
87
|
+
'padding-left': convertDynamicClassValueToRem(d),
|
|
88
|
+
}),
|
|
89
|
+
],
|
|
90
|
+
[
|
|
91
|
+
/^p-r-(\d+)$/,
|
|
92
|
+
([, d]) => ({
|
|
93
|
+
'padding-right': convertDynamicClassValueToRem(d),
|
|
94
|
+
}),
|
|
95
|
+
],
|
|
96
|
+
[
|
|
97
|
+
/^p-b-(\d+)$/,
|
|
98
|
+
([, d]) => ({
|
|
99
|
+
'padding-bottom': convertDynamicClassValueToRem(d),
|
|
100
|
+
}),
|
|
101
|
+
],
|
|
102
|
+
|
|
103
|
+
[
|
|
104
|
+
/^m-(\d+)$/,
|
|
105
|
+
([, d]) => ({
|
|
106
|
+
margin: convertDynamicClassValueToRem(d),
|
|
107
|
+
}),
|
|
108
|
+
],
|
|
109
|
+
|
|
110
|
+
[
|
|
111
|
+
/^mx-(\d+)$/,
|
|
112
|
+
([, d]) => ({
|
|
113
|
+
'margin-left': convertDynamicClassValueToRem(d),
|
|
114
|
+
'margin-right': convertDynamicClassValueToRem(d),
|
|
115
|
+
}),
|
|
116
|
+
],
|
|
117
|
+
[
|
|
118
|
+
/^my-(\d+)$/,
|
|
119
|
+
([, d]) => ({
|
|
120
|
+
'margin-top': convertDynamicClassValueToRem(d),
|
|
121
|
+
'margin-bottom': convertDynamicClassValueToRem(d),
|
|
122
|
+
}),
|
|
123
|
+
],
|
|
124
|
+
|
|
125
|
+
[
|
|
126
|
+
/^ms-(\d+)$/,
|
|
127
|
+
([, d]) => ({
|
|
128
|
+
'margin-inline-start': convertDynamicClassValueToRem(d),
|
|
129
|
+
}),
|
|
130
|
+
],
|
|
131
|
+
[
|
|
132
|
+
/^me-(\d+)$/,
|
|
133
|
+
([, d]) => ({
|
|
134
|
+
'margin-inline-end': convertDynamicClassValueToRem(d),
|
|
135
|
+
}),
|
|
136
|
+
],
|
|
137
|
+
|
|
138
|
+
[
|
|
139
|
+
/^mt$/,
|
|
140
|
+
() => ({
|
|
141
|
+
'margin-top': pxValueToRem(16),
|
|
142
|
+
}),
|
|
143
|
+
],
|
|
144
|
+
[
|
|
145
|
+
/^ml$/,
|
|
146
|
+
() => ({
|
|
147
|
+
'margin-left': pxValueToRem(16),
|
|
148
|
+
}),
|
|
149
|
+
],
|
|
150
|
+
[
|
|
151
|
+
/^mr$/,
|
|
152
|
+
() => ({
|
|
153
|
+
'margin-right': pxValueToRem(16),
|
|
154
|
+
}),
|
|
155
|
+
],
|
|
156
|
+
[
|
|
157
|
+
/^mb$/,
|
|
158
|
+
() => ({
|
|
159
|
+
'margin-bottom': pxValueToRem(16),
|
|
160
|
+
}),
|
|
161
|
+
],
|
|
162
|
+
|
|
163
|
+
[
|
|
164
|
+
/^mt-(\d+)$/,
|
|
165
|
+
([, d]) => ({
|
|
166
|
+
'margin-top': convertDynamicClassValueToRem(d),
|
|
167
|
+
}),
|
|
168
|
+
],
|
|
169
|
+
[
|
|
170
|
+
/^ml-(\d+)$/,
|
|
171
|
+
([, d]) => ({
|
|
172
|
+
'margin-left': convertDynamicClassValueToRem(d),
|
|
173
|
+
}),
|
|
174
|
+
],
|
|
175
|
+
[
|
|
176
|
+
/^mr-(\d+)$/,
|
|
177
|
+
([, d]) => ({
|
|
178
|
+
'margin-right': convertDynamicClassValueToRem(d),
|
|
179
|
+
}),
|
|
180
|
+
],
|
|
181
|
+
[
|
|
182
|
+
/^mb-(\d+)$/,
|
|
183
|
+
([, d]) => ({
|
|
184
|
+
'margin-bottom': convertDynamicClassValueToRem(d),
|
|
185
|
+
}),
|
|
186
|
+
],
|
|
187
|
+
|
|
188
|
+
[
|
|
189
|
+
/^m-t-(\d+)$/,
|
|
190
|
+
([, d]) => ({
|
|
191
|
+
'margin-top': convertDynamicClassValueToRem(d),
|
|
192
|
+
}),
|
|
193
|
+
],
|
|
194
|
+
[
|
|
195
|
+
/^m-l-(\d+)$/,
|
|
196
|
+
([, d]) => ({
|
|
197
|
+
'margin-left': convertDynamicClassValueToRem(d),
|
|
198
|
+
}),
|
|
199
|
+
],
|
|
200
|
+
[
|
|
201
|
+
/^m-r-(\d+)$/,
|
|
202
|
+
([, d]) => ({
|
|
203
|
+
'margin-right': convertDynamicClassValueToRem(d),
|
|
204
|
+
}),
|
|
205
|
+
],
|
|
206
|
+
[
|
|
207
|
+
/^m-b-(\d+)$/,
|
|
208
|
+
([, d]) => ({
|
|
209
|
+
'margin-bottom': convertDynamicClassValueToRem(d),
|
|
210
|
+
}),
|
|
211
|
+
],
|
|
212
|
+
|
|
213
|
+
[
|
|
214
|
+
/^mb-sm$/,
|
|
215
|
+
() => ({
|
|
216
|
+
'margin-bottom': pxValueToRem(14),
|
|
217
|
+
}),
|
|
218
|
+
],
|
|
219
|
+
|
|
220
|
+
[/^gap-(\d+)$/, ([, d]) => ({ gap: convertDynamicClassValueToRem(d) })],
|
|
221
|
+
[/^gap-x-(\d+)$/, ([, d]) => ({ 'column-gap': convertDynamicClassValueToRem(d) })],
|
|
222
|
+
[/^gap-y-(\d+)$/, ([, d]) => ({ 'row-gap': convertDynamicClassValueToRem(d) })],
|
|
223
|
+
|
|
224
|
+
[
|
|
225
|
+
/^w-(\d+)rem$/,
|
|
226
|
+
([, d]) => ({
|
|
227
|
+
width: pxValueToRem(Number.parseInt(d) * 16),
|
|
228
|
+
}),
|
|
229
|
+
],
|
|
230
|
+
|
|
231
|
+
[
|
|
232
|
+
/^w-sm$/,
|
|
233
|
+
() => ({
|
|
234
|
+
width: pxValueToRem(24 * 16), // 24rem
|
|
235
|
+
}),
|
|
236
|
+
],
|
|
237
|
+
],
|
|
238
|
+
extendTheme: (theme: any) => {
|
|
239
|
+
return {
|
|
240
|
+
...theme,
|
|
241
|
+
fontSize: {
|
|
242
|
+
xs: [convertRem(0.75), '1'],
|
|
243
|
+
sm: [convertRem(0.875), '1.25'],
|
|
244
|
+
base: [convertRem(1), '1.5'],
|
|
245
|
+
lg: [convertRem(1.125), '1.75'],
|
|
246
|
+
xl: [convertRem(1.25), '1.75'],
|
|
247
|
+
'2xl': [convertRem(1.5), '2'],
|
|
248
|
+
'3xl': [convertRem(1.875), '2.25'],
|
|
249
|
+
'4xl': [convertRem(2.25), '2.5'],
|
|
250
|
+
'5xl': [convertRem(3), '1'],
|
|
251
|
+
'6xl': [convertRem(3.75), '1'],
|
|
252
|
+
'7xl': [convertRem(4.5), '1'],
|
|
253
|
+
'8xl': [convertRem(6), '1'],
|
|
254
|
+
'9xl': [convertRem(8), '1'],
|
|
255
|
+
'kol-test': ['625%', '1'],
|
|
256
|
+
},
|
|
257
|
+
borderRadius: {
|
|
258
|
+
DEFAULT: convertRem(0.25),
|
|
259
|
+
none: '0',
|
|
260
|
+
sm: convertRem(0.125),
|
|
261
|
+
md: convertRem(0.375),
|
|
262
|
+
lg: convertRem(0.5),
|
|
263
|
+
xl: convertRem(0.75),
|
|
264
|
+
'2xl': convertRem(1),
|
|
265
|
+
'3xl': convertRem(1.5),
|
|
266
|
+
full: '9999px',
|
|
267
|
+
},
|
|
268
|
+
containers: {
|
|
269
|
+
xs: `(min-width: ${convertRem(20)})`,
|
|
270
|
+
sm: `(min-width: ${convertRem(24)})`,
|
|
271
|
+
md: `(min-width: ${convertRem(28)})`,
|
|
272
|
+
lg: `(min-width: ${convertRem(32)})`,
|
|
273
|
+
xl: `(min-width: ${convertRem(36)})`,
|
|
274
|
+
'2xl': `(min-width: ${convertRem(42)})`,
|
|
275
|
+
'3xl': `(min-width: ${convertRem(48)})`,
|
|
276
|
+
'4xl': `(min-width: ${convertRem(56)})`,
|
|
277
|
+
'5xl': `(min-width: ${convertRem(64)})`,
|
|
278
|
+
'6xl': `(min-width: ${convertRem(72)})`,
|
|
279
|
+
'7xl': `(min-width: ${convertRem(80)})`,
|
|
280
|
+
prose: '(min-width: 65ch)',
|
|
281
|
+
},
|
|
282
|
+
spacing: {
|
|
283
|
+
DEFAULT: convertRem(1),
|
|
284
|
+
none: '0',
|
|
285
|
+
xs: convertRem(0.75),
|
|
286
|
+
sm: convertRem(0.875),
|
|
287
|
+
lg: convertRem(1.125),
|
|
288
|
+
xl: convertRem(1.25),
|
|
289
|
+
'2xl': convertRem(1.5),
|
|
290
|
+
'3xl': convertRem(1.875),
|
|
291
|
+
'4xl': convertRem(2.25),
|
|
292
|
+
'5xl': convertRem(3),
|
|
293
|
+
'6xl': convertRem(3.75),
|
|
294
|
+
'7xl': convertRem(4.5),
|
|
295
|
+
'8xl': convertRem(6),
|
|
296
|
+
'9xl': convertRem(8),
|
|
297
|
+
},
|
|
298
|
+
textIndent: {
|
|
299
|
+
DEFAULT: convertRem(1.5),
|
|
300
|
+
xs: convertRem(0.5),
|
|
301
|
+
sm: convertRem(1),
|
|
302
|
+
md: convertRem(1.5),
|
|
303
|
+
lg: convertRem(2),
|
|
304
|
+
xl: convertRem(2.5),
|
|
305
|
+
'2xl': convertRem(3),
|
|
306
|
+
'3xl': convertRem(4),
|
|
307
|
+
},
|
|
308
|
+
textStrokeWidth: {
|
|
309
|
+
DEFAULT: convertRem(1.5),
|
|
310
|
+
none: '0',
|
|
311
|
+
sm: 'thin',
|
|
312
|
+
md: 'medium',
|
|
313
|
+
lg: 'thick',
|
|
314
|
+
},
|
|
315
|
+
};
|
|
316
|
+
},
|
|
317
|
+
presets: [presetMini()],
|
|
318
|
+
});
|