Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/upstream merge #4

Open
wants to merge 295 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
295 commits
Select commit Hold shift + click to select a range
06eabbe
Revert "Update dependency style-loader to v4"
AlexSkrypnyk Apr 10, 2024
0f92c80
Added issue templates. [skip ci]
AlexSkrypnyk Apr 18, 2024
4baca34
Create SECURITY.md
AlexSkrypnyk Apr 18, 2024
cbe7562
Added more links for GitHub templates.
AlexSkrypnyk Apr 19, 2024
f3ee8c5
Update pandoc/core Docker tag to v3.13 (#140)
renovate[bot] May 7, 2024
bf38e41
[#124] [#125] [#127] Created/Updated centralised Storybook helpers. (…
joshua-salsadigital May 7, 2024
eff44bb
Fixed pandoc version.
AlexSkrypnyk May 29, 2024
93299dd
Allow empty issues.
AlexSkrypnyk May 29, 2024
fdfe967
Fixed social icons links in the footer story.
AlexSkrypnyk May 29, 2024
134d386
Added knob proxy.
AlexSkrypnyk May 31, 2024
7e172aa
Added `reset` command.
AlexSkrypnyk May 31, 2024
a68261e
Renamed `lint:fix` to `lint-fix`.
AlexSkrypnyk May 31, 2024
311a5e6
Fixed form element.
AlexSkrypnyk May 31, 2024
383d757
[#160] Added NodeJS 22 build to CI.
AlexSkrypnyk May 31, 2024
a8ab5b1
[#154] Fixed TOC not appearing in Storybook.
AlexSkrypnyk May 31, 2024
52625d1
[#155] Fixed missing Banner background in Storybook and added support…
AlexSkrypnyk May 31, 2024
9393718
Added Twig CS Fixer.
AlexSkrypnyk May 31, 2024
82e7d7f
[#156] Updated Campaign to use square image within a container of equ…
AlexSkrypnyk May 31, 2024
ebbe395
Added Twig linter to CI and fixed Footer story.
AlexSkrypnyk May 31, 2024
d2e338a
[#152] Fixed Alert API storybook page.
AlexSkrypnyk May 31, 2024
800f45f
Fixed Breadcrumb knobs in Banner.
AlexSkrypnyk May 31, 2024
ace2041
Allow to set Content and Content below theme in Banner story.
AlexSkrypnyk May 31, 2024
7a2eb06
[#169] Fixed image as icon on Navigation card.
AlexSkrypnyk May 31, 2024
bd92053
[#172] Fixed Icon colour on Navigation card.
AlexSkrypnyk May 31, 2024
287f628
Added column knob to List story.
AlexSkrypnyk Jun 1, 2024
54fe164
Added Navigation card wide variant.
AlexSkrypnyk Jun 1, 2024
5dc39d9
Updated Navigation card image to grow width up to 30% of the container.
AlexSkrypnyk Jun 1, 2024
ab8f3b9
Added story wrapper decorator.
AlexSkrypnyk Jun 1, 2024
2f1857f
Added resizer capability to story wrapper and toolbar.
AlexSkrypnyk Jun 2, 2024
18f11f6
Fixed text generation on List content.
AlexSkrypnyk Jun 2, 2024
1409b2d
[#73] Updated `Navigation card` to change orientation to vertical in …
AlexSkrypnyk Jun 2, 2024
a88f159
#149 Remove Obsolete icons.
govindmaloo Jun 2, 2024
4ffea79
[#178] Merged `Item Grid` into `Grid`.
AlexSkrypnyk Jun 3, 2024
78c789f
[#147] Updated Chip component color mapping. (#176)
govindmaloo Jun 3, 2024
d0311f5
Updated Layout to support Left/Right rail and CSSGrid. (#183)
AlexSkrypnyk Jun 4, 2024
665b8ad
[#58] Added Field as a molecule-level component. (#182)
joshua-salsadigital Jun 4, 2024
8c392ed
[#150] Updated Select styles to designs from 1.8 (#186)
AlexSkrypnyk Jun 5, 2024
8e34201
Fixed event name on Alert and Group Filter.
AlexSkrypnyk Jun 5, 2024
9849f32
[#109] Added Page story and updated multiple component stories to be …
AlexSkrypnyk Jun 6, 2024
e278403
Renamed `props` to `parentKnobs`.
AlexSkrypnyk Jun 6, 2024
41e0c13
Replaced `slots` with `props`.
AlexSkrypnyk Jun 6, 2024
9c7dde5
Renamed `StoryValues` to `KnobValues`.
AlexSkrypnyk Jun 6, 2024
6e583ac
[#184] Added reset button and disabling of the buttons if none of the…
AlexSkrypnyk Jun 6, 2024
e93dabf
[126] Created Checkbox group & updated checkbox element. (#188)
joshua-salsadigital Jun 6, 2024
e146356
[61] Created Radio group & updated radio element. (#189)
joshua-salsadigital Jun 6, 2024
ca7f97b
Added Welcome page.
AlexSkrypnyk Jun 6, 2024
2ddb7c2
Renamed `rail` to `sidebar` in `Layout`.
AlexSkrypnyk Jun 7, 2024
7e38377
Fixed reset button to be input.type=reset.
AlexSkrypnyk Jun 11, 2024
79efa08
Fixed buttons growing in the Single filter.
AlexSkrypnyk Jun 11, 2024
1df1e03
[#198] Fixed incorrectly sets URLs and dates on cards in List stories.
AlexSkrypnyk Jun 11, 2024
6a4fa3c
Moved `small` Label typography to `extra-small`.
AlexSkrypnyk Jun 12, 2024
8cae47a
Updated typography mixins to allow rules extraction.
AlexSkrypnyk Jun 12, 2024
be246d8
Added minimal support for font average character width.
AlexSkrypnyk Jun 12, 2024
3db931c
Added `randomId()` generator and fixed variable names.
AlexSkrypnyk Jun 12, 2024
f141dbd
[#80] Updated `Radio` to follow the 1.8 design.
AlexSkrypnyk Jun 12, 2024
3ecf57e
Updated checkbox to use SVG mask.
AlexSkrypnyk Jun 12, 2024
7ef1f54
Moved all Form-related stories to `Form Controls` folder.
AlexSkrypnyk Jun 12, 2024
49262c0
Updated `Textfield` to the latest designs.
AlexSkrypnyk Jun 12, 2024
6e716db
Updated `Textarea` to the latest designs.
AlexSkrypnyk Jun 12, 2024
867714f
Updated `Select` to the latest designs.
AlexSkrypnyk Jun 12, 2024
13d964e
Added About page to Storybook.
AlexSkrypnyk Jun 13, 2024
e99d45a
[#59] Updated Field usage. Part 1 (#190)
joshua-salsadigital Jun 13, 2024
77cd5f0
Added test harness, added tests for `processKnob()` and fixed it.
AlexSkrypnyk Jun 13, 2024
681ae50
Updated `Field` to corectly handle `Radios` and `Checkboxes`.
AlexSkrypnyk Jun 13, 2024
b6d30ac
Fixed Checkbox border radius.
AlexSkrypnyk Jun 13, 2024
36ddef7
Updated the Storybook About Page. (#210)
joshua-salsadigital Jun 13, 2024
6f6ecad
[#201] Fixed Side Navigation is missing left stripe.
Jun 13, 2024
55c4f1f
Fixed jumping form elements borders.
AlexSkrypnyk Jun 13, 2024
10e447f
Fixed Checkbox and Radio control proportions.
AlexSkrypnyk Jun 13, 2024
1554e11
Fixed error colours on Textfield, Textarea and Select.
AlexSkrypnyk Jun 13, 2024
6f0d127
Fixed icon position in `Field message`.
AlexSkrypnyk Jun 13, 2024
a8ca519
Added `is_checked` knobs and removed `is_required` to Checkbox and Ra…
AlexSkrypnyk Jun 13, 2024
aec4d84
Made SB containers resizable for form controls.
AlexSkrypnyk Jun 13, 2024
b33488c
Removed obsolete `Input` component.
AlexSkrypnyk Jun 13, 2024
32bad28
Updated `Label` to allow to be used as a `<legend>` on the `Fieldset`.
AlexSkrypnyk Jun 13, 2024
c81f756
Fixed incorrect `infomation` type on `Field message`.
AlexSkrypnyk Jun 13, 2024
21aafcf
Fixed missing attributes in the Field message story.
AlexSkrypnyk Jun 13, 2024
faccd41
Updated `Fieldset` to use new `Field`.
AlexSkrypnyk Jun 13, 2024
378afc0
Renamed `About` page to `About CivicTheme` and fixed issues. (#215)
AlexSkrypnyk Jun 14, 2024
ae3ef42
Updated Scrollspy's help text.
AlexSkrypnyk Jun 14, 2024
afaff2c
Fixed icon position on `Alert` component.
AlexSkrypnyk Jun 14, 2024
aa3dee1
Fixed colours and icons on `Alert`, `Message`, `Field message`.
AlexSkrypnyk Jun 14, 2024
062db0c
[#201] Fixed Left stripe missing for child active items for both them…
Jun 14, 2024
3e99caa
Updated `Back to Top` story's docs.
AlexSkrypnyk Jun 14, 2024
80eac18
Added docs for `Scrollspy`.
AlexSkrypnyk Jun 14, 2024
c387bc5
Added docs for `Typography` component.
AlexSkrypnyk Jun 14, 2024
ef17408
Updated missing default knobs.
AlexSkrypnyk Jun 14, 2024
084a2ed
Fixed `.col-no-gap` incorrectly working on mobile and added a test.
AlexSkrypnyk Jun 14, 2024
e30fde7
Allow to append a custom class to the column class in Grid.
AlexSkrypnyk Jun 14, 2024
4c7c970
Added suppport for vertical guttrers.
AlexSkrypnyk Jun 14, 2024
bfb6839
Updated List card generation to use larger set of random content.
AlexSkrypnyk Jun 14, 2024
5a24d40
Added fixed and filled placeholders.
AlexSkrypnyk Jun 14, 2024
a56eaf2
Added equal heights for List.
AlexSkrypnyk Jun 14, 2024
de9684c
Added more tests and removed obsolete Grid classes and mixins.
AlexSkrypnyk Jun 14, 2024
a886baf
Added support for static Lorem Ipsum generator.
AlexSkrypnyk Jun 14, 2024
2c0d17f
Added support for docs classes.
AlexSkrypnyk Jun 15, 2024
4de4911
Fixed equal heights grid and added more tests.
AlexSkrypnyk Jun 15, 2024
8efe85b
Added test harness for twig templates testing + test for Grid.
AlexSkrypnyk Jun 15, 2024
7422432
Fixed `.col--no-gap` in `Grid`.
AlexSkrypnyk Jun 15, 2024
f0b8d66
Updated `List` vertical spacing.
AlexSkrypnyk Jun 15, 2024
98bc705
Moved `Grid` to `Grid Generator`.
AlexSkrypnyk Jun 15, 2024
b109c4c
Fixed `colour` -> `color` for consistency.
AlexSkrypnyk Jun 15, 2024
0604e42
Moved `flex`-related utilities into own utility component.
AlexSkrypnyk Jun 15, 2024
a7c98af
Renamed `example-` to `story-` in SB helpers.
AlexSkrypnyk Jun 15, 2024
b0be0ac
Fixed story component names in stories.
AlexSkrypnyk Jun 15, 2024
8cda914
Removed obsolete (and not working) row utilities.
AlexSkrypnyk Jun 15, 2024
44eae4a
Added tests for grids offset.
AlexSkrypnyk Jun 16, 2024
3ecbfab
Added full support for fluid containers + tests.
AlexSkrypnyk Jun 16, 2024
84327ac
Removed deprecated `ct-highlight-stripe()` mixin.
AlexSkrypnyk Jun 16, 2024
0589e89
Fixed label background flickering when tapped on mobile webkit-based …
AlexSkrypnyk Jun 16, 2024
4124857
Added Codecov badge to `README.md`.
AlexSkrypnyk Jun 16, 2024
76329d0
Fixed empty `value` rendered in `Textfield`.
AlexSkrypnyk Jun 16, 2024
ed40cd2
Renamed SB helper `story wrapper` to `story-layout`.
AlexSkrypnyk Jun 16, 2024
1442d38
Moved SB helpers to own story.
AlexSkrypnyk Jun 16, 2024
f6c326e
Fixed SB container for form controls. (#233)
AlexSkrypnyk Jun 16, 2024
caaa14f
Added responsive vertical spacing to `Grid`.
AlexSkrypnyk Jun 16, 2024
5c8e625
Fixed vertical spacing on the List grid.
AlexSkrypnyk Jun 16, 2024
0686538
Fixed minimal width of the `Select` control to acommodate for the icon.
AlexSkrypnyk Jun 16, 2024
bde3f25
Fixed min and max width on the `Field` and added support for fluid fo…
AlexSkrypnyk Jun 16, 2024
912f8f1
Refactor `Pagination` story and linked up to `Field` component.
AlexSkrypnyk Jun 16, 2024
2ec8ec9
Reduce `Item list` spacing for `large` on mobile.
AlexSkrypnyk Jun 16, 2024
856f737
Updated random generator to be trully random.
AlexSkrypnyk Jun 16, 2024
9aaf8c4
Updated spacing between in the `Group filter` and fixed filters gener…
AlexSkrypnyk Jun 16, 2024
a8ff9d3
Added animation to `Radio` and `Checkbox` for when they are checked.
AlexSkrypnyk Jun 16, 2024
b0d4f22
Fixed `Banner` bottom content spacing on mobille.
AlexSkrypnyk Jun 16, 2024
3498543
Added tests for random utils.
AlexSkrypnyk Jun 16, 2024
1bb4ecc
Added tests for layout utils.
AlexSkrypnyk Jun 16, 2024
1559d00
Added tests for helper utils.
AlexSkrypnyk Jun 16, 2024
4cd6dda
Added tests for generator utils.
AlexSkrypnyk Jun 16, 2024
00c8a4d
Added tests for docs utils.
AlexSkrypnyk Jun 16, 2024
c028942
Added tests for knobs utils.
AlexSkrypnyk Jun 16, 2024
bce9b29
Updated image shadow misin to support 8 named directions.
AlexSkrypnyk Jun 16, 2024
6f3c76e
Added responsive grid order classes.
AlexSkrypnyk Jun 16, 2024
2c717d2
Updated `Campaign` to the latest designs.
AlexSkrypnyk Jun 16, 2024
5160401
Moved `Back-to-Top` to Molecules.
AlexSkrypnyk Jun 16, 2024
fb5c621
Moved `Social links` to Molecules.
AlexSkrypnyk Jun 16, 2024
206431a
Moved cards aand filters to the `List` group.
AlexSkrypnyk Jun 16, 2024
f437d75
Re-ordered `Base` to logically group items.
AlexSkrypnyk Jun 16, 2024
e34b91c
Fixed fonts.
AlexSkrypnyk Jun 16, 2024
4720b65
Fixed `Table` horisonatally stacking content on mobile.
AlexSkrypnyk Jun 16, 2024
ca71c20
Updated order of stories.
AlexSkrypnyk Jun 16, 2024
bcff219
Added support for a nested `Fieldset`.
AlexSkrypnyk Jun 16, 2024
2be8926
Fixed `Pagination` classes and variables.
AlexSkrypnyk Jun 16, 2024
0d3b30e
Grouped navigation items under `Navigation` SB folder.
AlexSkrypnyk Jun 16, 2024
1f56e7b
Moved `Form controls` group to be the last one in the list.
AlexSkrypnyk Jun 16, 2024
1e8ad9c
Re-ordered variables to follow their definition in SB.
AlexSkrypnyk Jun 16, 2024
ade4485
Added more distro exclusions.
AlexSkrypnyk Jun 16, 2024
3f5541b
Fixed the title on SB.
AlexSkrypnyk Jun 16, 2024
480acec
Updated text on the Welcome page.
AlexSkrypnyk Jun 16, 2024
a1fde03
Updated deps.
AlexSkrypnyk Jun 16, 2024
1a7f950
Updated `Paragraph` to use random generator.
AlexSkrypnyk Jun 16, 2024
a96d3f5
Updated `Accordion` to use random generator.
AlexSkrypnyk Jun 16, 2024
e5039ae
Updated comment in webpack.
AlexSkrypnyk Jun 17, 2024
c46d881
[#246] Added generic input.
AlexSkrypnyk Jun 17, 2024
2c45b5b
Added support for multi-select to the `Field`.
AlexSkrypnyk Jun 17, 2024
bd647ca
[#15] Added patch for stuck knobs.
richardgaunt Jun 17, 2024
a875539
Fixed `Field` props propagation and added tests.
AlexSkrypnyk Jun 17, 2024
8e07488
Simplified `Radio` and `Checkbox` filed types.
AlexSkrypnyk Jun 17, 2024
814d5bd
Fixed link styles in the field message and field description.
AlexSkrypnyk Jun 17, 2024
87d42d5
Added tests for `Icon`.
AlexSkrypnyk Jun 17, 2024
762c1b6
Added `allow_html` prop to `Field message` and `Field description`.
AlexSkrypnyk Jun 17, 2024
594e754
Added `suffix`, `prefix` and `description_display` to `Fieldset`.
AlexSkrypnyk Jun 17, 2024
5eb02c5
Fixed `postinstall`.
AlexSkrypnyk Jun 18, 2024
afea528
Added exclusions of tests from the distribution archives.
AlexSkrypnyk Jun 18, 2024
bd62afd
Added `hide_sidebar_left` and `hide_sidebar_right` props to `Layout` …
AlexSkrypnyk Jun 18, 2024
74e7c83
Fixed `Grid` classes.
AlexSkrypnyk Jun 18, 2024
35cb577
Added tests for `Layout`.
AlexSkrypnyk Jun 18, 2024
bd024e6
Fixed styles in footer.
AlexSkrypnyk Jun 18, 2024
a9aad4e
Fixed XSS in `Time` and added tests.
AlexSkrypnyk Jun 18, 2024
d2126cd
Renamed `pager` to `pagination` in all components.
AlexSkrypnyk Jun 18, 2024
acb51f9
Renamed `time` component to `datetime`.
AlexSkrypnyk Jun 19, 2024
0585816
Fixed `Textarea` to having `value` and `type` attributes.
AlexSkrypnyk Jun 19, 2024
cf4fd63
Fixed missing sidebar hiding flags in `Page` and added tests.
AlexSkrypnyk Jun 19, 2024
64adb00
Added tags filtering and tests for `textfield`, `radio`, `checkbox`, …
AlexSkrypnyk Jun 19, 2024
abf528e
Added back raw attributes processing.
AlexSkrypnyk Jun 19, 2024
496354f
Updated `Layout` to be limited only to the inner layout.
AlexSkrypnyk Jun 19, 2024
e292a8a
Added tests for all Atoms.
AlexSkrypnyk Jun 19, 2024
10cfb6f
Fixed column gaps to be larger when only a single sidebar is present.…
alan-cole Jun 20, 2024
685487a
Added Molecules tests.
AlexSkrypnyk Jun 20, 2024
96dd588
Updated `Layout` story to use larger random content.
AlexSkrypnyk Jun 20, 2024
664fc45
Removed full stop from the heading the the Welcome page.
AlexSkrypnyk Jun 20, 2024
c89c5c5
Fixed browser-provided icon colour on `Input`.
AlexSkrypnyk Jun 20, 2024
7269f42
[#273] Added `allow_html` to `Label` component.
AlexSkrypnyk Jun 21, 2024
918a0f3
Renamed `is_raw_text` to `allow_html` on `Button` for consistency wit…
AlexSkrypnyk Jun 21, 2024
510e4bb
Fixed sidebar gap on `Layout` using masonry with JS fallback. (#276)
alan-cole Jun 21, 2024
19d6094
Added tests for organisms. (#282)
AlexSkrypnyk Jun 23, 2024
d16916f
Enabled Twig `autoescape` in tests and fixed templates. (#283)
AlexSkrypnyk Jun 23, 2024
c89fa0b
Added tests for `Group filter`.
AlexSkrypnyk Jun 23, 2024
05bdaa0
Fixed content filtering for slots.
AlexSkrypnyk Jun 23, 2024
8356329
Fixed Theme knob for `Header` and `Footer` stories.
AlexSkrypnyk Jun 23, 2024
5f224c7
Added removal of whitespaces for `content` prop in all components.
AlexSkrypnyk Jun 23, 2024
89cb732
Added removal of whitespaces for `modifier_class` and `attrbiutes` pr…
AlexSkrypnyk Jun 23, 2024
e51787a
Added tests for `Menu`.
AlexSkrypnyk Jun 23, 2024
4a3275f
Added a test for `Item list`.
AlexSkrypnyk Jun 23, 2024
78dfb03
Fixed whitespace removal in `Layout`.
AlexSkrypnyk Jun 23, 2024
27433b2
Removed skipped test.
AlexSkrypnyk Jun 23, 2024
5f35a77
[277] Added fixed width utility class to size labels consistently.
alan-cole Jun 21, 2024
7cb046c
[279] Added a demo page of supported field types in both orientations.
alan-cole Jun 21, 2024
bb9fffb
Added label width to stories.
AlexSkrypnyk Jun 23, 2024
1154ba7
[#280] Fixed pagination and removed `active_is_link` prop.
AlexSkrypnyk Jun 23, 2024
951db8b
Updated order of components in Storybook.
AlexSkrypnyk Jun 23, 2024
4771e80
Updated image-based `Social links` example icon to use an image.
AlexSkrypnyk Jun 23, 2024
26448c5
Fixed sanitisation on page.
AlexSkrypnyk Jun 23, 2024
cff4389
Fixed accidentally renamed data attributes in Slider.
AlexSkrypnyk Jun 23, 2024
4f57185
Added whitespace removal on Fieldset.
AlexSkrypnyk Jun 23, 2024
07a1622
Update the Field's SCSS to set that line height.
Jun 24, 2024
cf7bfe5
Fixed default value in `Popover` story.
AlexSkrypnyk Jun 24, 2024
99ddc2a
Fixed `Welcome` page background to be using CivicTheme's colour.
AlexSkrypnyk Jun 24, 2024
24af737
Fixed `rows_above` and `rows_after` in `List`.
AlexSkrypnyk Jun 24, 2024
a352497
Update toshimaru/auto-author-assign action to v2.1.1
renovate[bot] Jun 26, 2024
40fbea8
Fixed Welcome screen dimensions.
AlexSkrypnyk Jun 26, 2024
5b81fb9
Fixed `Textfield` to use the correct type.
AlexSkrypnyk Jun 26, 2024
aa2e8ea
Added `label_display` prop to `Field`.
AlexSkrypnyk Jun 26, 2024
fd4977c
Renamed `Field`'s `label` to `title`.
AlexSkrypnyk Jun 27, 2024
377bbd6
Fixed `is_checked` prop not propagated in `Field`.
AlexSkrypnyk Jun 27, 2024
ac6068f
Added default values random generation to Field stories.
AlexSkrypnyk Jun 27, 2024
6dd5f67
Renamed `visually_hidden` to `invisible`.
AlexSkrypnyk Jun 27, 2024
48155d2
Added `is_required` prop to `Radio` and `Checkbox`.
AlexSkrypnyk Jun 28, 2024
d381300
Updated release CI config to use `test:ci`.
AlexSkrypnyk Jun 29, 2024
9617c4a
Released version v1.8.0.
Jun 29, 2024
e68a1cf
Added `contenteditable` to placeholder in Storybook.
AlexSkrypnyk Jun 30, 2024
1d8c164
Added nested layout options to the `Layout` story.
AlexSkrypnyk Jun 30, 2024
a0fd4f3
[#308] Fixed Layout masonry is not applied when nested Layout is used.
AlexSkrypnyk Jun 30, 2024
ec232c0
[#309] Fixed `Layout` gaps for nested layouts.
AlexSkrypnyk Jun 30, 2024
48ef65a
Fixed margins on the nested fluid grid.
AlexSkrypnyk Jun 30, 2024
ba2653a
Fixed `Layout` containment to be disabled by default. (#313)
AlexSkrypnyk Jul 1, 2024
c6e9302
Revert "Fixed margins on the nested fluid grid."
AlexSkrypnyk Jul 1, 2024
b41ff1c
Fixed margins on the nested fluid grid. Part 2.
AlexSkrypnyk Jul 1, 2024
7415b30
Fixed padding on Accordion, Attachment, Basic Content and Promo on mo…
AlexSkrypnyk Jul 1, 2024
d9c1738
Fixed Navigation Card responsiveness in List.
AlexSkrypnyk Jul 1, 2024
47e3da3
Released version v1.8.1.
Jul 1, 2024
b81d200
Update dependency webpack-merge to v6
renovate[bot] Jul 2, 2024
51767d6
Update dependency boxen to v8
renovate[bot] Jul 13, 2024
b512e9a
Added SCSS var to set a border color for back-to-top component.
alan-cole Jul 9, 2024
1a25a3f
[#330] Fixed card link arrows being read-out by screen readers and ta…
alan-cole Jul 29, 2024
f5e3a90
[#329] Fixed table error when head and body cell count aren't aligned…
alan-cole Jul 29, 2024
3e4d4e5
[#335] Added `TextIcon` utility and fixed icon wrapping for the last …
alan-cole Jul 30, 2024
b9e4009
Update dependency vincentlanglet/twig-cs-fixer to v3
renovate[bot] Jul 30, 2024
50527f3
Update pandoc/core Docker tag to v3.3
renovate[bot] Aug 10, 2024
9e10609
Update dependency wait-on to v8
renovate[bot] Aug 20, 2024
219e974
Update dependency jsdom to v25
renovate[bot] Aug 25, 2024
1f4a27c
[#336] H2s are displaying twice in Table of contents (TOC) (#339)
joshua-salsadigital Sep 4, 2024
f88f578
[#342] Twig comment changes required for generating components. (#343)
alan-cole Sep 4, 2024
faa5c6c
Remove unused variables in twig. (#345)
alan-cole Sep 4, 2024
de0bf89
Update dependency concurrently to v9
renovate[bot] Sep 8, 2024
343d1ff
Update pandoc/core Docker tag to v3.4
renovate[bot] Sep 11, 2024
e78da2f
chore: remove node 18 requirement
Decipher Sep 25, 2023
1e608e2
chore: update javascript
Decipher Sep 25, 2023
6b8968f
chore: add dist
Decipher Jan 11, 2024
ed68346
chore: update dist
BrianGilbert Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
27 changes: 17 additions & 10 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,33 @@
root: true
extends:
- airbnb
plugins:
- import-newlines
env:
es6: false
es6: true
browser: true
jest: true
globals:
BACKGROUNDS: true
ICONS: true
LOGOS: true
SCSS_VARIABLES: true
Set: true
dom: true
assertUniqueCssClasses: true
rules:
strict: 0
func-names: 0
guard-for-in: 0
import-newlines/enforce: [2, { "items": 100, "forceSingleLine": true, "max-len": 10000, "maxLen": 10000 }]
import/no-extraneous-dependencies: 0
import/prefer-default-export: 0
no-restricted-syntax: 0
guard-for-in: 0
quotes: [ 2, "single", { "avoidEscape": true, "allowTemplateLiterals": true } ]
max-len: ["error", { "code": 10000, "comments": 80 }]
no-continue: 0
no-plusplus: 0
no-param-reassign: 0
no-new: 0
no-nested-ternary: 0
func-names: 0
max-len: ["error", { "code": 10000, "comments": 80 }]
no-new: 0
no-param-reassign: 0
no-plusplus: 0
no-restricted-syntax: 0
object-curly-newline: [2, { "ImportDeclaration": "never"}]
quotes: [ 2, "single", { "avoidEscape": true, "allowTemplateLiterals": true } ]
strict: 0
10 changes: 5 additions & 5 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/**/*.test.* export-ignore
/.editorconfig export-ignore
/.eslintignore export-ignore
/.eslintrc.yml export-ignore
Expand All @@ -8,10 +9,9 @@
/.storybook export-ignore
/.stylelintignore export-ignore
/.stylelintrc.json export-ignore
/.twig-cs-fixer.php export-ignore
/composer.json export-ignore
/jest.config.js export-ignore
/renovate.json export-ignore
/tests export-ignore
/webpack export-ignore

# Exclude demo assets as they are erroneously located in dist assets.
# @see https://github.com/civictheme/uikit/issues/30
/assets/images export-ignore
/assets/videos export-ignore
32 changes: 32 additions & 0 deletions .github/ISSUE_TEMPLATE/DEFECT-REPORT.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Defect Report
description: File a defect report
labels: ["Type: Defect"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this defect report.
- type: textarea
id: summary
attributes:
label: Summary
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
validations:
required: true
- type: textarea
id: observed-outcome
attributes:
label: Observed outcome
validations:
required: true
- type: textarea
id: expected-outcome
attributes:
label: Expected outcome
validations:
required: true
34 changes: 34 additions & 0 deletions .github/ISSUE_TEMPLATE/FEATURE-REQUEST.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Feature Request
description: Suggest a new feature
labels: ["Type: Feature"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this feature request.
- type: textarea
id: user-story
attributes:
label: User story
value: |
As a <user persona>
I want <to perform this action>
So that <I can accomplish this goal>
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
validations:
required: true
- type: textarea
id: acceptance-criteria
attributes:
label: Acceptance criteria
value: |
Given I am a <user persona>
When I <perform an action>
Then I <expect an outcome>
validations:
required: true
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: true
contact_links:
- name: 💬 Drush Slack
url: https://drupal.slack.com/archives/C039UV0CQBZ
about: Join the CivicTheme Community to talk, exchange experiences or ask and answer questions.
- name: 💧 Drupal.org
url: https://www.drupal.org/project/civictheme
about: Submit an issue for Drupal theme
45 changes: 45 additions & 0 deletions .github/workflows/post-opened-issue-to-jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Post opened issue to Jira

on:
issues:
types:
- opened

jobs:
issue_opened:
runs-on: ubuntu-latest

steps:
- name: Create issue body file
run: echo "${{ github.event.issue.body }}" > ${{ runner.temp }}/_github_workflow/issue.md

- name: Convert GitHub markdown to Jira markup
uses: docker://pandoc/core:3.4
with:
args: --from gfm --to jira --output=/github/workflow/issue.jira /github/workflow/issue.md

- name: Put output to the variable
run: |
echo 'JIRA_CONTENT<<EOF' >> $GITHUB_ENV
cat ${{ runner.temp }}/_github_workflow/issue.jira >> $GITHUB_ENV
echo >> $GITHUB_ENV
echo "----" >> $GITHUB_ENV
echo "GitHub issue: ${{ github.event.issue.html_url }}" >> $GITHUB_ENV
echo 'EOF' >> $GITHUB_ENV

- name: Login
uses: atlassian/gajira-login@v3
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}

- name: Create issue
id: create
uses: atlassian/gajira-create@v3
with:
project: ${{ vars.JIRA_PROJECT_KEY }}
issuetype: Story
summary: "UI Kit (GitHub): ${{ github.event.issue.title }}"
description: ${{ env.JIRA_CONTENT }}
fields: '{"components": [{"name": "UIKit"}]}'
2 changes: 1 addition & 1 deletion .github/workflows/pr-auto-assign-author.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ jobs:
assign-author:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.0.1
- uses: toshimaru/auto-author-assign@v2.1.1
4 changes: 2 additions & 2 deletions .github/workflows/release-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: npm run build

- name: Run tests
run: npm run test
run: npm run test:ci

- name: Configure git
run: |
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
run: git push origin && git push --tags

- name: Publish release on GitHub
uses: release-drafter/release-drafter@v5
uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
release-notes:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
- uses: release-drafter/release-drafter@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/release-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
release-storybook:
runs-on: ubuntu-latest
steps:
- uses: bitovi/[email protected].2
- uses: bitovi/[email protected].3
with:
path: storybook-static
install_command: npm install
64 changes: 58 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,65 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 21]
node-version: [18, 20, 21, 22]

steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install && npx playwright install
- run: npm run lint
- run: npm run build
- run: npm run test
node-version: ${{ matrix.node-version }}

- name: Setup PHP
uses: shivammathur/setup-php@v2

- name: Install NPM dependencies
run: npm install && npx playwright install

- name: Install PHP dependencies
run: composer install

- name: Check coding standards
run: npm run lint

- name: Check Twig coding standards
run: composer lint

- name: Build
run: npm run build

- name: Run tests
run: npm run test:ci

- name: Upload coverage report as an artifact
uses: actions/upload-artifact@v4
with:
name: ${{github.job}}-code-coverage-report-${{ matrix.node-version }}
path: ./.logs/coverage
if-no-files-found: error

- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v4
if: ${{ env.CODECOV_TOKEN != '' }}
with:
files: ./.logs/coverage/clover.xml
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

- name: Deploy to Netlify
if: matrix.node-version == 20
uses: nwtgck/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
publish-dir: './storybook-static'
production-branch: main
deploy-message: "Deploy from GitHub Actions"
enable-pull-request-comment: true
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
timeout-minutes: 1
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
.logs
.twig-cs-fixer.cache
composer.lock
dist
node_modules
package-lock.json
storybook-static
vendor
12 changes: 5 additions & 7 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.storybook
.idea
**/*.test.*
.editorconfig
.eslintignore
.eslintrc.yml
Expand All @@ -9,10 +8,9 @@
.npmignore
.stylelintignore
.stylelintrc.json
.twig-cs-fixer.php
composer.json
jest.config.js
renovate.json
tests
webpack

# Exclude demo assets as they are erroneously located in dist assets.
# @see https://github.com/civictheme/uikit/issues/30
assets/images
assets/videos
Loading