@sebgroup/green-core 3.12.5 → 3.13.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 (66) hide show
  1. package/components/grouped-list/grouped-list.component.d.ts +0 -2
  2. package/components/grouped-list/grouped-list.component.js +3 -4
  3. package/components/grouped-list/index.d.ts +0 -1
  4. package/components/grouped-list/index.js +0 -1
  5. package/components/grouped-list/list-item.component.d.ts +1 -11
  6. package/components/grouped-list/list-item.component.js +2 -17
  7. package/components/index.d.ts +1 -0
  8. package/components/index.js +1 -0
  9. package/components/list/index.d.ts +2 -0
  10. package/components/list/index.js +2 -0
  11. package/components/list/list-item/index.d.ts +1 -0
  12. package/components/list/list-item/index.js +1 -0
  13. package/components/list/list-item/list-item.component.d.ts +16 -0
  14. package/components/list/list-item/list-item.component.js +24 -0
  15. package/components/list/list-item/list-item.d.ts +2 -0
  16. package/components/list/list-item/list-item.js +6 -0
  17. package/components/list/list-item/list-item.styles.d.ts +2 -0
  18. package/components/list/list-item/list-item.styles.js +13 -0
  19. package/components/list/list.component.d.ts +16 -0
  20. package/components/list/list.component.js +23 -0
  21. package/components/list/list.d.ts +2 -0
  22. package/components/list/list.js +6 -0
  23. package/components/list/list.styles.d.ts +2 -0
  24. package/components/list/list.styles.js +13 -0
  25. package/custom-elements.json +34865 -32572
  26. package/gds-element.js +1 -1
  27. package/generated/mcp/components.json +27 -2
  28. package/generated/mcp/icons.json +1 -1
  29. package/generated/mcp/index.json +1 -1
  30. package/generated/mcp/list/angular.md +17 -0
  31. package/generated/mcp/list/api.md +86 -0
  32. package/generated/mcp/list/guidelines.md +1 -0
  33. package/generated/mcp/list/index.json +9 -0
  34. package/generated/mcp/list/react.md +17 -0
  35. package/generated/mcp/list-item/angular.md +3 -1
  36. package/generated/mcp/list-item/api.md +17 -0
  37. package/generated/mcp/list-item/react.md +3 -1
  38. package/generated/mcp/list-item-pattern-01/angular.md +26 -0
  39. package/generated/mcp/list-item-pattern-01/api.md +55 -0
  40. package/generated/mcp/list-item-pattern-01/index.json +8 -0
  41. package/generated/mcp/list-item-pattern-01/react.md +26 -0
  42. package/generated/mcp/tokens.json +1 -1
  43. package/generated/react/index.d.ts +6 -4
  44. package/generated/react/index.js +6 -4
  45. package/generated/react/list/index.d.ts +727 -0
  46. package/generated/react/list/index.js +14 -0
  47. package/generated/react/list-item/index.d.ts +10 -1
  48. package/generated/react/list-item/index.js +1 -1
  49. package/generated/react/list-item-pattern-01/index.d.ts +690 -0
  50. package/generated/react/list-item-pattern-01/index.js +16 -0
  51. package/package.json +8 -1
  52. package/patterns/index.d.ts +1 -0
  53. package/patterns/index.js +1 -0
  54. package/patterns/list-item-pattern-01/index.d.ts +1 -0
  55. package/patterns/list-item-pattern-01/index.js +1 -0
  56. package/patterns/list-item-pattern-01/list-item-pattern-01.component.d.ts +74 -0
  57. package/patterns/list-item-pattern-01/list-item-pattern-01.component.js +278 -0
  58. package/patterns/list-item-pattern-01/list-item-pattern-01.d.ts +2 -0
  59. package/patterns/list-item-pattern-01/list-item-pattern-01.js +6 -0
  60. package/patterns/list-item-pattern-01/list-item-pattern-01.stories.data.d.ts +4 -0
  61. package/patterns/list-item-pattern-01/list-item-pattern-01.stories.data.js +8 -0
  62. package/patterns/list-item-pattern-01/list-item-pattern-01.styles.d.ts +2 -0
  63. package/patterns/list-item-pattern-01/list-item-pattern-01.styles.js +113 -0
  64. package/pure.d.ts +3 -0
  65. package/pure.js +3 -0
  66. package/utils/helpers/custom-element-scoping.js +1 -1
