@shtabapp/ui-kit 1.85.2 → 1.85.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## [@shtabapp/ui-kit-v1.85.3](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit@1.85.2...@shtabapp/ui-kit@1.85.3) (2026-10-29)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **list-item:** слоты, добавленные после монтирования, снова рисуются ([724261a](https://gitlab.com/mstikharev/shtab-ui-kit/commit/724261acc77079fab51591f5a031ce188481de30))
|
|
6
|
+
|
|
1
7
|
## [@shtabapp/ui-kit-v1.85.2](https://gitlab.com/mstikharev/shtab-ui-kit/compare/@shtabapp/ui-kit@1.85.1...@shtabapp/ui-kit@1.85.2) (2026-10-29)
|
|
2
8
|
|
|
3
9
|
### Bug Fixes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SListItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SListItem/SListItem.vue"],"names":[],"mappings":"AAsdA,OAAO,EAGL,KAAK,yBAAyB,EAC9B,KAAK,eAAe,EAErB,MAAM,mBAAmB,CAAA;AAyC1B,KAAK,WAAW,GAAG;IACjB,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB,WAAW,CAAC,EAAE,MAAM,OAAO,CAAA;IAC3B,KAAK,CAAC,EAAE,MAAM,OAAO,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAA;IACxB,cAAc,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IAClE,QAAQ,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IAC5D,KAAK,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;IACzD,YAAY,CAAC,EAAE,CAAC,SAAS,EAAE,yBAAyB,KAAK,OAAO,CAAA;CACjE,CAAC;AA6gBF,QAAA,MAAM,UAAU;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -168,11 +168,11 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vu
|
|
|
168
168
|
const resolvedIconOnly = (0, vue.computed)(() => __props.iconOnly || Boolean(listContext?.iconOnly()));
|
|
169
169
|
/** В режиме только иконки остаются иконка и правая колонка — уголком над ней; прочие зоны не рисуются. */
|
|
170
170
|
const showsOutsideIconOnly = (shown) => !resolvedIconOnly.value && Boolean(shown);
|
|
171
|
-
const hasLevelColumn = (
|
|
172
|
-
const hasTitleAction = (
|
|
173
|
-
const hasTrailing = (
|
|
174
|
-
const hasActionEnd = (
|
|
175
|
-
const hasActions = (
|
|
171
|
+
const hasLevelColumn = () => showsOutsideIconOnly(__props.expandable || __props.depth || __props.hasLevel || slots.level);
|
|
172
|
+
const hasTitleAction = () => showsOutsideIconOnly(slots["title-action"]);
|
|
173
|
+
const hasTrailing = () => showsOutsideIconOnly(slots.trailing);
|
|
174
|
+
const hasActionEnd = () => showsOutsideIconOnly(slots["action-end"]);
|
|
175
|
+
const hasActions = () => hasTrailing() || Boolean(slots.right) || hasActionEnd();
|
|
176
176
|
const resolvedRevealRight = (0, vue.computed)(() => {
|
|
177
177
|
if (resolvedIconOnly.value) return false;
|
|
178
178
|
if (__props.revealRight) return true;
|
|
@@ -301,7 +301,7 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vu
|
|
|
301
301
|
key: 0,
|
|
302
302
|
type: (0, vue.unref)(_shtabapp_ui_kit_primitives.ESSkeletonType).S_LIST_ITEM
|
|
303
303
|
}, null, 8, ["type"])) : ((0, vue.openBlock)(), (0, vue.createElementBlock)(vue.Fragment, { key: 1 }, [
|
|
304
|
-
hasLevelColumn
|
|
304
|
+
hasLevelColumn() ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_2, [(0, vue.renderSlot)(_ctx.$slots, "level", {}, () => [__props.expandable ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(require_SButton.default), {
|
|
305
305
|
key: 0,
|
|
306
306
|
class: (0, vue.normalizeClass)(["s-ui-list-item__expand", { "s-ui-list-item__expand--expanded": resolvedExpanded.value }]),
|
|
307
307
|
appearance: (0, vue.unref)(require_SButton_types.EButtonAppearance).BARE,
|
|
@@ -332,12 +332,12 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ (0, vu
|
|
|
332
332
|
"billing"
|
|
333
333
|
])) : (0, vue.createCommentVNode)("", true)])])) : (0, vue.createCommentVNode)("", true),
|
|
334
334
|
(0, vue.createElementVNode)("div", _hoisted_5, [__props.title || (0, vue.unref)(slots).title ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_6, [(0, vue.renderSlot)(_ctx.$slots, "title", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.title), 1)])])) : (0, vue.createCommentVNode)("", true), __props.subtitle || (0, vue.unref)(slots).subtitle ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", _hoisted_7, [(0, vue.renderSlot)(_ctx.$slots, "subtitle", {}, () => [(0, vue.createTextVNode)((0, vue.toDisplayString)(__props.subtitle), 1)])])) : (0, vue.createCommentVNode)("", true)]),
|
|
335
|
-
hasTitleAction
|
|
335
|
+
hasTitleAction() ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_8, [(0, vue.renderSlot)(_ctx.$slots, "title-action", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(actionSlotProps.value)))])) : (0, vue.createCommentVNode)("", true)
|
|
336
336
|
]),
|
|
337
|
-
hasActions
|
|
338
|
-
hasTrailing
|
|
337
|
+
hasActions() ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_9, [(0, vue.createElementVNode)("div", _hoisted_10, [(0, vue.createElementVNode)("div", _hoisted_11, [
|
|
338
|
+
hasTrailing() ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_12, [(0, vue.renderSlot)(_ctx.$slots, "trailing", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(actionSlotProps.value)))])) : (0, vue.createCommentVNode)("", true),
|
|
339
339
|
(0, vue.renderSlot)(_ctx.$slots, "right", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(actionSlotProps.value))),
|
|
340
|
-
hasActionEnd
|
|
340
|
+
hasActionEnd() ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("div", _hoisted_13, [(0, vue.renderSlot)(_ctx.$slots, "action-end", (0, vue.normalizeProps)((0, vue.guardReactiveProps)(actionSlotProps.value)))])) : (0, vue.createCommentVNode)("", true)
|
|
341
341
|
])])])) : (0, vue.createCommentVNode)("", true)
|
|
342
342
|
], 64))], 16, _hoisted_1);
|
|
343
343
|
};
|
|
@@ -168,11 +168,11 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
168
168
|
const resolvedIconOnly = computed(() => __props.iconOnly || Boolean(listContext?.iconOnly()));
|
|
169
169
|
/** В режиме только иконки остаются иконка и правая колонка — уголком над ней; прочие зоны не рисуются. */
|
|
170
170
|
const showsOutsideIconOnly = (shown) => !resolvedIconOnly.value && Boolean(shown);
|
|
171
|
-
const hasLevelColumn =
|
|
172
|
-
const hasTitleAction =
|
|
173
|
-
const hasTrailing =
|
|
174
|
-
const hasActionEnd =
|
|
175
|
-
const hasActions =
|
|
171
|
+
const hasLevelColumn = () => showsOutsideIconOnly(__props.expandable || __props.depth || __props.hasLevel || slots.level);
|
|
172
|
+
const hasTitleAction = () => showsOutsideIconOnly(slots["title-action"]);
|
|
173
|
+
const hasTrailing = () => showsOutsideIconOnly(slots.trailing);
|
|
174
|
+
const hasActionEnd = () => showsOutsideIconOnly(slots["action-end"]);
|
|
175
|
+
const hasActions = () => hasTrailing() || Boolean(slots.right) || hasActionEnd();
|
|
176
176
|
const resolvedRevealRight = computed(() => {
|
|
177
177
|
if (resolvedIconOnly.value) return false;
|
|
178
178
|
if (__props.revealRight) return true;
|
|
@@ -301,7 +301,7 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
301
301
|
key: 0,
|
|
302
302
|
type: unref(ESSkeletonType).S_LIST_ITEM
|
|
303
303
|
}, null, 8, ["type"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
304
|
-
hasLevelColumn
|
|
304
|
+
hasLevelColumn() ? (openBlock(), createElementBlock("div", _hoisted_2, [renderSlot(_ctx.$slots, "level", {}, () => [__props.expandable ? (openBlock(), createBlock(unref(SButton_default), {
|
|
305
305
|
key: 0,
|
|
306
306
|
class: normalizeClass(["s-ui-list-item__expand", { "s-ui-list-item__expand--expanded": resolvedExpanded.value }]),
|
|
307
307
|
appearance: unref(EButtonAppearance).BARE,
|
|
@@ -332,12 +332,12 @@ var SListItem_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
|
|
|
332
332
|
"billing"
|
|
333
333
|
])) : createCommentVNode("", true)])])) : createCommentVNode("", true),
|
|
334
334
|
createElementVNode("div", _hoisted_5, [__props.title || unref(slots).title ? (openBlock(), createElementBlock("span", _hoisted_6, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])])) : createCommentVNode("", true), __props.subtitle || unref(slots).subtitle ? (openBlock(), createElementBlock("span", _hoisted_7, [renderSlot(_ctx.$slots, "subtitle", {}, () => [createTextVNode(toDisplayString(__props.subtitle), 1)])])) : createCommentVNode("", true)]),
|
|
335
|
-
hasTitleAction
|
|
335
|
+
hasTitleAction() ? (openBlock(), createElementBlock("div", _hoisted_8, [renderSlot(_ctx.$slots, "title-action", normalizeProps(guardReactiveProps(actionSlotProps.value)))])) : createCommentVNode("", true)
|
|
336
336
|
]),
|
|
337
|
-
hasActions
|
|
338
|
-
hasTrailing
|
|
337
|
+
hasActions() ? (openBlock(), createElementBlock("div", _hoisted_9, [createElementVNode("div", _hoisted_10, [createElementVNode("div", _hoisted_11, [
|
|
338
|
+
hasTrailing() ? (openBlock(), createElementBlock("div", _hoisted_12, [renderSlot(_ctx.$slots, "trailing", normalizeProps(guardReactiveProps(actionSlotProps.value)))])) : createCommentVNode("", true),
|
|
339
339
|
renderSlot(_ctx.$slots, "right", normalizeProps(guardReactiveProps(actionSlotProps.value))),
|
|
340
|
-
hasActionEnd
|
|
340
|
+
hasActionEnd() ? (openBlock(), createElementBlock("div", _hoisted_13, [renderSlot(_ctx.$slots, "action-end", normalizeProps(guardReactiveProps(actionSlotProps.value)))])) : createCommentVNode("", true)
|
|
341
341
|
])])])) : createCommentVNode("", true)
|
|
342
342
|
], 64))], 16, _hoisted_1);
|
|
343
343
|
};
|