@scalewing/react 1.60.1 → 1.61.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/CHANGELOG.md +23 -0
- package/dist/components/AppShell.d.ts +5 -3
- package/dist/components/AppShell.js +9 -4
- package/dist/components/DescriptionList.d.ts +11 -3
- package/dist/components/DescriptionList.js +5 -4
- package/dist/components/FilterChips.d.ts +1 -1
- package/dist/components/FilterChips.js +3 -3
- package/dist/components/FixtureGroup.d.ts +7 -3
- package/dist/components/FixtureGroup.js +11 -4
- package/dist/components/Grid.d.ts +11 -3
- package/dist/components/Grid.js +24 -6
- package/dist/components/PageHeader.d.ts +40 -0
- package/dist/components/PageHeader.js +36 -0
- package/dist/components/Tabs.d.ts +19 -0
- package/dist/components/Tabs.js +13 -3
- package/dist/components/Text.d.ts +20 -0
- package/dist/components/Text.js +9 -2
- package/dist/components/app-shell/types.d.ts +15 -0
- package/dist/components/app-shell/validate.d.ts +3 -3
- package/dist/components/app-shell/validate.js +9 -3
- package/dist/components/description-list-layout.d.ts +9 -0
- package/dist/components/description-list-layout.js +15 -0
- package/dist/components/filter-chips/options.d.ts +10 -1
- package/dist/components/filter-chips/options.js +2 -0
- package/dist/components/filter-chips/validate.d.ts +2 -2
- package/dist/components/filter-chips/validate.js +6 -3
- package/dist/components/fixture/types.d.ts +10 -0
- package/dist/css/breakpoints.d.ts +2 -1
- package/dist/css/breakpoints.js +2 -1
- package/dist/css/css-app-shell.d.ts +6 -0
- package/dist/css/css-app-shell.js +20 -1
- package/dist/css/css-button.js +9 -11
- package/dist/css/css-components.js +6 -0
- package/dist/css/css-density.d.ts +9 -0
- package/dist/css/css-density.js +95 -0
- package/dist/css/css-description-list.js +21 -0
- package/dist/css/css-filter-chips.d.ts +8 -0
- package/dist/css/css-filter-chips.js +35 -1
- package/dist/css/css-fixture-list.d.ts +10 -0
- package/dist/css/css-fixture-list.js +38 -0
- package/dist/css/css-fixture.js +4 -1
- package/dist/css/css-glyph-tile.js +6 -2
- package/dist/css/css-grid-span.js +8 -3
- package/dist/css/css-grid.d.ts +8 -1
- package/dist/css/css-grid.js +21 -2
- package/dist/css/css-page-header.d.ts +2 -0
- package/dist/css/css-page-header.js +106 -0
- package/dist/css/css-table-bounded.js +3 -2
- package/dist/css/css-table-metrics.d.ts +5 -0
- package/dist/css/css-table-metrics.js +5 -0
- package/dist/css/css-tabs.js +8 -0
- package/dist/css/css-text.d.ts +5 -0
- package/dist/css/css-text.js +26 -1
- package/dist/css/stylesheet.js +4 -0
- package/dist/css/touch-target.d.ts +1 -0
- package/dist/css/touch-target.js +4 -0
- package/dist/index.d.ts +12 -9
- package/dist/index.js +8 -6
- package/dist/styles.css +186 -7
- package/dist/theme/ThemeProvider.d.ts +13 -1
- package/dist/theme/ThemeProvider.js +7 -2
- package/package.json +2 -2
package/dist/css/css-grid.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Breakpoint } from './breakpoints.js';
|
|
1
|
+
import { type Breakpoint, type VisibilityBreakpoint } from './breakpoints.js';
|
|
2
2
|
export declare const gridColumnCounts: readonly [1, 2, 3, 4, 6];
|
|
3
3
|
export type GridColumns = (typeof gridColumnCounts)[number];
|
|
4
4
|
/**
|
|
@@ -14,6 +14,13 @@ export declare const gridFitWidths: {
|
|
|
14
14
|
export type GridFit = keyof typeof gridFitWidths;
|
|
15
15
|
export declare const gridFits: GridFit[];
|
|
16
16
|
export declare function gridFitClass(fit: GridFit): string;
|
|
17
|
+
/**
|
|
18
|
+
* A rail grid's breakpoint: from it up, the first column takes the free
|
|
19
|
+
* space and a fixed rail sits beside it; below it, one column.
|
|
20
|
+
*/
|
|
21
|
+
export type GridRail = VisibilityBreakpoint;
|
|
22
|
+
export declare const gridRails: ("md" | "lg")[];
|
|
23
|
+
export declare function gridRailClass(rail: GridRail): string;
|
|
17
24
|
export declare function gridColumnsClass(columns: GridColumns): string;
|
|
18
25
|
export declare function gridColumnsBelowClass(breakpoint: Breakpoint, columns: GridColumns): string;
|
|
19
26
|
export declare function cssGridClasses(): string;
|
package/dist/css/css-grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { breakpointQuery, breakpoints, } from './breakpoints.js';
|
|
1
|
+
import { breakpointQuery, breakpoints, visibilityBreakpoints, } from './breakpoints.js';
|
|
2
2
|
export const gridColumnCounts = [1, 2, 3, 4, 6];
|
|
3
3
|
/**
|
|
4
4
|
* A fitted grid's narrowest column: as many columns as fit the grid's width
|
|
@@ -14,6 +14,18 @@ export const gridFits = Object.keys(gridFitWidths);
|
|
|
14
14
|
export function gridFitClass(fit) {
|
|
15
15
|
return `sw-grid-fit-${fit}`;
|
|
16
16
|
}
|
|
17
|
+
export const gridRails = visibilityBreakpoints;
|
|
18
|
+
/* The side rail's width, a named geometry of this layout. */
|
|
19
|
+
const gridRailWidth = '20rem';
|
|
20
|
+
export function gridRailClass(rail) {
|
|
21
|
+
return `sw-grid-rail-${rail}`;
|
|
22
|
+
}
|
|
23
|
+
function railRules(rail) {
|
|
24
|
+
return `.${gridRailClass(rail)} { grid-template-columns: minmax(0, 1fr); }
|
|
25
|
+
@media ${breakpointQuery('from', rail)} {
|
|
26
|
+
.${gridRailClass(rail)} { grid-template-columns: minmax(0, 1fr) ${gridRailWidth}; }
|
|
27
|
+
}`;
|
|
28
|
+
}
|
|
17
29
|
export function gridColumnsClass(columns) {
|
|
18
30
|
return `sw-grid-cols-${columns}`;
|
|
19
31
|
}
|
|
@@ -35,7 +47,13 @@ ${gridColumnCounts
|
|
|
35
47
|
.join('\n')}
|
|
36
48
|
}`);
|
|
37
49
|
const fitted = gridFits.map((fit) => `.${gridFitClass(fit)} { grid-template-columns: repeat(auto-fit, minmax(min(100%, ${gridFitWidths[fit]}), 1fr)); }`);
|
|
38
|
-
return [
|
|
50
|
+
return [
|
|
51
|
+
base,
|
|
52
|
+
...columns,
|
|
53
|
+
...below,
|
|
54
|
+
...fitted,
|
|
55
|
+
...gridRails.map(railRules),
|
|
56
|
+
].join('\n');
|
|
39
57
|
}
|
|
40
58
|
export function gridClassCatalog() {
|
|
41
59
|
return [
|
|
@@ -43,5 +61,6 @@ export function gridClassCatalog() {
|
|
|
43
61
|
...gridColumnCounts.map((count) => gridColumnsClass(count)),
|
|
44
62
|
...breakpoints.flatMap((breakpoint) => gridColumnCounts.map((count) => gridColumnsBelowClass(breakpoint, count))),
|
|
45
63
|
...gridFits.map(gridFitClass),
|
|
64
|
+
...gridRails.map(gridRailClass),
|
|
46
65
|
];
|
|
47
66
|
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { typographyVariants } from '@scalewing/tokens';
|
|
2
|
+
import { chevronStrokeIn } from './chevron.js';
|
|
3
|
+
import { coarsePointerQuery, touchTarget } from './touch-target.js';
|
|
4
|
+
const label = typographyVariants.label;
|
|
5
|
+
/*
|
|
6
|
+
* The title's least width beside the actions: narrower than this, the
|
|
7
|
+
* actions wrap under the words instead of squeezing the title.
|
|
8
|
+
*/
|
|
9
|
+
const wordsMinWidth = '20rem';
|
|
10
|
+
/*
|
|
11
|
+
* A page's header: the back link, then the title's row, then the part below.
|
|
12
|
+
* The row wraps as a whole: the words take the free space and keep at least
|
|
13
|
+
* their least width (or all of a narrower row), and the actions, which wrap
|
|
14
|
+
* among themselves, sit at the end, or under the words at the start when
|
|
15
|
+
* they do not fit beside them.
|
|
16
|
+
*/
|
|
17
|
+
function layoutRules() {
|
|
18
|
+
return `.sw-page-header {
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
gap: var(--sw-space-3);
|
|
22
|
+
min-width: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.sw-page-header-row {
|
|
26
|
+
align-items: flex-start;
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-wrap: wrap;
|
|
29
|
+
gap: var(--sw-space-3) var(--sw-space-4);
|
|
30
|
+
min-width: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.sw-page-header-words {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex: 1 1 min(100%, ${wordsMinWidth});
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
gap: var(--sw-space-1);
|
|
38
|
+
min-width: 0;
|
|
39
|
+
overflow-wrap: anywhere;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.sw-page-header-actions {
|
|
43
|
+
align-items: center;
|
|
44
|
+
display: flex;
|
|
45
|
+
flex: 0 1 auto;
|
|
46
|
+
flex-wrap: wrap;
|
|
47
|
+
gap: var(--sw-space-2);
|
|
48
|
+
max-width: 100%;
|
|
49
|
+
min-width: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sw-page-header-below {
|
|
53
|
+
min-width: 0;
|
|
54
|
+
}`;
|
|
55
|
+
}
|
|
56
|
+
/*
|
|
57
|
+
* The back link: the canvas's accent link in label type at weight 500, a
|
|
58
|
+
* shared chevron pointing back before its words, mirrored in right-to-left,
|
|
59
|
+
* at the xs control's height and the 44 px target on a coarse pointer. The
|
|
60
|
+
* chevron is a border, so forced colours keep it in the link's colour.
|
|
61
|
+
*/
|
|
62
|
+
function backRules() {
|
|
63
|
+
return `.sw-page-header-back {
|
|
64
|
+
align-items: center;
|
|
65
|
+
align-self: flex-start;
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
font-family: var(--sw-font-sans);
|
|
68
|
+
font-size: ${label.fontSize}px;
|
|
69
|
+
font-weight: 500;
|
|
70
|
+
gap: var(--sw-space-2);
|
|
71
|
+
letter-spacing: ${label.letterSpacing}px;
|
|
72
|
+
line-height: ${label.lineHeight}px;
|
|
73
|
+
max-width: 100%;
|
|
74
|
+
min-height: var(--sw-control-xs-min-height);
|
|
75
|
+
overflow-wrap: anywhere;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.sw-page-header-back::before {
|
|
79
|
+
${chevronStrokeIn('currentColor')}
|
|
80
|
+
content: '';
|
|
81
|
+
flex: none;
|
|
82
|
+
transform: rotate(135deg);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.sw-page-header-back:dir(rtl)::before { transform: rotate(-45deg); }
|
|
86
|
+
|
|
87
|
+
@media ${coarsePointerQuery} {
|
|
88
|
+
.sw-page-header-back { min-height: ${touchTarget}; }
|
|
89
|
+
}`;
|
|
90
|
+
}
|
|
91
|
+
/* PageHeader (see components/PageHeader.tsx). */
|
|
92
|
+
export function cssPageHeaderClasses() {
|
|
93
|
+
return `${layoutRules()}
|
|
94
|
+
|
|
95
|
+
${backRules()}`;
|
|
96
|
+
}
|
|
97
|
+
export function pageHeaderClassCatalog() {
|
|
98
|
+
return [
|
|
99
|
+
'sw-page-header',
|
|
100
|
+
'sw-page-header-back',
|
|
101
|
+
'sw-page-header-row',
|
|
102
|
+
'sw-page-header-words',
|
|
103
|
+
'sw-page-header-actions',
|
|
104
|
+
'sw-page-header-below',
|
|
105
|
+
];
|
|
106
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { typographyVariants } from '@scalewing/tokens';
|
|
2
2
|
import { cssTableBoundedEdgeClasses } from './css-table-bounded-edges.js';
|
|
3
|
-
import { tableCellPadding, tableRuleWidth, tableSortMinHeight, } from './css-table-metrics.js';
|
|
3
|
+
import { tableCellPadding, tableRowLineVariable, tableRuleWidth, tableSortMinHeight, } from './css-table-metrics.js';
|
|
4
4
|
import { coarsePointerQuery, touchTarget } from './touch-target.js';
|
|
5
5
|
const body = typographyVariants.body;
|
|
6
6
|
const caption = typographyVariants.caption;
|
|
@@ -34,7 +34,8 @@ function heightRules() {
|
|
|
34
34
|
--sw-table-cell-pad: ${tableCellPadding.comfortable.block};
|
|
35
35
|
--sw-table-head-block: 0px;
|
|
36
36
|
--sw-table-foot-rows: 0;
|
|
37
|
-
|
|
37
|
+
${tableRowLineVariable}: ${body.lineHeight}px;
|
|
38
|
+
max-height: calc((var(--sw-table-max-rows) + var(--sw-table-foot-rows)) * (var(${tableRowLineVariable}) + 2 * var(--sw-table-cell-pad) + ${tableRuleWidth}) + var(--sw-table-head-block));
|
|
38
39
|
}
|
|
39
40
|
|
|
40
41
|
.sw-table-bounded:has(> .sw-table-compact) {
|
|
@@ -12,3 +12,8 @@ export declare const tableCellPadding: {
|
|
|
12
12
|
export declare const tableRuleWidth = "1px";
|
|
13
13
|
/** The least height of a sortable header's button on a fine pointer. */
|
|
14
14
|
export declare const tableSortMinHeight = "var(--sw-control-xs-min-height)";
|
|
15
|
+
/**
|
|
16
|
+
* A bounded table's row line, from which its height is counted; the compact
|
|
17
|
+
* density restates it with its smaller line.
|
|
18
|
+
*/
|
|
19
|
+
export declare const tableRowLineVariable = "--sw-table-row-line";
|
|
@@ -11,3 +11,8 @@ export const tableCellPadding = {
|
|
|
11
11
|
export const tableRuleWidth = '1px';
|
|
12
12
|
/** The least height of a sortable header's button on a fine pointer. */
|
|
13
13
|
export const tableSortMinHeight = 'var(--sw-control-xs-min-height)';
|
|
14
|
+
/**
|
|
15
|
+
* A bounded table's row line, from which its height is counted; the compact
|
|
16
|
+
* density restates it with its smaller line.
|
|
17
|
+
*/
|
|
18
|
+
export const tableRowLineVariable = '--sw-table-row-line';
|
package/dist/css/css-tabs.js
CHANGED
|
@@ -88,6 +88,13 @@ export function cssTabsClasses() {
|
|
|
88
88
|
color: var(--sw-color-accent);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
+
/* A tab with a count: its label and the shared pill centred, a space-2 apart. */
|
|
92
|
+
.sw-tab-counted {
|
|
93
|
+
align-items: center;
|
|
94
|
+
display: inline-flex;
|
|
95
|
+
gap: var(--sw-space-2);
|
|
96
|
+
}
|
|
97
|
+
|
|
91
98
|
.sw-tab-panel:focus-visible {
|
|
92
99
|
outline: var(--sw-focus-ring-width) solid var(--sw-color-accent);
|
|
93
100
|
outline-offset: var(--sw-focus-ring-offset);
|
|
@@ -108,6 +115,7 @@ export function tabsClassCatalog() {
|
|
|
108
115
|
'sw-tabs-sticky',
|
|
109
116
|
'sw-tab',
|
|
110
117
|
'sw-tab-selected',
|
|
118
|
+
'sw-tab-counted',
|
|
111
119
|
'sw-tab-panel',
|
|
112
120
|
];
|
|
113
121
|
}
|
package/dist/css/css-text.d.ts
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
+
/** The most lines a `maxLines` clamp keeps; one line is `truncate`. */
|
|
2
|
+
export declare const textMaxLines: readonly [2, 3];
|
|
3
|
+
export type TextMaxLines = (typeof textMaxLines)[number];
|
|
4
|
+
export declare function textClampClass(count: TextMaxLines): string;
|
|
5
|
+
export declare function textClampClassCatalog(): string[];
|
|
1
6
|
export declare function cssTextClasses(): string;
|
package/dist/css/css-text.js
CHANGED
|
@@ -29,6 +29,29 @@ function compactTextVariantRules() {
|
|
|
29
29
|
.join('\n');
|
|
30
30
|
return `@media ${breakpointQuery('below', 'md')} {\n${rules}\n}`;
|
|
31
31
|
}
|
|
32
|
+
/** The most lines a `maxLines` clamp keeps; one line is `truncate`. */
|
|
33
|
+
export const textMaxLines = [2, 3];
|
|
34
|
+
export function textClampClass(count) {
|
|
35
|
+
return `sw-text-clamp-${count}`;
|
|
36
|
+
}
|
|
37
|
+
/*
|
|
38
|
+
* `maxLines`: a clamped block. `overflow: hidden` only clips the drawing, so
|
|
39
|
+
* the clamped words stay in the accessibility tree.
|
|
40
|
+
*/
|
|
41
|
+
function clampRules() {
|
|
42
|
+
return textMaxLines
|
|
43
|
+
.map((count) => `.${textClampClass(count)} {
|
|
44
|
+
-webkit-box-orient: vertical;
|
|
45
|
+
display: -webkit-box;
|
|
46
|
+
-webkit-line-clamp: ${count};
|
|
47
|
+
line-clamp: ${count};
|
|
48
|
+
overflow: hidden;
|
|
49
|
+
}`)
|
|
50
|
+
.join('\n');
|
|
51
|
+
}
|
|
52
|
+
export function textClampClassCatalog() {
|
|
53
|
+
return textMaxLines.map(textClampClass);
|
|
54
|
+
}
|
|
32
55
|
export function cssTextClasses() {
|
|
33
56
|
return `.sw-text-align-start { text-align: start; }
|
|
34
57
|
.sw-text-align-center { text-align: center; }
|
|
@@ -38,5 +61,7 @@ ${textMarginReset()}
|
|
|
38
61
|
|
|
39
62
|
${textVariantRules()}
|
|
40
63
|
|
|
41
|
-
${compactTextVariantRules()}
|
|
64
|
+
${compactTextVariantRules()}
|
|
65
|
+
|
|
66
|
+
${clampRules()}`;
|
|
42
67
|
}
|
package/dist/css/stylesheet.js
CHANGED
|
@@ -32,6 +32,7 @@ import { separatorClassCatalog } from './css-separator.js';
|
|
|
32
32
|
import { bandClassCatalog } from './css-band.js';
|
|
33
33
|
import { screenPreviewClassCatalog } from './css-screen-preview.js';
|
|
34
34
|
import { heroClassCatalog } from './css-hero.js';
|
|
35
|
+
import { pageHeaderClassCatalog } from './css-page-header.js';
|
|
35
36
|
import { siteFooterClassCatalog } from './css-site-footer.js';
|
|
36
37
|
import { siteHeaderClassCatalog } from './css-site-header.js';
|
|
37
38
|
import { statTileClassCatalog } from './css-stat-tile.js';
|
|
@@ -78,6 +79,7 @@ import { splitClassCatalog } from './css-split.js';
|
|
|
78
79
|
import { toastClassCatalog } from './css-toast.js';
|
|
79
80
|
import { toastCardClassCatalog } from './css-toast-card.js';
|
|
80
81
|
import { cssDocumentCanvas } from './css-document.js';
|
|
82
|
+
import { textClampClassCatalog } from './css-text.js';
|
|
81
83
|
import { cssPaletteAttributes } from './css-palettes.js';
|
|
82
84
|
import { cssUtilities } from './css-utilities.js';
|
|
83
85
|
import { cssVariables } from './css-variables.js';
|
|
@@ -95,6 +97,7 @@ export function utilityClassCatalog() {
|
|
|
95
97
|
'sw-text-align-end',
|
|
96
98
|
'sw-tabular',
|
|
97
99
|
...Object.keys(typographyVariants).map((name) => `sw-text-${name}`),
|
|
100
|
+
...textClampClassCatalog(),
|
|
98
101
|
...buttonClassCatalog(),
|
|
99
102
|
...buttonLinkClassCatalog(),
|
|
100
103
|
...dataClassCatalog(),
|
|
@@ -152,6 +155,7 @@ export function utilityClassCatalog() {
|
|
|
152
155
|
...bandClassCatalog(),
|
|
153
156
|
...screenPreviewClassCatalog(),
|
|
154
157
|
...heroClassCatalog(),
|
|
158
|
+
...pageHeaderClassCatalog(),
|
|
155
159
|
...siteFooterClassCatalog(),
|
|
156
160
|
...siteHeaderClassCatalog(),
|
|
157
161
|
...statTileClassCatalog(),
|
package/dist/css/touch-target.js
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
* The comfortable touch target on a coarse pointer: the md control height,
|
|
3
3
|
* 44 px, both ways. Controls drawn smaller for a fine pointer (CalendarButton
|
|
4
4
|
* at sm and xs, the ActionMenu trigger and commands) grow to it on touch.
|
|
5
|
+
* The compact density restates the md height on a fine pointer only, so it
|
|
6
|
+
* is never in force where a coarse rule runs; a rule that reads this outside
|
|
7
|
+
* a coarse query (a FixtureRow's height, the rail's links) follows it to 36.
|
|
5
8
|
*/
|
|
6
9
|
export const touchTarget = 'var(--sw-control-md-min-height)';
|
|
7
10
|
export const coarsePointerQuery = '(pointer: coarse)';
|
|
11
|
+
export const finePointerQuery = '(pointer: fine)';
|
package/dist/index.d.ts
CHANGED
|
@@ -59,14 +59,14 @@ export { Split } from './components/Split.js';
|
|
|
59
59
|
export type { SplitProps } from './components/Split.js';
|
|
60
60
|
export { Nav, navAppearances, type NavAppearance, type NavProps, } from './components/Nav.js';
|
|
61
61
|
export { NavCount, navCountTones, type NavCountProps, type NavCountTone, } from './components/NavCount.js';
|
|
62
|
-
export { FixtureGroup, type FixtureGroupProps, } from './components/FixtureGroup.js';
|
|
62
|
+
export { FixtureGroup, fixtureGroupSides, type FixtureGroupProps, type FixtureGroupSides, } from './components/FixtureGroup.js';
|
|
63
63
|
export { FixtureRow, type FixtureRowProps, type FixtureFlag, type FixtureScore, type FixtureScoreBox, type FixtureScoreSide, type FixtureSelect, type FixtureSide, type FixtureStatus, } from './components/FixtureRow.js';
|
|
64
64
|
export { defaultScheduleGridLabels, ScheduleGrid, type ScheduleGridAxisEntry, type ScheduleGridCarryMode, type ScheduleGridDisabledCell, type ScheduleGridDropCheck, type ScheduleGridItem, type ScheduleGridLabels, type ScheduleGridProps, type ScheduleGridSlot, type ScheduleGridTarget, } from './components/ScheduleGrid.js';
|
|
65
65
|
export { DateToggleCalendar, type DateToggleCalendarProps, } from './components/DateToggleCalendar.js';
|
|
66
66
|
export { CommandPalette, commandPaletteShortcuts, type CommandPaletteGroup, type CommandPaletteItem, type CommandPaletteProps, type CommandPaletteShortcut, } from './components/CommandPalette.js';
|
|
67
67
|
export { CommandPaletteTrigger, type CommandPaletteTriggerProps, } from './components/CommandPaletteTrigger.js';
|
|
68
68
|
export { ContextSwitcher, contextSwitcherTriggerAppearances, contextSwitcherWidths, type ContextSwitcherAction, type ContextSwitcherBadge, type ContextSwitcherFilter, type ContextSwitcherGroup, type ContextSwitcherOption, type ContextSwitcherProps, type ContextSwitcherTriggerAppearance, type ContextSwitcherWidth, } from './components/ContextSwitcher.js';
|
|
69
|
-
export { AppShell, type AppShellLabels, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, type AppShellSkipLink, } from './components/AppShell.js';
|
|
69
|
+
export { AppShell, appShellContentMaxWidths, appShellSidebarTones, type AppShellContentMaxWidth, type AppShellSidebarTone, type AppShellLabels, type AppShellNavGroup, type AppShellNavItem, type AppShellProps, type AppShellSkipLink, } from './components/AppShell.js';
|
|
70
70
|
export { SectionNav, sectionNavAppearances, type SectionNavAppearance, type SectionNavItem, type SectionNavProps, } from './components/SectionNav.js';
|
|
71
71
|
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlVariant, segmentedSizes, type SegmentedSize, type SegmentedItem, } from './components/SegmentedControl.js';
|
|
72
72
|
export { Combobox, comboboxSizes, type ComboboxAction, type ComboboxBadge, type ComboboxGroup, type ComboboxOption, type ComboboxProps, type ComboboxSize, } from './components/Combobox.js';
|
|
@@ -75,10 +75,11 @@ export type { SelectAction, SelectOption, SelectProps, SelectWidth, } from './co
|
|
|
75
75
|
export { MultiSelect, type MultiSelectAlign, type MultiSelectOption, type MultiSelectProps, } from './components/MultiSelect.js';
|
|
76
76
|
export { Stack, type Align, type Justify, type StackProps, } from './components/Stack.js';
|
|
77
77
|
export { Table, TableBody, TableCell, TableFooter, TableHeader, TableRow, TableSelectCell, tableCellTones, tableRowRules, tableRowVariants, type TableBodyProps, type TableCellProps, type TableCellTone, type TableColumnWidth, type TableDensity, type TableFooterProps, type TableHeaderProps, type TableLayout, type TableMaxHeight, type TableProps, type TableRowProps, type TableRowRule, type TableRowVariant, type TableSelectCellProps, type TableSort, type TableStickyHeader, type TableVerticalAlign, } from './components/Table.js';
|
|
78
|
-
export { Text, textFonts, type TextAlign, type TextElement, type TextFont, type TextProps, } from './components/Text.js';
|
|
78
|
+
export { Text, textFonts, textMaxLines, type TextAlign, type TextElement, type TextFont, type TextMaxLines, type TextProps, } from './components/Text.js';
|
|
79
79
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/ThemeProvider.js';
|
|
80
80
|
export { themeCanvases, type ThemeCanvas } from './css/css-canvas-grouped.js';
|
|
81
81
|
export { themeFrames, type ThemeFrame } from './css/css-theme-frame.js';
|
|
82
|
+
export { themeDensities, type ThemeDensity } from './css/css-density.js';
|
|
82
83
|
export { utilityClassCatalog } from './css/stylesheet.js';
|
|
83
84
|
export type { VisibilityProps } from './visibility-classes.js';
|
|
84
85
|
export type { Breakpoint, BreakpointDirection, VisibilityBreakpoint, } from './css/breakpoints.js';
|
|
@@ -98,19 +99,21 @@ export { PreviewTiles } from './components/screen-preview/PreviewTiles.js';
|
|
|
98
99
|
export type { PreviewTile, PreviewTilesProps, } from './components/screen-preview/PreviewTiles.js';
|
|
99
100
|
export { Hero } from './components/Hero.js';
|
|
100
101
|
export type { HeroProps } from './components/Hero.js';
|
|
102
|
+
export { PageHeader } from './components/PageHeader.js';
|
|
103
|
+
export type { PageHeaderBack, PageHeaderProps, } from './components/PageHeader.js';
|
|
101
104
|
export { SiteFooter } from './components/SiteFooter.js';
|
|
102
105
|
export type { SiteFooterGroup, SiteFooterLink, SiteFooterProps, } from './components/SiteFooter.js';
|
|
103
106
|
export { Separator } from './components/Separator.js';
|
|
104
107
|
export type { SeparatorOrientation, SeparatorProps, } from './components/Separator.js';
|
|
105
|
-
export { DescriptionItem, DescriptionList, descriptionListLayouts, } from './components/DescriptionList.js';
|
|
106
|
-
export type { DescriptionItemProps, DescriptionListLayout, DescriptionListProps, } from './components/DescriptionList.js';
|
|
107
|
-
export { Grid, gridFits } from './components/Grid.js';
|
|
108
|
-
export type { GridColumns, GridFit, GridProps } from './components/Grid.js';
|
|
108
|
+
export { DescriptionItem, DescriptionList, descriptionListLayouts, descriptionListTermWidths, } from './components/DescriptionList.js';
|
|
109
|
+
export type { DescriptionItemProps, DescriptionListLayout, DescriptionListProps, DescriptionListTermWidth, } from './components/DescriptionList.js';
|
|
110
|
+
export { Grid, gridFits, gridRails } from './components/Grid.js';
|
|
111
|
+
export type { GridColumns, GridFit, GridProps, GridRail, } from './components/Grid.js';
|
|
109
112
|
export type { GridColumnSpan } from './css/css-grid-span.js';
|
|
110
113
|
export type { ColumnSpanProps } from './column-span-classes.js';
|
|
111
114
|
export { DenominationGrid, denominationCellToneAppearances, denominationGridFrames, denominationLabelAppearances, denominationNegativeAppearances, denominationTotalEmphases, denominationTransposeBreakpoints, } from './components/DenominationGrid.js';
|
|
112
115
|
export type { DenominationCellToneAppearance, DenominationGridColumn, DenominationGridEntry, DenominationGridFrame, DenominationGridLayout, DenominationGridNegativeAppearance, DenominationGridProps, DenominationGridRow, DenominationGridRowEmphasis, DenominationGridRowRole, DenominationGridTone, DenominationGridValueRow, DenominationLabelAppearance, DenominationLabelWidth, DenominationTotalEmphasis, DenominationTransposeBreakpoint, } from './components/DenominationGrid.js';
|
|
113
|
-
export { FilterChips, filterChipCountAppearances, filterChipsOverflows, filterChipTones, } from './components/FilterChips.js';
|
|
116
|
+
export { FilterChips, filterChipCountAppearances, filterChipsOverflows, filterChipsSelectedStyles, filterChipTones, } from './components/FilterChips.js';
|
|
114
117
|
export { FilterChipsRow } from './components/FilterChipsRow.js';
|
|
115
118
|
export type { FilterChipsRowProps } from './components/FilterChipsRow.js';
|
|
116
|
-
export type { FilterChipCountAppearance, FilterChipOption, FilterChipsOverflow, FilterChipsProps, FilterChipTone, } from './components/FilterChips.js';
|
|
119
|
+
export type { FilterChipCountAppearance, FilterChipOption, FilterChipsOverflow, FilterChipsProps, FilterChipsSelectedStyle, FilterChipTone, } from './components/FilterChips.js';
|
package/dist/index.js
CHANGED
|
@@ -56,14 +56,14 @@ export { Inline } from './components/Inline.js';
|
|
|
56
56
|
export { Split } from './components/Split.js';
|
|
57
57
|
export { Nav, navAppearances, } from './components/Nav.js';
|
|
58
58
|
export { NavCount, navCountTones, } from './components/NavCount.js';
|
|
59
|
-
export { FixtureGroup, } from './components/FixtureGroup.js';
|
|
59
|
+
export { FixtureGroup, fixtureGroupSides, } from './components/FixtureGroup.js';
|
|
60
60
|
export { FixtureRow, } from './components/FixtureRow.js';
|
|
61
61
|
export { defaultScheduleGridLabels, ScheduleGrid, } from './components/ScheduleGrid.js';
|
|
62
62
|
export { DateToggleCalendar, } from './components/DateToggleCalendar.js';
|
|
63
63
|
export { CommandPalette, commandPaletteShortcuts, } from './components/CommandPalette.js';
|
|
64
64
|
export { CommandPaletteTrigger, } from './components/CommandPaletteTrigger.js';
|
|
65
65
|
export { ContextSwitcher, contextSwitcherTriggerAppearances, contextSwitcherWidths, } from './components/ContextSwitcher.js';
|
|
66
|
-
export { AppShell, } from './components/AppShell.js';
|
|
66
|
+
export { AppShell, appShellContentMaxWidths, appShellSidebarTones, } from './components/AppShell.js';
|
|
67
67
|
export { SectionNav, sectionNavAppearances, } from './components/SectionNav.js';
|
|
68
68
|
export { SegmentedControl, segmentedSizes, } from './components/SegmentedControl.js';
|
|
69
69
|
export { Combobox, comboboxSizes, } from './components/Combobox.js';
|
|
@@ -71,10 +71,11 @@ export { Select } from './components/Select.js';
|
|
|
71
71
|
export { MultiSelect, } from './components/MultiSelect.js';
|
|
72
72
|
export { Stack, } from './components/Stack.js';
|
|
73
73
|
export { Table, TableBody, TableCell, TableFooter, TableHeader, TableRow, TableSelectCell, tableCellTones, tableRowRules, tableRowVariants, } from './components/Table.js';
|
|
74
|
-
export { Text, textFonts, } from './components/Text.js';
|
|
74
|
+
export { Text, textFonts, textMaxLines, } from './components/Text.js';
|
|
75
75
|
export { ThemeProvider, useTheme, } from './theme/ThemeProvider.js';
|
|
76
76
|
export { themeCanvases } from './css/css-canvas-grouped.js';
|
|
77
77
|
export { themeFrames } from './css/css-theme-frame.js';
|
|
78
|
+
export { themeDensities } from './css/css-density.js';
|
|
78
79
|
export { utilityClassCatalog } from './css/stylesheet.js';
|
|
79
80
|
export { breakpointQuery } from './css/breakpoints.js';
|
|
80
81
|
export { Band, bandElements, bandTones, bandWidths, } from './components/Band.js';
|
|
@@ -85,10 +86,11 @@ export { PreviewImage } from './components/screen-preview/PreviewImage.js';
|
|
|
85
86
|
export { PreviewRow, previewRowKinds, } from './components/screen-preview/PreviewRow.js';
|
|
86
87
|
export { PreviewTiles } from './components/screen-preview/PreviewTiles.js';
|
|
87
88
|
export { Hero } from './components/Hero.js';
|
|
89
|
+
export { PageHeader } from './components/PageHeader.js';
|
|
88
90
|
export { SiteFooter } from './components/SiteFooter.js';
|
|
89
91
|
export { Separator } from './components/Separator.js';
|
|
90
|
-
export { DescriptionItem, DescriptionList, descriptionListLayouts, } from './components/DescriptionList.js';
|
|
91
|
-
export { Grid, gridFits } from './components/Grid.js';
|
|
92
|
+
export { DescriptionItem, DescriptionList, descriptionListLayouts, descriptionListTermWidths, } from './components/DescriptionList.js';
|
|
93
|
+
export { Grid, gridFits, gridRails } from './components/Grid.js';
|
|
92
94
|
export { DenominationGrid, denominationCellToneAppearances, denominationGridFrames, denominationLabelAppearances, denominationNegativeAppearances, denominationTotalEmphases, denominationTransposeBreakpoints, } from './components/DenominationGrid.js';
|
|
93
|
-
export { FilterChips, filterChipCountAppearances, filterChipsOverflows, filterChipTones, } from './components/FilterChips.js';
|
|
95
|
+
export { FilterChips, filterChipCountAppearances, filterChipsOverflows, filterChipsSelectedStyles, filterChipTones, } from './components/FilterChips.js';
|
|
94
96
|
export { FilterChipsRow } from './components/FilterChipsRow.js';
|