package/gds-element.js CHANGED
@@ -16,7 +16,7 @@ class GdsElement extends LitElement {
16
16
  /**
17
17
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
18
18
  */
19
- this.semanticVersion = "3.12.5";
19
+ this.semanticVersion = "3.13.0";
20
20
  this.syncFirstRender = false;
21
21
  this._isUsingTransitionalStyles = false;
22
22
  this._dynamicStylesController = new DynamicStylesController(this);
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-06-03T08:49:58.102Z",
2
+ "generatedAt": "2026-06-03T13:53:29.653Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -481,11 +481,24 @@
481
481
  "react"
482
482
  ]
483
483
  },
484
+ {
485
+ "name": "gds-list",
486
+ "tagName": "gds-list",
487
+ "className": "GdsList",
488
+ "description": "`gds-list` is a container for `gds-list-item` elements, expressing the semantic `list` role.\n\nIt extends `gds-flex` and defaults `flex-direction` to `column`.",
489
+ "path": "list/",
490
+ "files": [
491
+ "api",
492
+ "guidelines",
493
+ "angular",
494
+ "react"
495
+ ]
496
+ },
484
497
  {
485
498
  "name": "gds-list-item",
486
499
  "tagName": "gds-list-item",
487
500
  "className": "GdsListItem",
488
- "description": "",
501
+ "description": "`gds-list-item` is used as a child of `gds-list` to represent a single item in a list.",
489
502
  "path": "list-item/",
490
503
  "files": [
491
504
  "api",
@@ -493,6 +506,18 @@
493
506
  "react"
494
507
  ]
495
508
  },
