@okam/stack-ui 2.0.3 → 2.1.0

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 (128) hide show
  1. package/components/fields/SearchField/interface.d.ts +9 -2
  2. package/components/fields/TextArea/attributes.d.ts +1 -0
  3. package/components/fields/TextInputField/attributes.d.ts +1 -0
  4. package/index.d.ts +1 -0
  5. package/index119.js +1 -1
  6. package/index119.mjs +1 -1
  7. package/index122.js +1 -1
  8. package/index122.mjs +22 -22
  9. package/index131.js +1 -1
  10. package/index131.mjs +1 -1
  11. package/index133.js +1 -1
  12. package/index133.mjs +11 -14
  13. package/index134.js +1 -1
  14. package/index134.mjs +12 -7
  15. package/index135.js +1 -1
  16. package/index135.mjs +14 -7
  17. package/index136.js +1 -1
  18. package/index136.mjs +6 -15
  19. package/index137.js +1 -1
  20. package/index137.mjs +7 -31
  21. package/index138.js +1 -2
  22. package/index138.mjs +15 -8
  23. package/index139.js +1 -2
  24. package/index139.mjs +30 -9
  25. package/index140.js +2 -1
  26. package/index140.mjs +8 -23
  27. package/index141.js +1 -1
  28. package/index141.mjs +8 -45
  29. package/index142.js +1 -1
  30. package/index142.mjs +24 -52
  31. package/index143.js +2 -6
  32. package/index143.mjs +45 -92
  33. package/index144.js +1 -1
  34. package/index144.mjs +52 -70
  35. package/index145.js +6 -1
  36. package/index145.mjs +82 -29
  37. package/index146.js +1 -51
  38. package/index146.mjs +65 -86
  39. package/index147.js +1 -64
  40. package/index147.mjs +33 -220
  41. package/index148.js +51 -10
  42. package/index148.mjs +85 -65
  43. package/index149.js +64 -1
  44. package/index149.mjs +214 -31
  45. package/index150.js +10 -1
  46. package/index150.mjs +68 -10
  47. package/index151.js +1 -7
  48. package/index151.mjs +42 -47
  49. package/index152.js +1 -5
  50. package/index152.mjs +10 -85
  51. package/index153.js +7 -1
  52. package/index153.mjs +50 -6
  53. package/index154.js +4 -11
  54. package/index154.mjs +78 -30
  55. package/index155.js +1 -1
  56. package/index155.mjs +6 -96
  57. package/index156.js +12 -1
  58. package/index156.mjs +39 -12
  59. package/index157.js +1 -1
  60. package/index157.mjs +96 -8
  61. package/index158.js +1 -1
  62. package/index158.mjs +13 -29
  63. package/index159.js +1 -1
  64. package/index159.mjs +7 -12
  65. package/index160.js +1 -7
  66. package/index160.mjs +23 -13
  67. package/index161.js +1 -15
  68. package/index161.mjs +9 -67
  69. package/index162.js +7 -1
  70. package/index162.mjs +22 -6
  71. package/index163.js +15 -9
  72. package/index163.mjs +68 -12
  73. package/index164.js +1 -41
  74. package/index164.mjs +7 -106
  75. package/index165.js +9 -47
  76. package/index165.mjs +13 -100
  77. package/index166.js +40 -15
  78. package/index166.mjs +100 -19
  79. package/index167.js +45 -18
  80. package/index167.mjs +85 -59
  81. package/index168.js +16 -1
  82. package/index168.mjs +20 -37
  83. package/index169.js +20 -1
  84. package/index169.mjs +76 -12
  85. package/index170.js +1 -1
  86. package/index170.mjs +41 -10
  87. package/index171.js +1 -1
  88. package/index171.mjs +11 -6
  89. package/index172.js +1 -2
  90. package/index172.mjs +6 -47
  91. package/index173.js +2 -0
  92. package/index173.mjs +50 -0
  93. package/index174.js +1 -0
  94. package/index174.mjs +13 -0
  95. package/index2.js +1 -1
  96. package/index2.mjs +4 -4
  97. package/index38.js +1 -1
  98. package/index38.mjs +19 -19
  99. package/index39.js +1 -1
  100. package/index39.mjs +11 -11
  101. package/index43.js +1 -1
  102. package/index43.mjs +55 -52
  103. package/index46.js +1 -1
  104. package/index46.mjs +86 -87
  105. package/index47.js +1 -1
  106. package/index47.mjs +110 -111
  107. package/index48.js +1 -1
  108. package/index48.mjs +3 -3
  109. package/index52.js +1 -1
  110. package/index52.mjs +1 -1
  111. package/index53.js +1 -1
  112. package/index53.mjs +1 -1
  113. package/index54.js +1 -1
  114. package/index54.mjs +3 -3
  115. package/index66.js +1 -1
  116. package/index66.mjs +1 -1
  117. package/index68.js +1 -1
  118. package/index68.mjs +11 -11
  119. package/index72.js +1 -1
  120. package/index72.mjs +13 -13
  121. package/index76.js +1 -1
  122. package/index76.mjs +1 -1
  123. package/index8.js +1 -1
  124. package/index8.mjs +30 -30
  125. package/index91.js +1 -1
  126. package/index91.mjs +50 -49
  127. package/package.json +1 -1
  128. package/theme/Search/index.d.ts +2 -1
