@stream-io/video-styling 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.
Files changed (83) hide show
  1. package/CHANGELOG.md +135 -0
  2. package/LICENSE +219 -0
  3. package/README.md +11 -0
  4. package/dist/css/styles.css +2548 -0
  5. package/dist/css/styles.css.map +1 -0
  6. package/index.scss +31 -0
  7. package/package.json +15 -0
  8. package/project.json +51 -0
  9. package/src/Avatar/Avatar-layout.scss +16 -0
  10. package/src/Avatar/Avatar-theme.scss +24 -0
  11. package/src/Avatar/index.scss +2 -0
  12. package/src/BackgroundFilters/BackgroundFilters-layout.scss +34 -0
  13. package/src/BackgroundFilters/index.scss +1 -0
  14. package/src/Button/Button-layout.scss +124 -0
  15. package/src/Button/Button-theme.scss +165 -0
  16. package/src/Button/index.scss +2 -0
  17. package/src/CallControls/CallControls-layout.scss +69 -0
  18. package/src/CallControls/CancelCallButton.scss +114 -0
  19. package/src/CallControls/index.scss +2 -0
  20. package/src/CallLayout/LivestreamLayout-layout.scss +115 -0
  21. package/src/CallLayout/PaginatedGridLayout-layout.scss +44 -0
  22. package/src/CallLayout/SpeakerLayout-layout.scss +148 -0
  23. package/src/CallLayout/index.scss +3 -0
  24. package/src/CallParticipantList/CallParticiantListingItem-layout.scss +36 -0
  25. package/src/CallParticipantList/CallParticiantListingItem-theme.scss +50 -0
  26. package/src/CallParticipantList/CallParticipantList-layout.scss +113 -0
  27. package/src/CallParticipantList/CallParticipantList-theme.scss +0 -0
  28. package/src/CallParticipantList/index.scss +4 -0
  29. package/src/CallPreview/CallPreview-layout.scss +6 -0
  30. package/src/CallPreview/index.scss +1 -0
  31. package/src/CallRecodingList/CallRecordingList-layout.scss +60 -0
  32. package/src/CallRecodingList/CallRecordingList-theme.scss +50 -0
  33. package/src/CallRecodingList/index.scss +2 -0
  34. package/src/CallStats.scss +118 -0
  35. package/src/DeviceSettings/DeviceSettings-layout.scss +113 -0
  36. package/src/DeviceSettings/index.scss +1 -0
  37. package/src/DropdownSelect/DropdownSelect.scss +104 -0
  38. package/src/DropdownSelect/index.scss +1 -0
  39. package/src/Icon/Icon-layout.scss +11 -0
  40. package/src/Icon/Icon-theme.scss +348 -0
  41. package/src/Icon/index.scss +2 -0
  42. package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
  43. package/src/LoadingIndicator/LoadingIndicator-theme.scss +20 -0
  44. package/src/LoadingIndicator/index.scss +2 -0
  45. package/src/Menu/GenericMenu-layout.scss +62 -0
  46. package/src/Menu/GenericMenu-theme.scss +0 -0
  47. package/src/Menu/Menu-layout.scss +9 -0
  48. package/src/Menu/Menu-theme.scss +4 -0
  49. package/src/Menu/Portal-layout.scss +21 -0
  50. package/src/Menu/index.scss +5 -0
  51. package/src/Notification/Notification-layout.scss +26 -0
  52. package/src/Notification/Notification-theme.scss +19 -0
  53. package/src/Notification/index.scss +2 -0
  54. package/src/ParticipantView/ParticipantView-layout.scss +213 -0
  55. package/src/ParticipantView/index.scss +1 -0
  56. package/src/Permissions/Permissions-layout.scss +55 -0
  57. package/src/Permissions/index.scss +1 -0
  58. package/src/Reaction/Reaction-layout.scss +11 -0
  59. package/src/Reaction/index.scss +1 -0
  60. package/src/RingingCall/RingingCall-layout.scss +43 -0
  61. package/src/RingingCall/RingingCall-theme.scss +39 -0
  62. package/src/RingingCall/index.scss +2 -0
  63. package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +28 -0
  64. package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +19 -0
  65. package/src/ScreenShareOverlay/index.scss +2 -0
  66. package/src/Search/SearchInput-layout.scss +29 -0
  67. package/src/Search/SearchInput-theme.scss +65 -0
  68. package/src/Search/index.scss +2 -0
  69. package/src/StreamCall.scss +16 -0
  70. package/src/Tooltip/Tooltip-layout.scss +10 -0
  71. package/src/Tooltip/Tooltip-theme.scss +37 -0
  72. package/src/Tooltip/index.scss +2 -0
  73. package/src/Video/Video-layout.scss +15 -0
  74. package/src/Video/Video-theme.scss +3 -0
  75. package/src/Video/VideoPlaceholder-layout.scss +22 -0
  76. package/src/Video/VideoPlaceholder-theme.scss +16 -0
  77. package/src/Video/index.scss +4 -0
  78. package/src/VideoPreview/VideoPreview-layout.scss +29 -0
  79. package/src/VideoPreview/VideoPreview-theme.scss +37 -0
  80. package/src/VideoPreview/index.scss +2 -0
  81. package/src/_base.scss +7 -0
  82. package/src/_global-theme-variables.scss +191 -0
  83. package/src/_utils.scss +50 -0
@@ -0,0 +1,50 @@
1
+ @mixin ellipsis-text {
2
+ white-space: nowrap;
3
+ overflow-y: visible;
4
+ // Not every browser support clip overflow, so hidden is defined as a fallback
5
+ overflow-x: hidden;
6
+ overflow-x: clip;
7
+ text-overflow: ellipsis;
8
+ }
9
+
10
+ @mixin apply-mask-image($imageDataUrl, $fill, $size: 1rem) {
11
+ mask-image: $imageDataUrl;
12
+ -webkit-mask-image: $imageDataUrl;
13
+ mask-repeat: no-repeat;
14
+ -webkit-mask-repeat: no-repeat;
15
+ mask-position: center;
16
+ -webkit-mask-position: center;
17
+ mask-size: $size;
18
+ -webkit-mask-size: $size;
19
+ background-color: $fill;
20
+ }
21
+
22
+ @mixin component-layer-overrides($component-name, $important: '') {
23
+ background: var(--str-video__#{$component-name}--background-color) #{$important};
24
+ color: var(--str-video__#{$component-name}--color) #{$important};
25
+ box-shadow: var(--str-video__#{$component-name}--box-shadow) #{$important};
26
+ border-radius: var(--str-video__#{$component-name}--border-radius) #{$important};
27
+ border-block-start: var(--str-video__#{$component-name}--border-block-start) #{$important};
28
+ border-block-end: var(--str-video__#{$component-name}--border-block-end) #{$important};
29
+ border-inline-start: var(--str-video__#{$component-name}--border-inline-start) #{$important};
30
+ border-inline-end: var(--str-video__#{$component-name}--border-inline-end) #{$important};
31
+ }
32
+
33
+
34
+ @mixin reset-select {
35
+ // A reset of styles, including removing the default dropdown arrow
36
+ appearance: none;
37
+ -webkit-appearance: none;
38
+ -moz-appearance: none;
39
+ // Additional resets for further consistency
40
+ background-color: transparent;
41
+ border: none;
42
+ padding: 0 1em 0 0;
43
+ margin: 0;
44
+ width: 100%;
45
+ font-family: inherit;
46
+ font-size: inherit;
47
+ cursor: inherit;
48
+ line-height: inherit;
49
+ outline: none;
50
+ }