Code Monkey home page Code Monkey logo

link-preview's Introduction

angular-material-extensions's logo

@angular-material-extensions/link-preview - Angular open source UI library to preview web links powered by ngx-linkifyjs and material design

npm version npm demo Join the chat at https://gitter.im/angular-material-extensions/Lobby CircleCI branch Build Status Coverage Status dependency Status devDependency Status Greenkeeper Badge license Awesome

@angular-material-extensions/link-preview demo

multiple link preview

@angular-material-extensions/link-preview demo with multiple preview

Built by and for developers ❤️

Do you have any question or suggestion ? Please do not hesitate to contact us! Alternatively, provide a PR | open an appropriate issue here

If did you like this project, support angular-material-extensions by starring ⭐ and sharing it 📢

Table of Contents

View all the directives and components in action at https://angular-material-extensions.github.io/link-preview

  • Angular (requires Angular 2 or higher, tested with V7)
npm i @angular/cdk @angular/material @angular/animations @angular/http 

or use angular schematics like e.g:

ng add @angular/material 

Installation

Install above dependencies via npm.

Now install @angular-material-extensions/link-preview via:

npm install --save @angular-material-extensions/link-preview

SystemJS

Note:If you are using SystemJS, you should adjust your configuration to point to the UMD bundle. In your systemjs config file, map needs to tell the System loader where to look for @angular-material-extensions/link-preview:

map: {
  '@angular-material-extensions/link-preview': 'node_modules/@angular-material-extensions/link-preview/bundles/link-preview.umd.js',
}

Once installed you need to import the main module:

import { MatLinkPreviewModule } from '@angular-material-extensions/link-preview';

The only remaining part is to list the imported module in your application module. The exact method will be slightly different for the root (top-level) module for which you should end up with the code similar to (notice MatLinkPreviewModule .forRoot()):

import { MatLinkPreviewModule } from '@angular-material-extensions/link-preview';

@NgModule({
  declarations: [AppComponent, ...],
  imports: [MatLinkPreviewModule.forRoot(), ...],  
  bootstrap: [AppComponent]
})
export class AppModule {
}

Other modules in your application can simply import MatLinkPreviewModule:

import { MatLinkPreviewModule } from '@angular-material-extensions/link-preview';

@NgModule({
  declarations: [OtherComponent, ...],
  imports: [MatLinkPreviewModule, ...], 
})
export class OtherModule {
}

Usage

Directives

matLinkPreview used to find and parse links from any text input - should be used in combination with <mat-link-preview-container> to render and preview the found links

e.g:

<mat-form-field class="demo-full-width" appearance="outline">
  <mat-label>Enter here your text here with few links to preview ;)</mat-label>
  <textarea matInput matTextareaAutosize matLinkPreview minRows="6"></textarea>
</mat-form-field>

Components

<mat-link-preview-container> the container that hold the links to preview