package/index8.mjs CHANGED
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { jsx as o } from "react/jsx-runtime";
2
+ import { jsx as s } from "react/jsx-runtime";
3
3
  import { useRef as O } from "react";
4
- import { useLink as R, FocusRing as F, useButton as L } from "react-aria";
5
- import k from "./index88.mjs";
6
- function b({ ref: e, ...n }) {
4
+ import { useLink as R, FocusRing as k, useButton as L } from "react-aria";
5
+ import b from "./index88.mjs";
6
+ function x({ ref: e, ...n }) {
7
7
  const {
8
8
  as: t = "a",
9
9
  handlePress: c,
10
10
  children: u,
11
- as: i,
12
- customTheme: a,
11
+ as: a,
12
+ customTheme: i,
13
13
  tokens: m,
14
14
  themeName: h = "button",
15
- nextLinkProps: { onClick: l, ...s } = {},
15
+ nextLinkProps: { onClick: l, ...o } = {},
16
16
  ...r
17
- } = n, { onPress: d, onFocusChange: C, excludeFromTabOrder: B, preventFocusOnPress: T, ...g } = r, f = e, { linkProps: P } = R(
17
+ } = n, { onPress: d, onFocusChange: C, excludeFromTabOrder: T, preventFocusOnPress: p, ...g } = r, f = e, { linkProps: F } = R(
18
18
  {
19
19
  ...n,
20
- ...s,
20
+ ...o,
21
21
  onClick: ({ currentTarget: N, ...y }) => {
22
22
  l?.({
23
23
  ...y,
@@ -25,44 +25,44 @@ function b({ ref: e, ...n }) {
25
25
  currentTarget: N
26
26
  });
27
27
  },
28
- href: n.href ?? s?.href?.toString(),
29
- elementType: i?.toString(),
28
+ href: n.href ?? o?.href?.toString(),
29
+ elementType: a?.toString(),
30
30
  onPress: c
31
31
  },
32
32
  e ?? f
33
- ), p = k(h, m, a);
34
- return /* @__PURE__ */ o(F, { focusRingClass: "has-focus-ring", children: /* @__PURE__ */ o(t, { ref: f, ...P, ...s, ...g, className: p, children: u }) });
33
+ ), P = b(h, m, i);
34
+ return /* @__PURE__ */ s(k, { focusRingClass: "has-focus-ring", children: /* @__PURE__ */ s(t, { ref: f, ...F, ...o, ...g, className: P, children: u }) });
35
35
  }
36
- function x({ ref: e, ...n }) {
36
+ function B({ ref: e, ...n }) {
37
37
  const {
38
38
  as: t = "button",
39
39
  handlePress: c,
40
40
  children: u,
41
- as: i,
42
- customTheme: a,
41
+ as: a,
42
+ customTheme: i,
43
43
  tokens: m,
44
44
  themeName: h = "button",
45
45
  isDisabled: l = !1,
46
- ...s
46
+ ...o
47
47
  } = n, r = e, { buttonProps: d } = L(
48
- { ...n, isDisabled: l, elementType: i, onPress: c },
48
+ { ...n, isDisabled: l, elementType: a, onPress: c },
49
49
  e ?? r
50
- ), C = k(h, m, a), { onPress: B, onFocusChange: T, excludeFromTabOrder: g, preventFocusOnPress: f, ...P } = s;
51
- return /* @__PURE__ */ o(F, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ o(t, { ref: r, ...d, ...P, className: C, children: u }) });
50
+ ), C = b(h, m, i), { onPress: T, onPressStart: p, onFocusChange: g, excludeFromTabOrder: f, preventFocusOnPress: F, ...P } = o;
51
+ return /* @__PURE__ */ s(k, { within: !0, focusRingClass: "has-focus-ring", children: /* @__PURE__ */ s(t, { ref: r, ...d, ...P, className: C, children: u }) });
52
52
  }
