@tollbrothers/blueprint 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- var t=require("classnames"),e=require("react/jsx-runtime"),n=require("react");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=/*#__PURE__*/o(t);function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r.apply(null,arguments)}function i(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;n[o]=t[o]}return n}var l={button:"_RkubW",small:"_pV7AR",xsmall:"_7FiWF",fullWidth:"_6cI1z",primary:"_ay1Sp",secondary:"_UebRL",defaultColorStroke:"_Lb6KY",defaultColorText:"_sZZuY"},s=["children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth"],f={default:l.default,small:l.small,xsmall:l.xsmall},m={defaultColor:l.defaultColorFill},c={defaultColor:l.defaultColorStroke},h={defaultColor:l.defaultColorText},d=function(t){var n,o=t.children,d=t.size,u=void 0===d?"default":d,p=t.variant,y=void 0===p?"primary":p,x=t.PRIMARY_FILL_VARIANT,g=void 0===x?"defaultColor":x,b=t.SECONDARY_STROKE_VARIANT,S=void 0===b?"defaultColor":b,v=t.SECONDARY_TEXT_VARIANT,H=void 0===v?"defaultColor":v,F=t.className,w=void 0===F?"":F,B=t.fullWidth,T=void 0!==B&&B,N=i(t,s),D=a.default(l.button,f[u],l[y],((n={})[l.fullWidth]=T,n[m[g]||m.defaultColor]="primary"===y,n[c[S]||c.defaultColor]="secondary"===y,n[h[H]||h.defaultColor]="secondary"===y,n),w);/*#__PURE__*/return e.jsx("button",r({className:D,type:"button"},N,{children:o}))},u=["children","className"],p=function(t){var n=t.children,o=t.className,a=void 0===o?"":o,l=i(t,u);/*#__PURE__*/return e.jsx("button",r({className:"_-kJUj "+a,color:"inherit",type:"button"},l,{children:n}))},y=["isCondensed","children","className"],x=function(t){var e=t.theme;return r({},e,{typography:r({},Object.keys(e.typography).reduce(function(t,n,o){var a;return 0===o&&(t[n]=e.typography[n].font),r({},t,((a={})[n]=r({},e.typography[n],{font:e.typography[n].fontStyle+"\n "+e.typography[n].fontWeight+"\n "+e.typography[n].fontSize+"/\n "+e.typography[n].lineHeight+"\n "+e.typography[n].fontFamily,fontStyle:e.typography[n].fontStyle,fontWeight:e.typography[n].fontWeight,fontSize:e.typography[n].fontSize,lineHeight:e.typography[n].lineHeight,fontFamily:e.typography[n].fontFamily,textDecorationLine:e.typography[n].textDecorationLine,textTransform:e.typography[n].textTransform,margin:e.typography[n].margin}),a))},{}))})};function g(t,e){void 0===e&&(e="");for(var n={},o=0,a=Object.entries(t);o<a.length;o++){var r=a[o],i=r[0],l=r[1],s=e?e+"-"+i:i;"object"==typeof l&&null!==l?Object.assign(n,g(l,s)):n["--tb-"+s]=l}return n}var b=/*#__PURE__*/n.createContext(),S=["placeholder","disabled","className"],v=/*#__PURE__*/n.forwardRef(function(t,o){var a=t.placeholder,l=t.disabled,s=t.className,f=i(t,S),m=n.useState({isFocused:!1,hasValue:!1}),c=m[0],h=m[1],d=n.useCallback(function(){l||h(function(t){return r({},t,{isFocused:!0})})},[l]),u=n.useCallback(function(t){h({isFocused:!1,hasValue:""!==t.target.value})},[]),p=n.useCallback(function(t){h(function(e){return r({},e,{hasValue:""!==t.target.value})})},[]),y="_78FKB "+(c.isFocused||c.hasValue?"_5znRk":"");/*#__PURE__*/return e.jsxs("div",{className:"_MeMZp "+(c.isFocused?"_8Hsn-":"")+" "+(l?"_eNyUD":"")+" "+(s||""),children:[/*#__PURE__*/e.jsx("input",r({className:"_Bc-Kx",onFocus:d,onBlur:u,onChange:p,placeholder:" ",disabled:l,ref:o},f)),/*#__PURE__*/e.jsx("label",{className:y,children:a})]})});v.displayName="InputField";var H=["placeholder","disabled","maxLength","value"],F={tabContainer:"_5eXiF",tabTitleContainer:"_9-wY-",tabTitleScrollable:"_SYuOW",tabItem:"_V7xf9",selected:"_GVCyF",tabContent:"_3-wzH",selectionBar:"_tsK-o"},w={H1:{fontSize:"3rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"60px",textTransform:"none",textDecorationLine:"none"},H2:{fontSize:"2.5rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"50px",textTransform:"none",textDecorationLine:"none"},H3:{fontSize:"2.0625rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"41px",textTransform:"none",textDecorationLine:"none"},H4:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H5:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H6:{fontSize:"1.1875rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},BodySmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},BodyXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},SubheaderBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},SubheaderLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},SubheaderSmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},SubheaderXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamBaseBold:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamBaseBook:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamSmallBold:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamSmallBook:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamXSmallBook:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamOverline:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"17px",textTransform:"uppercase",textDecorationLine:"none"}},B={palette:{TB:{Brand:{Primary:"#0C223F",Medium:"#004876",Accent:"#0070CD",Gray:"#8195A2"},Functional:{Black:"#000000",OffBlack:"#595959",White:"#FFFFFF",OffWhite:"#B5B5B5",DarkGray:"#858585",MedGray:"#D8D8D8",LightGray:"#E9EDF0",GrayOnDark:"rgba(255, 255, 255, 0.2)",Success:"#009D47",Error:"#A31F34"},POI:{Food:"#AD3F49",Fitness:"#D78956",Entertainment:"#DBAE60",Parks:"#5E8748",Transportation:"#5C8988",Business:"#2C71C7",Shopping:"#344072",School:"#543D6E"}},primary:{contrast:"#FFFFFF",main:"#2196F3"},action:{disabled:"rgba(0, 0, 0, 0.38)"}},typography:r({},w,{SemanticPlaceholder:w.GothamBaseBook,SemanticFloatingPlaceholder:w.GothamXSmallBook,SemanticInput:w.SubheaderBase,SemanticButtonLabelBase:w.GothamBaseBold,SemanticButtonLabelSmall:w.GothamSmallBold,SemanticTabLabel:w.GothamBaseBold,SemanticTagLabel:w.GothamSmallBold}),GlobalBrandBorderRadius:"4px"};exports.Button=d,exports.FallbackAddButton=function(t){var n=t.isCondensed,o=void 0!==n&&n,a=t.children,l=void 0===a?"":a,s=t.className,f=void 0===s?"":s,m=i(t,y);return o?/*#__PURE__*/e.jsx(p,r({className:f},m,{children:"+"})):/*#__PURE__*/e.jsxs(d,r({size:"small",color:"accent",variant:"text",className:"blueprint-typography-GothamBaseBold-font "+f,style:{textWrap:"nowrap"},type:"button"},m,{children:["+ ",l]}))},exports.InputField=v,exports.SquareIconButton=p,exports.Tabs=function(t){var o=t.tabs,a=t.tabAction,r=n.useState(0),i=r[0],l=r[1],s=n.useMemo(function(){return o[i].content},[i]),f=n.useMemo(function(){return a?a():null},[a]);/*#__PURE__*/return e.jsxs("div",{className:F.tabContainer,children:[/*#__PURE__*/e.jsxs("div",{className:F.tabTitleContainer,children:[/*#__PURE__*/e.jsx("div",{className:F.tabTitleScrollable,children:o.map(function(t,n){/*#__PURE__*/return e.jsx(e.Fragment,{children:/*#__PURE__*/e.jsxs("div",{className:F.tabItem+" "+(i===n?F.selected:""),onClick:function(){return l(n)},children:[t.title,/*#__PURE__*/e.jsx("div",{className:F.selectionBar})]},"blueprint-tab-"+n)})})}),f&&/*#__PURE__*/e.jsx("div",{className:F.tabActionContainer,children:f})]}),/*#__PURE__*/e.jsx("div",{className:F.tabContent,children:/*#__PURE__*/e.jsx(s,{})})]})},exports.TextArea=function(t){var o=t.placeholder,a=t.disabled,l=t.maxLength,s=void 0===l?200:l,f=t.value,m=i(t,H),c=n.useState(!1),h=c[0],d=c[1],u=n.useState(!1),p=u[0],y=u[1],x=n.useState((null==f?void 0:f.length)||0),g=x[0],b=x[1];/*#__PURE__*/return e.jsxs("div",{className:"_z1n8A "+(h?"_2RHao":"")+" "+(a?"_k6HqW":""),children:[/*#__PURE__*/e.jsx("textarea",r({className:"_iEdgY",onFocus:function(){return!a&&d(!0)},onBlur:function(t){d(!1),y(""!==t.target.value)},onChange:function(t){y(""!==t.target.value),b(t.target.length)},placeholder:" ",disabled:a,maxLength:s,value:f},m)),/*#__PURE__*/e.jsx("label",{className:"_VSnow "+(h||p?"_YYp0f":""),children:o}),/*#__PURE__*/e.jsxs("div",{className:"_LuSeq",children:[g,"/",s]})]})},exports.ThemeProvider=function(t){var o=t.children,a=t.theme,r=n.useMemo(function(){return x({theme:a})},[a]),i=n.useMemo(function(){return g(x({theme:a}))},[a]),l=n.useState(!1),s=l[0],f=l[1];return n.useEffect(function(){f(!0)},[]),s?/*#__PURE__*/e.jsxs(b.Provider,{value:r,children:[/*#__PURE__*/e.jsx("style",{children:'\n@import "https://use.typekit.net/loo0pmd.css";\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-bold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff\') format(\'woff\');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-semibold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff\') format(\'woff\');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Light"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff") format("woff");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamSSm-Book"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff") format("woff");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}'}),/*#__PURE__*/e.jsx("style",{children:"\n:root {\n "+Object.entries(i).map(function(t){return t[0]+": "+t[1]+";"}).join("\n")+"\n\n "+Object.entries(i).filter(function(t){var e=t[1];return t[0].includes("palette")&&e.includes("#")}).map(function(t){var e;return t[0]+"-RGB: "+(e=(e=t[1]).replace("#",""),parseInt(e.substring(0,2),16)+", "+parseInt(e.substring(2,4),16)+", "+parseInt(e.substring(4,6),16)+";")}).join("\n")+"\n}"}),/*#__PURE__*/e.jsx("style",{children:"\n "+Object.keys(r.typography).map(function(t){return"\n.tb-typography-"+t+"-font {\n font: var(--tb-typography-"+t+"-font);\n text-decoration-line: var(--tb-typography-"+t+"-textDecorationLine);\n text-transform: var(--tb-typography-"+t+"-textTransform);\n}"}).join("\n")}),/*#__PURE__*/e.jsx("style",{children:"\nh1 {\n font: var(--tb-typography-H1-font);\n text-decoration-line: var(--tb-typography-H1-textDecorationLine);\n text-transform: var(--tb-typography-H1-textTransform);\n}\n\nh2 {\n font: var(--tb-typography-H2-font);\n text-decoration-line: var(--tb-typography-H2-textDecorationLine);\n text-transform: var(--tb-typography-H2-textTransform);\n}\n\nh3 {\n font: var(--tb-typography-H3-font);\n text-decoration-line: var(--tb-typography-H3-textDecorationLine);\n text-transform: var(--tb-typography-H3-textTransform);\n}\n\nh4 {\n font: var(--tb-typography-H4-font);\n text-decoration-line: var(--tb-typography-H4-textDecorationLine);\n text-transform: var(--tb-typography-H4-textTransform);\n}\n\nh5 {\n font: var(--tb-typography-H5-font);\n text-decoration-line: var(--tb-typography-H5-textDecorationLine);\n text-transform: var(--tb-typography-H5-textTransform);\n}\n\nh6 {\n font: var(--tb-typography-H6-font);\n text-decoration-line: var(--tb-typography-H6-textDecorationLine);\n text-transform: var(--tb-typography-H6-textTransform);\n}\n\nbody {\n color: var(--tb-palette-TB-Functional-Black);\n font: var(--tb-typography-BodyBase-font);\n background-color: var(--tb-palette-TB-Functional-White);\n}"}),o]}):null},exports.defaultTheme=B,exports.useTheme=function(){return n.useContext(b)};
1
+ var t=require("classnames"),e=require("react/jsx-runtime"),n=require("react");function o(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var a=/*#__PURE__*/o(t);function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},r.apply(null,arguments)}function l(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;n[o]=t[o]}return n}var i={button:"_RkubW",small:"_pV7AR",xsmall:"_7FiWF",fullWidth:"_6cI1z",primary:"_ay1Sp",secondary:"_UebRL",defaultColorStroke:"_Lb6KY",defaultColorText:"_sZZuY"},s=["children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth"],f={default:i.default,small:i.small,xsmall:i.xsmall},m={defaultColor:i.defaultColorFill},c={defaultColor:i.defaultColorStroke},h={defaultColor:i.defaultColorText},d=function(t){var n,o=t.children,d=t.size,u=void 0===d?"default":d,p=t.variant,y=void 0===p?"primary":p,x=t.PRIMARY_FILL_VARIANT,g=void 0===x?"defaultColor":x,S=t.SECONDARY_STROKE_VARIANT,b=void 0===S?"defaultColor":S,v=t.SECONDARY_TEXT_VARIANT,w=void 0===v?"defaultColor":v,F=t.className,N=void 0===F?"":F,B=t.fullWidth,H=void 0!==B&&B,G=l(t,s),T=a.default(i.button,f[u],i[y],((n={})[i.fullWidth]=H,n[m[g]||m.defaultColor]="primary"===y,n[c[b]||c.defaultColor]="secondary"===y,n[h[w]||h.defaultColor]="secondary"===y,n),N);/*#__PURE__*/return e.jsx("button",r({className:T,type:"button"},G,{children:o}))},u=["children","className"],p=function(t){var n=t.children,o=t.className,a=void 0===o?"":o,i=l(t,u);/*#__PURE__*/return e.jsx("button",r({className:"_-kJUj "+a,color:"inherit",type:"button"},i,{children:n}))},y=["isCondensed","children","className"],x=function(t){var e=t.theme;return r({},e,{typography:r({},Object.keys(e.typography).reduce(function(t,n,o){var a;return 0===o&&(t[n]=e.typography[n].font),r({},t,((a={})[n]=r({},e.typography[n],{font:e.typography[n].fontStyle+"\n "+e.typography[n].fontWeight+"\n "+e.typography[n].fontSize+"/\n "+e.typography[n].lineHeight+"\n "+e.typography[n].fontFamily,fontStyle:e.typography[n].fontStyle,fontWeight:e.typography[n].fontWeight,fontSize:e.typography[n].fontSize,lineHeight:e.typography[n].lineHeight,fontFamily:e.typography[n].fontFamily,textDecorationLine:e.typography[n].textDecorationLine,textTransform:e.typography[n].textTransform,margin:e.typography[n].margin}),a))},{}))})};function g(t,e){void 0===e&&(e="");for(var n={},o=0,a=Object.entries(t);o<a.length;o++){var r=a[o],l=r[0],i=r[1],s=e?e+"-"+l:l;"object"==typeof i&&null!==i?Object.assign(n,g(i,s)):n["--tb-"+s]=i}return n}var S=/*#__PURE__*/n.createContext(),b=["placeholder","disabled","className"],v=/*#__PURE__*/n.forwardRef(function(t,o){var a=t.placeholder,i=t.disabled,s=t.className,f=l(t,b),m=n.useState({isFocused:!1,hasValue:!1}),c=m[0],h=m[1],d=n.useCallback(function(){i||h(function(t){return r({},t,{isFocused:!0})})},[i]),u=n.useCallback(function(t){h({isFocused:!1,hasValue:""!==t.target.value})},[]),p=n.useCallback(function(t){h(function(e){return r({},e,{hasValue:""!==t.target.value})})},[]),y="_78FKB "+(c.isFocused||c.hasValue?"_5znRk":"");/*#__PURE__*/return e.jsxs("div",{className:"_MeMZp "+(c.isFocused?"_8Hsn-":"")+" "+(i?"_eNyUD":"")+" "+(s||""),children:[/*#__PURE__*/e.jsx("input",r({className:"_Bc-Kx",onFocus:d,onBlur:u,onChange:p,placeholder:" ",disabled:i,ref:o},f)),/*#__PURE__*/e.jsx("label",{className:y,children:a})]})});v.displayName="InputField";var w=["placeholder","disabled","maxLength","value"],F={tabContainer:"_5eXiF",tabTitleContainer:"_9-wY-",tabTitleScrollable:"_SYuOW",tabItem:"_V7xf9",selected:"_GVCyF",tabContent:"_3-wzH",selectionBar:"_tsK-o"},N={H1:{fontSize:"3rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"60px",textTransform:"none",textDecorationLine:"none"},H2:{fontSize:"2.5rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"50px",textTransform:"none",textDecorationLine:"none"},H3:{fontSize:"2.0625rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"41px",textTransform:"none",textDecorationLine:"none"},H4:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H5:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H6:{fontSize:"1.1875rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},BodySmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},BodyXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},SubheaderBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},SubheaderLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},SubheaderSmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},SubheaderXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamBaseBold:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamBaseBook:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamSmallBold:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamSmallBook:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamXSmallBook:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamOverline:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"uppercase",textDecorationLine:"none"}},B={palette:{TB:{Brand:{Primary:"#0C223F",Medium:"#004876",Accent:"#0070CD",Gray:"#8195A2"},Functional:{Black:"#000000",OffBlack:"#595959",White:"#FFFFFF",OffWhite:"#B5B5B5",DarkGray:"#858585",MedGray:"#D8D8D8",LightGray:"#E9EDF0",GrayOnDark:"rgba(255, 255, 255, 0.2)",Success:"#009D47",Error:"#A31F34"},POI:{Food:"#AD3F49",Fitness:"#D78956",Entertainment:"#DBAE60",Parks:"#5E8748",Transportation:"#5C8988",Business:"#2C71C7",Shopping:"#344072",School:"#543D6E"}},primary:{contrast:"#FFFFFF",main:"#2196F3"},action:{disabled:"rgba(0, 0, 0, 0.38)"}},typography:r({},N,{SemanticPlaceholder:N.GothamBaseBook,SemanticFloatingPlaceholder:N.GothamXSmallBook,SemanticInput:N.SubheaderBase,SemanticButtonLabelBase:N.GothamBaseBold,SemanticButtonLabelSmall:N.GothamSmallBold,SemanticTabLabel:N.GothamBaseBold,SemanticTagLabel:N.GothamSmallBold}),GlobalBrandBorderRadius:"4px"};exports.Button=d,exports.FallbackAddButton=function(t){var n=t.isCondensed,o=void 0!==n&&n,a=t.children,i=void 0===a?"":a,s=t.className,f=void 0===s?"":s,m=l(t,y);return o?/*#__PURE__*/e.jsx(p,r({className:f},m,{children:"+"})):/*#__PURE__*/e.jsxs(d,r({size:"small",color:"accent",variant:"text",className:"blueprint-typography-GothamBaseBold-font "+f,style:{textWrap:"nowrap"},type:"button"},m,{children:["+ ",i]}))},exports.InputField=v,exports.SquareIconButton=p,exports.Tabs=function(t){var o=t.tabs,a=t.tabAction,r=n.useState(0),l=r[0],i=r[1],s=n.useMemo(function(){return o[l].content},[l]),f=n.useMemo(function(){return a?a():null},[a]);/*#__PURE__*/return e.jsxs("div",{className:F.tabContainer,children:[/*#__PURE__*/e.jsxs("div",{className:F.tabTitleContainer,children:[/*#__PURE__*/e.jsx("div",{className:F.tabTitleScrollable,children:o.map(function(t,n){/*#__PURE__*/return e.jsx(e.Fragment,{children:/*#__PURE__*/e.jsxs("div",{className:F.tabItem+" "+(l===n?F.selected:""),onClick:function(){return i(n)},children:[t.title,/*#__PURE__*/e.jsx("div",{className:F.selectionBar})]},"blueprint-tab-"+n)})})}),f&&/*#__PURE__*/e.jsx("div",{className:F.tabActionContainer,children:f})]}),/*#__PURE__*/e.jsx("div",{className:F.tabContent,children:/*#__PURE__*/e.jsx(s,{})})]})},exports.TextArea=function(t){var o=t.placeholder,a=t.disabled,i=t.maxLength,s=void 0===i?200:i,f=t.value,m=l(t,w),c=n.useState(!1),h=c[0],d=c[1],u=n.useState(!1),p=u[0],y=u[1],x=n.useState((null==f?void 0:f.length)||0),g=x[0],S=x[1];/*#__PURE__*/return e.jsxs("div",{className:"_z1n8A "+(h?"_2RHao":"")+" "+(a?"_k6HqW":""),children:[/*#__PURE__*/e.jsx("textarea",r({className:"_iEdgY",onFocus:function(){return!a&&d(!0)},onBlur:function(t){d(!1),y(""!==t.target.value)},onChange:function(t){y(""!==t.target.value),S(t.target.length)},placeholder:" ",disabled:a,maxLength:s,value:f},m)),/*#__PURE__*/e.jsx("label",{className:"_VSnow "+(h||p?"_YYp0f":""),children:o}),/*#__PURE__*/e.jsxs("div",{className:"_LuSeq",children:[g,"/",s]})]})},exports.ThemeProvider=function(t){var o=t.children,a=t.theme,r=n.useMemo(function(){return x({theme:a})},[a]),l=n.useMemo(function(){return g(x({theme:a}))},[a]),i=n.useState(!1),s=i[0],f=i[1];return n.useEffect(function(){f(!0)},[]),s?/*#__PURE__*/e.jsxs(S.Provider,{value:r,children:[/*#__PURE__*/e.jsx("style",{children:'\n@import "https://use.typekit.net/loo0pmd.css";\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-bold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff\') format(\'woff\');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-semibold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff\') format(\'woff\');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Light"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff") format("woff");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamSSm-Book"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff") format("woff");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}'}),/*#__PURE__*/e.jsx("style",{children:"\n:root {\n "+Object.entries(l).map(function(t){return t[0]+": "+t[1]+";"}).join("\n")+"\n\n "+Object.entries(l).filter(function(t){var e=t[1];return t[0].includes("palette")&&e.includes("#")}).map(function(t){var e;return t[0]+"-RGB: "+(e=(e=t[1]).replace("#",""),parseInt(e.substring(0,2),16)+", "+parseInt(e.substring(2,4),16)+", "+parseInt(e.substring(4,6),16)+";")}).join("\n")+"\n}"}),/*#__PURE__*/e.jsx("style",{children:"\n "+Object.keys(r.typography).map(function(t){return"\n.tb-typography-"+t+"-font {\n font: var(--tb-typography-"+t+"-font);\n text-decoration-line: var(--tb-typography-"+t+"-textDecorationLine);\n text-transform: var(--tb-typography-"+t+"-textTransform);\n}"}).join("\n")}),o]}):null},exports.defaultTheme=B,exports.useTheme=function(){return n.useContext(S)};
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/mui/primitives/Button/Button.js","../src/mui/primitives/SquareIconButton/SquareIconButton.js","../src/mui/primitives/FallbackAddButton/FallbackAddButton.js","../src/themes/utils/decorateTheme.js","../src/themes/utils/flattenToCssVars.js","../src/themes/utils/hexToRGB.js","../src/themes/ThemeProvider.js","../src/mui/primitives/InputField/InputField.js","../src/mui/primitives/TextArea/TextArea.js","../src/themes/default/typography.js","../src/themes/default/theme.js","../src/mui/primitives/Tabs/Tabs.js"],"sourcesContent":["import styles from './Button.module.scss';\nimport classNames from 'classnames';\n\nconst SIZE_CLASSES = {\n default: styles.default, // Default button size\n small: styles.small, // Small button size\n xsmall: styles.xsmall // Extra small button size\n};\n\n\n// Primary CTA property only\nconst PRIMARY_FILL_VARIANTS = {\n defaultColor: styles.defaultColorFill // Default fill for Primary CTA\n};\n\n// Secondary CTA properties only\nconst SECONDARY_STROKE_VARIANTS = {\n defaultColor: styles.defaultColorStroke // Default stroke for Secondary CTA\n};\n\nconst SECONDARY_TEXT_VARIANTS = {\n defaultColor: styles.defaultColorText // Default text color for Secondary CTA\n};\n\nconst Button = ({\n children,\n size = 'default',\n variant = 'primary',\n PRIMARY_FILL_VARIANT = 'defaultColor',\n SECONDARY_STROKE_VARIANT = 'defaultColor',\n SECONDARY_TEXT_VARIANT = 'defaultColor',\n className = '',\n fullWidth = false,\n ...rest\n }) => {\n // Build the className string using conditional logic\n const buttonClasses = classNames(\n styles.button,\n SIZE_CLASSES[size],\n styles[variant],\n {\n [styles.fullWidth]: fullWidth,\n [PRIMARY_FILL_VARIANTS[PRIMARY_FILL_VARIANT] || PRIMARY_FILL_VARIANTS.defaultColor]: variant === 'primary',\n [SECONDARY_STROKE_VARIANTS[SECONDARY_STROKE_VARIANT] || SECONDARY_STROKE_VARIANTS.defaultColor]: variant === 'secondary',\n [SECONDARY_TEXT_VARIANTS[SECONDARY_TEXT_VARIANT] || SECONDARY_TEXT_VARIANTS.defaultColor]: variant === 'secondary'\n },\n className\n );\n\n return (\n <button className={buttonClasses} type=\"button\" {...rest}>\n {children}\n </button>\n );\n};\n\nexport default Button;\n","import styles from './SquareIconButton.module.scss';\n\nconst SquareIconButton = ({ children, className = '', ...rest }) => {\n return (\n <button className={`${styles.squareIconButton} ${className}`} color='inherit' type={'button'} {...rest}>\n {children}\n </button>\n );\n};\n\nexport default SquareIconButton;\n","import Button from '../Button/Button';\nimport SquareIconButton from '../SquareIconButton/SquareIconButton';\n\nconst FallbackAddButton = ({ isCondensed = false, children = '', className = '', ...rest }) => {\n if (isCondensed) {\n return (\n <SquareIconButton className={className} {...rest}>\n +\n </SquareIconButton>\n );\n }\n\n return (\n <Button\n size={'small'}\n color={'accent'}\n variant={'text'}\n className={`blueprint-typography-GothamBaseBold-font ${className}`}\n style={{ textWrap: 'nowrap' }}\n type={'button'}\n {...rest}\n >\n {'+ '}\n {children}\n </Button>\n );\n};\n\nexport default FallbackAddButton;\n","const decorateTheme = ({ theme }) => {\n return {\n ...theme,\n typography: {\n ...Object.keys(theme.typography).reduce((acc, key, index) => {\n if (index === 0) {\n acc[key] = theme.typography[key].font;\n }\n\n return {\n ...acc,\n [key]: {\n ...theme.typography[key],\n font: `${theme.typography[key].fontStyle}\n ${theme.typography[key].fontWeight}\n ${theme.typography[key].fontSize}/\n ${theme.typography[key].lineHeight}\n ${theme.typography[key].fontFamily}`,\n fontStyle: theme.typography[key].fontStyle,\n fontWeight: theme.typography[key].fontWeight,\n fontSize: theme.typography[key].fontSize,\n lineHeight: theme.typography[key].lineHeight,\n fontFamily: theme.typography[key].fontFamily,\n textDecorationLine: theme.typography[key].textDecorationLine,\n textTransform: theme.typography[key].textTransform,\n margin: theme.typography[key].margin,\n },\n };\n }, {}),\n },\n };\n};\n\nexport default decorateTheme;\n","function flattenToCssVars(obj, parentKey = '') {\n const result = {};\n\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}-${key}` : key;\n\n if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenToCssVars(value, newKey));\n } else {\n result[`--tb-${newKey}`] = value;\n }\n }\n\n return result;\n}\n\nexport default flattenToCssVars;\n","const hexToRgba = (hex) => {\n hex = hex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16);\n const g = parseInt(hex.substring(2, 4), 16);\n const b = parseInt(hex.substring(4, 6), 16);\n return `${r}, ${g}, ${b}`;\n};\n\nexport default hexToRgba;\n","import { createContext, useContext, useEffect, useState, useMemo } from 'react';\nimport decorateTheme from './utils/decorateTheme';\nimport flattenToCssVars from './utils/flattenToCssVars';\nimport hexToRgba from './utils/hexToRGB';\nconst ThemeContext = createContext();\n\nconst ThemeProvider = ({ children, theme }) => {\n const decoratedTheme = useMemo(() => {\n return decorateTheme({ theme });\n }, [theme]);\n\n const cssVarsObject = useMemo(() => {\n return flattenToCssVars(decorateTheme({ theme }));\n }, [theme]);\n\n const [clientReady, setClientReady] = useState(false);\n\n useEffect(() => {\n setClientReady(true);\n }, [])\n\n\n if (!clientReady) {\n return null;\n }\n\n return (\n <ThemeContext.Provider value={decoratedTheme}>\n <style>\n {`\n@import \"https://use.typekit.net/loo0pmd.css\";\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-bold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff') format('woff');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-semibold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff') format('woff');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Light\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff\") format(\"woff\");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamSSm-Book\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff\") format(\"woff\");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}`}\n </style>\n <style>{`\n:root {\n ${Object.entries(cssVarsObject)\n .map(([key, value]) => `${key}: ${value};`)\n .join('\\n')}\n\n ${Object.entries(cssVarsObject)\n .filter(([key, value]) => key.includes('palette') && value.includes('#'))\n .map(([key, value]) => {\n return `${key}-RGB: ${ hexToRgba(value)};`\n })\n .join('\\n')}\n}`}\n </style>\n <style>{`\n ${Object.keys(decoratedTheme.typography)\n .map((typographyKey) => {\n return `\n.tb-typography-${typographyKey}-font {\n font: var(--tb-typography-${typographyKey}-font);\n text-decoration-line: var(--tb-typography-${typographyKey}-textDecorationLine);\n text-transform: var(--tb-typography-${typographyKey}-textTransform);\n}` }).join('\\n')}`}\n </style>\n <style>\n {`\nh1 {\n font: var(--tb-typography-H1-font);\n text-decoration-line: var(--tb-typography-H1-textDecorationLine);\n text-transform: var(--tb-typography-H1-textTransform);\n}\n\nh2 {\n font: var(--tb-typography-H2-font);\n text-decoration-line: var(--tb-typography-H2-textDecorationLine);\n text-transform: var(--tb-typography-H2-textTransform);\n}\n\nh3 {\n font: var(--tb-typography-H3-font);\n text-decoration-line: var(--tb-typography-H3-textDecorationLine);\n text-transform: var(--tb-typography-H3-textTransform);\n}\n\nh4 {\n font: var(--tb-typography-H4-font);\n text-decoration-line: var(--tb-typography-H4-textDecorationLine);\n text-transform: var(--tb-typography-H4-textTransform);\n}\n\nh5 {\n font: var(--tb-typography-H5-font);\n text-decoration-line: var(--tb-typography-H5-textDecorationLine);\n text-transform: var(--tb-typography-H5-textTransform);\n}\n\nh6 {\n font: var(--tb-typography-H6-font);\n text-decoration-line: var(--tb-typography-H6-textDecorationLine);\n text-transform: var(--tb-typography-H6-textTransform);\n}\n\nbody {\n color: var(--tb-palette-TB-Functional-Black);\n font: var(--tb-typography-BodyBase-font);\n background-color: var(--tb-palette-TB-Functional-White);\n}`}\n </style>\n\n {children}\n </ThemeContext.Provider>\n );\n};\n\nexport function useTheme() {\n return useContext(ThemeContext);\n}\n\nexport default ThemeProvider;\n","import { useState, useCallback, forwardRef } from 'react';\nimport styles from './InputField.module.scss';\n\nconst InputField = forwardRef(({ placeholder, disabled, className, ...props }, ref) => {\n const [inputState, setInputState] = useState({\n isFocused: false,\n hasValue: false,\n });\n\n const handleFocus = useCallback(() => {\n if (!disabled) {\n setInputState((prev) => ({ ...prev, isFocused: true }));\n }\n }, [disabled]);\n\n const handleBlur = useCallback((e) => {\n setInputState({\n isFocused: false,\n hasValue: e.target.value !== '',\n });\n }, []);\n\n const handleChange = useCallback((e) => {\n setInputState((prev) => ({\n ...prev,\n hasValue: e.target.value !== '',\n }));\n }, []);\n\n // Compute class names once\n const containerClassName = `${styles.inputContainer} ${inputState.isFocused ? styles.focused : ''} ${\n disabled ? styles.disabled : ''\n } ${className || ''}`;\n\n const labelClassName = `${styles.placeholder} ${\n inputState.isFocused || inputState.hasValue ? styles.floatingPlaceholder : ''\n }`;\n\n return (\n <div className={containerClassName}>\n <input\n className={styles.input}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n ref={ref}\n {...props}\n />\n <label className={labelClassName}>{placeholder}</label>\n </div>\n );\n});\n\n// Add display name for better debugging\nInputField.displayName = 'InputField';\n\nexport default InputField;\n","import React, { useState } from 'react';\nimport styles from './TextArea.module.scss';\n\nconst TextArea = ({ placeholder, disabled, maxLength = 200, value, ...props }) => {\n const [isFocused, setIsFocused] = useState(false);\n const [hasValue, setHasValue] = useState(false);\n const [charCount, setCharCount] = useState(value?.length || 0);\n\n const handleFocus = () => !disabled && setIsFocused(true);\n\n const handleBlur = (e) => {\n setIsFocused(false);\n setHasValue(e.target.value !== '');\n };\n\n const handleChange = (e) => {\n const inputValue = e.target.value;\n setHasValue(inputValue !== '');\n setCharCount(e.target.length);\n };\n\n return (\n <div\n className={`${styles.textAreaContainer} ${isFocused ? styles.focused : ''} ${disabled ? styles.disabled : ''}`}\n >\n <textarea\n className={styles.textarea}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n maxLength={maxLength}\n value={value}\n {...props}\n />\n <label className={`${styles.placeholder} ${isFocused || hasValue ? styles.floatingPlaceholder : ''}`}>\n {placeholder}\n </label>\n <div className={styles.charCounter}>\n {charCount}/{maxLength}\n </div>\n </div>\n );\n};\n\nexport default TextArea;\n","const typography = {\n H1: {\n fontSize: '3rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '60px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H2: {\n fontSize: '2.5rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '50px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H3: {\n fontSize: '2.0625rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '41px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H4: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H5: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H6: {\n fontSize: '1.1875rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodySmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderSmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBold: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBook: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBold: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBook: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamXSmallBook: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamOverline: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '17px',\n textTransform: 'uppercase',\n textDecorationLine: 'none',\n },\n}\n\nexport default typography;\n","import typography from './typography';\n\nexport const defaultTheme = {\n palette: {\n TB: {\n Brand: {\n Primary: '#0C223F',\n Medium: '#004876',\n Accent: '#0070CD',\n Gray: '#8195A2',\n },\n Functional: {\n Black: '#000000',\n OffBlack: '#595959',\n White: '#FFFFFF',\n OffWhite: '#B5B5B5',\n DarkGray: '#858585',\n MedGray: '#D8D8D8',\n LightGray: '#E9EDF0',\n GrayOnDark: 'rgba(255, 255, 255, 0.2)',\n Success: '#009D47',\n Error: '#A31F34',\n },\n POI: {\n Food: '#AD3F49',\n Fitness: '#D78956',\n Entertainment: '#DBAE60',\n Parks: '#5E8748',\n Transportation: '#5C8988',\n Business: '#2C71C7',\n Shopping: '#344072',\n School: '#543D6E',\n },\n },\n primary: {\n contrast: '#FFFFFF',\n main: '#2196F3',\n },\n action: {\n disabled: 'rgba(0, 0, 0, 0.38)',\n },\n },\n typography: {\n ...typography,\n SemanticPlaceholder: typography.GothamBaseBook,\n SemanticFloatingPlaceholder: typography.GothamXSmallBook,\n SemanticInput: typography.SubheaderBase,\n SemanticButtonLabelBase: typography.GothamBaseBold,\n SemanticButtonLabelSmall: typography.GothamSmallBold,\n SemanticTabLabel: typography.GothamBaseBold,\n SemanticTagLabel: typography.GothamSmallBold,\n },\n GlobalBrandBorderRadius: '4px',\n};\n","import { useMemo, useState } from 'react';\nimport styles from './Tabs.module.scss';\n\nconst Tabs = ({ tabs, tabAction }) => {\n const [selectedTab, setSelectedTab] = useState(0);\n const CurrentTabContent = useMemo(() => {\n return tabs[selectedTab].content;\n }, [selectedTab]);\n\n const tabActionComponent = useMemo(() => {\n return tabAction ? tabAction() : null;\n }, [tabAction]);\n\n return (\n <div className={styles.tabContainer}>\n <div className={styles.tabTitleContainer}>\n <div className={styles.tabTitleScrollable}>\n {tabs.map((tab, index) => {\n return (\n <>\n <div\n key={`blueprint-tab-${index}`}\n className={`${styles.tabItem} ${selectedTab === index ? styles.selected : ''}`}\n onClick={() => setSelectedTab(index)}\n >\n {tab.title}\n <div className={styles.selectionBar} />\n </div>\n </>\n );\n })}\n </div>\n {tabActionComponent && <div className={styles.tabActionContainer}>{tabActionComponent}</div>}\n </div>\n <div className={styles.tabContent}>\n <CurrentTabContent />\n </div>\n </div>\n );\n};\n\nexport default Tabs;\n"],"names":["_excluded","SIZE_CLASSES","default","styles","small","xsmall","PRIMARY_FILL_VARIANTS","defaultColor","defaultColorFill","SECONDARY_STROKE_VARIANTS","defaultColorStroke","SECONDARY_TEXT_VARIANTS","defaultColorText","Button","_ref","_classNames","children","_ref$size","size","_ref$variant","variant","_ref$PRIMARY_FILL_VAR","PRIMARY_FILL_VARIANT","_ref$SECONDARY_STROKE","SECONDARY_STROKE_VARIANT","_ref$SECONDARY_TEXT_V","SECONDARY_TEXT_VARIANT","_ref$className","className","_ref$fullWidth","fullWidth","rest","_objectWithoutPropertiesLoose","buttonClasses","classNames","button","_jsx","_extends","type","SquareIconButton","jsx","color","decorateTheme","theme","typography","Object","keys","reduce","acc","key","index","_extends2","font","fontStyle","fontWeight","fontSize","lineHeight","fontFamily","textDecorationLine","textTransform","margin","flattenToCssVars","obj","parentKey","result","_i","_Object$entries","entries","length","_Object$entries$_i","value","newKey","assign","ThemeContext","createContext","InputField","forwardRef","ref","placeholder","disabled","props","_useState","useState","isFocused","hasValue","inputState","setInputState","handleFocus","useCallback","prev","handleBlur","e","target","handleChange","labelClassName","_jsxs","onFocus","onBlur","onChange","displayName","H1","H2","H3","H4","H5","H6","BodyBase","BodyLarge","BodySmall","BodyXSmall","SubheaderBase","SubheaderLarge","SubheaderSmall","SubheaderXSmall","GothamBaseBold","GothamBaseBook","GothamSmallBold","GothamSmallBook","GothamXSmallBook","GothamOverline","defaultTheme","palette","TB","Brand","Primary","Medium","Accent","Gray","Functional","Black","OffBlack","White","OffWhite","DarkGray","MedGray","LightGray","GrayOnDark","Success","Error","POI","Food","Fitness","Entertainment","Parks","Transportation","Business","Shopping","School","primary","contrast","main","action","SemanticPlaceholder","SemanticFloatingPlaceholder","SemanticInput","SemanticButtonLabelBase","SemanticButtonLabelSmall","SemanticTabLabel","SemanticTagLabel","GlobalBrandBorderRadius","_ref$isCondensed","isCondensed","_ref$children","style","textWrap","tabs","tabAction","selectedTab","setSelectedTab","CurrentTabContent","useMemo","content","tabActionComponent","jsxs","tabContainer","tabTitleContainer","tabTitleScrollable","map","tab","_Fragment","Fragment","tabItem","selected","onClick","title","selectionBar","tabActionContainer","tabContent","_ref$maxLength","maxLength","setIsFocused","_useState2","setHasValue","_useState3","charCount","setCharCount","decoratedTheme","cssVarsObject","clientReady","setClientReady","useEffect","Provider","_ref2","join","filter","_ref3","includes","_ref4","hex","replace","parseInt","substring","b","typographyKey","useContext"],"mappings":"qrBAAAA,EAAA,CAAA,WAAA,OAAA,UAAA,uBAAA,2BAAA,yBAAA,YAAA,aAGMC,EAAe,CACnBC,QAASC,UACTC,MAAOD,EAAOC,MACdC,OAAQF,EAAOE,QAKXC,EAAwB,CAC5BC,aAAcJ,EAAOK,kBAIjBC,EAA4B,CAChCF,aAAcJ,EAAOO,oBAGjBC,EAA0B,CAC9BJ,aAAcJ,E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G,GAAI,IAG7B,KAFDD,SAASF,EAAIG,UAAU,EAAG,GAAI,IAElBC,KADZF,SAASF,EAAIG,UAAU,EAAG,GAAI,IC+FK,IACzC,GACCR,KAAK,MAEC,qBACPvK,EAAAI,aAAAxB,SAAA,WACE6B,OAAOC,KAAKsJ,EAAexJ,YAC1BqI,IAAI,SAACoC,GACJ,0BACOA,EAAa,wCACAA,EAAa,wDACGA,EACNA,gEAAAA,uBAChC,GAAGV,KAAK,qBAEVvK,EAAAI,IAAAxB,QAAAA,CAAAA,ytCA6CCA,KAvIL,IA0IF,0CAEgB,WACd,OAAOsM,EAAUA,WAAC7I,EACpB"}
1
+ {"version":3,"file":"index.js","sources":["../src/mui/primitives/Button/Button.js","../src/mui/primitives/SquareIconButton/SquareIconButton.js","../src/mui/primitives/FallbackAddButton/FallbackAddButton.js","../src/themes/utils/decorateTheme.js","../src/themes/utils/flattenToCssVars.js","../src/themes/utils/hexToRGB.js","../src/themes/ThemeProvider.js","../src/mui/primitives/InputField/InputField.js","../src/mui/primitives/TextArea/TextArea.js","../src/themes/default/typography.js","../src/themes/default/theme.js","../src/mui/primitives/Tabs/Tabs.js"],"sourcesContent":["import styles from './Button.module.scss';\nimport classNames from 'classnames';\n\nconst SIZE_CLASSES = {\n default: styles.default, // Default button size\n small: styles.small, // Small button size\n xsmall: styles.xsmall // Extra small button size\n};\n\n\n// Primary CTA property only\nconst PRIMARY_FILL_VARIANTS = {\n defaultColor: styles.defaultColorFill // Default fill for Primary CTA\n};\n\n// Secondary CTA properties only\nconst SECONDARY_STROKE_VARIANTS = {\n defaultColor: styles.defaultColorStroke // Default stroke for Secondary CTA\n};\n\nconst SECONDARY_TEXT_VARIANTS = {\n defaultColor: styles.defaultColorText // Default text color for Secondary CTA\n};\n\nconst Button = ({\n children,\n size = 'default',\n variant = 'primary',\n PRIMARY_FILL_VARIANT = 'defaultColor',\n SECONDARY_STROKE_VARIANT = 'defaultColor',\n SECONDARY_TEXT_VARIANT = 'defaultColor',\n className = '',\n fullWidth = false,\n ...rest\n }) => {\n // Build the className string using conditional logic\n const buttonClasses = classNames(\n styles.button,\n SIZE_CLASSES[size],\n styles[variant],\n {\n [styles.fullWidth]: fullWidth,\n [PRIMARY_FILL_VARIANTS[PRIMARY_FILL_VARIANT] || PRIMARY_FILL_VARIANTS.defaultColor]: variant === 'primary',\n [SECONDARY_STROKE_VARIANTS[SECONDARY_STROKE_VARIANT] || SECONDARY_STROKE_VARIANTS.defaultColor]: variant === 'secondary',\n [SECONDARY_TEXT_VARIANTS[SECONDARY_TEXT_VARIANT] || SECONDARY_TEXT_VARIANTS.defaultColor]: variant === 'secondary'\n },\n className\n );\n\n return (\n <button className={buttonClasses} type=\"button\" {...rest}>\n {children}\n </button>\n );\n};\n\nexport default Button;\n","import styles from './SquareIconButton.module.scss';\n\nconst SquareIconButton = ({ children, className = '', ...rest }) => {\n return (\n <button className={`${styles.squareIconButton} ${className}`} color='inherit' type={'button'} {...rest}>\n {children}\n </button>\n );\n};\n\nexport default SquareIconButton;\n","import Button from '../Button/Button';\nimport SquareIconButton from '../SquareIconButton/SquareIconButton';\n\nconst FallbackAddButton = ({ isCondensed = false, children = '', className = '', ...rest }) => {\n if (isCondensed) {\n return (\n <SquareIconButton className={className} {...rest}>\n +\n </SquareIconButton>\n );\n }\n\n return (\n <Button\n size={'small'}\n color={'accent'}\n variant={'text'}\n className={`blueprint-typography-GothamBaseBold-font ${className}`}\n style={{ textWrap: 'nowrap' }}\n type={'button'}\n {...rest}\n >\n {'+ '}\n {children}\n </Button>\n );\n};\n\nexport default FallbackAddButton;\n","const decorateTheme = ({ theme }) => {\n return {\n ...theme,\n typography: {\n ...Object.keys(theme.typography).reduce((acc, key, index) => {\n if (index === 0) {\n acc[key] = theme.typography[key].font;\n }\n\n return {\n ...acc,\n [key]: {\n ...theme.typography[key],\n font: `${theme.typography[key].fontStyle}\n ${theme.typography[key].fontWeight}\n ${theme.typography[key].fontSize}/\n ${theme.typography[key].lineHeight}\n ${theme.typography[key].fontFamily}`,\n fontStyle: theme.typography[key].fontStyle,\n fontWeight: theme.typography[key].fontWeight,\n fontSize: theme.typography[key].fontSize,\n lineHeight: theme.typography[key].lineHeight,\n fontFamily: theme.typography[key].fontFamily,\n textDecorationLine: theme.typography[key].textDecorationLine,\n textTransform: theme.typography[key].textTransform,\n margin: theme.typography[key].margin,\n },\n };\n }, {}),\n },\n };\n};\n\nexport default decorateTheme;\n","function flattenToCssVars(obj, parentKey = '') {\n const result = {};\n\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}-${key}` : key;\n\n if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenToCssVars(value, newKey));\n } else {\n result[`--tb-${newKey}`] = value;\n }\n }\n\n return result;\n}\n\nexport default flattenToCssVars;\n","const hexToRgba = (hex) => {\n hex = hex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16);\n const g = parseInt(hex.substring(2, 4), 16);\n const b = parseInt(hex.substring(4, 6), 16);\n return `${r}, ${g}, ${b}`;\n};\n\nexport default hexToRgba;\n","import { createContext, useContext, useEffect, useState, useMemo } from 'react';\nimport decorateTheme from './utils/decorateTheme';\nimport flattenToCssVars from './utils/flattenToCssVars';\nimport hexToRgba from './utils/hexToRGB';\nconst ThemeContext = createContext();\n\nconst ThemeProvider = ({ children, theme }) => {\n const decoratedTheme = useMemo(() => {\n return decorateTheme({ theme });\n }, [theme]);\n\n const cssVarsObject = useMemo(() => {\n return flattenToCssVars(decorateTheme({ theme }));\n }, [theme]);\n\n const [clientReady, setClientReady] = useState(false);\n\n useEffect(() => {\n setClientReady(true);\n }, [])\n\n\n if (!clientReady) {\n return null;\n }\n\n return (\n <ThemeContext.Provider value={decoratedTheme}>\n <style>\n {`\n@import \"https://use.typekit.net/loo0pmd.css\";\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-bold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff') format('woff');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-semibold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff') format('woff');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Light\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff\") format(\"woff\");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamSSm-Book\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff\") format(\"woff\");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}`}\n </style>\n <style>{`\n:root {\n ${Object.entries(cssVarsObject)\n .map(([key, value]) => `${key}: ${value};`)\n .join('\\n')}\n\n ${Object.entries(cssVarsObject)\n .filter(([key, value]) => key.includes('palette') && value.includes('#'))\n .map(([key, value]) => {\n return `${key}-RGB: ${ hexToRgba(value)};`\n })\n .join('\\n')}\n}`}\n </style>\n <style>{`\n ${Object.keys(decoratedTheme.typography)\n .map((typographyKey) => {\n return `\n.tb-typography-${typographyKey}-font {\n font: var(--tb-typography-${typographyKey}-font);\n text-decoration-line: var(--tb-typography-${typographyKey}-textDecorationLine);\n text-transform: var(--tb-typography-${typographyKey}-textTransform);\n}` }).join('\\n')}`}\n </style>\n {children}\n </ThemeContext.Provider>\n );\n};\n\nexport function useTheme() {\n return useContext(ThemeContext);\n}\n\nexport default ThemeProvider;\n","import { useState, useCallback, forwardRef } from 'react';\nimport styles from './InputField.module.scss';\n\nconst InputField = forwardRef(({ placeholder, disabled, className, ...props }, ref) => {\n const [inputState, setInputState] = useState({\n isFocused: false,\n hasValue: false,\n });\n\n const handleFocus = useCallback(() => {\n if (!disabled) {\n setInputState((prev) => ({ ...prev, isFocused: true }));\n }\n }, [disabled]);\n\n const handleBlur = useCallback((e) => {\n setInputState({\n isFocused: false,\n hasValue: e.target.value !== '',\n });\n }, []);\n\n const handleChange = useCallback((e) => {\n setInputState((prev) => ({\n ...prev,\n hasValue: e.target.value !== '',\n }));\n }, []);\n\n // Compute class names once\n const containerClassName = `${styles.inputContainer} ${inputState.isFocused ? styles.focused : ''} ${\n disabled ? styles.disabled : ''\n } ${className || ''}`;\n\n const labelClassName = `${styles.placeholder} ${\n inputState.isFocused || inputState.hasValue ? styles.floatingPlaceholder : ''\n }`;\n\n return (\n <div className={containerClassName}>\n <input\n className={styles.input}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n ref={ref}\n {...props}\n />\n <label className={labelClassName}>{placeholder}</label>\n </div>\n );\n});\n\n// Add display name for better debugging\nInputField.displayName = 'InputField';\n\nexport default InputField;\n","import React, { useState } from 'react';\nimport styles from './TextArea.module.scss';\n\nconst TextArea = ({ placeholder, disabled, maxLength = 200, value, ...props }) => {\n const [isFocused, setIsFocused] = useState(false);\n const [hasValue, setHasValue] = useState(false);\n const [charCount, setCharCount] = useState(value?.length || 0);\n\n const handleFocus = () => !disabled && setIsFocused(true);\n\n const handleBlur = (e) => {\n setIsFocused(false);\n setHasValue(e.target.value !== '');\n };\n\n const handleChange = (e) => {\n const inputValue = e.target.value;\n setHasValue(inputValue !== '');\n setCharCount(e.target.length);\n };\n\n return (\n <div\n className={`${styles.textAreaContainer} ${isFocused ? styles.focused : ''} ${disabled ? styles.disabled : ''}`}\n >\n <textarea\n className={styles.textarea}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n maxLength={maxLength}\n value={value}\n {...props}\n />\n <label className={`${styles.placeholder} ${isFocused || hasValue ? styles.floatingPlaceholder : ''}`}>\n {placeholder}\n </label>\n <div className={styles.charCounter}>\n {charCount}/{maxLength}\n </div>\n </div>\n );\n};\n\nexport default TextArea;\n","const typography = {\n H1: {\n fontSize: '3rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '60px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H2: {\n fontSize: '2.5rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '50px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H3: {\n fontSize: '2.0625rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '41px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H4: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H5: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H6: {\n fontSize: '1.1875rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodySmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderSmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBold: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBook: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBold: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBook: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamXSmallBook: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamOverline: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'uppercase',\n textDecorationLine: 'none',\n },\n}\n\nexport default typography;\n","import typography from './typography';\n\nexport const defaultTheme = {\n palette: {\n TB: {\n Brand: {\n Primary: '#0C223F',\n Medium: '#004876',\n Accent: '#0070CD',\n Gray: '#8195A2',\n },\n Functional: {\n Black: '#000000',\n OffBlack: '#595959',\n White: '#FFFFFF',\n OffWhite: '#B5B5B5',\n DarkGray: '#858585',\n MedGray: '#D8D8D8',\n LightGray: '#E9EDF0',\n GrayOnDark: 'rgba(255, 255, 255, 0.2)',\n Success: '#009D47',\n Error: '#A31F34',\n },\n POI: {\n Food: '#AD3F49',\n Fitness: '#D78956',\n Entertainment: '#DBAE60',\n Parks: '#5E8748',\n Transportation: '#5C8988',\n Business: '#2C71C7',\n Shopping: '#344072',\n School: '#543D6E',\n },\n },\n primary: {\n contrast: '#FFFFFF',\n main: '#2196F3',\n },\n action: {\n disabled: 'rgba(0, 0, 0, 0.38)',\n },\n },\n typography: {\n ...typography,\n SemanticPlaceholder: typography.GothamBaseBook,\n SemanticFloatingPlaceholder: typography.GothamXSmallBook,\n SemanticInput: typography.SubheaderBase,\n SemanticButtonLabelBase: typography.GothamBaseBold,\n SemanticButtonLabelSmall: typography.GothamSmallBold,\n SemanticTabLabel: typography.GothamBaseBold,\n SemanticTagLabel: typography.GothamSmallBold,\n },\n GlobalBrandBorderRadius: '4px',\n};\n","import { useMemo, useState } from 'react';\nimport styles from './Tabs.module.scss';\n\nconst Tabs = ({ tabs, tabAction }) => {\n const [selectedTab, setSelectedTab] = useState(0);\n const CurrentTabContent = useMemo(() => {\n return tabs[selectedTab].content;\n }, [selectedTab]);\n\n const tabActionComponent = useMemo(() => {\n return tabAction ? tabAction() : null;\n }, [tabAction]);\n\n return (\n <div className={styles.tabContainer}>\n <div className={styles.tabTitleContainer}>\n <div className={styles.tabTitleScrollable}>\n {tabs.map((tab, index) => {\n return (\n <>\n <div\n key={`blueprint-tab-${index}`}\n className={`${styles.tabItem} ${selectedTab === index ? styles.selected : ''}`}\n onClick={() => setSelectedTab(index)}\n >\n {tab.title}\n <div className={styles.selectionBar} />\n </div>\n </>\n );\n })}\n </div>\n {tabActionComponent && <div className={styles.tabActionContainer}>{tabActionComponent}</div>}\n </div>\n <div className={styles.tabContent}>\n <CurrentTabContent />\n </div>\n </div>\n );\n};\n\nexport default Tabs;\n"],"names":["_excluded","SIZE_CLASSES","default","styles","small","xsmall","PRIMARY_FILL_VARIANTS","defaultColor","defaultColorFill","SECONDARY_STROKE_VARIANTS","defaultColorStroke","SECONDARY_TEXT_VARIANTS","defaultColorText","Button","_ref","_classNames","children","_ref$size","size","_ref$variant","variant","_ref$PRIMARY_FILL_VAR","PRIMARY_FILL_VARIANT","_ref$SECONDARY_STROKE","SECONDARY_STROKE_VARIANT","_ref$SECONDARY_TEXT_V","SECONDARY_TEXT_VARIANT","_ref$className","className","_ref$fullWidth","fullWidth","rest","_objectWithoutPropertiesLoose","buttonClasses","classNames","button","_jsx","_extends","type","SquareIconButton","jsx","color","decorateTheme","theme","typography","Object","keys","reduce","acc","key","index","_extends2","font","fontStyle","fontWeight","fontSize","lineHeight","fontFamily","textDecorationLine","textTransform","margin","flattenToCssVars","obj","parentKey","result","_i","_Object$entries","entries","length","_Object$entries$_i","value","newKey","assign","ThemeContext","createContext","InputField","forwardRef","ref","placeholder","disabled","props","_useState","useState","isFocused","hasValue","inputState","setInputState","handleFocus","useCallback","prev","handleBlur","e","target","handleChange","labelClassName","_jsxs","onFocus","onBlur","onChange","displayName","H1","H2","H3","H4","H5","H6","BodyBase","BodyLarge","BodySmall","BodyXSmall","SubheaderBase","SubheaderLarge","SubheaderSmall","SubheaderXSmall","GothamBaseBold","GothamBaseBook","GothamSmallBold","GothamSmallBook","GothamXSmallBook","GothamOverline","defaultTheme","palette","TB","Brand","Primary","Medium","Accent","Gray","Functional","Black","OffBlack","White","OffWhite","DarkGray","MedGray","LightGray","GrayOnDark","Success","Error","POI","Food","Fitness","Entertainment","Parks","Transportation","Business","Shopping","School","primary","contrast","main","action","SemanticPlaceholder","SemanticFloatingPlaceholder","SemanticInput","SemanticButtonLabelBase","SemanticButtonLabelSmall","SemanticTabLabel","SemanticTagLabel","GlobalBrandBorderRadius","_ref$isCondensed","isCondensed","_ref$children","style","textWrap","tabs","tabAction","selectedTab","setSelectedTab","CurrentTabContent","useMemo","content","tabActionComponent","jsxs","tabContainer","tabTitleContainer","tabTitleScrollable","map","tab","_Fragment","Fragment","tabItem","selected","onClick","title","selectionBar","tabActionContainer","tabContent","_ref$maxLength","maxLength","setIsFocused","_useState2","setHasValue","_useState3","charCount","setCharCount","decoratedTheme","cssVarsObject","clientReady","setClientReady","useEffect","Provider","_ref2","join","filter","_ref3","includes","_ref4","hex","hexToRgba","replace","parseInt","substring","b","typographyKey","useContext"],"mappings":"qrBAAAA,EAAA,CAAA,WAAA,OAAA,UAAA,uBAAA,2BAAA,yBAAA,YAAA,aAGMC,EAAe,CACnBC,QAASC,UACTC,MAAOD,EAAOC,MACdC,OAAQF,EAAOE,QAKXC,EAAwB,CAC5BC,aAAcJ,EAAOK,kBAIjBC,EAA4B,CAChCF,aAAcJ,EAAOO,oBAGjBC,EAA0B,CAC9BJ,aAAcJ,EAAOS,kBAGjBC,EAAS,SAAHC,GAUUC,IAAAA,EATJC,EAAQF,EAARE,SAAQC,EAAAH,EACRI,KAAAA,OAAO,IAAHD,EAAG,UAASA,EAAAE,EAAAL,EAChBM,QAAAA,OAAU,IAAHD,EAAG,UAASA,EAAAE,EAAAP,EACnBQ,qBAAAA,OAAoB,IAAAD,EAAG,eAAcA,EAAAE,EAAAT,EACrCU,yBAAAA,OAA2B,IAAHD,EAAG,eAAcA,EAAAE,EAAAX,EACzCY,uBAAAA,OAAyB,IAAHD,EAAG,eAAcA,EAAAE,EAAAb,EACvCc,UAAAA,OAAY,IAAHD,EAAG,GAAEA,EAAAE,EAAAf,EACdgB,UAAAA,WAASD,GAAQA,EACdE,EAAIC,EAAAlB,EAAAd,GAGjBiC,EAAgBC,UACpB/B,EAAOgC,OACPlC,EAAaiB,GACbf,EAAOiB,KAAQL,MAEZZ,EAAO2B,WAAYA,EAASf,EAC5BT,EAAsBgB,IAAyBhB,EAAs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sCC,EAAQA,UAAC,GAAxCoH,EAAWrH,EAAEsH,GAAAA,EAActH,EAAA,GAOlC,OALAuH,EAASA,UAAC,WACRD,GAAe,EACjB,EAAG,IAGED,eAKHvG,OAACtB,EAAagI,UAASnI,MAAO8H,EAAepL,SAC3CoB,cAAAA,eAAApB,SAAA,kqEA8DAoB,eAAApB,SAAA,gBAEF6B,OAAOsB,QAAQkI,GACZpB,IAAI,SAAAyB,GAAqB,OAAhBA,KAAmB,KAAZA,EAAS,GAAgB,GAAA,GACzCC,KAAK,MAAK,SAEb9J,OAAOsB,QAAQkI,GACZO,OAAO,SAAAC,GAAE,IAAKvI,EAAKuI,EAAM,GAAA,OAAbA,KAAiBC,SAAS,YAAcxI,EAAMwI,SAAS,IAAI,GACvE7B,IAAI,SAAA8B,GAAE,IDlGMC,ECmGX,OADQD,EAAEzI,GACa2I,UDlG7BD,GADiBA,ECkGID,EAAA,IDjGXG,QAAQ,IAAK,IACbC,SAASH,EAAII,UAAU,EAAG,GAAI,IAG7B,KAFDD,SAASH,EAAII,UAAU,EAAG,GAAI,IAElBC,KADZF,SAASH,EAAII,UAAU,EAAG,GAAI,QCgGpC,GACCT,KAAK,2BAGNvK,EAAAA,IAAApB,QAAAA,CAAAA,oBACE6B,OAAOC,KAAKsJ,EAAexJ,YAC1BqI,IAAI,SAACqC,GACJ,0BACOA,EAAa,wCACAA,EACgBA,wDAAAA,kEACNA,EAAa,qBAC7C,GAAGX,KAAK,QAET3L,SAGP,qDAGE,OAAOuM,EAAUA,WAAC9I,EACpB"}
@@ -1,2 +1,2 @@
1
- import t from"classnames";import{jsx as e,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useMemo as a,useState as r,useEffect as l,useContext as i,createContext as f,forwardRef as s,useCallback as m}from"react";function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},h.apply(null,arguments)}function c(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;n[o]=t[o]}return n}var y={button:"_RkubW",small:"_pV7AR",xsmall:"_7FiWF",fullWidth:"_6cI1z",primary:"_ay1Sp",secondary:"_UebRL",defaultColorStroke:"_Lb6KY",defaultColorText:"_sZZuY"};const p=["children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth"],d={default:y.default,small:y.small,xsmall:y.xsmall},g={defaultColor:y.defaultColorFill},u={defaultColor:y.defaultColorStroke},b={defaultColor:y.defaultColorText},S=n=>{let{children:o,size:a="default",variant:r="primary",PRIMARY_FILL_VARIANT:l="defaultColor",SECONDARY_STROKE_VARIANT:i="defaultColor",SECONDARY_TEXT_VARIANT:f="defaultColor",className:s="",fullWidth:m=!1}=n,S=c(n,p);const x=t(y.button,d[a],y[r],{[y.fullWidth]:m,[g[l]||g.defaultColor]:"primary"===r,[u[i]||u.defaultColor]:"secondary"===r,[b[f]||b.defaultColor]:"secondary"===r},s);/*#__PURE__*/return e("button",h({className:x,type:"button"},S,{children:o}))},x=["children","className"],v=t=>{let{children:n,className:o=""}=t,a=c(t,x);/*#__PURE__*/return e("button",h({className:`_-kJUj ${o}`,color:"inherit",type:"button"},a,{children:n}))},H=["isCondensed","children","className"],w=t=>{let{isCondensed:o=!1,children:a="",className:r=""}=t,l=c(t,H);return o?/*#__PURE__*/e(v,h({className:r},l,{children:"+"})):/*#__PURE__*/n(S,h({size:"small",color:"accent",variant:"text",className:`blueprint-typography-GothamBaseBold-font ${r}`,style:{textWrap:"nowrap"},type:"button"},l,{children:["+ ",a]}))},F=({theme:t})=>h({},t,{typography:h({},Object.keys(t.typography).reduce((e,n,o)=>(0===o&&(e[n]=t.typography[n].font),h({},e,{[n]:h({},t.typography[n],{font:`${t.typography[n].fontStyle}\n ${t.typography[n].fontWeight}\n ${t.typography[n].fontSize}/\n ${t.typography[n].lineHeight}\n ${t.typography[n].fontFamily}`,fontStyle:t.typography[n].fontStyle,fontWeight:t.typography[n].fontWeight,fontSize:t.typography[n].fontSize,lineHeight:t.typography[n].lineHeight,fontFamily:t.typography[n].fontFamily,textDecorationLine:t.typography[n].textDecorationLine,textTransform:t.typography[n].textTransform,margin:t.typography[n].margin})})),{}))});function B(t,e=""){const n={};for(const[o,a]of Object.entries(t)){const t=e?`${e}-${o}`:o;"object"==typeof a&&null!==a?Object.assign(n,B(a,t)):n[`--tb-${t}`]=a}return n}const N=/*#__PURE__*/f(),D=({children:t,theme:o})=>{const i=a(()=>F({theme:o}),[o]),f=a(()=>B(F({theme:o})),[o]),[s,m]=r(!1);return l(()=>{m(!0)},[]),s?/*#__PURE__*/n(N.Provider,{value:i,children:[/*#__PURE__*/e("style",{children:'\n@import "https://use.typekit.net/loo0pmd.css";\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-bold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff\') format(\'woff\');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-semibold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff\') format(\'woff\');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Light"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff") format("woff");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamSSm-Book"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff") format("woff");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}'}),/*#__PURE__*/e("style",{children:`\n:root {\n ${Object.entries(f).map(([t,e])=>`${t}: ${e};`).join("\n")}\n\n ${Object.entries(f).filter(([t,e])=>t.includes("palette")&&e.includes("#")).map(([t,e])=>{return`${t}-RGB: ${n=e,n=n.replace("#",""),`${parseInt(n.substring(0,2),16)}, ${parseInt(n.substring(2,4),16)}, ${parseInt(n.substring(4,6),16)}`};`;var n}).join("\n")}\n}`}),/*#__PURE__*/e("style",{children:`\n ${Object.keys(i.typography).map(t=>`\n.tb-typography-${t}-font {\n font: var(--tb-typography-${t}-font);\n text-decoration-line: var(--tb-typography-${t}-textDecorationLine);\n text-transform: var(--tb-typography-${t}-textTransform);\n}`).join("\n")}`}),/*#__PURE__*/e("style",{children:"\nh1 {\n font: var(--tb-typography-H1-font);\n text-decoration-line: var(--tb-typography-H1-textDecorationLine);\n text-transform: var(--tb-typography-H1-textTransform);\n}\n\nh2 {\n font: var(--tb-typography-H2-font);\n text-decoration-line: var(--tb-typography-H2-textDecorationLine);\n text-transform: var(--tb-typography-H2-textTransform);\n}\n\nh3 {\n font: var(--tb-typography-H3-font);\n text-decoration-line: var(--tb-typography-H3-textDecorationLine);\n text-transform: var(--tb-typography-H3-textTransform);\n}\n\nh4 {\n font: var(--tb-typography-H4-font);\n text-decoration-line: var(--tb-typography-H4-textDecorationLine);\n text-transform: var(--tb-typography-H4-textTransform);\n}\n\nh5 {\n font: var(--tb-typography-H5-font);\n text-decoration-line: var(--tb-typography-H5-textDecorationLine);\n text-transform: var(--tb-typography-H5-textTransform);\n}\n\nh6 {\n font: var(--tb-typography-H6-font);\n text-decoration-line: var(--tb-typography-H6-textDecorationLine);\n text-transform: var(--tb-typography-H6-textTransform);\n}\n\nbody {\n color: var(--tb-palette-TB-Functional-Black);\n font: var(--tb-typography-BodyBase-font);\n background-color: var(--tb-palette-TB-Functional-White);\n}"}),t]}):null};function T(){return i(N)}const G=["placeholder","disabled","className"],L=/*#__PURE__*/s((t,o)=>{let{placeholder:a,disabled:l,className:i}=t,f=c(t,G);const[s,y]=r({isFocused:!1,hasValue:!1}),p=m(()=>{l||y(t=>h({},t,{isFocused:!0}))},[l]),d=m(t=>{y({isFocused:!1,hasValue:""!==t.target.value})},[]),g=m(t=>{y(e=>h({},e,{hasValue:""!==t.target.value}))},[]),u="_78FKB "+(s.isFocused||s.hasValue?"_5znRk":"");/*#__PURE__*/return n("div",{className:`_MeMZp ${s.isFocused?"_8Hsn-":""} ${l?"_eNyUD":""} ${i||""}`,children:[/*#__PURE__*/e("input",h({className:"_Bc-Kx",onFocus:p,onBlur:d,onChange:g,placeholder:" ",disabled:l,ref:o},f)),/*#__PURE__*/e("label",{className:u,children:a})]})});L.displayName="InputField";const _=["placeholder","disabled","maxLength","value"],A=t=>{let{placeholder:o,disabled:a,maxLength:l=200,value:i}=t,f=c(t,_);const[s,m]=r(!1),[y,p]=r(!1),[d,g]=r((null==i?void 0:i.length)||0);/*#__PURE__*/return n("div",{className:`_z1n8A ${s?"_2RHao":""} ${a?"_k6HqW":""}`,children:[/*#__PURE__*/e("textarea",h({className:"_iEdgY",onFocus:()=>!a&&m(!0),onBlur:t=>{m(!1),p(""!==t.target.value)},onChange:t=>{p(""!==t.target.value),g(t.target.length)},placeholder:" ",disabled:a,maxLength:l,value:i},f)),/*#__PURE__*/e("label",{className:"_VSnow "+(s||y?"_YYp0f":""),children:o}),/*#__PURE__*/n("div",{className:"_LuSeq",children:[d,"/",l]})]})};var W={tabContainer:"_5eXiF",tabTitleContainer:"_9-wY-",tabTitleScrollable:"_SYuOW",tabItem:"_V7xf9",selected:"_GVCyF",tabContent:"_3-wzH",selectionBar:"_tsK-o"};const C=({tabs:t,tabAction:l})=>{const[i,f]=r(0),s=a(()=>t[i].content,[i]),m=a(()=>l?l():null,[l]);/*#__PURE__*/return n("div",{className:W.tabContainer,children:[/*#__PURE__*/n("div",{className:W.tabTitleContainer,children:[/*#__PURE__*/e("div",{className:W.tabTitleScrollable,children:t.map((t,a)=>/*#__PURE__*/e(o,{children:/*#__PURE__*/n("div",{className:`${W.tabItem} ${i===a?W.selected:""}`,onClick:()=>f(a),children:[t.title,/*#__PURE__*/e("div",{className:W.selectionBar})]},`blueprint-tab-${a}`)}))}),m&&/*#__PURE__*/e("div",{className:W.tabActionContainer,children:m})]}),/*#__PURE__*/e("div",{className:W.tabContent,children:/*#__PURE__*/e(s,{})})]})},$={H1:{fontSize:"3rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"60px",textTransform:"none",textDecorationLine:"none"},H2:{fontSize:"2.5rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"50px",textTransform:"none",textDecorationLine:"none"},H3:{fontSize:"2.0625rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"41px",textTransform:"none",textDecorationLine:"none"},H4:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H5:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H6:{fontSize:"1.1875rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},BodySmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},BodyXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},SubheaderBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},SubheaderLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},SubheaderSmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},SubheaderXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamBaseBold:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamBaseBook:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamSmallBold:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:500,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamSmallBook:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamXSmallBook:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamOverline:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:700,lineHeight:"17px",textTransform:"uppercase",textDecorationLine:"none"}},z={palette:{TB:{Brand:{Primary:"#0C223F",Medium:"#004876",Accent:"#0070CD",Gray:"#8195A2"},Functional:{Black:"#000000",OffBlack:"#595959",White:"#FFFFFF",OffWhite:"#B5B5B5",DarkGray:"#858585",MedGray:"#D8D8D8",LightGray:"#E9EDF0",GrayOnDark:"rgba(255, 255, 255, 0.2)",Success:"#009D47",Error:"#A31F34"},POI:{Food:"#AD3F49",Fitness:"#D78956",Entertainment:"#DBAE60",Parks:"#5E8748",Transportation:"#5C8988",Business:"#2C71C7",Shopping:"#344072",School:"#543D6E"}},primary:{contrast:"#FFFFFF",main:"#2196F3"},action:{disabled:"rgba(0, 0, 0, 0.38)"}},typography:h({},$,{SemanticPlaceholder:$.GothamBaseBook,SemanticFloatingPlaceholder:$.GothamXSmallBook,SemanticInput:$.SubheaderBase,SemanticButtonLabelBase:$.GothamBaseBold,SemanticButtonLabelSmall:$.GothamSmallBold,SemanticTabLabel:$.GothamBaseBold,SemanticTagLabel:$.GothamSmallBold}),GlobalBrandBorderRadius:"4px"};export{S as Button,w as FallbackAddButton,L as InputField,v as SquareIconButton,C as Tabs,A as TextArea,D as ThemeProvider,z as defaultTheme,T as useTheme};
1
+ import t from"classnames";import{jsx as e,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useMemo as a,useState as r,useEffect as l,useContext as i,createContext as s,forwardRef as f,useCallback as m}from"react";function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var o in n)({}).hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},c.apply(null,arguments)}function h(t,e){if(null==t)return{};var n={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)>=0)continue;n[o]=t[o]}return n}var d={button:"_RkubW",small:"_pV7AR",xsmall:"_7FiWF",fullWidth:"_6cI1z",primary:"_ay1Sp",secondary:"_UebRL",defaultColorStroke:"_Lb6KY",defaultColorText:"_sZZuY"};const y=["children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth"],p={default:d.default,small:d.small,xsmall:d.xsmall},u={defaultColor:d.defaultColorFill},g={defaultColor:d.defaultColorStroke},S={defaultColor:d.defaultColorText},b=n=>{let{children:o,size:a="default",variant:r="primary",PRIMARY_FILL_VARIANT:l="defaultColor",SECONDARY_STROKE_VARIANT:i="defaultColor",SECONDARY_TEXT_VARIANT:s="defaultColor",className:f="",fullWidth:m=!1}=n,b=h(n,y);const x=t(d.button,p[a],d[r],{[d.fullWidth]:m,[u[l]||u.defaultColor]:"primary"===r,[g[i]||g.defaultColor]:"secondary"===r,[S[s]||S.defaultColor]:"secondary"===r},f);/*#__PURE__*/return e("button",c({className:x,type:"button"},b,{children:o}))},x=["children","className"],w=t=>{let{children:n,className:o=""}=t,a=h(t,x);/*#__PURE__*/return e("button",c({className:`_-kJUj ${o}`,color:"inherit",type:"button"},a,{children:n}))},F=["isCondensed","children","className"],v=t=>{let{isCondensed:o=!1,children:a="",className:r=""}=t,l=h(t,F);return o?/*#__PURE__*/e(w,c({className:r},l,{children:"+"})):/*#__PURE__*/n(b,c({size:"small",color:"accent",variant:"text",className:`blueprint-typography-GothamBaseBold-font ${r}`,style:{textWrap:"nowrap"},type:"button"},l,{children:["+ ",a]}))},N=({theme:t})=>c({},t,{typography:c({},Object.keys(t.typography).reduce((e,n,o)=>(0===o&&(e[n]=t.typography[n].font),c({},e,{[n]:c({},t.typography[n],{font:`${t.typography[n].fontStyle}\n ${t.typography[n].fontWeight}\n ${t.typography[n].fontSize}/\n ${t.typography[n].lineHeight}\n ${t.typography[n].fontFamily}`,fontStyle:t.typography[n].fontStyle,fontWeight:t.typography[n].fontWeight,fontSize:t.typography[n].fontSize,lineHeight:t.typography[n].lineHeight,fontFamily:t.typography[n].fontFamily,textDecorationLine:t.typography[n].textDecorationLine,textTransform:t.typography[n].textTransform,margin:t.typography[n].margin})})),{}))});function H(t,e=""){const n={};for(const[o,a]of Object.entries(t)){const t=e?`${e}-${o}`:o;"object"==typeof a&&null!==a?Object.assign(n,H(a,t)):n[`--tb-${t}`]=a}return n}const B=/*#__PURE__*/s(),G=({children:t,theme:o})=>{const i=a(()=>N({theme:o}),[o]),s=a(()=>H(N({theme:o})),[o]),[f,m]=r(!1);return l(()=>{m(!0)},[]),f?/*#__PURE__*/n(B.Provider,{value:i,children:[/*#__PURE__*/e("style",{children:'\n@import "https://use.typekit.net/loo0pmd.css";\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-bold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff\') format(\'woff\');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \'Domaine\';\n src: local(\'domaine-semibold\'), url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2\') format(\'woff2\'),\n url(\'https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff\') format(\'woff\');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Light"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: "Gotham Narrow";\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff") format("woff");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamSSm-Book"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff") format("woff");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local("GothamNarrSSm-Medium"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2") format("woff2"),\n url("https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff") format("woff");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}'}),/*#__PURE__*/e("style",{children:`\n:root {\n ${Object.entries(s).map(([t,e])=>`${t}: ${e};`).join("\n")}\n\n ${Object.entries(s).filter(([t,e])=>t.includes("palette")&&e.includes("#")).map(([t,e])=>{return`${t}-RGB: ${n=e,n=n.replace("#",""),`${parseInt(n.substring(0,2),16)}, ${parseInt(n.substring(2,4),16)}, ${parseInt(n.substring(4,6),16)}`};`;var n}).join("\n")}\n}`}),/*#__PURE__*/e("style",{children:`\n ${Object.keys(i.typography).map(t=>`\n.tb-typography-${t}-font {\n font: var(--tb-typography-${t}-font);\n text-decoration-line: var(--tb-typography-${t}-textDecorationLine);\n text-transform: var(--tb-typography-${t}-textTransform);\n}`).join("\n")}`}),t]}):null};function _(){return i(B)}const D=["placeholder","disabled","className"],A=/*#__PURE__*/f((t,o)=>{let{placeholder:a,disabled:l,className:i}=t,s=h(t,D);const[f,d]=r({isFocused:!1,hasValue:!1}),y=m(()=>{l||d(t=>c({},t,{isFocused:!0}))},[l]),p=m(t=>{d({isFocused:!1,hasValue:""!==t.target.value})},[]),u=m(t=>{d(e=>c({},e,{hasValue:""!==t.target.value}))},[]),g="_78FKB "+(f.isFocused||f.hasValue?"_5znRk":"");/*#__PURE__*/return n("div",{className:`_MeMZp ${f.isFocused?"_8Hsn-":""} ${l?"_eNyUD":""} ${i||""}`,children:[/*#__PURE__*/e("input",c({className:"_Bc-Kx",onFocus:y,onBlur:p,onChange:u,placeholder:" ",disabled:l,ref:o},s)),/*#__PURE__*/e("label",{className:g,children:a})]})});A.displayName="InputField";const T=["placeholder","disabled","maxLength","value"],L=t=>{let{placeholder:o,disabled:a,maxLength:l=200,value:i}=t,s=h(t,T);const[f,m]=r(!1),[d,y]=r(!1),[p,u]=r((null==i?void 0:i.length)||0);/*#__PURE__*/return n("div",{className:`_z1n8A ${f?"_2RHao":""} ${a?"_k6HqW":""}`,children:[/*#__PURE__*/e("textarea",c({className:"_iEdgY",onFocus:()=>!a&&m(!0),onBlur:t=>{m(!1),y(""!==t.target.value)},onChange:t=>{y(""!==t.target.value),u(t.target.length)},placeholder:" ",disabled:a,maxLength:l,value:i},s)),/*#__PURE__*/e("label",{className:"_VSnow "+(f||d?"_YYp0f":""),children:o}),/*#__PURE__*/n("div",{className:"_LuSeq",children:[p,"/",l]})]})};var W={tabContainer:"_5eXiF",tabTitleContainer:"_9-wY-",tabTitleScrollable:"_SYuOW",tabItem:"_V7xf9",selected:"_GVCyF",tabContent:"_3-wzH",selectionBar:"_tsK-o"};const C=({tabs:t,tabAction:l})=>{const[i,s]=r(0),f=a(()=>t[i].content,[i]),m=a(()=>l?l():null,[l]);/*#__PURE__*/return n("div",{className:W.tabContainer,children:[/*#__PURE__*/n("div",{className:W.tabTitleContainer,children:[/*#__PURE__*/e("div",{className:W.tabTitleScrollable,children:t.map((t,a)=>/*#__PURE__*/e(o,{children:/*#__PURE__*/n("div",{className:`${W.tabItem} ${i===a?W.selected:""}`,onClick:()=>s(a),children:[t.title,/*#__PURE__*/e("div",{className:W.selectionBar})]},`blueprint-tab-${a}`)}))}),m&&/*#__PURE__*/e("div",{className:W.tabActionContainer,children:m})]}),/*#__PURE__*/e("div",{className:W.tabContent,children:/*#__PURE__*/e(f,{})})]})},$={H1:{fontSize:"3rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"60px",textTransform:"none",textDecorationLine:"none"},H2:{fontSize:"2.5rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"50px",textTransform:"none",textDecorationLine:"none"},H3:{fontSize:"2.0625rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"41px",textTransform:"none",textDecorationLine:"none"},H4:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H5:{fontSize:"1.75rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"35px",textTransform:"none",textDecorationLine:"none"},H6:{fontSize:"1.1875rem",fontFamily:"Domaine, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},BodyLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},BodySmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},BodyXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:300,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},SubheaderBase:{fontSize:"1rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"24px",textTransform:"none",textDecorationLine:"none"},SubheaderLarge:{fontSize:"1.125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"27px",textTransform:"none",textDecorationLine:"none"},SubheaderSmall:{fontSize:"0.8125rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"20px",textTransform:"none",textDecorationLine:"none"},SubheaderXSmall:{fontSize:"0.6875rem",fontFamily:"Gotham Narrow, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamBaseBold:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamBaseBook:{fontSize:"0.875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"21px",textTransform:"none",textDecorationLine:"none"},GothamSmallBold:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamSmallBook:{fontSize:"0.75rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"18px",textTransform:"none",textDecorationLine:"none"},GothamXSmallBook:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"none",textDecorationLine:"none"},GothamOverline:{fontSize:"0.6875rem",fontFamily:"Gotham, Helvetica, Arial, sans-serif",fontStyle:"normal",fontWeight:400,lineHeight:"17px",textTransform:"uppercase",textDecorationLine:"none"}},z={palette:{TB:{Brand:{Primary:"#0C223F",Medium:"#004876",Accent:"#0070CD",Gray:"#8195A2"},Functional:{Black:"#000000",OffBlack:"#595959",White:"#FFFFFF",OffWhite:"#B5B5B5",DarkGray:"#858585",MedGray:"#D8D8D8",LightGray:"#E9EDF0",GrayOnDark:"rgba(255, 255, 255, 0.2)",Success:"#009D47",Error:"#A31F34"},POI:{Food:"#AD3F49",Fitness:"#D78956",Entertainment:"#DBAE60",Parks:"#5E8748",Transportation:"#5C8988",Business:"#2C71C7",Shopping:"#344072",School:"#543D6E"}},primary:{contrast:"#FFFFFF",main:"#2196F3"},action:{disabled:"rgba(0, 0, 0, 0.38)"}},typography:c({},$,{SemanticPlaceholder:$.GothamBaseBook,SemanticFloatingPlaceholder:$.GothamXSmallBook,SemanticInput:$.SubheaderBase,SemanticButtonLabelBase:$.GothamBaseBold,SemanticButtonLabelSmall:$.GothamSmallBold,SemanticTabLabel:$.GothamBaseBold,SemanticTagLabel:$.GothamSmallBold}),GlobalBrandBorderRadius:"4px"};export{b as Button,v as FallbackAddButton,A as InputField,w as SquareIconButton,C as Tabs,L as TextArea,G as ThemeProvider,z as defaultTheme,_ as useTheme};
2
2
  //# sourceMappingURL=index.modern.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.modern.mjs","sources":["../src/mui/primitives/Button/Button.js","../src/mui/primitives/SquareIconButton/SquareIconButton.js","../src/mui/primitives/FallbackAddButton/FallbackAddButton.js","../src/themes/utils/decorateTheme.js","../src/themes/utils/flattenToCssVars.js","../src/themes/utils/hexToRGB.js","../src/themes/ThemeProvider.js","../src/mui/primitives/InputField/InputField.js","../src/mui/primitives/TextArea/TextArea.js","../src/mui/primitives/Tabs/Tabs.js","../src/themes/default/typography.js","../src/themes/default/theme.js"],"sourcesContent":["import styles from './Button.module.scss';\nimport classNames from 'classnames';\n\nconst SIZE_CLASSES = {\n default: styles.default, // Default button size\n small: styles.small, // Small button size\n xsmall: styles.xsmall // Extra small button size\n};\n\n\n// Primary CTA property only\nconst PRIMARY_FILL_VARIANTS = {\n defaultColor: styles.defaultColorFill // Default fill for Primary CTA\n};\n\n// Secondary CTA properties only\nconst SECONDARY_STROKE_VARIANTS = {\n defaultColor: styles.defaultColorStroke // Default stroke for Secondary CTA\n};\n\nconst SECONDARY_TEXT_VARIANTS = {\n defaultColor: styles.defaultColorText // Default text color for Secondary CTA\n};\n\nconst Button = ({\n children,\n size = 'default',\n variant = 'primary',\n PRIMARY_FILL_VARIANT = 'defaultColor',\n SECONDARY_STROKE_VARIANT = 'defaultColor',\n SECONDARY_TEXT_VARIANT = 'defaultColor',\n className = '',\n fullWidth = false,\n ...rest\n }) => {\n // Build the className string using conditional logic\n const buttonClasses = classNames(\n styles.button,\n SIZE_CLASSES[size],\n styles[variant],\n {\n [styles.fullWidth]: fullWidth,\n [PRIMARY_FILL_VARIANTS[PRIMARY_FILL_VARIANT] || PRIMARY_FILL_VARIANTS.defaultColor]: variant === 'primary',\n [SECONDARY_STROKE_VARIANTS[SECONDARY_STROKE_VARIANT] || SECONDARY_STROKE_VARIANTS.defaultColor]: variant === 'secondary',\n [SECONDARY_TEXT_VARIANTS[SECONDARY_TEXT_VARIANT] || SECONDARY_TEXT_VARIANTS.defaultColor]: variant === 'secondary'\n },\n className\n );\n\n return (\n <button className={buttonClasses} type=\"button\" {...rest}>\n {children}\n </button>\n );\n};\n\nexport default Button;\n","import styles from './SquareIconButton.module.scss';\n\nconst SquareIconButton = ({ children, className = '', ...rest }) => {\n return (\n <button className={`${styles.squareIconButton} ${className}`} color='inherit' type={'button'} {...rest}>\n {children}\n </button>\n );\n};\n\nexport default SquareIconButton;\n","import Button from '../Button/Button';\nimport SquareIconButton from '../SquareIconButton/SquareIconButton';\n\nconst FallbackAddButton = ({ isCondensed = false, children = '', className = '', ...rest }) => {\n if (isCondensed) {\n return (\n <SquareIconButton className={className} {...rest}>\n +\n </SquareIconButton>\n );\n }\n\n return (\n <Button\n size={'small'}\n color={'accent'}\n variant={'text'}\n className={`blueprint-typography-GothamBaseBold-font ${className}`}\n style={{ textWrap: 'nowrap' }}\n type={'button'}\n {...rest}\n >\n {'+ '}\n {children}\n </Button>\n );\n};\n\nexport default FallbackAddButton;\n","const decorateTheme = ({ theme }) => {\n return {\n ...theme,\n typography: {\n ...Object.keys(theme.typography).reduce((acc, key, index) => {\n if (index === 0) {\n acc[key] = theme.typography[key].font;\n }\n\n return {\n ...acc,\n [key]: {\n ...theme.typography[key],\n font: `${theme.typography[key].fontStyle}\n ${theme.typography[key].fontWeight}\n ${theme.typography[key].fontSize}/\n ${theme.typography[key].lineHeight}\n ${theme.typography[key].fontFamily}`,\n fontStyle: theme.typography[key].fontStyle,\n fontWeight: theme.typography[key].fontWeight,\n fontSize: theme.typography[key].fontSize,\n lineHeight: theme.typography[key].lineHeight,\n fontFamily: theme.typography[key].fontFamily,\n textDecorationLine: theme.typography[key].textDecorationLine,\n textTransform: theme.typography[key].textTransform,\n margin: theme.typography[key].margin,\n },\n };\n }, {}),\n },\n };\n};\n\nexport default decorateTheme;\n","function flattenToCssVars(obj, parentKey = '') {\n const result = {};\n\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}-${key}` : key;\n\n if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenToCssVars(value, newKey));\n } else {\n result[`--tb-${newKey}`] = value;\n }\n }\n\n return result;\n}\n\nexport default flattenToCssVars;\n","const hexToRgba = (hex) => {\n hex = hex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16);\n const g = parseInt(hex.substring(2, 4), 16);\n const b = parseInt(hex.substring(4, 6), 16);\n return `${r}, ${g}, ${b}`;\n};\n\nexport default hexToRgba;\n","import { createContext, useContext, useEffect, useState, useMemo } from 'react';\nimport decorateTheme from './utils/decorateTheme';\nimport flattenToCssVars from './utils/flattenToCssVars';\nimport hexToRgba from './utils/hexToRGB';\nconst ThemeContext = createContext();\n\nconst ThemeProvider = ({ children, theme }) => {\n const decoratedTheme = useMemo(() => {\n return decorateTheme({ theme });\n }, [theme]);\n\n const cssVarsObject = useMemo(() => {\n return flattenToCssVars(decorateTheme({ theme }));\n }, [theme]);\n\n const [clientReady, setClientReady] = useState(false);\n\n useEffect(() => {\n setClientReady(true);\n }, [])\n\n\n if (!clientReady) {\n return null;\n }\n\n return (\n <ThemeContext.Provider value={decoratedTheme}>\n <style>\n {`\n@import \"https://use.typekit.net/loo0pmd.css\";\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-bold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff') format('woff');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-semibold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff') format('woff');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Light\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff\") format(\"woff\");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamSSm-Book\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff\") format(\"woff\");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}`}\n </style>\n <style>{`\n:root {\n ${Object.entries(cssVarsObject)\n .map(([key, value]) => `${key}: ${value};`)\n .join('\\n')}\n\n ${Object.entries(cssVarsObject)\n .filter(([key, value]) => key.includes('palette') && value.includes('#'))\n .map(([key, value]) => {\n return `${key}-RGB: ${ hexToRgba(value)};`\n })\n .join('\\n')}\n}`}\n </style>\n <style>{`\n ${Object.keys(decoratedTheme.typography)\n .map((typographyKey) => {\n return `\n.tb-typography-${typographyKey}-font {\n font: var(--tb-typography-${typographyKey}-font);\n text-decoration-line: var(--tb-typography-${typographyKey}-textDecorationLine);\n text-transform: var(--tb-typography-${typographyKey}-textTransform);\n}` }).join('\\n')}`}\n </style>\n <style>\n {`\nh1 {\n font: var(--tb-typography-H1-font);\n text-decoration-line: var(--tb-typography-H1-textDecorationLine);\n text-transform: var(--tb-typography-H1-textTransform);\n}\n\nh2 {\n font: var(--tb-typography-H2-font);\n text-decoration-line: var(--tb-typography-H2-textDecorationLine);\n text-transform: var(--tb-typography-H2-textTransform);\n}\n\nh3 {\n font: var(--tb-typography-H3-font);\n text-decoration-line: var(--tb-typography-H3-textDecorationLine);\n text-transform: var(--tb-typography-H3-textTransform);\n}\n\nh4 {\n font: var(--tb-typography-H4-font);\n text-decoration-line: var(--tb-typography-H4-textDecorationLine);\n text-transform: var(--tb-typography-H4-textTransform);\n}\n\nh5 {\n font: var(--tb-typography-H5-font);\n text-decoration-line: var(--tb-typography-H5-textDecorationLine);\n text-transform: var(--tb-typography-H5-textTransform);\n}\n\nh6 {\n font: var(--tb-typography-H6-font);\n text-decoration-line: var(--tb-typography-H6-textDecorationLine);\n text-transform: var(--tb-typography-H6-textTransform);\n}\n\nbody {\n color: var(--tb-palette-TB-Functional-Black);\n font: var(--tb-typography-BodyBase-font);\n background-color: var(--tb-palette-TB-Functional-White);\n}`}\n </style>\n\n {children}\n </ThemeContext.Provider>\n );\n};\n\nexport function useTheme() {\n return useContext(ThemeContext);\n}\n\nexport default ThemeProvider;\n","import { useState, useCallback, forwardRef } from 'react';\nimport styles from './InputField.module.scss';\n\nconst InputField = forwardRef(({ placeholder, disabled, className, ...props }, ref) => {\n const [inputState, setInputState] = useState({\n isFocused: false,\n hasValue: false,\n });\n\n const handleFocus = useCallback(() => {\n if (!disabled) {\n setInputState((prev) => ({ ...prev, isFocused: true }));\n }\n }, [disabled]);\n\n const handleBlur = useCallback((e) => {\n setInputState({\n isFocused: false,\n hasValue: e.target.value !== '',\n });\n }, []);\n\n const handleChange = useCallback((e) => {\n setInputState((prev) => ({\n ...prev,\n hasValue: e.target.value !== '',\n }));\n }, []);\n\n // Compute class names once\n const containerClassName = `${styles.inputContainer} ${inputState.isFocused ? styles.focused : ''} ${\n disabled ? styles.disabled : ''\n } ${className || ''}`;\n\n const labelClassName = `${styles.placeholder} ${\n inputState.isFocused || inputState.hasValue ? styles.floatingPlaceholder : ''\n }`;\n\n return (\n <div className={containerClassName}>\n <input\n className={styles.input}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n ref={ref}\n {...props}\n />\n <label className={labelClassName}>{placeholder}</label>\n </div>\n );\n});\n\n// Add display name for better debugging\nInputField.displayName = 'InputField';\n\nexport default InputField;\n","import React, { useState } from 'react';\nimport styles from './TextArea.module.scss';\n\nconst TextArea = ({ placeholder, disabled, maxLength = 200, value, ...props }) => {\n const [isFocused, setIsFocused] = useState(false);\n const [hasValue, setHasValue] = useState(false);\n const [charCount, setCharCount] = useState(value?.length || 0);\n\n const handleFocus = () => !disabled && setIsFocused(true);\n\n const handleBlur = (e) => {\n setIsFocused(false);\n setHasValue(e.target.value !== '');\n };\n\n const handleChange = (e) => {\n const inputValue = e.target.value;\n setHasValue(inputValue !== '');\n setCharCount(e.target.length);\n };\n\n return (\n <div\n className={`${styles.textAreaContainer} ${isFocused ? styles.focused : ''} ${disabled ? styles.disabled : ''}`}\n >\n <textarea\n className={styles.textarea}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n maxLength={maxLength}\n value={value}\n {...props}\n />\n <label className={`${styles.placeholder} ${isFocused || hasValue ? styles.floatingPlaceholder : ''}`}>\n {placeholder}\n </label>\n <div className={styles.charCounter}>\n {charCount}/{maxLength}\n </div>\n </div>\n );\n};\n\nexport default TextArea;\n","import { useMemo, useState } from 'react';\nimport styles from './Tabs.module.scss';\n\nconst Tabs = ({ tabs, tabAction }) => {\n const [selectedTab, setSelectedTab] = useState(0);\n const CurrentTabContent = useMemo(() => {\n return tabs[selectedTab].content;\n }, [selectedTab]);\n\n const tabActionComponent = useMemo(() => {\n return tabAction ? tabAction() : null;\n }, [tabAction]);\n\n return (\n <div className={styles.tabContainer}>\n <div className={styles.tabTitleContainer}>\n <div className={styles.tabTitleScrollable}>\n {tabs.map((tab, index) => {\n return (\n <>\n <div\n key={`blueprint-tab-${index}`}\n className={`${styles.tabItem} ${selectedTab === index ? styles.selected : ''}`}\n onClick={() => setSelectedTab(index)}\n >\n {tab.title}\n <div className={styles.selectionBar} />\n </div>\n </>\n );\n })}\n </div>\n {tabActionComponent && <div className={styles.tabActionContainer}>{tabActionComponent}</div>}\n </div>\n <div className={styles.tabContent}>\n <CurrentTabContent />\n </div>\n </div>\n );\n};\n\nexport default Tabs;\n","const typography = {\n H1: {\n fontSize: '3rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '60px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H2: {\n fontSize: '2.5rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '50px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H3: {\n fontSize: '2.0625rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '41px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H4: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H5: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H6: {\n fontSize: '1.1875rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodySmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderSmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBold: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBook: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBold: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 500,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBook: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamXSmallBook: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamOverline: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 700,\n lineHeight: '17px',\n textTransform: 'uppercase',\n textDecorationLine: 'none',\n },\n}\n\nexport default typography;\n","import typography from './typography';\n\nexport const defaultTheme = {\n palette: {\n TB: {\n Brand: {\n Primary: '#0C223F',\n Medium: '#004876',\n Accent: '#0070CD',\n Gray: '#8195A2',\n },\n Functional: {\n Black: '#000000',\n OffBlack: '#595959',\n White: '#FFFFFF',\n OffWhite: '#B5B5B5',\n DarkGray: '#858585',\n MedGray: '#D8D8D8',\n LightGray: '#E9EDF0',\n GrayOnDark: 'rgba(255, 255, 255, 0.2)',\n Success: '#009D47',\n Error: '#A31F34',\n },\n POI: {\n Food: '#AD3F49',\n Fitness: '#D78956',\n Entertainment: '#DBAE60',\n Parks: '#5E8748',\n Transportation: '#5C8988',\n Business: '#2C71C7',\n Shopping: '#344072',\n School: '#543D6E',\n },\n },\n primary: {\n contrast: '#FFFFFF',\n main: '#2196F3',\n },\n action: {\n disabled: 'rgba(0, 0, 0, 0.38)',\n },\n },\n typography: {\n ...typography,\n SemanticPlaceholder: typography.GothamBaseBook,\n SemanticFloatingPlaceholder: typography.GothamXSmallBook,\n SemanticInput: typography.SubheaderBase,\n SemanticButtonLabelBase: typography.GothamBaseBold,\n SemanticButtonLabelSmall: typography.GothamSmallBold,\n SemanticTabLabel: typography.GothamBaseBold,\n SemanticTagLabel: typography.GothamSmallBold,\n },\n GlobalBrandBorderRadius: '4px',\n};\n"],"names":["SIZE_CLASSES","default","styles","small","xsmall","PRIMARY_FILL_VARIANTS","defaultColor","defaultColorFill","SECONDARY_STROKE_VARIANTS","defaultColorStroke","SECONDARY_TEXT_VARIANTS","defaultColorText","Button","_ref","children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth","rest","_objectWithoutPropertiesLoose","_excluded","buttonClasses","classNames","button","_jsx","_extends","type","SquareIconButton","color","FallbackAddButton","isCondensed","_jsxs","style","textWrap","decorateTheme","theme","typography","Object","keys","reduce","acc","key","index","font","fontStyle","fontWeight","fontSize","lineHeight","fontFamily","textDecorationLine","textTransform","margin","flattenToCssVars","obj","parentKey","result","value","entries","newKey","assign","ThemeContext","createContext","ThemeProvider","decoratedTheme","useMemo","cssVarsObject","clientReady","setClientReady","useState","useEffect","Provider","map","join","filter","includes","hex","replace","parseInt","substring","typographyKey","useTheme","useContext","InputField","forwardRef","ref","placeholder","disabled","props","inputState","setInputState","isFocused","hasValue","handleFocus","useCallback","prev","handleBlur","e","target","handleChange","labelClassName","onFocus","onBlur","onChange","displayName","TextArea","maxLength","setIsFocused","setHasValue","charCount","setCharCount","length","Tabs","tabs","tabAction","selectedTab","setSelectedTab","CurrentTabContent","content","tabActionComponent","tabContainer","tabTitleContainer","tabTitleScrollable","tab","_Fragment","tabItem","selected","onClick","title","selectionBar","tabActionContainer","tabContent","H1","H2","H3","H4","H5","H6","BodyBase","BodyLarge","BodySmall","BodyXSmall","SubheaderBase","SubheaderLarge","SubheaderSmall","SubheaderXSmall","GothamBaseBold","GothamBaseBook","GothamSmallBold","GothamSmallBook","GothamXSmallBook","GothamOverline","defaultTheme","palette","TB","Brand","Primary","Medium","Accent","Gray","Functional","Black","OffBlack","White","OffWhite","DarkGray","MedGray","LightGray","GrayOnDark","Success","Error","POI","Food","Fitness","Entertainment","Parks","Transportation","Business","Shopping","School","primary","contrast","main","action","SemanticPlaceholder","SemanticFloatingPlaceholder","SemanticInput","SemanticButtonLabelBase","SemanticButtonLabelSmall","SemanticTabLabel","SemanticTagLabel","GlobalBrandBorderRadius"],"mappings":"22BAGMA,EAAe,CACnBC,QAASC,EAAOD,QAChBE,MAAOD,EAAOC,MACdC,OAAQF,EAAOE,QAKXC,EAAwB,CAC5BC,aAAcJ,EAAOK,kBAIjBC,EAA4B,CAChCF,aAAcJ,EAAOO,oBAGjBC,EAA0B,CAC9BJ,aAAcJ,EAAOS,kBAGjBC,EAASC,QAACC,SACEA,EAAQC,KACRA,EAAO,UAASC,QAChBA,EAAU,UAASC,qBACnBA,EAAuB,eAAcC,yBACrCA,EAA2B,eAAcC,uBACzCA,EAAyB,eAAcC,UACvCA,EAAY,GAAEC,UACdA,GAAY,GAEbR,EADIS,EAAIC,EAAAV,EAAAW,GAGvB,MAAMC,EAAgBC,EACpBxB,EAAOyB,OACP3B,EAAae,GACbb,EAAOc,GACP,CACE,CAACd,EAAOmB,WAAYA,EACpB,CAAChB,EAAsBY,IAAyBZ,EAAsBC,cAA2B,YAAZU,EACrF,CAACR,EAA0BU,IAA6BV,EAA0BF,cAA2B,cAAZU,EACjG,CAACN,EAAwBS,IAA2BT,EAAwBJ,cAA2B,cAAZU,GAE7FI,gBAGF,OACEQ,EAAAC,SAAAA,GAAQT,UAA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ZE,WAAY,OACZG,cAAe,OACfD,mBAAoB,QAEtBqG,eAAgB,CACdxG,SAAU,YACVE,WAAY,uCACZJ,UAAW,SACXC,WAAY,IACZE,WAAY,OACZG,cAAe,YACfD,mBAAoB,SCjLXsG,EAAe,CAC1BC,QAAS,CACPC,GAAI,CACFC,MAAO,CACLC,QAAS,UACTC,OAAQ,UACRC,OAAQ,UACRC,KAAM,WAERC,WAAY,CACVC,MAAO,UACPC,SAAU,UACVC,MAAO,UACPC,SAAU,UACVC,SAAU,UACVC,QAAS,UACTC,UAAW,UACXC,WAAY,2BACZC,QAAS,UACTC,MAAO,WAETC,IAAK,CACHC,KAAM,UACNC,QAAS,UACTC,cAAe,UACfC,MAAO,UACPC,eAAgB,UAChBC,SAAU,UACVC,SAAU,UACVC,OAAQ,YAGZC,QAAS,CACPC,SAAU,UACVC,KAAM,WAERC,OAAQ,CACNhG,SAAU,wBAGdlD,WAAUX,EACLW,CAAAA,EAAAA,GACHmJ,oBAAqBnJ,EAAW8G,eAChCsC,4BAA6BpJ,EAAWiH,iBACxCoC,cAAerJ,EAAWyG,cAC1B6C,wBAAyBtJ,EAAW6G,eACpC0C,yBAA0BvJ,EAAW+G,gBACrCyC,iBAAkBxJ,EAAW6G,eAC7B4C,iBAAkBzJ,EAAW+G,kBAE/B2C,wBAAyB"}
1
+ {"version":3,"file":"index.modern.mjs","sources":["../src/mui/primitives/Button/Button.js","../src/mui/primitives/SquareIconButton/SquareIconButton.js","../src/mui/primitives/FallbackAddButton/FallbackAddButton.js","../src/themes/utils/decorateTheme.js","../src/themes/utils/flattenToCssVars.js","../src/themes/utils/hexToRGB.js","../src/themes/ThemeProvider.js","../src/mui/primitives/InputField/InputField.js","../src/mui/primitives/TextArea/TextArea.js","../src/mui/primitives/Tabs/Tabs.js","../src/themes/default/typography.js","../src/themes/default/theme.js"],"sourcesContent":["import styles from './Button.module.scss';\nimport classNames from 'classnames';\n\nconst SIZE_CLASSES = {\n default: styles.default, // Default button size\n small: styles.small, // Small button size\n xsmall: styles.xsmall // Extra small button size\n};\n\n\n// Primary CTA property only\nconst PRIMARY_FILL_VARIANTS = {\n defaultColor: styles.defaultColorFill // Default fill for Primary CTA\n};\n\n// Secondary CTA properties only\nconst SECONDARY_STROKE_VARIANTS = {\n defaultColor: styles.defaultColorStroke // Default stroke for Secondary CTA\n};\n\nconst SECONDARY_TEXT_VARIANTS = {\n defaultColor: styles.defaultColorText // Default text color for Secondary CTA\n};\n\nconst Button = ({\n children,\n size = 'default',\n variant = 'primary',\n PRIMARY_FILL_VARIANT = 'defaultColor',\n SECONDARY_STROKE_VARIANT = 'defaultColor',\n SECONDARY_TEXT_VARIANT = 'defaultColor',\n className = '',\n fullWidth = false,\n ...rest\n }) => {\n // Build the className string using conditional logic\n const buttonClasses = classNames(\n styles.button,\n SIZE_CLASSES[size],\n styles[variant],\n {\n [styles.fullWidth]: fullWidth,\n [PRIMARY_FILL_VARIANTS[PRIMARY_FILL_VARIANT] || PRIMARY_FILL_VARIANTS.defaultColor]: variant === 'primary',\n [SECONDARY_STROKE_VARIANTS[SECONDARY_STROKE_VARIANT] || SECONDARY_STROKE_VARIANTS.defaultColor]: variant === 'secondary',\n [SECONDARY_TEXT_VARIANTS[SECONDARY_TEXT_VARIANT] || SECONDARY_TEXT_VARIANTS.defaultColor]: variant === 'secondary'\n },\n className\n );\n\n return (\n <button className={buttonClasses} type=\"button\" {...rest}>\n {children}\n </button>\n );\n};\n\nexport default Button;\n","import styles from './SquareIconButton.module.scss';\n\nconst SquareIconButton = ({ children, className = '', ...rest }) => {\n return (\n <button className={`${styles.squareIconButton} ${className}`} color='inherit' type={'button'} {...rest}>\n {children}\n </button>\n );\n};\n\nexport default SquareIconButton;\n","import Button from '../Button/Button';\nimport SquareIconButton from '../SquareIconButton/SquareIconButton';\n\nconst FallbackAddButton = ({ isCondensed = false, children = '', className = '', ...rest }) => {\n if (isCondensed) {\n return (\n <SquareIconButton className={className} {...rest}>\n +\n </SquareIconButton>\n );\n }\n\n return (\n <Button\n size={'small'}\n color={'accent'}\n variant={'text'}\n className={`blueprint-typography-GothamBaseBold-font ${className}`}\n style={{ textWrap: 'nowrap' }}\n type={'button'}\n {...rest}\n >\n {'+ '}\n {children}\n </Button>\n );\n};\n\nexport default FallbackAddButton;\n","const decorateTheme = ({ theme }) => {\n return {\n ...theme,\n typography: {\n ...Object.keys(theme.typography).reduce((acc, key, index) => {\n if (index === 0) {\n acc[key] = theme.typography[key].font;\n }\n\n return {\n ...acc,\n [key]: {\n ...theme.typography[key],\n font: `${theme.typography[key].fontStyle}\n ${theme.typography[key].fontWeight}\n ${theme.typography[key].fontSize}/\n ${theme.typography[key].lineHeight}\n ${theme.typography[key].fontFamily}`,\n fontStyle: theme.typography[key].fontStyle,\n fontWeight: theme.typography[key].fontWeight,\n fontSize: theme.typography[key].fontSize,\n lineHeight: theme.typography[key].lineHeight,\n fontFamily: theme.typography[key].fontFamily,\n textDecorationLine: theme.typography[key].textDecorationLine,\n textTransform: theme.typography[key].textTransform,\n margin: theme.typography[key].margin,\n },\n };\n }, {}),\n },\n };\n};\n\nexport default decorateTheme;\n","function flattenToCssVars(obj, parentKey = '') {\n const result = {};\n\n for (const [key, value] of Object.entries(obj)) {\n const newKey = parentKey ? `${parentKey}-${key}` : key;\n\n if (typeof value === 'object' && value !== null) {\n Object.assign(result, flattenToCssVars(value, newKey));\n } else {\n result[`--tb-${newKey}`] = value;\n }\n }\n\n return result;\n}\n\nexport default flattenToCssVars;\n","const hexToRgba = (hex) => {\n hex = hex.replace('#', '');\n const r = parseInt(hex.substring(0, 2), 16);\n const g = parseInt(hex.substring(2, 4), 16);\n const b = parseInt(hex.substring(4, 6), 16);\n return `${r}, ${g}, ${b}`;\n};\n\nexport default hexToRgba;\n","import { createContext, useContext, useEffect, useState, useMemo } from 'react';\nimport decorateTheme from './utils/decorateTheme';\nimport flattenToCssVars from './utils/flattenToCssVars';\nimport hexToRgba from './utils/hexToRGB';\nconst ThemeContext = createContext();\n\nconst ThemeProvider = ({ children, theme }) => {\n const decoratedTheme = useMemo(() => {\n return decorateTheme({ theme });\n }, [theme]);\n\n const cssVarsObject = useMemo(() => {\n return flattenToCssVars(decorateTheme({ theme }));\n }, [theme]);\n\n const [clientReady, setClientReady] = useState(false);\n\n useEffect(() => {\n setClientReady(true);\n }, [])\n\n\n if (!clientReady) {\n return null;\n }\n\n return (\n <ThemeContext.Provider value={decoratedTheme}>\n <style>\n {`\n@import \"https://use.typekit.net/loo0pmd.css\";\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-bold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-bold.woff') format('woff');\n font-weight: 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: 'Domaine';\n src: local('domaine-semibold'), url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff2') format('woff2'),\n url('https://cdn.tollbrothers.com/fonts/domaine/domaine-display-web-semibold.woff') format('woff');\n font-weight: 300;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Light\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Light_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Light_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: \"Gotham Narrow\";\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamNarrSSm-Medium_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamNarrSSm-Medium_Web.woff\") format(\"woff\");\n font-weight: 500, 600;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamSSm-Book\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Book_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Book_Web.woff\") format(\"woff\");\n font-weight: 200 400;\n font-style: normal;\n font-display: swap;\n}\n\n@font-face {\n font-family: Gotham;\n src: local(\"GothamNarrSSm-Medium\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff2/GothamSSm-Bold_Web.woff2\") format(\"woff2\"),\n url(\"https://cdn.tollbrothers.com/fonts/gotham/woff/GothamSSm-Bold_Web.woff\") format(\"woff\");\n font-weight: 500;\n font-style: normal;\n font-display: swap;\n}`}\n </style>\n <style>{`\n:root {\n ${Object.entries(cssVarsObject)\n .map(([key, value]) => `${key}: ${value};`)\n .join('\\n')}\n\n ${Object.entries(cssVarsObject)\n .filter(([key, value]) => key.includes('palette') && value.includes('#'))\n .map(([key, value]) => {\n return `${key}-RGB: ${ hexToRgba(value)};`\n })\n .join('\\n')}\n}`}\n </style>\n <style>{`\n ${Object.keys(decoratedTheme.typography)\n .map((typographyKey) => {\n return `\n.tb-typography-${typographyKey}-font {\n font: var(--tb-typography-${typographyKey}-font);\n text-decoration-line: var(--tb-typography-${typographyKey}-textDecorationLine);\n text-transform: var(--tb-typography-${typographyKey}-textTransform);\n}` }).join('\\n')}`}\n </style>\n {children}\n </ThemeContext.Provider>\n );\n};\n\nexport function useTheme() {\n return useContext(ThemeContext);\n}\n\nexport default ThemeProvider;\n","import { useState, useCallback, forwardRef } from 'react';\nimport styles from './InputField.module.scss';\n\nconst InputField = forwardRef(({ placeholder, disabled, className, ...props }, ref) => {\n const [inputState, setInputState] = useState({\n isFocused: false,\n hasValue: false,\n });\n\n const handleFocus = useCallback(() => {\n if (!disabled) {\n setInputState((prev) => ({ ...prev, isFocused: true }));\n }\n }, [disabled]);\n\n const handleBlur = useCallback((e) => {\n setInputState({\n isFocused: false,\n hasValue: e.target.value !== '',\n });\n }, []);\n\n const handleChange = useCallback((e) => {\n setInputState((prev) => ({\n ...prev,\n hasValue: e.target.value !== '',\n }));\n }, []);\n\n // Compute class names once\n const containerClassName = `${styles.inputContainer} ${inputState.isFocused ? styles.focused : ''} ${\n disabled ? styles.disabled : ''\n } ${className || ''}`;\n\n const labelClassName = `${styles.placeholder} ${\n inputState.isFocused || inputState.hasValue ? styles.floatingPlaceholder : ''\n }`;\n\n return (\n <div className={containerClassName}>\n <input\n className={styles.input}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n ref={ref}\n {...props}\n />\n <label className={labelClassName}>{placeholder}</label>\n </div>\n );\n});\n\n// Add display name for better debugging\nInputField.displayName = 'InputField';\n\nexport default InputField;\n","import React, { useState } from 'react';\nimport styles from './TextArea.module.scss';\n\nconst TextArea = ({ placeholder, disabled, maxLength = 200, value, ...props }) => {\n const [isFocused, setIsFocused] = useState(false);\n const [hasValue, setHasValue] = useState(false);\n const [charCount, setCharCount] = useState(value?.length || 0);\n\n const handleFocus = () => !disabled && setIsFocused(true);\n\n const handleBlur = (e) => {\n setIsFocused(false);\n setHasValue(e.target.value !== '');\n };\n\n const handleChange = (e) => {\n const inputValue = e.target.value;\n setHasValue(inputValue !== '');\n setCharCount(e.target.length);\n };\n\n return (\n <div\n className={`${styles.textAreaContainer} ${isFocused ? styles.focused : ''} ${disabled ? styles.disabled : ''}`}\n >\n <textarea\n className={styles.textarea}\n onFocus={handleFocus}\n onBlur={handleBlur}\n onChange={handleChange}\n placeholder=' '\n disabled={disabled}\n maxLength={maxLength}\n value={value}\n {...props}\n />\n <label className={`${styles.placeholder} ${isFocused || hasValue ? styles.floatingPlaceholder : ''}`}>\n {placeholder}\n </label>\n <div className={styles.charCounter}>\n {charCount}/{maxLength}\n </div>\n </div>\n );\n};\n\nexport default TextArea;\n","import { useMemo, useState } from 'react';\nimport styles from './Tabs.module.scss';\n\nconst Tabs = ({ tabs, tabAction }) => {\n const [selectedTab, setSelectedTab] = useState(0);\n const CurrentTabContent = useMemo(() => {\n return tabs[selectedTab].content;\n }, [selectedTab]);\n\n const tabActionComponent = useMemo(() => {\n return tabAction ? tabAction() : null;\n }, [tabAction]);\n\n return (\n <div className={styles.tabContainer}>\n <div className={styles.tabTitleContainer}>\n <div className={styles.tabTitleScrollable}>\n {tabs.map((tab, index) => {\n return (\n <>\n <div\n key={`blueprint-tab-${index}`}\n className={`${styles.tabItem} ${selectedTab === index ? styles.selected : ''}`}\n onClick={() => setSelectedTab(index)}\n >\n {tab.title}\n <div className={styles.selectionBar} />\n </div>\n </>\n );\n })}\n </div>\n {tabActionComponent && <div className={styles.tabActionContainer}>{tabActionComponent}</div>}\n </div>\n <div className={styles.tabContent}>\n <CurrentTabContent />\n </div>\n </div>\n );\n};\n\nexport default Tabs;\n","const typography = {\n H1: {\n fontSize: '3rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '60px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H2: {\n fontSize: '2.5rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '50px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H3: {\n fontSize: '2.0625rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '41px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H4: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H5: {\n fontSize: '1.75rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '35px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n H6: {\n fontSize: '1.1875rem',\n fontFamily: 'Domaine, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodySmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n BodyXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 300,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderBase: {\n fontSize: '1rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '24px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderLarge: {\n fontSize: '1.125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '27px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderSmall: {\n fontSize: '0.8125rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '20px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n SubheaderXSmall: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham Narrow, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBold: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamBaseBook: {\n fontSize: '0.875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '21px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBold: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamSmallBook: {\n fontSize: '0.75rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '18px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamXSmallBook: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'none',\n textDecorationLine: 'none',\n },\n GothamOverline: {\n fontSize: '0.6875rem',\n fontFamily: 'Gotham, Helvetica, Arial, sans-serif',\n fontStyle: 'normal',\n fontWeight: 400,\n lineHeight: '17px',\n textTransform: 'uppercase',\n textDecorationLine: 'none',\n },\n}\n\nexport default typography;\n","import typography from './typography';\n\nexport const defaultTheme = {\n palette: {\n TB: {\n Brand: {\n Primary: '#0C223F',\n Medium: '#004876',\n Accent: '#0070CD',\n Gray: '#8195A2',\n },\n Functional: {\n Black: '#000000',\n OffBlack: '#595959',\n White: '#FFFFFF',\n OffWhite: '#B5B5B5',\n DarkGray: '#858585',\n MedGray: '#D8D8D8',\n LightGray: '#E9EDF0',\n GrayOnDark: 'rgba(255, 255, 255, 0.2)',\n Success: '#009D47',\n Error: '#A31F34',\n },\n POI: {\n Food: '#AD3F49',\n Fitness: '#D78956',\n Entertainment: '#DBAE60',\n Parks: '#5E8748',\n Transportation: '#5C8988',\n Business: '#2C71C7',\n Shopping: '#344072',\n School: '#543D6E',\n },\n },\n primary: {\n contrast: '#FFFFFF',\n main: '#2196F3',\n },\n action: {\n disabled: 'rgba(0, 0, 0, 0.38)',\n },\n },\n typography: {\n ...typography,\n SemanticPlaceholder: typography.GothamBaseBook,\n SemanticFloatingPlaceholder: typography.GothamXSmallBook,\n SemanticInput: typography.SubheaderBase,\n SemanticButtonLabelBase: typography.GothamBaseBold,\n SemanticButtonLabelSmall: typography.GothamSmallBold,\n SemanticTabLabel: typography.GothamBaseBold,\n SemanticTagLabel: typography.GothamSmallBold,\n },\n GlobalBrandBorderRadius: '4px',\n};\n"],"names":["SIZE_CLASSES","default","styles","small","xsmall","PRIMARY_FILL_VARIANTS","defaultColor","defaultColorFill","SECONDARY_STROKE_VARIANTS","defaultColorStroke","SECONDARY_TEXT_VARIANTS","defaultColorText","Button","_ref","children","size","variant","PRIMARY_FILL_VARIANT","SECONDARY_STROKE_VARIANT","SECONDARY_TEXT_VARIANT","className","fullWidth","rest","_objectWithoutPropertiesLoose","_excluded","buttonClasses","classNames","button","_jsx","_extends","type","SquareIconButton","color","FallbackAddButton","isCondensed","_jsxs","style","textWrap","decorateTheme","theme","typography","Object","keys","reduce","acc","key","index","font","fontStyle","fontWeight","fontSize","lineHeight","fontFamily","textDecorationLine","textTransform","margin","flattenToCssVars","obj","parentKey","result","value","entries","newKey","assign","ThemeContext","createContext","ThemeProvider","decoratedTheme","useMemo","cssVarsObject","clientReady","setClientReady","useState","useEffect","Provider","map","join","filter","includes","hex","replace","parseInt","substring","typographyKey","useTheme","useContext","InputField","forwardRef","ref","placeholder","disabled","props","inputState","setInputState","isFocused","hasValue","handleFocus","useCallback","prev","handleBlur","e","target","handleChange","labelClassName","onFocus","onBlur","onChange","displayName","TextArea","maxLength","setIsFocused","setHasValue","charCount","setCharCount","length","Tabs","tabs","tabAction","selectedTab","setSelectedTab","CurrentTabContent","content","tabActionComponent","tabContainer","tabTitleContainer","tabTitleScrollable","tab","_Fragment","tabItem","selected","onClick","title","selectionBar","tabActionContainer","tabContent","H1","H2","H3","H4","H5","H6","BodyBase","BodyLarge","BodySmall","BodyXSmall","SubheaderBase","SubheaderLarge","SubheaderSmall","SubheaderXSmall","GothamBaseBold","GothamBaseBook","GothamSmallBold","GothamSmallBook","GothamXSmallBook","GothamOverline","defaultTheme","palette","TB","Brand","Primary","Medium","Accent","Gray","Functional","Black","OffBlack","White","OffWhite","DarkGray","MedGray","LightGray","GrayOnDark","Success","Error","POI","Food","Fitness","Entertainment","Parks","Transportation","Business","Shopping","School","primary","contrast","main","action","SemanticPlaceholder","SemanticFloatingPlaceholder","SemanticInput","SemanticButtonLabelBase","SemanticButtonLabelSmall","SemanticTabLabel","SemanticTagLabel","GlobalBrandBorderRadius"],"mappings":"22BAGMA,EAAe,CACnBC,QAASC,EAAOD,QAChBE,MAAOD,EAAOC,MACdC,OAAQF,EAAOE,QAKXC,EAAwB,CAC5BC,aAAcJ,EAAOK,kBAIjBC,EAA4B,CAChCF,aAAcJ,EAAOO,oBAGjBC,EAA0B,CAC9BJ,aAAcJ,EAAOS,kBAGjBC,EAASC,QAACC,SACEA,EAAQC,KACRA,EAAO,UAASC,QAChBA,EAAU,UAASC,qBACnBA,EAAuB,eAAcC,yBACrCA,EAA2B,eAAcC,uBACzCA,EAAyB,eAAcC,UACvCA,EAAY,GAAEC,UACdA,GAAY,GAEbR,EADIS,EAAIC,EAAAV,EAAAW,GAGvB,MAAMC,EAAgBC,EACpBxB,EAAOyB,OACP3B,EAAae,GACbb,EAAOc,GACP,CACE,CAACd,EAAOmB,WAAYA,EACpB,CAAChB,EAAsBY,IAAyBZ,EAAsBC,cAA2B,YAAZU,EACrF,CAACR,EAA0BU,IAA6BV,EAA0BF,cAA2B,cAAZU,EACjG,CAAC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CAChBvG,SAAU,YACVE,WAAY,uCACZJ,UAAW,SACXC,WAAY,IACZE,WAAY,OACZG,cAAe,OACfD,mBAAoB,QAEtBqG,eAAgB,CACdxG,SAAU,YACVE,WAAY,uCACZJ,UAAW,SACXC,WAAY,IACZE,WAAY,OACZG,cAAe,YACfD,mBAAoB,SCjLXsG,EAAe,CAC1BC,QAAS,CACPC,GAAI,CACFC,MAAO,CACLC,QAAS,UACTC,OAAQ,UACRC,OAAQ,UACRC,KAAM,WAERC,WAAY,CACVC,MAAO,UACPC,SAAU,UACVC,MAAO,UACPC,SAAU,UACVC,SAAU,UACVC,QAAS,UACTC,UAAW,UACXC,WAAY,2BACZC,QAAS,UACTC,MAAO,WAETC,IAAK,CACHC,KAAM,UACNC,QAAS,UACTC,cAAe,UACfC,MAAO,UACPC,eAAgB,UAChBC,SAAU,UACVC,SAAU,UACVC,OAAQ,YAGZC,QAAS,CACPC,SAAU,UACVC,KAAM,WAERC,OAAQ,CACNhG,SAAU,wBAGdlD,WAAUX,EACLW,CAAAA,EAAAA,GACHmJ,oBAAqBnJ,EAAW8G,eAChCsC,4BAA6BpJ,EAAWiH,iBACxCoC,cAAerJ,EAAWyG,cAC1B6C,wBAAyBtJ,EAAW6G,eACpC0C,yBAA0BvJ,EAAW+G,gBACrCyC,iBAAkBxJ,EAAW6G,eAC7B4C,iBAAkBzJ,EAAW+G,kBAE/B2C,wBAAyB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tollbrothers/blueprint",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
4
4
  "description": "Toll Brothers Design System",
5
5
  "author": "",
6
6
  "license": "ISC",