@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
@@ -18863,13 +18863,7 @@ var DropdownMenuContent = _ref3 => {
18863
18863
  item: item,
18864
18864
  views: views
18865
18865
  });
18866
- }), (/*#__PURE__*/React__default.createElement("div", {
18867
- style: {
18868
- fontSize: '10px',
18869
- opacity: 0.7,
18870
- padding: '4px'
18871
- }
18872
- }, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))));
18866
+ }));
18873
18867
  };
18874
18868
  // DropdownMenu Item component
18875
18869
  var DropdownMenuItem = _ref4 => {
@@ -22717,6 +22711,55 @@ var PaginationComponent = _ref => {
22717
22711
  };
22718
22712
  var Pagination = PaginationComponent;
22719
22713
 
22714
+ var _excluded$16 = ["value", "max", "color", "backgroundColor", "height", "radius", "views", "themeMode"];
22715
+ var ProgressBarView = _ref => {
22716
+ var {
22717
+ value = 0,
22718
+ max = 100,
22719
+ color = 'theme.primary',
22720
+ backgroundColor = 'color.gray.200',
22721
+ height = 8,
22722
+ radius = 4,
22723
+ views,
22724
+ themeMode: elementMode
22725
+ } = _ref,
22726
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22727
+ var {
22728
+ getColor,
22729
+ themeMode
22730
+ } = appStudio.useTheme();
22731
+ var currentMode = elementMode ? elementMode : themeMode;
22732
+ var percentage = Math.min(100, Math.max(0, value / max * 100));
22733
+ var trackColor = getColor(backgroundColor, {
22734
+ themeMode: currentMode
22735
+ });
22736
+ var barColor = getColor(color, {
22737
+ themeMode: currentMode
22738
+ });
22739
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
22740
+ role: "progressbar",
22741
+ "aria-valuenow": value,
22742
+ "aria-valuemin": 0,
22743
+ "aria-valuemax": max,
22744
+ width: "100%",
22745
+ height: height,
22746
+ backgroundColor: trackColor,
22747
+ borderRadius: radius,
22748
+ overflow: "hidden"
22749
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
22750
+ width: percentage + "%",
22751
+ height: "100%",
22752
+ backgroundColor: barColor,
22753
+ borderRadius: radius
22754
+ }, views == null ? void 0 : views.bar)));
22755
+ };
22756
+
22757
+ /**
22758
+ * ProgressBar component displays completion status of a task or process.
22759
+ */
22760
+ var ProgressBarComponent = props => (/*#__PURE__*/React__default.createElement(ProgressBarView, Object.assign({}, props)));
22761
+ var ProgressBar = ProgressBarComponent;
22762
+
22720
22763
  /**
22721
22764
  * Separator Styles
22722
22765
  *
@@ -22763,7 +22806,7 @@ var DefaultSeparatorStyles = {
22763
22806
  }
22764
22807
  };
22765
22808
 
22766
- var _excluded$16 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22809
+ var _excluded$17 = ["orientation", "variant", "thickness", "color", "spacing", "label", "decorative", "views", "themeMode"];
22767
22810
  var SeparatorView = _ref => {
22768
22811
  var {
22769
22812
  orientation = 'horizontal',
@@ -22775,7 +22818,7 @@ var SeparatorView = _ref => {
22775
22818
  decorative = false,
22776
22819
  views
22777
22820
  } = _ref,
22778
- props = _objectWithoutPropertiesLoose(_ref, _excluded$16);
22821
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$17);
22779
22822
  // Access theme if needed for future enhancements
22780
22823
  var {
22781
22824
  themeMode
@@ -22843,6 +22886,82 @@ var SeparatorComponent = props => {
22843
22886
  var Separator = SeparatorComponent;
22844
22887
  var Divider = SeparatorComponent;
22845
22888
 
22889
+ var getThemes$2 = themeMode => {
22890
+ return {
22891
+ default: {
22892
+ indicator: {
22893
+ backgroundColor: 'color.gray.400'
22894
+ },
22895
+ label: {
22896
+ color: 'color.gray.700'
22897
+ }
22898
+ },
22899
+ info: {
22900
+ indicator: {
22901
+ backgroundColor: 'color.blue.500'
22902
+ },
22903
+ label: {
22904
+ color: 'color.blue.700'
22905
+ }
22906
+ },
22907
+ success: {
22908
+ indicator: {
22909
+ backgroundColor: 'color.green.500'
22910
+ },
22911
+ label: {
22912
+ color: 'color.green.700'
22913
+ }
22914
+ },
22915
+ warning: {
22916
+ indicator: {
22917
+ backgroundColor: 'color.orange.500'
22918
+ },
22919
+ label: {
22920
+ color: 'color.orange.700'
22921
+ }
22922
+ },
22923
+ error: {
22924
+ indicator: {
22925
+ backgroundColor: 'color.red.500'
22926
+ },
22927
+ label: {
22928
+ color: 'color.red.700'
22929
+ }
22930
+ }
22931
+ };
22932
+ };
22933
+
22934
+ var _excluded$18 = ["label", "status", "views", "themeMode"];
22935
+ var StatusIndicatorView = _ref => {
22936
+ var {
22937
+ label,
22938
+ status = 'default',
22939
+ views,
22940
+ themeMode: elementMode
22941
+ } = _ref,
22942
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
22943
+ var {
22944
+ themeMode
22945
+ } = appStudio.useTheme();
22946
+ var themes = getThemes$2();
22947
+ return /*#__PURE__*/React__default.createElement(appStudio.Horizontal, Object.assign({
22948
+ alignItems: "center",
22949
+ gap: 8,
22950
+ role: "status-indicator"
22951
+ }, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
22952
+ role: "status-dot",
22953
+ width: "8px",
22954
+ height: "8px",
22955
+ borderRadius: "50%"
22956
+ }, themes[status].indicator, views == null ? void 0 : views.indicator)), label && (/*#__PURE__*/React__default.createElement(Text, Object.assign({
22957
+ role: "status-label",
22958
+ fontSize: "14px",
22959
+ lineHeight: "20px"
22960
+ }, themes[status].label, views == null ? void 0 : views.label), label)));
22961
+ };
22962
+
22963
+ var StatusIndicator = props => (/*#__PURE__*/React__default.createElement(StatusIndicatorView, Object.assign({}, props)));
22964
+
22846
22965
  var useSidebarState = function useSidebarState(defaultExpanded, expanded, onExpandedChange, breakpoint) {
22847
22966
  if (defaultExpanded === void 0) {
22848
22967
  defaultExpanded = true;
@@ -23013,7 +23132,7 @@ var SidebarTransitions = {
23013
23132
  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)'
23014
23133
  };
23015
23134
 
23016
- var _excluded$17 = ["children", "showToggleButton", "views"],
23135
+ var _excluded$19 = ["children", "showToggleButton", "views"],
23017
23136
  _excluded2$g = ["children", "views"],
23018
23137
  _excluded3$a = ["children", "views"],
23019
23138
  _excluded4$9 = ["children", "position", "size", "variant", "fixed", "hasBackdrop", "expandedWidth", "collapsedWidth", "breakpointBehavior", "elevation", "transitionPreset", "ariaLabel", "isExpanded", "isMobile", "collapse", "views", "themeMode"];
@@ -23046,7 +23165,7 @@ var SidebarHeader = _ref2 => {
23046
23165
  showToggleButton = true,
23047
23166
  views
23048
23167
  } = _ref2,
23049
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$17);
23168
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23050
23169
  var {
23051
23170
  isExpanded,
23052
23171
  toggleExpanded,
@@ -23201,7 +23320,7 @@ var SidebarView = _ref5 => {
23201
23320
  }))));
