xmlui 0.4.2-beta.1 → 0.4.3

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.
Files changed (67) hide show
  1. package/dist/{Pdf-DY3dYAig.mjs → Pdf-DTuZ_aBK.mjs} +1 -1
  2. package/dist/{Pdf-DYj6pOR4.mjs → Pdf-GNhynVZK.mjs} +1 -1
  3. package/dist/{apiInterceptorWorker-CSMfMHnG.mjs → apiInterceptorWorker-BsYA33M3.mjs} +1 -1
  4. package/dist/{apiInterceptorWorker-B_8SyVm7.mjs → apiInterceptorWorker-jZ0ZDQqP.mjs} +1 -1
  5. package/dist/{grammar.tmLanguage-Bgs-wS_O.mjs → grammar.tmLanguage-7HXwRarI.mjs} +39 -55
  6. package/dist/{index-DFmApFOY.mjs → index-CsOjUQnK.mjs} +8384 -7979
  7. package/dist/{index-standalone-UVkKZMvh.mjs → index-standalone-Cn89JdlG.mjs} +26315 -25887
  8. package/dist/index-standalone.css +1 -1
  9. package/dist/index.css +1 -1
  10. package/dist/{nivo-bar.es-tnCyX0Yr.mjs → nivo-bar.es-Bxk3Dn8A.mjs} +2 -2
  11. package/dist/{nivo-geo.es-BQ3VnkfD.mjs → nivo-geo.es-CpGxXa45.mjs} +2 -2
  12. package/dist/{nivo-legends.es-D-P_F-6G.mjs → nivo-legends.es-Dx4X21-T.mjs} +1 -1
  13. package/dist/{nivo-pie.es-Z4Ty7kQd.mjs → nivo-pie.es-BQqtQwEz.mjs} +2 -2
  14. package/dist/{react-apexcharts.min-DgtmaDk9.mjs → react-apexcharts.min-CDn4NFvp.mjs} +1 -1
  15. package/dist/scripts/docs/syntax/grammar.tmLanguage.json +29 -76
  16. package/dist/scripts/docs/syntax/textMate/xmlui.json +8 -0
  17. package/dist/scripts/xmlui/src/components/Accordion/Accordion.js +57 -0
  18. package/dist/scripts/xmlui/src/components/Alert/Alert.js +31 -0
  19. package/dist/scripts/xmlui/src/components/App/App.js +24 -19
  20. package/dist/scripts/xmlui/src/components/AppHeader/AppHeader.js +1 -3
  21. package/dist/scripts/xmlui/src/components/Badge/Badge.js +1 -1
  22. package/dist/scripts/xmlui/src/components/Bookmark/Bookmark.js +22 -2
  23. package/dist/scripts/xmlui/src/components/Button/Button.js +1 -1
  24. package/dist/scripts/xmlui/src/components/Card/Card.js +1 -1
  25. package/dist/scripts/xmlui/src/components/ComponentProvider.js +11 -2
  26. package/dist/scripts/xmlui/src/components/DatePicker/DatePicker.js +1 -1
  27. package/dist/scripts/xmlui/src/components/Footer/Footer.js +2 -2
  28. package/dist/scripts/xmlui/src/components/FormItem/FormItem.js +1 -1
  29. package/dist/scripts/xmlui/src/components/FormSection/FormSection.js +1 -1
  30. package/dist/scripts/xmlui/src/components/Heading/Heading.js +27 -2
  31. package/dist/scripts/xmlui/src/components/IconInfoCard/IconInfoCard.js +1 -1
  32. package/dist/scripts/xmlui/src/components/ModalDialog/ModalDialog.js +8 -5
  33. package/dist/scripts/xmlui/src/components/MultiSelect/MultiSelect.js +3 -3
  34. package/dist/scripts/xmlui/src/components/NavPanel/NavPanel.js +4 -0
  35. package/dist/scripts/xmlui/src/components/OffCanvas/OffCanvas.js +34 -0
  36. package/dist/scripts/xmlui/src/components/PageHeader/PageHeader.js +1 -1
  37. package/dist/scripts/xmlui/src/components/Pages/Pages.js +2 -1
  38. package/dist/scripts/xmlui/src/components/RadioGroup/RadioGroup.js +2 -1
  39. package/dist/scripts/xmlui/src/components/Select/Select.js +6 -3
  40. package/dist/scripts/xmlui/src/components/Spinner/Spinner.js +5 -1
  41. package/dist/scripts/xmlui/src/components/StickyBox/StickyBox.js +1 -1
  42. package/dist/scripts/xmlui/src/components/Table/Table.js +29 -10
  43. package/dist/scripts/xmlui/src/components/TableOfContents/TableOfContents.js +93 -0
  44. package/dist/scripts/xmlui/src/components/Toolbar/Toolbar.js +1 -1
  45. package/dist/scripts/xmlui/src/components/ToolbarButton/ToolbarButton.js +2 -2
  46. package/dist/scripts/xmlui/src/components-core/Component.js +13 -9
  47. package/dist/scripts/xmlui/src/components-core/CompoundComponent.js +19 -21
  48. package/dist/scripts/xmlui/src/components-core/RootComponent.js +74 -11
  49. package/dist/scripts/xmlui/src/components-core/{ChildrenSlot.js → Slot.js} +3 -3
  50. package/dist/scripts/xmlui/src/components-core/TableOfContentsContext.js +77 -0
  51. package/dist/scripts/xmlui/src/components-core/container/Container.js +16 -16
  52. package/dist/scripts/xmlui/src/components-core/theming/themes/root.js +5 -2
  53. package/dist/scripts/xmlui/src/components-core/theming/themes/theme-colors.js +336 -336
  54. package/dist/scripts/xmlui/src/components-core/theming/themes/xmlui.js +20 -2
  55. package/dist/scripts/xmlui/src/components-core/utils/misc.js +7 -28
  56. package/dist/scripts/xmlui/src/parsers/style-parser/style-compiler.js +169 -142
  57. package/dist/scripts/xmlui/src/parsers/xmlui-parser/ParserError.js +1 -0
  58. package/dist/scripts/xmlui/src/parsers/xmlui-parser/diagnostics.js +1 -1
  59. package/dist/scripts/xmlui/src/parsers/xmlui-parser/parser.js +24 -27
  60. package/dist/scripts/xmlui/src/parsers/xmlui-parser/transform.js +56 -41
  61. package/dist/{xmlui-C8fXVsN3.mjs → xmlui-BYWyXi2x.mjs} +8 -0
  62. package/dist/xmlui-standalone.es.js +1 -1
  63. package/dist/xmlui-standalone.umd.js +105 -106
  64. package/dist/xmlui.es.d.ts +25 -10
  65. package/dist/xmlui.es.js +1 -1
  66. package/dist/xmlui.umd.js +99 -100
  67. package/package.json +7 -2
