@viglet/viglet-design-system 2026.3.2 → 2026.3.4

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 (184) hide show
  1. package/README.md +334 -8
  2. package/dist/assets.cjs +1 -0
  3. package/dist/assets.es.js +2 -0
  4. package/dist/badge-locale-BxI9TwkE.js +579 -0
  5. package/dist/badge-locale-sIsBdP_e.cjs +7 -0
  6. package/dist/bento/bento-actions-menu.d.ts +42 -0
  7. package/dist/bento/bento-actions-menu.d.ts.map +1 -0
  8. package/dist/bento/bento-back-to-top.d.ts +11 -0
  9. package/dist/bento/bento-back-to-top.d.ts.map +1 -0
  10. package/dist/bento/bento-command-palette.d.ts +28 -0
  11. package/dist/bento/bento-command-palette.d.ts.map +1 -0
  12. package/dist/bento/bento-count-tile.d.ts +18 -0
  13. package/dist/bento/bento-count-tile.d.ts.map +1 -0
  14. package/dist/bento/bento-empty-state.d.ts +35 -0
  15. package/dist/bento/bento-empty-state.d.ts.map +1 -0
  16. package/dist/bento/bento-entity-shell.d.ts +123 -0
  17. package/dist/bento/bento-entity-shell.d.ts.map +1 -0
  18. package/dist/bento/bento-entity-tile.d.ts +40 -0
  19. package/dist/bento/bento-entity-tile.d.ts.map +1 -0
  20. package/dist/bento/bento-form-hero.d.ts +91 -0
  21. package/dist/bento/bento-form-hero.d.ts.map +1 -0
  22. package/dist/bento/bento-form-section.d.ts +31 -0
  23. package/dist/bento/bento-form-section.d.ts.map +1 -0
  24. package/dist/bento/bento-hero-icon-picker.d.ts +35 -0
  25. package/dist/bento/bento-hero-icon-picker.d.ts.map +1 -0
  26. package/dist/bento/bento-hero.d.ts +62 -0
  27. package/dist/bento/bento-hero.d.ts.map +1 -0
  28. package/dist/bento/bento-inline-edit.d.ts +52 -0
  29. package/dist/bento/bento-inline-edit.d.ts.map +1 -0
  30. package/dist/bento/bento-layout.d.ts +52 -0
  31. package/dist/bento/bento-layout.d.ts.map +1 -0
  32. package/dist/bento/bento-list-page.d.ts +124 -0
  33. package/dist/bento/bento-list-page.d.ts.map +1 -0
  34. package/dist/bento/bento-nav-rail.d.ts +32 -0
  35. package/dist/bento/bento-nav-rail.d.ts.map +1 -0
  36. package/dist/bento/bento-nav.d.ts +69 -0
  37. package/dist/bento/bento-nav.d.ts.map +1 -0
  38. package/dist/bento/bento-save-bar.d.ts +36 -0
  39. package/dist/bento/bento-save-bar.d.ts.map +1 -0
  40. package/dist/bento/bento-scroll-fade.d.ts +20 -0
  41. package/dist/bento/bento-scroll-fade.d.ts.map +1 -0
  42. package/dist/bento/bento-scroll-save-bar.d.ts +22 -0
  43. package/dist/bento/bento-scroll-save-bar.d.ts.map +1 -0
  44. package/dist/bento/bento-section-chrome.d.ts +60 -0
  45. package/dist/bento/bento-section-chrome.d.ts.map +1 -0
  46. package/dist/bento/bento-section.d.ts +27 -0
  47. package/dist/bento/bento-section.d.ts.map +1 -0
  48. package/dist/bento/bento-shortcuts-dialog.d.ts +15 -0
  49. package/dist/bento/bento-shortcuts-dialog.d.ts.map +1 -0
  50. package/dist/bento/bento-status-marker.d.ts +26 -0
  51. package/dist/bento/bento-status-marker.d.ts.map +1 -0
  52. package/dist/bento/bento-tile.d.ts +42 -0
  53. package/dist/bento/bento-tile.d.ts.map +1 -0
  54. package/dist/bento/bento-tones.d.ts +33 -0
  55. package/dist/bento/bento-tones.d.ts.map +1 -0
  56. package/dist/bento/bento-user-menu.d.ts +31 -0
  57. package/dist/bento/bento-user-menu.d.ts.map +1 -0
  58. package/dist/bento/index.d.ts +59 -0
  59. package/dist/bento/index.d.ts.map +1 -0
  60. package/dist/bento.cjs +1 -0
  61. package/dist/bento.css +442 -0
  62. package/dist/bento.es.js +1502 -0
  63. package/dist/breadcrumb.context-CGqjI0-U.js +914 -0
  64. package/dist/breadcrumb.context-DYeZEC65.cjs +1 -0
  65. package/dist/components/app-switcher.d.ts +2 -0
  66. package/dist/components/app-switcher.d.ts.map +1 -1
  67. package/dist/components/badge-locale.d.ts.map +1 -1
  68. package/dist/components/error-boundary.d.ts.map +1 -1
  69. package/dist/components/language-select.d.ts.map +1 -1
  70. package/dist/components/router/blank-slate.d.ts +10 -0
  71. package/dist/components/router/blank-slate.d.ts.map +1 -1
  72. package/dist/components/router/grid.list.d.ts +13 -0
  73. package/dist/components/router/grid.list.d.ts.map +1 -1
  74. package/dist/components/router/internal.sidebar.d.ts +39 -3
  75. package/dist/components/router/internal.sidebar.d.ts.map +1 -1
  76. package/dist/components/router/loading-provider.d.ts +6 -1
  77. package/dist/components/router/loading-provider.d.ts.map +1 -1
  78. package/dist/components/router/nav-main.d.ts +10 -0
  79. package/dist/components/router/nav-main.d.ts.map +1 -1
  80. package/dist/components/router/nav-user.d.ts +13 -0
  81. package/dist/components/router/nav-user.d.ts.map +1 -1
  82. package/dist/components/router/page-content.d.ts +10 -0
  83. package/dist/components/router/page-content.d.ts.map +1 -1
  84. package/dist/components/router/page-header.d.ts +13 -0
  85. package/dist/components/router/page-header.d.ts.map +1 -1
  86. package/dist/components/router/page.d.ts +13 -0
  87. package/dist/components/router/page.d.ts.map +1 -1
  88. package/dist/components/router/sticky.page.header.d.ts +14 -0
  89. package/dist/components/router/sticky.page.header.d.ts.map +1 -1
  90. package/dist/components/router/sub.page.d.ts +31 -11
  91. package/dist/components/router/sub.page.d.ts.map +1 -1
  92. package/dist/components/router/sub.page.header.d.ts +13 -0
  93. package/dist/components/router/sub.page.header.d.ts.map +1 -1
  94. package/dist/components/startup-first/startup-first.d.ts.map +1 -1
  95. package/dist/components/theme-provider.d.ts +37 -2
  96. package/dist/components/theme-provider.d.ts.map +1 -1
  97. package/dist/components/ui/floating-formulas-bg.d.ts +8 -1
  98. package/dist/components/ui/floating-formulas-bg.d.ts.map +1 -1
  99. package/dist/components/ui/form.d.ts +2 -2
  100. package/dist/components/ui/form.d.ts.map +1 -1
  101. package/dist/components/ui/gradient-button.d.ts.map +1 -1
  102. package/dist/components/ui/gradient-switch.d.ts.map +1 -1
  103. package/dist/components/ui/icon-picker-dialog.d.ts +35 -0
  104. package/dist/components/ui/icon-picker-dialog.d.ts.map +1 -0
  105. package/dist/components/ui/index.d.ts +1 -0
  106. package/dist/components/ui/index.d.ts.map +1 -1
  107. package/dist/components/ui/section-card.d.ts +3 -3
  108. package/dist/components/ui/section-card.d.ts.map +1 -1
  109. package/dist/components/ui/sidebar.d.ts.map +1 -1
  110. package/dist/components/ui/slider.d.ts +1 -1
  111. package/dist/components/ui/slider.d.ts.map +1 -1
  112. package/dist/components/viglet-app-switcher.d.ts +3 -0
  113. package/dist/components/viglet-app-switcher.d.ts.map +1 -1
  114. package/dist/contexts/user.context.d.ts +24 -0
  115. package/dist/contexts/user.context.d.ts.map +1 -1
  116. package/dist/exports.json +404 -0
  117. package/dist/floating-formulas-bg.cjs +1 -0
  118. package/dist/floating-formulas-bg.css +21 -0
  119. package/dist/floating-formulas-bg.es.js +84 -56
  120. package/dist/fonts/inter-cyrillic-ext-wght-normal.woff2 +0 -0
  121. package/dist/fonts/inter-cyrillic-wght-normal.woff2 +0 -0
  122. package/dist/fonts/inter-greek-ext-wght-normal.woff2 +0 -0
  123. package/dist/fonts/inter-greek-wght-normal.woff2 +0 -0
  124. package/dist/fonts/inter-latin-ext-wght-normal.woff2 +0 -0
  125. package/dist/fonts/inter-latin-wght-normal.woff2 +0 -0
  126. package/dist/fonts/inter-vietnamese-wght-normal.woff2 +0 -0
  127. package/dist/fonts/plus-jakarta-sans-cyrillic-ext-wght-normal.woff2 +0 -0
  128. package/dist/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2 +0 -0
  129. package/dist/fonts/plus-jakarta-sans-latin-wght-normal.woff2 +0 -0
  130. package/dist/fonts/plus-jakarta-sans-vietnamese-wght-normal.woff2 +0 -0
  131. package/dist/fonts.css +126 -0
  132. package/dist/hooks/use-grid-adapter.d.ts.map +1 -1
  133. package/dist/hooks/use-mobile.d.ts +10 -0
  134. package/dist/hooks/use-mobile.d.ts.map +1 -1
  135. package/dist/hooks/use-sub-page-breadcrumb.d.ts.map +1 -1
  136. package/dist/i18n/index.d.ts +136 -0
  137. package/dist/i18n/index.d.ts.map +1 -1
  138. package/dist/i18n/locales/en/bento.json.d.ts +51 -0
  139. package/dist/i18n/locales/en/common.json.d.ts +7 -1
  140. package/dist/i18n/locales/en/forms.json.d.ts +15 -1
  141. package/dist/i18n/locales/en/nav.json.d.ts +3 -1
  142. package/dist/i18n/locales/pt/bento.json.d.ts +51 -0
  143. package/dist/i18n/locales/pt/common.json.d.ts +7 -1
  144. package/dist/i18n/locales/pt/forms.json.d.ts +15 -1
  145. package/dist/i18n/locales/pt/nav.json.d.ts +3 -1
  146. package/dist/i18n-DoNdMLEd.cjs +1 -0
  147. package/dist/{i18n-C94rDRaM.js → i18n-DuNITbWa.js} +155 -27
  148. package/dist/i18n.cjs +1 -0
  149. package/dist/i18n.es.js +2 -1
  150. package/dist/index.cjs +1 -0
  151. package/dist/index.d.ts +0 -1
  152. package/dist/index.d.ts.map +1 -1
  153. package/dist/index.es.js +493 -750
  154. package/dist/lib/axios.d.ts.map +1 -1
  155. package/dist/lib/export-xlsx.d.ts +7 -1
  156. package/dist/lib/export-xlsx.d.ts.map +1 -1
  157. package/dist/lib/react-markers.d.ts +17 -0
  158. package/dist/lib/react-markers.d.ts.map +1 -0
  159. package/dist/lib/utils.d.ts +22 -0
  160. package/dist/lib/utils.d.ts.map +1 -1
  161. package/dist/loading-provider-1mgM91iY.cjs +1 -0
  162. package/dist/loading-provider-CMnOuvdR.js +224 -0
  163. package/dist/preset.css +103 -3
  164. package/dist/products-DL_YYXkV.cjs +1 -0
  165. package/dist/products-Du9KB6Xl.js +9 -0
  166. package/dist/{rolldown-runtime-CMqjfN_6.cjs → rolldown-runtime-BocRIvOZ.cjs} +1 -1
  167. package/dist/router.cjs +1 -0
  168. package/dist/router.es.js +334 -504
  169. package/dist/user.context-kPAqKN4o.js +512 -0
  170. package/dist/user.context-r50nSWER.cjs +1 -0
  171. package/dist/viglet-design-system.css +1 -1
  172. package/dist/vite/boot-loader.d.ts +21 -7
  173. package/dist/vite/boot-loader.d.ts.map +1 -1
  174. package/dist/{vite.cjs.js → vite.cjs} +8 -8
  175. package/dist/vite.es.js +29 -16
  176. package/package.json +66 -22
  177. package/scripts/check-duplicates.mjs +198 -0
  178. package/dist/breadcrumb.context-C7VCfh49.js +0 -1501
  179. package/dist/breadcrumb.context-Td6Tjc_z.cjs +0 -7
  180. package/dist/floating-formulas-bg.cjs.js +0 -1
  181. package/dist/i18n-DN_2YzjB.cjs +0 -1
  182. package/dist/i18n.cjs.js +0 -1
  183. package/dist/index.cjs.js +0 -1
  184. package/dist/router.cjs.js +0 -1
