@app-studio/web 0.9.24 → 0.9.25

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 (34) hide show
  1. package/dist/components/Background/Background/Background.props.d.ts +49 -0
  2. package/dist/components/Background/Background/Background.style.d.ts +9 -0
  3. package/dist/components/Background/Background/Background.type.d.ts +1 -1
  4. package/dist/components/Background/Background/Background.view.d.ts +2 -1
  5. package/dist/components/Background/Background.d.ts +1 -0
  6. package/dist/components/Background/index.d.ts +1 -1
  7. package/dist/components/ProgressBar/ProgressBar/ProgressBar.props.d.ts +35 -0
  8. package/dist/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +4 -0
  9. package/dist/components/ProgressBar/ProgressBar.d.ts +3 -0
  10. package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.props.d.ts +12 -0
  11. package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.style.d.ts +10 -0
  12. package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.type.d.ts +7 -0
  13. package/dist/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +3 -0
  14. package/dist/components/StatusIndicator/StatusIndicator.d.ts +3 -0
  15. package/dist/{hooks → components/adk}/useAdk.d.ts +1 -1
  16. package/dist/components/index.d.ts +4 -0
  17. package/dist/pages/progressBar.page.d.ts +3 -0
  18. package/dist/pages/statusIndicator.page.d.ts +3 -0
  19. package/dist/web.cjs.development.js +253 -46
  20. package/dist/web.cjs.development.js.map +1 -1
  21. package/dist/web.cjs.production.min.js +1 -1
  22. package/dist/web.cjs.production.min.js.map +1 -1
  23. package/dist/web.esm.js +252 -47
  24. package/dist/web.esm.js.map +1 -1
  25. package/dist/web.umd.development.js +253 -46
  26. package/dist/web.umd.development.js.map +1 -1
  27. package/dist/web.umd.production.min.js +1 -1
  28. package/dist/web.umd.production.min.js.map +1 -1
  29. package/docs/adk-components.md +40 -37
  30. package/docs/adk-quick-start.md +11 -37
  31. package/package.json +1 -1
  32. package/docs/adk-customization-guide.md +0 -204
  33. package/docs/adk-customization-summary.md +0 -157
  34. /package/dist/{hooks → components/AudioInput}/useAudioRecording.d.ts +0 -0
package/dist/web.esm.js CHANGED
@@ -22710,6 +22710,55 @@ var PaginationComponent = _ref => {
22710
22710
  };
22711
22711
  var Pagination = PaginationComponent;
22712
22712
 
