Skip to content

Commit 402d3df

Browse files
committed
updating with master and fixing lint
2 parents 09361b8 + 3eaf327 commit 402d3df

File tree

8 files changed

+25
-6
lines changed

8 files changed

+25
-6
lines changed

aries-site/src/data/structures/foundation.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,8 @@ export const foundation = [
474474
name: 'Date and Time',
475475
category: 'Philosophy',
476476
cardOrder: 3,
477-
description: `General guidelines on how to display and format date and time.`,
477+
description:
478+
'General guidelines on how to display and format date and time.',
478479
preview: {
479480
component: () => (
480481
<Text size="large">
@@ -488,7 +489,8 @@ export const foundation = [
488489
</Text>
489490
),
490491
},
491-
seoDescription: `General guidelines on how to display and format date and time.`,
492+
seoDescription:
493+
'General guidelines on how to display and format date and time.',
492494
sections: [],
493495
tags: [
494496
'date time formatting',

aries-site/src/examples/foundation/date-and-time/DateAlignmentExample.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const DateAlignmentExample = () => {
2323
// in production, this should just be new Date();
2424
const mockNow = new Date('2023-05-20T08:32:18.000Z');
2525
return (
26+
// eslint-disable-next-line grommet/datatable-aria-describedby
2627
<DataTable
2728
columns={[
2829
{

aries-site/src/examples/foundation/date-and-time/DateTimeNotificationExample.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import { Notification } from 'grommet';
34

45
export const DateTimeNotificationExample = ({ bestPractice = true }) => {
@@ -29,3 +30,7 @@ export const DateTimeNotificationExample = ({ bestPractice = true }) => {
2930
/>
3031
);
3132
};
33+
34+
DateTimeNotificationExample.propTypes = {
35+
bestPractice: PropTypes.bool,
36+
};

aries-site/src/examples/foundation/date-and-time/RelativeTimeExample.js

+1
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const RelativeTimeExample = ({ bestPractice = true }) => {
5656
// in production, this should just be new Date();
5757
const mockNow = new Date('2023-05-20T08:32:00.000Z');
5858
return (
59+
// eslint-disable-next-line grommet/datatable-aria-describedby
5960
<DataTable
6061
columns={[
6162
{

aries-site/src/examples/foundation/date-and-time/TimezoneExample.js

+5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import { Box, Notification, Text } from 'grommet';
34

45
const options = {
@@ -48,3 +49,7 @@ export const TimezoneExample = ({ bestPractice = true }) => {
4849
</Box>
4950
);
5051
};
52+
53+
TimezoneExample.propTypes = {
54+
bestPractice: PropTypes.bool,
55+
};

aries-site/src/examples/foundation/date-and-time/ZeroPaddingExample.js

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React from 'react';
2+
import PropTypes from 'prop-types';
23
import { DataTable } from 'grommet';
34

45
const dates = [
@@ -18,6 +19,7 @@ export const ZeroPaddingExample = ({ bestPractice = true }) => {
1819
};
1920

2021
return (
22+
// eslint-disable-next-line grommet/datatable-aria-describedby
2123
<DataTable
2224
columns={[
2325
{
@@ -37,3 +39,7 @@ export const ZeroPaddingExample = ({ bestPractice = true }) => {
3739
/>
3840
);
3941
};
42+
43+
ZeroPaddingExample.propTypes = {
44+
bestPractice: PropTypes.bool,
45+
};

aries-site/src/pages/_app.js

-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,6 @@ function App({ Component, pageProps, router }) {
200200
// updateHistory) then check if it should be shown (T/F), and
201201
// set that in the state variable
202202
if (contentHistory && name in contentHistory) {
203-
console.log('hello');
204203
contentHistory[name].update = pageVisitTracker(name, contentHistory);
205204
window.localStorage.setItem(localStorageKey, now);
206205
setContentHistory(contentHistory);

yarn.lock

+3-3
Original file line numberDiff line numberDiff line change
@@ -2806,9 +2806,9 @@ available-typed-arrays@^1.0.5:
28062806
integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==
28072807

28082808
axe-core@^4.6.1, axe-core@^4.6.2:
2809-
version "4.8.0"
2810-
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.8.0.tgz#038c9e586732c791c0d9cecf7ed6434c4e8d497b"
2811-
integrity sha512-ZtlVZobOeDQhb/y2lMK6mznDw7TJHDNcKx5/bbBkFvArIQ5CVFhSI6hWWQnMx9I8cNmNmZ30wpDyOC2E2nvgbQ==
2809+
version "4.8.1"
2810+
resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.8.1.tgz#6948854183ee7e7eae336b9877c5bafa027998ea"
2811+
integrity sha512-9l850jDDPnKq48nbad8SiEelCv4OrUWrKab/cPj0GScVg6cb6NbCCt/Ulk26QEq5jP9NnGr04Bit1BHyV6r5CQ==
28122812

28132813
axe-testcafe@^3.0.0:
28142814
version "3.0.0"

0 commit comments

Comments
 (0)