@synergy-design-system/react 2.40.0 → 2.40.1

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.
@@ -18,4 +18,4 @@ var SynTabGroup = createComponent({
18
18
  export {
19
19
  SynTabGroup
20
20
  };
21
- //# sourceMappingURL=chunk.74QBKUQH.js.map
21
+ //# sourceMappingURL=chunk.5GCIGA47.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/tab-group.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/tab-group/tab-group.component.js';\n\nimport { type EventName } from '@lit/react';\nimport type { SynTabShowEvent } from '@synergy-design-system/components';\nimport type { SynTabHideEvent } from '@synergy-design-system/components';\n\nconst tagName = 'syn-tab-group';\nComponent.define('syn-tab-group');\n\n/**\n * @summary Tab groups organize content into a container that shows one section at a time.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tab-group--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - Used for grouping tab panels in the tab group. Must be `<syn-tab-panel>` elements.\n * @slot nav - Used for grouping tabs in the tab group. Must be `<syn-tab>` elements.\n *\n * @event {{ name: String }} syn-tab-show - Emitted when a tab is shown. The payload of the event returns the \"panel\" attribute of the shown tab.\n * @event {{ name: String }} syn-tab-hide - Emitted when a tab is hidden. The payload of the event returns the \"panel\" attribute of the hidden tab.\n *\n * @csspart base - The component's base wrapper.\n * @csspart nav - The tab group's navigation container where tabs are slotted in.\n * @csspart tabs - The container that wraps the tabs.\n * @csspart active-tab-indicator - The line that highlights the currently selected tab.\n * @csspart body - The tab group's body where tab panels are slotted in.\n * @csspart scroll-button - The previous/next scroll buttons that show when tabs are scrollable, an `<syn-icon-button>`.\n * @csspart scroll-button--start - The starting scroll button.\n * @csspart scroll-button--end - The ending scroll button.\n * @csspart scroll-button__base - The scroll button's exported `base` part.\n *\n * @cssproperty --indicator-color - The color of the active tab indicator.\n * @cssproperty --indicator-width - The width of the active tab indicator.\n * @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).\n * @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).\n */\nexport const SynTabGroup = createComponent({\n displayName: 'SynTabGroup',\n elementClass: Component,\n events: {\n onSynTabShow: 'syn-tab-show' as EventName<SynTabShowEvent>,\n onSynTabHide: 'syn-tab-hide' as EventName<SynTabHideEvent>,\n },\n react: React,\n tagName,\n});\n\nexport type { SynTabShowEvent } from '@synergy-design-system/components';\nexport type { SynTabHideEvent } from '@synergy-design-system/components';\n"],
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/tab-group/tab-group.component.js';\n\nimport { type EventName } from '@lit/react';\nimport type { SynTabShowEvent } from '@synergy-design-system/components';\nimport type { SynTabHideEvent } from '@synergy-design-system/components';\n\nconst tagName = 'syn-tab-group';\nComponent.define('syn-tab-group');\n\n/**\n * @summary Tab groups organize content into a container that shows one section at a time.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-tab-group--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-icon-button\n *\n * @slot - Used for grouping tab panels in the tab group. Must be `<syn-tab-panel>` elements.\n * @slot nav - Used for grouping tabs in the tab group. Must be `<syn-tab>` elements.\n *\n * @event {{ name: String }} syn-tab-show - Emitted when a tab is shown. The payload of the event returns the \"panel\" attribute of the shown tab.\n * @event {{ name: String }} syn-tab-hide - Emitted when a tab is hidden. The payload of the event returns the \"panel\" attribute of the hidden tab.\n *\n * @csspart base - The component's base wrapper.\n * @csspart nav - The tab group's navigation container where tabs are slotted in.\n * @csspart tabs - The container that wraps the tabs.\n * @csspart active-tab-indicator - The line that highlights the currently selected tab.\n * @csspart body - The tab group's body where tab panels are slotted in.\n * @csspart scroll-button - The previous/next scroll buttons that show when tabs are scrollable, an `<syn-icon-button>`.\n * @csspart scroll-button--start - The starting scroll button.\n * @csspart scroll-button--end - The ending scroll button.\n * @csspart scroll-button__base - The scroll button's exported `base` part.\n *\n * @cssproperty --indicator-color - The color of the active tab indicator.\n * @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).\n * @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).\n * @cssproperty --indicator-width - The width of the active tab indicator.\n */\nexport const SynTabGroup = createComponent({\n displayName: 'SynTabGroup',\n elementClass: Component,\n events: {\n onSynTabShow: 'syn-tab-show' as EventName<SynTabShowEvent>,\n onSynTabHide: 'syn-tab-hide' as EventName<SynTabHideEvent>,\n },\n react: React,\n tagName,\n});\n\nexport type { SynTabShowEvent } from '@synergy-design-system/components';\nexport type { SynTabHideEvent } from '@synergy-design-system/components';\n"],
5
5
  "mappings": ";AAKA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,OAAO,eAAe;AAMtB,IAAM,UAAU;AAChB,UAAU,OAAO,eAAe;AA+BzB,IAAM,cAAc,gBAAgB;AAAA,EACzC,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,cAAc;AAAA,EAChB;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -15,4 +15,4 @@ var SynMenuLabel = createComponent({
15
15
  export {
16
16
  SynMenuLabel
17
17
  };
18
- //# sourceMappingURL=chunk.NR7V6QX5.js.map
18
+ //# sourceMappingURL=chunk.BTEVTUXU.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/components/menu-label.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/menu-label/menu-label.component.js';\n\nconst tagName = 'syn-menu-label';\nComponent.define('syn-menu-label');\n\n/**\n * @summary Menu labels are used to describe a group of menu items.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs\n * @status stable\n * @since 2.0\n *\n * @dependency syn-divider\n *\n * @slot - The menu label's content.\n *\n * @csspart base - The component's base wrapper.\n * @csspart divider - The divider that is displayed above the content\n * @csspart label - The label that is displayed below the divider\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport const SynMenuLabel = createComponent({\n displayName: 'SynMenuLabel',\n elementClass: Component,\n events: {},\n react: React,\n tagName,\n});\n"],
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/menu-label/menu-label.component.js';\n\nconst tagName = 'syn-menu-label';\nComponent.define('syn-menu-label');\n\n/**\n * @summary Menu labels are used to describe a group of menu items.\n * @documentation https://synergy-design-system.github.io/?path=/docs/components-syn-menu-label--docs\n * @status stable\n * @since 2.0\n *\n * @slot - The menu label's content.\n *\n * @csspart base - The component's base wrapper.\n * @csspart divider - The divider that is displayed above the content\n * @csspart label - The label that is displayed below the divider\n *\n * @dependency syn-divider\n *\n * @cssproperty --display-divider - Display property of the divider. Defaults to \"block\"\n */\nexport const SynMenuLabel = createComponent({\n displayName: 'SynMenuLabel',\n elementClass: Component,\n events: {},\n react: React,\n tagName,\n});\n"],
5
5
  "mappings": ";AAKA,YAAY,WAAW;AACvB,SAAS,uBAAuB;AAChC,OAAO,eAAe;AAEtB,IAAM,UAAU;AAChB,UAAU,OAAO,gBAAgB;AAkB1B,IAAM,eAAe,gBAAgB;AAAA,EAC1C,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAAC;AAAA,EACT,OAAO;AAAA,EACP;AACF,CAAC;",
6
6
  "names": []
7
7
  }
@@ -5,14 +5,14 @@ import Component from '@synergy-design-system/components/components/menu-label/m
5
5
  * @status stable
6
6
  * @since 2.0
7
7
  *
8
- * @dependency syn-divider
9
- *
10
8
  * @slot - The menu label's content.
11
9
  *
12
10
  * @csspart base - The component's base wrapper.
13
11
  * @csspart divider - The divider that is displayed above the content
14
12
  * @csspart label - The label that is displayed below the divider
15
13
  *
14
+ * @dependency syn-divider
15
+ *
16
16
  * @cssproperty --display-divider - Display property of the divider. Defaults to "block"
17
17
  */
18
18
  export declare const SynMenuLabel: import("@lit/react").ReactWebComponent<Component, {}>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynMenuLabel
3
- } from "../chunks/chunk.NR7V6QX5.js";
3
+ } from "../chunks/chunk.BTEVTUXU.js";
4
4
  export {
5
5
  SynMenuLabel
6
6
  };
