aboutsummaryrefslogtreecommitdiffstats
path: root/src/components (follow)
Commit message (Collapse)AuthorAgeLines
* Add blur handler to Radio and RangeGravatar ks1292021-02-17-6/+8
|
* Make all blur handler names matchingGravatar ks1292021-02-08-5/+5
|
* Change blur handler name in SelectGravatar ks1292021-02-08-2/+2
|
* Change ShortText blur handler nameGravatar ks1292021-02-08-2/+2
|
* Set z-index and position for error message CSSGravatar ks1292021-02-08-0/+2
|
* Fix CSS visibilty attributeGravatar ks1292021-02-08-1/+1
| | | Co-authored-by: Hassan Abouelela <[email protected]>
* Remove trailing whitespacesGravatar ks1292021-02-08-3/+3
|
* Implement focusing text fields if empty on submitGravatar ks1292021-02-08-10/+17
|
* Use public state instead of event value for compabilityGravatar ks1292021-02-08-21/+5
|
* Toggle visibility instead returning null when no error should be shownGravatar ks1292021-02-05-10/+7
|
* Merge branch 'forms-submitting' of ↵Gravatar ks1292021-01-21-2/+1
|\ | | | | | | https://github.com/python-discord/forms-frontend into forms-submitting
| * Remove unnecessary ESLint disableGravatar ks1292021-01-21-1/+0
| |
| * Add space to union both sidesGravatar ks1292021-01-21-1/+1
| | | | | | Co-authored-by: Hassan Abouelela <[email protected]>
* | Use relative unitsGravatar ks1292021-01-21-3/+3
|/
* Merge switch's casesGravatar ks1292021-01-19-22/+2
|
* Implement before-submit validation (broken, crashing)Gravatar ks1292021-01-19-1/+62
|
* Implement validation for checkboxesGravatar ks1292021-01-19-0/+18
|
* Implement shadow for SelectGravatar ks1292021-01-18-5/+5
|
* Simplify required checking onBlur functionGravatar ks1292021-01-18-15/+13
|
* Merge on blur functions to oneGravatar ks1292021-01-18-43/+37
|
* Implement Select field required checkGravatar ks1292021-01-18-6/+22
|
* Pass blur handler and valid property to ShortTextGravatar ks1292021-01-18-1/+1
|
* Implement validation to ShortText componentGravatar ks1292021-01-18-4/+9
|
* Add required validator for ShortTextGravatar ks1292021-01-18-1/+16
|
* Change ErrorMessage CSS propertiesGravatar ks1292021-01-18-2/+2
|
* Relay blur handler to specific component and cleanupGravatar ks1292021-01-18-9/+4
|
* Move ErrorMessage from TextArea component to QuestionGravatar ks1292021-01-18-11/+36
|
* Move invalid styles to common stylesGravatar ks1292021-01-18-9/+1
|
* Provide valid and error message data to TextArea componentGravatar ks1292021-01-18-2/+11
|
* Display invalid information for TextAreaGravatar ks1292021-01-18-2/+18
|
* Add valid and error to public state and required check for textareaGravatar ks1292021-01-18-0/+9
|
* Create new ErrorMessage component for showing field error messagesGravatar ks1292021-01-18-0/+25
|
* Add required props to form field typesGravatar ks1292021-01-17-9/+13
|
* Centers Title With No DescriptionGravatar Hassan Abouelela2021-01-17-6/+14
| | | | | | | | Makes the header bar title take up more space when no title is provided, and stops the page from rendering the description. Co-authored-by: Joe Banks <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
* Removes Leading Underscore From VariablesGravatar Hassan Abouelela2021-01-17-11/+11
| | | | | Co-authored-by: Joe Banks <[email protected]> Signed-off-by: Hassan Abouelela <[email protected]>
* Updates Switch Statement IndentGravatar Hassan Abouelela2021-01-17-56/+56
| | | | | | | Changes the switch statement indentation level to 1 in the eslint config, and updates files accordingly. Signed-off-by: Hassan Abouelela <[email protected]>
* Shows Pointer On Scroll ButtonGravatar Hassan Abouelela2021-01-17-0/+2
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Closes Select Menu On ClickGravatar Hassan Abouelela2021-01-17-2/+23
| | | | | | | Adds logic to close the select menu when clicked, if the menu was already open. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates Transition SpeedGravatar Hassan Abouelela2021-01-17-3/+3
| | | | | | | Increases select and deselect transition speeds for checkboxes, radios, and selects. Signed-off-by: Hassan Abouelela <[email protected]>
* Rewrites RadiosGravatar Hassan Abouelela2021-01-16-2/+23
| | | | | | | Rewrites radios to be more fitting with the general theme and style, and to be more consistent across browsers. Signed-off-by: Hassan Abouelela <[email protected]>
* Rewrites Select ComponentGravatar Hassan Abouelela2021-01-16-56/+98
| | | | | | | Rewrites select to be more accessible, and to have more predictable behavior across browsers and devices. Signed-off-by: Hassan Abouelela <[email protected]>
* Rewrites Components For AccessibilityGravatar Hassan Abouelela2021-01-16-69/+35
| | | | | | | Makes major changes to the structuring of checkboxes, and ranges to be more accessible to all users. Signed-off-by: Hassan Abouelela <[email protected]>
* Minor Style AdjustmentsGravatar Hassan Abouelela2021-01-16-2/+1
| | | | | | Minor adjustments following the first round of open feedback. Signed-off-by: Hassan Abouelela <[email protected]>
* Polyfills Smooth ScrollGravatar Hassan Abouelela2021-01-16-0/+3
| | | | | | Pollyfills smooth scroll on the scroll to top button. Signed-off-by: Hassan Abouelela <[email protected]>
* Lock textarea resizing to verticalGravatar Joe Banks2021-01-11-0/+1
|
* Fixes Subtle Alignment IssuesGravatar Hassan Abouelela2021-01-10-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Breaks Up CSS Into ComponentsGravatar Hassan Abouelela2021-01-06-42/+315
| | | | | | | | Moves the styles from the CSS file, into emotion CSS in each component's file to make navigation easier, and keep CSS and JSX together.Drops raw-loader dependency. Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Question RenderingGravatar Hassan Abouelela2021-01-06-0/+128
| | | | | | | | Adds a question component, and calls it on form page. Adds styling for input types and form page. Lays foundation for validation and submission. Signed-off-by: Hassan Abouelela <[email protected]>
* Implements Input TypesGravatar Hassan Abouelela2021-01-06-0/+256
| | | | | | | Adds functionality and JSX for all input types. Adds a dispatcher that can pick and return the needed element. Signed-off-by: Hassan Abouelela <[email protected]>
* Implements Scroll ButtonGravatar Hassan Abouelela2021-01-06-0/+87
| | | | | | | Adds a scroll to top button to the landing page, and form pages to make navigation easier on long pages. Signed-off-by: Hassan Abouelela <[email protected]>