src-zone / material Goto Github PK
View Code? Open in Web Editor NEWA lightweight Material Design library for Angular based on Google's Material Components for the Web.
Home Page: https://material.src.zone
License: Apache License 2.0
A lightweight Material Design library for Angular based on Google's Material Components for the Web.
Home Page: https://material.src.zone
License: Apache License 2.0
When the native input of an mdcTextField is disabled, the mdcTextField itself should be styled differently (by applying the mdc-text-field--disabled class). This is not happening for text fields. The bug can easily be reproduced by disabling the text fields in the examples at: https://blox.src.zone/material/components/text-field.
Integrate the mdc-dialog component.
There are new versions of @commitlint/config-lerna-scopes available from npm.
No content found.
The api docs for these directives are mostly missing. Please add.
We currently test the Blox material components in the testsuite for our website. The tests should be moved to this repo. This will require some refactoring to drop the dependencies from the website and its infra from the unit tests.
There are new versions of @commitlint/cli available from npm.
No content found.
Hello,
Are you planning to update your project and the tutorial to angular 7 and angular cli 7 ?
We're opening this issue to inform you about problems with your dependencies.io configuration or build failures.
We'll add a comment here when we see problems. You can close this issue when
you have things resolved -- we'll open it back up if we detect new problems.
Helpful links:
Note: To help keep your repo as clean as possible, this is the only issue
that we're going to open and comment on. Feel free to delete the comments
that are made as you resolve them, if you want to keep this issue short and tidy.
There are new versions of codelyzer available from npm.
Enable the new rule by adding the following line in your tslint.json
config file:
"no-output-on-prefix-name": true
Thanks to eromano for the rule implementation!
templates-use-public
, no-access-missing-member
, invoke-injectable
and template-to-ng-template
no longer exist. Remove them from your tslint.json
configuration.I am using Blox material in my angular application. I followed all the steps mentioned in IE11 guide (https://blox.src.zone/material/guides/ie11). I'm still getting below error :
SCRIPT1002: Syntax Error
File: vendor.js, Line: 135186, Column: 1
In Vendor.js
class MDCComponent { (Line 135186)
Please let me know if I'm missing something
There are new versions of angulartics2 available from npm.
angularticsLabel
and angularticsValue
shortcuts to angulartics2On directiveAngulartics2Module.forRoot
as a second parameter// shown passing settings on init
Angulartics2Module.forRoot([Angulartics2GoogleAnalytics], {
developerMode: true,
pageTracking: {
clearIds: true,
},
});
angularticsEvent
to angularticsAction
Angulartics2Module.forChild
. Use Angulartics2Module
instead.Before
import { Angulartics2, Angulartics2GoogleAnalytics } from 'angulartics2';
After
import { Angulartics2 } from 'angulartics2';
import { Angulartics2GoogleAnalytics } from 'angulartics2/ga';
Hi, I would like to use this library but it is missing support for the Ivy rendering engine (Angular version 14). Is there any chance this repo can be updated to the latest version of Angular so that we can use it? Thanks.
Currently the mdcFocusTrap
directive only allows one trap to be active at a time.Trying to activate an mdcFocusTrap
while another one is already active results in an error being thrown. It would be nice if instead of an error, the newly activated focus-trap will 'pause' the previous focus-trap. On deactivation, it should activate (un-pause) the previous focus-trap again.
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because it uses your CI build statuses to figure out when to notify you about breaking changes.
Since we didn’t receive a CI status on the greenkeeper/initial
branch, it’s possible that you don’t have CI set up yet. We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
If you have already set up a CI for this repository, you might need to check how it’s configured. Make sure it is set to run on all new branches. If you don’t want it to run on absolutely every branch, you can whitelist branches starting with greenkeeper/
.
Once you have installed and configured CI on this repository correctly, you’ll need to re-trigger Greenkeeper’s initial pull request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.
Hello!
I have a list with clickable items. I want to have a checkbox before the items to select them but as I check the checkbox, the click event from the ListItem is fired. Any thoughts on how can I handle that?
Thanks for the great set of components.
Error in /turbo_modules/@angular/[email protected]/bundles/compiler.umd.js (26943:43)
this.getExtraNgModuleProviders is not a function
The above error occurred for every demo component.
To improve tree shaking of @blox/material code for dependend projects, please add the property "sideEffects"
with value false
to the package.json.
See material-components/material-components-web#2871
The mdcList directive should use the adapter/foundation combo of the mcw list.
When using the select box and outlined is true this error comes to the console when I click the select box.
I was using the official Stackblitz Select example when I discovered this.
ERROR TypeError: Cannot read property 'classList' of null
at EmulatedEncapsulationDomRenderer2.DefaultDomRenderer2.removeClass (dom_renderer.ts:181)
at DebugRenderer2.removeClass (services.ts:795)
at Object.removeClass (mdc.select.directive.ts:108)
at MDCLineRippleFoundation.activate (foundation.js:87)
at Object.activateBottomLine (mdc.select.directive.ts:127)
at MDCSelectFoundation.handleFocus_ (foundation.js:123)
at HTMLSelectElement.MDCSelectFoundation.this.focusHandler (foundation.js:34)
at ZoneDelegate.invokeTask (zone.js:421)
at Object.onInvokeTask (ng_zone.ts:262)
at ZoneDelegate.invokeTask (zone.js:420)
Integrate the mdc-grid-list component
When debugging the site, the sourcemaps for the @blox/material bundle point to the transpiled javascript, instead of the original typescript sources. (I.e. for mdc.button.directive.ts you will see javascript code in Chrome Devtools, instead of the typescript code).
This is probably a problem in the site/webpack.config.js, because testing in another project that depends on @blox/material does show the typescript sources correctly.
Add sample code for tab bars with icon labels to the documentation/demo site.
Hello,
When compiling my angular project, i keep receiving those warnings:
./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src/styles.scss)
Module Warning (from ./node_modules/postcss-loader/src/index.js):
Warning
(6914:3) start value has mixed support, consider using flex-start instead
I think that they are mainly related to the imported sass styles inside my styles.scss
file
@import "material-components-web/material-components-web";
Is there anyway to override the align-items: start;
property which causing this or to disable those warnings?
Thanks.
There are new versions of @angular/core available from npm.
No content found.
There are new versions of @angular/compiler-cli available from npm.
No content found.
There are new versions of @angular/common available from npm.
No content found.
There are new versions of @angular/forms available from npm.
No content found.
Hello,
I just wanted to report the following console error when using mdcList
directive with nonInteractive
property:
My source code was taken from https://blox.src.zone/material/components/list, below a short part of it:
<ul mdcList [nonInteractive]="true">
<li mdcListItem>
<i mdcListItemGraphic class="material-icons">share</i>
<span mdcListItemText>
Proxy
<span mdcListItemSecondaryText>Used to bypass CORS limitations on browsers</span>
</span>
<div mdcListItemMeta mdcSelect>
<select mdcSelectControl [(ngModel)]="settings.proxy.url">
<option *ngFor="let proxy of getProxies()" [value]="proxy.url">{{ proxy.name }}</option>
</select>
<label mdcFloatingLabel></label>
</div>
</li>
...
</ul>
The non interactive effect seems to work but i always keep getting the console error (when used inside a *ngFor
loop, it keeps printing a bunch of console errors).
Also, down below my dependencies versions:
Thanks.
Failed to compile.
./src/styles.scss (./node_modules/@angular-devkit/build-angular/src/angular-cli-files/plugins/raw-css-loader.js!./node_modules/postcss-loader/src??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src/styles.scss)
Module build failed (from ./node_modules/sass-loader/lib/loader.js):
undefined
^
Can't find stylesheet to import.
╷
7 │ @import "material-components-web/material-components-web";
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
stdin 7:9 root stylesheet
in D:\dashboard\src\styles.scss (line 7, column 9)
This is my styles.scss
$mdc-theme-primary: #6200ee;
$mdc-theme-secondary: #018786;
$mdc-theme-background: #fff;
@import "material-components-web/material-components-web";
**In angular.json**
"styles": [
"src/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"node_modules"
]
}
I am running Angular: 8.2.0
This seems to beintroduced with the upgrade to Angular9. To reproduce:
Another way to reproduce:
The mdcMenu closes when you click on a disabled menu item. After that you can't open it again. To reproduce:
There are new versions of @angular/router available from npm.
No content found.
Hi,
[disabled]
directive does not work on <button mdcIconButton>
tag.
Doc is broken too : https://blox.src.zone/material/components/icon-button
You can reproduce here : https://stackblitz.com/edit/angular-ipklwv (forked from doc's example)
To have more unform naming of component properties, rename the following properties:
On chrome mobile, with multiple sliders stacked above one another, dragging one slider also changes the value of the other slider. To reproduce:
Action 4 changes the value of the first slider.
Seems to only affect mobile browsers. On desktop (with mouse) cold not reproduce.
There are new versions of @angular/compiler available from npm.
No content found.
There are new versions of @commitlint/cli available from npm.
No content found.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.