@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
|
@@ -30,4 +30,4 @@ const HEADERS: KoliBriTableHeaders = {
|
|
|
30
30
|
],
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
export const
|
|
33
|
+
export const TableSortTable: FC = () => <KolTable _caption="Sort a date column" _data={DATA} _headers={HEADERS} className="block" />;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
import { KolTable } from '@public-ui/react';
|
|
4
|
+
import { KoliBriTableHeaders } from '@public-ui/components';
|
|
5
|
+
import { KoliBriTablePaginationProps } from '@public-ui/components/src';
|
|
6
|
+
import { DATA } from './test-data';
|
|
7
|
+
|
|
8
|
+
const HEADERS: KoliBriTableHeaders = {
|
|
9
|
+
horizontal: [
|
|
10
|
+
[
|
|
11
|
+
{ label: 'Order', key: 'order' },
|
|
12
|
+
{ label: 'Date', key: 'date' },
|
|
13
|
+
],
|
|
14
|
+
],
|
|
15
|
+
};
|
|
16
|
+
const PAGINATION: KoliBriTablePaginationProps = { _page: 2, _total: 1 };
|
|
17
|
+
|
|
18
|
+
export const TableWithPagination: FC = () => (
|
|
19
|
+
<div>
|
|
20
|
+
<KolTable _label="Tabellenbeschreibung" _data={DATA} _headers={HEADERS} _pagination={PAGINATION}></KolTable>
|
|
21
|
+
</div>
|
|
22
|
+
);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { KolTabs } from '@public-ui/react';
|
|
3
|
+
|
|
4
|
+
const tabs = [
|
|
5
|
+
{
|
|
6
|
+
_icons: 'codicon codicon-pie-chart',
|
|
7
|
+
_label: 'Erster Tab',
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
_icons: 'codicon codicon-calendar',
|
|
11
|
+
_label: 'Zweites Tab',
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
_disabled: true,
|
|
15
|
+
_icons: 'codicon codicon-briefcase',
|
|
16
|
+
_label: 'Deaktiviertes Tab',
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
_icons: 'codicon codicon-telescope',
|
|
20
|
+
_label: 'Letzter Tab',
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
export const TabsBasic: FC = () => (
|
|
24
|
+
<KolTabs _tabs={tabs}>
|
|
25
|
+
<div slot="tab-0">Inhalte von Tab 1</div>
|
|
26
|
+
<div slot="tab-1">Inhalte von Tab 2</div>
|
|
27
|
+
<div slot="tab-2">Inhalte von Tab 3</div>
|
|
28
|
+
<div slot="tab-3">Inhalte von Tab 4</div>
|
|
29
|
+
</KolTabs>
|
|
30
|
+
);
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { KolTabs } from '@public-ui/react';
|
|
3
|
+
|
|
4
|
+
const tabs = [
|
|
5
|
+
{
|
|
6
|
+
_icons: 'codicon codicon-pie-chart',
|
|
7
|
+
_label: 'Erster Tab',
|
|
8
|
+
_hideLabel: true,
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
_icons: 'codicon codicon-calendar',
|
|
12
|
+
_label: 'Zweites Tab',
|
|
13
|
+
_hideLabel: true,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
_disabled: true,
|
|
17
|
+
_icons: 'codicon codicon-briefcase',
|
|
18
|
+
_label: 'Deaktiviertes Tab',
|
|
19
|
+
_hideLabel: true,
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
_icons: 'codicon codicon-telescope',
|
|
23
|
+
_label: 'Letzter Tab',
|
|
24
|
+
_hideLabel: true,
|
|
25
|
+
},
|
|
26
|
+
];
|
|
27
|
+
export const TabsIconsOnly: FC = () => (
|
|
28
|
+
<KolTabs _tabs={tabs}>
|
|
29
|
+
<div slot="tab-0">Inhalte von Tab 1</div>
|
|
30
|
+
<div slot="tab-1">Inhalte von Tab 2</div>
|
|
31
|
+
<div slot="tab-2">Inhalte von Tab 3</div>
|
|
32
|
+
<div slot="tab-3">Inhalte von Tab 4</div>
|
|
33
|
+
</KolTabs>
|
|
34
|
+
);
|
|
@@ -13,10 +13,10 @@ sit amet.`;
|
|
|
13
13
|
export const TextareaAdjustHeight: FC = () => (
|
|
14
14
|
<KolForm className="row">
|
|
15
15
|
<div className="col-sm-6">
|
|
16
|
-
<KolTextarea _adjustHeight={true}
|
|
16
|
+
<KolTextarea _adjustHeight={true} _resize="vertical" _value={VALUE} _label="Texteingabe (horizontal)" />
|
|
17
17
|
</div>
|
|
18
18
|
<div className="col-sm-6">
|
|
19
|
-
<KolTextarea _adjustHeight={true}
|
|
19
|
+
<KolTextarea _adjustHeight={true} _resize="none" _value={VALUE} _label="Texteingabe (none)" />
|
|
20
20
|
</div>
|
|
21
21
|
</KolForm>
|
|
22
22
|
);
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import {
|
|
1
|
+
import React, { FC } from 'react';
|
|
2
|
+
import { FormWrap } from '../FormWrap';
|
|
3
|
+
import { TextareaVariants } from './partials/variants';
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
import { ERROR_MSG } from '../../shares/constants';
|
|
6
|
-
|
|
7
|
-
export const TextareaBasic: FC = () => (
|
|
8
|
-
<KolForm>
|
|
9
|
-
<KolTextarea _id="text" _error={ERROR_MSG} _label="Texteingabe" />
|
|
10
|
-
</KolForm>
|
|
11
|
-
);
|
|
5
|
+
export const TextareaBasic: FC = () => <FormWrap RefComponent={TextareaVariants} />;
|
|
@@ -5,6 +5,6 @@ import { FC } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export const TextareaDisabled: FC = () => (
|
|
7
7
|
<KolForm>
|
|
8
|
-
<KolTextarea _disabled _error="Es ist ein Fehler aufgetreten."
|
|
8
|
+
<KolTextarea _disabled _error="Es ist ein Fehler aufgetreten." _value="Kleiner Text im Eingabefeld ..." _label="Texteingabe" />
|
|
9
9
|
</KolForm>
|
|
10
10
|
);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Components } from '@public-ui/components';
|
|
4
|
+
import { KolTextarea } from '@public-ui/react';
|
|
5
|
+
import { ERROR_MSG } from '../../../shares/constants';
|
|
6
|
+
|
|
7
|
+
export const TextareaCases = forwardRef<HTMLKolTextareaElement, Components.KolTextarea>(function TextareaCases(props, ref) {
|
|
8
|
+
return (
|
|
9
|
+
<div className="grid gap-4">
|
|
10
|
+
<KolTextarea {...props} ref={ref} _error={ERROR_MSG} _label="Text" _touched />
|
|
11
|
+
<KolTextarea {...props} ref={ref} _label="Text (3 rows)" _rows={3} />
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import React, { forwardRef } from 'react';
|
|
2
|
+
|
|
3
|
+
import { Components } from '@public-ui/components';
|
|
4
|
+
import { TextareaCases } from './cases';
|
|
5
|
+
|
|
6
|
+
export const TextareaVariants = forwardRef<HTMLKolTextareaElement, Components.KolTextarea>(function TextareaVariant(props, ref) {
|
|
7
|
+
return (
|
|
8
|
+
<div className="grid md:grid-cols-2 gap-4">
|
|
9
|
+
<fieldset>
|
|
10
|
+
<legend>Text</legend>
|
|
11
|
+
<TextareaCases {...props} />
|
|
12
|
+
</fieldset>
|
|
13
|
+
<fieldset>
|
|
14
|
+
<legend>Text (hideLabel)</legend>
|
|
15
|
+
<TextareaCases ref={ref} {...props} _hideLabel />
|
|
16
|
+
</fieldset>
|
|
17
|
+
</div>
|
|
18
|
+
);
|
|
19
|
+
});
|
|
@@ -5,6 +5,6 @@ import { FC } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export const TextareaPlaceholder: FC = () => (
|
|
7
7
|
<KolForm>
|
|
8
|
-
<KolTextarea
|
|
8
|
+
<KolTextarea _placeholder="Hier steht ein Platzhaltertext" _label="Texteingabe" />
|
|
9
9
|
</KolForm>
|
|
10
10
|
);
|
|
@@ -5,6 +5,6 @@ import { FC } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export const TextareaReadOnly: FC = () => (
|
|
7
7
|
<KolForm>
|
|
8
|
-
<KolTextarea _error="Es ist ein Fehler aufgetreten."
|
|
8
|
+
<KolTextarea _error="Es ist ein Fehler aufgetreten." _readOnly _value="Kleiner Text im Eingabefeld ..." _label="Texteingabe" />
|
|
9
9
|
</KolForm>
|
|
10
10
|
);
|
|
@@ -5,9 +5,9 @@ import { FC } from 'react';
|
|
|
5
5
|
|
|
6
6
|
export const TextareaResize: FC = () => (
|
|
7
7
|
<KolForm className="grid gap-4">
|
|
8
|
-
<KolTextarea
|
|
9
|
-
<KolTextarea
|
|
10
|
-
<KolTextarea
|
|
11
|
-
<KolTextarea
|
|
8
|
+
<KolTextarea _resize="both" _label="Texteingabe (both)" />
|
|
9
|
+
<KolTextarea _resize="vertical" _label="Texteingabe (vertical)" />
|
|
10
|
+
<KolTextarea _resize="horizontal" _label="Texteingabe (horizontal)" />
|
|
11
|
+
<KolTextarea _resize="none" _label="Texteingabe (none)" />
|
|
12
12
|
</KolForm>
|
|
13
13
|
);
|
|
@@ -13,6 +13,7 @@ import { TextareaReadOnly } from './readonly';
|
|
|
13
13
|
import { TextareaResize } from './resize';
|
|
14
14
|
|
|
15
15
|
import { TextareaRows } from './rows';
|
|
16
|
+
import { TextareaCounter } from './counter';
|
|
16
17
|
|
|
17
18
|
export const TEXTAREA_ROUTES: Routes = {
|
|
18
19
|
textarea: {
|
|
@@ -23,5 +24,6 @@ export const TEXTAREA_ROUTES: Routes = {
|
|
|
23
24
|
readonly: TextareaReadOnly,
|
|
24
25
|
resize: TextareaResize,
|
|
25
26
|
rows: TextareaRows,
|
|
27
|
+
'with-counter': TextareaCounter,
|
|
26
28
|
},
|
|
27
29
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KolButton, KolToast } from '@public-ui/react';
|
|
3
1
|
import { ToasterService } from '@public-ui/components';
|
|
2
|
+
import { KolButton } from '@public-ui/react';
|
|
3
|
+
import React from 'react';
|
|
4
4
|
|
|
5
5
|
const toaster = ToasterService.getInstance(document);
|
|
6
6
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { FormWrap } from './FormWrap';
|
|
2
|
+
import { ButtonVariants } from './button/partials/variants';
|
|
3
|
+
import { InputCheckboxVariants } from './input-checkbox/partials/variants';
|
|
4
|
+
import { InputColorVariants } from './input-color/partials/variants';
|
|
5
|
+
import { InputDateVariants } from './input-date/partials/variants';
|
|
6
|
+
import { InputEmailVariants } from './input-email/partials/variants';
|
|
7
|
+
import { InputFileVariants } from './input-file/partials/variants';
|
|
8
|
+
import { InputNumberVariants } from './input-number/partials/variants';
|
|
9
|
+
import { InputPasswordVariants } from './input-password/partials/variants';
|
|
10
|
+
import { InputRadioVariants } from './input-radio/partials/variants';
|
|
11
|
+
import { InputRangeVariants } from './input-range/partials/variants';
|
|
12
|
+
import { InputTextVariants } from './input-text/partials/variants';
|
|
13
|
+
import { SelectVariants } from './select/partials/variants';
|
|
14
|
+
import { TextareaVariants } from './textarea/partials/variants';
|
|
15
|
+
|
|
16
|
+
export type RefFormComponent =
|
|
17
|
+
| typeof InputCheckboxVariants
|
|
18
|
+
| typeof InputColorVariants
|
|
19
|
+
| typeof InputDateVariants
|
|
20
|
+
| typeof InputEmailVariants
|
|
21
|
+
| typeof InputFileVariants
|
|
22
|
+
| typeof InputNumberVariants
|
|
23
|
+
| typeof InputPasswordVariants
|
|
24
|
+
| typeof InputRadioVariants
|
|
25
|
+
| typeof InputRangeVariants
|
|
26
|
+
| typeof InputTextVariants
|
|
27
|
+
| typeof SelectVariants
|
|
28
|
+
| typeof TextareaVariants;
|
|
29
|
+
|
|
30
|
+
export type RefComponent =
|
|
31
|
+
// | typeof AbbrVariants
|
|
32
|
+
// | typeof AccordionVariants
|
|
33
|
+
// | typeof AlertVariants
|
|
34
|
+
| typeof ButtonVariants
|
|
35
|
+
// | typeof ButtonLinkVariants
|
|
36
|
+
// | typeof CardVariants
|
|
37
|
+
// | typeof LinkVariants
|
|
38
|
+
// | typeof LinkButtonVariants
|
|
39
|
+
// | typeof PopoverVariants
|
|
40
|
+
// | typeof SplitButtonVariants
|
|
41
|
+
// | typeof TabsVariants
|
|
42
|
+
| RefFormComponent;
|
package/src/shares/routes.ts
CHANGED
|
@@ -40,6 +40,12 @@ import { TEXTAREA_ROUTES } from '../components/textarea/routes';
|
|
|
40
40
|
import { TOAST_ROUTES } from '../components/toast/routes';
|
|
41
41
|
import { VERSION_ROUTES } from '../components/version/routes';
|
|
42
42
|
import { Routes } from './types';
|
|
43
|
+
import { IMAGE_ROUTES } from '../components/image/routes';
|
|
44
|
+
import { KOLIBRI_ROUTES } from '../components/kolibri/routes';
|
|
45
|
+
import { LOGO_ROUTES } from '../components/logo/routes';
|
|
46
|
+
import { MODAL_ROUTES } from '../components/modal/routes';
|
|
47
|
+
import { QUOTE_ROUTES } from '../components/quote/routes';
|
|
48
|
+
import { TABS_ROUTES } from '../components/tabs/routes';
|
|
43
49
|
|
|
44
50
|
export const ROUTES: Routes = {
|
|
45
51
|
...HANDOUT_ROUTES,
|
|
@@ -49,14 +55,15 @@ export const ROUTES: Routes = {
|
|
|
49
55
|
...AVATAR_ROUTES,
|
|
50
56
|
...BADGE_ROUTES,
|
|
51
57
|
...BREADCRUMB_ROUTES,
|
|
52
|
-
...BUTTON_ROUTES,
|
|
53
|
-
...BUTTON_LINK_ROUTES,
|
|
54
58
|
...BUTTON_GROUP_ROUTES,
|
|
59
|
+
...BUTTON_LINK_ROUTES,
|
|
60
|
+
...BUTTON_ROUTES,
|
|
55
61
|
...CARD_ROUTES,
|
|
56
62
|
...DETAILS_ROUTES,
|
|
57
63
|
...FORM_ROUTES,
|
|
58
64
|
...HEADING_ROUTES,
|
|
59
65
|
...ICON_ROUTES,
|
|
66
|
+
...IMAGE_ROUTES,
|
|
60
67
|
...INDENTED_ROUTES,
|
|
61
68
|
...INPUT_CHECKBOX_ROUTES,
|
|
62
69
|
...INPUT_COLOR_ROUTES,
|
|
@@ -68,19 +75,24 @@ export const ROUTES: Routes = {
|
|
|
68
75
|
...INPUT_RADIO_ROUTES,
|
|
69
76
|
...INPUT_RANGE_ROUTES,
|
|
70
77
|
...INPUT_TEXT_ROUTES,
|
|
71
|
-
...
|
|
78
|
+
...KOLIBRI_ROUTES,
|
|
72
79
|
...LINK_BUTTON_ROUTES,
|
|
73
80
|
...LINK_GROUP_ROUTES,
|
|
81
|
+
...LINK_ROUTES,
|
|
82
|
+
...LOGO_ROUTES,
|
|
83
|
+
...MODAL_ROUTES,
|
|
74
84
|
...NAV_ROUTES,
|
|
75
85
|
...PAGINATION_ROUTES,
|
|
76
86
|
...POPOVER_ROUTES,
|
|
77
87
|
...PROGRESS_ROUTES,
|
|
88
|
+
...QUOTE_ROUTES,
|
|
78
89
|
...SELECT_ROUTES,
|
|
79
90
|
...SELECT_ROUTES,
|
|
80
91
|
...SKIP_NAV_ROUTES,
|
|
81
92
|
...SPIN_ROUTES,
|
|
82
93
|
...SPLIT_BUTTON_ROUTES,
|
|
83
94
|
...TABLE_ROUTES,
|
|
95
|
+
...TABS_ROUTES,
|
|
84
96
|
...TEXTAREA_ROUTES,
|
|
85
97
|
...TOAST_ROUTES,
|
|
86
98
|
...VERSION_ROUTES,
|
package/src/style.scss
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
* {
|
|
2
|
+
font-family: Verdana;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body {
|
|
6
|
+
margin: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
dl,
|
|
2
10
|
hr {
|
|
3
11
|
margin: 0;
|
|
@@ -19,10 +27,6 @@ hr {
|
|
|
19
27
|
grid-template-columns: auto auto;
|
|
20
28
|
}
|
|
21
29
|
|
|
22
|
-
.app-sidebar {
|
|
23
|
-
font-family: sans-serif;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
30
|
@media (min-width: 1024px) {
|
|
27
31
|
.app-container {
|
|
28
32
|
display: grid;
|
|
@@ -36,8 +40,9 @@ hr {
|
|
|
36
40
|
}
|
|
37
41
|
|
|
38
42
|
@media print {
|
|
43
|
+
|
|
39
44
|
.no-print,
|
|
40
45
|
.no-print * {
|
|
41
46
|
display: none !important;
|
|
42
47
|
}
|
|
43
|
-
}
|
|
48
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"preserveSymlinks": true,
|
|
10
10
|
"moduleResolution": "node",
|
|
11
11
|
"lib": ["es2017", "dom"],
|
|
12
|
-
"types": ["
|
|
12
|
+
"types": ["node", "react", "react-dom"],
|
|
13
13
|
"typeRoots": ["node_modules/@types", "src/types"],
|
|
14
14
|
"noUnusedLocals": true,
|
|
15
15
|
"resolveJsonModule": true,
|
|
@@ -27,6 +27,5 @@
|
|
|
27
27
|
"jsxFactory": "React.createElement",
|
|
28
28
|
"jsxFragmentFactory": "React.Fragment"
|
|
29
29
|
},
|
|
30
|
-
"include": ["src/**/*"
|
|
31
|
-
"exclude": ["node_modules/@leanup/**/template/**/*"]
|
|
30
|
+
"include": ["src/**/*"]
|
|
32
31
|
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KolAlert, KolButtonLink } from '@public-ui/react';
|
|
3
|
-
|
|
4
|
-
import { FC } from 'react';
|
|
5
|
-
|
|
6
|
-
export const ButtonLinkTarget: FC = () => (
|
|
7
|
-
<div className="grid gap-4">
|
|
8
|
-
<KolAlert _type="info">Bei einem semantischen Button der als Link dargestellt wird, gibt es kein Target!</KolAlert>
|
|
9
|
-
<KolButtonLink _href="#" _label="Ich bin ein Link ohne Target" />
|
|
10
|
-
<KolButtonLink _href="#" _label="Ich bin ein Link mit Target (_self)" _target="_self" />
|
|
11
|
-
<KolButtonLink _href="#" _label="Ich bin ein Link mit Target (_blank)" _target="_blank" />
|
|
12
|
-
<KolButtonLink _href="#" _icon="codicon codicon-home" _hideLabel _label="Ich bin ein Link ohne Target" />
|
|
13
|
-
<KolButtonLink _href="#" _icon="codicon codicon-home" _hideLabel _label="Ich bin ein Link mit Target (_self)" _target="_self" />
|
|
14
|
-
<KolButtonLink _href="#" _icon="codicon codicon-home" _hideLabel _label="Ich bin ein Link mit Target (_blank)" _target="_blank" />
|
|
15
|
-
</div>
|
|
16
|
-
);
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { KolForm, KolInputText } from '@public-ui/react';
|
|
3
|
-
|
|
4
|
-
import { FC } from 'react';
|
|
5
|
-
|
|
6
|
-
import { ERROR_MSG, HINT_MSG } from '../../shares/constants';
|
|
7
|
-
|
|
8
|
-
export const InputTextHiddenLabel: FC = () => (
|
|
9
|
-
<KolForm className="grid gap-4">
|
|
10
|
-
<KolInputText
|
|
11
|
-
_id=""
|
|
12
|
-
_hint={HINT_MSG}
|
|
13
|
-
_hideLabel
|
|
14
|
-
_error={ERROR_MSG}
|
|
15
|
-
_placeholder="Mit Icons"
|
|
16
|
-
_icon={{
|
|
17
|
-
left: 'codicon codicon-arrow-left',
|
|
18
|
-
right: {
|
|
19
|
-
icon: 'codicon codicon-arrow-right',
|
|
20
|
-
style: {
|
|
21
|
-
'font-size': '200%',
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
}}
|
|
25
|
-
_required
|
|
26
|
-
_smartButton={{
|
|
27
|
-
_icon: {
|
|
28
|
-
left: {
|
|
29
|
-
icon: 'codicon codicon-eye',
|
|
30
|
-
},
|
|
31
|
-
},
|
|
32
|
-
_hideLabel: true,
|
|
33
|
-
_label: 'Passwort anzeigen',
|
|
34
|
-
_on: {
|
|
35
|
-
onClick: () => {},
|
|
36
|
-
},
|
|
37
|
-
}}
|
|
38
|
-
_type="search"
|
|
39
|
-
_label="Suche"
|
|
40
|
-
/>
|
|
41
|
-
<KolInputText
|
|
42
|
-
_id=""
|
|
43
|
-
_error={ERROR_MSG}
|
|
44
|
-
_hideLabel
|
|
45
|
-
_placeholder="Mit Icons"
|
|
46
|
-
_icon={{
|
|
47
|
-
left: {
|
|
48
|
-
icon: 'codicon codicon-arrow-left',
|
|
49
|
-
},
|
|
50
|
-
right: {
|
|
51
|
-
icon: 'codicon codicon-arrow-right',
|
|
52
|
-
},
|
|
53
|
-
}}
|
|
54
|
-
_type="search"
|
|
55
|
-
_label="Suche"
|
|
56
|
-
/>
|
|
57
|
-
<KolInputText _id="" _hideLabel _placeholder="Placeholder" _label="Vorname (text)" _required />
|
|
58
|
-
<KolInputText _id="" _placeholder="Placeholder" _type="search" _label="Suche (search)" />
|
|
59
|
-
<KolInputText _id="vorname" _placeholder="Placeholder" _error={ERROR_MSG} _type="url" _label="URL (url)" />
|
|
60
|
-
<KolInputText _id="" _placeholder="Placeholder" _type="tel" _label="Telefon (tel)" />
|
|
61
|
-
<KolInputText _id="" _placeholder="Placeholder" _read-only _label="Vorname (text, readonly)" />
|
|
62
|
-
<KolInputText _id="" _value="Value" _read-only _label="Vorname (text, readonly)" />
|
|
63
|
-
<KolInputText _id="" _placeholder="Placeholder" _disabled _label="Vorname (text, disabled)" />
|
|
64
|
-
<KolInputText _id="" _value="Value" _disabled _label="Vorname (text, disabled)" />
|
|
65
|
-
</KolForm>
|
|
66
|
-
);
|
package/test-build.sh
DELETED