@maia-insurance/ui 1.0.2-c.69-canary.1 → 1.0.2-c.69-canary.3

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/index.js CHANGED
@@ -13757,7 +13757,13 @@ function it(t) {
13757
13757
  var J5 = "_1l771r13 _1owkpoa0";
13758
13758
  function iw(t) {
13759
13759
  const { inputProps: e, ...n } = t;
13760
- return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(ut, { className: J5 }) }) });
13760
+ return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(
13761
+ ut,
13762
+ {
13763
+ className: J5,
13764
+ placeholder: e.placeholder
13765
+ }
13766
+ ) }) });
13761
13767
  }
13762
13768
  var tb = "lwqo020", X5 = "x4qdfv0 _1owkpoa0", Q5 = "x4qdfv1", ex = "x4qdfv2", tx = "x4qdfv3", nx = "x4qdfv4";
13763
13769
  function aw(t) {
@@ -14141,7 +14147,13 @@ function cw(t) {
14141
14147
  var kx = "rodgrj3 _1owkpoa0";
14142
14148
  function fw(t) {
14143
14149
  const { inputProps: e, ...n } = t;
14144
- return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(z5, { className: kx }) }) });
14150
+ return /* @__PURE__ */ D(Ot, { ...e, children: /* @__PURE__ */ D(it, { ...n, children: /* @__PURE__ */ D(
14151
+ z5,
14152
+ {
14153
+ className: kx,
14154
+ placeholder: e.placeholder
14155
+ }
14156
+ ) }) });
14145
14157
  }
14146
14158
  var Nx = pt({ defaultClassName: "_1nbqjxw0", variantClassNames: { size: { small: "_1nbqjxw1", default: "_1nbqjxw2", large: "_1nbqjxw3" }, width: { fit: "_1nbqjxw4", full: "_1nbqjxw5" }, intent: { cta: "_1nbqjxw6", default: "_1nbqjxw7", secondary: "_1nbqjxw8", tertiary: "_1nbqjxw9", error: "_1nbqjxwa", info: "_1nbqjxwb", success: "_1nbqjxwc", warning: "_1nbqjxwd" } }, defaultVariants: { size: "default", intent: "default", width: "fit" }, compoundVariants: [] }), Vx = pt({ defaultClassName: "_1nbqjxwe", variantClassNames: { size: { small: "_1nbqjxwf", default: "_1nbqjxwg", large: "_1nbqjxwh" } }, defaultVariants: {}, compoundVariants: [] }), Rx = "_1wa227v1", Ix = pt({ defaultClassName: "_1wa227v2", variantClassNames: { size: { small: "_1wa227v3", default: "_1wa227v4" }, color: { success: "_1wa227v5", white: "_1wa227v6", blue: "_1wa227v7", red: "_1wa227v8", green: "_1wa227v9" } }, defaultVariants: { size: "default", color: "success" }, compoundVariants: [] });
14147
14159
  const Xs = H({});
@@ -19136,10 +19148,18 @@ function wE(t) {
19136
19148
  var CE = "lbx0hb0", SE = "lbx0hb1 _2htjnq0", TE = "lbx0hb2", Ny = "_1aw6tef0";
19137
19149
  function mw(t) {
19138
19150
  const { inputProps: e, options: n, ...r } = t;
19139
- return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className: CE, children: n.map((i) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(Wt, { value: i.value, className: SE, isDisabled: !0, children: /* @__PURE__ */ Z("div", { className: TE, children: [
19140
- /* @__PURE__ */ D("span", { children: i.label }),
19141
- i.description && /* @__PURE__ */ D("span", { className: Ny, children: i.description })
19142
- ] }) }) }, i.value)) }) }) });
19151
+ return /* @__PURE__ */ D(Pn, { ...e, children: /* @__PURE__ */ D(it, { ...r, children: /* @__PURE__ */ D("ul", { className: CE, children: n.map((i) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ D(
19152
+ Wt,
19153
+ {
19154
+ value: i.value,
19155
+ className: SE,
19156
+ isDisabled: e.isDisabled,
19157
+ children: /* @__PURE__ */ Z("div", { className: TE, children: [
19158
+ /* @__PURE__ */ D("span", { children: i.label }),
19159
+ i.description && /* @__PURE__ */ D("span", { className: Ny, children: i.description })
19160
+ ] })
19161
+ }
19162
+ ) }, i.value)) }) }) });
19143
19163
  }
19144
19164
  var AE = "_40lq0c0", FE = "_40lq0c1", BE = "_2htjnq0";
19145
19165
  function pw(t) {
@@ -19187,7 +19207,8 @@ function yw(t) {
19187
19207
  {
19188
19208
  type: "tel",
19189
19209
  className: KE,
19190
- pattern: jE.source
19210
+ pattern: jE.source,
19211
+ placeholder: e.placeholder
19191
19212
  }
19192
19213
  ) }) });
19193
19214
  }
@@ -5,6 +5,7 @@ type props = {
5
5
  inputProps: Omit<ComponentProps<typeof AriaDateField>, 'onChange' | 'value'> & {
6
6
  onChange: (date?: string | null) => void;
7
7
  value?: string | null;
8
+ placeholder?: string;
8
9
  };
9
10
  } & InputProps;
10
11
  export declare function DateField(props: props): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/date/date.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAe,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,SAAS,IAAI,aAAa,EAK3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAS,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGpD,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,IAAI,CACd,cAAc,CAAC,OAAO,aAAa,CAAC,EACpC,UAAU,GAAG,OAAO,CACrB,GAAG;QACF,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;QACzC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;KACvB,CAAC;CACH,GAAG,UAAU,CAAC;AAEf,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,2CA8BrC"}
1
+ {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/date/date.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAe,MAAM,OAAO,CAAC;AACpD,OAAO,EACL,SAAS,IAAI,aAAa,EAK3B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAS,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAGpD,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,IAAI,CACd,cAAc,CAAC,OAAO,aAAa,CAAC,EACpC,UAAU,GAAG,OAAO,CACrB,GAAG;QACF,QAAQ,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,KAAK,IAAI,CAAC;QACzC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;KACtB,CAAC;CACH,GAAG,UAAU,CAAC;AAEf,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,2CA8BrC"}
@@ -2,7 +2,9 @@ import { ComponentProps } from 'react';
2
2
  import { InputProps } from '../shared/input';
3
3
  import { TextField as AriaTextField } from 'react-aria-components';
4
4
  type props = {
5
- inputProps: ComponentProps<typeof AriaTextField>;
5
+ inputProps: ComponentProps<typeof AriaTextField> & {
6
+ placeholder?: string;
7
+ };
6
8
  } & InputProps;
7
9
  export declare function PhoneField(props: props): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/phone/phone.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAK/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;CAClD,GAAG,UAAU,CAAC;AAEf,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,2CActC"}
1
+ {"version":3,"file":"phone.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/phone/phone.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAK/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7E,GAAG,UAAU,CAAC;AAEf,wBAAgB,UAAU,CAAC,KAAK,EAAE,KAAK,2CAetC"}
@@ -1 +1 @@
1
- {"version":3,"file":"radio-horizontal.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/radio-horizontal/radio-horizontal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAS,MAAM,uBAAuB,CAAC;AAI1D,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CAC/C,GAAG,qBAAqB,CAAC;AAE1B,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,2CAuB3C"}
1
+ {"version":3,"file":"radio-horizontal.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/radio-horizontal/radio-horizontal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAS,MAAM,uBAAuB,CAAC;AAI1D,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,UAAU,CAAC,CAAC;CAC/C,GAAG,qBAAqB,CAAC;AAE1B,wBAAgB,eAAe,CAAC,KAAK,EAAE,KAAK,2CA2B3C"}
@@ -2,7 +2,9 @@ import { ComponentProps } from 'react';
2
2
  import { InputProps } from '../shared/input';
3
3
  import { TextField as AriaTextField } from 'react-aria-components';
4
4
  type props = {
5
- inputProps: ComponentProps<typeof AriaTextField>;
5
+ inputProps: ComponentProps<typeof AriaTextField> & {
6
+ placeholder?: string;
7
+ };
6
8
  } & InputProps;
7
9
  export declare function TextField(props: props): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAG/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;CAClD,GAAG,UAAU,CAAC;AAEf,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,2CAUrC"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/text/text.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAG/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7E,GAAG,UAAU,CAAC;AAEf,wBAAgB,SAAS,CAAC,KAAK,EAAE,KAAK,2CAarC"}
@@ -2,7 +2,9 @@ import { ComponentProps } from 'react';
2
2
  import { InputProps } from '../shared/input';
3
3
  import { TextField as AriaTextField } from 'react-aria-components';
4
4
  type props = {
5
- inputProps: ComponentProps<typeof AriaTextField>;
5
+ inputProps: ComponentProps<typeof AriaTextField> & {
6
+ placeholder?: string;
7
+ };
6
8
  } & InputProps;
7
9
  export declare function TextareaField(props: props): import("react/jsx-runtime").JSX.Element;
8
10
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAG/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;CAClD,GAAG,UAAU,CAAC;AAEf,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,2CAUzC"}
1
+ {"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/textarea/textarea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAS,KAAK,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACzD,OAAO,EACL,SAAS,IAAI,aAAa,EAE3B,MAAM,uBAAuB,CAAC;AAG/B,KAAK,KAAK,GAAG;IACX,UAAU,EAAE,cAAc,CAAC,OAAO,aAAa,CAAC,GAAG;QAAE,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;CAC7E,GAAG,UAAU,CAAC;AAEf,wBAAgB,aAAa,CAAC,KAAK,EAAE,KAAK,2CAazC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maia-insurance/ui",
3
- "version": "1.0.2-c.69-canary.1",
3
+ "version": "1.0.2-c.69-canary.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -1,7 +0,0 @@
1
- import { TextField as AriaTextField } from 'react-aria-components';
2
- import { ComponentProps } from 'react';
3
- import { BaseInputProps } from '../types';
4
- type TextFieldProps = BaseInputProps & ComponentProps<typeof AriaTextField>;
5
- export declare function TextField(props: TextFieldProps): import("react/jsx-runtime").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=text%20copy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"text copy.d.ts","sourceRoot":"","sources":["../../../../../src/lib/components/form/text/text copy.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,IAAI,aAAa,EAG3B,MAAM,uBAAuB,CAAC;AAI/B,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,KAAK,cAAc,GAAG,cAAc,GAAG,cAAc,CAAC,OAAO,aAAa,CAAC,CAAC;AAE5E,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,2CA+B9C"}