@raketa-builder/ui 0.10.0 → 0.12.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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @raketa-builder/ui@0.10.0 build
2
+ > @raketa-builder/ui@0.12.0 build
3
3
  > tsup src/index.js --format cjs --loader ".js=jsx"
4
4
 
5
5
  CLI Building entry: src/index.js
@@ -7,5 +7,5 @@ CLI Using tsconfig: tsconfig.json
7
7
  CLI tsup v6.5.0
8
8
  CLI Target: es6
9
9
  CJS Build start
10
- CJS dist/index.js 31.03 KB
11
- CJS ⚡️ Build success in 227ms
10
+ CJS dist/index.js 31.07 KB
11
+ CJS ⚡️ Build success in 65ms
package/dist/index.js CHANGED
@@ -191,6 +191,7 @@ var Button = (_a) => {
191
191
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
192
192
  Component,
193
193
  __spreadValues({
194
+ type,
194
195
  className: cn(
195
196
  "r-reset",
196
197
  "r-reset-button",
@@ -445,6 +446,7 @@ var CloseButton = (_a) => {
445
446
  return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
446
447
  "button",
447
448
  __spreadValues({
449
+ type: "button",
448
450
  className: cn("r-reset-button r-modal-close-btn", className)
449
451
  }, props)
450
452
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@raketa-builder/ui",
3
- "version": "0.10.0",
3
+ "version": "0.12.0",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "license": "MIT",
package/src/Button.jsx CHANGED
@@ -13,6 +13,7 @@ const Button = ({
13
13
 
14
14
  return (
15
15
  <Component
16
+ type={type}
16
17
  className={cn(
17
18
  "r-reset",
18
19
  "r-reset-button",
package/src/Modal.jsx CHANGED
@@ -23,6 +23,7 @@ const Title = ({ className, ...props }) => (
23
23
 
24
24
  const CloseButton = ({ className, ...props }) => (
25
25
  <button
26
+ type="button"
26
27
  className={cn("r-reset-button r-modal-close-btn", className)}
27
28
  {...props}
28
29
  />