unifyedx-storybook-new 0.1.30 → 0.1.32
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.
|
@@ -1091,16 +1091,11 @@
|
|
|
1091
1091
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1092
1092
|
}
|
|
1093
1093
|
|
|
1094
|
-
.ring-1 {
|
|
1094
|
+
.ring, .ring-1 {
|
|
1095
1095
|
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1096
1096
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1097
1097
|
}
|
|
1098
1098
|
|
|
1099
|
-
.ring-2 {
|
|
1100
|
-
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
1101
|
-
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
1099
|
.ring-black {
|
|
1105
1100
|
--tw-ring-color: var(--color-black);
|
|
1106
1101
|
}
|
|
@@ -1109,10 +1104,6 @@
|
|
|
1109
1104
|
--tw-ring-color: var(--gray300);
|
|
1110
1105
|
}
|
|
1111
1106
|
|
|
1112
|
-
.ring-indigo-600 {
|
|
1113
|
-
--tw-ring-color: var(--color-indigo-600);
|
|
1114
|
-
}
|
|
1115
|
-
|
|
1116
1107
|
.ring-red-500 {
|
|
1117
1108
|
--tw-ring-color: var(--color-red-500);
|
|
1118
1109
|
}
|
|
@@ -1191,11 +1182,6 @@
|
|
|
1191
1182
|
transition-timing-function: var(--ease-out);
|
|
1192
1183
|
}
|
|
1193
1184
|
|
|
1194
|
-
.outline-none {
|
|
1195
|
-
--tw-outline-style: none;
|
|
1196
|
-
outline-style: none;
|
|
1197
|
-
}
|
|
1198
|
-
|
|
1199
1185
|
.select-none {
|
|
1200
1186
|
-webkit-user-select: none;
|
|
1201
1187
|
user-select: none;
|
|
@@ -1279,6 +1265,10 @@
|
|
|
1279
1265
|
--tw-ring-color: var(--color-blue-500);
|
|
1280
1266
|
}
|
|
1281
1267
|
|
|
1268
|
+
.focus\:ring-indigo-600:focus {
|
|
1269
|
+
--tw-ring-color: var(--color-indigo-600);
|
|
1270
|
+
}
|
|
1271
|
+
|
|
1282
1272
|
.focus\:ring-offset-2:focus {
|
|
1283
1273
|
--tw-ring-offset-width: 2px;
|
|
1284
1274
|
--tw-ring-offset-shadow: var(--tw-ring-inset, ) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
|
@@ -1311,6 +1301,11 @@
|
|
|
1311
1301
|
font-size: var(--text-sm);
|
|
1312
1302
|
line-height: var(--tw-leading, var(--text-sm--line-height));
|
|
1313
1303
|
}
|
|
1304
|
+
|
|
1305
|
+
.sm\:leading-6 {
|
|
1306
|
+
--tw-leading: calc(var(--spacing) * 6);
|
|
1307
|
+
line-height: calc(var(--spacing) * 6);
|
|
1308
|
+
}
|
|
1314
1309
|
}
|
|
1315
1310
|
}
|
|
1316
1311
|
|
|
@@ -4485,6 +4480,183 @@ body {
|
|
|
4485
4480
|
font-size: .875rem;
|
|
4486
4481
|
}
|
|
4487
4482
|
|
|
4483
|
+
.tv {
|
|
4484
|
+
color: #0f172a;
|
|
4485
|
+
background: #fff;
|
|
4486
|
+
border: 1px solid #e5e7eb;
|
|
4487
|
+
border-radius: 12px;
|
|
4488
|
+
width: 320px;
|
|
4489
|
+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
|
|
4490
|
+
}
|
|
4491
|
+
|
|
4492
|
+
.tv-header {
|
|
4493
|
+
background: #f8fafc;
|
|
4494
|
+
border-bottom: 1px solid #e5e7eb;
|
|
4495
|
+
justify-content: space-between;
|
|
4496
|
+
align-items: center;
|
|
4497
|
+
padding: 10px 12px;
|
|
4498
|
+
display: flex;
|
|
4499
|
+
}
|
|
4500
|
+
|
|
4501
|
+
.tv-title {
|
|
4502
|
+
font-weight: 600;
|
|
4503
|
+
}
|
|
4504
|
+
|
|
4505
|
+
.tv-btn {
|
|
4506
|
+
cursor: pointer;
|
|
4507
|
+
background: #fff;
|
|
4508
|
+
border: 1px solid #e5e7eb;
|
|
4509
|
+
border-radius: 8px;
|
|
4510
|
+
padding: 6px 10px;
|
|
4511
|
+
font-size: 12px;
|
|
4512
|
+
}
|
|
4513
|
+
|
|
4514
|
+
.tv-btn:hover {
|
|
4515
|
+
background: #f1f5f9;
|
|
4516
|
+
}
|
|
4517
|
+
|
|
4518
|
+
.tv-root-row {
|
|
4519
|
+
border-bottom: 1px dashed #e5e7eb;
|
|
4520
|
+
align-items: center;
|
|
4521
|
+
gap: 8px;
|
|
4522
|
+
padding: 8px 10px;
|
|
4523
|
+
display: flex;
|
|
4524
|
+
}
|
|
4525
|
+
|
|
4526
|
+
.tv-folder-ic {
|
|
4527
|
+
color: #2563eb;
|
|
4528
|
+
}
|
|
4529
|
+
|
|
4530
|
+
.tv-icon {
|
|
4531
|
+
cursor: pointer;
|
|
4532
|
+
background: none;
|
|
4533
|
+
border: none;
|
|
4534
|
+
margin-left: auto;
|
|
4535
|
+
}
|
|
4536
|
+
|
|
4537
|
+
.tv-list {
|
|
4538
|
+
max-height: 480px;
|
|
4539
|
+
padding: 4px 0;
|
|
4540
|
+
overflow: auto;
|
|
4541
|
+
}
|
|
4542
|
+
|
|
4543
|
+
.tv-row {
|
|
4544
|
+
border-radius: 8px;
|
|
4545
|
+
align-items: center;
|
|
4546
|
+
gap: 8px;
|
|
4547
|
+
margin: 2px 6px;
|
|
4548
|
+
padding: 6px 8px;
|
|
4549
|
+
display: flex;
|
|
4550
|
+
}
|
|
4551
|
+
|
|
4552
|
+
.tv-row:hover {
|
|
4553
|
+
background: #f8fafc;
|
|
4554
|
+
}
|
|
4555
|
+
|
|
4556
|
+
.tv-row.dragging {
|
|
4557
|
+
opacity: .6;
|
|
4558
|
+
}
|
|
4559
|
+
|
|
4560
|
+
.tv-toggle {
|
|
4561
|
+
cursor: pointer;
|
|
4562
|
+
background: none;
|
|
4563
|
+
border: none;
|
|
4564
|
+
justify-content: center;
|
|
4565
|
+
align-items: center;
|
|
4566
|
+
width: 22px;
|
|
4567
|
+
height: 22px;
|
|
4568
|
+
display: inline-flex;
|
|
4569
|
+
}
|
|
4570
|
+
|
|
4571
|
+
.tv-spacer {
|
|
4572
|
+
width: 16px;
|
|
4573
|
+
height: 16px;
|
|
4574
|
+
display: inline-block;
|
|
4575
|
+
}
|
|
4576
|
+
|
|
4577
|
+
.tv-name {
|
|
4578
|
+
text-overflow: ellipsis;
|
|
4579
|
+
white-space: nowrap;
|
|
4580
|
+
flex: 1;
|
|
4581
|
+
min-width: 0;
|
|
4582
|
+
font-size: 14px;
|
|
4583
|
+
overflow: hidden;
|
|
4584
|
+
}
|
|
4585
|
+
|
|
4586
|
+
.tv-input {
|
|
4587
|
+
border: 1px solid #cbd5e1;
|
|
4588
|
+
border-radius: 6px;
|
|
4589
|
+
width: 100%;
|
|
4590
|
+
padding: 4px 6px;
|
|
4591
|
+
font-size: 14px;
|
|
4592
|
+
}
|
|
4593
|
+
|
|
4594
|
+
.tv-actions {
|
|
4595
|
+
align-items: center;
|
|
4596
|
+
gap: 4px;
|
|
4597
|
+
margin-left: auto;
|
|
4598
|
+
display: flex;
|
|
4599
|
+
}
|
|
4600
|
+
|
|
4601
|
+
.tv-drag {
|
|
4602
|
+
cursor: grab;
|
|
4603
|
+
background: none;
|
|
4604
|
+
border: none;
|
|
4605
|
+
border-radius: 6px;
|
|
4606
|
+
justify-content: center;
|
|
4607
|
+
align-items: center;
|
|
4608
|
+
width: 22px;
|
|
4609
|
+
height: 22px;
|
|
4610
|
+
display: inline-flex;
|
|
4611
|
+
}
|
|
4612
|
+
|
|
4613
|
+
.tv-drag:hover {
|
|
4614
|
+
background: #eef2f7;
|
|
4615
|
+
}
|
|
4616
|
+
|
|
4617
|
+
.tv-drop-over {
|
|
4618
|
+
background: #eef6ff;
|
|
4619
|
+
border-radius: 8px;
|
|
4620
|
+
}
|
|
4621
|
+
|
|
4622
|
+
.tv {
|
|
4623
|
+
contain: content;
|
|
4624
|
+
}
|
|
4625
|
+
|
|
4626
|
+
.tv-list {
|
|
4627
|
+
position: relative;
|
|
4628
|
+
overflow: auto;
|
|
4629
|
+
}
|
|
4630
|
+
|
|
4631
|
+
.tv-overlay {
|
|
4632
|
+
pointer-events: none;
|
|
4633
|
+
background: #fff;
|
|
4634
|
+
border: 1px solid #e5e7eb;
|
|
4635
|
+
border-radius: 8px;
|
|
4636
|
+
align-items: center;
|
|
4637
|
+
gap: 4px;
|
|
4638
|
+
padding: 6px 10px;
|
|
4639
|
+
display: inline-flex;
|
|
4640
|
+
box-shadow: 0 10px 25px #0000001f;
|
|
4641
|
+
}
|
|
4642
|
+
|
|
4643
|
+
.tv-row {
|
|
4644
|
+
box-sizing: border-box;
|
|
4645
|
+
max-width: 100%;
|
|
4646
|
+
min-height: 34px;
|
|
4647
|
+
}
|
|
4648
|
+
|
|
4649
|
+
.tv-list {
|
|
4650
|
+
max-height: 520px;
|
|
4651
|
+
position: relative;
|
|
4652
|
+
overflow: auto;
|
|
4653
|
+
}
|
|
4654
|
+
|
|
4655
|
+
.tv {
|
|
4656
|
+
contain: content;
|
|
4657
|
+
position: relative;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4488
4660
|
@property --tw-translate-x {
|
|
4489
4661
|
syntax: "*";
|
|
4490
4662
|
inherits: false;
|
|
@@ -8327,3 +8499,176 @@ body {
|
|
|
8327
8499
|
font-size: 0.875rem;
|
|
8328
8500
|
color: #dc2626;
|
|
8329
8501
|
}
|
|
8502
|
+
/* container */
|
|
8503
|
+
.tv {
|
|
8504
|
+
width: 320px;
|
|
8505
|
+
border: 1px solid #e5e7eb;
|
|
8506
|
+
border-radius: 12px;
|
|
8507
|
+
background: #fff;
|
|
8508
|
+
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial,
|
|
8509
|
+
sans-serif;
|
|
8510
|
+
color: #0f172a;
|
|
8511
|
+
}
|
|
8512
|
+
.tv-header {
|
|
8513
|
+
display: flex;
|
|
8514
|
+
align-items: center;
|
|
8515
|
+
justify-content: space-between;
|
|
8516
|
+
padding: 10px 12px;
|
|
8517
|
+
border-bottom: 1px solid #e5e7eb;
|
|
8518
|
+
background: #f8fafc;
|
|
8519
|
+
}
|
|
8520
|
+
.tv-title {
|
|
8521
|
+
font-weight: 600;
|
|
8522
|
+
}
|
|
8523
|
+
.tv-btn {
|
|
8524
|
+
border: 1px solid #e5e7eb;
|
|
8525
|
+
background: #fff;
|
|
8526
|
+
padding: 6px 10px;
|
|
8527
|
+
border-radius: 8px;
|
|
8528
|
+
font-size: 12px;
|
|
8529
|
+
cursor: pointer;
|
|
8530
|
+
}
|
|
8531
|
+
.tv-btn:hover {
|
|
8532
|
+
background: #f1f5f9;
|
|
8533
|
+
}
|
|
8534
|
+
|
|
8535
|
+
.tv-root-row {
|
|
8536
|
+
display: flex;
|
|
8537
|
+
align-items: center;
|
|
8538
|
+
gap: 8px;
|
|
8539
|
+
padding: 8px 10px;
|
|
8540
|
+
border-bottom: 1px dashed #e5e7eb;
|
|
8541
|
+
}
|
|
8542
|
+
.tv-folder-ic {
|
|
8543
|
+
color: #2563eb;
|
|
8544
|
+
}
|
|
8545
|
+
.tv-icon {
|
|
8546
|
+
margin-left: auto;
|
|
8547
|
+
border: none;
|
|
8548
|
+
background: transparent;
|
|
8549
|
+
cursor: pointer;
|
|
8550
|
+
}
|
|
8551
|
+
|
|
8552
|
+
.tv-list {
|
|
8553
|
+
max-height: 480px;
|
|
8554
|
+
overflow: auto;
|
|
8555
|
+
padding: 4px 0;
|
|
8556
|
+
}
|
|
8557
|
+
|
|
8558
|
+
/* row */
|
|
8559
|
+
.tv-row-wrap {
|
|
8560
|
+
}
|
|
8561
|
+
.tv-row {
|
|
8562
|
+
display: flex;
|
|
8563
|
+
align-items: center;
|
|
8564
|
+
gap: 8px;
|
|
8565
|
+
border-radius: 8px;
|
|
8566
|
+
padding: 6px 8px;
|
|
8567
|
+
margin: 2px 6px;
|
|
8568
|
+
}
|
|
8569
|
+
.tv-row:hover {
|
|
8570
|
+
background: #f8fafc;
|
|
8571
|
+
}
|
|
8572
|
+
.tv-row.dragging {
|
|
8573
|
+
opacity: 0.6;
|
|
8574
|
+
}
|
|
8575
|
+
|
|
8576
|
+
.tv-toggle {
|
|
8577
|
+
width: 22px;
|
|
8578
|
+
height: 22px;
|
|
8579
|
+
display: inline-flex;
|
|
8580
|
+
align-items: center;
|
|
8581
|
+
justify-content: center;
|
|
8582
|
+
border: none;
|
|
8583
|
+
background: transparent;
|
|
8584
|
+
cursor: pointer;
|
|
8585
|
+
}
|
|
8586
|
+
.tv-spacer {
|
|
8587
|
+
width: 16px;
|
|
8588
|
+
height: 16px;
|
|
8589
|
+
display: inline-block;
|
|
8590
|
+
}
|
|
8591
|
+
.tv-name {
|
|
8592
|
+
flex: 1;
|
|
8593
|
+
min-width: 0;
|
|
8594
|
+
overflow: hidden;
|
|
8595
|
+
text-overflow: ellipsis;
|
|
8596
|
+
white-space: nowrap;
|
|
8597
|
+
font-size: 14px;
|
|
8598
|
+
}
|
|
8599
|
+
.tv-input {
|
|
8600
|
+
width: 100%;
|
|
8601
|
+
border: 1px solid #cbd5e1;
|
|
8602
|
+
border-radius: 6px;
|
|
8603
|
+
padding: 4px 6px;
|
|
8604
|
+
font-size: 14px;
|
|
8605
|
+
}
|
|
8606
|
+
.tv-actions {
|
|
8607
|
+
margin-left: auto;
|
|
8608
|
+
display: flex;
|
|
8609
|
+
align-items: center;
|
|
8610
|
+
gap: 4px;
|
|
8611
|
+
}
|
|
8612
|
+
|
|
8613
|
+
.tv-drag {
|
|
8614
|
+
width: 22px;
|
|
8615
|
+
height: 22px;
|
|
8616
|
+
display: inline-flex;
|
|
8617
|
+
align-items: center;
|
|
8618
|
+
justify-content: center;
|
|
8619
|
+
border: none;
|
|
8620
|
+
background: transparent;
|
|
8621
|
+
border-radius: 6px;
|
|
8622
|
+
cursor: grab;
|
|
8623
|
+
}
|
|
8624
|
+
.tv-drag:hover {
|
|
8625
|
+
background: #eef2f7;
|
|
8626
|
+
}
|
|
8627
|
+
|
|
8628
|
+
.tv-drop-over {
|
|
8629
|
+
background: #eef6ff;
|
|
8630
|
+
border-radius: 8px;
|
|
8631
|
+
}
|
|
8632
|
+
/* ====================================== */
|
|
8633
|
+
/* keep drag inside; avoid scroll growth */
|
|
8634
|
+
.tv {
|
|
8635
|
+
contain: content;
|
|
8636
|
+
}
|
|
8637
|
+
.tv-list {
|
|
8638
|
+
position: relative;
|
|
8639
|
+
overflow: auto;
|
|
8640
|
+
}
|
|
8641
|
+
|
|
8642
|
+
/* small, fixed-size drag preview */
|
|
8643
|
+
.tv-overlay {
|
|
8644
|
+
display: inline-flex;
|
|
8645
|
+
align-items: center;
|
|
8646
|
+
gap: 4px;
|
|
8647
|
+
padding: 6px 10px;
|
|
8648
|
+
border-radius: 8px;
|
|
8649
|
+
background: #fff;
|
|
8650
|
+
border: 1px solid #e5e7eb;
|
|
8651
|
+
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
|
|
8652
|
+
pointer-events: none;
|
|
8653
|
+
}
|
|
8654
|
+
|
|
8655
|
+
/* Make rows stable targets so collision detection never gets "lost" */
|
|
8656
|
+
.tv-row {
|
|
8657
|
+
min-height: 34px; /* stable hit area */
|
|
8658
|
+
max-width: 100%; /* never grow scroller horizontally */
|
|
8659
|
+
box-sizing: border-box;
|
|
8660
|
+
}
|
|
8661
|
+
|
|
8662
|
+
/* The scroll area is the dnd boundary; this prevents runaway bars */
|
|
8663
|
+
.tv-list {
|
|
8664
|
+
position: relative;
|
|
8665
|
+
overflow: auto;
|
|
8666
|
+
max-height: 520px; /* or whatever fits your panel */
|
|
8667
|
+
}
|
|
8668
|
+
|
|
8669
|
+
/* The container shouldn't affect overlay coordinates (even though we removed overlay,
|
|
8670
|
+
this also helps transforms/layout containment behavior) */
|
|
8671
|
+
.tv {
|
|
8672
|
+
position: relative;
|
|
8673
|
+
contain: content;
|
|
8674
|
+
}
|