@korsolutions/ui 0.0.5 → 0.0.7

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,6 +1,6 @@
1
1
  import { n as useTheme } from "../themes-BrLbh9h6.mjs";
2
2
  import "../portal-DoPaAohb.mjs";
3
- import { a as FieldPrimitive, i as InputPrimitive, n as SelectPrimitive, r as ButtonPrimitive, t as CardPrimitive } from "../primitives-BYUlEz2_.mjs";
3
+ import { a as FieldPrimitive, i as InputPrimitive, n as SelectPrimitive, r as ButtonPrimitive, t as CardPrimitive } from "../primitives-C2enZ5Ku.mjs";
4
4
  import React from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
 
@@ -1,4 +1,4 @@
1
1
  import "../portal-DoPaAohb.mjs";
2
- import { a as FieldPrimitive, i as InputPrimitive, n as SelectPrimitive, r as ButtonPrimitive, t as CardPrimitive } from "../primitives-BYUlEz2_.mjs";
2
+ import { a as FieldPrimitive, i as InputPrimitive, n as SelectPrimitive, r as ButtonPrimitive, t as CardPrimitive } from "../primitives-C2enZ5Ku.mjs";
3
3
 
4
4
  export { ButtonPrimitive, CardPrimitive, FieldPrimitive, InputPrimitive, SelectPrimitive };
@@ -165,8 +165,7 @@ function ButtonLabel(props) {
165
165
  //#region src/primitives/button/button-spinner.tsx
166
166
  function ButtonSpinner(props) {
167
167
  const button = useButtonPrimitive();
168
- calculateComposedStyles(button.styles, button.state, "spinner", props.style);
169
- return /* @__PURE__ */ jsx(ActivityIndicator, {});
168
+ return /* @__PURE__ */ jsx(ActivityIndicator, { style: calculateComposedStyles(button.styles, button.state, "spinner", props.style) });
170
169
  }
171
170
 
172
171
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@korsolutions/ui",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "license": "MIT",
5
5
  "main": ".src/index.ts",
6
6
  "types": ".src/index.ts",
@@ -18,6 +18,11 @@
18
18
  "types": "./dist/components/index.d.mts"
19
19
  }
20
20
  },
21
+ "scripts": {
22
+ "build": "tsdown",
23
+ "publish": "npm publish --access public",
24
+ "ts-check": "tsc --noEmit"
25
+ },
21
26
  "peerDependencies": {
22
27
  "react": "*",
23
28
  "react-native": "*",
@@ -33,9 +38,5 @@
33
38
  },
34
39
  "bugs": {
35
40
  "url": "https://github.com/KorSoftwareSolutions/ui/issues"
36
- },
37
- "scripts": {
38
- "build": "tsdown",
39
- "ts-check": "tsc --noEmit"
40
41
  }
41
- }
42
+ }