@@ -1,5 +1,5 @@
1
- import { C as Pt, k as C, A as x, D as li, E as on, F as ui, G as si, H as ci } from "./index-standalone-UVkKZMvh.mjs";
2
- import { B as di, C as $t, D as lr, E as ln, F as An, G as fi, L as ur, Q as hi, R as gi, T as On, Y as Pe, Z as jt, _ as Mt, $ as _t, a0 as yi, a1 as sr, a2 as mi, a3 as vi, a4 as cr, a5 as bi, a6 as xi, a7 as pi, a8 as ki, a9 as dr, aa as fr, ab as hr, ac as It, ad as Ti, ae as Mi, af as gr, ag as un, ah as sn, ai as yr, aj as Bt, ak as Si, al as mr, am as Ci, an as vr, ao as cn, ap as wi, aq as $i, ar as Wi, as as dn, at as Ln, au as Fn, av as Ai, aw as Oi, ax as Li, ay as Fi, az as ji, aA as _i, aB as Ei, aC as Pi, aD as Ii, aE as Bi, aF as Di, aG as Ui, aH as Vi, aI as Yi, aJ as Ri, aK as Hi, aL as zi, z as Oe, l as le, aM as Xi, U as vt, u as Dt, aN as Wt, r as Gi, K as en, aO as Ni, aP as At, aQ as fn, aR as br, aS as Ki, aT as qi, aU as Ji, aV as xr, aW as Qi, aX as hn, aY as Zi, aZ as ea, a_ as ta, a$ as na, b0 as ra, b1 as ia, b2 as pr, b3 as aa, b4 as oa, J as la, b5 as ua, b6 as sa, N as ca, x as kr, k as jn, w as da, S as Tr, I as Mr, o as Sr, q as fa, b7 as ha, v as ga, O as Cr, H as ya, A as Xt, y as ma, W as Gt, n as va, X as _n, b8 as ba, b9 as xa } from "./nivo-legends.es-D-P_F-6G.mjs";
1
+ import { C as Pt, k as C, A as x, D as li, E as on, F as ui, G as si, H as ci } from "./index-standalone-Cn89JdlG.mjs";
2
+ import { B as di, C as $t, D as lr, E as ln, F as An, G as fi, L as ur, Q as hi, R as gi, T as On, Y as Pe, Z as jt, _ as Mt, $ as _t, a0 as yi, a1 as sr, a2 as mi, a3 as vi, a4 as cr, a5 as bi, a6 as xi, a7 as pi, a8 as ki, a9 as dr, aa as fr, ab as hr, ac as It, ad as Ti, ae as Mi, af as gr, ag as un, ah as sn, ai as yr, aj as Bt, ak as Si, al as mr, am as Ci, an as vr, ao as cn, ap as wi, aq as $i, ar as Wi, as as dn, at as Ln, au as Fn, av as Ai, aw as Oi, ax as Li, ay as Fi, az as ji, aA as _i, aB as Ei, aC as Pi, aD as Ii, aE as Bi, aF as Di, aG as Ui, aH as Vi, aI as Yi, aJ as Ri, aK as Hi, aL as zi, z as Oe, l as le, aM as Xi, U as vt, u as Dt, aN as Wt, r as Gi, K as en, aO as Ni, aP as At, aQ as fn, aR as br, aS as Ki, aT as qi, aU as Ji, aV as xr, aW as Qi, aX as hn, aY as Zi, aZ as ea, a_ as ta, a$ as na, b0 as ra, b1 as ia, b2 as pr, b3 as aa, b4 as oa, J as la, b5 as ua, b6 as sa, N as ca, x as kr, k as jn, w as da, S as Tr, I as Mr, o as Sr, q as fa, b7 as ha, v as ga, O as Cr, H as ya, A as Xt, y as ma, W as Gt, n as va, X as _n, b8 as ba, b9 as xa } from "./nivo-legends.es-Dx4X21-T.mjs";
3
3
  import { c as Lt, a as pa } from "./array-USo-Szhp.mjs";
