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

Update for new Hyas setup #23

Merged
merged 3 commits into from
Apr 19, 2024
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "gethyas/images" }],
"commit": false,
"fixed": [],
"linked": [],
"access": "restricted",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": []
}
5 changes: 5 additions & 0 deletions .changeset/neat-mugs-travel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@hyas/images": minor
---

Update for new Hyas setup
11 changes: 0 additions & 11 deletions .editorconfig

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.env
node_modules
14 changes: 14 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
*.html
*.ico
*.png
*.jp*g
*.toml
*.*ignore
*.svg
*.xml
LICENSE
.npmrc
.gitkeep
*.woff*
*.json
flexsearch.js
19 changes: 19 additions & 0 deletions .prettierrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Default config
tabWidth: 4
endOfLine: crlf
singleQuote: true
printWidth: 100000
trailingComma: none
bracketSameLine: true
quoteProps: consistent
experimentalTernaries: true

# Overrided config
overrides:
- files: ["*.md", "*.json", "*.yaml"]
options:
tabWidth: 2
singleQuote: false
- files: ["*.scss"]
options:
singleQuote: false
7 changes: 7 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"editor.wordWrap": "off",
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"editor.tabSize": 2,
"editor.insertSpaces": true
}
133 changes: 0 additions & 133 deletions CHANGELOG.md

This file was deleted.

6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Hyas images

Official images integration for Hyas.

## Getting Started

See the Doks documentation:

- [Images](https://images.gethyas.com/docs/start-here/getting-started/)
27 changes: 14 additions & 13 deletions assets/scss/components/_images.scss
Original file line number Diff line number Diff line change
@@ -1,32 +1,33 @@
img {
max-width: 100%;
height: auto;
max-width: 100%;
height: auto;
}

img[data-sizes="auto"] {
display: block;
display: block;
}

img, picture {
font-size: 0;
img,
picture {
font-size: 0;
}

figcaption {
font-size: 1rem;
margin-top: 0.5rem;
font-style: italic;
font-size: 1rem;
margin-top: 0.5rem;
font-style: italic;
}

.content .gitpod-mark-monochrome.icon {
margin-bottom: 0.125rem;
margin-right: 0.5rem;
margin-bottom: 0.125rem;
margin-right: 0.5rem;
}

.blur-up {
filter: blur(5px);
transition: filter 400ms;
filter: blur(5px);
transition: filter 400ms;
}

.blur-up.lazyloaded {
filter: unset;
filter: unset;
}
Loading