23202
23321
  };
23203
23322
 
23204
- var _excluded$18 = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23323
+ var _excluded$1a = ["children", "position", "size", "variant", "defaultExpanded", "expanded", "onExpandedChange", "fixed", "hasBackdrop", "showToggleButton", "expandedWidth", "collapsedWidth", "breakpoint", "breakpointBehavior", "views"];
23205
23324
  /**
23206
23325
  * Sidebar component for creating collapsible, themeable and customizable sidebars.
23207
23326
  */
@@ -23223,7 +23342,7 @@ var SidebarComponent = _ref => {
23223
23342
  breakpointBehavior = 'overlay',
23224
23343
  views
23225
23344
  } = _ref,
23226
- props = _objectWithoutPropertiesLoose(_ref, _excluded$18);
23345
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
23227
23346
  var {
23228
23347
  isExpanded,
23229
23348
  toggleExpanded,
@@ -23688,7 +23807,7 @@ var HandleIconStyles = {
23688
23807
  }
23689
23808
  };
23690
23809
 
23691
- var _excluded$19 = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23810
+ var _excluded$1b = ["children", "id", "defaultSize", "minSize", "maxSize", "collapsible", "defaultCollapsed", "onCollapseChange", "views"],
23692
23811
  _excluded2$h = ["id", "position", "disabled", "withVisualIndicator", "withCollapseButton", "collapseTarget", "views"],
