@lime-bundles/react 6.2.0 → 7.0.0
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.cjs +304 -303
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +15 -41
- package/dist/index.d.ts +15 -41
- package/dist/index.js +138 -140
- package/dist/index.js.map +1 -1
- package/dist/styles.css +35 -7
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -997,7 +997,7 @@
|
|
|
997
997
|
max-height: 32px;
|
|
998
998
|
}
|
|
999
999
|
|
|
1000
|
-
.lb-mix-match__modal-add:hover {
|
|
1000
|
+
.lb-mix-match__modal-add:hover:not(:disabled) {
|
|
1001
1001
|
opacity: 0.9;
|
|
1002
1002
|
}
|
|
1003
1003
|
|
|
@@ -1099,7 +1099,14 @@
|
|
|
1099
1099
|
color: color-mix(in srgb, var(--lb-picker-text, var(--lb-text, var(--lb-primary-color))) 70%, transparent);
|
|
1100
1100
|
}
|
|
1101
1101
|
|
|
1102
|
+
/* The flex centring + min-height pin the footer-button silhouette: the wizard
|
|
1103
|
+
Back copies these metrics so the pair stays equal-height whatever border
|
|
1104
|
+
widths the merchant's picker tokens set. */
|
|
1102
1105
|
.lb-mix-match__modal-done {
|
|
1106
|
+
display: inline-flex;
|
|
1107
|
+
align-items: center;
|
|
1108
|
+
justify-content: center;
|
|
1109
|
+
min-height: 40px;
|
|
1103
1110
|
padding: 10px 24px;
|
|
1104
1111
|
background: var(--lb-picker-add-bg, var(--lb-primary-color));
|
|
1105
1112
|
color: var(--lb-picker-add-label, #fff);
|
|
@@ -1112,10 +1119,19 @@
|
|
|
1112
1119
|
cursor: pointer;
|
|
1113
1120
|
}
|
|
1114
1121
|
|
|
1115
|
-
.lb-mix-match__modal-done:hover {
|
|
1122
|
+
.lb-mix-match__modal-done:hover:not(:disabled) {
|
|
1116
1123
|
opacity: 0.9;
|
|
1117
1124
|
}
|
|
1118
1125
|
|
|
1126
|
+
/* Disabled Next/Done (wizard step minimum not met) — same washed-out
|
|
1127
|
+
treatment as a disabled row Add, no hover reaction; the solid button
|
|
1128
|
+
returns the moment the requirement is met. */
|
|
1129
|
+
.lb-mix-match__modal-done:disabled {
|
|
1130
|
+
background: color-mix(in srgb, var(--lb-picker-add-bg, var(--lb-primary-color)) 35%, var(--lb-picker-bg, var(--lb-bg, var(--lb-background))));
|
|
1131
|
+
color: color-mix(in srgb, var(--lb-picker-add-label, #fff) 85%, transparent);
|
|
1132
|
+
cursor: not-allowed;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1119
1135
|
.lb-mix-match__modal-done:focus-visible {
|
|
1120
1136
|
outline: 2px solid var(--lb-primary-color);
|
|
1121
1137
|
outline-offset: 2px;
|
|
@@ -1285,6 +1301,13 @@
|
|
|
1285
1301
|
border-width: 2px;
|
|
1286
1302
|
}
|
|
1287
1303
|
|
|
1304
|
+
/* Tier the selected variant can't cover — same greyed treatment as an
|
|
1305
|
+
out-of-stock product row, and not selectable. */
|
|
1306
|
+
.lb-bundle__tier--oos {
|
|
1307
|
+
opacity: 0.5;
|
|
1308
|
+
cursor: not-allowed;
|
|
1309
|
+
}
|
|
1310
|
+
|
|
1288
1311
|
.lb-bundle__tier-radio {
|
|
1289
1312
|
width: 20px;
|
|
1290
1313
|
height: 20px;
|
|
@@ -1879,11 +1902,16 @@
|
|
|
1879
1902
|
}
|
|
1880
1903
|
|
|
1881
1904
|
.lb-multi-step__modal-back {
|
|
1882
|
-
|
|
1905
|
+
display: inline-flex;
|
|
1906
|
+
align-items: center;
|
|
1907
|
+
justify-content: center;
|
|
1908
|
+
min-height: 40px;
|
|
1909
|
+
padding: 10px 24px;
|
|
1883
1910
|
background: none;
|
|
1884
|
-
border: var(--lb-border-width) solid var(--lb-border-color);
|
|
1885
|
-
border-radius: var(--lb-radius-sm);
|
|
1886
|
-
|
|
1911
|
+
border: var(--lb-picker-border-width) solid var(--lb-picker-border-color);
|
|
1912
|
+
border-radius: var(--lb-picker-radius-sm);
|
|
1913
|
+
box-sizing: border-box;
|
|
1914
|
+
color: var(--lb-picker-text);
|
|
1887
1915
|
font-family: inherit;
|
|
1888
1916
|
font-size: 14px;
|
|
1889
1917
|
font-weight: 600;
|
|
@@ -1892,7 +1920,7 @@
|
|
|
1892
1920
|
}
|
|
1893
1921
|
|
|
1894
1922
|
.lb-multi-step__modal-back:hover {
|
|
1895
|
-
background: color-mix(in srgb, var(--lb-text) 5%, transparent);
|
|
1923
|
+
background: color-mix(in srgb, var(--lb-picker-text) 5%, transparent);
|
|
1896
1924
|
}
|
|
1897
1925
|
|
|
1898
1926
|
.lb-multi-step__modal-back:focus-visible {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lime-bundles/react",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "React components and hooks for the Lime Bundles Shopify app. Use on Hydrogen, Next.js, Vite, or any React-based headless storefront.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"react-dom": ">=18.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@lime-bundles/core": "^
|
|
55
|
+
"@lime-bundles/core": "^7.0.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@shopify/hydrogen-react": "^2026.4.1",
|