Skip to content

Commit b195721

Browse files
authored
Release/v3.2.0 (#4766)
## What type of PR is this? (check all applicable) Release v3.2.0 ## Have you discussed this change with the InvokeAI team? - [X] Yes - [ ] No, because: ## Have you updated all relevant documentation? - [ ] Yes - [X] No Need to update prompting docs ## Description 3.2.0 release version ## [optional] Are there any post deployment tasks we need to perform?
2 parents f002ae8 + a673c0a commit b195721

11 files changed

+944
-622
lines changed

invokeai/frontend/web/dist/assets/App-ba2d118a.js

Lines changed: 169 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

invokeai/frontend/web/dist/assets/App-dbf8f111.js

Lines changed: 0 additions & 169 deletions
This file was deleted.

invokeai/frontend/web/dist/assets/MantineProvider-a057bfc9.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 280 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,280 @@
1+
import{w as s,hY as T,v as l,a2 as I,hZ as R,ae as V,h_ as z,h$ as j,i0 as D,i1 as F,i2 as G,i3 as W,i4 as K,aG as Y,i5 as Z,i6 as H}from"./index-94062f76.js";import{M as U}from"./MantineProvider-a057bfc9.js";var P=String.raw,E=P`
2+
:root,
3+
:host {
4+
--chakra-vh: 100vh;
5+
}
6+
7+
@supports (height: -webkit-fill-available) {
8+
:root,
9+
:host {
10+
--chakra-vh: -webkit-fill-available;
11+
}
12+
}
13+
14+
@supports (height: -moz-fill-available) {
15+
:root,
16+
:host {
17+
--chakra-vh: -moz-fill-available;
18+
}
19+
}
20+
21+
@supports (height: 100dvh) {
22+
:root,
23+
:host {
24+
--chakra-vh: 100dvh;
25+
}
26+
}
27+
`,B=()=>s.jsx(T,{styles:E}),J=({scope:e=""})=>s.jsx(T,{styles:P`
28+
html {
29+
line-height: 1.5;
30+
-webkit-text-size-adjust: 100%;
31+
font-family: system-ui, sans-serif;
32+
-webkit-font-smoothing: antialiased;
33+
text-rendering: optimizeLegibility;
34+
-moz-osx-font-smoothing: grayscale;
35+
touch-action: manipulation;
36+
}
37+
38+
body {
39+
position: relative;
40+
min-height: 100%;
41+
margin: 0;
42+
font-feature-settings: "kern";
43+
}
44+
45+
${e} :where(*, *::before, *::after) {
46+
border-width: 0;
47+
border-style: solid;
48+
box-sizing: border-box;
49+
word-wrap: break-word;
50+
}
51+
52+
main {
53+
display: block;
54+
}
55+
56+
${e} hr {
57+
border-top-width: 1px;
58+
box-sizing: content-box;
59+
height: 0;
60+
overflow: visible;
61+
}
62+
63+
${e} :where(pre, code, kbd,samp) {
64+
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
65+
font-size: 1em;
66+
}
67+
68+
${e} a {
69+
background-color: transparent;
70+
color: inherit;
71+
text-decoration: inherit;
72+
}
73+
74+
${e} abbr[title] {
75+
border-bottom: none;
76+
text-decoration: underline;
77+
-webkit-text-decoration: underline dotted;
78+
text-decoration: underline dotted;
79+
}
80+
81+
${e} :where(b, strong) {
82+
font-weight: bold;
83+
}
84+
85+
${e} small {
86+
font-size: 80%;
87+
}
88+
89+
${e} :where(sub,sup) {
90+
font-size: 75%;
91+
line-height: 0;
92+
position: relative;
93+
vertical-align: baseline;
94+
}
95+
96+
${e} sub {
97+
bottom: -0.25em;
98+
}
99+
100+
${e} sup {
101+
top: -0.5em;
102+
}
103+
104+
${e} img {
105+
border-style: none;
106+
}
107+
108+
${e} :where(button, input, optgroup, select, textarea) {
109+
font-family: inherit;
110+
font-size: 100%;
111+
line-height: 1.15;
112+
margin: 0;
113+
}
114+
115+
${e} :where(button, input) {
116+
overflow: visible;
117+
}
118+
119+
${e} :where(button, select) {
120+
text-transform: none;
121+
}
122+
123+
${e} :where(
124+
button::-moz-focus-inner,
125+
[type="button"]::-moz-focus-inner,
126+
[type="reset"]::-moz-focus-inner,
127+
[type="submit"]::-moz-focus-inner
128+
) {
129+
border-style: none;
130+
padding: 0;
131+
}
132+
133+
${e} fieldset {
134+
padding: 0.35em 0.75em 0.625em;
135+
}
136+
137+
${e} legend {
138+
box-sizing: border-box;
139+
color: inherit;
140+
display: table;
141+
max-width: 100%;
142+
padding: 0;
143+
white-space: normal;
144+
}
145+
146+
${e} progress {
147+
vertical-align: baseline;
148+
}
149+
150+
${e} textarea {
151+
overflow: auto;
152+
}
153+
154+
${e} :where([type="checkbox"], [type="radio"]) {
155+
box-sizing: border-box;
156+
padding: 0;
157+
}
158+
159+
${e} input[type="number"]::-webkit-inner-spin-button,
160+
${e} input[type="number"]::-webkit-outer-spin-button {
161+
-webkit-appearance: none !important;
162+
}
163+
164+
${e} input[type="number"] {
165+
-moz-appearance: textfield;
166+
}
167+
168+
${e} input[type="search"] {
169+
-webkit-appearance: textfield;
170+
outline-offset: -2px;
171+
}
172+
173+
${e} input[type="search"]::-webkit-search-decoration {
174+
-webkit-appearance: none !important;
175+
}
176+
177+
${e} ::-webkit-file-upload-button {
178+
-webkit-appearance: button;
179+
font: inherit;
180+
}
181+
182+
${e} details {
183+
display: block;
184+
}
185+
186+
${e} summary {
187+
display: list-item;
188+
}
189+
190+
template {
191+
display: none;
192+
}
193+
194+
[hidden] {
195+
display: none !important;
196+
}
197+
198+
${e} :where(
199+
blockquote,
200+
dl,
201+
dd,
202+
h1,
203+
h2,
204+
h3,
205+
h4,
206+
h5,
207+
h6,
208+
hr,
209+
figure,
210+
p,
211+
pre
212+
) {
213+
margin: 0;
214+
}
215+
216+
${e} button {
217+
background: transparent;
218+
padding: 0;
219+
}
220+
221+
${e} fieldset {
222+
margin: 0;
223+
padding: 0;
224+
}
225+
226+
${e} :where(ol, ul) {
227+
margin: 0;
228+
padding: 0;
229+
}
230+
231+
${e} textarea {
232+
resize: vertical;
233+
}
234+
235+
${e} :where(button, [role="button"]) {
236+
cursor: pointer;
237+
}
238+
239+
${e} button::-moz-focus-inner {
240+
border: 0 !important;
241+
}
242+
243+
${e} table {
244+
border-collapse: collapse;
245+
}
246+
247+
${e} :where(h1, h2, h3, h4, h5, h6) {
248+
font-size: inherit;
249+
font-weight: inherit;
250+
}
251+
252+
${e} :where(button, input, optgroup, select, textarea) {
253+
padding: 0;
254+
line-height: inherit;
255+
color: inherit;
256+
}
257+
258+
${e} :where(img, svg, video, canvas, audio, iframe, embed, object) {
259+
display: block;
260+
}
261+
262+
${e} :where(img, video) {
263+
max-width: 100%;
264+
height: auto;
265+
}
266+
267+
[data-js-focus-visible]
268+
:focus:not([data-focus-visible-added]):not(
269+
[data-focus-visible-disabled]
270+
) {
271+
outline: none;
272+
box-shadow: none;
273+
}
274+
275+
${e} select::-ms-expand {
276+
display: none;
277+
}
278+
279+
${E}
280+
`}),g={light:"chakra-ui-light",dark:"chakra-ui-dark"};function Q(e={}){const{preventTransition:o=!0}=e,n={setDataset:r=>{const t=o?n.preventTransition():void 0;document.documentElement.dataset.theme=r,document.documentElement.style.colorScheme=r,t==null||t()},setClassName(r){document.body.classList.add(r?g.dark:g.light),document.body.classList.remove(r?g.light:g.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(r){var t;return((t=n.query().matches)!=null?t:r==="dark")?"dark":"light"},addListener(r){const t=n.query(),i=a=>{r(a.matches?"dark":"light")};return typeof t.addListener=="function"?t.addListener(i):t.addEventListener("change",i),()=>{typeof t.removeListener=="function"?t.removeListener(i):t.removeEventListener("change",i)}},preventTransition(){const r=document.createElement("style");return r.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(r),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(r)})})}}};return n}var X="chakra-ui-color-mode";function L(e){return{ssr:!1,type:"localStorage",get(o){if(!(globalThis!=null&&globalThis.document))return o;let n;try{n=localStorage.getItem(e)||o}catch{}return n||o},set(o){try{localStorage.setItem(e,o)}catch{}}}}var ee=L(X),M=()=>{};function S(e,o){return e.type==="cookie"&&e.ssr?e.get(o):o}function O(e){const{value:o,children:n,options:{useSystemColorMode:r,initialColorMode:t,disableTransitionOnChange:i}={},colorModeManager:a=ee}=e,d=t==="dark"?"dark":"light",[u,p]=l.useState(()=>S(a,d)),[y,b]=l.useState(()=>S(a)),{getSystemTheme:w,setClassName:k,setDataset:x,addListener:$}=l.useMemo(()=>Q({preventTransition:i}),[i]),v=t==="system"&&!u?y:u,c=l.useCallback(h=>{const f=h==="system"?w():h;p(f),k(f==="dark"),x(f),a.set(f)},[a,w,k,x]);I(()=>{t==="system"&&b(w())},[]),l.useEffect(()=>{const h=a.get();if(h){c(h);return}if(t==="system"){c("system");return}c(d)},[a,d,t,c]);const C=l.useCallback(()=>{c(v==="dark"?"light":"dark")},[v,c]);l.useEffect(()=>{if(r)return $(c)},[r,$,c]);const A=l.useMemo(()=>({colorMode:o??v,toggleColorMode:o?M:C,setColorMode:o?M:c,forced:o!==void 0}),[v,C,c,o]);return s.jsx(R.Provider,{value:A,children:n})}O.displayName="ColorModeProvider";var te=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function re(e){return V(e)?te.every(o=>Object.prototype.hasOwnProperty.call(e,o)):!1}function m(e){return typeof e=="function"}function oe(...e){return o=>e.reduce((n,r)=>r(n),o)}var ne=e=>function(...n){let r=[...n],t=n[n.length-1];return re(t)&&r.length>1?r=r.slice(0,r.length-1):t=e,oe(...r.map(i=>a=>m(i)?i(a):ae(a,i)))(t)},ie=ne(j);function ae(...e){return z({},...e,_)}function _(e,o,n,r){if((m(e)||m(o))&&Object.prototype.hasOwnProperty.call(r,n))return(...t)=>{const i=m(e)?e(...t):e,a=m(o)?o(...t):o;return z({},i,a,_)}}var q=l.createContext({getDocument(){return document},getWindow(){return window}});q.displayName="EnvironmentContext";function N(e){const{children:o,environment:n,disabled:r}=e,t=l.useRef(null),i=l.useMemo(()=>n||{getDocument:()=>{var d,u;return(u=(d=t.current)==null?void 0:d.ownerDocument)!=null?u:document},getWindow:()=>{var d,u;return(u=(d=t.current)==null?void 0:d.ownerDocument.defaultView)!=null?u:window}},[n]),a=!r||!n;return s.jsxs(q.Provider,{value:i,children:[o,a&&s.jsx("span",{id:"__chakra_env",hidden:!0,ref:t})]})}N.displayName="EnvironmentProvider";var se=e=>{const{children:o,colorModeManager:n,portalZIndex:r,resetScope:t,resetCSS:i=!0,theme:a={},environment:d,cssVarsRoot:u,disableEnvironment:p,disableGlobalStyle:y}=e,b=s.jsx(N,{environment:d,disabled:p,children:o});return s.jsx(D,{theme:a,cssVarsRoot:u,children:s.jsxs(O,{colorModeManager:n,options:a.config,children:[i?s.jsx(J,{scope:t}):s.jsx(B,{}),!y&&s.jsx(F,{}),r?s.jsx(G,{zIndex:r,children:b}):b]})})},le=e=>function({children:n,theme:r=e,toastOptions:t,...i}){return s.jsxs(se,{theme:r,...i,children:[s.jsx(W,{value:t==null?void 0:t.defaultOptions,children:n}),s.jsx(K,{...t})]})},de=le(j);const ue=()=>l.useMemo(()=>({colorScheme:"dark",fontFamily:"'Inter Variable', sans-serif",components:{ScrollArea:{defaultProps:{scrollbarSize:10},styles:{scrollbar:{"&:hover":{backgroundColor:"var(--invokeai-colors-baseAlpha-300)"}},thumb:{backgroundColor:"var(--invokeai-colors-baseAlpha-300)"}}}}}),[]),ce=L("@@invokeai-color-mode");function he({children:e}){const{i18n:o}=Y(),n=o.dir(),r=l.useMemo(()=>ie({...Z,direction:n}),[n]);l.useEffect(()=>{document.body.dir=n},[n]);const t=ue();return s.jsx(U,{theme:t,children:s.jsx(de,{theme:r,colorModeManager:ce,toastOptions:H,children:e})})}const ve=l.memo(he);export{ve as default};

0 commit comments

Comments
 (0)