@emeraldemperaur/vector-sigma 1.4.33 → 1.4.34

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/README.md CHANGED
@@ -95,7 +95,7 @@ const App = () => {
95
95
  </li>
96
96
 
97
97
  <li><strong>🧩Exported UI Components</strong></br>
98
- <p align="justify">Explicitly exported reusable form UI components with material, outline and neumorphic design variants from package entry point <code>src/index.ts</code> to enable developer-friendly use as lightweight component library.</p>
98
+ <p align="justify">Explicitly exported reusable form UI components with material, outline and neumorphic design variants from package entry point <code>src/index.ts</code> to enable developer-friendly use as lightweight ARIA compliant component library.</p>
99
99
  <p><em>Container, Row, Column, Theme, Accordion, AccordionItem, Codex, CodexItem, CodexControls, AvatarInput, ButtonInput, CheckboxGroupInput, ConditionalTrigger, DatePicker, DateRangePicker, DateTimePicker, Dropdown, File, FileMultiple, FlagIcon, Icon, Image, Input, PasswordInput, PhoneInput, CreditCardInput, CurrencyInput, StockInput, RadioGroupInput, OptionSelect, MultipleSelect, RangeSlider, SliderInput, Toggle, SectionTitle, Teletraan1 (Render Matrix)</em></p>
100
100
 
101
101
  ```javascript
package/lib/index.cjs CHANGED
@@ -15925,6 +15925,28 @@ var HamburgerMenuIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedR
15925
15925
  }));
15926
15926
  });
15927
15927
 
15928
+ var _excluded$2u = ["color"];
15929
+ var HeadingIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
15930
+ var _ref$color = _ref.color,
15931
+ color = _ref$color === void 0 ? 'currentColor' : _ref$color,
15932
+ props = _objectWithoutPropertiesLoose$7(_ref, _excluded$2u);
15933
+
15934
+ return React.createElement("svg", Object.assign({
15935
+ width: "15",
15936
+ height: "15",
15937
+ viewBox: "0 0 15 15",
15938
+ fill: "none",
15939
+ xmlns: "http://www.w3.org/2000/svg"
15940
+ }, props, {
15941
+ ref: forwardedRef
15942
+ }), React.createElement("path", {
15943
+ d: "M8.75432 2.0502C8.50579 2.0502 8.30432 2.25167 8.30432 2.5002C8.30432 2.74873 8.50579 2.9502 8.75432 2.9502H9.94997V7.05004H5.04997V2.9502H6.25432C6.50285 2.9502 6.70432 2.74873 6.70432 2.5002C6.70432 2.25167 6.50285 2.0502 6.25432 2.0502H2.75432C2.50579 2.0502 2.30432 2.25167 2.30432 2.5002C2.30432 2.74873 2.50579 2.9502 2.75432 2.9502H3.94997V12.0502H2.75432C2.50579 12.0502 2.30432 12.2517 2.30432 12.5002C2.30432 12.7487 2.50579 12.9502 2.75432 12.9502H6.25432C6.50285 12.9502 6.70432 12.7487 6.70432 12.5002C6.70432 12.2517 6.50285 12.0502 6.25432 12.0502H5.04997V7.95004H9.94997V12.0502H8.75432C8.50579 12.0502 8.30432 12.2517 8.30432 12.5002C8.30432 12.7487 8.50579 12.9502 8.75432 12.9502H12.2543C12.5028 12.9502 12.7043 12.7487 12.7043 12.5002C12.7043 12.2517 12.5028 12.0502 12.2543 12.0502H11.05V2.9502H12.2543C12.5028 2.9502 12.7043 2.74873 12.7043 2.5002C12.7043 2.25167 12.5028 2.0502 12.2543 2.0502H8.75432Z",
15944
+ fill: color,
15945
+ fillRule: "evenodd",
15946
+ clipRule: "evenodd"
15947
+ }));
15948
+ });
15949
+
15928
15950
  var _excluded$2v = ["color"];
15929
15951
  var HeartIcon = /*#__PURE__*/React.forwardRef(function (_ref, forwardedRef) {
15930
15952
  var _ref$color = _ref.color,
@@ -17259,7 +17281,8 @@ const iconMap = {
17259
17281
  fontfamily: FontFamilyIcon,
17260
17282
  video: VideoIcon,
17261
17283
  shuffle: ShuffleIcon,
17262
- loop: LoopIcon
17284
+ loop: LoopIcon,
17285
+ heading: HeadingIcon,
17263
17286
  };
17264
17287
  const Icon = (_a) => {
17265
17288
  var { name } = _a, props = __rest$1(_a, ["name"]);
@@ -17640,7 +17663,7 @@ const CheckboxGroupInput = (_a) => {
17640
17663
  const hasError = Boolean(fieldTouched && fieldError);
17641
17664
  const containerRef = React.useRef(null);
17642
17665
  const [neuVars, setNeuVars] = React.useState({});
17643
- const inputId = `${alias}FormInput` || crypto.randomUUID();
17666
+ const inputId = `${alias}FormInput`;
17644
17667
  const errorId = `${alias}-error`;
17645
17668
  const handleCheckedChange = (checked, value) => {
17646
17669
  let newValues = [...currentValues];
@@ -17651,7 +17674,7 @@ const CheckboxGroupInput = (_a) => {
17651
17674
  newValues = newValues.filter((v) => String(v) !== String(value));
17652
17675
  }
17653
17676
  setFieldValue(alias, newValues);
17654
- setTimeout(() => setFieldTouched(alias, true), 0);
17677
+ setTimeout(() => setFieldTouched(alias, true, false), 0);
17655
17678
  };
17656
17679
  React.useEffect(() => {
17657
17680
  if (inputtype === 'checkbox-neumorphic' && containerRef.current) {
@@ -17665,35 +17688,33 @@ const CheckboxGroupInput = (_a) => {
17665
17688
  }
17666
17689
  }, [inputtype]);
17667
17690
  return (React.createElement(Column, { span: width, newLine: newRow },
17668
- React.createElement(p$5, { direction: "column", gap: "2", width: "100%", ref: containerRef, style: style, className: className },
17691
+ React.createElement(p$5, { direction: "row", gap: "2", width: "100%", ref: containerRef, style: style, className: className },
17669
17692
  inputtype === 'checkbox-neumorphic' && (React.createElement("style", { dangerouslySetInnerHTML: { __html: `
17670
17693
  .neu-checkbox .rt-CheckboxButton {
17671
17694
  background-color: var(--neu-bg);
17672
17695
  border: none;
17673
17696
  box-shadow: 3px 3px 6px var(--neu-shadow-dark), -3px -3px 6px var(--neu-shadow-light);
17674
17697
  border-radius: 4px;
17675
- width: 20px;
17676
- height: 20px;
17677
- transition: all 0.2s ease;
17698
+ width: 20px; height: 20px; transition: all 0.2s ease;
17678
17699
  }
17679
- /* Checked State: Pressed In */
17680
17700
  .neu-checkbox[data-state='checked'] .rt-CheckboxButton {
17681
17701
  box-shadow: inset 3px 3px 6px var(--neu-shadow-dark), inset -3px -3px 6px var(--neu-shadow-light);
17682
- background-color: var(--neu-bg); /* Keep bg same, let icon show color */
17683
- }
17684
- .neu-checkbox .rt-CheckboxIndicator {
17685
- color: var(--neu-check-color);
17702
+ background-color: var(--neu-bg);
17686
17703
  }
17704
+ .neu-checkbox .rt-CheckboxIndicator { color: var(--neu-check-color); }
17687
17705
  ` } })),
17688
- React.createElement(o$6, { columns: columns || (direction === 'row' ? 'repeat(auto-fit, minmax(100px, 1fr))' : '1'), gap: "3", style: neuVars }, inputOptions.map((inputoption) => {
17689
- const isChecked = currentValues.some(val => String(val) === String(inputoption.optionvalue));
17690
- return (React.createElement(p$d, { as: "label", key: String(inputoption.optionvalue) || crypto.randomUUID(), size: "2", style: {
17706
+ React.createElement(o$6, { columns: columns || (direction === 'row' ? 'repeat(auto-fit, minmax(100px, 1fr))' : '1'), gap: "3", style: neuVars, id: inputId }, inputOptions.map((inputoption, idx) => {
17707
+ const optionVal = String(inputoption.optionvalue);
17708
+ const isChecked = currentValues.some(val => String(val) === optionVal);
17709
+ const itemKey = `${alias}-chk-${inputoption.optionid || idx}`;
17710
+ const itemId = `${alias}FormInput${inputoption.optionid || idx}`;
17711
+ return (React.createElement(p$d, { as: "label", key: itemKey, size: "2", style: {
17691
17712
  display: 'flex',
17692
17713
  alignItems: 'center',
17693
17714
  gap: '8px',
17694
17715
  cursor: 'pointer'
17695
17716
  } },
17696
- React.createElement(c$2, { name: alias, id: `${alias}FormInput${inputoption.optionid}`, "aria-describedby": `${alias}InputLabel${inputoption.optionid}`, disabled: readOnly, value: String(inputoption.optionvalue), checked: isChecked, onCheckedChange: (checked) => handleCheckedChange(checked, String(inputoption.optionvalue)), variant: inputtype === 'checkbox-outline' ? 'soft' : 'surface', className: inputtype === 'checkbox-neumorphic' ? 'neu-checkbox' : '', style: Object.assign({}, (inputtype === 'checkbox-outline' ? {
17717
+ React.createElement(c$2, { name: alias, id: itemId, disabled: readOnly, value: optionVal, checked: isChecked, onCheckedChange: (checked) => handleCheckedChange(checked, optionVal), variant: inputtype === 'checkbox-outline' ? 'soft' : 'surface', className: inputtype === 'checkbox-neumorphic' ? 'neu-checkbox' : '', style: Object.assign({}, (inputtype === 'checkbox-outline' ? {
17697
17718
  border: isChecked ? '2px solid var(--accent-9)' : '2px solid var(--gray-8)',
17698
17719
  backgroundColor: 'transparent'
17699
17720
  } : {})) }),
@@ -17702,14 +17723,10 @@ const CheckboxGroupInput = (_a) => {
17702
17723
  React.createElement("div", null,
17703
17724
  React.createElement(p$d, { id: `${alias}InputLabel`, as: "label", size: "2", weight: "bold", htmlFor: inputId }, inputLabel),
17704
17725
  "\u00A0",
17705
- isHinted ?
17706
- React.createElement(React.Fragment, null,
17707
- React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
17708
- React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
17709
- React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))) : null,
17710
- hasError ?
17711
- React.createElement(React.Fragment, null,
17712
- React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || "Required field")) : null))));
17726
+ isHinted && (React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
17727
+ React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
17728
+ React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),
17729
+ hasError && (React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || (typeof fieldError === 'string' ? fieldError : "Required field")))))));
17713
17730
  };
17714
17731
 
17715
17732
  function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
@@ -31354,7 +31371,8 @@ const DatePicker = ({ alias, inputLabel, inputtype = 'datepicker-outline', width
31354
31371
  const fieldValue = formik.getIn(values, alias);
31355
31372
  const fieldTouched = formik.getIn(touched, alias);
31356
31373
  const fieldError = formik.getIn(errors, alias);
31357
- const inputId = `${alias}FormInput` || crypto.randomUUID();
31374
+ const inputId = `${alias}FormInput`;
31375
+ const labelId = `${alias}InputLabel`;
31358
31376
  const hasError = Boolean(fieldTouched && fieldError);
31359
31377
  const containerRef = React.useRef(null);
31360
31378
  const [neuVars, setNeuVars] = React.useState({});
@@ -31424,11 +31442,11 @@ const DatePicker = ({ alias, inputLabel, inputtype = 'datepicker-outline', width
31424
31442
  React.createElement(DatePicker$1, { id: `${alias}DatePicker`, selected: (fieldValue && new Date(fieldValue)) || null, onChange: (val) => {
31425
31443
  setFieldValue(alias, val);
31426
31444
  setFieldTouched(alias, true, false);
31427
- }, disabled: readOnly, placeholderText: placeholder, dateFormat: "MMM d, yyyy", customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
31445
+ }, disabled: readOnly, placeholderText: placeholder, dateFormat: "MMM d, yyyy", "aria-labelledby": labelId, customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
31428
31446
  React.createElement(c, null,
31429
31447
  React.createElement(Icon, { name: "calendar", height: "16", width: "16", style: { color: 'var(--gray-10)' } }))) }),
31430
31448
  React.createElement("div", null,
31431
- inputLabel && React.createElement(p$d, { size: "2", weight: "bold", as: "label", htmlFor: inputId }, inputLabel),
31449
+ inputLabel && React.createElement(p$d, { id: labelId, size: "2", weight: "bold", as: "div", style: { display: 'inline' } }, inputLabel),
31432
31450
  isHinted && (React.createElement(e, { content: hintText || "No hint", align: "start" },
31433
31451
  React.createElement("a", { href: hintUrl || "#", target: "_blank", rel: "noopener noreferrer", style: { marginLeft: 6 } },
31434
31452
  React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),
@@ -31570,7 +31588,8 @@ const DateRangePicker = ({ alias, inputLabel, inputtype = 'daterangepicker-outli
31570
31588
  const fieldTouched = formik.getIn(touched, alias);
31571
31589
  const fieldError = formik.getIn(errors, alias);
31572
31590
  const hasError = Boolean(fieldTouched && fieldError);
31573
- const inputId = `${alias}FormInput` || crypto.randomUUID();
31591
+ const inputId = `${alias}FormInput`;
31592
+ const labelId = `${alias}InputLabel`;
31574
31593
  const getDates = () => {
31575
31594
  const val = fieldValue;
31576
31595
  if (!val)
@@ -31682,11 +31701,11 @@ const DateRangePicker = ({ alias, inputLabel, inputtype = 'daterangepicker-outli
31682
31701
  if (start && end) {
31683
31702
  setFieldTouched(alias, true, false);
31684
31703
  }
31685
- }, disabled: readOnly, placeholderText: placeholder, dateFormat: "MMM d, yyyy", customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
31704
+ }, disabled: readOnly, placeholderText: placeholder, dateFormat: "MMM d, yyyy", "aria-labelledby": labelId, customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
31686
31705
  React.createElement(c, null,
31687
31706
  React.createElement(Icon, { name: "calendar", height: "16", width: "16", style: { color: 'var(--gray-10)' } }))) }),
31688
31707
  React.createElement("div", null,
31689
- inputLabel && React.createElement(p$d, { size: "2", weight: "bold", as: "label", htmlFor: inputId }, inputLabel),
31708
+ inputLabel && React.createElement(p$d, { id: labelId, size: "2", weight: "bold", as: "div", style: { display: 'inline' } }, inputLabel),
31690
31709
  isHinted && (React.createElement(e, { content: hintText || "No hint", align: "start" },
31691
31710
  React.createElement("a", { href: hintUrl || "#", target: "_blank", rel: "noopener noreferrer", style: { marginLeft: 6 } },
31692
31711
  React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),
@@ -32027,8 +32046,8 @@ const ImageOutput = ({ id, src, alt = "Image", design = 'outline', layout = 'nor
32027
32046
  const containerStyles = getStyles(design, layout);
32028
32047
  const iconColor = design === 'neumorphic' ? '#555' : 'var(--gray-9)';
32029
32048
  const content = (React.createElement(p$8, { className: className, style: Object.assign(Object.assign(Object.assign({}, containerStyles), { width, height: height || 'auto' }), style), onClick: onClick }, src ? (React.createElement("img", { id: String(id), src: src, alt: alt, style: {
32030
- width: '100%',
32031
- height: '100%',
32049
+ width: '333px',
32050
+ height: '333px',
32032
32051
  objectFit: 'cover',
32033
32052
  display: 'block',
32034
32053
  } })) : (React.createElement(p$5, { align: "center", justify: "center", style: {
@@ -52515,64 +52534,53 @@ const RadioGroupInput = (_a) => {
52515
52534
  return (React.createElement(Column, { span: width, newLine: newRow },
52516
52535
  React.createElement(p$5, { direction: "column", gap: "2", width: "100%", ref: containerRef, style: style, className: className },
52517
52536
  inputtype === 'radio-neumorphic' && (React.createElement("style", { dangerouslySetInnerHTML: { __html: `
52518
- /* Target the specific Radio Item button class */
52519
52537
  .neu-radio .rt-RadioGroupItem {
52520
52538
  background-color: var(--neu-bg);
52521
52539
  border: none;
52522
- /* Circular Shadows */
52523
52540
  box-shadow: 4px 4px 8px var(--neu-shadow-dark), -4px -4px 8px var(--neu-shadow-light);
52524
52541
  width: 20px;
52525
52542
  height: 20px;
52526
52543
  transition: all 0.2s ease;
52527
52544
  }
52528
-
52529
- /* Checked State: Inset Shadow (Pressed In) */
52530
52545
  .neu-radio .rt-RadioGroupItem[data-state='checked'] {
52531
52546
  box-shadow: inset 3px 3px 6px var(--neu-shadow-dark), inset -3px -3px 6px var(--neu-shadow-light);
52532
52547
  background-color: var(--neu-bg);
52533
52548
  }
52534
-
52535
- /* The Inner Dot Indicator */
52536
52549
  .neu-radio .rt-RadioGroupIndicator {
52537
52550
  background-color: var(--neu-check-color);
52538
52551
  width: 50%;
52539
52552
  height: 50%;
52540
52553
  border-radius: 50%;
52541
52554
  }
52542
-
52543
- /* Hover Effect */
52544
52555
  .neu-radio .rt-RadioGroupItem:hover {
52545
52556
  transform: scale(1.05);
52546
52557
  }
52547
52558
  .neu-radio .rt-RadioGroupItem[data-state='checked']:hover {
52548
- transform: none; /* Don't scale if pressed in */
52559
+ transform: none;
52549
52560
  }
52550
52561
  ` } })),
52551
- React.createElement(I$1, { name: alias, id: `${alias}FormInput`, "aria-describedby": `${alias}InputLabel`, disabled: readOnly, value: fieldValue !== undefined && fieldValue !== null ? String(fieldValue) : undefined, onValueChange: (val) => {
52562
+ React.createElement(I$1, { name: alias, id: `${alias}FormInput`, "aria-labelledby": `${alias}InputLabel`, disabled: readOnly, value: fieldValue !== undefined && fieldValue !== null ? String(fieldValue) : "", onValueChange: (val) => {
52552
52563
  setFieldValue(alias, val);
52553
52564
  setTimeout(() => setFieldTouched(alias, true, false), 0);
52554
52565
  } },
52555
- React.createElement(o$6, { columns: columns || (direction === 'row' ? 'repeat(auto-fit, minmax(100px, 1fr))' : '1'), gap: "3", style: neuVars }, inputOptions.map((inputoption) => {
52556
- const isChecked = String(fieldValue) === String(inputoption.optionvalue);
52557
- return (React.createElement(p$5, { asChild: true, key: String(inputoption.optionvalue), align: "center", gap: "2" },
52566
+ React.createElement(o$6, { columns: columns || (direction === 'row' ? 'repeat(auto-fit, minmax(100px, 1fr))' : '1'), gap: "3", style: neuVars }, inputOptions.map((inputoption, idx) => {
52567
+ const optionValue = String(inputoption.optionvalue);
52568
+ const isChecked = String(fieldValue) === optionValue;
52569
+ return (React.createElement(p$5, { asChild: true, key: `${alias}-radio-${idx}`, align: "center", gap: "2" },
52558
52570
  React.createElement(p$d, { as: "label", size: "2", style: { cursor: 'pointer' } },
52559
- React.createElement(y$1, { value: String(inputoption.optionvalue), className: inputtype === 'radio-neumorphic' ? 'neu-radio' : '', style: Object.assign({}, (inputtype === 'radio-outline' ? {
52571
+ React.createElement(y$1, { value: optionValue, className: inputtype === 'radio-neumorphic' ? 'neu-radio' : '', style: Object.assign({}, (inputtype === 'radio-outline' ? {
52560
52572
  border: isChecked ? '2px solid var(--accent-9)' : '2px solid var(--gray-8)',
52561
52573
  backgroundColor: 'transparent'
52562
52574
  } : {})) }),
52563
52575
  React.createElement("span", { style: { userSelect: 'none' } }, inputoption.text))));
52564
52576
  }))),
52565
52577
  React.createElement("div", null,
52566
- React.createElement(p$d, { id: `${alias}InputLabel`, as: "label", size: "2", weight: "bold", htmlFor: `${alias}FormInput` }, inputLabel),
52578
+ React.createElement(p$d, { id: `${alias}InputLabel`, as: "div", size: "2", weight: "bold" }, inputLabel),
52567
52579
  "\u00A0",
52568
- isHinted ?
52569
- React.createElement(React.Fragment, null,
52570
- React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
52571
- React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
52572
- React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))) : null,
52573
- hasError ?
52574
- React.createElement(React.Fragment, null,
52575
- React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || (typeof fieldError === 'string' ? fieldError : `Required field`))) : null))));
52580
+ isHinted && (React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
52581
+ React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
52582
+ React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),
52583
+ hasError && (React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || (typeof fieldError === 'string' ? fieldError : `Required field`)))))));
52576
52584
  };
52577
52585
 
52578
52586
  const OptionSelect = (_a) => {
@@ -52828,6 +52836,7 @@ const SliderInput = (_a) => {
52828
52836
  const hasError = Boolean(fieldTouched && fieldError);
52829
52837
  const containerRef = React.useRef(null);
52830
52838
  const [neuVars, setNeuVars] = React.useState({});
52839
+ const labelId = `${alias}InputLabel`;
52831
52840
  const errorId = `${alias}-error`;
52832
52841
  React.useEffect(() => {
52833
52842
  if (inputtype === 'slider-neumorphic' && containerRef.current) {
@@ -52901,13 +52910,13 @@ const SliderInput = (_a) => {
52901
52910
  box-shadow: none;
52902
52911
  }
52903
52912
  ` } }),
