@redsift/design-system 12.6.4 → 12.6.5
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.
- package/_internal/colors.js +4 -1
- package/_internal/colors.js.map +1 -1
- package/index.d.ts +5 -1
- package/package.json +3 -3
package/_internal/colors.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { a as _objectSpread2 } from './_rollupPluginBabelHelpers.js';
|
|
2
|
-
import { rsiAsmHorizontal, rsiBrandTrustHorizontal, rsiCertificatesHorizontal, rsiOndmarcHorizontal, rsiPulseHorizontal, rsiRadarHorizontal, rsiRojoDsHorizontal, rsiVendorSecureHorizontal, rsiRedSiftHorizontal } from '@redsift/icons';
|
|
2
|
+
import { rsiAsmHorizontal, rsiBrandTrustHorizontal, rsiCertificatesHorizontal, rsiHardenizeHorizontal, rsiOndmarcHorizontal, rsiPulseHorizontal, rsiRadarHorizontal, rsiRojoDsHorizontal, rsiVendorSecureHorizontal, rsiRedSiftHorizontal } from '@redsift/icons';
|
|
3
3
|
|
|
4
4
|
const Product = {
|
|
5
5
|
asm: 'asm',
|
|
6
6
|
'brand-trust': 'brand-trust',
|
|
7
7
|
certificates: 'certificates',
|
|
8
|
+
hardenize: 'hardenize',
|
|
8
9
|
ondmarc: 'ondmarc',
|
|
9
10
|
pulse: 'pulse',
|
|
10
11
|
radar: 'radar',
|
|
@@ -16,6 +17,7 @@ const ProductName = {
|
|
|
16
17
|
asm: 'ASM',
|
|
17
18
|
'brand-trust': 'Brand Trust',
|
|
18
19
|
certificates: 'Certificates',
|
|
20
|
+
hardenize: 'Hardenize',
|
|
19
21
|
ondmarc: 'OnDMARC',
|
|
20
22
|
pulse: 'Pulse',
|
|
21
23
|
radar: 'RADAR',
|
|
@@ -27,6 +29,7 @@ const ProductLogo = {
|
|
|
27
29
|
asm: rsiAsmHorizontal,
|
|
28
30
|
'brand-trust': rsiBrandTrustHorizontal,
|
|
29
31
|
certificates: rsiCertificatesHorizontal,
|
|
32
|
+
hardenize: rsiHardenizeHorizontal,
|
|
30
33
|
ondmarc: rsiOndmarcHorizontal,
|
|
31
34
|
pulse: rsiPulseHorizontal,
|
|
32
35
|
radar: rsiRadarHorizontal,
|
package/_internal/colors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"colors.js","sources":["../../src/types/products.ts","../../src/types/colors.ts"],"sourcesContent":["import {\n rsiAsmHorizontal,\n rsiBrandTrustHorizontal,\n rsiCertificatesHorizontal,\n rsiOndmarcHorizontal,\n rsiPulseHorizontal,\n rsiRadarHorizontal,\n rsiRedSiftHorizontal,\n rsiRojoDsHorizontal,\n rsiVendorSecureHorizontal,\n} from '@redsift/icons';\nimport { ValueOf } from './helpers';\n\nexport const Product = {\n asm: 'asm',\n 'brand-trust': 'brand-trust',\n certificates: 'certificates',\n ondmarc: 'ondmarc',\n pulse: 'pulse',\n radar: 'radar',\n 'rojo-ds': 'rojo-ds',\n 'vendor-secure': 'vendor-secure',\n website: 'website',\n} as const;\nexport type Product = ValueOf<typeof Product>;\n\nexport const ProductName = {\n asm: 'ASM',\n 'brand-trust': 'Brand Trust',\n certificates: 'Certificates',\n ondmarc: 'OnDMARC',\n pulse: 'Pulse',\n radar: 'RADAR',\n 'rojo-ds': 'ROJO DS',\n 'vendor-secure': 'Vendor Secure',\n website: 'Website',\n} as const;\nexport type ProductName = ValueOf<typeof ProductName>;\n\nexport const ProductLogo = {\n asm: rsiAsmHorizontal,\n 'brand-trust': rsiBrandTrustHorizontal,\n certificates: rsiCertificatesHorizontal,\n ondmarc: rsiOndmarcHorizontal,\n pulse: rsiPulseHorizontal,\n radar: rsiRadarHorizontal,\n 'rojo-ds': rsiRojoDsHorizontal,\n 'vendor-secure': rsiVendorSecureHorizontal,\n website: rsiRedSiftHorizontal,\n} as const;\nexport type ProductLogo = ValueOf<typeof ProductLogo>;\n","import { Product } from './products';\nimport { ValueOf } from './helpers';\n\n/**\n * Color palette.\n */\nexport const Theme = {\n light: 'light',\n dark: 'dark',\n} as const;\nexport type Theme = ValueOf<typeof Theme>;\n\nexport const PrimaryColorPalette = {\n primary: 'primary',\n secondary: 'secondary',\n error: 'error',\n} as const;\nexport type PrimaryColorPalette = ValueOf<typeof PrimaryColorPalette>;\n\nexport const SecondaryColorPalette = {\n success: 'success',\n warning: 'warning',\n info: 'info',\n} as const;\nexport type SecondaryColorPalette = ValueOf<typeof SecondaryColorPalette>;\n\nexport const ColorPalette = {\n ...PrimaryColorPalette,\n ...SecondaryColorPalette,\n} as const;\nexport type ColorPalette = PrimaryColorPalette & SecondaryColorPalette;\n\nexport const PrimaryButtonsColorPalette = {\n primary: 'primary',\n secondary: 'secondary',\n error: 'error',\n success: 'success',\n warning: 'warning',\n grey: 'grey',\n radar: 'radar',\n};\nexport const ButtonsColorPalette = {\n ...PrimaryButtonsColorPalette,\n white: 'white',\n black: 'black',\n info: 'info',\n} as const;\nexport type PrimaryButtonsColorPalette = ValueOf<typeof PrimaryButtonsColorPalette>;\nexport type ButtonsColorPalette = ValueOf<typeof ButtonsColorPalette>;\n\nexport const NotificationsColorPalette = {\n ...ColorPalette,\n question: 'question',\n 'no-data': 'no-data',\n} as const;\nexport type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;\n\nexport const ProductColorPalette = Product;\nexport type ProductColorPalette = ValueOf<typeof ProductColorPalette>;\n\nexport const PresentationColorPalette = {\n green: 'green',\n pink: 'pink',\n aqua: 'aqua',\n brown: 'brown',\n red: 'red',\n yellow: 'yellow',\n purple: 'purple',\n orange: 'orange',\n blue: 'blue',\n grey: 'grey',\n} as const;\nexport type PresentationColorPalette = ValueOf<typeof PresentationColorPalette>;\n\nexport const NeutralColorPalette = {\n black: 'black',\n 'x-dark-grey': 'x-dark-grey',\n 'dark-grey': 'dark-grey',\n 'mid-grey': 'mid-grey',\n 'light-grey': 'light-grey',\n 'x-light-grey': 'x-light-grey',\n white: 'white',\n} as const;\nexport type NeutralColorPalette = ValueOf<typeof NeutralColorPalette>;\n"],"names":["Product","asm","certificates","ondmarc","pulse","radar","website","ProductName","ProductLogo","rsiAsmHorizontal","rsiBrandTrustHorizontal","rsiCertificatesHorizontal","rsiOndmarcHorizontal","rsiPulseHorizontal","rsiRadarHorizontal","rsiRojoDsHorizontal","rsiVendorSecureHorizontal","rsiRedSiftHorizontal","Theme","light","dark","PrimaryColorPalette","primary","secondary","error","SecondaryColorPalette","success","warning","info","ColorPalette","_objectSpread","PrimaryButtonsColorPalette","grey","ButtonsColorPalette","white","black","NotificationsColorPalette","question","ProductColorPalette","PresentationColorPalette","green","pink","aqua","brown","red","yellow","purple","orange","blue","NeutralColorPalette"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"colors.js","sources":["../../src/types/products.ts","../../src/types/colors.ts"],"sourcesContent":["import {\n rsiAsmHorizontal,\n rsiBrandTrustHorizontal,\n rsiCertificatesHorizontal,\n rsiHardenizeHorizontal,\n rsiOndmarcHorizontal,\n rsiPulseHorizontal,\n rsiRadarHorizontal,\n rsiRedSiftHorizontal,\n rsiRojoDsHorizontal,\n rsiVendorSecureHorizontal,\n} from '@redsift/icons';\nimport { ValueOf } from './helpers';\n\nexport const Product = {\n asm: 'asm',\n 'brand-trust': 'brand-trust',\n certificates: 'certificates',\n hardenize: 'hardenize',\n ondmarc: 'ondmarc',\n pulse: 'pulse',\n radar: 'radar',\n 'rojo-ds': 'rojo-ds',\n 'vendor-secure': 'vendor-secure',\n website: 'website',\n} as const;\nexport type Product = ValueOf<typeof Product>;\n\nexport const ProductName = {\n asm: 'ASM',\n 'brand-trust': 'Brand Trust',\n certificates: 'Certificates',\n hardenize: 'Hardenize',\n ondmarc: 'OnDMARC',\n pulse: 'Pulse',\n radar: 'RADAR',\n 'rojo-ds': 'ROJO DS',\n 'vendor-secure': 'Vendor Secure',\n website: 'Website',\n} as const;\nexport type ProductName = ValueOf<typeof ProductName>;\n\nexport const ProductLogo = {\n asm: rsiAsmHorizontal,\n 'brand-trust': rsiBrandTrustHorizontal,\n certificates: rsiCertificatesHorizontal,\n hardenize: rsiHardenizeHorizontal,\n ondmarc: rsiOndmarcHorizontal,\n pulse: rsiPulseHorizontal,\n radar: rsiRadarHorizontal,\n 'rojo-ds': rsiRojoDsHorizontal,\n 'vendor-secure': rsiVendorSecureHorizontal,\n website: rsiRedSiftHorizontal,\n} as const;\nexport type ProductLogo = ValueOf<typeof ProductLogo>;\n","import { Product } from './products';\nimport { ValueOf } from './helpers';\n\n/**\n * Color palette.\n */\nexport const Theme = {\n light: 'light',\n dark: 'dark',\n} as const;\nexport type Theme = ValueOf<typeof Theme>;\n\nexport const PrimaryColorPalette = {\n primary: 'primary',\n secondary: 'secondary',\n error: 'error',\n} as const;\nexport type PrimaryColorPalette = ValueOf<typeof PrimaryColorPalette>;\n\nexport const SecondaryColorPalette = {\n success: 'success',\n warning: 'warning',\n info: 'info',\n} as const;\nexport type SecondaryColorPalette = ValueOf<typeof SecondaryColorPalette>;\n\nexport const ColorPalette = {\n ...PrimaryColorPalette,\n ...SecondaryColorPalette,\n} as const;\nexport type ColorPalette = PrimaryColorPalette & SecondaryColorPalette;\n\nexport const PrimaryButtonsColorPalette = {\n primary: 'primary',\n secondary: 'secondary',\n error: 'error',\n success: 'success',\n warning: 'warning',\n grey: 'grey',\n radar: 'radar',\n};\nexport const ButtonsColorPalette = {\n ...PrimaryButtonsColorPalette,\n white: 'white',\n black: 'black',\n info: 'info',\n} as const;\nexport type PrimaryButtonsColorPalette = ValueOf<typeof PrimaryButtonsColorPalette>;\nexport type ButtonsColorPalette = ValueOf<typeof ButtonsColorPalette>;\n\nexport const NotificationsColorPalette = {\n ...ColorPalette,\n question: 'question',\n 'no-data': 'no-data',\n} as const;\nexport type NotificationsColorPalette = ValueOf<typeof NotificationsColorPalette>;\n\nexport const ProductColorPalette = Product;\nexport type ProductColorPalette = ValueOf<typeof ProductColorPalette>;\n\nexport const PresentationColorPalette = {\n green: 'green',\n pink: 'pink',\n aqua: 'aqua',\n brown: 'brown',\n red: 'red',\n yellow: 'yellow',\n purple: 'purple',\n orange: 'orange',\n blue: 'blue',\n grey: 'grey',\n} as const;\nexport type PresentationColorPalette = ValueOf<typeof PresentationColorPalette>;\n\nexport const NeutralColorPalette = {\n black: 'black',\n 'x-dark-grey': 'x-dark-grey',\n 'dark-grey': 'dark-grey',\n 'mid-grey': 'mid-grey',\n 'light-grey': 'light-grey',\n 'x-light-grey': 'x-light-grey',\n white: 'white',\n} as const;\nexport type NeutralColorPalette = ValueOf<typeof NeutralColorPalette>;\n"],"names":["Product","asm","certificates","hardenize","ondmarc","pulse","radar","website","ProductName","ProductLogo","rsiAsmHorizontal","rsiBrandTrustHorizontal","rsiCertificatesHorizontal","rsiHardenizeHorizontal","rsiOndmarcHorizontal","rsiPulseHorizontal","rsiRadarHorizontal","rsiRojoDsHorizontal","rsiVendorSecureHorizontal","rsiRedSiftHorizontal","Theme","light","dark","PrimaryColorPalette","primary","secondary","error","SecondaryColorPalette","success","warning","info","ColorPalette","_objectSpread","PrimaryButtonsColorPalette","grey","ButtonsColorPalette","white","black","NotificationsColorPalette","question","ProductColorPalette","PresentationColorPalette","green","pink","aqua","brown","red","yellow","purple","orange","blue","NeutralColorPalette"],"mappings":";;;AAcO,MAAMA,OAAO,GAAG;AACrBC,EAAAA,GAAG,EAAE,KAAK;AACV,EAAA,aAAa,EAAE,aAAa;AAC5BC,EAAAA,YAAY,EAAE,cAAc;AAC5BC,EAAAA,SAAS,EAAE,WAAW;AACtBC,EAAAA,OAAO,EAAE,SAAS;AAClBC,EAAAA,KAAK,EAAE,OAAO;AACdC,EAAAA,KAAK,EAAE,OAAO;AACd,EAAA,SAAS,EAAE,SAAS;AACpB,EAAA,eAAe,EAAE,eAAe;AAChCC,EAAAA,OAAO,EAAE,SAAA;AACX,EAAU;AAGH,MAAMC,WAAW,GAAG;AACzBP,EAAAA,GAAG,EAAE,KAAK;AACV,EAAA,aAAa,EAAE,aAAa;AAC5BC,EAAAA,YAAY,EAAE,cAAc;AAC5B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";
|
|
38
38
|
readonly 'brand-trust': "brand-trust";
|
|
39
39
|
readonly certificates: "certificates";
|
|
40
|
+
readonly hardenize: "hardenize";
|
|
40
41
|
readonly ondmarc: "ondmarc";
|
|
41
42
|
readonly pulse: "pulse";
|
|
42
43
|
readonly radar: "radar";
|
|
@@ -49,6 +50,7 @@ declare const ProductName: {
|
|
|
49
50
|
readonly asm: "ASM";
|
|
50
51
|
readonly 'brand-trust': "Brand Trust";
|
|
51
52
|
readonly certificates: "Certificates";
|
|
53
|
+
readonly hardenize: "Hardenize";
|
|
52
54
|
readonly ondmarc: "OnDMARC";
|
|
53
55
|
readonly pulse: "Pulse";
|
|
54
56
|
readonly radar: "RADAR";
|
|
@@ -61,6 +63,7 @@ declare const ProductLogo: {
|
|
|
61
63
|
readonly asm: JSX.Element;
|
|
62
64
|
readonly 'brand-trust': JSX.Element;
|
|
63
65
|
readonly certificates: JSX.Element;
|
|
66
|
+
readonly hardenize: JSX.Element;
|
|
64
67
|
readonly ondmarc: JSX.Element;
|
|
65
68
|
readonly pulse: JSX.Element;
|
|
66
69
|
readonly radar: JSX.Element;
|
|
@@ -137,6 +140,7 @@ declare const ProductColorPalette: {
|
|
|
137
140
|
readonly asm: "asm";
|
|
138
141
|
readonly 'brand-trust': "brand-trust";
|
|
139
142
|
readonly certificates: "certificates";
|
|
143
|
+
readonly hardenize: "hardenize";
|
|
140
144
|
readonly ondmarc: "ondmarc";
|
|
141
145
|
readonly pulse: "pulse";
|
|
142
146
|
readonly radar: "radar";
|
|
@@ -3121,7 +3125,7 @@ interface AppContainerProps extends ComponentProps<'div'> {
|
|
|
3121
3125
|
isFullScreen?: boolean;
|
|
3122
3126
|
/** The locale to apply to the children. */
|
|
3123
3127
|
locale?: string;
|
|
3124
|
-
/** Product
|
|
3128
|
+
/** Product name and logo for the app shell. Hardenize uses the same styling as ASM. */
|
|
3125
3129
|
product?: Product | {
|
|
3126
3130
|
name: string;
|
|
3127
3131
|
logo?: ReactElement;
|
package/package.json
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"version": "version-changelog ../../CHANGELOG.md && changelog-verify ../../CHANGELOG.md && git add ../../CHANGELOG.md"
|
|
34
34
|
},
|
|
35
35
|
"types": "index.d.ts",
|
|
36
|
-
"version": "12.6.
|
|
36
|
+
"version": "12.6.5",
|
|
37
37
|
"dependencies": {
|
|
38
38
|
"@react-spring/web": "^9.7.1",
|
|
39
39
|
"classnames": "^2.3.1",
|
|
@@ -94,10 +94,10 @@
|
|
|
94
94
|
"version-changelog": "^3.1.1"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {
|
|
97
|
-
"@redsift/icons": "^12.6.
|
|
97
|
+
"@redsift/icons": "^12.6.5-0",
|
|
98
98
|
"react": ">=17",
|
|
99
99
|
"react-dom": ">=17",
|
|
100
100
|
"styled-components": "6.1.19"
|
|
101
101
|
},
|
|
102
|
-
"gitHead": "
|
|
102
|
+
"gitHead": "1e0cf6ea0ec54952f19a17e55068b7d4e7a31ff2"
|
|
103
103
|
}
|