math-main-components 0.0.8 → 0.0.10

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.
Files changed (29) hide show
  1. package/dist/components/Accordeon/Accordeon.d.ts +3 -0
  2. package/dist/components/Accordeon/Accordeon.types.d.ts +4 -0
  3. package/dist/components/Dialog/Dialog.d.ts +3 -0
  4. package/{src/components/Dialog/Dialog.types.ts → dist/components/Dialog/Dialog.types.d.ts} +5 -4
  5. package/dist/components/Gap/Gap.d.ts +3 -0
  6. package/{src/components/Gap/Gap.types.ts → dist/components/Gap/Gap.types.d.ts} +1 -1
  7. package/dist/components/Gap/index.d.ts +1 -0
  8. package/dist/components/SvgIcon/SvgIcon.d.ts +4 -0
  9. package/dist/components/SvgIcon/SvgIcon.types.d.ts +8 -0
  10. package/{src/components/SvgIcon/index.ts → dist/components/SvgIcon/index.d.ts} +0 -1
  11. package/dist/components/index.d.ts +4 -0
  12. package/dist/index.cjs.js +79 -0
  13. package/dist/index.d.ts +1 -0
  14. package/dist/index.esm.js +68 -0
  15. package/package.json +36 -20
  16. package/src/components/Accordeon/Accordeon.tsx +0 -24
  17. package/src/components/Accordeon/Accordeon.types.ts +0 -4
  18. package/src/components/Accordeon/styles.module.scss +0 -66
  19. package/src/components/Dialog/Dialog.tsx +0 -26
  20. package/src/components/Dialog/styles.module.scss +0 -32
  21. package/src/components/Gap/Gap.tsx +0 -9
  22. package/src/components/Gap/index.tsx +0 -1
  23. package/src/components/SvgIcon/SvgIcon.tsx +0 -19
  24. package/src/components/SvgIcon/SvgIcon.types.ts +0 -9
  25. package/src/components/index.ts +0 -5
  26. package/src/index.ts +0 -1
  27. package/src/types/index.d.ts +0 -4
  28. /package/{src/components/Accordeon/index.tsx → dist/components/Accordeon/index.d.ts} +0 -0
  29. /package/{src/components/Dialog/index.tsx → dist/components/Dialog/index.d.ts} +0 -0
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { AccordeonProps } from './Accordeon.types';
3
+ export declare function Accordeon({ title, children }: AccordeonProps): React.JSX.Element;
@@ -0,0 +1,4 @@
1
+ export interface AccordeonProps {
2
+ title?: string;
3
+ children?: any;
4
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { DialogProps } from "./Dialog.types";
3
+ export declare function Dialog({ active, onClose, children }: DialogProps): React.JSX.Element;
@@ -1,5 +1,6 @@
1
+ /// <reference types="react" />
1
2
  export interface DialogProps {
2
- active?: boolean
3
- onClose?: (event: React.MouseEventHandler<HTMLDivElement>) => void
4
- children: any
5
- }
3
+ active?: boolean;
4
+ onClose?: (event: React.MouseEventHandler<HTMLDivElement>) => void;
5
+ children: any;
6
+ }
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { GapProps } from "./Gap.types";
3
+ export declare function Gap({ size }: GapProps): React.JSX.Element;
@@ -1,3 +1,3 @@
1
1
  export interface GapProps {
2
2
  size?: string;
3
- }
3
+ }
@@ -0,0 +1 @@
1
+ export * from './Gap';
@@ -0,0 +1,4 @@
1
+ import "external-svg-loader";
2
+ import React from 'react';
3
+ import { SvgIconProps } from "./SvgIcon.types";
4
+ export declare function SvgIcon({ iconName, size, className, onClick }: SvgIconProps): React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import { MouseEventHandler } from "react";
2
+ export interface SvgIconProps {
3
+ iconName?: string;
4
+ size?: string;
5
+ fill?: string;
6
+ className?: string;
7
+ onClick?: MouseEventHandler<HTMLSpanElement>;
8
+ }
@@ -1,2 +1 @@
1
-
2
1
  export * from './SvgIcon';
