This commit is contained in:
Nathan Evans 2022-11-15 17:41:36 -08:00
Родитель cc298d5d23
Коммит b3d63648a8
11 изменённых файлов: 134 добавлений и 134 удалений

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

@ -1,13 +1,13 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [primary](./color.scheme.primary.md)
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [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.
<b>Signature:</b>
```typescript
primary: string;
dataPrimary: string;
```

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

@ -1,11 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [primaryBold](./color.scheme.primarybold.md)
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [dataPrimaryBold](./color.scheme.dataprimarybold.md)
## Scheme.primaryBold property
## Scheme.dataPrimaryBold property
<b>Signature:</b>
```typescript
primaryBold: string;
dataPrimaryBold: string;
```

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

@ -1,11 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [primaryMuted](./color.scheme.primarymuted.md)
[Home](./index.md) &gt; [@thematic/color](./color.md) &gt; [Scheme](./color.scheme.md) &gt; [dataPrimaryMuted](./color.scheme.dataprimarymuted.md)
## Scheme.primaryMuted property
## Scheme.dataPrimaryMuted property
<b>Signature:</b>
```typescript
primaryMuted: string;
dataPrimaryMuted: string;
```

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

@ -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\[\] | |

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

@ -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",

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

@ -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)

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

@ -1,11 +1,11 @@
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [@thematic/fluent](./fluent.md) &gt; [ColorPickerStyles](./fluent.colorpickerstyles.md) &gt; [sliders](./fluent.colorpickerstyles.sliders.md)
[Home](./index.md) &gt; [@thematic/fluent](./fluent.md) &gt; [ColorPickerStyles](./fluent.colorpickerstyles.md) &gt; [container](./fluent.colorpickerstyles.container.md)
## ColorPickerStyles.sliders property
## ColorPickerStyles.container property
<b>Signature:</b>
```typescript
sliders?: CSSProperties;
container?: CSSProperties;
```

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

@ -14,6 +14,6 @@ export interface ColorPickerStyles
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [container?](./fluent.colorpickerstyles.container.md) | | CSSProperties | <i>(Optional)</i> |
| [slider?](./fluent.colorpickerstyles.slider.md) | | ISliderStyles | <i>(Optional)</i> |
| [sliders?](./fluent.colorpickerstyles.sliders.md) | | CSSProperties | <i>(Optional)</i> |

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

@ -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": []

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

@ -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)

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

@ -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'