@camunda/camunda-composite-components 0.0.21 → 0.0.22
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.
|
@@ -182,7 +182,33 @@ const C3NavigationSideBar = (props) => {
|
|
|
182
182
|
if (sideBar.closeOnClick !== false) {
|
|
183
183
|
setSideBarOpen(false);
|
|
184
184
|
}
|
|
185
|
-
}, tabIndex: itemTabIndex }, element.label)))
|
|
185
|
+
}, tabIndex: itemTabIndex }, element.label))),
|
|
186
|
+
sideBar.type === "info" && sideBar.version !== undefined && (React.createElement(React.Fragment, null,
|
|
187
|
+
React.createElement(SwitcherDivider, null),
|
|
188
|
+
React.createElement("span", { className: "cds--switcher__item", style: {
|
|
189
|
+
padding: "var(--cds-spacing-05)",
|
|
190
|
+
paddingTop: "var(--cds-spacing-03)",
|
|
191
|
+
paddingBottom: 0,
|
|
192
|
+
color: "var(--cds-text-primary)",
|
|
193
|
+
fontSize: "var(--cds-body-01-font-size)",
|
|
194
|
+
fontWeight: "var(--cds-body-01-font-weight)",
|
|
195
|
+
lineHeight: "var(--cds-body-01-line-height)",
|
|
196
|
+
letterSpacing: "var(--cds-body-01-letter-spacing)",
|
|
197
|
+
} },
|
|
198
|
+
"Version ",
|
|
199
|
+
sideBar.version),
|
|
200
|
+
React.createElement("span", { className: "cds--switcher__item", style: {
|
|
201
|
+
paddingRight: "var(--cds-spacing-05)",
|
|
202
|
+
paddingLeft: "var(--cds-spacing-05)",
|
|
203
|
+
color: "var(--cds-text-secondary)",
|
|
204
|
+
fontSize: "var(--cds-label-01-font-size)",
|
|
205
|
+
fontWeight: "var(--cds-label-01-font-weight)",
|
|
206
|
+
lineHeight: "var(--cds-label-01-line-height)",
|
|
207
|
+
letterSpacing: "var(--cds-label-01-letter-spacing)",
|
|
208
|
+
} },
|
|
209
|
+
`© Camunda Services GmbH ${new Date().getFullYear()}`,
|
|
210
|
+
React.createElement("br", null),
|
|
211
|
+
" All rights reserved.")))),
|
|
186
212
|
sideBar.bottomElements &&
|
|
187
213
|
sideBar.bottomElements.map((element) => (React.createElement(Button, { kind: element.kind, key: element.key, className: "cds--switcher__item", renderIcon: element.renderIcon, onClick: () => {
|
|
188
214
|
if (element.onClick) {
|