@nswds/app 1.24.1 → 1.25.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/index.js CHANGED
@@ -7313,7 +7313,7 @@ function Heading({
7313
7313
 
7314
7314
  // package.json
7315
7315
  var package_default = {
7316
- version: "1.23.4"};
7316
+ version: "1.24.0"};
7317
7317
  function Logo(props) {
7318
7318
  return /* @__PURE__ */ jsxs(Fragment, { children: [
7319
7319
  /* @__PURE__ */ jsx("span", { className: "sr-only", children: "NSW Government" }),
@@ -7499,7 +7499,7 @@ function Input({ className, type, ...props }) {
7499
7499
  // Base styles
7500
7500
  "border-nsw-grey-200 flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none md:text-sm",
7501
7501
  // Selection styles
7502
- "selection:bg-primary selection:text-primary-foreground",
7502
+ "selection:bg-primary-800 selection:text-primary-foreground",
7503
7503
  // Placeholder styles
7504
7504
  "placeholder:text-muted-foreground",
7505
7505
  // File input styles
@@ -7567,7 +7567,7 @@ ListItem.displayName = "List.Item";
7567
7567
  var _List = List2;
7568
7568
  _List.Item = ListItem;
7569
7569
  function Masthead() {
7570
- return /* @__PURE__ */ jsx("div", { className: "bg-primary h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
7570
+ return /* @__PURE__ */ jsx("div", { className: "bg-primary-800 h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
7571
7571
  }
7572
7572
  function Menubar({ className, ...props }) {
7573
7573
  return /* @__PURE__ */ jsx(
@@ -8091,13 +8091,16 @@ function Progress({
8091
8091
  ProgressPrimitive.Root,
8092
8092
  {
8093
8093
  "data-slot": "progress",
8094
- className: cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full", className),
8094
+ className: cn(
8095
+ "bg-primary-800/20 relative h-2 w-full overflow-hidden rounded-full",
8096
+ className
8097
+ ),
8095
8098
  ...props,
8096
8099
  children: /* @__PURE__ */ jsx(
8097
8100
  ProgressPrimitive.Indicator,
8098
8101
  {
8099
8102
  "data-slot": "progress-indicator",
8100
- className: "bg-primary h-full w-full flex-1 transition-all",
8103
+ className: "bg-primary-800 h-full w-full flex-1 transition-all",
8101
8104
  style: { transform: `translateX(-${100 - (value || 0)}%)` }
8102
8105
  }
8103
8106
  )
@@ -8418,7 +8421,7 @@ function Slider({
8418
8421
  {
8419
8422
  "data-slot": "slider-range",
8420
8423
  className: cn(
8421
- "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
8424
+ "bg-primary-800 absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
8422
8425
  )
8423
8426
  }
8424
8427
  )
@@ -8498,7 +8501,7 @@ function Switch({ className, ...props }) {
8498
8501
  {
8499
8502
  "data-slot": "switch",
8500
8503
  className: cn(
8501
- "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
8504
+ "peer data-[state=checked]:bg-primary-800 data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 dark:data-[state=unchecked]:bg-input/80 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
8502
8505
  className
8503
8506
  ),
8504
8507
  ...props,