@@ -0,0 +1 @@
1
+ "use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});let e=require("react"),t=require("react/jsx-runtime");var n=[[480,.25],[640,.35],[768,.5],[1024,.7]];function r(){let e=window.innerWidth;for(let[t,r]of n)if(e<t)return r;return 1}function i(e){return window.addEventListener(`resize`,e,{passive:!0}),()=>window.removeEventListener(`resize`,e)}function a(){return(0,e.useSyncExternalStore)(i,r,()=>1)}var o=`H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂`.split(`.`),s=[`ff-drift-a`,`ff-drift-b`,`ff-drift-c`,`ff-drift-d`,`ff-drift-e`],c=[{top:`8%`,left:`6%`,size:80,duration:18,delay:-2,drift:`ff-drift-b`,opacity:.3,path:`M10,40 L40,20 L70,40 M40,20 L40,5 M40,20 L25,8 M40,20 L55,8`},{top:`22%`,left:`75%`,size:100,duration:22,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M20,50 L50,30 L80,50 M50,30 L50,10 M20,50 L20,70 M80,50 L80,70 M50,30 L35,15 M50,30 L65,15`},{top:`60%`,left:`85%`,size:70,duration:16,delay:-1,drift:`ff-drift-b`,opacity:.28,path:`M15,35 L35,15 L55,35 L35,55 Z M35,15 L35,5 M55,35 L65,35`},{top:`70%`,left:`12%`,size:90,duration:20,delay:-4,drift:`ff-drift-a`,opacity:.25,path:`M10,45 L45,25 L80,45 M45,25 L45,5 M10,45 L10,65 M80,45 L80,65`},{top:`5%`,left:`42%`,size:60,duration:15,delay:-3,drift:`ff-drift-c`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`},{top:`45%`,left:`3%`,size:75,duration:19,delay:-6,drift:`ff-drift-a`,opacity:.25,path:`M20,40 L40,20 L60,40 M40,20 L40,5 M20,40 L5,50 M60,40 L75,50 M40,5 L30,0 M40,5 L50,0`},{top:`78%`,left:`52%`,size:85,duration:21,delay:-2,drift:`ff-drift-b`,opacity:.22,path:`M15,45 L42,20 L70,45 M42,20 L42,5 M15,45 L30,60 M70,45 L55,60`},{top:`32%`,left:`92%`,size:65,duration:17,delay:-5,drift:`ff-drift-a`,opacity:.25,path:`M10,35 L32,15 L55,35 M32,15 L32,3 M10,35 L10,50`},{top:`15%`,left:`28%`,size:70,duration:19,delay:-1,drift:`ff-drift-c`,opacity:.25,path:`M10,35 L35,10 L60,35 M35,10 L35,0 M10,35 L0,50 M60,35 L70,50`},{top:`50%`,left:`35%`,size:65,duration:16,delay:-7,drift:`ff-drift-b`,opacity:.2,path:`M10,30 L30,10 L50,30 L30,50 Z M30,10 L30,0`},{top:`40%`,left:`60%`,size:80,duration:20,delay:-3,drift:`ff-drift-a`,opacity:.22,path:`M15,40 L40,15 L65,40 M40,15 L40,3 M15,40 L5,55 M65,40 L75,55 M40,15 L28,5 M40,15 L52,5`},{top:`85%`,left:`78%`,size:60,duration:15,delay:-6,drift:`ff-drift-b`,opacity:.22,path:`M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40`}];function l(e){let t=e;return()=>(t=(t*16807+0)%2147483647,(t-1)/2147483646)}function u(e){let t=new Set;for(let n of e)for(let e of n.split(/[\s_-]+/)){let n=e.trim();n.length>0&&t.add(n)}return Array.from(t)}function d(e){if(!e)return null;let t=/^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());if(t){let[,e,n,r]=t;return`${Number.parseInt(e+e,16)}, ${Number.parseInt(n+n,16)}, ${Number.parseInt(r+r,16)}`}let n=/^#([0-9a-f]{2})([0-9a-f]{2})([0-9a-f]{2})$/i.exec(e.trim());if(n){let[,e,t,r]=n;return`${Number.parseInt(e,16)}, ${Number.parseInt(t,16)}, ${Number.parseInt(r,16)}`}return null}function f(e){return e<.4?1:e<.8?2:3}function p(e){let t=2166136261;for(let n of e)for(let e=0;e<n.length;e+=1)t^=n.charCodeAt(e),t=Math.imul(t,16777619);return Math.abs(t)%2147483646+1}function m(e,t){let n=[...e];for(let e=n.length-1;e>0;--e){let r=Math.floor(t()*(e+1));[n[e],n[r]]=[n[r],n[e]]}return n}function h(e,t,n){let r=l(n);return m(e,r).slice(0,t).map(e=>({text:e,top:`${r()*85+2}%`,left:`${r()*88+2}%`,size:.8+r()*1.2,duration:10+r()*20,delay:-(r()*20),drift:s[Math.floor(r()*s.length)],opacity:.2+r()*.35}))}function g({itemCount:n=35,extraTokens:r,seed:i,color:s,colorDark:l,withFormulas:m=!0,withBonds:g=!0,withOrbs:_=!0,withLightning:v=!1,withExplosion:y=!1,withGrid:b=!0,motionPaused:x=!1,className:S}){let C=a(),w=Math.max(4,Math.round(n*C)),T=(0,e.useMemo)(()=>c.slice(0,Math.max(2,Math.round(c.length*C))),[C]),E=f(C),D=(0,e.useMemo)(()=>{let e=[...o,...r?u(r):[]];return h(e,w,i??p(e))},[w,r,i]),O={};s&&(O[`--ff-color`]=s),l?O[`--ff-color-dark`]=l:s&&(O[`--ff-color-dark`]=s);let k=d(s);k&&(O[`--ff-color-rgb`]=k);let A=d(l)??k;return A&&(O[`--ff-color-dark-rgb`]=A),(0,t.jsxs)(`div`,{className:`absolute inset-0 pointer-events-none overflow-hidden ${x?`ff-paused`:``} ${S??``}`,style:O,"aria-hidden":`true`,children:[v&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--a3`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--b1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--b2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c1`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c2`}),(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--c3`}),y&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(`div`,{className:`ff-lightning ff-lightning--nuke`}),(0,t.jsx)(`div`,{className:`ff-lightning--flood`})]})]}),_&&(0,t.jsxs)(t.Fragment,{children:[E>=1&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--1`}),E>=2&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--2`}),E>=3&&(0,t.jsx)(`div`,{className:`ff-orb ff-orb--3`})]}),b&&(0,t.jsx)(`div`,{className:`ff-grid`}),g&&T.map(e=>(0,t.jsxs)(`svg`,{className:`ff-bond ${e.drift}`,width:e.size,height:e.size,viewBox:`0 0 ${e.size} ${e.size}`,style:{top:e.top,left:e.left,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:[(0,t.jsx)(`path`,{d:e.path,fill:`none`,className:`ff-bond-line`,strokeWidth:`1.5`,strokeLinecap:`round`}),Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e,n)=>(0,t.jsx)(`circle`,{cx:e[1],cy:e[2],r:`2.5`,className:`ff-bond-node`},`node-${n}`))]},`bond-${e.top}-${e.left}`)),m&&D.map(e=>(0,t.jsx)(`span`,{className:`ff-term ${e.drift}`,style:{top:e.top,left:e.left,fontSize:`${e.size}rem`,animationDuration:`${e.duration}s`,animationDelay:`${e.delay}s`,opacity:e.opacity},children:e.text},`f-${e.text}-${e.top}-${e.left}`))]})}exports.FloatingFormulasBg=g;
@@ -99,6 +99,27 @@
99
99
  animation-play-state: paused !important;
