blixify-ui-web 1.2.79 → 1.2.80
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/data/dataTemplate/index.d.ts.map +1 -1
- package/lib/components/data/dataTemplate/index.js +7 -2
- package/lib/components/data/dataTemplate/index.js.map +1 -1
- package/lib/components/data/dataTemplate/model.d.ts +1 -0
- package/lib/components/data/dataTemplate/model.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAkCA,OAAO,KASN,MAAM,OAAO,CAAC;AAwFf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAwD1B,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AAkCA,OAAO,KASN,MAAM,OAAO,CAAC;AAwFf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAwD1B,eAAO,MAAM,YAAY,mFA4oYvB,CAAC"}
|
|
@@ -6608,14 +6608,19 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
|
|
|
6608
6608
|
// inside a modal reads better with a plain button row than a card inside a
|
|
6609
6609
|
// card; tabbed and long forms keep the sticky bar so Submit stays reachable
|
|
6610
6610
|
var handleActionBarClassName = function (justifyEnd) {
|
|
6611
|
-
var _a, _b, _c, _d, _e;
|
|
6611
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
6612
6612
|
var layout = "mt-6 flex flex-row items-center gap-2 whitespace-nowrap".concat(justifyEnd ? " justify-end" : "");
|
|
6613
6613
|
if ((_a = props.bareSettings) === null || _a === void 0 ? void 0 : _a.bareUpdateActionBottom)
|
|
6614
6614
|
return "".concat(layout).concat(((_b = props.organise) === null || _b === void 0 ? void 0 : _b.darkMode) ? " text-white" : "");
|
|
6615
6615
|
var surface = ((_c = props.organise) === null || _c === void 0 ? void 0 : _c.darkMode)
|
|
6616
6616
|
? "border-gray-700 ".concat((_e = (_d = props.organise) === null || _d === void 0 ? void 0 : _d.darkModeBg) !== null && _e !== void 0 ? _e : "bg-gray-900/95", " text-white")
|
|
6617
6617
|
: "border-gray-200 bg-white/95";
|
|
6618
|
-
|
|
6618
|
+
// INFO: bareUpdateActionFloatingOffset replaces the default bottom-3 offset when
|
|
6619
|
+
// provided, so a consumer whose layout has something pinned to the bottom (a mobile
|
|
6620
|
+
// nav, a floating search bar) can lift the pill clear of it. Any Tailwind bottom-*
|
|
6621
|
+
// utility works, e.g. "bottom-24".
|
|
6622
|
+
var offset = (_g = (_f = props.bareSettings) === null || _f === void 0 ? void 0 : _f.bareUpdateFloatingActionOffset) !== null && _g !== void 0 ? _g : "bottom-3";
|
|
6623
|
+
return "sticky ".concat(offset, " z-20 -mx-2 ").concat(layout, " rounded-2xl border ").concat(surface, " px-3 py-2 shadow-lg backdrop-blur sm:mx-0 sm:px-4");
|
|
6619
6624
|
};
|
|
6620
6625
|
var renderStepBar = function (uniqueTabIds) {
|
|
6621
6626
|
var _a, _b, _c, _d, _e, _f, _g, _h;
|