-
Notifications
You must be signed in to change notification settings - Fork 208
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
[#225] Add sp-search
#235
[#225] Add sp-search
#235
Conversation
01d90f9
to
dcf7767
Compare
@@ -7,7 +7,7 @@ export const ComponentApiDocs = new Map<string, TemplateResult>(); | |||
|
|||
for (const key of componentApiDocs.keys()) { | |||
const componentName = /([a-zA-Z-]+)\.html$/.exec(key)![1]; | |||
const templateString = toHtmlTemplateString(componentApiDocs(key)); | |||
const templateString = toHtmlTemplateString(componentApiDocs(key).default); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure when this broke, but without it we get [object Module]
instead of API docs...
@@ -9,6 +9,9 @@ for (const key of componentDocs.keys()) { | |||
if (!/node_modules/.test(key)) { | |||
let componentName = key.split('/')[1]; | |||
const fileName = /([a-zA-Z-]+)\.md$/.exec(key)![0]; | |||
if (fileName === 'CHANGELOG.md') { | |||
continue; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We now get automatic CHANGELOG.md
generation, and they shouldn't be added to the docs site.
@@ -53,5 +53,250 @@ module.exports = { | |||
}, | |||
], | |||
}, | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The following adds all of the UIIcon CSS to the icon package.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good! nice to see get all these icons in here. just one minor thing:
}} | ||
></sp-search> | ||
<sp-search disabled></sp-search> | ||
` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be possible to also get the quiet version in storybook?
const applyDefault = this.dispatchEvent( | ||
new Event('submit', { | ||
cancelable: true, | ||
bubbles: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
[#156] Add UIIcons styling from Spectrum CSS
Merged down into the branch, so it wants another review to "be sure..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Description
Add the
sp-search
element.To-do:
form
search
eventUIIcon
styles available in the system #156 in this PR or separately.master
Related Issue
Fixes #225
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: