@nypl/design-system-react-components 3.6.0 → 3.6.1-rc2

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.
@@ -2022,7 +2022,6 @@ const Yb = /* @__PURE__ */ el(_T), G6 = (n = !1) => ({
2022
2022
  // 16px
2023
2023
  }
2024
2024
  }, te = {
2025
- thin: 200,
2026
2025
  light: 300,
2027
2026
  regular: 400,
2028
2027
  regularImportant: "400 !important",
@@ -2192,15 +2191,15 @@ const Yb = /* @__PURE__ */ el(_T), G6 = (n = !1) => ({
2192
2191
  caption: te.regular,
2193
2192
  default: te.regularImportant,
2194
2193
  heading: {
2195
- display1: te.thin,
2196
- heading1: te.thin,
2197
- heading2: te.thin,
2198
- heading3: te.light,
2199
- heading4: te.regular,
2200
- heading5: te.medium,
2201
- heading6: te.medium,
2202
- heading7: te.medium,
2203
- heading8: te.medium,
2194
+ display1: te.light,
2195
+ heading1: te.light,
2196
+ heading2: te.light,
2197
+ heading3: te.regular,
2198
+ heading4: te.medium,
2199
+ heading5: te.semibold,
2200
+ heading6: te.semibold,
2201
+ heading7: te.bold,
2202
+ heading8: te.bold,
2204
2203
  // deprecated tokens
2205
2204
  primary: te.light,
2206
2205
  secondary: te.medium,
@@ -5300,7 +5299,7 @@ const { defineMultiStyleConfig: N_, definePartsStyle: B_ } = B2(["container", "b
5300
5299
  md: "desktop.heading.display1"
5301
5300
  },
5302
5301
  fontWeight: "heading.display1",
5303
- letterSpacing: "0.0625rem",
5302
+ letterSpacing: "0",
5304
5303
  lineHeight: { base: "1.15", md: "1.10" },
5305
5304
  width: "auto",
5306
5305
  a: { textUnderlineOffset: "7px" }
@@ -5313,7 +5312,7 @@ const { defineMultiStyleConfig: N_, definePartsStyle: B_ } = B2(["container", "b
5313
5312
  md: "desktop.heading.heading1"
5314
5313
  },
5315
5314
  fontWeight: "heading.heading1",
5316
- letterSpacing: "0.0625rem",
5315
+ letterSpacing: "0",
5317
5316
  lineHeight: { base: "1.20", md: "1.15" },
5318
5317
  width: "auto",
5319
5318
  a: { textUnderlineOffset: "6px" }
@@ -5326,7 +5325,7 @@ const { defineMultiStyleConfig: N_, definePartsStyle: B_ } = B2(["container", "b
5326
5325
  md: "desktop.heading.heading2"
5327
5326
  },
5328
5327
  fontWeight: "heading.heading2",
5329
- letterSpacing: "0.0625rem",
5328
+ letterSpacing: "0",
5330
5329
  lineHeight: { base: "1.25", md: "1.20" },
5331
5330
  width: "auto",
5332
5331
  a: { textUnderlineOffset: "5px" }
@@ -7415,7 +7414,7 @@ const { defineMultiStyleConfig: mZ, definePartsStyle: vZ } = B2([
7415
7414
  display: "flex",
7416
7415
  justifyContent: "center",
7417
7416
  content: {
7418
- color: o === "warning" ? "brand.primary" : "currentColor",
7417
+ color: o === "warning" ? "ui.error.primary" : "currentColor",
7419
7418
  paddingStart: !n && l ? a ? "l" : "xs" : "0",
7420
7419
  pt: n ? "0" : "xxs",
7421
7420
  w: "100%",
@@ -7447,7 +7446,7 @@ const { defineMultiStyleConfig: mZ, definePartsStyle: vZ } = B2([
7447
7446
  }), { defineMultiStyleConfig: PZ, definePartsStyle: jZ } = B2(["heading"]), FZ = jZ(
7448
7447
  ({ icon: n, isCentered: a, notificationType: o }) => {
7449
7448
  let l = "ui.typography.heading";
7450
- return o === "announcement" ? l = "section.research.secondary" : o === "warning" && (l = "brand.primary"), {
7449
+ return o === "announcement" ? l = "ui.success.primary" : o === "warning" && (l = "ui.error.primary"), {
7451
7450
  display: "flex",
7452
7451
  flexDirection: a ? "column" : "row",
7453
7452
  m: a ? "auto" : "null",
@@ -8259,6 +8258,7 @@ const { defineMultiStyleConfig: mZ, definePartsStyle: vZ } = B2([
8259
8258
  ".textInput": {
8260
8259
  flexGrow: 1,
8261
8260
  "div > input": {
8261
+ borderRight: 0,
8262
8262
  borderRightRadius: 0
8263
8263
  }
8264
8264
  },
@@ -8325,9 +8325,10 @@ const { defineMultiStyleConfig: mZ, definePartsStyle: vZ } = B2([
8325
8325
  ...a ? { ...SO } : {}
8326
8326
  },
8327
8327
  button: {
8328
- height: "32px",
8329
- margin: "auto",
8328
+ borderRadius: "20px",
8329
+ height: "40px",
8330
8330
  maxWidth: "160px",
8331
+ overflow: "hidden",
8331
8332
  width: "100%"
8332
8333
  },
8333
8334
  container: {
@@ -9667,7 +9668,7 @@ const {
9667
9668
  [PL.variable]: "colors.ui.gray.xx-dark",
9668
9669
  borderRadius: "4px",
9669
9670
  boxShadow: "none",
9670
- color: "ui.typography.inverse.body",
9671
+ color: "ui.typography.inverse.heading",
9671
9672
  fontSize: "desktop.caption",
9672
9673
  marginBottom: "xxs",
9673
9674
  maxWidth: "240px",
@@ -39229,7 +39230,7 @@ const W$ = T1(
39229
39230
  });
39230
39231
  const v1 = {
39231
39232
  announcement: {
39232
- color: N === "dark" ? "dark.ui.success.primary" : "section.research.secondary",
39233
+ color: N === "dark" ? "dark.ui.success.primary" : "ui.success.primary",
39233
39234
  name: "speakerNotes",
39234
39235
  title: "Notification announcement icon"
39235
39236
  },
@@ -39239,7 +39240,7 @@ const W$ = T1(
39239
39240
  title: "Notification standard icon"
39240
39241
  },
39241
39242
  warning: {
39242
- color: N === "dark" ? "dark.ui.error.primary" : "brand.primary",
39243
+ color: N === "dark" ? "dark.ui.error.primary" : "ui.error.primary",
39243
39244
  name: "errorFilled",
39244
39245
  title: "Notification warning icon"
39245
39246
  }
@@ -42957,7 +42958,7 @@ const c$ = s2((n, a) => {
42957
42958
  /* @__PURE__ */ x.jsxs(c1, { className: y, __css: O.container, children: [
42958
42959
  M && /* @__PURE__ */ x.jsx(c1, { __css: O.section, children: N("heading", i, "80%") }),
42959
42960
  V && /* @__PURE__ */ x.jsx(c1, { __css: O.section, children: N("content", l, "30%") }),
42960
- L && /* @__PURE__ */ x.jsx(c1, { __css: { ...O.section, ...O.button }, children: /* @__PURE__ */ x.jsx(xp, { borderRadius: "16px", sx: O.loader, children: /* @__PURE__ */ x.jsx(c1, { __css: O.button }) }) })
42961
+ L && /* @__PURE__ */ x.jsx(c1, { __css: { ...O.section, ...O.button }, children: /* @__PURE__ */ x.jsx(xp, { sx: O.loader, borderRadius: "20px", children: /* @__PURE__ */ x.jsx(c1, { __css: O.button }) }) })
42961
42962
  ] })
42962
42963
  ]
42963
42964
  }
@@ -3,6 +3,7 @@ declare const SearchBar: {
3
3
  ".textInput": {
4
4
  flexGrow: number;
5
5
  "div > input": {
6
+ borderRight: number;
6
7
  borderRightRadius: number;
7
8
  };
8
9
  };
@@ -16,9 +16,10 @@ declare const SkeletonLoader: {
16
16
  width: string;
17
17
  };
18
18
  button: {
19
+ borderRadius: string;
19
20
  height: string;
20
- margin: string;
21
21
  maxWidth: string;
22
+ overflow: string;
22
23
  width: string;
23
24
  };
24
25
  container: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.6.0",
3
+ "version": "3.6.1-rc2",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",