This commit is contained in:
Chris Trevino 2022-03-10 14:53:31 -08:00
Родитель 0f0ce9d42b
Коммит 8414422d02
15 изменённых файлов: 1589 добавлений и 9 удалений

Просмотреть файл

@ -3,11 +3,10 @@ lib/
dist/
out/
build/
docs/
.yarn/
yarn.lock
.eslintignore
.gitignore
.prettierignore
.pnp.*
jest.config.js
*.js

1
.gitignore поставляемый
Просмотреть файл

@ -5,6 +5,7 @@ node_modules/
packages/*/lib/
packages/*/dist/
packages/*/build/
packages/*/docsTemp/
# testing
/coverage

Просмотреть файл

@ -1,4 +1,12 @@
node_modules/
lib/
dist/
out/
build/
docs/
.yarn/
yarnrc.yml
yarn.lock
.eslintignore
.gitignore
.prettierignore
.pnp.*

Просмотреть файл

@ -0,0 +1,291 @@
## API Report File for "@thematic/color"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
// Warning: (ae-missing-release-tag) "Color" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export class Color {
constructor(css: string, alpha?: number);
// (undocumented)
css(alpha?: number): string;
// (undocumented)
hex(alpha?: number): string;
get raw(): string;
// (undocumented)
rgbaint(alpha?: number): number;
// (undocumented)
rgbav(alpha?: number): [number, number, number, number];
// (undocumented)
toString(): string;
}
// Warning: (ae-missing-release-tag) "colorBlindness" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function colorBlindness(scheme: Scheme, mode?: ColorBlindnessMode): Scheme;
// Warning: (ae-missing-release-tag) "colorBlindnessInfo" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function colorBlindnessInfo(mode: ColorBlindnessMode): ColorBlindnessMeta;
// Warning: (ae-missing-release-tag) "ColorBlindnessMeta" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface ColorBlindnessMeta {
// (undocumented)
description: string;
// (undocumented)
incidence: number;
}
// Warning: (ae-missing-release-tag) "ColorBlindnessMode" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export enum ColorBlindnessMode {
// (undocumented)
Achromatopsia = 7,
// (undocumented)
Deuteranomaly = 1,
// (undocumented)
Deuteranopia = 4,
// (undocumented)
None = 0,
// (undocumented)
Protanomaly = 2,
// (undocumented)
Protanopia = 3,
// (undocumented)
Tritanomaly = 6,
// (undocumented)
Tritanopia = 5
}
// Warning: (ae-missing-release-tag) "ColorSpace" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export enum ColorSpace {
CSS = "css",
HEX = "hex",
RGB = "rgb",
RGBA = "rgba",
RGBA_NUMBER = "rgbaint",
RGBA_VECTOR = "rgbav"
}
// Warning: (ae-missing-release-tag) "contrast" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function contrast(foreground: string, background: string): number;
// Warning: (ae-missing-release-tag) "css2css" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2css(css: string, alpha?: number): string;
// Warning: (ae-missing-release-tag) "css2hex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2hex(css: string, alpha?: number): string;
// Warning: (ae-missing-release-tag) "css2hsl" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2hsl(css: string, _alpha?: number): Hsl;
// Warning: (ae-missing-release-tag) "css2hsluv" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2hsluv(css: string): [number, number, number];
// Warning: (ae-missing-release-tag) "css2hsv" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2hsv(css: string, _alpha?: number): Hsv;
// Warning: (ae-missing-release-tag) "css2lch" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2lch(css: string): [number, number, number];
// Warning: (ae-missing-release-tag) "css2rgb" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2rgb(css: string, _alpha?: number): Rgb;
// Warning: (ae-missing-release-tag) "css2rgba" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2rgba(css: string, alpha?: number): Rgba;
// Warning: (ae-missing-release-tag) "css2rgbaNumber" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2rgbaNumber(css: string, alpha?: number): number;
// Warning: (ae-missing-release-tag) "css2rgbaVector" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function css2rgbaVector(css: string, alpha?: number): [number, number, number, number];
// Warning: (ae-missing-release-tag) "darken" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function darken(css: string, value?: number): string;
// Warning: (ae-missing-release-tag) "defaultParams" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const defaultParams: {
accentHue: number;
accentSaturation: number;
accentLuminance: number;
backgroundHueShift: number;
backgroundLevel: number;
nominalHueStep: number;
};
// Warning: (ae-missing-release-tag) "getNamedSchemeColor" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function getNamedSchemeColor(scheme: Scheme, path?: string): Color;
// Warning: (ae-missing-release-tag) "getScheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function getScheme(params: Params, nominalItemCount: number, sequentialItemCount: number, light: boolean): Scheme;
// Warning: (ae-missing-release-tag) "Hsl" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Hsl {
// (undocumented)
h: number;
// (undocumented)
l: number;
// (undocumented)
s: number;
}
// Warning: (ae-missing-release-tag) "hsluv2hex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function hsluv2hex(h: number, s: number, l: number): string;
// Warning: (ae-missing-release-tag) "Hsv" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Hsv {
// (undocumented)
h: number;
// (undocumented)
s: number;
// (undocumented)
v: number;
}
// Warning: (ae-missing-release-tag) "isNominal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function isNominal(name?: string): boolean;
// Warning: (ae-missing-release-tag) "lch2hex" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function lch2hex(l: number, c: number, h: number): string;
// Warning: (ae-missing-release-tag) "lighten" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function lighten(css: string, value?: number): string;
// Warning: (ae-missing-release-tag) "Params" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface Params {
// (undocumented)
accentHue: number;
// (undocumented)
accentLuminance: number;
// (undocumented)
accentSaturation: number;
// (undocumented)
backgroundHueShift: number;
// (undocumented)
backgroundLevel: number;
// (undocumented)
nominalHueStep: number;
}
// Warning: (ae-missing-release-tag) "Rgb" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Rgb {
// (undocumented)
b: number;
// (undocumented)
g: number;
// (undocumented)
r: number;
}
// Warning: (ae-missing-release-tag) "Rgba" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Rgba extends Rgb {
// (undocumented)
a: number;
}
// Warning: (ae-missing-release-tag) "Scheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface Scheme {
// (undocumented)
accent: string;
// (undocumented)
background: string;
// (undocumented)
diverging: string[];
// (undocumented)
diverging2: string[];
// (undocumented)
error: string;
// (undocumented)
faintAnnotation: string;
// (undocumented)
foreground: string;
// (undocumented)
greys: string[];
// (undocumented)
highContrastAnnotation: string;
// (undocumented)
lowContrastAnnotation: string;
// (undocumented)
lowMidContrastAnnotation: string;
// (undocumented)
midContrastAnnotation: string;
// (undocumented)
midHighContrastAnnotation: string;
// (undocumented)
nominal: string[];
// (undocumented)
nominalBold: string[];
// (undocumented)
nominalMuted: string[];
// (undocumented)
offsetBackground: string;
// (undocumented)
sequential: string[];
// (undocumented)
sequential2: string[];
// (undocumented)
warning: string;
}
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build",
"build": "essex build --docs",
"start": "essex watch"
},
"dependencies": {

Просмотреть файл

@ -0,0 +1,870 @@
## API Report File for "@thematic/core"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import type { Color } from '@thematic/color';
import { ColorBlindnessMode } from '@thematic/color';
import type { Params } from '@thematic/color';
import type { Scheme } from '@thematic/color';
// Warning: (ae-missing-release-tag) "Application" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface Application {
accent: () => Color;
background: () => Color;
border: () => Color;
error: () => Color;
faint: () => Color;
foreground: () => Color;
highContrast: () => Color;
lowContrast: () => Color;
lowMidContrast: () => Color;
midContrast: () => Color;
midHighContrast: () => Color;
success: () => Color;
warning: () => Color;
}
// Warning: (ae-missing-release-tag) "ApplicationSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ApplicationSpec {
// (undocumented)
accent?: string;
// (undocumented)
background?: string;
// (undocumented)
border?: string;
// (undocumented)
error?: string;
// (undocumented)
faint?: string;
// (undocumented)
foreground?: string;
// (undocumented)
highContrast?: string;
// (undocumented)
lowContrast?: string;
// (undocumented)
lowMidContrast?: string;
// (undocumented)
midContrast?: string;
// (undocumented)
midHighContrast?: string;
// (undocumented)
success?: string;
// (undocumented)
warning?: string;
}
// Warning: (ae-missing-release-tag) "Arc" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Arc = SVGMark;
// Warning: (ae-missing-release-tag) "ArcSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type ArcSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "Area" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Area = SVGMark;
// Warning: (ae-missing-release-tag) "AreaSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type AreaSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "AxisLine" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type AxisLine = SVGChrome;
// Warning: (ae-missing-release-tag) "AxisLineSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type AxisLineSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "AxisTickLabels" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface AxisTickLabels extends ChromeText {
// (undocumented)
padding: () => number;
}
// Warning: (ae-missing-release-tag) "AxisTickLabelsSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface AxisTickLabelsSpec extends SVGSpec {
// (undocumented)
fontFamily?: string;
// (undocumented)
fontSize?: number;
// (undocumented)
padding?: number;
}
// Warning: (ae-missing-release-tag) "AxisTicks" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface AxisTicks extends SVGChrome {
// (undocumented)
innerSize: () => number;
// (undocumented)
outerSize: () => number;
}
// Warning: (ae-missing-release-tag) "AxisTicksSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface AxisTicksSpec extends SVGSpec {
// (undocumented)
innerSize?: number;
// (undocumented)
outerSize?: number;
}
// Warning: (ae-missing-release-tag) "AxisTitle" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type AxisTitle = ChromeText;
// Warning: (ae-missing-release-tag) "AxisTitleSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface AxisTitleSpec extends SVGSpec {
// (undocumented)
fontFamily?: string;
// (undocumented)
fontSize?: number;
}
// Warning: (ae-missing-release-tag) "Bin" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Bin extends Array<number> {
// (undocumented)
x0?: number;
// (undocumented)
x1?: number;
}
// Warning: (ae-missing-release-tag) "Chart" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Chart {
// (undocumented)
backgroundColor: () => Color;
// (undocumented)
padding: () => number;
}
// Warning: (ae-missing-release-tag) "ChartSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ChartSpec {
// (undocumented)
backgroundColor?: string;
// (undocumented)
padding?: number;
}
// Warning: (ae-missing-release-tag) "ChromeFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export type ChromeFunction<T> = () => T;
// Warning: (ae-missing-release-tag) "ChromeText" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ChromeText extends SVGChrome {
// (undocumented)
fontFamily: () => string;
// (undocumented)
fontSize: () => number;
// (undocumented)
fontWeight: () => string;
}
// Warning: (ae-missing-release-tag) "ChromeType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type ChromeType = 'plotArea' | 'tooltip' | 'axisLine' | 'axisTicks' | 'gridLines' | 'axisTickLabels' | 'axisTitle';
// Warning: (ae-missing-release-tag) "Circle" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Circle extends SVGMark {
// (undocumented)
radius: (datum?: any) => number;
}
// Warning: (ae-missing-release-tag) "CircleSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface CircleSpec extends SignaledSVGSpec {
// (undocumented)
radius?: number;
}
// Warning: (ae-missing-release-tag) "clone" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function clone(theme: Theme, updatedSpec?: ThemeSpec, updatedConfig?: ThemeConfig): Theme;
// Warning: (ae-missing-release-tag) "ColorScaleFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorScaleFunction {
toArray: (length?: number) => string[];
}
// Warning: (ae-missing-release-tag) "ColorScales" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorScales {
// (undocumented)
diverging: (domain?: number[], scaleType?: ScaleType, quantiles?: number) => ContinuousColorScaleFunction;
// (undocumented)
diverging2: (domain?: number[], scaleType?: ScaleType, quantiles?: number) => ContinuousColorScaleFunction;
// (undocumented)
greys: (domain?: number[], scaleType?: ScaleType, quantiles?: number) => ContinuousColorScaleFunction;
// (undocumented)
nominal: (sizeOrDomain?: number | string[] | number[]) => NominalColorScaleFunction;
// (undocumented)
nominalBold: (sizeOrDomain?: number | string[] | number[]) => NominalColorScaleFunction;
// (undocumented)
nominalMuted: (sizeOrDomain?: number | string[] | number[]) => NominalColorScaleFunction;
sequential: (domain?: number[], scaleType?: ScaleType, quantiles?: number) => ContinuousColorScaleFunction;
// (undocumented)
sequential2: (domain?: number[], scaleType?: ScaleType, quantiles?: number) => ContinuousColorScaleFunction;
}
// Warning: (ae-missing-release-tag) "ContinuousColorScaleFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ContinuousColorScaleFunction extends ColorScaleFunction {
// (undocumented)
(value: number): Color;
}
// Warning: (ae-missing-release-tag) "defaultThemes" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const defaultThemes: ThemeListing[];
// Warning: (ae-missing-release-tag) "ExportConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ExportConfig {
scaleItemCount?: number;
}
// Warning: (ae-missing-release-tag) "Flow" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Flow = SVGMark;
// Warning: (ae-missing-release-tag) "FlowSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type FlowSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "gimp" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const gimp: Transformer<string>;
// Warning: (ae-missing-release-tag) "GridLines" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type GridLines = SVGChrome;
// Warning: (ae-missing-release-tag) "GridLinesSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type GridLinesSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "HiddenSVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type HiddenSVGSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "HoveredSVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type HoveredSVGSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "LearningState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface LearningState {
strength: number;
value: number;
}
// Warning: (ae-missing-release-tag) "Line" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Line = SVGMark;
// Warning: (ae-missing-release-tag) "linear" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function linear(domain: number[], clamp?: boolean): (value: number) => number;
// Warning: (ae-missing-release-tag) "LineSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type LineSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "Link" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Link = SVGMark;
// Warning: (ae-missing-release-tag) "LinkSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type LinkSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "load" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function load(config?: ThemeConfig): Theme;
// Warning: (ae-missing-release-tag) "loadById" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function loadById(id: string, config?: ThemeConfig): Theme;
// Warning: (ae-missing-release-tag) "loadFromSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function loadFromSpec(spec: ThemeSpec, config?: ThemeConfig): Theme;
// Warning: (ae-missing-release-tag) "log" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function log(domain: number[], clamp?: boolean): (value: number) => number;
// Warning: (ae-missing-release-tag) "MarkConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface MarkConfig {
accessor?: (datum: any) => string | number;
overrides?: {
[key: string]: any;
};
scaleBindings?: {
[key: string]: {
scale: (datum: any) => any;
accessor?: (datum: any) => string | number;
};
};
selectionState?: SelectionState | ((datum?: any) => SelectionState);
}
// Warning: (ae-missing-release-tag) "MarkFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export type MarkFunction<T> = (markConfig?: MarkConfig) => T;
// Warning: (ae-missing-release-tag) "MarkType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type MarkType = 'rect' | 'area' | 'circle' | 'process' | 'node' | 'line' | 'rule' | 'flow' | 'link' | 'arc' | 'text';
// Warning: (ae-missing-release-tag) "Node" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Node = Circle;
// Warning: (ae-missing-release-tag) "NodeSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type NodeSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "NominalColorScaleFunction" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface NominalColorScaleFunction extends ColorScaleFunction {
// (undocumented)
(key: string | number): Color;
}
// Warning: (ae-missing-release-tag) "office" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const office: Transformer<OfficeTheme>;
// Warning: (ae-missing-release-tag) "OfficeTheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type OfficeTheme = {
dark1: string;
light1: string;
dark2: string;
light2: string;
accent1: string;
accent2: string;
accent3: string;
accent4: string;
accent5: string;
accent6: string;
hyperlink: string;
followedHyperlink: string;
};
// Warning: (ae-missing-release-tag) "PlotArea" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type PlotArea = SVGChrome;
// Warning: (ae-missing-release-tag) "PlotAreaSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type PlotAreaSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "powerbi" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const powerbi: Transformer<PowerBITheme>;
// Warning: (ae-missing-release-tag) "PowerBITheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface PowerBITheme {
// (undocumented)
background: string;
// (undocumented)
dataColors: string[];
// (undocumented)
foreground: string;
// (undocumented)
name: string;
// (undocumented)
tableAccent: string;
}
// Warning: (ae-missing-release-tag) "Process" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Process = Circle;
// Warning: (ae-missing-release-tag) "ProcessSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type ProcessSpec = CircleSpec;
// Warning: (ae-missing-release-tag) "quantile" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function quantile(domain: number[], bins?: number): (value: number) => number;
// Warning: (ae-missing-release-tag) "recall" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function recall(): (elapsedTime: number, state?: LearningState) => LearningState;
// Warning: (ae-missing-release-tag) "Rect" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Rect = SVGMark;
// Warning: (ae-missing-release-tag) "RectSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type RectSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "Rule" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Rule = SVGMark;
// Warning: (ae-missing-release-tag) "RuleSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type RuleSpec = SignaledSVGSpec;
// Warning: (ae-missing-release-tag) "ScaleType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export enum ScaleType {
Linear = "linear",
Log = "log",
Quantile = "quantile"
}
// Warning: (ae-missing-release-tag) "SelectedSVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type SelectedSVGSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "SelectionState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export enum SelectionState {
Hidden = 4,
Hovered = 1,
NoData = 5,
Normal = 0,
Selected = 2,
Suppressed = 3
}
// Warning: (ae-missing-release-tag) "SignaledSVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface SignaledSVGSpec extends SVGSpec {
// (undocumented)
hidden?: HiddenSVGSpec;
// (undocumented)
hovered?: HoveredSVGSpec;
// (undocumented)
selected?: SelectedSVGSpec;
// (undocumented)
suppressed?: SuppressedSVGSpec;
}
// Warning: (ae-missing-release-tag) "SuppressedSVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type SuppressedSVGSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "SVGChrome" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface SVGChrome {
// (undocumented)
fill: () => Color;
// (undocumented)
fillOpacity: () => number;
// (undocumented)
stroke: () => Color;
// (undocumented)
strokeOpacity: () => number;
// (undocumented)
strokeWidth: () => number;
}
// Warning: (ae-missing-release-tag) "SVGMark" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface SVGMark {
// (undocumented)
fill: (datum?: any) => Color;
// (undocumented)
fillOpacity: (datum?: any) => number;
// (undocumented)
stroke: (datum?: any) => Color;
// (undocumented)
strokeOpacity: (datum?: any) => number;
// (undocumented)
strokeWidth: (datum?: any) => number;
}
// Warning: (ae-missing-release-tag) "SVGSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface SVGSpec {
// (undocumented)
fill?: string;
// (undocumented)
fillOpacity?: number;
// (undocumented)
stroke?: string;
// (undocumented)
strokeOpacity?: number;
// (undocumented)
strokeWidth?: number;
}
// Warning: (ae-missing-release-tag) "Text" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Text extends SVGMark {
// (undocumented)
fontFamily: () => string;
// (undocumented)
fontSize: () => number;
// (undocumented)
fontWeight: () => string;
}
// Warning: (ae-missing-release-tag) "TextSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface TextSpec extends SignaledSVGSpec {
// (undocumented)
fontFamily?: string;
// (undocumented)
fontSize?: number;
// (undocumented)
fontWeight?: string;
}
// Warning: (ae-missing-release-tag) "Theme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface Theme {
// (undocumented)
application: ChromeFunction<Application>;
// (undocumented)
arc: MarkFunction<Arc>;
// (undocumented)
area: MarkFunction<Area>;
// (undocumented)
axisLine: ChromeFunction<AxisLine>;
// (undocumented)
axisTickLabels: ChromeFunction<AxisTickLabels>;
// (undocumented)
axisTicks: ChromeFunction<AxisTicks>;
// (undocumented)
axisTitle: ChromeFunction<AxisTitle>;
// (undocumented)
chart: ChromeFunction<Chart>;
// (undocumented)
circle: MarkFunction<Circle>;
// (undocumented)
clone(update: ThemeSpec, updatedConfig?: ThemeConfig): Theme;
colorBlindness: (mode: ColorBlindnessMode) => Theme;
// (undocumented)
config: ThemeConfig;
dark: () => Theme;
// (undocumented)
definition: ThemeDefinition;
// (undocumented)
flow: MarkFunction<Flow>;
// (undocumented)
gridLines: ChromeFunction<GridLines>;
light: () => Theme;
// (undocumented)
line: MarkFunction<Line>;
// (undocumented)
link: MarkFunction<Link>;
// (undocumented)
name: string;
// (undocumented)
node: MarkFunction<Node>;
// (undocumented)
params: Params;
// (undocumented)
plotArea: ChromeFunction<PlotArea>;
// (undocumented)
process: MarkFunction<Process>;
// (undocumented)
rect: MarkFunction<Rect>;
// (undocumented)
rule: MarkFunction<Rule>;
// (undocumented)
scales: () => ColorScales;
// (undocumented)
scheme: Scheme;
// (undocumented)
spec: ThemeSpec;
// (undocumented)
text: MarkFunction<Text>;
// (undocumented)
toJSON(config?: ExportConfig): ThemeSpec;
// (undocumented)
tooltip: ChromeFunction<Tooltip>;
transform: (transformer: Transformer) => unknown;
// (undocumented)
variant: ThemeVariant;
}
// Warning: (ae-missing-release-tag) "ThemeConfig" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ThemeConfig {
colorBlindnessMode?: ColorBlindnessMode;
overrides?: ThemeDefinition;
variant?: ThemeVariant;
}
// Warning: (ae-missing-release-tag) "ThemeDefinition" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface ThemeDefinition {
// (undocumented)
application?: ApplicationSpec;
// (undocumented)
arc?: ArcSpec;
// (undocumented)
area?: AreaSpec;
// (undocumented)
axisLine?: AxisLineSpec;
// (undocumented)
axisTickLabels?: AxisTickLabelsSpec;
// (undocumented)
axisTicks?: AxisTicksSpec;
// (undocumented)
axisTitle?: AxisTitleSpec;
// (undocumented)
chart?: ChartSpec;
// (undocumented)
circle?: CircleSpec;
// (undocumented)
flow?: FlowSpec;
// (undocumented)
gridLines?: GridLinesSpec;
// (undocumented)
line?: LineSpec;
// (undocumented)
link?: LinkSpec;
// (undocumented)
node?: NodeSpec;
// (undocumented)
plotArea?: PlotAreaSpec;
// (undocumented)
process?: ProcessSpec;
// (undocumented)
rect?: RectSpec;
// (undocumented)
rule?: RuleSpec;
// (undocumented)
text?: TextSpec;
// (undocumented)
tooltip?: TooltipSpec;
}
// Warning: (ae-missing-release-tag) "ThemeElementType" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type ThemeElementType = MarkType | ChromeType;
// Warning: (ae-missing-release-tag) "Theme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export class ThemeImpl implements Theme {
constructor(spec: ThemeSpec, config?: ThemeConfig);
// (undocumented)
application: () => Application;
// (undocumented)
arc: (markConfig?: MarkConfig | undefined) => Arc;
// (undocumented)
area: (markConfig?: MarkConfig | undefined) => Area;
// (undocumented)
axisLine: () => AxisLine;
// (undocumented)
axisTickLabels: () => AxisTickLabels;
// (undocumented)
axisTicks: () => AxisTicks;
// (undocumented)
axisTitle: () => AxisTitle;
// (undocumented)
chart: () => Chart;
// (undocumented)
circle: (markConfig?: MarkConfig | undefined) => Circle;
clone: (spec?: ThemeSpec | undefined, config?: ThemeConfig | undefined) => ThemeImpl;
// (undocumented)
colorBlindness: (mode: ColorBlindnessMode) => ThemeImpl;
// (undocumented)
get config(): ThemeConfig;
// (undocumented)
dark: () => ThemeImpl;
// (undocumented)
get definition(): ThemeDefinition;
// (undocumented)
flow: (markConfig?: MarkConfig | undefined) => Flow;
// (undocumented)
gridLines: () => GridLines;
// (undocumented)
light: () => ThemeImpl;
// (undocumented)
line: (markConfig?: MarkConfig | undefined) => Line;
// (undocumented)
link: (markConfig?: MarkConfig | undefined) => Link;
// (undocumented)
get name(): string;
// (undocumented)
node: (markConfig?: MarkConfig | undefined) => Node;
// (undocumented)
get params(): Params;
// (undocumented)
plotArea: () => PlotArea;
// (undocumented)
process: (markConfig?: MarkConfig | undefined) => Process;
// (undocumented)
rect: (markConfig?: MarkConfig | undefined) => Rect;
// (undocumented)
rule: (markConfig?: MarkConfig | undefined) => Rule;
// (undocumented)
scales: () => ColorScales;
// (undocumented)
get scheme(): Scheme;
// (undocumented)
get spec(): ThemeSpec;
// (undocumented)
text: (markConfig?: MarkConfig | undefined) => Text;
// (undocumented)
toJSON: (config?: ExportConfig) => ThemeSpec;
// (undocumented)
tooltip: () => Tooltip;
// (undocumented)
transform: (transformer: Transformer) => unknown;
// (undocumented)
get variant(): ThemeVariant;
}
// Warning: (ae-missing-release-tag) "ThemeListing" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ThemeListing {
accent?: string;
id: string;
name: string;
}
// Warning: (ae-missing-release-tag) "ThemeSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface ThemeSpec {
// (undocumented)
dark?: Scheme;
// (undocumented)
light?: Scheme;
// (undocumented)
name?: string;
// (undocumented)
params?: Params;
}
// Warning: (ae-missing-release-tag) "ThemeVariant" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export enum ThemeVariant {
// (undocumented)
Dark = "dark",
// (undocumented)
Light = "light"
}
// Warning: (ae-missing-release-tag) "Tooltip" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type Tooltip = SVGChrome;
// Warning: (ae-missing-release-tag) "TooltipSpec" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type TooltipSpec = SVGSpec;
// Warning: (ae-missing-release-tag) "Transformer" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface Transformer<T = unknown> {
// (undocumented)
(theme: Theme): T;
}
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build --skipExportCheck",
"build": "essex build --skipExportCheck --docs",
"start": "essex watch"
},
"dependencies": {

185
packages/d3/docs/d3.api.md Normal file
Просмотреть файл

@ -0,0 +1,185 @@
## API Report File for "@thematic/d3"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import type { Arc } from '@thematic/core';
import type { Area } from '@thematic/core';
import type { Axis } from 'd3-axis';
import type { Chart } from '@thematic/core';
import type { Circle } from '@thematic/core';
import type { Line } from '@thematic/core';
import type { Link } from '@thematic/core';
import type { Node as Node_2 } from '@thematic/core';
import type { PlotArea } from '@thematic/core';
import type { Rect } from '@thematic/core';
import type { ScaleType } from '@thematic/core';
import type { Selection as Selection_2 } from 'd3-selection';
import { SelectionState } from '@thematic/core';
import type { Text as Text_2 } from '@thematic/core';
import type { Theme } from '@thematic/core';
// Warning: (ae-missing-release-tag) "applyNominalAttrWithSignalState" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function applyNominalAttrWithSignalState(selection: Selection_2<Element, any, Element, any>, attr: string, getState: (datum: any) => SelectionState, accessor: (datum: any) => any, theme: Theme, size: number): void;
// Warning: (ae-missing-release-tag) "attr" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function attr(selection: Selection_2<Element, any, Element, any>, attrs?: {
[key: string]: any;
}): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "axis" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function axis(group: Selection_2<Element, any, Element, any>, theme: Theme, axisGenerator: Axis<any>, options?: SelectionOptions): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "chart" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function chart(svg: Selection_2<Element, any, Element, any>, theme: Theme, options?: ChartOptions): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "ChartOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ChartOptions extends SelectionOptions {
// (undocumented)
height?: number;
// (undocumented)
width?: number;
}
// Warning: (ae-missing-release-tag) "circle" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function circle(selection: Selection_2<Element, any, Element, any>, child: Circle | Node_2): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "classed" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function classed(selection: Selection_2<Element, any, Element, any>, classes?: {
[key: string]: any;
}): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "diverging" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function diverging(theme: Theme, domain: number[], scaleType?: ScaleType, quantiles?: number): (value: number) => string;
// Warning: (ae-missing-release-tag) "diverging2" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function diverging2(theme: Theme, domain: number[], scaleType?: ScaleType, quantiles?: number): (value: number) => string;
// Warning: (ae-missing-release-tag) "greys" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function greys(theme: Theme, domain: number[], scaleType?: ScaleType, quantiles?: number): (value: number) => string;
// Warning: (ae-missing-release-tag) "line" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function line(selection: Selection_2<Element, any, Element, any>, child: Line | Link): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "nominal" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function nominal(theme: Theme, size: number): (key: any) => string;
// Warning: (ae-missing-release-tag) "nominalBold" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function nominalBold(theme: Theme, size: number): (key: any) => string;
// Warning: (ae-missing-release-tag) "nominalMuted" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function nominalMuted(theme: Theme, size: number): (key: any) => string;
// Warning: (ae-missing-release-tag) "on" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function on(selection: Selection_2<Element, any, Element, any>, ons?: {
[key: string]: any;
}): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "path" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function path(selection: Selection_2<Element, any, Element, any>, child: Area | Arc): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "plotArea" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function plotArea(group: Selection_2<Element, any, Element, any>, theme: Theme, options?: PlotAreaOptions): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "PlotAreaOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface PlotAreaOptions extends ChartOptions {
// (undocumented)
marginBottom?: number;
// (undocumented)
marginLeft?: number;
// (undocumented)
marginRight?: number;
// (undocumented)
marginTop?: number;
}
// Warning: (ae-missing-release-tag) "rect" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function rect(selection: Selection_2<Element, any, Element, any>, child: Rect | PlotArea): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "SelectionOptions" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface SelectionOptions {
attr: {
[key: string]: any;
};
classed: {
[key: string]: any;
};
on: {
[key: string]: any;
};
style: {
[key: string]: any;
};
}
// Warning: (ae-missing-release-tag) "sequential" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function sequential(theme: Theme, domain: number[], scaleType?: ScaleType, quantiles?: number): (value: number) => string;
// Warning: (ae-missing-release-tag) "sequential2" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function sequential2(theme: Theme, domain: number[], scaleType?: ScaleType, quantiles?: number): (value: number) => string;
// Warning: (ae-missing-release-tag) "style" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function style(selection: Selection_2<Element, any, Element, any>, styles?: {
[key: string]: any;
}): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "svg" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export function svg(selection: Selection_2<Element, any, Element, any>, child: Chart): Selection_2<Element, any, Element, any>;
// Warning: (ae-missing-release-tag) "text" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function text(selection: Selection_2<Element, any, Element, any>, child: Text_2): Selection_2<Element, any, Element, any>;
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build --skipExportCheck",
"build": "essex build --skipExportCheck --docs",
"start": "essex watch"
},
"dependencies": {

Просмотреть файл

@ -0,0 +1,149 @@
## API Report File for "@thematic/fluent"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import type { CSSProperties } from 'react';
import type { FC } from 'react';
import type { IChoiceGroupStyles } from '@fluentui/react';
import type { IDropdownProps } from '@fluentui/react';
import type { Params } from '@thematic/color';
import type { ScaleType } from '@thematic/core';
import type { Theme } from '@thematic/core';
import type { Theme as Theme_2 } from '@fluentui/react';
// Warning: (ae-missing-release-tag) "ColorPicker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ColorPicker: FC<ColorPickerProps>;
// Warning: (ae-missing-release-tag) "ColorPickerButton" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ColorPickerButton: FC<ColorPickerButtonProps>;
// Warning: (ae-missing-release-tag) "ColorPickerButtonProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorPickerButtonProps {
// (undocumented)
label?: string;
// (undocumented)
onChange?: (theme: Theme) => void;
// (undocumented)
styles?: ColorPickerButtonStyles;
// (undocumented)
theme?: Theme;
}
// Warning: (ae-missing-release-tag) "ColorPickerButtonStyles" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorPickerButtonStyles {
// (undocumented)
label?: CSSProperties;
}
// Warning: (ae-missing-release-tag) "ColorPickerLayout" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export enum ColorPickerLayout {
// (undocumented)
PickerOnly = 0,
// (undocumented)
SideBySide = 1
}
// Warning: (ae-missing-release-tag) "ColorPickerProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorPickerProps {
// (undocumented)
layout?: ColorPickerLayout;
// (undocumented)
onChange?: (theme: Theme) => void;
// (undocumented)
styles?: ColorPickerStyles;
theme?: Theme;
}
// Warning: (ae-missing-release-tag) "ColorPickerStyles" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ColorPickerStyles {
// (undocumented)
slider?: CSSProperties;
// (undocumented)
sliders?: CSSProperties;
}
// Warning: (ae-missing-release-tag) "FluentTheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export interface FluentTheme extends Theme_2, Theme {
name: string;
toFluent: () => Theme_2;
toThematic: () => Theme;
}
// Warning: (ae-missing-release-tag) "loadFluentTheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function loadFluentTheme(theme: Theme): FluentTheme;
// Warning: (ae-missing-release-tag) "PartialParams" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export type PartialParams = Partial<Params>;
// Warning: (ae-forgotten-export) The symbol "ScaleDropdownProps" needs to be exported by the entry point index.d.ts
// Warning: (ae-missing-release-tag) "ScaleDropdown" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ScaleDropdown: FC<ScaleDropdownProps>;
// Warning: (ae-missing-release-tag) "ScaleTypeChoiceGroup" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ScaleTypeChoiceGroup: FC<ScaleTypeChoiceGroupProps>;
// Warning: (ae-missing-release-tag) "ScaleTypeChoiceGroupProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ScaleTypeChoiceGroupProps {
// (undocumented)
label: string;
// (undocumented)
onChange?: (scaleType: ScaleType) => void;
// (undocumented)
selectedType: ScaleType;
// (undocumented)
styles?: IChoiceGroupStyles;
// (undocumented)
suppressQuantile?: boolean;
}
// Warning: (ae-missing-release-tag) "ThematicFluentProvider" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ThematicFluentProvider: FC<ThematicFluentProviderProps>;
// Warning: (ae-missing-release-tag) "ThematicFluentProviderProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ThematicFluentProviderProps {
// (undocumented)
theme: Theme;
}
// Warning: (ae-missing-release-tag) "useThematicFluent" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function useThematicFluent(): FluentTheme;
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build --skipExportCheck",
"build": "essex build --skipExportCheck --docs",
"start": "essex watch"
},
"dependencies": {

Просмотреть файл

@ -0,0 +1,60 @@
## API Report File for "@thematic/react"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
/// <reference types="react" />
import type { Application } from '@thematic/core';
import type { CSSProperties } from 'react';
import type { FC } from 'react';
import type { SVGMark } from '@thematic/core';
import type { Theme } from '@thematic/core';
// Warning: (ae-missing-release-tag) "application2style" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function application2style(config: Application): CSSProperties;
// Warning: (ae-missing-release-tag) "ApplicationStyles" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ApplicationStyles: FC;
// Warning: (ae-missing-release-tag) "defaultTheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export const defaultTheme: Theme;
// Warning: (ae-missing-release-tag) "mark2style" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function mark2style(config: SVGMark, datum?: any): CSSProperties;
// Warning: (ae-missing-release-tag) "ThematicContext" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ThematicContext: React.Context<Theme>;
// Warning: (ae-missing-release-tag) "ThematicProvider" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export const ThematicProvider: FC<ThematicProviderProps>;
// Warning: (ae-missing-release-tag) "ThematicProviderProps" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public (undocumented)
export interface ThematicProviderProps {
// (undocumented)
theme?: Theme;
}
// Warning: (ae-missing-release-tag) "useThematic" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function useThematic(): Theme;
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build --skipExportCheck",
"build": "essex build --skipExportCheck --docs",
"start": "essex watch"
},
"dependencies": {

Просмотреть файл

@ -0,0 +1,17 @@
## API Report File for "@thematic/vega"
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
```ts
import type { Spec } from 'vega';
import type { Theme } from '@thematic/core';
// Warning: (ae-missing-release-tag) "vega" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function vega(theme: Theme, spec: Spec, width: number, height: number): Spec;
// (No @packageDocumentation comment for this package)
```

Просмотреть файл

@ -16,7 +16,7 @@
},
"scripts": {
"clean": "essex clean",
"build": "essex build --skipExportCheck",
"build": "essex build --skipExportCheck --docs",
"start": "essex watch"
},
"dependencies": {