@shopify/ui-extensions 1.0.1 → 1.0.2
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.
|
@@ -5,7 +5,7 @@ export interface BaseButtonProps {
|
|
|
5
5
|
* `primary`: button used for main actions or green-path. Ex: Continue to next step, Discount field
|
|
6
6
|
* `secondary`: button used for secondary actions not blocking user progress. Ex: Download Shop app
|
|
7
7
|
* `plain`: Renders a button that visually looks like a Link
|
|
8
|
-
* @default '
|
|
8
|
+
* @default 'secondary'
|
|
9
9
|
*/
|
|
10
10
|
kind?: 'primary' | 'secondary' | 'plain';
|
|
11
11
|
/**
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|