@parallelogram-js/dashboard 0.1.9 → 0.1.10
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/CHANGELOG.md +38 -1
- package/README.md +2 -0
- package/dist/parallelogram-dashboard.css +232 -7
- package/dist/parallelogram-dashboard.css.map +1 -1
- package/dist/parallelogram-dashboard.min.css +1 -1
- package/package.json +1 -1
- package/scss/_tokens.scss +3 -0
- package/scss/_variables.scss +3 -1
- package/scss/components/_badge.scss +15 -0
- package/scss/components/_card.scss +14 -0
- package/scss/components/_dashboard.scss +69 -0
- package/scss/components/_dropdown.scss +16 -0
- package/scss/components/_form-layout.scss +17 -0
- package/scss/components/_input.scss +96 -0
- package/scss/components/_modal.scss +8 -0
- package/scss/components/_stat.scss +20 -0
- package/scss/components/_table.scss +32 -0
- package/src/js/behaviours/chart.js +17 -6
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,42 @@ section can be taken with a version bump and a rebuild.
|
|
|
11
11
|
|
|
12
12
|
## [Unreleased]
|
|
13
13
|
|
|
14
|
+
## [0.1.10] - 2026-11-25
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
|
|
18
|
+
- `--secondary-muted` and `--secondary-muted-fg` tokens, completing the muted family, and
|
|
19
|
+
`.badge--secondary-muted` for a grey status such as Draft or Archived.
|
|
20
|
+
- `.badge--round`: a count badge that stays circular for one or two digits and grows into a pill
|
|
21
|
+
for more.
|
|
22
|
+
- `.table__link`: a record name in a table that opens the record.
|
|
23
|
+
- `.table__cell--truncate`: cuts the cell's link or span to one line with an ellipsis, at
|
|
24
|
+
`--table-truncate-width` (18.75rem).
|
|
25
|
+
- `.card__link`: a card title that links to its record.
|
|
26
|
+
- `.stat--interactive`: a stat tile on an `<a>` that links to a filtered list, with hover and
|
|
27
|
+
focus states; the tile whose filter is applied takes `aria-current="true"`.
|
|
28
|
+
- `.dropdown__item--warning`: an action that needs care but can be undone, such as Archive, beside
|
|
29
|
+
`--destructive` for what cannot.
|
|
30
|
+
- `.dropdown__menu--scrollable`: caps a long menu, such as a filter of every company, at
|
|
31
|
+
`--dropdown-max-height` (20rem) and scrolls it.
|
|
32
|
+
- `.form__addon--btn`: a button that sits in an input group like an addon, for an action on the
|
|
33
|
+
field.
|
|
34
|
+
- `.switch__text` and `.switch__description`: a switch with a title and a line of description,
|
|
35
|
+
the switch level with the title.
|
|
36
|
+
- `.radiocard`: a radio option drawn as a card with a title (`.radiocard__title`) and description
|
|
37
|
+
(`.radiocard__description`), for a choice between a few options that each need a sentence.
|
|
38
|
+
- `.dashboard__alerts`: stacks flash messages above the page content.
|
|
39
|
+
- `.subnav__logo`: a wordmark in the section menu's header in place of its title, at the new
|
|
40
|
+
`--subnav-logo-height` token (1.5rem).
|
|
41
|
+
- `.subnav__item--static` and `.subnav__item--muted`: section menu rows that report rather than
|
|
42
|
+
link, such as "Nothing due", and `.subnav__item-text--stacked` with `.subnav__item-primary` and
|
|
43
|
+
`.subnav__item-secondary` for a two-line row.
|
|
44
|
+
- Buttons in a `<p-modal>`'s `slot="actions"` line up at the end of its footer with the kit's
|
|
45
|
+
button gap, with no class on the slotted element.
|
|
46
|
+
- `data-chart-currency` and `data-chart-locale` on a chart: the currency code for
|
|
47
|
+
`data-chart-format="currency"` and the locale its figures are written in. The defaults, USD and
|
|
48
|
+
en-US, are what every chart used before.
|
|
49
|
+
|
|
14
50
|
## [0.1.9] - 2026-11-02
|
|
15
51
|
|
|
16
52
|
### Added
|
|
@@ -235,7 +271,8 @@ The first tagged release, covering everything on `main` to date.
|
|
|
235
271
|
`overflow-y: auto`; the page itself scrolls. Templates that relied on the content area
|
|
236
272
|
scrolling inside a fixed-height shell need their own scrolling wrapper.
|
|
237
273
|
|
|
238
|
-
[Unreleased]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.
|
|
274
|
+
[Unreleased]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.10...HEAD
|
|
275
|
+
[0.1.10]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.9...v0.1.10
|
|
239
276
|
[0.1.9]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.8...v0.1.9
|
|
240
277
|
[0.1.8]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.7...v0.1.8
|
|
241
278
|
[0.1.7]: https://github.com/parallelogram-dev/parallelogram-dashboard/compare/v0.1.6...v0.1.7
|
package/README.md
CHANGED
|
@@ -165,6 +165,7 @@ Colors are defined as CSS custom properties for easy theming. Edit the `$theme-t
|
|
|
165
165
|
| `--border` | zinc-200 | zinc-800 | Borders |
|
|
166
166
|
| `--primary` | zinc-900 | zinc-50 | Primary actions |
|
|
167
167
|
| `--secondary` | zinc-100 | zinc-800 | Secondary actions |
|
|
168
|
+
| `--secondary-muted` | zinc-100 | zinc-800 | Grey status backgrounds, with `--secondary-muted-fg` (zinc-600 / zinc-300) |
|
|
168
169
|
| `--destructive` | red-500 | red-600 | Destructive actions |
|
|
169
170
|
| `--success` | green-500 | green-500 | Success states |
|
|
170
171
|
| `--warning` | amber-500 | amber-500 | Warning states |
|
|
@@ -1261,6 +1262,7 @@ colour tokens it can set:
|
|
|
1261
1262
|
| `--navmenu-head-*`, `--subnav-head-*` | The rail's logo cell and the section menu's title bar: `bg`, `fg`, `fg-muted`, `accent`, `accent-fg`, `border` |
|
|
1262
1263
|
| `--navmenu-width`, `--navmenu-labelled-width`, `--subnav-width` | Widths of the icon rail (4rem), the labelled rail (14rem) and the section menu (16rem) |
|
|
1263
1264
|
| `--navmenu-logo-height` | Height of the logo in a labelled rail's header (1.5rem) |
|
|
1265
|
+
| `--subnav-logo-height` | Height of the wordmark in the section menu's header, `.subnav__logo` (1.5rem) |
|
|
1264
1266
|
| `--radius-sm` … `--radius-2xl` | Corner radius scale |
|
|
1265
1267
|
| `--control-border-width` | Borders of inputs, selects, add-ons and outline buttons |
|
|
1266
1268
|
| `--icon-stroke-width` | Line icon strokes |
|
|
@@ -15,6 +15,8 @@
|
|
|
15
15
|
--secondary: light-dark(#f4f4f5, #27272a);
|
|
16
16
|
--secondary-fg: light-dark(#18181b, #fafafa);
|
|
17
17
|
--secondary-hover: light-dark(#e4e4e7, #3f3f46);
|
|
18
|
+
--secondary-muted: light-dark(#f4f4f5, #27272a);
|
|
19
|
+
--secondary-muted-fg: light-dark(#52525b, #d4d4d8);
|
|
18
20
|
--destructive: light-dark(#ef4444, #dc2626);
|
|
19
21
|
--destructive-fg: #fafafa;
|
|
20
22
|
--destructive-hover: light-dark(#dc2626, #ef4444);
|
|
@@ -76,6 +78,7 @@
|
|
|
76
78
|
--navmenu-labelled-width: 14rem;
|
|
77
79
|
--subnav-width: 16rem;
|
|
78
80
|
--navmenu-logo-height: 1.5rem;
|
|
81
|
+
--subnav-logo-height: 1.5rem;
|
|
79
82
|
--navmenu-bg: var(--bg-muted);
|
|
80
83
|
--navmenu-fg: var(--fg);
|
|
81
84
|
--navmenu-fg-muted: var(--fg-muted);
|
|
@@ -253,30 +256,30 @@
|
|
|
253
256
|
--tracking-tight: -0.025em;
|
|
254
257
|
}
|
|
255
258
|
|
|
256
|
-
.recordgrid__title:is(a):focus-visible, .filebrowser__search .form__control:focus, .filebrowser__checkbox:focus-visible + .filebrowser__label, .asset__input:focus, .media__remove:focus-visible, .media__copy:focus-visible, .media__btn:focus-visible, .chart__plot:focus-visible, .accordion__trigger:focus-visible, .toolbar__input:focus, .filter__label:focus-visible, .pagination__item:focus-visible, .pagination__prev:focus-visible, .pagination__next:focus-visible, .navmenu__item:focus-visible, .navmenu__avatar:focus-visible, .subnav__action:focus-visible, .subnav__search-input:focus, .subnav__section-action:focus-visible, .subnav__item:focus-visible, .subnav__subitem:focus-visible, .breadcrumb__link:focus-visible, .breadcrumb__ellipsis:focus-visible, .breadcrumb__dropdown-trigger:focus-visible, .breadcrumb__dropdown-item:focus-visible, .tabs__trigger:focus-visible, .segmented-control__item:focus-visible, .modal__close:focus-visible, .dropdown__item:focus-visible, .contextmenu__item:focus-visible, .navbar__item:focus-visible, .navbar__toggle:focus-visible, .navbar__search-input:focus, .navbarmobile__close:focus-visible, .navbarmobile__item:focus-visible, .sidebar__item:focus-visible, .table__head--sortable:focus-visible, .table__control:focus, .alert__close:focus-visible, .card--interactive:focus-visible, .input:focus, .textarea:focus, .select:focus, .checkbox__input:focus-visible,
|
|
257
|
-
.radio__input:focus-visible, .switch__input:focus-visible, .btn:focus-visible {
|
|
259
|
+
.recordgrid__title:is(a):focus-visible, .filebrowser__search .form__control:focus, .filebrowser__checkbox:focus-visible + .filebrowser__label, .asset__input:focus, .media__remove:focus-visible, .media__copy:focus-visible, .media__btn:focus-visible, .chart__plot:focus-visible, .accordion__trigger:focus-visible, .form__addon--btn:focus-visible, .toolbar__input:focus, .filter__label:focus-visible, .pagination__item:focus-visible, .pagination__prev:focus-visible, .pagination__next:focus-visible, .stat--interactive:focus-visible, .navmenu__item:focus-visible, .navmenu__avatar:focus-visible, .subnav__action:focus-visible, .subnav__search-input:focus, .subnav__section-action:focus-visible, .subnav__item:focus-visible, .subnav__subitem:focus-visible, .breadcrumb__link:focus-visible, .breadcrumb__ellipsis:focus-visible, .breadcrumb__dropdown-trigger:focus-visible, .breadcrumb__dropdown-item:focus-visible, .tabs__trigger:focus-visible, .segmented-control__item:focus-visible, .modal__close:focus-visible, .dropdown__item:focus-visible, .contextmenu__item:focus-visible, .navbar__item:focus-visible, .navbar__toggle:focus-visible, .navbar__search-input:focus, .navbarmobile__close:focus-visible, .navbarmobile__item:focus-visible, .sidebar__item:focus-visible, .table__head--sortable:focus-visible, .table__link:focus-visible, .table__control:focus, .alert__close:focus-visible, .card--interactive:focus-visible, .card__link:focus-visible, .input:focus, .textarea:focus, .select:focus, .checkbox__input:focus-visible,
|
|
260
|
+
.radio__input:focus-visible, .switch__input:focus-visible, .radiocard__input:focus-visible + .radiocard__content, .btn:focus-visible {
|
|
258
261
|
outline: var(--framework-focus-width) solid var(--framework-focus-color);
|
|
259
262
|
outline-offset: var(--framework-focus-offset);
|
|
260
263
|
}
|
|
261
264
|
|
|
262
|
-
.sheet__content, .drawer__content, .command__list, .subnav__content, .modal__content, .sidebar, .table__wrapper, :where(pre) {
|
|
265
|
+
.sheet__content, .drawer__content, .command__list, .subnav__content, .modal__content, .dropdown__menu--scrollable, .dropdown__menu--scrollable[popover], .sidebar, .table__wrapper, :where(pre) {
|
|
263
266
|
scrollbar-width: thin;
|
|
264
267
|
scrollbar-color: var(--fg-subtle) transparent;
|
|
265
268
|
}
|
|
266
|
-
.sheet__content::-webkit-scrollbar, .drawer__content::-webkit-scrollbar, .command__list::-webkit-scrollbar, .subnav__content::-webkit-scrollbar, .modal__content::-webkit-scrollbar, .sidebar::-webkit-scrollbar, .table__wrapper::-webkit-scrollbar, :where(pre)::-webkit-scrollbar {
|
|
269
|
+
.sheet__content::-webkit-scrollbar, .drawer__content::-webkit-scrollbar, .command__list::-webkit-scrollbar, .subnav__content::-webkit-scrollbar, .modal__content::-webkit-scrollbar, .dropdown__menu--scrollable::-webkit-scrollbar, .dropdown__menu--scrollable[popover]::-webkit-scrollbar, .sidebar::-webkit-scrollbar, .table__wrapper::-webkit-scrollbar, :where(pre)::-webkit-scrollbar {
|
|
267
270
|
width: 8px;
|
|
268
271
|
height: 8px;
|
|
269
272
|
}
|
|
270
|
-
.sheet__content::-webkit-scrollbar-track, .drawer__content::-webkit-scrollbar-track, .command__list::-webkit-scrollbar-track, .subnav__content::-webkit-scrollbar-track, .modal__content::-webkit-scrollbar-track, .sidebar::-webkit-scrollbar-track, .table__wrapper::-webkit-scrollbar-track, :where(pre)::-webkit-scrollbar-track {
|
|
273
|
+
.sheet__content::-webkit-scrollbar-track, .drawer__content::-webkit-scrollbar-track, .command__list::-webkit-scrollbar-track, .subnav__content::-webkit-scrollbar-track, .modal__content::-webkit-scrollbar-track, .dropdown__menu--scrollable::-webkit-scrollbar-track, .dropdown__menu--scrollable[popover]::-webkit-scrollbar-track, .sidebar::-webkit-scrollbar-track, .table__wrapper::-webkit-scrollbar-track, :where(pre)::-webkit-scrollbar-track {
|
|
271
274
|
background: transparent;
|
|
272
275
|
}
|
|
273
|
-
.sheet__content::-webkit-scrollbar-thumb, .drawer__content::-webkit-scrollbar-thumb, .command__list::-webkit-scrollbar-thumb, .subnav__content::-webkit-scrollbar-thumb, .modal__content::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb, .table__wrapper::-webkit-scrollbar-thumb, :where(pre)::-webkit-scrollbar-thumb {
|
|
276
|
+
.sheet__content::-webkit-scrollbar-thumb, .drawer__content::-webkit-scrollbar-thumb, .command__list::-webkit-scrollbar-thumb, .subnav__content::-webkit-scrollbar-thumb, .modal__content::-webkit-scrollbar-thumb, .dropdown__menu--scrollable::-webkit-scrollbar-thumb, .dropdown__menu--scrollable[popover]::-webkit-scrollbar-thumb, .sidebar::-webkit-scrollbar-thumb, .table__wrapper::-webkit-scrollbar-thumb, :where(pre)::-webkit-scrollbar-thumb {
|
|
274
277
|
background-color: var(--fg-subtle);
|
|
275
278
|
border-radius: 9999px;
|
|
276
279
|
border: 2px solid transparent;
|
|
277
280
|
background-clip: content-box;
|
|
278
281
|
}
|
|
279
|
-
.sheet__content::-webkit-scrollbar-thumb:hover, .drawer__content::-webkit-scrollbar-thumb:hover, .command__list::-webkit-scrollbar-thumb:hover, .subnav__content::-webkit-scrollbar-thumb:hover, .modal__content::-webkit-scrollbar-thumb:hover, .sidebar::-webkit-scrollbar-thumb:hover, .table__wrapper::-webkit-scrollbar-thumb:hover, :where(pre)::-webkit-scrollbar-thumb:hover {
|
|
282
|
+
.sheet__content::-webkit-scrollbar-thumb:hover, .drawer__content::-webkit-scrollbar-thumb:hover, .command__list::-webkit-scrollbar-thumb:hover, .subnav__content::-webkit-scrollbar-thumb:hover, .modal__content::-webkit-scrollbar-thumb:hover, .dropdown__menu--scrollable::-webkit-scrollbar-thumb:hover, .sidebar::-webkit-scrollbar-thumb:hover, .table__wrapper::-webkit-scrollbar-thumb:hover, :where(pre)::-webkit-scrollbar-thumb:hover {
|
|
280
283
|
background-color: var(--fg-muted);
|
|
281
284
|
}
|
|
282
285
|
|
|
@@ -1798,6 +1801,25 @@ code.code--sm {
|
|
|
1798
1801
|
font-size: 0.875rem;
|
|
1799
1802
|
user-select: none;
|
|
1800
1803
|
}
|
|
1804
|
+
.switch:has(> .switch__text) {
|
|
1805
|
+
align-items: flex-start;
|
|
1806
|
+
gap: 0.75rem;
|
|
1807
|
+
}
|
|
1808
|
+
.switch__text {
|
|
1809
|
+
display: flex;
|
|
1810
|
+
flex-direction: column;
|
|
1811
|
+
gap: 0.25rem;
|
|
1812
|
+
min-width: 0;
|
|
1813
|
+
user-select: none;
|
|
1814
|
+
}
|
|
1815
|
+
.switch__text > .switch__label {
|
|
1816
|
+
font-weight: 500;
|
|
1817
|
+
line-height: var(--switch-height);
|
|
1818
|
+
}
|
|
1819
|
+
.switch__description {
|
|
1820
|
+
font-size: 0.75rem;
|
|
1821
|
+
color: var(--fg-muted);
|
|
1822
|
+
}
|
|
1801
1823
|
.switch--sm {
|
|
1802
1824
|
--switch-width: 1.75rem;
|
|
1803
1825
|
--switch-height: 1rem;
|
|
@@ -1816,6 +1838,63 @@ code.code--sm {
|
|
|
1816
1838
|
cursor: not-allowed;
|
|
1817
1839
|
}
|
|
1818
1840
|
|
|
1841
|
+
.radiocard {
|
|
1842
|
+
position: relative;
|
|
1843
|
+
display: flex;
|
|
1844
|
+
cursor: pointer;
|
|
1845
|
+
}
|
|
1846
|
+
.radiocard__input {
|
|
1847
|
+
position: absolute;
|
|
1848
|
+
inset: 0;
|
|
1849
|
+
width: 100%;
|
|
1850
|
+
height: 100%;
|
|
1851
|
+
margin: 0;
|
|
1852
|
+
opacity: 0;
|
|
1853
|
+
cursor: pointer;
|
|
1854
|
+
}
|
|
1855
|
+
.radiocard__content {
|
|
1856
|
+
display: flex;
|
|
1857
|
+
flex-direction: column;
|
|
1858
|
+
gap: 0.25rem;
|
|
1859
|
+
width: 100%;
|
|
1860
|
+
padding: 1rem 1.25rem;
|
|
1861
|
+
border: var(--control-border-width) solid var(--input);
|
|
1862
|
+
border-radius: var(--radius-md);
|
|
1863
|
+
background-color: var(--bg);
|
|
1864
|
+
transition: var(--transition-colors);
|
|
1865
|
+
}
|
|
1866
|
+
.radiocard:hover .radiocard__content {
|
|
1867
|
+
border-color: var(--fg-subtle);
|
|
1868
|
+
}
|
|
1869
|
+
.radiocard__input:checked + .radiocard__content {
|
|
1870
|
+
border-color: var(--primary);
|
|
1871
|
+
background-color: color-mix(in srgb, var(--primary) 5%, var(--bg));
|
|
1872
|
+
}
|
|
1873
|
+
.radiocard__input:disabled + .radiocard__content {
|
|
1874
|
+
pointer-events: none;
|
|
1875
|
+
opacity: 0.5;
|
|
1876
|
+
}
|
|
1877
|
+
.radiocard:has(:disabled) {
|
|
1878
|
+
cursor: not-allowed;
|
|
1879
|
+
}
|
|
1880
|
+
.radiocard__title {
|
|
1881
|
+
display: flex;
|
|
1882
|
+
align-items: center;
|
|
1883
|
+
gap: 0.5rem;
|
|
1884
|
+
font-size: 0.875rem;
|
|
1885
|
+
font-weight: 500;
|
|
1886
|
+
color: var(--fg);
|
|
1887
|
+
}
|
|
1888
|
+
.radiocard__title > .icon {
|
|
1889
|
+
width: 1.25rem;
|
|
1890
|
+
height: 1.25rem;
|
|
1891
|
+
flex-shrink: 0;
|
|
1892
|
+
}
|
|
1893
|
+
.radiocard__description {
|
|
1894
|
+
font-size: 0.75rem;
|
|
1895
|
+
color: var(--fg-muted);
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1819
1898
|
.card {
|
|
1820
1899
|
display: flex;
|
|
1821
1900
|
flex-direction: column;
|
|
@@ -1880,6 +1959,14 @@ code.code--sm {
|
|
|
1880
1959
|
font-size: 0.875rem;
|
|
1881
1960
|
color: var(--fg-muted);
|
|
1882
1961
|
}
|
|
1962
|
+
.card__link {
|
|
1963
|
+
color: inherit;
|
|
1964
|
+
text-decoration: none;
|
|
1965
|
+
transition: var(--transition-colors);
|
|
1966
|
+
}
|
|
1967
|
+
.card__link:hover {
|
|
1968
|
+
color: var(--primary);
|
|
1969
|
+
}
|
|
1883
1970
|
.card__content {
|
|
1884
1971
|
padding: 1rem;
|
|
1885
1972
|
padding-top: 0;
|
|
@@ -2016,6 +2103,10 @@ code.code--sm {
|
|
|
2016
2103
|
background-color: var(--secondary);
|
|
2017
2104
|
color: var(--secondary-fg);
|
|
2018
2105
|
}
|
|
2106
|
+
.badge--secondary-muted {
|
|
2107
|
+
background-color: var(--secondary-muted);
|
|
2108
|
+
color: var(--secondary-muted-fg);
|
|
2109
|
+
}
|
|
2019
2110
|
.badge--outline {
|
|
2020
2111
|
background-color: transparent;
|
|
2021
2112
|
border: 1px solid var(--border);
|
|
@@ -2064,6 +2155,15 @@ code.code--sm {
|
|
|
2064
2155
|
.badge--pill {
|
|
2065
2156
|
border-radius: 9999px;
|
|
2066
2157
|
}
|
|
2158
|
+
.badge--round {
|
|
2159
|
+
justify-content: center;
|
|
2160
|
+
min-width: 1.25rem;
|
|
2161
|
+
height: 1.25rem;
|
|
2162
|
+
padding: 0 0.25rem;
|
|
2163
|
+
border-radius: 9999px;
|
|
2164
|
+
font-size: 0.625rem;
|
|
2165
|
+
font-variant-numeric: tabular-nums;
|
|
2166
|
+
}
|
|
2067
2167
|
.badge--dot {
|
|
2068
2168
|
width: 0.5rem;
|
|
2069
2169
|
height: 0.5rem;
|
|
@@ -2292,6 +2392,29 @@ code.code--sm {
|
|
|
2292
2392
|
padding: 1rem;
|
|
2293
2393
|
vertical-align: middle;
|
|
2294
2394
|
}
|
|
2395
|
+
.table__link {
|
|
2396
|
+
color: var(--fg);
|
|
2397
|
+
font-weight: 500;
|
|
2398
|
+
text-decoration: none;
|
|
2399
|
+
transition: var(--transition-colors);
|
|
2400
|
+
}
|
|
2401
|
+
.table__link:hover {
|
|
2402
|
+
color: var(--primary);
|
|
2403
|
+
}
|
|
2404
|
+
.table__cell--truncate > a,
|
|
2405
|
+
.table__cell--truncate > span {
|
|
2406
|
+
display: inline-flex;
|
|
2407
|
+
align-items: center;
|
|
2408
|
+
gap: 0.25rem;
|
|
2409
|
+
max-width: var(--table-truncate-width, 18.75rem);
|
|
2410
|
+
overflow: hidden;
|
|
2411
|
+
text-overflow: ellipsis;
|
|
2412
|
+
white-space: nowrap;
|
|
2413
|
+
}
|
|
2414
|
+
.table__cell--truncate > a > .icon,
|
|
2415
|
+
.table__cell--truncate > span > .icon {
|
|
2416
|
+
flex-shrink: 0;
|
|
2417
|
+
}
|
|
2295
2418
|
.table__caption {
|
|
2296
2419
|
margin-top: 1rem;
|
|
2297
2420
|
font-size: 0.875rem;
|
|
@@ -3244,6 +3367,13 @@ select.table__control {
|
|
|
3244
3367
|
background-color: var(--destructive);
|
|
3245
3368
|
color: var(--destructive-fg);
|
|
3246
3369
|
}
|
|
3370
|
+
.dropdown__item--warning {
|
|
3371
|
+
color: var(--warning-muted-fg);
|
|
3372
|
+
}
|
|
3373
|
+
.dropdown__item--warning:hover {
|
|
3374
|
+
background-color: var(--warning);
|
|
3375
|
+
color: var(--warning-fg);
|
|
3376
|
+
}
|
|
3247
3377
|
.dropdown__item-icon, .contextmenu__item-icon, .dropdown__item > .icon, .contextmenu__item > .icon {
|
|
3248
3378
|
width: 1.25rem;
|
|
3249
3379
|
height: 1.25rem;
|
|
@@ -3340,6 +3470,10 @@ select.table__control {
|
|
|
3340
3470
|
.dropdown__menu--full {
|
|
3341
3471
|
min-width: 100%;
|
|
3342
3472
|
}
|
|
3473
|
+
.dropdown__menu--scrollable, .dropdown__menu--scrollable[popover] {
|
|
3474
|
+
max-height: var(--dropdown-max-height, 20rem);
|
|
3475
|
+
overflow-y: auto;
|
|
3476
|
+
}
|
|
3343
3477
|
|
|
3344
3478
|
p-modal:not(:defined) {
|
|
3345
3479
|
display: none;
|
|
@@ -3352,6 +3486,14 @@ p-modal > [slot=title] {
|
|
|
3352
3486
|
letter-spacing: -0.025em;
|
|
3353
3487
|
}
|
|
3354
3488
|
|
|
3489
|
+
p-modal > [slot=actions] {
|
|
3490
|
+
display: flex;
|
|
3491
|
+
flex-wrap: wrap;
|
|
3492
|
+
justify-content: flex-end;
|
|
3493
|
+
gap: 0.5rem;
|
|
3494
|
+
width: 100%;
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3355
3497
|
p-modal {
|
|
3356
3498
|
--modal-backdrop-bg: var(--color-overlay);
|
|
3357
3499
|
--modal-space-lg: 0.75rem;
|
|
@@ -4293,6 +4435,22 @@ p-modal {
|
|
|
4293
4435
|
text-overflow: ellipsis;
|
|
4294
4436
|
white-space: nowrap;
|
|
4295
4437
|
}
|
|
4438
|
+
.subnav__logo {
|
|
4439
|
+
display: flex;
|
|
4440
|
+
align-items: center;
|
|
4441
|
+
min-width: 0;
|
|
4442
|
+
height: 100%;
|
|
4443
|
+
color: var(--fg);
|
|
4444
|
+
}
|
|
4445
|
+
.subnav__logo svg,
|
|
4446
|
+
.subnav__logo img {
|
|
4447
|
+
width: auto;
|
|
4448
|
+
height: var(--subnav-logo-height);
|
|
4449
|
+
max-width: 100%;
|
|
4450
|
+
}
|
|
4451
|
+
.subnav__logo svg:not(.icon) {
|
|
4452
|
+
fill: currentColor;
|
|
4453
|
+
}
|
|
4296
4454
|
.subnav__actions {
|
|
4297
4455
|
display: flex;
|
|
4298
4456
|
align-items: center;
|
|
@@ -4415,6 +4573,16 @@ p-modal {
|
|
|
4415
4573
|
pointer-events: none;
|
|
4416
4574
|
opacity: 0.5;
|
|
4417
4575
|
}
|
|
4576
|
+
.subnav__item--static {
|
|
4577
|
+
cursor: default;
|
|
4578
|
+
}
|
|
4579
|
+
.subnav__item--static:hover {
|
|
4580
|
+
color: var(--fg-muted);
|
|
4581
|
+
background-color: transparent;
|
|
4582
|
+
}
|
|
4583
|
+
.subnav__item--muted, .subnav__item--muted:hover {
|
|
4584
|
+
color: var(--fg-subtle);
|
|
4585
|
+
}
|
|
4418
4586
|
.subnav__item-icon {
|
|
4419
4587
|
width: 1.25rem;
|
|
4420
4588
|
height: 1.25rem;
|
|
@@ -4424,12 +4592,36 @@ p-modal {
|
|
|
4424
4592
|
.subnav__item:hover .subnav__item-icon, .subnav__item[aria-current=page] .subnav__item-icon, .subnav__item--active .subnav__item-icon {
|
|
4425
4593
|
color: var(--fg);
|
|
4426
4594
|
}
|
|
4595
|
+
.subnav__item--static:hover .subnav__item-icon {
|
|
4596
|
+
color: var(--fg-subtle);
|
|
4597
|
+
}
|
|
4427
4598
|
.subnav__item-text {
|
|
4428
4599
|
flex: 1;
|
|
4429
4600
|
overflow: hidden;
|
|
4430
4601
|
text-overflow: ellipsis;
|
|
4431
4602
|
white-space: nowrap;
|
|
4432
4603
|
}
|
|
4604
|
+
.subnav__item-text--stacked {
|
|
4605
|
+
display: flex;
|
|
4606
|
+
flex-direction: column;
|
|
4607
|
+
min-width: 0;
|
|
4608
|
+
}
|
|
4609
|
+
.subnav__item-primary, .subnav__item-secondary {
|
|
4610
|
+
overflow: hidden;
|
|
4611
|
+
text-overflow: ellipsis;
|
|
4612
|
+
white-space: nowrap;
|
|
4613
|
+
}
|
|
4614
|
+
.subnav__item-primary {
|
|
4615
|
+
font-weight: 500;
|
|
4616
|
+
color: var(--fg);
|
|
4617
|
+
}
|
|
4618
|
+
.subnav__item--muted .subnav__item-primary {
|
|
4619
|
+
color: var(--fg-muted);
|
|
4620
|
+
}
|
|
4621
|
+
.subnav__item-secondary {
|
|
4622
|
+
font-size: 0.75rem;
|
|
4623
|
+
color: var(--fg-muted);
|
|
4624
|
+
}
|
|
4433
4625
|
.subnav__item-badge {
|
|
4434
4626
|
font-size: 0.75rem;
|
|
4435
4627
|
padding: 0.0625rem 0.25rem;
|
|
@@ -4581,6 +4773,13 @@ p-modal {
|
|
|
4581
4773
|
padding: 1.5rem;
|
|
4582
4774
|
}
|
|
4583
4775
|
|
|
4776
|
+
.dashboard__alerts {
|
|
4777
|
+
display: flex;
|
|
4778
|
+
flex-direction: column;
|
|
4779
|
+
gap: 0.75rem;
|
|
4780
|
+
margin-bottom: 1.25rem;
|
|
4781
|
+
}
|
|
4782
|
+
|
|
4584
4783
|
@media (min-width: 1024px) {
|
|
4585
4784
|
.dashboard__subnav-toggle,
|
|
4586
4785
|
.subnav__close {
|
|
@@ -5600,6 +5799,19 @@ p-modal {
|
|
|
5600
5799
|
color: var(--primary-fg);
|
|
5601
5800
|
opacity: 0.8;
|
|
5602
5801
|
}
|
|
5802
|
+
.stat--interactive {
|
|
5803
|
+
color: inherit;
|
|
5804
|
+
text-decoration: none;
|
|
5805
|
+
cursor: pointer;
|
|
5806
|
+
transition: var(--transition-default);
|
|
5807
|
+
}
|
|
5808
|
+
.stat--interactive:hover {
|
|
5809
|
+
border-color: var(--fg-subtle);
|
|
5810
|
+
}
|
|
5811
|
+
.stat--interactive[aria-current]:not([aria-current=false]) {
|
|
5812
|
+
border-color: var(--primary);
|
|
5813
|
+
background-color: color-mix(in srgb, var(--primary) 6%, var(--card));
|
|
5814
|
+
}
|
|
5603
5815
|
.stat--compact {
|
|
5604
5816
|
padding: 1rem;
|
|
5605
5817
|
}
|
|
@@ -6659,6 +6871,19 @@ p-modal {
|
|
|
6659
6871
|
border: var(--control-border-width) solid var(--input);
|
|
6660
6872
|
color: var(--fg-muted);
|
|
6661
6873
|
}
|
|
6874
|
+
.form__addon--btn {
|
|
6875
|
+
padding: 0 0.5rem;
|
|
6876
|
+
background-color: transparent;
|
|
6877
|
+
cursor: pointer;
|
|
6878
|
+
transition: var(--transition-colors);
|
|
6879
|
+
}
|
|
6880
|
+
.form__addon--btn:hover {
|
|
6881
|
+
background-color: var(--bg-muted);
|
|
6882
|
+
color: var(--fg);
|
|
6883
|
+
}
|
|
6884
|
+
.form__addon--btn:focus-visible {
|
|
6885
|
+
z-index: 1;
|
|
6886
|
+
}
|
|
6662
6887
|
.form__fieldset {
|
|
6663
6888
|
display: flex;
|
|
6664
6889
|
flex-direction: column;
|