@redocly/theme 0.19.3 → 0.19.4
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/components/Button/Button.js +1 -0
- package/lib/components/Button/styledVariables.js +2 -0
- package/lib/components/Panel/styledVariables.js +1 -0
- package/package.json +1 -1
- package/src/components/Button/Button.tsx +1 -0
- package/src/components/Button/styledVariables.ts +2 -0
- package/src/components/Panel/styledVariables.ts +1 -0
|
@@ -69,6 +69,7 @@ exports.baseButtonStyles = (0, styled_components_1.css) `
|
|
|
69
69
|
font-family: var(--button-font-family);
|
|
70
70
|
font-weight: var(--button-font-weight);
|
|
71
71
|
box-shadow: var(--button-box-shadow);
|
|
72
|
+
text-wrap: var(--button-text-wrap);
|
|
72
73
|
|
|
73
74
|
&:hover {
|
|
74
75
|
box-shadow: var(--button-hover-box-shadow);
|
|
@@ -445,6 +445,7 @@ exports.apiReferencePanels = (0, styled_components_1.css) `
|
|
|
445
445
|
--panel-try-it-action-button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
446
446
|
--panel-try-it-action-button-font-size: var(--panel-font-size); // @presenter FontSize
|
|
447
447
|
--panel-try-it-action-button-text-color: var(--text-light-solid); // @presenter Color
|
|
448
|
+
--panel-try-it-action-button-text-wrap: var(--button-text-wrap);
|
|
448
449
|
--panel-try-it-action-button-background-color: var(--color-primary); // @presenter Color
|
|
449
450
|
--panel-try-it-action-button-border-color: var(--color-primary); // @presenter Color
|
|
450
451
|
|
package/package.json
CHANGED
|
@@ -65,6 +65,7 @@ export const baseButtonStyles = css`
|
|
|
65
65
|
font-family: var(--button-font-family);
|
|
66
66
|
font-weight: var(--button-font-weight);
|
|
67
67
|
box-shadow: var(--button-box-shadow);
|
|
68
|
+
text-wrap: var(--button-text-wrap);
|
|
68
69
|
|
|
69
70
|
&:hover {
|
|
70
71
|
box-shadow: var(--button-hover-box-shadow);
|
|
@@ -444,6 +444,7 @@ export const apiReferencePanels = css`
|
|
|
444
444
|
--panel-try-it-action-button-font-weight: var(--font-weight-bold); // @presenter FontWeight
|
|
445
445
|
--panel-try-it-action-button-font-size: var(--panel-font-size); // @presenter FontSize
|
|
446
446
|
--panel-try-it-action-button-text-color: var(--text-light-solid); // @presenter Color
|
|
447
|
+
--panel-try-it-action-button-text-wrap: var(--button-text-wrap);
|
|
447
448
|
--panel-try-it-action-button-background-color: var(--color-primary); // @presenter Color
|
|
448
449
|
--panel-try-it-action-button-border-color: var(--color-primary); // @presenter Color
|
|
449
450
|
|