Skip to content

Commit

Permalink
chore(release): 2.9.0 [skip ci]
Browse files Browse the repository at this point in the history
# [2.9.0](v2.8.4...v2.9.0) (2022-06-20)

### Features

* add hideBorder props ([a5f0c67](a5f0c67))
  • Loading branch information
github-actions committed Jun 20, 2022
1 parent bf07907 commit 3d61d5d
Show file tree
Hide file tree
Showing 21 changed files with 61 additions and 30 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# [2.9.0](https://github.com/alma/widgets/compare/v2.8.4...v2.9.0) (2022-06-20)


### Features

* add hideBorder props ([a5f0c67](https://github.com/alma/widgets/commit/a5f0c673a16494848f05f183c8a19dac6e480033))

## [2.8.4](https://github.com/alma/widgets/compare/v2.8.3...v2.8.4) (2022-06-10)


Expand Down
4 changes: 4 additions & 0 deletions dist/raw/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,10 @@
cursor: not-allowed;
}

._3_qcn {
border: none;
}

._25GrF {
font-family: Public Sans, sans-serif;
font-style: normal;
Expand Down
13 changes: 9 additions & 4 deletions dist/raw/widgets.js

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

2 changes: 1 addition & 1 deletion dist/raw/widgets.js.map

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions dist/raw/widgets.m.js

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

2 changes: 1 addition & 1 deletion dist/raw/widgets.m.js.map

Large diffs are not rendered by default.

12 changes: 8 additions & 4 deletions dist/raw/widgets.modern.js

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

2 changes: 1 addition & 1 deletion dist/raw/widgets.modern.js.map

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions dist/raw/widgets.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -20437,7 +20437,7 @@
activeOption: prefix$1 + '-active-option'
};

var s$c = {"widgetButton":"_TSkFv","logo":"_LJ4nZ","primaryContainer":"_bMClc","paymentPlans":"_17c_S","plan":"_2Kqjn","active":"_3dG_J","polychrome":"_2icEF","notEligible":"_3O1bg","info":"_25GrF","loader":"_30j1O","error":"_R0YlN","errorText":"_2kGhu","errorButton":"_73d_Y","pending":"_1ZDMS","clickable":"_UksZa","unClickable":"_1lr-q"};
var s$c = {"widgetButton":"_TSkFv","logo":"_LJ4nZ","primaryContainer":"_bMClc","paymentPlans":"_17c_S","plan":"_2Kqjn","active":"_3dG_J","polychrome":"_2icEF","notEligible":"_3O1bg","hideBorder":"_3_qcn","info":"_25GrF","loader":"_30j1O","error":"_R0YlN","errorText":"_2kGhu","errorButton":"_73d_Y","pending":"_1ZDMS","clickable":"_UksZa","unClickable":"_1lr-q"};

var VERY_LONG_TIME_IN_MS = 1000 * 3600 * 24 * 365;
var DEFAULT_TRANSITION_TIME = 5500;
Expand All @@ -20452,7 +20452,9 @@
purchaseAmount = _ref.purchaseAmount,
suggestedPaymentPlan = _ref.suggestedPaymentPlan,
cards = _ref.cards,
transitionDelay = _ref.transitionDelay;
transitionDelay = _ref.transitionDelay,
_ref$hideBorder = _ref.hideBorder,
hideBorder = _ref$hideBorder === void 0 ? false : _ref$hideBorder;

var _useFetchEligibility = useFetchEligibility(purchaseAmount, apiData, configPlans),
eligibilityPlans = _useFetchEligibility[0],
Expand Down Expand Up @@ -20550,7 +20552,7 @@

return /*#__PURE__*/react.createElement(react.Fragment, null, /*#__PURE__*/react.createElement("div", {
onClick: handleOpenModal,
className: classnames(s$c.widgetButton, (_cx = {}, _cx[s$c.clickable] = eligiblePlans.length > 0, _cx[s$c.unClickable] = eligiblePlans.length === 0, _cx), STATIC_CUSTOMISATION_CLASSES$1.container),
className: classnames(s$c.widgetButton, (_cx = {}, _cx[s$c.clickable] = eligiblePlans.length > 0, _cx[s$c.unClickable] = eligiblePlans.length === 0, _cx[s$c.hideBorder] = hideBorder, _cx), STATIC_CUSTOMISATION_CLASSES$1.container),
"data-testid": "widget-button"
}, /*#__PURE__*/react.createElement("div", {
className: classnames(s$c.primaryContainer, STATIC_CUSTOMISATION_CLASSES$1.eligibilityLine)
Expand Down Expand Up @@ -20608,6 +20610,8 @@
plans = options.plans,
transitionDelay = options.transitionDelay,
hideIfNotEligible = options.hideIfNotEligible,
_options$hideBorder = options.hideBorder,
hideBorder = _options$hideBorder === void 0 ? false : _options$hideBorder,
_options$monochrome = options.monochrome,
monochrome = _options$monochrome === void 0 ? true : _options$monochrome,
suggestedPaymentPlan = options.suggestedPaymentPlan,
Expand All @@ -20626,7 +20630,8 @@
purchaseAmount: purchaseAmount,
suggestedPaymentPlan: suggestedPaymentPlan,
cards: cards,
transitionDelay: transitionDelay
transitionDelay: transitionDelay,
hideBorder: hideBorder
})), document.querySelector(container));
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/raw/widgets.umd.js.map

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
2 changes: 1 addition & 1 deletion dist/widgets.css

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

2 changes: 1 addition & 1 deletion dist/widgets.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.m.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.m.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.modern.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.modern.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.umd.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/widgets.umd.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alma/widgets",
"version": "2.8.4",
"version": "2.9.0",
"description": "Widgets to easily display information from Alma - https://getalma.eu",
"keywords": [],
"main": "dist/widgets.js",
Expand Down

0 comments on commit 3d61d5d

Please sign in to comment.