Invision UI v.19.6.0-0

Getting Started

  • Running Invision UI
  • UI Component Anatomy
  • Authoring SCSS
  • Authoring Presentational Behavior

Component Foundations

  • SCSS Authoring
    • Mixins & Variables
    • Stateful Classes
  • State Guidance
    • Empty/Zero State
    • Loading State
  • Utilities
    • Align
    • Display
    • Flexbox
    • Font Size
    • Layout
    • Offset
    • Position
    • Overflow
    • Size
    • Spacing
    • Text
  • Layout
    • Arrange [Deprectated]
    • Divided Columns
    • Embed Video
    • Full and Center
    • Fill [Deprectated]
    • Grid
    • Media Blocks
    • Panels
    • Vertical Layouts
  • Media Queries
  • Angular Behaviors
    • App Theme Directive
    • Auto Focus Input
    • Filters
    • Popup (modal dialog) Manager
    • Tether (tooltip/dropdown) Manager
    • Resize Sensor
    • Watchers

UI Component Library

  • Content & Containment
    • Active Translation
    • Auto Fit Text
    • Address
    • Basic & Input Table
    • Brand Logo/Slogan
    • Call to Action - Empty State
    • Carousel
    • Cart
    • Choice
    • Collapsible Container
    • Copyright Footer
    • Coupon Redeemer
    • Content
    • Date Relative Display
    • Definition Lists
    • Delimited List
    • Details
    • Expiration Date Display
    • Feature Toggle
    • Form Section Heading
    • Header
    • Heading
    • Heading With Annotation
    • Icons
    • Interaction Details
    • Labeled Balance
    • Link
    • Main Container
    • Metadata Card
    • Metadata List Item
    • Offering QuickView
    • Payment Instrument
    • Preference Dialog
    • Pricing Plan Decoration
    • Product Availability
    • Product Details
    • Product Image
    • Quick Info Panel
    • Remark
    • Renewal Column
    • Richlist Filterbar
    • Richlist Wrapper
    • Scrollable Horizontal List
    • Search Card
    • Search Panel
    • Section
    • Selectable Option
    • Smart Truncate
    • Status Grid
    • Tooltip
  • Data Visualizations
    • Bill Runs
    • Comparison Table
    • Datatable
    • Progress Tracker
    • Schedules
    • Query Builder
  • Dialogs
    • Confirmation Dialog
    • Dialog
    • Rich List Dialog
    • Wait Dialog
  • Forms and Filters
    • Additional Properties
    • Autocomplete
    • 3 Field Date Input
    • Checkbox
    • Credit Card
    • Bulk Action Bar
    • Buttons
    • Confirmation Button
    • Date Picker
    • E-Check
    • Entity Specification
    • External Bill
    • External Gift Card
    • Focus Group
    • Forms
    • Filter Bar
    • Filter Dropdowns
    • Gift Card
    • Grouped Check Filters
    • Inputs
    • Input Select Combo
    • Monetary Input
    • Multi Dropdown Selector
    • Multiple Numeric Input
    • Monetary Range Input
    • Password Unmask Button
    • Select
    • Select Button Or Stepper
    • Select Or Text Input
    • Stepper
    • Tag Dropdown
  • Navigation & Flow
    • Back Banner
    • Back Component
    • Breadcrumbs
    • Details Pager
    • Expandable Section
    • Infinite Scroll
    • Open New Window
    • Pager
    • Fancy Richlist
    • Standard Navigator
    • Status Indicator
    • Step Progress Bar
    • Step Progress Indicator
    • Tab Card
    • Tab Panel
    • Tier Navigator
    • Wizard
  • Notifications
    • Loading Indicator
    • Toast Notifications
  • Deprecated
    • Content Area

Showcase

  • General
    • Simplelist
    • Richlist
    • Primary (side) Navigator
  • Customer Care
    • Case Activity List
    • Customer Care Navigator Component
    • Dashboard
    • Decisions
  • Reporting
    • Content Visualization

Unit Testing

  • Actions
  • Components
  • Selectors
  • Reducers

End-to-end Testing

Statistics

Bulk Action Bar

In this section

Overview Variants
  • Bulk Action Bar (styling examples)
  • Bulk Action Bar (checkbox list example)
  • Bulk Action Bar (datatable example)

UI component which facilitates bulk actions on a collection of items

Params

action-list

An array of objects with following properties:

  • gylph (the icon to display for this action)
  • name (the text to display for this action)
  • actionFn (the callback function to execute when this action is called)

on-close-action

The callback function to execute when the close button is clicked

selected-items

An array of objects which represent the items that are selected

total-item-count

The total count of objects (selected and unselected)

Bulk Action Bar (styling examples)

Showing off the different types of styling options on the actions

Buttons with icons and text

Buttons with icons only

Buttons with text only (and no close button)

HTML
<div ng-controller="BulkActionBarExampleController as ctrl" class="t-content">

    <p> Buttons with icons and text </p>

    <inv-bulk-action-bar action-list="ctrl.stylingActionList1"
                           on-close-action="ctrl.emptyFunction"
                           selected-items="[]"
                           total-item-count="0">
    </inv-bulk-action-bar>

    <p> Buttons with icons only </p>

    <inv-bulk-action-bar action-list="ctrl.stylingActionList2"
                           on-close-action="ctrl.emptyFunction"
                           selected-items="[]"
                           total-item-count="0">
    </inv-bulk-action-bar>

    <p> Buttons with text only (and no close button) </p>

    <inv-bulk-action-bar action-list="ctrl.stylingActionList3"
                           selected-items="[]"
                           total-item-count="0">
    </inv-bulk-action-bar>
</div>

Bulk Action Bar (checkbox list example)

An example of the component being used in tandem with a checkbox list

HTML
<div ng-controller="BulkActionBarExampleController as ctrl" class="t-content">
    <inv-bulk-action-bar action-list="ctrl.actionList"
                           on-close-action="ctrl.deselectAll"
                           selected-items="ctrl.selectedItems"
                           total-item-count="ctrl.checkboxItems.length"
                           ng-if="ctrl.selectedItems.length > 0">
    </inv-bulk-action-bar>
    <form class="c-form c-generalForm u-mt+">
        <fieldset class="c-fieldset">
            <div class="c-fieldset-item"
                 ng-repeat="item in ctrl.checkboxItems track by item.id">
                <div class="c-checkbox">
                    <input type="checkbox"
                           id="{{::item.id}}"
                           ng-model="item.selected"
                           ng-change="ctrl.updateSelectedItems()">
                    <label for="{{::item.id}}" ng-bind="item.label"></label>
                </div>
            </div>
        </fieldset>
    </form>
</div>

Bulk Action Bar (datatable example)

An example of the component being used in tandem with a datatable

HTML
<div ng-controller="BulkActionBarDatatableExampleController as ctrl" class="t-content">
    <inv-bulk-action-bar action-list="ctrl.actionList"
                           on-close-action="ctrl.deselectAll"
                           selected-items="ctrl.selectedItems"
                           total-item-count="datatable.tableData.length"
                           ng-if="ctrl.selectedItems.length > 0">
    </inv-bulk-action-bar>
    <div class="s-datatable c-datatable"
         ui-grid-resize-columns
         ui-grid-selection
         inv-grid-autosize-column
         ui-grid="{ data: datatable.tableData,
                    onRegisterApi: datatable.init }">
    </div>
</div>