@eloisallena/web_components 1.0.4 → 1.0.7

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 (44) hide show
  1. package/dist/{web-components.cjs.js → index.cjs} +80 -97
  2. package/dist/{web-components.es.js → index.js} +202 -194
  3. package/dist/src/component/breadcrumbs/Breadcrumbs.d.ts +1 -2
  4. package/dist/src/component/breadcrumbs/index.d.ts +1 -0
  5. package/dist/src/component/button/index.d.ts +1 -0
  6. package/dist/src/component/card/Card.d.ts +1 -2
  7. package/dist/src/component/card/CardContent.d.ts +1 -2
  8. package/dist/src/component/card/CardFooter.d.ts +1 -2
  9. package/dist/src/component/card/CardImage.d.ts +2 -2
  10. package/dist/src/component/card/index.d.ts +5 -1
  11. package/dist/src/component/footer/Cfooter.d.ts +1 -2
  12. package/dist/src/component/footer/FooterBottom.d.ts +1 -2
  13. package/dist/src/component/footer/FooterContact.d.ts +1 -2
  14. package/dist/src/component/footer/FooterIcon.d.ts +1 -2
  15. package/dist/src/component/footer/QuickLink.d.ts +1 -2
  16. package/dist/src/component/footer/index.d.ts +6 -1
  17. package/dist/src/component/form/Cform.d.ts +1 -2
  18. package/dist/src/component/form/index.d.ts +1 -0
  19. package/dist/src/component/header/Cheader.d.ts +1 -2
  20. package/dist/src/component/header/Drawer.d.ts +1 -2
  21. package/dist/src/component/header/Icon.d.ts +1 -2
  22. package/dist/src/component/header/NavBar.d.ts +1 -2
  23. package/dist/src/component/header/SearchBar.d.ts +1 -2
  24. package/dist/src/component/header/index.d.ts +7 -2
  25. package/dist/src/component/input/CheckBox.d.ts +2 -2
  26. package/dist/src/component/input/Select.d.ts +2 -2
  27. package/dist/src/component/input/TextField.d.ts +1 -2
  28. package/dist/src/component/input/index.d.ts +4 -1
  29. package/dist/src/component/modal/Modal.d.ts +2 -2
  30. package/dist/src/component/modal/index.d.ts +1 -0
  31. package/dist/src/component/section/Section.d.ts +1 -2
  32. package/dist/src/component/section/index.d.ts +1 -0
  33. package/dist/src/component/stories/LandingLayout.d.ts +2 -3
  34. package/dist/src/component/stories/index.d.ts +1 -0
  35. package/dist/src/component/table/Ctable.d.ts +1 -2
  36. package/dist/src/component/table/TableBody.d.ts +1 -2
  37. package/dist/src/component/table/TableCell.d.ts +1 -2
  38. package/dist/src/component/table/TableHead.d.ts +1 -2
  39. package/dist/src/component/table/TableRow.d.ts +1 -2
  40. package/dist/src/component/table/index.d.ts +9 -2
  41. package/dist/src/component/table/types.d.ts +3 -2
  42. package/dist/src/index.d.ts +12 -26
  43. package/dist/web_components.css +3 -0
  44. package/package.json +8 -9
