@tectra-ng/themes 0.3.2 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
import { TectraColorScale, TectraPrimary, TectraSurface, TectraSurfaceScale } from "@tectra-ng/tokens";
|
|
2
|
+
/** Makes every field of an object type, at any depth, optional; used for preset and style overrides. */
|
|
2
3
|
export type TectraDeepPartial<T> = { [K in keyof T]?: T[K] extends object ? TectraDeepPartial<T[K]> : T[K]; };
|
|
4
|
+
/** Colors of one severity (or the primary color) in a color scheme. */
|
|
3
5
|
export interface TectraSeverityTokens {
|
|
6
|
+
/** Main color: backgrounds of solid buttons and badges. */
|
|
4
7
|
base: string;
|
|
8
|
+
/** Main color on hover. */
|
|
5
9
|
hover: string;
|
|
10
|
+
/** Main color while pressed. */
|
|
6
11
|
active: string;
|
|
12
|
+
/** Text and icon color on top of the main color. */
|
|
7
13
|
contrast: string;
|
|
14
|
+
/** Light tint of the color for soft backgrounds. */
|
|
8
15
|
soft: string;
|
|
9
16
|
}
|
|
17
|
+
/** Semantic colors and shadows of one color scheme: severities, surfaces, text, fields and focus. */
|
|
10
18
|
export interface TectraSemanticTokens {
|
|
19
|
+
/** Primary color, with the text color for soft backgrounds. */
|
|
11
20
|
primary: TectraSeverityTokens & {
|
|
12
21
|
softText: string;
|
|
13
22
|
};
|
|
23
|
+
/** Neutral secondary color of buttons and similar controls, with its border. */
|
|
14
24
|
secondary: {
|
|
15
25
|
base: string;
|
|
16
26
|
hover: string;
|
|
@@ -18,12 +28,19 @@ export interface TectraSemanticTokens {
|
|
|
18
28
|
border: string;
|
|
19
29
|
contrast: string;
|
|
20
30
|
};
|
|
31
|
+
/** Success severity. */
|
|
21
32
|
success: TectraSeverityTokens;
|
|
33
|
+
/** Info severity. */
|
|
22
34
|
info: TectraSeverityTokens;
|
|
35
|
+
/** Warning severity. */
|
|
23
36
|
warn: TectraSeverityTokens;
|
|
37
|
+
/** Danger severity, also used for errors. */
|
|
24
38
|
danger: TectraSeverityTokens;
|
|
39
|
+
/** Help severity. */
|
|
25
40
|
help: TectraSeverityTokens;
|
|
41
|
+
/** High-contrast severity: near black in light mode, near white in dark mode. */
|
|
26
42
|
contrast: TectraSeverityTokens;
|
|
43
|
+
/** Colors of the page, cards, hovered rows, borders and overlays. */
|
|
27
44
|
surface: {
|
|
28
45
|
ground: string;
|
|
29
46
|
card: string;
|
|
@@ -32,12 +49,14 @@ export interface TectraSemanticTokens {
|
|
|
32
49
|
overlay: string;
|
|
33
50
|
overlayBorder: string;
|
|
34
51
|
};
|
|
52
|
+
/** Text colors: primary, hovered, muted and muted on hover. */
|
|
35
53
|
text: {
|
|
36
54
|
primary: string;
|
|
37
55
|
hover: string;
|
|
38
56
|
muted: string;
|
|
39
57
|
mutedHover: string;
|
|
40
58
|
};
|
|
59
|
+
/** Colors of form fields: background, border, text, placeholder and icons. */
|
|
41
60
|
field: {
|
|
42
61
|
background: string;
|
|
43
62
|
disabledBackground: string;
|
|
@@ -47,27 +66,33 @@ export interface TectraSemanticTokens {
|
|
|
47
66
|
placeholder: string;
|
|
48
67
|
icon: string;
|
|
49
68
|
};
|
|
69
|
+
/** Colors of selected items in lists and menus, plain and focused. */
|
|
50
70
|
highlight: {
|
|
51
71
|
background: string;
|
|
52
72
|
focusBackground: string;
|
|
53
73
|
color: string;
|
|
54
74
|
focusColor: string;
|
|
55
75
|
};
|
|
76
|
+
/** Background of a focused list item. */
|
|
56
77
|
list: {
|
|
57
78
|
focusBackground: string;
|
|
58
79
|
};
|
|
80
|
+
/** Color of the backdrop behind modal overlays. */
|
|
59
81
|
mask: {
|
|
60
82
|
background: string;
|
|
61
83
|
};
|
|
84
|
+
/** Color of the keyboard focus ring. */
|
|
62
85
|
focusRing: {
|
|
63
86
|
color: string;
|
|
64
87
|
};
|
|
88
|
+
/** Box shadows of fields, overlays and modals. */
|
|
65
89
|
shadow: {
|
|
66
90
|
field: string;
|
|
67
91
|
overlay: string;
|
|
68
92
|
modal: string;
|
|
69
93
|
};
|
|
70
94
|
}
|
|
95
|
+
/** Default component tokens of every tectra component, by component name; presets override parts of it. */
|
|
71
96
|
export declare const COMPONENT_TOKENS: {
|
|
72
97
|
icon: {
|
|
73
98
|
root: {
|
|
@@ -5088,7 +5113,6 @@ export declare const COMPONENT_TOKENS: {
|
|
|
5088
5113
|
titleColor: string;
|
|
5089
5114
|
titleFontSize: string;
|
|
5090
5115
|
titleFontWeight: string;
|
|
5091
|
-
lineColor: string;
|
|
5092
5116
|
};
|
|
5093
5117
|
legend: {
|
|
5094
5118
|
gap: string;
|
|
@@ -5686,33 +5710,59 @@ export declare const COMPONENT_TOKENS: {
|
|
|
5686
5710
|
};
|
|
5687
5711
|
};
|
|
5688
5712
|
};
|
|
5689
|
-
|
|
5713
|
+
type ComponentTokensShape = typeof COMPONENT_TOKENS;
|
|
5714
|
+
/** Type of `COMPONENT_TOKENS`: the component tokens by component name. */
|
|
5715
|
+
export interface TectraComponentTokens extends ComponentTokensShape {}
|
|
5716
|
+
/** Color scales a preset is built from. */
|
|
5690
5717
|
export interface TectraPalettes {
|
|
5718
|
+
/** Scale of the primary color. */
|
|
5691
5719
|
accent: TectraColorScale;
|
|
5720
|
+
/** Scale of the neutral surface and text colors, with a `0` step for white. */
|
|
5692
5721
|
surface: TectraSurfaceScale;
|
|
5693
5722
|
}
|
|
5723
|
+
/** A complete theme: palettes, semantic tokens of both color schemes, component token overrides and extra CSS. */
|
|
5694
5724
|
export interface TectraPreset {
|
|
5725
|
+
/** Name of the preset, like `soft-blue-ink`. */
|
|
5695
5726
|
name: string;
|
|
5727
|
+
/** Palettes the preset was built from. */
|
|
5696
5728
|
palettes: TectraPalettes;
|
|
5729
|
+
/** Semantic tokens of the light color scheme. */
|
|
5697
5730
|
light: TectraSemanticTokens;
|
|
5731
|
+
/** Semantic tokens of the dark color scheme. */
|
|
5698
5732
|
dark: TectraSemanticTokens;
|
|
5733
|
+
/** Overrides of the component tokens. */
|
|
5699
5734
|
components: TectraDeepPartial<TectraComponentTokens>;
|
|
5735
|
+
/** Extra CSS added after the variables. */
|
|
5700
5736
|
css?: string;
|
|
5701
5737
|
}
|
|
5738
|
+
/** One CSS custom property with its value. */
|
|
5702
5739
|
export interface TectraCssVariable {
|
|
5740
|
+
/** Name with the leading dashes, like `--tx-radius-md`. */
|
|
5703
5741
|
name: string;
|
|
5742
|
+
/** Value as it is written in CSS. */
|
|
5704
5743
|
value: string;
|
|
5705
5744
|
}
|
|
5745
|
+
/** Builds the semantic tokens of the light color scheme from the accent and surface palettes. */
|
|
5706
5746
|
export declare function createLightSemantic({ accent, surface }: TectraPalettes): TectraSemanticTokens;
|
|
5747
|
+
/** Builds the semantic tokens of the dark color scheme from the accent and surface palettes. */
|
|
5707
5748
|
export declare function createDarkSemantic({ accent, surface }: TectraPalettes): TectraSemanticTokens;
|
|
5749
|
+
/** CSS reference to a semantic token, like `var(--tx-surface-card)` for `surface-card`. */
|
|
5708
5750
|
export declare function tokenRef(name: string): string;
|
|
5751
|
+
/** CSS `light-dark()` value that picks the first color in light mode and the second in dark mode. */
|
|
5709
5752
|
export declare function lightDark(light: string, dark: string): string;
|
|
5753
|
+
/** CSS `color-mix()` of a color with a base in sRGB; `amount` is the share of the color, like `8%`. */
|
|
5710
5754
|
export declare function mix(color: string, amount: string, base: string): string;
|
|
5755
|
+
/** CSS color that makes a color transparent by the given share, like `fade(color, '90%')`. */
|
|
5711
5756
|
export declare function fade(color: string, transparency: string): string;
|
|
5757
|
+
/** Returns a copy of a token object with extra tokens added. */
|
|
5712
5758
|
export declare function extendTokens<T extends object, U extends object>(base: T, extra: U): T & U;
|
|
5759
|
+
/** Joins CSS strings into one without a separator. */
|
|
5713
5760
|
export declare function joinCss(...parts: string[]): string;
|
|
5761
|
+
/** Intersection of the token objects in a tuple; the result type of `mergeTokens`. */
|
|
5714
5762
|
type MergedTokens<T extends object[]> = T extends [infer Head, ...infer Rest extends object[]] ? Head & MergedTokens<Rest> : unknown;
|
|
5763
|
+
/** Merges token objects into one; later objects win on the same key (a shallow merge). */
|
|
5715
5764
|
export declare function mergeTokens<T extends object[]>(...parts: T): MergedTokens<T>;
|
|
5765
|
+
/** Design tokens of `txButton`: colors, sizes and spacing of its root, outlined, text and link. */
|
|
5716
5766
|
export declare const buttonTokens: {
|
|
5717
5767
|
root: {
|
|
5718
5768
|
borderRadius: string;
|
|
@@ -5978,7 +6028,13 @@ export declare const buttonTokens: {
|
|
|
5978
6028
|
activeColor: string;
|
|
5979
6029
|
};
|
|
5980
6030
|
};
|
|
5981
|
-
|
|
6031
|
+
type ButtonTokensShape = typeof buttonTokens;
|
|
6032
|
+
/** Type of `buttonTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6033
|
+
export interface TectraButtonTokens extends ButtonTokensShape {}
|
|
6034
|
+
/**
|
|
6035
|
+
* Shared tokens of the text-like form fields (`txInput`, `tx-select`, `tx-datepicker` and others):
|
|
6036
|
+
* background, border, text and placeholder colors in every state, and the focus ring.
|
|
6037
|
+
*/
|
|
5982
6038
|
export declare const formFieldTokens: {
|
|
5983
6039
|
root: {
|
|
5984
6040
|
background: string;
|
|
@@ -6028,7 +6084,10 @@ export declare const formFieldTokens: {
|
|
|
6028
6084
|
transitionDuration: string;
|
|
6029
6085
|
};
|
|
6030
6086
|
};
|
|
6031
|
-
|
|
6087
|
+
type FormFieldTokensShape = typeof formFieldTokens;
|
|
6088
|
+
/** Type of `formFieldTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6089
|
+
export interface TectraFormFieldTokens extends FormFieldTokensShape {}
|
|
6090
|
+
/** Design tokens of `tx-input-group`: colors, sizes and spacing of its addon. */
|
|
6032
6091
|
export declare const inputGroupTokens: {
|
|
6033
6092
|
addon: {
|
|
6034
6093
|
background: string;
|
|
@@ -6039,7 +6098,10 @@ export declare const inputGroupTokens: {
|
|
|
6039
6098
|
minWidth: string;
|
|
6040
6099
|
};
|
|
6041
6100
|
};
|
|
6042
|
-
|
|
6101
|
+
type InputGroupTokensShape = typeof inputGroupTokens;
|
|
6102
|
+
/** Type of `inputGroupTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6103
|
+
export interface TectraInputGroupTokens extends InputGroupTokensShape {}
|
|
6104
|
+
/** Design tokens of `tx-label`: colors, sizes and spacing of its root and subtle. */
|
|
6043
6105
|
export declare const labelTokens: {
|
|
6044
6106
|
root: {
|
|
6045
6107
|
color: string;
|
|
@@ -6056,6 +6118,7 @@ export declare const labelTokens: {
|
|
|
6056
6118
|
fontWeight: string;
|
|
6057
6119
|
};
|
|
6058
6120
|
};
|
|
6121
|
+
/** Design tokens of `tx-float-label`: colors, sizes and spacing of its root, over, in and on. */
|
|
6059
6122
|
export declare const floatLabelTokens: {
|
|
6060
6123
|
root: {
|
|
6061
6124
|
color: string;
|
|
@@ -6094,6 +6157,7 @@ export declare const floatLabelTokens: {
|
|
|
6094
6157
|
};
|
|
6095
6158
|
};
|
|
6096
6159
|
};
|
|
6160
|
+
/** Design tokens of `tx-ifta-label`: colors, sizes and spacing of its root and input. */
|
|
6097
6161
|
export declare const iftaLabelTokens: {
|
|
6098
6162
|
root: {
|
|
6099
6163
|
color: string;
|
|
@@ -6110,9 +6174,19 @@ export declare const iftaLabelTokens: {
|
|
|
6110
6174
|
paddingBottom: string;
|
|
6111
6175
|
};
|
|
6112
6176
|
};
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
export
|
|
6177
|
+
type LabelTokensShape = typeof labelTokens;
|
|
6178
|
+
/** Type of `labelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6179
|
+
export interface TectraLabelTokens extends LabelTokensShape {}
|
|
6180
|
+
type FloatLabelTokensShape = typeof floatLabelTokens;
|
|
6181
|
+
/** Type of `floatLabelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6182
|
+
export interface TectraFloatLabelTokens extends FloatLabelTokensShape {}
|
|
6183
|
+
type IftaLabelTokensShape = typeof iftaLabelTokens;
|
|
6184
|
+
/** Type of `iftaLabelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6185
|
+
export interface TectraIftaLabelTokens extends IftaLabelTokensShape {}
|
|
6186
|
+
/**
|
|
6187
|
+
* Design tokens of `tx-select`, `tx-multiselect` and `tx-autocomplete`: colors, sizes and spacing of its
|
|
6188
|
+
* root, overlay, list, option, checkbox and other parts.
|
|
6189
|
+
*/
|
|
6116
6190
|
export declare const selectTokens: {
|
|
6117
6191
|
root: {
|
|
6118
6192
|
dropdownColor: string;
|
|
@@ -6208,7 +6282,10 @@ export declare const selectTokens: {
|
|
|
6208
6282
|
color: string;
|
|
6209
6283
|
};
|
|
6210
6284
|
};
|
|
6211
|
-
|
|
6285
|
+
type SelectTokensShape = typeof selectTokens;
|
|
6286
|
+
/** Type of `selectTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6287
|
+
export interface TectraSelectTokens extends SelectTokensShape {}
|
|
6288
|
+
/** Design tokens of `tx-listbox`: its colors, sizes and spacing. */
|
|
6212
6289
|
export declare const listboxTokens: {
|
|
6213
6290
|
root: {
|
|
6214
6291
|
background: string;
|
|
@@ -6222,7 +6299,10 @@ export declare const listboxTokens: {
|
|
|
6222
6299
|
disabledColor: string;
|
|
6223
6300
|
};
|
|
6224
6301
|
};
|
|
6225
|
-
|
|
6302
|
+
type ListboxTokensShape = typeof listboxTokens;
|
|
6303
|
+
/** Type of `listboxTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6304
|
+
export interface TectraListboxTokens extends ListboxTokensShape {}
|
|
6305
|
+
/** Design tokens of `tx-chips-input`: its colors, sizes and spacing. */
|
|
6226
6306
|
export declare const chipsInputTokens: {
|
|
6227
6307
|
root: {
|
|
6228
6308
|
gap: string;
|
|
@@ -6233,7 +6313,10 @@ export declare const chipsInputTokens: {
|
|
|
6233
6313
|
inputMinWidth: string;
|
|
6234
6314
|
};
|
|
6235
6315
|
};
|
|
6236
|
-
|
|
6316
|
+
type ChipsInputTokensShape = typeof chipsInputTokens;
|
|
6317
|
+
/** Type of `chipsInputTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6318
|
+
export interface TectraChipsInputTokens extends ChipsInputTokensShape {}
|
|
6319
|
+
/** Design tokens of `tx-country`: its colors, sizes and spacing. */
|
|
6237
6320
|
export declare const countryTokens: {
|
|
6238
6321
|
root: {
|
|
6239
6322
|
gap: string;
|
|
@@ -6250,7 +6333,13 @@ export declare const countryTokens: {
|
|
|
6250
6333
|
countFontSize: string;
|
|
6251
6334
|
};
|
|
6252
6335
|
};
|
|
6253
|
-
|
|
6336
|
+
type CountryTokensShape = typeof countryTokens;
|
|
6337
|
+
/** Type of `countryTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6338
|
+
export interface TectraCountryTokens extends CountryTokensShape {}
|
|
6339
|
+
/**
|
|
6340
|
+
* Design tokens of `tx-color-picker`: colors, sizes and spacing of its root, dot, panel, area, hue and other
|
|
6341
|
+
* parts.
|
|
6342
|
+
*/
|
|
6254
6343
|
export declare const colorPickerTokens: {
|
|
6255
6344
|
root: {
|
|
6256
6345
|
gap: string;
|
|
@@ -6297,7 +6386,10 @@ export declare const colorPickerTokens: {
|
|
|
6297
6386
|
selectedRing: string;
|
|
6298
6387
|
};
|
|
6299
6388
|
};
|
|
6300
|
-
|
|
6389
|
+
type ColorPickerTokensShape = typeof colorPickerTokens;
|
|
6390
|
+
/** Type of `colorPickerTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6391
|
+
export interface TectraColorPickerTokens extends ColorPickerTokensShape {}
|
|
6392
|
+
/** Design tokens of `tx-mention-textarea`: its colors, sizes and spacing. */
|
|
6301
6393
|
export declare const mentionTokens: {
|
|
6302
6394
|
root: {
|
|
6303
6395
|
panelWidth: string;
|
|
@@ -6306,7 +6398,10 @@ export declare const mentionTokens: {
|
|
|
6306
6398
|
descriptionFontSize: string;
|
|
6307
6399
|
};
|
|
6308
6400
|
};
|
|
6309
|
-
|
|
6401
|
+
type MentionTokensShape = typeof mentionTokens;
|
|
6402
|
+
/** Type of `mentionTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6403
|
+
export interface TectraMentionTokens extends MentionTokensShape {}
|
|
6404
|
+
/** Design tokens of `tx-cascade-select`: its colors, sizes and spacing. */
|
|
6310
6405
|
export declare const cascadeSelectTokens: {
|
|
6311
6406
|
root: {
|
|
6312
6407
|
columnWidth: string;
|
|
@@ -6314,7 +6409,10 @@ export declare const cascadeSelectTokens: {
|
|
|
6314
6409
|
groupIconColor: string;
|
|
6315
6410
|
};
|
|
6316
6411
|
};
|
|
6317
|
-
|
|
6412
|
+
type CascadeSelectTokensShape = typeof cascadeSelectTokens;
|
|
6413
|
+
/** Type of `cascadeSelectTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6414
|
+
export interface TectraCascadeSelectTokens extends CascadeSelectTokensShape {}
|
|
6415
|
+
/** Design tokens of `tx-email-suggestion`: its colors, sizes and spacing. */
|
|
6318
6416
|
export declare const emailSuggestionTokens: {
|
|
6319
6417
|
root: {
|
|
6320
6418
|
offset: string;
|
|
@@ -6322,7 +6420,10 @@ export declare const emailSuggestionTokens: {
|
|
|
6322
6420
|
enterDuration: string;
|
|
6323
6421
|
};
|
|
6324
6422
|
};
|
|
6325
|
-
|
|
6423
|
+
type EmailSuggestionTokensShape = typeof emailSuggestionTokens;
|
|
6424
|
+
/** Type of `emailSuggestionTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6425
|
+
export interface TectraEmailSuggestionTokens extends EmailSuggestionTokensShape {}
|
|
6426
|
+
/** Design tokens of `tx-list-input`: colors, sizes and spacing of its root, field, footer, hint and unrecognized. */
|
|
6326
6427
|
export declare const listInputTokens: {
|
|
6327
6428
|
root: {
|
|
6328
6429
|
background: string;
|
|
@@ -6367,7 +6468,13 @@ export declare const listInputTokens: {
|
|
|
6367
6468
|
titleGap: string;
|
|
6368
6469
|
};
|
|
6369
6470
|
};
|
|
6370
|
-
|
|
6471
|
+
type ListInputTokensShape = typeof listInputTokens;
|
|
6472
|
+
/** Type of `listInputTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6473
|
+
export interface TectraListInputTokens extends ListInputTokensShape {}
|
|
6474
|
+
/**
|
|
6475
|
+
* Design tokens of `tx-badge`: colors, sizes and spacing of its root and dot, plus the `sm`, `lg` and `xl`
|
|
6476
|
+
* sizes and the severity variants.
|
|
6477
|
+
*/
|
|
6371
6478
|
export declare const badgeTokens: {
|
|
6372
6479
|
root: {
|
|
6373
6480
|
borderRadius: string;
|
|
@@ -6428,7 +6535,13 @@ export declare const badgeTokens: {
|
|
|
6428
6535
|
color: string;
|
|
6429
6536
|
};
|
|
6430
6537
|
};
|
|
6431
|
-
|
|
6538
|
+
type BadgeTokensShape = typeof badgeTokens;
|
|
6539
|
+
/** Type of `badgeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6540
|
+
export interface TectraBadgeTokens extends BadgeTokensShape {}
|
|
6541
|
+
/**
|
|
6542
|
+
* Design tokens of `tx-message`: colors, sizes and spacing of its root, icon and close button, plus the `sm`
|
|
6543
|
+
* and `lg` sizes and the severity variants.
|
|
6544
|
+
*/
|
|
6432
6545
|
export declare const messageTokens: {
|
|
6433
6546
|
root: {
|
|
6434
6547
|
borderRadius: string;
|
|
@@ -6516,6 +6629,10 @@ export declare const messageTokens: {
|
|
|
6516
6629
|
text: string;
|
|
6517
6630
|
};
|
|
6518
6631
|
};
|
|
6632
|
+
/**
|
|
6633
|
+
* Design tokens of `tx-field-hint` and `tx-field-error`: colors, sizes and spacing of its root, hint and
|
|
6634
|
+
* error, plus the severity variants.
|
|
6635
|
+
*/
|
|
6519
6636
|
export declare const fieldMessageTokens: {
|
|
6520
6637
|
root: {
|
|
6521
6638
|
fontSize: string;
|
|
@@ -6535,8 +6652,13 @@ export declare const fieldMessageTokens: {
|
|
|
6535
6652
|
color: string;
|
|
6536
6653
|
};
|
|
6537
6654
|
};
|
|
6538
|
-
|
|
6539
|
-
|
|
6655
|
+
type MessageTokensShape = typeof messageTokens;
|
|
6656
|
+
/** Type of `messageTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6657
|
+
export interface TectraMessageTokens extends MessageTokensShape {}
|
|
6658
|
+
type FieldMessageTokensShape = typeof fieldMessageTokens;
|
|
6659
|
+
/** Type of `fieldMessageTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6660
|
+
export interface TectraFieldMessageTokens extends FieldMessageTokensShape {}
|
|
6661
|
+
/** Design tokens of `tx-field`: colors, sizes and spacing of its root and horizontal. */
|
|
6540
6662
|
export declare const fieldTokens: {
|
|
6541
6663
|
root: {
|
|
6542
6664
|
gap: string;
|
|
@@ -6547,7 +6669,10 @@ export declare const fieldTokens: {
|
|
|
6547
6669
|
labelPaddingTop: string;
|
|
6548
6670
|
};
|
|
6549
6671
|
};
|
|
6550
|
-
|
|
6672
|
+
type FieldTokensShape = typeof fieldTokens;
|
|
6673
|
+
/** Type of `fieldTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6674
|
+
export interface TectraFieldTokens extends FieldTokensShape {}
|
|
6675
|
+
/** Design tokens of `txTextarea`: colors, sizes and spacing of its root, borderless and counter. */
|
|
6551
6676
|
export declare const textareaTokens: {
|
|
6552
6677
|
root: {
|
|
6553
6678
|
minHeight: string;
|
|
@@ -6563,7 +6688,13 @@ export declare const textareaTokens: {
|
|
|
6563
6688
|
marginTop: string;
|
|
6564
6689
|
};
|
|
6565
6690
|
};
|
|
6566
|
-
|
|
6691
|
+
type TextareaTokensShape = typeof textareaTokens;
|
|
6692
|
+
/** Type of `textareaTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6693
|
+
export interface TectraTextareaTokens extends TextareaTokensShape {}
|
|
6694
|
+
/**
|
|
6695
|
+
* Design tokens of `tx-checkbox`: colors, sizes and spacing of its root, tile and group, plus the `sm` and
|
|
6696
|
+
* `lg` sizes.
|
|
6697
|
+
*/
|
|
6567
6698
|
export declare const checkboxTokens: {
|
|
6568
6699
|
root: {
|
|
6569
6700
|
size: string;
|
|
@@ -6623,7 +6754,13 @@ export declare const checkboxTokens: {
|
|
|
6623
6754
|
selectAllGap: string;
|
|
6624
6755
|
};
|
|
6625
6756
|
};
|
|
6626
|
-
|
|
6757
|
+
type CheckboxTokensShape = typeof checkboxTokens;
|
|
6758
|
+
/** Type of `checkboxTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6759
|
+
export interface TectraCheckboxTokens extends CheckboxTokensShape {}
|
|
6760
|
+
/**
|
|
6761
|
+
* Design tokens of `tx-radio-button`: colors, sizes and spacing of its root, tile and group, plus the `sm`
|
|
6762
|
+
* and `lg` sizes.
|
|
6763
|
+
*/
|
|
6627
6764
|
export declare const radioButtonTokens: {
|
|
6628
6765
|
root: {
|
|
6629
6766
|
size: string;
|
|
@@ -6681,7 +6818,13 @@ export declare const radioButtonTokens: {
|
|
|
6681
6818
|
horizontalGap: string;
|
|
6682
6819
|
};
|
|
6683
6820
|
};
|
|
6684
|
-
|
|
6821
|
+
type RadioButtonTokensShape = typeof radioButtonTokens;
|
|
6822
|
+
/** Type of `radioButtonTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6823
|
+
export interface TectraRadioButtonTokens extends RadioButtonTokensShape {}
|
|
6824
|
+
/**
|
|
6825
|
+
* Design tokens of `tx-toggle-switch`: colors, sizes and spacing of its root and handle, plus the `sm` and
|
|
6826
|
+
* `lg` sizes.
|
|
6827
|
+
*/
|
|
6685
6828
|
export declare const toggleSwitchTokens: {
|
|
6686
6829
|
root: {
|
|
6687
6830
|
width: string;
|
|
@@ -6736,7 +6879,10 @@ export declare const toggleSwitchTokens: {
|
|
|
6736
6879
|
labelFontSize: string;
|
|
6737
6880
|
};
|
|
6738
6881
|
};
|
|
6739
|
-
|
|
6882
|
+
type ToggleSwitchTokensShape = typeof toggleSwitchTokens;
|
|
6883
|
+
/** Type of `toggleSwitchTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6884
|
+
export interface TectraToggleSwitchTokens extends ToggleSwitchTokensShape {}
|
|
6885
|
+
/** Design tokens of `tx-password`: colors, sizes and spacing of its root, panel and meter. */
|
|
6740
6886
|
export declare const passwordTokens: {
|
|
6741
6887
|
root: {
|
|
6742
6888
|
actionGap: string;
|
|
@@ -6762,7 +6908,10 @@ export declare const passwordTokens: {
|
|
|
6762
6908
|
transitionDuration: string;
|
|
6763
6909
|
};
|
|
6764
6910
|
};
|
|
6765
|
-
|
|
6911
|
+
type PasswordTokensShape = typeof passwordTokens;
|
|
6912
|
+
/** Type of `passwordTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6913
|
+
export interface TectraPasswordTokens extends PasswordTokensShape {}
|
|
6914
|
+
/** Design tokens of `tx-input-otp`: its colors, sizes and spacing, plus the `sm` and `lg` sizes. */
|
|
6766
6915
|
export declare const inputOtpTokens: {
|
|
6767
6916
|
root: {
|
|
6768
6917
|
gap: string;
|
|
@@ -6783,7 +6932,10 @@ export declare const inputOtpTokens: {
|
|
|
6783
6932
|
gap: string;
|
|
6784
6933
|
};
|
|
6785
6934
|
};
|
|
6786
|
-
|
|
6935
|
+
type InputOtpTokensShape = typeof inputOtpTokens;
|
|
6936
|
+
/** Type of `inputOtpTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6937
|
+
export interface TectraInputOtpTokens extends InputOtpTokensShape {}
|
|
6938
|
+
/** Design tokens of `tx-input-number`: colors, sizes and spacing of its button. */
|
|
6787
6939
|
export declare const inputNumberTokens: {
|
|
6788
6940
|
button: {
|
|
6789
6941
|
width: string;
|
|
@@ -6798,7 +6950,10 @@ export declare const inputNumberTokens: {
|
|
|
6798
6950
|
iconSize: string;
|
|
6799
6951
|
};
|
|
6800
6952
|
};
|
|
6801
|
-
|
|
6953
|
+
type InputNumberTokensShape = typeof inputNumberTokens;
|
|
6954
|
+
/** Type of `inputNumberTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6955
|
+
export interface TectraInputNumberTokens extends InputNumberTokensShape {}
|
|
6956
|
+
/** Design tokens of `tx-rating`: its colors, sizes and spacing, plus the `sm` and `lg` sizes. */
|
|
6802
6957
|
export declare const ratingTokens: {
|
|
6803
6958
|
root: {
|
|
6804
6959
|
gap: string;
|
|
@@ -6827,7 +6982,10 @@ export declare const ratingTokens: {
|
|
|
6827
6982
|
gap: string;
|
|
6828
6983
|
};
|
|
6829
6984
|
};
|
|
6830
|
-
|
|
6985
|
+
type RatingTokensShape = typeof ratingTokens;
|
|
6986
|
+
/** Type of `ratingTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
6987
|
+
export interface TectraRatingTokens extends RatingTokensShape {}
|
|
6988
|
+
/** Design tokens of `tx-knob`: its colors, sizes and spacing. */
|
|
6831
6989
|
export declare const knobTokens: {
|
|
6832
6990
|
root: {
|
|
6833
6991
|
valueColor: string;
|
|
@@ -6845,7 +7003,10 @@ export declare const knobTokens: {
|
|
|
6845
7003
|
transitionDuration: string;
|
|
6846
7004
|
};
|
|
6847
7005
|
};
|
|
6848
|
-
|
|
7006
|
+
type KnobTokensShape = typeof knobTokens;
|
|
7007
|
+
/** Type of `knobTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7008
|
+
export interface TectraKnobTokens extends KnobTokensShape {}
|
|
7009
|
+
/** Design tokens of `tx-slider`: colors, sizes and spacing of its root, handle and mark. */
|
|
6849
7010
|
export declare const sliderTokens: {
|
|
6850
7011
|
root: {
|
|
6851
7012
|
trackSize: string;
|
|
@@ -6878,7 +7039,10 @@ export declare const sliderTokens: {
|
|
|
6878
7039
|
labelGap: string;
|
|
6879
7040
|
};
|
|
6880
7041
|
};
|
|
6881
|
-
|
|
7042
|
+
type SliderTokensShape = typeof sliderTokens;
|
|
7043
|
+
/** Type of `sliderTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7044
|
+
export interface TectraSliderTokens extends SliderTokensShape {}
|
|
7045
|
+
/** Design tokens of `tx-overlay-badge`: its colors, sizes and spacing. */
|
|
6882
7046
|
export declare const overlayBadgeTokens: {
|
|
6883
7047
|
root: {
|
|
6884
7048
|
ringColor: string;
|
|
@@ -6887,7 +7051,13 @@ export declare const overlayBadgeTokens: {
|
|
|
6887
7051
|
circleOffset: string;
|
|
6888
7052
|
};
|
|
6889
7053
|
};
|
|
6890
|
-
|
|
7054
|
+
type OverlayBadgeTokensShape = typeof overlayBadgeTokens;
|
|
7055
|
+
/** Type of `overlayBadgeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7056
|
+
export interface TectraOverlayBadgeTokens extends OverlayBadgeTokensShape {}
|
|
7057
|
+
/**
|
|
7058
|
+
* Design tokens of `tx-pill`: its colors, sizes and spacing, plus the `sm` and `lg` sizes and the severity
|
|
7059
|
+
* variants.
|
|
7060
|
+
*/
|
|
6891
7061
|
export declare const pillTokens: {
|
|
6892
7062
|
root: {
|
|
6893
7063
|
gap: string;
|
|
@@ -6957,7 +7127,13 @@ export declare const pillTokens: {
|
|
|
6957
7127
|
solidColor: string;
|
|
6958
7128
|
};
|
|
6959
7129
|
};
|
|
6960
|
-
|
|
7130
|
+
type PillTokensShape = typeof pillTokens;
|
|
7131
|
+
/** Type of `pillTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7132
|
+
export interface TectraPillTokens extends PillTokensShape {}
|
|
7133
|
+
/**
|
|
7134
|
+
* Design tokens of `tx-tag`: colors, sizes and spacing of its root and list, plus the `sm` and `lg` sizes and
|
|
7135
|
+
* the severity variants.
|
|
7136
|
+
*/
|
|
6961
7137
|
export declare const tagTokens: {
|
|
6962
7138
|
root: {
|
|
6963
7139
|
gap: string;
|
|
@@ -7025,6 +7201,7 @@ export declare const tagTokens: {
|
|
|
7025
7201
|
emptyColor: string;
|
|
7026
7202
|
};
|
|
7027
7203
|
};
|
|
7204
|
+
/** Design tokens of `tx-chip`: its colors, sizes and spacing. */
|
|
7028
7205
|
export declare const chipTokens: {
|
|
7029
7206
|
root: {
|
|
7030
7207
|
gap: string;
|
|
@@ -7046,8 +7223,16 @@ export declare const chipTokens: {
|
|
|
7046
7223
|
focusRingShadow: string;
|
|
7047
7224
|
};
|
|
7048
7225
|
};
|
|
7049
|
-
|
|
7050
|
-
|
|
7226
|
+
type TagTokensShape = typeof tagTokens;
|
|
7227
|
+
/** Type of `tagTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7228
|
+
export interface TectraTagTokens extends TagTokensShape {}
|
|
7229
|
+
type ChipTokensShape = typeof chipTokens;
|
|
7230
|
+
/** Type of `chipTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7231
|
+
export interface TectraChipTokens extends ChipTokensShape {}
|
|
7232
|
+
/**
|
|
7233
|
+
* Design tokens of `tx-progress-bar`: its colors, sizes and spacing, plus the `sm` and `lg` sizes and the
|
|
7234
|
+
* severity variants.
|
|
7235
|
+
*/
|
|
7051
7236
|
export declare const progressBarTokens: {
|
|
7052
7237
|
root: {
|
|
7053
7238
|
height: string;
|
|
@@ -7075,6 +7260,7 @@ export declare const progressBarTokens: {
|
|
|
7075
7260
|
help: string;
|
|
7076
7261
|
contrast: string;
|
|
7077
7262
|
};
|
|
7263
|
+
/** Design tokens of `tx-progress-spinner`: its colors, sizes and spacing, plus the `sm` and `lg` sizes. */
|
|
7078
7264
|
export declare const progressSpinnerTokens: {
|
|
7079
7265
|
root: {
|
|
7080
7266
|
color: string;
|
|
@@ -7090,8 +7276,13 @@ export declare const progressSpinnerTokens: {
|
|
|
7090
7276
|
size: string;
|
|
7091
7277
|
};
|
|
7092
7278
|
};
|
|
7093
|
-
|
|
7094
|
-
|
|
7279
|
+
type ProgressBarTokensShape = typeof progressBarTokens;
|
|
7280
|
+
/** Type of `progressBarTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7281
|
+
export interface TectraProgressBarTokens extends ProgressBarTokensShape {}
|
|
7282
|
+
type ProgressSpinnerTokensShape = typeof progressSpinnerTokens;
|
|
7283
|
+
/** Type of `progressSpinnerTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7284
|
+
export interface TectraProgressSpinnerTokens extends ProgressSpinnerTokensShape {}
|
|
7285
|
+
/** Design tokens of `tx-skeleton`: colors, sizes and spacing of its root and table. */
|
|
7095
7286
|
export declare const skeletonTokens: {
|
|
7096
7287
|
root: {
|
|
7097
7288
|
background: string;
|
|
@@ -7110,7 +7301,13 @@ export declare const skeletonTokens: {
|
|
|
7110
7301
|
headerBackground: string;
|
|
7111
7302
|
};
|
|
7112
7303
|
};
|
|
7113
|
-
|
|
7304
|
+
type SkeletonTokensShape = typeof skeletonTokens;
|
|
7305
|
+
/** Type of `skeletonTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7306
|
+
export interface TectraSkeletonTokens extends SkeletonTokensShape {}
|
|
7307
|
+
/**
|
|
7308
|
+
* Design tokens of `tx-avatar`: colors, sizes and spacing of its root, group, editor and list, plus the `sm`,
|
|
7309
|
+
* `lg` and `xl` sizes and the tone variants.
|
|
7310
|
+
*/
|
|
7114
7311
|
export declare const avatarTokens: {
|
|
7115
7312
|
root: {
|
|
7116
7313
|
size: string;
|
|
@@ -7197,7 +7394,10 @@ export declare const avatarTokens: {
|
|
|
7197
7394
|
nameColor: string;
|
|
7198
7395
|
};
|
|
7199
7396
|
};
|
|
7200
|
-
|
|
7397
|
+
type AvatarTokensShape = typeof avatarTokens;
|
|
7398
|
+
/** Type of `avatarTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7399
|
+
export interface TectraAvatarTokens extends AvatarTokensShape {}
|
|
7400
|
+
/** Design tokens of `tx-divider`: its colors, sizes and spacing. */
|
|
7201
7401
|
export declare const dividerTokens: {
|
|
7202
7402
|
root: {
|
|
7203
7403
|
color: string;
|
|
@@ -7209,6 +7409,7 @@ export declare const dividerTokens: {
|
|
|
7209
7409
|
contentFontWeight: string;
|
|
7210
7410
|
};
|
|
7211
7411
|
};
|
|
7412
|
+
/** Design tokens of `tx-card`: its colors, sizes and spacing. */
|
|
7212
7413
|
export declare const cardTokens: {
|
|
7213
7414
|
root: {
|
|
7214
7415
|
background: string;
|
|
@@ -7224,6 +7425,7 @@ export declare const cardTokens: {
|
|
|
7224
7425
|
subtitleFontSize: string;
|
|
7225
7426
|
};
|
|
7226
7427
|
};
|
|
7428
|
+
/** Design tokens of `tx-panel`: colors, sizes and spacing of its root, inset and plain. */
|
|
7227
7429
|
export declare const panelTokens: {
|
|
7228
7430
|
root: {
|
|
7229
7431
|
background: string;
|
|
@@ -7253,6 +7455,7 @@ export declare const panelTokens: {
|
|
|
7253
7455
|
iconSize: string;
|
|
7254
7456
|
};
|
|
7255
7457
|
};
|
|
7458
|
+
/** Design tokens of `tx-fieldset`: its colors, sizes and spacing. */
|
|
7256
7459
|
export declare const fieldsetTokens: {
|
|
7257
7460
|
root: {
|
|
7258
7461
|
borderColor: string;
|
|
@@ -7275,10 +7478,19 @@ export declare const fieldsetTokens: {
|
|
|
7275
7478
|
transitionDuration: string;
|
|
7276
7479
|
};
|
|
7277
7480
|
};
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
export
|
|
7281
|
-
|
|
7481
|
+
type DividerTokensShape = typeof dividerTokens;
|
|
7482
|
+
/** Type of `dividerTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7483
|
+
export interface TectraDividerTokens extends DividerTokensShape {}
|
|
7484
|
+
type CardTokensShape = typeof cardTokens;
|
|
7485
|
+
/** Type of `cardTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7486
|
+
export interface TectraCardTokens extends CardTokensShape {}
|
|
7487
|
+
type PanelTokensShape = typeof panelTokens;
|
|
7488
|
+
/** Type of `panelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7489
|
+
export interface TectraPanelTokens extends PanelTokensShape {}
|
|
7490
|
+
type FieldsetTokensShape = typeof fieldsetTokens;
|
|
7491
|
+
/** Type of `fieldsetTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7492
|
+
export interface TectraFieldsetTokens extends FieldsetTokensShape {}
|
|
7493
|
+
/** Design tokens of `tx-highlight-text`: colors, sizes and spacing of its mark. */
|
|
7282
7494
|
export declare const highlightTextTokens: {
|
|
7283
7495
|
mark: {
|
|
7284
7496
|
background: string;
|
|
@@ -7288,6 +7500,7 @@ export declare const highlightTextTokens: {
|
|
|
7288
7500
|
fontWeight: string;
|
|
7289
7501
|
};
|
|
7290
7502
|
};
|
|
7503
|
+
/** Design tokens of `tx-amount`: colors, sizes and spacing of its root and currency. */
|
|
7291
7504
|
export declare const amountTokens: {
|
|
7292
7505
|
root: {
|
|
7293
7506
|
color: string;
|
|
@@ -7304,6 +7517,7 @@ export declare const amountTokens: {
|
|
|
7304
7517
|
fontWeight: string;
|
|
7305
7518
|
};
|
|
7306
7519
|
};
|
|
7520
|
+
/** Design tokens of `tx-status-icon`: its colors, sizes and spacing, plus the severity variants. */
|
|
7307
7521
|
export declare const statusIconTokens: {
|
|
7308
7522
|
root: {
|
|
7309
7523
|
size: string;
|
|
@@ -7326,6 +7540,7 @@ export declare const statusIconTokens: {
|
|
|
7326
7540
|
color: string;
|
|
7327
7541
|
};
|
|
7328
7542
|
};
|
|
7543
|
+
/** Design tokens of `tx-link`: its colors, sizes and spacing. */
|
|
7329
7544
|
export declare const linkTokens: {
|
|
7330
7545
|
root: {
|
|
7331
7546
|
color: string;
|
|
@@ -7342,6 +7557,7 @@ export declare const linkTokens: {
|
|
|
7342
7557
|
focusRingColor: string;
|
|
7343
7558
|
};
|
|
7344
7559
|
};
|
|
7560
|
+
/** Design tokens of `tx-icon-link`: its colors, sizes and spacing. */
|
|
7345
7561
|
export declare const iconLinkTokens: {
|
|
7346
7562
|
root: {
|
|
7347
7563
|
color: string;
|
|
@@ -7359,9 +7575,16 @@ export declare const iconLinkTokens: {
|
|
|
7359
7575
|
focusRingColor: string;
|
|
7360
7576
|
};
|
|
7361
7577
|
};
|
|
7362
|
-
|
|
7363
|
-
|
|
7364
|
-
export
|
|
7578
|
+
type HighlightTextTokensShape = typeof highlightTextTokens;
|
|
7579
|
+
/** Type of `highlightTextTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7580
|
+
export interface TectraHighlightTextTokens extends HighlightTextTokensShape {}
|
|
7581
|
+
type AmountTokensShape = typeof amountTokens;
|
|
7582
|
+
/** Type of `amountTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7583
|
+
export interface TectraAmountTokens extends AmountTokensShape {}
|
|
7584
|
+
type StatusIconTokensShape = typeof statusIconTokens;
|
|
7585
|
+
/** Type of `statusIconTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7586
|
+
export interface TectraStatusIconTokens extends StatusIconTokensShape {}
|
|
7587
|
+
/** Design tokens of `tx-truncate-text`: its colors, sizes and spacing. */
|
|
7365
7588
|
export declare const truncateTextTokens: {
|
|
7366
7589
|
root: {
|
|
7367
7590
|
gap: string;
|
|
@@ -7375,9 +7598,16 @@ export declare const truncateTextTokens: {
|
|
|
7375
7598
|
transitionDuration: string;
|
|
7376
7599
|
};
|
|
7377
7600
|
};
|
|
7378
|
-
|
|
7379
|
-
|
|
7380
|
-
export
|
|
7601
|
+
type LinkTokensShape = typeof linkTokens;
|
|
7602
|
+
/** Type of `linkTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7603
|
+
export interface TectraLinkTokens extends LinkTokensShape {}
|
|
7604
|
+
type TruncateTextTokensShape = typeof truncateTextTokens;
|
|
7605
|
+
/** Type of `truncateTextTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7606
|
+
export interface TectraTruncateTextTokens extends TruncateTextTokensShape {}
|
|
7607
|
+
type IconLinkTokensShape = typeof iconLinkTokens;
|
|
7608
|
+
/** Type of `iconLinkTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7609
|
+
export interface TectraIconLinkTokens extends IconLinkTokensShape {}
|
|
7610
|
+
/** Design tokens of `txTooltip`: colors, sizes and spacing of its root, multiline and arrow. */
|
|
7381
7611
|
export declare const tooltipTokens: {
|
|
7382
7612
|
root: {
|
|
7383
7613
|
background: string;
|
|
@@ -7399,7 +7629,13 @@ export declare const tooltipTokens: {
|
|
|
7399
7629
|
inset: string;
|
|
7400
7630
|
};
|
|
7401
7631
|
};
|
|
7402
|
-
|
|
7632
|
+
type TooltipTokensShape = typeof tooltipTokens;
|
|
7633
|
+
/** Type of `tooltipTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7634
|
+
export interface TectraTooltipTokens extends TooltipTokensShape {}
|
|
7635
|
+
/**
|
|
7636
|
+
* Design tokens of `tx-popover`: colors, sizes and spacing of its root, header, title, content, footer and
|
|
7637
|
+
* other parts.
|
|
7638
|
+
*/
|
|
7403
7639
|
export declare const popoverTokens: {
|
|
7404
7640
|
root: {
|
|
7405
7641
|
background: string;
|
|
@@ -7445,7 +7681,13 @@ export declare const popoverTokens: {
|
|
|
7445
7681
|
color: string;
|
|
7446
7682
|
};
|
|
7447
7683
|
};
|
|
7448
|
-
|
|
7684
|
+
type PopoverTokensShape = typeof popoverTokens;
|
|
7685
|
+
/** Type of `popoverTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7686
|
+
export interface TectraPopoverTokens extends PopoverTokensShape {}
|
|
7687
|
+
/**
|
|
7688
|
+
* Design tokens of `tx-toast`: colors, sizes and spacing of its root, item, icon, text, close button and
|
|
7689
|
+
* other parts, plus the severity variants.
|
|
7690
|
+
*/
|
|
7449
7691
|
export declare const toastTokens: {
|
|
7450
7692
|
root: {
|
|
7451
7693
|
width: string;
|
|
@@ -7523,7 +7765,13 @@ export declare const toastTokens: {
|
|
|
7523
7765
|
tone: string;
|
|
7524
7766
|
};
|
|
7525
7767
|
};
|
|
7526
|
-
|
|
7768
|
+
type ToastTokensShape = typeof toastTokens;
|
|
7769
|
+
/** Type of `toastTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7770
|
+
export interface TectraToastTokens extends ToastTokensShape {}
|
|
7771
|
+
/**
|
|
7772
|
+
* Design tokens of `tx-dialog` and drawers: colors, sizes and spacing of its root, mask, header, title,
|
|
7773
|
+
* subtitle and other parts, plus the `sm`, `md`, `lg` and `xl` sizes.
|
|
7774
|
+
*/
|
|
7527
7775
|
export declare const dialogTokens: {
|
|
7528
7776
|
root: {
|
|
7529
7777
|
background: string;
|
|
@@ -7590,7 +7838,13 @@ export declare const dialogTokens: {
|
|
|
7590
7838
|
footerPadding: string;
|
|
7591
7839
|
};
|
|
7592
7840
|
};
|
|
7593
|
-
|
|
7841
|
+
type DialogTokensShape = typeof dialogTokens;
|
|
7842
|
+
/** Type of `dialogTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7843
|
+
export interface TectraDialogTokens extends DialogTokensShape {}
|
|
7844
|
+
/**
|
|
7845
|
+
* Design tokens of `tx-confirm-dialog` and `tx-confirm-popup`: colors, sizes and spacing of its root, icon,
|
|
7846
|
+
* message and popup, plus the severity variants.
|
|
7847
|
+
*/
|
|
7594
7848
|
export declare const confirmTokens: {
|
|
7595
7849
|
root: {
|
|
7596
7850
|
gap: string;
|
|
@@ -7643,7 +7897,13 @@ export declare const confirmTokens: {
|
|
|
7643
7897
|
background: string;
|
|
7644
7898
|
};
|
|
7645
7899
|
};
|
|
7646
|
-
|
|
7900
|
+
type ConfirmTokensShape = typeof confirmTokens;
|
|
7901
|
+
/** Type of `confirmTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7902
|
+
export interface TectraConfirmTokens extends ConfirmTokensShape {}
|
|
7903
|
+
/**
|
|
7904
|
+
* Design tokens of `tx-menu`: colors, sizes and spacing of its root, item, icon, shortcut, group label and
|
|
7905
|
+
* other parts.
|
|
7906
|
+
*/
|
|
7647
7907
|
export declare const menuTokens: {
|
|
7648
7908
|
root: {
|
|
7649
7909
|
background: string;
|
|
@@ -7724,14 +7984,20 @@ export declare const menuTokens: {
|
|
|
7724
7984
|
fontSize: string;
|
|
7725
7985
|
};
|
|
7726
7986
|
};
|
|
7727
|
-
|
|
7987
|
+
type MenuTokensShape = typeof menuTokens;
|
|
7988
|
+
/** Type of `menuTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7989
|
+
export interface TectraMenuTokens extends MenuTokensShape {}
|
|
7990
|
+
/** Design tokens of `tx-split-button`: its colors, sizes and spacing. */
|
|
7728
7991
|
export declare const splitButtonTokens: {
|
|
7729
7992
|
root: {
|
|
7730
7993
|
dividerColor: string;
|
|
7731
7994
|
dividerWidth: string;
|
|
7732
7995
|
};
|
|
7733
7996
|
};
|
|
7734
|
-
|
|
7997
|
+
type SplitButtonTokensShape = typeof splitButtonTokens;
|
|
7998
|
+
/** Type of `splitButtonTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
7999
|
+
export interface TectraSplitButtonTokens extends SplitButtonTokensShape {}
|
|
8000
|
+
/** Design tokens of `tx-speed-dial`: colors, sizes and spacing of its root and mask. */
|
|
7735
8001
|
export declare const speedDialTokens: {
|
|
7736
8002
|
root: {
|
|
7737
8003
|
gap: string;
|
|
@@ -7742,7 +8008,13 @@ export declare const speedDialTokens: {
|
|
|
7742
8008
|
background: string;
|
|
7743
8009
|
};
|
|
7744
8010
|
};
|
|
7745
|
-
|
|
8011
|
+
type SpeedDialTokensShape = typeof speedDialTokens;
|
|
8012
|
+
/** Type of `speedDialTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8013
|
+
export interface TectraSpeedDialTokens extends SpeedDialTokensShape {}
|
|
8014
|
+
/**
|
|
8015
|
+
* Design tokens of `tx-paginator`: colors, sizes and spacing of its root, nav button, current page report,
|
|
8016
|
+
* jump to page input and total.
|
|
8017
|
+
*/
|
|
7746
8018
|
export declare const paginatorTokens: {
|
|
7747
8019
|
root: {
|
|
7748
8020
|
padding: string;
|
|
@@ -7789,7 +8061,13 @@ export declare const paginatorTokens: {
|
|
|
7789
8061
|
margin: string;
|
|
7790
8062
|
};
|
|
7791
8063
|
};
|
|
7792
|
-
|
|
8064
|
+
type PaginatorTokensShape = typeof paginatorTokens;
|
|
8065
|
+
/** Type of `paginatorTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8066
|
+
export interface TectraPaginatorTokens extends PaginatorTokensShape {}
|
|
8067
|
+
/**
|
|
8068
|
+
* Design tokens of `tx-table`: colors, sizes and spacing of its root, toolbar, scroller, header cell, sort
|
|
8069
|
+
* icon and other parts.
|
|
8070
|
+
*/
|
|
7793
8071
|
export declare const tableTokens: {
|
|
7794
8072
|
root: {
|
|
7795
8073
|
borderColor: string;
|
|
@@ -7972,7 +8250,13 @@ export declare const tableTokens: {
|
|
|
7972
8250
|
actionsPadding: string;
|
|
7973
8251
|
};
|
|
7974
8252
|
};
|
|
7975
|
-
|
|
8253
|
+
type TableTokensShape = typeof tableTokens;
|
|
8254
|
+
/** Type of `tableTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8255
|
+
export interface TectraTableTokens extends TableTokensShape {}
|
|
8256
|
+
/**
|
|
8257
|
+
* Design tokens of `tx-tree`: colors, sizes and spacing of its root, node, node icon, node label, node toggle
|
|
8258
|
+
* button and other parts.
|
|
8259
|
+
*/
|
|
7976
8260
|
export declare const treeTokens: {
|
|
7977
8261
|
root: {
|
|
7978
8262
|
background: string;
|
|
@@ -8041,14 +8325,23 @@ export declare const treeTokens: {
|
|
|
8041
8325
|
easing: string;
|
|
8042
8326
|
};
|
|
8043
8327
|
};
|
|
8044
|
-
|
|
8328
|
+
type TreeTokensShape = typeof treeTokens;
|
|
8329
|
+
/** Type of `treeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8330
|
+
export interface TectraTreeTokens extends TreeTokensShape {}
|
|
8331
|
+
/** Design tokens of `tx-tree-table`: colors, sizes and spacing of its node. */
|
|
8045
8332
|
export declare const treeTableTokens: {
|
|
8046
8333
|
node: {
|
|
8047
8334
|
indent: string;
|
|
8048
8335
|
gap: string;
|
|
8049
8336
|
};
|
|
8050
8337
|
};
|
|
8051
|
-
|
|
8338
|
+
type TreeTableTokensShape = typeof treeTableTokens;
|
|
8339
|
+
/** Type of `treeTableTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8340
|
+
export interface TectraTreeTableTokens extends TreeTableTokensShape {}
|
|
8341
|
+
/**
|
|
8342
|
+
* Design tokens of `tx-data-view`: colors, sizes and spacing of its root, header, footer, empty, loading and
|
|
8343
|
+
* other parts.
|
|
8344
|
+
*/
|
|
8052
8345
|
export declare const dataViewTokens: {
|
|
8053
8346
|
root: {
|
|
8054
8347
|
background: string;
|
|
@@ -8082,7 +8375,10 @@ export declare const dataViewTokens: {
|
|
|
8082
8375
|
gap: string;
|
|
8083
8376
|
};
|
|
8084
8377
|
};
|
|
8085
|
-
|
|
8378
|
+
type DataViewTokensShape = typeof dataViewTokens;
|
|
8379
|
+
/** Type of `dataViewTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8380
|
+
export interface TectraDataViewTokens extends DataViewTokensShape {}
|
|
8381
|
+
/** Design tokens of `tx-virtual-scroller`: colors, sizes and spacing of its root and loader. */
|
|
8086
8382
|
export declare const virtualScrollerTokens: {
|
|
8087
8383
|
root: {
|
|
8088
8384
|
focusRingWidth: string;
|
|
@@ -8095,7 +8391,13 @@ export declare const virtualScrollerTokens: {
|
|
|
8095
8391
|
iconSize: string;
|
|
8096
8392
|
};
|
|
8097
8393
|
};
|
|
8098
|
-
|
|
8394
|
+
type VirtualScrollerTokensShape = typeof virtualScrollerTokens;
|
|
8395
|
+
/** Type of `virtualScrollerTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8396
|
+
export interface TectraVirtualScrollerTokens extends VirtualScrollerTokensShape {}
|
|
8397
|
+
/**
|
|
8398
|
+
* Design tokens of `tx-timeline`: colors, sizes and spacing of its event, horizontal, vertical, event marker
|
|
8399
|
+
* and event connector.
|
|
8400
|
+
*/
|
|
8099
8401
|
export declare const timelineTokens: {
|
|
8100
8402
|
event: {
|
|
8101
8403
|
minHeight: string;
|
|
@@ -8122,7 +8424,10 @@ export declare const timelineTokens: {
|
|
|
8122
8424
|
size: string;
|
|
8123
8425
|
};
|
|
8124
8426
|
};
|
|
8125
|
-
|
|
8427
|
+
type TimelineTokensShape = typeof timelineTokens;
|
|
8428
|
+
/** Type of `timelineTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8429
|
+
export interface TectraTimelineTokens extends TimelineTokensShape {}
|
|
8430
|
+
/** Design tokens of `tx-stat-tiles`: its colors, sizes and spacing, plus the `compact` size. */
|
|
8126
8431
|
export declare const statTilesTokens: {
|
|
8127
8432
|
root: {
|
|
8128
8433
|
gap: string;
|
|
@@ -8133,7 +8438,13 @@ export declare const statTilesTokens: {
|
|
|
8133
8438
|
gap: string;
|
|
8134
8439
|
};
|
|
8135
8440
|
};
|
|
8136
|
-
|
|
8441
|
+
type StatTilesTokensShape = typeof statTilesTokens;
|
|
8442
|
+
/** Type of `statTilesTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8443
|
+
export interface TectraStatTilesTokens extends StatTilesTokensShape {}
|
|
8444
|
+
/**
|
|
8445
|
+
* Design tokens of `tx-stat-tile`: colors, sizes and spacing of its root, icon, label, value, unit and other
|
|
8446
|
+
* parts, plus the `compact` size and the tone variants.
|
|
8447
|
+
*/
|
|
8137
8448
|
export declare const statTileTokens: {
|
|
8138
8449
|
root: {
|
|
8139
8450
|
background: string;
|
|
@@ -8214,7 +8525,10 @@ export declare const statTileTokens: {
|
|
|
8214
8525
|
danger: string;
|
|
8215
8526
|
};
|
|
8216
8527
|
};
|
|
8217
|
-
|
|
8528
|
+
type StatTileTokensShape = typeof statTileTokens;
|
|
8529
|
+
/** Type of `statTileTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8530
|
+
export interface TectraStatTileTokens extends StatTileTokensShape {}
|
|
8531
|
+
/** Design tokens of `tx-sparkline`: its colors, sizes and spacing, plus the tone variants. */
|
|
8218
8532
|
export declare const sparklineTokens: {
|
|
8219
8533
|
root: {
|
|
8220
8534
|
height: string;
|
|
@@ -8229,7 +8543,10 @@ export declare const sparklineTokens: {
|
|
|
8229
8543
|
danger: string;
|
|
8230
8544
|
};
|
|
8231
8545
|
};
|
|
8232
|
-
|
|
8546
|
+
type SparklineTokensShape = typeof sparklineTokens;
|
|
8547
|
+
/** Type of `sparklineTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8548
|
+
export interface TectraSparklineTokens extends SparklineTokensShape {}
|
|
8549
|
+
/** Design tokens of `tx-countdown`: its colors, sizes and spacing. */
|
|
8233
8550
|
export declare const countdownTokens: {
|
|
8234
8551
|
root: {
|
|
8235
8552
|
color: string;
|
|
@@ -8239,7 +8556,13 @@ export declare const countdownTokens: {
|
|
|
8239
8556
|
transitionDuration: string;
|
|
8240
8557
|
};
|
|
8241
8558
|
};
|
|
8242
|
-
|
|
8559
|
+
type CountdownTokensShape = typeof countdownTokens;
|
|
8560
|
+
/** Type of `countdownTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8561
|
+
export interface TectraCountdownTokens extends CountdownTokensShape {}
|
|
8562
|
+
/**
|
|
8563
|
+
* Design tokens of `tx-analog-clock`: colors, sizes and spacing of its root, tick, hour hand, minute hand,
|
|
8564
|
+
* second hand and other parts.
|
|
8565
|
+
*/
|
|
8243
8566
|
export declare const analogClockTokens: {
|
|
8244
8567
|
root: {
|
|
8245
8568
|
size: string;
|
|
@@ -8280,7 +8603,13 @@ export declare const analogClockTokens: {
|
|
|
8280
8603
|
ringColor: string;
|
|
8281
8604
|
};
|
|
8282
8605
|
};
|
|
8283
|
-
|
|
8606
|
+
type AnalogClockTokensShape = typeof analogClockTokens;
|
|
8607
|
+
/** Type of `analogClockTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8608
|
+
export interface TectraAnalogClockTokens extends AnalogClockTokensShape {}
|
|
8609
|
+
/**
|
|
8610
|
+
* Design tokens of `tx-datepicker`: colors, sizes and spacing of its root, panel, header, title, dropdown and
|
|
8611
|
+
* other parts.
|
|
8612
|
+
*/
|
|
8284
8613
|
export declare const datePickerTokens: {
|
|
8285
8614
|
root: {
|
|
8286
8615
|
transitionDuration: string;
|
|
@@ -8427,7 +8756,13 @@ export declare const datePickerTokens: {
|
|
|
8427
8756
|
width: string;
|
|
8428
8757
|
};
|
|
8429
8758
|
};
|
|
8430
|
-
|
|
8759
|
+
type DatePickerTokensShape = typeof datePickerTokens;
|
|
8760
|
+
/** Type of `datePickerTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8761
|
+
export interface TectraDatePickerTokens extends DatePickerTokensShape {}
|
|
8762
|
+
/**
|
|
8763
|
+
* Design tokens of `tx-month-calendar`: colors, sizes and spacing of its root, head, weekday, week, cell and
|
|
8764
|
+
* other parts, plus the tone variants.
|
|
8765
|
+
*/
|
|
8431
8766
|
export declare const monthCalendarTokens: {
|
|
8432
8767
|
root: {
|
|
8433
8768
|
background: string;
|
|
@@ -8514,7 +8849,13 @@ export declare const monthCalendarTokens: {
|
|
|
8514
8849
|
neutral: string;
|
|
8515
8850
|
};
|
|
8516
8851
|
};
|
|
8517
|
-
|
|
8852
|
+
type MonthCalendarTokensShape = typeof monthCalendarTokens;
|
|
8853
|
+
/** Type of `monthCalendarTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8854
|
+
export interface TectraMonthCalendarTokens extends MonthCalendarTokensShape {}
|
|
8855
|
+
/**
|
|
8856
|
+
* Design tokens of `tx-tabs`: colors, sizes and spacing of its root, segmented, pills, raised, line and other
|
|
8857
|
+
* parts.
|
|
8858
|
+
*/
|
|
8518
8859
|
export declare const tabsTokens: {
|
|
8519
8860
|
root: {
|
|
8520
8861
|
transitionDuration: string;
|
|
@@ -8647,7 +8988,13 @@ export declare const tabsTokens: {
|
|
|
8647
8988
|
lineBackground: string;
|
|
8648
8989
|
};
|
|
8649
8990
|
};
|
|
8650
|
-
|
|
8991
|
+
type TabsTokensShape = typeof tabsTokens;
|
|
8992
|
+
/** Type of `tabsTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
8993
|
+
export interface TectraTabsTokens extends TabsTokensShape {}
|
|
8994
|
+
/**
|
|
8995
|
+
* Design tokens of `tx-menubar`: colors, sizes and spacing of its root, item, submenu icon, mobile button and
|
|
8996
|
+
* mobile.
|
|
8997
|
+
*/
|
|
8651
8998
|
export declare const menubarTokens: {
|
|
8652
8999
|
root: {
|
|
8653
9000
|
background: string;
|
|
@@ -8705,7 +9052,10 @@ export declare const menubarTokens: {
|
|
|
8705
9052
|
expandEasing: string;
|
|
8706
9053
|
};
|
|
8707
9054
|
};
|
|
8708
|
-
|
|
9055
|
+
type MenubarTokensShape = typeof menubarTokens;
|
|
9056
|
+
/** Type of `menubarTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9057
|
+
export interface TectraMenubarTokens extends MenubarTokensShape {}
|
|
9058
|
+
/** Design tokens of `tx-splitter`: colors, sizes and spacing of its root, gutter and handle. */
|
|
8709
9059
|
export declare const splitterTokens: {
|
|
8710
9060
|
root: {
|
|
8711
9061
|
background: string;
|
|
@@ -8728,7 +9078,10 @@ export declare const splitterTokens: {
|
|
|
8728
9078
|
focusRingOffset: string;
|
|
8729
9079
|
};
|
|
8730
9080
|
};
|
|
8731
|
-
|
|
9081
|
+
type SplitterTokensShape = typeof splitterTokens;
|
|
9082
|
+
/** Type of `splitterTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9083
|
+
export interface TectraSplitterTokens extends SplitterTokensShape {}
|
|
9084
|
+
/** Design tokens of `tx-scroll-panel`: colors, sizes and spacing of its root and bar. */
|
|
8732
9085
|
export declare const scrollPanelTokens: {
|
|
8733
9086
|
root: {
|
|
8734
9087
|
transitionDuration: string;
|
|
@@ -8745,7 +9098,10 @@ export declare const scrollPanelTokens: {
|
|
|
8745
9098
|
focusRingOffset: string;
|
|
8746
9099
|
};
|
|
8747
9100
|
};
|
|
8748
|
-
|
|
9101
|
+
type ScrollPanelTokensShape = typeof scrollPanelTokens;
|
|
9102
|
+
/** Type of `scrollPanelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9103
|
+
export interface TectraScrollPanelTokens extends ScrollPanelTokensShape {}
|
|
9104
|
+
/** Design tokens of `tx-toolbar`: colors, sizes and spacing of its root and group. */
|
|
8749
9105
|
export declare const toolbarTokens: {
|
|
8750
9106
|
root: {
|
|
8751
9107
|
background: string;
|
|
@@ -8759,7 +9115,13 @@ export declare const toolbarTokens: {
|
|
|
8759
9115
|
gap: string;
|
|
8760
9116
|
};
|
|
8761
9117
|
};
|
|
8762
|
-
|
|
9118
|
+
type ToolbarTokensShape = typeof toolbarTokens;
|
|
9119
|
+
/** Type of `toolbarTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9120
|
+
export interface TectraToolbarTokens extends ToolbarTokensShape {}
|
|
9121
|
+
/**
|
|
9122
|
+
* Design tokens of `tx-file-upload`: colors, sizes and spacing of its root, dropzone, icon, prompt, hint and
|
|
9123
|
+
* other parts.
|
|
9124
|
+
*/
|
|
8763
9125
|
export declare const fileUploadTokens: {
|
|
8764
9126
|
root: {
|
|
8765
9127
|
gap: string;
|
|
@@ -8874,7 +9236,13 @@ export declare const fileUploadTokens: {
|
|
|
8874
9236
|
labelFontSize: string;
|
|
8875
9237
|
};
|
|
8876
9238
|
};
|
|
8877
|
-
|
|
9239
|
+
type FileUploadTokensShape = typeof fileUploadTokens;
|
|
9240
|
+
/** Type of `fileUploadTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9241
|
+
export interface TectraFileUploadTokens extends FileUploadTokensShape {}
|
|
9242
|
+
/**
|
|
9243
|
+
* Design tokens of `tx-editor-content`: colors, sizes and spacing of its root, heading, link, list, task and
|
|
9244
|
+
* other parts.
|
|
9245
|
+
*/
|
|
8878
9246
|
export declare const editorContentTokens: {
|
|
8879
9247
|
root: {
|
|
8880
9248
|
color: string;
|
|
@@ -8977,6 +9345,10 @@ export declare const editorContentTokens: {
|
|
|
8977
9345
|
cellPadding: string;
|
|
8978
9346
|
};
|
|
8979
9347
|
};
|
|
9348
|
+
/**
|
|
9349
|
+
* Design tokens of `tx-editor`: colors, sizes and spacing of its root, toolbar, tool, ai, content and other
|
|
9350
|
+
* parts.
|
|
9351
|
+
*/
|
|
8980
9352
|
export declare const editorTokens: {
|
|
8981
9353
|
root: {
|
|
8982
9354
|
borderRadius: string;
|
|
@@ -9068,8 +9440,16 @@ export declare const editorTokens: {
|
|
|
9068
9440
|
secondaryColor: string;
|
|
9069
9441
|
};
|
|
9070
9442
|
};
|
|
9071
|
-
|
|
9072
|
-
|
|
9443
|
+
type EditorContentTokensShape = typeof editorContentTokens;
|
|
9444
|
+
/** Type of `editorContentTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9445
|
+
export interface TectraEditorContentTokens extends EditorContentTokensShape {}
|
|
9446
|
+
type EditorTokensShape = typeof editorTokens;
|
|
9447
|
+
/** Type of `editorTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9448
|
+
export interface TectraEditorTokens extends EditorTokensShape {}
|
|
9449
|
+
/**
|
|
9450
|
+
* Syntax colors of the code editor and the static code highlight: comments, keywords, strings, numbers and
|
|
9451
|
+
* other token kinds.
|
|
9452
|
+
*/
|
|
9073
9453
|
export declare const codeSyntaxTokens: {
|
|
9074
9454
|
comment: string;
|
|
9075
9455
|
keyword: string;
|
|
@@ -9094,6 +9474,7 @@ export declare const codeSyntaxTokens: {
|
|
|
9094
9474
|
quote: string;
|
|
9095
9475
|
indentGuide: string;
|
|
9096
9476
|
};
|
|
9477
|
+
/** Design tokens of `tx-code-highlight`: colors, sizes and spacing of its root and gutter. */
|
|
9097
9478
|
export declare const codeHighlightTokens: {
|
|
9098
9479
|
root: {
|
|
9099
9480
|
background: string;
|
|
@@ -9117,6 +9498,10 @@ export declare const codeHighlightTokens: {
|
|
|
9117
9498
|
gap: string;
|
|
9118
9499
|
};
|
|
9119
9500
|
};
|
|
9501
|
+
/**
|
|
9502
|
+
* Design tokens of `tx-code-editor`: colors, sizes and spacing of its root, gutter, cursor, selection, active
|
|
9503
|
+
* line and other parts.
|
|
9504
|
+
*/
|
|
9120
9505
|
export declare const codeEditorTokens: {
|
|
9121
9506
|
root: {
|
|
9122
9507
|
background: string;
|
|
@@ -9176,6 +9561,10 @@ export declare const codeEditorTokens: {
|
|
|
9176
9561
|
countFontSize: string;
|
|
9177
9562
|
};
|
|
9178
9563
|
};
|
|
9564
|
+
/**
|
|
9565
|
+
* Design tokens of `tx-code-diff`: colors, sizes and spacing of its root, gutter, syntax, inserted, removed
|
|
9566
|
+
* and other parts.
|
|
9567
|
+
*/
|
|
9179
9568
|
export declare const codeDiffTokens: {
|
|
9180
9569
|
root: {
|
|
9181
9570
|
background: string;
|
|
@@ -9223,10 +9612,22 @@ export declare const codeDiffTokens: {
|
|
|
9223
9612
|
background: string;
|
|
9224
9613
|
};
|
|
9225
9614
|
};
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
export
|
|
9229
|
-
|
|
9615
|
+
type CodeSyntaxTokensShape = typeof codeSyntaxTokens;
|
|
9616
|
+
/** Type of `codeSyntaxTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9617
|
+
export interface TectraCodeSyntaxTokens extends CodeSyntaxTokensShape {}
|
|
9618
|
+
type CodeHighlightTokensShape = typeof codeHighlightTokens;
|
|
9619
|
+
/** Type of `codeHighlightTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9620
|
+
export interface TectraCodeHighlightTokens extends CodeHighlightTokensShape {}
|
|
9621
|
+
type CodeEditorTokensShape = typeof codeEditorTokens;
|
|
9622
|
+
/** Type of `codeEditorTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9623
|
+
export interface TectraCodeEditorTokens extends CodeEditorTokensShape {}
|
|
9624
|
+
type CodeDiffTokensShape = typeof codeDiffTokens;
|
|
9625
|
+
/** Type of `codeDiffTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9626
|
+
export interface TectraCodeDiffTokens extends CodeDiffTokensShape {}
|
|
9627
|
+
/**
|
|
9628
|
+
* Design tokens of `tx-accordion`: colors, sizes and spacing of its root, panel, header and content, plus the
|
|
9629
|
+
* tone variants.
|
|
9630
|
+
*/
|
|
9230
9631
|
export declare const accordionTokens: {
|
|
9231
9632
|
root: {
|
|
9232
9633
|
transitionDuration: string;
|
|
@@ -9291,14 +9692,20 @@ export declare const accordionTokens: {
|
|
|
9291
9692
|
danger: string;
|
|
9292
9693
|
};
|
|
9293
9694
|
};
|
|
9294
|
-
|
|
9695
|
+
type AccordionTokensShape = typeof accordionTokens;
|
|
9696
|
+
/** Type of `accordionTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9697
|
+
export interface TectraAccordionTokens extends AccordionTokensShape {}
|
|
9698
|
+
/** Design tokens of `tx-icon`: its colors, sizes and spacing. */
|
|
9295
9699
|
export declare const iconTokens: {
|
|
9296
9700
|
root: {
|
|
9297
9701
|
size: string;
|
|
9298
9702
|
strokeWidth: string;
|
|
9299
9703
|
};
|
|
9300
9704
|
};
|
|
9301
|
-
|
|
9705
|
+
type IconTokensShape = typeof iconTokens;
|
|
9706
|
+
/** Type of `iconTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9707
|
+
export interface TectraIconTokens extends IconTokensShape {}
|
|
9708
|
+
/** Design tokens of `txRipple`: its colors, sizes and spacing. */
|
|
9302
9709
|
export declare const rippleTokens: {
|
|
9303
9710
|
root: {
|
|
9304
9711
|
color: string;
|
|
@@ -9308,7 +9715,10 @@ export declare const rippleTokens: {
|
|
|
9308
9715
|
easing: string;
|
|
9309
9716
|
};
|
|
9310
9717
|
};
|
|
9311
|
-
|
|
9718
|
+
type RippleTokensShape = typeof rippleTokens;
|
|
9719
|
+
/** Type of `rippleTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9720
|
+
export interface TectraRippleTokens extends RippleTokensShape {}
|
|
9721
|
+
/** Design tokens of `tx-toggle-button`: colors, sizes and spacing of its root, icon and content. */
|
|
9312
9722
|
export declare const toggleButtonTokens: {
|
|
9313
9723
|
root: {
|
|
9314
9724
|
padding: string;
|
|
@@ -9363,48 +9773,100 @@ export declare const toggleButtonTokens: {
|
|
|
9363
9773
|
};
|
|
9364
9774
|
};
|
|
9365
9775
|
};
|
|
9366
|
-
|
|
9776
|
+
type ToggleButtonTokensShape = typeof toggleButtonTokens;
|
|
9777
|
+
/** Type of `toggleButtonTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
9778
|
+
export interface TectraToggleButtonTokens extends ToggleButtonTokensShape {}
|
|
9779
|
+
/** A look for the kit: semantic and component token overrides and optional CSS on top of the default look. */
|
|
9367
9780
|
export interface TectraStyle {
|
|
9781
|
+
/** Name of the style, like `soft`. */
|
|
9368
9782
|
name: string;
|
|
9783
|
+
/** Name of the style to show to people. */
|
|
9369
9784
|
label: string;
|
|
9785
|
+
/** Builds overrides of the light semantic tokens from the palettes. */
|
|
9370
9786
|
light?: (palettes: TectraPalettes) => TectraDeepPartial<TectraSemanticTokens>;
|
|
9787
|
+
/** Builds overrides of the dark semantic tokens from the palettes. */
|
|
9371
9788
|
dark?: (palettes: TectraPalettes) => TectraDeepPartial<TectraSemanticTokens>;
|
|
9789
|
+
/** Overrides of the component tokens. */
|
|
9372
9790
|
components?: TectraDeepPartial<TectraComponentTokens>;
|
|
9791
|
+
/** Extra CSS that goes with the style. */
|
|
9373
9792
|
css?: string;
|
|
9374
9793
|
}
|
|
9794
|
+
/** Relative luminance of a `#rrggbb` color, from 0 (black) to 1 (white). */
|
|
9375
9795
|
export declare function relativeLuminance(hex: string): number;
|
|
9796
|
+
/** Contrast ratio of a `#rrggbb` color against white. */
|
|
9376
9797
|
export declare function contrastWithWhite(hex: string): number;
|
|
9798
|
+
/**
|
|
9799
|
+
* Scale step that is the base of the primary color: `600` when white text on it reaches the 4.5:1 contrast,
|
|
9800
|
+
* else `700`.
|
|
9801
|
+
*/
|
|
9377
9802
|
export declare function primaryBaseStep(scale: TectraColorScale): 600 | 700;
|
|
9803
|
+
/** All built-in styles by name; using it pulls every style into the bundle. */
|
|
9378
9804
|
export declare const TECTRA_STYLES: {
|
|
9379
9805
|
tectra: TectraStyle;
|
|
9380
9806
|
soft: TectraStyle;
|
|
9381
9807
|
edge: TectraStyle;
|
|
9382
9808
|
paper: TectraStyle;
|
|
9383
9809
|
};
|
|
9810
|
+
/** Name of a built-in style. */
|
|
9384
9811
|
export type TectraStyleName = keyof typeof TECTRA_STYLES;
|
|
9812
|
+
/** The default style: the base look with no overrides. */
|
|
9385
9813
|
export declare const tectraStyle: TectraStyle;
|
|
9814
|
+
/**
|
|
9815
|
+
* Soft look: pill buttons, tags and segments, filled borderless fields, tonal secondary buttons, large radii
|
|
9816
|
+
* on cards and overlays, glow focus.
|
|
9817
|
+
*/
|
|
9386
9818
|
export declare const softStyle: TectraStyle;
|
|
9819
|
+
/** Edge look: sharp corners, strong borders and solid selection. */
|
|
9387
9820
|
export declare const edgeStyle: TectraStyle;
|
|
9821
|
+
/** Paper look: filled fields with an underline, elevation shadows and focus halos. */
|
|
9388
9822
|
export declare const paperStyle: TectraStyle;
|
|
9823
|
+
/** Options of `createTectraPreset`: the style, the primary color and the surface palette. */
|
|
9389
9824
|
export interface TectraPresetOptions {
|
|
9825
|
+
/** Style object such as `softStyle` (default `tectraStyle`); pass the object, not its name. */
|
|
9390
9826
|
style?: TectraStyle;
|
|
9827
|
+
/** Primary accent color, or `noir` for a color that follows the surface (default `blue`). */
|
|
9391
9828
|
primary?: TectraPrimary;
|
|
9829
|
+
/** Neutral surface palette (default `ink`). */
|
|
9392
9830
|
surface?: TectraSurface;
|
|
9393
9831
|
}
|
|
9832
|
+
/** Builds the `noir` accent scale from a surface scale, so the primary color is black and white. */
|
|
9394
9833
|
export declare function noirScale(surface: TectraSurfaceScale): TectraColorScale;
|
|
9834
|
+
/** Builds a preset from a style, a primary color and a surface palette. */
|
|
9395
9835
|
export declare function createTectraPreset({ style, primary, surface }?: TectraPresetOptions): TectraPreset;
|
|
9836
|
+
/** Ready preset with the default style, blue primary and ink surface. */
|
|
9396
9837
|
export declare const Tectra: TectraPreset;
|
|
9838
|
+
/** Ready preset with the soft style, blue primary and ink surface. */
|
|
9397
9839
|
export declare const Soft: TectraPreset;
|
|
9840
|
+
/** Ready preset with the edge style, blue primary and ink surface. */
|
|
9398
9841
|
export declare const Edge: TectraPreset;
|
|
9842
|
+
/** Ready preset with the paper style, blue primary and ink surface. */
|
|
9399
9843
|
export declare const Paper: TectraPreset;
|
|
9844
|
+
/** Merges overrides into a base object at any depth, without changing the base; arrays and values replace. */
|
|
9400
9845
|
export declare function deepMerge<T>(base: T, overrides: TectraDeepPartial<T> | undefined): T;
|
|
9846
|
+
/** Creates a preset from a base preset and deep overrides. */
|
|
9401
9847
|
export declare function definePreset(base: TectraPreset, overrides: TectraDeepPartial<TectraPreset>): TectraPreset;
|
|
9848
|
+
/**
|
|
9849
|
+
* Flattens a token object into CSS variables; nested keys join with dashes in kebab case and `root` stands
|
|
9850
|
+
* for the prefix itself (default `--tx`).
|
|
9851
|
+
*/
|
|
9402
9852
|
export declare function toCssVariables(tokens: object, prefix?: string): TectraCssVariable[];
|
|
9853
|
+
/**
|
|
9854
|
+
* Turns a token object into a flat object of CSS variable names and values, for an inline `style` binding;
|
|
9855
|
+
* `{}` when there are no tokens.
|
|
9856
|
+
*/
|
|
9403
9857
|
export declare function toStyleObject(tokens: object | undefined, prefix: string): Record<string, string>;
|
|
9858
|
+
/** CSS variables of one component's tokens, named `--tx-<component>-…`. */
|
|
9404
9859
|
export declare function componentVariables(name: string, tokens: object): TectraCssVariable[];
|
|
9860
|
+
/** CSS rule on `:root` with the variables of one component's tokens. */
|
|
9405
9861
|
export declare function componentTokensCss(name: string, tokens: object): string;
|
|
9862
|
+
/** CSS of a preset without component tokens: shared and semantic variables for light and dark and the extra CSS. */
|
|
9406
9863
|
export declare function presetBaseCss(preset: TectraPreset): string;
|
|
9864
|
+
/** Full CSS of a preset: the base CSS plus the variables of all component tokens with the preset overrides. */
|
|
9407
9865
|
export declare function presetToCss(preset: TectraPreset): string;
|
|
9866
|
+
/**
|
|
9867
|
+
* Design tokens of `tx-stepper`: colors, sizes and spacing of its root, separator, step, step header, step
|
|
9868
|
+
* title and other parts.
|
|
9869
|
+
*/
|
|
9408
9870
|
export declare const stepperTokens: {
|
|
9409
9871
|
root: {
|
|
9410
9872
|
transitionDuration: string;
|
|
@@ -9463,6 +9925,10 @@ export declare const stepperTokens: {
|
|
|
9463
9925
|
indent: string;
|
|
9464
9926
|
};
|
|
9465
9927
|
};
|
|
9928
|
+
/**
|
|
9929
|
+
* Design tokens of `tx-steps`: colors, sizes and spacing of its root, separator, item link, item label, item
|
|
9930
|
+
* number and other parts.
|
|
9931
|
+
*/
|
|
9466
9932
|
export declare const stepsTokens: {
|
|
9467
9933
|
root: {
|
|
9468
9934
|
transitionDuration: string;
|
|
@@ -9537,8 +10003,13 @@ export declare const stepsTokens: {
|
|
|
9537
10003
|
disabledOpacity: string;
|
|
9538
10004
|
};
|
|
9539
10005
|
};
|
|
9540
|
-
|
|
9541
|
-
|
|
10006
|
+
type StepperTokensShape = typeof stepperTokens;
|
|
10007
|
+
/** Type of `stepperTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10008
|
+
export interface TectraStepperTokens extends StepperTokensShape {}
|
|
10009
|
+
type StepsTokensShape = typeof stepsTokens;
|
|
10010
|
+
/** Type of `stepsTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10011
|
+
export interface TectraStepsTokens extends StepsTokensShape {}
|
|
10012
|
+
/** Design tokens of `tx-breadcrumb`: colors, sizes and spacing of its root, item, current, separator and slash. */
|
|
9542
10013
|
export declare const breadcrumbTokens: {
|
|
9543
10014
|
root: {
|
|
9544
10015
|
padding: string;
|
|
@@ -9574,7 +10045,13 @@ export declare const breadcrumbTokens: {
|
|
|
9574
10045
|
fontSize: string;
|
|
9575
10046
|
};
|
|
9576
10047
|
};
|
|
9577
|
-
|
|
10048
|
+
type BreadcrumbTokensShape = typeof breadcrumbTokens;
|
|
10049
|
+
/** Type of `breadcrumbTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10050
|
+
export interface TectraBreadcrumbTokens extends BreadcrumbTokensShape {}
|
|
10051
|
+
/**
|
|
10052
|
+
* Design tokens of `tx-panel-menu`: colors, sizes and spacing of its root, panel, list, item, icon and other
|
|
10053
|
+
* parts.
|
|
10054
|
+
*/
|
|
9578
10055
|
export declare const panelMenuTokens: {
|
|
9579
10056
|
root: {
|
|
9580
10057
|
gap: string;
|
|
@@ -9679,7 +10156,10 @@ export declare const panelMenuTokens: {
|
|
|
9679
10156
|
collapsedLockBackground: string;
|
|
9680
10157
|
};
|
|
9681
10158
|
};
|
|
9682
|
-
|
|
10159
|
+
type PanelMenuTokensShape = typeof panelMenuTokens;
|
|
10160
|
+
/** Type of `panelMenuTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10161
|
+
export interface TectraPanelMenuTokens extends PanelMenuTokensShape {}
|
|
10162
|
+
/** Design tokens of `tx-image`: colors, sizes and spacing of its root, preview, toolbar and action. */
|
|
9683
10163
|
export declare const imageTokens: {
|
|
9684
10164
|
root: {
|
|
9685
10165
|
transitionDuration: string;
|
|
@@ -9715,7 +10195,13 @@ export declare const imageTokens: {
|
|
|
9715
10195
|
focusRingOffset: string;
|
|
9716
10196
|
};
|
|
9717
10197
|
};
|
|
9718
|
-
|
|
10198
|
+
type ImageTokensShape = typeof imageTokens;
|
|
10199
|
+
/** Type of `imageTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10200
|
+
export interface TectraImageTokens extends ImageTokensShape {}
|
|
10201
|
+
/**
|
|
10202
|
+
* Design tokens of `tx-galleria`: colors, sizes and spacing of its root, nav button, thumbnails, thumbnail
|
|
10203
|
+
* nav button, caption and other parts.
|
|
10204
|
+
*/
|
|
9719
10205
|
export declare const galleriaTokens: {
|
|
9720
10206
|
root: {
|
|
9721
10207
|
borderWidth: string;
|
|
@@ -9799,7 +10285,10 @@ export declare const galleriaTokens: {
|
|
|
9799
10285
|
offset: string;
|
|
9800
10286
|
};
|
|
9801
10287
|
};
|
|
9802
|
-
|
|
10288
|
+
type GalleriaTokensShape = typeof galleriaTokens;
|
|
10289
|
+
/** Type of `galleriaTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10290
|
+
export interface TectraGalleriaTokens extends GalleriaTokensShape {}
|
|
10291
|
+
/** Design tokens of `tx-carousel`: colors, sizes and spacing of its root, content, indicator list and indicator. */
|
|
9803
10292
|
export declare const carouselTokens: {
|
|
9804
10293
|
root: {
|
|
9805
10294
|
transitionDuration: string;
|
|
@@ -9826,7 +10315,13 @@ export declare const carouselTokens: {
|
|
|
9826
10315
|
focusRingOffset: string;
|
|
9827
10316
|
};
|
|
9828
10317
|
};
|
|
9829
|
-
|
|
10318
|
+
type CarouselTokensShape = typeof carouselTokens;
|
|
10319
|
+
/** Type of `carouselTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10320
|
+
export interface TectraCarouselTokens extends CarouselTokensShape {}
|
|
10321
|
+
/**
|
|
10322
|
+
* Design tokens of `tx-filters-panel`: colors, sizes and spacing of its root, skeleton, fields, actions,
|
|
10323
|
+
* button and other parts.
|
|
10324
|
+
*/
|
|
9830
10325
|
export declare const filtersPanelTokens: {
|
|
9831
10326
|
root: {
|
|
9832
10327
|
background: string;
|
|
@@ -9932,7 +10427,13 @@ export declare const filtersPanelTokens: {
|
|
|
9932
10427
|
leaveEasing: string;
|
|
9933
10428
|
};
|
|
9934
10429
|
};
|
|
9935
|
-
|
|
10430
|
+
type FiltersPanelTokensShape = typeof filtersPanelTokens;
|
|
10431
|
+
/** Type of `filtersPanelTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10432
|
+
export interface TectraFiltersPanelTokens extends FiltersPanelTokensShape {}
|
|
10433
|
+
/**
|
|
10434
|
+
* Design tokens of `tx-page-header`: colors, sizes and spacing of its root, heading, title, subtitle, actions
|
|
10435
|
+
* and other parts.
|
|
10436
|
+
*/
|
|
9936
10437
|
export declare const pageHeaderTokens: {
|
|
9937
10438
|
root: {
|
|
9938
10439
|
gap: string;
|
|
@@ -9962,7 +10463,13 @@ export declare const pageHeaderTokens: {
|
|
|
9962
10463
|
borderColor: string;
|
|
9963
10464
|
};
|
|
9964
10465
|
};
|
|
9965
|
-
|
|
10466
|
+
type PageHeaderTokensShape = typeof pageHeaderTokens;
|
|
10467
|
+
/** Type of `pageHeaderTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10468
|
+
export interface TectraPageHeaderTokens extends PageHeaderTokensShape {}
|
|
10469
|
+
/**
|
|
10470
|
+
* Design tokens of `tx-empty-state`: colors, sizes and spacing of its root, framed, inset, icon, body and
|
|
10471
|
+
* other parts, plus the `large` and `compact` sizes and the tone variants.
|
|
10472
|
+
*/
|
|
9966
10473
|
export declare const emptyStateTokens: {
|
|
9967
10474
|
root: {
|
|
9968
10475
|
gap: string;
|
|
@@ -10023,7 +10530,10 @@ export declare const emptyStateTokens: {
|
|
|
10023
10530
|
danger: string;
|
|
10024
10531
|
};
|
|
10025
10532
|
};
|
|
10026
|
-
|
|
10533
|
+
type EmptyStateTokensShape = typeof emptyStateTokens;
|
|
10534
|
+
/** Type of `emptyStateTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10535
|
+
export interface TectraEmptyStateTokens extends EmptyStateTokensShape {}
|
|
10536
|
+
/** Design tokens of `tx-app-footer`: colors, sizes and spacing of its root, page, app, console and link. */
|
|
10027
10537
|
export declare const appFooterTokens: {
|
|
10028
10538
|
root: {
|
|
10029
10539
|
borderColor: string;
|
|
@@ -10057,7 +10567,13 @@ export declare const appFooterTokens: {
|
|
|
10057
10567
|
transitionDuration: string;
|
|
10058
10568
|
};
|
|
10059
10569
|
};
|
|
10060
|
-
|
|
10570
|
+
type AppFooterTokensShape = typeof appFooterTokens;
|
|
10571
|
+
/** Type of `appFooterTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10572
|
+
export interface TectraAppFooterTokens extends AppFooterTokensShape {}
|
|
10573
|
+
/**
|
|
10574
|
+
* Design tokens of `tx-console-layout`: colors, sizes and spacing of its root, header, apps, trail, brand and
|
|
10575
|
+
* other parts.
|
|
10576
|
+
*/
|
|
10061
10577
|
export declare const consoleLayoutTokens: {
|
|
10062
10578
|
root: {
|
|
10063
10579
|
background: string;
|
|
@@ -10152,7 +10668,13 @@ export declare const consoleLayoutTokens: {
|
|
|
10152
10668
|
contentDelay: string;
|
|
10153
10669
|
};
|
|
10154
10670
|
};
|
|
10155
|
-
|
|
10671
|
+
type ConsoleLayoutTokensShape = typeof consoleLayoutTokens;
|
|
10672
|
+
/** Type of `consoleLayoutTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10673
|
+
export interface TectraConsoleLayoutTokens extends ConsoleLayoutTokensShape {}
|
|
10674
|
+
/**
|
|
10675
|
+
* Design tokens of `tx-app-layout`: colors, sizes and spacing of its root, topbar, menu button, plain,
|
|
10676
|
+
* sidebar and other parts.
|
|
10677
|
+
*/
|
|
10156
10678
|
export declare const appLayoutTokens: {
|
|
10157
10679
|
root: {
|
|
10158
10680
|
background: string;
|
|
@@ -10231,7 +10753,13 @@ export declare const appLayoutTokens: {
|
|
|
10231
10753
|
noiseSize: string;
|
|
10232
10754
|
};
|
|
10233
10755
|
};
|
|
10234
|
-
|
|
10756
|
+
type AppLayoutTokensShape = typeof appLayoutTokens;
|
|
10757
|
+
/** Type of `appLayoutTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10758
|
+
export interface TectraAppLayoutTokens extends AppLayoutTokensShape {}
|
|
10759
|
+
/**
|
|
10760
|
+
* Design tokens of `tx-wizard-layout`: colors, sizes and spacing of its layout, progress, step head, stage
|
|
10761
|
+
* and footer.
|
|
10762
|
+
*/
|
|
10235
10763
|
export declare const wizardTokens: {
|
|
10236
10764
|
layout: {
|
|
10237
10765
|
background: string;
|
|
@@ -10309,7 +10837,10 @@ export declare const wizardTokens: {
|
|
|
10309
10837
|
borderColor: string;
|
|
10310
10838
|
};
|
|
10311
10839
|
};
|
|
10312
|
-
|
|
10840
|
+
type WizardTokensShape = typeof wizardTokens;
|
|
10841
|
+
/** Type of `wizardTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10842
|
+
export interface TectraWizardTokens extends WizardTokensShape {}
|
|
10843
|
+
/** Design tokens of `tx-pinned-tabs`: colors, sizes and spacing of its root, dialog, option and check. */
|
|
10313
10844
|
export declare const pinnedTabsTokens: {
|
|
10314
10845
|
root: {
|
|
10315
10846
|
gap: string;
|
|
@@ -10351,7 +10882,13 @@ export declare const pinnedTabsTokens: {
|
|
|
10351
10882
|
color: string;
|
|
10352
10883
|
};
|
|
10353
10884
|
};
|
|
10354
|
-
|
|
10885
|
+
type PinnedTabsTokensShape = typeof pinnedTabsTokens;
|
|
10886
|
+
/** Type of `pinnedTabsTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10887
|
+
export interface TectraPinnedTabsTokens extends PinnedTabsTokensShape {}
|
|
10888
|
+
/**
|
|
10889
|
+
* Design tokens of `tx-command-palette`: colors, sizes and spacing of its trigger, overlay, panel, search,
|
|
10890
|
+
* results and other parts.
|
|
10891
|
+
*/
|
|
10355
10892
|
export declare const commandPaletteTokens: {
|
|
10356
10893
|
trigger: {
|
|
10357
10894
|
height: string;
|
|
@@ -10453,7 +10990,13 @@ export declare const commandPaletteTokens: {
|
|
|
10453
10990
|
kbdBackground: string;
|
|
10454
10991
|
};
|
|
10455
10992
|
};
|
|
10456
|
-
|
|
10993
|
+
type CommandPaletteTokensShape = typeof commandPaletteTokens;
|
|
10994
|
+
/** Type of `commandPaletteTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
10995
|
+
export interface TectraCommandPaletteTokens extends CommandPaletteTokensShape {}
|
|
10996
|
+
/**
|
|
10997
|
+
* Design tokens of `tx-kanban`: colors, sizes and spacing of its root, column, handle, list, placeholder and
|
|
10998
|
+
* other parts.
|
|
10999
|
+
*/
|
|
10457
11000
|
export declare const kanbanTokens: {
|
|
10458
11001
|
root: {
|
|
10459
11002
|
gap: string;
|
|
@@ -10512,7 +11055,10 @@ export declare const kanbanTokens: {
|
|
|
10512
11055
|
fadeDuration: string;
|
|
10513
11056
|
};
|
|
10514
11057
|
};
|
|
10515
|
-
|
|
11058
|
+
type KanbanTokensShape = typeof kanbanTokens;
|
|
11059
|
+
/** Type of `kanbanTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11060
|
+
export interface TectraKanbanTokens extends KanbanTokensShape {}
|
|
11061
|
+
/** Design tokens of `tx-actions-menu`: colors, sizes and spacing of its list and item. */
|
|
10516
11062
|
export declare const actionsMenuTokens: {
|
|
10517
11063
|
list: {
|
|
10518
11064
|
gap: string;
|
|
@@ -10537,7 +11083,13 @@ export declare const actionsMenuTokens: {
|
|
|
10537
11083
|
transitionDuration: string;
|
|
10538
11084
|
};
|
|
10539
11085
|
};
|
|
10540
|
-
|
|
11086
|
+
type ActionsMenuTokensShape = typeof actionsMenuTokens;
|
|
11087
|
+
/** Type of `actionsMenuTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11088
|
+
export interface TectraActionsMenuTokens extends ActionsMenuTokensShape {}
|
|
11089
|
+
/**
|
|
11090
|
+
* Design tokens of `tx-action-tile`: colors, sizes and spacing of its root, icon, body, title, text and other
|
|
11091
|
+
* parts.
|
|
11092
|
+
*/
|
|
10541
11093
|
export declare const actionTileTokens: {
|
|
10542
11094
|
root: {
|
|
10543
11095
|
gap: string;
|
|
@@ -10579,7 +11131,10 @@ export declare const actionTileTokens: {
|
|
|
10579
11131
|
hoverShift: string;
|
|
10580
11132
|
};
|
|
10581
11133
|
};
|
|
10582
|
-
|
|
11134
|
+
type ActionTileTokensShape = typeof actionTileTokens;
|
|
11135
|
+
/** Type of `actionTileTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11136
|
+
export interface TectraActionTileTokens extends ActionTileTokensShape {}
|
|
11137
|
+
/** Design tokens of `tx-switch-theme`: colors, sizes and spacing of its root and icon. */
|
|
10583
11138
|
export declare const switchThemeTokens: {
|
|
10584
11139
|
root: {
|
|
10585
11140
|
size: string;
|
|
@@ -10600,7 +11155,10 @@ export declare const switchThemeTokens: {
|
|
|
10600
11155
|
hiddenScale: string;
|
|
10601
11156
|
};
|
|
10602
11157
|
};
|
|
10603
|
-
|
|
11158
|
+
type SwitchThemeTokensShape = typeof switchThemeTokens;
|
|
11159
|
+
/** Type of `switchThemeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11160
|
+
export interface TectraSwitchThemeTokens extends SwitchThemeTokensShape {}
|
|
11161
|
+
/** Design tokens of `tx-switch-language`: colors, sizes and spacing of its root, thumb and option. */
|
|
10604
11162
|
export declare const switchLanguageTokens: {
|
|
10605
11163
|
root: {
|
|
10606
11164
|
height: string;
|
|
@@ -10629,7 +11187,10 @@ export declare const switchLanguageTokens: {
|
|
|
10629
11187
|
transitionDuration: string;
|
|
10630
11188
|
};
|
|
10631
11189
|
};
|
|
10632
|
-
|
|
11190
|
+
type SwitchLanguageTokensShape = typeof switchLanguageTokens;
|
|
11191
|
+
/** Type of `switchLanguageTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11192
|
+
export interface TectraSwitchLanguageTokens extends SwitchLanguageTokensShape {}
|
|
11193
|
+
/** Design tokens of `tx-topbar-preferences`: colors, sizes and spacing of its root, raised, divider and stacked. */
|
|
10633
11194
|
export declare const topbarPreferencesTokens: {
|
|
10634
11195
|
root: {
|
|
10635
11196
|
gap: string;
|
|
@@ -10662,7 +11223,16 @@ export declare const topbarPreferencesTokens: {
|
|
|
10662
11223
|
labelColor: string;
|
|
10663
11224
|
};
|
|
10664
11225
|
};
|
|
10665
|
-
|
|
11226
|
+
type TopbarPreferencesTokensShape = typeof topbarPreferencesTokens;
|
|
11227
|
+
/**
|
|
11228
|
+
* Type of `topbarPreferencesTokens`: the shape of the component tokens that presets and `dt` overrides can
|
|
11229
|
+
* change.
|
|
11230
|
+
*/
|
|
11231
|
+
export interface TectraTopbarPreferencesTokens extends TopbarPreferencesTokensShape {}
|
|
11232
|
+
/**
|
|
11233
|
+
* Design tokens of `tx-public-header`: colors, sizes and spacing of its root, brand, nav, end, toggle and
|
|
11234
|
+
* other parts.
|
|
11235
|
+
*/
|
|
10666
11236
|
export declare const publicHeaderTokens: {
|
|
10667
11237
|
root: {
|
|
10668
11238
|
height: string;
|
|
@@ -10717,7 +11287,13 @@ export declare const publicHeaderTokens: {
|
|
|
10717
11287
|
duration: string;
|
|
10718
11288
|
};
|
|
10719
11289
|
};
|
|
10720
|
-
|
|
11290
|
+
type PublicHeaderTokensShape = typeof publicHeaderTokens;
|
|
11291
|
+
/** Type of `publicHeaderTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11292
|
+
export interface TectraPublicHeaderTokens extends PublicHeaderTokensShape {}
|
|
11293
|
+
/**
|
|
11294
|
+
* Design tokens of `tx-cookie-notice`: colors, sizes and spacing of its root, icon, body, title, text and
|
|
11295
|
+
* other parts.
|
|
11296
|
+
*/
|
|
10721
11297
|
export declare const cookieNoticeTokens: {
|
|
10722
11298
|
root: {
|
|
10723
11299
|
inset: string;
|
|
@@ -10768,7 +11344,13 @@ export declare const cookieNoticeTokens: {
|
|
|
10768
11344
|
leaveDuration: string;
|
|
10769
11345
|
};
|
|
10770
11346
|
};
|
|
10771
|
-
|
|
11347
|
+
type CookieNoticeTokensShape = typeof cookieNoticeTokens;
|
|
11348
|
+
/** Type of `cookieNoticeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11349
|
+
export interface TectraCookieNoticeTokens extends CookieNoticeTokensShape {}
|
|
11350
|
+
/**
|
|
11351
|
+
* Design tokens of `tx-network-status`: colors, sizes and spacing of its root, icon, offline, restored and
|
|
11352
|
+
* motion.
|
|
11353
|
+
*/
|
|
10772
11354
|
export declare const networkStatusTokens: {
|
|
10773
11355
|
root: {
|
|
10774
11356
|
bottom: string;
|
|
@@ -10801,7 +11383,10 @@ export declare const networkStatusTokens: {
|
|
|
10801
11383
|
leaveDuration: string;
|
|
10802
11384
|
};
|
|
10803
11385
|
};
|
|
10804
|
-
|
|
11386
|
+
type NetworkStatusTokensShape = typeof networkStatusTokens;
|
|
11387
|
+
/** Type of `networkStatusTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11388
|
+
export interface TectraNetworkStatusTokens extends NetworkStatusTokensShape {}
|
|
11389
|
+
/** Design tokens of `tx-qr-code`: colors, sizes and spacing of its root and error. */
|
|
10805
11390
|
export declare const qrCodeTokens: {
|
|
10806
11391
|
root: {
|
|
10807
11392
|
color: string;
|
|
@@ -10813,7 +11398,13 @@ export declare const qrCodeTokens: {
|
|
|
10813
11398
|
fontSize: string;
|
|
10814
11399
|
};
|
|
10815
11400
|
};
|
|
10816
|
-
|
|
11401
|
+
type QrCodeTokensShape = typeof qrCodeTokens;
|
|
11402
|
+
/** Type of `qrCodeTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
11403
|
+
export interface TectraQrCodeTokens extends QrCodeTokensShape {}
|
|
11404
|
+
/**
|
|
11405
|
+
* Design tokens of the `@tectra-ng/charts` charts: colors, sizes and spacing of the frame, axes, grid,
|
|
11406
|
+
* legend, tooltip and each chart kind.
|
|
11407
|
+
*/
|
|
10817
11408
|
export declare const chartTokens: {
|
|
10818
11409
|
root: {
|
|
10819
11410
|
fontFamily: string;
|
|
@@ -10850,7 +11441,6 @@ export declare const chartTokens: {
|
|
|
10850
11441
|
titleColor: string;
|
|
10851
11442
|
titleFontSize: string;
|
|
10852
11443
|
titleFontWeight: string;
|
|
10853
|
-
lineColor: string;
|
|
10854
11444
|
};
|
|
10855
11445
|
legend: {
|
|
10856
11446
|
gap: string;
|
|
@@ -11447,7 +12037,10 @@ export declare const chartTokens: {
|
|
|
11447
12037
|
stagger: string;
|
|
11448
12038
|
};
|
|
11449
12039
|
};
|
|
11450
|
-
|
|
12040
|
+
type ChartTokensShape = typeof chartTokens;
|
|
12041
|
+
/** Type of `chartTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
12042
|
+
export interface TectraChartTokens extends ChartTokensShape {}
|
|
12043
|
+
/** Design tokens of `tx-confetti`: colors, sizes and spacing of its piece, colors and motion. */
|
|
11451
12044
|
export declare const confettiTokens: {
|
|
11452
12045
|
piece: {
|
|
11453
12046
|
size: string;
|
|
@@ -11466,7 +12059,10 @@ export declare const confettiTokens: {
|
|
|
11466
12059
|
stagger: string;
|
|
11467
12060
|
};
|
|
11468
12061
|
};
|
|
11469
|
-
|
|
12062
|
+
type ConfettiTokensShape = typeof confettiTokens;
|
|
12063
|
+
/** Type of `confettiTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
12064
|
+
export interface TectraConfettiTokens extends ConfettiTokensShape {}
|
|
12065
|
+
/** Design tokens of `tx-hover-effect`: its colors, sizes and spacing. */
|
|
11470
12066
|
export declare const hoverEffectTokens: {
|
|
11471
12067
|
root: {
|
|
11472
12068
|
perspective: string;
|
|
@@ -11474,7 +12070,10 @@ export declare const hoverEffectTokens: {
|
|
|
11474
12070
|
resetEasing: string;
|
|
11475
12071
|
};
|
|
11476
12072
|
};
|
|
11477
|
-
|
|
12073
|
+
type HoverEffectTokensShape = typeof hoverEffectTokens;
|
|
12074
|
+
/** Type of `hoverEffectTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
12075
|
+
export interface TectraHoverEffectTokens extends HoverEffectTokensShape {}
|
|
12076
|
+
/** Design tokens of `tx-mascot`: its colors, sizes and spacing. */
|
|
11478
12077
|
export declare const mascotTokens: {
|
|
11479
12078
|
root: {
|
|
11480
12079
|
size: string;
|
|
@@ -11484,6 +12083,8 @@ export declare const mascotTokens: {
|
|
|
11484
12083
|
eyeColor: string;
|
|
11485
12084
|
};
|
|
11486
12085
|
};
|
|
11487
|
-
|
|
12086
|
+
type MascotTokensShape = typeof mascotTokens;
|
|
12087
|
+
/** Type of `mascotTokens`: the shape of the component tokens that presets and `dt` overrides can change. */
|
|
12088
|
+
export interface TectraMascotTokens extends MascotTokensShape {}
|
|
11488
12089
|
export {};
|
|
11489
12090
|
//# sourceMappingURL=tectra-ng-themes.d.ts.map
|