53
- function v({ ref: e, ...n }) {
53
+ function S({ ref: e, ...n }) {
54
54
  const { as: t } = n;
55
- return t === "a" ? /* @__PURE__ */ o(b, { ref: e, ...n }) : /* @__PURE__ */ o(x, { ref: e, ...n });
55
+ return t === "a" ? /* @__PURE__ */ s(x, { ref: e, ...n }) : /* @__PURE__ */ s(B, { ref: e, ...n });
56
56
  }
57
- v.displayName = "ButtonWithForwardRef";
58
- function S(e) {
57
+ S.displayName = "ButtonWithForwardRef";
58
+ function v(e) {
59
59
  const { as: n } = e, t = O(null);
60
- return n === "a" ? /* @__PURE__ */ o(b, { ref: t, ...e }) : /* @__PURE__ */ o(x, { ref: t, ...e });
60
+ return n === "a" ? /* @__PURE__ */ s(x, { ref: t, ...e }) : /* @__PURE__ */ s(B, { ref: t, ...e });
61
61
  }
62
- S.displayName = "Button";
62
+ v.displayName = "Button";
63
63
  export {
64
- b as Anchor,
65
- S as Button,
66
- S as ButtonComponent,
67
- v as ButtonWithForwardRef
64
+ x as Anchor,
65
+ v as Button,
66
+ v as ButtonComponent,
67
+ S as ButtonWithForwardRef
68
68
  };
package/index91.js CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client";
2
- "use strict";const d=require("react"),p=require("./index87.js"),h=require("./index143.js"),k=require("./index144.js"),i=require("./index145.js"),t=require("./index146.js"),m=require("./index147.js"),g=require("./index148.js"),o=require("./index149.js"),s=require("./index150.js"),q=require("./index151.js"),f=require("./index152.js"),$=require("./index153.js"),b=require("./index154.js"),w=require("./index155.js"),I=require("./index156.js"),u=require("./index157.js"),c=require("./index158.js"),l=require("./index159.js"),x=require("./index160.js"),n=require("./index161.js"),a=require("./index162.js"),B=require("./index163.js"),G=require("./index164.js"),M=require("./index165.js"),T=require("./index166.js"),y=require("./index167.js"),r=require("./index168.js"),L=require("./index118.js"),P=L.makeTheme({main:e=>i.main(e),gridItem:e=>i.gridItem(e),grid:e=>i.grid(e),container:e=>i.container(e),accordion:h.accordionTheme,carousel:g,calendar:m.calendarTheme,datePicker:f.datePickerTheme,popover:I,typography:e=>r(e),button:e=>t(e),link:t,sidePanel:{wrapper:e=>a.sidePanelWrapper(e),container:e=>a.sidePanelContainer(e),innerContainer:e=>a.sidePanelInnerContainer(e)},comboBox:q,lightBox:b,printButton:{icon:e=>u.printButtonIcon(e),button:e=>u.printButton(e)},shareButton:{icon:e=>n.shareButtonIcon(e),button:e=>n.shareButton(e),container:e=>n.shareButtonContainer(e),linksList:e=>n.shareButtonLinksList(e),link:e=>n.shareButtonLink(e),linkIcons:e=>n.shareButtonLinkIcons(e)},skipToMain:e=>B.skipToMain(e),checkbox:{container:e=>o.checkboxContainer(e),label:e=>o.checkboxLabel(e),checkBox:e=>o.checkBox(e),checkMark:e=>o.checkMark(e),checkMarkIcon:e=>o.checkMarkIcon(e),errorMessage:e=>r(e)},radio:{label:e=>c.radioLabel(e),radio:e=>c.radio(e),selectedMark:e=>c.selectedMark(e),errorMessage:e=>r(e)},radioGroup:{radioGroup:e=>l.radioGroup(e),radioGroupItemsGroup:e=>l.radioGroupItemsGroup(e),errorMessage:e=>r(e)},checkboxGroup:{checkboxGroup:e=>s.checkboxGroup(e),checkboxGroupItemsGroup:e=>s.checkboxGroupItemsGroup(e),errormessage:e=>r(e)},select:{button:e=>t(e),ul:e=>r({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>t({...e,className:"w-[var(--select-container-width)]"}),errorMessage:e=>r({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",list:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white",headerText:()=>"text-gray-300",section:()=>"flex flex-col gap-4"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>T.textArea(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},textInput:y,search:{wrapper:()=>"min-w-fit sm:w-80 flex flex-col gap-2",container:()=>"relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",label:()=>"text-gray-3",input:e=>x.searchInput(e),icon:e=>x.searchIcon(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},menu:{sidePanel:{wrapper:()=>"",container:()=>"",innerContainer:()=>""},wrapper:()=>""},menuItem:{wrapper:()=>"",container:()=>"",innerContent:()=>"",button:()=>"",anchor:()=>""},img:$.imgTheme,alerts:k,tagGroup:M,tabList:G,listBox:w}),v=d.memo(p.createThemeProvider(P));module.exports=v;
2
+ "use strict";const d=require("react"),p=require("./index87.js"),h=require("./index145.js"),k=require("./index146.js"),t=require("./index147.js"),i=require("./index148.js"),m=require("./index149.js"),g=require("./index150.js"),o=require("./index151.js"),u=require("./index152.js"),q=require("./index153.js"),f=require("./index154.js"),$=require("./index155.js"),b=require("./index156.js"),w=require("./index157.js"),B=require("./index158.js"),l=require("./index159.js"),c=require("./index160.js"),x=require("./index161.js"),a=require("./index162.js"),n=require("./index163.js"),s=require("./index164.js"),I=require("./index165.js"),G=require("./index166.js"),M=require("./index167.js"),T=require("./index168.js"),y=require("./index169.js"),r=require("./index170.js"),L=require("./index118.js"),P=L.makeTheme({main:e=>t.main(e),gridItem:e=>t.gridItem(e),grid:e=>t.grid(e),container:e=>t.container(e),accordion:h.accordionTheme,carousel:g,calendar:m.calendarTheme,datePicker:f.datePickerTheme,popover:B,typography:e=>r(e),button:e=>i(e),link:i,sidePanel:{wrapper:e=>s.sidePanelWrapper(e),container:e=>s.sidePanelContainer(e),innerContainer:e=>s.sidePanelInnerContainer(e)},comboBox:q,lightBox:b,printButton:{icon:e=>l.printButtonIcon(e),button:e=>l.printButton(e)},shareButton:{icon:e=>n.shareButtonIcon(e),button:e=>n.shareButton(e),container:e=>n.shareButtonContainer(e),linksList:e=>n.shareButtonLinksList(e),link:e=>n.shareButtonLink(e),linkIcons:e=>n.shareButtonLinkIcons(e)},skipToMain:e=>I.skipToMain(e),checkbox:{container:e=>o.checkboxContainer(e),label:e=>o.checkboxLabel(e),checkBox:e=>o.checkBox(e),checkMark:e=>o.checkMark(e),checkMarkIcon:e=>o.checkMarkIcon(e),errorMessage:e=>r(e)},radio:{label:e=>c.radioLabel(e),radio:e=>c.radio(e),selectedMark:e=>c.selectedMark(e),errorMessage:e=>r(e)},radioGroup:{radioGroup:e=>x.radioGroup(e),radioGroupItemsGroup:e=>x.radioGroupItemsGroup(e),errorMessage:e=>r(e)},checkboxGroup:{checkboxGroup:e=>u.checkboxGroup(e),checkboxGroupItemsGroup:e=>u.checkboxGroupItemsGroup(e),errormessage:e=>r(e)},select:{button:e=>i(e),ul:e=>r({...e,className:"outline outline-2 outline-white outline-offset-2 p-2 my-4 rounded-md w-full flex flex-col gap-6"}),popover:e=>i({...e,className:"w-[var(--select-container-width)]"}),errorMessage:e=>r({...e,size:"footnotes",isError:!0}),wrapper:()=>"flex flex-col gap-4 relative",container:()=>"flex flex-col gap-4",list:()=>"flex flex-col gap-4",li:()=>"transition w-full hover:text-gray-300 focus-ring-white",headerText:()=>"text-gray-300",section:()=>"flex flex-col gap-4"},textarea:{wrapper:()=>"flex flex-col",container:()=>"flex items-center gap-4",label:()=>"text-gray-3 px-6",input:e=>T.textArea(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},textInput:y,search:{wrapper:()=>"min-w-fit sm:w-80 flex flex-col gap-2",container:()=>"relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",label:()=>"text-gray-3",input:e=>a.searchInput(e),icon:e=>a.searchIcon(e),button:e=>a.searchButton(e),errorMessage:e=>r({...e,size:"footnotes",isError:!0})},menu:{sidePanel:{wrapper:()=>"",container:()=>"",innerContainer:()=>""},wrapper:()=>""},menuItem:{wrapper:()=>"",container:()=>"",innerContent:()=>"",button:()=>"",anchor:()=>""},img:$.imgTheme,alerts:k,tagGroup:M,tabList:G,listBox:w}),v=d.memo(p.createThemeProvider(P));module.exports=v;
package/index91.mjs CHANGED
@@ -1,34 +1,34 @@
1
1
  "use client";
2
2
  import { memo as t } from "react";
3
3
  import { createThemeProvider as i } from "./index87.mjs";
4
- import { accordionTheme as n } from "./index143.mjs";
5
- import a from "./index144.mjs";
6
- import { container as m, grid as p, gridItem as c, main as s } from "./index145.mjs";
7
- import r from "./index146.mjs";
8
- import { calendarTheme as l } from "./index147.mjs";
9
- import u from "./index148.mjs";
10
- import { checkMarkIcon as f, checkMark as h, checkBox as x, checkboxLabel as d, checkboxContainer as k } from "./index149.mjs";
11
- import { checkboxGroupItemsGroup as g, checkboxGroup as b } from "./index150.mjs";
12
- import T from "./index151.mjs";
13
- import { datePickerTheme as w } from "./index152.mjs";
14
- import { imgTheme as B } from "./index153.mjs";
15
- import I from "./index154.mjs";
16
- import G from "./index155.mjs";
17
- import M from "./index156.mjs";
18
- import { printButton as y, printButtonIcon as L } from "./index157.mjs";
19
- import { selectedMark as v, radio as P, radioLabel as C } from "./index158.mjs";
20
- import { radioGroupItemsGroup as z, radioGroup as E } from "./index159.mjs";
21
- import { searchIcon as N, searchInput as A } from "./index160.mjs";
22
- import { shareButtonLinkIcons as W, shareButtonLink as j, shareButtonLinksList as q, shareButtonContainer as D, shareButton as F, shareButtonIcon as H } from "./index161.mjs";
23
- import { sidePanelInnerContainer as J, sidePanelContainer as K, sidePanelWrapper as O } from "./index162.mjs";
24
- import { skipToMain as Q } from "./index163.mjs";
25
- import R from "./index164.mjs";
26
- import S from "./index165.mjs";
27
- import { textArea as U } from "./index166.mjs";
28
- import V from "./index167.mjs";
29
- import o from "./index168.mjs";
30
- import { makeTheme as X } from "./index118.mjs";
31
- const Y = X({
4
+ import { accordionTheme as n } from "./index145.mjs";
5
+ import a from "./index146.mjs";
6
+ import { container as m, grid as p, gridItem as c, main as s } from "./index147.mjs";
7
+ import r from "./index148.mjs";
8
+ import { calendarTheme as l } from "./index149.mjs";
9
+ import u from "./index150.mjs";
10
+ import { checkMarkIcon as f, checkMark as h, checkBox as x, checkboxLabel as d, checkboxContainer as k } from "./index151.mjs";
11
+ import { checkboxGroupItemsGroup as g, checkboxGroup as b } from "./index152.mjs";
12
+ import B from "./index153.mjs";
13
+ import { datePickerTheme as T } from "./index154.mjs";
14
+ import { imgTheme as w } from "./index155.mjs";
15
+ import I from "./index156.mjs";
16
+ import G from "./index157.mjs";
17
+ import M from "./index158.mjs";
18
+ import { printButton as y, printButtonIcon as L } from "./index159.mjs";
19
+ import { selectedMark as v, radio as P, radioLabel as C } from "./index160.mjs";
20
+ import { radioGroupItemsGroup as z, radioGroup as E } from "./index161.mjs";
21
+ import { searchButton as N, searchIcon as A, searchInput as W } from "./index162.mjs";
22
+ import { shareButtonLinkIcons as j, shareButtonLink as q, shareButtonLinksList as D, shareButtonContainer as F, shareButton as H, shareButtonIcon as J } from "./index163.mjs";
23
+ import { sidePanelInnerContainer as K, sidePanelContainer as O, sidePanelWrapper as Q } from "./index164.mjs";
24
+ import { skipToMain as R } from "./index165.mjs";
25
+ import S from "./index166.mjs";
26
+ import U from "./index167.mjs";
27
+ import { textArea as V } from "./index168.mjs";
28
+ import X from "./index169.mjs";
29
+ import o from "./index170.mjs";
30
+ import { makeTheme as Y } from "./index118.mjs";
31
+ const Z = Y({
32
32
  main: (e) => s(e),
33
33
  gridItem: (e) => c(e),
34
34
  grid: (e) => p(e),
@@ -36,31 +36,31 @@ const Y = X({
36
36
  accordion: n,
37
37
  carousel: u,
38
38
  calendar: l,
39
- datePicker: w,
39
+ datePicker: T,
40
40
  popover: M,
41
41
  typography: (e) => o(e),
42
42
  button: (e) => r(e),
43
43
  link: r,
44
44
  sidePanel: {
45
- wrapper: (e) => O(e),
46
- container: (e) => K(e),
47
- innerContainer: (e) => J(e)
45
+ wrapper: (e) => Q(e),
46
+ container: (e) => O(e),
47
+ innerContainer: (e) => K(e)
48
48
  },
49
- comboBox: T,
49
+ comboBox: B,
50
50
  lightBox: I,
51
51
  printButton: {
52
52
  icon: (e) => L(e),
53
53
  button: (e) => y(e)
54
54
  },
55
55
  shareButton: {
56
- icon: (e) => H(e),
57
- button: (e) => F(e),
58
- container: (e) => D(e),
59
- linksList: (e) => q(e),
60
- link: (e) => j(e),
61
- linkIcons: (e) => W(e)
56
+ icon: (e) => J(e),
57
+ button: (e) => H(e),
58
+ container: (e) => F(e),
59
+ linksList: (e) => D(e),
60
+ link: (e) => q(e),
61
+ linkIcons: (e) => j(e)
62
62
  },
63
- skipToMain: (e) => Q(e),
63
+ skipToMain: (e) => R(e),
64
64
  checkbox: {
65
65
  container: (e) => k(e),
66
66
  label: (e) => d(e),
@@ -104,16 +104,17 @@ const Y = X({
104
104
  wrapper: () => "flex flex-col",
105
105
  container: () => "flex items-center gap-4",
106
106
  label: () => "text-gray-3 px-6",
107
- input: (e) => U(e),
107
+ input: (e) => V(e),
108
108
  errorMessage: (e) => o({ ...e, size: "footnotes", isError: !0 })
109
109
  },
110
- textInput: V,
110
+ textInput: X,
111
111
  search: {
112
112
  wrapper: () => "min-w-fit sm:w-80 flex flex-col gap-2",
113
113
  container: () => "relative flex items-center outline outline-2 outline-gray-300 focus-within:outline focus-within:outline-black focus-within:outline-2",
114
114
  label: () => "text-gray-3",
115
- input: (e) => A(e),
116
- icon: (e) => N(e),
115
+ input: (e) => W(e),
116
+ icon: (e) => A(e),
117
+ button: (e) => N(e),
117
118
  errorMessage: (e) => o({ ...e, size: "footnotes", isError: !0 })
118
119
  },
119
120
  menu: {
@@ -131,12 +132,12 @@ const Y = X({
131
132
  button: () => "",
132
133
  anchor: () => ""
133
134
  },
134
- img: B,
135
+ img: w,
135
136
  alerts: a,
136
- tagGroup: S,
137
- tabList: R,
137
+ tagGroup: U,
138
+ tabList: S,
138
139
  listBox: G
139
- }), ye = t(i(Y));
140
+ }), Le = t(i(Z));
140
141
  export {
141
- ye as default
142
+ Le as default
142
143
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okam/stack-ui",
3
- "version": "2.0.3",
3
+ "version": "2.1.0",
4
4
  "repository": {
5
5
  "url": "https://github.com/OKAMca/stack.git"
6
6
  },
@@ -11,4 +11,5 @@ export declare const searchInput: import('tailwind-variants').TVReturnType<{
11
11
  true: string;
12
12
  };
13
13
  }, undefined, "p-4 w-full outline-0 search-cancel:appearance-none", unknown, unknown, undefined>>;
14
- export declare const searchIcon: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "\n box-border \n absolute \n right-4 \n focus-ring-black\n outline-0\n ", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "\n box-border \n absolute \n right-4 \n focus-ring-black\n outline-0\n ", unknown, unknown, undefined>>;
14
+ export declare const searchIcon: import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "\n box-border\n absolute\n right-4\n focus-ring-black\n outline-0\n ", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "\n box-border\n absolute\n right-4\n focus-ring-black\n outline-0\n ", unknown, unknown, undefined>>;
15
+ export declare const searchButton: import('tailwind-variants').TVReturnType<{} | {} | {} | {}, undefined, "cursor-pointer", {} | {} | {}, undefined, import('tailwind-variants').TVReturnType<{} | {} | {}, undefined, "\n box-border\n absolute\n right-4\n focus-ring-black\n outline-0\n ", {} | {}, undefined, import('tailwind-variants').TVReturnType<unknown, undefined, "\n box-border\n absolute\n right-4\n focus-ring-black\n outline-0\n ", unknown, unknown, undefined>>>;