@arkitektbedriftene/fe-lib 5.1.6 → 5.1.7

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.
@@ -1,12 +1,13 @@
1
1
  import { ReactNode } from 'react';
2
2
  import * as RDropdown from "@radix-ui/react-dropdown-menu";
3
- export declare const DropdownMenu: ({ side, align, trigger, children, sideOffset, modal, }: {
3
+ export declare const DropdownMenu: ({ side, align, trigger, children, sideOffset, modal, disabled, }: {
4
4
  side?: "bottom" | "right" | "left" | "top";
5
5
  align?: "start" | "center" | "end";
6
6
  trigger: ReactNode;
7
7
  children: ReactNode;
8
8
  sideOffset?: number;
9
9
  modal?: boolean;
10
+ disabled?: boolean;
10
11
  }) => import("react/jsx-runtime").JSX.Element;
11
12
  export declare const DropdownMenuSeparator: import('@stitches/react/types/styled-component').StyledComponent<import('react').ForwardRefExoticComponent<RDropdown.DropdownMenuSeparatorProps & import('react').RefAttributes<HTMLDivElement>>, {}, {
12
13
  lg: "(min-width: 1200px)";
package/dist/ui.es.js CHANGED
@@ -805,9 +805,10 @@ const bo = h({
805
805
  trigger: r,
806
806
  children: a,
807
807
  sideOffset: i,
808
- modal: s
808
+ modal: s,
809
+ disabled: l
809
810
  }) => /* @__PURE__ */ c(m.Root, { modal: s, children: [
810
- /* @__PURE__ */ t(m.Trigger, { asChild: !0, children: r }),
811
+ /* @__PURE__ */ t(m.Trigger, { asChild: !0, disabled: l, children: r }),
811
812
  /* @__PURE__ */ t(m.Portal, { children: /* @__PURE__ */ t(
812
813
  m.Content,
813
814
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkitektbedriftene/fe-lib",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./oidc": {