hds-web 1.12.4 → 1.12.6
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.css +1 -1
- package/dist/index.es.css +1 -1
- package/dist/index.es.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/HDS/components/Footers/v3Footer.js +8 -0
- package/src/HDS/components/Tabs/tab.js +2 -3
- package/src/HDS/modules/navCard/navCard.js +3 -3
- package/src/styles/tailwind.css +37 -0
package/package.json
CHANGED
@@ -256,6 +256,10 @@ V3Footer.defaultProps = {
|
|
256
256
|
linkText: 'Brand',
|
257
257
|
linkUrl: 'https://hasura.io/brand/',
|
258
258
|
},
|
259
|
+
{
|
260
|
+
linkText: 'Partners',
|
261
|
+
linkUrl: 'https://hasura.io/partners/',
|
262
|
+
},
|
259
263
|
]
|
260
264
|
},
|
261
265
|
{
|
@@ -298,6 +302,10 @@ V3Footer.defaultProps = {
|
|
298
302
|
linkText: 'Github',
|
299
303
|
linkUrl: 'https://github.com/hasura',
|
300
304
|
},
|
305
|
+
{
|
306
|
+
linkText: "Swag Store",
|
307
|
+
linkUrl: "https://store.hasura.io/",
|
308
|
+
},
|
301
309
|
{
|
302
310
|
linkText: 'Contact Sales',
|
303
311
|
linkUrl: 'https://hasura.io/contact-us/',
|
@@ -39,7 +39,6 @@ export default function Tab(props) {
|
|
39
39
|
let tabTextClass = '';
|
40
40
|
|
41
41
|
function tabClass(name) {
|
42
|
-
|
43
42
|
// console.log(currentTab['tabTextColorClass']);
|
44
43
|
|
45
44
|
if(activeTab['tabTextColorClass']){
|
@@ -66,7 +65,7 @@ export default function Tab(props) {
|
|
66
65
|
onClick={(event) => handleTabClick(event, tab)}
|
67
66
|
>
|
68
67
|
<Typography
|
69
|
-
|
68
|
+
className={`${tabClass(tab.name)} ${tab.name === activeTab.name ? '' : 'hover:bg-neutral-150'} cursor-pointer px-3 py-1 z-[2] relative whitespace-nowrap`}
|
70
69
|
textStyle='body3c-medium'>
|
71
70
|
{tab.name}
|
72
71
|
</Typography>
|
@@ -74,7 +73,7 @@ export default function Tab(props) {
|
|
74
73
|
))}
|
75
74
|
<span
|
76
75
|
ref={pillRef}
|
77
|
-
className={`absolute left-0 z-[1] ${pillColorClass}
|
76
|
+
className={`absolute left-0 z-[1] ${pillColorClass} rounded-full transition-all ease-in duration-150`}
|
78
77
|
style={{
|
79
78
|
left: `${activeTab.index * 100}%`,
|
80
79
|
width: `${activeTab.width}px`, // Use the width of the clicked tab
|
@@ -8,7 +8,7 @@ import PropTypes from 'prop-types';
|
|
8
8
|
|
9
9
|
const tabCard = (tabContent) => (
|
10
10
|
<>
|
11
|
-
<div className='
|
11
|
+
<div className=''>
|
12
12
|
{tabContent.title && <Typography textStyle='h4' className={HDSColor(tabContent.title_color)}>{tabContent.title}</Typography>}
|
13
13
|
|
14
14
|
{tabContent.sub_title && <Typography textStyle='body1c' className={HDSColor(tabContent.sub_title_color)}>{tabContent.sub_title}</Typography>}
|
@@ -62,9 +62,9 @@ export default function NavCard(props) {
|
|
62
62
|
<div>
|
63
63
|
{props.navTabs &&
|
64
64
|
|
65
|
-
<div className='max-w-[44.44rem]
|
65
|
+
<div className='max-w-[44.44rem] rounded-2xl'>
|
66
66
|
|
67
|
-
<div className='flex
|
67
|
+
<div className='flex pb-8'>
|
68
68
|
<Tab
|
69
69
|
onTabClick={handleTabClick}
|
70
70
|
tabs={props.navTabs}
|
package/src/styles/tailwind.css
CHANGED
@@ -1427,6 +1427,10 @@ select{
|
|
1427
1427
|
display: grid;
|
1428
1428
|
}
|
1429
1429
|
|
1430
|
+
.inline-grid{
|
1431
|
+
display: inline-grid;
|
1432
|
+
}
|
1433
|
+
|
1430
1434
|
.hidden{
|
1431
1435
|
display: none;
|
1432
1436
|
}
|
@@ -2385,6 +2389,12 @@ select{
|
|
2385
2389
|
border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
|
2386
2390
|
}
|
2387
2391
|
|
2392
|
+
.divide-y-2 > :not([hidden]) ~ :not([hidden]){
|
2393
|
+
--tw-divide-y-reverse: 0;
|
2394
|
+
border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse)));
|
2395
|
+
border-bottom-width: calc(2px * var(--tw-divide-y-reverse));
|
2396
|
+
}
|
2397
|
+
|
2388
2398
|
.divide-blue-600\/10 > :not([hidden]) ~ :not([hidden]){
|
2389
2399
|
border-color: rgb(30 86 227 / 0.1);
|
2390
2400
|
}
|
@@ -2420,6 +2430,10 @@ select{
|
|
2420
2430
|
overflow: hidden;
|
2421
2431
|
}
|
2422
2432
|
|
2433
|
+
.overflow-clip{
|
2434
|
+
overflow: clip;
|
2435
|
+
}
|
2436
|
+
|
2423
2437
|
.overflow-scroll{
|
2424
2438
|
overflow: scroll;
|
2425
2439
|
}
|
@@ -9744,6 +9758,15 @@ select{
|
|
9744
9758
|
stroke: #111927;
|
9745
9759
|
}
|
9746
9760
|
|
9761
|
+
.group\/icon:hover .group-hover\/icon\:stroke-blue-800{
|
9762
|
+
stroke: #00288E;
|
9763
|
+
}
|
9764
|
+
|
9765
|
+
.group:hover .group-hover\:text-neutral-1000{
|
9766
|
+
--tw-text-opacity: 1;
|
9767
|
+
color: rgb(0 6 21 / var(--tw-text-opacity));
|
9768
|
+
}
|
9769
|
+
|
9747
9770
|
.group:hover .group-hover\:opacity-30{
|
9748
9771
|
opacity: 0.3;
|
9749
9772
|
}
|
@@ -9754,6 +9777,12 @@ select{
|
|
9754
9777
|
transition-duration: 150ms;
|
9755
9778
|
}
|
9756
9779
|
|
9780
|
+
.group\/icon:hover .group-hover\/icon\:transition-all{
|
9781
|
+
transition-property: all;
|
9782
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
9783
|
+
transition-duration: 150ms;
|
9784
|
+
}
|
9785
|
+
|
9757
9786
|
.group:hover .group-hover\:delay-100{
|
9758
9787
|
transition-delay: 100ms;
|
9759
9788
|
}
|
@@ -9766,10 +9795,18 @@ select{
|
|
9766
9795
|
transition-duration: 300ms;
|
9767
9796
|
}
|
9768
9797
|
|
9798
|
+
.group\/icon:hover .group-hover\/icon\:duration-1000{
|
9799
|
+
transition-duration: 1000ms;
|
9800
|
+
}
|
9801
|
+
|
9769
9802
|
.group:hover .group-hover\:ease-in-out{
|
9770
9803
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
9771
9804
|
}
|
9772
9805
|
|
9806
|
+
.group\/icon:hover .group-hover\/icon\:ease-in-out{
|
9807
|
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
9808
|
+
}
|
9809
|
+
|
9773
9810
|
.group:focus .group-focus\:stroke-neutral-0{
|
9774
9811
|
stroke: #FFFFFF;
|
9775
9812
|
}
|