@apia/theme 4.0.60 → 4.0.63
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-DXtlqaS1.js → index-B5IemJX6.js} +139 -20
- package/dist/index-B5IemJX6.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-Kd1kkp6i.js → styles-SJODSvxM.js} +49 -3
- package/dist/styles-SJODSvxM.js.map +1 -0
- package/package.json +3 -3
- package/dist/index-DXtlqaS1.js.map +0 -1
- package/dist/styles-Kd1kkp6i.js.map +0 -1
|
@@ -2006,23 +2006,6 @@ const root = {
|
|
|
2006
2006
|
borderLeftWidth: "4px",
|
|
2007
2007
|
borderLeftColor: "palette.error.main"
|
|
2008
2008
|
},
|
|
2009
|
-
//cambia el estilo del scroll
|
|
2010
|
-
"div::-webkit-scrollbar": {
|
|
2011
|
-
width: "8px",
|
|
2012
|
-
height: "8px!important"
|
|
2013
|
-
},
|
|
2014
|
-
"div::-webkit-scrollbar-track": {
|
|
2015
|
-
background: "#f1f1f1",
|
|
2016
|
-
borderRadius: "7px"
|
|
2017
|
-
},
|
|
2018
|
-
"div::-webkit-scrollbar-thumb": {
|
|
2019
|
-
background: "#888",
|
|
2020
|
-
borderRadius: "7px"
|
|
2021
|
-
},
|
|
2022
|
-
"::-webkit-scrollbar:hover, * ::-webkit-scrollbar:hover": {
|
|
2023
|
-
width: "12px",
|
|
2024
|
-
height: "12px!important"
|
|
2025
|
-
},
|
|
2026
2009
|
h1: {
|
|
2027
2010
|
fontSize: responsive$1({ 0: 26, 3: 32 })
|
|
2028
2011
|
},
|
|
@@ -4852,12 +4835,18 @@ const autocomplete = {
|
|
|
4852
4835
|
border: " 1px solid",
|
|
4853
4836
|
borderColor: "palette.border.field",
|
|
4854
4837
|
p: "2px",
|
|
4838
|
+
borderRadius: "default",
|
|
4855
4839
|
input: {
|
|
4856
4840
|
border: "none",
|
|
4857
4841
|
outline: "none!important",
|
|
4858
4842
|
height: "46px"
|
|
4859
4843
|
}
|
|
4860
4844
|
},
|
|
4845
|
+
".autocomplete__search": {
|
|
4846
|
+
overflow: "hidden",
|
|
4847
|
+
whiteSpace: "nowrap",
|
|
4848
|
+
textOverflow: "ellipsis"
|
|
4849
|
+
},
|
|
4861
4850
|
".autocomplete__search.disabled": {
|
|
4862
4851
|
cursor: "not-allowed",
|
|
4863
4852
|
background: "form.fields.disabled.backgroundColor",
|
|
@@ -4876,6 +4865,7 @@ const autocomplete = {
|
|
|
4876
4865
|
top: "calc(50% - 12px)",
|
|
4877
4866
|
pointerEvents: "none",
|
|
4878
4867
|
pr: 4,
|
|
4868
|
+
maxWidth: "30px",
|
|
4879
4869
|
".autocomplete__loadingSpinner": {
|
|
4880
4870
|
width: "24px",
|
|
4881
4871
|
height: "24px"
|
|
@@ -5061,6 +5051,7 @@ const fileCard = {
|
|
|
5061
5051
|
borderColor: "palette.border.field",
|
|
5062
5052
|
borderRadius: "default",
|
|
5063
5053
|
boxShadow: `0px 1px 1px #c7c7c7`,
|
|
5054
|
+
background: "palette.background.paper",
|
|
5064
5055
|
p: 3,
|
|
5065
5056
|
".fileCard__container": {
|
|
5066
5057
|
display: "flex",
|
|
@@ -6010,6 +6001,72 @@ const switchBase = {
|
|
|
6010
6001
|
}
|
|
6011
6002
|
};
|
|
6012
6003
|
|
|
6004
|
+
const freeDayCard = {
|
|
6005
|
+
"&.fileCard": {
|
|
6006
|
+
display: "flex",
|
|
6007
|
+
alignItems: "center",
|
|
6008
|
+
position: "relative",
|
|
6009
|
+
border: "1px solid",
|
|
6010
|
+
borderColor: "palette.gray.800",
|
|
6011
|
+
height: "50px",
|
|
6012
|
+
// borderRadius: 'default',
|
|
6013
|
+
borderRadius: "7px",
|
|
6014
|
+
boxShadow: "0px 1px 1px #c7c7c7",
|
|
6015
|
+
background: "palette.background.paper",
|
|
6016
|
+
cursor: "pointer",
|
|
6017
|
+
".fileCard__content": {
|
|
6018
|
+
display: "flex",
|
|
6019
|
+
alignItems: "center",
|
|
6020
|
+
p: 3,
|
|
6021
|
+
gap: 3,
|
|
6022
|
+
width: "100%"
|
|
6023
|
+
},
|
|
6024
|
+
button: {
|
|
6025
|
+
boxShadow: "none"
|
|
6026
|
+
}
|
|
6027
|
+
},
|
|
6028
|
+
"&.selected": (theme) => {
|
|
6029
|
+
return {
|
|
6030
|
+
backgroundColor: theme.palette.getColor("transparent", "selected")
|
|
6031
|
+
};
|
|
6032
|
+
},
|
|
6033
|
+
"&.fileList__modal": {
|
|
6034
|
+
// pr: 7,
|
|
6035
|
+
},
|
|
6036
|
+
".file__icon": {
|
|
6037
|
+
flexShrink: 0
|
|
6038
|
+
},
|
|
6039
|
+
".fileCard__name": {
|
|
6040
|
+
whiteSpace: "nowrap",
|
|
6041
|
+
overflow: "hidden",
|
|
6042
|
+
textOverflow: "ellipsis"
|
|
6043
|
+
},
|
|
6044
|
+
".fileCard__additionalButtons": {
|
|
6045
|
+
flexShrink: 0,
|
|
6046
|
+
display: "flex",
|
|
6047
|
+
height: "100%",
|
|
6048
|
+
ml: 3
|
|
6049
|
+
},
|
|
6050
|
+
".fileCard__additionalButtons:hover": {
|
|
6051
|
+
color: "palette.text.primary"
|
|
6052
|
+
},
|
|
6053
|
+
".fileCard__delete, .fileCard__additionalButton": {
|
|
6054
|
+
width: "auto",
|
|
6055
|
+
height: "100%",
|
|
6056
|
+
borderTopLeftRadius: 0,
|
|
6057
|
+
borderBottomLeftRadius: 0,
|
|
6058
|
+
m: 0,
|
|
6059
|
+
flexShrink: 0,
|
|
6060
|
+
px: 3,
|
|
6061
|
+
color: "palette.text.primary",
|
|
6062
|
+
backgroundColor: "palette.background.paper",
|
|
6063
|
+
svg: {
|
|
6064
|
+
width: "20px",
|
|
6065
|
+
height: "20px"
|
|
6066
|
+
}
|
|
6067
|
+
}
|
|
6068
|
+
};
|
|
6069
|
+
|
|
6013
6070
|
const components = {
|
|
6014
6071
|
/* PREPEND HERE */
|
|
6015
6072
|
accordion,
|
|
@@ -6023,6 +6080,7 @@ const components = {
|
|
|
6023
6080
|
infoButton,
|
|
6024
6081
|
filters,
|
|
6025
6082
|
fileCard,
|
|
6083
|
+
freeDayCard,
|
|
6026
6084
|
uploader,
|
|
6027
6085
|
switchCard,
|
|
6028
6086
|
switchBase
|
|
@@ -7368,8 +7426,69 @@ const form = {
|
|
|
7368
7426
|
}
|
|
7369
7427
|
};
|
|
7370
7428
|
|
|
7429
|
+
const switchMultiple = {
|
|
7430
|
+
height: "53px",
|
|
7431
|
+
display: "inline-flex",
|
|
7432
|
+
borderColor: "pallete.border.field",
|
|
7433
|
+
backgroundColor: "#e0e0e0",
|
|
7434
|
+
borderRadius: "default",
|
|
7435
|
+
boxShadow: "none",
|
|
7436
|
+
p: "4px",
|
|
7437
|
+
"&.touched": { borderColor: "pallete.border.field" },
|
|
7438
|
+
".switchButton": (theme) => {
|
|
7439
|
+
const colorState = getOneColorState(
|
|
7440
|
+
"palette.primary.main",
|
|
7441
|
+
"disabled",
|
|
7442
|
+
theme.palette
|
|
7443
|
+
);
|
|
7444
|
+
return {
|
|
7445
|
+
boxShadow: "none",
|
|
7446
|
+
flex: 1,
|
|
7447
|
+
minWidth: 0,
|
|
7448
|
+
borderRadius: "default",
|
|
7449
|
+
textTransform: "none",
|
|
7450
|
+
px: 2,
|
|
7451
|
+
py: 1,
|
|
7452
|
+
backgroundColor: colorState,
|
|
7453
|
+
color: "palette.text.disabled",
|
|
7454
|
+
"&:hover": {
|
|
7455
|
+
backgroundColor: colorState,
|
|
7456
|
+
color: "palette.text.disabled"
|
|
7457
|
+
},
|
|
7458
|
+
"&:hover:not(.active)": {
|
|
7459
|
+
backgroundColor: colorState,
|
|
7460
|
+
color: "palette.text.disabled"
|
|
7461
|
+
},
|
|
7462
|
+
"&.active": {
|
|
7463
|
+
backgroundColor: "palette.primary.main",
|
|
7464
|
+
color: "palette.primary.contrastText",
|
|
7465
|
+
"&:hover": {
|
|
7466
|
+
backgroundColor: "palette.primary.main",
|
|
7467
|
+
color: "palette.text.secondary"
|
|
7468
|
+
}
|
|
7469
|
+
},
|
|
7470
|
+
"&.first": {
|
|
7471
|
+
borderTopRightRadius: "0px",
|
|
7472
|
+
borderBottomRightRadius: "0px"
|
|
7473
|
+
},
|
|
7474
|
+
"&.last": { borderTopLeftRadius: "0px", borderBottomLeftRadius: "0px" },
|
|
7475
|
+
"&.middle": {
|
|
7476
|
+
borderTopLeftRadius: "0px",
|
|
7477
|
+
borderBottomLeftRadius: "0px",
|
|
7478
|
+
borderTopRightRadius: "0px",
|
|
7479
|
+
borderBottomRightRadius: "0px"
|
|
7480
|
+
}
|
|
7481
|
+
};
|
|
7482
|
+
}
|
|
7483
|
+
};
|
|
7484
|
+
|
|
7485
|
+
const fields = {
|
|
7486
|
+
switchMultiple
|
|
7487
|
+
};
|
|
7488
|
+
|
|
7371
7489
|
const validations = {
|
|
7372
|
-
form
|
|
7490
|
+
form,
|
|
7491
|
+
fields
|
|
7373
7492
|
};
|
|
7374
7493
|
|
|
7375
7494
|
const oneColumnAside = {
|
|
@@ -9005,7 +9124,7 @@ async function getRemarkable(extensions) {
|
|
|
9005
9124
|
|
|
9006
9125
|
const parseMarkdown = async (options) => {
|
|
9007
9126
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
9008
|
-
const css = (await import('./styles-
|
|
9127
|
+
const css = (await import('./styles-SJODSvxM.js')).markdownParserStyles ?? new ErrorImporting();
|
|
9009
9128
|
if (css instanceof ErrorImporting)
|
|
9010
9129
|
throw new Error("Could not import css, cannot continue");
|
|
9011
9130
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -9517,4 +9636,4 @@ ${pageBreakTag}`;
|
|
|
9517
9636
|
}
|
|
9518
9637
|
|
|
9519
9638
|
export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput as M, Switch$1 as S, Table as T, getColorStates as a, getColorsAndStatesByDefinition as b, getColorsAndStatesByPath as c, getColorsByDefinition as d, getColorsByPath as e, getOneColorState as f, getColorState as g, applyStatesGetColor as h, makeStyledComponent as i, injectStyles as j, getSpacingLayouts as k, spacing as l, markdownExtensions as m, smallButton as n, focusOutline as o, parsePalette as p, getVariant as q, responsive$1 as r, spacingLayouts as s, MarkdownBlock as t, useMainTheme as u, MarkdownBuilder as v, parseMarkdown as w, MarkdownList as x, MarkdownParagraph as y, MarkdownTable as z };
|
|
9520
|
-
//# sourceMappingURL=index-
|
|
9639
|
+
//# sourceMappingURL=index-B5IemJX6.js.map
|