@seeqdev/qomponents 0.0.178 → 0.0.179
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/README.md +9 -0
- package/dist/example/src/Example.tsx +7 -7
- package/dist/index.esm.js +343 -343
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +343 -343
- package/dist/index.js.map +1 -1
- package/dist/src/SeeqActionDropdown/SeeqActionDropdown.types.d.ts +5 -0
- package/dist/styles.css +2920 -3535
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -48,6 +48,15 @@ To make sure all styles are properly applied be sure to include the qomponents c
|
|
|
48
48
|
|
|
49
49
|
```css
|
|
50
50
|
@import '@seeqdev/qomponents/dist/styles.css';
|
|
51
|
+
|
|
52
|
+
@font-face {
|
|
53
|
+
font-family: 'fontCustom';
|
|
54
|
+
src: url('@seeqdev/qomponents/dist/FontCustom.woff2') format('woff2'),
|
|
55
|
+
url('@seeqdev/qomponents/dist/FontCustom.woff') format('woff');
|
|
56
|
+
font-weight: normal;
|
|
57
|
+
font-style: normal;
|
|
58
|
+
}
|
|
59
|
+
|
|
51
60
|
```
|
|
52
61
|
|
|
53
62
|
<b>A note on CSS:</b> Seeq's qomponents come fully styled and ready to use. While it is tempting to use the
|
|
@@ -37,8 +37,8 @@ const options = [
|
|
|
37
37
|
];
|
|
38
38
|
|
|
39
39
|
const Trigger = ({ label }: { label: string }) => (
|
|
40
|
-
<div className="flex justify-start items-center border-b px-2 tw
|
|
41
|
-
<Icon icon="fc-arrow-dropdown" extraClassNames="tw
|
|
40
|
+
<div className="flex justify-start items-center border-b px-2 tw:text-sq-theme-dark">
|
|
41
|
+
<Icon icon="fc-arrow-dropdown" extraClassNames="tw:text-sq-theme-dark mr-[0.5rem] text-[0.75rem]" type="text" />
|
|
42
42
|
{label}
|
|
43
43
|
</div>
|
|
44
44
|
);
|
|
@@ -80,7 +80,7 @@ const accordionItems = [
|
|
|
80
80
|
];
|
|
81
81
|
|
|
82
82
|
const renderData = (text: string) => (
|
|
83
|
-
<div className="tw
|
|
83
|
+
<div className="tw:text-sq-gray dark:tw-text-sq-white p-6">
|
|
84
84
|
<p className="mb-5 text-[0.9375rem] leading-normal">{text}</p>
|
|
85
85
|
</div>
|
|
86
86
|
);
|
|
@@ -484,7 +484,7 @@ function Example() {
|
|
|
484
484
|
className="w-48 h-32 object-cover rounded-md mb-2"
|
|
485
485
|
/>
|
|
486
486
|
<div className="font-bold">Explore the Mountains</div>
|
|
487
|
-
<div className="text-xs tw
|
|
487
|
+
<div className="text-xs tw:text-sq-dark-gray">Find peace in nature's beauty.</div>
|
|
488
488
|
</div>,
|
|
489
489
|
<div className="flex flex-col items-center justify-center p-4" key="slide2">
|
|
490
490
|
<img
|
|
@@ -493,7 +493,7 @@ function Example() {
|
|
|
493
493
|
className="w-48 h-32 object-cover rounded-md mb-2"
|
|
494
494
|
/>
|
|
495
495
|
<div className="font-bold">City Lights</div>
|
|
496
|
-
<div className="text-xs tw
|
|
496
|
+
<div className="text-xs tw:text-sq-dark-gray">Experience the energy of the city.</div>
|
|
497
497
|
</div>,
|
|
498
498
|
<div className="flex flex-col items-center justify-center p-4" key="slide3">
|
|
499
499
|
<img
|
|
@@ -502,7 +502,7 @@ function Example() {
|
|
|
502
502
|
className="w-48 h-32 object-cover rounded-md mb-2"
|
|
503
503
|
/>
|
|
504
504
|
<div className="font-bold">Relax at the Beach</div>
|
|
505
|
-
<div className="text-xs tw
|
|
505
|
+
<div className="text-xs tw:text-sq-dark-gray">Soak up the sun and surf.</div>
|
|
506
506
|
</div>,
|
|
507
507
|
]}
|
|
508
508
|
showArrows={false}
|
|
@@ -527,7 +527,7 @@ function Example() {
|
|
|
527
527
|
<Collapse isVisible={collapseVisible}>
|
|
528
528
|
<div className="p-4 mt-2 bg-transparent rounded-md">
|
|
529
529
|
<div className="font-bold">Advanced Settings</div>
|
|
530
|
-
<div className="text-xs tw
|
|
530
|
+
<div className="text-xs tw:text-sq-dark-gray">Configure rarely used options here.</div>
|
|
531
531
|
<Checkbox label="Enable beta features" />
|
|
532
532
|
<Checkbox label="Show debug info" />
|
|
533
533
|
</div>
|