@sproutsocial/racine 17.0.0 → 19.0.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/CHANGELOG.md +59 -1
- package/README.md +16 -14
- package/__flow__/Card/Card.flow.js +5 -1
- package/__flow__/Card/CardTypes.flow.js +8 -1
- package/__flow__/Numeral/Numeral.flow.js +2 -0
- package/__flow__/index.flow.js +1 -8
- package/commonjs/Card/subComponents.js +14 -6
- package/commonjs/ChartLegend/ChartLegend.js +6 -23
- package/commonjs/ChartLegend/useChartLabels.js +41 -0
- package/commonjs/Collapsible/Collapsible.js +2 -2
- package/commonjs/Link/Link.js +2 -1
- package/commonjs/Menu/Menu.js +69 -55
- package/commonjs/Menu/styles.js +1 -1
- package/commonjs/Numeral/Numeral.js +11 -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/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/CardTypes.d.ts +3 -2
- package/dist/types/Card/CardTypes.d.ts.map +1 -1
- package/dist/types/Card/styles.d.ts +2 -2
- package/dist/types/Card/styles.d.ts.map +1 -1
- package/dist/types/Card/subComponents.d.ts +1 -1
- package/dist/types/Card/subComponents.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegend.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts +8 -5
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
- package/dist/types/ChartLegend/useChartLabels.d.ts +4 -0
- package/dist/types/ChartLegend/useChartLabels.d.ts.map +1 -0
- 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/Menu.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/Message/styles.d.ts +5 -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/Numeral/Numeral.d.ts.map +1 -1
- package/dist/types/Numeral/NumeralTypes.d.ts +2 -0
- package/dist/types/Numeral/NumeralTypes.d.ts.map +1 -1
- package/dist/types/Numeral/__tests__/features/testNumeral.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/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 +14 -7
- package/lib/ChartLegend/ChartLegend.js +5 -23
- package/lib/ChartLegend/useChartLabels.js +33 -0
- package/lib/Collapsible/Collapsible.js +1 -1
- package/lib/Link/Link.js +2 -1
- package/lib/Menu/Menu.js +69 -55
- package/lib/Menu/styles.js +1 -1
- package/lib/Numeral/Numeral.js +11 -2
- 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/themes/light/theme.js +30 -0
- package/lib/utils/use-measure.js +59 -0
- package/package.json +14 -20
- 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
package/dist/types/Box/Box.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { TypeBoxProps } from './BoxTypes';
|
|
3
|
-
declare const Box: React.ForwardRefExoticComponent<
|
|
3
|
+
declare const Box: React.ForwardRefExoticComponent<Omit<TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
4
|
export default Box;
|
|
5
5
|
//# sourceMappingURL=Box.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAE7C,QAAA,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../../src/Box/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAE7C,QAAA,MAAM,GAAG,kGAaR,CAAC;AAIF,eAAe,GAAG,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TypeIconProps } from '../Icon';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { TypeStyledComponentsCommonProps } from '../types/styled-components';
|
|
4
|
-
import type { TypeBorderSystemProps, TypeColorSystemProps, TypeFlexboxSystemProps, TypeGridSystemProps, TypeLayoutSystemProps, TypePositionSystemProps, TypeSpaceSystemProps } from '../systemProps';
|
|
4
|
+
import type { TypeBorderSystemProps, TypeColorSystemProps, TypeFlexboxSystemProps, TypeGridSystemProps, TypeLayoutSystemProps, TypePositionSystemProps, TypeSpaceSystemProps, TypeTypographySystemProps } from '../systemProps';
|
|
5
5
|
export interface TypeSharedCardSystemProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'color'>, TypeStyledComponentsCommonProps, TypeBorderSystemProps, TypeColorSystemProps, TypeFlexboxSystemProps, TypeGridSystemProps, TypeLayoutSystemProps, TypePositionSystemProps, TypeSpaceSystemProps {
|
|
6
6
|
}
|
|
7
7
|
export interface TypeCardStyleProps {
|
|
@@ -55,8 +55,9 @@ export interface TypeCardContext {
|
|
|
55
55
|
href?: string;
|
|
56
56
|
linkRef: React.RefObject<HTMLAnchorElement> | null;
|
|
57
57
|
}
|
|
58
|
-
export interface TypeCardLink {
|
|
58
|
+
export interface TypeCardLink extends Omit<React.ComponentPropsWithoutRef<'a'>, 'color'>, TypeColorSystemProps, TypeTypographySystemProps {
|
|
59
59
|
affordance?: boolean;
|
|
60
|
+
external?: boolean;
|
|
60
61
|
}
|
|
61
62
|
export {};
|
|
62
63
|
//# sourceMappingURL=CardTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CardTypes.d.ts","sourceRoot":"","sources":["../../../src/Card/CardTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,WAAW,CA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OAAO,CAAC,CAAC,CAAC;IACnE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;CACpD;AAED,MAAM,WAAW,YACf,SAAQ,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,EACxD,oBAAoB,EACpB,yBAAyB;IAC3B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { TypeStyledCard, TypeCardArea, TypeStyledSelectedIcon } from './CardTypes';
|
|
2
|
+
import { TypeStyledCard, TypeCardArea, TypeStyledSelectedIcon, TypeCardLink } from './CardTypes';
|
|
3
3
|
export declare const StyledCardContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypeCardArea, never>;
|
|
4
4
|
export declare const StyledCardHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypeCardArea, never>;
|
|
5
5
|
export declare const StyledCardFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypeCardArea, never>;
|
|
@@ -11,7 +11,7 @@ export declare const StyledSelectedIcon: import("styled-components").StyledCompo
|
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
}, import("styled-components").DefaultTheme, TypeStyledSelectedIcon, never>;
|
|
14
|
-
export declare const StyledCardLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme,
|
|
14
|
+
export declare const StyledCardLink: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, TypeCardLink, never>;
|
|
15
15
|
export declare const StyledCard: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, TypeStyledCard, never>;
|
|
16
16
|
export declare const StyledCardAffordance: import("styled-components").StyledComponent<{
|
|
17
17
|
({ name, size, fixedWidth, ariaLabel, color, svgProps, ...rest }: import("../Icon").TypeIconProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Card/styles.tsx"],"names":[],"mappings":";AAYA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,sBAAsB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Card/styles.tsx"],"names":[],"mappings":";AAYA,OAAO,EACL,cAAc,EACd,YAAY,EACZ,sBAAsB,EACtB,YAAY,EACb,MAAM,aAAa,CAAC;AAQrB,eAAO,MAAM,iBAAiB,mHAY7B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mHAa5B,CAAC;AAEF,eAAO,MAAM,gBAAgB,mHAa5B,CAAC;AAEF,eAAO,MAAM,mBAAmB,yGAO/B,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;2EAW9B,CAAC;AAEF,eAAO,MAAM,cAAc,iHAQ1B,CAAC;AAEF,eAAO,MAAM,UAAU,qHA8DtB,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;uDAKhC,CAAC"}
|
|
@@ -18,5 +18,5 @@ export declare const SelectedIcon: ({ $selected }: {
|
|
|
18
18
|
export declare const CardAffordance: ({ ...rest }: {
|
|
19
19
|
[x: string]: any;
|
|
20
20
|
}) => React.JSX.Element;
|
|
21
|
-
export declare const CardLink: ({ affordance, children, ...rest }: React.PropsWithChildren<TypeCardLink>) => React.JSX.Element;
|
|
21
|
+
export declare const CardLink: ({ affordance, children, external, color, ...rest }: React.PropsWithChildren<TypeCardLink>) => React.JSX.Element;
|
|
22
22
|
//# sourceMappingURL=subComponents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subComponents.d.ts","sourceRoot":"","sources":["../../../src/Card/subComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAWzC,eAAO,MAAM,WAAW;;;uBAKvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;uBAGtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;uBAGtB,CAAC;AAEF,eAAO,MAAM,YAAY;;uBAWxB,CAAC;AAEF,eAAO,MAAM,cAAc;;
|
|
1
|
+
{"version":3,"file":"subComponents.d.ts","sourceRoot":"","sources":["../../../src/Card/subComponents.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAExC,OAAO,EAAC,YAAY,EAAC,MAAM,aAAa,CAAC;AAWzC,eAAO,MAAM,WAAW;;;uBAKvB,CAAC;AAEF,eAAO,MAAM,UAAU;;;uBAGtB,CAAC;AAEF,eAAO,MAAM,UAAU;;;uBAGtB,CAAC;AAEF,eAAO,MAAM,YAAY;;uBAWxB,CAAC;AAEF,eAAO,MAAM,cAAc;;uBAU1B,CAAC;AAEF,eAAO,MAAM,QAAQ,uDAMlB,MAAM,iBAAiB,CAAC,YAAY,CAAC,sBAqBvC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ChartLegend.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegend.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAG7D,QAAA,MAAM,WAAW,kDAMd,oBAAoB,sBAQtB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { TypeStyledComponentsCommonProps } from '../types/styled-components';
|
|
3
3
|
import type { TypeSystemCommonProps, TypeSystemLayoutProps } from '../types/system-props';
|
|
4
|
-
|
|
4
|
+
/** @deprecated legend themes will be handled automatically by the standard dataviz rotation in a future version */
|
|
5
|
+
export declare type TypeChartLegendTheme = 'compare' | 'contrast' | 'extended' | 'datavizRotation';
|
|
6
|
+
export interface TypeLegendLabels {
|
|
7
|
+
name: string;
|
|
8
|
+
color?: string;
|
|
9
|
+
}
|
|
5
10
|
export interface TypeChartLegendProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, TypeSystemLayoutProps, Omit<React.ComponentPropsWithoutRef<'div'>, 'color'> {
|
|
6
11
|
/** Inline or stacked y plots */
|
|
7
12
|
stacked?: boolean;
|
|
13
|
+
/** @deprecated legend themes will be handled automatically by the standard dataviz rotation in a future version */
|
|
8
14
|
theme?: TypeChartLegendTheme;
|
|
9
15
|
/** Array of names with optional color to display. If no color is specified, index of label will be used to determine color based on the theme. */
|
|
10
|
-
legendLabels:
|
|
11
|
-
name: string;
|
|
12
|
-
color?: string;
|
|
13
|
-
}[];
|
|
16
|
+
legendLabels: TypeLegendLabels[];
|
|
14
17
|
qa?: object;
|
|
15
18
|
}
|
|
16
19
|
//# sourceMappingURL=ChartLegendTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChartLegendTypes.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegendTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,oBAAY,oBAAoB,
|
|
1
|
+
{"version":3,"file":"ChartLegendTypes.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/ChartLegendTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,yBAAyB,CAAC;AAEjC,mHAAmH;AACnH,oBAAY,oBAAoB,GAC5B,SAAS,GACT,UAAU,GACV,UAAU,GACV,iBAAiB,CAAC;AACtB,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AACD,MAAM,WAAW,oBACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,qBAAqB,EACrB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC;IACtD,gCAAgC;IAChC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mHAAmH;IACnH,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,kJAAkJ;IAClJ,YAAY,EAAE,gBAAgB,EAAE,CAAC;IACjC,EAAE,CAAC,EAAE,MAAM,CAAC;CACb"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TypeChartLegendTheme, TypeLegendLabels } from './ChartLegendTypes';
|
|
3
|
+
export declare const useChartLabels: (legendLabels: TypeLegendLabels[], theme: TypeChartLegendTheme) => React.JSX.Element[];
|
|
4
|
+
//# sourceMappingURL=useChartLabels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useChartLabels.d.ts","sourceRoot":"","sources":["../../../src/ChartLegend/useChartLabels.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAC,oBAAoB,EAAE,gBAAgB,EAAC,MAAM,oBAAoB,CAAC;AAmE/E,eAAO,MAAM,cAAc,iBACX,gBAAgB,EAAE,SACzB,oBAAoB,wBAmB5B,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { TypeCheckboxProps } from './CheckboxTypes';
|
|
3
3
|
declare const Container: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|
|
4
|
-
export declare const InputWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<
|
|
4
|
+
export declare const InputWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, Pick<TypeCheckboxProps, "appearance">, never>;
|
|
5
5
|
export declare const CheckboxBox: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
6
|
export declare const CheckIcon: import("styled-components").StyledComponent<{
|
|
7
7
|
({ name, size, fixedWidth, ariaLabel, color, svgProps, ...rest }: import("../Icon").TypeIconProps): React.JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Checkbox/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAEvD,QAAA,MAAM,SAAS,0GAMd,CAAC;AAGF,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Checkbox/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAC,iBAAiB,EAAC,MAAM,iBAAiB,CAAC;AAEvD,QAAA,MAAM,SAAS,0GAMd,CAAC;AAGF,eAAO,MAAM,YAAY,0PA2BxB,CAAC;AAGF,eAAO,MAAM,WAAW,yGAavB,CAAC;AAGF,eAAO,MAAM,SAAS;;;;;;;;iBAmBrB,CAAC;AAGF,eAAO,MAAM,SAAS,2GAuDrB,CAAC;AAGF,eAAO,MAAM,SAAS;;;;;;;;;wFAYrB,CAAC;AA2BF,eAAO,MAAM,iBAAiB,yKAwF7B,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const CollapsingBox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
2
|
+
export declare const CollapsingBox: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
3
3
|
hasShadow?: boolean | undefined;
|
|
4
4
|
scrollable?: boolean | undefined;
|
|
5
5
|
}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import moment from 'moment';
|
|
3
3
|
import { ModifiersShape } from 'react-dates';
|
|
4
|
-
export declare const CalendarDay: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
+
export declare const CalendarDay: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
5
5
|
modifiers: ModifiersShape;
|
|
6
6
|
day: moment.Moment;
|
|
7
7
|
}, never>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeDrawerProps } from './DrawerTypes';
|
|
3
3
|
import { TypeSystemCommonProps } from '../types/system-props';
|
|
4
|
-
export declare const Content: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
+
export declare const Content: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
interface ContainerType extends Pick<TypeDrawerProps, 'offset' | 'direction'>, TypeSystemCommonProps {
|
|
6
6
|
width: number;
|
|
7
7
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Drawer/styles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAI9D,eAAO,MAAM,OAAO
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Drawer/styles.ts"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,eAAe,CAAC;AAG9C,OAAO,EAAC,qBAAqB,EAAC,MAAM,yBAAyB,CAAC;AAI9D,eAAO,MAAM,OAAO,2OAEnB,CAAC;AAEF,UAAU,aACR,SAAQ,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,WAAW,CAAC,EACnD,qBAAqB;IACvB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,QAAA,MAAM,SAAS,oHAgBd,CAAC;AACF,eAAe,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeFieldsetChildContainerProps } from './FieldsetTypes';
|
|
3
|
-
export declare const ChildContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const ChildContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeFieldsetChildContainerProps, never>;
|
|
4
4
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Fieldset/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAC,+BAA+B,EAAC,MAAM,iBAAiB,CAAC;AAGhE,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Fieldset/styles.ts"],"names":[],"mappings":";AACA,OAAO,EAAC,+BAA+B,EAAC,MAAM,iBAAiB,CAAC;AAGhE,eAAO,MAAM,cAAc,wQAoB1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAY,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAI3C,OAAc,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAIjD,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,aAAa,EAEd,MAAM,aAAa,CAAC;AA8CrB,eAAO,MAAM,QAAQ;kMAgBlB,iBAAiB;;CAuLnB,CAAC;AACF,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAEpD,CAAC;AACF,eAAO,MAAM,SAAS;YAAW,iBAAiB;;CAEjD,CAAC;
|
|
1
|
+
{"version":3,"file":"Menu.d.ts","sourceRoot":"","sources":["../../../src/Menu/Menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAc/B,OAAY,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAI3C,OAAc,EAAC,cAAc,EAAC,MAAM,YAAY,CAAC;AAIjD,OAAO,KAAK,EACV,mBAAmB,EACnB,kBAAkB,EAClB,iBAAiB,EAEjB,aAAa,EAEd,MAAM,aAAa,CAAC;AA8CrB,eAAO,MAAM,QAAQ;kMAgBlB,iBAAiB;;CAuLnB,CAAC;AACF,eAAO,MAAM,YAAY;YAAW,iBAAiB;;CAEpD,CAAC;AACF,eAAO,MAAM,SAAS;YAAW,iBAAiB;;CAEjD,CAAC;AAUF,eAAO,MAAM,SAAS;mEAMnB,kBAAkB;;CA2BpB,CAAC;AAEF,eAAO,MAAM,WAAW;YAAW,YAAY;;CAQ9C,CAAC;AAyEF,eAAO,MAAM,IAAI;2EAQd,aAAa;;;uEAtHb,kBAAkB;;;;sMA7MlB,iBAAiB;;;;gBAwLgB,iBAAiB;;;;gBAGpB,iBAAiB;;;;gBA+Cf,YAAY;;;;gBAUf,cAAc;;;CAiI7C,CAAC;AAqBF,eAAO,MAAM,UAAU,2FASpB,mBAAmB,sBA+CrB,CAAC;AAEF,eAAe,IAAI,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { TypeMenuItemContainerProps } from '../Menu/MenuTypes';
|
|
3
|
-
export declare const MenuItemContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
4
|
-
export declare const MenuItemsContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
3
|
+
export declare const MenuItemContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeMenuItemContainerProps, never>;
|
|
4
|
+
export declare const MenuItemsContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Menu/styles.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,qBAAqB,CAAC;AAEpE,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Menu/styles.ts"],"names":[],"mappings":";AAGA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,qBAAqB,CAAC;AAEpE,eAAO,MAAM,iBAAiB,mQAoE7B,CAAC;AAEF,eAAO,MAAM,kBAAkB,2OAQ9B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { TypeMessageProps } from './MessageTypes';
|
|
3
|
-
declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
3
|
+
declare const Container: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
4
4
|
bg: string;
|
|
5
5
|
}, never>;
|
|
6
|
-
export declare const MessageHeader: import("react").MemoExoticComponent<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
7
|
-
export declare const MessageBody: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
8
|
-
export declare const MessageFooter: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
9
|
-
export declare const MessageMeta: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<
|
|
6
|
+
export declare const MessageHeader: import("react").MemoExoticComponent<import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeMessageProps, never>>;
|
|
7
|
+
export declare const MessageBody: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeMessageProps, never>;
|
|
8
|
+
export declare const MessageFooter: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeMessageProps, never>;
|
|
9
|
+
export declare const MessageMeta: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, TypeMessageProps, never>;
|
|
10
10
|
export default Container;
|
|
11
11
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
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,
|
|
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;
|