22713
+ var _excluded$16 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
22714
+ var ProgressBarView = _ref => {
22715
+ var {
22716
+ value = 0,
22717
+ max = 100,
22718
+ color = 'theme.primary',
22719
+ backgroundColor = 'color.gray.200',
22720
+ height = 8,
22721
+ radius = 4,
22722
+ views,
22723
+ themeMode: elementMode
22724
+ } = _ref,
22725
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22726
+ var {
22727
+ getColor,
22728
+ themeMode
22729
+ } = useTheme();
22730
+ var currentMode = elementMode ? elementMode : themeMode;
22731
+ var percentage = Math.min(100, Math.max(0, value / max * 100));
22732
+ var trackColor = getColor(backgroundColor, {
22733
+ themeMode: currentMode
22734
+ });
22735
+ var barColor = getColor(color, {
22736
+ themeMode: currentMode
22737
+ });
22738
+ return /*#__PURE__*/React.createElement(View, Object.assign({
22739
+ role: "progressbar",
22740
+ "aria-valuenow": value,
22741
+ "aria-valuemin": 0,
22742
+ "aria-valuemax": max,
22743
+ width: "100%",
22744
+ height: height,
22745
+ backgroundColor: trackColor,
22746
+ borderRadius: radius,
22747
+ overflow: "hidden"
22748
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
22749
+ width: percentage + "%",
22750
+ height: "100%",
22751
+ backgroundColor: barColor,
22752
+ borderRadius: radius
22753
+ }, views == null ? void 0 : views.bar)));
22754
+ };
22755
+
22756
+ /**
22757
+ * ProgressBar component displays completion status of a task or process.
22758
+ */
22759
+ var ProgressBarComponent = props => (/*#__PURE__*/React.createElement(ProgressBarView, Object.assign({}, props)));
22760
+ var ProgressBar = ProgressBarComponent;
22761
+
22713
22762
  /**
22714
22763
  * Separator Styles
22715
22764
  *
@@ -22756,7 +22805,7 @@ var DefaultSeparatorStyles = {
22756
22805
  }
22757
22806
  };
22758
22807
 
22759
- var _excluded$16 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22808
+ var _excluded$17 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22760
22809
  var SeparatorView = _ref => {
22761
22810
  var {
22762
22811
  orientation = 'horizontal',
@@ -22768,7 +22817,7 @@ var SeparatorView = _ref => {
22768
22817
  decorative = false,
22769
22818
  views
22770
22819
  } = _ref,
22771
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22820
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
22772
22821
  // Access theme if needed for future enhancements
22773
22822
  var {
22774
22823
  themeMode
@@ -22836,6 +22885,82 @@ var SeparatorComponent = props => {
22836
22885
  var Separator = SeparatorComponent;
22837
22886
  var Divider = SeparatorComponent;
22838
22887
 
22888
+ var getThemes$2 = themeMode => {
22889
+ return {
22890
+ default: {
22891
+ indicator: {
22892
+ backgroundColor: 'color.gray.400'
22893
+ },
22894
+ label: {
22895
+ color: 'color.gray.700'
22896
+ }
22897
+ },
22898
+ info: {
22899
+ indicator: {
22900
+ backgroundColor: 'color.blue.500'
22901
+ },
22902
+ label: {
22903
+ color: 'color.blue.700'
22904
+ }
22905
+ },
22906
+ success: {
22907
+ indicator: {
22908
+ backgroundColor: 'color.green.500'
22909
+ },
22910
+ label: {
22911
+ color: 'color.green.700'
22912
+ }
22913
+ },
22914
+ warning: {
22915
+ indicator: {
22916
+ backgroundColor: 'color.orange.500'
22917
+ },
22918
+ label: {
22919
+ color: 'color.orange.700'
22920
+ }
22921
+ },
22922
+ error: {
22923
+ indicator: {
22924
+ backgroundColor: 'color.red.500'
22925
+ },
22926
+ label: {
22927
+ color: 'color.red.700'
22928
+ }
22929
+ }
22930
+ };
22931
+ };
22932
+
22933
+ var _excluded$18 = ["label", "status", "views", "themeMode"];
22934
+ var StatusIndicatorView = _ref => {
22935
+ var {
22936
+ label,
22937
+ status = 'default',
22938
+ views,
22939
+ themeMode: elementMode
22940
+ } = _ref,
22941
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
22942
+ var {
22943
+ themeMode
22944
+ } = useTheme();
22945
+ var themes = getThemes$2();
22946
+ return /*#__PURE__*/React.createElement(Horizontal, Object.assign({
22947
+ alignItems: "center",
22948
+ gap: 8,
22949
+ role: "status-indicator"
22950
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
22951
+ role: "status-dot",
22952
+ width: "8px",
22953
+ height: "8px",
22954
+ borderRadius: "50%"
22955
+ }, themes[status].indicator, views == null ? void 0 : views.indicator)), label && (/*#__PURE__*/React.createElement(Text, Object.assign({
22956
+ role: "status-label",
22957
+ fontSize: "14px",
22958
+ lineHeight: "20px"
22959
+ }, themes[status].label, views == null ? void 0 : views.label), label)));
22960
+ };
22961
+
22962
+ var StatusIndicator = props => (/*#__PURE__*/React.createElement(StatusIndicatorView, Object.assign({}, props)));
22963
+
22839
22964
  var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
22840
22965
  if (defaultExpanded === void 0) {
22841
22966
  defaultExpanded = true;
@@ -23006,7 +23131,7 @@ var SidebarTransitions = {
23006
23131
  bounce: 'width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55)'
23007
23132
  };
23008
23133
 
23009
- var _excluded$17 = ["children", "showToggleButton", "views"],
23134
+ var _excluded$19 = ["children", "showToggleButton", "views"],
23010
23135
  _excluded2$g = ["children", "views"],
23011
23136
  _excluded3$a = ["children", "views"],
23012
23137
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -23039,7 +23164,7 @@ var SidebarHeader = _ref2 => {
23039
23164
  showToggleButton = true,
23040
23165
  views
23041
23166
  } = _ref2,
23042
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$17);
23167
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23043
23168
  var {
23044
23169
  isExpanded,
23045
23170
  toggleExpanded,
@@ -23194,7 +23319,7 @@ var SidebarView = _ref5 => {
23194
23319
  }))));
23195
23320
  };
23196
23321
 
23197
- var _excluded$18 = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23322
+ var _excluded$1a = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23198
23323
  /**
23199
23324
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
23200
23325
  */
