From 78ac99d92cf5c9fe7a8a73d5b076b02d90b8dc0d Mon Sep 17 00:00:00 2001 From: Dominik Krebs Date: Wed, 12 Oct 2022 18:14:53 +0200 Subject: [PATCH] update docs --- .storybook/stories/2. Changelog.stories.mdx | 17 +++++++++++++++++ README.md | 6 +++--- package.json | 6 +++--- .../easycredit-express-button/readme.md | 2 +- src/components/easycredit-widget/readme.md | 9 +++++---- 5 files changed, 29 insertions(+), 11 deletions(-) diff --git a/.storybook/stories/2. Changelog.stories.mdx b/.storybook/stories/2. Changelog.stories.mdx index b68db02..fc414f2 100644 --- a/.storybook/stories/2. Changelog.stories.mdx +++ b/.storybook/stories/2. Changelog.stories.mdx @@ -4,6 +4,23 @@ import { Meta } from "@storybook/addon-docs/blocks"; # Changelog +## 1.2.2 + +#### `` + +- der Express-Button zur Implementierung des Express-Checkouts wurde hinzugefügt + +#### `` + +- der Kreis ist nun als SVG implementiert und wird in allen Browsern scharf angezeigt + +#### `` + +- das Widget kann nun mit dem Attribut `extended` außerhalb der finanzierbaren Betragsgrenzen ausgeblendet werden +- das Widget reagiert nun auf Änderung des Attributs `amount` und berechnet die Rate automatisch neu +- der Text im Widget wird nun linksbündig dargestellt +- das Modal wurde farblich an den Ratenrechner angepasst + ## 1.2.1 - die Basis-URL für Assets wird nun korrekt ermittelt diff --git a/README.md b/README.md index 13f611b..a6832bc 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ ![Built With Stencil](https://img.shields.io/badge/-Built%20With%20Stencil-16161d.svg?logo=data%3Aimage%2Fsvg%2Bxml%3Bbase64%2CPD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjIuMSwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPgo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IgoJIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSI%2BCjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI%2BCgkuc3Qwe2ZpbGw6I0ZGRkZGRjt9Cjwvc3R5bGU%2BCjxwYXRoIGNsYXNzPSJzdDAiIGQ9Ik00MjQuNywzNzMuOWMwLDM3LjYtNTUuMSw2OC42LTkyLjcsNjguNkgxODAuNGMtMzcuOSwwLTkyLjctMzAuNy05Mi43LTY4LjZ2LTMuNmgzMzYuOVYzNzMuOXoiLz4KPHBhdGggY2xhc3M9InN0MCIgZD0iTTQyNC43LDI5Mi4xSDE4MC40Yy0zNy42LDAtOTIuNy0zMS05Mi43LTY4LjZ2LTMuNkgzMzJjMzcuNiwwLDkyLjcsMzEsOTIuNyw2OC42VjI5Mi4xeiIvPgo8cGF0aCBjbGFzcz0ic3QwIiBkPSJNNDI0LjcsMTQxLjdIODcuN3YtMy42YzAtMzcuNiw1NC44LTY4LjYsOTIuNy02OC42SDMzMmMzNy45LDAsOTIuNywzMC43LDkyLjcsNjguNlYxNDEuN3oiLz4KPC9zdmc%2BCg%3D%3D&colorA=16161d&style=flat-square) -# ratenkauf by easyCredit Web Components +# easyCredit-Ratenkauf Web Components -Th ratenkauf by easyCredit Web Components are a set of StencilJS based web components to be universally used in e-commerce platforms like Magento or Shopware. The web components ease integration of the ratenkauf by easyCredit installments payment solution by providing versatile web frontend elements for marketing, checkout and merchant processes. +Th easyCredit-Ratenkauf Web Components are a set of StencilJS based web components to be universally used in e-commerce platforms like Magento or Shopware. The web components ease integration of the easyCredit-Ratenkauf installments payment solution by providing versatile web frontend elements for marketing, checkout and merchant processes. ## Documentation Please check out our dedicated documentation for examples and usage: -* [Documentation (Storybook)](https://netzkollektiv.com/docs/ratenkaufbyeasycredit-components) +* [Documentation (Storybook)](https://netzkollektiv.com/docs/easycredit-ratenkauf-components) ## Build diff --git a/package.json b/package.json index 532d838..9bd6661 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "@easycredit-ratenkauf/easycredit-components", "license": "MIT", - "version": "1.0.0", - "description": "The ratenkauf by easyCredit Web Components are a set of web components to be universally used in e-commerce platforms like Magento or Shopware. The web components ease integration of ratenkauf by easyCredit installments payment solution by providing versatile web frontend elements for marketing and checkout.", + "version": "1.2.2", + "description": "The easyCredit-Ratenkauf Web Components are a set of web components to be universally used in e-commerce platforms like Magento or Shopware. The web components ease integration of easyCredit-Ratenkauf installments payment solution by providing versatile web frontend elements for marketing and checkout.", "main": "dist/index.cjs.js", "module": "dist/index.js", "es2015": "dist/esm/index.mjs", @@ -13,7 +13,7 @@ "unpkg": "dist/easycredit-components/easycredit-components.esm.js", "repository": { "type": "git", - "url": "git+https://github.com/netzkollektiv/easycredit-components" + "url": "git+https://github.com/teambank/easycredit-ratenkauf-webcomponents" }, "files": [ "dist/", diff --git a/src/components/easycredit-express-button/readme.md b/src/components/easycredit-express-button/readme.md index 0f579f0..16505aa 100644 --- a/src/components/easycredit-express-button/readme.md +++ b/src/components/easycredit-express-button/readme.md @@ -10,7 +10,7 @@ | Property | Attribute | Description | Type | Default | | ------------- | -------------- | ----------- | --------- | ----------- | | `alert` | `alert` | | `string` | `undefined` | -| `amount` | `amount` | | `number` | `undefined` | +| `amount` | `amount` | | `number` | `0` | | `bgBlue` | `bg-blue` | | `boolean` | `false` | | `fullWidth` | `full-width` | | `boolean` | `false` | | `redirectUrl` | `redirect-url` | | `string` | `undefined` | diff --git a/src/components/easycredit-widget/readme.md b/src/components/easycredit-widget/readme.md index 3173141..2f6c567 100644 --- a/src/components/easycredit-widget/readme.md +++ b/src/components/easycredit-widget/readme.md @@ -7,10 +7,11 @@ ## Properties -| Property | Attribute | Description | Type | Default | -| ----------- | ------------ | ---------------- | -------- | ----------- | -| `amount` | `amount` | Financing Amount | `number` | `undefined` | -| `webshopId` | `webshop-id` | Webshop Id | `string` | `undefined` | +| Property | Attribute | Description | Type | Default | +| ----------- | ------------ | -------------------- | --------- | ----------- | +| `amount` | `amount` | Financing Amount | `number` | `undefined` | +| `extended` | `extended` | Show if out of range | `boolean` | `true` | +| `webshopId` | `webshop-id` | Webshop Id | `string` | `undefined` | ## Dependencies