509
+ {
510
+ "name": "gds-list-item-pattern-01",
511
+ "tagName": "gds-list-item-pattern-01",
512
+ "className": "GdsListItemPattern01",
513
+ "description": "",
514
+ "path": "list-item-pattern-01/",
515
+ "files": [
516
+ "api",
517
+ "angular",
518
+ "react"
519
+ ]
520
+ },
496
521
  {
497
522
  "name": "gds-mask",
498
523
  "tagName": "gds-mask",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-06-03T08:49:58.102Z",
2
+ "generatedAt": "2026-06-03T13:53:29.653Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-06-03T08:49:58.102Z",
2
+ "generatedAt": "2026-06-03T13:53:29.653Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -0,0 +1,17 @@
1
+ # gds-list - Angular
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GdsListComponent } from '@sebgroup/green-core-ng'
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ Use the component in your Angular templates:
12
+
13
+ ```html
14
+ <gds-list>
15
+ <!-- content -->
16
+ </gds-list>
17
+ ```
@@ -0,0 +1,86 @@
1
+ # gds-list
2
+
3
+ `gds-list` is a container for `gds-list-item` elements, expressing the semantic `list` role.
4
+
5
+ It extends `gds-flex` and defaults `flex-direction` to `column`.
6
+
7
+ **Class**: `GdsList`
8
+
9
+ **Tag**: `<gds-list>`
10
+
11
+
12
+ ## Properties
13
+
14
+ > Some properties accept design token names. Use `get_tokens` with the appropriate category to discover valid token names and their resolved values.
15
+
16
+ | Name | Type | Default | Description |
17
+ |------|------|---------|-------------|
18
+ | `width` | `string \| undefined` | `-` | Style Expression Property that controls the `width` property. Supports space tokens and all valid CSS `width` values. |
19
+ | `'min-width'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-width` property. Supports space tokens and all valid CSS `min-width` values. |
20
+ | `'max-width'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-width` property. Supports space tokens and all valid CSS `max-width` values. |
21
+ | `'inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `inline-size` property. Supports space tokens and all valid CSS `inline-size` values |
22
+ | `'min-inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-inline-size` property. Supports space tokens and all valid CSS `min-inline-size` values. |
23
+ | `'max-inline-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-inline-size` property. Supports space tokens and all valid CSS `max-inline-size` values. |
24
+ | `height` | `string \| undefined` | `-` | Style Expression Property that controls the `height` property. Supports space tokens and all valid CSS `height` values. |
25
+ | `'min-height'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-height` property. Supports space tokens and all valid CSS `min-height` values. |
26
+ | `'max-height'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-height` property. Supports space tokens and all valid CSS `max-height` values. |
27
+ | `'block-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `block-size` property. Supports space tokens and all valid CSS `block-size` values. |
28
+ | `'min-block-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `min-block-size` property. Supports space tokens and all valid CSS `min-block-size` values. |
29
+ | `'max-block-size'` | `string \| undefined` | `-` | Style Expression Property that controls the `max-block-size` property. Supports space tokens and all valid CSS `max-block-size` values. |
30
+ | `margin` | `string \| undefined` | `-` | Style Expression Property that controls the `margin` property. Only accepts space tokens. |
31
+ | `'margin-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-inline` property. Only accepts space tokens. |
32
+ | `'margin-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `margin-block` property. Only accepts space tokens. |
33
+ | `padding` | `string \| undefined` | `-` | Style Expression Property that controls the `padding` property. Only accepts space tokens. |
34
+ | `'padding-inline'` | `string \| undefined` | `-` | Style Expression Property that controls the `padding-inline` property. Only accepts space tokens. |
35
+ | `'padding-block'` | `string \| undefined` | `-` | Style Expression Property that controls the `padding-block` property. Only accepts space tokens. |
36
+ | `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
37
+ | `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
38
+ | `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
39
+ | `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
40
+ | `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
41
+ | `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
42
+ | `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
43
+ | `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
44
+ | `position` | `string \| undefined` | `-` | Style Expression Property that controls the `position` property. Supports all valid CSS `position` values. |
45
+ | `transform` | `string \| undefined` | `-` | Style Expression Property that controls the `transform` property. Supports all valid CSS `transform` values. |
46
+ | `inset` | `string \| undefined` | `-` | Style Expression Property that controls the `inset` property. Supports all valid CSS `inset` values. |
47
+ | `display` | `string \| undefined` | `-` | Controls the display property. Supports all valid CSS display values. |
48
+ | `level` | `GdsColorLevel` | `-` | The level of the container is used to resolve the color tokens from the corresponding level. Check the [Color System documentation page](./?path=/docs/style-colors--docs) for more information. Default for `gds-div` is level 2. |
49
+ | `color` | `string \| undefined` | `-` | Style Expression Property that controls the `color` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-div color="neutral-01/0.2"></gds-div> ``` |
50
+ | `background` | `string \| undefined` | `-` | Style Expression Property that controls the `background` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-div background="neutral-01/0.2"></gds-div> ``` |
51
+ | `border` | `string \| undefined` | `-` | Style Expression Property that controls the `border` property. Accepts a string of the same format as the CSS border property. ```html <gds-div border="4xs solid subtle-01/0.2"></gds-div> ``` Where the size value accepts space tokens and the color value accepts color tokens and an optional transparency value. |
52
+ | `'border-color'` | `string \| undefined` | `-` | Style Expression Property that controls the `border-color` property. Only accepts color tokens and an optional transparency value, in the format tokenName/transparency. ```html <gds-div border-color="subtle-01/0.2"></gds-div> ``` |
53
+ | `'border-width'` | `string \| undefined` | `-` | Style Expression Property that controls the `border-width` property. Only accepts space tokens. |
54
+ | `'border-style'` | `string \| undefined` | `-` | Style Expression Property that controls the `border-style` property. Supports all valid CSS `border-style` values. |
55
+ | `'border-radius'` | `string \| undefined` | `-` | Style Expression Property that controls the `border-radius` property. Only accepts space tokens. |
56
+ | `'box-shadow'` | `string \| undefined` | `-` | Style Expression Property for the `box-shadow` property. Accepts shadow tokens from the design system. `xs`, `s`, `m`, `l`, `xl` |
57
+ | `opacity` | `string \| undefined` | `-` | Style Expression Property that controls the `opacity` property. Supports all valid CSS `opacity` values. |
58
+ | `overflow` | `string \| undefined` | `-` | Style Expression Property that controls the `overflow` property. Supports all valid CSS `overflow` values. |
59
+ | `'box-sizing'` | `string \| undefined` | `-` | Style Expression Property that controls the `box-sizing` property. Supports all valid CSS `box-sizing` values. |
60
+ | `'z-index'` | `string \| undefined` | `-` | Style Expression Property that controls the `z-index` property. Supports all valid CSS `z-index` values. |
61
+ | `'font'` | `string \| undefined` | `-` | Style Expression Property that controls the `font` property. Supports all font tokens from the design system. |
62
+ | `'font-weight'` | `string \| undefined` | `-` | Style Expression Property that controls the `font-weight` property. Supports all typography weight tokens from the design system. |
63
+ | `'text-align'` | `string \| undefined` | `-` | Style Expression Property that controls the `text-align` property. Supports all valid CSS `text-align` values. |
64
+ | `'text-wrap'` | `string \| undefined` | `-` | Style Expression Property that controls the `text-wrap` property. Supports all valid CSS `text-wrap` values. |
65
+ | `'overflow-wrap'` | `string \| undefined` | `-` | Style Expression Property that controls the `overflow-wrap` property. Supports all valid CSS `overflow-wrap` values. |
66
+ | `'white-space'` | `string \| undefined` | `-` | Style Expression Property that controls the `white-space` property. Supports all valid CSS `white-space` values. |
67
+ | `gap` | `string \| undefined` | `-` | Style Expression Property that controls the `gap` property. Only accepts space tokens. |
68
+ | `'align-items'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-items` property. Supports all valid CSS `align-items` values. |
69
+ | `'align-content'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-content` property. Supports all valid CSS `align-content` values. |
70
+ | `'justify-content'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-content` property. Supports all valid CSS `justify-content` values. |
71
+ | `'justify-items'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-items` property. Supports all valid CSS `justify-items` values. |
72
+ | `'flex-direction'` | `string \| undefined` | `-` | Style Expression Property that controls the `flex-direction` property. Supports all valid CSS `flex-direction` values. |
73
+ | `'flex-wrap'` | `string \| undefined` | `-` | Style Expression Property that controls the `flex-wrap` property. Supports all valid CSS `flex-wrap` values. |
74
+ | `'place-items'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-items` property. Supports all valid CSS `place-items` values. |
75
+ | `'place-content'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-content` property. Supports all valid CSS `place-content` values. |
76
+ | `'aspect-ratio'` | `string \| undefined` | `-` | Style Expression Property that controls the `aspect-ratio` property. Supports all valid CSS `aspect-ratio` values. |
77
+ | `cursor` | `string \| undefined` | `-` | Style Expression Property that controls the `cursor` property. Supports all valid CSS `cursor` values. |
78
+ | `'pointer-events'` | `string \| undefined` | `-` | Style Expression Property that controls the `pointer-events` property. Supports all valid CSS `pointer-events` values. |
79
+ | `syncFirstRender` | `boolean` | `-` | Force the element to perform a synchronous first render and apply style expression properties in `connectedCallback`. This guarantees that the child DOM always remains projected in DOM, since the element will attach the shadowRoot and run the first render pass in the same event loop cycle, and that declarative layout will be applied once slotted DOM is projected. Note: This will cause the first render pass to be blocking. Use sparingly and only when necessary, such as when the element needs to be measured synchronously after being added to the DOM. |
80
+
81
+
82
+ ## Slots
83
+
84
+ | Name | Description |
85
+ |------|-------------|
86
+ | `(default)` | Default slot for `gds-list-item` children. |
@@ -0,0 +1 @@
1
+ # List
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "gds-list",
3
+ "files": {
4
+ "api": "api.md",
5
+ "guidelines": "guidelines.md",
6
+ "angular": "angular.md",
7
+ "react": "react.md"
8
+ }
9
+ }
@@ -0,0 +1,17 @@
1
+ # gds-list - React
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GdsList } from '@sebgroup/green-core/react'
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ Use the component as a React JSX element:
12
+
13
+ ```tsx
14
+ <GdsList>
15
+ {/* content */}
16
+ </GdsList>
17
+ ```
@@ -11,5 +11,7 @@ import { GdsListItemComponent } from '@sebgroup/green-core-ng'
11
11
  Use the component in your Angular templates:
12
12
 
13
13
  ```html
