@citygross/components_v2 0.0.25 → 0.0.27
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/EmptyBox/EmptyBox.css.ts.vanilla.css +18 -0
- package/dist/components/EmptyBox/EmptyBox.css.vanilla.js +6 -0
- package/dist/components/EmptyBox/EmptyBox.d.ts +9 -0
- package/dist/components/EmptyBox/EmptyBox.js +10 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
.EmptyBox_emptyBox__h1vfj10 {
|
|
2
|
+
background: #FFF7D1;
|
|
3
|
+
border-radius: 100%;
|
|
4
|
+
display: inline-block;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
padding: 16px;
|
|
7
|
+
height: 96px;
|
|
8
|
+
width: 96px;
|
|
9
|
+
place-content: center;
|
|
10
|
+
padding-top: 24px;
|
|
11
|
+
margin-bottom: 8px;
|
|
12
|
+
}
|
|
13
|
+
.EmptyBox_emptyBoxContainer__h1vfj11 {
|
|
14
|
+
display: flex;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
gap: 8px;
|
|
17
|
+
align-items: center;
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Icons } from '@citygross/icons_v2';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { emptyBoxContainer, emptyBox } from './EmptyBox.css.vanilla.js';
|
|
4
|
+
import { H3 } from '../../typography/H3/H3.js';
|
|
5
|
+
|
|
6
|
+
const EmptyBox = ({ title, description }) => {
|
|
7
|
+
return /* @__PURE__ */ React.createElement("div", { className: emptyBoxContainer }, /* @__PURE__ */ React.createElement("div", { className: emptyBox }, /* @__PURE__ */ React.createElement(Icons.EmptyBag, null)), /* @__PURE__ */ React.createElement(H3, { fontWeight: "semiBold" }, title), description);
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { EmptyBox };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export { BoxArrow, TBoxArrow } from './components/BoxArrow/BoxArrow.js';
|
|
|
5
5
|
export { Button, TCgButton } from './components/Button/Button.js';
|
|
6
6
|
export { CartItemSummary, TCartItemSummary, TSummaryItem } from './components/CartItemSummary/CartItemSummary.js';
|
|
7
7
|
export { CartSummary, TCartSummary } from './components/CartSummary/CartSummary.js';
|
|
8
|
+
export { EmptyBox, TEmptyBox } from './components/EmptyBox/EmptyBox.js';
|
|
8
9
|
export { Divider, TDivider } from './components/Divider/Divider.js';
|
|
9
10
|
export { Dot, TDot } from './components/Dot/Dot.js';
|
|
10
11
|
export { FormControl, TFormControl, TScreenWidth } from './components/FormControl/FormControl.js';
|
package/dist/index.js
CHANGED
|
@@ -5,6 +5,7 @@ export { BoxArrow } from './components/BoxArrow/BoxArrow.js';
|
|
|
5
5
|
export { Button } from './components/Button/Button.js';
|
|
6
6
|
export { CartItemSummary } from './components/CartItemSummary/CartItemSummary.js';
|
|
7
7
|
export { CartSummary } from './components/CartSummary/CartSummary.js';
|
|
8
|
+
export { EmptyBox } from './components/EmptyBox/EmptyBox.js';
|
|
8
9
|
export { Divider } from './components/Divider/Divider.js';
|
|
9
10
|
export { Dot } from './components/Dot/Dot.js';
|
|
10
11
|
export { FormControl, TScreenWidth } from './components/FormControl/FormControl.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@citygross/components_v2",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.27",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
68
|
"@citygross/design-tokens_v2": "^0.0.4",
|
|
69
|
-
"@citygross/icons_v2": "^0.0.
|
|
69
|
+
"@citygross/icons_v2": "^0.0.3",
|
|
70
70
|
"@citygross/react-use-bg-wizard": "^0.0.8",
|
|
71
71
|
"@citygross/typography": "^0.0.89",
|
|
72
72
|
"@citygross/utils": "^0.0.39",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"react-slick": "^0.30.1",
|
|
80
80
|
"slick-carousel": "^1.8.1"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "d8e083e018fb4c0a96f9d726a448f1999daa5117"
|
|
83
83
|
}
|