23693
23812
  _excluded3$b = ["children", "orientation", "size", "variant", "defaultSizes", "minSize", "maxSize", "collapsible", "containerRef", "autoSaveId", "views"];
23694
23813
  // Create context for the Resizable component
@@ -23733,7 +23852,7 @@ var ResizablePanel = _ref2 => {
23733
23852
  onCollapseChange,
23734
23853
  views
23735
23854
  } = _ref2,
23736
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$19);
23855
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
23737
23856
  var {
23738
23857
  orientation,
23739
23858
  registerPanel,
@@ -23948,7 +24067,7 @@ var ResizableView = _ref4 => {
23948
24067
  }, ResizableOrientations[orientation], views == null ? void 0 : views.container, props), children);
23949
24068
  };
23950
24069
 
23951
- var _excluded$1a = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
24070
+ var _excluded$1c = ["children", "orientation", "size", "variant", "defaultSizes", "onSizesChange", "minSize", "maxSize", "collapsible", "autoSaveId", "storage", "keyboardResizeBy", "views"];
23952
24071
  /**
23953
24072
  * Resizable component for creating resizable panel groups and layouts.
23954
24073
  */
@@ -23968,7 +24087,7 @@ var ResizableComponent = _ref => {
23968
24087
  keyboardResizeBy = 10,
23969
24088
  views
23970
24089
  } = _ref,
23971
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1a);
24090
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
23972
24091
  var {
23973
24092
  isResizing,
23974
24093
  setIsResizing,
@@ -24736,7 +24855,7 @@ var CommandFooterStyles = {
24736
24855
  color: 'color.gray.500'
24737
24856
  };
24738
24857
 
24739
- var _excluded$1b = ["value", "onValueChange", "placeholder", "views"],
24858
+ var _excluded$1d = ["value", "onValueChange", "placeholder", "views"],
24740
24859
  _excluded2$i = ["children", "views"],
24741
24860
  _excluded3$c = ["heading", "children", "views"],
24742
24861
  _excluded4$a = ["item", "selected", "onSelect", "views"],
@@ -24768,7 +24887,7 @@ var CommandInput = _ref2 => {
24768
24887
  placeholder = 'Type a command or search...',
24769
24888
  views
24770
24889
  } = _ref2,
24771
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1b);
24890
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
24772
24891
  var inputRef = React.useRef(null);
24773
24892
  // Focus input when component mounts
24774
24893
  React__default.useEffect(() => {
@@ -24951,7 +25070,7 @@ var CommandView = _ref7 => {
24951
25070
  })))), footer && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, CommandFooterStyles, views == null ? void 0 : views.footer), footer)))));
24952
25071
  };
24953
25072
 
24954
- var _excluded$1c = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
25073
+ var _excluded$1e = ["open", "onOpenChange", "groups", "commands", "placeholder", "size", "variant", "filter", "emptyState", "footer", "views"];
24955
25074
  /**
24956
25075
  * Command component for displaying a command palette with search functionality.
24957
25076
  */
