@scalewing/react 1.28.0 → 1.30.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 +60 -0
- package/README.md +48 -4
- package/dist/components/ActionMenu.d.ts +14 -0
- package/dist/components/ActionMenu.js +4 -0
- package/dist/components/ButtonGroup.d.ts +9 -1
- package/dist/components/ButtonGroup.js +2 -2
- package/dist/components/Checkbox.js +5 -4
- package/dist/components/FilterChips.d.ts +17 -1
- package/dist/components/FilterChips.js +11 -6
- package/dist/components/GlyphTile.d.ts +21 -0
- package/dist/components/GlyphTile.js +17 -0
- package/dist/components/MultiSelect.d.ts +10 -0
- package/dist/components/MultiSelect.js +62 -0
- package/dist/components/ScrollRegion.d.ts +6 -2
- package/dist/components/ScrollRegion.js +9 -3
- package/dist/components/SectionNav.d.ts +25 -2
- package/dist/components/SectionNav.js +13 -4
- package/dist/components/SegmentedControl.d.ts +8 -0
- package/dist/components/SegmentedControl.js +4 -3
- package/dist/components/Table.d.ts +49 -5
- package/dist/components/Table.js +11 -4
- package/dist/components/action-menu/ActionMenuList.js +7 -7
- package/dist/components/checkbox/CheckboxControl.d.ts +9 -0
- package/dist/components/checkbox/CheckboxControl.js +9 -0
- package/dist/components/multi-select/MultiSelectPanel.d.ts +25 -0
- package/dist/components/multi-select/MultiSelectPanel.js +41 -0
- package/dist/components/multi-select/types.d.ts +35 -0
- package/dist/components/multi-select/types.js +1 -0
- package/dist/components/multi-select/validate.d.ts +3 -0
- package/dist/components/multi-select/validate.js +25 -0
- package/dist/components/table/TableCell.d.ts +8 -0
- package/dist/components/table/TableCell.js +4 -2
- package/dist/components/table/TableRow.d.ts +39 -0
- package/dist/components/table/TableRow.js +8 -0
- package/dist/components/use-scroll-overflow.d.ts +8 -3
- package/dist/components/use-scroll-overflow.js +15 -4
- package/dist/css/css-action-menu.js +41 -0
- package/dist/css/css-button-group-attached.d.ts +2 -0
- package/dist/css/css-button-group-attached.js +70 -0
- package/dist/css/css-button.js +5 -1
- package/dist/css/css-components.js +8 -0
- package/dist/css/css-filter-chips.js +26 -0
- package/dist/css/css-glyph-tile.d.ts +5 -0
- package/dist/css/css-glyph-tile.js +57 -0
- package/dist/css/css-multi-select.d.ts +2 -0
- package/dist/css/css-multi-select.js +156 -0
- package/dist/css/css-section-nav-filled.d.ts +6 -0
- package/dist/css/css-section-nav-filled.js +80 -0
- package/dist/css/css-section-nav.js +4 -0
- package/dist/css/css-segmented.js +58 -0
- package/dist/css/css-table-footer.d.ts +2 -0
- package/dist/css/css-table-footer.js +57 -0
- package/dist/css/css-table-ledger.d.ts +10 -0
- package/dist/css/css-table-ledger.js +122 -0
- package/dist/css/css-table.js +8 -0
- package/dist/css/css-variables.js +11 -1
- package/dist/css/stacking.d.ts +9 -3
- package/dist/css/stacking.js +29 -9
- package/dist/css/stylesheet.js +4 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -2
- package/dist/styles.css +501 -7
- package/package.json +2 -2
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/** The colours a cell's text can take: a signed figure or a quiet value. */
|
|
2
|
+
export const tableCellTones = ['success', 'danger', 'muted', 'accent'];
|
|
3
|
+
/** A row's place in the table: a row of its own, or one under the row above. */
|
|
4
|
+
export const tableRowVariants = ['default', 'sub'];
|
|
5
|
+
export function assertTableCellTone(tone) {
|
|
6
|
+
if (tone !== undefined && !tableCellTones.includes(tone))
|
|
7
|
+
throw new RangeError(`Unknown TableCell tone: ${String(tone)}`);
|
|
8
|
+
}
|
|
9
|
+
export function assertTableRowVariant(variant) {
|
|
10
|
+
if (!tableRowVariants.includes(variant))
|
|
11
|
+
throw new RangeError(`Unknown TableRow variant: ${String(variant)}`);
|
|
12
|
+
}
|
|
13
|
+
function toneRules() {
|
|
14
|
+
return tableCellTones
|
|
15
|
+
.map((tone) => `.sw-table .sw-table-tone-${tone} {
|
|
16
|
+
color: var(--sw-color-${tone});
|
|
17
|
+
}`)
|
|
18
|
+
.join('\n\n');
|
|
19
|
+
}
|
|
20
|
+
/*
|
|
21
|
+
* Ledger rules, for a table read across as well as down.
|
|
22
|
+
*
|
|
23
|
+
* A cell tone colours the cell's text in the theme's semantic colour, as
|
|
24
|
+
* Text color does: 4.5:1 on the surface and the canvas in the default
|
|
25
|
+
* palettes and most named ones (the test names the few palette gaps). A
|
|
26
|
+
* struck row mutes its toned cells, so no tone sits on the subtle fill.
|
|
27
|
+
*
|
|
28
|
+
* Column rules draw a hairline at the inline start of every cell after a
|
|
29
|
+
* row's first, so bill columns read as columns. A border, so forced
|
|
30
|
+
* colours keep it and RTL mirrors it; a sticky header cell draws it on
|
|
31
|
+
* its ::after.
|
|
32
|
+
*
|
|
33
|
+
* A row header in the body (`th scope="row"`, such as an entry's name)
|
|
34
|
+
* reads as body text, not as a column header. The reset is no stronger
|
|
35
|
+
* than `.sw-table th`, so a cell's numeric, tone and struck rules win.
|
|
36
|
+
*
|
|
37
|
+
* A sub row sits under the row above it: its row header is indented a
|
|
38
|
+
* space-6 step with a guide bar at the indent, so a batch's items or a
|
|
39
|
+
* change's parts read as parts of one entry. The bar is the header's
|
|
40
|
+
* ::after (::before is the selected row's bar) and a border, so forced
|
|
41
|
+
* colours keep it.
|
|
42
|
+
*
|
|
43
|
+
* A struck row is a voided one kept on the record: the subtle fill, the
|
|
44
|
+
* text muted and struck through. A Badge in it (an inline-flex box) is not
|
|
45
|
+
* struck when it sits in a line of text (it is an atomic inline box; one
|
|
46
|
+
* that is itself a flex item is struck), so its tag, such as "Voided",
|
|
47
|
+
* stays plain; its words say why the row is struck, since a line-through
|
|
48
|
+
* is not read aloud.
|
|
49
|
+
*/
|
|
50
|
+
export function cssTableLedgerClasses() {
|
|
51
|
+
return `${toneRules()}
|
|
52
|
+
|
|
53
|
+
.sw-table-column-rules :is(th, td) + :is(th, td) {
|
|
54
|
+
border-inline-start: 1px solid var(--sw-color-border);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/* A sticky header cell is positioned, so the next cell's fill covers a
|
|
58
|
+
collapsed border; its rule is a border on its own ::after instead, so
|
|
59
|
+
forced colours keep it and the logical inset mirrors it. */
|
|
60
|
+
.sw-table-sticky.sw-table-column-rules thead :is(th, td) + :is(th, td)::after {
|
|
61
|
+
border-inline-start: 1px solid var(--sw-color-border);
|
|
62
|
+
content: '';
|
|
63
|
+
inset-block: 0;
|
|
64
|
+
inset-inline-start: 0;
|
|
65
|
+
pointer-events: none;
|
|
66
|
+
position: absolute;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
:where(.sw-table tbody, .sw-table tfoot) th[scope='row'] {
|
|
70
|
+
color: inherit;
|
|
71
|
+
font: inherit;
|
|
72
|
+
letter-spacing: inherit;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.sw-table-row-sub > th[scope='row'] {
|
|
76
|
+
padding-inline-start: calc(var(--sw-space-3) + var(--sw-space-6) + var(--sw-space-3));
|
|
77
|
+
position: relative;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.sw-table-compact .sw-table-row-sub > th[scope='row'] {
|
|
81
|
+
padding-inline-start: calc(var(--sw-space-2) + var(--sw-space-6) + var(--sw-space-3));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.sw-table-row-sub > th[scope='row']::after {
|
|
85
|
+
block-size: var(--sw-space-5);
|
|
86
|
+
border-inline-start: 2px solid var(--sw-color-border);
|
|
87
|
+
content: '';
|
|
88
|
+
inset-block-start: 50%;
|
|
89
|
+
inset-inline-start: calc(var(--sw-space-3) + var(--sw-space-6));
|
|
90
|
+
pointer-events: none;
|
|
91
|
+
position: absolute;
|
|
92
|
+
transform: translateY(-50%);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.sw-table-compact .sw-table-row-sub > th[scope='row']::after {
|
|
96
|
+
inset-inline-start: calc(var(--sw-space-2) + var(--sw-space-6));
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sw-table .sw-table-row-struck > :is(td, th) {
|
|
100
|
+
background: var(--sw-color-subtle);
|
|
101
|
+
color: var(--sw-color-muted);
|
|
102
|
+
text-decoration: line-through;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.sw-table .sw-table-row-struck > [class*='sw-table-tone-'] {
|
|
106
|
+
color: var(--sw-color-muted);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (forced-colors: active) {
|
|
110
|
+
.sw-table-column-rules :is(th, td) + :is(th, td),
|
|
111
|
+
.sw-table-sticky.sw-table-column-rules thead :is(th, td) + :is(th, td)::after { border-color: CanvasText; }
|
|
112
|
+
.sw-table-row-sub > th[scope='row']::after { border-color: CanvasText; }
|
|
113
|
+
}`;
|
|
114
|
+
}
|
|
115
|
+
export function tableLedgerClassCatalog() {
|
|
116
|
+
return [
|
|
117
|
+
...tableCellTones.map((tone) => `sw-table-tone-${tone}`),
|
|
118
|
+
'sw-table-column-rules',
|
|
119
|
+
'sw-table-row-sub',
|
|
120
|
+
'sw-table-row-struck',
|
|
121
|
+
];
|
|
122
|
+
}
|
package/dist/css/css-table.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { typographyVariants } from '@scalewing/tokens';
|
|
2
2
|
import { scrollRegionRules } from './css-scroll-region.js';
|
|
3
3
|
import { cssTableLayoutClasses, tableLayoutClassCatalog, } from './css-table-layout.js';
|
|
4
|
+
import { cssTableLedgerClasses, tableLedgerClassCatalog, } from './css-table-ledger.js';
|
|
5
|
+
import { cssTableFooterClasses, tableFooterClassCatalog, } from './css-table-footer.js';
|
|
4
6
|
import { cssTableSortClasses, tableSortClassCatalog, } from './css-table-sort.js';
|
|
5
7
|
import { zIndex } from './stacking.js';
|
|
6
8
|
const caption = typographyVariants.caption;
|
|
@@ -89,6 +91,10 @@ ${cssTableLayoutClasses()}
|
|
|
89
91
|
|
|
90
92
|
${cssTableSortClasses()}
|
|
91
93
|
|
|
94
|
+
${cssTableLedgerClasses()}
|
|
95
|
+
|
|
96
|
+
${cssTableFooterClasses()}
|
|
97
|
+
|
|
92
98
|
${selectedRowRules()}`;
|
|
93
99
|
}
|
|
94
100
|
export function tableClassCatalog() {
|
|
@@ -103,5 +109,7 @@ export function tableClassCatalog() {
|
|
|
103
109
|
'sw-table-row-selected',
|
|
104
110
|
...tableLayoutClassCatalog(),
|
|
105
111
|
...tableSortClassCatalog(),
|
|
112
|
+
...tableLedgerClassCatalog(),
|
|
113
|
+
...tableFooterClassCatalog(),
|
|
106
114
|
];
|
|
107
115
|
}
|
|
@@ -1,10 +1,18 @@
|
|
|
1
|
-
import { controlScale, disabledOpacity, focusRing, quietOpacity, radiusScale, secondaryActionBorder, semanticColorKeys, spacingScale, spacingSteps, splitScale, } from '@scalewing/tokens';
|
|
1
|
+
import { categoricalColorKeys, categoricalColors, onCategorical, controlScale, disabledOpacity, focusRing, quietOpacity, radiusScale, secondaryActionBorder, semanticColorKeys, spacingScale, spacingSteps, splitScale, } from '@scalewing/tokens';
|
|
2
2
|
function colorDeclarations(theme) {
|
|
3
3
|
return [
|
|
4
4
|
...semanticColorKeys.map((key) => ` --sw-color-${key}: ${theme.colors[key]};`),
|
|
5
5
|
` --sw-button-secondary-border: ${secondaryActionBorder(theme.colors)};`,
|
|
6
6
|
].join('\n');
|
|
7
7
|
}
|
|
8
|
+
/* The categorical fills of the theme's scheme and the glyph drawn on them. */
|
|
9
|
+
function categoricalDeclarations(theme) {
|
|
10
|
+
const fills = categoricalColors[theme.colorScheme];
|
|
11
|
+
return [
|
|
12
|
+
...categoricalColorKeys.map((key) => ` --sw-categorical-${key}: ${fills[key]};`),
|
|
13
|
+
` --sw-categorical-on: ${onCategorical};`,
|
|
14
|
+
].join('\n');
|
|
15
|
+
}
|
|
8
16
|
function glassDeclarations(theme) {
|
|
9
17
|
return ` --sw-glass-blur: ${theme.glass.blur}px;
|
|
10
18
|
--sw-glass-saturate: ${theme.glass.saturate};
|
|
@@ -54,11 +62,13 @@ export function cssVariables(light, dark) {
|
|
|
54
62
|
return `:root,
|
|
55
63
|
[data-theme='light'] {
|
|
56
64
|
${colorDeclarations(light)}
|
|
65
|
+
${categoricalDeclarations(light)}
|
|
57
66
|
${sharedDeclarations(light)}
|
|
58
67
|
}
|
|
59
68
|
|
|
60
69
|
[data-theme='dark'] {
|
|
61
70
|
${colorDeclarations(dark)}
|
|
71
|
+
${categoricalDeclarations(dark)}
|
|
62
72
|
${sharedDeclarations(dark)}
|
|
63
73
|
}`;
|
|
64
74
|
}
|
package/dist/css/stacking.d.ts
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
export declare const stackingOrder: {
|
|
2
2
|
readonly stickyCell: 1;
|
|
3
|
-
readonly
|
|
4
|
-
readonly
|
|
5
|
-
readonly
|
|
3
|
+
readonly stickyFooter: 2;
|
|
4
|
+
readonly bottomChrome: 3;
|
|
5
|
+
readonly popupHost: 4;
|
|
6
|
+
readonly topChrome: 5;
|
|
6
7
|
readonly popup: 10;
|
|
7
8
|
};
|
|
8
9
|
export type StackingLayer = keyof typeof stackingOrder;
|
|
10
|
+
export declare const joinedControlOrder: {
|
|
11
|
+
readonly pressed: 1;
|
|
12
|
+
readonly focused: 2;
|
|
13
|
+
};
|
|
14
|
+
export declare function joinedZIndex(layer: keyof typeof joinedControlOrder): string;
|
|
9
15
|
export declare function zIndex(layer: StackingLayer): string;
|
|
10
16
|
export declare function cssPopupHostRules(): string;
|
package/dist/css/stacking.js
CHANGED
|
@@ -4,28 +4,45 @@
|
|
|
4
4
|
*
|
|
5
5
|
* 1. `stickyCell`: a sticky table header cell or row label over the cells
|
|
6
6
|
* that scroll under it.
|
|
7
|
-
* 2. `
|
|
8
|
-
*
|
|
7
|
+
* 2. `stickyFooter`: a sticky table footer (a pinned total row) over the
|
|
8
|
+
* cells and pinned header cells that scroll under it, and under the
|
|
9
|
+
* ActionBar, which stays the page's last word at the bottom edge.
|
|
10
|
+
* 3. `bottomChrome`: the sticky ActionBar over the page flow it follows.
|
|
11
|
+
* 4. `popupHost`: a glass surface (glass Card, Accordion) while it holds an
|
|
9
12
|
* open popup. Backdrop blur makes that surface its own stacking context, so
|
|
10
13
|
* its popup can only paint as high as the surface does; lifting the surface
|
|
11
14
|
* over the ActionBar keeps an open list tappable where the bar would cover
|
|
12
15
|
* it, and over the next surface in the flow.
|
|
13
|
-
*
|
|
16
|
+
* 5. `topChrome`: the sticky AppHeader or sticky Tabs strip, over a lifted
|
|
14
17
|
* surface that scrolls up under it (the header is the page's way back, the
|
|
15
18
|
* strip its way between sections, and a popup opens downward).
|
|
16
|
-
*
|
|
17
|
-
* list, Tooltip, the DateField and CalendarButton
|
|
18
|
-
* everything in the page.
|
|
19
|
+
* 6. `popup`: a popup outside any lifted surface (Select list, ActionMenu
|
|
20
|
+
* list, MultiSelect panel, Tooltip, the DateField and CalendarButton
|
|
21
|
+
* calendar) over everything in the page.
|
|
19
22
|
*
|
|
20
23
|
* Dialog and Toast sit on the browser's top layer, above all of these.
|
|
21
24
|
*/
|
|
22
25
|
export const stackingOrder = {
|
|
23
26
|
stickyCell: 1,
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
+
stickyFooter: 2,
|
|
28
|
+
bottomChrome: 3,
|
|
29
|
+
popupHost: 4,
|
|
30
|
+
topChrome: 5,
|
|
27
31
|
popup: 10,
|
|
28
32
|
};
|
|
33
|
+
/*
|
|
34
|
+
* The order inside a joined control (an attached ButtonGroup), which is
|
|
35
|
+
* its own stacking context (`isolation: isolate`), so these never meet the
|
|
36
|
+
* page's layers: a pressed button's ring over its neighbours, and the
|
|
37
|
+
* focused button's ring over both.
|
|
38
|
+
*/
|
|
39
|
+
export const joinedControlOrder = {
|
|
40
|
+
pressed: 1,
|
|
41
|
+
focused: 2,
|
|
42
|
+
};
|
|
43
|
+
export function joinedZIndex(layer) {
|
|
44
|
+
return `z-index: ${joinedControlOrder[layer]};`;
|
|
45
|
+
}
|
|
29
46
|
export function zIndex(layer) {
|
|
30
47
|
return `z-index: ${stackingOrder[layer]};`;
|
|
31
48
|
}
|
|
@@ -33,6 +50,9 @@ const openPopups = [
|
|
|
33
50
|
'.sw-select-list',
|
|
34
51
|
// Rendered only while open; on the top layer where the popover API exists.
|
|
35
52
|
'.sw-action-menu-list',
|
|
53
|
+
// MultiSelect's panel. Rendered only while open; on the top layer where
|
|
54
|
+
// the popover API exists.
|
|
55
|
+
'.sw-multi-select-panel',
|
|
36
56
|
'.sw-tooltip:not([hidden])',
|
|
37
57
|
// DateField and CalendarButton share it. Rendered only while open; on the
|
|
38
58
|
// top layer where the popover API exists.
|
package/dist/css/stylesheet.js
CHANGED
|
@@ -10,6 +10,7 @@ import { radioGroupClassCatalog } from './css-radio-group.js';
|
|
|
10
10
|
import { spinnerClassCatalog } from './css-spinner.js';
|
|
11
11
|
import { progressClassCatalog } from './css-progress.js';
|
|
12
12
|
import { noticeClassCatalog } from './css-notice.js';
|
|
13
|
+
import { glyphTileClassCatalog } from './css-glyph-tile.js';
|
|
13
14
|
import { tooltipClassCatalog } from './css-tooltip.js';
|
|
14
15
|
import { infoTipClassCatalog } from './css-info-tip.js';
|
|
15
16
|
import { separatorClassCatalog } from './css-separator.js';
|
|
@@ -37,6 +38,7 @@ import { sectionNavClassCatalog } from './css-section-nav.js';
|
|
|
37
38
|
import { dialogClassCatalog } from './css-dialog.js';
|
|
38
39
|
import { dialogFrameClassCatalog } from './css-dialog-frame.js';
|
|
39
40
|
import { selectClassCatalog } from './css-select.js';
|
|
41
|
+
import { multiSelectClassCatalog } from './css-multi-select.js';
|
|
40
42
|
import { splitClassCatalog } from './css-split.js';
|
|
41
43
|
import { toastClassCatalog } from './css-toast.js';
|
|
42
44
|
import { toastCardClassCatalog } from './css-toast-card.js';
|
|
@@ -71,6 +73,7 @@ export function utilityClassCatalog() {
|
|
|
71
73
|
...accordionClassCatalog(),
|
|
72
74
|
...selectClassCatalog(),
|
|
73
75
|
...actionMenuClassCatalog(),
|
|
76
|
+
...multiSelectClassCatalog(),
|
|
74
77
|
...actionBarClassCatalog(),
|
|
75
78
|
...switchClassCatalog(),
|
|
76
79
|
...dateFieldClassCatalog(),
|
|
@@ -80,6 +83,7 @@ export function utilityClassCatalog() {
|
|
|
80
83
|
...spinnerClassCatalog(),
|
|
81
84
|
...progressClassCatalog(),
|
|
82
85
|
...noticeClassCatalog(),
|
|
86
|
+
...glyphTileClassCatalog(),
|
|
83
87
|
...tooltipClassCatalog(),
|
|
84
88
|
...infoTipClassCatalog(),
|
|
85
89
|
...separatorClassCatalog(),
|
package/dist/index.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export { DateField, type DateFieldLabels, type DateFieldProps, type WeekStart, }
|
|
|
7
7
|
export { CalendarButton, type CalendarButtonLabels, type CalendarButtonProps, type CalendarButtonRange, } from './components/CalendarButton.js';
|
|
8
8
|
export { Checkbox, type CheckboxProps } from './components/Checkbox.js';
|
|
9
9
|
export { Spinner, type SpinnerProps, type SpinnerSize, } from './components/Spinner.js';
|
|
10
|
+
export { GlyphTile, glyphTileSizes, type GlyphTileHue, type GlyphTileProps, type GlyphTileSize, } from './components/GlyphTile.js';
|
|
10
11
|
export { Notice, noticeTones, noticeVariants, type NoticeProps, type NoticeRole, type NoticeTone, type NoticeVariant, } from './components/Notice.js';
|
|
11
12
|
export { Progress, progressTones, type ProgressProps, type ProgressTone, } from './components/Progress.js';
|
|
12
13
|
export { Tooltip, type TooltipProps, type TooltipRelationship, } from './components/Tooltip.js';
|
|
@@ -31,12 +32,13 @@ export { Inline, type InlineProps } from './components/Inline.js';
|
|
|
31
32
|
export { Split } from './components/Split.js';
|
|
32
33
|
export type { SplitProps } from './components/Split.js';
|
|
33
34
|
export { Nav, type NavProps } from './components/Nav.js';
|
|
34
|
-
export { SectionNav, type SectionNavItem, type SectionNavProps, } from './components/SectionNav.js';
|
|
35
|
+
export { SectionNav, sectionNavAppearances, type SectionNavAppearance, type SectionNavItem, type SectionNavProps, } from './components/SectionNav.js';
|
|
35
36
|
export { SegmentedControl, type SegmentedControlProps, type SegmentedControlVariant, type SegmentedItem, } from './components/SegmentedControl.js';
|
|
36
37
|
export { Select } from './components/Select.js';
|
|
37
38
|
export type { SelectAction, SelectOption, SelectProps, SelectWidth, } from './components/Select.js';
|
|
39
|
+
export { MultiSelect, type MultiSelectAlign, type MultiSelectOption, type MultiSelectProps, } from './components/MultiSelect.js';
|
|
38
40
|
export { Stack, type Align, type Justify, type StackProps, } from './components/Stack.js';
|
|
39
|
-
export { Table, TableBody, TableCell, TableHeader, TableRow, type TableBodyProps, type TableCellProps, type TableColumnWidth, type TableDensity, type TableHeaderProps, type TableLayout, type TableProps, type TableRowProps, type TableSort, type TableVerticalAlign, } from './components/Table.js';
|
|
41
|
+
export { Table, TableBody, TableCell, TableFooter, TableHeader, TableRow, tableCellTones, tableRowVariants, type TableBodyProps, type TableCellProps, type TableCellTone, type TableColumnWidth, type TableDensity, type TableFooterProps, type TableHeaderProps, type TableLayout, type TableProps, type TableRowProps, type TableRowVariant, type TableSort, type TableVerticalAlign, } from './components/Table.js';
|
|
40
42
|
export { Text, type TextAlign, type TextElement, type TextProps, } from './components/Text.js';
|
|
41
43
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/ThemeProvider.js';
|
|
42
44
|
export { utilityClassCatalog } from './css/stylesheet.js';
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,7 @@ export { DateField, } from './components/DateField.js';
|
|
|
6
6
|
export { CalendarButton, } from './components/CalendarButton.js';
|
|
7
7
|
export { Checkbox } from './components/Checkbox.js';
|
|
8
8
|
export { Spinner, } from './components/Spinner.js';
|
|
9
|
+
export { GlyphTile, glyphTileSizes, } from './components/GlyphTile.js';
|
|
9
10
|
export { Notice, noticeTones, noticeVariants, } from './components/Notice.js';
|
|
10
11
|
export { Progress, progressTones, } from './components/Progress.js';
|
|
11
12
|
export { Tooltip, } from './components/Tooltip.js';
|
|
@@ -28,11 +29,12 @@ export { Stepper, } from './components/Stepper.js';
|
|
|
28
29
|
export { Inline } from './components/Inline.js';
|
|
29
30
|
export { Split } from './components/Split.js';
|
|
30
31
|
export { Nav } from './components/Nav.js';
|
|
31
|
-
export { SectionNav, } from './components/SectionNav.js';
|
|
32
|
+
export { SectionNav, sectionNavAppearances, } from './components/SectionNav.js';
|
|
32
33
|
export { SegmentedControl, } from './components/SegmentedControl.js';
|
|
33
34
|
export { Select } from './components/Select.js';
|
|
35
|
+
export { MultiSelect, } from './components/MultiSelect.js';
|
|
34
36
|
export { Stack, } from './components/Stack.js';
|
|
35
|
-
export { Table, TableBody, TableCell, TableHeader, TableRow, } from './components/Table.js';
|
|
37
|
+
export { Table, TableBody, TableCell, TableFooter, TableHeader, TableRow, tableCellTones, tableRowVariants, } from './components/Table.js';
|
|
36
38
|
export { Text, } from './components/Text.js';
|
|
37
39
|
export { ThemeProvider, useTheme, } from './theme/ThemeProvider.js';
|
|
38
40
|
export { utilityClassCatalog } from './css/stylesheet.js';
|