@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/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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leonardaustin/ui",
3
- "version": "0.15.0",
3
+ "version": "0.17.0",
4
4
  "description": "Reusable React component library and application shell for Leonard Austin projects.",
5
5
  "license": "MIT",
6
6
  "type": "module",