@@ -4,7 +4,7 @@ Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=Object.
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
6
  <%s key={someKey} {...props} />`,o,p,m,p),L[p+o]=!0)}if(p=null,i!==void 0&&(r(i),p=``+i),s(n)&&(r(n.key),p=``+n.key),`key`in n)for(var h in i={},n)h!==`key`&&(i[h]=n[h]);else i=n;return p&&c(i,typeof e==`function`?e.displayName||e.name||`Unknown`:e),u(e,p,i,a(),l,d)}function f(e){p(e)?e._store&&(e._store.validated=1):typeof e==`object`&&e&&e.$$typeof===E&&(e._payload.status===`fulfilled`?p(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function p(e){return typeof e==`object`&&!!e&&e.$$typeof===h}var m=require(`react`),h=Symbol.for(`react.transitional.element`),g=Symbol.for(`react.portal`),_=Symbol.for(`react.fragment`),v=Symbol.for(`react.strict_mode`),y=Symbol.for(`react.profiler`),b=Symbol.for(`react.consumer`),x=Symbol.for(`react.context`),S=Symbol.for(`react.forward_ref`),C=Symbol.for(`react.suspense`),w=Symbol.for(`react.suspense_list`),T=Symbol.for(`react.memo`),E=Symbol.for(`react.lazy`),D=Symbol.for(`react.activity`),O=Symbol.for(`react.client.reference`),k=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,A=Object.prototype.hasOwnProperty,j=Array.isArray,M=console.createTask?console.createTask:function(){return null};m={react_stack_bottom_frame:function(e){return e()}};var N,P={},F=m.react_stack_bottom_frame.bind(m,o)(),I=M(i(o)),L={};e.Fragment=_,e.jsx=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;return d(e,t,n,!1,r?Error(`react-stack-top-frame`):F,r?M(i(e)):I)},e.jsxs=function(e,t,n){var r=1e4>k.recentlyCreatedOwnerStacks++;return d(e,t,n,!0,r?Error(`react-stack-top-frame`):F,r?M(i(e)):I)}})()})),f=o(((e,t)=>{process.env.NODE_ENV===`production`?t.exports=u():t.exports=d()}))(),p=()=>(0,f.jsx)(`span`,{className:`animate-spin rounded-full h-4 w-4 border-b-2 border-white`}),m=({variant:e=`primary`,label:t,isLoading:n=!1,disabled:r=!1,onClick:i})=>{let a={primary:`bg-primary-button text-primary`,secondary:`bg-secondary-button text-primary`,restore:`bg-restore-button text-primary`,delete:`bg-delete-button text-primary`,disabled:`bg-disabled-button text-primary`},o=n?(0,f.jsx)(p,{}):null,s=r||n;return(0,f.jsx)(`div`,{children:(0,f.jsxs)(`button`,{className:`${a[e]} flex items-center gap-3 px-4 py-2 rounded-2xl text-sm font-medium w-full justify-center md:w-70 lg:w-25
7
- ${s?`cursor-not-allowed opacity-50`:`hover:cursor-pointer`}`,disabled:s,onClick:i,children:[o,t]})})},h=({children:e})=>(0,f.jsx)(`div`,{className:`bg-primary w-full max-w-sm rounded-lg shadow-md overflow-hidden`,children:e}),g=({children:e})=>(0,f.jsx)(`footer`,{className:`\r
7
+ ${s?`cursor-not-allowed opacity-50`:`hover:cursor-pointer`}`,disabled:s,onClick:i,children:[o,t]})})},h=({children:e})=>(0,f.jsx)(`div`,{className:`bg-primary w-full max-w-sm rounded-lg shadow-md overflow-hidden`,children:e}),g=({title:e,description:t})=>(0,f.jsxs)(`div`,{className:`p-10`,children:[(0,f.jsx)(`h2`,{className:`text-lg font-bold mb-2 text-black`,children:e}),(0,f.jsx)(`p`,{className:`text-gray text-sm font-normal`,children:t})]}),_=({children:e})=>(0,f.jsx)(`div`,{className:`flex justify-end gap-4 w-full p-4`,children:e}),v=({alt:e,image:t,children:n})=>(0,f.jsxs)(`div`,{className:`relative w-full h-48`,children:[(0,f.jsx)(`img`,{src:t,alt:e,className:`w-full h-full object-cover`}),n]}),y=({children:e})=>(0,f.jsx)(`footer`,{className:`\r
8
8
  w-full\r
9
9
  bg-gray\r
10
10
  text-white\r
@@ -17,11 +17,7 @@ React keys must be passed directly to JSX without using spread:
17
17
  px-6\r
18
18
  py-10\r
19
19
  md:grid-cols-3\r
20
- `,children:e})}),_=({children:e,description:t})=>(0,f.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[e,(0,f.jsx)(`p`,{className:`\r
21
- max-w-sm\r
22
- text-sm\r
23
- text-white\r
24
- `,children:t})]}),v=({copyright:e})=>(0,f.jsx)(`div`,{className:`\r
20
+ `,children:e})}),b=({copyright:e})=>(0,f.jsx)(`div`,{className:`\r
25
21
  bg-gray\r
26
22
  text-light-gray\r
27
23
  \r
@@ -32,7 +28,7 @@ React keys must be passed directly to JSX without using spread:
32
28
  \r
33
29
  text-center\r
34
30
  text-sm\r
35
- `,children:e}),y=({email:e,phone:t,socials:n})=>(0,f.jsxs)(`div`,{className:`text-white`,children:[(0,f.jsx)(`h3`,{className:`\r
31
+ `,children:e}),x=({email:e,phone:t,socials:n})=>(0,f.jsxs)(`div`,{className:`text-white`,children:[(0,f.jsx)(`h3`,{className:`\r
36
32
  mb-3\r
37
33
  text-lg\r
38
34
  font-semibold\r
@@ -40,29 +36,15 @@ React keys must be passed directly to JSX without using spread:
40
36
  mt-5\r
41
37
  mb-2\r
