@teamturing/react-kit 2.21.6 → 2.21.7
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 +1242 -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/token-studio/esm/token/elevation/index.js +1 -5
- package/esm/packages/token-studio/esm/token/typography/index.js +3 -3
- package/package.json +2 -2
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;
|
|
@@ -4943,942 +4943,204 @@ if (process.env.NODE_ENV === 'production') {
|
|
|
4943
4943
|
}
|
|
4944
4944
|
var reactIsExports = reactIs.exports;
|
|
4945
4945
|
|
|
4946
|
-
const
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
};
|
|
4946
|
+
const View = styled__default.default.div`
|
|
4947
|
+
${compose(layout$1, color$2, flexbox, background, border, position, shadow$1)}
|
|
4948
|
+
${sx}
|
|
4949
|
+
`;
|
|
4951
4950
|
|
|
4952
|
-
|
|
4953
|
-
const breakpoints = baseBreakpoints.map(value => `${value + 1}px`);
|
|
4951
|
+
var jsxRuntime = {exports: {}};
|
|
4954
4952
|
|
|
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
|
-
};
|
|
4953
|
+
var reactJsxRuntime_production_min = {};
|
|
5095
4954
|
|
|
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
|
-
};
|
|
4955
|
+
/**
|
|
4956
|
+
* @license React
|
|
4957
|
+
* react-jsx-runtime.production.min.js
|
|
4958
|
+
*
|
|
4959
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
4960
|
+
*
|
|
4961
|
+
* This source code is licensed under the MIT license found in the
|
|
4962
|
+
* LICENSE file in the root directory of this source tree.
|
|
4963
|
+
*/
|
|
4964
|
+
var hasRequiredReactJsxRuntime_production_min;
|
|
4965
|
+
function requireReactJsxRuntime_production_min() {
|
|
4966
|
+
if (hasRequiredReactJsxRuntime_production_min) return reactJsxRuntime_production_min;
|
|
4967
|
+
hasRequiredReactJsxRuntime_production_min = 1;
|
|
4968
|
+
var f = React__namespace.default,
|
|
4969
|
+
k = Symbol.for("react.element"),
|
|
4970
|
+
l = Symbol.for("react.fragment"),
|
|
4971
|
+
m = Object.prototype.hasOwnProperty,
|
|
4972
|
+
n = f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
4973
|
+
p = {
|
|
4974
|
+
key: !0,
|
|
4975
|
+
ref: !0,
|
|
4976
|
+
__self: !0,
|
|
4977
|
+
__source: !0
|
|
4978
|
+
};
|
|
4979
|
+
function q(c, a, g) {
|
|
4980
|
+
var b,
|
|
4981
|
+
d = {},
|
|
4982
|
+
e = null,
|
|
4983
|
+
h = null;
|
|
4984
|
+
void 0 !== g && (e = "" + g);
|
|
4985
|
+
void 0 !== a.key && (e = "" + a.key);
|
|
4986
|
+
void 0 !== a.ref && (h = a.ref);
|
|
4987
|
+
for (b in a) m.call(a, b) && !p.hasOwnProperty(b) && (d[b] = a[b]);
|
|
4988
|
+
if (c && c.defaultProps) for (b in a = c.defaultProps, a) void 0 === d[b] && (d[b] = a[b]);
|
|
4989
|
+
return {
|
|
4990
|
+
$$typeof: k,
|
|
4991
|
+
type: c,
|
|
4992
|
+
key: e,
|
|
4993
|
+
ref: h,
|
|
4994
|
+
props: d,
|
|
4995
|
+
_owner: n.current
|
|
4996
|
+
};
|
|
4997
|
+
}
|
|
4998
|
+
reactJsxRuntime_production_min.Fragment = l;
|
|
4999
|
+
reactJsxRuntime_production_min.jsx = q;
|
|
5000
|
+
reactJsxRuntime_production_min.jsxs = q;
|
|
5001
|
+
return reactJsxRuntime_production_min;
|
|
5002
|
+
}
|
|
5306
5003
|
|
|
5307
|
-
|
|
5308
|
-
shadowMedium: '0px 0px 1px 0px rgba(0, 0, 0, 0.06), 0px 8px 24px 0px rgba(0, 0, 0, 0.12)'
|
|
5309
|
-
};
|
|
5004
|
+
var reactJsxRuntime_development = {};
|
|
5310
5005
|
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5006
|
+
/**
|
|
5007
|
+
* @license React
|
|
5008
|
+
* react-jsx-runtime.development.js
|
|
5009
|
+
*
|
|
5010
|
+
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5011
|
+
*
|
|
5012
|
+
* This source code is licensed under the MIT license found in the
|
|
5013
|
+
* LICENSE file in the root directory of this source tree.
|
|
5014
|
+
*/
|
|
5015
|
+
var hasRequiredReactJsxRuntime_development;
|
|
5016
|
+
function requireReactJsxRuntime_development() {
|
|
5017
|
+
if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
|
|
5018
|
+
hasRequiredReactJsxRuntime_development = 1;
|
|
5019
|
+
if (process.env.NODE_ENV !== "production") {
|
|
5020
|
+
(function () {
|
|
5322
5021
|
|
|
5323
|
-
|
|
5324
|
-
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
5325
|
-
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
5326
|
-
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
5327
|
-
colorStopListBlack: '#000000, #00000000'
|
|
5328
|
-
};
|
|
5022
|
+
var React = React__namespace.default;
|
|
5329
5023
|
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5024
|
+
// ATTENTION
|
|
5025
|
+
// When adding new symbols to this file,
|
|
5026
|
+
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
5027
|
+
// The Symbol used to tag the ReactElement-like types.
|
|
5028
|
+
var REACT_ELEMENT_TYPE = Symbol.for('react.element');
|
|
5029
|
+
var REACT_PORTAL_TYPE = Symbol.for('react.portal');
|
|
5030
|
+
var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
|
|
5031
|
+
var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
|
|
5032
|
+
var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
|
|
5033
|
+
var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
|
|
5034
|
+
var REACT_CONTEXT_TYPE = Symbol.for('react.context');
|
|
5035
|
+
var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
|
|
5036
|
+
var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
|
|
5037
|
+
var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
|
|
5038
|
+
var REACT_MEMO_TYPE = Symbol.for('react.memo');
|
|
5039
|
+
var REACT_LAZY_TYPE = Symbol.for('react.lazy');
|
|
5040
|
+
var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
|
|
5041
|
+
var MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
|
|
5042
|
+
var FAUX_ITERATOR_SYMBOL = '@@iterator';
|
|
5043
|
+
function getIteratorFn(maybeIterable) {
|
|
5044
|
+
if (maybeIterable === null || typeof maybeIterable !== 'object') {
|
|
5045
|
+
return null;
|
|
5046
|
+
}
|
|
5047
|
+
var maybeIterator = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL];
|
|
5048
|
+
if (typeof maybeIterator === 'function') {
|
|
5049
|
+
return maybeIterator;
|
|
5050
|
+
}
|
|
5051
|
+
return null;
|
|
5052
|
+
}
|
|
5053
|
+
var ReactSharedInternals = React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
5054
|
+
function error(format) {
|
|
5055
|
+
{
|
|
5056
|
+
{
|
|
5057
|
+
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
5058
|
+
args[_key2 - 1] = arguments[_key2];
|
|
5059
|
+
}
|
|
5060
|
+
printWarning('error', format, args);
|
|
5061
|
+
}
|
|
5062
|
+
}
|
|
5063
|
+
}
|
|
5064
|
+
function printWarning(level, format, args) {
|
|
5065
|
+
// When changing this logic, you might want to also
|
|
5066
|
+
// update consoleWithStackDev.www.js as well.
|
|
5067
|
+
{
|
|
5068
|
+
var ReactDebugCurrentFrame = ReactSharedInternals.ReactDebugCurrentFrame;
|
|
5069
|
+
var stack = ReactDebugCurrentFrame.getStackAddendum();
|
|
5070
|
+
if (stack !== '') {
|
|
5071
|
+
format += '%s';
|
|
5072
|
+
args = args.concat([stack]);
|
|
5073
|
+
} // eslint-disable-next-line react-internal/safe-string-coercion
|
|
5336
5074
|
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
};
|
|
5341
|
-
const bgGradient = {
|
|
5342
|
-
'bg/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
5343
|
-
'bg/accent/neutral': generateGradientTokenValue('directionToRightBottom', 'colorStopListBlackGray')
|
|
5344
|
-
};
|
|
5345
|
-
const borderGradient = {
|
|
5346
|
-
'border/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
5347
|
-
};
|
|
5348
|
-
const overlayGradient = {
|
|
5349
|
-
'overlay/subtlest/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
5350
|
-
'overlay/subtlest/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
5351
|
-
'overlay/subtlest/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
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
|
-
};
|
|
5365
|
-
|
|
5366
|
-
const rounding = {
|
|
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
|
-
};
|
|
5075
|
+
var argsWithFormat = args.map(function (item) {
|
|
5076
|
+
return String(item);
|
|
5077
|
+
}); // Careful: RN currently depends on this prefix
|
|
5377
5078
|
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
xs: rounding.rounding8,
|
|
5382
|
-
s: rounding.rounding12,
|
|
5383
|
-
m: rounding.rounding16,
|
|
5384
|
-
l: rounding.rounding20,
|
|
5385
|
-
xl: rounding.rounding24,
|
|
5386
|
-
xxl: rounding.rounding32,
|
|
5387
|
-
full: rounding.rounding9999
|
|
5388
|
-
};
|
|
5079
|
+
argsWithFormat.unshift('Warning: ' + format); // We intentionally don't use spread (or .apply) directly because it
|
|
5080
|
+
// breaks IE9: https://github.com/facebook/react/issues/13610
|
|
5081
|
+
// eslint-disable-next-line react-internal/no-production-logging
|
|
5389
5082
|
|
|
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
|
-
};
|
|
5083
|
+
Function.prototype.apply.call(console[level], console, argsWithFormat);
|
|
5084
|
+
}
|
|
5085
|
+
}
|
|
5444
5086
|
|
|
5445
|
-
|
|
5446
|
-
'-80': -spacing.spacing320,
|
|
5447
|
-
'-50': -spacing.spacing200,
|
|
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
|
-
};
|
|
5087
|
+
// -----------------------------------------------------------------------------
|
|
5496
5088
|
|
|
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
|
-
};
|
|
5089
|
+
var enableScopeAPI = false; // Experimental Create Event Handle API.
|
|
5090
|
+
var enableCacheElement = false;
|
|
5091
|
+
var enableTransitionTracing = false; // No known bugs, but needs performance testing
|
|
5513
5092
|
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
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
|
-
};
|
|
5093
|
+
var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
|
|
5094
|
+
// stuff. Intended to enable React core members to more easily debug scheduling
|
|
5095
|
+
// issues in DEV builds.
|
|
5527
5096
|
|
|
5528
|
-
|
|
5529
|
-
fontWeight100: 100,
|
|
5530
|
-
fontWeight200: 200,
|
|
5531
|
-
fontWeight300: 300,
|
|
5532
|
-
fontWeight400: 400,
|
|
5533
|
-
fontWeight500: 500,
|
|
5534
|
-
fontWeight600: 600,
|
|
5535
|
-
fontWeight700: 700,
|
|
5536
|
-
fontWeight800: 800,
|
|
5537
|
-
fontWeight900: 900
|
|
5538
|
-
};
|
|
5097
|
+
var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
|
|
5539
5098
|
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5099
|
+
var REACT_MODULE_REFERENCE;
|
|
5100
|
+
{
|
|
5101
|
+
REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
|
|
5102
|
+
}
|
|
5103
|
+
function isValidElementType(type) {
|
|
5104
|
+
if (typeof type === 'string' || typeof type === 'function') {
|
|
5105
|
+
return true;
|
|
5106
|
+
} // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
|
|
5545
5107
|
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5108
|
+
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) {
|
|
5109
|
+
return true;
|
|
5110
|
+
}
|
|
5111
|
+
if (typeof type === 'object' && type !== null) {
|
|
5112
|
+
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 ||
|
|
5113
|
+
// This needs to include all possible module reference object
|
|
5114
|
+
// types supported by any Flight configuration anywhere since
|
|
5115
|
+
// we don't know which Flight build this will end up being used
|
|
5116
|
+
// with.
|
|
5117
|
+
type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
|
|
5118
|
+
return true;
|
|
5119
|
+
}
|
|
5120
|
+
}
|
|
5121
|
+
return false;
|
|
5122
|
+
}
|
|
5123
|
+
function getWrappedName(outerType, innerType, wrapperName) {
|
|
5124
|
+
var displayName = outerType.displayName;
|
|
5125
|
+
if (displayName) {
|
|
5126
|
+
return displayName;
|
|
5127
|
+
}
|
|
5128
|
+
var functionName = innerType.displayName || innerType.name || '';
|
|
5129
|
+
return functionName !== '' ? wrapperName + "(" + functionName + ")" : wrapperName;
|
|
5130
|
+
} // Keep in sync with react-reconciler/getComponentNameFromFiber
|
|
5550
5131
|
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
};
|
|
5132
|
+
function getContextName(type) {
|
|
5133
|
+
return type.displayName || 'Context';
|
|
5134
|
+
} // Note that the reconciler package should generally prefer to use getComponentNameFromFiber() instead.
|
|
5555
5135
|
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
fontWeight: fontWeights.bold,
|
|
5560
|
-
lineHeight: lineHeights[1]
|
|
5561
|
-
},
|
|
5562
|
-
'display2': {
|
|
5563
|
-
fontSize: fontSizes.display2,
|
|
5564
|
-
fontWeight: fontWeights.bold,
|
|
5565
|
-
lineHeight: lineHeights[1]
|
|
5566
|
-
},
|
|
5567
|
-
'display3': {
|
|
5568
|
-
fontSize: fontSizes.display3,
|
|
5569
|
-
fontWeight: fontWeights.bold,
|
|
5570
|
-
lineHeight: lineHeights[1]
|
|
5571
|
-
},
|
|
5572
|
-
'display4': {
|
|
5573
|
-
fontSize: fontSizes.display4,
|
|
5574
|
-
fontWeight: fontWeights.bold,
|
|
5575
|
-
lineHeight: lineHeights[2]
|
|
5576
|
-
},
|
|
5577
|
-
'xxl/regular': {
|
|
5578
|
-
fontSize: fontSizes.xxl,
|
|
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 () {
|
|
5759
|
-
|
|
5760
|
-
var React = React__namespace.default;
|
|
5761
|
-
|
|
5762
|
-
// ATTENTION
|
|
5763
|
-
// When adding new symbols to this file,
|
|
5764
|
-
// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
|
|
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') {
|
|
5136
|
+
function getComponentNameFromType(type) {
|
|
5137
|
+
if (type == null) {
|
|
5138
|
+
// Host root, text node or just invalid type.
|
|
5783
5139
|
return null;
|
|
5784
5140
|
}
|
|
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
5141
|
{
|
|
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.');
|
|
5142
|
+
if (typeof type.tag === 'number') {
|
|
5143
|
+
error('Received an unexpected object in getComponentNameFromType(). ' + 'This is likely a bug in React. Please file an issue.');
|
|
5882
5144
|
}
|
|
5883
5145
|
}
|
|
5884
5146
|
if (typeof type === 'function') {
|
|
@@ -6906,9 +6168,11 @@ const Grid = /*#__PURE__*/React.forwardRef(({
|
|
|
6906
6168
|
const BaseGrid = styled__default.default(View)({
|
|
6907
6169
|
display: 'flex',
|
|
6908
6170
|
flexDirection: 'row'
|
|
6909
|
-
},
|
|
6171
|
+
}, ({
|
|
6172
|
+
theme
|
|
6173
|
+
}) => variant({
|
|
6910
6174
|
prop: 'gapX',
|
|
6911
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
6175
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
6912
6176
|
const styleValue = {
|
|
6913
6177
|
'& > *': {
|
|
6914
6178
|
px: forcePixelValue(value / 2)
|
|
@@ -6917,9 +6181,11 @@ const BaseGrid = styled__default.default(View)({
|
|
|
6917
6181
|
};
|
|
6918
6182
|
return [key, styleValue];
|
|
6919
6183
|
}))
|
|
6920
|
-
}),
|
|
6184
|
+
}), ({
|
|
6185
|
+
theme
|
|
6186
|
+
}) => variant({
|
|
6921
6187
|
prop: 'gapY',
|
|
6922
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
6188
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
6923
6189
|
const styleValue = {
|
|
6924
6190
|
'& > *': {
|
|
6925
6191
|
mt: forcePixelValue(value)
|
|
@@ -7007,34 +6273,136 @@ const Text = styled__default.default.span({
|
|
|
7007
6273
|
'& > span': {
|
|
7008
6274
|
display: 'inline'
|
|
7009
6275
|
}
|
|
7010
|
-
},
|
|
6276
|
+
}, ({
|
|
6277
|
+
theme
|
|
6278
|
+
}) => variant({
|
|
7011
6279
|
prop: 'typography',
|
|
7012
6280
|
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
|
-
|
|
6281
|
+
'display1': {
|
|
6282
|
+
fontSize: theme.fontSizes.display1,
|
|
6283
|
+
fontWeight: theme.fontWeights.bold,
|
|
6284
|
+
lineHeight: theme.lineHeights[1]
|
|
6285
|
+
},
|
|
6286
|
+
'display2': {
|
|
6287
|
+
fontSize: theme.fontSizes.display2,
|
|
6288
|
+
fontWeight: theme.fontWeights.bold,
|
|
6289
|
+
lineHeight: theme.lineHeights[1]
|
|
6290
|
+
},
|
|
6291
|
+
'display3': {
|
|
6292
|
+
fontSize: theme.fontSizes.display3,
|
|
6293
|
+
fontWeight: theme.fontWeights.bold,
|
|
6294
|
+
lineHeight: theme.lineHeights[1]
|
|
6295
|
+
},
|
|
6296
|
+
'display4': {
|
|
6297
|
+
fontSize: theme.fontSizes.display4,
|
|
6298
|
+
fontWeight: theme.fontWeights.bold,
|
|
6299
|
+
lineHeight: theme.lineHeights[2]
|
|
6300
|
+
},
|
|
6301
|
+
'xxl/regular': {
|
|
6302
|
+
fontSize: theme.fontSizes.xxl,
|
|
6303
|
+
fontWeight: theme.fontWeights.regular,
|
|
6304
|
+
lineHeight: theme.lineHeights[2]
|
|
6305
|
+
},
|
|
6306
|
+
'xxl': {
|
|
6307
|
+
fontSize: theme.fontSizes.xxl,
|
|
6308
|
+
fontWeight: theme.fontWeights.medium,
|
|
6309
|
+
lineHeight: theme.lineHeights[2]
|
|
6310
|
+
},
|
|
6311
|
+
'xxl/bold': {
|
|
6312
|
+
fontSize: theme.fontSizes.xxl,
|
|
6313
|
+
fontWeight: theme.fontWeights.bold,
|
|
6314
|
+
lineHeight: theme.lineHeights[2]
|
|
6315
|
+
},
|
|
6316
|
+
'xl/regular': {
|
|
6317
|
+
fontSize: theme.fontSizes.xl,
|
|
6318
|
+
fontWeight: theme.fontWeights.regular,
|
|
6319
|
+
lineHeight: theme.lineHeights[2]
|
|
6320
|
+
},
|
|
6321
|
+
'xl': {
|
|
6322
|
+
fontSize: theme.fontSizes.xl,
|
|
6323
|
+
fontWeight: theme.fontWeights.medium,
|
|
6324
|
+
lineHeight: theme.lineHeights[2]
|
|
6325
|
+
},
|
|
6326
|
+
'xl/bold': {
|
|
6327
|
+
fontSize: theme.fontSizes.xl,
|
|
6328
|
+
fontWeight: theme.fontWeights.bold,
|
|
6329
|
+
lineHeight: theme.lineHeights[2]
|
|
6330
|
+
},
|
|
6331
|
+
'l/regular': {
|
|
6332
|
+
fontSize: theme.fontSizes.l,
|
|
6333
|
+
fontWeight: theme.fontWeights.regular,
|
|
6334
|
+
lineHeight: theme.lineHeights[2]
|
|
6335
|
+
},
|
|
6336
|
+
'l': {
|
|
6337
|
+
fontSize: theme.fontSizes.l,
|
|
6338
|
+
fontWeight: theme.fontWeights.medium,
|
|
6339
|
+
lineHeight: theme.lineHeights[2]
|
|
6340
|
+
},
|
|
6341
|
+
'l/bold': {
|
|
6342
|
+
fontSize: theme.fontSizes.l,
|
|
6343
|
+
fontWeight: theme.fontWeights.bold,
|
|
6344
|
+
lineHeight: theme.lineHeights[2]
|
|
6345
|
+
},
|
|
6346
|
+
'm/regular': {
|
|
6347
|
+
fontSize: theme.fontSizes.m,
|
|
6348
|
+
fontWeight: theme.fontWeights.regular,
|
|
6349
|
+
lineHeight: theme.lineHeights[2]
|
|
6350
|
+
},
|
|
6351
|
+
'm': {
|
|
6352
|
+
fontSize: theme.fontSizes.m,
|
|
6353
|
+
fontWeight: theme.fontWeights.medium,
|
|
6354
|
+
lineHeight: theme.lineHeights[2]
|
|
6355
|
+
},
|
|
6356
|
+
'm/bold': {
|
|
6357
|
+
fontSize: theme.fontSizes.m,
|
|
6358
|
+
fontWeight: theme.fontWeights.bold,
|
|
6359
|
+
lineHeight: theme.lineHeights[2]
|
|
6360
|
+
},
|
|
6361
|
+
's/regular': {
|
|
6362
|
+
fontSize: theme.fontSizes.s,
|
|
6363
|
+
fontWeight: theme.fontWeights.regular,
|
|
6364
|
+
lineHeight: theme.lineHeights[2]
|
|
6365
|
+
},
|
|
6366
|
+
's': {
|
|
6367
|
+
fontSize: theme.fontSizes.s,
|
|
6368
|
+
fontWeight: theme.fontWeights.medium,
|
|
6369
|
+
lineHeight: theme.lineHeights[2]
|
|
6370
|
+
},
|
|
6371
|
+
's/bold': {
|
|
6372
|
+
fontSize: theme.fontSizes.s,
|
|
6373
|
+
fontWeight: theme.fontWeights.bold,
|
|
6374
|
+
lineHeight: theme.lineHeights[2]
|
|
6375
|
+
},
|
|
6376
|
+
'xs/regular': {
|
|
6377
|
+
fontSize: theme.fontSizes.xs,
|
|
6378
|
+
fontWeight: theme.fontWeights.regular,
|
|
6379
|
+
lineHeight: theme.lineHeights[2]
|
|
6380
|
+
},
|
|
6381
|
+
'xs': {
|
|
6382
|
+
fontSize: theme.fontSizes.xs,
|
|
6383
|
+
fontWeight: theme.fontWeights.medium,
|
|
6384
|
+
lineHeight: theme.lineHeights[2]
|
|
6385
|
+
},
|
|
6386
|
+
'xs/bold': {
|
|
6387
|
+
fontSize: theme.fontSizes.xs,
|
|
6388
|
+
fontWeight: theme.fontWeights.bold,
|
|
6389
|
+
lineHeight: theme.lineHeights[2]
|
|
6390
|
+
},
|
|
6391
|
+
'xxs/regular': {
|
|
6392
|
+
fontSize: theme.fontSizes.xxs,
|
|
6393
|
+
fontWeight: theme.fontWeights.regular,
|
|
6394
|
+
lineHeight: theme.lineHeights[2]
|
|
6395
|
+
},
|
|
6396
|
+
'xxs': {
|
|
6397
|
+
fontSize: theme.fontSizes.xxs,
|
|
6398
|
+
fontWeight: theme.fontWeights.medium,
|
|
6399
|
+
lineHeight: theme.lineHeights[2]
|
|
6400
|
+
},
|
|
6401
|
+
'xxs/bold': {
|
|
6402
|
+
fontSize: theme.fontSizes.xxs,
|
|
6403
|
+
fontWeight: theme.fontWeights.bold,
|
|
6404
|
+
lineHeight: theme.lineHeights[2]
|
|
6405
|
+
}
|
|
7038
6406
|
}
|
|
7039
6407
|
}), compose(wordBreak, whiteSpace, textDecoration, fontSize$1, fontWeight$1, lineHeight$1, color$2, textAlign), sx);
|
|
7040
6408
|
Text.defaultProps = {
|
|
@@ -9564,7 +8932,7 @@ const hsla = {
|
|
|
9564
8932
|
},
|
|
9565
8933
|
};
|
|
9566
8934
|
|
|
9567
|
-
const color = {
|
|
8935
|
+
const color$1 = {
|
|
9568
8936
|
test: (v) => rgba.test(v) || hex.test(v) || hsla.test(v),
|
|
9569
8937
|
parse: (v) => {
|
|
9570
8938
|
if (rgba.test(v)) {
|
|
@@ -9700,7 +9068,7 @@ const colorTokeniser = {
|
|
|
9700
9068
|
regex: colorRegex,
|
|
9701
9069
|
countKey: "Colors",
|
|
9702
9070
|
token: "${c}",
|
|
9703
|
-
parse: color.parse,
|
|
9071
|
+
parse: color$1.parse,
|
|
9704
9072
|
};
|
|
9705
9073
|
const numberTokeniser = {
|
|
9706
9074
|
regex: floatRegex,
|
|
@@ -9745,7 +9113,7 @@ function createTransformer(source) {
|
|
|
9745
9113
|
output = output.replace(cssVarTokeniser.token, v[i]);
|
|
9746
9114
|
}
|
|
9747
9115
|
else if (i < numVars + numColors) {
|
|
9748
|
-
output = output.replace(colorTokeniser.token, color.transform(v[i]));
|
|
9116
|
+
output = output.replace(colorTokeniser.token, color$1.transform(v[i]));
|
|
9749
9117
|
}
|
|
9750
9118
|
else {
|
|
9751
9119
|
output = output.replace(numberTokeniser.token, sanitize(v[i]));
|
|
@@ -9772,7 +9140,7 @@ function getMixer(origin, target) {
|
|
|
9772
9140
|
if (typeof origin === "number") {
|
|
9773
9141
|
return (v) => mix(origin, target, v);
|
|
9774
9142
|
}
|
|
9775
|
-
else if (color.test(origin)) {
|
|
9143
|
+
else if (color$1.test(origin)) {
|
|
9776
9144
|
return mixColor(origin, target);
|
|
9777
9145
|
}
|
|
9778
9146
|
else {
|
|
@@ -9846,7 +9214,7 @@ function detectMixerFactory(v) {
|
|
|
9846
9214
|
return mixNumber;
|
|
9847
9215
|
}
|
|
9848
9216
|
else if (typeof v === "string") {
|
|
9849
|
-
return color.test(v) ? mixColor : mixComplex;
|
|
9217
|
+
return color$1.test(v) ? mixColor : mixComplex;
|
|
9850
9218
|
}
|
|
9851
9219
|
else if (Array.isArray(v)) {
|
|
9852
9220
|
return mixArray;
|
|
@@ -10941,17 +10309,17 @@ const filter = {
|
|
|
10941
10309
|
const defaultValueTypes = {
|
|
10942
10310
|
...numberValueTypes,
|
|
10943
10311
|
// Color props
|
|
10944
|
-
color,
|
|
10945
|
-
backgroundColor: color,
|
|
10946
|
-
outlineColor: color,
|
|
10947
|
-
fill: color,
|
|
10948
|
-
stroke: color,
|
|
10312
|
+
color: color$1,
|
|
10313
|
+
backgroundColor: color$1,
|
|
10314
|
+
outlineColor: color$1,
|
|
10315
|
+
fill: color$1,
|
|
10316
|
+
stroke: color$1,
|
|
10949
10317
|
// Border props
|
|
10950
|
-
borderColor: color,
|
|
10951
|
-
borderTopColor: color,
|
|
10952
|
-
borderRightColor: color,
|
|
10953
|
-
borderBottomColor: color,
|
|
10954
|
-
borderLeftColor: color,
|
|
10318
|
+
borderColor: color$1,
|
|
10319
|
+
borderTopColor: color$1,
|
|
10320
|
+
borderRightColor: color$1,
|
|
10321
|
+
borderBottomColor: color$1,
|
|
10322
|
+
borderLeftColor: color$1,
|
|
10955
10323
|
filter,
|
|
10956
10324
|
WebkitFilter: filter,
|
|
10957
10325
|
};
|
|
@@ -11541,7 +10909,7 @@ const findDimensionValueType = (v) => dimensionValueTypes.find(testValueType(v))
|
|
|
11541
10909
|
/**
|
|
11542
10910
|
* A list of all ValueTypes
|
|
11543
10911
|
*/
|
|
11544
|
-
const valueTypes = [...dimensionValueTypes, color, complex];
|
|
10912
|
+
const valueTypes = [...dimensionValueTypes, color$1, complex];
|
|
11545
10913
|
/**
|
|
11546
10914
|
* Tests a value against the list of ValueTypes
|
|
11547
10915
|
*/
|
|
@@ -17107,12 +16475,14 @@ const spin = styled.keyframes`
|
|
|
17107
16475
|
}
|
|
17108
16476
|
`;
|
|
17109
16477
|
const Spinner = styled__default.default(SvgProgressGradient)`
|
|
16478
|
+
color: ${({
|
|
16479
|
+
theme
|
|
16480
|
+
}) => theme.colors['icon/neutral']};
|
|
17110
16481
|
animation: ${spin} 1000ms infinite steps(8, end);
|
|
17111
16482
|
`;
|
|
17112
16483
|
Spinner.defaultProps = {
|
|
17113
16484
|
width: 32,
|
|
17114
|
-
height: 32
|
|
17115
|
-
color: color$1['icon/neutral']
|
|
16485
|
+
height: 32
|
|
17116
16486
|
};
|
|
17117
16487
|
|
|
17118
16488
|
const UnstyledButton = styled__default.default.button`
|
|
@@ -17658,17 +17028,20 @@ const Chip = ({
|
|
|
17658
17028
|
trailingIcon: TrailingIcon,
|
|
17659
17029
|
children: [LeadingIcon ? /*#__PURE__*/jsxRuntimeExports.jsx(LeadingIcon, {}) : null, children, TrailingIcon ? /*#__PURE__*/jsxRuntimeExports.jsx(TrailingIcon, {}) : null]
|
|
17660
17030
|
});
|
|
17661
|
-
const BaseChip = styled__default.default.span({
|
|
17031
|
+
const BaseChip = styled__default.default.span(({
|
|
17032
|
+
theme
|
|
17033
|
+
}) => ({
|
|
17662
17034
|
position: 'relative',
|
|
17663
17035
|
width: 'fit-content',
|
|
17664
|
-
borderRadius: radii.full,
|
|
17036
|
+
borderRadius: theme.radii.full,
|
|
17665
17037
|
outline: 'none',
|
|
17666
17038
|
display: 'flex',
|
|
17667
17039
|
flexDirection: 'row',
|
|
17668
17040
|
alignItems: 'center'
|
|
17669
|
-
}, ({
|
|
17041
|
+
}), ({
|
|
17670
17042
|
leadingIcon,
|
|
17671
|
-
trailingIcon
|
|
17043
|
+
trailingIcon,
|
|
17044
|
+
theme
|
|
17672
17045
|
}) => variant({
|
|
17673
17046
|
prop: 'size',
|
|
17674
17047
|
variants: {
|
|
@@ -17676,9 +17049,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17676
17049
|
'pl': leadingIcon ? 2 : 3,
|
|
17677
17050
|
'pr': trailingIcon ? 2 : 3,
|
|
17678
17051
|
'py': 1,
|
|
17679
|
-
'fontSize':
|
|
17680
|
-
'fontWeight':
|
|
17681
|
-
'lineHeight':
|
|
17052
|
+
'fontSize': theme.fontSizes.s,
|
|
17053
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17054
|
+
'lineHeight': theme.lineHeights[2],
|
|
17682
17055
|
'columnGap': 1,
|
|
17683
17056
|
'& svg': {
|
|
17684
17057
|
width: 16,
|
|
@@ -17689,9 +17062,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17689
17062
|
'pl': leadingIcon ? 2 : 3,
|
|
17690
17063
|
'pr': trailingIcon ? 2 : 3,
|
|
17691
17064
|
'py': 1,
|
|
17692
|
-
'fontSize':
|
|
17693
|
-
'fontWeight':
|
|
17694
|
-
'lineHeight':
|
|
17065
|
+
'fontSize': theme.fontSizes.xs,
|
|
17066
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17067
|
+
'lineHeight': theme.lineHeights[2],
|
|
17695
17068
|
'columnGap': 0.5,
|
|
17696
17069
|
'& svg': {
|
|
17697
17070
|
width: 16,
|
|
@@ -17702,9 +17075,9 @@ const BaseChip = styled__default.default.span({
|
|
|
17702
17075
|
'pl': !leadingIcon && trailingIcon ? 3 : 2,
|
|
17703
17076
|
'pr': leadingIcon && !trailingIcon ? 3 : 2,
|
|
17704
17077
|
'py': 0.5,
|
|
17705
|
-
'fontSize':
|
|
17706
|
-
'fontWeight':
|
|
17707
|
-
'lineHeight':
|
|
17078
|
+
'fontSize': theme.fontSizes.xxs,
|
|
17079
|
+
'fontWeight': theme.fontWeights.medium,
|
|
17080
|
+
'lineHeight': theme.lineHeights[2],
|
|
17708
17081
|
'columnGap': 0.5,
|
|
17709
17082
|
'& svg': {
|
|
17710
17083
|
width: 12,
|
|
@@ -17712,28 +17085,30 @@ const BaseChip = styled__default.default.span({
|
|
|
17712
17085
|
}
|
|
17713
17086
|
}
|
|
17714
17087
|
}
|
|
17715
|
-
}),
|
|
17088
|
+
}), ({
|
|
17089
|
+
theme
|
|
17090
|
+
}) => variant({
|
|
17716
17091
|
prop: 'variant',
|
|
17717
17092
|
variants: {
|
|
17718
17093
|
'primary': {
|
|
17719
|
-
'backgroundColor':
|
|
17720
|
-
'color':
|
|
17094
|
+
'backgroundColor': theme.colors['bg/primary'],
|
|
17095
|
+
'color': theme.colors['text/inverse'],
|
|
17721
17096
|
'& svg': {
|
|
17722
|
-
color:
|
|
17097
|
+
color: theme.colors['icon/inverse']
|
|
17723
17098
|
}
|
|
17724
17099
|
},
|
|
17725
17100
|
'secondary': {
|
|
17726
|
-
'backgroundColor':
|
|
17727
|
-
'color':
|
|
17101
|
+
'backgroundColor': theme.colors['bg/secondary'],
|
|
17102
|
+
'color': theme.colors['text/primary'],
|
|
17728
17103
|
'& svg': {
|
|
17729
|
-
color:
|
|
17104
|
+
color: theme.colors['icon/primary']
|
|
17730
17105
|
}
|
|
17731
17106
|
},
|
|
17732
17107
|
'outlined-primary': {
|
|
17733
|
-
'backgroundColor':
|
|
17734
|
-
'color':
|
|
17108
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17109
|
+
'color': theme.colors['text/primary'],
|
|
17735
17110
|
'& svg': {
|
|
17736
|
-
color:
|
|
17111
|
+
color: theme.colors['icon/primary']
|
|
17737
17112
|
},
|
|
17738
17113
|
'&:after': {
|
|
17739
17114
|
content: '""',
|
|
@@ -17744,16 +17119,16 @@ const BaseChip = styled__default.default.span({
|
|
|
17744
17119
|
left: 0,
|
|
17745
17120
|
borderWidth: 1,
|
|
17746
17121
|
borderStyle: 'solid',
|
|
17747
|
-
borderColor:
|
|
17748
|
-
borderRadius: radii.full,
|
|
17122
|
+
borderColor: theme.colors['border/primary'],
|
|
17123
|
+
borderRadius: theme.radii.full,
|
|
17749
17124
|
boxSizing: 'border-box'
|
|
17750
17125
|
}
|
|
17751
17126
|
},
|
|
17752
17127
|
'outlined-neutral': {
|
|
17753
|
-
'backgroundColor':
|
|
17754
|
-
'color':
|
|
17128
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17129
|
+
'color': theme.colors['text/neutral/subtle'],
|
|
17755
17130
|
'& svg': {
|
|
17756
|
-
color:
|
|
17131
|
+
color: theme.colors['icon/neutral/bolder']
|
|
17757
17132
|
},
|
|
17758
17133
|
'&:after': {
|
|
17759
17134
|
content: '""',
|
|
@@ -17764,51 +17139,51 @@ const BaseChip = styled__default.default.span({
|
|
|
17764
17139
|
left: 0,
|
|
17765
17140
|
borderWidth: 1,
|
|
17766
17141
|
borderStyle: 'solid',
|
|
17767
|
-
borderColor:
|
|
17768
|
-
borderRadius: radii.full,
|
|
17142
|
+
borderColor: theme.colors['border/neutral/bolder'],
|
|
17143
|
+
borderRadius: theme.radii.full,
|
|
17769
17144
|
boxSizing: 'border-box'
|
|
17770
17145
|
}
|
|
17771
17146
|
},
|
|
17772
17147
|
'neutral': {
|
|
17773
|
-
'backgroundColor':
|
|
17774
|
-
'color':
|
|
17148
|
+
'backgroundColor': theme.colors['bg/neutral'],
|
|
17149
|
+
'color': theme.colors['text/neutral/subtle'],
|
|
17775
17150
|
'& svg': {
|
|
17776
|
-
color:
|
|
17151
|
+
color: theme.colors['icon/neutral/bolder']
|
|
17777
17152
|
}
|
|
17778
17153
|
},
|
|
17779
17154
|
'red': {
|
|
17780
|
-
'backgroundColor':
|
|
17781
|
-
'color':
|
|
17155
|
+
'backgroundColor': theme.colors['bg/accent/red/subtlest'],
|
|
17156
|
+
'color': theme.colors['text/accent/red'],
|
|
17782
17157
|
'& svg': {
|
|
17783
|
-
color:
|
|
17158
|
+
color: theme.colors['icon/accent/red']
|
|
17784
17159
|
}
|
|
17785
17160
|
},
|
|
17786
17161
|
'red-accent': {
|
|
17787
|
-
'backgroundColor':
|
|
17788
|
-
'color':
|
|
17162
|
+
'backgroundColor': theme.colors['bg/accent/red'],
|
|
17163
|
+
'color': theme.colors['text/inverse'],
|
|
17789
17164
|
'& svg': {
|
|
17790
|
-
color:
|
|
17165
|
+
color: theme.colors['icon/inverse']
|
|
17791
17166
|
}
|
|
17792
17167
|
},
|
|
17793
17168
|
'yellow': {
|
|
17794
|
-
'backgroundColor':
|
|
17795
|
-
'color':
|
|
17169
|
+
'backgroundColor': theme.colors['bg/accent/yellow/subtlest'],
|
|
17170
|
+
'color': theme.colors['text/accent/yellow'],
|
|
17796
17171
|
'& svg': {
|
|
17797
|
-
color:
|
|
17172
|
+
color: theme.colors['icon/accent/yellow']
|
|
17798
17173
|
}
|
|
17799
17174
|
},
|
|
17800
17175
|
'green': {
|
|
17801
|
-
'backgroundColor':
|
|
17802
|
-
'color':
|
|
17176
|
+
'backgroundColor': theme.colors['bg/accent/green/subtlest'],
|
|
17177
|
+
'color': theme.colors['text/accent/green'],
|
|
17803
17178
|
'& svg': {
|
|
17804
|
-
color:
|
|
17179
|
+
color: theme.colors['icon/accent/green']
|
|
17805
17180
|
}
|
|
17806
17181
|
},
|
|
17807
17182
|
'dim': {
|
|
17808
|
-
'backgroundColor':
|
|
17809
|
-
'color':
|
|
17183
|
+
'backgroundColor': theme.colors['dim'],
|
|
17184
|
+
'color': theme.colors['text/inverse'],
|
|
17810
17185
|
'& svg': {
|
|
17811
|
-
color:
|
|
17186
|
+
color: theme.colors['icon/inverse']
|
|
17812
17187
|
}
|
|
17813
17188
|
}
|
|
17814
17189
|
}
|
|
@@ -18148,10 +17523,11 @@ const IconButton = /*#__PURE__*/React.forwardRef(({
|
|
|
18148
17523
|
});
|
|
18149
17524
|
const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
18150
17525
|
$loading,
|
|
18151
|
-
$disabled
|
|
17526
|
+
$disabled,
|
|
17527
|
+
theme
|
|
18152
17528
|
}) => ({
|
|
18153
17529
|
'position': 'relative',
|
|
18154
|
-
'borderRadius': radii.full,
|
|
17530
|
+
'borderRadius': theme.radii.full,
|
|
18155
17531
|
'transition': 'background-color 100ms, color 100ms',
|
|
18156
17532
|
'& svg': {
|
|
18157
17533
|
display: 'block',
|
|
@@ -18159,7 +17535,7 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18159
17535
|
},
|
|
18160
17536
|
'cursor': $loading ? 'progress' : $disabled ? 'not-allowed' : 'pointer',
|
|
18161
17537
|
'&:focus-visible': {
|
|
18162
|
-
outlineColor:
|
|
17538
|
+
outlineColor: theme.colors['border/focused'],
|
|
18163
17539
|
outlineStyle: 'solid',
|
|
18164
17540
|
outlineWidth: 2,
|
|
18165
17541
|
outlineOffset: 2
|
|
@@ -18190,55 +17566,56 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18190
17566
|
}
|
|
18191
17567
|
}
|
|
18192
17568
|
}), ({
|
|
18193
|
-
$disabled
|
|
17569
|
+
$disabled,
|
|
17570
|
+
theme
|
|
18194
17571
|
}) => variant({
|
|
18195
17572
|
prop: 'variant',
|
|
18196
17573
|
variants: {
|
|
18197
17574
|
'primary': {
|
|
18198
|
-
'backgroundColor':
|
|
18199
|
-
'color':
|
|
17575
|
+
'backgroundColor': theme.colors['bg/primary'],
|
|
17576
|
+
'color': theme.colors['icon/inverse'],
|
|
18200
17577
|
'&:hover:not(:disabled)': {
|
|
18201
|
-
backgroundColor:
|
|
17578
|
+
backgroundColor: theme.colors['bg/primary/hovered']
|
|
18202
17579
|
},
|
|
18203
17580
|
'&:active:not(:disabled)': {
|
|
18204
|
-
backgroundColor:
|
|
17581
|
+
backgroundColor: theme.colors['bg/primary/pressed']
|
|
18205
17582
|
},
|
|
18206
17583
|
...($disabled ? {
|
|
18207
|
-
backgroundColor:
|
|
18208
|
-
color:
|
|
17584
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17585
|
+
color: theme.colors['icon/disabled']
|
|
18209
17586
|
} : {})
|
|
18210
17587
|
},
|
|
18211
17588
|
'secondary': {
|
|
18212
|
-
'backgroundColor':
|
|
18213
|
-
'color':
|
|
17589
|
+
'backgroundColor': theme.colors['bg/secondary'],
|
|
17590
|
+
'color': theme.colors['icon/primary'],
|
|
18214
17591
|
'&:hover:not(:disabled)': {
|
|
18215
|
-
backgroundColor:
|
|
17592
|
+
backgroundColor: theme.colors['bg/secondary/hovered']
|
|
18216
17593
|
},
|
|
18217
17594
|
'&:active:not(:disabled)': {
|
|
18218
|
-
backgroundColor:
|
|
17595
|
+
backgroundColor: theme.colors['bg/secondary/pressed']
|
|
18219
17596
|
},
|
|
18220
17597
|
...($disabled ? {
|
|
18221
|
-
backgroundColor:
|
|
18222
|
-
color:
|
|
17598
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17599
|
+
color: theme.colors['icon/disabled']
|
|
18223
17600
|
} : {})
|
|
18224
17601
|
},
|
|
18225
17602
|
'neutral': {
|
|
18226
|
-
'backgroundColor':
|
|
18227
|
-
'color':
|
|
17603
|
+
'backgroundColor': theme.colors['bg/neutral'],
|
|
17604
|
+
'color': theme.colors['icon/accent/gray'],
|
|
18228
17605
|
'&:hover:not(:disabled)': {
|
|
18229
|
-
backgroundColor:
|
|
17606
|
+
backgroundColor: theme.colors['bg/neutral/hovered']
|
|
18230
17607
|
},
|
|
18231
17608
|
'&:active:not(:disabled)': {
|
|
18232
|
-
backgroundColor:
|
|
17609
|
+
backgroundColor: theme.colors['bg/neutral/pressed']
|
|
18233
17610
|
},
|
|
18234
17611
|
...($disabled ? {
|
|
18235
|
-
backgroundColor:
|
|
18236
|
-
color:
|
|
17612
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17613
|
+
color: theme.colors['icon/disabled']
|
|
18237
17614
|
} : {})
|
|
18238
17615
|
},
|
|
18239
17616
|
'outlined': {
|
|
18240
|
-
'backgroundColor':
|
|
18241
|
-
'color':
|
|
17617
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17618
|
+
'color': theme.colors['icon/neutral/bolder'],
|
|
18242
17619
|
'&:after': {
|
|
18243
17620
|
content: '""',
|
|
18244
17621
|
position: 'absolute',
|
|
@@ -18248,78 +17625,78 @@ const BaseIconButton = styled__default.default(UnstyledButton)(({
|
|
|
18248
17625
|
left: 0,
|
|
18249
17626
|
borderWidth: 1,
|
|
18250
17627
|
borderStyle: 'solid',
|
|
18251
|
-
borderColor:
|
|
18252
|
-
borderRadius: radii.full,
|
|
17628
|
+
borderColor: theme.colors['border/neutral/bolder'],
|
|
17629
|
+
borderRadius: theme.radii.full,
|
|
18253
17630
|
boxSizing: 'border-box'
|
|
18254
17631
|
},
|
|
18255
17632
|
'&:hover:not(:disabled)': {
|
|
18256
|
-
backgroundColor:
|
|
17633
|
+
backgroundColor: theme.colors['bg/neutral/subtler/hovered']
|
|
18257
17634
|
},
|
|
18258
17635
|
'&:active:not(:disabled)': {
|
|
18259
|
-
backgroundColor:
|
|
17636
|
+
backgroundColor: theme.colors['bg/neutral/subtler/pressed']
|
|
18260
17637
|
},
|
|
18261
17638
|
...($disabled ? {
|
|
18262
|
-
'backgroundColor':
|
|
18263
|
-
'color':
|
|
17639
|
+
'backgroundColor': theme.colors['bg/disabled'],
|
|
17640
|
+
'color': theme.colors['icon/disabled'],
|
|
18264
17641
|
'&:after': {
|
|
18265
17642
|
display: 'none'
|
|
18266
17643
|
}
|
|
18267
17644
|
} : {})
|
|
18268
17645
|
},
|
|
18269
17646
|
'plain-bold': {
|
|
18270
|
-
'backgroundColor':
|
|
18271
|
-
'color':
|
|
17647
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17648
|
+
'color': theme.colors['icon/neutral/bolder'],
|
|
18272
17649
|
'&:hover:not(:disabled)': {
|
|
18273
|
-
color:
|
|
17650
|
+
color: theme.colors['icon/accent/gray']
|
|
18274
17651
|
},
|
|
18275
17652
|
'&:active:not(:disabled)': {
|
|
18276
|
-
color:
|
|
17653
|
+
color: theme.colors['icon/accent/gray']
|
|
18277
17654
|
},
|
|
18278
17655
|
...($disabled ? {
|
|
18279
|
-
backgroundColor:
|
|
18280
|
-
color:
|
|
17656
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17657
|
+
color: theme.colors['icon/disabled']
|
|
18281
17658
|
} : {})
|
|
18282
17659
|
},
|
|
18283
17660
|
'plain': {
|
|
18284
|
-
'backgroundColor':
|
|
18285
|
-
'color':
|
|
17661
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17662
|
+
'color': theme.colors['icon/neutral/bold'],
|
|
18286
17663
|
'&:hover:not(:disabled)': {
|
|
18287
|
-
color:
|
|
17664
|
+
color: theme.colors['icon/neutral/bolder']
|
|
18288
17665
|
},
|
|
18289
17666
|
'&:active:not(:disabled)': {
|
|
18290
|
-
color:
|
|
17667
|
+
color: theme.colors['icon/neutral/bolder']
|
|
18291
17668
|
},
|
|
18292
17669
|
...($disabled ? {
|
|
18293
|
-
backgroundColor:
|
|
18294
|
-
color:
|
|
17670
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17671
|
+
color: theme.colors['icon/disabled/subtler']
|
|
18295
17672
|
} : {})
|
|
18296
17673
|
},
|
|
18297
17674
|
'plain-subtle': {
|
|
18298
|
-
'backgroundColor':
|
|
18299
|
-
'color':
|
|
17675
|
+
'backgroundColor': theme.colors['bg/neutral/subtler'],
|
|
17676
|
+
'color': theme.colors['icon/neutral'],
|
|
18300
17677
|
'&:hover:not(:disabled)': {
|
|
18301
|
-
color:
|
|
17678
|
+
color: theme.colors['icon/neutral/bold']
|
|
18302
17679
|
},
|
|
18303
17680
|
'&:active:not(:disabled)': {
|
|
18304
|
-
color:
|
|
17681
|
+
color: theme.colors['icon/neutral/bold']
|
|
18305
17682
|
},
|
|
18306
17683
|
...($disabled ? {
|
|
18307
|
-
backgroundColor:
|
|
18308
|
-
color:
|
|
17684
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
17685
|
+
color: theme.colors['icon/disabled/subtler']
|
|
18309
17686
|
} : {})
|
|
18310
17687
|
},
|
|
18311
17688
|
'danger': {
|
|
18312
|
-
'backgroundColor':
|
|
18313
|
-
'color':
|
|
17689
|
+
'backgroundColor': theme.colors['bg/danger/bold'],
|
|
17690
|
+
'color': theme.colors['icon/inverse'],
|
|
18314
17691
|
'&:hover:not(:disabled)': {
|
|
18315
|
-
backgroundColor:
|
|
17692
|
+
backgroundColor: theme.colors['bg/danger/bold/hovered']
|
|
18316
17693
|
},
|
|
18317
17694
|
'&:active:not(:disabled)': {
|
|
18318
|
-
backgroundColor:
|
|
17695
|
+
backgroundColor: theme.colors['bg/danger/bold/pressed']
|
|
18319
17696
|
},
|
|
18320
17697
|
...($disabled ? {
|
|
18321
|
-
backgroundColor:
|
|
18322
|
-
color:
|
|
17698
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
17699
|
+
color: theme.colors['icon/disabled']
|
|
18323
17700
|
} : {})
|
|
18324
17701
|
}
|
|
18325
17702
|
}
|
|
@@ -19219,15 +18596,19 @@ const Blanket = styled__default.default.span`
|
|
|
19219
18596
|
display: block;
|
|
19220
18597
|
cursor: default;
|
|
19221
18598
|
content: '';
|
|
19222
|
-
background: ${
|
|
18599
|
+
background: ${({
|
|
18600
|
+
theme
|
|
18601
|
+
}) => theme.colors.dim};
|
|
19223
18602
|
}
|
|
19224
18603
|
`;
|
|
19225
|
-
const BaseDialog = styled__default.default.div((
|
|
18604
|
+
const BaseDialog = styled__default.default.div(({
|
|
18605
|
+
theme
|
|
18606
|
+
}) => ({
|
|
19226
18607
|
display: 'flex',
|
|
19227
18608
|
flexDirection: 'column',
|
|
19228
18609
|
position: 'relative',
|
|
19229
|
-
boxShadow:
|
|
19230
|
-
backgroundColor:
|
|
18610
|
+
boxShadow: theme.shadows['shadow/overlay'],
|
|
18611
|
+
backgroundColor: theme.colors['surface/overlay'],
|
|
19231
18612
|
outline: 'none',
|
|
19232
18613
|
overflow: 'hidden',
|
|
19233
18614
|
margin: 'auto'
|
|
@@ -21220,6 +20601,7 @@ const OverlayPopper = ({
|
|
|
21220
20601
|
onOpen,
|
|
21221
20602
|
onClose
|
|
21222
20603
|
}) => {
|
|
20604
|
+
const theme = styled.useTheme();
|
|
21223
20605
|
const {
|
|
21224
20606
|
refs,
|
|
21225
20607
|
elements,
|
|
@@ -21228,7 +20610,7 @@ const OverlayPopper = ({
|
|
|
21228
20610
|
} = useFloating({
|
|
21229
20611
|
placement,
|
|
21230
20612
|
whileElementsMounted: autoUpdate,
|
|
21231
|
-
middleware: [offset(space[1]), flip(), shift()],
|
|
20613
|
+
middleware: [offset(theme.space[1]), flip(), shift()],
|
|
21232
20614
|
strategy: 'fixed'
|
|
21233
20615
|
});
|
|
21234
20616
|
const [isOpen, toggleOverlay, openOverlay, closeOverlay] = useToggleState({
|
|
@@ -21359,6 +20741,7 @@ const TextInput = ({
|
|
|
21359
20741
|
trailingAction,
|
|
21360
20742
|
...props
|
|
21361
20743
|
}, ref) => {
|
|
20744
|
+
const theme = styled.useTheme();
|
|
21362
20745
|
const inputRef = useProvidedOrCreatedRef(ref);
|
|
21363
20746
|
const focusInput = () => {
|
|
21364
20747
|
inputRef.current?.focus();
|
|
@@ -21375,12 +20758,12 @@ const TextInput = ({
|
|
|
21375
20758
|
'flexShrink': 0,
|
|
21376
20759
|
'fontSize': 'xxs',
|
|
21377
20760
|
'fontWeight': 'medium',
|
|
21378
|
-
'color':
|
|
20761
|
+
'color': theme.colors['text/neutral'],
|
|
21379
20762
|
'& > svg': {
|
|
21380
20763
|
display: 'block',
|
|
21381
20764
|
width: 16,
|
|
21382
20765
|
height: 16,
|
|
21383
|
-
color:
|
|
20766
|
+
color: theme.colors['icon/neutral/bold']
|
|
21384
20767
|
}
|
|
21385
20768
|
},
|
|
21386
20769
|
children: typeof LeadingVisual !== 'string' && reactIsExports.isValidElementType(LeadingVisual) ? /*#__PURE__*/jsxRuntimeExports.jsx(LeadingVisual, {}) : LeadingVisual
|
|
@@ -21400,12 +20783,12 @@ const TextInput = ({
|
|
|
21400
20783
|
'flexShrink': 0,
|
|
21401
20784
|
'fontSize': 'xxs',
|
|
21402
20785
|
'fontWeight': 'medium',
|
|
21403
|
-
'color':
|
|
20786
|
+
'color': theme.colors['text/neutral'],
|
|
21404
20787
|
'& > svg': {
|
|
21405
20788
|
display: 'block',
|
|
21406
20789
|
width: 16,
|
|
21407
20790
|
height: 16,
|
|
21408
|
-
color:
|
|
20791
|
+
color: theme.colors['icon/neutral/bold']
|
|
21409
20792
|
}
|
|
21410
20793
|
},
|
|
21411
20794
|
children: [typeof TrailingVisual !== 'string' && reactIsExports.isValidElementType(TrailingVisual) ? /*#__PURE__*/jsxRuntimeExports.jsx(TrailingVisual, {}) : TrailingVisual, trailingAction ? /*#__PURE__*/React.cloneElement(trailingAction, {
|
|
@@ -23437,17 +22820,18 @@ const IconToggleButton = ({
|
|
|
23437
22820
|
});
|
|
23438
22821
|
};
|
|
23439
22822
|
const BaseIconToggleButton = styled__default.default(UnstyledButton)(({
|
|
23440
|
-
$disabled
|
|
22823
|
+
$disabled,
|
|
22824
|
+
theme
|
|
23441
22825
|
}) => ({
|
|
23442
22826
|
'position': 'relative',
|
|
23443
|
-
'borderRadius': radii.full,
|
|
22827
|
+
'borderRadius': theme.radii.full,
|
|
23444
22828
|
'transition': 'background-color 100ms, color 100ms',
|
|
23445
22829
|
'& svg': {
|
|
23446
22830
|
display: 'block'
|
|
23447
22831
|
},
|
|
23448
22832
|
'cursor': $disabled ? 'not-allowed' : 'pointer',
|
|
23449
22833
|
'&:focus-visible': {
|
|
23450
|
-
outlineColor:
|
|
22834
|
+
outlineColor: theme.colors['border/focused'],
|
|
23451
22835
|
outlineStyle: 'solid',
|
|
23452
22836
|
outlineWidth: 2,
|
|
23453
22837
|
outlineOffset: 2
|
|
@@ -23479,33 +22863,34 @@ const BaseIconToggleButton = styled__default.default(UnstyledButton)(({
|
|
|
23479
22863
|
}
|
|
23480
22864
|
}), ({
|
|
23481
22865
|
selected,
|
|
23482
|
-
$disabled
|
|
22866
|
+
$disabled,
|
|
22867
|
+
theme
|
|
23483
22868
|
}) => variant({
|
|
23484
22869
|
prop: 'variant',
|
|
23485
22870
|
variants: {
|
|
23486
22871
|
primary: {
|
|
23487
22872
|
...(selected ? {
|
|
23488
|
-
backgroundColor:
|
|
23489
|
-
color:
|
|
22873
|
+
backgroundColor: theme.colors['bg/selected/violet'],
|
|
22874
|
+
color: theme.colors['icon/inverse']
|
|
23490
22875
|
} : {
|
|
23491
|
-
backgroundColor:
|
|
23492
|
-
color:
|
|
22876
|
+
backgroundColor: theme.colors['bg/neutral'],
|
|
22877
|
+
color: theme.colors['icon/accent/gray']
|
|
23493
22878
|
}),
|
|
23494
22879
|
...($disabled ? {
|
|
23495
|
-
backgroundColor:
|
|
23496
|
-
color:
|
|
22880
|
+
backgroundColor: theme.colors['bg/disabled'],
|
|
22881
|
+
color: theme.colors['icon/disabled']
|
|
23497
22882
|
} : {})
|
|
23498
22883
|
},
|
|
23499
22884
|
plain: {
|
|
23500
|
-
backgroundColor:
|
|
22885
|
+
backgroundColor: theme.colors['bg/neutral/subtler'],
|
|
23501
22886
|
...(selected ? {
|
|
23502
|
-
color:
|
|
22887
|
+
color: theme.colors['icon/selected/violet']
|
|
23503
22888
|
} : {
|
|
23504
|
-
color:
|
|
22889
|
+
color: theme.colors['icon/neutral']
|
|
23505
22890
|
}),
|
|
23506
22891
|
...($disabled ? {
|
|
23507
|
-
backgroundColor:
|
|
23508
|
-
color:
|
|
22892
|
+
backgroundColor: theme.colors['bg/disabled/subtlest'],
|
|
22893
|
+
color: theme.colors['icon/disabled/subtler']
|
|
23509
22894
|
} : {})
|
|
23510
22895
|
}
|
|
23511
22896
|
}
|
|
@@ -24004,9 +23389,11 @@ const BaseStack = styled__default.default(View)({
|
|
|
24004
23389
|
display: 'flex',
|
|
24005
23390
|
flexDirection: 'row',
|
|
24006
23391
|
flexWrap: 'wrap'
|
|
24007
|
-
},
|
|
23392
|
+
}, ({
|
|
23393
|
+
theme
|
|
23394
|
+
}) => variant({
|
|
24008
23395
|
prop: 'gapX',
|
|
24009
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
23396
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
24010
23397
|
const styleValue = {
|
|
24011
23398
|
'& > *': {
|
|
24012
23399
|
px: forcePixelValue(value / 2)
|
|
@@ -24015,9 +23402,11 @@ const BaseStack = styled__default.default(View)({
|
|
|
24015
23402
|
};
|
|
24016
23403
|
return [key, styleValue];
|
|
24017
23404
|
}))
|
|
24018
|
-
}),
|
|
23405
|
+
}), ({
|
|
23406
|
+
theme
|
|
23407
|
+
}) => variant({
|
|
24019
23408
|
prop: 'gapY',
|
|
24020
|
-
variants: Object.fromEntries(Object.entries(space).map(([key, value]) => {
|
|
23409
|
+
variants: Object.fromEntries(Object.entries(theme.space).map(([key, value]) => {
|
|
24021
23410
|
const styleValue = {
|
|
24022
23411
|
'& > *': {
|
|
24023
23412
|
mt: forcePixelValue(value)
|
|
@@ -24901,15 +24290,17 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24901
24290
|
outlineWidth: 2,
|
|
24902
24291
|
outlineOffset: 2
|
|
24903
24292
|
}
|
|
24904
|
-
}), (
|
|
24293
|
+
}), ({
|
|
24294
|
+
theme
|
|
24295
|
+
}) => variant({
|
|
24905
24296
|
prop: 'size',
|
|
24906
24297
|
variants: {
|
|
24907
24298
|
l: {
|
|
24908
24299
|
'px': 4,
|
|
24909
24300
|
'py': 2,
|
|
24910
|
-
'fontSize':
|
|
24911
|
-
'fontWeight':
|
|
24912
|
-
'lineHeight':
|
|
24301
|
+
'fontSize': theme.fontSizes.s,
|
|
24302
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24303
|
+
'lineHeight': theme.lineHeights[2],
|
|
24913
24304
|
'& svg': {
|
|
24914
24305
|
width: 20,
|
|
24915
24306
|
height: 20
|
|
@@ -24918,9 +24309,9 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24918
24309
|
m: {
|
|
24919
24310
|
'px': 4,
|
|
24920
24311
|
'py': 2,
|
|
24921
|
-
'fontSize':
|
|
24922
|
-
'fontWeight':
|
|
24923
|
-
'lineHeight':
|
|
24312
|
+
'fontSize': theme.fontSizes.xs,
|
|
24313
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24314
|
+
'lineHeight': theme.lineHeights[2],
|
|
24924
24315
|
'& svg': {
|
|
24925
24316
|
width: 20,
|
|
24926
24317
|
height: 20
|
|
@@ -24929,9 +24320,9 @@ const BaseTabItem = styled__default.default(UnstyledButton)(({
|
|
|
24929
24320
|
s: {
|
|
24930
24321
|
'px': 3,
|
|
24931
24322
|
'py': 2,
|
|
24932
|
-
'fontSize':
|
|
24933
|
-
'fontWeight':
|
|
24934
|
-
'lineHeight':
|
|
24323
|
+
'fontSize': theme.fontSizes.xxs,
|
|
24324
|
+
'fontWeight': theme.fontWeights.medium,
|
|
24325
|
+
'lineHeight': theme.lineHeights[2],
|
|
24935
24326
|
'& svg': {
|
|
24936
24327
|
width: 16,
|
|
24937
24328
|
height: 16
|
|
@@ -25046,6 +24437,7 @@ const Tab = ({
|
|
|
25046
24437
|
gap = 2,
|
|
25047
24438
|
children
|
|
25048
24439
|
}) => {
|
|
24440
|
+
const theme = styled.useTheme();
|
|
25049
24441
|
const rootRef = React.useRef(null);
|
|
25050
24442
|
const [isLeftButtonVisible, setIsLeftButtonVisible] = React.useState(rootRef.current ? rootRef.current.scrollLeft > 0 : false);
|
|
25051
24443
|
const [isRightButtonVisible, setIsRightButtonVisible] = React.useState(rootRef.current ? rootRef.current.clientWidth + rootRef.current.scrollLeft < rootRef.current.scrollWidth : false);
|
|
@@ -25113,7 +24505,7 @@ const Tab = ({
|
|
|
25113
24505
|
bottom: 0,
|
|
25114
24506
|
width: forcePixelValue(gradientWidth),
|
|
25115
24507
|
height: '100%',
|
|
25116
|
-
background: `linear-gradient(${
|
|
24508
|
+
background: `linear-gradient(${theme.gradients['overlay/floating/toright']})`,
|
|
25117
24509
|
pointerEvents: 'none'
|
|
25118
24510
|
}
|
|
25119
24511
|
}), /*#__PURE__*/jsxRuntimeExports.jsx(View, {
|
|
@@ -25124,7 +24516,7 @@ const Tab = ({
|
|
|
25124
24516
|
top: 0,
|
|
25125
24517
|
left: 0,
|
|
25126
24518
|
bottom: 0,
|
|
25127
|
-
backgroundColor:
|
|
24519
|
+
backgroundColor: theme.colors.surface
|
|
25128
24520
|
},
|
|
25129
24521
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(IconButton, {
|
|
25130
24522
|
size: 's',
|
|
@@ -25142,7 +24534,7 @@ const Tab = ({
|
|
|
25142
24534
|
bottom: 0,
|
|
25143
24535
|
width: forcePixelValue(gradientWidth),
|
|
25144
24536
|
height: '100%',
|
|
25145
|
-
background: `linear-gradient(${
|
|
24537
|
+
background: `linear-gradient(${theme.gradients['overlay/floating/toleft']})`,
|
|
25146
24538
|
pointerEvents: 'none'
|
|
25147
24539
|
}
|
|
25148
24540
|
}), /*#__PURE__*/jsxRuntimeExports.jsx(View, {
|
|
@@ -25153,7 +24545,7 @@ const Tab = ({
|
|
|
25153
24545
|
top: 0,
|
|
25154
24546
|
right: 0,
|
|
25155
24547
|
bottom: 0,
|
|
25156
|
-
backgroundColor:
|
|
24548
|
+
backgroundColor: theme.colors.surface
|
|
25157
24549
|
},
|
|
25158
24550
|
children: /*#__PURE__*/jsxRuntimeExports.jsx(IconButton, {
|
|
25159
24551
|
size: 's',
|
|
@@ -25171,6 +24563,740 @@ var index$1 = Object.assign(Tab, {
|
|
|
25171
24563
|
Item: TabItem
|
|
25172
24564
|
});
|
|
25173
24565
|
|
|
24566
|
+
const device = {
|
|
24567
|
+
deviceDesktop: 1280,
|
|
24568
|
+
deviceTablet: 900,
|
|
24569
|
+
deviceMobile: 640
|
|
24570
|
+
};
|
|
24571
|
+
|
|
24572
|
+
const baseBreakpoints = [device.deviceMobile, device.deviceTablet, device.deviceDesktop];
|
|
24573
|
+
const breakpoints = baseBreakpoints.map(value => `${value + 1}px`);
|
|
24574
|
+
|
|
24575
|
+
const gray = {
|
|
24576
|
+
gray50: '#F9FAFB',
|
|
24577
|
+
gray100: '#F3F4F6',
|
|
24578
|
+
gray200: '#E5E7EB',
|
|
24579
|
+
gray300: '#D1D5DB',
|
|
24580
|
+
gray400: '#8D94A0',
|
|
24581
|
+
gray500: '#7A828D',
|
|
24582
|
+
gray600: '#6F7680',
|
|
24583
|
+
gray700: '#575C64',
|
|
24584
|
+
gray800: '#43484E',
|
|
24585
|
+
gray900: '#33373B'
|
|
24586
|
+
};
|
|
24587
|
+
const violet = {
|
|
24588
|
+
violet50: '#F3EFFD',
|
|
24589
|
+
violet100: '#E8E1FB',
|
|
24590
|
+
violet200: '#D9CDF9',
|
|
24591
|
+
violet300: '#C6B5F6',
|
|
24592
|
+
violet400: '#9C7EEF',
|
|
24593
|
+
violet500: '#835EEB',
|
|
24594
|
+
violet600: '#7756D6',
|
|
24595
|
+
violet700: '#5D43A7',
|
|
24596
|
+
violet800: '#483481',
|
|
24597
|
+
violet900: '#372763'
|
|
24598
|
+
};
|
|
24599
|
+
const green = {
|
|
24600
|
+
green50: '#E9FAF6',
|
|
24601
|
+
green100: '#BAEFE2',
|
|
24602
|
+
green200: '#98E8D4',
|
|
24603
|
+
green300: '#69DDC0',
|
|
24604
|
+
green400: '#4CD6B4',
|
|
24605
|
+
green500: '#1FCCA1',
|
|
24606
|
+
green600: '#1CBA93',
|
|
24607
|
+
green700: '#169172',
|
|
24608
|
+
green800: '#117059',
|
|
24609
|
+
green900: '#0D5644'
|
|
24610
|
+
};
|
|
24611
|
+
const yellow = {
|
|
24612
|
+
yellow50: '#FFF9E6',
|
|
24613
|
+
yellow100: '#FFECB2',
|
|
24614
|
+
yellow200: '#FFE28D',
|
|
24615
|
+
yellow300: '#FFD559',
|
|
24616
|
+
yellow400: '#FFCD39',
|
|
24617
|
+
yellow500: '#FFC107',
|
|
24618
|
+
yellow600: '#E8B006',
|
|
24619
|
+
yellow700: '#B58905',
|
|
24620
|
+
yellow800: '#8C6A04',
|
|
24621
|
+
yellow900: '#6B5103'
|
|
24622
|
+
};
|
|
24623
|
+
const red = {
|
|
24624
|
+
red50: '#FEE9EB',
|
|
24625
|
+
red100: '#FBBCC0',
|
|
24626
|
+
red200: '#F99CA2',
|
|
24627
|
+
red300: '#F66E78',
|
|
24628
|
+
red400: '#F5525D',
|
|
24629
|
+
red500: '#F22735',
|
|
24630
|
+
red600: '#DC2330',
|
|
24631
|
+
red700: '#AC1C26',
|
|
24632
|
+
red800: '#85151D',
|
|
24633
|
+
red900: '#661016'
|
|
24634
|
+
};
|
|
24635
|
+
const blue = {
|
|
24636
|
+
blue50: '#edf2fd',
|
|
24637
|
+
blue100: '#c6d8fa',
|
|
24638
|
+
blue200: '#abc5f7',
|
|
24639
|
+
blue300: '#84aaf4',
|
|
24640
|
+
blue400: '#6d99f1',
|
|
24641
|
+
blue500: '#4880ee',
|
|
24642
|
+
blue600: '#4274d9',
|
|
24643
|
+
blue700: '#335ba9',
|
|
24644
|
+
blue800: '#284683',
|
|
24645
|
+
blue900: '#1e3664'
|
|
24646
|
+
};
|
|
24647
|
+
const shade = {
|
|
24648
|
+
transparent: '#FFFFFF00',
|
|
24649
|
+
white: '#FFFFFF',
|
|
24650
|
+
white10A: '#FFFFFF1A',
|
|
24651
|
+
black: '#000000',
|
|
24652
|
+
black60A: '#00000099'
|
|
24653
|
+
};
|
|
24654
|
+
const fuchsiaPink = {
|
|
24655
|
+
fuchsiaPink50: '#FCF2FD',
|
|
24656
|
+
fuchsiaPink100: '#F5D6F8',
|
|
24657
|
+
fuchsiaPink200: '#F0C2F4',
|
|
24658
|
+
fuchsiaPink300: '#E9A7EF',
|
|
24659
|
+
fuchsiaPink400: '#E595EC',
|
|
24660
|
+
fuchsiaPink500: '#DE7BE7',
|
|
24661
|
+
fuchsiaPink600: '#CA70D2',
|
|
24662
|
+
fuchsiaPink700: '#9E57A4',
|
|
24663
|
+
fuchsiaPink800: '#7A447F',
|
|
24664
|
+
fuchsiaPink900: '#5D3461'
|
|
24665
|
+
};
|
|
24666
|
+
const skyBlue = {
|
|
24667
|
+
skyBlue50: '#EFF9FD',
|
|
24668
|
+
skyBlue100: '#CFEDF8',
|
|
24669
|
+
skyBlue200: '#B7E4F5',
|
|
24670
|
+
skyBlue300: '#96D8F1',
|
|
24671
|
+
skyBlue400: '#82D1EE',
|
|
24672
|
+
skyBlue500: '#63C5EA',
|
|
24673
|
+
skyBlue600: '#5AB3D5',
|
|
24674
|
+
skyBlue700: '#468CA6',
|
|
24675
|
+
skyBlue800: '#366C81',
|
|
24676
|
+
skyBlue900: '#2A5362'
|
|
24677
|
+
};
|
|
24678
|
+
const indianRed = {
|
|
24679
|
+
indianRed50: '#632A2A',
|
|
24680
|
+
indianRed100: '#823838',
|
|
24681
|
+
indianRed200: '#A84848',
|
|
24682
|
+
indianRed300: '#D75C5C',
|
|
24683
|
+
indianRed400: '#EC6565',
|
|
24684
|
+
indianRed500: '#F08484',
|
|
24685
|
+
indianRed600: '#F29898',
|
|
24686
|
+
indianRed700: '#F6B8B8',
|
|
24687
|
+
indianRed800: '#F9CFCF',
|
|
24688
|
+
indianRed900: '#FDF0F0'
|
|
24689
|
+
};
|
|
24690
|
+
const mustardYellow = {
|
|
24691
|
+
mustardYellow50: '#675025',
|
|
24692
|
+
mustardYellow100: '#876931',
|
|
24693
|
+
mustardYellow200: '#AE883F',
|
|
24694
|
+
mustardYellow300: '#DFAE51',
|
|
24695
|
+
mustardYellow400: '#F5BF59',
|
|
24696
|
+
mustardYellow500: '#F7CC7A',
|
|
24697
|
+
mustardYellow600: '#F8D490',
|
|
24698
|
+
mustardYellow700: '#FAE2B3',
|
|
24699
|
+
mustardYellow800: '#FCEBCC',
|
|
24700
|
+
mustardYellow900: '#FEF9EE'
|
|
24701
|
+
};
|
|
24702
|
+
const palette = {
|
|
24703
|
+
...gray,
|
|
24704
|
+
...violet,
|
|
24705
|
+
...green,
|
|
24706
|
+
...yellow,
|
|
24707
|
+
...red,
|
|
24708
|
+
...blue,
|
|
24709
|
+
...shade,
|
|
24710
|
+
...fuchsiaPink,
|
|
24711
|
+
...skyBlue,
|
|
24712
|
+
...indianRed,
|
|
24713
|
+
...mustardYellow
|
|
24714
|
+
};
|
|
24715
|
+
|
|
24716
|
+
const textColor = {
|
|
24717
|
+
'text/primary': palette.violet500,
|
|
24718
|
+
'text/accent/blue': palette.blue500,
|
|
24719
|
+
'text/accent/green': palette.green500,
|
|
24720
|
+
'text/accent/yellow': palette.yellow500,
|
|
24721
|
+
'text/accent/red': palette.red500,
|
|
24722
|
+
'text/neutral/subtlest': palette.gray400,
|
|
24723
|
+
'text/neutral/subtler': palette.gray500,
|
|
24724
|
+
'text/neutral/subtle': palette.gray700,
|
|
24725
|
+
'text/neutral': palette.gray900,
|
|
24726
|
+
'text/inverse': palette.white,
|
|
24727
|
+
'text/inverse/subtle': palette.gray200,
|
|
24728
|
+
'text/inverse/subtler': palette.gray300,
|
|
24729
|
+
'text/disabled': palette.gray400,
|
|
24730
|
+
'text/success': palette.green500,
|
|
24731
|
+
'text/warning': palette.yellow500,
|
|
24732
|
+
'text/danger': palette.red500,
|
|
24733
|
+
'text/selected': palette.gray900
|
|
24734
|
+
};
|
|
24735
|
+
const bgColor = {
|
|
24736
|
+
'bg/secondary': palette.violet50,
|
|
24737
|
+
'bg/secondary/hovered': palette.violet200,
|
|
24738
|
+
'bg/secondary/pressed': palette.violet200,
|
|
24739
|
+
'bg/primary': palette.violet500,
|
|
24740
|
+
'bg/primary/hovered': palette.violet700,
|
|
24741
|
+
'bg/primary/pressed': palette.violet700,
|
|
24742
|
+
'bg/neutral/subtlest': palette.transparent,
|
|
24743
|
+
'bg/neutral/subtlest/hovered': palette.gray50,
|
|
24744
|
+
'bg/neutral/subtlest/pressed': palette.gray50,
|
|
24745
|
+
'bg/neutral/subtler': palette.transparent,
|
|
24746
|
+
'bg/neutral/subtler/hovered': palette.gray100,
|
|
24747
|
+
'bg/neutral/subtler/pressed': palette.gray100,
|
|
24748
|
+
'bg/neutral/subtle': palette.gray50,
|
|
24749
|
+
'bg/neutral/subtle/hovered': palette.gray200,
|
|
24750
|
+
'bg/neutral/subtle/pressed': palette.gray200,
|
|
24751
|
+
'bg/neutral': palette.gray100,
|
|
24752
|
+
'bg/neutral/hovered': palette.gray300,
|
|
24753
|
+
'bg/neutral/pressed': palette.gray300,
|
|
24754
|
+
'bg/neutral/bold': palette.gray700,
|
|
24755
|
+
'bg/neutral/bold/hovered': palette.gray900,
|
|
24756
|
+
'bg/neutral/bold/pressed': palette.gray900,
|
|
24757
|
+
'bg/neutral/bolder': palette.gray900,
|
|
24758
|
+
'bg/neutral/bolder/hovered': palette.black,
|
|
24759
|
+
'bg/neutral/bolder/pressed': palette.black,
|
|
24760
|
+
'bg/disabled': palette.gray100,
|
|
24761
|
+
'bg/disabled/subtlest': palette.transparent,
|
|
24762
|
+
'bg/input': palette.white,
|
|
24763
|
+
'bg/accent/blue/subtlest': palette.blue50,
|
|
24764
|
+
'bg/accent/green/subtlest': palette.green50,
|
|
24765
|
+
'bg/accent/yellow/subtlest': palette.yellow50,
|
|
24766
|
+
'bg/accent/red/subtlest': palette.red50,
|
|
24767
|
+
'bg/accent/red/subtle': palette.red400,
|
|
24768
|
+
'bg/accent/red': palette.red500,
|
|
24769
|
+
'bg/accent/gray/subtlest': palette.gray200,
|
|
24770
|
+
'bg/selected/violet': palette.violet500,
|
|
24771
|
+
'bg/selected': palette.gray900,
|
|
24772
|
+
'bg/selected/subtle': palette.gray100,
|
|
24773
|
+
'bg/inverse': palette.black,
|
|
24774
|
+
'bg/inverse/subtlest': palette.white10A,
|
|
24775
|
+
'bg/success': palette.green50,
|
|
24776
|
+
'bg/success/bold': palette.green500,
|
|
24777
|
+
'bg/warning': palette.yellow50,
|
|
24778
|
+
'bg/warning/bold': palette.yellow500,
|
|
24779
|
+
'bg/danger': palette.red50,
|
|
24780
|
+
'bg/danger/bold': palette.red400,
|
|
24781
|
+
'bg/danger/bold/hovered': palette.red600,
|
|
24782
|
+
'bg/danger/bold/pressed': palette.red600
|
|
24783
|
+
};
|
|
24784
|
+
const borderColor = {
|
|
24785
|
+
'border/neutral/subtle': palette.gray100,
|
|
24786
|
+
'border/neutral': palette.gray200,
|
|
24787
|
+
'border/neutral/bolder': palette.gray300,
|
|
24788
|
+
'border/input': palette.gray200,
|
|
24789
|
+
'border/inverse': palette.white10A,
|
|
24790
|
+
'border/selected': palette.gray900,
|
|
24791
|
+
'border/disabled': palette.gray100,
|
|
24792
|
+
'border/primary': palette.violet500,
|
|
24793
|
+
'border/hovered': palette.blue300,
|
|
24794
|
+
'border/focused': palette.blue500,
|
|
24795
|
+
'border/danger': palette.red500,
|
|
24796
|
+
'border/success': palette.green500
|
|
24797
|
+
};
|
|
24798
|
+
const iconColor = {
|
|
24799
|
+
'icon/neutral': palette.gray300,
|
|
24800
|
+
'icon/neutral/bold': palette.gray400,
|
|
24801
|
+
'icon/neutral/bolder': palette.gray700,
|
|
24802
|
+
'icon/accent/gray': palette.gray900,
|
|
24803
|
+
'icon/accent/blue': palette.blue500,
|
|
24804
|
+
'icon/accent/blue/bold': palette.blue700,
|
|
24805
|
+
'icon/accent/green': palette.green500,
|
|
24806
|
+
'icon/accent/yellow': palette.yellow500,
|
|
24807
|
+
'icon/accent/red': palette.red500,
|
|
24808
|
+
'icon/inverse': palette.white,
|
|
24809
|
+
'icon/disabled': palette.gray300,
|
|
24810
|
+
'icon/disabled/subtler': palette.gray200,
|
|
24811
|
+
'icon/selected/violet': palette.violet500,
|
|
24812
|
+
'icon/selected': palette.gray900,
|
|
24813
|
+
'icon/primary/subtle': palette.violet300,
|
|
24814
|
+
'icon/primary': palette.violet500,
|
|
24815
|
+
'icon/primary/bold': palette.violet700,
|
|
24816
|
+
'icon/success': palette.green500,
|
|
24817
|
+
'icon/warning': palette.yellow500,
|
|
24818
|
+
'icon/danger': palette.red500
|
|
24819
|
+
};
|
|
24820
|
+
const linkColor = {
|
|
24821
|
+
'link': palette.blue500,
|
|
24822
|
+
'link/hovered': palette.blue700,
|
|
24823
|
+
'link/pressed': palette.blue700,
|
|
24824
|
+
'link/neutral': palette.gray500,
|
|
24825
|
+
'link/neutral/hovered': palette.gray700,
|
|
24826
|
+
'link/neutral/pressed': palette.gray700,
|
|
24827
|
+
'link/neutral/bold': palette.gray700,
|
|
24828
|
+
'link/neutral/bold/hovered': palette.gray900,
|
|
24829
|
+
'link/neutral/bold/pressed': palette.gray900,
|
|
24830
|
+
'link/disabled': palette.gray700
|
|
24831
|
+
};
|
|
24832
|
+
const dimColor = {
|
|
24833
|
+
dim: palette.black60A
|
|
24834
|
+
};
|
|
24835
|
+
const scaleColor = {
|
|
24836
|
+
'scale/violet/0': palette.violet50,
|
|
24837
|
+
'scale/violet/1': palette.violet100,
|
|
24838
|
+
'scale/violet/2': palette.violet200,
|
|
24839
|
+
'scale/violet/3': palette.violet300,
|
|
24840
|
+
'scale/violet/4': palette.violet400,
|
|
24841
|
+
'scale/violet/5': palette.violet500,
|
|
24842
|
+
'scale/violet/6': palette.violet600,
|
|
24843
|
+
'scale/violet/7': palette.violet700,
|
|
24844
|
+
'scale/violet/8': palette.violet800,
|
|
24845
|
+
'scale/violet/9': palette.violet900,
|
|
24846
|
+
'scale/gray/0': palette.gray50,
|
|
24847
|
+
'scale/gray/1': palette.gray100,
|
|
24848
|
+
'scale/gray/2': palette.gray200,
|
|
24849
|
+
'scale/gray/3': palette.gray300,
|
|
24850
|
+
'scale/gray/4': palette.gray400,
|
|
24851
|
+
'scale/gray/5': palette.gray500,
|
|
24852
|
+
'scale/gray/6': palette.gray600,
|
|
24853
|
+
'scale/gray/7': palette.gray700,
|
|
24854
|
+
'scale/gray/8': palette.gray800,
|
|
24855
|
+
'scale/gray/9': palette.gray900,
|
|
24856
|
+
'scale/blue/0': palette.blue50,
|
|
24857
|
+
'scale/blue/1': palette.blue100,
|
|
24858
|
+
'scale/blue/2': palette.blue200,
|
|
24859
|
+
'scale/blue/3': palette.blue300,
|
|
24860
|
+
'scale/blue/4': palette.blue400,
|
|
24861
|
+
'scale/blue/5': palette.blue500,
|
|
24862
|
+
'scale/blue/6': palette.blue600,
|
|
24863
|
+
'scale/blue/7': palette.blue700,
|
|
24864
|
+
'scale/blue/8': palette.blue800,
|
|
24865
|
+
'scale/blue/9': palette.blue900,
|
|
24866
|
+
'scale/green/0': palette.green50,
|
|
24867
|
+
'scale/green/1': palette.green100,
|
|
24868
|
+
'scale/green/2': palette.green200,
|
|
24869
|
+
'scale/green/3': palette.green300,
|
|
24870
|
+
'scale/green/4': palette.green400,
|
|
24871
|
+
'scale/green/5': palette.green500,
|
|
24872
|
+
'scale/green/6': palette.green600,
|
|
24873
|
+
'scale/green/7': palette.green700,
|
|
24874
|
+
'scale/green/8': palette.green800,
|
|
24875
|
+
'scale/green/9': palette.green900,
|
|
24876
|
+
'scale/pink/0': palette.fuchsiaPink50,
|
|
24877
|
+
'scale/pink/1': palette.fuchsiaPink100,
|
|
24878
|
+
'scale/pink/2': palette.fuchsiaPink200,
|
|
24879
|
+
'scale/pink/3': palette.fuchsiaPink300,
|
|
24880
|
+
'scale/pink/4': palette.fuchsiaPink400,
|
|
24881
|
+
'scale/pink/5': palette.fuchsiaPink500,
|
|
24882
|
+
'scale/pink/6': palette.fuchsiaPink600,
|
|
24883
|
+
'scale/pink/7': palette.fuchsiaPink700,
|
|
24884
|
+
'scale/pink/8': palette.fuchsiaPink800,
|
|
24885
|
+
'scale/pink/9': palette.fuchsiaPink900,
|
|
24886
|
+
'scale/skyblue/0': palette.skyBlue50,
|
|
24887
|
+
'scale/skyblue/1': palette.skyBlue100,
|
|
24888
|
+
'scale/skyblue/2': palette.skyBlue200,
|
|
24889
|
+
'scale/skyblue/3': palette.skyBlue300,
|
|
24890
|
+
'scale/skyblue/4': palette.skyBlue400,
|
|
24891
|
+
'scale/skyblue/5': palette.skyBlue500,
|
|
24892
|
+
'scale/skyblue/6': palette.skyBlue600,
|
|
24893
|
+
'scale/skyblue/7': palette.skyBlue700,
|
|
24894
|
+
'scale/skyblue/8': palette.skyBlue800,
|
|
24895
|
+
'scale/skyblue/9': palette.skyBlue900,
|
|
24896
|
+
'scale/red/0': palette.indianRed50,
|
|
24897
|
+
'scale/red/1': palette.indianRed100,
|
|
24898
|
+
'scale/red/2': palette.indianRed200,
|
|
24899
|
+
'scale/red/3': palette.indianRed300,
|
|
24900
|
+
'scale/red/4': palette.indianRed400,
|
|
24901
|
+
'scale/red/5': palette.indianRed500,
|
|
24902
|
+
'scale/red/6': palette.indianRed600,
|
|
24903
|
+
'scale/red/7': palette.indianRed700,
|
|
24904
|
+
'scale/red/8': palette.indianRed800,
|
|
24905
|
+
'scale/red/9': palette.indianRed900,
|
|
24906
|
+
'scale/yellow/0': palette.mustardYellow50,
|
|
24907
|
+
'scale/yellow/1': palette.mustardYellow100,
|
|
24908
|
+
'scale/yellow/2': palette.mustardYellow200,
|
|
24909
|
+
'scale/yellow/3': palette.mustardYellow300,
|
|
24910
|
+
'scale/yellow/4': palette.mustardYellow400,
|
|
24911
|
+
'scale/yellow/5': palette.mustardYellow500,
|
|
24912
|
+
'scale/yellow/6': palette.mustardYellow600,
|
|
24913
|
+
'scale/yellow/7': palette.mustardYellow700,
|
|
24914
|
+
'scale/yellow/8': palette.mustardYellow800,
|
|
24915
|
+
'scale/yellow/9': palette.mustardYellow900
|
|
24916
|
+
};
|
|
24917
|
+
const color = {
|
|
24918
|
+
...textColor,
|
|
24919
|
+
...bgColor,
|
|
24920
|
+
...borderColor,
|
|
24921
|
+
...iconColor,
|
|
24922
|
+
...linkColor,
|
|
24923
|
+
...dimColor,
|
|
24924
|
+
...scaleColor
|
|
24925
|
+
};
|
|
24926
|
+
|
|
24927
|
+
const shadow = {
|
|
24928
|
+
shadowMedium: '0px 0px 1px 0px rgba(0, 0, 0, 0.06), 0px 8px 24px 0px rgba(0, 0, 0, 0.12)'
|
|
24929
|
+
};
|
|
24930
|
+
|
|
24931
|
+
const surfaceElevation = {
|
|
24932
|
+
'surface': palette.white,
|
|
24933
|
+
'surface/overlay': palette.white
|
|
24934
|
+
};
|
|
24935
|
+
const shadowElevation = {
|
|
24936
|
+
'shadow/overlay': shadow.shadowMedium
|
|
24937
|
+
};
|
|
24938
|
+
|
|
24939
|
+
const colorStopList = {
|
|
24940
|
+
colorStopListVioletPink: '#8E6CF0, #CF75F3',
|
|
24941
|
+
colorStopListBlackGray: '#0F0E0F, #595959',
|
|
24942
|
+
colorStopListWhite: '#FFFFFF, #FFFFFF00',
|
|
24943
|
+
colorStopListBlack: '#000000, #00000000'
|
|
24944
|
+
};
|
|
24945
|
+
|
|
24946
|
+
const direction = {
|
|
24947
|
+
directionToRight: 'to right',
|
|
24948
|
+
directionToLeft: 'to left',
|
|
24949
|
+
directionToRightBottom: 'to right bottom',
|
|
24950
|
+
directionToTop: 'to top'
|
|
24951
|
+
};
|
|
24952
|
+
|
|
24953
|
+
const generateGradientTokenValue = (direction$1, colorStopList$1) => `${direction[direction$1]}, ${colorStopList[colorStopList$1]}`;
|
|
24954
|
+
const textGradient = {
|
|
24955
|
+
'text/accent': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
24956
|
+
};
|
|
24957
|
+
const bgGradient = {
|
|
24958
|
+
'bg/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink'),
|
|
24959
|
+
'bg/accent/neutral': generateGradientTokenValue('directionToRightBottom', 'colorStopListBlackGray')
|
|
24960
|
+
};
|
|
24961
|
+
const borderGradient = {
|
|
24962
|
+
'border/accent/violet': generateGradientTokenValue('directionToRightBottom', 'colorStopListVioletPink')
|
|
24963
|
+
};
|
|
24964
|
+
const overlayGradient = {
|
|
24965
|
+
'overlay/subtlest/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
24966
|
+
'overlay/subtlest/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
24967
|
+
'overlay/subtlest/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
24968
|
+
'overlay/floating/toright': generateGradientTokenValue('directionToRight', 'colorStopListWhite'),
|
|
24969
|
+
'overlay/floating/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListWhite'),
|
|
24970
|
+
'overlay/floating/totop': generateGradientTokenValue('directionToTop', 'colorStopListWhite'),
|
|
24971
|
+
'overlay/bold/toright': generateGradientTokenValue('directionToRight', 'colorStopListBlack'),
|
|
24972
|
+
'overlay/bold/toleft': generateGradientTokenValue('directionToLeft', 'colorStopListBlack'),
|
|
24973
|
+
'overlay/bold/totop': generateGradientTokenValue('directionToTop', 'colorStopListBlack')
|
|
24974
|
+
};
|
|
24975
|
+
const gradient = {
|
|
24976
|
+
...textGradient,
|
|
24977
|
+
...bgGradient,
|
|
24978
|
+
...borderGradient,
|
|
24979
|
+
...overlayGradient
|
|
24980
|
+
};
|
|
24981
|
+
|
|
24982
|
+
const rounding = {
|
|
24983
|
+
rounding0: 0,
|
|
24984
|
+
rounding4: 4,
|
|
24985
|
+
rounding8: 8,
|
|
24986
|
+
rounding12: 12,
|
|
24987
|
+
rounding16: 16,
|
|
24988
|
+
rounding20: 20,
|
|
24989
|
+
rounding24: 24,
|
|
24990
|
+
rounding32: 32,
|
|
24991
|
+
rounding9999: 9999
|
|
24992
|
+
};
|
|
24993
|
+
|
|
24994
|
+
const radii = {
|
|
24995
|
+
none: rounding.rounding0,
|
|
24996
|
+
xxs: rounding.rounding4,
|
|
24997
|
+
xs: rounding.rounding8,
|
|
24998
|
+
s: rounding.rounding12,
|
|
24999
|
+
m: rounding.rounding16,
|
|
25000
|
+
l: rounding.rounding20,
|
|
25001
|
+
xl: rounding.rounding24,
|
|
25002
|
+
xxl: rounding.rounding32,
|
|
25003
|
+
full: rounding.rounding9999
|
|
25004
|
+
};
|
|
25005
|
+
|
|
25006
|
+
const unit = 4;
|
|
25007
|
+
const spacing = {
|
|
25008
|
+
spacing0: 0 * unit,
|
|
25009
|
+
// 0
|
|
25010
|
+
spacing1: 1,
|
|
25011
|
+
// 1
|
|
25012
|
+
spacing2: 0.5 * unit,
|
|
25013
|
+
// 2
|
|
25014
|
+
spacing4: 1 * unit,
|
|
25015
|
+
// 4
|
|
25016
|
+
spacing6: 1.5 * unit,
|
|
25017
|
+
// 6
|
|
25018
|
+
spacing8: 2 * unit,
|
|
25019
|
+
// 8
|
|
25020
|
+
spacing12: 3 * unit,
|
|
25021
|
+
// 12
|
|
25022
|
+
spacing16: 4 * unit,
|
|
25023
|
+
// 16
|
|
25024
|
+
spacing20: 5 * unit,
|
|
25025
|
+
// 20
|
|
25026
|
+
spacing24: 6 * unit,
|
|
25027
|
+
// 24
|
|
25028
|
+
spacing28: 7 * unit,
|
|
25029
|
+
// 28
|
|
25030
|
+
spacing32: 8 * unit,
|
|
25031
|
+
// 32
|
|
25032
|
+
spacing40: 10 * unit,
|
|
25033
|
+
// 40
|
|
25034
|
+
spacing48: 12 * unit,
|
|
25035
|
+
// 48
|
|
25036
|
+
spacing56: 14 * unit,
|
|
25037
|
+
// 56
|
|
25038
|
+
spacing64: 16 * unit,
|
|
25039
|
+
// 64
|
|
25040
|
+
spacing72: 18 * unit,
|
|
25041
|
+
// 72
|
|
25042
|
+
spacing80: 20 * unit,
|
|
25043
|
+
// 80
|
|
25044
|
+
spacing96: 24 * unit,
|
|
25045
|
+
// 96
|
|
25046
|
+
spacing112: 28 * unit,
|
|
25047
|
+
// 112
|
|
25048
|
+
spacing120: 30 * unit,
|
|
25049
|
+
// 120
|
|
25050
|
+
spacing128: 32 * unit,
|
|
25051
|
+
// 128
|
|
25052
|
+
spacing160: 40 * unit,
|
|
25053
|
+
// 160
|
|
25054
|
+
spacing192: 48 * unit,
|
|
25055
|
+
// 192
|
|
25056
|
+
spacing200: 50 * unit,
|
|
25057
|
+
// 200
|
|
25058
|
+
spacing320: 80 * unit // 320
|
|
25059
|
+
};
|
|
25060
|
+
|
|
25061
|
+
const space = {
|
|
25062
|
+
'-80': -spacing.spacing320,
|
|
25063
|
+
'-50': -spacing.spacing200,
|
|
25064
|
+
'-48': -spacing.spacing192,
|
|
25065
|
+
'-40': -spacing.spacing160,
|
|
25066
|
+
'-32': -spacing.spacing128,
|
|
25067
|
+
'-30': -spacing.spacing120,
|
|
25068
|
+
'-28': -spacing.spacing112,
|
|
25069
|
+
'-24': -spacing.spacing96,
|
|
25070
|
+
'-20': -spacing.spacing80,
|
|
25071
|
+
'-18': -spacing.spacing72,
|
|
25072
|
+
'-16': -spacing.spacing64,
|
|
25073
|
+
'-14': -spacing.spacing56,
|
|
25074
|
+
'-12': -spacing.spacing48,
|
|
25075
|
+
'-10': -spacing.spacing40,
|
|
25076
|
+
'-8': -spacing.spacing32,
|
|
25077
|
+
'-7': -spacing.spacing28,
|
|
25078
|
+
'-6': -spacing.spacing24,
|
|
25079
|
+
'-5': -spacing.spacing20,
|
|
25080
|
+
'-4': -spacing.spacing16,
|
|
25081
|
+
'-3': -spacing.spacing12,
|
|
25082
|
+
'-2': -spacing.spacing8,
|
|
25083
|
+
'-1': -spacing.spacing4,
|
|
25084
|
+
'-0.5': -spacing.spacing2,
|
|
25085
|
+
'-0.25': -spacing.spacing1,
|
|
25086
|
+
0: spacing.spacing0,
|
|
25087
|
+
0.25: spacing.spacing1,
|
|
25088
|
+
0.5: spacing.spacing2,
|
|
25089
|
+
1: spacing.spacing4,
|
|
25090
|
+
2: spacing.spacing8,
|
|
25091
|
+
3: spacing.spacing12,
|
|
25092
|
+
4: spacing.spacing16,
|
|
25093
|
+
5: spacing.spacing20,
|
|
25094
|
+
6: spacing.spacing24,
|
|
25095
|
+
7: spacing.spacing28,
|
|
25096
|
+
8: spacing.spacing32,
|
|
25097
|
+
10: spacing.spacing40,
|
|
25098
|
+
12: spacing.spacing48,
|
|
25099
|
+
14: spacing.spacing56,
|
|
25100
|
+
16: spacing.spacing64,
|
|
25101
|
+
18: spacing.spacing72,
|
|
25102
|
+
20: spacing.spacing80,
|
|
25103
|
+
24: spacing.spacing96,
|
|
25104
|
+
28: spacing.spacing112,
|
|
25105
|
+
30: spacing.spacing120,
|
|
25106
|
+
32: spacing.spacing128,
|
|
25107
|
+
40: spacing.spacing160,
|
|
25108
|
+
48: spacing.spacing192,
|
|
25109
|
+
50: spacing.spacing200,
|
|
25110
|
+
80: spacing.spacing320
|
|
25111
|
+
};
|
|
25112
|
+
|
|
25113
|
+
const fontSize = {
|
|
25114
|
+
fontSize50: 10,
|
|
25115
|
+
fontSize100: 12,
|
|
25116
|
+
fontSize200: 14,
|
|
25117
|
+
fontSize300: 16,
|
|
25118
|
+
fontSize400: 18,
|
|
25119
|
+
fontSize500: 20,
|
|
25120
|
+
fontSize600: 22,
|
|
25121
|
+
fontSize700: 24,
|
|
25122
|
+
fontSize800: 28,
|
|
25123
|
+
fontSize900: 32,
|
|
25124
|
+
fontSize1000: 40,
|
|
25125
|
+
fontSize1100: 48,
|
|
25126
|
+
fontSize1200: 64,
|
|
25127
|
+
fontSize1300: 100
|
|
25128
|
+
};
|
|
25129
|
+
|
|
25130
|
+
const fontSizes = {
|
|
25131
|
+
xxs: fontSize.fontSize100,
|
|
25132
|
+
xs: fontSize.fontSize200,
|
|
25133
|
+
s: fontSize.fontSize300,
|
|
25134
|
+
m: fontSize.fontSize500,
|
|
25135
|
+
l: fontSize.fontSize700,
|
|
25136
|
+
xl: fontSize.fontSize800,
|
|
25137
|
+
xxl: fontSize.fontSize900,
|
|
25138
|
+
display4: fontSize.fontSize1000,
|
|
25139
|
+
display3: fontSize.fontSize1100,
|
|
25140
|
+
display2: fontSize.fontSize1200,
|
|
25141
|
+
display1: fontSize.fontSize1300
|
|
25142
|
+
};
|
|
25143
|
+
|
|
25144
|
+
const fontWeight = {
|
|
25145
|
+
fontWeight100: 100,
|
|
25146
|
+
fontWeight200: 200,
|
|
25147
|
+
fontWeight300: 300,
|
|
25148
|
+
fontWeight400: 400,
|
|
25149
|
+
fontWeight500: 500,
|
|
25150
|
+
fontWeight600: 600,
|
|
25151
|
+
fontWeight700: 700,
|
|
25152
|
+
fontWeight800: 800,
|
|
25153
|
+
fontWeight900: 900
|
|
25154
|
+
};
|
|
25155
|
+
|
|
25156
|
+
const fontWeights = {
|
|
25157
|
+
regular: fontWeight.fontWeight400,
|
|
25158
|
+
medium: fontWeight.fontWeight500,
|
|
25159
|
+
bold: fontWeight.fontWeight700
|
|
25160
|
+
};
|
|
25161
|
+
|
|
25162
|
+
const lineHeight = {
|
|
25163
|
+
lineHeight1: 1.4,
|
|
25164
|
+
lineHeight2: 1.5
|
|
25165
|
+
};
|
|
25166
|
+
|
|
25167
|
+
const lineHeights = {
|
|
25168
|
+
1: lineHeight.lineHeight1,
|
|
25169
|
+
2: lineHeight.lineHeight2
|
|
25170
|
+
};
|
|
25171
|
+
|
|
25172
|
+
({
|
|
25173
|
+
'display1': {
|
|
25174
|
+
fontSize: fontSizes.display1,
|
|
25175
|
+
fontWeight: fontWeights.bold,
|
|
25176
|
+
lineHeight: lineHeights[1]
|
|
25177
|
+
},
|
|
25178
|
+
'display2': {
|
|
25179
|
+
fontSize: fontSizes.display2,
|
|
25180
|
+
fontWeight: fontWeights.bold,
|
|
25181
|
+
lineHeight: lineHeights[1]
|
|
25182
|
+
},
|
|
25183
|
+
'display3': {
|
|
25184
|
+
fontSize: fontSizes.display3,
|
|
25185
|
+
fontWeight: fontWeights.bold,
|
|
25186
|
+
lineHeight: lineHeights[1]
|
|
25187
|
+
},
|
|
25188
|
+
'display4': {
|
|
25189
|
+
fontSize: fontSizes.display4,
|
|
25190
|
+
fontWeight: fontWeights.bold,
|
|
25191
|
+
lineHeight: lineHeights[2]
|
|
25192
|
+
},
|
|
25193
|
+
'xxl/regular': {
|
|
25194
|
+
fontSize: fontSizes.xxl,
|
|
25195
|
+
fontWeight: fontWeights.regular,
|
|
25196
|
+
lineHeight: lineHeights[2]
|
|
25197
|
+
},
|
|
25198
|
+
'xxl': {
|
|
25199
|
+
fontSize: fontSizes.xxl,
|
|
25200
|
+
fontWeight: fontWeights.medium,
|
|
25201
|
+
lineHeight: lineHeights[2]
|
|
25202
|
+
},
|
|
25203
|
+
'xxl/bold': {
|
|
25204
|
+
fontSize: fontSizes.xxl,
|
|
25205
|
+
fontWeight: fontWeights.bold,
|
|
25206
|
+
lineHeight: lineHeights[2]
|
|
25207
|
+
},
|
|
25208
|
+
'xl/regular': {
|
|
25209
|
+
fontSize: fontSizes.xl,
|
|
25210
|
+
fontWeight: fontWeights.regular,
|
|
25211
|
+
lineHeight: lineHeights[2]
|
|
25212
|
+
},
|
|
25213
|
+
'xl': {
|
|
25214
|
+
fontSize: fontSizes.xl,
|
|
25215
|
+
fontWeight: fontWeights.medium,
|
|
25216
|
+
lineHeight: lineHeights[2]
|
|
25217
|
+
},
|
|
25218
|
+
'xl/bold': {
|
|
25219
|
+
fontSize: fontSizes.xl,
|
|
25220
|
+
fontWeight: fontWeights.bold,
|
|
25221
|
+
lineHeight: lineHeights[2]
|
|
25222
|
+
},
|
|
25223
|
+
'l/regular': {
|
|
25224
|
+
fontSize: fontSizes.l,
|
|
25225
|
+
fontWeight: fontWeights.regular,
|
|
25226
|
+
lineHeight: lineHeights[2]
|
|
25227
|
+
},
|
|
25228
|
+
'l': {
|
|
25229
|
+
fontSize: fontSizes.l,
|
|
25230
|
+
fontWeight: fontWeights.medium,
|
|
25231
|
+
lineHeight: lineHeights[2]
|
|
25232
|
+
},
|
|
25233
|
+
'l/bold': {
|
|
25234
|
+
fontSize: fontSizes.l,
|
|
25235
|
+
fontWeight: fontWeights.bold,
|
|
25236
|
+
lineHeight: lineHeights[2]
|
|
25237
|
+
},
|
|
25238
|
+
'm/regular': {
|
|
25239
|
+
fontSize: fontSizes.m,
|
|
25240
|
+
fontWeight: fontWeights.regular,
|
|
25241
|
+
lineHeight: lineHeights[2]
|
|
25242
|
+
},
|
|
25243
|
+
'm': {
|
|
25244
|
+
fontSize: fontSizes.m,
|
|
25245
|
+
fontWeight: fontWeights.medium,
|
|
25246
|
+
lineHeight: lineHeights[2]
|
|
25247
|
+
},
|
|
25248
|
+
'm/bold': {
|
|
25249
|
+
fontSize: fontSizes.m,
|
|
25250
|
+
fontWeight: fontWeights.bold,
|
|
25251
|
+
lineHeight: lineHeights[2]
|
|
25252
|
+
},
|
|
25253
|
+
's/regular': {
|
|
25254
|
+
fontSize: fontSizes.s,
|
|
25255
|
+
fontWeight: fontWeights.regular,
|
|
25256
|
+
lineHeight: lineHeights[2]
|
|
25257
|
+
},
|
|
25258
|
+
's': {
|
|
25259
|
+
fontSize: fontSizes.s,
|
|
25260
|
+
fontWeight: fontWeights.medium,
|
|
25261
|
+
lineHeight: lineHeights[2]
|
|
25262
|
+
},
|
|
25263
|
+
's/bold': {
|
|
25264
|
+
fontSize: fontSizes.s,
|
|
25265
|
+
fontWeight: fontWeights.bold,
|
|
25266
|
+
lineHeight: lineHeights[2]
|
|
25267
|
+
},
|
|
25268
|
+
'xs/regular': {
|
|
25269
|
+
fontSize: fontSizes.xs,
|
|
25270
|
+
fontWeight: fontWeights.regular,
|
|
25271
|
+
lineHeight: lineHeights[2]
|
|
25272
|
+
},
|
|
25273
|
+
'xs': {
|
|
25274
|
+
fontSize: fontSizes.xs,
|
|
25275
|
+
fontWeight: fontWeights.medium,
|
|
25276
|
+
lineHeight: lineHeights[2]
|
|
25277
|
+
},
|
|
25278
|
+
'xs/bold': {
|
|
25279
|
+
fontSize: fontSizes.xs,
|
|
25280
|
+
fontWeight: fontWeights.bold,
|
|
25281
|
+
lineHeight: lineHeights[2]
|
|
25282
|
+
},
|
|
25283
|
+
'xxs/regular': {
|
|
25284
|
+
fontSize: fontSizes.xxs,
|
|
25285
|
+
fontWeight: fontWeights.regular,
|
|
25286
|
+
lineHeight: lineHeights[2]
|
|
25287
|
+
},
|
|
25288
|
+
'xxs': {
|
|
25289
|
+
fontSize: fontSizes.xxs,
|
|
25290
|
+
fontWeight: fontWeights.medium,
|
|
25291
|
+
lineHeight: lineHeights[2]
|
|
25292
|
+
},
|
|
25293
|
+
'xxs/bold': {
|
|
25294
|
+
fontSize: fontSizes.xxs,
|
|
25295
|
+
fontWeight: fontWeights.bold,
|
|
25296
|
+
lineHeight: lineHeights[2]
|
|
25297
|
+
}
|
|
25298
|
+
});
|
|
25299
|
+
|
|
25174
25300
|
const theme = {
|
|
25175
25301
|
breakpoints,
|
|
25176
25302
|
space,
|
|
@@ -25179,7 +25305,7 @@ const theme = {
|
|
|
25179
25305
|
lineHeights,
|
|
25180
25306
|
radii,
|
|
25181
25307
|
colors: {
|
|
25182
|
-
...color
|
|
25308
|
+
...color,
|
|
25183
25309
|
...surfaceElevation
|
|
25184
25310
|
},
|
|
25185
25311
|
gradients: gradient,
|