@seeqdev/qomponents 0.0.77 → 0.0.79
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/Accordion/Accordion.js +8 -8
- package/dist/Accordion/Accordion.stories.js +108 -108
- package/dist/Accordion/Accordion.test.js +54 -54
- package/dist/Accordion/Accordion.types.js +1 -1
- package/dist/Accordion/index.js +1 -1
- package/dist/Button/Button.js +89 -89
- package/dist/Button/Button.stories.js +84 -84
- package/dist/Button/Button.test.js +48 -48
- package/dist/Button/Button.types.js +4 -4
- package/dist/Button/index.js +1 -1
- package/dist/ButtonWithDropdown/ButtonWithDropdown.js +63 -63
- package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js +92 -92
- package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js +71 -71
- package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js +1 -1
- package/dist/ButtonWithDropdown/index.js +1 -1
- package/dist/ButtonWithPopover/ButtonWithPopover.js +50 -50
- package/dist/ButtonWithPopover/ButtonWithPopover.stories.js +71 -71
- package/dist/ButtonWithPopover/ButtonWithPopover.test.js +81 -81
- package/dist/ButtonWithPopover/ButtonWithPopover.types.js +1 -1
- package/dist/ButtonWithPopover/index.js +1 -1
- package/dist/Checkbox/Checkbox.js +25 -25
- package/dist/Checkbox/Checkbox.stories.js +33 -33
- package/dist/Checkbox/Checkbox.test.js +93 -93
- package/dist/Checkbox/Checkbox.types.js +1 -1
- package/dist/Checkbox/index.js +1 -1
- package/dist/FontCustom.woff +0 -0
- package/dist/FontCustom.woff2 +0 -0
- package/dist/Icon/Icon.js +53 -53
- package/dist/Icon/Icon.stories.js +40 -40
- package/dist/Icon/Icon.test.js +54 -54
- package/dist/Icon/Icon.types.js +15 -15
- package/dist/Icon/index.js +1 -1
- package/dist/Modal/Modal.js +85 -85
- package/dist/Modal/Modal.stories.js +175 -175
- package/dist/Modal/Modal.test.js +107 -107
- package/dist/Modal/Modal.types.js +1 -1
- package/dist/Modal/index.js +1 -1
- package/dist/NewWorkbench/NewWorkbench.js +47 -54
- package/dist/NewWorkbench/NewWorkbench.js.map +1 -1
- package/dist/NewWorkbench/NewWorkbench.stories.js +76 -70
- package/dist/NewWorkbench/NewWorkbench.stories.js.map +1 -1
- package/dist/NewWorkbench/NewWorkbench.test.js +72 -71
- package/dist/NewWorkbench/NewWorkbench.test.js.map +1 -1
- package/dist/NewWorkbench/NewWorkbench.types.d.ts +1 -0
- package/dist/NewWorkbench/NewWorkbench.types.js +1 -1
- package/dist/NewWorkbench/index.js +1 -1
- package/dist/NewWorkbench/variants.d.ts +5 -0
- package/dist/NewWorkbench/variants.js +23 -0
- package/dist/NewWorkbench/variants.js.map +1 -0
- package/dist/Select/Select.js +170 -170
- package/dist/Select/Select.stories.js +76 -76
- package/dist/Select/Select.test.js +181 -181
- package/dist/Select/Select.types.js +1 -1
- package/dist/Select/index.js +1 -1
- package/dist/Tabs/Tabs.js +21 -21
- package/dist/Tabs/Tabs.stories.js +90 -90
- package/dist/Tabs/Tabs.test.js +90 -90
- package/dist/Tabs/Tabs.types.js +1 -1
- package/dist/Tabs/index.js +1 -1
- package/dist/TextArea/TextArea.js +22 -22
- package/dist/TextArea/TextArea.stories.js +38 -38
- package/dist/TextArea/TextArea.test.js +67 -67
- package/dist/TextArea/TextArea.types.js +1 -1
- package/dist/TextArea/index.js +1 -1
- package/dist/TextField/TextField.js +63 -63
- package/dist/TextField/TextField.stories.js +40 -40
- package/dist/TextField/TextField.test.js +34 -34
- package/dist/TextField/TextField.types.js +1 -1
- package/dist/TextField/index.js +1 -1
- package/dist/ToolbarButton/ToolbarButton.js +72 -72
- package/dist/ToolbarButton/ToolbarButton.stories.js +88 -88
- package/dist/ToolbarButton/ToolbarButton.test.js +92 -92
- package/dist/ToolbarButton/ToolbarButton.types.js +1 -1
- package/dist/ToolbarButton/index.js +1 -1
- package/dist/Tooltip/QTip.stories.js +39 -39
- package/dist/Tooltip/QTip.stories.js.map +1 -1
- package/dist/Tooltip/QTip.types.js +1 -1
- package/dist/Tooltip/QTipPerformance.stories.js +29 -29
- package/dist/Tooltip/Qtip.js +157 -153
- package/dist/Tooltip/Qtip.js.map +1 -1
- package/dist/Tooltip/Tooltip.js +30 -30
- package/dist/Tooltip/Tooltip.stories.js +31 -31
- package/dist/Tooltip/Tooltip.types.js +2 -2
- package/dist/Tooltip/TooltipPerformance.stories.js +29 -29
- package/dist/Tooltip/index.js +2 -2
- package/dist/Tooltip/qTip.utilities.js +10 -10
- package/dist/index.esm.js +41 -10
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +41 -10
- package/dist/index.js.map +1 -1
- package/dist/styles.css +21 -4
- package/dist/types.js +1 -1
- package/dist/utils/browserId.js +28 -28
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -1881,6 +1881,10 @@ ol,
|
|
|
1881
1881
|
margin-bottom: 8px;
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
+
.\!tw-mt-1 {
|
|
1885
|
+
margin-top: 0.25rem !important;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1884
1888
|
.-tw-mt-\[1px\] {
|
|
1885
1889
|
margin-top: -1px;
|
|
1886
1890
|
}
|
|
@@ -2650,6 +2654,10 @@ ol,
|
|
|
2650
2654
|
font-size: 10px;
|
|
2651
2655
|
}
|
|
2652
2656
|
|
|
2657
|
+
.tw-text-\[11px\] {
|
|
2658
|
+
font-size: 11px;
|
|
2659
|
+
}
|
|
2660
|
+
|
|
2653
2661
|
.tw-text-\[12px\] {
|
|
2654
2662
|
font-size: 12px;
|
|
2655
2663
|
}
|
|
@@ -2666,6 +2674,10 @@ ol,
|
|
|
2666
2674
|
font-size: 15px;
|
|
2667
2675
|
}
|
|
2668
2676
|
|
|
2677
|
+
.tw-text-\[20px\] {
|
|
2678
|
+
font-size: 20px;
|
|
2679
|
+
}
|
|
2680
|
+
|
|
2669
2681
|
.tw-text-\[22px\] {
|
|
2670
2682
|
font-size: 22px;
|
|
2671
2683
|
}
|
|
@@ -2694,10 +2706,6 @@ ol,
|
|
|
2694
2706
|
line-height: 1rem;
|
|
2695
2707
|
}
|
|
2696
2708
|
|
|
2697
|
-
.tw-font-\[400\] {
|
|
2698
|
-
font-weight: 400;
|
|
2699
|
-
}
|
|
2700
|
-
|
|
2701
2709
|
.tw-font-\[600\] {
|
|
2702
2710
|
font-weight: 600;
|
|
2703
2711
|
}
|
|
@@ -2726,6 +2734,10 @@ ol,
|
|
|
2726
2734
|
font-style: normal;
|
|
2727
2735
|
}
|
|
2728
2736
|
|
|
2737
|
+
.tw-leading-\[18px\] {
|
|
2738
|
+
line-height: 18px;
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2729
2741
|
.tw-leading-\[20px\] {
|
|
2730
2742
|
line-height: 20px;
|
|
2731
2743
|
}
|
|
@@ -2743,6 +2755,11 @@ ol,
|
|
|
2743
2755
|
color: rgb(var(--sq-disabled-gray)) !important;
|
|
2744
2756
|
}
|
|
2745
2757
|
|
|
2758
|
+
.tw-text-\[\#999\] {
|
|
2759
|
+
--tw-text-opacity: 1;
|
|
2760
|
+
color: rgb(153 153 153 / var(--tw-text-opacity));
|
|
2761
|
+
}
|
|
2762
|
+
|
|
2746
2763
|
.tw-text-gray-400 {
|
|
2747
2764
|
--tw-text-opacity: 1;
|
|
2748
2765
|
color: rgb(156 163 175 / var(--tw-text-opacity));
|
package/dist/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
2
2
|
//# sourceMappingURL=types.js.map
|
package/dist/utils/browserId.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @exports the browser id (i.e., 'IE 11' 'Chrome 90')
|
|
3
|
-
* @see http://stackoverflow.com/questions/2400935/browser-detection-in-javascript
|
|
4
|
-
*/
|
|
5
|
-
export const browserId = (function () {
|
|
6
|
-
let tem;
|
|
7
|
-
const ua = navigator.userAgent;
|
|
8
|
-
let M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
|
|
9
|
-
if (/trident/i.test(M[1])) {
|
|
10
|
-
tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
|
|
11
|
-
return `IE ${tem[1] || ''}`;
|
|
12
|
-
}
|
|
13
|
-
if (M[1] === 'Chrome') {
|
|
14
|
-
tem = ua.match(/\b(OPR|Edge?)\/(\d+)/);
|
|
15
|
-
if (tem !== null) {
|
|
16
|
-
return tem.slice(1).join(' ').replace('OPR', 'Opera').replace('Edg ', 'Edge ');
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?'];
|
|
20
|
-
if ((tem = ua.match(/version\/(\d+)/i)) !== null) {
|
|
21
|
-
M.splice(1, 1, tem[1]);
|
|
22
|
-
}
|
|
23
|
-
return M.join(' ');
|
|
24
|
-
})();
|
|
25
|
-
export const browserName = browserId && browserId.split(' ', 2)[0];
|
|
26
|
-
export const browserVersion = browserId && parseInt(browserId.split(' ', 2)[1], 10);
|
|
27
|
-
export const browserIsFirefox = browserId && browserName === 'Firefox';
|
|
28
|
-
export const browserIsEdgeBeforeChromium = browserName && browserVersion && browserName === 'Edge' && browserVersion < 70;
|
|
1
|
+
/**
|
|
2
|
+
* @exports the browser id (i.e., 'IE 11' 'Chrome 90')
|
|
3
|
+
* @see http://stackoverflow.com/questions/2400935/browser-detection-in-javascript
|
|
4
|
+
*/
|
|
5
|
+
export const browserId = (function () {
|
|
6
|
+
let tem;
|
|
7
|
+
const ua = navigator.userAgent;
|
|
8
|
+
let M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || [];
|
|
9
|
+
if (/trident/i.test(M[1])) {
|
|
10
|
+
tem = /\brv[ :]+(\d+)/g.exec(ua) || [];
|
|
11
|
+
return `IE ${tem[1] || ''}`;
|
|
12
|
+
}
|
|
13
|
+
if (M[1] === 'Chrome') {
|
|
14
|
+
tem = ua.match(/\b(OPR|Edge?)\/(\d+)/);
|
|
15
|
+
if (tem !== null) {
|
|
16
|
+
return tem.slice(1).join(' ').replace('OPR', 'Opera').replace('Edg ', 'Edge ');
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
M = M[2] ? [M[1], M[2]] : [navigator.appName, navigator.appVersion, '-?'];
|
|
20
|
+
if ((tem = ua.match(/version\/(\d+)/i)) !== null) {
|
|
21
|
+
M.splice(1, 1, tem[1]);
|
|
22
|
+
}
|
|
23
|
+
return M.join(' ');
|
|
24
|
+
})();
|
|
25
|
+
export const browserName = browserId && browserId.split(' ', 2)[0];
|
|
26
|
+
export const browserVersion = browserId && parseInt(browserId.split(' ', 2)[1], 10);
|
|
27
|
+
export const browserIsFirefox = browserId && browserName === 'Firefox';
|
|
28
|
+
export const browserIsEdgeBeforeChromium = browserName && browserVersion && browserName === 'Edge' && browserVersion < 70;
|
|
29
29
|
//# sourceMappingURL=browserId.js.map
|