@embarkai/ui-kit 0.4.101 → 0.4.102

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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>EmbarkAI Secure Wallet - iframe version 0.4.101</title>
18
+ <title>EmbarkAI Secure Wallet - iframe version 0.4.102</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -6342,7 +6342,7 @@ var SigningManager = class extends TokenRefreshApiClient {
6342
6342
  };
6343
6343
 
6344
6344
  // src/iframe/main.ts
6345
- var IFRAME_VERSION = "0.4.101";
6345
+ var IFRAME_VERSION = "0.4.102";
6346
6346
  var IframeWallet = class {
6347
6347
  // private finchpay: FinchPayRampAPI
6348
6348
  // private rampnow: RampnowOnrampAPI
package/dist/index.cjs CHANGED
@@ -10144,7 +10144,7 @@ var init_input = __esm({
10144
10144
  const { className, disabled, error, Icon: Icon2, element, inputClassName, ...inputProps } = props;
10145
10145
  const internalRef = (0, import_react17.useRef)(null);
10146
10146
  (0, import_react17.useImperativeHandle)(ref, () => internalRef.current);
10147
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: cn2("w-full flex flex-col gap-1", className), children: [
10147
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: cn2("w-full min-w-0 flex flex-col gap-1", className), children: [
10148
10148
  /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
10149
10149
  "div",
10150
10150
  {
@@ -10152,7 +10152,7 @@ var init_input = __esm({
10152
10152
  internalRef.current?.focus();
10153
10153
  },
10154
10154
  className: cn2(
10155
- "flex h-12 w-full items-center gap-[var(--ui-kit-gap)] px-[var(--ui-kit-pd)]",
10155
+ "flex h-12 w-full min-w-0 items-center gap-[var(--ui-kit-gap)] px-[var(--ui-kit-pd)]",
10156
10156
  "bg-[var(--ui-kit-secondary)] rounded-[var(--ui-kit-el-bdrs)]",
10157
10157
  "border border-transparent",
10158
10158
  "transition-all duration-200 ease-in-out",
@@ -10173,7 +10173,7 @@ var init_input = __esm({
10173
10173
  "placeholder:text-[var(--ui-kit-fg-muted)]",
10174
10174
  "ring-0 ring-offset-0",
10175
10175
  "outline-none focus-visible:ring-0 focus-visible:ring-transparent focus-visible:ring-offset-0",
10176
- "h-full flex-1 border-0 bg-transparent px-0",
10176
+ "h-full flex-1 min-w-0 border-0 bg-transparent px-0",
10177
10177
  { ["cursor-not-allowed"]: disabled },
10178
10178
  inputClassName
10179
10179
  ),
@@ -20083,7 +20083,7 @@ function PasswordPasskey(props) {
20083
20083
  onClick: actionHandler,
20084
20084
  title: actionCaption,
20085
20085
  disabled: isLoading || disabled || error?.includes("Invalid backup file") || !usePasskey && !restorePassword,
20086
- className: "w-full w-12 h-12 flex-shrink-0 rounded-[var(--ui-kit-el-bdrs)]",
20086
+ className: "w-12 h-12 flex-none rounded-[var(--ui-kit-el-bdrs)]",
20087
20087
  children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react39.Loader, { className: "animate-spin h-4 w-4" }) : /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react39.ChevronRight, { className: "h-4 w-4" })
20088
20088
  }
20089
20089
  )
@@ -29967,7 +29967,7 @@ var init_package = __esm({
29967
29967
  "package.json"() {
29968
29968
  package_default = {
29969
29969
  name: "@embarkai/ui-kit",
29970
- version: "0.4.101",
29970
+ version: "0.4.102",
29971
29971
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
29972
29972
  type: "module",
29973
29973
  main: "./dist/index.cjs",
package/dist/index.js CHANGED
@@ -10113,7 +10113,7 @@ var init_input = __esm({
10113
10113
  const { className, disabled, error, Icon: Icon2, element, inputClassName, ...inputProps } = props;
10114
10114
  const internalRef = useRef6(null);
10115
10115
  useImperativeHandle2(ref, () => internalRef.current);
10116
- return /* @__PURE__ */ jsxs13("div", { className: cn2("w-full flex flex-col gap-1", className), children: [
10116
+ return /* @__PURE__ */ jsxs13("div", { className: cn2("w-full min-w-0 flex flex-col gap-1", className), children: [
10117
10117
  /* @__PURE__ */ jsxs13(
10118
10118
  "div",
10119
10119
  {
@@ -10121,7 +10121,7 @@ var init_input = __esm({
10121
10121
  internalRef.current?.focus();
10122
10122
  },
10123
10123
  className: cn2(
10124
- "flex h-12 w-full items-center gap-[var(--ui-kit-gap)] px-[var(--ui-kit-pd)]",
10124
+ "flex h-12 w-full min-w-0 items-center gap-[var(--ui-kit-gap)] px-[var(--ui-kit-pd)]",
10125
10125
  "bg-[var(--ui-kit-secondary)] rounded-[var(--ui-kit-el-bdrs)]",
10126
10126
  "border border-transparent",
10127
10127
  "transition-all duration-200 ease-in-out",
@@ -10142,7 +10142,7 @@ var init_input = __esm({
10142
10142
  "placeholder:text-[var(--ui-kit-fg-muted)]",
10143
10143
  "ring-0 ring-offset-0",
10144
10144
  "outline-none focus-visible:ring-0 focus-visible:ring-transparent focus-visible:ring-offset-0",
10145
- "h-full flex-1 border-0 bg-transparent px-0",
10145
+ "h-full flex-1 min-w-0 border-0 bg-transparent px-0",
10146
10146
  { ["cursor-not-allowed"]: disabled },
10147
10147
  inputClassName
10148
10148
  ),
@@ -20025,7 +20025,7 @@ function PasswordPasskey(props) {
20025
20025
  onClick: actionHandler,
20026
20026
  title: actionCaption,
20027
20027
  disabled: isLoading || disabled || error?.includes("Invalid backup file") || !usePasskey && !restorePassword,
20028
- className: "w-full w-12 h-12 flex-shrink-0 rounded-[var(--ui-kit-el-bdrs)]",
20028
+ className: "w-12 h-12 flex-none rounded-[var(--ui-kit-el-bdrs)]",
20029
20029
  children: isLoading ? /* @__PURE__ */ jsx80(Loader12, { className: "animate-spin h-4 w-4" }) : /* @__PURE__ */ jsx80(ChevronRight3, { className: "h-4 w-4" })
20030
20030
  }
20031
20031
  )
@@ -29858,7 +29858,7 @@ var init_package = __esm({
29858
29858
  "package.json"() {
29859
29859
  package_default = {
29860
29860
  name: "@embarkai/ui-kit",
29861
- version: "0.4.101",
29861
+ version: "0.4.102",
29862
29862
  description: "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
29863
29863
  type: "module",
29864
29864
  main: "./dist/index.cjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embarkai/ui-kit",
3
- "version": "0.4.101",
3
+ "version": "0.4.102",
4
4
  "description": "React UI components and hooks for EmbarkAI authentication and Account Abstraction",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",