HexagonJS
Changelog
1.15.0
Fixed several issues with IE to provide more support for IE/Edge
Data Table
1
hx.DataTableextendsEventEmitter
Bugfix
Resolved an issue where the input had 0 width in IE
Date Picker
1
2
Bugfix
Fixed an issue where IE was displaying the datepicker calendar in compact mode
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Dropdown
1
hx.DropdownextendsEventEmitter
Fixed a bug with the dropdown positioning logic.
File Input
1
Bugfix
Fixed an issue where the files were immediately cleared when adding via the files popup in IE
Logo
1
1
Deprecated
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Unsupported tags will be auto-converted to <div> tags until support for <img> tags is removed.
Added
Fixed an issue with IE support of the logo by changing the <img> tags to <div> tags.
Spinner
1
hx-spinner-wide
Bugfix
Fixed an issue with IE support of the wide spinner by updating the CSS
Titlebar
1
Updated
Updated the logo in the example to use <div> the new Logo expectation
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.14.0
Deprecated hx.Meter and fixed a few bugs.
Form Builder
8
2
hx.Form
addTextoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addEmailoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addNumberoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addPasswordoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addUrloptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addCheckboxoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addRadiooptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addTextAreaoptionsObject
options
valueAny
Added
#387
Added the ability to initialise fields with a value
hx.Form
addPickerForm
Bugfix
#304
Resolved an issue with validation when un-setting picker values
hx.Form
addAutocompletePickerForm
Bugfix
#304
Resolved an issue with validation when un-setting picker values
Form
1
hx.validateFormObject
Bugfix
#301
Fixed an issue where the validateForm function would validate against hidden elements
Meter
1
hx.Meter
Deprecated
#380
hx.Meter has been deprecated and will be removed in the next major release
Plot
1
hx.PieChart
Bugfix
#428
Fixed a divide by zero issue which caused single segment pie charts not to be rendered
Titlebar
1
hx.TitleBar
activeTitleBar
Bugfix
#390
Correctly allow the active element to be set using a Selection or HTMLElement
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.13.0
Add several new features and style tweaks based on UX discussion(s)
Base
1
Bugfix
Fixed the font size inheritance for buttons
Button
1
hx-btn
Updated
Updated the button theme variables to allow the border colour for each button to be set independently
Data Table
1
hx.DataTableoptionsObject
options
highlightOnHoverBoolean
Added
Added the ability to disable row hover for data tables
Date Picker
1
2
Bugfix
Resolved an issue with the styles that was causing the 'year' selection to display incorrectly
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Fast Click
1
Bugfix
#418
Fixed an issue with the click handlers on iPads
Input Group
1
Updated
Updated the styles to prevent 'double borders'
Menu
1
Updated
Updated the display of the 'active' item to work as the user would expect
Spinner
1
hx-spinner
hx-spinner-large
Added
Added a large spinner
Tag Input
2
Bugfix
#406
Fixed the order the events are fired in.
Bugfix
#410
Fixed the event type of the 'add tag' event when added by a user
Titlebar
1
Bugfix
Added the missing 'action' context to the titlebar
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.12.0
Some utility methods on Selection have been added for replacing DOM and setting the children of a Selection
Data Table
5
hx.DataTableoptionsObject
options
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaArray[String]
Added
#401
Added the ability to use filter types in the advanced search of data tables
hx.DataTable
advancedSearchCriteriaDataTable
Added
#401
Added the ability to use filter types in the advanced search of data tables
Filter
3
hx.filter
stringTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
numberTypesArray[String]
Added
#401
Added functions for getting the filter types
hx.filter
Added
#401
Added functions for getting the filter types
Pivot Table
1
hx.PivotTableoptionsObject
options
fullWidthBoolean
Added
#396
Added the fullWidth option to pivot table
Selection
2
Selection
setSelection
Added
Add a new method for setting the children of a Selection
Selection
replaceSelection
Added
Added a new method for replacing some DOM with different DOM.
Titlebar
1
hx.titleBar
Added
#399
Added a minimal fluid version of the titlebar
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.11.0
Fixed an issue where running the tests in a different timezone caused them to fail unexpectedly and the associated bug in the timezone logic.
Fixed selections so calling hx.select on a Selection no longer shows a warning (and instead performs a no-op)
Date Picker
1
2
Bugfix
#378
Resolved an issue with how the timezones worked when not in UTC
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Selection
1
Selection
Updated
#376
Removed warning when calling hx.select on a Selection.
Sort
2
2
hx.sort
compareNumber
Bugfix
#372
Resolved an issue where sorting with undefined would treat it as a string.
hx.sort
localeCompareFunction
Bugfix
#372
Resolved an issue where sorting with undefined would treat it as a string.
hx.sort
localeCompareoptionsObject
options
nullsLastBoolean
Added
#372
Added an option for sorting nulls to the end of an array when using localeCompare.
hx.sort
compareNullsLastNumber
Added
#372
Added an function for sorting nulls to the end of an array.
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.10.0
Resolved some issues with the data table sort/filter.
Added automatic label collision detection to graphs to prevent label overlap.
Made Inline Editables allow 'empty' values.
Fixed a selection of bugs.
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#346
Resolved an issue where typing enter quickly before debouncing completes allowed values that didn't match the current filter to be entered
Card
1
hx-card
hx-card-section
Bugfix
#137
Resolved an issue with the vertical alignment of card sections
Data Table
2
hx.DataTableextendsEventEmitter
Bugfix
#352
Resolved an issue where setting the filter with the api would not update the filter input.
hx.dataTable
objectFeedFeed
Bugfix
#360
Resolved an issue where the object feed was using a cached set of filtered rows incorrectly when sorting multiple times on the same column
Form Builder
2
hx.FormextendsEventEmitter
Bugfix
#359
Resolved an issue when attempting to add fields that are disabled/hidden as their initial state
Bugfix
#368
Resolved an issue where disabled form fields would not return their value when using the value or data method.
Inline Editable
2
1
2
hx.InlineEditableextendsEventEmitter
Updated
#351
Made the input take focus when the editable is 'opened' and made it possible to press 'enter' to set the value.
hx.InlineEditable
Removed
#351
Added the 'options' parameter to the constructor
hx.InlineEditable
Added
#351
Added the options parameter to the constructor to allow the 'enter value' text to be set
hx.InlineEditable
change
Removed
#351
The api property was always set to false. It has been removed and replaced with the standard 'cause' property
hx.InlineEditable
change
causeString
Added
#351
Replaced the broken 'api' property
Plot
6
hx.AxisoptionsObject
options
x
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.AxisoptionsObject
options
y
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
x
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
x
doCollisionDetectionAxis
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
y
doCollisionDetectionBoolean
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
hx.Axis
y
doCollisionDetectionAxis
Added
#353
Added an option to enable collision detection to prevent labels overlapping on graphs. By default, this value is true.
Selection
1
Selection
Bugfix
Resolved a bug with shallowSelect when calling it on nodes without children.
View
1
View
Bugfix
#358
Updated the internals to use shallowSelectAll to allow nested views and prevent children affecting the behaviour of the view
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.9.0
Resolved an issue caused by the addition of PointerEvent in Chrome 55+.
The native PointerEvent has been disabled in this version because of an incompatibility with the Hexagon pointer events. Native support will be re-introduced in the next major release.
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.8.2
Fix an issue with the autocomplete and autocomplete picker that caused it to break when there are no disabled items to filter.
AutocompletePicker
1
hx.AutocompletePicker
Bugfix
#343
Fixed an issue where the filtering failed when there were no 'disabled' items in the list
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#343
Fixed an issue where the filtering failed when there were no 'disabled' items in the list
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.8.1
Patch the issue introduced in the Notification module introduced in the previous version.
Notify
1
Bugfix
Fix an issue with the notifications that broke the string-based functionality
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.8.0
Added support for lazily loaded trees when building from json
Allow HTML content inside notifications
Disable the increment/decrement buttons for number pickers
This release also includes a selection of bugfixes
AutocompletePicker
1
Bugfix
#273
Fixed an issue where object based items were being sorted incorrectly
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#273
Fixed an issue where object based items were being sorted incorrectly
Crumbtrail
1
hx.Crumbtrail
itemsArray
Bugfix
#309
Data Table
1
hx.DataTableextendsEventEmitter
Bugfix
#323
Resolved an issue where nested tables would never hide their 'Loading' overlay
Event Emitter
1
hx.EventEmitter
Bugfix
#179
Updated the off method to clean up the internal objects when removing the last listener for a namespace
Form
1
hx.validateFormObject
Updated
Updated the validation to show the error for the focused element instead of the first error it finds
Notify
12
12
1
hx.NotificationManager
positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
Info
#299
Updated the notification functions and methods so that the message can be an HTMLElement, Selection or an Object and added a renderer to the notification options for rendering Object messages.
The notifications will behave as they did previously with strings but now accept additional types for the message.
hx.NotificationManager
notify
Removed
#299
hx.NotificationManager
infoNotification
Removed
#299
hx.NotificationManager
warningNotification
Removed
#299
hx.NotificationManager
negativeNotification
Removed
#299
hx.NotificationManager
positiveNotification
Removed
#299
hx.NotificationManager
notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.NotificationManager
loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.NotificationManager
infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.NotificationManager
warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.NotificationManager
negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.NotificationManager
loadingNotification
Removed
#299
hx.notifyNotification
Removed
#299
hx.notify.infoNotification
Removed
#299
hx.notify.loadingNotification
Removed
#299
hx.notify.warningNotification
Removed
#299
hx.notify.negativeNotification
Removed
#299
hx.notify.positiveNotification
Removed
#299
hx.notifyNotification
Added
#299
Shows a notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's notify method.
hx.notify.loadingNotification
Added
#299
Shows a loading notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's loading method.
hx.notify.infoNotification
Added
#299
Shows an information notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's info method.
hx.notify.warningNotification
Added
#299
Shows a warning notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's warning method.
hx.notify.negativeNotification
Added
#299
Shows a negative notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's negative method.
hx.notify.positiveNotification
Added
#299
Shows a positive notification using the inbuilt notification manager and returns a Notification object. An alias for the inbuilt notification manager's positive method.
Number Picker
1
1
hx.NumberPickerextendsEventEmitter
Bugfix
#328
Fixed an issue where the value would not adhere to the min/max when changing via the input
Updated
#159
Disable the increment/decrement buttons when the value is at min/max
Picker
1
hx.PickeroptionsObject
options
fullWidthBoolean
Added
#275
Added a full width option for pickers
Plot
1
Bugfix
#290
Prevent text wrapping in basic labels (e.g. sparklines)
Preferences
1
Updated
#254
Added logic to update the current timezone in hx.preferences when not using Moment.js
Sticky Table Headers
1
Bugfix
#236
Prevent sticky table headers showing up in Ctrl+F search results
Tag Input
2
hx.TagInputextendsEventEmitter
Bugfix
#203
Updated the tag input so that the validator behaves the same regardless of whether it is inside a form
Bugfix
#313
Fixed an issue where using an autocomplete allowed multiple tags to be entered at once
Tree
1
hx.TreeoptionsObject
options
Added
#29
Added an option for lazily rendering tree nodes when building from JSON
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.7.0
Added support for lazily loaded data table feeds
Added the disabled context class to hx.palette.context
Fixed a bug in sticky table headers that prevented nested sticky tables being created
Data Table
2
Feed
rowscallbackFunction
callbackdataObject
data
filteredCountNumber
Bugfix
#305
Fixed issue with page-size-selector for lazy feeds
Bugfix
#306
Fixed issue with page-selector for lazy feeds
Palette
8
hx.palette.context
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.contextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.textContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.textContextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.backgroundContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.backgroundContextString
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.borderContext
Updated
#298
Added 'disabled' to the list of context classes
hx.palette.borderContextString
Updated
#298
Added 'disabled' to the list of context classes
Sticky Table Headers
1
Bugfix
#302
Fix that allows sticky tables to be nested
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.6.0
Added a selection of new features including the addition of autocomplete to tag inputs, the ability to press and hold to increment/decrement Number Pickers, improved reusability of Dropdowns and the addition of min/max options to Sparklines.
Dropdown
4
hx.Dropdown
renderDropdown
Added
#180
Added a new method for re-rendering the dropdown whilst it is open
hx.Dropdown
dropdownContentString / Function
Added
#180
Added a new method for getting the currently set dropdown content
hx.Dropdown
dropdownContentDropdown
Added
#180
Added a new method for getting the currently set dropdown content
hx.Dropdown
render
Added
#180
A new event fired when the dropdown has finished rendering
Number Picker
2
hx.NumberPickeroptionsObject
options
incrementOnHoldBoolean
Added
#177
Added the ability to press and hold to increment number pickers
hx.NumberPickeroptionsObject
options
incrementDelayNumber
Added
#177
Added the ability to press and hold to increment number pickers
Plot
2
2
LineSeriesextendsEventEmitter
Bugfix
#89
Updated line series so that the labels show for the first/last points
hx.Sparkline
Bugfix
#89
Updated sparkline so that the labels show for the first/last points
hx.SparklineoptionsObject
options
Added
#261
Added an option for setting the minimum y value for a sparkline
hx.SparklineoptionsObject
options
Added
#261
Added an option for setting the maximum y value for a sparkline
Tag Input
4
hx.TagInputoptionsObject
options
autocompleteDataArray / Function
Added
#194
The data to use as suggestions for the tag input. Data can be specified as an array of items or as a function that returns an array of items.
See
By default, no autocompletion is provided.
hx.TagInputoptionsObject
options
autocompleteOptions
Added
#194
Special options to be passed to the autocomplete. See the Autocompleteconstructor for the available options.
hx.TagInputoptionsObject
options
excludeTagsBoolean
Added
#194
Determines whether existing tags should be excluded from the autocompletion.
hx.TagInputoptionsObject
options
mustMatchAutocompleteBoolean
Added
#194
Determines whether the TagInput should only allow inputs that come from the autocomplete (if defined). Be default true.
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.5.1
Fixed a selection of bugs including an issue caused by meters when rendering with 0 width/height, button alignment in forms and notification flex styles.
Form
1
Bugfix
#274
Resolved an issue with the alignment of buttons in forms
Meter
1
1
Bugfix
#170
Resolved an issue where calling render would thrown an error for 0 height/width meters
hx.MeteroptionsObject
options
redrawOnResizeBoolean
Added
Added an option to allow the meter to be redrawn manually
Notify
1
Bugfix
#280
Fixed the flex styles for notifications
Plot
1
hx.Sparkline
Bugfix
#279
Fixed the default redrawOnResize value
Tag Input
1
Bugfix
#264
Updated the tag input to correctly handle undefined values
Titlebar
1
Bugfix
#248
Resolved an issue with the precedence of the link styles
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.5.0
Added the ability to search across multiple columns in DataTables.
Added the ability to show the search above the table content in the data table options.
Changes to the structure of the DataTable to improve compact mode, including adding a compact 'menu' to reduce the amount of space data tables take up when in compact mode
Added some new utility functions for checking the type of values and getting the argmin/argmax.
Data Table
20
4
1
hx.DataTable
showAdvancedSearchBoolean
Added
#49
Gets the showAdvancedSearch option
hx.DataTableextendsEventEmitter
Updated
Updated the compact view to have a collapsible control panel that houses the search, sort and advanced search controls so that compact tables take up less space
Updated
#49
Updated the data table to include options for Advanced searching (multi-column filtering) as well as showing the search above the table
Bugfix
#252
Resolved an issue where the classes for showing/hiding the sort were not being applied correctly
hx.DataTableoptionsObject
options
advancedSearchEnabledBoolean
Added
#49
Whether the advanced search should be enabled. If an advancedSearch is passed in, this is set to true. If filterEnabled is set to false and this is set to true, the advanced search will be shown on it's own with no toggle for switching the filter type. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
advancedSearchArray[Array[Object]]
Added
#49
The advanced search array to use. If a value is passed in, showAdvancedSearch and advancedSearchEnabled are both set to true, showing and enabling the advanced search. See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTableoptionsObject
options
showSearchAboveTableBoolean
Added
#49
hx.DataTableoptionsObject
options
addFilterTextString
Added
#49
hx.DataTableoptionsObject
options
clearFiltersTextString
Added
#49
hx.DataTableoptionsObject
options
anyColumnTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchTextString
Added
#49
hx.DataTableoptionsObject
options
advancedSearchPlaceholderString
Added
#49
hx.DataTable
showAdvancedSearchDataTable
Added
#49
Sets the showAdvancedSearch option
hx.DataTableoptionsObject
options
showAdvancedSearchBoolean
Added
#49
Whether to show the advanced search and the toggle for switching between the regular filter and the advanced search.
If advancedSearchEnabled is true or an advancedSearch is passed in, this is set to true.
See the Using the Advanced Search section at the bottom of the page for more information on the advanced search
hx.DataTable
advancedSearchEnabledDataTable
Added
#49
Sets the advancedSearchEnabled option
hx.DataTable
advancedSearchEnabledBoolean
Added
#49
Gets the advancedSearchEnabled option
hx.DataTable
showSearchAboveTableDataTable
Added
#49
Sets the showSearchAboveTable option
hx.DataTable
showSearchAboveTableBoolean
Added
#49
Gets the showSearchAboveTable option
hx.DataTable
advancedSearchArray[Array[Object]]
Added
#49
Gets the currently advanced search
hx.DataTable
advancedSearchDataTable
Added
#49
Sets the advanced search
Feed
rows
Updated
#49
Updated the range parameter to include new advanced search properties
hx.dataTable
objectFeedoptionsObject
options
compareNumber
Updated
#49
Updated the default sort function to use hx.sort.compare to provide better sorting
hx.dataTable
objectFeedoptionsObject
options
cellValueLookupString
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
objectFeedoptionsObject
options
termLookupBoolean
Added
#49
Added options to the object feed to make it more configurable
hx.dataTable
getAdvancedSearchFilterFunction
Added
#49
Added a helper for creating custom feeds using the advanced search
Meter
2
1
hx.Meter
Bugfix
#271
Localized the "of" text in the meter.
hx.MeteroptionsObject
options
valueFormatterString
Added
#272
Added a function for formatting the displayed values in the meter.
hx.Meter
render
Added
#270
Added a render event to meter
Plot
6
1
hx.GraphoptionsObject
options
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Graph
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Graph
redrawOnResizeGraph
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.PieChart
Bugfix
Resolved an issue in pie charts where the legend was not being displayed with the correct colors and was not rendering correctly
hx.SparklineoptionsObject
options
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Sparkline
redrawOnResizeBoolean
Added
#152
Added an option to disable automatic redraw when container is resized.
hx.Sparkline
redrawOnResizeSparkline
Added
#152
Added an option to disable automatic redraw when container is resized.
Toggle
1
Updated
Updated the styles to make the toggle icon slightly smaller and more compact
Util
3
2
hx.minByAny
Bugfix
Fix an issue where the last value in the array wasn't being checked
hx.maxByAny
Bugfix
Fix an issue where the last value in the array wasn't being checked
hx.argminNumber
Added
Added a function for getting the index of the item in an array with the lowest value
hx.argmaxNumber
Added
Added a function for getting the index of the item in an array with the highest value
hx.isNumberBoolean
Added
#240
Added a function for checking if something is a Number
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.4.2
Fix an issue with the code using the wrong option variables in AutoComplete
Also added CSS support for iOS 7/8 to resolve some style and layout issues on older iPads
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
Fixed where the code was using the loadingMessage and pleaseEnterMinCharactersMessage
Notice
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.4.1
Several bugfixes, including changes to how the default locale is set when using moment
File Input
1
Bugfix
#225
Change the type of the button to fix a bug where forms were submitted
Notice
1
1
hx-notice
hx-notice-header
Deprecated
#232
This class will be replaced by hx-notice-head
hx-notice
hx-notice-head
Added
#232
The header section of the Notice
Plot
1
Bugfix
#139
Fix the styles for plot labels to prevent them causing a scrollbar
Preferences
1
1
Bugfix
#222
Fix an incorrectly named variable
Updated
Updated the default locale when using moment as moment doesn't guess the current locale correctly
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.4.0
Added the Autocomplete Picker module, a hybrid of an AutoComplete and a Picker.
Added the User Facing Text module for defining the default text for Hexagon modules.
AutocompletePicker
2
hx.AutocompletePicker
Added
#17
hx.autocompletePickerSelection
Added
#17
Creates a new AutocompletePicker set up on a detached element, wrapped in a selection
AutoComplete
2
2
hx.AutoCompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.AutoCompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
hx.autoCompleteoptionsObject
options
noResultsMessageString
Updated
#211
The default text for noResultsMessage is retrieved from the userFacingText module
hx.autoCompleteoptionsObject
options
pleaseEnterMinCharactersMessageString
Added
The text to display when the user has not entered enough text.
When setting this, the minimum number of characters can be substituted in using the '$minLength' variable, e.g.
options = {
  minLength: 3,
  pleaseEnterMinCharactersMessage = 'Please enter $minLength characters'
}
// Evaluates to 'Please enter 3 characters'
Card
1
hx.card.[small | large].titleSelection
Updated
#245
Changed the function to create a span rather than a div
Data Table
7
hx.DataTableoptionsObject
options
clearSelectionTextString
Added
#211
The text to display on the 'clear selection' link when rows have been selected
hx.DataTableoptionsObject
options
loadingTextString
Added
#211
The text to display when data is loading
hx.DataTableoptionsObject
options
noSortTextString
Added
#211
The text to display on the mobile sort menu for 'No Sort'
hx.DataTableoptionsObject
options
rowsPerPageTextString
Added
#211
The text to display next to the 'rows per page' picker
hx.DataTableoptionsObject
options
searchPlaceholderString
Added
#211
The placeholder for the 'search' box
hx.DataTableoptionsObject
options
selectedRowsTextString
Added
#211
The text to display in the selected rows information bar.
The '$total' variables can be substituted in, e.g for a table with 3 rows and 1 row selected:
options = {
  selectedRowsText: '$selected of $total selected.'
}
// Would evalate to '1 of 3 selected.'
hx.DataTableoptionsObject
options
sortByTextString
Added
#211
The text to display next to the sort picker shown in compact mode.
File Input
1
2
hx.FileInputoptionsObject
options
buttonTextString
Updated
#211
hx.FileInputoptionsObject
options
filesSelectedTextString
Updated
#211
hx.FileInputoptionsObject
options
noFilesTextString
Added
#211
Form Builder
2
1
hx.FormextendsEventEmitter
Updated
#211
Updated the error text to use the user facing text module
hx.Form
addTagInputoptionsObject
options
placeholderString
Added
#211
The placeholder text for the tag input
hx.Form
addAutocompletePickerForm
Added
#17
Adds an autocomplete picker to the form.
Form
1
hx.validateFormObject
Updated
#211
Updated the error text to use userFacingText
Picker
1
hx.PickeroptionsObject
options
noValueTextString
Updated
#211
Plot
1
hx.GraphextendsEventEmitter
Updated
#211
Updated the no data text to be defined in userFacingText
Preferences
1
Updated
#211
Updated the text to be defined in the userFacingText module
Tag Input
1
hx.TagInputoptionsObject
options
placeholder
Added
#211
The placeholder for the input field when it has no text
User Facing Text
1
Added
Added a new module for managing all the user facing text in hexagon
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.3.3
Change the preferences module to prefer navigator.languages over navigator.language
Preferences
1
Bugfix
#251
Prefer navigator.languages over navigator.language
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.3.2
Fix for hx.defined.
Util
1
hx.definedBoolean
Bugfix
#226
Will now returns false when null is passed in
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.3.1
Fix the file input options.
File Input
1
1
1
hx.FileInputoptionsObject
options
filesselectedFilesString
Removed
#210
This variable was badly named and unused internally. It has been replaced by filesSelectedText .
hx.FileInputoptionsObject
options
filesSelectedTextString
Added
The string to indicate the number of files selected
Bugfix
#210
Changed the option name to be more sensible and actually use it in the code.
Palette
1
Bugfix
Fixed an issue where calline hx.palette.context(selection, undefined) would return undefined instead of the selection. This was introduced accidentally as part of 1.3.0.
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.3.0
Fix multiple bugs and add the shallowSelect functionality as well as a new File Input module.
AutoComplete
1
hx.autoCompleteitemsArray / Function
Added
The items to use as suggestions for the input field. Data can be specified as an array of items or as a function that returns an array of items.
The data must be in one of the following formats:
Array
[
  "Bob",
  "Steve",
  ...
]
By default, the data is expected as an array of string values. If object based data is passed in, an inputMap must be provided in the options:
data = [
  {
    name "Bob",
    age: 21
},
{
  name: "Steve",
  age: 25
}
]
options = {
  inputMap: function(item){
    return item.name + ', ' + item.age
}
}
A renderer and filterOptions.searchValues can also be specified to change how the text is displayed and what data is searchable, independent of the inputMap
.
Function
var data = function(term, callback){
  hx.json('path/to/data?search='+term, function (e, r) {
    callback(r.responseText)
})
}
A 'Loading...' message will be shown whilst the AutoComplete waits for a response from this function.
It can be used in conjunction with the internal matching or be used to match externally when setting the matchType to 'external':
function data (term, callback) {
  if (term.length > 0) {
    return callback(townAndCountyData.filter(function (d) {
      var d = townAndCountyData[_i]
      var name = d.name.toLowerCase()
      var term = term.toLowerCase()
      var county = d.county.toLowerCase()
      return name.indexOf(term) > -1 || county.indexOf(term) > -1)
}))
} else {
  return callback([])
}
}

