dce-reactkit 3.10.3 → 3.11.1-beta.tooltip.1
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/cjs/index.js +2 -9
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/stylesheets/shared.css.d.ts +1 -1
- package/dist/esm/index.js +2 -9
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/stylesheets/shared.css.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/AppWrapper.tsx +18 -18
- package/src/components/CheckboxButton.tsx +0 -1
- package/src/components/RadioButton.tsx +0 -1
- package/src/stylesheets/shared.css.ts +0 -5
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
* Universal stylesheet
|
|
3
3
|
* @author Gabe Abrams
|
|
4
4
|
*/
|
|
5
|
-
declare const shared = "\n/* Button with no style */\n.btn-nostyle {\n border: 0 !important;\n background: transparent !important;\n outline: 0 !important;\n font-size: inherit !important;\n color: inherit !important;\n padding: 0 !important;\n margin: 0 !important;\n}\n\n/* Tooltip on Very Top */\n.tooltip {\n z-index: 9000000000 !important;\n}\n
|
|
5
|
+
declare const shared = "\n/* Button with no style */\n.btn-nostyle {\n border: 0 !important;\n background: transparent !important;\n outline: 0 !important;\n font-size: inherit !important;\n color: inherit !important;\n padding: 0 !important;\n margin: 0 !important;\n}\n\n/* Tooltip on Very Top */\n.tooltip {\n z-index: 9000000000 !important;\n}\n";
|
|
6
6
|
export default shared;
|
package/package.json
CHANGED
|
@@ -608,23 +608,23 @@ const AppWrapper: React.FC<Props> = (props: Props): React.ReactElement => {
|
|
|
608
608
|
|
|
609
609
|
// Prompt
|
|
610
610
|
const [promptInfo, setPromptInfoInner] = useState<
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
}
|
|
611
|
+
| undefined
|
|
612
|
+
| {
|
|
613
|
+
title: string,
|
|
614
|
+
currentInputFieldText: string,
|
|
615
|
+
opts: {
|
|
616
|
+
textAboveInputField?: string,
|
|
617
|
+
placeholder?: string,
|
|
618
|
+
defaultText?: string,
|
|
619
|
+
confirmButtonText?: string,
|
|
620
|
+
confirmButtonVariant?: Variant,
|
|
621
|
+
cancelButtonText?: string,
|
|
622
|
+
cancelButtonVariant?: Variant,
|
|
623
|
+
minNumChars?: number,
|
|
624
|
+
findValidationError?: (text: string) => string | undefined,
|
|
625
|
+
ariaLabel?: string,
|
|
627
626
|
}
|
|
627
|
+
}
|
|
628
628
|
>(undefined);
|
|
629
629
|
setPromptInfo = setPromptInfoInner;
|
|
630
630
|
|
|
@@ -918,7 +918,7 @@ const AppWrapper: React.FC<Props> = (props: Props): React.ReactElement => {
|
|
|
918
918
|
? `
|
|
919
919
|
.tooltip-inner {
|
|
920
920
|
background-color: white;
|
|
921
|
-
color: black;
|
|
921
|
+
color: black !important;
|
|
922
922
|
border: 0.1rem solid black;
|
|
923
923
|
pointer-events: none;
|
|
924
924
|
}
|
|
@@ -931,7 +931,7 @@ const AppWrapper: React.FC<Props> = (props: Props): React.ReactElement => {
|
|
|
931
931
|
: `
|
|
932
932
|
.tooltip-inner {
|
|
933
933
|
background-color: black;
|
|
934
|
-
color: white;
|
|
934
|
+
color: white !important;
|
|
935
935
|
border: 0.1rem solid white;
|
|
936
936
|
pointer-events: none;
|
|
937
937
|
}
|