@public-ui/visual-tests 4.3.0-rc.1 → 4.3.0-rc.3
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-DlY1Cd8i-BwVroHFI.js +2 -0
- package/app/dist/assets/Alert-DlY1Cd8i-BwVroHFI.js.map +1 -0
- package/app/dist/assets/Collapsible-CqU4taX6-Bhr9eHaC.js +2 -0
- package/app/dist/assets/Collapsible-CqU4taX6-Bhr9eHaC.js.map +1 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup-DlVT1X91-uNzGdd2p.js +2 -0
- package/app/dist/assets/CustomSuggestionsOptionsGroup-DlVT1X91-uNzGdd2p.js.map +1 -0
- package/app/dist/assets/FieldControlStateWrapper-DOKxxkQb-DEVGvUNn.js +2 -0
- package/app/dist/assets/FieldControlStateWrapper-DOKxxkQb-DEVGvUNn.js.map +1 -0
- package/app/dist/assets/FormFieldStateWrapper-DCZ5A-2U-ChiSnkkl.js +2 -0
- package/app/dist/assets/FormFieldStateWrapper-DCZ5A-2U-ChiSnkkl.js.map +1 -0
- package/app/dist/assets/Heading-Bi9MCxAk-HD5nVG83.js +2 -0
- package/app/dist/assets/Heading-Bi9MCxAk-HD5nVG83.js.map +1 -0
- package/app/dist/assets/Input-BckuoFWy-CdDw9hcK.js +2 -0
- package/app/dist/assets/Input-BckuoFWy-CdDw9hcK.js.map +1 -0
- package/app/dist/assets/InputStateWrapper-C_rqkRKc-DASHRrFL.js +2 -0
- package/app/dist/assets/InputStateWrapper-C_rqkRKc-DASHRrFL.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-DzjVTrop-CKMyzJsA.js +2 -0
- package/app/dist/assets/access-and-short-key-DzjVTrop-CKMyzJsA.js.map +1 -0
- package/app/dist/assets/align-BdqBkiyq-yjTJisYK.js +2 -0
- package/app/dist/assets/align-BdqBkiyq-yjTJisYK.js.map +1 -0
- package/app/dist/assets/align-floating-elements-Xqbu3THH-BUBoykAf.js +2 -0
- package/app/dist/assets/align-floating-elements-Xqbu3THH-BUBoykAf.js.map +1 -0
- package/app/dist/assets/aria-details-Ddidnfeo-9O-5V94J.js +2 -0
- package/app/dist/assets/aria-details-Ddidnfeo-9O-5V94J.js.map +1 -0
- package/app/dist/assets/aria-expanded-uRdi7H40-DYyqqpdc.js +2 -0
- package/app/dist/assets/aria-expanded-uRdi7H40-DYyqqpdc.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-c6050AJw-Kvquemx4.js +2 -0
- package/app/dist/assets/aria-labelledby-c6050AJw-Kvquemx4.js.map +1 -0
- package/app/dist/assets/associated.controller-yo_yku-m-ClLavzyJ.js +2 -0
- package/app/dist/assets/associated.controller-yo_yku-m-ClLavzyJ.js.map +1 -0
- package/app/dist/assets/auto-complete-CyU7zRoT-BXABVkHR.js +2 -0
- package/app/dist/assets/auto-complete-CyU7zRoT-BXABVkHR.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-BCIMb9gN-CviiCyGl.js +2 -0
- package/app/dist/assets/base-web-component-BCIMb9gN-CviiCyGl.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-CcMLxnr8-BmhrmZB6.js +2 -0
- package/app/dist/assets/color-CcMLxnr8-BmhrmZB6.js.map +1 -0
- package/app/dist/assets/component--JhtaF4C-DG2eP9J7.js +2 -0
- package/app/dist/assets/component--JhtaF4C-DG2eP9J7.js.map +1 -0
- package/app/dist/assets/component-BX1n4r9q-3osKTIQB.js +2 -0
- package/app/dist/assets/component-BX1n4r9q-3osKTIQB.js.map +1 -0
- package/app/dist/assets/component-CKSOghiT-BiZ3zoDz.js +15 -0
- package/app/dist/assets/component-CKSOghiT-BiZ3zoDz.js.map +1 -0
- package/app/dist/assets/component-DaUkSW3u-D4PLyO52.js +2 -0
- package/app/dist/assets/component-DaUkSW3u-D4PLyO52.js.map +1 -0
- package/app/dist/assets/contrast-D_ZImOya-BYPJBqAc.js +2 -0
- package/app/dist/assets/contrast-D_ZImOya-BYPJBqAc.js.map +1 -0
- package/app/dist/assets/controller-9xFQ1gbO-DtlBDO-s.js +2 -0
- package/app/dist/assets/controller-9xFQ1gbO-DtlBDO-s.js.map +1 -0
- package/app/dist/assets/controller-BUTW5QfH-Ccipdohy.js +2 -0
- package/app/dist/assets/controller-BUTW5QfH-Ccipdohy.js.map +1 -0
- package/app/dist/assets/controller-CSptrI5n-Bhpko7BW.js +2 -0
- package/app/dist/assets/controller-CSptrI5n-Bhpko7BW.js.map +1 -0
- package/app/dist/assets/controller-OMZJeKEr-Bc3-jlYH.js +2 -0
- package/app/dist/assets/controller-OMZJeKEr-Bc3-jlYH.js.map +1 -0
- package/app/dist/assets/controller-icon-DktA_QxA-CLpTKqQv.js +2 -0
- package/app/dist/assets/controller-icon-DktA_QxA-CLpTKqQv.js.map +1 -0
- package/app/dist/assets/controller-lZW7O5A_-Ccnqu3-q.js +2 -0
- package/app/dist/assets/controller-lZW7O5A_-Ccnqu3-q.js.map +1 -0
- package/app/dist/assets/custom-class-BeMzLrHQ-DsBv4WXp.js +2 -0
- package/app/dist/assets/custom-class-BeMzLrHQ-DsBv4WXp.js.map +1 -0
- package/app/dist/assets/dev.utils-CBuLoTMV-xmZMRaFA.js +14 -0
- package/app/dist/assets/dev.utils-CBuLoTMV-xmZMRaFA.js.map +1 -0
- package/app/dist/assets/devtools-bNqgTx2P-BkYJL2zB.js +14 -0
- package/app/dist/assets/devtools-bNqgTx2P-BkYJL2zB.js.map +1 -0
- package/app/dist/assets/disabled-DfW4ft-F-03H5wBxe.js +2 -0
- package/app/dist/assets/disabled-DfW4ft-F-03H5wBxe.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-BHa3nc5C-BnSBVGfF.js +2 -0
- package/app/dist/assets/has-closer-BHa3nc5C-BnSBVGfF.js.map +1 -0
- package/app/dist/assets/hide-label-BDwvU6I8-DPHrI4dn.js +2 -0
- package/app/dist/assets/hide-label-BDwvU6I8-DPHrI4dn.js.map +1 -0
- package/app/dist/assets/href-CepakdI3-BiDtMwhg.js +2 -0
- package/app/dist/assets/href-CepakdI3-BiDtMwhg.js.map +1 -0
- package/app/dist/assets/i18n-CcjZRTxD-DOVnRsej.js +2 -0
- package/app/dist/assets/i18n-CcjZRTxD-DOVnRsej.js.map +1 -0
- package/app/dist/assets/icons-BGkS8g2K-DE4wgWYH.js +2 -0
- package/app/dist/assets/icons-BGkS8g2K-DE4wgWYH.js.map +1 -0
- package/app/dist/assets/img_avatar.jpg +0 -0
- package/app/dist/assets/index-BEIcpIbr.js +168 -0
- package/app/dist/assets/index-BEIcpIbr.js.map +1 -0
- package/app/dist/assets/index-DntD6gvY.css +1 -0
- package/app/dist/assets/inline-CEIVpydv-C-X5eCgp.js +2 -0
- package/app/dist/assets/inline-CEIVpydv-C-X5eCgp.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-DZ5kDpPy.js +379 -0
- package/app/dist/assets/kol-abbr.entry-DZ5kDpPy.js.map +1 -0
- package/app/dist/assets/kol-accordion.entry-DLyxicvq.js +379 -0
- package/app/dist/assets/kol-accordion.entry-DLyxicvq.js.map +1 -0
- package/app/dist/assets/kol-alert-wc.entry-DC_QN7ZM.js +2 -0
- package/app/dist/assets/kol-alert-wc.entry-DC_QN7ZM.js.map +1 -0
- package/app/dist/assets/kol-alert.entry-DB9lOF2r.js +417 -0
- package/app/dist/assets/kol-alert.entry-DB9lOF2r.js.map +1 -0
- package/app/dist/assets/kol-avatar.entry-Cp4cVB_s.js +232 -0
- package/app/dist/assets/kol-avatar.entry-Cp4cVB_s.js.map +1 -0
- package/app/dist/assets/kol-badge.entry-Bxe45Dcm.js +392 -0
- package/app/dist/assets/kol-badge.entry-Bxe45Dcm.js.map +1 -0
- package/app/dist/assets/kol-breadcrumb.entry-DVH8bqb1.js +423 -0
- package/app/dist/assets/kol-breadcrumb.entry-DVH8bqb1.js.map +1 -0
- package/app/dist/assets/kol-button-link.entry-t47iAJrh.js +416 -0
- package/app/dist/assets/kol-button-link.entry-t47iAJrh.js.map +1 -0
- package/app/dist/assets/kol-button-wc.entry-CecL8SX0.js +2 -0
- package/app/dist/assets/kol-button-wc.entry-CecL8SX0.js.map +1 -0
- package/app/dist/assets/kol-button.entry-CZYfUQng.js +398 -0
- package/app/dist/assets/kol-button.entry-CZYfUQng.js.map +1 -0
- package/app/dist/assets/kol-card-wc.entry-ByFCmUdP.js +2 -0
- package/app/dist/assets/kol-card-wc.entry-ByFCmUdP.js.map +1 -0
- package/app/dist/assets/kol-card.entry-CuONP7wC.js +426 -0
- package/app/dist/assets/kol-card.entry-CuONP7wC.js.map +1 -0
- package/app/dist/assets/kol-click-button.entry-D9vPg7CD.js +2 -0
- package/app/dist/assets/kol-click-button.entry-D9vPg7CD.js.map +1 -0
- package/app/dist/assets/kol-combobox.entry-C6Kk_Dxd.js +539 -0
- package/app/dist/assets/kol-combobox.entry-C6Kk_Dxd.js.map +1 -0
- package/app/dist/assets/kol-details.entry-DJcEvgaM.js +470 -0
- package/app/dist/assets/kol-details.entry-DJcEvgaM.js.map +1 -0
- package/app/dist/assets/kol-dialog-wc.entry-BbrdlEHx.js +2 -0
- package/app/dist/assets/kol-dialog-wc.entry-BbrdlEHx.js.map +1 -0
- package/app/dist/assets/kol-dialog.entry-dMce5mVX.js +439 -0
- package/app/dist/assets/kol-dialog.entry-dMce5mVX.js.map +1 -0
- package/app/dist/assets/kol-drawer.entry-BO-45p5H.js +468 -0
- package/app/dist/assets/kol-drawer.entry-BO-45p5H.js.map +1 -0
- package/app/dist/assets/kol-form.entry-BomXw5SY.js +454 -0
- package/app/dist/assets/kol-form.entry-BomXw5SY.js.map +1 -0
- package/app/dist/assets/kol-heading.entry-CfsjPW0d.js +213 -0
- package/app/dist/assets/kol-heading.entry-CfsjPW0d.js.map +1 -0
- package/app/dist/assets/kol-icon.entry-zGggAKcu.js +106 -0
- package/app/dist/assets/kol-icon.entry-zGggAKcu.js.map +1 -0
- package/app/dist/assets/kol-image.entry-C2aKrIjR.js +215 -0
- package/app/dist/assets/kol-image.entry-C2aKrIjR.js.map +1 -0
- package/app/dist/assets/kol-input-checkbox.entry-BoB7upn4.js +608 -0
- package/app/dist/assets/kol-input-checkbox.entry-BoB7upn4.js.map +1 -0
- package/app/dist/assets/kol-input-color.entry-DPNWc69q.js +483 -0
- package/app/dist/assets/kol-input-color.entry-DPNWc69q.js.map +1 -0
- package/app/dist/assets/kol-input-date.entry-TI0nKzGm.js +492 -0
- package/app/dist/assets/kol-input-date.entry-TI0nKzGm.js.map +1 -0
- package/app/dist/assets/kol-input-email.entry-D_s0md4I.js +466 -0
- package/app/dist/assets/kol-input-email.entry-D_s0md4I.js.map +1 -0
- package/app/dist/assets/kol-input-file.entry-BXN3uL89.js +518 -0
- package/app/dist/assets/kol-input-file.entry-BXN3uL89.js.map +1 -0
- package/app/dist/assets/kol-input-number.entry-g86PdE6B.js +480 -0
- package/app/dist/assets/kol-input-number.entry-g86PdE6B.js.map +1 -0
- package/app/dist/assets/kol-input-password.entry-D10PnyJE.js +476 -0
- package/app/dist/assets/kol-input-password.entry-D10PnyJE.js.map +1 -0
- package/app/dist/assets/kol-input-radio.entry-tKXDXGvO.js +584 -0
- package/app/dist/assets/kol-input-radio.entry-tKXDXGvO.js.map +1 -0
- package/app/dist/assets/kol-input-range.entry-CqAbxY11.js +516 -0
- package/app/dist/assets/kol-input-range.entry-CqAbxY11.js.map +1 -0
- package/app/dist/assets/kol-input-text.entry-Dk5GeZf2.js +466 -0
- package/app/dist/assets/kol-input-text.entry-Dk5GeZf2.js.map +1 -0
- package/app/dist/assets/kol-kolibri.entry-uTyeH-Do.js +219 -0
- package/app/dist/assets/kol-kolibri.entry-uTyeH-Do.js.map +1 -0
- package/app/dist/assets/kol-link-button.entry-2vu9_NG0.js +398 -0
- package/app/dist/assets/kol-link-button.entry-2vu9_NG0.js.map +1 -0
- package/app/dist/assets/kol-link-wc.entry-CzXVByhL.js +2 -0
- package/app/dist/assets/kol-link-wc.entry-CzXVByhL.js.map +1 -0
- package/app/dist/assets/kol-link.entry-DCo2L-VH.js +412 -0
- package/app/dist/assets/kol-link.entry-DCo2L-VH.js.map +1 -0
- package/app/dist/assets/kol-meter.entry-C_HJE1d4.js +312 -0
- package/app/dist/assets/kol-meter.entry-C_HJE1d4.js.map +1 -0
- package/app/dist/assets/kol-modal.entry-CzmfwhNj.js +439 -0
- package/app/dist/assets/kol-modal.entry-CzmfwhNj.js.map +1 -0
- package/app/dist/assets/kol-nav.entry-CmEsrnwx.js +415 -0
- package/app/dist/assets/kol-nav.entry-CmEsrnwx.js.map +1 -0
- package/app/dist/assets/kol-pagination-wc.entry-BmbWJOkm.js +2 -0
- package/app/dist/assets/kol-pagination-wc.entry-BmbWJOkm.js.map +1 -0
- package/app/dist/assets/kol-pagination.entry-RZl-69l_.js +515 -0
- package/app/dist/assets/kol-pagination.entry-RZl-69l_.js.map +1 -0
- package/app/dist/assets/kol-popover-button-wc.entry-BlgNLoX7.js +2 -0
- package/app/dist/assets/kol-popover-button-wc.entry-BlgNLoX7.js.map +1 -0
- package/app/dist/assets/kol-popover-button.entry-DN77AAu4.js +423 -0
- package/app/dist/assets/kol-popover-button.entry-DN77AAu4.js.map +1 -0
- package/app/dist/assets/kol-progress.entry-BHaO_I1Q.js +293 -0
- package/app/dist/assets/kol-progress.entry-BHaO_I1Q.js.map +1 -0
- package/app/dist/assets/kol-quote.entry-CtZBn5PK.js +229 -0
- package/app/dist/assets/kol-quote.entry-CtZBn5PK.js.map +1 -0
- package/app/dist/assets/kol-select-wc.entry-Db1ERJZ2.js +2 -0
- package/app/dist/assets/kol-select-wc.entry-Db1ERJZ2.js.map +1 -0
- package/app/dist/assets/kol-select.entry-DFibbzqx.js +480 -0
- package/app/dist/assets/kol-select.entry-DFibbzqx.js.map +1 -0
- package/app/dist/assets/kol-single-select.entry-B6zg1HM4.js +547 -0
- package/app/dist/assets/kol-single-select.entry-B6zg1HM4.js.map +1 -0
- package/app/dist/assets/kol-skeleton.entry-CMsy3OUR.js +2 -0
- package/app/dist/assets/kol-skeleton.entry-CMsy3OUR.js.map +1 -0
- package/app/dist/assets/kol-skip-nav.entry-BtNKAQDl.js +431 -0
- package/app/dist/assets/kol-skip-nav.entry-BtNKAQDl.js.map +1 -0
- package/app/dist/assets/kol-spin.entry-Bi4EeSOk.js +358 -0
- package/app/dist/assets/kol-spin.entry-Bi4EeSOk.js.map +1 -0
- package/app/dist/assets/kol-split-button.entry-8gjvRFpo.js +413 -0
- package/app/dist/assets/kol-split-button.entry-8gjvRFpo.js.map +1 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DY8kInt9.js +2 -0
- package/app/dist/assets/kol-table-settings-wc.entry-DY8kInt9.js.map +1 -0
- package/app/dist/assets/kol-table-stateful.entry-DuVmcy15.js +847 -0
- package/app/dist/assets/kol-table-stateful.entry-DuVmcy15.js.map +1 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-CbRTqJ5e.js +2 -0
- package/app/dist/assets/kol-table-stateless-wc.entry-CbRTqJ5e.js.map +1 -0
- package/app/dist/assets/kol-table-stateless.entry-B5nsxiVK.js +712 -0
- package/app/dist/assets/kol-table-stateless.entry-B5nsxiVK.js.map +1 -0
- package/app/dist/assets/kol-tabs.entry-gg0yuGWO.js +437 -0
- package/app/dist/assets/kol-tabs.entry-gg0yuGWO.js.map +1 -0
- package/app/dist/assets/kol-textarea.entry-CxfV3ZNa.js +464 -0
- package/app/dist/assets/kol-textarea.entry-CxfV3ZNa.js.map +1 -0
- package/app/dist/assets/kol-toast-container.entry-D8rWIz4U.js +427 -0
- package/app/dist/assets/kol-toast-container.entry-D8rWIz4U.js.map +1 -0
- package/app/dist/assets/kol-toolbar.entry-NTzUD7YM.js +437 -0
- package/app/dist/assets/kol-toolbar.entry-NTzUD7YM.js.map +1 -0
- package/app/dist/assets/kol-tooltip-wc.entry-DfMfimAr.js +2 -0
- package/app/dist/assets/kol-tooltip-wc.entry-DfMfimAr.js.map +1 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DAhF9-x3.js +2 -0
- package/app/dist/assets/kol-tree-item-wc.entry-DAhF9-x3.js.map +1 -0
- package/app/dist/assets/kol-tree-item.entry-CNrDdOG1.js +341 -0
- package/app/dist/assets/kol-tree-item.entry-CNrDdOG1.js.map +1 -0
- package/app/dist/assets/kol-tree-wc.entry-ITtwyvz-.js +2 -0
- package/app/dist/assets/kol-tree-wc.entry-ITtwyvz-.js.map +1 -0
- package/app/dist/assets/kol-tree.entry-DAo8-ZJ1.js +219 -0
- package/app/dist/assets/kol-tree.entry-DAo8-ZJ1.js.map +1 -0
- package/app/dist/assets/kol-version.entry-C9jl4FKy.js +208 -0
- package/app/dist/assets/kol-version.entry-C9jl4FKy.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-BwPy2Jd4-Ckcz6Umq.js +2 -0
- package/app/dist/assets/label-BwPy2Jd4-Ckcz6Umq.js.map +1 -0
- package/app/dist/assets/label-We78Dt9U-Cj1PFfHw.js +2 -0
- package/app/dist/assets/label-We78Dt9U-Cj1PFfHw.js.map +1 -0
- package/app/dist/assets/level-DRQEJIoR-ZB0Xxby0.js +2 -0
- package/app/dist/assets/level-DRQEJIoR-ZB0Xxby0.js.map +1 -0
- package/app/dist/assets/max-length-behavior-DwaNVm5b-CTezD-oN.js +2 -0
- package/app/dist/assets/max-length-behavior-DwaNVm5b-CTezD-oN.js.map +1 -0
- package/app/dist/assets/multiple-wlinUB8P-DSNgZYuP.js +2 -0
- package/app/dist/assets/multiple-wlinUB8P-DSNgZYuP.js.map +1 -0
- package/app/dist/assets/normalizers-iLdS6AQE-C9zKfn33.js +2 -0
- package/app/dist/assets/normalizers-iLdS6AQE-C9zKfn33.js.map +1 -0
- package/app/dist/assets/open-DJPD9Hvv-B-rVtbNr.js +2 -0
- package/app/dist/assets/open-DJPD9Hvv-B-rVtbNr.js.map +1 -0
- package/app/dist/assets/orientation-DPjc47G2-B6SKR9Mw.js +2 -0
- package/app/dist/assets/orientation-DPjc47G2-B6SKR9Mw.js.map +1 -0
- package/app/dist/assets/placeholder-fpeae7fK-C8nnFTql.js +2 -0
- package/app/dist/assets/placeholder-fpeae7fK-C8nnFTql.js.map +1 -0
- package/app/dist/assets/read-only-CfWFpOKr-DDrpaAHw.js +2 -0
- package/app/dist/assets/read-only-CfWFpOKr-DDrpaAHw.js.map +1 -0
- package/app/dist/assets/required-BYwM0tPO-CHc9tOfR.js +2 -0
- package/app/dist/assets/required-BYwM0tPO-CHc9tOfR.js.map +1 -0
- package/app/dist/assets/rows-W8SFsFj4-UewBNY_r.js +2 -0
- package/app/dist/assets/rows-W8SFsFj4-UewBNY_r.js.map +1 -0
- package/app/dist/assets/sample-image.png +0 -0
- package/app/dist/assets/spell-check-xh2ex2eu-D2ni4oP5.js +2 -0
- package/app/dist/assets/spell-check-xh2ex2eu-D2ni4oP5.js.map +1 -0
- package/app/dist/assets/src-C1iVkqtP-BSmLsrok.js +2 -0
- package/app/dist/assets/src-C1iVkqtP-BSmLsrok.js.map +1 -0
- package/app/dist/assets/suggestions-D4UUoZGS-CxgBlZf5.js +2 -0
- package/app/dist/assets/suggestions-D4UUoZGS-CxgBlZf5.js.map +1 -0
- package/app/dist/assets/table-selection-CL3si3DN-v0orItbI.js +2 -0
- package/app/dist/assets/table-selection-CL3si3DN-v0orItbI.js.map +1 -0
- package/app/dist/assets/test-component.entry-aProRodD.js +2 -0
- package/app/dist/assets/test-component.entry-aProRodD.js.map +1 -0
- package/app/dist/assets/tooltip-align-LkJ2mgrc-DUUNAT3I.js +2 -0
- package/app/dist/assets/tooltip-align-LkJ2mgrc-DUUNAT3I.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-D4Kr0ypx-Cg7sp788.js +2 -0
- package/app/dist/assets/unique-nav-labels-D4Kr0ypx-Cg7sp788.js.map +1 -0
- package/app/dist/assets/validation-BVCCGUzN-CfWcMlZt.js +2 -0
- package/app/dist/assets/validation-BVCCGUzN-CfWcMlZt.js.map +1 -0
- package/app/dist/assets/validation-CzQC9wBA-Bh-xRtrz.js +2 -0
- package/app/dist/assets/validation-CzQC9wBA-Bh-xRtrz.js.map +1 -0
- package/app/dist/assets/value-number-clamped-CiWMaJPP-By8_LJ2Q.js +2 -0
- package/app/dist/assets/value-number-clamped-CiWMaJPP-By8_LJ2Q.js.map +1 -0
- package/app/dist/assets/variant-class-name-D8tvX7Qv-DSzsetku.js +2 -0
- package/app/dist/assets/variant-class-name-D8tvX7Qv-DSzsetku.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/img_avatar.jpg +0 -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/assets/sample-image.png +0 -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 +133 -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=1783496448056'); /* IE9*/
|
|
4
|
+
src: url('kolicons.eot?t=1783496448056#iefix') format('embedded-opentype'), /* IE6-IE8 */
|
|
5
|
+
url("kolicons.woff2?t=1783496448056") format("woff2"),
|
|
6
|
+
url("kolicons.woff?t=1783496448056") format("woff"),
|
|
7
|
+
url('kolicons.ttf?t=1783496448056') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
|
|
8
|
+
url('kolicons.svg?t=1783496448056#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
|
|
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,133 @@
|
|
|
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
|
+
// Feature flags declared by a theme (KoliBri.createTheme's third argument) are stored per
|
|
58
|
+
// theme. Each component resolves the flag for its active theme (nearest data-theme ancestor
|
|
59
|
+
// / fixed default), so different themes can differ on the same page. Pass `features` here
|
|
60
|
+
// only to force a global app-level override that wins over every theme:
|
|
61
|
+
// features: { inputNumberButtons: 'show' },
|
|
62
|
+
/* The theme is injected via THEME_MODULE, so auto-detection must stay disabled. */
|
|
63
|
+
theme: undefined,
|
|
64
|
+
translation: {
|
|
65
|
+
name: 'en',
|
|
66
|
+
},
|
|
67
|
+
/**
|
|
68
|
+
* You can add your own translations here.
|
|
69
|
+
*/
|
|
70
|
+
translations: ENABLE_I18N_OVERWRITING
|
|
71
|
+
? new Set([
|
|
72
|
+
(t) =>
|
|
73
|
+
t('en', {
|
|
74
|
+
// https://github.com/public-ui/kolibri/blob/develop/packages/components/src/locales/en.ts
|
|
75
|
+
'kol-error': 'Tiny error!',
|
|
76
|
+
}),
|
|
77
|
+
(t) =>
|
|
78
|
+
t('de', {
|
|
79
|
+
// https://github.com/public-ui/kolibri/blob/develop/packages/components/src/locales/de.ts
|
|
80
|
+
'kol-error': 'Kleiner Fehler!',
|
|
81
|
+
}),
|
|
82
|
+
])
|
|
83
|
+
: undefined,
|
|
84
|
+
transformTagName: ENABLE_TAG_NAME_TRANSFORMER ? tagNameTransformer : undefined,
|
|
85
|
+
},
|
|
86
|
+
);
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* You should patch the theme after the components and your default theme are registered.
|
|
90
|
+
*/
|
|
91
|
+
if (ENABLE_THEME_PATCHING) {
|
|
92
|
+
KoliBriDevHelper.patchTheme(
|
|
93
|
+
'default',
|
|
94
|
+
{
|
|
95
|
+
'KOL-BUTTON': `
|
|
96
|
+
button {
|
|
97
|
+
border: 1px solid red;
|
|
98
|
+
}`,
|
|
99
|
+
'KOL-SPIN': `
|
|
100
|
+
.bg-spin-2 {
|
|
101
|
+
background-color: red;
|
|
102
|
+
}
|
|
103
|
+
.bg-spin-3 {
|
|
104
|
+
background-color: gold;
|
|
105
|
+
}`,
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
append: true,
|
|
109
|
+
},
|
|
110
|
+
);
|
|
111
|
+
}
|
|
112
|
+
} catch (error) {
|
|
113
|
+
console.warn('Theme registration failed:', error);
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/* Derive the theme key from the actually registered default theme name so it matches the
|
|
117
|
+
inject-variants JSON file exactly and the variant samples render the injected theme. */
|
|
118
|
+
const defaultThemeName = getDefaultThemeName();
|
|
119
|
+
const customThemes = defaultThemeName ? [{ key: defaultThemeName, name: defaultThemeName }] : undefined;
|
|
120
|
+
setCustomThemes(customThemes);
|
|
121
|
+
|
|
122
|
+
const htmlDivElement = document.querySelector('div#app');
|
|
123
|
+
if (htmlDivElement instanceof HTMLDivElement) {
|
|
124
|
+
const root = createRoot(htmlDivElement);
|
|
125
|
+
root.render(
|
|
126
|
+
<StrictMode>
|
|
127
|
+
<Router>
|
|
128
|
+
<App customThemes={customThemes} />
|
|
129
|
+
</Router>
|
|
130
|
+
</StrictMode>,
|
|
131
|
+
);
|
|
132
|
+
}
|
|
133
|
+
})();
|
|
@@ -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
|
+
});
|