stp-ui-kit 0.0.95 → 0.0.97
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/components/display/Chip/Chip.d.ts +1 -0
- package/dist/components/feedback/Modal/Modal.d.ts +2 -5
- package/dist/components/feedback/Window/Window.d.ts +2 -5
- package/dist/components/navigation/CourseCollapse/CourseCollapse.d.ts +1 -0
- package/dist/stp-ui-kit.es.js +995 -980
- package/dist/stp-ui-kit.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/styles/_variables.scss +2 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
1
|
+
import { default as React, HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { ButtonProps } from '../..';
|
|
3
3
|
export interface ModalProps {
|
|
4
4
|
activator?: ReactNode;
|
|
@@ -12,10 +12,7 @@ export interface ModalProps {
|
|
|
12
12
|
fullHeight?: boolean;
|
|
13
13
|
size?: "sm" | "lg" | "md";
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
declare const Section: ({ children }: SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const Section: ({ children, className, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
19
16
|
interface ModalComponent extends React.FC<ModalProps> {
|
|
20
17
|
Section: typeof Section;
|
|
21
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { default as React, ReactNode } from 'react';
|
|
1
|
+
import { default as React, HTMLAttributes, PropsWithChildren, ReactNode } from 'react';
|
|
2
2
|
import { ButtonProps } from '../..';
|
|
3
3
|
export interface WindowProps {
|
|
4
4
|
activator?: ReactNode;
|
|
@@ -12,10 +12,7 @@ export interface WindowProps {
|
|
|
12
12
|
fullHeight?: boolean;
|
|
13
13
|
size?: "sm" | "lg" | "md";
|
|
14
14
|
}
|
|
15
|
-
|
|
16
|
-
children: ReactNode;
|
|
17
|
-
}
|
|
18
|
-
declare const Section: ({ children }: SectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare const Section: ({ children, className, ...rest }: PropsWithChildren<HTMLAttributes<HTMLDivElement>>) => import("react/jsx-runtime").JSX.Element;
|
|
19
16
|
interface WindowComponent extends React.FC<WindowProps> {
|
|
20
17
|
Section: typeof Section;
|
|
21
18
|
}
|