@conveyorhq/arrow-ds 1.107.0 → 1.108.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@conveyorhq/arrow-ds",
3
3
  "author": "Conveyor",
4
4
  "license": "MIT",
5
- "version": "1.107.0",
5
+ "version": "1.108.0",
6
6
  "description": "Arrow Design System",
7
7
  "repository": "https://github.com/conveyor/arrow-ds",
8
8
  "publishConfig": {
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { LinkProps } from "../Link";
3
+ export declare const TooltipLink: React.ForwardRefExoticComponent<Pick<LinkProps, string | number> & React.RefAttributes<HTMLDivElement | HTMLButtonElement | HTMLAnchorElement>>;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ var __importDefault = (this && this.__importDefault) || function (mod) {
22
+ return (mod && mod.__esModule) ? mod : { "default": mod };
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.TooltipLink = void 0;
26
+ const react_1 = __importStar(require("react"));
27
+ const classnames_1 = __importDefault(require("classnames"));
28
+ const Link_1 = require("../Link");
29
+ exports.TooltipLink = react_1.forwardRef(({ children, className, ...rest }, ref) => (react_1.default.createElement(Link_1.Link, Object.assign({ ref: ref, className: classnames_1.default("text-white transition-[color] underline hover:text-white hover:text-opacity-80", className), noStyles: true }, rest), children)));
@@ -1,2 +1,3 @@
1
1
  export * from "./Tooltip";
2
+ export * from "./TooltipLink";
2
3
  export * from "./context";
@@ -11,4 +11,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  __exportStar(require("./Tooltip"), exports);
14
+ __exportStar(require("./TooltipLink"), exports);
14
15
  __exportStar(require("./context"), exports);
@@ -8991,6 +8991,11 @@ override built-in Image component classes */
8991
8991
  color: rgb(13 125 228 / var(--tw-text-opacity));
8992
8992
  }
8993
8993
 
8994
+ .underline {
8995
+ -webkit-text-decoration-line: underline;
8996
+ text-decoration-line: underline;
8997
+ }
8998
+
8994
8999
  .no-underline {
8995
9000
  -webkit-text-decoration-line: none;
8996
9001
  text-decoration-line: none;
@@ -9053,6 +9058,12 @@ override built-in Image component classes */
9053
9058
  transition-duration: 150ms;
9054
9059
  }
9055
9060
 
9061
+ .transition-\[color\] {
9062
+ transition-property: color;
9063
+ transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
9064
+ transition-duration: 150ms;
9065
+ }
9066
+
9056
9067
  .duration-200 {
9057
9068
  transition-duration: 200ms;
9058
9069
  }
@@ -9485,6 +9496,10 @@ override built-in Image component classes */
9485
9496
  color: rgb(71 104 125 / var(--tw-text-opacity));
9486
9497
  }
9487
9498
 
9499
+ .hover\:text-opacity-80:hover {
9500
+ --tw-text-opacity: 0.8;
9501
+ }
9502
+
9488
9503
  .focus\:bg-gray-800:focus {
9489
9504
  --tw-bg-opacity: 1;
9490
9505
  background-color: rgb(32 65 86 / var(--tw-bg-opacity));