dsfr-assets 1.13.0 → 1.13.1
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 +4 -4
- data/.rubocop.yml +5 -0
- data/README.md +11 -0
- data/lib/dsfr/assets/railtie.rb +13 -0
- data/lib/dsfr/assets/version.rb +1 -1
- data/lib/dsfr/assets.rb +1 -10
- data/vendor/assets/javascripts/dsfr.module.min.js +2 -2
- data/vendor/assets/javascripts/dsfr.nomodule.min.js +2 -2
- data/vendor/assets/stylesheets/artwork/background/ovoid.svg +19 -0
- data/vendor/assets/stylesheets/artwork/dark.svg +14 -0
- data/vendor/assets/stylesheets/artwork/light.svg +14 -0
- data/vendor/assets/stylesheets/artwork/pictograms/buildings/city-hall.svg +69 -0
- data/vendor/assets/stylesheets/artwork/pictograms/buildings/factory.svg +78 -0
- data/vendor/assets/stylesheets/artwork/pictograms/buildings/house.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/buildings/nuclear-plant.svg +120 -0
- data/vendor/assets/stylesheets/artwork/pictograms/buildings/school.svg +68 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/application.svg +66 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/avatar.svg +58 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/calendar.svg +56 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/coding.svg +54 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/data-visualization.svg +68 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/in-progress.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/internet.svg +85 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/mail-send.svg +57 -0
- data/vendor/assets/stylesheets/artwork/pictograms/digital/search.svg +48 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/contract.svg +63 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/document-add.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/document-download.svg +54 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/document-signature.svg +48 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/document.svg +41 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/driving-licence.svg +61 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/national-identity-card.svg +57 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/passport.svg +50 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/tax-stamp.svg +112 -0
- data/vendor/assets/stylesheets/artwork/pictograms/document/vehicle-registration.svg +65 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/environment.svg +96 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/food.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/grocery.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/human-cooperation.svg +116 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/leaf.svg +70 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/moon.svg +45 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/mountain.svg +57 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/sun.svg +51 -0
- data/vendor/assets/stylesheets/artwork/pictograms/environment/tree.svg +78 -0
- data/vendor/assets/stylesheets/artwork/pictograms/health/health.svg +85 -0
- data/vendor/assets/stylesheets/artwork/pictograms/health/hospital.svg +49 -0
- data/vendor/assets/stylesheets/artwork/pictograms/health/vaccine.svg +87 -0
- data/vendor/assets/stylesheets/artwork/pictograms/health/virus.svg +93 -0
- data/vendor/assets/stylesheets/artwork/pictograms/institutions/firefighter.svg +96 -0
- data/vendor/assets/stylesheets/artwork/pictograms/institutions/gendarmerie.svg +71 -0
- data/vendor/assets/stylesheets/artwork/pictograms/institutions/justice.svg +61 -0
- data/vendor/assets/stylesheets/artwork/pictograms/institutions/money.svg +167 -0
- data/vendor/assets/stylesheets/artwork/pictograms/institutions/police.svg +94 -0
- data/vendor/assets/stylesheets/artwork/pictograms/leisure/book.svg +89 -0
- data/vendor/assets/stylesheets/artwork/pictograms/leisure/community.svg +55 -0
- data/vendor/assets/stylesheets/artwork/pictograms/leisure/culture.svg +82 -0
- data/vendor/assets/stylesheets/artwork/pictograms/leisure/digital-art.svg +62 -0
- data/vendor/assets/stylesheets/artwork/pictograms/leisure/paint.svg +80 -0
- data/vendor/assets/stylesheets/artwork/pictograms/map/airport.svg +78 -0
- data/vendor/assets/stylesheets/artwork/pictograms/map/location-france.svg +156 -0
- data/vendor/assets/stylesheets/artwork/pictograms/map/luggage.svg +58 -0
- data/vendor/assets/stylesheets/artwork/pictograms/map/map.svg +83 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/connection-lost.svg +44 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/error.svg +38 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/information.svg +49 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/notification.svg +57 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/padlock.svg +42 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/success.svg +38 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/system.svg +25 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/technical-error.svg +61 -0
- data/vendor/assets/stylesheets/artwork/pictograms/system/warning.svg +33 -0
- data/vendor/assets/stylesheets/artwork/system.svg +14 -0
- data/vendor/assets/stylesheets/dsfr.min.css +6 -6
- data/vendor/assets/stylesheets/dsfr.print.min.css +3 -0
- data/vendor/assets/stylesheets/icons/design/eraser-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/design/eraser-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/align-center.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/align-justify.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/align-left.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/align-right.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/code-block.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/font-color.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/format-clear.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/indent-decrease.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/indent-increase.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/list-check.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/strikethrough.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/text-direction-r.svg +1 -0
- data/vendor/assets/stylesheets/icons/editor/underline.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/bluesky-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/logo/bluesky-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/share-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/share-forward-fill.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/share-forward-line.svg +1 -0
- data/vendor/assets/stylesheets/icons/system/share-line.svg +1 -0
- data/vendor/assets/stylesheets/utility/dsfr-utility.min.css +155 -0
- metadata +91 -4
- data/vendor/assets/stylesheets/dsfr-utility.css +0 -14721
- data/vendor/assets/stylesheets/icons/media/align-left.svg +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bdbeedbb9c7d3766a6c42c76b1fc69e4769df6389243fc4935b1e58500ad2c17
|
4
|
+
data.tar.gz: 6367bc567ae5fbc204db6548543ef02417a8d976138bea11d41a5ca354fb0c31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61ccc0dc685d7298e62c1418799791a95ccbb876485e2ae474e41992c058500a238bdacdff1ce630bb2c9499f8cfc7ca44878f4d2e84b4a37b5b16973d23b888
|
7
|
+
data.tar.gz: 653fb9157a302b977626fb8e9971b3bbb08901ef04deb236eec2ab6c157305d1b66832c335546c54e988ff1b28588b4460a42eef387b32d7af140084b2b06ebf
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
@@ -24,3 +24,14 @@ Dans votre template/layout :
|
|
24
24
|
<%= javascript_include_tag "dsfr.module.min.js", type: 'module' %>
|
25
25
|
<%= javascript_include_tag "dsfr.nomodule.min.js", nomodule: true %>
|
26
26
|
```
|
27
|
+
|
28
|
+
Si vous utilisez les icônes/pictogrammes, rajoutez :
|
29
|
+
|
30
|
+
```erb
|
31
|
+
<%= stylesheet_link_tag "utility/dsfr-utility.min", "application-turbo-track": "reload" %>
|
32
|
+
```
|
33
|
+
|
34
|
+
## Déploiement
|
35
|
+
|
36
|
+
Pour déployer il suffit de mettre la bonne version dans `version.rb`
|
37
|
+
puis d'utiliser `bundle exec rake release`.
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Dsfr
|
4
|
+
module Assets
|
5
|
+
# exposes the assets to the Rails app
|
6
|
+
class Engine < ::Rails::Railtie
|
7
|
+
initializer "dsfr-assets.paths" do |app|
|
8
|
+
app.config.assets.paths << File.expand_path("../../../vendor/assets/stylesheets", __dir__)
|
9
|
+
app.config.assets.paths << File.expand_path("../../../vendor/assets/javascripts", __dir__)
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
data/lib/dsfr/assets/version.rb
CHANGED
data/lib/dsfr/assets.rb
CHANGED
@@ -2,13 +2,4 @@
|
|
2
2
|
|
3
3
|
require_relative "assets/version"
|
4
4
|
|
5
|
-
|
6
|
-
module Assets
|
7
|
-
class Engine < ::Rails::Railtie
|
8
|
-
initializer "dsfr-assets.paths" do |app|
|
9
|
-
app.config.assets.paths << File.expand_path("../../vendor/assets/stylesheets", __dir__)
|
10
|
-
app.config.assets.paths << File.expand_path("../../vendor/assets/javascripts", __dir__)
|
11
|
-
end
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|
5
|
+
require_relative "assets/railtie" if defined?(Rails::Railtie)
|