@synergy-design-system/react 1.13.0 → 1.14.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/badge.ts
2
+ import * as React from "react";
3
+ import { createComponent } from "@lit/react";
4
+ import Component from "@synergy-design-system/components/components/badge/badge.component.js";
5
+ var tagName = "syn-badge";
6
+ Component.define("syn-badge");
7
+ var SynBadge = createComponent({
8
+ displayName: "SynBadge",
9
+ elementClass: Component,
10
+ events: {},
11
+ react: React,
12
+ tagName
13
+ });
14
+
15
+ export {
16
+ SynBadge
17
+ };
18
+ //# sourceMappingURL=chunk.XRVA7P2R.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/badge.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/badge/badge.component.js';\n\nconst tagName = 'syn-badge';\nComponent.define('syn-badge');\n\n/**\n * @summary Badges are used to draw attention and display statuses or counts.\n * @documentation https://synergy.style/components/badge\n * @status stable\n * @since 2.0\n *\n * @slot - The badge's content.\n *\n * @csspart base - The component's base wrapper.\n */\nexport const SynBadge = createComponent({\n displayName: 'SynBadge',\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,WAAW;AAYrB,IAAM,WAAW,gBAAgB;AAAA,EACtC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,12 @@
1
+ import Component from '@synergy-design-system/components/components/badge/badge.component.js';
2
+ /**
3
+ * @summary Badges are used to draw attention and display statuses or counts.
4
+ * @documentation https://synergy.style/components/badge
5
+ * @status stable
6
+ * @since 2.0
7
+ *
8
+ * @slot - The badge's content.
9
+ *
10
+ * @csspart base - The component's base wrapper.
11
+ */
12
+ export declare const SynBadge: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ SynBadge
3
+ } from "../chunks/chunk.XRVA7P2R.js";
4
+ export {
5
+ SynBadge
6
+ };
7
+ //# sourceMappingURL=badge.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
@@ -1,3 +1,4 @@
1
+ export { SynBadge } from './components/badge.js';
1
2
  export { SynButton } from './components/button.js';
2
3
  export { SynButtonGroup } from './components/button-group.js';
3
4
  export { SynCheckbox } from './components/checkbox.js';
package/dist/index.js CHANGED
@@ -1,3 +1,9 @@
1
+ import {
2
+ SynTextarea
3
+ } from "./chunks/chunk.4YY6TGIA.js";
4
+ import {
5
+ SynOption
6
+ } from "./chunks/chunk.CJKK63W2.js";
1
7
  import {
2
8
  SynPopup
3
9
  } from "./chunks/chunk.UJGZNEKT.js";
@@ -20,8 +26,8 @@ import {
20
26
  SynTag
21
27
  } from "./chunks/chunk.7T7PO2AE.js";
22
28
  import {
23
- SynTextarea
24
- } from "./chunks/chunk.4YY6TGIA.js";
29
+ SynHeader
30
+ } from "./chunks/chunk.ODUBD6GC.js";
25
31
  import {
26
32
  SynIconButton
27
33
  } from "./chunks/chunk.W4YO4ERO.js";
@@ -44,8 +50,8 @@ import {
44
50
  SynOptgroup
45
51
  } from "./chunks/chunk.DLAIDGSD.js";
46
52
  import {
47
- SynOption
48
- } from "./chunks/chunk.CJKK63W2.js";
53
+ SynBadge
54
+ } from "./chunks/chunk.XRVA7P2R.js";
49
55
  import {
50
56
  SynButtonGroup
51
57
  } from "./chunks/chunk.6OTEQXZW.js";
@@ -64,10 +70,8 @@ import {
64
70
  import {
65
71
  SynDropdown
66
72
  } from "./chunks/chunk.E3427YBK.js";
67
- import {
68
- SynHeader
69
- } from "./chunks/chunk.ODUBD6GC.js";
70
73
  export {
74
+ SynBadge,
71
75
  SynButton,
72
76
  SynButtonGroup,
73
77
  SynCheckbox,
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "dependencies": {
7
7
  "@lit/react": "^1.0.3",
8
- "@synergy-design-system/components": "^1.13.0"
8
+ "@synergy-design-system/components": "^1.14.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.13.0",
43
+ "version": "1.14.0",
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.2.55",
46
46
  "react": "^18.2.0"