diff --git a/src/__snapshots__/storybook.test.js.snap b/src/__snapshots__/storybook.test.js.snap index 761f7b520..c692c490d 100644 --- a/src/__snapshots__/storybook.test.js.snap +++ b/src/__snapshots__/storybook.test.js.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:27ca12107fbb302d13f3614c19fdb17bf357c2e7ab7e8ce71271bc60205fd2fa -size 1811279 +oid sha256:7de8c06a830df0c8b10804e15f3b53b178cb8f0633350e2bbc3c4499b5ce4f10 +size 1811256 diff --git a/src/components/Empty/SVG/DefaultEmptyMessagesImg.tsx b/src/components/Empty/SVG/DefaultEmptyMessagesImg.tsx index 8c57ad184..99859393e 100644 --- a/src/components/Empty/SVG/DefaultEmptyMessagesImg.tsx +++ b/src/components/Empty/SVG/DefaultEmptyMessagesImg.tsx @@ -18,25 +18,25 @@ export const DefaultEmptyMessagesImg = (): JSX.Element => { d="M131.098 145.069C125.349 140.58 119.665 136.448 116.52 133.384C116.016 132.893 115.288 132.671 114.598 132.81C35.5718 148.779 -9.97428 65.6821 65.669 27.1035C65.7558 27.0592 65.8525 27.0185 65.9449 26.9875C142.983 1.22162 204.241 81.5443 135.362 124.844C134.772 125.214 134.381 125.876 134.381 126.572L134.381 143.483C134.381 145.166 132.424 146.105 131.098 145.069Z" fill="white" stroke="#8ED0FA" - stroke-width="6" + strokeWidth="6" /> ); diff --git a/src/components/Empty/SVG/DefaultEmptySearchImg.tsx b/src/components/Empty/SVG/DefaultEmptySearchImg.tsx index 87c28e4b4..c2713e929 100644 --- a/src/components/Empty/SVG/DefaultEmptySearchImg.tsx +++ b/src/components/Empty/SVG/DefaultEmptySearchImg.tsx @@ -17,7 +17,7 @@ export const DefaultEmptySearchImg = (): JSX.Element => { @@ -33,14 +33,14 @@ export const DefaultEmptySearchImg = (): JSX.Element => { ); diff --git a/src/components/Empty/SVG/DefaultServerErrorImg.tsx b/src/components/Empty/SVG/DefaultServerErrorImg.tsx index 25c1ffd55..a2ef9ba9a 100644 --- a/src/components/Empty/SVG/DefaultServerErrorImg.tsx +++ b/src/components/Empty/SVG/DefaultServerErrorImg.tsx @@ -18,7 +18,7 @@ export const DefaultServerErrorImg = (): JSX.Element => { d="M49.2784 101.405C39.3247 57.4604 105.676 18.8428 136.863 78.7671C196.578 76.1036 191.934 156.002 145.489 158L107.668 158L46.6243 158C12.7837 158 0.841885 104.068 49.2784 101.405Z" fill="white" stroke="#8ED0FA" - stroke-width="6" + strokeWidth="6" /> { d="M102 142C107.192 142 111 137.516 111 132.5C111 127.484 107.192 123 102 123C96.8079 123 93 127.484 93 132.5C93 137.516 96.8079 142 102 142Z" fill="#B0F3FE" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" /> @@ -52,7 +52,7 @@ export const DefaultServerErrorImg = (): JSX.Element => { x2="148.606" y2="24.3346" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="148.608" y2="11.6065" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="18.6061" y2="51.3346" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="18.6076" y2="38.6065" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> diff --git a/src/components/Empty/SVG/DefaultTasksCompleteImg.tsx b/src/components/Empty/SVG/DefaultTasksCompleteImg.tsx index 0833335fe..e60620fe4 100644 --- a/src/components/Empty/SVG/DefaultTasksCompleteImg.tsx +++ b/src/components/Empty/SVG/DefaultTasksCompleteImg.tsx @@ -17,14 +17,14 @@ export const DefaultTasksCompleteImg = (): JSX.Element => { { r="60" fill="white" stroke="#8ED0FA" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { @@ -52,7 +52,7 @@ export const DefaultTasksCompleteImg = (): JSX.Element => { x2="142" y2="13" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="151" y2="4" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="13" y2="87" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> { x2="22" y2="78" stroke="#B0F3FE" - stroke-width="6" + strokeWidth="6" strokeLinecap="round" /> diff --git a/src/components/Table/Internal/OcTable.types.ts b/src/components/Table/Internal/OcTable.types.ts index c1b696d7b..769e01760 100644 --- a/src/components/Table/Internal/OcTable.types.ts +++ b/src/components/Table/Internal/OcTable.types.ts @@ -178,7 +178,7 @@ export interface ExpandableConfig { } // =================== Render =================== -export type PanelRender = ( +export type FrameWrapperRender = ( data: readonly RecordType[] ) => React.ReactNode; @@ -230,8 +230,8 @@ export interface OcTableProps { rowClassName?: string | RowClassName; // Additional Part - title?: PanelRender; - footer?: PanelRender; + title?: FrameWrapperRender; + footer?: FrameWrapperRender; summary?: (data: readonly RecordType[]) => React.ReactNode; // Customize diff --git a/src/components/Tabs/Tabs.test.tsx b/src/components/Tabs/Tabs.test.tsx index f74279851..3ee3c95d3 100644 --- a/src/components/Tabs/Tabs.test.tsx +++ b/src/components/Tabs/Tabs.test.tsx @@ -10,7 +10,7 @@ Enzyme.configure({ adapter: new Adapter() }); let matchMedia: any; -describe('Panel', () => { +describe('Tabs', () => { let wrapper: ReactWrapper; const tabs = [1, 2, 3, 4].map((i) => ({ diff --git a/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap b/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap index a0e38e4ff..161d4e787 100644 --- a/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap +++ b/src/components/Tabs/__snapshots__/Tabs.test.tsx.snap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:9ab7c2374ef51604482bc10d3d45c162f804dc8f712e64cea4811d767daf14df -size 4095 +oid sha256:602931e3cc25b26b97abe944839c92408263c3012a8028bdd56707ed923c58f2 +size 4094