Skip to content

Commit

Permalink
Merge pull request #3 from padaliyajay/new-vendor
Browse files Browse the repository at this point in the history
Update vendors
  • Loading branch information
padaliyajay authored Mar 3, 2019
2 parents 3e6daa6 + f247647 commit bdb65cd
Show file tree
Hide file tree
Showing 9 changed files with 6,088 additions and 6,137 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
/nbproject/
/test/nbproject/private/
/test/nbproject/private/
/test/
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Jay Padaliya

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"require": {
"sabberworm/php-css-parser": "*"
},
"autoload":{
"psr-4": {"Padaliyajay\\PHPAutoprefixer\\": "src"}
}
"autoload":{
"psr-4": {"Padaliyajay\\PHPAutoprefixer\\": "src"}
}
}
6 changes: 5 additions & 1 deletion src/Vendor/IE.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@ class IE extends Vendor {
'flex-flow' => '-ms-flex-flow',
'flex-direction' => '-ms-flex-direction',
'flex-shrink' => '-ms-flex-negative',
'flow-from' => '-ms-flow-from',
'flow-into' => '-ms-flow-into',
'align-items' => '-ms-flex-align',
'align-content' => '-ms-flex-line-pack',
'align-self' => '-ms-flex-item-align',
'justify-content' => '-ms-flex-pack',
'order' => '-ms-flex-order',
'user-select' => '-ms-user-select',

'hyphens' => '-ms-hyphens',
'word-break' => '-ms-word-break',
);

protected static $RULE_VALUE = array(
'display' => array(
'flex' => '-ms-flexbox',
'inline-flex' => '-ms-inline-flexbox',
'grid' => '-ms-grid',
),
'-ms-flex-align' => array('flex-start' => 'start', 'flex-end' => 'end'),
'-ms-flex-line-pack' => array('flex-start' => 'start', 'flex-end' => 'end', 'space-between' => 'justify', 'space-around' => 'distribute'),
Expand Down
5 changes: 4 additions & 1 deletion src/Vendor/Mozilla.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ class Mozilla extends Vendor {
protected static $RULE_PROPERTY = array(
'column-count' => '-moz-column-count',
'column-gap' => '-moz-column-gap',
'column-rule' => '-moz-column-rule',
'user-select' => '-moz-user-select',
'appearance' => '-moz-appearance'
'appearance' => '-moz-appearance',
'font-feature-settings' => '-moz-font-feature-settings',
'hyphens' => '-moz-hyphens',

);

Expand Down
9 changes: 8 additions & 1 deletion src/Vendor/Webkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@

class Webkit extends Vendor {
protected static $RULE_PROPERTY = array(
'box-reflect' => '-webkit-box-reflect',
'column-count' => '-webkit-column-count',
'column-gap' => '-webkit-column-gap',
'column-rule' => '-webkit-column-rule',
'clip-path' => '-webkit-clip-path',
'user-select' => '-webkit-user-select',
'appearance' => '-webkit-appearance',
'animation' => '-webkit-animation',
Expand All @@ -16,7 +19,11 @@ class Webkit extends Vendor {
'perspective' => '-webkit-perspective',
'background-clip' => '-webkit-background-clip',
'filter' => '-webkit-filter',

'font-feature-settings' => '-webkit-font-feature-settings',
'flow-from' => '-webkit-flow-from',
'flow-into' => '-webkit-flow-into',
'hyphens' => '-webkit-hyphens',
'mask-image' => '-webkit-mask-image',
);

protected static $RULE_VALUE = array(
Expand Down
4 changes: 4 additions & 0 deletions test/composer.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,6 @@
{
"name": "hp/test",
"require": {
"padaliyajay/php-autoprefixer": "^1.0"
}
}
Loading

0 comments on commit bdb65cd

Please sign in to comment.