@atom-learning/components 9.0.0-beta.2 → 9.0.0-beta.4
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/components/badge/Badge.d.ts +6 -1
- package/dist/components/badge/BadgeText.d.ts +5 -0
- package/dist/components/data-table/DataTable.d.ts +6 -1
- package/dist/components/data-table/DataTable.types.d.ts +2 -2
- package/dist/components/data-table/DataTable.types.js.map +1 -1
- package/dist/components/data-table/usePagination.d.ts +1 -1
- package/dist/components/data-table/usePagination.js.map +1 -1
- package/dist/components/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.d.ts +1 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.js +4 -1
- package/dist/components/dropdown-menu/DropdownMenuLinkItem.js.map +1 -1
- package/dist/components/empty-state/EmptyState.d.ts +6 -1
- package/dist/components/empty-state/EmptyStateBody.d.ts +5 -0
- package/dist/components/empty-state/EmptyStateImage.d.ts +1 -1
- package/dist/components/file-input/FileInput.d.ts +3 -2
- package/dist/components/file-input/FileInput.js +5 -1
- package/dist/components/file-input/FileInput.js.map +1 -1
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/input/Input.d.ts +6 -1
- package/dist/components/keyboard-shortcut/KeyboardShortcut.d.ts +6 -1
- package/dist/components/keyboard-shortcut/index.d.ts +6 -1
- package/dist/components/navigation/NavigationMenu.d.ts +6 -1
- package/dist/components/navigation/NavigationMenuDropdownItem.d.ts +6 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVertical.d.ts +6 -1
- package/dist/components/navigation-menu-vertical/NavigationMenuVerticalText.d.ts +5 -0
- package/dist/components/segmented-control/SegmentedControl.d.ts +10 -0
- package/dist/components/segmented-control/SegmentedControlDescription.d.ts +5 -0
- package/dist/components/segmented-control/SegmentedControlHeading.d.ts +5 -0
- package/dist/components/side-bar/SideBar.d.ts +7 -2
- package/dist/components/side-bar/SideBarComponents.d.ts +7 -2
- package/dist/components/stepper/StepperStepLabel.d.ts +5 -0
- package/dist/components/top-bar/TopBar.d.ts +6 -1
- package/dist/components/top-bar/TopBarBrand.d.ts +6 -1
- package/dist/docgen.json +1 -1
- package/dist/index.cjs.js +8 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/styled.d.ts +12 -2
- package/dist/styled.js.map +1 -1
- package/package.json +1 -1
|
@@ -16,6 +16,11 @@ export declare const Badge: (({ ref, size, overflow, ...rest }: BadgeProps) => R
|
|
|
16
16
|
Icon: (props: React.ComponentProps<typeof Icon>) => React.JSX.Element;
|
|
17
17
|
Text: ({ children, ...rest }: {
|
|
18
18
|
overflow?: "ellipsis" | "wrap" | undefined;
|
|
19
|
+
} & {
|
|
20
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
21
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
22
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
23
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
19
24
|
} & {
|
|
20
25
|
as?: never;
|
|
21
26
|
} & Omit<{
|
|
@@ -25,6 +30,6 @@ export declare const Badge: (({ ref, size, overflow, ...rest }: BadgeProps) => R
|
|
|
25
30
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
26
31
|
} & {
|
|
27
32
|
as?: never;
|
|
28
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "overflow">) => React.JSX.Element;
|
|
33
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "family" | "noCapsize" | "overflow" | "size" | "weight">) => React.JSX.Element;
|
|
29
34
|
};
|
|
30
35
|
export {};
|
|
@@ -6,6 +6,11 @@ declare const StyledBadgeText: import("../..").PolymorphicComponent<import("../.
|
|
|
6
6
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
overflow?: "ellipsis" | "wrap" | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|
|
10
15
|
type BadgeTextProps = React.ComponentProps<typeof StyledBadgeText>;
|
|
11
16
|
export declare const BadgeText: ({ children, ...rest }: BadgeTextProps) => React.JSX.Element;
|
|
@@ -91,6 +91,11 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
91
91
|
* If you need more customisation options, you can compose your own implementation with our UI-only input components and `useDataTable`.
|
|
92
92
|
*/
|
|
93
93
|
GlobalFilter: ({ onChange, label, hideLabel, ...rest }: Omit<Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "size"> & Omit<{
|
|
94
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
95
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
96
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
97
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
98
|
+
} & {
|
|
94
99
|
as?: never;
|
|
95
100
|
} & Omit<{
|
|
96
101
|
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
@@ -99,7 +104,7 @@ export declare const DataTable: (({ columns, data: dataProp, getAsyncData, defau
|
|
|
99
104
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
100
105
|
} & {
|
|
101
106
|
as?: never;
|
|
102
|
-
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as">, "as" | "ref" | "type"> & {
|
|
107
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "ref" | "type"> & {
|
|
103
108
|
type?: 'text' | 'number' | 'email' | 'password' | 'tel' | 'url' | 'search';
|
|
104
109
|
as?: never;
|
|
105
110
|
disabled?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { InitialTableState, Row, RowSelectionState, SortDirection, Table } from '@tanstack/react-table';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
export declare enum AsyncDataState {
|
|
4
4
|
NONE = "none",
|
|
@@ -50,7 +50,7 @@ export type DataTableContextType<T = unknown> = Table<T> & {
|
|
|
50
50
|
setData: React.Dispatch<React.SetStateAction<AsyncDataResult>>;
|
|
51
51
|
};
|
|
52
52
|
export type TableData = Array<Record<string, unknown>>;
|
|
53
|
-
export type InitialState =
|
|
53
|
+
export type InitialState = InitialTableState;
|
|
54
54
|
export type DefaultSort = {
|
|
55
55
|
column: string;
|
|
56
56
|
direction: SortDirection;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataTable.types.js","names":[],"sources":["../../../src/components/data-table/DataTable.types.ts"],"sourcesContent":["import type {\n
|
|
1
|
+
{"version":3,"file":"DataTable.types.js","names":[],"sources":["../../../src/components/data-table/DataTable.types.ts"],"sourcesContent":["import type {\n InitialTableState,\n Row,\n RowSelectionState,\n SortDirection,\n Table\n} from '@tanstack/react-table'\nimport * as React from 'react'\n\nexport enum AsyncDataState {\n NONE = 'none',\n PENDING = 'pending',\n FULFILLED = 'fulfilled',\n REJECTED = 'rejected'\n}\n\nexport type AsyncDataResult = {\n total: number\n results: TableData\n}\n\nexport type AsyncDataOptions = {\n pageIndex: number\n pageSize: number\n sortBy?: string\n sortDirection?: SortDirection\n globalFilter?: string\n}\n\nexport type GetAsyncData = (\n options: AsyncDataOptions\n) => Promise<AsyncDataResult | undefined>\n\nexport type TablePosition = {\n top: number | null\n bottom: number | null\n offsetTop: number\n isVisible: boolean\n}\n\nexport type DataTableContextType<T = unknown> = Table<T> & {\n setIsSortable: React.Dispatch<React.SetStateAction<boolean>>\n applyPagination: () => void\n getTotalRows: () => number\n isSortable: boolean\n asyncDataState?: AsyncDataState\n runAsyncData?: (options: Partial<AsyncDataOptions>) => Promise<void>\n hasAsyncData: boolean\n disabledRows?: Record<string, boolean>\n enableRowSelection?: boolean | ((row: Row<unknown>) => boolean)\n rowSelection: RowSelectionState\n tablePosition?: TablePosition\n setTablePosition: React.Dispatch<React.SetStateAction<TablePosition>>\n data: AsyncDataResult\n columns: any\n tableId: string\n /**\n * Directly update the data array that the table rows are built from.\n * This is useful when re-ordering rows, but is high-risk if you're not sure what you're doing!\n *\n * Note in particular that this value is also updated if you update the value of the `DataTable`'s `data` prop\n * — it's probably best to only use one of those two methods for any given table.\n */\n setData: React.Dispatch<React.SetStateAction<AsyncDataResult>>\n}\n\nexport type TableData = Array<Record<string, unknown>>\n\n// Use tanstack's purpose-built initial-state type rather than composing from\n// the full `*TableState` interfaces: a shallow `Partial<… & PaginationTableState>`\n// leaves `pagination` typed as the full `PaginationState` (requiring `pageIndex`),\n// whereas `InitialTableState` correctly types it as `Partial<PaginationState>` so\n// consumers can pass e.g. `{ pagination: { pageSize } }`.\nexport type InitialState = InitialTableState\n\nexport type DefaultSort = { column: string; direction: SortDirection }\n"],"mappings":";;AASA,IAAY,iBAAL,yBAAA,gBAAA;CACL,eAAA,UAAA;CACA,eAAA,aAAA;CACA,eAAA,eAAA;CACA,eAAA,cAAA;;AACF,EAAA,CAAA,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { PaginationState } from '@tanstack/react-table';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export declare const usePagination: (initialPaginationState: PaginationState | undefined) => {
|
|
3
|
+
export declare const usePagination: (initialPaginationState: Partial<PaginationState> | undefined) => {
|
|
4
4
|
isPaginated: boolean;
|
|
5
5
|
paginationState: PaginationState | undefined;
|
|
6
6
|
setPaginationState: React.Dispatch<React.SetStateAction<PaginationState | undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePagination.js","names":[],"sources":["../../../src/components/data-table/usePagination.ts"],"sourcesContent":["import type { PaginationState } from '@tanstack/react-table'\nimport * as React from 'react'\n\nconst defaultPaginationState: PaginationState = { pageIndex: 0, pageSize: 10 }\nexport const usePagination = (\n initialPaginationState: PaginationState | undefined\n) => {\n const [isPaginated, setIsPaginated] = React.useState<boolean>(\n !!initialPaginationState\n )\n\n const [paginationState, setPaginationState] = React.useState<\n PaginationState | undefined\n >({\n ...defaultPaginationState,\n ...(initialPaginationState || {})\n })\n\n const applyPagination = React.useCallback(() => {\n setIsPaginated(true)\n }, [])\n\n return {\n isPaginated,\n paginationState,\n setPaginationState,\n applyPagination\n }\n}\n"],"mappings":";;AAGA,IAAM,yBAA0C;CAAE,WAAW;CAAG,UAAU;AAAG;AAC7E,IAAa,
|
|
1
|
+
{"version":3,"file":"usePagination.js","names":[],"sources":["../../../src/components/data-table/usePagination.ts"],"sourcesContent":["import type { PaginationState } from '@tanstack/react-table'\nimport * as React from 'react'\n\nconst defaultPaginationState: PaginationState = { pageIndex: 0, pageSize: 10 }\nexport const usePagination = (\n // Initial pagination may be partial (e.g. just `pageSize`); defaults below\n // fill the rest, so the working `paginationState` stays a full PaginationState.\n initialPaginationState: Partial<PaginationState> | undefined\n) => {\n const [isPaginated, setIsPaginated] = React.useState<boolean>(\n !!initialPaginationState\n )\n\n const [paginationState, setPaginationState] = React.useState<\n PaginationState | undefined\n >({\n ...defaultPaginationState,\n ...(initialPaginationState || {})\n })\n\n const applyPagination = React.useCallback(() => {\n setIsPaginated(true)\n }, [])\n\n return {\n isPaginated,\n paginationState,\n setPaginationState,\n applyPagination\n }\n}\n"],"mappings":";;AAGA,IAAM,yBAA0C;CAAE,WAAW;CAAG,UAAU;AAAG;AAC7E,IAAa,iBAGX,2BACG;CACH,MAAM,CAAC,aAAa,kBAAkB,QAAM,SAC1C,CAAC,CAAC,sBACJ;CAEA,MAAM,CAAC,iBAAiB,sBAAsB,QAAM,SAElD;EACA,GAAG;EACH,GAAI,0BAA0B,CAAC;CACjC,CAAC;CAMD,OAAO;EACL;EACA;EACA;EACA,iBARsB,QAAM,kBAAkB;GAC9C,eAAe,IAAI;EACrB,GAAG,CAAC,CAMF;CACF;AACF"}
|
|
@@ -8,7 +8,7 @@ export declare const DropdownMenu: React.FC<import("@radix-ui/react-dropdown-men
|
|
|
8
8
|
({ className, ...rest }: import("@radix-ui/react-dropdown-menu").DropdownMenuLabelProps & React.RefAttributes<HTMLDivElement>): React.JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
|
-
LinkItem: ({ children, href, ...rest }: React.ComponentProps<typeof DropdownMenuItem> & {
|
|
11
|
+
LinkItem: ({ children, href, target, rel, download, ...rest }: React.ComponentProps<typeof DropdownMenuItem> & Pick<React.ComponentPropsWithoutRef<'a'>, 'target' | 'rel' | 'download'> & {
|
|
12
12
|
href: string;
|
|
13
13
|
}) => React.JSX.Element;
|
|
14
14
|
Portal: React.FC<import("@radix-ui/react-dropdown-menu").DropdownMenuPortalProps>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DropdownMenuItem } from './DropdownMenuItem';
|
|
3
|
-
export declare const DropdownMenuLinkItem: ({ children, href, ...rest }: React.ComponentProps<typeof DropdownMenuItem> & {
|
|
3
|
+
export declare const DropdownMenuLinkItem: ({ children, href, target, rel, download, ...rest }: React.ComponentProps<typeof DropdownMenuItem> & Pick<React.ComponentPropsWithoutRef<'a'>, 'target' | 'rel' | 'download'> & {
|
|
4
4
|
href: string;
|
|
5
5
|
}) => React.JSX.Element;
|
|
@@ -5,11 +5,14 @@ import "react";
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/dropdown-menu/DropdownMenuLinkItem.tsx
|
|
7
7
|
var StyledLink = styled("a", { base: ["no-underline"] });
|
|
8
|
-
var DropdownMenuLinkItem = ({ children, href, ...rest }) => /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
8
|
+
var DropdownMenuLinkItem = ({ children, href, target, rel, download, ...rest }) => /* @__PURE__ */ jsx(DropdownMenuItem, {
|
|
9
9
|
...rest,
|
|
10
10
|
asChild: true,
|
|
11
11
|
children: /* @__PURE__ */ jsx(StyledLink, {
|
|
12
12
|
href,
|
|
13
|
+
target,
|
|
14
|
+
rel,
|
|
15
|
+
download,
|
|
13
16
|
role: "menuitem",
|
|
14
17
|
...getExternalAnchorProps(href),
|
|
15
18
|
children
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DropdownMenuLinkItem.js","names":[],"sources":["../../../src/components/dropdown-menu/DropdownMenuLinkItem.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '../../styled'\nimport { getExternalAnchorProps } from '../../utilities/uri'\nimport { DropdownMenuItem } from './DropdownMenuItem'\n\nconst StyledLink = styled('a', {\n base: ['no-underline']\n})\n\nexport const DropdownMenuLinkItem = ({\n children,\n href,\n ...rest\n}: React.ComponentProps<typeof DropdownMenuItem> & {
|
|
1
|
+
{"version":3,"file":"DropdownMenuLinkItem.js","names":[],"sources":["../../../src/components/dropdown-menu/DropdownMenuLinkItem.tsx"],"sourcesContent":["import * as React from 'react'\n\nimport { styled } from '../../styled'\nimport { getExternalAnchorProps } from '../../utilities/uri'\nimport { DropdownMenuItem } from './DropdownMenuItem'\n\nconst StyledLink = styled('a', {\n base: ['no-underline']\n})\n\nexport const DropdownMenuLinkItem = ({\n children,\n href,\n target,\n rel,\n download,\n ...rest\n}: React.ComponentProps<typeof DropdownMenuItem> &\n Pick<React.ComponentPropsWithoutRef<'a'>, 'target' | 'rel' | 'download'> & {\n href: string\n }) => (\n // Anchor attributes belong on the rendered <a> (StyledLink); the remaining\n // props are DropdownMenuItem's menu-item behaviour props, which it merges onto\n // StyledLink via `asChild`. `getExternalAnchorProps` still wins for external\n // hrefs (security rel/target).\n <DropdownMenuItem {...rest} asChild>\n <StyledLink\n href={href}\n target={target}\n rel={rel}\n download={download}\n role=\"menuitem\"\n {...getExternalAnchorProps(href)}\n >\n {children}\n </StyledLink>\n </DropdownMenuItem>\n)\n"],"mappings":";;;;;;AAMA,IAAM,aAAa,OAAO,KAAK,EAC7B,MAAM,CAAC,cAAc,EACvB,CAAC;AAED,IAAa,wBAAwB,EACnC,UACA,MACA,QACA,KACA,UACA,GAAG,WASH,oBAAC,kBAAD;CAAkB,GAAI;CAAM,SAAA;WAC1B,oBAAC,YAAD;EACQ;EACE;EACH;EACK;EACV,MAAK;EACL,GAAI,uBAAuB,IAAI;EAE9B;CACS,CAAA;AACI,CAAA"}
|
|
@@ -25,6 +25,11 @@ export declare const EmptyState: {
|
|
|
25
25
|
}) => React.JSX.Element;
|
|
26
26
|
Body: (props: {
|
|
27
27
|
size?: ("lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
28
|
+
} & {
|
|
29
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
30
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
31
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
32
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
28
33
|
} & {
|
|
29
34
|
as?: never;
|
|
30
35
|
} & Omit<{
|
|
@@ -34,6 +39,6 @@ export declare const EmptyState: {
|
|
|
34
39
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
35
40
|
} & {
|
|
36
41
|
as?: never;
|
|
37
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "size">) => React.JSX.Element;
|
|
42
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "family" | "noCapsize" | "size" | "weight">) => React.JSX.Element;
|
|
38
43
|
};
|
|
39
44
|
export {};
|
|
@@ -6,6 +6,11 @@ declare const StyledEmptyStateBody: import("../..").PolymorphicComponent<import(
|
|
|
6
6
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
size?: ("lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|
|
10
15
|
type EmptyStateBodyProps = React.ComponentProps<typeof StyledEmptyStateBody>;
|
|
11
16
|
export declare const EmptyStateBody: (props: EmptyStateBodyProps) => React.JSX.Element;
|
|
@@ -5,7 +5,7 @@ declare const StyledEmptyStateImage: import("../..").PolymorphicComponent<(({ ch
|
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
}) => React.JSX.Element) & {
|
|
7
7
|
Credit: {
|
|
8
|
-
({ author, sourceUrl, licenseName, licenseUrl }: import("
|
|
8
|
+
({ author, sourceUrl, licenseName, licenseUrl }: import("..").ImageCreditProps): React.JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
displayName: string;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import type
|
|
2
|
+
import { type StyledComponentProps } from '../../styled';
|
|
3
3
|
import { Button } from '../button/Button';
|
|
4
4
|
export type FileInputProps = Omit<StyledComponentProps<typeof Button, 'label'>, 'as'> & {
|
|
5
5
|
onFileSelect: (selection: FileList | null) => void;
|
|
6
6
|
accept?: string;
|
|
7
7
|
multiple?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
8
9
|
};
|
|
9
|
-
export declare function FileInput({ accept, children, multiple, onFileSelect, ...rest }: FileInputProps): React.JSX.Element;
|
|
10
|
+
export declare function FileInput({ accept, children, className, disabled, multiple, onFileSelect, ...rest }: FileInputProps): React.JSX.Element;
|
|
10
11
|
export declare namespace FileInput {
|
|
11
12
|
var displayName: string;
|
|
12
13
|
}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
+
import { cn } from "../../styled.js";
|
|
1
2
|
import { Button } from "../button/Button.js";
|
|
2
3
|
import { Icon } from "../icon/Icon.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
import { Upload } from "@atom-learning/icons";
|
|
6
7
|
//#region src/components/file-input/FileInput.tsx
|
|
7
|
-
var FileInput = ({ accept, children, multiple = false, onFileSelect, ...rest }) => {
|
|
8
|
+
var FileInput = ({ accept, children, className, disabled = false, multiple = false, onFileSelect, ...rest }) => {
|
|
8
9
|
const handleFileSelect = (event) => {
|
|
9
10
|
const { files } = event.target;
|
|
10
11
|
onFileSelect(files);
|
|
11
12
|
};
|
|
12
13
|
return /* @__PURE__ */ jsxs(Button, {
|
|
13
14
|
as: "label",
|
|
15
|
+
"aria-disabled": disabled || void 0,
|
|
16
|
+
className: cn(disabled && "pointer-events-none cursor-not-allowed opacity-30", className),
|
|
14
17
|
...rest,
|
|
15
18
|
children: [
|
|
16
19
|
/* @__PURE__ */ jsx(Icon, { is: Upload }),
|
|
@@ -20,6 +23,7 @@ var FileInput = ({ accept, children, multiple = false, onFileSelect, ...rest })
|
|
|
20
23
|
onChange: handleFileSelect,
|
|
21
24
|
accept,
|
|
22
25
|
multiple,
|
|
26
|
+
disabled,
|
|
23
27
|
hidden: true
|
|
24
28
|
})
|
|
25
29
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileInput.js","names":[],"sources":["../../../src/components/file-input/FileInput.tsx"],"sourcesContent":["import { Upload } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport type
|
|
1
|
+
{"version":3,"file":"FileInput.js","names":[],"sources":["../../../src/components/file-input/FileInput.tsx"],"sourcesContent":["import { Upload } from '@atom-learning/icons'\nimport * as React from 'react'\n\nimport { cn, type StyledComponentProps } from '../../styled'\nimport { Button } from '../button/Button'\nimport { Icon } from '../icon/Icon'\n\n// FileInput always renders the Button as a <label>, so its public props are\n// Button's own props retargeted to the label element\nexport type FileInputProps = Omit<\n StyledComponentProps<typeof Button, 'label'>,\n 'as'\n> & {\n onFileSelect: (selection: FileList | null) => void\n accept?: string\n multiple?: boolean\n disabled?: boolean\n}\n\nexport const FileInput = ({\n accept,\n children,\n className,\n disabled = false,\n multiple = false,\n onFileSelect,\n ...rest\n}: FileInputProps) => {\n const handleFileSelect = (event: React.ChangeEvent<HTMLInputElement>) => {\n const { files } = event.target\n\n onFileSelect(files)\n }\n\n // The rendered element is a <label>, which ignores the `disabled` attribute\n // and never matches `:disabled`. Disable the hidden input (so the label can't\n // open the picker) and mirror Button's disabled affordance via aria-disabled\n // + pointer-events-none/opacity so the state is visible and interaction-free.\n return (\n <Button\n as=\"label\"\n aria-disabled={disabled || undefined}\n className={cn(\n disabled && 'pointer-events-none cursor-not-allowed opacity-30',\n className\n )}\n {...rest}\n >\n <Icon is={Upload} />\n {children}\n <input\n type=\"file\"\n onChange={handleFileSelect}\n accept={accept}\n multiple={multiple}\n disabled={disabled}\n hidden\n />\n </Button>\n )\n}\n\nFileInput.displayName = 'FileInput'\n"],"mappings":";;;;;;;AAmBA,IAAa,aAAa,EACxB,QACA,UACA,WACA,WAAW,OACX,WAAW,OACX,cACA,GAAG,WACiB;CACpB,MAAM,oBAAoB,UAA+C;EACvE,MAAM,EAAE,UAAU,MAAM;EAExB,aAAa,KAAK;CACpB;CAMA,OACE,qBAAC,QAAD;EACE,IAAG;EACH,iBAAe,YAAY,KAAA;EAC3B,WAAW,GACT,YAAY,qDACZ,SACF;EACA,GAAI;YAPN;GASE,oBAAC,MAAD,EAAM,IAAI,OAAS,CAAA;GAClB;GACD,oBAAC,SAAD;IACE,MAAK;IACL,UAAU;IACF;IACE;IACA;IACV,QAAA;GACD,CAAA;EACK;;AAEZ;AAEA,UAAU,cAAc"}
|
|
@@ -43,6 +43,7 @@ export { Grid } from './grid/Grid';
|
|
|
43
43
|
export { Heading, type HeadingProps } from './heading/Heading';
|
|
44
44
|
export { Icon } from './icon/Icon';
|
|
45
45
|
export { Image } from './image/Image';
|
|
46
|
+
export type { ImageCreditProps } from './image/ImageCredit';
|
|
46
47
|
export { InlineMessage } from './inline-message/InlineMessage';
|
|
47
48
|
export { Input, InputBackground, InputText } from './input/Input';
|
|
48
49
|
export { InputField } from './input-field/InputField';
|
|
@@ -81,6 +82,7 @@ export * as Sortable from './sortable';
|
|
|
81
82
|
export * as Skeleton from './skeleton-loader';
|
|
82
83
|
export { Spacer } from './spacer/Spacer';
|
|
83
84
|
export { Stepper } from './stepper/Stepper';
|
|
85
|
+
export type { StepperProps, StepperStepsProps, StepperNavigateProps } from './stepper/types';
|
|
84
86
|
export { Switch } from './switch/Switch';
|
|
85
87
|
export { Table } from './table/Table';
|
|
86
88
|
export { Tabs } from './tabs/Tabs';
|
|
@@ -91,6 +93,7 @@ export { Tile } from './tile/Tile';
|
|
|
91
93
|
export { TileInteractive } from './tile-interactive/TileInteractive';
|
|
92
94
|
export { TileToggleGroup } from './tile-toggle-group';
|
|
93
95
|
export { Toast, toast } from './toast';
|
|
96
|
+
export type { ToastCloseButtonProps } from './toast/ToastCloseButton';
|
|
94
97
|
export { ToggleGroup } from './toggle-group';
|
|
95
98
|
export { Tooltip } from './tooltip/Tooltip';
|
|
96
99
|
export { TopBar } from './top-bar/TopBar';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["import { AlertProvider } from './alert-dialog/AlertDialog.context'\n\nexport type { ValidationOptions } from './form/validation'\n\nexport { Accordion } from './accordion/Accordion'\nexport { ActionIcon } from './action-icon/ActionIcon'\nexport { AlertDialog } from './alert-dialog/AlertDialog'\nexport { useAlert } from './alert-dialog/AlertDialog.context'\n\n// The alert system's provider lives under the `Alert` name; the alert UI\n// itself is imperative (`useAlert`), so there is no root component to render.\nexport const Alert = { Provider: AlertProvider }\nexport { Avatar } from './avatar/Avatar'\nexport { Badge, type BadgeProps } from './badge/Badge'\nexport { BannerRegular } from './banner/banner-regular/BannerRegular'\nexport { BannerSlim } from './banner/banner-slim/BannerSlim'\nexport { Box } from './box/Box'\nexport { Button, StyledButton } from './button/Button'\nexport { Carousel, useCarousel } from './carousel/Carousel'\nexport { Checkbox } from './checkbox/Checkbox'\nexport { CheckboxGroup } from './checkbox-group/CheckboxGroup'\nexport { CheckboxTree } from './checkbox-tree/CheckboxTree'\nexport { CheckboxField } from './checkbox-field/CheckboxField'\nexport { Chip } from './chip/Chip'\nexport { ChipGroup } from './chip/ChipGroup'\nexport { ChipDismissibleGroup } from './chip-dismissible-group'\nexport { ChipToggleGroup } from './chip-toggle-group'\nexport { Combobox } from './combobox/Combobox'\nexport { CreatePasswordField } from './create-password-field/CreatePasswordField'\nexport { DataTable } from './data-table/DataTable'\nexport { useDataTable } from './data-table/DataTable.context'\nexport { DateField } from './date-field/DateField'\nexport { DateInput } from './date-input/DateInput'\nexport { Dialog } from './dialog/Dialog'\nexport { Dismissible } from './dismissible'\nexport { DismissibleGroup } from './dismissible-group'\nexport { Divider } from './divider/Divider'\nexport { Drawer } from './drawer/Drawer'\nexport { DropdownMenu } from './dropdown-menu/DropdownMenu'\nexport { EmptyState } from './empty-state/EmptyState'\nexport { FieldWrapper } from './field-wrapper/FieldWrapper'\nexport { InlineFieldWrapper } from './field-wrapper/InlineFieldWrapper'\nexport { FileInput } from './file-input/FileInput'\nexport { Flex } from './flex/Flex'\nexport { Form } from './form/Form'\nexport { Grid } from './grid/Grid'\nexport { Heading, type HeadingProps } from './heading/Heading'\nexport { Icon } from './icon/Icon'\nexport { Image } from './image/Image'\nexport { InlineMessage } from './inline-message/InlineMessage'\nexport { Input, InputBackground, InputText } from './input/Input'\nexport { InputField } from './input-field/InputField'\nexport { Label } from './label/Label'\nexport { Link, StyledLink } from './link/Link'\nexport { List } from './list/List'\nexport { Loader } from './loader/Loader'\nexport { MarkdownContent } from './markdown-content/MarkdownContent'\nexport { NavigationMenu } from './navigation/NavigationMenu'\nexport { NavigationMenuVertical } from './navigation-menu-vertical/NavigationMenuVertical'\nexport { NotificationBadge } from './notification-badge/NotificationBadge'\nexport { NumberInput } from './number-input/NumberInput'\nexport { NumberInputField } from './number-input-field/NumberInputField'\nexport { Pagination } from './pagination/Pagination'\nexport { PasswordField } from './password-field/PasswordField'\nexport { PasswordInput } from './password-input/PasswordInput'\nexport { Popover } from './popover/Popover'\nexport { ProgressBar } from './progress-bar/ProgressBar'\nexport { RadioButton } from './radio-button/RadioButton'\nexport { RadioButtonGroup } from './radio-button/RadioButtonGroup'\nexport { RadioButtonField } from './radio-button-field/RadioButtonField'\nexport { RadioCard } from './radio-card/RadioCard'\nexport { RadioCardGroup } from './radio-card/RadioCardGroup'\nexport { SearchField } from './search-field/SearchField'\nexport { SearchInput } from './search-input/SearchInput'\nexport { SectionMessage } from './section-message/SectionMessage'\nexport { Select } from './select/Select'\nexport { SelectField } from './select-field/SelectField'\nexport { SelectMenu } from './select-menu/SelectMenu'\nexport { SelectMenuField } from './select-menu-field/SelectMenuField'\nexport { SideBar } from './side-bar/SideBar'\nexport { useSidebarState } from './side-bar/SideBar.context'\nexport { Slider } from './slider/Slider'\nexport { SliderField } from './slider-field/SliderField'\nexport * as Sortable from './sortable'\nexport * as Skeleton from './skeleton-loader'\nexport { Spacer } from './spacer/Spacer'\nexport { Stepper } from './stepper/Stepper'\nexport { Switch } from './switch/Switch'\nexport { Table } from './table/Table'\nexport { Tabs } from './tabs/Tabs'\nexport { Text } from './text/Text'\nexport { Textarea } from './textarea/Textarea'\nexport { TextareaField } from './textarea-field/TextareaField'\nexport { Tile } from './tile/Tile'\nexport { TileInteractive } from './tile-interactive/TileInteractive'\nexport { TileToggleGroup } from './tile-toggle-group'\nexport { Toast, toast } from './toast'\nexport { ToggleGroup } from './toggle-group'\nexport { Tooltip } from './tooltip/Tooltip'\nexport { TopBar } from './top-bar/TopBar'\nexport { Tree } from './tree/Tree'\nexport { Video } from './video/Video'\nexport { KeyboardShortcut } from './keyboard-shortcut'\nexport { SegmentedControl } from './segmented-control/SegmentedControl'\nexport { FileDrop } from './file-drop/FileDrop'\nexport { useFileDrop } from './file-drop/useFileDrop'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,IAAa,QAAQ,EAAE,UAAU,cAAc"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/components/index.ts"],"sourcesContent":["import { AlertProvider } from './alert-dialog/AlertDialog.context'\n\nexport type { ValidationOptions } from './form/validation'\n\nexport { Accordion } from './accordion/Accordion'\nexport { ActionIcon } from './action-icon/ActionIcon'\nexport { AlertDialog } from './alert-dialog/AlertDialog'\nexport { useAlert } from './alert-dialog/AlertDialog.context'\n\n// The alert system's provider lives under the `Alert` name; the alert UI\n// itself is imperative (`useAlert`), so there is no root component to render.\nexport const Alert = { Provider: AlertProvider }\nexport { Avatar } from './avatar/Avatar'\nexport { Badge, type BadgeProps } from './badge/Badge'\nexport { BannerRegular } from './banner/banner-regular/BannerRegular'\nexport { BannerSlim } from './banner/banner-slim/BannerSlim'\nexport { Box } from './box/Box'\nexport { Button, StyledButton } from './button/Button'\nexport { Carousel, useCarousel } from './carousel/Carousel'\nexport { Checkbox } from './checkbox/Checkbox'\nexport { CheckboxGroup } from './checkbox-group/CheckboxGroup'\nexport { CheckboxTree } from './checkbox-tree/CheckboxTree'\nexport { CheckboxField } from './checkbox-field/CheckboxField'\nexport { Chip } from './chip/Chip'\nexport { ChipGroup } from './chip/ChipGroup'\nexport { ChipDismissibleGroup } from './chip-dismissible-group'\nexport { ChipToggleGroup } from './chip-toggle-group'\nexport { Combobox } from './combobox/Combobox'\nexport { CreatePasswordField } from './create-password-field/CreatePasswordField'\nexport { DataTable } from './data-table/DataTable'\nexport { useDataTable } from './data-table/DataTable.context'\nexport { DateField } from './date-field/DateField'\nexport { DateInput } from './date-input/DateInput'\nexport { Dialog } from './dialog/Dialog'\nexport { Dismissible } from './dismissible'\nexport { DismissibleGroup } from './dismissible-group'\nexport { Divider } from './divider/Divider'\nexport { Drawer } from './drawer/Drawer'\nexport { DropdownMenu } from './dropdown-menu/DropdownMenu'\nexport { EmptyState } from './empty-state/EmptyState'\nexport { FieldWrapper } from './field-wrapper/FieldWrapper'\nexport { InlineFieldWrapper } from './field-wrapper/InlineFieldWrapper'\nexport { FileInput } from './file-input/FileInput'\nexport { Flex } from './flex/Flex'\nexport { Form } from './form/Form'\nexport { Grid } from './grid/Grid'\nexport { Heading, type HeadingProps } from './heading/Heading'\nexport { Icon } from './icon/Icon'\nexport { Image } from './image/Image'\n// Exported so consumers can name the type of `Image.Credit` — without it,\n// `styled(Image)` (and other inferences over `typeof Image`) can't be named\n// under `declaration: true` (TS2883).\nexport type { ImageCreditProps } from './image/ImageCredit'\nexport { InlineMessage } from './inline-message/InlineMessage'\nexport { Input, InputBackground, InputText } from './input/Input'\nexport { InputField } from './input-field/InputField'\nexport { Label } from './label/Label'\nexport { Link, StyledLink } from './link/Link'\nexport { List } from './list/List'\nexport { Loader } from './loader/Loader'\nexport { MarkdownContent } from './markdown-content/MarkdownContent'\nexport { NavigationMenu } from './navigation/NavigationMenu'\nexport { NavigationMenuVertical } from './navigation-menu-vertical/NavigationMenuVertical'\nexport { NotificationBadge } from './notification-badge/NotificationBadge'\nexport { NumberInput } from './number-input/NumberInput'\nexport { NumberInputField } from './number-input-field/NumberInputField'\nexport { Pagination } from './pagination/Pagination'\nexport { PasswordField } from './password-field/PasswordField'\nexport { PasswordInput } from './password-input/PasswordInput'\nexport { Popover } from './popover/Popover'\nexport { ProgressBar } from './progress-bar/ProgressBar'\nexport { RadioButton } from './radio-button/RadioButton'\nexport { RadioButtonGroup } from './radio-button/RadioButtonGroup'\nexport { RadioButtonField } from './radio-button-field/RadioButtonField'\nexport { RadioCard } from './radio-card/RadioCard'\nexport { RadioCardGroup } from './radio-card/RadioCardGroup'\nexport { SearchField } from './search-field/SearchField'\nexport { SearchInput } from './search-input/SearchInput'\nexport { SectionMessage } from './section-message/SectionMessage'\nexport { Select } from './select/Select'\nexport { SelectField } from './select-field/SelectField'\nexport { SelectMenu } from './select-menu/SelectMenu'\nexport { SelectMenuField } from './select-menu-field/SelectMenuField'\nexport { SideBar } from './side-bar/SideBar'\nexport { useSidebarState } from './side-bar/SideBar.context'\nexport { Slider } from './slider/Slider'\nexport { SliderField } from './slider-field/SliderField'\nexport * as Sortable from './sortable'\nexport * as Skeleton from './skeleton-loader'\nexport { Spacer } from './spacer/Spacer'\nexport { Stepper } from './stepper/Stepper'\n// Exported so consumers can name the compound's member types — without these,\n// inferences over `typeof Stepper` (e.g. `styled(Stepper)`) can't be named\n// under `declaration: true` (TS2883).\nexport type {\n StepperProps,\n StepperStepsProps,\n StepperNavigateProps\n} from './stepper/types'\nexport { Switch } from './switch/Switch'\nexport { Table } from './table/Table'\nexport { Tabs } from './tabs/Tabs'\nexport { Text } from './text/Text'\nexport { Textarea } from './textarea/Textarea'\nexport { TextareaField } from './textarea-field/TextareaField'\nexport { Tile } from './tile/Tile'\nexport { TileInteractive } from './tile-interactive/TileInteractive'\nexport { TileToggleGroup } from './tile-toggle-group'\nexport { Toast, toast } from './toast'\n// Exported so consumers can name `Toast.Close`'s props — without it, inferences\n// over `typeof Toast` (e.g. `styled(Toast)`) can't be named under\n// `declaration: true` (TS2883).\nexport type { ToastCloseButtonProps } from './toast/ToastCloseButton'\nexport { ToggleGroup } from './toggle-group'\nexport { Tooltip } from './tooltip/Tooltip'\nexport { TopBar } from './top-bar/TopBar'\nexport { Tree } from './tree/Tree'\nexport { Video } from './video/Video'\nexport { KeyboardShortcut } from './keyboard-shortcut'\nexport { SegmentedControl } from './segmented-control/SegmentedControl'\nexport { FileDrop } from './file-drop/FileDrop'\nexport { useFileDrop } from './file-drop/useFileDrop'\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,IAAa,QAAQ,EAAE,UAAU,cAAc"}
|
|
@@ -11,7 +11,12 @@ declare const StyledInputText: import("../..").PolymorphicComponent<import("../.
|
|
|
11
11
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
12
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
13
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
14
|
-
}>,
|
|
14
|
+
}>, {
|
|
15
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
16
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
17
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
18
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
19
|
+
}>;
|
|
15
20
|
export type InputTextProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & Omit<React.ComponentProps<typeof StyledInputText>, 'type' | 'as' | 'ref'> & {
|
|
16
21
|
type?: 'text' | 'number' | 'email' | 'password' | 'tel' | 'url' | 'search';
|
|
17
22
|
as?: never;
|
|
@@ -20,7 +20,12 @@ declare const StyledKeyboardShortcutIndicator: import("../..").PolymorphicCompon
|
|
|
20
20
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
21
21
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
22
22
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
23
|
-
}>,
|
|
23
|
+
}>, {
|
|
24
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
25
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
26
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
27
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
28
|
+
}>;
|
|
24
29
|
type KeyboardShortcutIndicatorProps = React.ComponentProps<typeof StyledKeyboardShortcutIndicator>;
|
|
25
30
|
export declare const KeyboardShortcutIndicator: (props: KeyboardShortcutIndicatorProps) => React.JSX.Element;
|
|
26
31
|
export {};
|
|
@@ -12,6 +12,11 @@ export declare const KeyboardShortcut: (({ ref, asChild, config, targetWindow, o
|
|
|
12
12
|
ref?: React.Ref<HTMLDivElement>;
|
|
13
13
|
}) => import("react").JSX.Element) & {
|
|
14
14
|
Indicator: (props: {
|
|
15
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
16
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
17
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
18
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
19
|
+
} & {
|
|
15
20
|
as?: never;
|
|
16
21
|
} & Omit<{
|
|
17
22
|
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
@@ -20,5 +25,5 @@ export declare const KeyboardShortcut: (({ ref, asChild, config, targetWindow, o
|
|
|
20
25
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
21
26
|
} & {
|
|
22
27
|
as?: never;
|
|
23
|
-
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as">) => import("react").JSX.Element;
|
|
28
|
+
} & Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "family" | "noCapsize" | "size" | "weight">) => import("react").JSX.Element;
|
|
24
29
|
};
|
|
@@ -35,7 +35,12 @@ export declare const NavigationMenu: {
|
|
|
35
35
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
36
36
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
37
37
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
38
|
-
}>,
|
|
38
|
+
}>, {
|
|
39
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
40
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
41
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
42
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
43
|
+
}>;
|
|
39
44
|
DropdownTrigger: ({ ref, children, active, ...rest }: React.ComponentProps<import("../..").PolymorphicComponent<React.ForwardRefExoticComponent<NavigationMenuPrimitive.NavigationMenuTriggerProps & React.RefAttributes<HTMLButtonElement>>, {
|
|
40
45
|
active?: boolean | undefined;
|
|
41
46
|
}>>) => React.JSX.Element;
|
|
@@ -6,4 +6,9 @@ export declare const NavigationMenuDropdownItemTitle: import("../..").Polymorphi
|
|
|
6
6
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
7
7
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
8
8
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
|
-
}>,
|
|
9
|
+
}>, {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
14
|
+
}>;
|
|
@@ -596,6 +596,11 @@ export declare const NavigationMenuVertical: (({ children, ...rest }: Navigation
|
|
|
596
596
|
}) => React.JSX.Element, unknown>>) => React.JSX.Element;
|
|
597
597
|
Text: (props: {
|
|
598
598
|
isExpanded?: boolean | undefined;
|
|
599
|
+
} & {
|
|
600
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
601
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
602
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
603
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
599
604
|
} & {
|
|
600
605
|
as?: never;
|
|
601
606
|
} & Omit<{
|
|
@@ -605,6 +610,6 @@ export declare const NavigationMenuVertical: (({ children, ...rest }: Navigation
|
|
|
605
610
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
606
611
|
} & {
|
|
607
612
|
as?: never;
|
|
608
|
-
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "isExpanded">) => React.JSX.Element;
|
|
613
|
+
} & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "as" | "family" | "noCapsize" | "size" | "weight">, "as" | "family" | "isExpanded" | "noCapsize" | "size" | "weight">) => React.JSX.Element;
|
|
609
614
|
};
|
|
610
615
|
export {};
|
|
@@ -6,6 +6,11 @@ declare const StyledNavigationMenuVerticalText: import("../..").PolymorphicCompo
|
|
|
6
6
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
isExpanded?: boolean | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|
|
10
15
|
type StyledNavigationMenuVerticalTextProps = React.ComponentProps<typeof StyledNavigationMenuVerticalText>;
|
|
11
16
|
export declare const NavigationMenuVerticalText: (props: StyledNavigationMenuVerticalTextProps) => React.JSX.Element;
|
|
@@ -11,6 +11,11 @@ export declare const SegmentedControl: {
|
|
|
11
11
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
12
12
|
}>, {
|
|
13
13
|
size?: ("lg" | "md" | "sm" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm">>) | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
16
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
17
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
18
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
14
19
|
}>>, 'size'>) => import("react").JSX.Element;
|
|
15
20
|
Description: (props: Omit<React.ComponentProps<import("../..").PolymorphicComponent<import("../..").PolymorphicComponent<"p", {
|
|
16
21
|
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
@@ -19,6 +24,11 @@ export declare const SegmentedControl: {
|
|
|
19
24
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
20
25
|
}>, {
|
|
21
26
|
size?: ("lg" | "md" | "sm" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm">>) | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
29
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
30
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
31
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
22
32
|
}>>, 'size'>) => import("react").JSX.Element;
|
|
23
33
|
Icon: (props: Omit<React.ComponentProps<typeof import("..").Icon>, 'size'>) => import("react").JSX.Element;
|
|
24
34
|
Content: import("../..").PolymorphicComponent<import("react").ForwardRefExoticComponent<import("@radix-ui/react-tabs").TabsContentProps & import("react").RefAttributes<HTMLDivElement>>, unknown>;
|
|
@@ -6,6 +6,11 @@ declare const StyledText: import("../..").PolymorphicComponent<import("../..").P
|
|
|
6
6
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
size?: ("lg" | "md" | "sm" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm">>) | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|
|
10
15
|
export declare const SegmentedControlDescription: (props: Omit<React.ComponentProps<typeof StyledText>, 'size'>) => React.JSX.Element;
|
|
11
16
|
export {};
|
|
@@ -6,6 +6,11 @@ declare const StyledHeading: import("../..").PolymorphicComponent<import("../.."
|
|
|
6
6
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
size?: ("lg" | "md" | "sm" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "lg" | "md" | "sm">>) | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|
|
10
15
|
export declare const SegmentedControlHeading: (props: Omit<React.ComponentProps<typeof StyledHeading>, 'size'>) => React.JSX.Element;
|
|
11
16
|
export {};
|
|
@@ -17,7 +17,7 @@ export declare const SideBar: (({ theme, className, children, type, offset, styl
|
|
|
17
17
|
children?: React.ReactNode;
|
|
18
18
|
}) => React.JSX.Element) & {
|
|
19
19
|
Credit: {
|
|
20
|
-
({ author, sourceUrl, licenseName, licenseUrl }: import("
|
|
20
|
+
({ author, sourceUrl, licenseName, licenseUrl }: import("..").ImageCreditProps): React.JSX.Element;
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
23
|
displayName: string;
|
|
@@ -27,7 +27,12 @@ export declare const SideBar: (({ theme, className, children, type, offset, styl
|
|
|
27
27
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
28
28
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
29
29
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
30
|
-
}>,
|
|
30
|
+
}>, {
|
|
31
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
32
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
33
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
34
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
35
|
+
}>;
|
|
31
36
|
Header: import("../..").PolymorphicComponent<"div", unknown>;
|
|
32
37
|
Body: import("../..").PolymorphicComponent<"div", unknown>;
|
|
33
38
|
Footer: import("../..").PolymorphicComponent<"div", unknown>;
|
|
@@ -11,7 +11,7 @@ export declare const SideBarBrandLogo: (({ children, ref, ...props }: Omit<{
|
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
}) => React.JSX.Element) & {
|
|
13
13
|
Credit: {
|
|
14
|
-
({ author, sourceUrl, licenseName, licenseUrl }: import("
|
|
14
|
+
({ author, sourceUrl, licenseName, licenseUrl }: import("..").ImageCreditProps): React.JSX.Element;
|
|
15
15
|
displayName: string;
|
|
16
16
|
};
|
|
17
17
|
displayName: string;
|
|
@@ -21,4 +21,9 @@ export declare const SideBarBrandName: import("../..").PolymorphicComponent<impo
|
|
|
21
21
|
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
22
22
|
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
23
23
|
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
24
|
-
}>,
|
|
24
|
+
}>, {
|
|
25
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
26
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
27
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
28
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
29
|
+
}>;
|
|
@@ -6,4 +6,9 @@ export declare const StepperStepLabel: import("../..").PolymorphicComponent<impo
|
|
|
6
6
|
}>, {
|
|
7
7
|
direction?: "horizontal" | "vertical" | undefined;
|
|
8
8
|
status?: "active" | "completed" | "default" | "reviewed" | "success" | "viewed" | undefined;
|
|
9
|
+
} & {
|
|
10
|
+
size?: ("2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "2xl" | "3xl" | "4xl" | "lg" | "md" | "sm" | "xl" | "xs">>) | undefined;
|
|
11
|
+
noCapsize?: (boolean | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", boolean>>) | undefined;
|
|
12
|
+
weight?: ("bold" | "normal" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "bold" | "normal">>) | undefined;
|
|
13
|
+
family?: ("body" | "display" | "mono" | Partial<Record<"@initial" | "@lg" | "@md" | "@sm" | "@xl", "body" | "display" | "mono">>) | undefined;
|
|
9
14
|
}>;
|