@synnaxlabs/media 0.43.0 → 0.44.1
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/index.d.ts +0 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/media.cjs +4 -4
- package/dist/media.css +1 -1
- package/dist/media.js +212 -1085
- package/package.json +10 -10
- package/dist/Icon/index.d.ts +0 -200
- package/dist/Icon/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synnaxlabs/media",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.44.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Media Assets for Synnax Labs",
|
|
6
6
|
"repository": "https://github.com/synnaxlabs/synnax/tree/main/x/media",
|
|
@@ -18,15 +18,15 @@
|
|
|
18
18
|
"react-icons": "^5.5.0"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@types/node": "^24.0.
|
|
21
|
+
"@types/node": "^24.0.12",
|
|
22
22
|
"@types/react": "^19.1.8",
|
|
23
|
-
"@vitejs/plugin-react": "^4.
|
|
24
|
-
"eslint": "^9.
|
|
23
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
24
|
+
"eslint": "^9.30.1",
|
|
25
25
|
"madge": "^8.0.0",
|
|
26
|
-
"vite": "^
|
|
27
|
-
"@synnaxlabs/tsconfig": "0.0
|
|
28
|
-
"@synnaxlabs/vite-plugin": "0.43.0",
|
|
29
|
-
"eslint-config-synnaxlabs": "0.43.0"
|
|
26
|
+
"vite": "^7.0.4",
|
|
27
|
+
"@synnaxlabs/tsconfig": "^0.43.0",
|
|
28
|
+
"@synnaxlabs/vite-plugin": "^0.43.0",
|
|
29
|
+
"eslint-config-synnaxlabs": "^0.43.0"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"dist"
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"build": "vite build",
|
|
47
47
|
"watch": "vite build --watch",
|
|
48
48
|
"check-types": "tsc --noEmit",
|
|
49
|
-
"lint": "eslint
|
|
50
|
-
"fix": "eslint --
|
|
49
|
+
"lint": "eslint",
|
|
50
|
+
"fix": "eslint --fix",
|
|
51
51
|
"madge": "madge --circular src"
|
|
52
52
|
}
|
|
53
53
|
}
|
package/dist/Icon/index.d.ts
DELETED
|
@@ -1,200 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
export interface IconProps extends React.SVGProps<SVGSVGElement> {
|
|
3
|
-
}
|
|
4
|
-
export interface IconFC extends FC<IconProps> {
|
|
5
|
-
}
|
|
6
|
-
export interface IconType {
|
|
7
|
-
Pause: IconFC;
|
|
8
|
-
Play: IconFC;
|
|
9
|
-
Circle: IconFC;
|
|
10
|
-
Edit: IconFC;
|
|
11
|
-
EditOff: IconFC;
|
|
12
|
-
Add: IconFC;
|
|
13
|
-
Subtract: IconFC;
|
|
14
|
-
Copy: IconFC;
|
|
15
|
-
Close: IconFC;
|
|
16
|
-
Info: IconFC;
|
|
17
|
-
Warning: IconFC;
|
|
18
|
-
Check: IconFC;
|
|
19
|
-
Refresh: IconFC;
|
|
20
|
-
Delete: IconFC;
|
|
21
|
-
Time: IconFC;
|
|
22
|
-
Acquire: IconFC;
|
|
23
|
-
Analyze: IconFC;
|
|
24
|
-
Concepts: IconFC;
|
|
25
|
-
Expand: IconFC;
|
|
26
|
-
Visualize: IconFC;
|
|
27
|
-
Cluster: IconFC;
|
|
28
|
-
Schematic: IconFC;
|
|
29
|
-
Settings: IconFC;
|
|
30
|
-
Table: IconFC;
|
|
31
|
-
Caret: {
|
|
32
|
-
Right: IconFC;
|
|
33
|
-
Left: IconFC;
|
|
34
|
-
Up: IconFC;
|
|
35
|
-
Down: IconFC;
|
|
36
|
-
Top: IconFC;
|
|
37
|
-
Bottom: IconFC;
|
|
38
|
-
};
|
|
39
|
-
Arrow: {
|
|
40
|
-
Right: IconFC;
|
|
41
|
-
Left: IconFC;
|
|
42
|
-
Up: IconFC;
|
|
43
|
-
Down: IconFC;
|
|
44
|
-
Top: IconFC;
|
|
45
|
-
Bottom: IconFC;
|
|
46
|
-
};
|
|
47
|
-
Reference: IconFC;
|
|
48
|
-
Bolt: IconFC;
|
|
49
|
-
Download: IconFC;
|
|
50
|
-
Import: IconFC;
|
|
51
|
-
Export: IconFC;
|
|
52
|
-
Range: IconFC;
|
|
53
|
-
Node: IconFC;
|
|
54
|
-
Channel: IconFC;
|
|
55
|
-
Wave: {
|
|
56
|
-
Sawtooth: IconFC;
|
|
57
|
-
Sine: IconFC;
|
|
58
|
-
Triangle: IconFC;
|
|
59
|
-
Square: IconFC;
|
|
60
|
-
};
|
|
61
|
-
Resources: IconFC;
|
|
62
|
-
Group: IconFC;
|
|
63
|
-
Workspace: IconFC;
|
|
64
|
-
Box: IconFC;
|
|
65
|
-
Python: IconFC;
|
|
66
|
-
TypeScript: IconFC;
|
|
67
|
-
NPM: IconFC;
|
|
68
|
-
PNPM: IconFC;
|
|
69
|
-
Yarn: IconFC;
|
|
70
|
-
QuestionMark: IconFC;
|
|
71
|
-
Menu: IconFC;
|
|
72
|
-
Logo: {
|
|
73
|
-
Apple: IconFC;
|
|
74
|
-
Docker: IconFC;
|
|
75
|
-
Github: IconFC;
|
|
76
|
-
LabJack: IconFC;
|
|
77
|
-
LinkedIn: IconFC;
|
|
78
|
-
Linux: IconFC;
|
|
79
|
-
NI: IconFC;
|
|
80
|
-
OPC: IconFC;
|
|
81
|
-
Windows: IconFC;
|
|
82
|
-
};
|
|
83
|
-
Keyboard: {
|
|
84
|
-
Command: IconFC;
|
|
85
|
-
Windows: IconFC;
|
|
86
|
-
Tab: IconFC;
|
|
87
|
-
Return: IconFC;
|
|
88
|
-
Backspace: IconFC;
|
|
89
|
-
Capslock: IconFC;
|
|
90
|
-
Hide: IconFC;
|
|
91
|
-
Control: IconFC;
|
|
92
|
-
Arrow: {
|
|
93
|
-
Up: IconFC;
|
|
94
|
-
Down: IconFC;
|
|
95
|
-
Left: IconFC;
|
|
96
|
-
Right: IconFC;
|
|
97
|
-
};
|
|
98
|
-
Alt: IconFC;
|
|
99
|
-
Option: IconFC;
|
|
100
|
-
Shift: IconFC;
|
|
101
|
-
};
|
|
102
|
-
Zoom: IconFC;
|
|
103
|
-
Pan: IconFC;
|
|
104
|
-
Selection: IconFC;
|
|
105
|
-
Snooze: IconFC;
|
|
106
|
-
Tooltip: IconFC;
|
|
107
|
-
Annotate: IconFC;
|
|
108
|
-
Rule: IconFC;
|
|
109
|
-
User: IconFC;
|
|
110
|
-
Rename: IconFC;
|
|
111
|
-
Snapshot: IconFC;
|
|
112
|
-
Loading: IconFC;
|
|
113
|
-
Sync: IconFC;
|
|
114
|
-
Search: IconFC;
|
|
115
|
-
Auto: IconFC;
|
|
116
|
-
Align: {
|
|
117
|
-
Right: IconFC;
|
|
118
|
-
Left: IconFC;
|
|
119
|
-
XCenter: IconFC;
|
|
120
|
-
YCenter: IconFC;
|
|
121
|
-
Top: IconFC;
|
|
122
|
-
Bottom: IconFC;
|
|
123
|
-
};
|
|
124
|
-
TextAlign: {
|
|
125
|
-
Left: IconFC;
|
|
126
|
-
Center: IconFC;
|
|
127
|
-
Right: IconFC;
|
|
128
|
-
};
|
|
129
|
-
Hardware: IconFC;
|
|
130
|
-
Device: IconFC;
|
|
131
|
-
Task: IconFC;
|
|
132
|
-
Save: IconFC;
|
|
133
|
-
Connect: IconFC;
|
|
134
|
-
Disconnect: IconFC;
|
|
135
|
-
Drag: IconFC;
|
|
136
|
-
Link: IconFC;
|
|
137
|
-
Attachment: IconFC;
|
|
138
|
-
Disable: IconFC;
|
|
139
|
-
Enable: IconFC;
|
|
140
|
-
Dynamic: IconFC;
|
|
141
|
-
Variable: IconFC;
|
|
142
|
-
Object: IconFC;
|
|
143
|
-
Type: IconFC;
|
|
144
|
-
LinePlot: IconFC;
|
|
145
|
-
Array: IconFC;
|
|
146
|
-
Label: IconFC;
|
|
147
|
-
Details: IconFC;
|
|
148
|
-
LinkExternal: IconFC;
|
|
149
|
-
Access: IconFC;
|
|
150
|
-
JSON: IconFC;
|
|
151
|
-
Guide: IconFC;
|
|
152
|
-
Focus: IconFC;
|
|
153
|
-
OpenInNewWindow: IconFC;
|
|
154
|
-
MoveToMainWindow: IconFC;
|
|
155
|
-
SplitX: IconFC;
|
|
156
|
-
SplitY: IconFC;
|
|
157
|
-
AutoFitWidth: IconFC;
|
|
158
|
-
Commit: IconFC;
|
|
159
|
-
Log: IconFC;
|
|
160
|
-
Tare: IconFC;
|
|
161
|
-
Rotate: IconFC;
|
|
162
|
-
Text: IconFC;
|
|
163
|
-
Value: IconFC;
|
|
164
|
-
Calendar: IconFC;
|
|
165
|
-
Release: IconFC;
|
|
166
|
-
OpenExternal: IconFC;
|
|
167
|
-
Feedback: IconFC;
|
|
168
|
-
Binary: IconFC;
|
|
169
|
-
Calculation: IconFC;
|
|
170
|
-
Index: IconFC;
|
|
171
|
-
Decimal: IconFC;
|
|
172
|
-
String: IconFC;
|
|
173
|
-
Control: IconFC;
|
|
174
|
-
Rack: IconFC;
|
|
175
|
-
Units: {
|
|
176
|
-
Acceleration: IconFC;
|
|
177
|
-
Current: IconFC;
|
|
178
|
-
Force: IconFC;
|
|
179
|
-
Pressure: IconFC;
|
|
180
|
-
Resistance: IconFC;
|
|
181
|
-
Strain: IconFC;
|
|
182
|
-
Temperature: IconFC;
|
|
183
|
-
Torque: IconFC;
|
|
184
|
-
Velocity: IconFC;
|
|
185
|
-
Voltage: IconFC;
|
|
186
|
-
};
|
|
187
|
-
Bridge: IconFC;
|
|
188
|
-
Sound: IconFC;
|
|
189
|
-
Function: IconFC;
|
|
190
|
-
Visible: IconFC;
|
|
191
|
-
Hidden: IconFC;
|
|
192
|
-
Virtual: IconFC;
|
|
193
|
-
Explore: IconFC;
|
|
194
|
-
Filter: IconFC;
|
|
195
|
-
StarFilled: IconFC;
|
|
196
|
-
StarOutlined: IconFC;
|
|
197
|
-
Heart: IconFC;
|
|
198
|
-
}
|
|
199
|
-
export declare const Icon: IconType;
|
|
200
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/Icon/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Icon/index.tsx"],"names":[],"mappings":"AASA,OAAO,iBAAiB,CAAC;AAGzB,OAAO,EAAE,KAAK,EAAE,EAAE,MAAM,OAAO,CAAC;AA8JhC,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC;CAAG;AACnE,MAAM,WAAW,MAAO,SAAQ,EAAE,CAAC,SAAS,CAAC;CAAG;AA0GhD,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;Q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