@homebound/truss 2.26.0 → 2.28.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/build/index.d.ts +2 -0
- package/build/index.js +19 -0
- package/build/index.js.map +1 -1
- package/build/plugin/index.js +1 -0
- package/build/plugin/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/build/index.d.ts
CHANGED
|
@@ -158,6 +158,8 @@ declare const defaultSections: {
|
|
|
158
158
|
readonly outline: CreateMethodsFn;
|
|
159
159
|
readonly overflow: CreateMethodsFn;
|
|
160
160
|
readonly position: CreateMethodsFn;
|
|
161
|
+
readonly scrollSnap: CreateMethodsFn;
|
|
162
|
+
readonly scrollbarWidth: CreateMethodsFn;
|
|
161
163
|
readonly skins: CreateMethodsFn;
|
|
162
164
|
readonly spacing: CreateMethodsFn;
|
|
163
165
|
readonly textAlign: CreateMethodsFn;
|
package/build/index.js
CHANGED
|
@@ -549,6 +549,23 @@ var position = () => newMethodsForProp("position", {
|
|
|
549
549
|
sticky: "sticky"
|
|
550
550
|
});
|
|
551
551
|
|
|
552
|
+
// src/sections/tachyons/scrollSnap.ts
|
|
553
|
+
var scrollSnap = () => [
|
|
554
|
+
...newMethodsForProp("scrollSnapAlign", {}, "ssa"),
|
|
555
|
+
...newMethodsForProp("scrollSnapType", {}, "sst")
|
|
556
|
+
];
|
|
557
|
+
|
|
558
|
+
// src/sections/tachyons/scrollbarWidth.ts
|
|
559
|
+
var scrollbarWidth = () => newMethodsForProp(
|
|
560
|
+
"scrollbarWidth",
|
|
561
|
+
{
|
|
562
|
+
sbwa: "auto",
|
|
563
|
+
sbwt: "thin",
|
|
564
|
+
sbwn: "none"
|
|
565
|
+
},
|
|
566
|
+
"sbw"
|
|
567
|
+
);
|
|
568
|
+
|
|
552
569
|
// src/utils.ts
|
|
553
570
|
function lowerCaseFirst(s) {
|
|
554
571
|
return s.charAt(0).toLowerCase() + s.substr(1);
|
|
@@ -854,6 +871,8 @@ var defaultSections = {
|
|
|
854
871
|
outline,
|
|
855
872
|
overflow,
|
|
856
873
|
position,
|
|
874
|
+
scrollSnap,
|
|
875
|
+
scrollbarWidth,
|
|
857
876
|
skins,
|
|
858
877
|
spacing,
|
|
859
878
|
textAlign,
|