@sebgroup/green-core 2.21.0-rc.20260113130744922 → 2.21.0-rc.20260113143213999

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.20260113130744922";
15
+ this.semanticVersion = "2.21.0-rc.20260113143213999";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -1,32 +1,32 @@
1
1
  # Green Design System - MCP Instructions
2
2
 
3
- ## Critical Rules
3
+ ## Component Architecture
4
4
 
5
- ### Pre-Implementation Requirements
5
+ - All components use `gds-` prefix
6
+ - Web components built with Lit (framework-agnostic)
7
+ - Angular wrappers: `@sebgroup/green-core-ng` with `Component` suffix
8
+ - React wrappers: `@sebgroup/green-core/react` as PascalCase names
9
+
10
+ ## Critical rules to follow
6
11
 
7
- - **ALWAYS read the declarative layout guide before creating any layout**
8
12
  - **Read component-specific instructions.md when available**
13
+ - **NEVER guess or assume component API. ALWAYS look up properties in the API docs**
9
14
  - **Verify full context understanding before writing code**
10
15
  - **Ask user for clarification if ANY requirement is unclear**
16
+ - **ALWAYS read the declarative layout guide before creating any layout**
11
17
  - **For new apps, ALWAYS read the setup guide for the used framework (Angular or React)**
12
18
 
13
- ### Component Architecture
14
-
15
- - All components use `gds-` prefix
16
- - Web components built with Lit (framework-agnostic)
17
- - Angular wrappers: `@sebgroup/green-core-ng` with `Component` suffix
18
- - React wrappers: `@sebgroup/green-core/react` as PascalCase names
19
-
20
19
  ### Typography Rules
21
20
 
22
- - **REQUIRED**: Use `gds-text` component for all headings and text content
21
+ - **REQUIRED**: Use `gds-text` component for all headings and paragraphs. But don't use inside other components, unless explicitly called for
23
22
  - **REQUIRED**: Use `gds-rich-text` for large bodies of text with varied formatting
24
- - **FORBIDDEN**: Direct HTML text elements (h1-h6, p, span) without gds-text wrapper
23
+ - **AVOID**: Direct HTML text elements (h1-h6, p, span), as these will be unstyled
25
24
 
26
25
  ### Layout Rules
27
26
 
28
27
  - **REQUIRED**: Use declarative layout system for all layouts
29
28
  - **REQUIRED**: Read declarative layout guide before implementing any layout
29
+ - **REQUIRED**: Look up property names in API for each declarative layout component
30
30
  - **PREFERRED**: Declarative layout over custom CSS
31
31
  - **FORBIDDEN**: Custom CSS for layout unless declarative system cannot support the requirement
32
32
 
@@ -43,22 +43,4 @@
43
43
  - Review guidelines.md for UX patterns
44
44
 
45
45
  3. **Framework patterns**:
46
- - Angular: kebab-case events camelCase outputs
47
- - React: events use "on" prefix (onChange, onClick)
48
- - Web Components: standard DOM events
49
-
50
- ### Required Reading Order
51
-
52
- 1. Declarative layout guide (if creating layout)
53
- 2. Component api.md (target component)
54
- 3. Component instructions.md (if exists)
55
- 4. Component guidelines.md (if exists)
56
- 5. 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
46
+ - Check framework instructions for each component.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-13T13:08:12.189Z",
3
+ "generatedAt": "2026-01-13T14:32:38.675Z",
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-13T13:08:12.189Z",
3
+ "generatedAt": "2026-01-13T14:32:38.675Z",
4
4
  "icons": [
5
5
  {
6
6
  "name": "gds-icon-ai",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-13T13:08:12.189Z",
3
+ "generatedAt": "2026-01-13T14:32:38.675Z",
4
4
  "instructions": "./INSTRUCTIONS.md",
5
5
  "components": "./components.json",
6
6
  "icons": "./icons.json",
@@ -36,8 +36,8 @@ export * from './segmented-control/index.js';
36
36
  export * from './select/index.js';
37
37
  export * from './signal/index.js';
38
38
  export * from './spinner/index.js';
39
- export * from './text/index.js';
40
39
  export * from './table/index.js';
40
+ export * from './text/index.js';
41
41
  export * from './textarea/index.js';
42
42
  export * from './theme/index.js';
43
43
  export * from './video/index.js';
@@ -36,8 +36,8 @@ export * from "./segmented-control/index.js";
36
36
  export * from "./select/index.js";
37
37
  export * from "./signal/index.js";
38
38
  export * from "./spinner/index.js";
39
- export * from "./text/index.js";
40
39
  export * from "./table/index.js";
40
+ export * from "./text/index.js";
41
41
  export * from "./textarea/index.js";
42
42
  export * from "./theme/index.js";
43
43
  export * from "./video/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.20260113130744922",
4
+ "version": "2.21.0-rc.20260113143213999",
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 = "-4a37b8";
3
+ const VER_SUFFIX = "-63490b";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])