From b3d63648a875a89231aaed8f1d62373ad8db76b0 Mon Sep 17 00:00:00 2001 From: Nathan Evans Date: Tue, 15 Nov 2022 17:41:36 -0800 Subject: [PATCH] Fix build --- ...primary.md => color.scheme.dataprimary.md} | 8 +- ...old.md => color.scheme.dataprimarybold.md} | 6 +- ...ed.md => color.scheme.dataprimarymuted.md} | 6 +- packages/color/docs/markdown/color.scheme.md | 6 +- packages/color/docs/report/color.api.json | 162 +++++++++--------- packages/color/docs/report/color.api.md | 10 +- ... => fluent.colorpickerstyles.container.md} | 6 +- .../docs/markdown/fluent.colorpickerstyles.md | 2 +- packages/fluent/docs/report/fluent.api.json | 56 +++--- packages/fluent/docs/report/fluent.api.md | 4 +- .../ControlPanel/ControlPanel.base.tsx | 2 +- 11 files changed, 134 insertions(+), 134 deletions(-) rename packages/color/docs/markdown/{color.scheme.primary.md => color.scheme.dataprimary.md} (50%) rename packages/color/docs/markdown/{color.scheme.primarybold.md => color.scheme.dataprimarybold.md} (54%) rename packages/color/docs/markdown/{color.scheme.primarymuted.md => color.scheme.dataprimarymuted.md} (54%) rename packages/fluent/docs/markdown/{fluent.colorpickerstyles.sliders.md => fluent.colorpickerstyles.container.md} (50%) diff --git a/packages/color/docs/markdown/color.scheme.primary.md b/packages/color/docs/markdown/color.scheme.dataprimary.md similarity index 50% rename from packages/color/docs/markdown/color.scheme.primary.md rename to packages/color/docs/markdown/color.scheme.dataprimary.md index 7e62bbb..f119389 100644 --- a/packages/color/docs/markdown/color.scheme.primary.md +++ b/packages/color/docs/markdown/color.scheme.dataprimary.md @@ -1,13 +1,13 @@ -[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [primary](./color.scheme.primary.md) +[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [dataPrimary](./color.scheme.dataprimary.md) -## Scheme.primary property +## Scheme.dataPrimary property -Primary data color, derived from the accent +Primary data color, derived from the accent. Signature: ```typescript -primary: string; +dataPrimary: string; ``` diff --git a/packages/color/docs/markdown/color.scheme.primarybold.md b/packages/color/docs/markdown/color.scheme.dataprimarybold.md similarity index 54% rename from packages/color/docs/markdown/color.scheme.primarybold.md rename to packages/color/docs/markdown/color.scheme.dataprimarybold.md index 7506aa9..643f1c8 100644 --- a/packages/color/docs/markdown/color.scheme.primarybold.md +++ b/packages/color/docs/markdown/color.scheme.dataprimarybold.md @@ -1,11 +1,11 @@ -[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [primaryBold](./color.scheme.primarybold.md) +[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [dataPrimaryBold](./color.scheme.dataprimarybold.md) -## Scheme.primaryBold property +## Scheme.dataPrimaryBold property Signature: ```typescript -primaryBold: string; +dataPrimaryBold: string; ``` diff --git a/packages/color/docs/markdown/color.scheme.primarymuted.md b/packages/color/docs/markdown/color.scheme.dataprimarymuted.md similarity index 54% rename from packages/color/docs/markdown/color.scheme.primarymuted.md rename to packages/color/docs/markdown/color.scheme.dataprimarymuted.md index 55b2d22..e870096 100644 --- a/packages/color/docs/markdown/color.scheme.primarymuted.md +++ b/packages/color/docs/markdown/color.scheme.dataprimarymuted.md @@ -1,11 +1,11 @@ -[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [primaryMuted](./color.scheme.primarymuted.md) +[Home](./index.md) > [@thematic/color](./color.md) > [Scheme](./color.scheme.md) > [dataPrimaryMuted](./color.scheme.dataprimarymuted.md) -## Scheme.primaryMuted property +## Scheme.dataPrimaryMuted property Signature: ```typescript -primaryMuted: string; +dataPrimaryMuted: string; ``` diff --git a/packages/color/docs/markdown/color.scheme.md b/packages/color/docs/markdown/color.scheme.md index 6efc97e..3c32467 100644 --- a/packages/color/docs/markdown/color.scheme.md +++ b/packages/color/docs/markdown/color.scheme.md @@ -18,6 +18,9 @@ export interface Scheme | --- | --- | --- | --- | | [accent](./color.scheme.accent.md) | | string | | | [background](./color.scheme.background.md) | | string | | +| [dataPrimary](./color.scheme.dataprimary.md) | | string | Primary data color, derived from the accent. | +| [dataPrimaryBold](./color.scheme.dataprimarybold.md) | | string | | +| [dataPrimaryMuted](./color.scheme.dataprimarymuted.md) | | string | | | [diverging](./color.scheme.diverging.md) | | string\[\] | | | [diverging2](./color.scheme.diverging2.md) | | string\[\] | | | [error](./color.scheme.error.md) | | string | | @@ -33,9 +36,6 @@ export interface Scheme | [nominalBold](./color.scheme.nominalbold.md) | | string\[\] | | | [nominalMuted](./color.scheme.nominalmuted.md) | | string\[\] | | | [offsetBackground](./color.scheme.offsetbackground.md) | | string | | -| [primary](./color.scheme.primary.md) | | string | Primary data color, derived from the accent | -| [primaryBold](./color.scheme.primarybold.md) | | string | | -| [primaryMuted](./color.scheme.primarymuted.md) | | string | | | [rainbow](./color.scheme.rainbow.md) | | string\[\] | | | [sequential](./color.scheme.sequential.md) | | string\[\] | | | [sequential2](./color.scheme.sequential2.md) | | string\[\] | | diff --git a/packages/color/docs/report/color.api.json b/packages/color/docs/report/color.api.json index fe29379..186aecf 100644 --- a/packages/color/docs/report/color.api.json +++ b/packages/color/docs/report/color.api.json @@ -2943,6 +2943,87 @@ "endIndex": 2 } }, + { + "kind": "PropertySignature", + "canonicalReference": "@thematic/color!Scheme#dataPrimary:member", + "docComment": "/**\n * Primary data color, derived from the accent.\n */\n", + "excerptTokens": [ + { + "kind": "Content", + "text": "dataPrimary: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "dataPrimary", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "@thematic/color!Scheme#dataPrimaryBold:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "dataPrimaryBold: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "dataPrimaryBold", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, + { + "kind": "PropertySignature", + "canonicalReference": "@thematic/color!Scheme#dataPrimaryMuted:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "dataPrimaryMuted: " + }, + { + "kind": "Content", + "text": "string" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": false, + "releaseTag": "Public", + "name": "dataPrimaryMuted", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, { "kind": "PropertySignature", "canonicalReference": "@thematic/color!Scheme#diverging:member", @@ -3348,87 +3429,6 @@ "endIndex": 2 } }, - { - "kind": "PropertySignature", - "canonicalReference": "@thematic/color!Scheme#primary:member", - "docComment": "/**\n * Primary data color, derived from the accent\n */\n", - "excerptTokens": [ - { - "kind": "Content", - "text": "primary: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "primary", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "PropertySignature", - "canonicalReference": "@thematic/color!Scheme#primaryBold:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "primaryBold: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "primaryBold", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, - { - "kind": "PropertySignature", - "canonicalReference": "@thematic/color!Scheme#primaryMuted:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "primaryMuted: " - }, - { - "kind": "Content", - "text": "string" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": false, - "releaseTag": "Public", - "name": "primaryMuted", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } - }, { "kind": "PropertySignature", "canonicalReference": "@thematic/color!Scheme#rainbow:member", diff --git a/packages/color/docs/report/color.api.md b/packages/color/docs/report/color.api.md index 8512f6f..00a121a 100644 --- a/packages/color/docs/report/color.api.md +++ b/packages/color/docs/report/color.api.md @@ -262,6 +262,11 @@ export interface Scheme { accent: string; // (undocumented) background: string; + dataPrimary: string; + // (undocumented) + dataPrimaryBold: string; + // (undocumented) + dataPrimaryMuted: string; // (undocumented) diverging: string[]; // (undocumented) @@ -292,11 +297,6 @@ export interface Scheme { nominalMuted: string[]; // (undocumented) offsetBackground: string; - primary: string; - // (undocumented) - primaryBold: string; - // (undocumented) - primaryMuted: string; // (undocumented) rainbow: string[]; // (undocumented) diff --git a/packages/fluent/docs/markdown/fluent.colorpickerstyles.sliders.md b/packages/fluent/docs/markdown/fluent.colorpickerstyles.container.md similarity index 50% rename from packages/fluent/docs/markdown/fluent.colorpickerstyles.sliders.md rename to packages/fluent/docs/markdown/fluent.colorpickerstyles.container.md index 11c3b93..db5494a 100644 --- a/packages/fluent/docs/markdown/fluent.colorpickerstyles.sliders.md +++ b/packages/fluent/docs/markdown/fluent.colorpickerstyles.container.md @@ -1,11 +1,11 @@ -[Home](./index.md) > [@thematic/fluent](./fluent.md) > [ColorPickerStyles](./fluent.colorpickerstyles.md) > [sliders](./fluent.colorpickerstyles.sliders.md) +[Home](./index.md) > [@thematic/fluent](./fluent.md) > [ColorPickerStyles](./fluent.colorpickerstyles.md) > [container](./fluent.colorpickerstyles.container.md) -## ColorPickerStyles.sliders property +## ColorPickerStyles.container property Signature: ```typescript -sliders?: CSSProperties; +container?: CSSProperties; ``` diff --git a/packages/fluent/docs/markdown/fluent.colorpickerstyles.md b/packages/fluent/docs/markdown/fluent.colorpickerstyles.md index 1c88d6e..7d5e93f 100644 --- a/packages/fluent/docs/markdown/fluent.colorpickerstyles.md +++ b/packages/fluent/docs/markdown/fluent.colorpickerstyles.md @@ -14,6 +14,6 @@ export interface ColorPickerStyles | Property | Modifiers | Type | Description | | --- | --- | --- | --- | +| [container?](./fluent.colorpickerstyles.container.md) | | CSSProperties | (Optional) | | [slider?](./fluent.colorpickerstyles.slider.md) | | ISliderStyles | (Optional) | -| [sliders?](./fluent.colorpickerstyles.sliders.md) | | CSSProperties | (Optional) | diff --git a/packages/fluent/docs/report/fluent.api.json b/packages/fluent/docs/report/fluent.api.json index af082a0..06c800b 100644 --- a/packages/fluent/docs/report/fluent.api.json +++ b/packages/fluent/docs/report/fluent.api.json @@ -713,6 +713,34 @@ "name": "ColorPickerStyles", "preserveMemberOrder": false, "members": [ + { + "kind": "PropertySignature", + "canonicalReference": "@thematic/fluent!ColorPickerStyles#container:member", + "docComment": "", + "excerptTokens": [ + { + "kind": "Content", + "text": "container?: " + }, + { + "kind": "Reference", + "text": "CSSProperties", + "canonicalReference": "@types/react!~React.CSSProperties:interface" + }, + { + "kind": "Content", + "text": ";" + } + ], + "isReadonly": false, + "isOptional": true, + "releaseTag": "Public", + "name": "container", + "propertyTypeTokenRange": { + "startIndex": 1, + "endIndex": 2 + } + }, { "kind": "PropertySignature", "canonicalReference": "@thematic/fluent!ColorPickerStyles#slider:member", @@ -740,34 +768,6 @@ "startIndex": 1, "endIndex": 2 } - }, - { - "kind": "PropertySignature", - "canonicalReference": "@thematic/fluent!ColorPickerStyles#sliders:member", - "docComment": "", - "excerptTokens": [ - { - "kind": "Content", - "text": "sliders?: " - }, - { - "kind": "Reference", - "text": "CSSProperties", - "canonicalReference": "@types/react!~React.CSSProperties:interface" - }, - { - "kind": "Content", - "text": ";" - } - ], - "isReadonly": false, - "isOptional": true, - "releaseTag": "Public", - "name": "sliders", - "propertyTypeTokenRange": { - "startIndex": 1, - "endIndex": 2 - } } ], "extendsTokenRanges": [] diff --git a/packages/fluent/docs/report/fluent.api.md b/packages/fluent/docs/report/fluent.api.md index b72be21..b76143d 100644 --- a/packages/fluent/docs/report/fluent.api.md +++ b/packages/fluent/docs/report/fluent.api.md @@ -90,9 +90,9 @@ export interface ColorPickerProps { // @public (undocumented) export interface ColorPickerStyles { // (undocumented) - slider?: ISliderStyles; + container?: CSSProperties; // (undocumented) - sliders?: CSSProperties; + slider?: ISliderStyles; } // Warning: (ae-missing-release-tag) "FluentTheme" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal) diff --git a/packages/webapp/src/pages/MainPage/components/ControlPanel/ControlPanel.base.tsx b/packages/webapp/src/pages/MainPage/components/ControlPanel/ControlPanel.base.tsx index 4c3ea4e..1a478d9 100644 --- a/packages/webapp/src/pages/MainPage/components/ControlPanel/ControlPanel.base.tsx +++ b/packages/webapp/src/pages/MainPage/components/ControlPanel/ControlPanel.base.tsx @@ -8,7 +8,7 @@ import { EnumDropdown } from '@essex/components' import type { IDropdownOption, ISelectableOption } from '@fluentui/react' import { Dropdown, Position, SpinButton, Toggle } from '@fluentui/react' import { colorBlindnessInfo, ColorBlindnessMode } from '@thematic/color' -import type { Theme, ThemeListing } from '@thematic/core' +import type { ThemeListing } from '@thematic/core' import type { FC } from 'react' import { useCallback, useMemo } from 'react'