@synergy-design-system/react 2.45.2 → 2.46.0

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.
@@ -20,4 +20,4 @@ var SynDetails = createComponent({
20
20
  export {
21
21
  SynDetails
22
22
  };
23
- //# sourceMappingURL=chunk.2B5NFH4D.js.map
23
+ //# sourceMappingURL=chunk.PACGWWN3.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/details.ts"],
4
- "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED @synergy-design-system/react wrappers for @synergy-design-system/components\n// Please do not edit this file directly!\n// It will get recreated when running pnpm build.\n// ---------------------------------------------------------------------\nimport * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport Component from '@synergy-design-system/components/components/details/details.component.js';\n\nimport { type EventName } from '@lit/react';\nimport type { SynShowEvent } from '@synergy-design-system/components';\nimport type { SynAfterShowEvent } from '@synergy-design-system/components';\nimport type { SynHideEvent } from '@synergy-design-system/components';\nimport type { SynAfterHideEvent } from '@synergy-design-system/components';\n\nconst tagName = 'syn-details';\nComponent.define('syn-details');\n\n/**\n * @summary Details show a brief summary and expand to show additional content.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-details--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The details' main content.\n * @slot summary - The details' summary. Alternatively, you can use the `summary` attribute.\n * @slot expand-icon - Optional expand icon to use instead of the default. Works best with `<syn-icon>`.\n * @slot collapse-icon - Optional collapse icon to use instead of the default. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the details opens.\n * @event syn-after-show - Emitted after the details opens and all animations are complete.\n * @event syn-hide - Emitted when the details closes.\n * @event syn-after-hide - Emitted after the details closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The header that wraps both the summary and the expand/collapse icon.\n * @csspart summary - The container that wraps the summary.\n * @csspart summary-icon - The container that wraps the expand/collapse icons.\n * @csspart content - The details content.\n * @csspart body - The container that wraps the details content.\n *\n * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.\n * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.\n */\nexport const SynDetails = createComponent({\n displayName: 'SynDetails',\n elementClass: Component,\n events: {\n onSynShow: 'syn-show' as EventName<SynShowEvent>,\n onSynAfterShow: 'syn-after-show' as EventName<SynAfterShowEvent>,\n onSynHide: 'syn-hide' as EventName<SynHideEvent>,\n onSynAfterHide: 'syn-after-hide' as EventName<SynAfterHideEvent>,\n },\n react: React,\n tagName,\n});\n\nexport type { SynShowEvent } from '@synergy-design-system/components';\nexport type { SynAfterShowEvent } from '@synergy-design-system/components';\nexport type { SynHideEvent } from '@synergy-design-system/components';\nexport type { SynAfterHideEvent } from '@synergy-design-system/components';\n"],
5
- "mappings": ";AAKA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,OAAO,eAAe;AAQtB,IAAM,UAAU;AAChB,UAAU,OAAO,aAAa;AA8BvB,IAAM,aAAa,gBAAgB;AAAA,EACxC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ;AAAA,IACN,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,gBAAgB;AAAA,EAClB;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
4
+ "sourcesContent": ["// ---------------------------------------------------------------------\n// \uD83D\uDD12 AUTOGENERATED @synergy-design-system/react wrappers for @synergy-design-system/components\n// Please do not edit this file directly!\n// It will get recreated when running pnpm build.\n// ---------------------------------------------------------------------\nimport * as React from 'react';\nimport { createComponent } from '@lit/react';\nimport Component from '@synergy-design-system/components/components/details/details.component.js';\n\nimport { type EventName } from '@lit/react';\nimport type { SynShowEvent } from '@synergy-design-system/components';\nimport type { SynAfterShowEvent } from '@synergy-design-system/components';\nimport type { SynHideEvent } from '@synergy-design-system/components';\nimport type { SynAfterHideEvent } from '@synergy-design-system/components';\n\nconst tagName = 'syn-details';\nComponent.define('syn-details');\n\n/**\n * @summary Details show a brief summary and expand to show additional content.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-details--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon\n *\n * @slot - The details' main content.\n * @slot summary - The details' summary. Alternatively, you can use the `summary` attribute.\n * @slot expand-icon - Optional expand icon to use instead of the default. Works best with `<syn-icon>`.\n * @slot collapse-icon - Optional collapse icon to use instead of the default. Works best with `<syn-icon>`.\n *\n * @event syn-show - Emitted when the details opens.\n * @event syn-after-show - Emitted after the details opens and all animations are complete.\n * @event syn-hide - Emitted when the details closes.\n * @event syn-after-hide - Emitted after the details closes and all animations are complete.\n *\n * @csspart base - The component's base wrapper.\n * @csspart header - The header that wraps both the summary and the expand/collapse icon.\n * @csspart summary - The container that wraps the summary.\n * @csspart summary-icon - The container that wraps the expand/collapse icons.\n * @csspart content - The details content.\n * @csspart body - The container that wraps the details content.\n *\n * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.\n * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.\n *\n * @cssproperty --syn-details-open-rotation - The rotation angle of the summary icon when the details is open.\n */\nexport const SynDetails = createComponent({\n displayName: 'SynDetails',\n elementClass: Component,\n events: {\n onSynShow: 'syn-show' as EventName<SynShowEvent>,\n onSynAfterShow: 'syn-after-show' as EventName<SynAfterShowEvent>,\n onSynHide: 'syn-hide' as EventName<SynHideEvent>,\n onSynAfterHide: 'syn-after-hide' as EventName<SynAfterHideEvent>,\n },\n react: React,\n tagName,\n});\n\nexport type { SynShowEvent } from '@synergy-design-system/components';\nexport type { SynAfterShowEvent } from '@synergy-design-system/components';\nexport type { SynHideEvent } from '@synergy-design-system/components';\nexport type { SynAfterHideEvent } from '@synergy-design-system/components';\n"],
5
+ "mappings": ";AAKA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,OAAO,eAAe;AAQtB,IAAM,UAAU;AAChB,UAAU,OAAO,aAAa;AAgCvB,IAAM,aAAa,gBAAgB;AAAA,EACxC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ;AAAA,IACN,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,gBAAgB;AAAA,EAClB;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -31,6 +31,8 @@ import type { SynAfterHideEvent } from '@synergy-design-system/components';
31
31
  *
32
32
  * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.
33
33
  * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.
34
+ *
35
+ * @cssproperty --syn-details-open-rotation - The rotation angle of the summary icon when the details is open.
34
36
  */
35
37
  export declare const SynDetails: import("@lit/react").ReactWebComponent<Component, {
36
38
  onSynShow: EventName<SynShowEvent>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynDetails
3
- } from "../chunks/chunk.2B5NFH4D.js";
3
+ } from "../chunks/chunk.PACGWWN3.js";
4
4
  export {
5
5
  SynDetails
6
6
  };