@@ -27,9 +27,9 @@ import type { SynTabHideEvent } from '@synergy-design-system/components';
27
27
  * @csspart scroll-button__base - The scroll button's exported `base` part.
28
28
  *
29
29
  * @cssproperty --indicator-color - The color of the active tab indicator.
30
- * @cssproperty --indicator-width - The width of the active tab indicator.
31
30
  * @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
32
31
  * @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
32
+ * @cssproperty --indicator-width - The width of the active tab indicator.
33
33
  */
34
34
  export declare const SynTabGroup: import("@lit/react").ReactWebComponent<Component, {
35
35
  onSynTabShow: EventName<SynTabShowEvent>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SynTabGroup
3
- } from "../chunks/chunk.74QBKUQH.js";
3
+ } from "../chunks/chunk.5GCIGA47.js";
4
4
  export {
5
5
  SynTabGroup
6
6
  };
package/dist/index.js CHANGED
@@ -1,9 +1,6 @@
1
- import {
2
- SynSwitch
3
- } from "./chunks/chunk.3AUZZVYZ.js";
4
1
  import {
5
2
  SynTabGroup
6
- } from "./chunks/chunk.74QBKUQH.js";
3
+ } from "./chunks/chunk.5GCIGA47.js";
7
4
  import {
8
5
  SynTabPanel
9
6
  } from "./chunks/chunk.2AWQB3AJ.js";
