-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
58 changed files
with
191 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { allComponents } from "@/.contentlayer/generated"; | ||
import Link from "next/link"; | ||
import Image from "next/image"; | ||
import Title from "@/components/title/Title"; | ||
|
||
import "./overview.css"; | ||
|
||
const Overview = () => { | ||
// Get unique categories | ||
const categories = Array.from(new Set(allComponents.map(component => component.category))); | ||
|
||
return ( | ||
<div className="hd-component-overview-wrapper"> | ||
{categories.map(category => ( | ||
<div className="hd-component-overview-category" key={category}> | ||
<Title as="h3" level={2} className="hd-component-overview-category__title">{category}</Title> | ||
<div className="hd-component-overview"> | ||
{allComponents.filter(component => component.category && component.category === category).map(component => ( | ||
<Link key={component._id} className="hd-component-overview__item" href={`/${component._raw.flattenedPath}`}> | ||
<div className="hd-component-overview__item-thumb"> | ||
<Image src={`https://place-hold.it/260x140?text=${component.title}&fontsize=20`} alt="thumb" width="260" height="140" className="hd-component-overview__item-img" /> | ||
</div> | ||
<div className="hd-component-overview-item__caption"> | ||
<h3>{component.title}</h3> | ||
<p className="hd-component-overview__item-teaser">{component.description}</p> | ||
</div> | ||
</Link> | ||
))} | ||
</div> | ||
</div> | ||
))} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Overview; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
.hd-component-overview { | ||
display: grid; | ||
gap: var(--hd-space-2); | ||
grid-template-columns: repeat(auto-fill, minmax(18.125rem, 1fr)); | ||
} | ||
|
||
.hd-component-overview__item { | ||
border: 0.0625rem solid var(--hd-color-neutral-border); | ||
border-radius: var(--hd-space-1); | ||
height: 20rem; | ||
position: relative; | ||
} | ||
|
||
.hd-component-overview__item-teaser { | ||
font-size: 1rem; | ||
line-height: 1.125; | ||
margin-top: var(--hd-space-1); | ||
} | ||
|
||
.hd-component-overview__item-thumb { | ||
align-items: center; | ||
border-radius: var(--hd-space-1); | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
padding: var(--hd-space-2); | ||
width: 100%; | ||
} | ||
|
||
.hd-component-overview__item-img { | ||
max-width: 19.5rem; | ||
} | ||
|
||
.hd-component-overview-category { | ||
margin-bottom: var(--hd-space-4); | ||
} | ||
|
||
.hd-component-overview-category__title { | ||
text-transform: capitalize; | ||
margin-bottom: var(--hd-space-2); | ||
} | ||
|
||
.hd-component-overview-item__caption { | ||
padding: var(--hd-space-2); | ||
} | ||
|
||
.hd-component-overview__item:hover, | ||
.hd-component-overview__item:focus-visible { | ||
background-color: var(--hd-color-neutral-surface-weak); | ||
border-color: var(--hd-color-neutral-border-hover); | ||
} | ||
|
||
.hd-component-item__overlay-effect { | ||
background-color: rgb(0 0 0 / 6.4%); | ||
border-radius: var(--hd-space-1); | ||
height: calc(100% + var(--hd-space-2)); | ||
left: calc(-1 * var(--hd-space-1)); | ||
opacity: 0; | ||
position: absolute; | ||
transition: opacity 0.3s ease; | ||
top: calc(-1 * var(--hd-space-1)); | ||
width: calc(100% + var(--hd-space-2)); | ||
z-index: -1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...ocs/content/components/actions/button.mdx → ...ocs/content/components/buttons/button.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: Overview | ||
description: TBD | ||
order: 2 | ||
--- | ||
|
||
<Overview /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","description":"Writing slots in a component can be a bit tricky. This component is a utility that allows you to clear the slots of a component.\n\nFor instance: In a dialog, slots could apply specific styles to a Divider divider between the heading and the content.\nIf someone wanted to make a two column layout in their content and use a Divider, they'd need to do some work to get rid of the class name the dialog applies.\n\nThere are a few reasons why you might want to clear slots:\n- You're trying to make a component that is a container for other components, and you don't want anything set above to affect your content.\n- You're trying to specify a different slot provider inside","displayName":"ClearProviders","methods":[],"props":{"values":{"defaultValue":null,"description":"The list of providers to clear.","name":"values","parent":{"fileName":"wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","name":"ClearProvidersProps"},"declarations":[{"fileName":"wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","name":"ClearProvidersProps"}],"required":true,"type":{"name":"Context<ContextValue<unknown, T>>[]"}}},"groups":{"default":{"values":{"defaultValue":null,"description":"The list of providers to clear.","name":"values","parent":{"fileName":"wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","name":"ClearProvidersProps"},"declarations":[{"fileName":"wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","name":"ClearProvidersProps"}],"required":true,"type":{"name":"Context<ContextValue<unknown, T>>[]"}}},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/ClearSlots.tsx","description":"Most of the time, you won't need to use this component. It's mostly useful for when you're trying to make a component that is a container for other components, and you don't want anything set above to affect your content.","displayName":"ClearContainerSlots","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/SlotProvider.ts","description":"In complex components, you may need to provide many contexts. The SlotProvider component is a utility that makes it\neasier to provide multiple React contexts without manually nesting them.\n This can be achieved by passing pairs of contexts and values as an array to the values prop.\n\n[View Documentation](TODO)","displayName":"SlotProvider","methods":[],"props":{"values":{"defaultValue":null,"description":"","name":"values","parent":{"fileName":"wl-hopper/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/types.d.ts","name":"ProviderProps"},"declarations":[{"fileName":"wl-hopper/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/types.d.ts","name":"ProviderProps"}],"required":true,"type":{"name":"ProviderValues<A, B, C, D, E, F, G, H, I, J, K>"}}},"groups":{"default":{"values":{"defaultValue":null,"description":"","name":"values","parent":{"fileName":"wl-hopper/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/types.d.ts","name":"ProviderProps"},"declarations":[{"fileName":"wl-hopper/node_modules/.pnpm/react-aria-components@1.2.1_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/react-aria-components/dist/types.d.ts","name":"ProviderProps"}],"required":true,"type":{"name":"ProviderValues<A, B, C, D, E, F, G, H, I, J, K>"}}},"events":{},"accessibility":{},"layout":{}}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isNull","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isUndefined","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isDefined","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isNil","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isNilOrEmpty","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isString","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isNumber","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isArray","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isEmptyArray","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isFunction","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isObject","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isPlainObject","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}},{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/assertion.ts","description":"","displayName":"isPromise","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/composeClassnameRenderProps.ts","description":"Composes classnames for render props in React components using cslx.\nAllows combining a base classname, render prop function, and additional classes.","displayName":"composeClassnameRenderProps","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{"param":"cssModules - The CSS modules object to use for classname lookups.","example":"const result = cssModule(styles, 'hop-button', 'lg', 'primary');\n// result = \"hop-button--lg hop-button--primary\""},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/utils/src/cssModule.ts","description":"Generates CSS module classnames for a given component with modifiers.\nUtilizes the provided CSS modules object and component name to create classnames.","displayName":"cssModule","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}}] |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[{"tags":{},"filePath":"/Users/francis.thibault/Repos/wl-hopper/packages/components/src/i18n/src/useLocalizedString.tsx","description":"This hook is used to get the localized string formatter.\nIt uses the resources from the component package.","displayName":"useLocalizedString","methods":[],"props":{},"groups":{"default":{},"events":{},"accessibility":{},"layout":{}}}] |
Oops, something went wrong.