@synergy-design-system/react 1.21.0 → 1.22.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/spinner.ts
2
+ import * as React from "react";
3
+ import { createComponent } from "@lit/react";
4
+ import Component from "@synergy-design-system/components/components/spinner/spinner.component.js";
5
+ var tagName = "syn-spinner";
6
+ Component.define("syn-spinner");
7
+ var SynSpinner = createComponent({
8
+ displayName: "SynSpinner",
9
+ elementClass: Component,
10
+ events: {},
11
+ react: React,
12
+ tagName
13
+ });
14
+
15
+ export {
16
+ SynSpinner
17
+ };
18
+ //# sourceMappingURL=chunk.CAHU6MAK.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/spinner.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/spinner/spinner.component.js';\n\nconst tagName = 'syn-spinner';\nComponent.define('syn-spinner');\n\n/**\n * @summary Spinners are used to show the progress of an indeterminate operation.\n * @documentation https://synergy.style/components/spinner\n * @status stable\n * @since 2.0\n *\n * @csspart base - The component's base wrapper.\n *\n * @cssproperty --track-width - The width of the track.\n * @cssproperty --indicator-color - The color of the spinner's indicator.\n * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.\n */\nexport const SynSpinner = createComponent({\n displayName: 'SynSpinner',\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,aAAa;AAcvB,IAAM,aAAa,gBAAgB;AAAA,EACxC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,14 @@
1
+ import Component from '@synergy-design-system/components/components/spinner/spinner.component.js';
2
+ /**
3
+ * @summary Spinners are used to show the progress of an indeterminate operation.
4
+ * @documentation https://synergy.style/components/spinner
5
+ * @status stable
6
+ * @since 2.0
7
+ *
8
+ * @csspart base - The component's base wrapper.
9
+ *
10
+ * @cssproperty --track-width - The width of the track.
11
+ * @cssproperty --indicator-color - The color of the spinner's indicator.
12
+ * @cssproperty --speed - The time it takes for the spinner to complete one animation cycle.
13
+ */
14
+ export declare const SynSpinner: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ SynSpinner
3
+ } from "../chunks/chunk.CAHU6MAK.js";
4
+ export {
5
+ SynSpinner
6
+ };
7
+ //# sourceMappingURL=spinner.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
@@ -25,6 +25,7 @@ export { SynRadioButton } from './components/radio-button.js';
25
25
  export { SynRadioGroup } from './components/radio-group.js';
26
26
  export { SynSelect } from './components/select.js';
27
27
  export { SynSideNav } from './components/side-nav.js';
28
+ export { SynSpinner } from './components/spinner.js';
28
29
  export { SynSwitch } from './components/switch.js';
29
30
  export { SynTag } from './components/tag.js';
30
31
  export { SynTextarea } from './components/textarea.js';
package/dist/index.js CHANGED
@@ -1,3 +1,6 @@
1
+ import {
2
+ SynTooltip
3
+ } from "./chunks/chunk.BU4SKSAF.js";
1
4
  import {
2
5
  SynRadioGroup
3
6
  } from "./chunks/chunk.PCXGVEBP.js";
@@ -10,6 +13,9 @@ import {
10
13
  import {
11
14
  SynSideNav
12
15
  } from "./chunks/chunk.A3DZYM6Z.js";
16
+ import {
17
+ SynSpinner
18
+ } from "./chunks/chunk.CAHU6MAK.js";
13
19
  import {
14
20
  SynSwitch
15
21
  } from "./chunks/chunk.7IZW5FRR.js";
@@ -19,9 +25,6 @@ import {
19
25
  import {
20
26
  SynTextarea
21
27
  } from "./chunks/chunk.4YY6TGIA.js";
22
- import {
23
- SynTooltip
24
- } from "./chunks/chunk.BU4SKSAF.js";
25
28
  import {
26
29
  SynNavItem
27
30
  } from "./chunks/chunk.Y2KBRBDX.js";
@@ -119,6 +122,7 @@ export {
119
122
  SynRadioGroup,
120
123
  SynSelect,
121
124
  SynSideNav,
125
+ SynSpinner,
122
126
  SynSwitch,
123
127
  SynTag,
124
128
  SynTextarea,
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.21.0"
8
+ "@synergy-design-system/components": "^1.22.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.21.0",
43
+ "version": "1.22.0",
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.2.79",
46
46
  "react": "^18.2.0"