@knapsack/types 4.71.0--canary.4884.682c89f.0 → 4.71.0--canary.4884.e6e5828.0

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,41 @@
1
+ # v4.70.6 (Mon Oct 21 2024)
2
+
3
+ #### 🐛 Bug Fix
4
+
5
+ - remove fin chatbot [#4977](https://github.com/knapsack-labs/app-monorepo/pull/4977) ([@mabry1985](https://github.com/mabry1985))
6
+ - merge latest ([@mabry1985](https://github.com/mabry1985))
7
+
8
+ #### 🏠 Internal
9
+
10
+ - add priority and additional category support [#4980](https://github.com/knapsack-labs/app-monorepo/pull/4980) ([@mabry1985](https://github.com/mabry1985))
11
+ - change feedback formgql endpoint to send to zendesk instead [#4965](https://github.com/knapsack-labs/app-monorepo/pull/4965) ([@mabry1985](https://github.com/mabry1985))
12
+
13
+ #### Authors: 1
14
+
15
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
16
+
17
+ ---
18
+
19
+ # v4.70.5 (Mon Oct 21 2024)
20
+
21
+ #### 🐛 Bug Fix
22
+
23
+ - adds array of numbers as spec option ([@mabry1985](https://github.com/mabry1985))
24
+
25
+ #### 🏠 Internal
26
+
27
+ - Update Typescript [#4707](https://github.com/knapsack-labs/app-monorepo/pull/4707) ([@renovate[bot]](https://github.com/renovate[bot]))
28
+ - adds array of numbers as spec option [#4976](https://github.com/knapsack-labs/app-monorepo/pull/4976) ([@mabry1985](https://github.com/mabry1985))
29
+ - update to TypeScript 5.6 [#4972](https://github.com/knapsack-labs/app-monorepo/pull/4972) ([@EvanLovely](https://github.com/EvanLovely))
30
+
31
+ #### Authors: 3
32
+
33
+ - [@renovate[bot]](https://github.com/renovate[bot])
34
+ - Evan Lovely ([@EvanLovely](https://github.com/EvanLovely))
35
+ - Josh Mabry ([@mabry1985](https://github.com/mabry1985))
36
+
37
+ ---
38
+
1
39
  # v4.70.4 (Wed Oct 09 2024)
2
40
 
3
41
  #### 🏠 Internal
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ function _interopNamespace(e) {
28
28
  var t__namespace = /*#__PURE__*/_interopNamespace(t);
29
29
  var Ae__default = /*#__PURE__*/_interopDefault(Ae);
30
30
 
31
- var ce=Object.defineProperty;var o=(e,r)=>ce(e,"name",{value:r,configurable:!0});var ge=(e,r)=>{for(var i in r)ce(e,i,{get:r[i],enumerable:!0});};function Fe(e){if(typeof e!="string")return !1;try{return !!Ae__default.default.get(e)}catch{return !1}}o(Fe,"isColor");var F=t.define("ColorStringStruct",e=>typeof e=="string"&&Fe(e)),p=t.union([t.type({type:t.literal("value"),colorValue:F}),t.type({type:t.literal("design-token"),tokenName:t.string()})]),un=t.type({type:t.literal("design-token"),tokenName:t.string()});var Sn=["h1","h2","h3","h4","h5","h6"],me=t.object({unit:t.enums(["rem","px"]),value:t.number()}),de=t.union([t.string(),t.number()]),We=(i=>(i.woff2="woff2",i.woff="woff",i))(We||{}),_e=t.enums(["woff2","woff"]),Le=t.type({format:_e,type:t.literal("url"),path:t.string()}),N=t.type({family:t.optional(t.string()),weight:t.optional(t.union([de,t.size(t.array(de),2)])),src:t.optional(t.array(Le)),style:t.optional(t.string()),display:t.optional(t.enums(["auto","block","swap","fallback","optional"])),variationSettings:t.optional(t.string()),unicodeRange:t.optional(t.string())}),Ge=(f=>(f.inherit="As typed",f.capitalize="Capitalize",f.lowercase="Lowercase",f.uppercase="Uppercase",f))(Ge||{}),$e=(g=>(g["ultra-condensed"]="Ultra-condensed",g["extra-condensed"]="Extra-condensed",g.condensed="Condensed",g["semi-condensed"]="Semi-condensed",g.normal="Normal",g["semi-expanded"]="Semi-expanded",g.expanded="Expanded",g["extra-expanded"]="Extra-expanded",g["ultra-expanded"]="Ultra-expanded",g))($e||{}),w=t.type({fontWeight:t.optional(t.union([t.string(),t.number()])),textColor:t.optional(p),hoverColor:t.optional(p),underline:t.optional(t.boolean()),textTransform:t.optional(t.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:t.optional(t.enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),He=t.type({min:me,max:t.optional(me)}),a=t.type({fontSize:t.optional(He),lineHeight:t.optional(t.union([t.string(),t.number()])),fontWeight:t.optional(t.union([t.string(),t.number()])),letterSpacing:t.optional(t.string()),fontFamily:t.optional(t.string()),textColor:t.optional(p),textTransform:t.optional(t.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:t.optional(t.enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),m={},ye={},Cn={pageTitle:m,pageDescription:m,headingLarge:m,headingMedium:m,headingSmall:m,bodyText:m,link:ye},xn={pageTitle:m,pageDescription:m,headingXLarge:m,headingLarge:m,headingMedium:m,headingSmall:m,headingXSmall:m,bodyText:m,link:ye};var I=t.union([a,t.type({accentColor:t.optional(p)})]),j=t.union([I,t.type({hoverColor:t.optional(p),backgroundColor:t.optional(p)})]),W=t.union([I,t.type({backgroundColor:t.optional(p)})]),qe={},Je={},Ye={},Rn={primaryNav:Ye,secondaryNav:Je,tabs:qe};var jn=t.object({version:t.literal(1),oldSillySidebarBgColor:F}),Wn=t.object({version:t.literal(2),anotherSillySidebarBgColor:F}),_n=t.object({version:t.literal(3),sidebarBgColor:F}),Ln=t.object({version:t.literal(4),primaryColor:p,darkColor:p,lightColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0))}),Gn=t.object({version:t.literal(5),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0))}),$n=t.object({version:t.literal(6),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0)),appearance:t.type({customFonts:t.optional(t.array(N)),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Hn=t.object({version:t.literal(7),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0)),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),qn=t.object({version:t.literal(8),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Jn=t.object({version:t.literal(9),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Xe=t.object({version:t.literal(10),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingXLarge:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),headingXSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Yn=Xe;var eo=["large","medium","small"],to=["large","medium","small"];var oo={default:"Default",android:"Android",cssVar:"CSS Var",json:"JSON",less:"Less",scss:"SCSS",swift:"Swift"};var io=["solid","dashed","dotted","double","groove","ridge","outset","inset"];function Qe(e){return typeof e!="string"?!1:e.split("{").length-1===1&&e.startsWith("{")&&e.endsWith("}")}o(Qe,"isTokenReference");function b(e){return typeof e=="string"&&e.includes("{")}o(b,"hasTokenReferences");function Ze(e){return !Qe(e)}o(Ze,"isNotTokenReference");var l=t__namespace.define("Token Reference",e=>typeof e!="string"?!1:Ze(e)?"Must start and end with curly braces":!0),et={border:"border",shadow:"shadow",transition:"transition"},tt=Object.values(et),nt={string:"string",number:"number",boolean:"boolean",color:"color",dimension:"dimension",duration:"duration",fontWeight:"fontWeight",strokeStyle:"strokeStyle",cubicBezier:"cubicBezier"},ot=Object.values(nt);function q(e){return tt.includes(e)}o(q,"isTokenTypeComposite");function Te(e){return ot.includes(e)}o(Te,"isTokenTypeSingular");utils.expectType([{inset:!1,color:"#000",offsetX:"0px",offsetY:"0px",spread:"0px",blur:"0px"},{color:"#000",offsetX:"0px",offsetY:"0px",spread:"0px",blur:"0px",inset:!0}]);var c=t__namespace.type({id:t__namespace.string(),description:t__namespace.optional(t__namespace.string()),references:t__namespace.optional(t__namespace.array(t__namespace.array(t__namespace.string()))),tokenConfig:t__namespace.optional(t__namespace.type({purpose:t__namespace.optional(t__namespace.string())}))});utils.expectType([{type:"duration",value:"1ms",originalValue:"1ms",id:"1",kind:"static"},{type:"duration",value:"1ms",kind:"ref",id:"1",originalValue:"{a.b}",referencedTokenId:"1"},{type:"duration",value:"1ms",originalValue:"1ms",id:"1",kind:"ref"},{type:"duration",value:"1ms",kind:"static",id:"1",originalValue:"{a.b}",referencedTokenId:"1"},{type:"color",value:"#000",kind:"static",id:"1",originalValue:"#000"},{type:"color",value:"#000",kind:"ref",id:"1",originalValue:"{c.b}",referencedTokenId:"c.b"},{type:"cubicBezier",kind:"static",value:[0,0,0,1],originalValue:[0,0,0,1],id:"1"}]);function To(e){return q(e.type)}o(To,"isTokenDataComposite");utils.expectType([{type:"border",kind:"static",id:"1",value:{color:"#000",style:"solid",width:"1px"},originalValue:{color:"#000",style:"solid",width:"1px"}},{type:"border",kind:"ref",referencedTokenId:"a.b",id:"1",value:{color:"red",style:"dashed",width:"2px"},originalValue:"{a.b}"},{type:"shadow",value:{color:"#000",offsetX:"1px",offsetY:"1px",blur:"1px",spread:"1px",inset:!1},originalValue:{color:"#000",offsetX:"{a.a}",offsetY:"1px",blur:"1px",spread:"1px",inset:!1},id:"1",kind:"static"},{type:"shadow",kind:"ref",referencedTokenId:"a.b",value:{inset:!0,color:"red",offsetX:"1px",blur:"2px",offsetY:"3px",spread:"4px"},originalValue:"{a.b}",id:"1"},{type:"transition",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:"{a.b}",kind:"ref",referencedTokenId:"a.b",id:"1"},{type:"transition",kind:"static",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:{duration:"100ms",delay:"{a.c}",timingFunction:"{a.c}"},id:"1"},{type:"transition",kind:"static",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},id:"1"}]);function it(e){return typeof e=="string"&&!b(e)}o(it,"isTokenValueColor");var A=t__namespace.define("Color Value",e=>typeof e!="string"?"Value must be a string":e===""?"Value must not be empty":b(e)?"Value must not contain {} (token references)":!0),at=t__namespace.assign(t__namespace.type({type:t__namespace.literal("color"),value:A,kind:t__namespace.literal("static"),originalValue:A}),c),st=t__namespace.assign(t__namespace.type({type:t__namespace.literal("color"),value:A,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function J(e){return typeof e=="string"&&(e.endsWith("px")||e.endsWith("rem"))&&!b(e)}o(J,"isTokenValueDimension");var D=t__namespace.define("Dimension Value",e=>typeof e!="string"?"Value must be a string":b(e)?"Value must not contain {} (token references)":!e.endsWith("px")&&!e.endsWith("rem")&&!e.endsWith("em")&&!e.endsWith("%")?"Value must end with px, rem, em or %":!0),pt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("dimension"),value:D,kind:t__namespace.literal("static"),originalValue:D}),c),lt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("dimension"),value:D,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function So(e){return typeof e=="string"&&e.endsWith("ms")&&!b(e)}o(So,"isTokenValueDuration");var R=t__namespace.define("Duration Value",e=>typeof e!="string"?"Value must be a string":b(e)?"Value must not contain {} (token references)":/^\d+ms$/.test(e)?!0:'Value must be a number followed by "ms" (e.g., "100ms")'),ct=t__namespace.assign(t__namespace.type({type:t__namespace.literal("duration"),value:R,kind:t__namespace.literal("static"),originalValue:R}),c),gt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("duration"),value:R,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function Co(e){return (typeof e=="string"||typeof e=="number")&&!b(e)}o(Co,"isTokenValueFontWeight");var ae=t__namespace.define("Font Weight Value",e=>typeof e!="string"&&typeof e!="number"?"Value must be a string or number":b(e)?"Value must not contain {} (token references)":!0),ut=t__namespace.assign(t__namespace.type({type:t__namespace.literal("fontWeight"),value:ae,kind:t__namespace.literal("static"),originalValue:ae}),c),ft=t__namespace.assign(t__namespace.type({type:t__namespace.literal("fontWeight"),value:ae,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),L=t__namespace.define("Cubic Bezier Value",e=>Array.isArray(e)?e.length!==4||!e.every(r=>typeof r=="number")?"Value must be an array of 4 numbers":e[0]<0||e[0]>1||e[2]<0||e[2]>1?"The first and third cubicBezier values must be between 0 and 1":!0:"Value must be an array"),mt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("cubicBezier"),value:L,kind:t__namespace.literal("static"),originalValue:L}),c),dt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("cubicBezier"),value:L,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function yt(e){return utils.isObject(e)&&it(e.color)&&J(e.offsetX)&&J(e.offsetY)&&J(e.blur)&&J(e.spread)}o(yt,"isTokenValueShadow");var Se=t__namespace.define("Shadow Value",e=>yt(e)?!0:`Expected a shadow value, got ${JSON.stringify(e)}`),kt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("shadow"),value:Se,kind:t__namespace.literal("static"),originalValue:t__namespace.type({color:t__namespace.union([A,l]),offsetX:t__namespace.union([D,l]),offsetY:t__namespace.union([D,l]),blur:t__namespace.union([D,l]),spread:t__namespace.union([D,l]),inset:t__namespace.union([t__namespace.optional(t__namespace.boolean()),l])})}),c),Tt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("shadow"),value:Se,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),K=t__namespace.union([t__namespace.literal("solid"),t__namespace.literal("dashed"),t__namespace.literal("dotted"),t__namespace.literal("double"),t__namespace.literal("groove"),t__namespace.literal("ridge"),t__namespace.literal("outset"),t__namespace.literal("inset")]);function St(e){return utils.isObject(e)&&A.is(e.color)&&K.is(e.style)&&D.is(e.width)}o(St,"isTokenValueBorder");var Ce=t__namespace.define("Border Value",St),Ct=t__namespace.assign(t__namespace.type({type:t__namespace.literal("border"),value:Ce,kind:t__namespace.literal("static"),originalValue:t__namespace.type({color:t__namespace.union([A,l]),style:t__namespace.union([K,l]),width:t__namespace.union([D,l])})}),c),xt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("border"),value:Ce,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function bt(e){return utils.isObject(e)&&L.is(e.timingFunction)&&R.is(e.duration)&&R.is(e.delay)}o(bt,"isTokenValueTransition");var xe=t__namespace.define("Transition Value",bt),Dt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("transition"),value:xe,kind:t__namespace.literal("static"),originalValue:t__namespace.type({timingFunction:t__namespace.union([L,l]),duration:t__namespace.union([R,l]),delay:t__namespace.union([R,l])})}),c),ht=t__namespace.assign(t__namespace.type({type:t__namespace.literal("transition"),value:xe,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),Vt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("string"),value:t__namespace.string(),kind:t__namespace.literal("static"),originalValue:t__namespace.string()}),c),vt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("string"),value:t__namespace.string(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),Pt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("strokeStyle"),value:K,kind:t__namespace.literal("static"),originalValue:K}),c),It=t__namespace.assign(t__namespace.type({type:t__namespace.literal("strokeStyle"),value:K,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:K}),c),Rt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("number"),value:t__namespace.number(),kind:t__namespace.literal("static"),originalValue:t__namespace.number()}),c),Bt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("number"),value:t__namespace.number(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),Et=t__namespace.assign(t__namespace.type({type:t__namespace.literal("boolean"),value:t__namespace.boolean(),kind:t__namespace.literal("static"),originalValue:t__namespace.boolean()}),c),Nt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("boolean"),value:t__namespace.boolean(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),xo=o(e=>{if(!utils.isObject(e))throw new Error(`Expected token data to be an object, got ${JSON.stringify(e)}`);if(!utils.isObjKey("type",e))throw new Error(`Expected token data to have a "type" property, got ${JSON.stringify(e)}`);if(typeof e.type!="string")throw new Error(`Expected token data "type" property to be a string, got ${JSON.stringify(e)}`);let r=e.type,i=e.kind;try{switch(r){case"boolean":i==="ref"?Nt.assert(e):Et.assert(e);return;case"border":i==="ref"?xt.assert(e):Ct.assert(e);return;case"color":i==="ref"?st.assert(e):at.assert(e);return;case"cubicBezier":i==="ref"?dt.assert(e):mt.assert(e);return;case"dimension":i==="ref"?lt.assert(e):pt.assert(e);return;case"duration":i==="ref"?gt.assert(e):ct.assert(e);return;case"fontWeight":i==="ref"?ft.assert(e):ut.assert(e);return;case"number":i==="ref"?Bt.assert(e):Rt.assert(e);return;case"shadow":i==="ref"?Tt.assert(e):kt.assert(e);return;case"string":i==="ref"?vt.assert(e):Vt.assert(e);return;case"strokeStyle":i==="ref"?It.assert(e):Pt.assert(e);return;case"transition":i==="ref"?ht.assert(e):Dt.assert(e);return;default:{throw new Error(`Unknown token data type: ${r}`)}}}catch(g){throw g instanceof t__namespace.StructError?new Error(`Invalid token data for type "${r}": ${g.message}. Received this data: "${JSON.stringify(e)}"`):g}},"assertTokenData");utils.expectType([{type:"dimension",kind:"static",value:"1px"},{type:"dimension",kind:"ref",referencedTokenId:"a.b"}]);utils.expectType([{type:"border",kind:"ref",referencedTokenId:"a.b"},{type:"border",kind:"static",value:{color:{kind:"static",type:"color",value:"red"},style:{kind:"ref",type:"strokeStyle",referencedTokenId:""},width:{kind:"static",type:"dimension",value:"2px"}}}]);utils.expectType([{type:"transition",kind:"ref",referencedTokenId:"a.b"},{type:"transition",kind:"static",value:{delay:{kind:"static",type:"duration",value:"1ms"},duration:{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},timingFunction:{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]}}}]);function Bo(e){return Te(e?.type)}o(Bo,"isTokenSrcValueInfoSingular");function Eo(e){return q(e?.type)}o(Eo,"isTokenSrcValueInfoComposite");utils.expectType([{type:"dimension",kind:"static",value:"1px"},{type:"transition",kind:"ref",referencedTokenId:"a.b"},{type:"transition",kind:"ref",value:"1px"},{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]},{type:"transition",kind:"static",value:{delay:{kind:"static",type:"duration",value:"1ms"},duration:{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},timingFunction:{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]}}}]);function At(e){return utils.isObject(e)&&utils.isObjKey("cloud.knapsack",e)}o(At,"isTokenSrcExtensions");utils.expectType(["#ddd",!0,[83,1,1,1],{color:"#000",style:"solid",width:"1px"},{inset:!0,color:"#000",offsetX:"0px",offsetY:"{spacing.medium}",spread:"0px",blur:"0px"},{timingFunction:"{timing.ease}",duration:"{timing.duration.medium}",delay:"7ms",color:"#000"}]);function Oo(e){return !!(utils.isObject(e)&&utils.isObjKey("$value",e))}o(Oo,"isTokenSrc");function Kt(e){return utils.isObject(e)&&!At(e)&&!utils.isObjKey("$value",e)&&!utils.isObjKey("cloud.knapsack",e)}o(Kt,"isTokenGroup");function Fo(e){if(Kt(e)){let r=e.$extensions["cloud.knapsack"].group.collectionInfo;if(utils.isObjKey("type",r)&&utils.isObjKey("referenceId",r))return !0}return !1}o(Fo,"isTokenTypeVarRef");function jo(e){let r=typeof e;if(r==="string"||r==="number"||r==="boolean")return r;throw new Error(`Invalid token value type: ${JSON.stringify(r)}. Token value is: ${JSON.stringify(e)}`)}o(jo,"getPrimitiveValue");var Wo=o(e=>e.includes("px")||e.includes("rem")||e.includes("em")||e.includes("%"),"isDimensionString");function _o(e){let{value:r,unit:i}=utils.parseNumberWithUnit(e);if(!i)return {value:r};if(i!=="px"&&i!=="rem"&&i!=="em"&&i!=="%")throw new Error(`Invalid unit "${i}" for value: ${r}`);return {value:r,unit:i}}o(_o,"parseTokenDimensionValue");var Ho=o(e=>utils.isObject(e)&&e.type==="text","isSlottedText");function qo(e){return utils.isObject(e)&&e.type==="template-demo"}o(qo,"isSlottedTemplateDemo");function Jo(e){return utils.isObject(e)&&e.type==="template-reference"}o(Jo,"isSlottedTemplateReference");var Ft=(i=>(i.portrait="portrait",i.landscape="landscape",i))(Ft||{});function Yo(e){return e?.type==="data"}o(Yo,"isDataDemo");function Xo(e){return e?.type==="template"}o(Xo,"isTemplateDemo");var be=(y=>(y.auto="auto",y.small="small",y.medium="medium",y.large="large",y.full="full",y))(be||{});function zt(e){return !utils.isObject(e)||!["assetSetsState","customPagesState","navsState","patternsState","tokensSrc","db"].every(i=>utils.isObjKey(i,e))?!1:!utils.isObjKey("metaState",e)}o(zt,"isKsAppClientDataNoMeta");var rr=t.define("KsAppClientDataNoMeta",zt);function Mt(e){return utils.isObject(e)?["assetSetsState","customPagesState","navsState","patternsState","tokensSrc","metaState","db"].every(i=>utils.isObjKey(i,e)):!1}o(Mt,"isKsAppClientDataAndMeta");var ir=t.define("KsAppClientDataAndMeta",Mt),jt=t.type({isLocalDev:t.boolean(),plugins:t.array(t.type({id:t.string(),hasContent:t.boolean(),clientPluginPath:t.optional(t.string()),cssPath:t.optional(t.string())})),meta:t.optional(t.type({version:t.optional(t.string()),hasKnapsackCloud:t.boolean(),knapsackCloudSiteId:t.optional(t.string()),serverPort:t.optional(t.number()),websocketsPort:t.optional(t.number()),https:t.optional(t.boolean()),cacheDir:t.optional(t.string()),ksVersions:t.type({app:t.string()})}))}),ar=jt.is;function _t(e){return !utils.isObject(e)||!["assetSetsState","customPagesState","navsState","patternsState","settingsState","tokensState"].every(i=>utils.isObjKey(i,e))?!1:!utils.isObjKey("metaState",e)}o(_t,"isKsAppClientDataNoMetaV3");var br=t.define("KsAppClientDataNoMeta",_t);function Lt(e){return utils.isObject(e)?["assetSetsState","customPagesState","navsState","patternsState","settingsState","tokensState","metaState"].every(i=>utils.isObjKey(i,e)):!1}o(Lt,"isKsAppClientDataAndMetaV3");var Dr=t.define("KsAppClientDataAndMeta",Lt),Gt=t.type({isLocalDev:t.boolean(),plugins:t.array(t.type({id:t.string(),hasContent:t.boolean(),clientPluginPath:t.optional(t.string()),cssPath:t.optional(t.string())})),meta:t.optional(t.type({version:t.optional(t.string()),hasKnapsackCloud:t.boolean(),knapsackCloudSiteId:t.optional(t.string()),serverPort:t.optional(t.number()),websocketsPort:t.optional(t.number()),https:t.optional(t.boolean()),cacheDir:t.optional(t.string()),ksVersions:t.type({app:t.string()})}))}),hr=Gt.is;var Pe={version:"4.1.7",checkIfNeeded:o(e=>!0,"checkIfNeeded"),migrate:o(e=>{if(!immer.isDraft(e))throw new Error("Tried to run migrations on appClientData but it is not an Immer Draft");Object.values(e.patternsState.patterns).forEach(r=>{delete r.demoSize;}),Object.values(e.db.demos.byId).forEach(r=>{r.type==="data"&&(Object.entries(r.data.slots??{}).forEach(([i,g])=>{r.data.slots[i]=g.map(f=>typeof f=="string"?{type:"text",text:f}:(f.type==="template-reference"||f.type==="text"||(f.type="template-demo"),f));}),!(r.patternId&&r.templateId)&&(()=>{for(let{id:i,templates:g=[]}of Object.values(e.patternsState.patterns))for(let{id:f,demoIds:y=[]}of g)if(y.includes(r.id)){r.patternId=i,r.templateId=f;return}})());});},"migrate")};var Er=[Pe];var Ht=(k=>(k.string="string",k.boolean="boolean",k.number="number",k.object="object",k.options="options",k.function="function",k.customTypeScript="customTypeScript",k.array="array",k.arrayOfObjects="arrayOfObjects",k.arrayOfStrings="arrayOfStrings",k.unknown="unknown",k))(Ht||{}),wr=o(e=>"type"in e&&e.type==="string"&&!("enum"in e),"isStringProp"),Ar=o(e=>"type"in e&&e.type==="number","isNumberProp"),Kr=o(e=>"type"in e&&e.type==="boolean","isBooleanProp"),Or=o(e=>"enum"in e,"isOptionsProp"),Fr=o(e=>"typeof"in e&&e?.typeof==="function","isFunctionProp"),Ur=o(e=>!("typeof"in e)&&"tsType"in e,"isCustomTypeScriptProp"),zr=o(e=>"type"in e&&e.type==="array"&&"items"in e&&e.items.type==="object","isArrayOfObjectsProp"),Mr=o(e=>"type"in e&&e.type==="object"&&"properties"in e&&Object.keys(e.properties).length>0,"isObjectProp"),jr=o(e=>"type"in e&&e.type==="array"&&"items"in e&&e.items.type==="string","isArrayOfStringsProp");var Ie=t__namespace.object({op:t__namespace.union([t__namespace.literal("replace"),t__namespace.literal("remove"),t__namespace.literal("add")]),path:t__namespace.array(t__namespace.union([t__namespace.string(),t__namespace.number()])),value:t__namespace.optional(t__namespace.any())}),qt=Ie,Lr=o(e=>qt.is(e),"isPatch"),le=t__namespace.array(Ie),Jt=le,Gr=o(e=>Jt.is(e),"isPatches"),Re=t__namespace.type({patches:le,inversePatches:t__namespace.optional(le),event:t__namespace.optional(t__namespace.object({type:t__namespace.string()})),id:t__namespace.string(),date:t__namespace.string(),userId:t__namespace.optional(t__namespace.string())}),Yt=Re,$r=o(e=>Yt.is(e),"isKsRemoteChange"),Xt=t__namespace.array(Re),Qt=Xt,Hr=o(e=>Qt.is(e),"isKsRemoteChanges");var Yr={react:"react",vue:"vue","web-components":"web-components",twig:"twig",hbs:"hbs",angular:"angular",html:"html"};var Zt=(r=>(r.ready="ready",r))(Zt||{}),Qr="ks-meta";var ei={PATTERN_TEMPLATE_CHANGED:"PATTERN_TEMPLATE_CHANGED",PATTERN_ASSET_CHANGED:"PATTERN_ASSET_CHANGED",DESIGN_TOKENS_CHANGED:"DESIGN_TOKENS_CHANGED",RENDERER_CLIENT_RELOAD:"RENDERER_CLIENT_RELOAD",APP_CLIENT_DATA_CHANGED:"APP_CLIENT_DATA_CHANGED"};var en=(y=>(y.GitHub="GitHub",y.GitLab="GitLab",y.GitLabRest="GitLabRest",y.Bitbucket="Bitbucket",y.Azure="Azure",y))(en||{}),tn=(g=>(g.Conflicting="CONFLICTING",g.Mergeable="MERGEABLE",g.Unknown="UNKNOWN",g))(tn||{}),nn=(f=>(f.Create="CREATE",f.Move="MOVE",f.Update="UPDATE",f.Chmod="CHMOD",f))(nn||{}),on=(i=>(i.Base64="BASE64",i.Text="TEXT",i))(on||{});var Ee={};ge(Ee,{ACTIONS:()=>Be,endpoint:()=>rn});var rn="/plugins",Be=(r=>(r.getContent="getContent",r))(Be||{});var we={};ge(we,{ACTIONS:()=>Ne,endpoint:()=>an});var an="/files",Ne=(r=>(r.verify="verify",r))(Ne||{});var sn={ADMIN:"ADMIN",ANONYMOUS:"ANONYMOUS",CONTRIBUTOR:"CONTRIBUTOR",EDITOR:"EDITOR",MANAGER:"MANAGER",VIEWER:"VIEWER"},ri=Object.values(sn);
31
+ var ce=Object.defineProperty;var n=(e,r)=>ce(e,"name",{value:r,configurable:!0});var ue=(e,r)=>{for(var i in r)ce(e,i,{get:r[i],enumerable:!0});};function Fe(e){if(typeof e!="string")return !1;try{return !!Ae__default.default.get(e)}catch{return !1}}n(Fe,"isColor");var F=t.define("ColorStringStruct",e=>typeof e=="string"&&Fe(e)),p=t.union([t.type({type:t.literal("value"),colorValue:F}),t.type({type:t.literal("design-token"),tokenName:t.string()})]),uo=t.type({type:t.literal("design-token"),tokenName:t.string()});var So=["h1","h2","h3","h4","h5","h6"],me=t.object({unit:t.enums(["rem","px"]),value:t.number()}),ye=t.union([t.string(),t.number()]),We=(i=>(i.woff2="woff2",i.woff="woff",i))(We||{}),_e=t.enums(["woff2","woff"]),Le=t.type({format:_e,type:t.literal("url"),path:t.string()}),N=t.type({family:t.optional(t.string()),weight:t.optional(t.union([ye,t.size(t.array(ye),2)])),src:t.optional(t.array(Le)),style:t.optional(t.string()),display:t.optional(t.enums(["auto","block","swap","fallback","optional"])),variationSettings:t.optional(t.string()),unicodeRange:t.optional(t.string())}),Ge=(f=>(f.inherit="As typed",f.capitalize="Capitalize",f.lowercase="Lowercase",f.uppercase="Uppercase",f))(Ge||{}),$e=(u=>(u["ultra-condensed"]="Ultra-condensed",u["extra-condensed"]="Extra-condensed",u.condensed="Condensed",u["semi-condensed"]="Semi-condensed",u.normal="Normal",u["semi-expanded"]="Semi-expanded",u.expanded="Expanded",u["extra-expanded"]="Extra-expanded",u["ultra-expanded"]="Ultra-expanded",u))($e||{}),w=t.type({fontWeight:t.optional(t.union([t.string(),t.number()])),textColor:t.optional(p),hoverColor:t.optional(p),underline:t.optional(t.boolean()),textTransform:t.optional(t.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:t.optional(t.enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),He=t.type({min:me,max:t.optional(me)}),a=t.type({fontSize:t.optional(He),lineHeight:t.optional(t.union([t.string(),t.number()])),fontWeight:t.optional(t.union([t.string(),t.number()])),letterSpacing:t.optional(t.string()),fontFamily:t.optional(t.string()),textColor:t.optional(p),textTransform:t.optional(t.enums(["inherit","capitalize","lowercase","uppercase"])),fontStretch:t.optional(t.enums(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]))}),m={},de={},Co={pageTitle:m,pageDescription:m,headingLarge:m,headingMedium:m,headingSmall:m,bodyText:m,link:de},xo={pageTitle:m,pageDescription:m,headingXLarge:m,headingLarge:m,headingMedium:m,headingSmall:m,headingXSmall:m,bodyText:m,link:de};var I=t.union([a,t.type({accentColor:t.optional(p)})]),j=t.union([I,t.type({hoverColor:t.optional(p),backgroundColor:t.optional(p)})]),W=t.union([I,t.type({backgroundColor:t.optional(p)})]),qe={},Je={},Ye={},Ro={primaryNav:Ye,secondaryNav:Je,tabs:qe};var jo=t.object({version:t.literal(1),oldSillySidebarBgColor:F}),Wo=t.object({version:t.literal(2),anotherSillySidebarBgColor:F}),_o=t.object({version:t.literal(3),sidebarBgColor:F}),Lo=t.object({version:t.literal(4),primaryColor:p,darkColor:p,lightColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0))}),Go=t.object({version:t.literal(5),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0))}),$o=t.object({version:t.literal(6),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0)),appearance:t.type({customFonts:t.optional(t.array(N)),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Ho=t.object({version:t.literal(7),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,enableSidebarIcons:t.optional(t.defaulted(t.boolean(),!0)),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),qo=t.object({version:t.literal(8),primaryColor:p,darkColor:p,lightColor:p,linkColor:p,appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Jo=t.object({version:t.literal(9),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Xe=t.object({version:t.literal(10),appearance:t.type({customFonts:t.optional(t.array(N)),navigation:t.optional(t.type({primaryNav:t.optional(j),secondaryNav:t.optional(W),tabs:t.optional(I)})),pageElements:t.type({pageTitle:t.optional(a),pageDescription:t.optional(a),headingXLarge:t.optional(a),headingLarge:t.optional(a),headingMedium:t.optional(a),headingSmall:t.optional(a),headingXSmall:t.optional(a),bodyText:t.optional(a),link:t.optional(w)})})}),Yo=Xe;var en=["large","medium","small"],tn=["large","medium","small"];var nn={default:"Default",android:"Android",cssVar:"CSS Var",json:"JSON",less:"Less",scss:"SCSS",swift:"Swift"};var an=["solid","dashed","dotted","double","groove","ridge","outset","inset"];function Qe(e){return typeof e!="string"?!1:e.split("{").length-1===1&&e.startsWith("{")&&e.endsWith("}")}n(Qe,"isTokenReference");function b(e){return typeof e=="string"&&e.includes("{")}n(b,"hasTokenReferences");function Ze(e){return !Qe(e)}n(Ze,"isNotTokenReference");var l=t__namespace.define("Token Reference",e=>typeof e!="string"?!1:Ze(e)?"Must start and end with curly braces":!0),et={border:"border",shadow:"shadow",transition:"transition"},tt=Object.values(et),ot={string:"string",number:"number",boolean:"boolean",color:"color",dimension:"dimension",duration:"duration",fontWeight:"fontWeight",strokeStyle:"strokeStyle",cubicBezier:"cubicBezier"},nt=Object.values(ot);function q(e){return tt.includes(e)}n(q,"isTokenTypeComposite");function Te(e){return nt.includes(e)}n(Te,"isTokenTypeSingular");utils.expectType([{inset:!1,color:"#000",offsetX:"0px",offsetY:"0px",spread:"0px",blur:"0px"},{color:"#000",offsetX:"0px",offsetY:"0px",spread:"0px",blur:"0px",inset:!0}]);var c=t__namespace.type({id:t__namespace.string(),description:t__namespace.optional(t__namespace.string()),references:t__namespace.optional(t__namespace.array(t__namespace.array(t__namespace.string()))),tokenConfig:t__namespace.optional(t__namespace.type({purpose:t__namespace.optional(t__namespace.string())}))});utils.expectType([{type:"duration",value:"1ms",originalValue:"1ms",id:"1",kind:"static"},{type:"duration",value:"1ms",kind:"ref",id:"1",originalValue:"{a.b}",referencedTokenId:"1"},{type:"duration",value:"1ms",originalValue:"1ms",id:"1",kind:"ref"},{type:"duration",value:"1ms",kind:"static",id:"1",originalValue:"{a.b}",referencedTokenId:"1"},{type:"color",value:"#000",kind:"static",id:"1",originalValue:"#000"},{type:"color",value:"#000",kind:"ref",id:"1",originalValue:"{c.b}",referencedTokenId:"c.b"},{type:"cubicBezier",kind:"static",value:[0,0,0,1],originalValue:[0,0,0,1],id:"1"}]);function Tn(e){return q(e.type)}n(Tn,"isTokenDataComposite");utils.expectType([{type:"border",kind:"static",id:"1",value:{color:"#000",style:"solid",width:"1px"},originalValue:{color:"#000",style:"solid",width:"1px"}},{type:"border",kind:"ref",referencedTokenId:"a.b",id:"1",value:{color:"red",style:"dashed",width:"2px"},originalValue:"{a.b}"},{type:"shadow",value:{color:"#000",offsetX:"1px",offsetY:"1px",blur:"1px",spread:"1px",inset:!1},originalValue:{color:"#000",offsetX:"{a.a}",offsetY:"1px",blur:"1px",spread:"1px",inset:!1},id:"1",kind:"static"},{type:"shadow",kind:"ref",referencedTokenId:"a.b",value:{inset:!0,color:"red",offsetX:"1px",blur:"2px",offsetY:"3px",spread:"4px"},originalValue:"{a.b}",id:"1"},{type:"transition",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:"{a.b}",kind:"ref",referencedTokenId:"a.b",id:"1"},{type:"transition",kind:"static",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:{duration:"100ms",delay:"{a.c}",timingFunction:"{a.c}"},id:"1"},{type:"transition",kind:"static",value:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},originalValue:{duration:"100ms",delay:"200ms",timingFunction:[0,0,0,0]},id:"1"}]);function it(e){return typeof e=="string"&&!b(e)}n(it,"isTokenValueColor");var A=t__namespace.define("Color Value",e=>typeof e!="string"?"Value must be a string":e===""?"Value must not be empty":b(e)?"Value must not contain {} (token references)":!0),at=t__namespace.assign(t__namespace.type({type:t__namespace.literal("color"),value:A,kind:t__namespace.literal("static"),originalValue:A}),c),st=t__namespace.assign(t__namespace.type({type:t__namespace.literal("color"),value:A,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function J(e){return typeof e=="string"&&(e.endsWith("px")||e.endsWith("rem"))&&!b(e)}n(J,"isTokenValueDimension");var D=t__namespace.define("Dimension Value",e=>typeof e!="string"?"Value must be a string":b(e)?"Value must not contain {} (token references)":!e.endsWith("px")&&!e.endsWith("rem")&&!e.endsWith("em")&&!e.endsWith("%")?"Value must end with px, rem, em or %":!0),pt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("dimension"),value:D,kind:t__namespace.literal("static"),originalValue:D}),c),lt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("dimension"),value:D,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function Sn(e){return typeof e=="string"&&e.endsWith("ms")&&!b(e)}n(Sn,"isTokenValueDuration");var R=t__namespace.define("Duration Value",e=>typeof e!="string"?"Value must be a string":b(e)?"Value must not contain {} (token references)":/^\d+ms$/.test(e)?!0:'Value must be a number followed by "ms" (e.g., "100ms")'),ct=t__namespace.assign(t__namespace.type({type:t__namespace.literal("duration"),value:R,kind:t__namespace.literal("static"),originalValue:R}),c),ut=t__namespace.assign(t__namespace.type({type:t__namespace.literal("duration"),value:R,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function Cn(e){return (typeof e=="string"||typeof e=="number")&&!b(e)}n(Cn,"isTokenValueFontWeight");var ae=t__namespace.define("Font Weight Value",e=>typeof e!="string"&&typeof e!="number"?"Value must be a string or number":b(e)?"Value must not contain {} (token references)":!0),gt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("fontWeight"),value:ae,kind:t__namespace.literal("static"),originalValue:ae}),c),ft=t__namespace.assign(t__namespace.type({type:t__namespace.literal("fontWeight"),value:ae,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),L=t__namespace.define("Cubic Bezier Value",e=>Array.isArray(e)?e.length!==4||!e.every(r=>typeof r=="number")?"Value must be an array of 4 numbers":e[0]<0||e[0]>1||e[2]<0||e[2]>1?"The first and third cubicBezier values must be between 0 and 1":!0:"Value must be an array"),mt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("cubicBezier"),value:L,kind:t__namespace.literal("static"),originalValue:L}),c),yt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("cubicBezier"),value:L,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function dt(e){return utils.isObject(e)&&it(e.color)&&J(e.offsetX)&&J(e.offsetY)&&J(e.blur)&&J(e.spread)}n(dt,"isTokenValueShadow");var Se=t__namespace.define("Shadow Value",e=>dt(e)?!0:`Expected a shadow value, got ${JSON.stringify(e)}`),kt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("shadow"),value:Se,kind:t__namespace.literal("static"),originalValue:t__namespace.type({color:t__namespace.union([A,l]),offsetX:t__namespace.union([D,l]),offsetY:t__namespace.union([D,l]),blur:t__namespace.union([D,l]),spread:t__namespace.union([D,l]),inset:t__namespace.union([t__namespace.optional(t__namespace.boolean()),l])})}),c),Tt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("shadow"),value:Se,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),O=t__namespace.union([t__namespace.literal("solid"),t__namespace.literal("dashed"),t__namespace.literal("dotted"),t__namespace.literal("double"),t__namespace.literal("groove"),t__namespace.literal("ridge"),t__namespace.literal("outset"),t__namespace.literal("inset")]);function St(e){return utils.isObject(e)&&A.is(e.color)&&O.is(e.style)&&D.is(e.width)}n(St,"isTokenValueBorder");var Ce=t__namespace.define("Border Value",St),Ct=t__namespace.assign(t__namespace.type({type:t__namespace.literal("border"),value:Ce,kind:t__namespace.literal("static"),originalValue:t__namespace.type({color:t__namespace.union([A,l]),style:t__namespace.union([O,l]),width:t__namespace.union([D,l])})}),c),xt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("border"),value:Ce,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c);function bt(e){return utils.isObject(e)&&L.is(e.timingFunction)&&R.is(e.duration)&&R.is(e.delay)}n(bt,"isTokenValueTransition");var xe=t__namespace.define("Transition Value",bt),Dt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("transition"),value:xe,kind:t__namespace.literal("static"),originalValue:t__namespace.type({timingFunction:t__namespace.union([L,l]),duration:t__namespace.union([R,l]),delay:t__namespace.union([R,l])})}),c),ht=t__namespace.assign(t__namespace.type({type:t__namespace.literal("transition"),value:xe,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),Vt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("string"),value:t__namespace.string(),kind:t__namespace.literal("static"),originalValue:t__namespace.string()}),c),Pt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("string"),value:t__namespace.string(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),vt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("strokeStyle"),value:O,kind:t__namespace.literal("static"),originalValue:O}),c),It=t__namespace.assign(t__namespace.type({type:t__namespace.literal("strokeStyle"),value:O,kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:O}),c),Rt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("number"),value:t__namespace.number(),kind:t__namespace.literal("static"),originalValue:t__namespace.number()}),c),Bt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("number"),value:t__namespace.number(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),Et=t__namespace.assign(t__namespace.type({type:t__namespace.literal("boolean"),value:t__namespace.boolean(),kind:t__namespace.literal("static"),originalValue:t__namespace.boolean()}),c),Nt=t__namespace.assign(t__namespace.type({type:t__namespace.literal("boolean"),value:t__namespace.boolean(),kind:t__namespace.literal("ref"),originalValue:l,referencedTokenId:t__namespace.string()}),c),xn=n(e=>{if(!utils.isObject(e))throw new Error(`Expected token data to be an object, got ${JSON.stringify(e)}`);if(!utils.isObjKey("type",e))throw new Error(`Expected token data to have a "type" property, got ${JSON.stringify(e)}`);if(typeof e.type!="string")throw new Error(`Expected token data "type" property to be a string, got ${JSON.stringify(e)}`);let r=e.type,i=e.kind;try{switch(r){case"boolean":i==="ref"?Nt.assert(e):Et.assert(e);return;case"border":i==="ref"?xt.assert(e):Ct.assert(e);return;case"color":i==="ref"?st.assert(e):at.assert(e);return;case"cubicBezier":i==="ref"?yt.assert(e):mt.assert(e);return;case"dimension":i==="ref"?lt.assert(e):pt.assert(e);return;case"duration":i==="ref"?ut.assert(e):ct.assert(e);return;case"fontWeight":i==="ref"?ft.assert(e):gt.assert(e);return;case"number":i==="ref"?Bt.assert(e):Rt.assert(e);return;case"shadow":i==="ref"?Tt.assert(e):kt.assert(e);return;case"string":i==="ref"?Pt.assert(e):Vt.assert(e);return;case"strokeStyle":i==="ref"?It.assert(e):vt.assert(e);return;case"transition":i==="ref"?ht.assert(e):Dt.assert(e);return;default:{throw new Error(`Unknown token data type: ${r}`)}}}catch(u){throw u instanceof t__namespace.StructError?new Error(`Invalid token data for type "${r}": ${u.message}. Received this data: "${JSON.stringify(e)}"`):u}},"assertTokenData");utils.expectType([{type:"dimension",kind:"static",value:"1px"},{type:"dimension",kind:"ref",referencedTokenId:"a.b"}]);utils.expectType([{type:"border",kind:"ref",referencedTokenId:"a.b"},{type:"border",kind:"static",value:{color:{kind:"static",type:"color",value:"red"},style:{kind:"ref",type:"strokeStyle",referencedTokenId:""},width:{kind:"static",type:"dimension",value:"2px"}}}]);utils.expectType([{type:"transition",kind:"ref",referencedTokenId:"a.b"},{type:"transition",kind:"static",value:{delay:{kind:"static",type:"duration",value:"1ms"},duration:{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},timingFunction:{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]}}}]);function Bn(e){return Te(e?.type)}n(Bn,"isTokenSrcValueInfoSingular");function En(e){return q(e?.type)}n(En,"isTokenSrcValueInfoComposite");utils.expectType([{type:"dimension",kind:"static",value:"1px"},{type:"transition",kind:"ref",referencedTokenId:"a.b"},{type:"transition",kind:"ref",value:"1px"},{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]},{type:"transition",kind:"static",value:{delay:{kind:"static",type:"duration",value:"1ms"},duration:{kind:"ref",type:"duration",referencedTokenId:"animation.slow"},timingFunction:{kind:"static",type:"cubicBezier",value:[.4,0,.2,1]}}}]);function At(e){return utils.isObject(e)&&utils.isObjKey("cloud.knapsack",e)}n(At,"isTokenSrcExtensions");utils.expectType(["#ddd",!0,[83,1,1,1],{color:"#000",style:"solid",width:"1px"},{inset:!0,color:"#000",offsetX:"0px",offsetY:"{spacing.medium}",spread:"0px",blur:"0px"},{timingFunction:"{timing.ease}",duration:"{timing.duration.medium}",delay:"7ms",color:"#000"}]);function Kn(e){return !!(utils.isObject(e)&&utils.isObjKey("$value",e))}n(Kn,"isTokenSrc");function Ot(e){return utils.isObject(e)&&!At(e)&&!utils.isObjKey("$value",e)&&!utils.isObjKey("cloud.knapsack",e)}n(Ot,"isTokenGroup");function Fn(e){if(Ot(e)){let r=e.$extensions["cloud.knapsack"].group.collectionInfo;if(utils.isObjKey("type",r)&&utils.isObjKey("referenceId",r))return !0}return !1}n(Fn,"isTokenTypeVarRef");function jn(e){let r=typeof e;if(r==="string"||r==="number"||r==="boolean")return r;throw new Error(`Invalid token value type: ${JSON.stringify(r)}. Token value is: ${JSON.stringify(e)}`)}n(jn,"getPrimitiveValue");var Wn=n(e=>e.includes("px")||e.includes("rem")||e.includes("em")||e.includes("%"),"isDimensionString");function _n(e){let{value:r,unit:i}=utils.parseNumberWithUnit(e);if(!i)return {value:r};if(i!=="px"&&i!=="rem"&&i!=="em"&&i!=="%")throw new Error(`Invalid unit "${i}" for value: ${r}`);return {value:r,unit:i}}n(_n,"parseTokenDimensionValue");var Hn=n(e=>utils.isObject(e)&&e.type==="text","isSlottedText");function qn(e){return utils.isObject(e)&&e.type==="template-demo"}n(qn,"isSlottedTemplateDemo");function Jn(e){return utils.isObject(e)&&e.type==="template-reference"}n(Jn,"isSlottedTemplateReference");var Ft=(i=>(i.portrait="portrait",i.landscape="landscape",i))(Ft||{});function Yn(e){return e?.type==="data"}n(Yn,"isDataDemo");function Xn(e){return e?.type==="template"}n(Xn,"isTemplateDemo");var be=(d=>(d.auto="auto",d.small="small",d.medium="medium",d.large="large",d.full="full",d))(be||{});function zt(e){return !utils.isObject(e)||!["assetSetsState","customPagesState","navsState","patternsState","tokensSrc","db"].every(i=>utils.isObjKey(i,e))?!1:!utils.isObjKey("metaState",e)}n(zt,"isKsAppClientDataNoMeta");var rr=t.define("KsAppClientDataNoMeta",zt);function Mt(e){return utils.isObject(e)?["assetSetsState","customPagesState","navsState","patternsState","tokensSrc","metaState","db"].every(i=>utils.isObjKey(i,e)):!1}n(Mt,"isKsAppClientDataAndMeta");var ir=t.define("KsAppClientDataAndMeta",Mt),jt=t.type({isLocalDev:t.boolean(),plugins:t.array(t.type({id:t.string(),hasContent:t.boolean(),clientPluginPath:t.optional(t.string()),cssPath:t.optional(t.string())})),meta:t.optional(t.type({version:t.optional(t.string()),hasKnapsackCloud:t.boolean(),knapsackCloudSiteId:t.optional(t.string()),serverPort:t.optional(t.number()),websocketsPort:t.optional(t.number()),https:t.optional(t.boolean()),cacheDir:t.optional(t.string()),ksVersions:t.type({app:t.string()})}))}),ar=jt.is;function _t(e){return !utils.isObject(e)||!["assetSetsState","customPagesState","navsState","patternsState","settingsState","tokensState"].every(i=>utils.isObjKey(i,e))?!1:!utils.isObjKey("metaState",e)}n(_t,"isKsAppClientDataNoMetaV3");var br=t.define("KsAppClientDataNoMeta",_t);function Lt(e){return utils.isObject(e)?["assetSetsState","customPagesState","navsState","patternsState","settingsState","tokensState","metaState"].every(i=>utils.isObjKey(i,e)):!1}n(Lt,"isKsAppClientDataAndMetaV3");var Dr=t.define("KsAppClientDataAndMeta",Lt),Gt=t.type({isLocalDev:t.boolean(),plugins:t.array(t.type({id:t.string(),hasContent:t.boolean(),clientPluginPath:t.optional(t.string()),cssPath:t.optional(t.string())})),meta:t.optional(t.type({version:t.optional(t.string()),hasKnapsackCloud:t.boolean(),knapsackCloudSiteId:t.optional(t.string()),serverPort:t.optional(t.number()),websocketsPort:t.optional(t.number()),https:t.optional(t.boolean()),cacheDir:t.optional(t.string()),ksVersions:t.type({app:t.string()})}))}),hr=Gt.is;var ve={version:"4.1.7",checkIfNeeded:n(e=>!0,"checkIfNeeded"),migrate:n(e=>{if(!immer.isDraft(e))throw new Error("Tried to run migrations on appClientData but it is not an Immer Draft");Object.values(e.patternsState.patterns).forEach(r=>{delete r.demoSize;}),Object.values(e.db.demos.byId).forEach(r=>{r.type==="data"&&(Object.entries(r.data.slots??{}).forEach(([i,u])=>{r.data.slots[i]=u.map(f=>typeof f=="string"?{type:"text",text:f}:(f.type==="template-reference"||f.type==="text"||(f.type="template-demo"),f));}),!(r.patternId&&r.templateId)&&(()=>{for(let{id:i,templates:u=[]}of Object.values(e.patternsState.patterns))for(let{id:f,demoIds:d=[]}of u)if(d.includes(r.id)){r.patternId=i,r.templateId=f;return}})());});},"migrate")};var Er=[ve];var Ht=(k=>(k.string="string",k.boolean="boolean",k.number="number",k.object="object",k.options="options",k.function="function",k.customTypeScript="customTypeScript",k.array="array",k.arrayOfObjects="arrayOfObjects",k.arrayOfStrings="arrayOfStrings",k.arrayOfNumbers="arrayOfNumbers",k.unknown="unknown",k))(Ht||{}),wr=n(e=>"type"in e&&e.type==="string"&&!("enum"in e),"isStringProp"),Ar=n(e=>"type"in e&&e.type==="number","isNumberProp"),Or=n(e=>"type"in e&&e.type==="boolean","isBooleanProp"),Kr=n(e=>"enum"in e,"isOptionsProp"),Fr=n(e=>"typeof"in e&&e?.typeof==="function","isFunctionProp"),Ur=n(e=>!("typeof"in e)&&"tsType"in e,"isCustomTypeScriptProp"),zr=n(e=>"type"in e&&e.type==="array"&&"items"in e&&e.items.type==="object","isArrayOfObjectsProp"),Mr=n(e=>"type"in e&&e.type==="object"&&"properties"in e&&Object.keys(e.properties).length>0,"isObjectProp"),jr=n(e=>"type"in e&&e.type==="array"&&"items"in e&&e.items.type==="string","isArrayOfStringsProp"),Wr=n(e=>"type"in e&&e.type==="array"&&"items"in e&&e.items.type==="number","isArrayOfNumbersProp");var Ie=t__namespace.object({op:t__namespace.union([t__namespace.literal("replace"),t__namespace.literal("remove"),t__namespace.literal("add")]),path:t__namespace.array(t__namespace.union([t__namespace.string(),t__namespace.number()])),value:t__namespace.optional(t__namespace.any())}),qt=Ie,Gr=n(e=>qt.is(e),"isPatch"),le=t__namespace.array(Ie),Jt=le,$r=n(e=>Jt.is(e),"isPatches"),Re=t__namespace.type({patches:le,inversePatches:t__namespace.optional(le),event:t__namespace.optional(t__namespace.object({type:t__namespace.string()})),id:t__namespace.string(),date:t__namespace.string(),userId:t__namespace.optional(t__namespace.string())}),Yt=Re,Hr=n(e=>Yt.is(e),"isKsRemoteChange"),Xt=t__namespace.array(Re),Qt=Xt,qr=n(e=>Qt.is(e),"isKsRemoteChanges");var Xr={react:"react",vue:"vue","web-components":"web-components",twig:"twig",hbs:"hbs",angular:"angular",html:"html"};var Zt=(r=>(r.ready="ready",r))(Zt||{}),Zr="ks-meta";var ti={PATTERN_TEMPLATE_CHANGED:"PATTERN_TEMPLATE_CHANGED",PATTERN_ASSET_CHANGED:"PATTERN_ASSET_CHANGED",DESIGN_TOKENS_CHANGED:"DESIGN_TOKENS_CHANGED",RENDERER_CLIENT_RELOAD:"RENDERER_CLIENT_RELOAD",APP_CLIENT_DATA_CHANGED:"APP_CLIENT_DATA_CHANGED"};var eo=(d=>(d.GitHub="GitHub",d.GitLab="GitLab",d.GitLabRest="GitLabRest",d.Bitbucket="Bitbucket",d.Azure="Azure",d))(eo||{}),to=(u=>(u.Conflicting="CONFLICTING",u.Mergeable="MERGEABLE",u.Unknown="UNKNOWN",u))(to||{}),oo=(f=>(f.Create="CREATE",f.Move="MOVE",f.Update="UPDATE",f.Chmod="CHMOD",f))(oo||{}),no=(i=>(i.Base64="BASE64",i.Text="TEXT",i))(no||{});var Ee={};ue(Ee,{ACTIONS:()=>Be,endpoint:()=>ro});var ro="/plugins",Be=(r=>(r.getContent="getContent",r))(Be||{});var we={};ue(we,{ACTIONS:()=>Ne,endpoint:()=>io});var io="/files",Ne=(r=>(r.verify="verify",r))(Ne||{});var ao={ADMIN:"ADMIN",ANONYMOUS:"ANONYMOUS",CONTRIBUTOR:"CONTRIBUTOR",EDITOR:"EDITOR",MANAGER:"MANAGER",VIEWER:"VIEWER"},ii=Object.values(ao);
32
32
 
