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

@lightningjs/solid-ui

Package Overview
Dependencies
Maintainers
8
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/solid-ui - npm Package Compare versions

Comparing version 0.15.1 to 0.15.2

components/Artwork/Artwork.stories.tsx

23

components/Artwork/Artwork.styles.ts

@@ -18,23 +18,6 @@ /*

import type { NodeStyles } from '@lightningjs/solid';
import theme from 'theme';
import type { ComponentStyleConfig, NodeStyleSet, Tone } from '../../types/types.js';
import { makeComponentStyles } from '../../utils/index.js';
import type { ArtworkStyles, ArtworkConfig } from './Artwork.types.js';
export interface ArtworkStyles {
tone: Tone;
Container: NodeStyleSet<{ fillColor: NodeStyles['color']; gradientColor: NodeStyles['color'] }>;
}
type ArtworkStyleProperties = Partial<{
fallbackSrc: NodeStyles['src'];
fillColor: NodeStyles['color'];
gradientColor: NodeStyles['color'];
imageScale: NodeStyles['scale'];
imageScalePivotX: NodeStyles['pivotX'];
imageScalePivotY: NodeStyles['pivotY'];
}>;
type ArtworkConfig = ComponentStyleConfig<ArtworkStyleProperties>;
/* @ts-expect-error next-line themes are supplied by client applications so this setup is necessary */

@@ -45,6 +28,8 @@ const { Artwork: { defaultTone, ...themeStyles } = { themeStyles: {} } } = theme?.componentConfig;

themeKeys: {
fallbackSrc: 'fallbackSrc',
fillColor: 'fillColor',
scale: 'imageScale',
pivotX: 'imageScalePivotX',
pivotY: 'imageScalePivotY'
pivotY: 'imageScalePivotY',
borderRadius: 'radius'
},

@@ -51,0 +36,0 @@ base: {

@@ -1,2 +0,3 @@

export { default as default, type ArtworkProps } from './Artwork.jsx';
export { default as artworkStyles, type ArtworkStyles } from './Artwork.styles.js';
export { default as default } from './Artwork.jsx';
export { default as artworkStyles } from './Artwork.styles.js';
export type { ArtworkProps, ArtworkStyles } from './Artwork.types.js';
{
"name": "@lightningjs/solid-ui",
"version": "0.15.1",
"version": "0.15.2",
"description": "A shared library of components for the LightningJS Solid Framework.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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

Sorry, the diff of this file is too big to display

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