@clearstory/drywall-react 8.1.1 → 8.1.2

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 (35) hide show
  1. package/dist/{Autocomplete-CYF3HxdY.js → Autocomplete-D8dP8rgo.js} +10 -0
  2. package/dist/components/Autocomplete/Autocomplete.js +13 -3
  3. package/dist/components/Autocomplete/index.js +1 -1
  4. package/dist/components/AutocompleteControl/AutocompleteControl.js +23 -13
  5. package/dist/components/DatepickerControl/DatepickerControl.js +29 -19
  6. package/dist/components/DialogClose/DialogClose.js +12 -2
  7. package/dist/components/InputControl/InputControl.js +25 -15
  8. package/dist/components/NumberInputControl/NumberInputControl.js +29 -19
  9. package/dist/components/SelectControl/SelectControl.js +30 -20
  10. package/dist/components/TextareaControl/TextareaControl.js +29 -19
  11. package/dist/components/ToastContainer/useToast.js +35 -25
  12. package/dist/icons/CalloutAnnotationIcon.d.ts +5 -0
  13. package/dist/icons/CalloutAnnotationIcon.js +26 -0
  14. package/dist/icons/CloudAnnotationIcon.d.ts +5 -0
  15. package/dist/icons/CloudAnnotationIcon.js +9 -0
  16. package/dist/icons/EllipseAnnotationIcon.d.ts +5 -0
  17. package/dist/icons/EllipseAnnotationIcon.js +9 -0
  18. package/dist/icons/FitToPageIcon.d.ts +5 -0
  19. package/dist/icons/FitToPageIcon.js +9 -0
  20. package/dist/icons/FitToWidthIcon.d.ts +5 -0
  21. package/dist/icons/FitToWidthIcon.js +9 -0
  22. package/dist/icons/FreeTextAnnotationIcon.d.ts +5 -0
  23. package/dist/icons/FreeTextAnnotationIcon.js +16 -0
  24. package/dist/icons/HighlightAnnotationIcon.d.ts +5 -0
  25. package/dist/icons/HighlightAnnotationIcon.js +12 -0
  26. package/dist/icons/NoteAnnotationIcon.d.ts +5 -0
  27. package/dist/icons/NoteAnnotationIcon.js +12 -0
  28. package/dist/icons/PenAnnotationIcon.d.ts +5 -0
  29. package/dist/icons/PenAnnotationIcon.js +12 -0
  30. package/dist/icons/RectangleAnnotationIcon.d.ts +5 -0
  31. package/dist/icons/RectangleAnnotationIcon.js +9 -0
  32. package/dist/icons/index.d.ts +10 -0
  33. package/dist/icons/index.js +160 -140
  34. package/dist/main.js +614 -594
  35. package/package.json +1 -1
@@ -2,10 +2,20 @@ import { jsx as $, jsxs as Be } from "react/jsx-runtime";
2
2
  import * as y from "react";
3
3
  import { forwardRef as Vt } from "react";
4
4
  import { Input as Ft } from "./components/Input/Input.js";
5
+ import "./icons/CalloutAnnotationIcon.js";
5
6
  import "./icons/ClearstoryIcon.js";
7
+ import "./icons/CloudAnnotationIcon.js";
8
+ import "./icons/EllipseAnnotationIcon.js";
9
+ import "./icons/FitToPageIcon.js";
10
+ import "./icons/FitToWidthIcon.js";
11
+ import "./icons/FreeTextAnnotationIcon.js";
12
+ import "./icons/HighlightAnnotationIcon.js";
6
13
  import "./icons/InternalOnlyIcon.js";
7
14
  import "./icons/MoneyBucketIcon.js";
8
15
  import "./icons/MoreCircleOutlineIcon.js";
16
+ import "./icons/NoteAnnotationIcon.js";
17
+ import "./icons/PenAnnotationIcon.js";
18
+ import "./icons/RectangleAnnotationIcon.js";
9
19
  import "./icons/SparkleIcon.js";
10
20
  import { A as Ht, C as zt } from "./Clear-C07DnM0Z.js";
11
21
  import { g as kt } from "./generateUtilityClass-BhfUaMgk.js";
@@ -1,15 +1,25 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../Input/Input.js";
4
+ import "../../icons/CalloutAnnotationIcon.js";
4
5
  import "../../icons/ClearstoryIcon.js";