4
4
  function ka(e, t, n) {
5
5
  e = +e, t = +t, n = (r = arguments.length) < 2 ? (t = e, e = 0, 1) : r < 3 ? 1 : +n;
@@ -1,5 +1,5 @@
1
- import { k as q, A as $, l as S } from "./index-standalone-UVkKZMvh.mjs";
2
- import { z as ot, X as $i, ba as pt, bb as ht, L as zi, bc as Bi, bd as Di, w as Xi, be as Yi, bf as Hi, o as Nt, x as Gt, v as Ze, bg as bt, I as At, q as Zi, y as Ki, H as Ji, A as Ke } from "./nivo-legends.es-D-P_F-6G.mjs";
1
+ import { k as q, A as $, l as S } from "./index-standalone-Cn89JdlG.mjs";
2
+ import { z as ot, X as $i, ba as pt, bb as ht, L as zi, bc as Bi, bd as Di, w as Xi, be as Yi, bf as Hi, o as Nt, x as Gt, v as Ze, bg as bt, I as At, q as Zi, y as Ki, H as Ji, A as Ke } from "./nivo-legends.es-Dx4X21-T.mjs";
3
3
  function ut() {
4
4
  return new wt();
5
5
  }
@@ -1,4 +1,4 @@
1
- import { k as x, I as zc, A as S, C as Ce, D as mt, J as Pe, F as Wc, E as Je, K as Bc, H as Hc, G as Ra, L as Vc, l as h, M as Ia } from "./index-standalone-UVkKZMvh.mjs";
1
+ import { k as x, I as zc, A as S, C as Ce, D as mt, J as Pe, F as Wc, E as Je, K as Bc, H as Hc, G as Ra, L as Vc, l as h, M as Ia } from "./index-standalone-Cn89JdlG.mjs";
2
2
  var Ea = Jt(), L = (e) => Zt(e, Ea), ja = Jt();
3
3
  L.write = (e) => Zt(e, ja);
4
4
  var Dn = Jt();
@@ -1,5 +1,5 @@
1
- import { k, A as w } from "./index-standalone-UVkKZMvh.mjs";
2
- import { h as jn, e as Z, t as vn, c as Re, s as ie, m as Cn, a as En, b as Pn, p as Wn, d as nt, f as Ce, g as H, i as tt, j as rt, W as $e, z as ve, X as he, N as pn, r as it, J as Ie, U as $n, u as wn, K as ge, V as at, k as Ve, P as ot, l as Oe, M as st, w as ut, O as lt, n as dt, S as Dn, I as Vn, o as Bn, q as ct, v as ft, H as gt, x as Fn, y as ht, A as vt } from "./nivo-legends.es-D-P_F-6G.mjs";
1
+ import { k, A as w } from "./index-standalone-Cn89JdlG.mjs";
2
+ import { h as jn, e as Z, t as vn, c as Re, s as ie, m as Cn, a as En, b as Pn, p as Wn, d as nt, f as Ce, g as H, i as tt, j as rt, W as $e, z as ve, X as he, N as pn, r as it, J as Ie, U as $n, u as wn, K as ge, V as at, k as Ve, P as ot, l as Oe, M as st, w as ut, O as lt, n as dt, S as Dn, I as Vn, o as Bn, q as ct, v as ft, H as gt, x as Fn, y as ht, A as vt } from "./nivo-legends.es-Dx4X21-T.mjs";
3
3
  import { c as _, a as Gn } from "./array-USo-Szhp.mjs";
4
4
  const In = Math.PI, On = 2 * In, ye = 1e-6, pt = On - ye;
5
5
  function Hn(e) {
@@ -1,4 +1,4 @@
1
- import { k as Zt, B as $t } from "./index-standalone-UVkKZMvh.mjs";
1
+ import { k as Zt, B as $t } from "./index-standalone-Cn89JdlG.mjs";
2
2
  function Jt(H, O) {
3
3
  for (var W = 0; W < O.length; W++) {
4
4
  const z = O[W];
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "xmlui",
3
- "scopeName": "source.ueml",
3
+ "scopeName": "source.xmlui",
4
4
  "patterns": [{ "include": "#root" }],
5
5
  "repository": {
6
6
  "root": {
7
7
  "patterns": [
8
8
  { "include": "#comments" },
9
9
  { "include": "#helperTag" },
10
+ { "include": "#slotTag" },
10
11
  { "include": "#componentTag" },
11
12
  { "include": "#escapeCharacter" },
12
13
  { "include": "#textWithBindingExpr" },
@@ -87,11 +88,7 @@
87
88
  "2": { "name": "keyword.operator.namespace.xmlui" },
88
89
  "3": { "name": "entity.name.tag.localname.xmlui" }
89
90
  },
90
- "patterns": [
91
- { "include": "#comments" },
92
- { "include": "#componentTag" },
93
- { "include": "source.js" }
94
- ],
91
+ "patterns": [{ "include": "#comments" }, { "include": "#componentTag" }, { "include": "source.js" }],
95
92
  "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(event)(?=\\s*>)"
96
93
  }
97
94
  ],
@@ -124,11 +121,7 @@
124
121
  "2": { "name": "keyword.operator.namespace.xmlui" },
125
122
  "3": { "name": "entity.name.tag.localname.xmlui" }
126
123
  },
127
- "patterns": [
128
- { "include": "#comments" },
129
- { "include": "#componentTag" },
130
- { "include": "source.js" }
131
- ],
124
+ "patterns": [{ "include": "#comments" }, { "include": "#componentTag" }, { "include": "source.js" }],
132
125
  "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(field)(?=\\s*>)"
133
126
  }
134
127
  ],
@@ -161,16 +154,21 @@
161
154
  "2": { "name": "keyword.operator.namespace.xmlui" },
162
155
  "3": { "name": "entity.name.tag.localname.xmlui" }
163
156
  },
164
- "patterns": [
165
- { "include": "#comments" },
166
- { "include": "#componentTag" },
167
- { "include": "source.js" }
168
- ],
157
+ "patterns": [{ "include": "#comments" }, { "include": "#componentTag" }, { "include": "source.js" }],
169
158
  "end": "(</)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)(item)(?=\\s*>)"
170
159
  }
171
160
  ],
172
161
  "end": ">"
173
162
  },
163
+ "slotTag": {
164
+ "match": "(</?)((?:[a-zA-Z_][\\w\\.\\-]*?:)?)([a-z][-\\w\\.$]*)(\\s*/?>)",
165
+ "captures": {
166
+ "1": { "name": "punctuation.definition.tag.xmlui" },
167
+ "2": { "name": "keyword.operator.namespace.xmlui" },
168
+ "3": { "name": "support.variable.xmlui" },
169
+ "4": { "name": "punctuation.definition.tag.xmlui" }
170
+ }
171
+ },
174
172
  "bindingExpr": {
175
173
  "contentName": "meta.embedded.block.javascript",
176
174
  "begin": "\\{",
@@ -224,11 +222,7 @@
224
222
  "patterns": [{ "include": "source.js" }]
225
223
  },
226
224
  "textWithBindingExpr": {
227
- "patterns": [
228
- { "include": "#escapeCharacter" },
229
- { "include": "#entity" },
230
- { "include": "#bindingExpr" }
231
- ]
225
+ "patterns": [{ "include": "#escapeCharacter" }, { "include": "#entity" }, { "include": "#bindingExpr" }]
232
226
  },
233
227
  "propOrVarTag": {
234
228
  "begin": "(</?)([a-zA-Z_][\\w\\.\\-]*?:)?((?:var)|(?:prop))",
@@ -254,11 +248,7 @@
254
248
  "endCaptures": {
255
249
  "1": { "name": "punctuation.definition.tag.xmlui" }
256
250
  },
257
- "patterns": [
258
- { "include": "#comments" },
259
- { "include": "#eventHandler" },
260
- { "include": "#attribute" }
261
- ]
251
+ "patterns": [{ "include": "#comments" }, { "include": "#eventHandler" }, { "include": "#attribute" }]
262
252
  },
