@harnessio/ui 1.0.0 → 1.0.2

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/index.d.ts CHANGED
@@ -13,6 +13,7 @@ import { CheckboxTreeGroupProps } from './checkbox-tree-types';
13
13
  import { CheckboxTreeItemProps } from './checkbox-tree-types';
14
14
  import { CheckboxTreeRootProps } from './checkbox-tree-types';
15
15
  import { ClassAttributes } from 'react';
16
+ import { ClassNames } from 'react-day-picker';
16
17
  import { ClassProp } from 'class-variance-authority/types';
17
18
  import { ClassValue } from 'clsx';
18
19
  import { ClipboardEventHandler } from 'react';
@@ -29,6 +30,7 @@ import { Context } from 'react';
29
30
  import { CSSProperties } from 'react';
30
31
  import { DateRange } from 'react-day-picker';
31
32
  import { DayPicker } from 'react-day-picker';
33
+ import { DayPickerRangeProps } from 'react-day-picker';
32
34
  import { default as default_2 } from 'react';
33
35
  import { default as default_3 } from 'embla-carousel-react';
34
36
  import { DetailedHTMLProps } from 'react';
@@ -1429,6 +1431,7 @@ declare namespace components {
1429
1431
  FilterSelect,
1430
1432
  FiltersField as FilterField,
1431
1433
  FilterBoxWrapper,
1434
+ DateRangeCalendarProps,
1432
1435
  Parser,
1433
1436
  FilterFieldTypes,
1434
1437
  DateRangeValue,
@@ -1996,11 +1999,15 @@ declare interface DataTableProps<TData> {
1996
1999
  /* Excluded from this release type: _enableColumnResizing */
1997
2000
  }
1998
2001
 
2002
+ declare type DateRangeCalendarProps = Omit<DayPickerRangeProps, 'mode' | 'numberOfMonths' | 'selected' | 'onSelect' | 'month' | 'onMonthChange' | 'classNames'>;
2003
+
1999
2004
  declare interface DateRangeFilterOptionConfig<T extends string = string> extends FilterOptionConfigBase<T, DateRangeValue> {
2000
2005
  type: FilterFieldTypes.DateRange;
2001
2006
  filterFieldConfig?: {
2002
2007
  presets?: DateRangePreset[];
2003
2008
  showCustomRange?: boolean;
2009
+ calendarProps?: DateRangeCalendarProps;
2010
+ calendarClassNames?: ClassNames;
2004
2011
  };
2005
2012
  }
2006
2013
 
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as s } from "./index-DDLV5nJ6.js";
2
- import { i as e } from "./index-BbncWvla.js";
2
+ import { i as e } from "./index-D6QR6swS.js";
3
3
  import { i as a } from "./index-dZ7Z0zPL.js";
4
4
  import { i as m } from "./index-C4bDY5-3.js";
5
5
  import { i as f } from "./index-DchZrYRY.js";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@harnessio/ui",
3
3
  "description": "Harness Canary UI component library",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
@@ -123,8 +123,8 @@
123
123
  "yaml": "^2.7.0",
124
124
  "zod": "^4.0.0",
125
125
  "@harnessio/core-design-system": "0.0.1",
126
- "@harnessio/pipeline-graph": "1.9.6",
127
- "@harnessio/yaml-editor": "0.26.0"
126
+ "@harnessio/yaml-editor": "0.26.0",
127
+ "@harnessio/pipeline-graph": "1.9.6"
128
128
  },
129
129
  "peerDependencies": {
130
130
  "react": "^17.0.2",