@@ -0,0 +1,4 @@
1
+ export { Accordeon } from './Accordeon';
2
+ export { Dialog } from './Dialog';
3
+ export { Gap } from './Gap';
4
+ export { SvgIcon } from './SvgIcon';
@@ -0,0 +1,79 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var React = require('react');
6
+ require('external-svg-loader');
7
+
8
+ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
9
+
10
+ var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
11
+
12
+ function SvgIcon({ iconName, size = "24px", className = "", onClick }) {
13
+ return (React__default["default"].createElement(React__default["default"].Fragment, null,
14
+ React__default["default"].createElement("span", { onClick: onClick, className: `material-symbols-outlined ${className}`, style: { fontSize: size } }, iconName),
15
+ "Lib"));
16
+ }
17
+
18
+ function styleInject(css, ref) {
19
+ if ( ref === void 0 ) ref = {};
20
+ var insertAt = ref.insertAt;
21
+
22
+ if (!css || typeof document === 'undefined') { return; }
23
+
24
+ var head = document.head || document.getElementsByTagName('head')[0];
25
+ var style = document.createElement('style');
26
+ style.type = 'text/css';
27
+
28
+ if (insertAt === 'top') {
29
+ if (head.firstChild) {
30
+ head.insertBefore(style, head.firstChild);
31
+ } else {
32
+ head.appendChild(style);
33
+ }
34
+ } else {
35
+ head.appendChild(style);
36
+ }
37
+
38
+ if (style.styleSheet) {
39
+ style.styleSheet.cssText = css;
40
+ } else {
41
+ style.appendChild(document.createTextNode(css));
42
+ }
43
+ }
44
+
45
+ var css_248z$1 = ".styles-module_container__3IVfB {\n margin-top: 40px;\n background: white;\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 16px 20px;\n color: grey;\n background: #F1F1F1;\n border-radius: 30px;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n transition: 0.2s ease-in-out;\n gap: 10px;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb span {\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb h3 {\n margin: 0;\n font-weight: 400;\n font-size: 16px;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb:hover {\n background: #e2e2e2;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R {\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_head__xFYQb span {\n rotate: 180deg;\n}\n.styles-module_container__3IVfB .styles-module_content__XAf02 {\n transition: all 0.3s ease-in-out;\n line-height: 1.5;\n}\n.styles-module_container__3IVfB.styles-module_not_active__JcVLz .styles-module_content__XAf02 {\n height: 0;\n max-height: 0;\n overflow: hidden;\n opacity: 0;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_content__XAf02 {\n max-height: auto;\n overflow: visible;\n opacity: 1;\n padding: 10px 0px;\n}";
46
+ var styles$1 = {"container":"styles-module_container__3IVfB","head":"styles-module_head__xFYQb","active":"styles-module_active__soD8R","content":"styles-module_content__XAf02","not_active":"styles-module_not_active__JcVLz"};
47
+ styleInject(css_248z$1);
48
+
49
+ function Accordeon({ title, children }) {
50
+ const [isActive, setActive] = React.useState(false);
51
+ return (React__default["default"].createElement("div", { className: [styles$1.container, isActive ? styles$1.active : styles$1.not_active].join(" ") },
52
+ React__default["default"].createElement("div", { className: styles$1.head, onClick: () => setActive(!isActive) },
53
+ React__default["default"].createElement(SvgIcon, { iconName: "expand_more" }),
54
+ React__default["default"].createElement("h3", null, title)),
55
+ React__default["default"].createElement("div", { className: styles$1.content }, children)));
56
+ }
57
+
58
+ var css_248z = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding: 20px;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}";
59
+ var styles = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M"};
60
+ styleInject(css_248z);
61
+
62
+ function Dialog({ active = false, onClose = (event) => { }, children = null }) {
63
+ function onClick(event) {
64
+ if (event.target.id == 'dialog-backdrop') {
65
+ onClose(event);
66
+ }
67
+ }
68
+ return (React__default["default"].createElement("div", { id: "dialog-backdrop", className: `${styles.container} ${active ? styles.active : styles.disabled}`, onClick: onClick },
69
+ React__default["default"].createElement("div", { className: styles.dialog_window }, children)));
70
+ }
71
+
72
+ function Gap({ size }) {
73
+ return (React__default["default"].createElement("div", { style: { height: size } }));
74
+ }
75
+
76
+ exports.Accordeon = Accordeon;
77
+ exports.Dialog = Dialog;
78
+ exports.Gap = Gap;
79
+ exports.SvgIcon = SvgIcon;
@@ -0,0 +1 @@
1
+ export { Accordeon, Dialog, Gap, SvgIcon } from './components';
@@ -0,0 +1,68 @@
1
+ import React, { useState } from 'react';
2
+ import 'external-svg-loader';
3
+
4
+ function SvgIcon({ iconName, size = "24px", className = "", onClick }) {
5
+ return (React.createElement(React.Fragment, null,
6
+ React.createElement("span", { onClick: onClick, className: `material-symbols-outlined ${className}`, style: { fontSize: size } }, iconName),
7
+ "Lib"));
8
+ }
9
+
10
+ function styleInject(css, ref) {
11
+ if ( ref === void 0 ) ref = {};
12
+ var insertAt = ref.insertAt;
13
+
14
+ if (!css || typeof document === 'undefined') { return; }
15
+
16
+ var head = document.head || document.getElementsByTagName('head')[0];
17
+ var style = document.createElement('style');
18
+ style.type = 'text/css';
19
+
20
+ if (insertAt === 'top') {
21
+ if (head.firstChild) {
22
+ head.insertBefore(style, head.firstChild);
23
+ } else {
24
+ head.appendChild(style);
25
+ }
26
+ } else {
27
+ head.appendChild(style);
28
+ }
29
+
30
+ if (style.styleSheet) {
31
+ style.styleSheet.cssText = css;
32
+ } else {
33
+ style.appendChild(document.createTextNode(css));
34
+ }
35
+ }
36
+
37
+ var css_248z$1 = ".styles-module_container__3IVfB {\n margin-top: 40px;\n background: white;\n border-radius: 30px;\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb {\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 16px 20px;\n color: grey;\n background: #F1F1F1;\n border-radius: 30px;\n cursor: pointer;\n user-select: none;\n -webkit-user-select: none;\n transition: 0.2s ease-in-out;\n gap: 10px;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb span {\n transition: 0.2s ease-in-out;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb h3 {\n margin: 0;\n font-weight: 400;\n font-size: 16px;\n user-select: none;\n -webkit-user-select: none;\n}\n.styles-module_container__3IVfB .styles-module_head__xFYQb:hover {\n background: #e2e2e2;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R {\n box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_head__xFYQb span {\n rotate: 180deg;\n}\n.styles-module_container__3IVfB .styles-module_content__XAf02 {\n transition: all 0.3s ease-in-out;\n line-height: 1.5;\n}\n.styles-module_container__3IVfB.styles-module_not_active__JcVLz .styles-module_content__XAf02 {\n height: 0;\n max-height: 0;\n overflow: hidden;\n opacity: 0;\n}\n.styles-module_container__3IVfB.styles-module_active__soD8R .styles-module_content__XAf02 {\n max-height: auto;\n overflow: visible;\n opacity: 1;\n padding: 10px 0px;\n}";
38
+ var styles$1 = {"container":"styles-module_container__3IVfB","head":"styles-module_head__xFYQb","active":"styles-module_active__soD8R","content":"styles-module_content__XAf02","not_active":"styles-module_not_active__JcVLz"};
39
+ styleInject(css_248z$1);
40
+
41
+ function Accordeon({ title, children }) {
42
+ const [isActive, setActive] = useState(false);
43
+ return (React.createElement("div", { className: [styles$1.container, isActive ? styles$1.active : styles$1.not_active].join(" ") },
44
+ React.createElement("div", { className: styles$1.head, onClick: () => setActive(!isActive) },
45
+ React.createElement(SvgIcon, { iconName: "expand_more" }),
46
+ React.createElement("h3", null, title)),
47
+ React.createElement("div", { className: styles$1.content }, children)));
48
+ }
49
+
50
+ var css_248z = ".styles-module_container__9-1MH {\n position: fixed;\n height: 100vh;\n width: 100vw;\n background: rgba(255, 255, 255, 0.659);\n backdrop-filter: blur(10px) brightness(70%);\n left: 0;\n top: 0;\n z-index: 10000;\n display: flex;\n flex-direction: row;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.styles-module_container__9-1MH.styles-module_active__AXoyo {\n opacity: 1;\n}\n.styles-module_container__9-1MH.styles-module_disabled__sELpy {\n pointer-events: none;\n opacity: 0;\n}\n.styles-module_container__9-1MH .styles-module_dialog_window__0Bn2M {\n background: white;\n border-radius: 20px;\n padding: 20px;\n box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;\n cursor: auto;\n}";
51
+ var styles = {"container":"styles-module_container__9-1MH","active":"styles-module_active__AXoyo","disabled":"styles-module_disabled__sELpy","dialog_window":"styles-module_dialog_window__0Bn2M"};
52
+ styleInject(css_248z);
53
+
54
+ function Dialog({ active = false, onClose = (event) => { }, children = null }) {
55
+ function onClick(event) {
56
+ if (event.target.id == 'dialog-backdrop') {
57
+ onClose(event);
58
+ }
59
+ }
60
+ return (React.createElement("div", { id: "dialog-backdrop", className: `${styles.container} ${active ? styles.active : styles.disabled}`, onClick: onClick },
61
+ React.createElement("div", { className: styles.dialog_window }, children)));
62
+ }
63
+
64
+ function Gap({ size }) {
65
+ return (React.createElement("div", { style: { height: size } }));
66
+ }
67
+
68
+ export { Accordeon, Dialog, Gap, SvgIcon };
package/package.json CHANGED
@@ -1,27 +1,43 @@
1
1
  {
2
2
  "name": "math-main-components",
3
- "version": "0.0.8",
3
+ "version": "0.0.10",
4
4
  "author": "Emilian Scheel",
5
- "license": "MIT",
6
- "main": "src/index.ts",
7
5
  "files": [
8
- "src/**/*"
6
+ "dist/**/*"
9
7
  ],
10
- "dependencies": {
11
- "@tsconfig/recommended": "^1.0.3",
12
- "@types/react": "^18.2.22",
13
- "css-loader": "^6.8.1",
14
- "css-modules-typescript-loader": "^4.0.1",
15
- "node-sass": "^9.0.0",
16
- "prop-types": "^15.8.1",
17
- "react": "^18.2.0",
18
- "react-dom": "^18.2.0",
19
- "sass": "^1.67.0",
20
- "sass-loader": "^13.3.2",
21
- "style-loader": "^3.3.3",
22
- "ts-loader": "^9.4.4",
23
- "tsc": "^2.0.4",
8
+ "main": "dist/index.cjs.js",
9
+ "module": "dist/index.esm.js",
10
+ "types": "dist/index.d.ts",
11
+ "license": "MIT",
12
+ "devDependencies": {
13
+ "@babel/core": "^7.22.20",
14
+ "@rollup/plugin-commonjs": "^22.0.1",
15
+ "@rollup/plugin-node-resolve": "^13.3.0",
16
+ "@rollup/plugin-typescript": "^8.3.4",
17
+ "@types/react": "^18.0.15",
18
+ "@types/react-dom": "^18.0.6",
19
+ "autoprefixer": "^10.4.7",
20
+ "babel": "^6.23.0",
21
+ "babel-loader": "^9.1.3",
22
+ "postcss": "^8.4.14",
23
+ "postcss-modules": "^4.3.1",
24
+ "rollup": "^2.77.2",
25
+ "rollup-plugin-peer-deps-external": "^2.2.4",
26
+ "rollup-plugin-postcss": "^4.0.2",
27
+ "sass": "^1.51.0",
28
+ "string-hash": "^1.1.3",
24
29
  "typescript": "^5.2.2",
25
- "webpack": "^5.88.2"
26
- }
30
+ "typescript-plugin-css-modules": "^5.0.1"
31
+ },
32
+ "peerDependencies": {
33
+ "react": "^17.0.2",
34
+ "react-dom": "^17.0.2"
35
+ },
36
+ "scripts": {
37
+ "clean": "rm -rf dist",
38
+ "build": "npm run build:js && npm run build:types",
39
+ "build:js": "rollup -c",
40
+ "build:types": "tsc --emitDeclarationOnly --outDir dist"
41
+ },
42
+ "dependencies": {}
27
43
  }
