@flipdish/portal-library 8.6.4 → 8.6.6

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.
Files changed (67) hide show
  1. package/dist/components/atoms/Badge/index.cjs.js +1 -1
  2. package/dist/components/atoms/Badge/index.cjs.js.map +1 -1
  3. package/dist/components/atoms/Badge/index.d.ts +1 -1
  4. package/dist/components/atoms/Badge/index.js +1 -1
  5. package/dist/components/atoms/Badge/index.js.map +1 -1
  6. package/dist/components/atoms/IconContainer/index.cjs.js +1 -1
  7. package/dist/components/atoms/IconContainer/index.cjs.js.map +1 -1
  8. package/dist/components/atoms/IconContainer/index.d.ts +1 -1
  9. package/dist/components/atoms/IconContainer/index.js +1 -1
  10. package/dist/components/atoms/IconContainer/index.js.map +1 -1
  11. package/dist/components/organisms/AssetManager/hooks/useAssetUploadManager.cjs.js +1 -1
  12. package/dist/components/organisms/AssetManager/hooks/useAssetUploadManager.cjs.js.map +1 -1
  13. package/dist/components/organisms/AssetManager/hooks/useAssetUploadManager.d.ts +2 -1
  14. package/dist/components/organisms/AssetManager/hooks/useAssetUploadManager.js +1 -1
  15. package/dist/components/organisms/AssetManager/hooks/useAssetUploadManager.js.map +1 -1
  16. package/dist/components/organisms/AssetManager/hooks/usePresignedUploadAsset.cjs.js +2 -0
  17. package/dist/components/organisms/AssetManager/hooks/usePresignedUploadAsset.cjs.js.map +1 -0
  18. package/dist/components/organisms/AssetManager/hooks/usePresignedUploadAsset.d.ts +12 -0
  19. package/dist/components/organisms/AssetManager/hooks/usePresignedUploadAsset.js +2 -0
  20. package/dist/components/organisms/AssetManager/hooks/usePresignedUploadAsset.js.map +1 -0
  21. package/dist/components/organisms/AssetManager/index.cjs.js +1 -1
  22. package/dist/components/organisms/AssetManager/index.cjs.js.map +1 -1
  23. package/dist/components/organisms/AssetManager/index.d.ts +2 -0
  24. package/dist/components/organisms/AssetManager/index.js +1 -1
  25. package/dist/components/organisms/AssetManager/index.js.map +1 -1
  26. package/dist/components/organisms/AssetManager/services/asset.service.cjs.js +1 -1
  27. package/dist/components/organisms/AssetManager/services/asset.service.cjs.js.map +1 -1
  28. package/dist/components/organisms/AssetManager/services/asset.service.d.ts +45 -2
  29. package/dist/components/organisms/AssetManager/services/asset.service.js +1 -1
  30. package/dist/components/organisms/AssetManager/services/asset.service.js.map +1 -1
  31. package/dist/mocks/msw/handlers.cjs.js +1 -1
  32. package/dist/mocks/msw/handlers.cjs.js.map +1 -1
  33. package/dist/mocks/msw/handlers.d.ts +6 -1
  34. package/dist/mocks/msw/handlers.js +1 -1
  35. package/dist/mocks/msw/handlers.js.map +1 -1
  36. package/dist/themes/theme.d.ts +6 -12
  37. package/dist/themes/tokens/breakpoints/BreakpointsVisualizer.cjs.js +2 -0
  38. package/dist/themes/tokens/breakpoints/BreakpointsVisualizer.cjs.js.map +1 -0
  39. package/dist/themes/tokens/breakpoints/BreakpointsVisualizer.d.ts +5 -0
  40. package/dist/themes/tokens/breakpoints/BreakpointsVisualizer.js +2 -0
  41. package/dist/themes/tokens/breakpoints/BreakpointsVisualizer.js.map +1 -0
  42. package/dist/themes/tokens/colours/colours-stories-utils.cjs.js +1 -1
  43. package/dist/themes/tokens/colours/colours-stories-utils.cjs.js.map +1 -1
  44. package/dist/themes/tokens/colours/colours-stories-utils.d.ts +19 -1
  45. package/dist/themes/tokens/colours/colours-stories-utils.js +1 -1
  46. package/dist/themes/tokens/colours/colours-stories-utils.js.map +1 -1
  47. package/dist/themes/tokens/colours/semantic.cjs.js +1 -1
  48. package/dist/themes/tokens/colours/semantic.cjs.js.map +1 -1
  49. package/dist/themes/tokens/colours/semantic.d.ts +6 -12
  50. package/dist/themes/tokens/colours/semantic.js +1 -1
  51. package/dist/themes/tokens/colours/semantic.js.map +1 -1
  52. package/dist/themes/tokens/radius/RadiusVisualizer.cjs.js +2 -0
  53. package/dist/themes/tokens/radius/RadiusVisualizer.cjs.js.map +1 -0
  54. package/dist/themes/tokens/radius/RadiusVisualizer.d.ts +5 -0
  55. package/dist/themes/tokens/radius/RadiusVisualizer.js +2 -0
  56. package/dist/themes/tokens/radius/RadiusVisualizer.js.map +1 -0
  57. package/dist/themes/tokens/shadows/ShadowsVisualizer.cjs.js +2 -0
  58. package/dist/themes/tokens/shadows/ShadowsVisualizer.cjs.js.map +1 -0
  59. package/dist/themes/tokens/shadows/ShadowsVisualizer.d.ts +5 -0
  60. package/dist/themes/tokens/shadows/ShadowsVisualizer.js +2 -0
  61. package/dist/themes/tokens/shadows/ShadowsVisualizer.js.map +1 -0
  62. package/dist/themes/tokens/spacing/SpacingVisualizer.cjs.js +2 -0
  63. package/dist/themes/tokens/spacing/SpacingVisualizer.cjs.js.map +1 -0
  64. package/dist/themes/tokens/spacing/SpacingVisualizer.d.ts +6 -0
  65. package/dist/themes/tokens/spacing/SpacingVisualizer.js +2 -0
  66. package/dist/themes/tokens/spacing/SpacingVisualizer.js.map +1 -0
  67. package/package.json +12 -12
@@ -5,6 +5,23 @@ declare const PrimitiveColourSwatch: ({ name, colour }: {
5
5
  name: string;
6
6
  colour: string;
7
7
  }) => react_jsx_runtime.JSX.Element;
8
+ interface SemanticTokenEntry {
9
+ token: string;
10
+ usage: string;
11
+ colour: string;
12
+ primitive: string;
13
+ }
14
+ declare const SemanticColourTable: ({ title, description, tokens, }: {
15
+ title: string;
16
+ description: string;
17
+ tokens: SemanticTokenEntry[];
18
+ }) => react_jsx_runtime.JSX.Element;
19
+ declare const PrimitiveColourSection: ({ title, description, codePattern, colours, }: {
20
+ title: string;
21
+ description?: string;
22
+ codePattern?: string;
23
+ colours: Record<string, string>;
24
+ }) => react_jsx_runtime.JSX.Element;
8
25
  declare const StyledGrid: any;
