@companix/uikit 0.0.82 → 0.0.83

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.
@@ -37,7 +37,7 @@
37
37
  @include mixins.use-styles(blank, icon);
38
38
 
39
39
  &:not(:last-child) {
40
- margin-bottom: 20px;
40
+ margin-bottom: var(--blank__spacing, 20px);
41
41
  }
42
42
  }
43
43
 
@@ -49,7 +49,7 @@
49
49
  @include mixins.use-styles(blank, text);
50
50
 
51
51
  &:not(:last-child) {
52
- margin-bottom: 20px;
52
+ margin-bottom: var(--blank__spacing, 20px);
53
53
  }
54
54
  }
55
55
 
@@ -7,6 +7,7 @@ export interface BlankProps {
7
7
  children?: React.ReactNode;
8
8
  className?: string;
9
9
  appearance?: 'neutral' | 'negative';
10
+ style?: React.CSSProperties;
10
11
  }
11
- declare const Blank: ({ appearance, icon, className, iconSize, title, description, children }: BlankProps) => import("react/jsx-runtime").JSX.Element;
12
+ declare const Blank: (props: BlankProps) => import("react/jsx-runtime").JSX.Element;
12
13
  export { Blank };
@@ -1,14 +1,25 @@
1
- import { jsxs as e, jsx as a } from "react/jsx-runtime";
2
- import d from "classnames";
3
- import { Icon as o } from "./bundle.es33.js";
4
- const b = ({ appearance: r, icon: c, className: s, iconSize: i, title: n, description: l, children: m }) => /* @__PURE__ */ e("div", { className: d("blank", s), "data-appearance": r ?? "neutral", children: [
5
- /* @__PURE__ */ a("div", { className: "blank-icon", children: /* @__PURE__ */ a(o, { icon: c, size: i }) }),
6
- (n || l) && /* @__PURE__ */ e("div", { className: "blank-text", children: [
7
- n && /* @__PURE__ */ a("h4", { className: "blank-title", children: n }),
8
- l && /* @__PURE__ */ a("div", { className: "blank-description", children: l })
9
- ] }),
10
- m
11
- ] });
1
+ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
+ import m from "classnames";
3
+ import { Icon as p } from "./bundle.es33.js";
4
+ const b = (c) => {
5
+ const { appearance: l, icon: s, className: r, iconSize: t, title: e, description: n, children: o, style: d } = c;
6
+ return /* @__PURE__ */ i(
7
+ "div",
8
+ {
9
+ className: m("blank", r),
10
+ "data-appearance": l ?? "neutral",
11
+ style: d,
12
+ children: [
13
+ /* @__PURE__ */ a("div", { className: "blank-icon", children: /* @__PURE__ */ a(p, { icon: s, size: t }) }),
14
+ (e || n) && /* @__PURE__ */ i("div", { className: "blank-text", children: [
15
+ e && /* @__PURE__ */ a("h4", { className: "blank-title", children: e }),
16
+ n && /* @__PURE__ */ a("div", { className: "blank-description", children: n })
17
+ ] }),
18
+ o
19
+ ]
20
+ }
21
+ );
22
+ };
12
23
  export {
13
24
  b as Blank
14
25
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companix/uikit",
3
- "version": "0.0.82",
3
+ "version": "0.0.83",
4
4
  "main": "./dist/bundle.es.js",
5
5
  "module": "./dist/bundle.es.js",
6
6
  "types": "./dist/index.d.ts",