@s-ui/react-list-link
Advanced tools
Comparing version 2.1.0 to 2.2.0
@@ -1,5 +0,16 @@ | ||
# Change Log | ||
# CHANGELOG | ||
All notable changes to this project will be documented in this file. | ||
# 2.2.0 (2022-10-27) | ||
# 2.1.0 (2020-11-24) | ||
### Features | ||
* **list/link:** Use new jsx runtime ([4f40e1b](https://github.com/SUI-Components/adevinta-spain-components/commit/4f40e1b8f2b8ee1f629c85246a804bfecc97a040)) | ||
# 2.0.0 (2020-11-10) | ||
@@ -10,3 +21,3 @@ | ||
* use @s-ui/react-router ([ebb2e9c](https://github.com/SUI-Components/adevinta-spain-components/commit/ebb2e9c0560987037e056f9bcab45c26d57ef902)) | ||
* **list/link:** use @s-ui/react-router ([ebb2e9c](https://github.com/SUI-Components/adevinta-spain-components/commit/ebb2e9c0560987037e056f9bcab45c26d57ef902)) | ||
@@ -16,3 +27,3 @@ | ||
* Yes, react-routet not longer used | ||
* **list/link:** Yes, react-routet not longer used | ||
@@ -26,3 +37,3 @@ | ||
* use new @s-ui/react-link-basic ([d7b016c](https://github.com/SUI-Components/adevinta-spain-components/commit/d7b016c61589153fda01a3172af4675652bdfa4a)) | ||
* **list/link:** use new @s-ui/react-link-basic ([d7b016c](https://github.com/SUI-Components/adevinta-spain-components/commit/d7b016c61589153fda01a3172af4675652bdfa4a)) | ||
@@ -36,3 +47,3 @@ | ||
* Use new [@s-ui](https://github.com/s-ui) and [@adv-ui](https://github.com/adv-ui) organization pkgs ([f6def90](https://github.com/SUI-Components/adevinta-spain-components/commit/f6def9097b0ee02667fd9cd9b0a504fa920156c0)) | ||
* **list/link:** Use new [@s-ui](https://github.com/s-ui) and [@adv-ui](https://github.com/adv-ui) organization pkgs ([f6def90](https://github.com/SUI-Components/adevinta-spain-components/commit/f6def9097b0ee02667fd9cd9b0a504fa920156c0)) | ||
@@ -46,3 +57,3 @@ | ||
* Use new [@s-ui](https://github.com/s-ui) org and stop using schibstedspain ([e4bba52](https://github.com/SUI-Components/adevinta-spain-components/commit/e4bba52bb9857dbcafc22c33384003db8977114f)) | ||
* **list/link:** Use new [@s-ui](https://github.com/s-ui) org and stop using schibstedspain ([e4bba52](https://github.com/SUI-Components/adevinta-spain-components/commit/e4bba52bb9857dbcafc22c33384003db8977114f)) | ||
@@ -56,3 +67,3 @@ | ||
* Remove .npmignore ([78a4b0a](https://github.com/SUI-Components/adevinta-spain-components/commit/78a4b0a95b6bef90ab7e48caa08aa435265729c4)) | ||
* **list/link:** Remove .npmignore ([78a4b0a](https://github.com/SUI-Components/adevinta-spain-components/commit/78a4b0a95b6bef90ab7e48caa08aa435265729c4)) | ||
@@ -66,3 +77,3 @@ | ||
* move from class to function ([f4fbc3d](https://github.com/SUI-Components/adevinta-spain-components/commit/f4fbc3d5721e5bbc06704116006034be7245deb9)) | ||
* **list/link:** move from class to function ([f4fbc3d](https://github.com/SUI-Components/adevinta-spain-components/commit/f4fbc3d5721e5bbc06704116006034be7245deb9)) | ||
@@ -76,3 +87,3 @@ | ||
* Bump version ([301e71a](https://github.com/SUI-Components/adevinta-spain-components/commit/301e71ab5dc879e4626bb387e94bd41a328b19c9)) | ||
* **list/link:** Bump version ([301e71a](https://github.com/SUI-Components/adevinta-spain-components/commit/301e71ab5dc879e4626bb387e94bd41a328b19c9)) | ||
@@ -86,3 +97,3 @@ | ||
* add missing import for link/basic styles ([c3ad2ae](https://github.com/SUI-Components/adevinta-spain-components/commit/c3ad2aeb16577af073887ae13b5048a09927b083)) | ||
* **list/link:** add missing import for link/basic styles ([c3ad2ae](https://github.com/SUI-Components/adevinta-spain-components/commit/c3ad2aeb16577af073887ae13b5048a09927b083)) | ||
@@ -96,5 +107,5 @@ | ||
* add new sui-list-link component ([1ddb351](https://github.com/SUI-Components/adevinta-spain-components/commit/1ddb351aaa13a998e2f998e38698917d2f783b02)) | ||
* **list/link:** add new sui-list-link component ([1ddb351](https://github.com/SUI-Components/adevinta-spain-components/commit/1ddb351aaa13a998e2f998e38698917d2f783b02)) | ||
import _extends from "@babel/runtime/helpers/esm/extends"; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
import cx from 'classnames'; | ||
import PropTypes from 'prop-types'; | ||
import LinkBasic from '@s-ui/react-link-basic'; | ||
import { jsx as _jsx } from "react/jsx-runtime"; | ||
function ListLinkItem(_ref) { | ||
var displayInline = _ref.displayInline, | ||
item = _ref.item, | ||
useReactRouterLinks = _ref.useReactRouterLinks; | ||
item = _ref.item, | ||
useReactRouterLinks = _ref.useReactRouterLinks; | ||
var className = cx('sui-ListLink-item', { | ||
@@ -20,8 +20,7 @@ 'sui-ListLink-item--inline': displayInline | ||
} | ||
export default function ListLink(_ref2) { | ||
var displayInline = _ref2.displayInline, | ||
_ref2$list = _ref2.list, | ||
list = _ref2$list === void 0 ? [] : _ref2$list, | ||
useReactRouterLinks = _ref2.useReactRouterLinks; | ||
_ref2$list = _ref2.list, | ||
list = _ref2$list === void 0 ? [] : _ref2$list, | ||
useReactRouterLinks = _ref2.useReactRouterLinks; | ||
return /*#__PURE__*/_jsx("ul", { | ||
@@ -28,0 +27,0 @@ className: "sui-ListLink", |
{ | ||
"name": "@s-ui/react-list-link", | ||
"version": "2.1.0", | ||
"version": "2.2.0", | ||
"description": "", | ||
"main": "lib/index.js", | ||
"scripts": { | ||
"build": "rm -Rf ./lib && mkdir -p ./lib && npm run build:js && npm run build:styles", | ||
"build:js": "../../../node_modules/.bin/babel --presets sui ./src --out-dir ./lib", | ||
"build:styles": "../../../node_modules/.bin/cpx './src/**/*.scss' ./lib" | ||
"prepublishOnly": "rm -Rf ./lib && mkdir -p ./lib && npm run build:js && npm run build:styles", | ||
"build:js": "babel --presets sui ./src --out-dir ./lib", | ||
"build:styles": "cpx './src/**/*.scss' ./lib" | ||
}, | ||
@@ -11,0 +11,0 @@ "dependencies": { |
@@ -0,3 +1,3 @@ | ||
import cx from 'classnames' | ||
import PropTypes from 'prop-types' | ||
import cx from 'classnames' | ||
@@ -4,0 +4,0 @@ import LinkBasic from '@s-ui/react-link-basic' |
13160
9
94