Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@kong/design-tokens

Package Overview
Dependencies
Maintainers
2
Versions
327
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kong/design-tokens - npm Package Compare versions

Comparing version 1.1.5-pr.29.a1cedae.0 to 1.1.5

2

dist/tokens/js/index.d.ts
/**
* Do not edit directly
* Generated on Thu, 29 Jun 2023 19:11:58 GMT
* Generated on Thu, 29 Jun 2023 20:04:34 GMT
*

@@ -5,0 +5,0 @@ * GitHub: https://github.com/Kong/design-tokens

/**
* Do not edit directly
* Generated on Thu, 29 Jun 2023 19:11:58 GMT
* Generated on Thu, 29 Jun 2023 20:04:34 GMT
*

@@ -5,0 +5,0 @@ * GitHub: https://github.com/Kong/design-tokens

{
"name": "@kong/design-tokens",
"version": "1.1.5-pr.29.a1cedae.0",
"version": "1.1.5",
"description": "Kong UI Design Tokens and style dictionary",

@@ -5,0 +5,0 @@ "scripts": {

@@ -16,2 +16,3 @@ # Kong UI Design Tokens

- [VS Code extensions](#vs-code-extensions)
- [Server-Side Rendering (SSR)](#server-side-rendering-ssr)
- [Development Sandbox](#development-sandbox)

@@ -113,2 +114,21 @@ - [Lint and fix](#lint-and-fix)

### Server-Side Rendering (SSR)
If your host app utilizes SSR, you may need to resolve aliases to the package exports.
For example, for a VitePress site, add the following to your `vite.config.ts`
```ts
export default defineConfig({
resolve: {
alias: {
// We must alias `@kong/design-tokens` imports to specifically utilize the esm build
'@kong/design-tokens/tokens/scss/variables': path.resolve(__dirname, '../node_modules/@kong/design-tokens/dist/tokens/scss/variables.scss'),
'@kong/design-tokens': path.resolve(__dirname, '../node_modules/@kong/design-tokens/dist/tokens/js/'),
},
},
})
```
### Development Sandbox

@@ -115,0 +135,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc