md-components-mdigial-azamat 0.0.27 → 0.0.28

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 (2) hide show
  1. package/dist/Space/Space.js +17 -16
  2. package/package.json +1 -1
@@ -1,24 +1,25 @@
1
- import { jsx as o } from "react/jsx-runtime";
2
- import { OptionTypesEnum as s, DataTypesEnum as p } from "../Types/FiledTypes.js";
3
- const n = {
1
+ import { jsx as s } from "react/jsx-runtime";
2
+ import { OptionTypesEnum as o, DataTypesEnum as p } from "../Types/FiledTypes.js";
3
+ const a = {
4
4
  s: 10,
5
5
  m: 20,
6
6
  l: 40,
7
7
  xl: 60
8
- }, a = (t) => t.map((e) => ({
9
- label: e.label,
10
- value: e.value
11
- })), i = a(
12
- Object.entries(n).map(([t, e]) => ({
13
- label: t,
14
- value: e.toString()
8
+ }, l = (e) => e.map((t) => ({
9
+ label: t.label,
10
+ value: t.value
11
+ })), n = l(
12
+ Object.entries(a).map(([e, t]) => ({
13
+ label: e,
14
+ value: t.toString()
15
15
  }))
16
- ), l = {
17
- type: "options",
18
- options: i,
19
- variant: s.options,
20
- dataType: p.select
21
- }, r = [l], c = ({ size: t = 20 }) => /* @__PURE__ */ o("div", { style: { height: `${t}px` } });
16
+ ), i = {
17
+ type: "size",
18
+ options: n,
19
+ variant: o.options,
20
+ dataType: p.select,
21
+ label: "Размер пробела"
22
+ }, r = [i], c = ({ size: e = 20 }) => /* @__PURE__ */ s("div", { style: { height: `${e}px` } });
22
23
  c.propsToEdit = r;
23
24
  export {
24
25
  c as Space
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "md-components-mdigial-azamat",
3
3
  "author": "Azamat Raimbekov",
4
4
  "private": false,
5
- "version": "0.0.27",
5
+ "version": "0.0.28",
6
6
  "type": "module",
7
7
  "main": "dist/main.js",
8
8
  "types": "dist/main.d.ts",