@public-ui/sample-react 1.7.0-rc.9 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +5 -0
- package/dist/.htaccess +3 -0
- package/dist/1159.js +2 -0
- package/dist/1159.js.LICENSE.txt +3 -0
- package/dist/1474.js +2 -0
- package/dist/1474.js.LICENSE.txt +3 -0
- package/dist/183.js +2 -0
- package/dist/183.js.LICENSE.txt +3 -0
- package/dist/2337.js +2 -0
- package/dist/2337.js.LICENSE.txt +3 -0
- package/dist/2412.js +2 -0
- package/dist/2412.js.LICENSE.txt +3 -0
- package/dist/3153.js +2 -0
- package/dist/3153.js.LICENSE.txt +3 -0
- package/dist/3303.js +2 -0
- package/dist/3303.js.LICENSE.txt +3 -0
- package/dist/3325.js +2 -0
- package/dist/3325.js.LICENSE.txt +3 -0
- package/dist/3429.js +2 -0
- package/dist/3429.js.LICENSE.txt +3 -0
- package/dist/3459.js +2 -0
- package/dist/3459.js.LICENSE.txt +3 -0
- package/dist/3537.js +2 -0
- package/dist/3537.js.LICENSE.txt +3 -0
- package/dist/3932.js +2 -0
- package/dist/3932.js.LICENSE.txt +3 -0
- package/dist/4021.js +2 -0
- package/dist/4021.js.LICENSE.txt +3 -0
- package/dist/4022.js +2 -0
- package/dist/4022.js.LICENSE.txt +3 -0
- package/dist/4195.js +2 -0
- package/dist/4195.js.LICENSE.txt +3 -0
- package/dist/4291.js +2 -0
- package/dist/4291.js.LICENSE.txt +3 -0
- package/dist/4323.js +2 -0
- package/dist/4323.js.LICENSE.txt +3 -0
- package/dist/4355.js +2 -0
- package/dist/4355.js.LICENSE.txt +3 -0
- package/dist/4436.js +2 -0
- package/dist/4436.js.LICENSE.txt +3 -0
- package/dist/4477.js +2 -0
- package/dist/4477.js.LICENSE.txt +3 -0
- package/dist/4564.js +2 -0
- package/dist/4564.js.LICENSE.txt +3 -0
- package/dist/4864.js +2 -0
- package/dist/4864.js.LICENSE.txt +3 -0
- package/dist/4891.js +2 -0
- package/dist/4891.js.LICENSE.txt +3 -0
- package/dist/5183.js +2 -0
- package/dist/5183.js.LICENSE.txt +3 -0
- package/dist/5293.js +2 -0
- package/dist/5293.js.LICENSE.txt +3 -0
- package/dist/5369.js +2 -0
- package/dist/5369.js.LICENSE.txt +3 -0
- package/dist/5390.js +2 -0
- package/dist/5390.js.LICENSE.txt +3 -0
- package/dist/540.js +2 -0
- package/dist/540.js.LICENSE.txt +3 -0
- package/dist/5862.js +2 -0
- package/dist/5862.js.LICENSE.txt +3 -0
- package/dist/5866.js +2 -0
- package/dist/5866.js.LICENSE.txt +3 -0
- package/dist/6012.js +2 -0
- package/dist/6012.js.LICENSE.txt +3 -0
- package/dist/6068.js +2 -0
- package/dist/6068.js.LICENSE.txt +3 -0
- package/dist/6210.js +2 -0
- package/dist/6210.js.LICENSE.txt +3 -0
- package/dist/6320.js +2 -0
- package/dist/6320.js.LICENSE.txt +3 -0
- package/dist/6558.js +2 -0
- package/dist/6558.js.LICENSE.txt +3 -0
- package/dist/6655.js +2 -0
- package/dist/6655.js.LICENSE.txt +3 -0
- package/dist/6813.js +2 -0
- package/dist/6813.js.LICENSE.txt +3 -0
- package/dist/6908.js +2 -0
- package/dist/6908.js.LICENSE.txt +3 -0
- package/dist/7029.js +2 -0
- package/dist/7029.js.LICENSE.txt +3 -0
- package/dist/7255.js +2 -0
- package/dist/7255.js.LICENSE.txt +3 -0
- package/dist/7447.js +2 -0
- package/dist/7447.js.LICENSE.txt +3 -0
- package/dist/7715.js +2 -0
- package/dist/7715.js.LICENSE.txt +3 -0
- package/dist/7722.js +2 -0
- package/dist/7722.js.LICENSE.txt +3 -0
- package/dist/7801.js +2 -0
- package/dist/7801.js.LICENSE.txt +3 -0
- package/dist/7858.js +2 -0
- package/dist/7858.js.LICENSE.txt +3 -0
- package/dist/7955.js +2 -0
- package/dist/7955.js.LICENSE.txt +3 -0
- package/dist/7958.js +2 -0
- package/dist/7958.js.LICENSE.txt +3 -0
- package/dist/7995.js +2 -0
- package/dist/7995.js.LICENSE.txt +3 -0
- package/dist/8061.js +2 -0
- package/dist/8061.js.LICENSE.txt +3 -0
- package/dist/8065.js +2 -0
- package/dist/8065.js.LICENSE.txt +3 -0
- package/dist/8073.js +2 -0
- package/dist/8073.js.LICENSE.txt +3 -0
- package/dist/8099.js +2 -0
- package/dist/8099.js.LICENSE.txt +3 -0
- package/dist/8111.js +2 -0
- package/dist/8111.js.LICENSE.txt +3 -0
- package/dist/8255.js +2 -0
- package/dist/8255.js.LICENSE.txt +3 -0
- package/dist/8291.js +2 -0
- package/dist/8291.js.LICENSE.txt +3 -0
- package/dist/8408.js +2 -0
- package/dist/8408.js.LICENSE.txt +3 -0
- package/dist/8709.js +1 -0
- package/dist/8761.js +2 -0
- package/dist/8761.js.LICENSE.txt +3 -0
- package/dist/9106.js +2 -0
- package/dist/9106.js.LICENSE.txt +3 -0
- package/dist/9230.js +2 -0
- package/dist/9230.js.LICENSE.txt +3 -0
- package/dist/9329.js +2 -0
- package/dist/9329.js.LICENSE.txt +3 -0
- package/dist/9598.js +2 -0
- package/dist/9598.js.LICENSE.txt +3 -0
- package/dist/9734.js +2 -0
- package/dist/9734.js.LICENSE.txt +3 -0
- package/dist/9747.js +2 -0
- package/dist/9747.js.LICENSE.txt +3 -0
- package/dist/9792.js +2 -0
- package/dist/9792.js.LICENSE.txt +3 -0
- package/dist/9895.js +2 -0
- package/dist/9895.js.LICENSE.txt +3 -0
- package/dist/9963.js +2 -0
- package/dist/9963.js.LICENSE.txt +3 -0
- package/dist/9972.js +2 -0
- package/dist/9972.js.LICENSE.txt +3 -0
- package/dist/assets/bundes/LICENSE.md +1 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Black.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Black.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Black.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BlackItalic.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Bold.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Bold.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Bold.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-BoldItalic.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Light.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Light.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Light.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-LightItalic.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Medium.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Medium.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Medium.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-MediumItalic.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Regular.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Regular.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-Regular.woff2 +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.ttf +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.woff +0 -0
- package/dist/assets/bundes/sans/BundesSans-Web-RegularItalic.woff2 +0 -0
- package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.ttf +0 -0
- package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff +0 -0
- package/dist/assets/bundes/sans-cond/BundesSansCond-Web-Regular.woff2 +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Bold.ttf +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Bold.woff +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Bold.woff2 +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.ttf +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-BoldItalic.woff2 +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Italic.ttf +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Italic.woff +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Italic.woff2 +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Regular.ttf +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Regular.woff +0 -0
- package/dist/assets/bundes/serif/BundesSerif-Web-Regular.woff2 +0 -0
- package/dist/assets/bundes/style.css +84 -0
- package/dist/assets/codicons/LICENSE +395 -0
- package/dist/assets/codicons/LICENSE-CODE +21 -0
- package/dist/assets/codicons/codicon.css +582 -0
- package/dist/assets/codicons/codicon.csv +426 -0
- package/dist/assets/codicons/codicon.html +3911 -0
- package/dist/assets/codicons/codicon.svg +1 -0
- package/dist/assets/codicons/codicon.ttf +0 -0
- package/dist/assets/fontawesome-free/LICENSE.txt +165 -0
- package/dist/assets/fontawesome-free/css/all.css +7831 -0
- package/dist/assets/fontawesome-free/css/all.min.css +6 -0
- package/dist/assets/fontawesome-free/css/brands.css +1432 -0
- package/dist/assets/fontawesome-free/css/brands.min.css +6 -0
- package/dist/assets/fontawesome-free/css/fontawesome.css +6338 -0
- package/dist/assets/fontawesome-free/css/fontawesome.min.css +6 -0
- package/dist/assets/fontawesome-free/css/regular.css +19 -0
- package/dist/assets/fontawesome-free/css/regular.min.css +6 -0
- package/dist/assets/fontawesome-free/css/solid.css +19 -0
- package/dist/assets/fontawesome-free/css/solid.min.css +6 -0
- package/dist/assets/fontawesome-free/css/svg-with-js.css +634 -0
- package/dist/assets/fontawesome-free/css/svg-with-js.min.css +6 -0
- package/dist/assets/fontawesome-free/css/v4-font-face.css +26 -0
- package/dist/assets/fontawesome-free/css/v4-font-face.min.css +6 -0
- package/dist/assets/fontawesome-free/css/v4-shims.css +2146 -0
- package/dist/assets/fontawesome-free/css/v4-shims.min.css +6 -0
- package/dist/assets/fontawesome-free/css/v5-font-face.css +22 -0
- package/dist/assets/fontawesome-free/css/v5-font-face.min.css +6 -0
- package/dist/assets/fontawesome-free/webfonts/fa-brands-400.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-brands-400.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-regular-400.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-regular-400.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-solid-900.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-solid-900.woff2 +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.ttf +0 -0
- package/dist/assets/fontawesome-free/webfonts/fa-v4compatibility.woff2 +0 -0
- package/dist/assets/icofont/demo.html +18939 -0
- package/dist/assets/icofont/fonts/icofont.eot +0 -0
- package/dist/assets/icofont/fonts/icofont.svg +2105 -0
- package/dist/assets/icofont/fonts/icofont.ttf +0 -0
- package/dist/assets/icofont/fonts/icofont.woff +0 -0
- package/dist/assets/icofont/fonts/icofont.woff2 +0 -0
- package/dist/assets/icofont/icofont.css +10757 -0
- package/dist/assets/icofont/icofont.min.css +7 -0
- package/dist/assets/kolibri.ico +0 -0
- package/dist/assets/kreon/Kreon-VariableFont_wght.ttf +0 -0
- package/dist/assets/kreon/OFL.txt +93 -0
- package/dist/assets/kreon/README.txt +67 -0
- package/dist/assets/kreon/static/Kreon-Bold.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Light.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Medium.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-Regular.ttf +0 -0
- package/dist/assets/kreon/static/Kreon-SemiBold.ttf +0 -0
- package/dist/assets/kreon/style.css +41 -0
- package/dist/assets/material-icons/LICENSE +202 -0
- package/dist/assets/material-icons/README.md +129 -0
- package/dist/assets/material-icons/_data/versions.json +2124 -0
- package/dist/assets/material-icons/css/_codepoints.scss +2279 -0
- package/dist/assets/material-icons/css/_mixins.scss +13 -0
- package/dist/assets/material-icons/css/_variables.scss +6 -0
- package/dist/assets/material-icons/css/material-icons.css +9208 -0
- package/dist/assets/material-icons/css/material-icons.min.css +1 -0
- package/dist/assets/material-icons/css/material-icons.scss +39 -0
- package/dist/assets/material-icons/iconfont/_mixins.scss +55 -0
- package/dist/assets/material-icons/iconfont/_variables.scss +3 -0
- package/dist/assets/material-icons/iconfont/filled.css +24 -0
- package/dist/assets/material-icons/iconfont/filled.scss +4 -0
- package/dist/assets/material-icons/iconfont/material-icons-outlined.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-outlined.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-round.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-round.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-sharp.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-sharp.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons-two-tone.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/material-icons.css +124 -0
- package/dist/assets/material-icons/iconfont/material-icons.scss +5 -0
- package/dist/assets/material-icons/iconfont/material-icons.woff +0 -0
- package/dist/assets/material-icons/iconfont/material-icons.woff2 +0 -0
- package/dist/assets/material-icons/iconfont/outlined.css +24 -0
- package/dist/assets/material-icons/iconfont/outlined.scss +4 -0
- package/dist/assets/material-icons/iconfont/round.css +24 -0
- package/dist/assets/material-icons/iconfont/round.scss +4 -0
- package/dist/assets/material-icons/iconfont/sharp.css +24 -0
- package/dist/assets/material-icons/iconfont/sharp.scss +4 -0
- package/dist/assets/material-icons/iconfont/two-tone.css +24 -0
- package/dist/assets/material-icons/iconfont/two-tone.scss +4 -0
- package/dist/assets/material-icons/index.d.ts +2128 -0
- package/dist/assets/material-icons/package.json +52 -0
- package/dist/assets/material-symbols/LICENSE +202 -0
- package/dist/assets/material-symbols/README.md +114 -0
- package/dist/assets/material-symbols/_core.scss +47 -0
- package/dist/assets/material-symbols/index.css +74 -0
- package/dist/assets/material-symbols/index.d.ts +2809 -0
- package/dist/assets/material-symbols/index.scss +3 -0
- package/dist/assets/material-symbols/material-symbols-outlined.woff2 +0 -0
- package/dist/assets/material-symbols/material-symbols-rounded.woff2 +0 -0
- package/dist/assets/material-symbols/material-symbols-sharp.woff2 +0 -0
- package/dist/assets/material-symbols/outlined.css +24 -0
- package/dist/assets/material-symbols/outlined.scss +3 -0
- package/dist/assets/material-symbols/package.json +41 -0
- package/dist/assets/material-symbols/rounded.css +24 -0
- package/dist/assets/material-symbols/rounded.scss +3 -0
- package/dist/assets/material-symbols/sharp.css +24 -0
- package/dist/assets/material-symbols/sharp.scss +3 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Black.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-BlackItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Bold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-BoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraBold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraBoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraLight.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ExtraLightItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Italic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Light.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-LightItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Medium.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-MediumItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Regular.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-SemiBold.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-SemiBoldItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-Thin.ttf +0 -0
- package/dist/assets/noto-sans/fonts/NotoSans-ThinItalic.ttf +0 -0
- package/dist/assets/noto-sans/fonts/OFL.txt +93 -0
- package/dist/assets/noto-sans/noto-sans.css +11 -0
- package/dist/assets/roboto/LICENSE.txt +202 -0
- package/dist/assets/roboto/Roboto-Black.ttf +0 -0
- package/dist/assets/roboto/Roboto-BlackItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Bold.ttf +0 -0
- package/dist/assets/roboto/Roboto-BoldItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Italic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Light.ttf +0 -0
- package/dist/assets/roboto/Roboto-LightItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Medium.ttf +0 -0
- package/dist/assets/roboto/Roboto-MediumItalic.ttf +0 -0
- package/dist/assets/roboto/Roboto-Regular.ttf +0 -0
- package/dist/assets/roboto/Roboto-Thin.ttf +0 -0
- package/dist/assets/roboto/Roboto-ThinItalic.ttf +0 -0
- package/dist/assets/roboto/roboto.css +27 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.eot +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.ttf +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.woff +0 -0
- package/dist/assets/tabler-icons/fonts/tabler-icons.woff2 +0 -0
- package/dist/assets/tabler-icons/tabler-icons.css +16056 -0
- package/dist/assets/tabler-icons/tabler-icons.html +36226 -0
- package/dist/assets/tabler-icons/tabler-icons.min.css +4 -0
- package/dist/assets/tabler-icons/tabler-icons.png +0 -0
- package/dist/assets/tabler-icons/tabler-icons.scss +8058 -0
- package/dist/index.html +28 -0
- package/dist/main.css +3 -0
- package/dist/main.js +2374 -0
- package/dist/main.js.LICENSE.txt +57 -0
- package/dist/robots.txt +2 -0
- package/package.json +61 -63
- package/public/index.html +1 -1
- package/src/App.tsx +12 -4
- package/src/components/FocusInput.tsx +20 -0
- package/src/components/FormWrap.tsx +21 -0
- package/src/components/Sidebar.tsx +2 -2
- package/src/components/alert/basic.tsx +6 -0
- package/src/components/alert/card-msg.tsx +0 -1
- package/src/components/alert/html.tsx +3 -3
- package/src/components/badge/button.tsx +1 -1
- package/src/components/breadcrumb/basic.tsx +2 -2
- package/src/components/button/basic.tsx +4 -28
- package/src/components/button/hide-label.tsx +1 -1
- package/src/components/button/icons.tsx +1 -1
- package/src/components/button/partials/cases.tsx +16 -0
- package/src/components/button/partials/variants.tsx +27 -0
- package/src/components/button/width.tsx +1 -1
- package/src/components/button-group/basic.tsx +2 -2
- package/src/components/button-link/basic.tsx +5 -5
- package/src/components/button-link/icons.tsx +5 -5
- package/src/components/button-link/image.tsx +2 -2
- package/src/components/button-link/routes.ts +0 -3
- package/src/components/card/confirm.tsx +1 -1
- package/src/components/card/selection.tsx +4 -4
- package/src/components/handout/basic.tsx +42 -42
- package/src/components/heading/badged.tsx +6 -6
- package/src/components/icon/basic.tsx +2 -2
- package/src/components/image/basic.tsx +5 -0
- package/src/components/image/routes.ts +9 -0
- package/src/components/input-checkbox/basic.tsx +4 -36
- package/src/components/input-checkbox/button.tsx +5 -0
- package/src/components/input-checkbox/partials/cases.tsx +62 -0
- package/src/components/input-checkbox/partials/variants.tsx +19 -0
- package/src/components/input-checkbox/routes.ts +4 -0
- package/src/components/input-checkbox/switch.tsx +5 -0
- package/src/components/input-color/basic.tsx +4 -28
- package/src/components/input-color/partials/cases.tsx +25 -0
- package/src/components/input-color/partials/variants.tsx +19 -0
- package/src/components/input-date/basic.tsx +4 -19
- package/src/components/input-date/partials/cases.tsx +22 -0
- package/src/components/input-date/partials/variants.tsx +19 -0
- package/src/components/input-email/basic.tsx +4 -29
- package/src/components/input-email/partials/cases.tsx +33 -0
- package/src/components/input-email/partials/variants.tsx +19 -0
- package/src/components/input-file/basic.tsx +4 -24
- package/src/components/input-file/partials/cases.tsx +27 -0
- package/src/components/input-file/partials/variants.tsx +19 -0
- package/src/components/input-number/basic.tsx +4 -29
- package/src/components/input-number/partials/cases.tsx +32 -0
- package/src/components/input-number/partials/variants.tsx +19 -0
- package/src/components/input-password/basic.tsx +4 -27
- package/src/components/input-password/partials/cases.tsx +32 -0
- package/src/components/input-password/partials/variants.tsx +19 -0
- package/src/components/input-password/show-password.tsx +3 -2
- package/src/components/input-radio/basic.tsx +4 -45
- package/src/components/input-radio/horizontal.tsx +9 -6
- package/src/components/input-radio/partials/cases.tsx +56 -0
- package/src/components/input-radio/partials/variants.tsx +19 -0
- package/src/components/input-radio/select.tsx +1 -1
- package/src/components/input-range/basic.tsx +4 -28
- package/src/components/input-range/partials/cases.tsx +31 -0
- package/src/components/input-range/partials/variants.tsx +19 -0
- package/src/components/input-text/basic.tsx +4 -71
- package/src/components/input-text/blur.tsx +2 -4
- package/src/components/input-text/focus.tsx +8 -6
- package/src/components/input-text/partials/cases.tsx +47 -0
- package/src/components/input-text/partials/variants.tsx +19 -0
- package/src/components/input-text/routes.ts +0 -3
- package/src/components/kolibri/animated.tsx +4 -0
- package/src/components/kolibri/basic.tsx +4 -0
- package/src/components/kolibri/no-label.tsx +4 -0
- package/src/components/kolibri/routes.ts +13 -0
- package/src/components/link/icons.tsx +5 -5
- package/src/components/link/image.tsx +1 -2
- package/src/components/link/target.tsx +5 -6
- package/src/components/link-group/basic.tsx +9 -0
- package/src/components/link-group/horizontal.tsx +9 -0
- package/src/components/link-group/routes.ts +6 -1
- package/src/components/logo/basic.tsx +5 -0
- package/src/components/logo/routes.ts +9 -0
- package/src/components/modal/basic.tsx +37 -0
- package/src/components/modal/routes.ts +9 -0
- package/src/components/nav/active.tsx +2 -2
- package/src/components/nav/basic.tsx +2 -2
- package/src/components/pagination/basic.tsx +4 -3
- package/src/components/popover/basic.tsx +5 -5
- package/src/components/quote/basic.tsx +6 -0
- package/src/components/quote/block.tsx +17 -0
- package/src/components/quote/routes.ts +11 -0
- package/src/components/select/basic.tsx +4 -50
- package/src/components/select/partials/cases.tsx +67 -0
- package/src/components/select/partials/variants.tsx +19 -0
- package/src/components/split-button/basic.tsx +7 -35
- package/src/components/table/badge-size.tsx +2 -2
- package/src/components/table/render-cell.tsx +3 -3
- package/src/components/table/routes.ts +4 -2
- package/src/components/table/sort-date.tsx +1 -1
- package/src/components/table/with-pagination.tsx +22 -0
- package/src/components/tabs/basic.tsx +30 -0
- package/src/components/tabs/icons-only.tsx +34 -0
- package/src/components/tabs/routes.ts +11 -0
- package/src/components/textarea/adjust-height.tsx +2 -2
- package/src/components/textarea/basic.tsx +4 -10
- package/src/components/textarea/counter.tsx +6 -0
- package/src/components/textarea/disabled.tsx +1 -1
- package/src/components/textarea/partials/cases.tsx +14 -0
- package/src/components/textarea/partials/variants.tsx +19 -0
- package/src/components/textarea/placeholder.tsx +1 -1
- package/src/components/textarea/readonly.tsx +1 -1
- package/src/components/textarea/resize.tsx +4 -4
- package/src/components/textarea/routes.ts +2 -0
- package/src/components/textarea/rows.tsx +1 -1
- package/src/components/toast/basic.tsx +2 -2
- package/src/components/types.tsx +42 -0
- package/src/shares/routes.ts +15 -3
- package/src/style.scss +10 -5
- package/tsconfig.json +2 -3
- package/src/components/button-link/target.tsx +0 -16
- package/src/components/input-text/hidden-label.tsx +0 -66
- package/test-build.sh +0 -2
|
@@ -785,56 +785,56 @@ export const HandoutBasic: FC = () => (
|
|
|
785
785
|
<KolTabs _ariaLabel="" _selected={0} _tabs={[{ _label: 'Button' }, { _label: 'LinkButton' }, { _label: 'Disabled Tab', _disabled: true }]}>
|
|
786
786
|
<div className="grid gap-2 py-2">
|
|
787
787
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
788
|
-
<KolButton
|
|
789
|
-
<KolButton _disabled
|
|
790
|
-
<KolButton _hideLabel
|
|
788
|
+
<KolButton _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
|
|
789
|
+
<KolButton _disabled _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolButton>
|
|
790
|
+
<KolButton _hideLabel _icons="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolButton>
|
|
791
791
|
</div>
|
|
792
792
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
793
|
-
<KolButton
|
|
794
|
-
<KolButton _disabled
|
|
795
|
-
<KolButton _hideLabel
|
|
793
|
+
<KolButton _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
|
|
794
|
+
<KolButton _disabled _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolButton>
|
|
795
|
+
<KolButton _hideLabel _icons="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolButton>
|
|
796
796
|
</div>
|
|
797
797
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
798
|
-
<KolButton
|
|
799
|
-
<KolButton _disabled
|
|
800
|
-
<KolButton _hideLabel
|
|
798
|
+
<KolButton _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
|
|
799
|
+
<KolButton _disabled _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolButton>
|
|
800
|
+
<KolButton _hideLabel _icons="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolButton>
|
|
801
801
|
</div>
|
|
802
802
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
803
|
-
<KolButton
|
|
804
|
-
<KolButton _disabled
|
|
805
|
-
<KolButton _hideLabel
|
|
803
|
+
<KolButton _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
|
|
804
|
+
<KolButton _disabled _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolButton>
|
|
805
|
+
<KolButton _hideLabel _icons="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolButton>
|
|
806
806
|
</div>
|
|
807
807
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
808
808
|
<KolButton _label="ghost" _variant="ghost"></KolButton>
|
|
809
809
|
<KolButton _disabled _label="ghost" _variant="ghost"></KolButton>
|
|
810
|
-
<KolButton
|
|
810
|
+
<KolButton _icons="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolButton>
|
|
811
811
|
</div>
|
|
812
812
|
</div>
|
|
813
813
|
<div className="grid gap-2 py-2">
|
|
814
814
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
815
|
-
<KolLinkButton _href="#"
|
|
816
|
-
<KolLinkButton _href="#" _disabled
|
|
817
|
-
<KolLinkButton _href="#" _hideLabel
|
|
815
|
+
<KolLinkButton _href="#" _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
|
|
816
|
+
<KolLinkButton _href="#" _disabled _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
|
|
817
|
+
<KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolLinkButton>
|
|
818
818
|
</div>
|
|
819
819
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
820
|
-
<KolLinkButton _href="#"
|
|
821
|
-
<KolLinkButton _href="#" _disabled
|
|
822
|
-
<KolLinkButton _href="#" _hideLabel
|
|
820
|
+
<KolLinkButton _href="#" _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
|
|
821
|
+
<KolLinkButton _href="#" _disabled _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
|
|
822
|
+
<KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolLinkButton>
|
|
823
823
|
</div>
|
|
824
824
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
825
|
-
<KolLinkButton _href="#"
|
|
826
|
-
<KolLinkButton _href="#" _disabled
|
|
827
|
-
<KolLinkButton _href="#" _hideLabel
|
|
825
|
+
<KolLinkButton _href="#" _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
|
|
826
|
+
<KolLinkButton _href="#" _disabled _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
|
|
827
|
+
<KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolLinkButton>
|
|
828
828
|
</div>
|
|
829
829
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
830
|
-
<KolLinkButton _href="#"
|
|
831
|
-
<KolLinkButton _href="#" _disabled
|
|
832
|
-
<KolLinkButton _href="#" _hideLabel
|
|
830
|
+
<KolLinkButton _href="#" _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
|
|
831
|
+
<KolLinkButton _href="#" _disabled _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
|
|
832
|
+
<KolLinkButton _href="#" _hideLabel _icons="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolLinkButton>
|
|
833
833
|
</div>
|
|
834
834
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
835
835
|
<KolLinkButton _href="#" _label="ghost" _variant="ghost"></KolLinkButton>
|
|
836
836
|
<KolLinkButton _href="#" _disabled _label="ghost" _variant="ghost"></KolLinkButton>
|
|
837
|
-
<KolLinkButton _href="#"
|
|
837
|
+
<KolLinkButton _href="#" _icons="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolLinkButton>
|
|
838
838
|
</div>
|
|
839
839
|
</div>
|
|
840
840
|
</KolTabs>
|
|
@@ -845,8 +845,8 @@ export const HandoutBasic: FC = () => (
|
|
|
845
845
|
<KolAccordion _heading="Links" _level={3} _open>
|
|
846
846
|
<div className="grid gap-2" slot="content">
|
|
847
847
|
<KolLink _href="#" _label="Linktext"></KolLink>
|
|
848
|
-
<KolLink _href="#"
|
|
849
|
-
<KolLink _href="#"
|
|
848
|
+
<KolLink _href="#" _icons="codicon codicon-home" _label="Linktext mit Icon"></KolLink>
|
|
849
|
+
<KolLink _href="#" _icons="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolLink>
|
|
850
850
|
<KolLink _href="/" _label="Besuchter Link"></KolLink>
|
|
851
851
|
<p>
|
|
852
852
|
Ich bin ein <KolLink _href="#" _label="externer Link" _target="w3c"></KolLink> im Fließtext.
|
|
@@ -859,8 +859,8 @@ export const HandoutBasic: FC = () => (
|
|
|
859
859
|
<KolAccordion _heading="ButtonLinks" _level={3}>
|
|
860
860
|
<div className="grid gap-2" slot="content">
|
|
861
861
|
<KolButtonLink _label="Linktext"></KolButtonLink>
|
|
862
|
-
<KolButtonLink
|
|
863
|
-
<KolButtonLink
|
|
862
|
+
<KolButtonLink _icons="codicon codicon-home" _label="Linktext mit Icon"></KolButtonLink>
|
|
863
|
+
<KolButtonLink _icons="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolButtonLink>
|
|
864
864
|
<p>
|
|
865
865
|
Ich bin ein <KolButtonLink _label="Link"></KolButtonLink> im Fließtext.
|
|
866
866
|
</p>
|
|
@@ -868,7 +868,7 @@ export const HandoutBasic: FC = () => (
|
|
|
868
868
|
<KolLogo slot="expert" class="inline-flex w-50" _org={Bundesanstalt['Informationstechnikzentrum Bund']} />
|
|
869
869
|
</KolButtonLink>
|
|
870
870
|
<KolButtonLink
|
|
871
|
-
|
|
871
|
+
_icons={{
|
|
872
872
|
left: 'codicon codicon-arrow-left',
|
|
873
873
|
right: 'codicon codicon-arrow-right',
|
|
874
874
|
top: 'codicon codicon-arrow-up',
|
|
@@ -905,48 +905,48 @@ export const HandoutBasic: FC = () => (
|
|
|
905
905
|
_links={[
|
|
906
906
|
{
|
|
907
907
|
_label: 'Homepage',
|
|
908
|
-
|
|
908
|
+
_icons: 'codicon codicon-home',
|
|
909
909
|
_href: '#/',
|
|
910
910
|
},
|
|
911
911
|
{
|
|
912
912
|
_label: '2 Navigation point',
|
|
913
|
-
|
|
913
|
+
_icons: 'codicon codicon-home',
|
|
914
914
|
_href: '#/untermenu',
|
|
915
915
|
},
|
|
916
916
|
{
|
|
917
917
|
_active: true,
|
|
918
918
|
_label: '3 Navigation point',
|
|
919
919
|
_href: '#abc',
|
|
920
|
-
|
|
920
|
+
_icons: 'codicon codicon-home',
|
|
921
921
|
_children: [
|
|
922
922
|
{
|
|
923
923
|
_label: '3.1 Navigation point',
|
|
924
|
-
|
|
924
|
+
_icons: 'codicon codicon-home',
|
|
925
925
|
_href: '#/',
|
|
926
926
|
},
|
|
927
927
|
{
|
|
928
928
|
_label: '3.2 External navigation point',
|
|
929
|
-
|
|
929
|
+
_icons: 'codicon codicon-home',
|
|
930
930
|
_href: '#abc',
|
|
931
931
|
_target: '_blank',
|
|
932
932
|
},
|
|
933
933
|
{
|
|
934
934
|
_label: '3.3 Navigation point',
|
|
935
935
|
_href: '#abc',
|
|
936
|
-
|
|
936
|
+
_icons: 'codicon codicon-home',
|
|
937
937
|
_children: [
|
|
938
938
|
{
|
|
939
939
|
_active: true,
|
|
940
940
|
_label: '3.3.1 Navigation point (active)',
|
|
941
|
-
|
|
941
|
+
_icons: 'codicon codicon-home',
|
|
942
942
|
_href: '#abc',
|
|
943
943
|
},
|
|
944
|
-
{ _label: '3.3.2 Navigation point',
|
|
944
|
+
{ _label: '3.3.2 Navigation point', _icons: 'codicon codicon-home', _href: '#abc' },
|
|
945
945
|
],
|
|
946
946
|
},
|
|
947
947
|
],
|
|
948
948
|
},
|
|
949
|
-
{ _label: '3 Navigation point',
|
|
949
|
+
{ _label: '3 Navigation point', _icons: 'codicon codicon-home', _href: '#abc' },
|
|
950
950
|
]}
|
|
951
951
|
_hasCompactButton
|
|
952
952
|
/>
|
|
@@ -975,7 +975,7 @@ export const HandoutBasic: FC = () => (
|
|
|
975
975
|
<KolInputFile>Datei hochladen</KolInputFile>
|
|
976
976
|
<KolInputNumber>Zahleneingabe</KolInputNumber>
|
|
977
977
|
<KolInputDate _type="date">Datum</KolInputDate>
|
|
978
|
-
<KolInputEmail
|
|
978
|
+
<KolInputEmail _icons="{'left': 'codicon codicon-home'}" _error="Test einer Fehlermeldung" _touched>
|
|
979
979
|
E-Mail-Adresse
|
|
980
980
|
</KolInputEmail>
|
|
981
981
|
<KolInputText _hint="Ich bin ein Hinweis.">Vorname</KolInputText>
|
|
@@ -1005,7 +1005,7 @@ export const HandoutBasic: FC = () => (
|
|
|
1005
1005
|
</div>
|
|
1006
1006
|
</KolCard>
|
|
1007
1007
|
</div>
|
|
1008
|
-
<KolVersion _version=
|
|
1008
|
+
<KolVersion _version="5.0.2-test.2"></KolVersion>
|
|
1009
1009
|
{/* <KolImage _src="assets/images/abgrenzung.jpg" _alt="KoliBri Darstellung"></KolImage> */}
|
|
1010
1010
|
{/* <KolIndentedText></KolIndentedText> */}
|
|
1011
1011
|
{/* <KolQuote></KolQuote> */}
|
|
@@ -6,22 +6,22 @@ import { FC } from 'react';
|
|
|
6
6
|
export const HeadingBadged: FC = () => (
|
|
7
7
|
<div className="grid gap-4">
|
|
8
8
|
<KolHeading _label="" _level={1}>
|
|
9
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
9
|
+
Eine Überschrift mit einem <KolBadge _color="#f00" _label="Label"></KolBadge>
|
|
10
10
|
</KolHeading>
|
|
11
11
|
<KolHeading _label="" _level={2}>
|
|
12
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
12
|
+
Eine Überschrift mit einem <KolBadge _color="#0f0" _label="Label"></KolBadge>
|
|
13
13
|
</KolHeading>
|
|
14
14
|
<KolHeading _label="" _level={3}>
|
|
15
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
15
|
+
Eine Überschrift mit einem <KolBadge _color="#00f" _label="Label"></KolBadge>
|
|
16
16
|
</KolHeading>
|
|
17
17
|
<KolHeading _label="" _level={4}>
|
|
18
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
18
|
+
Eine Überschrift mit einem <KolBadge _color="#800080" _label="Label"></KolBadge>
|
|
19
19
|
</KolHeading>
|
|
20
20
|
<KolHeading _label="" _level={5}>
|
|
21
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
21
|
+
Eine Überschrift mit einem <KolBadge _color="#ff0" _label="Label"></KolBadge>
|
|
22
22
|
</KolHeading>
|
|
23
23
|
<KolHeading _label="" _level={6}>
|
|
24
|
-
Eine Überschrift mit einem <KolBadge _color="
|
|
24
|
+
Eine Überschrift mit einem <KolBadge _color="#ffc0cb" _label="Label"></KolBadge>
|
|
25
25
|
</KolHeading>
|
|
26
26
|
</div>
|
|
27
27
|
);
|
|
@@ -5,13 +5,13 @@ import { FC } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export const IconBasic: FC = () => (
|
|
7
7
|
<div className="grid gap-4">
|
|
8
|
-
<KolIcon _ariaLabel=""
|
|
8
|
+
<KolIcon _ariaLabel="" _icons="codicon codicon-home" />
|
|
9
9
|
<KolIcon
|
|
10
10
|
style={{
|
|
11
11
|
color: 'red',
|
|
12
12
|
}}
|
|
13
13
|
_ariaLabel=""
|
|
14
|
-
|
|
14
|
+
_icons="codicon codicon-home"
|
|
15
15
|
/>
|
|
16
16
|
</div>
|
|
17
17
|
);
|
|
@@ -1,37 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { FormWrap } from '../FormWrap';
|
|
3
|
+
import { InputCheckboxVariants } from './partials/variants';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ERROR_MSG } from '../../shares/constants';
|
|
7
|
-
|
|
8
|
-
export const InputCheckboxBasic: FC = () => (
|
|
9
|
-
<>
|
|
10
|
-
<fieldset>
|
|
11
|
-
<legend>Checkbox</legend>
|
|
12
|
-
<KolInputCheckbox _variant="checkbox" _label="Nicht ausgewählt" _value={false} />
|
|
13
|
-
<KolInputCheckbox _variant="checkbox" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
|
|
14
|
-
<KolInputCheckbox _variant="checkbox" _label="Ausgewählt" _value={true} _checked />
|
|
15
|
-
<KolInputCheckbox _variant="checkbox" _label="Disabled" _value={true} _disabled />
|
|
16
|
-
<KolInputCheckbox _variant="checkbox" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
|
|
17
|
-
</fieldset>
|
|
18
|
-
|
|
19
|
-
<fieldset>
|
|
20
|
-
<legend>Switch</legend>
|
|
21
|
-
<KolInputCheckbox _variant="switch" _label="Nicht ausgewählt" _value={false} />
|
|
22
|
-
<KolInputCheckbox _variant="switch" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
|
|
23
|
-
<KolInputCheckbox _variant="switch" _label="Ausgewählt" _value={true} _checked />
|
|
24
|
-
<KolInputCheckbox _variant="switch" _label="Disabled" _value={true} _disabled />
|
|
25
|
-
<KolInputCheckbox _variant="switch" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
|
|
26
|
-
</fieldset>
|
|
27
|
-
|
|
28
|
-
<fieldset>
|
|
29
|
-
<legend>Button</legend>
|
|
30
|
-
<KolInputCheckbox _variant="button" _label="Nicht ausgewählt" _value={false} />
|
|
31
|
-
<KolInputCheckbox _variant="button" _label="Unbestimmt (Indeterminate)" _value={null} _indeterminate />
|
|
32
|
-
<KolInputCheckbox _variant="button" _label="Ausgewählt" _value={true} _checked />
|
|
33
|
-
<KolInputCheckbox _variant="button" _label="Disabled" _value={true} _disabled />
|
|
34
|
-
<KolInputCheckbox _variant="button" _label="Mit Fehler" _value={true} _error={ERROR_MSG} _touched />
|
|
35
|
-
</fieldset>
|
|
36
|
-
</>
|
|
37
|
-
);
|
|
5
|
+
export const InputCheckboxBasic: FC = () => <FormWrap RefComponent={InputCheckboxVariants} />;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolInputCheckbox } from '@public-ui/react';
|
|
4
|
+
|
|
5
|
+
import { Components } from '@public-ui/components';
|
|
6
|
+
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
|
+
|
|
8
|
+
export const InputCheckboxCases = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxCases(props, ref) {
|
|
9
|
+
return (
|
|
10
|
+
<div className="grid gap-4">
|
|
11
|
+
<KolInputCheckbox
|
|
12
|
+
{...props}
|
|
13
|
+
_icons={{
|
|
14
|
+
unchecked: 'codicon codicon-close',
|
|
15
|
+
}}
|
|
16
|
+
_label="Nicht ausgewählt"
|
|
17
|
+
_value={false}
|
|
18
|
+
/>
|
|
19
|
+
<KolInputCheckbox
|
|
20
|
+
{...props}
|
|
21
|
+
_icons={{
|
|
22
|
+
unchecked: 'codicon codicon-close',
|
|
23
|
+
}}
|
|
24
|
+
_label="Unbestimmt (Indeterminate)"
|
|
25
|
+
_value={null}
|
|
26
|
+
_indeterminate
|
|
27
|
+
/>
|
|
28
|
+
<KolInputCheckbox
|
|
29
|
+
{...props}
|
|
30
|
+
ref={ref}
|
|
31
|
+
_checked
|
|
32
|
+
_icons={{
|
|
33
|
+
unchecked: 'codicon codicon-close',
|
|
34
|
+
}}
|
|
35
|
+
_label="Ausgewählt"
|
|
36
|
+
_tooltipAlign="right"
|
|
37
|
+
_value={true}
|
|
38
|
+
/>
|
|
39
|
+
<KolInputCheckbox
|
|
40
|
+
{...props}
|
|
41
|
+
_disabled
|
|
42
|
+
_icons={{
|
|
43
|
+
unchecked: 'codicon codicon-close',
|
|
44
|
+
}}
|
|
45
|
+
_label="Disabled"
|
|
46
|
+
_value={true}
|
|
47
|
+
_hint="Hint text"
|
|
48
|
+
/>
|
|
49
|
+
<KolInputCheckbox
|
|
50
|
+
{...props}
|
|
51
|
+
_error={ERROR_MSG}
|
|
52
|
+
_icons={{
|
|
53
|
+
unchecked: 'codicon codicon-close',
|
|
54
|
+
}}
|
|
55
|
+
_label="Mit Fehler"
|
|
56
|
+
_touched
|
|
57
|
+
_value={true}
|
|
58
|
+
_hint="Hint text"
|
|
59
|
+
/>
|
|
60
|
+
</div>
|
|
61
|
+
);
|
|
62
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Components } from '@public-ui/components';
|
|
4
|
+
import { InputCheckboxCases } from './cases';
|
|
5
|
+
|
|
6
|
+
export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxVariant(props, ref) {
|
|
7
|
+
return (
|
|
8
|
+
<div className="grid md:grid-cols-2 gap-4">
|
|
9
|
+
<fieldset>
|
|
10
|
+
<legend>Checkbox</legend>
|
|
11
|
+
<InputCheckboxCases {...props} />
|
|
12
|
+
</fieldset>
|
|
13
|
+
<fieldset>
|
|
14
|
+
<legend>Checkbox (hideLabel)</legend>
|
|
15
|
+
<InputCheckboxCases ref={ref} {...props} _hideLabel />
|
|
16
|
+
</fieldset>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
2
|
|
|
3
3
|
import { InputCheckboxBasic } from './basic';
|
|
4
|
+
import { InputCheckboxButton } from './button';
|
|
5
|
+
import { InputCheckboxSwitch } from './switch';
|
|
4
6
|
|
|
5
7
|
export const INPUT_CHECKBOX_ROUTES: Routes = {
|
|
6
8
|
'input-checkbox': {
|
|
7
9
|
basic: InputCheckboxBasic,
|
|
10
|
+
switch: InputCheckboxSwitch,
|
|
11
|
+
button: InputCheckboxButton,
|
|
8
12
|
},
|
|
9
13
|
};
|
|
@@ -1,29 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { FormWrap } from '../FormWrap';
|
|
3
|
+
import { InputColorVariants } from './partials/variants';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ERROR_MSG } from '../../shares/constants';
|
|
7
|
-
|
|
8
|
-
export const InputColorBasic: FC = () => (
|
|
9
|
-
<KolForm className="grid gap-4">
|
|
10
|
-
<KolInputColor
|
|
11
|
-
_id="farbe"
|
|
12
|
-
_name="farbe"
|
|
13
|
-
_value="#ff0000"
|
|
14
|
-
_error={ERROR_MSG}
|
|
15
|
-
_label="Farbe"
|
|
16
|
-
_icon={{
|
|
17
|
-
left: {
|
|
18
|
-
icon: 'codicon codicon-arrow-left',
|
|
19
|
-
},
|
|
20
|
-
right: {
|
|
21
|
-
icon: 'codicon codicon-arrow-right',
|
|
22
|
-
},
|
|
23
|
-
}}
|
|
24
|
-
/>
|
|
25
|
-
<KolInputColor _id="farb1" _label="Farbe" _list="['#000000','#ff0000', '#0000ff','#00ff00']" _error={ERROR_MSG} />
|
|
26
|
-
<KolInputColor _id="farbe2" _hint="Hilfetext" _value="#ff0000" _label="Farbe (Disabled)" />
|
|
27
|
-
<KolInputColor _disabled _id="farbe3" _value="#ff0000" _label="Farbe (Disabled)" />
|
|
28
|
-
</KolForm>
|
|
29
|
-
);
|
|
5
|
+
export const InputColorBasic: FC = () => <FormWrap RefComponent={InputColorVariants} />;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolInputColor } from '@public-ui/react';
|
|
4
|
+
|
|
5
|
+
import { Components } from '@public-ui/components';
|
|
6
|
+
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
|
+
|
|
8
|
+
export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorCases(props, ref) {
|
|
9
|
+
return (
|
|
10
|
+
<div className="grid gap-4">
|
|
11
|
+
<KolInputColor
|
|
12
|
+
{...props}
|
|
13
|
+
_error={ERROR_MSG}
|
|
14
|
+
_icons={{
|
|
15
|
+
left: 'codicon codicon-symbol-color',
|
|
16
|
+
}}
|
|
17
|
+
_label="Color"
|
|
18
|
+
_value="#f08080"
|
|
19
|
+
/>
|
|
20
|
+
<KolInputColor {...props} _error={ERROR_MSG} _label="Color with error" _list="['#000000','#f08080', '#0000ff','#00ff00']" _touched />
|
|
21
|
+
<KolInputColor {...props} ref={ref} _hint="Hint text" _label="Color with hint" _value="#f08080" />
|
|
22
|
+
<KolInputColor {...props} _disabled _label="Color (Disabled)" _value="#f08080" />
|
|
23
|
+
</div>
|
|
24
|
+
);
|
|
25
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Components } from '@public-ui/components';
|
|
4
|
+
import { InputColorCases } from './cases';
|
|
5
|
+
|
|
6
|
+
export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorVariant(props, ref) {
|
|
7
|
+
return (
|
|
8
|
+
<div className="grid md:grid-cols-2 gap-4">
|
|
9
|
+
<fieldset>
|
|
10
|
+
<legend>Color</legend>
|
|
11
|
+
<InputColorCases {...props} />
|
|
12
|
+
</fieldset>
|
|
13
|
+
<fieldset>
|
|
14
|
+
<legend>Color (hideLabel)</legend>
|
|
15
|
+
<InputColorCases ref={ref} {...props} _hideLabel />
|
|
16
|
+
</fieldset>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
@@ -1,20 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { FormWrap } from '../FormWrap';
|
|
3
|
+
import { InputDateVariants } from './partials/variants';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ERROR_MSG } from '../../shares/constants';
|
|
7
|
-
|
|
8
|
-
export const InputDateBasic: FC = () => (
|
|
9
|
-
<KolForm className="grid gap-4">
|
|
10
|
-
<KolInputDate _id="date1" _type="date" _label="Datumseingabe" />
|
|
11
|
-
<KolInputDate _id="datetime-local1" _type="datetime-local" _label="Local-Datetime (Standard)" />
|
|
12
|
-
<KolInputDate _id="datetime-local2" _step={1} _type="datetime-local" _error={ERROR_MSG} _label="Local-Datetime (mit Sekunden)" />
|
|
13
|
-
<KolInputDate _id="month" _type="month" _label="Monat" />
|
|
14
|
-
<KolInputDate _id="week" _type="week" _label="Woche" />
|
|
15
|
-
<KolInputDate _id="time" _type="time" _label="Zeit (Standard)" />
|
|
16
|
-
<KolInputDate _id="time" _step={1} _type="time" _label="Zeit (mit Sekunden)" />
|
|
17
|
-
<KolInputDate _id="date2" _read-only _label="Zahleneingabe (Readonly)" />
|
|
18
|
-
<KolInputDate _disabled _id="date3" _label="Zahleneingabe (Disabled)" />
|
|
19
|
-
</KolForm>
|
|
20
|
-
);
|
|
5
|
+
export const InputDateBasic: FC = () => <FormWrap RefComponent={InputDateVariants} />;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolInputDate } from '@public-ui/react';
|
|
4
|
+
|
|
5
|
+
import { Components } from '@public-ui/components';
|
|
6
|
+
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
|
+
|
|
8
|
+
export const InputDateCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props, ref) {
|
|
9
|
+
return (
|
|
10
|
+
<div className="grid gap-4">
|
|
11
|
+
<KolInputDate {...props} _type="date" _label="Datumseingabe" _required />
|
|
12
|
+
<KolInputDate {...props} _type="datetime-local" _label="Local-Datetime (Standard)" _required />
|
|
13
|
+
<KolInputDate {...props} _step={1} _type="datetime-local" _error={ERROR_MSG} _label="Local-Datetime (mit Sekunden)" _required _touched />
|
|
14
|
+
<KolInputDate {...props} _type="month" _label="Monat" _required />
|
|
15
|
+
<KolInputDate {...props} ref={ref} _type="week" _label="Woche" _required />
|
|
16
|
+
<KolInputDate {...props} _type="time" _label="Zeit (Standard)" _required />
|
|
17
|
+
<KolInputDate {...props} _step={1} _type="time" _label="Zeit (mit Sekunden)" _required />
|
|
18
|
+
<KolInputDate {...props} _readOnly _label="Zahleneingabe (Readonly)" _required />
|
|
19
|
+
<KolInputDate {...props} _disabled _label="Zahleneingabe (Disabled)" _required />
|
|
20
|
+
</div>
|
|
21
|
+
);
|
|
22
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Components } from '@public-ui/components';
|
|
4
|
+
import { InputDateCases } from './cases';
|
|
5
|
+
|
|
6
|
+
export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
|
|
7
|
+
return (
|
|
8
|
+
<div className="grid md:grid-cols-2 gap-4">
|
|
9
|
+
<fieldset>
|
|
10
|
+
<legend>Date</legend>
|
|
11
|
+
<InputDateCases {...props} />
|
|
12
|
+
</fieldset>
|
|
13
|
+
<fieldset>
|
|
14
|
+
<legend>Date (hideLabel)</legend>
|
|
15
|
+
<InputDateCases ref={ref} {...props} _hideLabel />
|
|
16
|
+
</fieldset>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
@@ -1,30 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { FormWrap } from '../FormWrap';
|
|
3
|
+
import { InputEmailVariants } from './partials/variants';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import { ERROR_MSG } from '../../shares/constants';
|
|
7
|
-
|
|
8
|
-
export const InputEmailBasic: FC = () => (
|
|
9
|
-
<KolForm className="grid gap-4">
|
|
10
|
-
<KolInputEmail _id="email" _required _value="test@mail.de" _error={ERROR_MSG} _label="E-Mail" />
|
|
11
|
-
<KolInputEmail
|
|
12
|
-
_id="email1"
|
|
13
|
-
_name="email1"
|
|
14
|
-
_placeholder="elke@mustermann.de"
|
|
15
|
-
_list="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
|
|
16
|
-
_label="E-Mail (Liste)"
|
|
17
|
-
_error={ERROR_MSG}
|
|
18
|
-
_icon={{
|
|
19
|
-
left: {
|
|
20
|
-
icon: 'codicon codicon-arrow-left',
|
|
21
|
-
},
|
|
22
|
-
right: {
|
|
23
|
-
icon: 'codicon codicon-arrow-right',
|
|
24
|
-
},
|
|
25
|
-
}}
|
|
26
|
-
/>
|
|
27
|
-
<KolInputEmail _disabled _id="email2" _value="test@mail.de" _label="E-Mail (Disabled)" />
|
|
28
|
-
<KolInputEmail _id="email3" _read-only _value="test@mail.de" _label="E-Mail (Readonly)" />
|
|
29
|
-
</KolForm>
|
|
30
|
-
);
|
|
5
|
+
export const InputEmailBasic: FC = () => <FormWrap RefComponent={InputEmailVariants} />;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolInputEmail } from '@public-ui/react';
|
|
4
|
+
|
|
5
|
+
import { Components } from '@public-ui/components';
|
|
6
|
+
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
|
+
|
|
8
|
+
export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailCases(props, ref) {
|
|
9
|
+
return (
|
|
10
|
+
<div className="grid gap-4">
|
|
11
|
+
<KolInputEmail {...props} _required _value="test@mail.de" _error={ERROR_MSG} _label="E-Mail" />
|
|
12
|
+
<KolInputEmail
|
|
13
|
+
{...props}
|
|
14
|
+
ref={ref}
|
|
15
|
+
_placeholder="elke@mustermann.de"
|
|
16
|
+
_list="['test1@mail.de', 'test2@mail.de', 'test3@mail.de']"
|
|
17
|
+
_label="E-Mail (Liste)"
|
|
18
|
+
_error={ERROR_MSG}
|
|
19
|
+
_touched
|
|
20
|
+
_icons={{
|
|
21
|
+
left: {
|
|
22
|
+
icon: 'codicon codicon-arrow-left',
|
|
23
|
+
},
|
|
24
|
+
right: {
|
|
25
|
+
icon: 'codicon codicon-arrow-right',
|
|
26
|
+
},
|
|
27
|
+
}}
|
|
28
|
+
/>
|
|
29
|
+
<KolInputEmail {...props} _disabled _value="test@mail.de" _label="E-Mail (Disabled)" />
|
|
30
|
+
<KolInputEmail {...props} _readOnly _value="test@mail.de" _label="E-Mail (Readonly)" />
|
|
31
|
+
</div>
|
|
32
|
+
);
|
|
33
|
+
});
|