@graphty/compact-mantine 0.9.18 → 0.9.19
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 +35 -35
- package/dist/index.d.cts +43 -2
- package/dist/index.d.ts +43 -2
- package/dist/index.js +1170 -1161
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1016,10 +1016,38 @@ export declare interface CompactMantineLabels {
|
|
|
1016
1016
|
* @returns The button's accessible name
|
|
1017
1017
|
*/
|
|
1018
1018
|
resetToDefault: (label: string) => string;
|
|
1019
|
-
/**
|
|
1019
|
+
/**
|
|
1020
|
+
* Accessible name of the swatch button that opens the color picker, when
|
|
1021
|
+
* the control has no label. With a label, `pickColor` names it instead.
|
|
1022
|
+
*/
|
|
1020
1023
|
colorSwatch: string;
|
|
1021
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Accessible name of the text box holding the color's hex value, when the
|
|
1026
|
+
* control has no label. With a label, `colorValue` names it instead.
|
|
1027
|
+
*/
|
|
1022
1028
|
colorHexValue: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Accessible name of the swatch button that opens the color picker, saying
|
|
1031
|
+
* what pressing it does: "Pick Fill color".
|
|
1032
|
+
* @param label - The control's own label, as drawn above it
|
|
1033
|
+
* @returns The button's accessible name
|
|
1034
|
+
*/
|
|
1035
|
+
pickColor: (label: string) => string;
|
|
1036
|
+
/**
|
|
1037
|
+
* Accessible name of the text box holding the color's hex value, naming
|
|
1038
|
+
* the property it sets: "Fill color". The box's own value, the hex, is
|
|
1039
|
+
* announced after it.
|
|
1040
|
+
* @param label - The control's own label, as drawn above it
|
|
1041
|
+
* @returns The text box's accessible name
|
|
1042
|
+
*/
|
|
1043
|
+
colorValue: (label: string) => string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Accessible name of the number box holding the color's opacity
|
|
1046
|
+
* percentage, when the control has a label: "Fill opacity".
|
|
1047
|
+
* @param label - The control's own label, as drawn above it
|
|
1048
|
+
* @returns The number box's accessible name
|
|
1049
|
+
*/
|
|
1050
|
+
colorOpacity: (label: string) => string;
|
|
1023
1051
|
/** Accessible name of the number box holding the color's opacity percentage. */
|
|
1024
1052
|
opacity: string;
|
|
1025
1053
|
/** Title of the color picker pop-out when the caller supplied no label. */
|
|
@@ -1046,6 +1074,19 @@ export declare interface CompactMantineLabels {
|
|
|
1046
1074
|
* @returns The button's accessible name
|
|
1047
1075
|
*/
|
|
1048
1076
|
removeColorStop: (position: string) => string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Accessible name of the swatch button that selects one stop so the
|
|
1079
|
+
* picker edits its color.
|
|
1080
|
+
* @param position - The stop's position in the list, counting from one, already formatted for the active locale
|
|
1081
|
+
* @returns The button's accessible name
|
|
1082
|
+
*/
|
|
1083
|
+
editColorStop: (position: string) => string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Accessible name of the text box holding one stop's hex color.
|
|
1086
|
+
* @param position - The stop's position in the list, counting from one, already formatted for the active locale
|
|
1087
|
+
* @returns The text box's accessible name
|
|
1088
|
+
*/
|
|
1089
|
+
colorStopColor: (position: string) => string;
|
|
1049
1090
|
/** Heading above the gradient editor's direction slider. */
|
|
1050
1091
|
direction: string;
|
|
1051
1092
|
/** Accessible name of the gradient editor's direction slider. */
|
package/dist/index.d.ts
CHANGED
|
@@ -1016,10 +1016,38 @@ export declare interface CompactMantineLabels {
|
|
|
1016
1016
|
* @returns The button's accessible name
|
|
1017
1017
|
*/
|
|
1018
1018
|
resetToDefault: (label: string) => string;
|
|
1019
|
-
/**
|
|
1019
|
+
/**
|
|
1020
|
+
* Accessible name of the swatch button that opens the color picker, when
|
|
1021
|
+
* the control has no label. With a label, `pickColor` names it instead.
|
|
1022
|
+
*/
|
|
1020
1023
|
colorSwatch: string;
|
|
1021
|
-
/**
|
|
1024
|
+
/**
|
|
1025
|
+
* Accessible name of the text box holding the color's hex value, when the
|
|
1026
|
+
* control has no label. With a label, `colorValue` names it instead.
|
|
1027
|
+
*/
|
|
1022
1028
|
colorHexValue: string;
|
|
1029
|
+
/**
|
|
1030
|
+
* Accessible name of the swatch button that opens the color picker, saying
|
|
1031
|
+
* what pressing it does: "Pick Fill color".
|
|
1032
|
+
* @param label - The control's own label, as drawn above it
|
|
1033
|
+
* @returns The button's accessible name
|
|
1034
|
+
*/
|
|
1035
|
+
pickColor: (label: string) => string;
|
|
1036
|
+
/**
|
|
1037
|
+
* Accessible name of the text box holding the color's hex value, naming
|
|
1038
|
+
* the property it sets: "Fill color". The box's own value, the hex, is
|
|
1039
|
+
* announced after it.
|
|
1040
|
+
* @param label - The control's own label, as drawn above it
|
|
1041
|
+
* @returns The text box's accessible name
|
|
1042
|
+
*/
|
|
1043
|
+
colorValue: (label: string) => string;
|
|
1044
|
+
/**
|
|
1045
|
+
* Accessible name of the number box holding the color's opacity
|
|
1046
|
+
* percentage, when the control has a label: "Fill opacity".
|
|
1047
|
+
* @param label - The control's own label, as drawn above it
|
|
1048
|
+
* @returns The number box's accessible name
|
|
1049
|
+
*/
|
|
1050
|
+
colorOpacity: (label: string) => string;
|
|
1023
1051
|
/** Accessible name of the number box holding the color's opacity percentage. */
|
|
1024
1052
|
opacity: string;
|
|
1025
1053
|
/** Title of the color picker pop-out when the caller supplied no label. */
|
|
@@ -1046,6 +1074,19 @@ export declare interface CompactMantineLabels {
|
|
|
1046
1074
|
* @returns The button's accessible name
|
|
1047
1075
|
*/
|
|
1048
1076
|
removeColorStop: (position: string) => string;
|
|
1077
|
+
/**
|
|
1078
|
+
* Accessible name of the swatch button that selects one stop so the
|
|
1079
|
+
* picker edits its color.
|
|
1080
|
+
* @param position - The stop's position in the list, counting from one, already formatted for the active locale
|
|
1081
|
+
* @returns The button's accessible name
|
|
1082
|
+
*/
|
|
1083
|
+
editColorStop: (position: string) => string;
|
|
1084
|
+
/**
|
|
1085
|
+
* Accessible name of the text box holding one stop's hex color.
|
|
1086
|
+
* @param position - The stop's position in the list, counting from one, already formatted for the active locale
|
|
1087
|
+
* @returns The text box's accessible name
|
|
1088
|
+
*/
|
|
1089
|
+
colorStopColor: (position: string) => string;
|
|
1049
1090
|
/** Heading above the gradient editor's direction slider. */
|
|
1050
1091
|
direction: string;
|
|
1051
1092
|
/** Accessible name of the gradient editor's direction slider. */
|