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

Upstream sync #127

Merged
merged 1,254 commits into from
Jun 25, 2022
Merged

Upstream sync #127

merged 1,254 commits into from
Jun 25, 2022

Conversation

allie47
Copy link

@allie47 allie47 commented Mar 21, 2021

Fixes #124

Presla/preklikala/porovnala som, ak sa nepletiem, vsetky custom examples aj komponenty, taktiez aj vacsinu govuk komponentov. Testy tak ako som ich poopravovala vyzeraju bezat v pohode, stylelint je pofixovany, build:package tiez.

Dizajnove rozdiely, ktore som nechala tak, ako su v najnovsom govuk:

  • back link design
  • hrubka error borderu na fieldoch
  • pokial boli niekde +- par pixelov co sa odsadzovania tyka

Dizajnove rozdiely, ktore som upravila, aby boli podobne povodnemu designu:

  • farby (pouzivanie legacy farieb v ramci govuk + rovnakych overrides ako predtym)
  • biely arrow/chevron na niektorych tlacidlach (govuk ho odstranilo)
  • vertikalne centrovanie ikony pre warning text (govuk necentruje; pomer ikony voci kruhu som nechala podla noveho govuk)

Dalsie relevantne zmeny (ktore mozu vyzadovat daky task/issue creation do buducna):

  • kontrolovanie test:dependencies som vyhodila z npm test (niekto bude musiet pofixovat tie npm ERR! extraneous nech na tom nepadaju testy komplet)
  • prihodila som setting, aby standard ignoroval replace-diacritcs.js a slovak-municipalities.js, kedze cely koncept vyzera, ze by sa mu nepacil (nepouzite premenne, plus municipalities by narastli do objemu kedze uz vyzaduje medzery vsade)
  • test v after-build-package.test.js, ktory overuje "should contain the expected files" som odkomentovala, kedze ho momentalne nemam ako overit, ci je korektne upraveny (pri developmente na Windowse nefici)

Notes: Neviem, ci to tak bol aj predtym, ale vyzera to ze viacere veci tam su zavisle na tom, ze sa nedevelopi na windowse (pozna sa to napr na jest-puppeteer.config file a setovani PORTu, na niektorych testoch, atd)

Vanita Barrett and others added 30 commits October 8, 2020 15:50
Passing a href by itsef results in an invisible link (no visible text). Passing text by itself results in a link with no href.

Therefore, mark the footer meta.items.text and meta.items.href as required.
The way the previous tests were structured seemed to test for the presence of at least one single object within the component options with the required attributes, instead of all options having the correct attributes. The same was happening for the fixtures file.

This meant that one missing `required` attribute in a component yaml file would not cause the test to fail.

This commit tests for the presence of the required attributes by looping through each option/fixture. It also fixes one typo picked up by these new tests.
…examples

Update required options for components
Enable custom inputmode for date input component
Correctly label the conditionally revealed email address field ‘email address’ rather than ‘mobile phone number’ in the conditional reveals examples for checkboxes and radios
dependabot bot and others added 19 commits February 8, 2021 22:01
…n/marked-2.0.0

Bump marked from 1.1.1 to 2.0.0
`ChildNode.remove` is not supported in IE11, so use the hidden attribute like we do with the client side example.
…e-ie11

Fix client-side cookie banner hide button in IE 11
The deprecation warning for the `iff` function currently appears in the middle of the test output:

```
PASS src/govuk/objects/objects.test.js
PASS src/govuk/overrides/overrides.test.js
PASS src/govuk/core/core.test.js
WARNING: The `iff` function will be removed in a future release, use `if($condition, $if-true, null);` instead.
         on line 15 of src/govuk/tools/_iff.scss, in function `iff`
         from line 5 of stdin

WARNING: The `iff` function will be removed in a future release, use `if($condition, $if-true, null);` instead.
         on line 15 of src/govuk/tools/_iff.scss, in function `iff`
         from line 5 of stdin

PASS src/govuk/tools/iff.test.js
```

Silence it by mocking the @warn function in Sass render calls from its tests, and add a new test for the deprecation warning.

This it consistent with the approach used for the import deprecation warnings from the overrides and core layers.
…rning

Silence deprecation warning for iff in tests and add test
New CSS to change the cursor to pointer when hovered over, as per any other link, including other links in the header. An edge case perhaps because this will presumably mostly be for mobile, but for desktops with a narrow window, or heavily zoomed in, a pointer cursor will be consistent with other links.
Use pointer cursor for 'Menu' button in header
…-vertical-alignment

Improve vertical alignment of phase banner tag on mobile devices
This pull request improves vertical alignment of phase banner tag on mobile devices
…rmat

Replace e.g. in Character count macros
@jsuchal
Copy link
Member

jsuchal commented Mar 23, 2021

@allie47 toto je slusna robota, skusal som to vcera lokalne ale zatial sa mi to nejako nedari zbuildit tak, aby to zafungovalo. Ty vies vyrobit package aspon lokalne?

@Zippersk Zippersk mentioned this pull request Apr 16, 2021
@jsuchal jsuchal merged commit 629935e into slovensko-digital:master Jun 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge upstream