tycho-components 0.0.11-SNAPSHOT-13 → 0.0.12-SNAPSHOT-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/AppModal/style.scss +0 -2
- package/dist/AppPlaceholder/AppPlaceholder.d.ts +3 -3
- package/dist/AppPlaceholder/AppPlaceholder.js +3 -3
- package/dist/AppPlaceholder/style.scss +10 -8
- package/dist/Comments/HeaderNotifications/style.scss +0 -2
- package/dist/Comments/style.scss +0 -2
- package/dist/Dummy/styles.scss +0 -2
- package/package.json +4 -4
package/dist/AppModal/style.scss
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import './style.scss';
|
|
3
2
|
type Props = {
|
|
4
|
-
|
|
3
|
+
text?: string;
|
|
4
|
+
children?: React.ReactNode;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
};
|
|
7
|
-
export default function AppPlaceholder({ children, onClick }: Props): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export default function AppPlaceholder({ text, children, onClick }: Props): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import './style.scss';
|
|
3
|
-
export default function AppPlaceholder({ children, onClick }) {
|
|
4
|
-
return (
|
|
3
|
+
export default function AppPlaceholder({ text, children, onClick }) {
|
|
4
|
+
return (_jsxs("div", { className: "ds-placeholder", onClick: () => onClick && onClick(), onKeyDown: () => onClick && onClick(), children: [text && _jsx("span", { children: text }), children && children] }));
|
|
5
5
|
}
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
.placeholder
|
|
1
|
+
.ds-placeholder {
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
justify-content: center;
|
|
5
5
|
align-items: center;
|
|
6
6
|
cursor: pointer;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
|
|
8
|
+
> span {
|
|
9
|
+
@include subtitle-large-2;
|
|
10
|
+
width: 100%;
|
|
11
|
+
text-align: center;
|
|
12
|
+
background-color: var(--layer-layer-2);
|
|
13
|
+
color: var(--text-placeholder);
|
|
14
|
+
padding: 32px;
|
|
15
|
+
}
|
|
14
16
|
}
|
package/dist/Comments/style.scss
CHANGED
package/dist/Dummy/styles.scss
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tycho-components",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.12-SNAPSHOT-1",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"exports": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@emotion/react": "^11.13.3",
|
|
38
38
|
"@emotion/styled": "^11.13.0",
|
|
39
39
|
"@hookform/resolvers": "^3.1.1",
|
|
40
|
-
"@mui/icons-material": "
|
|
41
|
-
"@mui/material": "
|
|
40
|
+
"@mui/icons-material": "^7.2.0",
|
|
41
|
+
"@mui/material": "^7.2.0",
|
|
42
42
|
"bootstrap": "^5.3.1",
|
|
43
43
|
"i18next": "^23.3.0",
|
|
44
44
|
"i18next-browser-languagedetector": "^7.1.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"react-hook-form": "^7.45.2",
|
|
49
49
|
"react-i18next": "^13.0.2",
|
|
50
50
|
"react-router-dom": "^6.14.2",
|
|
51
|
-
"tycho-storybook": "0.1.
|
|
51
|
+
"tycho-storybook": "0.1.7-SNAPSHOT",
|
|
52
52
|
"yup": "^1.2.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|