263
253
  "quotedStringJsInside": {
264
254
  "begin": "\"|'|`",
@@ -295,6 +285,8 @@
295
285
  "attribute": {
296
286
  "patterns": [
297
287
  {
288
+ "begin": "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=)(\\s*['\"`])",
289
+ "end": "\\3",
298
290
  "beginCaptures": {
299
291
  "1": { "name": "entity.other.attribute-name.localname.xmlui" },
300
292
  "2": { "name": "keyword.operator.xmlui" },
@@ -303,66 +295,27 @@
303
295
  "endCaptures": {
304
296
  "0": { "name": "string.xmlui" }
305
297
  },
306
- "begin": "(?:^|\\s+)([a-zA-Z$_][-\\w.:$]*)(\\s*=)(\\s*['\"`])",
307
- "end": "\\3",
308
298
  "contentName": "string.xmlui",
309
299
  "patterns": [{ "include": "#textWithBindingExpr" }]
310
300
  },
311
301
  {
312
- "match": "([a-zA-Z$_][-\\w.:$]*)",
313
- "name": "entity.other.attribute-name.localname.xmlui",
314
- "patterns": [{ "include": "#textWithBindingExpr" }]
302
+ "match": "(?:^|\\s+)([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)(\\s*=\\s*)([a-zA-Z$_][-\\w.$]*)",
303
+ "captures": {
304
+ "1": { "name": "entity.other.attribute-name.localname.xmlui" },
305
+ "2": { "name": "keyword.operator.xmlui" },
306
+ "3": { "name": "string.xmlui" }
307
+ }
308
+ },
309
+ {
310
+ "match": "([a-zA-Z$_][-\\w.$]*(?::[a-zA-Z$_][-\\w.$]*)?)",
311
+ "name": "entity.other.attribute-name.localname.xmlui"
315
312
  }
316
313
  ]
317
314
  },
318
315
  "escapeCharacter": {
319
316
  "patterns": [
320
317
  {
321
- "match": "\\\\S",
322
- "name": "constant.character.escape.xmlui"
323
- },
324
- {
325
- "match": "\\\\0",
326
- "name": "constant.character.escape.xmlui"
327
- },
328
- {
329
- "match": "\\\\'",
330
- "name": "constant.character.escape.xmlui"
331
- },
332
- {
333
- "match": "\\\\\"",
334
- "name": "constant.character.escape.xmlui"
335
- },
336
- {
337
- "match": "\\\\\\\\",
338
- "name": "constant.character.escape.xmlui"
339
- },
340
- {
341
- "match": "\\\\n",
342
- "name": "constant.character.escape.xmlui"
343
- },
344
- {
345
- "match": "\\\\r",
346
- "name": "constant.character.escape.xmlui"
347
- },
348
- {
349
- "match": "\\\\v",
350
- "name": "constant.character.escape.xmlui"
351
- },
352
- {
353
- "match": "\\\\t",
354
- "name": "constant.character.escape.xmlui"
355
- },
356
- {
357
- "match": "\\\\b",
358
- "name": "constant.character.escape.xmlui"
359
- },
360
- {
361
- "match": "\\\\\n",
362
- "name": "constant.character.escape.xmlui"
363
- },
364
- {
365
- "match": "\\\\f",
318
+ "match": "&(amp|gt|lt|apos|quot|nbsp);",
366
319
  "name": "constant.character.escape.xmlui"
367
320
  }
368
321
  ]
@@ -252,6 +252,14 @@
252
252
  "foreground": "#000013"
253
253
  }
254
254
  },
255
+ {
256
+ "scope": [
257
+ "support.variable.xmlui"
258
+ ],
259
+ "settings": {
260
+ "foreground": "#000014"
261
+ }
262
+ },
255
263
  {
256
264
  "scope": [
257
265
  "meta.paragraph.markdown",
@@ -0,0 +1,57 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.accordionComponentRenderer = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const Accordion_module_scss_1 = __importDefault(require("./Accordion.module.scss"));
9
+ const renderers_1 = require("@components-core/renderers");
10
+ const descriptorHelper_1 = require("@components-core/descriptorHelper");
11
+ const themeVars_1 = require("@components-core/theming/themeVars");
12
+ const metadata = {
13
+ displayName: "Accordion",
14
+ description: "A collapsible container that toggles the display of content sections.",
15
+ props: {
16
+ header: (0, descriptorHelper_1.desc)("Text used in the component's header"),
17
+ headerTemplate: (0, descriptorHelper_1.desc)("Template to use as the component's header"),
18
+ initiallyExpanded: (0, descriptorHelper_1.desc)("Indicates if the accordion is expanded or collapsed"),
19
+ triggerPosition: (0, descriptorHelper_1.desc)("Position where the trigger icon should be displayed"),
20
+ collapsedIcon: (0, descriptorHelper_1.desc)("Name of the icon displayed when the accordion is collapsed"),
21
+ expandedIcon: (0, descriptorHelper_1.desc)("Name of the icon displayed when the accordion is expanded"),
22
+ hideIcon: (0, descriptorHelper_1.desc)("Indicates that the trigger icon is not displayed"),
23
+ positionInGroup: (0, descriptorHelper_1.desc)("Position of the accordion in a group of accordions"),
24
+ },
25
+ events: {
26
+ displayDidChange: (0, descriptorHelper_1.desc)("Triggered when the state of the accordion changes"),
27
+ },
28
+ themeVars: (0, themeVars_1.parseScssVar)(Accordion_module_scss_1.default.themeVars),
29
+ defaultThemeVars: {
30
+ "padding-horizontal-header-Accordion": "",
31
+ "padding-vertical-header-Accordion": "",
32
+ "align-vertical-header-Accordion": "",
33
+ "font-size-header-Accordion": "",
34
+ "font-weight-header-Accordion": "",
35
+ "font-style-header-Accordion": "",
36
+ "border-radius-Accordion": "",
37
+ "thickness-border-Accordion": "",
38
+ "style-border-Accordion": "",
39
+ "width-icon-Accordion": "",
40
+ "height-icon-Accordion": "",
41
+ light: {
42
+ "color-bg-header-Accordion": "",
43
+ "color-header-Accordion": "",
44
+ "color-border-Accordion": "",
45
+ "color-icon-Accordion": "",
46
+ },
47
+ dark: {
48
+ "color-bg-header-Accordion": "",
49
+ "color-header-Accordion": "",
50
+ "color-border-Accordion": "",
51
+ "color-icon-Accordion": "",
52
+ },
53
+ },
54
+ };
55
+ exports.accordionComponentRenderer = (0, renderers_1.createComponentRenderer)("Accordion", ({ node, extractValue, lookupEventHandler, layoutCss }) => {
56
+ return (0, jsx_runtime_1.jsx)("div", { style: { backgroundColor: "red", color: "white" }, children: "Accordion component is not implemented yet" });
57
+ }, metadata);
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.alertComponentRenderer = void 0;
7
+ const jsx_runtime_1 = require("react/jsx-runtime");
8
+ const Alert_module_scss_1 = __importDefault(require("./Alert.module.scss"));
9
+ const renderers_1 = require("@components-core/renderers");
10
+ const descriptorHelper_1 = require("@components-core/descriptorHelper");
11
+ const themeVars_1 = require("@components-core/theming/themeVars");
12
+ const metadata = {
13
+ displayName: "Accordion",
14
+ description: "A collapsible container that toggles the display of content sections.",
15
+ props: {
16
+ statusColor: (0, descriptorHelper_1.desc)("Status color of the alert"),
17
+ dismissable: (0, descriptorHelper_1.desc)("Indicates if the alert is dismissable"),
18
+ autoDismissInMilliseconds: (0, descriptorHelper_1.desc)("Timeout for the alert to be dismissed"),
19
+ showIcon: (0, descriptorHelper_1.desc)("Indicates if the alert should display an icon"),
20
+ icon: (0, descriptorHelper_1.desc)("Icon to be displayed in the alert"),
21
+ },
22
+ events: {},
23
+ themeVars: (0, themeVars_1.parseScssVar)(Alert_module_scss_1.default.themeVars),
24
+ defaultThemeVars: {
25
+ light: {},
26
+ dark: {},
27
+ },
28
+ };
29
+ exports.alertComponentRenderer = (0, renderers_1.createComponentRenderer)("Alert", ({ node, extractValue, lookupEventHandler, layoutCss }) => {
30
+ return (0, jsx_runtime_1.jsx)("div", { style: { backgroundColor: "red", color: "white" }, children: "Alert component is not implemented yet" });
31
+ }, metadata);
@@ -1,15 +1,4 @@
1
1
  "use strict";
2
- var __rest = (this && this.__rest) || function (s, e) {
3
- var t = {};
4
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
5
- t[p] = s[p];
6
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
7
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
8
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
9
- t[p[i]] = s[p[i]];
10
- }
11
- return t;
12
- };
13
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
14
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
4
  };
@@ -22,18 +11,20 @@ const react_2 = require("@remix-run/react");
22
11
  const lodash_es_1 = require("lodash-es");
23
12
  const classnames_1 = __importDefault(require("@components-core/utils/classnames"));
24
13
  const App_module_scss_1 = __importDefault(require("./App.module.scss"));
14
+ const AppLayoutContext_1 = require("./AppLayoutContext");
25
15
  const renderers_1 = require("@components-core/renderers");
26
16
  const AppContext_1 = require("@components-core/AppContext");
27
- const AppLayoutContext_1 = require("./AppLayoutContext");
28
17
  const Sheet_1 = require("@components/App/Sheet");
29
18
  const ScrollContext_1 = require("@components-core/ScrollContext");
30
19
  const descriptorHelper_1 = require("@components-core/descriptorHelper");
31
20
  const themeVars_1 = require("@components-core/theming/themeVars");
32
21
  const AppHeader_1 = require("@components/AppHeader/AppHeader");
33
- const misc_1 = require("@components-core/utils/misc");
34
22
  const hooks_1 = require("@components-core/utils/hooks");
35
- function App({ children, style, layout = "horizontal", loggedInUser, logoContent, scrollWholePage = true, onReady = lodash_es_1.noop, header, footer, }) {
36
- const safeLayout = layout === null || layout === void 0 ? void 0 : layout.trim().replace(/[\u2013\u2014\u2011]/g, "-"); //It replaces all &ndash; (–) and &mdash; (—) and non-breaking hyphen '‑' symbols with simple dashes (-).
23
+ const ThemeContext_1 = require("@components-core/theming/ThemeContext");
24
+ function App({ children, style, layout, loggedInUser, logoContent, scrollWholePage = true, onReady = lodash_es_1.noop, header, footer, }) {
25
+ const { getThemeVar } = (0, ThemeContext_1.useTheme)();
26
+ const layoutWithDefaultValue = layout || getThemeVar("layout-App") || "condensed-sticky";
27
+ const safeLayout = layoutWithDefaultValue === null || layoutWithDefaultValue === void 0 ? void 0 : layoutWithDefaultValue.trim().replace(/[\u2013\u2014\u2011]/g, "-"); //It replaces all &ndash; (–) and &mdash; (—) and non-breaking hyphen '‑' symbols with simple dashes (-).
37
28
  const { setLoggedInUser, mediaSize } = (0, AppContext_1.useAppContext)();
38
29
  const [registeredHeaders, setRegisteredHeaders] = (0, react_1.useState)({});
39
30
  const [registeredNavPanels, setRegisteredNavPanels] = (0, react_1.useState)({});
@@ -193,7 +184,7 @@ function App({ children, style, layout = "horizontal", loggedInUser, logoContent
193
184
  case "condensed-sticky":
194
185
  content = ((0, jsx_runtime_1.jsxs)("div", { className: (0, classnames_1.default)(wrapperBaseClasses, App_module_scss_1.default.horizontal, {
195
186
  [App_module_scss_1.default.sticky]: safeLayout === "condensed-sticky",
196
- }), style: styleWithHelpers, ref: scrollPageContainerRef, children: [(0, jsx_runtime_1.jsxs)("header", { className: (0, classnames_1.default)(App_module_scss_1.default.headerWrapper, {
187
+ }), style: styleWithHelpers, ref: scrollPageContainerRef, children: [(0, jsx_runtime_1.jsxs)("header", { className: (0, classnames_1.default)("app-layout-condensed", App_module_scss_1.default.headerWrapper, {
197
188
  [App_module_scss_1.default.sticky]: safeLayout === "condensed-sticky",
198
189
  }), ref: headerRefCallback, children: [!hasRegisteredHeader && hasRegisteredNavPanel && ((0, jsx_runtime_1.jsx)(AppHeader_1.AppHeader, { canRestrictContentWidth: true, logoContent: logoContent, navPanelVisible: navPanelVisible, toggleDrawer: toggleDrawer, children: (0, jsx_runtime_1.jsx)("div", { ref: setNavPanelRoot, style: { minWidth: 0 } }) })), header] }), (0, jsx_runtime_1.jsx)("div", { className: App_module_scss_1.default.PagesWrapper, ref: noScrollPageContainerRef, children: (0, jsx_runtime_1.jsx)(ScrollContext_1.ScrollContext.Provider, { value: scrollContainerRef, children: (0, jsx_runtime_1.jsx)("div", { className: App_module_scss_1.default.PagesWrapperInner, children: children }) }) }), (0, jsx_runtime_1.jsx)("div", { className: App_module_scss_1.default.footerWrapper, ref: footerRefCallback, children: footer })] }));
199
190
  break;
@@ -247,7 +238,21 @@ const metadata = {
247
238
  },
248
239
  };
249
240
  exports.appRenderer = (0, renderers_1.createComponentRenderer)("App", ({ node, extractValue, renderChild, layoutCss, lookupEventHandler }) => {
250
- const _a = (0, misc_1.groupChildrenByType)(node), { AppHeader, Footer } = _a, rest = __rest(_a, ["AppHeader", "Footer"]);
251
- const layoutType = extractValue(node.props.layout) || "condensed-sticky";
252
- return ((0, jsx_runtime_1.jsx)(App, { scrollWholePage: extractValue.asOptionalBoolean(node.props.scrollWholePage), style: layoutCss, layout: layoutType, loggedInUser: extractValue(node.props.loggedInUser), logoContent: renderChild(node.props.logoTemplate), onReady: lookupEventHandler("ready"), header: renderChild(AppHeader), footer: renderChild(Footer), children: renderChild(Object.values(rest).flatMap((a) => a)) }));
241
+ var _a;
242
+ const AppHeaders = [];
243
+ const Footers = [];
244
+ const restChildren = [];
245
+ (_a = node.children) === null || _a === void 0 ? void 0 : _a.forEach((child) => {
246
+ if (child.type === "AppHeader") {
247
+ AppHeaders.push(child);
248
+ }
249
+ else if (child.type === "Footer") {
250
+ Footers.push(child);
251
+ }
252
+ else {
253
+ restChildren.push(child);
254
+ }
255
+ });
256
+ const layoutType = extractValue(node.props.layout);
257
+ return ((0, jsx_runtime_1.jsx)(App, { scrollWholePage: extractValue.asOptionalBoolean(node.props.scrollWholePage), style: layoutCss, layout: layoutType, loggedInUser: extractValue(node.props.loggedInUser), logoContent: renderChild(node.props.logoTemplate), onReady: lookupEventHandler("ready"), header: renderChild(AppHeaders), footer: renderChild(Footers), children: renderChild(restChildren) }));
253
258
  }, metadata);
@@ -13,7 +13,6 @@ const AppHeader_module_scss_1 = __importDefault(require("./AppHeader.module.scss
13
13
  const Icon_1 = require("@components/Icon/Icon");
14
14
  const renderers_1 = require("@components-core/renderers");
15
15
  const constants_1 = require("@components-core/constants");
16
- const AppContext_1 = require("@components-core/AppContext");
17
16
  const Logo_1 = require("@components/Logo/Logo");
18
17
  const AppLayoutContext_1 = require("@components/App/AppLayoutContext");
19
18
  const Button_1 = require("@components/Button/Button");
@@ -37,10 +36,9 @@ function useLogoUrl(inDrawer) {
37
36
  return themeLogoUrl || toneLogoUrl || baseLogoUrl;
38
37
  }
39
38
  const AppHeader = ({ children, profileMenu, style = constants_1.EMPTY_OBJECT, logoContent, className, canRestrictContentWidth, navPanelVisible = true, toggleDrawer, showLogo, hasRegisteredNavPanel, logoTitle }) => {
40
- const { loggedInUser } = (0, AppContext_1.useAppContext)();
41
39
  return ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(AppHeader_module_scss_1.default.header, className), style: style, children: (0, jsx_runtime_1.jsxs)("div", { className: (0, classnames_1.default)(AppHeader_module_scss_1.default.headerInner, {
42
40
  [AppHeader_module_scss_1.default.full]: !canRestrictContentWidth,
43
- }), children: [!navPanelVisible && hasRegisteredNavPanel && ((0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: toggleDrawer, icon: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "hamburger" }), variant: "ghost", style: { color: "inherit", flexShrink: 0 } })), (showLogo || !navPanelVisible) && ((0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.logoContainer, children: logoContent ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: logoContent }) : (0, jsx_runtime_1.jsx)(Logo_1.Logo, { title: logoTitle }) })), (0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.childrenWrapper, children: children }), (0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.rightItems, children: profileMenu })] }) }));
41
+ }), children: [!navPanelVisible && hasRegisteredNavPanel && ((0, jsx_runtime_1.jsx)(Button_1.Button, { onClick: toggleDrawer, icon: (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: "hamburger" }), variant: "ghost", style: { color: "inherit", flexShrink: 0 } })), (showLogo || !navPanelVisible) && ((0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.logoContainer, children: logoContent ? (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: logoContent }) : (0, jsx_runtime_1.jsx)(Logo_1.Logo, { title: logoTitle }) })), (0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.childrenWrapper, children: children }), profileMenu && (0, jsx_runtime_1.jsx)("div", { className: AppHeader_module_scss_1.default.rightItems, children: profileMenu })] }) }));
44
42
  };