14
- <gds-list-item></gds-list-item>
14
+ <gds-list-item>
15
+ <!-- content -->
16
+ </gds-list-item>
15
17
  ```
@@ -1,5 +1,7 @@
1
1
  # gds-list-item
2
2
 
3
+ `gds-list-item` is used as a child of `gds-list` to represent a single item in a list.
4
+
3
5
  **Class**: `GdsListItem`
4
6
 
5
7
  **Tag**: `<gds-list-item>`
@@ -9,4 +11,19 @@
9
11
 
10
12
  | Name | Type | Default | Description |
11
13
  |------|------|---------|-------------|
14
+ | `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
15
+ | `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
16
+ | `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
17
+ | `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
18
+ | `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
19
+ | `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
20
+ | `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
21
+ | `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
12
22
  | `syncFirstRender` | `boolean` | `-` | Force the element to perform a synchronous first render and apply style expression properties in `connectedCallback`. This guarantees that the child DOM always remains projected in DOM, since the element will attach the shadowRoot and run the first render pass in the same event loop cycle, and that declarative layout will be applied once slotted DOM is projected. Note: This will cause the first render pass to be blocking. Use sparingly and only when necessary, such as when the element needs to be measured synchronously after being added to the DOM. |
23
+
24
+
25
+ ## Slots
26
+
27
+ | Name | Description |
28
+ |------|-------------|
29
+ | `(default)` | Content to be displayed as the main content. |
@@ -11,5 +11,7 @@ import { GdsListItem } from '@sebgroup/green-core/react'
11
11
  Use the component as a React JSX element:
12
12
 
13
13
  ```tsx
