All Projects → unrelentingtech → indieweb-components

unrelentingtech / indieweb-components

Licence: ISC license
VanillaJS-based Web Components for the IndieWeb

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to indieweb-components

fragmentioner
UI for generating the fragmention link to some selected text
Stars: ✭ 16 (+23.08%)
Mutual labels:  indieweb, fragmention
polymer-2-carousel
Codelab
Stars: ✭ 18 (+38.46%)
Mutual labels:  web-components
iw26
IW26 is an Indieweb Fork of WordPress Twenty Sixteen Theme
Stars: ✭ 25 (+92.31%)
Mutual labels:  indieweb
lit-components
Moved to https://github.com/vaadin/component-mixins
Stars: ✭ 59 (+353.85%)
Mutual labels:  web-components
web-component-designer
A Designer for HTML Components or Pages in a WebComponent
Stars: ✭ 58 (+346.15%)
Mutual labels:  web-components
g-emoji-element
Backports native emoji characters to browsers that don't support them by replacing the characters with fallback images.
Stars: ✭ 112 (+761.54%)
Mutual labels:  web-components
Compass
Compass is a GPS tracking server that stores data in flat files.
Stars: ✭ 105 (+707.69%)
Mutual labels:  indieweb
hello-web-components
A simple starter <hello-world /> web component written in typescript, using lit-html and lit-element. Unit tested with jest and e2e tested with puppeteer and jest-puppeteer.
Stars: ✭ 15 (+15.38%)
Mutual labels:  web-components
nuxeo-elements
Nuxeo web components
Stars: ✭ 23 (+76.92%)
Mutual labels:  web-components
11ty-web-component-generator
Use the power of 11ty to generate web components (custom elements).
Stars: ✭ 51 (+292.31%)
Mutual labels:  web-components
components
Components for interactive scientific writing, reactive documents and explorable explanations.
Stars: ✭ 32 (+146.15%)
Mutual labels:  web-components
stencil-lerna
A starter kit for developing PWAs in a lerna monorepo including a web-component design-system in Typescript.
Stars: ✭ 47 (+261.54%)
Mutual labels:  web-components
inclusive-elements
Accessible, lightweight, unstyled implementations of common UI controls.
Stars: ✭ 17 (+30.77%)
Mutual labels:  web-components
frosted-glass
❄️ Add a live frosted glass blur effect over any type of web content, including text.
Stars: ✭ 62 (+376.92%)
Mutual labels:  web-components
indieweb-post-kinds
adds support for responding to and interacting with other sites using the standards developed by the Indieweb Community
Stars: ✭ 39 (+200%)
Mutual labels:  indieweb
neofeed-theme
A personal feed for Neocities, GitHub Pages, or anywhere else, built with Hugo. #IndieWeb friendly and all yours. It's better than Twitter.
Stars: ✭ 62 (+376.92%)
Mutual labels:  indieweb
Dash-UI
Bootstrap 5 Admin & Dashboard Template - Dash-UI. Dash UI Kit is a free and open-source components and templates kit fully coded with Bootstrap 5.
Stars: ✭ 213 (+1538.46%)
Mutual labels:  web-components
design-system
The Baloise Design System consists of reusable components and a clearly defined visual style, that can be assembled together to build any number of applications.
Stars: ✭ 40 (+207.69%)
Mutual labels:  web-components
magento2-module
FACT-Finder® Web Components for Magento 2
Stars: ✭ 13 (+0%)
Mutual labels:  web-components
pharos
JSTOR's design system
Stars: ✭ 48 (+269.23%)
Mutual labels:  web-components

indieweb-components

Some Web Components for IndieWeb sites.

DEMO PAGE

Installation

Use npm or bower.

$ bower install --save indieweb-components webcomponents/webcomponentsjs#v1
# or
$ npm i indieweb-components @webcomponents/webcomponentsjs

Load the polyfill:

<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<!-- or -->
<script src="node_modules/webcomponentsjs/webcomponents-loader.js"></script>

And use <link rel="import"> for the components you want.

(Alternatively, load only the Custom Elements polyfill and load the JS files, skipping HTML imports. Mind the findAndReplaceDOMText dependency in fragmention-target.)

Elements

indie-action

An implementation of the indie-action tag from webactions.

For users who have configured their posting tools with the indie-config protocol, the first a tag inside of the indie-action element will have its href replaced with the URL of the matching action.

The string {url} will be replaced in the href with the contents of the with attribute, resolved against the current domain. The indie-action element also gets the indie-configured attribute when the config is loaded, so you can style the link differently from the fallback link using a selector like [indie-configured] a.

The config is loaded lazily now, when the user first clicks an indie-action link.

<link rel="import" href="bower_components/indieweb-components/indie-action.html">

<indie-action do="reply" with="https://unrelenting.technology/notes/2015-07-03-12-48-01">
  <a href="https://twitter.com/intent/reply?tweet_id=616951543720493057">Reply</a>
</indie-action>

Requires Custom Elements, Custom Events and postMessage.
No Shadow DOM -- the lite version of the [Web Components polyfill] is enough!

fragmention-target

A custom element for displaying fragmentions.

In addition to marking the element that contains the linked text with the fragmention attribute, it is also able to wrap the exact linked text in a fragmention-exact tag. To enable this functionality, add the exact attribute.

<link rel="import" href="bower_components/indieweb-components/fragmention-target.html">

<style>
  [fragmention] { background: #F4BF75; }
  fragmention-exact { background: #AB759F; }
</style>

<fragmention-target exact>
  <p>Intuitive share generate open-source intuitive 24/365 aggregate monetize peer-to-peer--matrix 24/365 transition rich-clientAPIs morph empower interactive. Syndicate action-items vertical; plug-and-play engage recontextualize, "syndicate virtual data-driven e-markets, integrate synergies design extend," impactful productize standards-compliant sticky.</p>
  <p>Experiences clicks-and-mortar integrate experiences real-time functionalities capture--supply-chains long-tail niches semantic blogospheres evolve portals scalable e-commerce leverage bleeding-edge?</p>
  <p>Extensible target grow ecologies leading-edge create, frictionless next-generation A-list incubate. Vertical: reinvent seize interactive compelling post; syndicate granular systems drive impactful tag evolve strategize seamless.</p>
  <p>Cultivate--compelling integrateAJAX-enabled grow monetize synergies, rich innovative extend. Innovative; incentivize dynamic capture transition relationships, semantic create sticky, "facilitate optimize; share semantic impactful recontextualize e-services: next-generation bandwidth," leading-edge.</p>
</fragmention-target>

Requires Custom Elements.
No Shadow DOM -- the lite version of the [Web Components polyfill] is enough!

Contributing

Please feel free to submit pull requests! Bugfixes and simple non-breaking improvements will be accepted without any questions :-)

By participating in this project you agree to follow the Contributor Code of Conduct.

License

Copyright 2015-2017 Greg V [email protected]
Available under the ISC license, see the COPYING file

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].