@dcodegroup-au/dsg-vue 0.0.19 → 0.0.21

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("./_commonjsHelpers-DwGv2jUC.cjs"),e=require("./DsgColoursConfig-D7UiFGB5.cjs");var x={},d={},m;function S(){return m||(m=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return g}});function r(n,s){return{handler:n,config:s}}r.withOptions=function(n,s=()=>({})){const i=function(p){return{__options:p,handler:n(p),config:s(p)}};return i.__isOptionsFunction=!0,i.__pluginFunction=n,i.__configFunction=s,i};const g=r}(d)),d}var y;function B(){return y||(y=1,function(a){Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"default",{enumerable:!0,get:function(){return n}});const r=g(S());function g(s){return s&&s.__esModule?s:{default:s}}const n=r.default}(x)),x}var c,b;function E(){if(b)return c;b=1;let a=B();return c=(a.__esModule?a:{default:a}).default,c}var P=E();const l=N.getDefaultExportFromCjs(P),o={"display-2xl":{fontSize:"4.5rem",lineHeight:"5.625rem",letterSpacing:"-0.09rem"},"display-xl":{fontSize:"3.75rem",lineHeight:"4.5rem",letterSpacing:"-0.075rem"},"display-lg":{fontSize:"3rem",lineHeight:"3.75rem",letterSpacing:"-0.06rem"},"display-md":{fontSize:"2.25rem",lineHeight:"2.75rem",letterSpacing:"-0.045rem"},"display-sm":{fontSize:"1.875rem",lineHeight:"2.375rem"},"display-xs":{fontSize:"1.5rem",lineHeight:"2rem"}},t={xl:{fontSize:"1.125rem",lineHeight:"1.75rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},md:{fontSize:"1rem",lineHeight:"1.5rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},xs:{fontSize:"0.75rem",lineHeight:"1.125rem"}},v=[{classNames:["display-2xl","h1","heading-1"],styles:{...o["display-2xl"]}},{classNames:["display-xl","h2","heading-2"],styles:{...o["display-xl"]}},{classNames:["display-lg","h3","heading-3"],styles:{...o["display-lg"]}},{classNames:["display-md","h4","heading-4"],styles:{...o["display-md"]}},{classNames:["display-sm","h5","heading-5"],styles:{...o["display-sm"]}},{classNames:["display-xs","h6","heading-6"],styles:{...o["display-xs"]}},{classNames:["body-xl","text-xl","lead-1"],styles:{...t.xl}},{classNames:["body-lg","text-lg","lead-2"],styles:{...t.lg}},{classNames:["body-md","text-md","body","text-base"],styles:{...t.md}},{classNames:["body-sm","text-sm","caption"],styles:{...t.sm}},{classNames:["body-xs","text-xs","legal","text-legal"],styles:{...t.xs}}];let C={};v.forEach(a=>{a.classNames.forEach(r=>{C["."+r]=a.styles})});const w=l(function({addComponents:a}){return a(C)}),k=l(()=>{},{theme:{extend:{borderRadius:{none:"0rem",xxs:"0.125rem",xs:"0.25rem",sm:"0.375rem",md:"0.5rem",lg:"0.625rem",xl:"0.75rem","2xl":"1rem","3xl":"1.25rem","4xl":"1.5rem",full:"9999px"}}}}),D=[{className:"gradient-gray-1",colors:[e.ColoursConfig.gray[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-gray-2",colors:[e.ColoursConfig.gray[600],e.ColoursConfig.gray[500]],angle:"90deg",type:"linear"},{className:"gradient-gray-3",colors:[e.ColoursConfig.gray[700],e.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-4",colors:[e.ColoursConfig.gray[800],e.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-5",colors:[e.ColoursConfig.gray[800],e.ColoursConfig.gray[600]],angle:"90deg",type:"linear"},{className:"gradient-gray-6",colors:[e.ColoursConfig.gray[800],e.ColoursConfig.gray[700]],angle:"26.5deg",type:"linear"},{className:"gradient-gray-7",colors:[e.ColoursConfig.gray[900],e.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-1",colors:[e.ColoursConfig.brand[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-brand-2",colors:[e.ColoursConfig.brand[600],e.ColoursConfig.brand[500]],angle:"90deg",type:"linear"},{className:"gradient-brand-3",colors:[e.ColoursConfig.brand[700],e.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-4",colors:[e.ColoursConfig.brand[800],e.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-5",colors:[e.ColoursConfig.brand[800],e.ColoursConfig.brand[600]],angle:"90deg",type:"linear"},{className:"gradient-brand-6",colors:[e.ColoursConfig.brand[800],e.ColoursConfig.brand[700]],angle:"26.5deg",type:"linear"},{className:"gradient-brand-7",colors:[e.ColoursConfig.brand[900],e.ColoursConfig.brand[700]],angle:"45deg",type:"linear"},{className:"gradient-gray-neutral-1",colors:["#FFFFFF","#F3F5F7"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-2",colors:["#F9FAFB","#EDF0F3"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-3",colors:["#EDF0F3","#E7EBEF"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-4",colors:["#F3F5F7","#E0E5EB"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-5",colors:["#EDF0F3","#D4DBE2"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-6",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-7",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-1",colors:["#FFFFFF","#F5F5F5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-2",colors:["#FAFAFA","#F0F0F0"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-3",colors:["#FAFAFA","#EBEBEB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-4",colors:["#F5F5F5","#E5E5E5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-5",colors:["#F0F0F0","#DBDBDB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-6",colors:["#EBEBEB","#D1D1D1"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-7",colors:["#E5E5E5","#C2C2C2"],angle:"180deg",type:"linear"}];let f={};D.forEach(a=>{const r=a.type==="linear"?"linear-gradient":"radial-gradient",g=a.colors.join(", ");let n=r+"("+a.angle+", "+g+")";f["."+a.className]={backgroundImage:n}});const _=l(({addComponents:a})=>{a(f)}),R=[{className:"backdrop-blur-light-sm",background:"rgba(255, 255, 255, 0.60)",blur:"4px"},{className:"backdrop-blur-light-md",background:"rgba(255, 255, 255, 0.60)",blur:"8px"},{className:"backdrop-blur-light-lg",background:"rgba(255, 255, 255, 0.60)",blur:"12px"},{className:"backdrop-blur-light-xl",background:"rgba(255, 255, 255, 0.60)",blur:"20px"},{className:"backdrop-blur-dark-sm",background:"rgba(0, 0, 0, 0.60)",blur:"4px"},{className:"backdrop-blur-dark-md",background:"rgba(0, 0, 0, 0.60)",blur:"8px"},{className:"backdrop-blur-dark-lg",background:"rgba(0, 0, 0, 0.60)",blur:"12px"},{className:"backdrop-blur-dark-xl",background:"rgba(0, 0, 0, 0.60)",blur:"20px"}];let h={};R.forEach(a=>{h["."+a.className]={backdropFilter:"blur("+a.blur+")",background:a.background}});const T=l(({addComponents:a})=>{a(h)}),z=[{className:"shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05)",textShadowValue:"0px 1px 2px rgba(16, 24, 40, 0.05)"},{className:"shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 1px 3px rgba(16, 24, 40, 0.10)"},{className:"shadow-md",value:"0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 4px 8px rgba(16, 24, 40, 0.10)"},{className:"shadow-lg",value:"0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03)",textShadowValue:"0px 12px 16px rgba(16, 24, 40, 0.12)"},{className:"shadow-xl",value:"0px 16px 32px -8px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 16px 32px rgba(16, 24, 40, 0.18)"},{className:"shadow-2xl",value:"0px 24px 48px -12px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 24px 48px rgba(16, 24, 40, 0.18)"},{className:"shadow-3xl",value:"0px 32px 64px -12px rgba(16, 24, 40, 0.14)",textShadowValue:"0px 32px 64px rgba(16, 24, 40, 0.14)"}];let u={};z.forEach(a=>{u["."+a.className]={boxShadow:a.value},u[".text-"+a.className]={textShadow:a.textShadowValue}});const H=l(({addComponents:a})=>{a(u)}),A=[{className:"ring-brand",value:"0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.brand[500],.24)},{className:"ring-gray",value:"0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.gray[400],.14)},{className:"ring-gray-secondary",value:"0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.gray[400],.2)},{className:"ring-error",value:"0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.error[500],.24)},{className:"ring-brand-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.brand[500],.24)},{className:"ring-brand-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.brand[500],.24)},{className:"ring-gray-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.gray[400],.14)},{className:"ring-gray-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.gray[400],.14)},{className:"ring-error-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.error[500],.24)},{className:"ring-error-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+e.hexToRGB(e.ColoursConfig.error[500],.24)}];let F={};A.forEach(a=>{F["."+a.className]={boxShadow:a.value}});const G=l(({addComponents:a})=>{a(F)}),q=l(({addBase:a,theme:r})=>{},{theme:{extend:{container:{center:!0,padding:{DEFAULT:"2rem",md:"1rem"}}}}}),V=l(({addBase:a,theme:r})=>{},{theme:{extend:{height:{xxs:"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),O=l(({addBase:a,theme:r})=>{},{theme:{extend:{screens:{"max-xl":{max:"1279px"},"max-lg":{max:"1023px"},"max-md":{max:"768px"},"max-sm":{max:"639px"},"max-xs":{max:"413px"},sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1600px"}}}}),j=l(({addBase:a,theme:r})=>{},{theme:{extend:{spacing:{"3xlSpace":"96px","2xlSpace":"64px",xlSpace:"32px",lgSpace:"24px",mdSpace:"16px",smSpace:"12px",xsSpace:"8px","2xsSpace":"4px","3xsSpace":"2px"}}}}),M=l(({addBase:a,theme:r})=>{},{theme:{extend:{width:{"2xs":"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),$=[k,w,_,T,H,G,q,V,O,j,M],L={brand:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"],inter:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"]},U=$,W=e.ColoursConfig,J=e.ColoursConfig,K=L;exports.DsgColorConfig=J;exports.DsgColourConfig=W;exports.DsgFontFamilyConfig=K;exports.DsgTailwindPlugin=U;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./_commonjsHelpers-DwGv2jUC.cjs"),a=require("./DsgColoursConfig-D7UiFGB5.cjs");var x={},d={},m;function T(){return m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});function r(n,l){return{handler:n,config:l}}r.withOptions=function(n,l=()=>({})){const i=function(p){return{__options:p,handler:n(p),config:l(p)}};return i.__isOptionsFunction=!0,i.__pluginFunction=n,i.__configFunction=l,i};const o=r}(d)),d}var y;function H(){return y||(y=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return n}});const r=o(T());function o(l){return l&&l.__esModule?l:{default:l}}const n=r.default}(x)),x}var u,b;function z(){if(b)return u;b=1;let e=H();return u=(e.__esModule?e:{default:e}).default,u}var G=z();const s=R.getDefaultExportFromCjs(G),g={"display-2xl":{fontSize:"4.5rem",lineHeight:"5.625rem",letterSpacing:"-0.09rem"},"display-xl":{fontSize:"3.75rem",lineHeight:"4.5rem",letterSpacing:"-0.075rem"},"display-lg":{fontSize:"3rem",lineHeight:"3.75rem",letterSpacing:"-0.06rem"},"display-md":{fontSize:"2.25rem",lineHeight:"2.75rem",letterSpacing:"-0.045rem"},"display-sm":{fontSize:"1.875rem",lineHeight:"2.375rem"},"display-xs":{fontSize:"1.5rem",lineHeight:"2rem"}},t={xl:{fontSize:"1.125rem",lineHeight:"1.75rem"},lg:{fontSize:"1.125rem",lineHeight:"1.75rem"},md:{fontSize:"1rem",lineHeight:"1.5rem"},sm:{fontSize:"0.875rem",lineHeight:"1.25rem"},xs:{fontSize:"0.75rem",lineHeight:"1.125rem"}},A=[{classNames:["display-2xl","h1","heading-1"],styles:{...g["display-2xl"]}},{classNames:["display-xl","h2","heading-2"],styles:{...g["display-xl"]}},{classNames:["display-lg","h3","heading-3"],styles:{...g["display-lg"]}},{classNames:["display-md","h4","heading-4"],styles:{...g["display-md"]}},{classNames:["display-sm","h5","heading-5"],styles:{...g["display-sm"]}},{classNames:["display-xs","h6","heading-6"],styles:{...g["display-xs"]}},{classNames:["body-xl","text-xl","lead-1"],styles:{...t.xl}},{classNames:["body-lg","text-lg","lead-2"],styles:{...t.lg}},{classNames:["body-md","text-md","body","text-base"],styles:{...t.md}},{classNames:["body-sm","text-sm","caption"],styles:{...t.sm}},{classNames:["body-xs","text-xs","legal","text-legal"],styles:{...t.xs}}];let C={};A.forEach(e=>{e.classNames.forEach(r=>{C["."+r]=e.styles})});const h=s(function({addComponents:e}){return e(C)}),f=s(()=>{},{theme:{extend:{borderRadius:{none:"0rem",xxs:"0.125rem",xs:"0.25rem",sm:"0.375rem",md:"0.5rem",lg:"0.625rem",xl:"0.75rem","2xl":"1rem","3xl":"1.25rem","4xl":"1.5rem",full:"9999px"}}}}),q=[{className:"gradient-gray-1",colors:[a.ColoursConfig.gray[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-gray-2",colors:[a.ColoursConfig.gray[600],a.ColoursConfig.gray[500]],angle:"90deg",type:"linear"},{className:"gradient-gray-3",colors:[a.ColoursConfig.gray[700],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-4",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-gray-5",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[600]],angle:"90deg",type:"linear"},{className:"gradient-gray-6",colors:[a.ColoursConfig.gray[800],a.ColoursConfig.gray[700]],angle:"26.5deg",type:"linear"},{className:"gradient-gray-7",colors:[a.ColoursConfig.gray[900],a.ColoursConfig.gray[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-1",colors:[a.ColoursConfig.brand[600],"#FFFFFF"],angle:"0deg",type:"linear"},{className:"gradient-brand-2",colors:[a.ColoursConfig.brand[600],a.ColoursConfig.brand[500]],angle:"90deg",type:"linear"},{className:"gradient-brand-3",colors:[a.ColoursConfig.brand[700],a.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-4",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[600]],angle:"45deg",type:"linear"},{className:"gradient-brand-5",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[600]],angle:"90deg",type:"linear"},{className:"gradient-brand-6",colors:[a.ColoursConfig.brand[800],a.ColoursConfig.brand[700]],angle:"26.5deg",type:"linear"},{className:"gradient-brand-7",colors:[a.ColoursConfig.brand[900],a.ColoursConfig.brand[700]],angle:"45deg",type:"linear"},{className:"gradient-gray-neutral-1",colors:["#FFFFFF","#F3F5F7"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-2",colors:["#F9FAFB","#EDF0F3"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-3",colors:["#EDF0F3","#E7EBEF"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-4",colors:["#F3F5F7","#E0E5EB"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-5",colors:["#EDF0F3","#D4DBE2"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-6",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-neutral-7",colors:["#E7EBEF","#C8D1DA"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-1",colors:["#FFFFFF","#F5F5F5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-2",colors:["#FAFAFA","#F0F0F0"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-3",colors:["#FAFAFA","#EBEBEB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-4",colors:["#F5F5F5","#E5E5E5"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-5",colors:["#F0F0F0","#DBDBDB"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-6",colors:["#EBEBEB","#D1D1D1"],angle:"180deg",type:"linear"},{className:"gradient-gray-true-7",colors:["#E5E5E5","#C2C2C2"],angle:"180deg",type:"linear"}];let F={};q.forEach(e=>{const r=e.type==="linear"?"linear-gradient":"radial-gradient",o=e.colors.join(", ");let n=r+"("+e.angle+", "+o+")";F["."+e.className]={backgroundImage:n}});const N=s(({addComponents:e})=>{e(F)}),V=[{className:"backdrop-blur-light-sm",background:"rgba(255, 255, 255, 0.60)",blur:"4px"},{className:"backdrop-blur-light-md",background:"rgba(255, 255, 255, 0.60)",blur:"8px"},{className:"backdrop-blur-light-lg",background:"rgba(255, 255, 255, 0.60)",blur:"12px"},{className:"backdrop-blur-light-xl",background:"rgba(255, 255, 255, 0.60)",blur:"20px"},{className:"backdrop-blur-dark-sm",background:"rgba(0, 0, 0, 0.60)",blur:"4px"},{className:"backdrop-blur-dark-md",background:"rgba(0, 0, 0, 0.60)",blur:"8px"},{className:"backdrop-blur-dark-lg",background:"rgba(0, 0, 0, 0.60)",blur:"12px"},{className:"backdrop-blur-dark-xl",background:"rgba(0, 0, 0, 0.60)",blur:"20px"}];let S={};V.forEach(e=>{S["."+e.className]={backdropFilter:"blur("+e.blur+")",background:e.background}});const P=s(({addComponents:e})=>{e(S)}),O=[{className:"shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05)",textShadowValue:"0px 1px 2px rgba(16, 24, 40, 0.05)"},{className:"shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 1px 3px rgba(16, 24, 40, 0.10)"},{className:"shadow-md",value:"0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06)",textShadowValue:"0px 4px 8px rgba(16, 24, 40, 0.10)"},{className:"shadow-lg",value:"0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03)",textShadowValue:"0px 12px 16px rgba(16, 24, 40, 0.12)"},{className:"shadow-xl",value:"0px 16px 32px -8px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 16px 32px rgba(16, 24, 40, 0.18)"},{className:"shadow-2xl",value:"0px 24px 48px -12px rgba(16, 24, 40, 0.18)",textShadowValue:"0px 24px 48px rgba(16, 24, 40, 0.18)"},{className:"shadow-3xl",value:"0px 32px 64px -12px rgba(16, 24, 40, 0.14)",textShadowValue:"0px 32px 64px rgba(16, 24, 40, 0.14)"}];let c={};O.forEach(e=>{c["."+e.className]={boxShadow:e.value},c[".text-"+e.className]={textShadow:e.textShadowValue}});const B=s(({addComponents:e})=>{e(c)});function j(e){const r={brandColor:e?.brandColor||a.ColoursConfig.brand[500],grayColor:e?.grayColor||a.ColoursConfig.gray[400],errorColor:e?.errorColor||a.ColoursConfig.error[500]},o=[{className:"ring-brand",value:"0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-gray",value:"0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-gray-secondary",value:"0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.2)},{className:"ring-error",value:"0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)},{className:"ring-brand-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-brand-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.brandColor,.24)},{className:"ring-gray-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-gray-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.grayColor,.14)},{className:"ring-error-shadow-xs",value:"0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)},{className:"ring-error-shadow-sm",value:"0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px "+a.hexToRGB(r.errorColor,.24)}];let n={};return o.forEach(l=>{n["."+l.className]={boxShadow:l.value}}),s(({addComponents:l})=>{l(n)})}const D=j,E=s(({addBase:e,theme:r})=>{},{theme:{extend:{container:{center:!0,padding:{DEFAULT:"2rem",md:"1rem"}}}}}),v=s(({addBase:e,theme:r})=>{},{theme:{extend:{height:{xxs:"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),w=s(({addBase:e,theme:r})=>{},{theme:{extend:{screens:{"max-xl":{max:"1279px"},"max-lg":{max:"1023px"},"max-md":{max:"768px"},"max-sm":{max:"639px"},"max-xs":{max:"413px"},sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1600px"}}}}),k=s(({addBase:e,theme:r})=>{},{theme:{extend:{spacing:{"3xlSpace":"96px","2xlSpace":"64px",xlSpace:"32px",lgSpace:"24px",mdSpace:"16px",smSpace:"12px",xsSpace:"8px","2xsSpace":"4px","3xsSpace":"2px"}}}}),_=s(({addBase:e,theme:r})=>{},{theme:{extend:{width:{"2xs":"0.5rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.75rem"}}}}),M=[f,h,N,P,B,D(),E,v,w,k,_],$={brand:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"],inter:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"]},W=M,L=a.ColoursConfig,U=a.ColoursConfig,J=$;exports.DsgBackdropBlurPlugin=P;exports.DsgColorConfig=U;exports.DsgColourConfig=L;exports.DsgContainerPlugin=E;exports.DsgFocusRingsPlugin=D;exports.DsgFontFamilyConfig=J;exports.DsgGradientPlugin=N;exports.DsgHeightPlugin=v;exports.DsgRadiusPlugin=f;exports.DsgScreenPlugin=w;exports.DsgShadowsPlugin=B;exports.DsgSpacingPlugin=k;exports.DsgTailwindPlugin=W;exports.DsgTypographyPlugin=h;exports.DsgWidthPlugin=_;
@@ -1,153 +1,153 @@
1
- import { g as E } from "./_commonjsHelpers-C6fGbg64.js";
2
- import { C as a, h as s } from "./DsgColoursConfig-BseFo6-R.js";
3
- var i = {}, c = {}, y;
4
- function B() {
1
+ import { g as S } from "./_commonjsHelpers-C6fGbg64.js";
2
+ import { C as a, h as g } from "./DsgColoursConfig-BseFo6-R.js";
3
+ var d = {}, c = {}, y;
4
+ function C() {
5
5
  return y || (y = 1, function(e) {
6
6
  Object.defineProperty(e, "__esModule", {
7
7
  value: !0
8
8
  }), Object.defineProperty(e, "default", {
9
9
  enumerable: !0,
10
10
  get: function() {
11
- return p;
11
+ return t;
12
12
  }
13
13
  });
14
- function r(t, n) {
14
+ function r(s, l) {
15
15
  return {
16
- handler: t,
17
- config: n
16
+ handler: s,
17
+ config: l
18
18
  };
19
19
  }
20
- r.withOptions = function(t, n = () => ({})) {
21
- const o = function(d) {
20
+ r.withOptions = function(s, l = () => ({})) {
21
+ const i = function(x) {
22
22
  return {
23
- __options: d,
24
- handler: t(d),
25
- config: n(d)
23
+ __options: x,
24
+ handler: s(x),
25
+ config: l(x)
26
26
  };
27
27
  };
28
- return o.__isOptionsFunction = !0, o.__pluginFunction = t, o.__configFunction = n, o;
28
+ return i.__isOptionsFunction = !0, i.__pluginFunction = s, i.__configFunction = l, i;
29
29
  };
30
- const p = r;
30
+ const t = r;
31
31
  }(c)), c;
32
32
  }
33
33
  var b;
34
- function v() {
34
+ function P() {
35
35
  return b || (b = 1, function(e) {
36
36
  Object.defineProperty(e, "__esModule", {
37
37
  value: !0
38
38
  }), Object.defineProperty(e, "default", {
39
39
  enumerable: !0,
40
40
  get: function() {
41
- return t;
41
+ return s;
42
42
  }
43
43
  });
44
- const r = /* @__PURE__ */ p(B());
45
- function p(n) {
46
- return n && n.__esModule ? n : {
47
- default: n
44
+ const r = /* @__PURE__ */ t(C());
45
+ function t(l) {
46
+ return l && l.__esModule ? l : {
47
+ default: l
48
48
  };
49
49
  }
50
- const t = r.default;
51
- }(i)), i;
50
+ const s = r.default;
51
+ }(d)), d;
52
52
  }
53
53
  var m, h;
54
- function P() {
54
+ function E() {
55
55
  if (h) return m;
56
56
  h = 1;
57
- let e = v();
57
+ let e = P();
58
58
  return m = (e.__esModule ? e : { default: e }).default, m;
59
59
  }
60
- var k = P();
61
- const l = /* @__PURE__ */ E(k), g = {
60
+ var B = E();
61
+ const n = /* @__PURE__ */ S(B), o = {
62
62
  "display-2xl": { fontSize: "4.5rem", lineHeight: "5.625rem", letterSpacing: "-0.09rem" },
63
63
  "display-xl": { fontSize: "3.75rem", lineHeight: "4.5rem", letterSpacing: "-0.075rem" },
64
64
  "display-lg": { fontSize: "3rem", lineHeight: "3.75rem", letterSpacing: "-0.06rem" },
65
65
  "display-md": { fontSize: "2.25rem", lineHeight: "2.75rem", letterSpacing: "-0.045rem" },
66
66
  "display-sm": { fontSize: "1.875rem", lineHeight: "2.375rem" },
67
67
  "display-xs": { fontSize: "1.5rem", lineHeight: "2rem" }
68
- }, x = {
68
+ }, p = {
69
69
  xl: { fontSize: "1.125rem", lineHeight: "1.75rem" },
70
70
  lg: { fontSize: "1.125rem", lineHeight: "1.75rem" },
71
71
  md: { fontSize: "1rem", lineHeight: "1.5rem" },
72
72
  sm: { fontSize: "0.875rem", lineHeight: "1.25rem" },
73
73
  xs: { fontSize: "0.75rem", lineHeight: "1.125rem" }
74
- }, w = [
74
+ }, D = [
75
75
  {
76
76
  classNames: ["display-2xl", "h1", "heading-1"],
77
77
  styles: {
78
- ...g["display-2xl"]
78
+ ...o["display-2xl"]
79
79
  }
80
80
  },
81
81
  {
82
82
  classNames: ["display-xl", "h2", "heading-2"],
83
83
  styles: {
84
- ...g["display-xl"]
84
+ ...o["display-xl"]
85
85
  }
86
86
  },
87
87
  {
88
88
  classNames: ["display-lg", "h3", "heading-3"],
89
89
  styles: {
90
- ...g["display-lg"]
90
+ ...o["display-lg"]
91
91
  }
92
92
  },
93
93
  {
94
94
  classNames: ["display-md", "h4", "heading-4"],
95
95
  styles: {
96
- ...g["display-md"]
96
+ ...o["display-md"]
97
97
  }
98
98
  },
99
99
  {
100
100
  classNames: ["display-sm", "h5", "heading-5"],
101
101
  styles: {
102
- ...g["display-sm"]
102
+ ...o["display-sm"]
103
103
  }
104
104
  },
105
105
  {
106
106
  classNames: ["display-xs", "h6", "heading-6"],
107
107
  styles: {
108
- ...g["display-xs"]
108
+ ...o["display-xs"]
109
109
  }
110
110
  },
111
111
  {
112
112
  classNames: ["body-xl", "text-xl", "lead-1"],
113
113
  styles: {
114
- ...x.xl
114
+ ...p.xl
115
115
  }
116
116
  },
117
117
  {
118
118
  classNames: ["body-lg", "text-lg", "lead-2"],
119
119
  styles: {
120
- ...x.lg
120
+ ...p.lg
121
121
  }
122
122
  },
123
123
  {
124
124
  classNames: ["body-md", "text-md", "body", "text-base"],
125
125
  styles: {
126
- ...x.md
126
+ ...p.md
127
127
  }
128
128
  },
129
129
  {
130
130
  classNames: ["body-sm", "text-sm", "caption"],
131
131
  styles: {
132
- ...x.sm
132
+ ...p.sm
133
133
  }
134
134
  },
135
135
  {
136
136
  classNames: ["body-xs", "text-xs", "legal", "text-legal"],
137
137
  styles: {
138
- ...x.xs
138
+ ...p.xs
139
139
  }
140
140
  }
141
141
  ];
142
142
  let F = {};
143
- w.forEach((e) => {
143
+ D.forEach((e) => {
144
144
  e.classNames.forEach((r) => {
145
145
  F["." + r] = e.styles;
146
146
  });
147
147
  });
148
- const C = l(function({ addComponents: e }) {
148
+ const v = n(function({ addComponents: e }) {
149
149
  return e(F);
150
- }), _ = l(() => {
150
+ }), k = n(() => {
151
151
  }, {
152
152
  theme: {
153
153
  extend: {
@@ -166,7 +166,7 @@ const C = l(function({ addComponents: e }) {
166
166
  }
167
167
  }
168
168
  }
169
- }), D = [
169
+ }), w = [
170
170
  // # Gray Radial Gradients
171
171
  {
172
172
  className: "gradient-gray-1",
@@ -341,14 +341,14 @@ const C = l(function({ addComponents: e }) {
341
341
  }
342
342
  ];
343
343
  let N = {};
344
- D.forEach((e) => {
345
- const r = e.type === "linear" ? "linear-gradient" : "radial-gradient", p = e.colors.join(", ");
346
- let t = r + "(" + e.angle + ", " + p + ")";
347
- N["." + e.className] = { backgroundImage: t };
344
+ w.forEach((e) => {
345
+ const r = e.type === "linear" ? "linear-gradient" : "radial-gradient", t = e.colors.join(", ");
346
+ let s = r + "(" + e.angle + ", " + t + ")";
347
+ N["." + e.className] = { backgroundImage: s };
348
348
  });
349
- const z = l(({ addComponents: e }) => {
349
+ const _ = n(({ addComponents: e }) => {
350
350
  e(N);
351
- }), H = [
351
+ }), z = [
352
352
  {
353
353
  className: "backdrop-blur-light-sm",
354
354
  background: "rgba(255, 255, 255, 0.60)",
@@ -391,10 +391,10 @@ const z = l(({ addComponents: e }) => {
391
391
  }
392
392
  ];
393
393
  let f = {};
394
- H.forEach((e) => {
394
+ z.forEach((e) => {
395
395
  f["." + e.className] = { backdropFilter: "blur(" + e.blur + ")", background: e.background };
396
396
  });
397
- const A = l(({ addComponents: e }) => {
397
+ const H = n(({ addComponents: e }) => {
398
398
  e(f);
399
399
  }), R = [
400
400
  {
@@ -437,58 +437,65 @@ let u = {};
437
437
  R.forEach((e) => {
438
438
  u["." + e.className] = { boxShadow: e.value }, u[".text-" + e.className] = { textShadow: e.textShadowValue };
439
439
  });
440
- const V = l(({ addComponents: e }) => {
440
+ const A = n(({ addComponents: e }) => {
441
441
  e(u);
442
- }), q = [
443
- {
444
- className: "ring-brand",
445
- value: "0px 0px 0px 4px " + s(a.brand[500], 0.24)
446
- },
447
- {
448
- className: "ring-gray",
449
- value: "0px 0px 0px 4px " + s(a.gray[400], 0.14)
450
- },
451
- {
452
- className: "ring-gray-secondary",
453
- value: "0px 0px 0px 4px " + s(a.gray[400], 0.2)
454
- },
455
- {
456
- className: "ring-error",
457
- value: "0px 0px 0px 4px " + s(a.error[500], 0.24)
458
- },
459
- // # Refer: Shadow.ts - shadow-xs, shadow-sm
460
- {
461
- className: "ring-brand-shadow-xs",
462
- value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + s(a.brand[500], 0.24)
463
- },
464
- {
465
- className: "ring-brand-shadow-sm",
466
- value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + s(a.brand[500], 0.24)
467
- },
468
- {
469
- className: "ring-gray-shadow-xs",
470
- value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + s(a.gray[400], 0.14)
471
- },
472
- {
473
- className: "ring-gray-shadow-sm",
474
- value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + s(a.gray[400], 0.14)
475
- },
476
- {
477
- className: "ring-error-shadow-xs",
478
- value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + s(a.error[500], 0.24)
479
- },
480
- {
481
- className: "ring-error-shadow-sm",
482
- value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + s(a.error[500], 0.24)
483
- }
484
- ];
485
- let S = {};
486
- q.forEach((e) => {
487
- S["." + e.className] = { boxShadow: e.value };
488
442
  });
489
- const T = l(({ addComponents: e }) => {
490
- e(S);
491
- }), O = l(({ addBase: e, theme: r }) => {
443
+ function V(e) {
444
+ const r = {
445
+ brandColor: e?.brandColor || a.brand[500],
446
+ grayColor: e?.grayColor || a.gray[400],
447
+ errorColor: e?.errorColor || a.error[500]
448
+ }, t = [
449
+ {
450
+ className: "ring-brand",
451
+ value: "0px 0px 0px 4px " + g(r.brandColor, 0.24)
452
+ },
453
+ {
454
+ className: "ring-gray",
455
+ value: "0px 0px 0px 4px " + g(r.grayColor, 0.14)
456
+ },
457
+ {
458
+ className: "ring-gray-secondary",
459
+ value: "0px 0px 0px 4px " + g(r.grayColor, 0.2)
460
+ },
461
+ {
462
+ className: "ring-error",
463
+ value: "0px 0px 0px 4px " + g(r.errorColor, 0.24)
464
+ },
465
+ // # Refer: Shadow.ts - shadow-xs, shadow-sm
466
+ {
467
+ className: "ring-brand-shadow-xs",
468
+ value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + g(r.brandColor, 0.24)
469
+ },
470
+ {
471
+ className: "ring-brand-shadow-sm",
472
+ value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + g(r.brandColor, 0.24)
473
+ },
474
+ {
475
+ className: "ring-gray-shadow-xs",
476
+ value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + g(r.grayColor, 0.14)
477
+ },
478
+ {
479
+ className: "ring-gray-shadow-sm",
480
+ value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + g(r.grayColor, 0.14)
481
+ },
482
+ {
483
+ className: "ring-error-shadow-xs",
484
+ value: "0px 1px 2px 0px rgba(16, 24, 40, 0.05), 0px 0px 0px 4px " + g(r.errorColor, 0.24)
485
+ },
486
+ {
487
+ className: "ring-error-shadow-sm",
488
+ value: "0px 1px 3px 0px rgba(16, 24, 40, 0.10), 0px 1px 2px 0px rgba(16, 24, 40, 0.06), 0px 0px 0px 4px " + g(r.errorColor, 0.24)
489
+ }
490
+ ];
491
+ let s = {};
492
+ return t.forEach((l) => {
493
+ s["." + l.className] = { boxShadow: l.value };
494
+ }), n(({ addComponents: l }) => {
495
+ l(s);
496
+ });
497
+ }
498
+ const T = V, q = n(({ addBase: e, theme: r }) => {
492
499
  }, {
493
500
  theme: {
494
501
  extend: {
@@ -501,7 +508,7 @@ const T = l(({ addComponents: e }) => {
501
508
  }
502
509
  }
503
510
  }
504
- }), M = l(({ addBase: e, theme: r }) => {
511
+ }), O = n(({ addBase: e, theme: r }) => {
505
512
  }, {
506
513
  theme: {
507
514
  extend: {
@@ -517,7 +524,7 @@ const T = l(({ addComponents: e }) => {
517
524
  }
518
525
  }
519
526
  }
520
- }), $ = l(({ addBase: e, theme: r }) => {
527
+ }), G = n(({ addBase: e, theme: r }) => {
521
528
  }, {
522
529
  theme: {
523
530
  extend: {
@@ -535,7 +542,7 @@ const T = l(({ addComponents: e }) => {
535
542
  }
536
543
  }
537
544
  }
538
- }), j = l(({ addBase: e, theme: r }) => {
545
+ }), M = n(({ addBase: e, theme: r }) => {
539
546
  }, {
540
547
  theme: {
541
548
  extend: {
@@ -552,7 +559,7 @@ const T = l(({ addComponents: e }) => {
552
559
  }
553
560
  }
554
561
  }
555
- }), G = l(({ addBase: e, theme: r }) => {
562
+ }), $ = n(({ addBase: e, theme: r }) => {
556
563
  }, {
557
564
  theme: {
558
565
  extend: {
@@ -568,25 +575,36 @@ const T = l(({ addComponents: e }) => {
568
575
  }
569
576
  }
570
577
  }
571
- }), L = [
578
+ }), j = [
579
+ k,
580
+ v,
572
581
  _,
573
- C,
574
- z,
582
+ H,
575
583
  A,
576
- V,
577
- T,
584
+ T(),
585
+ q,
578
586
  O,
587
+ G,
579
588
  M,
580
- $,
581
- j,
582
- G
583
- ], U = {
589
+ $
590
+ ], W = {
584
591
  brand: ["Inter", "Source Sans Pro", "Helvetica Neue", "Roboto", "Arial", "sans-serif"],
585
592
  inter: ["Inter", "Source Sans Pro", "Helvetica Neue", "Roboto", "Arial", "sans-serif"]
586
- }, K = L, Q = a, X = a, Y = U;
593
+ }, J = j, K = a, Q = a, X = W;
587
594
  export {
588
- X as DsgColorConfig,
589
- Q as DsgColourConfig,
590
- Y as DsgFontFamilyConfig,
591
- K as DsgTailwindPlugin
595
+ H as DsgBackdropBlurPlugin,
596
+ Q as DsgColorConfig,
597
+ K as DsgColourConfig,
598
+ q as DsgContainerPlugin,
599
+ T as DsgFocusRingsPlugin,
600
+ X as DsgFontFamilyConfig,
601
+ _ as DsgGradientPlugin,
602
+ O as DsgHeightPlugin,
603
+ k as DsgRadiusPlugin,
604
+ G as DsgScreenPlugin,
605
+ A as DsgShadowsPlugin,
606
+ M as DsgSpacingPlugin,
607
+ J as DsgTailwindPlugin,
608
+ v as DsgTypographyPlugin,
609
+ $ as DsgWidthPlugin
592
610
  };