@synergy-design-system/react 1.9.0 → 1.10.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/header.ts
2
+ import * as React from "react";
3
+ import { createComponent } from "@lit/react";
4
+ import Component from "@synergy-design-system/components/components/header/header.component.js";
5
+ var tagName = "syn-header";
6
+ Component.define("syn-header");
7
+ var SynHeader = createComponent({
8
+ displayName: "SynHeader",
9
+ elementClass: Component,
10
+ events: {},
11
+ react: React,
12
+ tagName
13
+ });
14
+
15
+ export {
16
+ SynHeader
17
+ };
18
+ //# sourceMappingURL=chunk.ODUBD6GC.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/components/header.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/header/header.component.js';\n\nconst tagName = 'syn-header';\nComponent.define('syn-header');\n\n/**\n * @summary The <syn-header /> element provides a generic application header\n * that can be used to add applications name, toolbar and primary navigation.\n *\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-header--docs\n * @status stable\n * @since 1.10.0\n *\n * @slot - The label for the header.\n * @slot logo - The logo that should be displayed. Will fall back to the SICK logo if not provided.\n * @slot meta-navigation - The meta-navigation is used to add various application toolbar icons.\n * Best used with `<syn-icon-button />` and `<syn-drop-down />`\n * @slot navigation - This slot can be used to add an optional horizontal navigation\n *\n * @csspart base - The component's base wrapper.\n * @csspart content - The wrapper most content items reside\n * @csspart logo - The wrapper the application logo resides in\n * @csspart label - The element wrapping the application name\n * @csspart meta-navigation - The Item wrapping the optional application menu\n * @csspart navigation - The wrapper that is holding the optional top navigation section\n */\nexport const SynHeader = createComponent({\n displayName: 'SynHeader',\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,YAAY;AAuBtB,IAAM,YAAY,gBAAgB;AAAA,EACvC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
+ "names": []
7
+ }
@@ -0,0 +1,23 @@
1
+ import Component from '@synergy-design-system/components/components/header/header.component.js';
2
+ /**
3
+ * @summary The <syn-header /> element provides a generic application header
4
+ * that can be used to add applications name, toolbar and primary navigation.
5
+ *
6
+ * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-header--docs
7
+ * @status stable
8
+ * @since 1.10.0
9
+ *
10
+ * @slot - The label for the header.
11
+ * @slot logo - The logo that should be displayed. Will fall back to the SICK logo if not provided.
12
+ * @slot meta-navigation - The meta-navigation is used to add various application toolbar icons.
13
+ * Best used with `<syn-icon-button />` and `<syn-drop-down />`
14
+ * @slot navigation - This slot can be used to add an optional horizontal navigation
15
+ *
16
+ * @csspart base - The component's base wrapper.
17
+ * @csspart content - The wrapper most content items reside
18
+ * @csspart logo - The wrapper the application logo resides in
19
+ * @csspart label - The element wrapping the application name
20
+ * @csspart meta-navigation - The Item wrapping the optional application menu
21
+ * @csspart navigation - The wrapper that is holding the optional top navigation section
22
+ */
23
+ export declare const SynHeader: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -0,0 +1,7 @@
1
+ import {
2
+ SynHeader
3
+ } from "../chunks/chunk.ODUBD6GC.js";
4
+ export {
5
+ SynHeader
6
+ };
7
+ //# sourceMappingURL=header.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
@@ -3,6 +3,7 @@ export { SynButtonGroup } from './components/button-group.js';
3
3
  export { SynCheckbox } from './components/checkbox.js';
4
4
  export { SynDivider } from './components/divider.js';
5
5
  export { SynDrawer } from './components/drawer.js';
6
+ export { SynHeader } from './components/header.js';
6
7
  export { SynIcon } from './components/icon.js';
7
8
  export { SynIconButton } from './components/icon-button.js';
8
9
  export { SynInput } from './components/input.js';
package/dist/index.js CHANGED
@@ -1,9 +1,15 @@
1
+ import {
2
+ SynSwitch
3
+ } from "./chunks/chunk.7IZW5FRR.js";
1
4
  import {
2
5
  SynTag
3
6
  } from "./chunks/chunk.7T7PO2AE.js";
4
7
  import {
5
8
  SynTextarea
6
9
  } from "./chunks/chunk.4YY6TGIA.js";
10
+ import {
11
+ SynIcon
12
+ } from "./chunks/chunk.6CO3KAZG.js";
7
13
  import {
8
14
  SynInput
9
15
  } from "./chunks/chunk.N6QQSQTB.js";
@@ -25,9 +31,6 @@ import {
25
31
  import {
26
32
  SynSelect
27
33
  } from "./chunks/chunk.FB24BPQZ.js";
28
- import {
29
- SynSwitch
30
- } from "./chunks/chunk.7IZW5FRR.js";
31
34
  import {
32
35
  SynButtonGroup
33
36
  } from "./chunks/chunk.6OTEQXZW.js";
@@ -43,18 +46,19 @@ import {
43
46
  import {
44
47
  SynDrawer
45
48
  } from "./chunks/chunk.BQ62A32K.js";
49
+ import {
50
+ SynHeader
51
+ } from "./chunks/chunk.ODUBD6GC.js";
46
52
  import {
47
53
  SynIconButton
48
54
  } from "./chunks/chunk.W4YO4ERO.js";
49
- import {
50
- SynIcon
51
- } from "./chunks/chunk.6CO3KAZG.js";
52
55
  export {
53
56
  SynButton,
54
57
  SynButtonGroup,
55
58
  SynCheckbox,
56
59
  SynDivider,
57
60
  SynDrawer,
61
+ SynHeader,
58
62
  SynIcon,
59
63
  SynIconButton,
60
64
  SynInput,
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.9.0"
8
+ "@synergy-design-system/components": "^1.10.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.9.0",
43
+ "version": "1.10.0",
44
44
  "devDependencies": {
45
45
  "@types/react": "^18.2.55",
46
46
  "react": "^18.2.0"