@@ -24969,7 +25088,7 @@ var CommandComponent = _ref => {
24969
25088
  footer,
24970
25089
  views
24971
25090
  } = _ref,
24972
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1c);
25091
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
24973
25092
  var {
24974
25093
  search,
24975
25094
  setSearch,
@@ -25197,7 +25316,7 @@ var getArrowStyles = position => {
25197
25316
  }
25198
25317
  };
25199
25318
 
25200
- var _excluded$1d = ["children", "views", "asChild"],
25319
+ var _excluded$1f = ["children", "views", "asChild"],
25201
25320
  _excluded2$j = ["children", "views"],
25202
25321
  _excluded3$d = ["content", "children", "position", "align", "size", "variant", "showArrow", "views", "themeMode"];
25203
25322
  // Create context for the Tooltip
@@ -25233,7 +25352,7 @@ var TooltipTrigger = _ref2 => {
25233
25352
  views,
25234
25353
  asChild = false
25235
25354
  } = _ref2,
25236
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1d);
25355
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
25237
25356
  var {
25238
25357
  openTooltip,
25239
25358
  closeTooltip,
@@ -25414,16 +25533,10 @@ var TooltipView = _ref4 => {
25414
25533
  borderRadius: 4,
25415
25534
  boxShadow: "0px 2px 8px rgba(0, 0, 0, 0.15)",
25416
25535
  style: positionStyles
25417
- }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)), (/*#__PURE__*/React__default.createElement("div", {
25418
- style: {
25419
- fontSize: '8px',
25420
- opacity: 0.7,
25421
- marginTop: '2px'
25422
- }
25423
- }, "Placement: ", optimalPosition.placement, relation && (/*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("br", null), "Space: ", relation.space.vertical, "-", relation.space.horizontal)))))));
25536
+ }, TooltipSizes[size], TooltipVariants[variant], views == null ? void 0 : views.content), typeof content === 'string' ? (/*#__PURE__*/React__default.createElement(appStudio.Text, Object.assign({}, views == null ? void 0 : views.text), content)) : content, showArrow && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, arrowStyles, views == null ? void 0 : views.arrow)))));
25424
25537
  };
25425
25538
 
