@martinsura/ui 0.1.6 → 0.1.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.
- package/README.md +15 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -61,6 +61,21 @@ Important:
|
|
|
61
61
|
- example: `package.json` = `0.1.1`, Git tag = `v0.1.1`
|
|
62
62
|
- the npm publish runs only when the tag is pushed
|
|
63
63
|
|
|
64
|
+
### Emergency local publish
|
|
65
|
+
|
|
66
|
+
If you ever need an emergency hotfix without waiting for GitHub Actions, you can publish directly from your machine:
|
|
67
|
+
|
|
68
|
+
```bash
|
|
69
|
+
npm run build
|
|
70
|
+
npm publish --access public
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Important:
|
|
74
|
+
|
|
75
|
+
- always bump the version in `package.json` first
|
|
76
|
+
- npm does not allow publishing the same version twice
|
|
77
|
+
- this should be used only as a fallback, not as the default release workflow
|
|
78
|
+
|
|
64
79
|
## GitHub Actions Setup
|
|
65
80
|
|
|
66
81
|
Before the first npm release, add this repository secret in GitHub:
|
package/dist/index.cjs
CHANGED
|
@@ -517,7 +517,7 @@ var Textarea = ({ rows = 4, ...props }) => {
|
|
|
517
517
|
placeholder: props.placeholder,
|
|
518
518
|
disabled: props.disabled,
|
|
519
519
|
onChange: (e) => props.onChange?.(e.target.value),
|
|
520
|
-
className: tailwindMerge.twMerge(inputBaseClass, "min-h-24 py-2", errorDisplay && "border-(--ui-danger)")
|
|
520
|
+
className: tailwindMerge.twMerge(inputBaseClass, "min-h-24 px-(--ui-px-md) py-2 [font-size:var(--ui-text-md)] rounded-(--ui-radius-md)", errorDisplay && "border-(--ui-danger)")
|
|
521
521
|
}
|
|
522
522
|
),
|
|
523
523
|
errorDisplay && /* @__PURE__ */ jsxRuntime.jsx(InputError, { error: String(errorDisplay) })
|