@nswds/app 1.126.0 → 1.126.2
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 +4 -0
- package/dist/index.cjs +16 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4512 -4513
- package/dist/index.d.ts +4512 -4513
- package/dist/index.js +16 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +4 -0
- package/dist/styles.css.map +1 -1
- package/package.json +23 -16
package/dist/index.js
CHANGED
|
@@ -12184,7 +12184,7 @@ var ComboChart = React5__default.forwardRef((props, forwardedRef) => {
|
|
|
12184
12184
|
/* @__PURE__ */ jsx(
|
|
12185
12185
|
YAxis,
|
|
12186
12186
|
{
|
|
12187
|
-
yAxisId: enableBiaxial ? "left" :
|
|
12187
|
+
yAxisId: enableBiaxial ? "left" : 0,
|
|
12188
12188
|
width: mergedBarSeries.yAxisWidth,
|
|
12189
12189
|
hide: !mergedBarSeries.showYAxis,
|
|
12190
12190
|
axisLine: false,
|
|
@@ -12316,7 +12316,7 @@ var ComboChart = React5__default.forwardRef((props, forwardedRef) => {
|
|
|
12316
12316
|
mergedBarSeries.categories.map((category) => /* @__PURE__ */ jsx(
|
|
12317
12317
|
Bar,
|
|
12318
12318
|
{
|
|
12319
|
-
yAxisId: enableBiaxial ? "left" :
|
|
12319
|
+
yAxisId: enableBiaxial ? "left" : 0,
|
|
12320
12320
|
className: cn(
|
|
12321
12321
|
getColorClassName(
|
|
12322
12322
|
barCategoryColors.get(category),
|
|
@@ -12338,7 +12338,7 @@ var ComboChart = React5__default.forwardRef((props, forwardedRef) => {
|
|
|
12338
12338
|
onValueChange ? mergedLineSeries.categories.map((category) => /* @__PURE__ */ jsx(
|
|
12339
12339
|
Line,
|
|
12340
12340
|
{
|
|
12341
|
-
yAxisId: enableBiaxial ? "right" :
|
|
12341
|
+
yAxisId: enableBiaxial ? "right" : 0,
|
|
12342
12342
|
className: cn("cursor-pointer"),
|
|
12343
12343
|
strokeOpacity: 0,
|
|
12344
12344
|
name: category,
|
|
@@ -12361,7 +12361,7 @@ var ComboChart = React5__default.forwardRef((props, forwardedRef) => {
|
|
|
12361
12361
|
mergedLineSeries.categories.map((category) => /* @__PURE__ */ jsx(
|
|
12362
12362
|
Line,
|
|
12363
12363
|
{
|
|
12364
|
-
yAxisId: enableBiaxial ? "right" :
|
|
12364
|
+
yAxisId: enableBiaxial ? "right" : 0,
|
|
12365
12365
|
className: cn(
|
|
12366
12366
|
getColorClassName(
|
|
12367
12367
|
lineCategoryColors.get(category),
|
|
@@ -14439,7 +14439,7 @@ function FormatToggle({ format, setFormat }) {
|
|
|
14439
14439
|
|
|
14440
14440
|
// package.json
|
|
14441
14441
|
var package_default = {
|
|
14442
|
-
version: "1.
|
|
14442
|
+
version: "1.126.1"};
|
|
14443
14443
|
var SluggerContext = React5__default.createContext(null);
|
|
14444
14444
|
function flattenText(nodes) {
|
|
14445
14445
|
if (nodes == null || typeof nodes === "boolean") return "";
|
|
@@ -23676,7 +23676,7 @@ var useSVGVisualState = /* @__PURE__ */ makeUseVisualState({
|
|
|
23676
23676
|
});
|
|
23677
23677
|
|
|
23678
23678
|
// node_modules/framer-motion/dist/es/motion/utils/symbol.mjs
|
|
23679
|
-
var motionComponentSymbol = Symbol.for("motionComponentSymbol");
|
|
23679
|
+
var motionComponentSymbol = /* @__PURE__ */ Symbol.for("motionComponentSymbol");
|
|
23680
23680
|
function useMotionRef(visualState, visualElement, externalRef) {
|
|
23681
23681
|
const externalRefContainer = useRef(externalRef);
|
|
23682
23682
|
useInsertionEffect(() => {
|
|
@@ -26135,7 +26135,7 @@ function NSWCard({
|
|
|
26135
26135
|
{
|
|
26136
26136
|
className: cn(
|
|
26137
26137
|
"h-full rounded-[inherit] border border-(--nsw-card-border)",
|
|
26138
|
-
hasImage && "border-t-
|
|
26138
|
+
hasImage && "border-t-0 rounded-t-none"
|
|
26139
26139
|
),
|
|
26140
26140
|
children: /* @__PURE__ */ jsx("div", { className: "flex h-full flex-col p-8", children: bodyChildren })
|
|
26141
26141
|
}
|
|
@@ -26147,7 +26147,7 @@ function NSWCard({
|
|
|
26147
26147
|
{
|
|
26148
26148
|
className: cn(
|
|
26149
26149
|
"flex h-full flex-col rounded-[inherit] border border-(--nsw-card-border) p-8",
|
|
26150
|
-
hasImage && "border-t-
|
|
26150
|
+
hasImage && "border-t-0 rounded-t-none"
|
|
26151
26151
|
),
|
|
26152
26152
|
children: bodyChildren
|
|
26153
26153
|
}
|
|
@@ -31297,14 +31297,20 @@ var getStatusBadge = (status) => {
|
|
|
31297
31297
|
const labels = {
|
|
31298
31298
|
"input-streaming": "Pending",
|
|
31299
31299
|
"input-available": "Running",
|
|
31300
|
+
"approval-requested": "Awaiting approval",
|
|
31301
|
+
"approval-responded": "Approval response received",
|
|
31300
31302
|
"output-available": "Completed",
|
|
31301
|
-
"output-error": "Error"
|
|
31303
|
+
"output-error": "Error",
|
|
31304
|
+
"output-denied": "Denied"
|
|
31302
31305
|
};
|
|
31303
31306
|
const icons = {
|
|
31304
31307
|
"input-streaming": /* @__PURE__ */ jsx(CircleIcon, { className: "size-4" }),
|
|
31305
31308
|
"input-available": /* @__PURE__ */ jsx(ClockIcon, { className: "size-4 animate-pulse" }),
|
|
31309
|
+
"approval-requested": /* @__PURE__ */ jsx(ClockIcon, { className: "size-4 animate-pulse" }),
|
|
31310
|
+
"approval-responded": /* @__PURE__ */ jsx(CircleIcon, { className: "size-4" }),
|
|
31306
31311
|
"output-available": /* @__PURE__ */ jsx(Icons.check_circle, { className: "size-4 text-green-600" }),
|
|
31307
|
-
"output-error": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" })
|
|
31312
|
+
"output-error": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" }),
|
|
31313
|
+
"output-denied": /* @__PURE__ */ jsx(XCircleIcon, { className: "size-4 text-red-600" })
|
|
31308
31314
|
};
|
|
31309
31315
|
return /* @__PURE__ */ jsxs(Badge2, { className: "gap-1.5 rounded-full text-xs", variant: "secondary", children: [
|
|
31310
31316
|
icons[status],
|