@defra/forms-engine-plugin 0.1.14 → 0.1.15

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.
@@ -1,18 +1,8 @@
1
1
  @use "govuk-frontend" as *;
2
- @use "pkg:accessible-autocomplete";
2
+ @use "shared";
3
3
  @use "code";
4
- @use "prose";
5
- @use "service-banner";
6
- @use "summary-list";
7
4
  @use "tag-env";
8
5
 
9
- // Use default GDS Transport font for autocomplete
10
- .autocomplete__hint,
11
- .autocomplete__input,
12
- .autocomplete__option {
13
- @include govuk-typography-common;
14
- }
15
-
16
6
  // An example of some user-supplied styling
17
7
  // Not great practice but it illustrates the point
18
8
  .govuk-header {
@@ -0,0 +1,11 @@
1
+ @use "govuk-frontend" as *;
2
+ @use "pkg:accessible-autocomplete";
3
+ @use "prose";
4
+ @use "summary-list";
5
+
6
+ // Use default GDS Transport font for autocomplete
7
+ .autocomplete__hint,
8
+ .autocomplete__input,
9
+ .autocomplete__option {
10
+ @include govuk-typography-common;
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra/forms-engine-plugin",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "Defra forms engine",
5
5
  "type": "module",
6
6
  "files": [
@@ -10,7 +10,7 @@
10
10
  ],
11
11
  "exports": {
12
12
  ".": {
13
- "sass": "./.server/client/stylesheets/application.scss",
13
+ "sass": "./.server/client/stylesheets/shared.scss",
14
14
  "import": "./.server/server/plugins/engine/index.js",
15
15
  "default": "./.server/server/plugins/engine/index.js"
16
16
  },
@@ -181,7 +181,7 @@
181
181
  "tsx": "^4.19.3",
182
182
  "typescript": "^5.7.2",
183
183
  "webpack": "^5.97.1",
184
- "webpack-assets-manifest": "^5.2.1",
184
+ "webpack-assets-manifest": "^6.0.2",
185
185
  "webpack-cli": "^6.0.1"
186
186
  }
187
187
  }
@@ -1,18 +1,8 @@
1
1
  @use "govuk-frontend" as *;
2
- @use "pkg:accessible-autocomplete";
2
+ @use "shared";
3
3
  @use "code";
4
- @use "prose";
5
- @use "service-banner";
6
- @use "summary-list";
7
4
  @use "tag-env";
8
5
 
9
- // Use default GDS Transport font for autocomplete
10
- .autocomplete__hint,
11
- .autocomplete__input,
12
- .autocomplete__option {
13
- @include govuk-typography-common;
14
- }
15
-
16
6
  // An example of some user-supplied styling
17
7
  // Not great practice but it illustrates the point
18
8
  .govuk-header {
@@ -0,0 +1,11 @@
1
+ @use "govuk-frontend" as *;
2
+ @use "pkg:accessible-autocomplete";
3
+ @use "prose";
4
+ @use "summary-list";
5
+
6
+ // Use default GDS Transport font for autocomplete
7
+ .autocomplete__hint,
8
+ .autocomplete__input,
9
+ .autocomplete__option {
10
+ @include govuk-typography-common;
11
+ }
@@ -1,24 +0,0 @@
1
- @use "govuk-frontend" as *;
2
-
3
- .app-service-banner {
4
- display: block;
5
- background: govuk-colour("yellow");
6
- color: govuk-colour("black");
7
-
8
- @include govuk-responsive-padding(2, "top");
9
- @include govuk-responsive-padding(2, "bottom");
10
-
11
- &__content {
12
- margin: 0;
13
- }
14
-
15
- .govuk-warning-text__text {
16
- font-weight: $govuk-font-weight-regular;
17
- }
18
-
19
- .govuk-skip-link:active + &,
20
- .govuk-skip-link:focus + & {
21
- // Ofset service banner from skip link
22
- margin-top: $govuk-border-width + $govuk-focus-width;
23
- }
24
- }
@@ -1,24 +0,0 @@
1
- @use "govuk-frontend" as *;
2
-
3
- .app-service-banner {
4
- display: block;
5
- background: govuk-colour("yellow");
6
- color: govuk-colour("black");
7
-
8
- @include govuk-responsive-padding(2, "top");
9
- @include govuk-responsive-padding(2, "bottom");
10
-
11
- &__content {
12
- margin: 0;
13
- }
14
-
15
- .govuk-warning-text__text {
16
- font-weight: $govuk-font-weight-regular;
17
- }
18
-
19
- .govuk-skip-link:active + &,
20
- .govuk-skip-link:focus + & {
21
- // Ofset service banner from skip link
22
- margin-top: $govuk-border-width + $govuk-focus-width;
23
- }
24
- }