@leonardaustin/ui 0.15.0 → 0.17.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/dist/components/tables/Pagination.d.ts +12 -2
- package/dist/components/tables/Pagination.d.ts.map +1 -1
- package/dist/components/tables/Table.d.ts +3 -1
- package/dist/components/tables/Table.d.ts.map +1 -1
- package/dist/components/ui/DropdownMenu.d.ts +23 -5
- package/dist/components/ui/DropdownMenu.d.ts.map +1 -1
- package/dist/components/ui/FieldContext.d.ts +10 -0
- package/dist/components/ui/FieldContext.d.ts.map +1 -1
- package/dist/components/ui/FormField.d.ts +10 -2
- package/dist/components/ui/FormField.d.ts.map +1 -1
- package/dist/components/ui/Inline.d.ts +1 -1
- package/dist/components/ui/PaginationBar.d.ts +8 -1
- package/dist/components/ui/PaginationBar.d.ts.map +1 -1
- package/dist/components/ui/Select.d.ts +17 -6
- package/dist/components/ui/Select.d.ts.map +1 -1
- package/dist/components/ui/SelectDropdown.d.ts +9 -9
- package/dist/components/ui/SelectDropdown.d.ts.map +1 -1
- package/dist/components/ui/Toast.d.ts +13 -2
- package/dist/components/ui/Toast.d.ts.map +1 -1
- package/dist/components/ui/Toggle.d.ts +5 -1
- package/dist/components/ui/Toggle.d.ts.map +1 -1
- package/dist/components/ui/useFieldControl.d.ts +1 -0
- package/dist/components/ui/useFieldControl.d.ts.map +1 -1
- package/dist/index.js +2188 -1976
- package/dist/styles.css +44 -0
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -2048,6 +2048,23 @@ button.ui-sized-control[data-control-size="comfortable"] {
|
|
|
2048
2048
|
select.ui-sized-control[data-control-size="comfortable"] {
|
|
2049
2049
|
padding-inline-end: 2.25rem;
|
|
2050
2050
|
}
|
|
2051
|
+
.ui-select-placeholder {
|
|
2052
|
+
left: calc(var(--spacing) * 2);
|
|
2053
|
+
right: calc(var(--spacing) * 7);
|
|
2054
|
+
font-size: 0.75rem;
|
|
2055
|
+
}
|
|
2056
|
+
[data-control-size="compact"] > .ui-select-placeholder {
|
|
2057
|
+
left: var(--ui-control-padding-x, calc(var(--spacing) * 2));
|
|
2058
|
+
font-size: var(--ui-control-font-size, 0.75rem);
|
|
2059
|
+
}
|
|
2060
|
+
[data-control-size="comfortable"] > .ui-select-placeholder {
|
|
2061
|
+
left: 0.75rem;
|
|
2062
|
+
right: 2.25rem;
|
|
2063
|
+
font-size: 1rem;
|
|
2064
|
+
}
|
|
2065
|
+
select:disabled + .ui-select-placeholder {
|
|
2066
|
+
opacity: 0.4;
|
|
2067
|
+
}
|
|
2051
2068
|
.ui-password-input[data-control-size="comfortable"] {
|
|
2052
2069
|
padding-inline-end: 44px;
|
|
2053
2070
|
}
|
|
@@ -2454,6 +2471,33 @@ select.ui-sized-control[data-control-size="comfortable"] {
|
|
|
2454
2471
|
letter-spacing: var(--ui-tracking);
|
|
2455
2472
|
text-transform: uppercase;
|
|
2456
2473
|
}
|
|
2474
|
+
.ui-table-sort-button {
|
|
2475
|
+
display: inline-flex;
|
|
2476
|
+
align-items: center;
|
|
2477
|
+
gap: calc(var(--spacing) * 1);
|
|
2478
|
+
padding: 0;
|
|
2479
|
+
border: 0;
|
|
2480
|
+
background: none;
|
|
2481
|
+
color: inherit;
|
|
2482
|
+
font: inherit;
|
|
2483
|
+
letter-spacing: inherit;
|
|
2484
|
+
text-align: inherit;
|
|
2485
|
+
text-transform: inherit;
|
|
2486
|
+
cursor: pointer;
|
|
2487
|
+
}
|
|
2488
|
+
.ui-table-sort-button:focus-visible {
|
|
2489
|
+
outline: 2px solid var(--accent);
|
|
2490
|
+
outline-offset: 2px;
|
|
2491
|
+
}
|
|
2492
|
+
.ui-table-sort-indicator {
|
|
2493
|
+
display: inline-flex;
|
|
2494
|
+
width: 0.75rem;
|
|
2495
|
+
height: 0.75rem;
|
|
2496
|
+
}
|
|
2497
|
+
.ui-table-sort-indicator svg {
|
|
2498
|
+
width: 100%;
|
|
2499
|
+
height: 100%;
|
|
2500
|
+
}
|
|
2457
2501
|
.ui-table-header-cell,
|
|
2458
2502
|
.ui-table-cell {
|
|
2459
2503
|
padding-inline: var(--ui-table-cell-padding-x, calc(var(--spacing) * 3));
|