-
Notifications
You must be signed in to change notification settings - Fork 21
PROD-1024 textarea - PLAT-895_create-intake #65
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
Merged
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
472fc13
PLAT-536 #comment add logout #time 15m
brooketopcoder 2ca5f17
PLAt-536 #comment fix link hover #time 5m
brooketopcoder 80d4bbe
PLAT-536 #comment fix logo size #time 15m
brooketopcoder c981053
PLAT-764 #comment convert svgs to components and
brooketopcoder 43c3b70
PLAT-764 #comment remove styling from SVGs;
brooketopcoder 29b1ee5
PLAT-764 #comment refactor narrow tool selectors
brooketopcoder d14ae22
PLAT-764 #comment rename svgs folder #time 5m
brooketopcoder 0aa2bbe
PLAT-764 #comment clean up styles and svgs; #time 30m
brooketopcoder 25087d1
PLAT-764 #comment clean-up #time 5m
brooketopcoder a19de5c
PALT-764 #comment clean-up #time 5m
brooketopcoder 5485f05
PLAT-764 #comment clean-up #time 5m
brooketopcoder dd5275e
PLAT-764 #comment clean-up #time 5m
brooketopcoder ecf205e
PLAT-764 #comment clean-upo #time 5m
brooketopcoder ce7209a
Merge branch 'master' into PLAT-754_tools-config
brooketopcoder 6e902ec
PLAT-754 #comment convert url configs to constants;
brooketopcoder 83d24b8
PLAT-754 #comment create and use route
brooketopcoder efd8e51
PLAT-745 #comment add child routes;
brooketopcoder f257056
PLAT-754 #comment configure sections in content
brooketopcoder 38ceed9
PLAT-754 #comment replace route config
brooketopcoder 0047be9
PLAT-754 #comment hide sections for tools
brooketopcoder 9c467d3
PLAT-754 #comment fix styling for expanded
brooketopcoder 6b00439
PLAT-754 #comment route provider cleanup #time 1h
brooketopcoder bdf45cf
PLAT-754 #comment tools narrow clean-up; #time 30m
brooketopcoder 4420617
PLAT-764 #comment clean-up #time 5m
brooketopcoder a7df686
PLAT-7584 #comment clean-up #time 10m
brooketopcoder 9478eff
POLAT-754 #comment clean-up #time 5m
brooketopcoder 37928c7
PLAT-754 #comment clean-up #time 5m
brooketopcoder 784461e
PLAT-754 #comment clean-up #time 5m
brooketopcoder 9d161e8
Merge branch 'master' into PLAT-754_tools-config
brooketopcoder 8011b5c
PLAT-754 #comment update readme #time 10m
brooketopcoder 3070fc5
Merge branch 'master' into PLAT-754_tools-config
brooketopcoder 9da630d
Merge branch 'master' into PLAT-754_tools-config
brooketopcoder fbf5296
PLAT-754 #comment fix build issues #time 10m
brooketopcoder 74f84ba
PLAT-754 #comment clean-up #time 5m
brooketopcoder e5f1fc0
Merge branch 'master' into PLAT-754_tools-config
brooketopcoder ddad763
PLAT-754 #comment remove commented out tests #time 5m
brooketopcoder 0687f21
PLAT-802 #comment create profile util;
brooketopcoder 9d38a6c
PLAT-825 #comment fix profile styling;
brooketopcoder 20411b1
Merge branch 'PLAT-802_profile-util' into PLAT-825_form-text-fields
brooketopcoder 6373d82
PLAT-825 #comment consolidate font styles; #time 1h
brooketopcoder 3beac2d
PLAT-828 #comment create button component;
brooketopcoder 9d0dc29
PLAT-825 Form Text Fields & Profile - PLAT-802_profile-util (#46)
brooketopcoder 63b1c87
PLAT-828 #comment use axios for xhr;
brooketopcoder 353f0d4
PLAT-828 #comment rename all services to
brooketopcoder 2738b0e
PLAT-828 #comment add update password functions
brooketopcoder 40f51dd
Merge branch 'PLAT-802_profile-util' into PLAT-828_profile-api
brooketopcoder a5288a7
PLAT-828 #comment clean-up #time 5m
brooketopcoder da90fd6
PLAT-828 #comment clean-up #time 10m
brooketopcoder 322f729
PLAT-828 #comment use v3 api for pw change
brooketopcoder 3d1e645
PLAT-828 profile api to PLAT-802_profile-util (#50)
brooketopcoder 29b6408
Merge branch 'PLAT-802_profile-util' into PLAT-826_validation
brooketopcoder cd5d848
PLAT-826 #comment reset pw fields upon submission
brooketopcoder 07a211a
PLAT-826 #comment permit buttons
brooketopcoder dce60af
PLAT-826 #comment support for fields
brooketopcoder 4e36e0a
PLAT-826 #comment clean-up #time 10m
brooketopcoder 71a7cec
PLAT-826 #comment clean-up #time 5m
brooketopcoder 7282b63
PLAT-826 #comment fix eslint rules #time 25m
brooketopcoder 1814110
PLAT-895 #comment convert tool tool to work intake
brooketopcoder 1ca1bec
PROD-265 #comment Merge branch 'PROD-265_work-intake' into PROD-500_c…
brooketopcoder fb5a995
PROD-500 #comment clean-up #time 10m
brooketopcoder 8be91d5
PROD-500 #comment rename profileContext
brooketopcoder 84f068f
PROD-500 #comment clean up error handling; #time 10m
brooketopcoder 9dc2fcb
PROD-500 #comment create work intake form;
brooketopcoder 4bd77ec
PROD-500 #comment rename routecontext #time 5m
brooketopcoder 105c887
PROD-500 #comment clean-up #time 10m
brooketopcoder 7722e6f
PROD-500 #comment remove ordering;
brooketopcoder ceb93fc
PROD-1024 #comment fix form element naming #tme 5m
brooketopcoder 2428532
PROD-500 #comment textarea #time 30m
brooketopcoder 36e2403
Merge branch 'PROD-265_work-intake' into PROD-1024_textarea
brooketopcoder a3f0bbb
PROD-1024 #comment clean up after merge #time 15m
brooketopcoder 8d56e48
PROD-1024 #comment fix lint issues #time 5m
brooketopcoder 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 hidden or 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 hidden or 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,6 +1,10 @@ | ||
| export { default as Button } from './Button' | ||
| export type { | ||
| ButtonSize, | ||
| ButtonStyle, | ||
| ButtonType | ||
| } from './Button' | ||
| export | ||
| // tslint:disable-next-line: no-unused-expression | ||
| type { ButtonSize } from './Button' | ||
| export | ||
| // tslint:disable-next-line: no-unused-expression | ||
| type { ButtonStyle } from './Button' | ||
| export | ||
| // tslint:disable-next-line: no-unused-expression | ||
| type { ButtonType } from './Button' |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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
File renamed without changes.
6 changes: 4 additions & 2 deletions
6
...form-field-wrapper/Form-Field-Wrapper.tsx → ...t/form-field-wrapper/FormFieldWrapper.tsx
This file contains hidden or 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 hidden or 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,2 @@ | ||
| export { default as FormFieldWrapper } from './FormFieldWrapper' | ||
| export { optionalHint as inputOptionalHint } from './FormFieldWrapper' |
This file contains hidden or 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,3 @@ | ||
| export { inputOptionalHint } from './form-field-wrapper' | ||
| export * from './input-text' | ||
| export * from './input-textarea' |
2 changes: 1 addition & 1 deletion
2
...ib/form/text-input/Text-Input.module.scss → ...rm-input/input-text/InputText.module.scss
This file contains hidden or 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,4 @@ | ||
| @import '../../styles'; | ||
| @import '../../../styles'; | ||
|
|
||
| .form-input-text { | ||
| @extend .body-small; | ||
|
|
||
This file contains hidden or 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,6 @@ | ||
| import '@testing-library/jest-dom' | ||
|
|
||
| describe('<InputText /> ', () => { | ||
|
|
||
| test('it should display the InputText', () => { }) | ||
| }) |
This file contains hidden or 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 hidden or 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,3 @@ | ||
| export { | ||
| default as InputText, | ||
| } from './InputText' |
12 changes: 12 additions & 0 deletions
12
src/lib/form/form-input/input-textarea/InputTextarea.module.scss
This file contains hidden or 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,12 @@ | ||
| @import '../../../styles'; | ||
|
|
||
| .form-input-textarea { | ||
| @include font-roboto; | ||
| @extend .body-small; | ||
| color: $black-60; | ||
| box-sizing: border-box; | ||
| border: none; | ||
| outline: none; | ||
| resize: vertical; | ||
| margin-left: calc(-1 * $border) | ||
| } |
6 changes: 6 additions & 0 deletions
6
src/lib/form/form-input/input-textarea/InputTextarea.test.tsx
This file contains hidden or 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,6 @@ | ||
| import '@testing-library/jest-dom' | ||
|
|
||
| describe('<InputTextarea /> ', () => { | ||
|
|
||
| test('it should display the InputTextarea', () => { }) | ||
| }) |
This file contains hidden or 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,43 @@ | ||
| import { FC } from 'react' | ||
|
|
||
| import { FormFieldWrapper } from '../form-field-wrapper' | ||
|
|
||
| import styles from './InputTextarea.module.scss' | ||
|
|
||
| interface InputTextareaProps { | ||
| readonly dirty?: boolean | ||
| readonly disabled?: boolean | ||
| readonly error?: string | ||
| readonly hint?: string | ||
| readonly label?: string | ||
| readonly name: string | ||
| readonly placeholder?: string | ||
| readonly preventAutocomplete?: boolean | ||
| readonly tabIndex: number | ||
| readonly value?: string | number | ||
| } | ||
|
|
||
| const InputTextarea: FC<InputTextareaProps> = (props: InputTextareaProps) => { | ||
| return ( | ||
| <FormFieldWrapper | ||
| dirty={!!props.dirty} | ||
| disabled={!!props.disabled} | ||
| error={props.error} | ||
| hint={props.hint} | ||
| label={props.label || props.name} | ||
| name={props.name} | ||
| > | ||
| <textarea | ||
| autoComplete={!!props.preventAutocomplete ? 'off' : undefined} | ||
| className={styles['form-input-textarea']} | ||
| defaultValue={props.value} | ||
| disabled={!!props.disabled} | ||
| name={props.name} | ||
| placeholder={props.placeholder} | ||
| tabIndex={props.tabIndex} | ||
| /> | ||
| </FormFieldWrapper> | ||
| ) | ||
| } | ||
|
|
||
| export default InputTextarea |
This file contains hidden or 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,3 @@ | ||
| export { | ||
| default as InputTextarea, | ||
| } from './InputTextarea' |
This file contains hidden or 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,4 @@ | ||
| export { patchAsync as userPatchAsync } from './user-xhr.store' | ||
| export type { UserPatchRequest } from './user-xhr.store' | ||
| export | ||
| // tslint:disable-next-line: no-unused-expression | ||
| type { UserPatchRequest } from './user-xhr.store' | ||
This file contains hidden or 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
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.
I've not seen
exporton a line by itself before -- what does this indicate?