unifyedx-storybook-new 0.1.22 → 0.1.23
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,5 +1,5 @@
|
|
|
1
1
|
import require$$1, { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
2
|
-
import * as React from 'react';
|
|
2
|
+
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { forwardRef, createElement, useState, useMemo, useId as useId$1, createContext, useContext, useCallback, useRef, useLayoutEffect, useEffect, Fragment as Fragment$1, useImperativeHandle } from 'react';
|
|
4
4
|
import { Popover as Popover$1, PopoverButton, PopoverPanel, Transition, Dialog, TransitionChild, DialogPanel, DialogTitle, TabGroup, TabList, Tab, TabPanels, RadioGroup as RadioGroup$1, Listbox, ListboxButton, ListboxOptions, ListboxOption, SwitchGroup, Switch, Menu as Menu$1, MenuButton, Portal, MenuItems, MenuItem } from '@headlessui/react';
|
|
5
5
|
import { motion, AnimatePresence } from 'framer-motion';
|
|
@@ -42645,9 +42645,9 @@ const Tooltip = ({
|
|
|
42645
42645
|
// For external styling of the tooltip itself
|
|
42646
42646
|
...props
|
|
42647
42647
|
}) => {
|
|
42648
|
-
const tooltipId =
|
|
42648
|
+
const tooltipId = React.useId();
|
|
42649
42649
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
42650
|
-
|
|
42650
|
+
React.cloneElement(children, { "data-tooltip-id": tooltipId }),
|
|
42651
42651
|
/* @__PURE__ */ jsx(
|
|
42652
42652
|
M,
|
|
42653
42653
|
{
|
|
@@ -42924,7 +42924,7 @@ function CheckIcon({
|
|
|
42924
42924
|
titleId,
|
|
42925
42925
|
...props
|
|
42926
42926
|
}, svgRef) {
|
|
42927
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
42927
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
42928
42928
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42929
42929
|
viewBox: "0 0 24 24",
|
|
42930
42930
|
fill: "currentColor",
|
|
@@ -42932,22 +42932,22 @@ function CheckIcon({
|
|
|
42932
42932
|
"data-slot": "icon",
|
|
42933
42933
|
ref: svgRef,
|
|
42934
42934
|
"aria-labelledby": titleId
|
|
42935
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
42935
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
42936
42936
|
id: titleId
|
|
42937
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
42937
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
42938
42938
|
fillRule: "evenodd",
|
|
42939
42939
|
d: "M19.916 4.626a.75.75 0 0 1 .208 1.04l-9 13.5a.75.75 0 0 1-1.154.114l-6-6a.75.75 0 0 1 1.06-1.06l5.353 5.353 8.493-12.74a.75.75 0 0 1 1.04-.207Z",
|
|
42940
42940
|
clipRule: "evenodd"
|
|
42941
42941
|
}));
|
|
42942
42942
|
}
|
|
42943
|
-
const ForwardRef$b = /*#__PURE__*/ React.forwardRef(CheckIcon);
|
|
42943
|
+
const ForwardRef$b = /*#__PURE__*/ React$1.forwardRef(CheckIcon);
|
|
42944
42944
|
|
|
42945
42945
|
function ChevronLeftIcon({
|
|
42946
42946
|
title,
|
|
42947
42947
|
titleId,
|
|
42948
42948
|
...props
|
|
42949
42949
|
}, svgRef) {
|
|
42950
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
42950
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
42951
42951
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42952
42952
|
viewBox: "0 0 24 24",
|
|
42953
42953
|
fill: "currentColor",
|
|
@@ -42955,22 +42955,22 @@ function ChevronLeftIcon({
|
|
|
42955
42955
|
"data-slot": "icon",
|
|
42956
42956
|
ref: svgRef,
|
|
42957
42957
|
"aria-labelledby": titleId
|
|
42958
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
42958
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
42959
42959
|
id: titleId
|
|
42960
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
42960
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
42961
42961
|
fillRule: "evenodd",
|
|
42962
42962
|
d: "M7.72 12.53a.75.75 0 0 1 0-1.06l7.5-7.5a.75.75 0 1 1 1.06 1.06L9.31 12l6.97 6.97a.75.75 0 1 1-1.06 1.06l-7.5-7.5Z",
|
|
42963
42963
|
clipRule: "evenodd"
|
|
42964
42964
|
}));
|
|
42965
42965
|
}
|
|
42966
|
-
const ForwardRef$a = /*#__PURE__*/ React.forwardRef(ChevronLeftIcon);
|
|
42966
|
+
const ForwardRef$a = /*#__PURE__*/ React$1.forwardRef(ChevronLeftIcon);
|
|
42967
42967
|
|
|
42968
42968
|
function ChevronUpDownIcon({
|
|
42969
42969
|
title,
|
|
42970
42970
|
titleId,
|
|
42971
42971
|
...props
|
|
42972
42972
|
}, svgRef) {
|
|
42973
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
42973
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
42974
42974
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42975
42975
|
viewBox: "0 0 24 24",
|
|
42976
42976
|
fill: "currentColor",
|
|
@@ -42978,22 +42978,22 @@ function ChevronUpDownIcon({
|
|
|
42978
42978
|
"data-slot": "icon",
|
|
42979
42979
|
ref: svgRef,
|
|
42980
42980
|
"aria-labelledby": titleId
|
|
42981
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
42981
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
42982
42982
|
id: titleId
|
|
42983
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
42983
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
42984
42984
|
fillRule: "evenodd",
|
|
42985
42985
|
d: "M11.47 4.72a.75.75 0 0 1 1.06 0l3.75 3.75a.75.75 0 0 1-1.06 1.06L12 6.31 8.78 9.53a.75.75 0 0 1-1.06-1.06l3.75-3.75Zm-3.75 9.75a.75.75 0 0 1 1.06 0L12 17.69l3.22-3.22a.75.75 0 1 1 1.06 1.06l-3.75 3.75a.75.75 0 0 1-1.06 0l-3.75-3.75a.75.75 0 0 1 0-1.06Z",
|
|
42986
42986
|
clipRule: "evenodd"
|
|
42987
42987
|
}));
|
|
42988
42988
|
}
|
|
42989
|
-
const ForwardRef$9 = /*#__PURE__*/ React.forwardRef(ChevronUpDownIcon);
|
|
42989
|
+
const ForwardRef$9 = /*#__PURE__*/ React$1.forwardRef(ChevronUpDownIcon);
|
|
42990
42990
|
|
|
42991
42991
|
function EyeIcon({
|
|
42992
42992
|
title,
|
|
42993
42993
|
titleId,
|
|
42994
42994
|
...props
|
|
42995
42995
|
}, svgRef) {
|
|
42996
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
42996
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
42997
42997
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42998
42998
|
viewBox: "0 0 24 24",
|
|
42999
42999
|
fill: "currentColor",
|
|
@@ -43001,24 +43001,24 @@ function EyeIcon({
|
|
|
43001
43001
|
"data-slot": "icon",
|
|
43002
43002
|
ref: svgRef,
|
|
43003
43003
|
"aria-labelledby": titleId
|
|
43004
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43004
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43005
43005
|
id: titleId
|
|
43006
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43006
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43007
43007
|
d: "M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z"
|
|
43008
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
43008
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
43009
43009
|
fillRule: "evenodd",
|
|
43010
43010
|
d: "M1.323 11.447C2.811 6.976 7.028 3.75 12.001 3.75c4.97 0 9.185 3.223 10.675 7.69.12.362.12.752 0 1.113-1.487 4.471-5.705 7.697-10.677 7.697-4.97 0-9.186-3.223-10.675-7.69a1.762 1.762 0 0 1 0-1.113ZM17.25 12a5.25 5.25 0 1 1-10.5 0 5.25 5.25 0 0 1 10.5 0Z",
|
|
43011
43011
|
clipRule: "evenodd"
|
|
43012
43012
|
}));
|
|
43013
43013
|
}
|
|
43014
|
-
const ForwardRef$8 = /*#__PURE__*/ React.forwardRef(EyeIcon);
|
|
43014
|
+
const ForwardRef$8 = /*#__PURE__*/ React$1.forwardRef(EyeIcon);
|
|
43015
43015
|
|
|
43016
43016
|
function LinkIcon({
|
|
43017
43017
|
title,
|
|
43018
43018
|
titleId,
|
|
43019
43019
|
...props
|
|
43020
43020
|
}, svgRef) {
|
|
43021
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43021
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43022
43022
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43023
43023
|
viewBox: "0 0 24 24",
|
|
43024
43024
|
fill: "currentColor",
|
|
@@ -43026,22 +43026,22 @@ function LinkIcon({
|
|
|
43026
43026
|
"data-slot": "icon",
|
|
43027
43027
|
ref: svgRef,
|
|
43028
43028
|
"aria-labelledby": titleId
|
|
43029
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43029
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43030
43030
|
id: titleId
|
|
43031
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43031
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43032
43032
|
fillRule: "evenodd",
|
|
43033
43033
|
d: "M19.902 4.098a3.75 3.75 0 0 0-5.304 0l-4.5 4.5a3.75 3.75 0 0 0 1.035 6.037.75.75 0 0 1-.646 1.353 5.25 5.25 0 0 1-1.449-8.45l4.5-4.5a5.25 5.25 0 1 1 7.424 7.424l-1.757 1.757a.75.75 0 1 1-1.06-1.06l1.757-1.757a3.75 3.75 0 0 0 0-5.304Zm-7.389 4.267a.75.75 0 0 1 1-.353 5.25 5.25 0 0 1 1.449 8.45l-4.5 4.5a5.25 5.25 0 1 1-7.424-7.424l1.757-1.757a.75.75 0 1 1 1.06 1.06l-1.757 1.757a3.75 3.75 0 1 0 5.304 5.304l4.5-4.5a3.75 3.75 0 0 0-1.035-6.037.75.75 0 0 1-.354-1Z",
|
|
43034
43034
|
clipRule: "evenodd"
|
|
43035
43035
|
}));
|
|
43036
43036
|
}
|
|
43037
|
-
const ForwardRef$7 = /*#__PURE__*/ React.forwardRef(LinkIcon);
|
|
43037
|
+
const ForwardRef$7 = /*#__PURE__*/ React$1.forwardRef(LinkIcon);
|
|
43038
43038
|
|
|
43039
43039
|
function PencilSquareIcon({
|
|
43040
43040
|
title,
|
|
43041
43041
|
titleId,
|
|
43042
43042
|
...props
|
|
43043
43043
|
}, svgRef) {
|
|
43044
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43044
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43045
43045
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43046
43046
|
viewBox: "0 0 24 24",
|
|
43047
43047
|
fill: "currentColor",
|
|
@@ -43049,22 +43049,22 @@ function PencilSquareIcon({
|
|
|
43049
43049
|
"data-slot": "icon",
|
|
43050
43050
|
ref: svgRef,
|
|
43051
43051
|
"aria-labelledby": titleId
|
|
43052
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43052
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43053
43053
|
id: titleId
|
|
43054
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43054
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43055
43055
|
d: "M21.731 2.269a2.625 2.625 0 0 0-3.712 0l-1.157 1.157 3.712 3.712 1.157-1.157a2.625 2.625 0 0 0 0-3.712ZM19.513 8.199l-3.712-3.712-8.4 8.4a5.25 5.25 0 0 0-1.32 2.214l-.8 2.685a.75.75 0 0 0 .933.933l2.685-.8a5.25 5.25 0 0 0 2.214-1.32l8.4-8.4Z"
|
|
43056
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
43056
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
43057
43057
|
d: "M5.25 5.25a3 3 0 0 0-3 3v10.5a3 3 0 0 0 3 3h10.5a3 3 0 0 0 3-3V13.5a.75.75 0 0 0-1.5 0v5.25a1.5 1.5 0 0 1-1.5 1.5H5.25a1.5 1.5 0 0 1-1.5-1.5V8.25a1.5 1.5 0 0 1 1.5-1.5h5.25a.75.75 0 0 0 0-1.5H5.25Z"
|
|
43058
43058
|
}));
|
|
43059
43059
|
}
|
|
43060
|
-
const ForwardRef$6 = /*#__PURE__*/ React.forwardRef(PencilSquareIcon);
|
|
43060
|
+
const ForwardRef$6 = /*#__PURE__*/ React$1.forwardRef(PencilSquareIcon);
|
|
43061
43061
|
|
|
43062
43062
|
function ShieldCheckIcon({
|
|
43063
43063
|
title,
|
|
43064
43064
|
titleId,
|
|
43065
43065
|
...props
|
|
43066
43066
|
}, svgRef) {
|
|
43067
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43067
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43068
43068
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43069
43069
|
viewBox: "0 0 24 24",
|
|
43070
43070
|
fill: "currentColor",
|
|
@@ -43072,22 +43072,22 @@ function ShieldCheckIcon({
|
|
|
43072
43072
|
"data-slot": "icon",
|
|
43073
43073
|
ref: svgRef,
|
|
43074
43074
|
"aria-labelledby": titleId
|
|
43075
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43075
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43076
43076
|
id: titleId
|
|
43077
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43077
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43078
43078
|
fillRule: "evenodd",
|
|
43079
43079
|
d: "M12.516 2.17a.75.75 0 0 0-1.032 0 11.209 11.209 0 0 1-7.877 3.08.75.75 0 0 0-.722.515A12.74 12.74 0 0 0 2.25 9.75c0 5.942 4.064 10.933 9.563 12.348a.749.749 0 0 0 .374 0c5.499-1.415 9.563-6.406 9.563-12.348 0-1.39-.223-2.73-.635-3.985a.75.75 0 0 0-.722-.516l-.143.001c-2.996 0-5.717-1.17-7.734-3.08Zm3.094 8.016a.75.75 0 1 0-1.22-.872l-3.236 4.53L9.53 12.22a.75.75 0 0 0-1.06 1.06l2.25 2.25a.75.75 0 0 0 1.14-.094l3.75-5.25Z",
|
|
43080
43080
|
clipRule: "evenodd"
|
|
43081
43081
|
}));
|
|
43082
43082
|
}
|
|
43083
|
-
const ForwardRef$5 = /*#__PURE__*/ React.forwardRef(ShieldCheckIcon);
|
|
43083
|
+
const ForwardRef$5 = /*#__PURE__*/ React$1.forwardRef(ShieldCheckIcon);
|
|
43084
43084
|
|
|
43085
43085
|
function TrashIcon({
|
|
43086
43086
|
title,
|
|
43087
43087
|
titleId,
|
|
43088
43088
|
...props
|
|
43089
43089
|
}, svgRef) {
|
|
43090
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43090
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43091
43091
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43092
43092
|
viewBox: "0 0 24 24",
|
|
43093
43093
|
fill: "currentColor",
|
|
@@ -43095,22 +43095,22 @@ function TrashIcon({
|
|
|
43095
43095
|
"data-slot": "icon",
|
|
43096
43096
|
ref: svgRef,
|
|
43097
43097
|
"aria-labelledby": titleId
|
|
43098
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43098
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43099
43099
|
id: titleId
|
|
43100
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43100
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43101
43101
|
fillRule: "evenodd",
|
|
43102
43102
|
d: "M16.5 4.478v.227a48.816 48.816 0 0 1 3.878.512.75.75 0 1 1-.256 1.478l-.209-.035-1.005 13.07a3 3 0 0 1-2.991 2.77H8.084a3 3 0 0 1-2.991-2.77L4.087 6.66l-.209.035a.75.75 0 0 1-.256-1.478A48.567 48.567 0 0 1 7.5 4.705v-.227c0-1.564 1.213-2.9 2.816-2.951a52.662 52.662 0 0 1 3.369 0c1.603.051 2.815 1.387 2.815 2.951Zm-6.136-1.452a51.196 51.196 0 0 1 3.273 0C14.39 3.05 15 3.684 15 4.478v.113a49.488 49.488 0 0 0-6 0v-.113c0-.794.609-1.428 1.364-1.452Zm-.355 5.945a.75.75 0 1 0-1.5.058l.347 9a.75.75 0 1 0 1.499-.058l-.346-9Zm5.48.058a.75.75 0 1 0-1.498-.058l-.347 9a.75.75 0 0 0 1.5.058l.345-9Z",
|
|
43103
43103
|
clipRule: "evenodd"
|
|
43104
43104
|
}));
|
|
43105
43105
|
}
|
|
43106
|
-
const ForwardRef$4 = /*#__PURE__*/ React.forwardRef(TrashIcon);
|
|
43106
|
+
const ForwardRef$4 = /*#__PURE__*/ React$1.forwardRef(TrashIcon);
|
|
43107
43107
|
|
|
43108
43108
|
function UserCircleIcon({
|
|
43109
43109
|
title,
|
|
43110
43110
|
titleId,
|
|
43111
43111
|
...props
|
|
43112
43112
|
}, svgRef) {
|
|
43113
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43113
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43114
43114
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43115
43115
|
viewBox: "0 0 24 24",
|
|
43116
43116
|
fill: "currentColor",
|
|
@@ -43118,22 +43118,22 @@ function UserCircleIcon({
|
|
|
43118
43118
|
"data-slot": "icon",
|
|
43119
43119
|
ref: svgRef,
|
|
43120
43120
|
"aria-labelledby": titleId
|
|
43121
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43121
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43122
43122
|
id: titleId
|
|
43123
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43123
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43124
43124
|
fillRule: "evenodd",
|
|
43125
43125
|
d: "M18.685 19.097A9.723 9.723 0 0 0 21.75 12c0-5.385-4.365-9.75-9.75-9.75S2.25 6.615 2.25 12a9.723 9.723 0 0 0 3.065 7.097A9.716 9.716 0 0 0 12 21.75a9.716 9.716 0 0 0 6.685-2.653Zm-12.54-1.285A7.486 7.486 0 0 1 12 15a7.486 7.486 0 0 1 5.855 2.812A8.224 8.224 0 0 1 12 20.25a8.224 8.224 0 0 1-5.855-2.438ZM15.75 9a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z",
|
|
43126
43126
|
clipRule: "evenodd"
|
|
43127
43127
|
}));
|
|
43128
43128
|
}
|
|
43129
|
-
const ForwardRef$3 = /*#__PURE__*/ React.forwardRef(UserCircleIcon);
|
|
43129
|
+
const ForwardRef$3 = /*#__PURE__*/ React$1.forwardRef(UserCircleIcon);
|
|
43130
43130
|
|
|
43131
43131
|
function UserGroupIcon({
|
|
43132
43132
|
title,
|
|
43133
43133
|
titleId,
|
|
43134
43134
|
...props
|
|
43135
43135
|
}, svgRef) {
|
|
43136
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43136
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43137
43137
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43138
43138
|
viewBox: "0 0 24 24",
|
|
43139
43139
|
fill: "currentColor",
|
|
@@ -43141,24 +43141,24 @@ function UserGroupIcon({
|
|
|
43141
43141
|
"data-slot": "icon",
|
|
43142
43142
|
ref: svgRef,
|
|
43143
43143
|
"aria-labelledby": titleId
|
|
43144
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43144
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43145
43145
|
id: titleId
|
|
43146
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43146
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43147
43147
|
fillRule: "evenodd",
|
|
43148
43148
|
d: "M8.25 6.75a3.75 3.75 0 1 1 7.5 0 3.75 3.75 0 0 1-7.5 0ZM15.75 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM2.25 9.75a3 3 0 1 1 6 0 3 3 0 0 1-6 0ZM6.31 15.117A6.745 6.745 0 0 1 12 12a6.745 6.745 0 0 1 6.709 7.498.75.75 0 0 1-.372.568A12.696 12.696 0 0 1 12 21.75c-2.305 0-4.47-.612-6.337-1.684a.75.75 0 0 1-.372-.568 6.787 6.787 0 0 1 1.019-4.38Z",
|
|
43149
43149
|
clipRule: "evenodd"
|
|
43150
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
43150
|
+
}), /*#__PURE__*/React$1.createElement("path", {
|
|
43151
43151
|
d: "M5.082 14.254a8.287 8.287 0 0 0-1.308 5.135 9.687 9.687 0 0 1-1.764-.44l-.115-.04a.563.563 0 0 1-.373-.487l-.01-.121a3.75 3.75 0 0 1 3.57-4.047ZM20.226 19.389a8.287 8.287 0 0 0-1.308-5.135 3.75 3.75 0 0 1 3.57 4.047l-.01.121a.563.563 0 0 1-.373.486l-.115.04c-.567.2-1.156.349-1.764.441Z"
|
|
43152
43152
|
}));
|
|
43153
43153
|
}
|
|
43154
|
-
const ForwardRef$2 = /*#__PURE__*/ React.forwardRef(UserGroupIcon);
|
|
43154
|
+
const ForwardRef$2 = /*#__PURE__*/ React$1.forwardRef(UserGroupIcon);
|
|
43155
43155
|
|
|
43156
43156
|
function UsersIcon({
|
|
43157
43157
|
title,
|
|
43158
43158
|
titleId,
|
|
43159
43159
|
...props
|
|
43160
43160
|
}, svgRef) {
|
|
43161
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43161
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43162
43162
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43163
43163
|
viewBox: "0 0 24 24",
|
|
43164
43164
|
fill: "currentColor",
|
|
@@ -43166,20 +43166,20 @@ function UsersIcon({
|
|
|
43166
43166
|
"data-slot": "icon",
|
|
43167
43167
|
ref: svgRef,
|
|
43168
43168
|
"aria-labelledby": titleId
|
|
43169
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43169
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43170
43170
|
id: titleId
|
|
43171
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43171
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43172
43172
|
d: "M4.5 6.375a4.125 4.125 0 1 1 8.25 0 4.125 4.125 0 0 1-8.25 0ZM14.25 8.625a3.375 3.375 0 1 1 6.75 0 3.375 3.375 0 0 1-6.75 0ZM1.5 19.125a7.125 7.125 0 0 1 14.25 0v.003l-.001.119a.75.75 0 0 1-.363.63 13.067 13.067 0 0 1-6.761 1.873c-2.472 0-4.786-.684-6.76-1.873a.75.75 0 0 1-.364-.63l-.001-.122ZM17.25 19.128l-.001.144a2.25 2.25 0 0 1-.233.96 10.088 10.088 0 0 0 5.06-1.01.75.75 0 0 0 .42-.643 4.875 4.875 0 0 0-6.957-4.611 8.586 8.586 0 0 1 1.71 5.157v.003Z"
|
|
43173
43173
|
}));
|
|
43174
43174
|
}
|
|
43175
|
-
const ForwardRef$1 = /*#__PURE__*/ React.forwardRef(UsersIcon);
|
|
43175
|
+
const ForwardRef$1 = /*#__PURE__*/ React$1.forwardRef(UsersIcon);
|
|
43176
43176
|
|
|
43177
43177
|
function XMarkIcon({
|
|
43178
43178
|
title,
|
|
43179
43179
|
titleId,
|
|
43180
43180
|
...props
|
|
43181
43181
|
}, svgRef) {
|
|
43182
|
-
return /*#__PURE__*/React.createElement("svg", Object.assign({
|
|
43182
|
+
return /*#__PURE__*/React$1.createElement("svg", Object.assign({
|
|
43183
43183
|
xmlns: "http://www.w3.org/2000/svg",
|
|
43184
43184
|
viewBox: "0 0 24 24",
|
|
43185
43185
|
fill: "currentColor",
|
|
@@ -43187,15 +43187,15 @@ function XMarkIcon({
|
|
|
43187
43187
|
"data-slot": "icon",
|
|
43188
43188
|
ref: svgRef,
|
|
43189
43189
|
"aria-labelledby": titleId
|
|
43190
|
-
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
43190
|
+
}, props), title ? /*#__PURE__*/React$1.createElement("title", {
|
|
43191
43191
|
id: titleId
|
|
43192
|
-
}, title) : null, /*#__PURE__*/React.createElement("path", {
|
|
43192
|
+
}, title) : null, /*#__PURE__*/React$1.createElement("path", {
|
|
43193
43193
|
fillRule: "evenodd",
|
|
43194
43194
|
d: "M5.47 5.47a.75.75 0 0 1 1.06 0L12 10.94l5.47-5.47a.75.75 0 1 1 1.06 1.06L13.06 12l5.47 5.47a.75.75 0 1 1-1.06 1.06L12 13.06l-5.47 5.47a.75.75 0 0 1-1.06-1.06L10.94 12 5.47 6.53a.75.75 0 0 1 0-1.06Z",
|
|
43195
43195
|
clipRule: "evenodd"
|
|
43196
43196
|
}));
|
|
43197
43197
|
}
|
|
43198
|
-
const ForwardRef = /*#__PURE__*/ React.forwardRef(XMarkIcon);
|
|
43198
|
+
const ForwardRef = /*#__PURE__*/ React$1.forwardRef(XMarkIcon);
|
|
43199
43199
|
|
|
43200
43200
|
var isCheckBoxInput = (element) => element.type === 'checkbox';
|
|
43201
43201
|
|
|
@@ -69755,7 +69755,7 @@ const InviteFlow = ({
|
|
|
69755
69755
|
onClick: handleSubmit(onSubmit),
|
|
69756
69756
|
disabled: isSubmitting || pendingInvites.length === 0,
|
|
69757
69757
|
className: "px-4 py-2 text-sm font-medium text-white bg-blue-600 border border-transparent rounded-md shadow-sm hover:bg-blue-700 hover:cursor-pointer focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 disabled:bg-blue-300 disabled:cursor-not-allowed",
|
|
69758
|
-
children: isSubmitting ? "Inviting..." : "
|
|
69758
|
+
children: isSubmitting ? "Inviting..." : calledBy === ADD_USERS_GROUPS_ROLES_MODAL.DRIVE ? "Send Invites" : "Add"
|
|
69759
69759
|
}
|
|
69760
69760
|
)
|
|
69761
69761
|
] })
|
|
@@ -70209,7 +70209,9 @@ const AddUserGroupsRolesModal = ({
|
|
|
70209
70209
|
onFinalSubmit = () => {
|
|
70210
70210
|
},
|
|
70211
70211
|
mainEntity,
|
|
70212
|
-
calledBy
|
|
70212
|
+
calledBy,
|
|
70213
|
+
onClose = () => {
|
|
70214
|
+
}
|
|
70213
70215
|
}) => {
|
|
70214
70216
|
const [view, setView] = useState(ModalView.INVITE);
|
|
70215
70217
|
const [activeEntity, setActiveEntity] = useState(null);
|
|
@@ -70306,33 +70308,12 @@ const AddUserGroupsRolesModal = ({
|
|
|
70306
70308
|
);
|
|
70307
70309
|
}
|
|
70308
70310
|
};
|
|
70309
|
-
return /* @__PURE__ */ jsx(Transition, { show: isOpen, as: Fragment$1, children: /* @__PURE__ */ jsxs(Dialog, { as: "div", className: "relative z-50", onClose: handleClose, children: [
|
|
70310
|
-
/* @__PURE__ */ jsx(
|
|
70311
|
-
|
|
70312
|
-
{
|
|
70313
|
-
|
|
70314
|
-
|
|
70315
|
-
enterFrom: "opacity-0",
|
|
70316
|
-
enterTo: "opacity-100",
|
|
70317
|
-
leave: "ease-in duration-200",
|
|
70318
|
-
leaveFrom: "opacity-100",
|
|
70319
|
-
leaveTo: "opacity-0",
|
|
70320
|
-
children: /* @__PURE__ */ jsx("div", { className: "fixed inset-0 bg-black/50 backdrop-blur-sm" })
|
|
70321
|
-
}
|
|
70322
|
-
),
|
|
70323
|
-
/* @__PURE__ */ jsx("div", { className: "fixed inset-0 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "absolute inset-0 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "pointer-events-none fixed inset-y-0 right-0 flex max-w-full pl-10", children: /* @__PURE__ */ jsx(
|
|
70324
|
-
TransitionChild,
|
|
70325
|
-
{
|
|
70326
|
-
as: Fragment$1,
|
|
70327
|
-
enter: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
70328
|
-
enterFrom: "translate-x-full",
|
|
70329
|
-
enterTo: "translate-x-0",
|
|
70330
|
-
leave: "transform transition ease-in-out duration-500 sm:duration-700",
|
|
70331
|
-
leaveFrom: "translate-x-0",
|
|
70332
|
-
leaveTo: "translate-x-full",
|
|
70333
|
-
children: /* @__PURE__ */ jsx(DialogPanel, { className: "pointer-events-auto w-screen max-w-lg", children: /* @__PURE__ */ jsx("div", { className: "flex h-full flex-col overflow-hidden bg-white shadow-xl rounded-tl-2xl rounded-bl-2xl", children: /* @__PURE__ */ jsx("div", { className: "relative flex-1", children: /* @__PURE__ */ jsx(AnimatePresence, { mode: "wait", children: renderBody() }) }) }) })
|
|
70334
|
-
}
|
|
70335
|
-
) }) }) })
|
|
70311
|
+
return /* @__PURE__ */ jsx(Transition, { appear: true, show: isOpen, as: Fragment$1, children: /* @__PURE__ */ jsxs(Dialog, { as: "div", className: "relative z-50", onClose: handleClose, children: [
|
|
70312
|
+
/* @__PURE__ */ jsx("div", { className: "filter-modal-overlay", "aria-hidden": "true" }),
|
|
70313
|
+
/* @__PURE__ */ jsx("div", { className: "filter-modal-container", children: /* @__PURE__ */ jsx("div", { className: "filter-modal-positioner", children: /* @__PURE__ */ jsxs(DialogPanel, { className: "filter-modal-panel", style: { background: "white" }, children: [
|
|
70314
|
+
/* @__PURE__ */ jsx("div", { className: "p-6", children: "DEBUG: Panel Content" }),
|
|
70315
|
+
renderBody()
|
|
70316
|
+
] }) }) })
|
|
70336
70317
|
] }) });
|
|
70337
70318
|
};
|
|
70338
70319
|
|