@konoma-development/react-components 0.1.16 → 0.1.18

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/README.md CHANGED
@@ -5,3 +5,11 @@ To be used in any of our React based projects where we do not want to use a 3rd
5
5
  ## Development
6
6
 
7
7
  Clone this repository into a directory of your choice. Make changes as needed. run `yarn build`. To directly use the result in a local project, add "@konoma-development/react-components": "file:/path/to/this/repo" to your package.json dependencies. Remember to replace this with a proper version once development is complete.
8
+
9
+ ## Releasing
10
+
11
+ - Go to <https://github.com/konoma/react-components/actions/workflows/npm-publish.yml>.
12
+ - Click on "Run workflow".
13
+ - Select the branch you want to release from (usually `develop`).
14
+ - Enter the version you want to release (e.g. `1.0.0`).
15
+ - Click on "Run workflow" button.
@@ -23039,6 +23039,7 @@ function Button({
23039
23039
  iconLeftName,
23040
23040
  iconRightPath,
23041
23041
  iconRightName,
23042
+ name,
23042
23043
  onClick
23043
23044
  }) {
23044
23045
  const classes = [classesBase, className];
@@ -23065,7 +23066,7 @@ function Button({
23065
23066
  loadingClasses.push(loadingClassesAlert);
23066
23067
  break;
23067
23068
  }
23068
- return /* @__PURE__ */ jsxs("button", { onClick: async (e) => await onClick?.(e), className: classes.join(" "), disabled, type, children: [
23069
+ return /* @__PURE__ */ jsxs("button", { name, onClick: async (e) => await onClick?.(e), className: classes.join(" "), disabled, type, children: [
23069
23070
  (iconLeftPath || iconLeftName) && /* @__PURE__ */ jsx(Icon, { className: iconLeftClasses, name: iconLeftName, path: iconLeftPath }),
23070
23071
  label && /* @__PURE__ */ jsx("span", { children: label }),
23071
23072
  (iconRightPath || iconRightName) && /* @__PURE__ */ jsx(Icon, { className: iconRightClasses, name: iconRightName, path: iconRightPath }),