-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Teradata/feat/husky
Feat/husky
- Loading branch information
Showing
23 changed files
with
1,248 additions
and
182 deletions.
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,28 @@ | ||
## Description | ||
|
||
<!-- Talk about the great work you've done! --> | ||
|
||
### What's included? | ||
|
||
<!-- List features included in this PR --> | ||
|
||
- One | ||
- Two | ||
- Three | ||
|
||
#### Test Steps | ||
|
||
<!-- Add instructions on how to test your changes --> | ||
|
||
- [ ] `npm run start` | ||
- [ ] then this | ||
- [ ] finally this | ||
|
||
#### General Tests for Every PR | ||
|
||
- [ ] `npm run start` still works. | ||
- [ ] `npm run lint` passes. | ||
- [ ] `npm test` passes and code coverage is not lower. | ||
- [ ] `npm run build` still works. | ||
|
||
##### Screenshots or link to StackBlitz/Plunker |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
npx --no -- commitlint --edit $1 |
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,4 +1,5 @@ | ||
# Add files here to ignore them from prettier formatting | ||
/dist | ||
/coverage | ||
/.nx/cache | ||
/.nx/cache | ||
/docs |
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 @@ | ||
module.exports = { extends: ['@commitlint/config-conventional'] }; |
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 |
---|---|---|
|
@@ -5,4 +5,4 @@ import './theme.css'; | |
|
||
addons.setConfig({ | ||
theme: tdTheme, | ||
}); | ||
}); |
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,2 +1,5 @@ | ||
<!-- Loads font awesome icons --> | ||
<script src="https://kit.fontawesome.com/17a35e44e3.js" crossorigin="anonymous"></script> | ||
<script | ||
src="https://kit.fontawesome.com/17a35e44e3.js" | ||
crossorigin="anonymous" | ||
></script> |
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 |
---|---|---|
|
@@ -17,7 +17,7 @@ const preview: Preview = { | |
}, | ||
}, | ||
|
||
tags: ['autodocs'] | ||
tags: ['autodocs'], | ||
}; | ||
|
||
export default preview; |
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,25 @@ | ||
/* Storybook theme overrides */ | ||
.sidebar-header { | ||
max-width: 213px; | ||
} | ||
#root > div > div[role='main'] > div { | ||
box-shadow: none; | ||
} | ||
max-width: 213px; | ||
} | ||
#root > div > div[role='main'] > div { | ||
box-shadow: none; | ||
} | ||
|
||
#root > div > div[role='main'] > div { | ||
border: 1px solid rgba(0, 0, 0, 0.12); | ||
} | ||
#root > div > div[role='main'] > div { | ||
border: 1px solid rgba(0, 0, 0, 0.12); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'], | ||
#storybook-explorer-tree .sidebar-item[data-selected='true'] svg { | ||
color: var(--cv-light-on-primary); | ||
} | ||
|
||
#storybook-explorer-tree .sidebar-item[data-selected='false'] svg { | ||
color: var(--cv-light-secondary); | ||
} | ||
#storybook-explorer-tree .sidebar-item[data-selected='false'] svg { | ||
color: var(--cv-light-secondary); | ||
} |
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
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
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
79 changes: 38 additions & 41 deletions
79
libs/react-components/src/lib/components/Breadcrumb/styles.module.scss
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,48 +1,45 @@ | ||
|
||
|
||
.breadcrumb { | ||
font-size: .75rem; | ||
line-height: 1rem; | ||
|
||
ul { | ||
list-style: none; | ||
display: inline; | ||
padding: 0; | ||
margin: 0; | ||
li { | ||
display: inline-flex; | ||
align-items: center; | ||
font-size: 0.75rem; | ||
line-height: 1rem; | ||
|
||
a { | ||
text-decoration: none; | ||
color: inherit; | ||
font-family: Inter; | ||
font-size: 12px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 20px; | ||
display: inline-flex; | ||
align-items: center; | ||
color: #00233c; | ||
transition: color 250ms; | ||
ul { | ||
list-style: none; | ||
display: inline; | ||
padding: 0; | ||
margin: 0; | ||
li { | ||
display: inline-flex; | ||
align-items: center; | ||
|
||
&:after { | ||
content: 'chevron_right'; | ||
font-family: 'Material Symbols Outlined'; | ||
margin:0 .25rem; | ||
color: var(--td-web-primary-navy); | ||
a { | ||
text-decoration: none; | ||
color: inherit; | ||
font-family: Inter; | ||
font-size: 12px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 20px; | ||
display: inline-flex; | ||
align-items: center; | ||
color: #00233c; | ||
transition: color 250ms; | ||
|
||
} | ||
&:hover { | ||
color: var(--cv-theme-tertiary); | ||
} | ||
} | ||
&:after { | ||
content: 'chevron_right'; | ||
font-family: 'Material Symbols Outlined'; | ||
margin: 0 0.25rem; | ||
color: var(--td-web-primary-navy); | ||
} | ||
&:hover { | ||
color: var(--cv-theme-tertiary); | ||
} | ||
} | ||
|
||
&:last-child a { | ||
&:after { | ||
display: none; | ||
} | ||
} | ||
&:last-child a { | ||
&:after { | ||
display: none; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
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
16 changes: 8 additions & 8 deletions
16
libs/react-components/src/lib/components/Feedback/styles.module.scss
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,12 +1,12 @@ | ||
.feedback { | ||
display: flex; | ||
min-height: 64px; | ||
padding: 0px 16px 0px 24px; | ||
align-items: center; | ||
border-radius: 12px; | ||
background-color: var(--cv-theme-surface-container-highest); | ||
display: flex; | ||
min-height: 64px; | ||
padding: 0px 16px 0px 24px; | ||
align-items: center; | ||
border-radius: 12px; | ||
background-color: var(--cv-theme-surface-container-highest); | ||
} | ||
|
||
.feedbackLabel { | ||
flex: 1; | ||
} | ||
flex: 1; | ||
} |
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.