@cypress-design/react-tooltip 0.7.1 → 0.8.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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +6 -0
- package/Tooltip.tsx +3 -3
- package/dist/index.es.mjs +4 -4
- package/dist/index.es.mjs.map +1 -1
- package/dist/index.umd.js +4 -4
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
|
|
|
2
2
|
$ rollup -c ./rollup.config.mjs
|
|
3
3
|
[36m
|
|
4
4
|
[1m./index.ts[22m → [1m./dist/index.umd.js, ./dist/index.es.mjs[22m...[39m
|
|
5
|
-
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m47.
|
|
5
|
+
[32mcreated [1m./dist/index.umd.js, ./dist/index.es.mjs[22m in [1m47.5s[22m[39m
|
|
6
6
|
$ tsc --project ./tsconfig.build.json
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @cypress-design/react-tooltip
|
|
2
2
|
|
|
3
|
+
## 0.8.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#321](https://github.com/cypress-io/cypress-design/pull/321) [`1c61ac8`](https://github.com/cypress-io/cypress-design/commit/1c61ac8b242e085c3a6a0c93890110d8b17072fe) Thanks [@emilmilanov](https://github.com/emilmilanov)! - increasing drop-shadow for two increments
|
|
8
|
+
|
|
3
9
|
## 0.7.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/Tooltip.tsx
CHANGED
|
@@ -147,13 +147,13 @@ export const Tooltip: React.FC<
|
|
|
147
147
|
case 'light':
|
|
148
148
|
return {
|
|
149
149
|
svg: 'stroke-none fill-white',
|
|
150
|
-
block: 'text-gray-900
|
|
150
|
+
block: 'text-gray-900 border-transparent',
|
|
151
151
|
background: 'bg-white',
|
|
152
152
|
}
|
|
153
153
|
case 'dark':
|
|
154
154
|
return {
|
|
155
155
|
svg: 'stroke-none fill-gray-900',
|
|
156
|
-
block: 'text-white
|
|
156
|
+
block: 'text-white border-transparent',
|
|
157
157
|
background: 'bg-gray-900',
|
|
158
158
|
}
|
|
159
159
|
default:
|
|
@@ -188,7 +188,7 @@ export const Tooltip: React.FC<
|
|
|
188
188
|
})}
|
|
189
189
|
>
|
|
190
190
|
<div
|
|
191
|
-
className={clsx('rounded shadow border', [
|
|
191
|
+
className={clsx('rounded shadow-tooltip border', [
|
|
192
192
|
colors.background,
|
|
193
193
|
colors.block,
|
|
194
194
|
(!x || !y) && 'invisible',
|
package/dist/index.es.mjs
CHANGED
|
@@ -33588,13 +33588,13 @@ var Tooltip = function (_a) {
|
|
|
33588
33588
|
case 'light':
|
|
33589
33589
|
return {
|
|
33590
33590
|
svg: 'stroke-none fill-white',
|
|
33591
|
-
block: 'text-gray-900
|
|
33591
|
+
block: 'text-gray-900 border-transparent',
|
|
33592
33592
|
background: 'bg-white',
|
|
33593
33593
|
};
|
|
33594
33594
|
case 'dark':
|
|
33595
33595
|
return {
|
|
33596
33596
|
svg: 'stroke-none fill-gray-900',
|
|
33597
|
-
block: 'text-white
|
|
33597
|
+
block: 'text-white border-transparent',
|
|
33598
33598
|
background: 'bg-gray-900',
|
|
33599
33599
|
};
|
|
33600
33600
|
default:
|
|
@@ -33608,7 +33608,7 @@ var Tooltip = function (_a) {
|
|
|
33608
33608
|
ref: floating,
|
|
33609
33609
|
style: __assign({ position: strategy, top: y !== null && y !== void 0 ? y : '', left: x !== null && x !== void 0 ? x : '' }, (interactive ? { padding: '16px' } : {})),
|
|
33610
33610
|
})),
|
|
33611
|
-
React.createElement("div", { className: clsx('rounded shadow border', [
|
|
33611
|
+
React.createElement("div", { className: clsx('rounded shadow-tooltip border', [
|
|
33612
33612
|
colors.background,
|
|
33613
33613
|
colors.block,
|
|
33614
33614
|
(!x || !y) && 'invisible',
|
|
@@ -33630,4 +33630,4 @@ var Tooltip = function (_a) {
|
|
|
33630
33630
|
export { Tooltip as default };
|
|
33631
33631
|
//# sourceMappingURL=index.es.mjs.map
|
|
33632
33632
|
|
|
33633
|
-
/* <wind-keep class="stroke-none fill-white block text-gray-900
|
|
33633
|
+
/* <wind-keep class="stroke-none fill-white block text-gray-900 border-transparent bg-white fill-gray-900 text-white bg-gray-900 rounded shadow-tooltip border invisible absolute z-10 transform filter text-[16px] leading-[24px] min-w-[160px] text-center p-[8px] relative z-20 drop-shadow"> */
|