@caweb/webpack 1.3.44 → 1.4.0-beta.0
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.
- package/package.json +16 -9
- package/{plugins/html/webpack.config.js → webpack.config.js} +77 -49
- package/.github/workflows/config-publish.yml +0 -23
- package/.github/workflows/plugins-publish.yml +0 -31
- package/.github/workflows/test +0 -29
- package/.gitmodules +0 -3
- package/CHANGELOG.md +0 -273
- package/plugins/a11y/README.md +0 -19
- package/plugins/a11y/aceconfig.js +0 -44
- package/plugins/a11y/changelog.txt +0 -31
- package/plugins/a11y/index.js +0 -271
- package/plugins/a11y/package-lock.json +0 -3303
- package/plugins/a11y/package.json +0 -42
- package/plugins/css-audit/README.md +0 -20
- package/plugins/css-audit/changelog.txt +0 -41
- package/plugins/css-audit/css-audit.config.cjs +0 -5
- package/plugins/css-audit/default.config.js +0 -19
- package/plugins/css-audit/index.js +0 -326
- package/plugins/css-audit/package-lock.json +0 -1522
- package/plugins/css-audit/package.json +0 -53
- package/plugins/css-audit/sample/no-files.html +0 -9
- package/plugins/html/CHANGELOG.md +0 -300
- package/plugins/html/README.md +0 -62
- package/plugins/html/entry/delta.js +0 -19
- package/plugins/html/entry/eureka.js +0 -19
- package/plugins/html/entry/mono.js +0 -19
- package/plugins/html/entry/oceanside.js +0 -19
- package/plugins/html/entry/orangecounty.js +0 -19
- package/plugins/html/entry/pasorobles.js +0 -19
- package/plugins/html/entry/sacramento.js +0 -19
- package/plugins/html/entry/santabarbara.js +0 -19
- package/plugins/html/entry/santacruz.js +0 -19
- package/plugins/html/entry/shasta.js +0 -19
- package/plugins/html/entry/sierra.js +0 -19
- package/plugins/html/entry/trinity.js +0 -19
- package/plugins/html/index.js +0 -105
- package/plugins/html/package-lock.json +0 -22895
- package/plugins/html/package.json +0 -135
- package/plugins/html/sample/blank.html +0 -13
- package/plugins/html/sample/components/alerts.html +0 -32
- package/plugins/html/sample/components/animations.html +0 -7
- package/plugins/html/sample/components/buttons.html +0 -5
- package/plugins/html/sample/components/cards.html +0 -88
- package/plugins/html/sample/components/lists.html +0 -75
- package/plugins/html/sample/components/locations.html +0 -49
- package/plugins/html/sample/components/profile-banners.html +0 -48
- package/plugins/html/sample/components/sections.html +0 -16
- package/plugins/html/sample/components/service-tiles.html +0 -73
- package/plugins/html/sample/components/typography.html +0 -42
- package/plugins/html/sample/default.html +0 -53
- package/plugins/html/sample/favicon.ico +0 -0
- package/plugins/html/sample/images/black_puppy.jpg +0 -0
- package/plugins/html/sample/images/dolphin_marine_mammals_water.jpg +0 -0
- package/plugins/html/sample/images/grayscale_mountain.jpg +0 -0
- package/plugins/html/sample/images/silhouette.png +0 -0
- package/plugins/html/sample/images/squirrel_tail_bushy_tail.jpg +0 -0
- package/plugins/html/sample/index.html +0 -47
- package/plugins/html/sample/missing/content.html +0 -4
- package/plugins/html/sample/search.html +0 -55
- package/plugins/html/sample/structural/branding.html +0 -21
- package/plugins/html/sample/structural/footer.html +0 -47
- package/plugins/html/sample/structural/header.html +0 -16
- package/plugins/html/sample/structural/mobile-controls.html +0 -5
- package/plugins/html/sample/structural/navigation.html +0 -30
- package/plugins/html/sample/structural/search.html +0 -13
- package/plugins/html/sample/structural/utility-header.html +0 -23
- package/plugins/html/scripts/create-entrypoints.js +0 -60
- package/plugins/html/scripts/schemes.js +0 -123
- package/plugins/html/scripts/update-scripts.js +0 -47
- package/plugins/html/scripts/webpack.test.js +0 -41
- package/plugins/jshint/.customrc +0 -29
- package/plugins/jshint/.jshintrc +0 -31
- package/plugins/jshint/README.md +0 -24
- package/plugins/jshint/changelog.txt +0 -36
- package/plugins/jshint/index.js +0 -291
- package/plugins/jshint/package-lock.json +0 -24453
- package/plugins/jshint/package.json +0 -50
- package/plugins/jshint/reporter.cjs +0 -301
- package/plugins/jshint/sample/no-files.html +0 -9
- package/plugins/jshint/scripts/webpack.test.js +0 -18
- package/sample/index.html +0 -364
- package/scripts/update-deps.js +0 -38
- /package/{plugins/html/helpers → helpers}/logic/endsWith.js +0 -0
- /package/{plugins/html/helpers → helpers}/logic/ifCond.js +0 -0
- /package/{plugins/html/helpers → helpers}/object/jsonParse.js +0 -0
- /package/{plugins/html/helpers → helpers}/object/jsonStringify.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/replace.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toLower.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toTitleCase.js +0 -0
- /package/{plugins/html/helpers → helpers}/string/toUpper.js +0 -0
- /package/{plugins/html/tsconfig.json → tsconfig.json} +0 -0
package/sample/index.html
DELETED
|
@@ -1,364 +0,0 @@
|
|
|
1
|
-
<div class="header-primary-banner hidden-print">
|
|
2
|
-
<div class="container">
|
|
3
|
-
<div class="row my-4">
|
|
4
|
-
<div class="col my-auto">
|
|
5
|
-
<h1 class="color-white font-weight-600">State Web Template V6</h1>
|
|
6
|
-
<div class="color-white lead m-b-lg line-height-1-6em" style="max-width:22em;">
|
|
7
|
-
Use the latest version of the template to develop your websites and
|
|
8
|
-
applications
|
|
9
|
-
</div>
|
|
10
|
-
<div class="btn-row p-b">
|
|
11
|
-
<a href="/download-and-setup.html" class="btn btn-primary">Download and setup</a>
|
|
12
|
-
</div>
|
|
13
|
-
</div>
|
|
14
|
-
<div class="col my-auto">
|
|
15
|
-
<img class="py-3" width="100%" src="https://template.webstandards.ca.gov/images/header-bear.svg" alt="" style="aspect-ratio: 1146 / 827">
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<!--Icon Image Blocks-->
|
|
21
|
-
<div style="background:#EDEDEF;">
|
|
22
|
-
<div class="container p-t-lg">
|
|
23
|
-
<div class="row">
|
|
24
|
-
<div class="third m-b-lg round-card">
|
|
25
|
-
<!-- Icon Blocks -->
|
|
26
|
-
<a href="/components.html" class="no-underline d-block p-a-md color-gray-dark" title="Browse components">
|
|
27
|
-
<div class="text-center">
|
|
28
|
-
<img class="image-icon rounded-50x m-b" height="155px" src="https://template.webstandards.ca.gov/images/browse-components.svg" alt="" style="width:138px;">
|
|
29
|
-
<strong class="h5 m-b-sm m-t-0 d-block">Browse components</strong>
|
|
30
|
-
</div>
|
|
31
|
-
</a>
|
|
32
|
-
<!-- End Icon Blocks -->
|
|
33
|
-
</div>
|
|
34
|
-
<div class="third m-b-lg round-card">
|
|
35
|
-
<!-- Icon Blocks -->
|
|
36
|
-
<a href="/visual-design/icons.html#Search-icons" class="no-underline d-block p-a-md color-gray-dark" title="Search icons">
|
|
37
|
-
<div class="text-center">
|
|
38
|
-
<img class="image-icon rounded-50x m-b" height="155px" src="https://template.webstandards.ca.gov/images/search-icons.svg" alt="" style="width:138px;">
|
|
39
|
-
<strong class="h5 m-b-sm m-t-0 d-block">Search icons</strong>
|
|
40
|
-
</div>
|
|
41
|
-
</a>
|
|
42
|
-
<!-- End Icon Blocks -->
|
|
43
|
-
</div>
|
|
44
|
-
<div class="third m-b-lg round-card">
|
|
45
|
-
<!-- Icon Blocks -->
|
|
46
|
-
<a href="/visual-design/color.html#ColorThemes" class="no-underline d-block p-a-md color-gray-dark" title="Color themes">
|
|
47
|
-
<div class="text-center">
|
|
48
|
-
<img class="image-icon rounded-50x m-b" height="155px" src="https://template.webstandards.ca.gov/images/explore-color-themes.svg" alt="" style="width:138px;">
|
|
49
|
-
<strong class="h5 m-b-sm m-t-0 d-block">
|
|
50
|
-
Explore color themes
|
|
51
|
-
</strong>
|
|
52
|
-
</div>
|
|
53
|
-
</a>
|
|
54
|
-
<!-- End Icon Blocks -->
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
<!-- End group -->
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
<div class="container">
|
|
61
|
-
<h2 class="p-t-1 p-b-3">What's new in V6</h2>
|
|
62
|
-
<div class="row">
|
|
63
|
-
<div class="col-md-4 m-b-md p-3 outline-1-gray-200-hover">
|
|
64
|
-
<div class="h-100 bg-gray-100 bg-gray-50-hover pos-rel">
|
|
65
|
-
<div class="bg-primary-secondary-gradient p-a d-flex justify-content-center align-items-center">
|
|
66
|
-
<img class="p-4" height="155px" src="https://template.webstandards.ca.gov/images/pattern-icon.svg" style="aspect-ratio: 1" alt="">
|
|
67
|
-
</div>
|
|
68
|
-
|
|
69
|
-
<div class="p-a-md">
|
|
70
|
-
<h3 class="h4 m-t-0 m-b-sm">
|
|
71
|
-
<a class="color-gray-dark text-decoration-none link-before" href="/patterns.html" aria-label="Content patterns">
|
|
72
|
-
Patterns
|
|
73
|
-
</a>
|
|
74
|
-
</h3>
|
|
75
|
-
<p>
|
|
76
|
-
Content patterns are now available! This design solution will help your visitors complete their tasks.
|
|
77
|
-
</p>
|
|
78
|
-
</div>
|
|
79
|
-
</div>
|
|
80
|
-
</div>
|
|
81
|
-
|
|
82
|
-
<div class="col-md-4 m-b-md p-3 outline-1-gray-200-hover">
|
|
83
|
-
<div class="h-100 bg-gray-100 bg-gray-50-hover pos-rel">
|
|
84
|
-
<div class="bg-primary-secondary-gradient p-a d-flex justify-content-center align-items-center">
|
|
85
|
-
<img class="p-4" height="155px" src="https://template.webstandards.ca.gov/images/nav-icon.svg" style="aspect-ratio: 1" alt="">
|
|
86
|
-
</div>
|
|
87
|
-
|
|
88
|
-
<div class="p-a-md">
|
|
89
|
-
<h3 class="h4 m-t-0 m-b-sm">
|
|
90
|
-
<a class="color-gray-dark text-decoration-none link-before" href="/structure/site-navigation.html" aria-label="Enhanced navigation">
|
|
91
|
-
Enhanced navigation
|
|
92
|
-
</a>
|
|
93
|
-
</h3>
|
|
94
|
-
<p>
|
|
95
|
-
Better wayfinding and new side navigation makes developing user-friendly websites easier than ever.
|
|
96
|
-
</p>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
<div class="col-md-4 m-b-md p-3 outline-1-gray-200-hover">
|
|
102
|
-
<div class="h-100 bg-gray-100 bg-gray-50-hover pos-rel">
|
|
103
|
-
<div class="bg-primary-secondary-gradient p-a d-flex justify-content-center align-items-center">
|
|
104
|
-
<img class="p-4" height="155px" src="https://template.webstandards.ca.gov/images/refreshed-icon.svg" style="aspect-ratio: 1" alt="">
|
|
105
|
-
</div>
|
|
106
|
-
<div class="p-a-md">
|
|
107
|
-
<h3 class="h4 m-t-0 m-b-sm">
|
|
108
|
-
<a class="color-gray-dark text-decoration-none link-before" href="/visual-design/typography.html" aria-label="Refreshed visual design">
|
|
109
|
-
Refreshed visual design
|
|
110
|
-
</a>
|
|
111
|
-
</h3>
|
|
112
|
-
<p>
|
|
113
|
-
We’ve enhanced our typography with the Public Sans font family. Strengthen your department’s brand and content with this strong, neutral typeface.
|
|
114
|
-
</p>
|
|
115
|
-
<p>Visit <a href="/whats-new.html">What’s new</a> for more detail on V6 template and website updates.</p>
|
|
116
|
-
</div>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
<p class="link-action m-b-md">
|
|
121
|
-
<span class="d-flex flex-center lh-1">
|
|
122
|
-
<svg class="m-r-sm height-20" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 23">
|
|
123
|
-
<path d="m19 22.1-1.1-1 8.8-8.8H0v-1.6h26.7L17.9 2 19 1l10.6 10.6L19 22.1Z" fill="#046B99"></path>
|
|
124
|
-
</svg>
|
|
125
|
-
<span>
|
|
126
|
-
Visit
|
|
127
|
-
<a href="/whats-new.html">What’s new</a>
|
|
128
|
-
for more detail on V6 template and website updates.
|
|
129
|
-
</span>
|
|
130
|
-
</span>
|
|
131
|
-
</p>
|
|
132
|
-
</div>
|
|
133
|
-
<!-- Static Process Bold -->
|
|
134
|
-
|
|
135
|
-
<div style="background:linear-gradient(0deg, rgba(73, 147, 181, 0.2) 4.53%, rgba(73, 147, 181, 0) 100%);overflow:hidden;min-height:632px;">
|
|
136
|
-
<div class="container mb-2">
|
|
137
|
-
<div style="margin-bottom:6rem;max-width:876px;">
|
|
138
|
-
<h2>The State Template is one step closer to the Design System</h2>
|
|
139
|
-
<p>
|
|
140
|
-
The final release (V6) of the State Web Template is part of a planned move to the Design System. V6 of the State Template moves us one step closer to a new statewide digital standard. This timeline describes our planned activities and release dates.
|
|
141
|
-
</p>
|
|
142
|
-
</div>
|
|
143
|
-
</div>
|
|
144
|
-
<div class="container">
|
|
145
|
-
<div class="row timeline-lines">
|
|
146
|
-
<div class="col-sm-3" style="margin-top:-1rem;">
|
|
147
|
-
<!-- Static Process -->
|
|
148
|
-
<div class="dot-line brd-transparent-before brd-primary-light-after">
|
|
149
|
-
<span class="dot-line-inner bg-white bg-primary-before brd-gray-light"></span>
|
|
150
|
-
</div>
|
|
151
|
-
<div class="dot-text">
|
|
152
|
-
<h3 class="h5 mb-0" style="font-size:23px;color:#035376;">2021</h3>
|
|
153
|
-
<p class="mb-4">
|
|
154
|
-
Release the beta version of the new statewide Design System
|
|
155
|
-
</p>
|
|
156
|
-
</div>
|
|
157
|
-
<!-- End Static Process -->
|
|
158
|
-
</div>
|
|
159
|
-
|
|
160
|
-
<div class="col-sm-3" style="margin-top:-1rem;">
|
|
161
|
-
<!-- Static Process -->
|
|
162
|
-
<div class="dot-line brd-primary-light-before brd-primary-light-after">
|
|
163
|
-
<span class="dot-line-inner bg-white bg-primary-before brd-gray-light"></span>
|
|
164
|
-
</div>
|
|
165
|
-
<div class="dot-text">
|
|
166
|
-
<h3 class="h5 mb-0" style="font-size:23px;color:#035376;">2022</h3>
|
|
167
|
-
<p class="mb-4">
|
|
168
|
-
Update and modernize the State Web Template V6
|
|
169
|
-
</p>
|
|
170
|
-
</div>
|
|
171
|
-
<!-- End Static Process -->
|
|
172
|
-
</div>
|
|
173
|
-
|
|
174
|
-
<div class="col-sm-3" style="margin-top:-1rem;">
|
|
175
|
-
<!-- Static Process -->
|
|
176
|
-
<div class="dot-line brd-primary-light-before brd-gray-light-after">
|
|
177
|
-
<span class="dot-line-inner bg-white bg-primary-before brd-gray-light"></span>
|
|
178
|
-
</div>
|
|
179
|
-
<div class="dot-text">
|
|
180
|
-
<h3 class="h5 mb-0" style="font-size:23px;color:#035376;">2023</h3>
|
|
181
|
-
<p class="mb-4">
|
|
182
|
-
Release the first production version of the State Web Template V6
|
|
183
|
-
</p>
|
|
184
|
-
</div>
|
|
185
|
-
<!-- End Static Process -->
|
|
186
|
-
</div>
|
|
187
|
-
|
|
188
|
-
<div class="col-sm-3" style="margin-top:-1rem;">
|
|
189
|
-
<!-- Static Process -->
|
|
190
|
-
<div class="dot-line brd-gray-light-before brd-transparent-after">
|
|
191
|
-
<span class="dot-line-inner bg-grey-light brd-gray-light"></span>
|
|
192
|
-
</div>
|
|
193
|
-
<div class="dot-text">
|
|
194
|
-
<h3 class="h5 mb-0" style="font-size:23px;color:#035376;">2024+</h3>
|
|
195
|
-
<p class="mb-4">
|
|
196
|
-
Release Eureka, the next version of the Design System and support a transition to it
|
|
197
|
-
</p>
|
|
198
|
-
</div>
|
|
199
|
-
<!-- End Static Process -->
|
|
200
|
-
</div>
|
|
201
|
-
</div>
|
|
202
|
-
</div>
|
|
203
|
-
</div>
|
|
204
|
-
<!-- End Static Process -->
|
|
205
|
-
|
|
206
|
-
<style></style>
|
|
207
|
-
<div class="container">
|
|
208
|
-
<h2 class="p-t-1 p-b-3">Who's using V6</h2>
|
|
209
|
-
<div class="row">
|
|
210
|
-
<div class="col-md-6 m-b-md p-r-lg-desktop">
|
|
211
|
-
<div class="pos-rel m-b-0 overflow-hidden bg-white text-center brd-solid-1 brd-gray-200">
|
|
212
|
-
<picture>
|
|
213
|
-
<source media="(max-width: 575px)" srcset="https://template.webstandards.ca.gov/images/homepage-sample-cdt-low.jpg">
|
|
214
|
-
<img class="img-fluid w-100" src="https://template.webstandards.ca.gov/images/homepage-sample-cdt.jpg" style="aspect-ratio: 450 / 310" alt="Homepage screenshot of California Department of Technology website.">
|
|
215
|
-
</picture>
|
|
216
|
-
</div>
|
|
217
|
-
|
|
218
|
-
<div class="pt-3 m-b-lg" style="min-height: 236px;">
|
|
219
|
-
<h3 class="h4 m-t-0 m-b-sm">California Department of Technology website redesign</h3>
|
|
220
|
-
<p>
|
|
221
|
-
The template components, patterns, and structure made it easier to develop and design. With more free time, the team could focus on content, UX design, and branding. They help departments deliver public services through strategy, innovation, and delivery
|
|
222
|
-
</p>
|
|
223
|
-
|
|
224
|
-
<span class="d-flex flex-center lh-1">
|
|
225
|
-
<svg class="m-r-sm height-20" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 23">
|
|
226
|
-
<path d="m19 22.1-1.1-1 8.8-8.8H0v-1.6h26.7L17.9 2 19 1l10.6 10.6L19 22.1Z" fill="#046B99"></path>
|
|
227
|
-
</svg>
|
|
228
|
-
<a class="font-weight-bold" href="https://www.cdt.ca.gov/">cdt.ca.gov</a>
|
|
229
|
-
</span>
|
|
230
|
-
</div>
|
|
231
|
-
</div>
|
|
232
|
-
|
|
233
|
-
<div class="col-md-6 m-b-md p-l-lg-desktop">
|
|
234
|
-
<div class="pos-rel m-b-0 overflow-hidden bg-white text-center brd-solid-1 brd-gray-200">
|
|
235
|
-
<picture>
|
|
236
|
-
<source media="(max-width: 575px)" srcset="https://template.webstandards.ca.gov/images/homepage-sample-build-low.jpg">
|
|
237
|
-
<img class="img-fluid w-100" src="https://template.webstandards.ca.gov/images/homepage-sample-build.jpg" style="aspect-ratio: 450 / 310" alt="Homepage screenshot of build.ca.gov website.">
|
|
238
|
-
</picture>
|
|
239
|
-
</div>
|
|
240
|
-
|
|
241
|
-
<div class="pt-3 m-b-lg" style="min-height: 236px;">
|
|
242
|
-
<h3 class="h4 m-t-0 m-b-sm">Build.ca.gov</h3>
|
|
243
|
-
<p>
|
|
244
|
-
The template and UI kit helped the design team fast track designs and prototypes . The template provided a good foundation to share updates on infrastructure projects in California.
|
|
245
|
-
</p>
|
|
246
|
-
<span class="d-flex flex-center lh-1">
|
|
247
|
-
<svg class="m-r-sm height-20" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 23">
|
|
248
|
-
<path d="m19 22.1-1.1-1 8.8-8.8H0v-1.6h26.7L17.9 2 19 1l10.6 10.6L19 22.1Z" fill="#046B99"></path>
|
|
249
|
-
</svg>
|
|
250
|
-
<a class="font-weight-bold" href="https://www.build.ca.gov/">
|
|
251
|
-
build.ca.gov
|
|
252
|
-
</a>
|
|
253
|
-
</span>
|
|
254
|
-
</div>
|
|
255
|
-
</div>
|
|
256
|
-
</div>
|
|
257
|
-
</div>
|
|
258
|
-
<div class="bg-primary-gradient p-b-md">
|
|
259
|
-
<div class="partner-with-us container">
|
|
260
|
-
<div class="row">
|
|
261
|
-
<div class="col-sm-6">
|
|
262
|
-
<div class="pb-3">
|
|
263
|
-
<h2 class="mt-5 mb-2 text-white">Partner with us</h2>
|
|
264
|
-
<p class="text-white pb-3">
|
|
265
|
-
Improvements to the State Web Template and the Design System are
|
|
266
|
-
largely driven by your feedback. We’d love to hear from you!
|
|
267
|
-
</p>
|
|
268
|
-
</div>
|
|
269
|
-
</div>
|
|
270
|
-
<div class="col-sm-6 p-l-lg">
|
|
271
|
-
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 395 153">
|
|
272
|
-
<mask id="a" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="395" height="153">
|
|
273
|
-
<path fill="#D9D9D9" d="M0 0H395V153H0z"></path>
|
|
274
|
-
</mask>
|
|
275
|
-
<g mask="url(#a)" stroke-miterlimit="10" stroke-linejoin="round">
|
|
276
|
-
<path d="M371 7.7 118.8-92 236.3 17.6 371 7.7Z" stroke="#3689AD" stroke-width="2"></path>
|
|
277
|
-
<path d="M118.8-92.1 236.3 17.6 0 86.8l118.8-179Z" stroke="#3689AD" stroke-width="2"></path>
|
|
278
|
-
<path d="m371 7.7-134.7 10V151L371 7.7Z" fill="url(#b)" fill-opacity=".4" stroke="#3689AD" stroke-width="2"></path>
|
|
279
|
-
<path d="M236.3 151.1V17.6L0 86.8l236.3 64.3Z" stroke="#3689AD" stroke-width="2"></path>
|
|
280
|
-
<path d="m391 56.2-53.3 2.6L289 76.2l57.7-3 44.3-17Z" fill="url(#c)" stroke="#FECD61"></path>
|
|
281
|
-
<path d="m346.7 73.2 44.3-17-27.4 64.8-16.9-47.8Z" fill="url(#d)" stroke="#FECD61"></path>
|
|
282
|
-
<path d="m363.6 121-16.9-47.8-57.7 3 74.6 44.7Z" fill="url(#e)" stroke="#FECD61"></path>
|
|
283
|
-
</g>
|
|
284
|
-
<defs>
|
|
285
|
-
<linearGradient id="b" x1="236" y1="151.3" x2="324.6" y2="-17" gradientUnits="userSpaceOnUse">
|
|
286
|
-
<stop stop-color="#fff" stop-opacity=".1"></stop>
|
|
287
|
-
<stop offset="1" stop-color="#fff"></stop>
|
|
288
|
-
</linearGradient>
|
|
289
|
-
<linearGradient id="c" x1="329.7" y1="70" x2="444.2" y2="24.7" gradientUnits="userSpaceOnUse">
|
|
290
|
-
<stop stop-color="#FDB81E"></stop>
|
|
291
|
-
<stop offset="1" stop-color="#fff"></stop>
|
|
292
|
-
</linearGradient>
|
|
293
|
-
<linearGradient id="d" x1="312" y1="142.3" x2="374.4" y2="32.2" gradientUnits="userSpaceOnUse">
|
|
294
|
-
<stop stop-color="#323A45"></stop>
|
|
295
|
-
<stop offset=".5" stop-color="#FDB81E"></stop>
|
|
296
|
-
<stop offset="1" stop-color="#FFFEFD"></stop>
|
|
297
|
-
<stop offset="1" stop-color="#fff"></stop>
|
|
298
|
-
<stop offset="1" stop-color="#fff"></stop>
|
|
299
|
-
</linearGradient>
|
|
300
|
-
<linearGradient id="e" x1="326.3" y1="73.2" x2="333.7" y2="226.8" gradientUnits="userSpaceOnUse">
|
|
301
|
-
<stop stop-color="#FDB81E"></stop>
|
|
302
|
-
<stop offset="1" stop-color="#323A45"></stop>
|
|
303
|
-
</linearGradient>
|
|
304
|
-
</defs>
|
|
305
|
-
</svg>
|
|
306
|
-
</div>
|
|
307
|
-
</div>
|
|
308
|
-
<div class="row">
|
|
309
|
-
<div class="col-lg-4 m-b-md">
|
|
310
|
-
<div class="d-flex">
|
|
311
|
-
<div class="m-b-0">
|
|
312
|
-
<img class="p-1" height="120px" src="https://template.webstandards.ca.gov/images/idea-icon.svg" style="aspect-ratio: 1" alt="">
|
|
313
|
-
</div>
|
|
314
|
-
<div class="p-a align-self-center">
|
|
315
|
-
<p class="text-white">
|
|
316
|
-
Have an idea or an issue?
|
|
317
|
-
<br>
|
|
318
|
-
<a class="partner-link text-white" href="https://github.com/Office-of-Digital-Services/California-State-Web-Template-Website/issues">
|
|
319
|
-
Reach out in GitHub
|
|
320
|
-
</a>
|
|
321
|
-
</p>
|
|
322
|
-
</div>
|
|
323
|
-
</div>
|
|
324
|
-
</div>
|
|
325
|
-
|
|
326
|
-
<div class="col-lg-4 m-b-md">
|
|
327
|
-
<div class="d-flex">
|
|
328
|
-
<div class="m-b-0">
|
|
329
|
-
<img class="p-1" height="120px" src="https://template.webstandards.ca.gov/images/feedback-icon.svg" style="aspect-ratio: 1" alt="">
|
|
330
|
-
</div>
|
|
331
|
-
|
|
332
|
-
<div class="p-a align-self-center">
|
|
333
|
-
<p class="text-white">
|
|
334
|
-
Want to give website feedback?
|
|
335
|
-
<br>
|
|
336
|
-
<a class="partner-link text-white" href="https://airtable.com/shro9V6ry2Cf4mpgG">
|
|
337
|
-
Fill out this form
|
|
338
|
-
</a>
|
|
339
|
-
</p>
|
|
340
|
-
</div>
|
|
341
|
-
</div>
|
|
342
|
-
</div>
|
|
343
|
-
|
|
344
|
-
<div class="col-lg-4 m-b-md">
|
|
345
|
-
<div class="d-flex">
|
|
346
|
-
<div class="m-b-0">
|
|
347
|
-
<img class="p-1" height="120px" style="aspect-ratio: 1" src="https://template.webstandards.ca.gov/images/support-icon.svg" alt="">
|
|
348
|
-
</div>
|
|
349
|
-
|
|
350
|
-
<div class="p-a align-self-center">
|
|
351
|
-
<p class="text-white">
|
|
352
|
-
Need template support?
|
|
353
|
-
<br>
|
|
354
|
-
<a class="partner-link text-white" href="/contact-us.html">
|
|
355
|
-
Email the team
|
|
356
|
-
</a>
|
|
357
|
-
</p>
|
|
358
|
-
</div>
|
|
359
|
-
</div>
|
|
360
|
-
</div>
|
|
361
|
-
</div>
|
|
362
|
-
</div>
|
|
363
|
-
</div>
|
|
364
|
-
|
package/scripts/update-deps.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* External dependencies
|
|
5
|
-
*/
|
|
6
|
-
import fs from 'fs';
|
|
7
|
-
import path from 'path';
|
|
8
|
-
|
|
9
|
-
const localFile = path.join(process.cwd(), 'package.json');
|
|
10
|
-
const depPath = process.argv[2];
|
|
11
|
-
|
|
12
|
-
// only run if dependency path was passed.
|
|
13
|
-
if( depPath ){
|
|
14
|
-
let currentPkg = JSON.parse( fs.readFileSync(localFile) );
|
|
15
|
-
|
|
16
|
-
// iterate over dep path
|
|
17
|
-
fs.readdirSync( path.resolve( depPath ) ).forEach( file => {
|
|
18
|
-
// if directory has a package.json file
|
|
19
|
-
if(
|
|
20
|
-
fs.statSync(path.resolve(depPath, file)).isDirectory() &&
|
|
21
|
-
fs.existsSync(path.resolve(depPath, file, 'package.json'))
|
|
22
|
-
){
|
|
23
|
-
const {name, version} = JSON.parse( fs.readFileSync(path.resolve(depPath, file, 'package.json')) );
|
|
24
|
-
|
|
25
|
-
// update package.json
|
|
26
|
-
currentPkg.dependencies[name] = `^${version}`
|
|
27
|
-
}
|
|
28
|
-
})
|
|
29
|
-
|
|
30
|
-
// write update back to file
|
|
31
|
-
fs.writeFileSync(
|
|
32
|
-
localFile,
|
|
33
|
-
JSON.stringify( currentPkg, null, 2 )
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
}else{
|
|
37
|
-
console.log( 'Error: ', 'Dependency path not provided.')
|
|
38
|
-
}
|
|
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
|