@foris/avocado-not-front 8.7.3 → 8.8.0

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.
@@ -3,5 +3,5 @@ interface TabsNotFrontExtendedProps extends TabsNotFrontProps {
3
3
  userFlow: string;
4
4
  pageId: string;
5
5
  }
6
- declare const TabsNotFront: ({ userFlow, pageId, hash, items, activeIndex, className, responseKey, preserveHeight, }: TabsNotFrontExtendedProps) => import("react/jsx-runtime").JSX.Element;
6
+ declare const TabsNotFront: ({ userFlow, pageId, hash, items, activeIndex, className, id, responseKey, preserveHeight, "aria-label": ariaLabel, }: TabsNotFrontExtendedProps) => import("react/jsx-runtime").JSX.Element;
7
7
  export default TabsNotFront;
@@ -685,12 +685,15 @@ export interface TextareaNotFrontProps extends NotFrontBaseProps, Omit<TextareaP
685
685
  export interface TabsItemNotFront {
686
686
  label: string;
687
687
  disabled?: boolean;
688
+ icon?: IconTypes;
689
+ count?: number;
688
690
  components: NotFrontComponent[];
689
691
  }
690
692
  /**
691
693
  * Interface for the props used in the TabsNotFront component.
694
+ * `actions` is omitted because panels and navigation come from the page JSON and the user flow.
692
695
  */
693
- export interface TabsNotFrontProps extends NotFrontBaseProps, Omit<TabsProps, 'items' | 'onClick'> {
696
+ export interface TabsNotFrontProps extends NotFrontBaseProps, Omit<TabsProps, 'items' | 'onClick' | 'actions'> {
694
697
  component: 'tabs';
695
698
  items: TabsItemNotFront[];
696
699
  }
@@ -1062,6 +1065,8 @@ export interface TooltipNotFrontProps extends NotFrontBaseProps {
1062
1065
  content: NotFrontComponent[];
1063
1066
  placement?: 'top' | 'topLeft' | 'topRight' | 'bottom' | 'bottomLeft' | 'bottomRight' | 'left' | 'right';
1064
1067
  notShowArrow?: boolean;
1068
+ /** `rich` wraps longer content on the surface color, for a help popover. */
1069
+ variant?: 'default' | 'rich';
1065
1070
  visible?: boolean;
1066
1071
  }
1067
1072
  /**
@@ -1353,13 +1358,6 @@ export interface ModalNotFrontProps extends NotFrontBaseProps, ModalProps {
1353
1358
  */
1354
1359
  footer: NotFrontComponent[];
1355
1360
  }
1356
- /** Suite `Stepper`: `items` are step labels only. */
1357
- export interface StepperNotFrontProps extends NotFrontBaseProps {
1358
- component: 'stepper';
1359
- items: string[];
1360
- itemActive: number;
1361
- darkMode?: boolean;
1362
- }
1363
1361
  /**
1364
1362
  * Suite `CardAccordion` props a JSON page definition cannot carry.
1365
1363
  * `CardAccordion.test-d.ts` pins this union against the suite props.