@app-studio/web 0.9.24 → 0.9.26

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 +255 -60
  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 +254 -61
  24. package/dist/web.esm.js.map +1 -1
  25. package/dist/web.umd.development.js +255 -60
  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
@@ -18856,13 +18856,7 @@ var DropdownMenuContent = _ref3 => {
18856
18856
  item: item,
18857
18857
  views: views
18858
18858
  });
18859
- }), process.env.NODE_ENV === 'development' && (/*#__PURE__*/React.createElement("div", {
18860
- style: {
18861
- fontSize: '10px',
18862
- opacity: 0.7,
18863
- padding: '4px'
18864
- }
18865
- }, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))));
18859
+ }));
18866
18860
  };
18867
18861
  // DropdownMenu Item component
18868
18862
  var DropdownMenuItem = _ref4 => {
@@ -22710,6 +22704,55 @@ var PaginationComponent = _ref => {
22710
22704
  };
22711
22705
  var Pagination = PaginationComponent;
22712
22706
 
22707
+ var _excluded$16 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
22708
+ var ProgressBarView = _ref => {
22709
+ var {
22710
+ value = 0,
22711
+ max = 100,
22712
+ color = 'theme.primary',
22713
+ backgroundColor = 'color.gray.200',
22714
+ height = 8,
22715
+ radius = 4,
22716
+ views,
22717
+ themeMode: elementMode
22718
+ } = _ref,
22719
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22720
+ var {
22721
+ getColor,
22722
+ themeMode
22723
+ } = useTheme();
22724
+ var currentMode = elementMode ? elementMode : themeMode;
22725
+ var percentage = Math.min(100, Math.max(0, value / max * 100));
22726
+ var trackColor = getColor(backgroundColor, {
22727
+ themeMode: currentMode
22728
+ });
22729
+ var barColor = getColor(color, {
22730
+ themeMode: currentMode
22731
+ });
22732
+ return /*#__PURE__*/React.createElement(View, Object.assign({
22733
+ role: "progressbar",
22734
+ "aria-valuenow": value,
22735
+ "aria-valuemin": 0,
22736
+ "aria-valuemax": max,
22737
+ width: "100%",
22738
+ height: height,
22739
+ backgroundColor: trackColor,
22740
+ borderRadius: radius,
22741
+ overflow: "hidden"
22742
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
22743
+ width: percentage + "%",
22744
+ height: "100%",
22745
+ backgroundColor: barColor,
22746
+ borderRadius: radius
22747
+ }, views == null ? void 0 : views.bar)));
22748
+ };
22749
+
22750
+ /**
22751
+ * ProgressBar component displays completion status of a task or process.
22752
+ */
22753
+ var ProgressBarComponent = props => (/*#__PURE__*/React.createElement(ProgressBarView, Object.assign({}, props)));
22754
+ var ProgressBar = ProgressBarComponent;
22755
+
22713
22756
  /**
22714
22757
  * Separator Styles
22715
22758
  *
@@ -22756,7 +22799,7 @@ var DefaultSeparatorStyles = {
22756
22799
  }
22757
22800
  };
22758
22801
 
22759
- var _excluded$16 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22802
+ var _excluded$17 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22760
22803
  var SeparatorView = _ref => {
22761
22804
  var {
22762
22805
  orientation = 'horizontal',
@@ -22768,7 +22811,7 @@ var SeparatorView = _ref => {
22768
22811
  decorative = false,
22769
22812
  views
22770
22813
  } = _ref,
22771
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22814
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
22772
22815
  // Access theme if needed for future enhancements
22773
22816
  var {
22774
22817
  themeMode
@@ -22836,6 +22879,82 @@ var SeparatorComponent = props => {
22836
22879
  var Separator = SeparatorComponent;
22837
22880
  var Divider = SeparatorComponent;
22838
22881
 
22882
+ var getThemes$2 = themeMode => {
22883
+ return {
22884
+ default: {
22885
+ indicator: {
22886
+ backgroundColor: 'color.gray.400'
22887
+ },
22888
+ label: {
22889
+ color: 'color.gray.700'
22890
+ }
22891
+ },
22892
+ info: {
22893
+ indicator: {
22894
+ backgroundColor: 'color.blue.500'
22895
+ },
22896
+ label: {
22897
+ color: 'color.blue.700'
22898
+ }
22899
+ },
22900
+ success: {
22901
+ indicator: {
22902
+ backgroundColor: 'color.green.500'
22903
+ },
22904
+ label: {
22905
+ color: 'color.green.700'
22906
+ }
22907
+ },
22908
+ warning: {
22909
+ indicator: {
22910
+ backgroundColor: 'color.orange.500'
22911
+ },
22912
+ label: {
22913
+ color: 'color.orange.700'
22914
+ }
22915
+ },
22916
+ error: {
22917
+ indicator: {
22918
+ backgroundColor: 'color.red.500'
22919
+ },
22920
+ label: {
22921
+ color: 'color.red.700'
22922
+ }
22923
+ }
22924
+ };
22925
+ };
22926
+
22927
+ var _excluded$18 = ["label", "status", "views", "themeMode"];
22928
+ var StatusIndicatorView = _ref => {
22929
+ var {
22930
+ label,
22931
+ status = 'default',
22932
+ views,
22933
+ themeMode: elementMode
22934
+ } = _ref,
22935
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
22936
+ var {
22937
+ themeMode
22938
+ } = useTheme();
22939
+ var themes = getThemes$2();
22940
+ return /*#__PURE__*/React.createElement(Horizontal, Object.assign({
22941
+ alignItems: "center",
22942
+ gap: 8,
22943
+ role: "status-indicator"
22944
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
22945
+ role: "status-dot",
22946
+ width: "8px",
22947
+ height: "8px",
22948
+ borderRadius: "50%"
22949
+ }, themes[status].indicator, views == null ? void 0 : views.indicator)), label && (/*#__PURE__*/React.createElement(Text, Object.assign({
22950
+ role: "status-label",
22951
+ fontSize: "14px",
22952
+ lineHeight: "20px"
22953
+ }, themes[status].label, views == null ? void 0 : views.label), label)));
22954
+ };
22955
+
22956
+ var StatusIndicator = props => (/*#__PURE__*/React.createElement(StatusIndicatorView, Object.assign({}, props)));
22957
+
22839
22958
  var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