25426
- var _excluded$1e = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25539
+ var _excluded$1g = ["content", "children", "position", "align", "size", "variant", "openDelay", "closeDelay", "showArrow", "defaultOpen", "isDisabled", "views"];
25427
25540
  /**
25428
25541
  * Tooltip component for displaying additional information when hovering over an element.
25429
25542
  * Supports configurable positions, delays, and styling.
@@ -25443,7 +25556,7 @@ var TooltipComponent = _ref => {
25443
25556
  isDisabled = false,
25444
25557
  views
25445
25558
  } = _ref,
25446
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1e);
25559
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
25447
25560
  var tooltipState = useTooltipState({
25448
25561
  defaultOpen,
25449
25562
  openDelay,
@@ -25916,7 +26029,7 @@ var TreeItemStates = {
25916
26029
  }
25917
26030
  };
25918
26031
 
25919
- var _excluded$1f = ["children", "views", "baseId"],
26032
+ var _excluded$1h = ["children", "views", "baseId"],
25920
26033
  _excluded2$k = ["value", "disabled", "icon", "children", "views", "style", "draggable"],
25921
26034
  _excluded3$e = ["children", "onClick", "onToggleExpand", "hasChildren", "expanded", "icon", "disabled", "isSelected", "isDragging", "size", "variant", "views"],
25922
26035
  _excluded4$b = ["children", "views"];
@@ -25952,7 +26065,7 @@ var TreeView = _ref2 => {
25952
26065
  baseId
25953
26066
  // themeMode, // If 'app-studio' ViewProps supports themeMode
25954
26067
  } = _ref2,
25955
- props = _objectWithoutPropertiesLoose(_ref2, _excluded$1f);
26068
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded$1h);
25956
26069
  var {
25957
26070
  allowDragAndDrop,
25958
26071
  handleDrop,
@@ -26232,7 +26345,7 @@ var DataDrivenTreeView = _ref7 => {
26232
26345
  }))));
26233
26346
  };
26234
26347
 
26235
- var _excluded$1g = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26348
+ var _excluded$1i = ["children", "items", "size", "variant", "defaultExpandedItems", "expandedItems", "onExpandedItemsChange", "defaultSelectedItem", "selectedItem", "onItemSelect", "multiSelect", "allowDragAndDrop", "dragHandleIcon", "onItemsReorder", "onDragStart", "onDragEnd", "views"];
26236
26349
  /**
26237
26350
  * Tree component for displaying hierarchical data.
26238
26351
  * Supports both compound component pattern (using Tree.Item, Tree.ItemLabel, Tree.ItemContent)
@@ -26301,7 +26414,7 @@ var TreeComponent = _ref => {
26301
26414
  views // Global views configuration
26302
26415
  // Remaining ViewProps for the root TreeView container
26303
26416
  } = _ref,
26304
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1g);
26417
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
26305
26418
  var treeState = useTreeState({
26306
26419
  defaultExpandedItems,
26307
26420
  expandedItems,
@@ -26874,7 +26987,7 @@ var FlowNodeStates = {
26874
26987
  }
26875
26988
  };
26876
26989
 
26877
- var _excluded$1h = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26990
+ var _excluded$1j = ["node", "onSelect", "isSelected", "isDragging", "onDragStart", "onDrag", "onDragEnd", "size", "variant", "views"],
26878
26991
  _excluded2$l = ["onZoomIn", "onZoomOut", "onReset", "views"],
26879
26992
  _excluded3$f = ["onClick", "views"],
26880
26993
  _excluded4$c = ["nodes", "edges", "selectedNodeId", "draggedNodeId", "onNodeSelect", "onAddNode", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "views", "baseId", "viewport", "onZoomIn", "onZoomOut", "onReset", "onViewportChange"];
@@ -26890,7 +27003,7 @@ var FlowNodeView = _ref => {
26890
27003
  variant = 'default',
26891
27004
  views
26892
27005
  } = _ref,
26893
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1h);
27006
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
26894
27007
  var handleClick = () => {
26895
27008
  if (onSelect) {
26896
27009
  onSelect(node.id);
@@ -27537,7 +27650,7 @@ var FlowView = _ref5 => {
27537
27650
  }, "Zoom: ", Math.round(viewport.zoom * 100), "%")));
27538
27651
  };
27539
27652
 
27540
- var _excluded$1i = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
27653
+ var _excluded$1k = ["children", "nodes", "edges", "size", "variant", "direction", "showControls", "allowAddingNodes", "allowDraggingNodes", "onNodesChange", "onEdgesChange", "onNodeSelect", "onNodeAdd", "onNodeDragStart", "onNodeDrag", "onNodeDragEnd", "selectedNodeId", "initialViewport", "viewport", "onViewportChange", "views"];
27541
27654
  /**
27542
27655
  * Flow component for creating workflow diagrams.
27543
27656
  *
@@ -27594,7 +27707,7 @@ var FlowComponent = _ref => {
27594
27707
  onViewportChange,
27595
27708
  views
27596
27709
  } = _ref,
27597
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1i);
27710
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
27598
27711
  var flowState = useFlowState({
27599
27712
  initialNodes: controlledNodes,
27600
27713
  initialEdges: controlledEdges,
@@ -27768,6 +27881,39 @@ var BackgroundImageStyles = {
27768
27881
  zIndex: 2
27769
27882
  }
27770
27883
  };
27884
+ /**
27885
+ * Background Video styles
27886
+ */
27887
+ var BackgroundVideoStyles = {
27888
+ container: {
27889
+ position: 'relative',
27890
+ display: 'flex',
27891
+ flexDirection: 'column',
27892
+ alignItems: 'center',
27893
+ justifyContent: 'center',
27894
+ overflow: 'hidden'
27895
+ },
27896
+ video: {
27897
+ position: 'absolute',
27898
+ top: 0,
27899
+ left: 0,
27900
+ width: '100%',
27901
+ height: '100%',
27902
+ objectFit: 'cover'
27903
+ },
27904
+ overlay: {
27905
+ position: 'absolute',
27906
+ top: 0,
27907
+ left: 0,
27908
+ width: '100%',
27909
+ height: '100%',
27910
+ pointerEvents: 'none'
27911
+ },
27912
+ content: {
27913
+ position: 'relative',
27914
+ zIndex: 2
27915
+ }
27916
+ };
27771
27917
 
