@maalbuquerque/tailsass-ui 1.0.1 → 1.0.2
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/README.md +1 -1
- package/dist/tailsass-ui.css +67 -25
- package/dist/tailsass-ui.min.css +1 -1
- package/package.json +1 -1
- package/src/_table.scss +11 -1
- package/src/_tabs.scss +83 -0
- package/src/_variables.scss +1 -0
- package/src/index.scss +1 -0
package/README.md
CHANGED
|
@@ -38,7 +38,7 @@ Override theme tokens in `:root` (see `src/_variables.scss`).
|
|
|
38
38
|
|
|
39
39
|
## Components
|
|
40
40
|
|
|
41
|
-
Button, form, card, dropdown, typography, nav, modal, popover, tooltip, toast, table.
|
|
41
|
+
Button, form, card, dropdown, typography, nav, tabs, modal, popover, tooltip, toast, table.
|
|
42
42
|
|
|
43
43
|
## License
|
|
44
44
|
|
package/dist/tailsass-ui.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
transition-timing-function: ease-in-out;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.transition-colors, .nav-link, .form-control, .btn {
|
|
31
|
+
.transition-colors, .tabs-tab, .nav-link, .form-control, .btn {
|
|
32
32
|
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
|
33
33
|
transition-duration: 0.2s;
|
|
34
34
|
transition-timing-function: ease-in-out;
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
--spacing: 0.25rem;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.border-solid, .table-wrap, .toast, .popover-panel, .modal-dialog, .modal-header, .modal-footer, .dropdown-menu, .dropdown-divider, .card, .card-header, .card-footer, .form-control, .spinner, .btn {
|
|
69
|
+
.border-solid, .table-wrap, .toast, .popover-panel, .modal-dialog, .modal-header, .modal-footer, .tabs-list, .tabs-tab, .dropdown-menu, .dropdown-divider, .card, .card-header, .card-footer, .form-control, .spinner, .btn {
|
|
70
70
|
border-style: solid;
|
|
71
71
|
}
|
|
72
72
|
|
|
@@ -114,7 +114,7 @@
|
|
|
114
114
|
outline-width: 1px;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
.border-0, .toast-close, .modal-close, .dropdown-item, .dropdown-divider, .btn-link {
|
|
117
|
+
.border-0, .toast-close, .modal-close, .tabs-tab, .tabs-pills .tabs-tab, .dropdown-item, .dropdown-divider, .btn-link {
|
|
118
118
|
border-width: 0px;
|
|
119
119
|
}
|
|
120
120
|
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
border-right-width: 1px;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
.border-b-1, .modal-header, .card-header {
|
|
165
|
+
.border-b-1, .modal-header, .tabs-list, .card-header {
|
|
166
166
|
border-bottom-width: 1px;
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
border-right-width: 2px;
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
.border-b-2 {
|
|
201
|
+
.border-b-2, .tabs-tab {
|
|
202
202
|
border-bottom-width: 2px;
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
border-end-end-radius: 0.25rem;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
-
.rounded-md, .toast, .toast-close, .popover-panel, .modal-close, .nav-link, .dropdown-menu {
|
|
687
|
+
.rounded-md, .toast, .toast-close, .popover-panel, .modal-close, .tabs-pills .tabs-tab, .nav-link, .dropdown-menu {
|
|
688
688
|
border-radius: 0.375rem;
|
|
689
689
|
}
|
|
690
690
|
|
|
@@ -2444,7 +2444,7 @@
|
|
|
2444
2444
|
cursor: default;
|
|
2445
2445
|
}
|
|
2446
2446
|
|
|
2447
|
-
.cursor-pointer, .toast-close, .popover-trigger, .modal-close, .dropdown-trigger, .dropdown-item, .form-field label,
|
|
2447
|
+
.cursor-pointer, .toast-close, .popover-trigger, .modal-close, .tabs-tab, .dropdown-trigger, .dropdown-item, .form-field label,
|
|
2448
2448
|
.form-field .form-label, .form-check input, .form-check label, .btn {
|
|
2449
2449
|
cursor: pointer;
|
|
2450
2450
|
}
|
|
@@ -2465,7 +2465,7 @@
|
|
|
2465
2465
|
cursor: help;
|
|
2466
2466
|
}
|
|
2467
2467
|
|
|
2468
|
-
.cursor-not-allowed, .form-control:disabled, .btn:disabled, .btn[aria-disabled=true] {
|
|
2468
|
+
.cursor-not-allowed, .tabs-tab:disabled, .tabs-tab[aria-disabled=true], .form-control:disabled, .btn:disabled, .btn[aria-disabled=true] {
|
|
2469
2469
|
cursor: not-allowed;
|
|
2470
2470
|
}
|
|
2471
2471
|
|
|
@@ -3030,11 +3030,11 @@
|
|
|
3030
3030
|
display: flow-root;
|
|
3031
3031
|
}
|
|
3032
3032
|
|
|
3033
|
-
.flex, .toast-viewport, .toast, .modal.is-open, .modal-header, .modal-footer, .nav, .card-footer, .form-check, .form-actions {
|
|
3033
|
+
.flex, .toast-viewport, .toast, .modal.is-open, .modal-header, .modal-footer, .tabs-list, .nav, .card-footer, .form-check, .form-actions {
|
|
3034
3034
|
display: flex;
|
|
3035
3035
|
}
|
|
3036
3036
|
|
|
3037
|
-
.inline-flex, .tooltip, .btn, .btn-group {
|
|
3037
|
+
.inline-flex, .tooltip, .tabs-tab, .btn, .btn-group {
|
|
3038
3038
|
display: inline-flex;
|
|
3039
3039
|
}
|
|
3040
3040
|
|
|
@@ -3114,7 +3114,7 @@
|
|
|
3114
3114
|
flex-direction: column-reverse;
|
|
3115
3115
|
}
|
|
3116
3116
|
|
|
3117
|
-
.flex-wrap, .form-actions {
|
|
3117
|
+
.flex-wrap, .tabs-list, .form-actions {
|
|
3118
3118
|
flex-wrap: wrap;
|
|
3119
3119
|
}
|
|
3120
3120
|
|
|
@@ -3214,7 +3214,7 @@
|
|
|
3214
3214
|
justify-content: flex-end;
|
|
3215
3215
|
}
|
|
3216
3216
|
|
|
3217
|
-
.justify-center, .modal, .btn {
|
|
3217
|
+
.justify-center, .modal, .tabs-tab, .btn {
|
|
3218
3218
|
justify-content: center;
|
|
3219
3219
|
}
|
|
3220
3220
|
|
|
@@ -3306,11 +3306,11 @@
|
|
|
3306
3306
|
align-items: flex-start;
|
|
3307
3307
|
}
|
|
3308
3308
|
|
|
3309
|
-
.items-end {
|
|
3309
|
+
.items-end, .tabs-list {
|
|
3310
3310
|
align-items: flex-end;
|
|
3311
3311
|
}
|
|
3312
3312
|
|
|
3313
|
-
.items-center, .modal, .modal-header, .nav, .form-check, .btn {
|
|
3313
|
+
.items-center, .modal, .modal-header, .tabs-tab, .nav, .form-check, .btn {
|
|
3314
3314
|
align-items: center;
|
|
3315
3315
|
}
|
|
3316
3316
|
|
|
@@ -9337,7 +9337,7 @@
|
|
|
9337
9337
|
opacity: 0.4;
|
|
9338
9338
|
}
|
|
9339
9339
|
|
|
9340
|
-
.opacity-50, .form-control:disabled, .btn:disabled, .btn[aria-disabled=true] {
|
|
9340
|
+
.opacity-50, .tabs-tab:disabled, .tabs-tab[aria-disabled=true], .form-control:disabled, .btn:disabled, .btn[aria-disabled=true] {
|
|
9341
9341
|
opacity: 0.5;
|
|
9342
9342
|
}
|
|
9343
9343
|
|
|
@@ -9505,7 +9505,7 @@
|
|
|
9505
9505
|
list-style-type: none;
|
|
9506
9506
|
}
|
|
9507
9507
|
|
|
9508
|
-
.overflow-auto, .table-wrap {
|
|
9508
|
+
.overflow-auto, .table-wrap-scroll {
|
|
9509
9509
|
overflow: auto;
|
|
9510
9510
|
}
|
|
9511
9511
|
|
|
@@ -9850,7 +9850,7 @@ a {
|
|
|
9850
9850
|
height: auto;
|
|
9851
9851
|
}
|
|
9852
9852
|
|
|
9853
|
-
.w-full, .table-wrap, .table, .modal-dialog, .nav, .dropdown-item, .form-control, .btn-block {
|
|
9853
|
+
.w-full, .table-wrap, .table, .modal-dialog, .tabs, .nav, .dropdown-item, .form-control, .btn-block {
|
|
9854
9854
|
width: 100%;
|
|
9855
9855
|
}
|
|
9856
9856
|
|
|
@@ -14060,7 +14060,7 @@ a {
|
|
|
14060
14060
|
left: 0rem;
|
|
14061
14061
|
}
|
|
14062
14062
|
|
|
14063
|
-
.gap-1 {
|
|
14063
|
+
.gap-1, .tabs-list {
|
|
14064
14064
|
gap: 0.25rem;
|
|
14065
14065
|
}
|
|
14066
14066
|
|
|
@@ -14136,7 +14136,7 @@ a {
|
|
|
14136
14136
|
left: 0.25rem;
|
|
14137
14137
|
}
|
|
14138
14138
|
|
|
14139
|
-
.gap-2, .nav, .form-check, .btn {
|
|
14139
|
+
.gap-2, .tabs-pills .tabs-list, .nav, .form-check, .btn {
|
|
14140
14140
|
gap: 0.5rem;
|
|
14141
14141
|
}
|
|
14142
14142
|
|
|
@@ -14273,7 +14273,7 @@ a {
|
|
|
14273
14273
|
}
|
|
14274
14274
|
|
|
14275
14275
|
.py-3, .table th,
|
|
14276
|
-
.table td, .btn-lg {
|
|
14276
|
+
.table td, .tabs-tab, .btn-lg {
|
|
14277
14277
|
padding-block: 0.75rem;
|
|
14278
14278
|
}
|
|
14279
14279
|
|
|
@@ -14346,7 +14346,7 @@ a {
|
|
|
14346
14346
|
}
|
|
14347
14347
|
|
|
14348
14348
|
.px-4, .table th,
|
|
14349
|
-
.table td, .dropdown-item, .btn-md {
|
|
14349
|
+
.table td, .tabs-tab, .dropdown-item, .btn-md {
|
|
14350
14350
|
padding-inline: 1rem;
|
|
14351
14351
|
}
|
|
14352
14352
|
|
|
@@ -14482,7 +14482,7 @@ a {
|
|
|
14482
14482
|
padding: 1.5rem;
|
|
14483
14483
|
}
|
|
14484
14484
|
|
|
14485
|
-
.pt-6 {
|
|
14485
|
+
.pt-6, .tabs-panel {
|
|
14486
14486
|
padding-top: 1.5rem;
|
|
14487
14487
|
}
|
|
14488
14488
|
|
|
@@ -28448,7 +28448,7 @@ a {
|
|
|
28448
28448
|
text-wrap: pretty;
|
|
28449
28449
|
}
|
|
28450
28450
|
|
|
28451
|
-
.font-bold, .table th, .toast-title, .popover-title, .modal-title, .nav-brand, .card-title, .form-field label,
|
|
28451
|
+
.font-bold, .table th, .toast-title, .popover-title, .modal-title, .tabs-tab, .nav-brand, .card-title, .form-field label,
|
|
28452
28452
|
.form-field .form-label, .form-check label, .btn {
|
|
28453
28453
|
font-weight: bold;
|
|
28454
28454
|
}
|
|
@@ -28459,7 +28459,7 @@ a {
|
|
|
28459
28459
|
}
|
|
28460
28460
|
|
|
28461
28461
|
.text-sm, .table th,
|
|
28462
|
-
.table td, .toast, .toast-close, .popover-panel, .modal-close, .nav-link, .dropdown-item, .card-subtitle, .form-field .form-hint,
|
|
28462
|
+
.table td, .toast, .toast-close, .popover-panel, .modal-close, .tabs-tab, .nav-link, .dropdown-item, .card-subtitle, .form-field .form-hint,
|
|
28463
28463
|
.form-field .info-text, .form-field .form-error, .btn-sm {
|
|
28464
28464
|
font-size: 0.875rem;
|
|
28465
28465
|
}
|
|
@@ -38393,6 +38393,7 @@ a {
|
|
|
38393
38393
|
--ui-shadow: 0 10px 30px rgb(15 23 42 / 0.12);
|
|
38394
38394
|
--ui-z-dropdown: 40;
|
|
38395
38395
|
--ui-z-modal: 50;
|
|
38396
|
+
--ui-z-popover: 70;
|
|
38396
38397
|
--ui-z-toast: 60;
|
|
38397
38398
|
}
|
|
38398
38399
|
|
|
@@ -38686,6 +38687,43 @@ select.form-control {
|
|
|
38686
38687
|
color: var(--ui-primary);
|
|
38687
38688
|
font-weight: bold;
|
|
38688
38689
|
}
|
|
38690
|
+
.tabs-list {
|
|
38691
|
+
border-color: var(--ui-border);
|
|
38692
|
+
}
|
|
38693
|
+
.tabs-tab {
|
|
38694
|
+
background: transparent;
|
|
38695
|
+
border-color: transparent;
|
|
38696
|
+
color: var(--ui-muted);
|
|
38697
|
+
margin-bottom: -1px;
|
|
38698
|
+
text-decoration: none;
|
|
38699
|
+
}
|
|
38700
|
+
.tabs-tab:hover {
|
|
38701
|
+
color: var(--ui-text);
|
|
38702
|
+
}
|
|
38703
|
+
.tabs-tab.is-active, .tabs-tab[aria-selected=true] {
|
|
38704
|
+
border-color: var(--ui-primary);
|
|
38705
|
+
color: var(--ui-primary);
|
|
38706
|
+
}
|
|
38707
|
+
.tabs-tab:disabled, .tabs-tab[aria-disabled=true] {
|
|
38708
|
+
pointer-events: none;
|
|
38709
|
+
}
|
|
38710
|
+
.tabs-pills .tabs-list {
|
|
38711
|
+
border-bottom: none;
|
|
38712
|
+
}
|
|
38713
|
+
.tabs-pills .tabs-tab {
|
|
38714
|
+
margin-bottom: 0;
|
|
38715
|
+
background: transparent;
|
|
38716
|
+
color: var(--ui-muted);
|
|
38717
|
+
}
|
|
38718
|
+
.tabs-pills .tabs-tab:hover {
|
|
38719
|
+
background: var(--ui-secondary);
|
|
38720
|
+
color: var(--ui-text);
|
|
38721
|
+
}
|
|
38722
|
+
.tabs-pills .tabs-tab.is-active, .tabs-pills .tabs-tab[aria-selected=true] {
|
|
38723
|
+
background: color-mix(in srgb, var(--ui-primary) 12%, transparent);
|
|
38724
|
+
color: var(--ui-primary);
|
|
38725
|
+
}
|
|
38726
|
+
|
|
38689
38727
|
.modal {
|
|
38690
38728
|
inset: 0;
|
|
38691
38729
|
z-index: var(--ui-z-modal);
|
|
@@ -38790,9 +38828,9 @@ select.form-control {
|
|
|
38790
38828
|
}
|
|
38791
38829
|
|
|
38792
38830
|
.table-wrap {
|
|
38831
|
+
overflow: visible;
|
|
38793
38832
|
border-color: var(--ui-border);
|
|
38794
38833
|
}
|
|
38795
|
-
|
|
38796
38834
|
.table {
|
|
38797
38835
|
border-collapse: collapse;
|
|
38798
38836
|
background: var(--ui-surface);
|
|
@@ -38802,6 +38840,10 @@ select.form-control {
|
|
|
38802
38840
|
.table td {
|
|
38803
38841
|
border-bottom: 1px solid var(--ui-border);
|
|
38804
38842
|
}
|
|
38843
|
+
.table th.text-right,
|
|
38844
|
+
.table td.text-right {
|
|
38845
|
+
text-align: right;
|
|
38846
|
+
}
|
|
38805
38847
|
.table th {
|
|
38806
38848
|
background: var(--ui-secondary);
|
|
38807
38849
|
color: var(--ui-text);
|