@justeattakeaway/pie-button 1.12.5 → 1.12.6
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/custom-elements.json +4 -4
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/custom-elements.json
CHANGED
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"kind": "variable",
|
|
49
49
|
"name": "variants",
|
|
50
50
|
"type": {
|
|
51
|
-
"text": "[\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\n]"
|
|
51
|
+
"text": "[\r\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\r\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\r\n]"
|
|
52
52
|
},
|
|
53
|
-
"default": "[\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\n]"
|
|
53
|
+
"default": "[\r\n 'primary', 'primary-alternative', 'primary-alternative-dark', 'secondary', 'outline', 'outline-inverse', 'ghost', 'ghost-dark',\r\n 'inverse', 'ghost-inverse', 'ghost-inverse-light', 'destructive', 'destructive-ghost',\r\n]"
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
56
|
"kind": "variable",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"type": {
|
|
91
91
|
"text": "DefaultProps"
|
|
92
92
|
},
|
|
93
|
-
"default": "{\n tag: 'button',\n size: 'medium',\n type: 'submit',\n variant: 'primary',\n iconPlacement: 'leading',\n disabled: false,\n isLoading: false,\n isFullWidth: false,\n isResponsive: false,\n}"
|
|
93
|
+
"default": "{\r\n tag: 'button',\r\n size: 'medium',\r\n type: 'submit',\r\n variant: 'primary',\r\n iconPlacement: 'leading',\r\n disabled: false,\r\n isLoading: false,\r\n isFullWidth: false,\r\n isResponsive: false,\r\n}"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
96
|
"exports": [
|
|
@@ -348,7 +348,7 @@
|
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
],
|
|
351
|
-
"description": "This method creates an invisible button of the same type as pie-button. It is then clicked, and immediately removed from the DOM.\nThis is done so that we trigger native form actions, such as submit and reset in the browser. The performance impact of adding and removing a single button to the DOM\nshould be neglible, however this should be monitored.\nThis is the only viable way of guaranteeing native button behaviour when using a web component in place of an actual HTML button.\n\nTODO: if we need to repeat this logic elsewhere, then we should consider moving this code to a shared class or mixin."
|
|
351
|
+
"description": "This method creates an invisible button of the same type as pie-button. It is then clicked, and immediately removed from the DOM.\r\nThis is done so that we trigger native form actions, such as submit and reset in the browser. The performance impact of adding and removing a single button to the DOM\r\nshould be neglible, however this should be monitored.\r\nThis is the only viable way of guaranteeing native button behaviour when using a web component in place of an actual HTML button.\r\n\r\nTODO: if we need to repeat this logic elsewhere, then we should consider moving this code to a shared class or mixin."
|
|
352
352
|
},
|
|
353
353
|
{
|
|
354
354
|
"kind": "method",
|
package/dist/index.js
CHANGED
|
@@ -478,7 +478,7 @@ const _ = class _ extends It {
|
|
|
478
478
|
this.getAttribute("v") || this.setAttribute("v", _.v);
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
|
-
_.v = "1.12.
|
|
481
|
+
_.v = "1.12.6";
|
|
482
482
|
let j = _;
|
|
483
483
|
const Pt = ["button", "a"], Ot = ["xsmall", "small-productive", "small-expressive", "medium", "large"], Qt = ["productive", "expressive"], _t = ["submit", "button", "reset"], $t = [
|
|
484
484
|
"primary",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-button",
|
|
3
|
-
"version": "1.12.
|
|
3
|
+
"version": "1.12.6",
|
|
4
4
|
"description": "PIE design system button built using web components",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
48
48
|
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
49
|
-
"@justeattakeaway/pie-css": "0.
|
|
49
|
+
"@justeattakeaway/pie-css": "0.30.0",
|
|
50
50
|
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
51
51
|
"@justeattakeaway/pie-wrapper-react": "0.14.3",
|
|
52
52
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"dist/*.js"
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@justeattakeaway/pie-spinner": "1.4.
|
|
63
|
-
"@justeattakeaway/pie-webc-core": "
|
|
62
|
+
"@justeattakeaway/pie-spinner": "1.4.6",
|
|
63
|
+
"@justeattakeaway/pie-webc-core": "10.0.0",
|
|
64
64
|
"element-internals-polyfill": "1.3.11"
|
|
65
65
|
}
|
|
66
66
|
}
|