@7shifts/sous-chef 3.44.17 → 3.45.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/dist/index.css +195 -158
- package/dist/index.d.ts +1 -0
- package/dist/index.js +38 -16
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +38 -16
- package/dist/index.modern.js.map +1 -1
- package/dist/lists/Accordion/AccordionContext.d.ts +7 -0
- package/dist/typography/Text/Text.d.ts +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type AccordionContextType = {
|
|
3
|
+
isAccordionMounted: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const AccordionContext: React.Context<AccordionContextType>;
|
|
6
|
+
export declare const useAccordionContext: () => AccordionContextType;
|
|
7
|
+
export default AccordionContext;
|
|
@@ -9,8 +9,9 @@ type Props = {
|
|
|
9
9
|
alignment?: Alignment;
|
|
10
10
|
color?: Color | string;
|
|
11
11
|
testId?: string;
|
|
12
|
+
textWrap?: 'wrap' | 'nowrap';
|
|
12
13
|
} & PositionStyles;
|
|
13
|
-
declare const Text: ({ children, as, emphasis, alignment, color, testId, ...positionProps }: Props) => React.ReactElement<{
|
|
14
|
+
declare const Text: ({ children, as, emphasis, alignment, color, testId, textWrap, ...positionProps }: Props) => React.ReactElement<{
|
|
14
15
|
style: {
|
|
15
16
|
margin?: import("csstype").Property.Margin<string | number> | undefined;
|
|
16
17
|
marginTop?: import("csstype").Property.MarginTop<string | number> | undefined;
|
|
@@ -18,6 +19,7 @@ declare const Text: ({ children, as, emphasis, alignment, color, testId, ...posi
|
|
|
18
19
|
marginBottom?: import("csstype").Property.MarginBottom<string | number> | undefined;
|
|
19
20
|
marginLeft?: import("csstype").Property.MarginLeft<string | number> | undefined;
|
|
20
21
|
color: string | undefined;
|
|
22
|
+
textWrap: "nowrap" | "wrap" | undefined;
|
|
21
23
|
};
|
|
22
24
|
className: string;
|
|
23
25
|
'data-testid': string | undefined;
|