🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@spark-web/text-link

Package Overview
Dependencies
Maintainers
2
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spark-web/text-link - npm Package Compare versions

Comparing version
5.3.2
to
5.3.3
+13
-0
CHANGELOG.md
# @spark-web/text-link
## 5.3.3
### Patch Changes
- [#704](https://github.com/brighte-labs/spark-web/pull/704)
[`67ad8de`](https://github.com/brighte-labs/spark-web/commit/67ad8de8ce99bedb733293bbb23d554ae48a9f1f)
Thanks [@mkt-brighte](https://github.com/mkt-brighte)! - Support bravo theme
for button component
- Updated dependencies
[[`67ad8de`](https://github.com/brighte-labs/spark-web/commit/67ad8de8ce99bedb733293bbb23d554ae48a9f1f)]:
- @spark-web/theme@5.12.4
## 5.3.2

@@ -4,0 +17,0 @@

+2
-2

@@ -20,3 +20,3 @@ 'use strict';

function useTextLink(tag, tone, weight, textDecoration) {
var _theme$components$tex;
var _theme$components$tex, _textLinkStyle$fontWe;
var textContext = text.useTextContext();

@@ -36,3 +36,3 @@

textDecoration: textDecoration !== null && textDecoration !== void 0 ? textDecoration : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.textDecoration,
fontWeight: weight ? theme$1.typography.fontWeight[weight] : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight,
fontWeight: weight ? theme$1.typography.fontWeight[weight] : theme$1.typography.fontWeight[(_textLinkStyle$fontWe = textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight) !== null && _textLinkStyle$fontWe !== void 0 ? _textLinkStyle$fontWe : 'regular'],
'&:focus': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.focus,

@@ -39,0 +39,0 @@ '&:active': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.active,

@@ -20,3 +20,3 @@ 'use strict';

function useTextLink(tag, tone, weight, textDecoration) {
var _theme$components$tex;
var _theme$components$tex, _textLinkStyle$fontWe;
var textContext = text.useTextContext();

@@ -36,3 +36,3 @@

textDecoration: textDecoration !== null && textDecoration !== void 0 ? textDecoration : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.textDecoration,
fontWeight: weight ? theme$1.typography.fontWeight[weight] : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight,
fontWeight: weight ? theme$1.typography.fontWeight[weight] : theme$1.typography.fontWeight[(_textLinkStyle$fontWe = textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight) !== null && _textLinkStyle$fontWe !== void 0 ? _textLinkStyle$fontWe : 'regular'],
'&:focus': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.focus,

@@ -39,0 +39,0 @@ '&:active': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.active,

@@ -16,3 +16,3 @@ import _objectSpread from '@babel/runtime/helpers/esm/objectSpread2';

function useTextLink(tag, tone, weight, textDecoration) {
var _theme$components$tex;
var _theme$components$tex, _textLinkStyle$fontWe;
var textContext = useTextContext();

@@ -32,3 +32,3 @@

textDecoration: textDecoration !== null && textDecoration !== void 0 ? textDecoration : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.textDecoration,
fontWeight: weight ? theme.typography.fontWeight[weight] : textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight,
fontWeight: weight ? theme.typography.fontWeight[weight] : theme.typography.fontWeight[(_textLinkStyle$fontWe = textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.fontWeight) !== null && _textLinkStyle$fontWe !== void 0 ? _textLinkStyle$fontWe : 'regular'],
'&:focus': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.focus,

@@ -35,0 +35,0 @@ '&:active': textLinkStyle === null || textLinkStyle === void 0 ? void 0 : textLinkStyle.active,

{
"name": "@spark-web/text-link",
"version": "5.3.2",
"version": "5.3.3",
"homepage": "https://github.com/brighte-labs/spark-web#readme",

@@ -24,3 +24,3 @@ "repository": {

"@spark-web/text": "^5.2.3",
"@spark-web/theme": "^5.12.1",
"@spark-web/theme": "^5.12.4",
"@spark-web/utils": "^5.0.0"

@@ -27,0 +27,0 @@ },