@nswds/app 1.115.0 → 1.116.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 CHANGED
@@ -90,7 +90,6 @@
90
90
  --font-weight-semibold: 600;
91
91
  --font-weight-bold: 700;
92
92
  --font-weight-extrabold: 800;
93
- --font-weight-black: 900;
94
93
  --tracking-tight: -0.025em;
95
94
  --tracking-normal: 0em;
96
95
  --tracking-wide: 0.025em;
@@ -4338,10 +4337,6 @@
4338
4337
  --tw-font-weight: var(--heading-font-family);
4339
4338
  font-weight: var(--heading-font-family);
4340
4339
  }
4341
- .font-black {
4342
- --tw-font-weight: var(--font-weight-black);
4343
- font-weight: var(--font-weight-black);
4344
- }
4345
4340
  .font-bold {
4346
4341
  --tw-font-weight: var(--font-weight-bold);
4347
4342
  font-weight: var(--font-weight-bold);
@@ -4494,9 +4489,6 @@
4494
4489
  .text-\[\#888f92\] {
4495
4490
  color: #888f92;
4496
4491
  }
4497
- .text-accent-200 {
4498
- color: var(--color-accent-200);
4499
- }
4500
4492
  .text-accent-700 {
4501
4493
  color: var(--color-accent-700);
4502
4494
  }
@@ -4632,9 +4624,6 @@
4632
4624
  .text-primary-100 {
4633
4625
  color: var(--color-primary-100);
4634
4626
  }
4635
- .text-primary-200 {
4636
- color: var(--color-primary-200);
4637
- }
4638
4627
  .text-primary-500 {
4639
4628
  color: var(--color-primary-500);
4640
4629
  }
@@ -4762,15 +4751,9 @@
4762
4751
  text-decoration-color: color-mix(in oklab, var(--color-primary-800) 50%, transparent);
4763
4752
  }
4764
4753
  }
4765
- .decoration-4 {
4766
- text-decoration-thickness: 4px;
4767
- }
4768
4754
  .underline-offset-4 {
4769
4755
  text-underline-offset: 4px;
4770
4756
  }
4771
- .underline-offset-6 {
4772
- text-underline-offset: 6px;
4773
- }
4774
4757
  .antialiased {
4775
4758
  -webkit-font-smoothing: antialiased;
4776
4759
  -moz-osx-font-smoothing: grayscale;
package/dist/index.cjs CHANGED
@@ -4315,7 +4315,7 @@ var styles = {
4315
4315
  ],
4316
4316
  outline: [
4317
4317
  // Text color
4318
- "border-(--btn-bg) text-(--btn-bg) border-2",
4318
+ "border-(--btn-bg) text-(--btn-bg)",
4319
4319
  // Optical border, implemented as the button background to avoid corner artifacts
4320
4320
  "bg-transparent",
4321
4321
  // Button background, implemented as foreground layer to stack on top of pseudo-border layer
@@ -4476,6 +4476,13 @@ var styles = {
4476
4476
  "dark:[--btn-bg:var(--color-accent-500)] dark:[--btn-border:var(--color-accent-500)]/90 dark:[--btn-text:white]",
4477
4477
  // Dark mode states
4478
4478
  "dark:[--btn-hover-overlay:var(--color-accent-500)]/30 dark:data-[variant=solid]:[--btn-hover-overlay:var(--color-white)]/10"
4479
+ ],
4480
+ danger: [
4481
+ // Backward-compatible alias for legacy consumers that still use `danger`.
4482
+ "[--btn-bg:var(--color-accent-600)] [--btn-border:var(--color-accent-600)]/90 [--btn-text:white]",
4483
+ "[--btn-hover-overlay:var(--color-accent-600)]/10 data-[variant=solid]:[--btn-hover-overlay:var(--color-white)]/10",
4484
+ "dark:[--btn-bg:var(--color-accent-500)] dark:[--btn-border:var(--color-accent-500)]/90 dark:[--btn-text:white]",
4485
+ "dark:[--btn-hover-overlay:var(--color-accent-500)]/30 dark:data-[variant=solid]:[--btn-hover-overlay:var(--color-white)]/10"
4479
4486
  ]
4480
4487
  },
4481
4488
  size: {
@@ -4509,7 +4516,8 @@ var buttonVariants = classVarianceAuthority.cva(styles.base, {
4509
4516
  primary: styles.colors.primary,
4510
4517
  secondary: styles.colors.secondary,
4511
4518
  tertiary: styles.colors.tertiary,
4512
- accent: styles.colors.accent
4519
+ accent: styles.colors.accent,
4520
+ danger: styles.colors.danger
4513
4521
  },
4514
4522
  size: {
4515
4523
  default: styles.size.default,
@@ -18816,7 +18824,7 @@ function FormatToggle({ format, setFormat }) {
18816
18824
 
18817
18825
  // package.json
18818
18826
  var package_default = {
18819
- version: "1.114.1"};
18827
+ version: "1.115.0"};
18820
18828
  var SluggerContext = React5__namespace.default.createContext(null);
18821
18829
  function flattenText(nodes) {
18822
18830
  if (nodes == null || typeof nodes === "boolean") return "";
@@ -19202,6 +19210,7 @@ var heroBannerVariants2 = classVarianceAuthority.cva("relative", {
19202
19210
  "grey-600": "bg-grey-600 text-white",
19203
19211
  "grey-400": "bg-grey-400 text-grey-800",
19204
19212
  "grey-200": "bg-grey-200 text-grey-800",
19213
+ "grey-150": "bg-grey-200 text-grey-800",
19205
19214
  "accent-800": "bg-accent-800 text-white",
19206
19215
  "accent-600": "bg-accent-600 text-white",
19207
19216
  "accent-400": "bg-accent-400 text-accent-800",