@public-ui/sample-react 1.7.2 → 2.0.0-rc.0

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 (110) hide show
  1. package/.gitignore +2 -0
  2. package/dist/1474.js +1 -1
  3. package/dist/183.js +1 -1
  4. package/dist/2337.js +1 -1
  5. package/dist/2412.js +1 -1
  6. package/dist/3073.js +2 -0
  7. package/dist/3303.js +1 -1
  8. package/dist/3325.js +1 -2
  9. package/dist/3459.js +1 -1
  10. package/dist/3537.js +1 -1
  11. package/dist/376.js +2 -0
  12. package/dist/3932.js +1 -1
  13. package/dist/4021.js +1 -1
  14. package/dist/4022.js +1 -1
  15. package/dist/4291.js +1 -1
  16. package/dist/4323.js +1 -1
  17. package/dist/4355.js +1 -1
  18. package/dist/4501.js +2 -0
  19. package/dist/4564.js +1 -1
  20. package/dist/4891.js +1 -1
  21. package/dist/4903.js +2 -0
  22. package/dist/5183.js +1 -1
  23. package/dist/5369.js +1 -1
  24. package/dist/5390.js +1 -1
  25. package/dist/540.js +1 -1
  26. package/dist/5866.js +1 -1
  27. package/dist/6012.js +1 -1
  28. package/dist/6068.js +1 -1
  29. package/dist/6210.js +1 -1
  30. package/dist/6320.js +1 -1
  31. package/dist/6558.js +1 -1
  32. package/dist/6655.js +1 -1
  33. package/dist/6813.js +1 -1
  34. package/dist/6908.js +1 -1
  35. package/dist/7029.js +1 -1
  36. package/dist/7255.js +1 -1
  37. package/dist/7447.js +1 -1
  38. package/dist/7715.js +1 -1
  39. package/dist/7722.js +1 -1
  40. package/dist/7801.js +1 -1
  41. package/dist/7955.js +1 -1
  42. package/dist/7995.js +1 -1
  43. package/dist/8061.js +1 -1
  44. package/dist/8065.js +1 -1
  45. package/dist/8073.js +1 -1
  46. package/dist/8111.js +1 -1
  47. package/dist/8255.js +1 -1
  48. package/dist/8291.js +1 -1
  49. package/dist/8709.js +1 -1
  50. package/dist/8761.js +1 -1
  51. package/dist/9044.js +2 -0
  52. package/dist/9106.js +1 -1
  53. package/dist/9734.js +1 -1
  54. package/dist/9747.js +1 -1
  55. package/dist/9792.js +1 -1
  56. package/dist/9963.js +1 -1
  57. package/dist/main.js +76 -76
  58. package/package.json +4 -4
  59. package/src/components/Sidebar.tsx +2 -2
  60. package/src/components/abbr/basic.html +5 -5
  61. package/src/components/abbr/basic.tsx +5 -5
  62. package/src/components/accordion/basic.tsx +6 -6
  63. package/src/components/accordion/headlines.tsx +12 -12
  64. package/src/components/accordion/list.tsx +4 -9
  65. package/src/components/accordion/routes.ts +0 -4
  66. package/src/components/alert/basic.tsx +2 -2
  67. package/src/components/alert/html.tsx +1 -1
  68. package/src/components/breadcrumb/basic.tsx +3 -3
  69. package/src/components/button/hide-label.tsx +1 -1
  70. package/src/components/card/basic.tsx +2 -4
  71. package/src/components/card/confirm.tsx +12 -10
  72. package/src/components/card/flex.tsx +10 -20
  73. package/src/components/card/selection.tsx +45 -39
  74. package/src/components/details/basic.tsx +2 -2
  75. package/src/components/handout/basic.tsx +69 -88
  76. package/src/components/icon/basic.tsx +2 -2
  77. package/src/components/input-email/partials/cases.tsx +1 -1
  78. package/src/components/link-group/basic.tsx +1 -1
  79. package/src/components/link-group/horizontal.tsx +1 -1
  80. package/src/components/modal/basic.tsx +3 -3
  81. package/src/components/nav/active.tsx +1 -1
  82. package/src/components/nav/aria-current.tsx +1 -1
  83. package/src/components/nav/basic.tsx +1 -1
  84. package/src/components/nav/horizontal.tsx +1 -1
  85. package/src/components/popover/basic.tsx +2 -2
  86. package/src/components/skip-nav/basic.tsx +1 -1
  87. package/src/components/split-button/basic.tsx +0 -3
  88. package/src/components/table/badge-size.tsx +1 -1
  89. package/src/components/table/render-cell.tsx +1 -1
  90. package/src/components/table/sort-date.tsx +1 -1
  91. package/src/components/version/basic.tsx +1 -1
  92. package/src/components/version/context.tsx +1 -1
  93. package/dist/1159.js +0 -2
  94. package/dist/1531.js +0 -2
  95. package/dist/1932.js +0 -2
  96. package/dist/3059.js +0 -2
  97. package/dist/4477.js +0 -2
  98. package/dist/4477.js.LICENSE.txt +0 -3
  99. package/dist/7958.js +0 -2
  100. package/dist/7958.js.LICENSE.txt +0 -3
  101. package/dist/8099.js +0 -2
  102. package/dist/8099.js.LICENSE.txt +0 -3
  103. package/dist/9118.js +0 -2
  104. package/dist/9118.js.LICENSE.txt +0 -3
  105. package/src/components/accordion/header.tsx +0 -17
  106. /package/dist/{1159.js.LICENSE.txt → 3073.js.LICENSE.txt} +0 -0
  107. /package/dist/{1531.js.LICENSE.txt → 376.js.LICENSE.txt} +0 -0
  108. /package/dist/{1932.js.LICENSE.txt → 4501.js.LICENSE.txt} +0 -0
  109. /package/dist/{3059.js.LICENSE.txt → 4903.js.LICENSE.txt} +0 -0
  110. /package/dist/{3325.js.LICENSE.txt → 9044.js.LICENSE.txt} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@public-ui/sample-react",
