-
Notifications
You must be signed in to change notification settings - Fork 1
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
Release v10.7.0 #243
Merged
Merged
Release v10.7.0 #243
Changes from 24 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8ac3b5a
security(dependencies): add deepfactor and move svelte, sass and mate…
hobbitronics b57038d
move more to dependencies and remove unused deps
hobbitronics 12ab248
move @storybook/svelte to dependencies
hobbitronics 9bd23b0
Revert "move @storybook/svelte to dependencies"
hobbitronics a8c2dbd
move storybook and sass back to devDependencies
hobbitronics f9e1984
remove ,
hobbitronics c973f25
fix(dependencies): remove sass from peerDependencies
hobbitronics 73797c8
update readme
hobbitronics 7ad66fc
deepfactor (#237)
hobbitronics 1a09f46
build(deps-dev): bump semver from 5.7.1 to 5.7.2
dependabot[bot] 9978471
Merge branch 'develop' into feature/remove-sass-from-peerDeps
hobbitronics 007dc46
Merge pull request #239 from silinternational/dependabot/npm_and_yarn…
hobbitronics 28534f5
build(deps-dev): bump browserify-sign from 4.2.1 to 4.2.2
dependabot[bot] 4b9d552
Merge branch 'develop' into feature/remove-sass-from-peerDeps
hobbitronics a0d1df9
Merge pull request #238 from silinternational/feature/remove-sass-fro…
hobbitronics ba8cfb5
Merge pull request #234 from silinternational/dependabot/npm_and_yarn…
hobbitronics 91bc726
Use `npm audit fix` to fix some vulnerable dependency issues
forevermatt c7f80d7
Merge pull request #240 from silinternational/feature/fix-some-depend…
forevermatt 4f9e0ea
add(Checkbox): add inputID as prop to Checkbox
hobbitronics 300d10e
replace alert with Snackbar
hobbitronics 0273664
Merge pull request #241 from silinternational/feature/add-inputID
hobbitronics 1cbdaba
feat(StaticChip): add height prop, improve defaults styles, width exp…
hobbitronics 1b30767
set margin and border radius in chip
hobbitronics 3762cdf
Merge pull request #242 from silinternational/feature/improve-StaticChip
hobbitronics cfb0ac4
fix typo
hobbitronics 6afb72e
alphabetize
hobbitronics File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: deepfactor-scan | ||
on: | ||
push: | ||
branches: [ main, develop, feature/deepfactor ] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: | ||
image: public.ecr.aws/deepfactor/df/runtime:3.3.3-2346 | ||
env: | ||
DF_RUN_TOKEN: ${{ secrets.DF_RUN_TOKEN }} | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Scan with Deepfactor | ||
run: dfctl scan -s fs -a ${{ github.event.repository.name }} -c ${{ github.event.repository.name }} -V ${{ github.ref_name }} . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ Reusable Svelte components for some internal applications | |
|
||
## installation | ||
|
||
To install to your Svelte project, open your project's root directory in a terminal. Type or paste `npm i -D @silintl/ui-components` and press enter. Sass and-material-components web are required to develop additional material web components in your app, but it may depend on your version of npm if they are necessary even if you don't (I haven't figured out which versions require them). Paste in `npm i -D [email protected] material-components-web@14.0.0` and hit enter (versions will vary if you use an older release of this repo). You should already have svelte@3 installed if you are using this library. | ||
To install to your Svelte project, open your project's root directory in a terminal. Type or paste `npm i -D @silintl/ui-components` and press enter. Sass (depending on your bundler and plugins) and material-components-web are required to develop additional material web components in your app, but it may depend on your version of npm if they are necessary even if you don't (I haven't figured out which versions require them). Enter the commands `material-components-web@14` and `npm i -D sass@1` (versions will vary if you use an older release of this library). You should already have svelte@3 installed if you are using this library. | ||
|
||
If you are using typescript you will need to run `npm i -D tslib` to avoid a material-components-web type error. This will already be installed if you have set up SvelteKit with typescript using `npm create svelte@latest app-name`. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,31 @@ | ||
<script> | ||
/** @type {string} the background color of the chip */ | ||
export let bgColor = '#e5e5e5' | ||
/** @type {string} sets the height of the component not including margin*/ | ||
export let height = '36px' | ||
</script> | ||
|
||
<style> | ||
.chip { | ||
background-color: var(--theme-color); | ||
height: 36px; | ||
height: var(--theme-height); | ||
display: inline-flex; | ||
margin: 0 2rem 1rem 0; | ||
border-radius: 16px; | ||
} | ||
|
||
.chip-content { | ||
display: flex; | ||
padding-left: 12px; | ||
padding-right: 12px; | ||
vertical-align: middle; | ||
align-items: center; | ||
font-size: 14px; | ||
} | ||
</style> | ||
|
||
<div | ||
class="mdc-typography chip black flex justify-center align-items-center mb-1 mr-2 fs-14 br-16px {$$props.class || ''}" | ||
style="--theme-color: {bgColor}" | ||
> | ||
<div class="chip-content flex align-items-center"> | ||
<div class="mdc-typography chip {$$props.class || ''}" style="--theme-color: {bgColor}; --theme-height: {height}"> | ||
<div class="chip-content"> | ||
<slot /> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Is
material-components-web@14
really a command?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.
Just a typo, thanks