45
43
  exports.AppHeader = AppHeader;
46
44
  function AppContextAwareAppHeader({ children, logoContent, profileMenu, style, className, logoTitle, }) {
@@ -45,7 +45,7 @@ const metadata = {
45
45
  dark: {
46
46
  "color-bg-Badge": "$color-primary-500",
47
47
  "color-text-Badge": "$color-surface-50",
48
- }
48
+ },
49
49
  },
50
50
  };
51
51
  exports.badgeComponentRenderer = (0, renderers_1.createComponentRenderer)("Badge", ({ node, extractValue }) => {
@@ -1,11 +1,31 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.bookmarkComponentRenderer = void 0;
3
+ exports.bookmarkComponentRenderer = exports.Bookmark = void 0;
4
4
  const jsx_runtime_1 = require("react/jsx-runtime");
5
5
  const renderers_1 = require("@components-core/renderers");
6
+ const react_1 = require("react");
7
+ const TableOfContentsContext_1 = require("@components-core/TableOfContentsContext");
8
+ const Bookmark = ({ uid, level, children }) => {
9
+ const elementRef = (0, react_1.useRef)(null);
10
+ const tableOfContentsContext = (0, react_1.useContext)(TableOfContentsContext_1.TableOfContentsContext);
11
+ const registerHeading = tableOfContentsContext === null || tableOfContentsContext === void 0 ? void 0 : tableOfContentsContext.registerHeading;
12
+ const observeIntersection = tableOfContentsContext === null || tableOfContentsContext === void 0 ? void 0 : tableOfContentsContext.observeIntersection;
13
+ (0, react_1.useEffect)(() => {
14
+ if (observeIntersection && elementRef.current && uid) {
15
+ return registerHeading === null || registerHeading === void 0 ? void 0 : registerHeading({
16
+ id: uid,
17
+ level,
18
+ text: uid,
19
+ anchor: elementRef.current,
20
+ });
21
+ }
22
+ }, [uid, observeIntersection, registerHeading, level]);
23
+ return (0, jsx_runtime_1.jsx)("span", { ref: elementRef, style: { width: 0, height: 0 }, id: uid, children: children });
24
+ };
25
+ exports.Bookmark = Bookmark;
6
26
  exports.bookmarkComponentRenderer = (0, renderers_1.createComponentRenderer)("Bookmark", (rendererContext) => {
7
27
  const { node, renderChild, extractValue, layoutContext } = rendererContext;
8
- return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("span", { id: extractValue(node.uid), style: { width: 0, height: 0 } }), renderChild(node.children, layoutContext)] }));
28
+ return ((0, jsx_runtime_1.jsx)(exports.Bookmark, { uid: extractValue(node.uid), level: extractValue(node.props.level), children: renderChild(node.children, layoutContext) }));
9
29
  }, {
10
30
  opaque: true,
11
31
  });
