-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor!: New separate entry modules for each component w/ theme support #1355
Conversation
* refactor(config): Updated tsconfig to standard format, and remove extraneous configs * refactor(jest): switched test back to ng-cli, also alias angular2-text-mask * chore: retest build * chore: updating test results * chore: update node version * feat(Autocomplete): Autocomplete now works with ChipList (#1326) * fix(Chips): update the ux for disabled chips (#1331) -darken the opacity to improve readability -update text color of disabled chips to look non-selectable -remove the X icon to further confer that this chip is read-only Co-authored-by: Michael Dill <[email protected]> * feat(NonIdealState): Non Ideal Loading (#1334) * Expanding non-ideal-state for use case with novo-loading * Expanding non-ideal-state for use case with novo-loading * Minor structure cleanup * Changed message on example * chore(ci): updating tokens * chore(ci): Other Tokens Updated * chore(): reverting commonjs tests * fixed tests * testing test summary * tweaking test summary * fix * fix last attempt * test * fix tsconfig * refactor(NgPackager): first step in tree-shaking * refactor(style): almost all styles removed from novo-elements.scss * BREAKING_CHANGES: Major SCSS updates * fix(build): missing script for nx * fix(build): Removing resize-observer-polyfill * fix(build): weird build error in chips missing `includes` * fixed all jest tests * fix(build): bad styleUrls * chore(build): updated test script * chore(build): Remove copy-scss script as it is handled by ng-packgr now * chore: forgot to remove script * chore(fix): Moved snapshot publish back to root Co-authored-by: Michael Dill <[email protected]> Co-authored-by: Michael Dill <[email protected]> Co-authored-by: antonyw89 <[email protected]>
* feat(Field): trying out a way to add data-auto-ids to the new novo-field elements * adding/changing field auto ids * using label instead of value
$GITHUB_STEP_SUMMARY |
Visit the preview URL for this PR (updated for commit ca550ef): https://novo-elements--pr1355-beta-kjsp2ge0.web.app (expires Thu, 12 Jan 2023 15:49:09 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f1783e19c2444272095017dd8ba433fff0ee3f61 |
* Added formatter for dateTimePicker * Small fix * exported date-time format * Added military date-time picker * Removed military time demo
…field definitions (#1358) * feat(QueryBuilder): adding isEmpty operator to query builder field definitions * fix: removing unused imports * fix(): changing non-string isEmpty operatators to isNull
* build(rxjs): updating rxjs to v7 * fixing newly added subject * moving resize-observer-polyfill to dev dep
* upgrading date-fns to v2 * updating more date-fns calls to DateUtil calls * updating some weekday typing * using legacyParse for all DateLike conversions to Date * adding some extra error handling in isWithinRange fn * removing console log * rebase with beta and updates to data-time-format for datafns v2
…#1357) * fix(xmldom): updated xmldom dependency to address security concern * removing xmldom altogether since it is unused
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.0...v1.4.1) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
chore(deps): bump loader-utils from 1.4.0 to 1.4.2 Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.0...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Dan Voegelin <[email protected]>
* refactor(angular2-textmask)!: replacing angular2-textmask usages * fixing unit tests and adding custom formatting option * removing console logs * workaround for bug with adding too many digits to date * better workaround for too many date digits bug
…ct controls (#1374) fix(NovoSelect): Fix issue with hints not displaying within Novo Select controls. Co-authored-by: Kevin Cable <[email protected]>
* fix(): addressing multiple high level security updates * adding back and updating htmlhint dep
novo-pagination element from deprecation of novo-table removal
import { NovoTitle } from './typography/title/title.component'; | ||
import { NovoText } from './typography/text/text.component'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This import order looks non alphabetical. Do we want to keep this?
import { Directive, Input, OnDestroy, TemplateRef, ViewContainerRef } from '@angular/core'; | ||
import { Subscription } from 'rxjs'; | ||
|
||
@Directive({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This directive seems new. Do we need this? Also I dont see this in the index.ts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is needed for talent experience to be able to do responsive components. If we end up not needing to support TX, we should remove this and put this on a feature branch.
if (Object.keys(tokens.spacing).includes(value)) { | ||
return tokens.spacing[value]; | ||
} | ||
const cssvar = getComputedStyle(document.documentElement).getPropertyValue(`--spacing-${value}`); // #999999 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this function widely supported?
@@ -9,6 +9,7 @@ export class ThemeColorDirective { | |||
|
|||
@HostBinding('class') | |||
get hb_textColor() { | |||
if (!this.theme) return ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is new. Do we need this?
import { NovoOptgroup } from './optgroup.component'; | ||
import { NovoPseudoCheckboxModule } from '../selection/index'; | ||
|
||
@NgModule({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this module go into a separate file?
@@ -117,7 +117,8 @@ export class NovoMenuService { | |||
panelClass: 'novo-menu', | |||
scrollStrategy: this.scrollStrategy.close(), | |||
}); | |||
// this.destroySubMenus(parentMenu); | |||
this.getLastAttachedOverlay().menu.isLeaf = false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this being added here?
@@ -0,0 +1,76 @@ | |||
:host { | |||
// @extend chips; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment
}); | ||
}); | ||
|
||
// xdescribe('Method: handleRemoveItemIfAllSelected(item)', () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bunch on commented and disabled tests in here, I know you didn't add them but we should remove these
@@ -0,0 +1,194 @@ | |||
import { Component, EventEmitter, HostBinding, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This module is changing a lot. Can we discuss this in more detail?
describe('Method: onScrollDown()', () => { | ||
it('should be defined.', () => { | ||
expect(component.onScrollDown).toBeDefined(); | ||
// component.onScrollDown(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comments
Description
Wip
refactor!: New separate entry modules for each component.
feature: Theme Support include darkmode
refactor(date-fns)!: updating date-fns to v2 #1347
build(rxjs): updating rxjs to v7 #1350
refactor(dragula): deprecating dragula directive and service #1363
refactor(angular2-textmask)!: replacing angular2-textmask usages #1365
Verify that...
npm start
andnpm run build
still worksSafari
,Chrome
andFirefox
npm run lint
passesnpm test
passes and code coverage is increasednpm run build
still worksBullhorn Internal Developers
Novo Automation
Screenshots