@dcodegroup-au/dsg-vue 0.0.16 → 0.0.17

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 e=require("./_commonjsHelpers-q0radSi0.cjs");var x={},d={},m;function N(){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 S(){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(N());function g(s){return s&&s.__esModule?s:{default:s}}const n=r.default}(x)),x}var c,b;function B(){if(b)return c;b=1;let a=S();return c=(a.__esModule?a:{default:a}).default,c}var E=B();const l=e.getDefaultExportFromCjs(E),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"}},P=[{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={};P.forEach(a=>{a.classNames.forEach(r=>{C["."+r]=a.styles})});const v=l(function({addComponents:a}){return a(C)}),w=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"}}}}),k=[{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={};k.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 D=l(({addComponents:a})=>{a(f)}),_=[{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={};_.forEach(a=>{h["."+a.className]={backdropFilter:"blur("+a.blur+")",background:a.background}});const R=l(({addComponents:a})=>{a(h)}),T=[{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={};T.forEach(a=>{u["."+a.className]={boxShadow:a.value},u[".text-"+a.className]={textShadow:a.textShadowValue}});const z=l(({addComponents:a})=>{a(u)}),H=[{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={};H.forEach(a=>{F["."+a.className]={boxShadow:a.value}});const A=l(({addComponents:a})=>{a(F)}),G=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"}}}}),q=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"}}}}),O=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"}}}}),j=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"}}}}),M=[w,v,D,R,z,A,G,V,q,O,j],$={brand:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"],inter:["Inter","Source Sans Pro","Helvetica Neue","Roboto","Arial","sans-serif"]},L=M,U=e.ColoursConfig,W=e.ColoursConfig,J=$;exports.DsgColorConfig=W;exports.DsgColourConfig=U;exports.DsgFontFamilyConfig=J;exports.DsgTailwindPlugin=L;
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,4 +1,5 @@
1
- import { g as E, C as a, h as s } from "./_commonjsHelpers-CgdWM-5-.js";
1
+ import { g as E } from "./_commonjsHelpers-C6fGbg64.js";
2
+ import { C as a, h as s } from "./DsgColoursConfig-BseFo6-R.js";
2
3
  var i = {}, c = {}, y;
3
4
  function B() {
4
5
  return y || (y = 1, function(e) {
@@ -582,10 +583,10 @@ const T = l(({ addComponents: e }) => {
582
583
  ], U = {
583
584
  brand: ["Inter", "Source Sans Pro", "Helvetica Neue", "Roboto", "Arial", "sans-serif"],
584
585
  inter: ["Inter", "Source Sans Pro", "Helvetica Neue", "Roboto", "Arial", "sans-serif"]
585
- }, J = L, K = a, Q = a, X = U;
586
+ }, K = L, Q = a, X = a, Y = U;
586
587
  export {
587
- Q as DsgColorConfig,
588
- K as DsgColourConfig,
589
- X as DsgFontFamilyConfig,
590
- J as DsgTailwindPlugin
588
+ X as DsgColorConfig,
589
+ Q as DsgColourConfig,
590
+ Y as DsgFontFamilyConfig,
591
+ K as DsgTailwindPlugin
591
592
  };
@@ -0,0 +1,64 @@
1
+ /**
2
+ * --------------------------------------------------------------------------
3
+ * DSG Vue - Components
4
+ * --------------------------------------------------------------------------
5
+ */
6
+ /**
7
+ * --------------------------------------------------------------------------
8
+ * Export: Vue Components
9
+ * --------------------------------------------------------------------------
10
+ */
11
+ export declare const DsgEditor: import('vue').DefineComponent<{
12
+ modelValue: string;
13
+ } & import('./editor').DsgEditorProps, {
14
+ getEditor: () => import('vditor').default | undefined;
15
+ getEditorValue: () => string;
16
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
+ "update:modelValue": (value: string) => any;
18
+ } & {
19
+ "update:modelValue": (value: string) => any;
20
+ "on-before-input": (oldValue: string, value: string) => any;
21
+ "on-after-input": (value: string) => any;
22
+ }, string, import('vue').PublicProps, Readonly<{
23
+ modelValue: string;
24
+ } & import('./editor').DsgEditorProps> & Readonly<{
25
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
26
+ "onOn-before-input"?: ((oldValue: string, value: string) => any) | undefined;
27
+ "onOn-after-input"?: ((value: string) => any) | undefined;
28
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
29
+ vditor: HTMLDivElement;
30
+ }, HTMLDivElement>;
31
+ /**
32
+ * --------------------------------------------------------------------------
33
+ * Export: Vue Component Types
34
+ * --------------------------------------------------------------------------
35
+ */
36
+ export type { DsgEditorProps } from './components/Editor/DsgEditor.vue';
37
+ /**
38
+ * --------------------------------------------------------------------------
39
+ * Export: Default
40
+ * --------------------------------------------------------------------------
41
+ */
42
+ declare const _default: {
43
+ DsgEditor: import('vue').DefineComponent<{
44
+ modelValue: string;
45
+ } & import('./editor').DsgEditorProps, {
46
+ getEditor: () => import('vditor').default | undefined;
47
+ getEditorValue: () => string;
48
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
49
+ "update:modelValue": (value: string) => any;
50
+ } & {
51
+ "update:modelValue": (value: string) => any;
52
+ "on-before-input": (oldValue: string, value: string) => any;
53
+ "on-after-input": (value: string) => any;
54
+ }, string, import('vue').PublicProps, Readonly<{
55
+ modelValue: string;
56
+ } & import('./editor').DsgEditorProps> & Readonly<{
57
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
58
+ "onOn-before-input"?: ((oldValue: string, value: string) => any) | undefined;
59
+ "onOn-after-input"?: ((value: string) => any) | undefined;
60
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
61
+ vditor: HTMLDivElement;
62
+ }, HTMLDivElement>;
63
+ };
64
+ export default _default;
package/dist/table.d.ts CHANGED
@@ -1412,6 +1412,30 @@ export declare const DsgTableSearch: import('vue').DefineComponent<import('./tab
1412
1412
  }, string, import('vue').PublicProps, Readonly<import('./table').DsgTableSearchProps> & Readonly<{
1413
1413
  "onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
1414
1414
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
1415
+ export declare const DsgTableRowHeader: import('vue').DefineComponent<{
1416
+ sortField?: import('./table').DsgTableSortField;
1417
+ selectedRows?: import('./components/Table/DsgTableComponent.vue').DsgTableField[];
1418
+ hasSelected?: boolean;
1419
+ } & import('./components/Table/DsgTableRowHeader.vue').DsgTableRowHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
1420
+ "update:sortField": (value: import('./table').DsgTableSortField) => any;
1421
+ "update:selectedRows": (value: import('./components/Table/DsgTableComponent.vue').DsgTableField[]) => any;
1422
+ "update:hasSelected": (value: boolean) => any;
1423
+ } & {
1424
+ "dsg-table:sort-field": (field: import('./components/Table/DsgTableComponent.vue').DsgTableField) => any;
1425
+ "dsg-table:on-select-all": () => any;
1426
+ "dsg-table:on-deselect-all": () => any;
1427
+ }, string, import('vue').PublicProps, Readonly<{
1428
+ sortField?: import('./table').DsgTableSortField;
1429
+ selectedRows?: import('./components/Table/DsgTableComponent.vue').DsgTableField[];
1430
+ hasSelected?: boolean;
1431
+ } & import('./components/Table/DsgTableRowHeader.vue').DsgTableRowHeaderProps> & Readonly<{
1432
+ "onDsg-table:sort-field"?: ((field: import('./components/Table/DsgTableComponent.vue').DsgTableField) => any) | undefined;
1433
+ "onDsg-table:on-select-all"?: (() => any) | undefined;
1434
+ "onDsg-table:on-deselect-all"?: (() => any) | undefined;
1435
+ "onUpdate:sortField"?: ((value: import('./table').DsgTableSortField) => any) | undefined;
1436
+ "onUpdate:selectedRows"?: ((value: import('./components/Table/DsgTableComponent.vue').DsgTableField[]) => any) | undefined;
1437
+ "onUpdate:hasSelected"?: ((value: boolean) => any) | undefined;
1438
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
1415
1439
  /**
1416
1440
  * --------------------------------------------------------------------------
1417
1441
  * Export: Vue Component Types
@@ -1419,6 +1443,7 @@ export declare const DsgTableSearch: import('vue').DefineComponent<import('./tab
1419
1443
  */
1420
1444
  export type { DsgTableSearchProps } from './components/Table/DsgTableSearch.vue';
1421
1445
  export type { DsgTableSearchFacet, DsgTableSearchRefine, DsgTableFilterProps } from './components/Table/DsgTableFilter.vue';
1446
+ export type { DsgTableSortField } from './components/Table/DsgTableRowHeader.vue';
1422
1447
  /**
1423
1448
  * --------------------------------------------------------------------------
1424
1449
  * Export: Default
@@ -2829,5 +2854,29 @@ declare const _default: {
2829
2854
  }, string, import('vue').PublicProps, Readonly<import('./table').DsgTableSearchProps> & Readonly<{
2830
2855
  "onDsg-table:term-changed"?: ((term: string | null) => any) | undefined;
2831
2856
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
2857
+ DsgTableRowHeader: import('vue').DefineComponent<{
2858
+ sortField?: import('./table').DsgTableSortField;
2859
+ selectedRows?: import('./components/Table/DsgTableComponent.vue').DsgTableField[];
2860
+ hasSelected?: boolean;
2861
+ } & import('./components/Table/DsgTableRowHeader.vue').DsgTableRowHeaderProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2862
+ "update:sortField": (value: import('./table').DsgTableSortField) => any;
2863
+ "update:selectedRows": (value: import('./components/Table/DsgTableComponent.vue').DsgTableField[]) => any;
2864
+ "update:hasSelected": (value: boolean) => any;
2865
+ } & {
2866
+ "dsg-table:sort-field": (field: import('./components/Table/DsgTableComponent.vue').DsgTableField) => any;
2867
+ "dsg-table:on-select-all": () => any;
2868
+ "dsg-table:on-deselect-all": () => any;
2869
+ }, string, import('vue').PublicProps, Readonly<{
2870
+ sortField?: import('./table').DsgTableSortField;
2871
+ selectedRows?: import('./components/Table/DsgTableComponent.vue').DsgTableField[];
2872
+ hasSelected?: boolean;
2873
+ } & import('./components/Table/DsgTableRowHeader.vue').DsgTableRowHeaderProps> & Readonly<{
2874
+ "onDsg-table:sort-field"?: ((field: import('./components/Table/DsgTableComponent.vue').DsgTableField) => any) | undefined;
2875
+ "onDsg-table:on-select-all"?: (() => any) | undefined;
2876
+ "onDsg-table:on-deselect-all"?: (() => any) | undefined;
2877
+ "onUpdate:sortField"?: ((value: import('./table').DsgTableSortField) => any) | undefined;
2878
+ "onUpdate:selectedRows"?: ((value: import('./components/Table/DsgTableComponent.vue').DsgTableField[]) => any) | undefined;
2879
+ "onUpdate:hasSelected"?: ((value: boolean) => any) | undefined;
2880
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLTableRowElement>;
2832
2881
  };
2833
2882
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcodegroup-au/dsg-vue",
3
3
  "description": "Front-end Vue/Tailwind DSG for UntitledUI.",
4
- "version": "0.0.16",
4
+ "version": "0.0.17",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "preinstall": "npx only-allow pnpm",
@@ -40,6 +40,12 @@
40
40
  "require": "./dist/dsg-vue.table.cjs",
41
41
  "default": "./dist/dsg-vue.table.esm.js"
42
42
  },
43
+ "./editor": {
44
+ "types": "./dist/editor.d.ts",
45
+ "import": "./dist/dsg-vue.editor.esm.js",
46
+ "require": "./dist/dsg-vue.editor.cjs",
47
+ "default": "./dist/dsg-vue.editor.esm.js"
48
+ },
43
49
  "./helpers/string": {
44
50
  "types": "./dist/helpers-string.d.ts",
45
51
  "import": "./dist/dsg-vue.helpers-string.esm.js",
@@ -88,9 +94,10 @@
88
94
  },
89
95
  "devDependencies": {
90
96
  "@eslint/eslintrc": "^3.3.1",
91
- "@eslint/js": "^9.26.0",
97
+ "@eslint/js": "^9.27.0",
98
+ "@testing-library/vue": "^8.1.0",
92
99
  "@types/eslint": "^9.6.1",
93
- "@types/node": "^22.15.18",
100
+ "@types/node": "^22.15.19",
94
101
  "@types/uuid": "^10.0.0",
95
102
  "@vitejs/plugin-vue": "^5.2.4",
96
103
  "@vue/eslint-config-typescript": "^14.5.0",
@@ -101,7 +108,7 @@
101
108
  "axios": "^1.9.0",
102
109
  "card-validator": "^10.0.2",
103
110
  "dayjs": "^1.11.13",
104
- "eslint": "^9.26.0",
111
+ "eslint": "^9.27.0",
105
112
  "eslint-config-prettier": "^9.1.0",
106
113
  "eslint-plugin-prettier": "^5.4.0",
107
114
  "eslint-plugin-storybook": "^0.12.0",
@@ -111,20 +118,22 @@
111
118
  "hotkeys-js": "^3.13.10",
112
119
  "jest": "^29.7.0",
113
120
  "jiti": "^2.4.2",
121
+ "jsdom": "^26.1.0",
114
122
  "only-allow": "^1.2.1",
115
123
  "phone": "^3.1.59",
116
124
  "prettier": "^3.5.3",
117
- "sass": "^1.88.0",
118
- "semantic-release": "^24.2.3",
119
- "storybook": "^8.6.12",
125
+ "sass": "^1.89.0",
126
+ "semantic-release": "^24.2.4",
127
+ "storybook": "^8.6.14",
120
128
  "tailwindcss": "^3.4.17",
121
129
  "typescript": "^5.8.3",
122
130
  "typescript-eslint": "^8.32.1",
123
131
  "ua-parser-js": "^2.0.3",
124
132
  "uuid": "^11.1.0",
125
133
  "vite": "^6.3.5",
126
- "vite-plugin-dts": "^4.5.3",
134
+ "vite-plugin-dts": "^4.5.4",
127
135
  "vite-svg-loader": "^5.1.0",
136
+ "vitest": "^3.1.4",
128
137
  "vue-multiselect": "^3.2.0",
129
138
  "vue-tsc": "^2.2.10",
130
139
  "vue3-toastify": "^0.2.8"
@@ -136,5 +145,8 @@
136
145
  "extends": [
137
146
  "plugin:storybook/recommended"
138
147
  ]
148
+ },
149
+ "dependencies": {
150
+ "vditor": "^3.11.0"
139
151
  }
140
152
  }
package/vite.config.ts CHANGED
@@ -22,6 +22,7 @@ export default defineConfig(({ command, mode }) => {
22
22
  lib: {
23
23
  entry: {
24
24
  "dsg-vue": path.resolve(__dirname, "./src/main.ts"),
25
+ editor: path.resolve(__dirname, "./src/editor.ts"),
25
26
  table: path.resolve(__dirname, "./src/table.ts"),
26
27
  tailwind: path.resolve(__dirname, "./src/tailwind.ts"),
27
28
  "helpers-string": path.resolve(__dirname, "./src/utilities/Strings.ts"),