Skip to content
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

v1.3.0 #205

Merged
merged 130 commits into from
Oct 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
130 commits
Select commit Hold shift + click to select a range
c5f9dac
Updated scss-lint for codeclimate
grahamhency Sep 23, 2019
6d7080d
Migrated Style Guide and setup build process
grahamhency Oct 2, 2019
dd93fd6
Update font stack
Oct 3, 2019
5ec2d5b
fix invalid variable reference
Oct 3, 2019
ffb0101
Add go-select documentation
StevenUlmer Oct 3, 2019
f204dad
CHORE: Add Placeholder Binding to GoSelect
mwagz Oct 7, 2019
8e27f46
Add Placeholder to Test Project
mwagz Oct 7, 2019
94da5b7
Merge pull request #247 from mobi/select_box_documentation
grahamhency Oct 7, 2019
01370e8
Merge pull request #251 from mobi/add_placeholder_to_goselect
grahamhency Oct 7, 2019
823a32e
Add Placeholder to GoSelect Documentation
mwagz Oct 7, 2019
47675c0
Adds ability to brand selected accordion and side navigation item colors
StevenUlmer Sep 9, 2019
edf5add
update branding color to be observable
StevenUlmer Sep 26, 2019
504f413
update gobranding service to goconfig service
StevenUlmer Oct 7, 2019
f0d6eea
add documentation
StevenUlmer Oct 7, 2019
fb62d74
fix build
StevenUlmer Oct 7, 2019
ac2f534
Merge pull request #252 from mobi/update_goselect_docs
grahamhency Oct 7, 2019
b5e8d9c
Updated contribution for dev branching
grahamhency Oct 8, 2019
e15fbe2
Updated contributing and pr template
grahamhency Oct 8, 2019
99168f1
add distinctuntilkeychanged to brand color subscriptions
StevenUlmer Oct 8, 2019
dae21eb
export goConfigInterface in public api
StevenUlmer Oct 8, 2019
459328e
Merge pull request #254 from mobi/update_contribution
grahamhency Oct 8, 2019
c0a2d1b
Ability to choose which columns to sort by in table
StevenUlmer Sep 27, 2019
1dc287c
add tests for sorting by column
StevenUlmer Oct 8, 2019
3e96520
Merge pull request #167 from mobi/branding
StevenUlmer Oct 8, 2019
fdc135b
Add loading input to go-select
Oct 8, 2019
6a7f38d
Added documentation for action sheet
grahamhency Oct 8, 2019
468e209
Added documentation on the structure of the action sheet
grahamhency Oct 8, 2019
6bde68c
Merge pull request #259 from mobi/chore_action_sheet_docs
grahamhency Oct 9, 2019
51738fa
Move + update PR template
patrick-lewandowski Oct 9, 2019
518fe87
add additional comments to PR template
patrick-lewandowski Oct 9, 2019
5465eea
Merge pull request #258 from mobi/chore_add_loading_input_to_go_select
jaredami Oct 9, 2019
4e82d21
Merge pull request #262 from patryk0605/pr-template
grahamhency Oct 9, 2019
8a0780b
add documentation for column sorting on table
StevenUlmer Oct 9, 2019
d286e4a
Fix button group helper class not working per issue https://github.co…
patrick-lewandowski Oct 9, 2019
5289d2d
FEATURE: Add header and icon to Off Canvas Component
deotte Oct 4, 2019
e9d5dd0
Support HTML with toast message per issue https://github.com/mobi/gop…
patrick-lewandowski Oct 9, 2019
9d8e904
option for Toggle component to render label before or after
Oct 4, 2019
c968d05
Add z-index for loading screens to z-index function
Oct 10, 2019
01d00a3
Merge pull request #210 from mobi/table_column_sort
grahamhency Oct 11, 2019
6e0e7b9
Merge pull request #264 from patryk0605/button-group
grahamhency Oct 11, 2019
d1a9360
Merge pull request #266 from patryk0605/toast-html
grahamhency Oct 11, 2019
9194625
Merge pull request #243 from eligolding/switch-toggle
grahamhency Oct 11, 2019
c0ac40b
Added documentation for dark/light loader types
grahamhency Oct 14, 2019
7e8263b
Added docs for a 5 column layout
grahamhency Oct 14, 2019
a99b4e3
Merge pull request #273 from mobi/chore_5_column_docs
grahamhency Oct 14, 2019
35b7a8e
Added documentation for accordion slim and theme bindings
grahamhency Oct 14, 2019
2668e0a
Merge pull request #270 from mobi/chore_z_index_for_load_screen
jaredami Oct 14, 2019
cb31eba
BUG: fix go-select dropdowns being cut off in go-accordian-panels (#267)
jaredami Oct 14, 2019
94fa1f0
Merge pull request #274 from mobi/chore_theme_slim_docs_accordion
grahamhency Oct 14, 2019
5824be5
Fixing issue with style guide building from accordion docs
grahamhency Oct 14, 2019
ed9f871
Merge pull request #275 from mobi/bugfix_accordion_docs_title
grahamhency Oct 14, 2019
80b2bc8
Removed gosheets references from documentation
grahamhency Oct 14, 2019
93b143c
Updated button variants and general design
grahamhency Oct 14, 2019
a34187f
Change concatenation to interpolation on button function
grahamhency Oct 14, 2019
9594b40
Merge pull request #271 from mobi/chore_button_design_update
grahamhency Oct 14, 2019
1a41c1a
Icon Button Documentation (#268)
jaredami Oct 14, 2019
dcf5a27
Add appendTo input to go-select (#260)
jaredami Oct 14, 2019
61ee914
Merge pull request #272 from mobi/chore_loader_type_docs
grahamhency Oct 15, 2019
19b831d
Update box-shadows per https://github.com/mobi/goponents/issues/197
patrick-lewandowski Oct 9, 2019
74240db
update box-shadow variable names to be consistent with DSM
patrick-lewandowski Oct 14, 2019
57b6472
Merge pull request #276 from mobi/chore_remove_gosheets_references_in…
grahamhency Oct 15, 2019
b49cfb4
Chore Switch Toggle Docs
grahamhency Oct 15, 2019
ca37f7a
Merge pull request #278 from mobi/chore_switch_toggle_docs
grahamhency Oct 16, 2019
b9acb47
Chore Radio Button Docs
grahamhency Oct 16, 2019
527f17f
Fixing typo in docs
grahamhency Oct 17, 2019
8e263aa
Merge pull request #279 from mobi/chore_radio_button_docs
grahamhency Oct 17, 2019
3abfe6b
Add branding input to tester
Oct 15, 2019
4c31bd3
Add contrast ratio methods
Oct 15, 2019
171d87f
Make it so color and background of menu icon changes based on brandColor
Oct 17, 2019
d70f096
Move contrast methods to config service
Oct 17, 2019
00d9182
Add enableBranding input
Oct 17, 2019
66981f6
Add toggle to test enableBranding and refactor header component
Oct 17, 2019
b397430
Fix icon color when toggling off enableBranding
Oct 17, 2019
80990f5
Fix bug
Oct 17, 2019
a683ebe
Remove buttonVariant input on go-icon-button; handle icon color in he…
Oct 18, 2019
59c71aa
Add toggleHeaderBrandingEnabled function to config service
Oct 18, 2019
8a5400b
Update config docs
Oct 18, 2019
97be9ed
Fix header component test
Oct 18, 2019
1e855e3
Remove unused property
Oct 18, 2019
d59c5a3
Remove mention of passing color names into setBrandColor
Oct 18, 2019
cf169f7
Darken go-icon-button hover state background
Oct 18, 2019
9dd8b49
Adjust timezone values to address issue https://github.com/mobi/gopon…
patrick-lewandowski Oct 21, 2019
78889a8
Update box-shadow for search to original value
patrick-lewandowski Oct 21, 2019
21d7123
Merge pull request #261 from patryk0605/box-shadows
grahamhency Oct 21, 2019
d582ed5
PR Revisions
Oct 21, 2019
a68d29f
Added documentation for checkbox
grahamhency Oct 22, 2019
3810fa2
use default timezone for Intl.DateTimeFormat
patrick-lewandowski Oct 22, 2019
dd9a0dc
Remove iconModifier binding from go-icon within go-button
Oct 22, 2019
8ae3299
Merge pull request #283 from mobi/chore_checkbox_documentation
grahamhency Oct 22, 2019
5e68ded
Merge pull request #281 from mobi/feature_ability_to_brand_top_left_h…
grahamhency Oct 23, 2019
1b8bd2a
Merge pull request #282 from patryk0605/datepicker-timezone
StevenUlmer Oct 23, 2019
acaed40
Adds a go footer to be used with the layout.
StevenUlmer Sep 26, 2019
cf81358
remove scroll from content
StevenUlmer Oct 7, 2019
1ad556a
fix css around layout nav with overflow
StevenUlmer Oct 8, 2019
7f49cf1
add documentation for footer
StevenUlmer Oct 22, 2019
21006eb
fix styles around copy button and layout
StevenUlmer Oct 23, 2019
8f76eee
Merge pull request #209 from mobi/go_footer
StevenUlmer Oct 23, 2019
fa217bc
address some feedback and fixes
deotte Oct 24, 2019
224e2a3
Adds Go File Upload
devchris Aug 30, 2019
16bb090
Adds Go File Upload
devchris Aug 30, 2019
1b36de1
Adds modules to spec file
devchris Aug 30, 2019
f332d9c
Adds ability to remove file from selected list
StevenUlmer Sep 30, 2019
a1b1c7b
Add drag and drop ability to file upload
StevenUlmer Oct 8, 2019
f005dff
add tests for file-upload
StevenUlmer Oct 8, 2019
da62d2a
fix build errors on file upload
StevenUlmer Oct 8, 2019
1ee4e8c
cleanup styles around file upload
StevenUlmer Oct 9, 2019
7607796
create docs for file upload
StevenUlmer Oct 9, 2019
455ef06
add dark theme to file upload
StevenUlmer Oct 23, 2019
da1266f
export drag and drop directive
StevenUlmer Oct 23, 2019
63c737d
add positive checkmark for file upload
StevenUlmer Oct 23, 2019
e743890
final style changes
deotte Oct 24, 2019
fa952ce
Merge branch 'v1.3.0' into feature_add_icon_and_header_to_off_canvas
deotte Oct 24, 2019
450c9d5
control state of per page dropdown from table config
Oct 30, 2019
e09ea73
Merge pull request #293 from eligolding/bug/per-page-dropdown
StevenUlmer Oct 31, 2019
d3b7e27
Go Select Async Items
StevenUlmer Oct 24, 2019
31f2f63
Changed header shadow to large
grahamhency Oct 24, 2019
c35edcc
Stop search from shifting left
grahamhency Oct 24, 2019
50e270d
Fixed styling of menu icon
grahamhency Oct 24, 2019
18306aa
Removed branding from background of logo on collapse
grahamhency Oct 24, 2019
9c84290
Added the ability to specify the color of the menu icon in the header
grahamhency Oct 25, 2019
880d77c
Changed behavior of active indicator on side nav
grahamhency Oct 30, 2019
f8d6d75
Added docs for overriding header font color
grahamhency Oct 31, 2019
be65b7b
Fix search styling
grahamhency Oct 31, 2019
61db8b1
Fixed failing header creation test
grahamhency Oct 31, 2019
b5a9e3f
Finish docs for configuration
grahamhency Oct 31, 2019
a7ae2c7
Minor adjustments
grahamhency Oct 31, 2019
0ec0d50
Merge pull request #149 from mobi/go_file_upload
grahamhency Oct 31, 2019
dced280
Merge pull request #294 from mobi/chore_layout_adjustments
grahamhency Oct 31, 2019
d366679
Merge pull request #265 from deotte/feature_add_icon_and_header_to_of…
grahamhency Oct 31, 2019
8dc17d6
Merge pull request #284 from mobi/go_select_async_items
StevenUlmer Oct 31, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
## PR Checklist
Please check if your PR fulfills the following requirements:

<!-- Please check all that apply using "x". -->

- [ ] The commit message follows our guidelines: https://github.com/mobi/goponents/blob/master/CONTRIBUTING.md
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)


## PR Type
What kind of change does this PR introduce?

<!-- Please check the one that applies to this PR using "x". -->

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, local variables)
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Other... Please describe:


## What is the current behavior?
<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->

Issue Number: N/A


## What is the new behavior?


## Does this PR introduce a breaking change?

<!-- Please check either yes or no using "x". -->

- [ ] Yes
- [ ] No


<!-- If this PR contains a breaking change, please describe the impact and migration path for existing applications below. -->


## Other information
12 changes: 6 additions & 6 deletions .sass-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,22 @@ rules:
# Name Formats
class-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM
function-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM
id-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM
mixin-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM
placeholder-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM
variable-name-format:
- 1
- convention: hyphenatedbem
- convention: hyphenated_BEM

# Style Guide
attribute-quotes: 1
Expand Down
36 changes: 20 additions & 16 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@ _**Note:** The guide for contributing to this repo is based on the [contribution
## Code of Conduct
Please read and follow our [Code of conduct](https://github.com/mobi/goponents/blob/master/CODE_OF_CONDUCT.md).

## Got a question, problem, or feedback?
Feel free to open up [an issue](https://github.com/mobi/goponents/issues/new/choose) using the appropriate template.

When any sort of issue is created, depending on the impact or urgency of the issue, one of our [contributors](https://github.com/mobi/goponents/graphs/contributors) will respond as quickly as appropriate on the issue itself. We will try to give a timeline and release schedule for any request that is made.

We would also welcome anyone to open up a [pull request]() for a bug or issue experienced in order to expedite the process.

## Feature requests
You can request a new feature by submitting an issue to our [GitHub Repository](https://github.com/mobi/goponents/issues). If you would like to _implement_ a new feature, please submit an issue with a proposal for your work first.

Expand All @@ -19,11 +12,15 @@ Our team will first make sure of the following:
2. Where it fits into our current road map.
3. What design resources and support will be needed before the feature work can begin.

Please consider what kind of change it is:
## Working Issues
Before working on an issue, you must claim it. To do so, simply comment on the issue stating that you're looking into it.
Once claimed, a contributor will modify the issue and apply the appropriate labels and milestones.

For a **Major Feature**, first open an issue and outline your proposal so that it can be discussed. This will also allow us to better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
### What issues can be worked?

**Small Features** can be crafted and directly submitted as a Pull Request so long as they have the appropriate design support.
Any issue that does not have the `Needs Triaged` milestone can be worked.

Issues labeled as `bugs` take priority over general a `chore` or `feature`.

## Submitting a pull request (PR)
Before you submit your pull request (PR) consider the following guidelines:
Expand All @@ -48,13 +45,20 @@ Before you submit your pull request (PR) consider the following guidelines:
```bash
git push origin my-branch-name
```
9. In GitHub, send a pull request to `goponents:master`.
- If we suggest changes then:
1. Make the required updates.
2. Re-run the test suite to ensure tests are still passing.
3. Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
9. In GitHub, send a pull request to `goponents:dev`.
- Please format the description of your PR with our [pull request template](https://github.com/mobi/goponents/blob/master/.github/PULL_REQUEST_TEMPLATE.md)
- If we suggest changes then:
1. Make the required updates.
2. Re-run the test suite to ensure tests are still passing.
3. Rebase your branch and force push to your GitHub repository (this will update your Pull Request):
```
git rebase master -i
git rebase dev -i
git push -f
```

## Got a question, problem, or feedback?
Feel free to open up [an issue](https://github.com/mobi/goponents/issues/new/choose) using the appropriate template.

When any sort of issue is created, depending on the impact or urgency of the issue, one of our [contributors](https://github.com/mobi/goponents/graphs/contributors) will respond as quickly as appropriate on the issue itself. We will try to give a timeline and release schedule for any request that is made.

We would also welcome anyone to open up a [pull request]() for a bug or issue experienced in order to expedite the process.
112 changes: 111 additions & 1 deletion angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,117 @@
}
}
}
},
"go-style-guide": {
"root": "projects/go-style-guide/",
"sourceRoot": "projects/go-style-guide/src",
"projectType": "application",
"prefix": "app",
"schematics": {
"@schematics/angular:component": {
"styleext": "scss"
}
},
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/go-style-guide",
"index": "projects/go-style-guide/src/index.html",
"main": "projects/go-style-guide/src/main.ts",
"polyfills": "projects/go-style-guide/src/polyfills.ts",
"tsConfig": "projects/go-style-guide/tsconfig.app.json",
"assets": [
"projects/go-style-guide/src/favicon.ico",
"projects/go-style-guide/src/assets",
"projects/go-style-guide/src/_redirects"
],
"styles": [
"projects/go-style-guide/src/styles/styles.scss"
],
"scripts": [],
"stylePreprocessorOptions": {
"includePaths": [
"projects/go-style-guide/src/styles"
]
},
"es5BrowserSupport": true
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "projects/go-style-guide/src/environments/environment.ts",
"with": "projects/go-style-guide/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "go-style-guide:build"
},
"configurations": {
"production": {
"browserTarget": "go-style-guide:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "go-style-guide:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/go-style-guide/src/test.ts",
"polyfills": "projects/go-style-guide/src/polyfills.ts",
"tsConfig": "projects/go-style-guide/tsconfig.spec.json",
"karmaConfig": "projects/go-style-guide/karma.conf.js",
"styles": [
"projects/go-style-guide/src/styles.css"
],
"scripts": [],
"assets": [
"projects/go-style-guide/src/favicon.ico",
"projects/go-style-guide/src/assets"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/go-style-guide/tsconfig.app.json",
"projects/go-style-guide/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "go-lib"
}
}
18 changes: 18 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
"package": "npm run build_lib && npm run npm_pack",
"publish": "npm run package && cd dist/go-lib && npm publish",
"publish_local": "npm run package && node ./local_install.js",
"sass-lint": "node_modules/.bin/sass-lint -c .sass-lint.yml"
"sass-lint": "node_modules/.bin/sass-lint -c .sass-lint.yml",
"style_guide": "ng serve --project=go-style-guide",
"style_guide_publish": "ng build --prod --project=go-style-guide"
},
"private": true,
"engines": {
Expand All @@ -43,6 +45,9 @@
"@ng-select/ng-select": "^2.20.5",
"classlist.js": "^1.1.20150312",
"core-js": "^2.5.4",
"faker": "4.1.0",
"highlight.js": "^9.13.1",
"ngx-highlightjs": "^3.0.1",
"npm": "^6.10.1",
"rxjs": "~6.5.2",
"web-animations-js": "^2.3.2",
Expand Down
2 changes: 2 additions & 0 deletions projects/go-lib/src/lib/animations/accordion.animation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ import { easing, timing } from './_configs';
export const accordionAnimation: AnimationTriggerMetadata = trigger('accordionAnimation', [
state('open', style({
height: '*',
overflow: 'visible',
visibility: 'visible'
})),
state('close', style({
height: 0,
overflow: 'hidden',
visibility: 'hidden'
})),
transition('open <=> close', [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
class="go-accordion-panel"
[ngClass]="containerClasses"
>
<span
class="go-accordion-panel--selected"
[ngStyle]="{'background': brandColor}"
></span>
<header
[attr.aria-expanded]="_expanded"
class="go-accordion-panel__header"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,8 @@
border: 1px solid $theme-light-border;
border-bottom-width: 0;
color: $theme-light-color;
overflow: hidden;
overflow: visible;
position: relative;

&::before {
@include transition(opacity);

background: $base-primary-gradient;
background-color: $base-primary;
content: '';
height: 100%;
left: 0;
opacity: 0;
position: absolute;
width: 4px;
z-index: 1;
}
}

.go-accordion-panel--first {
Expand All @@ -36,8 +22,14 @@
}

.go-accordion-panel--active {
&::before {
opacity: 1;
.go-accordion-panel--selected {
content: ' ';
height: 100%;
left: 0;
position: absolute;
transition: all 0.25s ease-in;
width: 4px;
z-index: 1;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { BrowserAnimationsModule } from '@angular/platform-browser/animations';

import { GoAccordionPanelComponent } from './go-accordion-panel.component';
import { GoIconModule } from '../go-icon/go-icon.module';
import { GoConfigService } from '../../go-config.service';

describe('GoAccordionPanelComponent', () => {
let component: GoAccordionPanelComponent;
Expand All @@ -14,6 +15,9 @@ describe('GoAccordionPanelComponent', () => {
imports: [
BrowserAnimationsModule,
GoIconModule
],
providers: [
GoConfigService
]
})
.compileComponents();
Expand Down
Loading