@digital-ai/dot-components 3.2.1 → 3.2.2
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/index.esm.js +13 -28
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -8293,6 +8293,7 @@ const StyledRadioGroupWrapper = styled.div`
|
|
|
8293
8293
|
}
|
|
8294
8294
|
|
|
8295
8295
|
.MuiFormLabel-root {
|
|
8296
|
+
color: ${theme.palette.figma.typography.black};
|
|
8296
8297
|
display: inline;
|
|
8297
8298
|
width: 100%;
|
|
8298
8299
|
}
|
|
@@ -10227,14 +10228,16 @@ const StyledPill = styled(Chip)`
|
|
|
10227
10228
|
}) => css`
|
|
10228
10229
|
&.${rootClassName$n} {
|
|
10229
10230
|
background-color: ${({
|
|
10230
|
-
backgroundcolor
|
|
10231
|
+
backgroundcolor,
|
|
10232
|
+
variant
|
|
10231
10233
|
}) => {
|
|
10232
|
-
|
|
10234
|
+
const defaultBackground = variant === 'filled' ? theme.palette.grey[200] : theme.palette.grey[50];
|
|
10235
|
+
return backgroundcolor !== null && backgroundcolor !== void 0 ? backgroundcolor : defaultBackground;
|
|
10233
10236
|
}};
|
|
10234
10237
|
border-color: ${({
|
|
10235
10238
|
bordercolor
|
|
10236
10239
|
}) => {
|
|
10237
|
-
return bordercolor ? bordercolor : theme.palette.
|
|
10240
|
+
return bordercolor ? bordercolor : theme.palette.grey[200];
|
|
10238
10241
|
}};
|
|
10239
10242
|
color: ${({
|
|
10240
10243
|
labelcolor
|
|
@@ -10245,7 +10248,7 @@ const StyledPill = styled(Chip)`
|
|
|
10245
10248
|
color: ${({
|
|
10246
10249
|
labelcolor
|
|
10247
10250
|
}) => {
|
|
10248
|
-
return labelcolor ? labelcolor : theme.palette.
|
|
10251
|
+
return labelcolor ? labelcolor : theme.palette.grey.main;
|
|
10249
10252
|
}};
|
|
10250
10253
|
margin: ${theme.spacing(0, -0.5, 0, 1)};
|
|
10251
10254
|
}
|
|
@@ -10264,18 +10267,9 @@ const StyledPill = styled(Chip)`
|
|
|
10264
10267
|
}
|
|
10265
10268
|
}
|
|
10266
10269
|
|
|
10267
|
-
&.default {
|
|
10268
|
-
background-color: ${theme.palette.grey[50]};
|
|
10269
|
-
border-color: ${theme.palette.grey[200]};
|
|
10270
|
-
color: ${theme.palette.layer.n700};
|
|
10271
|
-
.dot-icon {
|
|
10272
|
-
color: ${theme.palette.grey.main};
|
|
10273
|
-
}
|
|
10274
|
-
}
|
|
10275
|
-
|
|
10276
10270
|
&.success {
|
|
10277
|
-
background-color: ${theme.palette.success
|
|
10278
|
-
border-color: ${theme.palette.success.
|
|
10271
|
+
background-color: ${theme.palette.figma.success.light};
|
|
10272
|
+
border-color: ${theme.palette.figma.success.normal};
|
|
10279
10273
|
color: ${theme.palette.layer.n700};
|
|
10280
10274
|
.dot-icon {
|
|
10281
10275
|
color: ${theme.palette.success.main};
|
|
@@ -10283,8 +10277,8 @@ const StyledPill = styled(Chip)`
|
|
|
10283
10277
|
}
|
|
10284
10278
|
|
|
10285
10279
|
&.warning {
|
|
10286
|
-
background-color: ${theme.palette.warning
|
|
10287
|
-
border-color: ${theme.palette.warning.
|
|
10280
|
+
background-color: ${theme.palette.figma.warning.light};
|
|
10281
|
+
border-color: ${theme.palette.figma.warning.normal};
|
|
10288
10282
|
color: ${theme.palette.layer.n700};
|
|
10289
10283
|
.dot-icon {
|
|
10290
10284
|
color: ${theme.palette.warning.main};
|
|
@@ -10292,8 +10286,8 @@ const StyledPill = styled(Chip)`
|
|
|
10292
10286
|
}
|
|
10293
10287
|
|
|
10294
10288
|
&.in-progress {
|
|
10295
|
-
background-color: ${theme.palette.primary
|
|
10296
|
-
border-color: ${theme.palette.primary.
|
|
10289
|
+
background-color: ${theme.palette.figma.primary.light};
|
|
10290
|
+
border-color: ${theme.palette.figma.primary.normal};
|
|
10297
10291
|
color: ${theme.palette.layer.n700};
|
|
10298
10292
|
.dot-icon {
|
|
10299
10293
|
color: ${theme.palette.primary.main};
|
|
@@ -10302,15 +10296,6 @@ const StyledPill = styled(Chip)`
|
|
|
10302
10296
|
}
|
|
10303
10297
|
|
|
10304
10298
|
&.MuiChip-filled {
|
|
10305
|
-
&.default {
|
|
10306
|
-
background-color: ${theme.palette.grey[200]};
|
|
10307
|
-
border-color: ${theme.palette.grey[200]};
|
|
10308
|
-
color: ${theme.palette.layer.n700};
|
|
10309
|
-
.dot-icon {
|
|
10310
|
-
color: ${theme.palette.grey.main};
|
|
10311
|
-
}
|
|
10312
|
-
}
|
|
10313
|
-
|
|
10314
10299
|
&.error {
|
|
10315
10300
|
background-color: ${theme.palette.error.main};
|
|
10316
10301
|
border-color: ${theme.palette.error.main};
|