@public-ui/sample-react 4.0.0-alpha.0 → 5.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/README.md +20 -1
- package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js +4 -0
- package/dist/assets/Alert-CPAV4jP0-CLk7QYp0.js.map +1 -0
- package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js +4 -0
- package/dist/assets/Collapsible-BdJSqZfQ-CW3zh1sv.js.map +1 -0
- package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js +4 -0
- package/dist/assets/CustomSuggestionsToggle-bD-uaZjm-VQtkCu9s.js.map +1 -0
- package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js +4 -0
- package/dist/assets/FieldControlStateWrapper-Dx7wIY7O-BARR_W_9.js.map +1 -0
- package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js +4 -0
- package/dist/assets/FormFieldStateWrapper-P3gsirX7-_klxEfUe.js.map +1 -0
- package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js +4 -0
- package/dist/assets/Heading-E6VPUTCQ-B1xNnKja.js.map +1 -0
- package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js +4 -0
- package/dist/assets/Icon-CZGGWMvI-CpggmwQf.js.map +1 -0
- package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js +4 -0
- package/dist/assets/Input-B9Wel4KN-CD5ZpCgM.js.map +1 -0
- package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js +4 -0
- package/dist/assets/InputStateWrapper-tA40Qb4L-B2T4BcML.js.map +1 -0
- package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js +4 -0
- package/dist/assets/InternalUnderlinedBadgeText-CAeB1moW-RuwntPUK.js.map +1 -0
- package/dist/assets/README.md +1 -0
- package/dist/assets/Span-4JeabU4v-B4Ic693K.js +4 -0
- package/dist/assets/Span-4JeabU4v-B4Ic693K.js.map +1 -0
- package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js +4 -0
- package/dist/assets/access-and-short-key-bcID78Ha-DEFKt7Bg.js.map +1 -0
- package/dist/assets/align-CyK0wp7d-DAXTQf4t.js +4 -0
- package/dist/assets/align-CyK0wp7d-DAXTQf4t.js.map +1 -0
- package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js +4 -0
- package/dist/assets/align-floating-elements-Bx4ukVlr-CL_0eU3g.js.map +1 -0
- package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js +4 -0
- package/dist/assets/associated.controller-BKIODHIT-Di-mnA6P.js.map +1 -0
- package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js +4 -0
- package/dist/assets/auto-complete-BsG3RQJ3-Bomu057n.js.map +1 -0
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js +4 -0
- package/dist/assets/clsx-eK3rPvPS-BT_IL7Fz.js.map +1 -0
- package/dist/assets/codicons/codicon.css +54 -1
- package/dist/assets/codicons/codicon.csv +41 -0
- package/dist/assets/codicons/codicon.svg +1 -1
- package/dist/assets/codicons/codicon.ttf +0 -0
- package/dist/assets/color-C3pYZKV3-Boz82QD1.js +4 -0
- package/dist/assets/color-C3pYZKV3-Boz82QD1.js.map +1 -0
- package/dist/assets/controller-4o5NtKAV-D22HY-_r.js +4 -0
- package/dist/assets/controller-4o5NtKAV-D22HY-_r.js.map +1 -0
- package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js +4 -0
- package/dist/assets/controller-CAN1DW3L-B9N3aOv7.js.map +1 -0
- package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js +4 -0
- package/dist/assets/controller-CV2y9Ae_-C2Ci0S_1.js.map +1 -0
- package/dist/assets/controller-Dl3IUIE_-BJro71ic.js +4 -0
- package/dist/assets/controller-Dl3IUIE_-BJro71ic.js.map +1 -0
- package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js +4 -0
- package/dist/assets/controller-icon-Dl7OIeHN-B8sxZuO8.js.map +1 -0
- package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js +4 -0
- package/dist/assets/custom-class-CA0KGtrM-CKVUEgqH.js.map +1 -0
- package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js +16 -0
- package/dist/assets/dev.utils-CeYsnaLz-_oCb7mSZ.js.map +1 -0
- package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js +16 -0
- package/dist/assets/devtools-DAp5aq4j-B34OXP1z.js.map +1 -0
- package/dist/assets/disabled-BydergHu-DG5LdC-Q.js +4 -0
- package/dist/assets/disabled-BydergHu-DG5LdC-Q.js.map +1 -0
- package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js +4 -0
- package/dist/assets/has-closer-BBMh8HY3-X-04kzoH.js.map +1 -0
- package/dist/assets/hide-label-DRunOux4--dDsrCvo.js +4 -0
- package/dist/assets/hide-label-DRunOux4--dDsrCvo.js.map +1 -0
- package/dist/assets/href-zZq6HYWf-CJRn7KoA.js +4 -0
- package/dist/assets/href-zZq6HYWf-CJRn7KoA.js.map +1 -0
- package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js +4 -0
- package/dist/assets/i18n-CdSCDnmA-DXZ5RBs2.js.map +1 -0
- package/dist/assets/icons-72ER78AW-DpSGILmm.js +4 -0
- package/dist/assets/icons-72ER78AW-DpSGILmm.js.map +1 -0
- package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js +4 -0
- package/dist/assets/image-source-RWPv7frZ-DPAFBpz5.js.map +1 -0
- package/dist/assets/index-BGOAkFhh.css +1 -0
- package/dist/assets/index-BcWoQyjV.js +14095 -0
- package/dist/assets/index-BcWoQyjV.js.map +1 -0
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js +4 -0
- package/dist/assets/isObject-DvSELytj-B0RigBxT.js.map +1 -0
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js +4 -0
- package/dist/assets/keyboard-D6PoWr38-Bn_Qh8Bq.js.map +1 -0
- package/dist/assets/kol-abbr.entry-D1-px79M.js +237 -0
- package/dist/assets/kol-abbr.entry-D1-px79M.js.map +1 -0
- package/dist/assets/kol-accordion.entry-D5TwzVdy.js +249 -0
- package/dist/assets/kol-accordion.entry-D5TwzVdy.js.map +1 -0
- package/dist/assets/kol-alert-wc.entry-BRcerKE9.js +4 -0
- package/dist/assets/kol-alert-wc.entry-BRcerKE9.js.map +1 -0
- package/dist/assets/kol-alert.entry-DjTpHMvm.js +258 -0
- package/dist/assets/kol-alert.entry-DjTpHMvm.js.map +1 -0
- package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js +4 -0
- package/dist/assets/kol-avatar-wc.entry-DL1FiK4Y.js.map +1 -0
- package/dist/assets/kol-avatar.entry-D-Hk8QoG.js +221 -0
- package/dist/assets/kol-avatar.entry-D-Hk8QoG.js.map +1 -0
- package/dist/assets/kol-badge.entry-BmtWYybc.js +248 -0
- package/dist/assets/kol-badge.entry-BmtWYybc.js.map +1 -0
- package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js +281 -0
- package/dist/assets/kol-breadcrumb.entry-4_4wJ1V7.js.map +1 -0
- package/dist/assets/kol-button-link.entry-C4RHDvXg.js +267 -0
- package/dist/assets/kol-button-link.entry-C4RHDvXg.js.map +1 -0
- package/dist/assets/kol-button-wc.entry-CO1HKaP-.js +4 -0
- package/dist/assets/kol-button-wc.entry-CO1HKaP-.js.map +1 -0
- package/dist/assets/kol-button.entry-7-wx39q5.js +258 -0
- package/dist/assets/kol-button.entry-7-wx39q5.js.map +1 -0
- package/dist/assets/kol-card-wc.entry-PlaKhF5y.js +4 -0
- package/dist/assets/kol-card-wc.entry-PlaKhF5y.js.map +1 -0
- package/dist/assets/kol-card.entry-CyHtLWIW.js +250 -0
- package/dist/assets/kol-card.entry-CyHtLWIW.js.map +1 -0
- package/dist/assets/kol-combobox.entry-CpmqxpBN.js +343 -0
- package/dist/assets/kol-combobox.entry-CpmqxpBN.js.map +1 -0
- package/dist/assets/kol-details.entry-kQzWhN5P.js +260 -0
- package/dist/assets/kol-details.entry-kQzWhN5P.js.map +1 -0
- package/dist/assets/kol-drawer.entry-DxS7MGCL.js +289 -0
- package/dist/assets/kol-drawer.entry-DxS7MGCL.js.map +1 -0
- package/dist/assets/kol-form.entry-DFy3LYKz.js +283 -0
- package/dist/assets/kol-form.entry-DFy3LYKz.js.map +1 -0
- package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js +197 -0
- package/dist/assets/kol-heading.entry-Bz6Uz9Xb.js.map +1 -0
- package/dist/assets/kol-icon.entry-C4kKMLmM.js +2376 -0
- package/dist/assets/kol-icon.entry-C4kKMLmM.js.map +1 -0
- package/dist/assets/kol-image.entry-DN85gHIY.js +199 -0
- package/dist/assets/kol-image.entry-DN85gHIY.js.map +1 -0
- package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js +435 -0
- package/dist/assets/kol-input-checkbox.entry-BB36qYTr.js.map +1 -0
- package/dist/assets/kol-input-color.entry-CRrCLnIq.js +331 -0
- package/dist/assets/kol-input-color.entry-CRrCLnIq.js.map +1 -0
- package/dist/assets/kol-input-date.entry-GfOOymhn.js +313 -0
- package/dist/assets/kol-input-date.entry-GfOOymhn.js.map +1 -0
- package/dist/assets/kol-input-email.entry-PV2-V6ea.js +313 -0
- package/dist/assets/kol-input-email.entry-PV2-V6ea.js.map +1 -0
- package/dist/assets/kol-input-file.entry-BV9OeZr8.js +345 -0
- package/dist/assets/kol-input-file.entry-BV9OeZr8.js.map +1 -0
- package/dist/assets/kol-input-number.entry-RTzOX8E_.js +313 -0
- package/dist/assets/kol-input-number.entry-RTzOX8E_.js.map +1 -0
- package/dist/assets/kol-input-password.entry-P1D_zg4A.js +316 -0
- package/dist/assets/kol-input-password.entry-P1D_zg4A.js.map +1 -0
- package/dist/assets/kol-input-radio.entry-dTd41HrI.js +434 -0
- package/dist/assets/kol-input-radio.entry-dTd41HrI.js.map +1 -0
- package/dist/assets/kol-input-range.entry-DcGp-uOd.js +360 -0
- package/dist/assets/kol-input-range.entry-DcGp-uOd.js.map +1 -0
- package/dist/assets/kol-input-text.entry-TOkH_vFE.js +313 -0
- package/dist/assets/kol-input-text.entry-TOkH_vFE.js.map +1 -0
- package/dist/assets/kol-kolibri.entry-vnjBHTkR.js +203 -0
- package/dist/assets/kol-kolibri.entry-vnjBHTkR.js.map +1 -0
- package/dist/assets/kol-link-button.entry-CiZlKz0X.js +258 -0
- package/dist/assets/kol-link-button.entry-CiZlKz0X.js.map +1 -0
- package/dist/assets/kol-link-wc.entry-gCO8GEIA.js +4 -0
- package/dist/assets/kol-link-wc.entry-gCO8GEIA.js.map +1 -0
- package/dist/assets/kol-link.entry-CEbyTLtL.js +264 -0
- package/dist/assets/kol-link.entry-CEbyTLtL.js.map +1 -0
- package/dist/assets/kol-modal.entry-DxkjKvjF.js +265 -0
- package/dist/assets/kol-modal.entry-DxkjKvjF.js.map +1 -0
- package/dist/assets/kol-nav.entry-ETXrkvXL.js +280 -0
- package/dist/assets/kol-nav.entry-ETXrkvXL.js.map +1 -0
- package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js +4 -0
- package/dist/assets/kol-pagination-wc.entry-CVm2_d-B.js.map +1 -0
- package/dist/assets/kol-pagination.entry-CFi2-gxM.js +258 -0
- package/dist/assets/kol-pagination.entry-CFi2-gxM.js.map +1 -0
- package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js +4 -0
- package/dist/assets/kol-popover-button-wc.entry-ChSU6IFm.js.map +1 -0
- package/dist/assets/kol-popover-button.entry-DxNtCQp-.js +266 -0
- package/dist/assets/kol-popover-button.entry-DxNtCQp-.js.map +1 -0
- package/dist/assets/kol-popover-wc.entry-DifxtFqF.js +4 -0
- package/dist/assets/kol-popover-wc.entry-DifxtFqF.js.map +1 -0
- package/dist/assets/kol-progress.entry-nca34a3W.js +275 -0
- package/dist/assets/kol-progress.entry-nca34a3W.js.map +1 -0
- package/dist/assets/kol-quote.entry-YXiTZNnm.js +220 -0
- package/dist/assets/kol-quote.entry-YXiTZNnm.js.map +1 -0
- package/dist/assets/kol-select.entry-BH_s2GX5.js +326 -0
- package/dist/assets/kol-select.entry-BH_s2GX5.js.map +1 -0
- package/dist/assets/kol-single-select.entry-DVUfcX_x.js +359 -0
- package/dist/assets/kol-single-select.entry-DVUfcX_x.js.map +1 -0
- package/dist/assets/kol-skip-nav.entry-CMICgsBM.js +213 -0
- package/dist/assets/kol-skip-nav.entry-CMICgsBM.js.map +1 -0
- package/dist/assets/kol-spin.entry-BibNCOH_.js +326 -0
- package/dist/assets/kol-spin.entry-BibNCOH_.js.map +1 -0
- package/dist/assets/kol-split-button.entry-CN1J8gkv.js +299 -0
- package/dist/assets/kol-split-button.entry-CN1J8gkv.js.map +1 -0
- package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js +4 -0
- package/dist/assets/kol-table-settings-wc.entry-DzYEaUnI.js.map +1 -0
- package/dist/assets/kol-table-stateful.entry-DC6QZqed.js +478 -0
- package/dist/assets/kol-table-stateful.entry-DC6QZqed.js.map +1 -0
- package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js +4 -0
- package/dist/assets/kol-table-stateless-wc.entry-BKTtdiXs.js.map +1 -0
- package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js +437 -0
- package/dist/assets/kol-table-stateless.entry-ceyX4Pr1.js.map +1 -0
- package/dist/assets/kol-tabs.entry-ugHVPvjR.js +285 -0
- package/dist/assets/kol-tabs.entry-ugHVPvjR.js.map +1 -0
- package/dist/assets/kol-textarea.entry-BvcXAwnb.js +312 -0
- package/dist/assets/kol-textarea.entry-BvcXAwnb.js.map +1 -0
- package/dist/assets/kol-toast-container.entry-C3GIT1za.js +267 -0
- package/dist/assets/kol-toast-container.entry-C3GIT1za.js.map +1 -0
- package/dist/assets/kol-toolbar.entry-2hd718Om.js +271 -0
- package/dist/assets/kol-toolbar.entry-2hd718Om.js.map +1 -0
- package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js +4 -0
- package/dist/assets/kol-tooltip-wc.entry-hBiCsVpb.js.map +1 -0
- package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js +4 -0
- package/dist/assets/kol-tree-item-wc.entry-Cr2lH6I6.js.map +1 -0
- package/dist/assets/kol-tree-item.entry-DmWUWFcB.js +230 -0
- package/dist/assets/kol-tree-item.entry-DmWUWFcB.js.map +1 -0
- package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js +4 -0
- package/dist/assets/kol-tree-wc.entry-BxjlLj3I.js.map +1 -0
- package/dist/assets/kol-tree.entry-DtuEyjDz.js +203 -0
- package/dist/assets/kol-tree.entry-DtuEyjDz.js.map +1 -0
- package/dist/assets/kol-version.entry-BAe12zmq.js +192 -0
- package/dist/assets/kol-version.entry-BAe12zmq.js.map +1 -0
- package/dist/assets/kreon/OFL.txt +93 -93
- package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js +4 -0
- package/dist/assets/label-CdtNxOKu-pHFEuQ3R.js.map +1 -0
- package/dist/assets/link-variant-H9yefO89-BVbfesoN.js +4 -0
- package/dist/assets/link-variant-H9yefO89-BVbfesoN.js.map +1 -0
- package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js +19 -0
- package/dist/assets/markdown-DL-PkOqb-4V8Cu5gn.js.map +1 -0
- package/dist/assets/material-icons/css/_mixins.scss +2 -2
- package/dist/assets/material-icons/css/_variables.scss +3 -3
- package/dist/assets/material-icons/css/material-icons.scss +16 -22
- package/dist/assets/material-icons/iconfont/filled.scss +3 -3
- package/dist/assets/material-icons/iconfont/material-icons.scss +5 -5
- package/dist/assets/material-icons/iconfont/outlined.scss +3 -3
- package/dist/assets/material-icons/iconfont/round.scss +3 -3
- package/dist/assets/material-icons/iconfont/sharp.scss +3 -3
- package/dist/assets/material-icons/iconfont/two-tone.scss +3 -3
- package/dist/assets/material-symbols/index.scss +3 -3
- package/dist/assets/material-symbols/outlined.scss +2 -2
- package/dist/assets/material-symbols/rounded.scss +2 -2
- package/dist/assets/material-symbols/sharp.scss +2 -2
- package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js +4 -0
- package/dist/assets/max-length-behavior-BmNWss6T-BiOjdIG-.js.map +1 -0
- package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js +4 -0
- package/dist/assets/multiple-bcm5IaCN-BM-5Peyu.js.map +1 -0
- package/dist/assets/noto-sans/fonts/OFL.txt +93 -93
- package/dist/assets/open-D9q98v46-Bj8Lg8iR.js +4 -0
- package/dist/assets/open-D9q98v46-Bj8Lg8iR.js.map +1 -0
- package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js +4 -0
- package/dist/assets/orientation-5kQWqijN-b_j8C7_r.js.map +1 -0
- package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js +4 -0
- package/dist/assets/placeholder-6URRds0_-BkuOrv2r.js.map +1 -0
- package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js +4 -0
- package/dist/assets/read-only-CcRldJ9w-CcImKy3V.js.map +1 -0
- package/dist/assets/required-G86n77y0-D0bNZ_U9.js +4 -0
- package/dist/assets/required-G86n77y0-D0bNZ_U9.js.map +1 -0
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js +4 -0
- package/dist/assets/reuse-CX4AQDkS-Cyh-fyjG.js.map +1 -0
- package/dist/assets/roboto/LICENSE.txt +202 -202
- package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js +4 -0
- package/dist/assets/rows-P4l3PNiA-BMhEFcD5.js.map +1 -0
- package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js +4 -0
- package/dist/assets/show-DsV_Vx8g-Dv3aCZCZ.js.map +1 -0
- package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js +4 -0
- package/dist/assets/spell-check-DIsLAYgk-nyUkR3AD.js.map +1 -0
- package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js +4 -0
- package/dist/assets/suggestions-DfF4lcNG-DtOaXua3.js.map +1 -0
- package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js +4 -0
- package/dist/assets/table-settings-DSZObo-2-CG57c-Iz.js.map +1 -0
- package/dist/assets/test-component.entry-XCdkvKax.js +4 -0
- package/dist/assets/test-component.entry-XCdkvKax.js.map +1 -0
- package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js +4 -0
- package/dist/assets/tooltip-align-_VI7LehI-CnTmBpTY.js.map +1 -0
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js +4 -0
- package/dist/assets/tooltip-open-tracking-rBbBgPWP-CZrYVTp5.js.map +1 -0
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js +4 -0
- package/dist/assets/tslib.es6-CxX45GIN-BAJoBDh7.js.map +1 -0
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js +4 -0
- package/dist/assets/unique-nav-labels-C_NhdgGz-CJHm2FuG.js.map +1 -0
- package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js +4 -0
- package/dist/assets/validation-CW_RXPSn-jNLxrEvl.js.map +1 -0
- package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js +4 -0
- package/dist/assets/validation-DoIjmu3L-CXCVI4ek.js.map +1 -0
- package/dist/index.html +16 -14
- package/index.html +29 -0
- package/package.json +54 -48
- package/public/assets/README.md +1 -0
- package/public/assets/codicons/codicon.css +54 -1
- package/public/assets/codicons/codicon.csv +41 -0
- package/public/assets/codicons/codicon.svg +1 -1
- package/public/assets/codicons/codicon.ttf +0 -0
- package/public/assets/kreon/OFL.txt +93 -93
- package/public/assets/material-icons/css/_mixins.scss +2 -2
- package/public/assets/material-icons/css/_variables.scss +3 -3
- package/public/assets/material-icons/css/material-icons.scss +16 -22
- package/public/assets/material-icons/iconfont/filled.scss +3 -3
- package/public/assets/material-icons/iconfont/material-icons.scss +5 -5
- package/public/assets/material-icons/iconfont/outlined.scss +3 -3
- package/public/assets/material-icons/iconfont/round.scss +3 -3
- package/public/assets/material-icons/iconfont/sharp.scss +3 -3
- package/public/assets/material-icons/iconfont/two-tone.scss +3 -3
- package/public/assets/material-symbols/index.scss +3 -3
- package/public/assets/material-symbols/outlined.scss +2 -2
- package/public/assets/material-symbols/rounded.scss +2 -2
- package/public/assets/material-symbols/sharp.scss +2 -2
- package/public/assets/noto-sans/fonts/OFL.txt +93 -93
- package/public/assets/roboto/LICENSE.txt +202 -202
- package/src/App.tsx +2 -6
- package/src/components/BackPage.tsx +1 -1
- package/src/components/FormWrap.tsx +18 -16
- package/src/components/Navigation.tsx +1 -1
- package/src/components/SampleColumns.tsx +10 -0
- package/src/components/SampleDescription.tsx +28 -16
- package/src/components/Sidebar.tsx +32 -13
- package/src/components/abbr/basic.tsx +2 -2
- package/src/components/accordion/basic.tsx +1 -1
- package/src/components/accordion/headlines.tsx +1 -1
- package/src/components/alert/basic.tsx +5 -5
- package/src/components/alert/html.tsx +1 -1
- package/src/components/avatar/basic.tsx +1 -1
- package/src/components/badge/basic.tsx +2 -2
- package/src/components/badge/button.tsx +2 -2
- package/src/components/badge/formatted-label.tsx +19 -0
- package/src/components/badge/routes.ts +2 -0
- package/src/components/breadcrumb/basic.tsx +1 -1
- package/src/components/button/access-key.tsx +5 -4
- package/src/components/button/aria-description.tsx +1 -1
- package/src/components/button/baselined.tsx +2 -2
- package/src/components/button/icons.tsx +1 -1
- package/src/components/button/partials/cases.tsx +3 -3
- package/src/components/button/partials/variants.tsx +1 -1
- package/src/components/button/routes.ts +2 -0
- package/src/components/button/row-reverse-tooltip.tsx +26 -0
- package/src/components/button/short-key.tsx +108 -6
- package/src/components/button/width.tsx +1 -1
- package/src/components/button-link/aria-description.tsx +1 -1
- package/src/components/button-link/basic.tsx +9 -4
- package/src/components/button-link/icons.tsx +1 -1
- package/src/components/button-link/image.tsx +1 -1
- package/src/components/card/basic.tsx +1 -1
- package/src/components/combobox/basic.tsx +1 -6
- package/src/components/combobox/partials/cases.tsx +1 -1
- package/src/components/combobox/partials/variants.tsx +3 -2
- package/src/components/details/basic.tsx +1 -1
- package/src/components/drawer/basic.tsx +32 -30
- package/src/components/drawer/controlled.tsx +2 -13
- package/src/components/drawer/partials/align.tsx +1 -1
- package/src/components/drawer/routes.ts +2 -0
- package/src/components/drawer/scrolled.tsx +133 -0
- package/src/components/form/basic.tsx +1 -1
- package/src/components/form/error-list.tsx +66 -24
- package/src/components/handout/basic.tsx +27 -37
- package/src/components/heading/badged.tsx +1 -1
- package/src/components/heading/basic.tsx +1 -1
- package/src/components/heading/paragraph.tsx +1 -1
- package/src/components/heading/routes.ts +2 -0
- package/src/components/heading/secondary.tsx +20 -0
- package/src/components/icon/basic.tsx +3 -2
- package/src/components/image/basic.tsx +2 -2
- package/src/components/input-checkbox/basic.tsx +1 -1
- package/src/components/input-checkbox/button.tsx +1 -1
- package/src/components/input-checkbox/partials/cases.tsx +1 -1
- package/src/components/input-checkbox/partials/variants.tsx +5 -4
- package/src/components/input-checkbox/switch.tsx +1 -1
- package/src/components/input-color/basic.tsx +1 -1
- package/src/components/input-color/partials/cases.tsx +5 -3
- package/src/components/input-color/partials/variants.tsx +3 -2
- package/src/components/input-date/basic.tsx +1 -1
- package/src/components/input-date/copy-paste.tsx +172 -0
- package/src/components/input-date/partials/cases.tsx +8 -5
- package/src/components/input-date/partials/minMax.tsx +4 -4
- package/src/components/input-date/partials/variants.tsx +4 -3
- package/src/components/input-date/reset.tsx +1 -1
- package/src/components/input-date/routes.ts +4 -0
- package/src/components/input-date/show-hide-msg.tsx +59 -0
- package/src/components/input-email/basic.tsx +1 -1
- package/src/components/input-email/partials/cases.tsx +7 -4
- package/src/components/input-email/partials/variants.tsx +3 -2
- package/src/components/input-file/basic.tsx +1 -1
- package/src/components/input-file/partials/cases.tsx +7 -4
- package/src/components/input-file/partials/variants.tsx +3 -2
- package/src/components/input-number/basic.tsx +1 -1
- package/src/components/input-number/partials/cases.tsx +1 -1
- package/src/components/input-number/partials/variants.tsx +3 -2
- package/src/components/input-password/basic.tsx +1 -1
- package/src/components/input-password/partials/cases.tsx +9 -6
- package/src/components/input-password/partials/variants.tsx +3 -2
- package/src/components/input-password/show-password.tsx +9 -1
- package/src/components/input-radio/basic.tsx +1 -1
- package/src/components/input-radio/horizontal.tsx +3 -3
- package/src/components/input-radio/objectValue.tsx +1 -1
- package/src/components/input-radio/partials/cases.tsx +1 -14
- package/src/components/input-radio/partials/variants.tsx +11 -8
- package/src/components/input-range/basic.tsx +1 -1
- package/src/components/input-range/partials/cases.tsx +7 -4
- package/src/components/input-range/partials/variants.tsx +3 -2
- package/src/components/input-text/basic.tsx +1 -1
- package/src/components/input-text/expert-slot.tsx +1 -1
- package/src/components/input-text/{hide-errors.tsx → hide-msg.tsx} +6 -6
- package/src/components/input-text/partials/cases.tsx +4 -4
- package/src/components/input-text/partials/variants.tsx +3 -2
- package/src/components/input-text/routes.ts +2 -2
- package/src/components/input-text/smart-button.tsx +43 -14
- package/src/components/input-text/text-formatter.tsx +3 -4
- package/src/components/kolibri/basic.tsx +1 -1
- package/src/components/link/access-key.tsx +2 -4
- package/src/components/link/aria-description.tsx +1 -1
- package/src/components/link/basic.tsx +13 -11
- package/src/components/link/icons.tsx +1 -1
- package/src/components/link/image.tsx +1 -1
- package/src/components/link/link-react-router.tsx +31 -0
- package/src/components/link/routes.ts +2 -0
- package/src/components/link/short-key.tsx +2 -2
- package/src/components/link/target.tsx +1 -1
- package/src/components/link-button/aria-description.tsx +2 -2
- package/src/components/link-button/basic.tsx +9 -11
- package/src/components/modal/basic.tsx +41 -55
- package/src/components/nav/aria-current.tsx +1 -1
- package/src/components/nav/basic.tsx +20 -4
- package/src/components/nav/links.ts +61 -0
- package/src/components/nav/routes.ts +0 -2
- package/src/components/pagination/basic.tsx +2 -2
- package/src/components/popover-button/basic.tsx +62 -0
- package/src/components/popover-button/routes.ts +8 -0
- package/src/components/progress/basic.tsx +13 -6
- package/src/components/quote/basic.tsx +1 -1
- package/src/components/quote/block.tsx +1 -1
- package/src/components/select/basic.tsx +1 -1
- package/src/components/select/partials/cases.tsx +25 -6
- package/src/components/select/partials/variants.tsx +3 -2
- package/src/components/single-select/basic.tsx +1 -7
- package/src/components/single-select/partials/cases.tsx +10 -5
- package/src/components/single-select/partials/variants.tsx +8 -7
- package/src/components/skip-nav/basic.tsx +1 -1
- package/src/components/spin/basic.tsx +1 -1
- package/src/components/spin/custom.css +13 -12
- package/src/components/spin/custom.tsx +1 -1
- package/src/components/spin/cycle.tsx +1 -1
- package/src/components/spin/label.tsx +23 -0
- package/src/components/spin/routes.ts +2 -0
- package/src/components/split-button/basic.tsx +28 -17
- package/src/components/split-button/with-context.tsx +2 -2
- package/src/components/table/column-alignment.tsx +16 -13
- package/src/components/table/complex-headers.tsx +21 -10
- package/src/components/table/horizontal-scrollbar.tsx +50 -25
- package/src/components/table/interactive-child-elements.tsx +3 -3
- package/src/components/table/multi-sort.tsx +6 -4
- package/src/components/table/non-hidable-columns.tsx +35 -0
- package/src/components/table/pagination-position.tsx +26 -5
- package/src/components/table/predefined-settings.tsx +42 -0
- package/src/components/table/render-cell.tsx +4 -5
- package/src/components/table/routes.ts +17 -9
- package/src/components/table/sort-data.tsx +16 -18
- package/src/components/table/stateful-with-selection.tsx +10 -6
- package/src/components/table/stateful-with-single-selection.tsx +6 -5
- package/src/components/table/stateless-with-selection.tsx +11 -7
- package/src/components/table/stateless-with-settings-menu.tsx +52 -0
- package/src/components/table/stateless-with-single-selection.tsx +9 -6
- package/src/components/table/stateless.tsx +3 -2
- package/src/components/table/sticky-header.tsx +37 -0
- package/src/components/table/test-complex-data.ts +2214 -0
- package/src/components/table/with-footer.tsx +4 -3
- package/src/components/table/with-pagination.tsx +3 -3
- package/src/components/tabs/align.tsx +1 -1
- package/src/components/tabs/basic.tsx +1 -1
- package/src/components/tabs/behavior.tsx +1 -1
- package/src/components/tabs/create-button.tsx +42 -0
- package/src/components/tabs/icons-only.tsx +1 -1
- package/src/components/tabs/routes.ts +2 -0
- package/src/components/textarea/adjust-height.tsx +1 -1
- package/src/components/textarea/basic.tsx +1 -1
- package/src/components/textarea/partials/cases.tsx +10 -5
- package/src/components/textarea/partials/variants.tsx +3 -2
- package/src/components/textarea/resize.tsx +7 -6
- package/src/components/textarea/routes.ts +2 -2
- package/src/components/textarea/rows.tsx +1 -1
- package/src/components/textarea/with-counter.tsx +23 -0
- package/src/components/toast/basic.tsx +11 -38
- package/src/components/toast/configurator.tsx +84 -0
- package/src/components/toast/routes.ts +2 -0
- package/src/components/toolbar/basic.tsx +40 -40
- package/src/components/toolbar/disabled.tsx +2 -5
- package/src/components/tree/basic.tsx +3 -3
- package/src/components/version/basic.tsx +1 -1
- package/src/components/version/context.tsx +1 -1
- package/src/main.ts +11 -0
- package/src/react.main.tsx +59 -10
- package/src/scenarios/appointment-form/AppointmentForm.tsx +1 -1
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +1 -1
- package/src/scenarios/appointment-form/DistrictForm.tsx +2 -2
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +6 -3
- package/src/scenarios/appointment-form/Summary.tsx +1 -1
- package/src/scenarios/appointment-form/formUtils.ts +1 -1
- package/src/scenarios/change-tabindex.tsx +25 -23
- package/src/scenarios/custom-tooltip-width.tsx +1 -1
- package/src/scenarios/disabled-interactive-elements.tsx +1 -1
- package/src/scenarios/focus-elements.tsx +1 -1
- package/src/scenarios/horizontal-scrollbar-advanced/TableHorizontalScrollbarAdvanced.tsx +10 -4
- package/src/scenarios/horizontal-scrollbar-advanced/layout.scss +7 -7
- package/src/scenarios/input-group-with-error.tsx +5 -5
- package/src/scenarios/inputs-get-value.tsx +11 -6
- package/src/scenarios/performance-test.tsx +27 -0
- package/src/scenarios/react-hook-form/basic.tsx +183 -0
- package/src/scenarios/routes.ts +16 -6
- package/src/scenarios/same-height-of-all-interactive-elements.tsx +62 -0
- package/src/scenarios/sample-form-with-validation.tsx +192 -0
- package/src/scenarios/static-form.tsx +1 -1
- package/src/scenarios/toolbar-item-order.tsx +64 -0
- package/src/scenarios/tooltip-positioning.tsx +29 -0
- package/src/shares/longOptions.ts +15 -0
- package/src/shares/routes.ts +3 -7
- package/src/shares/store.ts +0 -19
- package/src/shares/theme.ts +5 -9
- package/src/style.scss +36 -13
- package/tsconfig.json +2 -1
- package/unocss.config.ts +251 -153
- package/vite.config.ts +42 -0
- package/.eslintignore +0 -2
- package/.eslintrc.js +0 -33
- package/.gitignore +0 -41
- package/.prettierignore +0 -4
- package/dist/1487.js +0 -2
- package/dist/1487.js.LICENSE.txt +0 -3
- package/dist/1552.js +0 -2
- package/dist/1552.js.LICENSE.txt +0 -3
- package/dist/1596.js +0 -2
- package/dist/1596.js.LICENSE.txt +0 -3
- package/dist/1636.js +0 -2
- package/dist/1636.js.LICENSE.txt +0 -3
- package/dist/1792.js +0 -2
- package/dist/1792.js.LICENSE.txt +0 -3
- package/dist/2017.js +0 -2
- package/dist/2017.js.LICENSE.txt +0 -3
- package/dist/2207.js +0 -2
- package/dist/2207.js.LICENSE.txt +0 -3
- package/dist/2322.js +0 -2
- package/dist/2322.js.LICENSE.txt +0 -3
- package/dist/2538.js +0 -2
- package/dist/2538.js.LICENSE.txt +0 -3
- package/dist/2567.js +0 -2
- package/dist/2567.js.LICENSE.txt +0 -3
- package/dist/263.js +0 -2
- package/dist/263.js.LICENSE.txt +0 -3
- package/dist/2719.js +0 -2
- package/dist/2719.js.LICENSE.txt +0 -3
- package/dist/3064.js +0 -2
- package/dist/3064.js.LICENSE.txt +0 -3
- package/dist/3077.js +0 -2
- package/dist/3077.js.LICENSE.txt +0 -3
- package/dist/3238.js +0 -2
- package/dist/3238.js.LICENSE.txt +0 -3
- package/dist/3395.js +0 -2
- package/dist/3395.js.LICENSE.txt +0 -3
- package/dist/35.js +0 -2
- package/dist/35.js.LICENSE.txt +0 -3
- package/dist/3521.js +0 -2
- package/dist/3521.js.LICENSE.txt +0 -3
- package/dist/356.js +0 -2
- package/dist/356.js.LICENSE.txt +0 -3
- package/dist/3714.js +0 -2
- package/dist/3714.js.LICENSE.txt +0 -3
- package/dist/3735.js +0 -2
- package/dist/3735.js.LICENSE.txt +0 -3
- package/dist/3766.js +0 -2
- package/dist/3766.js.LICENSE.txt +0 -3
- package/dist/380.js +0 -2
- package/dist/380.js.LICENSE.txt +0 -3
- package/dist/3906.js +0 -2
- package/dist/3906.js.LICENSE.txt +0 -3
- package/dist/3994.js +0 -2
- package/dist/3994.js.LICENSE.txt +0 -3
- package/dist/4025.js +0 -2
- package/dist/4025.js.LICENSE.txt +0 -3
- package/dist/4058.js +0 -2
- package/dist/4058.js.LICENSE.txt +0 -3
- package/dist/4118.js +0 -2
- package/dist/4118.js.LICENSE.txt +0 -3
- package/dist/4182.js +0 -2
- package/dist/4182.js.LICENSE.txt +0 -3
- package/dist/4188.js +0 -2
- package/dist/4188.js.LICENSE.txt +0 -3
- package/dist/4332.js +0 -2
- package/dist/4332.js.LICENSE.txt +0 -3
- package/dist/4402.js +0 -2
- package/dist/4402.js.LICENSE.txt +0 -3
- package/dist/4818.js +0 -2
- package/dist/4818.js.LICENSE.txt +0 -3
- package/dist/4892.js +0 -2
- package/dist/4892.js.LICENSE.txt +0 -3
- package/dist/4933.js +0 -2
- package/dist/4933.js.LICENSE.txt +0 -3
- package/dist/4943.js +0 -2
- package/dist/4943.js.LICENSE.txt +0 -3
- package/dist/5034.js +0 -2
- package/dist/5034.js.LICENSE.txt +0 -3
- package/dist/5056.js +0 -2
- package/dist/5056.js.LICENSE.txt +0 -3
- package/dist/5157.js +0 -2
- package/dist/5157.js.LICENSE.txt +0 -3
- package/dist/5296.js +0 -2
- package/dist/5296.js.LICENSE.txt +0 -3
- package/dist/5356.js +0 -2
- package/dist/5356.js.LICENSE.txt +0 -3
- package/dist/5551.js +0 -2
- package/dist/5551.js.LICENSE.txt +0 -3
- package/dist/5835.js +0 -2
- package/dist/5835.js.LICENSE.txt +0 -3
- package/dist/5840.js +0 -2
- package/dist/5840.js.LICENSE.txt +0 -3
- package/dist/5889.js +0 -2
- package/dist/5889.js.LICENSE.txt +0 -3
- package/dist/5912.js +0 -2
- package/dist/5912.js.LICENSE.txt +0 -3
- package/dist/6082.js +0 -2
- package/dist/6082.js.LICENSE.txt +0 -3
- package/dist/6099.js +0 -2
- package/dist/6099.js.LICENSE.txt +0 -3
- package/dist/6181.js +0 -2
- package/dist/6181.js.LICENSE.txt +0 -3
- package/dist/619.js +0 -2
- package/dist/619.js.LICENSE.txt +0 -3
- package/dist/6671.js +0 -2
- package/dist/6671.js.LICENSE.txt +0 -3
- package/dist/6775.js +0 -2
- package/dist/6775.js.LICENSE.txt +0 -3
- package/dist/7274.js +0 -2
- package/dist/7274.js.LICENSE.txt +0 -3
- package/dist/7795.js +0 -2
- package/dist/7795.js.LICENSE.txt +0 -3
- package/dist/7802.js +0 -2
- package/dist/7802.js.LICENSE.txt +0 -3
- package/dist/7860.js +0 -2
- package/dist/7860.js.LICENSE.txt +0 -3
- package/dist/8092.js +0 -2
- package/dist/8092.js.LICENSE.txt +0 -3
- package/dist/8111.js +0 -2
- package/dist/8111.js.LICENSE.txt +0 -3
- package/dist/8146.js +0 -2
- package/dist/8146.js.LICENSE.txt +0 -3
- package/dist/8427.js +0 -2
- package/dist/8427.js.LICENSE.txt +0 -3
- package/dist/8495.js +0 -2
- package/dist/8495.js.LICENSE.txt +0 -3
- package/dist/8672.js +0 -2
- package/dist/8672.js.LICENSE.txt +0 -3
- package/dist/8737.js +0 -2
- package/dist/8737.js.LICENSE.txt +0 -3
- package/dist/8786.js +0 -2
- package/dist/8786.js.LICENSE.txt +0 -3
- package/dist/8796.js +0 -2
- package/dist/8796.js.LICENSE.txt +0 -3
- package/dist/8977.js +0 -2
- package/dist/8977.js.LICENSE.txt +0 -3
- package/dist/9333.js +0 -2
- package/dist/9333.js.LICENSE.txt +0 -3
- package/dist/9389.js +0 -2
- package/dist/9389.js.LICENSE.txt +0 -3
- package/dist/9561.js +0 -2
- package/dist/9561.js.LICENSE.txt +0 -3
- package/dist/9599.js +0 -2
- package/dist/9599.js.LICENSE.txt +0 -3
- package/dist/9612.js +0 -2
- package/dist/9612.js.LICENSE.txt +0 -3
- package/dist/9890.js +0 -2
- package/dist/9890.js.LICENSE.txt +0 -3
- package/dist/assets/codicons/codicon.html +0 -3911
- package/dist/main.css +0 -4
- package/dist/main.js +0 -2
- package/dist/main.js.LICENSE.txt +0 -64
- package/prettier.config.js +0 -5
- package/public/assets/codicons/codicon.html +0 -3911
- package/public/index.html +0 -28
- package/src/components/button-group/basic.tsx +0 -34
- package/src/components/button-group/routes.ts +0 -8
- package/src/components/indented-text/basic.tsx +0 -37
- package/src/components/indented-text/routes.ts +0 -8
- package/src/components/link-group/basic.tsx +0 -23
- package/src/components/link-group/horizontal.tsx +0 -23
- package/src/components/link-group/routes.ts +0 -10
- package/src/components/nav/horizontal.tsx +0 -24
- package/src/components/textarea/counter.tsx +0 -20
- package/webpack.config.js +0 -19
|
@@ -1,60 +1,62 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import React, { useRef, useState,
|
|
2
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
3
3
|
import { useSearchParams } from 'react-router-dom';
|
|
4
4
|
|
|
5
|
-
import { HideMenusContext } from '../../shares/HideMenusContext';
|
|
6
5
|
import type { AlignPropType } from '@public-ui/components';
|
|
7
|
-
import { KolDrawer, KolButton,
|
|
6
|
+
import { KolDrawer, KolButton, KolInputCheckbox } from '@public-ui/react-v19';
|
|
8
7
|
import { SampleDescription } from '../SampleDescription';
|
|
9
8
|
|
|
10
9
|
import { DrawerRadioAlign } from './partials/align';
|
|
11
|
-
|
|
12
10
|
export const DrawerBasic: FC = () => {
|
|
13
11
|
const [searchParams] = useSearchParams();
|
|
14
12
|
const defaultAlign = searchParams.get('align') as AlignPropType;
|
|
15
|
-
const
|
|
13
|
+
const defaultCloser = searchParams.get('closer') === 'true';
|
|
16
14
|
const drawerElement = useRef<HTMLKolDrawerElement>(null);
|
|
17
|
-
|
|
15
|
+
|
|
18
16
|
const [align, setAlign] = useState<AlignPropType>(defaultAlign || 'left');
|
|
17
|
+
const [hasCloser, setHasCloser] = useState<boolean>(defaultCloser);
|
|
18
|
+
|
|
19
19
|
useEffect(() => {
|
|
20
20
|
if (defaultAlign) {
|
|
21
|
-
|
|
21
|
+
drawerElement.current?.open();
|
|
22
22
|
}
|
|
23
23
|
}, [defaultAlign]);
|
|
24
24
|
return (
|
|
25
25
|
<>
|
|
26
|
-
{!hideMenus && <KolBadge className="block mb-3" _label="Component is a DRAFT - Don't use in production yet." _color="#db5461" />}
|
|
27
26
|
<SampleDescription>
|
|
28
|
-
<p>
|
|
29
|
-
KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments and the modal- and
|
|
30
|
-
non-modal modes.
|
|
31
|
-
</p>
|
|
27
|
+
<p>KolDrawer shows a dialog attached to one of the sides of the viewport, when opened. This sample illustrates the four alignments.</p>
|
|
32
28
|
</SampleDescription>
|
|
33
29
|
|
|
34
30
|
<DrawerRadioAlign value={align} onChange={(_, value) => setAlign(value as AlignPropType)} />
|
|
31
|
+
|
|
32
|
+
<KolInputCheckbox
|
|
33
|
+
_label="Drawer has closer"
|
|
34
|
+
className="mb-4"
|
|
35
|
+
_checked={hasCloser}
|
|
36
|
+
_on={{
|
|
37
|
+
onInput: (_, value) => {
|
|
38
|
+
setHasCloser((value as null | boolean) === true);
|
|
39
|
+
},
|
|
40
|
+
}}
|
|
41
|
+
/>
|
|
42
|
+
|
|
35
43
|
<div className="flex flex-wrap gap-4">
|
|
36
|
-
<KolDrawer ref={drawerElement} _label="I am a drawer" _align={align} _on={{ onClose: () => console.log('Drawer onClose triggered!') }}>
|
|
37
|
-
<p>
|
|
38
|
-
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
39
|
-
voluptua.
|
|
40
|
-
</p>
|
|
41
|
-
<KolButton _label="Close drawer" _on={{ onClick: () => drawerElement.current?.close() }} />
|
|
42
|
-
</KolDrawer>
|
|
43
|
-
<KolButton _label="Open drawer" _on={{ onClick: () => drawerElement.current?.open() }} />
|
|
44
44
|
<KolDrawer
|
|
45
|
-
ref={
|
|
46
|
-
|
|
45
|
+
ref={drawerElement}
|
|
46
|
+
_label="I am a drawer"
|
|
47
47
|
_align={align}
|
|
48
|
-
|
|
49
|
-
_on={{ onClose: () => console.log('Drawer
|
|
48
|
+
_hasCloser={hasCloser}
|
|
49
|
+
_on={{ onClose: () => console.log('Drawer onClose triggered!') }}
|
|
50
50
|
>
|
|
51
|
-
<
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
51
|
+
<div className={align === 'left' || align === 'right' ? 'drawer-content-vertical' : ''}>
|
|
52
|
+
<p className="mt-0">
|
|
53
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
54
|
+
voluptua.
|
|
55
|
+
</p>
|
|
56
|
+
<KolButton _label="Close drawer" _on={{ onClick: () => drawerElement.current?.close() }} />
|
|
57
|
+
</div>
|
|
56
58
|
</KolDrawer>
|
|
57
|
-
<KolButton _label="Open drawer
|
|
59
|
+
<KolButton _label="Open drawer" _on={{ onClick: () => drawerElement.current?.open() }} />
|
|
58
60
|
</div>
|
|
59
61
|
</>
|
|
60
62
|
);
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
|
-
import React, { useState
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
3
|
import { useSearchParams } from 'react-router-dom';
|
|
4
4
|
|
|
5
|
-
import { HideMenusContext } from '../../shares/HideMenusContext';
|
|
6
5
|
import type { AlignPropType } from '@public-ui/components';
|
|
7
|
-
import { KolDrawer, KolButton
|
|
6
|
+
import { KolDrawer, KolButton } from '@public-ui/react-v19';
|
|
8
7
|
import { SampleDescription } from '../SampleDescription';
|
|
9
8
|
|
|
10
9
|
import { DrawerRadioAlign } from './partials/align';
|
|
@@ -12,13 +11,10 @@ import { DrawerRadioAlign } from './partials/align';
|
|
|
12
11
|
export const DrawerControlled: FC = () => {
|
|
13
12
|
const [searchParams] = useSearchParams();
|
|
14
13
|
const defaultAlign = searchParams.get('align') as AlignPropType;
|
|
15
|
-
const hideMenus = useContext(HideMenusContext);
|
|
16
14
|
const [open, setOpen] = useState(false);
|
|
17
|
-
const [modalOpen, setModalOpen] = useState(false);
|
|
18
15
|
const [align, setAlign] = useState<AlignPropType>(defaultAlign || 'left');
|
|
19
16
|
return (
|
|
20
17
|
<div>
|
|
21
|
-
{!hideMenus && <KolBadge className="block mb-3" _label="Component is a DRAFT - Don't use in production yet." _color="#db5461" />}
|
|
22
18
|
<SampleDescription>
|
|
23
19
|
<p>
|
|
24
20
|
This sample shows the KolDrawer controlled by the property <code>_open</code> instead of methods.
|
|
@@ -34,13 +30,6 @@ export const DrawerControlled: FC = () => {
|
|
|
34
30
|
</div>
|
|
35
31
|
</KolDrawer>
|
|
36
32
|
<KolButton _label="Open drawer" _on={{ onClick: () => setOpen(true) }} />
|
|
37
|
-
<KolDrawer _open={modalOpen} _modal _align={align} _label="I'm a controlled modal drawer" _on={{ onClose: () => setModalOpen(false) }}>
|
|
38
|
-
<div>
|
|
39
|
-
<p>Lorem ipsum dolor sit amet,</p>
|
|
40
|
-
<KolButton _label="Close drawer" _on={{ onClick: () => setModalOpen(false) }} />
|
|
41
|
-
</div>
|
|
42
|
-
</KolDrawer>
|
|
43
|
-
<KolButton _label="Open drawer as modal" _on={{ onClick: () => setModalOpen(true) }} />
|
|
44
33
|
</div>
|
|
45
34
|
</div>
|
|
46
35
|
);
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
import { DrawerBasic } from './basic';
|
|
3
3
|
import { DrawerControlled } from './controlled';
|
|
4
|
+
import { DrawerScrolled } from './scrolled';
|
|
4
5
|
|
|
5
6
|
export const DRAWER_ROUTES: Routes = {
|
|
6
7
|
drawer: {
|
|
7
8
|
basic: DrawerBasic,
|
|
8
9
|
controlled: DrawerControlled,
|
|
10
|
+
scrolled: DrawerScrolled,
|
|
9
11
|
},
|
|
10
12
|
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
// DrawerScrolled Class
|
|
2
|
+
|
|
3
|
+
import type { AlignPropType } from '@public-ui/components';
|
|
4
|
+
import { KolButton, KolDrawer, KolInputCheckbox } from '@public-ui/react-v19';
|
|
5
|
+
import type { FC } from 'react';
|
|
6
|
+
import React, { useRef, useState } from 'react';
|
|
7
|
+
import { SampleDescription } from '../SampleDescription';
|
|
8
|
+
import { DrawerRadioAlign } from './partials/align';
|
|
9
|
+
|
|
10
|
+
export const DrawerScrolled: FC = () => {
|
|
11
|
+
const drawerElement = useRef<HTMLKolDrawerElement>(null);
|
|
12
|
+
const [align, setAlign] = useState<AlignPropType>('bottom');
|
|
13
|
+
const [useOverflowHandling, setUseOverflowHandling] = useState(true);
|
|
14
|
+
|
|
15
|
+
return (
|
|
16
|
+
<>
|
|
17
|
+
<SampleDescription>
|
|
18
|
+
<p>
|
|
19
|
+
This sample demonstrates how KolDrawer handles content that exceeds the drawer dimensions and shows the correct way to handle overflow. Use the
|
|
20
|
+
"Enable Overflow Handling" toggle to see the difference between problematic behavior (content exceeding drawer bounds) and the proper solution
|
|
21
|
+
(overflow handling within the slot content).
|
|
22
|
+
</p>
|
|
23
|
+
</SampleDescription>
|
|
24
|
+
|
|
25
|
+
<div className="flex flex-col gap-4 mb-4">
|
|
26
|
+
<DrawerRadioAlign value={align} onChange={(_, value) => setAlign(value as AlignPropType)} />
|
|
27
|
+
<KolInputCheckbox
|
|
28
|
+
_label="Enable Overflow Handling (Recommended)"
|
|
29
|
+
_checked={useOverflowHandling}
|
|
30
|
+
_on={{ onChange: (_, value) => setUseOverflowHandling(!!value) }}
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
<div className="flex flex-wrap gap-4">
|
|
34
|
+
<KolDrawer ref={drawerElement} _label="Scrollable Drawer" _align={align}>
|
|
35
|
+
{useOverflowHandling ? (
|
|
36
|
+
// ✅ Correct approach: Outer container with fixed dimensions and overflow handling
|
|
37
|
+
<div
|
|
38
|
+
style={{
|
|
39
|
+
width: align === 'left' || align === 'right' ? '90vw' : undefined,
|
|
40
|
+
height: align === 'top' || align === 'bottom' ? '90vh' : undefined,
|
|
41
|
+
overflow: 'auto',
|
|
42
|
+
padding: '0',
|
|
43
|
+
border: '1px solid #999',
|
|
44
|
+
}}
|
|
45
|
+
>
|
|
46
|
+
<div
|
|
47
|
+
style={{
|
|
48
|
+
width: align === 'left' || align === 'right' ? '150vw' : undefined,
|
|
49
|
+
height: align === 'top' || align === 'bottom' ? '150vh' : undefined,
|
|
50
|
+
background:
|
|
51
|
+
'linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)',
|
|
52
|
+
backgroundSize: '20px 20px',
|
|
53
|
+
backgroundPosition: '0 0, 0 10px, 10px -10px, -10px 0px',
|
|
54
|
+
border: '2px dashed #ccc',
|
|
55
|
+
padding: '20px',
|
|
56
|
+
display: 'flex',
|
|
57
|
+
flexDirection: 'column',
|
|
58
|
+
gap: '20px',
|
|
59
|
+
}}
|
|
60
|
+
>
|
|
61
|
+
<p>✅ Content with proper overflow handling - scrollable within drawer bounds</p>
|
|
62
|
+
<div>
|
|
63
|
+
<h3>Large Content Area (Scrollable)</h3>
|
|
64
|
+
<p>
|
|
65
|
+
Container: {align === 'left' || align === 'right' ? '400px wide' : '90vw wide'} ×{' '}
|
|
66
|
+
{align === 'top' || align === 'bottom' ? '90vh high' : '400px high'}
|
|
67
|
+
</p>
|
|
68
|
+
<p>
|
|
69
|
+
Content: {align === 'left' || align === 'right' ? '150vw wide' : '400px wide'} ×{' '}
|
|
70
|
+
{align === 'top' || align === 'bottom' ? '150vh high' : '400px high'}
|
|
71
|
+
</p>
|
|
72
|
+
<p>
|
|
73
|
+
<strong>Overflow Handling:</strong> Enabled - Container has fixed size with overflow: auto
|
|
74
|
+
</p>
|
|
75
|
+
<p>
|
|
76
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
|
|
77
|
+
diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
|
|
78
|
+
dolor sit amet.
|
|
79
|
+
</p>
|
|
80
|
+
<p>
|
|
81
|
+
With overflow handling enabled, this content scrolls properly within the drawer container. You can scroll horizontally/vertically to see all
|
|
82
|
+
content.
|
|
83
|
+
</p>
|
|
84
|
+
<div style={{ marginTop: 'auto', paddingTop: '40px' }}>
|
|
85
|
+
<KolButton _label="Close drawer" _on={{ onClick: () => drawerElement.current?.close() }} />
|
|
86
|
+
</div>
|
|
87
|
+
</div>
|
|
88
|
+
</div>
|
|
89
|
+
</div>
|
|
90
|
+
) : (
|
|
91
|
+
// ❌ Problematic approach: Content directly exceeds drawer bounds
|
|
92
|
+
<div
|
|
93
|
+
style={{
|
|
94
|
+
width: align === 'left' || align === 'right' ? '150vw' : '400px',
|
|
95
|
+
height: align === 'top' || align === 'bottom' ? '150vh' : '400px',
|
|
96
|
+
background:
|
|
97
|
+
'linear-gradient(45deg, #f0f0f0 25%, transparent 25%), linear-gradient(-45deg, #f0f0f0 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #f0f0f0 75%), linear-gradient(-45deg, transparent 75%, #f0f0f0 75%)',
|
|
98
|
+
backgroundSize: '20px 20px',
|
|
99
|
+
backgroundPosition: '0 0, 0 10px, 10px -10px, -10px 0px',
|
|
100
|
+
border: '2px dashed #ccc',
|
|
101
|
+
padding: '20px',
|
|
102
|
+
display: 'flex',
|
|
103
|
+
flexDirection: 'column',
|
|
104
|
+
gap: '20px',
|
|
105
|
+
}}
|
|
106
|
+
>
|
|
107
|
+
<p>❌ Content exceeding drawer bounds - problematic behavior</p>
|
|
108
|
+
<div>
|
|
109
|
+
<h3>Large Content Area</h3>
|
|
110
|
+
<p>Width: {align === 'left' || align === 'right' ? '150vw (exceeds drawer width)' : '400px'}</p>
|
|
111
|
+
<p>Height: {align === 'top' || align === 'bottom' ? '150vh (exceeds drawer height)' : '400px'}</p>
|
|
112
|
+
<p>
|
|
113
|
+
<strong>Overflow Handling:</strong> Disabled - Content extends beyond drawer boundaries
|
|
114
|
+
</p>
|
|
115
|
+
<p>
|
|
116
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
|
|
117
|
+
diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
|
|
118
|
+
dolor sit amet.
|
|
119
|
+
</p>
|
|
120
|
+
<p>Without overflow handling, this content may extend beyond the drawer boundaries, causing layout issues.</p>
|
|
121
|
+
<div style={{ marginTop: 'auto', paddingTop: '40px' }}>
|
|
122
|
+
<KolButton _label="Close drawer" _on={{ onClick: () => drawerElement.current?.close() }} />
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
</div>
|
|
126
|
+
)}
|
|
127
|
+
</KolDrawer>
|
|
128
|
+
|
|
129
|
+
<KolButton _label="Open scrollable drawer" _on={{ onClick: () => drawerElement.current?.open() }} />
|
|
130
|
+
</div>
|
|
131
|
+
</>
|
|
132
|
+
);
|
|
133
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolForm, KolInputText } from '@public-ui/react';
|
|
4
|
+
import { KolForm, KolInputText } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
export const FormBasic: FC = () => (
|
|
7
7
|
<>
|
|
@@ -1,28 +1,70 @@
|
|
|
1
|
+
import { KolButton, KolForm, KolInputText } from '@public-ui/react-v19';
|
|
1
2
|
import type { FC } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
|
+
import React, { useEffect, useRef } from 'react';
|
|
3
4
|
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolForm, KolInputText } from '@public-ui/react';
|
|
5
5
|
|
|
6
|
-
export const FormErrorList: FC = () =>
|
|
7
|
-
|
|
8
|
-
<SampleDescription>
|
|
9
|
-
<p>This sample shows a form with error messages.</p>
|
|
10
|
-
</SampleDescription>
|
|
6
|
+
export const FormErrorList: FC = () => {
|
|
7
|
+
const formRef = useRef<HTMLKolFormElement | null>(null);
|
|
11
8
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
9
|
+
const scrollTo = () => {
|
|
10
|
+
formRef.current?.focusErrorList();
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Simulate the form submission
|
|
15
|
+
*/
|
|
16
|
+
useEffect(() => {
|
|
17
|
+
formRef.current?.focusErrorList();
|
|
18
|
+
}, []);
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<>
|
|
22
|
+
<SampleDescription>
|
|
23
|
+
<p>This sample shows a form with error messages.</p>
|
|
24
|
+
</SampleDescription>
|
|
25
|
+
|
|
26
|
+
<KolForm
|
|
27
|
+
className="w-full"
|
|
28
|
+
ref={formRef}
|
|
29
|
+
_on={{
|
|
30
|
+
onSubmit: scrollTo,
|
|
31
|
+
}}
|
|
32
|
+
_errorList={[
|
|
33
|
+
{
|
|
34
|
+
message: 'Error in Input 2',
|
|
35
|
+
selector: '#input2',
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
message: 'Error in Input 3',
|
|
39
|
+
selector: () => alert('Error in Input 3'),
|
|
40
|
+
},
|
|
41
|
+
]}
|
|
42
|
+
>
|
|
43
|
+
<div className="grid gap-2">
|
|
44
|
+
<KolInputText id="input1" _label="Input 1" />
|
|
45
|
+
<KolInputText
|
|
46
|
+
id="input2"
|
|
47
|
+
_label="Input 2"
|
|
48
|
+
_touched
|
|
49
|
+
_msg={{
|
|
50
|
+
_description: 'Input error',
|
|
51
|
+
_type: 'error',
|
|
52
|
+
}}
|
|
53
|
+
/>
|
|
54
|
+
<KolInputText
|
|
55
|
+
id="input3"
|
|
56
|
+
_label="Input 3"
|
|
57
|
+
_touched
|
|
58
|
+
_msg={{
|
|
59
|
+
_description: 'Input error',
|
|
60
|
+
_type: 'error',
|
|
61
|
+
}}
|
|
62
|
+
/>
|
|
63
|
+
<div>
|
|
64
|
+
<KolButton _label="ScrollTo" _type="submit" />
|
|
65
|
+
</div>
|
|
66
|
+
</div>
|
|
67
|
+
</KolForm>
|
|
68
|
+
</>
|
|
69
|
+
);
|
|
70
|
+
};
|
|
@@ -29,11 +29,11 @@ import {
|
|
|
29
29
|
KolNav,
|
|
30
30
|
KolProgress,
|
|
31
31
|
KolSelect,
|
|
32
|
-
|
|
32
|
+
KolTableStateful,
|
|
33
33
|
KolTabs,
|
|
34
34
|
KolTextarea,
|
|
35
35
|
KolVersion,
|
|
36
|
-
} from '@public-ui/react';
|
|
36
|
+
} from '@public-ui/react-v19';
|
|
37
37
|
|
|
38
38
|
import { getTheme, getThemeName } from '../../shares/store';
|
|
39
39
|
import { getRoot } from '../../shares/react-roots';
|
|
@@ -53,11 +53,6 @@ function KolButtonWrapper({ _on, ...other }: ButtonProps & { style: Record<strin
|
|
|
53
53
|
const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
54
54
|
horizontal: [
|
|
55
55
|
[
|
|
56
|
-
{
|
|
57
|
-
label: '',
|
|
58
|
-
rowSpan: 2,
|
|
59
|
-
asTd: true,
|
|
60
|
-
},
|
|
61
56
|
{
|
|
62
57
|
label: 'Workdays',
|
|
63
58
|
colSpan: 5,
|
|
@@ -76,18 +71,16 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
76
71
|
renderElement.setAttribute('role', 'presentation');
|
|
77
72
|
el.innerHTML = '';
|
|
78
73
|
el.appendChild(renderElement);
|
|
79
|
-
getRoot(renderElement).render(<KolButtonWrapper _label={cell.label} style={{ fontSize: '75%' }}
|
|
74
|
+
getRoot(renderElement).render(<KolButtonWrapper _label={cell.label} style={{ fontSize: '75%' }} />);
|
|
80
75
|
},
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
return 0;
|
|
90
|
-
});
|
|
76
|
+
compareFn: (first, second) => {
|
|
77
|
+
if ((first as TableDataType).monday < (second as TableDataType).monday) {
|
|
78
|
+
return -1;
|
|
79
|
+
}
|
|
80
|
+
if ((first as TableDataType).monday > (second as TableDataType).monday) {
|
|
81
|
+
return 1;
|
|
82
|
+
}
|
|
83
|
+
return 0;
|
|
91
84
|
},
|
|
92
85
|
sortDirection: 'ASC',
|
|
93
86
|
textAlign: 'right',
|
|
@@ -102,16 +95,14 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
102
95
|
el.appendChild(renderElement);
|
|
103
96
|
getRoot(renderElement).render(<KolBadge _color="#060" _label={cell.label}></KolBadge>);
|
|
104
97
|
},
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
return 0;
|
|
114
|
-
});
|
|
98
|
+
compareFn: (first, second) => {
|
|
99
|
+
if ((first as TableDataType).tuesday < (second as TableDataType).tuesday) {
|
|
100
|
+
return -1;
|
|
101
|
+
}
|
|
102
|
+
if ((first as TableDataType).tuesday > (second as TableDataType).tuesday) {
|
|
103
|
+
return 1;
|
|
104
|
+
}
|
|
105
|
+
return 0;
|
|
115
106
|
},
|
|
116
107
|
sortDirection: 'DESC',
|
|
117
108
|
},
|
|
@@ -199,7 +190,7 @@ export const HandoutBasic: FC = () => {
|
|
|
199
190
|
|
|
200
191
|
return (
|
|
201
192
|
<div className="grid gap-4">
|
|
202
|
-
<div className="grid gap-4 grid-cols-[auto_1fr_1fr] items-center">
|
|
193
|
+
<div className="grid gap-4 md:grid-cols-[auto_1fr_1fr] items-center">
|
|
203
194
|
<KolKolibri className="block w-75px" _labeled={false}></KolKolibri>
|
|
204
195
|
<KolHeading _label="" _level={1}>
|
|
205
196
|
<span slot="expert">
|
|
@@ -257,10 +248,8 @@ export const HandoutBasic: FC = () => {
|
|
|
257
248
|
<p>
|
|
258
249
|
I am <KolAbbr>e.g.</KolAbbr> an abbreviation without label.
|
|
259
250
|
</p>
|
|
260
|
-
<
|
|
261
|
-
|
|
262
|
-
<KolProgress _variant="cycle" _max={100} _value={66} _label="Progress" />
|
|
263
|
-
</div>
|
|
251
|
+
<KolProgress _variant="bar" _max={100} _value={33} _label="Progress" />
|
|
252
|
+
<KolProgress _variant="cycle" _max={100} _value={66} _label="Progress" />
|
|
264
253
|
</div>
|
|
265
254
|
</KolCard>
|
|
266
255
|
<KolCard className="col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3" _label="Button, LinkButton and Tab" _level={2}>
|
|
@@ -435,7 +424,6 @@ export const HandoutBasic: FC = () => {
|
|
|
435
424
|
/>
|
|
436
425
|
</div>
|
|
437
426
|
{/* <KolSkipNav></KolSkipNav> */}
|
|
438
|
-
{/* <KolLinkGroup _label=""></KolLinkGroup> */}
|
|
439
427
|
<div>
|
|
440
428
|
<KolBreadcrumb
|
|
441
429
|
_label="Breadcrumb aus Text-Links"
|
|
@@ -453,7 +441,7 @@ export const HandoutBasic: FC = () => {
|
|
|
453
441
|
</KolCard>
|
|
454
442
|
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Input" _level={2}>
|
|
455
443
|
<KolForm slot="">
|
|
456
|
-
<div className="grid gap-4 grid-cols-3 p-2">
|
|
444
|
+
<div className="grid gap-4 sm:grid-cols-2 md:grid-cols-3 p-2">
|
|
457
445
|
<KolInputColor _label={`Color`} />
|
|
458
446
|
<KolInputFile _label={`Upload file`} />
|
|
459
447
|
<KolInputNumber _label={`Number input`} />
|
|
@@ -472,7 +460,9 @@ export const HandoutBasic: FC = () => {
|
|
|
472
460
|
<div className="grid gap-4">
|
|
473
461
|
<KolInputRadio _orientation="horizontal" _options="[{'label':'Mr.','value':0},{'label':'Mrs.','value':1}]" _value="0" _label={`Salutation`} />
|
|
474
462
|
<KolInputCheckbox _label="">
|
|
475
|
-
|
|
463
|
+
<span slot="expert">
|
|
464
|
+
I accept the <KolAbbr _label="General Terms and Conditions">AGB</KolAbbr>.
|
|
465
|
+
</span>
|
|
476
466
|
</KolInputCheckbox>
|
|
477
467
|
</div>
|
|
478
468
|
<KolTextarea _rows={4} _label={`Textarea`} />
|
|
@@ -481,7 +471,7 @@ export const HandoutBasic: FC = () => {
|
|
|
481
471
|
</KolCard>
|
|
482
472
|
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Table with Pagination" _level={2}>
|
|
483
473
|
<div slot="" className="grid gap-2 p-2">
|
|
484
|
-
<
|
|
474
|
+
<KolTableStateful _label="Table" _minWidth="auto" _headers={TABLE_HEADERS} _data={TABLE_DATA} _pagination></KolTableStateful>
|
|
485
475
|
</div>
|
|
486
476
|
</KolCard>
|
|
487
477
|
</div>
|
|
@@ -2,11 +2,13 @@ import { Routes } from '../../shares/types';
|
|
|
2
2
|
import { HeadingBadged } from './badged';
|
|
3
3
|
import { HeadingBasic } from './basic';
|
|
4
4
|
import { HeadingParagraph } from './paragraph';
|
|
5
|
+
import { HeadingSecondary } from './secondary';
|
|
5
6
|
|
|
6
7
|
export const HEADING_ROUTES: Routes = {
|
|
7
8
|
heading: {
|
|
8
9
|
basic: HeadingBasic,
|
|
9
10
|
badge: HeadingBadged,
|
|
10
11
|
paragraph: HeadingParagraph,
|
|
12
|
+
secondary: HeadingSecondary,
|
|
11
13
|
},
|
|
12
14
|
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolHeading } from '@public-ui/react-v19';
|
|
4
|
+
|
|
5
|
+
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
7
|
+
|
|
8
|
+
export const HeadingSecondary: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
This sample shows KolHeading with the prop <code>_secondaryHeadline</code> in use.
|
|
13
|
+
</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
|
|
16
|
+
<div className="grid gap-4">
|
|
17
|
+
<KolHeading _label="This is a H1 headline" _secondaryHeadline="This is a secondary headline" _level={1} />
|
|
18
|
+
</div>
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { KolIcon } from '@public-ui/react';
|
|
3
|
+
import { KolIcon } from '@public-ui/react-v19';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
6
|
import { SampleDescription } from '../SampleDescription';
|
|
@@ -12,8 +12,9 @@ export const IconBasic: FC = () => (
|
|
|
12
12
|
</SampleDescription>
|
|
13
13
|
|
|
14
14
|
<div className="grid gap-4">
|
|
15
|
-
<KolIcon _label="" _icons="codicon codicon-home" />
|
|
15
|
+
<KolIcon className="block w-[1em] h-[1em]" _label="" _icons="codicon codicon-home" />
|
|
16
16
|
<KolIcon
|
|
17
|
+
className="block w-[1em] h-[1em]"
|
|
17
18
|
style={{
|
|
18
19
|
color: 'red',
|
|
19
20
|
}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { SampleDescription } from '../SampleDescription';
|
|
4
|
-
import { KolImage } from '@public-ui/react';
|
|
4
|
+
import { KolImage } from '@public-ui/react-v19';
|
|
5
5
|
|
|
6
6
|
export const ImageBasic: FC = () => (
|
|
7
7
|
<>
|
|
@@ -9,6 +9,6 @@ export const ImageBasic: FC = () => (
|
|
|
9
9
|
<p>KolImage renders an image. The sample shows an image with alternative text.</p>
|
|
10
10
|
</SampleDescription>
|
|
11
11
|
|
|
12
|
-
<KolImage className="w-
|
|
12
|
+
<KolImage className="w-image" _src="abgrenzung.jpg" _alt="Darstellung des KoliBri-Theming" />
|
|
13
13
|
</>
|
|
14
14
|
);
|
|
@@ -11,6 +11,6 @@ export const InputCheckboxBasic: FC = () => (
|
|
|
11
11
|
<p>KolInputCheckbox renders a checkbox. The sample shows KolInputCheckbox in a form context with all variations and states.</p>
|
|
12
12
|
</SampleDescription>
|
|
13
13
|
|
|
14
|
-
<FormWrap RefComponent={InputCheckboxVariants} />
|
|
14
|
+
<FormWrap RefComponent={InputCheckboxVariants} showButtons={false} />
|
|
15
15
|
</>
|
|
16
16
|
);
|