diff --git a/.gitignore b/.gitignore index 78ecd79c12..016dd87b0e 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,4 @@ node_modules/ **/.storybook/jest-results.json **/bundle-report.html .env +/packages/*/temp/ diff --git a/.prettierignore b/.prettierignore index 6502b3d8da..29164eddfd 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,3 +6,4 @@ bundle-report.html /.turbo /.yarn /README.md +*.api.md diff --git a/.vscode/settings.json b/.vscode/settings.json index 1fe68f0a53..b7aa546baf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,5 +6,8 @@ "[pegjs]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "typescript.tsdk": "node_modules/typescript/lib" + "js/ts.tsdk.path": "node_modules/typescript/lib", + "files.associations": { + "api-extractor.json": "jsonc" + } } diff --git a/api-extractor.json b/api-extractor.json new file mode 100644 index 0000000000..39e3bd3a39 --- /dev/null +++ b/api-extractor.json @@ -0,0 +1,51 @@ +/** + * Shared base config file for API Extractor in the fuselage monorepo. + * For more info, please visit: https://api-extractor.com + * + * Each package should create its own api-extractor.json that extends this file: + * + * { + * "extends": "../../api-extractor.json", + * "mainEntryPointFilePath": "/dist/index.d.ts" + * } + */ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + + "bundledPackages": [], + + "compiler": {}, + + "apiReport": { + "enabled": true, + "reportFolder": "/" + }, + + "docModel": { + "enabled": false + }, + + "dtsRollup": { + "enabled": false + }, + + "tsdocMetadata": {}, + + "messages": { + "compilerMessageReporting": { + "default": { + "logLevel": "warning" + } + }, + "extractorMessageReporting": { + "default": { + "logLevel": "warning" + } + }, + "tsdocMessageReporting": { + "default": { + "logLevel": "warning" + } + } + } +} diff --git a/eslint.config.mjs b/eslint.config.mjs index 9b561d3764..498ed22da5 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -14,7 +14,12 @@ import tseslint from 'typescript-eslint'; export default tseslint.config( { - ignores: ['**/dist/**', '.yarn/**', '**/storybook-static/**'], + ignores: [ + '**/dist/**', + '.yarn/**', + '**/storybook-static/**', + '**/*.api.md', + ], }, { rules: { diff --git a/packages/css-in-js/.gitignore b/packages/css-in-js/.gitignore index 178135c2b2..abf5c16c82 100644 --- a/packages/css-in-js/.gitignore +++ b/packages/css-in-js/.gitignore @@ -1 +1,2 @@ /dist/ +/temp diff --git a/packages/css-in-js/api-extractor.json b/packages/css-in-js/api-extractor.json new file mode 100644 index 0000000000..05a8ea29f0 --- /dev/null +++ b/packages/css-in-js/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/index.d.ts" +} diff --git a/packages/css-in-js/css-in-js.api.md b/packages/css-in-js/css-in-js.api.md new file mode 100644 index 0000000000..d4235fbd37 --- /dev/null +++ b/packages/css-in-js/css-in-js.api.md @@ -0,0 +1,45 @@ +## API Report File for "@rocket.chat/css-in-js" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { cssSupports } from '@rocket.chat/css-supports'; +import type { Middleware } from 'stylis'; + +// Warning: (ae-forgotten-export) The symbol "RuleAttacher" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const attachRules: RuleAttacher; + +// @public (undocumented) +export const createAnimationName: (content: string) => string; + +// @public (undocumented) +export const createClassName: (content: string) => string; + +// @public (undocumented) +export const css: (slices: TemplateStringsArray, ...values: readonly unknown[]) => cssFn; + +// Warning: (ae-forgotten-export) The symbol "Evaluable" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type cssFn = Evaluable; + +export { cssSupports } + +// @public (undocumented) +export const escapeName: (animationOrClassName: string) => string; + +// @public (undocumented) +export const keyframes: (slices: TemplateStringsArray, ...values: unknown[]) => keyframesFn; + +// @public (undocumented) +export type keyframesFn = Evaluable; + +// @public (undocumented) +export const transpile: (selector: string, content: string, middleware?: Middleware) => string; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/css-in-js/package.json b/packages/css-in-js/package.json index 73fac5320c..8025d7c717 100644 --- a/packages/css-in-js/package.json +++ b/packages/css-in-js/package.json @@ -30,7 +30,8 @@ "/logicalProperties" ], "scripts": { - "build": "rollup -c", + "build": "rollup -c && api-extractor run --local", + ".:build:api": "api-extractor run --local", "docs": "typedoc", "lint": "lint", "lint-and-fix": "lint-and-fix", @@ -44,6 +45,7 @@ "stylis": "~4.3.6" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rollup/plugin-commonjs": "~28.0.9", "@rollup/plugin-json": "~6.1.0", "@rollup/plugin-node-resolve": "~16.0.3", diff --git a/packages/css-supports/.gitignore b/packages/css-supports/.gitignore index 9b1c8b133c..cb7d78c0ed 100644 --- a/packages/css-supports/.gitignore +++ b/packages/css-supports/.gitignore @@ -1 +1,2 @@ /dist +/temp diff --git a/packages/css-supports/api-extractor.json b/packages/css-supports/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/css-supports/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/css-supports/css-supports.api.md b/packages/css-supports/css-supports.api.md new file mode 100644 index 0000000000..bc13939104 --- /dev/null +++ b/packages/css-supports/css-supports.api.md @@ -0,0 +1,12 @@ +## API Report File for "@rocket.chat/css-supports" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +export const cssSupports: (value: string) => boolean; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/css-supports/package.json b/packages/css-supports/package.json index 993fb904de..1158e452c2 100644 --- a/packages/css-supports/package.json +++ b/packages/css-supports/package.json @@ -23,7 +23,8 @@ "/dist" ], "scripts": { - "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json", + "build": "tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json && api-extractor run --local", + ".:build:api": "api-extractor run --local", "clean": "rimraf dist", "docs": "typedoc", "lint": "lint", @@ -33,6 +34,7 @@ "@rocket.chat/memo": "workspace:~" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "eslint": "~9.39.2", "lint-all": "workspace:~", "prettier": "~3.6.2", diff --git a/packages/emitter/.gitignore b/packages/emitter/.gitignore index 8225baa4a7..972f46ea51 100644 --- a/packages/emitter/.gitignore +++ b/packages/emitter/.gitignore @@ -1,2 +1,3 @@ /node_modules /dist +/temp diff --git a/packages/emitter/api-extractor.json b/packages/emitter/api-extractor.json new file mode 100644 index 0000000000..05a8ea29f0 --- /dev/null +++ b/packages/emitter/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/index.d.ts" +} diff --git a/packages/emitter/emitter.api.md b/packages/emitter/emitter.api.md new file mode 100644 index 0000000000..bc432848ea --- /dev/null +++ b/packages/emitter/emitter.api.md @@ -0,0 +1,69 @@ +## API Report File for "@rocket.chat/emitter" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +export type AnyEventHandlerOf = { + [EventType in keyof EventMap]: EventMap[EventType] extends void ? () => void : (event: EventMap[EventType]) => void; +}[keyof EventMap]; + +// @public (undocumented) +export type AnyEventOf = EventMap[keyof EventMap]; + +// @public (undocumented) +export type AnyEventTypeOf = keyof EventMap; + +// @public (undocumented) +export type DefaultEventMap = Record; + +// @public (undocumented) +export class Emitter implements IEmitter { + // (undocumented) + emit, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, ...input: EventOf extends void ? [undefined?] : [EventOf]): void; + // (undocumented) + events(): AnyEventTypeOf[]; + // (undocumented) + has(key: AnyEventTypeOf): boolean; + // (undocumented) + off, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, handler: EventHandlerOf): void; + // (undocumented) + on, TType extends AnyEventTypeOf = EventTypeOf>(type: TType, handler: EventHandlerOf): OffCallbackHandler; + // (undocumented) + once, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, handler: EventHandlerOf): OffCallbackHandler; +} + +// @public (undocumented) +export type EventHandlerOf> = EventMap[EventType] extends void ? () => void : (event: EventMap[EventType]) => void; + +// @public (undocumented) +export type EventOf> = EventMap[EventType] extends void ? never : EventMap[EventType]; + +// @public (undocumented) +export type EventTypeOf = { + [EventType in keyof EventMap]: EventMap[EventType] extends EventValue ? EventType : never; +}[keyof EventMap]; + +// @public (undocumented) +export interface IEmitter { + // (undocumented) + emit, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, ...input: EventOf extends void ? [undefined?] : [EventOf]): void; + // (undocumented) + events(): AnyEventTypeOf[]; + // (undocumented) + has(key: AnyEventTypeOf): boolean; + // (undocumented) + off, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, handler: EventHandlerOf): void; + // (undocumented) + on, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, handler: EventHandlerOf): OffCallbackHandler; + // (undocumented) + once, EventType extends AnyEventTypeOf = EventTypeOf>(type: EventType, handler: EventHandlerOf): OffCallbackHandler; +} + +// @public (undocumented) +export type OffCallbackHandler = () => void; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/emitter/package.json b/packages/emitter/package.json index 2eb0ceb6d1..fa639db541 100644 --- a/packages/emitter/package.json +++ b/packages/emitter/package.json @@ -27,13 +27,15 @@ "/dist" ], "scripts": { - "build": "rollup -c", + "build": "rollup -c && api-extractor run --local", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", "docs": "typedoc" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rollup/plugin-commonjs": "~28.0.9", "@rollup/plugin-json": "~6.1.0", "@rollup/plugin-node-resolve": "~16.0.3", diff --git a/packages/fuselage-forms/.gitignore b/packages/fuselage-forms/.gitignore index 9b1c8b133c..cb7d78c0ed 100644 --- a/packages/fuselage-forms/.gitignore +++ b/packages/fuselage-forms/.gitignore @@ -1 +1,2 @@ /dist +/temp diff --git a/packages/fuselage-forms/api-extractor.json b/packages/fuselage-forms/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/fuselage-forms/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/fuselage-forms/fuselage-forms.api.md b/packages/fuselage-forms/fuselage-forms.api.md new file mode 100644 index 0000000000..bdb3ac8c2c --- /dev/null +++ b/packages/fuselage-forms/fuselage-forms.api.md @@ -0,0 +1,255 @@ +## API Report File for "@rocket.chat/fuselage-forms" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { AllHTMLAttributes } from 'react'; +import { AriaSelectProps } from 'react-aria'; +import { AutoComplete as AutoComplete_2 } from '@rocket.chat/fuselage'; +import { BoxProps } from '@rocket.chat/fuselage'; +import type { ComponentProps } from 'react'; +import { ComponentPropsWithoutRef } from 'react'; +import { Context } from 'react'; +import { Dispatch } from 'react'; +import { ElementType } from 'react'; +import { Field as Field_2 } from '@rocket.chat/fuselage'; +import { FieldDescription as FieldDescription_2 } from '@rocket.chat/fuselage'; +import { FieldError as FieldError_2 } from '@rocket.chat/fuselage'; +import { FieldGroup } from '@rocket.chat/fuselage'; +import { FieldHint as FieldHint_2 } from '@rocket.chat/fuselage'; +import { FieldLabel as FieldLabel_2 } from '@rocket.chat/fuselage'; +import { FieldLabelInfo } from '@rocket.chat/fuselage'; +import { FieldLink } from '@rocket.chat/fuselage'; +import { FieldRow } from '@rocket.chat/fuselage'; +import { ForwardRefExoticComponent } from 'react'; +import { IconProps } from '@rocket.chat/fuselage'; +import { InputBoxProps } from '@rocket.chat/fuselage'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { Key } from 'react'; +import { MultiSelectAnchorParams } from '@rocket.chat/fuselage/dist/components/MultiSelect/MultiSelectAnchorParams'; +import { NumberInputProps } from '@rocket.chat/fuselage'; +import { PasswordInputProps } from '@rocket.chat/fuselage'; +import { ReactNode } from 'react'; +import { RefAttributes } from 'react'; +import type { RefCallback } from 'react'; +import { SelectOption } from '@rocket.chat/fuselage'; +import { SetStateAction } from 'react'; +import { Slider as Slider_2 } from '@rocket.chat/fuselage'; +import { UrlInputProps } from '@rocket.chat/fuselage'; + +// @public (undocumented) +export const AutoComplete: typeof AutoComplete_2; + +// @public (undocumented) +export const CheckBox: ForwardRefExoticComponent & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const EmailInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes, "ref"> & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "FieldProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export function Field(input: FieldProps): JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "FieldContextValue" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FieldContext: Context; + +// Warning: (ae-forgotten-export) The symbol "FieldDescriptionProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FieldDescription: (input: FieldDescriptionProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "FieldErrorProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FieldError: (input: FieldErrorProps) => JSX_2.Element; + +export { FieldGroup } + +// Warning: (ae-forgotten-export) The symbol "FieldHintProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FieldHint: (input: FieldHintProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "FieldLabelProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FieldLabel: (props: FieldLabelProps) => JSX_2.Element; + +export { FieldLabelInfo } + +export { FieldLink } + +// Warning: (ae-forgotten-export) The symbol "FieldProviderProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export function FieldProvider(input: FieldProviderProps): JSX_2.Element; + +export { FieldRow } + +// @public (undocumented) +export type FieldType = 'wrappedByLabel' | 'referencedByLabel' | 'referencedByInput'; + +// Warning: (ae-forgotten-export) The symbol "HiddenLabelProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const HiddenLabel: (input: HiddenLabelProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "LabelForProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const LabelFor: (input: LabelForProps) => JSX_2.Element; + +// @public (undocumented) +export type LabelTypes = 'hint' | 'description' | 'error' | 'placeholder'; + +// @public (undocumented) +export const MultiSelect: ForwardRefExoticComponent & { +value?: SelectOption[0][]; +error?: string; +options: SelectOption[]; +onChange: (params: SelectOption[0][]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +customEmpty?: string; +anchor?: ElementType | ((params: MultiSelectAnchorParams) => ReactNode); +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +addonIcon?: IconProps["name"]; +setFilter?: (filter: string) => void; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const MultiSelectFiltered: ForwardRefExoticComponent & { +value?: SelectOption[0][]; +error?: string; +options: SelectOption[]; +onChange: (params: SelectOption[0][]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +customEmpty?: string; +anchor?: ElementType | ((params: MultiSelectAnchorParams) => ReactNode); +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +addonIcon?: IconProps["name"]; +setFilter?: (filter: string) => void; +} & { +filter?: string; +setFilter?: Dispatch>; +addonIcon?: IconProps["name"]; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const NumberInput: ForwardRefExoticComponent, "ref"> & RefAttributes>; + +// @public (undocumented) +export const PasswordInput: ForwardRefExoticComponent, "ref"> & RefAttributes>; + +// @public (undocumented) +export const RadioButton: ForwardRefExoticComponent & { +labelChildren?: ReactNode; +} & RefAttributes, "ref"> & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "ReferencedLabelProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ReferencedLabel: (input: ReferencedLabelProps) => JSX_2.Element; + +// @public (undocumented) +export const SearchInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const Select: ForwardRefExoticComponent, "value" | "children" | "onChange"> & { +error?: string; +placeholder?: string; +value?: Key | null | undefined; +onChange?: ((key: Key) => any) | undefined; +options: (readonly [value: string, label: string, selected?: boolean | undefined])[]; +small?: boolean; +} & Omit, "value" | "onChange"> & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const Slider: typeof Slider_2; + +// @public (undocumented) +export const TelephoneInput: ForwardRefExoticComponent & { +addon?: ReactNode; +input?: ReactNode; +error?: string; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const TextAreaInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const TextInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const ToggleSwitch: ForwardRefExoticComponent & { +labelChildren?: ReactNode; +} & RefAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const UrlInput: ForwardRefExoticComponent, "ref"> & RefAttributes>; + +// @public (undocumented) +export const useFieldDescriptorId: (type: LabelTypes) => string; + +// @public (undocumented) +export const useFieldFieldType: () => FieldType; + +// @public (undocumented) +export const useFieldLabel: () => [RefCallback, string]; + +// @public (undocumented) +export const useFieldReferencedByInput: () => { + 'aria-invalid': "true" | "false"; + id: string; + 'aria-describedby': string; +}; + +// @public (undocumented) +export const useFieldReferencedByLabel: () => { + 'aria-invalid': "true" | "false"; + 'aria-labelledby': string; + 'aria-describedby': string; +}; + +// @public (undocumented) +export const useFieldReferencedByLabelWithId: () => { + 'aria-invalid': "true" | "false"; + id: string; + 'aria-labelledby': string; + 'aria-describedby': string; +}; + +// @public (undocumented) +export const useFieldWrappedByInputLabel: () => [ReactNode, { + "aria-describedby": string; + "id": string; + "aria-invalid": "true" | "false"; +}, RefCallback]; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/fuselage-forms/package.json b/packages/fuselage-forms/package.json index e40f5166cd..b1728919a9 100644 --- a/packages/fuselage-forms/package.json +++ b/packages/fuselage-forms/package.json @@ -27,7 +27,8 @@ ".:build:cjs": "tsc -p tsconfig.cjs.json", ".:build:esm": "tsc -p tsconfig.esm.json", "storybook": "storybook dev -p 6006 --no-version-updates", - "build": "run .:build:clean && run .:build:esm && run .:build:cjs", + "build": "run .:build:clean && run .:build:esm && run .:build:cjs && api-extractor run --local", + ".:build:api": "api-extractor run --local", "clean": "rimraf dist", "docs": "cross-env NODE_ENV=production storybook build -o ../../static/fuselage-forms", "lint": "lint", @@ -35,6 +36,7 @@ "test": "jest --runInBand" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", diff --git a/packages/fuselage-hooks/.gitignore b/packages/fuselage-hooks/.gitignore index 178135c2b2..abf5c16c82 100644 --- a/packages/fuselage-hooks/.gitignore +++ b/packages/fuselage-hooks/.gitignore @@ -1 +1,2 @@ /dist/ +/temp diff --git a/packages/fuselage-hooks/api-extractor.json b/packages/fuselage-hooks/api-extractor.json new file mode 100644 index 0000000000..05a8ea29f0 --- /dev/null +++ b/packages/fuselage-hooks/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/index.d.ts" +} diff --git a/packages/fuselage-hooks/fuselage-hooks.api.md b/packages/fuselage-hooks/fuselage-hooks.api.md new file mode 100644 index 0000000000..1de4553991 --- /dev/null +++ b/packages/fuselage-hooks/fuselage-hooks.api.md @@ -0,0 +1,241 @@ +## API Report File for "@rocket.chat/fuselage-hooks" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import type { CSSProperties } from 'react'; +import type { DependencyList } from 'react'; +import type { Dispatch } from 'react'; +import type { DispatchWithoutAction } from 'react'; +import type { KeyboardEvent as KeyboardEvent_2 } from 'react'; +import type { MouseEvent as MouseEvent_2 } from 'react'; +import type { MutableRefObject } from 'react'; +import type { Reducer } from 'react'; +import type { ReducerState } from 'react'; +import type { ReducerStateWithoutAction } from 'react'; +import type { ReducerWithoutAction } from 'react'; +import type { Ref } from 'react'; +import type { RefCallback } from 'react'; +import type { RefObject } from 'react'; +import type { SetStateAction } from 'react'; +import { useEffect } from 'react'; + +// @public (undocumented) +export function getPositionStyle(input: { + placement: Placement; + targetRect: DOMRect; + containerRect: DOMRect; + targetBoundaries: TargetBoundaries; + variantBoundaries: VariantBoundaries; + margin?: number; +}): UsePositionResult; + +// @public +export const useAutoFocus: void; +}>(isFocused?: boolean, options?: FocusOptions) => Ref; + +// @public (undocumented) +export const useBorderBoxSize: (ref: RefObject, input?: { + debounceDelay?: number; +}) => Readonly<{ + inlineSize: number; + blockSize: number; +}>; + +// @public +export const useBreakpoints: (unit?: "px" | "em") => string[]; + +// @public +export const useButtonPattern: (onPress: (e: MouseEvent_2 | KeyboardEvent_2) => void) => { + onClick: (e: MouseEvent_2 | KeyboardEvent_2) => void; + onKeyDown: (event: KeyboardEvent_2) => void; + role: string; + tabIndex: number; +}; + +// Warning: (ae-forgotten-export) The symbol "UseClipboardParams" needs to be exported by the entry point index.d.ts +// +// @public +export const useClipboard: (text: string, input?: UseClipboardParams) => UseClipboardReturn; + +// @public (undocumented) +export type UseClipboardReturn = { + copy: (e?: Event) => Promise; + hasCopied: boolean; +}; + +// @public (undocumented) +export const useContentBoxSize: (ref: RefObject, input?: { + debounceDelay?: number; +}) => Readonly<{ + inlineSize: number; + blockSize: number; +}>; + +// @public (undocumented) +export const useDarkMode: (forced?: boolean) => boolean; + +// @public +export const useDebouncedCallback:

(callback: (...args: P) => unknown, delay: number, deps?: DependencyList) => ((...args: P) => unknown) & { + flush: () => void; + cancel: () => void; +}; + +// @public +export function useDebouncedReducer>(reducer: R, initialArg: S, init: undefined, delay: number): [ +ReducerStateWithoutAction, +DispatchWithoutAction & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export function useDebouncedReducer, I>(reducer: R, initialArg: I, init: (arg: I) => ReducerStateWithoutAction, delay: number): [ +ReducerStateWithoutAction, +DispatchWithoutAction & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export function useDebouncedReducer, I>(reducer: R, initialArg: I, init: (arg: I) => ReducerState, delay: number): [ +ReducerState, +Dispatch & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export function useDebouncedState(initialValue: S | (() => S), delay: number): [ +S, +Dispatch> & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export function useDebouncedUpdates(pair: [state: S, dispatch: DispatchWithoutAction], delay: number): [ +S, +DispatchWithoutAction & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export function useDebouncedUpdates(pair: [state: S, dispatch: Dispatch], delay: number): [ +S, +Dispatch & { + flush: () => void; + cancel: () => void; +} +]; + +// @public +export const useDebouncedValue: (value: V, delay: number) => V; + +// @public @deprecated +export const useEffectEvent: any>(fn: TFunction) => (...args: TFunction extends (...args: infer P) => any ? P : never) => TFunction extends (...args: any) => infer T ? T : never; + +// @public (undocumented) +export const useElementIsVisible: () => [ref: RefObject, isVisible: boolean]; + +// @public +export const useIsomorphicLayoutEffect: typeof useEffect; + +// @public +export const useLazyRef: (init: () => T) => MutableRefObject; + +// @public +export const useLocalStorage: (key: string, fallbackValue: T) => [T, Dispatch>]; + +// @public +export const useMediaQueries: (...queries: string[]) => boolean[]; + +// @public +export const useMediaQuery: (query?: string) => boolean; + +// @public +export const useMergedRefs: (...refs: Ref[]) => RefCallback; + +// @public @deprecated +export const useMutableCallback: any>(fn: TFunction) => (...args: TFunction extends (...args: infer P) => any ? P : never) => TFunction extends (...args: any) => infer T ? T : never; + +// @public +export function useOutsideClick(elements: RefObject[], cb: (e: MouseEvent) => void): void; + +// @public +export function usePosition(anchorRef: RefObject, targetRef: RefObject, input?: UsePositionOptions): UsePositionResult; + +// @public (undocumented) +export type UsePositionOptions = { + margin?: number; + container?: Element; + placement?: Placement; +}; + +// @public (undocumented) +export type UsePositionResult = { + style: CSSProperties; + placement?: Placement; +}; + +// @public +export const usePrefersColorScheme: (scheme?: string) => boolean; + +// @public +export const usePrefersReducedData: () => boolean; + +// @public +export const usePrefersReducedMotion: () => boolean; + +// @public (undocumented) +export const usePrevious: (value: T) => T | undefined; + +// Warning: (ae-forgotten-export) The symbol "UseResizeObserverOptions" needs to be exported by the entry point index.d.ts +// +// @public +export const useResizeObserver: (input?: UseResizeObserverOptions) => { + ref: RefObject; + contentBoxSize: Partial; + borderBoxSize: Partial; +}; + +// @public +export function useSafely>(input: [state: S, dispatch: D]): [state: S, dispatch: D]; + +// Warning: (ae-forgotten-export) The symbol "SafeCallbackRef" needs to be exported by the entry point index.d.ts +// +// @public +export const useSafeRefCallback: (callback: SafeCallbackRef) => (node: T | null) => void; + +// @public +export const useSessionStorage: (key: string, fallbackValue: T) => [T, Dispatch>]; + +// @public +export const useStableArray: (array: T, compare?: (a: T_1, b: T_1) => boolean) => T; + +// @public +export const useStableCallback: any>(fn: TFunction) => (...args: TFunction extends (...args: infer P) => any ? P : never) => TFunction extends (...args: any) => infer T ? T : never; + +// @public +export const useStorage: (storage: Storage | undefined, key: string, fallbackValue: T) => [T, Dispatch>]; + +// @public +export const useToggle: (initialValue?: boolean | (() => boolean)) => [boolean, (forcedValue?: SetStateAction) => void]; + +// Warnings were encountered during analysis: +// +// src/usePosition/index.ts:84:3 - (ae-forgotten-export) The symbol "Placement" needs to be exported by the entry point index.d.ts +// src/usePosition/index.ts:87:3 - (ae-forgotten-export) The symbol "TargetBoundaries" needs to be exported by the entry point index.d.ts +// src/usePosition/index.ts:88:3 - (ae-forgotten-export) The symbol "VariantBoundaries" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/fuselage-hooks/package.json b/packages/fuselage-hooks/package.json index 85ac4aaec8..357bfbe959 100644 --- a/packages/fuselage-hooks/package.json +++ b/packages/fuselage-hooks/package.json @@ -31,14 +31,16 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:rollup", + "build": "run-s .:build:clean .:build:rollup .:build:api", ".:build:clean": "rimraf dist", ".:build:rollup": "rollup -c", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/emitter": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", "@rollup/plugin-commonjs": "~28.0.9", diff --git a/packages/fuselage-toastbar/.gitignore b/packages/fuselage-toastbar/.gitignore index e0baa61095..3bf834fada 100644 --- a/packages/fuselage-toastbar/.gitignore +++ b/packages/fuselage-toastbar/.gitignore @@ -1,2 +1,3 @@ /dist /storybook-static +/temp diff --git a/packages/fuselage-toastbar/api-extractor.json b/packages/fuselage-toastbar/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/fuselage-toastbar/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/fuselage-toastbar/fuselage-toastbar.api.md b/packages/fuselage-toastbar/fuselage-toastbar.api.md new file mode 100644 index 0000000000..8dcfad8c79 --- /dev/null +++ b/packages/fuselage-toastbar/fuselage-toastbar.api.md @@ -0,0 +1,44 @@ +## API Report File for "@rocket.chat/fuselage-toastbar" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { Context } from 'react'; +import { MemoExoticComponent } from 'react'; +import type { ReactElement } from 'react'; +import type { ReactNode } from 'react'; +import { ToastBar } from '@rocket.chat/fuselage'; + +export { ToastBar } + +// Warning: (ae-forgotten-export) The symbol "ToastBarContextValue" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ToastBarContext: Context; + +// @public (undocumented) +export type ToastBarPayload = { + type?: 'success' | 'info' | 'error'; + message: ReactNode | string | Error; + title?: string; + position?: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end'; + time: number; + id: string; + isPersistent?: boolean; +}; + +// Warning: (ae-forgotten-export) The symbol "ToastBarProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ToastBarProvider: MemoExoticComponent<(input: ToastBarProps) => ReactElement>; + +// @public (undocumented) +export const useToastBarDismiss: () => ToastBarContextValue["dismiss"]; + +// @public (undocumented) +export const useToastBarDispatch: () => ToastBarContextValue["dispatch"]; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/fuselage-toastbar/package.json b/packages/fuselage-toastbar/package.json index c81feddcd6..02702b65aa 100644 --- a/packages/fuselage-toastbar/package.json +++ b/packages/fuselage-toastbar/package.json @@ -30,10 +30,11 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:esm .:build:cjs", + "build": "run-s .:build:clean .:build:esm .:build:cjs .:build:api", ".:build:clean": "rimraf dist", ".:build:esm": "tsc -p tsconfig.esm.json", ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -45,6 +46,7 @@ "react-timing-hooks": "~4.0.2" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", diff --git a/packages/fuselage/api-extractor.json b/packages/fuselage/api-extractor.json new file mode 100644 index 0000000000..05a8ea29f0 --- /dev/null +++ b/packages/fuselage/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/index.d.ts" +} diff --git a/packages/fuselage/fuselage.api.md b/packages/fuselage/fuselage.api.md new file mode 100644 index 0000000000..d85f5112bc --- /dev/null +++ b/packages/fuselage/fuselage.api.md @@ -0,0 +1,3195 @@ +## API Report File for "@rocket.chat/fuselage" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { AllHTMLAttributes } from 'react'; +import type { AnchorHTMLAttributes } from 'react'; +import type { AriaAttributes } from 'react'; +import type { AriaMenuProps } from 'react-aria'; +import type { AriaPopoverProps } from 'react-aria'; +import type { AriaSelectProps } from '@react-types/select'; +import type { ButtonHTMLAttributes } from 'react'; +import { ComponentType } from 'react'; +import { Context } from 'react'; +import type { cssFn } from '@rocket.chat/css-in-js'; +import { CSSProperties } from 'react'; +import type { DetailedHTMLProps } from 'react'; +import type { Dispatch } from 'react'; +import { ElementType } from 'react'; +import type { FocusEventHandler } from 'react'; +import { ForwardRefExoticComponent } from 'react'; +import type { HTMLAttributeAnchorTarget } from 'react'; +import { HTMLAttributes } from 'react'; +import type { ImgHTMLAttributes } from 'react'; +import type { ItemProps } from '@react-types/shared'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSXElementConstructor } from 'react'; +import { Key } from 'react'; +import type { KeyboardEvent as KeyboardEvent_2 } from 'react'; +import type { KeyboardEventHandler } from 'react'; +import { Keys } from '@rocket.chat/icons'; +import type { LinkHTMLAttributes } from 'react'; +import { MemoExoticComponent } from 'react'; +import type { MenuTriggerProps } from 'react-stately'; +import { MouseEvent as MouseEvent_2 } from 'react'; +import type { MouseEventHandler } from 'react'; +import type { OverlayTriggerState } from 'react-stately'; +import type { PropsWithChildren } from 'react'; +import type { PropsWithoutRef } from 'react'; +import { ReactElement } from 'react'; +import { ReactNode } from 'react'; +import { ReactPortal } from 'react'; +import type { Ref } from 'react'; +import { RefAttributes } from 'react'; +import type { RefObject } from 'react'; +import type { SectionProps } from '@react-types/shared'; +import type { SetStateAction } from 'react'; +import type { SVGAttributes } from 'react'; +import type { TrackHTMLAttributes } from 'react'; +import type { UsePositionOptions } from '@rocket.chat/fuselage-hooks'; + +// @public (undocumented) +export const __setThrowErrorOnInvalidToken__: (value: boolean) => void; + +// @public (undocumented) +export const Accordion: (input: AccordionProps) => JSX_2.Element; + +// @public (undocumented) +export const AccordionItem: (input: AccordionItemProps) => JSX_2.Element; + +// @public (undocumented) +export type AccordionItemProps = { + children?: ReactNode; + className?: string; + defaultExpanded?: boolean; + disabled?: boolean; + expanded?: boolean; + tabIndex?: number; + title: ReactNode; + noncollapsible?: boolean; +}; + +// Warning: (ae-forgotten-export) The symbol "StylingProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type AccordionProps = { + children: ReactNode; +} & Partial; + +// Warning: (ae-forgotten-export) The symbol "ButtonSize" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ActionButton: ForwardRefExoticComponent, "className" | "size" | "is"> & ButtonSize & { +icon: IconProps["name"]; +} & RefAttributes>; + +// @public (undocumented) +export type ActionButtonProps = ButtonProps & ButtonSize & { + icon: IconProps['name']; +}; + +// @public (undocumented) +export const AnimatedVisibility: { + (props: AnimatedVisibilityProps): JSX_2.Element | null; + HIDDEN: VisibilityType; + VISIBLE: VisibilityType; + HIDING: VisibilityType; + UNHIDING: VisibilityType; +}; + +// @public (undocumented) +export type AnimatedVisibilityProps = { + children: ReactNode; + visibility?: VisibilityType; +}; + +// @public (undocumented) +export const AudioPlayer: ForwardRefExoticComponent>; + +// @public (undocumented) +export type AudioPlayerProps = { + src: string; + type?: string; + maxPlaybackSpeed?: number; + minPlaybackSpeed?: number; + playbackSpeedStep?: number; + download?: boolean; + playLabel?: string; + pauseLabel?: string; + audioPlaybackRangeLabel?: string; + changePlaybackSpeedLabel?: string; + downloadAudioFileLabel?: string; + trackProps?: TrackHTMLAttributes; +}; + +// Warning: (ae-forgotten-export) The symbol "AutoCompleteComponent" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const AutoComplete: AutoCompleteComponent; + +// @public (undocumented) +export type AutoCompleteProps = Omit, 'value' | 'onChange' | 'is'> & { + filter: string; + setFilter?: (filter: string) => void; + options?: AutoCompleteOption[]; + renderSelected?: ComponentType<{ + selected: AutoCompleteOption; + onRemove?: (event: MouseEvent_2) => void; + }>; + onChange: (value: string | string[]) => void; + renderItem?: ComponentType<{ + role?: string; + label: TLabel; + value: string; + selected?: boolean; + focus?: boolean; + }>; + renderEmpty?: ComponentType<{ + customEmpty?: string; + }>; + placeholder?: string; + error?: boolean; + disabled?: boolean; + multiple?: boolean; + value?: string | string[]; +} & RefAttributes; + +// @public (undocumented) +export const Avatar: (input: AvatarProps) => JSX_2.Element; + +// @public (undocumented) +export const AvatarContainer: (input: AvatarContainerProps) => JSX_2.Element; + +// @public (undocumented) +export type AvatarContainerProps = { + size?: 'x16' | 'x18' | 'x20' | 'x24' | 'x28' | 'x32' | 'x36' | 'x40' | 'x48' | 'x124' | 'x200' | 'x332'; +} & HTMLAttributes; + +// @public (undocumented) +export type AvatarProps = AvatarContainerProps & { + rounded?: boolean; + objectFit?: CSSProperties['objectFit']; + url: string; +} & Omit, 'size'>; + +// @public (undocumented) +export const AvatarStack: (input: AvatarStackProps) => JSX_2.Element; + +// @public (undocumented) +export type AvatarStackProps = DetailedHTMLProps, HTMLDivElement>; + +// @public (undocumented) +export const backgroundColor: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export function Badge(input: BadgeProps): JSX_2.Element; + +// @public (undocumented) +export type BadgeProps = { + is?: ElementType>; + variant?: 'secondary' | 'primary' | 'danger' | 'warning' | 'ghost'; + small?: boolean; + disabled?: boolean; + className?: string; + children?: ReactNode; + title?: string; +} & HTMLAttributes; + +// @public (undocumented) +export const Banner: (input: BannerProps) => JSX_2.Element; + +// @public (undocumented) +export type BannerProps = { + actionable?: boolean; + closeable?: boolean; + icon?: ReactNode; + inline?: boolean; + link?: string; + linkTarget?: HTMLAttributeAnchorTarget; + linkText?: string; + onAction?: () => void; + onClose?: () => void; + title?: string; + variant?: VariantType; +} & AllHTMLAttributes; + +// @public (undocumented) +export const borderRadius: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const borderWidth: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const Box: MemoExoticComponent>>; + +// @public (undocumented) +export interface BoxProps extends Partial, Omit, 'ref' | 'is' | 'className' | 'size' | 'elevation' | keyof StylingProps>, Omit, keyof AllHTMLAttributes | 'elevation' | keyof StylingProps> { + // (undocumented) + animated?: boolean; + // Warning: (ae-forgotten-export) The symbol "Falsy" needs to be exported by the entry point index.d.ts + // + // (undocumented) + className?: string | cssFn | (string | cssFn | Falsy)[]; + // (undocumented) + focusable?: boolean; + // (undocumented) + htmlSize?: AllHTMLAttributes['size']; + // (undocumented) + is?: ElementType; + // (undocumented) + withRichContent?: boolean | 'inlineWithoutBreaks'; +} + +// @public (undocumented) +export const Bubble: (input: BubbleProps) => JSX_2.Element; + +// @public (undocumented) +export type BubbleProps = { + secondary?: boolean; + children: ReactNode; + small?: boolean; + onClick?: () => void; + icon?: Keys; + onDismiss?: () => void; + contentProps?: Omit, 'onClick'>; + dismissProps?: Omit, 'onClick'>; +} & Omit, 'onClick'>; + +// @public (undocumented) +export const Button: ForwardRefExoticComponent, "className" | "size" | "is"> & RefAttributes>; + +// @public (undocumented) +export const ButtonGroup: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export type ButtonGroupProps = { + align?: 'start' | 'center' | 'end'; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; +} & HTMLAttributes; + +// @public (undocumented) +export type ButtonProps = BoxProps & { + primary?: boolean; + secondary?: boolean; + danger?: boolean; + warning?: boolean; + success?: boolean; + disabled?: boolean; + loading?: boolean; + mini?: boolean; + tiny?: boolean; + small?: boolean; + medium?: boolean; + large?: boolean; + square?: boolean; + external?: boolean; + icon?: IconProps['name']; +} & Omit, 'is' | 'className' | 'size'>; + +// @public (undocumented) +export const Callout: (input: CalloutProps) => JSX_2.Element; + +// @public (undocumented) +export type CalloutProps = Omit & { + type?: 'info' | 'success' | 'warning' | 'danger'; + title?: ReactNode; + children?: ReactNode; + icon?: IconProps['name']; + actions?: ReactElement; +}; + +// @public (undocumented) +export const Card: (input: CardProps) => JSX_2.Element; + +// @public (undocumented) +export const CardBody: (input: CardBodyProps) => JSX_2.Element; + +// @public (undocumented) +export type CardBodyProps = { + flexDirection?: CSSProperties['flexDirection']; + height?: BoxProps['height']; + children: ReactNode; +} & Omit, 'is'>; + +// @public (undocumented) +export const CardCol: (input: CardColProps) => JSX_2.Element; + +// @public (undocumented) +export type CardColProps = { + children: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const CardControls: (input: CardControlsProps) => JSX_2.Element; + +// @public (undocumented) +export type CardControlsProps = HTMLAttributes; + +// @public (undocumented) +export const CardGrid: (input: CardGridProps) => JSX_2.Element; + +// @public (undocumented) +export type CardGridProps = { + children: ReactNode; + breakpoints?: GridItemProps; +}; + +// @public (undocumented) +export const CardGroup: (input: CardGroupProps) => JSX_2.Element; + +// @public (undocumented) +export type CardGroupProps = { + align?: 'start' | 'center' | 'end'; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; + children?: ReactNode; +} & Omit, 'is' | 'wrap'>; + +// @public (undocumented) +export const CardHeader: (input: CardHeaderProps) => JSX_2.Element; + +// @public (undocumented) +export type CardHeaderProps = { + children: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export type CardProps = { + horizontal?: boolean; + hero?: boolean; + clickable?: boolean; +} & Omit, 'is'>; + +// @public (undocumented) +export const CardRow: (input: CardRowProps) => JSX_2.Element; + +// @public (undocumented) +export type CardRowProps = { + children: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const CardTitle: (input: CardTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type CardTitleProps = { + children: ReactNode; + info?: string; + variant?: 'h3' | 'h4' | 'h5'; +} & Omit, 'is'>; + +// @public (undocumented) +export const CheckBox: ForwardRefExoticComponent & RefAttributes>; + +// @public (undocumented) +export type CheckBoxProps = BoxProps & { + indeterminate?: boolean; + labelChildren?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const CheckOption: MemoExoticComponent<(input: CheckOptionProps) => JSX_2.Element>; + +// @public (undocumented) +export type CheckOptionProps = OptionProps; + +// @public (undocumented) +export function Chevron(input: ChevronProps): ReactElement; + +// @public (undocumented) +export type ChevronProps = Omit & { + size?: BoxProps['width']; + up?: boolean; + right?: boolean; + left?: boolean; + down?: boolean; + top?: boolean; + bottom?: boolean; +}; + +// @public (undocumented) +export const Chip: { + (props: Omit, "type"> & { + thumbUrl?: string; + renderThumb?: (props: { + url: string; + }) => ReactNode; + renderDismissSymbol?: () => ReactNode; + } & Partial): JSX_2.Element; + displayName: string; +}; + +// @public (undocumented) +export type ChipProps = Omit, 'type'> & { + thumbUrl?: string; + renderThumb?: (props: { + url: string; + }) => ReactNode; + renderDismissSymbol?: () => ReactNode; +}; + +// @public (undocumented) +export const CodeSnippet: (input: CodeSnippetProps) => ReactElement; + +// @public (undocumented) +export type CodeSnippetProps = BoxProps & { + children: string; + buttonText?: string; + buttonDisabled?: boolean; + onClick?: () => void; +}; + +// @public (undocumented) +export const color: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const Contextualbar: MemoExoticComponent>>; + +// @public (undocumented) +export const ContextualbarAction: MemoExoticComponent<(input: ContextualbarActionProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarActionProps = { + name: IconProps['name']; +} & Omit; + +// @public (undocumented) +export const ContextualbarActions: MemoExoticComponent<(props: ContextualbarActionsProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarActionsProps = ButtonGroupProps; + +// @public (undocumented) +export const ContextualbarButton: MemoExoticComponent<(props: ContextualbarButtonProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarButtonProps = ButtonProps; + +// @public (undocumented) +export const ContextualbarContent: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarContentProps = BoxProps; + +// @public (undocumented) +export const ContextualbarEmptyContent: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarEmptyContentProps = BoxProps & { + icon?: StatesIconProps['name']; + title?: string; + subtitle?: string; +}; + +// @public (undocumented) +export const ContextualbarFooter: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarFooterProps = BoxProps; + +// @public (undocumented) +export const ContextualbarHeader: MemoExoticComponent<(input: ContextualbarHeaderProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarHeaderProps = BoxProps; + +// @public (undocumented) +export const ContextualbarIcon: MemoExoticComponent<(props: ContextualbarIconProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarIconProps = IconProps; + +// @public (undocumented) +export type ContextualbarProps = BoxProps; + +// @public (undocumented) +export const ContextualbarSection: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarSectionProps = BoxProps; + +// @public (undocumented) +export const ContextualbarSkeleton: MemoExoticComponent<(props: ContextualbarSkeletonProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarSkeletonProps = BoxProps; + +// @public (undocumented) +export const ContextualbarTitle: MemoExoticComponent<(props: ContextualbarTitleProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarTitleProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2: MemoExoticComponent>>; + +// @public (undocumented) +export const ContextualbarV2Action: MemoExoticComponent<(input: ContextualbarV2ActionProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2ActionProps = { + name: IconButtonProps['icon']; +} & Omit; + +// @public (undocumented) +export const ContextualbarV2Actions: MemoExoticComponent<(props: ContextualbarV2ActionsProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2ActionsProps = ButtonGroupProps; + +// @public (undocumented) +export const ContextualbarV2Button: MemoExoticComponent<(props: ContextualbarV2ButtonProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2ButtonProps = ButtonProps; + +// @public (undocumented) +export const ContextualbarV2Content: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarV2ContentProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2EmptyContent: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarV2EmptyContentProps = ContextualbarV2ContentProps & { + icon?: StatesIconProps['name']; + title?: string; + subtitle?: string; +}; + +// @public (undocumented) +export const ContextualbarV2Footer: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarV2FooterProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2Header: MemoExoticComponent<(input: ContextualbarV2HeaderProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2HeaderProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2Icon: MemoExoticComponent<(props: ContextualbarV2IconProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2IconProps = IconProps; + +// @public (undocumented) +export type ContextualbarV2Props = BoxProps; + +// @public (undocumented) +export const ContextualbarV2Section: MemoExoticComponent>>; + +// @public (undocumented) +export type ContextualbarV2SectionProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2Skeleton: MemoExoticComponent<(props: ContextualbarV2SkeletonProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2SkeletonProps = BoxProps; + +// @public (undocumented) +export const ContextualbarV2Title: MemoExoticComponent<(props: ContextualbarV2TitleProps) => JSX_2.Element>; + +// @public (undocumented) +export type ContextualbarV2TitleProps = BoxProps; + +// @public (undocumented) +export const Divider: (input: DividerProps) => JSX_2.Element; + +// @public (undocumented) +export type DividerProps = BoxProps & { + variation?: 'danger'; + children?: ReactNode; + vertical?: boolean; +}; + +// @public (undocumented) +export const Dropdown: ForwardRefExoticComponent & RefAttributes>; + +// @public (undocumented) +export type DropdownProps = { + reference: RefObject; + placement?: UsePositionOptions['placement']; + children: ReactNode; +}; + +// @public (undocumented) +export const EmailInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes>; + +// @public (undocumented) +export type EmailInputProps = Omit & { + addon?: ReactNode; + error?: string; +}; + +// @public (undocumented) +export function Field(props: FieldProps): JSX_2.Element; + +// @public (undocumented) +export const FieldDescription: (props: FieldDescriptionProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldDescriptionProps = BoxProps; + +// @public (undocumented) +export const FieldError: (props: FieldErrorProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldErrorProps = BoxProps; + +// @public (undocumented) +export const FieldGroup: (input: FieldGroupProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldGroupProps = BoxProps; + +// @public (undocumented) +export const FieldHint: (props: FieldHintProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldHintProps = BoxProps; + +// @public (undocumented) +export const FieldLabel: ForwardRefExoticComponent & { +disabled?: boolean; +required?: boolean; +is?: (ElementType & string) | undefined; +} & RefAttributes>; + +// @public (undocumented) +export const FieldLabelInfo: (props: FieldLabelInfoProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "LabelInfoProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type FieldLabelInfoProps = LabelInfoProps; + +// @public (undocumented) +export type FieldLabelProps = LabelProps; + +// @public (undocumented) +export const FieldLink: (props: FieldLinkProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldLinkProps = BoxProps; + +// @public (undocumented) +export type FieldProps = BoxProps; + +// @public (undocumented) +export const FieldRow: (props: FieldRowProps) => JSX_2.Element; + +// @public (undocumented) +export type FieldRowProps = BoxProps; + +// @public (undocumented) +export const Flex: { + Container: typeof FlexContainer; + Item: typeof FlexItem; +}; + +// @public (undocumented) +export function FlexContainer(input: FlexContainerProps): JSX_2.Element; + +// @public (undocumented) +export type FlexContainerProps = { + children?: ReactNode; + inline?: boolean; + direction?: 'row' | 'row-reverse' | 'column' | 'column-reverse'; + wrap?: 'no-wrap' | 'wrap' | 'wrap-reverse'; + alignItems?: 'stretch' | 'start' | 'center' | 'end' | 'baseline'; + alignContent?: 'start' | 'center' | 'end' | 'space-between' | 'space-around'; + justifyContent?: 'start' | 'center' | 'end' | 'space-between' | 'space-around'; +}; + +// @public (undocumented) +export function FlexItem(input: FlexItemProps): JSX_2.Element; + +// @public (undocumented) +export type FlexItemProps = { + children?: ReactNode; + order?: number; + grow?: number; + shrink?: number; + basis?: number | string | 'auto'; + align?: 'auto' | 'start' | 'end' | 'center' | 'stretch'; +}; + +// @public (undocumented) +export const fontColor: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const fontFamily: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const fontScale: (this: unknown, arg: unknown) => { + fontSize: string; + fontWeight: number; + lineHeight: string; + letterSpacing: string; +} | undefined; + +// @public (undocumented) +export const FramedIcon: (input: FramedIconProps) => JSX_2.Element; + +// @public (undocumented) +export type FramedIconProps = { + info?: boolean; + success?: boolean; + warning?: boolean; + danger?: boolean; + neutral?: boolean; + icon: Keys; +} & Omit, 'is'>; + +// @public (undocumented) +export const Grid: { + (input: GridProps): JSX_2.Element; + Item: (input: GridItemProps) => JSX_2.Element; +}; + +// @public (undocumented) +export const GridItem: (input: GridItemProps) => JSX_2.Element; + +// @public (undocumented) +export type GridItemProps = BoxProps & { + xs?: 1 | 2 | 3 | 4; + sm?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; + md?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8; + lg?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; + xl?: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12; +}; + +// @public (undocumented) +export type GridProps = BoxProps & { + xs?: boolean; + sm?: boolean; + md?: boolean; + lg?: boolean; + xl?: boolean; +}; + +// @public (undocumented) +export const Icon: ForwardRefExoticComponent & { +name: Keys; +size?: BoxProps["width"]; +} & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "ButtonSize_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const IconButton: ForwardRefExoticComponent< { +icon: Keys | ReactElement; +primary?: boolean; +secondary?: boolean; +info?: boolean; +danger?: boolean; +warning?: boolean; +success?: boolean; +pressed?: boolean; +} & ButtonSize_2 & BoxProps & RefAttributes>; + +// @public (undocumented) +export type IconButtonProps = { + icon: Keys | ReactElement; + primary?: boolean; + secondary?: boolean; + info?: boolean; + danger?: boolean; + warning?: boolean; + success?: boolean; + pressed?: boolean; +} & ButtonSize_2 & BoxProps; + +// @public (undocumented) +export type IconProps = Omit & { + name: Keys; + size?: BoxProps['width']; +}; + +// @public (undocumented) +export const Input: ForwardRefExoticComponent>; + +// @public (undocumented) +export const InputBox: ForwardRefExoticComponent>; + +// @public (undocumented) +export type InputBoxProps = BoxProps & { + addon?: ReactNode; + input?: ReactNode; + multiple?: boolean; + error?: string; + placeholder?: string; + placeholderVisible?: boolean; + small?: boolean; + type: 'button' | 'checkbox' | 'color' | 'date' | 'datetime' | 'datetime-local' | 'email' | 'file' | 'hidden' | 'image' | 'month' | 'number' | 'password' | 'radio' | 'range' | 'reset' | 'search' | 'submit' | 'tel' | 'text' | 'time' | 'url' | 'week' | 'textarea' | 'select'; +}; + +// @public (undocumented) +export const InputBoxSkeleton: (props: InputBoxSkeletonProps) => JSX_2.Element; + +// @public (undocumented) +export type InputBoxSkeletonProps = BoxProps; + +// @public (undocumented) +export type InputProps = BoxProps; + +// @public (undocumented) +export const Label: ForwardRefExoticComponent & { +disabled?: boolean; +required?: boolean; +is?: (ElementType & string) | undefined; +} & RefAttributes>; + +// @public (undocumented) +export type LabelProps = Omit & { + disabled?: boolean; + required?: boolean; + is?: (ElementType & string) | undefined; +}; + +// @public (undocumented) +export const Margins: (props: MarginsProps) => JSX_2.Element; + +// @public (undocumented) +export type MarginsProps = PropsWithChildren<{ + all?: BoxProps['margin']; + block?: BoxProps['marginBlock']; + blockStart?: BoxProps['marginBlockStart']; + blockEnd?: BoxProps['marginBlockEnd']; + inline?: BoxProps['marginInline']; + inlineStart?: BoxProps['marginInlineStart']; + inlineEnd?: BoxProps['marginInlineEnd']; + className?: string; +}>; + +// @public (undocumented) +export const Menu: (input: MenuProps) => JSX_2.Element; + +// @public (undocumented) +export function MenuItem(_props: MenuItemProps): null; + +// @public (undocumented) +export namespace MenuItem { + var // Warning: (ae-forgotten-export) The symbol "PartialNode" needs to be exported by the entry point index.d.ts + // + // (undocumented) + getCollectionNode: (props: MenuItemProps, context: any) => Generator>; +} + +// @public (undocumented) +export type MenuItemProps = ItemProps; + +// @public (undocumented) +export interface MenuProps extends AriaMenuProps, MenuTriggerProps { + // (undocumented) + button?: ReactElement; + // (undocumented) + className?: BoxProps['className']; + // (undocumented) + detached?: boolean; + // (undocumented) + icon?: IconButtonProps['icon']; + // (undocumented) + is?: ElementType; + // (undocumented) + large?: boolean; + // (undocumented) + maxWidth?: string; + // (undocumented) + medium?: boolean; + // (undocumented) + mini?: boolean; + // (undocumented) + placement?: UsePositionOptions['placement']; + // (undocumented) + pressed?: boolean; + // (undocumented) + small?: boolean; + // (undocumented) + tiny?: boolean; + // (undocumented) + title?: string; +} + +// @public (undocumented) +export function MenuSection(_props: MenuSectionProps): null; + +// @public (undocumented) +export namespace MenuSection { + var // (undocumented) + getCollectionNode: (props: MenuSectionProps) => Generator>; +} + +// @public (undocumented) +export type MenuSectionProps = SectionProps; + +// @public (undocumented) +export const Message: ForwardRefExoticComponent & { +clickable?: boolean; +sequential?: boolean; +className?: string; +isSelected?: boolean; +isEditing?: boolean; +isPending?: boolean; +highlight?: boolean; +} & RefAttributes>; + +// @public (undocumented) +export const MessageBlock: ForwardRefExoticComponent< { +fixedWidth?: boolean; +} & BoxProps & RefAttributes>; + +// @public (undocumented) +export type MessageBlockProps = { + fixedWidth?: boolean; +} & BoxProps; + +// @public (undocumented) +export const MessageBody: (input: MessageBodyProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageBodyProps = HTMLAttributes & { + clamp?: 2 | 3 | 4; +}; + +// @public (undocumented) +export const MessageContainer: (props: MessageContainerProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageContainerFixed: (props: MessageContainerFixedProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageContainerFixedProps = HTMLAttributes; + +// @public (undocumented) +export type MessageContainerProps = HTMLAttributes; + +// @public (undocumented) +export const MessageDivider: (input: MessageDividerProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageDividerProps = { + children?: ReactNode; + unreadLabel?: string; +}; + +// @public (undocumented) +export const MessageEmoji: (input: MessageEmojiProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "MessageEmojiBaseProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type MessageEmojiProps = MessageEmojiBaseProps & { + big?: boolean; +}; + +// @public (undocumented) +export const MessageGenericPreview: (props: MessageGenericPreviewProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageGenericPreviewContent: (input: MessageGenericPreviewContentProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewContentProps = { + children?: ReactNode; + thumb?: ReactElement; +}; + +// @public (undocumented) +export const MessageGenericPreviewCoverImage: (input: MessageGenericPreviewCoverImageProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewCoverImageProps = { + url: string; + width: number; + height: number; + className?: string; +}; + +// @public (undocumented) +export const MessageGenericPreviewDescription: (input: MessageGenericPreviewDescriptionProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewDescriptionProps = { + children?: ReactNode; + clamp?: boolean; +}; + +// @public (undocumented) +export const MessageGenericPreviewFooter: (input: MessageGenericPreviewFooterProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewFooterProps = { + children?: ReactNode; + clamp?: boolean; +}; + +// @public (undocumented) +export const MessageGenericPreviewIcon: (input: MessageGenericPreviewIconProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewIconProps = IconProps & { + type: string; +}; + +// @public (undocumented) +export const MessageGenericPreviewImage: (input: MessageGenericPreviewImageProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewImageProps = { + url: string; + className?: string; +} & ImgHTMLAttributes; + +// @public (undocumented) +export type MessageGenericPreviewProps = HTMLAttributes; + +// @public (undocumented) +export const MessageGenericPreviewThumb: (props: MessageGenericPreviewThumbProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewThumbProps = HTMLAttributes; + +// @public (undocumented) +export const MessageGenericPreviewTitle: (input: MessageGenericPreviewTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageGenericPreviewTitleProps = { + externalUrl?: string; +} & HTMLAttributes & AnchorHTMLAttributes; + +// @public (undocumented) +export const MessageHeader: (input: MessageHeaderProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageHeaderProps = HTMLAttributes; + +// @public (undocumented) +export function MessageHighlight(input: MessageHighlightProps): JSX_2.Element; + +// @public (undocumented) +export type MessageHighlightProps = { + is?: ElementType; + clickable?: boolean; + variant?: 'critical' | 'relevant' | 'other' | 'link'; + className?: string; + children: ReactNode; + title?: string; +} & HTMLAttributes; + +// @public (undocumented) +const MessageLeftContainer: (props: MessageLeftContainerProps) => JSX_2.Element; +export { MessageLeftContainer } +export { MessageLeftContainer as MessageSystemLeftContainer } + +// @public (undocumented) +type MessageLeftContainerProps = HTMLAttributes; +export { MessageLeftContainerProps } +export { MessageLeftContainerProps as MessageSystemLeftContainerProps } + +// @public (undocumented) +export const MessageMetrics: (props: MessageMetricsProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageMetricsFollowing: (input: MessageMetricsFollowingProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageMetricsFollowingProps = { + name: 'bell' | 'bell-off'; + badge?: ReactElement; +} & Omit; + +// @public (undocumented) +export const MessageMetricsItem: (input: MessageMetricsItemProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageMetricsItemAvatarRow: (input: MessageMetricsItemAvatarRowProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageMetricsItemAvatarRowContent: (input: MessageMetricsItemAvatarRowContentProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageMetricsItemAvatarRowContentProps = HTMLAttributes; + +// @public (undocumented) +export type MessageMetricsItemAvatarRowProps = HTMLAttributes; + +// @public (undocumented) +export const MessageMetricsItemIcon: (props: MessageMetricsItemIconProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageMetricsItemIconProps = { + name: 'thread' | 'user' | 'clock' | 'discussion'; +} & Omit; + +// @public (undocumented) +export const MessageMetricsItemLabel: (props: MessageMetricsItemLabelProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageMetricsItemLabelProps = HTMLAttributes; + +// @public (undocumented) +export type MessageMetricsItemProps = HTMLAttributes; + +// @public (undocumented) +export type MessageMetricsProps = HTMLAttributes; + +// @public (undocumented) +export const MessageMetricsReply: (props: MessageMetricsReplyProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageMetricsReplyProps = ButtonProps; + +// @public (undocumented) +export const MessageName: (props: MessageNameProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageNameContainer: ForwardRefExoticComponent>; + +// @public (undocumented) +export type MessageNameContainerProps = HTMLAttributes; + +// @public (undocumented) +export type MessageNameProps = HTMLAttributes; + +// @public (undocumented) +export type MessageProps = AllHTMLAttributes & { + clickable?: boolean; + sequential?: boolean; + className?: string; + isSelected?: boolean; + isEditing?: boolean; + isPending?: boolean; + highlight?: boolean; +}; + +// @public (undocumented) +export const MessageReaction: ForwardRefExoticComponent< { +name?: string; +counter?: number; +mine?: boolean; +children?: ReactNode; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const MessageReactionAction: (input: MessageReactionActionProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageReactionActionProps = HTMLAttributes; + +// @public (undocumented) +export const MessageReactionCounter: (input: MessageReactionCounterProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageReactionCounterProps = { + counter: number; + className?: string; +}; + +// @public (undocumented) +export const MessageReactionEmoji: (input: MessageReactionEmojiProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageReactionEmojiProps = MessageEmojiBaseProps; + +// @public (undocumented) +export type MessageReactionProps = { + name?: string; + counter?: number; + mine?: boolean; + children?: ReactNode; +} & HTMLAttributes; + +// @public (undocumented) +export const MessageReactions: ForwardRefExoticComponent>; + +// @public (undocumented) +export type MessageReactionsProps = HTMLAttributes; + +// @public (undocumented) +export const MessageRole: (props: MessageRoleProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageRoleProps = TagProps; + +// @public (undocumented) +export const MessageRoles: (props: MessageRolesProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageRolesProps = HTMLAttributes; + +// @public (undocumented) +export const MessageStatusIndicator: ForwardRefExoticComponent>; + +// @public (undocumented) +export const MessageStatusIndicatorItem: (input: MessageStatusIndicatorItemProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageStatusIndicatorItemProps = { + name: IconProps['name']; + variant?: 'success' | 'danger' | 'warning' | 'primary'; +} & Omit, 'is'>; + +// @public (undocumented) +export type MessageStatusIndicatorProps = AllHTMLAttributes; + +// @public (undocumented) +export const MessageStatusIndicatorText: (input: MessageStatusIndicatorTextProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageStatusIndicatorTextProps = { + children: ReactNode; +}; + +// @public (undocumented) +export const MessageStatusPrivateIndicator: (input: MessageStatusPrivateIndicatorProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageStatusPrivateIndicatorProps = { + children?: ReactNode; + variant?: MessageStatusIndicatorItemProps['variant']; +}; + +// @public (undocumented) +export const MessageSystem: (input: MessageSystemProps) => JSX_2.Element; + +// @public (undocumented) +export const MessageSystemBlock: (props: MessageSystemBlockProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageSystemBlockProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const MessageSystemBody: (props: MessageSystemBodyProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageSystemBodyProps = HTMLAttributes; + +// @public (undocumented) +export const MessageSystemContainer: (props: MessageSystemContainerProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageSystemContainerProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const MessageSystemName: (props: MessageSystemNameProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageSystemNameProps = MessageNameProps; + +// @public (undocumented) +export type MessageSystemProps = { + children?: ReactNode; + title?: string; + isSelected?: boolean; + onClick?: (e: MouseEvent_2) => void; +} & AllHTMLAttributes; + +// @public (undocumented) +export const MessageSystemTimestamp: (props: MessageSystemTimestampProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageSystemTimestampProps = { + children: ReactNode; + title?: string; +}; + +// @public (undocumented) +export const MessageTimestamp: (props: MessageTimestampProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageTimestampProps = HTMLAttributes; + +// @public (undocumented) +export const MessageToolbar: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const MessageToolbarItem: ForwardRefExoticComponent< { +icon: Keys | ReactElement; +primary?: boolean; +secondary?: boolean; +info?: boolean; +danger?: boolean; +warning?: boolean; +success?: boolean; +pressed?: boolean; +} & { +large?: boolean; +medium?: boolean; +small?: boolean; +tiny?: boolean; +mini?: boolean; +} & BoxProps & RefAttributes>; + +// @public (undocumented) +export type MessageToolbarItemProps = IconButtonProps; + +// @public (undocumented) +export type MessageToolbarProps = ButtonGroupProps; + +// @public (undocumented) +export const MessageToolbarWrapper: ForwardRefExoticComponent & { +visible?: boolean; +} & RefAttributes>; + +// @public (undocumented) +export type MessageToolbarWrapperProps = HTMLAttributes & { + visible?: boolean; +}; + +// @public (undocumented) +export const MessageUsername: (props: MessageUsernameProps) => JSX_2.Element; + +// @public (undocumented) +export type MessageUsernameProps = HTMLAttributes; + +// @public (undocumented) +export const Modal: ForwardRefExoticComponent< { +wrapperFunction?: (props: Pick) => ReactNode; +wrapper?: ElementType>; +} & BoxProps & RefAttributes>; + +// @public (undocumented) +export const ModalBackdrop: (props: ModalBackdropProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalBackdropProps = BoxProps; + +// @public (undocumented) +export const ModalClose: (props: ModalCloseProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalCloseProps = BoxProps; + +// @public (undocumented) +export const ModalContent: (input: ModalContentProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalContentProps = BoxProps & { + onScrollContent?: ((touching: { + top: boolean; + }) => void) | undefined; +}; + +// @public (undocumented) +export const ModalFooter: (input: ModalFooterProps) => JSX_2.Element; + +// @public (undocumented) +export const ModalFooterAnnotation: (input: ModalFooterAnnotationProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalFooterAnnotationProps = BoxProps; + +// @public (undocumented) +export const ModalFooterControllers: (input: ModalFooterControllersProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalFooterControllersProps = ButtonGroupProps; + +// @public (undocumented) +export type ModalFooterProps = BoxProps; + +// @public (undocumented) +export const ModalHeader: (input: ModalHeaderProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalHeaderProps = BoxProps; + +// @public (undocumented) +export const ModalHeaderText: (input: ModalHeaderTextProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalHeaderTextProps = BoxProps; + +// @public (undocumented) +export const ModalHeroImage: (input: ModalHeroImageProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalHeroImageProps = BoxProps; + +// @public (undocumented) +export const ModalIcon: (input: ModalIconProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalIconProps = BoxProps & { + name: IconProps['name']; +}; + +// @public (undocumented) +export type ModalProps = { + wrapperFunction?: (props: Pick) => ReactNode; + wrapper?: ElementType>; +} & BoxProps; + +// @public (undocumented) +export const ModalTagline: (input: ModalTaglineProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalTaglineProps = BoxProps; + +// @public (undocumented) +export const ModalThumb: (props: ModalThumbProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalThumbProps = AvatarProps; + +// @public (undocumented) +export const ModalTitle: (input: ModalTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type ModalTitleProps = BoxProps; + +// @public (undocumented) +export const MultiSelect: ForwardRefExoticComponent & { +value?: SelectOption[0][]; +error?: string; +options: SelectOption[]; +onChange: (params: SelectOption[0][]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +customEmpty?: string; +anchor?: ElementType | ((params: MultiSelectAnchorParams) => ReactNode); +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +addonIcon?: IconProps["name"]; +setFilter?: (filter: string) => void; +} & RefAttributes>; + +// @public (undocumented) +export const MultiSelectFiltered: ForwardRefExoticComponent & { +value?: SelectOption[0][]; +error?: string; +options: SelectOption[]; +onChange: (params: SelectOption[0][]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +customEmpty?: string; +anchor?: ElementType | ((params: MultiSelectAnchorParams) => ReactNode); +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +addonIcon?: IconProps["name"]; +setFilter?: (filter: string) => void; +} & { +filter?: string; +setFilter?: Dispatch>; +addonIcon?: IconProps["name"]; +} & RefAttributes>; + +// @public (undocumented) +export type MultiSelectFilteredProps = MultiSelectProps & { + filter?: string; + setFilter?: Dispatch>; + addonIcon?: IconProps['name']; +}; + +// @public (undocumented) +export type MultiSelectProps = Omit & { + value?: SelectOption[0][]; + error?: string; + options: SelectOption[]; + onChange: (params: SelectOption[0][]) => void; + getLabel?: (params: SelectOption) => SelectOption[1]; + getValue?: (params: SelectOption) => SelectOption[0]; + customEmpty?: string; + anchor?: ElementType | ((params: MultiSelectAnchorParams) => ReactNode); + renderOptions?: ElementType; + renderItem?: ElementType; + renderSelected?: ElementType; + addonIcon?: IconProps['name']; + setFilter?: (filter: string) => void; +}; + +// @public (undocumented) +export const NavBar: (props: NavBarProps) => JSX_2.Element; + +// @public (undocumented) +export const NavBarDivider: (props: NavBarDividerProps) => JSX_2.Element; + +// @public (undocumented) +export type NavBarDividerProps = DividerProps; + +// @public (undocumented) +export const NavBarGroup: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export type NavBarGroupProps = ButtonGroupProps; + +// @public (undocumented) +export const NavBarItem: ForwardRefExoticComponent & Partial & RefAttributes>; + +// @public (undocumented) +export type NavbarItemProps = HTMLAttributes & Partial; + +// @public (undocumented) +export type NavBarProps = HTMLAttributes; + +// @public (undocumented) +export const NavBarSection: (input: NavbarSectionProps) => JSX_2.Element; + +// @public (undocumented) +export type NavbarSectionProps = HTMLAttributes; + +// @public (undocumented) +export const NumberInput: ForwardRefExoticComponent>; + +// @public (undocumented) +export type NumberInputProps = Omit; + +// @public (undocumented) +const Option_2: MemoExoticComponent & RefAttributes>>; +export { Option_2 as Option } + +// @public (undocumented) +const OptionAvatar: (props: OptionAvatarProps) => JSX_2.Element; +export { OptionAvatar as MenuItemAvatar } +export { OptionAvatar } + +// @public (undocumented) +type OptionAvatarProps = { + children?: ReactNode; +}; +export { OptionAvatarProps as MenuItemAvatarProps } +export { OptionAvatarProps } + +// @public (undocumented) +const OptionColumn: (props: OptionColumnProps) => JSX_2.Element; +export { OptionColumn as MenuItemColumn } +export { OptionColumn } + +// @public (undocumented) +type OptionColumnProps = { + children?: ReactNode; +}; +export { OptionColumnProps as MenuItemColumnProps } +export { OptionColumnProps } + +// @public (undocumented) +export const OptionContainer: ForwardRefExoticComponent>; + +// @public (undocumented) +export type OptionContainerProps = BoxProps; + +// @public (undocumented) +const OptionContent: (props: OptionContentProps) => JSX_2.Element; +export { OptionContent as MenuItemContent } +export { OptionContent } + +// @public (undocumented) +type OptionContentProps = HTMLAttributes; +export { OptionContentProps as MenuItemContentProps } +export { OptionContentProps } + +// @public (undocumented) +export const OptionDescription: (props: OptionDescriptionProps) => JSX_2.Element; + +// @public (undocumented) +const OptionDescriptionBlock: (props: OptionDescriptionBlockProps) => JSX_2.Element; +export { OptionDescriptionBlock as MenuItemDescription } +export { OptionDescriptionBlock } + +// @public (undocumented) +type OptionDescriptionBlockProps = { + children?: ReactNode; +}; +export { OptionDescriptionBlockProps as MenuItemDescriptionProps } +export { OptionDescriptionBlockProps } + +// @public (undocumented) +export type OptionDescriptionProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const OptionDivider: (props: OptionDividerProps) => JSX_2.Element; + +// @public (undocumented) +export type OptionDividerProps = DividerProps; + +// @public (undocumented) +export const OptionHeader: (input: OptionHeaderProps) => JSX_2.Element; + +// @public (undocumented) +export type OptionHeaderProps = { + children: ReactNode; +}; + +// @public (undocumented) +const OptionIcon: (props: OptionIconProps) => JSX_2.Element; +export { OptionIcon as MenuItemIcon } +export { OptionIcon } + +// @public (undocumented) +type OptionIconProps = IconProps; +export { OptionIconProps as MenuItemIconProps } +export { OptionIconProps } + +// @public (undocumented) +const OptionInput: (props: OptionInputProps) => JSX_2.Element; +export { OptionInput as MenuItemInput } +export { OptionInput } + +// @public (undocumented) +type OptionInputProps = { + children?: ReactNode; +}; +export { OptionInputProps as MenuItemInputProps } +export { OptionInputProps } + +// @public (undocumented) +export const OptionMenu: (props: OptionMenuProps) => JSX_2.Element; + +// @public (undocumented) +export type OptionMenuProps = HTMLAttributes; + +// @public (undocumented) +export type OptionProps = { + is?: BoxProps['is']; + id?: string; + children?: ReactNode; + label?: ReactNode; + focus?: boolean; + selected?: boolean; + className?: BoxProps['className']; + ref?: Ref; + icon?: IconProps['name']; + gap?: boolean; + avatar?: ReactNode; + title?: string; + disabled?: boolean; + value?: string | number; + variant?: 'danger' | 'success' | 'warning' | 'primary'; + onClick?: (event: MouseEvent_2) => void; + description?: ReactNode; +} & Omit, 'is' | 'id' | 'children' | 'label' | 'selected' | 'className' | 'ref' | 'icon' | 'gap' | 'avatar' | 'title' | 'disabled' | 'value' | 'variant' | 'onClick' | 'description'>; + +// @public (undocumented) +export const Options: ForwardRefExoticComponent & RefAttributes> & { + (props: PropsWithoutRef> & RefAttributes): JSX.Element; +}; + +// @public (undocumented) +const OptionSkeleton: () => JSX_2.Element; +export { OptionSkeleton as MenuItemSkeleton } +export { OptionSkeleton } + +// @public (undocumented) +export type OptionsProps = Omit & { + multiple?: boolean; + options: OptionType[]; + cursor: number; + renderItem?: ComponentType<{ + role?: string; + label: TLabel; + value: TValue; + selected?: boolean; + focus?: boolean; + }>; + renderEmpty?: ComponentType<{ + customEmpty?: string; + }>; + onSelect: (option: OptionType) => void; + customEmpty?: string; +}; + +// @public (undocumented) +const OptionTitle: (props: OptionTitleProps) => JSX_2.Element; +export { OptionTitle as MenuItemTitle } +export { OptionTitle } + +// @public (undocumented) +type OptionTitleProps = { + children?: ReactNode; +}; +export { OptionTitleProps as MenuItemTitleProps } +export { OptionTitleProps } + +// @public (undocumented) +export type OptionType = [ +value: TValue, +label: TLabel, +selected?: boolean, +disabled?: boolean, +type?: 'heading' | 'divider' | 'option', +url?: string +]; + +// @public (undocumented) +export const OwnerDocument: Context< { +document: Document; +}>; + +// @public (undocumented) +export const PaginatedMultiSelectFiltered: (input: PaginatedMultiSelectFilteredProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaginatedMultiSelectProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type PaginatedMultiSelectFilteredProps = { + setFilter?: (value: string) => void; +} & PaginatedMultiSelectProps; + +// @public (undocumented) +export type PaginatedMultiSelectOption = { + value: string | number; + label: string; +}; + +// @public (undocumented) +export const PaginatedSelectFiltered: (input: PaginatedSelectFilteredProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "PaginatedSelectProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type PaginatedSelectFilteredProps = Omit & { + setFilter: (value: string | undefined | number) => void; +}; + +// @public (undocumented) +export const Pagination: (input: PaginationProps) => JSX_2.Element; + +// @public (undocumented) +export type PaginationProps = { + count: number; + current?: number; + divider?: boolean; + itemsPerPage?: ItemsPerPage; + itemsPerPageLabel?: (context: { + count: number; + current: number; + itemsPerPage: ItemsPerPage; + }) => string; + showingResultsLabel?: (context: { + count: number; + current: number; + itemsPerPage: ItemsPerPage; + }) => string; + onSetCurrent?: Dispatch>; + onSetItemsPerPage?: Dispatch>; +} & HTMLAttributes; + +// @public (undocumented) +export const Palette: { + surface: { + 'surface-light': Var; + 'surface-tint': Var; + 'surface-room': Var; + 'surface-neutral': Var; + 'surface-disabled': Var; + 'surface-hover': Var; + 'surface-selected': Var; + 'surface-dark': Var; + 'surface-featured': Var; + 'surface-featured-hover': Var; + 'surface-overlay': Var; + 'surface-transparent': string; + 'surface-sidebar': Var; + }; + status: { + 'status-background-info': Var; + 'status-background-success': Var; + 'status-background-danger': Var; + 'status-background-warning': Var; + 'status-background-warning-2': Var; + 'status-background-service-1': Var; + 'status-background-service-2': Var; + }; + statusColor: { + 'status-font-on-info': Var; + 'status-font-on-success': Var; + 'status-font-on-warning': Var; + 'status-font-on-warning-2': Var; + 'status-font-on-danger': Var; + 'status-font-on-service-1': Var; + 'status-font-on-service-2': Var; + }; + badge: { + 'badge-background-level-0': Var; + 'badge-background-level-1': Var; + 'badge-background-level-2': Var; + 'badge-background-level-3': Var; + 'badge-background-level-4': Var; + }; + text: { + 'font-white': Var; + 'font-disabled': Var; + 'font-annotation': Var; + 'font-hint': Var; + 'font-secondary-info': Var; + 'font-default': Var; + 'font-titles-labels': Var; + 'font-info': Var; + 'font-danger': Var; + 'font-pure-black': Var; + 'font-pure-white': Var; + }; + stroke: { + 'stroke-extra-light': Var; + 'stroke-light': Var; + 'stroke-medium': Var; + 'stroke-dark': Var; + 'stroke-extra-dark': Var; + 'stroke-extra-light-highlight': Var; + 'stroke-highlight': Var; + 'stroke-extra-light-error': Var; + 'stroke-error': Var; + }; + shadow: { + 'shadow-elevation-border': Var; + 'shadow-elevation-1': Var; + 'shadow-elevation-2x': Var; + 'shadow-elevation-2y': Var; + 'shadow-highlight': Var; + 'shadow-danger': Var; + }; +}; + +// Warning: (ae-forgotten-export) The symbol "PaletteStyleTag_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const PaletteStyleTag: MemoExoticComponent; + +// @public (undocumented) +export type PaletteStyleTagProps = { + theme?: Themes; + tagId?: string; + prefix?: string; + selector?: string; + palette?: string; +}; + +// @public (undocumented) +export const PasswordInput: ForwardRefExoticComponent>; + +// @public (undocumented) +export type PasswordInputProps = Omit; + +// @public (undocumented) +export function Popover(input: PopoverProps): JSX_2.Element; + +// @public (undocumented) +export interface PopoverProps extends Omit { + // (undocumented) + children: ReactNode; + // (undocumented) + portalContainer?: Element; + // (undocumented) + state: OverlayTriggerState; +} + +// @public (undocumented) +export const Position: (input: PositionProps) => ReactPortal; + +// @public (undocumented) +export const PositionAnimated: (input: PositionAnimatedProps) => JSX_2.Element; + +// @public (undocumented) +export type PositionAnimatedProps = { + visible?: 'hidden' | 'visible' | 'hiding' | 'unhiding'; +} & PositionProps; + +// @public (undocumented) +export type PositionProps = { + anchor: RefObject; + children: ReactElement; + margin?: number; + placement?: UsePositionOptions['placement']; +} & Omit; + +// @public (undocumented) +export const ProgressBar: ForwardRefExoticComponent< { +percentage: number; +variant?: "info" | "success" | "warning" | "danger"; +error?: string; +animated?: boolean; +light?: boolean; +} & Omit, "is"> & RefAttributes>; + +// @public (undocumented) +export type ProgressBarProps = { + percentage: number; + variant?: 'info' | 'success' | 'warning' | 'danger'; + error?: string; + animated?: boolean; + light?: boolean; +} & Omit, 'is'>; + +// @public (undocumented) +export const RadioButton: ForwardRefExoticComponent & { +labelChildren?: ReactNode; +} & RefAttributes>; + +// @public (undocumented) +export type RadioButtonProps = BoxProps & AllHTMLAttributes & { + labelChildren?: ReactNode; +}; + +// @public (undocumented) +export const Scrollable: (input: ScrollableProps) => JSX_2.Element; + +// @public (undocumented) +export type ScrollableProps = PropsWithChildren<{ + horizontal?: boolean; + vertical?: boolean; + smooth?: boolean; + onScrollContent?: (touching: { + top: boolean; + }) => void; +}>; + +// @public (undocumented) +export const SearchInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes>; + +// @public (undocumented) +export type SearchInputProps = Omit & { + addon?: ReactNode; + error?: string; +}; + +// @public (undocumented) +export const Select: ForwardRefExoticComponent, "value" | "children" | "onChange"> & { +error?: string; +placeholder?: string; +value?: Key | null | undefined; +onChange?: ((key: Key) => any) | undefined; +options: SelectOption_2[]; +small?: boolean; +} & Omit, "value" | "onChange"> & RefAttributes>; + +// @public (undocumented) +export const SelectFiltered: ForwardRefExoticComponent & { +anchor?: ElementType; +error?: string; +options: SelectOption[]; +onChange: (value: SelectOption[0]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +filter?: string; +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +customEmpty?: string; +addonIcon?: IconProps["name"]; +} & { +filter?: string; +setFilter?: Dispatch>; +addonIcon?: IconProps["name"]; +} & RefAttributes>; + +// @public (undocumented) +export type SelectFilteredProps = SelectProps & { + filter?: string; + setFilter?: Dispatch>; + addonIcon?: IconProps['name']; +}; + +// @public (undocumented) +export const SelectInput: ForwardRefExoticComponent & { +error?: string; +options?: SelectInputOptions; +htmlSize?: number; +addon?: ReactNode; +} & RefAttributes>; + +// @public (undocumented) +export const SelectInputOption: ForwardRefExoticComponent>; + +// @public (undocumented) +export type SelectInputOptionProps = BoxProps; + +// @public (undocumented) +export type SelectInputProps = Omit & { + error?: string; + options?: SelectInputOptions; + htmlSize?: number; + addon?: ReactNode; +}; + +// @public (undocumented) +export const SelectLegacy: ForwardRefExoticComponent & { +anchor?: ElementType; +error?: string; +options: SelectOption[]; +onChange: (value: SelectOption[0]) => void; +getLabel?: (params: SelectOption) => SelectOption[1]; +getValue?: (params: SelectOption) => SelectOption[0]; +filter?: string; +renderOptions?: ElementType; +renderItem?: ElementType; +renderSelected?: ElementType; +customEmpty?: string; +addonIcon?: IconProps["name"]; +} & RefAttributes>; + +// @public (undocumented) +export type SelectOption = readonly [ +value: string, +label: string, +selected?: boolean +]; + +// @public (undocumented) +export type SelectProps = Omit & { + anchor?: ElementType; + error?: string; + options: SelectOption[]; + onChange: (value: SelectOption[0]) => void; + getLabel?: (params: SelectOption) => SelectOption[1]; + getValue?: (params: SelectOption) => SelectOption[0]; + filter?: string; + renderOptions?: ElementType; + renderItem?: ElementType; + renderSelected?: ElementType; + customEmpty?: string; + addonIcon?: IconProps['name']; +}; + +// @public (undocumented) +export const Sidebar: ((props: SidebarProps) => JSX_2.Element) & { + TopBar: ((input: { + children?: ReactNode; + className?: string; + }) => JSX_2.Element) & { + Section: (input: { + children?: ReactNode; + className?: string; + }) => JSX_2.Element; + ToolBox: (input: { + children?: ReactNode; + className?: string; + }) => JSX_2.Element; + Wrapper: (input: { + children?: ReactNode; + }) => JSX_2.Element; + Avatar: { + size: "x24"; + }; + Actions: ForwardRefExoticComponent< { + align?: "start" | "center" | "end"; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; + } & HTMLAttributes & RefAttributes>; + Action: ForwardRefExoticComponent< { + icon: Keys | ReactElement; + primary?: boolean; + secondary?: boolean; + info?: boolean; + danger?: boolean; + warning?: boolean; + success?: boolean; + pressed?: boolean; + } & { + large?: boolean; + medium?: boolean; + small?: boolean; + tiny?: boolean; + mini?: boolean; + } & BoxProps & RefAttributes>; + Divider: () => JSX_2.Element; + Title: (props: { + children?: ReactNode; + }) => JSX_2.Element; + }; + Item: ((input: SidebarItemProps) => JSX_2.Element) & { + Menu: (props: SidebarItemMenuProps) => JSX_2.Element; + Container: (props: SidebarItemContainerProps) => JSX_2.Element; + Content: (input: SidebarItemContentProps) => JSX_2.Element; + Title: (input: SidebarItemTitleProps) => JSX_2.Element; + Subtitle: (input: SidebarItemSubtitleProps) => JSX_2.Element; + Time: (input: SidebarItemTimeProps) => JSX_2.Element; + Wrapper: (input: SidebarItemWrapperProps) => JSX_2.Element; + Icon: (input: SidebarItemIconProps) => JSX_2.Element; + Avatar: (input: SidebarItemAvatarProps) => JSX_2.Element; + Actions: ForwardRefExoticComponent< { + align?: "start" | "center" | "end"; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; + } & HTMLAttributes & RefAttributes>; + Action: (props: SidebarItemActionProps) => JSX_2.Element; + Badge: (input: SidebarItemBadgeProps) => JSX_2.Element; + }; + Section: ((props: SidebarSectionProps) => JSX_2.Element) & { + Title: (props: SidebarSectionTitleProps) => JSX_2.Element; + }; + Divider: () => JSX_2.Element; + Banner: (input: SidebarBannerProps) => JSX_2.Element; +}; + +// @public (undocumented) +export const SidebarBanner: (input: SidebarBannerProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarBannerProps = { + text?: ReactNode; + description?: ReactNode; + onClick?: () => void; + variant?: VariantType_2; + onClose?: () => void; + children?: ReactNode; + addon?: ReactNode; +}; + +// @public (undocumented) +export const SidebarDivider: () => JSX_2.Element; + +// @public (undocumented) +export const SidebarFooter: (input: SidebarFooterProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarFooterHighlight: (input: SidebarFooterHighlightProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarFooterHighlightProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export type SidebarFooterProps = { + children?: ReactNode; + elevated?: boolean; +}; + +// @public (undocumented) +export const SidebarItem: ((input: SidebarItemProps) => JSX_2.Element) & { + Menu: (props: SidebarItemMenuProps) => JSX_2.Element; + Container: (props: SidebarItemContainerProps) => JSX_2.Element; + Content: (input: SidebarItemContentProps) => JSX_2.Element; + Title: (input: SidebarItemTitleProps) => JSX_2.Element; + Subtitle: (input: SidebarItemSubtitleProps) => JSX_2.Element; + Time: (input: SidebarItemTimeProps) => JSX_2.Element; + Wrapper: (input: SidebarItemWrapperProps) => JSX_2.Element; + Icon: (input: SidebarItemIconProps) => JSX_2.Element; + Avatar: (input: SidebarItemAvatarProps) => JSX_2.Element; + Actions: ForwardRefExoticComponent< { + align?: "start" | "center" | "end"; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; + } & HTMLAttributes & RefAttributes>; + Action: (props: SidebarItemActionProps) => JSX_2.Element; + Badge: (input: SidebarItemBadgeProps) => JSX_2.Element; +}; + +// @public (undocumented) +export const SidebarItemAction: (props: SidebarItemActionProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SidebarActionProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export type SidebarItemActionProps = SidebarActionProps; + +// @public (undocumented) +export const SidebarItemActions: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const SidebarItemAvatar: (input: SidebarItemAvatarProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemAvatarProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemBadge: (input: SidebarItemBadgeProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemBadgeProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemContainer: (props: SidebarItemContainerProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemContainerProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemContent: (input: SidebarItemContentProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemContentProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemIcon: (input: SidebarItemIconProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemIconProps = { + children?: ReactNode; + className?: string; + highlighted?: boolean; + icon: IconProps['name']; +} & Omit, 'name' | 'is'>; + +// @public (undocumented) +export const SidebarItemMenu: (props: SidebarItemMenuProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemMenuProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export type SidebarItemProps = { + selected?: boolean; + highlighted?: boolean; + clickable?: boolean; + featured?: boolean; + is?: BoxProps['is']; + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemSubtitle: (input: SidebarItemSubtitleProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemSubtitleProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemTime: (input: SidebarItemTimeProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemTimeProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemTitle: (input: SidebarItemTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemTitleProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export const SidebarItemWrapper: (input: SidebarItemWrapperProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarItemWrapperProps = { + children?: ReactNode; + className?: string; +} & AllHTMLAttributes; + +// @public (undocumented) +export type SidebarProps = BoxProps; + +// @public (undocumented) +export const SidebarSection: ((props: SidebarSectionProps) => JSX_2.Element) & { + Title: (props: SidebarSectionTitleProps) => JSX_2.Element; +}; + +// @public (undocumented) +export type SidebarSectionProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const SidebarSectionTitle: (props: SidebarSectionTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarSectionTitleProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const SidebarTopBar: ((input: { + children?: ReactNode; + className?: string; +}) => JSX_2.Element) & { + Section: (input: { + children?: ReactNode; + className?: string; + }) => JSX_2.Element; + ToolBox: (input: { + children?: ReactNode; + className?: string; + }) => JSX_2.Element; + Wrapper: (input: { + children?: ReactNode; + }) => JSX_2.Element; + Avatar: { + size: "x24"; + }; + Actions: ForwardRefExoticComponent< { + align?: "start" | "center" | "end"; + stretch?: boolean; + wrap?: boolean; + vertical?: boolean; + small?: boolean; + large?: boolean; + } & HTMLAttributes & RefAttributes>; + Action: ForwardRefExoticComponent< { + icon: Keys | ReactElement; + primary?: boolean; + secondary?: boolean; + info?: boolean; + danger?: boolean; + warning?: boolean; + success?: boolean; + pressed?: boolean; + } & { + large?: boolean; + medium?: boolean; + small?: boolean; + tiny?: boolean; + mini?: boolean; + } & BoxProps & RefAttributes>; + Divider: () => JSX_2.Element; + Title: (props: { + children?: ReactNode; + }) => JSX_2.Element; +}; + +// @public (undocumented) +export const SidebarV2: ForwardRefExoticComponent< { +collapsed?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const SidebarV2Accordion: (input: SidebarV2AccordionProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2AccordionItem: (input: SidebarV2AccordionItemProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarV2AccordionItemProps = { + children?: ReactNode; + className?: string; + defaultExpanded?: boolean; + disabled?: boolean; + expanded?: boolean; + title: ReactNode; + noncollapsible?: boolean; + badge?: ReactNode; +} & HTMLAttributes; + +// @public (undocumented) +export type SidebarV2AccordionProps = HTMLAttributes; + +// @public (undocumented) +export const SidebarV2Action: ForwardRefExoticComponent< { +icon: Keys | ReactElement; +primary?: boolean; +secondary?: boolean; +info?: boolean; +danger?: boolean; +warning?: boolean; +success?: boolean; +pressed?: boolean; +} & { +large?: boolean; +medium?: boolean; +small?: boolean; +tiny?: boolean; +mini?: boolean; +} & BoxProps & RefAttributes>; + +// @public (undocumented) +export type SidebarV2ActionProps = IconButtonProps; + +// @public (undocumented) +export const SidebarV2Actions: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export type SidebarV2ActionsProps = ButtonGroupProps; + +// Warning: (ae-forgotten-export) The symbol "SidebarBannerProps_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const SidebarV2Banner: (input: SidebarBannerProps_2) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ButtonGroup: (input: ButtonGroupProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2CollapseGroup: ForwardRefExoticComponent< { +expanded?: boolean; +defaultExpanded?: boolean; +tabIndex?: number; +title: string; +badge?: ReactNode; +actions?: ReactNode; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const SidebarV2Divider: () => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2Footer: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2FooterContent: (input: BoxProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SidebarGroupTitleProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const SidebarV2GroupTitle: (input: SidebarGroupTitleProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SidebarV2ItemProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const SidebarV2Item: (input: SidebarV2ItemProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemAction: (input: { + onClick: (e: Event) => void; + icon?: Keys; +} & HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemAvatarWrapper: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemBadge: (input: BadgeProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemCol: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemContent: (input: { + unread?: boolean; +} & HTMLAttributes) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "SidebarItemIconProps_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const SidebarV2ItemIcon: (input: SidebarItemIconProps_2) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemMenu: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemRow: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemStatusBullet: (props: StatusBulletProps) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemTimestamp: (input: { + unread?: boolean; +} & HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2ItemTitle: (input: { + unread?: boolean; +} & HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2Link: (input: SidebarV2LinkProps) => JSX_2.Element; + +// @public (undocumented) +export type SidebarV2LinkProps = { + selected?: boolean; + icon?: Keys; + badge?: ReactNode; + menu?: ReactNode; +} & LinkHTMLAttributes; + +// @public (undocumented) +export const SidebarV2ListItem: ForwardRefExoticComponent< { +selected?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const SidebarV2Media: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2MediaController: (input: { + label?: string; +} & HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const SidebarV2MediaTitle: (input: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export type SidebarV2Props = { + collapsed?: boolean; +} & HTMLAttributes; + +// @public (undocumented) +export const SidebarV2Section: (props: HTMLAttributes) => JSX_2.Element; + +// @public (undocumented) +export const Sidepanel: (input: SidepanelProps) => JSX_2.Element; + +// @public (undocumented) +export const SidepanelDivider: () => JSX_2.Element; + +// @public (undocumented) +export const SidepanelHeader: (input: SidepanelHeaderProps) => JSX_2.Element; + +// @public (undocumented) +export type SidepanelHeaderProps = HTMLAttributes; + +// @public (undocumented) +export const SidepanelHeaderTitle: (input: SidepanelHeaderTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type SidepanelHeaderTitleProps = HTMLAttributes; + +// @public (undocumented) +export const SidepanelList: ForwardRefExoticComponent>; + +// @public (undocumented) +export const SidepanelListItem: ForwardRefExoticComponent>; + +// @public (undocumented) +export type SidepanelListItemProps = HTMLAttributes; + +// @public (undocumented) +export type SidepanelListProps = HTMLAttributes; + +// @public (undocumented) +export type SidepanelProps = HTMLAttributes; + +// @public (undocumented) +export const SidepanelSection: (input: SidepanelSectionProps) => JSX_2.Element; + +// @public (undocumented) +export const SidepanelSectionAction: (input: SidepanelSectionActionProps) => JSX_2.Element; + +// @public (undocumented) +export type SidepanelSectionActionProps = HTMLAttributes; + +// @public (undocumented) +export type SidepanelSectionProps = HTMLAttributes; + +// @public (undocumented) +export const size: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const Skeleton: (input: SkeletonProps) => JSX_2.Element; + +// @public (undocumented) +export type SkeletonProps = Omit & { + variant?: 'text' | 'rect' | 'circle'; +} & AllHTMLAttributes; + +// @public (undocumented) +export const Slider: ForwardRefExoticComponent<(SliderProps | SliderProps<[min: number, max: number]>) & RefAttributes>; + +// @public (undocumented) +export type SliderProps = AriaAttributes & { + formatOptions?: Intl.NumberFormatOptions; + id?: string; + label?: string; + showOutput?: boolean; + multiThumb?: T extends number[] ? true : false; + step?: number; + minValue?: number; + maxValue?: number; + orientation?: 'horizontal' | 'vertical'; + disabled?: boolean; + defaultValue?: T; +} & ({ + value: T; + onChange: (value: T) => void; +} | { + value?: never; + onChange?: never; +}); + +// @public (undocumented) +export const spacing: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const States: (input: StatesProps) => JSX_2.Element; + +// @public (undocumented) +export const StatesAction: (input: StatesActionProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesActionProps = ButtonProps; + +// @public (undocumented) +export const StatesActions: (props: StatesActionsProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesActionsProps = ButtonGroupProps; + +// @public (undocumented) +export const StatesIcon: (input: StatesIconProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesIconProps = { + variation?: 'danger' | 'success' | 'warning' | 'primary'; +} & IconProps; + +// @public (undocumented) +export const StatesLink: (props: StatesLinkProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesLinkProps = BoxProps & AllHTMLAttributes; + +// @public (undocumented) +export type StatesProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const StatesSubtitle: (input: StatesSubtitleProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesSubtitleProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const StatesSuggestion: (input: StatesSuggestionProps) => JSX_2.Element; + +// @public (undocumented) +export const StatesSuggestionList: (input: StatesSuggestionListProps) => JSX_2.Element; + +// @public (undocumented) +export const StatesSuggestionListItem: (input: StatesSuggestionListItemProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesSuggestionListItemProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export type StatesSuggestionListProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export type StatesSuggestionProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const StatesSuggestionText: (input: StatesSuggestionTextProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesSuggestionTextProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const StatesTitle: (input: StatesTitleProps) => JSX_2.Element; + +// @public (undocumented) +export type StatesTitleProps = { + children?: ReactNode; +} & AllHTMLAttributes; + +// @public (undocumented) +export const StatusBullet: (input: StatusBulletProps) => JSX_2.Element; + +// @public (undocumented) +export type StatusBulletProps = { + status?: 'loading' | 'online' | 'busy' | 'away' | 'offline' | 'disabled'; + size?: 'small' | 'large'; +} & Omit, 'size'>; + +// @public (undocumented) +export const strokeColor: (this: unknown, arg: unknown) => string | undefined; + +// @public (undocumented) +export const StylingBox: (input: StylingBoxProps) => ReactElement<{ + className?: string; +}, string | JSXElementConstructor>; + +// @public (undocumented) +export type StylingBoxProps = { + children: ReactElement<{ + className?: string; + }>; + className?: string | cssFn | (string | cssFn | Falsy)[]; +} & Partial; + +// @public (undocumented) +export const Table: (input: TableProps) => JSX_2.Element; + +// @public (undocumented) +export const TableBody: (props: TableBodyProps) => JSX_2.Element; + +// @public (undocumented) +export type TableBodyProps = TableProps; + +// @public (undocumented) +export const TableCell: (input: TableCellProps) => JSX_2.Element; + +// @public (undocumented) +export type TableCellProps = TableProps & { + align?: 'start' | 'center' | 'end' | 'justify' | object; + clickable?: boolean; +}; + +// @public (undocumented) +export const TableFoot: (props: TableFootProps) => JSX_2.Element; + +// @public (undocumented) +export type TableFootProps = TableProps; + +// @public (undocumented) +export const TableHead: (props: TableHeadProps) => JSX_2.Element; + +// @public (undocumented) +export type TableHeadProps = TableProps; + +// @public (undocumented) +export type TableProps = BoxProps & { + striped?: boolean; + sticky?: boolean; + fixed?: boolean; +}; + +// @public (undocumented) +export const TableRow: (input: TableRowProps) => JSX_2.Element; + +// @public (undocumented) +export type TableRowProps = Omit & { + action?: boolean; + hasAction?: boolean; +}; + +// @public (undocumented) +export const TableSelection: (input: TableSelectionProps) => JSX_2.Element; + +// @public (undocumented) +export const TableSelectionButton: (props: TableSelectionButtonProps) => JSX_2.Element; + +// @public (undocumented) +export const TableSelectionButtonGroup: (props: TableSelectionButtonGroupProps) => JSX_2.Element; + +// @public (undocumented) +export type TableSelectionButtonGroupProps = ButtonGroupProps; + +// @public (undocumented) +export type TableSelectionButtonProps = ButtonProps; + +// @public (undocumented) +export type TableSelectionProps = BoxProps & { + text?: string; +}; + +// @public (undocumented) +export function Tabs(input: TabsProps): JSX_2.Element; + +// @public (undocumented) +export namespace Tabs { + var // (undocumented) + Item: ForwardRefExoticComponent>; +} + +// @public (undocumented) +export const TabsItem: ForwardRefExoticComponent>; + +// @public (undocumented) +export type TabsItemProps = BoxProps & { + selected?: boolean; + disabled?: boolean; +}; + +// @public (undocumented) +export type TabsProps = BoxProps & { + divider?: boolean; +}; + +// @public (undocumented) +export const Tag: (input: TagProps) => JSX_2.Element; + +// @public (undocumented) +export type TagProps = { + medium?: boolean; + large?: boolean; + variant?: 'primary' | 'secondary' | 'danger' | 'warning' | 'secondary-danger' | 'secondary-warning' | 'secondary-info' | 'featured'; + disabled?: boolean; + icon?: ReactNode; +} & Omit; + +// @public (undocumented) +export const TelephoneInput: ForwardRefExoticComponent & { +addon?: ReactNode; +input?: ReactNode; +error?: string; +} & RefAttributes>; + +// @public (undocumented) +export type TelephoneInputProps = Omit & { + addon?: ReactNode; + input?: ReactNode; + error?: string; +}; + +// @public (undocumented) +export const TextAreaInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes>; + +// @public (undocumented) +export type TextAreaInputProps = Omit & { + addon?: ReactNode; + error?: string; +}; + +// @public (undocumented) +export const TextInput: ForwardRefExoticComponent & { +addon?: ReactNode; +error?: string; +} & RefAttributes>; + +// @public (undocumented) +export type TextInputProps = Omit & { + addon?: ReactNode; + error?: string; +}; + +// @public (undocumented) +export const ThreadMessage: (props: ThreadMessageProps) => JSX_2.Element; + +// @public (undocumented) +export const ThreadMessageBody: (props: ThreadMessageBodyProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageBodyProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const ThreadMessageContainer: (props: ThreadMessageContainerProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageContainerProps = { + children?: ReactNode; +}; + +// @public (undocumented) +export const ThreadMessageEmoji: (input: ThreadMessageEmojiProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageEmojiProps = MessageEmojiBaseProps; + +// @public (undocumented) +export const ThreadMessageFollow: () => JSX_2.Element; + +// @public (undocumented) +export const ThreadMessageIconThread: () => JSX_2.Element; + +// @public (undocumented) +export const ThreadMessageLeftContainer: (props: ThreadMessageLeftContainerProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageLeftContainerProps = HTMLAttributes; + +// @public (undocumented) +export const ThreadMessageOrigin: (input: ThreadMessageOriginProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageOriginProps = { + children?: ReactNode; + system?: boolean; +}; + +// @public (undocumented) +export type ThreadMessageProps = MessageProps; + +// @public (undocumented) +export const ThreadMessageRow: (props: ThreadMessageRowProps) => JSX_2.Element; + +// @public (undocumented) +export type ThreadMessageRowProps = HTMLAttributes; + +// @public (undocumented) +export const ThreadMessageUnfollow: () => JSX_2.Element; + +// @public (undocumented) +export const Throbber: ForwardRefExoticComponent & { +circleCount?: number; +disabled?: boolean; +inheritColor?: boolean; +} & RefAttributes>; + +// @public (undocumented) +export type ThrobberProps = Omit & { + circleCount?: number; + disabled?: boolean; + inheritColor?: boolean; +}; + +// @public (undocumented) +export const Tile: ForwardRefExoticComponent>; + +// @public (undocumented) +export type TileProps = BoxProps; + +// @public (undocumented) +export function ToastBar(input: ToastBarProps): JSX_2.Element; + +// @public (undocumented) +export type ToastBarProps = { + variant?: 'info' | 'success' | 'error'; + className?: string; + children?: ReactNode; + time?: number; + isPaused?: boolean; + id?: string; + onClose?: (id: string) => void; + buttonLabel?: string; +} & Omit, 'is'>; + +// @public (undocumented) +export const ToggleSwitch: ForwardRefExoticComponent & { +labelChildren?: ReactNode; +} & RefAttributes>; + +// @public (undocumented) +export type ToggleSwitchProps = BoxProps & AllHTMLAttributes & { + labelChildren?: ReactNode; +}; + +// @public (undocumented) +export const Tooltip: ForwardRefExoticComponent>; + +// @public (undocumented) +export type TooltipProps = BoxProps & { + variation?: 'dark' | 'light'; + placement?: 'top-start' | 'top-middle' | 'top-end' | 'bottom-start' | 'bottom-middle' | 'bottom-end' | 'top' | 'left' | 'bottom' | 'right' | null; +}; + +// Warning: (ae-forgotten-export) The symbol "TopBarProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBar: (input: TopBarProps) => JSX_2.Element; + +// @public (undocumented) +export const TopBarAction: ForwardRefExoticComponent< { +icon: Keys | ReactElement; +primary?: boolean; +secondary?: boolean; +info?: boolean; +danger?: boolean; +warning?: boolean; +success?: boolean; +pressed?: boolean; +} & { +large?: boolean; +medium?: boolean; +small?: boolean; +tiny?: boolean; +mini?: boolean; +} & BoxProps & RefAttributes>; + +// @public (undocumented) +export const TopBarActions: ForwardRefExoticComponent< { +align?: "start" | "center" | "end"; +stretch?: boolean; +wrap?: boolean; +vertical?: boolean; +small?: boolean; +large?: boolean; +} & HTMLAttributes & RefAttributes>; + +// @public (undocumented) +export const TopBarAvatar: { + size: "x24"; +}; + +// Warning: (ae-forgotten-export) The symbol "TopBarSectionProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBarSection: (input: TopBarSectionProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TopBarTitleProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBarTitle: (props: TopBarTitleProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TopBarToolBoxProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBarToolBox: (input: TopBarToolBoxProps) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TopBarProps_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBarV2: (input: TopBarProps_2) => JSX_2.Element; + +// Warning: (ae-forgotten-export) The symbol "TopBarWrapperProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TopBarWrapper: (input: TopBarWrapperProps) => JSX_2.Element; + +// @public (undocumented) +export const UrlInput: ForwardRefExoticComponent>; + +// @public (undocumented) +export type UrlInputProps = Omit; + +// @public (undocumented) +export const useArrayLikeClassNameProp: (props: T) => T & { + className: string; +}; + +// Warning: (ae-forgotten-export) The symbol "UseCursorOnChange" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "useVisible" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const useCursor: (initial: number, options: Array, onChange: UseCursorOnChange) => [cursor: number, handleKeyDown: (e: KeyboardEvent_2) => void, handleKeyUp: (e: KeyboardEvent_2) => void, reset: () => void, visibilityHandler: ReturnType]; + +// @public (undocumented) +export const useOwnerDocument: () => { + document: Document; +}; + +// Warnings were encountered during analysis: +// +// src/Theme.ts:255:1 - (ae-forgotten-export) The symbol "Var" needs to be exported by the entry point index.d.ts +// src/components/AnimatedVisibility/AnimatedVisibility.tsx:22:28 - (ae-forgotten-export) The symbol "VisibilityType" needs to be exported by the entry point index.d.ts +// src/components/AutoComplete/AutoComplete.tsx:40:3 - (ae-forgotten-export) The symbol "AutoCompleteOption" needs to be exported by the entry point index.d.ts +// src/components/Banner/Banner.tsx:37:3 - (ae-forgotten-export) The symbol "VariantType" needs to be exported by the entry point index.d.ts +// src/components/MultiSelect/MultiSelect.tsx:35:3 - (ae-forgotten-export) The symbol "MultiSelectAnchorParams" needs to be exported by the entry point index.d.ts +// src/components/Pagination/Pagination.tsx:12:3 - (ae-forgotten-export) The symbol "ItemsPerPage" needs to be exported by the entry point index.d.ts +// src/components/PaletteStyleTag/PaletteStyleTag.tsx:16:3 - (ae-forgotten-export) The symbol "Themes" needs to be exported by the entry point index.d.ts +// src/components/Select/Select.tsx:19:1 - (ae-forgotten-export) The symbol "SelectOption_2" needs to be exported by the entry point index.d.ts +// src/components/SelectInput/SelectInput.tsx:13:3 - (ae-forgotten-export) The symbol "SelectInputOptions" needs to be exported by the entry point index.d.ts +// src/components/Sidebar/SidebarBanner.tsx:11:3 - (ae-forgotten-export) The symbol "VariantType_2" needs to be exported by the entry point index.d.ts + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/fuselage/package.json b/packages/fuselage/package.json index 3dbd578ca6..a82036eac1 100644 --- a/packages/fuselage/package.json +++ b/packages/fuselage/package.json @@ -25,10 +25,12 @@ "scripts": { "start": "webpack --watch --mode development", "storybook": "storybook dev -p 6006 --no-version-updates", - "build": "run-s .:build:clean .:build:dev .:build:prod", + "build": "run-s .:build:clean .:build:dev .:build:prod .:build:dts .:build:api", ".:build:clean": "rimraf dist", ".:build:prod": "webpack --mode production", ".:build:dev": "webpack --mode development", + ".:build:dts": "tsc -p tsconfig.build.json --emitDeclarationOnly", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -51,6 +53,7 @@ "@babel/plugin-transform-runtime": "~7.29.0", "@babel/preset-env": "~7.29.2", "@babel/preset-react": "~7.28.5", + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/icons": "workspace:~", "@rocket.chat/storybook-dark-mode": "workspace:~", diff --git a/packages/fuselage/tsconfig.build.json b/packages/fuselage/tsconfig.build.json index edc5b4c26c..7776fca0b7 100644 --- a/packages/fuselage/tsconfig.build.json +++ b/packages/fuselage/tsconfig.build.json @@ -1,7 +1,8 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "rootDir": "./src" + "rootDir": "./src", + "skipLibCheck": true }, "include": ["./src"], "exclude": [ diff --git a/packages/fuselage/webpack.config.js b/packages/fuselage/webpack.config.js index a05e7415b6..9ec387251e 100644 --- a/packages/fuselage/webpack.config.js +++ b/packages/fuselage/webpack.config.js @@ -38,6 +38,7 @@ export default (env, { mode = 'production' }) => loader: 'ts-loader', options: { configFile: resolve(import.meta.dirname, './tsconfig.build.json'), + transpileOnly: true, }, }, }, diff --git a/packages/layout/.gitignore b/packages/layout/.gitignore index e0baa61095..3bf834fada 100644 --- a/packages/layout/.gitignore +++ b/packages/layout/.gitignore @@ -1,2 +1,3 @@ /dist /storybook-static +/temp diff --git a/packages/layout/README.md b/packages/layout/README.md index 5f081f008c..69a233bb5f 100644 --- a/packages/layout/README.md +++ b/packages/layout/README.md @@ -25,11 +25,11 @@ Firstly, install the peer dependencies (prerequisites): ```sh -npm i @rocket.chat/fuselage react react-dom react-i18next +npm i @rocket.chat/fuselage @rocket.chat/logo react react-dom react-i18next # or, if you are using yarn: -yarn add @rocket.chat/fuselage react react-dom react-i18next +yarn add @rocket.chat/fuselage @rocket.chat/logo react react-dom react-i18next ``` Add `@rocket.chat/layout` as a dependency: diff --git a/packages/layout/api-extractor.json b/packages/layout/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/layout/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/layout/layout.api.md b/packages/layout/layout.api.md new file mode 100644 index 0000000000..45bd6d22b4 --- /dev/null +++ b/packages/layout/layout.api.md @@ -0,0 +1,267 @@ +## API Report File for "@rocket.chat/layout" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import type { AnchorHTMLAttributes } from 'react'; +import { Box } from '@rocket.chat/fuselage'; +import { BoxProps } from '@rocket.chat/fuselage'; +import { ClassAttributes } from 'react'; +import { ComponentProps } from 'react'; +import { CSSProperties } from 'react'; +import type { Dispatch } from 'react'; +import { FormHTMLAttributes } from 'react'; +import { ForwardRefExoticComponent } from 'react'; +import { HTMLAttributes } from 'react'; +import { Icon } from '@rocket.chat/fuselage'; +import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { Keys } from '@rocket.chat/icons'; +import { MarginsProps } from '@rocket.chat/fuselage'; +import { MemoExoticComponent } from 'react'; +import type { MutableRefObject } from 'react'; +import { ReactElement } from 'react'; +import { ReactNode } from 'react'; +import { RefAttributes } from 'react'; +import type { SetStateAction } from 'react'; + +// Warning: (ae-forgotten-export) The symbol "ActionLinkProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ActionLink: (input: ActionLinkProps) => ReactElement; + +// @public (undocumented) +const Aside: ForwardRefExoticComponent & HTMLAttributes & { +justifyContent?: string; +}, "ref"> & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "BackgroundLayerProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const BackgroundLayer: (input: BackgroundLayerProps) => ReactElement; + +// @public (undocumented) +const Content: ForwardRefExoticComponent & HTMLAttributes, "ref"> & RefAttributes>; + +declare namespace DarkModeProvider { + export { + DarkModeProvider_2 as default, + useDarkMode + } +} +export { DarkModeProvider } + +// Warning: (ae-forgotten-export) The symbol "DarkModeProviderProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +const DarkModeProvider_2: (input: DarkModeProviderProps) => ReactElement; + +// @public (undocumented) +const Description: ForwardRefExoticComponent & HTMLAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +export const Form: ForwardRefExoticComponent, "is"> & { +children: ReactNode; +} & RefAttributes> & { + Header: ForwardRefExoticComponent, "is"> & { + children: ReactNode; + } & RefAttributes>; + Steps: (input: { + currentStep: number; + stepCount: number; + }) => ReactElement; + Title: ForwardRefExoticComponent, "is"> & { + children: ReactNode; + } & RefAttributes>; + Subtitle: ForwardRefExoticComponent, "is"> & { + children: ReactNode; + } & RefAttributes>; + Container: (props: ComponentProps>>>) => JSX_2.Element; + Footer: ForwardRefExoticComponent, "is"> & { + children: ReactNode; + } & RefAttributes>; +}; + +// @public (undocumented) +export const FormContainer: (props: ComponentProps) => JSX_2.Element; + +// @public (undocumented) +export const FormFooter: ForwardRefExoticComponent, "is"> & { +children: ReactNode; +} & RefAttributes>; + +// @public (undocumented) +export const FormHeader: ForwardRefExoticComponent, "is"> & { +children: ReactNode; +} & RefAttributes>; + +declare namespace FormPageLayout { + export { + Wrapper, + Aside, + Content, + Logo, + Title, + TitleHighlight, + Subtitle, + Description + } +} +export { FormPageLayout } + +// Warning: (ae-forgotten-export) The symbol "FormStepsProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const FormSteps: (input: FormStepsProps) => ReactElement; + +// @public (undocumented) +export const FormSubtitle: ForwardRefExoticComponent, "is"> & { +children: ReactNode; +} & RefAttributes>; + +// @public (undocumented) +export const FormTitle: ForwardRefExoticComponent, "is"> & { +children: ReactNode; +} & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "LayoutContextValue" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const HeroLayout: (input: LayoutContextValue & { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HeroLayoutSubtitle: (input: { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HeroLayoutTitle: (input: { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayout: (input: LayoutContextValue & { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutAside: (input: { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutCaption: (input: { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutContent: (input: { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutDescription: (props: ComponentProps) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutFooter: (input: { + children: ReactNode; +}) => JSX_2.Element; + +// @public (undocumented) +export const HorizontalWizardLayoutSubtitle: (props: ComponentProps) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardLayoutTitle: (props: ComponentProps) => ReactElement; + +// @public (undocumented) +export const HorizontalWizardTextHighlight: (props: { + children: ReactNode; +}) => JSX_2.Element; + +// @public (undocumented) +export const LayoutLogo: () => ReactElement; + +// @public (undocumented) +export const List: ((input: { + children: ReactNode; + spacing?: ComponentProps<(props: MarginsProps) => JSX_2.Element>["block"]; + listStyleType?: CSSProperties["listStyleType"]; + color?: CSSProperties["color"]; + icon?: string; +}) => JSX_2.Element) & { + Item: (input: { + children: ReactNode; + icon?: ComponentProps & { + name: Keys; + size?: BoxProps["width"]; + } & RefAttributes>>["name"]; + iconColor?: ComponentProps & { + name: Keys; + size?: BoxProps["width"]; + } & RefAttributes>>["color"]; + fontScale?: ComponentProps>>>["fontScale"]; + }) => ReactElement; +}; + +// @public (undocumented) +export const ListItem: (input: { + children: ReactNode; + icon?: ComponentProps["name"]; + iconColor?: ComponentProps["color"]; + fontScale?: ComponentProps["fontScale"]; +}) => ReactElement; + +// @public (undocumented) +const Logo: ForwardRefExoticComponent & HTMLAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +const Subtitle: ForwardRefExoticComponent & HTMLAttributes & { +fontColor?: string; +fontWeight?: string; +}, "ref"> & RefAttributes>; + +// @public (undocumented) +const Title: ForwardRefExoticComponent & HTMLAttributes, "ref"> & RefAttributes>; + +// @public (undocumented) +const TitleHighlight: ForwardRefExoticComponent & HTMLAttributes & { +fontColor?: string; +isDark?: boolean; +}, "ref"> & RefAttributes>; + +// Warning: (ae-forgotten-export) The symbol "TooltipWrapperProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const TooltipWrapper: (input: TooltipWrapperProps) => ReactElement; + +// @public (undocumented) +const useDarkMode: () => boolean; + +// @public (undocumented) +export const VerticalWizardLayout: (input: LayoutContextValue & { + children: ReactNode; +}) => ReactElement; + +// @public (undocumented) +export const VerticalWizardLayoutFooter: (input: { + children: ReactNode; +}) => JSX_2.Element; + +// @public (undocumented) +export const VerticalWizardLayoutForm: (input: { + children: ReactNode; +}) => JSX_2.Element; + +// @public (undocumented) +export const VerticalWizardLayoutTitle: (input: { + children: ReactNode; +}) => JSX_2.Element; + +// @public (undocumented) +const Wrapper: ForwardRefExoticComponent & HTMLAttributes, "ref"> & RefAttributes>; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/layout/package.json b/packages/layout/package.json index 64bd81045a..d242422d5a 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -23,10 +23,11 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:esm .:build:cjs", + "build": "run-s .:build:clean .:build:esm .:build:cjs .:build:api", ".:build:clean": "rimraf dist", ".:build:esm": "tsc -p tsconfig.esm.json", ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -35,8 +36,10 @@ "build-storybook": "storybook build" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", + "@rocket.chat/logo": "workspace:~", "@rocket.chat/storybook-dark-mode": "workspace:~", "@storybook/addon-a11y": "~9.1.17", "@storybook/addon-docs": "~9.1.17", @@ -64,6 +67,7 @@ }, "peerDependencies": { "@rocket.chat/fuselage": "*", + "@rocket.chat/logo": "*", "react": "*", "react-dom": "*", "react-i18next": "*" diff --git a/packages/memo/.gitignore b/packages/memo/.gitignore index 9b1c8b133c..cb7d78c0ed 100644 --- a/packages/memo/.gitignore +++ b/packages/memo/.gitignore @@ -1 +1,2 @@ /dist +/temp diff --git a/packages/memo/api-extractor.json b/packages/memo/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/memo/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/memo/memo.api.md b/packages/memo/memo.api.md new file mode 100644 index 0000000000..2b15ff5917 --- /dev/null +++ b/packages/memo/memo.api.md @@ -0,0 +1,20 @@ +## API Report File for "@rocket.chat/memo" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// Warning: (ae-forgotten-export) The symbol "MemoizedFunction" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const clear: (fn: MemoizedFunction) => void; + +// Warning: (ae-forgotten-export) The symbol "MemoizableFunction" needs to be exported by the entry point index.d.ts +// Warning: (ae-forgotten-export) The symbol "Options" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const memoize: (fn: MemoizableFunction, _options?: Options) => MemoizedFunction; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/memo/package.json b/packages/memo/package.json index 349dbc13f4..dd16bba3f9 100644 --- a/packages/memo/package.json +++ b/packages/memo/package.json @@ -28,7 +28,8 @@ "scripts": { ".:build:cjs": "tsc -p tsconfig.cjs.json", ".:build:esm": "tsc -p tsconfig.esm.json", - "build": "run .:build:esm && run .:build:cjs", + ".:build:api": "api-extractor run --local", + "build": "run .:build:esm && run .:build:cjs && api-extractor run --local", "clean": "rimraf dist", "docs": "typedoc", "lint": "lint", @@ -36,6 +37,7 @@ "test": "jest --runInBand" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "eslint": "~9.39.2", "jest": "~30.3.0", "lint-all": "workspace:~", diff --git a/packages/onboarding-ui/.gitignore b/packages/onboarding-ui/.gitignore index e0baa61095..3bf834fada 100644 --- a/packages/onboarding-ui/.gitignore +++ b/packages/onboarding-ui/.gitignore @@ -1,2 +1,3 @@ /dist /storybook-static +/temp diff --git a/packages/onboarding-ui/api-extractor.json b/packages/onboarding-ui/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/onboarding-ui/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/onboarding-ui/onboarding-ui.api.md b/packages/onboarding-ui/onboarding-ui.api.md new file mode 100644 index 0000000000..01b2ebd250 --- /dev/null +++ b/packages/onboarding-ui/onboarding-ui.api.md @@ -0,0 +1,126 @@ +## API Report File for "@rocket.chat/onboarding-ui" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import type { ComponentProps } from 'react'; +import type { FieldPathValue } from 'react-hook-form'; +import type { ReactElement } from 'react'; +import type { ReactNode } from 'react'; +import type { SelectOption } from '@rocket.chat/fuselage'; +import type { SubmitHandler } from 'react-hook-form'; +import type { Validate } from 'react-hook-form'; + +// Warning: (ae-forgotten-export) The symbol "AdminInfoPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const AdminInfoPage: (input: AdminInfoPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "AwaitingConfirmationPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const AwaitingConfirmationPage: (input: AwaitingConfirmationPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "CheckYourEmailPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const CheckYourEmailPage: (input: CheckYourEmailPageProps) => ReactElement; + +// @public (undocumented) +export const ConfirmationProcessPage: () => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "CreateCloudWorkspacePageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const CreateCloudWorkspacePage: (props: CreateCloudWorkspacePageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "CreateCloudWorkspacePageProps_2" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const CreateFirstMemberPage: (props: CreateCloudWorkspacePageProps_2) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "CreateNewAccountPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const CreateNewAccountPage: (input: CreateNewAccountPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "CreateNewPasswordPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const CreateNewPasswordPage: (input: CreateNewPasswordPageProps) => ReactElement; + +// @public (undocumented) +export const EmailConfirmedPage: () => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "InformationPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const InformationPage: (input: InformationPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "InvalidLinkPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const InvalidLinkPage: (input: InvalidLinkPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "LoaderPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const LoaderPage: (input: LoaderPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "LoginLinkEmailProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const LoginLinkEmailPage: (input: LoginLinkEmailProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "LoginPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const LoginPage: (input: LoginPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "OauthAuthorizationPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const OauthAuthorizationPage: (input: OauthAuthorizationPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "OrganizationInfoPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const OrganizationInfoPage: (input: OrganizationInfoPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "RedirectPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const RedirectPage: (input: RedirectPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "RegisterOfflinePageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const RegisterOfflinePage: (props: RegisterOfflinePageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "RegisterServerPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const RegisterServerPage: (props: RegisterServerPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "RequestTrialPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const RequestTrialPage: (props: RequestTrialPageProps) => ReactElement; + +// @public (undocumented) +export const ResetPasswordConfirmationPage: () => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "ResetPasswordPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const ResetPasswordPage: (input: ResetPasswordPageProps) => ReactElement; + +// Warning: (ae-forgotten-export) The symbol "SomethingWentWrongPageProps" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +export const SomethingWentWrongPage: (input: SomethingWentWrongPageProps) => ReactElement; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/onboarding-ui/package.json b/packages/onboarding-ui/package.json index 2212cd19f8..170887c210 100644 --- a/packages/onboarding-ui/package.json +++ b/packages/onboarding-ui/package.json @@ -26,10 +26,11 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:cjs .:build:esm", + "build": "run-s .:build:clean .:build:cjs .:build:esm .:build:api", ".:build:clean": "rimraf dist", ".:build:esm": "tsc -p tsconfig.esm.json", ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -42,6 +43,7 @@ "react-hook-form": "~7.54.2" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@rocket.chat/fuselage": "workspace:~", "@rocket.chat/fuselage-hooks": "workspace:~", "@rocket.chat/fuselage-tokens": "workspace:~", diff --git a/packages/string-helpers/.gitignore b/packages/string-helpers/.gitignore index 9b1c8b133c..cb7d78c0ed 100644 --- a/packages/string-helpers/.gitignore +++ b/packages/string-helpers/.gitignore @@ -1 +1,2 @@ /dist +/temp diff --git a/packages/string-helpers/api-extractor.json b/packages/string-helpers/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/string-helpers/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/string-helpers/package.json b/packages/string-helpers/package.json index a587d3fa35..8f70768dcb 100644 --- a/packages/string-helpers/package.json +++ b/packages/string-helpers/package.json @@ -27,16 +27,18 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:esm .:build:cjs", + "build": "run-s .:build:clean .:build:esm .:build:cjs .:build:api", ".:build:clean": "rimraf dist", ".:build:esm": "tsc -p tsconfig.esm.json", ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", "docs": "typedoc" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "eslint": "~9.39.2", "jest": "~30.3.0", "lint-all": "workspace:~", diff --git a/packages/string-helpers/string-helpers.api.md b/packages/string-helpers/string-helpers.api.md new file mode 100644 index 0000000000..a520f0388c --- /dev/null +++ b/packages/string-helpers/string-helpers.api.md @@ -0,0 +1,21 @@ +## API Report File for "@rocket.chat/string-helpers" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +// @public (undocumented) +export const capitalize: (s: T) => Capitalize; + +// @public (undocumented) +export const escapeHTML: (str: string) => string; + +// @public (undocumented) +export const escapeRegExp: (input: string) => string; + +// @public (undocumented) +export const unescapeHTML: (str: string) => string; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/packages/styled/.gitignore b/packages/styled/.gitignore index 9b1c8b133c..cb7d78c0ed 100644 --- a/packages/styled/.gitignore +++ b/packages/styled/.gitignore @@ -1 +1,2 @@ /dist +/temp diff --git a/packages/styled/api-extractor.json b/packages/styled/api-extractor.json new file mode 100644 index 0000000000..2cb8dc0787 --- /dev/null +++ b/packages/styled/api-extractor.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", + "extends": "../../api-extractor.json", + "mainEntryPointFilePath": "/dist/esm/index.d.ts" +} diff --git a/packages/styled/package.json b/packages/styled/package.json index 89043482cd..26cdafbc76 100644 --- a/packages/styled/package.json +++ b/packages/styled/package.json @@ -23,10 +23,11 @@ "/dist" ], "scripts": { - "build": "run-s .:build:clean .:build:esm .:build:cjs", + "build": "run-s .:build:clean .:build:esm .:build:cjs .:build:api", ".:build:clean": "rimraf dist", ".:build:esm": "tsc -p tsconfig.esm.json", ".:build:cjs": "tsc -p tsconfig.cjs.json", + ".:build:api": "api-extractor run --local", "lint": "lint", "lint-and-fix": "lint-and-fix", "test": "jest --runInBand", @@ -36,6 +37,7 @@ "@rocket.chat/css-in-js": "workspace:~" }, "devDependencies": { + "@microsoft/api-extractor": "~7.58.7", "@testing-library/dom": "~10.4.1", "@testing-library/react": "~16.3.2", "@types/react": "~18.3.27", diff --git a/packages/styled/styled.api.md b/packages/styled/styled.api.md new file mode 100644 index 0000000000..73eddfe6bd --- /dev/null +++ b/packages/styled/styled.api.md @@ -0,0 +1,33 @@ +## API Report File for "@rocket.chat/styled" + +> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). + +```ts + +import { Context } from 'react'; +import type { DetailedHTMLProps } from 'react'; +import type { ForwardRefExoticComponent } from 'react'; +import type { HTMLAttributes } from 'react'; +import type { PropsWithoutRef } from 'react'; +import type { RefAttributes } from 'react'; +import type { SVGProps } from 'react'; + +// @public (undocumented) +export const OwnerDocument: Context< { +document: Document; +}>; + +// Warning: (ae-forgotten-export) The symbol "RefTypes" needs to be exported by the entry point index.d.ts +// +// @public (undocumented) +const styled: (type: K, filter?: (p: PropsWithoutRef) => JSX.IntrinsicElements[K]) => (slices: TemplateStringsArray, ...values: readonly (string | ((props: P) => string))[]) => ForwardRefExoticComponent & RefAttributes>; +export default styled; + +// @public (undocumented) +export const useOwnerDocument: () => { + document: Document; +}; + +// (No @packageDocumentation comment for this package) + +``` diff --git a/tools/lint-all/lint-and-fix.js b/tools/lint-all/lint-and-fix.js index 9a5d948f28..bd36935616 100755 --- a/tools/lint-all/lint-and-fix.js +++ b/tools/lint-all/lint-and-fix.js @@ -9,4 +9,4 @@ if ((await glob('.stylelintrc*')).length) { await $`stylelint --allow-empty-input --fix '**/*.{css,scss}'`; } -await $`prettier --plugin=@prettier/plugin-xml --write '**/*.{json,jsonc,md,yml,xml,svg}'`; +await $`prettier --plugin=@prettier/plugin-xml --write '**/*.{json,jsonc,md,yml,xml,svg}' '!**/*.api.md'`; diff --git a/tools/lint-all/lint.js b/tools/lint-all/lint.js index 3263a1e7fc..a6276098e4 100755 --- a/tools/lint-all/lint.js +++ b/tools/lint-all/lint.js @@ -9,7 +9,7 @@ if ((await glob('.stylelintrc*')).length) { await $`stylelint --allow-empty-input '**/*.{css,scss}'`; } -await $`prettier --plugin=@prettier/plugin-xml --check '**/*.{json,jsonc,md,yml,xml,svg}'`; +await $`prettier --plugin=@prettier/plugin-xml --check '**/*.{json,jsonc,md,yml,xml,svg}' '!**/*.api.md'`; if ((await glob('tsconfig.json')).length) { await $`tsc --skipLibCheck --noEmit`; diff --git a/turbo.json b/turbo.json index 15a61ced19..2f826e43cf 100644 --- a/turbo.json +++ b/turbo.json @@ -3,7 +3,8 @@ "tasks": { "build": { "dependsOn": ["^build"], - "outputs": ["dist/**", "storybook-static/**"] + "inputs": ["$TURBO_DEFAULT$", "!*.api.md"], + "outputs": ["dist/**", "storybook-static/**", "*.api.md"] }, "test": { "dependsOn": ["build"], diff --git a/yarn.lock b/yarn.lock index 62cb818d74..e86181c2ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3808,6 +3808,59 @@ __metadata: languageName: node linkType: hard +"@microsoft/api-extractor-model@npm:7.33.8": + version: 7.33.8 + resolution: "@microsoft/api-extractor-model@npm:7.33.8" + dependencies: + "@microsoft/tsdoc": "npm:~0.16.0" + "@microsoft/tsdoc-config": "npm:~0.18.1" + "@rushstack/node-core-library": "npm:5.23.1" + checksum: 10/0f054bfa82507fe055754c087eb090922a4fb02a6dd7d5bd7c7e2c212a4723fd942cae90e62a3a8db2e64ec4f217b88676b082e0635615d40da4ccbb2fac5e4a + languageName: node + linkType: hard + +"@microsoft/api-extractor@npm:~7.58.7": + version: 7.58.7 + resolution: "@microsoft/api-extractor@npm:7.58.7" + dependencies: + "@microsoft/api-extractor-model": "npm:7.33.8" + "@microsoft/tsdoc": "npm:~0.16.0" + "@microsoft/tsdoc-config": "npm:~0.18.1" + "@rushstack/node-core-library": "npm:5.23.1" + "@rushstack/rig-package": "npm:0.7.3" + "@rushstack/terminal": "npm:0.24.0" + "@rushstack/ts-command-line": "npm:5.3.9" + diff: "npm:~8.0.2" + minimatch: "npm:10.2.3" + resolve: "npm:~1.22.1" + semver: "npm:~7.7.4" + source-map: "npm:~0.6.1" + typescript: "npm:5.9.3" + bin: + api-extractor: bin/api-extractor + checksum: 10/a9eaa48119aee851a921b85cdb3acb200ef010d6e3a0fb924fc8c99537a15af059ef126db4883718879d7e3d31d40f990517d7d163ca6f0938524dcc181f0e4a + languageName: node + linkType: hard + +"@microsoft/tsdoc-config@npm:~0.18.1": + version: 0.18.1 + resolution: "@microsoft/tsdoc-config@npm:0.18.1" + dependencies: + "@microsoft/tsdoc": "npm:0.16.0" + ajv: "npm:~8.18.0" + jju: "npm:~1.4.0" + resolve: "npm:~1.22.2" + checksum: 10/1912c4d80af10c548897dafd2b76127a53d5154001fb63029d4414d57022bf0f0aced325d8a3a0970454bf651d506236b4d26c1c473a933ea77382bce67b1236 + languageName: node + linkType: hard + +"@microsoft/tsdoc@npm:0.16.0, @microsoft/tsdoc@npm:~0.16.0": + version: 0.16.0 + resolution: "@microsoft/tsdoc@npm:0.16.0" + checksum: 10/1eaad3605234dc7e44898c15d1ba3c97fb968af1117025400cba572ce268da05afc36634d1fb9e779457af3ff7f13330aee07a962510a4d9c6612c13f71ee41e + languageName: node + linkType: hard + "@napi-rs/wasm-runtime@npm:^0.2.11": version: 0.2.11 resolution: "@napi-rs/wasm-runtime@npm:0.2.11" @@ -5627,6 +5680,7 @@ __metadata: resolution: "@rocket.chat/css-in-js@workspace:packages/css-in-js" dependencies: "@emotion/hash": "npm:^0.9.2" + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/css-supports": "workspace:~" "@rocket.chat/memo": "workspace:~" "@rocket.chat/stylis-logical-props-middleware": "workspace:~" @@ -5652,6 +5706,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/css-supports@workspace:packages/css-supports" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/memo": "workspace:~" eslint: "npm:~9.39.2" lint-all: "workspace:~" @@ -5666,6 +5721,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/emitter@workspace:packages/emitter" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rollup/plugin-commonjs": "npm:~28.0.9" "@rollup/plugin-json": "npm:~6.1.0" "@rollup/plugin-node-resolve": "npm:~16.0.3" @@ -5687,6 +5743,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-forms@workspace:packages/fuselage-forms" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/emitter": "workspace:~" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" @@ -5729,6 +5786,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-hooks@workspace:packages/fuselage-hooks" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/emitter": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" "@rollup/plugin-commonjs": "npm:~28.0.9" @@ -5796,6 +5854,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/fuselage-toastbar@workspace:packages/fuselage-toastbar" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" @@ -5863,6 +5922,7 @@ __metadata: "@babel/plugin-transform-runtime": "npm:~7.29.0" "@babel/preset-env": "npm:~7.29.2" "@babel/preset-react": "npm:~7.28.5" + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/css-in-js": "workspace:~" "@rocket.chat/css-supports": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" @@ -5959,8 +6019,10 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/layout@workspace:packages/layout" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" + "@rocket.chat/logo": "workspace:~" "@rocket.chat/storybook-dark-mode": "workspace:~" "@storybook/addon-a11y": "npm:~9.1.17" "@storybook/addon-docs": "npm:~9.1.17" @@ -5987,6 +6049,7 @@ __metadata: typescript: "npm:~5.9.3" peerDependencies: "@rocket.chat/fuselage": "*" + "@rocket.chat/logo": "*" react: "*" react-dom: "*" react-i18next: "*" @@ -6026,6 +6089,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/memo@workspace:packages/memo" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" eslint: "npm:~9.39.2" jest: "npm:~30.3.0" lint-all: "workspace:~" @@ -6064,6 +6128,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/onboarding-ui@workspace:packages/onboarding-ui" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/fuselage": "workspace:~" "@rocket.chat/fuselage-hooks": "workspace:~" "@rocket.chat/fuselage-tokens": "workspace:~" @@ -6145,6 +6210,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/string-helpers@workspace:packages/string-helpers" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" eslint: "npm:~9.39.2" jest: "npm:~30.3.0" lint-all: "workspace:~" @@ -6161,6 +6227,7 @@ __metadata: version: 0.0.0-use.local resolution: "@rocket.chat/styled@workspace:packages/styled" dependencies: + "@microsoft/api-extractor": "npm:~7.58.7" "@rocket.chat/css-in-js": "workspace:~" "@testing-library/dom": "npm:~10.4.1" "@testing-library/react": "npm:~16.3.2" @@ -6477,6 +6544,77 @@ __metadata: languageName: node linkType: hard +"@rushstack/node-core-library@npm:5.23.1": + version: 5.23.1 + resolution: "@rushstack/node-core-library@npm:5.23.1" + dependencies: + ajv: "npm:~8.18.0" + ajv-draft-04: "npm:~1.0.0" + ajv-formats: "npm:~3.0.1" + fs-extra: "npm:~11.3.0" + import-lazy: "npm:~4.0.0" + jju: "npm:~1.4.0" + resolve: "npm:~1.22.1" + semver: "npm:~7.7.4" + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10/77e30e2848e33ff56d07ca9c93488ff7afffc3fdccbc754f27a205809d91a71950fd39c1dc9f6a86e6ecba83e36f470a920b8b4f3a6b319cfd4fadc48891ca8d + languageName: node + linkType: hard + +"@rushstack/problem-matcher@npm:0.2.1": + version: 0.2.1 + resolution: "@rushstack/problem-matcher@npm:0.2.1" + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10/62fda91629577a2f57de19be357cd0990da145ff4933f4d2cd48f423cc03b92fca06dd8916dcbaf1d307a201c104847c77066d45d79fd3c323c4949f0c99bf44 + languageName: node + linkType: hard + +"@rushstack/rig-package@npm:0.7.3": + version: 0.7.3 + resolution: "@rushstack/rig-package@npm:0.7.3" + dependencies: + jju: "npm:~1.4.0" + resolve: "npm:~1.22.1" + checksum: 10/46cbdf1b4538640a6c93825ddaa7693b45cd7f640b34106ab554319b5d3fae18f65a3c91576c6cce005a1250722159c329ce5f4b1729bead594d9f634cd18616 + languageName: node + linkType: hard + +"@rushstack/terminal@npm:0.24.0": + version: 0.24.0 + resolution: "@rushstack/terminal@npm:0.24.0" + dependencies: + "@rushstack/node-core-library": "npm:5.23.1" + "@rushstack/problem-matcher": "npm:0.2.1" + supports-color: "npm:~8.1.1" + peerDependencies: + "@types/node": "*" + peerDependenciesMeta: + "@types/node": + optional: true + checksum: 10/796fc5c031df2035d10b764257e2c58cd330b04241eb28a67505a726df41e895d3bb91de76c6b1db76ebbf0098396188b02aaeaa35dd2cb14ed25112e3335b2e + languageName: node + linkType: hard + +"@rushstack/ts-command-line@npm:5.3.9": + version: 5.3.9 + resolution: "@rushstack/ts-command-line@npm:5.3.9" + dependencies: + "@rushstack/terminal": "npm:0.24.0" + "@types/argparse": "npm:1.0.38" + argparse: "npm:~1.0.9" + string-argv: "npm:~0.3.1" + checksum: 10/54c9bef6db8a06de0b10ea12148d94425458828833b5f46a43b9a78fb28a533abe1d636afe5355d4081b717869021b04f74f90f5a3837dee4c20c0af9eb0ef58 + languageName: node + linkType: hard + "@shikijs/engine-oniguruma@npm:^3.23.0": version: 3.23.0 resolution: "@shikijs/engine-oniguruma@npm:3.23.0" @@ -7063,6 +7201,13 @@ __metadata: languageName: node linkType: hard +"@types/argparse@npm:1.0.38": + version: 1.0.38 + resolution: "@types/argparse@npm:1.0.38" + checksum: 10/26ed7e3f1e3595efdb883a852f5205f971b798e4c28b7e30a32c5298eee596e8b45834ce831f014d250b9730819ab05acff5b31229666d3af4ba465b4697d0eb + languageName: node + linkType: hard + "@types/aria-query@npm:^5.0.1": version: 5.0.1 resolution: "@types/aria-query@npm:5.0.1" @@ -8335,6 +8480,18 @@ __metadata: languageName: node linkType: hard +"ajv-draft-04@npm:~1.0.0": + version: 1.0.0 + resolution: "ajv-draft-04@npm:1.0.0" + peerDependencies: + ajv: ^8.5.0 + peerDependenciesMeta: + ajv: + optional: true + checksum: 10/3f11fa0e7f7359bef6608657f02ab78e9cc62b1fb7bdd860db0d00351b3863a1189c1a23b72466d2d82726cab4eb20725c76f5e7c134a89865e2bfd0e6828137 + languageName: node + linkType: hard + "ajv-formats@npm:^2.1.1": version: 2.1.1 resolution: "ajv-formats@npm:2.1.1" @@ -8349,6 +8506,20 @@ __metadata: languageName: node linkType: hard +"ajv-formats@npm:~3.0.1": + version: 3.0.1 + resolution: "ajv-formats@npm:3.0.1" + dependencies: + ajv: "npm:^8.0.0" + peerDependencies: + ajv: ^8.0.0 + peerDependenciesMeta: + ajv: + optional: true + checksum: 10/5679b9f9ced9d0213a202a37f3aa91efcffe59a6de1a6e3da5c873344d3c161820a1f11cc29899661fee36271fd2895dd3851b6461c902a752ad661d1c1e8722 + languageName: node + linkType: hard + "ajv-keywords@npm:^3.5.2": version: 3.5.2 resolution: "ajv-keywords@npm:3.5.2" @@ -8393,6 +8564,18 @@ __metadata: languageName: node linkType: hard +"ajv@npm:~8.18.0": + version: 8.18.0 + resolution: "ajv@npm:8.18.0" + dependencies: + fast-deep-equal: "npm:^3.1.3" + fast-uri: "npm:^3.0.1" + json-schema-traverse: "npm:^1.0.0" + require-from-string: "npm:^2.0.2" + checksum: 10/bfed9de827a2b27c6d4084324eda76a4e32bdde27410b3e9b81d06e6f8f5c78370fc6b93fe1d869f1939ff1d7c4ae8896960995acb8425e3e9288c8884247c48 + languageName: node + linkType: hard + "ansi-colors@npm:^4.1.1, ansi-colors@npm:^4.1.3": version: 4.1.3 resolution: "ansi-colors@npm:4.1.3" @@ -8498,7 +8681,7 @@ __metadata: languageName: node linkType: hard -"argparse@npm:^1.0.7": +"argparse@npm:^1.0.7, argparse@npm:~1.0.9": version: 1.0.10 resolution: "argparse@npm:1.0.10" dependencies: @@ -10354,6 +10537,13 @@ __metadata: languageName: node linkType: hard +"diff@npm:~8.0.2": + version: 8.0.4 + resolution: "diff@npm:8.0.4" + checksum: 10/b4036ceda0d1e10683a2313079ed52c5e6b09553ae29da87bce81d98714d9725dbf3c0f6f7c3b1f16eec049fe17087e38ee329e732580fa62f6ec1c2487b2435 + languageName: node + linkType: hard + "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -11810,6 +12000,17 @@ __metadata: languageName: node linkType: hard +"fs-extra@npm:~11.3.0": + version: 11.3.5 + resolution: "fs-extra@npm:11.3.5" + dependencies: + graceful-fs: "npm:^4.2.0" + jsonfile: "npm:^6.0.1" + universalify: "npm:^2.0.0" + checksum: 10/dc8408818eec8b03efad8742d079ecab749a2f7bc9f208e429b447fcac7632fae52e09312d6d42218efe7e2efa97f03ff232d639ade4aa7fcd8c00ebe9ad0c0c + languageName: node + linkType: hard + "fs-minipass@npm:^2.0.0": version: 2.1.0 resolution: "fs-minipass@npm:2.1.0" @@ -12561,6 +12762,13 @@ __metadata: languageName: node linkType: hard +"import-lazy@npm:~4.0.0": + version: 4.0.0 + resolution: "import-lazy@npm:4.0.0" + checksum: 10/943309cc8eb01ada12700448c288b0384f77a1bc33c7e00fa4cb223c665f467a13ce9aaceb8d2e4cf586b07c1d2828040263dcc069873ce63cfc2ac6fd087971 + languageName: node + linkType: hard + "import-local@npm:^3.0.2, import-local@npm:^3.2.0": version: 3.2.0 resolution: "import-local@npm:3.2.0" @@ -13862,6 +14070,13 @@ __metadata: languageName: node linkType: hard +"jju@npm:~1.4.0": + version: 1.4.0 + resolution: "jju@npm:1.4.0" + checksum: 10/1067ff8ce02221faac5a842116ed0ec79a53312a111d0bf8342a80bd02c0a3fdf0b8449694a65947db0a3e8420e8b326dffb489c7dd5866efc380c0d1708a707 + languageName: node + linkType: hard + "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -15111,6 +15326,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:10.2.3": + version: 10.2.3 + resolution: "minimatch@npm:10.2.3" + dependencies: + brace-expansion: "npm:^5.0.2" + checksum: 10/186c6a6ce9f7a79ae7776efc799c32d1a6670ebbcc2a8756e6cb6ec4aab7439a6ca6e592e1a6aac5f21674eefae5b19821b8fa95072a4f4567da1ae40eb6075d + languageName: node + linkType: hard + "minimatch@npm:^10.0.0": version: 10.0.1 resolution: "minimatch@npm:10.0.1" @@ -17586,6 +17810,20 @@ __metadata: languageName: node linkType: hard +"resolve@npm:~1.22.1, resolve@npm:~1.22.2": + version: 1.22.12 + resolution: "resolve@npm:1.22.12" + dependencies: + es-errors: "npm:^1.3.0" + is-core-module: "npm:^2.16.1" + path-parse: "npm:^1.0.7" + supports-preserve-symlinks-flag: "npm:^1.0.0" + bin: + resolve: bin/resolve + checksum: 10/1d2a081e4b7198e2a70abd7bbbf8aea5380c2d074b6c870035aab50ebfb7312b6492b3588e752faef83a75147862a3d3e09b222bc9afd536804181fd3a515ef9 + languageName: node + linkType: hard + "resolve@patch:resolve@npm%3A^1.10.0#optional!builtin, resolve@patch:resolve@npm%3A^1.20.0#optional!builtin, resolve@patch:resolve@npm%3A^1.22.1#optional!builtin, resolve@patch:resolve@npm%3A^1.22.8#optional!builtin": version: 1.22.8 resolution: "resolve@patch:resolve@npm%3A1.22.8#optional!builtin::version=1.22.8&hash=c3c19d" @@ -17638,6 +17876,20 @@ __metadata: languageName: node linkType: hard +"resolve@patch:resolve@npm%3A~1.22.1#optional!builtin, resolve@patch:resolve@npm%3A~1.22.2#optional!builtin": + version: 1.22.12 + resolution: "resolve@patch:resolve@npm%3A1.22.12#optional!builtin::version=1.22.12&hash=c3c19d" + dependencies: + es-errors: "npm:^1.3.0" + is-core-module: "npm:^2.16.1" + path-parse: "npm:^1.0.7" + supports-preserve-symlinks-flag: "npm:^1.0.0" + bin: + resolve: bin/resolve + checksum: 10/f80ad2c2b6820331cbe079198a184ffce322cfeca140065118066276bc08b03d5fa2c1ce652aeb584ec74050d1f656f46f034cc0dd9300452c5ab7866907f8c0 + languageName: node + linkType: hard + "retry@npm:^0.12.0": version: 0.12.0 resolution: "retry@npm:0.12.0" @@ -18000,7 +18252,7 @@ __metadata: languageName: node linkType: hard -"semver@npm:^7.6.3": +"semver@npm:^7.6.3, semver@npm:~7.7.4": version: 7.7.4 resolution: "semver@npm:7.7.4" bin: @@ -18506,6 +18758,13 @@ __metadata: languageName: node linkType: hard +"string-argv@npm:~0.3.1": + version: 0.3.2 + resolution: "string-argv@npm:0.3.2" + checksum: 10/f9d3addf887026b4b5f997a271149e93bf71efc8692e7dc0816e8807f960b18bcb9787b45beedf0f97ff459575ee389af3f189d8b649834cac602f2e857e75af + languageName: node + linkType: hard + "string-length@npm:^4.0.2": version: 4.0.2 resolution: "string-length@npm:4.0.2" @@ -18920,7 +19179,7 @@ __metadata: languageName: node linkType: hard -"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1": +"supports-color@npm:^8.0.0, supports-color@npm:^8.1.1, supports-color@npm:~8.1.1": version: 8.1.1 resolution: "supports-color@npm:8.1.1" dependencies: @@ -19695,7 +19954,7 @@ __metadata: languageName: node linkType: hard -"typescript@npm:~5.9.3": +"typescript@npm:5.9.3, typescript@npm:~5.9.3": version: 5.9.3 resolution: "typescript@npm:5.9.3" bin: @@ -19705,7 +19964,7 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A~5.9.3#optional!builtin": +"typescript@patch:typescript@npm%3A5.9.3#optional!builtin, typescript@patch:typescript@npm%3A~5.9.3#optional!builtin": version: 5.9.3 resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin::version=5.9.3&hash=5786d5" bin: