diy-template-components 5.1.2 → 5.1.4
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/build/index.es.js +20 -22
- package/build/index.es.js.map +1 -1
- package/build/index.js +20 -22
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -2494,9 +2494,9 @@ const getBorderRadius = roundness => {
|
|
|
2494
2494
|
large: 24
|
|
2495
2495
|
},
|
|
2496
2496
|
pill: {
|
|
2497
|
-
small:
|
|
2498
|
-
regular:
|
|
2499
|
-
large:
|
|
2497
|
+
small: 32,
|
|
2498
|
+
regular: 32,
|
|
2499
|
+
large: 32
|
|
2500
2500
|
}
|
|
2501
2501
|
};
|
|
2502
2502
|
return mapping[roundness] || {
|
|
@@ -3210,7 +3210,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
|
|
|
3210
3210
|
width: '100%',
|
|
3211
3211
|
height: 'calc(100% - 100px)',
|
|
3212
3212
|
// objectFit: 'cover',
|
|
3213
|
-
objectPosition: '50% 50%'
|
|
3213
|
+
objectPosition: '50% 50%',
|
|
3214
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
3214
3215
|
},
|
|
3215
3216
|
absoluteButtonsBannerRight: {
|
|
3216
3217
|
display: 'flex',
|
|
@@ -4185,7 +4186,7 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
4185
4186
|
flexDirection: 'column'
|
|
4186
4187
|
},
|
|
4187
4188
|
subTitleHeading: {
|
|
4188
|
-
color: theme?.
|
|
4189
|
+
color: theme?.colors?.font2,
|
|
4189
4190
|
marginBottom: '8px',
|
|
4190
4191
|
fontSize: theme.typography.fontSize.subHead,
|
|
4191
4192
|
wordBreak: 'break-word',
|
|
@@ -4194,14 +4195,14 @@ const useSectionStyles$6 = createUseStyles(theme => {
|
|
|
4194
4195
|
heading: {
|
|
4195
4196
|
margin: '0',
|
|
4196
4197
|
fontSize: theme.typography.fontSize.h1,
|
|
4197
|
-
color: theme?.
|
|
4198
|
+
color: theme?.colors?.font2,
|
|
4198
4199
|
wordBreak: ({
|
|
4199
4200
|
wordBreakValue
|
|
4200
4201
|
}) => wordBreakValue || 'break-word',
|
|
4201
4202
|
lineHeight: '80px'
|
|
4202
4203
|
},
|
|
4203
4204
|
description: {
|
|
4204
|
-
color: theme?.
|
|
4205
|
+
color: theme?.colors?.font2,
|
|
4205
4206
|
lineHeight: '32px',
|
|
4206
4207
|
fontWeight: '400',
|
|
4207
4208
|
wordBreak: 'break-word',
|
|
@@ -4476,7 +4477,8 @@ const useSectionStyles$5 = createUseStyles(theme => {
|
|
|
4476
4477
|
width: '100%',
|
|
4477
4478
|
position: 'relative',
|
|
4478
4479
|
zIndex: '2',
|
|
4479
|
-
objectFit: 'cover'
|
|
4480
|
+
objectFit: 'cover',
|
|
4481
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
4480
4482
|
},
|
|
4481
4483
|
textContainer: {
|
|
4482
4484
|
marginLeft: '72px',
|
|
@@ -5579,7 +5581,7 @@ const useVideoTestimonialStyles = createUseStyles(theme => {
|
|
|
5579
5581
|
display: 'flex',
|
|
5580
5582
|
alignItems: 'center',
|
|
5581
5583
|
// marginTop: '16px',
|
|
5582
|
-
borderRadius:
|
|
5584
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
5583
5585
|
},
|
|
5584
5586
|
iframeContainer: {
|
|
5585
5587
|
width: '100%',
|
|
@@ -6380,7 +6382,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
6380
6382
|
cursor: 'pointer'
|
|
6381
6383
|
},
|
|
6382
6384
|
singleCard: {
|
|
6383
|
-
borderRadius:
|
|
6385
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
6384
6386
|
margin: '0 1px',
|
|
6385
6387
|
width: 'calc(100% - 24px)',
|
|
6386
6388
|
position: 'relative',
|
|
@@ -6403,7 +6405,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
6403
6405
|
height: ({
|
|
6404
6406
|
cardsCount
|
|
6405
6407
|
}) => cardsCount === 1 ? '480px' : '100%',
|
|
6406
|
-
borderRadius:
|
|
6408
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
6407
6409
|
objectFit: 'cover',
|
|
6408
6410
|
objectPosition: 'center',
|
|
6409
6411
|
position: 'absolute',
|
|
@@ -6446,7 +6448,7 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
|
|
|
6446
6448
|
height: ({
|
|
6447
6449
|
cardsCount
|
|
6448
6450
|
}) => cardsCount === 1 ? '360px' : '',
|
|
6449
|
-
borderRadius:
|
|
6451
|
+
borderRadius: theme?.shape?.borderRadius?.regular
|
|
6450
6452
|
},
|
|
6451
6453
|
singleCard: {
|
|
6452
6454
|
width: ({
|
|
@@ -6595,7 +6597,7 @@ const useFaqListStyles = createUseStyles(theme => ({
|
|
|
6595
6597
|
},
|
|
6596
6598
|
container: {
|
|
6597
6599
|
boxShadow: theme?.shadows?.secondary,
|
|
6598
|
-
borderRadius:
|
|
6600
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
6599
6601
|
backgroundColor: theme?.colors?.white
|
|
6600
6602
|
},
|
|
6601
6603
|
basicCardContainer: {
|
|
@@ -8268,7 +8270,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
8268
8270
|
height: '208px',
|
|
8269
8271
|
top: '0',
|
|
8270
8272
|
left: '0',
|
|
8271
|
-
borderRadius:
|
|
8273
|
+
borderRadius: `${theme?.shape?.borderRadius?.regular}px ${theme?.shape?.borderRadius?.regular}px 0 0`,
|
|
8272
8274
|
objectFit: 'cover'
|
|
8273
8275
|
},
|
|
8274
8276
|
teamDetailsContainer: {
|
|
@@ -11454,7 +11456,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
11454
11456
|
image: {
|
|
11455
11457
|
width: '100%',
|
|
11456
11458
|
height: '100%',
|
|
11457
|
-
borderRadius:
|
|
11459
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
11458
11460
|
border: '1px solid var(--stroke, #D8E0F0)'
|
|
11459
11461
|
},
|
|
11460
11462
|
infoContainer: {
|
|
@@ -11462,7 +11464,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
11462
11464
|
gap: '16px',
|
|
11463
11465
|
display: 'flex',
|
|
11464
11466
|
flexDirection: 'column',
|
|
11465
|
-
borderRadius:
|
|
11467
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
11466
11468
|
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
11467
11469
|
flex: 1
|
|
11468
11470
|
},
|
|
@@ -11496,7 +11498,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
11496
11498
|
display: 'flex',
|
|
11497
11499
|
justifyContent: 'space-between',
|
|
11498
11500
|
alignItems: 'center',
|
|
11499
|
-
borderRadius:
|
|
11501
|
+
borderRadius: theme?.shape?.borderRadius?.large,
|
|
11500
11502
|
background: 'var(--Blue-Tertiary, #F4F9FF)',
|
|
11501
11503
|
flexGrow: 1
|
|
11502
11504
|
},
|
|
@@ -11556,7 +11558,7 @@ const useAboutInstituteStyles = createUseStyles(theme => ({
|
|
|
11556
11558
|
width: '150px'
|
|
11557
11559
|
},
|
|
11558
11560
|
image: {
|
|
11559
|
-
borderRadius:
|
|
11561
|
+
borderRadius: theme?.shape?.borderRadius?.regular,
|
|
11560
11562
|
border: '1px solid var(--stroke, #D8E0F0)'
|
|
11561
11563
|
},
|
|
11562
11564
|
infoContainer: {
|
|
@@ -11778,7 +11780,6 @@ const useCounterSectionStyles = createUseStyles(theme => {
|
|
|
11778
11780
|
return {
|
|
11779
11781
|
section: {
|
|
11780
11782
|
width: '100%',
|
|
11781
|
-
borderRadius: theme.shape?.borderRadius?.regular || '12px',
|
|
11782
11783
|
overflow: 'hidden',
|
|
11783
11784
|
backgroundImage: ({
|
|
11784
11785
|
backgroundImage
|
|
@@ -11843,9 +11844,6 @@ const useCounterSectionStyles = createUseStyles(theme => {
|
|
|
11843
11844
|
}
|
|
11844
11845
|
},
|
|
11845
11846
|
'@media (max-width: 767px)': {
|
|
11846
|
-
section: {
|
|
11847
|
-
borderRadius: theme.shape?.borderRadius?.small || '8px'
|
|
11848
|
-
},
|
|
11849
11847
|
container: {
|
|
11850
11848
|
padding: `${theme.spacing.padding.regular}px ${theme.spacing.padding.tiny}px`
|
|
11851
11849
|
},
|