@lanaco/lnc-react-ui 4.0.2 → 4.0.5

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 (233) hide show
  1. package/dist/Accordion.cjs +1 -1
  2. package/dist/Accordion.js +55 -50
  3. package/dist/AccordionDetails.cjs +1 -1
  4. package/dist/AccordionDetails.js +15 -15
  5. package/dist/AccordionSummary.cjs +1 -1
  6. package/dist/AccordionSummary.js +11 -11
  7. package/dist/ActionsToolbar.cjs +2 -2
  8. package/dist/ActionsToolbar.js +16 -16
  9. package/dist/Alert.cjs +1 -1
  10. package/dist/Alert.js +23 -23
  11. package/dist/Avatar.cjs +2 -2
  12. package/dist/Avatar.js +18 -21
  13. package/dist/Badge.cjs +1 -1
  14. package/dist/Badge.js +21 -14
  15. package/dist/Breadcrumbs.cjs +1 -1
  16. package/dist/Breadcrumbs.js +28 -28
  17. package/dist/Button.cjs +2 -2
  18. package/dist/Button.js +21 -22
  19. package/dist/ButtonGroup.cjs +1 -1
  20. package/dist/ButtonGroup.js +10 -6
  21. package/dist/CheckBoxInput.cjs +1 -1
  22. package/dist/CheckBoxInput.js +6 -6
  23. package/dist/Chip.cjs +1 -1
  24. package/dist/Chip.js +9 -9
  25. package/dist/ColorInput.cjs +1 -1
  26. package/dist/ColorInput.js +20 -20
  27. package/dist/ConfirmationForm.cjs +1 -1
  28. package/dist/ConfirmationForm.js +58 -58
  29. package/dist/Content.cjs +1 -1
  30. package/dist/Content.js +8 -8
  31. package/dist/{CustomStyles-nfD3J1mi.js → CustomStyles-BUSJ8bZt.js} +5 -5
  32. package/dist/{CustomStyles-CqlCjTgU.cjs → CustomStyles-Dlqxic2X.cjs} +1 -1
  33. package/dist/DataView.cjs +1 -1
  34. package/dist/DataView.js +35 -35
  35. package/dist/DateInput.cjs +4 -4
  36. package/dist/DateInput.js +491 -491
  37. package/dist/DecimalInput.cjs +1 -1
  38. package/dist/DecimalInput.js +43 -43
  39. package/dist/DetailsView.cjs +4 -4
  40. package/dist/DetailsView.js +40 -40
  41. package/dist/DoubleRangeSlider.cjs +1 -1
  42. package/dist/DoubleRangeSlider.js +33 -33
  43. package/dist/DragAndDropFile.cjs +1 -1
  44. package/dist/DragAndDropFile.js +165 -165
  45. package/dist/DragDropFiles.cjs +1 -1
  46. package/dist/DragDropFiles.js +31 -31
  47. package/dist/Drawer.cjs +1 -1
  48. package/dist/Drawer.js +47 -47
  49. package/dist/Dropdown.cjs +1 -1
  50. package/dist/Dropdown.js +39 -39
  51. package/dist/DropdownItem.cjs +1 -1
  52. package/dist/DropdownItem.js +23 -23
  53. package/dist/DropdownLookup.cjs +1 -1
  54. package/dist/DropdownLookup.js +36 -36
  55. package/dist/DropdownMenu.cjs +7 -1
  56. package/dist/DropdownMenu.js +192 -10
  57. package/dist/EditableTable.cjs +1 -1
  58. package/dist/EditableTable.js +4 -4
  59. package/dist/FileInput.cjs +1 -1
  60. package/dist/FileInput.js +24 -24
  61. package/dist/FlexBox.cjs +1 -1
  62. package/dist/FlexBox.js +14 -14
  63. package/dist/FlexGrid.cjs +1 -1
  64. package/dist/FlexGrid.js +30 -30
  65. package/dist/FlexGridItem.cjs +1 -1
  66. package/dist/FlexGridItem.js +16 -16
  67. package/dist/Footer.cjs +1 -1
  68. package/dist/Footer.js +5 -5
  69. package/dist/FormField.cjs +1 -1
  70. package/dist/FormField.js +8 -9
  71. package/dist/FormView.cjs +1 -1
  72. package/dist/FormView.js +31 -31
  73. package/dist/Grid.cjs +2 -3
  74. package/dist/Grid.js +38 -10
  75. package/dist/GridItem.cjs +2 -2
  76. package/dist/GridItem.js +29 -9
  77. package/dist/Header.cjs +1 -1
  78. package/dist/Header.js +7 -7
  79. package/dist/Icon.cjs +2 -2
  80. package/dist/Icon.js +35 -13
  81. package/dist/IconButton.cjs +1 -1
  82. package/dist/IconButton.js +51 -52
  83. package/dist/Kanban.cjs +12 -12
  84. package/dist/Kanban.js +891 -879
  85. package/dist/KanbanActionsToolbar.cjs +2 -2
  86. package/dist/KanbanActionsToolbar.js +28 -28
  87. package/dist/{KanbanCard-D9OhU8C6.js → KanbanCard-CHZ_C9kk.js} +50 -50
  88. package/dist/KanbanCard-DV3VnSUi.cjs +30 -0
  89. package/dist/KanbanCard.cjs +1 -1
  90. package/dist/KanbanCard.js +5 -5
  91. package/dist/KanbanFooter.cjs +1 -1
  92. package/dist/KanbanFooter.js +40 -40
  93. package/dist/KanbanHeader.cjs +2 -2
  94. package/dist/KanbanHeader.js +46 -46
  95. package/dist/KanbanView.cjs +1 -1
  96. package/dist/KanbanView.js +27 -27
  97. package/dist/Link.cjs +1 -1
  98. package/dist/Link.js +9 -9
  99. package/dist/MenuItem.cjs +1 -1
  100. package/dist/MenuItem.js +39 -39
  101. package/dist/Modal.cjs +1 -1
  102. package/dist/Modal.js +42 -42
  103. package/dist/MultiSelectDropdown.cjs +1 -1
  104. package/dist/MultiSelectDropdown.js +6 -6
  105. package/dist/MultiSelectDropdownLookup.cjs +1 -1
  106. package/dist/MultiSelectDropdownLookup.js +6 -6
  107. package/dist/NestedDropdownItem.cjs +1 -1
  108. package/dist/NestedDropdownItem.js +40 -40
  109. package/dist/NestedMenuItem.cjs +1 -1
  110. package/dist/NestedMenuItem.js +45 -45
  111. package/dist/Notification.cjs +1 -83
  112. package/dist/Notification.js +3 -1077
  113. package/dist/NotificationContainer.cjs +37 -0
  114. package/dist/NotificationContainer.js +162 -0
  115. package/dist/NotificationMessage.cjs +47 -0
  116. package/dist/NotificationMessage.js +133 -0
  117. package/dist/NumberInput.cjs +1 -1
  118. package/dist/NumberInput.js +17 -17
  119. package/dist/PageLayout.cjs +1 -1
  120. package/dist/PageLayout.js +32 -32
  121. package/dist/Pagination.cjs +12 -0
  122. package/dist/Pagination.js +248 -0
  123. package/dist/PasswordInput.cjs +1 -1
  124. package/dist/PasswordInput.js +33 -33
  125. package/dist/Popover.cjs +1 -0
  126. package/dist/Popover.js +36 -0
  127. package/dist/PopoverClose.cjs +1 -0
  128. package/dist/PopoverClose.js +15 -0
  129. package/dist/PopoverContent.cjs +10 -0
  130. package/dist/PopoverContent.js +68 -0
  131. package/dist/PopoverContext.cjs +1 -0
  132. package/dist/PopoverContext.js +5 -0
  133. package/dist/PopoverDescription.cjs +1 -0
  134. package/dist/PopoverDescription.js +16 -0
  135. package/dist/PopoverHeading.cjs +1 -0
  136. package/dist/PopoverHeading.js +16 -0
  137. package/dist/PopoverTrigger.cjs +1 -0
  138. package/dist/PopoverTrigger.js +38 -0
  139. package/dist/ProgressBar.cjs +1 -1
  140. package/dist/ProgressBar.js +35 -24
  141. package/dist/RadioGroup.cjs +1 -1
  142. package/dist/RadioGroup.js +13 -13
  143. package/dist/RadioInput.cjs +1 -1
  144. package/dist/RadioInput.js +10 -10
  145. package/dist/RangeSlider.cjs +1 -1
  146. package/dist/RangeSlider.js +27 -27
  147. package/dist/SearchBar.cjs +1 -1
  148. package/dist/SearchBar.js +77 -77
  149. package/dist/Separator.cjs +1 -1
  150. package/dist/Separator.js +9 -9
  151. package/dist/Sidebar.cjs +1 -1
  152. package/dist/Sidebar.js +13 -13
  153. package/dist/Spinner.cjs +1 -1
  154. package/dist/Spinner.js +25 -20
  155. package/dist/Surface.cjs +2 -2
  156. package/dist/Surface.js +14 -15
  157. package/dist/SwipeableDrawer.cjs +1 -1
  158. package/dist/SwipeableDrawer.js +18 -18
  159. package/dist/TabItem.cjs +26 -0
  160. package/dist/TabItem.js +210 -0
  161. package/dist/Table.cjs +20 -20
  162. package/dist/Table.js +13 -12
  163. package/dist/TableView.cjs +8 -1
  164. package/dist/TableView.js +238 -9
  165. package/dist/Tabs.cjs +1 -1
  166. package/dist/Tabs.js +33 -27
  167. package/dist/TextAreaInput.cjs +1 -1
  168. package/dist/TextAreaInput.js +35 -35
  169. package/dist/TextInput.cjs +1 -1
  170. package/dist/TextInput.js +24 -24
  171. package/dist/ThemeProvider.cjs +1 -1
  172. package/dist/ThemeProvider.js +85 -85
  173. package/dist/TimeInput.cjs +1 -1
  174. package/dist/TimeInput.js +13 -13
  175. package/dist/Toggle.cjs +1 -1
  176. package/dist/Toggle.js +4 -5
  177. package/dist/TreeMenu.cjs +1 -1
  178. package/dist/TreeMenu.js +57 -57
  179. package/dist/TreeMenuSeparator.cjs +3 -3
  180. package/dist/TreeMenuSeparator.js +11 -11
  181. package/dist/UploadedFile.cjs +1 -1
  182. package/dist/UploadedFile.js +29 -29
  183. package/dist/_commonjsHelpers-DKOUU3wS.cjs +1 -0
  184. package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
  185. package/dist/{defineProperty-BHpTtkhC.js → defineProperty-B5pLF6px.js} +8 -8
  186. package/dist/{emotion-element-5486c51c.browser.esm-CSejtOeT.js → emotion-element-5486c51c.browser.esm-Bb4VkP8U.js} +4 -4
  187. package/dist/{emotion-is-prop-valid.esm-BzFBwmJz.js → emotion-is-prop-valid.esm-DkbeH1Xy.js} +1 -1
  188. package/dist/{emotion-react.browser.esm-OWM-uG8Q.js → emotion-react.browser.esm-CN-s34fZ.js} +6 -6
  189. package/dist/{emotion-react.browser.esm-DQBL7Wls.cjs → emotion-react.browser.esm-D7h2t2Bz.cjs} +1 -1
  190. package/dist/{emotion-styled.browser.esm-BZSYYThs.js → emotion-styled.browser.esm-BiK8DcgW.js} +12 -12
  191. package/dist/floating-ui.react.esm-72DKnou_.js +1198 -0
  192. package/dist/floating-ui.react.esm-C4vrBVJU.cjs +4 -0
  193. package/dist/{hoist-non-react-statics.cjs-Drf1aBlk.js → hoist-non-react-statics.cjs-CAHiRNzQ.js} +1 -1
  194. package/dist/{hoist-non-react-statics.cjs-B8r9S_ak.cjs → hoist-non-react-statics.cjs-Dr-ytKVG.cjs} +3 -3
  195. package/dist/{index-CZJEA84h.js → index--Kmch3aI.js} +1 -1
  196. package/dist/index-BIlhCoy2.cjs +20 -0
  197. package/dist/{index-BLQWNy78.js → index-BUChtubz.js} +4 -4
  198. package/dist/{index-Ds9PUTwb.js → index-BYnWp42a.js} +208 -213
  199. package/dist/{index-D5vEbKUT.js → index-CNBqQrtK.js} +1 -1
  200. package/dist/{index-IO9v6o0I.cjs → index-CSXL784P.cjs} +2 -2
  201. package/dist/{index-C29T0m2a.cjs → index-Ct1N7fF4.cjs} +1 -1
  202. package/dist/{index-BklgDeu4.js → index-Cu0xwYjD.js} +1 -1
  203. package/dist/{index-Cdkz-XH-.js → index-CvebWhtp.js} +1 -1
  204. package/dist/index-DAOBjHnD.cjs +1 -0
  205. package/dist/index-DBXXH_TD.cjs +1 -0
  206. package/dist/{index-B_da1uvD.js → index-DLVVKJXD.js} +1 -1
  207. package/dist/index-DaiUAQVF.cjs +1 -0
  208. package/dist/index.cjs +1 -26
  209. package/dist/index.js +180 -376
  210. package/dist/{motion-CtkUpWEn.js → motion-ecIGZGwI.js} +1 -1
  211. package/dist/react-toastify.esm-CkXGwKXL.js +798 -0
  212. package/dist/react-toastify.esm-Dqcb4SQT.cjs +1 -0
  213. package/dist/{setPrototypeOf-a891FLQJ.js → setPrototypeOf-CttqfWo1.js} +2 -2
  214. package/dist/style.css +1 -5
  215. package/dist/{tslib.es6-ZNVz5r_T.js → tslib.es6-DQ-SzcmG.js} +5 -5
  216. package/dist/usePopover.cjs +1 -0
  217. package/dist/usePopover.js +44 -0
  218. package/dist/{utils-DEke8iwo.js → utils-C52T57HO.js} +73 -73
  219. package/dist/{utils-hdRGTsQ7.cjs → utils-DTAPpJXU.cjs} +1 -1
  220. package/package.json +17 -5
  221. package/vite.config.js +16 -0
  222. package/custom-addons/ThemeSelector.js +0 -111
  223. package/custom-addons/register.js +0 -16
  224. package/custom-addons/theme-selector.css +0 -17
  225. package/dist/DropdownMenu-B6qr13ik.cjs +0 -19
  226. package/dist/DropdownMenu-DZi3TJ8Q.js +0 -1547
  227. package/dist/KanbanCard-ConTmu3w.cjs +0 -30
  228. package/dist/TableView-Cj5_fbSR.js +0 -481
  229. package/dist/TableView-D8ex512p.cjs +0 -19
  230. package/dist/index-BjdOz5Ok.cjs +0 -1
  231. package/dist/index-DXnSjbfJ.cjs +0 -20
  232. package/dist/index-Dzkd2i4n.cjs +0 -1
  233. package/dist/index-P-naJISQ.cjs +0 -1
