@nexub/patterns 5.9.0 → 6.0.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.
@@ -11,7 +11,7 @@ var FilterBar = React.forwardRef(
11
11
  /* @__PURE__ */ jsx(
12
12
  SearchInput,
13
13
  {
14
- "aria-label": searchLabel ?? t.search,
14
+ "aria-label": searchLabel ?? searchPlaceholder?.replace(/\s*(…|\.\.\.)$/, "") ?? t.search,
15
15
  placeholder: searchPlaceholder ?? t.searchPlaceholder,
16
16
  value: searchValue,
17
17
  onChange: (e) => onSearch?.(e.target.value),
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import {
3
3
  FilterBar
4
- } from "../../chunk-DOHN66SE.js";
4
+ } from "../../chunk-SNONOBAE.js";
5
5
  export {
6
6
  FilterBar
7
7
  };
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  SignInPage
4
- } from "../../chunk-UNQD426H.js";
5
- import "../../chunk-HMJRSNJD.js";
4
+ } from "../../chunk-YDOVEHZK.js";
6
5
  import "../../chunk-7QCJC2DV.js";
6
+ import "../../chunk-HMJRSNJD.js";
7
7
  export {
8
8
  SignInPage
9
9
  };
package/dist/index.d.ts CHANGED
@@ -19,8 +19,8 @@ declare const ActivityFeed: {
19
19
  interface FilterBarProps extends React.HTMLAttributes<HTMLDivElement> {
20
20
  searchPlaceholder?: string;
21
21
  /**
22
- * Accessible name of the search field. Defaults to the localised "Search"; from 6.0,
23
- * to `searchPlaceholder` (without a trailing "…") when that is set.
22
+ * Accessible name of the search field. Defaults to `searchPlaceholder` without a
23
+ * trailing "…", else the localised "Search".
24
24
  */
25
25
  searchLabel?: string;
26
26
  onSearch?: (value: string) => void;
package/dist/index.js CHANGED
@@ -19,15 +19,15 @@ import {
19
19
  SettingsLayout,
20
20
  SettingsRow
21
21
  } from "./chunk-Z4FCC42C.js";
22
- import {
23
- SettingsSection
24
- } from "./chunk-U3FT7XAU.js";
25
22
  import {
26
23
  SettingsPage
27
24
  } from "./chunk-27N33TGN.js";
25
+ import {
26
+ SettingsSection
27
+ } from "./chunk-U3FT7XAU.js";
28
28
  import {
29
29
  SignInPage
30
- } from "./chunk-UNQD426H.js";
30
+ } from "./chunk-YDOVEHZK.js";
31
31
  import {
32
32
  CheckoutPage
33
33
  } from "./chunk-CZR6NZDH.js";
@@ -41,12 +41,12 @@ import {
41
41
  ErrorSummary,
42
42
  useFormErrors
43
43
  } from "./chunk-RWPFCNMJ.js";
44
+ import {
45
+ FilterBar
46
+ } from "./chunk-SNONOBAE.js";
44
47
  import {
45
48
  InfoList
46
49
  } from "./chunk-WPNT5JOU.js";
47
- import {
48
- FilterBar
49
- } from "./chunk-DOHN66SE.js";
50
50
  import {
51
51
  ListDetail
52
52
  } from "./chunk-5JU6HUVJ.js";
@@ -68,9 +68,6 @@ import "./chunk-VYMTTYPR.js";
68
68
  import {
69
69
  AppLauncher
70
70
  } from "./chunk-BDCVWAH7.js";
71
- import {
72
- AuthCard
73
- } from "./chunk-HMJRSNJD.js";
74
71
  import {
75
72
  BentoGrid,
76
73
  BentoTile
@@ -87,6 +84,9 @@ import {
87
84
  groupByDay,
88
85
  usePageMessages
89
86
  } from "./chunk-7QCJC2DV.js";
87
+ import {
88
+ AuthCard
89
+ } from "./chunk-HMJRSNJD.js";
90
90
  export {
91
91
  ActivityFeed,
92
92
  ActivityPage,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/patterns",
3
- "version": "5.9.0",
3
+ "version": "6.0.0",
4
4
  "description": "Composite UI patterns for Nexub Design System — pre-built, production-ready layouts and widgets built on @nexub/react.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -39,9 +39,9 @@
39
39
  "peerDependencies": {
40
40
  "react": ">=19 <20",
41
41
  "react-dom": ">=19 <20",
42
- "@nexub/icons": "^5.9.0",
43
- "@nexub/react": "^5.9.0",
44
- "@nexub/tokens": "^5.9.0"
42
+ "@nexub/icons": "^6.0.0",
43
+ "@nexub/react": "^6.0.0",
44
+ "@nexub/tokens": "^6.0.0"
45
45
  },
46
46
  "peerDependenciesMeta": {
47
47
  "@nexub/icons": {
@@ -64,9 +64,9 @@
64
64
  "typescript": "~6.0.3",
65
65
  "vite": "^8.3.5",
66
66
  "vitest": "^5.0.5",
67
- "@nexub/icons": "5.9.0",
68
- "@nexub/react": "5.9.0",
69
- "@nexub/tokens": "5.9.0"
67
+ "@nexub/icons": "6.0.0",
68
+ "@nexub/react": "6.0.0",
69
+ "@nexub/tokens": "6.0.0"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsup && tailwindcss -i src/styles.css -o dist/styles.css --minify",
@@ -1,10 +1,10 @@
1
1
  'use client';
2
- import {
3
- AuthCard
4
- } from "./chunk-HMJRSNJD.js";
5
2
  import {
6
3
  usePageMessages
7
4
  } from "./chunk-7QCJC2DV.js";
5
+ import {
6
+ AuthCard
7
+ } from "./chunk-HMJRSNJD.js";
8
8
 
9
9
  // src/components/SignInPage/SignInPage.tsx
10
10
  import * as React from "react";