@apia/theme 3.0.9 → 3.0.11
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-BNr0t6tQ.js → index-B8vI1LSQ.js} +74 -31
- package/dist/index-B8vI1LSQ.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/{styles-BjQDjVkI.js → styles-CmQhZbPb.js} +2 -2
- package/dist/{styles-BjQDjVkI.js.map → styles-CmQhZbPb.js.map} +1 -1
- package/package.json +3 -3
- package/dist/index-BNr0t6tQ.js.map +0 -1
|
@@ -2066,7 +2066,7 @@ const baseTheme = () => {
|
|
|
2066
2066
|
modals: "rgba(0, 0, 0, 0.16) 0px 1px 4px;",
|
|
2067
2067
|
tabs: "",
|
|
2068
2068
|
panel: "rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px",
|
|
2069
|
-
tableFilters: "
|
|
2069
|
+
tableFilters: "1px 2px 3px rgba(0,0,0,0.2)",
|
|
2070
2070
|
toolbar: "3px 3px 3px rgba(0,0,0,0.1)",
|
|
2071
2071
|
desktop: {
|
|
2072
2072
|
windowElement: "rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px"
|
|
@@ -2366,7 +2366,10 @@ const select = {
|
|
|
2366
2366
|
hover: false,
|
|
2367
2367
|
focus: false
|
|
2368
2368
|
}
|
|
2369
|
-
})
|
|
2369
|
+
}),
|
|
2370
|
+
"&[multiple] ~ svg": {
|
|
2371
|
+
display: "none"
|
|
2372
|
+
}
|
|
2370
2373
|
};
|
|
2371
2374
|
var select$1 = select;
|
|
2372
2375
|
|
|
@@ -2534,16 +2537,37 @@ const overlay = {
|
|
|
2534
2537
|
};
|
|
2535
2538
|
|
|
2536
2539
|
const apiaApi = {
|
|
2540
|
+
margin: "auto",
|
|
2537
2541
|
display: "flex",
|
|
2542
|
+
flexDirection: "column",
|
|
2543
|
+
wordBreak: "break-word",
|
|
2544
|
+
overflow: "hidden",
|
|
2538
2545
|
width: "100%",
|
|
2546
|
+
".modal__content": {
|
|
2547
|
+
overflow: "hidden",
|
|
2548
|
+
"& > div": {
|
|
2549
|
+
display: "flex",
|
|
2550
|
+
flexShrink: 1,
|
|
2551
|
+
flexDirection: "column"
|
|
2552
|
+
}
|
|
2553
|
+
},
|
|
2539
2554
|
".handler__form": {
|
|
2540
2555
|
display: "flex",
|
|
2541
2556
|
flexDirection: "column",
|
|
2542
|
-
|
|
2543
|
-
gap: spacing(6),
|
|
2557
|
+
overflow: "hidden",
|
|
2558
|
+
gap: spacing$1(6),
|
|
2559
|
+
".toggleAccordionElement": {
|
|
2560
|
+
position: "sticky",
|
|
2561
|
+
top: 0
|
|
2562
|
+
},
|
|
2544
2563
|
".handler__form__elements": {
|
|
2545
|
-
|
|
2546
|
-
|
|
2564
|
+
display: "flex",
|
|
2565
|
+
flexDirection: "column",
|
|
2566
|
+
alignItems: "stretch",
|
|
2567
|
+
overflowY: "auto",
|
|
2568
|
+
maxHeight: "60vh",
|
|
2569
|
+
gap: spacing$1(3),
|
|
2570
|
+
pr: spacing$1(3)
|
|
2547
2571
|
},
|
|
2548
2572
|
".handler__form__elements__section__content": {
|
|
2549
2573
|
display: "flex",
|
|
@@ -2551,28 +2575,21 @@ const apiaApi = {
|
|
|
2551
2575
|
wordBreak: "break-word",
|
|
2552
2576
|
background: "palette.background.paper",
|
|
2553
2577
|
p: 0,
|
|
2554
|
-
gap: spacing(3)
|
|
2578
|
+
gap: spacing$1(3)
|
|
2555
2579
|
},
|
|
2556
2580
|
".content .handler__form__elements__section__content": {
|
|
2557
2581
|
border: "1px solid",
|
|
2558
2582
|
borderColor: "palette.border.section",
|
|
2559
2583
|
borderTop: "none",
|
|
2560
|
-
p: spacing(6)
|
|
2584
|
+
p: spacing$1(6)
|
|
2561
2585
|
},
|
|
2562
2586
|
".handler__form__buttons": {
|
|
2563
2587
|
display: "flex",
|
|
2564
2588
|
flexDirection: "row",
|
|
2565
|
-
justifyContent: "
|
|
2589
|
+
justifyContent: "right",
|
|
2566
2590
|
p: 0,
|
|
2567
2591
|
gap: "0px",
|
|
2568
|
-
|
|
2569
|
-
bottom: "-19px",
|
|
2570
|
-
background: "palette.background.paper",
|
|
2571
|
-
height: "80px",
|
|
2572
|
-
alignItems: "center",
|
|
2573
|
-
button: {
|
|
2574
|
-
height: "50px"
|
|
2575
|
-
}
|
|
2592
|
+
textAlign: "center"
|
|
2576
2593
|
},
|
|
2577
2594
|
".radio": {
|
|
2578
2595
|
display: "flex",
|
|
@@ -2590,7 +2607,7 @@ const apiaApi = {
|
|
|
2590
2607
|
flexDirection: "row-reverse",
|
|
2591
2608
|
alignItems: "center",
|
|
2592
2609
|
justifyContent: "start",
|
|
2593
|
-
gap: spacing(4),
|
|
2610
|
+
gap: spacing$1(4),
|
|
2594
2611
|
".semicolon": {
|
|
2595
2612
|
display: "none"
|
|
2596
2613
|
},
|
|
@@ -2605,12 +2622,12 @@ const apiaApi = {
|
|
|
2605
2622
|
width: "100%"
|
|
2606
2623
|
},
|
|
2607
2624
|
".spacer": {
|
|
2608
|
-
height: spacing(7)
|
|
2625
|
+
height: spacing$1(7)
|
|
2609
2626
|
}
|
|
2610
2627
|
},
|
|
2611
2628
|
".progressBox": {
|
|
2612
|
-
p: spacing(5),
|
|
2613
|
-
pt: spacing(0)
|
|
2629
|
+
p: spacing$1(5),
|
|
2630
|
+
pt: spacing$1(0)
|
|
2614
2631
|
}
|
|
2615
2632
|
/* PREPEND HERE */
|
|
2616
2633
|
};
|
|
@@ -2866,6 +2883,15 @@ const modals = {
|
|
|
2866
2883
|
}
|
|
2867
2884
|
}
|
|
2868
2885
|
}
|
|
2886
|
+
},
|
|
2887
|
+
".responsiveTableContext__wrapper": {
|
|
2888
|
+
overflow: "hidden",
|
|
2889
|
+
display: "flex",
|
|
2890
|
+
flexDirection: "column",
|
|
2891
|
+
height: "100%",
|
|
2892
|
+
".responsiveTable__wrapper": {
|
|
2893
|
+
height: "100%"
|
|
2894
|
+
}
|
|
2869
2895
|
}
|
|
2870
2896
|
},
|
|
2871
2897
|
sm: {
|
|
@@ -3107,12 +3133,6 @@ const primary$6 = (theme) => {
|
|
|
3107
3133
|
"&.hidden": {
|
|
3108
3134
|
display: "none"
|
|
3109
3135
|
},
|
|
3110
|
-
"&.locked": {
|
|
3111
|
-
background: "palette.gray.900",
|
|
3112
|
-
td: {
|
|
3113
|
-
borderColor: "palette.gray.850"
|
|
3114
|
-
}
|
|
3115
|
-
},
|
|
3116
3136
|
...getSelectedColors(theme.palette),
|
|
3117
3137
|
"&.draggingRow": {
|
|
3118
3138
|
outline: "3px dotted",
|
|
@@ -3136,7 +3156,9 @@ const primary$6 = (theme) => {
|
|
|
3136
3156
|
td: {
|
|
3137
3157
|
verticalAlign: "top",
|
|
3138
3158
|
wordBreak: "break-word",
|
|
3139
|
-
border: "
|
|
3159
|
+
border: "none",
|
|
3160
|
+
borderBottom: "1px solid",
|
|
3161
|
+
background: "transparent",
|
|
3140
3162
|
borderColor: "components.primaryTable.body.borderColor",
|
|
3141
3163
|
"&.stickyColumn": {
|
|
3142
3164
|
position: "sticky",
|
|
@@ -3150,6 +3172,21 @@ const primary$6 = (theme) => {
|
|
|
3150
3172
|
border: "none",
|
|
3151
3173
|
background: "transparent"
|
|
3152
3174
|
}
|
|
3175
|
+
},
|
|
3176
|
+
"&.locked": {
|
|
3177
|
+
...theme.palette.getOneState(
|
|
3178
|
+
{ backgroundColor: "palette.background.paper" },
|
|
3179
|
+
"disabled"
|
|
3180
|
+
),
|
|
3181
|
+
"&:hover": {
|
|
3182
|
+
...theme.palette.getOneState(
|
|
3183
|
+
{ backgroundColor: "palette.background.paper" },
|
|
3184
|
+
"disabled"
|
|
3185
|
+
)
|
|
3186
|
+
},
|
|
3187
|
+
td: {
|
|
3188
|
+
borderColor: "palette.gray.850"
|
|
3189
|
+
}
|
|
3153
3190
|
}
|
|
3154
3191
|
},
|
|
3155
3192
|
td: {
|
|
@@ -3863,6 +3900,7 @@ var primary$5 = primary$4;
|
|
|
3863
3900
|
const mobx = (theme) => {
|
|
3864
3901
|
return {
|
|
3865
3902
|
variant: "layout.common.trees.primary",
|
|
3903
|
+
overflow: "auto",
|
|
3866
3904
|
'[role="treeitem"]': {
|
|
3867
3905
|
'&[aria-expanded="false"] ul': {
|
|
3868
3906
|
display: "none"
|
|
@@ -4520,10 +4558,15 @@ const collector = {
|
|
|
4520
4558
|
formContainer: {
|
|
4521
4559
|
display: "flex",
|
|
4522
4560
|
flexDirection: "column",
|
|
4561
|
+
flexShrink: "1 !important",
|
|
4523
4562
|
minWidth: "min(400px, calc(100vw - 52px))",
|
|
4524
4563
|
overflow: "hidden",
|
|
4564
|
+
pr: 2,
|
|
4525
4565
|
".collector__fields": {
|
|
4526
|
-
overflow: "auto"
|
|
4566
|
+
overflow: "auto",
|
|
4567
|
+
gap: "8px",
|
|
4568
|
+
display: "flex",
|
|
4569
|
+
flexDirection: "column"
|
|
4527
4570
|
},
|
|
4528
4571
|
".collector__buttons": {
|
|
4529
4572
|
display: "flex",
|
|
@@ -5265,7 +5308,7 @@ async function getRemarkable(extensions) {
|
|
|
5265
5308
|
|
|
5266
5309
|
const parseMarkdown = async (options) => {
|
|
5267
5310
|
const markdownLibrary = await getRemarkable(options.extensions);
|
|
5268
|
-
const css = (await import('./styles-
|
|
5311
|
+
const css = (await import('./styles-CmQhZbPb.js')).markdownParserStyles ?? new ErrorImporting();
|
|
5269
5312
|
if (css instanceof ErrorImporting)
|
|
5270
5313
|
throw new Error("Could not import css, cannot continue");
|
|
5271
5314
|
const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
|
|
@@ -5723,4 +5766,4 @@ class MarkdownBuilder {
|
|
|
5723
5766
|
}
|
|
5724
5767
|
|
|
5725
5768
|
export { ApiaThemeProvider as A, MarkdownBlock as M, 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, MarkdownBuilder as t, useMainTheme as u, parseMarkdown as v, MarkdownList as w, MarkdownParagraph as x, MarkdownTable as y, MarkdownTableOfContents as z };
|
|
5726
|
-
//# sourceMappingURL=index-
|
|
5769
|
+
//# sourceMappingURL=index-B8vI1LSQ.js.map
|