@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.
@@ -2,5 +2,5 @@ $ yarn build:module && yarn build:types
2
2
  $ rollup -c ./rollup.config.mjs
3
3
  
4
4
  ./index.ts → ./dist/index.umd.js, ./dist/index.es.mjs...
5
- created ./dist/index.umd.js, ./dist/index.es.mjs in 47.7s
5
+ created ./dist/index.umd.js, ./dist/index.es.mjs in 47.5s
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 shadow-gray-100 border-transparent ',
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 shadow-gray-800 border-transparent',
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 shadow-gray-100 border-transparent ',
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 shadow-gray-800 border-transparent',
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 shadow-gray-100 border-transparent bg-white fill-gray-900 text-white shadow-gray-800 bg-gray-900 rounded shadow border invisible absolute z-10 transform filter text-[16px] leading-[24px] min-w-[160px] text-center p-[8px] relative z-20 drop-shadow"> */
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"> */