@clerk/types 4.59.0 → 4.59.1-snapshot.v20250519143451

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.d.mts CHANGED
@@ -5978,6 +5978,22 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
5978
5978
  */
5979
5979
  rethrowOfflineNetworkErrors: boolean;
5980
5980
  commerce: boolean;
5981
+ /**
5982
+ * The name of the CSS layer to use for Clerk components.
5983
+ * @example
5984
+ * ```tsx
5985
+ * <ClerkProvider cssLayerName="components">
5986
+ * <App />
5987
+ * </ClerkProvider>
5988
+ * ```
5989
+ * This will wrap all Clerk styles in a `components` CSS layer to work with tools like Tailwind CSS V4.
5990
+ *```css
5991
+ * @layer components {
5992
+ * ... clerk styles ...
5993
+ * }
5994
+ *```
5995
+ */
5996
+ cssLayerName?: string;
5981
5997
  }, Record<string, any>>;
5982
5998
  /**
5983
5999
  * The URL a developer should be redirected to in order to claim an instance created in Keyless mode.
package/dist/index.d.ts CHANGED
@@ -5978,6 +5978,22 @@ type ClerkOptions = PendingSessionOptions & ClerkOptionsNavigation & SignInForce
5978
5978
  */
5979
5979
  rethrowOfflineNetworkErrors: boolean;
5980
5980
  commerce: boolean;
5981
+ /**
5982
+ * The name of the CSS layer to use for Clerk components.
5983
+ * @example
5984
+ * ```tsx
5985
+ * <ClerkProvider cssLayerName="components">
5986
+ * <App />
5987
+ * </ClerkProvider>
5988
+ * ```
5989
+ * This will wrap all Clerk styles in a `components` CSS layer to work with tools like Tailwind CSS V4.
5990
+ *```css
5991
+ * @layer components {
5992
+ * ... clerk styles ...
5993
+ * }
5994
+ *```
5995
+ */
5996
+ cssLayerName?: string;
5981
5997
  }, Record<string, any>>;
5982
5998
  /**
5983
5999
  * The URL a developer should be redirected to in order to claim an instance created in Keyless mode.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.59.0",
3
+ "version": "4.59.1-snapshot.v20250519143451",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",