@vivix-labs/dashboard-projects 1.0.0-beta → 1.0.0-beta.11

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.
@@ -0,0 +1,93 @@
1
+ Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -1,93 +1,49 @@
1
- /* packages/studio-workbench/src/home.css */
2
- @font-face {
3
- font-family: "Inria Serif";
4
- font-style: italic;
5
- font-weight: 700;
6
- font-display: swap;
7
- src: url("./assets/inria-serif-latin-700-italic-UNRIXGAH.woff2") format("woff2");
8
- }
9
- .studio-home {
1
+ /* packages/dashboard-projects/src/create-project-dialog.css */
2
+ .studio-home-create-form {
10
3
  display: grid;
11
- gap: 8px;
12
- inline-size: 100%;
13
- max-inline-size: 1920px;
14
- align-self: center;
15
- min-width: 0;
16
- }
17
- .studio-home-toolbar,
18
- .studio-home-panel > header {
19
- display: flex;
20
- align-items: center;
21
- justify-content: space-between;
22
- gap: 8px;
23
- }
24
- .studio-home-toolbar {
25
- flex-wrap: wrap;
26
- }
27
- .studio-home-hero {
28
- position: relative;
29
- overflow: hidden;
30
- min-block-size: 123px;
31
- border-radius: 16px;
32
- isolation: isolate;
33
- container: dashboard-hero / inline-size;
34
- background:
35
- linear-gradient(
36
- 90deg,
37
- rgb(255 255 255 / 40%),
38
- rgb(255 255 255 / 60%) 55.28%),
39
- url("./assets/hero-base-5KRPU5WN.png") 50% 32.44% / 108.95% 839.02% no-repeat;
40
- }
41
- .studio-home-hero::before {
42
- position: absolute;
43
- left: 53.31%;
44
- top: calc(50% - 2.365cqw);
45
- width: max(85.56cqw, 380px);
46
- height: max(114.04cqw, 507px);
47
- transform: translate(-50%, -50%) rotate(90deg);
48
- z-index: -1;
49
- content: "";
50
- --hero-wash: light-dark(rgb(255 255 255 / 40%), rgb(0 0 0 / 70%));
51
- background: linear-gradient(var(--hero-wash), var(--hero-wash)), url("./assets/hero-landscape-H35LYO4H.png") center / cover;
52
- }
53
- .studio-home-hero h1 {
54
- color: var(--vx-text-primary);
55
- margin: 0;
56
- font: italic 700 32px/1.15 "Inria Serif", serif;
4
+ gap: var(--vx-space-16);
57
5
  }
58
- .studio-home-hero p {
59
- margin: 0;
6
+ .studio-home-create-field {
7
+ display: grid;
8
+ gap: var(--vx-space-8);
60
9
  color: var(--vx-text-secondary);
10
+ font: var(--vx-typography-inter-14-regular);
61
11
  }
62
- .studio-home-panels {
63
- display: grid;
64
- gap: 8px;
65
- min-width: 0;
12
+ .studio-home-create-form p {
13
+ margin: 0;
14
+ color: var(--vx-text-secondary-readable);
66
15
  }
16
+
17
+ /* packages/dashboard-projects/src/card.css */
67
18
  .studio-home-panel {
19
+ --home-panel-inset: 16px;
68
20
  min-width: 0;
69
21
  border-radius: 12px;
70
22
  background: var(--vx-background-dialog);
71
23
  }
72
24
  .studio-home-panel > header {
25
+ display: flex;
26
+ align-items: center;
27
+ justify-content: space-between;
28
+ gap: 8px;
73
29
  min-height: 44px;
74
30
  padding: 0 var(--home-panel-inset);
75
31
  }
76
32
  .studio-home-panel > header h2 {
77
33
  margin: 0;
78
- font-size: 16px;
34
+ font: var(--vx-typography-inter-16-semi-bold);
79
35
  }
80
36
  .studio-home-grid {
81
37
  display: grid;
82
- grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr));
38
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 32px) / 5))), 1fr));
83
39
  gap: 8px;
