@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.
Files changed (94) hide show
  1. package/dist/Accordion/Accordion.js +8 -8
  2. package/dist/Accordion/Accordion.stories.js +108 -108
  3. package/dist/Accordion/Accordion.test.js +54 -54
  4. package/dist/Accordion/Accordion.types.js +1 -1
  5. package/dist/Accordion/index.js +1 -1
  6. package/dist/Button/Button.js +89 -89
  7. package/dist/Button/Button.stories.js +84 -84
  8. package/dist/Button/Button.test.js +48 -48
  9. package/dist/Button/Button.types.js +4 -4
  10. package/dist/Button/index.js +1 -1
  11. package/dist/ButtonWithDropdown/ButtonWithDropdown.js +63 -63
  12. package/dist/ButtonWithDropdown/ButtonWithDropdown.stories.js +92 -92
  13. package/dist/ButtonWithDropdown/ButtonWithDropdown.test.js +71 -71
  14. package/dist/ButtonWithDropdown/ButtonWithDropdown.types.js +1 -1
  15. package/dist/ButtonWithDropdown/index.js +1 -1
  16. package/dist/ButtonWithPopover/ButtonWithPopover.js +50 -50
  17. package/dist/ButtonWithPopover/ButtonWithPopover.stories.js +71 -71
  18. package/dist/ButtonWithPopover/ButtonWithPopover.test.js +81 -81
  19. package/dist/ButtonWithPopover/ButtonWithPopover.types.js +1 -1
  20. package/dist/ButtonWithPopover/index.js +1 -1
  21. package/dist/Checkbox/Checkbox.js +25 -25
  22. package/dist/Checkbox/Checkbox.stories.js +33 -33
  23. package/dist/Checkbox/Checkbox.test.js +93 -93
  24. package/dist/Checkbox/Checkbox.types.js +1 -1
  25. package/dist/Checkbox/index.js +1 -1
  26. package/dist/FontCustom.woff +0 -0
  27. package/dist/FontCustom.woff2 +0 -0
  28. package/dist/Icon/Icon.js +53 -53
  29. package/dist/Icon/Icon.stories.js +40 -40
  30. package/dist/Icon/Icon.test.js +54 -54
  31. package/dist/Icon/Icon.types.js +15 -15
  32. package/dist/Icon/index.js +1 -1
  33. package/dist/Modal/Modal.js +85 -85
  34. package/dist/Modal/Modal.stories.js +175 -175
  35. package/dist/Modal/Modal.test.js +107 -107
  36. package/dist/Modal/Modal.types.js +1 -1
  37. package/dist/Modal/index.js +1 -1
  38. package/dist/NewWorkbench/NewWorkbench.js +47 -54
  39. package/dist/NewWorkbench/NewWorkbench.js.map +1 -1
  40. package/dist/NewWorkbench/NewWorkbench.stories.js +76 -70
  41. package/dist/NewWorkbench/NewWorkbench.stories.js.map +1 -1
  42. package/dist/NewWorkbench/NewWorkbench.test.js +72 -71
  43. package/dist/NewWorkbench/NewWorkbench.test.js.map +1 -1
  44. package/dist/NewWorkbench/NewWorkbench.types.d.ts +1 -0
  45. package/dist/NewWorkbench/NewWorkbench.types.js +1 -1
  46. package/dist/NewWorkbench/index.js +1 -1
  47. package/dist/NewWorkbench/variants.d.ts +5 -0
  48. package/dist/NewWorkbench/variants.js +23 -0
  49. package/dist/NewWorkbench/variants.js.map +1 -0
  50. package/dist/Select/Select.js +170 -170
  51. package/dist/Select/Select.stories.js +76 -76
  52. package/dist/Select/Select.test.js +181 -181
  53. package/dist/Select/Select.types.js +1 -1
  54. package/dist/Select/index.js +1 -1
  55. package/dist/Tabs/Tabs.js +21 -21
  56. package/dist/Tabs/Tabs.stories.js +90 -90
  57. package/dist/Tabs/Tabs.test.js +90 -90
  58. package/dist/Tabs/Tabs.types.js +1 -1
  59. package/dist/Tabs/index.js +1 -1
  60. package/dist/TextArea/TextArea.js +22 -22
  61. package/dist/TextArea/TextArea.stories.js +38 -38
  62. package/dist/TextArea/TextArea.test.js +67 -67
  63. package/dist/TextArea/TextArea.types.js +1 -1
  64. package/dist/TextArea/index.js +1 -1
  65. package/dist/TextField/TextField.js +63 -63
  66. package/dist/TextField/TextField.stories.js +40 -40
  67. package/dist/TextField/TextField.test.js +34 -34
  68. package/dist/TextField/TextField.types.js +1 -1
  69. package/dist/TextField/index.js +1 -1
  70. package/dist/ToolbarButton/ToolbarButton.js +72 -72
  71. package/dist/ToolbarButton/ToolbarButton.stories.js +88 -88
  72. package/dist/ToolbarButton/ToolbarButton.test.js +92 -92
  73. package/dist/ToolbarButton/ToolbarButton.types.js +1 -1
  74. package/dist/ToolbarButton/index.js +1 -1
  75. package/dist/Tooltip/QTip.stories.js +39 -39
  76. package/dist/Tooltip/QTip.stories.js.map +1 -1
  77. package/dist/Tooltip/QTip.types.js +1 -1
  78. package/dist/Tooltip/QTipPerformance.stories.js +29 -29
  79. package/dist/Tooltip/Qtip.js +157 -153
  80. package/dist/Tooltip/Qtip.js.map +1 -1
  81. package/dist/Tooltip/Tooltip.js +30 -30
  82. package/dist/Tooltip/Tooltip.stories.js +31 -31
  83. package/dist/Tooltip/Tooltip.types.js +2 -2
  84. package/dist/Tooltip/TooltipPerformance.stories.js +29 -29
  85. package/dist/Tooltip/index.js +2 -2
  86. package/dist/Tooltip/qTip.utilities.js +10 -10
  87. package/dist/index.esm.js +41 -10
  88. package/dist/index.esm.js.map +1 -1
  89. package/dist/index.js +41 -10
  90. package/dist/index.js.map +1 -1
  91. package/dist/styles.css +21 -4
  92. package/dist/types.js +1 -1
  93. package/dist/utils/browserId.js +28 -28
  94. 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
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seeqdev/qomponents",
3
- "version": "0.0.77",
3
+ "version": "0.0.79",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.js",