@synergy-design-system/react 1.24.0 → 1.25.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.
@@ -0,0 +1,18 @@
1
+ // ../react/src/components/card.ts
2
+ import * as React from "react";
3
+ import { createComponent } from "@lit/react";
4
+ import Component from "@synergy-design-system/components/components/card/card.component.js";
5
+ var tagName = "syn-card";
6
+ Component.define("syn-card");
7
+ var SynCard = createComponent({
8
+ displayName: "SynCard",
9
+ elementClass: Component,
10
+ events: {},
11
+ react: React,
12
+ tagName
13
+ });
14
+
15
+ export {
16
+ SynCard
17
+ };
18
+ //# sourceMappingURL=chunk.JTJSVPDC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/card.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/card/card.component.js';\n\nconst tagName = 'syn-card';\nComponent.define('syn-card');\n\n/**\n * @summary Cards can be used to group related subjects in a container.\n * @documentation https://synergy.style/components/card\n * @status stable\n * @since 2.0\n *\n * @slot - The card's main content.\n * @slot header - An optional header for the card.\n * @slot footer - An optional footer for the card.\n * @slot image - An optional image to render at the start of the card.\n *\n * @csspart base - The component's base wrapper.\n * @csspart image - The container that wraps the card's image.\n * @csspart header - The container that wraps the card's header.\n * @csspart body - The container that wraps the card's main content.\n * @csspart footer - The container that wraps the card's footer.\n *\n * @cssproperty --border-color - The card's border color, including borders that occur inside the card.\n * @cssproperty --border-radius - The border radius for the card's edges.\n * @cssproperty --border-width - The width of the card's borders.\n * @cssproperty --padding - The padding to use for the card's sections.\n */\nexport const SynCard = createComponent({\n displayName: 'SynCard',\n elementClass: Component,\n events: {\n\n },\n react: React,\n tagName,\n});\n"],
5
+ "mappings": ";AAKA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,OAAO,eAAe;AAEtB,IAAM,UAAU;AAChB,UAAU,OAAO,UAAU;AAwBpB,IAAM,UAAU,gBAAgB;AAAA,EACrC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,24 @@
1
+ import Component from '@synergy-design-system/components/components/card/card.component.js';
2
+ /**
3
+ * @summary Cards can be used to group related subjects in a container.
4
+ * @documentation https://synergy.style/components/card
5
+ * @status stable
6
+ * @since 2.0
7
+ *
8
+ * @slot - The card's main content.
9
+ * @slot header - An optional header for the card.
10
+ * @slot footer - An optional footer for the card.
11
+ * @slot image - An optional image to render at the start of the card.
12
+ *
13
+ * @csspart base - The component's base wrapper.
14
+ * @csspart image - The container that wraps the card's image.
15
+ * @csspart header - The container that wraps the card's header.
16
+ * @csspart body - The container that wraps the card's main content.
17
+ * @csspart footer - The container that wraps the card's footer.
18
+ *
19
+ * @cssproperty --border-color - The card's border color, including borders that occur inside the card.
20
+ * @cssproperty --border-radius - The border radius for the card's edges.
21
+ * @cssproperty --border-width - The width of the card's borders.
22
+ * @cssproperty --padding - The padding to use for the card's sections.
23
+ */
24
+ export declare const SynCard: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ SynCard
3
+ } from "../chunks/chunk.JTJSVPDC.js";
4
+ export {
5
+ SynCard
6
+ };
7
+ //# sourceMappingURL=card.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": [],
4
+ "sourcesContent": [],
5
+ "mappings": "",
6
+ "names": []
7
+ }
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ export { SynAlert } from './components/alert.js';
2
2
  export { SynBadge } from './components/badge.js';
3
3
  export { SynButton } from './components/button.js';
4
4
  export { SynButtonGroup } from './components/button-group.js';
5
+ export { SynCard } from './components/card.js';
5
6
  export { SynCheckbox } from './components/checkbox.js';
6
7
  export { SynDialog } from './components/dialog.js';
7
8
  export { SynDivider } from './components/divider.js';
package/dist/index.js CHANGED
@@ -1,9 +1,15 @@
1
+ import {
2
+ SynTag
3
+ } from "./chunks/chunk.7T7PO2AE.js";
1
4
  import {
2
5
  SynTextarea
3
6
  } from "./chunks/chunk.4YY6TGIA.js";
4
7
  import {
5
8
  SynTooltip
6
9
  } from "./chunks/chunk.BU4SKSAF.js";
10
+ import {
11
+ SynProgressRing
12
+ } from "./chunks/chunk.FGMVRUPR.js";
7
13
  import {
8
14
  SynRadioButton
9
15
  } from "./chunks/chunk.QBD4EIK5.js";
@@ -26,8 +32,8 @@ import {
26
32
  SynSwitch
27
33
  } from "./chunks/chunk.7IZW5FRR.js";
28
34
  import {
29
- SynTag
30
- } from "./chunks/chunk.7T7PO2AE.js";
35
+ SynMenuLabel
36
+ } from "./chunks/chunk.EOLGRN43.js";
31
37
  import {
32
38
  SynMenu
33
39
  } from "./chunks/chunk.NSUMR2HG.js";
@@ -50,8 +56,8 @@ import {
50
56
  SynProgressBar
51
57
  } from "./chunks/chunk.U44M2PKP.js";
52
58
  import {
53
- SynProgressRing
54
- } from "./chunks/chunk.FGMVRUPR.js";
59
+ SynDivider
60
+ } from "./chunks/chunk.HKOGDFA5.js";
55
61
  import {
56
62
  SynDrawer
57
63
  } from "./chunks/chunk.BQ62A32K.js";
@@ -73,9 +79,6 @@ import {
73
79
  import {
74
80
  SynMenuItem
75
81
  } from "./chunks/chunk.KLI3DNUO.js";
76
- import {
77
- SynMenuLabel
78
- } from "./chunks/chunk.EOLGRN43.js";
79
82
  import {
80
83
  SynAlert
81
84
  } from "./chunks/chunk.NCB462OR.js";
@@ -88,20 +91,21 @@ import {
88
91
  import {
89
92
  SynButton
90
93
  } from "./chunks/chunk.TTUPZLN7.js";
94
+ import {
95
+ SynCard
96
+ } from "./chunks/chunk.JTJSVPDC.js";
91
97
  import {
92
98
  SynCheckbox
93
99
  } from "./chunks/chunk.RU33PYCK.js";
94
100
  import {
95
101
  SynDialog
96
102
  } from "./chunks/chunk.IRQRZGIS.js";
97
- import {
98
- SynDivider
99
- } from "./chunks/chunk.HKOGDFA5.js";
100
103
  export {
101
104
  SynAlert,
102
105
  SynBadge,
103
106
  SynButton,
104
107
  SynButtonGroup,
108
+ SynCard,
105
109
  SynCheckbox,
106
110
  SynDialog,
107
111
  SynDivider,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@lit/react": "^1.0.4",
8
- "@synergy-design-system/components": "^1.24.0"
8
+ "@synergy-design-system/components": "^1.25.0"
9
9
  },
10
10
  "description": "React wrappers for the Synergy Design System",
11
11
  "exports": {
@@ -40,7 +40,7 @@
40
40
  "directory": "packages/react"
41
41
  },
42
42
  "type": "module",
43
- "version": "1.24.0",
43
+ "version": "1.25.0",
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.2.79",
46
46
  "react": "^18.2.0"