22840
22959
  if (defaultExpanded === void 0) {
22841
22960
  defaultExpanded = true;
@@ -23006,7 +23125,7 @@ var SidebarTransitions = {
23006
23125
  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
23126
  };
23008
23127
 
23009
- var _excluded$17 = ["children", "showToggleButton", "views"],
23128
+ var _excluded$19 = ["children", "showToggleButton", "views"],
23010
23129
  _excluded2$g = ["children", "views"],
23011
23130
  _excluded3$a = ["children", "views"],
23012
23131
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -23039,7 +23158,7 @@ var SidebarHeader = _ref2 => {
23039
23158
  showToggleButton = true,
23040
23159
  views
23041
23160
  } = _ref2,
23042
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$17);
23161
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23043
23162
  var {
23044
23163
  isExpanded,
23045
23164
  toggleExpanded,
@@ -23194,7 +23313,7 @@ var SidebarView = _ref5 => {
23194
23313
  }))));
23195
23314
  };
23196
23315
 
23197
- var _excluded$18 = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23316
+ var _excluded$1a = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23198
23317
  /**
23199
23318
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
23200
23319
  */
@@ -23216,7 +23335,7 @@ var SidebarComponent = _ref => {
23216
23335
  breakpointBehavior = 'overlay',
23217
23336
  views
23218
23337
  } = _ref,
23219
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23338
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
23220
23339
  var {
23221
23340
  isExpanded,
23222
23341
  toggleExpanded,
@@ -23681,7 +23800,7 @@ var HandleIconStyles = {
23681
23800
  }
23682
23801
  };
23683
23802
 
23684
- var _excluded$19 = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23803
+ var _excluded$1b = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23685
23804
  _excluded2$h = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
23686
23805
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
23687
23806
  // Create context for the Resizable component
@@ -23726,7 +23845,7 @@ var ResizablePanel = _ref2 => {
23726
23845
  onCollapseChange,
23727
23846
  views
23728
23847
  } = _ref2,
