@sebgroup/green-core 3.17.2 → 3.17.4
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/components/dropdown/dropdown.component.d.ts +0 -1
- package/components/dropdown/dropdown.component.js +8 -18
- package/components/table/table.component.js +1 -0
- package/custom-elements.json +43639 -43639
- package/gds-element.js +1 -1
- package/generated/mcp/components.json +1 -1
- package/generated/mcp/icons.json +1 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/list-item-pattern-01/guidelines.md +7 -34
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/index.d.ts +4 -4
- package/generated/react/index.js +4 -4
- package/package.json +1 -1
- 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.17.
|
|
19
|
+
this.semanticVersion = "3.17.4";
|
|
20
20
|
this.syncFirstRender = false;
|
|
21
21
|
this._isUsingTransitionalStyles = false;
|
|
22
22
|
this._dynamicStylesController = new DynamicStylesController(this);
|
package/generated/mcp/icons.json
CHANGED
package/generated/mcp/index.json
CHANGED
|
@@ -5,41 +5,12 @@ List item Pattern 01 provides a predefined layout for displaying structured info
|
|
|
5
5
|
|
|
6
6
|
## Overview
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
### When to use
|
|
9
9
|
|
|
10
|
-
Use Pattern 01 when displaying structured information that users need to scan, compare or interact with.
|
|
11
|
-
|
|
12
|
-
Common examples include:
|
|
13
|
-
|
|
14
|
-
- Accounts
|
|
15
|
-
- Transactions
|
|
16
|
-
- Settings
|
|
17
|
-
- Contacts
|
|
18
|
-
- Documents
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
### Content layout
|
|
23
|
-
|
|
24
|
-
The content area supports one, two or three content columns. Each column can contain one or more Items, allowing related information to be grouped in a structured and consistent way.
|
|
25
|
-
|
|
26
|
-
If your layout requires more than three content columns, use custom content instead of the predefined pattern.
|
|
10
|
+
Use Pattern 01 when displaying structured information that users need to scan, compare or interact with. Common examples include:
|
|
27
11
|
|
|
28
12
|
### Layout examples
|
|
29
13
|
|
|
30
|
-
- Label only
|
|
31
|
-
- Label + supporting text
|
|
32
|
-
- Leading icon
|
|
33
|
-
- Leading avatar
|
|
34
|
-
- Two content columns
|
|
35
|
-
- Three content columns
|
|
36
|
-
- Trailing value
|
|
37
|
-
- Badge
|
|
38
|
-
- Chevron
|
|
39
|
-
- Action button
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
14
|
### Interaction
|
|
44
15
|
|
|
45
16
|
Pattern 01 supports both static and interactive list items.
|
|
@@ -63,14 +34,16 @@ Use for icons, avatars, or custom leading content. When `selectable` is enabled,
|
|
|
63
34
|
|
|
64
35
|
#### Content slot
|
|
65
36
|
|
|
66
|
-
The
|
|
37
|
+
The Content slot is fully customizable and can contain any content needed for your use case.
|
|
38
|
+
|
|
39
|
+
For the recommended layout, use the `Items` property. It provides predefined content styles and supports one, two or three content columns, making it easy to create consistent and scannable list items.
|
|
67
40
|
|
|
68
|
-
|
|
41
|
+
If your layout requires more flexibility than the `Items` property supports, you can instead provide custom content through the Content slot.
|
|
69
42
|
|
|
70
43
|
#### Trail slot
|
|
71
44
|
|
|
72
45
|
Use the **Trail** slot for secondary content, such as values, status, metadata or actions. Keep trailing content concise and avoid placing the primary information here.
|
|
73
46
|
|
|
74
|
-
When a list item is configured as
|
|
47
|
+
When a list item is configured as navigational**** (`href)`, a chevron icon is automatically displayed in the Trail slot. When configured as `selectable`**** and**** `navigational`, the Trail slot instead displays an icon button with a chevron icon, indicating both selection and navigation.
|
|
75
48
|
|
|
76
49
|
### Do's and don'ts
|
|
@@ -4,14 +4,14 @@ export * from './badge/index.js';
|
|
|
4
4
|
export * from './blur/index.js';
|
|
5
5
|
export * from './breadcrumbs/index.js';
|
|
6
6
|
export * from './button/index.js';
|
|
7
|
-
export * from './calendar/index.js';
|
|
8
7
|
export * from './card/index.js';
|
|
8
|
+
export * from './calendar/index.js';
|
|
9
9
|
export * from './card-linked/index.js';
|
|
10
10
|
export * from './checkbox/index.js';
|
|
11
11
|
export * from './coachmark/index.js';
|
|
12
12
|
export * from './context-menu/index.js';
|
|
13
|
-
export * from './datepicker/index.js';
|
|
14
13
|
export * from './details/index.js';
|
|
14
|
+
export * from './datepicker/index.js';
|
|
15
15
|
export * from './dialog/index.js';
|
|
16
16
|
export * from './div/index.js';
|
|
17
17
|
export * from './divider/index.js';
|
|
@@ -25,8 +25,8 @@ export * from './grouped-list/index.js';
|
|
|
25
25
|
export * from './img/index.js';
|
|
26
26
|
export * from './input/index.js';
|
|
27
27
|
export * from './link/index.js';
|
|
28
|
-
export * from './list/index.js';
|
|
29
28
|
export * from './mask/index.js';
|
|
29
|
+
export * from './list/index.js';
|
|
30
30
|
export * from './menu-button/index.js';
|
|
31
31
|
export * from './pagination/index.js';
|
|
32
32
|
export * from './backdrop/index.js';
|
|
@@ -39,8 +39,8 @@ export * from './signal/index.js';
|
|
|
39
39
|
export * from './spinner/index.js';
|
|
40
40
|
export * from './switch/index.js';
|
|
41
41
|
export * from './table/index.js';
|
|
42
|
-
export * from './tabs/index.js';
|
|
43
42
|
export * from './text/index.js';
|
|
43
|
+
export * from './tabs/index.js';
|
|
44
44
|
export * from './textarea/index.js';
|
|
45
45
|
export * from './theme/index.js';
|
|
46
46
|
export * from './video/index.js';
|
package/generated/react/index.js
CHANGED
|
@@ -4,14 +4,14 @@ export * from "./badge/index.js";
|
|
|
4
4
|
export * from "./blur/index.js";
|
|
5
5
|
export * from "./breadcrumbs/index.js";
|
|
6
6
|
export * from "./button/index.js";
|
|
7
|
-
export * from "./calendar/index.js";
|
|
8
7
|
export * from "./card/index.js";
|
|
8
|
+
export * from "./calendar/index.js";
|
|
9
9
|
export * from "./card-linked/index.js";
|
|
10
10
|
export * from "./checkbox/index.js";
|
|
11
11
|
export * from "./coachmark/index.js";
|
|
12
12
|
export * from "./context-menu/index.js";
|
|
13
|
-
export * from "./datepicker/index.js";
|
|
14
13
|
export * from "./details/index.js";
|
|
14
|
+
export * from "./datepicker/index.js";
|
|
15
15
|
export * from "./dialog/index.js";
|
|
16
16
|
export * from "./div/index.js";
|
|
17
17
|
export * from "./divider/index.js";
|
|
@@ -25,8 +25,8 @@ export * from "./grouped-list/index.js";
|
|
|
25
25
|
export * from "./img/index.js";
|
|
26
26
|
export * from "./input/index.js";
|
|
27
27
|
export * from "./link/index.js";
|
|
28
|
-
export * from "./list/index.js";
|
|
29
28
|
export * from "./mask/index.js";
|
|
29
|
+
export * from "./list/index.js";
|
|
30
30
|
export * from "./menu-button/index.js";
|
|
31
31
|
export * from "./pagination/index.js";
|
|
32
32
|
export * from "./backdrop/index.js";
|
|
@@ -39,8 +39,8 @@ export * from "./signal/index.js";
|
|
|
39
39
|
export * from "./spinner/index.js";
|
|
40
40
|
export * from "./switch/index.js";
|
|
41
41
|
export * from "./table/index.js";
|
|
42
|
-
export * from "./tabs/index.js";
|
|
43
42
|
export * from "./text/index.js";
|
|
43
|
+
export * from "./tabs/index.js";
|
|
44
44
|
export * from "./textarea/index.js";
|
|
45
45
|
export * from "./theme/index.js";
|
|
46
46
|
export * from "./video/index.js";
|
package/package.json
CHANGED