27772
27918
  /**
27773
27919
  * Gradient Styles
@@ -27930,7 +28076,7 @@ var DefaultGradientStyles = {
27930
28076
  }
27931
28077
  };
27932
28078
 
27933
- var _excluded$1j = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
28079
+ var _excluded$1l = ["type", "direction", "shape", "position", "from", "to", "colors", "animate", "animationDuration", "children", "views", "themeMode"];
27934
28080
  var GradientView = _ref => {
27935
28081
  var {
27936
28082
  type = 'linear',
@@ -27946,7 +28092,7 @@ var GradientView = _ref => {
27946
28092
  views,
27947
28093
  themeMode: elementMode
27948
28094
  } = _ref,
27949
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1j);
28095
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
27950
28096
  var {
27951
28097
  getColor,
27952
28098
  themeMode
@@ -28022,15 +28168,16 @@ var Gradient = props => {
28022
28168
  return /*#__PURE__*/React__default.createElement(GradientView, Object.assign({}, props));
28023
28169
  };
28024
28170
 
28025
- var _excluded$1k = ["children", "showRadialGradient", "views", "themeMode"],
28171
+ var _excluded$1m = ["children", "showRadialGradient", "views", "themeMode"],
28026
28172
  _excluded2$m = ["number", "children"],
28027
28173
  _excluded3$g = ["rows", "cols", "squareSize"],
28028
28174
  _excluded4$d = ["count", "colors", "speed", "shapes"],
28029
28175
  _excluded5$6 = ["gridSize", "lineColor", "pulseColor", "animationSpeed"],
28030
28176
  _excluded6$4 = ["rippleCount", "colors", "maxSize", "frequency"],
28031
28177
  _excluded7$1 = ["children", "src", "backgroundSize", "backgroundPosition", "backgroundRepeat", "backgroundAttachment", "imageOpacity", "overlay", "blendMode", "views", "themeMode"],
28032
- _excluded8$1 = ["children"],
28033
- _excluded9$1 = ["children", "views"];
28178
+ _excluded8$1 = ["children", "src", "autoPlay", "loop", "muted", "playsInline", "overlay", "blendMode", "views", "themeMode"],
28179
+ _excluded9$1 = ["children"],
28180
+ _excluded10$1 = ["children", "views"];
28034
28181
  // Background Context
28035
28182
  var BackgroundContext = /*#__PURE__*/React.createContext({});
