@sproutsocial/racine 18.0.0 → 19.0.1
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/CHANGELOG.md +34 -0
- package/__flow__/index.flow.js +1 -8
- package/commonjs/Card/subComponents.js +6 -0
- package/commonjs/Collapsible/Collapsible.js +2 -2
- package/commonjs/TableHeaderCell/TableHeaderCell.js +3 -1
- package/commonjs/Toast/styles.js +2 -4
- package/commonjs/index.flow.js +48 -64
- package/commonjs/index.js +8 -24
- package/commonjs/react.d.js +1 -0
- package/commonjs/themes/light/theme.js +33 -1
- package/commonjs/utils/use-measure.js +65 -0
- package/dist/themes/dark/theme.scss +28 -0
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +28 -0
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +28 -0
- package/dist/themes/light/theme.scss +56 -0
- package/dist/types/Box/Box.d.ts +1 -1
- package/dist/types/Box/Box.d.ts.map +1 -1
- package/dist/types/Card/Card.d.ts.map +1 -1
- package/dist/types/Card/subComponents.d.ts.map +1 -1
- package/dist/types/Card/utils.d.ts +1 -0
- package/dist/types/Card/utils.d.ts.map +1 -1
- package/dist/types/Checkbox/styles.d.ts +1 -1
- package/dist/types/Checkbox/styles.d.ts.map +1 -1
- package/dist/types/Collapsible/styles.d.ts +1 -1
- package/dist/types/DatePicker/styles.d.ts +1 -1
- package/dist/types/Drawer/styles.d.ts +1 -1
- package/dist/types/Drawer/styles.d.ts.map +1 -1
- package/dist/types/Fieldset/styles.d.ts +1 -1
- package/dist/types/Fieldset/styles.d.ts.map +1 -1
- package/dist/types/Menu/styles.d.ts +2 -2
- package/dist/types/Menu/styles.d.ts.map +1 -1
- package/dist/types/Menu/utils/hooks.d.ts +1 -0
- package/dist/types/Menu/utils/hooks.d.ts.map +1 -1
- package/dist/types/Message/styles.d.ts +6 -5
- package/dist/types/Message/styles.d.ts.map +1 -1
- package/dist/types/Modal/Modal.d.ts +1 -1
- package/dist/types/Modal/styles.d.ts +4 -4
- package/dist/types/Modal/styles.d.ts.map +1 -1
- package/dist/types/SegmentedControl/styles.d.ts +2 -2
- package/dist/types/SegmentedControl/styles.d.ts.map +1 -1
- package/dist/types/Skeleton/Skeleton.d.ts +1 -1
- package/dist/types/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/types/StatefulStory.d.ts +1 -0
- package/dist/types/StatefulStory.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +2 -1
- package/dist/types/Toast/styles.d.ts.map +1 -1
- package/dist/types/Tooltip/styles.d.ts +1 -1
- package/dist/types/Tooltip/styles.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -5
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/themes/dark/theme.d.ts +28 -0
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/light/theme.d.ts +56 -0
- package/dist/types/themes/light/theme.d.ts.map +1 -1
- package/dist/types/utils/use-measure.d.ts +14 -0
- package/dist/types/utils/use-measure.d.ts.map +1 -0
- package/lib/Card/subComponents.js +6 -0
- package/lib/Collapsible/Collapsible.js +1 -1
- package/lib/TableHeaderCell/TableHeaderCell.js +3 -1
- package/lib/Toast/styles.js +2 -3
- package/lib/index.flow.js +1 -7
- package/lib/index.js +2 -7
- package/lib/react.d.js +0 -0
- package/lib/themes/light/theme.js +30 -0
- package/lib/utils/use-measure.js +59 -0
- package/package.json +30 -36
- package/__flow__/OverflowList/OverflowList.flow.js +0 -22
- package/__flow__/OverflowList/index.flow.js +0 -2
- package/__flow__/dataviz/DataVizRotation.flow.js +0 -12
- package/__flow__/dataviz/index.flow.js +0 -2
- package/commonjs/OverflowList/OverflowList.flow.js +0 -6
- package/commonjs/OverflowList/OverflowList.js +0 -115
- package/commonjs/OverflowList/OverflowListTypes.js +0 -5
- package/commonjs/OverflowList/index.flow.js +0 -16
- package/commonjs/OverflowList/index.js +0 -31
- package/commonjs/OverflowList/styles.js +0 -25
- package/commonjs/dataviz/DataVizRotation.flow.js +0 -6
- package/commonjs/dataviz/DataVizRotation.js +0 -21
- package/commonjs/dataviz/DataVizRotationTypes.js +0 -5
- package/commonjs/dataviz/index.flow.js +0 -16
- package/commonjs/dataviz/index.js +0 -27
- package/dist/types/OverflowList/OverflowList.d.ts +0 -5
- package/dist/types/OverflowList/OverflowList.d.ts.map +0 -1
- package/dist/types/OverflowList/OverflowListTypes.d.ts +0 -16
- package/dist/types/OverflowList/OverflowListTypes.d.ts.map +0 -1
- package/dist/types/OverflowList/index.d.ts +0 -5
- package/dist/types/OverflowList/index.d.ts.map +0 -1
- package/dist/types/OverflowList/styles.d.ts +0 -4
- package/dist/types/OverflowList/styles.d.ts.map +0 -1
- package/dist/types/dataviz/DataVizRotation.d.ts +0 -5
- package/dist/types/dataviz/DataVizRotation.d.ts.map +0 -1
- package/dist/types/dataviz/DataVizRotationTypes.d.ts +0 -5
- package/dist/types/dataviz/DataVizRotationTypes.d.ts.map +0 -1
- package/dist/types/dataviz/index.d.ts +0 -3
- package/dist/types/dataviz/index.d.ts.map +0 -1
- package/lib/OverflowList/OverflowList.flow.js +0 -1
- package/lib/OverflowList/OverflowList.js +0 -104
- package/lib/OverflowList/OverflowListTypes.js +0 -1
- package/lib/OverflowList/index.flow.js +0 -1
- package/lib/OverflowList/index.js +0 -4
- package/lib/OverflowList/styles.js +0 -14
- package/lib/dataviz/DataVizRotation.flow.js +0 -1
- package/lib/dataviz/DataVizRotation.js +0 -13
- package/lib/dataviz/DataVizRotationTypes.js +0 -1
- package/lib/dataviz/index.flow.js +0 -1
- package/lib/dataviz/index.js +0 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Message/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Message/styles.ts"],"names":[],"mappings":";;AAKA,OAAO,EAAC,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAGhD,QAAA,MAAM,SAAS;QACT,MAAM;SASX,CAAC;AAIF,eAAO,MAAM,aAAa,8RAgBxB,CAAC;AAiDH,eAAO,MAAM,WAAW,yPASvB,CAAC;AAEF,eAAO,MAAM,aAAa,yPAgBzB,CAAC;AAEF,eAAO,MAAM,WAAW,yPAsBvB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -20,7 +20,7 @@ declare const Modal: {
|
|
|
20
20
|
};
|
|
21
21
|
displayName: string;
|
|
22
22
|
};
|
|
23
|
-
Content: React.ForwardRefExoticComponent<
|
|
23
|
+
Content: React.ForwardRefExoticComponent<Omit<TypeModalContentProps, "ref"> & React.RefAttributes<unknown>>;
|
|
24
24
|
CloseButton: {
|
|
25
25
|
(props: TypeModalCloseButtonProps): React.JSX.Element | null;
|
|
26
26
|
displayName: string;
|
|
@@ -5,10 +5,10 @@ export declare const Body: import("styled-components").GlobalStyleComponent<{},
|
|
|
5
5
|
export declare const Container: import("styled-components").StyledComponent<({ className, ...props }: {
|
|
6
6
|
className?: string | undefined;
|
|
7
7
|
} & Omit<ReactModal.Props, "className" | "portalClassName" | "overlayClassName">) => React.JSX.Element, import("styled-components").DefaultTheme, TypeContainerProps, never>;
|
|
8
|
-
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
9
|
-
export declare const HeaderContainer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
10
|
-
export declare const Header: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
8
|
+
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
9
|
+
export declare const HeaderContainer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
10
|
+
export declare const Header: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
11
11
|
bordered?: boolean | undefined;
|
|
12
12
|
}, never>;
|
|
13
|
-
export declare const Footer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
13
|
+
export declare const Footer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Modal/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAY,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAmCjD,eAAO,MAAM,IAAI,gGAIhB,CAAC;AAEF,eAAO,MAAM,SAAS;;4KAkDrB,CAAC;AAEF,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Modal/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAY,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAmCjD,eAAO,MAAM,IAAI,gGAIhB,CAAC;AAEF,eAAO,MAAM,SAAS;;4KAkDrB,CAAC;AAEF,eAAO,MAAM,OAAO,uNAWnB,CAAC;AAEF,eAAO,MAAM,eAAe,uNAI3B,CAAC;AAEF,eAAO,MAAM,MAAM;;SASlB,CAAC;AAEF,eAAO,MAAM,MAAM,uNAOlB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeSegmentedControlProps } from './SegmentedControlTypes';
|
|
3
|
-
export declare const SegmentedControlContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
-
export declare const SegmentedControlItemContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const SegmentedControlContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, Pick<TypeSegmentedControlProps, "disabled">, never>;
|
|
4
|
+
export declare const SegmentedControlItemContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
interface TypeSegmentedControlState {
|
|
6
6
|
isActive: boolean;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/SegmentedControl/styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;AAElE,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/SegmentedControl/styles.ts"],"names":[],"mappings":";AAIA,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;AAElE,eAAO,MAAM,yBAAyB,oRAarC,CAAC;AAEF,eAAO,MAAM,6BAA6B,2OAgBzC,CAAC;AAEF,UAAU,yBAAyB;IACjC,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,qBAAqB;;;;;;;;;8EAsCjC,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Skeleton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
2
|
+
declare const Skeleton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export default Skeleton;
|
|
4
4
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/Skeleton.ts"],"names":[],"mappings":";AAIA,QAAA,MAAM,QAAQ
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/Skeleton.ts"],"names":[],"mappings":";AAIA,QAAA,MAAM,QAAQ,2OA0Bb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StatefulStory.d.ts","sourceRoot":"","sources":["../../src/StatefulStory.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAW,EAAE,EAAC,MAAM,OAAO,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,QAAQ,EAAE,EAAE,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;KAAC,CAAC,CAAC;IACvD,YAAY,EAAE,CAAC,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAC/B,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC,iDAGvB"}
|
|
1
|
+
{"version":3,"file":"StatefulStory.d.ts","sourceRoot":"","sources":["../../src/StatefulStory.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAW,EAAE,EAAC,MAAM,OAAO,CAAC;AAEnC;;;;GAIG;AACH,MAAM,WAAW,kBAAkB,CAAC,CAAC;IACnC,QAAQ,EAAE,EAAE,CAAC;QAAC,KAAK,EAAE,CAAC,CAAC;QAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,CAAA;KAAC,CAAC,CAAC;IACvD,YAAY,EAAE,CAAC,CAAC;CACjB;AAED;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,EAC/B,QAAQ,EACR,YAAY,GACb,EAAE,kBAAkB,CAAC,CAAC,CAAC,iDAGvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/TableHeaderCell/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAEhE,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IAC5E,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;IAE3B,WAAW,aACC,OAAO,qBACE,WAAW,GAAG,YAAY,GAAG,SAAS,uBAgBzD;IAGF,WAAW,MACN,gBAAgB,CAAC,oBAAoB,GAAG,iBAAiB,CAAC,
|
|
1
|
+
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/TableHeaderCell/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAEhE,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IAC5E,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;IAE3B,WAAW,aACC,OAAO,qBACE,WAAW,GAAG,YAAY,GAAG,SAAS,uBAgBzD;IAGF,WAAW,MACN,gBAAgB,CAAC,oBAAoB,GAAG,iBAAiB,CAAC,UAgB7D;IAEF,MAAM;CAoEP;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
2
3
|
import { TypeColor } from '../types/theme';
|
|
3
4
|
interface TypeProps {
|
|
4
5
|
type: 'info' | 'success' | 'warning' | 'error';
|
|
5
6
|
customColor?: TypeColor;
|
|
6
7
|
}
|
|
7
|
-
declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
8
|
+
declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeProps, never>;
|
|
8
9
|
export declare const CustomIcon: import("styled-components").StyledComponent<{
|
|
9
10
|
({ name, size, fixedWidth, ariaLabel, color, svgProps, ...rest }: import("../Icon").TypeIconProps): import("react").JSX.Element;
|
|
10
11
|
Toggle: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Toast/styles.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Toast/styles.ts"],"names":[],"mappings":";AAGA,OAAO,uCAAuC,CAAC;AAG/C,OAAO,EAAC,SAAS,EAAC,MAAM,kBAAkB,CAAC;AAE3C,UAAU,SAAS;IACjB,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC/C,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,QAAA,MAAM,SAAS,kPAQd,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;8DAItB,CAAC;AAEF,eAAO,MAAM,iBAAiB,gGAgC7B,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeTooltipContent } from './TooltipTypes';
|
|
3
|
-
export declare const TooltipContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const TooltipContent: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, Pick<TypeTooltipContent, "appearance">, never>;
|
|
4
4
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Tooltip/styles.ts"],"names":[],"mappings":";AAEA,OAAO,EAAC,kBAAkB,EAAC,MAAM,gBAAgB,CAAC;AAElD,eAAO,MAAM,cAAc,+QAM1B,CAAC"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { default as ThemeProvider } from './ThemeProvider';
|
|
|
13
13
|
export { useSelect, useMultiselect, useTextContent } from './utils/hooks';
|
|
14
14
|
export { visuallyHidden, focusRing, disabled } from './utils/mixins';
|
|
15
15
|
export { useInteractiveColor } from './utils/useInteractiveColor';
|
|
16
|
+
export { useMeasure } from './utils/use-measure';
|
|
16
17
|
export * from './Avatar';
|
|
17
18
|
export * from './Badge';
|
|
18
19
|
export * from './Banner';
|
|
@@ -43,7 +44,6 @@ export * from './Menu';
|
|
|
43
44
|
export * from './Message';
|
|
44
45
|
export * from './Modal';
|
|
45
46
|
export * from './Numeral';
|
|
46
|
-
export * from './OverflowList';
|
|
47
47
|
export * from './PartnerLogo';
|
|
48
48
|
export * from './Popout';
|
|
49
49
|
export * from './Radio';
|
|
@@ -70,8 +70,4 @@ export * from './VisuallyHidden';
|
|
|
70
70
|
* @deprecated Alert has been renamed to Banner
|
|
71
71
|
*/
|
|
72
72
|
export { Banner as Alert } from './Banner';
|
|
73
|
-
/**
|
|
74
|
-
* Should this be exported? @deprecated?
|
|
75
|
-
*/
|
|
76
|
-
export * from './dataviz';
|
|
77
73
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACnD,YAAY,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AACnE,YAAY,EAAC,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACnD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,aAAa,CAAC;AACjD,OAAO,EAAC,OAAO,IAAI,qBAAqB,EAAC,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAAC,OAAO,IAAI,gBAAgB,EAAC,MAAM,aAAa,CAAC;AAGxD,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAC,OAAO,IAAI,KAAK,EAAC,MAAM,sBAAsB,CAAC;AACtD,OAAO,EAAC,OAAO,IAAI,SAAS,EAAC,MAAM,qBAAqB,CAAC;AACzD,OAAO,EACL,gBAAgB,EAChB,eAAe,GAChB,MAAM,qCAAqC,CAAC;AAC7C,YAAY,EAAC,SAAS,EAAE,eAAe,EAAC,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AAGzD,OAAO,EAAC,SAAS,EAAE,cAAc,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AACxE,OAAO,EAAC,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAC,MAAM,gBAAgB,CAAC;AACnE,OAAO,EAAC,mBAAmB,EAAC,MAAM,6BAA6B,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,YAAY,EAAC,a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
564
|
+
400: string;
|
|
565
|
+
500: string;
|
|
566
|
+
600: string;
|
|
567
|
+
700: string;
|
|
568
|
+
800: string;
|
|
569
|
+
900: string;
|
|
570
|
+
1000: string;
|
|
571
|
+
1100: string;
|
|
572
|
+
1200: string;
|
|
573
|
+
};
|
|
574
|
+
lineHeights: {
|
|
575
|
+
100: string;
|
|
576
|
+
200: string;
|
|
577
|
+
300: string;
|
|
578
|
+
400: string;
|
|
579
|
+
500: string;
|
|
580
|
+
600: string;
|
|
581
|
+
700: string;
|
|
582
|
+
800: string;
|
|
583
|
+
900: string;
|
|
584
|
+
1000: string;
|
|
585
|
+
1100: string;
|
|
586
|
+
1200: string;
|
|
587
|
+
};
|
|
560
588
|
fontFamily: string;
|
|
561
589
|
fontWeights: {
|
|
562
590
|
normal: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAmOF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAhNT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8HrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA9HjD,mDAAmD
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/dark/theme.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAmOF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBAhNT,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;gBAyBnD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YA8HrD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BA9HjD,mDAAmD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4LxD,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -49,6 +49,34 @@ export declare const typography: {
|
|
|
49
49
|
lineHeight: string;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
|
+
export declare const fontSizes: {
|
|
53
|
+
100: string;
|
|
54
|
+
200: string;
|
|
55
|
+
300: string;
|
|
56
|
+
400: string;
|
|
57
|
+
500: string;
|
|
58
|
+
600: string;
|
|
59
|
+
700: string;
|
|
60
|
+
800: string;
|
|
61
|
+
900: string;
|
|
62
|
+
1000: string;
|
|
63
|
+
1100: string;
|
|
64
|
+
1200: string;
|
|
65
|
+
};
|
|
66
|
+
export declare const lineHeights: {
|
|
67
|
+
100: string;
|
|
68
|
+
200: string;
|
|
69
|
+
300: string;
|
|
70
|
+
400: string;
|
|
71
|
+
500: string;
|
|
72
|
+
600: string;
|
|
73
|
+
700: string;
|
|
74
|
+
800: string;
|
|
75
|
+
900: string;
|
|
76
|
+
1000: string;
|
|
77
|
+
1100: string;
|
|
78
|
+
1200: string;
|
|
79
|
+
};
|
|
52
80
|
export declare type TypeFontFamilyString = string;
|
|
53
81
|
export declare const fontFamily: string;
|
|
54
82
|
export declare const fontWeights: {
|
|
@@ -645,6 +673,34 @@ declare const theme: {
|
|
|
645
673
|
lineHeight: string;
|
|
646
674
|
};
|
|
647
675
|
};
|
|
676
|
+
fontSizes: {
|
|
677
|
+
100: string;
|
|
678
|
+
200: string;
|
|
679
|
+
300: string;
|
|
680
|
+
400: string;
|
|
681
|
+
500: string;
|
|
682
|
+
600: string;
|
|
683
|
+
700: string;
|
|
684
|
+
800: string;
|
|
685
|
+
900: string;
|
|
686
|
+
1000: string;
|
|
687
|
+
1100: string;
|
|
688
|
+
1200: string;
|
|
689
|
+
};
|
|
690
|
+
lineHeights: {
|
|
691
|
+
100: string;
|
|
692
|
+
200: string;
|
|
693
|
+
300: string;
|
|
694
|
+
400: string;
|
|
695
|
+
500: string;
|
|
696
|
+
600: string;
|
|
697
|
+
700: string;
|
|
698
|
+
800: string;
|
|
699
|
+
900: string;
|
|
700
|
+
1000: string;
|
|
701
|
+
1100: string;
|
|
702
|
+
1200: string;
|
|
703
|
+
};
|
|
648
704
|
fontFamily: string;
|
|
649
705
|
fontWeights: {
|
|
650
706
|
normal: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../src/themes/light/theme.ts"],"names":[],"mappings":"AA6BA,eAAO,MAAM,WAAW,UAA0C,CAAC;AAmQnE,eAAO,MAAM,UA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
+
bottom: number;
|
|
10
|
+
left: number;
|
|
11
|
+
}
|
|
12
|
+
export declare function useMeasure<TElement extends Element>(ref: RefObject<TElement>): Readonly<DOMRectObject>;
|
|
13
|
+
export {};
|
|
14
|
+
//# sourceMappingURL=use-measure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-measure.d.ts","sourceRoot":"","sources":["../../../src/utils/use-measure.ts"],"names":[],"mappings":"AAAA,OAAO,EAA4B,KAAK,SAAS,EAAC,MAAM,OAAO,CAAC;AAEhE,UAAU,aAAa;IACrB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAYD,wBAAgB,UAAU,CAAC,QAAQ,SAAS,OAAO,EAAE,GAAG,EAAE,SAAS,CAAC,QAAQ,CAAC,2BAoC5E"}
|
|
@@ -58,10 +58,16 @@ export var CardLink = function CardLink(_ref6) {
|
|
|
58
58
|
var _useContext = useContext(SubComponentContext),
|
|
59
59
|
href = _useContext.href,
|
|
60
60
|
linkRef = _useContext.linkRef;
|
|
61
|
+
|
|
62
|
+
// Because we are hijacking Card click event to directly click this link, we need to stop propagation to avoid a double click event.
|
|
63
|
+
var handleClick = function handleClick(e) {
|
|
64
|
+
e.stopPropagation();
|
|
65
|
+
};
|
|
61
66
|
return /*#__PURE__*/React.createElement(StyledCardLink, _extends({}, rest, {
|
|
62
67
|
target: external ? '_blank' : undefined,
|
|
63
68
|
rel: external ? 'noreferrer' : undefined,
|
|
64
69
|
href: href,
|
|
70
|
+
onClick: handleClick,
|
|
65
71
|
ref: linkRef
|
|
66
72
|
// TODO: fix this type since `color` should be valid here. TS can't resolve the correct type.
|
|
67
73
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -17,7 +17,7 @@ function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefine
|
|
|
17
17
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
18
18
|
import * as React from 'react';
|
|
19
19
|
import { useState, useRef, useContext, useEffect } from 'react';
|
|
20
|
-
import useMeasure from
|
|
20
|
+
import { useMeasure } from "../utils/use-measure";
|
|
21
21
|
import Box from "../Box";
|
|
22
22
|
import { CollapsingBox } from "./styles";
|
|
23
23
|
var idCounter = 0;
|
|
@@ -45,12 +45,14 @@ export var TableHeaderCell = /*#__PURE__*/function (_React$Component) {
|
|
|
45
45
|
}));
|
|
46
46
|
});
|
|
47
47
|
_defineProperty(_assertThisInitialized(_this), "handleClick", function (e) {
|
|
48
|
-
e.preventDefault();
|
|
49
48
|
var _this$props = _this.props,
|
|
50
49
|
onClick = _this$props.onClick,
|
|
51
50
|
onSort = _this$props.onSort,
|
|
52
51
|
isSortable = _this$props.isSortable,
|
|
53
52
|
id = _this$props.id;
|
|
53
|
+
if (onClick || isSortable) {
|
|
54
|
+
e.preventDefault();
|
|
55
|
+
}
|
|
54
56
|
if (onClick) {
|
|
55
57
|
// @ts-note: Right now the `onClick` is incorrectly set to consume an HTMLButtonElement event
|
|
56
58
|
onClick(e);
|
package/lib/Toast/styles.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import styled, { createGlobalStyle } from 'styled-components';
|
|
2
|
-
// TODO: this is something ugly that needs to be fixed
|
|
3
2
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
4
3
|
// @ts-ignore
|
|
5
|
-
import
|
|
4
|
+
import 'react-toastify/dist/ReactToastify.css';
|
|
6
5
|
import Box from "../Box";
|
|
7
6
|
import Icon from "../Icon";
|
|
8
7
|
var Container = styled(Box).withConfig({
|
|
@@ -25,7 +24,7 @@ export var CustomIcon = styled(Icon).withConfig({
|
|
|
25
24
|
}, function (p) {
|
|
26
25
|
return p.customColor ? undefined : p.theme.colors.icon[p.type];
|
|
27
26
|
});
|
|
28
|
-
export var GlobalToastStyles = createGlobalStyle(["
|
|
27
|
+
export var GlobalToastStyles = createGlobalStyle([".Toastify__toast{box-shadow:", " !important;background:transparent !important;}.Toastify__toast:last-of-type{margin-bottom:0 !important;}.Toastify-container-overrides{padding:0 !important;width:360px !important;}.Toastify-toast-overrides{padding:0 !important;min-height:0 !important;border-radius:2px !important;}.Toastify__toast-container--bottom-right{bottom:", " !important;right:", " !important;}@media only screen and (max-width:480px){.Toastify-container-overrides{min-width:initial !important;}}"], function (p) {
|
|
29
28
|
return p.theme.shadows.low;
|
|
30
29
|
}, function (p) {
|
|
31
30
|
return p.theme.space[400];
|