@visio-io/design-system 1.8.26 → 1.8.28

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 (70) hide show
  1. package/dist/index.cjs.js +131 -92
  2. package/dist/index.cjs.js.map +1 -1
  3. package/dist/index.es.js +44914 -21154
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/style.css +1 -1
  6. package/dist/types/components/ActionButton/ActionButton.d.ts +2 -0
  7. package/dist/types/components/ActionButton/ActionButton.stories.d.ts +15 -0
  8. package/dist/types/components/ActionButton/index.d.ts +2 -0
  9. package/dist/types/components/ActionButton/types.d.ts +16 -0
  10. package/dist/types/components/EventCompatibility/EventCompatibility.d.ts +2 -0
  11. package/dist/types/components/EventCompatibility/EventCompatibility.stories.d.ts +8 -0
  12. package/dist/types/components/EventCompatibility/index.d.ts +2 -0
  13. package/dist/types/components/EventCompatibility/types.d.ts +5 -0
  14. package/dist/types/components/EventDetailsLayout/EventDetailsLayout.d.ts +2 -0
  15. package/dist/types/components/EventDetailsLayout/EventDetailsLayout.stories.d.ts +8 -0
  16. package/dist/types/components/EventDetailsLayout/index.d.ts +2 -0
  17. package/dist/types/components/EventDetailsLayout/types.d.ts +11 -0
  18. package/dist/types/components/EventLocation/EventLocation.d.ts +2 -0
  19. package/dist/types/components/EventLocation/EventLocation.stories.d.ts +8 -0
  20. package/dist/types/components/EventLocation/index.d.ts +2 -0
  21. package/dist/types/components/EventLocation/types.d.ts +26 -0
  22. package/dist/types/components/EventPersonInfo/EventPersonInfo.d.ts +2 -0
  23. package/dist/types/components/EventPersonInfo/EventPersonInfo.stories.d.ts +7 -0
  24. package/dist/types/components/EventPersonInfo/index.d.ts +2 -0
  25. package/dist/types/components/EventPersonInfo/types.d.ts +11 -0
  26. package/dist/types/components/EventPhotoComparison/EventPhotoComparison.d.ts +2 -0
  27. package/dist/types/components/EventPhotoComparison/EventPhotoComparison.stories.d.ts +8 -0
  28. package/dist/types/components/EventPhotoComparison/index.d.ts +2 -0
  29. package/dist/types/components/EventPhotoComparison/types.d.ts +7 -0
  30. package/dist/types/components/EventVideoPreview/EventVideoPreview.d.ts +2 -0
  31. package/dist/types/components/EventVideoPreview/EventVideoPreview.stories.d.ts +7 -0
  32. package/dist/types/components/EventVideoPreview/index.d.ts +2 -0
  33. package/dist/types/components/EventVideoPreview/types.d.ts +10 -0
  34. package/dist/types/components/FormDatePicker/FormDatePicker.d.ts +7 -0
  35. package/dist/types/components/FormDatePicker/FormDatePicker.stories.d.ts +14 -0
  36. package/dist/types/components/FormDatePicker/index.d.ts +2 -0
  37. package/dist/types/components/FormDatePicker/types.d.ts +63 -0
  38. package/dist/types/components/FormSection/FormSection.d.ts +5 -0
  39. package/dist/types/components/FormSection/FormSection.stories.d.ts +9 -0
  40. package/dist/types/components/FormSection/index.d.ts +2 -0
  41. package/dist/types/components/FormSection/types.d.ts +29 -0
  42. package/dist/types/components/FormTagSelect/FormTagSelect.d.ts +6 -0
  43. package/dist/types/components/FormTagSelect/FormTagSelect.stories.d.ts +10 -0
  44. package/dist/types/components/FormTagSelect/index.d.ts +2 -0
  45. package/dist/types/components/FormTagSelect/types.d.ts +21 -0
  46. package/dist/types/components/GoogleMap/components/GoogleMap.d.ts +1 -1
  47. package/dist/types/components/GoogleMap/components/MapMarkers.d.ts +1 -1
  48. package/dist/types/components/GoogleMap/types.d.ts +6 -1
  49. package/dist/types/components/Icons/index.d.ts +11 -0
  50. package/dist/types/components/ImageWithFallback/ImageWithFallback.d.ts +2 -0
  51. package/dist/types/components/ImageWithFallback/index.d.ts +2 -0
  52. package/dist/types/components/ImageWithFallback/types.d.ts +9 -0
  53. package/dist/types/components/LoadingScreen/LoadingOrb.d.ts +6 -0
  54. package/dist/types/components/LoadingScreen/LoadingScreen.d.ts +5 -0
  55. package/dist/types/components/LoadingScreen/LoadingScreen.stories.d.ts +10 -0
  56. package/dist/types/components/LoadingScreen/index.d.ts +2 -0
  57. package/dist/types/components/LoadingScreen/types.d.ts +8 -0
  58. package/dist/types/components/MapSpot/MapSpot.d.ts +1 -1
  59. package/dist/types/components/PhotoUpload/PhotoUpload.d.ts +6 -0
  60. package/dist/types/components/PhotoUpload/PhotoUpload.stories.d.ts +9 -0
  61. package/dist/types/components/PhotoUpload/index.d.ts +2 -0
  62. package/dist/types/components/PhotoUpload/types.d.ts +46 -0
  63. package/dist/types/components/TagBadge/TagBadge.d.ts +5 -0
  64. package/dist/types/components/TagBadge/TagBadge.stories.d.ts +9 -0
  65. package/dist/types/components/TagBadge/index.d.ts +2 -0
  66. package/dist/types/components/TagBadge/types.d.ts +7 -0
  67. package/dist/types/components/VideoPlayer/useVideoPlayer.d.ts +2 -1
  68. package/dist/types/components/index.d.ts +30 -2
  69. package/package.json +5 -3
  70. package/src/styles/tokens/css-variables.scss +13 -0
