@teamturing/react-kit 2.21.6 → 2.21.8
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/dist/index.js +1260 -1116
- package/esm/core/Chip/index.js +53 -51
- package/esm/core/Dialog/index.js +8 -7
- package/esm/core/Grid/index.js +8 -6
- package/esm/core/IconButton/index.js +56 -57
- package/esm/core/IconToggleButton/index.js +17 -18
- package/esm/core/OverlayPopper/index.js +3 -3
- package/esm/core/Spinner/index.js +4 -4
- package/esm/core/Stack/index.js +8 -6
- package/esm/core/Tab/TabItem.js +12 -11
- package/esm/core/Tab/index.js +6 -7
- package/esm/core/Text/index.js +128 -27
- package/esm/core/TextInput/index.js +6 -7
- package/esm/packages/icons/esm/WorkbookTwoColor.js +21 -0
- package/esm/packages/icons/esm/index.js +1 -0
- package/esm/packages/token-studio/esm/token/elevation/index.js +1 -5
- package/esm/packages/token-studio/esm/token/typography/index.js +3 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -585,7 +585,7 @@ var config$5 = {
|
|
|
585
585
|
textAlign: true,
|
|
586
586
|
fontStyle: true
|
|
587
587
|
};
|
|
588
|
-
var typography
|
|
588
|
+
var typography = system(config$5);
|
|
589
589
|
|
|
590
590
|
var config$4 = {
|
|
591
591
|
alignItems: true,
|
|
@@ -987,13 +987,13 @@ layout$1.width;
|
|
|
987
987
|
layout$1.overflowX;
|
|
988
988
|
layout$1.overflowY;
|
|
989
989
|
color$2.opacity;
|
|
990
|
-
var fontSize$1 = typography
|
|
991
|
-
typography
|
|
992
|
-
var fontWeight$1 = typography
|
|
993
|
-
lineHeight$1 = typography
|
|
994
|
-
textAlign = typography
|
|
995
|
-
typography
|
|
996
|
-
typography
|
|
990
|
+
var fontSize$1 = typography.fontSize;
|
|
991
|
+
typography.fontFamily;
|
|
992
|
+
var fontWeight$1 = typography.fontWeight,
|
|
993
|
+
lineHeight$1 = typography.lineHeight,
|
|
994
|
+
textAlign = typography.textAlign;
|
|
995
|
+
typography.fontStyle;
|
|
996
|
+
typography.letterSpacing;
|
|
997
997
|
flexbox.alignItems;
|
|
998
998
|
flexbox.alignContent;
|
|
999
999
|
flexbox.justifyItems;
|
|
@@ -4299,6 +4299,23 @@ const SvgWorkbookColor = props => /*#__PURE__*/React__namespace.createElement("s
|
|
|
4299
4299
|
rx: 1.546
|
|
4300
4300
|
}));
|
|
4301
4301
|
|
|
4302
|
+
const SvgWorkbookTwoColor = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4303
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4304
|
+
width: "1em",
|
|
4305
|
+
height: "1em",
|
|
4306
|
+
fill: "none",
|
|
4307
|
+
viewBox: "0 0 24 24"
|
|
4308
|
+
}, props), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4309
|
+
fill: "#D9CDF9",
|
|
4310
|
+
d: "M8.1 1.5A1.5 1.5 0 0 0 6.6 3v1.41h10.601a1.5 1.5 0 0 1 1.5 1.5v12.467h1.4a1.5 1.5 0 0 0 1.5-1.5V3a1.5 1.5 0 0 0-1.5-1.5h-12Z"
|
|
4311
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4312
|
+
fill: "#D9CDF9",
|
|
4313
|
+
d: "M2.5 7.123a1.5 1.5 0 0 1 1.5-1.5h12.001a1.5 1.5 0 0 1 1.5 1.5V21a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 2.5 21V7.123Z"
|
|
4314
|
+
}), /*#__PURE__*/React__namespace.createElement("path", {
|
|
4315
|
+
fill: "#9C7EEF",
|
|
4316
|
+
d: "M2.5 7.123a1.5 1.5 0 0 1 1.5-1.5h.688V22.5H4A1.5 1.5 0 0 1 2.5 21V7.123ZM7.15 9.32c0-.519.42-.938.938-.938h5.626a.938.938 0 1 1 0 1.875H8.088a.938.938 0 0 1-.938-.938Z"
|
|
4317
|
+
}));
|
|
4318
|
+
|
|
4302
4319
|
const SvgWrong = props => /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
4303
4320
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4304
4321
|
width: "1em",
|
|
@@ -4528,6 +4545,7 @@ var icons = /*#__PURE__*/Object.freeze({
|
|
|
4528
4545
|
WifiIcon: SvgWifi,
|
|
4529
4546
|
WorkbookColorIcon: SvgWorkbookColor,
|
|
4530
4547
|
WorkbookIcon: SvgWorkbook,
|
|
4548
|
+
WorkbookTwoColorIcon: SvgWorkbookTwoColor,
|
|
4531
4549
|
WrongIcon: SvgWrong,
|
|
4532
4550
|
YoutubeIcon: SvgYoutube
|
|
4533
4551
|
});
|
|
@@ -4943,942 +4961,204 @@ if (process.env.NODE_ENV === 'production') {
|
|
|
4943
4961
|
}
|
|
4944
4962
|
var reactIsExports = reactIs.exports;
|
|
4945
4963
|
|
|
4946
|
-
const
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
};
|
|
4964
|
+
const View = styled__default.default.div`
|
|
4965
|
+
${compose(layout$1, color$2, flexbox, background, border, position, shadow$1)}
|
|
4966
|
+
${sx}
|
|
4967
|
+
`;
|
|
4951
4968
|
|
|
4952
|
-
|
|
4953
|
-
const breakpoints = baseBreakpoints.map(value => `${value + 1}px`);
|
|
4969
|
+
var jsxRuntime = {exports: {}};
|
|
4954
4970
|
|
|
4955
|
-
|
|
4956
|
-
gray50: '#F9FAFB',
|
|
4957
|
-
gray100: '#F3F4F6',
|
|
4958
|
-
gray200: '#E5E7EB',
|
|
4959
|
-
gray300: '#D1D5DB',
|
|
4960
|
-
gray400: '#8D94A0',
|
|
4961
|
-
gray500: '#7A828D',
|
|
4962
|
-
gray600: '#6F7680',
|
|
4963
|
-
gray700: '#575C64',
|
|
4964
|
-
gray800: '#43484E',
|
|
4965
|
-
gray900: '#33373B'
|
|
4966
|
-
};
|
|
4967
|
-
const violet = {
|
|
4968
|
-
violet50: '#F3EFFD',
|
|
4969
|
-
violet100: '#E8E1FB',
|
|
4970
|
-
violet200: '#D9CDF9',
|
|
4971
|
-
violet300: '#C6B5F6',
|
|
4972
|
-
violet400: '#9C7EEF',
|
|
4973
|
-
violet500: '#835EEB',
|
|
4974
|
-
violet600: '#7756D6',
|
|
4975
|
-
violet700: '#5D43A7',
|
|
4976
|
-
violet800: '#483481',
|
|
4977
|
-
violet900: '#372763'
|
|
4978
|
-
};
|
|
4979
|
-
const green = {
|
|
4980
|
-
green50: '#E9FAF6',
|
|
4981
|
-
green100: '#BAEFE2',
|
|
4982
|
-
green200: '#98E8D4',
|
|
4983
|
-
green300: '#69DDC0',
|
|
4984
|
-
green400: '#4CD6B4',
|
|
4985
|
-
green500: '#1FCCA1',
|
|
4986
|
-
green600: '#1CBA93',
|
|
4987
|
-
green700: '#169172',
|
|
4988
|
-
green800: '#117059',
|
|
4989
|
-
green900: '#0D5644'
|
|
4990
|
-
};
|
|
4991
|
-
const yellow = {
|
|
4992
|
-
yellow50: '#FFF9E6',
|
|
4993
|
-
yellow100: '#FFECB2',
|
|
4994
|
-
yellow200: '#FFE28D',
|
|
4995
|
-
yellow300: '#FFD559',
|
|
4996
|
-
yellow400: '#FFCD39',
|
|
4997
|
-
yellow500: '#FFC107',
|
|
4998
|
-
yellow600: '#E8B006',
|
|
4999
|
-
yellow700: '#B58905',
|
|
5000
|
-
yellow800: '#8C6A04',
|
|
5001
|
-
yellow900: '#6B5103'
|
|
5002
|
-
};
|
|
5003
|
-
const red = {
|
|
5004
|
-
red50: '#FEE9EB',
|
|
5005
|
-
red100: '#FBBCC0',
|
|
5006
|
-
red200: '#F99CA2',
|
|
5007
|
-
red300: '#F66E78',
|
|
5008
|
-
red400: '#F5525D',
|
|
5009
|
-
red500: '#F22735',
|
|
5010
|
-
red600: '#DC2330',
|
|
5011
|
-
red700: '#AC1C26',
|
|
5012
|
-
red800: '#85151D',
|
|
5013
|
-
red900: '#661016'
|
|
5014
|
-
};
|
|
5015
|
-
const blue = {
|
|
5016
|
-
blue50: '#edf2fd',
|
|
5017
|
-
blue100: '#c6d8fa',
|
|
5018
|
-
blue200: '#abc5f7',
|
|
5019
|
-
blue300: '#84aaf4',
|
|
5020
|
-
blue400: '#6d99f1',
|
|
5021
|
-
blue500: '#4880ee',
|
|
5022
|
-
blue600: '#4274d9',
|
|
5023
|
-
blue700: '#335ba9',
|
|
5024
|
-
blue800: '#284683',
|
|
5025
|
-
blue900: '#1e3664'
|
|
5026
|
-
};
|
|
5027
|
-
const shade = {
|
|
5028
|
-
transparent: '#FFFFFF00',
|
|
5029
|
-
white: '#FFFFFF',
|
|
5030
|
-
white10A: '#FFFFFF1A',
|
|
5031
|
-
black: '#000000',
|
|
5032
|
-
black60A: '#00000099'
|
|
5033
|
-
};
|
|
5034
|
-
const fuchsiaPink = {
|
|
5035
|
-
fuchsiaPink50: '#FCF2FD',
|
|
5036
|
-
fuchsiaPink100: '#F5D6F8',
|
|
5037
|
-
fuchsiaPink200: '#F0C2F4',
|
|
5038
|
-
fuchsiaPink300: '#E9A7EF',
|
|
5039
|
-
fuchsiaPink400: '#E595EC',
|
|
5040
|
-
fuchsiaPink500: '#DE7BE7',
|
|
5041
|
-
fuchsiaPink600: '#CA70D2',
|
|
5042
|
-
fuchsiaPink700: '#9E57A4',
|
|
5043
|
-
fuchsiaPink800: '#7A447F',
|
|
5044
|
-
fuchsiaPink900: '#5D3461'
|
|
5045
|
-
};
|
|
5046
|
-
const skyBlue = {
|
|
5047
|
-
skyBlue50: '#EFF9FD',
|
|
5048
|
-
skyBlue100: '#CFEDF8',
|
|
5049
|
-
skyBlue200: '#B7E4F5',
|
|
5050
|
-
skyBlue300: '#96D8F1',
|
|
5051
|
-
skyBlue400: '#82D1EE',
|
|
5052
|
-
skyBlue500: '#63C5EA',
|
|
5053
|
-
skyBlue600: '#5AB3D5',
|
|
5054
|
-
skyBlue700: '#468CA6',
|
|
5055
|
-
skyBlue800: '#366C81',
|
|
5056
|
-
skyBlue900: '#2A5362'
|
|
5057
|
-
};
|
|
5058
|
-
const indianRed = {
|
|
5059
|
-
indianRed50: '#632A2A',
|
|
5060
|
-
indianRed100: '#823838',
|
|
5061
|
-
indianRed200: '#A84848',
|
|
5062
|
-
indianRed300: '#D75C5C',
|
|
5063
|
-
indianRed400: '#EC6565',
|
|
5064
|
-
indianRed500: '#F08484',
|
|
5065
|
-
indianRed600: '#F29898',
|
|
5066
|
-
indianRed700: '#F6B8B8',
|
|
5067
|
-
indianRed800: '#F9CFCF',
|
|
5068
|
-
indianRed900: '#FDF0F0'
|
|
5069
|
-
};
|
|
5070
|
-
const mustardYellow = {
|
|
5071
|
-
mustardYellow50: '#675025',
|
|
5072
|
-
mustardYellow100: '#876931',
|
|
5073
|
-
mustardYellow200: '#AE883F',
|
|
5074
|
-
mustardYellow300: '#DFAE51',
|
|
5075
|
-
mustardYellow400: '#F5BF59',
|
|
5076
|
-
mustardYellow500: '#F7CC7A',
|
|
5077
|
-
mustardYellow600: '#F8D490',
|
|
5078
|
-
mustardYellow700: '#FAE2B3',
|
|
5079
|
-
mustardYellow800: '#FCEBCC',
|
|
5080
|
-
mustardYellow900: '#FEF9EE'
|
|
5081
|
-
};
|
|
5082
|
-
const palette = {
|
|
5083
|
-
...gray,
|
|
5084
|
-
...violet,
|
|
5085
|
-
...green,
|
|
5086
|
-
...yellow,
|
|
5087
|
-
...red,
|
|
5088
|
-
...blue,
|
|
5089
|
-
...shade,
|
|
5090
|
-
...fuchsiaPink,
|
|
5091
|
-
...skyBlue,
|
|
5092
|
-
...indianRed,
|
|
5093
|
-
...mustardYellow
|
|
5094
|
-
};
|
|
4971
|
+
var reactJsxRuntime_production_min = {};
|
|
5095
4972
|
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
|
|
5142
|
-
|
|
5143
|
-
|
|
5144
|
-
'bg/accent/green/subtlest': palette.green50,
|
|
5145
|
-
'bg/accent/yellow/subtlest': palette.yellow50,
|
|
5146
|
-
'bg/accent/red/subtlest': palette.red50,
|
|
5147
|
-
'bg/accent/red/subtle': palette.red400,
|
|
5148
|
-
'bg/accent/red': palette.red500,
|
|
5149
|
-
'bg/accent/gray/subtlest': palette.gray200,
|
|
5150
|
-
'bg/selected/violet': palette.violet500,
|
|
5151
|
-
'bg/selected': palette.gray900,
|
|
5152
|
-
'bg/selected/subtle': palette.gray100,
|
|
5153
|
-
'bg/inverse': palette.black,
|
|
5154
|
-
'bg/inverse/subtlest': palette.white10A,
|
|
5155
|
-
'bg/success': palette.green50,
|
|
5156
|
-
'bg/success/bold': palette.green500,
|
|
5157
|
-
'bg/warning': palette.yellow50,
|
|
5158
|
-
'bg/warning/bold': palette.yellow500,
|
|
5159
|
-
'bg/danger': palette.red50,
|
|
5160
|
-
'bg/danger/bold': palette.red400,
|
|
5161
|
-
'bg/danger/bold/hovered': palette.red600,
|
|
5162
|
-
'bg/danger/bold/pressed': palette.red600
|
|
5163
|
-
};
|
|
5164
|
-
const borderColor = {
|
|
5165
|
-
'border/neutral/subtle': palette.gray100,
|
|
5166
|
-
'border/neutral': palette.gray200,
|
|
5167
|
-
'border/neutral/bolder': palette.gray300,
|
|
5168
|
-
'border/input': palette.gray200,
|
|
5169
|
-
'border/inverse': palette.white10A,
|
|
5170
|
-
'border/selected': palette.gray900,
|
|
5171
|
-
'border/disabled': palette.gray100,
|
|
5172
|
-
'border/primary': palette.violet500,
|
|
5173
|
-
'border/hovered': palette.blue300,
|
|
5174
|
-
'border/focused': palette.blue500,
|
|
5175
|
-
'border/danger': palette.red500,
|
|
5176
|
-
'border/success': palette.green500
|
|
5177
|
-
};
|
|
5178
|
-
const iconColor = {
|
|
5179
|
-
'icon/neutral': palette.gray300,
|
|
5180
|
-
'icon/neutral/bold': palette.gray400,
|
|
5181
|
-
'icon/neutral/bolder': palette.gray700,
|
|
5182
|
-
'icon/accent/gray': palette.gray900,
|
|
5183
|
-
'icon/accent/blue': palette.blue500,
|
|
5184
|
-
'icon/accent/blue/bold': palette.blue700,
|
|
5185
|
-
'icon/accent/green': palette.green500,
|
|
5186
|
-
'icon/accent/yellow': palette.yellow500,
|
|
5187
|
-
'icon/accent/red': palette.red500,
|
|
5188
|
-
'icon/inverse': palette.white,
|
|
5189
|
-
'icon/disabled': palette.gray300,
|
|
5190
|
-
'icon/disabled/subtler': palette.gray200,
|
|
5191
|
-
'icon/selected/violet': palette.violet500,
|
|
5192
|
-
'icon/selected': palette.gray900,
|
|
5193
|
-
'icon/primary/subtle': palette.violet300,
|
|
5194
|
-
'icon/primary': palette.violet500,
|
|
5195
|
-
'icon/primary/bold': palette.violet700,
|
|
5196
|
-
'icon/success': palette.green500,
|
|
5197
|
-
'icon/warning': palette.yellow500,
|
|
5198
|
-
'icon/danger': palette.red500
|
|
5199
|
-
};
|
|
5200
|
-
const linkColor = {
|
|
5201
|
-
'link': palette.blue500,
|
|
5202
|
-
'link/hovered': palette.blue700,
|
|
5203
|
-
'link/pressed': palette.blue700,
|
|
5204
|
-
'link/neutral': palette.gray500,
|
|
5205
|
-
'link/neutral/hovered': palette.gray700,
|
|
5206
|
-
'link/neutral/pressed': palette.gray700,
|
|
5207
|
-
'link/neutral/bold': palette.gray700,
|
|
5208
|
-
'link/neutral/bold/hovered': palette.gray900,
|
|
5209
|
-
'link/neutral/bold/pressed': palette.gray900,
|
|
5210
|
-
'link/disabled': palette.gray700
|
|
5211
|
-
};
|
|
5212
|
-
const dimColor = {
|
|
5213
|
-
dim: palette.black60A
|
|
5214
|
-
};
|
|
5215
|
-
const scaleColor = {
|
|
5216
|
-
'scale/violet/0': palette.violet50,
|
|
5217
|
-
'scale/violet/1': palette.violet100,
|
|
5218
|
-
'scale/violet/2': palette.violet200,
|
|
5219
|
-
'scale/violet/3': palette.violet300,
|
|
5220
|
-
'scale/violet/4': palette.violet400,
|
|
5221
|
-
'scale/violet/5': palette.violet500,
|
|
5222
|
-
'scale/violet/6': palette.violet600,
|
|
5223
|
-
'scale/violet/7': palette.violet700,
|
|
5224
|
-
'scale/violet/8': palette.violet800,
|
|
5225
|
-
'scale/violet/9': palette.violet900,
|
|
5226
|
-
'scale/gray/0': palette.gray50,
|
|
5227
|
-
'scale/gray/1': palette.gray100,
|
|
5228
|
-
'scale/gray/2': palette.gray200,
|
|
5229
|
-
'scale/gray/3': palette.gray300,
|
|
5230
|
-
'scale/gray/4': palette.gray400,
|
|
5231
|
-
'scale/gray/5': palette.gray500,
|
|
5232
|
-
'scale/gray/6': palette.gray600,
|
|
5233
|
-
'scale/gray/7': palette.gray700,
|
|
5234
|
-
'scale/gray/8': palette.gray800,
|
|
5235
|
-
'scale/gray/9': palette.gray900,
|
|
5236
|
-
'scale/blue/0': palette.blue50,
|
|
5237
|
-
'scale/blue/1': palette.blue100,
|
|
5238
|
-
'scale/blue/2': palette.blue200,
|
|
5239
|
-
'scale/blue/3': palette.blue300,
|
|
5240
|
-
'scale/blue/4': palette.blue400,
|
|
5241
|
-
'scale/blue/5': palette.blue500,
|
|
5242
|
-
'scale/blue/6': palette.blue600,
|
|
5243
|
-
'scale/blue/7': palette.blue700,
|
|
5244
|
-
'scale/blue/8': palette.blue800,
|
|
5245
|
-
'scale/blue/9': palette.blue900,
|
|
5246
|
-
'scale/green/0': palette.green50,
|
|
5247
|
-
'scale/green/1': palette.green100,
|
|
5248
|
-
'scale/green/2': palette.green200,
|
|
5249
|
-
'scale/green/3': palette.green300,
|
|
5250
|
-
'scale/green/4': palette.green400,
|
|
5251
|
-
'scale/green/5': palette.green500,
|
|
5252
|
-
'scale/green/6': palette.green600,
|
|
5253
|
-
'scale/green/7': palette.green700,
|
|
5254
|
-
'scale/green/8': palette.green800,
|
|
5255
|
-
'scale/green/9': palette.green900,
|
|
5256
|
-
'scale/pink/0': palette.fuchsiaPink50,
|
|
5257
|
-
'scale/pink/1': palette.fuchsiaPink100,
|
|
5258
|
-
'scale/pink/2': palette.fuchsiaPink200,
|
|
5259
|
-
'scale/pink/3': palette.fuchsiaPink300,
|
|
5260
|
-
'scale/pink/4': palette.fuchsiaPink400,
|
|
5261
|
-
'scale/pink/5': palette.fuchsiaPink500,
|
|
5262
|
-
'scale/pink/6': palette.fuchsiaPink600,
|
|
5263
|
-
'scale/pink/7': palette.fuchsiaPink700,
|
|
5264
|
-
'scale/pink/8': palette.fuchsiaPink800,
|
|
5265
|
-
'scale/pink/9': palette.fuchsiaPink900,
|
|
5266
|
-
'scale/skyblue/0': palette.skyBlue50,
|
|
5267
|
-
'scale/skyblue/1': palette.skyBlue100,
|
|
5268
|
-
'scale/skyblue/2': palette.skyBlue200,
|
|
5269
|
-
'scale/skyblue/3': palette.skyBlue300,
|
|
5270
|
-
'scale/skyblue/4': palette.skyBlue400,
|
|
5271
|
-
'scale/skyblue/5': palette.skyBlue500,
|
|
5272
|
-
'scale/skyblue/6': palette.skyBlue600,
|
|
5273
|
-
'scale/skyblue/7': palette.skyBlue700,
|
|
5274
|
-
'scale/skyblue/8': palette.skyBlue800,
|
|
5275
|
-
'scale/skyblue/9': palette.skyBlue900,
|
|
5276
|
-
'scale/red/0': palette.indianRed50,
|
|
5277
|
-
'scale/red/1': palette.indianRed100,
|
|
5278
|
-
'scale/red/2': palette.indianRed200,
|
|
5279
|
-
'scale/red/3': palette.indianRed300,
|
|
5280
|
-
'scale/red/4': palette.indianRed400,
|
|
5281
|
-
'scale/red/5': palette.indianRed500,
|
|
5282
|
-
'scale/red/6': palette.indianRed600,
|
|
5283
|
-
'scale/red/7': palette.indianRed700,
|
|
5284
|
-
'scale/red/8': palette.indianRed800,
|
|
5285
|
-
'scale/red/9': palette.indianRed900,
|
|
5286
|
-
'scale/yellow/0': palette.mustardYellow50,
|
|
5287
|
-
'scale/yellow/1': palette.mustardYellow100,
|
|
5288
|
-
'scale/yellow/2': palette.mustardYellow200,
|
|
5289
|
-
'scale/yellow/3': palette.mustardYellow300,
|
|
5290
|
-
'scale/yellow/4': palette.mustardYellow400,
|
|
5291
|
-
'scale/yellow/5': palette.mustardYellow500,
|
|
5292
|
-
'scale/yellow/6': palette.mustardYellow600,
|
|
5293
|
-
'scale/yellow/7': palette.mustardYellow700,
|
|
5294
|
-
'scale/yellow/8': palette.mustardYellow800,
|
|
5295
|
-
'scale/yellow/9': palette.mustardYellow900
|
|
5296
|
-
};
|
|
5297
|
-
const color$1 = {
|
|
5298
|
-
...textColor,
|
|
5299
|
-
...bgColor,
|
|
5300
|
-
...borderColor,
|
|
5301
|
-
...iconColor,
|
|
5302
|
-
...linkColor,
|
|
5303
|
-
...dimColor,
|
|
5304
|
-
...scaleColor
|
|
5305
|
-
};
|
|
5306
|
-
|
|
5307
|
-
const shadow = {
|
|
5308
|
-
shadowMedium: '0px 0px 1px 0px rgba(0, 0, 0, 0.06), 0px 8px 24px 0px rgba(0, 0, 0, 0.12)'
|
|
5309
|
-
};
|
|
5310
|
-
|
|
5311
|
-
const surfaceElevation = {
|
|
5312
|
-
'surface': palette.white,
|
|
5313
|
-
'surface/overlay': palette.white
|
|
5314
|
-
};
|
|
5315
|
-
const shadowElevation = {
|
|
5316
|
-
'shadow/overlay': shadow.shadowMedium
|
|
5317
|
-
};
|
|
5318
|
-
const elevation = {
|
|
5319
|
-
...surfaceElevation,
|
|
5320
|
-
...shadowElevation
|
|
5321
|
-
};
|
|
5322
|
-
|
|
5323
|
-
const colorStopList = {
|
|
5324
|
-
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
5325
|
-
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
5326
|
-
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
5327
|
-
colorStopListBlack: '#000000, #00000000'
|
|
5328
|
-
};
|
|
4973
|
+
/**
|
|
4974
|
+
* @license React
|
|
4975
|
+
* react-jsx-runtime.production.min.js
|
|
4976
|
+
*
|
|
4977
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4978
|
+
*
|
|
4979
|
+
* This source code is licensed under the MIT license found in the
|
|
4980
|
+
* LICENSE file in the root directory of this source tree.
|
|
4981
|
+
*/
|
|
4982
|
+
var hasRequiredReactJsxRuntime_production_min;
|
|
4983
|
+
function requireReactJsxRuntime_production_min() {
|
|
4984
|
+
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
4985
|
+
hasRequiredReactJsxRuntime_production_min = 1;
|
|
4986
|
+
var f = React__namespace.default,
|
|
4987
|
+
k = Symbol.for("react.element"),
|
|
4988
|
+
l = Symbol.for("react.fragment"),
|
|
4989
|
+
m = Object.prototype.hasOwnProperty,
|
|
4990
|
+
n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
4991
|
+
p = {
|
|
4992
|
+
key: !0,
|
|
4993
|
+
ref: !0,
|
|
4994
|
+
__self: !0,
|
|
4995
|
+
__source: !0
|
|
4996
|
+
};
|
|
4997
|
+
function q(c, a, g) {
|
|
4998
|
+
var b,
|
|
4999
|
+
d = {},
|
|
5000
|
+
e = null,
|
|
5001
|
+
h = null;
|
|
5002
|
+
void 0 !== g && (e = "" + g);
|
|
5003
|
+
void 0 !== a.key && (e = "" + a.key);
|
|
5004
|
+
void 0 !== a.ref && (h = a.ref);
|
|
5005
|
+
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
5006
|
+
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
5007
|
+
return {
|
|
5008
|
+
$$typeof: k,
|
|
5009
|
+
type: c,
|
|
5010
|
+
key: e,
|
|
5011
|
+
ref: h,
|
|
5012
|
+
props: d,
|
|
5013
|
+
_owner: n.current
|
|
5014
|
+
};
|
|
5015
|
+
}
|
|
5016
|
+
reactJsxRuntime_production_min.Fragment = l;
|
|
5017
|
+
reactJsxRuntime_production_min.jsx = q;
|
|
5018
|
+
reactJsxRuntime_production_min.jsxs = q;
|
|
5019
|
+
return reactJsxRuntime_production_min;
|
|
5020
|
+
}
|
|
5329
5021
|
|
|
5330
|
-
|
|
5331
|
-
directionToRight: 'to right',
|
|
5332
|
-
directionToLeft: 'to left',
|
|
5333
|
-
directionToRightBottom: 'to right bottom',
|
|
5334
|
-
directionToTop: 'to top'
|
|
5335
|
-
};
|
|
5022
|
+
var reactJsxRuntime_development = {};
|
|
5336
5023
|
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
'overlay/floating/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
5353
|
-
'overlay/floating/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
5354
|
-
'overlay/floating/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
5355
|
-
'overlay/bold/toright': generateGradientTokenValue('directionToRight', 'colorStopListBlack'),
|
|
5356
|
-
'overlay/bold/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListBlack'),
|
|
5357
|
-
'overlay/bold/totop': generateGradientTokenValue('directionToTop', 'colorStopListBlack')
|
|
5358
|
-
};
|
|
5359
|
-
const gradient = {
|
|
5360
|
-
...textGradient,
|
|
5361
|
-
...bgGradient,
|
|
5362
|
-
...borderGradient,
|
|
5363
|
-
...overlayGradient
|
|
5364
|
-
};
|
|
5024
|
+
/**
|
|
5025
|
+
* @license React
|
|
5026
|
+
* react-jsx-runtime.development.js
|
|
5027
|
+
*
|
|
5028
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5029
|
+
*
|
|
5030
|
+
* This source code is licensed under the MIT license found in the
|
|
5031
|
+
* LICENSE file in the root directory of this source tree.
|
|
5032
|
+
*/
|
|
5033
|
+
var hasRequiredReactJsxRuntime_development;
|
|
5034
|
+
function requireReactJsxRuntime_development() {
|
|
5035
|
+
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
5036
|
+
hasRequiredReactJsxRuntime_development = 1;
|
|
5037
|
+
if (process.env.NODE_ENV !== "production") {
|
|
5038
|
+
(function () {
|
|
5365
5039
|
|
|
5366
|
-
|
|
5367
|
-
rounding0: 0,
|
|
5368
|
-
rounding4: 4,
|
|
5369
|
-
rounding8: 8,
|
|
5370
|
-
rounding12: 12,
|
|
5371
|
-
rounding16: 16,
|
|
5372
|
-
rounding20: 20,
|
|
5373
|
-
rounding24: 24,
|
|
5374
|
-
rounding32: 32,
|
|
5375
|
-
rounding9999: 9999
|
|
5376
|
-
};
|
|
5040
|
+
var React = React__namespace.default;
|
|
5377
5041
|
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5042
|
+
// ATTENTION
|
|
5043
|
+
// When adding new symbols to this file,
|
|
5044
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
5045
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
5046
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
5047
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
5048
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
5049
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
5050
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
5051
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
5052
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
5053
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
5054
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
5055
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
5056
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
5057
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
5058
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
5059
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
5060
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
5061
|
+
function getIteratorFn(maybeIterable) {
|
|
5062
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
|
5063
|
+
return null;
|
|
5064
|
+
}
|
|
5065
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
5066
|
+
if (typeof maybeIterator === 'function') {
|
|
5067
|
+
return maybeIterator;
|
|
5068
|
+
}
|
|
5069
|
+
return null;
|
|
5070
|
+
}
|
|
5071
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
5072
|
+
function error(format) {
|
|
5073
|
+
{
|
|
5074
|
+
{
|
|
5075
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
5076
|
+
args[_key2 - 1] = arguments[_key2];
|
|
5077
|
+
}
|
|
5078
|
+
printWarning('error', format, args);
|
|
5079
|
+
}
|
|
5080
|
+
}
|
|
5081
|
+
}
|
|
5082
|
+
function printWarning(level, format, args) {
|
|
5083
|
+
// When changing this logic, you might want to also
|
|
5084
|
+
// update consoleWithStackDev.www.js as well.
|
|
5085
|
+
{
|
|
5086
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
5087
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
5088
|
+
if (stack !== '') {
|
|
5089
|
+
format += '%s';
|
|
5090
|
+
args = args.concat([stack]);
|
|
5091
|
+
} // eslint-disable-next-line react-internal/safe-string-coercion
|
|
5389
5092
|
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
// 0
|
|
5394
|
-
spacing1: 1,
|
|
5395
|
-
// 1
|
|
5396
|
-
spacing2: 0.5 * unit,
|
|
5397
|
-
// 2
|
|
5398
|
-
spacing4: 1 * unit,
|
|
5399
|
-
// 4
|
|
5400
|
-
spacing6: 1.5 * unit,
|
|
5401
|
-
// 6
|
|
5402
|
-
spacing8: 2 * unit,
|
|
5403
|
-
// 8
|
|
5404
|
-
spacing12: 3 * unit,
|
|
5405
|
-
// 12
|
|
5406
|
-
spacing16: 4 * unit,
|
|
5407
|
-
// 16
|
|
5408
|
-
spacing20: 5 * unit,
|
|
5409
|
-
// 20
|
|
5410
|
-
spacing24: 6 * unit,
|
|
5411
|
-
// 24
|
|
5412
|
-
spacing28: 7 * unit,
|
|
5413
|
-
// 28
|
|
5414
|
-
spacing32: 8 * unit,
|
|
5415
|
-
// 32
|
|
5416
|
-
spacing40: 10 * unit,
|
|
5417
|
-
// 40
|
|
5418
|
-
spacing48: 12 * unit,
|
|
5419
|
-
// 48
|
|
5420
|
-
spacing56: 14 * unit,
|
|
5421
|
-
// 56
|
|
5422
|
-
spacing64: 16 * unit,
|
|
5423
|
-
// 64
|
|
5424
|
-
spacing72: 18 * unit,
|
|
5425
|
-
// 72
|
|
5426
|
-
spacing80: 20 * unit,
|
|
5427
|
-
// 80
|
|
5428
|
-
spacing96: 24 * unit,
|
|
5429
|
-
// 96
|
|
5430
|
-
spacing112: 28 * unit,
|
|
5431
|
-
// 112
|
|
5432
|
-
spacing120: 30 * unit,
|
|
5433
|
-
// 120
|
|
5434
|
-
spacing128: 32 * unit,
|
|
5435
|
-
// 128
|
|
5436
|
-
spacing160: 40 * unit,
|
|
5437
|
-
// 160
|
|
5438
|
-
spacing192: 48 * unit,
|
|
5439
|
-
// 192
|
|
5440
|
-
spacing200: 50 * unit,
|
|
5441
|
-
// 200
|
|
5442
|
-
spacing320: 80 * unit // 320
|
|
5443
|
-
};
|
|
5093
|
+
var argsWithFormat = args.map(function (item) {
|
|
5094
|
+
return String(item);
|
|
5095
|
+
}); // Careful: RN currently depends on this prefix
|
|
5444
5096
|
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
'-48': -spacing.spacing192,
|
|
5449
|
-
'-40': -spacing.spacing160,
|
|
5450
|
-
'-32': -spacing.spacing128,
|
|
5451
|
-
'-30': -spacing.spacing120,
|
|
5452
|
-
'-28': -spacing.spacing112,
|
|
5453
|
-
'-24': -spacing.spacing96,
|
|
5454
|
-
'-20': -spacing.spacing80,
|
|
5455
|
-
'-18': -spacing.spacing72,
|
|
5456
|
-
'-16': -spacing.spacing64,
|
|
5457
|
-
'-14': -spacing.spacing56,
|
|
5458
|
-
'-12': -spacing.spacing48,
|
|
5459
|
-
'-10': -spacing.spacing40,
|
|
5460
|
-
'-8': -spacing.spacing32,
|
|
5461
|
-
'-7': -spacing.spacing28,
|
|
5462
|
-
'-6': -spacing.spacing24,
|
|
5463
|
-
'-5': -spacing.spacing20,
|
|
5464
|
-
'-4': -spacing.spacing16,
|
|
5465
|
-
'-3': -spacing.spacing12,
|
|
5466
|
-
'-2': -spacing.spacing8,
|
|
5467
|
-
'-1': -spacing.spacing4,
|
|
5468
|
-
'-0.5': -spacing.spacing2,
|
|
5469
|
-
'-0.25': -spacing.spacing1,
|
|
5470
|
-
0: spacing.spacing0,
|
|
5471
|
-
0.25: spacing.spacing1,
|
|
5472
|
-
0.5: spacing.spacing2,
|
|
5473
|
-
1: spacing.spacing4,
|
|
5474
|
-
2: spacing.spacing8,
|
|
5475
|
-
3: spacing.spacing12,
|
|
5476
|
-
4: spacing.spacing16,
|
|
5477
|
-
5: spacing.spacing20,
|
|
5478
|
-
6: spacing.spacing24,
|
|
5479
|
-
7: spacing.spacing28,
|
|
5480
|
-
8: spacing.spacing32,
|
|
5481
|
-
10: spacing.spacing40,
|
|
5482
|
-
12: spacing.spacing48,
|
|
5483
|
-
14: spacing.spacing56,
|
|
5484
|
-
16: spacing.spacing64,
|
|
5485
|
-
18: spacing.spacing72,
|
|
5486
|
-
20: spacing.spacing80,
|
|
5487
|
-
24: spacing.spacing96,
|
|
5488
|
-
28: spacing.spacing112,
|
|
5489
|
-
30: spacing.spacing120,
|
|
5490
|
-
32: spacing.spacing128,
|
|
5491
|
-
40: spacing.spacing160,
|
|
5492
|
-
48: spacing.spacing192,
|
|
5493
|
-
50: spacing.spacing200,
|
|
5494
|
-
80: spacing.spacing320
|
|
5495
|
-
};
|
|
5097
|
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
5098
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
5099
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
|
5496
5100
|
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
fontSize200: 14,
|
|
5501
|
-
fontSize300: 16,
|
|
5502
|
-
fontSize400: 18,
|
|
5503
|
-
fontSize500: 20,
|
|
5504
|
-
fontSize600: 22,
|
|
5505
|
-
fontSize700: 24,
|
|
5506
|
-
fontSize800: 28,
|
|
5507
|
-
fontSize900: 32,
|
|
5508
|
-
fontSize1000: 40,
|
|
5509
|
-
fontSize1100: 48,
|
|
5510
|
-
fontSize1200: 64,
|
|
5511
|
-
fontSize1300: 100
|
|
5512
|
-
};
|
|
5101
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
5102
|
+
}
|
|
5103
|
+
}
|
|
5513
5104
|
|
|
5514
|
-
|
|
5515
|
-
xxs: fontSize.fontSize100,
|
|
5516
|
-
xs: fontSize.fontSize200,
|
|
5517
|
-
s: fontSize.fontSize300,
|
|
5518
|
-
m: fontSize.fontSize500,
|
|
5519
|
-
l: fontSize.fontSize700,
|
|
5520
|
-
xl: fontSize.fontSize800,
|
|
5521
|
-
xxl: fontSize.fontSize900,
|
|
5522
|
-
display4: fontSize.fontSize1000,
|
|
5523
|
-
display3: fontSize.fontSize1100,
|
|
5524
|
-
display2: fontSize.fontSize1200,
|
|
5525
|
-
display1: fontSize.fontSize1300
|
|
5526
|
-
};
|
|
5105
|
+
// -----------------------------------------------------------------------------
|
|
5527
5106
|
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
fontWeight300: 300,
|
|
5532
|
-
fontWeight400: 400,
|
|
5533
|
-
fontWeight500: 500,
|
|
5534
|
-
fontWeight600: 600,
|
|
5535
|
-
fontWeight700: 700,
|
|
5536
|
-
fontWeight800: 800,
|
|
5537
|
-
fontWeight900: 900
|
|
5538
|
-
};
|
|
5107
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
5108
|
+
var enableCacheElement = false;
|
|
5109
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
5539
5110
|
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
bold: fontWeight.fontWeight700
|
|
5544
|
-
};
|
|
5111
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
5112
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
5113
|
+
// issues in DEV builds.
|
|
5545
5114
|
|
|
5546
|
-
|
|
5547
|
-
lineHeight1: 1.4,
|
|
5548
|
-
lineHeight2: 1.5
|
|
5549
|
-
};
|
|
5115
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
5550
5116
|
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
}
|
|
5117
|
+
var REACT_MODULE_REFERENCE;
|
|
5118
|
+
{
|
|
5119
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
5120
|
+
}
|
|
5121
|
+
function isValidElementType(type) {
|
|
5122
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
5123
|
+
return true;
|
|
5124
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
5555
5125
|
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5562
|
-
|
|
5563
|
-
|
|
5564
|
-
|
|
5565
|
-
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
fontWeight: fontWeights.regular,
|
|
5580
|
-
lineHeight: lineHeights[2]
|
|
5581
|
-
},
|
|
5582
|
-
'xxl': {
|
|
5583
|
-
fontSize: fontSizes.xxl,
|
|
5584
|
-
fontWeight: fontWeights.medium,
|
|
5585
|
-
lineHeight: lineHeights[2]
|
|
5586
|
-
},
|
|
5587
|
-
'xxl/bold': {
|
|
5588
|
-
fontSize: fontSizes.xxl,
|
|
5589
|
-
fontWeight: fontWeights.bold,
|
|
5590
|
-
lineHeight: lineHeights[2]
|
|
5591
|
-
},
|
|
5592
|
-
'xl/regular': {
|
|
5593
|
-
fontSize: fontSizes.xl,
|
|
5594
|
-
fontWeight: fontWeights.regular,
|
|
5595
|
-
lineHeight: lineHeights[2]
|
|
5596
|
-
},
|
|
5597
|
-
'xl': {
|
|
5598
|
-
fontSize: fontSizes.xl,
|
|
5599
|
-
fontWeight: fontWeights.medium,
|
|
5600
|
-
lineHeight: lineHeights[2]
|
|
5601
|
-
},
|
|
5602
|
-
'xl/bold': {
|
|
5603
|
-
fontSize: fontSizes.xl,
|
|
5604
|
-
fontWeight: fontWeights.bold,
|
|
5605
|
-
lineHeight: lineHeights[2]
|
|
5606
|
-
},
|
|
5607
|
-
'l/regular': {
|
|
5608
|
-
fontSize: fontSizes.l,
|
|
5609
|
-
fontWeight: fontWeights.regular,
|
|
5610
|
-
lineHeight: lineHeights[2]
|
|
5611
|
-
},
|
|
5612
|
-
'l': {
|
|
5613
|
-
fontSize: fontSizes.l,
|
|
5614
|
-
fontWeight: fontWeights.medium,
|
|
5615
|
-
lineHeight: lineHeights[2]
|
|
5616
|
-
},
|
|
5617
|
-
'l/bold': {
|
|
5618
|
-
fontSize: fontSizes.l,
|
|
5619
|
-
fontWeight: fontWeights.bold,
|
|
5620
|
-
lineHeight: lineHeights[2]
|
|
5621
|
-
},
|
|
5622
|
-
'm/regular': {
|
|
5623
|
-
fontSize: fontSizes.m,
|
|
5624
|
-
fontWeight: fontWeights.regular,
|
|
5625
|
-
lineHeight: lineHeights[2]
|
|
5626
|
-
},
|
|
5627
|
-
'm': {
|
|
5628
|
-
fontSize: fontSizes.m,
|
|
5629
|
-
fontWeight: fontWeights.medium,
|
|
5630
|
-
lineHeight: lineHeights[2]
|
|
5631
|
-
},
|
|
5632
|
-
'm/bold': {
|
|
5633
|
-
fontSize: fontSizes.m,
|
|
5634
|
-
fontWeight: fontWeights.bold,
|
|
5635
|
-
lineHeight: lineHeights[2]
|
|
5636
|
-
},
|
|
5637
|
-
's/regular': {
|
|
5638
|
-
fontSize: fontSizes.s,
|
|
5639
|
-
fontWeight: fontWeights.regular,
|
|
5640
|
-
lineHeight: lineHeights[2]
|
|
5641
|
-
},
|
|
5642
|
-
's': {
|
|
5643
|
-
fontSize: fontSizes.s,
|
|
5644
|
-
fontWeight: fontWeights.medium,
|
|
5645
|
-
lineHeight: lineHeights[2]
|
|
5646
|
-
},
|
|
5647
|
-
's/bold': {
|
|
5648
|
-
fontSize: fontSizes.s,
|
|
5649
|
-
fontWeight: fontWeights.bold,
|
|
5650
|
-
lineHeight: lineHeights[2]
|
|
5651
|
-
},
|
|
5652
|
-
'xs/regular': {
|
|
5653
|
-
fontSize: fontSizes.xs,
|
|
5654
|
-
fontWeight: fontWeights.regular,
|
|
5655
|
-
lineHeight: lineHeights[2]
|
|
5656
|
-
},
|
|
5657
|
-
'xs': {
|
|
5658
|
-
fontSize: fontSizes.xs,
|
|
5659
|
-
fontWeight: fontWeights.medium,
|
|
5660
|
-
lineHeight: lineHeights[2]
|
|
5661
|
-
},
|
|
5662
|
-
'xs/bold': {
|
|
5663
|
-
fontSize: fontSizes.xs,
|
|
5664
|
-
fontWeight: fontWeights.bold,
|
|
5665
|
-
lineHeight: lineHeights[2]
|
|
5666
|
-
},
|
|
5667
|
-
'xxs/regular': {
|
|
5668
|
-
fontSize: fontSizes.xxs,
|
|
5669
|
-
fontWeight: fontWeights.regular,
|
|
5670
|
-
lineHeight: lineHeights[2]
|
|
5671
|
-
},
|
|
5672
|
-
'xxs': {
|
|
5673
|
-
fontSize: fontSizes.xxs,
|
|
5674
|
-
fontWeight: fontWeights.medium,
|
|
5675
|
-
lineHeight: lineHeights[2]
|
|
5676
|
-
},
|
|
5677
|
-
'xxs/bold': {
|
|
5678
|
-
fontSize: fontSizes.xxs,
|
|
5679
|
-
fontWeight: fontWeights.bold,
|
|
5680
|
-
lineHeight: lineHeights[2]
|
|
5681
|
-
}
|
|
5682
|
-
};
|
|
5683
|
-
|
|
5684
|
-
const View = styled__default.default.div`
|
|
5685
|
-
${compose(layout$1, color$2, flexbox, background, border, position, shadow$1)}
|
|
5686
|
-
${sx}
|
|
5687
|
-
`;
|
|
5688
|
-
|
|
5689
|
-
var jsxRuntime = {exports: {}};
|
|
5690
|
-
|
|
5691
|
-
var reactJsxRuntime_production_min = {};
|
|
5692
|
-
|
|
5693
|
-
/**
|
|
5694
|
-
* @license React
|
|
5695
|
-
* react-jsx-runtime.production.min.js
|
|
5696
|
-
*
|
|
5697
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5698
|
-
*
|
|
5699
|
-
* This source code is licensed under the MIT license found in the
|
|
5700
|
-
* LICENSE file in the root directory of this source tree.
|
|
5701
|
-
*/
|
|
5702
|
-
var hasRequiredReactJsxRuntime_production_min;
|
|
5703
|
-
function requireReactJsxRuntime_production_min() {
|
|
5704
|
-
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
5705
|
-
hasRequiredReactJsxRuntime_production_min = 1;
|
|
5706
|
-
var f = React__namespace.default,
|
|
5707
|
-
k = Symbol.for("react.element"),
|
|
5708
|
-
l = Symbol.for("react.fragment"),
|
|
5709
|
-
m = Object.prototype.hasOwnProperty,
|
|
5710
|
-
n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
5711
|
-
p = {
|
|
5712
|
-
key: !0,
|
|
5713
|
-
ref: !0,
|
|
5714
|
-
__self: !0,
|
|
5715
|
-
__source: !0
|
|
5716
|
-
};
|
|
5717
|
-
function q(c, a, g) {
|
|
5718
|
-
var b,
|
|
5719
|
-
d = {},
|
|
5720
|
-
e = null,
|
|
5721
|
-
h = null;
|
|
5722
|
-
void 0 !== g && (e = "" + g);
|
|
5723
|
-
void 0 !== a.key && (e = "" + a.key);
|
|
5724
|
-
void 0 !== a.ref && (h = a.ref);
|
|
5725
|
-
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
5726
|
-
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
5727
|
-
return {
|
|
5728
|
-
$$typeof: k,
|
|
5729
|
-
type: c,
|
|
5730
|
-
key: e,
|
|
5731
|
-
ref: h,
|
|
5732
|
-
props: d,
|
|
5733
|
-
_owner: n.current
|
|
5734
|
-
};
|
|
5735
|
-
}
|
|
5736
|
-
reactJsxRuntime_production_min.Fragment = l;
|
|
5737
|
-
reactJsxRuntime_production_min.jsx = q;
|
|
5738
|
-
reactJsxRuntime_production_min.jsxs = q;
|
|
5739
|
-
return reactJsxRuntime_production_min;
|
|
5740
|
-
}
|
|
5741
|
-
|
|
5742
|
-
var reactJsxRuntime_development = {};
|
|
5743
|
-
|
|
5744
|
-
/**
|
|
5745
|
-
* @license React
|
|
5746
|
-
* react-jsx-runtime.development.js
|
|
5747
|
-
*
|
|
5748
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5749
|
-
*
|
|
5750
|
-
* This source code is licensed under the MIT license found in the
|
|
5751
|
-
* LICENSE file in the root directory of this source tree.
|
|
5752
|
-
*/
|
|
5753
|
-
var hasRequiredReactJsxRuntime_development;
|
|
5754
|
-
function requireReactJsxRuntime_development() {
|
|
5755
|
-
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
5756
|
-
hasRequiredReactJsxRuntime_development = 1;
|
|
5757
|
-
if (process.env.NODE_ENV !== "production") {
|
|
5758
|
-
(function () {
|
|
5126
|
+
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
5127
|
+
return true;
|
|
5128
|
+
}
|
|
5129
|
+
if (typeof type === 'object' && type !== null) {
|
|
5130
|
+
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
5131
|
+
// This needs to include all possible module reference object
|
|
5132
|
+
// types supported by any Flight configuration anywhere since
|
|
5133
|
+
// we don't know which Flight build this will end up being used
|
|
5134
|
+
// with.
|
|
5135
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
5136
|
+
return true;
|
|
5137
|
+
}
|
|
5138
|
+
}
|
|
5139
|
+
return false;
|
|
5140
|
+
}
|
|
5141
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
5142
|
+
var displayName = outerType.displayName;
|
|
5143
|
+
if (displayName) {
|
|
5144
|
+
return displayName;
|
|
5145
|
+
}
|
|
5146
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
5147
|
+
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
5148
|
+
} // Keep in sync with react-reconciler/getComponentNameFromFiber
|
|
5759
5149
|
|
|
5760
|
-
|
|
5150
|
+
function getContextName(type) {
|
|
5151
|
+
return type.displayName || 'Context';
|
|
5152
|
+
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
|
|
5761
5153
|
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5765
|
-
// The Symbol used to tag the ReactElement-like types.
|
|
5766
|
-
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
5767
|
-
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
5768
|
-
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
5769
|
-
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
5770
|
-
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
5771
|
-
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
5772
|
-
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
5773
|
-
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
5774
|
-
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
5775
|
-
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
5776
|
-
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
5777
|
-
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
5778
|
-
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
5779
|
-
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
5780
|
-
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
5781
|
-
function getIteratorFn(maybeIterable) {
|
|
5782
|
-
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
|
5154
|
+
function getComponentNameFromType(type) {
|
|
5155
|
+
if (type == null) {
|
|
5156
|
+
// Host root, text node or just invalid type.
|
|
5783
5157
|
return null;
|
|
5784
5158
|
}
|
|
5785
|
-
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
5786
|
-
if (typeof maybeIterator === 'function') {
|
|
5787
|
-
return maybeIterator;
|
|
5788
|
-
}
|
|
5789
|
-
return null;
|
|
5790
|
-
}
|
|
5791
|
-
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
5792
|
-
function error(format) {
|
|
5793
5159
|
{
|
|
5794
|
-
{
|
|
5795
|
-
|
|
5796
|
-
args[_key2 - 1] = arguments[_key2];
|
|
5797
|
-
}
|
|
5798
|
-
printWarning('error', format, args);
|
|
5799
|
-
}
|
|
5800
|
-
}
|
|
5801
|
-
}
|
|
5802
|
-
function printWarning(level, format, args) {
|
|
5803
|
-
// When changing this logic, you might want to also
|
|
5804
|
-
// update consoleWithStackDev.www.js as well.
|
|
5805
|
-
{
|
|
5806
|
-
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
5807
|
-
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
5808
|
-
if (stack !== '') {
|
|
5809
|
-
format += '%s';
|
|
5810
|
-
args = args.concat([stack]);
|
|
5811
|
-
} // eslint-disable-next-line react-internal/safe-string-coercion
|
|
5812
|
-
|
|
5813
|
-
var argsWithFormat = args.map(function (item) {
|
|
5814
|
-
return String(item);
|
|
5815
|
-
}); // Careful: RN currently depends on this prefix
|
|
5816
|
-
|
|
5817
|
-
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
5818
|
-
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
5819
|
-
// eslint-disable-next-line react-internal/no-production-logging
|
|
5820
|
-
|
|
5821
|
-
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
5822
|
-
}
|
|
5823
|
-
}
|
|
5824
|
-
|
|
5825
|
-
// -----------------------------------------------------------------------------
|
|
5826
|
-
|
|
5827
|
-
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
5828
|
-
var enableCacheElement = false;
|
|
5829
|
-
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
5830
|
-
|
|
5831
|
-
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
5832
|
-
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
5833
|
-
// issues in DEV builds.
|
|
5834
|
-
|
|
5835
|
-
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
5836
|
-
|
|
5837
|
-
var REACT_MODULE_REFERENCE;
|
|
5838
|
-
{
|
|
5839
|
-
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
5840
|
-
}
|
|
5841
|
-
function isValidElementType(type) {
|
|
5842
|
-
if (typeof type === 'string' || typeof type === 'function') {
|
|
5843
|
-
return true;
|
|
5844
|
-
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
5845
|
-
|
|
5846
|
-
if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
|
|
5847
|
-
return true;
|
|
5848
|
-
}
|
|
5849
|
-
if (typeof type === 'object' && type !== null) {
|
|
5850
|
-
if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
|
|
5851
|
-
// This needs to include all possible module reference object
|
|
5852
|
-
// types supported by any Flight configuration anywhere since
|
|
5853
|
-
// we don't know which Flight build this will end up being used
|
|
5854
|
-
// with.
|
|
5855
|
-
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
5856
|
-
return true;
|
|
5857
|
-
}
|
|
5858
|
-
}
|
|
5859
|
-
return false;
|
|
5860
|
-
}
|
|
5861
|
-
function getWrappedName(outerType, innerType, wrapperName) {
|
|
5862
|
-
var displayName = outerType.displayName;
|
|
5863
|
-
if (displayName) {
|
|
5864
|
-
return displayName;
|
|
5865
|
-
}
|
|
5866
|
-
var functionName = innerType.displayName || innerType.name || '';
|
|
5867
|
-
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
5868
|
-
} // Keep in sync with react-reconciler/getComponentNameFromFiber
|
|
5869
|
-
|
|
5870
|
-
function getContextName(type) {
|
|
5871
|
-
return type.displayName || 'Context';
|
|
5872
|
-
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
|
|
5873
|
-
|
|
5874
|
-
function getComponentNameFromType(type) {
|
|
5875
|
-
if (type == null) {
|
|
5876
|
-
// Host root, text node or just invalid type.
|
|
5877
|
-
return null;
|
|
5878
|
-
}
|
|
5879
|
-
{
|
|
5880
|
-
if (typeof type.tag === 'number') {
|
|
5881
|
-
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
|
|
5160
|
+
if (typeof type.tag === 'number') {
|
|
5161
|
+
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
|
|
5882
5162
|
}
|
|
5883
5163
|
}
|
|
5884
5164
|
if (typeof type === 'function') {
|
|
@@ -6906,9 +6186,11 @@ const Grid = /*#__PURE__*/React.forwardRef(({
|
|
|
6906
6186
|
const BaseGrid = styled__default.default(View)({
|
|
6907
6187
|
display: 'flex',
|
|
6908
6188
|
flexDirection: 'row'
|
|
6909
|
-
},
|
|
6189
|
+
}, ({
|
|
6190
|
+
theme
|
|
6191
|
+
}) => variant({
|
|
6910
6192
|
prop: 'gapX',
|
|
6911
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
6193
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
6912
6194
|
const styleValue = {
|
|
6913
6195
|
'& > *': {
|
|
6914
6196
|
px: forcePixelValue(value / 2)
|
|
@@ -6917,9 +6199,11 @@ const BaseGrid = styled__default.default(View)({
|
|
|
6917
6199
|
};
|
|
6918
6200
|
return [key, styleValue];
|
|
6919
6201
|
}))
|
|
6920
|
-
}),
|
|
6202
|
+
}), ({
|
|
6203
|
+
theme
|
|
6204
|
+
}) => variant({
|
|
6921
6205
|
prop: 'gapY',
|
|
6922
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
6206
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
6923
6207
|
const styleValue = {
|
|
6924
6208
|
'& > *': {
|
|
6925
6209
|
mt: forcePixelValue(value)
|
|
@@ -7007,34 +6291,136 @@ const Text = styled__default.default.span({
|
|
|
7007
6291
|
'& > span': {
|
|
7008
6292
|
display: 'inline'
|
|
7009
6293
|
}
|
|
7010
|
-
},
|
|
6294
|
+
}, ({
|
|
6295
|
+
theme
|
|
6296
|
+
}) => variant({
|
|
7011
6297
|
prop: 'typography',
|
|
7012
6298
|
variants: {
|
|
7013
|
-
'display1':
|
|
7014
|
-
|
|
7015
|
-
|
|
7016
|
-
|
|
7017
|
-
|
|
7018
|
-
'
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
'
|
|
7024
|
-
|
|
7025
|
-
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
'
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
|
|
7033
|
-
'
|
|
7034
|
-
|
|
7035
|
-
|
|
7036
|
-
|
|
7037
|
-
|
|
6299
|
+
'display1': {
|
|
6300
|
+
fontSize: theme.fontSizes.display1,
|
|
6301
|
+
fontWeight: theme.fontWeights.bold,
|
|
6302
|
+
lineHeight: theme.lineHeights[1]
|
|
6303
|
+
},
|
|
6304
|
+
'display2': {
|
|
6305
|
+
fontSize: theme.fontSizes.display2,
|
|
6306
|
+
fontWeight: theme.fontWeights.bold,
|
|
6307
|
+
lineHeight: theme.lineHeights[1]
|
|
6308
|
+
},
|
|
6309
|
+
'display3': {
|
|
6310
|
+
fontSize: theme.fontSizes.display3,
|
|
6311
|
+
fontWeight: theme.fontWeights.bold,
|
|
6312
|
+
lineHeight: theme.lineHeights[1]
|
|
6313
|
+
},
|
|
6314
|
+
'display4': {
|
|
6315
|
+
fontSize: theme.fontSizes.display4,
|
|
6316
|
+
fontWeight: theme.fontWeights.bold,
|
|
6317
|
+
lineHeight: theme.lineHeights[2]
|
|
6318
|
+
},
|
|
6319
|
+
'xxl/regular': {
|
|
6320
|
+
fontSize: theme.fontSizes.xxl,
|
|
6321
|
+
fontWeight: theme.fontWeights.regular,
|
|
6322
|
+
lineHeight: theme.lineHeights[2]
|
|
6323
|
+
},
|
|
6324
|
+
'xxl': {
|
|
6325
|
+
fontSize: theme.fontSizes.xxl,
|
|
6326
|
+
fontWeight: theme.fontWeights.medium,
|
|
6327
|
+
lineHeight: theme.lineHeights[2]
|
|
6328
|
+
},
|
|
6329
|
+
'xxl/bold': {
|
|
6330
|
+
fontSize: theme.fontSizes.xxl,
|
|
6331
|
+
fontWeight: theme.fontWeights.bold,
|
|
6332
|
+
lineHeight: theme.lineHeights[2]
|
|
6333
|
+
},
|
|
6334
|
+
'xl/regular': {
|
|
6335
|
+
fontSize: theme.fontSizes.xl,
|
|
6336
|
+
fontWeight: theme.fontWeights.regular,
|
|
6337
|
+
lineHeight: theme.lineHeights[2]
|
|
6338
|
+
},
|
|
6339
|
+
'xl': {
|
|
6340
|
+
fontSize: theme.fontSizes.xl,
|
|
6341
|
+
fontWeight: theme.fontWeights.medium,
|
|
6342
|
+
lineHeight: theme.lineHeights[2]
|
|
6343
|
+
},
|
|
6344
|
+
'xl/bold': {
|
|
6345
|
+
fontSize: theme.fontSizes.xl,
|
|
6346
|
+
fontWeight: theme.fontWeights.bold,
|
|
6347
|
+
lineHeight: theme.lineHeights[2]
|
|
6348
|
+
},
|
|
6349
|
+
'l/regular': {
|
|
6350
|
+
fontSize: theme.fontSizes.l,
|
|
6351
|
+
fontWeight: theme.fontWeights.regular,
|
|
6352
|
+
lineHeight: theme.lineHeights[2]
|
|
6353
|
+
},
|
|
6354
|
+
'l': {
|
|
6355
|
+
fontSize: theme.fontSizes.l,
|
|
6356
|
+
fontWeight: theme.fontWeights.medium,
|
|
6357
|
+
lineHeight: theme.lineHeights[2]
|
|
6358
|
+
},
|
|
6359
|
+
'l/bold': {
|
|
6360
|
+
fontSize: theme.fontSizes.l,
|
|
6361
|
+
fontWeight: theme.fontWeights.bold,
|
|
6362
|
+
lineHeight: theme.lineHeights[2]
|
|
6363
|
+
},
|
|
6364
|
+
'm/regular': {
|
|
6365
|
+
fontSize: theme.fontSizes.m,
|
|
6366
|
+
fontWeight: theme.fontWeights.regular,
|
|
6367
|
+
lineHeight: theme.lineHeights[2]
|
|
6368
|
+
},
|
|
6369
|
+
'm': {
|
|
6370
|
+
fontSize: theme.fontSizes.m,
|
|
6371
|
+
fontWeight: theme.fontWeights.medium,
|
|
6372
|
+
lineHeight: theme.lineHeights[2]
|
|
6373
|
+
},
|
|
6374
|
+
'm/bold': {
|
|
6375
|
+
fontSize: theme.fontSizes.m,
|
|
6376
|
+
fontWeight: theme.fontWeights.bold,
|
|
6377
|
+
lineHeight: theme.lineHeights[2]
|
|
6378
|
+
},
|
|
6379
|
+
's/regular': {
|
|
6380
|
+
fontSize: theme.fontSizes.s,
|
|
6381
|
+
fontWeight: theme.fontWeights.regular,
|
|
6382
|
+
lineHeight: theme.lineHeights[2]
|
|
6383
|
+
},
|
|
6384
|
+
's': {
|
|
6385
|
+
fontSize: theme.fontSizes.s,
|
|
6386
|
+
fontWeight: theme.fontWeights.medium,
|
|
6387
|
+
lineHeight: theme.lineHeights[2]
|
|
6388
|
+
},
|
|
6389
|
+
's/bold': {
|
|
6390
|
+
fontSize: theme.fontSizes.s,
|
|
6391
|
+
fontWeight: theme.fontWeights.bold,
|
|
6392
|
+
lineHeight: theme.lineHeights[2]
|
|
6393
|
+
},
|
|
6394
|
+
'xs/regular': {
|
|
6395
|
+
fontSize: theme.fontSizes.xs,
|
|
6396
|
+
fontWeight: theme.fontWeights.regular,
|
|
6397
|
+
lineHeight: theme.lineHeights[2]
|
|
6398
|
+
},
|
|
6399
|
+
'xs': {
|
|
6400
|
+
fontSize: theme.fontSizes.xs,
|
|
6401
|
+
fontWeight: theme.fontWeights.medium,
|
|
6402
|
+
lineHeight: theme.lineHeights[2]
|
|
6403
|
+
},
|
|
6404
|
+
'xs/bold': {
|
|
6405
|
+
fontSize: theme.fontSizes.xs,
|
|
6406
|
+
fontWeight: theme.fontWeights.bold,
|
|
6407
|
+
lineHeight: theme.lineHeights[2]
|
|
6408
|
+
},
|
|
6409
|
+
'xxs/regular': {
|
|
6410
|
+
fontSize: theme.fontSizes.xxs,
|
|
6411
|
+
fontWeight: theme.fontWeights.regular,
|
|
6412
|
+
lineHeight: theme.lineHeights[2]
|
|
6413
|
+
},
|
|
6414
|
+
'xxs': {
|
|
6415
|
+
fontSize: theme.fontSizes.xxs,
|
|
6416
|
+
fontWeight: theme.fontWeights.medium,
|
|
6417
|
+
lineHeight: theme.lineHeights[2]
|
|
6418
|
+
},
|
|
6419
|
+
'xxs/bold': {
|
|
6420
|
+
fontSize: theme.fontSizes.xxs,
|
|
6421
|
+
fontWeight: theme.fontWeights.bold,
|
|
6422
|
+
lineHeight: theme.lineHeights[2]
|
|
6423
|
+
}
|
|
7038
6424
|
}
|
|
7039
6425
|
}), compose(wordBreak, whiteSpace, textDecoration, fontSize$1, fontWeight$1, lineHeight$1, color$2, textAlign), sx);
|
|
7040
6426
|
Text.defaultProps = {
|
|
@@ -9564,7 +8950,7 @@ const hsla = {
|
|
|
9564
8950
|
},
|
|
9565
8951
|
};
|
|
9566
8952
|
|
|
9567
|
-
const color = {
|
|
8953
|
+
const color$1 = {
|
|
9568
8954
|
test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),
|
|
9569
8955
|
parse: (v) => {
|
|
9570
8956
|
if (rgba.test(v)) {
|
|
@@ -9700,7 +9086,7 @@ const colorTokeniser = {
|
|
|
9700
9086
|
regex: colorRegex,
|
|
9701
9087
|
countKey: "Colors",
|
|
9702
9088
|
token: "${c}",
|
|
9703
|
-
parse: color.parse,
|
|
9089
|
+
parse: color$1.parse,
|
|
9704
9090
|
};
|
|
9705
9091
|
const numberTokeniser = {
|
|
9706
9092
|
regex: floatRegex,
|
|
@@ -9745,7 +9131,7 @@ function createTransformer(source) {
|
|
|
9745
9131
|
output = output.replace(cssVarTokeniser.token, v[i]);
|
|
9746
9132
|
}
|
|
9747
9133
|
else if (i < numVars + numColors) {
|
|
9748
|
-
output = output.replace(colorTokeniser.token, color.transform(v[i]));
|
|
9134
|
+
output = output.replace(colorTokeniser.token, color$1.transform(v[i]));
|
|
9749
9135
|
}
|
|
9750
9136
|
else {
|
|
9751
9137
|
output = output.replace(numberTokeniser.token, sanitize(v[i]));
|
|
@@ -9772,7 +9158,7 @@ function getMixer(origin, target) {
|
|
|
9772
9158
|
if (typeof origin === "number") {
|
|
9773
9159
|
return (v) => mix(origin, target, v);
|
|
9774
9160
|
}
|
|
9775
|
-
else if (color.test(origin)) {
|
|
9161
|
+
else if (color$1.test(origin)) {
|
|
9776
9162
|
return mixColor(origin, target);
|
|
9777
9163
|
}
|
|
9778
9164
|
else {
|
|
@@ -9846,7 +9232,7 @@ function detectMixerFactory(v) {
|
|
|
9846
9232
|
return mixNumber;
|
|
9847
9233
|
}
|
|
9848
9234
|
else if (typeof v === "string") {
|
|
9849
|
-
return color.test(v) ? mixColor : mixComplex;
|
|
9235
|
+
return color$1.test(v) ? mixColor : mixComplex;
|
|
9850
9236
|
}
|
|
9851
9237
|
else if (Array.isArray(v)) {
|
|
9852
9238
|
return mixArray;
|
|
@@ -10941,17 +10327,17 @@ const filter = {
|
|
|
10941
10327
|
const defaultValueTypes = {
|
|
10942
10328
|
...numberValueTypes,
|
|
10943
10329
|
// Color props
|
|
10944
|
-
color,
|
|
10945
|
-
backgroundColor: color,
|
|
10946
|
-
outlineColor: color,
|
|
10947
|
-
fill: color,
|
|
10948
|
-
stroke: color,
|
|
10330
|
+
color: color$1,
|
|
10331
|
+
backgroundColor: color$1,
|
|
10332
|
+
outlineColor: color$1,
|
|
10333
|
+
fill: color$1,
|
|
10334
|
+
stroke: color$1,
|
|
10949
10335
|
// Border props
|
|
10950
|
-
borderColor: color,
|
|
10951
|
-
borderTopColor: color,
|
|
10952
|
-
borderRightColor: color,
|
|
10953
|
-
borderBottomColor: color,
|
|
10954
|
-
borderLeftColor: color,
|
|
10336
|
+
borderColor: color$1,
|
|
10337
|
+
borderTopColor: color$1,
|
|
10338
|
+
borderRightColor: color$1,
|
|
10339
|
+
borderBottomColor: color$1,
|
|
10340
|
+
borderLeftColor: color$1,
|
|
10955
10341
|
filter,
|
|
10956
10342
|
WebkitFilter: filter,
|
|
10957
10343
|
};
|
|
@@ -11541,7 +10927,7 @@ const findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v))
|
|
|
11541
10927
|
/**
|
|
11542
10928
|
* A list of all ValueTypes
|
|
11543
10929
|
*/
|
|
11544
|
-
const valueTypes = [...dimensionValueTypes, color, complex];
|
|
10930
|
+
const valueTypes = [...dimensionValueTypes, color$1, complex];
|
|
11545
10931
|
/**
|
|
11546
10932
|
* Tests a value against the list of ValueTypes
|
|
11547
10933
|
*/
|
|
@@ -17107,12 +16493,14 @@ const spin = styled.keyframes`
|
|
|
17107
16493
|
}
|
|
17108
16494
|
`;
|
|
17109
16495
|
const Spinner = styled__default.default(SvgProgressGradient)`
|
|
16496
|
+
color: ${({
|
|
16497
|
+
theme
|
|
16498
|
+
}) => theme.colors['icon/neutral']};
|
|
17110
16499
|
animation: ${spin} 1000ms infinite steps(8, end);
|
|
17111
16500
|
`;
|
|
17112
16501
|
Spinner.defaultProps = {
|
|
17113
16502
|
width: 32,
|
|
17114
|
-
height: 32
|
|
17115
|
-
color: color$1['icon/neutral']
|
|
16503
|
+
height: 32
|
|
17116
16504
|
};
|
|
17117
16505
|
|
|
17118
16506
|
const UnstyledButton = styled__default.default.button`
|
|
@@ -17658,17 +17046,20 @@ const Chip = ({
|
|
|
17658
17046
|
trailingIcon: TrailingIcon,
|
|
17659
17047
|
children: [LeadingIcon ? /*#__PURE__*/jsxRuntimeExports.jsx(LeadingIcon, {}) : null, children, TrailingIcon ? /*#__PURE__*/jsxRuntimeExports.jsx(TrailingIcon, {}) : null]
|
|
17660
17048
|
});
|
|
17661
|
-
const BaseChip = styled__default.default.span({
|
|
17049
|
+
const BaseChip = styled__default.default.span(({
|
|
17050
|
+
theme
|
|
17051
|
+
}) => ({
|
|
17662
17052
|
position: 'relative',
|
|
17663
17053
|
width: 'fit-content',
|
|
17664
|
-
borderRadius: radii.full,
|
|
17054
|
+
borderRadius: theme.radii.full,
|
|
17665
17055
|
outline: 'none',
|
|
17666
17056
|
display: 'flex',
|
|
17667
17057
|
flexDirection: 'row',
|
|
17668
17058
|
alignItems: 'center'
|
|
17669
|
-
}, ({
|
|
17059
|
+
}), ({
|
|
17670
17060
|
leadingIcon,
|
|
17671
|
-
trailingIcon
|
|
17061
|
+
trailingIcon,
|
|
17062
|
+
theme
|
|
17672
17063
|
}) => variant({
|
|
17673
17064
|
prop: 'size',
|
|
17674
17065
|
variants: {
|
|
@@ -17676,9 +17067,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17676
17067
|
'pl': leadingIcon ? 2 : 3,
|
|
17677
17068
|
'pr': trailingIcon ? 2 : 3,
|
|
17678
17069
|
'py': 1,
|
|
17679
|
-
'fontSize':
|
|
17680
|
-
'fontWeight':
|
|
17681
|
-
'lineHeight':
|
|
17070
|
+
'fontSize': theme.fontSizes.s,
|
|
17071
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17072
|
+
'lineHeight': theme.lineHeights[2],
|
|
17682
17073
|
'columnGap': 1,
|
|
17683
17074
|
'& svg': {
|
|
17684
17075
|
width: 16,
|
|
@@ -17689,9 +17080,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17689
17080
|
'pl': leadingIcon ? 2 : 3,
|
|
17690
17081
|
'pr': trailingIcon ? 2 : 3,
|
|
17691
17082
|
'py': 1,
|
|
17692
|
-
'fontSize':
|
|
17693
|
-
'fontWeight':
|
|
17694
|
-
'lineHeight':
|
|
17083
|
+
'fontSize': theme.fontSizes.xs,
|
|
17084
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17085
|
+
'lineHeight': theme.lineHeights[2],
|
|
17695
17086
|
'columnGap': 0.5,
|
|
17696
17087
|
'& svg': {
|
|
17697
17088
|
width: 16,
|
|
@@ -17702,9 +17093,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17702
17093
|
'pl': !leadingIcon && trailingIcon ? 3 : 2,
|
|
17703
17094
|
'pr': leadingIcon && !trailingIcon ? 3 : 2,
|
|
17704
17095
|
'py': 0.5,
|
|
17705
|
-
'fontSize':
|
|
17706
|
-
'fontWeight':
|
|
17707
|
-
'lineHeight':
|
|
17096
|
+
'fontSize': theme.fontSizes.xxs,
|
|
17097
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17098
|
+
'lineHeight': theme.lineHeights[2],
|
|
17708
17099
|
'columnGap': 0.5,
|
|
17709
17100
|
'& svg': {
|
|
17710
17101
|
width: 12,
|
|
@@ -17712,28 +17103,30 @@ const BaseChip = styled__default.default.span({
|
|
|
17712
17103
|
}
|
|
17713
17104
|
}
|
|
17714
17105
|
}
|
|
17715
|
-
}),
|
|
17106
|
+
}), ({
|
|
17107
|
+
theme
|
|
17108
|
+
}) => variant({
|
|
17716
17109
|
prop: 'variant',
|
|
17717
17110
|
variants: {
|
|
17718
17111
|
'primary': {
|
|
17719
|
-
'backgroundColor':
|
|
17720
|
-
'color':
|
|
17112
|
+
'backgroundColor': theme.colors['bg/primary'],
|
|
17113
|
+
'color': theme.colors['text/inverse'],
|
|
17721
17114
|
'& svg': {
|
|
17722
|
-
color:
|
|
17115
|
+
color: theme.colors['icon/inverse']
|
|
17723
17116
|
}
|
|
17724
17117
|
},
|
|
17725
17118
|
'secondary': {
|
|
17726
|
-
'backgroundColor':
|
|
17727
|
-
'color':
|
|
17119
|
+
'backgroundColor': theme.colors['bg/secondary'],
|
|
17120
|
+
'color': theme.colors['text/primary'],
|
|
17728
17121
|
'& svg': {
|
|
17729
|
-
color:
|
|
17122
|
+
color: theme.colors['icon/primary']
|
|
17730
17123
|
}
|
|
17731
17124
|
},
|
|
17732
17125
|
'outlined-primary': {
|
|
17733
|
-
'backgroundColor':
|
|
17734
|
-
'color':
|
|
17126
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17127
|
+
'color': theme.colors['text/primary'],
|
|
17735
17128
|
'& svg': {
|
|
17736
|
-
color:
|
|
17129
|
+
color: theme.colors['icon/primary']
|
|
17737
17130
|
},
|
|
17738
17131
|
'&:after': {
|
|
17739
17132
|
content: '""',
|
|
@@ -17744,16 +17137,16 @@ const BaseChip = styled__default.default.span({
|
|
|
17744
17137
|
left: 0,
|
|
17745
17138
|
borderWidth: 1,
|
|
17746
17139
|
borderStyle: 'solid',
|
|
17747
|
-
borderColor:
|
|
17748
|
-
borderRadius: radii.full,
|
|
17140
|
+
borderColor: theme.colors['border/primary'],
|
|
17141
|
+
borderRadius: theme.radii.full,
|
|
17749
17142
|
boxSizing: 'border-box'
|
|
17750
17143
|
}
|
|
17751
17144
|
},
|
|
17752
17145
|
'outlined-neutral': {
|
|
17753
|
-
'backgroundColor':
|
|
17754
|
-
'color':
|
|
17146
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17147
|
+
'color': theme.colors['text/neutral/subtle'],
|
|
17755
17148
|
'& svg': {
|
|
17756
|
-
color:
|
|
17149
|
+
color: theme.colors['icon/neutral/bolder']
|
|
17757
17150
|
},
|
|
17758
17151
|
'&:after': {
|
|
17759
17152
|
content: '""',
|
|
@@ -17764,51 +17157,51 @@ const BaseChip = styled__default.default.span({
|
|
|
17764
17157
|
left: 0,
|
|
17765
17158
|
borderWidth: 1,
|
|
17766
17159
|
borderStyle: 'solid',
|
|
17767
|
-
borderColor:
|
|
17768
|
-
borderRadius: radii.full,
|
|
17160
|
+
borderColor: theme.colors['border/neutral/bolder'],
|
|
17161
|
+
borderRadius: theme.radii.full,
|
|
17769
17162
|
boxSizing: 'border-box'
|
|
17770
17163
|
}
|
|
17771
17164
|
},
|
|
17772
17165
|
'neutral': {
|
|
17773
|
-
'backgroundColor':
|
|
17774
|
-
'color':
|
|
17166
|
+
'backgroundColor': theme.colors['bg/neutral'],
|
|
17167
|
+
'color': theme.colors['text/neutral/subtle'],
|
|
17775
17168
|
'& svg': {
|
|
17776
|
-
color:
|
|
17169
|
+
color: theme.colors['icon/neutral/bolder']
|
|
17777
17170
|
}
|
|
17778
17171
|
},
|
|
17779
17172
|
'red': {
|
|
17780
|
-
'backgroundColor':
|
|
17781
|
-
'color':
|
|
17173
|
+
'backgroundColor': theme.colors['bg/accent/red/subtlest'],
|
|
17174
|
+
'color': theme.colors['text/accent/red'],
|
|
17782
17175
|
'& svg': {
|
|
17783
|
-
color:
|
|
17176
|
+
color: theme.colors['icon/accent/red']
|
|
17784
17177
|
}
|
|
17785
17178
|
},
|
|
17786
17179
|
'red-accent': {
|
|
17787
|
-
'backgroundColor':
|
|
17788
|
-
'color':
|
|
17180
|
+
'backgroundColor': theme.colors['bg/accent/red'],
|
|
17181
|
+
'color': theme.colors['text/inverse'],
|
|
17789
17182
|
'& svg': {
|
|
17790
|
-
color:
|
|
17183
|
+
color: theme.colors['icon/inverse']
|
|
17791
17184
|
}
|
|
17792
17185
|
},
|
|
17793
17186
|
'yellow': {
|
|
17794
|
-
'backgroundColor':
|
|
17795
|
-
'color':
|
|
17187
|
+
'backgroundColor': theme.colors['bg/accent/yellow/subtlest'],
|
|
17188
|
+
'color': theme.colors['text/accent/yellow'],
|
|
17796
17189
|
'& svg': {
|
|
17797
|
-
color:
|
|
17190
|
+
color: theme.colors['icon/accent/yellow']
|
|
17798
17191
|
}
|
|
17799
17192
|
},
|
|
17800
17193
|
'green': {
|
|
17801
|
-
'backgroundColor':
|
|
17802
|
-
'color':
|
|
17194
|
+
'backgroundColor': theme.colors['bg/accent/green/subtlest'],
|
|
17195
|
+
'color': theme.colors['text/accent/green'],
|
|
17803
17196
|
'& svg': {
|
|
17804
|
-
color:
|
|
17197
|
+
color: theme.colors['icon/accent/green']
|
|
17805
17198
|
}
|
|
17806
17199
|
},
|
|
17807
17200
|
'dim': {
|
|
17808
|
-
'backgroundColor':
|
|
17809
|
-
'color':
|
|
17201
|
+
'backgroundColor': theme.colors['dim'],
|
|
17202
|
+
'color': theme.colors['text/inverse'],
|
|
17810
17203
|
'& svg': {
|
|
17811
|
-
color:
|
|
17204
|
+
color: theme.colors['icon/inverse']
|
|
17812
17205
|
}
|
|
17813
17206
|
}
|
|
17814
17207
|
}
|
|
@@ -18148,10 +17541,11 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
18148
17541
|
});
|
|
18149
17542
|
const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
18150
17543
|
$loading,
|
|
18151
|
-
$disabled
|
|
17544
|
+
$disabled,
|
|
17545
|
+
theme
|
|
18152
17546
|
}) => ({
|
|
18153
17547
|
'position': 'relative',
|
|
18154
|
-
'borderRadius': radii.full,
|
|
17548
|
+
'borderRadius': theme.radii.full,
|
|
18155
17549
|
'transition': 'background-color 100ms, color 100ms',
|
|
18156
17550
|
'& svg': {
|
|
18157
17551
|
display: 'block',
|
|
@@ -18159,7 +17553,7 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18159
17553
|
},
|
|
18160
17554
|
'cursor': $loading ? 'progress' : $disabled ? 'not-allowed' : 'pointer',
|
|
18161
17555
|
'&:focus-visible': {
|
|
18162
|
-
outlineColor:
|
|
17556
|
+
outlineColor: theme.colors['border/focused'],
|
|
18163
17557
|
outlineStyle: 'solid',
|
|
18164
17558
|
outlineWidth: 2,
|
|
18165
17559
|
outlineOffset: 2
|
|
@@ -18190,55 +17584,56 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18190
17584
|
}
|
|
18191
17585
|
}
|
|
18192
17586
|
}), ({
|
|
18193
|
-
$disabled
|
|
17587
|
+
$disabled,
|
|
17588
|
+
theme
|
|
18194
17589
|
}) => variant({
|
|
18195
17590
|
prop: 'variant',
|
|
18196
17591
|
variants: {
|
|
18197
17592
|
'primary': {
|
|
18198
|
-
'backgroundColor':
|
|
18199
|
-
'color':
|
|
17593
|
+
'backgroundColor': theme.colors['bg/primary'],
|
|
17594
|
+
'color': theme.colors['icon/inverse'],
|
|
18200
17595
|
'&:hover:not(:disabled)': {
|
|
18201
|
-
backgroundColor:
|
|
17596
|
+
backgroundColor: theme.colors['bg/primary/hovered']
|
|
18202
17597
|
},
|
|
18203
17598
|
'&:active:not(:disabled)': {
|
|
18204
|
-
backgroundColor:
|
|
17599
|
+
backgroundColor: theme.colors['bg/primary/pressed']
|
|
18205
17600
|
},
|
|
18206
17601
|
...($disabled ? {
|
|
18207
|
-
backgroundColor:
|
|
18208
|
-
color:
|
|
17602
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17603
|
+
color: theme.colors['icon/disabled']
|
|
18209
17604
|
} : {})
|
|
18210
17605
|
},
|
|
18211
17606
|
'secondary': {
|
|
18212
|
-
'backgroundColor':
|
|
18213
|
-
'color':
|
|
17607
|
+
'backgroundColor': theme.colors['bg/secondary'],
|
|
17608
|
+
'color': theme.colors['icon/primary'],
|
|
18214
17609
|
'&:hover:not(:disabled)': {
|
|
18215
|
-
backgroundColor:
|
|
17610
|
+
backgroundColor: theme.colors['bg/secondary/hovered']
|
|
18216
17611
|
},
|
|
18217
17612
|
'&:active:not(:disabled)': {
|
|
18218
|
-
backgroundColor:
|
|
17613
|
+
backgroundColor: theme.colors['bg/secondary/pressed']
|
|
18219
17614
|
},
|
|
18220
17615
|
...($disabled ? {
|
|
18221
|
-
backgroundColor:
|
|
18222
|
-
color:
|
|
17616
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17617
|
+
color: theme.colors['icon/disabled']
|
|
18223
17618
|
} : {})
|
|
18224
17619
|
},
|
|
18225
17620
|
'neutral': {
|
|
18226
|
-
'backgroundColor':
|
|
18227
|
-
'color':
|
|
17621
|
+
'backgroundColor': theme.colors['bg/neutral'],
|
|
17622
|
+
'color': theme.colors['icon/accent/gray'],
|
|
18228
17623
|
'&:hover:not(:disabled)': {
|
|
18229
|
-
backgroundColor:
|
|
17624
|
+
backgroundColor: theme.colors['bg/neutral/hovered']
|
|
18230
17625
|
},
|
|
18231
17626
|
'&:active:not(:disabled)': {
|
|
18232
|
-
backgroundColor:
|
|
17627
|
+
backgroundColor: theme.colors['bg/neutral/pressed']
|
|
18233
17628
|
},
|
|
18234
17629
|
...($disabled ? {
|
|
18235
|
-
backgroundColor:
|
|
18236
|
-
color:
|
|
17630
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17631
|
+
color: theme.colors['icon/disabled']
|
|
18237
17632
|
} : {})
|
|
18238
17633
|
},
|
|
18239
17634
|
'outlined': {
|
|
18240
|
-
'backgroundColor':
|
|
18241
|
-
'color':
|
|
17635
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17636
|
+
'color': theme.colors['icon/neutral/bolder'],
|
|
18242
17637
|
'&:after': {
|
|
18243
17638
|
content: '""',
|
|
18244
17639
|
position: 'absolute',
|
|
@@ -18248,78 +17643,78 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18248
17643
|
left: 0,
|
|
18249
17644
|
borderWidth: 1,
|
|
18250
17645
|
borderStyle: 'solid',
|
|
18251
|
-
borderColor:
|
|
18252
|
-
borderRadius: radii.full,
|
|
17646
|
+
borderColor: theme.colors['border/neutral/bolder'],
|
|
17647
|
+
borderRadius: theme.radii.full,
|
|
18253
17648
|
boxSizing: 'border-box'
|
|
18254
17649
|
},
|
|
18255
17650
|
'&:hover:not(:disabled)': {
|
|
18256
|
-
backgroundColor:
|
|
17651
|
+
backgroundColor: theme.colors['bg/neutral/subtler/hovered']
|
|
18257
17652
|
},
|
|
18258
17653
|
'&:active:not(:disabled)': {
|
|
18259
|
-
backgroundColor:
|
|
17654
|
+
backgroundColor: theme.colors['bg/neutral/subtler/pressed']
|
|
18260
17655
|
},
|
|
18261
17656
|
...($disabled ? {
|
|
18262
|
-
'backgroundColor':
|
|
18263
|
-
'color':
|
|
17657
|
+
'backgroundColor': theme.colors['bg/disabled'],
|
|
17658
|
+
'color': theme.colors['icon/disabled'],
|
|
18264
17659
|
'&:after': {
|
|
18265
17660
|
display: 'none'
|
|
18266
17661
|
}
|
|
18267
17662
|
} : {})
|
|
18268
17663
|
},
|
|
18269
17664
|
'plain-bold': {
|
|
18270
|
-
'backgroundColor':
|
|
18271
|
-
'color':
|
|
17665
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17666
|
+
'color': theme.colors['icon/neutral/bolder'],
|
|
18272
17667
|
'&:hover:not(:disabled)': {
|
|
18273
|
-
color:
|
|
17668
|
+
color: theme.colors['icon/accent/gray']
|
|
18274
17669
|
},
|
|
18275
17670
|
'&:active:not(:disabled)': {
|
|
18276
|
-
color:
|
|
17671
|
+
color: theme.colors['icon/accent/gray']
|
|
18277
17672
|
},
|
|
18278
17673
|
...($disabled ? {
|
|
18279
|
-
backgroundColor:
|
|
18280
|
-
color:
|
|
17674
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17675
|
+
color: theme.colors['icon/disabled']
|
|
18281
17676
|
} : {})
|
|
18282
17677
|
},
|
|
18283
17678
|
'plain': {
|
|
18284
|
-
'backgroundColor':
|
|
18285
|
-
'color':
|
|
17679
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17680
|
+
'color': theme.colors['icon/neutral/bold'],
|
|
18286
17681
|
'&:hover:not(:disabled)': {
|
|
18287
|
-
color:
|
|
17682
|
+
color: theme.colors['icon/neutral/bolder']
|
|
18288
17683
|
},
|
|
18289
17684
|
'&:active:not(:disabled)': {
|
|
18290
|
-
color:
|
|
17685
|
+
color: theme.colors['icon/neutral/bolder']
|
|
18291
17686
|
},
|
|
18292
17687
|
...($disabled ? {
|
|
18293
|
-
backgroundColor:
|
|
18294
|
-
color:
|
|
17688
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17689
|
+
color: theme.colors['icon/disabled/subtler']
|
|
18295
17690
|
} : {})
|
|
18296
17691
|
},
|
|
18297
17692
|
'plain-subtle': {
|
|
18298
|
-
'backgroundColor':
|
|
18299
|
-
'color':
|
|
17693
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17694
|
+
'color': theme.colors['icon/neutral'],
|
|
18300
17695
|
'&:hover:not(:disabled)': {
|
|
18301
|
-
color:
|
|
17696
|
+
color: theme.colors['icon/neutral/bold']
|
|
18302
17697
|
},
|
|
18303
17698
|
'&:active:not(:disabled)': {
|
|
18304
|
-
color:
|
|
17699
|
+
color: theme.colors['icon/neutral/bold']
|
|
18305
17700
|
},
|
|
18306
17701
|
...($disabled ? {
|
|
18307
|
-
backgroundColor:
|
|
18308
|
-
color:
|
|
17702
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17703
|
+
color: theme.colors['icon/disabled/subtler']
|
|
18309
17704
|
} : {})
|
|
18310
17705
|
},
|
|
18311
17706
|
'danger': {
|
|
18312
|
-
'backgroundColor':
|
|
18313
|
-
'color':
|
|
17707
|
+
'backgroundColor': theme.colors['bg/danger/bold'],
|
|
17708
|
+
'color': theme.colors['icon/inverse'],
|
|
18314
17709
|
'&:hover:not(:disabled)': {
|
|
18315
|
-
backgroundColor:
|
|
17710
|
+
backgroundColor: theme.colors['bg/danger/bold/hovered']
|
|
18316
17711
|
},
|
|
18317
17712
|
'&:active:not(:disabled)': {
|
|
18318
|
-
backgroundColor:
|
|
17713
|
+
backgroundColor: theme.colors['bg/danger/bold/pressed']
|
|
18319
17714
|
},
|
|
18320
17715
|
...($disabled ? {
|
|
18321
|
-
backgroundColor:
|
|
18322
|
-
color:
|
|
17716
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17717
|
+
color: theme.colors['icon/disabled']
|
|
18323
17718
|
} : {})
|
|
18324
17719
|
}
|
|
18325
17720
|
}
|
|
@@ -19219,15 +18614,19 @@ const Blanket = styled__default.default.span`
|
|
|
19219
18614
|
display: block;
|
|
19220
18615
|
cursor: default;
|
|
19221
18616
|
content: '';
|
|
19222
|
-
background: ${
|
|
18617
|
+
background: ${({
|
|
18618
|
+
theme
|
|
18619
|
+
}) => theme.colors.dim};
|
|
19223
18620
|
}
|
|
19224
18621
|
`;
|
|
19225
|
-
const BaseDialog = styled__default.default.div((
|
|
18622
|
+
const BaseDialog = styled__default.default.div(({
|
|
18623
|
+
theme
|
|
18624
|
+
}) => ({
|
|
19226
18625
|
display: 'flex',
|
|
19227
18626
|
flexDirection: 'column',
|
|
19228
18627
|
position: 'relative',
|
|
19229
|
-
boxShadow:
|
|
19230
|
-
backgroundColor:
|
|
18628
|
+
boxShadow: theme.shadows['shadow/overlay'],
|
|
18629
|
+
backgroundColor: theme.colors['surface/overlay'],
|
|
19231
18630
|
outline: 'none',
|
|
19232
18631
|
overflow: 'hidden',
|
|
19233
18632
|
margin: 'auto'
|
|
@@ -21220,6 +20619,7 @@ const OverlayPopper = ({
|
|
|
21220
20619
|
onOpen,
|
|
21221
20620
|
onClose
|
|
21222
20621
|
}) => {
|
|
20622
|
+
const theme = styled.useTheme();
|
|
21223
20623
|
const {
|
|
21224
20624
|
refs,
|
|
21225
20625
|
elements,
|
|
@@ -21228,7 +20628,7 @@ const OverlayPopper = ({
|
|
|
21228
20628
|
} = useFloating({
|
|
21229
20629
|
placement,
|
|
21230
20630
|
whileElementsMounted: autoUpdate,
|
|
21231
|
-
middleware: [offset(space[1]), flip(), shift()],
|
|
20631
|
+
middleware: [offset(theme.space[1]), flip(), shift()],
|
|
21232
20632
|
strategy: 'fixed'
|
|
21233
20633
|
});
|
|
21234
20634
|
const [isOpen, toggleOverlay, openOverlay, closeOverlay] = useToggleState({
|
|
@@ -21359,6 +20759,7 @@ const TextInput = ({
|
|
|
21359
20759
|
trailingAction,
|
|
21360
20760
|
...props
|
|
21361
20761
|
}, ref) => {
|
|
20762
|
+
const theme = styled.useTheme();
|
|
21362
20763
|
const inputRef = useProvidedOrCreatedRef(ref);
|
|
21363
20764
|
const focusInput = () => {
|
|
21364
20765
|
inputRef.current?.focus();
|
|
@@ -21375,12 +20776,12 @@ const TextInput = ({
|
|
|
21375
20776
|
'flexShrink': 0,
|
|
21376
20777
|
'fontSize': 'xxs',
|
|
21377
20778
|
'fontWeight': 'medium',
|
|
21378
|
-
'color':
|
|
20779
|
+
'color': theme.colors['text/neutral'],
|
|
21379
20780
|
'& > svg': {
|
|
21380
20781
|
display: 'block',
|
|
21381
20782
|
width: 16,
|
|
21382
20783
|
height: 16,
|
|
21383
|
-
color:
|
|
20784
|
+
color: theme.colors['icon/neutral/bold']
|
|
21384
20785
|
}
|
|
21385
20786
|
},
|
|
21386
20787
|
children: typeof LeadingVisual !== 'string' && reactIsExports.isValidElementType(LeadingVisual) ? /*#__PURE__*/jsxRuntimeExports.jsx(LeadingVisual, {}) : LeadingVisual
|
|
@@ -21400,12 +20801,12 @@ const TextInput = ({
|
|
|
21400
20801
|
'flexShrink': 0,
|
|
21401
20802
|
'fontSize': 'xxs',
|
|
21402
20803
|
'fontWeight': 'medium',
|
|
21403
|
-
'color':
|
|
20804
|
+
'color': theme.colors['text/neutral'],
|
|
21404
20805
|
'& > svg': {
|
|
21405
20806
|
display: 'block',
|
|
21406
20807
|
width: 16,
|
|
21407
20808
|
height: 16,
|
|
21408
|
-
color:
|
|
20809
|
+
color: theme.colors['icon/neutral/bold']
|
|
21409
20810
|
}
|
|
21410
20811
|
},
|
|
21411
20812
|
children: [typeof TrailingVisual !== 'string' && reactIsExports.isValidElementType(TrailingVisual) ? /*#__PURE__*/jsxRuntimeExports.jsx(TrailingVisual, {}) : TrailingVisual, trailingAction ? /*#__PURE__*/React.cloneElement(trailingAction, {
|
|
@@ -23437,17 +22838,18 @@ const IconToggleButton = ({
|
|
|
23437
22838
|
});
|
|
23438
22839
|
};
|
|
23439
22840
|
const BaseIconToggleButton = styled__default.default(UnstyledButton)(({
|
|
23440
|
-
$disabled
|
|
22841
|
+
$disabled,
|
|
22842
|
+
theme
|
|
23441
22843
|
}) => ({
|
|
23442
22844
|
'position': 'relative',
|
|
23443
|
-
'borderRadius': radii.full,
|
|
22845
|
+
'borderRadius': theme.radii.full,
|
|
23444
22846
|
'transition': 'background-color 100ms, color 100ms',
|
|
23445
22847
|
'& svg': {
|
|
23446
22848
|
display: 'block'
|
|
23447
22849
|
},
|
|
23448
22850
|
'cursor': $disabled ? 'not-allowed' : 'pointer',
|
|
23449
22851
|
'&:focus-visible': {
|
|
23450
|
-
outlineColor:
|
|
22852
|
+
outlineColor: theme.colors['border/focused'],
|
|
23451
22853
|
outlineStyle: 'solid',
|
|
23452
22854
|
outlineWidth: 2,
|
|
23453
22855
|
outlineOffset: 2
|
|
@@ -23479,33 +22881,34 @@ const BaseIconToggleButton = styled__default.default(UnstyledButton)(({
|
|
|
23479
22881
|
}
|
|
23480
22882
|
}), ({
|
|
23481
22883
|
selected,
|
|
23482
|
-
$disabled
|
|
22884
|
+
$disabled,
|
|
22885
|
+
theme
|
|
23483
22886
|
}) => variant({
|
|
23484
22887
|
prop: 'variant',
|
|
23485
22888
|
variants: {
|
|
23486
22889
|
primary: {
|
|
23487
22890
|
...(selected ? {
|
|
23488
|
-
backgroundColor:
|
|
23489
|
-
color:
|
|
22891
|
+
backgroundColor: theme.colors['bg/selected/violet'],
|
|
22892
|
+
color: theme.colors['icon/inverse']
|
|
23490
22893
|
} : {
|
|
23491
|
-
backgroundColor:
|
|
23492
|
-
color:
|
|
22894
|
+
backgroundColor: theme.colors['bg/neutral'],
|
|
22895
|
+
color: theme.colors['icon/accent/gray']
|
|
23493
22896
|
}),
|
|
23494
22897
|
...($disabled ? {
|
|
23495
|
-
backgroundColor:
|
|
23496
|
-
color:
|
|
22898
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
22899
|
+
color: theme.colors['icon/disabled']
|
|
23497
22900
|
} : {})
|
|
23498
22901
|
},
|
|
23499
22902
|
plain: {
|
|
23500
|
-
backgroundColor:
|
|
22903
|
+
backgroundColor: theme.colors['bg/neutral/subtler'],
|
|
23501
22904
|
...(selected ? {
|
|
23502
|
-
color:
|
|
22905
|
+
color: theme.colors['icon/selected/violet']
|
|
23503
22906
|
} : {
|
|
23504
|
-
color:
|
|
22907
|
+
color: theme.colors['icon/neutral']
|
|
23505
22908
|
}),
|
|
23506
22909
|
...($disabled ? {
|
|
23507
|
-
backgroundColor:
|
|
23508
|
-
color:
|
|
22910
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
22911
|
+
color: theme.colors['icon/disabled/subtler']
|
|
23509
22912
|
} : {})
|
|
23510
22913
|
}
|
|
23511
22914
|
}
|
|
@@ -24004,9 +23407,11 @@ const BaseStack = styled__default.default(View)({
|
|
|
24004
23407
|
display: 'flex',
|
|
24005
23408
|
flexDirection: 'row',
|
|
24006
23409
|
flexWrap: 'wrap'
|
|
24007
|
-
},
|
|
23410
|
+
}, ({
|
|
23411
|
+
theme
|
|
23412
|
+
}) => variant({
|
|
24008
23413
|
prop: 'gapX',
|
|
24009
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
23414
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
24010
23415
|
const styleValue = {
|
|
24011
23416
|
'& > *': {
|
|
24012
23417
|
px: forcePixelValue(value / 2)
|
|
@@ -24015,9 +23420,11 @@ const BaseStack = styled__default.default(View)({
|
|
|
24015
23420
|
};
|
|
24016
23421
|
return [key, styleValue];
|
|
24017
23422
|
}))
|
|
24018
|
-
}),
|
|
23423
|
+
}), ({
|
|
23424
|
+
theme
|
|
23425
|
+
}) => variant({
|
|
24019
23426
|
prop: 'gapY',
|
|
24020
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
23427
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
24021
23428
|
const styleValue = {
|
|
24022
23429
|
'& > *': {
|
|
24023
23430
|
mt: forcePixelValue(value)
|
|
@@ -24901,15 +24308,17 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24901
24308
|
outlineWidth: 2,
|
|
24902
24309
|
outlineOffset: 2
|
|
24903
24310
|
}
|
|
24904
|
-
}), (
|
|
24311
|
+
}), ({
|
|
24312
|
+
theme
|
|
24313
|
+
}) => variant({
|
|
24905
24314
|
prop: 'size',
|
|
24906
24315
|
variants: {
|
|
24907
24316
|
l: {
|
|
24908
24317
|
'px': 4,
|
|
24909
24318
|
'py': 2,
|
|
24910
|
-
'fontSize':
|
|
24911
|
-
'fontWeight':
|
|
24912
|
-
'lineHeight':
|
|
24319
|
+
'fontSize': theme.fontSizes.s,
|
|
24320
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24321
|
+
'lineHeight': theme.lineHeights[2],
|
|
24913
24322
|
'& svg': {
|
|
24914
24323
|
width: 20,
|
|
24915
24324
|
height: 20
|
|
@@ -24918,9 +24327,9 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24918
24327
|
m: {
|
|
24919
24328
|
'px': 4,
|
|
24920
24329
|
'py': 2,
|
|
24921
|
-
'fontSize':
|
|
24922
|
-
'fontWeight':
|
|
24923
|
-
'lineHeight':
|
|
24330
|
+
'fontSize': theme.fontSizes.xs,
|
|
24331
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24332
|
+
'lineHeight': theme.lineHeights[2],
|
|
24924
24333
|
'& svg': {
|
|
24925
24334
|
width: 20,
|
|
24926
24335
|
height: 20
|
|
@@ -24929,9 +24338,9 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24929
24338
|
s: {
|
|
24930
24339
|
'px': 3,
|
|
24931
24340
|
'py': 2,
|
|
24932
|
-
'fontSize':
|
|
24933
|
-
'fontWeight':
|
|
24934
|
-
'lineHeight':
|
|
24341
|
+
'fontSize': theme.fontSizes.xxs,
|
|
24342
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24343
|
+
'lineHeight': theme.lineHeights[2],
|
|
24935
24344
|
'& svg': {
|
|
24936
24345
|
width: 16,
|
|
24937
24346
|
height: 16
|
|
@@ -25046,6 +24455,7 @@ const Tab = ({
|
|
|
25046
24455
|
gap = 2,
|
|
25047
24456
|
children
|
|
25048
24457
|
}) => {
|
|
24458
|
+
const theme = styled.useTheme();
|
|
25049
24459
|
const rootRef = React.useRef(null);
|
|
25050
24460
|
const [isLeftButtonVisible, setIsLeftButtonVisible] = React.useState(rootRef.current ? rootRef.current.scrollLeft > 0 : false);
|
|
25051
24461
|
const [isRightButtonVisible, setIsRightButtonVisible] = React.useState(rootRef.current ? rootRef.current.clientWidth + rootRef.current.scrollLeft < rootRef.current.scrollWidth : false);
|
|
@@ -25113,7 +24523,7 @@ const Tab = ({
|
|
|
25113
24523
|
bottom: 0,
|
|
25114
24524
|
width: forcePixelValue(gradientWidth),
|
|
25115
24525
|
height: '100%',
|
|
25116
|
-
background: `linear-gradient(${
|
|
24526
|
+
background: `linear-gradient(${theme.gradients['overlay/floating/toright']})`,
|
|
25117
24527
|
pointerEvents: 'none'
|
|
25118
24528
|
}
|
|
25119
24529
|
}), /*#__PURE__*/jsxRuntimeExports.jsx(View, {
|
|
@@ -25124,7 +24534,7 @@ const Tab = ({
|
|
|
25124
24534
|
top: 0,
|
|
25125
24535
|
left: 0,
|
|
25126
24536
|
bottom: 0,
|
|
25127
|
-
backgroundColor:
|
|
24537
|
+
backgroundColor: theme.colors.surface
|
|
25128
24538
|
},
|
|
25129
24539
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(IconButton, {
|
|
25130
24540
|
size: 's',
|
|
@@ -25142,7 +24552,7 @@ const Tab = ({
|
|
|
25142
24552
|
bottom: 0,
|
|
25143
24553
|
width: forcePixelValue(gradientWidth),
|
|
25144
24554
|
height: '100%',
|
|
25145
|
-
background: `linear-gradient(${
|
|
24555
|
+
background: `linear-gradient(${theme.gradients['overlay/floating/toleft']})`,
|
|
25146
24556
|
pointerEvents: 'none'
|
|
25147
24557
|
}
|
|
25148
24558
|
}), /*#__PURE__*/jsxRuntimeExports.jsx(View, {
|
|
@@ -25153,7 +24563,7 @@ const Tab = ({
|
|
|
25153
24563
|
top: 0,
|
|
25154
24564
|
right: 0,
|
|
25155
24565
|
bottom: 0,
|
|
25156
|
-
backgroundColor:
|
|
24566
|
+
backgroundColor: theme.colors.surface
|
|
25157
24567
|
},
|
|
25158
24568
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(IconButton, {
|
|
25159
24569
|
size: 's',
|
|
@@ -25171,6 +24581,740 @@ var index$1 = Object.assign(Tab, {
|
|
|
25171
24581
|
Item: TabItem
|
|
25172
24582
|
});
|
|
25173
24583
|
|
|
24584
|
+
const device = {
|
|
24585
|
+
deviceDesktop: 1280,
|
|
24586
|
+
deviceTablet: 900,
|
|
24587
|
+
deviceMobile: 640
|
|
24588
|
+
};
|
|
24589
|
+
|
|
24590
|
+
const baseBreakpoints = [device.deviceMobile, device.deviceTablet, device.deviceDesktop];
|
|
24591
|
+
const breakpoints = baseBreakpoints.map(value => `${value + 1}px`);
|
|
24592
|
+
|
|
24593
|
+
const gray = {
|
|
24594
|
+
gray50: '#F9FAFB',
|
|
24595
|
+
gray100: '#F3F4F6',
|
|
24596
|
+
gray200: '#E5E7EB',
|
|
24597
|
+
gray300: '#D1D5DB',
|
|
24598
|
+
gray400: '#8D94A0',
|
|
24599
|
+
gray500: '#7A828D',
|
|
24600
|
+
gray600: '#6F7680',
|
|
24601
|
+
gray700: '#575C64',
|
|
24602
|
+
gray800: '#43484E',
|
|
24603
|
+
gray900: '#33373B'
|
|
24604
|
+
};
|
|
24605
|
+
const violet = {
|
|
24606
|
+
violet50: '#F3EFFD',
|
|
24607
|
+
violet100: '#E8E1FB',
|
|
24608
|
+
violet200: '#D9CDF9',
|
|
24609
|
+
violet300: '#C6B5F6',
|
|
24610
|
+
violet400: '#9C7EEF',
|
|
24611
|
+
violet500: '#835EEB',
|
|
24612
|
+
violet600: '#7756D6',
|
|
24613
|
+
violet700: '#5D43A7',
|
|
24614
|
+
violet800: '#483481',
|
|
24615
|
+
violet900: '#372763'
|
|
24616
|
+
};
|
|
24617
|
+
const green = {
|
|
24618
|
+
green50: '#E9FAF6',
|
|
24619
|
+
green100: '#BAEFE2',
|
|
24620
|
+
green200: '#98E8D4',
|
|
24621
|
+
green300: '#69DDC0',
|
|
24622
|
+
green400: '#4CD6B4',
|
|
24623
|
+
green500: '#1FCCA1',
|
|
24624
|
+
green600: '#1CBA93',
|
|
24625
|
+
green700: '#169172',
|
|
24626
|
+
green800: '#117059',
|
|
24627
|
+
green900: '#0D5644'
|
|
24628
|
+
};
|
|
24629
|
+
const yellow = {
|
|
24630
|
+
yellow50: '#FFF9E6',
|
|
24631
|
+
yellow100: '#FFECB2',
|
|
24632
|
+
yellow200: '#FFE28D',
|
|
24633
|
+
yellow300: '#FFD559',
|
|
24634
|
+
yellow400: '#FFCD39',
|
|
24635
|
+
yellow500: '#FFC107',
|
|
24636
|
+
yellow600: '#E8B006',
|
|
24637
|
+
yellow700: '#B58905',
|
|
24638
|
+
yellow800: '#8C6A04',
|
|
24639
|
+
yellow900: '#6B5103'
|
|
24640
|
+
};
|
|
24641
|
+
const red = {
|
|
24642
|
+
red50: '#FEE9EB',
|
|
24643
|
+
red100: '#FBBCC0',
|
|
24644
|
+
red200: '#F99CA2',
|
|
24645
|
+
red300: '#F66E78',
|
|
24646
|
+
red400: '#F5525D',
|
|
24647
|
+
red500: '#F22735',
|
|
24648
|
+
red600: '#DC2330',
|
|
24649
|
+
red700: '#AC1C26',
|
|
24650
|
+
red800: '#85151D',
|
|
24651
|
+
red900: '#661016'
|
|
24652
|
+
};
|
|
24653
|
+
const blue = {
|
|
24654
|
+
blue50: '#edf2fd',
|
|
24655
|
+
blue100: '#c6d8fa',
|
|
24656
|
+
blue200: '#abc5f7',
|
|
24657
|
+
blue300: '#84aaf4',
|
|
24658
|
+
blue400: '#6d99f1',
|
|
24659
|
+
blue500: '#4880ee',
|
|
24660
|
+
blue600: '#4274d9',
|
|
24661
|
+
blue700: '#335ba9',
|
|
24662
|
+
blue800: '#284683',
|
|
24663
|
+
blue900: '#1e3664'
|
|
24664
|
+
};
|
|
24665
|
+
const shade = {
|
|
24666
|
+
transparent: '#FFFFFF00',
|
|
24667
|
+
white: '#FFFFFF',
|
|
24668
|
+
white10A: '#FFFFFF1A',
|
|
24669
|
+
black: '#000000',
|
|
24670
|
+
black60A: '#00000099'
|
|
24671
|
+
};
|
|
24672
|
+
const fuchsiaPink = {
|
|
24673
|
+
fuchsiaPink50: '#FCF2FD',
|
|
24674
|
+
fuchsiaPink100: '#F5D6F8',
|
|
24675
|
+
fuchsiaPink200: '#F0C2F4',
|
|
24676
|
+
fuchsiaPink300: '#E9A7EF',
|
|
24677
|
+
fuchsiaPink400: '#E595EC',
|
|
24678
|
+
fuchsiaPink500: '#DE7BE7',
|
|
24679
|
+
fuchsiaPink600: '#CA70D2',
|
|
24680
|
+
fuchsiaPink700: '#9E57A4',
|
|
24681
|
+
fuchsiaPink800: '#7A447F',
|
|
24682
|
+
fuchsiaPink900: '#5D3461'
|
|
24683
|
+
};
|
|
24684
|
+
const skyBlue = {
|
|
24685
|
+
skyBlue50: '#EFF9FD',
|
|
24686
|
+
skyBlue100: '#CFEDF8',
|
|
24687
|
+
skyBlue200: '#B7E4F5',
|
|
24688
|
+
skyBlue300: '#96D8F1',
|
|
24689
|
+
skyBlue400: '#82D1EE',
|
|
24690
|
+
skyBlue500: '#63C5EA',
|
|
24691
|
+
skyBlue600: '#5AB3D5',
|
|
24692
|
+
skyBlue700: '#468CA6',
|
|
24693
|
+
skyBlue800: '#366C81',
|
|
24694
|
+
skyBlue900: '#2A5362'
|
|
24695
|
+
};
|
|
24696
|
+
const indianRed = {
|
|
24697
|
+
indianRed50: '#632A2A',
|
|
24698
|
+
indianRed100: '#823838',
|
|
24699
|
+
indianRed200: '#A84848',
|
|
24700
|
+
indianRed300: '#D75C5C',
|
|
24701
|
+
indianRed400: '#EC6565',
|
|
24702
|
+
indianRed500: '#F08484',
|
|
24703
|
+
indianRed600: '#F29898',
|
|
24704
|
+
indianRed700: '#F6B8B8',
|
|
24705
|
+
indianRed800: '#F9CFCF',
|
|
24706
|
+
indianRed900: '#FDF0F0'
|
|
24707
|
+
};
|
|
24708
|
+
const mustardYellow = {
|
|
24709
|
+
mustardYellow50: '#675025',
|
|
24710
|
+
mustardYellow100: '#876931',
|
|
24711
|
+
mustardYellow200: '#AE883F',
|
|
24712
|
+
mustardYellow300: '#DFAE51',
|
|
24713
|
+
mustardYellow400: '#F5BF59',
|
|
24714
|
+
mustardYellow500: '#F7CC7A',
|
|
24715
|
+
mustardYellow600: '#F8D490',
|
|
24716
|
+
mustardYellow700: '#FAE2B3',
|
|
24717
|
+
mustardYellow800: '#FCEBCC',
|
|
24718
|
+
mustardYellow900: '#FEF9EE'
|
|
24719
|
+
};
|
|
24720
|
+
const palette = {
|
|
24721
|
+
...gray,
|
|
24722
|
+
...violet,
|
|
24723
|
+
...green,
|
|
24724
|
+
...yellow,
|
|
24725
|
+
...red,
|
|
24726
|
+
...blue,
|
|
24727
|
+
...shade,
|
|
24728
|
+
...fuchsiaPink,
|
|
24729
|
+
...skyBlue,
|
|
24730
|
+
...indianRed,
|
|
24731
|
+
...mustardYellow
|
|
24732
|
+
};
|
|
24733
|
+
|
|
24734
|
+
const textColor = {
|
|
24735
|
+
'text/primary': palette.violet500,
|
|
24736
|
+
'text/accent/blue': palette.blue500,
|
|
24737
|
+
'text/accent/green': palette.green500,
|
|
24738
|
+
'text/accent/yellow': palette.yellow500,
|
|
24739
|
+
'text/accent/red': palette.red500,
|
|
24740
|
+
'text/neutral/subtlest': palette.gray400,
|
|
24741
|
+
'text/neutral/subtler': palette.gray500,
|
|
24742
|
+
'text/neutral/subtle': palette.gray700,
|
|
24743
|
+
'text/neutral': palette.gray900,
|
|
24744
|
+
'text/inverse': palette.white,
|
|
24745
|
+
'text/inverse/subtle': palette.gray200,
|
|
24746
|
+
'text/inverse/subtler': palette.gray300,
|
|
24747
|
+
'text/disabled': palette.gray400,
|
|
24748
|
+
'text/success': palette.green500,
|
|
24749
|
+
'text/warning': palette.yellow500,
|
|
24750
|
+
'text/danger': palette.red500,
|
|
24751
|
+
'text/selected': palette.gray900
|
|
24752
|
+
};
|
|
24753
|
+
const bgColor = {
|
|
24754
|
+
'bg/secondary': palette.violet50,
|
|
24755
|
+
'bg/secondary/hovered': palette.violet200,
|
|
24756
|
+
'bg/secondary/pressed': palette.violet200,
|
|
24757
|
+
'bg/primary': palette.violet500,
|
|
24758
|
+
'bg/primary/hovered': palette.violet700,
|
|
24759
|
+
'bg/primary/pressed': palette.violet700,
|
|
24760
|
+
'bg/neutral/subtlest': palette.transparent,
|
|
24761
|
+
'bg/neutral/subtlest/hovered': palette.gray50,
|
|
24762
|
+
'bg/neutral/subtlest/pressed': palette.gray50,
|
|
24763
|
+
'bg/neutral/subtler': palette.transparent,
|
|
24764
|
+
'bg/neutral/subtler/hovered': palette.gray100,
|
|
24765
|
+
'bg/neutral/subtler/pressed': palette.gray100,
|
|
24766
|
+
'bg/neutral/subtle': palette.gray50,
|
|
24767
|
+
'bg/neutral/subtle/hovered': palette.gray200,
|
|
24768
|
+
'bg/neutral/subtle/pressed': palette.gray200,
|
|
24769
|
+
'bg/neutral': palette.gray100,
|
|
24770
|
+
'bg/neutral/hovered': palette.gray300,
|
|
24771
|
+
'bg/neutral/pressed': palette.gray300,
|
|
24772
|
+
'bg/neutral/bold': palette.gray700,
|
|
24773
|
+
'bg/neutral/bold/hovered': palette.gray900,
|
|
24774
|
+
'bg/neutral/bold/pressed': palette.gray900,
|
|
24775
|
+
'bg/neutral/bolder': palette.gray900,
|
|
24776
|
+
'bg/neutral/bolder/hovered': palette.black,
|
|
24777
|
+
'bg/neutral/bolder/pressed': palette.black,
|
|
24778
|
+
'bg/disabled': palette.gray100,
|
|
24779
|
+
'bg/disabled/subtlest': palette.transparent,
|
|
24780
|
+
'bg/input': palette.white,
|
|
24781
|
+
'bg/accent/blue/subtlest': palette.blue50,
|
|
24782
|
+
'bg/accent/green/subtlest': palette.green50,
|
|
24783
|
+
'bg/accent/yellow/subtlest': palette.yellow50,
|
|
24784
|
+
'bg/accent/red/subtlest': palette.red50,
|
|
24785
|
+
'bg/accent/red/subtle': palette.red400,
|
|
24786
|
+
'bg/accent/red': palette.red500,
|
|
24787
|
+
'bg/accent/gray/subtlest': palette.gray200,
|
|
24788
|
+
'bg/selected/violet': palette.violet500,
|
|
24789
|
+
'bg/selected': palette.gray900,
|
|
24790
|
+
'bg/selected/subtle': palette.gray100,
|
|
24791
|
+
'bg/inverse': palette.black,
|
|
24792
|
+
'bg/inverse/subtlest': palette.white10A,
|
|
24793
|
+
'bg/success': palette.green50,
|
|
24794
|
+
'bg/success/bold': palette.green500,
|
|
24795
|
+
'bg/warning': palette.yellow50,
|
|
24796
|
+
'bg/warning/bold': palette.yellow500,
|
|
24797
|
+
'bg/danger': palette.red50,
|
|
24798
|
+
'bg/danger/bold': palette.red400,
|
|
24799
|
+
'bg/danger/bold/hovered': palette.red600,
|
|
24800
|
+
'bg/danger/bold/pressed': palette.red600
|
|
24801
|
+
};
|
|
24802
|
+
const borderColor = {
|
|
24803
|
+
'border/neutral/subtle': palette.gray100,
|
|
24804
|
+
'border/neutral': palette.gray200,
|
|
24805
|
+
'border/neutral/bolder': palette.gray300,
|
|
24806
|
+
'border/input': palette.gray200,
|
|
24807
|
+
'border/inverse': palette.white10A,
|
|
24808
|
+
'border/selected': palette.gray900,
|
|
24809
|
+
'border/disabled': palette.gray100,
|
|
24810
|
+
'border/primary': palette.violet500,
|
|
24811
|
+
'border/hovered': palette.blue300,
|
|
24812
|
+
'border/focused': palette.blue500,
|
|
24813
|
+
'border/danger': palette.red500,
|
|
24814
|
+
'border/success': palette.green500
|
|
24815
|
+
};
|
|
24816
|
+
const iconColor = {
|
|
24817
|
+
'icon/neutral': palette.gray300,
|
|
24818
|
+
'icon/neutral/bold': palette.gray400,
|
|
24819
|
+
'icon/neutral/bolder': palette.gray700,
|
|
24820
|
+
'icon/accent/gray': palette.gray900,
|
|
24821
|
+
'icon/accent/blue': palette.blue500,
|
|
24822
|
+
'icon/accent/blue/bold': palette.blue700,
|
|
24823
|
+
'icon/accent/green': palette.green500,
|
|
24824
|
+
'icon/accent/yellow': palette.yellow500,
|
|
24825
|
+
'icon/accent/red': palette.red500,
|
|
24826
|
+
'icon/inverse': palette.white,
|
|
24827
|
+
'icon/disabled': palette.gray300,
|
|
24828
|
+
'icon/disabled/subtler': palette.gray200,
|
|
24829
|
+
'icon/selected/violet': palette.violet500,
|
|
24830
|
+
'icon/selected': palette.gray900,
|
|
24831
|
+
'icon/primary/subtle': palette.violet300,
|
|
24832
|
+
'icon/primary': palette.violet500,
|
|
24833
|
+
'icon/primary/bold': palette.violet700,
|
|
24834
|
+
'icon/success': palette.green500,
|
|
24835
|
+
'icon/warning': palette.yellow500,
|
|
24836
|
+
'icon/danger': palette.red500
|
|
24837
|
+
};
|
|
24838
|
+
const linkColor = {
|
|
24839
|
+
'link': palette.blue500,
|
|
24840
|
+
'link/hovered': palette.blue700,
|
|
24841
|
+
'link/pressed': palette.blue700,
|
|
24842
|
+
'link/neutral': palette.gray500,
|
|
24843
|
+
'link/neutral/hovered': palette.gray700,
|
|
24844
|
+
'link/neutral/pressed': palette.gray700,
|
|
24845
|
+
'link/neutral/bold': palette.gray700,
|
|
24846
|
+
'link/neutral/bold/hovered': palette.gray900,
|
|
24847
|
+
'link/neutral/bold/pressed': palette.gray900,
|
|
24848
|
+
'link/disabled': palette.gray700
|
|
24849
|
+
};
|
|
24850
|
+
const dimColor = {
|
|
24851
|
+
dim: palette.black60A
|
|
24852
|
+
};
|
|
24853
|
+
const scaleColor = {
|
|
24854
|
+
'scale/violet/0': palette.violet50,
|
|
24855
|
+
'scale/violet/1': palette.violet100,
|
|
24856
|
+
'scale/violet/2': palette.violet200,
|
|
24857
|
+
'scale/violet/3': palette.violet300,
|
|
24858
|
+
'scale/violet/4': palette.violet400,
|
|
24859
|
+
'scale/violet/5': palette.violet500,
|
|
24860
|
+
'scale/violet/6': palette.violet600,
|
|
24861
|
+
'scale/violet/7': palette.violet700,
|
|
24862
|
+
'scale/violet/8': palette.violet800,
|
|
24863
|
+
'scale/violet/9': palette.violet900,
|
|
24864
|
+
'scale/gray/0': palette.gray50,
|
|
24865
|
+
'scale/gray/1': palette.gray100,
|
|
24866
|
+
'scale/gray/2': palette.gray200,
|
|
24867
|
+
'scale/gray/3': palette.gray300,
|
|
24868
|
+
'scale/gray/4': palette.gray400,
|
|
24869
|
+
'scale/gray/5': palette.gray500,
|
|
24870
|
+
'scale/gray/6': palette.gray600,
|
|
24871
|
+
'scale/gray/7': palette.gray700,
|
|
24872
|
+
'scale/gray/8': palette.gray800,
|
|
24873
|
+
'scale/gray/9': palette.gray900,
|
|
24874
|
+
'scale/blue/0': palette.blue50,
|
|
24875
|
+
'scale/blue/1': palette.blue100,
|
|
24876
|
+
'scale/blue/2': palette.blue200,
|
|
24877
|
+
'scale/blue/3': palette.blue300,
|
|
24878
|
+
'scale/blue/4': palette.blue400,
|
|
24879
|
+
'scale/blue/5': palette.blue500,
|
|
24880
|
+
'scale/blue/6': palette.blue600,
|
|
24881
|
+
'scale/blue/7': palette.blue700,
|
|
24882
|
+
'scale/blue/8': palette.blue800,
|
|
24883
|
+
'scale/blue/9': palette.blue900,
|
|
24884
|
+
'scale/green/0': palette.green50,
|
|
24885
|
+
'scale/green/1': palette.green100,
|
|
24886
|
+
'scale/green/2': palette.green200,
|
|
24887
|
+
'scale/green/3': palette.green300,
|
|
24888
|
+
'scale/green/4': palette.green400,
|
|
24889
|
+
'scale/green/5': palette.green500,
|
|
24890
|
+
'scale/green/6': palette.green600,
|
|
24891
|
+
'scale/green/7': palette.green700,
|
|
24892
|
+
'scale/green/8': palette.green800,
|
|
24893
|
+
'scale/green/9': palette.green900,
|
|
24894
|
+
'scale/pink/0': palette.fuchsiaPink50,
|
|
24895
|
+
'scale/pink/1': palette.fuchsiaPink100,
|
|
24896
|
+
'scale/pink/2': palette.fuchsiaPink200,
|
|
24897
|
+
'scale/pink/3': palette.fuchsiaPink300,
|
|
24898
|
+
'scale/pink/4': palette.fuchsiaPink400,
|
|
24899
|
+
'scale/pink/5': palette.fuchsiaPink500,
|
|
24900
|
+
'scale/pink/6': palette.fuchsiaPink600,
|
|
24901
|
+
'scale/pink/7': palette.fuchsiaPink700,
|
|
24902
|
+
'scale/pink/8': palette.fuchsiaPink800,
|
|
24903
|
+
'scale/pink/9': palette.fuchsiaPink900,
|
|
24904
|
+
'scale/skyblue/0': palette.skyBlue50,
|
|
24905
|
+
'scale/skyblue/1': palette.skyBlue100,
|
|
24906
|
+
'scale/skyblue/2': palette.skyBlue200,
|
|
24907
|
+
'scale/skyblue/3': palette.skyBlue300,
|
|
24908
|
+
'scale/skyblue/4': palette.skyBlue400,
|
|
24909
|
+
'scale/skyblue/5': palette.skyBlue500,
|
|
24910
|
+
'scale/skyblue/6': palette.skyBlue600,
|
|
24911
|
+
'scale/skyblue/7': palette.skyBlue700,
|
|
24912
|
+
'scale/skyblue/8': palette.skyBlue800,
|
|
24913
|
+
'scale/skyblue/9': palette.skyBlue900,
|
|
24914
|
+
'scale/red/0': palette.indianRed50,
|
|
24915
|
+
'scale/red/1': palette.indianRed100,
|
|
24916
|
+
'scale/red/2': palette.indianRed200,
|
|
24917
|
+
'scale/red/3': palette.indianRed300,
|
|
24918
|
+
'scale/red/4': palette.indianRed400,
|
|
24919
|
+
'scale/red/5': palette.indianRed500,
|
|
24920
|
+
'scale/red/6': palette.indianRed600,
|
|
24921
|
+
'scale/red/7': palette.indianRed700,
|
|
24922
|
+
'scale/red/8': palette.indianRed800,
|
|
24923
|
+
'scale/red/9': palette.indianRed900,
|
|
24924
|
+
'scale/yellow/0': palette.mustardYellow50,
|
|
24925
|
+
'scale/yellow/1': palette.mustardYellow100,
|
|
24926
|
+
'scale/yellow/2': palette.mustardYellow200,
|
|
24927
|
+
'scale/yellow/3': palette.mustardYellow300,
|
|
24928
|
+
'scale/yellow/4': palette.mustardYellow400,
|
|
24929
|
+
'scale/yellow/5': palette.mustardYellow500,
|
|
24930
|
+
'scale/yellow/6': palette.mustardYellow600,
|
|
24931
|
+
'scale/yellow/7': palette.mustardYellow700,
|
|
24932
|
+
'scale/yellow/8': palette.mustardYellow800,
|
|
24933
|
+
'scale/yellow/9': palette.mustardYellow900
|
|
24934
|
+
};
|
|
24935
|
+
const color = {
|
|
24936
|
+
...textColor,
|
|
24937
|
+
...bgColor,
|
|
24938
|
+
...borderColor,
|
|
24939
|
+
...iconColor,
|
|
24940
|
+
...linkColor,
|
|
24941
|
+
...dimColor,
|
|
24942
|
+
...scaleColor
|
|
24943
|
+
};
|
|
24944
|
+
|
|
24945
|
+
const shadow = {
|
|
24946
|
+
shadowMedium: '0px 0px 1px 0px rgba(0, 0, 0, 0.06), 0px 8px 24px 0px rgba(0, 0, 0, 0.12)'
|
|
24947
|
+
};
|
|
24948
|
+
|
|
24949
|
+
const surfaceElevation = {
|
|
24950
|
+
'surface': palette.white,
|
|
24951
|
+
'surface/overlay': palette.white
|
|
24952
|
+
};
|
|
24953
|
+
const shadowElevation = {
|
|
24954
|
+
'shadow/overlay': shadow.shadowMedium
|
|
24955
|
+
};
|
|
24956
|
+
|
|
24957
|
+
const colorStopList = {
|
|
24958
|
+
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
24959
|
+
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
24960
|
+
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
24961
|
+
colorStopListBlack: '#000000, #00000000'
|
|
24962
|
+
};
|
|
24963
|
+
|
|
24964
|
+
const direction = {
|
|
24965
|
+
directionToRight: 'to right',
|
|
24966
|
+
directionToLeft: 'to left',
|
|
24967
|
+
directionToRightBottom: 'to right bottom',
|
|
24968
|
+
directionToTop: 'to top'
|
|
24969
|
+
};
|
|
24970
|
+
|
|
24971
|
+
const generateGradientTokenValue = (direction$1, colorStopList$1) => `${direction[direction$1]}, ${colorStopList[colorStopList$1]}`;
|
|
24972
|
+
const textGradient = {
|
|
24973
|
+
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
24974
|
+
};
|
|
24975
|
+
const bgGradient = {
|
|
24976
|
+
'bg/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
24977
|
+
'bg/accent/neutral': generateGradientTokenValue('directionToRightBottom', 'colorStopListBlackGray')
|
|
24978
|
+
};
|
|
24979
|
+
const borderGradient = {
|
|
24980
|
+
'border/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
24981
|
+
};
|
|
24982
|
+
const overlayGradient = {
|
|
24983
|
+
'overlay/subtlest/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
24984
|
+
'overlay/subtlest/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
24985
|
+
'overlay/subtlest/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
24986
|
+
'overlay/floating/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
24987
|
+
'overlay/floating/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
24988
|
+
'overlay/floating/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
24989
|
+
'overlay/bold/toright': generateGradientTokenValue('directionToRight', 'colorStopListBlack'),
|
|
24990
|
+
'overlay/bold/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListBlack'),
|
|
24991
|
+
'overlay/bold/totop': generateGradientTokenValue('directionToTop', 'colorStopListBlack')
|
|
24992
|
+
};
|
|
24993
|
+
const gradient = {
|
|
24994
|
+
...textGradient,
|
|
24995
|
+
...bgGradient,
|
|
24996
|
+
...borderGradient,
|
|
24997
|
+
...overlayGradient
|
|
24998
|
+
};
|
|
24999
|
+
|
|
25000
|
+
const rounding = {
|
|
25001
|
+
rounding0: 0,
|
|
25002
|
+
rounding4: 4,
|
|
25003
|
+
rounding8: 8,
|
|
25004
|
+
rounding12: 12,
|
|
25005
|
+
rounding16: 16,
|
|
25006
|
+
rounding20: 20,
|
|
25007
|
+
rounding24: 24,
|
|
25008
|
+
rounding32: 32,
|
|
25009
|
+
rounding9999: 9999
|
|
25010
|
+
};
|
|
25011
|
+
|
|
25012
|
+
const radii = {
|
|
25013
|
+
none: rounding.rounding0,
|
|
25014
|
+
xxs: rounding.rounding4,
|
|
25015
|
+
xs: rounding.rounding8,
|
|
25016
|
+
s: rounding.rounding12,
|
|
25017
|
+
m: rounding.rounding16,
|
|
25018
|
+
l: rounding.rounding20,
|
|
25019
|
+
xl: rounding.rounding24,
|
|
25020
|
+
xxl: rounding.rounding32,
|
|
25021
|
+
full: rounding.rounding9999
|
|
25022
|
+
};
|
|
25023
|
+
|
|
25024
|
+
const unit = 4;
|
|
25025
|
+
const spacing = {
|
|
25026
|
+
spacing0: 0 * unit,
|
|
25027
|
+
// 0
|
|
25028
|
+
spacing1: 1,
|
|
25029
|
+
// 1
|
|
25030
|
+
spacing2: 0.5 * unit,
|
|
25031
|
+
// 2
|
|
25032
|
+
spacing4: 1 * unit,
|
|
25033
|
+
// 4
|
|
25034
|
+
spacing6: 1.5 * unit,
|
|
25035
|
+
// 6
|
|
25036
|
+
spacing8: 2 * unit,
|
|
25037
|
+
// 8
|
|
25038
|
+
spacing12: 3 * unit,
|
|
25039
|
+
// 12
|
|
25040
|
+
spacing16: 4 * unit,
|
|
25041
|
+
// 16
|
|
25042
|
+
spacing20: 5 * unit,
|
|
25043
|
+
// 20
|
|
25044
|
+
spacing24: 6 * unit,
|
|
25045
|
+
// 24
|
|
25046
|
+
spacing28: 7 * unit,
|
|
25047
|
+
// 28
|
|
25048
|
+
spacing32: 8 * unit,
|
|
25049
|
+
// 32
|
|
25050
|
+
spacing40: 10 * unit,
|
|
25051
|
+
// 40
|
|
25052
|
+
spacing48: 12 * unit,
|
|
25053
|
+
// 48
|
|
25054
|
+
spacing56: 14 * unit,
|
|
25055
|
+
// 56
|
|
25056
|
+
spacing64: 16 * unit,
|
|
25057
|
+
// 64
|
|
25058
|
+
spacing72: 18 * unit,
|
|
25059
|
+
// 72
|
|
25060
|
+
spacing80: 20 * unit,
|
|
25061
|
+
// 80
|
|
25062
|
+
spacing96: 24 * unit,
|
|
25063
|
+
// 96
|
|
25064
|
+
spacing112: 28 * unit,
|
|
25065
|
+
// 112
|
|
25066
|
+
spacing120: 30 * unit,
|
|
25067
|
+
// 120
|
|
25068
|
+
spacing128: 32 * unit,
|
|
25069
|
+
// 128
|
|
25070
|
+
spacing160: 40 * unit,
|
|
25071
|
+
// 160
|
|
25072
|
+
spacing192: 48 * unit,
|
|
25073
|
+
// 192
|
|
25074
|
+
spacing200: 50 * unit,
|
|
25075
|
+
// 200
|
|
25076
|
+
spacing320: 80 * unit // 320
|
|
25077
|
+
};
|
|
25078
|
+
|
|
25079
|
+
const space = {
|
|
25080
|
+
'-80': -spacing.spacing320,
|
|
25081
|
+
'-50': -spacing.spacing200,
|
|
25082
|
+
'-48': -spacing.spacing192,
|
|
25083
|
+
'-40': -spacing.spacing160,
|
|
25084
|
+
'-32': -spacing.spacing128,
|
|
25085
|
+
'-30': -spacing.spacing120,
|
|
25086
|
+
'-28': -spacing.spacing112,
|
|
25087
|
+
'-24': -spacing.spacing96,
|
|
25088
|
+
'-20': -spacing.spacing80,
|
|
25089
|
+
'-18': -spacing.spacing72,
|
|
25090
|
+
'-16': -spacing.spacing64,
|
|
25091
|
+
'-14': -spacing.spacing56,
|
|
25092
|
+
'-12': -spacing.spacing48,
|
|
25093
|
+
'-10': -spacing.spacing40,
|
|
25094
|
+
'-8': -spacing.spacing32,
|
|
25095
|
+
'-7': -spacing.spacing28,
|
|
25096
|
+
'-6': -spacing.spacing24,
|
|
25097
|
+
'-5': -spacing.spacing20,
|
|
25098
|
+
'-4': -spacing.spacing16,
|
|
25099
|
+
'-3': -spacing.spacing12,
|
|
25100
|
+
'-2': -spacing.spacing8,
|
|
25101
|
+
'-1': -spacing.spacing4,
|
|
25102
|
+
'-0.5': -spacing.spacing2,
|
|
25103
|
+
'-0.25': -spacing.spacing1,
|
|
25104
|
+
0: spacing.spacing0,
|
|
25105
|
+
0.25: spacing.spacing1,
|
|
25106
|
+
0.5: spacing.spacing2,
|
|
25107
|
+
1: spacing.spacing4,
|
|
25108
|
+
2: spacing.spacing8,
|
|
25109
|
+
3: spacing.spacing12,
|
|
25110
|
+
4: spacing.spacing16,
|
|
25111
|
+
5: spacing.spacing20,
|
|
25112
|
+
6: spacing.spacing24,
|
|
25113
|
+
7: spacing.spacing28,
|
|
25114
|
+
8: spacing.spacing32,
|
|
25115
|
+
10: spacing.spacing40,
|
|
25116
|
+
12: spacing.spacing48,
|
|
25117
|
+
14: spacing.spacing56,
|
|
25118
|
+
16: spacing.spacing64,
|
|
25119
|
+
18: spacing.spacing72,
|
|
25120
|
+
20: spacing.spacing80,
|
|
25121
|
+
24: spacing.spacing96,
|
|
25122
|
+
28: spacing.spacing112,
|
|
25123
|
+
30: spacing.spacing120,
|
|
25124
|
+
32: spacing.spacing128,
|
|
25125
|
+
40: spacing.spacing160,
|
|
25126
|
+
48: spacing.spacing192,
|
|
25127
|
+
50: spacing.spacing200,
|
|
25128
|
+
80: spacing.spacing320
|
|
25129
|
+
};
|
|
25130
|
+
|
|
25131
|
+
const fontSize = {
|
|
25132
|
+
fontSize50: 10,
|
|
25133
|
+
fontSize100: 12,
|
|
25134
|
+
fontSize200: 14,
|
|
25135
|
+
fontSize300: 16,
|
|
25136
|
+
fontSize400: 18,
|
|
25137
|
+
fontSize500: 20,
|
|
25138
|
+
fontSize600: 22,
|
|
25139
|
+
fontSize700: 24,
|
|
25140
|
+
fontSize800: 28,
|
|
25141
|
+
fontSize900: 32,
|
|
25142
|
+
fontSize1000: 40,
|
|
25143
|
+
fontSize1100: 48,
|
|
25144
|
+
fontSize1200: 64,
|
|
25145
|
+
fontSize1300: 100
|
|
25146
|
+
};
|
|
25147
|
+
|
|
25148
|
+
const fontSizes = {
|
|
25149
|
+
xxs: fontSize.fontSize100,
|
|
25150
|
+
xs: fontSize.fontSize200,
|
|
25151
|
+
s: fontSize.fontSize300,
|
|
25152
|
+
m: fontSize.fontSize500,
|
|
25153
|
+
l: fontSize.fontSize700,
|
|
25154
|
+
xl: fontSize.fontSize800,
|
|
25155
|
+
xxl: fontSize.fontSize900,
|
|
25156
|
+
display4: fontSize.fontSize1000,
|
|
25157
|
+
display3: fontSize.fontSize1100,
|
|
25158
|
+
display2: fontSize.fontSize1200,
|
|
25159
|
+
display1: fontSize.fontSize1300
|
|
25160
|
+
};
|
|
25161
|
+
|
|
25162
|
+
const fontWeight = {
|
|
25163
|
+
fontWeight100: 100,
|
|
25164
|
+
fontWeight200: 200,
|
|
25165
|
+
fontWeight300: 300,
|
|
25166
|
+
fontWeight400: 400,
|
|
25167
|
+
fontWeight500: 500,
|
|
25168
|
+
fontWeight600: 600,
|
|
25169
|
+
fontWeight700: 700,
|
|
25170
|
+
fontWeight800: 800,
|
|
25171
|
+
fontWeight900: 900
|
|
25172
|
+
};
|
|
25173
|
+
|
|
25174
|
+
const fontWeights = {
|
|
25175
|
+
regular: fontWeight.fontWeight400,
|
|
25176
|
+
medium: fontWeight.fontWeight500,
|
|
25177
|
+
bold: fontWeight.fontWeight700
|
|
25178
|
+
};
|
|
25179
|
+
|
|
25180
|
+
const lineHeight = {
|
|
25181
|
+
lineHeight1: 1.4,
|
|
25182
|
+
lineHeight2: 1.5
|
|
25183
|
+
};
|
|
25184
|
+
|
|
25185
|
+
const lineHeights = {
|
|
25186
|
+
1: lineHeight.lineHeight1,
|
|
25187
|
+
2: lineHeight.lineHeight2
|
|
25188
|
+
};
|
|
25189
|
+
|
|
25190
|
+
({
|
|
25191
|
+
'display1': {
|
|
25192
|
+
fontSize: fontSizes.display1,
|
|
25193
|
+
fontWeight: fontWeights.bold,
|
|
25194
|
+
lineHeight: lineHeights[1]
|
|
25195
|
+
},
|
|
25196
|
+
'display2': {
|
|
25197
|
+
fontSize: fontSizes.display2,
|
|
25198
|
+
fontWeight: fontWeights.bold,
|
|
25199
|
+
lineHeight: lineHeights[1]
|
|
25200
|
+
},
|
|
25201
|
+
'display3': {
|
|
25202
|
+
fontSize: fontSizes.display3,
|
|
25203
|
+
fontWeight: fontWeights.bold,
|
|
25204
|
+
lineHeight: lineHeights[1]
|
|
25205
|
+
},
|
|
25206
|
+
'display4': {
|
|
25207
|
+
fontSize: fontSizes.display4,
|
|
25208
|
+
fontWeight: fontWeights.bold,
|
|
25209
|
+
lineHeight: lineHeights[2]
|
|
25210
|
+
},
|
|
25211
|
+
'xxl/regular': {
|
|
25212
|
+
fontSize: fontSizes.xxl,
|
|
25213
|
+
fontWeight: fontWeights.regular,
|
|
25214
|
+
lineHeight: lineHeights[2]
|
|
25215
|
+
},
|
|
25216
|
+
'xxl': {
|
|
25217
|
+
fontSize: fontSizes.xxl,
|
|
25218
|
+
fontWeight: fontWeights.medium,
|
|
25219
|
+
lineHeight: lineHeights[2]
|
|
25220
|
+
},
|
|
25221
|
+
'xxl/bold': {
|
|
25222
|
+
fontSize: fontSizes.xxl,
|
|
25223
|
+
fontWeight: fontWeights.bold,
|
|
25224
|
+
lineHeight: lineHeights[2]
|
|
25225
|
+
},
|
|
25226
|
+
'xl/regular': {
|
|
25227
|
+
fontSize: fontSizes.xl,
|
|
25228
|
+
fontWeight: fontWeights.regular,
|
|
25229
|
+
lineHeight: lineHeights[2]
|
|
25230
|
+
},
|
|
25231
|
+
'xl': {
|
|
25232
|
+
fontSize: fontSizes.xl,
|
|
25233
|
+
fontWeight: fontWeights.medium,
|
|
25234
|
+
lineHeight: lineHeights[2]
|
|
25235
|
+
},
|
|
25236
|
+
'xl/bold': {
|
|
25237
|
+
fontSize: fontSizes.xl,
|
|
25238
|
+
fontWeight: fontWeights.bold,
|
|
25239
|
+
lineHeight: lineHeights[2]
|
|
25240
|
+
},
|
|
25241
|
+
'l/regular': {
|
|
25242
|
+
fontSize: fontSizes.l,
|
|
25243
|
+
fontWeight: fontWeights.regular,
|
|
25244
|
+
lineHeight: lineHeights[2]
|
|
25245
|
+
},
|
|
25246
|
+
'l': {
|
|
25247
|
+
fontSize: fontSizes.l,
|
|
25248
|
+
fontWeight: fontWeights.medium,
|
|
25249
|
+
lineHeight: lineHeights[2]
|
|
25250
|
+
},
|
|
25251
|
+
'l/bold': {
|
|
25252
|
+
fontSize: fontSizes.l,
|
|
25253
|
+
fontWeight: fontWeights.bold,
|
|
25254
|
+
lineHeight: lineHeights[2]
|
|
25255
|
+
},
|
|
25256
|
+
'm/regular': {
|
|
25257
|
+
fontSize: fontSizes.m,
|
|
25258
|
+
fontWeight: fontWeights.regular,
|
|
25259
|
+
lineHeight: lineHeights[2]
|
|
25260
|
+
},
|
|
25261
|
+
'm': {
|
|
25262
|
+
fontSize: fontSizes.m,
|
|
25263
|
+
fontWeight: fontWeights.medium,
|
|
25264
|
+
lineHeight: lineHeights[2]
|
|
25265
|
+
},
|
|
25266
|
+
'm/bold': {
|
|
25267
|
+
fontSize: fontSizes.m,
|
|
25268
|
+
fontWeight: fontWeights.bold,
|
|
25269
|
+
lineHeight: lineHeights[2]
|
|
25270
|
+
},
|
|
25271
|
+
's/regular': {
|
|
25272
|
+
fontSize: fontSizes.s,
|
|
25273
|
+
fontWeight: fontWeights.regular,
|
|
25274
|
+
lineHeight: lineHeights[2]
|
|
25275
|
+
},
|
|
25276
|
+
's': {
|
|
25277
|
+
fontSize: fontSizes.s,
|
|
25278
|
+
fontWeight: fontWeights.medium,
|
|
25279
|
+
lineHeight: lineHeights[2]
|
|
25280
|
+
},
|
|
25281
|
+
's/bold': {
|
|
25282
|
+
fontSize: fontSizes.s,
|
|
25283
|
+
fontWeight: fontWeights.bold,
|
|
25284
|
+
lineHeight: lineHeights[2]
|
|
25285
|
+
},
|
|
25286
|
+
'xs/regular': {
|
|
25287
|
+
fontSize: fontSizes.xs,
|
|
25288
|
+
fontWeight: fontWeights.regular,
|
|
25289
|
+
lineHeight: lineHeights[2]
|
|
25290
|
+
},
|
|
25291
|
+
'xs': {
|
|
25292
|
+
fontSize: fontSizes.xs,
|
|
25293
|
+
fontWeight: fontWeights.medium,
|
|
25294
|
+
lineHeight: lineHeights[2]
|
|
25295
|
+
},
|
|
25296
|
+
'xs/bold': {
|
|
25297
|
+
fontSize: fontSizes.xs,
|
|
25298
|
+
fontWeight: fontWeights.bold,
|
|
25299
|
+
lineHeight: lineHeights[2]
|
|
25300
|
+
},
|
|
25301
|
+
'xxs/regular': {
|
|
25302
|
+
fontSize: fontSizes.xxs,
|
|
25303
|
+
fontWeight: fontWeights.regular,
|
|
25304
|
+
lineHeight: lineHeights[2]
|
|
25305
|
+
},
|
|
25306
|
+
'xxs': {
|
|
25307
|
+
fontSize: fontSizes.xxs,
|
|
25308
|
+
fontWeight: fontWeights.medium,
|
|
25309
|
+
lineHeight: lineHeights[2]
|
|
25310
|
+
},
|
|
25311
|
+
'xxs/bold': {
|
|
25312
|
+
fontSize: fontSizes.xxs,
|
|
25313
|
+
fontWeight: fontWeights.bold,
|
|
25314
|
+
lineHeight: lineHeights[2]
|
|
25315
|
+
}
|
|
25316
|
+
});
|
|
25317
|
+
|
|
25174
25318
|
const theme = {
|
|
25175
25319
|
breakpoints,
|
|
25176
25320
|
space,
|
|
@@ -25179,7 +25323,7 @@ const theme = {
|
|
|
25179
25323
|
lineHeights,
|
|
25180
25324
|
radii,
|
|
25181
25325
|
colors: {
|
|
25182
|
-
...color
|
|
25326
|
+
...color,
|
|
25183
25327
|
...surfaceElevation
|
|
25184
25328
|
},
|
|
25185
25329
|
gradients: gradient,
|