@bamboocss/preset-base 1.17.3 → 1.19.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 CHANGED
@@ -1621,7 +1621,11 @@ function createFocusRing(selector, className) {
1621
1621
  };
1622
1622
  default: return {};
1623
1623
  }
1624
- }
1624
+ },
1625
+ customProperties: { "--focus-ring-color": {
1626
+ inherits: false,
1627
+ syntax: "*"
1628
+ } }
1625
1629
  };
1626
1630
  }
1627
1631
  const focusRing = {
@@ -1710,6 +1714,16 @@ const backgroundGradients = {
1710
1714
  "--gradient-position": linearGradientDirectionMap.get(raw),
1711
1715
  backgroundImage: `linear-gradient(var(--gradient-stops))`
1712
1716
  };
1717
+ },
1718
+ customProperties: {
1719
+ "--gradient-stops": {
1720
+ inherits: false,
1721
+ syntax: "*"
1722
+ },
1723
+ "--gradient-position": {
1724
+ inherits: false,
1725
+ syntax: "*"
1726
+ }
1713
1727
  }
1714
1728
  },
1715
1729
  backgroundLinear: {
@@ -1806,13 +1820,21 @@ const backgroundGradients = {
1806
1820
  className: "grad-from",
1807
1821
  values: "colors",
1808
1822
  group: "Background Gradient",
1809
- transform: createColorMixTransform("--gradient-from")
1823
+ transform: createColorMixTransform("--gradient-from"),
1824
+ customProperties: { "--gradient-from": {
1825
+ inherits: false,
1826
+ syntax: "*"
1827
+ } }
1810
1828
  },
1811
1829
  gradientTo: {
1812
1830
  className: "grad-to",
1813
1831
  values: "colors",
1814
1832
  group: "Background Gradient",
1815
- transform: createColorMixTransform("--gradient-to")
1833
+ transform: createColorMixTransform("--gradient-to"),
1834
+ customProperties: { "--gradient-to": {
1835
+ inherits: false,
1836
+ syntax: "*"
1837
+ } }
1816
1838
  },
1817
1839
  gradientVia: {
1818
1840
  className: "grad-via",
@@ -1824,6 +1846,16 @@ const backgroundGradients = {
1824
1846
  "--gradient-stops": "var(--gradient-via-stops)",
1825
1847
  "--gradient-via-stops": gradientViaStops
1826
1848
  };
1849
+ },
1850
+ customProperties: {
1851
+ "--gradient-via": {
1852
+ inherits: false,
1853
+ syntax: "*"
1854
+ },
1855
+ "--gradient-via-stops": {
1856
+ inherits: false,
1857
+ syntax: "*"
1858
+ }
1827
1859
  }
1828
1860
  },
1829
1861
  gradientViaPosition: {
@@ -3092,7 +3124,11 @@ const transitions = {
3092
3124
  "--transition-easing": value,
3093
3125
  transitionTimingFunction: value
3094
3126
  };
3095
- }
3127
+ },
3128
+ customProperties: { "--transition-easing": {
3129
+ inherits: false,
3130
+ syntax: "*"
3131
+ } }
3096
3132
  },
3097
3133
  transitionDelay: {
3098
3134
  className: "trs-dly",
@@ -3108,7 +3144,11 @@ const transitions = {
3108
3144
  "--transition-duration": value,
3109
3145
  transitionDuration: value
3110
3146
  };
3111
- }
3147
+ },
3148
+ customProperties: { "--transition-duration": {
3149
+ inherits: false,
3150
+ syntax: "*"
3151
+ } }
3112
3152
  },
3113
3153
  transitionProperty: {
3114
3154
  className: "trs-prop",
@@ -3125,7 +3165,11 @@ const transitions = {
3125
3165
  "--transition-prop": value,
3126
3166
  transitionProperty: value
3127
3167
  };
3128
- }
3168
+ },
3169
+ customProperties: { "--transition-prop": {
3170
+ inherits: false,
3171
+ syntax: "*"
3172
+ } }
3129
3173
  },
3130
3174
  transition: {
3131
3175
  className: "trs",
package/dist/index.mjs CHANGED
@@ -1617,7 +1617,11 @@ function createFocusRing(selector, className) {
1617
1617
  };
1618
1618
  default: return {};
1619
1619
  }
