@rokt/dcui-orchestrator 1.2.1-rc.38 → 1.2.1-rc.39

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,8 +1,10 @@
1
- import React from 'react';
1
+ import { type JSX } from 'react';
2
+ export type PayPalWordmarkVariant = 'blue' | 'white';
2
3
  /**
3
- * PLACEHOLDER wordmark. Replace with the official PayPal wordmark SVG from
4
- * PayPal's Logo and Marks resources once PayPal confirms the asset for this
5
- * integration. Keep the two fills driven by the CSS variables below so the
6
- * blue (light buttons) and white (dark buttons) variants keep working.
4
+ * Shown or hidden with `--paypal-wordmark-<variant>-display`, so the button can
5
+ * swap variants in dark mode without recoloring either one. Outside a button,
6
+ * only the blue variant shows.
7
7
  */
8
- export declare function PayPalWordmark(): React.JSX.Element;
8
+ export declare function PayPalWordmark({ variant, }: {
9
+ variant: PayPalWordmarkVariant;
10
+ }): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rokt/dcui-orchestrator",
3
- "version": "1.2.1-rc.38",
3
+ "version": "1.2.1-rc.39",
4
4
  "description": "Rokt's DCUI rendering process",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",