@nxds/claude-design 0.6.0 → 0.7.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.
@@ -1848,15 +1848,72 @@ export interface ContextMenuTriggerProps {
1848
1848
 
1849
1849
  /**
1850
1850
  * A calendar grid for picking one date, a range or several dates. Install
1851
- * `react-day-picker` in your app first.
1851
+ * `react-day-picker` in your app first. Days in `disabled` or
1852
+ * `modifiers.unavailable` can't be picked, and a range can't span them.
1852
1853
  */
1853
1854
  export interface DatePickerProps {
1855
+ /** Class name to add to the root element. */
1856
+ className?: string;
1857
+ /** A unique id to add to the root element. */
1858
+ id?: string;
1859
+ /**
1860
+ * Add the language tag to the container element.
1861
+ *
1862
+ * When omitted, DayPicker uses the active locale code (`locale.code`).
1863
+ * Set this prop to override the language tag.
1864
+ */
1865
+ lang?: string;
1866
+ /**
1867
+ * A cryptographic nonce ("number used once") which can be used by Content
1868
+ * Security Policy for the inline `style` attributes.
1869
+ */
1870
+ nonce?: string;
1871
+ /** Style to apply to the root element. */
1872
+ style?: React.CSSProperties;
1873
+ /** The role attribute to add to the container element. */
1874
+ role?: "dialog" | "application";
1854
1875
  /** Enable the selection of a single day, multiple days, or a range of days. */
1855
1876
  mode?: "single" | "multiple" | "range";
1877
+ /** The aria-label attribute to add to the container element. */
1878
+ 'aria-label'?: string;
1879
+ /** The aria-labelledby attribute to add to the container element. */
1880
+ 'aria-labelledby'?: string;
1881
+ /**
1882
+ * Add a footer to the calendar, acting as a live region.
1883
+ *
1884
+ * Use this prop to communicate the calendar's status to screen readers.
1885
+ * Prefer strings over complex UI elements.
1886
+ */
1887
+ footer?: React.ReactNode;
1888
+ /** Add a `title` attribute to the container element. */
1889
+ title?: string;
1890
+ /** Animate navigating between months. */
1891
+ animate?: boolean;
1892
+ /**
1893
+ * When a selection mode is set, DayPicker will focus the first selected day
1894
+ * (if set) or today's date (if not disabled).
1895
+ *
1896
+ * Use this prop when you need to focus DayPicker after a user action, for
1897
+ * improved accessibility.
1898
+ */
1899
+ autoFocus?: boolean;
1900
+ /**
1901
+ * The text direction of the calendar. Use `ltr` for left-to-right (default)
1902
+ * or `rtl` for right-to-left.
1903
+ */
1904
+ dir?: string;
1905
+ /**
1906
+ * Apply the `hidden` modifier to the matching days. Will hide them from the
1907
+ * calendar.
1908
+ */
1909
+ hidden?: Matcher | Matcher[];
1910
+ /**
1911
+ * Apply the `disabled` modifier to the matching days. Disabled days cannot be
1912
+ * selected when in a selection mode is set.
1913
+ */
1914
+ disabled?: Matcher | Matcher[];
1856
1915
  /** Whether the selection is required. */
1857
1916
  required?: boolean;
1858
- /** Class name to add to the root element. */
1859
- className?: string;
1860
1917
  /**
1861
1918
  * Change the class names used by DayPicker.
1862
1919
  *
@@ -1867,14 +1924,10 @@ export interface DatePickerProps {
1867
1924
  classNames?: Partial<ClassNames> & Partial<DeprecatedUI<string>>;
1868
1925
  /** Change the class name for the day matching the `modifiers`. */
1869
1926
  modifiersClassNames?: ModifiersClassNames;
1870
- /** Style to apply to the root element. */
1871
- style?: React.CSSProperties;
1872
1927
  /** Change the inline styles of the HTML elements. */
1873
1928
  styles?: Partial<Styles> & Partial<DeprecatedUI<React.CSSProperties>>;
1874
1929
  /** Change the class name for the day matching the {@link modifiers}. */
1875
1930
  modifiersStyles?: ModifiersStyles;
1876
- /** A unique id to add to the root element. */
1877
- id?: string;
1878
1931
  /**
1879
1932
  * The initial month to show in the calendar.
1880
1933
  *
@@ -1969,8 +2022,6 @@ export interface DatePickerProps {
1969
2022
  * week index.
1970
2023
  */
1971
2024
  showWeekNumber?: boolean;
1972
- /** Animate navigating between months. */
1973
- animate?: boolean;
1974
2025
  /**
1975
2026
  * Display the weeks in the month following the broadcast calendar. Setting
1976
2027
  * this prop will ignore {@link weekStartsOn} (always Monday) and
@@ -1999,32 +2050,7 @@ export interface DatePickerProps {
1999
2050
  noonSafe?: boolean;
2000
2051
  /** Change the components used for rendering the calendar elements. */
2001
2052
  components?: Partial<CustomComponents>;
2002
- /**
2003
- * Add a footer to the calendar, acting as a live region.
2004
- *
2005
- * Use this prop to communicate the calendar's status to screen readers.
2006
- * Prefer strings over complex UI elements.
2007
- */
2008
- footer?: React.ReactNode;
2009
- /**
2010
- * When a selection mode is set, DayPicker will focus the first selected day
2011
- * (if set) or today's date (if not disabled).
2012
- *
2013
- * Use this prop when you need to focus DayPicker after a user action, for
2014
- * improved accessibility.
2015
- */
2016
- autoFocus?: boolean;
2017
2053
  initialFocus?: boolean;
2018
- /**
2019
- * Apply the `disabled` modifier to the matching days. Disabled days cannot be
2020
- * selected when in a selection mode is set.
2021
- */
2022
- disabled?: Matcher | Matcher[];
2023
- /**
2024
- * Apply the `hidden` modifier to the matching days. Will hide them from the
2025
- * calendar.
2026
- */
2027
- hidden?: Matcher | Matcher[];
2028
2054
  /**
2029
2055
  * The today’s date. Default is the current date. This date will get the
2030
2056
  * `today` modifier to style the day.
@@ -2042,31 +2068,6 @@ export interface DatePickerProps {
2042
2068
  * default functions.
2043
2069
  */
2044
2070
  formatters?: Partial<Formatters>;
2045
- /**
2046
- * The text direction of the calendar. Use `ltr` for left-to-right (default)
2047
- * or `rtl` for right-to-left.
2048
- */
2049
- dir?: string;
2050
- /** The aria-label attribute to add to the container element. */
2051
- 'aria-label'?: string;
2052
- /** The aria-labelledby attribute to add to the container element. */
2053
- 'aria-labelledby'?: string;
2054
- /** The role attribute to add to the container element. */
2055
- role?: "dialog" | "application";
2056
- /**
2057
- * A cryptographic nonce ("number used once") which can be used by Content
2058
- * Security Policy for the inline `style` attributes.
2059
- */
2060
- nonce?: string;
2061
- /** Add a `title` attribute to the container element. */
2062
- title?: string;
2063
- /**
2064
- * Add the language tag to the container element.
2065
- *
2066
- * When omitted, DayPicker uses the active locale code (`locale.code`).
2067
- * Set this prop to override the language tag.
2068
- */
2069
- lang?: string;
2070
2071
  /**
2071
2072
  * The locale object used to localize dates. Pass a locale from
2072
2073
  * `react-day-picker/locale` to localize the calendar.
@@ -2958,6 +2959,11 @@ export interface FilterBuilderProps {
2958
2959
  * @default 3
2959
2960
  */
2960
2961
  maxDepth?: number;
2962
+ /**
2963
+ * Accessible name for the root group.
2964
+ * @default "Filters"
2965
+ */
2966
+ 'aria-label'?: string;
2961
2967
  className?: string;
2962
2968
  id?: string;
2963
2969
  }
@@ -3,7 +3,7 @@
3
3
  "layout": "files",
4
4
  "createdOnFiles": {
5
5
  "v": 1,
6
- "at": "2026-10-26T17:44:22Z"
6
+ "at": "2026-10-26T20:46:16Z"
7
7
  },
8
8
  "title": "nxds",
9
9
  "namespace": "Nxds",
@@ -27,8 +27,8 @@
27
27
  },
28
28
  "lastChange": {
29
29
  "by": "nxds",
30
- "at": "2026-10-26T17:44:22Z",
31
- "via": "nxds-cli · @nxds/claude-design@0.6.0",
32
- "note": "nxds 0.6.0: tokens, components, prop types and previews."
30
+ "at": "2026-10-26T20:46:16Z",
31
+ "via": "nxds-cli · @nxds/claude-design@0.7.0",
32
+ "note": "nxds 0.7.0: tokens, components, prop types and previews."
33
33
  }
34
34
  }
@@ -4,8 +4,8 @@
4
4
  "meta": {
5
5
  "source": "nxds",
6
6
  "package": "@nxds/claude-design",
7
- "version": "0.6.0",
8
- "ref": "77b37036",
7
+ "version": "0.7.0",
8
+ "ref": "3ea22c0d",
9
9
  "appearance": "default"
10
10
  },
11
11
  "color": {