@@ -23216,7 +23341,7 @@ var SidebarComponent = _ref => {
23216
23341
  breakpointBehavior = 'overlay',
23217
23342
  views
23218
23343
  } = _ref,
23219
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23344
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
23220
23345
  var {
23221
23346
  isExpanded,
23222
23347
  toggleExpanded,
@@ -23681,7 +23806,7 @@ var HandleIconStyles = {
23681
23806
  }
23682
23807
  };
23683
23808
 
23684
- var _excluded$19 = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23809
+ var _excluded$1b = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23685
23810
  _excluded2$h = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
23686
23811
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
23687
23812
  // Create context for the Resizable component
@@ -23726,7 +23851,7 @@ var ResizablePanel = _ref2 => {
23726
23851
  onCollapseChange,
23727
23852
  views
23728
23853
  } = _ref2,
23729
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23854
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
23730
23855
  var {
23731
23856
  orientation,
23732
23857
  registerPanel,
@@ -23941,7 +24066,7 @@ var ResizableView = _ref4 => {
23941
24066
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
23942
24067
  };
23943
24068
 
23944
- var _excluded$1a = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
24069
+ var _excluded$1c = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
23945
24070
  /**
23946
24071
  * Resizable component for creating resizable panel groups and layouts.
23947
24072
  */
@@ -23961,7 +24086,7 @@ var ResizableComponent = _ref => {
23961
24086
  keyboardResizeBy = 10,
23962
24087
  views
23963
24088
  } = _ref,
23964
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24089
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
23965
24090
  var {
23966
24091
  isResizing,
23967
24092
  setIsResizing,
@@ -24729,7 +24854,7 @@ var CommandFooterStyles = {
24729
24854
  color: 'color.gray.500'
24730
24855
  };
24731
24856
 
24732
- var _excluded$1b = ["value", "onValueChange", "placeholder", "views"],
24857
+ var _excluded$1d = ["value", "onValueChange", "placeholder", "views"],
24733
24858
  _excluded2$i = ["children", "views"],
24734
24859
  _excluded3$c = ["heading", "children", "views"],
24735
24860
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -24761,7 +24886,7 @@ var CommandInput = _ref2 => {
24761
24886
  placeholder = 'Type a command or search...',
24762
24887
  views
24763
24888
  } = _ref2,
24764
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
24889
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
24765
24890
  var inputRef = useRef(null);
24766
24891
  // Focus input when component mounts
24767
24892
  React.useEffect(() => {
@@ -24944,7 +25069,7 @@ var CommandView = _ref7 => {
24944
25069
  })))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
24945
25070
  };
24946
25071
 
24947
- var _excluded$1c = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
25072
+ var _excluded$1e = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
24948
25073
  /**
24949
25074
  * Command component for displaying a command palette with search functionality.
24950
25075
  */
@@ -24962,7 +25087,7 @@ var CommandComponent = _ref => {
24962
25087
  footer,
24963
25088
  views
24964
25089
  } = _ref,
24965
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
25090
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24966
25091
  var {
24967
25092
  search,
24968
25093
  setSearch,
@@ -25190,7 +25315,7 @@ var getArrowStyles = position => {
25190
25315
  }
25191
25316
  };
25192
25317
 
25193
- var _excluded$1d = ["children", "views", "asChild"],
25318
+ var _excluded$1f = ["children", "views", "asChild"],
25194
25319
  _excluded2$j = ["children", "views"],
25195
25320
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
25196
25321
  // Create context for the Tooltip
@@ -25226,7 +25351,7 @@ var TooltipTrigger = _ref2 => {
25226
25351
  views,
25227
25352
  asChild = false
25228
25353
  } = _ref2,
25229
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
25354
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
25230
25355
  var {
25231
25356
  openTooltip,
25232
25357
  closeTooltip,
@@ -25416,7 +25541,7 @@ var TooltipView = _ref4 => {
25416
25541
  }, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))))));
25417
25542
  };
25418
25543
 
