revdev-components 0.271.0 → 0.272.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.
- package/build/attributor/index.d.ts +1 -0
- package/build/index.js +7 -2
- package/build/styles.css +6 -0
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -6023,13 +6023,18 @@ var AlfaBreadcrumb = function (_a) {
|
|
|
6023
6023
|
}))) : null;
|
|
6024
6024
|
};
|
|
6025
6025
|
|
|
6026
|
-
var s$c = {"root":"index-module_root__UuWET","link":"index-module_link__qD-Ss"};
|
|
6026
|
+
var s$c = {"root":"index-module_root__UuWET","link":"index-module_link__qD-Ss","option":"index-module_option__NMLA4"};
|
|
6027
6027
|
|
|
6028
6028
|
var AlfaAttributor = function (_a) {
|
|
6029
6029
|
var className = _a.className, options = _a.options;
|
|
6030
6030
|
return options.length ? (React.createElement("div", { className: classNames(s$c.root, className) }, options.map(function (_a, i) {
|
|
6031
|
-
var icon = _a.icon, content = _a.content, href = _a.href;
|
|
6031
|
+
var icon = _a.icon, content = _a.content, href = _a.href, label = _a.label;
|
|
6032
6032
|
var result = content;
|
|
6033
|
+
if (label) {
|
|
6034
|
+
result = (React.createElement("div", { className: s$c.option },
|
|
6035
|
+
React.createElement("div", null, "".concat(label, ":")),
|
|
6036
|
+
React.createElement("div", null, result)));
|
|
6037
|
+
}
|
|
6033
6038
|
if (typeof href === "string") {
|
|
6034
6039
|
result = (React.createElement(AppLink, { className: s$c.link, href: href }, content));
|
|
6035
6040
|
}
|
package/build/styles.css
CHANGED
|
@@ -639,6 +639,12 @@ body {
|
|
|
639
639
|
.index-module_link__qD-Ss:hover {
|
|
640
640
|
color: var(--passiveColor) !important;
|
|
641
641
|
}
|
|
642
|
+
|
|
643
|
+
.index-module_option__NMLA4 {
|
|
644
|
+
display: flex;
|
|
645
|
+
flex-direction: row;
|
|
646
|
+
gap: 4px;
|
|
647
|
+
}
|
|
642
648
|
.index-module_options__7cPUT {
|
|
643
649
|
display: flex;
|
|
644
650
|
flex-wrap: wrap;
|