84
- padding: 12px;
40
+ padding: 0 var(--home-panel-inset) var(--home-panel-inset);
85
41
  }
86
- .studio-home-tile {
42
+ .studio-home-panel .studio-home-tile {
87
43
  display: grid;
88
44
  align-content: start;
89
45
  text-align: start;
90
- gap: 4px;
46
+ gap: var(--vx-space-8);
91
47
  min-width: 0;
92
48
  width: 100%;
93
49
  color: inherit;
@@ -97,6 +53,14 @@
97
53
  padding: 0;
98
54
  cursor: pointer;
99
55
  }
56
+ .studio-home-caption {
57
+ display: grid;
58
+ min-width: 0;
59
+ gap: var(--vx-space-4);
60
+ }
61
+ .studio-home-caption > strong {
62
+ font: var(--vx-typography-inter-14-semi-bold);
63
+ }
100
64
  .studio-home-tile:disabled {
101
65
  opacity: 0.5;
102
66
  cursor: default;
@@ -112,16 +76,15 @@
112
76
  color: var(--vx-text-secondary);
113
77
  }
114
78
  .studio-home-cover {
79
+ position: relative;
115
80
  display: grid;
116
81
  width: 100%;
117
82
  aspect-ratio: 16 / 9;
118
83
  place-items: center;
119
84
  overflow: hidden;
120
85
  border-radius: 8px;
121
- background: var(--vx-surface-input);
122
- }
123
- .studio-home-cover {
124
- position: relative;
86
+ background: var(--vx-cover-background);
87
+ color: var(--vx-text-on-content-secondary);
125
88
  }
126
89
  .studio-home-cover img,
127
90
  .studio-home-cover video {
@@ -131,129 +94,10 @@
131
94
  height: 100%;
132
95
  object-fit: contain;
133
96
  }
134
- .studio-home-cover:has(img, video) {
135
- background: #151515;
136
- }
137
- .studio-home-template {
138
- container-type: inline-size;
139
- position: relative;
140
- min-width: 0;
141
- }
142
- .studio-home-template > button:last-child {
143
- position: absolute;
144
- inset: 0 0 auto;
145
- translate: 0 -50%;
146
- top: 28.125cqw;
147
- margin: auto;
148
- height: max-content;
149
- width: max-content;
150
- opacity: 0;
151
- background: var(--vx-background-page);
152
- }
153
- .studio-home-template:hover > button:last-child,
154
- .studio-home-template:focus-within > button:last-child {
155
- opacity: 1;
156
- }
157
- .studio-home-empty {
158
- padding: 12px;
159
- margin: 0;
160
- color: var(--vx-text-secondary);
161
- }
162
- .studio-home-dialog textarea {
163
- box-sizing: border-box;
164
- width: 100%;
165
- resize: vertical;
166
- padding: 10px;
167
- border: 1px solid var(--vx-border-secondary);
168
- border-radius: 8px;
169
- background: var(--vx-surface-input);
170
- color: var(--vx-text-primary);
171
- font: inherit;
172
- }
173
- .studio-home-dialog .studio-home-preview {
174
- margin-bottom: 12px;
175
- max-height: 240px;
176
- }
177
- @media (max-width: 660px) {
178
- .studio-home-hero h1 {
179
- font-size: 24px;
180
- }
181
- .studio-home-grid {
182
- grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
183
- }
184
- }
185
- @media (hover: none) {
186
- .studio-home-template > button:last-child {
187
- opacity: 1;
188
- }
189
- }
190
- .studio-home {
191
- --home-panel-inset: 16px;
192
- }
193
- .studio-home-toolbar > .vx-segment {
194
- width: max-content;
195
- max-width: 100%;
196
- border: 1px solid var(--vx-border-secondary);
197
- border-radius: 999px;
198
- }
199
- .studio-home-hero-copy {
200
- padding: 24px 343px 32px 24px;
201
- }
202
- .studio-home-grid {
203
- padding: 0 var(--home-panel-inset) var(--home-panel-inset);
204
- }
205
- .studio-home-grid:not(.studio-home-gallery) {
206
- grid-template-columns: repeat(auto-fill, minmax(min(100%, max(150px, calc((100% - 32px) / 5))), 1fr));
207
- }
208
- .studio-home-views {
209
- margin-block-start: 4px;
210
- --vx-tabs-primary-height: 55px;
211
- }
212
- .studio-home-views .vx-tabs {
213
- padding-inline: var(--home-panel-inset);
214
- border-block-end: 1px solid var(--vx-border-secondary);
215
- }
216
- .studio-home-views .vx-tab-list {
217
- gap: var(--vx-space-16);
218
- }
219
- .studio-home-views [role=tab] {
220
- padding-inline: 0;
221
- }
222
- .studio-home-views .studio-home-empty {
223
- padding: var(--home-panel-inset);
224
- }
225
- .studio-home-template-summary {
226
- color: var(--vx-text-secondary-readable);
227
- font: var(--vx-typography-inter-12-regular);
228
- }
229
- .studio-home-gallery {
230
- padding-block-start: var(--home-panel-inset);
231
- grid-template-columns: repeat(auto-fill, minmax(min(100%, max(240px, calc((100% - 24px) / 4))), 1fr));
232
- }
233
- .studio-home-template > button:last-child:not(:focus-visible) {
234
- pointer-events: none;
235
- }
236
- .studio-home-template:hover > button:last-child,
237
- .studio-home-template:focus-within > button:last-child {
238
- pointer-events: auto;
239
- }
240
- @media (hover: none) {
241
- .studio-home-template > button:last-child:not(:focus-visible) {
242
- pointer-events: auto;
243
- opacity: 1;
244
- }
245
- }
246
- @media (max-width: 660px) {
247
- .studio-home {
248
- --home-panel-inset: 12px;
249
- }
250
- .studio-home-grid:not(.studio-home-gallery) {
251
- grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
252
- }
253
- }
254
97
  .studio-home-create .studio-home-cover {
255
98
  border: 1px dashed var(--vx-border-secondary);
256
99
  background: var(--vx-surface-input);
100
+ color: var(--vx-text-primary);
257
101
  }
258
102
  .studio-home-create .studio-home-cover > span {
259
103
  display: grid;
@@ -263,44 +107,11 @@
263
107
  border-radius: 4px;
264
108
  background: var(--vx-background-dialog);
265
109
  }
266
- .studio-home-create-form {
267
- display: grid;
268
- gap: var(--vx-space-12);
269
- }
270
- .studio-home-create-form p {
271
- color: var(--vx-text-secondary-readable);
272
- }
273
- .studio-home-toolbar .vx-segment-item {
274
- padding-inline: var(--vx-space-16);
275
- border-radius: 999px;
276
- font: var(--vx-typography-inter-16-medium);
277
- }
278
- .studio-home-toolbar input:checked + .vx-segment-item {
279
- color: var(--vx-state-success);
280
- background: color-mix(in srgb, var(--vx-state-success) 16%, var(--vx-background-page));
281
- }
282
- .studio-home-view-all.vx-button {
283
- background: transparent;
284
- color: var(--vx-state-success);
285
- }
286
- .studio-home-actions {
287
- display: flex;
288
- gap: 8px;
289
- align-items: center;
290
- margin-inline-start: auto;
291
- }
292
- .studio-home-script-preview {
293
- position: absolute;
294
- inset: 10% 12% 0;
295
- padding: 8px 10px;
296
- white-space: pre-line;
297
- overflow: hidden;
298
- overflow-wrap: anywhere;
299
- background: var(--vx-background-dialog);
300
- border-radius: 4px 4px 0 0;
301
- font:
302
- 12px/1.4 "Inria Serif",
303
- Georgia,
304
- serif;
305
- mask-image: linear-gradient(#000 65%, transparent);
110
+ @media (max-width: 660px) {
111
+ .studio-home-panel {
112
+ --home-panel-inset: 12px;
113
+ }
114
+ .studio-home-grid {
115
+ grid-template-columns: repeat(auto-fill, minmax(min(100%, 132px), 1fr));
116
+ }
306
117
  }