@gem-sdk/components 2.0.0-dev.516 → 2.0.0-dev.517
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/cjs/breadcrumb/components/common/style.js +7 -4
- package/dist/cjs/breadcrumb/setting/Breadcrumb.js +1 -0
- package/dist/cjs/breadcrumb/setting/configs/settings.js +1 -1
- package/dist/cjs/breadcrumb/setting/configs/uiV2.js +1 -1
- package/dist/cjs/product/components/ProductQuantity/common/getClasses.js +1 -1
- package/dist/esm/breadcrumb/components/common/style.js +8 -5
- package/dist/esm/breadcrumb/setting/Breadcrumb.js +1 -0
- package/dist/esm/breadcrumb/setting/configs/settings.js +1 -1
- package/dist/esm/breadcrumb/setting/configs/uiV2.js +1 -1
- package/dist/esm/product/components/ProductQuantity/common/getClasses.js +1 -1
- package/package.json +1 -1
|
@@ -26,11 +26,14 @@ const getBreadcrumbChildItemStyles = (args)=>{
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
const generateBreadcrumbChildIconStyles = (iconWidth, color)=>{
|
|
29
|
+
const desktopWidth = iconWidth?.desktop ?? 0;
|
|
30
|
+
const tabletWidth = iconWidth?.tablet ?? desktopWidth;
|
|
31
|
+
const mobileWidth = iconWidth?.mobile ?? tabletWidth;
|
|
29
32
|
return {
|
|
30
|
-
'--height-desktop': `${
|
|
31
|
-
'--height-tablet': `${
|
|
32
|
-
'--height-mobile': `${
|
|
33
|
-
'--
|
|
33
|
+
'--height-desktop': `${desktopWidth}px`,
|
|
34
|
+
'--height-tablet': `${tabletWidth}px`,
|
|
35
|
+
'--height-mobile': `${mobileWidth}px`,
|
|
36
|
+
'--c': core.getGlobalColorCSSProp(color)
|
|
34
37
|
};
|
|
35
38
|
};
|
|
36
39
|
const getBreadcrumbStyles = (style, settings)=>{
|
|
@@ -30,7 +30,7 @@ const getButtonClass = ({ borderBtn, buttonBackgroundColor, iconColor, buttonSid
|
|
|
30
30
|
};
|
|
31
31
|
const getContainerClasses = (advanceClass)=>{
|
|
32
32
|
return {
|
|
33
|
-
...core.composeClasses(`
|
|
33
|
+
...core.composeClasses(`quantityClass gp-relative gp-inline-flex gp-h-12 gp-w-full gp-bg-transparent gp-transition-all gp-duration-150 data-[disabled=true]:gp-opacity-60 ${advanceClass ?? ''}`)
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
const getWrapperClasses = ()=>{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { makeStyleResponsive, getGlobalColorStateStyle, makeStyle, getSingleColorVariable, removeNullUndefined } from '@gem-sdk/core';
|
|
1
|
+
import { makeStyleResponsive, getGlobalColorStateStyle, makeStyle, getSingleColorVariable, removeNullUndefined, getGlobalColorCSSProp } from '@gem-sdk/core';
|
|
2
2
|
import { makeStyleStateConditionActive } from './index.js';
|
|
3
3
|
|
|
4
4
|
const getSpacingStyles = (spacing)=>{
|
|
@@ -24,11 +24,14 @@ const getBreadcrumbChildItemStyles = (args)=>{
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
const generateBreadcrumbChildIconStyles = (iconWidth, color)=>{
|
|
27
|
+
const desktopWidth = iconWidth?.desktop ?? 0;
|
|
28
|
+
const tabletWidth = iconWidth?.tablet ?? desktopWidth;
|
|
29
|
+
const mobileWidth = iconWidth?.mobile ?? tabletWidth;
|
|
27
30
|
return {
|
|
28
|
-
'--height-desktop': `${
|
|
29
|
-
'--height-tablet': `${
|
|
30
|
-
'--height-mobile': `${
|
|
31
|
-
'--
|
|
31
|
+
'--height-desktop': `${desktopWidth}px`,
|
|
32
|
+
'--height-tablet': `${tabletWidth}px`,
|
|
33
|
+
'--height-mobile': `${mobileWidth}px`,
|
|
34
|
+
'--c': getGlobalColorCSSProp(color)
|
|
32
35
|
};
|
|
33
36
|
};
|
|
34
37
|
const getBreadcrumbStyles = (style, settings)=>{
|
|
@@ -28,7 +28,7 @@ const getButtonClass = ({ borderBtn, buttonBackgroundColor, iconColor, buttonSid
|
|
|
28
28
|
};
|
|
29
29
|
const getContainerClasses = (advanceClass)=>{
|
|
30
30
|
return {
|
|
31
|
-
...composeClasses(`
|
|
31
|
+
...composeClasses(`quantityClass gp-relative gp-inline-flex gp-h-12 gp-w-full gp-bg-transparent gp-transition-all gp-duration-150 data-[disabled=true]:gp-opacity-60 ${advanceClass ?? ''}`)
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
const getWrapperClasses = ()=>{
|