@@ -1,24 +0,0 @@
1
- import React, { useState } from 'react'
2
- import { SvgIcon } from '../SvgIcon'
3
- import { AccordeonProps } from './Accordeon.types'
4
- import styles from './styles.module.scss'
5
-
6
- export function Accordeon({
7
- title,
8
- children
9
- }: AccordeonProps) {
10
-
11
- const [isActive, setActive] = useState(false)
12
-
13
- return (
14
- <div className={[styles.container, isActive ? styles.active : styles.not_active].join(" ")}>
15
- <div className={styles.head} onClick={() => setActive(!isActive)}>
16
- <SvgIcon iconName="expand_more" />
17
- <h3>{title}</h3>
18
- </div>
19
- <div className={styles.content}>
20
- {children}
21
- </div>
22
- </div>
23
- )
24
- }
@@ -1,4 +0,0 @@
1
- export interface AccordeonProps {
2
- title?: string,
3
- children?: any
4
- }
@@ -1,66 +0,0 @@
1
- .container {
2
- margin-top: 40px;
3
- background: white;
4
- border-radius: 30px;
5
- transition: 0.2s ease-in-out;
6
-
7
- .head {
8
- display: flex;
9
- flex-direction: row;
10
- align-items: center;
11
- padding: 16px 20px;
12
- color: grey;
13
- background: #F1F1F1;
14
- border-radius: 30px;
15
- cursor: pointer;
16
- user-select: none;
17
- -webkit-user-select: none;
18
- transition: 0.2s ease-in-out;
19
-
20
- gap: 10px;
21
-
22
- span {
23
- transition: 0.2s ease-in-out;
24
- }
25
-
26
- h3 {
27
- margin: 0;
28
- font-weight: 400;
29
- font-size: 16px;
30
- user-select: none;
31
- -webkit-user-select: none;
32
- }
33
-
34
- &:hover {
35
- background: #e2e2e2;
36
- }
37
- }
38
-
39
- &.active {
40
- box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px,
41
- rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
42
- }
43
-
44
- &.active .head span {
45
- rotate: 180deg;
46
- }
47
-
48
- .content {
49
- transition: all 0.3s ease-in-out;
50
- line-height: 1.5;
51
- }
52
-
53
- &.not_active .content {
54
- height: 0;
55
- max-height: 0;
56
- overflow: hidden;
57
- opacity: 0;
58
- }
59
-
60
- &.active .content {
61
- max-height: auto;
62
- overflow: visible;
63
- opacity: 1;
64
- padding: 10px 0px;
65
- }
66
- }
@@ -1,26 +0,0 @@
1
- import React from "react";
2
- import { DialogProps } from "./Dialog.types";
3
- import styles from './styles.module.scss';
4
-
5
-
6
-
7
- export function Dialog({
8
- active = false,
9
- onClose = (event: any) => { },
10
- children = null
11
- }: DialogProps) {
12
-
13
- function onClick(event: any) {
14
- if (event.target.id == 'dialog-backdrop') {
15
- onClose(event)
16
- }
17
- }
18
-
19
- return (
20
- <div id="dialog-backdrop" className={`${styles.container} ${active ? styles.active : styles.disabled}`} onClick={onClick}>
21
- <div className={styles.dialog_window}>
22
- {children}
23
- </div>
24
- </div>
25
- )
26
- }
@@ -1,32 +0,0 @@
1
- .container {
2
- position: fixed;
3
- height: 100vh;
4
- width: 100vw;
5
- background: rgba(255, 255, 255, 0.659);
6
- backdrop-filter: blur(10px) brightness(70%);
7
- left: 0;
8
- top: 0;
9
- z-index: 10000;
10
- display: flex;
11
- flex-direction: row;
12
- align-items: center;
13
- justify-content: center;
14
- cursor: pointer;
15
-
16
- &.active {
17
- opacity: 1;
18
- }
19
-
20
- &.disabled {
21
- pointer-events: none;
22
- opacity: 0;
23
- }
24
-
25
- .dialog_window {
26
- background: white;
27
- border-radius: 20px;
28
- padding: 20px;
29
- box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
30
- cursor: auto;
31
- }
32
- }
@@ -1,9 +0,0 @@
1
- import React from "react";
2
- import { GapProps } from "./Gap.types";
3
-
4
-
5
- export function Gap({ size }: GapProps) {
6
- return (
7
- <div style={{ height: size }}></div>
8
- )
9
- }
@@ -1 +0,0 @@
1
- export * from './';
@@ -1,19 +0,0 @@
1
- import "external-svg-loader";
2
- import { SvgIconProps } from "./SvgIcon.types";
3
-
4
-
5
- export function SvgIcon({
6
- iconName,
7
- size = "24px",
8
- className = "",
9
- onClick
10
- }: SvgIconProps) {
11
- return (
12
- <>
13
- <span onClick={onClick} className={`material-symbols-outlined ${className}`} style={{ fontSize: size }}>
14
- {iconName}
15
- </span >
16
- Lib
17
- </>
18
- )
19
- }
@@ -1,9 +0,0 @@
1
- import { MouseEventHandler } from "react"
2
-
3
- export interface SvgIconProps {
4
- iconName?: string
5
- size?: string
6
- fill?: string
7
- className?: string
8
- onClick?: MouseEventHandler<HTMLSpanElement>
9
- }
@@ -1,5 +0,0 @@
1
- export * from './Accordeon';
2
- export * from './Dialog';
3
- export * from './Gap';
4
- export * from './SvgIcon';
5
-
package/src/index.ts DELETED
@@ -1 +0,0 @@
1
- export * from './components';
@@ -1,4 +0,0 @@
1
- declare module '*.scss' {
2
- const content: Record<string, string>;
3
- export default content;
4
- }