doe-ui-core
v1.0.33
Published
Common UI Library created for NSW DoE frontend projects. Built upon Vue.js and Vuetify.
Readme
doe-ui-core
Common UI Library created for NSW DoE frontend projects. Built upon Vue.js and Vuetify.
How to use
It is recommended to download
doe-ui-templateand start new project's development becausedoe-ui-templateusesdoe-ui-coreand it has everything configured already.If you want to set up a new project yourself, you can: Create a new Vue project, recommend to use
vue-cli
yarn global add @vue/cli
# OR
npm install -g @vue/cli
vue create project-nameAdd Vuetify as it is a dependency for this UI lib
vue add vuetifyThen install @nswdoe/doe-ui-core
yarn add @nswdoe/doe-ui-core
# OR
npm install @nswdoe/doe-ui-coreImport components in your project
In your project, simply import the UI Lib components you want to use, for example:
import { AppBar, NavigationDrawer, Profile } from '@nswdoe/doe-ui-core';Version
1.0.26Change Log
#1.0.26 - 07 Jul 2020
- Add
PKCEAuthorisation Code capability toOAuthplugin
#1.0.25 - 01 Jul 2020
- OAuth plugin updates
- Plugin will now re-authenticate with sso on every app refresh
- Fix issue with redirecting to subroutes with params after sso auth
- Popup auth is now optional with
enablePopupAuthoption. Default false - auth will redirect current page to sso login - Added
loadedproperty, accessible via$OAuth.loadedwhich is set to true after the access_token is set. - New plugin options:
secureApp- makes all routes protected by default - default falsedevIdTokenOverride- use a custom id-token for dev testing e.g. with different rolesenablePopupAuth- will attempt to show a separate pop-up for sso login to preserve current app state - default false
#1.0.24 - 29 Jun 2020
- Add
Weathercomponent
#1.0.23 - 18 Jun 2020
- Fixed action button styling in
DataTable
#1.0.22 - 16 Jun 2020
- Fixed reference error to
DataTableFieldTypesinDataTable
#1.0.21 - 16 Jun 2020
- Fixed spelling error on
DataTable,FILED_TYPE_*->FIELD_TYPE_*and renamed reference fromFiledCustomTypestoDataTableFieldTypes. - Add additional slot to
AppBarfor app icon's container,appIconContainer.
#1.0.20 - 03 Jun 2020
- Remove Safari from suggested browsers in
IeBlocker - Fix
Chipslinting errors
#1.0.19 - 03 Jun 2020
- Add
Chipscomponent - Add
publicAppprop toIeBlockerwhich adds browser suggestions for Safari and MS Edge in addition to Chrome
#1.0.18 - 02 Jun 2020
- Add
homeLinkproperty toAppBarcomponent
#1.0.17 - 29 May 2020
- Fix
DataTablereferencing error
#1.0.16 - 27 May 2020
- Add
IeBlockercomponent - Add background options to
Bannercomponent - Fix margins in
NavigationDrawersub-menus
#1.0.15 - 21 May 2020
- Add
AdsButtoncomponent - Pass through binding of attributes from
NavigationDrawerto underlyingv-navigation-drawer
#1.0.14 - 19 May 2020
- Apply vue's
strongly-recommendedlinting rules - Added new
Alertcomponent - Restyling for
NavigationDrawer - Added notification counter feature to
NavigationDrawer - Fix center alignment on
InitialsIcon
#1.0.13 - 07 May 2020
- Fix timeout detection issue with OAuth plugin
- Remove console log from AppIcon component
#1.0.12 - 24 Apr 2020
- Add
Steppernavigation component
#1.0.11 - 17 Apr 2020
- Add
OAuthplugin
#1.0.10 - 16 Apr 2020
Breaking Changes
AppBarschoolPickerslot renamed todataSwitcher
Other changes
- Add
preMenuandpostMenuslots onNavigationDrawer - Remove requirement for
clickHanderfunction inNavigationDraweritem - Update
Bannerstyling to match ADS - Add
AppBarwithbackButtonandextensionslots to support mobile designs Profilemenu web accessibility and IE11 fixesProfilemenu "Update Secret Question" renamed to "Update Secret Questions"- Add new
BlockUIcomponent for blocking UI when loading - Fix
MyEssentialsasynchronous loading issue
#1.0.9 - 03 Mar 2020
- Data table search bug fix
#1.0.8 - 21 Feb 2020
- Updated DataSwitcher component to meet new ADS standard
#1.0.7 - 20 Feb 2020
- Added DataTable component, its document is within the component folder
#1.0.6 - 11 Feb 2020
- Renamed SchoolPicker to DataSwitcher
#1.0.5 - 11 Feb 2020
- Added Banner component
#1.0.3 & #1.0.4 - 28 Jan 2020
- Updated NavigationDrawer to support sub-items.
- Upgraded Vuetify version to 2.2.4 in peerDependencies
#1.0.1 & #1.0.2 - 09 Dec 2019
- Updated AppBar and AppIcon, Added Dialog & InfoCard
#1.0.0 - 02 Dec 2019
- Released version 1.0.0
