Skip to content

[Forwordport2.3] Fix incorrect type hinting in PHPDocs #16122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 45 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
cd0a7b4
Removed unnecessary css.
chirag-wagento Jun 5, 2018
a7de37c
Merge pull request #2 from chirag-wagento/2.3-develop-PR-port-15789
chirag-wagento Jun 5, 2018
ed9b567
Make necessary space.
chirag-wagento Jun 5, 2018
ffa4a1a
Merge pull request #4 from chirag-wagento/2.3-develop-PR-port-15790
chirag-wagento Jun 5, 2018
3a2bda2
Removed unused class from forms less file.
chirag-wagento Jun 5, 2018
a12ce0e
Merge pull request #6 from chirag-wagento/2.3-develop-PR-port-15791
chirag-wagento Jun 5, 2018
2445b74
Added row_id to the flat action indexer so the value isn't set to 0 f…
lewisvoncken Jan 31, 2018
58f4a48
Moved the indexAll after the product save in the Indexer Product Flat…
lewisvoncken May 5, 2018
73acff7
Merge pull request #8 from chirag-wagento/2.3-develop-PR-port-15010
chirag-wagento Jun 5, 2018
3b8cc19
Merge pull request #10 from chirag-wagento/2.3-develop-PR-port-14967
chirag-wagento Jun 5, 2018
444fce2
Fixed set template syntax issue
sanganinamrata Jun 5, 2018
035363e
Merge pull request #16 from chirag-wagento/2.3-develop-PR-port-15825
chirag-wagento Jun 5, 2018
c03e53b
Merge remote-tracking branch 'upstream/2.3-develop' into 2.3-develop
chirag-wagento Jun 6, 2018
e813739
Frontport responsive footer issue.
chirag-wagento Jun 6, 2018
75932ad
Frontport footer responsive issue
chirag-wagento Jun 6, 2018
00f2006
Merge pull request #18 from chirag-wagento/2.3-develop-PR-port-15893
chirag-wagento Jun 6, 2018
b388594
Merge remote-tracking branch 'upstream/2.3-develop' into 2.3-develop
chirag-wagento Jun 7, 2018
94a4947
Merge branch '2.3-develop' of github.com:chirag-wagento/magento2 into…
chirag-wagento Jun 7, 2018
83202fa
#13354 - [Improvement] Add HTML attributes to containers
VincentMarmiesse Jan 24, 2018
0ace4ad
#13354 - Fix unit test
VincentMarmiesse Jan 24, 2018
402ccc4
#13354 - Fix htmlAttributes validation when using two data-
VincentMarmiesse Jan 26, 2018
1d20c98
Fix failing tests because of lines length
VincentMarmiesse Jan 27, 2018
eee2e7c
#15308 extraneous margin
StevenGuapaBV Jun 7, 2018
9486c7b
Merge pull request #23 from chirag-wagento/2.3-develop-PR-port-15936
chirag-wagento Jun 10, 2018
af902ef
Changes:
tiagosampaio Jun 9, 2018
b54b48b
Merge pull request #25 from chirag-wagento/2.3-develop-PR-port-15970
chirag-wagento Jun 10, 2018
dc93723
Merge pull request #22 from chirag-wagento/2.3-develop-PR-port-13355
chirag-wagento Jun 11, 2018
a9c6267
small refactoring to better code readability
likemusic Jun 11, 2018
44f34d6
Merge pull request #27 from chirag-wagento/2.3-develop-PR-port-16010
chirag-wagento Jun 12, 2018
75f8690
fix: change "My Dashboard" to "My Account"
Jun 11, 2018
f2c0693
Merge pull request #29 from chirag-wagento/2.3-develop-PR-port-16009
chirag-wagento Jun 12, 2018
d7e77e6
added new variables
Karlasa Jun 11, 2018
c4de267
added new primary button variables
Karlasa Jun 11, 2018
5207802
Merge pull request #30 from chirag-wagento/2.3-develop-PR-port-16012
chirag-wagento Jun 12, 2018
f7aaa7c
checkout page cart icon color fix
Karlasa Jun 11, 2018
fb2f4ce
Merge pull request #32 from chirag-wagento/2.3-develop-PR-port-16002
chirag-wagento Jun 12, 2018
7ba03bf
Correct return type of methods and typo correction.
Jun 11, 2018
35aacc3
Merge pull request #35 from chirag-wagento/2.3-develop-PR-port-15991
chirag-wagento Jun 12, 2018
1e992cb
Merge pull request #34 from chirag-wagento/2.3-develop-PR-port-15993
chirag-wagento Jun 12, 2018
6c59fff
Merge pull request #37 from chirag-wagento/2.3-develop-PR-port-16001
chirag-wagento Jun 12, 2018
4a38a6d
Merge remote-tracking branch 'upstream/2.3-develop' into 2.3-develop
chirag-wagento Jun 12, 2018
b004e7c
Merge branch '2.3-develop' of github.com:chirag-wagento/magento2 into…
chirag-wagento Jun 12, 2018
ee3ea36
Merge remote-tracking branch 'upstream/2.3-develop' into 2.3-develop
chirag-wagento Jun 13, 2018
4a294a3
Merge remote-tracking branch 'upstream/2.3-develop' into 2.3-develop
chirag-wagento Jun 14, 2018
1497765
Fix incorrect type hinting in PHPDocs for Forwordport2.3.
chirag-wagento Jun 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions app/code/Magento/Backend/Block/Widget/Form/Element/Dependence.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,17 @@ protected function _toHtml()
if (!$this->_depends) {
return '';
}
return '<script>
require(["mage/adminhtml/form"], function(){
new FormElementDependenceController(' .
$this->_getDependsJson() .
($this->_configOptions ? ', ' .
$this->_jsonEncoder->encode(
$this->_configOptions
) : '') . '); });</script>';

$dependsJson = $this->_getDependsJson();
$configOptions = $this->_configOptions ? $this->_jsonEncoder->encode($this->_configOptions) : null;
$configOptionsStr = $configOptions ? ', ' . $configOptions : '';
$paramsStr = $dependsJson . $configOptionsStr;

return "<script>
require(['mage/adminhtml/form'], function(){
new FormElementDependenceController({$paramsStr});
});
</script>";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public function write($storeId, $productId, $valueFieldSuffix = '')

if (!empty($updateData)) {
$updateData += ['entity_id' => $productId];
$updateData += ['row_id' => $productId];
$updateFields = [];
foreach ($updateData as $key => $value) {
$updateFields[$key] = $key;
Expand Down
6 changes: 2 additions & 4 deletions app/code/Magento/Catalog/etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
<menu>
<add id="Magento_Catalog::catalog" title="Catalog" translate="title" module="Magento_Catalog" sortOrder="20" dependsOnModule="Magento_Catalog" resource="Magento_Catalog::catalog"/>
<add id="Magento_Catalog::catalog_products" title="Products" translate="title" module="Magento_Catalog" sortOrder="10" parent="Magento_Catalog::inventory" action="catalog/product/" resource="Magento_Catalog::products"/>
<add id="Magento_Catalog::catalog_categories" title="Categories" translate="title" module="Magento_Catalog" sortOrder="20" parent="Magento_Catalog::inventory" action="catalog/category/" resource="Magento_Catalog::categories"/>
<add id="Magento_Catalog::catalog_products" title="Products" translate="title" module="Magento_Catalog" sortOrder="10" parent="Magento_Catalog::catalog" action="catalog/product/" resource="Magento_Catalog::products"/>
<add id="Magento_Catalog::catalog_categories" title="Categories" translate="title" module="Magento_Catalog" sortOrder="20" parent="Magento_Catalog::catalog" action="catalog/category/" resource="Magento_Catalog::categories"/>
<add id="Magento_Catalog::catalog_attributes_attributes" title="Product" translate="title" module="Magento_Catalog" sortOrder="30" parent="Magento_Backend::stores_attributes" action="catalog/product_attribute/" resource="Magento_Catalog::attributes_attributes"/>
<add id="Magento_Catalog::catalog_attributes_sets" title="Attribute Set" translate="title" module="Magento_Catalog" sortOrder="40" parent="Magento_Backend::stores_attributes" action="catalog/product_set/" resource="Magento_Catalog::sets"/>

<add id="Magento_Catalog::inventory" title="Inventory" translate="title" module="Magento_Catalog" sortOrder="10" parent="Magento_Catalog::catalog" dependsOnModule="Magento_Catalog" resource="Magento_Catalog::catalog"/>
</menu>
</config>
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

use Magento\Backend\App\Action\Context;
use Magento\Catalog\Model\Category;
use Magento\Customer\Model\Attribute\Data\Boolean;
use Magento\Framework\Registry;

class CategoriesJson extends \Magento\CatalogRule\Controller\Adminhtml\Promo\Widget
Expand All @@ -32,7 +33,7 @@ public function __construct(Context $context, Registry $coreRegistry)
/**
* Initialize category object in registry
*
* @return Category
* @return Category|Boolean
*/
protected function _initCategory()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public function processAttributeValue($attribute, $value)
*
* @param array $index
* @param string $separator
* @return string
* @return array
*/
public function prepareEntityIndex($index, $separator = ' ')
{
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Customer/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,6 @@ Addresses,Addresses
"Account Dashboard","Account Dashboard"
"Edit Account Information","Edit Account Information"
"Password forgotten","Password forgotten"
"My Dashboard","My Dashboard"
"You are signed out","You are signed out"
"Associate to Website","Associate to Website"
"Prefix","Prefix"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<body>
<referenceBlock name="page.main.title">
<action method="setPageTitle">
<argument translate="true" name="title" xsi:type="string">My Dashboard</argument>
<argument translate="true" name="title" xsi:type="string">My Account</argument>
</action>
</referenceBlock>
<referenceContainer name="content">
Expand Down
4 changes: 1 addition & 3 deletions app/code/Magento/Sales/Model/Order/Shipment/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,7 @@ public function getOrderItem()
* Declare qty
*
* @param float $qty
* @return \Magento\Sales\Model\Order\Shipment\Item
* @throws \Magento\Framework\Exception\LocalizedException
* @return $this
*/
public function setQty($qty)
{
Expand All @@ -157,7 +156,6 @@ public function setQty($qty)
* Applying qty to order item
*
* @return $this
* @throws \Magento\Framework\Exception\LocalizedException
*/
public function register()
{
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/UrlRewrite/Service/V1/Data/UrlRewrite.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function getUrlRewriteId()

/**
* @param int $urlRewriteId
* @return int
* @return $this
*/
public function setUrlRewriteId($urlRewriteId)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getAdminPasswordLifetime()
}

/**
* Get admin maxiumum security failures from config
* Get admin maximum security failures from config
*
* @return int
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@
.action {
&.showcart {
&:before {
.lib-css(color, @primary__color);
.lib-css(color, @button__color);
}

&:hover:before {
.lib-css(color, @button__hover__color);
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
// _____________________________________________

& when (@media-common = true) {

// Product Lists
.products {
margin: @indent__l 0;
Expand Down Expand Up @@ -167,11 +168,11 @@
.column.main {
.product {
&-items {
margin-left: -@indent__base;
margin-left: 0;
}

&-item {
padding-left: @indent__base;
padding-left: 0;
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
&:last-child {
margin-bottom: 0;
}

&.primary {
// &:extend(.abs-button-l all);
}
}

&:last-child {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class AssertCustomerRedirectToDashboard extends AbstractConstraint
/**
* Dashboard Message on account index page.
*/
const DASHBOARD_MESSAGE = 'My Dashboard';
const DASHBOARD_MESSAGE = 'My Account';

/**
* Constraint severeness
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function run()
{
$this->customerAccount->open();
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
if ($this->cmsIndex->getTitleBlock()->getTitle() === 'My Dashboard') {
if ($this->cmsIndex->getTitleBlock()->getTitle() === 'My Account') {
$this->cmsIndex->getLinksBlock()->openLink('Sign Out');
$this->cmsIndex->getCmsPageBlock()->waitUntilTextIsVisible('Home Page');
$this->cmsIndex->getCmsPageBlock()->waitPageInit();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,13 @@ public function testProductUpdate()
$this->_processor->getIndexer()->isScheduled(),
'Indexer is in scheduled mode when turned to update on save mode'
);
$this->_processor->reindexAll();

$this->_product->load(1);
$this->_product->setName('Updated Product');
$this->_product->save();

$this->_processor->reindexAll();

$category = $categoryFactory->create()->load(9);
$layer = $listProduct->getLayer();
$layer->setCurrentCategory($category);
Expand Down
4 changes: 3 additions & 1 deletion lib/internal/Magento/Framework/View/Layout.php
Original file line number Diff line number Diff line change
Expand Up @@ -599,9 +599,11 @@ protected function _renderContainer($name, $useCache = true)
$htmlClass = ' class="' . $htmlClass . '"';
}

$htmlAttributes = $this->structure->getAttribute($name, Element::CONTAINER_OPT_HTML_ATTRIBUTES);

$htmlTag = $this->structure->getAttribute($name, Element::CONTAINER_OPT_HTML_TAG);

$html = sprintf('<%1$s%2$s%3$s>%4$s</%1$s>', $htmlTag, $htmlId, $htmlClass, $html);
$html = sprintf('<%1$s%2$s%3$s%4$s>%5$s</%1$s>', $htmlTag, $htmlId, $htmlClass, $htmlAttributes, $html);

return $html;
}
Expand Down
2 changes: 2 additions & 0 deletions lib/internal/Magento/Framework/View/Layout/Element.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ class Element extends \Magento\Framework\Simplexml\Element

const CONTAINER_OPT_HTML_ID = 'htmlId';

const CONTAINER_OPT_HTML_ATTRIBUTES = 'htmlAttributes';

const CONTAINER_OPT_LABEL = 'label';

/**#@-*/
Expand Down
12 changes: 7 additions & 5 deletions lib/internal/Magento/Framework/View/Layout/Reader/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ class Container implements Layout\ReaderInterface
const CONTAINER_OPT_HTML_TAG = 'htmlTag';
const CONTAINER_OPT_HTML_CLASS = 'htmlClass';
const CONTAINER_OPT_HTML_ID = 'htmlId';
const CONTAINER_OPT_HTML_ATTRIBUTES = 'htmlAttributes';
const CONTAINER_OPT_LABEL = 'label';
const CONTAINER_OPT_DISPLAY = 'display';
/**#@-*/
Expand Down Expand Up @@ -113,11 +114,12 @@ protected function mergeContainerAttributes(
}
} else {
$elementData['attributes'] = [
self::CONTAINER_OPT_HTML_TAG => (string)$currentElement[self::CONTAINER_OPT_HTML_TAG],
self::CONTAINER_OPT_HTML_ID => (string)$currentElement[self::CONTAINER_OPT_HTML_ID],
self::CONTAINER_OPT_HTML_CLASS => (string)$currentElement[self::CONTAINER_OPT_HTML_CLASS],
self::CONTAINER_OPT_LABEL => (string)$currentElement[self::CONTAINER_OPT_LABEL],
self::CONTAINER_OPT_DISPLAY => (string)$currentElement[self::CONTAINER_OPT_DISPLAY],
self::CONTAINER_OPT_HTML_TAG => (string)$currentElement[self::CONTAINER_OPT_HTML_TAG],
self::CONTAINER_OPT_HTML_ID => (string)$currentElement[self::CONTAINER_OPT_HTML_ID],
self::CONTAINER_OPT_HTML_CLASS => (string)$currentElement[self::CONTAINER_OPT_HTML_CLASS],
self::CONTAINER_OPT_HTML_ATTRIBUTES => (string)$currentElement[self::CONTAINER_OPT_HTML_ATTRIBUTES],
self::CONTAINER_OPT_LABEL => (string)$currentElement[self::CONTAINER_OPT_LABEL],
self::CONTAINER_OPT_DISPLAY => (string)$currentElement[self::CONTAINER_OPT_DISPLAY],
];
}
$scheduledStructure->setStructureElementData($containerName, $elementData);
Expand Down
8 changes: 8 additions & 0 deletions lib/internal/Magento/Framework/View/Layout/etc/elements.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,12 @@
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="htmlAttributesType">
<xs:restriction base="xs:string">
<xs:pattern value="[a-z][a-z\d\-_:=']*(\s[a-z][a-z\d\-_:=']*)*"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="htmlTagType">
<xs:restriction base="xs:string">
<xs:enumeration value="aside"/>
Expand Down Expand Up @@ -165,6 +171,7 @@
<xs:attribute type="htmlTagType" name="htmlTag"/>
<xs:attribute type="htmlClassType" name="htmlClass"/>
<xs:attribute type="htmlIdentifierType" name="htmlId"/>
<xs:attribute type="htmlAttributesType" name="htmlAttributes"/>
</xs:complexType>

<xs:complexType name="blockType" mixed="true">
Expand Down Expand Up @@ -329,6 +336,7 @@
<xs:attribute type="htmlTagType" name="htmlTag"/>
<xs:attribute type="htmlClassType" name="htmlClass"/>
<xs:attribute type="htmlIdentifierType" name="htmlId"/>
<xs:attribute type="htmlAttributesType" name="htmlAttributes"/>
<xs:attribute type="xs:string" name="label"/>
<xs:attribute type="xs:boolean" name="display" default="true" use="optional"/>
<xs:attribute type="xs:boolean" name="remove" use="optional"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,20 @@ public function processDataProvider()
],
'referenceContainer' => [
'elementCurrent' => $this->getElement(
'<referenceContainer name="reference" htmlTag="span" htmlId="id_add" htmlClass="new" label="Add"/>',
'<referenceContainer name="reference" htmlTag="span" htmlId="id_add" htmlClass="new"
htmlAttributes="attribute" label="Add"/>',
'referenceContainer'
),
'containerName' => 'reference',
'structureElement' => [],
'expectedData' => [
'attributes' => [
Container::CONTAINER_OPT_HTML_TAG => 'span',
Container::CONTAINER_OPT_HTML_ID => 'id_add',
Container::CONTAINER_OPT_HTML_CLASS => 'new',
Container::CONTAINER_OPT_LABEL => 'Add',
Container::CONTAINER_OPT_DISPLAY => null,
Container::CONTAINER_OPT_HTML_TAG => 'span',
Container::CONTAINER_OPT_HTML_ID => 'id_add',
Container::CONTAINER_OPT_HTML_CLASS => 'new',
Container::CONTAINER_OPT_HTML_ATTRIBUTES => 'attribute',
Container::CONTAINER_OPT_LABEL => 'Add',
Container::CONTAINER_OPT_DISPLAY => null,
],
],
'getStructureCondition' => $this->once(),
Expand All @@ -171,11 +173,12 @@ public function processDataProvider()
'structureElement' => [],
'expectedData' => [
'attributes' => [
Container::CONTAINER_OPT_HTML_TAG => null,
Container::CONTAINER_OPT_HTML_ID => null,
Container::CONTAINER_OPT_HTML_CLASS => null,
Container::CONTAINER_OPT_LABEL => null,
Container::CONTAINER_OPT_DISPLAY => null,
Container::CONTAINER_OPT_HTML_TAG => null,
Container::CONTAINER_OPT_HTML_ID => null,
Container::CONTAINER_OPT_HTML_CLASS => null,
Container::CONTAINER_OPT_HTML_ATTRIBUTES => null,
Container::CONTAINER_OPT_LABEL => null,
Container::CONTAINER_OPT_DISPLAY => null,
],
],
'getStructureCondition' => $this->once(),
Expand Down Expand Up @@ -208,19 +211,20 @@ public function processDataProvider()
],
'referenceContainerDisplayFalse' => [
'elementCurrent' => $this->getElement(
'<referenceContainer name="reference" htmlTag="span" htmlId="id_add" htmlClass="new" label="Add"'
. ' display="true"/>',
'<referenceContainer name="reference" htmlTag="span" htmlId="id_add" htmlClass="new"'
. ' htmlAttributes="attribute" label="Add" display="true"/>',
'referenceContainer'
),
'containerName' => 'reference',
'structureElement' => [],
'expectedData' => [
'attributes' => [
Container::CONTAINER_OPT_HTML_TAG => 'span',
Container::CONTAINER_OPT_HTML_ID => 'id_add',
Container::CONTAINER_OPT_HTML_CLASS => 'new',
Container::CONTAINER_OPT_LABEL => 'Add',
Container::CONTAINER_OPT_DISPLAY => 'true',
Container::CONTAINER_OPT_HTML_TAG => 'span',
Container::CONTAINER_OPT_HTML_ID => 'id_add',
Container::CONTAINER_OPT_HTML_CLASS => 'new',
Container::CONTAINER_OPT_HTML_ATTRIBUTES => 'attribute',
Container::CONTAINER_OPT_LABEL => 'Add',
Container::CONTAINER_OPT_DISPLAY => 'true',
],
],
'getStructureCondition' => $this->once(),
Expand Down
6 changes: 6 additions & 0 deletions lib/web/css/source/lib/_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@
// ---------------------------------------------

.lib-button-primary(
@_button-font-family: @button-primary__font-family,
@_button-font-size: @button-primary__font-size,
@_button-font-weight: @button-primary__font-weight,
@_button-line-height: @button-primary__line-height,
@_button-width: @button-primary__width,
@_button-margin: @button-primary__margin,
Expand All @@ -299,6 +302,9 @@
@_button-gradient-direction: @button-primary__gradient-direction
) {
.lib-button(
@_button-font-family: @_button-font-family,
@_button-font-size: @_button-font-size,
@_button-font-weight: @_button-font-weight,
@_button-line-height: @_button-line-height,
@_button-width: @_button-width,
@_button-margin: @_button-margin,
Expand Down
2 changes: 0 additions & 2 deletions lib/web/css/source/lib/_forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -465,11 +465,9 @@
.lib-css(margin, @_margin);
.lib-css(padding, @_padding);
letter-spacing: -.31em;
//word-spacing: -.43em;

> * {
letter-spacing: normal;
//word-spacing: normal;
}

> .legend {
Expand Down
3 changes: 3 additions & 0 deletions lib/web/css/source/lib/variables/_buttons.less
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
@button__active__gradient-color-end: false;

// Primary button
@button-primary__font-family: @button__font-family;
@button-primary__font-size: @button__font-size;
@button-primary__font-weight: @button__font-weight;
@button-primary__line-height: false;
@button-primary__width: false;
@button-primary__margin: false;
Expand Down