25419
- var _excluded$1e = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25544
+ var _excluded$1g = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25420
25545
  /**
25421
25546
  * Tooltip component for displaying additional information when hovering over an element.
25422
25547
  * Supports configurable positions, delays, and styling.
@@ -25436,7 +25561,7 @@ var TooltipComponent = _ref => {
25436
25561
  isDisabled = false,
25437
25562
  views
25438
25563
  } = _ref,
25439
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
25564
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
25440
25565
  var tooltipState = useTooltipState({
25441
25566
  defaultOpen,
25442
25567
  openDelay,
@@ -25909,7 +26034,7 @@ var TreeItemStates = {
25909
26034
  }
25910
26035
  };
25911
26036
 
25912
- var _excluded$1f = ["children", "views", "baseId"],
26037
+ var _excluded$1h = ["children", "views", "baseId"],
25913
26038
  _excluded2$k = ["value", "disabled", "icon", "children", "views", "style", "draggable"],
25914
26039
  _excluded3$e = ["children", "onClick", "onToggleExpand", "hasChildren", "expanded", "icon", "disabled", "isSelected", "isDragging", "size", "variant", "views"],
25915
26040
  _excluded4$b = ["children", "views"];
@@ -25945,7 +26070,7 @@ var TreeView = _ref2 => {
25945
26070
  baseId
25946
26071
  // themeMode, // If 'app-studio' ViewProps supports themeMode
25947
26072
  } = _ref2,
25948
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
26073
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25949
26074
  var {
25950
26075
  allowDragAndDrop,
25951
26076
  handleDrop,
@@ -26225,7 +26350,7 @@ var DataDrivenTreeView = _ref7 => {
26225
26350
  }))));
26226
26351
  };
26227
26352
 
26228
- var _excluded$1g = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26353
+ var _excluded$1i = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26229
26354
  /**
26230
26355
  * Tree component for displaying hierarchical data.
26231
26356
  * Supports both compound component pattern (using Tree.Item, Tree.ItemLabel, Tree.ItemContent)
@@ -26294,7 +26419,7 @@ var TreeComponent = _ref => {
26294
26419
  views // Global views configuration
26295
26420
  // Remaining ViewProps for the root TreeView container
26296
26421
  } = _ref,
26297
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
26422
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
26298
26423
  var treeState = useTreeState({
26299
26424
  defaultExpandedItems,
26300
26425
  expandedItems,
@@ -26867,7 +26992,7 @@ var FlowNodeStates = {
26867
26992
  }
26868
26993
  };
26869
26994
 
26870
- var _excluded$1h = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26995
+ var _excluded$1j = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26871
26996
  _excluded2$l = ["onZoomIn", "onZoomOut", "onReset", "views"],
26872
26997
  _excluded3$f = ["onClick", "views"],
26873
26998
  _excluded4$c = ["nodes", "edges", "selectedNodeId", "draggedNodeId", "onNodeSelect", "onAddNode", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "views", "baseId", "viewport", "onZoomIn", "onZoomOut", "onReset", "onViewportChange"];
@@ -26883,7 +27008,7 @@ var FlowNodeView = _ref => {
26883
27008
  variant = 'default',
26884
27009
  views
26885
27010
  } = _ref,
26886
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
27011
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26887
27012
  var handleClick = () => {
26888
27013
  if (onSelect) {
26889
27014
  onSelect(node.id);
@@ -27530,7 +27655,7 @@ var FlowView = _ref5 => {
27530
27655
  }, "Zoom: ", Math.round(viewport.zoom * 100), "%")));
27531
27656
  };
27532
27657
 
27533
- var _excluded$1i = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
27658
+ var _excluded$1k = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
27534
27659
  /**
27535
27660
  * Flow component for creating workflow diagrams.
27536
27661
  *
@@ -27587,7 +27712,7 @@ var FlowComponent = _ref => {
27587
27712
  onViewportChange,
27588
27713
  views
27589
27714
  } = _ref,
27590
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
27715
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
27591
27716
  var flowState = useFlowState({
27592
27717
  initialNodes: controlledNodes,
27593
27718
  initialEdges: controlledEdges,
@@ -27761,6 +27886,39 @@ var BackgroundImageStyles = {
27761
27886
  zIndex: 2
27762
27887
  }
27763
27888
  };
27889
+ /**
27890
+ * Background Video styles
27891
+ */
27892
+ var BackgroundVideoStyles = {
27893
+ container: {
27894
+ position: 'relative',
27895
+ display: 'flex',
27896
+ flexDirection: 'column',
27897
+ alignItems: 'center',
27898
+ justifyContent: 'center',
27899
+ overflow: 'hidden'
27900
+ },
27901
+ video: {
27902
+ position: 'absolute',
27903
+ top: 0,
27904
+ left: 0,
27905
+ width: '100%',
27906
+ height: '100%',
27907
+ objectFit: 'cover'
27908
+ },
27909
+ overlay: {
27910
+ position: 'absolute',
27911
+ top: 0,
27912
+ left: 0,
27913
+ width: '100%',
27914
+ height: '100%',
27915
+ pointerEvents: 'none'
27916
+ },
27917
+ content: {
27918
+ position: 'relative',
27919
+ zIndex: 2
27920
+ }
27921
+ };
27764
27922
 
