@liner-fe/prism 1.13.29 → 1.13.30
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.
- package/lib/components/Select/index.d.ts +1 -0
- package/lib/index.mjs +2 -2
- package/lib/index.mjs.map +2 -2
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@ export interface SelectProps extends ComponentPropsWithoutRef<typeof SelectPrimi
|
|
|
12
12
|
isResponsive?: boolean;
|
|
13
13
|
openDirection?: 'slide-up' | 'slide-right';
|
|
14
14
|
badge?: string;
|
|
15
|
+
container?: HTMLElement;
|
|
15
16
|
}
|
|
16
17
|
export interface SelectItemProps {
|
|
17
18
|
value: string;
|
package/lib/index.mjs
CHANGED
|
@@ -8868,8 +8868,8 @@ import clsx15 from "clsx";
|
|
|
8868
8868
|
import { jsx as jsx166, jsxs as jsxs114 } from "react/jsx-runtime";
|
|
8869
8869
|
var Badge = /* @__PURE__ */ __name(({ children }) => /* @__PURE__ */ jsx166("div", { className: style_module_default13.badgeContainer, children: /* @__PURE__ */ jsx166(Caption, { className: style_module_default13.badge, size: 2, type: "normal", weight: "medium", children }) }), "Badge");
|
|
8870
8870
|
var SelectContent = forwardRef15((props, ref) => {
|
|
8871
|
-
const { id, isResponsive, popSide, sideOffset, listLabel, children } = props;
|
|
8872
|
-
return /* @__PURE__ */ jsx166(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsx166(
|
|
8871
|
+
const { id, isResponsive, popSide, sideOffset, listLabel, children, container } = props;
|
|
8872
|
+
return /* @__PURE__ */ jsx166(SelectPrimitive.Portal, { container, children: /* @__PURE__ */ jsx166(
|
|
8873
8873
|
SelectPrimitive.Content,
|
|
8874
8874
|
{
|
|
8875
8875
|
id: `select-content-${id}`,
|