@ebay/ebayui-core
Advanced tools
Comparing version 2.0.0-2 to 2.0.0-3
@@ -11,3 +11,3 @@ 'use strict'; /** | ||
var replacement = context.createNodeForEl( | ||
el.tagName.replace(/^(ebay-[^-]+)-/, '$1:'), | ||
el.tagName.replace(/^(ebay-.*)\-(?=[^-]*$)/, '$1:'), | ||
el.getAttributes()); | ||
@@ -14,0 +14,0 @@ |
@@ -46,3 +46,3 @@ 'use strict';var markoWidgets = require('marko-widgets'); | ||
if (size === 'small' || size === 'medium' || size === 'large') { | ||
if (!isBadged && (size === 'small' || size === 'medium' || size === 'large')) { | ||
sizeClass = mainClass + '--' + size; | ||
@@ -67,3 +67,3 @@ } else if (!size && (fixedHeight || truncate)) { | ||
if (isExpandVariant && noText) { | ||
if (isIconVariant || isBadged || isExpandVariant && noText) { | ||
classes.push(mainClass + '--no-text'); | ||
@@ -76,2 +76,6 @@ } | ||
if (isBadged) { | ||
classes.push(mainClass + '--badged'); | ||
} | ||
return { | ||
@@ -78,0 +82,0 @@ htmlAttributes: processHtmlAttributes(input), |
@@ -24,3 +24,3 @@ # ebay-infotip | ||
`icon` | String | No | name of an `<ebay-icon>` to show for the icon button | ||
`location` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`pointer` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`style-top` | String | No | a style property for the CSS `top` rule | ||
@@ -27,0 +27,0 @@ `style-left` | String | No | a style property for the CSS `left` rule |
@@ -13,3 +13,2 @@ # ebay-pill | ||
--- | --- | --- | --- | ||
`priority` | String | No | "primary" / "secondary" (default) / "none" | ||
`href` | String | No | for link that looks like a button | ||
@@ -16,0 +15,0 @@ `disabled` | Boolean | No | |
@@ -29,3 +29,3 @@ # ebay-tooltip | ||
--- | --- | --- | --- | ||
`location` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`pointer` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`style-top` | String | No | a style property for the CSS `top` rule | ||
@@ -32,0 +32,0 @@ `style-left` | String | No | a style property for the CSS `left` rule |
@@ -32,3 +32,3 @@ # ebay-tourtip | ||
--- | --- | --- | --- | ||
`location` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`pointer` | String | No | options are `top-left`, `top`, `top-right`, `right`, `right-bottom`, `right-top`, `bottom-left`, `bottom-right`, `bottom`, `left`, `left-bottom`, `left-top` | ||
`style-top` | String | No | a style property for the CSS `top` rule | ||
@@ -35,0 +35,0 @@ `style-left` | String | No | a style property for the CSS `left` rule |
@@ -1,1 +0,1 @@ | ||
{"<ebay-badge>":{"renderer":"./dist/components/ebay-badge/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@number":"expression"},"<ebay-breadcrumb>":{"renderer":"./dist/components/ebay-breadcrumb/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@a11y-heading-text":"string","@a11y-heading-tag":"string","@hijax":"boolean","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string"}},"<ebay-breadcrumb-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-button>":{"renderer":"./dist/components/ebay-button/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@disabled":"boolean","@partially-disabled":"boolean","@href":"string","@priority":"string","@size":"size","@no-text":"boolean","@fluid":"boolean","@variant":"string","@fixed-height":"boolean","@truncate":"boolean","@badge-number":"expression","@badge-aria-label":"string"},"<ebay-carousel>":{"renderer":"./dist/components/ebay-carousel/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@index":"string","@type":"string","@slide":"string","@gap":"string","@autoplay":"boolean","@paused":"boolean","@no-dots":"boolean","@items-per-slide":"string","@a11y-previous-text":"string","@a11y-next-text":"string","@a11y-status-text":"string","@a11y-status-tag":"string","@a11y-current-text":"string","@a11y-other-text":"string","@a11y-play-text":"string","@a11y-pause-text":"string","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-carousel-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-checkbox>":{"renderer":"./dist/components/ebay-checkbox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-combobox>":{"renderer":"./dist/components/ebay-combobox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@name":"string","@grow":"boolean","@borderless":"boolean","@disabled":"boolean","@options <option>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@value":"string","@text":"string","@selected":"boolean"}},"<ebay-combobox-option>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-dialog>":{"renderer":"./dist/components/ebay-dialog/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@open":"boolean","@type":"string","@focus":"string","@a11y-close-text":"string"},"<ebay-icon>":{"renderer":"./dist/components/ebay-icon/index.js","transformer":"./dist/components/ebay-icon/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@name":"string","@a11y-text":"string","@no-skin-classes":"boolean","@_themes":"expression"},"<ebay-infotip>":{"renderer":"./dist/components/ebay-infotip/index.js","transformer":"./dist/components/ebay-infotip/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@icon":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@aria-label":"string","@a11y-close-text":"string","@iconTag <icon>":{},"@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@heading <heading>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-menu>":{"renderer":"./dist/components/ebay-menu/index.js","transformer":"./dist/components/ebay-menu/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@text":"string","@icon":"string","@a11y-text":"string","@no-toggle-icon":"boolean","@expanded":"boolean","@reverse":"boolean","@fix-width":"boolean","@borderless":"boolean","@size":"string","@priority":"string","@iconTag <icon>":{},"@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string","@type":"string","@checked":"boolean","@current":"boolean","@badge-number":"expression","@badge-aria-label":"string"}},"<ebay-menu-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-notice>":{"renderer":"./dist/components/ebay-notice/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@status":"string","@hidden":"boolean","@a11y-heading-text":"string","@a11y-heading-tag":"string","@a11y-close-text":"string","@dismissible":"boolean"},"<ebay-pagination>":{"renderer":"./dist/components/ebay-pagination/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@a11y-previous-text":"string","@a11y-next-text":"string","@a11y-current-text":"string","@hijax":"boolean","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@current":"boolean","@disabled":"boolean","@href":"string","@type":"string","@role":"string"}},"<ebay-pagination-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-pill>":{"renderer":"./dist/components/ebay-pill/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean","@href":"string","@priority":"string","@pressed":"boolean","@aria-selected-text":"string"},"<ebay-radio>":{"renderer":"./dist/components/ebay-radio/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-select>":{"renderer":"./dist/components/ebay-select/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@grow":"boolean","@borderless":"boolean","@disabled":"boolean","@options <option>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@value":"string","@text":"string","@selected":"boolean"}},"<ebay-select-option>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-switch>":{"renderer":"./dist/components/ebay-switch/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-tab>":{"renderer":"./dist/components/ebay-tab/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@index":"string","@fake":"boolean","@activation":"string","@headings <heading>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string"},"@panels <panel>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tab-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tab-panel>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-textbox>":{"transformer":"./dist/components/ebay-textbox/transformer.js","renderer":"./dist/components/ebay-textbox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@invalid":"boolean","@fluid":"boolean","@multiline":"boolean","@icon":"string","@icon-position":"string","@iconTag <icon>":{},"@floating-label":"string"},"<ebay-tooltip>":{"renderer":"./dist/components/ebay-tooltip/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@no-hover":"boolean","@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tooltip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tooltip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip>":{"renderer":"./dist/components/ebay-tourtip/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@heading <heading>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tourtip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"}} | ||
{"<ebay-badge>":{"renderer":"./dist/components/ebay-badge/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@number":"expression"},"<ebay-breadcrumb>":{"renderer":"./dist/components/ebay-breadcrumb/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@a11y-heading-text":"string","@a11y-heading-tag":"string","@hijax":"boolean","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string"}},"<ebay-breadcrumb-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-button>":{"renderer":"./dist/components/ebay-button/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@disabled":"boolean","@partially-disabled":"boolean","@href":"string","@priority":"string","@size":"size","@no-text":"boolean","@fluid":"boolean","@variant":"string","@fixed-height":"boolean","@truncate":"boolean","@badge-number":"expression","@badge-aria-label":"string"},"<ebay-carousel>":{"renderer":"./dist/components/ebay-carousel/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@index":"string","@type":"string","@slide":"string","@gap":"string","@autoplay":"boolean","@paused":"boolean","@no-dots":"boolean","@items-per-slide":"string","@a11y-previous-text":"string","@a11y-next-text":"string","@a11y-status-text":"string","@a11y-status-tag":"string","@a11y-current-text":"string","@a11y-other-text":"string","@a11y-play-text":"string","@a11y-pause-text":"string","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-carousel-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-checkbox>":{"renderer":"./dist/components/ebay-checkbox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-combobox-readonly>":{"renderer":"./dist/components/ebay-combobox-readonly/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@name":"string","@grow":"boolean","@borderless":"boolean","@disabled":"boolean","@options <option>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@value":"string","@text":"string","@selected":"boolean"}},"<ebay-combobox-readonly-option>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-dialog>":{"renderer":"./dist/components/ebay-dialog/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@open":"boolean","@type":"string","@focus":"string","@a11y-close-text":"string"},"<ebay-icon>":{"renderer":"./dist/components/ebay-icon/index.js","transformer":"./dist/components/ebay-icon/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@name":"string","@a11y-text":"string","@no-skin-classes":"boolean","@_themes":"expression"},"<ebay-infotip>":{"renderer":"./dist/components/ebay-infotip/index.js","transformer":"./dist/components/ebay-infotip/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@icon":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@aria-label":"string","@a11y-close-text":"string","@iconTag <icon>":{},"@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@heading <heading>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-listbox>":{"renderer":"./dist/components/ebay-listbox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@name":"string","@grow":"boolean","@borderless":"boolean","@disabled":"boolean","@options <option>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@value":"string","@text":"string","@selected":"boolean"}},"<ebay-listbox-option>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-menu>":{"renderer":"./dist/components/ebay-menu/index.js","transformer":"./dist/components/ebay-menu/transformer.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@text":"string","@icon":"string","@a11y-text":"string","@no-toggle-icon":"boolean","@expanded":"boolean","@reverse":"boolean","@fix-width":"boolean","@borderless":"boolean","@size":"string","@priority":"string","@iconTag <icon>":{},"@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string","@type":"string","@checked":"boolean","@current":"boolean","@badge-number":"expression","@badge-aria-label":"string"}},"<ebay-menu-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-notice>":{"renderer":"./dist/components/ebay-notice/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@type":"string","@status":"string","@hidden":"boolean","@a11y-heading-text":"string","@a11y-heading-tag":"string","@a11y-close-text":"string","@dismissible":"boolean"},"<ebay-pagination>":{"renderer":"./dist/components/ebay-pagination/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@a11y-previous-text":"string","@a11y-next-text":"string","@a11y-current-text":"string","@hijax":"boolean","@items <item>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@current":"boolean","@disabled":"boolean","@href":"string","@type":"string","@role":"string"}},"<ebay-pagination-item>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-pill>":{"renderer":"./dist/components/ebay-pill/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean","@href":"string","@priority":"string","@pressed":"boolean","@aria-selected-text":"string"},"<ebay-radio>":{"renderer":"./dist/components/ebay-radio/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-select>":{"renderer":"./dist/components/ebay-select/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@grow":"boolean","@borderless":"boolean","@disabled":"boolean","@options <option>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@value":"string","@text":"string","@selected":"boolean"}},"<ebay-select-option>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-switch>":{"renderer":"./dist/components/ebay-switch/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@disabled":"boolean"},"<ebay-tab>":{"renderer":"./dist/components/ebay-tab/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@index":"string","@fake":"boolean","@activation":"string","@headings <heading>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@href":"string"},"@panels <panel>[]":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tab-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tab-panel>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-textbox>":{"transformer":"./dist/components/ebay-textbox/transformer.js","renderer":"./dist/components/ebay-textbox/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@invalid":"boolean","@fluid":"boolean","@multiline":"boolean","@icon":"string","@icon-position":"string","@iconTag <icon>":{},"@floating-label":"string"},"<ebay-tooltip>":{"renderer":"./dist/components/ebay-tooltip/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@no-hover":"boolean","@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tooltip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tooltip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-infotip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip>":{"renderer":"./dist/components/ebay-tourtip/index.js","@*":"expression","@html-attributes":"expression","@class":"string","@style":"string","@pointer":"string","@style-top":"string","@style-left":"string","@style-right":"string","@style-bottom":"string","@host <host>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@heading <heading>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"},"@content <content>":{"@*":"expression","@html-attributes":"expression","@class":"string","@style":"string"}},"<ebay-tourtip-host>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip-heading>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"},"<ebay-tourtip-content>":{"transformer":"./dist/common/transformers/attribute-tags/index.js"}} |
{ | ||
"name": "@ebay/ebayui-core", | ||
"version": "2.0.0-2", | ||
"version": "2.0.0-3", | ||
"description": "Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps.", | ||
@@ -61,3 +61,3 @@ "scripts": { | ||
"@ebay/browserslist-config": "^1.0.0", | ||
"@ebay/skin": "7.0.0-5", | ||
"@ebay/skin": "^7.0.0-7", | ||
"@lasso/marko-taglib": "^1.0.9", | ||
@@ -69,9 +69,9 @@ "async": "^2.6.0", | ||
"browser-refresh": "^1.7.2", | ||
"chai": "^4.1.2", | ||
"chai": "^4.2.0", | ||
"cheerio": "^1.0.0-rc.2", | ||
"coveralls": "^3.0.1", | ||
"eslint": "^4.19.1", | ||
"eslint": "^5.13.0", | ||
"eslint-config-ebay": "^1.0.0", | ||
"eslint-plugin-compat": "^2.5.0", | ||
"eslint-plugin-import": "^2.12.0", | ||
"eslint-plugin-compat": "^2.6.3", | ||
"eslint-plugin-import": "^2.16.0", | ||
"eslint-plugin-mocha": "^5.0.0", | ||
@@ -81,3 +81,3 @@ "express": "^4.16.2", | ||
"is-travis": "^2.0.0", | ||
"karma": "^2.0.4", | ||
"karma": "^4.0.0", | ||
"karma-chai": "^0.1.0", | ||
@@ -91,3 +91,3 @@ "karma-chrome-launcher": "^2.2.0", | ||
"lasso-marko": "^2.4.2", | ||
"lintspaces-cli": "^0.6.0", | ||
"lintspaces-cli": "^0.7.0", | ||
"marko": "^3", | ||
@@ -99,13 +99,13 @@ "marko-cli": "^4.0.1", | ||
"mocha": "^5.1.1", | ||
"nyc": "^12.0.2", | ||
"opn-cli": "^3.1.0", | ||
"nyc": "^13.1.0", | ||
"opn-cli": "^4.0.0", | ||
"pre-push": "^0.1.1", | ||
"rimraf": "^2.6.2", | ||
"sinon": "^6.1.3", | ||
"stylelint": "^9.3.0", | ||
"supertest": "^3.0.0", | ||
"wdio-browserstack-service": "^0.1.16" | ||
"sinon": "^7.2.3", | ||
"stylelint": "^9.10.1", | ||
"supertest": "^3.4.2", | ||
"wdio-browserstack-service": "^0.1.18" | ||
}, | ||
"peerDependencies": { | ||
"@ebay/skin": "^7.0.0-5", | ||
"@ebay/skin": "^7.0.0-7", | ||
"marko": "^3 || ^4", | ||
@@ -117,9 +117,10 @@ "marko-widgets": "^6 || ^7" | ||
"lodash.set": "^4.3.2", | ||
"makeup-expander": "~0.6.0", | ||
"makeup-active-descendant": "~0.0.6", | ||
"makeup-expander": "~0.6.1", | ||
"makeup-floating-label": "~0.0.2", | ||
"makeup-focusables": "~0.0.3", | ||
"makeup-key-emitter": "~0.0.3", | ||
"makeup-keyboard-trap": "~0.1.0", | ||
"makeup-keyboard-trap": "~0.1.1", | ||
"makeup-prevent-scroll-keys": "~0.0.2", | ||
"makeup-roving-tabindex": "~0.0.5", | ||
"makeup-roving-tabindex": "~0.1.0", | ||
"makeup-screenreader-trap": "~0.0.5", | ||
@@ -126,0 +127,0 @@ "nodelist-foreach-polyfill": "^1.2.0" |
@@ -11,6 +11,18 @@ <p> | ||
> Collection of core eBay components; considered to be the building blocks for all composite structures, pages & apps. | ||
> Collection of Marko widgets; considered to be the core building blocks for all eBay components, pages & apps. | ||
The eBayUI components are Marko custom tags that follow the core principles of HTML. For example: | ||
## Requirements | ||
* [Node.js](https://nodejs.org/en/) | ||
* [Marko](https://markojs.com) (v3+) | ||
* [eBay Skin](https://ebay.github.io/skin/) (v6+) | ||
*Note:\ | ||
Marko v3 requires [Marko Widgets v6](https://github.com/marko-js/marko-widgets)\ | ||
Marko v4 requires [Marko Widgets v7](https://github.com/marko-js/marko-widgets/tree/v7)* | ||
## Principles | ||
The eBayUI components are <a href="https://markojs.com">Marko</a> custom tags that follow the core principles of HTML. For example: | ||
- Input attributes can only be of type String or Boolean | ||
@@ -22,13 +34,21 @@ - State can be manipulated directly from the DOM node | ||
### Requirements | ||
### Browser Policy | ||
* [Node.js](https://nodejs.org/en/) | ||
* [Marko](https://markojs.com) (v3+) | ||
* [eBay Skin](https://ebay.github.io/skin/) (v6+) | ||
All components are developed and tested cross-browser using [BrowserStack](https://www.browserstack.com/automate/public-build/TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0), in accordance with our official [eBay Browser Policy](https://github.com/eBay/browserslist-config). | ||
*Note:\ | ||
Marko v3 requires [Marko Widgets v6](https://github.com/marko-js/marko-widgets)\ | ||
Marko v4 requires [Marko Widgets v7](https://github.com/marko-js/marko-widgets/tree/v7)* | ||
<a alt='BrowserStack status' href="https://www.browserstack.com/automate/public-build/TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0"><img src='https://www.browserstack.com/automate/badge.svg?badge_key=TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0'/></a> | ||
### Components | ||
### Accessibility (A11Y) | ||
We take accessibility very seriously. Very seriously indeed. Therefore all components are built in accordance to the <a href="https://ebay.gitbooks.io/mindpatterns/content/">eBay MIND Patterns</a>. These patterns, in turn, build on from the specifications provided by the <a href="https://w3c.github.io/aria-practices/">WAI-ARIA Authoring Practices</a>. | ||
Components are built in a layered, progressively enhanced fashion, utilizing the following resources: | ||
* <a href="https://github.com/ianmcburnie/bones">Bones (HTML)</a> | ||
* <a href="https://github.com/eBay/skin">eBay Skin (CSS)</a> | ||
* <a href="https://github.com/makeup-js">MakeupJS (JavaScript)</a> | ||
Each layer does its bit to enforce and enhance accessibility. We consider this level of support to be one of our chief selling points, and we hope you do too! | ||
## Components | ||
* [`ebay-breadcrumb`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-breadcrumb) | ||
@@ -38,3 +58,3 @@ * [`ebay-button`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-button) | ||
* [`ebay-checkbox`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-checkbox) | ||
* [`ebay-combobox`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-combobox) | ||
<!-- * [`ebay-combobox-readonly`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-combobox-readonly) --> | ||
* [`ebay-dialog`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-dialog) | ||
@@ -152,8 +172,2 @@ * [`ebay-icon`](https://github.com/eBay/ebayui-core/tree/master/src/components/ebay-icon) | ||
## Browser Policy | ||
All components are developed and tested cross-browser using [BrowserStack](https://www.browserstack.com/automate/public-build/TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0), in accordance with our official [eBay Browser Policy](https://github.com/eBay/browserslist-config). | ||
<a alt='BrowserStack status' href="https://www.browserstack.com/automate/public-build/TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0"><img src='https://www.browserstack.com/automate/badge.svg?badge_key=TDJIdHBrVHFTRmdhQUVFZDNLMjlHa2NlbzVtV1JBQUQ4M2V6NWV2VklUMD0tLWp4TGg0WXM2MWRvczZRQXZDdnVPS1E9PQ==--d4c94a4abb28b6aa3bf5fd56068b01e77a0952a0'/></a> | ||
## Releases & Milestones | ||
@@ -160,0 +174,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
861
6712
207
953120
15
+ Addedcustom-event-polyfill@1.0.7(transitive)
+ Addedmakeup-active-descendant@0.0.7(transitive)
+ Addedmakeup-navigation-emitter@0.1.4(transitive)
+ Addedmakeup-roving-tabindex@0.1.3(transitive)
- Removedmakeup-navigation-emitter@0.0.6(transitive)
- Removedmakeup-roving-tabindex@0.0.5(transitive)
Updatedmakeup-expander@~0.6.1
Updatedmakeup-keyboard-trap@~0.1.1