@opentiny/vue-dropdown-item
Advanced tools
Comparing version
@@ -51,5 +51,5 @@ import { defineComponent, props, setup } from '@opentiny/vue-common'; | ||
return _c("li", { | ||
class: _vm.m("rounded-sm list-none leading-10 sm:leading-8 outline-0 min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom", _vm.disabled ? "cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled" : "text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-2 focus:bg-color-bg-4 cursor-pointer", { | ||
class: _vm.m("mb-1 rounded-sm list-none leading-10 sm:leading-5.5 outline-0 min-w-[theme(spacing.18)] max-w-[theme(spacing.52)] w-full [&_svg]:sm:w-3.5 [&_svg]:sm:h-3.5 [&_svg]:sm:mr-1.5 [&_svg]:mr-2 [&_svg]:align-text-bottom", _vm.disabled ? "cursor-not-allowed text-color-text-disabled [&_svg]:fill-color-text-disabled" : "text-color-text-primary active:bg-color-bg-4 visited:text-color-brand hover:bg-color-bg-2 focus:bg-color-bg-4 cursor-pointer", { | ||
"text-color-brand-focus bg-color-fill-6": _vm.dataStore.checkedStatus && _vm.selected | ||
}, _vm.dataStore.multiStage ? "!px-0 mb-1" : "[&:not(:last-of-type)]:mb-1"), | ||
}, _vm.dataStore.multiStage ? "!px-0" : "[&:not(:last-of-type)]:mb-1"), | ||
attrs: { | ||
@@ -70,3 +70,3 @@ "data-tag": "tiny-dropdown-item", | ||
ref: "level", | ||
class: ["sm:text-xs text-sm", _vm.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"], | ||
class: ["text-xs", _vm.level === "2" ? "mx-6 overflow-hidden text-ellipsis whitespace-nowrap" : "mx-4 sm:mx-3 overflow-hidden text-ellipsis whitespace-nowrap"], | ||
attrs: { | ||
@@ -73,0 +73,0 @@ "data-tag": "tiny-dropdown-level" |
{ | ||
"name": "@opentiny/vue-dropdown-item", | ||
"type": "module", | ||
"version": "2.22.0", | ||
"version": "2.23.0", | ||
"description": "", | ||
@@ -11,7 +11,7 @@ "license": "MIT", | ||
"dependencies": { | ||
"@opentiny/vue-common": "~2.22.0", | ||
"@opentiny/vue-directive": "~2.22.0", | ||
"@opentiny/vue-icon": "~2.22.0", | ||
"@opentiny/vue-renderless": "~3.22.0", | ||
"@opentiny/vue-theme": "~3.22.0" | ||
"@opentiny/vue-common": "~2.23.0", | ||
"@opentiny/vue-directive": "~2.23.0", | ||
"@opentiny/vue-icon": "~2.23.0", | ||
"@opentiny/vue-renderless": "~3.23.0", | ||
"@opentiny/vue-theme": "~3.23.0" | ||
}, | ||
@@ -18,0 +18,0 @@ "types": "index.d.ts", |
16163
-0.06%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
Updated
Updated
Updated