@synerise/ds-button 1.5.18 → 1.5.19

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.5.19](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.18...@synerise/ds-button@1.5.19) (2026-04-01)
7
+
8
+ **Note:** Version bump only for package @synerise/ds-button
9
+
6
10
  ## [1.5.18](https://github.com/synerise/synerise-design/compare/@synerise/ds-button@1.5.17...@synerise/ds-button@1.5.18) (2026-03-24)
7
11
 
8
12
  **Note:** Version bump only for package @synerise/ds-button
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@synerise/ds-button",
3
- "version": "1.5.18",
3
+ "version": "1.5.19",
4
4
  "description": "Button UI Component for the Synerise Design System",
5
5
  "license": "ISC",
6
6
  "repository": "synerise/synerise-design",
@@ -35,9 +35,9 @@
35
35
  ],
36
36
  "types": "dist/index.d.ts",
37
37
  "dependencies": {
38
- "@synerise/ds-icon": "^1.15.1",
39
- "@synerise/ds-tag": "^1.4.18",
40
- "@synerise/ds-tooltip": "^1.4.10",
38
+ "@synerise/ds-icon": "^1.15.2",
39
+ "@synerise/ds-tag": "^1.4.19",
40
+ "@synerise/ds-tooltip": "^1.4.11",
41
41
  "@synerise/ds-utils": "^1.7.1",
42
42
  "classnames": "^2.5.1",
43
43
  "csstype": "^2.6.9"
@@ -49,5 +49,5 @@
49
49
  "styled-components": "^5.3.3",
50
50
  "vitest": "4"
51
51
  },
52
- "gitHead": "e4ecca8944fc9b41c1b9d59c8bcad5e5e2013225"
52
+ "gitHead": "c2384982c3533a31eb5e5e0408f8dcecb2b0f399"
53
53
  }
@@ -1 +0,0 @@
1
- export {};
@@ -1,56 +0,0 @@
1
- import { jsx } from "react/jsx-runtime";
2
- import figma from "@figma/code-connect";
3
- import Button from "./Button.js";
4
- import { ButtonMode } from "./Button.types.js";
5
- const FIGMA_URL = "https://www.figma.com/design/fsSZONXpVvtrDsCgtu01Jb/Synerise-Design-System?node-id=139:4694&m=dev";
6
- const typeMapping = figma.enum("Variant", {
7
- Primary: "primary",
8
- Secondary: "secondary",
9
- Tertiary: "tertiary",
10
- "Tetriary White": "tertiary-white",
11
- "Ghost Primary": "ghost-primary",
12
- "Ghost Secondary": "ghost",
13
- "Ghost Secondary White": "ghost-white"
14
- });
15
- const modeMapping = figma.enum("Content Type", {
16
- Simple: void 0,
17
- "Icon left": ButtonMode.ICON_LABEL,
18
- "Icon right": ButtonMode.LABEL_ICON,
19
- "Icon solo": ButtonMode.SINGLE_ICON,
20
- "2 icons": ButtonMode.TWO_ICONS,
21
- Split: ButtonMode.SPLIT
22
- });
23
- const sizeMapping = figma.enum("Size", {
24
- Normal: void 0,
25
- Large: "large"
26
- });
27
- const baseProps = {
28
- type: typeMapping,
29
- mode: modeMapping,
30
- size: sizeMapping,
31
- label: figma.string("✏️Text")
32
- };
33
- figma.connect(Button, FIGMA_URL, {
34
- variant: {
35
- State: "Default"
36
- },
37
- props: baseProps,
38
- example: ({
39
- type,
40
- mode,
41
- size,
42
- label
43
- }) => /* @__PURE__ */ jsx(Button, { type, mode, size, children: label })
44
- });
45
- figma.connect(Button, FIGMA_URL, {
46
- variant: {
47
- State: "Disabled"
48
- },
49
- props: baseProps,
50
- example: ({
51
- type,
52
- mode,
53
- size,
54
- label
55
- }) => /* @__PURE__ */ jsx(Button, { type, mode, size, disabled: true, children: label })
56
- });