options.matchType = 'external'
The term passed in is the current value of the input field (for use as a search term).
The callback is the function that should be called to pass the data back to the AutoComplete to display.
The callback must be called for the AutoComplete to show.
File Input
1
Added
#25
New FileInput component and fluid api function
Form Builder
1
1
hx.Form
addFileInput
Added
#25
New method for adding a FileInput
hx.Form
dataForm
Bugfix
#178
Fix to make the data method circular for tag input fields
Number Picker
1
Bugfix
#182
Update to only emit events when the value has actually changed
Palette
2
hx.palette.borderContext
Added
#196
A function for setting the border context of an element
hx.palette.borderContextString
Added
#196
A function for getting the border context of an element
Pivot Table
1
2
hx.PivotTable
Bugfix
#161
Fix the data setter/getter symmetry by preventing internal data mutation
Bugfix
#162
Fix for pivot table where adding additional data to an existing pivot table caused cells to render incorrectly
hx.PivotTableoptionsObject
options
data
Added
#146
Added the data option to pivot tables
Preferences
1
Bugfix
#133
Update the preferences default timezone lookup to work correctly with Moment.js
Selection
2
Selection
shallowSelectSelection
Added
#104
Added a new method on selection for selecting the first element from the direct children of an element.
Selection
shallowSelectAllSelection
Added
#104
Added a new method on selection for selecting elements from the direct children of an element.
Slider
2
Bugfix
#183
Update so the change event is only emitted when the value is actually changed
Bugfix
#184
Update so the slidestart event is only emitted on slidestart, not on change
Tag Input
1
Bugfix
#202
Make it so the tag inoput validator doesn't have to return anything for valid tags
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.2.1
Includes some bugfixes and improvements to under-the-hood behaviour.
AutoComplete
1
hx.AutoCompleteextendsEventEmitter
Bugfix
#172
Fixed a breaking issue with the autocomplete that caused it not to autocomplete and external matchers to break.
Modal
1
hx.ModalextendsEventEmitter
Bugfix
#142
Fixed an issue where modal content would be duplicated when calling modal.show() multiple times.
Preferences
1
Updated
Improved the way preferences determines the locale when it is loaded so that it always uses a supported locale.
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.2.0
Several enhancements and bugfixes to do with the more commonly used components such as View and Data Table as well as additional functionality for Form Builder.
Data Table
2
hx.DataTableextendsEventEmitter
Bugfix
#85#135
Fixed the table row selection so that single row selection works properly
Bugfix
#154
Update hx.dataTable.urlFeed so that it uses the correct callback format from hx.json
Form Builder
18
1
hx.Form
addTagInputoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.FormextendsEventEmitter
Bugfix
Updated the hidden/disabled state for properties so they can be hidden/disabled when added using the options and also using the hidden/disabled methods after they have been added.
hx.Form
addEmailoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addNumberoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addPasswordoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addUrloptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addCheckboxoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addRadiooptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTagInputoptionsObject
options
disabledBoolean
Added
Whether the property should be disabled as it's initial state. This can also be toggled with the disabled(property, disabled) method.
hx.Form
addTextoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addDatePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTimePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addDateTimePickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addTextAreaoptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
addPickeroptionsObject
options
hiddenBoolean
Added
Whether the property should be hidden as it's initial state. This can also be toggled with the hidden(property, hidden) method.
hx.Form
disabledBoolean
Added
A method for getting the disabled state of a property in a form.
hx.Form
disabledArray[Boolean]
Added
A method for getting the disabled state for an array of properties in a form.
hx.Form
disabledForm
Added
A method for setting the disabled state for a property in a form.
hx.Form
disabledForm
Added
A method for setting the disabled state for an array of properties in a form.
View
1
Updated
#148
Improve the performance of view
Date Picker
2
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Time Picker
2
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
1.1.0
Added a timezone api to preferences and updated date/time pickers to listen to changes in timezone/locale automatically, added hx.graph as a fluid api version for creating graphs, added hx.text as a new wrapper for hx.request and made several bugfixes and improvements to the underlying code.
Also added print styles to hexagon builds as additional resources.
Data Table
3
2
hx.DataTableextendsEventEmitter
Updated
#60
Updated the cell styles for data tables so that changing the background color in the cellRenderer does not display with incorrect padding
hx.DataTableoptionsObject
options
columns
maxWidthNumber
Added
#11
Added an option for setting the max width for a column
hx.DataTable
maxWidthNumber
Added
#11
Gets the maxWidth value for a column of the table if one has been set.
hx.DataTable
maxWidthDataTable
Added
#11
Sets the maxWidth value for a column of the table
hx.dataTableSelection
Updated
#59
Make the fluid api data table function render the table if a feed is provided
Date Picker
1
1
2
Bugfix
#35
Update the icon styles for range pickers so they aren't inconsistent
hx.DatePickerextendsEventEmitter
Updated
#23#24
Date pickers now listen for changes in hx.preferences.locale and hx.preferences.timezone and automatically update
hx.DatePicker
localeDatePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.DatePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
Modal
1
1
1
Bugfix
#8
Added some styles to modals so they no longer overflow on small devices
hx.Modal
Removed
#41
Added an additional parameter to the setup function, titlebarRenderer and headerRenderer.
The existing API has not been modified and will continue to work.
hx.Modal
Added
#41
Added the modal parameter to the setup function passed into the modal constructor as well as the titlebarRenderer and headerRenderer functions.
Notify
1
Updated
#69
Updated the styles so that notifications show on top of modals when they are on screen without looking like they're floating in a strange manner.
Plot
4
hx.GraphoptionsObject
options
Added
Added an axes option to hx.Graph to allow graphs to be created with the fluid api.
hx.Graph
render
Added
Added an event to allow listening to when a graph is rendered.
hx.AxisoptionsObject
options
seriesArray[Object]
Added
Added a series option to hx.Axis to allow graphs to be created with the fluid api.
hx.graph
Added
Added a fluid api for graphs.
Preferences
5
1
Preferences
timezonePreferences
Updated
#23
Updated the list of acceptable timezones and added a helper for converting a date to display with the currently set timezone.
Preferences
applyTimezoneOffsetDate
Added
#23
A method that takes a date and returns a new date with the timezone offset applied.
Preferences
supportedTimezonesArray[String]
Added
#23
A method for getting the currently supported timezones.
Preferences
supportedTimezonesPreferences
Added
#23
A method for setting the currently supported timezones.
Preferences
timezoneOffsetLookupFunction
Added
#23
A method for getting the timezoneOffsetLookup function
Preferences
timezoneOffsetLookupPreferences
Added
#23
A method for setting the timezoneOffsetLookup function
Progress Bar
1
Bugfix
#78
Updated the progressbar background color to add more contrast
Request
2
hx.text
Added
A wrapper for hx.request that supplies a formatter to return plain text instead of the response object.
hx.text
Added
A wrapper for hx.request that supplies a formatter to return plain text instead of the response object.
Sticky Table Headers
1
2
Updated
#9
Added a warning message when sticky table headers are used on a table without any columns
Bugfix
#101
Fix for static tables with sticky headers applied
Bugfix
#103
Fix nested sticky table headers
Time Picker
1
2
hx.TimePickerextendsEventEmitter
Updated
#23#24
Time pickers now listen for changes in hx.preferences.locale and hx.preferences.timezone and automatically update
hx.TimePicker
localeTimePicker
Deprecated
#23#24
Use hx.preferences.locale to get the locale for a page.
hx.TimePicker
localeString
Deprecated
#23#24
Use hx.preferences.locale to set the locale for a page.
View
1
Updated
#14
Views will now show a warning if the element returned from the enter method does not match the expectation of the view
1.0.4
Fix several bug fixes that were causing visual issues
Plot
1
hx.Sparkline
Bugfix
#52
Fix a bug where data with the same Y value caused an error with linear gradients
Sticky Table Headers
1
hx.StickyTableHeaders
Bugfix
#53
Updated the constructor so it no longer ignores the containerClass option
Toggle
1
hx.ToggleextendsEventEmitter
Bugfix
#10#12
Updated the styles and structure to use a <div> element instead of a checkbox
1.0.3
Update the build config for the themes to allow the theme fonts to be embedded in the css using the embedAssets option.
1.0.2
Fix for the module dependency calculation. If an explicit list of modules is included, the build will now include those modules and all the modules that they depend on.
1.0.1
An update to the builder to resolve some dependency issues and fix the bower config
1.0.0
Final standardisation of the api. Features deprecated in the 0.x.x series have been removed. From this point on breaking changes are indicated by a major version.
The builder api for hexagon has changed in this version to make theming easier. The builder can now export the theme variables in a variety of formats (sass, less, stylus, css variables, json, quantum).
AutoComplete
1
hx.autoCompleteSelection
Added
Creates a new AutoComplete set up on a detached element, wrapped in a selection
Button Group
1
2
hx.ButtonGroupoptionsObject
options
buttonClassString
Updated
Updated the default value to use the renamed hx-complement class
hx.buttonGroupSelection
Added
Fluid api version of ButtonGroup
hx.buttonGroupoptionsObject
options
buttonClassString
Updated
Updated the default value to use the renamed hx-complement class
Button
2
1
1
hx-btn
hx-action
Added
Added new action context class and updated default styles.
hx-btn
hx-btn-invert
Updated
Updated the invert styles for buttons to work nicer across different themes
hx-btn
hx-compliment
Removed
Use .hx-complement instead
hx-btn
hx-complement
Added
Styles the button with a color that complements the theme (light for a light theme, dark for a dark theme)
Card
1
hx.cardSelection
Added
Added the card api for creating cards and layout
Click Detector
1
hx.ClickDetector
removeExceptionClickDetector
Added
Added a method for removing an exception from the click detector
Color Picker
1
hx.colorPickerSelection
Added
Fluid api version of ColorPicker
Color
17
Color
desaturateColor
Removed
Use saturate(-value) instead.
Color
Removed
Use alpha() to get and alpha(value) to set the alpha property.
Color
Removed
Use green() to get and green(value) to set the green property.
Color
Removed
Use hue() to get and hue(value) to set the hue property. The value returned from hue() and expected by hue(value) is an integer between 0 and 360 instead of a value between 0 and 1.
Color
Removed
Use lightness() to get and lightness(value) to set the lightness property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
Removed
Use red() to get and red(value) to set the red property.
Color
Removed
Use saturation() to get and saturation(value) to set the saturation property. The value returned from hue() and expected by hue(value) is an integer between 0 and 100 instead of a value between 0 and 1.
Color
darkenColor
Removed
Use lighten(-value) instead.
Color
Removed
Use blue() to get and blue(value) to set the blue property.
Color
fadeInColor
Removed
Use fade(value) instead.
Color
fadeOutColor
Removed
Use fade(-value) instead.
Color
getTextColString
Removed
Use textCol() instead.
Color
lightnessColor
Removed
Use lightness(value) with a value between 0 and 100 instead of 0 and 1
Color
saturationColor
Removed
Use saturation(value) with a value between 0 and 100 instead of 0 and 1
Color
setHSLColor
Removed
Use hsl(value) instead.
Color
setRGBColor
Removed
Use rgb(value) instead.
Color
toArrayArray[Number]
Removed
Use rgb() or hsl() instead.
Component
1
hx.components.clear
Added
Clears all components from an element
Crumbtrail
1
hx.crumbtrailSelection
Added
Creates a new Crumbtrail set up on a detached element, wrapped in a selection
Dashboard
2
hx.Dashboard
Removed
The dashboard module was removed in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
DashboardWidgetextendsEventEmitter
Removed
The dashboard module was removed in this version.
The Drag Container module can be used as a replacement for the drag/drop functionality.
The Card module can be used as a replacement for the styles
Data Table
1
2
2
hx.DataTableextendsEventEmitter
Bugfix
Updated the compact sort picker to use the headerCellRenderer for each column
Bugfix
Updated the styles to make the compact mode more compact
hx.DataTable
suppressRenderBoolean
Removed
Use renderSuppressed() instead
hx.DataTable
suppressRenderDataTable
Removed
Use renderSuppressed(value) instead
hx.dataTableSelection
Added
Fluid api version of DataTable
Date Picker
1
2
hx.DatePicker
disableDatePicker
Removed
Use disabled(true) instead.
hx.DatePicker
enableDatePicker
Removed
Use disabled(false) instead.
hx.datePickerSelection
Added
Fluid api version of DatePicker
Date Time Picker
1
2
hx.DateTimePicker
disableDateTimePicker
Removed
Use disabled(true) instead.
hx.DateTimePicker
enableDateTimePicker
Removed
Use disabled(false) instead.
hx.dateTimePickerSelection
Added
Fluid api version of DateTimePicker
Drag Container
1
hx.dragContainerSelection
Added
Fluid api version of DragContainer
Drawing
1
hx.drawingSelection
Added
Fluid api version of Drawing
Dropdown
2
hx.Dropdown
addExceptionDropdown
Added
A method for adding exceptions to dropdowns - this means if the element provided is clicked, it will not cause the dropdown to close.
hx.Dropdown
removeExceptionDropdown
Added
A method for removing exceptions from dropdowns.
Extended Table
2
Removed
This module was replaced with the data table module in this version.
hx.TableextendsEventEmitter
Removed
Fluid
16
hx.labelSelection
Added
Fluid api for constructing labels
hx.checkboxSelection
Added
Fluid api for constructing checkboxes
hx.noticeSelection
Added
Fluid api for constructing notices
hx.notice.headSelection
Added
Fluid api for constructing notices
hx.notice.bodySelection
Added
Fluid api for constructing notices
hx.spinnerSelection
Added
Fluid api for constructing spinners
hx.spinner.wideSelection
Added
Fluid api for constructing wide spinners
hx.buttonSelection
Added
Fluid api for constructing hexagon styled buttons
hx.inputGroupSelection
Added
Fluid api for constructing input groups
hx.iconSelection
Added
Fluid api for constructing icons
hx.groupSelection
Added
Fluid api for constructing horizontal layout groups
hx.group.verticalSelection
Added
Fluid api for constructing vertical layout groups
hx.group.fixedSelection
Added
Fluid api for constructing horizontal layout groups that don't grow
hx.group.vertical.fixedSelection
Added
Fluid api for constructing vertical layout groups that don't grow
hx.sectionSelection
Added
Fluid api for constructing layout sections
hx.section.fixedSelection
Added
Fluid api for constructing layout sections that don't grow
Form
1
hx.validateFormObject
Bugfix
Updated to include text areas in the error checking
Inline Editable
1
hx.inlineEditableSelection
Added
Fluid api version of InlineEditable
Inline Picker
2
1
Added
Renamed the inline select module to be inline-picker
hx.InlinePickeroptionsObject
options
startValueString
Removed
The startValue option has been renamed to value
hx.InlinePickeroptionsObject
options
valueString
Added
The value to use when initialising the select.
Inline Select
1
Removed
This module was replaced with the inline picker module in this version
Label
1
1
hx-label
hx-compliment
Removed
Use .hx-complement instead
hx-label
hx-action
Added
Added new action context class and updated default styles.
Logo
1
Added
Added a new class to allow the addition of the theme logo in places other than the titlebar.
Menu
2
4
hx.MenuoptionsObject
options
alignString
Removed
Use dropdownOptions.align instead.
hx.MenuoptionsObject
options
modeString
Removed
Use dropdownOptions.mode instead.
hx.MenuoptionsObject
options
ddClassString
Removed
Use dropdownOptions.ddClass instead.
hx-menu
hx-compliment
Removed
hx-menu
hx-action
Added
Added new action context class and updated default styles.
hx.menuSelection
Added
Fluid api version of Menu
Meter
1
hx.meterSelection
Added
Fluid api version of Meter
Modal
3
1
1
Updated
Updated the structure and style of modal popups to allow the modal content to be used as a notification container.
hx.ModaloptionsObject
options
isClosableBoolean
Removed
This property has been replaced by closeWithShadeEnabled and closeButtonEnabled
hx.ModaloptionsObject
options
closeWithShadeEnabledBoolean
Added
Whether clicking on the shaded background around the modal should close it
hx.ModaloptionsObject
options
closeButtonEnabledBoolean
Added
Whether the modal should have a close button
hx.ModaloptionsObject
options
headerRenderer
Added
Added a new header renderer for modals so that the close button no longer has to be absolutely positioned in the title.
Notice
1
1
hx-notice
hx-compliment
Removed
Use .hx-complement instead
hx-notice
hx-action
Added
Added new action context class and updated default styles.
Number Picker
1
hx.numberPickerSelection
Added
Fluid api version of NumberPicker
Paginator
2
1
hx.Paginator
Removed
Use hx.Paginator(selector, options)
hx.Paginator
Added
Sets up a paginator.
hx.paginatorSelection
Added
Fluid api version of Paginator
Palette
14
3
hx-background-action
Added
Added new action context class.
hx-text-compliment
Removed
Use hx-text-complement instead
hx.theme.palette
complimentColString
Added
Removed
Use hx.theme.palette.complementCol instead
hx.theme.palette
complementColStringThecomplementarycolorusedbythecurrenttheme
Added
hx-text-complement
Added
Applies the complement color to the text in the element.
hx-background-complement
Added
Applies the complementary color to the background of the element. The text color will also be set so that it works well with the background color.
hx-border-action
Added
Applies the complementary color to the border-color of the element.
hx-text-action
Added
Added new action context class.
hx-background-compliment
Removed
Use hx-background-complement instead
hx-border-action
Added
Added new action context class.
hx.palette.context
Added
Adds a context class to an element.
// adds the 'hx-positive' class to the element, and removes all other context classes
hx.palette.context('.my-element', 'positive')
hx.palette.contextString
Added
Gets a context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.context('.my-element')
hx.palette.textContext
Added
Adds a text context class to an element.
// adds the 'hx-text-positive' class to the element, and removes all other text context classes
hx.palette.context('.my-element', 'positive')
hx.palette.textContextString
Added
Gets the text context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.textContext('.my-element')
hx.palette.backgroundContext
Added
Adds a background context class to an element.
// adds the 'hx-background-positive' class to the element, and removes all other background context classes
hx.palette.context('.my-element', 'positive')
hx.palette.backgroundContextString
Added
Gets the background context class of an element.
// gets the context of the element (by looking at the class of the element)
hx.palette.backgroundContext('.my-element')
Picker
2
1
1
2
Updated
The button type of pickers is now 'button'
Bugfix
Fixed an issue with the picker not rendering values correcly
hx.PickeroptionsObject
options
ddClassString
Removed
Use dropdownOptions.ddClass instead.
hx.PickeroptionsObject
options
startValueString
Removed
Use value instead.
hx.PickeroptionsObject
options
valueString
Added
The value to use when initialising the select.
hx.pickerSelection
Added
Fluid api version of Picker
Pivot Table
1
hx.pivotTableSelection
Added
Fluid api version of PivotTable
Plot
37
2
121
LineSeries
classString
Added
Gets the additional class applied to the series svg element.
Updated
Removed the deprecated content from all the Plot api's as well as the declarative graphing api (hx.plot), including replacing all of the _new_ prefixed methods/properties with their unprefixed alternatives.
hx.Graph
addAxisAxis
Removed
Use graph.addAxis(options) instead.
hx.Graph
useZoomBoolean
Removed
Use graph.zoomEnabled() instead. zoomEnabled(value) to set, zoomEnabled() to get.
hx.Graph
zoomStartNumber
Removed
Use graph.zoomRangeStart() instead. zoomRangeStart(value) to set, zoomRangeStart() to get.
hx.Graph
zoomEndNumber
Removed
Use graph.zoomRangeEnd() instead. zoomRangeEnd(value) to set, zoomRangeEnd() to get.
hx.Graph
useLabelsBoolean
Removed
Use graph.labelsEnabled() instead. labelsEnabled(value) to set, labelsEnabled() to get.
hx.Graph
useLegendBoolean
Removed
Use graph.legendEnabled() instead. legendEnabled(value) to set, legendEnabled() to get.
hx.Graph
legendPositionString
Removed
Use graph.legendLocation() instead. legendLocation(value) to set, legendLocation() to get.
hx.Axis
Removed
Use hx.Axis(options) instead.
hx.Axis
xVisibleBoolean
Removed
Use Axis.x.visible() instead. Axis.x.visible() to get, Axis.x.visible(value) to set.
hx.Axis
xFormatterString
Removed
Use Axis.x.formatter() instead. Axis.x.formatter() to get, Axis.x.formatter(value) to set.
hx.Axis
xMinNumber
Removed
Use Axis.x.min() instead. Axis.x.min() to get, Axis.x.min(value) to set.