@@ -0,0 +1,5 @@
1
+ import { TagBadgeProps } from './types';
2
+ export declare const TagBadge: {
3
+ ({ label, colorLight, colorDark, onRemove, className, }: TagBadgeProps): import("react/jsx-runtime").JSX.Element;
4
+ displayName: string;
5
+ };
@@ -0,0 +1,9 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import { TagBadge } from './TagBadge';
3
+ declare const meta: Meta<typeof TagBadge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
7
+ export declare const WithRemove: Story;
8
+ export declare const AllColors: Story;
9
+ export declare const WithRemoveAllColors: Story;
@@ -0,0 +1,2 @@
1
+ export { TagBadge } from './TagBadge';
2
+ export type { TagBadgeProps } from './types';
@@ -0,0 +1,7 @@
1
+ export interface TagBadgeProps {
2
+ label: string;
3
+ colorLight: string;
4
+ colorDark: string;
5
+ onRemove?: () => void;
6
+ className?: string;
7
+ }
@@ -1,4 +1,4 @@
1
- import { VideoPlayerProps, VideoQualityOption } from './types';
1
+ import { VideoPlayerProps, VideoQualityOption } from "./types";
2
2
  export declare const useVideoPlayer: ({ stream, availableQualities, initialQuality, autoPlay, liveThresholdSeconds, allowPlaybackRateForStream, }: Pick<VideoPlayerProps, "stream" | "availableQualities" | "initialQuality" | "autoPlay" | "liveThresholdSeconds" | "allowPlaybackRateForStream">) => {
3
3
  containerRef: import("react").RefObject<HTMLDivElement | null>;
4
4
  videoRef: import("react").RefObject<HTMLVideoElement | null>;
@@ -31,6 +31,7 @@ export declare const useVideoPlayer: ({ stream, availableQualities, initialQuali
31
31
  didDragRef: import("react").RefObject<boolean>;
32
32
  isFullscreen: boolean;
33
33
  isLoading: boolean;
34
+ hasError: boolean;
34
35
  canAdjustPlaybackRate: boolean | undefined;
35
36
  updateLiveStatus: () => void;
36
37
  };
@@ -44,7 +44,13 @@ export { FormMultiSelect } from "./FormMultiSelect";
44
44
  export type { FormMultiSelectProps } from "./FormMultiSelect/types";
45
45
  export { FormInput } from "./FormInput";
46
46
  export type { FormInputProps } from "./FormInput/types";
47
- export { CancelIcon, ErrorIcon, SearchIcon, HomeIcon, VideocamIcon, FacialIcon as FacialNewIcon, CarIcon, TodayIcon, PhotoIcon, PlateCloneIcon, SettingsIcon, InboxIcon, LprIcon, LogoutIcon, DarkModeIcon, LightModeIcon, NotificationsIcon, PersonIcon, } from "./Icons";
47
+ export { FormDatePicker } from "./FormDatePicker";
48
+ export type { FormDatePickerProps } from "./FormDatePicker/types";
49
+ export { FormSection } from "./FormSection";
50
+ export type { FormSectionProps } from "./FormSection/types";
51
+ export { PhotoUpload } from "./PhotoUpload";
52
+ export type { PhotoUploadProps } from "./PhotoUpload/types";
53
+ export { CancelIcon, ErrorIcon, SearchIcon, HomeIcon, VideocamIcon, FacialIcon as FacialNewIcon, CarIcon, TodayIcon, PhotoIcon, PlateCloneIcon, SettingsIcon, InboxIcon, LprIcon, LogoutIcon, DarkModeIcon, LightModeIcon, NotificationsIcon, PersonIcon, UploadIcon, EditIcon, DeleteIcon, LoadingFrame1, LoadingFrame2, LoadingFrame3, LoadingFrame4, LoadingFrame5, LoadingFrame6, LoadingFrame7, } from "./Icons";
48
54
  export { ViewChip } from "./ViewChip";
49
55
  export type { ViewChipProps } from "./ViewChip/types";
50
56
  export { SortDropdown } from "./SortDropdown";
@@ -56,4 +62,26 @@ export type { PaginationProps } from "./Pagination/types";
56
62
  export { ContentCard } from "./ContentCard";
57
63
  export type { ContentCardProps, ContentCardSection } from "./ContentCard/types";
58
64
  export { ListPageLayout, ListPageActionBar } from "./ListPageLayout";
59
- export type { ListPageLayoutProps, ListPageActionBarProps, FilterChipData, } from "./ListPageLayout/types";
65
+ export type { ListPageLayoutProps, ListPageActionBarProps, FilterChipData } from "./ListPageLayout/types";
66
+ export { EventDetailsLayout } from "./EventDetailsLayout";
67
+ export type { EventDetailsLayoutProps } from "./EventDetailsLayout/types";
68
+ export { EventPersonInfo } from "./EventPersonInfo";
69
+ export type { EventPersonInfoProps } from "./EventPersonInfo/types";
70
+ export { EventCompatibility } from "./EventCompatibility";
71
+ export type { EventCompatibilityProps } from "./EventCompatibility/types";
72
+ export { EventPhotoComparison } from "./EventPhotoComparison";
73
+ export type { EventPhotoComparisonProps } from "./EventPhotoComparison/types";
74
+ export { EventVideoPreview } from "./EventVideoPreview";
75
+ export type { EventVideoPreviewProps } from "./EventVideoPreview/types";
76
+ export { EventLocation } from "./EventLocation";
77
+ export type { EventLocationProps, NearbyEvent } from "./EventLocation/types";
78
+ export { ImageWithFallback } from "./ImageWithFallback";
79
+ export type { ImageWithFallbackProps } from "./ImageWithFallback/types";
80
+ export { ActionButton } from "./ActionButton";
81
+ export type { ActionButtonProps, ActionButtonVariant, ActionButtonSize, ActionButtonShape } from "./ActionButton/types";
82
+ export { LoadingScreen } from "./LoadingScreen";
83
+ export type { LoadingScreenProps } from "./LoadingScreen/types";
84
+ export { TagBadge } from "./TagBadge";
85
+ export type { TagBadgeProps } from "./TagBadge/types";
86
+ export { FormTagSelect } from "./FormTagSelect";
87
+ export type { FormTagSelectProps, TagOption } from "./FormTagSelect/types";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visio-io/design-system",
3
- "version": "1.8.26",
3
+ "version": "1.8.28",
4
4
  "description": "Visio Design System",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -35,8 +35,8 @@
35
35
  "peerDependencies": {
36
36
  "@emotion/react": "^11.0.0",
37
37
  "@emotion/styled": "^11.0.0",
38
- "@mui/x-date-pickers": "^6.0.0 || ^7.0.0 || ^8.0.0",
39
38
  "@mui/material": "^7.3.6",
39
+ "@mui/x-date-pickers": "^6.0.0 || ^7.0.0 || ^8.0.0",
40
40
  "@vis.gl/react-google-maps": "^1.0.0",
41
41
  "dayjs": "^1.11.0",
42
42
  "jotai": "^2.16.2",
@@ -70,6 +70,7 @@
70
70
  "dependencies": {
71
71
  "@mui/icons-material": "^7.3.7",
72
72
  "framer-motion": "^12.29.2",
73
+ "hls.js": "^1.6.15",
73
74
  "supercluster": "^8.0.1"
74
75
  },
75
76
  "scripts": {
@@ -79,6 +80,7 @@
79
80
  "build-storybook": "storybook build",
80
81
  "storybook": "storybook dev -p 6006",
81
82
  "type-check": "tsc --noEmit",
82
- "release": "pnpm build && changeset publish"
83
+ "release": "pnpm build && changeset publish",
84
+ "dev:yalc": "YALC=1 vite build --watch"
83
85
  }
84
86
  }
@@ -28,6 +28,12 @@
28
28
  --Others-Outline-Dark: #525253;
29
29
  --Others-Outline-Light: #C7C6C6;
30
30
 
31
+ --Static-Title-Large-Font: "Suisse Intl", "Inter", "Helvetica", "Arial", sans-serif;
32
+ --Static-Title-Large-Size: 22px;
33
+ --Static-Title-Large-Weight: 500;
34
+ --Static-Title-Large-Line-Height: 28px;
35
+ --Static-Title-Large-Tracking: 0;
36
+
31
37
  --Static-Label-Large-Font: "Suisse Intl", "Inter", "Helvetica", "Arial", sans-serif;
32
38
  --Static-Label-Large-Size: 14px;
33
39
  --Static-Label-Large-Line-Height: 20px;
@@ -35,9 +41,16 @@
35
41
 
36
42
  --Static-Label-Medium-Font: "Suisse Intl", "Inter", "Helvetica", "Arial", sans-serif;
37
43
  --Static-Label-Medium-Size: 12px;
44
+ --Static-Label-Medium-Weight: 500;
38
45
  --Static-Label-Medium-Line-Height: 16px;
39
46
  --Static-Label-Medium-Tracking: 0.5px;
40
47
 
48
+ --Static-Label-Small-Font: "Suisse Intl", "Inter", "Helvetica", "Arial", sans-serif;
49
+ --Static-Label-Small-Size: 11px;
50
+ --Static-Label-Small-Weight: 500;
51
+ --Static-Label-Small-Line-Height: 16px;
52
+ --Static-Label-Small-Tracking: 0.5px;
53
+
41
54
  --Static-Body-Small-Font: "Suisse Intl", "Inter", "Helvetica", "Arial", sans-serif;
42
55
  --Static-Body-Small-Size: 12px;
43
56
  --Static-Body-Small-Line-Height: 16px;