@nationalarchives/frontend 0.1.8-prerelease → 0.1.10-prerelease

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.
Files changed (94) hide show
  1. package/README.md +2 -2
  2. package/nationalarchives/_features.scss +1 -0
  3. package/nationalarchives/all.css +1 -1
  4. package/nationalarchives/all.css.map +1 -1
  5. package/nationalarchives/all.js +1 -1
  6. package/nationalarchives/all.js.map +1 -1
  7. package/nationalarchives/all.mjs +53 -6
  8. package/nationalarchives/assets/images/footer/facebook.svg +11 -0
  9. package/nationalarchives/assets/images/footer/flickr.svg +11 -0
  10. package/nationalarchives/assets/images/footer/instagram.svg +17 -0
  11. package/nationalarchives/assets/images/footer/rss.svg +13 -0
  12. package/nationalarchives/assets/images/footer/twitter.svg +14 -0
  13. package/nationalarchives/assets/images/footer/youtube.svg +12 -0
  14. package/nationalarchives/assets/images/tna-square-logo.svg +24 -45
  15. package/nationalarchives/components/_all.scss +4 -0
  16. package/nationalarchives/components/breadcrumbs/_index.scss +4 -3
  17. package/nationalarchives/components/breadcrumbs/breadcrumbs.stories.js +2 -3
  18. package/nationalarchives/components/breadcrumbs/fixtures.json +1 -1
  19. package/nationalarchives/components/breadcrumbs/macro-options.json +2 -2
  20. package/nationalarchives/components/breadcrumbs/template.njk +9 -9
  21. package/nationalarchives/components/button/_index.scss +25 -5
  22. package/nationalarchives/components/button/button.stories.js +2 -3
  23. package/nationalarchives/components/button/fixtures.json +5 -5
  24. package/nationalarchives/components/button/template.njk +3 -3
  25. package/nationalarchives/components/card/_index.scss +7 -3
  26. package/nationalarchives/components/card/card.stories.js +2 -3
  27. package/nationalarchives/components/card/fixtures.json +11 -11
  28. package/nationalarchives/components/card/template.njk +44 -44
  29. package/nationalarchives/components/filters/_index.scss +49 -0
  30. package/nationalarchives/components/filters/filters.stories.js +75 -0
  31. package/nationalarchives/components/filters/fixtures.json +4 -0
  32. package/nationalarchives/components/filters/macro-options.json +52 -0
  33. package/nationalarchives/components/filters/macro.njk +3 -0
  34. package/nationalarchives/components/filters/template.njk +8 -0
  35. package/nationalarchives/components/footer/_index.scss +49 -4
  36. package/nationalarchives/components/footer/fixtures.json +1 -1
  37. package/nationalarchives/components/footer/footer.stories.js +23 -26
  38. package/nationalarchives/components/footer/macro-options.json +12 -6
  39. package/nationalarchives/components/footer/template.njk +61 -51
  40. package/nationalarchives/components/grid/_index.scss +3 -78
  41. package/nationalarchives/components/grid/fixtures.json +12 -12
  42. package/nationalarchives/components/grid/grid.stories.js +3 -4
  43. package/nationalarchives/components/grid/template.njk +35 -35
  44. package/nationalarchives/components/header/_index.scss +452 -0
  45. package/nationalarchives/components/header/fixtures.json +4 -0
  46. package/nationalarchives/components/header/header.js +2 -0
  47. package/nationalarchives/components/header/header.js.map +1 -0
  48. package/nationalarchives/components/header/header.mjs +108 -0
  49. package/nationalarchives/components/header/header.stories.js +68 -0
  50. package/nationalarchives/components/header/macro-options.json +104 -0
  51. package/nationalarchives/components/header/macro.njk +3 -0
  52. package/nationalarchives/components/header/template.njk +66 -0
  53. package/nationalarchives/components/hero/_index.scss +4 -1
  54. package/nationalarchives/components/hero/hero.stories.js +17 -15
  55. package/nationalarchives/components/hero/macro-options.json +3 -3
  56. package/nationalarchives/components/hero/template.njk +27 -27
  57. package/nationalarchives/components/phase-banner/_index.scss +43 -0
  58. package/nationalarchives/components/phase-banner/fixtures.json +14 -0
  59. package/nationalarchives/components/phase-banner/macro-options.json +26 -0
  60. package/nationalarchives/components/phase-banner/macro.njk +3 -0
  61. package/nationalarchives/components/phase-banner/phase-banner.stories.js +38 -0
  62. package/nationalarchives/components/phase-banner/template.njk +16 -0
  63. package/nationalarchives/components/sensitive-image/fixtures.json +3 -3
  64. package/nationalarchives/components/sensitive-image/macro-options.json +2 -2
  65. package/nationalarchives/components/sensitive-image/sensitive-image.js +1 -1
  66. package/nationalarchives/components/sensitive-image/sensitive-image.js.map +1 -1
  67. package/nationalarchives/components/sensitive-image/sensitive-image.mjs +21 -22
  68. package/nationalarchives/components/sensitive-image/sensitive-image.stories.js +2 -3
  69. package/nationalarchives/components/sensitive-image/template.njk +7 -7
  70. package/nationalarchives/lib/uuid.mjs +9 -0
  71. package/nationalarchives/stories/development/contributing.mdx +38 -0
  72. package/nationalarchives/stories/development/dependencies.mdx +2 -0
  73. package/nationalarchives/stories/development/publishing.mdx +9 -0
  74. package/nationalarchives/stories/development/technologies.mdx +65 -0
  75. package/nationalarchives/stories/utilities/lists.stories.js +2 -2
  76. package/nationalarchives/stories/utilities/typography.mdx +15 -0
  77. package/nationalarchives/templates/homepage.njk +46 -46
  78. package/nationalarchives/templates/layouts/_generic.njk +49 -52
  79. package/nationalarchives/templates/layouts/_prototype-kit.njk +5 -0
  80. package/nationalarchives/templates/search-results.njk +31 -31
  81. package/nationalarchives/templates/topics.njk +33 -33
  82. package/nationalarchives/tools/_all.scss +1 -0
  83. package/nationalarchives/tools/_assets.scss +5 -0
  84. package/nationalarchives/tools/_grid.scss +52 -27
  85. package/nationalarchives/tools/_media.scss +12 -11
  86. package/nationalarchives/utilities/_global.scss +103 -3
  87. package/nationalarchives/utilities/_typography.scss +112 -92
  88. package/nationalarchives/variables/_all.scss +1 -0
  89. package/nationalarchives/variables/_assets.scss +1 -0
  90. package/nationalarchives/variables/_colour.scss +95 -1
  91. package/nationalarchives/variables/_media.scss +39 -11
  92. package/package.json +18 -16
  93. package/nationalarchives/assets/images/tna-square-logo-inverted.svg +0 -47
  94. package/nationalarchives/stories/development/structure.mdx +0 -7
