freemium-ui 2.0.115 → 2.0.117
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.
- package/.github/workflows/security_verification.yml +60 -0
- package/freemium-ui-2.0.116.tgz +0 -0
- package/lib/index.cjs.js +5230 -5224
- package/lib/index.js +8 -4
- package/lib/package.json +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -3727,6 +3727,8 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
|
|
|
3727
3727
|
`,Tm=Ur(lm)`
|
|
3728
3728
|
direction: ${({theme:e})=>e.direction} !important;
|
|
3729
3729
|
scrollbar-width: thin !important;
|
|
3730
|
+
word-break: break-word;
|
|
3731
|
+
overflow-wrap: break-word;
|
|
3730
3732
|
`,Pm=Ur(hm)``;Ur(pm)`
|
|
3731
3733
|
direction: ${({theme:e})=>e.direction} !important;
|
|
3732
3734
|
display: grid;
|
|
@@ -3758,6 +3760,8 @@ autoComplete:m,value:H,onChange:e=>D(e.target.value),disabled:v
|
|
|
3758
3760
|
align-items: center;
|
|
3759
3761
|
justify-content: space-between;
|
|
3760
3762
|
outline: none;
|
|
3763
|
+
word-break: break-word;
|
|
3764
|
+
overflow-wrap: break-word;
|
|
3761
3765
|
border: 1px solid
|
|
3762
3766
|
${({theme:e,$isErrored:t})=>t?e.colors.border.error:e.colors.border.normal};
|
|
3763
3767
|
background-color: ${({theme:e})=>e.colors.fill.surface};
|
|
@@ -16683,10 +16687,10 @@ fill:s.colors.text.primary}))))))},nG=()=>{const e=((e=Kc())=>{
|
|
|
16683
16687
|
const t=`ui-${e}`,{isBrowser:n}=sW(),[r,o]=f(n?uW(t):null);return p((()=>{
|
|
16684
16688
|
const e=document.querySelector(`#${t}`),n=e||uW(t)
|
|
16685
16689
|
;e||document.body.appendChild(n),o(n)}),[]),r
|
|
16686
|
-
})("toast"),{toasts:n}=t.useContext(XW)??{}
|
|
16687
|
-
|
|
16688
|
-
|
|
16689
|
-
|
|
16690
|
+
})("toast"),{toasts:n}=t.useContext(XW)??{};return e?M(t.createElement(Mr,{
|
|
16691
|
+
target:document.body},t.createElement(UW,{swipeDirection:"up"
|
|
16692
|
+
},n.map(((e,n)=>t.createElement(tG,{key:`Toast-${e.id}`,...e,index:n
|
|
16693
|
+
}))),t.createElement(KW,{className:"ToastViewport"}))),e):null
|
|
16690
16694
|
},rG=({children:e,retainOnHover:n=!0,retainOnWindowBlur:r=!1})=>{
|
|
16691
16695
|
const[o,a]=t.useState("focus"),[i,l]=t.useState([]),c=t.useCallback((e=>{
|
|
16692
16696
|
l((t=>[{...e,id:Kc(),state:"open"},...t]))}),[]),s=t.useCallback((e=>{
|
package/lib/package.json
CHANGED