@ansiversa/components 0.0.44 → 0.0.45

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": "@ansiversa/components",
3
- "version": "0.0.44",
3
+ "version": "0.0.45",
4
4
  "description": "Shared UI components and layouts for the Ansiversa ecosystem",
5
5
  "type": "module",
6
6
  "exports": {
@@ -250,6 +250,45 @@
250
250
  }
251
251
  }
252
252
 
253
+ /* FAQ admin */
254
+ .av-faq-admin__header {
255
+ padding: 0.75rem 0;
256
+ }
257
+
258
+ .av-faq-admin__section .av-container {
259
+ padding-top: 1rem;
260
+ }
261
+
262
+ .av-faq-admin__order {
263
+ display: grid;
264
+ gap: 0.4rem;
265
+ }
266
+
267
+ .av-faq-admin__order-actions {
268
+ display: flex;
269
+ gap: 0.35rem;
270
+ }
271
+
272
+ .av-faq-admin__crumbwrap {
273
+ display: grid;
274
+ gap: 0.25rem;
275
+ }
276
+
277
+ .av-faq-admin__count {
278
+ color: var(--ans-muted);
279
+ font-size: 0.875rem;
280
+ }
281
+
282
+ @media (min-width: 768px) {
283
+ .av-faq-admin__header {
284
+ padding: 1rem 0;
285
+ }
286
+
287
+ .av-faq-admin__section .av-container {
288
+ padding-top: 1.25rem;
289
+ }
290
+ }
291
+
253
292
  .av-page {
254
293
  @apply min-h-screen flex flex-col;
255
294
  }
@@ -309,6 +348,7 @@
309
348
  }
310
349
 
311
350
  .av-icon {
351
+ display: block;
312
352
  @apply h-4 w-4;
313
353
  fill: #fff;
314
354
  stroke: #fff;
@@ -680,6 +720,26 @@
680
720
  @apply bg-rose-500/80 border-rose-200;
681
721
  }
682
722
 
723
+ /* Drawer overlay --------------------------------------- */
724
+ .av-drawer-overlay {
725
+ position: fixed;
726
+ inset: 0;
727
+ background: rgba(15, 23, 42, 0.6);
728
+ display: flex;
729
+ align-items: stretch;
730
+ justify-content: flex-end;
731
+ padding: 1.5rem;
732
+ box-sizing: border-box;
733
+ z-index: 1000;
734
+ }
735
+
736
+ .av-drawer-overlay > * {
737
+ max-width: min(640px, 100%);
738
+ width: 100%;
739
+ max-height: 100vh;
740
+ overflow-y: auto;
741
+ }
742
+
683
743
  /* TABLE */
684
744
  .av-table {
685
745
  border: 1px solid var(--ans-border);
@@ -750,6 +810,27 @@
750
810
  white-space: nowrap;
751
811
  }
752
812
 
813
+ /* table column sizing + alignment */
814
+ .av-table__th-actions {
815
+ width: 240px;
816
+ text-align: right;
817
+ white-space: nowrap;
818
+ }
819
+
820
+ .av-table__td-actions {
821
+ text-align: right;
822
+ }
823
+
824
+ .av-table__th-order {
825
+ width: 84px;
826
+ white-space: nowrap;
827
+ }
828
+
829
+ /* strong cell text */
830
+ .av-table__cell-strong {
831
+ font-weight: 700;
832
+ }
833
+
753
834
  /* TOOLBAR */
754
835
  .av-table-toolbar {
755
836
  display: flex;
@@ -893,7 +974,7 @@
893
974
  }
894
975
 
895
976
  .av-navbar-inner {
896
- @apply w-full max-w-5xl mx-auto px-1 flex items-center justify-between py-3 gap-4;
977
+ @apply w-full max-w-none px-0 flex items-center justify-between py-3 gap-4;
897
978
  }
898
979
 
899
980
  .av-nav {
@@ -1407,6 +1488,10 @@
1407
1488
  .av-w-full {
1408
1489
  width: 100%;
1409
1490
  }
1491
+
1492
+ .av-m-0 {
1493
+ margin: 0;
1494
+ }
1410
1495
  .av-shadow-soft { box-shadow: var(--av-shadow-soft); }
1411
1496
  .av-shadow-glow { box-shadow: var(--av-shadow-glow); }
1412
1497