@clickhouse/click-ui 0.3.0 → 0.5.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.
@@ -1,2 +1,2 @@
1
1
  export { CardHorizontal } from './CardHorizontal';
2
- export type { CardSize, CardHorizontalProps } from './CardHorizontal.types';
2
+ export type { CardSize, CardAlignment, CardHorizontalProps, } from './CardHorizontal.types';
@@ -6,6 +6,7 @@ export interface DatePickerProps {
6
6
  futureDatesDisabled?: boolean;
7
7
  onSelectDate: (selectedDate: Date) => void;
8
8
  placeholder?: string;
9
+ responsivePositioning?: boolean;
9
10
  timezone?: Timezone;
10
11
  }
11
- export declare const DatePicker: ({ allowOnlyDatesList, date, disabled, futureDatesDisabled, onSelectDate, placeholder, timezone, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
12
+ export declare const DatePicker: ({ allowOnlyDatesList, date, disabled, futureDatesDisabled, onSelectDate, placeholder, responsivePositioning, timezone, }: DatePickerProps) => import("react/jsx-runtime").JSX.Element;
@@ -8,15 +8,16 @@ export interface DateTimeRangePickerProps {
8
8
  endDate?: Date;
9
9
  futureDatesDisabled?: boolean;
10
10
  futureStartDatesDisabled?: boolean;
11
- onSelectDateRange: (selectedStartDate: Date, selectedEndDate: Date) => void;
11
+ onSelectDateRange: (startDate: Date, endDate: Date, predefinedDateLabel?: string) => void;
12
12
  openDirection?: OpenDirection;
13
13
  placeholder?: string;
14
14
  predefinedTimesList?: DateRangeListItem[];
15
15
  maxRangeLength?: number;
16
+ responsivePositioning?: boolean;
16
17
  shouldFireIfInvalid?: boolean;
17
18
  shouldShowSeconds?: boolean;
18
19
  startDate?: Date;
19
20
  timezone?: Timezone;
20
21
  }
21
- export declare const DateTimeRangePicker: ({ closeOnDateRangeSelected, defaultActiveTab, disabled, endDate, futureDatesDisabled, futureStartDatesDisabled, maxRangeLength, onSelectDateRange, openDirection, placeholder, predefinedTimesList, shouldFireIfInvalid, shouldShowSeconds, startDate, timezone, }: DateTimeRangePickerProps) => import("react/jsx-runtime").JSX.Element;
22
+ export declare const DateTimeRangePicker: ({ closeOnDateRangeSelected, defaultActiveTab, disabled, endDate, futureDatesDisabled, futureStartDatesDisabled, maxRangeLength, onSelectDateRange, openDirection, placeholder, predefinedTimesList, responsivePositioning, shouldFireIfInvalid, shouldShowSeconds, startDate, timezone, }: DateTimeRangePickerProps) => import("react/jsx-runtime").JSX.Element;
22
23
  export {};
@@ -24,7 +24,7 @@ export { CardHorizontal } from './components/CardHorizontal';
24
24
  export { CardPrimary } from './components/CardPrimary';
25
25
  export { CardPromotion } from './components/CardPromotion';
26
26
  export { CardSecondary } from './components/CardSecondary';
27
- export type { CardHorizontalProps } from './components/CardHorizontal';
27
+ export type { CardHorizontalProps, CardAlignment } from './components/CardHorizontal';
28
28
  export type { CardPrimaryProps } from './components/CardPrimary';
29
29
  export type { CardPromotionProps } from './components/CardPromotion';
30
30
  export type { BadgeState, CardSecondaryProps } from './components/CardSecondary';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clickhouse/click-ui",
3
- "version": "v0.3.0",
3
+ "version": "v0.5.0",
4
4
  "description": "Official ClickHouse design system react library",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",