@asgard-js/react 0.0.43-canary.16 → 0.0.43-canary.17

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/dist/index.js CHANGED
@@ -36241,7 +36241,7 @@ function nse({
36241
36241
  "button",
36242
36242
  {
36243
36243
  type: "submit",
36244
- disabled: t,
36244
+ disabled: !s.trim() || t,
36245
36245
  className: Ht(Kn.api_key_input__submit_button, {
36246
36246
  [Kn["api_key_input__submit_button--loading"]]: t
36247
36247
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asgard-js/react",
3
- "version": "0.0.43-canary.16",
3
+ "version": "0.0.43-canary.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -96,7 +96,7 @@ export function ApiKeyInput({
96
96
 
97
97
  <button
98
98
  type="submit"
99
- disabled={loading}
99
+ disabled={!apiKey.trim() || loading}
100
100
  className={clsx(styles.api_key_input__submit_button, {
101
101
  [styles['api_key_input__submit_button--loading']]: loading,
102
102
  })}