14
- <GdsListItem />
14
+ <GdsListItem>
15
+ {/* content */}
16
+ </GdsListItem>
15
17
  ```
@@ -0,0 +1,26 @@
1
+ # gds-list-item-pattern-01 - Angular
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GdsListItemPattern01Component } from '@sebgroup/green-core-ng'
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ Use the component in your Angular templates:
12
+
13
+ ```html
14
+ <gds-list-item-pattern-01>
15
+ <!-- content -->
16
+ </gds-list-item-pattern-01>
17
+ ```
18
+
19
+ ## Event Handling
20
+
21
+ Events are emitted using Angular output syntax. Event names are converted from kebab-case to camelCase:
22
+
23
+ | Web Component Event | Angular Output | Handler Example |
24
+ |---------------------|----------------|-----------------|
25
+ | `input` | `input` | `(input)="handler($event)"` |
26
+ | `change` | `change` | `(change)="handler($event)"` |
@@ -0,0 +1,55 @@
1
+ # gds-list-item-pattern-01
2
+
3
+ **Class**: `GdsListItemPattern01`
4
+
5
+ **Tag**: `<gds-list-item-pattern-01>`
6
+
7
+
8
+ ## Properties
9
+
10
+ > Some properties accept design token names. Use `get_tokens` with the appropriate category to discover valid token names and their resolved values.
11
+
12
+ | Name | Type | Default | Description |
13
+ |------|------|---------|-------------|
14
+ | `items` | `ListPatternItem[] \| undefined` | `-` | Multi-column content for the main slot. Each entry has an optional `label` and a required `value`. When set, takes precedence over the default slot. Accepts: `Array<{ label?: string, value: string }>` |
15
+ | `label` | `string` | `-` | Optional label displayed above the items in the main slot. If not set, falls back to the first item's label (if available). |
16
+ | `selectable` | `boolean` | `-` | Enables a checkbox in the lead slot of the row. The checkbox can be toggled and emits a `toggle-change` event. |
17
+ | `checked` | `boolean` | `-` | Whether the checkbox is checked. Only relevant when `selectable` is true. |
18
+ | `indeterminate` | `boolean` | `-` | Whether the checkbox is in an indeterminate state. Only relevant when `selectable` is true. |
19
+ | `disabled` | `boolean` | `-` | Whether the checkbox is disabled. Only relevant when `selectable` is true. |
20
+ | `'padding-inline'` | `string \| undefined` | `-` | Controls the `padding-inline` of the item. Accepts space token names (e.g. `s`, `m`, `l`) or custom CSS values (e.g. `0`). Defaults to `s` via the stylesheet. Set to `0` to remove padding. |
21
+ | `href` | `string \| undefined` | `-` | URL that the link points to Can be absolute, relative, or fragment identifier |
22
+ | `target` | `'_self' \| '_blank' \| '_parent' \| '_top' \| undefined` | `-` | Specifies where to open the linked document |
23
+ | `rel` | `string \| undefined` | `-` | Specifies the relationship between the current document and the linked document Automatically adds security-related values when target="_blank" |
24
+ | `download` | `string \| boolean \| undefined` | `-` | When present, indicates that the linked resource should be downloaded |
25
+ | `ping` | `string \| undefined` | `-` | Specifies a space-separated list of URLs to which, when the link is followed, POST requests with the body ping will be sent by the browser. |
26
+ | `'align-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `align-self` property. Supports all valid CSS `align-self` values. |
27
+ | `'justify-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `justify-self` property. Supports all valid CSS `justify-self` values. |
28
+ | `'place-self'` | `string \| undefined` | `-` | Style Expression Property that controls the `place-self` property. Supports all valid CSS `place-self` values. |
29
+ | `'grid-column'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-column` property. Supports all valid CSS grid-column values. Documentation: https://developer.mozilla.org/en-US/docs/Web/CSS/grid-column |
30
+ | `'grid-row'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-row` property. Supports all valid CSS `grid-row` values. |
31
+ | `'grid-area'` | `string \| undefined` | `-` | Style Expression Property that controls the `grid-area` property. Supports all valid CSS `grid-area` values. |
32
+ | `flex` | `string \| undefined` | `-` | Style Expression Property that controls the `flex` property. Supports all valid CSS `flex` values. |
33
+ | `order` | `string \| undefined` | `-` | Style Expression Property that controls the `order` property. Supports all valid CSS `order` values. |
34
+ | `syncFirstRender` | `boolean` | `-` | Force the element to perform a synchronous first render and apply style expression properties in `connectedCallback`. This guarantees that the child DOM always remains projected in DOM, since the element will attach the shadowRoot and run the first render pass in the same event loop cycle, and that declarative layout will be applied once slotted DOM is projected. Note: This will cause the first render pass to be blocking. Use sparingly and only when necessary, such as when the element needs to be measured synchronously after being added to the DOM. |
35
+
36
+
37
+ ## Events
38
+
39
+ | Name | Type | Description |
40
+ |------|------|-------------|
41
+ | `input` | `Event` | Dispatched when the checkbox is checked or unchecked. |
42
+ | `change` | `Event` | Dispatched when the checkbox is checked or unchecked. |
43
+
44
+
45
+ ## Slots
46
+
47
+ | Name | Description |
48
+ |------|-------------|
49
+ | `(default)` | Main content slot. Rendered after `items` columns when `items` is set, or as the sole main content when `items` is not set. |
50
+ | `lead` | Lead slot content. Ignored when `selectable` is set (checkbox takes precedence). |
51
+
52
+
53
+ ## Routing Support
54
+
55
+ This component supports routing via the `href` property.
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "gds-list-item-pattern-01",
3
+ "files": {
4
+ "api": "api.md",
5
+ "angular": "angular.md",
6
+ "react": "react.md"
7
+ }
8
+ }
@@ -0,0 +1,26 @@
1
+ # gds-list-item-pattern-01 - React
2
+
3
+ ## Import
4
+
5
+ ```typescript
6
+ import { GdsListItemPattern01 } from '@sebgroup/green-core/react'
7
+ ```
8
+
9
+ ## Usage
10
+
11
+ Use the component as a React JSX element:
12
+
13
+ ```tsx
14
+ <GdsListItemPattern01>
15
+ {/* content */}
16
+ </GdsListItemPattern01>
17
+ ```
18
+
19
+ ## Event Handling
20
+
21
+ Events are handled using React event handler props. Event names are converted from kebab-case to camelCase with an "on" prefix:
22
+
23
+ | Web Component Event | React Handler Prop | Handler Example |
24
+ |---------------------|--------------------|-----------------|
25
+ | `input` | `onInput` | `onInput={handler}` |
26
+ | `change` | `onChange` | `onChange={handler}` |
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-06-03T08:49:57.214Z",
2
+ "generatedAt": "2026-06-03T13:53:29.549Z",
3
3
  "categories": {
4
4
  "space": {
5
5
  "description": "Spacing tokens for padding, margin, gap, and other spacing",
@@ -1,9 +1,9 @@
1
1
  export * from './alert/index.js';
2
- export * from './avatar/index.js';
3
- export * from './badge/index.js';
4
2
  export * from './blur/index.js';
5
- export * from './breadcrumbs/index.js';
3
+ export * from './badge/index.js';
4
+ export * from './avatar/index.js';
6
5
  export * from './button/index.js';
6
+ export * from './breadcrumbs/index.js';
7
7
  export * from './calendar/index.js';
8
8
  export * from './card/index.js';
9
9
  export * from './card-linked/index.js';
@@ -22,10 +22,10 @@ export * from './flex/index.js';
22
22
  export * from './form-summary/index.js';
23
23
  export * from './grid/index.js';
24
24
  export * from './grouped-list/index.js';
25
- export * from './list-item/index.js';
26
25
  export * from './img/index.js';
27
26
  export * from './input/index.js';
28
27
  export * from './link/index.js';
28
+ export * from './list/index.js';
29
29
  export * from './mask/index.js';
30
30
  export * from './menu-button/index.js';
31
31
  export * from './pagination/index.js';
@@ -44,6 +44,7 @@ export * from './textarea/index.js';
44
44
  export * from './theme/index.js';
45
45
  export * from './video/index.js';
46
46
  export * from './card-pattern-01/index.js';
47
+ export * from './list-item-pattern-01/index.js';
47
48
  export * from './avatar-group/index.js';
48
49
  export * from './breadcrumb/index.js';
49
50
  export * from './checkbox-group/index.js';
@@ -52,6 +53,7 @@ export * from './filter-chip/index.js';
52
53
  export * from './formatted-account/index.js';
53
54
  export * from './formatted-date/index.js';
54
55
  export * from './formatted-number/index.js';
56
+ export * from './list-item/index.js';
55
57
  export * from './radio-group/index.js';
56
58
  export * from './segment/index.js';
57
59
  export * from './sensitive-account/index.js';
@@ -1,9 +1,9 @@
1
1
  export * from "./alert/index.js";
2
- export * from "./avatar/index.js";
3
- export * from "./badge/index.js";
4
2
  export * from "./blur/index.js";
5
- export * from "./breadcrumbs/index.js";
3
+ export * from "./badge/index.js";
4
+ export * from "./avatar/index.js";
6
5
  export * from "./button/index.js";
6
+ export * from "./breadcrumbs/index.js";
7
7
  export * from "./calendar/index.js";
8
8
  export * from "./card/index.js";
9
9
  export * from "./card-linked/index.js";
@@ -22,10 +22,10 @@ export * from "./flex/index.js";
22
22
  export * from "./form-summary/index.js";
23
23
  export * from "./grid/index.js";
24
24
  export * from "./grouped-list/index.js";
25
- export * from "./list-item/index.js";
26
25
  export * from "./img/index.js";
27
26
  export * from "./input/index.js";
28
27
  export * from "./link/index.js";
28
+ export * from "./list/index.js";
29
29
  export * from "./mask/index.js";
30
30
  export * from "./menu-button/index.js";
31
31
  export * from "./pagination/index.js";
@@ -44,6 +44,7 @@ export * from "./textarea/index.js";
44
44
  export * from "./theme/index.js";
45
45
  export * from "./video/index.js";
46
46
  export * from "./card-pattern-01/index.js";
47
+ export * from "./list-item-pattern-01/index.js";
47
48
  export * from "./avatar-group/index.js";
48
49
  export * from "./breadcrumb/index.js";
49
50
  export * from "./checkbox-group/index.js";
@@ -52,6 +53,7 @@ export * from "./filter-chip/index.js";
52
53
  export * from "./formatted-account/index.js";
53
54
  export * from "./formatted-date/index.js";
54
55
  export * from "./formatted-number/index.js";
56
+ export * from "./list-item/index.js";
55
57
  export * from "./radio-group/index.js";
56
58
  export * from "./segment/index.js";
57
59
  export * from "./sensitive-account/index.js";