Skip to content
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

Updates old references to clay, now called clay-css #844

Merged
merged 5 commits into from
Apr 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.soy.js
*.soy.js
clay-css
4 changes: 2 additions & 2 deletions packages/clay-alert/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo: Alert</title>

<link rel="stylesheet" href="../../../node_modules/clay/lib/css/atlas.css">
<link rel="stylesheet" href="../../../node_modules/clay-css/lib/css/atlas.css">

<script src="../build/globals/clay-alert.js"></script>

Expand Down Expand Up @@ -146,7 +146,7 @@ <h4>Auto Closeable Toast Alerts (Destroyed on dismiss)</h4>
</div>

<script type="text/javascript">
let spritemap = '../../../node_modules/clay/lib/images/icons/icons.svg';
let spritemap = '../../../node_modules/clay-css/lib/images/icons/icons.svg';

/*
* Regular Alerts
Expand Down
4 changes: 2 additions & 2 deletions packages/clay-alert/demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo: Alert</title>

<link rel="stylesheet" href="../../../node_modules/clay/lib/css/atlas.css">
<link rel="stylesheet" href="../../../node_modules/clay-css/lib/css/atlas.css">

<script src="../build/globals/clay-alert.js"></script>

Expand Down Expand Up @@ -146,7 +146,7 @@ <h4>Auto Closeable Toast Alerts (Destroyed on dismiss)</h4>
</div>

<script type="text/javascript">
let spritemap = '../../../node_modules/clay/lib/images/icons/icons.svg';
let spritemap = '../../../node_modules/clay-css/lib/images/icons/icons.svg';

/*
* Regular Alerts
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"babel-plugin-transform-node-env-inline": "^0.1.1",
"babel-preset-env": "^1.6.0",
"browserslist-config-clay-components": "^2.0.0-rc.10",
"clay": "^2.0.0-rc.11",
"clay-css": "^2.0.0-rc.11",
"metal-tools-soy": "^6.0.0",
"webpack": "^3.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-alert/src/__tests__/ClayAlert.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ClayAlert from '../ClayAlert';

let consoleErrorReference;
let alert;
const spritemap = '../node_modules/clay/lib/images/icons/icons.svg';
const spritemap = '../node_modules/clay-css/lib/images/icons/icons.svg';

/**
* Stubs console.error
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-alert/src/__tests__/ClayStripe.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ClayStripe from '../ClayStripe';

let consoleErrorReference;
let stripe;
const spritemap = '../node_modules/clay/lib/images/icons/icons.svg';
const spritemap = '../node_modules/clay-css/lib/images/icons/icons.svg';

/**
* Stubs console.error
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-alert/src/__tests__/ClayToast.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import ClayToast from '../ClayToast';

let consoleErrorReference;
let toast;
const spritemap = '../node_modules/clay/lib/images/icons/icons.svg';
const spritemap = '../node_modules/clay-css/lib/images/icons/icons.svg';

/**
* Stubs console.error
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exports[`ClayAlert should render a "danger" style alert 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-exclamation-full" focusable="false">
<title>exclamation-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#exclamation-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#exclamation-full"></use>
</svg>
</span>
<strong class="lead">Danger!</strong>message</div>
Expand All @@ -16,7 +16,7 @@ exports[`ClayAlert should render a "success" style alert 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-check-circle-full" focusable="false">
<title>check-circle-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#check-circle-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#check-circle-full"></use>
</svg>
</span>
<strong class="lead">Success!</strong>message</div>
Expand All @@ -27,7 +27,7 @@ exports[`ClayAlert should render a "warning" style alert 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-warning-full" focusable="false">
<title>warning-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#warning-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#warning-full"></use>
</svg>
</span>
<strong class="lead">Warning!</strong>message</div>
Expand All @@ -38,13 +38,13 @@ exports[`ClayAlert should render a closeable alert 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-warning-full" focusable="false">
<title>warning-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#warning-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#warning-full"></use>
</svg>
</span>
<strong class="lead">Warning!</strong>message</div>
Expand All @@ -55,7 +55,7 @@ exports[`ClayAlert should render an "info" style alert 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">Info</strong>message</div>
Expand All @@ -66,7 +66,7 @@ exports[`ClayAlert should render an alert with classes 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -77,7 +77,7 @@ exports[`ClayAlert should render an alert with id 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -88,7 +88,7 @@ exports[`ClayAlert should render default markup 1`] = `
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand Down
28 changes: 14 additions & 14 deletions packages/clay-alert/src/__tests__/__snapshots__/ClayStripe.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ exports[`ClayStripe should render a "danger" style stripe 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-exclamation-full" focusable="false">
<title>exclamation-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#exclamation-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#exclamation-full"></use>
</svg>
</span>
<strong class="lead">Danger!</strong>message</div>
Expand All @@ -25,13 +25,13 @@ exports[`ClayStripe should render a "success" style stripe 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-check-circle-full" focusable="false">
<title>check-circle-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#check-circle-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#check-circle-full"></use>
</svg>
</span>
<strong class="lead">Success!</strong>message</div>
Expand All @@ -44,13 +44,13 @@ exports[`ClayStripe should render a "warning" style stripe 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-warning-full" focusable="false">
<title>warning-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#warning-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#warning-full"></use>
</svg>
</span>
<strong class="lead">Warning!</strong>message</div>
Expand All @@ -63,13 +63,13 @@ exports[`ClayStripe should render an "info" style stripe 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">Info</strong>message</div>
Expand All @@ -82,13 +82,13 @@ exports[`ClayStripe should render an stripe with classes 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -101,13 +101,13 @@ exports[`ClayStripe should render an stripe with id 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -120,13 +120,13 @@ exports[`ClayStripe should render default markup 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand Down
28 changes: 14 additions & 14 deletions packages/clay-alert/src/__tests__/__snapshots__/ClayToast.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ exports[`ClayToast should render a "danger" style toast 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-exclamation-full" focusable="false">
<title>exclamation-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#exclamation-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#exclamation-full"></use>
</svg>
</span>
<strong class="lead">Danger!</strong>message</div>
Expand All @@ -22,13 +22,13 @@ exports[`ClayToast should render a "success" style toast 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-check-circle-full" focusable="false">
<title>check-circle-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#check-circle-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#check-circle-full"></use>
</svg>
</span>
<strong class="lead">Success!</strong>message</div>
Expand All @@ -39,13 +39,13 @@ exports[`ClayToast should render a "warning" style toast 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-warning-full" focusable="false">
<title>warning-full</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#warning-full"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#warning-full"></use>
</svg>
</span>
<strong class="lead">Warning!</strong>message</div>
Expand All @@ -56,13 +56,13 @@ exports[`ClayToast should render an "info" style toast 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">Info</strong>message</div>
Expand All @@ -73,13 +73,13 @@ exports[`ClayToast should render an toast with classes 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -90,13 +90,13 @@ exports[`ClayToast should render an toast with id 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand All @@ -107,13 +107,13 @@ exports[`ClayToast should render default markup 1`] = `
<button class="btn close btn-unstyled" aria-label="Close" type="button">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-times" focusable="false">
<title>times</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#times"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#times"></use>
</svg>
</button>
<span class="alert-indicator">
<svg aria-hidden="true" class="lexicon-icon lexicon-icon-info-circle" focusable="false">
<title>info-circle</title>
<use xlink:href="../node_modules/clay/lib/images/icons/icons.svg#info-circle"></use>
<use xlink:href="../node_modules/clay-css/lib/images/icons/icons.svg#info-circle"></use>
</svg>
</span>
<strong class="lead">info</strong>message</div>
Expand Down
2 changes: 1 addition & 1 deletion packages/clay-badge/demos/a11y.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Demo: ClayBadge</title>

<link rel="stylesheet" href="../../../node_modules/clay/lib/css/atlas.css">
<link rel="stylesheet" href="../../../node_modules/clay-css/lib/css/atlas.css">

<script src="../build/globals/clay-badge.js"></script>

Expand Down
Loading