52904
- React.createElement(s, { name: alias, id: `${alias}FormInput`, disabled: readOnly, "aria-describedby": `${alias}InputLabel`, min: minvalue, max: maxvalue, step: stepvalue, value: fieldValue, onValueChange: (val) => {
52913
+ React.createElement(s, { name: alias, id: `${alias}FormInput`, disabled: readOnly, "aria-labelledby": labelId, min: minvalue, max: maxvalue, step: stepvalue, value: fieldValue, onValueChange: (val) => {
52905
52914
  setFieldValue(alias, val[0]);
52906
52915
  }, onValueCommit: () => {
52907
52916
  setFieldTouched(alias, true, false);
52908
52917
  }, className: inputtype === 'slider-neumorphic' ? 'neu-slider' : inputtype === 'slider-outline' ? 'outline-slider' : '', style: neuVars }),
52909
52918
  React.createElement("div", null,
52910
- React.createElement(p$d, { id: `${alias}InputLabel`, as: "label", size: "2", weight: "bold", htmlFor: `${alias}FormInput` }, inputLabel),
52919
+ React.createElement(p$d, { id: labelId, as: "label", size: "2", weight: "bold", htmlFor: `${alias}FormInput` }, inputLabel),
52911
52920
  "\u00A0",
52912
52921
  isHinted ?
52913
52922
  React.createElement(React.Fragment, null,
@@ -52931,18 +52940,13 @@ const RangeSlider = (_a) => {
52931
52940
  const fieldVal = formik.getIn(values, alias);
52932
52941
  const fieldTouched = formik.getIn(touched, alias);
52933
52942
  const fieldError = formik.getIn(errors, alias);
52934
- // Range Formik Logic
52935
- // Synopsis
52936
- // Radix slider component requires an array.
52937
- // If field value is [20, 80] pass [20, 80].
52938
- // If field value is 50 we pass [50].
52939
- // If field value is undefined, default to [min] or [min, max].
52940
52943
  const isRange = Array.isArray(fieldVal);
52941
52944
  const sliderValue = isRange ? fieldVal : [fieldVal || minvalue];
52942
52945
  const hasError = Boolean(fieldTouched && fieldError);
52943
52946
  const containerRef = React.useRef(null);
52944
52947
  const [neuVars, setNeuVars] = React.useState({});
52945
52948
  const errorId = `${alias}-error`;
52949
+ const labelId = `${alias}InputLabel`;
52946
52950
  React.useEffect(() => {
52947
52951
  if (inputtype === 'range-neumorphic' && containerRef.current) {
52948
52952
  const parentBg = getNearestParentBackground(containerRef.current.parentElement);
@@ -52966,13 +52970,9 @@ const RangeSlider = (_a) => {
52966
52970
  box-shadow: inset 2px 2px 5px var(--neu-shadow-dark), inset -2px -2px 5px var(--neu-shadow-light);
52967
52971
  border-radius: 99px;
52968
52972
  }
52969
- .neu-slider .rt-SliderRange {
52970
- background-color: var(--neu-accent);
52971
- border-radius: 99px;
52972
- }
52973
+ .neu-slider .rt-SliderRange { background-color: var(--neu-accent); border-radius: 99px; }
52973
52974
  .neu-slider .rt-SliderThumb {
52974
- background-color: var(--neu-bg);
52975
- border: 2px solid var(--neu-bg);
52975
+ background-color: var(--neu-bg); border: 2px solid var(--neu-bg);
52976
52976
  width: 24px; height: 24px;
52977
52977
  box-shadow: 3px 3px 6px var(--neu-shadow-dark), -3px -3px 6px var(--neu-shadow-light);
52978
52978
  }
@@ -52980,31 +52980,22 @@ const RangeSlider = (_a) => {
52980
52980
  .neu-slider .rt-SliderThumb:active { transform: scale(0.95); cursor: grabbing; }
52981
52981
 
52982
52982
  /* Outline */
52983
- .outline-slider .rt-SliderTrack {
52984
- height: 4px; background-color: transparent; border: 1px solid var(--gray-8);
52985
- }
52983
+ .outline-slider .rt-SliderTrack { height: 4px; background-color: transparent; border: 1px solid var(--gray-8); }
52986
52984
  .outline-slider .rt-SliderRange { background-color: var(--accent-9); }
52987
- .outline-slider .rt-SliderThumb {
52988
- background-color: white; border: 2px solid var(--accent-9); box-shadow: none;
52989
- }
52985
+ .outline-slider .rt-SliderThumb { background-color: white; border: 2px solid var(--accent-9); box-shadow: none; }
52990
52986
  ` } }),
52991
- React.createElement(s, { name: alias, id: `${alias}FormInput`, disabled: readOnly, "aria-describedby": `${alias}InputLabel`, min: minvalue, max: maxvalue, step: stepvalue, minStepsBetweenThumbs: minStepsBetweenThumbs, value: sliderValue, onValueChange: (val) => {
52992
- // LOGIC SYNOPSIS:
52993
- // If Range, set value as array.
52994
- // If Slider, set value as first value.
52987
+ React.createElement(s, { name: alias, id: `${alias}FormInput`, disabled: readOnly, "aria-labelledby": labelId, min: minvalue, max: maxvalue, step: stepvalue, minStepsBetweenThumbs: minStepsBetweenThumbs, value: sliderValue, onValueChange: (val) => {
52995
52988
  setFieldValue(alias, isRange ? val : val[0]);
52996
52989
  }, onValueCommit: () => setFieldTouched(alias, true, false), className: inputtype === 'range-neumorphic' ? 'neu-slider' : inputtype === 'range-outline' ? 'outline-slider' : '', style: neuVars }),
52997
52990
  React.createElement("div", null,
52998
- React.createElement(p$d, { id: `${alias}InputLabel`, as: "label", size: "2", weight: "bold", htmlFor: `${alias}FormInput` }, inputLabel),
52991
+ React.createElement(p$d, { id: labelId, as: "div", size: "2", weight: "bold", style: { display: 'inline' } }, inputLabel),
52999
52992
  "\u00A0",
53000
- isHinted ?
53001
- React.createElement(React.Fragment, null,
53002
- React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
53003
- React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
53004
- React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))) : null,
53005
- hasError ?
53006
- React.createElement(React.Fragment, null,
53007
- React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || (typeof fieldError === 'string' ? fieldError : `Required field`))) : null))));
52993
+ isHinted && (React.createElement(React.Fragment, null,
52994
+ React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
52995
+ React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
52996
+ React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } }))))),
52997
+ hasError && (React.createElement(React.Fragment, null,
52998
+ React.createElement("p", { id: errorId, className: 'core-input-label-error' }, errorText || (typeof fieldError === 'string' ? fieldError : `Required field`))))))));
53008
52999
  };
53009
53000
 
53010
53001
  const Toggle = (_a) => {
@@ -53175,7 +53166,7 @@ const ConditionalTrigger = (_a) => {
53175
53166
  const fieldValue = formik.getIn(values, alias);
53176
53167
  const fieldTouched = formik.getIn(touched, alias);
53177
53168
  const fieldError = formik.getIn(errors, alias);
53178
- const inputId = `${alias}FormInput` || crypto.randomUUID();
53169
+ const inputId = `${alias}FormInput`;
53179
53170
  const errorId = `${alias}-error`;
53180
53171
  // Trigger (Equality) Logic :: If current Field value === trigger value
53181
53172
  const isOpen = fieldValue === triggerValue;
@@ -53186,19 +53177,19 @@ const ConditionalTrigger = (_a) => {
53186
53177
  const isNeumorphic = inputtype.includes('neumorphic');
53187
53178
  const hasError = Boolean(fieldTouched && fieldError);
53188
53179
  const renderTrigger = () => {
53189
- switch (true) {
53190
- case inputtype.includes('conditionalcheckbox'):
53191
- return (React.createElement(p$5, { align: "center", gap: "2", style: { cursor: 'pointer' } },
53192
- React.createElement(c$2, { name: alias, disabled: readOnly, checked: fieldValue === true, onCheckedChange: (checked) => handleChange(!!checked), id: inputId })));
53193
- case inputtype.includes('conditionalselect'):
53194
- return (React.createElement(p$5, { direction: "column", gap: "1", style: { width: '100%' } },
53195
- React.createElement(C$1, { name: alias, disabled: readOnly, value: fieldValue, defaultValue: placeholder || "", onValueChange: handleChange },
53196
- React.createElement(u$1, { id: inputId, variant: isNeumorphic ? 'soft' : 'surface', style: { width: '100%' } }),
53197
- React.createElement(g, null, inputOptions.map((inputoption) => (React.createElement(v, { key: String(inputoption.optionvalue) || crypto.randomUUID(), value: String(inputoption.optionvalue) }, inputoption.text)))))));
53198
- case inputtype.includes('conditionaltoggle'):
53199
- default:
53200
- return (React.createElement(p$5, { justify: "between", align: "center", style: { width: '100%' } },
53201
- React.createElement(i$1, { id: inputId, name: alias, disabled: readOnly, checked: fieldValue === true, onCheckedChange: (checked) => handleChange(!!checked), variant: isNeumorphic ? 'soft' : 'surface' })));
53180
+ if (inputtype.includes('conditionalcheckbox') || inputtype.includes('conditional-checkbox')) {
53181
+ return (React.createElement(p$5, { align: "center", gap: "2", style: { cursor: 'pointer' } },
53182
+ React.createElement(c$2, { name: alias, disabled: readOnly, checked: fieldValue === true, onCheckedChange: (checked) => handleChange(!!checked), id: inputId })));
53183
+ }
53184
+ else if (inputtype.includes('conditionalselect') || inputtype.includes('conditional-select')) {
53185
+ return (React.createElement(p$5, { direction: "column", gap: "1", style: { width: '100%' } },
53186
+ React.createElement(C$1, { name: alias, disabled: readOnly, value: fieldValue !== undefined ? String(fieldValue) : undefined, onValueChange: handleChange },
53187
+ React.createElement(u$1, { id: inputId, variant: isNeumorphic ? 'soft' : 'surface', style: { width: '100%' }, placeholder: placeholder || "Select" }),
53188
+ React.createElement(g, null, inputOptions.map((inputoption, idx) => (React.createElement(v, { key: `${alias}-opt-${inputoption.optionid || idx}`, value: String(inputoption.optionvalue) }, inputoption.text)))))));
53189
+ }
53190
+ else {
53191
+ return (React.createElement(p$5, { justify: "between", align: "center", style: { width: '100%' } },
53192
+ React.createElement(i$1, { id: inputId, name: alias, disabled: readOnly, checked: fieldValue === true, onCheckedChange: (checked) => handleChange(!!checked), variant: isNeumorphic ? 'soft' : 'surface' })));
53202
53193
  }
53203
53194
  };
53204
53195
  const containerStyle = getDesignStyles(inputtype, isOpen);
@@ -53209,20 +53200,16 @@ const ConditionalTrigger = (_a) => {
53209
53200
  React.createElement("div", { style: animationStyles.inner },
53210
53201
  React.createElement(p$8, { style: {
53211
53202
  paddingTop: '8px',
53212
- borderTop: isOpen && !isNeumorphic ? '1px dashed var(--gray-6)' : 'none'
53213
- } }, children))),
53214
- React.createElement("div", null,
53203
+ borderTop: isOpen && !isNeumorphic ? '1px dashed var(--gray-6)' : 'none',
53204
+ } },
53205
+ React.createElement("div", { style: { display: 'grid', gridTemplateColumns: 'repeat(12, 1fr)', gap: '16px', width: '100%' } }, children)))),
53206
+ React.createElement("div", { style: { marginTop: '8px' } },
53215
53207
  React.createElement(p$d, { id: `${alias}InputLabel`, as: "label", size: "2", weight: "bold", htmlFor: inputId, style: { cursor: 'pointer' } }, inputLabel),
53216
53208
  "\u00A0",
53217
- isHinted ?
53218
- React.createElement(React.Fragment, null,
53219
- React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
53220
- React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
53221
- React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))) : null,
53222
- hasError ?
53223
- React.createElement(React.Fragment, null,
53224
- React.createElement("p", { id: errorId, className: 'core-input-label-error' }, typeof fieldError === 'string' ? React.createElement(React.Fragment, null, errorText || "Required field")
53225
- : 'Invalid file selection')) : null))));
53209
+ isHinted && (React.createElement(e, { content: hintText || "No hint available", align: "start", sideOffset: 5, className: "core-input-tooltip" },
53210
+ React.createElement("a", { href: hintUrl || "", target: "_blank", rel: "noopener noreferrer" },
53211
+ React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),
53212
+ hasError && (React.createElement("p", { id: errorId, className: 'core-input-label-error' }, typeof fieldError === 'string' ? React.createElement(React.Fragment, null, errorText || "Required field") : 'Invalid selection'))))));
53226
53213
  };
53227
53214
 
53228
53215
  const Row = ({ children, className, gap = "4" }) => {
@@ -53351,7 +53338,7 @@ const AccordionItem = ({ sectionId, title, children, disabled = false, icon }) =
53351
53338
  React.createElement(p$d, { size: "3", weight: "bold", style: { color: 'var(--accordion-title-color, var(--gray-12))' } }, title)),
53352
53339
  React.createElement(Icon, { name: "chevrondown", height: "20", width: "20", className: "v-accordion-chevron" }))),
53353
53340
  React.createElement(Content2$3, { className: "v-accordion-content", style: { overflow: 'hidden' } },
53354
- React.createElement("div", { style: { padding: '0 16px 16px 16px' } },
53341
+ React.createElement("div", { style: { padding: '24px 16px 24px 16px' } },
53355
53342
  React.createElement(p$d, { size: "2", color: "gray", as: "div" }, children)))));
53356
53343
  };
53357
53344
 
@@ -53511,7 +53498,7 @@ const Codex = ({ design = 'outline', defaultStepId, brandColor, width = 12, newR
53511
53498
  step.description && (React.createElement(p$d, { size: "1", color: "gray", style: { display: 'block', marginTop: '4px' } }, step.description)))),
53512
53499
  index < steps.length - 1 && (React.createElement("div", { className: `v-step-line ${isCompleted ? 'completed' : 'pending'}` }))));
53513
53500
  }))),
53514
- React.createElement(p$8, { style: { position: 'relative' } }, children)))));
53501
+ React.createElement(p$8, { style: { position: 'relative', marginTop: '33px', marginBottom: '33px' } }, children)))));
53515
53502
  };
53516
53503
  const CodexItem = ({ stepId, children, }) => {
53517
53504
  const { activeStepId } = React.useContext(CodexContext);
@@ -53520,7 +53507,7 @@ const CodexItem = ({ stepId, children, }) => {
53520
53507
  return (React.createElement("div", { className: "v-step-content-animation", style: { width: '100%' } }, children));
53521
53508
  };
53522
53509
 
53523
- const CodexControls = ({ nextStepId, prevStepId, nextLabel = "Continue", prevLabel = "Back", finishLabel = "Submit", prevIcon = "doublearrowleft", nextIcon = "doublearrowright", finishIcon = "paperplane", onSubmit = false, onNext, onPrev, onFinish }) => {
53510
+ const CodexControls = ({ nextStepId, prevStepId, nextLabel = "Continue", prevLabel = "Back", finishLabel = "Submit", prevIcon = "doublearrowleft", nextIcon = "doublearrowright", finishIcon = "paperplane", onSubmit = true, onNext, onPrev, onFinish }) => {
53524
53511
  const { setActiveStepId, brandColor } = useStepper();
53525
53512
  const handlePrev = () => {
53526
53513
  if (onPrev)
@@ -53562,11 +53549,12 @@ const SectionTitle = ({ title, width = 12, newRow = true, size = "5", subsize =
53562
53549
  center: 'center',
53563
53550
  right: 'end'
53564
53551
  };
53565
- return (React.createElement(Column, { span: width, newLine: newRow },
53552
+ return (React.createElement(Column, { span: width, newLine: newRow, style: { marginBottom: '23px', marginTop: '23px' } },
53566
53553
  React.createElement(p$5, { direction: "column", gap: "2", className: className, style: {
53567
53554
  width: '100%',
53568
53555
  boxSizing: 'border-box',
53569
- marginBottom: 'var(--space-2)',
53556
+ marginTop: '23px',
53557
+ marginBottom: '23px',
53570
53558
  textAlign: align,
53571
53559
  backgroundColor: backgroundColor || 'transparent',
53572
53560
  padding: backgroundColor ? 'var(--space-3) var(--space-4)' : '0',
@@ -53653,7 +53641,7 @@ const Teletraan1 = ({ xFormModel, readOnlyMode = false, displayMode = 'codice',
53653
53641
  case checkboxInputType.includes(normalizedType):
53654
53642
  return React.createElement(CheckboxGroupInput, Object.assign({}, layoutProps, { inputOptions: inputOptions || [InputOptionsPlaceholder] }));
53655
53643
  case conditionalInputType.includes(normalizedType):
53656
- return React.createElement(ConditionalTrigger, Object.assign({}, layoutProps, { inputOptions: inputOptions, triggerValue: defaultValue, children: toggledInput }));
53644
+ return React.createElement(ConditionalTrigger, Object.assign({}, layoutProps, { inputOptions: inputOptions, triggerValue: triggerValue, children: toggledInput }));
53657
53645
  case datePickerInputType.includes(normalizedType):
53658
53646
  return React.createElement(DatePicker, Object.assign({}, layoutProps, { placeholder: inputPlaceholder }));
53659
53647
  case dateRangePickerInputType.includes(normalizedType):
@@ -53690,7 +53678,7 @@ const Teletraan1 = ({ xFormModel, readOnlyMode = false, displayMode = 'codice',
53690
53678
  case rangeSliderInputType.includes(normalizedType):
53691
53679
  return React.createElement(RangeSlider, Object.assign({}, layoutProps, { stepvalue: Number(stepValue), minvalue: Number(inputMinValue), maxvalue: Number(inputMaxValue) }));
53692
53680
  case toggleInputType.includes(normalizedType):
53693
- return React.createElement(Toggle, Object.assign({}, layoutProps, { icon: defaultValue }));
53681
+ return React.createElement(Toggle, Object.assign({}, layoutProps, { icon: "layers" }));
53694
53682
  default:
53695
53683
  return React.createElement(Input$2, Object.assign({}, layoutProps, { placeholder: inputPlaceholder }));
53696
53684
  }
@@ -53707,8 +53695,8 @@ const Teletraan1 = ({ xFormModel, readOnlyMode = false, displayMode = 'codice',
53707
53695
  switch (displayMode) {
53708
53696
  case 'dual':
53709
53697
  return (React.createElement(React.Fragment, null,
53710
- React.createElement("div", { style: { display: 'flex', alignItems: 'center', gap: '12px', marginBottom: '20px' } },
53711
- React.createElement("span", null, "Dual Display"),
53698
+ React.createElement("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '12px', marginBottom: '20px' } },
53699
+ React.createElement("span", { style: { fontWeight: 600 } }, "Dual Display"),
53712
53700
  React.createElement("div", { className: "neu-toggle-wrapper", style: Object.assign(Object.assign({}, neuVars), { opacity: readOnlyMode ? 0.6 : 1, pointerEvents: readOnlyMode ? 'none' : 'auto' }), onClick: () => setDualToggled(!dualToggled) },
53713
53701
  React.createElement("style", { dangerouslySetInnerHTML: { __html: `
53714
53702
  .neu-toggle-wrapper { isolation: isolate; position: relative; height: 30px; width: 60px; border-radius: 15px; overflow: hidden; cursor: pointer; background: var(--neu-bg); box-shadow: -8px -4px 8px 0px var(--neu-shadow-light), 8px 4px 12px 0px var(--neu-shadow-dark), 4px 4px 4px 0px var(--neu-shadow-dark) inset, -4px -4px 4px 0px var(--neu-shadow-light) inset; }
@@ -53720,23 +53708,23 @@ const Teletraan1 = ({ xFormModel, readOnlyMode = false, displayMode = 'codice',
53720
53708
  React.createElement("div", { className: "neu-indicator" })),
53721
53709
  React.createElement(Icon, { name: "layers", height: "20", width: "20", color: brandColor, style: { opacity: readOnlyMode ? 0.5 : 1, cursor: 'pointer' }, onClick: () => setDualToggled(!dualToggled) })),
53722
53710
  dualToggled ?
53723
- React.createElement(Accordion, { allowMultiple: true, brandcolor: brandColor, titleColor: '#ffffff' }, xFormModel.model.map((formsection) => (React.createElement(AccordionItem, { key: formsection.sectionId, sectionId: String(formsection.sectionId), title: formsection.title },
53711
+ React.createElement(Accordion, { allowMultiple: true, brandcolor: brandColor, titleColor: '#ffffff' }, xFormModel.model.map((formsection) => (React.createElement(AccordionItem, { key: formsection.sectionId, sectionId: String(formsection.sectionId), title: formsection.title, icon: React.createElement(Icon, { name: formsection.icon || "fontfamily" }) },
53724
53712
  React.createElement(Row, { key: formsection.sectionId }, renderQueries(formsection.queries))))))
53725
53713
  :
53726
53714
  xFormModel.model.map((formsection) => (React.createElement(React.Fragment, { key: formsection.sectionId || crypto.randomUUID() },
53727
- React.createElement(SectionTitle, { title: formsection.title, icon: React.createElement(Icon, { name: String(formsection.icon) }) }),
53715
+ React.createElement(SectionTitle, { title: formsection.title, icon: React.createElement(Icon, { name: formsection.icon || "fontfamily" }) }),
53728
53716
  React.createElement(Row, null, renderQueries(formsection.queries)))))));
53729
53717
  case 'accordion':
53730
- return (React.createElement(Accordion, { allowMultiple: true, brandcolor: brandColor, titleColor: '#ffffff' }, xFormModel.model.map((formsection) => (React.createElement(AccordionItem, { key: formsection.sectionId, sectionId: String(formsection.sectionId), title: formsection.title },
53718
+ return (React.createElement(Accordion, { allowMultiple: true, brandcolor: brandColor, titleColor: '#ffffff' }, xFormModel.model.map((formsection) => (React.createElement(AccordionItem, { key: formsection.sectionId, sectionId: String(formsection.sectionId), title: formsection.title, icon: React.createElement(Icon, { name: formsection.icon || "fontfamily" }) },
53731
53719
  React.createElement(Row, { key: formsection.sectionId }, renderQueries(formsection.queries)))))));
53732
53720
  case 'codex':
53733
- return (React.createElement(Codex, { brandColor: brandColor }, xFormModel.model.map((formsection, index, array) => (React.createElement(CodexItem, { key: formsection.sectionId, stepId: String(formsection.sectionId), title: formsection.title },
53721
+ return (React.createElement(Codex, { brandColor: brandColor }, xFormModel.model.map((formsection, index, array) => (React.createElement(CodexItem, { key: formsection.sectionId, stepId: String(formsection.sectionId), title: formsection.title, icon: React.createElement(Icon, { name: formsection.icon || "fontfamily" }) },
53734
53722
  React.createElement(Row, { key: formsection.sectionId }, renderQueries(formsection.queries)),
53735
53723
  React.createElement(CodexControls, { prevStepId: index > 0 ? String(array[index - 1].sectionId) : undefined, nextStepId: index < array.length - 1 ? String(array[index + 1].sectionId) : undefined, onPrev: onPrev, onNext: onNext, onFinish: onFinish }))))));
53736
53724
  case 'codice':
53737
53725
  default:
53738
53726
  return (React.createElement(React.Fragment, { key: xFormModel.uuid }, xFormModel.model.map((formsection) => (React.createElement(React.Fragment, { key: formsection.sectionId || crypto.randomUUID() },
53739
- React.createElement(SectionTitle, { title: formsection.title, icon: React.createElement(Icon, { name: String(formsection.icon) }) }),
53727
+ React.createElement(SectionTitle, { backgroundColor: brandColor, title: formsection.title, icon: React.createElement(Icon, { name: String(formsection.icon) }) }),
53740
53728
  React.createElement(Row, null, renderQueries(formsection.queries)))))));
53741
53729
  }
53742
53730
  };
@@ -53972,7 +53960,8 @@ const DateTimePicker = ({ alias, inputLabel, inputtype = 'datetimepicker-outline
53972
53960
  const fieldValue = formik.getIn(values, alias);
53973
53961
  const fieldTouched = formik.getIn(touched, alias);
53974
53962
  const fieldError = formik.getIn(errors, alias);
53975
- const inputId = `${alias}FormInput` || crypto.randomUUID();
53963
+ const inputId = `${alias}FormInput`;
53964
+ const labelId = `${alias}InputLabel`;
53976
53965
  const hasError = Boolean(fieldTouched && fieldError);
53977
53966
  const containerRef = React.useRef(null);
53978
53967
  const [neuVars, setNeuVars] = React.useState({});
@@ -54081,11 +54070,11 @@ const DateTimePicker = ({ alias, inputLabel, inputtype = 'datetimepicker-outline
54081
54070
  React.createElement(DatePicker$1, { id: `${alias}DatePicker`, selected: (fieldValue && new Date(fieldValue)) || null, onChange: (val) => {
54082
54071
  setFieldValue(alias, val);
54083
54072
  setFieldTouched(alias, true, false);
54084
- }, showTimeSelect: true, timeFormat: "HH:mm", timeIntervals: 15, dateFormat: "MMM d, yyyy h:mm aa", disabled: readOnly, placeholderText: placeholder, customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
54073
+ }, showTimeSelect: true, timeFormat: "HH:mm", timeIntervals: 15, dateFormat: "MMM d, yyyy h:mm aa", disabled: readOnly, placeholderText: placeholder, "aria-labelledby": labelId, customInput: React.createElement(u, { id: inputId, variant: "surface", style: getInputStyles() },
54085
54074
  React.createElement(c, null,
54086
54075
  React.createElement(Icon, { name: "clock", height: "16", width: "16", style: { color: 'var(--gray-10)' } }))) }),
54087
54076
  React.createElement("div", null,
54088
- inputLabel && React.createElement(p$d, { size: "2", weight: "bold", as: "label", htmlFor: inputId }, inputLabel),
54077
+ inputLabel && React.createElement(p$d, { id: labelId, size: "2", weight: "bold", as: "div", style: { display: 'inline' } }, inputLabel),
54089
54078
  isHinted && (React.createElement(e, { content: hintText || "No hint", align: "start" },
54090
54079
  React.createElement("a", { href: hintUrl || "#", target: "_blank", rel: "noopener noreferrer", style: { marginLeft: 6 } },
54091
54080
  React.createElement(Icon, { name: "questionmarkcircled", height: "16", width: "16", style: { cursor: 'pointer', color: 'gray' } })))),