@ -125,6 +125,11 @@ Currently selected value is {{ toggleValue }}
< h2 > Normal list< / h2 >
< p > HINT: To enable floating actions on hover, every < i > spot-list--item< / i > needs a
< i > spot-list--item-floating-wrapper< / i > , which wraps the item's content and the < i > spot-list-item-floating-actions< / i > ,
but not any sub lists. This way, floating actions on hover are defined specific for each item, hence in the same list
items with floating actions can be right next to items without.< / p >
< ul class = "spot-list" >
< li class = "spot-list--item" >
< label class = "spot-list--item-action" >
@ -132,6 +137,25 @@ Currently selected value is {{ toggleValue }}
< div class = "spot-list--item-title" > Checkbox item< / div >
< / label >
< / li >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Checkbox item with hover menu< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_external-link" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< / li >
< li class = "spot-list--item" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
@ -139,15 +163,25 @@ Currently selected value is {{ toggleValue }}
< / label >
< ul class = "spot-list" >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Child checkbox item< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< ul class = "spot-list" >
< li class = "spot-list--item" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Secon level child< / div >
< div class = "spot-list--item-title" > Second level child< / div >
< / label >
< / li >
< / ul >
@ -158,6 +192,22 @@ Currently selected value is {{ toggleValue }}
< div class = "spot-list--item-title" > Second child checkbox item< / div >
< / label >
< / li >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Second child checkbox item with hover menu< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< / li >
< li class = "spot-list--item" >
< label class = "spot-list--item-action spot-list--item-action_disabled" >
< spot-checkbox
@ -180,6 +230,25 @@ Currently selected value is {{ toggleValue }}
< div class = "spot-list--item-title" > Checkbox item< / div >
< / label >
< / li >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Checkbox item with hover menu< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_external-link" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< / li >
< li class = "spot-list--item" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
@ -187,15 +256,25 @@ Currently selected value is {{ toggleValue }}
< / label >
< ul class = "spot-list spot-list_compact" >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Child checkbox item< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< ul class = "spot-list spot-list_compact" >
< li class = "spot-list--item" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Secon level child< / div >
< div class = "spot-list--item-title" > Second level child< / div >
< / label >
< / li >
< / ul >
@ -206,6 +285,22 @@ Currently selected value is {{ toggleValue }}
< div class = "spot-list--item-title" > Second child checkbox item< / div >
< / label >
< / li >
< li class = "spot-list--item" >
< div class = "spot-list--item-floating-wrapper" >
< label class = "spot-list--item-action" >
< spot-checkbox [ ( ngModel ) ] = " listCheckboxValue " > < / spot-checkbox >
< div class = "spot-list--item-title" > Second child checkbox item with hover menu< / div >
< / label >
< div class = "spot-list--item-floating-actions" >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_folder-open" > < / span >
< / button >
< button class = "spot-link" >
< span class = "spot-icon spot-icon_file-doc" > < / span >
< / button >
< / div >
< / div >
< / li >
< li class = "spot-list--item" >
< label class = "spot-list--item-action spot-list--item-action_disabled" >
< spot-checkbox