@graphty/compact-mantine 0.9.19 → 0.9.21
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/index.cjs +119 -119
- package/dist/index.d.cts +19 -8
- package/dist/index.d.ts +19 -8
- package/dist/index.js +3611 -3576
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -967,8 +967,10 @@ export declare interface CompactMantineLabels {
|
|
|
967
967
|
*/
|
|
968
968
|
details: string;
|
|
969
969
|
/**
|
|
970
|
-
*
|
|
971
|
-
*
|
|
970
|
+
* The severity word a screen reader says before a ProseBlock departure
|
|
971
|
+
* line (the warning line stating how a reading departs from being exact
|
|
972
|
+
* and complete). The line is a note named by this word followed by its own
|
|
973
|
+
* text, such as "Warning Approximate (sample of 8)."
|
|
972
974
|
*/
|
|
973
975
|
departure: string;
|
|
974
976
|
/**
|
|
@@ -1805,9 +1807,10 @@ export declare interface ControlSectionProps extends DisclosureProps {
|
|
|
1805
1807
|
/**
|
|
1806
1808
|
* Whether the section is set up at all.
|
|
1807
1809
|
*
|
|
1808
|
-
* An empty section is drawn as
|
|
1809
|
-
*
|
|
1810
|
-
*
|
|
1810
|
+
* An empty section is drawn as its 40px header alone, with the 1px rule
|
|
1811
|
+
* below it (41px in all): the name in the secondary text color, no chevron,
|
|
1812
|
+
* and a single "+" in the trailing slot. It shows no content and no
|
|
1813
|
+
* empty-state sentence, and its children are not rendered.
|
|
1811
1814
|
*
|
|
1812
1815
|
* The dimmed name is never the only thing that says so. The chevron is
|
|
1813
1816
|
* gone, the "+" is there, and the group holds nothing, so the state still
|
|
@@ -6506,7 +6509,7 @@ export declare interface ToggleRowProps {
|
|
|
6506
6509
|
* 1. **The verb is deleted from the label.** The checkbox already says
|
|
6507
6510
|
* "enable", so `Enable glow` is written `Glow`.
|
|
6508
6511
|
* 2. **A boolean with nothing underneath it is not this component.** Use
|
|
6509
|
-
* `ToggleRow`, which packs a lone boolean onto a
|
|
6512
|
+
* `ToggleRow`, which packs a lone boolean onto a 32px row with a slot at its
|
|
6510
6513
|
* end, and use two or more of those inside a `ToggleRowGroup`.
|
|
6511
6514
|
*
|
|
6512
6515
|
* The checkbox says out loud that it opens something: it is marked as expanded
|
|
@@ -6852,6 +6855,10 @@ export declare interface TrailingSlotProps {
|
|
|
6852
6855
|
* opens every sibling; F2 renames; Alt+L closes everything; with `onMove`, Alt+ArrowUp /
|
|
6853
6856
|
* Alt+ArrowDown move the focused item one place among its siblings. `onRowKeyDown` sees every
|
|
6854
6857
|
* key first and can claim one with `preventDefault()`.
|
|
6858
|
+
* Row toggles (`actions`) are out of the Tab order: ArrowRight on a row without children, or
|
|
6859
|
+
* Alt+ArrowRight on any row, focuses the row's first toggle; there ArrowLeft / ArrowRight walk the
|
|
6860
|
+
* toggles, Enter / Space press one, ArrowLeft on the first or Escape returns to the row, and
|
|
6861
|
+
* ArrowUp / ArrowDown go to the row above or below.
|
|
6855
6862
|
* Pointer: click selects (Shift range, Control / Command toggle); the caret opens one row;
|
|
6856
6863
|
* double-click renames; drag a row to move it.
|
|
6857
6864
|
* @param props - Component props
|
|
@@ -6924,7 +6931,10 @@ export declare interface TreeItemProps extends Omit<default_2.HTMLAttributes<HTM
|
|
|
6924
6931
|
dimmed?: boolean;
|
|
6925
6932
|
/** Weight 600 and a primary glyph. Defaults to true for a top-level row with children. */
|
|
6926
6933
|
strong?: boolean;
|
|
6927
|
-
/**
|
|
6934
|
+
/**
|
|
6935
|
+
* The trailing toggles, revealed on hover or focus. Inside a Tree they are out of the Tab
|
|
6936
|
+
* order and reached with ArrowRight (see Tree).
|
|
6937
|
+
*/
|
|
6928
6938
|
actions?: default_2.ReactNode;
|
|
6929
6939
|
/** 1-based position among its siblings, for assistive technology. */
|
|
6930
6940
|
posInSet?: number;
|
|
@@ -6988,7 +6998,8 @@ export declare interface TreeNodeData {
|
|
|
6988
6998
|
* The row's trailing toggles (lock, eye): the caller's own controls. They stay hidden until
|
|
6989
6999
|
* the row is hovered or focused; a control with `aria-pressed="true"`, `aria-checked="true"`
|
|
6990
7000
|
* or `data-pinned` stays visible. A click on passive text here (nothing focusable) counts as a
|
|
6991
|
-
* click on the row.
|
|
7001
|
+
* click on the row. Their focusable controls are out of the Tab order: the keyboard reaches
|
|
7002
|
+
* them with ArrowRight on a row without children or Alt+ArrowRight on any row (see Tree).
|
|
6992
7003
|
*/
|
|
6993
7004
|
actions?: default_2.ReactNode;
|
|
6994
7005
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -967,8 +967,10 @@ export declare interface CompactMantineLabels {
|
|
|
967
967
|
*/
|
|
968
968
|
details: string;
|
|
969
969
|
/**
|
|
970
|
-
*
|
|
971
|
-
*
|
|
970
|
+
* The severity word a screen reader says before a ProseBlock departure
|
|
971
|
+
* line (the warning line stating how a reading departs from being exact
|
|
972
|
+
* and complete). The line is a note named by this word followed by its own
|
|
973
|
+
* text, such as "Warning Approximate (sample of 8)."
|
|
972
974
|
*/
|
|
973
975
|
departure: string;
|
|
974
976
|
/**
|
|
@@ -1805,9 +1807,10 @@ export declare interface ControlSectionProps extends DisclosureProps {
|
|
|
1805
1807
|
/**
|
|
1806
1808
|
* Whether the section is set up at all.
|
|
1807
1809
|
*
|
|
1808
|
-
* An empty section is drawn as
|
|
1809
|
-
*
|
|
1810
|
-
*
|
|
1810
|
+
* An empty section is drawn as its 40px header alone, with the 1px rule
|
|
1811
|
+
* below it (41px in all): the name in the secondary text color, no chevron,
|
|
1812
|
+
* and a single "+" in the trailing slot. It shows no content and no
|
|
1813
|
+
* empty-state sentence, and its children are not rendered.
|
|
1811
1814
|
*
|
|
1812
1815
|
* The dimmed name is never the only thing that says so. The chevron is
|
|
1813
1816
|
* gone, the "+" is there, and the group holds nothing, so the state still
|
|
@@ -6506,7 +6509,7 @@ export declare interface ToggleRowProps {
|
|
|
6506
6509
|
* 1. **The verb is deleted from the label.** The checkbox already says
|
|
6507
6510
|
* "enable", so `Enable glow` is written `Glow`.
|
|
6508
6511
|
* 2. **A boolean with nothing underneath it is not this component.** Use
|
|
6509
|
-
* `ToggleRow`, which packs a lone boolean onto a
|
|
6512
|
+
* `ToggleRow`, which packs a lone boolean onto a 32px row with a slot at its
|
|
6510
6513
|
* end, and use two or more of those inside a `ToggleRowGroup`.
|
|
6511
6514
|
*
|
|
6512
6515
|
* The checkbox says out loud that it opens something: it is marked as expanded
|
|
@@ -6852,6 +6855,10 @@ export declare interface TrailingSlotProps {
|
|
|
6852
6855
|
* opens every sibling; F2 renames; Alt+L closes everything; with `onMove`, Alt+ArrowUp /
|
|
6853
6856
|
* Alt+ArrowDown move the focused item one place among its siblings. `onRowKeyDown` sees every
|
|
6854
6857
|
* key first and can claim one with `preventDefault()`.
|
|
6858
|
+
* Row toggles (`actions`) are out of the Tab order: ArrowRight on a row without children, or
|
|
6859
|
+
* Alt+ArrowRight on any row, focuses the row's first toggle; there ArrowLeft / ArrowRight walk the
|
|
6860
|
+
* toggles, Enter / Space press one, ArrowLeft on the first or Escape returns to the row, and
|
|
6861
|
+
* ArrowUp / ArrowDown go to the row above or below.
|
|
6855
6862
|
* Pointer: click selects (Shift range, Control / Command toggle); the caret opens one row;
|
|
6856
6863
|
* double-click renames; drag a row to move it.
|
|
6857
6864
|
* @param props - Component props
|
|
@@ -6924,7 +6931,10 @@ export declare interface TreeItemProps extends Omit<default_2.HTMLAttributes<HTM
|
|
|
6924
6931
|
dimmed?: boolean;
|
|
6925
6932
|
/** Weight 600 and a primary glyph. Defaults to true for a top-level row with children. */
|
|
6926
6933
|
strong?: boolean;
|
|
6927
|
-
/**
|
|
6934
|
+
/**
|
|
6935
|
+
* The trailing toggles, revealed on hover or focus. Inside a Tree they are out of the Tab
|
|
6936
|
+
* order and reached with ArrowRight (see Tree).
|
|
6937
|
+
*/
|
|
6928
6938
|
actions?: default_2.ReactNode;
|
|
6929
6939
|
/** 1-based position among its siblings, for assistive technology. */
|
|
6930
6940
|
posInSet?: number;
|
|
@@ -6988,7 +6998,8 @@ export declare interface TreeNodeData {
|
|
|
6988
6998
|
* The row's trailing toggles (lock, eye): the caller's own controls. They stay hidden until
|
|
6989
6999
|
* the row is hovered or focused; a control with `aria-pressed="true"`, `aria-checked="true"`
|
|
6990
7000
|
* or `data-pinned` stays visible. A click on passive text here (nothing focusable) counts as a
|
|
6991
|
-
* click on the row.
|
|
7001
|
+
* click on the row. Their focusable controls are out of the Tab order: the keyboard reaches
|
|
7002
|
+
* them with ArrowRight on a row without children or Alt+ArrowRight on any row (see Tree).
|
|
6992
7003
|
*/
|
|
6993
7004
|
actions?: default_2.ReactNode;
|
|
6994
7005
|
/**
|