@oxide/design-system 1.4.7--canary.9b5b7a2.0 → 1.4.7--canary.3a50b9d.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.
package/components/dist/index.js
CHANGED
|
@@ -6257,7 +6257,7 @@ var require_dom_to_react = __commonJS({
|
|
|
6257
6257
|
options = options || {};
|
|
6258
6258
|
var library = options.library || React2;
|
|
6259
6259
|
var cloneElement = library.cloneElement;
|
|
6260
|
-
var
|
|
6260
|
+
var createElement = library.createElement;
|
|
6261
6261
|
var isValidElement = library.isValidElement;
|
|
6262
6262
|
var result = [];
|
|
6263
6263
|
var node;
|
|
@@ -6322,7 +6322,7 @@ var require_dom_to_react = __commonJS({
|
|
|
6322
6322
|
if (len > 1) {
|
|
6323
6323
|
props.key = i;
|
|
6324
6324
|
}
|
|
6325
|
-
result.push(transform(
|
|
6325
|
+
result.push(transform(createElement(node.name, props, children), node, i));
|
|
6326
6326
|
}
|
|
6327
6327
|
return result.length === 1 ? result[0] : result;
|
|
6328
6328
|
}
|
|
@@ -6558,423 +6558,615 @@ var Warning12 = ({ className }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
|
6558
6558
|
);
|
|
6559
6559
|
var Admonition_default = Admonition;
|
|
6560
6560
|
|
|
6561
|
-
//
|
|
6561
|
+
// components/src/asciidoc/Table.tsx
|
|
6562
|
+
var import_react_asciidoc2 = require("@oxide/react-asciidoc");
|
|
6562
6563
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
6564
|
+
var Table = ({ node }) => /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: "table-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_asciidoc2.Table, { node }) });
|
|
6565
|
+
var Table_default = Table;
|
|
6563
6566
|
|
|
6564
|
-
//
|
|
6567
|
+
// components/src/asciidoc/index.ts
|
|
6568
|
+
var AsciiDocBlocks = {
|
|
6569
|
+
Admonition: Admonition_default,
|
|
6570
|
+
Table: Table_default
|
|
6571
|
+
};
|
|
6572
|
+
|
|
6573
|
+
// components/src/ui/badge/Badge.tsx
|
|
6574
|
+
var import_classnames = __toESM(require_classnames());
|
|
6565
6575
|
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
6576
|
+
var badgeColors = {
|
|
6577
|
+
default: {
|
|
6578
|
+
default: `ring-1 ring-inset bg-accent-secondary text-accent ring-[rgba(var(--base-green-800-rgb),0.15)]`,
|
|
6579
|
+
destructive: `ring-1 ring-inset bg-destructive-secondary text-destructive ring-[rgba(var(--base-red-800-rgb),0.15)]`,
|
|
6580
|
+
notice: `ring-1 ring-inset bg-notice-secondary text-notice ring-[rgba(var(--base-yellow-800-rgb),0.15)]`,
|
|
6581
|
+
neutral: `ring-1 ring-inset bg-secondary text-secondary ring-[rgba(var(--base-neutral-700-rgb),0.15)]`,
|
|
6582
|
+
purple: `ring-1 ring-inset bg-[var(--base-purple-200)] text-[var(--base-purple-700)] ring-[rgba(var(--base-purple-800-rgb),0.15)]`,
|
|
6583
|
+
blue: `ring-1 ring-inset bg-info-secondary text-info ring-[rgba(var(--base-blue-800-rgb),0.15)]`
|
|
6584
|
+
},
|
|
6585
|
+
solid: {
|
|
6586
|
+
default: "bg-accent text-inverse",
|
|
6587
|
+
destructive: "bg-destructive text-inverse",
|
|
6588
|
+
notice: "bg-notice text-inverse",
|
|
6589
|
+
neutral: "bg-inverse-tertiary text-inverse",
|
|
6590
|
+
purple: "bg-[var(--base-purple-700)] text-inverse",
|
|
6591
|
+
blue: "bg-info text-inverse"
|
|
6592
|
+
}
|
|
6593
|
+
};
|
|
6594
|
+
var Badge = ({
|
|
6595
|
+
className,
|
|
6596
|
+
children,
|
|
6597
|
+
color = "default",
|
|
6598
|
+
variant = "default"
|
|
6599
|
+
}) => {
|
|
6600
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
6601
|
+
"span",
|
|
6602
|
+
{
|
|
6603
|
+
className: (0, import_classnames.default)(
|
|
6604
|
+
"ox-badge",
|
|
6605
|
+
`variant-${variant}`,
|
|
6606
|
+
"inline-flex h-4 items-center whitespace-nowrap rounded-sm px-[3px] py-[1px] uppercase text-mono-sm",
|
|
6607
|
+
badgeColors[variant][color],
|
|
6608
|
+
className
|
|
6609
|
+
),
|
|
6610
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children })
|
|
6611
|
+
}
|
|
6612
|
+
);
|
|
6613
|
+
};
|
|
6566
6614
|
|
|
6567
|
-
//
|
|
6615
|
+
// components/src/ui/button/Button.tsx
|
|
6616
|
+
var import_classnames2 = __toESM(require_classnames());
|
|
6617
|
+
var import_react = require("react");
|
|
6568
6618
|
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
6619
|
+
var buttonSizes = ["sm", "icon", "base"];
|
|
6620
|
+
var variants = ["primary", "secondary", "ghost", "danger"];
|
|
6621
|
+
var sizeStyle = {
|
|
6622
|
+
sm: "h-8 px-3 text-mono-sm svg:w-4",
|
|
6623
|
+
// meant for buttons that only contain a single icon
|
|
6624
|
+
icon: "h-8 w-8 text-mono-sm svg:w-4",
|
|
6625
|
+
base: "h-10 px-4 text-mono-sm svg:w-5"
|
|
6626
|
+
};
|
|
6627
|
+
var buttonStyle = ({
|
|
6628
|
+
size: size2 = "base",
|
|
6629
|
+
variant = "primary"
|
|
6630
|
+
} = {}) => {
|
|
6631
|
+
return (0, import_classnames2.default)(
|
|
6632
|
+
"ox-button inline-flex items-center justify-center rounded align-top elevation-1 disabled:cursor-not-allowed",
|
|
6633
|
+
`btn-${variant}`,
|
|
6634
|
+
sizeStyle[size2],
|
|
6635
|
+
variant === "danger" ? "focus:outline-destructive-secondary" : "focus:outline-accent-secondary"
|
|
6636
|
+
);
|
|
6637
|
+
};
|
|
6638
|
+
var noop = (e) => {
|
|
6639
|
+
e.stopPropagation();
|
|
6640
|
+
e.preventDefault();
|
|
6641
|
+
};
|
|
6642
|
+
var Button = (0, import_react.forwardRef)(
|
|
6643
|
+
({
|
|
6644
|
+
type = "button",
|
|
6645
|
+
children,
|
|
6646
|
+
size: size2,
|
|
6647
|
+
variant,
|
|
6648
|
+
className,
|
|
6649
|
+
loading,
|
|
6650
|
+
innerClassName,
|
|
6651
|
+
disabled,
|
|
6652
|
+
onClick,
|
|
6653
|
+
// needs to be a spread because we sometimes get passed arbitrary <button>
|
|
6654
|
+
// props by the parent
|
|
6655
|
+
...rest
|
|
6656
|
+
}, ref) => {
|
|
6657
|
+
const isDisabled = disabled || loading;
|
|
6658
|
+
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
6659
|
+
"button",
|
|
6660
|
+
{
|
|
6661
|
+
className: (0, import_classnames2.default)(buttonStyle({ size: size2, variant }), className, {
|
|
6662
|
+
"visually-disabled": isDisabled
|
|
6663
|
+
}),
|
|
6664
|
+
ref,
|
|
6665
|
+
type,
|
|
6666
|
+
onMouseDown: isDisabled ? noop : void 0,
|
|
6667
|
+
onClick: isDisabled ? noop : onClick,
|
|
6668
|
+
"aria-disabled": isDisabled,
|
|
6669
|
+
...rest,
|
|
6670
|
+
children: [
|
|
6671
|
+
loading && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Spinner, { className: "absolute", variant }),
|
|
6672
|
+
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: (0, import_classnames2.default)("flex items-center", innerClassName, { invisible: loading }), children })
|
|
6673
|
+
]
|
|
6674
|
+
}
|
|
6675
|
+
);
|
|
6676
|
+
}
|
|
6677
|
+
);
|
|
6569
6678
|
|
|
6570
|
-
//
|
|
6679
|
+
// components/src/ui/spinner/Spinner.tsx
|
|
6680
|
+
var import_classnames3 = __toESM(require_classnames());
|
|
6681
|
+
var import_react2 = require("react");
|
|
6571
6682
|
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
6683
|
+
var spinnerSizes = ["base", "lg"];
|
|
6684
|
+
var spinnerVariants = ["primary", "secondary", "ghost", "danger"];
|
|
6685
|
+
var Spinner = ({
|
|
6686
|
+
className,
|
|
6687
|
+
size: size2 = "base",
|
|
6688
|
+
variant = "primary"
|
|
6689
|
+
}) => {
|
|
6690
|
+
const frameSize = size2 === "lg" ? 36 : 12;
|
|
6691
|
+
const center = size2 === "lg" ? 18 : 6;
|
|
6692
|
+
const radius = size2 === "lg" ? 16 : 5;
|
|
6693
|
+
const strokeWidth = size2 === "lg" ? 3 : 2;
|
|
6694
|
+
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
6695
|
+
"svg",
|
|
6696
|
+
{
|
|
6697
|
+
width: frameSize,
|
|
6698
|
+
height: frameSize,
|
|
6699
|
+
viewBox: `0 0 ${frameSize + " " + frameSize}`,
|
|
6700
|
+
fill: "none",
|
|
6701
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6702
|
+
"aria-labelledby": "Spinner",
|
|
6703
|
+
className: (0, import_classnames3.default)("spinner", `spinner-${variant}`, `spinner-${size2}`, className),
|
|
6704
|
+
children: [
|
|
6705
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6706
|
+
"circle",
|
|
6707
|
+
{
|
|
6708
|
+
fill: "none",
|
|
6709
|
+
className: "bg",
|
|
6710
|
+
strokeWidth,
|
|
6711
|
+
strokeLinecap: "round",
|
|
6712
|
+
cx: center,
|
|
6713
|
+
cy: center,
|
|
6714
|
+
r: radius,
|
|
6715
|
+
strokeOpacity: 0.2
|
|
6716
|
+
}
|
|
6717
|
+
),
|
|
6718
|
+
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
6719
|
+
"circle",
|
|
6720
|
+
{
|
|
6721
|
+
className: "path",
|
|
6722
|
+
fill: "none",
|
|
6723
|
+
stroke: "currentColor",
|
|
6724
|
+
strokeWidth,
|
|
6725
|
+
strokeLinecap: "round",
|
|
6726
|
+
cx: center,
|
|
6727
|
+
cy: center,
|
|
6728
|
+
r: radius
|
|
6729
|
+
}
|
|
6730
|
+
)
|
|
6731
|
+
]
|
|
6732
|
+
}
|
|
6733
|
+
);
|
|
6734
|
+
};
|
|
6735
|
+
var SpinnerLoader = ({ isLoading, children = null, minTime = 500 }) => {
|
|
6736
|
+
const [isVisible, setIsVisible] = (0, import_react2.useState)(isLoading);
|
|
6737
|
+
const hideTimeout = (0, import_react2.useRef)(null);
|
|
6738
|
+
const loadingStartTime = (0, import_react2.useRef)(0);
|
|
6739
|
+
(0, import_react2.useEffect)(() => {
|
|
6740
|
+
if (isLoading) {
|
|
6741
|
+
setIsVisible(true);
|
|
6742
|
+
loadingStartTime.current = Date.now();
|
|
6743
|
+
} else {
|
|
6744
|
+
if (hideTimeout.current)
|
|
6745
|
+
clearTimeout(hideTimeout.current);
|
|
6746
|
+
const elapsedTime = Date.now() - loadingStartTime.current;
|
|
6747
|
+
const remainingTime = Math.max(0, minTime - elapsedTime);
|
|
6748
|
+
if (remainingTime === 0) {
|
|
6749
|
+
setIsVisible(false);
|
|
6750
|
+
} else {
|
|
6751
|
+
hideTimeout.current = setTimeout(() => setIsVisible(false), remainingTime);
|
|
6752
|
+
}
|
|
6753
|
+
}
|
|
6754
|
+
return () => {
|
|
6755
|
+
if (hideTimeout.current)
|
|
6756
|
+
clearTimeout(hideTimeout.current);
|
|
6757
|
+
};
|
|
6758
|
+
}, [isLoading, minTime]);
|
|
6759
|
+
return isVisible ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Spinner, {}) : /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, { children });
|
|
6760
|
+
};
|
|
6572
6761
|
|
|
6573
|
-
//
|
|
6762
|
+
// components/src/ui/tabs/Tabs.tsx
|
|
6763
|
+
var import_react_tabs = require("@radix-ui/react-tabs");
|
|
6764
|
+
var import_classnames4 = __toESM(require_classnames());
|
|
6574
6765
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
6766
|
+
var Tabs = {
|
|
6767
|
+
Root: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_tabs.Root, { ...props, className: (0, import_classnames4.default)("ox-tabs", className) }),
|
|
6768
|
+
Trigger: ({ children, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_tabs.Trigger, { ...props, className: (0, import_classnames4.default)("ox-tab", className), children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { children }) }),
|
|
6769
|
+
List: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_tabs.List, { ...props, className: (0, import_classnames4.default)("ox-tabs-list", className) }),
|
|
6770
|
+
Content: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_react_tabs.Content, { ...props, className: (0, import_classnames4.default)("ox-tabs-panel", className) })
|
|
6771
|
+
};
|
|
6575
6772
|
|
|
6576
|
-
// icons/react/
|
|
6773
|
+
// icons/react/Access24Icon.tsx
|
|
6577
6774
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
6578
6775
|
|
|
6579
|
-
// icons/react/
|
|
6776
|
+
// icons/react/Action24Icon.tsx
|
|
6580
6777
|
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
6581
6778
|
|
|
6582
|
-
// icons/react/
|
|
6779
|
+
// icons/react/AddRoundel24Icon.tsx
|
|
6583
6780
|
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
6584
6781
|
|
|
6585
|
-
// icons/react/
|
|
6782
|
+
// icons/react/Calendar24Icon.tsx
|
|
6586
6783
|
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
6587
6784
|
|
|
6588
|
-
// icons/react/
|
|
6785
|
+
// icons/react/Chat24Icon.tsx
|
|
6589
6786
|
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
6590
6787
|
|
|
6591
|
-
// icons/react/
|
|
6788
|
+
// icons/react/Clipboard24Icon.tsx
|
|
6592
6789
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
6593
6790
|
|
|
6594
|
-
// icons/react/
|
|
6791
|
+
// icons/react/Cloud24Icon.tsx
|
|
6595
6792
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
6596
6793
|
|
|
6597
|
-
// icons/react/
|
|
6794
|
+
// icons/react/Compatibility24Icon.tsx
|
|
6598
6795
|
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
6599
6796
|
|
|
6600
|
-
// icons/react/
|
|
6797
|
+
// icons/react/Contrast24Icon.tsx
|
|
6601
6798
|
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
6602
6799
|
|
|
6603
|
-
// icons/react/
|
|
6800
|
+
// icons/react/Cpu24Icon.tsx
|
|
6604
6801
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
6605
6802
|
|
|
6606
|
-
// icons/react/
|
|
6803
|
+
// icons/react/Delete24Icon.tsx
|
|
6607
6804
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
6608
6805
|
|
|
6609
|
-
// icons/react/
|
|
6806
|
+
// icons/react/Dislike24Icon.tsx
|
|
6610
6807
|
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
6611
6808
|
|
|
6612
|
-
// icons/react/
|
|
6809
|
+
// icons/react/Document24Icon.tsx
|
|
6613
6810
|
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
6614
6811
|
|
|
6615
|
-
// icons/react/
|
|
6812
|
+
// icons/react/Dots24Icon.tsx
|
|
6616
6813
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
6617
6814
|
|
|
6618
|
-
// icons/react/
|
|
6815
|
+
// icons/react/Download24Icon.tsx
|
|
6619
6816
|
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
6620
6817
|
|
|
6621
|
-
// icons/react/
|
|
6818
|
+
// icons/react/Email24Icon.tsx
|
|
6622
6819
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
6623
6820
|
|
|
6624
|
-
// icons/react/
|
|
6821
|
+
// icons/react/Error24Icon.tsx
|
|
6625
6822
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
6626
6823
|
|
|
6627
|
-
// icons/react/
|
|
6824
|
+
// icons/react/Firewall24Icon.tsx
|
|
6628
6825
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
6629
6826
|
|
|
6630
|
-
// icons/react/
|
|
6827
|
+
// icons/react/Folder24Icon.tsx
|
|
6631
6828
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
6632
6829
|
|
|
6633
|
-
// icons/react/
|
|
6830
|
+
// icons/react/Gateway24Icon.tsx
|
|
6634
6831
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
6635
6832
|
|
|
6636
|
-
// icons/react/
|
|
6833
|
+
// icons/react/Heart24Icon.tsx
|
|
6637
6834
|
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
6638
6835
|
|
|
6639
|
-
// icons/react/
|
|
6836
|
+
// icons/react/Hide24Icon.tsx
|
|
6640
6837
|
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
6641
6838
|
|
|
6642
|
-
// icons/react/
|
|
6839
|
+
// icons/react/Hourglass24Icon.tsx
|
|
6643
6840
|
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
6644
6841
|
|
|
6645
|
-
// icons/react/
|
|
6842
|
+
// icons/react/Images24Icon.tsx
|
|
6646
6843
|
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
6647
6844
|
|
|
6648
|
-
// icons/react/
|
|
6845
|
+
// icons/react/Info24Icon.tsx
|
|
6649
6846
|
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
6650
6847
|
|
|
6651
|
-
// icons/react/
|
|
6848
|
+
// icons/react/Instances24Icon.tsx
|
|
6652
6849
|
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
6653
6850
|
|
|
6654
|
-
// icons/react/
|
|
6851
|
+
// icons/react/IpGlobal24Icon.tsx
|
|
6655
6852
|
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
6656
6853
|
|
|
6657
|
-
// icons/react/
|
|
6854
|
+
// icons/react/IpLocal24Icon.tsx
|
|
6658
6855
|
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
6659
6856
|
|
|
6660
|
-
// icons/react/
|
|
6857
|
+
// icons/react/Issues24Icon.tsx
|
|
6661
6858
|
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
6662
6859
|
|
|
6663
|
-
// icons/react/
|
|
6860
|
+
// icons/react/Key24Icon.tsx
|
|
6664
6861
|
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
6665
6862
|
|
|
6666
|
-
// icons/react/
|
|
6863
|
+
// icons/react/Like24Icon.tsx
|
|
6667
6864
|
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
6668
6865
|
|
|
6669
|
-
// icons/react/
|
|
6866
|
+
// icons/react/LoadBalancer24Icon.tsx
|
|
6670
6867
|
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
6671
6868
|
|
|
6672
|
-
// icons/react/
|
|
6869
|
+
// icons/react/Location24Icon.tsx
|
|
6673
6870
|
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
6674
6871
|
|
|
6675
|
-
// icons/react/
|
|
6872
|
+
// icons/react/Logs24Icon.tsx
|
|
6676
6873
|
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
6677
6874
|
|
|
6678
|
-
// icons/react/
|
|
6875
|
+
// icons/react/Metrics24Icon.tsx
|
|
6679
6876
|
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
6680
6877
|
|
|
6681
|
-
// icons/react/
|
|
6878
|
+
// icons/react/Monitoring24Icon.tsx
|
|
6682
6879
|
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
6683
6880
|
|
|
6684
|
-
// icons/react/
|
|
6881
|
+
// icons/react/Networking24Icon.tsx
|
|
6685
6882
|
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
6686
6883
|
|
|
6687
|
-
// icons/react/
|
|
6884
|
+
// icons/react/Organization24Icon.tsx
|
|
6688
6885
|
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
6689
6886
|
|
|
6690
|
-
// icons/react/
|
|
6887
|
+
// icons/react/Overview24Icon.tsx
|
|
6691
6888
|
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
6692
6889
|
|
|
6693
|
-
// icons/react/
|
|
6890
|
+
// icons/react/Person24Icon.tsx
|
|
6694
6891
|
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
6695
6892
|
|
|
6696
|
-
// icons/react/
|
|
6893
|
+
// icons/react/PersonGroup24Icon.tsx
|
|
6697
6894
|
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
6698
6895
|
|
|
6699
|
-
// icons/react/
|
|
6896
|
+
// icons/react/Progress24Icon.tsx
|
|
6700
6897
|
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
6701
6898
|
|
|
6702
|
-
// icons/react/
|
|
6899
|
+
// icons/react/Prohibited24Icon.tsx
|
|
6703
6900
|
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
6704
6901
|
|
|
6705
|
-
// icons/react/
|
|
6902
|
+
// icons/react/Router24Icon.tsx
|
|
6706
6903
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6707
6904
|
|
|
6708
|
-
// icons/react/
|
|
6905
|
+
// icons/react/Safety24Icon.tsx
|
|
6709
6906
|
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
6710
6907
|
|
|
6711
|
-
// icons/react/
|
|
6908
|
+
// icons/react/Security24Icon.tsx
|
|
6712
6909
|
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
6713
6910
|
|
|
6714
|
-
// icons/react/
|
|
6911
|
+
// icons/react/Servers24Icon.tsx
|
|
6715
6912
|
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
6716
6913
|
|
|
6717
|
-
// icons/react/
|
|
6914
|
+
// icons/react/Settings24Icon.tsx
|
|
6718
6915
|
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
6719
6916
|
|
|
6720
|
-
// icons/react/
|
|
6917
|
+
// icons/react/Snapshots24Icon.tsx
|
|
6721
6918
|
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
6722
6919
|
|
|
6723
|
-
// icons/react/
|
|
6920
|
+
// icons/react/SoftwareUpdate24Icon.tsx
|
|
6724
6921
|
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
6725
6922
|
|
|
6726
|
-
// icons/react/
|
|
6923
|
+
// icons/react/Speaker24Icon.tsx
|
|
6727
6924
|
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
6728
6925
|
|
|
6729
|
-
// icons/react/
|
|
6926
|
+
// icons/react/Storage24Icon.tsx
|
|
6730
6927
|
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
6731
6928
|
|
|
6732
|
-
// icons/react/
|
|
6929
|
+
// icons/react/Subnet24Icon.tsx
|
|
6733
6930
|
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
6734
6931
|
|
|
6735
|
-
// icons/react/
|
|
6932
|
+
// icons/react/Resize24Icon.tsx
|
|
6736
6933
|
var import_jsx_runtime60 = require("react/jsx-runtime");
|
|
6737
6934
|
|
|
6738
|
-
// icons/react/
|
|
6935
|
+
// icons/react/Terminal24Icon.tsx
|
|
6739
6936
|
var import_jsx_runtime61 = require("react/jsx-runtime");
|
|
6740
6937
|
|
|
6741
|
-
// icons/react/
|
|
6938
|
+
// icons/react/Transmit24Icon.tsx
|
|
6742
6939
|
var import_jsx_runtime62 = require("react/jsx-runtime");
|
|
6743
6940
|
|
|
6744
|
-
// icons/react/
|
|
6941
|
+
// icons/react/Wireless24Icon.tsx
|
|
6745
6942
|
var import_jsx_runtime63 = require("react/jsx-runtime");
|
|
6746
6943
|
|
|
6747
|
-
// icons/react/
|
|
6944
|
+
// icons/react/Question24Icon.tsx
|
|
6748
6945
|
var import_jsx_runtime64 = require("react/jsx-runtime");
|
|
6749
6946
|
|
|
6750
|
-
// icons/react/
|
|
6947
|
+
// icons/react/Access16Icon.tsx
|
|
6751
6948
|
var import_jsx_runtime65 = require("react/jsx-runtime");
|
|
6752
6949
|
|
|
6753
|
-
// icons/react/
|
|
6950
|
+
// icons/react/Action16Icon.tsx
|
|
6754
6951
|
var import_jsx_runtime66 = require("react/jsx-runtime");
|
|
6755
6952
|
|
|
6756
|
-
// icons/react/
|
|
6953
|
+
// icons/react/AddRoundel16Icon.tsx
|
|
6757
6954
|
var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
6758
6955
|
|
|
6759
|
-
// icons/react/
|
|
6956
|
+
// icons/react/Calendar16Icon.tsx
|
|
6760
6957
|
var import_jsx_runtime68 = require("react/jsx-runtime");
|
|
6761
6958
|
|
|
6762
|
-
// icons/react/
|
|
6959
|
+
// icons/react/Chat16Icon.tsx
|
|
6763
6960
|
var import_jsx_runtime69 = require("react/jsx-runtime");
|
|
6764
6961
|
|
|
6765
|
-
// icons/react/
|
|
6962
|
+
// icons/react/Clipboard16Icon.tsx
|
|
6766
6963
|
var import_jsx_runtime70 = require("react/jsx-runtime");
|
|
6767
6964
|
|
|
6768
|
-
// icons/react/
|
|
6965
|
+
// icons/react/Cloud16Icon.tsx
|
|
6769
6966
|
var import_jsx_runtime71 = require("react/jsx-runtime");
|
|
6770
6967
|
|
|
6771
|
-
// icons/react/
|
|
6968
|
+
// icons/react/Close16Icon.tsx
|
|
6772
6969
|
var import_jsx_runtime72 = require("react/jsx-runtime");
|
|
6773
6970
|
|
|
6774
|
-
// icons/react/
|
|
6971
|
+
// icons/react/Compability16Icon.tsx
|
|
6775
6972
|
var import_jsx_runtime73 = require("react/jsx-runtime");
|
|
6776
6973
|
|
|
6777
|
-
// icons/react/
|
|
6974
|
+
// icons/react/Contrast16Icon.tsx
|
|
6778
6975
|
var import_jsx_runtime74 = require("react/jsx-runtime");
|
|
6779
6976
|
|
|
6780
|
-
// icons/react/
|
|
6977
|
+
// icons/react/Cpu16Icon.tsx
|
|
6781
6978
|
var import_jsx_runtime75 = require("react/jsx-runtime");
|
|
6782
6979
|
|
|
6783
|
-
// icons/react/
|
|
6980
|
+
// icons/react/Delete16Icon.tsx
|
|
6784
6981
|
var import_jsx_runtime76 = require("react/jsx-runtime");
|
|
6785
6982
|
|
|
6786
|
-
// icons/react/
|
|
6983
|
+
// icons/react/Dislike16Icon.tsx
|
|
6787
6984
|
var import_jsx_runtime77 = require("react/jsx-runtime");
|
|
6788
6985
|
|
|
6789
|
-
// icons/react/
|
|
6986
|
+
// icons/react/Document16Icon.tsx
|
|
6790
6987
|
var import_jsx_runtime78 = require("react/jsx-runtime");
|
|
6791
6988
|
|
|
6792
|
-
// icons/react/
|
|
6989
|
+
// icons/react/Dots16Icon.tsx
|
|
6793
6990
|
var import_jsx_runtime79 = require("react/jsx-runtime");
|
|
6794
6991
|
|
|
6795
|
-
// icons/react/
|
|
6992
|
+
// icons/react/DownloadRoundel16Icon.tsx
|
|
6796
6993
|
var import_jsx_runtime80 = require("react/jsx-runtime");
|
|
6797
6994
|
|
|
6798
|
-
// icons/react/
|
|
6995
|
+
// icons/react/Edit16Icon.tsx
|
|
6799
6996
|
var import_jsx_runtime81 = require("react/jsx-runtime");
|
|
6800
6997
|
|
|
6801
|
-
// icons/react/
|
|
6998
|
+
// icons/react/Email16Icon.tsx
|
|
6802
6999
|
var import_jsx_runtime82 = require("react/jsx-runtime");
|
|
6803
7000
|
|
|
6804
|
-
// icons/react/
|
|
7001
|
+
// icons/react/Error16Icon.tsx
|
|
6805
7002
|
var import_jsx_runtime83 = require("react/jsx-runtime");
|
|
6806
7003
|
|
|
6807
|
-
// icons/react/
|
|
7004
|
+
// icons/react/Filter16Icon.tsx
|
|
6808
7005
|
var import_jsx_runtime84 = require("react/jsx-runtime");
|
|
6809
7006
|
|
|
6810
|
-
// icons/react/
|
|
7007
|
+
// icons/react/Firewall16Icon.tsx
|
|
6811
7008
|
var import_jsx_runtime85 = require("react/jsx-runtime");
|
|
6812
7009
|
|
|
6813
|
-
// icons/react/
|
|
7010
|
+
// icons/react/Folder16Icon.tsx
|
|
6814
7011
|
var import_jsx_runtime86 = require("react/jsx-runtime");
|
|
6815
7012
|
|
|
6816
|
-
// icons/react/
|
|
7013
|
+
// icons/react/Gateway16Icon.tsx
|
|
6817
7014
|
var import_jsx_runtime87 = require("react/jsx-runtime");
|
|
6818
7015
|
|
|
6819
|
-
// icons/react/
|
|
7016
|
+
// icons/react/Heart16Icon.tsx
|
|
6820
7017
|
var import_jsx_runtime88 = require("react/jsx-runtime");
|
|
6821
7018
|
|
|
6822
|
-
// icons/react/
|
|
7019
|
+
// icons/react/Hide16Icon.tsx
|
|
6823
7020
|
var import_jsx_runtime89 = require("react/jsx-runtime");
|
|
6824
7021
|
|
|
6825
|
-
// icons/react/
|
|
7022
|
+
// icons/react/Hourglass16Icon.tsx
|
|
6826
7023
|
var import_jsx_runtime90 = require("react/jsx-runtime");
|
|
6827
7024
|
|
|
6828
|
-
// icons/react/
|
|
7025
|
+
// icons/react/Images16Icon.tsx
|
|
6829
7026
|
var import_jsx_runtime91 = require("react/jsx-runtime");
|
|
6830
7027
|
|
|
6831
|
-
// icons/react/
|
|
7028
|
+
// icons/react/Info16Icon.tsx
|
|
6832
7029
|
var import_jsx_runtime92 = require("react/jsx-runtime");
|
|
6833
7030
|
|
|
6834
|
-
// icons/react/
|
|
7031
|
+
// icons/react/Instances16Icon.tsx
|
|
6835
7032
|
var import_jsx_runtime93 = require("react/jsx-runtime");
|
|
6836
7033
|
|
|
6837
|
-
// icons/react/
|
|
7034
|
+
// icons/react/Integration16Icon.tsx
|
|
6838
7035
|
var import_jsx_runtime94 = require("react/jsx-runtime");
|
|
6839
7036
|
|
|
6840
|
-
// icons/react/
|
|
7037
|
+
// icons/react/IpGlobal16Icon.tsx
|
|
6841
7038
|
var import_jsx_runtime95 = require("react/jsx-runtime");
|
|
6842
|
-
var Link16Icon = ({ title, titleId, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
|
|
6843
|
-
"svg",
|
|
6844
|
-
{
|
|
6845
|
-
width: 16,
|
|
6846
|
-
height: 16,
|
|
6847
|
-
viewBox: "0 0 16 16",
|
|
6848
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6849
|
-
role: "img",
|
|
6850
|
-
"aria-labelledby": titleId,
|
|
6851
|
-
...props,
|
|
6852
|
-
children: [
|
|
6853
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("title", { id: titleId, children: title }) : null,
|
|
6854
|
-
/* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("g", { fill: "currentColor", children: [
|
|
6855
|
-
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "m6.586 12.243 1.59-1.591a.75.75 0 0 1 1.061 0l.354.353a.75.75 0 0 1 0 1.06L8 13.658A4 4 0 0 1 2.343 8l1.591-1.591a.75.75 0 0 1 1.06 0l.354.354a.75.75 0 0 1 0 1.06l-1.59 1.591a2 2 0 1 0 2.828 2.829ZM12.066 9.591a.75.75 0 0 1-1.06 0l-.354-.354a.75.75 0 0 1 0-1.06l1.59-1.591a2 2 0 1 0-2.828-2.829l-1.59 1.591a.75.75 0 0 1-1.061 0l-.354-.353a.75.75 0 0 1 0-1.06L8 2.342A4 4 0 0 1 13.657 8l-1.591 1.591Z" }),
|
|
6856
|
-
/* @__PURE__ */ (0, import_jsx_runtime95.jsx)("path", { d: "M9.945 5.702a.75.75 0 0 0-1.061 0L5.702 8.884a.75.75 0 0 0 0 1.06l.353.354a.75.75 0 0 0 1.061 0l3.182-3.182a.75.75 0 0 0 0-1.06l-.353-.354Z" })
|
|
6857
|
-
] })
|
|
6858
|
-
]
|
|
6859
|
-
}
|
|
6860
|
-
);
|
|
6861
|
-
var Link16Icon_default = Link16Icon;
|
|
6862
7039
|
|
|
6863
|
-
// icons/react/
|
|
7040
|
+
// icons/react/IpLocal16Icon.tsx
|
|
6864
7041
|
var import_jsx_runtime96 = require("react/jsx-runtime");
|
|
6865
7042
|
|
|
6866
|
-
// icons/react/
|
|
7043
|
+
// icons/react/Issues16Icon.tsx
|
|
6867
7044
|
var import_jsx_runtime97 = require("react/jsx-runtime");
|
|
6868
7045
|
|
|
6869
|
-
// icons/react/
|
|
7046
|
+
// icons/react/Key16Icon.tsx
|
|
6870
7047
|
var import_jsx_runtime98 = require("react/jsx-runtime");
|
|
6871
7048
|
|
|
6872
|
-
// icons/react/
|
|
7049
|
+
// icons/react/Like16Icon.tsx
|
|
6873
7050
|
var import_jsx_runtime99 = require("react/jsx-runtime");
|
|
6874
7051
|
|
|
6875
|
-
// icons/react/
|
|
7052
|
+
// icons/react/Link16Icon.tsx
|
|
6876
7053
|
var import_jsx_runtime100 = require("react/jsx-runtime");
|
|
6877
7054
|
|
|
6878
|
-
// icons/react/
|
|
7055
|
+
// icons/react/LoadBalancer16Icon.tsx
|
|
6879
7056
|
var import_jsx_runtime101 = require("react/jsx-runtime");
|
|
6880
7057
|
|
|
6881
|
-
// icons/react/
|
|
7058
|
+
// icons/react/Logs16Icon.tsx
|
|
6882
7059
|
var import_jsx_runtime102 = require("react/jsx-runtime");
|
|
6883
7060
|
|
|
6884
|
-
// icons/react/
|
|
7061
|
+
// icons/react/Metrics16Icon.tsx
|
|
6885
7062
|
var import_jsx_runtime103 = require("react/jsx-runtime");
|
|
6886
7063
|
|
|
6887
|
-
// icons/react/
|
|
7064
|
+
// icons/react/Monitoring16Icon.tsx
|
|
6888
7065
|
var import_jsx_runtime104 = require("react/jsx-runtime");
|
|
6889
7066
|
|
|
6890
|
-
// icons/react/
|
|
7067
|
+
// icons/react/Networking16Icon.tsx
|
|
6891
7068
|
var import_jsx_runtime105 = require("react/jsx-runtime");
|
|
6892
7069
|
|
|
6893
|
-
// icons/react/
|
|
7070
|
+
// icons/react/NewWindow16Icon.tsx
|
|
6894
7071
|
var import_jsx_runtime106 = require("react/jsx-runtime");
|
|
6895
7072
|
|
|
6896
|
-
// icons/react/
|
|
7073
|
+
// icons/react/Notifications16Icon.tsx
|
|
6897
7074
|
var import_jsx_runtime107 = require("react/jsx-runtime");
|
|
6898
7075
|
|
|
6899
|
-
// icons/react/
|
|
7076
|
+
// icons/react/Organization16Icon.tsx
|
|
6900
7077
|
var import_jsx_runtime108 = require("react/jsx-runtime");
|
|
6901
7078
|
|
|
6902
|
-
// icons/react/
|
|
7079
|
+
// icons/react/Overview16Icon.tsx
|
|
6903
7080
|
var import_jsx_runtime109 = require("react/jsx-runtime");
|
|
6904
7081
|
|
|
6905
|
-
// icons/react/
|
|
7082
|
+
// icons/react/Person16Icon.tsx
|
|
6906
7083
|
var import_jsx_runtime110 = require("react/jsx-runtime");
|
|
6907
7084
|
|
|
6908
|
-
// icons/react/
|
|
7085
|
+
// icons/react/PersonGroup16Icon.tsx
|
|
6909
7086
|
var import_jsx_runtime111 = require("react/jsx-runtime");
|
|
6910
7087
|
|
|
6911
|
-
// icons/react/
|
|
7088
|
+
// icons/react/Profile16Icon.tsx
|
|
6912
7089
|
var import_jsx_runtime112 = require("react/jsx-runtime");
|
|
6913
7090
|
|
|
6914
|
-
// icons/react/
|
|
7091
|
+
// icons/react/Refresh16Icon.tsx
|
|
6915
7092
|
var import_jsx_runtime113 = require("react/jsx-runtime");
|
|
6916
7093
|
|
|
6917
|
-
// icons/react/
|
|
7094
|
+
// icons/react/Ram16Icon.tsx
|
|
6918
7095
|
var import_jsx_runtime114 = require("react/jsx-runtime");
|
|
6919
7096
|
|
|
6920
|
-
// icons/react/
|
|
7097
|
+
// icons/react/Repair16Icon.tsx
|
|
6921
7098
|
var import_jsx_runtime115 = require("react/jsx-runtime");
|
|
6922
7099
|
|
|
6923
|
-
// icons/react/
|
|
7100
|
+
// icons/react/Resize16Icon.tsx
|
|
6924
7101
|
var import_jsx_runtime116 = require("react/jsx-runtime");
|
|
6925
7102
|
|
|
6926
|
-
// icons/react/
|
|
7103
|
+
// icons/react/Router16Icon.tsx
|
|
6927
7104
|
var import_jsx_runtime117 = require("react/jsx-runtime");
|
|
6928
7105
|
|
|
6929
|
-
// icons/react/
|
|
7106
|
+
// icons/react/Sort16Icon.tsx
|
|
6930
7107
|
var import_jsx_runtime118 = require("react/jsx-runtime");
|
|
6931
7108
|
|
|
6932
|
-
// icons/react/
|
|
7109
|
+
// icons/react/Search16Icon.tsx
|
|
6933
7110
|
var import_jsx_runtime119 = require("react/jsx-runtime");
|
|
6934
7111
|
|
|
6935
|
-
// icons/react/
|
|
7112
|
+
// icons/react/Security16Icon.tsx
|
|
6936
7113
|
var import_jsx_runtime120 = require("react/jsx-runtime");
|
|
6937
7114
|
|
|
6938
|
-
// icons/react/
|
|
7115
|
+
// icons/react/Servers16Icon.tsx
|
|
6939
7116
|
var import_jsx_runtime121 = require("react/jsx-runtime");
|
|
6940
7117
|
|
|
6941
|
-
// icons/react/
|
|
7118
|
+
// icons/react/Settings16Icon.tsx
|
|
6942
7119
|
var import_jsx_runtime122 = require("react/jsx-runtime");
|
|
6943
7120
|
|
|
6944
|
-
// icons/react/
|
|
7121
|
+
// icons/react/Show16Icon.tsx
|
|
6945
7122
|
var import_jsx_runtime123 = require("react/jsx-runtime");
|
|
6946
7123
|
|
|
6947
|
-
// icons/react/
|
|
7124
|
+
// icons/react/SignOut16Icon.tsx
|
|
6948
7125
|
var import_jsx_runtime124 = require("react/jsx-runtime");
|
|
6949
7126
|
|
|
6950
|
-
// icons/react/
|
|
7127
|
+
// icons/react/Snapshots16Icon.tsx
|
|
6951
7128
|
var import_jsx_runtime125 = require("react/jsx-runtime");
|
|
6952
7129
|
|
|
6953
|
-
// icons/react/
|
|
7130
|
+
// icons/react/SoftwareUpdate16Icon.tsx
|
|
6954
7131
|
var import_jsx_runtime126 = require("react/jsx-runtime");
|
|
6955
7132
|
|
|
6956
|
-
// icons/react/
|
|
7133
|
+
// icons/react/Ssd16Icon.tsx
|
|
6957
7134
|
var import_jsx_runtime127 = require("react/jsx-runtime");
|
|
6958
7135
|
|
|
6959
|
-
// icons/react/
|
|
7136
|
+
// icons/react/Storage16Icon.tsx
|
|
6960
7137
|
var import_jsx_runtime128 = require("react/jsx-runtime");
|
|
6961
7138
|
|
|
6962
|
-
// icons/react/
|
|
7139
|
+
// icons/react/Subnet16Icon.tsx
|
|
6963
7140
|
var import_jsx_runtime129 = require("react/jsx-runtime");
|
|
6964
7141
|
|
|
6965
|
-
// icons/react/
|
|
7142
|
+
// icons/react/Tags16Icon.tsx
|
|
6966
7143
|
var import_jsx_runtime130 = require("react/jsx-runtime");
|
|
6967
7144
|
|
|
6968
|
-
// icons/react/
|
|
7145
|
+
// icons/react/Terminal16Icon.tsx
|
|
6969
7146
|
var import_jsx_runtime131 = require("react/jsx-runtime");
|
|
6970
7147
|
|
|
6971
|
-
// icons/react/
|
|
7148
|
+
// icons/react/Time16Icon.tsx
|
|
6972
7149
|
var import_jsx_runtime132 = require("react/jsx-runtime");
|
|
7150
|
+
|
|
7151
|
+
// icons/react/Transmit16Icon.tsx
|
|
7152
|
+
var import_jsx_runtime133 = require("react/jsx-runtime");
|
|
7153
|
+
|
|
7154
|
+
// icons/react/Question16Icon.tsx
|
|
7155
|
+
var import_jsx_runtime134 = require("react/jsx-runtime");
|
|
7156
|
+
|
|
7157
|
+
// icons/react/Add12Icon.tsx
|
|
7158
|
+
var import_jsx_runtime135 = require("react/jsx-runtime");
|
|
7159
|
+
|
|
7160
|
+
// icons/react/AddRoundel12Icon.tsx
|
|
7161
|
+
var import_jsx_runtime136 = require("react/jsx-runtime");
|
|
7162
|
+
|
|
7163
|
+
// icons/react/Checkmark12Icon.tsx
|
|
7164
|
+
var import_jsx_runtime137 = require("react/jsx-runtime");
|
|
6973
7165
|
var Checkmark12Icon = ({
|
|
6974
7166
|
title,
|
|
6975
7167
|
titleId,
|
|
6976
7168
|
...props
|
|
6977
|
-
}) => /* @__PURE__ */ (0,
|
|
7169
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime137.jsxs)(
|
|
6978
7170
|
"svg",
|
|
6979
7171
|
{
|
|
6980
7172
|
width: 12,
|
|
@@ -6985,8 +7177,8 @@ var Checkmark12Icon = ({
|
|
|
6985
7177
|
"aria-labelledby": titleId,
|
|
6986
7178
|
...props,
|
|
6987
7179
|
children: [
|
|
6988
|
-
title ? /* @__PURE__ */ (0,
|
|
6989
|
-
/* @__PURE__ */ (0,
|
|
7180
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime137.jsx)("title", { id: titleId, children: title }) : null,
|
|
7181
|
+
/* @__PURE__ */ (0, import_jsx_runtime137.jsx)(
|
|
6990
7182
|
"path",
|
|
6991
7183
|
{
|
|
6992
7184
|
fillRule: "evenodd",
|
|
@@ -7001,90 +7193,90 @@ var Checkmark12Icon = ({
|
|
|
7001
7193
|
var Checkmark12Icon_default = Checkmark12Icon;
|
|
7002
7194
|
|
|
7003
7195
|
// icons/react/Close12Icon.tsx
|
|
7004
|
-
var
|
|
7196
|
+
var import_jsx_runtime138 = require("react/jsx-runtime");
|
|
7005
7197
|
|
|
7006
7198
|
// icons/react/DirectionRightIcon.tsx
|
|
7007
|
-
var
|
|
7199
|
+
var import_jsx_runtime139 = require("react/jsx-runtime");
|
|
7008
7200
|
|
|
7009
7201
|
// icons/react/DirectionUpIcon.tsx
|
|
7010
|
-
var
|
|
7202
|
+
var import_jsx_runtime140 = require("react/jsx-runtime");
|
|
7011
7203
|
|
|
7012
7204
|
// icons/react/DirectionDownIcon.tsx
|
|
7013
|
-
var
|
|
7205
|
+
var import_jsx_runtime141 = require("react/jsx-runtime");
|
|
7014
7206
|
|
|
7015
7207
|
// icons/react/DirectionLeftIcon.tsx
|
|
7016
|
-
var
|
|
7208
|
+
var import_jsx_runtime142 = require("react/jsx-runtime");
|
|
7017
7209
|
|
|
7018
7210
|
// icons/react/Clipboard12Icon.tsx
|
|
7019
|
-
var
|
|
7211
|
+
var import_jsx_runtime143 = require("react/jsx-runtime");
|
|
7020
7212
|
|
|
7021
7213
|
// icons/react/Copy12Icon.tsx
|
|
7022
|
-
var
|
|
7214
|
+
var import_jsx_runtime144 = require("react/jsx-runtime");
|
|
7023
7215
|
|
|
7024
7216
|
// icons/react/Disabled12Icon.tsx
|
|
7025
|
-
var
|
|
7217
|
+
var import_jsx_runtime145 = require("react/jsx-runtime");
|
|
7026
7218
|
|
|
7027
7219
|
// icons/react/Error12Icon.tsx
|
|
7028
|
-
var
|
|
7220
|
+
var import_jsx_runtime146 = require("react/jsx-runtime");
|
|
7029
7221
|
|
|
7030
7222
|
// icons/react/Info12Icon.tsx
|
|
7031
|
-
var
|
|
7223
|
+
var import_jsx_runtime147 = require("react/jsx-runtime");
|
|
7032
7224
|
|
|
7033
7225
|
// icons/react/Filter12Icon.tsx
|
|
7034
|
-
var
|
|
7226
|
+
var import_jsx_runtime148 = require("react/jsx-runtime");
|
|
7035
7227
|
|
|
7036
7228
|
// icons/react/Key12Icon.tsx
|
|
7037
|
-
var
|
|
7229
|
+
var import_jsx_runtime149 = require("react/jsx-runtime");
|
|
7038
7230
|
|
|
7039
7231
|
// icons/react/Loader12Icon.tsx
|
|
7040
|
-
var
|
|
7232
|
+
var import_jsx_runtime150 = require("react/jsx-runtime");
|
|
7041
7233
|
|
|
7042
7234
|
// icons/react/MenuOpen12Icon.tsx
|
|
7043
|
-
var
|
|
7235
|
+
var import_jsx_runtime151 = require("react/jsx-runtime");
|
|
7044
7236
|
|
|
7045
7237
|
// icons/react/MenuClose12Icon.tsx
|
|
7046
|
-
var
|
|
7238
|
+
var import_jsx_runtime152 = require("react/jsx-runtime");
|
|
7047
7239
|
|
|
7048
7240
|
// icons/react/More12Icon.tsx
|
|
7049
|
-
var
|
|
7241
|
+
var import_jsx_runtime153 = require("react/jsx-runtime");
|
|
7050
7242
|
|
|
7051
7243
|
// icons/react/NextArrow12Icon.tsx
|
|
7052
|
-
var
|
|
7244
|
+
var import_jsx_runtime154 = require("react/jsx-runtime");
|
|
7053
7245
|
|
|
7054
7246
|
// icons/react/PrevArrow12Icon.tsx
|
|
7055
|
-
var
|
|
7247
|
+
var import_jsx_runtime155 = require("react/jsx-runtime");
|
|
7056
7248
|
|
|
7057
7249
|
// icons/react/OpenLink12Icon.tsx
|
|
7058
|
-
var
|
|
7250
|
+
var import_jsx_runtime156 = require("react/jsx-runtime");
|
|
7059
7251
|
|
|
7060
7252
|
// icons/react/Repair12Icon.tsx
|
|
7061
|
-
var
|
|
7253
|
+
var import_jsx_runtime157 = require("react/jsx-runtime");
|
|
7062
7254
|
|
|
7063
7255
|
// icons/react/Security12Icon.tsx
|
|
7064
|
-
var
|
|
7256
|
+
var import_jsx_runtime158 = require("react/jsx-runtime");
|
|
7065
7257
|
|
|
7066
7258
|
// icons/react/Success12Icon.tsx
|
|
7067
|
-
var
|
|
7259
|
+
var import_jsx_runtime159 = require("react/jsx-runtime");
|
|
7068
7260
|
|
|
7069
7261
|
// icons/react/Unauthorized12Icon.tsx
|
|
7070
|
-
var
|
|
7262
|
+
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
7071
7263
|
|
|
7072
7264
|
// icons/react/Warning12Icon.tsx
|
|
7073
|
-
var
|
|
7265
|
+
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
7074
7266
|
|
|
7075
7267
|
// icons/react/Question12Icon.tsx
|
|
7076
|
-
var
|
|
7268
|
+
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
7077
7269
|
|
|
7078
7270
|
// icons/react/Hide12Icon.tsx
|
|
7079
|
-
var
|
|
7271
|
+
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
7080
7272
|
|
|
7081
7273
|
// icons/react/SelectArrows6Icon.tsx
|
|
7082
|
-
var
|
|
7274
|
+
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
7083
7275
|
var SelectArrows6Icon = ({
|
|
7084
7276
|
title,
|
|
7085
7277
|
titleId,
|
|
7086
7278
|
...props
|
|
7087
|
-
}) => /* @__PURE__ */ (0,
|
|
7279
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(
|
|
7088
7280
|
"svg",
|
|
7089
7281
|
{
|
|
7090
7282
|
width: 6,
|
|
@@ -7095,8 +7287,8 @@ var SelectArrows6Icon = ({
|
|
|
7095
7287
|
"aria-labelledby": titleId,
|
|
7096
7288
|
...props,
|
|
7097
7289
|
children: [
|
|
7098
|
-
title ? /* @__PURE__ */ (0,
|
|
7099
|
-
/* @__PURE__ */ (0,
|
|
7290
|
+
title ? /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("title", { id: titleId, children: title }) : null,
|
|
7291
|
+
/* @__PURE__ */ (0, import_jsx_runtime164.jsx)(
|
|
7100
7292
|
"path",
|
|
7101
7293
|
{
|
|
7102
7294
|
fillRule: "evenodd",
|
|
@@ -7111,257 +7303,12 @@ var SelectArrows6Icon = ({
|
|
|
7111
7303
|
var SelectArrows6Icon_default = SelectArrows6Icon;
|
|
7112
7304
|
|
|
7113
7305
|
// icons/react/Close8Icon.tsx
|
|
7114
|
-
var import_jsx_runtime160 = require("react/jsx-runtime");
|
|
7115
|
-
|
|
7116
|
-
// components/src/asciidoc/Section.tsx
|
|
7117
|
-
var import_react_asciidoc2 = require("@oxide/react-asciidoc");
|
|
7118
|
-
var import_classnames = __toESM(require_classnames());
|
|
7119
|
-
var import_react2 = require("react");
|
|
7120
|
-
var import_jsx_runtime161 = require("react/jsx-runtime");
|
|
7121
|
-
var stripAnchors = (str) => str.replace(/<a[^>]*>(.*?)<\/a>/gi, "$1");
|
|
7122
|
-
var Section = ({ node }) => {
|
|
7123
|
-
const level = node.level;
|
|
7124
|
-
let title = "";
|
|
7125
|
-
let sectNum = node.num;
|
|
7126
|
-
sectNum = sectNum === "." ? "" : sectNum;
|
|
7127
|
-
title = /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
|
|
7128
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsx)("span", { className: "anchor", id: node.id || "", "aria-hidden": "true" }),
|
|
7129
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("a", { className: "section-link", href: `#${node.id}`, children: [
|
|
7130
|
-
html_react_parser_default(stripAnchors(node.title)),
|
|
7131
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsx)(Link16Icon_default, { className: "section-link-icon" })
|
|
7132
|
-
] })
|
|
7133
|
-
] });
|
|
7134
|
-
if (level === 0) {
|
|
7135
|
-
return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)(import_jsx_runtime161.Fragment, { children: [
|
|
7136
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsx)("h1", { className: (0, import_classnames.default)("sect0", node.role), "data-sectnum": sectNum, children: title }),
|
|
7137
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_react_asciidoc2.Content, { blocks: node.blocks })
|
|
7138
|
-
] });
|
|
7139
|
-
} else {
|
|
7140
|
-
return /* @__PURE__ */ (0, import_jsx_runtime161.jsxs)("div", { className: (0, import_classnames.default)(`sect${level}`, node.role), children: [
|
|
7141
|
-
(0, import_react2.createElement)(`h${level + 1}`, { "data-sectnum": sectNum }, title),
|
|
7142
|
-
/* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { className: "sectionbody", children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(import_react_asciidoc2.Content, { blocks: node.blocks }) })
|
|
7143
|
-
] });
|
|
7144
|
-
}
|
|
7145
|
-
};
|
|
7146
|
-
var Section_default = Section;
|
|
7147
|
-
|
|
7148
|
-
// components/src/asciidoc/Table.tsx
|
|
7149
|
-
var import_react_asciidoc3 = require("@oxide/react-asciidoc");
|
|
7150
|
-
var import_jsx_runtime162 = require("react/jsx-runtime");
|
|
7151
|
-
var Table = ({ node }) => /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { className: "table-wrapper", children: /* @__PURE__ */ (0, import_jsx_runtime162.jsx)(import_react_asciidoc3.Table, { node }) });
|
|
7152
|
-
var Table_default = Table;
|
|
7153
|
-
|
|
7154
|
-
// components/src/asciidoc/index.ts
|
|
7155
|
-
var AsciiDocBlocks = {
|
|
7156
|
-
Admonition: Admonition_default,
|
|
7157
|
-
Table: Table_default,
|
|
7158
|
-
Section: Section_default
|
|
7159
|
-
};
|
|
7160
|
-
|
|
7161
|
-
// components/src/ui/badge/Badge.tsx
|
|
7162
|
-
var import_classnames2 = __toESM(require_classnames());
|
|
7163
|
-
var import_jsx_runtime163 = require("react/jsx-runtime");
|
|
7164
|
-
var badgeColors = {
|
|
7165
|
-
default: {
|
|
7166
|
-
default: `ring-1 ring-inset bg-accent-secondary text-accent ring-[rgba(var(--base-green-800-rgb),0.15)]`,
|
|
7167
|
-
destructive: `ring-1 ring-inset bg-destructive-secondary text-destructive ring-[rgba(var(--base-red-800-rgb),0.15)]`,
|
|
7168
|
-
notice: `ring-1 ring-inset bg-notice-secondary text-notice ring-[rgba(var(--base-yellow-800-rgb),0.15)]`,
|
|
7169
|
-
neutral: `ring-1 ring-inset bg-secondary text-secondary ring-[rgba(var(--base-neutral-700-rgb),0.15)]`,
|
|
7170
|
-
purple: `ring-1 ring-inset bg-[var(--base-purple-200)] text-[var(--base-purple-700)] ring-[rgba(var(--base-purple-800-rgb),0.15)]`,
|
|
7171
|
-
blue: `ring-1 ring-inset bg-info-secondary text-info ring-[rgba(var(--base-blue-800-rgb),0.15)]`
|
|
7172
|
-
},
|
|
7173
|
-
solid: {
|
|
7174
|
-
default: "bg-accent text-inverse",
|
|
7175
|
-
destructive: "bg-destructive text-inverse",
|
|
7176
|
-
notice: "bg-notice text-inverse",
|
|
7177
|
-
neutral: "bg-inverse-tertiary text-inverse",
|
|
7178
|
-
purple: "bg-[var(--base-purple-700)] text-inverse",
|
|
7179
|
-
blue: "bg-info text-inverse"
|
|
7180
|
-
}
|
|
7181
|
-
};
|
|
7182
|
-
var Badge = ({
|
|
7183
|
-
className,
|
|
7184
|
-
children,
|
|
7185
|
-
color = "default",
|
|
7186
|
-
variant = "default"
|
|
7187
|
-
}) => {
|
|
7188
|
-
return /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(
|
|
7189
|
-
"span",
|
|
7190
|
-
{
|
|
7191
|
-
className: (0, import_classnames2.default)(
|
|
7192
|
-
"ox-badge",
|
|
7193
|
-
`variant-${variant}`,
|
|
7194
|
-
"inline-flex h-4 items-center whitespace-nowrap rounded-sm px-[3px] py-[1px] uppercase text-mono-sm",
|
|
7195
|
-
badgeColors[variant][color],
|
|
7196
|
-
className
|
|
7197
|
-
),
|
|
7198
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("span", { children })
|
|
7199
|
-
}
|
|
7200
|
-
);
|
|
7201
|
-
};
|
|
7202
|
-
|
|
7203
|
-
// components/src/ui/button/Button.tsx
|
|
7204
|
-
var import_classnames3 = __toESM(require_classnames());
|
|
7205
|
-
var import_react3 = require("react");
|
|
7206
|
-
var import_jsx_runtime164 = require("react/jsx-runtime");
|
|
7207
|
-
var buttonSizes = ["sm", "icon", "base"];
|
|
7208
|
-
var variants = ["primary", "secondary", "ghost", "danger"];
|
|
7209
|
-
var sizeStyle = {
|
|
7210
|
-
sm: "h-8 px-3 text-mono-sm svg:w-4",
|
|
7211
|
-
// meant for buttons that only contain a single icon
|
|
7212
|
-
icon: "h-8 w-8 text-mono-sm svg:w-4",
|
|
7213
|
-
base: "h-10 px-4 text-mono-sm svg:w-5"
|
|
7214
|
-
};
|
|
7215
|
-
var buttonStyle = ({
|
|
7216
|
-
size: size2 = "base",
|
|
7217
|
-
variant = "primary"
|
|
7218
|
-
} = {}) => {
|
|
7219
|
-
return (0, import_classnames3.default)(
|
|
7220
|
-
"ox-button inline-flex items-center justify-center rounded align-top elevation-1 disabled:cursor-not-allowed",
|
|
7221
|
-
`btn-${variant}`,
|
|
7222
|
-
sizeStyle[size2],
|
|
7223
|
-
variant === "danger" ? "focus:outline-destructive-secondary" : "focus:outline-accent-secondary"
|
|
7224
|
-
);
|
|
7225
|
-
};
|
|
7226
|
-
var noop = (e) => {
|
|
7227
|
-
e.stopPropagation();
|
|
7228
|
-
e.preventDefault();
|
|
7229
|
-
};
|
|
7230
|
-
var Button = (0, import_react3.forwardRef)(
|
|
7231
|
-
({
|
|
7232
|
-
type = "button",
|
|
7233
|
-
children,
|
|
7234
|
-
size: size2,
|
|
7235
|
-
variant,
|
|
7236
|
-
className,
|
|
7237
|
-
loading,
|
|
7238
|
-
innerClassName,
|
|
7239
|
-
disabled,
|
|
7240
|
-
onClick,
|
|
7241
|
-
// needs to be a spread because we sometimes get passed arbitrary <button>
|
|
7242
|
-
// props by the parent
|
|
7243
|
-
...rest
|
|
7244
|
-
}, ref) => {
|
|
7245
|
-
const isDisabled = disabled || loading;
|
|
7246
|
-
return /* @__PURE__ */ (0, import_jsx_runtime164.jsxs)(
|
|
7247
|
-
"button",
|
|
7248
|
-
{
|
|
7249
|
-
className: (0, import_classnames3.default)(buttonStyle({ size: size2, variant }), className, {
|
|
7250
|
-
"visually-disabled": isDisabled
|
|
7251
|
-
}),
|
|
7252
|
-
ref,
|
|
7253
|
-
type,
|
|
7254
|
-
onMouseDown: isDisabled ? noop : void 0,
|
|
7255
|
-
onClick: isDisabled ? noop : onClick,
|
|
7256
|
-
"aria-disabled": isDisabled,
|
|
7257
|
-
...rest,
|
|
7258
|
-
children: [
|
|
7259
|
-
loading && /* @__PURE__ */ (0, import_jsx_runtime164.jsx)(Spinner, { className: "absolute", variant }),
|
|
7260
|
-
/* @__PURE__ */ (0, import_jsx_runtime164.jsx)("span", { className: (0, import_classnames3.default)("flex items-center", innerClassName, { invisible: loading }), children })
|
|
7261
|
-
]
|
|
7262
|
-
}
|
|
7263
|
-
);
|
|
7264
|
-
}
|
|
7265
|
-
);
|
|
7266
|
-
|
|
7267
|
-
// components/src/ui/spinner/Spinner.tsx
|
|
7268
|
-
var import_classnames4 = __toESM(require_classnames());
|
|
7269
|
-
var import_react4 = require("react");
|
|
7270
7306
|
var import_jsx_runtime165 = require("react/jsx-runtime");
|
|
7271
|
-
var spinnerSizes = ["base", "lg"];
|
|
7272
|
-
var spinnerVariants = ["primary", "secondary", "ghost", "danger"];
|
|
7273
|
-
var Spinner = ({
|
|
7274
|
-
className,
|
|
7275
|
-
size: size2 = "base",
|
|
7276
|
-
variant = "primary"
|
|
7277
|
-
}) => {
|
|
7278
|
-
const frameSize = size2 === "lg" ? 36 : 12;
|
|
7279
|
-
const center = size2 === "lg" ? 18 : 6;
|
|
7280
|
-
const radius = size2 === "lg" ? 16 : 5;
|
|
7281
|
-
const strokeWidth = size2 === "lg" ? 3 : 2;
|
|
7282
|
-
return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(
|
|
7283
|
-
"svg",
|
|
7284
|
-
{
|
|
7285
|
-
width: frameSize,
|
|
7286
|
-
height: frameSize,
|
|
7287
|
-
viewBox: `0 0 ${frameSize + " " + frameSize}`,
|
|
7288
|
-
fill: "none",
|
|
7289
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7290
|
-
"aria-labelledby": "Spinner",
|
|
7291
|
-
className: (0, import_classnames4.default)("spinner", `spinner-${variant}`, `spinner-${size2}`, className),
|
|
7292
|
-
children: [
|
|
7293
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
7294
|
-
"circle",
|
|
7295
|
-
{
|
|
7296
|
-
fill: "none",
|
|
7297
|
-
className: "bg",
|
|
7298
|
-
strokeWidth,
|
|
7299
|
-
strokeLinecap: "round",
|
|
7300
|
-
cx: center,
|
|
7301
|
-
cy: center,
|
|
7302
|
-
r: radius,
|
|
7303
|
-
strokeOpacity: 0.2
|
|
7304
|
-
}
|
|
7305
|
-
),
|
|
7306
|
-
/* @__PURE__ */ (0, import_jsx_runtime165.jsx)(
|
|
7307
|
-
"circle",
|
|
7308
|
-
{
|
|
7309
|
-
className: "path",
|
|
7310
|
-
fill: "none",
|
|
7311
|
-
stroke: "currentColor",
|
|
7312
|
-
strokeWidth,
|
|
7313
|
-
strokeLinecap: "round",
|
|
7314
|
-
cx: center,
|
|
7315
|
-
cy: center,
|
|
7316
|
-
r: radius
|
|
7317
|
-
}
|
|
7318
|
-
)
|
|
7319
|
-
]
|
|
7320
|
-
}
|
|
7321
|
-
);
|
|
7322
|
-
};
|
|
7323
|
-
var SpinnerLoader = ({ isLoading, children = null, minTime = 500 }) => {
|
|
7324
|
-
const [isVisible, setIsVisible] = (0, import_react4.useState)(isLoading);
|
|
7325
|
-
const hideTimeout = (0, import_react4.useRef)(null);
|
|
7326
|
-
const loadingStartTime = (0, import_react4.useRef)(0);
|
|
7327
|
-
(0, import_react4.useEffect)(() => {
|
|
7328
|
-
if (isLoading) {
|
|
7329
|
-
setIsVisible(true);
|
|
7330
|
-
loadingStartTime.current = Date.now();
|
|
7331
|
-
} else {
|
|
7332
|
-
if (hideTimeout.current)
|
|
7333
|
-
clearTimeout(hideTimeout.current);
|
|
7334
|
-
const elapsedTime = Date.now() - loadingStartTime.current;
|
|
7335
|
-
const remainingTime = Math.max(0, minTime - elapsedTime);
|
|
7336
|
-
if (remainingTime === 0) {
|
|
7337
|
-
setIsVisible(false);
|
|
7338
|
-
} else {
|
|
7339
|
-
hideTimeout.current = setTimeout(() => setIsVisible(false), remainingTime);
|
|
7340
|
-
}
|
|
7341
|
-
}
|
|
7342
|
-
return () => {
|
|
7343
|
-
if (hideTimeout.current)
|
|
7344
|
-
clearTimeout(hideTimeout.current);
|
|
7345
|
-
};
|
|
7346
|
-
}, [isLoading, minTime]);
|
|
7347
|
-
return isVisible ? /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(Spinner, {}) : /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(import_jsx_runtime165.Fragment, { children });
|
|
7348
|
-
};
|
|
7349
7307
|
|
|
7350
|
-
// components/src/ui/
|
|
7351
|
-
var import_react_tabs = require("@radix-ui/react-tabs");
|
|
7308
|
+
// components/src/ui/checkbox/Checkbox.tsx
|
|
7352
7309
|
var import_classnames5 = __toESM(require_classnames());
|
|
7353
7310
|
var import_jsx_runtime166 = require("react/jsx-runtime");
|
|
7354
|
-
var
|
|
7355
|
-
Root: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_react_tabs.Root, { ...props, className: (0, import_classnames5.default)("ox-tabs", className) }),
|
|
7356
|
-
Trigger: ({ children, className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_react_tabs.Trigger, { ...props, className: (0, import_classnames5.default)("ox-tab", className), children: /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { children }) }),
|
|
7357
|
-
List: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_react_tabs.List, { ...props, className: (0, import_classnames5.default)("ox-tabs-list", className) }),
|
|
7358
|
-
Content: ({ className, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(import_react_tabs.Content, { ...props, className: (0, import_classnames5.default)("ox-tabs-panel", className) })
|
|
7359
|
-
};
|
|
7360
|
-
|
|
7361
|
-
// components/src/ui/checkbox/Checkbox.tsx
|
|
7362
|
-
var import_classnames6 = __toESM(require_classnames());
|
|
7363
|
-
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
7364
|
-
var Check = () => /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(Checkmark12Icon_default, { className: "pointer-events-none absolute left-0.5 top-0.5 h-3 w-3 fill-current text-accent" });
|
|
7311
|
+
var Check = () => /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Checkmark12Icon_default, { className: "pointer-events-none absolute left-0.5 top-0.5 h-3 w-3 fill-current text-accent" });
|
|
7365
7312
|
var Indeterminate = classed.div`absolute w-2 h-0.5 left-1 top-[7px] bg-accent pointer-events-none`;
|
|
7366
7313
|
var inputStyle = `
|
|
7367
7314
|
appearance-none border border-default bg-default h-4 w-4 rounded-sm absolute left-0 outline-none
|
|
@@ -7375,48 +7322,48 @@ var Checkbox = ({
|
|
|
7375
7322
|
children,
|
|
7376
7323
|
className,
|
|
7377
7324
|
...inputProps
|
|
7378
|
-
}) => /* @__PURE__ */ (0,
|
|
7379
|
-
/* @__PURE__ */ (0,
|
|
7380
|
-
/* @__PURE__ */ (0,
|
|
7325
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("label", { className: "inline-flex items-center", children: [
|
|
7326
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("span", { className: "relative h-4 w-4", children: [
|
|
7327
|
+
/* @__PURE__ */ (0, import_jsx_runtime166.jsx)(
|
|
7381
7328
|
"input",
|
|
7382
7329
|
{
|
|
7383
|
-
className: (0,
|
|
7330
|
+
className: (0, import_classnames5.default)(inputStyle, className),
|
|
7384
7331
|
type: "checkbox",
|
|
7385
7332
|
ref: (el) => el && (el.indeterminate = !!indeterminate),
|
|
7386
7333
|
...inputProps
|
|
7387
7334
|
}
|
|
7388
7335
|
),
|
|
7389
|
-
inputProps.checked && !indeterminate && /* @__PURE__ */ (0,
|
|
7390
|
-
indeterminate && /* @__PURE__ */ (0,
|
|
7336
|
+
inputProps.checked && !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Check, {}),
|
|
7337
|
+
indeterminate && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(Indeterminate, {})
|
|
7391
7338
|
] }),
|
|
7392
|
-
children && /* @__PURE__ */ (0,
|
|
7339
|
+
children && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { className: "ml-2.5 text-sans-md text-secondary", children })
|
|
7393
7340
|
] });
|
|
7394
7341
|
|
|
7395
7342
|
// components/src/ui/empty-message/EmptyMessage.tsx
|
|
7396
|
-
var
|
|
7343
|
+
var import_classnames6 = __toESM(require_classnames());
|
|
7397
7344
|
var import_react_router_dom = require("react-router-dom");
|
|
7398
|
-
var
|
|
7345
|
+
var import_jsx_runtime167 = require("react/jsx-runtime");
|
|
7399
7346
|
var buttonStyleProps = { variant: "ghost", size: "sm", color: "secondary" };
|
|
7400
7347
|
function EmptyMessage(props) {
|
|
7401
7348
|
let button = null;
|
|
7402
7349
|
if (props.buttonText && "buttonTo" in props) {
|
|
7403
|
-
button = /* @__PURE__ */ (0,
|
|
7350
|
+
button = /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(import_react_router_dom.Link, { className: (0, import_classnames6.default)("mt-6", buttonStyle(buttonStyleProps)), to: props.buttonTo, children: props.buttonText });
|
|
7404
7351
|
} else if (props.buttonText && "onClick" in props) {
|
|
7405
|
-
button = /* @__PURE__ */ (0,
|
|
7352
|
+
button = /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(Button, { ...buttonStyleProps, className: "mt-6", onClick: props.onClick, children: props.buttonText });
|
|
7406
7353
|
}
|
|
7407
|
-
return /* @__PURE__ */ (0,
|
|
7408
|
-
props.icon && /* @__PURE__ */ (0,
|
|
7409
|
-
/* @__PURE__ */ (0,
|
|
7410
|
-
props.body && /* @__PURE__ */ (0,
|
|
7354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { className: "m-4 flex max-w-[14rem] flex-col items-center text-center", children: [
|
|
7355
|
+
props.icon && /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { className: "mb-4 rounded p-1 leading-[0] text-accent bg-accent-secondary", children: props.icon }),
|
|
7356
|
+
/* @__PURE__ */ (0, import_jsx_runtime167.jsx)("h3", { className: "text-sans-semi-lg", children: props.title }),
|
|
7357
|
+
props.body && /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("p", { className: "mt-1 text-sans-md text-secondary", children: props.body }),
|
|
7411
7358
|
button
|
|
7412
7359
|
] });
|
|
7413
7360
|
}
|
|
7414
7361
|
|
|
7415
7362
|
// components/src/ui/listbox/Listbox.tsx
|
|
7416
|
-
var
|
|
7417
|
-
var
|
|
7418
|
-
var
|
|
7419
|
-
var
|
|
7363
|
+
var import_react5 = require("@floating-ui/react");
|
|
7364
|
+
var import_react6 = require("@headlessui/react");
|
|
7365
|
+
var import_classnames7 = __toESM(require_classnames());
|
|
7366
|
+
var import_jsx_runtime168 = require("react/jsx-runtime");
|
|
7420
7367
|
var Listbox = ({
|
|
7421
7368
|
name,
|
|
7422
7369
|
selected,
|
|
@@ -7429,11 +7376,11 @@ var Listbox = ({
|
|
|
7429
7376
|
isLoading = false,
|
|
7430
7377
|
...props
|
|
7431
7378
|
}) => {
|
|
7432
|
-
const { refs, floatingStyles } = (0,
|
|
7379
|
+
const { refs, floatingStyles } = (0, import_react5.useFloating)({
|
|
7433
7380
|
middleware: [
|
|
7434
|
-
(0,
|
|
7435
|
-
(0,
|
|
7436
|
-
(0,
|
|
7381
|
+
(0, import_react5.offset)(12),
|
|
7382
|
+
(0, import_react5.flip)(),
|
|
7383
|
+
(0, import_react5.size)({
|
|
7437
7384
|
apply({ rects, elements }) {
|
|
7438
7385
|
Object.assign(elements.floating.style, {
|
|
7439
7386
|
width: `${rects.reference.width}px`
|
|
@@ -7445,19 +7392,19 @@ var Listbox = ({
|
|
|
7445
7392
|
const selectedItem = selected && items.find((i) => i.value === selected);
|
|
7446
7393
|
const noItems = !isLoading && items.length === 0;
|
|
7447
7394
|
const isDisabled = disabled || noItems;
|
|
7448
|
-
return /* @__PURE__ */ (0,
|
|
7449
|
-
|
|
7395
|
+
return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: (0, import_classnames7.default)("relative", className), children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
7396
|
+
import_react6.Listbox,
|
|
7450
7397
|
{
|
|
7451
7398
|
value: selected,
|
|
7452
7399
|
onChange: (val) => val !== null && onChange(val),
|
|
7453
7400
|
disabled: isDisabled || isLoading,
|
|
7454
|
-
children: ({ open }) => /* @__PURE__ */ (0,
|
|
7455
|
-
/* @__PURE__ */ (0,
|
|
7456
|
-
|
|
7401
|
+
children: ({ open }) => /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)(import_jsx_runtime168.Fragment, { children: [
|
|
7402
|
+
/* @__PURE__ */ (0, import_jsx_runtime168.jsxs)(
|
|
7403
|
+
import_react6.Listbox.Button,
|
|
7457
7404
|
{
|
|
7458
7405
|
name,
|
|
7459
7406
|
ref: refs.setReference,
|
|
7460
|
-
className: (0,
|
|
7407
|
+
className: (0, import_classnames7.default)(
|
|
7461
7408
|
`flex h-10 w-full items-center justify-between
|
|
7462
7409
|
rounded border text-sans-md`,
|
|
7463
7410
|
hasError ? "focus-error border-error-secondary hover:border-error" : "border-default hover:border-hover",
|
|
@@ -7468,37 +7415,37 @@ var Listbox = ({
|
|
|
7468
7415
|
),
|
|
7469
7416
|
...props,
|
|
7470
7417
|
children: [
|
|
7471
|
-
/* @__PURE__ */ (0,
|
|
7418
|
+
/* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { className: "w-full px-3 text-left", children: selectedItem ? (
|
|
7472
7419
|
// labelString is one line, which is what we need when label is a ReactNode
|
|
7473
7420
|
selectedItem.labelString || selectedItem.label
|
|
7474
|
-
) : /* @__PURE__ */ (0,
|
|
7475
|
-
!isDisabled && /* @__PURE__ */ (0,
|
|
7476
|
-
/* @__PURE__ */ (0,
|
|
7421
|
+
) : /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("span", { className: "text-quaternary", children: noItems ? "No items" : placeholder }) }),
|
|
7422
|
+
!isDisabled && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(SpinnerLoader, { isLoading }),
|
|
7423
|
+
/* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
7477
7424
|
"div",
|
|
7478
7425
|
{
|
|
7479
7426
|
className: "ml-3 flex h-[calc(100%-12px)] items-center border-l px-3 border-secondary",
|
|
7480
7427
|
"aria-hidden": true,
|
|
7481
|
-
children: /* @__PURE__ */ (0,
|
|
7428
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(SelectArrows6Icon_default, { className: "h-[14px] w-2 text-tertiary" })
|
|
7482
7429
|
}
|
|
7483
7430
|
)
|
|
7484
7431
|
]
|
|
7485
7432
|
}
|
|
7486
7433
|
),
|
|
7487
|
-
/* @__PURE__ */ (0,
|
|
7488
|
-
|
|
7434
|
+
/* @__PURE__ */ (0, import_jsx_runtime168.jsx)(import_react5.FloatingPortal, { children: /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
7435
|
+
import_react6.Listbox.Options,
|
|
7489
7436
|
{
|
|
7490
7437
|
ref: refs.setFloating,
|
|
7491
7438
|
style: floatingStyles,
|
|
7492
7439
|
className: "ox-menu pointer-events-auto z-50 overflow-y-auto !outline-none",
|
|
7493
|
-
children: items.map((item) => /* @__PURE__ */ (0,
|
|
7494
|
-
|
|
7440
|
+
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
7441
|
+
import_react6.Listbox.Option,
|
|
7495
7442
|
{
|
|
7496
7443
|
value: item.value,
|
|
7497
7444
|
className: "relative border-b border-secondary last:border-0",
|
|
7498
|
-
children: ({ active, selected: selected2 }) => /* @__PURE__ */ (0,
|
|
7445
|
+
children: ({ active, selected: selected2 }) => /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(
|
|
7499
7446
|
"div",
|
|
7500
7447
|
{
|
|
7501
|
-
className: (0,
|
|
7448
|
+
className: (0, import_classnames7.default)(
|
|
7502
7449
|
"ox-menu-item text-secondary",
|
|
7503
7450
|
selected2 && "is-selected",
|
|
7504
7451
|
active && "is-highlighted"
|