@base-framework/ui 1.0.241 → 1.0.243

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.
@@ -1155,7 +1155,7 @@ const z = globalThis.matchMedia, T = c(({ value: e, label: t, icon: s }) => m({
1155
1155
  */
1156
1156
  render() {
1157
1157
  const e = (s, { state: o }) => o.toggle("open"), t = (s, o) => {
1158
- this.state.start = s, this.state.end = o, this.state.open = !1, this.input.value = `${s}-${o}`, typeof this.onChange == "function" && this.onChange({ start: s, end: o });
1158
+ this.state.start = s, this.state.end = o, this.state.open = !1, this.input.value = `${s}-${o}`, typeof this.onChange == "function" && this.onChange({ start: s, end: o }, this.parent);
1159
1159
  };
1160
1160
  return n({ class: "relative w-full max-w-[320px]" }, [
1161
1161
  tt({
package/dist/index.es.js CHANGED
@@ -3,7 +3,7 @@ import { B as g, I as C, L as T } from "./buttons-Cm9etaEG.js";
3
3
  import { C as b, d as I, D as S, c as P, E as B, F, H as k, I as M, M as f, N as x, P as N, R as v, T as y, a as h, b as W, U as H, W as L } from "./inputs-CMjx5-IX.js";
4
4
  import { V as R, a as w } from "./veil-D4dRxILB.js";
5
5
  import { Icons as E } from "./icons.es.js";
6
- import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, u as ca, M as ga, l as Ca, N as Ta, P as Da, p as ba, q as Ia, S as Sa, n as Pa, o as Ba, T as Fa, z as ka, E as Ma, m as fa, r as xa } from "./empty-state-yMi6Ng-z.js";
6
+ import { A as O, B as V, C as j, t as q, G as J, v as z, w as _, x as K, y as Q, D as X, j as Y, k as Z, I as $, H as aa, s as ea, c as sa, a as oa, b as ta, J as ra, i as na, g as la, e as ia, h as pa, F as ma, d as ua, f as da, u as ca, M as ga, l as Ca, N as Ta, P as Da, p as ba, q as Ia, S as Sa, n as Pa, o as Ba, T as Fa, z as ka, E as Ma, m as fa, r as xa } from "./empty-state-aeZatOdA.js";
7
7
  import { A as va, b as ya, C as ha, D as Wa, a as Ha, F as La, M as Aa, P as Ra, R as wa, c as Ua, g as Ea, p as Ga } from "./range-calendar-k0B4ZWJq.js";
8
8
  import { B as Va, p as ja, C as qa, j as Ja, D as za, m as _a, k as Ka, H as Qa, I as Xa, N as Ya, O as Za, P as $a, S as ae, n as ee, o as se, t as oe, s as te, q as re, r as ne, T as le, l as ie, U as pe, W as me, f as ue, h as de, i as ce, c as ge, d as Ce, b as Te, e as De, a as be, g as Ie } from "./signature-panel-Cj_uAlDW.js";
9
9
  import { B as Pe, I as Be, M as Fe, d as ke, e as Me, g as fe, N as xe, b as Ne, a as ve, f as ye, P as he, c as We, S as He, T as Le } from "./mobile-nav-wrapper-Dj67Pb8l.js";
@@ -1,4 +1,4 @@
1
- import { A as o, B as t, C as e, t as i, G as r, v as n, w as m, x as l, y as S, D, j as c, k as u, I as g, H as p, s as C, c as d, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, u as M, M as k, l as x, N as v, P as E, p as N, q as R, S as h, n as L, o as U, T as j, z as q, E as z, m as G, r as H } from "./empty-state-yMi6Ng-z.js";
1
+ import { A as o, B as t, C as e, t as i, G as r, v as n, w as m, x as l, y as S, D, j as c, k as u, I as g, H as p, s as C, c as d, a as F, b as T, J as P, i as A, g as f, e as w, h as I, F as b, d as y, f as B, u as M, M as k, l as x, N as v, P as E, p as N, q as R, S as h, n as L, o as U, T as j, z as q, E as z, m as G, r as H } from "./empty-state-aeZatOdA.js";
2
2
  import { A as O, P as _, g as K } from "./range-calendar-k0B4ZWJq.js";
3
3
  export {
4
4
  o as Alert,
@@ -0,0 +1,9 @@
1
+ /**
2
+ * AttachmentInput
3
+ *
4
+ * This component handles file attachments.
5
+ *
6
+ * @class
7
+ */
8
+ export const AttachmentInput: typeof import("@base-framework/base").Component;
9
+ export default AttachmentInput;
@@ -0,0 +1,10 @@
1
+ /**
2
+ * Attachment
3
+ *
4
+ * This creates an attachment.
5
+ *
6
+ * @class
7
+ */
8
+ export const Attachment: typeof import("@base-framework/base").Component;
9
+ export default AttachmentInput;
10
+ import AttachmentInput from "./attachment-input.js";
@@ -0,0 +1 @@
1
+ export function getOrientation(file: object, callback: Function): void;
@@ -0,0 +1 @@
1
+ export function getFileType(file: object): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@base-framework/ui",
3
- "version": "1.0.241",
3
+ "version": "1.0.243",
4
4
  "description": "This is a UI package that adds components and atoms that use Tailwind CSS and a theme based on Shadcn.",
5
5
  "main": "./dist/index.es.js",
6
6
  "scripts": {