@@ -1,3 +1,4 @@
1
+ @use "../variables/colour";
1
2
  @use "../variables/typography";
2
3
  @use "../tools/media";
3
4
  @use "../tools/typography" as tools;
@@ -9,14 +10,27 @@
9
10
  .tna-template {
10
11
  font-family: typography.$font-family-main;
11
12
  font-weight: typography.$font-weight-main;
13
+ // color: colour.$base-font-colour;
14
+ @include colour.colour-font("base-font");
12
15
  -moz-osx-font-smoothing: grayscale;
13
16
  -webkit-font-smoothing: antialiased;
14
17
  text-rendering: optimizeLegibility;
15
18
  -webkit-text-size-adjust: none;
16
19
  direction: ltr;
17
20
 
21
+ h1,
22
+ h2,
23
+ h3,
24
+ h4,
25
+ h5,
26
+ h6,
27
+ ul,
28
+ ol {
29
+ margin-top: 0;
30
+ }
31
+
18
32
  p {
19
- margin: 0 0 2rem;
33
+ margin: 0 0 1.5rem;
20
34
 
21
35
  &:last-child {
22
36
  margin-bottom: 0;
@@ -32,139 +46,145 @@
32
46
  text-decoration-thickness: 3px;
33
47
  }
34
48
  }
49
+ }
35
50
 
36
- .tna-template__body {
37
- @include tools.relative-font-size(16);
38
- line-height: 1.6;
39
- }
51
+ .tna-template__body {
52
+ @include tools.relative-font-size(16);
53
+ line-height: 1.6;
54
+ }
40
55
 
