@pismo/marola 1.0.0-beta.58 → 1.0.0-beta.6

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 (155) hide show
  1. package/dist/{Button-BAljjMv3.js → Button-2b1peDFT.js} +2 -2
  2. package/dist/{ClickAwayListener-DbEYZpyh.js → ClickAwayListener-BSW-Nd-y.js} +3 -4
  3. package/dist/Dialog.module-DFEmFdYT.js +30 -0
  4. package/dist/Group-B3p31ftp.js +26 -0
  5. package/dist/{Popup-Ck3XlWMq.js → Popup-B6ZSGIEI.js} +3 -3
  6. package/dist/{Portal-oY3enyAm.js → Portal-DIeBsWdL.js} +2 -2
  7. package/dist/SelectButton-K3OIfR5m.js +61 -0
  8. package/dist/{Tabs.module-BGGTkDc5.js → Tabs.module-jkH1Qjn7.js} +7 -7
  9. package/dist/Toggle-BCgIItCc.js +142 -0
  10. package/dist/assets/Advice.css +1 -1
  11. package/dist/assets/Button.css +1 -1
  12. package/dist/assets/Checkbox.css +1 -1
  13. package/dist/assets/Dialog.css +1 -1
  14. package/dist/assets/EllipsisTooltip.css +1 -1
  15. package/dist/assets/Group.css +1 -1
  16. package/dist/assets/IconButton.css +1 -1
  17. package/dist/assets/Input.css +1 -1
  18. package/dist/assets/PageHeader.css +1 -1
  19. package/dist/assets/Pagination.css +1 -1
  20. package/dist/assets/SelectButton.css +1 -1
  21. package/dist/assets/Skeleton.css +1 -1
  22. package/dist/assets/Snackbar.css +1 -1
  23. package/dist/assets/SortTooltip.css +1 -1
  24. package/dist/assets/Stepper.css +1 -1
  25. package/dist/assets/Table.css +1 -1
  26. package/dist/assets/Tabs.css +1 -1
  27. package/dist/assets/TextDisplay.css +1 -1
  28. package/dist/assets/Toggle.css +1 -1
  29. package/dist/assets/Toggle2.css +1 -1
  30. package/dist/assets/Typography.css +1 -1
  31. package/dist/{combineHooksSlotProps-C-zYvfnF.js → combineHooksSlotProps-DVjg9PRh.js} +1 -1
  32. package/dist/components/Advice/Advice.d.ts +17 -32
  33. package/dist/components/Advice/Advice.js +40 -39
  34. package/dist/components/Advice/Advice.stories.d.ts +3 -4
  35. package/dist/components/Button/Button.d.ts +0 -2
  36. package/dist/components/Button/Button.js +49 -51
  37. package/dist/components/Checkbox/Checkbox.js +52 -52
  38. package/dist/components/Chip/Chip.d.ts +12 -6
  39. package/dist/components/Chip/Chip.js +6 -11
  40. package/dist/components/Chip/Chip.stories.d.ts +14 -5
  41. package/dist/components/Dialog/Actions.js +1 -1
  42. package/dist/components/Dialog/Backdrop.d.ts +3 -3
  43. package/dist/components/Dialog/Backdrop.js +7 -8
  44. package/dist/components/Dialog/CloseIconButton.d.ts +2 -1
  45. package/dist/components/Dialog/CloseIconButton.js +18 -15
  46. package/dist/components/Dialog/Dialog.d.ts +6 -9
  47. package/dist/components/Dialog/Dialog.js +139 -139
  48. package/dist/components/Dialog/Dialog.stories.d.ts +46 -50
  49. package/dist/components/Dialog/DialogTitle.js +1 -1
  50. package/dist/components/EllipsisTooltip/EllipsisTooltip.js +17 -30
  51. package/dist/components/EllipsisTooltip/EllipsisTooltip.stories.d.ts +1 -2
  52. package/dist/components/Icon/Icon.js +47 -315
  53. package/dist/components/Icon/types.d.ts +1 -1
  54. package/dist/components/IconButton/IconButton.js +42 -42
  55. package/dist/components/Input/Input.d.ts +5 -26
  56. package/dist/components/Input/Input.js +304 -319
  57. package/dist/components/Input/Input.stories.d.ts +21 -2
  58. package/dist/components/InputSearch/InputSearch.d.ts +7 -37
  59. package/dist/components/InputSearch/InputSearch.js +29 -27
  60. package/dist/components/InputSearch/InputSearch.stories.d.ts +3 -15
  61. package/dist/components/PageHeader/PageHeader.d.ts +2 -6
  62. package/dist/components/PageHeader/PageHeader.js +65 -72
  63. package/dist/components/PageHeader/PageHeader.stories.d.ts +1 -3
  64. package/dist/components/Pagination/Pagination.d.ts +1 -5
  65. package/dist/components/Pagination/Pagination.js +91 -90
  66. package/dist/components/Pagination/Pagination.stories.d.ts +1 -1
  67. package/dist/components/Select/Select.d.ts +0 -21
  68. package/dist/components/Select/Select.js +413 -476
  69. package/dist/components/Select/SelectButton.d.ts +0 -2
  70. package/dist/components/Select/SelectButton.js +2 -3
  71. package/dist/components/Skeleton/Skeleton.d.ts +1 -3
  72. package/dist/components/Skeleton/Skeleton.js +14 -20
  73. package/dist/components/Skeleton/SkeletonTable.stories.d.ts +1 -1
  74. package/dist/components/Snackbar/Snackbar.js +94 -94
  75. package/dist/components/Snackbar/Snackbar.stories.d.ts +3 -3
  76. package/dist/components/SortTooltip/SortTooltip.js +46 -46
  77. package/dist/components/Stepper/Stepper.js +35 -35
  78. package/dist/components/Table/Table.d.ts +1 -3
  79. package/dist/components/Table/Table.js +99 -87
  80. package/dist/components/Table/Table.stories.d.ts +1 -1
  81. package/dist/components/Tabs/Tab.d.ts +3 -5
  82. package/dist/components/Tabs/Tab.js +36 -38
  83. package/dist/components/Tabs/TabPanel.d.ts +2 -4
  84. package/dist/components/Tabs/TabPanel.js +40 -51
  85. package/dist/components/Tabs/Tabs.d.ts +4 -6
  86. package/dist/components/Tabs/Tabs.js +128 -131
  87. package/dist/components/TextDisplay/TextDisplay.d.ts +3 -9
  88. package/dist/components/TextDisplay/TextDisplay.js +31 -45
  89. package/dist/components/TextDisplay/TextDisplay.stories.d.ts +1 -2
  90. package/dist/components/Toggle/Toggle.js +56 -56
  91. package/dist/components/ToggleGroup/Group.d.ts +0 -2
  92. package/dist/components/ToggleGroup/Group.js +2 -4
  93. package/dist/components/ToggleGroup/Toggle.d.ts +0 -2
  94. package/dist/components/ToggleGroup/Toggle.js +5 -9
  95. package/dist/components/ToggleGroup/ToggleGroup.js +2 -2
  96. package/dist/components/ToggleGroup/ToggleGroup.stories.d.ts +0 -2
  97. package/dist/components/Tooltip/Tooltip.d.ts +1 -3
  98. package/dist/components/Tooltip/Tooltip.js +4 -4
  99. package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -1
  100. package/dist/components/Typography/Typography.js +47 -47
  101. package/dist/{useSlotProps-C_I1kEHr.js → index-CH45lKw7.js} +99 -99
  102. package/dist/{index-bQFToy-I.js → index-CjW42-M-.js} +1 -1
  103. package/dist/main.d.ts +0 -7
  104. package/dist/main.js +76 -88
  105. package/dist/marola.css +1 -1
  106. package/dist/{useButton-DcihopJG.js → useButton-DNk3wrQp.js} +1 -1
  107. package/dist/useCompoundItem-D1iRfg8D.js +84 -0
  108. package/dist/useEventCallback-xTG9piMa.js +45 -0
  109. package/dist/{useList-B9C55YB7.js → useList-B0hog_3-.js} +2 -2
  110. package/package.json +12 -21
  111. package/dist/Dialog.module-D9e4RsKo.js +0 -30
  112. package/dist/Group-DspH8hyO.js +0 -30
  113. package/dist/Popover.module-B4boCutS.js +0 -10
  114. package/dist/SelectButton-B38avP9u.js +0 -75
  115. package/dist/Toggle-2kIaSHMl.js +0 -190
  116. package/dist/assets/Adornment.css +0 -1
  117. package/dist/assets/Autocomplete.css +0 -1
  118. package/dist/assets/Avatar.css +0 -1
  119. package/dist/assets/Popover.css +0 -1
  120. package/dist/assets/ResultWithChips.css +0 -1
  121. package/dist/assets/StepperNavigator.css +0 -1
  122. package/dist/components/Adornment/Adornment.d.ts +0 -20
  123. package/dist/components/Adornment/Adornment.js +0 -13
  124. package/dist/components/Adornment/Adornment.stories.d.ts +0 -14
  125. package/dist/components/Adornment/adornment.test.d.ts +0 -1
  126. package/dist/components/Autocomplete/Autocomplete.d.ts +0 -20
  127. package/dist/components/Autocomplete/Autocomplete.js +0 -679
  128. package/dist/components/Autocomplete/Autocomplete.stories.d.ts +0 -23
  129. package/dist/components/Avatar/Avatar.d.ts +0 -15
  130. package/dist/components/Avatar/Avatar.js +0 -51
  131. package/dist/components/Avatar/Avatar.stories.d.ts +0 -25
  132. package/dist/components/PageHeader/PageHeader.test.d.ts +0 -1
  133. package/dist/components/Popover/Popover.d.ts +0 -32
  134. package/dist/components/Popover/Popover.js +0 -24
  135. package/dist/components/Popover/Popover.stories.d.ts +0 -34
  136. package/dist/components/Popover/PopoverBody.d.ts +0 -6
  137. package/dist/components/Popover/PopoverBody.js +0 -6
  138. package/dist/components/Popover/PopoverFooter.d.ts +0 -6
  139. package/dist/components/Popover/PopoverFooter.js +0 -6
  140. package/dist/components/Popover/PopoverHeader.d.ts +0 -6
  141. package/dist/components/Popover/PopoverHeader.js +0 -6
  142. package/dist/components/ResultWithChips/ResultWithChips.d.ts +0 -12
  143. package/dist/components/ResultWithChips/ResultWithChips.js +0 -33
  144. package/dist/components/RowItem/RowItem.d.ts +0 -25
  145. package/dist/components/RowItem/RowItem.js +0 -23
  146. package/dist/components/RowItem/RowItem.stories.d.ts +0 -17
  147. package/dist/components/RowItem/rowItem.test.d.ts +0 -1
  148. package/dist/components/StepperNavigator/StepperNavigator.d.ts +0 -58
  149. package/dist/components/StepperNavigator/StepperNavigator.js +0 -115
  150. package/dist/components/StepperNavigator/StepperNavigator.stories.d.ts +0 -18
  151. package/dist/components/StepperNavigator/StepperNavigator.test.d.ts +0 -1
  152. package/dist/ownerDocument-YGhwAnr1.js +0 -33
  153. package/dist/useCompoundItem-B7Eo_qZk.js +0 -68
  154. package/dist/useEventCallback-BAQJJ3ye.js +0 -14
  155. package/dist/useId-BW-oWmul.js +0 -19
