Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 6 additions & 0 deletions docs/assets/js/admin/widgets/ReactLiquid.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ engine.registerFilter('xml_escape', (val) => {
return encode(val);
});

/**
* Create a <ReactLiquid> component.
* @param root0
* @param root0.template - Template to render in component.
* @param root0.data - Data to feed to the template.
*/
export default function ReactLiquid({ template, data }) {
const [html, setHtml] = useState('');

Expand Down
2 changes: 0 additions & 2 deletions docs/assets/js/admin/widgets/genericPreviewTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ import React, { Component } from 'react';
import ReactLiquid from './ReactLiquid';
import template from '../../../../_includes/generic-content.html';

import { marked } from '../../../../../node_modules/marked/lib/marked.esm.js';

export default class Preview extends Component {
render() {
const data = {
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
"dependencies": {
"@types/react": "19.2.2",
"anchor-js": "5.0.0",
"decap-cms-app": "3.8.4",
"decap-cms-app": "3.9.0",
"html-entities": "2.6.0",
"liquidjs": "10.22.0",
"liquidjs": "10.24.0",
"lit": "3.3.1",
"lunr": "2.3.9",
"marked": "16.4.1",
Expand All @@ -57,24 +57,24 @@
"@lhci/cli": "0.15.1",
"autoprefixer": "10.4.21",
"concurrently": "9.2.1",
"cssnano": "7.1.1",
"cypress": "15.4.0",
"esbuild": "0.25.11",
"cssnano": "7.1.2",
"cypress": "15.5.0",
"esbuild": "0.25.12",
"esbuild-plugin-liquid": "0.2.0",
"esbuild-plugin-minify-html-literals": "3.0.0",
"eslint": "9.38.0",
"eslint": "9.39.1",
"eslint-config-prettier": "10.1.8",
"eslint-import-resolver-typescript": "4.4.4",
"eslint-plugin-cypress": "5.2.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-jsdoc": "61.1.4",
"eslint-plugin-jsdoc": "61.1.12",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-lit": "2.1.1",
"eslint-plugin-react": "7.37.5",
"eslint-plugin-wc": "3.0.2",
"git-cliff": "2.10.1",
"glob": "11.0.3",
"globals": "16.4.0",
"globals": "16.5.0",
"http-server": "14.1.1",
"jest": "30.2.0",
"jest-cli": "30.2.0",
Expand All @@ -84,7 +84,7 @@
"prettier": "3.6.2",
"prop-types": "15.8.1",
"release-it": "19.0.5",
"sass": "1.93.2",
"sass": "1.93.3",
"stylelint": "16.25.0",
"stylelint-config-standard-scss": "16.0.0",
"svgo": "4.0.0"
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/elements/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/elements/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/cfpb-design-system/dist/index.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
min-width: 300px;

background: var(--white);

// Create a faux input border that includes the input and clear button.
border: 1px solid var(--gray-60);

Expand Down
2 changes: 1 addition & 1 deletion test/cypress/e2e/docs/decap-cms.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const getIframeBody = () => {

/**
* Load up the CMS at a particular path.
* @param path {string} - A URL path.
* @param path - {string} - A URL path.
*/
function setupCmsVisit(path) {
cy.reload(true);
Expand Down
4 changes: 2 additions & 2 deletions test/cypress/e2e/docs/search.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ describe('The search feature', () => {
});

it('should show search results', () => {
cy.get('#search-box').type('button');
cy.get('#search-form button[type=submit]').click();
cy.get('#search-box').shadow().find('input[type=search]').type('button');
cy.get('#search-box').shadow().find('button[type=submit]').click();
cy.get('#search-results').find('li').its('length').should('be.gte', 1);
});
});
Loading