Skip to content

Commit

Permalink
test: fix typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lmestel committed Sep 28, 2023
1 parent e3c8635 commit 3f97618
Show file tree
Hide file tree
Showing 33 changed files with 196 additions and 917 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
"keywords": [],
"dependencies": {
"@bedrock-layout/primitives": "^2.2.5",
"@kickstartds/base": "^2.2.0",
"@kickstartds/blog": "^2.2.0",
"@kickstartds/content": "^2.1.0",
"@kickstartds/core": "^2.2.0",
"@kickstartds/form": "^2.2.0",
"@kickstartds/style-dictionary": "^2.2.0",
"@kickstartds/base": "^2.3.0-next.2",
"@kickstartds/blog": "^2.3.0-next.2",
"@kickstartds/content": "^2.2.0-next.1",
"@kickstartds/core": "^2.3.0-next.2",
"@kickstartds/form": "^2.3.0-next.2",
"@kickstartds/style-dictionary": "^2.2.1-next.0",
"change-case": "^4.1.2",
"classnames": "^2.3.2",
"json-schema-to-typescript": "^13.0.2",
Expand Down
18 changes: 0 additions & 18 deletions patches/@kickstartds+base+2.2.0.patch

This file was deleted.

18 changes: 0 additions & 18 deletions patches/@kickstartds+blog+2.2.0.patch

This file was deleted.

18 changes: 0 additions & 18 deletions patches/@kickstartds+content+2.1.0.patch

This file was deleted.

18 changes: 0 additions & 18 deletions patches/@kickstartds+core+2.2.0.patch

This file was deleted.

18 changes: 0 additions & 18 deletions patches/@kickstartds+form+2.2.0.patch

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,11 @@ const Page = () => (

const meta: Meta<typeof Page> = {
component: Page,
title: "Blog List",
title: "Pages/Blog/Blog List",
parameters: {
layout: "fullscreen",
controls: { disabled: true },
},
};
export default meta;
type Story = StoryObj<typeof Page>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,11 @@ After working in a large tech corporation for a long time I very well know today

const meta: Meta<typeof Page> = {
component: Page,
title: "Blog Post",
title: "Pages/Blog/Blog Post",
parameters: {
layout: "fullscreen",
controls: { disabled: true },
},
};
export default meta;
type Story = StoryObj<typeof Page>;
Expand Down
23 changes: 0 additions & 23 deletions src/PagesBlog/PagesBlog.stories.tsx

This file was deleted.

13 changes: 10 additions & 3 deletions src/PagesContent/Landingpage.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,19 @@ const Page = () => (
level: "h1",
styleAs: "h1",
subheadline: "Democratizing Design Systems",
// @ts-expect-error
switchOrder: true,
},
horizontal: "left",
indent: true,
link: {
// @ts-expect-error
deko: true,
highlighted: true,
enabled: true,
fillAnimation: false,
href: "#",
iconAfter: true,
iconAnimation: false,
iconBefore: false,
icon: {
icon: "chevron-right",
},
Expand Down Expand Up @@ -89,6 +89,7 @@ A low-code framework, UI develeopment toolkit and comprehensive component librar
subheadline: "Your AI-powered Design System assistant!",
},
text: "Our Design System Concierge can help by providing expert guidance and pointing you towards the right resources, whether it's implementation guides, architecture documents, adoption strategies, or other content.",
// @ts-expect-error
links: [
{
label: "Try it, it's free",
Expand All @@ -113,7 +114,7 @@ A low-code framework, UI develeopment toolkit and comprehensive component librar
subheadline:
"Setup a Design System and put it into action in just 5 steps",
level: "h2",
pageHeader: false,
spaceAfter: "small",
}}
width="full"
Expand Down Expand Up @@ -200,6 +201,7 @@ A low-code framework, UI develeopment toolkit and comprehensive component librar
spaceBefore="small"
>
<CountUp
// @ts-expect-error
graphic="components"
text={`
Use our components as **solid building blocks**, adapt and improve them as needed. From tokens to full customization.
Expand All @@ -210,6 +212,7 @@ Benefit from **15+ years of frontend experience!**
topic="Components"
/>
<CountUp
// @ts-expect-error
graphic="properties"
text={`
Component properties encode decisions, **rooted in reality**, pre-solving everyday problems for you.
Expand All @@ -220,6 +223,7 @@ Directly engage with components through **Storybooks** rich interface.
topic="Properties"
/>
<CountUp
// @ts-expect-error
graphic="tokens"
text={`
Of course we have **design tokens** – colors, fonts, sizes and iconography.
Expand Down Expand Up @@ -398,6 +402,7 @@ kickstart DS is the foundation for your design system with reusable components a
width="default"
background="default"
>
{/* @ts-expect-error */}
<TeaserBox
image="https://kickstartds.com/static/b75932664b811513543d5af322c2e4ee/headless_design_system_for_developer.svg"
inverted
Expand All @@ -407,6 +412,7 @@ kickstart DS is the foundation for your design system with reusable components a
}}
text="kickstartDS makes it easy to implement and use [its packages](http://example.com/) across any framework or no framework at all. We accomplish this by using standardized web platform APIs and [Web Components](http://example.com/)."
/>
{/* @ts-expect-error */}
<TeaserBox
image="https://kickstartds.com/static/22366760e710d38f85417e550177546f/headless_design_system_for_designer.svg"
inverted
Expand All @@ -416,6 +422,7 @@ kickstart DS is the foundation for your design system with reusable components a
}}
text="kickstartDS comes accessibility baked in and provides support for W3C’s [WCAG 2.1 spec](http://example.com/). We make sure all our components support touch screens, keyboard navigation, screen readers, and more."
/>
{/* @ts-expect-error */}
<TeaserBox
image="https://kickstartds.com/static/22366760e710d38f85417e550177546f/headless_design_system_for_designer.svg"
inverted
Expand Down
Loading

0 comments on commit 3f97618

Please sign in to comment.