@synergy-design-system/react 1.2.2 → 1.4.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.HKOGDFA5.js +18 -0
- package/dist/chunks/chunk.HKOGDFA5.js.map +7 -0
- package/dist/components/divider.d.ts +12 -0
- package/dist/components/divider.js +7 -0
- package/dist/components/divider.js.map +7 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -3
- package/package.json +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// ../react/src/components/divider.ts
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { createComponent } from "@lit/react";
|
|
4
|
+
import Component from "@synergy-design-system/components/components/divider/divider.component.js";
|
|
5
|
+
var tagName = "syn-divider";
|
|
6
|
+
Component.define("syn-divider");
|
|
7
|
+
var SynDivider = createComponent({
|
|
8
|
+
displayName: "SynDivider",
|
|
9
|
+
elementClass: Component,
|
|
10
|
+
events: {},
|
|
11
|
+
react: React,
|
|
12
|
+
tagName
|
|
13
|
+
});
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
SynDivider
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=chunk.HKOGDFA5.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/components/divider.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/divider/divider.component.js';\n\nconst tagName = 'syn-divider';\nComponent.define('syn-divider');\n\n/**\n * @summary Dividers are used to visually separate or group elements.\n * @documentation https://synergy.style/components/divider\n * @status stable\n * @since 2.0\n *\n * @cssproperty --color - The color of the divider.\n * @cssproperty --width - The width of the divider.\n * @cssproperty --spacing - The spacing of the divider.\n */\nexport const SynDivider = createComponent({\n displayName: 'SynDivider',\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;AAYvB,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,12 @@
|
|
|
1
|
+
import Component from '@synergy-design-system/components/components/divider/divider.component.js';
|
|
2
|
+
/**
|
|
3
|
+
* @summary Dividers are used to visually separate or group elements.
|
|
4
|
+
* @documentation https://synergy.style/components/divider
|
|
5
|
+
* @status stable
|
|
6
|
+
* @since 2.0
|
|
7
|
+
*
|
|
8
|
+
* @cssproperty --color - The color of the divider.
|
|
9
|
+
* @cssproperty --width - The width of the divider.
|
|
10
|
+
* @cssproperty --spacing - The spacing of the divider.
|
|
11
|
+
*/
|
|
12
|
+
export declare const SynDivider: import("@lit/react").ReactWebComponent<Component, {}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { SynButton } from './components/button.js';
|
|
2
2
|
export { SynButtonGroup } from './components/button-group.js';
|
|
3
3
|
export { SynCheckbox } from './components/checkbox.js';
|
|
4
|
+
export { SynDivider } from './components/divider.js';
|
|
4
5
|
export { SynIcon } from './components/icon.js';
|
|
5
6
|
export { SynIconButton } from './components/icon-button.js';
|
|
6
7
|
export { SynInput } from './components/input.js';
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SynRadioButton
|
|
3
|
+
} from "./chunks/chunk.QBD4EIK5.js";
|
|
1
4
|
import {
|
|
2
5
|
SynRadioGroup
|
|
3
6
|
} from "./chunks/chunk.UVFFLBXG.js";
|
|
@@ -22,6 +25,9 @@ import {
|
|
|
22
25
|
import {
|
|
23
26
|
SynCheckbox
|
|
24
27
|
} from "./chunks/chunk.FYIBHAO4.js";
|
|
28
|
+
import {
|
|
29
|
+
SynDivider
|
|
30
|
+
} from "./chunks/chunk.HKOGDFA5.js";
|
|
25
31
|
import {
|
|
26
32
|
SynIconButton
|
|
27
33
|
} from "./chunks/chunk.W4YO4ERO.js";
|
|
@@ -31,13 +37,11 @@ import {
|
|
|
31
37
|
import {
|
|
32
38
|
SynInput
|
|
33
39
|
} from "./chunks/chunk.K57RP7HQ.js";
|
|
34
|
-
import {
|
|
35
|
-
SynRadioButton
|
|
36
|
-
} from "./chunks/chunk.QBD4EIK5.js";
|
|
37
40
|
export {
|
|
38
41
|
SynButton,
|
|
39
42
|
SynButtonGroup,
|
|
40
43
|
SynCheckbox,
|
|
44
|
+
SynDivider,
|
|
41
45
|
SynIcon,
|
|
42
46
|
SynIconButton,
|
|
43
47
|
SynInput,
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@lit/react": "^1.0.0",
|
|
8
|
-
"@synergy-design-system/components": "^1.
|
|
8
|
+
"@synergy-design-system/components": "^1.4.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.4.0",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@types/react": "^18.2.31",
|
|
46
46
|
"react": "^18.2.0"
|