@@ -22,9 +19,6 @@ import {
22
19
  import {
23
20
  SynValidate
24
21
  } from "./chunks/chunk.EL2F4LIK.js";
25
- import {
26
- SynRadioButton
27
- } from "./chunks/chunk.2LDP5CAQ.js";
28
22
  import {
29
23
  SynRadioGroup
30
24
  } from "./chunks/chunk.5CIFYMXU.js";
@@ -47,8 +41,8 @@ import {
47
41
  SynSpinner
48
42
  } from "./chunks/chunk.SOARUKQP.js";
49
43
  import {
50
- SynMenu
51
- } from "./chunks/chunk.4IVJHGWM.js";
44
+ SynSwitch
45
+ } from "./chunks/chunk.3AUZZVYZ.js";
52
46
  import {
53
47
  SynNavItem
54
48
  } from "./chunks/chunk.EFKHCKYH.js";
@@ -71,8 +65,8 @@ import {
71
65
  SynProgressRing
72
66
  } from "./chunks/chunk.ADSD2U7G.js";
73
67
  import {
74
- SynDropdown
75
- } from "./chunks/chunk.AE6RZ4W2.js";
68
+ SynRadioButton
69
+ } from "./chunks/chunk.2LDP5CAQ.js";
76
70
  import {
77
71
  SynFile
78
72
  } from "./chunks/chunk.IQB5SV6K.js";
@@ -93,10 +87,10 @@ import {
93
87
  } from "./chunks/chunk.TWK2UCJF.js";
94
88
  import {
95
89
  SynMenuLabel
96
- } from "./chunks/chunk.NR7V6QX5.js";
90
+ } from "./chunks/chunk.BTEVTUXU.js";
97
91
  import {
98
- SynButton
99
- } from "./chunks/chunk.TGSZHDUW.js";
92
+ SynMenu
93
+ } from "./chunks/chunk.4IVJHGWM.js";
100
94
  import {
101
95
  SynCard
102
96
  } from "./chunks/chunk.OJAJTT5S.js";
