vira 29.7.1 → 29.7.3
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.
|
@@ -122,11 +122,12 @@ export const ViraTag = defineViraElement()({
|
|
|
122
122
|
},
|
|
123
123
|
styles: ({ cssVars, hostClasses }) => css `
|
|
124
124
|
:host {
|
|
125
|
-
display: flex;
|
|
125
|
+
display: inline-flex;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
button {
|
|
129
129
|
${noNativeFormStyles}
|
|
130
|
+
flex-shrink: 0;
|
|
130
131
|
cursor: pointer;
|
|
131
132
|
display: flex;
|
|
132
133
|
align-items: center;
|
|
@@ -19,9 +19,9 @@ export declare const viraFormCssVars: import("lit-css-vars").CssVarDefinitions<{
|
|
|
19
19
|
readonly 'vira-form-error-active-color': import("element-vir").CSSResult;
|
|
20
20
|
readonly 'vira-form-success-color': import("element-vir").CSSResult;
|
|
21
21
|
readonly 'vira-form-label-font-weight': "bold";
|
|
22
|
-
readonly 'vira-form-small-text-size': "
|
|
22
|
+
readonly 'vira-form-small-text-size': "14px";
|
|
23
23
|
readonly 'vira-form-medium-text-size': "16px";
|
|
24
|
-
readonly 'vira-form-large-text-size': "
|
|
24
|
+
readonly 'vira-form-large-text-size': "22px";
|
|
25
25
|
readonly 'vira-form-radius': "8px";
|
|
26
26
|
readonly 'vira-form-wrapper-radius': "16px";
|
|
27
27
|
readonly 'vira-form-focus-outline-color': import("element-vir").CSSResult;
|
|
@@ -25,9 +25,9 @@ export const viraFormCssVars = defineCssVars({
|
|
|
25
25
|
'vira-form-error-active-color': viraTheme.colors['vira-red-behind-bg-body'].background.value,
|
|
26
26
|
'vira-form-success-color': viraTheme.colors['vira-green-behind-bg-non-body'].background.value,
|
|
27
27
|
'vira-form-label-font-weight': 'bold',
|
|
28
|
-
'vira-form-small-text-size': '
|
|
28
|
+
'vira-form-small-text-size': '14px',
|
|
29
29
|
'vira-form-medium-text-size': '16px',
|
|
30
|
-
'vira-form-large-text-size': '
|
|
30
|
+
'vira-form-large-text-size': '22px',
|
|
31
31
|
'vira-form-radius': defaultViraFormRadius,
|
|
32
32
|
'vira-form-wrapper-radius': '16px',
|
|
33
33
|
'vira-form-focus-outline-color': viraTheme.colors['vira-blue-foreground-header'].foreground.value,
|
|
@@ -63,7 +63,7 @@ export declare enum ViraSize {
|
|
|
63
63
|
*
|
|
64
64
|
* @category Internal
|
|
65
65
|
*/
|
|
66
|
-
export declare const viraSizeVariants: readonly [ViraSize.
|
|
66
|
+
export declare const viraSizeVariants: readonly [ViraSize.Small, ViraSize.Medium, ViraSize.Large];
|
|
67
67
|
/**
|
|
68
68
|
* All available variants for controlling vira form emphasis.
|
|
69
69
|
*
|