@strapi/design-system 2.0.0-rc.27 → 2.0.0-rc.28

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.
@@ -5,6 +5,7 @@ interface Props extends Popover.PopoverProps {
5
5
  }
6
6
  declare const Root: React.FC<Popover.PopoverProps>;
7
7
  declare const Anchor: React.ForwardRefExoticComponent<Popover.PopoverAnchorProps & React.RefAttributes<HTMLDivElement>>;
8
+ declare const Arrow: React.ForwardRefExoticComponent<Popover.PopoverArrowProps & React.RefAttributes<SVGSVGElement>>;
8
9
  type TriggerElement = HTMLButtonElement;
9
10
  interface TriggerProps extends Omit<Popover.PopoverTriggerProps, 'asChild'> {
10
11
  }
@@ -18,6 +19,6 @@ interface ScrollAreaImplProps extends ScrollAreaProps {
18
19
  onReachEnd?: (entry: IntersectionObserverEntry) => void;
19
20
  }
20
21
  declare const ScrollAreaImpl: React.ForwardRefExoticComponent<ScrollAreaImplProps & React.RefAttributes<HTMLDivElement>>;
21
- export { Root, Anchor, Trigger, Content, ScrollAreaImpl as ScrollArea };
22
+ export { Root, Anchor, Trigger, Content, Arrow, ScrollAreaImpl as ScrollArea };
22
23
  export type { Props, TriggerElement, TriggerProps, ContentProps, ContentElement, ScrollAreaImplProps as ScrollAreaProps, };
23
24
  //# sourceMappingURL=Popover.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../../src/components/Popover/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,OAAO,MAAM,yBAAyB,CAAC;AASnD,OAAO,EAAc,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAMzE,UAAU,KAAM,SAAQ,OAAO,CAAC,YAAY;CAAG;AAE/C,QAAA,MAAM,IAAI,gCAAe,CAAC;AAM1B,QAAA,MAAM,MAAM,mGAAiB,CAAC;AAM9B,KAAK,cAAc,GAAG,iBAAiB,C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AU,YAAa,SAAQ,OAAO,CAAC,mBAAmB;CAAG;AAE7D,QAAA,MAAM,OAAO,qFAMX,CAAC;AAsCH,UAAU,mBAAoB,SAAQ,eAAe;IACnD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,yBAAyB,KAAK,IAAI,CAAC;CACzD;AAED,QAAA,MAAM,cAAc,4FAoBnB,CAAC;AAMF,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,cAAc,IAAI,UAAU,EAAE,CAAC;AAC/E,YAAY,EACV,KAAK,EACL,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,cAAc,EACd,mBAAmB,IAAI,eAAe,GACvC,CAAC"}
package/dist/index.js CHANGED
@@ -5662,6 +5662,7 @@ const Dots = ({ children, ...props }) => /* @__PURE__ */ jsxRuntime.jsxs(Box, {
5662
5662
  ] });
5663
5663
  const Root$2 = Popover__namespace.Root;
5664
5664
  const Anchor = Popover__namespace.Anchor;
5665
+ const Arrow = Popover__namespace.Arrow;
5665
5666
  const Trigger$1 = React__namespace.forwardRef((props, forwardedRef) => {
5666
5667
  return /* @__PURE__ */ jsxRuntime.jsx(Popover__namespace.Trigger, { ...props, asChild: true, ref: forwardedRef });
5667
5668
  });
@@ -5725,6 +5726,7 @@ const PopoverScrollArea = styled.styled(ScrollAreaImpl$1)`
5725
5726
  const Popover = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5726
5727
  __proto__: null,
5727
5728
  Anchor,
5729
+ Arrow,
5728
5730
  Content: Content$1,
5729
5731
  Root: Root$2,
5730
5732
  ScrollArea: ScrollAreaImpl,