6
+ import "../../icons/CloudAnnotationIcon.js";
7
+ import "../../icons/EllipseAnnotationIcon.js";
8
+ import "../../icons/FitToPageIcon.js";
9
+ import "../../icons/FitToWidthIcon.js";
10
+ import "../../icons/FreeTextAnnotationIcon.js";
11
+ import "../../icons/HighlightAnnotationIcon.js";
5
12
  import "../../icons/InternalOnlyIcon.js";
6
13
  import "../../icons/MoneyBucketIcon.js";
7
14
  import "../../icons/MoreCircleOutlineIcon.js";
15
+ import "../../icons/NoteAnnotationIcon.js";
16
+ import "../../icons/PenAnnotationIcon.js";
17
+ import "../../icons/RectangleAnnotationIcon.js";
8
18
  import "../../icons/SparkleIcon.js";
9
19
  import "../../Clear-C07DnM0Z.js";
10
20
  import "../../generateUtilityClass-BhfUaMgk.js";
11
- import { A as u, A as c } from "../../Autocomplete-CYF3HxdY.js";
21
+ import { A as q, A as v } from "../../Autocomplete-D8dP8rgo.js";
12
22
  export {
13
- u as Autocomplete,
14
- c as default
23
+ q as Autocomplete,
24
+ v as default
15
25
  };
