@theguild/components 8.0.0-alpha-20241206100653-e3101f5b94712d9fed27f767b4190b4167baa82e → 8.0.0-alpha-20241210180007-0c38d3328d098a4dbb572c0142b7801d993cee1f
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +1 -0
- package/dist/index.js +1 -0
- package/dist/next-types.d.mts +21 -0
- package/dist/next-types.js +0 -0
- package/package.json +1 -1
- package/style.css +15 -1
package/dist/index.d.mts
CHANGED
|
@@ -35,6 +35,7 @@ export { PRODUCTS } from './products.mjs';
|
|
|
35
35
|
export { IEditorProps, IFeatureListProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps } from './types/components.mjs';
|
|
36
36
|
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark } from './logos/index.mjs';
|
|
37
37
|
export { cn } from './cn.mjs';
|
|
38
|
+
export { NextPageProps } from './next-types.mjs';
|
|
38
39
|
export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
|
|
39
40
|
import 'react';
|
|
40
41
|
import 'url';
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Next.js page props type.
|
|
3
|
+
* @see https://nextjs.org/docs/app/api-reference/file-conventions/page#props
|
|
4
|
+
* @see https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes#good-to-know
|
|
5
|
+
*/
|
|
6
|
+
interface NextPageProps<TParams extends string = never, TSearchParams extends string = never> {
|
|
7
|
+
params: Promise<UnionToIntersection<{
|
|
8
|
+
[K in TParams]: {
|
|
9
|
+
[F in K extends `...${infer U}` ? U : K]: K extends `...${string}` ? string[] : string;
|
|
10
|
+
};
|
|
11
|
+
}[TParams]>>;
|
|
12
|
+
searchParams: Promise<{
|
|
13
|
+
[K in TSearchParams]?: string | string[];
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
type Prettify<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
19
|
+
type UnionToIntersection<T> = Prettify<(T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never>;
|
|
20
|
+
|
|
21
|
+
export type { NextPageProps };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.0.0-alpha-
|
|
3
|
+
"version": "8.0.0-alpha-20241210180007-0c38d3328d098a4dbb572c0142b7801d993cee1f",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|
package/style.css
CHANGED
|
@@ -7,6 +7,20 @@
|
|
|
7
7
|
|
|
8
8
|
/* #region hamburger mobile menu */
|
|
9
9
|
|
|
10
|
+
.light .nextra-mobile-nav {
|
|
11
|
+
@apply !bg-white;
|
|
12
|
+
|
|
13
|
+
/* We recompute colors so they're up to date even if the --nextra-primary-hue was overwritten on the body. */
|
|
14
|
+
--x-color-primary-700: hsl(
|
|
15
|
+
var(--nextra-primary-hue) var(--nextra-primary-saturation)
|
|
16
|
+
calc(var(--nextra-primary-lightness) - 6%)
|
|
17
|
+
);
|
|
18
|
+
--x-color-primary-800: hsl(
|
|
19
|
+
var(--nextra-primary-hue) var(--nextra-primary-saturation)
|
|
20
|
+
calc(var(--nextra-primary-lightness) - 13%)
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
|
|
10
24
|
.light .nextra-mobile-nav input {
|
|
11
25
|
color: rgb(0, 52, 44);
|
|
12
26
|
background-color: rgb(248, 247, 246) !important;
|
|
@@ -100,7 +114,7 @@
|
|
|
100
114
|
}
|
|
101
115
|
|
|
102
116
|
/* wrong with neue montreal */
|
|
103
|
-
.
|
|
117
|
+
.x\:subpixel-antialiased {
|
|
104
118
|
-webkit-font-smoothing: unset;
|
|
105
119
|
-moz-osx-font-smoothing: unset;
|
|
106
120
|
}
|