@redis-ui/styles 14.9.3 → 14.13.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.
@@ -24,6 +24,6 @@ svg:not([fill]) {
24
24
  font-size: 62.5%;
25
25
  }
26
26
 
27
- body{
27
+ body {
28
28
  min-height: 100vh;
29
29
  }
@@ -6,7 +6,7 @@ export type ButtonStateColors = {
6
6
  textColor: string;
7
7
  borderColor?: string;
8
8
  };
9
- type ButtonVariants = 'primary' | 'destructive' | 'secondary-fill' | 'secondary-invert' | 'secondary-ghost' | 'upsell';
9
+ type ButtonVariants = 'primary' | 'destructive' | 'secondary-fill' | 'secondary-invert' | 'secondary-ghost' | 'upsell' | 'upsell-invert' | 'upsell-ghost';
10
10
  type ButtonSizes = 'large' | 'medium' | 'small';
11
11
  export type ButtonTheme = {
12
12
  gap: string;
@@ -1,6 +1,6 @@
1
1
  import { ButtonStateColors, ButtonStatesTheme } from './button.types';
2
2
  type TextButtonLayout = 'block' | 'inline';
3
- type TextButtonVariants = 'primary' | 'destructive' | 'primary-inline' | 'destructive-inline';
3
+ type TextButtonVariants = 'primary' | 'destructive' | 'secondary' | 'upsell' | 'primary-inline' | 'destructive-inline' | 'secondary-inline' | 'upsell-inline';
4
4
  type TextButtonSizes = 'medium' | 'small';
5
5
  export type TextButtonTheme = {
6
6
  layouts: Record<TextButtonLayout, {
@@ -4,7 +4,7 @@ export type BodySize = 'XL' | 'L' | 'M' | 'S' | 'XS';
4
4
  export type BodyVariant = 'regular' | 'semiBold' | 'italic';
5
5
  export type CodeSize = 'L' | 'M' | 'S';
6
6
  export type CodeVariant = 'regular' | 'semiBold';
7
- export type ColorType = 'primary' | 'secondary';
7
+ export type ColorType = 'primary' | 'secondary' | 'notice' | 'success' | 'attention' | 'danger' | 'upsell' | 'informative';
8
8
  export type TypoTheme = {
9
9
  colors: Record<ColorType, string>;
10
10
  heading: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@redis-ui/styles",
3
3
  "license": "UNLICENSED",
4
- "version": "14.9.3",
4
+ "version": "14.13.0",
5
5
  "repository": "git@github.com:redislabsdev/redis-ui.git",
6
6
  "type": "module",
7
7
  "files": [
@@ -19,10 +19,13 @@
19
19
  },
20
20
  "types": "./dist/index.d.ts",
21
21
  "scripts": {
22
- "transform": "style-dictionary build --config src/style-dictionary.config.cjs && npm run lint -- --fix src/tokens.ts",
22
+ "transform": "style-dictionary build --config src/style-dictionary.config.cjs && npm run format:fix -- src/tokens.ts",
23
23
  "build": "vite build",
24
24
  "deploy": "node ../../scripts/deploy.js",
25
- "lint": "eslint ./ --color --max-warnings=0"
25
+ "lint": "oxlint --deny-warnings",
26
+ "lint:fix": "oxlint --fix --deny-warnings",
27
+ "format": "oxfmt --check",
28
+ "format:fix": "oxfmt --write"
26
29
  },
27
30
  "peerDependencies": {
28
31
  "modern-normalize": "^3.0.1",
@@ -31,9 +34,8 @@
31
34
  "styled-components": "^5.0.0"
32
35
  },
33
36
  "devDependencies": {
34
- "@redislabsdev/eslint-config-redis-ui": "^2.0.0",
35
37
  "style-dictionary": "^3.7.2",
36
- "type-fest": "^3.13.1",
38
+ "type-fest": "^5.4.4",
37
39
  "typescript": "^5.9.3"
38
40
  },
39
41
  "dependencies": {