@sebgroup/green-core 3.24.0 → 3.24.1

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
@@ -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.24.0";
19
+ this.semanticVersion = "3.24.1";
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-09-21T08:00:57.734Z",
2
+ "generatedAt": "2026-09-21T13:05:01.534Z",
3
3
  "components": [
4
4
  {
5
5
  "name": "gds-alert",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-09-21T08:00:57.734Z",
2
+ "generatedAt": "2026-09-21T13:05:01.534Z",
3
3
  "icons": [
4
4
  {
5
5
  "name": "gds-icon-ai",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-09-21T08:00:57.734Z",
2
+ "generatedAt": "2026-09-21T13:05:01.534Z",
3
3
  "instructions": "./INSTRUCTIONS.md",
4
4
  "components": "./components.json",
5
5
  "icons": "./icons.json",
@@ -1,5 +1,5 @@
1
1
  {
2
- "generatedAt": "2026-09-21T08:00:57.598Z",
2
+ "generatedAt": "2026-09-21T13:05:01.274Z",
3
3
  "categories": {
4
4
  "space": {
5
5
  "description": "Spacing tokens for padding, margin, gap, and other spacing",
@@ -1,7 +1,7 @@
1
1
  export * from './alert/index.js';
2
2
  export * from './avatar/index.js';
3
- export * from './blur/index.js';
4
3
  export * from './badge/index.js';
4
+ export * from './blur/index.js';
5
5
  export * from './breadcrumbs/index.js';
6
6
  export * from './button/index.js';
7
7
  export * from './calendar/index.js';
@@ -17,8 +17,8 @@ export * from './div/index.js';
17
17
  export * from './divider/index.js';
18
18
  export * from './dropdown/index.js';
19
19
  export * from './option/index.js';
20
- export * from './filter-chips/index.js';
21
20
  export * from './fab/index.js';
21
+ export * from './filter-chips/index.js';
22
22
  export * from './flex/index.js';
23
23
  export * from './form-summary/index.js';
24
24
  export * from './grid/index.js';
@@ -62,6 +62,7 @@ export * from './sensitive-account/index.js';
62
62
  export * from './sensitive-date/index.js';
63
63
  export * from './sensitive-number/index.js';
64
64
  export * from './tab/index.js';
65
+ export * from './tab-panel/index.js';
65
66
  export * from './icons/icon-ai/index.js';
66
67
  export * from './icons/icon-airplane-up/index.js';
67
68
  export * from './icons/icon-archive/index.js';
@@ -374,6 +375,5 @@ export * from './icons/icon-youtube/index.js';
374
375
  export * from './icons/icon-zap/index.js';
375
376
  export * from './icons/icon-zoom-in/index.js';
376
377
  export * from './icons/icon-zoom-out/index.js';
377
- export * from './tab-panel/index.js';
378
378
  export * from './menu-item/index.js';
379
379
  export * from './menu-heading/index.js';
@@ -1,7 +1,7 @@
1
1
  export * from "./alert/index.js";
2
2
  export * from "./avatar/index.js";
3
- export * from "./blur/index.js";
4
3
  export * from "./badge/index.js";
4
+ export * from "./blur/index.js";
5
5
  export * from "./breadcrumbs/index.js";
6
6
  export * from "./button/index.js";
7
7
  export * from "./calendar/index.js";
@@ -17,8 +17,8 @@ export * from "./div/index.js";
17
17
  export * from "./divider/index.js";
18
18
  export * from "./dropdown/index.js";
19
19
  export * from "./option/index.js";
20
- export * from "./filter-chips/index.js";
21
20
  export * from "./fab/index.js";
21
+ export * from "./filter-chips/index.js";
22
22
  export * from "./flex/index.js";
23
23
  export * from "./form-summary/index.js";
24
24
  export * from "./grid/index.js";
@@ -62,6 +62,7 @@ export * from "./sensitive-account/index.js";
62
62
  export * from "./sensitive-date/index.js";
63
63
  export * from "./sensitive-number/index.js";
64
64
  export * from "./tab/index.js";
65
+ export * from "./tab-panel/index.js";
65
66
  export * from "./icons/icon-ai/index.js";
66
67
  export * from "./icons/icon-airplane-up/index.js";
67
68
  export * from "./icons/icon-archive/index.js";
@@ -374,6 +375,5 @@ export * from "./icons/icon-youtube/index.js";
374
375
  export * from "./icons/icon-zap/index.js";
375
376
  export * from "./icons/icon-zoom-in/index.js";
376
377
  export * from "./icons/icon-zoom-out/index.js";
377
- export * from "./tab-panel/index.js";
378
378
  export * from "./menu-item/index.js";
379
379
  export * from "./menu-heading/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": "3.24.0",
4
+ "version": "3.24.1",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "type": "module",
@@ -1,6 +1,6 @@
1
1
  import "../../chunks/chunk.CAV4X6PU.js";
2
2
  import { html as litHtml } from "lit";
3
- const VER_SUFFIX = "-712e63";
3
+ const VER_SUFFIX = "-808a82";
4
4
  class ScopedElementRegistry {
5
5
  static get instance() {
6
6
  if (!globalThis.__gdsElementLookupTable?.[VER_SUFFIX])
@@ -0,0 +1,8 @@
1
+ /**
2
+ * A `hasChanged` function for Lit reactive properties that treats `Date` values as equal when they
3
+ * represent the same point in time, rather than requiring referential equality. Use this on
4
+ * `Date`-typed properties (e.g. `value`) to avoid triggering reactive side effects, such as `@watch`
5
+ * handlers, when an equivalent but new `Date` instance is assigned - a common occurrence when a value
6
+ * is bound from a framework wrapper that re-renders with freshly created `Date` objects.
7
+ */
8
+ export declare function dateHasChanged<T>(value: T, oldValue: T): boolean;
@@ -0,0 +1,10 @@
1
+ import "../../chunks/chunk.CAV4X6PU.js";
2
+ function dateHasChanged(value, oldValue) {
3
+ if (value instanceof Date && oldValue instanceof Date) {
4
+ return value.getTime() !== oldValue.getTime();
5
+ }
6
+ return value !== oldValue;
7
+ }
8
+ export {
9
+ dateHasChanged
10
+ };