@public-ui/sample-react 2.0.4 → 2.0.5
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 +2 -1
- package/dist/104.js +2 -0
- package/dist/{4669.js → 1296.js} +2 -2
- package/dist/{8869.js → 1461.js} +2 -2
- package/dist/1684.js +2 -0
- package/dist/1685.js +2 -0
- package/dist/1888.js +2 -0
- package/dist/2120.js +2 -0
- package/dist/2240.js +2 -0
- package/dist/2364.js +2 -0
- package/dist/{4279.js → 2392.js} +2 -2
- package/dist/2444.js +2 -0
- package/dist/2628.js +2 -0
- package/dist/{3388.js → 2740.js} +2 -2
- package/dist/2764.js +2 -0
- package/dist/2782.js +2 -0
- package/dist/2812.js +2 -0
- package/dist/{3845.js → 2984.js} +2 -2
- package/dist/{5324.js → 3200.js} +2 -2
- package/dist/3204.js +2 -0
- package/dist/{3034.js → 3384.js} +2 -2
- package/dist/352.js +2 -0
- package/dist/3564.js +2 -0
- package/dist/{8612.js → 3920.js} +2 -2
- package/dist/4064.js +2 -0
- package/dist/4136.js +1 -0
- package/dist/4443.js +2 -0
- package/dist/4544.js +2 -0
- package/dist/{9865.js → 4728.js} +2 -2
- package/dist/4915.js +2 -0
- package/dist/4988.js +2 -0
- package/dist/5376.js +2 -0
- package/dist/5456.js +2 -0
- package/dist/5615.js +1 -1
- package/dist/5628.js +2 -0
- package/dist/5744.js +2 -0
- package/dist/5768.js +2 -0
- package/dist/{9330.js → 5839.js} +2 -2
- package/dist/5956.js +2 -0
- package/dist/5972.js +2 -0
- package/dist/6040.js +2 -0
- package/dist/{3600.js → 6112.js} +2 -2
- package/dist/6476.js +2 -0
- package/dist/6992.js +2 -0
- package/dist/7192.js +2 -0
- package/dist/7312.js +2 -0
- package/dist/736.js +2 -0
- package/dist/{8734.js → 7496.js} +2 -2
- package/dist/7508.js +2 -0
- package/dist/7596.js +2 -0
- package/dist/7712.js +2 -0
- package/dist/7804.js +2 -0
- package/dist/{9886.js → 7808.js} +2 -2
- package/dist/8188.js +2 -0
- package/dist/8232.js +2 -0
- package/dist/8248.js +2 -0
- package/dist/828.js +2 -0
- package/dist/8476.js +2 -0
- package/dist/8524.js +2 -0
- package/dist/9072.js +2 -0
- package/dist/9088.js +2 -0
- package/dist/{2079.js → 9224.js} +2 -2
- package/dist/9404.js +2 -0
- package/dist/9404.js.LICENSE.txt +3 -0
- package/dist/9424.js +2 -0
- package/dist/9424.js.LICENSE.txt +3 -0
- package/dist/9680.js +2 -0
- package/dist/9680.js.LICENSE.txt +3 -0
- package/dist/9888.js +2 -0
- package/dist/9888.js.LICENSE.txt +3 -0
- package/dist/9984.js +1 -1
- package/dist/main.css +1 -1
- package/dist/main.js +10276 -5799
- package/dist/main.js.LICENSE.txt +2 -2
- package/package.json +14 -15
- package/src/App.tsx +16 -10
- package/src/components/BackPage.tsx +17 -0
- package/src/components/FocusInput.tsx +4 -2
- package/src/components/FormWrap.tsx +6 -2
- package/src/components/SampleDescription.tsx +4 -1
- package/src/components/Sidebar.tsx +12 -4
- package/src/components/abbr/basic.tsx +2 -1
- package/src/components/abbr/routes.ts +0 -1
- package/src/components/accordion/basic.tsx +3 -2
- package/src/components/accordion/headlines.tsx +2 -1
- package/src/components/accordion/list.tsx +3 -1
- package/src/components/accordion/routes.ts +0 -1
- package/src/components/alert/basic.tsx +3 -2
- package/src/components/alert/card-msg.tsx +2 -1
- package/src/components/alert/html.tsx +4 -3
- package/src/components/alert/routes.ts +0 -3
- package/src/components/avatar/basic.tsx +3 -1
- package/src/components/badge/basic.tsx +2 -1
- package/src/components/badge/button.tsx +2 -1
- package/src/components/badge/routes.ts +0 -2
- package/src/components/breadcrumb/basic.tsx +11 -10
- package/src/components/breadcrumb/routes.ts +0 -1
- package/src/components/button/access-key.tsx +3 -1
- package/src/components/button/baselined.tsx +2 -1
- package/src/components/button/basic.tsx +3 -1
- package/src/components/button/hide-label.tsx +2 -1
- package/src/components/button/icons.tsx +2 -1
- package/src/components/button/partials/cases.tsx +3 -2
- package/src/components/button/partials/variants.tsx +2 -1
- package/src/components/button/routes.ts +2 -6
- package/src/components/button/width.tsx +2 -1
- package/src/components/button-group/basic.tsx +2 -1
- package/src/components/button-group/routes.ts +0 -1
- package/src/components/button-link/basic.tsx +2 -1
- package/src/components/button-link/icons.tsx +2 -1
- package/src/components/button-link/image.tsx +2 -1
- package/src/components/button-link/routes.ts +0 -3
- package/src/components/card/basic.tsx +2 -1
- package/src/components/card/confirm.tsx +2 -1
- package/src/components/card/flex.tsx +2 -1
- package/src/components/card/routes.ts +0 -4
- package/src/components/card/selection.tsx +2 -1
- package/src/components/details/basic.tsx +7 -1
- package/src/components/details/routes.ts +0 -1
- package/src/components/handout/basic.tsx +38 -34
- package/src/components/handout/routes.ts +0 -1
- package/src/components/heading/badged.tsx +2 -1
- package/src/components/heading/basic.tsx +2 -1
- package/src/components/heading/paragraph.tsx +2 -1
- package/src/components/heading/routes.ts +0 -3
- package/src/components/icon/basic.tsx +2 -1
- package/src/components/icon/routes.ts +0 -1
- package/src/components/image/basic.tsx +3 -2
- package/src/components/image/routes.ts +0 -1
- package/src/components/indented-text/basic.tsx +2 -1
- package/src/components/indented-text/routes.ts +0 -1
- package/src/components/input-checkbox/basic.tsx +3 -1
- package/src/components/input-checkbox/button.tsx +3 -1
- package/src/components/input-checkbox/partials/cases.tsx +1 -1
- package/src/components/input-checkbox/partials/variants.tsx +1 -1
- package/src/components/input-checkbox/routes.ts +0 -1
- package/src/components/input-checkbox/switch.tsx +4 -2
- package/src/components/input-color/basic.tsx +3 -1
- package/src/components/input-color/partials/cases.tsx +1 -1
- package/src/components/input-color/partials/variants.tsx +1 -1
- package/src/components/input-color/routes.ts +0 -1
- package/src/components/input-date/basic.tsx +3 -1
- package/src/components/input-date/partials/cases.tsx +1 -1
- package/src/components/input-date/partials/variants.tsx +1 -1
- package/src/components/input-date/routes.ts +0 -1
- package/src/components/input-email/basic.tsx +3 -1
- package/src/components/input-email/partials/cases.tsx +1 -1
- package/src/components/input-email/partials/variants.tsx +1 -1
- package/src/components/input-email/routes.ts +0 -1
- package/src/components/input-file/basic.tsx +3 -1
- package/src/components/input-file/partials/cases.tsx +1 -1
- package/src/components/input-file/partials/variants.tsx +1 -1
- package/src/components/input-file/routes.ts +0 -1
- package/src/components/input-number/basic.tsx +17 -2
- package/src/components/input-number/partials/cases.tsx +1 -1
- package/src/components/input-number/partials/variants.tsx +1 -1
- package/src/components/input-number/routes.ts +0 -1
- package/src/components/input-password/basic.tsx +3 -1
- package/src/components/input-password/partials/cases.tsx +1 -1
- package/src/components/input-password/partials/variants.tsx +1 -1
- package/src/components/input-password/routes.ts +0 -1
- package/src/components/input-password/show-password.tsx +3 -1
- package/src/components/input-radio/basic.tsx +3 -1
- package/src/components/input-radio/horizontal.tsx +4 -2
- package/src/components/input-radio/partials/cases.tsx +1 -1
- package/src/components/input-radio/partials/variants.tsx +1 -1
- package/src/components/input-radio/routes.ts +0 -2
- package/src/components/input-radio/select.tsx +3 -2
- package/src/components/input-range/basic.tsx +3 -1
- package/src/components/input-range/partials/cases.tsx +1 -1
- package/src/components/input-range/partials/variants.tsx +1 -1
- package/src/components/input-range/routes.ts +0 -1
- package/src/components/input-text/basic.tsx +3 -1
- package/src/components/input-text/blur.tsx +3 -1
- package/src/components/input-text/focus.tsx +2 -1
- package/src/components/input-text/partials/cases.tsx +1 -1
- package/src/components/input-text/partials/variants.tsx +1 -1
- package/src/components/input-text/routes.ts +0 -1
- package/src/components/kolibri/basic.tsx +5 -2
- package/src/components/kolibri/routes.ts +0 -1
- package/src/components/link/basic.tsx +13 -8
- package/src/components/link/icons.tsx +7 -2
- package/src/components/link/image.tsx +5 -4
- package/src/components/link/routes.ts +0 -4
- package/src/components/link/target.tsx +8 -6
- package/src/components/link-button/basic.tsx +3 -4
- package/src/components/link-button/routes.ts +0 -1
- package/src/components/link-group/basic.tsx +6 -4
- package/src/components/link-group/horizontal.tsx +6 -4
- package/src/components/logo/basic.tsx +4 -2
- package/src/components/logo/routes.ts +0 -1
- package/src/components/modal/basic.tsx +3 -1
- package/src/components/modal/routes.ts +0 -1
- package/src/components/nav/aria-current.tsx +4 -3
- package/src/components/nav/basic.tsx +22 -4
- package/src/components/nav/horizontal.tsx +2 -1
- package/src/components/nav/links.ts +17 -17
- package/src/components/pagination/basic.tsx +2 -1
- package/src/components/pagination/routes.ts +0 -1
- package/src/components/progress/basic.tsx +2 -1
- package/src/components/progress/routes.ts +0 -1
- package/src/components/quote/basic.tsx +3 -1
- package/src/components/quote/block.tsx +3 -1
- package/src/components/quote/routes.ts +0 -1
- package/src/components/select/basic.tsx +3 -1
- package/src/components/select/partials/cases.tsx +3 -3
- package/src/components/select/partials/variants.tsx +1 -1
- package/src/components/select/routes.ts +0 -1
- package/src/components/skip-nav/basic.tsx +4 -1
- package/src/components/skip-nav/routes.ts +0 -1
- package/src/components/spin/basic.tsx +2 -1
- package/src/components/spin/custom.tsx +4 -2
- package/src/components/spin/cycle.tsx +2 -1
- package/src/components/spin/routes.ts +0 -1
- package/src/components/split-button/basic.tsx +3 -1
- package/src/components/table/badge-size.tsx +5 -3
- package/src/components/table/column-alignment.tsx +4 -2
- package/src/components/table/horizontal-scrollbar.tsx +4 -2
- package/src/components/table/pagination-position.tsx +8 -4
- package/src/components/table/render-cell.tsx +4 -3
- package/src/components/table/routes.ts +2 -3
- package/src/components/table/sort-data.tsx +6 -3
- package/src/components/table/with-pagination.tsx +6 -3
- package/src/components/tabs/basic.tsx +3 -1
- package/src/components/tabs/icons-only.tsx +3 -1
- package/src/components/tabs/routes.ts +0 -1
- package/src/components/textarea/adjust-height.tsx +2 -1
- package/src/components/textarea/basic.tsx +3 -1
- package/src/components/textarea/counter.tsx +3 -1
- package/src/components/textarea/disabled.tsx +2 -1
- package/src/components/textarea/partials/cases.tsx +2 -1
- package/src/components/textarea/partials/variants.tsx +1 -1
- package/src/components/textarea/placeholder.tsx +2 -1
- package/src/components/textarea/readonly.tsx +2 -1
- package/src/components/textarea/resize.tsx +2 -1
- package/src/components/textarea/routes.ts +2 -9
- package/src/components/textarea/rows.tsx +3 -2
- package/src/components/toast/basic.tsx +4 -1
- package/src/components/tree/basic.tsx +72 -0
- package/src/components/tree/routes.ts +9 -0
- package/src/components/types.tsx +14 -13
- package/src/components/version/basic.tsx +2 -1
- package/src/components/version/context.tsx +2 -1
- package/src/components/version/routes.ts +0 -2
- package/src/hooks/useSetCurrentLocation.ts +2 -1
- package/src/main.ts +0 -2
- package/src/react.main.tsx +3 -2
- package/src/scenarios/appointment-form/AppointmentForm.tsx +21 -12
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +13 -13
- package/src/scenarios/appointment-form/DistrictForm.tsx +13 -13
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +25 -7
- package/src/scenarios/appointment-form/Summary.tsx +4 -2
- package/src/scenarios/appointment-form/formUtils.ts +8 -0
- package/src/scenarios/complex-form/kopfdaten/component.tsx +2 -1
- package/src/scenarios/complex-form/location/component.tsx +3 -2
- package/src/scenarios/complex-form/schedule/component.tsx +1 -0
- package/src/scenarios/custom-tooltip-width.tsx +3 -1
- package/src/scenarios/inputs-get-value.tsx +6 -3
- package/src/scenarios/routes.ts +2 -2
- package/src/shares/randomEmoji.ts +4 -0
- package/src/shares/routes.ts +2 -0
- package/src/shares/store.ts +3 -3
- package/dist/1090.js +0 -2
- package/dist/1181.js +0 -2
- package/dist/1218.js +0 -2
- package/dist/1338.js +0 -2
- package/dist/1517.js +0 -2
- package/dist/1596.js +0 -2
- package/dist/2163.js +0 -2
- package/dist/2415.js +0 -2
- package/dist/2594.js +0 -2
- package/dist/2611.js +0 -2
- package/dist/2643.js +0 -2
- package/dist/3099.js +0 -2
- package/dist/3145.js +0 -2
- package/dist/3345.js +0 -2
- package/dist/3466.js +0 -2
- package/dist/3580.js +0 -2
- package/dist/3619.js +0 -2
- package/dist/3776.js +0 -2
- package/dist/4150.js +0 -2
- package/dist/42.js +0 -2
- package/dist/4463.js +0 -2
- package/dist/4686.js +0 -2
- package/dist/4756.js +0 -2
- package/dist/5027.js +0 -2
- package/dist/521.js +0 -2
- package/dist/5373.js +0 -2
- package/dist/5518.js +0 -2
- package/dist/5853.js +0 -2
- package/dist/6010.js +0 -2
- package/dist/6308.js +0 -2
- package/dist/7170.js +0 -2
- package/dist/755.js +0 -2
- package/dist/7654.js +0 -2
- package/dist/8037.js +0 -1
- package/dist/817.js +0 -2
- package/dist/881.js +0 -2
- package/dist/892.js +0 -2
- package/dist/8948.js +0 -2
- package/dist/8951.js +0 -2
- package/dist/9227.js +0 -2
- package/dist/9317.js +0 -2
- package/dist/9670.js +0 -2
- package/dist/9700.js +0 -2
- package/dist/9727.js +0 -2
- package/dist/9797.js +0 -2
- package/dist/9912.js +0 -2
- package/src/scenarios/appointment-form/ErrorList.tsx +0 -35
- /package/dist/{1090.js.LICENSE.txt → 104.js.LICENSE.txt} +0 -0
- /package/dist/{1181.js.LICENSE.txt → 1296.js.LICENSE.txt} +0 -0
- /package/dist/{1218.js.LICENSE.txt → 1461.js.LICENSE.txt} +0 -0
- /package/dist/{1338.js.LICENSE.txt → 1684.js.LICENSE.txt} +0 -0
- /package/dist/{1517.js.LICENSE.txt → 1685.js.LICENSE.txt} +0 -0
- /package/dist/{1596.js.LICENSE.txt → 1888.js.LICENSE.txt} +0 -0
- /package/dist/{2079.js.LICENSE.txt → 2120.js.LICENSE.txt} +0 -0
- /package/dist/{2163.js.LICENSE.txt → 2240.js.LICENSE.txt} +0 -0
- /package/dist/{2415.js.LICENSE.txt → 2364.js.LICENSE.txt} +0 -0
- /package/dist/{2594.js.LICENSE.txt → 2392.js.LICENSE.txt} +0 -0
- /package/dist/{2611.js.LICENSE.txt → 2444.js.LICENSE.txt} +0 -0
- /package/dist/{2643.js.LICENSE.txt → 2628.js.LICENSE.txt} +0 -0
- /package/dist/{3034.js.LICENSE.txt → 2740.js.LICENSE.txt} +0 -0
- /package/dist/{3099.js.LICENSE.txt → 2764.js.LICENSE.txt} +0 -0
- /package/dist/{3145.js.LICENSE.txt → 2782.js.LICENSE.txt} +0 -0
- /package/dist/{3345.js.LICENSE.txt → 2812.js.LICENSE.txt} +0 -0
- /package/dist/{3388.js.LICENSE.txt → 2984.js.LICENSE.txt} +0 -0
- /package/dist/{3466.js.LICENSE.txt → 3200.js.LICENSE.txt} +0 -0
- /package/dist/{3580.js.LICENSE.txt → 3204.js.LICENSE.txt} +0 -0
- /package/dist/{3600.js.LICENSE.txt → 3384.js.LICENSE.txt} +0 -0
- /package/dist/{3619.js.LICENSE.txt → 352.js.LICENSE.txt} +0 -0
- /package/dist/{3776.js.LICENSE.txt → 3564.js.LICENSE.txt} +0 -0
- /package/dist/{3845.js.LICENSE.txt → 3920.js.LICENSE.txt} +0 -0
- /package/dist/{4150.js.LICENSE.txt → 4064.js.LICENSE.txt} +0 -0
- /package/dist/{42.js.LICENSE.txt → 4443.js.LICENSE.txt} +0 -0
- /package/dist/{4279.js.LICENSE.txt → 4544.js.LICENSE.txt} +0 -0
- /package/dist/{4463.js.LICENSE.txt → 4728.js.LICENSE.txt} +0 -0
- /package/dist/{4669.js.LICENSE.txt → 4915.js.LICENSE.txt} +0 -0
- /package/dist/{4686.js.LICENSE.txt → 4988.js.LICENSE.txt} +0 -0
- /package/dist/{4756.js.LICENSE.txt → 5376.js.LICENSE.txt} +0 -0
- /package/dist/{5027.js.LICENSE.txt → 5456.js.LICENSE.txt} +0 -0
- /package/dist/{521.js.LICENSE.txt → 5628.js.LICENSE.txt} +0 -0
- /package/dist/{5324.js.LICENSE.txt → 5744.js.LICENSE.txt} +0 -0
- /package/dist/{5373.js.LICENSE.txt → 5768.js.LICENSE.txt} +0 -0
- /package/dist/{5518.js.LICENSE.txt → 5839.js.LICENSE.txt} +0 -0
- /package/dist/{5853.js.LICENSE.txt → 5956.js.LICENSE.txt} +0 -0
- /package/dist/{6010.js.LICENSE.txt → 5972.js.LICENSE.txt} +0 -0
- /package/dist/{6308.js.LICENSE.txt → 6040.js.LICENSE.txt} +0 -0
- /package/dist/{7170.js.LICENSE.txt → 6112.js.LICENSE.txt} +0 -0
- /package/dist/{755.js.LICENSE.txt → 6476.js.LICENSE.txt} +0 -0
- /package/dist/{7654.js.LICENSE.txt → 6992.js.LICENSE.txt} +0 -0
- /package/dist/{817.js.LICENSE.txt → 7192.js.LICENSE.txt} +0 -0
- /package/dist/{8612.js.LICENSE.txt → 7312.js.LICENSE.txt} +0 -0
- /package/dist/{8734.js.LICENSE.txt → 736.js.LICENSE.txt} +0 -0
- /package/dist/{881.js.LICENSE.txt → 7496.js.LICENSE.txt} +0 -0
- /package/dist/{8869.js.LICENSE.txt → 7508.js.LICENSE.txt} +0 -0
- /package/dist/{892.js.LICENSE.txt → 7596.js.LICENSE.txt} +0 -0
- /package/dist/{8948.js.LICENSE.txt → 7712.js.LICENSE.txt} +0 -0
- /package/dist/{8951.js.LICENSE.txt → 7804.js.LICENSE.txt} +0 -0
- /package/dist/{9227.js.LICENSE.txt → 7808.js.LICENSE.txt} +0 -0
- /package/dist/{9317.js.LICENSE.txt → 8188.js.LICENSE.txt} +0 -0
- /package/dist/{9330.js.LICENSE.txt → 8232.js.LICENSE.txt} +0 -0
- /package/dist/{9670.js.LICENSE.txt → 8248.js.LICENSE.txt} +0 -0
- /package/dist/{9700.js.LICENSE.txt → 828.js.LICENSE.txt} +0 -0
- /package/dist/{9727.js.LICENSE.txt → 8476.js.LICENSE.txt} +0 -0
- /package/dist/{9797.js.LICENSE.txt → 8524.js.LICENSE.txt} +0 -0
- /package/dist/{9865.js.LICENSE.txt → 9072.js.LICENSE.txt} +0 -0
- /package/dist/{9886.js.LICENSE.txt → 9088.js.LICENSE.txt} +0 -0
- /package/dist/{9912.js.LICENSE.txt → 9224.js.LICENSE.txt} +0 -0
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
import { Routes } from '../../shares/types';
|
|
2
|
-
|
|
3
2
|
import { CardBasic } from './basic';
|
|
4
|
-
|
|
5
3
|
import { CardConfirm } from './confirm';
|
|
6
|
-
|
|
7
4
|
import { CardFlex } from './flex';
|
|
8
|
-
|
|
9
5
|
import { CardSelection } from './selection';
|
|
10
6
|
|
|
11
7
|
export const CARD_ROUTES: Routes = {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
|
|
2
3
|
import { KolDetails } from '@public-ui/react';
|
|
3
4
|
|
|
4
|
-
import { FC } from 'react';
|
|
5
|
+
import type { FC } from 'react';
|
|
5
6
|
|
|
6
7
|
export const DetailsBasic: FC = () => (
|
|
7
8
|
<p className="grid gap-4">
|
|
@@ -10,6 +11,11 @@ export const DetailsBasic: FC = () => (
|
|
|
10
11
|
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
11
12
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
12
13
|
</KolDetails>
|
|
14
|
+
<KolDetails _disabled _label="Nach Laden der Seite geöffnet (deaktiviert)" _open>
|
|
15
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
16
|
+
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
17
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
18
|
+
</KolDetails>
|
|
13
19
|
<KolDetails _label="Nach Laden der Seite geöffnet" _open>
|
|
14
20
|
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
15
21
|
voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { KoliBriTableHeaders } from '@public-ui/components';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
import { Bundesanstalt } from '@public-ui/components';
|
|
2
5
|
import {
|
|
3
6
|
KolAbbr,
|
|
4
7
|
KolAccordion,
|
|
@@ -32,9 +35,10 @@ import {
|
|
|
32
35
|
KolTextarea,
|
|
33
36
|
KolVersion,
|
|
34
37
|
} from '@public-ui/react';
|
|
35
|
-
|
|
38
|
+
|
|
36
39
|
import { getTheme, getThemeName } from '../../shares/store';
|
|
37
40
|
|
|
41
|
+
import type { FC } from 'react';
|
|
38
42
|
const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
39
43
|
horizontal: [
|
|
40
44
|
[
|
|
@@ -815,29 +819,29 @@ export const HandoutBasic: FC = () => (
|
|
|
815
819
|
</div>
|
|
816
820
|
<div className="grid gap-2 py-2">
|
|
817
821
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
818
|
-
<KolLinkButton _href="
|
|
819
|
-
<KolLinkButton _href="
|
|
820
|
-
<KolLinkButton _href="
|
|
822
|
+
<KolLinkButton _href="#/back-page" _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
|
|
823
|
+
<KolLinkButton _href="#/back-page" _icons={{ left: 'codicon codicon-arrow-left' }} _label="primary" _variant="primary"></KolLinkButton>
|
|
824
|
+
<KolLinkButton _href="#/back-page" _hideLabel _icons="codicon codicon-arrow-left" _label="primary" _variant="primary"></KolLinkButton>
|
|
821
825
|
</div>
|
|
822
826
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
823
|
-
<KolLinkButton _href="
|
|
824
|
-
<KolLinkButton _href="
|
|
825
|
-
<KolLinkButton _href="
|
|
827
|
+
<KolLinkButton _href="#/back-page" _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
|
|
828
|
+
<KolLinkButton _href="#/back-page" _icons={{ right: 'codicon codicon-arrow-right' }} _label="secondary" _variant="secondary"></KolLinkButton>
|
|
829
|
+
<KolLinkButton _href="#/back-page" _hideLabel _icons="codicon codicon-arrow-right" _label="secondary" _variant="secondary"></KolLinkButton>
|
|
826
830
|
</div>
|
|
827
831
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
828
|
-
<KolLinkButton _href="
|
|
829
|
-
<KolLinkButton _href="
|
|
830
|
-
<KolLinkButton _href="
|
|
832
|
+
<KolLinkButton _href="#/back-page" _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
|
|
833
|
+
<KolLinkButton _href="#/back-page" _icons={{ top: 'codicon codicon-arrow-up' }} _label="danger" _variant="danger"></KolLinkButton>
|
|
834
|
+
<KolLinkButton _href="#/back-page" _hideLabel _icons="codicon codicon-arrow-up" _label="danger" _variant="danger"></KolLinkButton>
|
|
831
835
|
</div>
|
|
832
836
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
833
|
-
<KolLinkButton _href="
|
|
834
|
-
<KolLinkButton _href="
|
|
835
|
-
<KolLinkButton _href="
|
|
837
|
+
<KolLinkButton _href="#/back-page" _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
|
|
838
|
+
<KolLinkButton _href="#/back-page" _icons={{ bottom: 'codicon codicon-arrow-down' }} _label="normal" _variant="normal"></KolLinkButton>
|
|
839
|
+
<KolLinkButton _href="#/back-page" _hideLabel _icons="codicon codicon-arrow-down" _label="normal" _variant="normal"></KolLinkButton>
|
|
836
840
|
</div>
|
|
837
841
|
<div className="grid gap-2 grid-cols-[4fr_4fr_1fr] justify-items-center">
|
|
838
|
-
<KolLinkButton _href="
|
|
839
|
-
<KolLinkButton _href="
|
|
840
|
-
<KolLinkButton _href="
|
|
842
|
+
<KolLinkButton _href="#/back-page" _label="ghost" _variant="ghost"></KolLinkButton>
|
|
843
|
+
<KolLinkButton _href="#/back-page" _label="ghost" _variant="ghost"></KolLinkButton>
|
|
844
|
+
<KolLinkButton _href="#/back-page" _icons="codicon codicon-home" _hideLabel _label="ghost" _variant="ghost"></KolLinkButton>
|
|
841
845
|
</div>
|
|
842
846
|
</div>
|
|
843
847
|
</KolTabs>
|
|
@@ -847,14 +851,14 @@ export const HandoutBasic: FC = () => (
|
|
|
847
851
|
<div slot="" className="grid gap-2 p-2">
|
|
848
852
|
<KolAccordion _label="Links" _level={3} _open>
|
|
849
853
|
<div className="grid gap-2" slot="">
|
|
850
|
-
<KolLink _href="
|
|
851
|
-
<KolLink _href="
|
|
852
|
-
<KolLink _href="
|
|
854
|
+
<KolLink _href="#/back-page" _label="Linktext"></KolLink>
|
|
855
|
+
<KolLink _href="#/back-page" _icons="codicon codicon-home" _label="Linktext mit Icon"></KolLink>
|
|
856
|
+
<KolLink _href="#/back-page" _icons="codicon codicon-home" _hideLabel _label="Linktext nur mit Icon"></KolLink>
|
|
853
857
|
<KolLink _href="/" _label="Besuchter Link"></KolLink>
|
|
854
858
|
<p>
|
|
855
|
-
Ich bin ein <KolLink _href="
|
|
859
|
+
Ich bin ein <KolLink _href="#/back-page" _label="externer Link" _target="w3c"></KolLink> im Fließtext.
|
|
856
860
|
</p>
|
|
857
|
-
<KolLink _href="
|
|
861
|
+
<KolLink _href="#/back-page" _label="">
|
|
858
862
|
<KolLogo slot="expert" class="inline-flex w-50" _org={Bundesanstalt['Informationstechnikzentrum Bund']} />
|
|
859
863
|
</KolLink>
|
|
860
864
|
</div>
|
|
@@ -909,47 +913,47 @@ export const HandoutBasic: FC = () => (
|
|
|
909
913
|
{
|
|
910
914
|
_label: 'Homepage',
|
|
911
915
|
_icons: 'codicon codicon-home',
|
|
912
|
-
_href: '#/',
|
|
916
|
+
_href: '#/back-page',
|
|
913
917
|
},
|
|
914
918
|
{
|
|
915
919
|
_label: '2 Navigation point',
|
|
916
920
|
_icons: 'codicon codicon-home',
|
|
917
|
-
_href: '#/
|
|
921
|
+
_href: '#/back-page',
|
|
918
922
|
},
|
|
919
923
|
{
|
|
920
924
|
_active: true,
|
|
921
925
|
_label: '3 Navigation point',
|
|
922
|
-
_href: '
|
|
926
|
+
_href: '#/back-page',
|
|
923
927
|
_icons: 'codicon codicon-home',
|
|
924
928
|
_children: [
|
|
925
929
|
{
|
|
926
930
|
_label: '3.1 Navigation point',
|
|
927
931
|
_icons: 'codicon codicon-home',
|
|
928
|
-
_href: '#/',
|
|
932
|
+
_href: '#/back-page',
|
|
929
933
|
},
|
|
930
934
|
{
|
|
931
935
|
_label: '3.2 External navigation point',
|
|
932
936
|
_icons: 'codicon codicon-home',
|
|
933
|
-
_href: '
|
|
937
|
+
_href: '#/back-page',
|
|
934
938
|
_target: '_blank',
|
|
935
939
|
},
|
|
936
940
|
{
|
|
937
941
|
_label: '3.3 Navigation point',
|
|
938
|
-
_href: '
|
|
942
|
+
_href: '#/back-page',
|
|
939
943
|
_icons: 'codicon codicon-home',
|
|
940
944
|
_children: [
|
|
941
945
|
{
|
|
942
946
|
_active: true,
|
|
943
947
|
_label: '3.3.1 Navigation point (active)',
|
|
944
948
|
_icons: 'codicon codicon-home',
|
|
945
|
-
_href: '
|
|
949
|
+
_href: '#/back-page',
|
|
946
950
|
},
|
|
947
|
-
{ _label: '3.3.2 Navigation point', _icons: 'codicon codicon-home', _href: '
|
|
951
|
+
{ _label: '3.3.2 Navigation point', _icons: 'codicon codicon-home', _href: '#/back-page' },
|
|
948
952
|
],
|
|
949
953
|
},
|
|
950
954
|
],
|
|
951
955
|
},
|
|
952
|
-
{ _label: '3 Navigation point', _icons: 'codicon codicon-home', _href: '
|
|
956
|
+
{ _label: '3 Navigation point', _icons: 'codicon codicon-home', _href: '#/back-page' },
|
|
953
957
|
]}
|
|
954
958
|
_hasCompactButton
|
|
955
959
|
/>
|
|
@@ -960,11 +964,11 @@ export const HandoutBasic: FC = () => (
|
|
|
960
964
|
<KolBreadcrumb
|
|
961
965
|
_label="Breadcrumb aus Text-Links"
|
|
962
966
|
_links={[
|
|
963
|
-
{ _label: 'Startseite', _href: '#/' },
|
|
964
|
-
{ _label: 'Unterseite der Startseite', _href: '#/
|
|
967
|
+
{ _label: 'Startseite', _href: '#/back-page' },
|
|
968
|
+
{ _label: 'Unterseite der Startseite', _href: '#/back-page' },
|
|
965
969
|
{
|
|
966
970
|
_label: 'Unterseite der Unterseite',
|
|
967
|
-
_href: '#/
|
|
971
|
+
_href: '#/back-page',
|
|
968
972
|
},
|
|
969
973
|
]}
|
|
970
974
|
></KolBreadcrumb>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { KolImage } from '@public-ui/react';
|
|
1
|
+
import type { FC } from 'react';
|
|
3
2
|
import React from 'react';
|
|
4
3
|
|
|
4
|
+
import { KolImage } from '@public-ui/react';
|
|
5
|
+
|
|
5
6
|
export const ImageBasic: FC = () => <KolImage className="w-80%" _src="abgrenzung.jpg" _alt="Darstellung des KoliBri-Theming" />;
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputCheckbox } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputCheckboxCases = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputCheckboxCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputCheckboxVariants = forwardRef<HTMLKolInputCheckboxElement, Components.KolInputCheckbox>(function InputCheckboxVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
3
4
|
import { FormWrap } from '../FormWrap';
|
|
5
|
+
import { InputCheckboxVariants } from './partials/variants';
|
|
4
6
|
|
|
5
7
|
export const InputCheckboxSwitch: FC = () => <FormWrap RefComponent={InputCheckboxVariants} _variant="switch" />;
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputColor } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputColorCases = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputColorCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputColorVariants = forwardRef<HTMLKolInputColorElement, Components.KolInputColor>(function InputColorVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputDate } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputDateCases = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputDateCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputDateVariants = forwardRef<HTMLKolInputDateElement, Components.KolInputDate>(function InputDateVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputEmail } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputEmailCases = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputEmailCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputEmailVariants = forwardRef<HTMLKolInputEmailElement, Components.KolInputEmail>(function InputEmailVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputFile } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputFileCases = forwardRef<HTMLKolInputFileElement, Components.KolInputFile>(function InputFileCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputFileCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputFileVariants = forwardRef<HTMLKolInputFileElement, Components.KolInputFile>(function InputFileVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { FC } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
2
4
|
import { FormWrap } from '../FormWrap';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
3
6
|
import { InputNumberVariants } from './partials/variants';
|
|
4
7
|
|
|
5
|
-
export const InputNumberBasic: FC = () =>
|
|
8
|
+
export const InputNumberBasic: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
The <code>{'kol-input-number'}</code>-component encompasses basic functionalities, utilizing the min, max, and step attributes to restrict the range of
|
|
13
|
+
input values. Despite these constraints, it allows free input that can ignore the defined minimum and maximum values, as well as step sizes. The
|
|
14
|
+
component intentionally does not emphasize validation rules, supporting examples without form validation, and refrains from additional validation
|
|
15
|
+
through native HTML element validation.
|
|
16
|
+
</p>
|
|
17
|
+
</SampleDescription>
|
|
18
|
+
<FormWrap RefComponent={InputNumberVariants} />
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputNumber } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputNumberCases = forwardRef<HTMLKolInputNumberElement, Components.KolInputNumber>(function InputNumberCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
|
|
3
|
-
import { Components } from '@public-ui/components';
|
|
4
3
|
import { InputNumberCases } from './cases';
|
|
5
4
|
|
|
5
|
+
import type { Components } from '@public-ui/components';
|
|
6
6
|
export const InputNumberVariants = forwardRef<HTMLKolInputNumberElement, Components.KolInputNumber>(function InputNumberVariant(props, ref) {
|
|
7
7
|
return (
|
|
8
8
|
<div className="grid md:grid-cols-2 gap-4">
|
|
@@ -2,9 +2,9 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
|
|
3
3
|
import { KolInputPassword } from '@public-ui/react';
|
|
4
4
|
|
|
5
|
-
import { Components } from '@public-ui/components';
|
|
6
5
|
import { ERROR_MSG } from '../../../shares/constants';
|
|
7
6
|
|
|
7
|
+
import type { Components } from '@public-ui/components';
|
|
8
8
|
export const InputPasswordCases = forwardRef<HTMLKolInputPasswordElement, Components.KolInputPassword>(function InputPasswordCases(props, ref) {
|
|
9
9
|
return (
|
|
10
10
|
<div className="grid gap-4">
|