@@ -144,7 +144,7 @@ const metadata = {
144
144
  "color-bg-Button-primary-ghost--hover": "$color-primary-50",
145
145
  "color-bg-Button-primary-ghost--active": "$color-primary-100",
146
146
  "color-border-Button-secondary": "$color-secondary-100",
147
- "color-bg-Button-secondary": "$color-secondary-50",
147
+ "color-bg-Button-secondary": "$color-secondary-500",
148
148
  "color-bg-Button-secondary--hover": "$color-secondary-400",
149
149
  "color-bg-Button-secondary--active": "$color-secondary-500",
150
150
  "color-bg-Button-secondary-outlined--hover": "$color-secondary-50",
@@ -47,7 +47,7 @@ const cardMetadata = {
47
47
  "thickness-border-Card": "1px",
48
48
  "style-border-Card": "solid",
49
49
  "border-Card": "$thickness-border-Card $style-border-Card $color-border-Card",
50
- "radius-Cars": "$radius",
50
+ "radius-Card": "$radius",
51
51
  "shadow-Card": "none",
52
52
  light: {
53
53
  "color-bg-Card": "white",
@@ -53,7 +53,7 @@ const Footer_1 = require("@components/Footer/Footer");
53
53
  const NavGroup_1 = require("@components/NavGroup/NavGroup");
54
54
  const Logo_1 = require("@components/Logo/Logo");
55
55
  const RadioGroup_1 = require("@components/RadioGroup/RadioGroup");
56
- const ChildrenSlot_1 = require("@components-core/ChildrenSlot");
56
+ const Slot_1 = require("@components-core/Slot");
57
57
  const FileInput_1 = require("@components/FileInput/FileInput");
58
58
  const Chart_1 = require("@components/Chart/Chart");
59
59
  const Spinner_1 = require("@components/Spinner/Spinner");
@@ -94,6 +94,10 @@ const IconInfoCard_1 = require("./IconInfoCard/IconInfoCard");
94
94
  const TableHeader_1 = require("./TableHeader/TableHeader");
95
95
  const Toolbar_1 = require("./Toolbar/Toolbar");
96
96
  const ToolbarButton_1 = require("./ToolbarButton/ToolbarButton");
97
+ const TableOfContents_1 = require("@components/TableOfContents/TableOfContents");
98
+ const Accordion_1 = require("./Accordion/Accordion");
99
+ const Alert_1 = require("./Alert/Alert");
100
+ const OffCanvas_1 = require("./OffCanvas/OffCanvas");
97
101
  class ComponentRegistry {
98
102
  constructor(contributes) {
99
103
  var _a, _b, _c;
@@ -110,7 +114,7 @@ class ComponentRegistry {
110
114
  this.registerComponentRenderer(Stack_1.cvStackComponentRenderer);
111
115
  this.registerComponentRenderer(Stack_1.chStackComponentRenderer);
112
116
  }
113
- this.registerComponentRenderer(ChildrenSlot_1.childrenSlotHolder);
117
+ this.registerComponentRenderer(Slot_1.SlotHolder);
114
118
  if (process.env.VITE_USED_COMPONENTS_SpaceFiller !== "false") {
115
119
  this.registerComponentRenderer(SpaceFiller_1.spaceFillerComponentRenderer);
116
120
  }
@@ -269,6 +273,7 @@ class ComponentRegistry {
269
273
  this.registerComponentRenderer(Map_1.mapComponentRenderer);
270
274
  this.registerComponentRenderer(Tabs_1.tabsComponentRenderer);
271
275
  this.registerComponentRenderer(Bookmark_1.bookmarkComponentRenderer);
276
+ this.registerComponentRenderer(TableOfContents_1.tableOfContentsRenderer);
272
277
  }
273
278
  this.registerComponentRenderer(Theme_1.themeComponentRenderer);
274
279
  this.registerComponentRenderer(AppState_1.appStateComponentRenderer);
@@ -280,6 +285,10 @@ class ComponentRegistry {
280
285
  this.registerCompoundComponentRenderer(TableHeader_1.tableHeaderRenderer);
281
286
  this.registerCompoundComponentRenderer(Toolbar_1.toolbarRenderer);
282
287
  this.registerCompoundComponentRenderer(ToolbarButton_1.toolbarButtonRenderer);
288
+ // --- New Bootstrap-inspired components
289
+ this.registerComponentRenderer(Accordion_1.accordionComponentRenderer);
290
+ this.registerComponentRenderer(Alert_1.alertComponentRenderer);
291
+ this.registerComponentRenderer(OffCanvas_1.offCanvasComponentRenderer);
283
292
  if (process.env.VITE_USED_COMPONENTS_Chart !== "false") {
284
293
  this.registerComponentRenderer(Chart_1.chartRenderer);
285
294
  }
@@ -166,7 +166,7 @@ showWeekNumber = false, weekStartsOn = WeekDays.Sunday, fromDate, toDate, disabl
166
166
  [DatePicker_module_scss_1.default.error]: validationStatus === "error",
167
167
  [DatePicker_module_scss_1.default.warning]: validationStatus === "warning",
168
168
  [DatePicker_module_scss_1.default.valid]: validationStatus === "valid",
169
- }), onFocus: handleOnButtonFocus, onBlur: handleOnButtonBlur, children: mode === "single" && selected ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, date_fns_1.format)(selected, dateFormat) })) : mode === "range" && typeof selected === "object" && selected.from ? (selected.to ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, date_fns_1.format)(selected.from, dateFormat), " - ", (0, date_fns_1.format)(selected.to, dateFormat)] })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, date_fns_1.format)(selected.from, dateFormat) }))) : ((0, jsx_runtime_1.jsx)("span", { className: DatePicker_module_scss_1.default.placeholder, children: placeholder })) }) }), (0, jsx_runtime_1.jsx)(ReactDropdownMenu.Portal, { container: root, children: (0, jsx_runtime_1.jsx)(ReactDropdownMenu.Content, { align: "start", className: DatePicker_module_scss_1.default.datePickerMenu, onFocus: handleOnMenuFocus, onBlur: handleOnMenuBlur, onInteractOutside: handleOnMenuBlur, children: (0, jsx_runtime_1.jsx)(react_day_picker_1.DayPicker, { fixedWeeks: true, fromDate: startDate, toDate: endDate, disabled: disabled, weekStartsOn: _weekStartsOn, showWeekNumber: showWeekNumber, showOutsideDays: true, classNames: DatePicker_module_scss_1.default, mode: mode === "single" ? "single" : "range", selected: selected, onSelect: handleSelect, initialFocus: true, numberOfMonths: mode === "range" ? 2 : 1 }) }) })] }));
169
+ }), onFocus: handleOnButtonFocus, onBlur: handleOnButtonBlur, children: mode === "single" && selected ? ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, date_fns_1.format)(selected, dateFormat) })) : mode === "range" && typeof selected === "object" && selected.from ? (selected.to ? ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, date_fns_1.format)(selected.from, dateFormat), " - ", (0, date_fns_1.format)(selected.to, dateFormat)] })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, date_fns_1.format)(selected.from, dateFormat) }))) : placeholder ? ((0, jsx_runtime_1.jsx)("span", { className: DatePicker_module_scss_1.default.placeholder, children: placeholder })) : ((0, jsx_runtime_1.jsx)("span", { children: "\u00A0" })) }) }), (0, jsx_runtime_1.jsx)(ReactDropdownMenu.Portal, { container: root, children: (0, jsx_runtime_1.jsx)(ReactDropdownMenu.Content, { align: "start", className: DatePicker_module_scss_1.default.datePickerMenu, onFocus: handleOnMenuFocus, onBlur: handleOnMenuBlur, onInteractOutside: handleOnMenuBlur, children: (0, jsx_runtime_1.jsx)(react_day_picker_1.DayPicker, { fixedWeeks: true, fromDate: startDate, toDate: endDate, disabled: disabled, weekStartsOn: _weekStartsOn, showWeekNumber: showWeekNumber, showOutsideDays: true, classNames: DatePicker_module_scss_1.default, mode: mode === "single" ? "single" : "range", selected: selected, onSelect: handleSelect, initialFocus: true, numberOfMonths: mode === "range" ? 2 : 1 }) }) })] }));
170
170
  };
