alif-ui 2.0.0 → 2.0.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.
@@ -9,6 +9,7 @@ var a = ({ links: a, linkComponent: o, linkProps: s, menuProps: c }) => /* @__PU
9
9
  position: "bottom-start",
10
10
  offset: 4,
11
11
  trigger: /* @__PURE__ */ i(n, {
12
+ type: "button",
12
13
  variant: "function",
13
14
  color: "tertiary",
14
15
  size: "s",
@@ -1 +1 @@
1
- {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/Dates/InputTimePicker/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAcrD,eAAO,MAAM,UAAU,GAAI,mJAcxB,eAAe,GAAG;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,gCAuHA,CAAC"}
1
+ {"version":3,"file":"TimePicker.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/Dates/InputTimePicker/TimePicker/TimePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAcrD,eAAO,MAAM,UAAU,GAAI,mJAcxB,eAAe,GAAG;IACpB,YAAY,CAAC,EAAE,OAAO,CAAC;CACvB,gCAwHA,CAAC"}
@@ -58,6 +58,7 @@ var S = ({ value: S, onChange: C, onScroll: w, maxTime: T, minTime: E, hoursStep
58
58
  M && /* @__PURE__ */ b("div", {
59
59
  className: i.confirmationBlock,
60
60
  children: /* @__PURE__ */ b(r, {
61
+ type: "button",
61
62
  size: "s",
62
63
  className: i.confirmationButton,
63
64
  onClick: () => C?.(c(R, B)),
@@ -1 +1 @@
1
- {"version":3,"file":"PickerOptions.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Dates/PickerOptions/PickerOptions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAM3D,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,6DAM/B,kBAAkB,CAAC,CAAC,CAAC,uCAkCvB,CAAC"}
1
+ {"version":3,"file":"PickerOptions.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Dates/PickerOptions/PickerOptions.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAM3D,eAAO,MAAM,aAAa,GAAI,CAAC,EAAG,6DAM/B,kBAAkB,CAAC,CAAC,CAAC,uCAmCvB,CAAC"}
@@ -13,6 +13,7 @@ var s = ({ options: s = [], isRange: c, onChange: l, onConfirm: u, disabledOptio
13
13
  children: [/* @__PURE__ */ a("div", {
14
14
  className: n.dateOptions,
15
15
  children: p.map(({ text: e, value: n }) => /* @__PURE__ */ a(t, {
16
+ type: "button",
16
17
  onClick: () => l(n),
17
18
  disabled: r(n, d),
18
19
  variant: "function",
@@ -21,6 +22,7 @@ var s = ({ options: s = [], isRange: c, onChange: l, onConfirm: u, disabledOptio
21
22
  children: e
22
23
  }, e))
23
24
  }), u && /* @__PURE__ */ a(t, {
25
+ type: "button",
24
26
  onClick: u,
25
27
  size: "s",
26
28
  children: i[f]
@@ -1 +1 @@
1
- {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,eAAO,MAAM,MAAM;sLAkBhB,WAAW;;;;CA+Db,CAAC"}
1
+ {"version":3,"file":"Drawer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Drawer/Drawer.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAa7C,eAAO,MAAM,MAAM;sLAkBhB,WAAW;;;;CAgEb,CAAC"}
@@ -33,6 +33,7 @@ var h = ({ isOpen: o, onClose: s, children: c, withCloseButton: h = !0, closeOnC
33
33
  style: u(C, v, y, b, x, E),
34
34
  ...O,
35
35
  children: [c, h && /* @__PURE__ */ p(i, {
36
+ type: "button",
36
37
  className: a.closeButton,
37
38
  variant: "ghost",
38
39
  color: "tertiary",
@@ -1 +1 @@
1
- {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Modal/Modal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAM3C,eAAO,MAAM,KAAK;8FASf,UAAU;;;;CAgCZ,CAAC"}
1
+ {"version":3,"file":"Modal.d.ts","sourceRoot":"","sources":["../../../src/lib/components/Modal/Modal.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAM3C,eAAO,MAAM,KAAK;8FASf,UAAU;;;;CAiCZ,CAAC"}
@@ -24,6 +24,7 @@ var f = ({ children: o, device: s = "desktop", centered: c = !0, withCloseButton
24
24
  style: l(s, f, h),
25
25
  className: e(a.root, p && a.scrollable, m),
26
26
  children: [o, f && /* @__PURE__ */ u(r, {
27
+ type: "button",
27
28
  variant: "ghost",
28
29
  color: "tertiary",
29
30
  className: a.closeButton,
@@ -1 +1 @@
1
- {"version":3,"file":"NativeDrawer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/NativeDrawer/NativeDrawer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAQzD,eAAO,MAAM,YAAY;iOAqBtB,iBAAiB;;;;CAsDnB,CAAC"}
1
+ {"version":3,"file":"NativeDrawer.d.ts","sourceRoot":"","sources":["../../../src/lib/components/NativeDrawer/NativeDrawer.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAQzD,eAAO,MAAM,YAAY;iOAqBtB,iBAAiB;;;;CAuDnB,CAAC"}
@@ -41,6 +41,7 @@ var f = ({ isOpen: s, onClose: c, children: l, position: f = "right", variant: p
41
41
  children: /* @__PURE__ */ d("div", {
42
42
  className: i.panel,
43
43
  children: [l, v && /* @__PURE__ */ u(n, {
44
+ type: "button",
44
45
  variant: "ghost",
45
46
  color: "tertiary",
46
47
  className: i.closeButton,
@@ -1 +1 @@
1
- {"version":3,"file":"NativeModal.d.ts","sourceRoot":"","sources":["../../../src/lib/components/NativeModal/NativeModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQvD,eAAO,MAAM,WAAW;4LAiBrB,gBAAgB;;;;CA+ClB,CAAC"}
1
+ {"version":3,"file":"NativeModal.d.ts","sourceRoot":"","sources":["../../../src/lib/components/NativeModal/NativeModal.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AAQvD,eAAO,MAAM,WAAW;4LAiBrB,gBAAgB;;;;CAgDlB,CAAC"}
@@ -37,6 +37,7 @@ var d = ({ isOpen: a, onClose: o, children: s, device: d = "desktop", centered:
37
37
  className: e(r.panel, b),
38
38
  style: x,
39
39
  children: [s, p && /* @__PURE__ */ l(n, {
40
+ type: "button",
40
41
  variant: "ghost",
41
42
  color: "tertiary",
42
43
  className: r.closeButton,
@@ -1 +1 @@
1
- {"version":3,"file":"SnackbarCard.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Snackbar/SnackbarCard/SnackbarCard.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoBzD,eAAO,MAAM,YAAY,GAAI,qBAAqB,iBAAiB,gCAkGlE,CAAC"}
1
+ {"version":3,"file":"SnackbarCard.d.ts","sourceRoot":"","sources":["../../../../src/lib/components/Snackbar/SnackbarCard/SnackbarCard.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAoBzD,eAAO,MAAM,YAAY,GAAI,qBAAqB,iBAAiB,gCAmGlE,CAAC"}
@@ -72,6 +72,7 @@ var h = {
72
72
  }),
73
73
  C,
74
74
  T && /* @__PURE__ */ p(l, {
75
+ type: "button",
75
76
  variant: "function",
76
77
  color: "tertiary",
77
78
  onClick: () => a(v),
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "license": "ISC",
23
23
  "private": false,
24
- "version": "2.0.0",
24
+ "version": "2.0.1",
25
25
  "type": "module",
26
26
  "files": [
27
27
  "dist",