23729
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23848
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
23730
23849
  var {
23731
23850
  orientation,
23732
23851
  registerPanel,
@@ -23941,7 +24060,7 @@ var ResizableView = _ref4 => {
23941
24060
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
23942
24061
  };
23943
24062
 
23944
- var _excluded$1a = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
24063
+ var _excluded$1c = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
23945
24064
  /**
23946
24065
  * Resizable component for creating resizable panel groups and layouts.
23947
24066
  */
@@ -23961,7 +24080,7 @@ var ResizableComponent = _ref => {
23961
24080
  keyboardResizeBy = 10,
23962
24081
  views
23963
24082
  } = _ref,
23964
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24083
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
23965
24084
  var {
23966
24085
  isResizing,
23967
24086
  setIsResizing,
@@ -24729,7 +24848,7 @@ var CommandFooterStyles = {
24729
24848
  color: 'color.gray.500'
24730
24849
  };
24731
24850
 
24732
- var _excluded$1b = ["value", "onValueChange", "placeholder", "views"],
24851
+ var _excluded$1d = ["value", "onValueChange", "placeholder", "views"],
24733
24852
  _excluded2$i = ["children", "views"],
24734
24853
  _excluded3$c = ["heading", "children", "views"],
24735
24854
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -24761,7 +24880,7 @@ var CommandInput = _ref2 => {
24761
24880
  placeholder = 'Type a command or search...',
24762
24881
  views
24763
24882
  } = _ref2,
24764
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
24883
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
24765
24884
  var inputRef = useRef(null);
24766
24885
  // Focus input when component mounts
24767
24886
  React.useEffect(() => {
@@ -24944,7 +25063,7 @@ var CommandView = _ref7 => {
24944
25063
  })))), footer && (/*#__PURE__*/React.createElement(View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
24945
25064
  };
24946
25065
 
24947
- var _excluded$1c = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
25066
+ var _excluded$1e = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
24948
25067
  /**
24949
25068
  * Command component for displaying a command palette with search functionality.
24950
25069
  */
@@ -24962,7 +25081,7 @@ var CommandComponent = _ref => {
24962
25081
  footer,
24963
25082
  views
24964
25083
  } = _ref,
24965
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
25084
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24966
25085
  var {
24967
25086
  search,
24968
25087
  setSearch,
@@ -25190,7 +25309,7 @@ var getArrowStyles = position => {
25190
25309
  }
25191
25310
  };
25192
25311
 
25193
- var _excluded$1d = ["children", "views", "asChild"],
25312
+ var _excluded$1f = ["children", "views", "asChild"],
25194
25313
  _excluded2$j = ["children", "views"],
25195
25314
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
25196
25315
  // Create context for the Tooltip
@@ -25226,7 +25345,7 @@ var TooltipTrigger = _ref2 => {
25226
25345
  views,
25227
25346
  asChild = false
25228
25347
  } = _ref2,
25229
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
25348
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
25230
25349
  var {
25231
25350
  openTooltip,
25232
25351
  closeTooltip,
@@ -25407,16 +25526,10 @@ var TooltipView = _ref4 => {
25407
25526
  borderRadius: 4,
25408
25527
  boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.15)",
25409
25528
  style: positionStyles
25410
- }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React.createElement(Text$1, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React.createElement(View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)), process.env.NODE_ENV === 'development' && (/*#__PURE__*/React.createElement("div", {
25411
- style: {
25412
- fontSize: '8px',
25413
- opacity: 0.7,
25414
- marginTop: '2px'
25415
- }
25416
- }, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))))));
25529
+ }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React.createElement(Text$1, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React.createElement(View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
25417
25530
  };
25418
25531
 
25419
- var _excluded$1e = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25532
+ var _excluded$1g = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25420
25533
  /**
25421
25534
  * Tooltip component for displaying additional information when hovering over an element.
25422
25535
  * Supports configurable positions, delays, and styling.
@@ -25436,7 +25549,7 @@ var TooltipComponent = _ref => {
25436
25549
  isDisabled = false,
25437
25550
  views
25438
25551
  } = _ref,
25439
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
25552
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
25440
25553
  var tooltipState = useTooltipState({
25441
25554
  defaultOpen,
25442
25555
  openDelay,
@@ -25909,7 +26022,7 @@ var TreeItemStates = {
25909
26022
  }
25910
26023
  };
25911
26024
 
25912
- var _excluded$1f = ["children", "views", "baseId"],
26025
+ var _excluded$1h = ["children", "views", "baseId"],
25913
26026
  _excluded2$k = ["value", "disabled", "icon", "children", "views", "style", "draggable"],
25914
26027
  _excluded3$e = ["children", "onClick", "onToggleExpand", "hasChildren", "expanded", "icon", "disabled", "isSelected", "isDragging", "size", "variant", "views"],
25915
26028
  _excluded4$b = ["children", "views"];
@@ -25945,7 +26058,7 @@ var TreeView = _ref2 => {
25945
26058
  baseId
25946
26059
  // themeMode, // If 'app-studio' ViewProps supports themeMode
25947
26060
  } = _ref2,
25948
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
26061
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25949
26062
  var {
25950
26063
  allowDragAndDrop,
25951
26064
  handleDrop,
@@ -26225,7 +26338,7 @@ var DataDrivenTreeView = _ref7 => {
26225
26338
  }))));
26226
26339
  };
26227
26340
 
26228
- var _excluded$1g = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26341
+ var _excluded$1i = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26229
26342
  /**
26230
26343
  * Tree component for displaying hierarchical data.
26231
26344
  * Supports both compound component pattern (using Tree.Item, Tree.ItemLabel, Tree.ItemContent)
@@ -26294,7 +26407,7 @@ var TreeComponent = _ref => {
26294
26407
  views // Global views configuration
26295
26408
  // Remaining ViewProps for the root TreeView container
26296
26409
  } = _ref,
26297
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
26410
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
26298
26411
  var treeState = useTreeState({
26299
26412
  defaultExpandedItems,
26300
26413
  expandedItems,
@@ -26867,7 +26980,7 @@ var FlowNodeStates = {
26867
26980
  }
26868
26981
  };
26869
26982
 
26870
- var _excluded$1h = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26983
+ var _excluded$1j = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26871
26984
  _excluded2$l = ["onZoomIn", "onZoomOut", "onReset", "views"],
26872
26985
  _excluded3$f = ["onClick", "views"],
26873
26986
  _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 +26996,7 @@ var FlowNodeView = _ref => {
26883
26996
  variant = 'default',
26884
26997
  views
26885
26998
  } = _ref,
26886
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
26999
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26887
27000
  var handleClick = () => {
26888
27001
  if (onSelect) {
26889
27002
  onSelect(node.id);
@@ -27530,7 +27643,7 @@ var FlowView = _ref5 => {
27530
27643
  }, "Zoom: ", Math.round(viewport.zoom * 100), "%")));
27531
27644
  };
27532
27645
 
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"];
27646
+ 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
27647
  /**
27535
27648
  * Flow component for creating workflow diagrams.
27536
27649
  *
@@ -27587,7 +27700,7 @@ var FlowComponent = _ref => {
27587
27700
  onViewportChange,
27588
27701
  views
27589
27702
  } = _ref,
27590
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
27703
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
27591
27704
  var flowState = useFlowState({
27592
27705
  initialNodes: controlledNodes,
27593
27706
  initialEdges: controlledEdges,
@@ -27761,6 +27874,39 @@ var BackgroundImageStyles = {
27761
27874
  zIndex: 2
27762
27875
  }
27763
27876
  };
27877
+ /**
27878
+ * Background Video styles
27879
+ */
27880
+ var BackgroundVideoStyles = {
27881
+ container: {
27882
+ position: 'relative',
27883
+ display: 'flex',
27884
+ flexDirection: 'column',
27885
+ alignItems: 'center',
27886
+ justifyContent: 'center',
27887
+ overflow: 'hidden'
27888
+ },
27889
+ video: {
27890
+ position: 'absolute',
27891
+ top: 0,
27892
+ left: 0,
27893
+ width: '100%',
27894
+ height: '100%',
27895
+ objectFit: 'cover'
27896
+ },
27897
+ overlay: {
27898
+ position: 'absolute',
27899
+ top: 0,
27900
+ left: 0,
27901
+ width: '100%',
27902
+ height: '100%',
27903
+ pointerEvents: 'none'
27904
+ },
27905
+ content: {
27906
+ position: 'relative',
27907
+ zIndex: 2
27908
+ }
27909
+ };
27764
27910
 
27765
27911
  /**
27766
27912
  * Gradient Styles
@@ -27923,7 +28069,7 @@ var DefaultGradientStyles = {
27923
28069
  }
27924
28070
  };
27925
28071
 
27926
- var _excluded$1j = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
28072
+ var _excluded$1l = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27927
28073
  var GradientView = _ref => {
27928
28074
  var {
27929
28075
  type = 'linear',
@@ -27939,7 +28085,7 @@ var GradientView = _ref => {
27939
28085
  views,
27940
28086
  themeMode: elementMode
27941
28087
  } = _ref,
27942
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
28088
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27943
28089
  var {
27944
28090
  getColor,
27945
28091
  themeMode
@@ -28015,15 +28161,16 @@ var Gradient = props => {
28015
28161
  return /*#__PURE__*/React.createElement(GradientView, Object.assign({}, props));
28016
28162
  };
