@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,40 +3,46 @@ import React from 'react';
|
|
|
3
3
|
import { KolLink } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const LinkIcons: 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
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier sind verschiedene Darstellungsweisen von Links mit Icons.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolLink _icons="codicon codicon-home" _label="Ich bin ein Link mit Icon links" _href="#/back-page" />
|
|
15
|
+
<KolLink
|
|
16
|
+
_icons={{
|
|
17
|
+
right: 'codicon codicon-home',
|
|
18
|
+
}}
|
|
19
|
+
_label="Ich bin ein Link mit Icon rechts"
|
|
20
|
+
_href="#/back-page"
|
|
21
|
+
/>
|
|
22
|
+
<KolLink
|
|
23
|
+
_icons={{
|
|
24
|
+
top: 'codicon codicon-home',
|
|
25
|
+
}}
|
|
26
|
+
_label="Ich bin ein Link mit Icon oben"
|
|
27
|
+
_href="#/back-page"
|
|
28
|
+
/>
|
|
29
|
+
<KolLink
|
|
30
|
+
_icons={{
|
|
31
|
+
bottom: 'codicon codicon-home',
|
|
32
|
+
}}
|
|
33
|
+
_label="Ich bin ein Link mit Icon unten"
|
|
34
|
+
_href="#/back-page"
|
|
35
|
+
/>
|
|
36
|
+
<KolLink
|
|
37
|
+
_icons={{
|
|
38
|
+
top: 'codicon codicon-home',
|
|
39
|
+
right: 'codicon codicon-home',
|
|
40
|
+
bottom: 'codicon codicon-home',
|
|
41
|
+
left: 'codicon codicon-home',
|
|
42
|
+
}}
|
|
43
|
+
_label="Ich bin ein Link mit allen Icons"
|
|
44
|
+
_href="#/back-page"
|
|
45
|
+
/>
|
|
46
|
+
</div>
|
|
47
|
+
</>
|
|
42
48
|
);
|
|
@@ -3,18 +3,24 @@ import React from 'react';
|
|
|
3
3
|
import { KolKolibri, KolLink } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const LinkImage: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier ist ein Link, der als Text gerendert wird und zwei Darstellungen des KoliBri-Theming.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolLink _href="#/back-page" _label="Ich bin ein Link, der als Text gerendert wird" />
|
|
15
|
+
<br />
|
|
16
|
+
<KolLink _href="#/back-page" _label="">
|
|
17
|
+
<img alt="Darstellung des KoliBri-Theming" slot="expert" src="abgrenzung.jpg" width="300" />
|
|
18
|
+
<KolKolibri style={{ width: '300px' }}></KolKolibri>
|
|
19
|
+
</KolLink>
|
|
20
|
+
<br />
|
|
21
|
+
<KolLink _href="#/back-page" _label="">
|
|
22
|
+
<img alt="Darstellung des KoliBri-Theming" slot="expert" src="abgrenzung.jpg" width="300" />
|
|
23
|
+
</KolLink>
|
|
24
|
+
</div>
|
|
25
|
+
</>
|
|
20
26
|
);
|
|
@@ -3,14 +3,20 @@ import React from 'react';
|
|
|
3
3
|
import { KolLink } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const LinkTarget: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier sind sechs Links mit verschiedenen beschriebenen Weiterleitungen.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="d-flex gap-4">
|
|
14
|
+
<KolLink _href="#/back-page" _label="Ich bin ein Link ohne Target" />{' '}
|
|
15
|
+
<KolLink _href="#/back-page" _label="Ich bin ein Link mit Target (_self)" _target="_self" />{' '}
|
|
16
|
+
<KolLink _href="#/back-page" _label="Ich bin ein Link mit Target (_blank)" _target="_blank" />{' '}
|
|
17
|
+
<KolLink _href="#/back-page" _icons="codicon codicon-home" _hideLabel _label="Ich bin ein Link ohne Target" />{' '}
|
|
18
|
+
<KolLink _href="#/back-page" _icons="codicon codicon-home" _hideLabel _label="Ich bin ein Link mit Target (_self)" _target="_self" />{' '}
|
|
19
|
+
<KolLink _href="#/back-page" _icons="codicon codicon-home" _hideLabel _label="Ich bin ein Link mit Target (_blank)" _target="_blank" />
|
|
20
|
+
</div>
|
|
21
|
+
</>
|
|
16
22
|
);
|
|
@@ -3,19 +3,25 @@ import React from 'react';
|
|
|
3
3
|
import { KolLinkButton } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
const ARGS = {
|
|
8
9
|
_href: '#/back-page',
|
|
9
10
|
};
|
|
10
11
|
|
|
11
12
|
export const LinkButtonBasic: FC = () => (
|
|
12
|
-
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
13
|
+
<>
|
|
14
|
+
<SampleDescription>
|
|
15
|
+
<p>Hier sind fünf Buttons. Nach anklicken erscheint ein Popup mit 'Klick!'</p>
|
|
16
|
+
</SampleDescription>
|
|
17
|
+
<div className="grid gap-14">
|
|
18
|
+
<div className="flex flex-wrap gap-14">
|
|
19
|
+
<KolLinkButton _label="Primary" _variant="primary" {...ARGS}></KolLinkButton>
|
|
20
|
+
<KolLinkButton _label="Secondary" _variant="secondary" {...ARGS}></KolLinkButton>
|
|
21
|
+
<KolLinkButton _label="Normal" _variant="normal" {...ARGS}></KolLinkButton>
|
|
22
|
+
<KolLinkButton _label="Danger" _variant="danger" {...ARGS}></KolLinkButton>
|
|
23
|
+
<KolLinkButton _label="Ghost" _variant="ghost" {...ARGS}></KolLinkButton>
|
|
24
|
+
</div>
|
|
19
25
|
</div>
|
|
20
|
-
|
|
26
|
+
</>
|
|
21
27
|
);
|
|
@@ -2,10 +2,18 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolLinkGroup } from '@public-ui/react';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
const links = [
|
|
7
8
|
{ _label: 'Link 1', _href: '#/back-page' },
|
|
8
9
|
{ _label: 'Link 2', _href: '#/back-page' },
|
|
9
10
|
{ _label: 'Link 3', _href: '#/back-page' },
|
|
10
11
|
];
|
|
11
|
-
export const LinkGroupBasic: FC = () =>
|
|
12
|
+
export const LinkGroupBasic: FC = () => (
|
|
13
|
+
<>
|
|
14
|
+
<SampleDescription>
|
|
15
|
+
<p>Hier ist eine LinkGroup bestehend aus drei Links die zu https://www.w3.org/ weiterleiten.</p>
|
|
16
|
+
</SampleDescription>
|
|
17
|
+
<KolLinkGroup _links={links} _label="" />
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
@@ -2,10 +2,18 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolLinkGroup } from '@public-ui/react';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
const links = [
|
|
7
8
|
{ _label: 'Link 1', _href: '#/back-page' },
|
|
8
9
|
{ _label: 'Link 2', _href: '#/back-page' },
|
|
9
10
|
{ _label: 'Link 3', _href: '#/back-page' },
|
|
10
11
|
];
|
|
11
|
-
export const LinkGroupHorizontal: FC = () =>
|
|
12
|
+
export const LinkGroupHorizontal: FC = () => (
|
|
13
|
+
<>
|
|
14
|
+
<SampleDescription>
|
|
15
|
+
<p>Hier ist eine horizontale Linkgroup bestehend aus drei Links die zu https://www.w3.org/ weiterleiten.</p>
|
|
16
|
+
</SampleDescription>
|
|
17
|
+
<KolLinkGroup _links={links} _orientation="horizontal" _label="" />
|
|
18
|
+
</>
|
|
19
|
+
);
|
|
@@ -2,6 +2,14 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { Bundesministerium } from '@public-ui/components';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
import { KolLogo } from '@public-ui/react';
|
|
6
7
|
|
|
7
|
-
export const LogoBasic: FC = () =>
|
|
8
|
+
export const LogoBasic: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier ist ein Logo der Bundesregierung.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<KolLogo className="w-50%" _org={Bundesministerium['Die Bundesregierung']} />
|
|
14
|
+
</>
|
|
15
|
+
);
|
|
@@ -2,38 +2,47 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React, { useRef } from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolButton, KolCard, KolModal } from '@public-ui/react';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
export const ModalBasic: FC = () => {
|
|
7
8
|
const modalElement = useRef<HTMLKolModalElement>(null);
|
|
8
9
|
|
|
9
10
|
return (
|
|
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
|
-
|
|
11
|
+
<>
|
|
12
|
+
<SampleDescription>
|
|
13
|
+
<p>
|
|
14
|
+
Hier ist ein Beispiel für ein Modal. Es lässt sich öffnen. Dadurch erscheint ein Popup mit Text und 'Schließen' Button. Durch anklicken des
|
|
15
|
+
'Schließen' Button, schließt sich das Modal wieder.
|
|
16
|
+
</p>
|
|
17
|
+
</SampleDescription>
|
|
18
|
+
<div>
|
|
19
|
+
<KolModal _label="" _width="80%" ref={modalElement} _on={{ onClose: () => console.log('Modal closed') }}>
|
|
20
|
+
<KolCard _label="Ich bin ein Modal" style={{ width: '100%' }}>
|
|
21
|
+
<div>
|
|
22
|
+
<KolButton
|
|
23
|
+
_label="Schließen"
|
|
24
|
+
_on={{
|
|
25
|
+
onClick: () => {
|
|
26
|
+
if (modalElement?.current) {
|
|
27
|
+
modalElement.current._activeElement = null;
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
}}
|
|
31
|
+
/>
|
|
32
|
+
</div>
|
|
33
|
+
</KolCard>
|
|
34
|
+
</KolModal>
|
|
35
|
+
<KolButton
|
|
36
|
+
_label="Modal öffnen"
|
|
37
|
+
_on={{
|
|
38
|
+
onClick: (event: Event) => {
|
|
39
|
+
if (modalElement?.current) {
|
|
40
|
+
modalElement.current._activeElement = event.target as HTMLElement;
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
}}
|
|
44
|
+
/>
|
|
45
|
+
</div>
|
|
46
|
+
</>
|
|
38
47
|
);
|
|
39
48
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
2
|
|
|
3
3
|
import { KolInputCheckbox, KolNav } from '@public-ui/react';
|
|
4
|
-
|
|
4
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
5
|
import { LINKS } from './links';
|
|
6
6
|
|
|
7
7
|
import type { FC } from 'react';
|
|
@@ -10,6 +10,12 @@ export const NavBasic: FC = () => {
|
|
|
10
10
|
|
|
11
11
|
return (
|
|
12
12
|
<>
|
|
13
|
+
<SampleDescription>
|
|
14
|
+
<p>
|
|
15
|
+
Hier ist ein Beispiel für eine Navigation. Durch anklicken des rechten + Symbols kann die Navigation erweitert und Untermenüs geöffnet werden. Durch
|
|
16
|
+
das anklicken des {'<'} Symbols kann die Navigation minimiert werden.
|
|
17
|
+
</p>
|
|
18
|
+
</SampleDescription>
|
|
13
19
|
<KolInputCheckbox
|
|
14
20
|
_label="Show icons when expanded"
|
|
15
21
|
_checked={hasIconsWhenExpanded}
|
|
@@ -1,8 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
import { KolNav } from '@public-ui/react';
|
|
4
|
-
|
|
3
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
4
|
import { LINKS } from './links';
|
|
6
5
|
|
|
7
6
|
import type { FC } from 'react';
|
|
8
|
-
export const NavHorizontal: FC = () =>
|
|
7
|
+
export const NavHorizontal: FC = () => (
|
|
8
|
+
<>
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>
|
|
11
|
+
Hier ist ein Beispiel für eine horizontale Navigation. Durch anklicken des rechten + Symbols kann die Navigation erweitert und Untermenüs geöffnet
|
|
12
|
+
werden.
|
|
13
|
+
</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
<KolNav _label="Main navigation" _links={LINKS} _orientation="horizontal" />
|
|
16
|
+
</>
|
|
17
|
+
);
|
|
@@ -4,11 +4,16 @@ export const LINKS: ButtonOrLinkOrTextWithChildrenProps[] = [
|
|
|
4
4
|
{
|
|
5
5
|
_label: 'Homepage',
|
|
6
6
|
_icons: 'codicon codicon-home',
|
|
7
|
-
|
|
7
|
+
_on: {
|
|
8
|
+
onClick: () => console.log('Homepage clicked'),
|
|
9
|
+
},
|
|
8
10
|
},
|
|
9
11
|
{
|
|
10
12
|
_label: '2 Navigation point',
|
|
11
13
|
_href: '#/back-page',
|
|
14
|
+
_on: {
|
|
15
|
+
onClick: () => console.log('Link clicked'),
|
|
16
|
+
},
|
|
12
17
|
},
|
|
13
18
|
{
|
|
14
19
|
_label: '3 Navigation point',
|
|
@@ -54,7 +59,18 @@ export const LINKS: ButtonOrLinkOrTextWithChildrenProps[] = [
|
|
|
54
59
|
{ _label: '3.5 Navigation point', _href: '#/back-page' },
|
|
55
60
|
],
|
|
56
61
|
},
|
|
57
|
-
{
|
|
62
|
+
{
|
|
63
|
+
_label: '4 Navigation point with children and onClick',
|
|
64
|
+
_children: [
|
|
65
|
+
{
|
|
66
|
+
_label: '4.1 Nested link',
|
|
67
|
+
_href: '#/back-page',
|
|
68
|
+
},
|
|
69
|
+
],
|
|
70
|
+
_on: {
|
|
71
|
+
onClick: () => console.log('4.1 Nested link clicked'),
|
|
72
|
+
},
|
|
73
|
+
},
|
|
58
74
|
{
|
|
59
75
|
_label: '5 Keine eigene Seite, nur Kategorie',
|
|
60
76
|
_active: true,
|
|
@@ -3,22 +3,30 @@ import React from 'react';
|
|
|
3
3
|
import { KolPagination } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const PaginationBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
_page={6}
|
|
16
|
-
_siblingCount={0}
|
|
17
|
-
_boundaryCount={2}
|
|
18
|
-
_hasButtons={false}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier sind fünf Beispiele für eine Paginierung oder Seitennummerierung. Unten Rechts kann zwischen zwei Optionen für die Seitengröße gewechselt werden.
|
|
13
|
+
</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
<div className="grid gap-4">
|
|
16
|
+
<KolPagination _max={10} _page={6} _siblingCount={0} _label="Test Paginierung 1" _on={{}} />
|
|
17
|
+
<KolPagination _max={6} _page={6} _siblingCount={0} _boundaryCount={2} _label="Test Paginierung 2" _on={{}} />
|
|
18
|
+
<KolPagination _max={4} _page={1} _siblingCount={0} _boundaryCount={2} _label="Test Paginierung 3" _on={{}} />
|
|
19
|
+
<KolPagination _max={4} _page={6} _siblingCount={0} _boundaryCount={2} _hasButtons={false} _label="Test Paginierung 4" _on={{}} />
|
|
20
|
+
<KolPagination
|
|
21
|
+
_max={4}
|
|
22
|
+
_page={6}
|
|
23
|
+
_siblingCount={0}
|
|
24
|
+
_boundaryCount={2}
|
|
25
|
+
_hasButtons={false}
|
|
26
|
+
_label="Test Paginierung 4"
|
|
27
|
+
_on={{}}
|
|
28
|
+
_pageSizeOptions={[10, 100]}
|
|
29
|
+
/>
|
|
30
|
+
</div>
|
|
31
|
+
</>
|
|
24
32
|
);
|
|
@@ -3,10 +3,16 @@ import React from 'react';
|
|
|
3
3
|
import { KolProgress } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
8
|
export const ProgressBasic: FC = () => (
|
|
8
|
-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier ist ein Fortschrittsbalken und Fortschrittskreis. Der Fortschritt verändert sich nicht.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<div className="grid gap-4">
|
|
14
|
+
<KolProgress _variant="bar" _max={100} _value={33}></KolProgress>
|
|
15
|
+
<KolProgress _variant="cycle" _max={100} _value={33}></KolProgress>
|
|
16
|
+
</div>
|
|
17
|
+
</>
|
|
12
18
|
);
|
|
@@ -2,7 +2,13 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolQuote } from '@public-ui/react';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
export const QuoteBasic: FC = () => (
|
|
7
|
-
|
|
8
|
+
<>
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>Hier ist ein Beispiel für ein Zitat.</p>
|
|
11
|
+
</SampleDescription>
|
|
12
|
+
<KolQuote _href="https://datatracker.ietf.org/doc/html/rfc1149" _quote="Avian carriers can provide high delay." _variant="inline"></KolQuote>
|
|
13
|
+
</>
|
|
8
14
|
);
|
|
@@ -2,18 +2,27 @@ import type { FC } from 'react';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
|
|
4
4
|
import { KolQuote } from '@public-ui/react';
|
|
5
|
+
import { SampleDescription } from '../SampleDescription';
|
|
5
6
|
|
|
6
7
|
export const QuoteBlock: FC = () => (
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<>
|
|
9
|
+
<SampleDescription>
|
|
10
|
+
<p>
|
|
11
|
+
Hier ist ein Beispiel für ein Zitat. Es wird eine Quelle durch ein Label angegeben. Durch anklicken des Labels wird man auf die Quellenwebseite
|
|
12
|
+
weitergeleitet.
|
|
13
|
+
</p>
|
|
14
|
+
</SampleDescription>
|
|
15
|
+
<KolQuote
|
|
16
|
+
_label="RFC 1149"
|
|
17
|
+
_href="https://datatracker.ietf.org/doc/html/rfc1149"
|
|
18
|
+
_quote="Avian carriers can provide high delay, low throughput, and low altitude
|
|
11
19
|
service. The connection topology is limited to a single point-to-point path
|
|
12
20
|
for each carrier, used with standard carriers, but many carriers can be used
|
|
13
21
|
without significant interference with each other, outside early spring.
|
|
14
22
|
This is because of the 3D ether space available to the carriers, in contrast
|
|
15
23
|
to the 1D ether used by IEEE802.3. The carriers have an intrinsic collision
|
|
16
24
|
avoidance system, which increases availability."
|
|
17
|
-
|
|
18
|
-
|
|
25
|
+
_variant="block"
|
|
26
|
+
></KolQuote>
|
|
27
|
+
</>
|
|
19
28
|
);
|
|
@@ -3,5 +3,16 @@ import React from 'react';
|
|
|
3
3
|
|
|
4
4
|
import { FormWrap } from '../FormWrap';
|
|
5
5
|
import { SelectVariants } from './partials/variants';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
|
-
export const SelectBasic: FC = () =>
|
|
8
|
+
export const SelectBasic: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>
|
|
12
|
+
Hier sind Beispiele für verschiedene Auswahlfelder. Es gibt die Varianten Dropdownmenü und Liste mit Scrollbar. Es kann nur ein Element gleichzeitig
|
|
13
|
+
ausgewählt werden.
|
|
14
|
+
</p>
|
|
15
|
+
</SampleDescription>
|
|
16
|
+
<FormWrap RefComponent={SelectVariants} />
|
|
17
|
+
</>
|
|
18
|
+
);
|
|
@@ -59,9 +59,17 @@ export const SelectCases = forwardRef<HTMLKolSelectElement, Components.KolSelect
|
|
|
59
59
|
}}
|
|
60
60
|
/>
|
|
61
61
|
<KolSelect {...props} _options={SALUTATION_OPTIONS} _label="Disabled" _disabled />
|
|
62
|
-
<KolSelect {...props} _options={SALUTATION_OPTIONS} _label="Anrede mit Fehler"
|
|
62
|
+
<KolSelect {...props} _options={SALUTATION_OPTIONS} _label="Anrede mit Fehler" _msg={{ _type: 'error', _description: ERROR_MSG }} _touched />
|
|
63
63
|
<KolSelect {...props} _options={COUNTRY_OPTIONS} _label="Mehrfachauswahl" _multiple />
|
|
64
|
-
<KolSelect
|
|
64
|
+
<KolSelect
|
|
65
|
+
{...props}
|
|
66
|
+
_options={COUNTRY_OPTIONS}
|
|
67
|
+
_label="Mehrfachauswahl mit Fehler"
|
|
68
|
+
_multiple
|
|
69
|
+
_required
|
|
70
|
+
_msg={{ _type: 'error', _description: ERROR_MSG }}
|
|
71
|
+
_touched
|
|
72
|
+
/>
|
|
65
73
|
</div>
|
|
66
74
|
);
|
|
67
75
|
});
|
|
@@ -3,5 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import { KolSpin } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
|
-
export const SpinBasic: FC = () =>
|
|
8
|
+
export const SpinBasic: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier ist eine drehende Animation in Deutschlandfarben.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<KolSpin _show />
|
|
14
|
+
</>
|
|
15
|
+
);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import './custom.css';
|
|
2
|
+
import { SampleDescription } from '../SampleDescription';
|
|
2
3
|
|
|
3
4
|
import React from 'react';
|
|
4
5
|
|
|
@@ -7,7 +8,15 @@ import { KolSpin } from '@public-ui/react';
|
|
|
7
8
|
import type { FC } from 'react';
|
|
8
9
|
|
|
9
10
|
export const SpinCustom: FC = () => (
|
|
10
|
-
|
|
11
|
-
<
|
|
12
|
-
|
|
11
|
+
<>
|
|
12
|
+
<SampleDescription>
|
|
13
|
+
<p>
|
|
14
|
+
Hier ist ein Beispiel für eine custom Lade-Animation. Mittels des Expert-Slots ist es möglich, eigene Animationen einzufügen. Diese kann nach eigenen
|
|
15
|
+
Vorstellungen angepasst werden und ist nicht zwingend barrierefrei.
|
|
16
|
+
</p>
|
|
17
|
+
</SampleDescription>
|
|
18
|
+
<KolSpin _show _variant="none">
|
|
19
|
+
<span slot="expert" className="loader"></span>
|
|
20
|
+
</KolSpin>
|
|
21
|
+
</>
|
|
13
22
|
);
|
|
@@ -3,5 +3,13 @@ import React from 'react';
|
|
|
3
3
|
import { KolSpin } from '@public-ui/react';
|
|
4
4
|
|
|
5
5
|
import type { FC } from 'react';
|
|
6
|
+
import { SampleDescription } from '../SampleDescription';
|
|
6
7
|
|
|
7
|
-
export const SpinCycle: FC = () =>
|
|
8
|
+
export const SpinCycle: FC = () => (
|
|
9
|
+
<>
|
|
10
|
+
<SampleDescription>
|
|
11
|
+
<p>Hier ist eine drehende Animation in verschiedenen Farben.</p>
|
|
12
|
+
</SampleDescription>
|
|
13
|
+
<KolSpin _show _variant="cycle" />
|
|
14
|
+
</>
|
|
15
|
+
);
|