@nswds/app 1.109.3 → 1.110.1
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/dist/globals.css +99 -48
- package/dist/index.cjs +144 -118
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -5
- package/dist/index.d.ts +12 -5
- package/dist/index.js +139 -113
- package/dist/index.js.map +1 -1
- package/dist/styles.css +120 -56
- package/dist/styles.css.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var AccordionPrimitive = require('@radix-ui/react-accordion');
|
|
4
4
|
var jsxRuntime = require('react/jsx-runtime');
|
|
5
|
-
var
|
|
5
|
+
var clsx13 = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var classVarianceAuthority = require('class-variance-authority');
|
|
8
8
|
var AlertDialogPrimitive = require('@radix-ui/react-alert-dialog');
|
|
@@ -89,7 +89,7 @@ function _interopNamespace(e) {
|
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
var AccordionPrimitive__namespace = /*#__PURE__*/_interopNamespace(AccordionPrimitive);
|
|
92
|
-
var
|
|
92
|
+
var clsx13__default = /*#__PURE__*/_interopDefault(clsx13);
|
|
93
93
|
var AlertDialogPrimitive__namespace = /*#__PURE__*/_interopNamespace(AlertDialogPrimitive);
|
|
94
94
|
var React5__namespace = /*#__PURE__*/_interopNamespace(React5);
|
|
95
95
|
var Headless4__namespace = /*#__PURE__*/_interopNamespace(Headless4);
|
|
@@ -4054,7 +4054,7 @@ var Icons = {
|
|
|
4054
4054
|
zoom_out_map: (props) => /* @__PURE__ */ jsxRuntime.jsx("svg", { fill: "currentColor", "data-slot": "icon", viewBox: "0 -960 960 960", ...props, children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "M256-200h64q17 0 28.5 11.5T360-160q0 17-11.5 28.5T320-120H160q-17 0-28.5-11.5T120-160v-160q0-17 11.5-28.5T160-360q17 0 28.5 11.5T200-320v64l96-96q11-11 28-11t28 11q11 11 11 28t-11 28l-96 96Zm448 0-96-96q-11-11-11-28t11-28q11-11 28-11t28 11l96 96v-64q0-17 11.5-28.5T800-360q17 0 28.5 11.5T840-320v160q0 17-11.5 28.5T800-120H640q-17 0-28.5-11.5T600-160q0-17 11.5-28.5T640-200h64ZM200-704v64q0 17-11.5 28.5T160-600q-17 0-28.5-11.5T120-640v-160q0-17 11.5-28.5T160-840h160q17 0 28.5 11.5T360-800q0 17-11.5 28.5T320-760h-64l96 96q11 11 11 28t-11 28q-11 11-28 11t-28-11l-96-96Zm560 0-96 96q-11 11-28 11t-28-11q-11-11-11-28t11-28l96-96h-64q-17 0-28.5-11.5T600-800q0-17 11.5-28.5T640-840h160q17 0 28.5 11.5T840-800v160q0 17-11.5 28.5T800-600q-17 0-28.5-11.5T760-640v-64Z" }) })
|
|
4055
4055
|
};
|
|
4056
4056
|
function cn(...inputs) {
|
|
4057
|
-
return tailwindMerge.twMerge(
|
|
4057
|
+
return tailwindMerge.twMerge(clsx13.clsx(inputs));
|
|
4058
4058
|
}
|
|
4059
4059
|
function truncate(text, maxLength) {
|
|
4060
4060
|
if (text.length <= maxLength) {
|
|
@@ -4553,7 +4553,7 @@ var Button2 = React5.forwardRef(function Button3({ className, variant, color: co
|
|
|
4553
4553
|
{
|
|
4554
4554
|
"data-variant": variant,
|
|
4555
4555
|
...props,
|
|
4556
|
-
className:
|
|
4556
|
+
className: clsx13__default.default(classes, "cursor-pointer"),
|
|
4557
4557
|
ref,
|
|
4558
4558
|
children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children })
|
|
4559
4559
|
}
|
|
@@ -6012,7 +6012,7 @@ var BadgeButton = React5.forwardRef(function BadgeButton2({
|
|
|
6012
6012
|
children,
|
|
6013
6013
|
...props
|
|
6014
6014
|
}, ref) {
|
|
6015
|
-
const classes =
|
|
6015
|
+
const classes = clsx13__default.default(className, focusOutline[color2], [
|
|
6016
6016
|
// Base
|
|
6017
6017
|
"group relative inline-flex rounded-sm",
|
|
6018
6018
|
// Focus
|
|
@@ -6034,7 +6034,7 @@ var BadgeButton = React5.forwardRef(function BadgeButton2({
|
|
|
6034
6034
|
{
|
|
6035
6035
|
"data-variant": variant,
|
|
6036
6036
|
...props,
|
|
6037
|
-
className:
|
|
6037
|
+
className: clsx13__default.default(classes, "cursor-pointer"),
|
|
6038
6038
|
ref,
|
|
6039
6039
|
children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children: /* @__PURE__ */ jsxRuntime.jsx(Badge, { variant, color: color2, size, children }) })
|
|
6040
6040
|
}
|
|
@@ -14676,7 +14676,7 @@ function CodePreview({
|
|
|
14676
14676
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
14677
14677
|
"div",
|
|
14678
14678
|
{
|
|
14679
|
-
className:
|
|
14679
|
+
className: clsx13.clsx(
|
|
14680
14680
|
"group mx-auto bg-white bg-gradient-to-r dark:bg-grey-900",
|
|
14681
14681
|
view === "desktop" && "w-full",
|
|
14682
14682
|
view === "tablet" && "max-w-lg",
|
|
@@ -14944,7 +14944,7 @@ function ColorCard({ name, token, hex: hex2, rgb: rgb2, hsl, oklch: oklch2, form
|
|
|
14944
14944
|
{
|
|
14945
14945
|
className: "flex h-24 w-full items-center justify-center",
|
|
14946
14946
|
style: { backgroundColor: hex2 },
|
|
14947
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className:
|
|
14947
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: clsx13.clsx("font-medium", isLightColor(hex2) ? "text-primary-950" : "text-white"), children: name })
|
|
14948
14948
|
}
|
|
14949
14949
|
),
|
|
14950
14950
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-col gap-2 p-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
@@ -17870,7 +17870,7 @@ function DescriptionList({ className, ...props }) {
|
|
|
17870
17870
|
"dl",
|
|
17871
17871
|
{
|
|
17872
17872
|
...props,
|
|
17873
|
-
className:
|
|
17873
|
+
className: clsx13__default.default(
|
|
17874
17874
|
className,
|
|
17875
17875
|
"grid grid-cols-1 text-base/6 sm:grid-cols-[min(50%,--spacing(80))_auto] sm:text-sm/6"
|
|
17876
17876
|
)
|
|
@@ -17882,7 +17882,7 @@ function DescriptionTerm({ className, ...props }) {
|
|
|
17882
17882
|
"dt",
|
|
17883
17883
|
{
|
|
17884
17884
|
...props,
|
|
17885
|
-
className:
|
|
17885
|
+
className: clsx13__default.default(
|
|
17886
17886
|
className,
|
|
17887
17887
|
"col-start-1 border-t border-grey-950/5 pt-3 text-grey-600 first:border-none sm:border-t sm:border-grey-950/5 sm:py-3 dark:border-white/5 dark:text-grey-400 sm:dark:border-white/5"
|
|
17888
17888
|
)
|
|
@@ -17894,7 +17894,7 @@ function DescriptionDetails({ className, ...props }) {
|
|
|
17894
17894
|
"dd",
|
|
17895
17895
|
{
|
|
17896
17896
|
...props,
|
|
17897
|
-
className:
|
|
17897
|
+
className: clsx13__default.default(
|
|
17898
17898
|
className,
|
|
17899
17899
|
"pt-1 pb-3 text-grey-950 sm:border-t sm:border-grey-950/5 sm:py-3 sm:nth-2:border-none dark:text-white dark:sm:border-white/5"
|
|
17900
17900
|
)
|
|
@@ -18308,7 +18308,7 @@ function Fieldset2({
|
|
|
18308
18308
|
Headless4__namespace.Fieldset,
|
|
18309
18309
|
{
|
|
18310
18310
|
...props,
|
|
18311
|
-
className:
|
|
18311
|
+
className: clsx13__default.default(className, "*:data-[slot=text]:mt-1 [&>*+[data-slot=control]]:mt-6")
|
|
18312
18312
|
}
|
|
18313
18313
|
);
|
|
18314
18314
|
}
|
|
@@ -18321,7 +18321,7 @@ function Legend6({
|
|
|
18321
18321
|
{
|
|
18322
18322
|
"data-slot": "legend",
|
|
18323
18323
|
...props,
|
|
18324
|
-
className:
|
|
18324
|
+
className: clsx13__default.default(
|
|
18325
18325
|
className,
|
|
18326
18326
|
"text-base/6 font-semibold text-zinc-950 data-disabled:opacity-50 sm:text-sm/6 dark:text-white"
|
|
18327
18327
|
)
|
|
@@ -18329,7 +18329,7 @@ function Legend6({
|
|
|
18329
18329
|
);
|
|
18330
18330
|
}
|
|
18331
18331
|
function FieldGroup({ className, ...props }) {
|
|
18332
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "control", ...props, className:
|
|
18332
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "control", ...props, className: clsx13__default.default(className, "space-y-8") });
|
|
18333
18333
|
}
|
|
18334
18334
|
function Field2({
|
|
18335
18335
|
className,
|
|
@@ -18339,7 +18339,7 @@ function Field2({
|
|
|
18339
18339
|
Headless4__namespace.Field,
|
|
18340
18340
|
{
|
|
18341
18341
|
...props,
|
|
18342
|
-
className:
|
|
18342
|
+
className: clsx13__default.default(
|
|
18343
18343
|
className,
|
|
18344
18344
|
"[&>[data-slot=label]+[data-slot=control]]:mt-3",
|
|
18345
18345
|
"[&>[data-slot=label]+[data-slot=description]]:mt-1",
|
|
@@ -18360,7 +18360,7 @@ function FieldLabel({
|
|
|
18360
18360
|
{
|
|
18361
18361
|
"data-slot": "label",
|
|
18362
18362
|
...props,
|
|
18363
|
-
className:
|
|
18363
|
+
className: clsx13__default.default(
|
|
18364
18364
|
className,
|
|
18365
18365
|
"text-base/6 text-zinc-950 select-none data-disabled:opacity-50 sm:text-sm/6 dark:text-white"
|
|
18366
18366
|
)
|
|
@@ -18376,7 +18376,7 @@ function Description4({
|
|
|
18376
18376
|
{
|
|
18377
18377
|
"data-slot": "description",
|
|
18378
18378
|
...props,
|
|
18379
|
-
className:
|
|
18379
|
+
className: clsx13__default.default(
|
|
18380
18380
|
className,
|
|
18381
18381
|
"text-base/6 text-zinc-500 data-disabled:opacity-50 sm:text-sm/6 dark:text-zinc-400"
|
|
18382
18382
|
)
|
|
@@ -18392,7 +18392,7 @@ function ErrorMessage({
|
|
|
18392
18392
|
{
|
|
18393
18393
|
"data-slot": "error",
|
|
18394
18394
|
...props,
|
|
18395
|
-
className:
|
|
18395
|
+
className: clsx13__default.default(
|
|
18396
18396
|
className,
|
|
18397
18397
|
"text-base/6 text-red-600 data-disabled:opacity-50 sm:text-sm/6 dark:text-red-500"
|
|
18398
18398
|
)
|
|
@@ -18616,7 +18616,7 @@ var toggleVariants = classVarianceAuthority.cva(styles3.base, {
|
|
|
18616
18616
|
variants: {
|
|
18617
18617
|
variant: {
|
|
18618
18618
|
ghost: "",
|
|
18619
|
-
outline:
|
|
18619
|
+
outline: clsx13__default.default(styles3.outline)
|
|
18620
18620
|
},
|
|
18621
18621
|
size: {
|
|
18622
18622
|
default: "h-9 px-2 min-w-9",
|
|
@@ -18719,7 +18719,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
18719
18719
|
|
|
18720
18720
|
// package.json
|
|
18721
18721
|
var package_default = {
|
|
18722
|
-
version: "1.
|
|
18722
|
+
version: "1.109.2"};
|
|
18723
18723
|
var SluggerContext = React5__namespace.default.createContext(null);
|
|
18724
18724
|
function flattenText(nodes) {
|
|
18725
18725
|
if (nodes == null || typeof nodes === "boolean") return "";
|
|
@@ -18790,7 +18790,7 @@ function Heading({
|
|
|
18790
18790
|
...props,
|
|
18791
18791
|
id: computedId,
|
|
18792
18792
|
"data-anchor": true,
|
|
18793
|
-
className:
|
|
18793
|
+
className: clsx13__default.default(
|
|
18794
18794
|
className,
|
|
18795
18795
|
trimClasses[trim],
|
|
18796
18796
|
"m-0",
|
|
@@ -18803,7 +18803,7 @@ function Heading({
|
|
|
18803
18803
|
}
|
|
18804
18804
|
);
|
|
18805
18805
|
}
|
|
18806
|
-
function Logo(props) {
|
|
18806
|
+
function Logo({ logoType = "default", ...props }) {
|
|
18807
18807
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
18808
18808
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "NSW Government" }),
|
|
18809
18809
|
/* @__PURE__ */ jsxRuntime.jsxs("svg", { viewBox: "0 0 259 280", "aria-hidden": "true", ...props, children: [
|
|
@@ -18813,7 +18813,11 @@ function Logo(props) {
|
|
|
18813
18813
|
fillRule: "evenodd",
|
|
18814
18814
|
clipRule: "evenodd",
|
|
18815
18815
|
d: "M24.208 270.207h-5.045v-4.277l11.15.054v13.676H26.08v-2.491c-.266.278-.553.556-.86.833-.673.585-1.49 1.07-2.433 1.434-.96.373-2.143.564-3.513.564-2.33 0-4.385-.539-6.109-1.6-1.727-1.065-3.073-2.594-4.007-4.538-.926-1.927-1.395-4.231-1.395-6.85 0-2.657.494-4.994 1.47-6.946.971-1.96 2.363-3.498 4.132-4.571 1.768-1.065 3.849-1.604 6.183-1.604 1.515 0 2.915.245 4.156.725 1.255.485 2.36 1.157 3.273 1.985a9.61 9.61 0 0 1 2.192 2.852 8.196 8.196 0 0 1 .872 3.319l.021.435h-6.038l-.062-.339a5.22 5.22 0 0 0-.814-1.981 4.562 4.562 0 0 0-1.537-1.43c-.614-.352-1.345-.531-2.175-.531-1.005 0-1.931.261-2.741.775-.806.51-1.458 1.351-1.935 2.495-.486 1.169-.731 2.74-.731 4.679 0 1.579.162 2.897.482 3.925.311 1.011.739 1.819 1.266 2.403.523.581 1.117.991 1.773 1.219a6.036 6.036 0 0 0 2.089.369c.669 0 1.27-.112 1.79-.328.523-.224.98-.514 1.354-.866.377-.356.676-.746.884-1.152.216-.41.349-.816.399-1.21l.14-1.028Zm20.878-16.312c2.354 0 4.435.534 6.179 1.587 1.752 1.061 3.13 2.59 4.086 4.546.947 1.935 1.428 4.281 1.428 6.967 0 2.648-.473 4.969-1.412 6.9-.946 1.948-2.317 3.469-4.073 4.521-1.744 1.053-3.837 1.583-6.212 1.583-2.396 0-4.502-.534-6.254-1.583-1.753-1.044-3.135-2.557-4.099-4.505-.947-1.927-1.428-4.252-1.428-6.912 0-2.673.486-5.015 1.449-6.954.968-1.956 2.355-3.486 4.12-4.551 1.764-1.061 3.853-1.599 6.216-1.599Zm0 21.185c1.117 0 2.093-.265 2.898-.787.802-.523 1.433-1.372 1.881-2.516.453-1.185.686-2.772.686-4.712 0-1.993-.237-3.618-.698-4.832-.444-1.181-1.08-2.056-1.885-2.603-.814-.543-1.782-.82-2.878-.82-1.1 0-2.072.277-2.886.82-.81.543-1.453 1.422-1.906 2.611-.47 1.223-.706 2.843-.706 4.82 0 1.944.237 3.531.702 4.712.452 1.148 1.092 1.997 1.902 2.515.81.527 1.781.792 2.89.792Zm23.764-2.93-6.162-17.829H57.09l8.654 25.251h6.195l8.73-25.251h-5.607L68.85 272.15Zm30.312-2.827H88.863v5.206l12.043.016v5.027H83.103v-25.251h17.632l-.016 4.99H88.892v5.089h10.27v4.923Zm22.482-1.529c.685-.613 1.246-1.401 1.678-2.341.419-.933.635-2.081.635-3.419 0-1.497-.311-2.835-.93-3.983-.619-1.169-1.599-2.093-2.919-2.756-1.3-.647-2.973-.974-4.975-.974h-10.738v25.243h5.759v-9.404h4.24l3.991 9.404h6.046l-4.651-10.456c.673-.357 1.3-.8 1.864-1.314Zm-3.513-5.64c0 .999-.336 1.79-1.025 2.428-.69.63-1.649.949-2.857.949h-4.095v-6.606h4.456c1.038 0 1.873.286 2.545.875.657.576.976 1.347.976 2.354Zm15.159-7.833 10.527 15.23v-15.23h5.776v25.251h-5.086l-10.98-15.86v15.86h-5.759v-25.251h5.522Zm33.949 16.461-5.29-16.461h-7.894v25.251h5.809v-16.266l5.124 16.266h4.485l5.162-16.357v16.357h5.826v-25.251h-7.878l-5.344 16.461Zm33.727-1.459h-10.298v5.206l12.046.016v5.027h-17.806v-25.251h17.636l-.021 4.99h-11.818v5.089h10.261v4.923Zm21.494.228-10.523-15.23h-5.527v25.251h5.756v-15.86l10.979 15.86h5.087v-25.251h-5.772v15.23Zm15.586-10.004h-7.388v-5.226h20.402v5.226h-7.217v20.025h-5.797v-20.025Z",
|
|
18816
|
-
className:
|
|
18816
|
+
className: clsx13__default.default(
|
|
18817
|
+
logoType === "default" && "fill-nsw-blue-800 dark:fill-white",
|
|
18818
|
+
(logoType === "reversed" || logoType === "mono-white") && "fill-white",
|
|
18819
|
+
logoType === "mono-black" && "fill-black dark:fill-white"
|
|
18820
|
+
)
|
|
18817
18821
|
}
|
|
18818
18822
|
),
|
|
18819
18823
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -18822,21 +18826,33 @@ function Logo(props) {
|
|
|
18822
18826
|
fillRule: "evenodd",
|
|
18823
18827
|
clipRule: "evenodd",
|
|
18824
18828
|
d: "M146.699 209.236c-1.482-2.395-3.717-4.571-6.64-6.465-2.919-1.894-6.897-3.34-11.81-4.297l-13.678-2.814c-4.132-.891-6.981-2.043-8.468-3.419-1.449-1.343-2.184-3.129-2.184-5.309 0-1.388.316-2.652.943-3.759.623-1.111 1.528-2.093 2.687-2.922 1.166-.828 2.616-1.483 4.306-1.943 1.711-.469 3.633-.705 5.714-.705 2.74 0 5.211.361 7.346 1.078 2.109.713 3.857 1.881 5.194 3.481 1.338 1.6 2.16 3.775 2.442 6.465l.038.373h16.971l-.008-.427c-.075-4.575-1.371-8.773-3.85-12.474-2.483-3.705-6.141-6.681-10.879-8.852-4.726-2.164-10.623-3.262-17.528-3.262-5.801 0-11.117 1.011-15.805 3.009-4.7 2.002-8.475 4.89-11.212 8.587-2.749 3.717-4.12 8.164-4.078 13.224.112 6.175 1.99 11.186 5.577 14.903 3.576 3.697 8.476 6.158 14.567 7.306l13.795 2.81c2.529.502 4.825 1.16 6.823 1.96 1.96.784 3.525 1.803 4.651 3.03 1.1 1.197 1.657 2.772 1.657 4.67 0 2.114-.694 3.9-2.06 5.301-1.4 1.434-3.301 2.515-5.643 3.224-2.388.721-5.058 1.086-7.936 1.086-2.807 0-5.394-.435-7.686-1.297-2.28-.85-4.194-2.093-5.689-3.693-1.491-1.591-2.513-3.585-3.04-5.918l-.075-.327H83.846l.045.46c.407 4.045 1.666 7.629 3.738 10.659 2.068 3.009 4.717 5.545 7.873 7.551 3.148 1.993 6.677 3.514 10.494 4.513a46.33 46.33 0 0 0 11.693 1.5c6.466 0 12.2-1.019 17.046-3.034 4.867-2.022 8.717-4.807 11.449-8.276 2.753-3.493 4.148-7.476 4.148-11.848 0-2.064-.232-4.36-.697-6.822-.478-2.482-1.466-4.948-2.936-7.327ZM25.937 191.763l36.916 53.312H77.87v-79.724H61.072v51.282L25.754 165.53l-.125-.179H9.19v79.724h16.748v-53.312Zm196.637 24.577 14.388-50.987h16.457l-23.587 79.724h-13.367l-14.554-50.469-14.659 50.469h-13.147l-23.533-79.724h16.511l14.384 50.979 14.389-50.979h12.167l14.551 50.987Z",
|
|
18825
|
-
className:
|
|
18829
|
+
className: clsx13__default.default(
|
|
18830
|
+
logoType === "default" && "fill-nsw-blue-800 dark:fill-white",
|
|
18831
|
+
(logoType === "reversed" || logoType === "mono-white") && "fill-white",
|
|
18832
|
+
logoType === "mono-black" && "fill-black dark:fill-white"
|
|
18833
|
+
)
|
|
18826
18834
|
}
|
|
18827
18835
|
),
|
|
18828
18836
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18829
18837
|
"path",
|
|
18830
18838
|
{
|
|
18831
18839
|
d: "M122.291 145.572c-19.75-2.424-38.934 3.904-72.69-5.263-3.447-.937-4.718 2.694-2.854 5.736 9.07 14.803 54.881 3.203 75.635 1.065.906-.095.814-1.426-.091-1.538ZM208.735 140.309c-33.756 9.167-52.941 2.839-72.691 5.263-.905.112-1 1.447-.091 1.538 20.759 2.138 66.566 13.738 75.635-1.065 1.864-3.042.594-6.673-2.853-5.736ZM59.882 119.132c-6.864-10.058-12.474-21.31-16.818-33.69-13.101 3.826-26.51 9.346-40.16 16.57a5.388 5.388 0 0 0-2.902 4.67 5.38 5.38 0 0 0 2.653 4.812c26.431 15.802 52.273 24.841 76.93 26.933-7.34-4.475-14.072-11.044-19.703-19.295ZM23.059 85.513a201.529 201.529 0 0 1 17.976-6.233c-2.126-6.896-3.87-14.12-5.249-21.658-6.827-.85-13.89-1.4-21.199-1.641-.062 0-.128-.004-.19-.004a5.391 5.391 0 0 0-4.647 2.602 5.383 5.383 0 0 0-.12 5.483c4.243 7.659 8.724 14.808 13.429 21.45ZM88.005 135.572c4.099 1.807 8.293 2.818 12.358 3.029-9.953-7.12-17.773-19.192-22.278-34.58-5.805-19.81-7.745-41.666-5.83-65.247-7.832-4.936-16.32-9.557-25.46-13.85a5.428 5.428 0 0 0-5.402.43 5.396 5.396 0 0 0-2.388 4.841c2.126 34.215 10.95 62.915 26.223 85.298 6.404 9.391 14.281 16.332 22.777 20.079ZM107.488 23.577A253.323 253.323 0 0 0 92.235 6.735c-1.063-1.078-2.433-1.65-3.85-1.65-.506 0-1.017.075-1.523.224-1.923.568-3.314 2.106-3.733 4.115-1.072 5.164-3.11 15.69-4.012 26.101 7.014 4.613 13.492 9.49 19.426 14.621 2.3-8.757 5.29-17.63 8.945-26.569ZM255.42 102.007c-13.65-7.223-27.058-12.744-40.16-16.569-4.343 12.38-9.953 23.631-16.818 33.689-5.63 8.255-12.362 14.82-19.708 19.296 24.658-2.093 50.5-11.132 76.931-26.934 1.715-1.024 2.707-2.822 2.653-4.811-.045-1.99-1.133-3.734-2.898-4.671ZM235.273 85.513c4.705-6.643 9.186-13.796 13.43-21.455.963-1.74.922-3.788-.121-5.483a5.4 5.4 0 0 0-4.837-2.598c-7.309.24-14.377.796-21.199 1.641-1.375 7.539-3.123 14.762-5.249 21.658a203.803 203.803 0 0 1 17.976 6.237ZM180.247 104.025c-4.505 15.384-12.329 27.46-22.278 34.58 4.065-.211 8.263-1.227 12.358-3.034 8.496-3.746 16.373-10.688 22.777-20.075 15.273-22.383 24.097-51.082 26.223-85.297a5.394 5.394 0 0 0-2.388-4.84 5.428 5.428 0 0 0-5.402-.432c-9.14 4.29-17.628 8.91-25.46 13.85 1.915 23.582-.029 45.434-5.83 65.248ZM179.214 35.52c-.901-10.406-2.94-20.932-4.011-26.1-.416-2.01-1.811-3.547-3.733-4.115a5.39 5.39 0 0 0-1.524-.224c-1.416 0-2.787.572-3.85 1.65-5.485 5.549-10.568 11.164-15.252 16.842 3.654 8.939 6.644 17.812 8.949 26.565 5.934-5.127 12.407-10.005 19.421-14.617ZM129.144 87.229c6.64-13.092 17.246-24.829 25.21-32.243-4.372-17.779-11.104-34.55-20.397-52.097C132.998 1.078 131.195 0 129.148 0s-3.845 1.082-4.808 2.889c-9.389 17.604-16.237 35.122-20.377 52.093 8.313 7.688 19.28 20.224 25.181 32.247Z",
|
|
18832
|
-
className:
|
|
18840
|
+
className: clsx13__default.default(
|
|
18841
|
+
(logoType === "default" || logoType === "reversed") && "fill-nsw-red-600 dark:fill-white",
|
|
18842
|
+
logoType === "mono-white" && "fill-white",
|
|
18843
|
+
logoType === "mono-black" && "fill-black dark:fill-white"
|
|
18844
|
+
)
|
|
18833
18845
|
}
|
|
18834
18846
|
),
|
|
18835
18847
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18836
18848
|
"path",
|
|
18837
18849
|
{
|
|
18838
18850
|
d: "M153.541 133.686c6.885-4.833 13.77-13.254 18.139-24.97 8.458-22.681 9.334-47.945 8.122-65.823-15.331 10.215-39.665 31.55-47.975 54.36-3.911 10.734-5.734 25.355-2.72 33.511 1.259 3.411 3.401 5.997 6.345 7.227 4.46 1.865 11.312.456 18.089-4.305ZM125.713 95.261c-2.027-4.724-4.261-9.18-7.728-14.186-9.809-14.16-23.026-26.933-39.475-38.185-.17 2.652-2.57 31.297 5.851 59.304 6.408 21.302 17.354 29.98 23.354 33.333 6.038 3.369 11.561 4.165 18.039 2.557-6.565-8.935-5.747-27.27-.041-42.823Z",
|
|
18839
|
-
className:
|
|
18851
|
+
className: clsx13__default.default(
|
|
18852
|
+
(logoType === "default" || logoType === "reversed") && "fill-nsw-red-600 dark:fill-white",
|
|
18853
|
+
logoType === "mono-white" && "fill-white",
|
|
18854
|
+
logoType === "mono-black" && "fill-black dark:fill-white"
|
|
18855
|
+
)
|
|
18840
18856
|
}
|
|
18841
18857
|
)
|
|
18842
18858
|
] })
|
|
@@ -18925,7 +18941,8 @@ function Header2({
|
|
|
18925
18941
|
version = false,
|
|
18926
18942
|
hide = {},
|
|
18927
18943
|
altLogo,
|
|
18928
|
-
altDescriptor
|
|
18944
|
+
altDescriptor,
|
|
18945
|
+
className
|
|
18929
18946
|
}) {
|
|
18930
18947
|
const [isScrolled, setIsScrolled] = React5.useState(false);
|
|
18931
18948
|
const {
|
|
@@ -18952,10 +18969,11 @@ function Header2({
|
|
|
18952
18969
|
"data-slot": "header",
|
|
18953
18970
|
"data-scrolled": isScrolled,
|
|
18954
18971
|
id: "nsw-header",
|
|
18955
|
-
className:
|
|
18972
|
+
className: clsx13__default.default(
|
|
18956
18973
|
"sticky top-0 z-50 hidden bg-white px-4 py-5 transition duration-500 sm:px-6 lg:flex lg:flex-none lg:flex-wrap lg:items-center lg:justify-between lg:px-12",
|
|
18957
18974
|
!hideShadow && "shadow-md shadow-slate-900/5 dark:shadow-none",
|
|
18958
|
-
isScrolled ? "dark:bg-slate-900/95 dark:backdrop-blur-sm dark:[@supports(backdrop-filter:blur(0))]:bg-slate-900/75" : "dark:bg-transparent"
|
|
18975
|
+
isScrolled ? "dark:bg-slate-900/95 dark:backdrop-blur-sm dark:[@supports(backdrop-filter:blur(0))]:bg-slate-900/75" : "dark:bg-transparent",
|
|
18976
|
+
className
|
|
18959
18977
|
),
|
|
18960
18978
|
children: [
|
|
18961
18979
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex grow basis-0 items-center", children: [
|
|
@@ -19806,7 +19824,7 @@ var LineChart = React5__namespace.default.forwardRef((props, ref) => {
|
|
|
19806
19824
|
});
|
|
19807
19825
|
LineChart.displayName = "LineChart";
|
|
19808
19826
|
function cn2(...inputs) {
|
|
19809
|
-
return tailwindMerge.twMerge(
|
|
19827
|
+
return tailwindMerge.twMerge(clsx13.clsx(inputs));
|
|
19810
19828
|
}
|
|
19811
19829
|
var sizeStyles = {
|
|
19812
19830
|
sm: "text-sm",
|
|
@@ -19868,7 +19886,7 @@ function Listbox2({
|
|
|
19868
19886
|
autoFocus,
|
|
19869
19887
|
"data-slot": "control",
|
|
19870
19888
|
"aria-label": ariaLabel,
|
|
19871
|
-
className:
|
|
19889
|
+
className: clsx13__default.default([
|
|
19872
19890
|
className,
|
|
19873
19891
|
// Basic layout
|
|
19874
19892
|
"group relative block w-full",
|
|
@@ -19892,7 +19910,7 @@ function Listbox2({
|
|
|
19892
19910
|
as: "span",
|
|
19893
19911
|
options,
|
|
19894
19912
|
placeholder: placeholder && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "block truncate text-grey-500", children: placeholder }),
|
|
19895
|
-
className:
|
|
19913
|
+
className: clsx13__default.default([
|
|
19896
19914
|
"cursor-pointer",
|
|
19897
19915
|
// Basic layout
|
|
19898
19916
|
"relative block w-full appearance-none rounded-sm py-[calc(--spacing(4.5)-1px)] sm:py-[calc(--spacing(3.5)-1px)]",
|
|
@@ -19922,7 +19940,7 @@ function Listbox2({
|
|
|
19922
19940
|
{
|
|
19923
19941
|
transition: true,
|
|
19924
19942
|
anchor: "selection start",
|
|
19925
|
-
className:
|
|
19943
|
+
className: clsx13__default.default(
|
|
19926
19944
|
// Anchor positioning
|
|
19927
19945
|
"[--anchor-offset:-1.625rem] [--anchor-padding:--spacing(4)] sm:[--anchor-offset:-1.375rem]",
|
|
19928
19946
|
// Base styles
|
|
@@ -19948,7 +19966,7 @@ function ListboxOption2({
|
|
|
19948
19966
|
className,
|
|
19949
19967
|
...props
|
|
19950
19968
|
}) {
|
|
19951
|
-
const sharedClasses =
|
|
19969
|
+
const sharedClasses = clsx13__default.default(
|
|
19952
19970
|
// Base
|
|
19953
19971
|
"flex min-w-0 items-center",
|
|
19954
19972
|
// Icons
|
|
@@ -19960,12 +19978,12 @@ function ListboxOption2({
|
|
|
19960
19978
|
);
|
|
19961
19979
|
return /* @__PURE__ */ jsxRuntime.jsx(Headless4__namespace.ListboxOption, { as: React5.Fragment, ...props, children: ({ selectedOption }) => {
|
|
19962
19980
|
if (selectedOption) {
|
|
19963
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
19981
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx13__default.default(className, sharedClasses), children });
|
|
19964
19982
|
}
|
|
19965
19983
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19966
19984
|
"div",
|
|
19967
19985
|
{
|
|
19968
|
-
className:
|
|
19986
|
+
className: clsx13__default.default(
|
|
19969
19987
|
// Basic layout
|
|
19970
19988
|
"group/option grid cursor-pointer grid-cols-[--spacing(5)_1fr] items-baseline gap-x-2 rounded-sm py-2.5 pr-3.5 pl-2 sm:grid-cols-[--spacing(4)_1fr] sm:py-1.5 sm:pr-3 sm:pl-1.5",
|
|
19971
19989
|
// Typography
|
|
@@ -19996,7 +20014,7 @@ function ListboxOption2({
|
|
|
19996
20014
|
)
|
|
19997
20015
|
}
|
|
19998
20016
|
),
|
|
19999
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
20017
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx13__default.default(className, sharedClasses, "col-start-2"), children })
|
|
20000
20018
|
]
|
|
20001
20019
|
}
|
|
20002
20020
|
);
|
|
@@ -20007,7 +20025,7 @@ function ListboxLabel({ className, ...props }) {
|
|
|
20007
20025
|
"span",
|
|
20008
20026
|
{
|
|
20009
20027
|
...props,
|
|
20010
|
-
className:
|
|
20028
|
+
className: clsx13__default.default(className, "ml-2.5 truncate first:ml-0 sm:ml-2 sm:first:ml-0")
|
|
20011
20029
|
}
|
|
20012
20030
|
);
|
|
20013
20031
|
}
|
|
@@ -20020,7 +20038,7 @@ function ListboxDescription({
|
|
|
20020
20038
|
"span",
|
|
20021
20039
|
{
|
|
20022
20040
|
...props,
|
|
20023
|
-
className:
|
|
20041
|
+
className: clsx13__default.default(
|
|
20024
20042
|
className,
|
|
20025
20043
|
"flex flex-1 overflow-hidden text-grey-500 group-data-focus/option:text-white before:w-2 before:min-w-0 before:shrink dark:text-grey-400"
|
|
20026
20044
|
),
|
|
@@ -20103,7 +20121,7 @@ function Text({ className, trim = "normal", size = 2, label = false, ...props })
|
|
|
20103
20121
|
{
|
|
20104
20122
|
"data-slot": "text",
|
|
20105
20123
|
...props,
|
|
20106
|
-
className:
|
|
20124
|
+
className: clsx13__default.default(className, trimClasses[trim], "text-grey-800 dark:text-grey-400", sizeClass)
|
|
20107
20125
|
}
|
|
20108
20126
|
);
|
|
20109
20127
|
}
|
|
@@ -20112,7 +20130,7 @@ function TextLink({ className, ...props }) {
|
|
|
20112
20130
|
Link,
|
|
20113
20131
|
{
|
|
20114
20132
|
...props,
|
|
20115
|
-
className:
|
|
20133
|
+
className: clsx13__default.default(
|
|
20116
20134
|
className,
|
|
20117
20135
|
"text-primary-800 underline decoration-primary-800/50 data-hover:decoration-primary-800 dark:text-white dark:decoration-white/50 dark:data-hover:decoration-white"
|
|
20118
20136
|
)
|
|
@@ -20120,7 +20138,7 @@ function TextLink({ className, ...props }) {
|
|
|
20120
20138
|
);
|
|
20121
20139
|
}
|
|
20122
20140
|
function Strong({ className, ...props }) {
|
|
20123
|
-
return /* @__PURE__ */ jsxRuntime.jsx("strong", { ...props, className:
|
|
20141
|
+
return /* @__PURE__ */ jsxRuntime.jsx("strong", { ...props, className: clsx13__default.default(className, "font-medium text-grey-950 dark:text-white") });
|
|
20124
20142
|
}
|
|
20125
20143
|
function Code({ className, ...props }) {
|
|
20126
20144
|
const hasLanguageClass = typeof className === "string" && className.includes("language-");
|
|
@@ -20128,7 +20146,7 @@ function Code({ className, ...props }) {
|
|
|
20128
20146
|
"code",
|
|
20129
20147
|
{
|
|
20130
20148
|
...props,
|
|
20131
|
-
className:
|
|
20149
|
+
className: clsx13__default.default(
|
|
20132
20150
|
className,
|
|
20133
20151
|
!hasLanguageClass && "language-plaintext",
|
|
20134
20152
|
"text-sm sm:text-[0.8125rem]"
|
|
@@ -20699,7 +20717,7 @@ function MultiLevelPushMenu({
|
|
|
20699
20717
|
{
|
|
20700
20718
|
href: item.href,
|
|
20701
20719
|
onClick: (e) => handleItemClick(item, e),
|
|
20702
|
-
className:
|
|
20720
|
+
className: clsx13__default.default(
|
|
20703
20721
|
"relative flex w-full cursor-pointer items-center justify-between gap-x-6 border-l p-4 transition-colors hover:border-primary-800 hover:bg-primary-800/10",
|
|
20704
20722
|
pathname === item.href ? "border-primary-800 bg-primary-800/10 font-semibold text-primary-800" : "border-transparent text-grey-800",
|
|
20705
20723
|
isAnimating && "pointer-events-none"
|
|
@@ -20711,7 +20729,7 @@ function MultiLevelPushMenu({
|
|
|
20711
20729
|
{
|
|
20712
20730
|
onClick: (e) => handleItemClick(item, e),
|
|
20713
20731
|
disabled: isAnimating,
|
|
20714
|
-
className:
|
|
20732
|
+
className: clsx13__default.default(
|
|
20715
20733
|
"relative flex w-full cursor-pointer items-center justify-between gap-x-6 border-l p-4 transition-colors hover:border-primary-800 hover:bg-primary-800/10",
|
|
20716
20734
|
pathname === item.href ? "border-primary-800 bg-primary-800/10 font-semibold text-primary-800" : "border-transparent text-grey-800",
|
|
20717
20735
|
isAnimating && "pointer-events-none"
|
|
@@ -20778,7 +20796,7 @@ function MobileHeader({
|
|
|
20778
20796
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20779
20797
|
"div",
|
|
20780
20798
|
{
|
|
20781
|
-
className:
|
|
20799
|
+
className: clsx13__default.default(
|
|
20782
20800
|
"relative flex w-full items-center py-4",
|
|
20783
20801
|
menu && !search && "justify-start",
|
|
20784
20802
|
search && "justify-between",
|
|
@@ -20794,7 +20812,7 @@ function MobileHeader({
|
|
|
20794
20812
|
{
|
|
20795
20813
|
href: "/",
|
|
20796
20814
|
"aria-label": "Home page",
|
|
20797
|
-
className:
|
|
20815
|
+
className: clsx13__default.default(
|
|
20798
20816
|
"flex items-center",
|
|
20799
20817
|
menu && !search && "justify-start",
|
|
20800
20818
|
search && !menu && "flex-row justify-between",
|
|
@@ -20805,7 +20823,7 @@ function MobileHeader({
|
|
|
20805
20823
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20806
20824
|
"div",
|
|
20807
20825
|
{
|
|
20808
|
-
className:
|
|
20826
|
+
className: clsx13__default.default(
|
|
20809
20827
|
"flex flex-wrap items-center",
|
|
20810
20828
|
menu && !search && "justify-center text-left",
|
|
20811
20829
|
search && !menu && "justify-center text-left",
|
|
@@ -28816,7 +28834,7 @@ var featureBundle = {
|
|
|
28816
28834
|
// node_modules/framer-motion/dist/es/render/components/motion/proxy.mjs
|
|
28817
28835
|
var motion = /* @__PURE__ */ createMotionProxy(featureBundle, createDomVisualElement);
|
|
28818
28836
|
function Navbar({ className, ...props }) {
|
|
28819
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { ...props, className:
|
|
28837
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { ...props, className: clsx13__default.default(className, "flex flex-1 items-center gap-4 py-2.5") });
|
|
28820
28838
|
}
|
|
28821
28839
|
function NavbarDivider({ className, ...props }) {
|
|
28822
28840
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -28824,16 +28842,16 @@ function NavbarDivider({ className, ...props }) {
|
|
|
28824
28842
|
{
|
|
28825
28843
|
"aria-hidden": "true",
|
|
28826
28844
|
...props,
|
|
28827
|
-
className:
|
|
28845
|
+
className: clsx13__default.default(className, "h-6 w-px bg-zinc-950/10 dark:bg-white/10")
|
|
28828
28846
|
}
|
|
28829
28847
|
);
|
|
28830
28848
|
}
|
|
28831
28849
|
function NavbarSection({ className, ...props }) {
|
|
28832
28850
|
const id3 = React5.useId();
|
|
28833
|
-
return /* @__PURE__ */ jsxRuntime.jsx(LayoutGroup, { id: id3, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, className:
|
|
28851
|
+
return /* @__PURE__ */ jsxRuntime.jsx(LayoutGroup, { id: id3, children: /* @__PURE__ */ jsxRuntime.jsx("div", { ...props, className: clsx13__default.default(className, "flex items-center gap-3") }) });
|
|
28834
28852
|
}
|
|
28835
28853
|
function NavbarSpacer({ className, ...props }) {
|
|
28836
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", ...props, className:
|
|
28854
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { "aria-hidden": "true", ...props, className: clsx13__default.default(className, "-ml-4 flex-1") });
|
|
28837
28855
|
}
|
|
28838
28856
|
var NavbarItem = React5.forwardRef(function NavbarItem2({
|
|
28839
28857
|
current,
|
|
@@ -28841,7 +28859,7 @@ var NavbarItem = React5.forwardRef(function NavbarItem2({
|
|
|
28841
28859
|
children,
|
|
28842
28860
|
...props
|
|
28843
28861
|
}, ref) {
|
|
28844
|
-
const classes =
|
|
28862
|
+
const classes = clsx13__default.default(
|
|
28845
28863
|
// Base
|
|
28846
28864
|
"relative flex min-w-0 items-center gap-3 rounded-lg p-2 text-left text-base/6 font-medium text-zinc-950 sm:text-sm/5",
|
|
28847
28865
|
// Leading icon/icon-only
|
|
@@ -28859,7 +28877,7 @@ var NavbarItem = React5.forwardRef(function NavbarItem2({
|
|
|
28859
28877
|
"dark:data-hover:bg-white/5 dark:data-hover:*:data-[slot=icon]:fill-white",
|
|
28860
28878
|
"dark:data-active:bg-white/5 dark:data-active:*:data-[slot=icon]:fill-white"
|
|
28861
28879
|
);
|
|
28862
|
-
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className:
|
|
28880
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: clsx13__default.default(className, "relative"), children: [
|
|
28863
28881
|
current && /* @__PURE__ */ jsxRuntime.jsx(
|
|
28864
28882
|
motion.span,
|
|
28865
28883
|
{
|
|
@@ -28880,7 +28898,7 @@ var NavbarItem = React5.forwardRef(function NavbarItem2({
|
|
|
28880
28898
|
Headless4__namespace.Button,
|
|
28881
28899
|
{
|
|
28882
28900
|
...props,
|
|
28883
|
-
className:
|
|
28901
|
+
className: clsx13__default.default("cursor-default", classes),
|
|
28884
28902
|
"data-current": current ? "true" : void 0,
|
|
28885
28903
|
ref,
|
|
28886
28904
|
children: /* @__PURE__ */ jsxRuntime.jsx(TouchTarget, { children })
|
|
@@ -28889,14 +28907,14 @@ var NavbarItem = React5.forwardRef(function NavbarItem2({
|
|
|
28889
28907
|
] });
|
|
28890
28908
|
});
|
|
28891
28909
|
function NavbarLabel({ className, ...props }) {
|
|
28892
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { ...props, className:
|
|
28910
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { ...props, className: clsx13__default.default(className, "truncate") });
|
|
28893
28911
|
}
|
|
28894
28912
|
function Navigation({
|
|
28895
28913
|
className,
|
|
28896
28914
|
onLinkClick,
|
|
28897
28915
|
navigation
|
|
28898
28916
|
}) {
|
|
28899
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
28917
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: clsx13__default.default("text-base lg:text-sm", className), children: /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", className: "flex flex-col gap-9", children: navigation.map((section, index) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
28900
28918
|
section.links ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "font-display font-medium text-grey-800 dark:text-white", children: section.title }) : /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", className: "mt-2 flex flex-col gap-2 border-l lg:mt-4", children: /* @__PURE__ */ jsxRuntime.jsx("li", { className: "-ml-px flex flex-col items-start gap-2", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
28901
28919
|
NavigationLink,
|
|
28902
28920
|
{
|
|
@@ -28919,7 +28937,7 @@ function NavigationLink({
|
|
|
28919
28937
|
{
|
|
28920
28938
|
href,
|
|
28921
28939
|
onClick,
|
|
28922
|
-
className:
|
|
28940
|
+
className: clsx13__default.default(
|
|
28923
28941
|
"inline-block w-full cursor-pointer rounded-r-sm border-l py-1 pr-2 pl-4 text-left text-base/8 sm:text-sm/6",
|
|
28924
28942
|
"hover:border-grey-950 hover:bg-primary-800/10 hover:font-semibold hover:text-grey-950",
|
|
28925
28943
|
"dark:text-grey-400 dark:hover:border-grey-400 dark:hover:text-white",
|
|
@@ -29095,7 +29113,7 @@ function NotFound() {
|
|
|
29095
29113
|
}
|
|
29096
29114
|
var styles4 = {
|
|
29097
29115
|
base: [
|
|
29098
|
-
"group relative mx-auto flex items-stretch w-full max-w-md flex-col overflow-hidden rounded-
|
|
29116
|
+
"group relative mx-auto flex items-stretch w-full max-w-md flex-col overflow-hidden rounded-[var(--nsw-border-radius)] hover:cursor-pointer",
|
|
29099
29117
|
"bg-(--nsw-card-bg) text-(--nsw-card-text)",
|
|
29100
29118
|
"focus:outline focus:outline-2 focus:outline-offset-2 focus:outline-primary-600",
|
|
29101
29119
|
"transition-colors duration-150 ease-out motion-reduce:transition-none",
|
|
@@ -29107,17 +29125,17 @@ var styles4 = {
|
|
|
29107
29125
|
"",
|
|
29108
29126
|
'data-[has-image=false]:after:content-[""]',
|
|
29109
29127
|
"data-[has-image=false]:after:absolute data-[has-image=false]:after:inset-x-0 data-[has-image=false]:after:top-0 data-[has-image=false]:after:h-1",
|
|
29110
|
-
"data-[has-image=false]:after:pointer-events-none data-[has-image=false]:after:z-10 data-[has-image=false]:after:rounded-t-
|
|
29128
|
+
"data-[has-image=false]:after:pointer-events-none data-[has-image=false]:after:z-10 data-[has-image=false]:after:rounded-t-[inherit]",
|
|
29111
29129
|
"data-[has-image=false]:after:bg-[var(--nsw-card-top-border-base)]",
|
|
29112
29130
|
"data-[has-image=false]:hover:after:bg-[var(--nsw-card-top-border-hover)]"
|
|
29113
29131
|
],
|
|
29114
29132
|
headline: ["", ""],
|
|
29115
29133
|
colors: {
|
|
29116
29134
|
white: [
|
|
29117
|
-
"[--nsw-card-bg:white] [--nsw-card-border:var(--color-grey-200)] [--nsw-card-text:grey-800]
|
|
29135
|
+
"[--nsw-card-bg:white] [--nsw-card-border:var(--color-grey-200)] [--nsw-card-text:grey-800]",
|
|
29118
29136
|
"hover:[--nsw-card-bg:var(--color-primary-800)] hover:[--nsw-card-border:var(--color-primary-800)] hover:[--nsw-card-text:white]",
|
|
29119
29137
|
// Dark mode
|
|
29120
|
-
"dark:[--nsw-card-bg:var(--color-grey-850)] dark:[--nsw-card-border:var(--color-grey-700)] dark:[--nsw-card-text:var(--color-grey-100)]
|
|
29138
|
+
"dark:[--nsw-card-bg:var(--color-grey-850)] dark:[--nsw-card-border:var(--color-grey-700)] dark:[--nsw-card-text:var(--color-grey-100)]",
|
|
29121
29139
|
// Dark mode hover
|
|
29122
29140
|
"dark:hover:[--nsw-card-bg:var(--color-primary-600)] dark:hover:[--nsw-card-border:var(--color-primary-600)] dark:hover:[--nsw-card-text:white]",
|
|
29123
29141
|
// 🔧 top-border color pair for highlight (base + hover)
|
|
@@ -29279,33 +29297,34 @@ NSWCardArrow.displayName = "NSWCardArrow";
|
|
|
29279
29297
|
function NSWCardImg({
|
|
29280
29298
|
imgSrc,
|
|
29281
29299
|
imgAlt,
|
|
29300
|
+
border = false,
|
|
29301
|
+
highlight = false,
|
|
29282
29302
|
className,
|
|
29283
29303
|
...props
|
|
29284
29304
|
}) {
|
|
29285
|
-
return /* @__PURE__ */ jsxRuntime.
|
|
29286
|
-
|
|
29287
|
-
|
|
29288
|
-
|
|
29289
|
-
|
|
29290
|
-
|
|
29291
|
-
|
|
29292
|
-
|
|
29293
|
-
|
|
29294
|
-
|
|
29295
|
-
|
|
29296
|
-
|
|
29297
|
-
|
|
29298
|
-
|
|
29299
|
-
|
|
29300
|
-
|
|
29301
|
-
"
|
|
29302
|
-
|
|
29303
|
-
|
|
29304
|
-
|
|
29305
|
-
|
|
29306
|
-
|
|
29307
|
-
|
|
29308
|
-
] });
|
|
29305
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29306
|
+
"div",
|
|
29307
|
+
{
|
|
29308
|
+
className: cn(
|
|
29309
|
+
"relative w-full",
|
|
29310
|
+
border && !highlight && "after:pointer-events-none after:absolute after:inset-0 after:rounded-[var(--nsw-border-radius)] after:rounded-b-none after:shadow-[inset_0_1px_0_var(--nsw-card-border),inset_1px_0_0_var(--nsw-card-border),inset_-1px_0_0_var(--nsw-card-border)] after:content-['']",
|
|
29311
|
+
!border && highlight && "after:pointer-events-none after:absolute after:inset-x-0 after:bottom-0 after:h-1 after:bg-[var(--nsw-card-top-border-base)] after:content-[''] group-hover:after:bg-[var(--nsw-card-top-border-hover)]",
|
|
29312
|
+
border && highlight && "shadow-[-1px_0_0_0_var(--nsw-card-border),1px_0_0_0_var(--nsw-card-border),0_-1px_0_0_var(--nsw-card-border),0_4px_0_0_var(--nsw-card-top-border-base)] group-hover:shadow-[-1px_0_0_0_var(--nsw-card-border),1px_0_0_0_var(--nsw-card-border),0_-1px_0_0_var(--nsw-card-border),0_4px_0_0_var(--nsw-card-top-border-hover)]",
|
|
29313
|
+
className
|
|
29314
|
+
),
|
|
29315
|
+
...props,
|
|
29316
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
29317
|
+
Image2__default.default,
|
|
29318
|
+
{
|
|
29319
|
+
alt: imgAlt,
|
|
29320
|
+
src: imgSrc,
|
|
29321
|
+
className: "aspect-video w-full object-cover sm:aspect-2/1 lg:aspect-3/2",
|
|
29322
|
+
width: 400,
|
|
29323
|
+
height: 300
|
|
29324
|
+
}
|
|
29325
|
+
)
|
|
29326
|
+
}
|
|
29327
|
+
);
|
|
29309
29328
|
}
|
|
29310
29329
|
NSWCardImg.displayName = "NSWCardImg";
|
|
29311
29330
|
function NSWCardIcon({
|
|
@@ -29327,6 +29346,7 @@ NSWCardIcon.displayName = "NSWCardIcon";
|
|
|
29327
29346
|
function NSWCard({
|
|
29328
29347
|
children,
|
|
29329
29348
|
topBorder = "var(--color-accent-600)",
|
|
29349
|
+
border = false,
|
|
29330
29350
|
className,
|
|
29331
29351
|
variant,
|
|
29332
29352
|
color: color2,
|
|
@@ -29338,9 +29358,14 @@ function NSWCard({
|
|
|
29338
29358
|
const isCardImg = (child) => React5__namespace.isValidElement(child) && (child.type === NSWCardImg || typeof child.type === "function" && child.type.displayName === "NSWCardImg");
|
|
29339
29359
|
const all = React5__namespace.Children.toArray(children);
|
|
29340
29360
|
const imageChildren = all.filter(isCardImg).map(
|
|
29341
|
-
(child) => React5__namespace.isValidElement(child) ? React5__namespace.cloneElement(
|
|
29342
|
-
|
|
29343
|
-
|
|
29361
|
+
(child) => React5__namespace.isValidElement(child) ? React5__namespace.cloneElement(
|
|
29362
|
+
child,
|
|
29363
|
+
{
|
|
29364
|
+
border,
|
|
29365
|
+
highlight: isHighlight,
|
|
29366
|
+
className: cn(child.props?.className)
|
|
29367
|
+
}
|
|
29368
|
+
) : child
|
|
29344
29369
|
);
|
|
29345
29370
|
const bodyChildren = all.filter((c) => !isCardImg(c));
|
|
29346
29371
|
const hasImage = imageChildren.length > 0;
|
|
@@ -29352,6 +29377,7 @@ function NSWCard({
|
|
|
29352
29377
|
"data-color": color2,
|
|
29353
29378
|
"data-size": size,
|
|
29354
29379
|
"data-has-image": hasImage ? "true" : "false",
|
|
29380
|
+
"data-border": border ? "true" : "false",
|
|
29355
29381
|
style: isHighlight && topBorder ? { ["--nsw-card-top-border-base"]: topBorder } : void 0,
|
|
29356
29382
|
className: classes,
|
|
29357
29383
|
...props,
|
|
@@ -29361,7 +29387,7 @@ function NSWCard({
|
|
|
29361
29387
|
"div",
|
|
29362
29388
|
{
|
|
29363
29389
|
className: cn(
|
|
29364
|
-
"h-full rounded-
|
|
29390
|
+
"h-full rounded-[inherit] border border-(--nsw-card-border)",
|
|
29365
29391
|
hasImage && "border-t-none rounded-t-none"
|
|
29366
29392
|
),
|
|
29367
29393
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-full flex-col p-8", children: bodyChildren })
|
|
@@ -29373,7 +29399,7 @@ function NSWCard({
|
|
|
29373
29399
|
"div",
|
|
29374
29400
|
{
|
|
29375
29401
|
className: cn(
|
|
29376
|
-
"flex h-full flex-col rounded-
|
|
29402
|
+
"flex h-full flex-col rounded-[inherit] border border-(--nsw-card-border) p-8",
|
|
29377
29403
|
hasImage && "border-t-none rounded-t-none"
|
|
29378
29404
|
),
|
|
29379
29405
|
children: bodyChildren
|
|
@@ -29392,7 +29418,7 @@ function Wrapper({
|
|
|
29392
29418
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29393
29419
|
"div",
|
|
29394
29420
|
{
|
|
29395
|
-
className:
|
|
29421
|
+
className: clsx13__default.default("max-w-8xl mx-auto space-y-8 px-4 py-6 sm:px-6 lg:px-12", className),
|
|
29396
29422
|
...props,
|
|
29397
29423
|
children
|
|
29398
29424
|
}
|
|
@@ -29406,7 +29432,7 @@ function PageHeading({
|
|
|
29406
29432
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29407
29433
|
"header",
|
|
29408
29434
|
{
|
|
29409
|
-
className:
|
|
29435
|
+
className: clsx13__default.default(
|
|
29410
29436
|
"border-b border-grey-300 bg-white dark:border-grey-700 dark:bg-grey-900",
|
|
29411
29437
|
className
|
|
29412
29438
|
),
|
|
@@ -29433,7 +29459,7 @@ function Pagination({
|
|
|
29433
29459
|
children,
|
|
29434
29460
|
...props
|
|
29435
29461
|
}) {
|
|
29436
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": ariaLabel, className:
|
|
29462
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { "aria-label": ariaLabel, className: clsx13__default.default(containerStyles[variant], className), ...props, children: /* @__PURE__ */ jsxRuntime.jsx(PaginationVariantContext.Provider, { value: variant, children }) });
|
|
29437
29463
|
}
|
|
29438
29464
|
function PaginationPrevious({ href = null, className, children = "Previous" }) {
|
|
29439
29465
|
const variant = React5__namespace.useContext(PaginationVariantContext);
|
|
@@ -29456,7 +29482,7 @@ function PaginationPrevious({ href = null, className, children = "Previous" }) {
|
|
|
29456
29482
|
}
|
|
29457
29483
|
) });
|
|
29458
29484
|
}
|
|
29459
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
29485
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx13__default.default(className, "grow basis-0"), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29460
29486
|
Button2,
|
|
29461
29487
|
{
|
|
29462
29488
|
...href === null ? { disabled: true } : { href },
|
|
@@ -29490,7 +29516,7 @@ function PaginationNext({ href = null, className, children = "Next" }) {
|
|
|
29490
29516
|
}
|
|
29491
29517
|
) });
|
|
29492
29518
|
}
|
|
29493
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
29519
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx13__default.default(className, "flex grow basis-0 justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29494
29520
|
Button2,
|
|
29495
29521
|
{
|
|
29496
29522
|
...href === null ? { disabled: true } : { href },
|
|
@@ -29506,9 +29532,9 @@ function PaginationNext({ href = null, className, children = "Next" }) {
|
|
|
29506
29532
|
function PaginationList({ className, ...props }) {
|
|
29507
29533
|
const variant = React5__namespace.useContext(PaginationVariantContext);
|
|
29508
29534
|
if (variant === "line") {
|
|
29509
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className:
|
|
29535
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx13__default.default(listStyles.line, className), ...props });
|
|
29510
29536
|
}
|
|
29511
|
-
return /* @__PURE__ */ jsxRuntime.jsx("span", { className:
|
|
29537
|
+
return /* @__PURE__ */ jsxRuntime.jsx("span", { className: clsx13__default.default(listStyles.default, className), ...props });
|
|
29512
29538
|
}
|
|
29513
29539
|
function PaginationPage({
|
|
29514
29540
|
href,
|
|
@@ -29540,7 +29566,7 @@ function PaginationPage({
|
|
|
29540
29566
|
"aria-current": current ? "page" : void 0,
|
|
29541
29567
|
variant: current ? "solid" : "ghost",
|
|
29542
29568
|
color: current ? "accent" : "light",
|
|
29543
|
-
className:
|
|
29569
|
+
className: clsx13__default.default(
|
|
29544
29570
|
className,
|
|
29545
29571
|
"leading-none before:absolute before:-inset-px before:rounded-sm",
|
|
29546
29572
|
"min-h-8 min-w-8 sm:px-[calc(--spacing(4))] sm:py-[calc(--spacing(3))]",
|
|
@@ -29561,7 +29587,7 @@ function PaginationGap({
|
|
|
29561
29587
|
"span",
|
|
29562
29588
|
{
|
|
29563
29589
|
"aria-hidden": "true",
|
|
29564
|
-
className:
|
|
29590
|
+
className: clsx13__default.default(
|
|
29565
29591
|
"inline-flex items-center border-t-2 border-transparent px-4 pt-4 text-sm font-medium text-grey-800 select-none",
|
|
29566
29592
|
className
|
|
29567
29593
|
),
|
|
@@ -29575,7 +29601,7 @@ function PaginationGap({
|
|
|
29575
29601
|
{
|
|
29576
29602
|
"aria-hidden": "true",
|
|
29577
29603
|
...props,
|
|
29578
|
-
className:
|
|
29604
|
+
className: clsx13__default.default(
|
|
29579
29605
|
className,
|
|
29580
29606
|
"w-9 text-center text-sm/6 font-semibold text-grey-950 select-none dark:text-white"
|
|
29581
29607
|
),
|
|
@@ -29595,7 +29621,7 @@ function PrevNextLinksPageLink({
|
|
|
29595
29621
|
Link13__default.default,
|
|
29596
29622
|
{
|
|
29597
29623
|
href,
|
|
29598
|
-
className:
|
|
29624
|
+
className: clsx13__default.default(
|
|
29599
29625
|
"flex items-center gap-x-1 text-base font-semibold text-slate-500 hover:text-slate-600 dark:text-slate-400 dark:hover:text-slate-300",
|
|
29600
29626
|
dir === "previous" && "flex-row-reverse"
|
|
29601
29627
|
),
|
|
@@ -29604,7 +29630,7 @@ function PrevNextLinksPageLink({
|
|
|
29604
29630
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29605
29631
|
Icons.east,
|
|
29606
29632
|
{
|
|
29607
|
-
className:
|
|
29633
|
+
className: clsx13__default.default("size-5 flex-none fill-current", dir === "previous" && "-scale-x-100")
|
|
29608
29634
|
}
|
|
29609
29635
|
)
|
|
29610
29636
|
]
|
|
@@ -29878,7 +29904,7 @@ function Prose({
|
|
|
29878
29904
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
29879
29905
|
Component2,
|
|
29880
29906
|
{
|
|
29881
|
-
className:
|
|
29907
|
+
className: clsx13__default.default(
|
|
29882
29908
|
className,
|
|
29883
29909
|
"prose max-w-none dark:!prose-invert",
|
|
29884
29910
|
// headings
|
|
@@ -30650,7 +30676,7 @@ function SidebarNavigation({
|
|
|
30650
30676
|
navigation: navigation$1
|
|
30651
30677
|
}) {
|
|
30652
30678
|
const pathname = navigation.usePathname();
|
|
30653
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
30679
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: clsx13__default.default("text-base lg:text-sm", className), children: /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", className: "flex flex-col gap-9", children: navigation$1.map((section, sectionIndex) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
30654
30680
|
section.links ? /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "font-display font-medium text-foreground dark:text-white", children: section.title }) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
30655
30681
|
"ul",
|
|
30656
30682
|
{
|
|
@@ -30685,7 +30711,7 @@ function SidebarLink({ link, pathname, onLinkClick, depth }) {
|
|
|
30685
30711
|
const hasChildren = Array.isArray(link.links) && link.links.length > 0;
|
|
30686
30712
|
const isActive = pathname === link.href;
|
|
30687
30713
|
const isActiveOrHasActiveDescendant = isLinkOrDescendantActive(link, pathname);
|
|
30688
|
-
const baseLinkClasses =
|
|
30714
|
+
const baseLinkClasses = clsx13__default.default(
|
|
30689
30715
|
"w-full cursor-pointer rounded-r-sm border-l py-1 pr-2 pl-4 text-left text-base/8 sm:text-sm/6",
|
|
30690
30716
|
"hover:border-grey-950 hover:bg-primary-800/10 hover:font-semibold hover:text-grey-950",
|
|
30691
30717
|
"dark:text-grey-400 dark:hover:border-grey-400 dark:hover:text-white",
|
|
@@ -30695,13 +30721,13 @@ function SidebarLink({ link, pathname, onLinkClick, depth }) {
|
|
|
30695
30721
|
/* @__PURE__ */ jsxRuntime.jsx(CollapsibleTrigger2, { asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30696
30722
|
"button",
|
|
30697
30723
|
{
|
|
30698
|
-
className:
|
|
30724
|
+
className: clsx13__default.default(baseLinkClasses, "group flex items-center justify-between gap-1"),
|
|
30699
30725
|
children: [
|
|
30700
30726
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: link.title }),
|
|
30701
30727
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30702
30728
|
Icons.chevron_right,
|
|
30703
30729
|
{
|
|
30704
|
-
className:
|
|
30730
|
+
className: clsx13__default.default(
|
|
30705
30731
|
"ml-2 size-5 transition-transform duration-200",
|
|
30706
30732
|
"group-data-[state=open]:rotate-90"
|
|
30707
30733
|
)
|
|
@@ -30710,7 +30736,7 @@ function SidebarLink({ link, pathname, onLinkClick, depth }) {
|
|
|
30710
30736
|
]
|
|
30711
30737
|
}
|
|
30712
30738
|
) }),
|
|
30713
|
-
/* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className:
|
|
30739
|
+
/* @__PURE__ */ jsxRuntime.jsx(CollapsibleContent2, { children: /* @__PURE__ */ jsxRuntime.jsx("ul", { className: clsx13__default.default("mt-2 ml-5 flex flex-col gap-1 border-l pl-0"), children: link.links && link.links.map((childLink) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
30714
30740
|
SidebarLink,
|
|
30715
30741
|
{
|
|
30716
30742
|
link: childLink,
|
|
@@ -31039,7 +31065,7 @@ var StepIndicator = React5__namespace.forwardRef(
|
|
|
31039
31065
|
return /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", ref, className: cn("w-full", className), ...props, children: array.map((step, stepIdx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31040
31066
|
"li",
|
|
31041
31067
|
{
|
|
31042
|
-
className:
|
|
31068
|
+
className: clsx13__default.default(stepIdx !== array.length - 1 ? "pb-3" : "", "relative"),
|
|
31043
31069
|
children: step.href === pathname && !(step.status === "completed" || step.status === "error" || step.status === "saved" || step.status === "cannot-start") ? /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: step.status === "in-progress" ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
31044
31070
|
stepIdx !== array.length - 1 ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
31045
31071
|
"div",
|
|
@@ -31285,7 +31311,7 @@ function StepNavigation({
|
|
|
31285
31311
|
})),
|
|
31286
31312
|
[navigation, formStatus, getStatus]
|
|
31287
31313
|
);
|
|
31288
|
-
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className:
|
|
31314
|
+
return /* @__PURE__ */ jsxRuntime.jsx("nav", { className: clsx13__default.default("text-base lg:text-sm", className), children: /* @__PURE__ */ jsxRuntime.jsx("ul", { role: "list", className: "space-y-9", children: navigationWithStatus.map((section) => /* @__PURE__ */ jsxRuntime.jsxs("li", { children: [
|
|
31289
31315
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "font-display font-medium text-slate-900 dark:text-white", children: section.title }),
|
|
31290
31316
|
/* @__PURE__ */ jsxRuntime.jsx(StepIndicator, { className: "mt-2 lg:mt-4", array: section.links })
|
|
31291
31317
|
] }, section.title)) }) });
|
|
@@ -31313,7 +31339,7 @@ function SwitchGroup({ className, ...props }) {
|
|
|
31313
31339
|
{
|
|
31314
31340
|
"data-slot": "control",
|
|
31315
31341
|
...props,
|
|
31316
|
-
className:
|
|
31342
|
+
className: clsx13__default.default(
|
|
31317
31343
|
className,
|
|
31318
31344
|
// Basic groups
|
|
31319
31345
|
"space-y-3 **:data-[slot=label]:font-normal",
|
|
@@ -31332,7 +31358,7 @@ function SwitchField({
|
|
|
31332
31358
|
{
|
|
31333
31359
|
"data-slot": "field",
|
|
31334
31360
|
...props,
|
|
31335
|
-
className:
|
|
31361
|
+
className: clsx13__default.default(
|
|
31336
31362
|
className,
|
|
31337
31363
|
// Base layout
|
|
31338
31364
|
"grid grid-cols-[1fr_auto] gap-x-8 gap-y-1 sm:grid-cols-[1fr_auto]",
|
|
@@ -31396,7 +31422,7 @@ function Switch2({
|
|
|
31396
31422
|
{
|
|
31397
31423
|
"data-slot": "control",
|
|
31398
31424
|
...props,
|
|
31399
|
-
className:
|
|
31425
|
+
className: clsx13__default.default(
|
|
31400
31426
|
className,
|
|
31401
31427
|
// Base styles
|
|
31402
31428
|
"group relative isolate inline-flex h-6 w-10 cursor-default rounded-full p-[3px] sm:h-5 sm:w-8",
|
|
@@ -31423,7 +31449,7 @@ function Switch2({
|
|
|
31423
31449
|
"span",
|
|
31424
31450
|
{
|
|
31425
31451
|
"aria-hidden": "true",
|
|
31426
|
-
className:
|
|
31452
|
+
className: clsx13__default.default(
|
|
31427
31453
|
// Basic layout
|
|
31428
31454
|
"pointer-events-none relative inline-block size-4.5 rounded-full sm:size-3.5",
|
|
31429
31455
|
// Transition
|
|
@@ -31532,7 +31558,7 @@ function TableOfContents({ tableOfContents }) {
|
|
|
31532
31558
|
"ol",
|
|
31533
31559
|
{
|
|
31534
31560
|
role: "list",
|
|
31535
|
-
className:
|
|
31561
|
+
className: clsx13__default.default(
|
|
31536
31562
|
"mt-3 flex flex-col gap-2",
|
|
31537
31563
|
"border-l border-grey-900/10 dark:border-white/10",
|
|
31538
31564
|
"text-sm/6 text-grey-700 dark:text-grey-400"
|
|
@@ -31543,7 +31569,7 @@ function TableOfContents({ tableOfContents }) {
|
|
|
31543
31569
|
{
|
|
31544
31570
|
href: `#${section.id}`,
|
|
31545
31571
|
prefetch: false,
|
|
31546
|
-
className:
|
|
31572
|
+
className: clsx13__default.default(
|
|
31547
31573
|
"-ml-px inline-block border-l pl-4",
|
|
31548
31574
|
"hover:border-primary-800 dark:hover:border-white",
|
|
31549
31575
|
isActive(section) ? "border-primary-800 font-semibold text-primary-800 dark:border-white dark:text-white" : "border-transparent"
|
|
@@ -31556,7 +31582,7 @@ function TableOfContents({ tableOfContents }) {
|
|
|
31556
31582
|
{
|
|
31557
31583
|
href: `#${subSection.id}`,
|
|
31558
31584
|
prefetch: false,
|
|
31559
|
-
className:
|
|
31585
|
+
className: clsx13__default.default(
|
|
31560
31586
|
"-ml-px inline-block border-l pl-8",
|
|
31561
31587
|
"hover:border-primary-800 dark:hover:border-white",
|
|
31562
31588
|
isActive(subSection) ? "border-primary-800 font-semibold text-primary-800 dark:border-white dark:text-white" : "border-transparent"
|