@@ -118,6 +112,9 @@ import {
118
112
  import {
119
113
  SynDrawer
120
114
  } from "./chunks/chunk.RWOJEMSX.js";
115
+ import {
116
+ SynDropdown
117
+ } from "./chunks/chunk.AE6RZ4W2.js";
121
118
  import {
122
119
  SynAccordion
123
120
  } from "./chunks/chunk.2PS5VOXM.js";
@@ -136,6 +133,9 @@ import {
136
133
  import {
137
134
  SynButtonGroup
138
135
  } from "./chunks/chunk.HHPIABBV.js";
136
+ import {
137
+ SynButton
138
+ } from "./chunks/chunk.TGSZHDUW.js";
139
139
  export {
140
140
  SynAccordion,
141
141
  SynAlert,
@@ -842,14 +842,14 @@ export type SynCustomElement<SynElement extends HTMLElement, Events extends SynE
842
842
  * @status stable
843
843
  * @since 2.0
844
844
  *
845
- * @dependency syn-divider
846
- *
847
845
  * @slot - The menu label's content.
848
846
  *
849
847
  * @csspart base - The component's base wrapper.
850
848
  * @csspart divider - The divider that is displayed above the content
851
849
  * @csspart label - The label that is displayed below the divider
852
850
  *
851
+ * @dependency syn-divider
852
+ *
853
853
  * @cssproperty --display-divider - Display property of the divider. Defaults to "block"
854
854
  */ export type SynMenuLabelJSXElement = SynCustomElement<SynMenuLabel, []>;
855
855
  /**
@@ -1498,9 +1498,9 @@ export type SynCustomElement<SynElement extends HTMLElement, Events extends SynE
1498
1498
  * @csspart scroll-button__base - The scroll button's exported `base` part.
1499
1499
  *
1500
1500
  * @cssproperty --indicator-color - The color of the active tab indicator.
1501
- * @cssproperty --indicator-width - The width of the active tab indicator.
1502
1501
  * @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
1503
1502
  * @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
1503
+ * @cssproperty --indicator-width - The width of the active tab indicator.
1504
1504
  */ export type SynTabGroupJSXElement = SynCustomElement<SynTabGroup, [
1505
1505
  ['syn-tab-show', SynTabShowEvent],
1506
1506
  ['syn-tab-hide', SynTabHideEvent]
@@ -2219,14 +2219,14 @@ declare module 'react' {
2219
2219
  * @status stable
2220
2220
  * @since 2.0
2221
2221
  *
2222
- * @dependency syn-divider
2223
- *
2224
2222
  * @slot - The menu label's content.
2225
2223
  *
2226
2224
  * @csspart base - The component's base wrapper.
2227
2225
  * @csspart divider - The divider that is displayed above the content
2228
2226
  * @csspart label - The label that is displayed below the divider
2229
2227
  *
2228
+ * @dependency syn-divider
2229
+ *
2230
2230
  * @cssproperty --display-divider - Display property of the divider. Defaults to "block"
2231
2231
  */ 'syn-menu-label': SynMenuLabelJSXElement;
2232
2232
  /**
@@ -2730,9 +2730,9 @@ declare module 'react' {
2730
2730
  * @csspart scroll-button__base - The scroll button's exported `base` part.
2731
2731
  *
2732
2732
  * @cssproperty --indicator-color - The color of the active tab indicator.
2733
- * @cssproperty --indicator-width - The width of the active tab indicator.
2734
2733
  * @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
2735
2734
  * @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
2735
+ * @cssproperty --indicator-width - The width of the active tab indicator.
2736
2736
  */ 'syn-tab-group': SynTabGroupJSXElement;
2737
2737
  /**
2738
2738
  * @summary Tab panels are used inside [tab groups](/components/tab-group) to display tabbed content.
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.40.0"
8
+ "@synergy-design-system/components": "^2.40.1"
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.40.0",
46
+ "version": "2.40.1",
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.22.0"
52
+ "@synergy-design-system/tokens": "^2.23.0"
53
53
  }
54
54
  }