28017
28163
 
28018
- var _excluded$1k = ["children", "showRadialGradient", "views", "themeMode"],
28164
+ var _excluded$1m = ["children", "showRadialGradient", "views", "themeMode"],
28019
28165
  _excluded2$m = ["number", "children"],
28020
28166
  _excluded3$g = ["rows", "cols", "squareSize"],
28021
28167
  _excluded4$d = ["count", "colors", "speed", "shapes"],
28022
28168
  _excluded5$6 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
28023
28169
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
28024
28170
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
28025
- _excluded8$1 = ["children"],
28026
- _excluded9$1 = ["children", "views"];
28171
+ _excluded8$1 = ["children", "src", "autoPlay", "loop", "muted", "playsInline", "overlay", "blendMode", "views", "themeMode"],
28172
+ _excluded9$1 = ["children"],
28173
+ _excluded10$1 = ["children", "views"];
28027
28174
  // Background Context
28028
28175
  var BackgroundContext = /*#__PURE__*/createContext({});
28029
28176
  /**
@@ -28035,7 +28182,7 @@ var AuroraBackground = _ref => {
28035
28182
  showRadialGradient = true,
28036
28183
  views
28037
28184
  } = _ref,
28038
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
28185
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
28039
28186
  var gradientColors = {
28040
28187
  white: 'rgba(255,255,255,1)',
28041
28188
  transparent: 'rgba(255,255,255,0)'
@@ -28446,23 +28593,61 @@ var BackgroundImage = _ref7 => {
28446
28593
  style: overlayStyle
28447
28594
  }), children && (/*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundImageStyles.content, views == null ? void 0 : views.content), children)));
28448
28595
  };
28596
+ /**
28597
+ * Background Video Component
28598
+ */
28599
+ var BackgroundVideo = _ref8 => {
28600
+ var {
28601
+ children,
28602
+ src,
28603
+ autoPlay = true,
28604
+ loop = true,
28605
+ muted = true,
28606
+ playsInline = true,
28607
+ overlay,
28608
+ blendMode = 'normal',
28609
+ views,
28610
+ themeMode: elementMode
28611
+ } = _ref8,
28612
+ props = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28613
+ var {
28614
+ getColor
28615
+ } = useTheme();
28616
+ var overlayStyle = overlay ? Object.assign({}, BackgroundVideoStyles.overlay, {
28617
+ backgroundColor: getColor(overlay, elementMode ? {
28618
+ themeMode: elementMode
28619
+ } : undefined),
28620
+ mixBlendMode: blendMode
28621
+ }) : {};
28622
+ return /*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundVideoStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React.createElement(View, Object.assign({
28623
+ as: "video",
28624
+ src: src,
28625
+ autoPlay: autoPlay,
28626
+ loop: loop,
28627
+ muted: muted,
28628
+ playsInline: playsInline,
28629
+ style: BackgroundVideoStyles.video
28630
+ }, views == null ? void 0 : views.video)), overlay && /*#__PURE__*/React.createElement(View, Object.assign({
28631
+ style: overlayStyle
28632
+ }, views == null ? void 0 : views.overlay)), children && (/*#__PURE__*/React.createElement(View, Object.assign({}, BackgroundVideoStyles.content, views == null ? void 0 : views.content), children)));
28633
+ };
28449
28634
  /**
28450
28635
  * Background Gradient Component
28451
28636
  * Uses the existing Gradient component as a background
28452
28637
  */
