@everymatrix/flash-register-wc 1.0.23 → 1.0.24

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.
@@ -238,7 +238,7 @@ https://www.w3ctech.com/topic/2226`));let s=r(...i);return s.postcssPlugin=t,s.p
238
238
  [:-moz-autofill]:[-moz-text-fill-color:var(--color-text-primary)]!
239
239
  focus:[-moz-autofill]:[box-shadow:0_0_0_50px_var(--color-bg-elements)_inset]
240
240
  focus:[-moz-autofill]:[-moz-text-fill-color:var(--color-text-primary)]! caret-[var(--color-text-primary)]
241
- autofill:![caret-color:var(--color-text-primary)] [:-moz-autofill]:![caret-color:var(--color-text-primary)]`,{"pl-10":!!u,"pr-10":!!m,"opacity-40 cursor-not-allowed":o},t),...p}),Xs("p",{id:h,className:"form-input__error-message text-sm text-error min-h-5",children:n})]})},uA=fQe});var Wme=l(()=>{zme()});var Hme=l(()=>{});var qme=l(()=>{Hme();Ao()});import{jsx as ERr}from"react/jsx-runtime";var Gme=l(()=>{fg();pt()});import{jsx as PRr}from"react/jsx-runtime";var Vme=l(()=>{pt()});import{useContext as MRr}from"react";import{jsx as $Rr,jsxs as zRr}from"react/jsx-runtime";var jme=l(()=>{fg();pt()});import{jsx as JRr,jsxs as XRr}from"react/jsx-runtime";var F2=l(()=>{Hs();pt();Gme();Vme();jme()});var B2=l(()=>{F2();F2()});var Yme=l(()=>{$r()});var Kme=l(()=>{Yme();B2()});import{useState as gTr}from"react";import{jsx as ITr,jsxs as _Tr}from"react/jsx-runtime";var Qme=l(()=>{qme();fg();Yi();B2();$r();Q_();pt();Kme()});var Zme=l(()=>{Qme()});var Jme=l(()=>{Wme();Zme()});import{Fragment as gQe,jsx as Xme,jsxs as hQe}from"react/jsx-runtime";var pQe,U2,epe=l(()=>{Zi();Jme();bn();$r();pQe=e=>{let{field:t,control:r,register:a,getValues:o}=e,n=t.name,i=t.displayName,s=t.placeholder??i,c=!!t.validate?.mandatory,u=!!t.readOnly||!!t.autofill,m=Ep(t),p=`${n}${od}`,h=m?.displayName??We.confirmWithLabel({label:i}),x=m?.errorMessage??We.mustMatch({label:h}),v=m?[n,p]:n,{errors:y}=kp({control:r,name:v}),A=y?.[n]?.message??"",w=y?.[p]?.message??"",C=Fy(t),I=a(n,C),S={id:`${Do}${n}`,label:i,placeholder:s,required:c,disabled:u,errorMessage:A,...I},_=m?{required:We.isRequired({label:h}),validate:k=>k===o(n)||x}:void 0,T=m&&_?{id:p,label:h,placeholder:h,required:!0,disabled:u,errorMessage:w,...a(p,_)}:null;return hQe(gQe,{children:[Xme(uA,{...S,tooltip:t.tooltip??void 0}),m&&T?Xme(uA,{...T,tooltip:t.tooltip??void 0}):null]})},U2=pQe});var tpe=l(()=>{epe()});import{jsx as $2,jsxs as vQe}from"react/jsx-runtime";var xQe,bQe,yQe,z2,rpe=l(()=>{pt();Yi();QD();xQe={...Vl,accent:"bg-card-overlay hover:not-disabled:bg-card-overlay active:not-disabled:scale-(--btn-active-scale) transition-all"},bQe={small:"icon-button--small min-h-7.5 h-7.5 min-w-7.5 w-7.5",large:"icon-button--large min-h-9 h-9 min-w-9 w-9"},yQe=e=>{let{variant:t="primary",size:r="large",isLoading:a=!1,icon:o,className:n,hasDotIndicator:i=!1,disabled:s,...c}=e;return vQe("button",{className:Y(`icon-button icon-button--${t} relative flex items-center justify-center cursor-pointer text-xs
241
+ autofill:![caret-color:var(--color-text-primary)] [:-moz-autofill]:![caret-color:var(--color-text-primary)]`,{"pl-10":!!u,"pr-10":!!m,"opacity-40 cursor-not-allowed":o},t),...p}),Xs("p",{id:h,className:"form-input__error-message text-sm text-error min-h-5",children:n})]})},uA=fQe});var Wme=l(()=>{zme()});var Hme=l(()=>{});var qme=l(()=>{Hme();Ao()});import{jsx as ERr}from"react/jsx-runtime";var Gme=l(()=>{fg();pt()});import{jsx as PRr}from"react/jsx-runtime";var Vme=l(()=>{pt()});import{useContext as MRr}from"react";import{jsx as $Rr,jsxs as zRr}from"react/jsx-runtime";var jme=l(()=>{fg();pt()});import{jsx as JRr,jsxs as XRr}from"react/jsx-runtime";var F2=l(()=>{Hs();pt();Gme();Vme();jme()});var B2=l(()=>{F2();F2()});var Yme=l(()=>{$r()});var Kme=l(()=>{Yme();B2()});import{useState as gTr}from"react";import{jsx as ITr,jsxs as _Tr}from"react/jsx-runtime";var Qme=l(()=>{qme();fg();Yi();B2();$r();Q_();pt();Kme()});var Zme=l(()=>{Qme()});var Jme=l(()=>{Wme();Zme()});import{Fragment as gQe,jsx as Xme,jsxs as hQe}from"react/jsx-runtime";var pQe,U2,epe=l(()=>{Zi();Jme();bn();$r();pQe=e=>{let{field:t,control:r,register:a,getValues:o}=e,n=t.name,i=t.displayName,s=t.placeholder??i,c=!!t.validate?.mandatory,u=(!!t.readOnly||!!t.autofill)&&!!o(t.name),m=Ep(t),p=`${n}${od}`,h=m?.displayName??We.confirmWithLabel({label:i}),x=m?.errorMessage??We.mustMatch({label:h}),v=m?[n,p]:n,{errors:y}=kp({control:r,name:v}),A=y?.[n]?.message??"",w=y?.[p]?.message??"",C=Fy(t),I=a(n,C),S={id:`${Do}${n}`,label:i,placeholder:s,required:c,disabled:u,errorMessage:A,...I},_=m?{required:We.isRequired({label:h}),validate:k=>k===o(n)||x}:void 0,T=m&&_?{id:p,label:h,placeholder:h,required:!0,disabled:u,errorMessage:w,...a(p,_)}:null;return hQe(gQe,{children:[Xme(uA,{...S,tooltip:t.tooltip??void 0}),m&&T?Xme(uA,{...T,tooltip:t.tooltip??void 0}):null]})},U2=pQe});var tpe=l(()=>{epe()});import{jsx as $2,jsxs as vQe}from"react/jsx-runtime";var xQe,bQe,yQe,z2,rpe=l(()=>{pt();Yi();QD();xQe={...Vl,accent:"bg-card-overlay hover:not-disabled:bg-card-overlay active:not-disabled:scale-(--btn-active-scale) transition-all"},bQe={small:"icon-button--small min-h-7.5 h-7.5 min-w-7.5 w-7.5",large:"icon-button--large min-h-9 h-9 min-w-9 w-9"},yQe=e=>{let{variant:t="primary",size:r="large",isLoading:a=!1,icon:o,className:n,hasDotIndicator:i=!1,disabled:s,...c}=e;return vQe("button",{className:Y(`icon-button icon-button--${t} relative flex items-center justify-center cursor-pointer text-xs
242
242
  text-text-primary self-center rounded-md leading-3.5 disabled:cursor-not-allowed focus-visible:outline-none`,xQe[t],bQe[r],"disabled:opacity-50",n,{"icon-button--loading":a,"icon-button--disabled":s||a}),disabled:s||a,...c,children:[a?$2(Ap,{className:"icon-button__spinner"}):$2("span",{className:"icon-button__icon",children:o}),i&&$2("div",{className:"icon-button__dot absolute top-2 right-2 bg-notification h-1.5 w-1.5 rounded-full"})]})},z2=yQe});var ope=l(()=>{rpe()});import{useState as AQe}from"react";import{jsx as Rn,jsxs as dA}from"react/jsx-runtime";var wQe,fA,ape=l(()=>{An();pt();sg();Hs();dc();ope();wQe=e=>{let{className:t,id:r,wrapperClassName:a,isDisabled:o,errorMessage:n,label:i,tooltip:s,required:c,prefixIcon:u,suffixIcon:m,...p}=e,[h,x]=AQe(!0),v=n?`${r}-message`:void 0;return dA("div",{className:Y("form-input flex flex-col w-full gap-1",a),children:[!!i&&dA("div",{className:"flex gap-2 items-center",children:[Rn(Po,{className:"select__label font-medium text-text-primary w-max",htmlFor:r,children:dA("div",{className:"flex",children:[i,c&&"*"]})}),!!s&&dA(aa,{children:[Rn(na,{asChild:!0,children:Rn(To,{className:"size-3 cursor-pointer"})}),Rn(ba,{children:Rn(ia,{side:"top",sideOffset:6,align:"center",className:"p-3",children:Rn("span",{className:"font-medium text-sm text-text-primary",children:s})})})]})]}),Rn(as,{id:r,disabled:o,type:h?"password":"text","data-slot":"input","aria-invalid":!!n,"aria-errormessage":v,className:Y(`form-input__control h-10.5 w-full rounded-md px-4 py-3 text-base transition-all outline-none bg-bg-app
