@nswds/app 1.24.0 → 1.25.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/dist/globals.css +15 -0
- package/dist/index.cjs +10 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -7
- package/dist/index.js.map +1 -1
- package/dist/styles.css +18 -0
- package/dist/styles.css.map +1 -1
- package/package.json +2 -2
package/dist/globals.css
CHANGED
|
@@ -2610,6 +2610,14 @@
|
|
|
2610
2610
|
opacity: 50%;
|
|
2611
2611
|
}
|
|
2612
2612
|
}
|
|
2613
|
+
.selection\:bg-primary-800 {
|
|
2614
|
+
& *::selection {
|
|
2615
|
+
background-color: oklch(0.2899986864508513 0.11729574451023282 259.841936589881);
|
|
2616
|
+
}
|
|
2617
|
+
&::selection {
|
|
2618
|
+
background-color: oklch(0.2899986864508513 0.11729574451023282 259.841936589881);
|
|
2619
|
+
}
|
|
2620
|
+
}
|
|
2613
2621
|
.file\:inline-flex {
|
|
2614
2622
|
&::file-selector-button {
|
|
2615
2623
|
display: inline-flex;
|
|
@@ -2992,6 +3000,13 @@
|
|
|
2992
3000
|
}
|
|
2993
3001
|
}
|
|
2994
3002
|
}
|
|
3003
|
+
.hover\:bg-primary-800\/90 {
|
|
3004
|
+
&:hover {
|
|
3005
|
+
@media (hover: hover) {
|
|
3006
|
+
background-color: color-mix(in oklab, oklch(0.2899986864508513 0.11729574451023282 259.841936589881) 90%, transparent);
|
|
3007
|
+
}
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
2995
3010
|
.hover\:bg-purple-100 {
|
|
2996
3011
|
&:hover {
|
|
2997
3012
|
@media (hover: hover) {
|
package/dist/index.cjs
CHANGED
|
@@ -7365,7 +7365,7 @@ function Heading({
|
|
|
7365
7365
|
|
|
7366
7366
|
// package.json
|
|
7367
7367
|
var package_default = {
|
|
7368
|
-
version: "1.
|
|
7368
|
+
version: "1.24.0"};
|
|
7369
7369
|
function Logo(props) {
|
|
7370
7370
|
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7371
7371
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "sr-only", children: "NSW Government" }),
|
|
@@ -7551,7 +7551,7 @@ function Input({ className, type, ...props }) {
|
|
|
7551
7551
|
// Base styles
|
|
7552
7552
|
"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",
|
|
7553
7553
|
// Selection styles
|
|
7554
|
-
"selection:bg-primary selection:text-primary-foreground",
|
|
7554
|
+
"selection:bg-primary-800 selection:text-primary-foreground",
|
|
7555
7555
|
// Placeholder styles
|
|
7556
7556
|
"placeholder:text-muted-foreground",
|
|
7557
7557
|
// File input styles
|
|
@@ -7619,7 +7619,7 @@ ListItem.displayName = "List.Item";
|
|
|
7619
7619
|
var _List = List2;
|
|
7620
7620
|
_List.Item = ListItem;
|
|
7621
7621
|
function Masthead() {
|
|
7622
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-primary h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
|
|
7622
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-primary-800 h-[var(--masthead-height)] w-full", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mx-auto flex w-full items-center justify-between px-4 py-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-x-12", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs text-white", children: "A NSW Government website" }) }) }) });
|
|
7623
7623
|
}
|
|
7624
7624
|
function Menubar({ className, ...props }) {
|
|
7625
7625
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -8143,13 +8143,16 @@ function Progress({
|
|
|
8143
8143
|
ProgressPrimitive__namespace.Root,
|
|
8144
8144
|
{
|
|
8145
8145
|
"data-slot": "progress",
|
|
8146
|
-
className: cn(
|
|
8146
|
+
className: cn(
|
|
8147
|
+
"bg-primary-800/20 relative h-2 w-full overflow-hidden rounded-full",
|
|
8148
|
+
className
|
|
8149
|
+
),
|
|
8147
8150
|
...props,
|
|
8148
8151
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
8149
8152
|
ProgressPrimitive__namespace.Indicator,
|
|
8150
8153
|
{
|
|
8151
8154
|
"data-slot": "progress-indicator",
|
|
8152
|
-
className: "bg-primary h-full w-full flex-1 transition-all",
|
|
8155
|
+
className: "bg-primary-800 h-full w-full flex-1 transition-all",
|
|
8153
8156
|
style: { transform: `translateX(-${100 - (value || 0)}%)` }
|
|
8154
8157
|
}
|
|
8155
8158
|
)
|
|
@@ -8470,7 +8473,7 @@ function Slider({
|
|
|
8470
8473
|
{
|
|
8471
8474
|
"data-slot": "slider-range",
|
|
8472
8475
|
className: cn(
|
|
8473
|
-
"bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
8476
|
+
"bg-primary-800 absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
|
|
8474
8477
|
)
|
|
8475
8478
|
}
|
|
8476
8479
|
)
|
|
@@ -8550,7 +8553,7 @@ function Switch({ className, ...props }) {
|
|
|
8550
8553
|
{
|
|
8551
8554
|
"data-slot": "switch",
|
|
8552
8555
|
className: cn(
|
|
8553
|
-
"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",
|
|
8556
|
+
"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",
|
|
8554
8557
|
className
|
|
8555
8558
|
),
|
|
8556
8559
|
...props,
|