28036
28183
  /**
@@ -28042,7 +28189,7 @@ var AuroraBackground = _ref => {
28042
28189
  showRadialGradient = true,
28043
28190
  views
28044
28191
  } = _ref,
28045
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1k);
28192
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
28046
28193
  var gradientColors = {
28047
28194
  white: 'rgba(255,255,255,1)',
28048
28195
  transparent: 'rgba(255,255,255,0)'
@@ -28453,23 +28600,61 @@ var BackgroundImage = _ref7 => {
28453
28600
  style: overlayStyle
28454
28601
  }), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundImageStyles.content, views == null ? void 0 : views.content), children)));
28455
28602
  };
28603
+ /**
28604
+ * Background Video Component
28605
+ */
28606
+ var BackgroundVideo = _ref8 => {
28607
+ var {
28608
+ children,
28609
+ src,
28610
+ autoPlay = true,
28611
+ loop = true,
28612
+ muted = true,
28613
+ playsInline = true,
28614
+ overlay,
28615
+ blendMode = 'normal',
28616
+ views,
28617
+ themeMode: elementMode
28618
+ } = _ref8,
28619
+ props = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28620
+ var {
28621
+ getColor
28622
+ } = appStudio.useTheme();
28623
+ var overlayStyle = overlay ? Object.assign({}, BackgroundVideoStyles.overlay, {
28624
+ backgroundColor: getColor(overlay, elementMode ? {
28625
+ themeMode: elementMode
28626
+ } : undefined),
28627
+ mixBlendMode: blendMode
28628
+ }) : {};
28629
+ return /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundVideoStyles.container, views == null ? void 0 : views.container, props), /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
28630
+ as: "video",
28631
+ src: src,
28632
+ autoPlay: autoPlay,
28633
+ loop: loop,
28634
+ muted: muted,
28635
+ playsInline: playsInline,
28636
+ style: BackgroundVideoStyles.video
28637
+ }, views == null ? void 0 : views.video)), overlay && /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({
28638
+ style: overlayStyle
28639
+ }, views == null ? void 0 : views.overlay)), children && (/*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, BackgroundVideoStyles.content, views == null ? void 0 : views.content), children)));
28640
+ };
28456
28641
  /**
28457
28642
  * Background Gradient Component
28458
28643
  * Uses the existing Gradient component as a background
28459
28644
  */
28460
- var BackgroundGradient = _ref8 => {
28645
+ var BackgroundGradient = _ref9 => {
28461
28646
  var {
28462
28647
  children
28463
- } = _ref8,
28464
- gradientProps = _objectWithoutPropertiesLoose(_ref8, _excluded8$1);
28648
+ } = _ref9,
28649
+ gradientProps = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28465
28650
  return /*#__PURE__*/React__default.createElement(Gradient, Object.assign({}, gradientProps), children);
28466
28651
  };
28467
- var BackgroundViewBase = _ref9 => {
28652
+ var BackgroundViewBase = _ref10 => {
28468
28653
  var {
28469
28654
  children,
28470
28655
  views
28471
- } = _ref9,
28472
- props = _objectWithoutPropertiesLoose(_ref9, _excluded9$1);
28656
+ } = _ref10,
28657
+ props = _objectWithoutPropertiesLoose(_ref10, _excluded10$1);
28473
28658
  return /*#__PURE__*/React__default.createElement(BackgroundContext.Provider, {
28474
28659
  value: {}
28475
28660
  }, /*#__PURE__*/React__default.createElement(appStudio.View, Object.assign({}, DefaultBackgroundStyles.container, views == null ? void 0 : views.container, props), children));
@@ -28484,6 +28669,7 @@ BackgroundView.Particles = Particles;
28484
28669
  BackgroundView.Grid = Grid;
28485
28670
  BackgroundView.Ripples = Ripples;
28486
28671
  BackgroundView.Image = BackgroundImage;
28672
+ BackgroundView.Video = BackgroundVideo;
28487
28673
  BackgroundView.Gradient = BackgroundGradient;
28488
28674
 
28489
28675
  /**
@@ -28522,6 +28708,12 @@ BackgroundView.Gradient = BackgroundGradient;
28522
28708
  * </Background.Image>
28523
28709
  *
28524
28710
  * @example
28711
+ * // Background Video
28712
+ * <Background.Video src="/path/to/video.mp4" overlay="rgba(0,0,0,0.5)">
28713
+ * <Text color="white">Content over video</Text>
28714
+ * </Background.Video>
28715
+ *
28716
+ * @example
28525
28717
  * // Background Gradient
28526
28718
  * <Background.Gradient from="blue.500" to="purple.500" animate={true}>
28527
28719
  * <Text color="white">Content over gradient</Text>
@@ -28539,6 +28731,7 @@ var Background = /*#__PURE__*/Object.assign(BackgroundComponent, {
28539
28731
  Grid: BackgroundView.Grid,
28540
28732
  Ripples: BackgroundView.Ripples,
28541
28733
  Image: BackgroundView.Image,
28734
+ Video: BackgroundView.Video,
28542
28735
  Gradient: BackgroundView.Gradient
28543
28736
  });
28544
28737
  Background.displayName = 'Background';
@@ -28896,7 +29089,7 @@ var AgentRunProgress = _ref => {
28896
29089
  }, step.label))))));