243
243
  text-text-primary border border-transparent placeholder:text-txt-secondary/50 file:text-foreground
244
244
  selection:bg-bg-surface-elevated selection:text-text-primary selection:opacity-30
package/dist/meta.json CHANGED
@@ -72263,7 +72263,7 @@
72263
72263
  "format": "esm"
72264
72264
  },
72265
72265
  "libs/frameworks/src/react/features/auth/components/register/dynamic-register-form/fields/text-field/text-field.tsx": {
72266
- "bytes": 3136,
72266
+ "bytes": 3165,
72267
72267
  "imports": [
72268
72268
  {
72269
72269
  "path": "node_modules/react-hook-form/dist/index.esm.mjs",
@@ -79960,7 +79960,7 @@
79960
79960
  "bytesInOutput": 29
79961
79961
  },
79962
79962
  "libs/frameworks/src/react/features/auth/components/register/dynamic-register-form/fields/text-field/text-field.tsx": {
79963
- "bytesInOutput": 863
79963
+ "bytesInOutput": 878
79964
79964
  },
79965
79965
  "libs/frameworks/src/react/features/auth/components/register/dynamic-register-form/fields/text-field/index.ts": {
79966
79966
  "bytesInOutput": 23
@@ -80122,7 +80122,7 @@
80122
80122
  "bytesInOutput": 96
80123
80123
  }
80124
80124
  },
80125
- "bytes": 1359896
80125
+ "bytes": 1359911
80126
80126
  },
80127
80127
  "libs/register-wc/dist/build-register-wc.css": {
80128
80128
  "imports": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/flash-register-wc",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": {