27765
27923
  /**
27766
27924
  * Gradient Styles
@@ -27923,7 +28081,7 @@ var DefaultGradientStyles = {
27923
28081
  }
27924
28082
  };
27925
28083
 
27926
- var _excluded$1j = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
28084
+ var _excluded$1l = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27927
28085
  var GradientView = _ref => {
27928
28086
  var {
27929
28087
  type = 'linear',
@@ -27939,7 +28097,7 @@ var GradientView = _ref => {
27939
28097
  views,
27940
28098
  themeMode: elementMode
27941
28099
  } = _ref,
27942
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
28100
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27943
28101
  var {
27944
28102
  getColor,
27945
28103
  themeMode
@@ -28015,15 +28173,16 @@ var Gradient = props => {
28015
28173
  return /*#__PURE__*/React.createElement(GradientView, Object.assign({}, props));
28016
28174
  };
28017
28175
 
28018
- var _excluded$1k = ["children", "showRadialGradient", "views", "themeMode"],
28176
+ var _excluded$1m = ["children", "showRadialGradient", "views", "themeMode"],
28019
28177
  _excluded2$m = ["number", "children"],
28020
28178
  _excluded3$g = ["rows", "cols", "squareSize"],
28021
28179
  _excluded4$d = ["count", "colors", "speed", "shapes"],
28022
28180
  _excluded5$6 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
28023
28181
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
28024
28182
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
28025
- _excluded8$1 = ["children"],
28026
- _excluded9$1 = ["children", "views"];
28183
+ _excluded8$1 = ["children", "src", "autoPlay", "loop", "muted", "playsInline", "overlay", "blendMode", "views", "themeMode"],
28184
+ _excluded9$1 = ["children"],
28185
+ _excluded10$1 = ["children", "views"];
28027
28186
  // Background Context
28028
28187
  var BackgroundContext = /*#__PURE__*/createContext({});
