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

feat(image): allow component to render svg string #692

Merged
merged 2 commits into from
Jan 30, 2022
Merged

Conversation

unix
Copy link
Member

@unix unix commented Jan 30, 2022

Checklist

  • Fix linting errors
  • Tests have been added / updated (or snapshots)

Change information

close #646

@codecov
Copy link

codecov bot commented Jan 30, 2022

Codecov Report

Merging #692 (1906c1e) into rc (a32f585) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##               rc     #692   +/-   ##
=======================================
  Coverage   99.83%   99.83%           
=======================================
  Files         194      195    +1     
  Lines        2955     2961    +6     
  Branches      677      678    +1     
=======================================
+ Hits         2950     2956    +6     
  Misses          5        5           
Impacted Files Coverage Δ
components/image/image-browser.tsx 100.00% <ø> (ø)
components/image/helpers.ts 100.00% <100.00%> (ø)
components/image/image.tsx 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a32f585...1906c1e. Read the comment docs.

@unix unix linked an issue Jan 30, 2022 that may be closed by this pull request
2 tasks
@unix unix merged commit 0f126e9 into geist-org:rc Jan 30, 2022
@unix unix deleted the feat/image branch January 30, 2022 09:06
unix added a commit that referenced this pull request Feb 5, 2022
* feat(button-dropdown): add icon config (#630)

* feature Update tabs-item.tsx (#658)

* feat(tabs): display hover effect by styles

Add highlight on Tabs component #653

* feat: redesign the render mode for tabs-item

* test(tabs): update snapshots for styles changes

* docs(tabs): append leftSpace attribute

Co-authored-by: nikhilgupta58 <nikhil@tartanhq.com>
Co-authored-by: unix <unix.bio@gmail.com>

* feat: add scale to password component (#685)

* feat: add scale to password component

* chore: update lib name for geist icons

* fix(tabs): fix type of left-space to match component input (#686)

* fix(tabs): fix type of left-space to match component input

* docs: improve header styles to follow tabs component

* feat(page): add props to control the style of dot (#687)

* docs: remove customization tab (#688)

* feat(image): allow component to render svg string (#692)

* feat(image): allow component to render svg string

* docs(image): update the image content of examples

* feat: export use-scale hooks (#693)

* chore: rename scaleable to scale

* docs: separate hooks as a tab to display more information

* docs: update document content to match the hooks section

* docs: refactor the component structure of the documentation site

* docs: skip title format when on hooks page

* fix(tabs): fix sub-components ignore theme changes (#694)

* docs: fix the layout of the document site (#695)

* feat(tabs): display highlight on tabs when mouse-in (#696)

* feat(use-classes): add tool to handle class name strings

* feat(highlight): add component follows the position of the current component

* feat(tabs): display highlight on tabs when mouse-in

* docs(tabs): append props

* test: fix paths for testcase

* fix(styles): optimize font-size for code block (#697)

* feat(code): add props for title text and optimize the styles (#698)

* feat(code): add props for title text and optimize the styles

* docs: extract the code block used for documentation into the components

* docs: redesign documentation styles (#699)

* docs: redesign documentation styles

* docs: remove underline from home tab

* fix(tabs): fix class names be accidentally add to all children

* docs: customize separate styles for instalation page (#700)

* chore: release v2.3.0-rc.0 (#701)

* fix: export use-scale hook and types in the entry

* fix(links): keep links consistent across typography (#703)

* fix(links): keep links consistent across typography

* docs: update hybrid-link to follow the geist component

* feat(button): slightly reduce the default width (#704)

* refactor: remove unnecessary filter for scale props (#705)

* docs: optimize the determination and rendering of relative url (#706)

* docs: fix tabs layout of install page (#707)

* feat(toast): redesign hooks to compatible with placement and styles (#708)

* feat(toast): redesign hooks to compatible with placement and styles

* docs: update APIs of Toast component

* feat(toast): slightly resize the action buttons to fit the overall layout

* fix(toast): restore the timer after remove the element from the stack top

* feat: remove the extra spaces in class-name (#709)

* feat: remove the extra spaces in class-name

* feat(button-dropdown): adjust the minimum width to follow the button component

* docs: add min font-size for documents that use the scale

* feat(tabs): allow to hide the border when tab is activated (#710)

* feat(tabs): allow to hide the border when tab is activated

* docs: remove style overrides from document sites for tabs

* docs: connect hooks with the component example page

* docs: add documentation for use-classes

* chore: release v2.3.0-rc.1 (#711)

* docs: add global search and text indexing (#712)

* feat(highlight): allow highlighting blocks to move laterally

* chore: add additional types for layout utils

* fix(keyboard): fix the ignore to trigger multiple keys at the same time

* docs: add global search and text indexing

* test: update snapshots

* docs: search with local data instead of algolia

* build(package): normalize the names of all commands

* chore: remove now-build

* chore: release v2.3.0 (#714)

* chore: release v2.3.0

* chore: resolve unexpected ring dependencies

Co-authored-by: Songhn <songhn233@gmail.com>
Co-authored-by: Nikhil kumar gupta <36965562+nikhilgupta58@users.noreply.github.com>
Co-authored-by: nikhilgupta58 <nikhil@tartanhq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SVG support in Image
1 participant