@public-ui/sample-react 2.0.8 → 2.0.10
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/dist/1051.js +2 -0
- package/dist/1278.js +2 -0
- package/dist/1499.js +2 -0
- package/dist/1502.js +2 -0
- package/dist/1517.js +2 -0
- package/dist/1699.js +2 -0
- package/dist/1731.js +2 -0
- package/dist/1848.js +2 -0
- package/dist/1940.js +2 -0
- package/dist/2015.js +2 -0
- package/dist/2156.js +2 -0
- package/dist/2182.js +2 -0
- package/dist/{3384.js → 2186.js} +2 -2
- package/dist/2439.js +2 -0
- package/dist/2563.js +2 -0
- package/dist/2619.js +2 -0
- package/dist/2624.js +2 -0
- package/dist/2671.js +2 -0
- package/dist/2926.js +2 -0
- package/dist/3028.js +2 -0
- package/dist/{2984.js → 3073.js} +2 -2
- package/dist/351.js +2 -0
- package/dist/3625.js +2 -0
- package/dist/4619.js +2 -0
- package/dist/{9340.js → 4627.js} +2 -2
- package/dist/4937.js +2 -0
- package/dist/5172.js +2 -0
- package/dist/528.js +2 -0
- package/dist/5342.js +2 -0
- package/dist/5431.js +2 -0
- package/dist/5784.js +2 -0
- package/dist/5896.js +2 -0
- package/dist/6114.js +2 -0
- package/dist/6329.js +2 -0
- package/dist/6357.js +2 -0
- package/dist/6511.js +2 -0
- package/dist/7086.js +2 -0
- package/dist/710.js +2 -0
- package/dist/7160.js +2 -0
- package/dist/7240.js +2 -0
- package/dist/7435.js +2 -0
- package/dist/7628.js +2 -0
- package/dist/7732.js +2 -0
- package/dist/7748.js +2 -0
- package/dist/7950.js +2 -0
- package/dist/7986.js +2 -0
- package/dist/8240.js +2 -0
- package/dist/8247.js +2 -0
- package/dist/8256.js +2 -0
- package/dist/8494.js +2 -0
- package/dist/8507.js +2 -0
- package/dist/{6476.js → 9014.js} +2 -2
- package/dist/9035.js +2 -0
- package/dist/9094.js +2 -0
- package/dist/9179.js +2 -0
- package/dist/9183.js +2 -0
- package/dist/{9224.js → 9190.js} +2 -2
- package/dist/9237.js +2 -0
- package/dist/9246.js +2 -0
- package/dist/9424.js +1 -1
- package/dist/9456.js +2 -0
- package/dist/9483.js +2 -0
- package/dist/9485.js +2 -0
- package/dist/9528.js +2 -0
- package/dist/9622.js +2 -0
- package/dist/97.js +2 -0
- package/dist/9758.js +2 -0
- package/dist/9758.js.LICENSE.txt +3 -0
- package/dist/9829.js +2 -0
- package/dist/9829.js.LICENSE.txt +3 -0
- package/dist/9918.js +2 -0
- package/dist/9918.js.LICENSE.txt +3 -0
- package/dist/{6112.js → 9993.js} +2 -2
- package/dist/9993.js.LICENSE.txt +3 -0
- package/dist/main.css +1 -1
- package/dist/main.js +1 -17750
- package/dist/main.js.LICENSE.txt +2 -2
- package/package.json +16 -16
- package/src/App.tsx +7 -6
- package/src/components/Sidebar.tsx +1 -1
- package/src/components/abbr/basic.tsx +9 -5
- package/src/components/accordion/basic.tsx +17 -11
- package/src/components/accordion/headlines.tsx +26 -20
- package/src/components/accordion/list.tsx +13 -7
- package/src/components/alert/basic.tsx +16 -9
- package/src/components/alert/html.tsx +26 -21
- package/src/components/avatar/basic.tsx +14 -9
- package/src/components/badge/basic.tsx +13 -7
- package/src/components/badge/button.tsx +19 -10
- package/src/components/breadcrumb/basic.tsx +52 -46
- package/src/components/button/access-key.tsx +22 -17
- package/src/components/button/baselined.tsx +12 -6
- package/src/components/button/basic.tsx +9 -1
- package/src/components/button/hide-label.tsx +24 -15
- package/src/components/button/icons.tsx +25 -19
- package/src/components/button/width.tsx +21 -15
- package/src/components/button-group/basic.tsx +12 -6
- package/src/components/button-link/icons.tsx +36 -30
- package/src/components/button-link/image.tsx +13 -7
- package/src/components/card/basic.tsx +9 -3
- package/src/components/card/confirm.tsx +19 -13
- package/src/components/card/flex.tsx +36 -27
- package/src/components/card/routes.ts +2 -0
- package/src/components/card/selection.tsx +53 -47
- package/src/components/details/basic.tsx +26 -17
- package/src/components/handout/basic.tsx +59 -28
- package/src/components/heading/badged.tsx +38 -32
- package/src/components/heading/basic.tsx +14 -8
- package/src/components/heading/paragraph.tsx +47 -38
- package/src/components/icon/basic.tsx +16 -10
- package/src/components/image/basic.tsx +9 -2
- package/src/components/indented-text/basic.tsx +23 -17
- package/src/components/input-checkbox/basic.tsx +13 -1
- package/src/components/input-checkbox/button.tsx +14 -1
- package/src/components/input-checkbox/partials/cases.tsx +1 -1
- package/src/components/input-checkbox/switch.tsx +16 -3
- package/src/components/input-color/basic.tsx +12 -1
- package/src/components/input-color/partials/cases.tsx +8 -2
- package/src/components/input-date/basic.tsx +14 -1
- package/src/components/input-date/partials/cases.tsx +9 -1
- package/src/components/input-email/basic.tsx +9 -1
- package/src/components/input-email/partials/cases.tsx +2 -2
- package/src/components/input-file/basic.tsx +12 -1
- package/src/components/input-file/partials/cases.tsx +2 -2
- package/src/components/input-number/partials/cases.tsx +1 -1
- package/src/components/input-password/basic.tsx +9 -1
- package/src/components/input-password/partials/cases.tsx +2 -2
- package/src/components/input-password/show-password.tsx +28 -19
- package/src/components/input-radio/basic.tsx +9 -1
- package/src/components/input-radio/objectValue.tsx +37 -0
- package/src/components/input-radio/partials/cases.tsx +2 -2
- package/src/components/input-radio/routes.ts +2 -0
- package/src/components/input-radio/select.tsx +9 -3
- package/src/components/input-range/basic.tsx +9 -1
- package/src/components/input-range/partials/cases.tsx +12 -2
- package/src/components/input-text/basic.tsx +9 -1
- package/src/components/input-text/blur.tsx +17 -12
- package/src/components/input-text/focus.tsx +14 -8
- package/src/components/input-text/hide-errors.tsx +3 -3
- package/src/components/input-text/partials/cases.tsx +4 -4
- package/src/components/link/basic.tsx +25 -19
- package/src/components/link/icons.tsx +40 -34
- package/src/components/link/image.tsx +18 -12
- package/src/components/link/target.tsx +14 -8
- package/src/components/link-button/basic.tsx +14 -8
- package/src/components/link-group/basic.tsx +9 -1
- package/src/components/link-group/horizontal.tsx +9 -1
- package/src/components/logo/basic.tsx +9 -1
- package/src/components/modal/basic.tsx +37 -28
- package/src/components/nav/basic.tsx +7 -1
- package/src/components/nav/horizontal.tsx +12 -3
- package/src/components/nav/links.ts +18 -2
- package/src/components/pagination/basic.tsx +24 -16
- package/src/components/progress/basic.tsx +10 -4
- package/src/components/quote/basic.tsx +7 -1
- package/src/components/quote/block.tsx +15 -6
- package/src/components/select/basic.tsx +12 -1
- package/src/components/select/partials/cases.tsx +10 -2
- package/src/components/spin/basic.tsx +9 -1
- package/src/components/spin/custom.tsx +12 -3
- package/src/components/spin/cycle.tsx +9 -1
- package/src/components/split-button/basic.tsx +18 -9
- package/src/components/table/badge-size.tsx +12 -1
- package/src/components/table/sort-data.tsx +14 -4
- package/src/components/table/with-pagination.tsx +12 -3
- package/src/components/tabs/basic.tsx +18 -12
- package/src/components/tabs/icons-only.tsx +12 -6
- package/src/components/textarea/adjust-height.tsx +14 -8
- package/src/components/textarea/basic.tsx +9 -1
- package/src/components/textarea/counter.tsx +13 -1
- package/src/components/textarea/disabled.tsx +14 -3
- package/src/components/textarea/partials/cases.tsx +1 -1
- package/src/components/textarea/placeholder.tsx +9 -3
- package/src/components/textarea/readonly.tsx +14 -3
- package/src/components/textarea/resize.tsx +13 -7
- package/src/components/textarea/rows.tsx +9 -3
- package/src/components/toast/basic.tsx +18 -12
- package/src/components/version/basic.tsx +9 -2
- package/src/components/version/context.tsx +11 -5
- package/src/react.main.tsx +44 -18
- package/src/scenarios/appointment-form/AvailableAppointmentsForm.tsx +11 -4
- package/src/scenarios/appointment-form/DistrictForm.tsx +9 -2
- package/src/scenarios/appointment-form/PersonalInformationForm.tsx +8 -2
- package/src/scenarios/appointment-form/formUtils.ts +6 -0
- package/src/scenarios/routes.ts +0 -2
- package/src/scenarios/static-form.tsx +15 -0
- package/src/shares/store.ts +5 -5
- package/src/shares/theme.ts +6 -5
- package/src/shares/types.ts +1 -1
- package/webpack.config.js +1 -0
- package/dist/104.js +0 -2
- package/dist/1296.js +0 -2
- package/dist/1461.js +0 -2
- package/dist/1684.js +0 -2
- package/dist/1685.js +0 -2
- package/dist/1888.js +0 -2
- package/dist/2120.js +0 -2
- package/dist/2240.js +0 -2
- package/dist/2364.js +0 -2
- package/dist/2392.js +0 -2
- package/dist/2444.js +0 -2
- package/dist/2628.js +0 -2
- package/dist/2740.js +0 -2
- package/dist/2764.js +0 -2
- package/dist/2782.js +0 -2
- package/dist/2812.js +0 -2
- package/dist/3200.js +0 -2
- package/dist/3204.js +0 -2
- package/dist/352.js +0 -2
- package/dist/3564.js +0 -2
- package/dist/3920.js +0 -2
- package/dist/4064.js +0 -2
- package/dist/4136.js +0 -1
- package/dist/4544.js +0 -2
- package/dist/4728.js +0 -2
- package/dist/4915.js +0 -2
- package/dist/4988.js +0 -2
- package/dist/5376.js +0 -2
- package/dist/5456.js +0 -2
- package/dist/5615.js +0 -2
- package/dist/5628.js +0 -2
- package/dist/5744.js +0 -2
- package/dist/5768.js +0 -2
- package/dist/5839.js +0 -2
- package/dist/5956.js +0 -2
- package/dist/5972.js +0 -2
- package/dist/6040.js +0 -2
- package/dist/7192.js +0 -2
- package/dist/72.js +0 -2
- package/dist/7312.js +0 -2
- package/dist/736.js +0 -2
- package/dist/7496.js +0 -2
- package/dist/7508.js +0 -2
- package/dist/7596.js +0 -2
- package/dist/7712.js +0 -2
- package/dist/7804.js +0 -2
- package/dist/7808.js +0 -2
- package/dist/8188.js +0 -2
- package/dist/8232.js +0 -2
- package/dist/8248.js +0 -2
- package/dist/828.js +0 -2
- package/dist/8476.js +0 -2
- package/dist/8524.js +0 -2
- package/dist/9072.js +0 -2
- package/dist/9088.js +0 -2
- package/dist/9200.js +0 -2
- package/dist/9404.js +0 -2
- package/dist/9680.js +0 -2
- package/dist/9888.js +0 -2
- package/dist/9984.js +0 -2
- package/src/components/abbr/basic.html +0 -6
- package/src/scenarios/complex-form/common/form/component.tsx +0 -25
- package/src/scenarios/complex-form/common/form/types.ts +0 -13
- package/src/scenarios/complex-form/component.tsx +0 -163
- package/src/scenarios/complex-form/kopfdaten/component.tsx +0 -51
- package/src/scenarios/complex-form/location/component.tsx +0 -17
- package/src/scenarios/complex-form/location/location.form.ts +0 -22
- package/src/scenarios/complex-form/schedule/component.tsx +0 -17
- package/src/scenarios/complex-form/schedule/schedule.form.ts +0 -34
- /package/dist/{104.js.LICENSE.txt → 1051.js.LICENSE.txt} +0 -0
- /package/dist/{1296.js.LICENSE.txt → 1278.js.LICENSE.txt} +0 -0
- /package/dist/{1461.js.LICENSE.txt → 1499.js.LICENSE.txt} +0 -0
- /package/dist/{1684.js.LICENSE.txt → 1502.js.LICENSE.txt} +0 -0
- /package/dist/{1685.js.LICENSE.txt → 1517.js.LICENSE.txt} +0 -0
- /package/dist/{1888.js.LICENSE.txt → 1699.js.LICENSE.txt} +0 -0
- /package/dist/{2120.js.LICENSE.txt → 1731.js.LICENSE.txt} +0 -0
- /package/dist/{2240.js.LICENSE.txt → 1848.js.LICENSE.txt} +0 -0
- /package/dist/{2364.js.LICENSE.txt → 1940.js.LICENSE.txt} +0 -0
- /package/dist/{2392.js.LICENSE.txt → 2015.js.LICENSE.txt} +0 -0
- /package/dist/{2444.js.LICENSE.txt → 2156.js.LICENSE.txt} +0 -0
- /package/dist/{2628.js.LICENSE.txt → 2182.js.LICENSE.txt} +0 -0
- /package/dist/{2740.js.LICENSE.txt → 2186.js.LICENSE.txt} +0 -0
- /package/dist/{2764.js.LICENSE.txt → 2439.js.LICENSE.txt} +0 -0
- /package/dist/{2782.js.LICENSE.txt → 2563.js.LICENSE.txt} +0 -0
- /package/dist/{2812.js.LICENSE.txt → 2619.js.LICENSE.txt} +0 -0
- /package/dist/{2984.js.LICENSE.txt → 2624.js.LICENSE.txt} +0 -0
- /package/dist/{3200.js.LICENSE.txt → 2671.js.LICENSE.txt} +0 -0
- /package/dist/{3204.js.LICENSE.txt → 2926.js.LICENSE.txt} +0 -0
- /package/dist/{3384.js.LICENSE.txt → 3028.js.LICENSE.txt} +0 -0
- /package/dist/{352.js.LICENSE.txt → 3073.js.LICENSE.txt} +0 -0
- /package/dist/{3564.js.LICENSE.txt → 351.js.LICENSE.txt} +0 -0
- /package/dist/{3920.js.LICENSE.txt → 3625.js.LICENSE.txt} +0 -0
- /package/dist/{4064.js.LICENSE.txt → 4619.js.LICENSE.txt} +0 -0
- /package/dist/{4544.js.LICENSE.txt → 4627.js.LICENSE.txt} +0 -0
- /package/dist/{4728.js.LICENSE.txt → 4937.js.LICENSE.txt} +0 -0
- /package/dist/{4915.js.LICENSE.txt → 5172.js.LICENSE.txt} +0 -0
- /package/dist/{4988.js.LICENSE.txt → 528.js.LICENSE.txt} +0 -0
- /package/dist/{5376.js.LICENSE.txt → 5342.js.LICENSE.txt} +0 -0
- /package/dist/{5456.js.LICENSE.txt → 5431.js.LICENSE.txt} +0 -0
- /package/dist/{5615.js.LICENSE.txt → 5784.js.LICENSE.txt} +0 -0
- /package/dist/{5628.js.LICENSE.txt → 5896.js.LICENSE.txt} +0 -0
- /package/dist/{5744.js.LICENSE.txt → 6114.js.LICENSE.txt} +0 -0
- /package/dist/{5768.js.LICENSE.txt → 6329.js.LICENSE.txt} +0 -0
- /package/dist/{5839.js.LICENSE.txt → 6357.js.LICENSE.txt} +0 -0
- /package/dist/{5956.js.LICENSE.txt → 6511.js.LICENSE.txt} +0 -0
- /package/dist/{5972.js.LICENSE.txt → 7086.js.LICENSE.txt} +0 -0
- /package/dist/{6040.js.LICENSE.txt → 710.js.LICENSE.txt} +0 -0
- /package/dist/{6112.js.LICENSE.txt → 7160.js.LICENSE.txt} +0 -0
- /package/dist/{6476.js.LICENSE.txt → 7240.js.LICENSE.txt} +0 -0
- /package/dist/{7192.js.LICENSE.txt → 7435.js.LICENSE.txt} +0 -0
- /package/dist/{72.js.LICENSE.txt → 7628.js.LICENSE.txt} +0 -0
- /package/dist/{7312.js.LICENSE.txt → 7732.js.LICENSE.txt} +0 -0
- /package/dist/{736.js.LICENSE.txt → 7748.js.LICENSE.txt} +0 -0
- /package/dist/{7496.js.LICENSE.txt → 7950.js.LICENSE.txt} +0 -0
- /package/dist/{7508.js.LICENSE.txt → 7986.js.LICENSE.txt} +0 -0
- /package/dist/{7596.js.LICENSE.txt → 8240.js.LICENSE.txt} +0 -0
- /package/dist/{7712.js.LICENSE.txt → 8247.js.LICENSE.txt} +0 -0
- /package/dist/{7804.js.LICENSE.txt → 8256.js.LICENSE.txt} +0 -0
- /package/dist/{7808.js.LICENSE.txt → 8494.js.LICENSE.txt} +0 -0
- /package/dist/{8188.js.LICENSE.txt → 8507.js.LICENSE.txt} +0 -0
- /package/dist/{8232.js.LICENSE.txt → 9014.js.LICENSE.txt} +0 -0
- /package/dist/{8248.js.LICENSE.txt → 9035.js.LICENSE.txt} +0 -0
- /package/dist/{828.js.LICENSE.txt → 9094.js.LICENSE.txt} +0 -0
- /package/dist/{8476.js.LICENSE.txt → 9179.js.LICENSE.txt} +0 -0
- /package/dist/{8524.js.LICENSE.txt → 9183.js.LICENSE.txt} +0 -0
- /package/dist/{9072.js.LICENSE.txt → 9190.js.LICENSE.txt} +0 -0
- /package/dist/{9088.js.LICENSE.txt → 9237.js.LICENSE.txt} +0 -0
- /package/dist/{9200.js.LICENSE.txt → 9246.js.LICENSE.txt} +0 -0
- /package/dist/{9224.js.LICENSE.txt → 9456.js.LICENSE.txt} +0 -0
- /package/dist/{9340.js.LICENSE.txt → 9483.js.LICENSE.txt} +0 -0
- /package/dist/{9404.js.LICENSE.txt → 9485.js.LICENSE.txt} +0 -0
- /package/dist/{9680.js.LICENSE.txt → 9528.js.LICENSE.txt} +0 -0
- /package/dist/{9888.js.LICENSE.txt → 9622.js.LICENSE.txt} +0 -0
- /package/dist/{9984.js.LICENSE.txt → 97.js.LICENSE.txt} +0 -0
|
@@ -3,23 +3,32 @@ import React from 'react';
|
|
|
3
3
|
import { KolDetails } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const DetailsBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier sind zwei Texte und ein deaktivierter Text. Beide aktivierten Texte können durch das klicken auf den 'Titel' geöffnet und wieder
|
|
13
|
+
geschlossen werden. Der untere Text ist nach laden der Seite bereits geöffnet, während der obere Text nach laden der Seite geschlossen ist.{' '}
|
|
14
|
+
</p>
|
|
15
|
+
</SampleDescription>
|
|
16
|
+
<p className="grid gap-4">
|
|
17
|
+
<KolDetails _label="Nach Laden der Seite geschlossen">
|
|
18
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
19
|
+
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.
|
|
20
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
21
|
+
</KolDetails>
|
|
22
|
+
<KolDetails _disabled _label="Nach Laden der Seite geöffnet (deaktiviert)" _open>
|
|
23
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
24
|
+
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.
|
|
25
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
26
|
+
</KolDetails>
|
|
27
|
+
<KolDetails _label="Nach Laden der Seite geöffnet" _open>
|
|
28
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
29
|
+
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.
|
|
30
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
31
|
+
</KolDetails>
|
|
32
|
+
</p>
|
|
33
|
+
</>
|
|
25
34
|
);
|
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
KolAbbr,
|
|
7
7
|
KolAccordion,
|
|
8
8
|
KolAlert,
|
|
9
|
+
KolBadge,
|
|
9
10
|
KolBreadcrumb,
|
|
10
11
|
KolButton,
|
|
11
12
|
KolButtonLink,
|
|
@@ -39,6 +40,7 @@ import {
|
|
|
39
40
|
import { getTheme, getThemeName } from '../../shares/store';
|
|
40
41
|
|
|
41
42
|
import type { FC } from 'react';
|
|
43
|
+
import { getRoot } from '../../shares/react-roots';
|
|
42
44
|
const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
43
45
|
horizontal: [
|
|
44
46
|
[
|
|
@@ -60,15 +62,12 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
60
62
|
{
|
|
61
63
|
key: 'montag',
|
|
62
64
|
label: 'Montag',
|
|
63
|
-
render: (el,
|
|
64
|
-
const
|
|
65
|
-
|
|
66
|
-
button.setAttribute('data-theme', 'default');
|
|
67
|
-
button.setAttribute('style', 'font-size: 75%');
|
|
68
|
-
button.setAttribute('exportparts', 'button,normal');
|
|
69
|
-
button._on = { onClick: console.log };
|
|
65
|
+
render: (el, cell) => {
|
|
66
|
+
const renderElement = document.createElement('div');
|
|
67
|
+
renderElement.setAttribute('role', 'presentation');
|
|
70
68
|
el.innerHTML = '';
|
|
71
|
-
el.appendChild(
|
|
69
|
+
el.appendChild(renderElement);
|
|
70
|
+
getRoot(renderElement).render(<KolButton _label={cell.label} style={{ fontSize: '75%' }} data-theme="default" />);
|
|
72
71
|
},
|
|
73
72
|
sort: (data) => {
|
|
74
73
|
return data.sort((first, second) => {
|
|
@@ -87,8 +86,12 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
87
86
|
{
|
|
88
87
|
key: 'dienstag',
|
|
89
88
|
label: 'Dienstag',
|
|
90
|
-
render: (el,
|
|
91
|
-
|
|
89
|
+
render: (el, cell) => {
|
|
90
|
+
const renderElement = document.createElement('div');
|
|
91
|
+
renderElement.setAttribute('role', 'presentation');
|
|
92
|
+
el.innerHTML = '';
|
|
93
|
+
el.appendChild(renderElement);
|
|
94
|
+
getRoot(renderElement).render(<KolBadge _color="#060" _label={cell.label}></KolBadge>);
|
|
92
95
|
},
|
|
93
96
|
sort: (data) => {
|
|
94
97
|
return data.sort((first, second) => {
|
|
@@ -109,33 +112,56 @@ const TABLE_HEADERS: KoliBriTableHeaders = {
|
|
|
109
112
|
render: (el, data) => {
|
|
110
113
|
el.innerHTML = `<kol-badge _color="#006" _label="${data.label}"></kol-badge>`;
|
|
111
114
|
},
|
|
115
|
+
render: (el, cell) => {
|
|
116
|
+
const renderElement = document.createElement('div');
|
|
117
|
+
renderElement.setAttribute('role', 'presentation');
|
|
118
|
+
el.innerHTML = '';
|
|
119
|
+
el.appendChild(renderElement);
|
|
120
|
+
getRoot(renderElement).render(<KolBadge _color="#006" _label={cell.label}></KolBadge>);
|
|
121
|
+
},
|
|
112
122
|
},
|
|
113
123
|
{
|
|
114
124
|
key: 'donnerstag',
|
|
115
125
|
label: 'Donnerstag',
|
|
116
|
-
render: (el,
|
|
117
|
-
|
|
126
|
+
render: (el, cell) => {
|
|
127
|
+
const renderElement = document.createElement('div');
|
|
128
|
+
renderElement.setAttribute('role', 'presentation');
|
|
129
|
+
el.innerHTML = '';
|
|
130
|
+
el.appendChild(renderElement);
|
|
131
|
+
getRoot(renderElement).render(<KolBadge _color="#600" _label={cell.label}></KolBadge>);
|
|
118
132
|
},
|
|
119
133
|
},
|
|
120
134
|
{
|
|
121
135
|
key: 'freitag',
|
|
122
136
|
label: 'Freitag',
|
|
123
|
-
render: (el,
|
|
124
|
-
|
|
137
|
+
render: (el, cell) => {
|
|
138
|
+
const renderElement = document.createElement('div');
|
|
139
|
+
renderElement.setAttribute('role', 'presentation');
|
|
140
|
+
el.innerHTML = '';
|
|
141
|
+
el.appendChild(renderElement);
|
|
142
|
+
getRoot(renderElement).render(<KolBadge _color="#303" _label={cell.label}></KolBadge>);
|
|
125
143
|
},
|
|
126
144
|
},
|
|
127
145
|
{
|
|
128
146
|
key: 'samstag',
|
|
129
147
|
label: 'Samstag',
|
|
130
|
-
render: (el,
|
|
131
|
-
|
|
148
|
+
render: (el, cell) => {
|
|
149
|
+
const renderElement = document.createElement('div');
|
|
150
|
+
renderElement.setAttribute('role', 'presentation');
|
|
151
|
+
el.innerHTML = '';
|
|
152
|
+
el.appendChild(renderElement);
|
|
153
|
+
getRoot(renderElement).render(<KolBadge _color="#330" _label={cell.label}></KolBadge>);
|
|
132
154
|
},
|
|
133
155
|
},
|
|
134
156
|
{
|
|
135
157
|
key: 'sonntag',
|
|
136
158
|
label: 'Sonntag',
|
|
137
|
-
render: (el,
|
|
138
|
-
|
|
159
|
+
render: (el, cell) => {
|
|
160
|
+
const renderElement = document.createElement('div');
|
|
161
|
+
renderElement.setAttribute('role', 'presentation');
|
|
162
|
+
el.innerHTML = '';
|
|
163
|
+
el.appendChild(renderElement);
|
|
164
|
+
getRoot(renderElement).render(<KolBadge _color="#033" _label={cell.label}></KolBadge>);
|
|
139
165
|
},
|
|
140
166
|
},
|
|
141
167
|
],
|
|
@@ -717,8 +743,8 @@ export const HandoutBasic: FC = () => (
|
|
|
717
743
|
).
|
|
718
744
|
</KolDetails>
|
|
719
745
|
</div>
|
|
720
|
-
<div className="grid gap-4 grid-cols-12">
|
|
721
|
-
<KolCard className="col-span-2" _label="Heading" _level={2}>
|
|
746
|
+
<div className="grid gap-4 sm:grid-cols-6 md:grid-cols-6 xl:grid-cols-12">
|
|
747
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2" _label="Heading" _level={2}>
|
|
722
748
|
<div slot="" className="grid gap-2 p-2">
|
|
723
749
|
<KolHeading _label="Überschrift Stufe 1" _level={1}></KolHeading>
|
|
724
750
|
<KolHeading _label="Überschrift Stufe 2" _level={2}></KolHeading>
|
|
@@ -751,7 +777,7 @@ export const HandoutBasic: FC = () => (
|
|
|
751
777
|
</KolAccordion>
|
|
752
778
|
</div>
|
|
753
779
|
</KolCard> */}
|
|
754
|
-
<KolCard className="col-span-2" _label="Abbreviation and Progress" _level={2}>
|
|
780
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-3 xl:col-span-2" _label="Abbreviation and Progress" _level={2}>
|
|
755
781
|
<div slot="" className="grid gap-2 p-2">
|
|
756
782
|
<p>
|
|
757
783
|
Ich bin eine{' '}
|
|
@@ -787,7 +813,7 @@ export const HandoutBasic: FC = () => (
|
|
|
787
813
|
</div>
|
|
788
814
|
</div>
|
|
789
815
|
</KolCard>
|
|
790
|
-
<KolCard className="col-span-3" _label="Button, LinkButton and Tab" _level={2}>
|
|
816
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-6 xl:col-span-3" _label="Button, LinkButton and Tab" _level={2}>
|
|
791
817
|
<div slot="" className="grid gap-2 p-2">
|
|
792
818
|
<KolTabs _label="" _selected={0} _tabs={[{ _label: 'Button' }, { _label: 'LinkButton' }, { _label: 'Disabled Tab', _disabled: true }]}>
|
|
793
819
|
<div className="grid gap-2 py-2">
|
|
@@ -847,7 +873,7 @@ export const HandoutBasic: FC = () => (
|
|
|
847
873
|
</KolTabs>
|
|
848
874
|
</div>
|
|
849
875
|
</KolCard>
|
|
850
|
-
<KolCard className="col-span-2" _label="Accordion, Link and ButtonLink" _level={2}>
|
|
876
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2" _label="Accordion, Link and ButtonLink" _level={2}>
|
|
851
877
|
<div slot="" className="grid gap-2 p-2">
|
|
852
878
|
<KolAccordion _label="Links" _level={3} _open>
|
|
853
879
|
<div className="grid gap-2" slot="">
|
|
@@ -887,7 +913,7 @@ export const HandoutBasic: FC = () => (
|
|
|
887
913
|
</KolAccordion>
|
|
888
914
|
</div>
|
|
889
915
|
</KolCard>
|
|
890
|
-
<KolCard className="col-span-3" _label="Alert" _level={2}>
|
|
916
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-3" _label="Alert" _level={2}>
|
|
891
917
|
<div slot="" className="grid gap-2 p-2">
|
|
892
918
|
<KolAlert _label="Default message" _type="default">
|
|
893
919
|
This is the text of the alert.
|
|
@@ -904,7 +930,7 @@ export const HandoutBasic: FC = () => (
|
|
|
904
930
|
</KolAlert>
|
|
905
931
|
</div>
|
|
906
932
|
</KolCard>
|
|
907
|
-
<KolCard className="col-span-2" _label="Nav and Breadcrumb" _level={2}>
|
|
933
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-2 xl:col-span-2" _label="Nav and Breadcrumb" _level={2}>
|
|
908
934
|
<div slot="" className="grid gap-2 p-2">
|
|
909
935
|
<div>
|
|
910
936
|
<KolNav
|
|
@@ -975,14 +1001,19 @@ export const HandoutBasic: FC = () => (
|
|
|
975
1001
|
</div>
|
|
976
1002
|
</div>
|
|
977
1003
|
</KolCard>
|
|
978
|
-
<KolCard className="col-span-5" _label="Input" _level={2}>
|
|
1004
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Input" _level={2}>
|
|
979
1005
|
<KolForm slot="">
|
|
980
1006
|
<div className="grid gap-4 grid-cols-3 p-2">
|
|
981
1007
|
<KolInputColor _label={`Farbe`} />
|
|
982
1008
|
<KolInputFile _label={`Datei hochladen`} />
|
|
983
1009
|
<KolInputNumber _label={`Zahleneingabe`} />
|
|
984
1010
|
<KolInputDate _type="date" _label={`Datum`} />
|
|
985
|
-
<KolInputEmail
|
|
1011
|
+
<KolInputEmail
|
|
1012
|
+
_icons="{'left': 'codicon codicon-home'}"
|
|
1013
|
+
_msg={{ _type: 'error', _description: 'Test einer Fehlermeldung' }}
|
|
1014
|
+
_touched
|
|
1015
|
+
_label={`E-Mail-Adresse`}
|
|
1016
|
+
/>
|
|
986
1017
|
<KolInputText _hint="Ich bin ein Hinweis." _label={`Vorname`} />
|
|
987
1018
|
<KolInputPassword _label={`Passwort`} />
|
|
988
1019
|
<KolSelect _options="[{'label':'Herr','value':0},{'label':'Frau','value':1}]" _label={`Stimmung`} />
|
|
@@ -998,7 +1029,7 @@ export const HandoutBasic: FC = () => (
|
|
|
998
1029
|
</div>
|
|
999
1030
|
</KolForm>
|
|
1000
1031
|
</KolCard>
|
|
1001
|
-
<KolCard className="col-span-5" _label="Table with Pagination" _level={2}>
|
|
1032
|
+
<KolCard className="col-span-6 sm:col-span-6 md:col-span-4 xl:col-span-5" _label="Table with Pagination" _level={2}>
|
|
1002
1033
|
<div slot="" className="grid gap-2 p-2">
|
|
1003
1034
|
<KolTable _label="Tabelle" _headers={TABLE_HEADERS} _data={TABLE_DATA} _pagination></KolTable>
|
|
1004
1035
|
</div>
|
|
@@ -3,38 +3,44 @@ import React from 'react';
|
|
|
3
3
|
import { KolBadge, KolHeading } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const HeadingBadged: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
</
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
</
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
</
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
</
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
</
|
|
38
|
-
|
|
39
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier werden sechs verschiedene Überschriften mit unterschiedlichen Leveln und Label-Farben dargestellt. Es gibt keine Interaktionsmöglichkeit.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolHeading _label="" _level={1}>
|
|
15
|
+
<span slot="expert">
|
|
16
|
+
Eine Überschrift mit einem <KolBadge _label="Label"></KolBadge>
|
|
17
|
+
</span>
|
|
18
|
+
</KolHeading>
|
|
19
|
+
<KolHeading _label="" _level={2}>
|
|
20
|
+
<span slot="expert">
|
|
21
|
+
Eine Überschrift mit einem <KolBadge _color="#86ffc6" _label="Label"></KolBadge>
|
|
22
|
+
</span>
|
|
23
|
+
</KolHeading>
|
|
24
|
+
<KolHeading _label="" _level={3}>
|
|
25
|
+
<span slot="expert">
|
|
26
|
+
Eine Überschrift mit einem <KolBadge _color="#06539e" _label="Label"></KolBadge>
|
|
27
|
+
</span>
|
|
28
|
+
</KolHeading>
|
|
29
|
+
<KolHeading _label="" _level={4}>
|
|
30
|
+
<span slot="expert">
|
|
31
|
+
Eine Überschrift mit einem <KolBadge _color="#ae0000" _label="Label"></KolBadge>
|
|
32
|
+
</span>
|
|
33
|
+
</KolHeading>
|
|
34
|
+
<KolHeading _label="" _level={5}>
|
|
35
|
+
<span slot="expert">
|
|
36
|
+
Eine Überschrift mit einem <KolBadge _color="#8b008b" _label="Label"></KolBadge>
|
|
37
|
+
</span>
|
|
38
|
+
</KolHeading>
|
|
39
|
+
<KolHeading _label="" _level={6}>
|
|
40
|
+
<span slot="expert">
|
|
41
|
+
Eine Überschrift mit einem <KolBadge _color="#ffc0cb" _label="Label"></KolBadge>
|
|
42
|
+
</span>
|
|
43
|
+
</KolHeading>
|
|
44
|
+
</div>
|
|
45
|
+
</>
|
|
40
46
|
);
|
|
@@ -3,14 +3,20 @@ import React from 'react';
|
|
|
3
3
|
import { KolHeading } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const HeadingBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier sind sechs verschiedene Überschriften mit unterschiedlichen Leveln dargestellt. Es gibt keine Interaktionsmöglichkeit.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolHeading _label="Ich bin eine H1-Überschrift" _level={1} />
|
|
15
|
+
<KolHeading _label="Ich bin eine H2-Überschrift" _level={2} />
|
|
16
|
+
<KolHeading _label="Ich bin eine H3-Überschrift" _level={3} />
|
|
17
|
+
<KolHeading _label="Ich bin eine H4-Überschrift" _level={4} />
|
|
18
|
+
<KolHeading _label="Ich bin eine H5-Überschrift" _level={5} />
|
|
19
|
+
<KolHeading _label="Ich bin eine H6-Überschrift" _level={6} />
|
|
20
|
+
</div>
|
|
21
|
+
</>
|
|
16
22
|
);
|
|
@@ -3,44 +3,53 @@ import React from 'react';
|
|
|
3
3
|
import { KolHeading } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const HeadingParagraph: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
</
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier sind sechs verschiedene Überschriften mit unterschiedlichen Leveln dargestellt. Sie haben jeweils noch ein Beispieltext. Es gibt keine
|
|
13
|
+
Interaktionsmöglichkeit.
|
|
14
|
+
</p>
|
|
15
|
+
</SampleDescription>
|
|
16
|
+
<div className="grid gap-4">
|
|
17
|
+
<KolHeading _label="Ich bin eine H1-Überschrift" _level={1} />
|
|
18
|
+
<p>
|
|
19
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
20
|
+
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.
|
|
21
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
22
|
+
</p>
|
|
23
|
+
<KolHeading _label="Ich bin eine H2-Überschrift" _level={2} />
|
|
24
|
+
<p>
|
|
25
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
26
|
+
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.
|
|
27
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
28
|
+
</p>
|
|
29
|
+
<KolHeading _label="Ich bin eine H3-Überschrift" _level={3} />
|
|
30
|
+
<p>
|
|
31
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
32
|
+
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.
|
|
33
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
34
|
+
</p>
|
|
35
|
+
<KolHeading _label="Ich bin eine H4-Überschrift" _level={4} />
|
|
36
|
+
<p>
|
|
37
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
38
|
+
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.
|
|
39
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
40
|
+
</p>
|
|
41
|
+
<KolHeading _label="Ich bin eine H5-Überschrift" _level={5} />
|
|
42
|
+
<p>
|
|
43
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
44
|
+
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.
|
|
45
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
46
|
+
</p>
|
|
47
|
+
<KolHeading _label="Ich bin eine H6-Überschrift" _level={6} />
|
|
48
|
+
<p>
|
|
49
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
50
|
+
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.
|
|
51
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor.
|
|
52
|
+
</p>
|
|
53
|
+
</div>
|
|
54
|
+
</>
|
|
46
55
|
);
|
|
@@ -3,16 +3,22 @@ import React from 'react';
|
|
|
3
3
|
import { KolIcon } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const IconBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier werden zwei verschiedene Icons in unterschiedlichen Farben angezeigt. Es gibt keine Interaktionsmöglichkeit.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolIcon _label="" _icons="codicon codicon-home" />
|
|
15
|
+
<KolIcon
|
|
16
|
+
style={{
|
|
17
|
+
color: 'red',
|
|
18
|
+
}}
|
|
19
|
+
_label=""
|
|
20
|
+
_icons="codicon codicon-home"
|
|
21
|
+
/>
|
|
22
|
+
</div>
|
|
23
|
+
</>
|
|
18
24
|
);
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { FC } from 'react';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
|
|
3
|
+
import { SampleDescription } from '../SampleDescription';
|
|
4
4
|
import { KolImage } from '@public-ui/react';
|
|
5
5
|
|
|
6
|
-
export const ImageBasic: FC = () =>
|
|
6
|
+
export const ImageBasic: FC = () => (
|
|
7
|
+
<>
|
|
8
|
+
<SampleDescription>
|
|
9
|
+
<p>Hier wird ein Beispielbild angezeigt. Es gibt keine Interaktionsmöglichkeit. </p>
|
|
10
|
+
</SampleDescription>
|
|
11
|
+
<KolImage className="w-80%" _src="abgrenzung.jpg" _alt="Darstellung des KoliBri-Theming" />
|
|
12
|
+
</>
|
|
13
|
+
);
|
|
@@ -3,23 +3,29 @@ import React from 'react';
|
|
|
3
3
|
import { KolIndentedText } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const IndentedTextBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier wird ein Indented Text zwischen zwei normalen Texten angezeigt. Es gibt keine Interaktionsmöglichkeit. </p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<p>
|
|
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
|
+
</p>
|
|
19
|
+
<KolIndentedText>
|
|
20
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
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.
|
|
22
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
23
|
+
</KolIndentedText>
|
|
24
|
+
<p>
|
|
25
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
|
26
|
+
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.
|
|
27
|
+
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
|
|
28
|
+
</p>
|
|
29
|
+
</div>
|
|
30
|
+
</>
|
|
25
31
|
);
|
|
@@ -3,5 +3,17 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
5
|
import { InputCheckboxVariants } from './partials/variants';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
|
-
export const InputCheckboxBasic: FC = () =>
|
|
8
|
+
export const InputCheckboxBasic: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier werden verschiedene Checkboxen mit betiteltem Wunschausgangsverhalten angezeigt. Die Checkbox 'Nicht ausgewählt' ist Standardmäßig nicht
|
|
13
|
+
ausgewählt usw. Die Buttons unten haben keine direkte Funktion, außer, dass Sie ausgewählt werden können. Der Unterschied zwischen der linken und
|
|
14
|
+
Rechten Darstellung ist, dass erst nach anklicken im Rechten Teil ein Label angezeigt wird.
|
|
15
|
+
</p>
|
|
16
|
+
</SampleDescription>
|
|
17
|
+
<FormWrap RefComponent={InputCheckboxVariants} />
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
@@ -3,5 +3,18 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
5
|
import { InputCheckboxVariants } from './partials/variants';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
|
-
export const InputCheckboxButton: FC = () =>
|
|
8
|
+
export const InputCheckboxButton: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier werden verschiedene Checkboxen mit betiteltem Wunschausgangsverhalten angezeigt. Die Checkbox 'Nicht ausgewählt' ist Standardmäßig nicht
|
|
13
|
+
ausgewählt usw. Die Buttons unten haben keine direkte Funktion, außer, dass Sie ausgewählt werden können. Der Unterschied zwischen der linken und
|
|
14
|
+
Rechten Darstellung ist, dass erst nach anklicken im Rechten Teil ein Label angezeigt wird. In diesem Beispiel sind die Checkboxen als Buttons
|
|
15
|
+
dargestellt.
|
|
16
|
+
</p>
|
|
17
|
+
</SampleDescription>
|
|
18
|
+
<FormWrap RefComponent={InputCheckboxVariants} _variant="button" />
|
|
19
|
+
</>
|
|
20
|
+
);
|
|
@@ -52,7 +52,7 @@ export const InputCheckboxCases = forwardRef<HTMLKolInputCheckboxElement, Compon
|
|
|
52
52
|
<KolInputCheckbox {...props} _indeterminate _disabled _label="Indeterminate and disabled" />
|
|
53
53
|
<KolInputCheckbox
|
|
54
54
|
{...props}
|
|
55
|
-
|
|
55
|
+
_msg={{ _type: 'error', _description: ERROR_MSG }}
|
|
56
56
|
_icons={{
|
|
57
57
|
unchecked: 'codicon codicon-close',
|
|
58
58
|
}}
|