@bagelink/vue 1.2.128 → 1.2.134

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.
Files changed (43) hide show
  1. package/dist/components/AddressSearch.vue.d.ts.map +1 -1
  2. package/dist/components/Carousel2.vue.d.ts +89 -0
  3. package/dist/components/Carousel2.vue.d.ts.map +1 -0
  4. package/dist/components/DragOver.vue.d.ts.map +1 -1
  5. package/dist/components/Dropdown.vue.d.ts.map +1 -1
  6. package/dist/components/ImportData.vue.d.ts.map +1 -1
  7. package/dist/components/Pill.vue.d.ts +2 -0
  8. package/dist/components/Pill.vue.d.ts.map +1 -1
  9. package/dist/components/calendar/views/CalendarPopover.vue.d.ts +2 -2
  10. package/dist/components/calendar/views/CalendarPopover.vue.d.ts.map +1 -1
  11. package/dist/components/form/inputs/SelectInput.vue.d.ts.map +1 -1
  12. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts +5 -1
  13. package/dist/components/form/inputs/Upload/UploadInput.vue.d.ts.map +1 -1
  14. package/dist/components/form/inputs/Upload/upload.types.d.ts +2 -0
  15. package/dist/components/form/inputs/Upload/upload.types.d.ts.map +1 -1
  16. package/dist/components/form/inputs/Upload/useFileUpload.d.ts +8 -1
  17. package/dist/components/form/inputs/Upload/useFileUpload.d.ts.map +1 -1
  18. package/dist/components/form/inputs/index.d.ts +0 -1
  19. package/dist/components/form/inputs/index.d.ts.map +1 -1
  20. package/dist/index.cjs +446 -917
  21. package/dist/index.mjs +446 -917
  22. package/dist/style.css +1665 -1849
  23. package/dist/types/BagelForm.d.ts +1 -0
  24. package/dist/types/BagelForm.d.ts.map +1 -1
  25. package/dist/utils/BagelFormUtils.d.ts +1 -1
  26. package/dist/utils/BagelFormUtils.d.ts.map +1 -1
  27. package/package.json +1 -1
  28. package/src/components/DragOver.vue +0 -2
  29. package/src/components/ImportData.vue +1 -1
  30. package/src/components/Loading.vue +1 -1
  31. package/src/components/Pill.vue +28 -5
  32. package/src/components/form/inputs/Upload/UploadInput.vue +37 -50
  33. package/src/components/form/inputs/Upload/upload.css +12 -9
  34. package/src/components/form/inputs/Upload/upload.types.ts +2 -0
  35. package/src/components/form/inputs/Upload/useFileUpload.ts +35 -9
  36. package/src/components/form/inputs/index.ts +0 -1
  37. package/src/styles/layout.css +1466 -1460
  38. package/src/styles/theme.css +2 -1
  39. package/src/types/BagelForm.ts +1 -0
  40. package/src/utils/BagelFormUtils.ts +1 -1
  41. package/dist/types/timeago.d.ts +0 -23
  42. package/dist/types/timeago.d.ts.map +0 -1
  43. package/src/components/form/inputs/FileUpload.vue +0 -724
@@ -52,13 +52,14 @@
52
52
  --bgl-font-size: 16px;
53
53
  --input-height: 40px;
54
54
  --label-font-size: 12px;
55
+ --pill-font-size: 12px;
55
56
  --input-border-radius: 7px;
56
57
  --card-border-radius: 12px;
57
58
  --btn-border-radius: 10px;
58
59
  --btn-padding: 30px;
59
60
  --btn-height: 40px;
60
61
  --pill-border-radius: 8px;
61
- --pill-height: 30px;
62
+ --pill-height: 20px;
62
63
  --skeleton-radius: 0.25rem;
63
64
  --skeleton-margin: 1rem;
64
65
  --bgl-range-thumb-size: 20px;
@@ -118,6 +118,7 @@ export interface ValidateInputBaseT {
118
118
  }
119
119
 
120
120
  export interface UploadInputProps {
121
+ id?: string
121
122
  label?: string
122
123
  multiple?: boolean
123
124
  modelValue?: string | string[]
@@ -242,7 +242,7 @@ export function frmRow<
242
242
  } satisfies BaseBagelField<T, P>
243
243
  }
244
244
 
245
- export interface UploadOptions<T, K extends Path<T>> extends UploadInputProps, InputOptions<T, K> {}
245
+ export interface UploadOptions<T, K extends Path<T>> extends Omit<UploadInputProps, 'id'>, InputOptions<T, K> {}
246
246
 
247
247
  export function uploadField<
248
248
  T,
@@ -1,23 +0,0 @@
1
- export interface TimeUnit {
2
- singular: string;
3
- plural: string;
4
- }
5
- export type TranslationValue = string | TimeUnit;
6
- export interface LanguageTranslations {
7
- [key: string]: TranslationValue;
8
- }
9
- export type AvailableTimeLanguages = 'en' | 'es' | 'fr' | 'he';
10
- export type DayFormatTypes = 'DD' | 'DDD' | 'DDDD';
11
- export type MonthFormatTypes = 'MM' | 'MMM' | 'MMMM';
12
- export type YearFormatTypes = 'YY' | 'YYYY';
13
- export type HourFormatTypes = 'HH';
14
- export type MinuteFormatTypes = 'mm';
15
- export type SecondFormatTypes = 'ss';
16
- export type MillisecondFormatTypes = 'sss';
17
- export type AmPmFormatTypes = 'AmPm';
18
- export type DateFormatSeparatorTypes = '/' | '-' | ' ' | ':' | '.';
19
- export type CommonDateFormats = `${DayFormatTypes}${DateFormatSeparatorTypes}${MonthFormatTypes}${DateFormatSeparatorTypes}${YearFormatTypes}` | 'DD.MM.YY' | 'DD.MM.YYYY' | 'DD/MM/YY' | 'DD/MM/YYYY' | 'MM.DD.YY' | 'MM.DD.YYYY' | 'MM/DD/YY' | 'MM/DD/YYYY' | 'YYYY-MM-DD' | 'YY-MM-DD' | 'DD MMM YYYY' | 'DD MMMM YYYY' | 'DDD, DD MMM' | 'DDDD, DD MMMM' | 'MMM DD' | 'MMMM DD';
20
- export type CommonTimeFormats = 'HH:mm' | 'HH:mm:ss' | 'HH:mm:ss:sss' | 'HH:MM' | 'HH:mm AmPm';
21
- export type CommonDateTimeFormats = `${CommonDateFormats} ${CommonTimeFormats}` | `${CommonTimeFormats}, ${CommonDateFormats}` | 'YYYY-MM-DD HH:MM';
22
- export type DateTimeAcceptedFormats = CommonDateFormats | CommonTimeFormats | CommonDateTimeFormats;
23
- //# sourceMappingURL=timeago.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"timeago.d.ts","sourceRoot":"","sources":["../../src/types/timeago.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACxB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,MAAM,CAAA;CACd;AAED,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,QAAQ,CAAA;AAEhD,MAAM,WAAW,oBAAoB;IACpC,CAA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