9
26
  declare const createColourPrimitiveStory: (colourGroup: string, colourObject: Record<string, string>) => {
10
27
  render: () => react_jsx_runtime.JSX.Element;
@@ -13,4 +30,5 @@ declare const createSemanticColourStory: (category: string, colourObject: Record
13
30
  render: () => react_jsx_runtime.JSX.Element;
14
31
  };
15
32
 
16
- export { PrimitiveColourSwatch, StyledColourSwatch, StyledGrid, createColourPrimitiveStory, createSemanticColourStory };
33
+ export { PrimitiveColourSection, PrimitiveColourSwatch, SemanticColourTable, StyledColourSwatch, StyledGrid, createColourPrimitiveStory, createSemanticColourStory };
34
+ export type { SemanticTokenEntry };
@@ -1,2 +1,2 @@
1
- import{jsxs as r,jsx as e,Fragment as o}from"react/jsx-runtime";import t from"@mui/material/Box";import i from"@mui/material/Grid2";import a from"@mui/material/Stack";import{styled as n}from"@mui/material/styles";import l from"@mui/material/Typography";const c=n(t)(({theme:r,colour:e})=>({width:"100%",height:100,backgroundColor:e,borderRadius:r.shape.borderRadius,border:"1px solid",borderColor:r.palette.semantic.stroke["stroke-weak"],marginBottom:r.spacing(2)})),s=({name:o,colour:i})=>r(t,{sx:{textAlign:"center"},children:[e(c,{colour:i}),e(l,{display:"block",variant:"caption",children:o}),e(l,{color:"text.secondary",display:"block",variant:"caption",children:i})]}),d=n(i)(()=>({width:800})),m=(r,o)=>({render:()=>o?e(d,{container:!0,spacing:3,children:Object.entries(o).sort(([r],[e])=>parseInt(e)-parseInt(r)).map(([o,t])=>e(i,{size:2,children:e(s,{colour:t,name:`${r}-${o}`.toLowerCase()})},o))}):e(t,{children:"No colors available"})}),p=n(a,{shouldForwardProp:r=>"inverse"!==r})(({theme:r,inverse:e})=>({alignItems:"center",border:"1px solid",borderColor:r.palette.semantic.stroke["stroke-weak"],borderRadius:"100px",padding:"6px",marginBottom:"10px",...e&&{backgroundColor:r.palette.semantic.background["background-inverse"],color:r.palette.semantic.text["text-inverse-strong"]}})),h=n(t)(({theme:r,colour:e})=>({width:24,height:24,backgroundColor:e,borderRadius:"50%",marginRight:r.spacing(2),border:"1px solid",borderColor:r.palette.semantic.stroke["stroke-weak"]})),u=n(l)(({theme:r})=>({marginBottom:r.spacing(2),paddingBottom:r.spacing(1),borderBottom:"1px solid",borderColor:r.palette.semantic.stroke["stroke-weak"]})),b=n(t)({display:"flex",flexDirection:"column"}),g=({name:o,colour:t})=>r(p,{direction:"row",inverse:o.includes("inverse"),spacing:2,children:[e(h,{colour:t}),e(l,{variant:"body2",children:o})]}),k=(i,a)=>({render:()=>a?r(o,{children:[e(u,{variant:"h6",children:i.toUpperCase()}),e(b,{children:Object.entries(a).map(([r,o])=>e(g,{colour:o,name:r},r))})]}):e(t,{children:"No colors available"})});export{s as PrimitiveColourSwatch,c as StyledColourSwatch,d as StyledGrid,m as createColourPrimitiveStory,k as createSemanticColourStory};
1
+ import{jsxs as e,jsx as r,Fragment as o}from"react/jsx-runtime";import i from"@mui/material/Box";import t from"@mui/material/Grid2";import n from"@mui/material/Stack";import{styled as a}from"@mui/material/styles";import l from"@mui/material/Typography";const s=a(i)(({theme:e,colour:r})=>({width:"100%",height:100,backgroundColor:r,borderRadius:e.shape.borderRadius,border:"1px solid",borderColor:e.palette.semantic.stroke["stroke-weak"],marginBottom:e.spacing(2)})),d=({name:o,colour:t})=>e(i,{sx:{textAlign:"center"},children:[r(s,{colour:t}),r(l,{display:"block",variant:"caption",children:o}),r(l,{color:"text.secondary",display:"block",variant:"caption",children:t})]}),c=({title:o,description:t,tokens:n})=>e(i,{sx:{mb:6},children:[r(l,{color:"text.secondary",sx:{mb:.5,fontWeight:600},variant:"h5",children:o}),r(l,{color:"text.secondary",sx:{mb:3},variant:"body2",children:t}),e(i,{sx:{display:"flex",pb:1.5,borderBottom:"1px solid",borderColor:"semantic.stroke.stroke-weak"},children:[r(l,{fontWeight:600,sx:{width:220,flexShrink:0},variant:"caption",children:"Design token"}),r(l,{fontWeight:600,sx:{flex:1},variant:"caption",children:"Usage"}),r(l,{fontWeight:600,sx:{width:220,flexShrink:0},variant:"caption",children:"Colour token"})]}),n.map(({token:o,usage:t,colour:n,primitive:a})=>e(i,{sx:{display:"flex",alignItems:"center",py:2,borderBottom:"1px solid",borderColor:"semantic.stroke.stroke-weak"},children:[r(i,{sx:{width:220,flexShrink:0},children:r(l,{component:"code",sx:{px:1.5,py:.5,borderRadius:"100px",border:"1px solid",borderColor:"semantic.stroke.stroke-weak",fontFamily:"monospace"},variant:"caption",children:o})}),r(l,{color:"text.secondary",sx:{flex:1,pr:3},variant:"body2",children:t}),e(i,{sx:{width:220,flexShrink:0,display:"flex",alignItems:"center",gap:1,...o.includes("inverse")&&{bgcolor:"semantic.background.background-inverse",px:1,py:.5,borderRadius:"100px"}},children:[r(i,{sx:{width:24,height:24,borderRadius:"50%",backgroundColor:n,border:"1px solid",borderColor:"semantic.stroke.stroke-weak",flexShrink:0}}),r(l,{component:"code",sx:{fontFamily:"monospace",...o.includes("inverse")&&{color:"semantic.text.text-inverse-strong"}},variant:"caption",children:a})]})]},o))]}),p=({title:o,description:t,codePattern:n,colours:a})=>e(i,{sx:{mb:5},children:[r(l,{color:"text.secondary",sx:{mb:.5,fontWeight:600},variant:"h6",children:o}),t&&r(l,{color:"text.secondary",sx:{mb:1,maxWidth:600},variant:"body2",children:t}),n&&r(l,{component:"code",sx:{display:"inline-block",mb:2,px:.75,py:.25,borderRadius:.5,bgcolor:"semantic.fill.fill-weak",fontFamily:"monospace"},variant:"caption",children:n}),r(i,{sx:{display:"flex",flexWrap:"wrap",gap:2},children:Object.entries(a).map(([o,t])=>e(i,{sx:{width:120},children:[r(i,{sx:{height:80,backgroundColor:t,borderRadius:1,border:"1px solid",borderColor:"semantic.stroke.stroke-weak",mb:1}}),r(l,{display:"block",fontWeight:600,variant:"caption",children:o}),r(l,{color:"text.secondary",display:"block",variant:"caption",children:t})]},o))})]}),m=a(t)(()=>({width:800,overflowX:"auto"})),h=(e,o)=>({render:()=>o?r(m,{container:!0,spacing:3,children:Object.entries(o).sort(([e],[r])=>parseInt(r)-parseInt(e)).map(([o,i])=>r(t,{size:2,children:r(d,{colour:i,name:`${e}-${o}`.toLowerCase()})},o))}):r(i,{children:"No colors available"})}),x=a(n,{shouldForwardProp:e=>"inverse"!==e})(({theme:e,inverse:r})=>({alignItems:"center",border:"1px solid",borderColor:e.palette.semantic.stroke["stroke-weak"],borderRadius:"100px",padding:"6px",marginBottom:"10px",...r&&{backgroundColor:e.palette.semantic.background["background-inverse"],color:e.palette.semantic.text["text-inverse-strong"]}})),b=a(i)(({theme:e,colour:r})=>({width:24,height:24,backgroundColor:r,borderRadius:"50%",marginRight:e.spacing(2),border:"1px solid",borderColor:e.palette.semantic.stroke["stroke-weak"]})),k=a(l)(({theme:e})=>({marginBottom:e.spacing(2),paddingBottom:e.spacing(1),borderBottom:"1px solid",borderColor:e.palette.semantic.stroke["stroke-weak"]})),g=a(i)({display:"flex",flexDirection:"column"}),u=({name:o,colour:i})=>e(x,{direction:"row",inverse:o.includes("inverse"),spacing:2,children:[r(b,{colour:i}),r(l,{variant:"body2",children:o})]}),f=(t,n)=>({render:()=>n?e(o,{children:[r(k,{variant:"h6",children:t.toUpperCase()}),r(g,{children:Object.entries(n).map(([e,o])=>r(u,{colour:o,name:e},e))})]}):r(i,{children:"No colors available"})});export{p as PrimitiveColourSection,d as PrimitiveColourSwatch,c as SemanticColourTable,s as StyledColourSwatch,m as StyledGrid,h as createColourPrimitiveStory,f as createSemanticColourStory};
2
2
  //# sourceMappingURL=colours-stories-utils.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"colours-stories-utils.js","sources":["../../../../src/themes/tokens/colours/colours-stories-utils.tsx"],"sourcesContent":["import Box from '@mui/material/Box';\nimport Grid from '@mui/material/Grid2';\nimport Stack from '@mui/material/Stack';\nimport { styled } from '@mui/material/styles';\nimport Typography from '@mui/material/Typography';\n\nexport const StyledColourSwatch = styled(Box)<{ colour: string }>(({ theme, colour }) => ({\n width: '100%',\n height: 100,\n backgroundColor: colour,\n borderRadius: theme.shape.borderRadius,\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n marginBottom: theme.spacing(2),\n}));\n\nexport const PrimitiveColourSwatch = ({ name, colour }: { name: string; colour: string }) => (\n <Box sx={{ textAlign: 'center' }}>\n <StyledColourSwatch colour={colour} />\n <Typography display=\"block\" variant=\"caption\">\n {name}\n </Typography>\n <Typography color=\"text.secondary\" display=\"block\" variant=\"caption\">\n {colour}\n </Typography>\n </Box>\n);\n\nexport const StyledGrid = styled(Grid)(() => ({\n width: 800,\n}));\n\n// Helper function to create colour primitive stories\nexport const createColourPrimitiveStory = (colourGroup: string, colourObject: Record<string, string>) => {\n return {\n render: () => {\n if (!colourObject) return <Box>No colors available</Box>;\n\n return (\n <StyledGrid container spacing={3}>\n {Object.entries(colourObject)\n .sort(([a], [b]) => parseInt(b) - parseInt(a))\n .map(([shade, colour]) => (\n <Grid key={shade} size={2}>\n <PrimitiveColourSwatch colour={colour} name={`${colourGroup}-${shade}`.toLowerCase()} />\n </Grid>\n ))}\n </StyledGrid>\n );\n },\n };\n};\n\nconst StyledStack = styled(Stack, {\n shouldForwardProp: (prop) => prop !== 'inverse',\n})<{ inverse: boolean }>(({ theme, inverse }) => ({\n alignItems: 'center',\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n borderRadius: '100px',\n padding: '6px',\n marginBottom: '10px',\n ...(inverse && {\n backgroundColor: theme.palette.semantic.background['background-inverse'],\n color: theme.palette.semantic.text['text-inverse-strong'],\n }),\n}));\n\nconst StyledColourBox = styled(Box)<{ colour: string }>(({ theme, colour }) => ({\n width: 24,\n height: 24,\n backgroundColor: colour,\n borderRadius: '50%',\n marginRight: theme.spacing(2),\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n}));\n\nconst StyledCategoryTitle = styled(Typography)(({ theme }) => ({\n marginBottom: theme.spacing(2),\n paddingBottom: theme.spacing(1),\n borderBottom: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n}));\n\nconst StyledColourContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column',\n});\n\nconst SemanticColourSwatch = ({ name, colour }: { name: string; colour: string }) => (\n <StyledStack direction=\"row\" inverse={name.includes('inverse')} spacing={2}>\n <StyledColourBox colour={colour} />\n <Typography variant=\"body2\">{name}</Typography>\n </StyledStack>\n);\n\n// Helper function to create semantic colour stories\nexport const createSemanticColourStory = (category: string, colourObject: Record<string, string>) => {\n return {\n render: () => {\n if (!colourObject) return <Box>No colors available</Box>;\n\n return (\n <>\n <StyledCategoryTitle variant=\"h6\">{category.toUpperCase()}</StyledCategoryTitle>\n <StyledColourContainer>\n {Object.entries(colourObject).map(([name, colour]) => (\n <SemanticColourSwatch key={name} colour={colour} name={name} />\n ))}\n </StyledColourContainer>\n </>\n );\n },\n };\n};\n"],"names":["StyledColourSwatch","styled","Box","theme","colour","width","height","backgroundColor","borderRadius","shape","border","borderColor","palette","semantic","stroke","marginBottom","spacing","PrimitiveColourSwatch","name","_jsxs","sx","textAlign","children","_jsx","Typography","display","variant","color","StyledGrid","Grid","createColourPrimitiveStory","colourGroup","colourObject","render","container","Object","entries","sort","a","b","parseInt","map","shade","size","toLowerCase","StyledStack","Stack","shouldForwardProp","prop","inverse","alignItems","padding","background","text","StyledColourBox","marginRight","StyledCategoryTitle","paddingBottom","borderBottom","StyledColourContainer","flexDirection","SemanticColourSwatch","direction","includes","createSemanticColourStory","category","_Fragment","toUpperCase"],"mappings":"6PAMO,MAAMA,EAAqBC,EAAOC,EAAPD,CAAgC,EAAGE,QAAOC,aAAQ,CAClFC,MAAO,OACPC,OAAQ,IACRC,gBAAiBH,EACjBI,aAAcL,EAAMM,MAAMD,aAC1BE,OAAQ,YACRC,YAAaR,EAAMS,QAAQC,SAASC,OAAO,eAC3CC,aAAcZ,EAAMa,QAAQ,MAGjBC,EAAwB,EAAGC,OAAMd,YAC5Ce,EAACjB,EAAG,CAACkB,GAAI,CAAEC,UAAW,UAAUC,SAAA,CAC9BC,EAACvB,EAAkB,CAACI,OAAQA,IAC5BmB,EAACC,EAAU,CAACC,QAAQ,QAAQC,QAAQ,UAASJ,SAC1CJ,IAEHK,EAACC,EAAU,CAACG,MAAM,iBAAiBF,QAAQ,QAAQC,QAAQ,UAASJ,SACjElB,OAKMwB,EAAa3B,EAAO4B,EAAP5B,CAAa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AAS,WAAY/C,QAAS,EAACM,SAAA,CACxEC,EAAC+B,EAAe,CAAClD,OAAQA,IACzBmB,EAACC,EAAU,CAACE,QAAQ,iBAASR,OAKpB8C,EAA4B,CAACC,EAAkBjC,KACnD,CACLC,OAAQ,IACDD,EAGHb,EAAA+C,EAAA,CAAA5C,SAAA,CACEC,EAACiC,EAAmB,CAAC9B,QAAQ,KAAIJ,SAAE2C,EAASE,gBAC5C5C,EAACoC,EAAqB,CAAArC,SACnBa,OAAOC,QAAQJ,GAAcS,IAAI,EAAEvB,EAAMd,KACxCmB,EAACsC,EAAoB,CAAYzD,OAAQA,EAAQc,KAAMA,GAA5BA,SAPTK,EAACrB,EAAG,CAAAoB,SAAA"}
1
+ {"version":3,"file":"colours-stories-utils.js","sources":["../../../../src/themes/tokens/colours/colours-stories-utils.tsx"],"sourcesContent":["import Box from '@mui/material/Box';\nimport Grid from '@mui/material/Grid2';\nimport Stack from '@mui/material/Stack';\nimport { styled } from '@mui/material/styles';\nimport Typography from '@mui/material/Typography';\n\nexport const StyledColourSwatch = styled(Box)<{ colour: string }>(({ theme, colour }) => ({\n width: '100%',\n height: 100,\n backgroundColor: colour,\n borderRadius: theme.shape.borderRadius,\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n marginBottom: theme.spacing(2),\n}));\n\nexport const PrimitiveColourSwatch = ({ name, colour }: { name: string; colour: string }) => (\n <Box sx={{ textAlign: 'center' }}>\n <StyledColourSwatch colour={colour} />\n <Typography display=\"block\" variant=\"caption\">\n {name}\n </Typography>\n <Typography color=\"text.secondary\" display=\"block\" variant=\"caption\">\n {colour}\n </Typography>\n </Box>\n);\n\nexport interface SemanticTokenEntry {\n token: string;\n usage: string;\n colour: string;\n primitive: string;\n}\n\nexport const SemanticColourTable = ({\n title,\n description,\n tokens,\n}: {\n title: string;\n description: string;\n tokens: SemanticTokenEntry[];\n}) => (\n <Box sx={{ mb: 6 }}>\n <Typography color=\"text.secondary\" sx={{ mb: 0.5, fontWeight: 600 }} variant=\"h5\">\n {title}\n </Typography>\n <Typography color=\"text.secondary\" sx={{ mb: 3 }} variant=\"body2\">\n {description}\n </Typography>\n <Box\n sx={{\n display: 'flex',\n pb: 1.5,\n borderBottom: '1px solid',\n borderColor: 'semantic.stroke.stroke-weak',\n }}\n >\n <Typography fontWeight={600} sx={{ width: 220, flexShrink: 0 }} variant=\"caption\">\n Design token\n </Typography>\n <Typography fontWeight={600} sx={{ flex: 1 }} variant=\"caption\">\n Usage\n </Typography>\n <Typography fontWeight={600} sx={{ width: 220, flexShrink: 0 }} variant=\"caption\">\n Colour token\n </Typography>\n </Box>\n {tokens.map(({ token, usage, colour, primitive }) => (\n <Box\n key={token}\n sx={{\n display: 'flex',\n alignItems: 'center',\n py: 2,\n borderBottom: '1px solid',\n borderColor: 'semantic.stroke.stroke-weak',\n }}\n >\n <Box sx={{ width: 220, flexShrink: 0 }}>\n <Typography\n component=\"code\"\n sx={{\n px: 1.5,\n py: 0.5,\n borderRadius: '100px',\n border: '1px solid',\n borderColor: 'semantic.stroke.stroke-weak',\n fontFamily: 'monospace',\n }}\n variant=\"caption\"\n >\n {token}\n </Typography>\n </Box>\n <Typography color=\"text.secondary\" sx={{ flex: 1, pr: 3 }} variant=\"body2\">\n {usage}\n </Typography>\n <Box\n sx={{\n width: 220,\n flexShrink: 0,\n display: 'flex',\n alignItems: 'center',\n gap: 1,\n ...(token.includes('inverse') && {\n bgcolor: 'semantic.background.background-inverse',\n px: 1,\n py: 0.5,\n borderRadius: '100px',\n }),\n }}\n >\n <Box\n sx={{\n width: 24,\n height: 24,\n borderRadius: '50%',\n backgroundColor: colour,\n border: '1px solid',\n borderColor: 'semantic.stroke.stroke-weak',\n flexShrink: 0,\n }}\n />\n <Typography\n component=\"code\"\n sx={{\n fontFamily: 'monospace',\n ...(token.includes('inverse') && { color: 'semantic.text.text-inverse-strong' }),\n }}\n variant=\"caption\"\n >\n {primitive}\n </Typography>\n </Box>\n </Box>\n ))}\n </Box>\n);\n\nexport const PrimitiveColourSection = ({\n title,\n description,\n codePattern,\n colours,\n}: {\n title: string;\n description?: string;\n codePattern?: string;\n colours: Record<string, string>;\n}) => (\n <Box sx={{ mb: 5 }}>\n <Typography color=\"text.secondary\" sx={{ mb: 0.5, fontWeight: 600 }} variant=\"h6\">\n {title}\n </Typography>\n {description && (\n <Typography color=\"text.secondary\" sx={{ mb: 1, maxWidth: 600 }} variant=\"body2\">\n {description}\n </Typography>\n )}\n {codePattern && (\n <Typography\n component=\"code\"\n sx={{\n display: 'inline-block',\n mb: 2,\n px: 0.75,\n py: 0.25,\n borderRadius: 0.5,\n bgcolor: 'semantic.fill.fill-weak',\n fontFamily: 'monospace',\n }}\n variant=\"caption\"\n >\n {codePattern}\n </Typography>\n )}\n <Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 2 }}>\n {Object.entries(colours).map(([shade, colour]) => (\n <Box key={shade} sx={{ width: 120 }}>\n <Box\n sx={{\n height: 80,\n backgroundColor: colour,\n borderRadius: 1,\n border: '1px solid',\n borderColor: 'semantic.stroke.stroke-weak',\n mb: 1,\n }}\n />\n <Typography display=\"block\" fontWeight={600} variant=\"caption\">\n {shade}\n </Typography>\n <Typography color=\"text.secondary\" display=\"block\" variant=\"caption\">\n {colour}\n </Typography>\n </Box>\n ))}\n </Box>\n </Box>\n);\n\nexport const StyledGrid = styled(Grid)(() => ({\n width: 800,\n overflowX: 'auto',\n}));\n\n// Helper function to create colour primitive stories\nexport const createColourPrimitiveStory = (colourGroup: string, colourObject: Record<string, string>) => {\n return {\n render: () => {\n if (!colourObject) return <Box>No colors available</Box>;\n\n return (\n <StyledGrid container spacing={3}>\n {Object.entries(colourObject)\n .sort(([a], [b]) => parseInt(b) - parseInt(a))\n .map(([shade, colour]) => (\n <Grid key={shade} size={2}>\n <PrimitiveColourSwatch colour={colour} name={`${colourGroup}-${shade}`.toLowerCase()} />\n </Grid>\n ))}\n </StyledGrid>\n );\n },\n };\n};\n\nconst StyledStack = styled(Stack, {\n shouldForwardProp: (prop) => prop !== 'inverse',\n})<{ inverse: boolean }>(({ theme, inverse }) => ({\n alignItems: 'center',\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n borderRadius: '100px',\n padding: '6px',\n marginBottom: '10px',\n ...(inverse && {\n backgroundColor: theme.palette.semantic.background['background-inverse'],\n color: theme.palette.semantic.text['text-inverse-strong'],\n }),\n}));\n\nconst StyledColourBox = styled(Box)<{ colour: string }>(({ theme, colour }) => ({\n width: 24,\n height: 24,\n backgroundColor: colour,\n borderRadius: '50%',\n marginRight: theme.spacing(2),\n border: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n}));\n\nconst StyledCategoryTitle = styled(Typography)(({ theme }) => ({\n marginBottom: theme.spacing(2),\n paddingBottom: theme.spacing(1),\n borderBottom: '1px solid',\n borderColor: theme.palette.semantic.stroke['stroke-weak'],\n}));\n\nconst StyledColourContainer = styled(Box)({\n display: 'flex',\n flexDirection: 'column',\n});\n\nconst SemanticColourSwatch = ({ name, colour }: { name: string; colour: string }) => (\n <StyledStack direction=\"row\" inverse={name.includes('inverse')} spacing={2}>\n <StyledColourBox colour={colour} />\n <Typography variant=\"body2\">{name}</Typography>\n </StyledStack>\n);\n\n// Helper function to create semantic colour stories\nexport const createSemanticColourStory = (category: string, colourObject: Record<string, string>) => {\n return {\n render: () => {\n if (!colourObject) return <Box>No colors available</Box>;\n\n return (\n <>\n <StyledCategoryTitle variant=\"h6\">{category.toUpperCase()}</StyledCategoryTitle>\n <StyledColourContainer>\n {Object.entries(colourObject).map(([name, colour]) => (\n <SemanticColourSwatch key={name} colour={colour} name={name} />\n ))}\n </StyledColourContainer>\n </>\n );\n },\n };\n};\n"],"names":["StyledColourSwatch","styled","Box","theme","colour","width","height","backgroundColor","borderRadius","shape","border","borderColor","palette","semantic","stroke","marginBottom","spacing","PrimitiveColourSwatch","name","_jsxs","sx","textAlign","children","_jsx","Typography","display","variant","color","SemanticColourTable","title","description","tokens","mb","fontWeight","pb","borderBottom","flexShrink","flex","map","token","usage","primitive","alignItems","py","component","px","fontFamily","pr","gap","includes","bgcolor","PrimitiveColourSection","codePattern","colours","maxWidth","flexWrap","Object","entries","shade","StyledGrid","Grid","overflowX","createColourPrimitiveStory","colourGroup","colourObject","render","container","sort","a","b","parseInt","size","toLowerCase","StyledStack","Stack","shouldForwardProp","prop","inverse","padding","background","text","StyledColourBox","marginRight","StyledCategoryTitle","paddingBottom","StyledColourContainer","flexDirection","SemanticColourSwatch","direction","createSemanticColourStory","category","_Fragment","toUpperCase"],"mappings":"6PAMO,MAAMA,EAAqBC,EAAOC,EAAPD,CAAgC,EAAGE,QAAOC,aAAQ,CAClFC,MAAO,OACPC,OAAQ,IACRC,gBAAiBH,EACjBI,aAAcL,EAAMM,MAAMD,aAC1BE,OAAQ,YACRC,YAAaR,EAAMS,QAAQC,SAASC,OAAO,eAC3CC,aAAcZ,EAAMa,QAAQ,MAGjBC,EAAwB,EAAGC,OAAMd,YAC5Ce,EAACjB,EAAG,CAACkB,GAAI,CAAEC,UAAW,UAAUC,SAAA,CAC9BC,EAACvB,EAAkB,CAACI,OAAQA,IAC5BmB,EAACC,EAAU,CAACC,QAAQ,QAAQC,QAAQ,UAASJ,SAC1CJ,IAEHK,EAACC,EAAU,CAACG,MAAM,iBAAiBF,QAAQ,QAAQC,QAAQ,UAASJ,SACjElB,OAYMwB,EAAsB,EACjCC,QACAC,cACAC,YAMAZ,EAACjB,EAAG,CAACkB,GAAI,CAAEY,GAAI,GAAGV,SAAA,CAChBC,EAACC,EAAU,CAACG,MAAM,iBAAiBP,GAAI,CAAEY,GAAI,GAAKC,WAAY,KAAOP,QAAQ,KAAIJ,SAC9EO,IAEHN,EAACC,EAAU,CAACG,MAAM,iBAAiBP,GAAI,CAAEY,GAAI,GAAKN,QAAQ,QAAOJ,SAC9DQ,IAEHX,EAACjB,EAAG,CACFkB,GAAI,CACFK,QAAS,OACTS,GAAI,IACJC,aAAc,YACdxB,YAAa,+B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C4D,EAAmB,CAACzD,QAAQ,KAAIJ,SAAEoE,EAASE,gBAC5CrE,EAAC8D,EAAqB,CAAA/D,SACnBkC,OAAOC,QAAQO,GAAc1B,IAAI,EAAEpB,EAAMd,KACxCmB,EAACgE,EAAoB,CAAYnF,OAAQA,EAAQc,KAAMA,GAA5BA,SAPTK,EAACrB,EAAG,CAAAoB,SAAA"}
@@ -1,2 +1,2 @@
1
- "use strict";var r=require("./primitives.cjs.js");const i={mode:"light",success:{main:r.primativeColours.green.light[1e3]},error:{main:r.primativeColours.red.light[1e3]},warning:{main:r.primativeColours.solid.yellow[1e3]},semantic:{text:{"text-strong":r.primativeColours.grey.light[1e3],"text-weak":r.primativeColours.grey.light[700],"text-primary":r.primativeColours.primary.light[1e3],"text-disabled":r.primativeColours.grey.light[100],"text-error":r.primativeColours.red.light[1e3],"text-warning":r.primativeColours.amber.light[1e3],"text-success":r.primativeColours.green.light[1e3],"text-information":r.primativeColours.purple.light[1e3],"text-inverse-strong":r.primativeColours.grey.dark[1e3],"text-inverse-weak":r.primativeColours.grey.dark[700],"text-inverse-disabled":r.primativeColours.grey.dark[100]},stroke:{"stroke-strong":r.primativeColours.grey.light[500],"stroke-weak":r.primativeColours.grey.light[100],"stroke-selected":r.primativeColours.primary.light[1e3],"stroke-focus":r.primativeColours.primary.light[1e3],"stroke-disabled":r.primativeColours.grey.light[100],"stroke-primary-strong":r.primativeColours.primary.light[800],"stroke-primary-weak":r.primativeColours.primary.light[200],"stroke-secondary":r.primativeColours.secondary.light[1e3],"stroke-tertiary":r.primativeColours.tertiary.light[1e3],"stroke-error-strong":r.primativeColours.red.light[800],"stroke-error-weak":r.primativeColours.red.light[200],"stroke-warning-strong":r.primativeColours.amber.light[800],"stroke-warning-weak":r.primativeColours.amber.light[200],"stroke-success-strong":r.primativeColours.green.light[800],"stroke-success-weak":r.primativeColours.green.light[200],"stroke-information-strong":r.primativeColours.purple.light[800],"stroke-information-weak":r.primativeColours.purple.light[200],"stroke-ai-weak":r.primativeColours.purple.light[200],"stroke-inverse-strong":r.primativeColours.grey.dark[500],"stroke-inverse-weak":r.primativeColours.grey.dark[100],"stroke-inverse-disabled":r.primativeColours.grey.dark[100]},icon:{"icon-strong":r.primativeColours.grey.light[500],"icon-primary":r.primativeColours.primary.light[800],"icon-disabled":r.primativeColours.grey.light[100],"icon-error":r.primativeColours.red.light[800],"icon-warning":r.primativeColours.amber.light[800],"icon-success":r.primativeColours.green.light[800],"icon-information":r.primativeColours.purple.light[800],"icon-ai":r.primativeColours.purple.light[800],"icon-inverse":r.primativeColours.grey.dark[500],"icon-inverse-strong":r.primativeColours.grey.dark[1e3],"icon-inverse-disabled":r.primativeColours.grey.dark[100]},fill:{"fill-strong":r.primativeColours.grey.light[1e3],"fill-weak":r.primativeColours.grey.light[50],"fill-weaker":r.primativeColours.grey.light[25],"fill-hover":r.primativeColours.grey.light[50],"fill-press":r.primativeColours.grey.light[100],"fill-selected":r.primativeColours.primary.light[1e3],"fill-disabled":r.primativeColours.grey.light[100],"fill-overlay":r.primativeColours.grey.light[500],"fill-primary-strong":r.primativeColours.primary.light[1e3],"fill-primary-weak":r.primativeColours.primary.light[50],"fill-secondary":r.primativeColours.secondary.light[1e3],"fill-tertiary":r.primativeColours.tertiary.light[1e3],"fill-error-strong":r.primativeColours.red.light[1e3],"fill-error-weak":r.primativeColours.red.light[50],"fill-warning-strong":r.primativeColours.amber.light[1e3],"fill-warning-weak":r.primativeColours.amber.light[50],"fill-success-strong":r.primativeColours.green.light[1e3],"fill-success-weak":r.primativeColours.green.light[50],"fill-information-strong":r.primativeColours.purple.light[1e3],"fill-information-weak":r.primativeColours.purple.light[50],"fill-ai-weak":r.primativeColours.purple.light[50],"fill-inverse-strong":r.primativeColours.solid.grey[0],"fill-inverse-weak":r.primativeColours.grey.dark[50],"fill-inverse-hover":r.primativeColours.grey.dark[50],"fill-inverse-press":r.primativeColours.grey.dark[100],"fill-inverse-disabled":r.primativeColours.grey.dark[100],"fill-flipdishlogo":r.primativeColours.solid.grey[1e3],"fill-black":r.primativeColours.solid.grey[1e3],"fill-white":r.primativeColours.solid.grey[0],"fill-yellow":r.primativeColours.solid.yellow[1e3],"fill-lightgrey":r.primativeColours.solid.lightGrey[1e3],"fill-lime":r.primativeColours.solid.lime[1e3],"fill-pink":r.primativeColours.solid.pink[1e3]},background:{"background-base":r.primativeColours.solid.grey[0],"background-raised":r.primativeColours.solid.grey[0],"background-overlay":r.primativeColours.solid.grey[0],"background-sunken":r.primativeColours.solid.grey[50],"background-alternate":r.primativeColours.solid.lightGrey[1e3],"background-primary":r.primativeColours.primary.light[1e3],"background-secondary":r.primativeColours.secondary.light[1e3],"background-tertiary":r.primativeColours.tertiary.light[1e3],"background-inverse":r.primativeColours.solid.grey[900]},shadow:{"shadow-strong":r.primativeColours.greyShadow[150],"shadow-weak":r.primativeColours.greyShadow[100]}}},e={mode:"dark",background:{default:r.primativeColours.solid.grey[900]},success:{main:r.primativeColours.green.dark[1e3]},error:{main:r.primativeColours.red.dark[1e3]},warning:{main:r.primativeColours.solid.yellow[1e3]},semantic:{text:{"text-strong":r.primativeColours.grey.dark[1e3],"text-weak":r.primativeColours.grey.dark[700],"text-primary":r.primativeColours.primary.dark[1e3],"text-disabled":r.primativeColours.grey.dark[100],"text-error":r.primativeColours.red.dark[1e3],"text-warning":r.primativeColours.amber.dark[1e3],"text-success":r.primativeColours.green.dark[1e3],"text-information":r.primativeColours.purple.dark[1e3],"text-inverse-strong":r.primativeColours.grey.light[1e3],"text-inverse-weak":r.primativeColours.grey.light[700],"text-inverse-disabled":r.primativeColours.grey.light[100]},stroke:{"stroke-strong":r.primativeColours.grey.dark[500],"stroke-weak":r.primativeColours.grey.dark[100],"stroke-selected":r.primativeColours.primary.dark[1e3],"stroke-focus":r.primativeColours.primary.dark[1e3],"stroke-disabled":r.primativeColours.grey.dark[100],"stroke-primary-strong":r.primativeColours.primary.dark[800],"stroke-primary-weak":r.primativeColours.primary.dark[200],"stroke-secondary":r.primativeColours.secondary.dark[1e3],"stroke-tertiary":r.primativeColours.tertiary.dark[1e3],"stroke-error-strong":r.primativeColours.red.dark[800],"stroke-error-weak":r.primativeColours.red.dark[200],"stroke-warning-strong":r.primativeColours.amber.dark[800],"stroke-warning-weak":r.primativeColours.amber.dark[200],"stroke-success-strong":r.primativeColours.green.dark[800],"stroke-success-weak":r.primativeColours.green.dark[200],"stroke-information-strong":r.primativeColours.purple.dark[800],"stroke-information-weak":r.primativeColours.purple.dark[200],"stroke-ai-weak":r.primativeColours.purple.dark[200],"stroke-inverse-strong":r.primativeColours.grey.light[500],"stroke-inverse-weak":r.primativeColours.grey.light[100],"stroke-inverse-disabled":r.primativeColours.grey.light[100]},icon:{"icon-strong":r.primativeColours.grey.dark[500],"icon-primary":r.primativeColours.primary.dark[800],"icon-disabled":r.primativeColours.grey.dark[100],"icon-error":r.primativeColours.red.dark[800],"icon-warning":r.primativeColours.amber.dark[800],"icon-success":r.primativeColours.green.dark[800],"icon-information":r.primativeColours.purple.dark[800],"icon-ai":r.primativeColours.purple.dark[800],"icon-inverse":r.primativeColours.grey.light[500],"icon-inverse-strong":r.primativeColours.grey.light[1e3],"icon-inverse-disabled":r.primativeColours.grey.light[100]},fill:{"fill-strong":r.primativeColours.grey.dark[1e3],"fill-weak":r.primativeColours.grey.dark[50],"fill-weaker":r.primativeColours.grey.dark[25],"fill-hover":r.primativeColours.grey.dark[50],"fill-press":r.primativeColours.grey.dark[100],"fill-selected":r.primativeColours.primary.dark[1e3],"fill-disabled":r.primativeColours.grey.dark[100],"fill-overlay":r.primativeColours.grey.dark[500],"fill-primary-strong":r.primativeColours.primary.dark[1e3],"fill-primary-weak":r.primativeColours.primary.dark[50],"fill-secondary":r.primativeColours.secondary.dark[1e3],"fill-tertiary":r.primativeColours.tertiary.dark[1e3],"fill-error-strong":r.primativeColours.red.dark[1e3],"fill-error-weak":r.primativeColours.red.dark[50],"fill-warning-strong":r.primativeColours.amber.dark[1e3],"fill-warning-weak":r.primativeColours.amber.dark[50],"fill-success-strong":r.primativeColours.green.dark[1e3],"fill-success-weak":r.primativeColours.green.dark[50],"fill-information-strong":r.primativeColours.purple.dark[1e3],"fill-information-weak":r.primativeColours.purple.dark[50],"fill-ai-weak":r.primativeColours.purple.dark[50],"fill-inverse-strong":r.primativeColours.solid.grey[900],"fill-inverse-weak":r.primativeColours.grey.light[50],"fill-inverse-hover":r.primativeColours.grey.light[50],"fill-inverse-press":r.primativeColours.grey.light[100],"fill-inverse-disabled":r.primativeColours.grey.light[100],"fill-flipdishlogo":r.primativeColours.solid.grey[0],"fill-black":r.primativeColours.solid.grey[1e3],"fill-white":r.primativeColours.solid.grey[0],"fill-yellow":r.primativeColours.solid.yellow[1e3],"fill-lightgrey":r.primativeColours.solid.lightGrey[1e3],"fill-lime":r.primativeColours.solid.lime[1e3],"fill-pink":r.primativeColours.solid.pink[1e3]},background:{"background-base":r.primativeColours.solid.grey[900],"background-raised":r.primativeColours.solid.grey[850],"background-overlay":r.primativeColours.solid.grey[800],"background-sunken":r.primativeColours.solid.grey[1e3],"background-alternate":r.primativeColours.solid.lightGrey[1e3],"background-primary":r.primativeColours.primary.dark[1e3],"background-secondary":r.primativeColours.secondary.dark[1e3],"background-tertiary":r.primativeColours.tertiary.dark[1e3],"background-inverse":r.primativeColours.solid.grey[0]},shadow:{"shadow-strong":r.primativeColours.greyShadow[150],"shadow-weak":r.primativeColours.greyShadow[100]}}};exports.darkColours=e,exports.lightColours=i;
1
+ "use strict";var r=require("./primitives.cjs.js");const i={mode:"light",success:{main:r.primativeColours.green.light[1e3]},error:{main:r.primativeColours.red.light[1e3]},warning:{main:r.primativeColours.solid.yellow[1e3]},semantic:{text:{"text-strong":r.primativeColours.grey.light[1e3],"text-weak":r.primativeColours.grey.light[700],"text-primary":r.primativeColours.primary.light[1e3],"text-disabled":r.primativeColours.grey.light[100],"text-error":r.primativeColours.red.light[1e3],"text-warning":r.primativeColours.amber.light[1e3],"text-success":r.primativeColours.green.light[1e3],"text-ai":r.primativeColours.purple.light[1e3],"text-inverse-strong":r.primativeColours.grey.dark[1e3],"text-inverse-weak":r.primativeColours.grey.dark[700],"text-inverse-disabled":r.primativeColours.grey.dark[100]},stroke:{"stroke-strong":r.primativeColours.grey.light[500],"stroke-weak":r.primativeColours.grey.light[100],"stroke-selected":r.primativeColours.primary.light[1e3],"stroke-focus":r.primativeColours.primary.light[1e3],"stroke-disabled":r.primativeColours.grey.light[100],"stroke-primary-strong":r.primativeColours.primary.light[800],"stroke-primary-weak":r.primativeColours.primary.light[200],"stroke-secondary":r.primativeColours.secondary.light[1e3],"stroke-tertiary":r.primativeColours.tertiary.light[1e3],"stroke-error-strong":r.primativeColours.red.light[800],"stroke-error-weak":r.primativeColours.red.light[200],"stroke-warning-strong":r.primativeColours.amber.light[800],"stroke-warning-weak":r.primativeColours.amber.light[200],"stroke-success-strong":r.primativeColours.green.light[800],"stroke-success-weak":r.primativeColours.green.light[200],"stroke-ai-strong":r.primativeColours.purple.light[800],"stroke-ai-weak":r.primativeColours.purple.light[200],"stroke-inverse-strong":r.primativeColours.grey.dark[500],"stroke-inverse-weak":r.primativeColours.grey.dark[100],"stroke-inverse-disabled":r.primativeColours.grey.dark[100]},icon:{"icon-strong":r.primativeColours.grey.light[500],"icon-primary":r.primativeColours.primary.light[800],"icon-disabled":r.primativeColours.grey.light[100],"icon-error":r.primativeColours.red.light[800],"icon-warning":r.primativeColours.amber.light[800],"icon-success":r.primativeColours.green.light[800],"icon-ai":r.primativeColours.purple.light[800],"icon-inverse":r.primativeColours.grey.dark[500],"icon-inverse-strong":r.primativeColours.grey.dark[1e3],"icon-inverse-disabled":r.primativeColours.grey.dark[100]},fill:{"fill-strong":r.primativeColours.grey.light[1e3],"fill-weak":r.primativeColours.grey.light[50],"fill-weaker":r.primativeColours.grey.light[25],"fill-hover":r.primativeColours.grey.light[50],"fill-press":r.primativeColours.grey.light[100],"fill-selected":r.primativeColours.primary.light[1e3],"fill-disabled":r.primativeColours.grey.light[100],"fill-overlay":r.primativeColours.grey.light[500],"fill-primary-strong":r.primativeColours.primary.light[1e3],"fill-primary-weak":r.primativeColours.primary.light[50],"fill-secondary":r.primativeColours.secondary.light[1e3],"fill-tertiary":r.primativeColours.tertiary.light[1e3],"fill-error-strong":r.primativeColours.red.light[1e3],"fill-error-weak":r.primativeColours.red.light[50],"fill-warning-strong":r.primativeColours.amber.light[1e3],"fill-warning-weak":r.primativeColours.amber.light[50],"fill-success-strong":r.primativeColours.green.light[1e3],"fill-success-weak":r.primativeColours.green.light[50],"fill-ai-strong":r.primativeColours.purple.light[1e3],"fill-ai-weak":r.primativeColours.purple.light[50],"fill-inverse-strong":r.primativeColours.solid.grey[0],"fill-inverse-weak":r.primativeColours.grey.dark[50],"fill-inverse-hover":r.primativeColours.grey.dark[50],"fill-inverse-press":r.primativeColours.grey.dark[100],"fill-inverse-disabled":r.primativeColours.grey.dark[100],"fill-flipdishlogo":r.primativeColours.solid.grey[1e3],"fill-black":r.primativeColours.solid.grey[1e3],"fill-white":r.primativeColours.solid.grey[0],"fill-yellow":r.primativeColours.solid.yellow[1e3],"fill-lightgrey":r.primativeColours.solid.lightGrey[1e3],"fill-lime":r.primativeColours.solid.lime[1e3],"fill-pink":r.primativeColours.solid.pink[1e3]},background:{"background-base":r.primativeColours.solid.grey[0],"background-raised":r.primativeColours.solid.grey[0],"background-overlay":r.primativeColours.solid.grey[0],"background-sunken":r.primativeColours.solid.grey[50],"background-alternate":r.primativeColours.solid.lightGrey[1e3],"background-primary":r.primativeColours.primary.light[1e3],"background-secondary":r.primativeColours.secondary.light[1e3],"background-tertiary":r.primativeColours.tertiary.light[1e3],"background-inverse":r.primativeColours.solid.grey[900]},shadow:{"shadow-strong":r.primativeColours.greyShadow[150],"shadow-weak":r.primativeColours.greyShadow[100]}}},e={mode:"dark",background:{default:r.primativeColours.solid.grey[900]},success:{main:r.primativeColours.green.dark[1e3]},error:{main:r.primativeColours.red.dark[1e3]},warning:{main:r.primativeColours.solid.yellow[1e3]},semantic:{text:{"text-strong":r.primativeColours.grey.dark[1e3],"text-weak":r.primativeColours.grey.dark[700],"text-primary":r.primativeColours.primary.dark[1e3],"text-disabled":r.primativeColours.grey.dark[100],"text-error":r.primativeColours.red.dark[1e3],"text-warning":r.primativeColours.amber.dark[1e3],"text-success":r.primativeColours.green.dark[1e3],"text-ai":r.primativeColours.purple.dark[1e3],"text-inverse-strong":r.primativeColours.grey.light[1e3],"text-inverse-weak":r.primativeColours.grey.light[700],"text-inverse-disabled":r.primativeColours.grey.light[100]},stroke:{"stroke-strong":r.primativeColours.grey.dark[500],"stroke-weak":r.primativeColours.grey.dark[100],"stroke-selected":r.primativeColours.primary.dark[1e3],"stroke-focus":r.primativeColours.primary.dark[1e3],"stroke-disabled":r.primativeColours.grey.dark[100],"stroke-primary-strong":r.primativeColours.primary.dark[800],"stroke-primary-weak":r.primativeColours.primary.dark[200],"stroke-secondary":r.primativeColours.secondary.dark[1e3],"stroke-tertiary":r.primativeColours.tertiary.dark[1e3],"stroke-error-strong":r.primativeColours.red.dark[800],"stroke-error-weak":r.primativeColours.red.dark[200],"stroke-warning-strong":r.primativeColours.amber.dark[800],"stroke-warning-weak":r.primativeColours.amber.dark[200],"stroke-success-strong":r.primativeColours.green.dark[800],"stroke-success-weak":r.primativeColours.green.dark[200],"stroke-ai-strong":r.primativeColours.purple.dark[800],"stroke-ai-weak":r.primativeColours.purple.dark[200],"stroke-inverse-strong":r.primativeColours.grey.light[500],"stroke-inverse-weak":r.primativeColours.grey.light[100],"stroke-inverse-disabled":r.primativeColours.grey.light[100]},icon:{"icon-strong":r.primativeColours.grey.dark[500],"icon-primary":r.primativeColours.primary.dark[800],"icon-disabled":r.primativeColours.grey.dark[100],"icon-error":r.primativeColours.red.dark[800],"icon-warning":r.primativeColours.amber.dark[800],"icon-success":r.primativeColours.green.dark[800],"icon-ai":r.primativeColours.purple.dark[800],"icon-inverse":r.primativeColours.grey.light[500],"icon-inverse-strong":r.primativeColours.grey.light[1e3],"icon-inverse-disabled":r.primativeColours.grey.light[100]},fill:{"fill-strong":r.primativeColours.grey.dark[1e3],"fill-weak":r.primativeColours.grey.dark[50],"fill-weaker":r.primativeColours.grey.dark[25],"fill-hover":r.primativeColours.grey.dark[50],"fill-press":r.primativeColours.grey.dark[100],"fill-selected":r.primativeColours.primary.dark[1e3],"fill-disabled":r.primativeColours.grey.dark[100],"fill-overlay":r.primativeColours.grey.dark[500],"fill-primary-strong":r.primativeColours.primary.dark[1e3],"fill-primary-weak":r.primativeColours.primary.dark[50],"fill-secondary":r.primativeColours.secondary.dark[1e3],"fill-tertiary":r.primativeColours.tertiary.dark[1e3],"fill-error-strong":r.primativeColours.red.dark[1e3],"fill-error-weak":r.primativeColours.red.dark[50],"fill-warning-strong":r.primativeColours.amber.dark[1e3],"fill-warning-weak":r.primativeColours.amber.dark[50],"fill-success-strong":r.primativeColours.green.dark[1e3],"fill-success-weak":r.primativeColours.green.dark[50],"fill-ai-strong":r.primativeColours.purple.dark[1e3],"fill-ai-weak":r.primativeColours.purple.dark[50],"fill-inverse-strong":r.primativeColours.solid.grey[900],"fill-inverse-weak":r.primativeColours.grey.light[50],"fill-inverse-hover":r.primativeColours.grey.light[50],"fill-inverse-press":r.primativeColours.grey.light[100],"fill-inverse-disabled":r.primativeColours.grey.light[100],"fill-flipdishlogo":r.primativeColours.solid.grey[0],"fill-black":r.primativeColours.solid.grey[1e3],"fill-white":r.primativeColours.solid.grey[0],"fill-yellow":r.primativeColours.solid.yellow[1e3],"fill-lightgrey":r.primativeColours.solid.lightGrey[1e3],"fill-lime":r.primativeColours.solid.lime[1e3],"fill-pink":r.primativeColours.solid.pink[1e3]},background:{"background-base":r.primativeColours.solid.grey[900],"background-raised":r.primativeColours.solid.grey[850],"background-overlay":r.primativeColours.solid.grey[800],"background-sunken":r.primativeColours.solid.grey[1e3],"background-alternate":r.primativeColours.solid.lightGrey[1e3],"background-primary":r.primativeColours.primary.dark[1e3],"background-secondary":r.primativeColours.secondary.dark[1e3],"background-tertiary":r.primativeColours.tertiary.dark[1e3],"background-inverse":r.primativeColours.solid.grey[0]},shadow:{"shadow-strong":r.primativeColours.greyShadow[150],"shadow-weak":r.primativeColours.greyShadow[100]}}};exports.darkColours=e,exports.lightColours=i;
2
2
  //# sourceMappingURL=semantic.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"semantic.cjs.js","sources":["../../../../src/themes/tokens/colours/semantic.ts"],"sourcesContent":["import type { ThemeOptions } from '@mui/material/styles/createTheme';\n\nimport { primativeColours } from './primitives';\n\nexport const lightColours = {\n mode: 'light',\n // Status colours\n success: {\n main: primativeColours.green.light['1000'],\n },\n error: {\n main: primativeColours.red.light['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.light['1000'],\n 'text-weak': primativeColours.grey.light['700'],\n 'text-primary': primativeColours.primary.light['1000'],\n 'text-disabled': primativeColours.grey.light['100'],\n 'text-error': primativeColours.red.light['1000'],\n 'text-warning': primativeColours.amber.light['1000'],\n 'text-success': primativeColours.green.light['1000'],\n 'text-information': primativeColours.purple.light['1000'],\n 'text-inverse-strong': primativeColours.grey.dark['1000'],\n 'text-inverse-weak': primativeColours.grey.dark['700'],\n 'text-inverse-disabled': primativeColours.grey.dark['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.light['500'],\n 'stroke-weak': primativeColours.grey.light['100'],\n 'stroke-selected': primativeColours.primary.light['1000'],\n 'stroke-focus': primativeColours.primary.light['1000'],\n 'stroke-disabled': primativeColours.grey.light['100'],\n 'stroke-primary-strong': primativeColours.primary.light['800'],\n 'stroke-primary-weak': primativeColours.primary.light['200'],\n 'stroke-secondary': primativeColours.secondary.light['1000'],\n 'stroke-tertiary': primativeColours.tertiary.light['1000'],\n 'stroke-error-strong': primativeColours.red.light['800'],\n 'stroke-error-weak': primativeColours.red.light['200'],\n 'stroke-warning-strong': primativeColours.amber.light['800'],\n 'stroke-warning-weak': primativeColours.amber.light['200'],\n 'stroke-success-strong': primativeColours.green.light['800'],\n 'stroke-success-weak': primativeColours.green.light['200'],\n 'stroke-information-strong': primativeColours.purple.light['800'],\n 'stroke-information-weak': primativeColours.purple.light['200'],\n 'stroke-ai-weak': primativeColours.purple.light['200'],\n 'stroke-inverse-strong': primativeColours.grey.dark['500'],\n 'stroke-inverse-weak': primativeColours.grey.dark['100'],\n 'stroke-inverse-disabled': primativeColours.grey.dark['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.light['500'],\n 'icon-primary': primativeColours.primary.light['800'],\n 'icon-disabled': primativeColours.grey.light['100'],\n 'icon-error': primativeColours.red.light['800'],\n 'icon-warning': primativeColours.amber.light['800'],\n 'icon-success': primativeColours.green.light['800'],\n 'icon-information': primativeColours.purple.light['800'],\n 'icon-ai': primativeColours.purple.light['800'],\n 'icon-inverse': primativeColours.grey.dark['500'],\n 'icon-inverse-strong': primativeColours.grey.dark['1000'],\n 'icon-inverse-disabled': primativeColours.grey.dark['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.light['1000'],\n 'fill-weak': primativeColours.grey.light['50'],\n 'fill-weaker': primativeColours.grey.light['25'],\n 'fill-hover': primativeColours.grey.light['50'],\n 'fill-press': primativeColours.grey.light['100'],\n 'fill-selected': primativeColours.primary.light['1000'],\n 'fill-disabled': primativeColours.grey.light['100'],\n 'fill-overlay': primativeColours.grey.light['500'],\n 'fill-primary-strong': primativeColours.primary.light['1000'],\n 'fill-primary-weak': primativeColours.primary.light['50'],\n 'fill-secondary': primativeColours.secondary.light['1000'],\n 'fill-tertiary': primativeColours.tertiary.light['1000'],\n 'fill-error-strong': primativeColours.red.light['1000'],\n 'fill-error-weak': primativeColours.red.light['50'],\n 'fill-warning-strong': primativeColours.amber.light['1000'],\n 'fill-warning-weak': primativeColours.amber.light['50'],\n 'fill-success-strong': primativeColours.green.light['1000'],\n 'fill-success-weak': primativeColours.green.light['50'],\n 'fill-information-strong': primativeColours.purple.light['1000'],\n 'fill-information-weak': primativeColours.purple.light['50'],\n 'fill-ai-weak': primativeColours.purple.light['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['0'],\n 'fill-inverse-weak': primativeColours.grey.dark['50'],\n 'fill-inverse-hover': primativeColours.grey.dark['50'],\n 'fill-inverse-press': primativeColours.grey.dark['100'],\n 'fill-inverse-disabled': primativeColours.grey.dark['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['1000'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['0'],\n 'background-raised': primativeColours.solid.grey['0'],\n 'background-overlay': primativeColours.solid.grey['0'],\n 'background-sunken': primativeColours.solid.grey['50'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.light['1000'],\n 'background-secondary': primativeColours.secondary.light['1000'],\n 'background-tertiary': primativeColours.tertiary.light['1000'],\n 'background-inverse': primativeColours.solid.grey['900'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n\nexport const darkColours = {\n mode: 'dark',\n background: {\n default: primativeColours.solid.grey['900'],\n },\n\n // Status colours\n success: {\n main: primativeColours.green.dark['1000'],\n },\n error: {\n main: primativeColours.red.dark['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.dark['1000'],\n 'text-weak': primativeColours.grey.dark['700'],\n 'text-primary': primativeColours.primary.dark['1000'],\n 'text-disabled': primativeColours.grey.dark['100'],\n 'text-error': primativeColours.red.dark['1000'],\n 'text-warning': primativeColours.amber.dark['1000'],\n 'text-success': primativeColours.green.dark['1000'],\n 'text-information': primativeColours.purple.dark['1000'],\n 'text-inverse-strong': primativeColours.grey.light['1000'],\n 'text-inverse-weak': primativeColours.grey.light['700'],\n 'text-inverse-disabled': primativeColours.grey.light['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.dark['500'],\n 'stroke-weak': primativeColours.grey.dark['100'],\n 'stroke-selected': primativeColours.primary.dark['1000'],\n 'stroke-focus': primativeColours.primary.dark['1000'],\n 'stroke-disabled': primativeColours.grey.dark['100'],\n 'stroke-primary-strong': primativeColours.primary.dark['800'],\n 'stroke-primary-weak': primativeColours.primary.dark['200'],\n 'stroke-secondary': primativeColours.secondary.dark['1000'],\n 'stroke-tertiary': primativeColours.tertiary.dark['1000'],\n 'stroke-error-strong': primativeColours.red.dark['800'],\n 'stroke-error-weak': primativeColours.red.dark['200'],\n 'stroke-warning-strong': primativeColours.amber.dark['800'],\n 'stroke-warning-weak': primativeColours.amber.dark['200'],\n 'stroke-success-strong': primativeColours.green.dark['800'],\n 'stroke-success-weak': primativeColours.green.dark['200'],\n 'stroke-information-strong': primativeColours.purple.dark['800'],\n 'stroke-information-weak': primativeColours.purple.dark['200'],\n 'stroke-ai-weak': primativeColours.purple.dark['200'],\n 'stroke-inverse-strong': primativeColours.grey.light['500'],\n 'stroke-inverse-weak': primativeColours.grey.light['100'],\n 'stroke-inverse-disabled': primativeColours.grey.light['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.dark['500'],\n 'icon-primary': primativeColours.primary.dark['800'],\n 'icon-disabled': primativeColours.grey.dark['100'],\n 'icon-error': primativeColours.red.dark['800'],\n 'icon-warning': primativeColours.amber.dark['800'],\n 'icon-success': primativeColours.green.dark['800'],\n 'icon-information': primativeColours.purple.dark['800'],\n 'icon-ai': primativeColours.purple.dark['800'],\n 'icon-inverse': primativeColours.grey.light['500'],\n 'icon-inverse-strong': primativeColours.grey.light['1000'],\n 'icon-inverse-disabled': primativeColours.grey.light['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.dark['1000'],\n 'fill-weak': primativeColours.grey.dark['50'],\n 'fill-weaker': primativeColours.grey.dark['25'],\n 'fill-hover': primativeColours.grey.dark['50'],\n 'fill-press': primativeColours.grey.dark['100'],\n 'fill-selected': primativeColours.primary.dark['1000'],\n 'fill-disabled': primativeColours.grey.dark['100'],\n 'fill-overlay': primativeColours.grey.dark['500'],\n 'fill-primary-strong': primativeColours.primary.dark['1000'],\n 'fill-primary-weak': primativeColours.primary.dark['50'],\n 'fill-secondary': primativeColours.secondary.dark['1000'],\n 'fill-tertiary': primativeColours.tertiary.dark['1000'],\n 'fill-error-strong': primativeColours.red.dark['1000'],\n 'fill-error-weak': primativeColours.red.dark['50'],\n 'fill-warning-strong': primativeColours.amber.dark['1000'],\n 'fill-warning-weak': primativeColours.amber.dark['50'],\n 'fill-success-strong': primativeColours.green.dark['1000'],\n 'fill-success-weak': primativeColours.green.dark['50'],\n 'fill-information-strong': primativeColours.purple.dark['1000'],\n 'fill-information-weak': primativeColours.purple.dark['50'],\n 'fill-ai-weak': primativeColours.purple.dark['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['900'],\n 'fill-inverse-weak': primativeColours.grey.light['50'],\n 'fill-inverse-hover': primativeColours.grey.light['50'],\n 'fill-inverse-press': primativeColours.grey.light['100'],\n 'fill-inverse-disabled': primativeColours.grey.light['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['0'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['900'],\n 'background-raised': primativeColours.solid.grey['850'],\n 'background-overlay': primativeColours.solid.grey['800'],\n 'background-sunken': primativeColours.solid.grey['1000'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.dark['1000'],\n 'background-secondary': primativeColours.secondary.dark['1000'],\n 'background-tertiary': primativeColours.tertiary.dark['1000'],\n 'background-inverse': primativeColours.solid.grey['0'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n"],"names":["lightColours","mode","success","main","primativeColours","green","light","error","red","warning","solid","yellow","semantic","text","grey","primary","amber","purple","dark","stroke","secondary","tertiary","icon","fill","lightGrey","lime","pink","background","shadow","greyShadow","darkColours","default"],"mappings":"kDAIO,MAAMA,EAAe,CAC1BC,KAAM,QAENC,QAAS,CACPC,KAAMC,EAAAA,iBAAiBC,MAAMC,MAAM,MAErCC,MAAO,CACLJ,KAAMC,EAAAA,iBAAiBI,IAAIF,MAAM,MAEnCG,QAAS,CACPN,KAAMC,EAAAA,iBAAiBM,MAAMC,OAAO,MAGtCC,SAAU,CACRC,KAAM,CACJ,cAAeT,EAAAA,iBAAiBU,KAAKR,MAAM,KAC3C,YAAaF,EAAAA,iBAAiBU,KAAKR,MAAM,KACzC,eAAgBF,EAAAA,iBAAiBW,QAAQT,MAAM,KAC/C,gBAAiBF,EAAAA,iBAAiBU,KAAKR,MAAM,KAC7C,aAAcF,EAAAA,iBAAiBI,IAAIF,MAAM,KACzC,eAAgBF,EAAAA,iBAAiBY,MAAMV,MAAM,KAC7C,eAAgBF,EAAAA,iBAAiBC,MAAMC,MAAM,KAC7C,mBAAoBF,EAAAA,iBAAiBa,OAAOX,MAAM,KAClD,sBAAuBF,EAAAA,iBAAiBU,KAAKI,KAAK,KAClD,oBAAqBd,EAAAA,iBAAiBU,KAAKI,KAAK,KAChD,wBAAyBd,EAAAA,iBAAiBU,KAAKI,KAAK,MAEtDC,OAAQ,CACN,gBAAiBf,EAAAA,iBA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AAAA,iBAAiBM,MAAMI,KAAK,KAClD,oBAAqBV,EAAAA,iBAAiBM,MAAMI,KAAK,KACjD,uBAAwBV,EAAAA,iBAAiBM,MAAMc,UAAU,KACzD,qBAAsBpB,EAAAA,iBAAiBW,QAAQG,KAAK,KACpD,uBAAwBd,EAAAA,iBAAiBgB,UAAUF,KAAK,KACxD,sBAAuBd,EAAAA,iBAAiBiB,SAASH,KAAK,KACtD,qBAAsBd,EAAAA,iBAAiBM,MAAMI,KAAK,IAEpDc,OAAQ,CACN,gBAAiBxB,EAAAA,iBAAiByB,WAAW,KAC7C,cAAezB,EAAAA,iBAAiByB,WAAW"}
1
+ {"version":3,"file":"semantic.cjs.js","sources":["../../../../src/themes/tokens/colours/semantic.ts"],"sourcesContent":["import type { ThemeOptions } from '@mui/material/styles/createTheme';\n\nimport { primativeColours } from './primitives';\n\nexport const lightColours = {\n mode: 'light',\n // Status colours\n success: {\n main: primativeColours.green.light['1000'],\n },\n error: {\n main: primativeColours.red.light['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.light['1000'],\n 'text-weak': primativeColours.grey.light['700'],\n 'text-primary': primativeColours.primary.light['1000'],\n 'text-disabled': primativeColours.grey.light['100'],\n 'text-error': primativeColours.red.light['1000'],\n 'text-warning': primativeColours.amber.light['1000'],\n 'text-success': primativeColours.green.light['1000'],\n 'text-ai': primativeColours.purple.light['1000'],\n 'text-inverse-strong': primativeColours.grey.dark['1000'],\n 'text-inverse-weak': primativeColours.grey.dark['700'],\n 'text-inverse-disabled': primativeColours.grey.dark['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.light['500'],\n 'stroke-weak': primativeColours.grey.light['100'],\n 'stroke-selected': primativeColours.primary.light['1000'],\n 'stroke-focus': primativeColours.primary.light['1000'],\n 'stroke-disabled': primativeColours.grey.light['100'],\n 'stroke-primary-strong': primativeColours.primary.light['800'],\n 'stroke-primary-weak': primativeColours.primary.light['200'],\n 'stroke-secondary': primativeColours.secondary.light['1000'],\n 'stroke-tertiary': primativeColours.tertiary.light['1000'],\n 'stroke-error-strong': primativeColours.red.light['800'],\n 'stroke-error-weak': primativeColours.red.light['200'],\n 'stroke-warning-strong': primativeColours.amber.light['800'],\n 'stroke-warning-weak': primativeColours.amber.light['200'],\n 'stroke-success-strong': primativeColours.green.light['800'],\n 'stroke-success-weak': primativeColours.green.light['200'],\n 'stroke-ai-strong': primativeColours.purple.light['800'],\n 'stroke-ai-weak': primativeColours.purple.light['200'],\n 'stroke-inverse-strong': primativeColours.grey.dark['500'],\n 'stroke-inverse-weak': primativeColours.grey.dark['100'],\n 'stroke-inverse-disabled': primativeColours.grey.dark['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.light['500'],\n 'icon-primary': primativeColours.primary.light['800'],\n 'icon-disabled': primativeColours.grey.light['100'],\n 'icon-error': primativeColours.red.light['800'],\n 'icon-warning': primativeColours.amber.light['800'],\n 'icon-success': primativeColours.green.light['800'],\n 'icon-ai': primativeColours.purple.light['800'],\n 'icon-inverse': primativeColours.grey.dark['500'],\n 'icon-inverse-strong': primativeColours.grey.dark['1000'],\n 'icon-inverse-disabled': primativeColours.grey.dark['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.light['1000'],\n 'fill-weak': primativeColours.grey.light['50'],\n 'fill-weaker': primativeColours.grey.light['25'],\n 'fill-hover': primativeColours.grey.light['50'],\n 'fill-press': primativeColours.grey.light['100'],\n 'fill-selected': primativeColours.primary.light['1000'],\n 'fill-disabled': primativeColours.grey.light['100'],\n 'fill-overlay': primativeColours.grey.light['500'],\n 'fill-primary-strong': primativeColours.primary.light['1000'],\n 'fill-primary-weak': primativeColours.primary.light['50'],\n 'fill-secondary': primativeColours.secondary.light['1000'],\n 'fill-tertiary': primativeColours.tertiary.light['1000'],\n 'fill-error-strong': primativeColours.red.light['1000'],\n 'fill-error-weak': primativeColours.red.light['50'],\n 'fill-warning-strong': primativeColours.amber.light['1000'],\n 'fill-warning-weak': primativeColours.amber.light['50'],\n 'fill-success-strong': primativeColours.green.light['1000'],\n 'fill-success-weak': primativeColours.green.light['50'],\n 'fill-ai-strong': primativeColours.purple.light['1000'],\n 'fill-ai-weak': primativeColours.purple.light['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['0'],\n 'fill-inverse-weak': primativeColours.grey.dark['50'],\n 'fill-inverse-hover': primativeColours.grey.dark['50'],\n 'fill-inverse-press': primativeColours.grey.dark['100'],\n 'fill-inverse-disabled': primativeColours.grey.dark['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['1000'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['0'],\n 'background-raised': primativeColours.solid.grey['0'],\n 'background-overlay': primativeColours.solid.grey['0'],\n 'background-sunken': primativeColours.solid.grey['50'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.light['1000'],\n 'background-secondary': primativeColours.secondary.light['1000'],\n 'background-tertiary': primativeColours.tertiary.light['1000'],\n 'background-inverse': primativeColours.solid.grey['900'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n\nexport const darkColours = {\n mode: 'dark',\n background: {\n default: primativeColours.solid.grey['900'],\n },\n\n // Status colours\n success: {\n main: primativeColours.green.dark['1000'],\n },\n error: {\n main: primativeColours.red.dark['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.dark['1000'],\n 'text-weak': primativeColours.grey.dark['700'],\n 'text-primary': primativeColours.primary.dark['1000'],\n 'text-disabled': primativeColours.grey.dark['100'],\n 'text-error': primativeColours.red.dark['1000'],\n 'text-warning': primativeColours.amber.dark['1000'],\n 'text-success': primativeColours.green.dark['1000'],\n 'text-ai': primativeColours.purple.dark['1000'],\n 'text-inverse-strong': primativeColours.grey.light['1000'],\n 'text-inverse-weak': primativeColours.grey.light['700'],\n 'text-inverse-disabled': primativeColours.grey.light['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.dark['500'],\n 'stroke-weak': primativeColours.grey.dark['100'],\n 'stroke-selected': primativeColours.primary.dark['1000'],\n 'stroke-focus': primativeColours.primary.dark['1000'],\n 'stroke-disabled': primativeColours.grey.dark['100'],\n 'stroke-primary-strong': primativeColours.primary.dark['800'],\n 'stroke-primary-weak': primativeColours.primary.dark['200'],\n 'stroke-secondary': primativeColours.secondary.dark['1000'],\n 'stroke-tertiary': primativeColours.tertiary.dark['1000'],\n 'stroke-error-strong': primativeColours.red.dark['800'],\n 'stroke-error-weak': primativeColours.red.dark['200'],\n 'stroke-warning-strong': primativeColours.amber.dark['800'],\n 'stroke-warning-weak': primativeColours.amber.dark['200'],\n 'stroke-success-strong': primativeColours.green.dark['800'],\n 'stroke-success-weak': primativeColours.green.dark['200'],\n 'stroke-ai-strong': primativeColours.purple.dark['800'],\n 'stroke-ai-weak': primativeColours.purple.dark['200'],\n 'stroke-inverse-strong': primativeColours.grey.light['500'],\n 'stroke-inverse-weak': primativeColours.grey.light['100'],\n 'stroke-inverse-disabled': primativeColours.grey.light['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.dark['500'],\n 'icon-primary': primativeColours.primary.dark['800'],\n 'icon-disabled': primativeColours.grey.dark['100'],\n 'icon-error': primativeColours.red.dark['800'],\n 'icon-warning': primativeColours.amber.dark['800'],\n 'icon-success': primativeColours.green.dark['800'],\n 'icon-ai': primativeColours.purple.dark['800'],\n 'icon-inverse': primativeColours.grey.light['500'],\n 'icon-inverse-strong': primativeColours.grey.light['1000'],\n 'icon-inverse-disabled': primativeColours.grey.light['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.dark['1000'],\n 'fill-weak': primativeColours.grey.dark['50'],\n 'fill-weaker': primativeColours.grey.dark['25'],\n 'fill-hover': primativeColours.grey.dark['50'],\n 'fill-press': primativeColours.grey.dark['100'],\n 'fill-selected': primativeColours.primary.dark['1000'],\n 'fill-disabled': primativeColours.grey.dark['100'],\n 'fill-overlay': primativeColours.grey.dark['500'],\n 'fill-primary-strong': primativeColours.primary.dark['1000'],\n 'fill-primary-weak': primativeColours.primary.dark['50'],\n 'fill-secondary': primativeColours.secondary.dark['1000'],\n 'fill-tertiary': primativeColours.tertiary.dark['1000'],\n 'fill-error-strong': primativeColours.red.dark['1000'],\n 'fill-error-weak': primativeColours.red.dark['50'],\n 'fill-warning-strong': primativeColours.amber.dark['1000'],\n 'fill-warning-weak': primativeColours.amber.dark['50'],\n 'fill-success-strong': primativeColours.green.dark['1000'],\n 'fill-success-weak': primativeColours.green.dark['50'],\n 'fill-ai-strong': primativeColours.purple.dark['1000'],\n 'fill-ai-weak': primativeColours.purple.dark['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['900'],\n 'fill-inverse-weak': primativeColours.grey.light['50'],\n 'fill-inverse-hover': primativeColours.grey.light['50'],\n 'fill-inverse-press': primativeColours.grey.light['100'],\n 'fill-inverse-disabled': primativeColours.grey.light['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['0'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['900'],\n 'background-raised': primativeColours.solid.grey['850'],\n 'background-overlay': primativeColours.solid.grey['800'],\n 'background-sunken': primativeColours.solid.grey['1000'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.dark['1000'],\n 'background-secondary': primativeColours.secondary.dark['1000'],\n 'background-tertiary': primativeColours.tertiary.dark['1000'],\n 'background-inverse': primativeColours.solid.grey['0'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n"],"names":["lightColours","mode","success","main","primativeColours","green","light","error","red","warning","solid","yellow","semantic","text","grey","primary","amber","purple","dark","stroke","secondary","tertiary","icon","fill","lightGrey","lime","pink","background","shadow","greyShadow","darkColours","default"],"mappings":"kDAIO,MAAMA,EAAe,CAC1BC,KAAM,QAENC,QAAS,CACPC,KAAMC,EAAAA,iBAAiBC,MAAMC,MAAM,MAErCC,MAAO,CACLJ,KAAMC,EAAAA,iBAAiBI,IAAIF,MAAM,MAEnCG,QAAS,CACPN,KAAMC,EAAAA,iBAAiBM,MAAMC,OAAO,MAGtCC,SAAU,CACRC,KAAM,CACJ,cAAeT,EAAAA,iBAAiBU,KAAKR,MAAM,KAC3C,YAAaF,EAAAA,iBAAiBU,KAAKR,MAAM,KACzC,eAAgBF,EAAAA,iBAAiBW,QAAQT,MAAM,KAC/C,gBAAiBF,EAAAA,iBAAiBU,KAAKR,MAAM,KAC7C,aAAcF,EAAAA,iBAAiBI,IAAIF,MAAM,KACzC,eAAgBF,EAAAA,iBAAiBY,MAAMV,MAAM,KAC7C,eAAgBF,EAAAA,iBAAiBC,MAAMC,MAAM,KAC7C,UAAWF,EAAAA,iBAAiBa,OAAOX,MAAM,KACzC,sBAAuBF,EAAAA,iBAAiBU,KAAKI,KAAK,KAClD,oBAAqBd,EAAAA,iBAAiBU,KAAKI,KAAK,KAChD,wBAAyBd,EAAAA,iBAAiBU,KAAKI,KAAK,MAEt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B,SAASH,KAAK,KACtD,qBAAsBd,EAAAA,iBAAiBM,MAAMI,KAAK,IAEpDc,OAAQ,CACN,gBAAiBxB,EAAAA,iBAAiByB,WAAW,KAC7C,cAAezB,EAAAA,iBAAiByB,WAAW"}
@@ -18,7 +18,7 @@ declare const lightColours: {
18
18
  readonly 'text-error': string;
19
19
  readonly 'text-warning': string;
20
20
  readonly 'text-success': string;
21
- readonly 'text-information': string;
21
+ readonly 'text-ai': string;
22
22
  readonly 'text-inverse-strong': string;
23
23
  readonly 'text-inverse-weak': string;
24
24
  readonly 'text-inverse-disabled': string;
@@ -39,8 +39,7 @@ declare const lightColours: {
39
39
  readonly 'stroke-warning-weak': string;
40
40
  readonly 'stroke-success-strong': string;
41
41
  readonly 'stroke-success-weak': string;
42
- readonly 'stroke-information-strong': string;
43
- readonly 'stroke-information-weak': string;
42
+ readonly 'stroke-ai-strong': string;
44
43
  readonly 'stroke-ai-weak': string;
45
44
  readonly 'stroke-inverse-strong': string;
46
45
  readonly 'stroke-inverse-weak': string;
@@ -53,7 +52,6 @@ declare const lightColours: {
53
52
  readonly 'icon-error': string;
54
53
  readonly 'icon-warning': string;
55
54
  readonly 'icon-success': string;
56
- readonly 'icon-information': string;
57
55
  readonly 'icon-ai': string;
58
56
  readonly 'icon-inverse': string;
59
57
  readonly 'icon-inverse-strong': string;
@@ -78,8 +76,7 @@ declare const lightColours: {
78
76
  readonly 'fill-warning-weak': string;
79
77
  readonly 'fill-success-strong': string;
80
78
  readonly 'fill-success-weak': string;
81
- readonly 'fill-information-strong': string;
82
- readonly 'fill-information-weak': string;
79
+ readonly 'fill-ai-strong': string;
83
80
  readonly 'fill-ai-weak': string;
84
81
  readonly 'fill-inverse-strong': string;
85
82
  readonly 'fill-inverse-weak': string;
@@ -134,7 +131,7 @@ declare const darkColours: {
134
131
  readonly 'text-error': string;
135
132
  readonly 'text-warning': string;
136
133
  readonly 'text-success': string;
137
- readonly 'text-information': string;
134
+ readonly 'text-ai': string;
138
135
  readonly 'text-inverse-strong': string;
139
136
  readonly 'text-inverse-weak': string;
140
137
  readonly 'text-inverse-disabled': string;
@@ -155,8 +152,7 @@ declare const darkColours: {
155
152
  readonly 'stroke-warning-weak': string;
156
153
  readonly 'stroke-success-strong': string;
157
154
  readonly 'stroke-success-weak': string;
158
- readonly 'stroke-information-strong': string;
159
- readonly 'stroke-information-weak': string;
155
+ readonly 'stroke-ai-strong': string;
160
156
  readonly 'stroke-ai-weak': string;
161
157
  readonly 'stroke-inverse-strong': string;
162
158
  readonly 'stroke-inverse-weak': string;
@@ -169,7 +165,6 @@ declare const darkColours: {
169
165
  readonly 'icon-error': string;
170
166
  readonly 'icon-warning': string;
171
167
  readonly 'icon-success': string;
172
- readonly 'icon-information': string;
173
168
  readonly 'icon-ai': string;
174
169
  readonly 'icon-inverse': string;
175
170
  readonly 'icon-inverse-strong': string;
@@ -194,8 +189,7 @@ declare const darkColours: {
194
189
  readonly 'fill-warning-weak': string;
195
190
  readonly 'fill-success-strong': string;
196
191
  readonly 'fill-success-weak': string;
197
- readonly 'fill-information-strong': string;
198
- readonly 'fill-information-weak': string;
192
+ readonly 'fill-ai-strong': string;
199
193
  readonly 'fill-ai-weak': string;
200
194
  readonly 'fill-inverse-strong': string;
201
195
  readonly 'fill-inverse-weak': string;
@@ -1,2 +1,2 @@
1
- import{primativeColours as r}from"./primitives.js";const e={mode:"light",success:{main:r.green.light[1e3]},error:{main:r.red.light[1e3]},warning:{main:r.solid.yellow[1e3]},semantic:{text:{"text-strong":r.grey.light[1e3],"text-weak":r.grey.light[700],"text-primary":r.primary.light[1e3],"text-disabled":r.grey.light[100],"text-error":r.red.light[1e3],"text-warning":r.amber.light[1e3],"text-success":r.green.light[1e3],"text-information":r.purple.light[1e3],"text-inverse-strong":r.grey.dark[1e3],"text-inverse-weak":r.grey.dark[700],"text-inverse-disabled":r.grey.dark[100]},stroke:{"stroke-strong":r.grey.light[500],"stroke-weak":r.grey.light[100],"stroke-selected":r.primary.light[1e3],"stroke-focus":r.primary.light[1e3],"stroke-disabled":r.grey.light[100],"stroke-primary-strong":r.primary.light[800],"stroke-primary-weak":r.primary.light[200],"stroke-secondary":r.secondary.light[1e3],"stroke-tertiary":r.tertiary.light[1e3],"stroke-error-strong":r.red.light[800],"stroke-error-weak":r.red.light[200],"stroke-warning-strong":r.amber.light[800],"stroke-warning-weak":r.amber.light[200],"stroke-success-strong":r.green.light[800],"stroke-success-weak":r.green.light[200],"stroke-information-strong":r.purple.light[800],"stroke-information-weak":r.purple.light[200],"stroke-ai-weak":r.purple.light[200],"stroke-inverse-strong":r.grey.dark[500],"stroke-inverse-weak":r.grey.dark[100],"stroke-inverse-disabled":r.grey.dark[100]},icon:{"icon-strong":r.grey.light[500],"icon-primary":r.primary.light[800],"icon-disabled":r.grey.light[100],"icon-error":r.red.light[800],"icon-warning":r.amber.light[800],"icon-success":r.green.light[800],"icon-information":r.purple.light[800],"icon-ai":r.purple.light[800],"icon-inverse":r.grey.dark[500],"icon-inverse-strong":r.grey.dark[1e3],"icon-inverse-disabled":r.grey.dark[100]},fill:{"fill-strong":r.grey.light[1e3],"fill-weak":r.grey.light[50],"fill-weaker":r.grey.light[25],"fill-hover":r.grey.light[50],"fill-press":r.grey.light[100],"fill-selected":r.primary.light[1e3],"fill-disabled":r.grey.light[100],"fill-overlay":r.grey.light[500],"fill-primary-strong":r.primary.light[1e3],"fill-primary-weak":r.primary.light[50],"fill-secondary":r.secondary.light[1e3],"fill-tertiary":r.tertiary.light[1e3],"fill-error-strong":r.red.light[1e3],"fill-error-weak":r.red.light[50],"fill-warning-strong":r.amber.light[1e3],"fill-warning-weak":r.amber.light[50],"fill-success-strong":r.green.light[1e3],"fill-success-weak":r.green.light[50],"fill-information-strong":r.purple.light[1e3],"fill-information-weak":r.purple.light[50],"fill-ai-weak":r.purple.light[50],"fill-inverse-strong":r.solid.grey[0],"fill-inverse-weak":r.grey.dark[50],"fill-inverse-hover":r.grey.dark[50],"fill-inverse-press":r.grey.dark[100],"fill-inverse-disabled":r.grey.dark[100],"fill-flipdishlogo":r.solid.grey[1e3],"fill-black":r.solid.grey[1e3],"fill-white":r.solid.grey[0],"fill-yellow":r.solid.yellow[1e3],"fill-lightgrey":r.solid.lightGrey[1e3],"fill-lime":r.solid.lime[1e3],"fill-pink":r.solid.pink[1e3]},background:{"background-base":r.solid.grey[0],"background-raised":r.solid.grey[0],"background-overlay":r.solid.grey[0],"background-sunken":r.solid.grey[50],"background-alternate":r.solid.lightGrey[1e3],"background-primary":r.primary.light[1e3],"background-secondary":r.secondary.light[1e3],"background-tertiary":r.tertiary.light[1e3],"background-inverse":r.solid.grey[900]},shadow:{"shadow-strong":r.greyShadow[150],"shadow-weak":r.greyShadow[100]}}},i={mode:"dark",background:{default:r.solid.grey[900]},success:{main:r.green.dark[1e3]},error:{main:r.red.dark[1e3]},warning:{main:r.solid.yellow[1e3]},semantic:{text:{"text-strong":r.grey.dark[1e3],"text-weak":r.grey.dark[700],"text-primary":r.primary.dark[1e3],"text-disabled":r.grey.dark[100],"text-error":r.red.dark[1e3],"text-warning":r.amber.dark[1e3],"text-success":r.green.dark[1e3],"text-information":r.purple.dark[1e3],"text-inverse-strong":r.grey.light[1e3],"text-inverse-weak":r.grey.light[700],"text-inverse-disabled":r.grey.light[100]},stroke:{"stroke-strong":r.grey.dark[500],"stroke-weak":r.grey.dark[100],"stroke-selected":r.primary.dark[1e3],"stroke-focus":r.primary.dark[1e3],"stroke-disabled":r.grey.dark[100],"stroke-primary-strong":r.primary.dark[800],"stroke-primary-weak":r.primary.dark[200],"stroke-secondary":r.secondary.dark[1e3],"stroke-tertiary":r.tertiary.dark[1e3],"stroke-error-strong":r.red.dark[800],"stroke-error-weak":r.red.dark[200],"stroke-warning-strong":r.amber.dark[800],"stroke-warning-weak":r.amber.dark[200],"stroke-success-strong":r.green.dark[800],"stroke-success-weak":r.green.dark[200],"stroke-information-strong":r.purple.dark[800],"stroke-information-weak":r.purple.dark[200],"stroke-ai-weak":r.purple.dark[200],"stroke-inverse-strong":r.grey.light[500],"stroke-inverse-weak":r.grey.light[100],"stroke-inverse-disabled":r.grey.light[100]},icon:{"icon-strong":r.grey.dark[500],"icon-primary":r.primary.dark[800],"icon-disabled":r.grey.dark[100],"icon-error":r.red.dark[800],"icon-warning":r.amber.dark[800],"icon-success":r.green.dark[800],"icon-information":r.purple.dark[800],"icon-ai":r.purple.dark[800],"icon-inverse":r.grey.light[500],"icon-inverse-strong":r.grey.light[1e3],"icon-inverse-disabled":r.grey.light[100]},fill:{"fill-strong":r.grey.dark[1e3],"fill-weak":r.grey.dark[50],"fill-weaker":r.grey.dark[25],"fill-hover":r.grey.dark[50],"fill-press":r.grey.dark[100],"fill-selected":r.primary.dark[1e3],"fill-disabled":r.grey.dark[100],"fill-overlay":r.grey.dark[500],"fill-primary-strong":r.primary.dark[1e3],"fill-primary-weak":r.primary.dark[50],"fill-secondary":r.secondary.dark[1e3],"fill-tertiary":r.tertiary.dark[1e3],"fill-error-strong":r.red.dark[1e3],"fill-error-weak":r.red.dark[50],"fill-warning-strong":r.amber.dark[1e3],"fill-warning-weak":r.amber.dark[50],"fill-success-strong":r.green.dark[1e3],"fill-success-weak":r.green.dark[50],"fill-information-strong":r.purple.dark[1e3],"fill-information-weak":r.purple.dark[50],"fill-ai-weak":r.purple.dark[50],"fill-inverse-strong":r.solid.grey[900],"fill-inverse-weak":r.grey.light[50],"fill-inverse-hover":r.grey.light[50],"fill-inverse-press":r.grey.light[100],"fill-inverse-disabled":r.grey.light[100],"fill-flipdishlogo":r.solid.grey[0],"fill-black":r.solid.grey[1e3],"fill-white":r.solid.grey[0],"fill-yellow":r.solid.yellow[1e3],"fill-lightgrey":r.solid.lightGrey[1e3],"fill-lime":r.solid.lime[1e3],"fill-pink":r.solid.pink[1e3]},background:{"background-base":r.solid.grey[900],"background-raised":r.solid.grey[850],"background-overlay":r.solid.grey[800],"background-sunken":r.solid.grey[1e3],"background-alternate":r.solid.lightGrey[1e3],"background-primary":r.primary.dark[1e3],"background-secondary":r.secondary.dark[1e3],"background-tertiary":r.tertiary.dark[1e3],"background-inverse":r.solid.grey[0]},shadow:{"shadow-strong":r.greyShadow[150],"shadow-weak":r.greyShadow[100]}}};export{i as darkColours,e as lightColours};
1
+ import{primativeColours as r}from"./primitives.js";const e={mode:"light",success:{main:r.green.light[1e3]},error:{main:r.red.light[1e3]},warning:{main:r.solid.yellow[1e3]},semantic:{text:{"text-strong":r.grey.light[1e3],"text-weak":r.grey.light[700],"text-primary":r.primary.light[1e3],"text-disabled":r.grey.light[100],"text-error":r.red.light[1e3],"text-warning":r.amber.light[1e3],"text-success":r.green.light[1e3],"text-ai":r.purple.light[1e3],"text-inverse-strong":r.grey.dark[1e3],"text-inverse-weak":r.grey.dark[700],"text-inverse-disabled":r.grey.dark[100]},stroke:{"stroke-strong":r.grey.light[500],"stroke-weak":r.grey.light[100],"stroke-selected":r.primary.light[1e3],"stroke-focus":r.primary.light[1e3],"stroke-disabled":r.grey.light[100],"stroke-primary-strong":r.primary.light[800],"stroke-primary-weak":r.primary.light[200],"stroke-secondary":r.secondary.light[1e3],"stroke-tertiary":r.tertiary.light[1e3],"stroke-error-strong":r.red.light[800],"stroke-error-weak":r.red.light[200],"stroke-warning-strong":r.amber.light[800],"stroke-warning-weak":r.amber.light[200],"stroke-success-strong":r.green.light[800],"stroke-success-weak":r.green.light[200],"stroke-ai-strong":r.purple.light[800],"stroke-ai-weak":r.purple.light[200],"stroke-inverse-strong":r.grey.dark[500],"stroke-inverse-weak":r.grey.dark[100],"stroke-inverse-disabled":r.grey.dark[100]},icon:{"icon-strong":r.grey.light[500],"icon-primary":r.primary.light[800],"icon-disabled":r.grey.light[100],"icon-error":r.red.light[800],"icon-warning":r.amber.light[800],"icon-success":r.green.light[800],"icon-ai":r.purple.light[800],"icon-inverse":r.grey.dark[500],"icon-inverse-strong":r.grey.dark[1e3],"icon-inverse-disabled":r.grey.dark[100]},fill:{"fill-strong":r.grey.light[1e3],"fill-weak":r.grey.light[50],"fill-weaker":r.grey.light[25],"fill-hover":r.grey.light[50],"fill-press":r.grey.light[100],"fill-selected":r.primary.light[1e3],"fill-disabled":r.grey.light[100],"fill-overlay":r.grey.light[500],"fill-primary-strong":r.primary.light[1e3],"fill-primary-weak":r.primary.light[50],"fill-secondary":r.secondary.light[1e3],"fill-tertiary":r.tertiary.light[1e3],"fill-error-strong":r.red.light[1e3],"fill-error-weak":r.red.light[50],"fill-warning-strong":r.amber.light[1e3],"fill-warning-weak":r.amber.light[50],"fill-success-strong":r.green.light[1e3],"fill-success-weak":r.green.light[50],"fill-ai-strong":r.purple.light[1e3],"fill-ai-weak":r.purple.light[50],"fill-inverse-strong":r.solid.grey[0],"fill-inverse-weak":r.grey.dark[50],"fill-inverse-hover":r.grey.dark[50],"fill-inverse-press":r.grey.dark[100],"fill-inverse-disabled":r.grey.dark[100],"fill-flipdishlogo":r.solid.grey[1e3],"fill-black":r.solid.grey[1e3],"fill-white":r.solid.grey[0],"fill-yellow":r.solid.yellow[1e3],"fill-lightgrey":r.solid.lightGrey[1e3],"fill-lime":r.solid.lime[1e3],"fill-pink":r.solid.pink[1e3]},background:{"background-base":r.solid.grey[0],"background-raised":r.solid.grey[0],"background-overlay":r.solid.grey[0],"background-sunken":r.solid.grey[50],"background-alternate":r.solid.lightGrey[1e3],"background-primary":r.primary.light[1e3],"background-secondary":r.secondary.light[1e3],"background-tertiary":r.tertiary.light[1e3],"background-inverse":r.solid.grey[900]},shadow:{"shadow-strong":r.greyShadow[150],"shadow-weak":r.greyShadow[100]}}},i={mode:"dark",background:{default:r.solid.grey[900]},success:{main:r.green.dark[1e3]},error:{main:r.red.dark[1e3]},warning:{main:r.solid.yellow[1e3]},semantic:{text:{"text-strong":r.grey.dark[1e3],"text-weak":r.grey.dark[700],"text-primary":r.primary.dark[1e3],"text-disabled":r.grey.dark[100],"text-error":r.red.dark[1e3],"text-warning":r.amber.dark[1e3],"text-success":r.green.dark[1e3],"text-ai":r.purple.dark[1e3],"text-inverse-strong":r.grey.light[1e3],"text-inverse-weak":r.grey.light[700],"text-inverse-disabled":r.grey.light[100]},stroke:{"stroke-strong":r.grey.dark[500],"stroke-weak":r.grey.dark[100],"stroke-selected":r.primary.dark[1e3],"stroke-focus":r.primary.dark[1e3],"stroke-disabled":r.grey.dark[100],"stroke-primary-strong":r.primary.dark[800],"stroke-primary-weak":r.primary.dark[200],"stroke-secondary":r.secondary.dark[1e3],"stroke-tertiary":r.tertiary.dark[1e3],"stroke-error-strong":r.red.dark[800],"stroke-error-weak":r.red.dark[200],"stroke-warning-strong":r.amber.dark[800],"stroke-warning-weak":r.amber.dark[200],"stroke-success-strong":r.green.dark[800],"stroke-success-weak":r.green.dark[200],"stroke-ai-strong":r.purple.dark[800],"stroke-ai-weak":r.purple.dark[200],"stroke-inverse-strong":r.grey.light[500],"stroke-inverse-weak":r.grey.light[100],"stroke-inverse-disabled":r.grey.light[100]},icon:{"icon-strong":r.grey.dark[500],"icon-primary":r.primary.dark[800],"icon-disabled":r.grey.dark[100],"icon-error":r.red.dark[800],"icon-warning":r.amber.dark[800],"icon-success":r.green.dark[800],"icon-ai":r.purple.dark[800],"icon-inverse":r.grey.light[500],"icon-inverse-strong":r.grey.light[1e3],"icon-inverse-disabled":r.grey.light[100]},fill:{"fill-strong":r.grey.dark[1e3],"fill-weak":r.grey.dark[50],"fill-weaker":r.grey.dark[25],"fill-hover":r.grey.dark[50],"fill-press":r.grey.dark[100],"fill-selected":r.primary.dark[1e3],"fill-disabled":r.grey.dark[100],"fill-overlay":r.grey.dark[500],"fill-primary-strong":r.primary.dark[1e3],"fill-primary-weak":r.primary.dark[50],"fill-secondary":r.secondary.dark[1e3],"fill-tertiary":r.tertiary.dark[1e3],"fill-error-strong":r.red.dark[1e3],"fill-error-weak":r.red.dark[50],"fill-warning-strong":r.amber.dark[1e3],"fill-warning-weak":r.amber.dark[50],"fill-success-strong":r.green.dark[1e3],"fill-success-weak":r.green.dark[50],"fill-ai-strong":r.purple.dark[1e3],"fill-ai-weak":r.purple.dark[50],"fill-inverse-strong":r.solid.grey[900],"fill-inverse-weak":r.grey.light[50],"fill-inverse-hover":r.grey.light[50],"fill-inverse-press":r.grey.light[100],"fill-inverse-disabled":r.grey.light[100],"fill-flipdishlogo":r.solid.grey[0],"fill-black":r.solid.grey[1e3],"fill-white":r.solid.grey[0],"fill-yellow":r.solid.yellow[1e3],"fill-lightgrey":r.solid.lightGrey[1e3],"fill-lime":r.solid.lime[1e3],"fill-pink":r.solid.pink[1e3]},background:{"background-base":r.solid.grey[900],"background-raised":r.solid.grey[850],"background-overlay":r.solid.grey[800],"background-sunken":r.solid.grey[1e3],"background-alternate":r.solid.lightGrey[1e3],"background-primary":r.primary.dark[1e3],"background-secondary":r.secondary.dark[1e3],"background-tertiary":r.tertiary.dark[1e3],"background-inverse":r.solid.grey[0]},shadow:{"shadow-strong":r.greyShadow[150],"shadow-weak":r.greyShadow[100]}}};export{i as darkColours,e as lightColours};
2
2
  //# sourceMappingURL=semantic.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"semantic.js","sources":["../../../../src/themes/tokens/colours/semantic.ts"],"sourcesContent":["import type { ThemeOptions } from '@mui/material/styles/createTheme';\n\nimport { primativeColours } from './primitives';\n\nexport const lightColours = {\n mode: 'light',\n // Status colours\n success: {\n main: primativeColours.green.light['1000'],\n },\n error: {\n main: primativeColours.red.light['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.light['1000'],\n 'text-weak': primativeColours.grey.light['700'],\n 'text-primary': primativeColours.primary.light['1000'],\n 'text-disabled': primativeColours.grey.light['100'],\n 'text-error': primativeColours.red.light['1000'],\n 'text-warning': primativeColours.amber.light['1000'],\n 'text-success': primativeColours.green.light['1000'],\n 'text-information': primativeColours.purple.light['1000'],\n 'text-inverse-strong': primativeColours.grey.dark['1000'],\n 'text-inverse-weak': primativeColours.grey.dark['700'],\n 'text-inverse-disabled': primativeColours.grey.dark['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.light['500'],\n 'stroke-weak': primativeColours.grey.light['100'],\n 'stroke-selected': primativeColours.primary.light['1000'],\n 'stroke-focus': primativeColours.primary.light['1000'],\n 'stroke-disabled': primativeColours.grey.light['100'],\n 'stroke-primary-strong': primativeColours.primary.light['800'],\n 'stroke-primary-weak': primativeColours.primary.light['200'],\n 'stroke-secondary': primativeColours.secondary.light['1000'],\n 'stroke-tertiary': primativeColours.tertiary.light['1000'],\n 'stroke-error-strong': primativeColours.red.light['800'],\n 'stroke-error-weak': primativeColours.red.light['200'],\n 'stroke-warning-strong': primativeColours.amber.light['800'],\n 'stroke-warning-weak': primativeColours.amber.light['200'],\n 'stroke-success-strong': primativeColours.green.light['800'],\n 'stroke-success-weak': primativeColours.green.light['200'],\n 'stroke-information-strong': primativeColours.purple.light['800'],\n 'stroke-information-weak': primativeColours.purple.light['200'],\n 'stroke-ai-weak': primativeColours.purple.light['200'],\n 'stroke-inverse-strong': primativeColours.grey.dark['500'],\n 'stroke-inverse-weak': primativeColours.grey.dark['100'],\n 'stroke-inverse-disabled': primativeColours.grey.dark['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.light['500'],\n 'icon-primary': primativeColours.primary.light['800'],\n 'icon-disabled': primativeColours.grey.light['100'],\n 'icon-error': primativeColours.red.light['800'],\n 'icon-warning': primativeColours.amber.light['800'],\n 'icon-success': primativeColours.green.light['800'],\n 'icon-information': primativeColours.purple.light['800'],\n 'icon-ai': primativeColours.purple.light['800'],\n 'icon-inverse': primativeColours.grey.dark['500'],\n 'icon-inverse-strong': primativeColours.grey.dark['1000'],\n 'icon-inverse-disabled': primativeColours.grey.dark['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.light['1000'],\n 'fill-weak': primativeColours.grey.light['50'],\n 'fill-weaker': primativeColours.grey.light['25'],\n 'fill-hover': primativeColours.grey.light['50'],\n 'fill-press': primativeColours.grey.light['100'],\n 'fill-selected': primativeColours.primary.light['1000'],\n 'fill-disabled': primativeColours.grey.light['100'],\n 'fill-overlay': primativeColours.grey.light['500'],\n 'fill-primary-strong': primativeColours.primary.light['1000'],\n 'fill-primary-weak': primativeColours.primary.light['50'],\n 'fill-secondary': primativeColours.secondary.light['1000'],\n 'fill-tertiary': primativeColours.tertiary.light['1000'],\n 'fill-error-strong': primativeColours.red.light['1000'],\n 'fill-error-weak': primativeColours.red.light['50'],\n 'fill-warning-strong': primativeColours.amber.light['1000'],\n 'fill-warning-weak': primativeColours.amber.light['50'],\n 'fill-success-strong': primativeColours.green.light['1000'],\n 'fill-success-weak': primativeColours.green.light['50'],\n 'fill-information-strong': primativeColours.purple.light['1000'],\n 'fill-information-weak': primativeColours.purple.light['50'],\n 'fill-ai-weak': primativeColours.purple.light['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['0'],\n 'fill-inverse-weak': primativeColours.grey.dark['50'],\n 'fill-inverse-hover': primativeColours.grey.dark['50'],\n 'fill-inverse-press': primativeColours.grey.dark['100'],\n 'fill-inverse-disabled': primativeColours.grey.dark['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['1000'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['0'],\n 'background-raised': primativeColours.solid.grey['0'],\n 'background-overlay': primativeColours.solid.grey['0'],\n 'background-sunken': primativeColours.solid.grey['50'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.light['1000'],\n 'background-secondary': primativeColours.secondary.light['1000'],\n 'background-tertiary': primativeColours.tertiary.light['1000'],\n 'background-inverse': primativeColours.solid.grey['900'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n\nexport const darkColours = {\n mode: 'dark',\n background: {\n default: primativeColours.solid.grey['900'],\n },\n\n // Status colours\n success: {\n main: primativeColours.green.dark['1000'],\n },\n error: {\n main: primativeColours.red.dark['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.dark['1000'],\n 'text-weak': primativeColours.grey.dark['700'],\n 'text-primary': primativeColours.primary.dark['1000'],\n 'text-disabled': primativeColours.grey.dark['100'],\n 'text-error': primativeColours.red.dark['1000'],\n 'text-warning': primativeColours.amber.dark['1000'],\n 'text-success': primativeColours.green.dark['1000'],\n 'text-information': primativeColours.purple.dark['1000'],\n 'text-inverse-strong': primativeColours.grey.light['1000'],\n 'text-inverse-weak': primativeColours.grey.light['700'],\n 'text-inverse-disabled': primativeColours.grey.light['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.dark['500'],\n 'stroke-weak': primativeColours.grey.dark['100'],\n 'stroke-selected': primativeColours.primary.dark['1000'],\n 'stroke-focus': primativeColours.primary.dark['1000'],\n 'stroke-disabled': primativeColours.grey.dark['100'],\n 'stroke-primary-strong': primativeColours.primary.dark['800'],\n 'stroke-primary-weak': primativeColours.primary.dark['200'],\n 'stroke-secondary': primativeColours.secondary.dark['1000'],\n 'stroke-tertiary': primativeColours.tertiary.dark['1000'],\n 'stroke-error-strong': primativeColours.red.dark['800'],\n 'stroke-error-weak': primativeColours.red.dark['200'],\n 'stroke-warning-strong': primativeColours.amber.dark['800'],\n 'stroke-warning-weak': primativeColours.amber.dark['200'],\n 'stroke-success-strong': primativeColours.green.dark['800'],\n 'stroke-success-weak': primativeColours.green.dark['200'],\n 'stroke-information-strong': primativeColours.purple.dark['800'],\n 'stroke-information-weak': primativeColours.purple.dark['200'],\n 'stroke-ai-weak': primativeColours.purple.dark['200'],\n 'stroke-inverse-strong': primativeColours.grey.light['500'],\n 'stroke-inverse-weak': primativeColours.grey.light['100'],\n 'stroke-inverse-disabled': primativeColours.grey.light['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.dark['500'],\n 'icon-primary': primativeColours.primary.dark['800'],\n 'icon-disabled': primativeColours.grey.dark['100'],\n 'icon-error': primativeColours.red.dark['800'],\n 'icon-warning': primativeColours.amber.dark['800'],\n 'icon-success': primativeColours.green.dark['800'],\n 'icon-information': primativeColours.purple.dark['800'],\n 'icon-ai': primativeColours.purple.dark['800'],\n 'icon-inverse': primativeColours.grey.light['500'],\n 'icon-inverse-strong': primativeColours.grey.light['1000'],\n 'icon-inverse-disabled': primativeColours.grey.light['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.dark['1000'],\n 'fill-weak': primativeColours.grey.dark['50'],\n 'fill-weaker': primativeColours.grey.dark['25'],\n 'fill-hover': primativeColours.grey.dark['50'],\n 'fill-press': primativeColours.grey.dark['100'],\n 'fill-selected': primativeColours.primary.dark['1000'],\n 'fill-disabled': primativeColours.grey.dark['100'],\n 'fill-overlay': primativeColours.grey.dark['500'],\n 'fill-primary-strong': primativeColours.primary.dark['1000'],\n 'fill-primary-weak': primativeColours.primary.dark['50'],\n 'fill-secondary': primativeColours.secondary.dark['1000'],\n 'fill-tertiary': primativeColours.tertiary.dark['1000'],\n 'fill-error-strong': primativeColours.red.dark['1000'],\n 'fill-error-weak': primativeColours.red.dark['50'],\n 'fill-warning-strong': primativeColours.amber.dark['1000'],\n 'fill-warning-weak': primativeColours.amber.dark['50'],\n 'fill-success-strong': primativeColours.green.dark['1000'],\n 'fill-success-weak': primativeColours.green.dark['50'],\n 'fill-information-strong': primativeColours.purple.dark['1000'],\n 'fill-information-weak': primativeColours.purple.dark['50'],\n 'fill-ai-weak': primativeColours.purple.dark['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['900'],\n 'fill-inverse-weak': primativeColours.grey.light['50'],\n 'fill-inverse-hover': primativeColours.grey.light['50'],\n 'fill-inverse-press': primativeColours.grey.light['100'],\n 'fill-inverse-disabled': primativeColours.grey.light['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['0'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['900'],\n 'background-raised': primativeColours.solid.grey['850'],\n 'background-overlay': primativeColours.solid.grey['800'],\n 'background-sunken': primativeColours.solid.grey['1000'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.dark['1000'],\n 'background-secondary': primativeColours.secondary.dark['1000'],\n 'background-tertiary': primativeColours.tertiary.dark['1000'],\n 'background-inverse': primativeColours.solid.grey['0'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n"],"names":["lightColours","mode","success","main","primativeColours","green","light","error","red","warning","solid","yellow","semantic","text","grey","primary","amber","purple","dark","stroke","secondary","tertiary","icon","fill","lightGrey","lime","pink","background","shadow","greyShadow","darkColours","default"],"mappings":"mDAIO,MAAMA,EAAe,CAC1BC,KAAM,QAENC,QAAS,CACPC,KAAMC,EAAiBC,MAAMC,MAAM,MAErCC,MAAO,CACLJ,KAAMC,EAAiBI,IAAIF,MAAM,MAEnCG,QAAS,CACPN,KAAMC,EAAiBM,MAAMC,OAAO,MAGtCC,SAAU,CACRC,KAAM,CACJ,cAAeT,EAAiBU,KAAKR,MAAM,KAC3C,YAAaF,EAAiBU,KAAKR,MAAM,KACzC,eAAgBF,EAAiBW,QAAQT,MAAM,KAC/C,gBAAiBF,EAAiBU,K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C7C,iBAAkBP,EAAiBM,MAAMc,UAAU,KACnD,YAAapB,EAAiBM,MAAMe,KAAK,KACzC,YAAarB,EAAiBM,MAAMgB,KAAK,MAE3CC,WAAY,CACV,kBAAmBvB,EAAiBM,MAAMI,KAAK,KAC/C,oBAAqBV,EAAiBM,MAAMI,KAAK,KACjD,qBAAsBV,EAAiBM,MAAMI,KAAK,KAClD,oBAAqBV,EAAiBM,MAAMI,KAAK,KACjD,uBAAwBV,EAAiBM,MAAMc,UAAU,KACzD,qBAAsBpB,EAAiBW,QAAQG,KAAK,KACpD,uBAAwBd,EAAiBgB,UAAUF,KAAK,KACxD,sBAAuBd,EAAiBiB,SAASH,KAAK,KACtD,qBAAsBd,EAAiBM,MAAMI,KAAK,IAEpDc,OAAQ,CACN,gBAAiBxB,EAAiByB,WAAW,KAC7C,cAAezB,EAAiByB,WAAW"}
1
+ {"version":3,"file":"semantic.js","sources":["../../../../src/themes/tokens/colours/semantic.ts"],"sourcesContent":["import type { ThemeOptions } from '@mui/material/styles/createTheme';\n\nimport { primativeColours } from './primitives';\n\nexport const lightColours = {\n mode: 'light',\n // Status colours\n success: {\n main: primativeColours.green.light['1000'],\n },\n error: {\n main: primativeColours.red.light['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.light['1000'],\n 'text-weak': primativeColours.grey.light['700'],\n 'text-primary': primativeColours.primary.light['1000'],\n 'text-disabled': primativeColours.grey.light['100'],\n 'text-error': primativeColours.red.light['1000'],\n 'text-warning': primativeColours.amber.light['1000'],\n 'text-success': primativeColours.green.light['1000'],\n 'text-ai': primativeColours.purple.light['1000'],\n 'text-inverse-strong': primativeColours.grey.dark['1000'],\n 'text-inverse-weak': primativeColours.grey.dark['700'],\n 'text-inverse-disabled': primativeColours.grey.dark['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.light['500'],\n 'stroke-weak': primativeColours.grey.light['100'],\n 'stroke-selected': primativeColours.primary.light['1000'],\n 'stroke-focus': primativeColours.primary.light['1000'],\n 'stroke-disabled': primativeColours.grey.light['100'],\n 'stroke-primary-strong': primativeColours.primary.light['800'],\n 'stroke-primary-weak': primativeColours.primary.light['200'],\n 'stroke-secondary': primativeColours.secondary.light['1000'],\n 'stroke-tertiary': primativeColours.tertiary.light['1000'],\n 'stroke-error-strong': primativeColours.red.light['800'],\n 'stroke-error-weak': primativeColours.red.light['200'],\n 'stroke-warning-strong': primativeColours.amber.light['800'],\n 'stroke-warning-weak': primativeColours.amber.light['200'],\n 'stroke-success-strong': primativeColours.green.light['800'],\n 'stroke-success-weak': primativeColours.green.light['200'],\n 'stroke-ai-strong': primativeColours.purple.light['800'],\n 'stroke-ai-weak': primativeColours.purple.light['200'],\n 'stroke-inverse-strong': primativeColours.grey.dark['500'],\n 'stroke-inverse-weak': primativeColours.grey.dark['100'],\n 'stroke-inverse-disabled': primativeColours.grey.dark['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.light['500'],\n 'icon-primary': primativeColours.primary.light['800'],\n 'icon-disabled': primativeColours.grey.light['100'],\n 'icon-error': primativeColours.red.light['800'],\n 'icon-warning': primativeColours.amber.light['800'],\n 'icon-success': primativeColours.green.light['800'],\n 'icon-ai': primativeColours.purple.light['800'],\n 'icon-inverse': primativeColours.grey.dark['500'],\n 'icon-inverse-strong': primativeColours.grey.dark['1000'],\n 'icon-inverse-disabled': primativeColours.grey.dark['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.light['1000'],\n 'fill-weak': primativeColours.grey.light['50'],\n 'fill-weaker': primativeColours.grey.light['25'],\n 'fill-hover': primativeColours.grey.light['50'],\n 'fill-press': primativeColours.grey.light['100'],\n 'fill-selected': primativeColours.primary.light['1000'],\n 'fill-disabled': primativeColours.grey.light['100'],\n 'fill-overlay': primativeColours.grey.light['500'],\n 'fill-primary-strong': primativeColours.primary.light['1000'],\n 'fill-primary-weak': primativeColours.primary.light['50'],\n 'fill-secondary': primativeColours.secondary.light['1000'],\n 'fill-tertiary': primativeColours.tertiary.light['1000'],\n 'fill-error-strong': primativeColours.red.light['1000'],\n 'fill-error-weak': primativeColours.red.light['50'],\n 'fill-warning-strong': primativeColours.amber.light['1000'],\n 'fill-warning-weak': primativeColours.amber.light['50'],\n 'fill-success-strong': primativeColours.green.light['1000'],\n 'fill-success-weak': primativeColours.green.light['50'],\n 'fill-ai-strong': primativeColours.purple.light['1000'],\n 'fill-ai-weak': primativeColours.purple.light['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['0'],\n 'fill-inverse-weak': primativeColours.grey.dark['50'],\n 'fill-inverse-hover': primativeColours.grey.dark['50'],\n 'fill-inverse-press': primativeColours.grey.dark['100'],\n 'fill-inverse-disabled': primativeColours.grey.dark['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['1000'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['0'],\n 'background-raised': primativeColours.solid.grey['0'],\n 'background-overlay': primativeColours.solid.grey['0'],\n 'background-sunken': primativeColours.solid.grey['50'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.light['1000'],\n 'background-secondary': primativeColours.secondary.light['1000'],\n 'background-tertiary': primativeColours.tertiary.light['1000'],\n 'background-inverse': primativeColours.solid.grey['900'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n\nexport const darkColours = {\n mode: 'dark',\n background: {\n default: primativeColours.solid.grey['900'],\n },\n\n // Status colours\n success: {\n main: primativeColours.green.dark['1000'],\n },\n error: {\n main: primativeColours.red.dark['1000'],\n },\n warning: {\n main: primativeColours.solid.yellow['1000'],\n },\n // Colour tokens (semantic colours) are a way of naming and organising primitive colours based on how they're used.\n semantic: {\n text: {\n 'text-strong': primativeColours.grey.dark['1000'],\n 'text-weak': primativeColours.grey.dark['700'],\n 'text-primary': primativeColours.primary.dark['1000'],\n 'text-disabled': primativeColours.grey.dark['100'],\n 'text-error': primativeColours.red.dark['1000'],\n 'text-warning': primativeColours.amber.dark['1000'],\n 'text-success': primativeColours.green.dark['1000'],\n 'text-ai': primativeColours.purple.dark['1000'],\n 'text-inverse-strong': primativeColours.grey.light['1000'],\n 'text-inverse-weak': primativeColours.grey.light['700'],\n 'text-inverse-disabled': primativeColours.grey.light['100'],\n },\n stroke: {\n 'stroke-strong': primativeColours.grey.dark['500'],\n 'stroke-weak': primativeColours.grey.dark['100'],\n 'stroke-selected': primativeColours.primary.dark['1000'],\n 'stroke-focus': primativeColours.primary.dark['1000'],\n 'stroke-disabled': primativeColours.grey.dark['100'],\n 'stroke-primary-strong': primativeColours.primary.dark['800'],\n 'stroke-primary-weak': primativeColours.primary.dark['200'],\n 'stroke-secondary': primativeColours.secondary.dark['1000'],\n 'stroke-tertiary': primativeColours.tertiary.dark['1000'],\n 'stroke-error-strong': primativeColours.red.dark['800'],\n 'stroke-error-weak': primativeColours.red.dark['200'],\n 'stroke-warning-strong': primativeColours.amber.dark['800'],\n 'stroke-warning-weak': primativeColours.amber.dark['200'],\n 'stroke-success-strong': primativeColours.green.dark['800'],\n 'stroke-success-weak': primativeColours.green.dark['200'],\n 'stroke-ai-strong': primativeColours.purple.dark['800'],\n 'stroke-ai-weak': primativeColours.purple.dark['200'],\n 'stroke-inverse-strong': primativeColours.grey.light['500'],\n 'stroke-inverse-weak': primativeColours.grey.light['100'],\n 'stroke-inverse-disabled': primativeColours.grey.light['100'],\n },\n icon: {\n 'icon-strong': primativeColours.grey.dark['500'],\n 'icon-primary': primativeColours.primary.dark['800'],\n 'icon-disabled': primativeColours.grey.dark['100'],\n 'icon-error': primativeColours.red.dark['800'],\n 'icon-warning': primativeColours.amber.dark['800'],\n 'icon-success': primativeColours.green.dark['800'],\n 'icon-ai': primativeColours.purple.dark['800'],\n 'icon-inverse': primativeColours.grey.light['500'],\n 'icon-inverse-strong': primativeColours.grey.light['1000'],\n 'icon-inverse-disabled': primativeColours.grey.light['100'],\n },\n fill: {\n 'fill-strong': primativeColours.grey.dark['1000'],\n 'fill-weak': primativeColours.grey.dark['50'],\n 'fill-weaker': primativeColours.grey.dark['25'],\n 'fill-hover': primativeColours.grey.dark['50'],\n 'fill-press': primativeColours.grey.dark['100'],\n 'fill-selected': primativeColours.primary.dark['1000'],\n 'fill-disabled': primativeColours.grey.dark['100'],\n 'fill-overlay': primativeColours.grey.dark['500'],\n 'fill-primary-strong': primativeColours.primary.dark['1000'],\n 'fill-primary-weak': primativeColours.primary.dark['50'],\n 'fill-secondary': primativeColours.secondary.dark['1000'],\n 'fill-tertiary': primativeColours.tertiary.dark['1000'],\n 'fill-error-strong': primativeColours.red.dark['1000'],\n 'fill-error-weak': primativeColours.red.dark['50'],\n 'fill-warning-strong': primativeColours.amber.dark['1000'],\n 'fill-warning-weak': primativeColours.amber.dark['50'],\n 'fill-success-strong': primativeColours.green.dark['1000'],\n 'fill-success-weak': primativeColours.green.dark['50'],\n 'fill-ai-strong': primativeColours.purple.dark['1000'],\n 'fill-ai-weak': primativeColours.purple.dark['50'],\n 'fill-inverse-strong': primativeColours.solid.grey['900'],\n 'fill-inverse-weak': primativeColours.grey.light['50'],\n 'fill-inverse-hover': primativeColours.grey.light['50'],\n 'fill-inverse-press': primativeColours.grey.light['100'],\n 'fill-inverse-disabled': primativeColours.grey.light['100'],\n 'fill-flipdishlogo': primativeColours.solid.grey['0'],\n 'fill-black': primativeColours.solid.grey['1000'],\n 'fill-white': primativeColours.solid.grey['0'],\n 'fill-yellow': primativeColours.solid.yellow['1000'],\n 'fill-lightgrey': primativeColours.solid.lightGrey['1000'],\n 'fill-lime': primativeColours.solid.lime['1000'],\n 'fill-pink': primativeColours.solid.pink['1000'],\n },\n background: {\n 'background-base': primativeColours.solid.grey['900'],\n 'background-raised': primativeColours.solid.grey['850'],\n 'background-overlay': primativeColours.solid.grey['800'],\n 'background-sunken': primativeColours.solid.grey['1000'],\n 'background-alternate': primativeColours.solid.lightGrey['1000'],\n 'background-primary': primativeColours.primary.dark['1000'],\n 'background-secondary': primativeColours.secondary.dark['1000'],\n 'background-tertiary': primativeColours.tertiary.dark['1000'],\n 'background-inverse': primativeColours.solid.grey['0'],\n },\n shadow: {\n 'shadow-strong': primativeColours.greyShadow['150'],\n 'shadow-weak': primativeColours.greyShadow['100'],\n },\n },\n} as const satisfies NonNullable<ThemeOptions['palette']>;\n"],"names":["lightColours","mode","success","main","primativeColours","green","light","error","red","warning","solid","yellow","semantic","text","grey","primary","amber","purple","dark","stroke","secondary","tertiary","icon","fill","lightGrey","lime","pink","background","shadow","greyShadow","darkColours","default"],"mappings":"mDAIO,MAAMA,EAAe,CAC1BC,KAAM,QAENC,QAAS,CACPC,KAAMC,EAAiBC,MAAMC,MAAM,MAErCC,MAAO,CACLJ,KAAMC,EAAiBI,IAAIF,MAAM,MAEnCG,QAAS,CACPN,KAAMC,EAAiBM,MAAMC,OAAO,MAGtCC,SAAU,CACRC,KAAM,CACJ,cAAeT,EAAiBU,KAAKR,MAAM,KAC3C,YAAaF,EAAiBU,KAAKR,MAAM,KACzC,eAAgBF,EAAiBW,QAAQT,MAAM,KAC/C,gBAAiBF,EAAiBU,KAAKR,MAAM,KAC7C,aAAcF,EAAiBI,IAAIF,MAAM,KACzC,eAAgBF,EAAiBY,MAAMV,MAAM,KAC7C,eAAgBF,EAAiBC,MAAMC,MAAM,KAC7C,UAAWF,EAAiBa,OAAOX,MAAM,KACzC,sBAAuBF,EAAiBU,KAAKI,KAAK,KAClD,oBAAqBd,EAAiBU,KAAKI,KAAK,KAChD,wBAAyBd,EAAiBU,KA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EAAiByB,WAAW,KAC7C,cAAezB,EAAiByB,WAAW"}
@@ -0,0 +1,2 @@
1
+ "use strict";var i=require("react/jsx-runtime");require("react");var r=require("@mui/material/Box"),e=require("@mui/material/Stack"),s=require("@mui/material/Typography"),a=require("./radius.cjs.js");const n=({radiusToken:n})=>i.jsxs(e,{alignItems:"center",direction:"row",spacing:2,children:[i.jsx(s,{sx:{fontFamily:"monospace",minWidth:"120px"},children:n}),i.jsx(s,{color:"text.secondary",sx:{minWidth:"50px"},children:a.radius[n]}),i.jsx(r,{sx:{bgcolor:"primary.main",borderRadius:a.radius[n],height:"40px",width:"200px",display:"flex",justifyContent:"center",alignItems:"center"},children:i.jsx(s,{color:"white",sx:{fontFamily:"monospace"},children:a.radius[n]})})]});exports.RadiusVisualizer=()=>i.jsx(e,{spacing:3,children:i.jsx(e,{spacing:2,children:Object.keys(a.radius).map(r=>i.jsx(n,{radiusToken:r},r))})});
2
+ //# sourceMappingURL=RadiusVisualizer.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadiusVisualizer.cjs.js","sources":["../../../../src/themes/tokens/radius/RadiusVisualizer.tsx"],"sourcesContent":["import React from 'react';\n\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n\nimport { radius, type RadiusToken } from './radius';\n\nconst RadiusRow = ({ radiusToken }: { radiusToken: RadiusToken }): React.ReactElement => (\n <Stack alignItems=\"center\" direction=\"row\" spacing={2}>\n <Typography sx={{ fontFamily: 'monospace', minWidth: '120px' }}>{radiusToken}</Typography>\n <Typography color=\"text.secondary\" sx={{ minWidth: '50px' }}>\n {radius[radiusToken]}\n </Typography>\n <Box\n sx={{\n bgcolor: 'primary.main',\n borderRadius: radius[radiusToken],\n height: '40px',\n width: '200px',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <Typography color=\"white\" sx={{ fontFamily: 'monospace' }}>\n {radius[radiusToken]}\n </Typography>\n </Box>\n </Stack>\n);\n\nexport const RadiusVisualizer = (): React.ReactElement => (\n <Stack spacing={3}>\n <Stack spacing={2}>\n {(Object.keys(radius) as RadiusToken[]).map((token) => (\n <RadiusRow key={token} radiusToken={token} />\n ))}\n </Stack>\n </Stack>\n);\n"],"names":["RadiusRow","radiusToken","_jsxs","Stack","alignItems","direction","spacing","children","_jsx","Typography","sx","fontFamily","minWidth","color","radius","Box","bgcolor","borderRadius","height","width","display","justifyContent","Object","keys","map","token"],"mappings":"wMAQA,MAAMA,EAAY,EAAGC,iBACnBC,EAAAA,KAACC,EAAK,CAACC,WAAW,SAASC,UAAU,MAAMC,QAAS,EAACC,SAAA,CACnDC,MAACC,EAAU,CAACC,GAAI,CAAEC,WAAY,YAAaC,SAAU,SAASL,SAAGN,IACjEO,EAAAA,IAACC,EAAU,CAACI,MAAM,iBAAiBH,GAAI,CAAEE,SAAU,QAAQL,SACxDO,EAAAA,OAAOb,KAEVO,EAAAA,IAACO,EAAG,CACFL,GAAI,CACFM,QAAS,eACTC,aAAcH,EAAAA,OAAOb,GACrBiB,OAAQ,OACRC,MAAO,QACPC,QAAS,OACTC,eAAgB,SAChBjB,WAAY,UACbG,SAEDC,EAAAA,IAACC,EAAU,CAACI,MAAM,QAAQH,GAAI,CAAEC,WAAY,aAAaJ,SACtDO,SAAOb,mCAMgB,IAC9BO,EAAAA,IAACL,EAAK,CAACG,QAAS,EAACC,SACfC,EAAAA,IAACL,EAAK,CAACG,QAAS,EAACC,SACbe,OAAOC,KAAKT,EAAAA,QAA0BU,IAAKC,GAC3CjB,EAAAA,IAACR,GAAsBC,YAAawB,GAApBA"}
@@ -0,0 +1,5 @@
1
+ import react__default from 'react';
2
+
3
+ declare const RadiusVisualizer: () => react__default.ReactElement;
4
+
5
+ export { RadiusVisualizer };
@@ -0,0 +1,2 @@
1
+ import{jsx as i,jsxs as r}from"react/jsx-runtime";import"react";import e from"@mui/material/Box";import o from"@mui/material/Stack";import t from"@mui/material/Typography";import{radius as n}from"./radius.js";const m=({radiusToken:m})=>r(o,{alignItems:"center",direction:"row",spacing:2,children:[i(t,{sx:{fontFamily:"monospace",minWidth:"120px"},children:m}),i(t,{color:"text.secondary",sx:{minWidth:"50px"},children:n[m]}),i(e,{sx:{bgcolor:"primary.main",borderRadius:n[m],height:"40px",width:"200px",display:"flex",justifyContent:"center",alignItems:"center"},children:i(t,{color:"white",sx:{fontFamily:"monospace"},children:n[m]})})]}),a=()=>i(o,{spacing:3,children:i(o,{spacing:2,children:Object.keys(n).map(r=>i(m,{radiusToken:r},r))})});export{a as RadiusVisualizer};
2
+ //# sourceMappingURL=RadiusVisualizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RadiusVisualizer.js","sources":["../../../../src/themes/tokens/radius/RadiusVisualizer.tsx"],"sourcesContent":["import React from 'react';\n\nimport Box from '@mui/material/Box';\nimport Stack from '@mui/material/Stack';\nimport Typography from '@mui/material/Typography';\n\nimport { radius, type RadiusToken } from './radius';\n\nconst RadiusRow = ({ radiusToken }: { radiusToken: RadiusToken }): React.ReactElement => (\n <Stack alignItems=\"center\" direction=\"row\" spacing={2}>\n <Typography sx={{ fontFamily: 'monospace', minWidth: '120px' }}>{radiusToken}</Typography>\n <Typography color=\"text.secondary\" sx={{ minWidth: '50px' }}>\n {radius[radiusToken]}\n </Typography>\n <Box\n sx={{\n bgcolor: 'primary.main',\n borderRadius: radius[radiusToken],\n height: '40px',\n width: '200px',\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center',\n }}\n >\n <Typography color=\"white\" sx={{ fontFamily: 'monospace' }}>\n {radius[radiusToken]}\n </Typography>\n </Box>\n </Stack>\n);\n\nexport const RadiusVisualizer = (): React.ReactElement => (\n <Stack spacing={3}>\n <Stack spacing={2}>\n {(Object.keys(radius) as RadiusToken[]).map((token) => (\n <RadiusRow key={token} radiusToken={token} />\n ))}\n </Stack>\n </Stack>\n);\n"],"names":["RadiusRow","radiusToken","_jsxs","Stack","alignItems","direction","spacing","children","_jsx","Typography","sx","fontFamily","minWidth","color","radius","Box","bgcolor","borderRadius","height","width","display","justifyContent","RadiusVisualizer","Object","keys","map","token"],"mappings":"iNAQA,MAAMA,EAAY,EAAGC,iBACnBC,EAACC,EAAK,CAACC,WAAW,SAASC,UAAU,MAAMC,QAAS,EAACC,SAAA,CACnDC,EAACC,EAAU,CAACC,GAAI,CAAEC,WAAY,YAAaC,SAAU,SAASL,SAAGN,IACjEO,EAACC,EAAU,CAACI,MAAM,iBAAiBH,GAAI,CAAEE,SAAU,QAAQL,SACxDO,EAAOb,KAEVO,EAACO,EAAG,CACFL,GAAI,CACFM,QAAS,eACTC,aAAcH,EAAOb,GACrBiB,OAAQ,OACRC,MAAO,QACPC,QAAS,OACTC,eAAgB,SAChBjB,WAAY,UACbG,SAEDC,EAACC,EAAU,CAACI,MAAM,QAAQH,GAAI,CAAEC,WAAY,aAAaJ,SACtDO,EAAOb,UAMHqB,EAAmB,IAC9Bd,EAACL,EAAK,CAACG,QAAS,EAACC,SACfC,EAACL,EAAK,CAACG,QAAS,EAACC,SACbgB,OAAOC,KAAKV,GAA0BW,IAAKC,GAC3ClB,EAACR,GAAsBC,YAAayB,GAApBA"}
@@ -0,0 +1,2 @@
1
+ "use strict";var r=require("react/jsx-runtime");require("react");var a=require("@mui/material/Box"),s=require("@mui/material/Typography"),e=require("./shadows.cjs.js");exports.ShadowsVisualizer=()=>r.jsx(a,{sx:{maxWidth:600,p:3},children:r.jsxs(a,{sx:{display:"grid",gap:3,gridTemplateColumns:"1fr"},children:[r.jsxs(a,{sx:{boxShadow:e.shadows.base,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r.jsx(s,{variant:"h6",children:"Base (none)"}),r.jsx(s,{color:"text.secondary",variant:"body2",children:"No shadow"})]}),r.jsxs(a,{sx:{boxShadow:e.shadows.sunken,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r.jsx(s,{variant:"h6",children:"Sunken"}),r.jsx(s,{color:"text.secondary",variant:"body2",children:e.shadows.sunken})]}),r.jsxs(a,{sx:{boxShadow:e.shadows.raised,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r.jsx(s,{variant:"h6",children:"Raised"}),r.jsx(s,{color:"text.secondary",variant:"body2",children:e.shadows.raised})]}),r.jsxs(a,{sx:{boxShadow:e.shadows.overlay,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r.jsx(s,{variant:"h6",children:"Overlay"}),r.jsx(s,{color:"text.secondary",variant:"body2",children:e.shadows.overlay})]})]})});
2
+ //# sourceMappingURL=ShadowsVisualizer.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShadowsVisualizer.cjs.js","sources":["../../../../src/themes/tokens/shadows/ShadowsVisualizer.tsx"],"sourcesContent":["import React from 'react';\n\nimport Box from '../../../components/atoms/Box';\nimport Typography from '../../../components/atoms/Typography';\nimport { shadows } from './shadows';\n\nexport const ShadowsVisualizer = (): React.ReactElement => (\n <Box sx={{ maxWidth: 600, p: 3 }}>\n <Box sx={{ display: 'grid', gap: 3, gridTemplateColumns: '1fr' }}>\n <Box sx={{ boxShadow: shadows.base, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Base (none)</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n No shadow\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.sunken, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Sunken</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.sunken}\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.raised, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Raised</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.raised}\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.overlay, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Overlay</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.overlay}\n </Typography>\n </Box>\n </Box>\n </Box>\n);\n"],"names":["_jsx","Box","sx","maxWidth","p","children","_jsxs","display","gap","gridTemplateColumns","boxShadow","shadows","base","mb","bgcolor","borderRadius","Typography","variant","color","sunken","raised","overlay"],"mappings":"kMAMiC,IAC/BA,EAAAA,IAACC,EAAG,CAACC,GAAI,CAAEC,SAAU,IAAKC,EAAG,GAAGC,SAC9BC,EAAAA,KAACL,EAAG,CAACC,GAAI,CAAEK,QAAS,OAAQC,IAAK,EAAGC,oBAAqB,OAAOJ,SAAA,CAC9DC,EAAAA,KAACL,EAAG,CAACC,GAAI,CAAEQ,UAAWC,EAAAA,QAAQC,KAAMR,EAAG,EAAGS,GAAI,EAAGC,QAAS,mBAAoBC,aAAc,GAAGV,SAAA,CAC7FL,MAACgB,EAAU,CAACC,QAAQ,KAAIZ,SAAA,gBACxBL,MAACgB,EAAU,CAACE,MAAM,iBAAiBD,QAAQ,QAAOZ,SAAA,iBAIpDC,OAACL,EAAG,CAACC,GAAI,CAAEQ,UAAWC,EAAAA,QAAQQ,OAAQf,EAAG,EAAGS,GAAI,EAAGC,QAAS,mBAAoBC,aAAc,GAAGV,SAAA,CAC/FL,EAAAA,IAACgB,EAAU,CAACC,QAAQ,KAAIZ,SAAA,WACxBL,MAACgB,EAAU,CAACE,MAAM,iBAAiBD,QAAQ,QAAOZ,SAC/CM,UAAQQ,YAGbb,EAAAA,KAACL,EAAG,CAACC,GAAI,CAAEQ,UAAWC,EAAAA,QAAQS,OAAQhB,EAAG,EAAGS,GAAI,EAAGC,QAAS,mBAAoBC,aAAc,GAAGV,SAAA,CAC/FL,MAACgB,EAAU,CAACC,QAAQ,KAAIZ,SAAA,WACxBL,EAAAA,IAACgB,EAAU,CAACE,MAAM,iBAAiBD,QAAQ,QAAOZ,SAC/CM,EAAAA,QAAQS,YAGbd,EAAAA,KAACL,EAAG,CAACC,GAAI,CAAEQ,UAAWC,UAAQU,QAASjB,EAAG,EAAGS,GAAI,EAAGC,QAAS,mBAAoBC,aAAc,GAAGV,SAAA,CAChGL,EAAAA,IAACgB,EAAU,CAACC,QAAQ,KAAIZ,SAAA,YACxBL,EAAAA,IAACgB,EAAU,CAACE,MAAM,iBAAiBD,QAAQ,QAAOZ,SAC/CM,UAAQU"}
@@ -0,0 +1,5 @@
1
+ import react__default from 'react';
2
+
3
+ declare const ShadowsVisualizer: () => react__default.ReactElement;
4
+
5
+ export { ShadowsVisualizer };
@@ -0,0 +1,2 @@
1
+ import{jsx as r,jsxs as o}from"react/jsx-runtime";import"react";import a from"@mui/material/Box";import e from"@mui/material/Typography";import{shadows as d}from"./shadows.js";const i=()=>r(a,{sx:{maxWidth:600,p:3},children:o(a,{sx:{display:"grid",gap:3,gridTemplateColumns:"1fr"},children:[o(a,{sx:{boxShadow:d.base,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r(e,{variant:"h6",children:"Base (none)"}),r(e,{color:"text.secondary",variant:"body2",children:"No shadow"})]}),o(a,{sx:{boxShadow:d.sunken,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r(e,{variant:"h6",children:"Sunken"}),r(e,{color:"text.secondary",variant:"body2",children:d.sunken})]}),o(a,{sx:{boxShadow:d.raised,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r(e,{variant:"h6",children:"Raised"}),r(e,{color:"text.secondary",variant:"body2",children:d.raised})]}),o(a,{sx:{boxShadow:d.overlay,p:2,mb:2,bgcolor:"background.paper",borderRadius:2},children:[r(e,{variant:"h6",children:"Overlay"}),r(e,{color:"text.secondary",variant:"body2",children:d.overlay})]})]})});export{i as ShadowsVisualizer};
2
+ //# sourceMappingURL=ShadowsVisualizer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ShadowsVisualizer.js","sources":["../../../../src/themes/tokens/shadows/ShadowsVisualizer.tsx"],"sourcesContent":["import React from 'react';\n\nimport Box from '../../../components/atoms/Box';\nimport Typography from '../../../components/atoms/Typography';\nimport { shadows } from './shadows';\n\nexport const ShadowsVisualizer = (): React.ReactElement => (\n <Box sx={{ maxWidth: 600, p: 3 }}>\n <Box sx={{ display: 'grid', gap: 3, gridTemplateColumns: '1fr' }}>\n <Box sx={{ boxShadow: shadows.base, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Base (none)</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n No shadow\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.sunken, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Sunken</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.sunken}\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.raised, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Raised</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.raised}\n </Typography>\n </Box>\n <Box sx={{ boxShadow: shadows.overlay, p: 2, mb: 2, bgcolor: 'background.paper', borderRadius: 2 }}>\n <Typography variant=\"h6\">Overlay</Typography>\n <Typography color=\"text.secondary\" variant=\"body2\">\n {shadows.overlay}\n </Typography>\n </Box>\n </Box>\n </Box>\n);\n"],"names":["ShadowsVisualizer","_jsx","Box","sx","maxWidth","p","children","_jsxs","display","gap","gridTemplateColumns","boxShadow","shadows","base","mb","bgcolor","borderRadius","Typography","variant","color","sunken","raised","overlay"],"mappings":"gLAMO,MAAMA,EAAoB,IAC/BC,EAACC,EAAG,CAACC,GAAI,CAAEC,SAAU,IAAKC,EAAG,GAAGC,SAC9BC,EAACL,EAAG,CAACC,GAAI,CAAEK,QAAS,OAAQC,IAAK,EAAGC,oBAAqB,OAAOJ,SAAA,CAC9DC,EAACL,EAAG,CAACC,GAAI,CAAEQ,UAAWC,EAAQC,KAAMR,EAAG,EAAGS,GAAI,EAAGC,QAAS,mBAAoBC,aAAc,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