3
- "version": "1.7.2",
3
+ "version": "2.0.0-rc.0",
4
4
  "description": "This app contains samples for the KoliBri/Public UI",
5
5
  "license": "EUPL-1.2",
6
6
  "dependencies": {
@@ -8,9 +8,9 @@
8
8
  "@leanup/stack-react": "1.3.48",
9
9
  "@leanup/stack-webpack": "1.3.48",
10
10
  "@public-oss/kolibri-themes": "0.0.3",
11
- "@public-ui/components": "1.7.2",
12
- "@public-ui/react": "1.7.2",
13
- "@public-ui/themes": "1.7.2",
11
+ "@public-ui/components": "2.0.0-rc.0",
12
+ "@public-ui/react": "2.0.0-rc.0",
13
+ "@public-ui/themes": "2.0.0-rc.0",
14
14
  "@types/node": "20.8.0",
15
15
  "@types/react": "18.2.23",
16
16
  "@types/react-dom": "18.2.8",
@@ -58,10 +58,10 @@ export const Sidebar: FC<Props> = ({ version, theme, routes, routeList, sample,
58
58
  <aside className="app-sidebar p-4">
59
59
  <div className="flex flex-justify-between flex-items-center">
60
60
  <KolHeading _label="KoliBri React"></KolHeading>
61
- <KolVersion _version={version}></KolVersion>
61
+ <KolVersion _label={version}></KolVersion>
62
62
  </div>
63
63
 
64
- <KolSelect _label="Theme wählen" _list={THEME_OPTIONS} _on={{ onChange: handleThemeSelectChange }} _value={[theme]} class="mt"></KolSelect>
64
+ <KolSelect _label="Theme wählen" _options={THEME_OPTIONS} _on={{ onChange: handleThemeSelectChange }} _value={[theme]} class="mt"></KolSelect>
65
65
 
66
66
  <KolHeading _label="Komponenten" _level={2} className="block mt"></KolHeading>
67
67
  <div className="flex flex-justify-between flex-items-center mt">
@@ -1,6 +1,6 @@
1
- Ich bin <kol-abbr _title="Abkürzung">z.B.</kol-abbr> eine Abkürzung.<br />
2
- Ich bin <kol-abbr _title="Abkürzung" _tooltip-align="right">z.B.</kol-abbr> eine Abkürzung (rechts).<br />
1
+ Ich bin <kol-abbr _label="Abkürzung">z.B.</kol-abbr> eine Abkürzung.<br />
2
+ Ich bin <kol-abbr _label="Abkürzung" _tooltip-align="right">z.B.</kol-abbr> eine Abkürzung (rechts).<br />
3
3
  Ich bin
4
- <kol-abbr _title="Abkürzung" _tooltip-align="bottom">z.B.</kol-abbr> eine Abkürzung (unten).<br />
5
- Ich bin <kol-abbr _title="Abkürzung" _tooltip-align="left">z.B.</kol-abbr> eine Abkürzung (links).<br />
6
- Ich bin <kol-abbr _title="Abkürzung" _tooltip-align="top">z.B.</kol-abbr> eine Abkürzung (oben).
4
+ <kol-abbr _label="Abkürzung" _tooltip-align="bottom">z.B.</kol-abbr> eine Abkürzung (unten).<br />
5
+ Ich bin <kol-abbr _label="Abkürzung" _tooltip-align="left">z.B.</kol-abbr> eine Abkürzung (links).<br />
6
+ Ich bin <kol-abbr _label="Abkürzung" _tooltip-align="top">z.B.</kol-abbr> eine Abkürzung (oben).
@@ -5,32 +5,32 @@ import { KolAbbr } from '@public-ui/react';
5
5
  export const AbbrBasic: FC = () => (
6
6
  <>
7
7
  <p>
8
- Ich bin <KolAbbr _title="Abkürzung">z.B.</KolAbbr> eine Abkürzung.
8
+ Ich bin <KolAbbr _label="Abkürzung">z.B.</KolAbbr> eine Abkürzung.
9
9
  </p>
10
10
  <p>
11
11
  Ich bin{' '}
12
- <KolAbbr _title="Abkürzung" _tooltipAlign="right">
12
+ <KolAbbr _label="Abkürzung" _tooltipAlign="right">
13
13
  z.B.
14
14
  </KolAbbr>{' '}
15
15
  eine Abkürzung (rechts).
16
16
  </p>
17
17
  <p>
18
18
  Ich bin{' '}
19
- <KolAbbr _title="Abkürzung" _tooltipAlign="bottom">
19
+ <KolAbbr _label="Abkürzung" _tooltipAlign="bottom">
20
20
  z.B.
21
21
  </KolAbbr>{' '}
22
22
  eine Abkürzung (unten).
23
23
  </p>
24
24
  <p>
25
25
  Ich bin{' '}
26
- <KolAbbr _title="Abkürzung" _tooltipAlign="left">
26
+ <KolAbbr _label="Abkürzung" _tooltipAlign="left">
27
27
  z.B.
28
28
  </KolAbbr>{' '}
29
29
  eine Abkürzung (links).
30
30
  </p>
31
31
  <p>
32
32
  Ich bin{' '}
33
- <KolAbbr _title="Abkürzung" _tooltipAlign="top">
33
+ <KolAbbr _label="Abkürzung" _tooltipAlign="top">
34
34
  z.B.
35
35
  </KolAbbr>{' '}
36
36
  eine Abkürzung (oben).
@@ -5,14 +5,14 @@ import { FC } from 'react';
5
5
 
6
6
  export const AccordionBasic: FC = () => (
7
7
  <div className="grid gap-4">
8
- <KolAccordion _heading="Überschrift Accordion Tab 1" _level={1}>
9
- <div slot="content">Inhalt Accordion Tab 1</div>
8
+ <KolAccordion _label="Überschrift Accordion Tab 1" _level={1}>
9
+ <div slot="">Inhalt Accordion Tab 1</div>
10
10
  </KolAccordion>
11
- <KolAccordion _heading="Überschrift Accordion Tab 2" _level={1} _open>
12
- <div slot="content">Inhalt Accordion Tab 2</div>
11
+ <KolAccordion _label="Überschrift Accordion Tab 2" _level={1} _open>
12
+ <div slot="">Inhalt Accordion Tab 2</div>
13
13
  </KolAccordion>
14
- <KolAccordion _heading="Überschrift Accordion Tab 3" _level={1}>
15
- <div slot="content">Inhalt Accordion Tab 3</div>
14
+ <KolAccordion _label="Überschrift Accordion Tab 3" _level={1}>
15
+ <div slot="">Inhalt Accordion Tab 3</div>
16
16
  </KolAccordion>
17
17
  </div>
18
18
  );
@@ -5,23 +5,23 @@ import { FC } from 'react';
5
5
 
6
6
  export const AccordionHeadlines: FC = () => (
7
7
  <div className="grid gap-4">
8
- <KolAccordion _heading="Überschrift Level 1" _level={1}>
9
- <div slot="content">Inhalt Accordion Tab 1</div>
8
+ <KolAccordion _label="Überschrift Level 1" _level={1}>
9
+ <div slot="">Inhalt Accordion Tab 1</div>
10
10
  </KolAccordion>
11
- <KolAccordion _heading="Überschrift Level 2" _level={2}>
12
- <div slot="content">Inhalt Accordion Tab 2</div>
11
+ <KolAccordion _label="Überschrift Level 2" _level={2}>
12
+ <div slot="">Inhalt Accordion Tab 2</div>
13
13
  </KolAccordion>
14
- <KolAccordion _heading="Überschrift Level 3" _level={3}>
15
- <div slot="content">Inhalt Accordion Tab 3</div>
14
+ <KolAccordion _label="Überschrift Level 3" _level={3}>
15
+ <div slot="">Inhalt Accordion Tab 3</div>
16
16
  </KolAccordion>
17
- <KolAccordion _heading="Überschrift Level 4" _level={4}>
18
- <div slot="content">Inhalt Accordion Tab 4</div>
17
+ <KolAccordion _label="Überschrift Level 4" _level={4}>
18
+ <div slot="">Inhalt Accordion Tab 4</div>
19
19
  </KolAccordion>
20
- <KolAccordion _heading="Überschrift Level 5" _level={5}>
21
- <div slot="content">Inhalt Accordion Tab 5</div>
20
+ <KolAccordion _label="Überschrift Level 5" _level={5}>
21
+ <div slot="">Inhalt Accordion Tab 5</div>
22
22
  </KolAccordion>
23
- <KolAccordion _heading="Überschrift Level 6" _level={6}>
24
- <div slot="content">Inhalt Accordion Tab 6</div>
23
+ <KolAccordion _label="Überschrift Level 6" _level={6}>
24
+ <div slot="">Inhalt Accordion Tab 6</div>
25
25
  </KolAccordion>
26
26
  </div>
27
27
  );
@@ -1,7 +1,5 @@
1
- import React from 'react';
2
- import { KolAccordion, KolButton } from '@public-ui/react';
3
-
4
- import { FC } from 'react';
1
+ import React, { FC } from 'react';
2
+ import { KolAccordion } from '@public-ui/react';
5
3
 
6
4
  const LIST = [
7
5
  {
@@ -21,11 +19,8 @@ const LIST = [
21
19
  export const AccordionList: FC = () => (
22
20
  <div className="grid gap-4">
23
21
  {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>
22
+ <KolAccordion _label={heading} _level={1} _open={index === 1} key={index}>
23
+ <p>{content}</p>
29
24
  </KolAccordion>
30
25
  ))}
31
26
  </div>
@@ -1,16 +1,12 @@
1
1
  import { Routes } from '../../shares/types';
2
2
 
3
3
  import { AccordionBasic } from './basic';
4
-
5
- import { AccordionHeader } from './header';
6
-
7
4
  import { AccordionHeadlines } from './headlines';
8
5
  import { AccordionList } from './list';
9
6
 
10
7
  export const ACCORDION_ROUTES: Routes = {
11
8
  accordion: {
12
9
  basic: AccordionBasic,
13
- header: AccordionHeader,
14
10
  headlines: AccordionHeadlines,
15
11
  list: AccordionList,
16
12
  },
@@ -17,13 +17,13 @@ type PropsBasic = {
17
17
 
18
18
  const AlertByType: FC<PropsByType> = ({ level, type, variant }) => (
19
19
  <>
20
- <KolAlert _heading="Das ist die Überschrift des Alert." _level={level} _type={type} _variant={variant}>
20
+ <KolAlert _label="Das ist die Überschrift des Alert." _level={level} _type={type} _variant={variant}>
21
21
  Das ist der Text des Alert.
22
22
  </KolAlert>
23
23
  <KolAlert _type={type} _variant={variant}>
24
24
  In diesem Alert wird nur der Text ohne Überschrift verwendet.
25
25
  </KolAlert>
26
- <KolAlert _heading="Das ist die Überschrift des Alert." _level={level} _type={type} _variant={variant} _hasCloser>
26
+ <KolAlert _label="Das ist die Überschrift des Alert." _level={level} _type={type} _variant={variant} _hasCloser>
27
27
  Das ist der Text des Alert. Mit Schließen-Button.
28
28
  </KolAlert>
29
29
  <KolAlert _type={type} _variant={variant} _hasCloser>
@@ -5,7 +5,7 @@ import { FC } from 'react';
5
5
 
6
6
  export const AlertHtml: FC = () => (
7
7
  <div>
8
- <KolAlert _heading="Ausgabe von HTML-Code im Alert" _type="info">
8
+ <KolAlert _label="Ausgabe von HTML-Code im Alert" _type="info">
9
9
  {' '}
10
10
  <h2 className="mt-2 mb-3">Hier wird eine H2-Überschrift ausgegeben</h2>
11
11
  <div style={{ display: 'grid', gridAutoFlow: 'column', gap: '1rem' }}>
@@ -6,7 +6,7 @@ import { FC } from 'react';
6
6
  export const BreadcrumbBasic: FC = () => (
7
7
  <div className="grid gap-4">
8
8
  <KolBreadcrumb
9
- _ariaLabel="Breadcrumb aus Text-Links"
9
+ _label="Breadcrumb aus Text-Links"
10
10
  _links={[
11
11
  { _label: 'Startseite', _href: '#/' },
12
12
  { _label: 'Unterseite der Startseite', _href: '#/unterseite' },
@@ -17,7 +17,7 @@ export const BreadcrumbBasic: FC = () => (
17
17
  ]}
18
18
  ></KolBreadcrumb>
19
19
  <KolBreadcrumb
20
- _ariaLabel="Breadcrumb aus Icons- oder Text-Links"
20
+ _label="Breadcrumb aus Icons- oder Text-Links"
21
21
  _links={[
22
22
  {
23
23
  _label: 'Startseite',
@@ -36,7 +36,7 @@ export const BreadcrumbBasic: FC = () => (
36
36
  ]}
37
37
  ></KolBreadcrumb>
38
38
  <KolBreadcrumb
39
- _ariaLabel="Breadcrumb aus Icons- und Text-Links"
39
+ _label="Breadcrumb aus Icons- und Text-Links"
40
40
  _links={[
41
41
  { _label: 'Startseite', _icons: 'codicon codicon-home', _href: '#/' },
42
42
  {
@@ -7,7 +7,7 @@ const ARGS = {
7
7
  _icons: 'codicon codicon-home',
8
8
  _hideLabel: true,
9
9
  _on: {
10
- onClick: (_event, _value) => alert('Klick!'),
10
+ onClick: () => alert('Klick!'),
11
11
  },
12
12
  };
13
13
 
@@ -4,9 +4,7 @@ import { KolCard } from '@public-ui/react';
4
4
  import { FC } from 'react';
5
5
 
6
6
  export const CardBasic: FC = () => (
7
- <KolCard _heading="Titel" _hasFooter>
8
- <div slot="header">Zusätzlicher Header</div>
9
- <div slot="content">Inhalt</div>
10
- <div slot="footer">Fusszeile</div>
7
+ <KolCard _label="Titel">
8
+ <div slot="">Inhalt</div>
11
9
  </KolCard>
12
10
  );
@@ -4,16 +4,18 @@ import { KolButton, KolCard } from '@public-ui/react';
4
4
  import { FC } from 'react';
5
5
 
6
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>
7
+ <KolCard _has-footer _label="Überschrift">
8
+ <div>
9
+ <p className="p-2">
10
+ Lorem ipsum dolor sit amet consectetur, adipisicing elit. Soluta pariatur laudantium saepe ipsa atque officia cupiditate repudiandae harum earum aut
11
+ doloribus autem libero exercitationem dolor ad, magni dignissimos ratione fuga. Lorem ipsum dolor sit amet consectetur adipisicing elit. Officiis
12
+ perferendis qui animi nesciunt illo facere, doloribus sint cupiditate nihil dolorem voluptate ab esse! Ducimus ad est commodi molestias voluptas
13
+ reiciendis.
14
+ </p>
15
+ <div className="flex gap-2 flex-justify-end">
16
+ <KolButton className="w-12rem" _variant="primary" _label="Speichern"></KolButton>
17
+ <KolButton className="w-12rem" _variant="secondary" _label="Abbrechen"></KolButton>
18
+ </div>
17
19
  </div>
18
20
  </KolCard>
19
21
  );
@@ -5,40 +5,30 @@ import { FC } from 'react';
5
5
 
6
6
  export const CardFlex: FC = () => (
7
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>
8
+ <KolCard _label="Titel">
9
+ <div>Inhalt</div>
12
10
  </KolCard>
13
- <KolCard _heading="Titel" _hasFooter>
14
- <div slot="header">Zusätzlicher Header</div>
15
- <div slot="content">
11
+ <KolCard _label="Titel">
12
+ <div>
16
13
  Inhalt
17
14
  <br />
18
15
  Inhalt
19
16
  </div>
20
- <div slot="footer">Fusszeile</div>
21
17
  </KolCard>
22
- <KolCard _heading="Titel" _hasFooter>
23
- <div slot="header">Zusätzlicher Header</div>
24
- <div slot="content">
18
+ <KolCard _label="Titel">
19
+ <div>
25
20
  Inhalt
26
21
  <br />
27
22
  Inhalt
28
23
  <br />
29
24
  Inhalt
30
25
  </div>
31
- <div slot="footer">Fusszeile</div>
32
26
  </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>
27
+ <KolCard _label="Titel">
28
+ <div>Inhalt</div>
37
29
  </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>
30
+ <KolCard _label="Titel">
31
+ <div>Inhalt</div>
42
32
  </KolCard>
43
33
  </div>
44
34
  );
@@ -12,57 +12,63 @@ const STYLE = {
12
12
 
13
13
  export const CardSelection: FC = () => (
14
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">
15
+ <KolCard _label="DEBTI-25437/17-1">
16
+ <div>
22
17
  <div>
23
- <img alt="Beispielbild" src="https://via.placeholder.com/200" />
18
+ TeCorp Endplatte
19
+ <br />
20
+ VZTA
24
21
  </div>
25
- </div>
26
- <div slot="footer">
27
- <div style={STYLE}>
28
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
29
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
22
+ <div>
23
+ <div>
24
+ <img alt="Beispielbild" src="https://via.placeholder.com/200" />
25
+ </div>
26
+ </div>
27
+ <div>
28
+ <div style={STYLE}>
29
+ <KolInputCheckbox _label={`Auswählen`} />
30
+ <KolButton _variant="primary" _label="Öffnen"></KolButton>
31
+ </div>
30
32
  </div>
31
33
  </div>
32
34
  </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">
35
+ <KolCard _label="DEBTI-25437/17-1">
36
+ <div>
40
37
  <div>
41
- <img alt="Beispielbild" src="https://via.placeholder.com/200" />
38
+ TeCorp Endplatte
39
+ <br />
40
+ VZTA
42
41
  </div>
43
- </div>
44
- <div slot="footer">
45
- <div style={STYLE}>
46
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
47
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
42
+ <div>
43
+ <div>
44
+ <img alt="Beispielbild" src="https://via.placeholder.com/200" />
45
+ </div>
46
+ </div>
47
+ <div>
48
+ <div style={STYLE}>
49
+ <KolInputCheckbox _label={`Auswählen`} />
50
+ <KolButton _variant="primary" _label="Öffnen"></KolButton>
51
+ </div>
48
52
  </div>
49
53
  </div>
50
54
  </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">
55
+ <KolCard _label="DEBTI-25437/17-1">
56
+ <div>
58
57
  <div>
59
- <img alt="Beispielbild" src="https://via.placeholder.com/200" />
58
+ TeCorp Endplatte
59
+ <br />
60
+ VZTA
60
61
  </div>
61
- </div>
62
- <div slot="footer">
63
- <div style={STYLE}>
64
- <KolInputCheckbox>Auswählen</KolInputCheckbox>
65
- <KolButton _variant="primary" _label="Öffnen"></KolButton>
62
+ <div>
63
+ <div>
64
+ <img alt="Beispielbild" src="https://via.placeholder.com/200" />
65
+ </div>
66
+ </div>
67
+ <div>
68
+ <div style={STYLE}>
69
+ <KolInputCheckbox _label={`Auswählen`} />
70
+ <KolButton _variant="primary" _label="Öffnen"></KolButton>
71
+ </div>
66
72
  </div>
67
73
  </div>
68
74
  </KolCard>
@@ -5,12 +5,12 @@ import { FC } from 'react';
5
5
 
6
6
  export const DetailsBasic: FC = () => (
7
7
  <p className="grid gap-4">
8
- <KolDetails _summary="Nach Laden der Seite geschlossen">
8
+ <KolDetails _label="Nach Laden der Seite geschlossen">
9
9
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
10
10
  voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.
11
11
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.
12
12
  </KolDetails>
13
- <KolDetails _summary="Nach Laden der Seite geöffnet" _open>
13
+ <KolDetails _label="Nach Laden der Seite geöffnet" _open>
14
14
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
15
15
  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.
16
16
  Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt.