@seeqdev/qomponents 0.0.187 → 0.0.189
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.esm.js +2 -2
- package/dist/index.js +2 -2
- package/dist/src/Tooltip/QTip.stories.d.ts +1 -0
- package/dist/styles.css +28 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -61,7 +61,7 @@ const colorClassesThemeLight = {
|
|
|
61
61
|
'success': 'tw:text-sq-success',
|
|
62
62
|
};
|
|
63
63
|
const colorClassesThemeDark = {
|
|
64
|
-
'theme': 'tw:dark:text-sq-theme-
|
|
64
|
+
'theme': 'tw:dark:text-sq-theme-dark',
|
|
65
65
|
'white': '',
|
|
66
66
|
'dark-gray': 'tw:text-sq-fairly-dark-gray',
|
|
67
67
|
'warning': '',
|
|
@@ -7570,7 +7570,7 @@ const QTip = () => {
|
|
|
7570
7570
|
}
|
|
7571
7571
|
};
|
|
7572
7572
|
return (jsx$1(Fragment, { children: jsxs("div", { onMouseEnter: () => setOverTooltip(true), onMouseLeave: () => setOverTooltip(false), "data-testid": tooltipTestId, ref: tooltipRef, className: 'tw:absolute tw:rounded tw:bg-black tw:max-w-96 tw:p-2 tw:text-xs tw:text-sq-white tw:z-[9999] tw:fade-in ' +
|
|
7573
|
-
(show ? 'tw:visible' : 'tw:invisible tw:pointer-events-none'), children: [html ? jsx$1(HTMLTip, { text: tooltipText }) : tooltipText, jsx$1("div", { className: "tw:absolute tw:w-2.5 tw:h-2.5 tw:rotate-45 tw:bg-sq-black", ref: tooltipArrowRef })] }) }));
|
|
7573
|
+
(show ? 'tw:visible' : 'tw:invisible tw:pointer-events-none'), children: [html ? jsx$1(HTMLTip, { text: tooltipText }) : tooltipText, jsx$1("div", { className: "tw:absolute tw:w-2.5 tw:h-2.5 tw:rotate-45 tw:bg-sq-black tw:dark:bg-sq-black", ref: tooltipArrowRef })] }) }));
|
|
7574
7574
|
};
|
|
7575
7575
|
|
|
7576
7576
|
function _typeof(o) {
|
package/dist/index.js
CHANGED
|
@@ -81,7 +81,7 @@ const colorClassesThemeLight = {
|
|
|
81
81
|
'success': 'tw:text-sq-success',
|
|
82
82
|
};
|
|
83
83
|
const colorClassesThemeDark = {
|
|
84
|
-
'theme': 'tw:dark:text-sq-theme-
|
|
84
|
+
'theme': 'tw:dark:text-sq-theme-dark',
|
|
85
85
|
'white': '',
|
|
86
86
|
'dark-gray': 'tw:text-sq-fairly-dark-gray',
|
|
87
87
|
'warning': '',
|
|
@@ -7590,7 +7590,7 @@ const QTip = () => {
|
|
|
7590
7590
|
}
|
|
7591
7591
|
};
|
|
7592
7592
|
return (jsxRuntime.jsx(jsxRuntime.Fragment, { children: jsxRuntime.jsxs("div", { onMouseEnter: () => setOverTooltip(true), onMouseLeave: () => setOverTooltip(false), "data-testid": tooltipTestId, ref: tooltipRef, className: 'tw:absolute tw:rounded tw:bg-black tw:max-w-96 tw:p-2 tw:text-xs tw:text-sq-white tw:z-[9999] tw:fade-in ' +
|
|
7593
|
-
(show ? 'tw:visible' : 'tw:invisible tw:pointer-events-none'), children: [html ? jsxRuntime.jsx(HTMLTip, { text: tooltipText }) : tooltipText, jsxRuntime.jsx("div", { className: "tw:absolute tw:w-2.5 tw:h-2.5 tw:rotate-45 tw:bg-sq-black", ref: tooltipArrowRef })] }) }));
|
|
7593
|
+
(show ? 'tw:visible' : 'tw:invisible tw:pointer-events-none'), children: [html ? jsxRuntime.jsx(HTMLTip, { text: tooltipText }) : tooltipText, jsxRuntime.jsx("div", { className: "tw:absolute tw:w-2.5 tw:h-2.5 tw:rotate-45 tw:bg-sq-black tw:dark:bg-sq-black", ref: tooltipArrowRef })] }) }));
|
|
7594
7594
|
};
|
|
7595
7595
|
|
|
7596
7596
|
function _typeof(o) {
|
package/dist/styles.css
CHANGED
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
--tw-color-gray-400: oklch(70.7% 0.022 261.325);
|
|
22
22
|
--tw-color-gray-500: oklch(55.1% 0.027 264.364);
|
|
23
23
|
--tw-color-gray-700: oklch(37.3% 0.034 259.733);
|
|
24
|
+
--tw-color-gray-900: oklch(21% 0.034 264.665);
|
|
24
25
|
--tw-color-black: #000;
|
|
25
26
|
--tw-color-white: #fff;
|
|
26
27
|
--tw-spacing: 0.25rem;
|
|
@@ -839,6 +840,9 @@
|
|
|
839
840
|
.tw\:bg-gray-500 {
|
|
840
841
|
background-color: var(--tw-color-gray-500);
|
|
841
842
|
}
|
|
843
|
+
.tw\:bg-gray-900 {
|
|
844
|
+
background-color: var(--tw-color-gray-900);
|
|
845
|
+
}
|
|
842
846
|
.tw\:bg-green-400 {
|
|
843
847
|
background-color: var(--tw-color-green-400);
|
|
844
848
|
}
|
|
@@ -938,6 +942,9 @@
|
|
|
938
942
|
.tw\:p-5 {
|
|
939
943
|
padding: calc(var(--tw-spacing) * 5);
|
|
940
944
|
}
|
|
945
|
+
.tw\:p-8 {
|
|
946
|
+
padding: calc(var(--tw-spacing) * 8);
|
|
947
|
+
}
|
|
941
948
|
.tw\:px-1 {
|
|
942
949
|
padding-inline: calc(var(--tw-spacing) * 1);
|
|
943
950
|
}
|
|
@@ -1122,6 +1129,9 @@
|
|
|
1122
1129
|
.tw\:text-sq-white {
|
|
1123
1130
|
color: var(--sqw-white);
|
|
1124
1131
|
}
|
|
1132
|
+
.tw\:text-white {
|
|
1133
|
+
color: var(--tw-color-white);
|
|
1134
|
+
}
|
|
1125
1135
|
.tw\:italic {
|
|
1126
1136
|
font-style: italic;
|
|
1127
1137
|
}
|
|
@@ -1743,6 +1753,11 @@
|
|
|
1743
1753
|
background-color: var(--tw-color-gray-700);
|
|
1744
1754
|
}
|
|
1745
1755
|
}
|
|
1756
|
+
.tw\:dark\:bg-sq-black {
|
|
1757
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
1758
|
+
background-color: var(--sq-black);
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1746
1761
|
.tw\:dark\:bg-sq-colored-hover-dark {
|
|
1747
1762
|
&:where(.tw-dark, .tw-dark *) {
|
|
1748
1763
|
background-color: #262c36;
|
|
@@ -1813,6 +1828,11 @@
|
|
|
1813
1828
|
color: #f0f6fc;
|
|
1814
1829
|
}
|
|
1815
1830
|
}
|
|
1831
|
+
.tw\:dark\:text-sq-theme-dark {
|
|
1832
|
+
&:where(.tw-dark, .tw-dark *) {
|
|
1833
|
+
color: var(--theme-dark);
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1816
1836
|
.tw\:dark\:text-sq-theme-darker {
|
|
1817
1837
|
&:where(.tw-dark, .tw-dark *) {
|
|
1818
1838
|
color: var(--theme-darker);
|
|
@@ -2977,7 +2997,8 @@
|
|
|
2977
2997
|
--theme-footer-text: var(--sq-analysis-dark);
|
|
2978
2998
|
--theme-item-row: var(--sq-analysis-light);
|
|
2979
2999
|
--theme-highlight-background: var(--sq-analysis-light);
|
|
2980
|
-
.color_topic
|
|
3000
|
+
.color_topic,
|
|
3001
|
+
.color_topic_dark {
|
|
2981
3002
|
--theme-darker: var(--sq-topic-darker);
|
|
2982
3003
|
--theme-dark: var(--sq-topic-dark);
|
|
2983
3004
|
--theme-link: var(--sq-topic-link);
|
|
@@ -2990,7 +3011,8 @@
|
|
|
2990
3011
|
--theme-item-row: var(--sq-topic-light);
|
|
2991
3012
|
--theme-highlight-background: var(--sq-topic-light);
|
|
2992
3013
|
}
|
|
2993
|
-
.color_analysis
|
|
3014
|
+
.color_analysis,
|
|
3015
|
+
.color_analysis_dark {
|
|
2994
3016
|
--theme-darker: var(--sq-analysis-darker);
|
|
2995
3017
|
--theme-dark: var(--sq-analysis-dark);
|
|
2996
3018
|
--theme-link: var(--sq-analysis-link);
|
|
@@ -3003,7 +3025,8 @@
|
|
|
3003
3025
|
--theme-item-row: var(--sq-analysis-light);
|
|
3004
3026
|
--theme-highlight-background: var(--sq-analysis-light);
|
|
3005
3027
|
}
|
|
3006
|
-
.color_datalab
|
|
3028
|
+
.color_datalab,
|
|
3029
|
+
.color_datalab_dark {
|
|
3007
3030
|
--theme-darker: var(--sq-datalab-darker);
|
|
3008
3031
|
--theme-dark: var(--sq-datalab-dark);
|
|
3009
3032
|
--theme-link: var(--sq-datalab-link);
|
|
@@ -3014,7 +3037,8 @@
|
|
|
3014
3037
|
--theme-footer-text: var(--sq-datalab-dark);
|
|
3015
3038
|
--theme-highlight-background: var(--sq-datalab-light);
|
|
3016
3039
|
}
|
|
3017
|
-
.color_vantage
|
|
3040
|
+
.color_vantage,
|
|
3041
|
+
.color_vantage_dark {
|
|
3018
3042
|
--theme-darker: var(--sq-vantage-darker);
|
|
3019
3043
|
--theme-dark: var(--sq-vantage-dark);
|
|
3020
3044
|
--theme-link: var(--sq-vantage-link);
|