@bunnix/components 0.10.2 → 0.10.3

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": "@bunnix/components",
3
- "version": "0.10.2",
3
+ "version": "0.10.3",
4
4
  "description": "Bunnix components: a set of bunnix ready components for modern web apps.",
5
5
  "keywords": [
6
6
  "bunnix",
package/src/core/core.css CHANGED
@@ -644,5 +644,73 @@ body {
644
644
  }
645
645
  }
646
646
 
647
- /* Mobile overrides - must be imported last to properly override desktop values */
648
- @import "./core-mobile.css";
647
+ /* Mobile overrides - inlined to ensure proper cascade order */
648
+ .safe-insets {
649
+ padding-left: env(safe-area-inset-left);
650
+ padding-right: env(safe-area-inset-right);
651
+ padding-top: env(safe-area-inset-top);
652
+ padding-bottom: env(safe-area-inset-bottom);
653
+ }
654
+
655
+ @media (max-width: 720px) {
656
+ :root {
657
+ --font-size-xlarge: 20px;
658
+ --font-size-large: 18px;
659
+ --font-size-default: 16px;
660
+ --font-size-small: 14px;
661
+ --font-size-xsmall: 12px;
662
+
663
+ --padding-sm: 10px;
664
+ --padding-md: 12px;
665
+ --padding-lg: 16px;
666
+ }
667
+
668
+ .grid {
669
+ display: flex;
670
+ flex-direction: column;
671
+ }
672
+
673
+ .table {
674
+ display: flex;
675
+ flex-direction: column;
676
+ }
677
+
678
+ .table thead {
679
+ display: none;
680
+ }
681
+
682
+ .table tbody tr {
683
+ display: flex;
684
+ flex-direction: column;
685
+ border-bottom: 1px solid var(--color-border-primary);
686
+ }
687
+
688
+ .table tbody tr:last-child {
689
+ border-bottom: none;
690
+ }
691
+
692
+ .table tbody td {
693
+ display: grid;
694
+ grid-template-columns: minmax(0.1fr, 0.3fr) 0.5fr;
695
+ border-bottom: none;
696
+ padding-top: var(--padding-md);
697
+ padding-bottom: 0;
698
+ row-gap: 0;
699
+ }
700
+
701
+ .table tbody td:last-child {
702
+ padding-bottom: var(--padding-md);
703
+ }
704
+
705
+ .table tbody td[data-label]::before {
706
+ content: attr(data-label) ": ";
707
+ font-weight: var(--font-weight-heavier);
708
+ font-size: var(--font-size-default);
709
+ color: var(--color-fg-tertiary);
710
+ }
711
+
712
+ .checkbox {
713
+ width: 28px;
714
+ height: 28px;
715
+ }
716
+ }
@@ -1,69 +0,0 @@
1
- .safe-insets {
2
- padding-left: env(safe-area-inset-left);
3
- padding-right: env(safe-area-inset-right);
4
- padding-top: env(safe-area-inset-top);
5
- padding-bottom: env(safe-area-inset-bottom);
6
- }
7
-
8
- @media (max-width: 720px) {
9
- :root {
10
- --font-size-xlarge: 20px;
11
- --font-size-large: 18px;
12
- --font-size-default: 16px;
13
- --font-size-small: 14px;
14
- --font-size-xsmall: 12px;
15
-
16
- --padding-sm: 10px;
17
- --padding-md: 12px;
18
- --padding-lg: 16px;
19
- }
20
-
21
- .grid {
22
- display: flex;
23
- flex-direction: column;
24
- }
25
-
26
- .table {
27
- display: flex;
28
- flex-direction: column;
29
- }
30
-
31
- .table thead {
32
- display: none;
33
- }
34
-
35
- .table tbody tr {
36
- display: flex;
37
- flex-direction: column;
38
- border-bottom: 1px solid var(--color-border-primary);
39
- }
40
-
41
- .table tbody tr:last-child {
42
- border-bottom: none;
43
- }
44
-
45
- .table tbody td {
46
- display: grid;
47
- grid-template-columns: minmax(0.1fr, 0.3fr) 0.5fr;
48
- border-bottom: none;
49
- padding-top: var(--padding-md);
50
- padding-bottom: 0;
51
- row-gap: 0;
52
- }
53
-
54
- .table tbody td:last-child {
55
- padding-bottom: var(--padding-md);
56
- }
57
-
58
- .table tbody td[data-label]::before {
59
- content: attr(data-label) ": ";
60
- font-weight: var(--font-weight-heavier);
61
- font-size: var(--font-size-default);
62
- color: var(--color-fg-tertiary);
63
- }
64
-
65
- .checkbox {
66
- width: 28px;
67
- height: 28px;
68
- }
69
- }