@justeattakeaway/pie-button
Advanced tools
Comparing version 0.0.0-snapshot-release-20240417133510 to 0.0.0-snapshot-release-20240501131344
@@ -43,5 +43,5 @@ { | ||
"type": { | ||
"text": "[\n 'primary', 'secondary', 'outline', 'outline-inverse', 'ghost',\n 'inverse', 'ghost-inverse', 'destructive', 'destructive-ghost',\n]" | ||
"text": "[\r\n 'primary', 'secondary', 'outline', 'outline-inverse', 'ghost',\r\n 'inverse', 'ghost-inverse', 'destructive', 'destructive-ghost',\r\n]" | ||
}, | ||
"default": "[\n 'primary', 'secondary', 'outline', 'outline-inverse', 'ghost',\n 'inverse', 'ghost-inverse', 'destructive', 'destructive-ghost',\n]" | ||
"default": "[\r\n 'primary', 'secondary', 'outline', 'outline-inverse', 'ghost',\r\n 'inverse', 'ghost-inverse', 'destructive', 'destructive-ghost',\r\n]" | ||
}, | ||
@@ -332,3 +332,3 @@ { | ||
], | ||
"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." | ||
"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." | ||
}, | ||
@@ -335,0 +335,0 @@ { |
{ | ||
"name": "@justeattakeaway/pie-button", | ||
"version": "0.0.0-snapshot-release-20240417133510", | ||
"version": "0.0.0-snapshot-release-20240501131344", | ||
"description": "PIE design system button built using web components", | ||
@@ -51,6 +51,6 @@ "type": "module", | ||
"dependencies": { | ||
"@justeattakeaway/pie-spinner": "0.6.3", | ||
"@justeattakeaway/pie-webc-core": "0.21.1", | ||
"@justeattakeaway/pie-spinner": "0.0.0-snapshot-release-20240501131344", | ||
"@justeattakeaway/pie-webc-core": "0.0.0-snapshot-release-20240501131344", | ||
"element-internals-polyfill": "1.3.10" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94293
+ Added@justeattakeaway/pie-spinner@0.0.0-snapshot-release-20240501131344(transitive)
+ Added@justeattakeaway/pie-webc-core@0.0.0-snapshot-release-20240501131344(transitive)
+ Addedlit@3.1.3(transitive)
- Removed@justeattakeaway/pie-spinner@0.6.3(transitive)
- Removed@justeattakeaway/pie-webc-core@0.21.1(transitive)
- Removedlit@3.1.2(transitive)
Updated@justeattakeaway/pie-spinner@0.0.0-snapshot-release-20240501131344
Updated@justeattakeaway/pie-webc-core@0.0.0-snapshot-release-20240501131344