diff --git a/apps/protoform/CHANGELOG.md b/apps/protoform/CHANGELOG.md index f29f7f946..3af17bcf6 100644 --- a/apps/protoform/CHANGELOG.md +++ b/apps/protoform/CHANGELOG.md @@ -1,5 +1,14 @@ # protoform +## 0.1.9 + +### Patch Changes + +- Updated dependencies [2097183] +- Updated dependencies [af5972c] +- Updated dependencies [aeceb95] + - @westpac/ui@0.23.0 + ## 0.1.8 ### Patch Changes diff --git a/apps/protoform/package.json b/apps/protoform/package.json index 8566d13d4..c5f965c95 100644 --- a/apps/protoform/package.json +++ b/apps/protoform/package.json @@ -1,6 +1,6 @@ { "name": "protoform", - "version": "0.1.8", + "version": "0.1.9", "private": true, "scripts": { "dev": "next dev", diff --git a/apps/site/CHANGELOG.md b/apps/site/CHANGELOG.md index 8171530a4..4f1e7514c 100644 --- a/apps/site/CHANGELOG.md +++ b/apps/site/CHANGELOG.md @@ -1,5 +1,14 @@ # site +## 0.1.11 + +### Patch Changes + +- Updated dependencies [2097183] +- Updated dependencies [af5972c] +- Updated dependencies [aeceb95] + - @westpac/ui@0.23.0 + ## 0.1.10 ### Patch Changes diff --git a/apps/site/next.config.js b/apps/site/next.config.js index 9bc88b375..f647e602b 100644 --- a/apps/site/next.config.js +++ b/apps/site/next.config.js @@ -10,6 +10,7 @@ module.exports = { pathname: '/westpac-gel/**', }, ], + unoptimized: true, }, async redirects() { return [ diff --git a/apps/site/package.json b/apps/site/package.json index 0102a6af0..116d79f46 100644 --- a/apps/site/package.json +++ b/apps/site/package.json @@ -1,6 +1,6 @@ { "name": "site", - "version": "0.1.10", + "version": "0.1.11", "private": true, "scripts": { "build": "next build", diff --git a/apps/site/src/app/(home)/components/action-bar/action-bar.component.tsx b/apps/site/src/app/(home)/components/action-bar/action-bar.component.tsx index a6674b7d2..cafac8b18 100644 --- a/apps/site/src/app/(home)/components/action-bar/action-bar.component.tsx +++ b/apps/site/src/app/(home)/components/action-bar/action-bar.component.tsx @@ -15,7 +15,7 @@ import { logoMap, logoStyles } from '../utils'; export function ActionBar() { return ( - +
diff --git a/apps/site/src/app/(home)/components/footer/footer.component.tsx b/apps/site/src/app/(home)/components/footer/footer.component.tsx index c89aa8bb0..39d1da8e4 100644 --- a/apps/site/src/app/(home)/components/footer/footer.component.tsx +++ b/apps/site/src/app/(home)/components/footer/footer.component.tsx @@ -12,7 +12,7 @@ import { Circle, Link, Text, Title } from './components/helpers.component'; export function Footer({ gelEmail = '', guidelinesURL = '' }: { gelEmail?: string; guidelinesURL?: string }) { return (
- +
Design System diff --git a/apps/site/src/app/(home)/components/hero/hero.component.tsx b/apps/site/src/app/(home)/components/hero/hero.component.tsx index f40f47c2f..509472bfe 100644 --- a/apps/site/src/app/(home)/components/hero/hero.component.tsx +++ b/apps/site/src/app/(home)/components/hero/hero.component.tsx @@ -7,7 +7,7 @@ import { GELHeroLogo } from './components/gel-hero-logo'; export function Hero() { return (
- +
diff --git a/apps/site/src/app/(home)/components/home-page/home-page.component.tsx b/apps/site/src/app/(home)/components/home-page/home-page.component.tsx index db13a307e..36b4bef7f 100644 --- a/apps/site/src/app/(home)/components/home-page/home-page.component.tsx +++ b/apps/site/src/app/(home)/components/home-page/home-page.component.tsx @@ -12,7 +12,10 @@ import { HomePageProps } from './home-page.types'; export const HomePage = ({ articleRows }: HomePageProps) => { return ( <> - + {articleRows.map(({ articles, layout }, index) => (
{articles.map(({ slug, ...article }, index) => { diff --git a/apps/site/src/app/articles/[article]/components/article-page/article-page.component.tsx b/apps/site/src/app/articles/[article]/components/article-page/article-page.component.tsx index 4304715e0..0840cd950 100644 --- a/apps/site/src/app/articles/[article]/components/article-page/article-page.component.tsx +++ b/apps/site/src/app/articles/[article]/components/article-page/article-page.component.tsx @@ -14,7 +14,7 @@ export function ArticlePage({ article }: ArticlePageProps) { return ( <>
- +

@@ -39,7 +39,7 @@ export function ArticlePage({ article }: ArticlePageProps) {

- + - - -
-

Responsive Demo

- -
+ + + +

+ Viewport: {width}px +

-
-
+
+
-
- - - - +
+ Xs + Xsl + Sm + Md + Lg + Xl
@@ -32,12 +33,12 @@ export function ResponsiveModal({ children, ...props }: ResponsiveModalProps) {
{new Array(12).fill(null).map((_, index) => ( - + ))}
- + ); diff --git a/apps/site/tailwind.config.ts b/apps/site/tailwind.config.ts index 89dab6404..3fde467c2 100644 --- a/apps/site/tailwind.config.ts +++ b/apps/site/tailwind.config.ts @@ -51,6 +51,7 @@ const config: Config = withGEL({ }, maxWidth: { 'gel-container': '71.5rem', + 'gel-lg-container': '82.5rem', //1200 (lg) + 60 (paddingHorizontal) + 60 (paddingHorizontal) }, }, }, diff --git a/packages/ui/CHANGELOG.md b/packages/ui/CHANGELOG.md index a871c9382..aec143977 100644 --- a/packages/ui/CHANGELOG.md +++ b/packages/ui/CHANGELOG.md @@ -1,5 +1,16 @@ # @westpac/ui +## 0.23.0 + +### Minor Changes + +- af5972c: update the grid container component + +### Patch Changes + +- 2097183: color change on footer component and example +- aeceb95: updated styling on badge so it looks correct + ## 0.22.0 ### Minor Changes diff --git a/packages/ui/package.json b/packages/ui/package.json index 6a10de32f..1405135ad 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -1,6 +1,6 @@ { "name": "@westpac/ui", - "version": "0.22.0", + "version": "0.23.0", "license": "MIT", "sideEffects": false, "type": "module", diff --git a/packages/ui/src/components/badge/badge.styles.ts b/packages/ui/src/components/badge/badge.styles.ts index d6b1b713f..c640d872c 100644 --- a/packages/ui/src/components/badge/badge.styles.ts +++ b/packages/ui/src/components/badge/badge.styles.ts @@ -6,7 +6,7 @@ export const styles = tv( variants: { color: { danger: 'border-danger bg-danger text-white', - faint: 'border-border bg-border text-muted', + faint: 'border-border bg-border text-text', hero: 'border-hero bg-hero text-white', info: 'border-info bg-info text-white', neutral: 'border-neutral bg-neutral text-white', @@ -25,7 +25,7 @@ export const styles = tv( }, type: { pill: 'typography-body-10 h-4 rounded-xl px-[0.4375rem] py-[0.25rem] font-medium leading-none', - default: 'h-3 rounded-sm px-1 text-[0.75rem] leading-none', + default: 'h-[1.25rem] rounded-sm px-1 text-[0.75rem] leading-[1.125rem]', }, soft: { true: 'bg-white', @@ -40,7 +40,7 @@ export const styles = tv( { color: 'faint', soft: true, - className: 'text-muted', + className: 'text-text', }, { color: 'hero', diff --git a/packages/ui/src/components/footer/footer.stories.tsx b/packages/ui/src/components/footer/footer.stories.tsx index 00618b96f..939f8de37 100644 --- a/packages/ui/src/components/footer/footer.stories.tsx +++ b/packages/ui/src/components/footer/footer.stories.tsx @@ -1,6 +1,6 @@ import { type Meta, StoryFn, type StoryObj } from '@storybook/react'; -import { PadlockIcon } from '../icon/index.js'; +import { SecurityIcon } from '../icon/index.js'; import { Link } from '../index.js'; import { Footer } from './footer.component.js'; @@ -35,9 +35,9 @@ export const DefaultStory: Story = { const brand = theme ? theme.toLowerCase() : 'wbc'; return ( <> -