@redsift/table 11.9.4 → 12.0.0-muiv6
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/CONTRIBUTING.md
CHANGED
|
@@ -62,10 +62,6 @@ The Design System is following a monorepo architecture, providing multiple packa
|
|
|
62
62
|
|
|
63
63
|
This package provides ready-to-use implementation of components with a customize style to fit Red Sift's use cases. It is based on all other packages.
|
|
64
64
|
|
|
65
|
-
- _Deprecated_ `@redsift/design-system-legacy`
|
|
66
|
-
|
|
67
|
-
This package contains all components prior to the 6.0.0 version. These components are deprecated and contributing to this package is discouraged since it will be removed in the future.
|
|
68
|
-
|
|
69
65
|
Please make sure to work inside the correct package when making contribution.
|
|
70
66
|
|
|
71
67
|
If you need something inside more than one package, do not duplicate the code. Place it inside one package, export it from this package and import it inside the others.
|
|
@@ -410,8 +406,8 @@ yarn build:charts
|
|
|
410
406
|
yarn build:dashboard
|
|
411
407
|
yarn build:design-system
|
|
412
408
|
yarn build:icons
|
|
413
|
-
yarn build:legacy
|
|
414
409
|
yarn build:table
|
|
410
|
+
yarn build:products
|
|
415
411
|
```
|
|
416
412
|
|
|
417
413
|
## Publishing a release
|
|
@@ -2,7 +2,7 @@ import { b as _extends, _ as _objectSpread2, a as _objectWithoutProperties } fro
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import React__default, { useLayoutEffect, useEffect, useRef, forwardRef, useContext, useState, useCallback } from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
|
-
import { baseContainer, Theme, AppContainerContext, useTheme, useId as useId$1, partitionComponents, isComponent, Flexbox, TextField, Button, Switch, Text } from '@redsift/design-system';
|
|
5
|
+
import { baseContainer, Theme, getContainerStylingTransientProps, AppContainerContext, useTheme, useId as useId$1, partitionComponents, isComponent, Flexbox, TextField, Button, Switch, Text } from '@redsift/design-system';
|
|
6
6
|
import styled, { css } from 'styled-components';
|
|
7
7
|
import { j as jsxRuntimeExports } from './jsx-runtime.js';
|
|
8
8
|
import * as ReactDOM from 'react-dom';
|
|
@@ -5130,12 +5130,16 @@ const CLASSNAME$3 = 'redsift-tooltip-content';
|
|
|
5130
5130
|
* The TooltipContent component.
|
|
5131
5131
|
*/
|
|
5132
5132
|
const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
5133
|
+
const {
|
|
5134
|
+
transientProps,
|
|
5135
|
+
otherProps
|
|
5136
|
+
} = getContainerStylingTransientProps(props);
|
|
5133
5137
|
const {
|
|
5134
5138
|
children,
|
|
5135
5139
|
className,
|
|
5136
5140
|
style,
|
|
5137
5141
|
theme: propsTheme
|
|
5138
|
-
} =
|
|
5142
|
+
} = otherProps;
|
|
5139
5143
|
const appContainerState = useContext(AppContainerContext);
|
|
5140
5144
|
const {
|
|
5141
5145
|
getFloatingProps,
|
|
@@ -5169,7 +5173,7 @@ const TooltipContent = /*#__PURE__*/forwardRef((props, ref) => {
|
|
|
5169
5173
|
className: classNames(TooltipContent.className, className),
|
|
5170
5174
|
ref: popoverRef,
|
|
5171
5175
|
$theme: theme
|
|
5172
|
-
}, getFloatingProps(
|
|
5176
|
+
}, getFloatingProps(otherProps), transientProps, {
|
|
5173
5177
|
style: _objectSpread2({
|
|
5174
5178
|
position: strategy,
|
|
5175
5179
|
top: y !== null && y !== void 0 ? y : 0,
|