prlg-ui 1.8.289 → 1.8.291

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/rekaUI.d.ts CHANGED
@@ -12,6 +12,7 @@ import { AllowedComponentProps } from 'vue';
12
12
  import { AsTag } from 'reka-ui';
13
13
  import { CalendarCell } from 'reka-ui';
14
14
  import { CalendarCellTriggerProps } from 'reka-ui';
15
+ import { CalendarDateTime } from '@internationalized/date';
15
16
  import { CalendarGrid } from 'reka-ui';
16
17
  import { CalendarGridBodyProps } from 'reka-ui';
17
18
  import { CalendarGridHead } from 'reka-ui';
@@ -176,6 +177,8 @@ import { TabsContent } from 'reka-ui';
176
177
  import { TabsIndicator } from 'reka-ui';
177
178
  import { TabsListProps } from 'reka-ui';
178
179
  import { TabsTriggerProps } from 'reka-ui';
180
+ import { Time } from '@internationalized/date';
181
+ import { TimeFieldRootProps } from 'reka-ui';
179
182
  import { ToastAction } from 'reka-ui';
180
183
  import { ToastCloseProps } from 'reka-ui';
181
184
  import { ToastDescriptionProps } from 'reka-ui';
@@ -195,6 +198,7 @@ import { VNodeProps } from 'vue';
195
198
  import { WatchCallback } from 'vue';
196
199
  import { WatchOptions } from 'vue';
197
200
  import { WatchStopHandle } from 'vue';
201
+ import { ZonedDateTime } from '@internationalized/date';
198
202
 
199
203
  declare const __VLS_component: DefineComponent<IAccordionContentProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<IAccordionContentProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
200
204
 
@@ -739,6 +743,10 @@ declare type __VLS_Props = {
739
743
  variant?: 'info' | 'success' | 'warning' | 'error';
740
744
  };
741
745
 
746
+ declare type __VLS_Props_10 = {
747
+ placeholder?: string;
748
+ };
749
+
742
750
  declare type __VLS_Props_2 = {
743
751
  value?: string | number;
744
752
  variant?: 'primary' | 'danger' | 'neutral';
@@ -820,6 +828,10 @@ declare type __VLS_PublicProps_5 = {
820
828
  modelValue?: string;
821
829
  } & __VLS_Props_9;
822
830
 
831
+ declare type __VLS_PublicProps_6 = {
832
+ modelValue: TModelValue;
833
+ } & __VLS_Props_10;
834
+
823
835
  declare function __VLS_template(): {
824
836
  attrs: Partial<{}>;
825
837
  slots: {
@@ -2929,6 +2941,12 @@ size: "small" | "default" | "large";
2929
2941
 
2930
2942
  export { RadioGroupRoot }
2931
2943
 
2944
+ export declare const Schedule: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2945
+ "update:modelValue": (value: TModelValue) => any;
2946
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
2947
+ "onUpdate:modelValue"?: ((value: TModelValue) => any) | undefined;
2948
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
2949
+
2932
2950
  export declare const ScrollAreaRoot: __VLS_WithTemplateSlots_66<typeof __VLS_component_66, __VLS_TemplateResult_66["slots"]>;
2933
2951
 
2934
2952
  export declare const ScrollAreaScrollbar: DefineComponent<ScrollAreaScrollbarProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ScrollAreaScrollbarProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
@@ -3000,6 +3018,8 @@ declare interface TagProps {
3000
3018
  colors?: TagColors;
3001
3019
  }
3002
3020
 
3021
+ declare type TDayWeek = 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday' | 'sunday';
3022
+
3003
3023
  export declare const Textarea: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3004
3024
  "update:modelValue": (value: string) => any;
3005
3025
  } & {
@@ -3015,6 +3035,22 @@ onFocusOut?: ((value: FocusEvent) => any) | undefined;
3015
3035
  textareaRef: HTMLTextAreaElement;
3016
3036
  }, HTMLDivElement>;
3017
3037
 
3038
+ export declare const TimeField: DefineComponent<TimeFieldRootProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
3039
+ "update:modelValue": (date: (CalendarDateTime | ZonedDateTime | Time) | undefined) => any;
3040
+ "update:placeholder": (date: CalendarDateTime | ZonedDateTime | Time) => any;
3041
+ }, string, PublicProps, Readonly<TimeFieldRootProps> & Readonly<{
3042
+ "onUpdate:modelValue"?: ((date: (CalendarDateTime | ZonedDateTime | Time) | undefined) => any) | undefined;
3043
+ "onUpdate:placeholder"?: ((date: CalendarDateTime | ZonedDateTime | Time) => any) | undefined;
3044
+ }>, {
3045
+ locale: string;
3046
+ hourCycle: 12 | 24;
3047
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
3048
+
3049
+ declare type TModelValue = Record<TDayWeek, {
3050
+ active: boolean;
3051
+ time: TTimeValue[];
3052
+ }>;
3053
+
3018
3054
  declare type Toast = Omit<ToasterToast, "id">;
3019
3055
 
3020
3056
  declare function toast(props: Toast): {
@@ -3060,6 +3096,8 @@ export { TooltipRoot }
3060
3096
 
3061
3097
  export { TooltipTrigger }
3062
3098
 
3099
+ export declare type TTimeValue = ZonedDateTime | Time | CalendarDateTime;
3100
+
3063
3101
  export declare function useToast(): {
3064
3102
  toasts: ComputedRef< {
3065
3103
  variant?: ToastVariant | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prlg-ui",
3
3
  "private": false,
4
- "version": "1.8.289",
4
+ "version": "1.8.291",
5
5
  "type": "module",
6
6
  "main": "dist/prlg-ui.umd.js",
7
7
  "module": "dist/prlg-ui.es.js",