idsk_frontend_toolkit 7.4.2 → 7.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.gitmodules +0 -0
- data/.ruby-version +0 -0
- data/.travis.yml +4 -4
- data/.travis/idsk_frontend_toolkit_gem_push.enc +0 -0
- data/.travis/idsk_frontend_toolkit_gem_push.pub +1 -0
- data/CONTRIBUTING.md +0 -0
- data/Gemfile +0 -0
- data/LICENCE +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/assets/.gitignore +0 -0
- data/app/assets/.ruby-version +0 -0
- data/app/assets/.travis.yml +0 -0
- data/app/assets/.travis/README.md +2 -2
- data/app/assets/.travis/idsk_frontend_toolkit_push.enc +0 -0
- data/app/assets/.travis/idsk_frontend_toolkit_push.pub +1 -0
- data/app/assets/CHANGELOG.md +0 -0
- data/app/assets/CONTRIBUTING.md +3 -3
- data/app/assets/Gemfile +0 -0
- data/app/assets/Gruntfile.js +0 -0
- data/app/assets/LICENCE +0 -0
- data/app/assets/README.md +17 -25
- data/app/assets/VERSION.txt +1 -1
- data/app/assets/create-release.sh +4 -4
- data/app/assets/docs/analytics.md +0 -0
- data/app/assets/docs/functions.md +7 -7
- data/app/assets/docs/javascript.md +0 -0
- data/app/assets/docs/mixins.md +15 -15
- data/app/assets/images/accordion-arrow-2x.png +0 -0
- data/app/assets/images/accordion-arrow.png +0 -0
- data/app/assets/images/arrow-sprite.png +0 -0
- data/app/assets/images/crests/bis_crest_13px.png +0 -0
- data/app/assets/images/crests/bis_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/bis_crest_18px.png +0 -0
- data/app/assets/images/crests/bis_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/bis_crest_27px.png +0 -0
- data/app/assets/images/crests/bis_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/coastguard_13px.png +0 -0
- data/app/assets/images/crests/coastguard_13px_x2.png +0 -0
- data/app/assets/images/crests/coastguard_18px.png +0 -0
- data/app/assets/images/crests/coastguard_18px_x2.png +0 -0
- data/app/assets/images/crests/coastguard_27px.png +0 -0
- data/app/assets/images/crests/coastguard_27px_x2.png +0 -0
- data/app/assets/images/crests/dit_crest_13px.png +0 -0
- data/app/assets/images/crests/dit_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/dit_crest_18px.png +0 -0
- data/app/assets/images/crests/dit_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/dit_crest_27px.png +0 -0
- data/app/assets/images/crests/dit_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/hmrc_crest_13px.png +0 -0
- data/app/assets/images/crests/hmrc_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/hmrc_crest_18px.png +0 -0
- data/app/assets/images/crests/hmrc_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/hmrc_crest_27px.png +0 -0
- data/app/assets/images/crests/hmrc_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/ho_crest_13px.png +0 -0
- data/app/assets/images/crests/ho_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/ho_crest_18px.png +0 -0
- data/app/assets/images/crests/ho_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/ho_crest_27px.png +0 -0
- data/app/assets/images/crests/ho_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/mod_crest_13px.png +0 -0
- data/app/assets/images/crests/mod_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/mod_crest_18px.png +0 -0
- data/app/assets/images/crests/mod_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/mod_crest_27px.png +0 -0
- data/app/assets/images/crests/mod_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/org_crest_13px.png +0 -0
- data/app/assets/images/crests/org_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/org_crest_18px.png +0 -0
- data/app/assets/images/crests/org_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/org_crest_27px.png +0 -0
- data/app/assets/images/crests/org_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/portcullis_13px.png +0 -0
- data/app/assets/images/crests/portcullis_13px_x2.png +0 -0
- data/app/assets/images/crests/portcullis_18px.png +0 -0
- data/app/assets/images/crests/portcullis_18px_x2.png +0 -0
- data/app/assets/images/crests/portcullis_27px.png +0 -0
- data/app/assets/images/crests/portcullis_27px_x2.png +0 -0
- data/app/assets/images/crests/so_crest_13px.png +0 -0
- data/app/assets/images/crests/so_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/so_crest_18px.png +0 -0
- data/app/assets/images/crests/so_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/so_crest_27px.png +0 -0
- data/app/assets/images/crests/so_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/ukaea_crest_13px.png +0 -0
- data/app/assets/images/crests/ukaea_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/ukaea_crest_18px.png +0 -0
- data/app/assets/images/crests/ukaea_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/ukaea_crest_27px.png +0 -0
- data/app/assets/images/crests/ukaea_crest_27px_x2.png +0 -0
- data/app/assets/images/crests/ukho_13px.png +0 -0
- data/app/assets/images/crests/ukho_13px_x2.png +0 -0
- data/app/assets/images/crests/ukho_18px.png +0 -0
- data/app/assets/images/crests/ukho_18px_x2.png +0 -0
- data/app/assets/images/crests/ukho_27px.png +0 -0
- data/app/assets/images/crests/ukho_27px_x2.png +0 -0
- data/app/assets/images/crests/wales_crest_13px.png +0 -0
- data/app/assets/images/crests/wales_crest_13px_x2.png +0 -0
- data/app/assets/images/crests/wales_crest_18px.png +0 -0
- data/app/assets/images/crests/wales_crest_18px_x2.png +0 -0
- data/app/assets/images/crests/wales_crest_27px.png +0 -0
- data/app/assets/images/crests/wales_crest_27px_x2.png +0 -0
- data/app/assets/images/icon-arrow-left.png +0 -0
- data/app/assets/images/icon-calendar-2x.png +0 -0
- data/app/assets/images/icon-calendar.png +0 -0
- data/app/assets/images/icon-file-download-2x.png +0 -0
- data/app/assets/images/icon-file-download.png +0 -0
- data/app/assets/images/icon-important-2x.png +0 -0
- data/app/assets/images/icon-important.png +0 -0
- data/app/assets/images/icon-information-2x.png +0 -0
- data/app/assets/images/icon-information.png +0 -0
- data/app/assets/images/icon-locator-2x.png +0 -0
- data/app/assets/images/icon-locator.png +0 -0
- data/app/assets/images/icon-pointer-2x.png +0 -0
- data/app/assets/images/icon-pointer-black-2x.png +0 -0
- data/app/assets/images/icon-pointer-black.png +0 -0
- data/app/assets/images/icon-pointer-indexed.png +0 -0
- data/app/assets/images/icon-pointer.png +0 -0
- data/app/assets/images/icon-search-2x.png +0 -0
- data/app/assets/images/icon-search.png +0 -0
- data/app/assets/images/icon-steps/icon-step-1-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-1.png +0 -0
- data/app/assets/images/icon-steps/icon-step-10-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-10.png +0 -0
- data/app/assets/images/icon-steps/icon-step-11-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-11.png +0 -0
- data/app/assets/images/icon-steps/icon-step-12-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-12.png +0 -0
- data/app/assets/images/icon-steps/icon-step-13-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-13.png +0 -0
- data/app/assets/images/icon-steps/icon-step-14-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-14.png +0 -0
- data/app/assets/images/icon-steps/icon-step-2-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-2.png +0 -0
- data/app/assets/images/icon-steps/icon-step-3-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-3.png +0 -0
- data/app/assets/images/icon-steps/icon-step-4-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-4.png +0 -0
- data/app/assets/images/icon-steps/icon-step-5-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-5.png +0 -0
- data/app/assets/images/icon-steps/icon-step-6-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-6.png +0 -0
- data/app/assets/images/icon-steps/icon-step-7-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-7.png +0 -0
- data/app/assets/images/icon-steps/icon-step-8-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-8.png +0 -0
- data/app/assets/images/icon-steps/icon-step-9-2x.png +0 -0
- data/app/assets/images/icon-steps/icon-step-9.png +0 -0
- data/app/assets/images/player-icon-forward.png +0 -0
- data/app/assets/images/player-icon-pause.png +0 -0
- data/app/assets/images/player-icon-play.png +0 -0
- data/app/assets/images/player-icon-rewind.png +0 -0
- data/app/assets/images/player-icon-volume.png +0 -0
- data/app/assets/images/separator-2x.png +0 -0
- data/app/assets/images/separator.png +0 -0
- data/app/assets/javascripts/govuk/analytics/analytics.js +0 -0
- data/app/assets/javascripts/govuk/analytics/download-link-tracker.js +0 -0
- data/app/assets/javascripts/govuk/analytics/error-tracking.js +0 -0
- data/app/assets/javascripts/govuk/analytics/external-link-tracker.js +0 -0
- data/app/assets/javascripts/govuk/analytics/google-analytics-universal-tracker.js +0 -0
- data/app/assets/javascripts/govuk/analytics/govuk-tracker.js +0 -0
- data/app/assets/javascripts/govuk/analytics/mailto-link-tracker.js +0 -0
- data/app/assets/javascripts/govuk/analytics/print-intent.js +0 -0
- data/app/assets/javascripts/govuk/details.polyfill.js +0 -0
- data/app/assets/javascripts/govuk/modules.js +0 -0
- data/app/assets/javascripts/govuk/modules/auto-track-event.js +0 -0
- data/app/assets/javascripts/govuk/primary-links.js +0 -0
- data/app/assets/javascripts/govuk/selection-buttons.js +0 -0
- data/app/assets/javascripts/govuk/shim-links-with-button-role.js +0 -0
- data/app/assets/javascripts/govuk/show-hide-content.js +0 -0
- data/app/assets/javascripts/govuk/stick-at-top-when-scrolling.js +0 -0
- data/app/assets/javascripts/govuk/stop-scrolling-at-footer.js +0 -0
- data/app/assets/javascripts/govuk_toolkit.js +0 -0
- data/app/assets/javascripts/stageprompt.js +0 -0
- data/app/assets/javascripts/vendor/jquery/jquery.player.min.js +0 -0
- data/app/assets/javascripts/vendor/polyfills/bind.js +0 -0
- data/app/assets/package.json +0 -0
- data/app/assets/spec/manifest.js +0 -0
- data/app/assets/spec/stylesheets/_colour_contrast_spec.scss +0 -0
- data/app/assets/spec/support/LocalTestRunner.html +0 -0
- data/app/assets/spec/support/console-runner.js +0 -0
- data/app/assets/spec/support/load.js +0 -0
- data/app/assets/spec/support/run_jasmine_test.js +0 -0
- data/app/assets/spec/unit/analytics/analytics.spec.js +0 -0
- data/app/assets/spec/unit/analytics/download-link-tracker.spec.js +0 -0
- data/app/assets/spec/unit/analytics/error-tracking.spec.js +0 -0
- data/app/assets/spec/unit/analytics/external-link-tracker.spec.js +0 -0
- data/app/assets/spec/unit/analytics/google-analytics-universal-tracker.spec.js +0 -0
- data/app/assets/spec/unit/analytics/govuk-tracker.spec.js +0 -0
- data/app/assets/spec/unit/analytics/mailto-link-tracker.spec.js +0 -0
- data/app/assets/spec/unit/details.polyfill.spec.js +0 -0
- data/app/assets/spec/unit/modules.spec.js +0 -0
- data/app/assets/spec/unit/modules/auto-track-event.spec.js +0 -0
- data/app/assets/spec/unit/primary-links.spec.js +0 -0
- data/app/assets/spec/unit/selection-button.spec.js +0 -0
- data/app/assets/spec/unit/shim-links-with-button-role.spec.js +0 -0
- data/app/assets/spec/unit/show-hide-content.spec.js +0 -0
- data/app/assets/spec/unit/stick-at-top-when-scrolling.spec.js +0 -0
- data/app/assets/stylesheets/.gitkeep +0 -0
- data/app/assets/stylesheets/_colours.scss +0 -0
- data/app/assets/stylesheets/_conditionals.scss +0 -0
- data/app/assets/stylesheets/_css3.scss +0 -0
- data/app/assets/stylesheets/_device-pixels.scss +0 -0
- data/app/assets/stylesheets/_font_stack.scss +7 -8
- data/app/assets/stylesheets/_grid_layout.scss +0 -0
- data/app/assets/stylesheets/_helpers.scss +0 -0
- data/app/assets/stylesheets/_measurements.scss +0 -0
- data/app/assets/stylesheets/_shims.scss +0 -0
- data/app/assets/stylesheets/_typography.scss +26 -26
- data/app/assets/stylesheets/_url-helpers.scss +0 -0
- data/app/assets/stylesheets/colours/_organisation.scss +0 -0
- data/app/assets/stylesheets/colours/_palette.scss +1 -1
- data/app/assets/stylesheets/design-patterns/_alpha-beta.scss +0 -0
- data/app/assets/stylesheets/design-patterns/_breadcrumbs.scss +0 -0
- data/app/assets/stylesheets/design-patterns/_buttons.scss +0 -0
- data/app/assets/stylesheets/design-patterns/_media-player.scss +0 -0
- data/app/assets/trigger.sh +2 -2
- data/idsk_frontend_toolkit.gemspec +0 -0
- data/lib/idsk_frontend_toolkit.rb +0 -0
- data/lib/idsk_frontend_toolkit/engine.rb +0 -0
- data/lib/idsk_frontend_toolkit/version.rb +0 -0
- metadata +7 -7
- data/.travis/govuk_frontend_toolkit_gem_push.enc +0 -0
- data/.travis/govuk_frontend_toolkit_gem_push.pub +0 -1
- data/app/assets/.travis/govuk_frontend_toolkit_push.enc +0 -0
- data/app/assets/.travis/govuk_frontend_toolkit_push.pub +0 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: b97d69ee0f658af5344bc93c2c21961b8b92c58519314a89b6505b32bf3213a7
|
|
4
|
+
data.tar.gz: e137eff1abf3258c1e9892ce12218d31cd67a5a8da87ce2a65ba8a20a8b28385
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a0f0e260dae24eae66dbab5d629e253d00994110a40c0f8e9d25452b6f5a98c63bf5e075cd29ae443f2dc3327b93325a5c62fced77db755db02c910b8b0ac73
|
|
7
|
+
data.tar.gz: 4b197969dd1cdd36af5ade271d5ddf22c69b0d29de1e299c370722f3e4413f1d22e10c73d4b3e3221978d05e763bcabd9323795720eb8718c583511787b331ec
|
data/.gitignore
CHANGED
|
File without changes
|
data/.gitmodules
CHANGED
|
File without changes
|
data/.ruby-version
CHANGED
|
File without changes
|
data/.travis.yml
CHANGED
|
@@ -4,10 +4,10 @@ branches:
|
|
|
4
4
|
only:
|
|
5
5
|
- master
|
|
6
6
|
before_install:
|
|
7
|
-
- openssl aes-256-cbc -K $
|
|
7
|
+
- openssl aes-256-cbc -K $encrypted_2e58adf15eb3_key -iv $encrypted_2e58adf15eb3_iv -in .travis/idsk_frontend_toolkit_gem_push.enc -out ~/.ssh/id_rsa -d
|
|
8
8
|
- chmod 600 ~/.ssh/id_rsa
|
|
9
|
-
- git config --global user.name "
|
|
10
|
-
- git config --global user.email "
|
|
9
|
+
- git config --global user.name "ID-SK CI"
|
|
10
|
+
- git config --global user.email "ernest.walzel+idsk@slovensko.digital"
|
|
11
11
|
- git remote add origin_ssh git@github.com:id-sk/idsk_frontend_toolkit_gem.git
|
|
12
12
|
install:
|
|
13
13
|
- echo "No dependencies to install"
|
|
@@ -16,7 +16,7 @@ script:
|
|
|
16
16
|
deploy:
|
|
17
17
|
provider: rubygems
|
|
18
18
|
api_key:
|
|
19
|
-
secure:
|
|
19
|
+
secure: "WRGcuMrT3LF23QnJIx7d6UiinTfmbT/FLyrVNaBvzi8mvShTpS+kJYd95+weH6QoUFmBVmIgTIsltoyQz/1tlBT62TdoRReTVtcdSBGeCW2Jt/8YBTjRUbO5/F9C0crIDl3z+ZG5p+DIiBE4yHwb1Z+cxOkcCEISHthpEm04pXsUUF/3BHfQ4TvE4JY1mynqHGeWRErON2cXQOEooQ+PoDUbbUNZEB2IJ8tpVeM2L/Tm2aJqB986c6H8SZ2C55ntdWh5hGCd3cTWf7Cd4fEEifeLXuVevuEw/ddtBV7uVc4FLTsRnIjaJCUUzebS19wYyazpnKW+BrVHH+vZmQBzliOs4OiE/XhshQqS6ASTLwTTeRvxntbCct5OVBNnvcDjoZaBKMA21misa/Eh0BFzAnOyaX4g8BdT+pL7pQkECg9qo7yayZ1Q//Aj3AYJQFslKW+fNsEWr9daC6ba9rAmAMI0KK4hZxmleNtLPFkv37h43aKx2oruGFs5dUL633ZmRzl9l/vkPkd9Xd8hah1/3yK3Hkqzf6BExp8/g3AjLoMUcoeu264Z/5MJKMFSFiDZICjA+i7VT+AI1FbKhEtOkasKaVc7vS6d0oCGZ6XQlxfF1FePdDntwknnEa2u6udvqiStH9sEe5oCSNXm6vkcrVhayVN3QYQ9mP3xlmb2dFQ="
|
|
20
20
|
gem: idsk_frontend_toolkit
|
|
21
21
|
on:
|
|
22
22
|
branch: master
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXuN6gwjN4CHkBjR2fnS1eygKdv4DjkWRMEzktjnntGJMRHUZzcbcKugVp361K3Mwc5yuZ56tPtOH9dFnTDD4Fk3ejTg3PPizibkKAiT2qEiN889e+kTB+PKYehhh/k6cRJ4sWGkATlTjvJVmWqe9xOHlnkGaZ5I01EtYIh0xFC3fr+omx3l06hqCAqMEkQWGTsDjN6YiBbhBs0RiVW1gOyOkAYub0j3MIjkLD3U9bw36GYkwBG4tILCa3+ReCpTq6WH69+bw3Ek6EjfYYlP2BNWfAmnhWy8Lu8Ehu38u0m6NKhidbUbJy8DnrRQh20vr1dxiUd86FPE/wi/m1JTNTUS5/9hPAFvTSw3b5YSIlYZmP6wcIxQkKTHWgcO3F4DaZZiquUTzOsZhzMdOmMLd3UMsRAlOwe5F5efmsAZG6grTciX1lVgh3JDu44zow04fzu9gB/nU1UxD6eiDN3ow4JEVMKo4w8PR8Eyms/mThGua4SSeMTAj784pOnV6R0PuhwCtouEdLUy8ewt/qCjpmxQv4hQRZOWpWLblaHjfpVHF+u9tQEmUfBJu/1DHt9uUc7jjVJtl9TU08ZUGLGyiDCY51WNAOfoitwz5YcDPryeA025E0uUrjhP7bK+xo12M1lVzFLXp1Si25NZxSJAEPw5GKwnlD7Mh5syvYkkQe1Q== ernest.walzel+idsk@slovensko.digital
|
data/CONTRIBUTING.md
CHANGED
|
File without changes
|
data/Gemfile
CHANGED
|
File without changes
|
data/LICENCE
CHANGED
|
File without changes
|
data/README.md
CHANGED
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
data/app/assets/.gitignore
CHANGED
|
File without changes
|
data/app/assets/.ruby-version
CHANGED
|
File without changes
|
data/app/assets/.travis.yml
CHANGED
|
File without changes
|
|
@@ -18,6 +18,6 @@ is the only way we can find that Travis can trigger another job.
|
|
|
18
18
|
In this case, the downstream jobs publish the frontend toolkit to npm
|
|
19
19
|
and RubyGems.
|
|
20
20
|
|
|
21
|
-
The [Travis settings](https://travis-ci.org/
|
|
21
|
+
The [Travis settings](https://travis-ci.org/id-sk/idsk_frontend_toolkit/settings)
|
|
22
22
|
contains a Travis token that belongs to
|
|
23
|
-
[@
|
|
23
|
+
[@id-sk-ci](https://github.com/id-sk-ci).
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDXuN6gwjN4CHkBjR2fnS1eygKdv4DjkWRMEzktjnntGJMRHUZzcbcKugVp361K3Mwc5yuZ56tPtOH9dFnTDD4Fk3ejTg3PPizibkKAiT2qEiN889e+kTB+PKYehhh/k6cRJ4sWGkATlTjvJVmWqe9xOHlnkGaZ5I01EtYIh0xFC3fr+omx3l06hqCAqMEkQWGTsDjN6YiBbhBs0RiVW1gOyOkAYub0j3MIjkLD3U9bw36GYkwBG4tILCa3+ReCpTq6WH69+bw3Ek6EjfYYlP2BNWfAmnhWy8Lu8Ehu38u0m6NKhidbUbJy8DnrRQh20vr1dxiUd86FPE/wi/m1JTNTUS5/9hPAFvTSw3b5YSIlYZmP6wcIxQkKTHWgcO3F4DaZZiquUTzOsZhzMdOmMLd3UMsRAlOwe5F5efmsAZG6grTciX1lVgh3JDu44zow04fzu9gB/nU1UxD6eiDN3ow4JEVMKo4w8PR8Eyms/mThGua4SSeMTAj784pOnV6R0PuhwCtouEdLUy8ewt/qCjpmxQv4hQRZOWpWLblaHjfpVHF+u9tQEmUfBJu/1DHt9uUc7jjVJtl9TU08ZUGLGyiDCY51WNAOfoitwz5YcDPryeA025E0uUrjhP7bK+xo12M1lVzFLXp1Si25NZxSJAEPw5GKwnlD7Mh5syvYkkQe1Q== ernest.walzel+idsk@slovensko.digital
|
data/app/assets/CHANGELOG.md
CHANGED
|
File without changes
|
data/app/assets/CONTRIBUTING.md
CHANGED
|
@@ -13,11 +13,11 @@ We use [Semantic Versioning](http://semver.org/).
|
|
|
13
13
|
|
|
14
14
|
## Releasing a new version
|
|
15
15
|
|
|
16
|
-
1. Create a branch that proposes a new [version number](https://github.com/
|
|
16
|
+
1. Create a branch that proposes a new [version number](https://github.com/id-sk/idsk_frontend_toolkit/blob/master/VERSION.txt) and update the [`CHANGELOG`](https://github.com/id-sk/idsk_frontend_toolkit/blob/master/CHANGELOG.md). To see the commits to be summarised in the changelog since the last release, [compare the latest-release branch with master](https://github.com/id-sk/idsk_frontend_toolkit/compare/latest-release...master).
|
|
17
17
|
2. Open a Pull Request - here is a [good example](https://github.com/alphagov/govuk_frontend_toolkit/pull/396).
|
|
18
|
-
3. Once merged into master a new version will be built and [downstream jobs triggered by Travis CI](https://github.com/
|
|
18
|
+
3. Once merged into master a new version will be built and [downstream jobs triggered by Travis CI](https://github.com/id-sk/idsk_frontend_toolkit/blob/master/.travis.yml) for [govuk_frontend_toolkit_gem](https://github.com/id-sk/idsk_frontend_toolkit_gem) and [govuk_frontend_toolkit_npm](https://github.com/id-sk/idsk_frontend_toolkit_npm).
|
|
19
19
|
|
|
20
20
|
## Commit hygiene
|
|
21
21
|
|
|
22
|
-
Please see
|
|
22
|
+
Please see Alphagov [git style guide](https://github.com/alphagov/styleguides/blob/master/git.md)
|
|
23
23
|
which describes how we prefer git history and commit messages to read.
|
data/app/assets/Gemfile
CHANGED
|
File without changes
|
data/app/assets/Gruntfile.js
CHANGED
|
File without changes
|
data/app/assets/LICENCE
CHANGED
|
File without changes
|
data/app/assets/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# ID-SK frontend toolkit
|
|
2
2
|
|
|
3
3
|
A collection of Sass and JavaScript files for using as part of your
|
|
4
4
|
application's frontend.
|
|
@@ -14,19 +14,19 @@ Ruby or Node.js.
|
|
|
14
14
|
|
|
15
15
|
### Ruby on Rails
|
|
16
16
|
|
|
17
|
-
We recommend you use the [
|
|
17
|
+
We recommend you use the [idsk_frontend_toolkit_gem][toolkit_gem_github] and
|
|
18
18
|
follow the [installation instructions][toolkit_gem_github_readme].
|
|
19
19
|
|
|
20
|
-
[toolkit_gem_github]: https://github.com/
|
|
21
|
-
[toolkit_gem_github_readme]: https://github.com/
|
|
20
|
+
[toolkit_gem_github]: https://github.com/id-sk/idsk_frontend_toolkit_gem
|
|
21
|
+
[toolkit_gem_github_readme]: https://github.com/id-sk/idsk_frontend_toolkit_gem#readme
|
|
22
22
|
|
|
23
23
|
### Node.js
|
|
24
24
|
|
|
25
|
-
[
|
|
25
|
+
[idsk_frontend_toolkit_npm][toolkit_npm_github] is an NPM package that can be
|
|
26
26
|
[installed or included in your package.json][toolkit_npm].
|
|
27
27
|
|
|
28
|
-
[toolkit_npm_github]: https://github.com/
|
|
29
|
-
[toolkit_npm]: https://npmjs.org/package/
|
|
28
|
+
[toolkit_npm_github]: https://github.com/id-sk/idsk_frontend_toolkit_npm
|
|
29
|
+
[toolkit_npm]: https://npmjs.org/package/idsk_frontend_toolkit
|
|
30
30
|
|
|
31
31
|
If you are using a build tool that depends on Libsass then you
|
|
32
32
|
may need to upgrade to a more recent version to use the grid helpers. Minimal
|
|
@@ -39,21 +39,13 @@ Requirement: [NodeJS](https://nodejs.org/en/) installed. This gives you [Node Pa
|
|
|
39
39
|
|
|
40
40
|
The easiest way to integrate it would be to create a `package.json` file in your application with `npm init`
|
|
41
41
|
|
|
42
|
-
You then install the toolkit with `npm install --save
|
|
43
|
-
If you need javascript files, they will live in (`node_modules/
|
|
44
|
-
If you need stylesheets they will live in (`node_modules/
|
|
42
|
+
You then install the toolkit with `npm install --save idsk_frontend_toolkit`.
|
|
43
|
+
If you need javascript files, they will live in (`node_modules/idsk_frontend_toolkit/javascripts`).
|
|
44
|
+
If you need stylesheets they will live in (`node_modules/idsk_frontend_toolkit/stylesheets`).
|
|
45
45
|
|
|
46
46
|
With Django you can use https://github.com/jrief/django-sass-processor to compile Sass files.
|
|
47
47
|
|
|
48
|
-
Note: if you need complete styles you might want to install
|
|
49
|
-
|
|
50
|
-
### Composer
|
|
51
|
-
|
|
52
|
-
[govuk_frontend_toolkit_composer][toolkit_composer_github] is an composer package that can be
|
|
53
|
-
[added to your composer.json][toolkit_composer_github_usage]
|
|
54
|
-
|
|
55
|
-
[toolkit_composer_github]: https://github.com/PurpleBooth/govuk_frontend_toolkit_composer
|
|
56
|
-
[toolkit_composer_github_usage]: https://github.com/PurpleBooth/govuk_frontend_toolkit_composer#installing
|
|
48
|
+
Note: if you need complete styles you might want to install idsk-elements-sass package that also installs toolkit
|
|
57
49
|
|
|
58
50
|
### Other projects
|
|
59
51
|
|
|
@@ -67,7 +59,7 @@ If your dependency management tool allows the use of Git repositories as depende
|
|
|
67
59
|
|
|
68
60
|
For example, if you are using [bower](http://bower.io), you can add the toolkit to your `bower.json` like so:
|
|
69
61
|
|
|
70
|
-
`"
|
|
62
|
+
`"idsk_frontend_toolkit": "git://github.com/id-sk/idsk_frontend_toolkit#v4.1.1"` (assuming you want version 4.1.1)
|
|
71
63
|
|
|
72
64
|
#### Using git submodules
|
|
73
65
|
|
|
@@ -77,7 +69,7 @@ You can include the toolkit as a [git submodule][git submodule].
|
|
|
77
69
|
|
|
78
70
|
To add the submodule to your project run the following command substituting the path to a subdirectory in your project's assets directory:
|
|
79
71
|
|
|
80
|
-
$ git submodule add https://github.com/
|
|
72
|
+
$ git submodule add https://github.com/id-sk/idsk_frontend_toolkit.git ./path/to/assets/idsk_frontend_toolkit
|
|
81
73
|
|
|
82
74
|
We recommend you use `https` rather than `ssh` for submodules as they don't require key exchanges when deploying to remote servers.
|
|
83
75
|
|
|
@@ -103,8 +95,8 @@ npm test
|
|
|
103
95
|
```
|
|
104
96
|
|
|
105
97
|
### Standard JavaScript
|
|
106
|
-
`
|
|
107
|
-
All JavaScript files follow its conventions. [Read more](https://github.com/
|
|
98
|
+
`idsk_frontend_toolkit` uses [standardjs](http://standardjs.com/), an opinionated JavaScript linter.
|
|
99
|
+
All JavaScript files follow its conventions. [Read more](https://github.com/id-sk/idsk_prototype_kit/blob/master/docs/linting.md)
|
|
108
100
|
|
|
109
101
|
### Using the local test runner
|
|
110
102
|
|
|
@@ -129,11 +121,11 @@ If you are compiling Sass from the [command-line tool](http://sass-lang.com/docs
|
|
|
129
121
|
|
|
130
122
|
In development:
|
|
131
123
|
|
|
132
|
-
sass --style expanded --line-numbers --load-path [path to]/
|
|
124
|
+
sass --style expanded --line-numbers --load-path [path to]/idsk_frontend_toolkit/stylesheets input.scss output.css
|
|
133
125
|
|
|
134
126
|
In production:
|
|
135
127
|
|
|
136
|
-
sass --style compressed --load-path [path to]/
|
|
128
|
+
sass --style compressed --load-path [path to]/idsk_frontend_toolkit/stylesheets input.scss output.css
|
|
137
129
|
|
|
138
130
|
## Documentation
|
|
139
131
|
|
data/app/assets/VERSION.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
7.4.
|
|
1
|
+
7.4.3
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
set -e
|
|
3
3
|
|
|
4
|
-
REPO_PATH="
|
|
4
|
+
REPO_PATH="id-sk/idsk_frontend_toolkit"
|
|
5
5
|
|
|
6
6
|
echo "Add config for alphagov/$REPO_PATH"
|
|
7
7
|
|
|
8
|
-
git config --global user.name "
|
|
9
|
-
git config --global user.email "
|
|
8
|
+
git config --global user.name "ID-SK CI"
|
|
9
|
+
git config --global user.email "ernest.walzel+idsk@slovensko.digital"
|
|
10
10
|
git remote add origin_ssh git@github.com:$REPO_PATH.git
|
|
11
11
|
|
|
12
12
|
# This openssl command was generated automatically by `travis encrypt-file`, see `.travis/README.md` for more details
|
|
13
|
-
openssl aes-256-cbc -K $
|
|
13
|
+
openssl aes-256-cbc -K $encrypted_82e9927cdebb_key -iv $encrypted_82e9927cdebb_iv -in .travis/idsk_frontend_toolkit_push.enc -out ~/.ssh/id_rsa -d
|
|
14
14
|
chmod 600 ~/.ssh/id_rsa
|
|
15
15
|
|
|
16
16
|
echo "Check to see if the version file has been updated"
|
|
File without changes
|
|
@@ -17,13 +17,13 @@ so there is no need to use a second argument.
|
|
|
17
17
|
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
.
|
|
20
|
+
.idsk-title {
|
|
21
21
|
margin-top: pem(30);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
Compiled css:
|
|
25
25
|
|
|
26
|
-
.
|
|
26
|
+
.idsk-title {
|
|
27
27
|
margin-top: 1.875em;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -32,13 +32,13 @@ Compiled css:
|
|
|
32
32
|
The first argument will also accept pixel units.
|
|
33
33
|
|
|
34
34
|
```
|
|
35
|
-
.
|
|
35
|
+
.idsk-title {
|
|
36
36
|
margin-top: pem(19px);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
Compiled css:
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.idsk-title {
|
|
42
42
|
margin-top: 1.1875em;
|
|
43
43
|
}
|
|
44
44
|
|
|
@@ -47,16 +47,16 @@ Compiled css:
|
|
|
47
47
|
If the context changes, use the second argument.
|
|
48
48
|
|
|
49
49
|
```
|
|
50
|
-
.
|
|
50
|
+
.idsk-title {
|
|
51
51
|
font-size: 48px;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
.
|
|
54
|
+
.idsk-title-child {
|
|
55
55
|
margin-top: pem(15, 48);
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
Compiled css:
|
|
59
59
|
|
|
60
|
-
.
|
|
60
|
+
.idsk-title-child {
|
|
61
61
|
margin-top: 0.3125em;
|
|
62
62
|
}
|
|
File without changes
|
data/app/assets/docs/mixins.md
CHANGED
|
@@ -304,9 +304,9 @@ A collection of font-mixins. There are two different types of font mixins.
|
|
|
304
304
|
|
|
305
305
|
#### Changing font
|
|
306
306
|
|
|
307
|
-
Typography mixins use
|
|
307
|
+
Typography mixins use an “Arial” font stack by default.
|
|
308
308
|
|
|
309
|
-
If you are using the toolkit on projects that aren’t
|
|
309
|
+
If you are using the toolkit on projects that aren’t ID-SK branded you can
|
|
310
310
|
override the font using two variables: `$toolkit-font-stack` and
|
|
311
311
|
`$toolkit-font-stack-tabular`. These must be declared before they are used, eg by
|
|
312
312
|
the core typography mixins.
|
|
@@ -316,10 +316,10 @@ the core typography mixins.
|
|
|
316
316
|
The following heading and copy styles exist:
|
|
317
317
|
|
|
318
318
|
* `heading-80`
|
|
319
|
-
* `heading-
|
|
320
|
-
* `heading-
|
|
321
|
-
* `heading-
|
|
322
|
-
* `heading-
|
|
319
|
+
* `heading-52`
|
|
320
|
+
* `heading-38`
|
|
321
|
+
* `heading-26`
|
|
322
|
+
* `heading-20`
|
|
323
323
|
* `copy-19`
|
|
324
324
|
* `copy-16`
|
|
325
325
|
* `copy-14`
|
|
@@ -327,7 +327,7 @@ The following heading and copy styles exist:
|
|
|
327
327
|
##### Usage
|
|
328
328
|
|
|
329
329
|
h2 {
|
|
330
|
-
@include heading-
|
|
330
|
+
@include heading-26;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
#### Core styles
|
|
@@ -335,10 +335,10 @@ The following heading and copy styles exist:
|
|
|
335
335
|
The following core styles exist:
|
|
336
336
|
|
|
337
337
|
* `core-80`
|
|
338
|
-
* `core-
|
|
339
|
-
* `core-
|
|
340
|
-
* `core-
|
|
341
|
-
* `core-
|
|
338
|
+
* `core-52`
|
|
339
|
+
* `core-38`
|
|
340
|
+
* `core-26`
|
|
341
|
+
* `core-20`
|
|
342
342
|
* `core-19`
|
|
343
343
|
* `core-16`
|
|
344
344
|
* `core-14`
|
|
@@ -355,10 +355,10 @@ recomended to pass a fraction in for readability.
|
|
|
355
355
|
##### Usage
|
|
356
356
|
|
|
357
357
|
h1 {
|
|
358
|
-
@include core-
|
|
358
|
+
@include core-52;
|
|
359
359
|
}
|
|
360
360
|
h2 {
|
|
361
|
-
@include core-
|
|
361
|
+
@include core-20($line-height: (50/24), $line-height-640: (18/16));
|
|
362
362
|
}
|
|
363
363
|
|
|
364
364
|
#### Tabular numbers
|
|
@@ -370,10 +370,10 @@ Tabular numbers have numerals of a standard fixed width. As all numbers have the
|
|
|
370
370
|
##### Usage
|
|
371
371
|
|
|
372
372
|
h1 {
|
|
373
|
-
@include core-
|
|
373
|
+
@include core-52;
|
|
374
374
|
}
|
|
375
375
|
h2 {
|
|
376
|
-
@include core-
|
|
376
|
+
@include core-20($tabular-numbers: true);
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
[See an example of tabular numbers in a table](http://govuk-elements.herokuapp.com/data/#data-table-numeric)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|