@stella-source/stellasource-dsl 0.0.26 → 0.0.29
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/README.md +53 -20
- package/dist/cjs/index.js +3545 -38340
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/styles.css +73 -2
- package/dist/cjs/types/components/Button/Button.stories.d.ts +0 -1
- package/dist/cjs/types/components/Button/styles.d.ts +1 -4
- package/dist/cjs/types/components/HelperText/styles.d.ts +0 -1
- package/dist/cjs/types/components/IconButton/IconButton.stories.d.ts +0 -1
- package/dist/cjs/types/components/IconButton/styles.d.ts +1 -4
- package/dist/cjs/types/components/Label/Label.stories.d.ts +0 -1
- package/dist/cjs/types/components/Label/styles.d.ts +1 -2
- package/dist/cjs/types/components/Loader/Loader.d.ts +1 -1
- package/dist/cjs/types/components/Loader/Loader.stories.d.ts +4 -2
- package/dist/cjs/types/components/Loader/styles.d.ts +1 -4
- package/dist/cjs/types/components/Loader/types.d.ts +2 -0
- package/dist/cjs/types/components/StellaIcon/StellaIcon.stories.d.ts +0 -1
- package/dist/{esm/types/components/TextField(UC) → cjs/types/components/TextField}/TextField.d.ts +1 -1
- package/dist/{esm/types/components/TextField(UC) → cjs/types/components/TextField}/styles.d.ts +3 -2
- package/dist/cjs/types/components/{TextField(UC) → TextField}/types.d.ts +38 -7
- package/dist/cjs/types/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/cjs/types/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/cjs/types/components/Tooltip/types.d.ts +3 -3
- package/dist/cjs/types/index.d.ts +13 -1
- package/dist/cjs/types/shared/storyComponents/ColorBox.d.ts +5 -0
- package/dist/cjs/types/shared/storyComponents/TokenTable.d.ts +6 -0
- package/dist/cjs/types/shared/tokens/index.d.ts +50 -9
- package/dist/cjs/types/shared/tokens/storybook/color.d.ts +73 -0
- package/dist/cjs/types/shared/tokens/storybook/font.d.ts +24 -0
- package/dist/cjs/types/shared/utils/testing.d.ts +2 -3
- package/dist/esm/index.esm.js +3520 -38340
- package/dist/esm/index.esm.js.map +1 -1
- package/dist/esm/styles.css +73 -2
- package/dist/esm/types/components/Button/Button.stories.d.ts +0 -1
- package/dist/esm/types/components/Button/styles.d.ts +1 -4
- package/dist/esm/types/components/HelperText/styles.d.ts +0 -1
- package/dist/esm/types/components/IconButton/IconButton.stories.d.ts +0 -1
- package/dist/esm/types/components/IconButton/styles.d.ts +1 -4
- package/dist/esm/types/components/Label/Label.stories.d.ts +0 -1
- package/dist/esm/types/components/Label/styles.d.ts +1 -2
- package/dist/esm/types/components/Loader/Loader.d.ts +1 -1
- package/dist/esm/types/components/Loader/Loader.stories.d.ts +4 -2
- package/dist/esm/types/components/Loader/styles.d.ts +1 -4
- package/dist/esm/types/components/Loader/types.d.ts +2 -0
- package/dist/esm/types/components/StellaIcon/StellaIcon.stories.d.ts +0 -1
- package/dist/{cjs/types/components/TextField(UC) → esm/types/components/TextField}/TextField.d.ts +1 -1
- package/dist/{cjs/types/components/TextField(UC) → esm/types/components/TextField}/styles.d.ts +3 -2
- package/dist/esm/types/components/{TextField(UC) → TextField}/types.d.ts +38 -7
- package/dist/esm/types/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/esm/types/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/esm/types/components/Tooltip/types.d.ts +3 -3
- package/dist/esm/types/index.d.ts +13 -1
- package/dist/esm/types/shared/storyComponents/ColorBox.d.ts +5 -0
- package/dist/esm/types/shared/storyComponents/TokenTable.d.ts +6 -0
- package/dist/esm/types/shared/tokens/index.d.ts +50 -9
- package/dist/esm/types/shared/tokens/storybook/color.d.ts +73 -0
- package/dist/esm/types/shared/tokens/storybook/font.d.ts +24 -0
- package/dist/esm/types/shared/utils/testing.d.ts +2 -3
- package/dist/index.d.ts +157 -1
- package/package.json +2 -1
- package/dist/cjs/styles.css.map +0 -1
- package/dist/cjs/types/shared/tokens/color.d.ts +0 -18
- package/dist/esm/styles.css.map +0 -1
- package/dist/esm/types/shared/tokens/color.d.ts +0 -18
- /package/dist/cjs/types/components/{TextField(UC) → TextField}/TextField.stories.d.ts +0 -0
- /package/dist/esm/types/components/{TextField(UC) → TextField}/TextField.stories.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React, { HTMLAttributes, ReactElement } from 'react';
|
|
2
|
+
import { TooltipProps as TooltipProps$1 } from 'antd';
|
|
2
3
|
|
|
3
4
|
interface LabelProps {
|
|
4
5
|
id: string;
|
|
@@ -25,4 +26,159 @@ interface LabelWithChildrenProps {
|
|
|
25
26
|
|
|
26
27
|
declare const Label: ({ hideLabel, labelValue, required, tooltipText, children, htmlFor, htmlProps, id, className, }: LabelProps | LabelWithChildrenProps) => React.JSX.Element;
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
declare enum ButtonIcons {
|
|
30
|
+
ADD = "add",
|
|
31
|
+
CHEVRON_DOWN = "chevron-down"
|
|
32
|
+
}
|
|
33
|
+
declare enum ButtonVariant {
|
|
34
|
+
PRIMARY = "primary",
|
|
35
|
+
SECONDARY = "secondary",
|
|
36
|
+
TERTIARY = "tertiary"
|
|
37
|
+
}
|
|
38
|
+
interface ButtonProps {
|
|
39
|
+
label: string;
|
|
40
|
+
onClick: () => void;
|
|
41
|
+
id?: string;
|
|
42
|
+
className?: string;
|
|
43
|
+
isLoading?: boolean;
|
|
44
|
+
startIcon?: `${ButtonIcons}`;
|
|
45
|
+
endIcon?: `${ButtonIcons}`;
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
variant?: `${ButtonVariant}`;
|
|
48
|
+
htmlProps?: HTMLAttributes<HTMLButtonElement>;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
declare const Button: ({ disabled, variant, label, startIcon, endIcon, isLoading, className, id, htmlProps, onClick, }: ButtonProps) => React.JSX.Element;
|
|
52
|
+
|
|
53
|
+
interface LoaderProps {
|
|
54
|
+
size?: number;
|
|
55
|
+
dataTestId?: string;
|
|
56
|
+
color?: string;
|
|
57
|
+
className?: string;
|
|
58
|
+
id?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
declare const Loader: ({ size, dataTestId, color, className, id, }: LoaderProps) => React.JSX.Element;
|
|
62
|
+
|
|
63
|
+
declare enum HelperTextType {
|
|
64
|
+
ERROR = "error",
|
|
65
|
+
INFO = "info"
|
|
66
|
+
}
|
|
67
|
+
interface HelperTextProps {
|
|
68
|
+
text: string;
|
|
69
|
+
id?: string;
|
|
70
|
+
className?: string;
|
|
71
|
+
affectLayout?: boolean;
|
|
72
|
+
type?: `${HelperTextType}`;
|
|
73
|
+
htmlProps?: HTMLAttributes<HTMLDivElement>;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
declare const HelperText: ({ id, className, affectLayout, text, type, htmlProps, }: HelperTextProps) => React.JSX.Element;
|
|
77
|
+
|
|
78
|
+
declare enum TooltipIconType {
|
|
79
|
+
WARNING = "warning",
|
|
80
|
+
INFO = "info"
|
|
81
|
+
}
|
|
82
|
+
interface TooltipProps {
|
|
83
|
+
title: string;
|
|
84
|
+
placement: "top" | "bottom" | "left" | "right" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "leftTop" | "leftBottom" | "rightTop" | "rightBottom";
|
|
85
|
+
type?: `${TooltipIconType}`;
|
|
86
|
+
ariaLabel?: string;
|
|
87
|
+
iconSize?: number;
|
|
88
|
+
id?: string;
|
|
89
|
+
className?: string;
|
|
90
|
+
htmlProps?: TooltipProps$1;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare const Tooltip: ({ title, placement, type, ariaLabel, iconSize, htmlProps, className, id, }: TooltipProps) => React.JSX.Element;
|
|
94
|
+
|
|
95
|
+
type StellaIconDefinition = "search" | "required" | "help" | "info" | "kebab-menu" | "error" | "warning" | "filter" | "sort" | "close" | "add" | "stella-logo" | "chevron-right" | "chevron-down" | "caret-right" | "caret-down" | "success" | "in-progress" | "complete" | "calendar" | "unlocked" | "locked" | "settings" | "preferences" | "account-settings" | "user" | "company-details" | "collapse" | "expand" | "star-filled" | "star-outline" | "dashboard" | "shopping-cart" | "calculator" | "pricing-strategies" | "stella-finance" | "resource-center" | "line-item-pricing" | "basket-pricing" | "paperclip" | "thumbs-up" | "thumbs-down" | "send" | "palette";
|
|
96
|
+
interface StellaIconProps {
|
|
97
|
+
iconName: StellaIconDefinition;
|
|
98
|
+
size?: number;
|
|
99
|
+
color?: string;
|
|
100
|
+
className?: string;
|
|
101
|
+
dataTestId?: string;
|
|
102
|
+
id?: string;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
declare const StellaIcon: ({ iconName, size, color, className, id, dataTestId, }: StellaIconProps) => React.JSX.Element;
|
|
106
|
+
|
|
107
|
+
interface IconButtonProps {
|
|
108
|
+
iconName: `${StellaIconDefinition}`;
|
|
109
|
+
ariaLabel: string;
|
|
110
|
+
size?: number;
|
|
111
|
+
onClick: () => void;
|
|
112
|
+
id?: string;
|
|
113
|
+
className?: string;
|
|
114
|
+
isLoading?: boolean;
|
|
115
|
+
disabled?: boolean;
|
|
116
|
+
variant?: `${ButtonVariant}`;
|
|
117
|
+
htmlProps?: HTMLAttributes<HTMLButtonElement>;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
declare const IconButton: ({ iconName, onClick, disabled, variant, isLoading, ariaLabel, className, id, htmlProps, size, }: IconButtonProps) => React.JSX.Element;
|
|
121
|
+
|
|
122
|
+
declare const Styles: {
|
|
123
|
+
color: {
|
|
124
|
+
white: string;
|
|
125
|
+
black: string;
|
|
126
|
+
transparent: string;
|
|
127
|
+
core: {
|
|
128
|
+
primary: string;
|
|
129
|
+
secondary: string;
|
|
130
|
+
tertiary: string;
|
|
131
|
+
quaternary: string;
|
|
132
|
+
accent: string;
|
|
133
|
+
};
|
|
134
|
+
grey: {
|
|
135
|
+
medium: string;
|
|
136
|
+
shadow: string;
|
|
137
|
+
light: string;
|
|
138
|
+
graphite: string;
|
|
139
|
+
charcoal: string;
|
|
140
|
+
smoke: string;
|
|
141
|
+
pale: string;
|
|
142
|
+
50: string;
|
|
143
|
+
100: string;
|
|
144
|
+
500: string;
|
|
145
|
+
};
|
|
146
|
+
blue: {
|
|
147
|
+
darkNavy: string;
|
|
148
|
+
primary: string;
|
|
149
|
+
sky: string;
|
|
150
|
+
light: string;
|
|
151
|
+
pale: string;
|
|
152
|
+
};
|
|
153
|
+
orange: {
|
|
154
|
+
primary: string;
|
|
155
|
+
light: string;
|
|
156
|
+
dark: string;
|
|
157
|
+
};
|
|
158
|
+
yellow: {
|
|
159
|
+
light: string;
|
|
160
|
+
};
|
|
161
|
+
states: {
|
|
162
|
+
error: string;
|
|
163
|
+
success: string;
|
|
164
|
+
warning: string;
|
|
165
|
+
};
|
|
166
|
+
};
|
|
167
|
+
font: {
|
|
168
|
+
fontSize: {
|
|
169
|
+
xs: string;
|
|
170
|
+
s: string;
|
|
171
|
+
m: string;
|
|
172
|
+
l: string;
|
|
173
|
+
xl: string;
|
|
174
|
+
xxl: string;
|
|
175
|
+
};
|
|
176
|
+
fontFamily: {
|
|
177
|
+
primary: string;
|
|
178
|
+
secondary: string;
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
|
|
183
|
+
export { Button, ButtonVariant, HelperText, IconButton, Label, Loader, StellaIcon, Styles, Tooltip };
|
|
184
|
+
export type { StellaIconDefinition };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stella-source/stellasource-dsl",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.29",
|
|
4
4
|
"description": "Design System owned and operated by Stella Source.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"@storybook/test": "^8.4.2",
|
|
33
33
|
"@testing-library/dom": "^10.1.0",
|
|
34
34
|
"@testing-library/jest-dom": "^6.4.6",
|
|
35
|
+
"@types/node": "^24.0.10",
|
|
35
36
|
"@vitest/coverage-v8": "^1.6.0",
|
|
36
37
|
"jsdom": "^24.1.0",
|
|
37
38
|
"postcss": "^8.4.38",
|
package/dist/cjs/styles.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["styles.css","tokens.css"],"names":[],"mappings":"AAAA,oBACE,+BAAkC,CAGlC,2BAA6B,CAC7B,8CAA0D,CAH1D,uBAAyB,CAIzB,cAAe,CACf,iBAAkB,CAClB,eAAgB,CAChB,eAAgB,CANhB,yBAOF,CAEA,oBAOE,kBAAmB,CANnB,eAAgB,CAChB,WAAY,CAGZ,YAAa,CACb,sBAAuB,CAFvB,YAAa,CADb,SAKF,CCpBA,MAGE,sBAAuB,CACvB,kBAAmB,CACnB,oBAAqB,CAGrB,qBAAsB,CACtB,aAAiB,CACjB,kBAAmB,CACnB,oBAAqB,CACrB,eAAmB,CACnB,eAAgB,CAChB,mBAAoB,CAIpB,gBAAiB,CAMjB,mBAAoB,CACpB,uBAAwB,CACxB,wBAAyB,CAGzB,mBAAoB,CACpB,kBAAmB,CACnB,mBAAoB,CACpB,oBAAqB,CACrB,uBAAwB,CACxB,gBAAiB,CACjB,aAAiB,CACjB,gBAAiB,CACjB,gBAAiB,CACjB,gBAAiB,CACjB,aAAiB,CACjB,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,sBAAuB,CACvB,sBAAuB,CACvB,qBAAsB,CACtB,iBAAkB,CAClB,mBAAoB,CACpB,sBAAuB,CACvB,mBAAoB,CACpB,gBAAiB,CAOjB,iBAAkB,CAClB,mBAAoB,CACpB,kBAAmB,CACnB,oBAAqB,CACrB,gBAAiB,CAEjB,iBAAkB,CAClB,iBAAkB,CAClB,aAAc,CACd,iBAAkB,CAClB,iBAAkB,CAClB,kBAAmB,CAEnB,wCAA0C,CAG1C,wBAAyB,CACzB,sBAAuB,CACvB,6BAA8B,CAC9B,yBAA0B,CAC1B,kCAAmC,CACnC,8BAA+B,CAC/B,uCAAwC,CACxC,6BAA8B,CAC9B,4BAA6B,CAC7B,+BAAgC,CAChC,iCAAkC,CAClC,+BAAgC,CAChC,sCAAuC,CACvC,mCAAoC,CACpC,iCAAkC,CAClC,sCAAuC,CACvC,6CAA8C,CAC9C,wCACF","file":"styles.css","sourcesContent":[".DSL-custom-tooltip {\n background-color: white !important;\n color: #4d4d4d !important;\n text-align: left !important;\n border-radius: 5px !important;\n box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) !important;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n max-width: 250px;\n}\n\n.DSL-tooltip-button {\n background: none;\n border: none;\n padding: 0;\n outline: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",":root {\n /* blues */\n --dark-navy: #1f4168;\n --primary-blue: #336dae; /* replaces: dark-blue */\n --sky-blue: #7099c6; /* replaces light-blue */\n --light-blue: #ebf0fa; /* replaces: lightest-blue */\n --pale-blue: #f8fafe;\n /* greys */\n --medium-grey: #c6c6c6; /* replaces: greyc6 */\n --shadow: #777777; /* replaces: grey77 */\n --charcoal: #4d4d4d; /* replaces: grey4D */\n --light-grey: #e6e6e6; /* replaces: greyE6*/\n --graphite: #222222; /* replces: grey22 */\n --smoke: #9f9f9f; /* replaces: grey9F */\n --pale-grey: #f5f5f5; /* replaces: bg-light and greyF5 */\n --grey100: #d5dbe5;\n --grey500: #687182;\n /* oranges */\n --orange: #ff7600; /* replaces: active-color */\n --light-orange: #ff9133;\n --dark-orange: #cc5e00;\n /* yellows */\n --light-yellow: #fffdeb;\n /* states */\n --error-red: #bc3d39; /* replaces: red-rfq */\n --success-green: #108a53; /* replaces: green-rfq */\n --warning-yellow: #ffb75d; /* replaces: yellow */\n\n /* for testing purposes */\n --dark-navy: #1f4168;\n --bg-light: #f5f5f5;\n --dark-blue: #336dae;\n --light-blue: #7099c6;\n --lightest-blue: #ebf0fa;\n --greyc6: #c6c6c6;\n --grey77: #777777;\n --grey4D: #4d4d4d;\n --greyE6: #e6e6e6;\n --greyF5: #f5f5f5;\n --grey22: #222222;\n --grey9F: #9f9f9f;\n --grey100: #d5dbe5;\n --grey500: #687182;\n --active-color: #ff7600;\n --light-orange: #ff9133;\n --dark-orange: #cc5e00;\n --red-rfq: #bc3d39;\n --pale-blue: #f8fafe;\n --light-yellow: #fffdeb;\n --green-rfq: #108a53;\n --yellow: #ffb75d;\n --primary: #336dae;\n --secondary: #1f4168;\n --tertiary: #a1c1ff;\n --quaternary: #7099c6;\n --accent: #ff7600;\n\n --primary: #336dae;\n --secondary: #1f4168;\n --tertiary: #a1c1ff;\n --quaternary: #7099c6;\n --accent: #ff7600;\n\n --font-xs: 0.75rem; /* 12px */\n --font-s: 0.875rem; /* 14px - primary */\n --font-m: 1rem; /* 16px */\n --font-l: 1.125rem; /* 18px */\n --font-xl: 1.75rem; /* 28px */\n --font-xxl: 2.25rem; /* 36px */\n\n --font-family-primary: \"Inter\", sans-serif;\n\n /* whitelabel needed variables */\n --buttons: var(--primary);\n --links: var(--primary);\n --active-steps: var(--primary);\n --spinners: var(--primary);\n --table-header-line: var(--primary);\n --sub-header-bg: var(--primary);\n --ribbon-price-container: var(--primary);\n --button-focus: var(--primary);\n --qty-textbox: var(--primary);\n --button-hover: var(--secondary);\n --all-around-nav: var(--secondary);\n --textbox-focus: var(--tertiary);\n --text-button-hover-bg: var(--tertiary);\n --completed-steps: var(--quaternary);\n --sidebar-nav-icons: var(--accent);\n --shopping-cart-notifier: var(--accent);\n --text-button-hover-text-color: var(--buttons);\n --ribbon-price-container-text-color: white;\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const colorTokens: {
|
|
2
|
-
charcoal: string;
|
|
3
|
-
red: string;
|
|
4
|
-
smoke: string;
|
|
5
|
-
shadow: string;
|
|
6
|
-
grey50: string;
|
|
7
|
-
paleGrey: string;
|
|
8
|
-
yellow: string;
|
|
9
|
-
green: string;
|
|
10
|
-
branding: {
|
|
11
|
-
primary: string;
|
|
12
|
-
secondary: string;
|
|
13
|
-
tertiary: string;
|
|
14
|
-
quaternary: string;
|
|
15
|
-
accent: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default colorTokens;
|
package/dist/esm/styles.css.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["styles.css","tokens.css"],"names":[],"mappings":"AAAA,oBACE,+BAAkC,CAGlC,2BAA6B,CAC7B,8CAA0D,CAH1D,uBAAyB,CAIzB,cAAe,CACf,iBAAkB,CAClB,eAAgB,CAChB,eAAgB,CANhB,yBAOF,CAEA,oBAOE,kBAAmB,CANnB,eAAgB,CAChB,WAAY,CAGZ,YAAa,CACb,sBAAuB,CAFvB,YAAa,CADb,SAKF,CCpBA,MAGE,sBAAuB,CACvB,kBAAmB,CACnB,oBAAqB,CAGrB,qBAAsB,CACtB,aAAiB,CACjB,kBAAmB,CACnB,oBAAqB,CACrB,eAAmB,CACnB,eAAgB,CAChB,mBAAoB,CAIpB,gBAAiB,CAMjB,mBAAoB,CACpB,uBAAwB,CACxB,wBAAyB,CAGzB,mBAAoB,CACpB,kBAAmB,CACnB,mBAAoB,CACpB,oBAAqB,CACrB,uBAAwB,CACxB,gBAAiB,CACjB,aAAiB,CACjB,gBAAiB,CACjB,gBAAiB,CACjB,gBAAiB,CACjB,aAAiB,CACjB,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,sBAAuB,CACvB,sBAAuB,CACvB,qBAAsB,CACtB,iBAAkB,CAClB,mBAAoB,CACpB,sBAAuB,CACvB,mBAAoB,CACpB,gBAAiB,CAOjB,iBAAkB,CAClB,mBAAoB,CACpB,kBAAmB,CACnB,oBAAqB,CACrB,gBAAiB,CAEjB,iBAAkB,CAClB,iBAAkB,CAClB,aAAc,CACd,iBAAkB,CAClB,iBAAkB,CAClB,kBAAmB,CAEnB,wCAA0C,CAG1C,wBAAyB,CACzB,sBAAuB,CACvB,6BAA8B,CAC9B,yBAA0B,CAC1B,kCAAmC,CACnC,8BAA+B,CAC/B,uCAAwC,CACxC,6BAA8B,CAC9B,4BAA6B,CAC7B,+BAAgC,CAChC,iCAAkC,CAClC,+BAAgC,CAChC,sCAAuC,CACvC,mCAAoC,CACpC,iCAAkC,CAClC,sCAAuC,CACvC,6CAA8C,CAC9C,wCACF","file":"styles.css","sourcesContent":[".DSL-custom-tooltip {\n background-color: white !important;\n color: #4d4d4d !important;\n text-align: left !important;\n border-radius: 5px !important;\n box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25) !important;\n font-size: 12px;\n font-style: normal;\n font-weight: 500;\n max-width: 250px;\n}\n\n.DSL-tooltip-button {\n background: none;\n border: none;\n padding: 0;\n outline: none;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n",":root {\n /* blues */\n --dark-navy: #1f4168;\n --primary-blue: #336dae; /* replaces: dark-blue */\n --sky-blue: #7099c6; /* replaces light-blue */\n --light-blue: #ebf0fa; /* replaces: lightest-blue */\n --pale-blue: #f8fafe;\n /* greys */\n --medium-grey: #c6c6c6; /* replaces: greyc6 */\n --shadow: #777777; /* replaces: grey77 */\n --charcoal: #4d4d4d; /* replaces: grey4D */\n --light-grey: #e6e6e6; /* replaces: greyE6*/\n --graphite: #222222; /* replces: grey22 */\n --smoke: #9f9f9f; /* replaces: grey9F */\n --pale-grey: #f5f5f5; /* replaces: bg-light and greyF5 */\n --grey100: #d5dbe5;\n --grey500: #687182;\n /* oranges */\n --orange: #ff7600; /* replaces: active-color */\n --light-orange: #ff9133;\n --dark-orange: #cc5e00;\n /* yellows */\n --light-yellow: #fffdeb;\n /* states */\n --error-red: #bc3d39; /* replaces: red-rfq */\n --success-green: #108a53; /* replaces: green-rfq */\n --warning-yellow: #ffb75d; /* replaces: yellow */\n\n /* for testing purposes */\n --dark-navy: #1f4168;\n --bg-light: #f5f5f5;\n --dark-blue: #336dae;\n --light-blue: #7099c6;\n --lightest-blue: #ebf0fa;\n --greyc6: #c6c6c6;\n --grey77: #777777;\n --grey4D: #4d4d4d;\n --greyE6: #e6e6e6;\n --greyF5: #f5f5f5;\n --grey22: #222222;\n --grey9F: #9f9f9f;\n --grey100: #d5dbe5;\n --grey500: #687182;\n --active-color: #ff7600;\n --light-orange: #ff9133;\n --dark-orange: #cc5e00;\n --red-rfq: #bc3d39;\n --pale-blue: #f8fafe;\n --light-yellow: #fffdeb;\n --green-rfq: #108a53;\n --yellow: #ffb75d;\n --primary: #336dae;\n --secondary: #1f4168;\n --tertiary: #a1c1ff;\n --quaternary: #7099c6;\n --accent: #ff7600;\n\n --primary: #336dae;\n --secondary: #1f4168;\n --tertiary: #a1c1ff;\n --quaternary: #7099c6;\n --accent: #ff7600;\n\n --font-xs: 0.75rem; /* 12px */\n --font-s: 0.875rem; /* 14px - primary */\n --font-m: 1rem; /* 16px */\n --font-l: 1.125rem; /* 18px */\n --font-xl: 1.75rem; /* 28px */\n --font-xxl: 2.25rem; /* 36px */\n\n --font-family-primary: \"Inter\", sans-serif;\n\n /* whitelabel needed variables */\n --buttons: var(--primary);\n --links: var(--primary);\n --active-steps: var(--primary);\n --spinners: var(--primary);\n --table-header-line: var(--primary);\n --sub-header-bg: var(--primary);\n --ribbon-price-container: var(--primary);\n --button-focus: var(--primary);\n --qty-textbox: var(--primary);\n --button-hover: var(--secondary);\n --all-around-nav: var(--secondary);\n --textbox-focus: var(--tertiary);\n --text-button-hover-bg: var(--tertiary);\n --completed-steps: var(--quaternary);\n --sidebar-nav-icons: var(--accent);\n --shopping-cart-notifier: var(--accent);\n --text-button-hover-text-color: var(--buttons);\n --ribbon-price-container-text-color: white;\n}\n"]}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const colorTokens: {
|
|
2
|
-
charcoal: string;
|
|
3
|
-
red: string;
|
|
4
|
-
smoke: string;
|
|
5
|
-
shadow: string;
|
|
6
|
-
grey50: string;
|
|
7
|
-
paleGrey: string;
|
|
8
|
-
yellow: string;
|
|
9
|
-
green: string;
|
|
10
|
-
branding: {
|
|
11
|
-
primary: string;
|
|
12
|
-
secondary: string;
|
|
13
|
-
tertiary: string;
|
|
14
|
-
quaternary: string;
|
|
15
|
-
accent: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default colorTokens;
|
|
File without changes
|
|
File without changes
|