@alfadocs/ui-kit 0.34.0 → 0.35.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "packageVersion": "0.34.0",
3
+ "packageVersion": "0.35.0",
4
4
  "components": [
5
5
  {
6
6
  "kind": "component",
@@ -0,0 +1,3 @@
1
+ export { ProductLockup } from './product-lockup';
2
+ export type { ProductLockupProps } from './product-lockup';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1,54 @@
1
+ import { type ComponentPropsWithoutRef } from 'react';
2
+ import { type VariantProps } from 'class-variance-authority';
3
+ declare const productName: (props?: ({
4
+ size?: "sm" | "md" | "lg" | "xl" | null | undefined;
5
+ tone?: "gradient" | "solid" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ type LockupSize = NonNullable<VariantProps<typeof productName>['size']>;
8
+ export type ProductLockupProps = {
9
+ /**
10
+ * The product name paired with the Alfadocs wordmark — e.g. `"Builders"`
11
+ * renders as "Alfadocs Builders". Passed verbatim (product names are not
12
+ * translated); the lockup's accessible name becomes `Alfadocs <name>`.
13
+ */
14
+ name: string;
15
+ /**
16
+ * Render the name as a solid `--foreground` ink, upright (no gradient, no
17
+ * italic), and pair it with the monochrome wordmark. Use for print,
18
+ * single-colour reproductions, or any constrained context where the
19
+ * gradient/serif treatment is inappropriate.
20
+ */
21
+ monochrome?: boolean;
22
+ /** Lockup size. Drives both the wordmark and the name's cap height. */
23
+ size?: LockupSize;
24
+ className?: string;
25
+ } & Omit<ComponentPropsWithoutRef<'span'>, 'role' | 'aria-label' | 'aria-hidden' | 'children' | 'className'>;
26
+ /**
27
+ * The standard lockup pairing the Alfadocs wordmark with a product name
28
+ * ("Alfadocs Builders", "Alfadocs MyApp"). Every marketplace app should use
29
+ * this rather than hand-rolling a wordmark + typed span.
30
+ *
31
+ * The whole lockup is exposed to assistive tech as a single `img` named
32
+ * `Alfadocs <name>`; the inner wordmark and the visible name are both
33
+ * decorative so the brand isn't announced twice.
34
+ */
35
+ export declare const ProductLockup: import("react").ForwardRefExoticComponent<{
36
+ /**
37
+ * The product name paired with the Alfadocs wordmark — e.g. `"Builders"`
38
+ * renders as "Alfadocs Builders". Passed verbatim (product names are not
39
+ * translated); the lockup's accessible name becomes `Alfadocs <name>`.
40
+ */
41
+ name: string;
42
+ /**
43
+ * Render the name as a solid `--foreground` ink, upright (no gradient, no
44
+ * italic), and pair it with the monochrome wordmark. Use for print,
45
+ * single-colour reproductions, or any constrained context where the
46
+ * gradient/serif treatment is inappropriate.
47
+ */
48
+ monochrome?: boolean;
49
+ /** Lockup size. Drives both the wordmark and the name's cap height. */
50
+ size?: LockupSize;
51
+ className?: string;
52
+ } & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">, "aria-hidden" | "className" | "role" | "children" | "aria-label"> & import("react").RefAttributes<HTMLSpanElement>>;
53
+ export {};
54
+ //# sourceMappingURL=product-lockup.d.ts.map
@@ -51,6 +51,7 @@ export * from './kbd';
51
51
  export * from './key-value-pair';
52
52
  export * from './list';
53
53
  export * from './logo';
54
+ export * from '../brand/product-lockup';
54
55
  export * from './map-view';
55
56
  export * from './rating';
56
57
  export * from './skeleton';