28029
28188
  /**
@@ -28035,7 +28194,7 @@ var AuroraBackground = _ref => {
28035
28194
  showRadialGradient = true,
28036
28195
  views
28037
28196
  } = _ref,
28038
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
28197
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
28039
28198
  var gradientColors = {
28040
28199
  white: 'rgba(255,255,255,1)',
28041
28200
  transparent: 'rgba(255,255,255,0)'
@@ -28446,23 +28605,61 @@ var BackgroundImage = _ref7 => {
28446
28605
  style: overlayStyle
28447
28606
  }), children && (/*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundImageStyles.content, views == null ? void 0 : views.content), children)));
28448
28607
  };
28608
+ /**
28609
+ * Background Video Component
28610
+ */
28611
+ var BackgroundVideo = _ref8 => {
28612
+ var {
28613
+ children,
28614
+ src,
28615
+ autoPlay = true,
28616
+ loop = true,
28617
+ muted = true,
28618
+ playsInline = true,
28619
+ overlay,
28620
+ blendMode = 'normal',
28621
+ views,
28622
+ themeMode: elementMode
28623
+ } = _ref8,
28624
+ props = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28625
+ var {
28626
+ getColor
28627
+ } = useTheme();
28628
+ var overlayStyle = overlay ? Object.assign({}, BackgroundVideoStyles.overlay, {
28629
+ backgroundColor: getColor(overlay, elementMode ? {
28630
+ themeMode: elementMode
28631
+ } : undefined),
28632
+ mixBlendMode: blendMode
28633
+ }) : {};
28634
+ return /*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundVideoStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
28635
+ as: "video",
28636
+ src: src,
28637
+ autoPlay: autoPlay,
28638
+ loop: loop,
28639
+ muted: muted,
28640
+ playsInline: playsInline,
28641
+ style: BackgroundVideoStyles.video
28642
+ }, views == null ? void 0 : views.video)), overlay && /*#__PURE__*/React.createElement(View, Object.assign({
28643
+ style: overlayStyle
28644
+ }, views == null ? void 0 : views.overlay)), children && (/*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundVideoStyles.content, views == null ? void 0 : views.content), children)));
28645
+ };
28449
28646
  /**
28450
28647
  * Background Gradient Component
28451
28648
  * Uses the existing Gradient component as a background
28452
28649
  */
28453
- var BackgroundGradient = _ref8 => {
28650
+ var BackgroundGradient = _ref9 => {
28454
28651
  var {
28455
28652
  children
28456
- } = _ref8,
28457
- gradientProps = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28653
+ } = _ref9,
28654
+ gradientProps = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28458
28655
  return /*#__PURE__*/React.createElement(Gradient, Object.assign({}, gradientProps), children);
28459
28656
  };
28460
- var BackgroundViewBase = _ref9 => {
28657
+ var BackgroundViewBase = _ref10 => {
28461
28658
  var {
28462
28659
  children,
28463
28660
  views
28464
- } = _ref9,
28465
- props = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28661
+ } = _ref10,
28662
+ props = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
28466
28663
  return /*#__PURE__*/React.createElement(BackgroundContext.Provider, {
28467
28664
  value: {}
28468
28665
  }, /*#__PURE__*/React.createElement(View, Object.assign({}, DefaultBackgroundStyles.container, views == null ? void 0 : views.container, props), children));
@@ -28477,6 +28674,7 @@ BackgroundView.Particles = Particles;
28477
28674
  BackgroundView.Grid = Grid;
28478
28675
  BackgroundView.Ripples = Ripples;
28479
28676
  BackgroundView.Image = BackgroundImage;
28677
+ BackgroundView.Video = BackgroundVideo;
28480
28678
  BackgroundView.Gradient = BackgroundGradient;
28481
28679
 
28482
28680
  /**
@@ -28515,6 +28713,12 @@ BackgroundView.Gradient = BackgroundGradient;
28515
28713
  * </Background.Image>
28516
28714
  *
28517
28715
  * @example
28716
+ * // Background Video
28717
+ * <Background.Video src="/path/to/video.mp4" overlay="rgba(0,0,0,0.5)">
28718
+ * <Text color="white">Content over video</Text>
28719
+ * </Background.Video>
28720
+ *
28721
+ * @example
28518
28722
  * // Background Gradient
28519
28723
  * <Background.Gradient from="blue.500" to="purple.500" animate={true}>
28520
28724
  * <Text color="white">Content over gradient</Text>
@@ -28532,6 +28736,7 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
28532
28736
  Grid: BackgroundView.Grid,
28533
28737
  Ripples: BackgroundView.Ripples,
28534
28738
  Image: BackgroundView.Image,
28739
+ Video: BackgroundView.Video,
28535
28740
  Gradient: BackgroundView.Gradient
28536
28741
  });
28537
28742
  Background.displayName = 'Background';
@@ -28889,7 +29094,7 @@ var AgentRunProgress = _ref => {
28889
29094
  }, step.label))))));
28890
29095
  };
28891
29096
 
28892
- var _excluded$1l = ["placeholder", "showTimestamps", "showAvatars", "showTypingIndicator", "autoScroll", "enableFileUpload", "enableAudioRecording", "enableVideoRecording", "views", "containerProps", "colorScheme", "compact", "rounded", "ariaLabel", "ariaDescribedBy", "messages", "currentSession", "isLoading", "isTyping", "error", "inputValue", "selectedFiles", "sessionId", "sendMessage", "setInputValue", "handleFileSelect", "removeFile", "messagesEndRef", "setError", "setSelectedFiles"];
29097
+ var _excluded$1n = ["placeholder", "showTimestamps", "showAvatars", "showTypingIndicator", "autoScroll", "enableFileUpload", "enableAudioRecording", "enableVideoRecording", "views", "containerProps", "colorScheme", "compact", "rounded", "ariaLabel", "ariaDescribedBy", "messages", "currentSession", "isLoading", "isTyping", "error", "inputValue", "selectedFiles", "sessionId", "sendMessage", "setInputValue", "handleFileSelect", "removeFile", "messagesEndRef", "setError", "setSelectedFiles"];
28893
29098
  /**
28894
29099
  * AgentChat View Component
28895
29100
  *
@@ -28929,7 +29134,7 @@ var AgentChatView = _ref => {
28929
29134
  setError,
28930
29135
  setSelectedFiles
28931
29136
  } = _ref,
28932
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
29137
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
28933
29138
  /**
28934
29139
  * Auto-scroll to bottom when new messages arrive
28935
29140
  */
@@ -30070,7 +30275,7 @@ var SessionFilters = _ref => {
30070
30275
  }, "Clear all filters")))));
30071
30276
  };
30072
30277
 