33
33
  Object.defineProperty(exports, "isObjKey", {
34
34
  enumerable: true,
@@ -38,22 +38,22 @@ Object.defineProperty(exports, "isObject", {
38
38
  enumerable: true,
39
39
  get: function () { return utils.isObject; }
40
40
  });
41
- exports.BlockSizes = eo;
42
- exports.BlockSpacings = to;
41
+ exports.BlockSizes = en;
42
+ exports.BlockSpacings = tn;
43
43
  exports.ColorConfigStruct = p;
44
44
  exports.ColorStringStruct = F;
45
- exports.ColorTokenConfigStruct = un;
45
+ exports.ColorTokenConfigStruct = uo;
46
46
  exports.FilesApi = we;
47
47
  exports.FontFaceConfigStruct = N;
48
48
  exports.FontFaceFormatsEnumStruct = _e;
49
49
  exports.FontFaceSourceFormats = We;
50
50
  exports.FontFaceSourceStruct = Le;
51
- exports.FontFaceWeightStruct = de;
51
+ exports.FontFaceWeightStruct = ye;
52
52
  exports.FontSizeConfigStruct = He;
53
53
  exports.FontSizeConfigValStruct = me;
54
54
  exports.FontStretches = $e;
55
- exports.GitProviderType = en;
56
- exports.HeadingLevels = Sn;
55
+ exports.GitProviderType = eo;
56
+ exports.HeadingLevels = So;
57
57
  exports.KsAppClientDataAndMetaStruct = ir;
58
58
  exports.KsAppClientDataAndMetaStructV3 = Dr;
59
59
  exports.KsAppClientDataNoMetaStruct = rr;
@@ -62,16 +62,16 @@ exports.KsMetaStateStruct = jt;
62
62
  exports.KsMetaStateStructV3 = Gt;
63
63
  exports.KsRemoteChangesStruct = Qt;
64
64
  exports.KsRendererClientEvents = Zt;
65
- exports.MergeableState = tn;
65
+ exports.MergeableState = to;
66
66
  exports.NavCustomizationConfigStruct = I;
67
67
  exports.PageHeaderSizes = be;
68
68
  exports.PluginsApi = Ee;
69
69
  exports.PrimaryNavCustomizationConfigStruct = j;
70
70
  exports.PropTypeNames = Ht;
71
- exports.RestActions = nn;
71
+ exports.RestActions = oo;
72
72
  exports.SecondaryNavCustomizationConfigStruct = W;
73
73
  exports.StageLayouts = Ft;
74
- exports.TextEncoding = on;
74
+ exports.TextEncoding = no;
75
75
  exports.TextTransforms = Ge;
76
76
  exports.TokenReferenceStruct = l;
77
77
  exports.TokenValueColorStruct = A;
@@ -79,31 +79,32 @@ exports.TokenValueCubicBezierStruct = L;
79
79
  exports.TokenValueDimensionStruct = D;
80
80
  exports.TokenValueDurationStruct = R;
81
81
  exports.TokenValueFontWeightStruct = ae;
82
- exports.TokenValueStrokeStyleStruct = K;
82
+ exports.TokenValueStrokeStyleStruct = O;
83
83
  exports.TypographyConfigStruct = a;
84
84
  exports.TypographyLinkConfigStruct = w;
85
- exports.UiConfigStruct = Yn;
85
+ exports.UiConfigStruct = Yo;
86
86
  exports.UiConfigV10Struct = Xe;
87
- exports.UiConfigV1Struct = jn;
88
- exports.UiConfigV2Struct = Wn;
89
- exports.UiConfigV3Struct = _n;
90
- exports.UiConfigV4Struct = Ln;
91
- exports.UiConfigV5Struct = Gn;
92
- exports.UiConfigV6Struct = $n;
93
- exports.UiConfigV7Struct = Hn;
94
- exports.UiConfigV8Struct = qn;
95
- exports.UiConfigV9Struct = Jn;
96
- exports.WS_EVENTS = ei;
97
- exports.assertTokenData = xo;
98
- exports.customizableNavElements = Rn;
99
- exports.getPrimitiveValue = jo;
87
+ exports.UiConfigV1Struct = jo;
88
+ exports.UiConfigV2Struct = Wo;
89
+ exports.UiConfigV3Struct = _o;
90
+ exports.UiConfigV4Struct = Lo;
91
+ exports.UiConfigV5Struct = Go;
92
+ exports.UiConfigV6Struct = $o;
93
+ exports.UiConfigV7Struct = Ho;
94
+ exports.UiConfigV8Struct = qo;
95
+ exports.UiConfigV9Struct = Jo;
96
+ exports.WS_EVENTS = ti;
97
+ exports.assertTokenData = xn;
98
+ exports.customizableNavElements = Ro;
99
+ exports.getPrimitiveValue = jn;
100
100
  exports.hasTokenReferences = b;
101
+ exports.isArrayOfNumbersProp = Wr;
101
102
  exports.isArrayOfObjectsProp = zr;
102
103
  exports.isArrayOfStringsProp = jr;
103
- exports.isBooleanProp = Kr;
104
+ exports.isBooleanProp = Or;
104
105
  exports.isCustomTypeScriptProp = Ur;
105
- exports.isDataDemo = Yo;
106
- exports.isDimensionString = Wo;
106
+ exports.isDataDemo = Yn;
107
+ exports.isDimensionString = Wn;
107
108
  exports.isFunctionProp = Fr;
108
109
  exports.isKsAppClientDataAndMeta = Mt;
109
110
  exports.isKsAppClientDataAndMetaV3 = Lt;
@@ -111,47 +112,47 @@ exports.isKsAppClientDataNoMeta = zt;
111
112
  exports.isKsAppClientDataNoMetaV3 = _t;
112
113
  exports.isKsMetaState = ar;
113
114
  exports.isKsMetaStateV3 = hr;
114
- exports.isKsRemoteChange = $r;
115
- exports.isKsRemoteChanges = Hr;
115
+ exports.isKsRemoteChange = Hr;
116
+ exports.isKsRemoteChanges = qr;
116
117
  exports.isNotTokenReference = Ze;
117
118
  exports.isNumberProp = Ar;
118
119
  exports.isObjectProp = Mr;
119
- exports.isOptionsProp = Or;
120
- exports.isPatch = Lr;
121
- exports.isPatches = Gr;
122
- exports.isSlottedTemplateDemo = qo;
123
- exports.isSlottedTemplateReference = Jo;
124
- exports.isSlottedText = Ho;
120
+ exports.isOptionsProp = Kr;
121
+ exports.isPatch = Gr;
122
+ exports.isPatches = $r;
123
+ exports.isSlottedTemplateDemo = qn;
124
+ exports.isSlottedTemplateReference = Jn;
125
+ exports.isSlottedText = Hn;
125
126
  exports.isStringProp = wr;
126
- exports.isTemplateDemo = Xo;
127
- exports.isTokenDataComposite = To;
128
- exports.isTokenGroup = Kt;
127
+ exports.isTemplateDemo = Xn;
128
+ exports.isTokenDataComposite = Tn;
129
+ exports.isTokenGroup = Ot;
129
130
  exports.isTokenReference = Qe;
130
- exports.isTokenSrc = Oo;
131
+ exports.isTokenSrc = Kn;
131
132
  exports.isTokenSrcExtensions = At;
132
- exports.isTokenSrcValueInfoComposite = Eo;
133
- exports.isTokenSrcValueInfoSingular = Bo;
133
+ exports.isTokenSrcValueInfoComposite = En;
134
+ exports.isTokenSrcValueInfoSingular = Bn;
134
135
  exports.isTokenTypeComposite = q;
135
136
  exports.isTokenTypeSingular = Te;
136
- exports.isTokenTypeVarRef = Fo;
137
+ exports.isTokenTypeVarRef = Fn;
137
138
  exports.isTokenValueBorder = St;
138
139
  exports.isTokenValueColor = it;
139
140
  exports.isTokenValueDimension = J;
140
- exports.isTokenValueDuration = So;
141
- exports.isTokenValueFontWeight = Co;
142
- exports.isTokenValueShadow = yt;
141
+ exports.isTokenValueDuration = Sn;
142
+ exports.isTokenValueFontWeight = Cn;
143
+ exports.isTokenValueShadow = dt;
143
144
  exports.isTokenValueTransition = bt;
144
- exports.ksRendererClientMetaId = Qr;
145
+ exports.ksRendererClientMetaId = Zr;
145
146
  exports.migrations = Er;
146
- exports.pageElements = Cn;
147
- exports.pageElementsV2 = xn;
148
- exports.parseTokenDimensionValue = _o;
149
- exports.rendererIds = Yr;
150
- exports.roles = ri;
151
- exports.rolesById = sn;
152
- exports.strokeStyleValues = io;
153
- exports.tokenNameDisplayFormats = oo;
147
+ exports.pageElements = Co;
148
+ exports.pageElementsV2 = xo;
149
+ exports.parseTokenDimensionValue = _n;
150
+ exports.rendererIds = Xr;
151
+ exports.roles = ii;
152
+ exports.rolesById = ao;
153
+ exports.strokeStyleValues = an;
154
+ exports.tokenNameDisplayFormats = nn;
154
155
  exports.tokenTypeComposites = tt;
155
- exports.tokenTypeSingulars = ot;
156
+ exports.tokenTypeSingulars = nt;
156
157
  //# sourceMappingURL=index.js.map
157
158
  //# sourceMappingURL=index.js.map