@sebgroup/green-core 2.21.0-rc.20260112150926042 → 2.21.0-rc.20260113135658239

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/gds-element.js CHANGED
@@ -12,7 +12,7 @@ class GdsElement extends LitElement {
12
12
  /**
13
13
  * The semantic version of this element. Can be used for troubleshooting to verify the version being used.
14
14
  */
15
- this.semanticVersion = "2.21.0-rc.20260112150926042";
15
+ this.semanticVersion = "2.21.0-rc.20260113135658239";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -0,0 +1,64 @@
1
+ # Green Design System - MCP Instructions
2
+
3
+ ## Critical Rules
4
+
5
+ ### Pre-Implementation Requirements
6
+
7
+ - **ALWAYS read the declarative layout guide before creating any layout**
8
+ - **Read component-specific instructions.md when available**
9
+ - **NEVER guess or assume component API. ALWAYS look up properties in the API docs**
10
+ - **Verify full context understanding before writing code**
11
+ - **Ask user for clarification if ANY requirement is unclear**
12
+ - **For new apps, ALWAYS read the setup guide for the used framework (Angular or React)**
13
+
14
+ ### Component Architecture
15
+
16
+ - All components use `gds-` prefix
17
+ - Web components built with Lit (framework-agnostic)
18
+ - Angular wrappers: `@sebgroup/green-core-ng` with `Component` suffix
19
+ - React wrappers: `@sebgroup/green-core/react` as PascalCase names
20
+
21
+ ### Typography Rules
22
+
23
+ - **REQUIRED**: Use `gds-text` component for all headings and text content
24
+ - **REQUIRED**: Use `gds-rich-text` for large bodies of text with varied formatting
25
+ - **FORBIDDEN**: Direct HTML text elements (h1-h6, p, span) without gds-text wrapper
26
+
27
+ ### Layout Rules
28
+
29
+ - **REQUIRED**: Use declarative layout system for all layouts
30
+ - **REQUIRED**: Read declarative layout guide before implementing any layout
31
+ - **PREFERRED**: Declarative layout over custom CSS
32
+ - **FORBIDDEN**: Custom CSS for layout unless declarative system cannot support the requirement
33
+
34
+ ### Component Usage Protocol
35
+
36
+ 1. **Verify component capabilities**:
37
+ - Check if component accepts children (has slots)
38
+ - Review properties, events, methods in api.md
39
+ - Check subcomponents field for required relationships
40
+
41
+ 2. **Check constraints**:
42
+ - Verify component relationships (e.g., radio must be in radio-group)
43
+ - Read component instructions.md if exists
44
+ - Review guidelines.md for UX patterns
45
+
46
+ 3. **Framework patterns**:
47
+ - Angular: kebab-case events → camelCase outputs
48
+ - React: events use "on" prefix (onChange, onClick)
49
+ - Web Components: standard DOM events
50
+
51
+ ### Required Reading Order
52
+
53
+ 1. Component api.md (target component)
54
+ 2. Component instructions.md (if exists)
55
+ 3. Component guidelines.md (if exists)
56
+ 4. Framework-specific guide (angular.md or react.md)
57
+
58
+ ### Resource Reference
59
+
60
+ - `api.md` - Complete technical API reference
61
+ - `guidelines.md` - UX and design guidelines
62
+ - `instructions.md` - Agent-specific constraints and notes
63
+ - `angular.md` / `react.md` - Framework-specific patterns
64
+ - `guides/` - Setup, troubleshooting, migration documentation
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-12T15:09:51.320Z",
3
+ "generatedAt": "2026-01-13T13:57:27.036Z",
4
4
  "components": [
5
5
  {
6
6
  "name": "gds-alert",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-12T15:09:51.320Z",
3
+ "generatedAt": "2026-01-13T13:57:27.036Z",
4
4
  "icons": [
5
5
  {
6
6
  "name": "gds-icon-ai",
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-12T15:09:51.320Z",
3
+ "generatedAt": "2026-01-13T13:57:27.036Z",
4
+ "instructions": "./INSTRUCTIONS.md",
4
5
  "components": "./components.json",
5
6
  "icons": "./icons.json",
6
7
  "guides": [
@@ -10,15 +10,15 @@ export * from './checkbox/index.js';
10
10
  export * from './coachmark/index.js';
11
11
  export * from './context-menu/index.js';
12
12
  export * from './datepicker/index.js';
13
+ export * from './details/index.js';
13
14
  export * from './dialog/index.js';
14
15
  export * from './div/index.js';
15
- export * from './details/index.js';
16
16
  export * from './divider/index.js';
17
17
  export * from './dropdown/index.js';
18
18
  export * from './fab/index.js';
19
- export * from './filter-chips/index.js';
20
19
  export * from './flex/index.js';
21
20
  export * from './form-summary/index.js';
21
+ export * from './filter-chips/index.js';
22
22
  export * from './grid/index.js';
23
23
  export * from './grouped-list/index.js';
24
24
  export * from './list-item/index.js';
@@ -31,9 +31,9 @@ export * from './pagination/index.js';
31
31
  export * from './backdrop/index.js';
32
32
  export * from './popover/index.js';
33
33
  export * from './radio/index.js';
34
+ export * from './rich-text/index.js';
34
35
  export * from './segmented-control/index.js';
35
36
  export * from './select/index.js';
36
- export * from './rich-text/index.js';
37
37
  export * from './signal/index.js';
38
38
  export * from './spinner/index.js';
39
39
  export * from './table/index.js';
@@ -10,15 +10,15 @@ export * from "./checkbox/index.js";
10
10
  export * from "./coachmark/index.js";
11
11
  export * from "./context-menu/index.js";
12
12
  export * from "./datepicker/index.js";
13
+ export * from "./details/index.js";
13
14
  export * from "./dialog/index.js";
14
15
  export * from "./div/index.js";
15
- export * from "./details/index.js";
16
16
  export * from "./divider/index.js";
17
17
  export * from "./dropdown/index.js";
18
18
  export * from "./fab/index.js";
19
- export * from "./filter-chips/index.js";
20
19
  export * from "./flex/index.js";
21
20
  export * from "./form-summary/index.js";
21
+ export * from "./filter-chips/index.js";
22
22
  export * from "./grid/index.js";
23
23
  export * from "./grouped-list/index.js";
24
24
  export * from "./list-item/index.js";
@@ -31,9 +31,9 @@ export * from "./pagination/index.js";
31
31
  export * from "./backdrop/index.js";
32
32
  export * from "./popover/index.js";
33
33
  export * from "./radio/index.js";
34
+ export * from "./rich-text/index.js";
34
35
  export * from "./segmented-control/index.js";
35
36
  export * from "./select/index.js";
36
- export * from "./rich-text/index.js";
37
37
  export * from "./signal/index.js";
38
38
  export * from "./spinner/index.js";
39
39
  export * from "./table/index.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sebgroup/green-core",
3
3
  "description": "A carefully crafted set of Web Components, laying the foundation of the Green Design System.",
4
- "version": "2.21.0-rc.20260112150926042",
4
+ "version": "2.21.0-rc.20260113135658239",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.QU3DSPNU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-e147d9";
3
+ const VER_SUFFIX = "-e8f44c";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])