171
171
  exports.DatePicker = DatePicker;
172
172
  const metadata = {
@@ -16,7 +16,7 @@ const classnames_1 = __importDefault(require("@components-core/utils/classnames"
16
16
  // React Footer component implementation
17
17
  function Footer({ children, style, className, }) {
18
18
  const appLayoutContext = (0, AppLayoutContext_1.useAppLayoutContext)();
19
- const content = ((0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(Footer_module_scss_1.default.wrapper, className), style: style, children: children }));
19
+ const content = ((0, jsx_runtime_1.jsx)("div", { className: Footer_module_scss_1.default.outerWrapper, children: (0, jsx_runtime_1.jsx)("div", { className: (0, classnames_1.default)(Footer_module_scss_1.default.wrapper, className), style: style, children: children }) }));
20
20
  const { footerRoot } = appLayoutContext || {};
21
21
  if (footerRoot) {
22
22
  return (0, react_dom_1.createPortal)(content, footerRoot);
@@ -27,7 +27,7 @@ const metadata = {
27
27
  displayName: "Footer",
28
28
  description: "Display an application footer",
29
29
  themeVars: (0, themeVars_1.parseScssVar)(Footer_module_scss_1.default.themeVars),
30
- defaultThemeVars: Object.assign(Object.assign({ "color-bg-Footer": "$color-bg-AppHeader", "vertical-alignment-Footer": "center" }, (0, base_utils_1.paddingSubject)("Footer", { horizontal: "$space-4", vertical: "$space-1" })), { light: {
30
+ defaultThemeVars: Object.assign(Object.assign({ "color-bg-Footer": "$color-bg-AppHeader", "vertical-alignment-Footer": "center", "font-size-Footer": "$font-size-small", "color-text-Footer": "$color-text-secondary", "max-content-width-Footer": "$max-content-width" }, (0, base_utils_1.paddingSubject)("Footer", { horizontal: "$space-4", vertical: "$space-2" })), { light: {
31
31
  // --- No light-specific theme vars
32
32
  }, dark: {
33
33
  // --- No dark-specific theme vars
@@ -165,7 +165,7 @@ const metadata = {
165
165
  defaultThemeVars: {
166
166
  "color-text-FormItemLabel": "$color-text-primary",
167
167
  "font-size-FormItemLabel": "$font-size-small",
168
- "font-weight-FormItemLabel": "$font-weight-bold",
168
+ "font-weight-FormItemLabel": "$font-weight-medium",
169
169
  "font-style-FormItemLabel": "normal",
170
170
  "text-transform-FormItemLabel": "none",
171
171
  "color-text-FormItemLabel-requiredMark": "$color-danger-400",
@@ -37,7 +37,7 @@ exports.formSectionRenderer = {
37
37
  },
38
38
  children: [
39
39
  {
40
- type: "ChildrenSlot",
40
+ type: "Slot",
41
41
  },
42
42
  ],
43
43
  },