41
- .tna-ul,
42
- .tna-ol {
43
- padding-left: 2rem;
56
+ .tna-ul,
57
+ .tna-ol {
58
+ padding-left: 2rem;
44
59
 
45
- li::marker {
46
- color: #f0a;
47
- font-weight: 700;
48
- }
60
+ li::marker {
61
+ color: #f0a;
62
+ font-weight: 700;
49
63
  }
50
64
 
51
- .tna-ul--plain,
52
- .tna-ol--plain {
65
+ &--plain {
53
66
  padding-left: 0;
54
67
 
55
68
  list-style: none;
56
69
  }
70
+ }
57
71
 
58
- .tna-heading {
59
- margin-top: 0;
60
- margin-bottom: 1.5rem;
61
-
62
- font-family: typography.$font-family-heading;
63
- font-weight: typography.$font-weight-heading;
72
+ .tna-heading {
73
+ margin-bottom: 1.5rem;
64
74
 
65
- &:last-child {
66
- margin-bottom: 0;
67
- }
75
+ color: colour.$tna-black;
76
+ font-family: typography.$font-family-heading;
77
+ font-weight: typography.$font-weight-heading;
68
78
 
69
- &--xl {
70
- @include tools.relative-font-size(64);
71
- line-height: 1;
79
+ &:last-child {
80
+ margin-bottom: 0;
81
+ }
72
82
 
73
- @include media.on-medium {
74
- @include tools.relative-font-size(42);
75
- }
83
+ &--xl {
84
+ @include tools.relative-font-size(64);
85
+ line-height: 1;
76
86
 
77
- @include media.on-mobile {
78
- @include tools.relative-font-size(36);
79
- }
87
+ @include media.on-medium {
88
+ @include tools.relative-font-size(42);
80
89
  }
81
90
 
82
- &--l {
83
- @include tools.relative-font-size(32);
84
- line-height: 1.2;
91
+ @include media.on-mobile {
92
+ @include tools.relative-font-size(36);
93
+ }
94
+ }
85
95
 
86
- @include media.on-medium {
87
- @include tools.relative-font-size(26);
88
- }
96
+ &--l {
97
+ @include tools.relative-font-size(32);
98
+ line-height: 1.2;
89
99
 
90
- @include media.on-mobile {
91
- @include tools.relative-font-size(24);
92
- }
100
+ @include media.on-medium {
101
+ @include tools.relative-font-size(26);
93
102
  }
94
103
 
95
- &--m {
96
- @include tools.relative-font-size(20);
97
- line-height: 1.4;
104
+ @include media.on-mobile {
105
+ @include tools.relative-font-size(24);
98
106
  }
107
+ }
99
108
 
100
- &--s {
101
- @include tools.relative-font-size(18);
102
- line-height: 1.6;
103
- }
109
+ &--m {
110
+ @include tools.relative-font-size(20);
111
+ line-height: 1.4;
104
112
  }
105
113
 
106
- .tna-hgroup {
107
- margin-bottom: 2rem;
114
+ &--s {
115
+ @include tools.relative-font-size(18);
116
+ line-height: 1.6;
117
+ }
118
+ }
108
119
 
109
- &:last-child {
110
- margin-bottom: 0;
111
- }
120
+ .tna-hgroup {
121
+ margin-bottom: 2rem;
122
+
123
+ &:last-child {
124
+ margin-bottom: 0;
125
+ }
112
126
 
113
- &__supertitle {
114
- margin: 0;
127
+ &__supertitle {
128
+ margin: 0;
115
129
 
116
- @include tools.relative-font-size(14);
117
- font-family: typography.$font-family-detail;
118
- font-weight: typography.$font-weight-detail;
119
- text-transform: uppercase;
130
+ // color: colour.$base-font-colour;
131
+ @include colour.colour-font("base-font");
132
+ @include tools.relative-font-size(14);
133
+ font-family: typography.$font-family-detail;
134
+ font-weight: typography.$font-weight-detail;
135
+ text-transform: uppercase;
120
136
 
121
- // .tna-hgroup & {
122
- // margin: 0;
123
- // }
124
- }
137
+ // .tna-hgroup & {
138
+ // margin: 0;
139
+ // }
140
+ }
125
141
 
126
- &__title {
127
- margin: 0;
142
+ &__title {
143
+ margin: 0;
128
144
 
129
- .tna-hgroup__supertitle {
130
- display: block;
131
- }
145
+ color: colour.$tna-black;
146
+
147
+ .tna-hgroup__supertitle {
148
+ display: block;
149
+
150
+ // color: colour.$base-font-colour;
151
+ @include colour.colour-font("base-font");
132
152
  }
153
+ }
133
154
 
134
- &--xl {
135
- .tna-hgroup__supertitle {
136
- }
155
+ &--xl {
156
+ .tna-hgroup__supertitle {
157
+ }
137
158
 
138
- .tna-hgroup__title {
139
- @include tools.relative-font-size(64);
140
- }
159
+ .tna-hgroup__title {
160
+ @include tools.relative-font-size(64);
141
161
  }
162
+ }
142
163
 
143
- &--l {
144
- .tna-hgroup__supertitle {
145
- }
164
+ &--l {
165
+ .tna-hgroup__supertitle {
166
+ }
146
167
 
147
- .tna-hgroup__title {
148
- @include tools.relative-font-size(32);
149
- }
168
+ .tna-hgroup__title {
169
+ @include tools.relative-font-size(32);
150
170
  }
171
+ }
151
172
 
152
- &--m {
153
- .tna-hgroup__supertitle {
154
- }
173
+ &--m {
174
+ .tna-hgroup__supertitle {
175
+ }
155
176
 
156
- .tna-hgroup__title {
157
- @include tools.relative-font-size(20);
158
- }
177
+ .tna-hgroup__title {
178
+ @include tools.relative-font-size(20);
159
179
  }
180
+ }
160
181
 
161
- &--s {
162
- .tna-hgroup__supertitle {
163
- }
182
+ &--s {
183
+ .tna-hgroup__supertitle {
184
+ }
164
185
 
165
- .tna-hgroup__title {
166
- @include tools.relative-font-size(18);
167
- }
186
+ .tna-hgroup__title {
187
+ @include tools.relative-font-size(18);
168
188
  }
169
189
  }
170
190
  }
@@ -1,3 +1,4 @@
1
+ @use "assets";
1
2
  @use "colour";
2
3
  @use "grid";
3
4
  @use "media";
@@ -0,0 +1 @@
1
+ $tna-assets-path: "/assets" !default;
@@ -1 +1,95 @@
1
- $base-font-colour: #111 !default;
1
+ @use "sass:map";
2
+
3
+ $tna-black: #000;
4
+ $tna-yellow: #fc0;
5
+ $tna-pink: #fe1d57;
6
+ $tna-orange: #fd3f03;
7
+ $tna-green: #86bc25;
8
+ $tna-blue: #00b0ff;
9
+ $dark: #26262a;
10
+
11
+ $page-background: #fff;
12
+ $base-font: #343338;
13
+ $focus-outline: #004c7e;
14
+ $keyline: #ccc;
15
+
16
+ $colour-palette-default: (
17
+ "page-background": $page-background,
18
+ "base-font": $base-font,
19
+ "dark-font": $tna-black,
20
+ "focus-outline": $focus-outline,
21
+ "keyline": $keyline,
22
+ );
23
+
24
+ $colour-palette-dark: map.merge(
25
+ $colour-palette-default,
26
+ (
27
+ "page-background": $dark,
28
+ "base-font": #eee,
29
+ "dark-font": #fff,
30
+ "focus-outline": $tna-yellow,
31
+ "keyline": #444,
32
+ )
33
+ );
34
+
35
+ $colour-palette-high-contrast: map.merge(
36
+ $colour-palette-default,
37
+ (
38
+ "base-font": $tna-black,
39
+ "focus-outline": #f0a,
40
+ "keyline": $tna-black,
41
+ )
42
+ );
43
+
44
+ $colour-palette-high-contrast-dark: map.merge(
45
+ $colour-palette-dark,
46
+ (
47
+ "page-background": $tna-black,
48
+ "base-font": #fff,
49
+ "keyline": #fff,
50
+ )
51
+ );
52
+
53
+ @mixin colour-css-vars() {
54
+ @each $name, $value in $colour-palette-default {
55
+ --#{$name}: #{$value};
56
+ }
57
+ }
58
+
59
+ @mixin colour-css-vars-dark() {
60
+ @each $name, $value in $colour-palette-dark {
61
+ --#{$name}: #{$value};
62
+ }
63
+ }
64
+
65
+ @mixin colour-css-vars-high-contrast() {
66
+ @each $name, $value in $colour-palette-high-contrast {
67
+ --#{$name}: #{$value};
68
+ }
69
+ }
70
+
71
+ @mixin colour-css-vars-high-contrast-dark() {
72
+ @each $name, $value in $colour-palette-high-contrast-dark {
73
+ --#{$name}: #{$value};
74
+ }
75
+ }
76
+
77
+ @mixin colour-font($colour) {
78
+ color: map.get($colour-palette-default, $colour);
79
+ color: var(--#{$colour});
80
+ }
81
+
82
+ @mixin colour-background($colour) {
83
+ background-color: map.get($colour-palette-default, $colour);
84
+ background-color: var(--#{$colour});
85
+ }
86
+
87
+ @mixin colour-border($colour) {
88
+ border-color: map.get($colour-palette-default, $colour);
89
+ border-color: var(--#{$colour});
90
+ }
91
+
92
+ @mixin colour-outline($colour) {
93
+ outline-color: map.get($colour-palette-default, $colour);
94
+ outline-color: var(--#{$colour});
95
+ }
@@ -1,12 +1,40 @@
1
- $largest-medium-device: 1024px !default;
2
- $largest-small-device: 768px !default;
3
- $largest-tiny-device: 480px !default;
1
+ @use "sass:math";
2
+ @use "./typography";
4
3
 
5
- $media-large: "(min-width: #{$largest-medium-device + 1px})" !default;
6
- $media-lt-large: "(max-width: #{$largest-medium-device})" !default;
7
- $media-medium: "(min-width: #{$largest-small-device + 1px}) and (max-width: #{$largest-medium-device})" !default;
8
- $media-gt-mobile: "(min-width: #{$largest-small-device + 1px})" !default;
9
- $media-mobile: "(max-width: #{$largest-small-device})" !default;
10
- $media-small: "(min-width: #{$largest-tiny-device + 1px}) and (max-width: #{$largest-small-device})" !default;
11
- $media-gt-tiny: "(min-width: #{$largest-tiny-device + 1px})" !default;
12
- $media-tiny: "(max-width: #{$largest-tiny-device})" !default;
4
+ $largest-medium-device-px: 1024 !default;
5
+ $largest-small-device-px: 768 !default;
6
+ $largest-tiny-device-px: 480 !default;
7
+
8
+ $smallest-large-device-em: #{math.div(
9
+ $largest-medium-device-px + 1,
10
+ typography.$base-font-size-px
11
+ )}em;
12
+ $largest-medium-device-em: #{math.div(
13
+ $largest-medium-device-px,
14
+ typography.$base-font-size-px
15
+ )}em;
16
+ $smallest-medium-device-em: #{math.div(
17
+ $largest-small-device-px + 1,
18
+ typography.$base-font-size-px
19
+ )}em;
20
+ $largest-small-device-em: #{math.div(
21
+ $largest-small-device-px,
22
+ typography.$base-font-size-px
23
+ )}em;
24
+ $smallest-small-device-em: #{math.div(
25
+ $largest-tiny-device-px + 1,
26
+ typography.$base-font-size-px
27
+ )}em;
28
+ $largest-tiny-device-em: #{math.div(
29
+ $largest-tiny-device-px,
30
+ typography.$base-font-size-px
31
+ )}em;
32
+
33
+ $media-large: "(min-width: #{$smallest-large-device-em})";
34
+ $media-lt-large: "(max-width: #{$largest-medium-device-em})";
35
+ $media-medium: "(min-width: #{$smallest-medium-device-em}) and (max-width: #{$largest-medium-device-em})";
36
+ $media-gt-mobile: "(min-width: #{$smallest-medium-device-em})";
37
+ $media-mobile: "(max-width: #{$largest-small-device-em})";
38
+ $media-small: "(min-width: #{$smallest-small-device-em}) and (max-width: #{$largest-small-device-em})";
39
+ $media-gt-tiny: "(min-width: #{$smallest-small-device-em})";
40
+ $media-tiny: "(max-width: #{$largest-tiny-device-em})";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nationalarchives/frontend",
3
- "version": "0.1.8-prerelease",
3
+ "version": "0.1.10-prerelease",
4
4
  "description": "The National Archives frontend styles",
5
5
  "scripts": {
6
6
  "start": "storybook dev -p 6006",
7
7
  "build": "storybook build -o storybook",
8
- "test": "test-storybook --stories-json && node tasks/test-fixtures.js",
9
- "lint": "prettier --check '{src,.storybook,tasks}/**/*.{js,mjs,scss,json}' && stylelint 'src/**/*.scss' && eslint 'src/**/*.mjs'",
10
- "lint:fix": "prettier --write '{src,.storybook,tasks}/**/*.{js,mjs,scss,json}' && stylelint --fix 'src/**/*.scss' && eslint --fix 'src/**/*.mjs'",
8
+ "test": "test-storybook --verbose --stories-json && node tasks/test-fixtures.js",
9
+ "lint": "prettier --check '{src,.storybook,tasks}/**/*.{js,mjs,scss,json,html}' && stylelint 'src/**/*.scss' && eslint 'src/**/*.mjs'",
10
+ "lint:fix": "prettier --write '{src,.storybook,tasks}/**/*.{js,mjs,scss,json,html}' && stylelint --fix 'src/**/*.scss' && eslint --fix 'src/**/*.mjs'",
11
11
  "package:sass": "sass --style=compressed --quiet-deps src/nationalarchives/all.scss package/nationalarchives/all.css",
12
12
  "package:scripts": "webpack"
13
13
  },
@@ -42,36 +42,38 @@
42
42
  "@babel/core": "^7.19.1",
43
43
  "@babel/preset-env": "^7.22.5",
44
44
  "@mdx-js/react": "^2.1.3",
45
- "@storybook/addon-a11y": "^7.0.22",
46
- "@storybook/addon-docs": "^7.0.22",
47
- "@storybook/addon-essentials": "^7.0.22",
48
- "@storybook/addon-interactions": "^7.0.23",
49
- "@storybook/addon-links": "^7.0.22",
50
- "@storybook/addon-mdx-gfm": "^7.0.22",
51
- "@storybook/html": "^7.0.22",
52
- "@storybook/html-webpack5": "^7.0.22",
45
+ "@storybook/addon-a11y": "^7.0.27",
46
+ "@storybook/addon-docs": "^7.0.27",
47
+ "@storybook/addon-essentials": "^7.0.27",
48
+ "@storybook/addon-interactions": "^7.0.27",
49
+ "@storybook/addon-links": "^7.0.27",
50
+ "@storybook/addon-mdx-gfm": "^7.0.27",
51
+ "@storybook/html": "^7.0.27",
52
+ "@storybook/html-webpack5": "^7.0.27",
53
53
  "@storybook/jest": "^0.1.0",
54
54
  "@storybook/test-runner": "^0.11.0",
55
55
  "@storybook/testing-library": "^0.2.0",
56
56
  "babel-loader": "^9.0.1",
57
+ "chromatic": "^6.19.9",
57
58
  "copy-webpack-plugin": "^11.0.0",
58
59
  "css-loader": "^6.7.1",
59
60
  "diff": "^5.1.0",
60
61
  "eslint": "^8.43.0",
62
+ "eslint-plugin-storybook": "^0.6.12",
61
63
  "glob": "^10.2.7",
62
64
  "jest-image-snapshot": "^6.1.0",
63
65
  "nunjucks": "^3.2.3",
64
- "prettier": "^2.7.1",
66
+ "prettier": "^3.0.0",
65
67
  "react": "^18.2.0",
66
68
  "react-dom": "^18.2.0",
67
69
  "sass": "^1.54.9",
68
70
  "sass-loader": "^13.0.2",
69
71
  "simple-nunjucks-loader": "^3.2.0",
70
- "storybook": "^7.0.22",
72
+ "storybook": "^7.0.27",
71
73
  "style-loader": "^3.3.1",
72
74
  "stylelint": "^15.9.0",
73
- "stylelint-config-standard-scss": "^9.0.0",
74
- "stylelint-selector-bem-pattern": "^2.1.1",
75
+ "stylelint-config-standard-scss": "^10.0.0",
76
+ "stylelint-selector-bem-pattern": "^3.0.0",
75
77
  "webpack": "^5.74.0",
76
78
  "webpack-cli": "^5.1.4"
77
79
  }
@@ -1,47 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
3
- viewBox="0 0 160 160" style="enable-background:new 0 0 160 160;" xml:space="preserve">
4
- <style type="text/css">
5
- .st0{fill:#000;}
6
- .st1{fill:#fff;}
7
- </style>
8
- <rect class="st0" width="160" height="160"/>
9
- <path class="st1" d="M1.9,107.2h156.3V158H1.9V107.2z M1.9,54.5h79.1h77.2v50.8H1.9V54.5z M1.9,1.9h77.2v50.8H1.9V1.9z M80.9,1.9
10
- h77.2v50.8H80.9C80.9,52.7,80.9,1.9,80.9,1.9z M80.9,0H0v52.7v1.9v50.8v1.9v52.7h160v-52.7v-1.9V52.7V0H80.9z"/>
11
- <polygon class="st1" points="21.3,19.5 15.9,19.5 15.9,16.5 30.2,16.5 30.2,19.5 24.8,19.5 24.8,37.9 21.3,37.9 "/>
12
- <polygon class="st1" points="31.6,16.5 35,16.5 35,25.5 43.4,25.5 43.4,16.5 46.8,16.5 46.8,37.9 43.4,37.9 43.4,28.6 35,28.6
13
- 35,37.9 31.6,37.9 "/>
14
- <polygon class="st1" points="50.9,16.5 63.1,16.5 63.1,19.5 54.3,19.5 54.3,25.6 61.7,25.6 61.7,28.6 54.3,28.6 54.3,34.9
15
- 63.1,34.9 63.1,37.9 50.9,37.9 "/>
16
- <path class="st1" d="M19.7,69.2h3.8l6.4,12.5c0.6,1.1,1.1,2.7,1.6,4h0.2c-0.2-1.7-0.3-3.6-0.3-4.8V69.2h3.5v21.4h-3.7l-6.3-12.3
17
- c-0.7-1.4-1.2-2.7-1.7-4.2h-0.2c0.2,1.4,0.3,3.3,0.3,5v11.5h-3.5C19.7,90.6,19.7,69.2,19.7,69.2z"/>
18
- <path class="st1" d="M47.8,82.6l-1.7-6.3c-0.3-1.1-0.6-2.2-0.9-3.8H45c-0.3,1.6-0.5,2.6-0.8,3.8l-1.7,6.3H47.8z M43,69.2h4.2
19
- l6.2,21.4h-3.5l-1.5-5.2h-6.6l-1.4,5.2h-3.6L43,69.2z"/>
20
- <polygon class="st1" points="57.2,72.3 51.8,72.3 51.8,69.2 66,69.2 66,72.3 60.6,72.3 60.6,90.7 57.2,90.7 "/>
21
- <rect x="67.8" y="69.2" class="st1" width="3.5" height="21.4"/>
22
- <path class="st1" d="M87.5,80c0-5.3-1.7-8-4.8-8c-3.2,0-4.8,2.7-4.8,8c0,5.2,1.6,7.9,4.8,7.9C85.9,87.9,87.5,85.2,87.5,80 M74.2,80
23
- c0-7,3-11.1,8.5-11.1c5.4,0,8.4,4.1,8.4,11.1c0,6.9-3,11-8.4,11C77.3,91,74.2,86.9,74.2,80"/>
24
- <path class="st1" d="M94.3,69.2H98l6.4,12.5c0.6,1.1,1.2,2.7,1.7,4h0.2c-0.2-1.7-0.3-3.6-0.3-4.8V69.2h3.4v21.4h-3.7l-6.3-12.3
25
- c-0.7-1.4-1.2-2.7-1.7-4.2h-0.2c0.2,1.4,0.3,3.3,0.3,5v11.5h-3.5V69.2z"/>
26
- <path class="st1" d="M122.4,82.6l-1.7-6.3c-0.3-1.1-0.6-2.2-0.9-3.8h-0.2c-0.3,1.6-0.5,2.6-0.8,3.8l-1.7,6.3H122.4z M117.6,69.2h4.2
27
- l6.2,21.4h-3.5l-1.5-5.2h-6.6l-1.4,5.2h-3.6L117.6,69.2z"/>
28
- <polygon class="st1" points="129.9,69.2 133.4,69.2 133.4,87.6 141.8,87.6 141.8,90.7 129.9,90.7 "/>
29
- <path class="st1" d="M26.9,135.2l-1.7-6.3c-0.3-1.1-0.6-2.2-0.9-3.8h-0.2c-0.3,1.6-0.5,2.6-0.8,3.8l-1.7,6.3H26.9z M22.1,121.8h4.2
30
- l6.2,21.4H29l-1.5-5.2h-6.6l-1.4,5.2h-3.6L22.1,121.8z"/>
31
- <path class="st1" d="M39.9,132.5c2.5,0,3.4-1.6,3.4-3.9c0-2.2-1-3.8-3.4-3.8h-2.7v7.7H39.9z M33.8,121.8h6.4c4.5,0,6.7,2.4,6.7,6.6
32
- c0,3.1-1.5,5.6-3.7,6.3v0.2c1,1.1,4,7.5,4.8,7.9v0.5h-3.8c-1-0.6-3.6-7.2-4.4-7.8h-2.5v7.8h-3.5L33.8,121.8L33.8,121.8z"/>
33
- <path class="st1" d="M52.9,132.5c0,5.3,1.9,8,4.8,8c2.9,0,4-2,4-5.2l3.5,0.1c0,0.2,0.1,0.4,0.1,0.6c0,4.4-2.1,7.5-7.5,7.5
34
- c-5.2,0-8.5-3.9-8.5-11.1c0-7.1,3.3-11,8.5-11c6.4,0,7.5,4.6,7.5,7.2c0,0.3,0,0.7-0.1,0.9l-3.5,0.1c0-3.3-1.2-5.2-4-5.2
35
- C54.8,124.6,52.9,127.3,52.9,132.5"/>
36
- <polygon class="st1" points="68,121.8 71.5,121.8 71.5,130.9 79.8,130.9 79.8,121.8 83.3,121.8 83.3,143.3 79.8,143.3 79.8,133.9
37
- 71.5,133.9 71.5,143.3 68,143.3 "/>
38
- <rect x="87.9" y="121.8" class="st1" width="3.5" height="21.4"/>
39
- <path class="st1" d="M94.2,121.8h3.6l3.2,12.3c0.5,1.9,0.8,3.6,1.1,5.6h0.2c0.3-2,0.6-3.7,1.1-5.6l3.2-12.3h3.6l-6.1,21.4h-4.1
40
- L94.2,121.8z"/>
41
- <polygon class="st1" points="112.7,121.8 125,121.8 125,124.9 116.2,124.9 116.2,130.9 123.6,130.9 123.6,133.9 116.2,133.9
42
- 116.2,140.2 125,140.2 125,143.3 112.7,143.3 "/>
43
- <path class="st1" d="M130.4,136c0,0.2-0.1,0.5-0.1,0.8c0,1.9,0.8,3.7,3.4,3.7c2.1,0,3.3-1.2,3.3-2.9c0-1.6-0.7-2.4-2.2-3l-3.4-1.3
44
- c-2.4-0.9-4.2-2.4-4.2-5.7c0-3.5,2.3-6.1,6.6-6.1c5.5,0,6.4,3.6,6.4,5.9c0,0.3,0,0.7-0.1,1.1l-3.4,0.1c0-0.2,0.1-0.5,0.1-0.7
45
- c0-1.7-0.6-3.2-3-3.2c-2.1,0-3,1.2-3,2.8c0,1.7,0.9,2.5,2.2,2.9l3.5,1.3c2.6,1,4.3,2.6,4.3,5.8c0,3.6-2.4,6.1-7,6.1
46
- c-5.9,0-6.8-3.9-6.8-6.5c0-0.3,0-0.6,0.1-1L130.4,136z"/>
47
- </svg>
@@ -1,7 +0,0 @@
1
- import { Meta } from "@storybook/blocks";
2
-
3
- <Meta title="Development/Structure" />
4
-
5
- # Project structure
6
-
7
- [Technical details]