@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.
- package/dist/custom-elements.json +520 -514
- package/dist/primer-loader.d.ts +8 -2
- package/dist/primer-loader.js +2 -2
- package/dist/web-types.json +1 -1
- package/package.json +1 -1
package/dist/primer-loader.d.ts
CHANGED
|
@@ -3716,11 +3716,17 @@ declare class CardNetworkSelectorComponent extends LitElement {
|
|
|
3716
3716
|
*/
|
|
3717
3717
|
private setNetworkOptionRef;
|
|
3718
3718
|
/**
|
|
3719
|
-
*
|
|
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
|
-
*
|
|
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>;
|
package/dist/primer-loader.js
CHANGED
|
@@ -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:
|
|
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
|
|
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};
|
package/dist/web-types.json
CHANGED
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.
|
|
5
|
+
"version": "0.1.1",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/primer-loader.js",
|
|
8
8
|
"types": "./dist/primer-loader.d.ts",
|