@seed-design/css 3.4.1 → 3.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seed-design/css",
3
- "version": "3.4.1",
3
+ "version": "3.5.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
@@ -280,6 +280,8 @@
280
280
  height: var(--seed-dimension-x6);
281
281
  padding-inline: var(--seed-dimension-x1);
282
282
  background-color: var(--seed-color-bg-overlay);
283
+ -webkit-backdrop-filter: blur(2px);
284
+ backdrop-filter: blur(2px);
283
285
  border-radius: 0 0 var(--seed-radius-r3) var(--seed-radius-r3);
284
286
  }
285
287
  .seed-attachment-input-item__badgeLabel--type_image {
@@ -291,6 +293,27 @@
291
293
  font-weight: var(--seed-font-weight-medium);
292
294
  color: var(--seed-color-palette-static-white);
293
295
  }
296
+ .seed-attachment-input-item__durationBadge--type_image {
297
+ position: absolute;
298
+ top: var(--seed-dimension-x1_5);
299
+ left: var(--seed-dimension-x1_5);
300
+ display: flex;
301
+ align-items: center;
302
+ padding-inline: var(--seed-dimension-x1_5);
303
+ padding-block: var(--seed-dimension-x0_5);
304
+ background-color: var(--seed-color-palette-static-black-alpha-800);
305
+ border-radius: var(--seed-radius-full);
306
+ -webkit-backdrop-filter: blur(2px);
307
+ backdrop-filter: blur(2px);
308
+ }
309
+ .seed-attachment-input-item__durationBadgeLabel--type_image {
310
+ white-space: nowrap;
311
+ font-variant-numeric: tabular-nums;
312
+ font-size: var(--seed-font-size-t1);
313
+ line-height: var(--seed-line-height-t1);
314
+ font-weight: var(--seed-font-weight-medium);
315
+ color: var(--seed-color-palette-static-white);
316
+ }
294
317
  .seed-attachment-input-item__backdrop--type_image {
295
318
  background: var(--seed-color-bg-overlay);
296
319
  }
@@ -11,7 +11,7 @@ declare type AttachmentInputItemVariantMap = {
11
11
 
12
12
  export declare type AttachmentInputItemVariantProps = Partial<AttachmentInputItemVariant>;
13
13
 
14
- export declare type AttachmentInputItemSlotName = "root" | "image" | "thumbnail" | "metadata" | "name" | "size" | "badge" | "badgeLabel" | "backdrop" | "actionButton" | "removeButton" | "reorderHandle";
14
+ export declare type AttachmentInputItemSlotName = "root" | "image" | "thumbnail" | "metadata" | "name" | "size" | "badge" | "badgeLabel" | "durationBadge" | "durationBadgeLabel" | "backdrop" | "actionButton" | "removeButton" | "reorderHandle";
15
15
 
16
16
  export declare const attachmentInputItemVariantMap: AttachmentInputItemVariantMap;
17
17
 
@@ -305,6 +305,8 @@
305
305
  height: var(--seed-dimension-x6);
306
306
  padding-inline: var(--seed-dimension-x1);
307
307
  background-color: var(--seed-color-bg-overlay);
308
+ -webkit-backdrop-filter: blur(2px);
309
+ backdrop-filter: blur(2px);
308
310
  border-radius: 0 0 var(--seed-radius-r3) var(--seed-radius-r3);
309
311
  justify-content: center;
310
312
  align-items: center;
@@ -323,6 +325,29 @@
323
325
  overflow: hidden;
324
326
  }
325
327
 
328
+ .seed-attachment-input-item__durationBadge--type_image {
329
+ top: var(--seed-dimension-x1_5);
330
+ left: var(--seed-dimension-x1_5);
331
+ padding-inline: var(--seed-dimension-x1_5);
332
+ padding-block: var(--seed-dimension-x0_5);
333
+ background-color: var(--seed-color-palette-static-black-alpha-800);
334
+ border-radius: var(--seed-radius-full);
335
+ -webkit-backdrop-filter: blur(2px);
336
+ backdrop-filter: blur(2px);
337
+ align-items: center;
338
+ display: flex;
339
+ position: absolute;
340
+ }
341
+
342
+ .seed-attachment-input-item__durationBadgeLabel--type_image {
343
+ white-space: nowrap;
344
+ font-variant-numeric: tabular-nums;
345
+ font-size: var(--seed-font-size-t1);
346
+ line-height: var(--seed-line-height-t1);
347
+ font-weight: var(--seed-font-weight-medium);
348
+ color: var(--seed-color-palette-static-white);
349
+ }
350
+
326
351
  .seed-attachment-input-item__backdrop--type_image {
327
352
  background: var(--seed-color-bg-overlay);
328
353
  }
@@ -34,6 +34,14 @@ const attachmentInputItemSlotNames = [
34
34
  "badgeLabel",
35
35
  "seed-attachment-input-item__badgeLabel"
36
36
  ],
37
+ [
38
+ "durationBadge",
39
+ "seed-attachment-input-item__durationBadge"
40
+ ],
41
+ [
42
+ "durationBadgeLabel",
43
+ "seed-attachment-input-item__durationBadgeLabel"
44
+ ],
37
45
  [
38
46
  "backdrop",
39
47
  "seed-attachment-input-item__backdrop"
@@ -34,6 +34,14 @@ const attachmentInputItemSlotNames = [
34
34
  "badgeLabel",
35
35
  "seed-attachment-input-item__badgeLabel"
36
36
  ],
37
+ [
38
+ "durationBadge",
39
+ "seed-attachment-input-item__durationBadge"
40
+ ],
41
+ [
42
+ "durationBadgeLabel",
43
+ "seed-attachment-input-item__durationBadgeLabel"
44
+ ],
37
45
  [
38
46
  "backdrop",
39
47
  "seed-attachment-input-item__backdrop"