@@ -1,4 +1,4 @@
1
- import { A as a, a as s, c as o, A as l, g as c } from "../../Autocomplete-CYF3HxdY.js";
1
+ import { A as a, a as s, c as o, A as l, g as c } from "../../Autocomplete-D8dP8rgo.js";
2
2
  export {
3
3
  a as Autocomplete,
4
4
  s as autocompleteClasses,
@@ -1,12 +1,22 @@
1
1
  import { jsxs as d, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as I } from "react";
3
3
  import { FormSublabel as y } from "../FormSublabel/FormSublabel.js";
4
- import { A as g } from "../../Autocomplete-CYF3HxdY.js";
4
+ import { A as g } from "../../Autocomplete-D8dP8rgo.js";
5
5
  import { useId as A } from "../../hooks/useId.js";
6
+ import "../../icons/CalloutAnnotationIcon.js";
6
7
  import "../../icons/ClearstoryIcon.js";
8
+ import "../../icons/CloudAnnotationIcon.js";
9
+ import "../../icons/EllipseAnnotationIcon.js";
10
+ import "../../icons/FitToPageIcon.js";
11
+ import "../../icons/FitToWidthIcon.js";
12
+ import "../../icons/FreeTextAnnotationIcon.js";
13
+ import "../../icons/HighlightAnnotationIcon.js";
7
14
  import "../../icons/InternalOnlyIcon.js";
8
15
  import "../../icons/MoneyBucketIcon.js";
9
16
  import "../../icons/MoreCircleOutlineIcon.js";
17
+ import "../../icons/NoteAnnotationIcon.js";
18
+ import "../../icons/PenAnnotationIcon.js";
19
+ import "../../icons/RectangleAnnotationIcon.js";
10
20
  import "../../icons/SparkleIcon.js";
11
21
  import { I as C } from "../../Info-BMNIqxBf.js";
12
22
  import { F as T } from "../../FormControl-kcKovRdJ.js";
@@ -16,8 +26,8 @@ import { T as $ } from "../../Tooltip-CYXo_y5R.js";
16
26
  import { F as j } from "../../FormHelperText-BO-3JFoa.js";
17
27
  function P(n, c) {
18
28
  const {
19
- disabled: m,
20
- error: p,
29
+ disabled: p,
30
+ error: l,
21
31
  helperText: i,
22
32
  id: b,
23
33
  label: f,
@@ -26,9 +36,9 @@ function P(n, c) {
26
36
  sublabel: a,
27
37
  sx: u,
28
38
  tooltip: s,
29
- ...e
30
- } = n, x = A("autocomplete"), l = b || x, t = i ? `${l}-helper` : void 0;
31
- return /* @__PURE__ */ d(T, { disabled: m, error: p, sx: u, ...r?.root, children: [
39
+ ...t
40
+ } = n, x = A("autocomplete"), m = b || x, e = i ? `${m}-helper` : void 0;
41
+ return /* @__PURE__ */ d(T, { disabled: p, error: l, sx: u, ...r?.root, children: [
32
42
  /* @__PURE__ */ d(
33
43
  w,
34
44
  {
@@ -38,7 +48,7 @@ function P(n, c) {
38
48
  gap: "0.25rem"
39
49
  },
40
50
  children: [
41
- /* @__PURE__ */ o(B, { htmlFor: l, required: h, ...r?.label, children: f }),
51
+ /* @__PURE__ */ o(B, { htmlFor: m, required: h, ...r?.label, children: f }),
42
52
  s && /* @__PURE__ */ o($, { title: s, arrow: !0, children: /* @__PURE__ */ o(
43
53
  C,
44
54
  {
@@ -57,16 +67,16 @@ function P(n, c) {
57
67
  /* @__PURE__ */ o(
58
68
  g,
59
69
  {
60
- disabled: m,
70
+ disabled: p,
61
71
  ref: c,
62
- error: p,
63
- id: l,
64
- "aria-describedby": t ? e["aria-describedby"] ? `${e["aria-describedby"]} ${t}` : t : e["aria-describedby"],
72
+ error: l,
73
+ id: m,
74
+ "aria-describedby": e ? t["aria-describedby"] ? `${t["aria-describedby"]} ${e}` : e : t["aria-describedby"],
65
75
  slotProps: r?.autocomplete,
66
- ...e
76
+ ...t
67
77
  }
68
78
  ),
69
- i && /* @__PURE__ */ o(j, { id: t, ...r?.helperText, children: i })
79
+ i && /* @__PURE__ */ o(j, { id: e, ...r?.helperText, children: i })
70
80
  ] });
71
81
  }
72
82
  const k = I(
@@ -1,12 +1,22 @@
1
- import { jsxs as f, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as f, jsx as o } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
3
  import { D } from "../../Datepicker-CNITLOtu.js";
4
4
  import { FormSublabel as u } from "../FormSublabel/FormSublabel.js";
5
5
  import { useId as w } from "../../hooks/useId.js";
6
+ import "../../icons/CalloutAnnotationIcon.js";
6
7
  import "../../icons/ClearstoryIcon.js";
8
+ import "../../icons/CloudAnnotationIcon.js";
9
+ import "../../icons/EllipseAnnotationIcon.js";
10
+ import "../../icons/FitToPageIcon.js";
11
+ import "../../icons/FitToWidthIcon.js";
12
+ import "../../icons/FreeTextAnnotationIcon.js";
13
+ import "../../icons/HighlightAnnotationIcon.js";
7
14
  import "../../icons/InternalOnlyIcon.js";
8
15
  import "../../icons/MoneyBucketIcon.js";
9
16
  import "../../icons/MoreCircleOutlineIcon.js";
17
+ import "../../icons/NoteAnnotationIcon.js";
18
+ import "../../icons/PenAnnotationIcon.js";
19
+ import "../../icons/RectangleAnnotationIcon.js";
10
20
  import "../../icons/SparkleIcon.js";
11
21
  import { I as $ } from "../../Info-BMNIqxBf.js";
12
22
  import { F as B } from "../../FormControl-kcKovRdJ.js";
@@ -16,28 +26,28 @@ import { T } from "../../Tooltip-CYXo_y5R.js";
16
26
  import { F as v } from "../../FormHelperText-BO-3JFoa.js";
17
27
  const E = y(
18
28
  ({
19
- disabled: a = !1,
20
- error: m = !1,
21
- fullWidth: l,
29
+ disabled: m = !1,
30
+ error: a = !1,
31
+ fullWidth: p,
22
32
  helperText: i,
23
33
  label: t,
24
34
  name: s,
25
35
  required: h = !1,
26
36
  size: x = "small",
27
37
  slotProps: r = {},
28
- sublabel: p,
38
+ sublabel: l,
29
39
  sx: b,
30
40
  tooltip: d,
31
41
  ...I
32
42
  }, g) => {
33
- const k = w("datepicker"), o = s || k, n = r.label?.id ?? `${o}-label`, c = i ? `${o}-helper` : void 0;
43
+ const k = w("datepicker"), e = s || k, n = r.label?.id ?? `${e}-label`, c = i ? `${e}-helper` : void 0;
34
44
  return /* @__PURE__ */ f(
35
45
  B,
36
46
  {
37
47
  "aria-labelledby": n,
38
- disabled: a,
39
- error: m,
40
- fullWidth: l,
48
+ disabled: m,
49
+ error: a,
50
+ fullWidth: p,
41
51
  role: "group",
42
52
  sx: b,
43
53
  ...r.root,
@@ -51,8 +61,8 @@ const E = y(
51
61
  gap: "0.25rem"
52
62
  },
53
63
  children: [
54
- /* @__PURE__ */ e(j, { id: n, required: h, ...r.label, children: t }),
55
- d && /* @__PURE__ */ e(T, { title: d, arrow: !0, children: /* @__PURE__ */ e(
64
+ /* @__PURE__ */ o(j, { id: n, required: h, ...r.label, children: t }),
65
+ d && /* @__PURE__ */ o(T, { title: d, arrow: !0, children: /* @__PURE__ */ o(
56
66
  $,
57
67
  {
58
68
  sx: ({ vars: F }) => ({
@@ -66,20 +76,20 @@ const E = y(
66
76
  ]
67
77
  }
68
78
  ),
69
- p && /* @__PURE__ */ e(u, { ...r.sublabel, children: p }),
70
- /* @__PURE__ */ e(
79
+ l && /* @__PURE__ */ o(u, { ...r.sublabel, children: l }),
80
+ /* @__PURE__ */ o(
71
81
  D,
72
82
  {
73
83
  ref: g,
74
- disabled: a,
75
- name: o,
76
- error: m,
84
+ disabled: m,
85
+ name: e,
86
+ error: a,
77
87
  size: x,
78
88
  slotProps: {
79
89
  field: {
80
- id: o,
90
+ id: e,
81
91
  "aria-describedby": c,
82
- ...l && { sx: { width: "100%" } }
92
+ ...p && { sx: { width: "100%" } }
83
93
  },
84
94
  popper: {
85
95
  "aria-label": `Date picker${typeof t == "string" && ` for ${t}`}`
@@ -89,7 +99,7 @@ const E = y(
89
99
  ...I
90
100
  }
91
101
  ),
92
- i && /* @__PURE__ */ e(v, { id: c, ...r.helperText, children: i })
102
+ i && /* @__PURE__ */ o(v, { id: c, ...r.helperText, children: i })
93
103
  ]
94
104
  }
95
105
  );
@@ -1,12 +1,22 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
+ import "../../icons/CalloutAnnotationIcon.js";
2
3
  import "../../icons/ClearstoryIcon.js";
4
+ import "../../icons/CloudAnnotationIcon.js";
5
+ import "../../icons/EllipseAnnotationIcon.js";
6
+ import "../../icons/FitToPageIcon.js";
7
+ import "../../icons/FitToWidthIcon.js";
8
+ import "../../icons/FreeTextAnnotationIcon.js";
9
+ import "../../icons/HighlightAnnotationIcon.js";
3
10
  import "../../icons/InternalOnlyIcon.js";
4
11
  import "../../icons/MoneyBucketIcon.js";
5
12
  import "../../icons/MoreCircleOutlineIcon.js";
13
+ import "../../icons/NoteAnnotationIcon.js";
14
+ import "../../icons/PenAnnotationIcon.js";
15
+ import "../../icons/RectangleAnnotationIcon.js";
6
16
  import "../../icons/SparkleIcon.js";
7
17
  import { C as i } from "../../Close-BLiw2OtB.js";
8
18
  import { I as m } from "../../IconButton-Bxv4sRVK.js";
9
- const u = ({ sx: o, ...t }) => /* @__PURE__ */ r(
19
+ const x = ({ sx: o, ...t }) => /* @__PURE__ */ r(
10
20
  m,
11
21
  {
12
22
  sx: [
@@ -22,5 +32,5 @@ const u = ({ sx: o, ...t }) => /* @__PURE__ */ r(
22
32
  }
23
33
  );
24
34
  export {
25
- u as DialogClose
35
+ x as DialogClose
26
36
  };
@@ -3,10 +3,20 @@ import { forwardRef as F } from "react";
3
3
  import { FormSublabel as y } from "../FormSublabel/FormSublabel.js";
4
4
  import { Input as g } from "../Input/Input.js";
5
5
  import { useId as w } from "../../hooks/useId.js";
6
+ import "../../icons/CalloutAnnotationIcon.js";
6
7
  import "../../icons/ClearstoryIcon.js";
8
+ import "../../icons/CloudAnnotationIcon.js";
9
+ import "../../icons/EllipseAnnotationIcon.js";
10
+ import "../../icons/FitToPageIcon.js";
11
+ import "../../icons/FitToWidthIcon.js";
12
+ import "../../icons/FreeTextAnnotationIcon.js";
13
+ import "../../icons/HighlightAnnotationIcon.js";
7
14
  import "../../icons/InternalOnlyIcon.js";
8
15
  import "../../icons/MoneyBucketIcon.js";
9
16
  import "../../icons/MoreCircleOutlineIcon.js";
17
+ import "../../icons/NoteAnnotationIcon.js";
18
+ import "../../icons/PenAnnotationIcon.js";
19
+ import "../../icons/RectangleAnnotationIcon.js";
10
20
  import "../../icons/SparkleIcon.js";
11
21
  import { I as B } from "../../Info-BMNIqxBf.js";
12
22
  import { F as C } from "../../FormControl-kcKovRdJ.js";
@@ -16,10 +26,10 @@ import { T } from "../../Tooltip-CYXo_y5R.js";
16
26
  import { F as k } from "../../FormHelperText-BO-3JFoa.js";
17
27
  const v = F(
18
28
  ({
19
- disabled: a,
20
- error: n,
21
- fullWidth: p,
22
- helperText: m,
29
+ disabled: p,
30
+ error: a,
31
+ fullWidth: n,
32
+ helperText: t,
23
33
  id: f,
24
34
  label: s,
25
35
  required: b,
@@ -29,13 +39,13 @@ const v = F(
29
39
  tooltip: l,
30
40
  ...i
31
41
  }, h) => {
32
- const x = w("input"), t = f || x, e = m ? `${t}-helper` : void 0;
42
+ const x = w("input"), e = f || x, m = t ? `${e}-helper` : void 0;
33
43
  return /* @__PURE__ */ c(
34
44
  C,
35
45
  {
36
- disabled: a,
37
- error: n,
38
- fullWidth: p,
46
+ disabled: p,
47
+ error: a,
48
+ fullWidth: n,
39
49
  sx: I,
40
50
  ...o?.root,
41
51
  children: [
@@ -51,7 +61,7 @@ const v = F(
51
61
  /* @__PURE__ */ r(
52
62
  j,
53
63
  {
54
- htmlFor: t,
64
+ htmlFor: e,
55
65
  required: b,
56
66
  ...o?.label,
57
67
  children: s
@@ -76,16 +86,16 @@ const v = F(
76
86
  g,
77
87
  {
78
88
  ref: h,
79
- disabled: a,
80
- error: n,
81
- fullWidth: p,
82
- id: t,
83
- "aria-describedby": e ? i["aria-describedby"] ? `${i["aria-describedby"]} ${e}` : e : i["aria-describedby"],
89
+ disabled: p,
90
+ error: a,
91
+ fullWidth: n,
92
+ id: e,
93
+ "aria-describedby": m ? i["aria-describedby"] ? `${i["aria-describedby"]} ${m}` : m : i["aria-describedby"],
84
94
  slotProps: o?.input,
85
95
  ...i
86
96
  }
87
97
  ),
88
- m && /* @__PURE__ */ r(k, { id: e, ...o?.helperText, children: m })
98
+ t && /* @__PURE__ */ r(k, { id: m, ...o?.helperText, children: t })
89
99
  ]
90
100
  }
91
101
  );
@@ -3,10 +3,20 @@ import { forwardRef as F } from "react";
3
3
  import { FormSublabel as y } from "../FormSublabel/FormSublabel.js";
4
4
  import { NumberInput as g } from "../NumberInput/NumberInput.js";
5
5
  import { useId as N } from "../../hooks/useId.js";
6
+ import "../../icons/CalloutAnnotationIcon.js";
6
7
  import "../../icons/ClearstoryIcon.js";
8
+ import "../../icons/CloudAnnotationIcon.js";
9
+ import "../../icons/EllipseAnnotationIcon.js";
10
+ import "../../icons/FitToPageIcon.js";
11
+ import "../../icons/FitToWidthIcon.js";
12
+ import "../../icons/FreeTextAnnotationIcon.js";
13
+ import "../../icons/HighlightAnnotationIcon.js";
7
14
  import "../../icons/InternalOnlyIcon.js";
8
15
  import "../../icons/MoneyBucketIcon.js";
9
16
  import "../../icons/MoreCircleOutlineIcon.js";
17
+ import "../../icons/NoteAnnotationIcon.js";
18
+ import "../../icons/PenAnnotationIcon.js";
19
+ import "../../icons/RectangleAnnotationIcon.js";
10
20
  import "../../icons/SparkleIcon.js";
11
21
  import { I as w } from "../../Info-BMNIqxBf.js";
12
22
  import { F as B } from "../../FormControl-kcKovRdJ.js";
@@ -16,27 +26,27 @@ import { T as j } from "../../Tooltip-CYXo_y5R.js";
16
26
  import { F as T } from "../../FormHelperText-BO-3JFoa.js";
17
27
  const k = F(
18
28
  ({
19
- disabled: n,
20
- fullWidth: a,
21
- helperText: i,
29
+ disabled: p,
30
+ fullWidth: n,
31
+ helperText: t,
22
32
  id: b,
23
33
  label: f,
24
34
  required: s,
25
- slotProps: e,
26
- sublabel: d,
35
+ slotProps: m,
36
+ sublabel: a,
27
37
  sx: u,
28
- tooltip: p,
38
+ tooltip: d,
29
39
  ...o
30
40
  }, I) => {
31
- const h = N("number-input"), t = b || h, m = i ? `${t}-helper` : void 0, c = o.error;
41
+ const h = N("number-input"), e = b || h, i = t ? `${e}-helper` : void 0, c = o.error;
32
42
  return /* @__PURE__ */ l(
33
43
  B,
34
44
  {
35
- disabled: n,
45
+ disabled: p,
36
46
  error: c,
37
- fullWidth: a,
47
+ fullWidth: n,
38
48
  sx: u,
39
- ...e?.root,
49
+ ...m?.root,
40
50
  children: [
41
51
  /* @__PURE__ */ l(
42
52
  C,
@@ -50,13 +60,13 @@ const k = F(
50
60
  /* @__PURE__ */ r(
51
61
  $,
52
62
  {
53
- htmlFor: t,
63
+ htmlFor: e,
54
64
  required: s,
55
- ...e?.label,
65
+ ...m?.label,
56
66
  children: f
57
67
  }
58
68
  ),
59
- p && /* @__PURE__ */ r(j, { title: p, arrow: !0, children: /* @__PURE__ */ r(
69
+ d && /* @__PURE__ */ r(j, { title: d, arrow: !0, children: /* @__PURE__ */ r(
60
70
  w,
61
71
  {
62
72
  sx: ({ vars: x }) => ({
@@ -70,20 +80,20 @@ const k = F(
70
80
  ]
71
81
  }
72
82
  ),
73
- d && /* @__PURE__ */ r(y, { ...e?.sublabel, children: d }),
83
+ a && /* @__PURE__ */ r(y, { ...m?.sublabel, children: a }),
74
84
  /* @__PURE__ */ r(
75
85
  g,
76
86
  {
77
87
  ref: I,
78
- disabled: n,
79
- id: t,
88
+ disabled: p,
89
+ id: e,
80
90
  error: c,
81
- fullWidth: a,
82
- "aria-describedby": m ? o["aria-describedby"] ? `${o["aria-describedby"]} ${m}` : m : o["aria-describedby"],
91
+ fullWidth: n,
92
+ "aria-describedby": i ? o["aria-describedby"] ? `${o["aria-describedby"]} ${i}` : i : o["aria-describedby"],
83
93
  ...o
84
94
  }
85
95
  ),
86
- i && /* @__PURE__ */ r(T, { id: m, ...e?.helperText, children: i })
96
+ t && /* @__PURE__ */ r(T, { id: i, ...m?.helperText, children: t })
87
97
  ]
88
98
  }
89
99
  );
@@ -1,12 +1,22 @@
1
- import { jsxs as p, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as r } from "react/jsx-runtime";
2
2
  import { forwardRef as y } from "react";
3
3
  import { FormSublabel as g } from "../FormSublabel/FormSublabel.js";
4
4
  import { Select as $ } from "../Select/Select.js";
5
5
  import { useId as S } from "../../hooks/useId.js";
6
+ import "../../icons/CalloutAnnotationIcon.js";
6
7
  import "../../icons/ClearstoryIcon.js";
8
+ import "../../icons/CloudAnnotationIcon.js";
9
+ import "../../icons/EllipseAnnotationIcon.js";
10
+ import "../../icons/FitToPageIcon.js";
11
+ import "../../icons/FitToWidthIcon.js";
12
+ import "../../icons/FreeTextAnnotationIcon.js";
13
+ import "../../icons/HighlightAnnotationIcon.js";
7
14
  import "../../icons/InternalOnlyIcon.js";
8
15
  import "../../icons/MoneyBucketIcon.js";
9
16
  import "../../icons/MoreCircleOutlineIcon.js";
17
+ import "../../icons/NoteAnnotationIcon.js";
18
+ import "../../icons/PenAnnotationIcon.js";
19
+ import "../../icons/RectangleAnnotationIcon.js";
10
20
  import "../../icons/SparkleIcon.js";
11
21
  import { I as u } from "../../Info-BMNIqxBf.js";
12
22
  import { F as w } from "../../FormControl-kcKovRdJ.js";
@@ -18,28 +28,28 @@ const k = y(
18
28
  ({
19
29
  disabled: a,
20
30
  error: l,
21
- fullWidth: d,
31
+ fullWidth: p,
22
32
  helperText: t,
23
33
  id: s,
24
34
  label: f,
25
35
  required: b,
26
- slotProps: e,
27
- sublabel: c,
36
+ slotProps: o,
37
+ sublabel: d,
28
38
  sx: h,
29
- tooltip: n,
39
+ tooltip: c,
30
40
  ...i
31
41
  }, x) => {
32
- const I = S("select"), o = s || I, m = t ? `${o}-helper` : void 0;
33
- return /* @__PURE__ */ p(
42
+ const I = S("select"), e = s || I, m = t ? `${e}-helper` : void 0;
43
+ return /* @__PURE__ */ n(
34
44
  w,
35
45
  {
36
46
  disabled: a,
37
47
  error: l,
38
- fullWidth: d,
48
+ fullWidth: p,
39
49
  sx: h,
40
- ...e?.root,
50
+ ...o?.root,
41
51
  children: [
42
- /* @__PURE__ */ p(
52
+ /* @__PURE__ */ n(
43
53
  B,
44
54
  {
45
55
  sx: {
@@ -51,14 +61,14 @@ const k = y(
51
61
  /* @__PURE__ */ r(
52
62
  C,
53
63
  {
54
- id: `${o}-label`,
55
- htmlFor: o,
64
+ id: `${e}-label`,
65
+ htmlFor: e,
56
66
  required: b,
57
- ...e?.label,
67
+ ...o?.label,
58
68
  children: f
59
69
  }
60
70
  ),
61
- n && /* @__PURE__ */ r(j, { title: n, arrow: !0, children: /* @__PURE__ */ r(
71
+ c && /* @__PURE__ */ r(j, { title: c, arrow: !0, children: /* @__PURE__ */ r(
62
72
  u,
63
73
  {
64
74
  sx: ({ vars: F }) => ({
@@ -72,22 +82,22 @@ const k = y(
72
82
  ]
73
83
  }
74
84
  ),
75
- c && /* @__PURE__ */ r(g, { ...e?.sublabel, children: c }),
85
+ d && /* @__PURE__ */ r(g, { ...o?.sublabel, children: d }),
76
86
  /* @__PURE__ */ r(
77
87
  $,
78
88
  {
79
89
  ref: x,
80
90
  disabled: a,
81
91
  error: l,
82
- fullWidth: d,
83
- labelId: `${o}-label`,
84
- id: o,
92
+ fullWidth: p,
93
+ labelId: `${e}-label`,
94
+ id: e,
85
95
  "aria-describedby": m ? i["aria-describedby"] ? `${i["aria-describedby"]} ${m}` : m : i["aria-describedby"],
86
- slotProps: e?.select,
96
+ slotProps: o?.select,
87
97
  ...i
88
98
  }
89
99
  ),
90
- t && /* @__PURE__ */ r(T, { id: m, ...e?.helperText, children: t })
100
+ t && /* @__PURE__ */ r(T, { id: m, ...o?.helperText, children: t })
91
101
  ]
92
102
  }
93
103
  );