@lime-bundles/react 7.1.0 → 7.3.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 +160 -95
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +163 -99
- package/dist/index.js.map +1 -1
- package/dist/styles.css +111 -1
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -1827,7 +1827,7 @@
|
|
|
1827
1827
|
.lb-multi-step__groups {
|
|
1828
1828
|
display: flex;
|
|
1829
1829
|
flex-direction: column;
|
|
1830
|
-
gap:
|
|
1830
|
+
gap: 0;
|
|
1831
1831
|
}
|
|
1832
1832
|
|
|
1833
1833
|
.lb-multi-step__group {
|
|
@@ -1836,6 +1836,116 @@
|
|
|
1836
1836
|
gap: 8px;
|
|
1837
1837
|
}
|
|
1838
1838
|
|
|
1839
|
+
.lb-multi-step__group + .lb-multi-step__group {
|
|
1840
|
+
margin-top: 16px;
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
/* A run of empty-step rows reads as one checklist: flush, hairlines
|
|
1844
|
+
between (the first row of a run keeps no border). */
|
|
1845
|
+
.lb-multi-step__group[data-step-mode="row"] + .lb-multi-step__group[data-step-mode="row"] {
|
|
1846
|
+
margin-top: 0;
|
|
1847
|
+
}
|
|
1848
|
+
|
|
1849
|
+
.lb-multi-step__group[data-step-mode="row"]
|
|
1850
|
+
+ .lb-multi-step__group[data-step-mode="row"]
|
|
1851
|
+
.lb-multi-step__step-row {
|
|
1852
|
+
border-top: var(--lb-border-width) solid var(--lb-border);
|
|
1853
|
+
}
|
|
1854
|
+
|
|
1855
|
+
/* Mode switch — React renders only the active representation, so these
|
|
1856
|
+
are inert here; carried verbatim for theme parity (react-css-drift). */
|
|
1857
|
+
.lb-multi-step__group[data-step-mode="row"] .lb-multi-step__group-heading,
|
|
1858
|
+
.lb-multi-step__group[data-step-mode="row"] .lb-multi-step__group-slots {
|
|
1859
|
+
display: none;
|
|
1860
|
+
}
|
|
1861
|
+
|
|
1862
|
+
.lb-multi-step__group[data-step-mode="open"] .lb-multi-step__step-row {
|
|
1863
|
+
display: none;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
/* Checklist row — the empty step's whole representation, and a tap
|
|
1867
|
+
target that deep-links the wizard to that step. Quiet by design: the
|
|
1868
|
+
door above it is the primary action. */
|
|
1869
|
+
.lb-multi-step__step-row {
|
|
1870
|
+
display: flex;
|
|
1871
|
+
align-items: center;
|
|
1872
|
+
gap: 12px;
|
|
1873
|
+
width: 100%;
|
|
1874
|
+
min-height: 48px;
|
|
1875
|
+
padding: 10px 2px;
|
|
1876
|
+
background: none;
|
|
1877
|
+
border: none;
|
|
1878
|
+
font-family: inherit;
|
|
1879
|
+
text-align: left;
|
|
1880
|
+
cursor: pointer;
|
|
1881
|
+
box-sizing: border-box;
|
|
1882
|
+
transition: background-color 0.25s ease;
|
|
1883
|
+
}
|
|
1884
|
+
|
|
1885
|
+
.lb-multi-step__step-row:hover {
|
|
1886
|
+
background: color-mix(in srgb, var(--lb-text) 3%, transparent);
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
.lb-multi-step__step-row:focus-visible {
|
|
1890
|
+
outline: 2px solid var(--lb-primary-color);
|
|
1891
|
+
outline-offset: -2px;
|
|
1892
|
+
border-radius: var(--lb-radius-sm);
|
|
1893
|
+
}
|
|
1894
|
+
|
|
1895
|
+
.lb-multi-step__step-row .lb-multi-step__group-count {
|
|
1896
|
+
margin-left: auto;
|
|
1897
|
+
}
|
|
1898
|
+
|
|
1899
|
+
/* Step number — quiet index, tabular so multi-digit lists align. */
|
|
1900
|
+
.lb-multi-step__step-ix {
|
|
1901
|
+
width: 18px;
|
|
1902
|
+
min-width: 18px;
|
|
1903
|
+
font-size: 12px;
|
|
1904
|
+
font-weight: 500;
|
|
1905
|
+
color: color-mix(in srgb, var(--lb-text) 45%, transparent);
|
|
1906
|
+
font-variant-numeric: tabular-nums;
|
|
1907
|
+
}
|
|
1908
|
+
|
|
1909
|
+
/* The door — the single wizard entry point, reusing the dashed
|
|
1910
|
+
add-product recipe with a two-line label. It renders directly above
|
|
1911
|
+
the first unsatisfied step and disappears once every step is met. The
|
|
1912
|
+
add-product recipe's own margin-top is for its mix & match position;
|
|
1913
|
+
here the pair rules own all spacing. */
|
|
1914
|
+
.lb-multi-step__door {
|
|
1915
|
+
margin-top: 0;
|
|
1916
|
+
}
|
|
1917
|
+
|
|
1918
|
+
.lb-multi-step__door + .lb-multi-step__group {
|
|
1919
|
+
margin-top: 12px;
|
|
1920
|
+
}
|
|
1921
|
+
|
|
1922
|
+
.lb-multi-step__door + .lb-multi-step__group[data-step-mode="row"] {
|
|
1923
|
+
margin-top: 4px;
|
|
1924
|
+
}
|
|
1925
|
+
|
|
1926
|
+
.lb-multi-step__group + .lb-multi-step__door {
|
|
1927
|
+
margin-top: 16px;
|
|
1928
|
+
}
|
|
1929
|
+
|
|
1930
|
+
/* A hidden door is parked as the container's first child (updateDoor), so
|
|
1931
|
+
the group after it is really the first visible element — no door gap. */
|
|
1932
|
+
.lb-multi-step__door--hidden:first-child + .lb-multi-step__group {
|
|
1933
|
+
margin-top: 0;
|
|
1934
|
+
}
|
|
1935
|
+
|
|
1936
|
+
.lb-multi-step__door-copy {
|
|
1937
|
+
display: flex;
|
|
1938
|
+
flex-direction: column;
|
|
1939
|
+
gap: 2px;
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
.lb-multi-step__door-sub {
|
|
1943
|
+
font-size: 13px;
|
|
1944
|
+
font-weight: 400;
|
|
1945
|
+
line-height: 1.2;
|
|
1946
|
+
color: color-mix(in srgb, var(--lb-text) 55%, transparent);
|
|
1947
|
+
}
|
|
1948
|
+
|
|
1839
1949
|
/* Heading is a quiet, non-interactive row: step name left, live count
|
|
1840
1950
|
chip right. */
|
|
1841
1951
|
.lb-multi-step__group-heading {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lime-bundles/react",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.3.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": "^7.
|
|
55
|
+
"@lime-bundles/core": "^7.3.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@shopify/hydrogen-react": "^2026.4.1",
|