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

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.20260113135658239";
15
+ this.semanticVersion = "2.21.0-rc.20260113151650310";
16
16
  this._isUsingTransitionalStyles = false;
17
17
  this._dynamicStylesController = new DynamicStylesController(this);
18
18
  }
@@ -1,33 +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**
9
13
  - **NEVER guess or assume component API. ALWAYS look up properties in the API docs**
10
14
  - **Verify full context understanding before writing code**
11
15
  - **Ask user for clarification if ANY requirement is unclear**
16
+ - **ALWAYS read the declarative layout guide before creating any layout**
12
17
  - **For new apps, ALWAYS read the setup guide for the used framework (Angular or React)**
13
18
 
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
19
  ### Typography Rules
22
20
 
23
- - **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
24
22
  - **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
23
+ - **AVOID**: Direct HTML text elements (h1-h6, p, span), as these will be unstyled
26
24
 
27
25
  ### Layout Rules
28
26
 
29
27
  - **REQUIRED**: Use declarative layout system for all layouts
30
28
  - **REQUIRED**: Read declarative layout guide before implementing any layout
29
+ - **REQUIRED**: Look up property names in API for each declarative layout component
31
30
  - **PREFERRED**: Declarative layout over custom CSS
32
31
  - **FORBIDDEN**: Custom CSS for layout unless declarative system cannot support the requirement
33
32
 
@@ -44,21 +43,4 @@
44
43
  - Review guidelines.md for UX patterns
45
44
 
46
45
  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
46
+ - Check framework instructions for each component.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "generatedAt": "2026-01-13T13:57:27.036Z",
3
+ "generatedAt": "2026-01-13T15:17:16.486Z",
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:57:27.036Z",
3
+ "generatedAt": "2026-01-13T15:17:16.486Z",
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:57:27.036Z",
3
+ "generatedAt": "2026-01-13T15:17:16.486Z",
4
4
  "instructions": "./INSTRUCTIONS.md",
5
5
  "components": "./components.json",
6
6
  "icons": "./icons.json",
@@ -16,9 +16,9 @@ export * from './div/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';
19
20
  export * from './flex/index.js';
20
21
  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';
@@ -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 './table/index.js';
40
39
  export * from './text/index.js';
40
+ export * from './table/index.js';
41
41
  export * from './textarea/index.js';
42
42
  export * from './theme/index.js';
43
43
  export * from './video/index.js';
@@ -50,10 +50,6 @@ export * from './formatted-account/index.js';
50
50
  export * from './formatted-date/index.js';
51
51
  export * from './formatted-number/index.js';
52
52
  export * from './radio-group/index.js';
53
- export * from './segment/index.js';
54
- export * from './sensitive-account/index.js';
55
- export * from './sensitive-number/index.js';
56
- export * from './sensitive-date/index.js';
57
53
  export * from './icons/icon-ai/index.js';
58
54
  export * from './icons/icon-airplane-up/index.js';
59
55
  export * from './icons/icon-archive/index.js';
@@ -387,6 +383,10 @@ export * from './icons/icon-youtube/index.js';
387
383
  export * from './icons/icon-zap/index.js';
388
384
  export * from './icons/icon-zoom-in/index.js';
389
385
  export * from './icons/icon-zoom-out/index.js';
386
+ export * from './segment/index.js';
387
+ export * from './sensitive-account/index.js';
388
+ export * from './sensitive-date/index.js';
389
+ export * from './sensitive-number/index.js';
390
390
  export * from './option/index.js';
391
391
  export * from './menu-heading/index.js';
392
392
  export * from './menu-item/index.js';
@@ -16,9 +16,9 @@ export * from "./div/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";
19
20
  export * from "./flex/index.js";
20
21
  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";
@@ -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 "./table/index.js";
40
39
  export * from "./text/index.js";
40
+ export * from "./table/index.js";
41
41
  export * from "./textarea/index.js";
42
42
  export * from "./theme/index.js";
43
43
  export * from "./video/index.js";
@@ -50,10 +50,6 @@ export * from "./formatted-account/index.js";
50
50
  export * from "./formatted-date/index.js";
51
51
  export * from "./formatted-number/index.js";
52
52
  export * from "./radio-group/index.js";
53
- export * from "./segment/index.js";
54
- export * from "./sensitive-account/index.js";
55
- export * from "./sensitive-number/index.js";
56
- export * from "./sensitive-date/index.js";
57
53
  export * from "./icons/icon-ai/index.js";
58
54
  export * from "./icons/icon-airplane-up/index.js";
59
55
  export * from "./icons/icon-archive/index.js";
@@ -387,6 +383,10 @@ export * from "./icons/icon-youtube/index.js";
387
383
  export * from "./icons/icon-zap/index.js";
388
384
  export * from "./icons/icon-zoom-in/index.js";
389
385
  export * from "./icons/icon-zoom-out/index.js";
386
+ export * from "./segment/index.js";
387
+ export * from "./sensitive-account/index.js";
388
+ export * from "./sensitive-date/index.js";
389
+ export * from "./sensitive-number/index.js";
390
390
  export * from "./option/index.js";
391
391
  export * from "./menu-heading/index.js";
392
392
  export * from "./menu-item/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.20260113135658239",
4
+ "version": "2.21.0-rc.20260113151650310",
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 = "-e8f44c";
3
+ const VER_SUFFIX = "-30b64c";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])