@@ -1,33 +1,33 @@
1
1
  import '../../assets/Pagination.css';
2
- import { jsxs as s, Fragment as p, jsx as t } from "react/jsx-runtime";
3
- import { c as _ } from "../../clsx-DB4S2d7J.js";
4
- import { Select as d } from "../Select/Select.js";
5
- import C from "./usePagination.js";
6
- const w = "_pagination_2n0nk_43", a = {
7
- "u-typography-h1": "_u-typography-h1_2n0nk_1",
8
- "u-typography-h2": "_u-typography-h2_2n0nk_8",
9
- "u-typography-h3": "_u-typography-h3_2n0nk_15",
10
- "u-typography-h4": "_u-typography-h4_2n0nk_22",
11
- "u-typography-h5": "_u-typography-h5_2n0nk_29",
12
- "u-typography-h6": "_u-typography-h6_2n0nk_36",
13
- "u-typography-base": "_u-typography-base_2n0nk_43",
14
- pagination: w,
15
- "per-page-container": "_per-page-container_2n0nk_43",
16
- "u-typography-base--xxl": "_u-typography-base--xxl_2n0nk_49",
17
- "u-typography-base--xl": "_u-typography-base--xl_2n0nk_53",
18
- "u-typography-base--lg": "_u-typography-base--lg_2n0nk_57",
19
- "u-typography-base--sm": "_u-typography-base--sm_2n0nk_61",
20
- "u-typography-base--bold": "_u-typography-base--bold_2n0nk_65",
21
- "u-typography-base--strikethrough": "_u-typography-base--strikethrough_2n0nk_68",
22
- "u-typography-base--underlined": "_u-typography-base--underlined_2n0nk_71",
23
- "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_2n0nk_74",
24
- "per-page-container__select": "_per-page-container__select_2n0nk_91",
25
- "pages-navigator-container": "_pages-navigator-container_2n0nk_98",
26
- "page-item": "_page-item_2n0nk_115",
27
- "page-number__btn": "_page-number__btn_2n0nk_115",
28
- "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_2n0nk_134",
29
- "page-number__btn--selected": "_page-number__btn--selected_2n0nk_159"
30
- }, B = {
2
+ import { jsxs as r, Fragment as p, jsx as a } from "react/jsx-runtime";
3
+ import { c as o } from "../../clsx-DB4S2d7J.js";
4
+ import { Select as m } from "../Select/Select.js";
5
+ import I from "./usePagination.js";
6
+ const C = "_pagination_19imj_43", n = {
7
+ "u-typography-h1": "_u-typography-h1_19imj_1",
8
+ "u-typography-h2": "_u-typography-h2_19imj_8",
9
+ "u-typography-h3": "_u-typography-h3_19imj_15",
10
+ "u-typography-h4": "_u-typography-h4_19imj_22",
11
+ "u-typography-h5": "_u-typography-h5_19imj_29",
12
+ "u-typography-h6": "_u-typography-h6_19imj_36",
13
+ "u-typography-base": "_u-typography-base_19imj_43",
14
+ pagination: C,
15
+ "per-page-container": "_per-page-container_19imj_43",
16
+ "u-typography-base--xxl": "_u-typography-base--xxl_19imj_48",
17
+ "u-typography-base--xl": "_u-typography-base--xl_19imj_52",
18
+ "u-typography-base--lg": "_u-typography-base--lg_19imj_56",
19
+ "u-typography-base--sm": "_u-typography-base--sm_19imj_60",
20
+ "u-typography-base--bold": "_u-typography-base--bold_19imj_64",
21
+ "u-typography-base--strikethrough": "_u-typography-base--strikethrough_19imj_67",
22
+ "u-typography-base--underlined": "_u-typography-base--underlined_19imj_70",
23
+ "u-typography-base--strikethrough-underlined": "_u-typography-base--strikethrough-underlined_19imj_73",
24
+ "per-page-container__select": "_per-page-container__select_19imj_90",
25
+ "pages-navigator-container": "_pages-navigator-container_19imj_97",
26
+ "page-item": "_page-item_19imj_114",
27
+ "page-number__btn": "_page-number__btn_19imj_114",
28
+ "pages-navigator-container__previous-next-btn": "_pages-navigator-container__previous-next-btn_19imj_133",
29
+ "page-number__btn--selected": "_page-number__btn--selected_19imj_158"
30
+ }, k = {
31
31
  pt: {
32
32
  showing: "Exibindo",
33
33
  of: "de",
@@ -44,106 +44,107 @@ const w = "_pagination_2n0nk_43", a = {
44
44
  next: "Next",
45
45
  perPage: "Items per page"
46
46
  }
47
- }, $ = ({
48
- perPageOptions: o = [5, 10, 25, 50, 100],
49
- language: y = "en",
50
- usePaginationProps: b = {},
51
- ...e
52
- }) => {
53
- const l = Math.ceil(e.totalItems / e.perPage), m = e.currentPage <= 1, k = e.currentPage >= l, v = { ...B[y], ...e.t || {} }, i = (n) => v[n], { items: x } = C({
47
+ }, L = ({ perPageOptions: g = [5, 10, 25, 50, 100], language: d = "en", ...e }) => {
48
+ const l = Math.ceil(e.totalItems / e.perPage), y = e.currentPage <= 1, b = e.currentPage >= l, v = { ...k[d], ...e.t || {} }, s = (t) => v[t], { items: j } = I({
54
49
  count: l,
55
- page: e.currentPage,
56
50
  hideNextButton: !0,
57
51
  hidePrevButton: !0,
52
+ page: e.currentPage,
58
53
  siblingCount: 1,
59
- boundaryCount: 2,
60
- ...b
61
- }), c = e.perPage * (e.currentPage - 1) + 1, u = c + e.perPage - 1, P = u > e.totalItems ? u - e.totalItems : 0, N = u - P;
62
- return /* @__PURE__ */ s("div", { className: _(a.pagination, e.className), "data-testid": e["data-testid"], children: [
63
- /* @__PURE__ */ s(
54
+ boundaryCount: 2
55
+ }), c = e.perPage * (e.currentPage - 1) + 1, u = c + e.perPage - 1, x = u > e.totalItems ? u - e.totalItems : 0, P = u - x;
56
+ return /* @__PURE__ */ r("div", { className: o(n.pagination, e.className), "data-testid": e["data-testid"], children: [
57
+ /* @__PURE__ */ r(
64
58
  "div",
65
59
  {
66
- className: _(a["per-page-container"], e.classNamePerPage),
60
+ className: o(n["per-page-container"], e.classNamePerPage),
67
61
  "data-testid": e["data-testid-per-page"],
68
62
  children: [
69
- o && /* @__PURE__ */ s(p, { children: [
70
- /* @__PURE__ */ t("span", { children: i`perPage` }),
71
- /* @__PURE__ */ t(
72
- d,
63
+ g && /* @__PURE__ */ r(p, { children: [
64
+ /* @__PURE__ */ a("span", { children: s`perPage` }),
65
+ /* @__PURE__ */ a(
66
+ m,
73
67
  {
74
- className: a["per-page-container__select"],
68
+ className: n["per-page-container__select"],
75
69
  value: String(e.perPage),
76
- onChange: (n) => e.onRowsPerPageChange(Number(n)),
77
- children: o == null ? void 0 : o.map((n) => {
78
- const r = typeof n == "number";
79
- return /* @__PURE__ */ t(
80
- d.Option,
70
+ onChange: (t) => e.onRowsPerPageChange(Number(t)),
71
+ children: g == null ? void 0 : g.map((t) => {
72
+ const i = typeof t == "number";
73
+ return /* @__PURE__ */ a(
74
+ m.Option,
81
75
  {
82
- value: String(r ? n : n.value),
83
- children: r ? n : n.label
76
+ value: String(i ? t : t.value),
77
+ children: i ? t : t.label
84
78
  },
85
- `per-page__${r ? n : n.value}`
79
+ `per-page__${i ? t : t.value}`
86
80
  );
87
81
  })
88
82
  }
89
83
  )
90
84
  ] }),
91
- /* @__PURE__ */ s("div", { className: e.classNamePagesInfo, "data-testid": e["data-testid-pages-info"], children: [
92
- /* @__PURE__ */ s("span", { children: [
93
- c,
94
- " - ",
95
- N
96
- ] }),
97
- " ",
98
- /* @__PURE__ */ s("span", { children: [
99
- i`of`,
100
- " ",
101
- /* @__PURE__ */ t("strong", { children: e.totalItems }),
102
- " ",
103
- i`results`
104
- ] })
105
- ] })
85
+ /* @__PURE__ */ r(
86
+ "div",
87
+ {
88
+ className: o(n["page-infos"], e.classNamePagesInfo),
89
+ "data-testid": e["data-testid-pages-info"],
90
+ children: [
91
+ /* @__PURE__ */ r("span", { children: [
92
+ c,
93
+ " - ",
94
+ P
95
+ ] }),
96
+ " ",
97
+ /* @__PURE__ */ r("span", { children: [
98
+ s`of`,
99
+ " ",
100
+ /* @__PURE__ */ a("strong", { children: e.totalItems }),
101
+ " ",
102
+ s`results`
103
+ ] })
104
+ ]
105
+ }
106
+ )
106
107
  ]
107
108
  }
108
109
  ),
109
- /* @__PURE__ */ s(
110
+ /* @__PURE__ */ r(
110
111
  "div",
111
112
  {
112
- className: _(a["pages-navigator-container"], e.classNamePagesNav),
113
+ className: o(n["pages-navigator-container"], e.classNamePagesNav),
113
114
  "data-testid": e["data-testid-pages-nav"],
114
115
  children: [
115
- /* @__PURE__ */ t(
116
+ /* @__PURE__ */ a(
116
117
  "button",
117
118
  {
118
- className: a["pages-navigator-container__previous-next-btn"],
119
- disabled: m,
119
+ className: n["pages-navigator-container__previous-next-btn"],
120
+ disabled: y,
120
121
  onClick: () => e.onPageChange(e.currentPage - 1),
121
122
  type: "button",
122
- children: i`previous`
123
+ children: s`previous`
123
124
  },
124
125
  "page__previous"
125
126
  ),
126
- /* @__PURE__ */ t("ul", { children: x.map(({ page: n, type: r, selected: f, ...I }, h) => {
127
- let g = /* @__PURE__ */ t(p, {});
128
- return r === "start-ellipsis" || r === "end-ellipsis" ? g = /* @__PURE__ */ t("span", { className: a["page-item"], children: "..." }) : r === "page" ? g = /* @__PURE__ */ t(
127
+ /* @__PURE__ */ a("ul", { children: j.map(({ page: t, type: i, selected: N, ...f }, h) => {
128
+ let _ = /* @__PURE__ */ a(p, {});
129
+ return i === "start-ellipsis" || i === "end-ellipsis" ? _ = /* @__PURE__ */ a("span", { className: n["page-item"], children: "..." }) : i === "page" ? _ = /* @__PURE__ */ a(
129
130
  "button",
130
131
  {
131
- className: _(a["page-number__btn"], f && a["page-number__btn--selected"]),
132
- onClick: () => e.onPageChange(n || 0),
132
+ className: o(n["page-number__btn"], N && n["page-number__btn--selected"]),
133
+ onClick: () => e.onPageChange(t || 0),
133
134
  type: "button",
134
- children: n
135
+ children: t
135
136
  },
136
137
  `page__${h}`
137
- ) : g = /* @__PURE__ */ t("button", { type: "button", ...I, children: r }), /* @__PURE__ */ t("li", { children: g }, h);
138
+ ) : _ = /* @__PURE__ */ a("button", { type: "button", ...f, children: i }), /* @__PURE__ */ a("li", { children: _ }, h);
138
139
  }) }),
139
- /* @__PURE__ */ t(
140
+ /* @__PURE__ */ a(
140
141
  "button",
141
142
  {
142
- className: a["pages-navigator-container__previous-next-btn"],
143
- disabled: k,
143
+ className: n["pages-navigator-container__previous-next-btn"],
144
+ disabled: b,
144
145
  onClick: () => e.onPageChange(e.currentPage + 1),
145
146
  type: "button",
146
- children: i`next`
147
+ children: s`next`
147
148
  },
148
149
  "page__next"
149
150
  )
@@ -153,6 +154,6 @@ const w = "_pagination_2n0nk_43", a = {
153
154
  ] });
154
155
  };
155
156
  export {
156
- $ as Pagination,
157
- B as paginationDefaultTranslations
157
+ L as Pagination,
158
+ k as paginationDefaultTranslations
158
159
  };
@@ -3,7 +3,7 @@ import { StoryObj } from '@storybook/react';
3
3
 
4
4
  declare const meta: {
5
5
  title: string;
6
- component: ({ perPageOptions, language, usePaginationProps, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
6
+ component: ({ perPageOptions, language, ...props }: PaginationProps) => import("react/jsx-runtime").JSX.Element;
7
7
  tags: string[];
8
8
  parameters: {
9
9
  layout: string;
@@ -15,30 +15,9 @@ export type SelectProps = {
15
15
  placeholder?: string;
16
16
  prefix?: string;
17
17
  className?: string;
18
- id?: string;
19
18
  value?: string;
20
- label?: string;
21
- classNameWrapper?: string;
22
- classNameLabel?: string;
23
- testIdLabel?: string;
24
- testIdWrapper?: string;
25
19
  'data-testid'?: string;
26
20
  onChange?: (value: string | null, event?: React.SyntheticEvent<Element, Event> | null) => void;
27
- fullWidth?: boolean;
28
- /** Info message text */
29
- infoMessage?: string;
30
- /** Show the field layout as an error */
31
- error?: boolean;
32
- /** Error message text, if has "errorMessage", the "error" props will be "true" */
33
- errorMessage?: string;
34
- /** CSS classes to be applied on the info message element */
35
- classNameInfoMessage?: string;
36
- /** CSS classes to be applied on the error message element */
37
- classNameErrorMessage?: string;
38
- /** Id to be applied as `data-testid` on the info message element */
39
- 'data-testid-infoMessage'?: string;
40
- /** Id to be applied as `data-testid` on the error message element */
41
- 'data-testid-errorMessage'?: string;
42
21
  };
43
22
  declare const Select: {
44
23
  (props: SelectProps): import("react/jsx-runtime").JSX.Element;