28897
29090
  };
28898
29091
 
28899
- 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"];
29092
+ 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"];
28900
29093
  /**
28901
29094
  * AgentChat View Component
28902
29095
  *
@@ -28936,7 +29129,7 @@ var AgentChatView = _ref => {
28936
29129
  setError,
28937
29130
  setSelectedFiles
28938
29131
  } = _ref,
28939
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1l);
29132
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
28940
29133
  /**
28941
29134
  * Auto-scroll to bottom when new messages arrive
28942
29135
  */
@@ -30077,7 +30270,7 @@ var SessionFilters = _ref => {
30077
30270
  }, "Clear all filters")))));
30078
30271
  };
30079
30272
 
30080
- 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"];
30273
+ 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"];
30081
30274
  /**
30082
30275
  * AgentSession View Component
30083
30276
  *
@@ -30125,7 +30318,7 @@ var AgentSessionView = _ref => {
30125
30318
  fileInputRef,
30126
30319
  handleFileSelect
30127
30320
  } = _ref,
30128
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1m);
30321
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
30129
30322
  /**
30130
30323
  * Handle session creation
30131
30324
  */
@@ -31964,7 +32157,7 @@ var TraceVisualization = _ref => {
31964
32157
  }, renderVisualization())));
31965
32158
  };
31966
32159
 
31967
- 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"];
32160
+ 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"];
31968
32161
  /**
31969
32162
  * AgentTrace View Component
31970
32163
  *
@@ -32005,7 +32198,7 @@ var AgentTraceView = _ref => {
32005
32198
  setCurrentVisualization,
32006
32199
  setError
32007
32200
  } = _ref,
32008
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1n);
32201
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1p);
32009
32202
  /**
32010
32203
  * Handle event selection
32011
32204
  */
@@ -33694,7 +33887,7 @@ var EvaluationMetrics = _ref => {
33694
33887
  }, "Run some evaluations to see performance metrics")))));
33695
33888
  };
33696
33889
 
33697
- 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"];
33890
+ 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"];
33698
33891
  /**
33699
33892
  * AgentEval View Component
33700
33893
  *
@@ -33737,7 +33930,7 @@ var AgentEvalView = _ref => {
33737
33930
  setSearchQuery,
33738
33931
  setError
33739
33932
  } = _ref,
33740
- props = _objectWithoutPropertiesLoose(_ref, _excluded$1o);
33933
+ props = _objectWithoutPropertiesLoose(_ref, _excluded$1q);
33741
33934
  var [activeTab, setActiveTab] = React__default.useState('evaluations');
33742
33935
  /**
33743
33936
  * Handle evaluation creation
@@ -34519,6 +34712,7 @@ exports.PlusIcon = PlusIcon;
34519
34712
  exports.PowerOffIcon = PowerOffIcon;
34520
34713
  exports.PrintIcon = PrintIcon;
34521
34714
  exports.ProfileIcon = ProfileIcon;
34715
+ exports.ProgressBar = ProgressBar;
34522
34716
  exports.RefreshIcon = RefreshIcon;
34523
34717
  exports.Resizable = Resizable;
34524
34718
  exports.RotateIcon = RotateIcon;
@@ -34536,6 +34730,7 @@ exports.Slider = Slider;
34536
34730
  exports.SliderIcon = SliderIcon;
34537
34731
  exports.SpinnerIcon = SpinnerIcon;
34538
34732
  exports.StarIcon = StarIcon;
34733
+ exports.StatusIndicator = StatusIndicator;
34539
34734
  exports.StopIcon = StopIcon;
34540
34735
  exports.SuccessIcon = SuccessIcon;
34541
34736
  exports.Switch = Switch;