42
38
  font-medium\r
43
- `,children:`Follow Us`}),(0,f.jsx)(`div`,{className:`flex flex-wrap gap-3`,children:n.map(e=>(0,f.jsx)(`a`,{href:e.href,className:`hover:underline`,children:e.label},e.id))})]}),b=({title:e,links:t,onItemClick:n})=>(0,f.jsxs)(`div`,{className:`text-white`,children:[(0,f.jsx)(`h3`,{className:`\r
39
+ `,children:`Follow Us`}),(0,f.jsx)(`div`,{className:`flex flex-wrap gap-3`,children:n.map(e=>(0,f.jsx)(`a`,{href:e.href,className:`hover:underline`,children:e.label},e.id))})]}),S=({children:e,description:t})=>(0,f.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[e,(0,f.jsx)(`p`,{className:`\r
40
+ max-w-sm\r
41
+ text-sm\r
42
+ text-white\r
43
+ `,children:t})]}),C=({title:e,links:t,onItemClick:n})=>(0,f.jsxs)(`div`,{className:`text-white`,children:[(0,f.jsx)(`h3`,{className:`\r
44
44
  mb-3\r
45
45
  text-lg\r
46
46
  font-semibold\r
47
- `,children:e}),(0,f.jsx)(`div`,{className:`flex flex-col gap-2`,children:t.map(e=>(0,f.jsx)(`a`,{href:e.href,onClick:()=>n?.(e.label),className:`hover:underline`,children:e.label},e.id))})]}),x=({children:e})=>(0,f.jsx)(`form`,{className:`w-full max-w-sm`,children:(0,f.jsx)(`div`,{className:`flex flex-col gap-1 `,children:e})}),S=({children:e,style:t})=>(0,f.jsx)(`header`,{className:`w-full bg-white border-b border-light-gray shadow-sm ${t}`,children:(0,f.jsx)(`div`,{className:`flex items-center justify-between px-6 py-4`,children:e})}),C=({logo:e=`/logo.svg`,title:t=`my Company`,style:n,alt:r=``})=>(0,f.jsxs)(`div`,{className:`
48
- flex
49
- items-center
50
- gap-2
51
- sm:gap-3
52
- shrink-0
53
- ${n||``}
54
- `,children:[(0,f.jsx)(`img`,{src:e,alt:r,className:`\r
55
- h-8\r
56
- w-8\r
57
- sm:h-10\r
58
- sm:w-10\r
59
- object-contain\r
60
- `}),(0,f.jsx)(`h1`,{className:`\r
61
- text-sm\r
62
- sm:text-lg\r
63
- font-bold\r
64
- text-blue\r
65
- `,children:t})]}),w=({navDrawer:e=[],style:t,onItemClick:n})=>{let[r,i]=(0,l.useState)(!1);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`button`,{onClick:()=>i(!0),className:` flex md:hidden items-center justify-center h-10 w-10 rounded-md hover:bg-gray-100`,children:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,className:`\r
47
+ `,children:e}),(0,f.jsx)(`div`,{className:`flex flex-col gap-2`,children:t.map(e=>(0,f.jsx)(`a`,{href:e.href,onClick:()=>n?.(e.label),className:`hover:underline`,children:e.label},e.id))})]}),w=({children:e,style:t})=>(0,f.jsx)(`header`,{className:`w-full bg-white border-b border-light-gray shadow-sm ${t}`,children:(0,f.jsx)(`div`,{className:`flex items-center justify-between px-6 py-4`,children:e})}),T=({navDrawer:e=[],style:t,onItemClick:n})=>{let[r,i]=(0,l.useState)(!1);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`button`,{onClick:()=>i(!0),className:` flex md:hidden items-center justify-center h-10 w-10 rounded-md hover:bg-gray-100`,children:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`,fill:`currentColor`,className:`\r
66
48
  h-6\r
67
49
  w-6\r
68
50
  text-gray-700\r
@@ -110,7 +92,35 @@ React keys must be passed directly to JSX without using spread:
110
92
  px-4\r
111
93
  py-3\r
112
94
  hover:bg-gray-100\r
113
- `,children:e.label},e.id))})]})]})},T=({isOpen:e,onClose:t,title:n,children:r})=>e?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`div`,{className:`fixed inset-0 z-40 bg-black/40`,onClick:t}),(0,f.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:(0,f.jsxs)(`div`,{className:`w-full max-w-md bg-white shadow-lg`,role:`dialog`,"aria-modal":`true`,children:[(0,f.jsxs)(`div`,{className:`flex items-center justify-between border-b border-gray-200 px-5 py-4`,children:[(0,f.jsx)(`h2`,{className:`text-lg font-semibold`,children:n}),(0,f.jsx)(`button`,{onClick:t,className:`flex h-10 w-10 items-center justify-center hover:bg-gray-100 rounded-md`,"aria-label":`Close modal`,children:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:2,stroke:`currentColor`,className:`h-5 w-5`,children:(0,f.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M6 18L18 6M6 6l12 12`})})})]}),(0,f.jsx)(`div`,{className:`p-5`,children:r})]})})]}):null,E=({placeholder:e=`Search...`,style:t,children:n})=>{let[r,i]=(0,l.useState)(!1);return(0,f.jsxs)(`div`,{className:`relative ${t||``}`,children:[(0,f.jsxs)(`div`,{className:`hidden md:block relative`,children:[(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:2,className:`\r
95
+ `,children:e.label},e.id))})]})]})},E=({logo:e=`/logo.svg`,title:t=`my Company`,style:n,alt:r=``})=>(0,f.jsxs)(`div`,{className:`
96
+ flex
97
+ items-center
98
+ gap-2
99
+ sm:gap-3
100
+ shrink-0
101
+ ${n||``}
102
+ `,children:[(0,f.jsx)(`img`,{src:e,alt:r,className:`\r
103
+ h-8\r
104
+ w-8\r
105
+ sm:h-10\r
106
+ sm:w-10\r
107
+ object-contain`}),(0,f.jsx)(`h1`,{className:`text-sm sm:text-lg font-bold text-blue`,children:t})]}),D=({navBar:e=[],style:t,onItemClick:n})=>(0,f.jsx)(`nav`,{className:`
108
+ hidden
109
+ md:flex
110
+ gap-12
111
+ justify-center
112
+ items-center
113
+ absolute
114
+ left-1/2
115
+ -translate-x-1/2
116
+ ${t||``}
117
+ `,children:e.map(e=>(0,f.jsx)(`a`,{href:e.href||`#`,onClick:()=>n?.(e.label),className:`\r
118
+ text-lg\r
119
+ font-bold\r
120
+ text-black\r
121
+ hover:text-green\r
122
+ cursor-pointer\r
123
+ `,children:e.label},e.id))}),O=({isOpen:e,onClose:t,title:n,children:r})=>e?(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(`div`,{className:`fixed inset-0 z-40 bg-black/40`,onClick:t}),(0,f.jsx)(`div`,{className:`fixed inset-0 z-50 flex items-center justify-center p-4`,children:(0,f.jsxs)(`div`,{className:`w-full max-w-md bg-white shadow-lg`,role:`dialog`,"aria-modal":`true`,children:[(0,f.jsxs)(`div`,{className:`flex items-center justify-between border-b border-gray-200 px-5 py-4`,children:[(0,f.jsx)(`h2`,{className:`text-lg font-semibold`,children:n}),(0,f.jsx)(`button`,{onClick:t,className:`flex h-10 w-10 items-center justify-center hover:bg-gray-100 rounded-md`,"aria-label":`Close modal`,children:(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,strokeWidth:2,stroke:`currentColor`,className:`h-5 w-5`,children:(0,f.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M6 18L18 6M6 6l12 12`})})})]}),(0,f.jsx)(`div`,{className:`p-5`,children:r})]})})]}):null,k=({placeholder:e=`Search...`,style:t,children:n})=>{let[r,i]=(0,l.useState)(!1);return(0,f.jsxs)(`div`,{className:`relative ${t||``}`,children:[(0,f.jsxs)(`div`,{className:`hidden md:block relative`,children:[(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:2,className:`\r
114
124
  absolute\r
115
125
  left-3\r
116
126
  top-1/2\r
@@ -148,7 +158,7 @@ React keys must be passed directly to JSX without using spread:
148
158
  h-6\r
149
159
  w-6\r
150
160
  text-gray-700\r
151
- `,children:(0,f.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M21 21l-4.35-4.35m1.85-5.15a7 7 0 11-14 0 7 7 0 0114 0z`})})}),(0,f.jsx)(T,{isOpen:r,title:`Search`,onClose:()=>i(!1),children:n||(0,f.jsxs)(`div`,{className:`relative`,children:[(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:2,className:`\r
161
+ `,children:(0,f.jsx)(`path`,{strokeLinecap:`round`,strokeLinejoin:`round`,d:`M21 21l-4.35-4.35m1.85-5.15a7 7 0 11-14 0 7 7 0 0114 0z`})})}),(0,f.jsx)(O,{isOpen:r,title:`Search`,onClose:()=>i(!1),children:n||(0,f.jsxs)(`div`,{className:`relative`,children:[(0,f.jsx)(`svg`,{xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`,stroke:`currentColor`,strokeWidth:2,className:`\r
152
162
  absolute\r
153
163
  left-3\r
154
164
  top-1/2\r
@@ -169,34 +179,7 @@ React keys must be passed directly to JSX without using spread:
169
179
  focus:outline-none\r
170
180
  focus:ring-2\r
171
181
  focus:ring-blue\r
172
- `})]})})]})},D=({navBar:e=[],style:t,onItemClick:n})=>(0,f.jsx)(`nav`,{className:`
173
- hidden
174
- md:flex
175
- gap-12
176
- justify-center
177
- items-center
178
- absolute
179
- left-1/2
180
- -translate-x-1/2
181
- ${t||``}
182
- `,children:e.map(e=>(0,f.jsx)(`a`,{href:e.href||`#`,onClick:()=>n?.(e.label),className:`\r
183
- text-lg\r
184
- font-bold\r
185
- text-black\r
186
- hover:text-green\r
187
- cursor-pointer\r
188
- `,children:e.label},e.id))}),O=`border-red`,k=`text-red`,A=`border-gray`,j=({id:e,labelText:t,placeholder:n,type:r,error:i,helperText:a})=>(0,f.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,f.jsx)(`label`,{htmlFor:e,className:`text-sm font-medium text-gray`,children:t}),(0,f.jsx)(`input`,{id:e,placeholder:n,type:r,className:`block w-full px-3 py-2.5 bg-neutral-secondary-medium border ${i?O:A} text-heading text-sm rounded-base shadow-xs placeholder:text-body focus:ring-brand focus:border-brand`}),a&&(0,f.jsx)(`p`,{className:`${i?k:`text-light-gray`} text-xs`,children:a})]}),M=({id:e,label:t,required:n,disabled:r,defaultChecked:i,error:a,helperText:o})=>{let[s,c]=(0,l.useState)(i||!1);return(0,f.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,f.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(`input`,{id:e,type:`checkbox`,checked:s,onChange:e=>{let t=e.target.checked;c(t)},disabled:r,className:`
189
- w-4 h-4 border rounded-xs
190
- bg-neutral-secondary-medium
191
- focus:ring-2 focus:ring-brand-soft
192
- ${r?`border-light cursor-not-allowed`:`border-default-medium hover:cursor-pointer`}
193
- `}),(0,f.jsxs)(`label`,{htmlFor:e,className:`
194
- select-none ms-2 text-sm font-medium
195
- ${r?`text-fg-disabled text-light-gray`:`text-heading`}
196
- `,children:[t,` `,n&&(0,f.jsx)(`span`,{className:`text-red`,children:`*`})]})]}),(0,f.jsx)(`div`,{className:a?`text-red text-sm font-medium`:`text-gray text-sm font-medium`,children:o})]})},N=({label:e,options:t,required:n,disabled:r,helperText:i,error:a,value:o,onChange:s})=>(0,f.jsxs)(`div`,{className:`w-full flex flex-col gap-1`,children:[(0,f.jsxs)(`label`,{className:`text-sm font-medium text-gray`,children:[e,` `,n&&`*`]}),(0,f.jsx)(`select`,{className:`h-10 border-r-8 border-transparent px-4 outline outline-neutral-700 block w-full p-2 bg-neutral-secondary-medium
197
- border border-default-medium text-heading text-sm font-normal rounded-base focus:ring-brand focus:border-brand shadow-xs
198
- placeholder:text-body
199
- ${r?`cursor-not-allowed`:`hover:cursor-pointer`}`,disabled:r,onChange:e=>{s&&s(e.target.value)},value:o,children:t.map(e=>(0,f.jsx)(`option`,{value:e.name,children:e.value},e.key))}),i&&a&&(0,f.jsx)(`div`,{className:`text-red text-sm font-normal`,children:i})]}),P=({id:e,title:t,children:n,style:r})=>(0,f.jsx)(`section`,{id:e,className:`
182
+ `})]})})]})},A=({id:e,label:t,required:n,disabled:r,defaultChecked:i,error:a,helperText:o,onChange:s})=>{let[c,u]=(0,l.useState)(i||!1);return(0,f.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,f.jsxs)(`div`,{className:`flex items-center gap-2`,children:[(0,f.jsx)(`input`,{id:e,type:`checkbox`,checked:c,onChange:e=>{let t=e.target.checked;u(t),s?.(t)},disabled:r,className:`w-4 h-4 border rounded-xs bg-neutral-secondary-medium focus:ring-2 focus:ring-brand-soft ${r?`border-light cursor-not-allowed`:`border-default-medium hover:cursor-pointer`}`}),(0,f.jsxs)(`label`,{htmlFor:e,className:`select-none ms-2 text-sm font-medium ${r?`text-light-gray`:`text-heading`}`,children:[t,` `,n&&(0,f.jsx)(`span`,{className:`text-red`,children:`*`})]})]}),o&&(0,f.jsx)(`div`,{className:`text-sm font-medium ${a?`text-red`:`text-gray`}`,children:o})]})},j=({label:e,options:t,required:n,disabled:r,helperText:i,error:a,value:o,onChange:s})=>(0,f.jsxs)(`div`,{className:`w-full flex flex-col gap-1`,children:[(0,f.jsxs)(`label`,{className:`text-sm font-medium text-gray`,children:[e,` `,n&&`*`]}),(0,f.jsx)(`select`,{className:`h-10 px-4 w-full bg-neutral-secondary-medium border border-default-medium text-heading text-sm rounded-base shadow-xs focus:ring-brand focus:border-brand ${r?`cursor-not-allowed`:`hover:cursor-pointer`}`,disabled:r,value:o,onChange:e=>s?.(e.target.value),children:t.map(e=>(0,f.jsx)(`option`,{value:e.name,children:e.value},e.key))}),i&&a&&(0,f.jsx)(`div`,{className:`text-red text-sm font-normal`,children:i})]}),M=`border-red`,N=`text-red`,P=`border-gray`,F=({id:e,labelText:t,placeholder:n,type:r,error:i,helperText:a})=>(0,f.jsxs)(`div`,{className:`flex flex-col gap-1`,children:[(0,f.jsx)(`label`,{htmlFor:e,className:`text-sm font-medium text-gray`,children:t}),(0,f.jsx)(`input`,{id:e,placeholder:n,type:r,className:`block w-full px-3 py-2.5 bg-neutral-secondary-medium border ${i?M:P} text-heading text-sm rounded-base shadow-xs placeholder:text-body focus:ring-brand focus:border-brand`}),a&&(0,f.jsx)(`p`,{className:`${i?N:`text-light-gray`} text-xs`,children:a})]}),I=({children:e,onSubmit:t,className:n=``,...r})=>(0,f.jsx)(`form`,{onSubmit:t,className:`w-full max-w-sm ${n}`,...r,children:(0,f.jsx)(`div`,{className:`flex flex-col gap-1`,children:e})}),L=({id:e,title:t,children:n,style:r})=>(0,f.jsx)(`section`,{id:e,className:`
200
183
  min-h-screen
201
184
  w-full
202
185
  px-6
@@ -210,40 +193,22 @@ React keys must be passed directly to JSX without using spread:
210
193
  text-3xl\r
211
194
  font-bold\r
212
195
  md:text-4xl\r
213
- `,children:t}),n]})}),F=({items:e})=>(0,f.jsx)(`nav`,{"aria-label":`Breadcrumb`,children:(0,f.jsx)(`ol`,{className:`\r
214
- flex\r
215
- flex-wrap\r
216
- items-center\r
217
- gap-2\r
218
- text-sm\r
219
- `,children:e.map((t,n)=>{let r=n===e.length-1;return(0,f.jsxs)(`li`,{className:`\r
220
- flex\r
221
- items-center\r
222
- gap-2\r
223
- `,children:[r?(0,f.jsx)(`span`,{className:`\r
224
- font-semibold\r
225
- text-gray-900\r
226
- `,children:t.label}):(0,f.jsx)(`a`,{href:t.href,className:`\r
227
- text-gray-600\r
228
- transition-colors\r
229
- hover:text-blue-600\r
230
- hover:underline\r
231
- `,children:t.label}),!r&&(0,f.jsx)(`span`,{className:`text-gray-400`,children:`>`})]},t.id)})})}),I=({children:e})=>{let[t,n]=l.default.useState(`Home`),r=[{id:1,href:`#home`,label:`Home`},{id:2,href:`#about`,label:`About`},{id:3,href:`#services`,label:`Services`},{id:4,href:`#contact`,label:`Contact`}];return(0,f.jsxs)(`div`,{className:`w-full scroll-smooth`,children:[(0,f.jsx)(`div`,{className:`sticky top-0 z-50 bg-white`,children:(0,f.jsxs)(S,{children:[(0,f.jsxs)(`div`,{className:`flex items-center gap-4 lg:gap-10`,children:[(0,f.jsx)(C,{logo:`/icon.svg`,title:`QTEK`}),(0,f.jsx)(D,{navBar:r,onItemClick:n})]}),(0,f.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 sm:gap-3`,children:[(0,f.jsx)(E,{}),(0,f.jsx)(w,{navDrawer:r,onItemClick:n})]})]})}),(0,f.jsx)(`div`,{className:` \r
232
- mx-auto\r
233
- max-w-full\r
234
- px-6\r
235
- py-4\r
236
- sticky\r
237
- z-40\r
238
- top-16\r
239
- bg-light-gray`,children:(0,f.jsx)(F,{items:[{id:1,label:t,href:`#`}]})}),e,(0,f.jsxs)(g,{children:[(0,f.jsx)(_,{description:`Building modern and scalable digital solutions.`,children:(0,f.jsx)(`div`,{className:`scale-150 origin-left`,children:(0,f.jsx)(C,{logo:`/icon.svg`,title:`QTEK`})})}),(0,f.jsx)(b,{title:`Quick Links`,links:r,onItemClick:n}),(0,f.jsx)(y,{email:`hello@qtek.com`,phone:`+63 900 000 0000`,socials:[{id:1,label:`Facebook`,href:`#`},{id:2,label:`LinkedIn`,href:`#`},{id:3,label:`GitHub`,href:`#`}]}),(0,f.jsx)(v,{copyright:`© 2026 QTEK. All rights reserved.`})]})]})},L=({children:e,style:t,maxRows:n=5})=>(0,f.jsx)(`div`,{className:`
196
+ `,children:t}),n]})}),R=({children:e,style:t,maxRows:n=5})=>(0,f.jsx)(`div`,{className:`
240
197
  w-full
241
198
  overflow-hidden
242
199
  rounded-md
243
200
  bg-white
244
201
  shadow-lg
245
202
  ${t||``}
246
- `,children:(0,f.jsx)(`div`,{className:`overflow-auto`,style:{maxHeight:`${n*56}px`},children:(0,f.jsx)(`table`,{className:`w-full border-separate border-spacing-0`,children:e})})}),R={left:`text-left`,center:`text-center`,right:`text-right`},z=({rowData:e})=>(0,f.jsx)(`thead`,{children:(0,f.jsx)(`tr`,{className:`\r
203
+ `,children:(0,f.jsx)(`div`,{className:`overflow-auto`,style:{maxHeight:`${n*56}px`},children:(0,f.jsx)(`table`,{className:`w-full border-separate border-spacing-0`,children:e})})}),z=({children:e,style:t})=>(0,f.jsx)(`tbody`,{className:t,children:e}),B=({children:e,align:t=`left`,style:n})=>(0,f.jsx)(`td`,{className:`
204
+ px-4
205
+ py-3
206
+ text-sm
207
+ ${t===`center`?`text-center`:``}
208
+ ${t===`right`?`text-right`:``}
209
+ ${t===`left`?`text-left`:``}
210
+ ${n||``}
211
+ `,children:e}),V={left:`text-left`,center:`text-center`,right:`text-right`},H=({rowData:e})=>(0,f.jsx)(`thead`,{children:(0,f.jsx)(`tr`,{className:`\r
247
212
  sticky\r
248
213
  top-0\r
249
214
  z-10\r
@@ -257,9 +222,9 @@ React keys must be passed directly to JSX without using spread:
257
222
 
258
223
  border-b
259
224
  border-light-gray
260
- ${R[e.align||`left`]}
225
+ ${V[e.align||`left`]}
261
226
  ${e.style||``}
262
- `,children:e.value},e.key))})}),B=({children:e,style:t})=>(0,f.jsx)(`tbody`,{className:t,children:e}),V=({rowData:e,style:t})=>(0,f.jsx)(`tr`,{className:`
227
+ `,children:e.value},e.key))})}),U=({rowData:e,style:t})=>(0,f.jsx)(`tr`,{className:`
263
228
 
264
229
  transition-colors
265
230
  hover:bg-gray-50
@@ -279,14 +244,32 @@ React keys must be passed directly to JSX without using spread:
279
244
 
280
245
 
281
246
 
282
- ${R[e.align||`left`]}
247
+ ${V[e.align||`left`]}
283
248
  ${e.style||``}
284
- `,children:e.value},e.key))}),H=({children:e,align:t=`left`,style:n})=>(0,f.jsx)(`td`,{className:`
285
- px-4
286
- py-3
287
- text-sm
288
- ${t===`center`?`text-center`:``}
289
- ${t===`right`?`text-right`:``}
290
- ${t===`left`?`text-left`:``}
291
- ${n||``}
292
- `,children:e});exports.Breadcrumbs=F,exports.Button=m,exports.Card=h,exports.Cfooter=g,exports.Cform=x,exports.Cheader=S,exports.CheckBox=M,exports.Ctable=L,exports.Drawer=w,exports.FooterBottom=v,exports.FooterContact=y,exports.FooterIcon=_,exports.Icon=C,exports.LandingLayout=I,exports.Loader=p,exports.Modal=T,exports.NavBar=D,exports.QuickLink=b,exports.SearchBar=E,exports.Section=P,exports.Select=N,exports.TableBody=B,exports.TableCell=H,exports.TableHead=z,exports.TableRow=V,exports.TextField=j;
249
+ `,children:e.value},e.key))}),W=({items:e})=>(0,f.jsx)(`nav`,{"aria-label":`Breadcrumb`,children:(0,f.jsx)(`ol`,{className:`\r
250
+ flex\r
251
+ flex-wrap\r
252
+ items-center\r
253
+ gap-2\r
254
+ text-sm\r
255
+ `,children:e.map((t,n)=>{let r=n===e.length-1;return(0,f.jsxs)(`li`,{className:`\r
256
+ flex\r
257
+ items-center\r
258
+ gap-2\r
259
+ `,children:[r?(0,f.jsx)(`span`,{className:`\r
260
+ font-semibold\r
261
+ text-gray-900\r
262
+ `,children:t.label}):(0,f.jsx)(`a`,{href:t.href,className:`\r
263
+ text-gray-600\r
264
+ transition-colors\r
265
+ hover:text-blue-600\r
266
+ hover:underline\r
267
+ `,children:t.label}),!r&&(0,f.jsx)(`span`,{className:`text-gray-400`,children:`>`})]},t.id)})})}),G=({children:e})=>{let[t,n]=l.default.useState(`Home`),r=[{id:1,href:`#home`,label:`Home`},{id:2,href:`#about`,label:`About`},{id:3,href:`#services`,label:`Services`},{id:4,href:`#contact`,label:`Contact`}];return(0,f.jsxs)(`div`,{className:`w-full scroll-smooth`,children:[(0,f.jsx)(`div`,{className:`sticky top-0 z-50 bg-white`,children:(0,f.jsxs)(w,{children:[(0,f.jsxs)(`div`,{className:`flex items-center gap-4 lg:gap-10`,children:[(0,f.jsx)(E,{logo:`/icon.svg`,title:`QTEK`}),(0,f.jsx)(D,{navBar:r,onItemClick:n})]}),(0,f.jsxs)(`div`,{className:`flex shrink-0 items-center gap-2 sm:gap-3`,children:[(0,f.jsx)(k,{}),(0,f.jsx)(T,{navDrawer:r,onItemClick:n})]})]})}),(0,f.jsx)(`div`,{className:` \r
268
+ mx-auto\r
269
+ max-w-full\r
270
+ px-6\r
271
+ py-4\r
272
+ sticky\r
273
+ z-40\r
274
+ top-16\r
275
+ bg-light-gray`,children:(0,f.jsx)(W,{items:[{id:1,label:t,href:`#`}]})}),e,(0,f.jsxs)(y,{children:[(0,f.jsx)(S,{description:`Building modern and scalable digital solutions.`,children:(0,f.jsx)(`div`,{className:`scale-150 origin-left`,children:(0,f.jsx)(E,{logo:`/icon.svg`,title:`QTEK`})})}),(0,f.jsx)(C,{title:`Quick Links`,links:r,onItemClick:n}),(0,f.jsx)(x,{email:`hello@qtek.com`,phone:`+63 900 000 0000`,socials:[{id:1,label:`Facebook`,href:`#`},{id:2,label:`LinkedIn`,href:`#`},{id:3,label:`GitHub`,href:`#`}]}),(0,f.jsx)(b,{copyright:`© 2026 QTEK. All rights reserved.`})]})]})};exports.Breadcrumbs=W,exports.Button=m,exports.Card=h,exports.CardContent=g,exports.CardFooter=_,exports.CardImage=v,exports.Cfooter=y,exports.Cform=I,exports.Cheader=w,exports.CheckBox=A,exports.Ctable=R,exports.Drawer=T,exports.FooterBottom=b,exports.FooterContact=x,exports.FooterIcon=S,exports.Icon=E,exports.LandingLayout=G,exports.Loader=p,exports.Modal=O,exports.NavBar=D,exports.QuickLink=C,exports.SearchBar=k,exports.Section=L,exports.Select=j,exports.TableBody=z,exports.TableCell=B,exports.TableHead=H,exports.TableRow=U,exports.TextField=F,exports.alignment=V;