28453
- var BackgroundGradient = _ref8 => {
28638
+ var BackgroundGradient = _ref9 => {
28454
28639
  var {
28455
28640
  children
28456
- } = _ref8,
28457
- gradientProps = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28641
+ } = _ref9,
28642
+ gradientProps = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28458
28643
  return /*#__PURE__*/React.createElement(Gradient, Object.assign({}, gradientProps), children);
28459
28644
  };
28460
- var BackgroundViewBase = _ref9 => {
28645
+ var BackgroundViewBase = _ref10 => {
28461
28646
  var {
28462
28647
  children,
28463
28648
  views
28464
- } = _ref9,
28465
- props = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28649
+ } = _ref10,
28650
+ props = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
28466
28651
  return /*#__PURE__*/React.createElement(BackgroundContext.Provider, {
28467
28652
  value: {}
28468
28653
  }, /*#__PURE__*/React.createElement(View, Object.assign({}, DefaultBackgroundStyles.container, views == null ? void 0 : views.container, props), children));
@@ -28477,6 +28662,7 @@ BackgroundView.Particles = Particles;
28477
28662
  BackgroundView.Grid = Grid;
28478
28663
  BackgroundView.Ripples = Ripples;
28479
28664
  BackgroundView.Image = BackgroundImage;
28665
+ BackgroundView.Video = BackgroundVideo;
28480
28666
  BackgroundView.Gradient = BackgroundGradient;
28481
28667
 
28482
28668
  /**
@@ -28515,6 +28701,12 @@ BackgroundView.Gradient = BackgroundGradient;
28515
28701
  * </Background.Image>
28516
28702
  *
28517
28703
  * @example
28704
+ * // Background Video
28705
+ * <Background.Video src="/path/to/video.mp4" overlay="rgba(0,0,0,0.5)">
28706
+ * <Text color="white">Content over video</Text>
28707
+ * </Background.Video>
28708
+ *
28709
+ * @example
28518
28710
  * // Background Gradient
28519
28711
  * <Background.Gradient from="blue.500" to="purple.500" animate={true}>
28520
28712
  * <Text color="white">Content over gradient</Text>
@@ -28532,6 +28724,7 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
28532
28724
  Grid: BackgroundView.Grid,
28533
28725
  Ripples: BackgroundView.Ripples,
28534
28726
  Image: BackgroundView.Image,
28727
+ Video: BackgroundView.Video,
28535
28728
  Gradient: BackgroundView.Gradient
28536
28729
  });
28537
28730
  Background.displayName = 'Background';
@@ -28889,7 +29082,7 @@ var AgentRunProgress = _ref => {
28889
29082
  }, step.label))))));
28890
29083
  };
28891
29084
 
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"];
29085
+ 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
29086
  /**
28894
29087
  * AgentChat View Component
28895
29088
  *
@@ -28929,7 +29122,7 @@ var AgentChatView = _ref => {
28929
29122
  setError,
28930
29123
  setSelectedFiles
28931
29124
  } = _ref,
28932
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
29125
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
28933
29126
  /**
28934
29127
  * Auto-scroll to bottom when new messages arrive
28935
29128
  */
@@ -30070,7 +30263,7 @@ var SessionFilters = _ref => {
30070
30263
  }, "Clear all filters")))));
