@volvo-cars/css 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/links.server.ts","../src/imports.json","../src/links/constants.ts","../src/links/create-filter.ts","../src/media-queries.ts","../src/links/get-media-query.ts"],"sourcesContent":["import cssImports from './imports.json' with { type: 'json' };\nimport { defaultBase } from './links/constants';\nimport { createFilter } from './links/create-filter';\nimport { getMediaQuery } from './links/get-media-query';\nimport type { LinkProps, LinksFunction } from './links/types';\n\nconst fontPreloadUrls = [\n 'https://www.volvocars.com/static/shared/fonts/volvo-centum/v1/volvo-centum.woff2',\n];\n\nexport const links: LinksFunction = ({ base = defaultBase, filter } = {}) => {\n if (base && typeof base !== 'string') {\n base = base.href;\n }\n if (typeof base === 'string' && base !== '' && !base.endsWith('/')) {\n base += '/';\n }\n const cssLinkProps = Object.entries(cssImports)\n .filter(createFilter(filter))\n .flatMap(([name, filename]) => {\n const props: LinkProps = {\n href: base + filename,\n rel: 'stylesheet',\n crossOrigin: 'anonymous',\n };\n const media = getMediaQuery(name);\n if (media) {\n props.media = media;\n }\n\n const preloadProps = {\n ...props,\n rel: 'preload',\n as: 'style',\n };\n\n props['data-volvo-css-name'] = name;\n\n if (filter?.preload === false) {\n return props;\n }\n return [preloadProps, props] as const;\n })\n .sort((a, b) =>\n a.rel === 'preload' && b.rel === 'preload'\n ? 0\n : a.rel === 'preload'\n ? -1\n : 1,\n ) as LinkProps[];\n\n const fontPreloads: LinkProps[] =\n filter?.fonts === false || filter?.preload === false\n ? []\n : fontPreloadUrls.map((href) => ({\n rel: 'preload',\n href,\n as: 'font',\n type: 'font/woff2',\n crossOrigin: 'anonymous',\n }));\n const linkProps: LinkProps[] = [...fontPreloads, ...cssLinkProps];\n\n linkProps.toString = function () {\n let html = '';\n for (const link of this) {\n const attrs = Object.entries(link)\n .map(([key, value]) => `${key}=\"${value}\"`)\n .join(' ');\n html += `<link ${attrs} />\\n`;\n }\n return html;\n };\n\n return linkProps;\n};\n\nexport type { LinkProps, LinksFunction };\n","{\n \"font-face.css\": \"css/v1/font-face.8324f4d8.css\",\n \"tokens.css\": \"css/v1/tokens.a94c1908.css\",\n \"styles.css\": \"css/v1/styles.661791ab.css\",\n \"styles_md.css\": \"css/v1/styles_md.53438709.css\",\n \"styles_xl.css\": \"css/v1/styles_xl.dc799dcd.css\",\n \"styles_hover.css\": \"css/v1/styles_hover.13f2c48a.css\"\n}","export const defaultBase = 'https://www.volvocars.com/static/shared/pkg/';\n","export interface LinksFilter {\n preload?: boolean;\n fonts?: boolean;\n tokens?: boolean;\n}\n\nexport function createFilter({\n fonts = true,\n tokens = true,\n}: LinksFilter = {}) {\n return ([name]: [string, string]) => {\n if (name === 'font-face.css') return fonts;\n if (name.endsWith('tokens.css')) return tokens;\n return true;\n };\n}\n","const queries = {\n hover: '(hover: hover)',\n md: '(min-width: 30rem)',\n lg: '(min-width: 64rem)',\n xl: '(min-width: 100rem)',\n} as const;\n\nexport default queries;\n","import mediaQueries from '../media-queries';\n\nexport function getMediaQuery(name: string) {\n let suffix = name.split('_').pop()?.replace('.css', '');\n return mediaQueries[suffix as keyof typeof mediaQueries];\n}\n"],"mappings":"4ZAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,WAAAE,IAAA,eAAAC,EAAAH,GCAA,IAAAI,EAAA,CACE,gBAAiB,gCACjB,aAAc,6BACd,aAAc,6BACd,gBAAiB,gCACjB,gBAAiB,gCACjB,mBAAoB,kCACtB,ECPO,IAAMC,EAAc,+CCMpB,SAASC,EAAa,CAC3B,MAAAC,EAAQ,GACR,OAAAC,EAAS,EACX,EAAiB,CAAC,EAAG,CACnB,MAAO,CAAC,CAACC,CAAI,IACPA,IAAS,gBAAwBF,EACjCE,EAAK,SAAS,YAAY,EAAUD,EACjC,EAEX,CCfA,IAAME,EAAU,CACd,MAAO,iBACP,GAAI,qBACJ,GAAI,qBACJ,GAAI,q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CAACE,EAAKC,CAAK,IAAM,GAAGD,CAAG,KAAKC,CAAK,GAAG,EACzC,KAAK,GAAG,EACXJ,GAAQ,SAASE,CAAK;AAAA,CACxB,CACA,OAAOF,CACT,EAEOF,CACT","names":["links_server_exports","__export","links","__toCommonJS","imports_default","defaultBase","createFilter","fonts","tokens","name","queries","media_queries_default","getMediaQuery","name","suffix","media_queries_default","fontPreloadUrls","links","base","defaultBase","filter","cssLinkProps","imports_default","createFilter","name","filename","props","media","getMediaQuery","preloadProps","a","b","linkProps","href","html","link","attrs","key","value"]}
1
+ {"version":3,"sources":["../src/links.server.ts","../src/imports.json","../src/links/constants.ts","../src/links/create-filter.ts","../src/media-queries.ts","../src/links/get-media-query.ts"],"sourcesContent":["import cssImports from './imports.json' with { type: 'json' };\nimport { defaultBase } from './links/constants';\nimport { createFilter } from './links/create-filter';\nimport { getMediaQuery } from './links/get-media-query';\nimport type { LinkProps, LinksFunction } from './links/types';\n\nconst fontPreloadUrls = [\n 'https://www.volvocars.com/static/shared/fonts/volvo-centum/v1/volvo-centum.woff2',\n];\n\nexport const links: LinksFunction = ({ base = defaultBase, filter } = {}) => {\n if (base && typeof base !== 'string') {\n base = base.href;\n }\n if (typeof base === 'string' && base !== '' && !base.endsWith('/')) {\n base += '/';\n }\n const cssLinkProps = Object.entries(cssImports)\n .filter(createFilter(filter))\n .flatMap(([name, filename]) => {\n const props: LinkProps = {\n href: base + filename,\n rel: 'stylesheet',\n crossOrigin: 'anonymous',\n };\n const media = getMediaQuery(name);\n if (media) {\n props.media = media;\n }\n\n const preloadProps = {\n ...props,\n rel: 'preload',\n as: 'style',\n };\n\n props['data-volvo-css-name'] = name;\n\n if (filter?.preload === false) {\n return props;\n }\n return [preloadProps, props] as const;\n })\n .sort((a, b) =>\n a.rel === 'preload' && b.rel === 'preload'\n ? 0\n : a.rel === 'preload'\n ? -1\n : 1,\n ) as LinkProps[];\n\n const fontPreloads: LinkProps[] =\n filter?.fonts === false || filter?.preload === false\n ? []\n : fontPreloadUrls.map((href) => ({\n rel: 'preload',\n href,\n as: 'font',\n type: 'font/woff2',\n crossOrigin: 'anonymous',\n }));\n const linkProps: LinkProps[] = [...fontPreloads, ...cssLinkProps];\n\n linkProps.toString = function () {\n let html = '';\n for (const link of this) {\n const attrs = Object.entries(link)\n .map(([key, value]) => `${key}=\"${value}\"`)\n .join(' ');\n html += `<link ${attrs} />\\n`;\n }\n return html;\n };\n\n return linkProps;\n};\n\nexport type { LinkProps, LinksFunction };\n","{\n \"font-face.css\": \"css/v1/font-face.8324f4d8.css\",\n \"tokens.css\": \"css/v1/tokens.b9b650a2.css\",\n \"styles.css\": \"css/v1/styles.c474b818.css\",\n \"styles_md.css\": \"css/v1/styles_md.68466039.css\",\n \"styles_xl.css\": \"css/v1/styles_xl.dc799dcd.css\",\n \"styles_hover.css\": \"css/v1/styles_hover.13f2c48a.css\"\n}","export const defaultBase = 'https://www.volvocars.com/static/shared/pkg/';\n","export interface LinksFilter {\n preload?: boolean;\n fonts?: boolean;\n tokens?: boolean;\n}\n\nexport function createFilter({\n fonts = true,\n tokens = true,\n}: LinksFilter = {}) {\n return ([name]: [string, string]) => {\n if (name === 'font-face.css') return fonts;\n if (name.endsWith('tokens.css')) return tokens;\n return true;\n };\n}\n","const queries = {\n hover: '(hover: hover)',\n md: '(min-width: 30rem)',\n lg: '(min-width: 64rem)',\n xl: '(min-width: 100rem)',\n} as const;\n\nexport default queries;\n","import mediaQueries from '../media-queries';\n\nexport function getMediaQuery(name: string) {\n let suffix = name.split('_').pop()?.replace('.css', '');\n return mediaQueries[suffix as keyof typeof mediaQueries];\n}\n"],"mappings":"4ZAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,WAAAE,IAAA,eAAAC,EAAAH,GCAA,IAAAI,EAAA,CACE,gBAAiB,gCACjB,aAAc,6BACd,aAAc,6BACd,gBAAiB,gCACjB,gBAAiB,gCACjB,mBAAoB,kCACtB,ECPO,IAAMC,EAAc,+CCMpB,SAASC,EAAa,CAC3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7B,IAAK,UACL,KAAAA,EACA,GAAI,OACJ,KAAM,aACN,YAAa,WACf,EAAE,EACyC,GAAGZ,CAAY,EAEhE,OAAAW,EAAU,SAAW,UAAY,CAC/B,IAAIE,EAAO,GACX,QAAWC,KAAQ,KAAM,CACvB,IAAMC,EAAQ,OAAO,QAAQD,CAAI,EAC9B,IAAI,CAAC,CAACE,EAAKC,CAAK,IAAM,GAAGD,CAAG,KAAKC,CAAK,GAAG,EACzC,KAAK,GAAG,EACXJ,GAAQ,SAASE,CAAK;AAAA,CACxB,CACA,OAAOF,CACT,EAEOF,CACT","names":["links_server_exports","__export","links","__toCommonJS","imports_default","defaultBase","createFilter","fonts","tokens","name","queries","media_queries_default","getMediaQuery","name","suffix","media_queries_default","fontPreloadUrls","links","base","defaultBase","filter","cssLinkProps","imports_default","createFilter","name","filename","props","media","getMediaQuery","preloadProps","a","b","linkProps","href","html","link","attrs","key","value"]}
@@ -1,3 +1,3 @@
1
- import{a as l,b as f,c,d as a}from"./chunk-O7LMNRND.js";import"./chunk-BBIFT7L4.js";var d=["https://www.volvocars.com/static/shared/fonts/volvo-centum/v1/volvo-centum.woff2"],h=({base:t=f,filter:s}={})=>{t&&typeof t!="string"&&(t=t.href),typeof t=="string"&&t!==""&&!t.endsWith("/")&&(t+="/");let m=Object.entries(l).filter(c(s)).flatMap(([o,n])=>{let r={href:t+n,rel:"stylesheet",crossOrigin:"anonymous"},e=a(o);e&&(r.media=e);let i={...r,rel:"preload",as:"style"};return r["data-volvo-css-name"]=o,s?.preload===!1?r:[i,r]}).sort((o,n)=>o.rel==="preload"&&n.rel==="preload"?0:o.rel==="preload"?-1:1),p=[...s?.fonts===!1||s?.preload===!1?[]:d.map(o=>({rel:"preload",href:o,as:"font",type:"font/woff2",crossOrigin:"anonymous"})),...m];return p.toString=function(){let o="";for(let n of this){let r=Object.entries(n).map(([e,i])=>`${e}="${i}"`).join(" ");o+=`<link ${r} />
1
+ import{a as l,b as f,c,d as a}from"./chunk-WHX3TVFH.js";import"./chunk-BBIFT7L4.js";var d=["https://www.volvocars.com/static/shared/fonts/volvo-centum/v1/volvo-centum.woff2"],h=({base:t=f,filter:s}={})=>{t&&typeof t!="string"&&(t=t.href),typeof t=="string"&&t!==""&&!t.endsWith("/")&&(t+="/");let m=Object.entries(l).filter(c(s)).flatMap(([o,n])=>{let r={href:t+n,rel:"stylesheet",crossOrigin:"anonymous"},e=a(o);e&&(r.media=e);let i={...r,rel:"preload",as:"style"};return r["data-volvo-css-name"]=o,s?.preload===!1?r:[i,r]}).sort((o,n)=>o.rel==="preload"&&n.rel==="preload"?0:o.rel==="preload"?-1:1),p=[...s?.fonts===!1||s?.preload===!1?[]:d.map(o=>({rel:"preload",href:o,as:"font",type:"font/woff2",crossOrigin:"anonymous"})),...m];return p.toString=function(){let o="";for(let n of this){let r=Object.entries(n).map(([e,i])=>`${e}="${i}"`).join(" ");o+=`<link ${r} />
2
2
  `}return o},p};export{h as links};
3
3
  //# sourceMappingURL=links.server.js.map
package/dist/llm/meta.md CHANGED
@@ -184,6 +184,8 @@ Utility classes may be combined with other classes and include the CSS rules the
184
184
 
185
185
  .pagelayout
186
186
 
187
+ .navigation-bar
188
+
187
189
 
188
190
  ### Layer: utilities
189
191
 
@@ -1966,6 +1968,18 @@ padding-top: var(--v-space-2xl)
1966
1968
  .{lg,md,xl}:pb-2xl
1967
1969
  padding-bottom: var(--v-space-2xl)
1968
1970
 
1971
+ .pointer-events-none
1972
+ pointer-events: none
1973
+
1974
+ .pointer-events-auto
1975
+ pointer-events: auto
1976
+
1977
+ .cursor-pointer
1978
+ cursor: pointer
1979
+
1980
+ .cursor-auto
1981
+ cursor: auto
1982
+
1969
1983
  .static
1970
1984
  position: static
1971
1985
 
@@ -2008,6 +2022,9 @@ scale: 1.1
2008
2022
  .scale-110
2009
2023
  scale: 1.1
2010
2024
 
2025
+ .select-none
2026
+ user-select: none
2027
+
2011
2028
  .scrollbar-none
2012
2029
 
2013
2030
 
@@ -2294,49 +2311,52 @@ pagemargin; on wider viewports it adds the extra centering space.
2294
2311
  --v-size-grid-max: Width based on the maximum extent of a `max` container
2295
2312
  --v-size-contentmax: The maximum width a block of content should be allowed to grow to while maintaining readability
2296
2313
  https://baymard.com/blog/line-length-readability
2297
- --v-radius-sm--v-radius-md--v-radius-lg--v-radius-full--v-index-spinner--v-index-overlay--v-index-navigation--v-index-default--v-index-deep--v-grid-columns: The total number of grid columns at the current breakpoint.
2298
- --v-font-heading-1-size-max--v-font-heading-2-size-max--v-font-heading-3-size-max--v-font-statement-1-size-max--v-font-statement-2-size-max--v-font-statement-3-size-max--v-font-statement-signature-size-max--v-transition-default--v-transition-micro--v-transition-notable--v-color-foreground-primary--v-color-foreground-secondary: Use for primary text, icons and borders.
2299
- --v-color-foreground-tertiary: Use for secondary text, icons and borders.
2300
- --v-color-foreground-inverted: The lightest possible foreground color acceptable for UI fills. Should not be used for body text.
2301
- --v-color-foreground-accent-blue: The inverse of the primary foreground color. For use on filled surfaces.
2302
- --v-color-foreground-feedback-green: For emphasized selection borders and graphic accents (icons, illustrations).
2303
- --v-color-foreground-feedback-red: Use as a foreground or border color to highlight successful states and positive actions.
2304
- --v-color-foreground-feedback-orange: Use as a foreground or border color to highlight errors, invalid data, and destructive actions.
2305
- --v-color-surface-neutral: Use as a foreground or border color to highlight warnings, invalid or missing data, and actions that require caution.
2306
- --v-color-surface-gray: Used as a surface fill for UI elements like buttons and form controls. Combine with Foreground / Inverted foreground color.
2307
- --v-color-surface-accent-blue: Used as surface fill.
2314
+ --v-radius-sm--v-radius-md--v-radius-lg--v-radius-full--v-index-spinner--v-index-overlay--v-index-navigation--v-index-default--v-index-deep--v-size-navigation-bar-height--v-grid-columns: The total number of grid columns at the current breakpoint.
2315
+ --v-font-heading-1-size-max--v-font-heading-2-size-max--v-font-heading-3-size-max--v-font-statement-1-size-max--v-font-statement-2-size-max--v-font-statement-3-size-max--v-font-statement-signature-size-max--v-transition-default--v-transition-micro--v-transition-notable--v-color-foreground-primary: Use for primary text, icons and borders.
2316
+ --v-color-foreground-secondary: Use for secondary text, icons and borders.
2317
+ --v-color-foreground-tertiary: The lightest possible foreground color acceptable for UI fills. Should not be used for body text.
2318
+ --v-color-foreground-inverted: The inverse of the primary foreground color. For use on filled surfaces.
2319
+ --v-color-foreground-accent-blue: For emphasized selection borders and graphic accents (icons, illustrations).
2320
+ --v-color-foreground-feedback-green: Use as a foreground or border color to highlight successful states and positive actions.
2321
+ --v-color-foreground-feedback-red: Use as a foreground or border color to highlight errors, invalid data, and destructive actions.
2322
+ --v-color-foreground-feedback-orange: Use as a foreground or border color to highlight warnings, invalid or missing data, and actions that require caution.
2323
+ --v-color-surface-neutral: Used as a surface fill for UI elements like buttons and form controls. Combine with Foreground / Inverted foreground color.
2324
+ --v-color-surface-gray: Used as surface fill.
2325
+ --v-color-surface-accent-blue: Used as an emphasized surface fill for UI elements like buttons and form controls.
2308
2326
  --v-color-surface-accent-safety: Used as an emphasized surface fill for UI elements like buttons and form controls.
2309
- --v-color-surface-feedback-green: Used as an emphasized surface fill for UI elements like buttons and form controls.
2310
- --v-color-surface-feedback-orange: Used as a surface fill for UI elements like buttons and form controls to signify positive actions. Combine with Always White foreground color.
2311
- --v-color-surface-feedback-red: [Deprecated]
2312
- --v-color-background-primary: Used as a surface fill for UI elements like buttons and form controls to signify destructive actions. Combine with Always White foreground color.
2313
- --v-color-background-secondary: Use as a primary background color.
2314
- --v-color-background-feedback-gray: Use as a background color to highlight warnings, invalid or missing data, and states that require caution.
2315
- --v-color-background-feedback-green: Use as a secondary background color for elevated sections.
2316
- --v-color-background-feedback-red: Use as a background color to highlight successful and positive states.
2317
- --v-color-background-feedback-orange: Use as a background color to highlight errors, invalid data, and destructive states.
2318
- --v-color-always-white: Use as a background color to indicate informational messages.
2319
- --v-color-always-black: Always white regardless of color mode.
2320
- --v-color-ornament-primary: Always black regardless of colour mode.
2321
- --v-color-ornament-scrim: Use for strokes or dividers to visually group or separate elements.
2322
- --v-color-state-primary-strong: Used as a backdrop that usually sits behind a Side sheet or Dialog component.
2327
+ --v-color-surface-feedback-green: Used as a surface fill for UI elements like buttons and form controls to signify positive actions. Combine with Always White foreground color.
2328
+ --v-color-surface-feedback-orange: [Deprecated]
2329
+ --v-color-surface-feedback-red: Used as a surface fill for UI elements like buttons and form controls to signify destructive actions. Combine with Always White foreground color.
2330
+ --v-color-background-primary: Use as a primary background color.
2331
+ --v-color-background-secondary: Use as a secondary background color for elevated sections.
2332
+ --v-color-background-feedback-gray: Use as a background color to indicate informational messages.
2333
+ --v-color-background-feedback-green: Use as a background color to highlight successful and positive states.
2334
+ --v-color-background-feedback-red: Use as a background color to highlight errors, invalid data, and destructive states.
2335
+ --v-color-background-feedback-orange: Use as a background color to highlight warnings, invalid or missing data, and states that require caution.
2336
+ --v-color-always-white: Always white regardless of color mode.
2337
+ --v-color-always-black: Always black regardless of colour mode.
2338
+ --v-color-ornament-primary: Use for strokes or dividers to visually group or separate elements.
2339
+ --v-color-ornament-scrim: Used as a backdrop that usually sits behind a Side sheet or Dialog component.
2340
+ --v-color-state-primary-strong: Use for state layers with foreground/primary.
2323
2341
  --v-color-state-primary-medium: Use for state layers with foreground/primary.
2324
2342
  --v-color-state-primary-subtle: Use for state layers with foreground/primary.
2325
- --v-color-state-inverted-strong: Use for state layers with foreground/primary.
2343
+ --v-color-state-inverted-strong: Use for state layers with foreground/inverted.
2326
2344
  --v-color-state-inverted-medium: Use for state layers with foreground/inverted.
2327
2345
  --v-color-state-inverted-subtle: Use for state layers with foreground/inverted.
2328
- --v-color-state-accent-blue-strong: Use for state layers with foreground/inverted.
2346
+ --v-color-state-accent-blue-strong: Use for state layers with foreground/accent/blue.
2329
2347
  --v-color-state-accent-blue-medium: Use for state layers with foreground/accent/blue.
2330
2348
  --v-color-state-accent-blue-subtle: Use for state layers with foreground/accent/blue.
2331
- --v-color-state-feedback-red-strong: Use for state layers with foreground/accent/blue.
2349
+ --v-color-state-feedback-red-strong: Use for state layers with foreground/feedback/red.
2332
2350
  --v-color-state-feedback-red-medium: Use for state layers with foreground/feedback/red.
2333
2351
  --v-color-state-feedback-red-subtle: Use for state layers with foreground/feedback/red.
2334
- --v-color-state-always-black-strong: Use for state layers with foreground/feedback/red.
2352
+ --v-color-state-always-black-strong: Use for state layers with an always/black foreground color.
2335
2353
  --v-color-state-always-black-medium: Use for state layers with an always/black foreground color.
2336
2354
  --v-color-state-always-black-subtle: Use for state layers with an always/black foreground color.
2337
- --v-color-state-always-white-strong: Use for state layers with an always/black foreground color.
2355
+ --v-color-state-always-white-strong: Use for state layers with an always/white foreground color.
2338
2356
  --v-color-state-always-white-medium: Use for state layers with an always/white foreground color.
2339
2357
  --v-color-state-always-white-subtle: Use for state layers with an always/white foreground color.
2358
+ --v-border-width-default: Use for any UI element that needs a border in the default state.
2359
+ --v-border-width-selected: Use for any UI element that needs a border in the selected state.
2340
2360
  --v-space-2: Fixed 2px spacing
2341
2361
  --v-space-4: Fixed 4px spacing
2342
2362
  --v-space-8: Fixed 8px spacing
@@ -2357,8 +2377,6 @@ https://baymard.com/blog/line-length-readability
2357
2377
  --v-space-xl: Fluid spacing between 48px-72px.
2358
2378
  --v-space-2xl: Fluid spacing between 64px-128px.
2359
2379
  --v-space-gutter: The horizontal gap between grid columns. Fluid between 16px-32px.
2360
- --v-border-width-default: Use for any UI element that needs a border in the default state.
2361
- --v-border-width-selected: Use for any UI element that needs a border in the selected state.
2362
2380
  --v-size-overlay-narrow: Used to set the width of small overlays such as small dialogs, toasts
2363
2381
  --v-size-overlay-wide: Used to set the width of large overlays such as sheet, large dialogs
2364
2382
  --v-size-sidebar-narrow: Narrow sidebar width is 240 to 304 between lg and xl