30073
- var _excluded$1m = ["showSessionHistory", "enableSessionImport", "enableSessionExport", "enableSessionDelete", "enableSessionSearch", "showSessionInfo", "showSessionActions", "showCreateButton", "showRefreshButton", "compactMode", "views", "containerProps", "colorScheme", "layout", "showPreviews", "ariaLabel", "ariaDescribedBy", "sessions", "selectedSession", "isLoading", "isCreating", "error", "searchQuery", "filters", "sortOptions", "fetchSessions", "createSession", "selectSession", "deleteSession", "exportSession", "handleFileImport", "setSearchQuery", "setFilters", "setSortOptions", "setError", "fileInputRef", "handleFileSelect"];
30278
+ var _excluded$1o = ["showSessionHistory", "enableSessionImport", "enableSessionExport", "enableSessionDelete", "enableSessionSearch", "showSessionInfo", "showSessionActions", "showCreateButton", "showRefreshButton", "compactMode", "views", "containerProps", "colorScheme", "layout", "showPreviews", "ariaLabel", "ariaDescribedBy", "sessions", "selectedSession", "isLoading", "isCreating", "error", "searchQuery", "filters", "sortOptions", "fetchSessions", "createSession", "selectSession", "deleteSession", "exportSession", "handleFileImport", "setSearchQuery", "setFilters", "setSortOptions", "setError", "fileInputRef", "handleFileSelect"];
30074
30279
  /**
30075
30280
  * AgentSession View Component
30076
30281
  *
@@ -30118,7 +30323,7 @@ var AgentSessionView = _ref => {
30118
30323
  fileInputRef,
30119
30324
  handleFileSelect
30120
30325
  } = _ref,
30121
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
30326
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
30122
30327
  /**
30123
30328
  * Handle session creation
30124
30329
  */
@@ -31957,7 +32162,7 @@ var TraceVisualization = _ref => {
31957
32162
  }, renderVisualization())));
31958
32163
  };
31959
32164
 
31960
- var _excluded$1n = ["showTimeline", "showMetrics", "showVisualization", "enableFiltering", "enableExport", "enableSearch", "showEventDetails", "showPerformanceMetrics", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "events", "spans", "selectedEvent", "selectedSpan", "metrics", "isLoading", "error", "filter", "searchQuery", "currentVisualization", "fetchTraceEvents", "selectEvent", "selectSpan", "updateFilter", "exportTrace", "setSearchQuery", "setCurrentVisualization", "setError"];
32165
+ var _excluded$1p = ["showTimeline", "showMetrics", "showVisualization", "enableFiltering", "enableExport", "enableSearch", "showEventDetails", "showPerformanceMetrics", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "events", "spans", "selectedEvent", "selectedSpan", "metrics", "isLoading", "error", "filter", "searchQuery", "currentVisualization", "fetchTraceEvents", "selectEvent", "selectSpan", "updateFilter", "exportTrace", "setSearchQuery", "setCurrentVisualization", "setError"];
31961
32166
  /**
31962
32167
  * AgentTrace View Component
31963
32168
  *
@@ -31998,7 +32203,7 @@ var AgentTraceView = _ref => {
31998
32203
  setCurrentVisualization,
31999
32204
  setError
32000
32205
  } = _ref,
32001
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
32206
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1p);
32002
32207
  /**
32003
32208
  * Handle event selection
32004
32209
  */
@@ -33687,7 +33892,7 @@ var EvaluationMetrics = _ref => {
33687
33892
  }, "Run some evaluations to see performance metrics")))));
33688
33893
  };
33689
33894
 
33690
- var _excluded$1o = ["enableBatchEvaluation", "enableMetricsComparison", "enableResultExport", "enableTemplates", "showEvaluationHistory", "showMetricsPanel", "showTestCaseDetails", "showProgressIndicators", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "evaluations", "selectedEvaluation", "selectedResult", "isLoading", "isCreating", "error", "searchQuery", "templates", "runningEvaluationsCount", "canStartNewEvaluation", "fetchEvaluations", "createEvaluation", "startEvaluation", "cancelEvaluation", "deleteEvaluation", "selectEvaluation", "selectResult", "exportEvaluations", "setSearchQuery", "setError"];
33895
+ var _excluded$1q = ["enableBatchEvaluation", "enableMetricsComparison", "enableResultExport", "enableTemplates", "showEvaluationHistory", "showMetricsPanel", "showTestCaseDetails", "showProgressIndicators", "compactMode", "views", "ariaLabel", "ariaDescribedBy", "evaluations", "selectedEvaluation", "selectedResult", "isLoading", "isCreating", "error", "searchQuery", "templates", "runningEvaluationsCount", "canStartNewEvaluation", "fetchEvaluations", "createEvaluation", "startEvaluation", "cancelEvaluation", "deleteEvaluation", "selectEvaluation", "selectResult", "exportEvaluations", "setSearchQuery", "setError"];
33691
33896
  /**
33692
33897
  * AgentEval View Component
33693
33898
  *
@@ -33730,7 +33935,7 @@ var AgentEvalView = _ref => {
33730
33935
  setSearchQuery,
33731
33936
  setError
33732
33937
  } = _ref,
33733
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
33938
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1q);
33734
33939
  var [activeTab, setActiveTab] = React.useState('evaluations');
33735
33940
  /**
33736
33941
  * Handle evaluation creation
@@ -34392,5 +34597,5 @@ var AgentEval = props => {
34392
34597
  return /*#__PURE__*/React.createElement(AgentEvalView, Object.assign({}, props, evalState));