option bind type default description
color Input() string primary the color to use for the button of the url - options --> `primary
multiple Input() boolean false whether to find, parse and render one single or multiple links
showLoadingsProgress Input() boolean true whether to show and render a loading spinner while fetching the link to preview

e.g:

<mat-link-preview-container color="primary" [multiple]="true"></mat-link-preview-container>

Full example code

<div class="container" fxFlex.xs="100" fxFlex.sm="70" fxFlex="50">
    <div fxLayout="column" fxLayoutAlign="center">

     <!-- here -->
      <mat-form-field class="demo-full-width" appearance="outline">
        <mat-label>Enter here your text here with few links to preview ;)</mat-label>
        <textarea matInput matTextareaAutosize matLinkPreview minRows="6"></textarea>
        <mat-link-preview-container [multiple]="true"></mat-link-preview-container>
      </mat-form-field>
      <!-- #### -->
      
    </div>
</div>

Please checkout the full documentation here

$ git clone https://github.com/angular-material-extensions/link-preview.git
  • setup the @angular-material-extensions/link-preview package
$ gulp setup
  • navigate to the demo app directory
$ cd demo
  • install the dependencies and run the app
$ npm i && npm start
  • the app is now hosted by http://localhost:4200/
  1. clone this repo
  2. Install the dependencies by running npm i
  3. setup the library gulp setup
  4. Navigate to the demo app's directory
  • cd demo _ npm i && npm start


Built by and for developers ❤️ we will help you 👊


Copyright (c) 2018 Anthony Nahas. Licensed under the MIT License (MIT)

link-preview's People

Contributors

anthonynahas avatar greenkeeper[bot] avatar jsdelivrbot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

link-preview's Issues

Can I use this without the textarea input?

I would like to use this in a chat application and simply pass it the message in a message thread to display a link-preview if the message contains a url. Can I do that?

Angular 10 Error: Failed to compile entry-point @angular-material-extensions/link-preview (es2015 as esm2015) due to compilation errors:

Bug Report or Feature Request (mark with an x)

- [ x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Versions

Repro steps

The log given by the failure

ERROR in Failed to compile entry-point @angular-material-extensions/link-preview (es2015 as esm2015) due to compilation errors:
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:255:26 - error NG1010: Value at position 3 in the NgModule.imports of MatLinkPreviewModule is not a reference: [object Object]

255 imports: [
~
256 CommonModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
261 MatProgressSpinnerModule,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262 ],
~~~~~~~~~~~~~~~~~

Desired functionality

Mention any other details that might be useful

An in-range update of cssnano is breaking the build 🚨

Version 4.0.4 of cssnano was just published.

Branch Build failing 🚨
Dependency cssnano
Current Version 4.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

cssnano is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes 4.0.4

Bug Fixes

  • postcss-merge-longhand don't drop border-width with custom property from border shorthand.
  • postcss-merge-longhand don't convert currentColor.
  • postcss-merge-longhand don't merge border properties if there is a shorthand property between them.
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Binding data after link preview

in my case i use this amazing library for post feed to get url link preview...

how to get data after previewing ?

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Versions

Repro steps

The log given by the failure

Desired functionality

Mention any other details that might be useful

An in-range update of postcss is breaking the build 🚨

Version 7.0.2 of postcss was just published.

Branch Build failing 🚨
Dependency postcss
Current Version 7.0.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

postcss is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes 7.0.2
  • Fix warning text (by @rapzo).
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of core-js is breaking the build 🚨

The dependency core-js was updated from 2.5.7 to 2.6.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

core-js is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes for 2.6.0 - 2018.12.05
Commits

The new version differs by 11 commits.

  • f980318 2.6.0
  • f0b4154 add es6.regexp.exec as a direct dependency of _fix-re-wks for prevent breakage of existent code
  • a221e2a replace redefine by hide because of Chrome 38 bug with symbols conversion
  • 41e41e9 add some caps for the library version
  • 79db861 Merge pull request #458 from nicolo-ribaudo/backport-453
  • b0a70f9 Backport 41a8b12c8e641061e3576f89023f0a8fa903b81b
  • f77f88e Backport gh-453
  • 04b76e8 Merge pull request #435 from nicolo-ribaudo/backport-named-replace
  • 2b102b7 Polyfll named groups in RegExp#@@replace
  • fd64c48 Merge pull request #428 from nicolo-ribaudo/backport-es2015-regex
  • bc6ed09 Make RegExp#[Symbol.*] methods call exec

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/lodash is breaking the build 🚨

The devDependency @types/lodash was updated from 4.14.118 to 4.14.119.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

@types/lodash is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Action required: Greenkeeper could not be activated 🚨

🚨 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 App’s white list on Github. You'll find this list on your repo or organization’s settings page, under Installed GitHub Apps.

An in-range update of autoprefixer is breaking the build 🚨

The devDependency autoprefixer was updated from 9.7.3 to 9.7.4.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

autoprefixer is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: CircleCI is running your tests (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Release Notes for 9.7.4
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @ng-bootstrap/ng-bootstrap is breaking the build 🚨

Version 2.2.1 of @ng-bootstrap/ng-bootstrap was just published.

Branch Build failing 🚨
Dependency @ng-bootstrap/ng-bootstrap
Current Version 2.2.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

@ng-bootstrap/ng-bootstrap is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: CircleCI is running your tests (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Unable to use package when importing it in app module. NullInjectorError: No provider for InjectionToken.

Unable to use package when importing it in app module. NullInjectorError: No provider for InjectionToken.

OS and Version?

macOS Mojave

Versions

node: 10.14.1
npm: 6.4.1
angular: 7.0.4

Repro steps

Just follow the instructions in README.md of this repo and import module in your app module.

The log given by the failure

NullInjectorError: No provider for InjectionToken NgxLinkifyjsConfig! ; Zone: ; Task: Promise.then ; Value: Error: "StaticInjectorError(AppModule)[NgxLinkifyjsModule -> InjectionToken NgxLinkifyjsConfig]

Desired functionality

It should import without errors.

An in-range update of @angular-devkit/schematics is breaking the build 🚨

Version 0.7.2 of @angular-devkit/schematics was just published.

Branch Build failing 🚨
Dependency @angular-devkit/schematics
Current Version 0.7.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@angular-devkit/schematics is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of angular2 is breaking the build 🚨

There have been updates to the angular2 monorepo:

  • The dependency @angular/cdk was updated from 7.1.0 to 7.1.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the angular2 group definition.

angular2 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes for fondant-friendship

Bug Fixes

  • a11y: don't handle disallowed modifier keys in typeahead mode (#14301) (700f20f), closes #14274
  • badge: badge instances not being cleaned up on destroy (#14265) (da3776f)
  • checkbox: poor color contrast for disabled checkbox (#14044) (9c86b5f)
  • chips: invert focus overlay on dark theme (#14204) (7af8d02)
  • drag-drop: add support for dragging svg elements in IE11 (#14215) (81db16c), closes #14214
  • drag-drop: dragged elements blurry in some browsers (#14299) (63174d2), closes #14283
  • drag-drop: only add top-level drop lists to drop group (#14130) (4acecd7)
  • drag-drop: remove expensive style recalculation (#14189) (f212345)
  • form-field: error when native select has no options (#14102) (0ef75ea), closes #14101
  • list: don't handle events when modifier key is pressed (#14313) (0c7ce7a)
  • menu: allow alternate roles to be set on menu item (#14165) (3f1588f), closes #14163
  • ng-add: do not throw if custom builder is used for "test" (#14203) (498a3d8), closes #14176
  • scrolling: default to vertical CSS class for invalid orientation (#14145) (dbe27c4)
  • scrolling: provide virtual scroll viewport as scrollable (#14168) (c552504)
  • slide-toggle: label not being read out by JAWS (#14304) (754414b), closes #4610
  • slide-toggle: label not being read out by screen reader on IE (#14259) (5264804)
  • stepper: showing hover state after tap on touch devices (#14074) (f3031ad)
  • tabs: avoid hitting change detection if text content hasn't changed (#14251) (9778af2), closes #14249
  • tabs: blurry text in scrolled header on some browsers (#14303) (f7c8026)
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of sass-loader is breaking the build 🚨

Version 7.1.0 of sass-loader was just published.

Branch Build failing 🚨
Dependency sass-loader
Current Version 7.0.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

sass-loader is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes v7.1.0

Features

Commits

The new version differs by 3 commits.

  • aada4c3 chore(release): 7.1.0
  • bed9fb5 feat: Make this package implementation-agnostic (#573)
  • 714f5c6 test: Refactor module import tests (#599)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

MatLinkPreview Directive Security Flaw?

Bug Report or Feature Request (mark with an x)

- [ X ] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Ubuntu 16.04

Versions

Angular 8.3.1
NPM 6.7.0

Looking at the source code for the mat link preview directive, Im a little concerned about the way youre subscribing to input events and logging the data. It seems like if you use the matLinkPreview directive anywhere in your application then it will log all of your inputs(including password fields) as plain text in the console.

The piece of code that im looking at is

import {Directive, OnInit} from '@angular/core';
import {fromEvent} from 'rxjs';
import {debounceTime, distinctUntilChanged, map} from 'rxjs/operators';
import {Link, NgxLinkifyjsService} from 'ngx-linkifyjs';
import {MatLinkPreviewService} from '../../module/service/mat-link-preview.service';

@Directive({
  selector: '[matLinkPreview]',
  exportAs: '[matLinkPreview]',
})
export class MatLinkPreviewDirective implements OnInit {

  constructor(public linkifyService: NgxLinkifyjsService,
              public linkPreviewService: MatLinkPreviewService) {
  }

  ngOnInit(): void {
    this._init();
  }

  private _init() {
    fromEvent(document, 'input')
      .pipe(
        debounceTime(2000),
        distinctUntilChanged(),
        map(event => {
          const data = event.target['value'];
          const links: Link[] = this.linkifyService.find(data);
          console.log('data: ', data);
          console.log('links: ', links);
          // event.target['value'] = this.linkifyService.linkify(data);
          return links;
        })).subscribe((links) => {
      this.linkPreviewService.onLinkFound.emit(links);
    });
  }

}

An in-range update of node-sass is breaking the build 🚨

The devDependency node-sass was updated from 4.10.0 to 4.11.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

node-sass is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).
  • continuous-integration/travis-ci/push: The Travis CI build passed (Details).

Release Notes for v4.11.0

LibSass 3.5.5

This released updates LibSass to 3.5.5. This update brings

  • Stability fixes
  • Removes noisey deprecation warning for @import'ing .css files
  • Support hex colors with alpha channels

Features

Fixes

  • Revert change that introduced a noisey deprecation warning (@xzyfer, #2362)

Supported Environments

OS Architecture Node
Windows x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
OSX x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
Linux* x86 & x64 0.10, 0.12, 1, 2, 3, 4, 5, 6, 7, 8**, 9**, 10**^, 11**
Alpine Linux x64 4, 6, 7, 8, 9, 10, 11

*Linux support refers to Ubuntu, Debian, and CentOS 5+
** Not available on CentOS 5
^ Only available on x64

Commits

The new version differs by 9 commits.

  • dfe1f05 Update changelog
  • 8319be2 4.11.0
  • 7929c32 Merge pull request #2543 from sass/libsass-subtreee
  • ea9ffd6 Update sass-spec devDependency to use commit hash
  • a6aab24 Remove call to removed sass_option_push_import_extension
  • f06781d Merge commit '912301673420cdd8fbc1efcd09037206539915ee' as 'src/libsass'
  • 9123016 Squashed 'src/libsass/' content from commit 39e30874
  • 688d654 Remove committed src/libsass
  • 9b7015c Update changelog

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup is breaking the build 🚨

Version 0.63.5 of rollup was just published.

Branch Build failing 🚨
Dependency rollup
Current Version 0.63.4
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 11 commits.

  • dc9f347 0.63.5
  • 6c1d1e6 Fix typings for turbo color
  • e109576 Update changelog
  • 115239f Update changelog
  • da97ea5 Add plugin implemenation type (#2355)
  • 55d90d8 fix regression #2305, ensure onwrite plugin hooks execute in sequence (#2364)
  • fc1e6f7 Update changelog
  • d07d5bf Always warn when no name is provided for a global module (#2359)
  • 489477d Update changelog
  • 9eaa1d9 Remove "es6" output format from types (#2349)
  • 382323a fix(types): inlineDynamicImports is optional (#2348)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of angular2 is breaking the build 🚨

Version 6.4.1 of the angular2 packages was just published.

Branch Build failing 🚨
Monorepo release group angular2
Current Version 6.4.0
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the angular2 group definition.

angular2 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • ci/circleci Your tests failed on CircleCI Details

Release Notes elm-electrode

Bug Fixes

  • autofill: avoid firing unnecessary event on initial render of input (#12116) (1fb1fab)
  • badge: hide badges with no content (#12239) (1e847f1)
  • chips: losing focus if active chip is deleted (#11910) (646e378)
  • drag-drop: disable text selection on draggable element (#12204) (7a04609)
  • drag-drop: make CDK_DROP_CONTAINER public (#12214) (b9cece4)
  • drag-drop: unable to drag last item back into initial container (#12261) (3e0e3c5)
  • menu: collapse empty menu panel (#12211) (aed3993)
  • menu: focus indication not visible in high contrast mode (#12201) (6fb6216)
  • menu: showing scrollbars on first open in Edge if item width is set (#12141) (ff53295)
  • moment-date-adapter: not returning utc date when parsing (#12029) (0304ac1)
  • overlay: avoid same overlay being added to the keyboard event stack multiple times (#12222) (e587f4b)
  • ripple: don't hide directive host in high contrast (#12168) (efedc9b)
  • schematics: fix object iteration error in dashboard (#12216) (f2acb51)
  • slide-toggle: invert the thumb and slide gesture in rtl (#12284) (fe193f5)
  • tab-group: focus change event not firing for keyboard navigation (#12192) (48ece27)
  • table: unable to sort large numbers in strings (#12052) (dd31521)
  • tabs: content animation in RTL not working (chrome) (#12215) (f700897)
  • tabs: enable keyboard wrapping and mark disabled tabs (#12218) (0e03aae)
  • tabs: reposition tab body on direction change (#12229) (4ac1be3)
  • tabs: ripple overflow in internet explorer (#12036) (09f439a)
  • tabs: selectedIndex being overwritten if tabs are being added / removed (#12245) (641ec85)
  • tooltip: interfering with native drag&drop (#12200) (8a4f2c3)
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Breaks with bad urls

This field is incredibly small on mobile so I cant read everything right now but it breaks in chrome mobile on my pixel XL by using this text: "I looked at google.com and noticed something badurl.derp.io". Shows Google, then a spinner underneath, then a broken image with a large border around it. This was using the demo page.

Multiple Link Preview Containers on One Page

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

OS and Version?

Versions

Repro steps

The log given by the failure

Desired functionality

Mention any other details that might be useful

An in-range update of rollup is breaking the build 🚨

The devDependency rollup was updated from 1.18.0 to 1.19.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).
  • continuous-integration/travis-ci/push: The Travis CI build passed (Details).

Commits

The new version differs by 6 commits.

  • 9af119d 1.19.0
  • b3f361c Update changelog
  • 456f4d2 Avoid variable from empty module name be empty (#3026)
  • 17eaa43 Use id of last module in chunk as name base for auto-generated chunks (#3025)
  • 871bfa0 Switch to a code-splitting build and update dependencies (#3020)
  • 2443783 Unified file emission api (#2999)

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of postcss is breaking the build 🚨

The devDependency postcss was updated from 7.0.6 to 7.0.7.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

postcss is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes for 7.0.7
  • Extend Error in CssSyntaxError.
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Failed to compile entry-point @angular-material-extensions/link-preview (`es2015` as esm2015) due to compilation errors:

Bug Report or Feature Request (mark with an x)

- [x] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Ubuntu 20.04 LTS

Versions

Angular CLI: 12.0.5
Node: 14.17.4
Package Manager: npm 7.20.6
OS: linux x64

Angular: 12.0.5
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1200.5
@angular-devkit/build-angular   12.0.5
@angular-devkit/core            12.0.5
@angular-devkit/schematics      12.0.5
@angular/cdk                    12.2.5
@angular/http                   7.2.16
@angular/material               12.2.5
@schematics/angular             12.0.5
rxjs                            6.6.7
typescript                      4.2.4

Repro steps

Just added deps in this repo: https://github.com/maifeeulasad/news-update/tree/develop
And in the app.module.ts:

  imports: [
    ...
    MatLinkPreviewModule
  ],

The log given by the failure

Error: Failed to compile entry-point @angular-material-extensions/link-preview (`es2015` as esm2015) due to compilation errors:
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:255:26 - error NG1010: Value at position 3 in the NgModule.imports of MatLinkPreviewModule is not a reference
  Value could not be determined statically.

255                 imports: [
                             ~
256                     CommonModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... 
261                     MatProgressSpinnerModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262                 ],
    ~~~~~~~~~~~~~~~~~

  node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:259:21
    259                     MatCardModule,
                            ~~~~~~~~~~~~~
    Unknown reference.


Compiling @angular-material-extensions/link-preview : es2015 as esm2015
/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:57
            throw new Error(createErrorMessage(fs, task, message));
            ^

Error: Failed to compile entry-point @angular-material-extensions/link-preview (`es2015` as esm2015) due to compilation errors:
node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:255:26 - error NG1010: Value at position 3 in the NgModule.imports of MatLinkPreviewModule is not a reference
  Value could not be determined statically.

255                 imports: [
                             ~
256                     CommonModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
... 
261                     MatProgressSpinnerModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
262                 ],
    ~~~~~~~~~~~~~~~~~

  node_modules/@angular-material-extensions/link-preview/esm2015/link-preview.js:259:21
    259                     MatCardModule,
                            ~~~~~~~~~~~~~
    Unknown reference.

    at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:57:19
    at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/tasks/completion.js:31:13
    at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/create_compile_function.js:69:21
    at SingleProcessExecutorSync.SingleProcessorExecutorBase.doExecute (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:36:17)
    at /home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:59
    at SyncLocker.lock (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/locking/sync_locker.js:34:24)
    at SingleProcessExecutorSync.execute (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/execution/single_process_executor.js:57:27)
    at Object.mainNgcc (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/src/main.js:74:25)
    at Object.process (/home/maifee/Desktop/news-update/node_modules/@angular/compiler-cli/ngcc/index.js:29:23)
    at NgccProcessor.processModule (/home/maifee/Desktop/news-update/node_modules/@ngtools/webpack/src/ngcc_processor.js:164:16)

Process finished with exit code 1

Desired functionality

Mention any other details that might be useful

Found this issue: #110. As it doesn't have any solution, I created a new one.

An in-range update of webpack-cli is breaking the build 🚨

The devDependency webpack-cli was updated from 3.3.0 to 3.3.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

webpack-cli is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests passed on CircleCI! (Details).
  • continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

Commits

The new version differs by 74 commits.

  • d3f8e20 chore: v.3.1.1
  • f371e72 Merge pull request #847 from anshumanv/846
  • da9e732 Merge pull request #841 from pranshuchittora/docs-remove
  • cb68b1b docs(serve): link to webpack-dev-server
  • f7451d4 docs(serve): update docs to use webpack-dev-server
  • 06b4929 Remove tslint in favour of eslint (#834)
  • 8c1db03 chore(docs): removes scaffolding docs from the root
  • dc941e6 docs(contributing): fixes dead link (#835)
  • b8d5511 Merge pull request #832 from pranshuchittora/docs
  • 6a0375a docs(packages): adds downloads/month shield
  • 963c85f Merge pull request #818 from pranshuchittora/refactor-utils
  • 8506ccf Merge pull request #827 from rishabh3112/patch-9
  • 6816057 chore(deps): upgrade lerna to fix vulnerabilities & update webpack-dev-server (#823)
  • 834d90e Merge pull request #828 from pranshuchittora/shields
  • 958d064 docs(readme): adds contributors shield

There are 74 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of rollup-plugin-commonjs is breaking the build 🚨

Version 9.1.4 of rollup-plugin-commonjs was just published.

Branch Build failing 🚨
Dependency rollup-plugin-commonjs
Current Version 9.1.3
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

rollup-plugin-commonjs is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Reset preview data after submitting the form

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

OS and Version? windows 10

Versions

@angular-devkit/architect 0.6.8
@angular-devkit/build-angular 0.6.8
@angular-devkit/build-optimizer 0.6.8
@angular-devkit/core 0.6.8 (cli-only)
@angular-devkit/schematics 7.3.5
@angular/cdk 6.4.7
@angular/cli 6.0.8
@angular/material 6.4.7
@angular/platform-server 7.2.8
@ngtools/webpack 6.0.8
@schematics/angular 7.3.5
@schematics/update 0.6.8
rxjs 6.0.0
typescript 2.7.2
webpack 4.8.3

Desired functionality

it is previewing nicely. but the problem is after submitting the preview is staying. so, how to reset the preview to null or initial state?

An in-range update of autoprefixer is breaking the build 🚨

The devDependency autoprefixer was updated from 9.3.1 to 9.4.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

autoprefixer is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push: The Travis CI build is in progress (Details).
  • ci/circleci: Your tests failed on CircleCI (Details).

Release Notes for 9.4 “Advance Australia”

Coat of Arms of Australia

Autoprefixer 9.4.0 brings limited autoplacement support to the IE CSS Grid.

Grid Autoplacement

If the grid option is set to "autoplace", limited autoplacement support is now added to the Autoprefixer CSS Grid translations. You can also use the /* autoprefixer grid: autoplace */ control comment to enable autoplacement directly in your CSS.

In order to use the new autoplacement feature, you must define both rows and columns when declaring the grid template.

/* Input CSS */

/ autoprefixer grid: autoplace /

.autoplacement-example {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto auto;
grid-gap: 20px;
}

/* Output CSS */

/ autoprefixer grid: autoplace /

.autoplacement-example {
display: -ms-grid;
display: grid;
-ms-grid-columns: 1fr 20px 1fr;
grid-template-columns: 1fr 1fr;
-ms-grid-rows: auto 20px auto;
grid-template-rows: auto auto;
grid-gap: 20px;
}

.autoplacement-example > *:nth-child(1) {
-ms-grid-row: 1;
-ms-grid-column: 1;
}

.autoplacement-example > *:nth-child(2) {
-ms-grid-row: 1;
-ms-grid-column: 3;
}

.autoplacement-example > *:nth-child(3) {
-ms-grid-row: 3;
-ms-grid-column: 1;
}

.autoplacement-example > *:nth-child(4) {
-ms-grid-row: 3;
-ms-grid-column: 3;
}

Autoplacement support in Autoprefixer is currently very limited in what it can do. Please read the Grid Autoplacement support in IE section before using this new feature.

Thanks to @bogdan0083 for implementing the new feature, @Dan503 for documenting it, and @evandiamond for coming up with the initial idea.

Other Changes

  • Remove some unnecessary warnings for Grid (by @fanich37).
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

feat: add schematics to the library (ng add @angular-material-extensions/link-preview)

Bug Report or Feature Request (mark with an x)

- [ ] bug report -> please search issues before submitting
- [x] feature request

Versions

lib version -> 1.1.1

Desired functionality

the developer should be able to add the library via schematics

ng add @angular-material-extensions/link-preview

and everything should be already setup e.g: add import statement of the lib to app.module.ts

An in-range update of bootstrap is breaking the build 🚨

Version 4.1.3 of bootstrap was just published.

Branch Build failing 🚨
Dependency bootstrap
Current Version 4.1.2
Type dependency

This version is covered by your current version range and after updating it in your project the build failed.

bootstrap is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • ci/circleci Your tests failed on CircleCI Details

Release Notes v4.1.3
  • Fixed: Removed the :not(:root) selector from our svg Reboot styles, resolving an issue that caused all inline SVGs ignore vertical-align styles via single class due to higher specificity.
  • Fixed: Moved the browserslist config from our package.json to a separate file to avoid unintended inherited browser settings across npm projects.
  • Fixed: Buttons in custom file inputs are once again clickable when focused.
  • Improved: Bootstrap's plugins can now be imported separately in any contexts because they are now UMD ready.
  • Improved: .form-controls now have a fixed height to compensate for differences in computed height across different types. This also fixes some IE alignment issues.
  • Improved: Added Noto Color Emoji to our system font stack for better rendering in Linux OSes.
Commits

The new version differs by 39 commits.

  • 3b55873 Ship v4.1.3
  • 72447ad dist
  • d180452 fix(tests): visual plugins tests
  • c74a327 Allow background images for active buttons
  • f87d5ea Clarify to close #26329
  • 6cca02f fix .modal-dialog-centered on IE10/11
  • c04d60b Fix modal overflow style nesting (#26742)
  • 23e4d48 Merge branch 'document-tooltip-flickering' of https://github.com/simPod/bootstrap into simPod-document-tooltip-flickering
  • 6f52b2e #26912: fix custom file input z-index
  • c45e559 Fix property order
  • 9007754 Remove :not(:root) from the workaround for SVG overflow bug
  • d7acc97 Lower the specificity of vertical-align of SVG
  • 3cfa060 Add Noto Color Emoji to font stack
  • bdb6723 Clarify custom select styles
  • 4693672 Update validation tooltips to use tooltip vars (#26887)

There are 39 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @types/lodash is breaking the build 🚨

Version 4.14.113 of @types/lodash was just published.

Branch Build failing 🚨
Dependency @types/lodash
Current Version 4.14.112
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@types/lodash is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • continuous-integration/travis-ci/push The Travis CI build is in progress Details
  • ci/circleci Your tests failed on CircleCI Details

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of @angular-devkit/build-angular is breaking the build 🚨

Version 0.7.2 of @angular-devkit/build-angular was just published.

Branch Build failing 🚨
Dependency @angular-devkit/build-angular
Current Version 0.7.1
Type devDependency

This version is covered by your current version range and after updating it in your project the build failed.

@angular-devkit/build-angular is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ci/circleci: Your tests failed on CircleCI (Details).
  • continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.