anteriority-ui 1.0.1 → 1.1.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/.verify-bundle.css +124 -0
- package/.verify-bundle.js +909 -573
- package/AnteriorityUI.md +21 -4
- package/package.json +1 -1
- package/screens/components/Input/NumericInput.js +167 -0
- package/screens/components/Input/index.js +4 -1
- package/screens/components/Input/index.module.css +53 -1
- package/screens/components/Input/utils.js +43 -0
- package/screens/components/MarkdownContent/CopyButton.js +39 -0
- package/screens/components/MarkdownContent/index.js +59 -5
- package/screens/components/MarkdownContent/index.module.css +40 -0
- package/screens/components/MarkdownEditor/index.js +12 -0
- package/screens/components/Material-UI/Components/Selector/index.js +11 -2
package/.verify-bundle.css
CHANGED
|
@@ -1931,6 +1931,24 @@
|
|
|
1931
1931
|
line-height: 1.35;
|
|
1932
1932
|
margin: 1.1em 0 0.5em 0;
|
|
1933
1933
|
}
|
|
1934
|
+
.MarkdownContent_headingWithCopy {
|
|
1935
|
+
display: flex;
|
|
1936
|
+
align-items: center;
|
|
1937
|
+
gap: 0.4rem;
|
|
1938
|
+
}
|
|
1939
|
+
.MarkdownContent_headingText {
|
|
1940
|
+
min-width: 0;
|
|
1941
|
+
}
|
|
1942
|
+
.MarkdownContent_headingCopyButton {
|
|
1943
|
+
flex-shrink: 0;
|
|
1944
|
+
opacity: 0;
|
|
1945
|
+
transition: opacity 0.15s ease;
|
|
1946
|
+
}
|
|
1947
|
+
.MarkdownContent_headingWithCopy:hover .MarkdownContent_headingCopyButton,
|
|
1948
|
+
.MarkdownContent_headingWithCopy:focus-within .MarkdownContent_headingCopyButton,
|
|
1949
|
+
.MarkdownContent_headingCopyButton:focus-visible {
|
|
1950
|
+
opacity: 1;
|
|
1951
|
+
}
|
|
1934
1952
|
.MarkdownContent_markdown h1 {
|
|
1935
1953
|
font-size: 1.35rem;
|
|
1936
1954
|
}
|
|
@@ -2019,6 +2037,21 @@
|
|
|
2019
2037
|
border-radius: 0;
|
|
2020
2038
|
color: inherit;
|
|
2021
2039
|
}
|
|
2040
|
+
.MarkdownContent_codeBlockWrapper {
|
|
2041
|
+
position: relative;
|
|
2042
|
+
}
|
|
2043
|
+
.MarkdownContent_codeCopyButton {
|
|
2044
|
+
position: absolute;
|
|
2045
|
+
top: 0.6rem;
|
|
2046
|
+
right: 0.6rem;
|
|
2047
|
+
opacity: 0;
|
|
2048
|
+
transition: opacity 0.15s ease;
|
|
2049
|
+
}
|
|
2050
|
+
.MarkdownContent_codeBlockWrapper:hover .MarkdownContent_codeCopyButton,
|
|
2051
|
+
.MarkdownContent_codeBlockWrapper:focus-within .MarkdownContent_codeCopyButton,
|
|
2052
|
+
.MarkdownContent_codeCopyButton:focus-visible {
|
|
2053
|
+
opacity: 1;
|
|
2054
|
+
}
|
|
2022
2055
|
.MarkdownContent_markdown hr {
|
|
2023
2056
|
border: none;
|
|
2024
2057
|
border-top: 1px solid rgba(128, 128, 128, 0.25);
|
|
@@ -2864,6 +2897,97 @@
|
|
|
2864
2897
|
}
|
|
2865
2898
|
}
|
|
2866
2899
|
|
|
2900
|
+
/* dist/screens/components/Input/index.module.css */
|
|
2901
|
+
.Input_inputGroup {
|
|
2902
|
+
display: flex;
|
|
2903
|
+
flex-direction: column;
|
|
2904
|
+
gap: 0.2rem;
|
|
2905
|
+
}
|
|
2906
|
+
.Input_label {
|
|
2907
|
+
font-size: 0.85rem;
|
|
2908
|
+
font-weight: 700;
|
|
2909
|
+
color: #000000;
|
|
2910
|
+
}
|
|
2911
|
+
.Input_input {
|
|
2912
|
+
width: 100%;
|
|
2913
|
+
padding: 0.5rem 0.5rem;
|
|
2914
|
+
background-color: #ffffff;
|
|
2915
|
+
border: 1.5px solid #000000;
|
|
2916
|
+
border-radius: 2px;
|
|
2917
|
+
font-size: 0.85rem;
|
|
2918
|
+
font-weight: 500;
|
|
2919
|
+
color: #000000;
|
|
2920
|
+
outline: none;
|
|
2921
|
+
box-sizing: border-box;
|
|
2922
|
+
font-family: inherit;
|
|
2923
|
+
transition: box-shadow 0.2s;
|
|
2924
|
+
}
|
|
2925
|
+
.Input_input::placeholder {
|
|
2926
|
+
color: #000000;
|
|
2927
|
+
font-weight: 500;
|
|
2928
|
+
opacity: 1;
|
|
2929
|
+
}
|
|
2930
|
+
.Input_input:focus {
|
|
2931
|
+
box-shadow: 0 0 0 1px #000000;
|
|
2932
|
+
}
|
|
2933
|
+
.Input_inputError {
|
|
2934
|
+
border-color: #ff0000;
|
|
2935
|
+
}
|
|
2936
|
+
.Input_errorText {
|
|
2937
|
+
color: #ff0000;
|
|
2938
|
+
font-size: 0.75rem;
|
|
2939
|
+
margin-top: 0.1rem;
|
|
2940
|
+
}
|
|
2941
|
+
.Input_required {
|
|
2942
|
+
margin-left: 4px;
|
|
2943
|
+
}
|
|
2944
|
+
.Input_numericPopover {
|
|
2945
|
+
display: flex;
|
|
2946
|
+
flex-direction: column;
|
|
2947
|
+
gap: 2px;
|
|
2948
|
+
padding: 4px;
|
|
2949
|
+
background-color: var(--numeric-popover-bg, #ffffff);
|
|
2950
|
+
border-radius: 8px;
|
|
2951
|
+
}
|
|
2952
|
+
.Input_numericStep {
|
|
2953
|
+
display: flex;
|
|
2954
|
+
align-items: center;
|
|
2955
|
+
justify-content: center;
|
|
2956
|
+
width: 100%;
|
|
2957
|
+
height: 24px;
|
|
2958
|
+
border: none;
|
|
2959
|
+
border-radius: 6px;
|
|
2960
|
+
background: transparent;
|
|
2961
|
+
color: var(--numeric-popover-icon, #0f172a);
|
|
2962
|
+
cursor: pointer;
|
|
2963
|
+
transition: background-color 0.15s;
|
|
2964
|
+
}
|
|
2965
|
+
.Input_numericStep:hover {
|
|
2966
|
+
background-color: rgba(128, 128, 128, 0.2);
|
|
2967
|
+
}
|
|
2968
|
+
.Input_numericOption {
|
|
2969
|
+
min-width: 72px;
|
|
2970
|
+
height: 28px;
|
|
2971
|
+
border: none;
|
|
2972
|
+
border-radius: 6px;
|
|
2973
|
+
background: transparent;
|
|
2974
|
+
color: var(--numeric-popover-icon, #0f172a);
|
|
2975
|
+
font: inherit;
|
|
2976
|
+
font-size: 0.9rem;
|
|
2977
|
+
cursor: pointer;
|
|
2978
|
+
transition: background-color 0.15s;
|
|
2979
|
+
}
|
|
2980
|
+
.Input_numericOption:hover:not(:disabled) {
|
|
2981
|
+
background-color: rgba(128, 128, 128, 0.2);
|
|
2982
|
+
}
|
|
2983
|
+
.Input_numericOption:disabled {
|
|
2984
|
+
cursor: default;
|
|
2985
|
+
}
|
|
2986
|
+
.Input_numericOptionActive {
|
|
2987
|
+
font-weight: 700;
|
|
2988
|
+
background-color: rgba(128, 128, 128, 0.25);
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2867
2991
|
/* dist/screens/components/MarkdownEditor/index.module.css */
|
|
2868
2992
|
.MarkdownEditor_editorContainer {
|
|
2869
2993
|
display: flex;
|