Skip to content

Commit

Permalink
Merge pull request #731 from opengovsg/release-v1.22.0
Browse files Browse the repository at this point in the history
build: release v1.22.0
  • Loading branch information
karrui authored Jul 16, 2024
2 parents e1b40b9 + ade85d5 commit 2cd0113
Show file tree
Hide file tree
Showing 358 changed files with 7,146 additions and 2,223 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Repository containing the Open Government Products design system",
"private": true,
"devDependencies": {
"husky": "^8.0.2"
"husky": "^9.0.11"
},
"scripts": {
"prepare": "husky install"
Expand Down
5 changes: 4 additions & 1 deletion react/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
"extends": ["plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": "warn"
"@typescript-eslint/no-unused-vars": ["warn", {
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}]
}
},
{
Expand Down
10 changes: 5 additions & 5 deletions react/.storybook/colorThemes/AskGov/colors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const colors = {
Expand Down Expand Up @@ -121,9 +121,9 @@ export const colors = {
active: '#454953',
},
'neutral-subtle': {
default: '#F8F9F9',
hover: '#EDEDED',
active: '#BFC2C8',
default: '#EDEDED',
hover: '#BFC2C8',
active: '#A0A4AD',
},
muted: {
main: {
Expand Down Expand Up @@ -171,7 +171,7 @@ export const colors = {
'unselected-strong': '#666C7A',
disabled: '#EDEDED',
'disabled-content': '#A0A4AD',
placeholder: '#A0A4AD',
placeholder: '#838894',
},
},
red: {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/AskGov/shadows.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const shadows = {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/AskGov/spacing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const spacing = {
Expand Down
10 changes: 9 additions & 1 deletion react/.storybook/colorThemes/AskGov/textStyles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const textStyles = {
Expand Down Expand Up @@ -191,6 +191,14 @@ export const textStyles = {
letterSpacing: 0,
fontFamily: 'body',
},
'caption-3': {
fontWeight: 500,
fontSize: '0.625rem',
lineHeight: '1rem',
letterSpacing: '0.080em',
fontFamily: 'body',
textTransform: 'uppercase',
},
'code-1': {
fontWeight: 400,
lineHeight: '1.25rem',
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/AskGov/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const typography = {
Expand Down
8 changes: 4 additions & 4 deletions react/.storybook/colorThemes/BETA dark/colors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const colors = {
Expand Down Expand Up @@ -153,16 +153,16 @@ export const colors = {
},
utility: {
feedback: {
info: '#82ABF7',
'info-subtle': '#072A69',
info: '#63B1AA',
'info-subtle': '#073430',
warning: '#FFDA68',
'warning-subtle': '#3f2b00',
success: '#2D978C',
'success-subtle': '#073430',
critical: '#e74f4f',
'critical-subtle': '#571717',
},
'focus-default': '#82ABF7',
'focus-default': '#63B1AA',
'focus-inverse': '#111111',
'input-prefilled': '#3f2b00',
ui: '#111111',
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BETA dark/shadows.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const shadows = {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BETA dark/spacing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const spacing = {
Expand Down
10 changes: 9 additions & 1 deletion react/.storybook/colorThemes/BETA dark/textStyles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const textStyles = {
Expand Down Expand Up @@ -212,4 +212,12 @@ export const textStyles = {
letterSpacing: 0,
fontFamily: 'body',
},
'caption-3': {
fontWeight: 500,
fontSize: '0.625rem',
lineHeight: '1rem',
letterSpacing: '0.080em',
fontFamily: 'body',
textTransform: 'uppercase',
},
}
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BETA dark/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const typography = {
Expand Down
10 changes: 5 additions & 5 deletions react/.storybook/colorThemes/BbBear/colors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const colors = {
Expand Down Expand Up @@ -213,9 +213,9 @@ export const colors = {
active: '#454953',
},
'neutral-subtle': {
default: '#F8F9F9',
hover: '#EDEDED',
active: '#BFC2C8',
default: '#EDEDED',
hover: '#BFC2C8',
active: '#A0A4AD',
},
muted: {
main: {
Expand Down Expand Up @@ -263,7 +263,7 @@ export const colors = {
'unselected-strong': '#666C7A',
disabled: '#EDEDED',
'disabled-content': '#A0A4AD',
placeholder: '#A0A4AD',
placeholder: '#838894',
},
links: {
default: '#cf1a68',
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BbBear/shadows.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const shadows = {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BbBear/spacing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const spacing = {
Expand Down
10 changes: 9 additions & 1 deletion react/.storybook/colorThemes/BbBear/textStyles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const textStyles = {
Expand Down Expand Up @@ -191,6 +191,14 @@ export const textStyles = {
letterSpacing: 0,
fontFamily: 'body',
},
'caption-3': {
fontWeight: 500,
fontSize: '0.625rem',
lineHeight: '1rem',
letterSpacing: '0.080em',
fontFamily: 'body',
textTransform: 'uppercase',
},
'code-1': {
fontWeight: 400,
lineHeight: '1.25rem',
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/BbBear/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const typography = {
Expand Down
10 changes: 5 additions & 5 deletions react/.storybook/colorThemes/CalSG/colors.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const colors = {
Expand Down Expand Up @@ -143,9 +143,9 @@ export const colors = {
active: '#333333',
},
'neutral-subtle': {
default: '#f8f9f9',
hover: '#ededed',
active: '#c8c8c8',
default: '#ededed',
hover: '#c8c8c8',
active: '#a8a8a8',
},
muted: {
main: {
Expand Down Expand Up @@ -193,7 +193,7 @@ export const colors = {
'unselected-strong': '#6a6a6a',
disabled: '#ededed',
'disabled-content': '#a8a8a8',
placeholder: '#a8a8a8',
placeholder: '#8b8b8b',
},
},
blue: {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/CalSG/shadows.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const shadows = {
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/CalSG/spacing.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const spacing = {
Expand Down
10 changes: 9 additions & 1 deletion react/.storybook/colorThemes/CalSG/textStyles.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const textStyles = {
Expand Down Expand Up @@ -191,6 +191,14 @@ export const textStyles = {
letterSpacing: 0,
fontFamily: 'body',
},
'caption-3': {
fontWeight: 500,
fontSize: '0.625rem',
lineHeight: '1rem',
letterSpacing: '0.080em',
fontFamily: 'body',
textTransform: 'uppercase',
},
'code-1': {
fontWeight: 400,
lineHeight: '1.25rem',
Expand Down
2 changes: 1 addition & 1 deletion react/.storybook/colorThemes/CalSG/typography.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Do not edit directly
* Generated on Fri, 23 Jun 2023 09:14:33 GMT
* Generated on Tue, 12 Mar 2024 09:54:33 GMT
*/

export const typography = {
Expand Down
Loading

0 comments on commit 2cd0113

Please sign in to comment.