@apia/theme 4.0.43 → 4.0.45

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.
@@ -2156,7 +2156,7 @@ const baseTheme = () => {
2156
2156
  panel: "7px",
2157
2157
  modals: "7px",
2158
2158
  tooltips: "7px",
2159
- chatMessage: "7px",
2159
+ chatMessage: "10px",
2160
2160
  elementBox: "4px"
2161
2161
  },
2162
2162
  shadows: {
@@ -5722,13 +5722,7 @@ const semanticSearch = {
5722
5722
  flexDirection: "column",
5723
5723
  position: "relative"
5724
5724
  },
5725
- ".sem_search__stream_blocks": {
5726
- display: "flex",
5727
- flexDirection: "column",
5728
- gap: 3,
5729
- padding: "16px 24px 0 24px"
5730
- },
5731
- ".sem_search__stream_block": {
5725
+ streamBlock: {
5732
5726
  animation: `${animations.fadeIn} 0.2s`,
5733
5727
  borderRadius: "5px",
5734
5728
  padding: "5px 10px",
@@ -5736,6 +5730,18 @@ const semanticSearch = {
5736
5730
  color: "black",
5737
5731
  listStyle: "disc"
5738
5732
  },
5733
+ streamBlocks: {
5734
+ display: "flex",
5735
+ flexDirection: "column",
5736
+ gap: 3,
5737
+ padding: "16px 24px 0 24px"
5738
+ },
5739
+ ".sem_search__stream_blocks": {
5740
+ variant: "layout.common.ai.semanticSearch.execution.streamBlocks"
5741
+ },
5742
+ ".sem_search__stream_block": {
5743
+ variant: "layout.common.ai.semanticSearch.execution.streamBlock"
5744
+ },
5739
5745
  ".sem_search__thumbs": {
5740
5746
  display: "flex",
5741
5747
  justifyContent: "end",
@@ -5753,9 +5759,9 @@ const semanticSearch = {
5753
5759
  color: "gray"
5754
5760
  }
5755
5761
  },
5762
+ ellipsis: { padding: "0 24px 32px 24px", fontWeight: "bold" },
5756
5763
  ".ellipsis": {
5757
- padding: "0 24px 32px 24px",
5758
- fontWeight: "bold"
5764
+ variant: "layout.common.ai.semanticSearch.execution.ellipsis"
5759
5765
  },
5760
5766
  ".filters__container": {
5761
5767
  " > div": {
@@ -6187,12 +6193,15 @@ const history = {
6187
6193
  display: "flex",
6188
6194
  flexDirection: "column",
6189
6195
  width: "100%",
6190
- gap: 2,
6196
+ gap: 4,
6191
6197
  p: 3,
6192
6198
  ".history_message__content": {
6193
6199
  display: "flex",
6194
6200
  flexDirection: "column",
6195
6201
  gap: "16px",
6202
+ div: {
6203
+ padding: 0
6204
+ },
6196
6205
  h3: {
6197
6206
  fontSize: "20px"
6198
6207
  }
@@ -6200,11 +6209,13 @@ const history = {
6200
6209
  ".history_message": {
6201
6210
  px: 4,
6202
6211
  py: 5,
6212
+ pt: 0,
6203
6213
  maxWidth: "calc(100% - 50px)",
6204
6214
  width: "fit-content",
6205
6215
  wordWrap: "break-word",
6206
6216
  whiteSpace: "pre-wrap",
6207
6217
  borderRadius: "chatMessage",
6218
+ minWidth: "50px",
6208
6219
  "&.last": {
6209
6220
  mb: 4
6210
6221
  },
@@ -6222,8 +6233,6 @@ const history = {
6222
6233
  ".fileCard__content": {
6223
6234
  color: "palette.text.primary"
6224
6235
  },
6225
- boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
6226
- // TODO: Set the correct color, if necessary, define it in palette
6227
6236
  border: "1px solid rgb(113 145 193)",
6228
6237
  // TODO: Set the correct color, if necessary, define it in palette
6229
6238
  alignSelf: "end",
@@ -6239,41 +6248,36 @@ const history = {
6239
6248
  },
6240
6249
  backgroundColor: "#00bcff14",
6241
6250
  // TODO: Set the correct color, if necessary, define it in palette
6242
- boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
6243
- // TODO: Set the correct color, if necessary, define it in palette
6244
6251
  border: "1px solid rgb(0 28 38 / 18%)"
6245
6252
  // TODO: Set the correct color, if necessary, define it in palette
6246
6253
  },
6247
6254
  "&.warning": {
6248
- borderRadius: "2px 20px 20px 20px",
6255
+ borderRadius: "chatMessage",
6256
+ borderTopLeftRadius: "0px",
6249
6257
  alignSelf: "start",
6250
6258
  backgroundColor: "#ffff0024",
6251
6259
  // TODO: Set the correct color, if necessary, define it in palette
6252
6260
  width: "100%",
6253
- boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
6254
- // TODO: Set the correct color, if necessary, define it in palette
6255
6261
  border: "1px solid rgb(0 28 38 / 18%)"
6256
6262
  // TODO: Set the correct color, if necessary, define it in palette
6257
6263
  },
6258
6264
  "&.error": {
6259
- borderRadius: "2px 20px 20px 20px",
6265
+ borderRadius: "chatMessage",
6266
+ borderTopLeftRadius: "0px",
6260
6267
  alignSelf: "start",
6261
6268
  backgroundColor: "#fd84212b",
6262
6269
  // TODO: Set the correct color, if necessary, define it in palette
6263
6270
  width: "100%",
6264
- boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
6265
- // TODO: Set the correct color, if necessary, define it in palette
6266
6271
  border: "1px solid rgb(0 28 38 / 18%)"
6267
6272
  // TODO: Set the correct color, if necessary, define it in palette
6268
6273
  },
6269
6274
  "&.information": {
6270
- borderRadius: "2px 20px 20px 20px",
6275
+ borderRadius: "chatMessage",
6276
+ borderTopLeftRadius: "0px",
6271
6277
  alignSelf: "start",
6272
6278
  backgroundColor: "#00bcff14",
6273
6279
  //'#2222cc2b',
6274
6280
  width: "100%",
6275
- boxShadow: "rgba(50, 50, 93, 0.15) 1px 1px 2px 1px",
6276
- // TODO: Set the correct color, if necessary, define it in palette
6277
6281
  border: "1px solid rgb(0 28 38 / 18%)"
6278
6282
  // TODO: Set the correct color, if necessary, define it in palette
6279
6283
  }
@@ -8312,7 +8316,7 @@ async function getRemarkable(extensions) {
8312
8316
 
8313
8317
  const parseMarkdown = async (options) => {
8314
8318
  const markdownLibrary = await getRemarkable(options.extensions);
8315
- const css = (await import('./styles-Diuey2Pf.js')).markdownParserStyles ?? new ErrorImporting();
8319
+ const css = (await import('./styles-lzrkBfXz.js')).markdownParserStyles ?? new ErrorImporting();
8316
8320
  if (css instanceof ErrorImporting)
8317
8321
  throw new Error("Could not import css, cannot continue");
8318
8322
  const html = options.htmlTemplate ?? (await import('./html-B-K0BIiw.js')).markdownHtml ?? new ErrorImporting();
@@ -8824,4 +8828,4 @@ ${pageBreakTag}`;
8824
8828
  }
8825
8829
 
8826
8830
  export { ApiaThemeProvider as A, MarkdownTableOfContents as B, Form as F, MaterialInput as M, 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 };
8827
- //# sourceMappingURL=index-B2pK-8hw.js.map
8831
+ //# sourceMappingURL=index-Xe8KO81h.js.map