Point mapper

Point mapper dropdown (Without toggle)
Description:

This is the default point mapper dropdown.

Component Class:
.point-mapper__h1
Component items:
point-data__h1_name.truncate
point-data__h1_icon svg-icon
point-mapper__h1_checkbox
point-mapper__h1_trigger-arrow
point-mapper__h2_name.truncate
point-mapper__h2_source
point-mapper__h2_load-complete
point-mapper__h2_loading
Hidden by default:
point-mapper__h1_checkbox
point-mapper__h2_loading
point-mapper__h2_load-complete
point-mapper__h1_facet
point-mapper__h2_facet
Point mapper dropdown (With toggle)
Description:

This item is designed to allow users to toggle on entire themes using the checkbox or toggle on individual categories within that theme by clicking on them. The checkbox to toggle the entire theme is hidden by default and should be shown when the feature is supported and preferable for the profile admin.

A combo class of "is--toggle-all" needs to be added to the "point-mapper__h1_trigger" to make sure that "point-data__h1_name" does not overlap the toggle.

Add combo classes:
point-mapper__h1_trigger .is--toggle-all
point-mapper__h1_checkbox .is--shown
Point mapper dropdown (With FACETS)
Description:

Facets can be added to both the overall theme or the subcategories below it. Just add the ".is--shown" combo class to the facet item you would like to show.

Add combo classes:
point-mapper__h1_facet .is--shown
point-mapper__h2_facet .is--shown

Tooltips

Cluster tooltip
Description:

This tooltip is for use when categories within a theme are within the same vicinity and a user needs to be able to see and interrogate overlapping pins. The colour for each point (.tooltip__cluster-icon) is taken from the category, the initials (.tooltip__cluster-icon_letters) for each pin are taken from the first letter OR two letters of the categories title. eg. Pharmacies (P), Old age homes (OA). IF an icon is required, the .svg-icon is--cluster-icon element is an svg icon that can be changed to represent the category icon - this is hidden by default. The facet (.tootlip__cluster-facet) count is for the number of items in the category within that cluster.

Use the .is--shown or .is--hidden classes are used to hide and show the icon and letters elements that are or are not required. ONLY ONE should be visible at any time.

Component Class:
.facility-tooltip is--cluster
Component items:
.tooltip__cluster-item
.tooltip__cluster-item is--last
.tooltip__cluster-icon
.tooltip__cluster-icon_letters
.tootlip__cluster-facet
.svg-icon is--cluster-icon
Hidden by default:
.tooltip__cluster-icon_letters
svg-icon is--cluster-icon

Utility

Component highlight:

Loading...

Description:

Add the .highlight component to any item that has "position: relative" to highlight it in the UI. If you would like to add a notification message, remove the .hidden class from .highlight__notification item inside of .highlight and adjust .highlight message to change the message displayed (default is "Loading...").

Combo classes can be added to adjust the alignment of the notification. Those are as follows: .highlight-notification is--align-left OR is--align-right. AND  .highlight-chip is--align-left OR is--align-right.

Component Class:
.highlight
Component items:
.highlight__notification
.highlight__chip
.highlight__message
Hidden by default:
.highlight__notification

Rich data panel

indicator version:

This indicator applies to Loading... in the Loading... geographic demarcation. The map currently shows the Loading... geographic demarcation.

Description:

The backend does not have to duplicate this component from the styles panel, they can create it by just adding styles to a paragraph.

This is a paragraph with the .profile-indicator__version class. You can adjust this text as you see fit and apply the span .chart-link to apply the block styling for the various items in the description. The example above has .chart-link is--location; .chart-link is--current and chart-link is--version.

By default these .chart-version elements have hover states. If a link style is not required, you can add the class .no-link to remove this hover styling.

Component Class:
.profile-indicator__version
Component items:
.chart-link
.chart-link is--version
.chart-link is--current
.chart-link is--location
.chart-link no-link

Modals

Generic modal:
Description:

This item is in-place and can be show when needed. The backend can adjust .modal-title, .modal__content and the content within the buttons to adjust the use case for the modal. This item was created to house content for the "Update map to version required to view this data" feature.

Component Class:
.generic-modal
Component items:
.modal
.modal-title
.modal-content
button--modal-primary
button--modal-secondary