@elastic/eui-theme-common 10.0.0-snapshot.1789637430607 → 10.0.0-snapshot.1789638901181
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.
- package/lib/cjs/global_styling/variables/borders.d.ts +0 -22
- package/lib/cjs/global_styling/variables/colors.d.ts +0 -9
- package/lib/cjs/global_styling/variables/typography.d.ts +0 -4
- package/lib/esm/global_styling/variables/borders.d.ts +0 -22
- package/lib/esm/global_styling/variables/colors.d.ts +0 -9
- package/lib/esm/global_styling/variables/typography.d.ts +0 -4
- package/package.json +1 -1
- package/src/global_styling/variables/_borders.scss +1 -5
- package/src/global_styling/variables/_form.scss +2 -2
|
@@ -14,37 +14,15 @@ export interface _EuiThemeBorderWidthValues {
|
|
|
14
14
|
}
|
|
15
15
|
export interface _EuiThemeBorderRadiusValues {
|
|
16
16
|
/**
|
|
17
|
-
* @deprecated - use a semantic token instead (e.g. `inline`, `control`, `panel`, or `frame`)
|
|
18
17
|
* Primary corner radius size
|
|
19
18
|
* - Default value: 4px
|
|
20
19
|
*/
|
|
21
20
|
medium: CSSProperties['borderRadius'];
|
|
22
21
|
/**
|
|
23
|
-
* @deprecated - use a semantic token instead (e.g. `inline`, `control`, `panel`, or `frame`)
|
|
24
22
|
* Small corner radius size
|
|
25
23
|
* - Default value: 4px
|
|
26
24
|
*/
|
|
27
25
|
small: CSSProperties['borderRadius'];
|
|
28
|
-
/**
|
|
29
|
-
* Inline or text-adjacent content (e.g. skeleton bars, swatches, inline code)
|
|
30
|
-
* - Default value: 4px
|
|
31
|
-
*/
|
|
32
|
-
inline: CSSProperties['borderRadius'];
|
|
33
|
-
/**
|
|
34
|
-
* Controls and form elements (e.g. buttons, inputs)
|
|
35
|
-
* - Default value: 8px
|
|
36
|
-
*/
|
|
37
|
-
control: CSSProperties['borderRadius'];
|
|
38
|
-
/**
|
|
39
|
-
* Panels, cards, and popovers
|
|
40
|
-
* - Default value: 12px
|
|
41
|
-
*/
|
|
42
|
-
panel: CSSProperties['borderRadius'];
|
|
43
|
-
/**
|
|
44
|
-
* App or layout layer (e.g. framed shell, side nav)
|
|
45
|
-
* - Default value: 16px
|
|
46
|
-
*/
|
|
47
|
-
frame: CSSProperties['borderRadius'];
|
|
48
26
|
}
|
|
49
27
|
export interface _EuiThemeBorderColorValues {
|
|
50
28
|
/**
|
|
@@ -122,7 +122,6 @@ export declare type _EuiThemeTextColors = {
|
|
|
122
122
|
subduedText: ColorModeSwitch;
|
|
123
123
|
/**
|
|
124
124
|
* Computed against `colors.textPrimary`
|
|
125
|
-
* @deprecated - use semantic text or component tokens instead
|
|
126
125
|
*/
|
|
127
126
|
link: ColorModeSwitch;
|
|
128
127
|
textParagraph: ColorModeSwitch;
|
|
@@ -170,14 +169,6 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
170
169
|
backgroundBaseRisk: ColorModeSwitch;
|
|
171
170
|
backgroundBaseDanger: ColorModeSwitch;
|
|
172
171
|
backgroundBaseAssistance: ColorModeSwitch;
|
|
173
|
-
/**
|
|
174
|
-
* Intermediate layer between page layer and raised surfaces.
|
|
175
|
-
* Use sparingly. Prefer `backgroundBasePlain` or `backgroundBaseSubdued` for general UI.
|
|
176
|
-
*/
|
|
177
|
-
backgroundBaseRecessed: ColorModeSwitch;
|
|
178
|
-
/**
|
|
179
|
-
* Secondary or inner surface (e.g. nested steps, secondary nav)
|
|
180
|
-
*/
|
|
181
172
|
backgroundBaseSubdued: ColorModeSwitch;
|
|
182
173
|
backgroundBasePlain: ColorModeSwitch;
|
|
183
174
|
backgroundBaseDisabled: ColorModeSwitch;
|
|
@@ -80,10 +80,6 @@ export interface _EuiThemeTitle {
|
|
|
80
80
|
* A font weight key for setting the base weight for titles and headings
|
|
81
81
|
*/
|
|
82
82
|
weight: keyof _EuiThemeFontWeights;
|
|
83
|
-
/**
|
|
84
|
-
* Letter-spacing applied to titles and headings
|
|
85
|
-
*/
|
|
86
|
-
letterSpacing: CSSProperties['letterSpacing'];
|
|
87
83
|
}
|
|
88
84
|
export declare type _EuiThemeFont = _EuiThemeFontBase & {
|
|
89
85
|
scale: _EuiThemeFontScales;
|
|
@@ -14,37 +14,15 @@ export interface _EuiThemeBorderWidthValues {
|
|
|
14
14
|
}
|
|
15
15
|
export interface _EuiThemeBorderRadiusValues {
|
|
16
16
|
/**
|
|
17
|
-
* @deprecated - use a semantic token instead (e.g. `inline`, `control`, `panel`, or `frame`)
|
|
18
17
|
* Primary corner radius size
|
|
19
18
|
* - Default value: 4px
|
|
20
19
|
*/
|
|
21
20
|
medium: CSSProperties['borderRadius'];
|
|
22
21
|
/**
|
|
23
|
-
* @deprecated - use a semantic token instead (e.g. `inline`, `control`, `panel`, or `frame`)
|
|
24
22
|
* Small corner radius size
|
|
25
23
|
* - Default value: 4px
|
|
26
24
|
*/
|
|
27
25
|
small: CSSProperties['borderRadius'];
|
|
28
|
-
/**
|
|
29
|
-
* Inline or text-adjacent content (e.g. skeleton bars, swatches, inline code)
|
|
30
|
-
* - Default value: 4px
|
|
31
|
-
*/
|
|
32
|
-
inline: CSSProperties['borderRadius'];
|
|
33
|
-
/**
|
|
34
|
-
* Controls and form elements (e.g. buttons, inputs)
|
|
35
|
-
* - Default value: 8px
|
|
36
|
-
*/
|
|
37
|
-
control: CSSProperties['borderRadius'];
|
|
38
|
-
/**
|
|
39
|
-
* Panels, cards, and popovers
|
|
40
|
-
* - Default value: 12px
|
|
41
|
-
*/
|
|
42
|
-
panel: CSSProperties['borderRadius'];
|
|
43
|
-
/**
|
|
44
|
-
* App or layout layer (e.g. framed shell, side nav)
|
|
45
|
-
* - Default value: 16px
|
|
46
|
-
*/
|
|
47
|
-
frame: CSSProperties['borderRadius'];
|
|
48
26
|
}
|
|
49
27
|
export interface _EuiThemeBorderColorValues {
|
|
50
28
|
/**
|
|
@@ -122,7 +122,6 @@ export declare type _EuiThemeTextColors = {
|
|
|
122
122
|
subduedText: ColorModeSwitch;
|
|
123
123
|
/**
|
|
124
124
|
* Computed against `colors.textPrimary`
|
|
125
|
-
* @deprecated - use semantic text or component tokens instead
|
|
126
125
|
*/
|
|
127
126
|
link: ColorModeSwitch;
|
|
128
127
|
textParagraph: ColorModeSwitch;
|
|
@@ -170,14 +169,6 @@ export declare type _EuiThemeBackgroundColors = {
|
|
|
170
169
|
backgroundBaseRisk: ColorModeSwitch;
|
|
171
170
|
backgroundBaseDanger: ColorModeSwitch;
|
|
172
171
|
backgroundBaseAssistance: ColorModeSwitch;
|
|
173
|
-
/**
|
|
174
|
-
* Intermediate layer between page layer and raised surfaces.
|
|
175
|
-
* Use sparingly. Prefer `backgroundBasePlain` or `backgroundBaseSubdued` for general UI.
|
|
176
|
-
*/
|
|
177
|
-
backgroundBaseRecessed: ColorModeSwitch;
|
|
178
|
-
/**
|
|
179
|
-
* Secondary or inner surface (e.g. nested steps, secondary nav)
|
|
180
|
-
*/
|
|
181
172
|
backgroundBaseSubdued: ColorModeSwitch;
|
|
182
173
|
backgroundBasePlain: ColorModeSwitch;
|
|
183
174
|
backgroundBaseDisabled: ColorModeSwitch;
|
|
@@ -80,10 +80,6 @@ export interface _EuiThemeTitle {
|
|
|
80
80
|
* A font weight key for setting the base weight for titles and headings
|
|
81
81
|
*/
|
|
82
82
|
weight: keyof _EuiThemeFontWeights;
|
|
83
|
-
/**
|
|
84
|
-
* Letter-spacing applied to titles and headings
|
|
85
|
-
*/
|
|
86
|
-
letterSpacing: CSSProperties['letterSpacing'];
|
|
87
83
|
}
|
|
88
84
|
export declare type _EuiThemeFont = _EuiThemeFontBase & {
|
|
89
85
|
scale: _EuiThemeFontScales;
|
package/package.json
CHANGED
|
@@ -4,12 +4,8 @@ $euiBorderWidthThin: 1px !default;
|
|
|
4
4
|
$euiBorderWidthThick: 2px !default;
|
|
5
5
|
|
|
6
6
|
$euiBorderColor: $euiColorBorderBaseSubdued !default;
|
|
7
|
-
$euiBorderRadius: $euiSizeS * .
|
|
7
|
+
$euiBorderRadius: $euiSizeS * .75 !default;
|
|
8
8
|
$euiBorderRadiusSmall: $euiSizeS * .5 !default;
|
|
9
|
-
$euiBorderRadiusInline: $euiSizeS * .5 !default;
|
|
10
|
-
$euiBorderRadiusControl: $euiSizeS !default;
|
|
11
|
-
$euiBorderRadiusPanel: $euiSizeS * 1.5 !default;
|
|
12
|
-
$euiBorderRadiusFrame: $euiSize !default;
|
|
13
9
|
$euiBorderThick: $euiBorderWidthThick solid $euiBorderColor !default;
|
|
14
10
|
$euiBorderThin: $euiBorderWidthThin solid $euiBorderColor !default;
|
|
15
11
|
$euiBorderEditable: $euiBorderWidthThick dotted $euiBorderColor !default;
|
|
@@ -4,5 +4,5 @@ $euiFormControlHeight: $euiSizeXXL !default;
|
|
|
4
4
|
$euiFormControlCompressedHeight: $euiSizeXL !default;
|
|
5
5
|
$euiFormControlPadding: $euiSizeM !default;
|
|
6
6
|
$euiFormControlCompressedPadding: $euiSizeS !default;
|
|
7
|
-
$euiFormControlBorderRadius: $
|
|
8
|
-
$euiFormControlCompressedBorderRadius: $
|
|
7
|
+
$euiFormControlBorderRadius: $euiBorderRadius !default;
|
|
8
|
+
$euiFormControlCompressedBorderRadius: $euiBorderRadiusSmall !default;
|