@public-ui/sample-react 1.7.25 → 1.7.26-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/dist/1069.js +1 -1
  2. package/dist/1085.js +1 -1
  3. package/dist/1184.js +1 -1
  4. package/dist/1222.js +1 -1
  5. package/dist/1237.js +2 -0
  6. package/dist/1278.js +1 -1
  7. package/dist/1325.js +1 -1
  8. package/dist/1333.js +1 -1
  9. package/dist/1661.js +1 -1
  10. package/dist/1703.js +1 -1
  11. package/dist/1711.js +1 -1
  12. package/dist/1792.js +1 -1
  13. package/dist/1793.js +1 -1
  14. package/dist/1878.js +1 -1
  15. package/dist/1957.js +1 -1
  16. package/dist/2195.js +1 -1
  17. package/dist/2305.js +1 -1
  18. package/dist/2538.js +1 -1
  19. package/dist/279.js +1 -1
  20. package/dist/2830.js +1 -1
  21. package/dist/3180.js +1 -1
  22. package/dist/3332.js +1 -1
  23. package/dist/3344.js +1 -1
  24. package/dist/3596.js +1 -1
  25. package/dist/3714.js +1 -1
  26. package/dist/3974.js +1 -1
  27. package/dist/4014.js +1 -1
  28. package/dist/4102.js +1 -1
  29. package/dist/4218.js +1 -1
  30. package/dist/4404.js +1 -1
  31. package/dist/{2214.js → 4614.js} +2 -2
  32. package/dist/4941.js +1 -1
  33. package/dist/500.js +1 -1
  34. package/dist/5139.js +1 -1
  35. package/dist/5164.js +1 -1
  36. package/dist/5484.js +1 -1
  37. package/dist/5540.js +1 -1
  38. package/dist/5756.js +1 -1
  39. package/dist/6682.js +1 -1
  40. package/dist/6781.js +1 -1
  41. package/dist/7245.js +1 -1
  42. package/dist/7263.js +1 -1
  43. package/dist/{2328.js → 7300.js} +1 -1
  44. package/dist/7512.js +1 -1
  45. package/dist/7856.js +1 -1
  46. package/dist/8002.js +1 -1
  47. package/dist/8049.js +1 -1
  48. package/dist/8189.js +1 -1
  49. package/dist/8264.js +1 -1
  50. package/dist/8389.js +1 -1
  51. package/dist/8515.js +1 -1
  52. package/dist/8557.js +1 -1
  53. package/dist/8588.js +1 -1
  54. package/dist/8724.js +1 -1
  55. package/dist/882.js +1 -1
  56. package/dist/895.js +1 -1
  57. package/dist/8993.js +1 -1
  58. package/dist/902.js +1 -1
  59. package/dist/9175.js +1 -1
  60. package/dist/9202.js +1 -1
  61. package/dist/9460.js +2 -0
  62. package/dist/9558.js +1 -1
  63. package/dist/9567.js +1 -1
  64. package/dist/9833.js +1 -1
  65. package/dist/9961.js +1 -1
  66. package/dist/9962.js +1 -1
  67. package/dist/index.html +2 -2
  68. package/dist/main.css +1 -1
  69. package/dist/main.js +1 -1
  70. package/package.json +8 -4
  71. package/public/index.html +2 -2
  72. package/src/components/SampleDescription.tsx +16 -9
  73. package/src/components/Sidebar.tsx +4 -4
  74. package/src/components/abbr/basic.tsx +5 -0
  75. package/src/components/accordion/basic.tsx +21 -11
  76. package/src/components/accordion/headlines.tsx +26 -20
  77. package/src/components/accordion/routes.ts +0 -5
  78. package/src/components/alert/basic.tsx +15 -1
  79. package/src/components/alert/card-msg.tsx +15 -6
  80. package/src/components/alert/html.tsx +7 -3
  81. package/src/components/avatar/basic.tsx +13 -6
  82. package/src/components/badge/basic.tsx +14 -7
  83. package/src/components/badge/button.tsx +7 -0
  84. package/src/components/breadcrumb/basic.tsx +53 -46
  85. package/src/components/button/basic.tsx +13 -2
  86. package/src/components/button/icons.tsx +26 -19
  87. package/src/components/button/routes.ts +0 -3
  88. package/src/components/button/width.tsx +22 -15
  89. package/src/components/button-group/basic.tsx +18 -7
  90. package/src/components/button-link/basic.tsx +26 -16
  91. package/src/components/button-link/icons.tsx +37 -30
  92. package/src/components/button-link/image.tsx +14 -7
  93. package/src/components/card/basic.tsx +12 -5
  94. package/src/components/card/routes.ts +0 -9
  95. package/src/components/details/basic.tsx +21 -12
  96. package/src/components/heading/badged.tsx +28 -20
  97. package/src/components/heading/basic.tsx +14 -8
  98. package/src/components/heading/paragraph.tsx +44 -38
  99. package/src/components/icon/basic.tsx +16 -10
  100. package/src/components/image/basic.tsx +9 -1
  101. package/src/components/indented-text/basic.tsx +25 -17
  102. package/src/components/input-checkbox/basic.tsx +9 -1
  103. package/src/components/input-checkbox/button.tsx +9 -1
  104. package/src/components/input-checkbox/switch.tsx +9 -1
  105. package/src/components/input-color/basic.tsx +9 -1
  106. package/src/components/input-date/basic.tsx +9 -1
  107. package/src/components/input-email/basic.tsx +9 -1
  108. package/src/components/input-file/basic.tsx +9 -1
  109. package/src/components/input-number/basic.tsx +13 -1
  110. package/src/components/input-password/basic.tsx +9 -1
  111. package/src/components/input-password/show-password.tsx +26 -19
  112. package/src/components/input-radio/basic.tsx +9 -1
  113. package/src/components/input-radio/horizontal.tsx +5 -5
  114. package/src/components/input-radio/routes.ts +0 -3
  115. package/src/components/input-range/basic.tsx +12 -1
  116. package/src/components/input-text/basic.tsx +9 -1
  117. package/src/components/input-text/focus.tsx +14 -8
  118. package/src/components/input-text/hide-errors.tsx +4 -1
  119. package/src/components/input-text/routes.ts +0 -2
  120. package/src/components/kolibri/basic.tsx +5 -0
  121. package/src/components/link/basic.tsx +25 -17
  122. package/src/components/link/icons.tsx +40 -34
  123. package/src/components/link/image.tsx +18 -12
  124. package/src/components/link/target.tsx +16 -8
  125. package/src/components/link-button/basic.tsx +14 -8
  126. package/src/components/link-group/basic.tsx +13 -2
  127. package/src/components/link-group/horizontal.tsx +13 -2
  128. package/src/components/logo/basic.tsx +13 -2
  129. package/src/components/modal/basic.tsx +9 -2
  130. package/src/components/nav/aria-current.tsx +24 -15
  131. package/src/components/nav/basic.tsx +64 -55
  132. package/src/components/nav/horizontal.tsx +58 -52
  133. package/src/components/nav/routes.ts +0 -3
  134. package/src/components/pagination/basic.tsx +15 -6
  135. package/src/components/progress/basic.tsx +10 -4
  136. package/src/components/quote/basic.tsx +7 -1
  137. package/src/components/quote/block.tsx +12 -6
  138. package/src/components/select/basic.tsx +9 -1
  139. package/src/components/skip-nav/basic.tsx +7 -11
  140. package/src/components/spin/basic.tsx +10 -1
  141. package/src/components/spin/custom.tsx +13 -3
  142. package/src/components/spin/cycle.tsx +10 -1
  143. package/src/components/split-button/basic.tsx +9 -2
  144. package/src/components/table/column-alignment.tsx +4 -0
  145. package/src/components/table/horizontal-scrollbar.tsx +7 -0
  146. package/src/components/table/render-cell.tsx +9 -1
  147. package/src/components/table/routes.ts +0 -3
  148. package/src/components/table/sort-date.tsx +9 -1
  149. package/src/components/table/with-pagination.tsx +1 -4
  150. package/src/components/tabs/basic.tsx +4 -0
  151. package/src/components/tabs/icons-only.tsx +12 -6
  152. package/src/components/textarea/adjust-height.tsx +12 -8
  153. package/src/components/textarea/basic.tsx +10 -1
  154. package/src/components/textarea/counter.tsx +10 -1
  155. package/src/components/textarea/resize.tsx +15 -6
  156. package/src/components/textarea/routes.ts +0 -9
  157. package/src/components/textarea/rows.tsx +12 -3
  158. package/src/components/toast/basic.tsx +17 -10
  159. package/src/components/toast-legacy/basic.tsx +17 -8
  160. package/src/components/version/basic.tsx +10 -1
  161. package/src/components/version/context.tsx +12 -5
  162. package/src/react.main.tsx +1 -1
  163. package/src/scenarios/appointment-form/AppointmentForm.tsx +53 -43
  164. package/src/scenarios/custom-tooltip-width.tsx +10 -1
  165. package/src/scenarios/static-form.tsx +1 -1
  166. package/src/shares/constants.ts +1 -0
  167. package/dist/3454.js +0 -2
  168. package/dist/4689.js +0 -2
  169. package/dist/9192.js +0 -2
  170. package/dist/9192.js.LICENSE.txt +0 -3
  171. package/src/components/accordion/header.tsx +0 -17
  172. package/src/components/accordion/list.tsx +0 -32
  173. package/src/components/button/hide-label.tsx +0 -31
  174. package/src/components/card/confirm.tsx +0 -19
  175. package/src/components/card/flex.tsx +0 -44
  176. package/src/components/card/selection.tsx +0 -70
  177. package/src/components/input-radio/select.tsx +0 -18
  178. package/src/components/input-text/blur.tsx +0 -14
  179. package/src/components/nav/active.tsx +0 -89
  180. package/src/components/table/badge-size.tsx +0 -51
  181. package/src/components/textarea/disabled.tsx +0 -10
  182. package/src/components/textarea/placeholder.tsx +0 -10
  183. package/src/components/textarea/readonly.tsx +0 -10
  184. /package/dist/{2214.js.LICENSE.txt → 1237.js.LICENSE.txt} +0 -0
  185. /package/dist/{3454.js.LICENSE.txt → 4614.js.LICENSE.txt} +0 -0
  186. /package/dist/{4689.js.LICENSE.txt → 9460.js.LICENSE.txt} +0 -0
