@synergy-design-system/react 1.24.1 → 1.26.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.
- package/dist/chunks/chunk.EHCKPQR2.js +18 -0
- package/dist/chunks/chunk.EHCKPQR2.js.map +7 -0
- package/dist/chunks/chunk.JTJSVPDC.js +18 -0
- package/dist/chunks/chunk.JTJSVPDC.js.map +7 -0
- package/dist/chunks/chunk.MZVUU463.js +18 -0
- package/dist/chunks/chunk.MZVUU463.js.map +7 -0
- package/dist/components/breadcrumb-item.d.ts +20 -0
- package/dist/components/breadcrumb-item.js +7 -0
- package/dist/components/breadcrumb-item.js.map +7 -0
- package/dist/components/breadcrumb.d.ts +15 -0
- package/dist/components/breadcrumb.js +7 -0
- package/dist/components/breadcrumb.js.map +7 -0
- package/dist/components/card.d.ts +24 -0
- package/dist/components/card.js +7 -0
- package/dist/components/card.js.map +7 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +41 -29
- package/package.json +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../react/src/components/breadcrumb-item.ts
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import Component from "@synergy-design-system/components/components/breadcrumb-item/breadcrumb-item.component.js";
|
|
5
|
+
var tagName = "syn-breadcrumb-item";
|
|
6
|
+
Component.define("syn-breadcrumb-item");
|
|
7
|
+
var SynBreadcrumbItem = createComponent({
|
|
8
|
+
displayName: "SynBreadcrumbItem",
|
|
9
|
+
elementClass: Component,
|
|
10
|
+
events: {},
|
|
11
|
+
react: React,
|
|
12
|
+
tagName
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
SynBreadcrumbItem
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk.EHCKPQR2.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb-item.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/breadcrumb-item/breadcrumb-item.component.js';\n\nconst tagName = 'syn-breadcrumb-item';\nComponent.define('syn-breadcrumb-item');\n\n/**\n * @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.\n * @documentation https://synergy.style/components/breadcrumb-item\n * @status stable\n * @since 2.0\n *\n * @slot - The breadcrumb item's label.\n * @slot prefix - An optional prefix, usually an icon or icon button.\n * @slot suffix - An optional suffix, usually an icon or icon button.\n * @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If\n * you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.\n *\n * @csspart base - The component's base wrapper.\n * @csspart label - The breadcrumb item's label.\n * @csspart prefix - The container that wraps the prefix.\n * @csspart suffix - The container that wraps the suffix.\n * @csspart separator - The container that wraps the separator.\n */\nexport const SynBreadcrumbItem = createComponent({\n displayName: 'SynBreadcrumbItem',\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,qBAAqB;AAoB/B,IAAM,oBAAoB,gBAAgB;AAAA,EAC/C,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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,18 @@
|
|
|
1
|
+
// ../react/src/components/breadcrumb.ts
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import Component from "@synergy-design-system/components/components/breadcrumb/breadcrumb.component.js";
|
|
5
|
+
var tagName = "syn-breadcrumb";
|
|
6
|
+
Component.define("syn-breadcrumb");
|
|
7
|
+
var SynBreadcrumb = createComponent({
|
|
8
|
+
displayName: "SynBreadcrumb",
|
|
9
|
+
elementClass: Component,
|
|
10
|
+
events: {},
|
|
11
|
+
react: React,
|
|
12
|
+
tagName
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
SynBreadcrumb
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk.MZVUU463.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/breadcrumb.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/breadcrumb/breadcrumb.component.js';\n\nconst tagName = 'syn-breadcrumb';\nComponent.define('syn-breadcrumb');\n\n/**\n * @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.\n * @documentation https://synergy.style/components/breadcrumb\n * @status stable\n * @since 2.0\n *\n * @slot - One or more breadcrumb items to display.\n * @slot separator - The separator to use between breadcrumb items. Works best with `<syn-icon>`.\n *\n * @dependency syn-icon\n *\n * @csspart base - The component's base wrapper.\n */\nexport const SynBreadcrumb = createComponent({\n displayName: 'SynBreadcrumb',\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,gBAAgB;AAe1B,IAAM,gBAAgB,gBAAgB;AAAA,EAC3C,aAAa;AAAA,EACb,cAAc;AAAA,EACd,QAAQ,CAER;AAAA,EACA,OAAO;AAAA,EACP;AACF,CAAC;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import Component from '@synergy-design-system/components/components/breadcrumb-item/breadcrumb-item.component.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary Breadcrumb Items are used inside [breadcrumbs](/components/breadcrumb) to represent different links.
|
|
4
|
+
* @documentation https://synergy.style/components/breadcrumb-item
|
|
5
|
+
* @status stable
|
|
6
|
+
* @since 2.0
|
|
7
|
+
*
|
|
8
|
+
* @slot - The breadcrumb item's label.
|
|
9
|
+
* @slot prefix - An optional prefix, usually an icon or icon button.
|
|
10
|
+
* @slot suffix - An optional suffix, usually an icon or icon button.
|
|
11
|
+
* @slot separator - The separator to use for the breadcrumb item. This will only change the separator for this item. If
|
|
12
|
+
* you want to change it for all items in the group, set the separator on `<syn-breadcrumb>` instead.
|
|
13
|
+
*
|
|
14
|
+
* @csspart base - The component's base wrapper.
|
|
15
|
+
* @csspart label - The breadcrumb item's label.
|
|
16
|
+
* @csspart prefix - The container that wraps the prefix.
|
|
17
|
+
* @csspart suffix - The container that wraps the suffix.
|
|
18
|
+
* @csspart separator - The container that wraps the separator.
|
|
19
|
+
*/
|
|
20
|
+
export declare const SynBreadcrumbItem: import("@lit/react").ReactWebComponent<Component, {}>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Component from '@synergy-design-system/components/components/breadcrumb/breadcrumb.component.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy.
|
|
4
|
+
* @documentation https://synergy.style/components/breadcrumb
|
|
5
|
+
* @status stable
|
|
6
|
+
* @since 2.0
|
|
7
|
+
*
|
|
8
|
+
* @slot - One or more breadcrumb items to display.
|
|
9
|
+
* @slot separator - The separator to use between breadcrumb items. Works best with `<syn-icon>`.
|
|
10
|
+
*
|
|
11
|
+
* @dependency syn-icon
|
|
12
|
+
*
|
|
13
|
+
* @csspart base - The component's base wrapper.
|
|
14
|
+
*/
|
|
15
|
+
export declare const SynBreadcrumb: import("@lit/react").ReactWebComponent<Component, {}>;
|
|
@@ -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, {}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
export { SynAlert } from './components/alert.js';
|
|
2
2
|
export { SynBadge } from './components/badge.js';
|
|
3
|
+
export { SynBreadcrumb } from './components/breadcrumb.js';
|
|
4
|
+
export { SynBreadcrumbItem } from './components/breadcrumb-item.js';
|
|
3
5
|
export { SynButton } from './components/button.js';
|
|
4
6
|
export { SynButtonGroup } from './components/button-group.js';
|
|
7
|
+
export { SynCard } from './components/card.js';
|
|
5
8
|
export { SynCheckbox } from './components/checkbox.js';
|
|
6
9
|
export { SynDialog } from './components/dialog.js';
|
|
7
10
|
export { SynDivider } from './components/divider.js';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,27 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SynSpinner
|
|
3
|
+
} from "./chunks/chunk.CAHU6MAK.js";
|
|
4
|
+
import {
|
|
5
|
+
SynSwitch
|
|
6
|
+
} from "./chunks/chunk.7IZW5FRR.js";
|
|
7
|
+
import {
|
|
8
|
+
SynTag
|
|
9
|
+
} from "./chunks/chunk.7T7PO2AE.js";
|
|
1
10
|
import {
|
|
2
11
|
SynTextarea
|
|
3
12
|
} from "./chunks/chunk.4YY6TGIA.js";
|
|
4
13
|
import {
|
|
5
14
|
SynTooltip
|
|
6
15
|
} from "./chunks/chunk.BU4SKSAF.js";
|
|
16
|
+
import {
|
|
17
|
+
SynPrioNav
|
|
18
|
+
} from "./chunks/chunk.7732PJEC.js";
|
|
19
|
+
import {
|
|
20
|
+
SynProgressBar
|
|
21
|
+
} from "./chunks/chunk.U44M2PKP.js";
|
|
22
|
+
import {
|
|
23
|
+
SynProgressRing
|
|
24
|
+
} from "./chunks/chunk.FGMVRUPR.js";
|
|
7
25
|
import {
|
|
8
26
|
SynRadioButton
|
|
9
27
|
} from "./chunks/chunk.QBD4EIK5.js";
|
|
@@ -20,14 +38,14 @@ import {
|
|
|
20
38
|
SynSideNav
|
|
21
39
|
} from "./chunks/chunk.A3DZYM6Z.js";
|
|
22
40
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./chunks/chunk.
|
|
41
|
+
SynInput
|
|
42
|
+
} from "./chunks/chunk.N6QQSQTB.js";
|
|
25
43
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./chunks/chunk.
|
|
44
|
+
SynMenuItem
|
|
45
|
+
} from "./chunks/chunk.KLI3DNUO.js";
|
|
28
46
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./chunks/chunk.
|
|
47
|
+
SynMenuLabel
|
|
48
|
+
} from "./chunks/chunk.EOLGRN43.js";
|
|
31
49
|
import {
|
|
32
50
|
SynMenu
|
|
33
51
|
} from "./chunks/chunk.NSUMR2HG.js";
|
|
@@ -44,14 +62,14 @@ import {
|
|
|
44
62
|
SynPopup
|
|
45
63
|
} from "./chunks/chunk.UJGZNEKT.js";
|
|
46
64
|
import {
|
|
47
|
-
|
|
48
|
-
} from "./chunks/chunk.
|
|
65
|
+
SynCheckbox
|
|
66
|
+
} from "./chunks/chunk.RU33PYCK.js";
|
|
49
67
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./chunks/chunk.
|
|
68
|
+
SynDialog
|
|
69
|
+
} from "./chunks/chunk.IRQRZGIS.js";
|
|
52
70
|
import {
|
|
53
|
-
|
|
54
|
-
} from "./chunks/chunk.
|
|
71
|
+
SynDivider
|
|
72
|
+
} from "./chunks/chunk.HKOGDFA5.js";
|
|
55
73
|
import {
|
|
56
74
|
SynDrawer
|
|
57
75
|
} from "./chunks/chunk.BQ62A32K.js";
|
|
@@ -67,21 +85,18 @@ import {
|
|
|
67
85
|
import {
|
|
68
86
|
SynIcon
|
|
69
87
|
} from "./chunks/chunk.6CO3KAZG.js";
|
|
70
|
-
import {
|
|
71
|
-
SynInput
|
|
72
|
-
} from "./chunks/chunk.N6QQSQTB.js";
|
|
73
|
-
import {
|
|
74
|
-
SynMenuItem
|
|
75
|
-
} from "./chunks/chunk.KLI3DNUO.js";
|
|
76
|
-
import {
|
|
77
|
-
SynMenuLabel
|
|
78
|
-
} from "./chunks/chunk.EOLGRN43.js";
|
|
79
88
|
import {
|
|
80
89
|
SynAlert
|
|
81
90
|
} from "./chunks/chunk.NCB462OR.js";
|
|
82
91
|
import {
|
|
83
92
|
SynBadge
|
|
84
93
|
} from "./chunks/chunk.XRVA7P2R.js";
|
|
94
|
+
import {
|
|
95
|
+
SynBreadcrumbItem
|
|
96
|
+
} from "./chunks/chunk.EHCKPQR2.js";
|
|
97
|
+
import {
|
|
98
|
+
SynBreadcrumb
|
|
99
|
+
} from "./chunks/chunk.MZVUU463.js";
|
|
85
100
|
import {
|
|
86
101
|
SynButtonGroup
|
|
87
102
|
} from "./chunks/chunk.6OTEQXZW.js";
|
|
@@ -89,19 +104,16 @@ import {
|
|
|
89
104
|
SynButton
|
|
90
105
|
} from "./chunks/chunk.TTUPZLN7.js";
|
|
91
106
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./chunks/chunk.
|
|
94
|
-
import {
|
|
95
|
-
SynDialog
|
|
96
|
-
} from "./chunks/chunk.IRQRZGIS.js";
|
|
97
|
-
import {
|
|
98
|
-
SynDivider
|
|
99
|
-
} from "./chunks/chunk.HKOGDFA5.js";
|
|
107
|
+
SynCard
|
|
108
|
+
} from "./chunks/chunk.JTJSVPDC.js";
|
|
100
109
|
export {
|
|
101
110
|
SynAlert,
|
|
102
111
|
SynBadge,
|
|
112
|
+
SynBreadcrumb,
|
|
113
|
+
SynBreadcrumbItem,
|
|
103
114
|
SynButton,
|
|
104
115
|
SynButtonGroup,
|
|
116
|
+
SynCard,
|
|
105
117
|
SynCheckbox,
|
|
106
118
|
SynDialog,
|
|
107
119
|
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.
|
|
8
|
+
"@synergy-design-system/components": "^1.26.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.
|
|
43
|
+
"version": "1.26.0",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/react": "^18.2.79",
|
|
46
46
|
"react": "^18.2.0"
|