100
100
  }
101
101
 
102
+ /* The same freeze, asked for by the reader rather than by the host. The backdrop
103
+ is decorative and drifts continuously, which is the shape of motion that costs
104
+ most: the static layers stay, the movement stops, and the lightning — a
105
+ repeated flash — is removed outright rather than merely paused mid-frame. The
106
+ rule is asserted in src/styles/reduced-motion.test.ts. */
107
+ @media (prefers-reduced-motion: reduce) {
108
+ .ff-term,
109
+ .ff-bond,
110
+ .ff-orb {
111
+ animation: none !important;
112
+ transition: none !important;
113
+ }
114
+
115
+ .ff-lightning,
116
+ .ff-lightning--nuke,
117
+ .ff-lightning--flood {
118
+ animation: none !important;
119
+ opacity: 0 !important;
120
+ }
121
+ }
122
+
102
123
  @keyframes ff-drift-a {
103
124
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
104
125
  20% { transform: translate(80px, -60px) scale(1.15) rotate(5deg); }
@@ -1,23 +1,31 @@
1
- import { useEffect as e, useMemo as t, useState as n } from "react";
2
- import { Fragment as r, jsx as i, jsxs as a } from "react/jsx-runtime";
1
+ "use client";
2
+ import { useMemo as e, useSyncExternalStore as t } from "react";
3
+ import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
3
4
  //#region src/components/ui/floating-formulas-bg.tsx
5
+ var a = [
6
+ [480, .25],
7
+ [640, .35],
8
+ [768, .5],
9
+ [1024, .7]
10
+ ];
4
11
  function o() {
5
- let [t, r] = n(1);
6
- return e(() => {
7
- let e = () => {
8
- let e = window.innerWidth;
9
- return e < 480 ? .25 : e < 640 ? .35 : e < 768 ? .5 : e < 1024 ? .7 : 1;
10
- }, t = () => r(e());
11
- return t(), window.addEventListener("resize", t, { passive: !0 }), () => window.removeEventListener("resize", t);
12
- }, []), t;
12
+ let e = window.innerWidth;
13
+ for (let [t, n] of a) if (e < t) return n;
14
+ return 1;
15
+ }
16
+ function s(e) {
17
+ return window.addEventListener("resize", e, { passive: !0 }), () => window.removeEventListener("resize", e);
18
+ }
19
+ function c() {
20
+ return t(s, o, () => 1);
13
21
  }
14
- var s = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂".split("."), c = [
22
+ var l = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂SO₄.Fe₂O₃.CaCO₃.C₂H₅OH.HCl.NaOH.KMnO₄.N₂.SiO₂.Al₂O₃.MgO.ZnSO₄.Cu.H₂O₂.SO₃.PbO₂.BaSO₄.AgNO₃.K₂Cr₂O₇.Na₂CO₃.Mg(OH)₂.FeCl₃.CuSO₄.Ca(OH)₂.HNO₃.P₄O₁₀.Cl₂.Br₂".split("."), u = [
15
23
  "ff-drift-a",
16
24
  "ff-drift-b",
17
25
  "ff-drift-c",
18
26
  "ff-drift-d",
19
27
  "ff-drift-e"
20
- ], l = [
28
+ ], d = [
21
29
  {
22
30
  top: "8%",
23
31
  left: "6%",
@@ -139,11 +147,11 @@ var s = /* @__PURE__ */ "H₂O.CO₂.NaCl.C₆H₁₂O₆.O₂.NH₃.CH₄.H₂S
139
147
  path: "M10,30 L30,10 L50,30 M30,10 L30,0 M10,30 L0,40 M50,30 L60,40"
140
148
  }
141
149
  ];
