@primer-io/primer-js 0.1.0 → 0.1.1

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.
@@ -3716,11 +3716,17 @@ declare class CardNetworkSelectorComponent extends LitElement {
3716
3716
  */
3717
3717
  private setNetworkOptionRef;
3718
3718
  /**
3719
- * Lifecycle: Add document event listener when connected
3719
+ * Attach event listener to the component for keydown events
3720
+ * and to document for click outside and mousemove
3720
3721
  */
3721
3722
  connectedCallback(): void;
3722
3723
  /**
3723
- * Lifecycle: Remove document event listener when disconnected
3724
+ * Handle document-level keydown events, but only when dropdown is open
3725
+ * This allows keyboard navigation to continue working
3726
+ */
3727
+ private handleDocumentKeyDown;
3728
+ /**
3729
+ * Lifecycle: Remove all event listeners when disconnected
3724
3730
  */
3725
3731
  disconnectedCallback(): void;
3726
3732
  render(): TemplateResult<1>;
@@ -56,7 +56,7 @@ primer-checkout {
56
56
  --primer-color-blue-500: #399dff;
57
57
  --primer-color-blue-900: #2270f4;
58
58
  --primer-radius-base: 4px;
59
- --primer-typography-brand: Inter;
59
+ --primer-typography-brand: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
60
60
  --primer-typography-title-xlarge-letter-spacing: -0.6px;
61
61
  --primer-typography-title-xlarge-weight: 550;
62
62
  --primer-typography-title-xlarge-size: 24px;
@@ -162,4 +162,4 @@ primer-checkout.primer-dark-theme {
162
162
  --primer-color-blue-500: #3f93e4;
163
163
  --primer-color-blue-900: #4aaeff;
164
164
  }
165
- `;var k="primer-light-theme-css",E="primer-dark-theme-css";function l(){i(g,k,!0)}function n(){i(y,E,!0)}function u(){l(),n()}function b(){i(s,"primer-css-loader-styles",!1)}function f(){u()}function B(){l()}function Q(){n()}async function w(r=c){await a(r),await window.Primer.preloadPrimer()}async function T(r=d){b(),f(),await a(r,!0)}async function $(){b(),f(),await w(),await T()}export{Q as injectDarkTheme,B as injectLightTheme,b as injectLoaderStyles,f as injectThemeStyles,$ as loadPrimer};
165
+ `;var k="primer-light-theme-css",E="primer-dark-theme-css";function l(){i(g,k,!0)}function n(){i(y,E,!0)}function u(){l(),n()}function b(){i(s,"primer-css-loader-styles",!1)}function f(){u()}function G(){l()}function Q(){n()}async function w(r=c){await a(r),await window.Primer.preloadPrimer()}async function T(r=d){b(),f(),await a(r,!0)}async function $(){b(),f(),await w(),await T()}export{Q as injectDarkTheme,G as injectLightTheme,b as injectLoaderStyles,f as injectThemeStyles,$ as loadPrimer};
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@primer-io/primer-js",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@primer-io/primer-js",
3
3
  "description": "Primer Composable Checkout is a web component-based SDK for building secure, customizable, and PCI-compliant checkout experiences. Designed with a modular architecture, it integrates seamlessly with any JavaScript framework and supports multiple payment methods.",
4
4
  "license": "BSD-3-Clause",
5
- "version": "0.1.0",
5
+ "version": "0.1.1",
6
6
  "type": "module",
7
7
  "main": "./dist/primer-loader.js",
8
8
  "types": "./dist/primer-loader.d.ts",