package/dist/index.js CHANGED
@@ -102,7 +102,7 @@ import {
102
102
  } from "./chunks/chunk.S7IA5L2L.js";
103
103
  import {
104
104
  SynDetails
105
- } from "./chunks/chunk.2B5NFH4D.js";
105
+ } from "./chunks/chunk.PACGWWN3.js";
106
106
  import {
107
107
  SynDialog
108
108
  } from "./chunks/chunk.77N23N6V.js";
@@ -354,6 +354,8 @@ export type SynCustomElement<SynElement extends HTMLElement, Events extends SynE
354
354
  *
355
355
  * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.
356
356
  * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.
357
+ *
358
+ * @cssproperty --syn-details-open-rotation - The rotation angle of the summary icon when the details is open.
357
359
  */ export type SynDetailsJSXElement = SynCustomElement<SynDetails, [
358
360
  [
359
361
  'syn-show',
@@ -1886,6 +1888,8 @@ declare module 'react' {
1886
1888
  *
1887
1889
  * @animation details.show - The animation to use when showing details. You can use `height: auto` with this animation.
1888
1890
  * @animation details.hide - The animation to use when hiding details. You can use `height: auto` with this animation.
1891
+ *
1892
+ * @cssproperty --syn-details-open-rotation - The rotation angle of the summary icon when the details is open.
1889
1893
  */ 'syn-details': SynDetailsJSXElement;
1890
1894
  /**
1891
1895
  * @summary Dialogs, sometimes called "modals", appear above the page and require the user's immediate attention.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@lit/react": "^1.0.7",
8
- "@synergy-design-system/components": "^2.45.2"
8
+ "@synergy-design-system/components": "^2.46.0"
9
9
  },
10
10
  "description": "React wrappers for the Synergy Design System",
11
11
  "exports": {
@@ -43,12 +43,12 @@
43
43
  "directory": "packages/react"
44
44
  },
45
45
  "type": "module",
46
- "version": "2.45.2",
46
+ "version": "2.46.0",
47
47
  "devDependencies": {
48
48
  "@types/react": "^19.1.8",
49
49
  "react": "^19.1.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@synergy-design-system/tokens": "^2.26.1"
52
+ "@synergy-design-system/tokens": "^2.27.0"
53
53
  }
54
54
  }