142
- function u(e) {
150
+ function f(e) {
143
151
  let t = e;
144
152
  return () => (t = (t * 16807 + 0) % 2147483647, (t - 1) / 2147483646);
145
153
  }
146
- function d(e) {
154
+ function p(e) {
147
155
  let t = /* @__PURE__ */ new Set();
148
156
  for (let n of e) for (let e of n.split(/[\s_-]+/)) {
149
157
  let n = e.trim();
@@ -151,7 +159,7 @@ function d(e) {
151
159
  }
152
160
  return Array.from(t);
153
161
  }
154
- function f(e) {
162
+ function m(e) {
155
163
  if (!e) return null;
156
164
  let t = /^#([0-9a-f])([0-9a-f])([0-9a-f])$/i.exec(e.trim());
157
165
  if (t) {
@@ -165,51 +173,71 @@ function f(e) {
165
173
  }
166
174
  return null;
167
175
  }
168
- function p(e) {
176
+ function h(e) {
169
177
  return e < .4 ? 1 : e < .8 ? 2 : 3;
170
178
  }
171
- function m(e, t) {
172
- let n = u(Date.now() % 1e5);
173
- return [...e].sort(() => n() - .5).slice(0, t).map((e) => ({
179
+ function g(e) {
180
+ let t = 2166136261;
181
+ for (let n of e) for (let e = 0; e < n.length; e += 1) t ^= n.charCodeAt(e), t = Math.imul(t, 16777619);
182
+ return Math.abs(t) % 2147483646 + 1;
183
+ }
184
+ function _(e, t) {
185
+ let n = [...e];
186
+ for (let e = n.length - 1; e > 0; --e) {
187
+ let r = Math.floor(t() * (e + 1));
188
+ [n[e], n[r]] = [n[r], n[e]];
189
+ }
190
+ return n;
191
+ }
192
+ function v(e, t, n) {
193
+ let r = f(n);
194
+ return _(e, r).slice(0, t).map((e) => ({
174
195
  text: e,
175
- top: `${n() * 85 + 2}%`,
176
- left: `${n() * 88 + 2}%`,
177
- size: .8 + n() * 1.2,
178
- duration: 10 + n() * 20,
179
- delay: -(n() * 20),
180
- drift: c[Math.floor(n() * c.length)],
181
- opacity: .2 + n() * .35
196
+ top: `${r() * 85 + 2}%`,
197
+ left: `${r() * 88 + 2}%`,
198
+ size: .8 + r() * 1.2,
199
+ duration: 10 + r() * 20,
200
+ delay: -(r() * 20),
201
+ drift: u[Math.floor(r() * u.length)],
202
+ opacity: .2 + r() * .35
182
203
  }));
183
204
  }
184
- function h({ itemCount: e = 35, extraTokens: n, color: c, colorDark: u, withFormulas: h = !0, withBonds: g = !0, withOrbs: _ = !0, withLightning: v = !1, withExplosion: y = !1, withGrid: b = !0, motionPaused: x = !1, className: S }) {
185
- let C = o(), w = Math.max(4, Math.round(e * C)), T = t(() => l.slice(0, Math.max(2, Math.round(l.length * C))), [C]), E = p(C), D = t(() => m([...s, ...n ? d(n) : []], w), [w, n]), O = {};
186
- c && (O["--ff-color"] = c), u ? O["--ff-color-dark"] = u : c && (O["--ff-color-dark"] = c);
187
- let k = f(c);
188
- k && (O["--ff-color-rgb"] = k);
189
- let A = f(u) ?? k;
190
- return A && (O["--ff-color-dark-rgb"] = A), /* @__PURE__ */ a("div", {
191
- className: `absolute inset-0 pointer-events-none overflow-hidden ${x ? "ff-paused" : ""} ${S ?? ""}`,
192
- style: O,
205
+ function y({ itemCount: t = 35, extraTokens: a, seed: o, color: s, colorDark: u, withFormulas: f = !0, withBonds: _ = !0, withOrbs: y = !0, withLightning: b = !1, withExplosion: x = !1, withGrid: S = !0, motionPaused: C = !1, className: w }) {
206
+ let T = c(), E = Math.max(4, Math.round(t * T)), D = e(() => d.slice(0, Math.max(2, Math.round(d.length * T))), [T]), O = h(T), k = e(() => {
207
+ let e = [...l, ...a ? p(a) : []];
208
+ return v(e, E, o ?? g(e));
209
+ }, [
210
+ E,
211
+ a,
212
+ o
213
+ ]), A = {};
214
+ s && (A["--ff-color"] = s), u ? A["--ff-color-dark"] = u : s && (A["--ff-color-dark"] = s);
215
+ let j = m(s);
216
+ j && (A["--ff-color-rgb"] = j);
217
+ let M = m(u) ?? j;
218
+ return M && (A["--ff-color-dark-rgb"] = M), /* @__PURE__ */ i("div", {
219
+ className: `absolute inset-0 pointer-events-none overflow-hidden ${C ? "ff-paused" : ""} ${w ?? ""}`,
220
+ style: A,
193
221
  "aria-hidden": "true",
194
222
  children: [
195
- v && /* @__PURE__ */ a(r, { children: [
196
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a1" }),
197
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a2" }),
198
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--a3" }),
199
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--b1" }),
200
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--b2" }),
201
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c1" }),
202
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c2" }),
203
- /* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--c3" }),
204
- y && /* @__PURE__ */ a(r, { children: [/* @__PURE__ */ i("div", { className: "ff-lightning ff-lightning--nuke" }), /* @__PURE__ */ i("div", { className: "ff-lightning--flood" })] })
223
+ b && /* @__PURE__ */ i(n, { children: [
224
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a1" }),
225
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a2" }),
226
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--a3" }),
227
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--b1" }),
228
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--b2" }),
229
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c1" }),
230
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c2" }),
231
+ /* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--c3" }),
232
+ x && /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("div", { className: "ff-lightning ff-lightning--nuke" }), /* @__PURE__ */ r("div", { className: "ff-lightning--flood" })] })
205
233
  ] }),
206
- _ && /* @__PURE__ */ a(r, { children: [
207
- E >= 1 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--1" }),
208
- E >= 2 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--2" }),
209
- E >= 3 && /* @__PURE__ */ i("div", { className: "ff-orb ff-orb--3" })
234
+ y && /* @__PURE__ */ i(n, { children: [
235
+ O >= 1 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--1" }),
236
+ O >= 2 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--2" }),
237
+ O >= 3 && /* @__PURE__ */ r("div", { className: "ff-orb ff-orb--3" })
210
238
  ] }),
211
- b && /* @__PURE__ */ i("div", { className: "ff-grid" }),
212
- g && T.map((e) => /* @__PURE__ */ a("svg", {
239
+ S && /* @__PURE__ */ r("div", { className: "ff-grid" }),
240
+ _ && D.map((e) => /* @__PURE__ */ i("svg", {
213
241
  className: `ff-bond ${e.drift}`,
214
242
  width: e.size,
215
243
  height: e.size,
@@ -221,20 +249,20 @@ function h({ itemCount: e = 35, extraTokens: n, color: c, colorDark: u, withForm
221
249
  animationDelay: `${e.delay}s`,
222
250
  opacity: e.opacity
223
251
  },
224
- children: [/* @__PURE__ */ i("path", {
252
+ children: [/* @__PURE__ */ r("path", {
225
253
  d: e.path,
226
254
  fill: "none",
227
255
  className: "ff-bond-line",
228
256
  strokeWidth: "1.5",
229
257
  strokeLinecap: "round"
230
- }), Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e) => /* @__PURE__ */ i("circle", {
258
+ }), Array.from(e.path.matchAll(/[ML]\s*(\d+),(\d+)/g)).map((e, t) => /* @__PURE__ */ r("circle", {
231
259
  cx: e[1],
232
260
  cy: e[2],
233
261
  r: "2.5",
234
262
  className: "ff-bond-node"
235
- }, `node-${e[1]}-${e[2]}`))]
263
+ }, `node-${t}`))]
236
264
  }, `bond-${e.top}-${e.left}`)),
237
- h && D.map((e) => /* @__PURE__ */ i("span", {
265
+ f && k.map((e) => /* @__PURE__ */ r("span", {
238
266
  className: `ff-term ${e.drift}`,
239
267
  style: {
240
268
  top: e.top,
@@ -250,4 +278,4 @@ function h({ itemCount: e = 35, extraTokens: n, color: c, colorDark: u, withForm
250
278
  });
251
279
  }
252
280
  //#endregion
253
- export { h as FloatingFormulasBg };
281
+ export { y as FloatingFormulasBg };
package/dist/fonts.css ADDED
@@ -0,0 +1,126 @@
1
+ /*!
2
+ * Viglet Design System — the brand faces.
3
+ *
4
+ * Inter for UI and Plus Jakarta Sans for display, as `--font-sans` and
5
+ * `--font-brand` name them in the preset. Self-contained: the woff2 files sit
6
+ * in ./fonts/ beside this stylesheet, so nothing here resolves through your
7
+ * node_modules, and your CDN and browser can cache them apart from the rules.
8
+ *
9
+ * @import "@viglet/viglet-design-system/styles";
10
+ * @import "@viglet/viglet-design-system/fonts";
11
+ *
12
+ * Skip it and the type falls back through --font-sans to system-ui, which is a
13
+ * real look rather than a broken one — and the right one if you already serve
14
+ * your own copy of Inter.
15
+ */
16
+
17
+ /* @fontsource-variable/inter */
18
+ /* inter-cyrillic-ext-wght-normal */
19
+ @font-face {
20
+ font-family: 'Inter Variable';
21
+ font-style: normal;
22
+ font-display: swap;
23
+ font-weight: 100 900;
24
+ src: url(./fonts/inter-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
25
+ unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
26
+ }
27
+
28
+ /* inter-cyrillic-wght-normal */
29
+ @font-face {
30
+ font-family: 'Inter Variable';
31
+ font-style: normal;
32
+ font-display: swap;
33
+ font-weight: 100 900;
34
+ src: url(./fonts/inter-cyrillic-wght-normal.woff2) format('woff2-variations');
35
+ unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
36
+ }
37
+
38
+ /* inter-greek-ext-wght-normal */
39
+ @font-face {
40
+ font-family: 'Inter Variable';
41
+ font-style: normal;
42
+ font-display: swap;
43
+ font-weight: 100 900;
44
+ src: url(./fonts/inter-greek-ext-wght-normal.woff2) format('woff2-variations');
45
+ unicode-range: U+1F00-1FFF;
46
+ }
47
+
48
+ /* inter-greek-wght-normal */
49
+ @font-face {
50
+ font-family: 'Inter Variable';
51
+ font-style: normal;
52
+ font-display: swap;
53
+ font-weight: 100 900;
54
+ src: url(./fonts/inter-greek-wght-normal.woff2) format('woff2-variations');
55
+ unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
56
+ }
57
+
58
+ /* inter-vietnamese-wght-normal */
59
+ @font-face {
60
+ font-family: 'Inter Variable';
61
+ font-style: normal;
62
+ font-display: swap;
63
+ font-weight: 100 900;
64
+ src: url(./fonts/inter-vietnamese-wght-normal.woff2) format('woff2-variations');
65
+ unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
66
+ }
67
+
68
+ /* inter-latin-ext-wght-normal */
69
+ @font-face {
70
+ font-family: 'Inter Variable';
71
+ font-style: normal;
72
+ font-display: swap;
73
+ font-weight: 100 900;
74
+ src: url(./fonts/inter-latin-ext-wght-normal.woff2) format('woff2-variations');
75
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
76
+ }
77
+
78
+ /* inter-latin-wght-normal */
79
+ @font-face {
80
+ font-family: 'Inter Variable';
81
+ font-style: normal;
82
+ font-display: swap;
83
+ font-weight: 100 900;
84
+ src: url(./fonts/inter-latin-wght-normal.woff2) format('woff2-variations');
85
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
86
+ }
87
+ /* @fontsource-variable/plus-jakarta-sans */
88
+ /* plus-jakarta-sans-cyrillic-ext-wght-normal */
89
+ @font-face {
90
+ font-family: 'Plus Jakarta Sans Variable';
91
+ font-style: normal;
92
+ font-display: swap;
93
+ font-weight: 200 800;
94
+ src: url(./fonts/plus-jakarta-sans-cyrillic-ext-wght-normal.woff2) format('woff2-variations');
95
+ unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
96
+ }
97
+
98
+ /* plus-jakarta-sans-vietnamese-wght-normal */
99
+ @font-face {
100
+ font-family: 'Plus Jakarta Sans Variable';
101
+ font-style: normal;
102
+ font-display: swap;
103
+ font-weight: 200 800;
104
+ src: url(./fonts/plus-jakarta-sans-vietnamese-wght-normal.woff2) format('woff2-variations');
105
+ unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
106
+ }
107
+
108
+ /* plus-jakarta-sans-latin-ext-wght-normal */
109
+ @font-face {
110
+ font-family: 'Plus Jakarta Sans Variable';
111
+ font-style: normal;
112
+ font-display: swap;
113
+ font-weight: 200 800;
114
+ src: url(./fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2) format('woff2-variations');
115
+ unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
116
+ }
117
+
118
+ /* plus-jakarta-sans-latin-wght-normal */
119
+ @font-face {
120
+ font-family: 'Plus Jakarta Sans Variable';
121
+ font-style: normal;
122
+ font-display: swap;
123
+ font-weight: 200 800;
124
+ src: url(./fonts/plus-jakarta-sans-latin-wght-normal.woff2) format('woff2-variations');
125
+ unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
126
+ }
@@ -1 +1 @@
1
- {"version":3,"file":"use-grid-adapter.d.ts","sourceRoot":"","sources":["../../src/hooks/use-grid-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,KAAK,cAAc,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;AAEzD,UAAU,iBAAiB,CAAC,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9C,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IACxB,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC/B,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,IAAI,EAAE,CAAC,EAAE,GAAG,SAAS,GAAG,IAAI,EAC5B,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC3B,WAAW,EAAE,CA8Bf"}
1
+ {"version":3,"file":"use-grid-adapter.d.ts","sourceRoot":"","sources":["../../src/hooks/use-grid-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEtD,KAAK,cAAc,CAAC,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC,CAAC;AAEzD,UAAU,iBAAiB,CAAC,CAAC;IAC3B,EAAE,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,GAAG,MAAM,CAAC,CAAC;IAC9C,IAAI,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IACxB,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;IAC/B,GAAG,EAAE,CAAC,IAAI,EAAE,CAAC,KAAK,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC;CAC1B;AAED,wBAAgB,cAAc,CAAC,CAAC,EAC9B,IAAI,EAAE,CAAC,EAAE,GAAG,SAAS,GAAG,IAAI,EAC5B,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC,GAC3B,WAAW,EAAE,CAgDf"}
@@ -1,2 +1,12 @@
1
+ /**
2
+ * Whether the viewport is narrower than the mobile breakpoint.
3
+ *
4
+ * A media query is external state, so it is read through
5
+ * `useSyncExternalStore` rather than copied into a `useState` that an effect
6
+ * then catches up. The effect version returned `false` on the first render
7
+ * whatever the viewport was, and corrected itself one commit later — which is
8
+ * a layout flash on every mobile load, and the cascading render the
9
+ * `set-state-in-effect` rule exists to name.
10
+ */
1
11
  export declare function useIsMobile(): boolean;
2
12
  //# sourceMappingURL=use-mobile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAIA,wBAAgB,WAAW,YAc1B"}
1
+ {"version":3,"file":"use-mobile.d.ts","sourceRoot":"","sources":["../../src/hooks/use-mobile.ts"],"names":[],"mappings":"AAmBA;;;;;;;;;GASG;AACH,wBAAgB,WAAW,YAQ1B"}
@@ -1 +1 @@
1
- {"version":3,"file":"use-sub-page-breadcrumb.d.ts","sourceRoot":"","sources":["../../src/hooks/use-sub-page-breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,+BAA+B,CAAC;AAG3F;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,MAAM,GAAG,cAAc,GAAG,cAAc,EAAE,GAAG,SAAS,QA+DhE"}
1
+ {"version":3,"file":"use-sub-page-breadcrumb.d.ts","sourceRoot":"","sources":["../../src/hooks/use-sub-page-breadcrumb.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAyB,MAAM,+BAA+B,CAAC;AAG3F;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,MAAM,GAAG,cAAc,GAAG,cAAc,EAAE,GAAG,SAAS,QAsFhE"}
@@ -15,6 +15,8 @@ export declare const vigDesignSystemTranslations: {
15
15
  nav: {
16
16
  account: string;
17
17
  logOut: string;
18
+ organizations: string;
19
+ tenantAdmin: string;
18
20
  };
19
21
  forms: {
20
22
  common: {
@@ -79,6 +81,20 @@ export declare const vigDesignSystemTranslations: {
79
81
  cancel: string;
80
82
  saveChanges: string;
81
83
  delete: string;
84
+ moreActions: string;
85
+ edit: string;
86
+ new: string;
87
+ };
88
+ iconPicker: {
89
+ chooseAnIcon: string;
90
+ searchIcons: string;
91
+ aiSuggest: string;
92
+ aiSuggestions: string;
93
+ searching: string;
94
+ noIconsFound: string;
95
+ typeToSearch: string;
96
+ orClickAi: string;
97
+ done: string;
82
98
  };
83
99
  };
84
100
  dialog: {
@@ -104,6 +120,12 @@ export declare const vigDesignSystemTranslations: {
104
120
  errorLoading: string;
105
121
  openNavigation: string;
106
122
  connectionError: string;
123
+ active: string;
124
+ idle: string;
125
+ activeToggleHint: string;
126
+ idleToggleHint: string;
127
+ docs: string;
128
+ apps: string;
107
129
  };
108
130
  backendStatus: {
109
131
  offline: string;
@@ -115,6 +137,52 @@ export declare const vigDesignSystemTranslations: {
115
137
  description: string;
116
138
  reload: string;
117
139
  };
140
+ bento: {
141
+ nav: {
142
+ label: string;
143
+ };
144
+ palette: {
145
+ title: string;
146
+ description: string;
147
+ placeholder: string;
148
+ search: string;
149
+ open: string;
150
+ noResults: string;
151
+ opensConsole: string;
152
+ };
153
+ saveBar: {
154
+ unsaved: string;
155
+ titleRequired: string;
156
+ };
157
+ shortcuts: {
158
+ title: string;
159
+ description: string;
160
+ global: string;
161
+ palette: string;
162
+ openGuide: string;
163
+ navigate: string;
164
+ openSelected: string;
165
+ dismiss: string;
166
+ };
167
+ layout: {
168
+ customize: string;
169
+ editHint: string;
170
+ dragToReorder: string;
171
+ sizeGroup: string;
172
+ size: {
173
+ small: string;
174
+ medium: string;
175
+ large: string;
176
+ };
177
+ save: string;
178
+ saveGlobal: string;
179
+ reset: string;
180
+ saveFailed: string;
181
+ };
182
+ tour: {
183
+ replay: string;
184
+ };
185
+ };
118
186
  };
119
187
  pt: {
120
188
  theme: {
@@ -131,6 +199,8 @@ export declare const vigDesignSystemTranslations: {
131
199
  nav: {
132
200
  account: string;
133
201
  logOut: string;
202
+ organizations: string;
203
+ tenantAdmin: string;
134
204
  };
135
205
  forms: {
136
206
  common: {
@@ -195,6 +265,20 @@ export declare const vigDesignSystemTranslations: {
195
265
  cancel: string;
196
266
  saveChanges: string;
197
267
  delete: string;
268
+ moreActions: string;
269
+ edit: string;
270
+ new: string;
271
+ };
272
+ iconPicker: {
273
+ chooseAnIcon: string;
274
+ searchIcons: string;
275
+ aiSuggest: string;
276
+ aiSuggestions: string;
277
+ searching: string;
278
+ noIconsFound: string;
279
+ typeToSearch: string;
280
+ orClickAi: string;
281
+ done: string;
198
282
  };
199
283
  };
200
284
  dialog: {
@@ -220,6 +304,12 @@ export declare const vigDesignSystemTranslations: {
220
304
  errorLoading: string;
221
305
  openNavigation: string;
222
306
  connectionError: string;
307
+ active: string;
308
+ idle: string;
309
+ activeToggleHint: string;
310
+ idleToggleHint: string;
311
+ docs: string;
312
+ apps: string;
223
313
  };
224
314
  backendStatus: {
225
315
  offline: string;
@@ -231,6 +321,52 @@ export declare const vigDesignSystemTranslations: {
231
321
  description: string;
232
322
  reload: string;
233
323
  };
324
+ bento: {
325
+ nav: {
326
+ label: string;
327
+ };
328
+ palette: {
329
+ title: string;
330
+ description: string;
331
+ placeholder: string;
332
+ search: string;
333
+ open: string;
334
+ noResults: string;
335
+ opensConsole: string;
336
+ };
337
+ saveBar: {
338
+ unsaved: string;
339
+ titleRequired: string;
340
+ };
341
+ shortcuts: {
342
+ title: string;
343
+ description: string;
344
+ global: string;
345
+ palette: string;
346
+ openGuide: string;
347
+ navigate: string;
348
+ openSelected: string;
349
+ dismiss: string;
350
+ };
351
+ layout: {
352
+ customize: string;
353
+ editHint: string;
354
+ dragToReorder: string;
355
+ sizeGroup: string;
356
+ size: {
357
+ small: string;
358
+ medium: string;
359
+ large: string;
360
+ };
361
+ save: string;
362
+ saveGlobal: string;
363
+ reset: string;
364
+ saveFailed: string;
365
+ };
366
+ tour: {
367
+ replay: string;
368
+ };
369
+ };
234
370
  };
235
371
  };
236
372
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAoB3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBvC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,0BA+BpF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,IAAI,QAWhE;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/i18n/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,SAAS,CAAC;AAsB3B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmBvC,CAAC;AAEF;;;GAGG;AACH,wBAAgB,WAAW,CAAC,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,0BA+BpF;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,YAAY,EAAE,OAAO,IAAI,QAWhE;AAED,OAAO,EAAE,IAAI,EAAE,CAAC"}