34393
34598
  };
34394
34599
 
34395
- export { Accordion, AgentChat, AgentEval, AgentSession, AgentTrace, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AudioIcon, AudioInput, AudioWaveform, Avatar, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, Flow, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LoadingSpinnerIcon, LocationIcon, LockIcon, LogoutIcon, MagicWandIcon, MediaPreview, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PowerOffIcon, PrintIcon, ProfileIcon, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, SendIcon, Separator, SettingsIcon, ShapeIcon, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SpinnerIcon, StarIcon, StopIcon, SuccessIcon, Switch, Table, Tabs, TagInput, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TrashIcon, Tree, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, showToast, useMessageStore, useModalStore, useToast$1 as useToast };
34600
+ export { Accordion, AgentChat, AgentEval, AgentSession, AgentTrace, Alert, ArrowIcon, AspectRatio, AttachmentIcon, AudioIcon, AudioInput, AudioWaveform, Avatar, Background, Badge, BatteryIcon, BluetoothIcon, BoldArrowIcon, BookmarkIcon, Button, CalendarIcon, CameraIcon, Card, Carousel, Chart, ChartIcon, ChatInput, CheckIcon, Checkbox, ChevronIcon, ClockIcon, CloseEyeIcon, CloseIcon, CloudIcon, ColorInput, ColorPicker, ComboBox, Command, ContextMenu, CookieConsent, CopyIcon, CountryPicker, CropIcon, DatePicker, DeleteIcon, Divider, DocumentIcon, DownloadIcon, DragAndDrop, DragAndDropComponent, DragHandleIcon, DragHandleLinesIcon, DropdownMenu, DustBinIcon, EditIcon, EmojiPicker, ErrorIcon, ExternalLinkIcon, FacebookIcon, FileIcon, FileImage, FileSVG, FilterIcon, Flow, FolderIcon, FormikChatInput, FormikCheckbox, FormikColorInput, FormikComboBox, FormikCountryPicker, FormikDatePicker, FormikForm, FormikOTPInput, FormikPassword, FormikSelect, FormikSlider, FormikSwitch, FormikTagInput, FormikTextArea, FormikTextField, GiftIcon, HeartIcon, HelpIcon, HomeIcon, HoverCard, Icon, ImageIcon, InfoIcon, InstagramIcon, LikeIcon, Link, LinkedinIcon, Loader, LoadingSpinnerIcon, LocationIcon, LockIcon, LogoutIcon, MagicWandIcon, MediaPreview, MenuIcon, Menubar, MessageLayout, MessageView, MicrophoneIcon, MinusIcon, Modal, MoonIcon, NavigationMenu, NotificationIcon, OTPInput, OpenEyeIcon, Pagination, PanelIcon, Password, PauseIcon, PlayIcon, PlusIcon, PowerOffIcon, PrintIcon, ProfileIcon, ProgressBar, RefreshIcon, Resizable, RotateIcon, SaveIcon, SearchIcon, Select, SendIcon, Separator, SettingsIcon, ShapeIcon, ShareIcon, ShieldIcon, Sidebar, Slider, SliderIcon, SpinnerIcon, StarIcon, StatusIndicator, StopIcon, SuccessIcon, Switch, Table, Tabs, TagInput, Text, TextArea, TextField, TextIcon, ThreadsIcon, TickIcon, Title, Toast, Toggle, ToggleGroup, Tooltip, TrashIcon, Tree, TwitchIcon, TwitterIcon, UnLikeIcon, UnlockIcon, UploadIcon, Uploader, UserIcon, VideoIcon, WarningIcon, WifiIcon, XIcon, YoutubeIcon, ZoomInIcon, ZoomOutIcon, hideMessage, hideModal, showMessage, showModal, showToast, useMessageStore, useModalStore, useToast$1 as useToast };
34396
34601
  //# sourceMappingURL=web.esm.js.map