Socket
Socket
Sign inDemoInstall

@sentry/types

Package Overview
Dependencies
Maintainers
11
Versions
466
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry/types - npm Package Compare versions

Comparing version 8.0.0-rc.3 to 8.0.0

2

package.json
{
"name": "@sentry/types",
"version": "8.0.0-rc.3",
"version": "8.0.0",
"description": "Types for all Sentry JavaScript SDKs",

@@ -5,0 +5,0 @@ "repository": "git://github.com/getsentry/sentry-javascript.git",

@@ -1,136 +0,35 @@

interface BaseStyles {
export interface FeedbackTheme {
/**
* Foreground color (i.e. text color)
*/
foreground: string;
foreground?: string;
/**
* Success color
* Background color for surfaces
*/
successForeground: string;
background?: string;
/**
* Error color
* Foreground color for accented elements
*/
errorForeground: string;
accentForeground?: string;
/**
* Background color for actor and dialog
* Background color for accented elements
*/
background: string;
accentBackground?: string;
/**
* Border styling for actor and dialog
* Success color
*/
border: string;
successColor?: string;
/**
* Box shadow for actor and dialog
* Error color
*/
boxShadow: string;
}
interface Input {
errorColor?: string;
/**
* Foreground color for form inputs
* Box shadow for floating elements
*/
inputForeground: string;
boxShadow?: string;
/**
* Background color for form inputs
* Styles for focused interactive components
*/
inputBackground: string;
/**
* Background color for form inputs, in the hover state
*/
inputBackgroundHover: string;
/**
* Background color for form inputs, in the focus state
*/
inputBackgroundFocus: string;
/**
* Border styles for form inputs
*/
inputBorder: string;
/**
* Border radius for form inputs
*/
inputBorderRadius: string;
/**
* Border styles for form inputs when focused
*/
inputOutlineFocus: string;
outline?: string;
}
interface Button {
/**
* Foreground color for buttons
*/
buttonForeground: string;
/**
* Foreground color for buttons, in the hover state
*/
buttonForegroundHover: string;
/**
* Background color for buttons
*/
buttonBackground: string;
/**
* Background color when hovering over buttons
*/
buttonBackgroundHover: string;
/**
* Border style for buttons
*/
buttonBorder: string;
/**
* Border style for buttons, in the focued state
*/
buttonOutlineFocus: string;
}
interface SubmitButton {
/**
* Foreground color for submit buttons
*/
submitForeground: string;
/**
* Foreground color for submit buttons, in the hover state
*/
submitForegroundHover: string;
/**
* Background color for submit buttons
*/
submitBackground: string;
/**
* Background color when hovering over submit buttons
*/
submitBackgroundHover: string;
/**
* Border style for submit buttons
*/
submitBorder: string;
/**
* Border style for submit buttons, in the focued state
*/
submitOutlineFocus: string;
}
interface Trigger {
/**
* Background color of the actor button
*/
triggerBackground: string;
/**
* Background color on hover
*/
triggerBackgroundHover: string;
/**
* Border radius styling for actor
*/
triggerBorderRadius: string;
}
interface Dialog {
/**
* Background color of the open dialog
*/
dialogBackground: string;
/**
* Border radius for dialog
*/
dialogBorderRadius: string;
}
export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
}
export {};
//# sourceMappingURL=theme.d.ts.map

@@ -1,136 +0,35 @@

interface BaseStyles {
export interface FeedbackTheme {
/**
* Foreground color (i.e. text color)
*/
foreground: string;
foreground?: string;
/**
* Success color
* Background color for surfaces
*/
successForeground: string;
background?: string;
/**
* Error color
* Foreground color for accented elements
*/
errorForeground: string;
accentForeground?: string;
/**
* Background color for actor and dialog
* Background color for accented elements
*/
background: string;
accentBackground?: string;
/**
* Border styling for actor and dialog
* Success color
*/
border: string;
successColor?: string;
/**
* Box shadow for actor and dialog
* Error color
*/
boxShadow: string;
}
interface Input {
errorColor?: string;
/**
* Foreground color for form inputs
* Box shadow for floating elements
*/
inputForeground: string;
boxShadow?: string;
/**
* Background color for form inputs
* Styles for focused interactive components
*/
inputBackground: string;
/**
* Background color for form inputs, in the hover state
*/
inputBackgroundHover: string;
/**
* Background color for form inputs, in the focus state
*/
inputBackgroundFocus: string;
/**
* Border styles for form inputs
*/
inputBorder: string;
/**
* Border radius for form inputs
*/
inputBorderRadius: string;
/**
* Border styles for form inputs when focused
*/
inputOutlineFocus: string;
outline?: string;
}
interface Button {
/**
* Foreground color for buttons
*/
buttonForeground: string;
/**
* Foreground color for buttons, in the hover state
*/
buttonForegroundHover: string;
/**
* Background color for buttons
*/
buttonBackground: string;
/**
* Background color when hovering over buttons
*/
buttonBackgroundHover: string;
/**
* Border style for buttons
*/
buttonBorder: string;
/**
* Border style for buttons, in the focued state
*/
buttonOutlineFocus: string;
}
interface SubmitButton {
/**
* Foreground color for submit buttons
*/
submitForeground: string;
/**
* Foreground color for submit buttons, in the hover state
*/
submitForegroundHover: string;
/**
* Background color for submit buttons
*/
submitBackground: string;
/**
* Background color when hovering over submit buttons
*/
submitBackgroundHover: string;
/**
* Border style for submit buttons
*/
submitBorder: string;
/**
* Border style for submit buttons, in the focued state
*/
submitOutlineFocus: string;
}
interface Trigger {
/**
* Background color of the actor button
*/
triggerBackground: string;
/**
* Background color on hover
*/
triggerBackgroundHover: string;
/**
* Border radius styling for actor
*/
triggerBorderRadius: string;
}
interface Dialog {
/**
* Background color of the open dialog
*/
dialogBackground: string;
/**
* Border radius for dialog
*/
dialogBorderRadius: string;
}
export interface FeedbackTheme extends BaseStyles, Input, Button, SubmitButton, Trigger, Dialog {
}
export {};
//# sourceMappingURL=theme.d.ts.map

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