@@ -1,3 +0,0 @@
1
- /*!
2
- * KoliBri - The accessible HTML-Standard
3
- */
@@ -1,17 +0,0 @@
1
- import React from 'react';
2
- import { KolAccordion } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const AccordionHeader: FC = () => (
7
- <div className="grid gap-4">
8
- <KolAccordion _heading="Accordion mit Header" _level={1} _open>
9
- <div slot="header">Hier kann noch was in den Header</div>
10
- <div slot="content">
11
- Dieser Inhalt wird direkt beim Laden der Seite angezeigt.
12
- <br />
13
- Mit Klick auf die Überschrift wird der Inhalt versteckt.
14
- </div>
15
- </KolAccordion>
16
- </div>
17
- );
@@ -1,32 +0,0 @@
1
- import React from 'react';
2
- import { KolAccordion, KolButton } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- const LIST = [
7
- {
8
- heading: 'Überschrift Accordion Tab 1',
9
- content: 'Inhalt Accordion Tab 1',
10
- },
11
- {
12
- heading: 'Überschrift Accordion Tab 2',
13
- content: 'Inhalt Accordion Tab 2',
14
- },
15
- {
16
- heading: 'Überschrift Accordion Tab 3',
17
- content: 'Inhalt Accordion Tab 3',
18
- },
19
- ];
20
-
21
- export const AccordionList: FC = () => (
22
- <div className="grid gap-4">
23
- {LIST.map(({ heading, content }, index) => (
24
- <KolAccordion _heading={heading} _level={1} _open={index === 1} key={index}>
25
- <p slot="header">
26
- <KolButton _label={'Bearbeiten'} />
27
- </p>
28
- <p slot="content">{content}</p>
29
- </KolAccordion>
30
- ))}
31
- </div>
32
- );
@@ -1,31 +0,0 @@
1
- import React from 'react';
2
- import { KolButton } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- const ARGS = {
7
- _icons: 'codicon codicon-home',
8
- _hideLabel: true,
9
- _on: {
10
- onClick: (_event, _value) => alert('Klick!'),
11
- },
12
- };
13
-
14
- export const ButtonIconOnly: FC = () => (
15
- <div className="grid gap-14">
16
- <div className="flex flex-wrap gap-14">
17
- <KolButton _label="Primary" _variant="primary" _tooltipAlign="top" {...ARGS}></KolButton>
18
- <KolButton _label="Secondary" _variant="secondary" _tooltipAlign="right" {...ARGS}></KolButton>
19
- <KolButton _label="Normal" _variant="normal" _tooltipAlign="bottom" {...ARGS}></KolButton>
20
- <KolButton _label="Danger" _variant="danger" _tooltipAlign="left" {...ARGS}></KolButton>
21
- <KolButton _label="Ghost" _variant="ghost" {...ARGS}></KolButton>
22
- </div>
23
- <div className="flex flex-wrap gap-14">
24
- <KolButton _disabled _label="Primary" _variant="primary" {...ARGS}></KolButton>
25
- <KolButton _disabled _label="Secondary" _variant="secondary" {...ARGS}></KolButton>
26
- <KolButton _disabled _label="Normal" _variant="normal" {...ARGS}></KolButton>
27
- <KolButton _disabled _label="Danger" _variant="danger" {...ARGS}></KolButton>
28
- <KolButton _disabled _label="Ghost" _variant="ghost" {...ARGS}></KolButton>
29
- </div>
30
- </div>
31
- );
@@ -1,19 +0,0 @@
1
- import React from 'react';
2
- import { KolButton, KolCard } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const CardConfirm: FC = () => (
7
- <KolCard _has-footer _heading="Überschrift">
8
- <p className="p-2" slot="content">
9
- Lorem ipsum dolor sit amet consectetur, adipisicing elit. Soluta pariatur laudantium saepe ipsa atque officia cupiditate repudiandae harum earum aut
10
- doloribus autem libero exercitationem dolor ad, magni dignissimos ratione fuga. Lorem ipsum dolor sit amet consectetur adipisicing elit. Officiis
11
- perferendis qui animi nesciunt illo facere, doloribus sint cupiditate nihil dolorem voluptate ab esse! Ducimus ad est commodi molestias voluptas
12
- reiciendis.
13
- </p>
14
- <div slot="footer" className="flex gap-2 flex-justify-end">
15
- <KolButton className="w-12rem" _variant="primary" _label="Speichern"></KolButton>
16
- <KolButton className="w-12rem" _variant="secondary" _label="Abbrechen"></KolButton>
17
- </div>
18
- </KolCard>
19
- );
@@ -1,44 +0,0 @@
1
- import React from 'react';
2
- import { KolCard } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const CardFlex: FC = () => (
7
- <div className="grid grid-cols-2 gap-4">
8
- <KolCard _heading="Titel" _hasFooter>
9
- <div slot="header">Zusätzlicher Header</div>
10
- <div slot="content">Inhalt</div>
11
- <div slot="footer">Fusszeile</div>
12
- </KolCard>
13
- <KolCard _heading="Titel" _hasFooter>
14
- <div slot="header">Zusätzlicher Header</div>
15
- <div slot="content">
16
- Inhalt
17
- <br />
18
- Inhalt
19
- </div>
20
- <div slot="footer">Fusszeile</div>
21
- </KolCard>
22
- <KolCard _heading="Titel" _hasFooter>
23
- <div slot="header">Zusätzlicher Header</div>
24
- <div slot="content">
25
- Inhalt
26
- <br />
27
- Inhalt
28
- <br />
29
- Inhalt
30
- </div>
31
- <div slot="footer">Fusszeile</div>
32
- </KolCard>
33
- <KolCard _heading="Titel" _hasFooter>
34
- <div slot="header">Zusätzlicher Header</div>
35
- <div slot="content">Inhalt</div>
36
- <div slot="footer">Fusszeile</div>
37
- </KolCard>
38
- <KolCard _heading="Titel" _hasFooter>
39
- <div slot="header">Zusätzlicher Header</div>
40
- <div slot="content">Inhalt</div>
41
- <div slot="footer">Fusszeile</div>
42
- </KolCard>
43
- </div>
44
- );
@@ -1,70 +0,0 @@
1
- import React from 'react';
2
- import { KolButton, KolCard, KolInputCheckbox } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- const STYLE = {
7
- display: 'flex',
8
- justifyContent: 'space-between',
9
- alignItems: 'center',
10
- gap: '.5rem',
11
- };
12
-
13
- export const CardSelection: FC = () => (
14
- <div className="flex gap-2">
15
- <KolCard _hasFooter _heading="DEBTI-25437/17-1">
16
- <div slot="header">
17
- TeCorp Endplatte
18
- <br />
19
- VZTA
20
- </div>
21
- <div slot="content">
22
- <div>
23
- <img alt="Darstellung des KoliBri-Theming" src="abgrenzung.jpg" width="100%" />
24
- </div>
25
- </div>
26
- <div slot="footer">
27
- <div style={STYLE}>
28
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
29
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
30
- </div>
31
- </div>
32
- </KolCard>
33
- <KolCard _hasFooter _heading="DEBTI-25437/17-1">
34
- <div slot="header">
35
- TeCorp Endplatte
36
- <br />
37
- VZTA
38
- </div>
39
- <div slot="content">
40
- <div>
41
- <img alt="Darstellung des KoliBri-Theming" src="abgrenzung.jpg" width="100%" />
42
- </div>
43
- </div>
44
- <div slot="footer">
45
- <div style={STYLE}>
46
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
47
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
48
- </div>
49
- </div>
50
- </KolCard>
51
- <KolCard _hasFooter _heading="DEBTI-25437/17-1">
52
- <div slot="header">
53
- TeCorp Endplatte
54
- <br />
55
- VZTA
56
- </div>
57
- <div slot="content">
58
- <div>
59
- <img alt="Darstellung des KoliBri-Theming" src="abgrenzung.jpg" width="100%" />
60
- </div>
61
- </div>
62
- <div slot="footer">
63
- <div style={STYLE}>
64
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
65
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
66
- </div>
67
- </div>
68
- </KolCard>
69
- </div>
70
- );
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import { KolForm, KolInputRadio } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- import { ERROR_MSG } from '../../shares/constants';
7
-
8
- const options = [
9
- { label: 'Frau', value: 'Frau' },
10
- { disabled: true, label: 'Herr (disabled)', value: 'Herr' },
11
- { label: 'Firma', value: 'Firma' },
12
- ];
13
-
14
- export const InputRadioSelect: FC = () => (
15
- <KolForm className="grid gap-4">
16
- <KolInputRadio _error={ERROR_MSG} _options={options} _label="Anrede" />
17
- </KolForm>
18
- );
@@ -1,14 +0,0 @@
1
- import { KolForm, KolInputText } from '@public-ui/react';
2
- import React, { FC } from 'react';
3
-
4
- export const InputTextBlur: FC = () => (
5
- <KolForm>
6
- <KolInputText
7
- _on={{
8
- onBlur: console.log,
9
- }}
10
- _type="search"
11
- _label="Suche"
12
- />
13
- </KolForm>
14
- );
@@ -1,89 +0,0 @@
1
- import React from 'react';
2
- import { KolNav } from '@public-ui/react';
3
-
4
- import { FC, useEffect, useState } from 'react';
5
- import { ButtonOrLinkOrTextWithChildrenProps } from '@public-ui/components';
6
-
7
- export const NavActive: FC = () => {
8
- const [links, setLinks] = useState<ButtonOrLinkOrTextWithChildrenProps[]>([]);
9
-
10
- const handleLinks = (route: string) => {
11
- const link = links.find((link) => link._label === route);
12
- if (!link) return;
13
- link._active = !link._active;
14
- setLinks(links);
15
- };
16
-
17
- useEffect(() => {
18
- setLinks([
19
- {
20
- _label: 'Main',
21
- _icons: 'codicon codicon-home',
22
- _on: {
23
- onClick: () => handleLinks('Main'),
24
- },
25
- },
26
- {
27
- _label: 'Abbr',
28
- _on: {
29
- onClick: () => handleLinks('Abbr'),
30
- },
31
- },
32
- {
33
- _label: 'Accordion',
34
- _on: {
35
- onClick: () => handleLinks('Accordion'),
36
- },
37
- },
38
- {
39
- _active: true,
40
- _label: 'Alert',
41
- _on: {
42
- onClick: () => handleLinks('Alert'),
43
- },
44
- _children: [
45
- {
46
- _label: 'Main',
47
- _icons: 'codicon codicon-home',
48
- _on: {
49
- onClick: () => handleLinks('/'),
50
- },
51
- },
52
- {
53
- _active: true,
54
- _label: 'Abbr',
55
- _href: '#/back-page',
56
- _on: {
57
- onClick: () => handleLinks('/abbr'),
58
- },
59
- },
60
- {
61
- _label: 'Accordion',
62
- _href: '#/back-page',
63
- _on: {
64
- onClick: () => handleLinks('/accordion'),
65
- },
66
- },
67
- {
68
- _label: 'Alert',
69
- _href: '#/back-page',
70
- },
71
- {
72
- _label: 'Badget',
73
- _on: {
74
- onClick: () => handleLinks('/badget'),
75
- },
76
- },
77
- ],
78
- },
79
- {
80
- _label: 'Badget',
81
- _on: {
82
- onClick: () => handleLinks('Badget'),
83
- },
84
- },
85
- ]);
86
- }, []);
87
-
88
- return <KolNav _ariaLabel="Main navigation" _links={links} />;
89
- };
@@ -1,51 +0,0 @@
1
- import React, { FC } from 'react';
2
-
3
- import { KolBadge, KolTable } from '@public-ui/react';
4
-
5
- import { getRoot } from '../../shares/react-roots';
6
- import { KoliBriTableHeaders } from '@public-ui/components';
7
- import { DATA, Data } from './test-data';
8
-
9
- const DATE_FORMATTER = Intl.DateTimeFormat('de-DE', {
10
- day: '2-digit',
11
- month: '2-digit',
12
- year: 'numeric',
13
- });
14
-
15
- const HEADERS: KoliBriTableHeaders = {
16
- horizontal: [
17
- [
18
- { label: 'order', key: 'order', textAlign: 'center' },
19
- {
20
- label: 'date',
21
- key: 'date',
22
- textAlign: 'center',
23
- render: (_el, _cell, tupel) => DATE_FORMATTER.format((tupel as Data).date),
24
- sort: (data: Data[]) =>
25
- data.sort((data0, data1) => {
26
- if (data0.date < data1.date) return -1;
27
- else if (data1.date < data0.date) return 1;
28
- else return 0;
29
- }),
30
- },
31
- {
32
- label: 'Aktion',
33
- key: 'order',
34
- render: (el, cell, tupel) => {
35
- getRoot(el).render(
36
- <KolBadge
37
- style={{
38
- backgroundColor: 'red',
39
- width: '80%',
40
- }}
41
- _icons="codicon codicon-location"
42
- _label={'Speichern'}
43
- />,
44
- );
45
- },
46
- },
47
- ],
48
- ],
49
- };
50
-
51
- export const TableBadgeSize: FC = () => <KolTable _caption="Sort a date column" _data={DATA} _headers={HEADERS} className="block" />;
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { KolForm, KolTextarea } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const TextareaDisabled: FC = () => (
7
- <KolForm>
8
- <KolTextarea _disabled _error="Es ist ein Fehler aufgetreten." _value="Kleiner Text im Eingabefeld ..." _label="Texteingabe" />
9
- </KolForm>
10
- );
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { KolForm, KolTextarea } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const TextareaPlaceholder: FC = () => (
7
- <KolForm>
8
- <KolTextarea _placeholder="Hier steht ein Platzhaltertext" _label="Texteingabe" />
9
- </KolForm>
10
- );
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- import { KolForm, KolTextarea } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
5
-
6
- export const TextareaReadOnly: FC = () => (
7
- <KolForm>
8
- <KolTextarea _error="Es ist ein Fehler aufgetreten." _readOnly _value="Kleiner Text im Eingabefeld ..." _label="Texteingabe" />
9
- </KolForm>
10
- );