@@ -1,11 +1,11 @@
1
1
  import { jsx as o, jsxs as u, Fragment as z } from "react/jsx-runtime";
2
- import A, { useState as N } from "react";
3
- import { P as t } from "./index-Ds9PUTwb.js";
4
- import { n as c } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { a as O, b as P } from "./utils-DEke8iwo.js";
6
- import R from "./Icon.js";
7
- import { u as v } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
- const _ = c.div`
2
+ import { forwardRef as A, useState as N } from "react";
3
+ import { P as t } from "./index-BYnWp42a.js";
4
+ import { n as c } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { g as O, a as P } from "./utils-C52T57HO.js";
6
+ import v from "./Icon.js";
7
+ import { u as R } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
+ const $ = c.div`
9
9
  display: inline-flex;
10
10
  flex-wrap: wrap;
11
11
  ${(r) => O(
@@ -21,24 +21,24 @@ const _ = c.div`
21
21
  "enabled",
22
22
  "text"
23
23
  )};
24
- `, $ = c.div`
24
+ `, k = c.div`
25
25
  cursor: pointer;
26
- `, k = c.span``, F = A.forwardRef((r, g) => {
26
+ `, F = c.span``, V = A((r, i) => {
27
27
  const {
28
28
  separator: a = "/",
29
- maxItems: b = 8,
30
- itemsAfterCollapse: y = 1,
29
+ maxItems: y = 8,
30
+ itemsAfterCollapse: b = 1,
31
31
  itemsBeforeCollapse: C = 1,
32
32
  //----------------
33
33
  className: B = "",
34
34
  style: I = {},
35
35
  color: h = "neutral",
36
- size: d = "small",
37
- children: w,
38
- ...T
36
+ size: w = "small",
37
+ children: T,
38
+ ...d
39
39
  } = r, S = {
40
- theme: v(),
41
- size: d,
40
+ theme: R(),
41
+ size: w,
42
42
  color: h,
43
43
  className: "lnc-ui-breadcrumbs " + B,
44
44
  style: I
@@ -56,17 +56,17 @@ const _ = c.div`
56
56
  child: e
57
57
  }
58
58
  ) : e == null ? void 0 : e.map(
59
- (i, s) => n <= e.length && f == !0 ? m - 1 >= s || e.length - p <= s ? /* @__PURE__ */ o(
59
+ (g, s) => n <= e.length && f == !0 ? m - 1 >= s || e.length - p <= s ? /* @__PURE__ */ o(
60
60
  l,
61
61
  {
62
62
  index: s,
63
63
  length: e.length,
64
64
  separator: a,
65
- child: i
65
+ child: g
66
66
  },
67
67
  s
68
- ) : m == s && /* @__PURE__ */ u($, { onClick: (q) => j(!f), children: [
69
- /* @__PURE__ */ o(R, { icon: "ellipsis" }),
68
+ ) : m == s && /* @__PURE__ */ u(k, { onClick: (D) => j(!f), children: [
69
+ /* @__PURE__ */ o(v, { icon: "ellipsis" }),
70
70
  a,
71
71
  " "
72
72
  ] }, s) : /* @__PURE__ */ o(
@@ -75,11 +75,11 @@ const _ = c.div`
75
75
  index: s,
76
76
  length: e.length,
77
77
  separator: a,
78
- child: i
78
+ child: g
79
79
  },
80
80
  s
81
81
  )
82
- ), l = ({ index: n, length: p, separator: m, child: e }) => /* @__PURE__ */ u(k, { children: [
82
+ ), l = ({ index: n, length: p, separator: m, child: e }) => /* @__PURE__ */ u(F, { children: [
83
83
  e,
84
84
  n + 1 !== p && /* @__PURE__ */ u(z, { children: [
85
85
  " ",
@@ -87,17 +87,17 @@ const _ = c.div`
87
87
  " "
88
88
  ] })
89
89
  ] });
90
- return /* @__PURE__ */ o(_, { ref: g, ...S, ...T, children: /* @__PURE__ */ o(
90
+ return /* @__PURE__ */ o($, { ref: i, ...S, ...d, children: /* @__PURE__ */ o(
91
91
  x,
92
92
  {
93
- maxItems: b,
94
- itemsAfterCollapse: y,
93
+ maxItems: y,
94
+ itemsAfterCollapse: b,
95
95
  itemsBeforeCollapse: C,
96
- children: w
96
+ children: T
97
97
  }
98
98
  ) });
99
99
  });
100
- F.propTypes = {
100
+ V.propTypes = {
101
101
  separator: t.oneOfType([t.string, t.element]),
102
102
  /**
103
103
  * Specifies the maximum number of breadcrumbs to display. When there are more than the maximum number, only the first itemsBeforeCollapse and last itemsAfterCollapse will be shown, with an ellipsis in between
@@ -127,5 +127,5 @@ F.propTypes = {
127
127
  size: t.oneOf(["small", "medium", "large"])
128
128
  };
129
129
  export {
130
- F as default
130
+ V as default
131
131
  };
package/dist/Button.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),U=require("react"),o=require("./index-DXnSjbfJ.cjs");;/* empty css */const C=require("./index-P-naJISQ.cjs"),r=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-hdRGTsQ7.cjs"),V=require("./Icon.cjs"),W=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),B={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},f=e=>`
1
+ "use strict";const n=require("react/jsx-runtime"),q=require("react"),o=require("./index-BIlhCoy2.cjs"),C=require("./index-DAOBjHnD.cjs"),r=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./utils-DTAPpJXU.cjs"),V=require("./Icon.cjs"),W=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),B={small:{regular:"1rem",icon:"0.75rem",justIcon:"0.5rem"},medium:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"},large:{regular:"1.5rem",icon:"1rem",justIcon:"0.5rem"}},f=e=>`
2
2
  outline: none;
3
3
  display: inline-flex;
4
4
  flex-direction: row;
@@ -124,4 +124,4 @@
124
124
  `,_=r.newStyled(I)`
125
125
  border: 1px solid
126
126
  ${e=>t.getColorRgbaValue(e.theme,"ButtonBasic",e.color,"enabled","border","borderOpacity")};
127
- `,O=U.forwardRef((e,c)=>{const{text:k="",iconStyle:T="solid",leadingIcon:x=null,trailingIcon:R=null,borderRadius:v="regular",btnType:l="filled",disabled:S=!1,tabIndex:d=0,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,onLeadingIconClick:N,onTrailingIconClick:K,size:$="small",color:P="primary",className:j="",style:F={},children:w,...m}=e,h={theme:W.useTheme(),color:P,size:$,style:F,disabled:S,borderRadius:v,btnType:l,className:"lnc-ui-button "+j},a=!C.isEmpty(x),i=!C.isEmpty(R),q=!C.isEmpty(k),y=()=>n.jsxs(n.Fragment,{children:[a&&n.jsx(D,{size:$,children:n.jsx(V,{icon:x,sizeInUnits:"1.125rem",iconStyle:T})}),k,w,i&&n.jsx(E,{size:$,children:n.jsx(V,{icon:R,sizeInUnits:"1.125rem",iconStyle:T})})]});return l==="filled"?n.jsx(z,{ref:c,"data-type":"filled",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="tinted"?n.jsx(L,{ref:c,"data-type":"tinted",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="outline"?n.jsx(_,{ref:c,"data-type":"outline",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="basic"?n.jsx(I,{ref:c,"data-type":"basic",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):n.jsx(z,{ref:c,"data-type":"filled",size:$,...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,hasText:q,tabIndex:d,btnType:l,...m,children:y()})});O.propTypes={text:o.PropTypes.string,iconStyle:o.PropTypes.oneOf(["regular","solid"]),leadingIcon:o.PropTypes.string,trailingIcon:o.PropTypes.string,borderRadius:o.PropTypes.oneOf(["slight","regular","edged","curved","none"]),btnType:o.PropTypes.oneOf(["filled","tinted","outline","basic"]),disabled:o.PropTypes.bool,tabIndex:o.PropTypes.number,onBlur:o.PropTypes.func,onFocus:o.PropTypes.func,onClick:o.PropTypes.func,onKeyDown:o.PropTypes.func,className:o.PropTypes.string,style:o.PropTypes.object,color:o.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:o.PropTypes.oneOf(["small","medium","large"])};module.exports=O;
127
+ `,O=q.forwardRef((e,c)=>{const{text:k="",iconStyle:T="solid",leadingIcon:x=null,trailingIcon:R=null,borderRadius:v="regular",btnType:l="filled",disabled:S=!1,tabIndex:d=0,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,onLeadingIconClick:N,onTrailingIconClick:K,size:$="small",color:P="primary",className:j="",style:F={},children:w,...m}=e,h={theme:W.useTheme(),color:P,size:$,style:F,disabled:S,borderRadius:v,btnType:l,className:"lnc-ui-button "+j},a=!C.isEmpty(x),i=!C.isEmpty(R),U=!C.isEmpty(k),y=()=>n.jsxs(n.Fragment,{children:[a&&n.jsx(D,{size:$,children:n.jsx(V,{icon:x,sizeInUnits:"1.125rem",iconStyle:T})}),k,w,i&&n.jsx(E,{size:$,children:n.jsx(V,{icon:R,sizeInUnits:"1.125rem",iconStyle:T})})]});return l==="filled"?n.jsx(z,{ref:c,"data-type":"filled",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="tinted"?n.jsx(L,{ref:c,"data-type":"tinted",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="outline"?n.jsx(_,{ref:c,"data-type":"outline",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):l==="basic"?n.jsx(I,{ref:c,"data-type":"basic",...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,tabIndex:d,btnType:l,...m,children:y()}):n.jsx(z,{ref:c,"data-type":"filled",size:$,...h,hasLeadingIcon:a,hasTrailingIcon:i,onFocus:u,onBlur:s,onClick:g,onKeyDown:b,hasText:U,tabIndex:d,btnType:l,...m,children:y()})});O.propTypes={text:o.PropTypes.string,iconStyle:o.PropTypes.oneOf(["regular","solid"]),leadingIcon:o.PropTypes.string,trailingIcon:o.PropTypes.string,borderRadius:o.PropTypes.oneOf(["slight","regular","edged","curved","none"]),btnType:o.PropTypes.oneOf(["filled","tinted","outline","basic"]),disabled:o.PropTypes.bool,tabIndex:o.PropTypes.number,onBlur:o.PropTypes.func,onFocus:o.PropTypes.func,onClick:o.PropTypes.func,onKeyDown:o.PropTypes.func,className:o.PropTypes.string,style:o.PropTypes.object,color:o.PropTypes.oneOf(["primary","secondary","success","warning","danger","information","neutral","gray"]),size:o.PropTypes.oneOf(["small","medium","large"])};module.exports=O;
package/dist/Button.js CHANGED
@@ -1,12 +1,11 @@
1
1
  import { jsx as i, jsxs as K, Fragment as W } from "react/jsx-runtime";
2
- import _ from "react";
3
- import { P as o } from "./index-Ds9PUTwb.js";
4
- /* empty css */
5
- import { i as y } from "./index-Cdkz-XH-.js";
6
- import { n as r } from "./emotion-styled.browser.esm-BZSYYThs.js";
7
- import { a as x, b as t, f as c, g as T, h as z, c as E } from "./utils-DEke8iwo.js";
2
+ import { forwardRef as E } from "react";
3
+ import { P as o } from "./index-BYnWp42a.js";
4
+ import { i as y } from "./index-CvebWhtp.js";
5
+ import { n as r } from "./emotion-styled.browser.esm-BiK8DcgW.js";
6
+ import { g as x, a as t, d as c, h as T, e as z, b as q } from "./utils-C52T57HO.js";
8
7
  import j from "./Icon.js";
9
- import { u as q } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
+ import { u as A } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
10
9
  const k = {
11
10
  small: {
12
11
  regular: "1rem",
@@ -34,16 +33,16 @@ const k = {
34
33
  cursor: pointer;
35
34
  color: ${!e.disabled && "white"};
36
35
 
37
- border-radius: ${E(
36
+ border-radius: ${q(
38
37
  e.theme,
39
38
  e.borderRadius
40
39
  )};
41
40
 
42
41
  padding-left: ${e.hasLeadingIcon ? k[e.size].icon : k[e.size].regular};
43
42
  padding-right: ${e.hasTrailingIcon ? k[e.size].icon : k[e.size].regular};
44
- `, A = r.span`
43
+ `, G = r.span`
45
44
  padding-right: ${(e) => e.size === "small" ? "0.25rem" : "0.5rem"};
46
- `, G = r.span`
45
+ `, H = r.span`
47
46
  padding-left: ${(e) => e.size === "small" ? "0.25rem" : "0.5rem"};
48
47
  `, w = r.button`
49
48
  ${(e) => I(e)}
@@ -143,7 +142,7 @@ const k = {
143
142
  "text"
144
143
  )};
145
144
  }
146
- `, H = r.button`
145
+ `, J = r.button`
147
146
  ${(e) => I(e)}
148
147
 
149
148
  min-height: ${(e) => c(e.theme, e.size)};
@@ -341,7 +340,7 @@ const k = {
341
340
  "backgroundOpacity"
342
341
  )};
343
342
  }
344
- `, J = r(R)`
343
+ `, M = r(R)`
345
344
  border: 1px solid
346
345
  ${(e) => t(
347
346
  e.theme,
@@ -351,7 +350,7 @@ const k = {
351
350
  "border",
352
351
  "borderOpacity"
353
352
  )};
354
- `, M = _.forwardRef((e, d) => {
353
+ `, Q = E((e, d) => {
355
354
  const {
356
355
  text: v = "",
357
356
  iconStyle: O = "solid",
@@ -366,8 +365,8 @@ const k = {
366
365
  onBlur: m,
367
366
  onClick: b,
368
367
  onKeyDown: g,
369
- onLeadingIconClick: Q,
370
- onTrailingIconClick: X,
368
+ onLeadingIconClick: X,
369
+ onTrailingIconClick: Y,
371
370
  //----------------
372
371
  size: B = "small",
373
372
  color: U = "primary",
@@ -376,7 +375,7 @@ const k = {
376
375
  children: P,
377
376
  ...h
378
377
  } = e, f = {
379
- theme: q(),
378
+ theme: A(),
380
379
  color: U,
381
380
  size: B,
382
381
  style: N,
@@ -385,7 +384,7 @@ const k = {
385
384
  btnType: n,
386
385
  className: "lnc-ui-button " + D
387
386
  }, a = !y(F), l = !y(C), V = !y(v), $ = () => /* @__PURE__ */ K(W, { children: [
388
- a && /* @__PURE__ */ i(A, { size: B, children: /* @__PURE__ */ i(
387
+ a && /* @__PURE__ */ i(G, { size: B, children: /* @__PURE__ */ i(
389
388
  j,
390
389
  {
391
390
  icon: F,
@@ -395,7 +394,7 @@ const k = {
395
394
  ) }),
396
395
  v,
397
396
  P,
398
- l && /* @__PURE__ */ i(G, { size: B, children: /* @__PURE__ */ i(
397
+ l && /* @__PURE__ */ i(H, { size: B, children: /* @__PURE__ */ i(
399
398
  j,
400
399
  {
401
400
  icon: C,
@@ -422,7 +421,7 @@ const k = {
422
421
  children: $()
423
422
  }
424
423
  ) : n === "tinted" ? /* @__PURE__ */ i(
425
- H,
424
+ J,
426
425
  {
427
426
  ref: d,
428
427
  "data-type": "tinted",
@@ -439,7 +438,7 @@ const k = {
439
438
  children: $()
440
439
  }
441
440
  ) : n === "outline" ? /* @__PURE__ */ i(
442
- J,
441
+ M,
443
442
  {
444
443
  ref: d,
445
444
  "data-type": "outline",
@@ -493,7 +492,7 @@ const k = {
493
492
  }
494
493
  );
495
494
  });
496
- M.propTypes = {
495
+ Q.propTypes = {
497
496
  text: o.string,
498
497
  iconStyle: o.oneOf(["regular", "solid"]),
499
498
  /**
@@ -538,5 +537,5 @@ M.propTypes = {
538
537
  size: o.oneOf(["small", "medium", "large"])
539
538
  };
540
539
  export {
541
- M as default
540
+ Q as default
542
541
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime");require("react");const a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-DXnSjbfJ.cjs"),o=require("./utils-hdRGTsQ7.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),s=a.newStyled.div`
1
+ "use strict";const i=require("react/jsx-runtime"),a=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-BIlhCoy2.cjs"),o=require("./utils-DTAPpJXU.cjs"),b=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),s=a.newStyled.div`
2
2
  display: inline-flex;
3
3
  flex-wrap: wrap;
4
4
  width: fit-content;
@@ -1,9 +1,8 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import "react";
3
- import { n as i } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
- import { P as t } from "./index-Ds9PUTwb.js";
5
- import { b as o, c as b } from "./utils-DEke8iwo.js";
6
- import { u as l } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
2
+ import { n as i } from "./emotion-styled.browser.esm-BiK8DcgW.js";
3
+ import { P as t } from "./index-BYnWp42a.js";
4
+ import { a as o, b } from "./utils-C52T57HO.js";
5
+ import { u as l } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
6
  const s = i.div`
8
7
  display: inline-flex;
9
8
  flex-wrap: wrap;
@@ -83,7 +82,12 @@ const s = i.div`
83
82
  "border"
84
83
  )};
85
84
  }
86
- `, m = ({ children: e, borderRadius: d = "regular", style: n = {}, className: a = "" }) => {
85
+ `, m = ({
86
+ children: e,
87
+ borderRadius: d = "regular",
88
+ style: n = {},
89
+ className: a = ""
90
+ }) => {
87
91
  const r = l();
88
92
  return /* @__PURE__ */ u(
89
93
  s,
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-DXnSjbfJ.cjs"),R=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-hdRGTsQ7.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.newStyled.label`
1
+ "use strict";const n=require("react/jsx-runtime"),z=require("react"),t=require("./index-BIlhCoy2.cjs"),R=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),o=require("./utils-DTAPpJXU.cjs"),j=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),V=e=>e=="left"?"row-reverse":"row",i=(e,s)=>`calc(${e.components.Checkbox.default.enabled.sizes[s]} / 2)`,O=R.newStyled.label`
2
2
  -webkit-user-select: none;
3
3
  -moz-user-select: none;
4
4
  -ms-user-select: none;
@@ -1,9 +1,9 @@
1
1
  import { jsxs as k, jsx as i, Fragment as B } from "react/jsx-runtime";
2
- import I from "react";
3
- import { P as t } from "./index-Ds9PUTwb.js";
4
- import { n as j } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { f as g, a as L, b as n, c as N, h as x } from "./utils-DEke8iwo.js";
6
- import { u as P } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
2
+ import { forwardRef as I } from "react";
3
+ import { P as t } from "./index-BYnWp42a.js";
4
+ import { n as j } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { d as g, g as L, a as n, b as N, e as x } from "./utils-C52T57HO.js";
6
+ import { u as P } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
7
7
  const R = (e) => e == "left" ? "row-reverse" : "row", o = (e, d) => `calc(${e.components.Checkbox.default.enabled.sizes[d]} / 2)`, T = j.label`
8
8
  -webkit-user-select: none;
9
9
  -moz-user-select: none;
@@ -195,7 +195,7 @@ const R = (e) => e == "left" ? "row-reverse" : "row", o = (e, d) => `calc(${e.co
195
195
  & input:active ~ .checkmark {
196
196
  ${(e) => x(e.theme)};
197
197
  }
198
- `, F = I.forwardRef((e, d) => {
198
+ `, F = I((e, d) => {
199
199
  const {
200
200
  containerRef: f,
201
201
  id: W,
package/dist/Chip.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),V=require("react"),r=require("./index-DXnSjbfJ.cjs"),j=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),n=require("./utils-hdRGTsQ7.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,N=j.newStyled.span`
1
+ "use strict";const t=require("react/jsx-runtime"),V=require("react"),r=require("./index-BIlhCoy2.cjs"),j=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),n=require("./utils-DTAPpJXU.cjs"),O=require("./Avatar.cjs"),q=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),m=e=>{var o="fas";return`${o} fa-${e} fa-fw`},S=(e,o,l,a)=>e?`padding-right: ${a=="small"?"0.75rem":"0.625rem"}; padding-left: ${a=="small"?"0.25rem":"0.125rem"};`:o?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.5rem":"0.375rem"};`:l?`padding-right: ${a=="small"?"0.5rem":"0.375rem"}; padding-left: ${a=="small"?"0.75rem":"0.625rem"};`:`padding-right: ${a=="small"?"1rem":"0.75rem"}; padding-left: ${a=="small"?"1rem":"0.75rem"};`,N=j.newStyled.span`
2
2
  cursor: pointer;
3
3
  display: inline-flex;
4
4
  height: ${e=>n.getSizeValueWithUnits(e.theme,e.size)};
package/dist/Chip.js CHANGED
@@ -1,10 +1,10 @@
1
1
  import { jsxs as u, jsx as i, Fragment as N } from "react/jsx-runtime";
2
- import S from "react";
3
- import { P as a } from "./index-Ds9PUTwb.js";
4
- import { n as j } from "./emotion-styled.browser.esm-BZSYYThs.js";
5
- import { f as b, g as B, b as t, c as D, a as F, d as V, h as U } from "./utils-DEke8iwo.js";
2
+ import { forwardRef as S } from "react";
3
+ import { P as a } from "./index-BYnWp42a.js";
4
+ import { n as j } from "./emotion-styled.browser.esm-BiK8DcgW.js";
5
+ import { d as b, h as B, a as t, b as D, g as F, c as V, e as U } from "./utils-C52T57HO.js";
6
6
  import W from "./Avatar.js";
7
- import { u as A } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
7
+ import { u as A } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
8
  const h = (e) => {
9
9
  var n = "fas";
10
10
  return `${n} fa-${e} fa-fw`;
@@ -68,7 +68,7 @@ const h = (e) => {
68
68
  "backgroundOpacity"
69
69
  )};
70
70
  }
71
- `, _ = (e, n) => `calc(${b(e, n)} - 8px)`, z = S.forwardRef((e, n) => {
71
+ `, z = (e, n) => `calc(${b(e, n)} - 8px)`, q = S((e, n) => {
72
72
  const {
73
73
  label: l,
74
74
  leadingIcon: r,
@@ -127,7 +127,7 @@ const h = (e) => {
127
127
  {
128
128
  ...g,
129
129
  disabled: s,
130
- sizeInUnits: _(m, d),
130
+ sizeInUnits: z(m, d),
131
131
  ...P
132
132
  }
133
133
  ),
@@ -147,7 +147,7 @@ const h = (e) => {
147
147
  }
148
148
  );
149
149
  });
150
- z.propTypes = {
150
+ q.propTypes = {
151
151
  label: a.string,
152
152
  leadingIcon: a.string,
153
153
  trailingIcon: a.string,
@@ -185,5 +185,5 @@ z.propTypes = {
185
185
  avatarProps: a.any
186
186
  };
187
187
  export {
188
- z as default
188
+ q as default
189
189
  };
@@ -1,4 +1,4 @@
1
- "use strict";const i=require("react/jsx-runtime"),b=require("react"),C=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-DXnSjbfJ.cjs"),n=require("./utils-hdRGTsQ7.cjs"),N=require("./index-BjdOz5Ok.cjs"),A=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),V=(e,r)=>`calc(${n.getSizeValueWithUnits(e,r)} - 1rem)`,L=C.newStyled.label`
1
+ "use strict";const i=require("react/jsx-runtime"),b=require("react"),C=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),t=require("./index-BIlhCoy2.cjs"),n=require("./utils-DTAPpJXU.cjs"),N=require("./index-DaiUAQVF.cjs"),A=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),H=require("./useUpdateEffect-BtMgpgIV.cjs"),V=(e,r)=>`calc(${n.getSizeValueWithUnits(e,r)} - 1rem)`,L=C.newStyled.label`
2
2
  display: inline-flex;
3
3
  align-items: center;
4
4
  gap: 0.5rem;
@@ -1,16 +1,16 @@
1
- import { jsx as a, jsxs as L } from "react/jsx-runtime";
2
- import q, { useState as R, useCallback as G } from "react";
3
- import { n as I } from "./emotion-styled.browser.esm-BZSYYThs.js";
4
- import { P as t } from "./index-Ds9PUTwb.js";
5
- import { a as J, f as d, b as g, c as V, h as C, i as M, g as Q } from "./utils-DEke8iwo.js";
6
- import { d as X } from "./index-D5vEbKUT.js";
7
- import { u as Y } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
8
- import { u as Z } from "./useUpdateEffect-CuYWz7EA.js";
1
+ import { jsx as a, jsxs as q } from "react/jsx-runtime";
2
+ import { forwardRef as G, useState as R, useCallback as J } from "react";
3
+ import { n as I } from "./emotion-styled.browser.esm-BiK8DcgW.js";
4
+ import { P as t } from "./index-BYnWp42a.js";
5
+ import { g as M, d, a as g, b as V, e as C, f as Q, h as X } from "./utils-C52T57HO.js";
6
+ import { d as Y } from "./index-CNBqQrtK.js";
7
+ import { u as Z } from "./emotion-element-5486c51c.browser.esm-Bb4VkP8U.js";
8
+ import { u as _ } from "./useUpdateEffect-CuYWz7EA.js";
9
9
  const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
10
10
  display: inline-flex;
11
11
  align-items: center;
12
12
  gap: 0.5rem;
13
- ${(e) => J(e.theme, "Input", e.size, "enabled")};
13
+ ${(e) => M(e.theme, "Input", e.size, "enabled")};
14
14
  min-height: ${(e) => d(e.theme, e.size)};
15
15
  max-height: ${(e) => d(e.theme, e.size)};
16
16
  background-color: ${(e) => g(
@@ -39,7 +39,7 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
39
39
  padding: 0.625rem 0.75rem;
40
40
  width: 100%;
41
41
  ${(e) => !e.disabled && e.readOnly !== !0 && e.isFocused === !0 && C(e.theme)};
42
- ${(e) => e.disabled === !0 && M(e.theme)}
42
+ ${(e) => e.disabled === !0 && Q(e.theme)}
43
43
  border: 1px solid ${(e) => g(e.theme, "Input", e.color, "disabled", "border")};
44
44
  `, te = I.div`
45
45
  ${(e) => !e.disabled && e.readOnly !== !0 && "cursor: pointer;"}
@@ -69,7 +69,7 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
69
69
  height: 200%;
70
70
  cursor: pointer;
71
71
  transform: translate(-25%, -25%);
72
- ${(e) => e.disabled === !0 && Q(e.theme)};
72
+ ${(e) => e.disabled === !0 && X(e.theme)};
73
73
  }
74
74
  }
75
75
  `, ne = I.span`
@@ -83,7 +83,7 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
83
83
  background-color: transparent;
84
84
  width: 100%;
85
85
  }
86
- `, ae = q.forwardRef((e, o) => {
86
+ `, ae = G((e, o) => {
87
87
  const {
88
88
  id: u,
89
89
  name: f,
@@ -111,19 +111,19 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
111
111
  labelRef: N,
112
112
  inputProps: x,
113
113
  ...O
114
- } = e, B = Y(), [c, p] = R(i), [W, S] = R(!1), _ = new RegExp(/^#[0-9A-F]{6}$/i);
115
- Z(() => p(i), [i]);
116
- const A = G(
117
- X((n, v) => H(n, v), j),
114
+ } = e, B = Z(), [c, p] = R(i), [W, S] = R(!1), A = new RegExp(/^#[0-9A-F]{6}$/i);
115
+ _(() => p(i), [i]);
116
+ const H = J(
117
+ Y((n, v) => L(n, v), j),
118
118
  [w]
119
- ), H = (n, v) => {
119
+ ), L = (n, v) => {
120
120
  w && w(n, v);
121
121
  }, m = (n) => {
122
- i && p(n.target.value), A(n, n.target.value);
122
+ i && p(n.target.value), H(n, n.target.value);
123
123
  }, h = (n) => {
124
124
  S(!0), P(n);
125
125
  }, b = (n) => {
126
- _.test(c) || p(z), S(!1), U(n);
126
+ A.test(c) || p(z), S(!1), U(n);
127
127
  };
128
128
  return /* @__PURE__ */ a(
129
129
  te,
@@ -137,7 +137,7 @@ const T = (e, o) => `calc(${d(e, o)} - 1rem)`, ee = I.label`
137
137
  readOnly: l,
138
138
  withInput: $,
139
139
  ...O,
140
- children: $ ? /* @__PURE__ */ L(
140
+ children: $ ? /* @__PURE__ */ q(
141
141
  ee,
142
142
  {
143
143
  withInput: $,
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-DXnSjbfJ.cjs"),y=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),m=require("./Icon.cjs"),u=require("./utils-hdRGTsQ7.cjs"),B=require("./Modal.cjs"),F=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),E=y.newStyled.div`
1
+ "use strict";const t=require("react/jsx-runtime"),p=require("react"),r=require("./index-BIlhCoy2.cjs"),y=require("./emotion-styled.browser.esm-Cbp_XsK4.cjs"),m=require("./Icon.cjs"),u=require("./utils-DTAPpJXU.cjs"),B=require("./Modal.cjs"),F=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),E=y.newStyled.div`
2
2
  display: flex;
3
3
  gap: 1rem;
4
4
  align-items: center;