30071
30264
  };
30072
30265
 
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"];
30266
+ 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
30267
  /**
30075
30268
  * AgentSession View Component
30076
30269
  *
@@ -30118,7 +30311,7 @@ var AgentSessionView = _ref => {
30118
30311
  fileInputRef,
30119
30312
  handleFileSelect
30120
30313
  } = _ref,
30121
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
30314
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
30122
30315
  /**
30123
30316
  * Handle session creation
30124
30317
  */
@@ -31957,7 +32150,7 @@ var TraceVisualization = _ref => {
31957
32150
  }, renderVisualization())));
31958
32151
  };
31959
32152
 
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"];
32153
+ 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
32154
  /**
31962
32155
  * AgentTrace View Component
31963
32156
  *
@@ -31998,7 +32191,7 @@ var AgentTraceView = _ref => {
31998
32191
  setCurrentVisualization,
31999
32192
  setError
32000
32193
  } = _ref,
32001
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
32194
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1p);
32002
32195
  /**
32003
32196
  * Handle event selection
32004
32197
  */
@@ -33687,7 +33880,7 @@ var EvaluationMetrics = _ref => {
33687
33880
  }, "Run some evaluations to see performance metrics")))));
33688
33881
  };
33689
33882
 
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"];
33883
+ 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
33884
  /**
33692
33885
  * AgentEval View Component
33693
33886
  *
@@ -33730,7 +33923,7 @@ var AgentEvalView = _ref => {
33730
33923
  setSearchQuery,
33731
33924
  setError
33732
33925
  } = _ref,
33733
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
33926
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1q);
33734
33927
  var [activeTab, setActiveTab] = React.useState('evaluations');
33735
33928
  /**
33736
33929
  * Handle evaluation creation
@@ -34392,5 +34585,5 @@ var AgentEval = props => {
34392
34585
  return /*#__PURE__*/React.createElement(AgentEvalView, Object.assign({}, props, evalState));
34393
34586
  };
34394
34587
 
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 };
34588
+ 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
34589
  //# sourceMappingURL=web.esm.js.map