Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dynamically load available familyStyles (#51)
* families and styles in dropdown selects * capitalize Kit * halfway styling for putting family and styles in dropdowns * WIP: cleanup and generalize familyStyles * update familyStyles on initial kit metadata query * handle duotone custom icons * add fak and fakd to dropdowns when it's a kit * remove style filter and wire-up familyStyle dropdowns * remove obsolete code pertaining to hardcoded familyStyles and prefixes * fix pathData for iconUpload in test * WIP: compute familyStyle path segments from prefixes without hardcoding * remove obsolete test expectations * remove obsolete IconPrefix import * don't use watch after al * fix onKeyUp to only issue a new query with the query changes * change the defaultSearchResult to stop hardcoding pro familyStyles * dynamically build the defaultIcons query result to avoid harcoding pro familyStyles * handle duotone legacy form for familyStyle path segments * remove obsolete slots * rebuild auto-generated readmes * exclude custom icon familyStyles when building default icon search results * include kit and kit-duotone on family drop down only when present in the kit * format labels for drop down options * update handleQuery to take optional second arg for variables * for search input field, respond to onInput instead of onKeyUp * add selected attr to style drop down necessary to ensure that it re-renders when this.selectedFamily or this.selectedState changes * fix test * auto-formatting * update readmes from rebuild * update changelog * Update CHANGELOG to show new QueryHandler type signature * auto-formatting * Update CHANGELOG to mention duotone custom icons * update version and deps --------- Co-authored-by: Frances Botsford <[email protected]>
- Loading branch information