1620
- }
1620
+ },
1621
+ customProperties: { "--focus-ring-color": {
1622
+ inherits: false,
1623
+ syntax: "*"
1624
+ } }
1621
1625
  };
1622
1626
  }
1623
1627
  const focusRing = {
@@ -1706,6 +1710,16 @@ const backgroundGradients = {
1706
1710
  "--gradient-position": linearGradientDirectionMap.get(raw),
1707
1711
  backgroundImage: `linear-gradient(var(--gradient-stops))`
1708
1712
  };
1713
+ },
1714
+ customProperties: {
1715
+ "--gradient-stops": {
1716
+ inherits: false,
1717
+ syntax: "*"
1718
+ },
1719
+ "--gradient-position": {
1720
+ inherits: false,
1721
+ syntax: "*"
1722
+ }
1709
1723
  }
1710
1724
  },
1711
1725
  backgroundLinear: {
@@ -1802,13 +1816,21 @@ const backgroundGradients = {
1802
1816
  className: "grad-from",
1803
1817
  values: "colors",
1804
1818
  group: "Background Gradient",
1805
- transform: createColorMixTransform("--gradient-from")
1819
+ transform: createColorMixTransform("--gradient-from"),
1820
+ customProperties: { "--gradient-from": {
1821
+ inherits: false,
1822
+ syntax: "*"
1823
+ } }
1806
1824
  },
1807
1825
  gradientTo: {
1808
1826
  className: "grad-to",
1809
1827
  values: "colors",
1810
1828
  group: "Background Gradient",
1811
- transform: createColorMixTransform("--gradient-to")
1829
+ transform: createColorMixTransform("--gradient-to"),
1830
+ customProperties: { "--gradient-to": {
1831
+ inherits: false,
1832
+ syntax: "*"
1833
+ } }
1812
1834
  },
1813
1835
  gradientVia: {
1814
1836
  className: "grad-via",
@@ -1820,6 +1842,16 @@ const backgroundGradients = {
1820
1842
  "--gradient-stops": "var(--gradient-via-stops)",
1821
1843
  "--gradient-via-stops": gradientViaStops
1822
1844
  };
1845
+ },
1846
+ customProperties: {
1847
+ "--gradient-via": {
1848
+ inherits: false,
1849
+ syntax: "*"
1850
+ },
1851
+ "--gradient-via-stops": {
1852
+ inherits: false,
1853
+ syntax: "*"
1854
+ }
1823
1855
  }
1824
1856
  },
1825
1857
  gradientViaPosition: {
@@ -3088,7 +3120,11 @@ const transitions = {
3088
3120
  "--transition-easing": value,
3089
3121
  transitionTimingFunction: value
3090
3122
  };
3091
- }
3123
+ },
3124
+ customProperties: { "--transition-easing": {
3125
+ inherits: false,
3126
+ syntax: "*"
3127
+ } }
3092
3128
  },
3093
3129
  transitionDelay: {
3094
3130
  className: "trs-dly",
@@ -3104,7 +3140,11 @@ const transitions = {
3104
3140
  "--transition-duration": value,
3105
3141
  transitionDuration: value
3106
3142
  };
3107
- }
3143
+ },
3144
+ customProperties: { "--transition-duration": {
3145
+ inherits: false,
3146
+ syntax: "*"
3147
+ } }
3108
3148
  },
3109
3149
  transitionProperty: {
3110
3150
  className: "trs-prop",
@@ -3121,7 +3161,11 @@ const transitions = {
3121
3161
  "--transition-prop": value,
3122
3162
  transitionProperty: value
3123
3163
  };
3124
- }
3164
+ },
3165
+ customProperties: { "--transition-prop": {
3166
+ inherits: false,
3167
+ syntax: "*"
3168
+ } }
3125
3169
  },
3126
3170
  transition: {
3127
3171
  className: "trs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bamboocss/preset-base",
3
- "version": "1.17.3",
3
+ "version": "1.19.0",
4
4
  "description": "The base preset for Bamboo CSS that contains the conditions and utilities",
5
5
  "homepage": "https://bamboocss.com",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@bamboocss/types": "1.17.3"
36
+ "@bamboocss/types": "1.19.0"
37
37
  },
38
38
  "scripts": {
39
39
  "build": "tsdown src/index.ts --format=esm,cjs --dts",