tailwind-to-style 2.10.0-beta.1 → 2.10.2

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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * tailwind-to-style v2.10.0-beta.1
2
+ * tailwind-to-style v2.10.2
3
3
  * Convert tailwind classes to inline style
4
4
  *
5
5
  * @author Bigetion
@@ -1594,9 +1594,9 @@ var tailwindToStyle = (function (exports) {
1594
1594
  vars
1595
1595
  };
1596
1596
 
1597
- /**
1598
- * TailwindCache singleton for managing generated Tailwind CSS
1599
- * Replaces global state with proper encapsulation
1597
+ /**
1598
+ * TailwindCache singleton for managing generated Tailwind CSS
1599
+ * Replaces global state with proper encapsulation
1600
1600
  */
1601
1601
  class TailwindCache {
1602
1602
  constructor() {
@@ -1605,44 +1605,44 @@ var tailwindToStyle = (function (exports) {
1605
1605
  this.initialized = false;
1606
1606
  }
1607
1607
 
1608
- /**
1609
- * Get or generate the CSS object
1610
- * @param {Function} generateFn - Function to generate CSS string
1611
- * @param {Function} convertFn - Function to convert CSS string to object
1612
- * @returns {Object} CSS object lookup
1608
+ /**
1609
+ * Get or generate the CSS object
1610
+ * @param {Function} generateFn - Function to generate CSS string
1611
+ * @param {Function} convertFn - Function to convert CSS string to object
1612
+ * @returns {Object} CSS object lookup
1613
1613
  */
1614
1614
  getOrGenerate(generateFn, convertFn) {
1615
1615
  if (!this.initialized) {
1616
- this.twString = generateFn().replace(/\s\s+/g, ' ');
1616
+ this.twString = generateFn().replace(/\s\s+/g, " ");
1617
1617
  this.cssObject = convertFn(this.twString);
1618
1618
  this.initialized = true;
1619
1619
  }
1620
1620
  return this.cssObject;
1621
1621
  }
1622
1622
 
1623
- /**
1624
- * Get the CSS string
1623
+ /**
1624
+ * Get the CSS string
1625
1625
  */
1626
1626
  getCssString() {
1627
1627
  return this.twString;
1628
1628
  }
1629
1629
 
1630
- /**
1631
- * Get the CSS object
1630
+ /**
1631
+ * Get the CSS object
1632
1632
  */
1633
1633
  getCssObject() {
1634
1634
  return this.cssObject;
1635
1635
  }
1636
1636
 
1637
- /**
1638
- * Check if cache is initialized
1637
+ /**
1638
+ * Check if cache is initialized
1639
1639
  */
1640
1640
  isInitialized() {
1641
1641
  return this.initialized;
1642
1642
  }
1643
1643
 
1644
- /**
1645
- * Reset the cache (useful for testing)
1644
+ /**
1645
+ * Reset the cache (useful for testing)
1646
1646
  */
1647
1647
  reset() {
1648
1648
  this.twString = null;
@@ -1654,9 +1654,9 @@ var tailwindToStyle = (function (exports) {
1654
1654
  // Singleton instance
1655
1655
  let instance = null;
1656
1656
 
1657
- /**
1658
- * Get the TailwindCache singleton instance
1659
- * @returns {TailwindCache} The cache instance
1657
+ /**
1658
+ * Get the TailwindCache singleton instance
1659
+ * @returns {TailwindCache} The cache instance
1660
1660
  */
1661
1661
  function getTailwindCache() {
1662
1662
  if (!instance) {
@@ -1665,8 +1665,8 @@ var tailwindToStyle = (function (exports) {
1665
1665
  return instance;
1666
1666
  }
1667
1667
 
1668
- /**
1669
- * Reset the TailwindCache singleton (for testing)
1668
+ /**
1669
+ * Reset the TailwindCache singleton (for testing)
1670
1670
  */
1671
1671
  function resetTailwindCache() {
1672
1672
  if (instance) {
@@ -1676,13 +1676,13 @@ var tailwindToStyle = (function (exports) {
1676
1676
  }
1677
1677
 
1678
1678
  var _process$env;
1679
- /**
1680
- * Logger class with configurable log levels
1681
- * Prevents console spam in production
1679
+ /**
1680
+ * Logger class with configurable log levels
1681
+ * Prevents console spam in production
1682
1682
  */
1683
1683
  class Logger {
1684
1684
  constructor() {
1685
- let level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'warn';
1685
+ let level = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "warn";
1686
1686
  this.level = level;
1687
1687
  this.levels = {
1688
1688
  debug: 0,
@@ -1693,9 +1693,9 @@ var tailwindToStyle = (function (exports) {
1693
1693
  };
1694
1694
  }
1695
1695
 
1696
- /**
1697
- * Set the log level
1698
- * @param {string} level - One of 'debug', 'info', 'warn', 'error', 'silent'
1696
+ /**
1697
+ * Set the log level
1698
+ * @param {string} level - One of 'debug', 'info', 'warn', 'error', 'silent'
1699
1699
  */
1700
1700
  setLevel(level) {
1701
1701
  if (this.levels[level] !== undefined) {
@@ -1703,25 +1703,25 @@ var tailwindToStyle = (function (exports) {
1703
1703
  }
1704
1704
  }
1705
1705
 
1706
- /**
1707
- * Get current log level
1706
+ /**
1707
+ * Get current log level
1708
1708
  */
1709
1709
  getLevel() {
1710
1710
  return this.level;
1711
1711
  }
1712
1712
 
1713
- /**
1714
- * Check if a message should be logged
1713
+ /**
1714
+ * Check if a message should be logged
1715
1715
  */
1716
1716
  shouldLog(level) {
1717
1717
  return this.levels[level] >= this.levels[this.level];
1718
1718
  }
1719
1719
 
1720
- /**
1721
- * Log debug message
1720
+ /**
1721
+ * Log debug message
1722
1722
  */
1723
1723
  debug(message) {
1724
- if (this.shouldLog('debug')) {
1724
+ if (this.shouldLog("debug")) {
1725
1725
  for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
1726
1726
  args[_key - 1] = arguments[_key];
1727
1727
  }
@@ -1729,11 +1729,11 @@ var tailwindToStyle = (function (exports) {
1729
1729
  }
1730
1730
  }
1731
1731
 
1732
- /**
1733
- * Log info message
1732
+ /**
1733
+ * Log info message
1734
1734
  */
1735
1735
  info(message) {
1736
- if (this.shouldLog('info')) {
1736
+ if (this.shouldLog("info")) {
1737
1737
  for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
1738
1738
  args[_key2 - 1] = arguments[_key2];
1739
1739
  }
@@ -1741,11 +1741,11 @@ var tailwindToStyle = (function (exports) {
1741
1741
  }
1742
1742
  }
1743
1743
 
1744
- /**
1745
- * Log warning message
1744
+ /**
1745
+ * Log warning message
1746
1746
  */
1747
1747
  warn(message) {
1748
- if (this.shouldLog('warn')) {
1748
+ if (this.shouldLog("warn")) {
1749
1749
  for (var _len3 = arguments.length, args = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
1750
1750
  args[_key3 - 1] = arguments[_key3];
1751
1751
  }
@@ -1753,11 +1753,11 @@ var tailwindToStyle = (function (exports) {
1753
1753
  }
1754
1754
  }
1755
1755
 
1756
- /**
1757
- * Log error message
1756
+ /**
1757
+ * Log error message
1758
1758
  */
1759
1759
  error(message) {
1760
- if (this.shouldLog('error')) {
1760
+ if (this.shouldLog("error")) {
1761
1761
  for (var _len4 = arguments.length, args = new Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {
1762
1762
  args[_key4 - 1] = arguments[_key4];
1763
1763
  }
@@ -1767,16 +1767,16 @@ var tailwindToStyle = (function (exports) {
1767
1767
  }
1768
1768
 
1769
1769
  // Create singleton instance with production-safe defaults
1770
- const isProduction = typeof process !== 'undefined' && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === 'production';
1771
- const logger = new Logger(isProduction ? 'error' : 'warn');
1770
+ const isProduction = typeof process !== "undefined" && ((_process$env = process.env) === null || _process$env === void 0 ? void 0 : _process$env.NODE_ENV) === "production";
1771
+ const logger = new Logger(isProduction ? "error" : "warn");
1772
1772
 
1773
- /**
1774
- * User Configuration Management
1775
- * Handles theme extensions and custom plugin registration
1773
+ /**
1774
+ * User Configuration Management
1775
+ * Handles theme extensions and custom plugin registration
1776
1776
  */
1777
1777
 
1778
- /**
1779
- * User configuration state
1778
+ /**
1779
+ * User configuration state
1780
1780
  */
1781
1781
  let userConfig = {
1782
1782
  theme: {
@@ -1787,11 +1787,11 @@ var tailwindToStyle = (function (exports) {
1787
1787
  prefix: ""
1788
1788
  };
1789
1789
 
1790
- /**
1791
- * Deep merge two objects
1792
- * @param {Object} target - Target object
1793
- * @param {Object} source - Source object
1794
- * @returns {Object} Merged object
1790
+ /**
1791
+ * Deep merge two objects
1792
+ * @param {Object} target - Target object
1793
+ * @param {Object} source - Source object
1794
+ * @returns {Object} Merged object
1795
1795
  */
1796
1796
  function deepMerge(target, source) {
1797
1797
  const result = {
@@ -1807,31 +1807,31 @@ var tailwindToStyle = (function (exports) {
1807
1807
  return result;
1808
1808
  }
1809
1809
 
1810
- /**
1811
- * Configure tailwind-to-style with custom theme and plugins
1812
- * @param {Object} config - Configuration object
1813
- * @param {Object} [config.theme] - Theme configuration
1814
- * @param {Object} [config.theme.extend] - Theme extensions
1815
- * @param {Array} [config.plugins] - Array of plugins
1816
- * @param {Object} [config.corePlugins] - Core plugins to enable/disable
1817
- * @param {string} [config.prefix] - Prefix for all classes
1818
- *
1819
- * @example
1820
- * configure({
1821
- * theme: {
1822
- * extend: {
1823
- * colors: {
1824
- * brand: {
1825
- * 500: '#3B82F6',
1826
- * },
1827
- * },
1828
- * spacing: {
1829
- * 128: '32rem',
1830
- * },
1831
- * },
1832
- * },
1833
- * plugins: [myCustomPlugin],
1834
- * });
1810
+ /**
1811
+ * Configure tailwind-to-style with custom theme and plugins
1812
+ * @param {Object} config - Configuration object
1813
+ * @param {Object} [config.theme] - Theme configuration
1814
+ * @param {Object} [config.theme.extend] - Theme extensions
1815
+ * @param {Array} [config.plugins] - Array of plugins
1816
+ * @param {Object} [config.corePlugins] - Core plugins to enable/disable
1817
+ * @param {string} [config.prefix] - Prefix for all classes
1818
+ *
1819
+ * @example
1820
+ * configure({
1821
+ * theme: {
1822
+ * extend: {
1823
+ * colors: {
1824
+ * brand: {
1825
+ * 500: '#3B82F6',
1826
+ * },
1827
+ * },
1828
+ * spacing: {
1829
+ * 128: '32rem',
1830
+ * },
1831
+ * },
1832
+ * },
1833
+ * plugins: [myCustomPlugin],
1834
+ * });
1835
1835
  */
1836
1836
  function configure() {
1837
1837
  let config = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -1885,9 +1885,9 @@ var tailwindToStyle = (function (exports) {
1885
1885
  }
1886
1886
  }
1887
1887
 
1888
- /**
1889
- * Get current user configuration
1890
- * @returns {Object} Current configuration
1888
+ /**
1889
+ * Get current user configuration
1890
+ * @returns {Object} Current configuration
1891
1891
  */
1892
1892
  function getConfig() {
1893
1893
  return {
@@ -1895,8 +1895,8 @@ var tailwindToStyle = (function (exports) {
1895
1895
  };
1896
1896
  }
1897
1897
 
1898
- /**
1899
- * Reset configuration to defaults
1898
+ /**
1899
+ * Reset configuration to defaults
1900
1900
  */
1901
1901
  function resetConfig() {
1902
1902
  userConfig = {
@@ -1911,26 +1911,26 @@ var tailwindToStyle = (function (exports) {
1911
1911
  logger.info("Configuration reset to defaults");
1912
1912
  }
1913
1913
 
1914
- /**
1915
- * Get extended theme value
1916
- * @param {string} key - Theme key (e.g., 'colors', 'spacing')
1917
- * @returns {Object} Extended theme values
1914
+ /**
1915
+ * Get extended theme value
1916
+ * @param {string} key - Theme key (e.g., 'colors', 'spacing')
1917
+ * @returns {Object} Extended theme values
1918
1918
  */
1919
1919
  function getExtendedTheme(key) {
1920
1920
  return userConfig.theme.extend[key] || {};
1921
1921
  }
1922
1922
 
1923
- /**
1924
- * Get all registered plugins
1925
- * @returns {Array} Array of plugins
1923
+ /**
1924
+ * Get all registered plugins
1925
+ * @returns {Array} Array of plugins
1926
1926
  */
1927
1927
  function getPlugins() {
1928
1928
  return userConfig.plugins;
1929
1929
  }
1930
1930
 
1931
- /**
1932
- * Get configured prefix
1933
- * @returns {string} Prefix string
1931
+ /**
1932
+ * Get configured prefix
1933
+ * @returns {string} Prefix string
1934
1934
  */
1935
1935
  function getPrefix() {
1936
1936
  return userConfig.prefix;
@@ -1978,6 +1978,19 @@ var tailwindToStyle = (function (exports) {
1978
1978
  }
1979
1979
  });
1980
1980
 
1981
+ // Re-resolve theme functions after all extensions are applied
1982
+ // This ensures that theme functions like backgroundColor: ({ theme }) => theme("colors")
1983
+ // get the updated colors including custom theme extensions
1984
+ themeKeys.forEach(key => {
1985
+ if (isFunction(configOptions.theme[key])) {
1986
+ newTheme[key] = configOptions.theme[key]({
1987
+ theme: keyRef => {
1988
+ return newTheme[keyRef];
1989
+ }
1990
+ });
1991
+ }
1992
+ });
1993
+
1981
1994
  // Get user prefix
1982
1995
  const userPrefix = getPrefix();
1983
1996
  const finalPrefix = userPrefix || options.prefix || "";
@@ -2048,7 +2061,7 @@ var tailwindToStyle = (function (exports) {
2048
2061
  return cssString;
2049
2062
  }
2050
2063
 
2051
- function generator$2w() {
2064
+ function generator$2M() {
2052
2065
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2053
2066
  const {
2054
2067
  prefix: globalPrefix,
@@ -2087,7 +2100,7 @@ var tailwindToStyle = (function (exports) {
2087
2100
  return responsiveCssString;
2088
2101
  }
2089
2102
 
2090
- function generator$2v() {
2103
+ function generator$2L() {
2091
2104
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2092
2105
  const {
2093
2106
  prefix
@@ -2126,7 +2139,7 @@ var tailwindToStyle = (function (exports) {
2126
2139
  return responsiveCssString;
2127
2140
  }
2128
2141
 
2129
- function generator$2u() {
2142
+ function generator$2K() {
2130
2143
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2131
2144
  const {
2132
2145
  prefix: globalPrefix
@@ -2154,7 +2167,7 @@ var tailwindToStyle = (function (exports) {
2154
2167
  return responsiveCssString;
2155
2168
  }
2156
2169
 
2157
- function generator$2t() {
2170
+ function generator$2J() {
2158
2171
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2159
2172
  const {
2160
2173
  prefix: globalPrefix
@@ -2181,7 +2194,7 @@ var tailwindToStyle = (function (exports) {
2181
2194
  return responsiveCssString;
2182
2195
  }
2183
2196
 
2184
- function generator$2s() {
2197
+ function generator$2I() {
2185
2198
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2186
2199
  const {
2187
2200
  prefix: globalPrefix
@@ -2208,14 +2221,224 @@ var tailwindToStyle = (function (exports) {
2208
2221
  return responsiveCssString;
2209
2222
  }
2210
2223
 
2211
- /**
2212
- * Animation Generator
2213
- * Generates animation utility classes
2214
- * Note: Keyframes are defined in theme but not rendered here since inline styles
2215
- * can't use @keyframes. The animation values should reference keyframe names that
2216
- * are already defined in your global CSS.
2224
+ /**
2225
+ * Inline Animation System
2226
+ * Generate animation properties directly without keyframes
2217
2227
  */
2218
- function generator$2r() {
2228
+
2229
+ /* eslint-disable no-undef */
2230
+
2231
+ /**
2232
+ * Convert animation config to inline transition properties
2233
+ */
2234
+ function animationToTransition(animationConfig) {
2235
+ const {
2236
+ property = "all",
2237
+ duration = 300,
2238
+ easing = "ease-out",
2239
+ delay = 0
2240
+ } = animationConfig;
2241
+ return {
2242
+ transitionProperty: property,
2243
+ transitionDuration: `${duration}ms`,
2244
+ transitionTimingFunction: easing,
2245
+ transitionDelay: `${delay}ms`
2246
+ };
2247
+ }
2248
+
2249
+ /**
2250
+ * Built-in animation configs that work with transitions
2251
+ */
2252
+ const INLINE_ANIMATIONS = {
2253
+ "fade-in": {
2254
+ initial: {
2255
+ opacity: 0
2256
+ },
2257
+ final: {
2258
+ opacity: 1
2259
+ },
2260
+ transition: {
2261
+ duration: 500,
2262
+ easing: "ease-out"
2263
+ }
2264
+ },
2265
+ "slide-up": {
2266
+ initial: {
2267
+ transform: "translateY(20px)",
2268
+ opacity: 0
2269
+ },
2270
+ final: {
2271
+ transform: "translateY(0)",
2272
+ opacity: 1
2273
+ },
2274
+ transition: {
2275
+ duration: 500,
2276
+ easing: "ease-out"
2277
+ }
2278
+ },
2279
+ "slide-down": {
2280
+ initial: {
2281
+ transform: "translateY(-20px)",
2282
+ opacity: 0
2283
+ },
2284
+ final: {
2285
+ transform: "translateY(0)",
2286
+ opacity: 1
2287
+ },
2288
+ transition: {
2289
+ duration: 500,
2290
+ easing: "ease-out"
2291
+ }
2292
+ },
2293
+ "zoom-in": {
2294
+ initial: {
2295
+ transform: "scale(0.8)",
2296
+ opacity: 0
2297
+ },
2298
+ final: {
2299
+ transform: "scale(1)",
2300
+ opacity: 1
2301
+ },
2302
+ transition: {
2303
+ duration: 400,
2304
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
2305
+ }
2306
+ },
2307
+ "zoom-out": {
2308
+ initial: {
2309
+ transform: "scale(1.2)",
2310
+ opacity: 0
2311
+ },
2312
+ final: {
2313
+ transform: "scale(1)",
2314
+ opacity: 1
2315
+ },
2316
+ transition: {
2317
+ duration: 400,
2318
+ easing: "cubic-bezier(0.4, 0, 0.2, 1)"
2319
+ }
2320
+ }
2321
+ };
2322
+
2323
+ /**
2324
+ * Apply inline animation to element
2325
+ */
2326
+ function applyInlineAnimation(element, animationName) {
2327
+ let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2328
+ if (!element || !INLINE_ANIMATIONS[animationName]) return null;
2329
+ const animation = INLINE_ANIMATIONS[animationName];
2330
+ const {
2331
+ autoStart = true,
2332
+ onComplete
2333
+ } = options;
2334
+
2335
+ // Apply initial state
2336
+ Object.assign(element.style, animation.initial);
2337
+
2338
+ // Apply transition properties
2339
+ const transitionProps = animationToTransition(animation.transition);
2340
+ Object.assign(element.style, transitionProps);
2341
+ if (autoStart) {
2342
+ // Trigger animation on next frame
2343
+ requestAnimationFrame(() => {
2344
+ Object.assign(element.style, animation.final);
2345
+ if (onComplete) {
2346
+ setTimeout(onComplete, animation.transition.duration);
2347
+ }
2348
+ });
2349
+ }
2350
+ return {
2351
+ start: () => Object.assign(element.style, animation.final),
2352
+ reset: () => Object.assign(element.style, animation.initial),
2353
+ animation
2354
+ };
2355
+ }
2356
+
2357
+ /**
2358
+ * Animate element with custom properties
2359
+ */
2360
+ function animateElement(element, fromProps, toProps) {
2361
+ let options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
2362
+ if (!element) return null;
2363
+ const {
2364
+ duration = 300,
2365
+ easing = "ease-out",
2366
+ delay = 0,
2367
+ onComplete
2368
+ } = options;
2369
+
2370
+ // Apply initial state
2371
+ Object.assign(element.style, fromProps);
2372
+
2373
+ // Apply transition
2374
+ element.style.transition = `all ${duration}ms ${easing} ${delay}ms`;
2375
+
2376
+ // Trigger animation
2377
+ requestAnimationFrame(() => {
2378
+ Object.assign(element.style, toProps);
2379
+ if (onComplete) {
2380
+ setTimeout(onComplete, duration + delay);
2381
+ }
2382
+ });
2383
+ return {
2384
+ element,
2385
+ duration: duration + delay
2386
+ };
2387
+ }
2388
+
2389
+ /**
2390
+ * Chain multiple animations
2391
+ */
2392
+ function chainAnimations(element, animations) {
2393
+ let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2394
+ if (!element || !animations.length) return Promise.resolve();
2395
+ const {
2396
+ onProgress
2397
+ } = options;
2398
+ let currentIndex = 0;
2399
+ return new Promise(resolve => {
2400
+ function runNext() {
2401
+ if (currentIndex >= animations.length) {
2402
+ resolve();
2403
+ return;
2404
+ }
2405
+ const animation = animations[currentIndex];
2406
+ animateElement(element, animation.from, animation.to, {
2407
+ ...animation.options,
2408
+ onComplete: () => {
2409
+ if (onProgress) {
2410
+ onProgress(currentIndex, animations.length);
2411
+ }
2412
+ currentIndex++;
2413
+ runNext();
2414
+ }
2415
+ });
2416
+ }
2417
+ runNext();
2418
+ });
2419
+ }
2420
+
2421
+ /**
2422
+ * Stagger animations for multiple elements
2423
+ */
2424
+ function staggerAnimations(elements, animationName) {
2425
+ let options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
2426
+ const {
2427
+ staggerDelay = 100,
2428
+ ...animationOptions
2429
+ } = options;
2430
+ return elements.map((element, index) => {
2431
+ return setTimeout(() => {
2432
+ applyInlineAnimation(element, animationName, animationOptions);
2433
+ }, index * staggerDelay);
2434
+ });
2435
+ }
2436
+
2437
+ /**
2438
+ * Animation Generator
2439
+ * Generates animation utility classes with dynamic inline animations
2440
+ */
2441
+ function generator$2H() {
2219
2442
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2220
2443
  const {
2221
2444
  prefix: globalPrefix,
@@ -2229,7 +2452,51 @@ var tailwindToStyle = (function (exports) {
2229
2452
  let {
2230
2453
  getCssByOptions
2231
2454
  } = _ref;
2232
- const cssString = getCssByOptions(animation, (key, value) => {
2455
+ // Merge theme animations with inline animations
2456
+ const allAnimations = {
2457
+ ...animation,
2458
+ // Add inline animations to the mix
2459
+ ...Object.keys(INLINE_ANIMATIONS).reduce((acc, key) => {
2460
+ acc[key] = `inline-${key}`; // Special marker for inline animations
2461
+ return acc;
2462
+ }, {})
2463
+ };
2464
+ const cssString = getCssByOptions(allAnimations, (key, value) => {
2465
+ // Check if this is an inline animation
2466
+ if (value.startsWith("inline-")) {
2467
+ const animationKey = value.replace("inline-", "");
2468
+ const inlineAnimation = INLINE_ANIMATIONS[animationKey];
2469
+ if (inlineAnimation) {
2470
+ // Generate CSS for inline animation (initial state + transition)
2471
+ const transitionProps = animationToTransition(inlineAnimation.transition);
2472
+ const initialProps = inlineAnimation.initial;
2473
+ let css = `${prefix}-${key} {\n`;
2474
+
2475
+ // Add initial state properties
2476
+ for (const [prop, val] of Object.entries(initialProps)) {
2477
+ const cssProp = prop.replace(/([A-Z])/g, "-$1").toLowerCase();
2478
+ css += ` ${cssProp}: ${val};\n`;
2479
+ }
2480
+
2481
+ // Add transition properties
2482
+ for (const [prop, val] of Object.entries(transitionProps)) {
2483
+ const cssProp = prop.replace(/([A-Z])/g, "-$1").toLowerCase();
2484
+ css += ` ${cssProp}: ${val};\n`;
2485
+ }
2486
+ css += "}\n";
2487
+
2488
+ // Add hover/active state for final animation
2489
+ css += `${prefix}-${key}:hover, ${prefix}-${key}.animate-active {\n`;
2490
+ for (const [prop, val] of Object.entries(inlineAnimation.final)) {
2491
+ const cssProp = prop.replace(/([A-Z])/g, "-$1").toLowerCase();
2492
+ css += ` ${cssProp}: ${val};\n`;
2493
+ }
2494
+ css += "}\n";
2495
+ return css;
2496
+ }
2497
+ }
2498
+
2499
+ // Fallback to traditional animation property
2233
2500
  return `
2234
2501
  ${prefix}-${key} {
2235
2502
  animation: ${value};
@@ -2241,7 +2508,7 @@ var tailwindToStyle = (function (exports) {
2241
2508
  return responsiveCssString;
2242
2509
  }
2243
2510
 
2244
- function generator$2q() {
2511
+ function generator$2G() {
2245
2512
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2246
2513
  const {
2247
2514
  prefix
@@ -2261,7 +2528,7 @@ var tailwindToStyle = (function (exports) {
2261
2528
  return responsiveCssString;
2262
2529
  }
2263
2530
 
2264
- function generator$2p() {
2531
+ function generator$2F() {
2265
2532
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2266
2533
  const {
2267
2534
  prefix: globalPrefix,
@@ -2290,7 +2557,7 @@ var tailwindToStyle = (function (exports) {
2290
2557
  return responsiveCssString;
2291
2558
  }
2292
2559
 
2293
- function generator$2o() {
2560
+ function generator$2E() {
2294
2561
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2295
2562
  const {
2296
2563
  prefix: globalPrefix
@@ -2311,7 +2578,7 @@ var tailwindToStyle = (function (exports) {
2311
2578
  return responsiveCssString;
2312
2579
  }
2313
2580
 
2314
- function generator$2n() {
2581
+ function generator$2D() {
2315
2582
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2316
2583
  const {
2317
2584
  prefix: globalPrefix
@@ -2338,7 +2605,7 @@ var tailwindToStyle = (function (exports) {
2338
2605
  return responsiveCssString;
2339
2606
  }
2340
2607
 
2341
- function generator$2m() {
2608
+ function generator$2C() {
2342
2609
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2343
2610
  const {
2344
2611
  prefix: globalPrefix,
@@ -2378,7 +2645,7 @@ var tailwindToStyle = (function (exports) {
2378
2645
  return responsiveCssString;
2379
2646
  }
2380
2647
 
2381
- function generator$2l() {
2648
+ function generator$2B() {
2382
2649
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2383
2650
  const {
2384
2651
  prefix: globalPrefix,
@@ -2412,7 +2679,7 @@ var tailwindToStyle = (function (exports) {
2412
2679
  return responsiveCssString;
2413
2680
  }
2414
2681
 
2415
- function generator$2k() {
2682
+ function generator$2A() {
2416
2683
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2417
2684
  const {
2418
2685
  prefix: globalPrefix,
@@ -2436,7 +2703,7 @@ var tailwindToStyle = (function (exports) {
2436
2703
  return responsiveCssString;
2437
2704
  }
2438
2705
 
2439
- function generator$2j() {
2706
+ function generator$2z() {
2440
2707
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2441
2708
  const {
2442
2709
  prefix: globalPrefix
@@ -2462,7 +2729,7 @@ var tailwindToStyle = (function (exports) {
2462
2729
  return responsiveCssString;
2463
2730
  }
2464
2731
 
2465
- function generator$2i() {
2732
+ function generator$2y() {
2466
2733
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2467
2734
  const {
2468
2735
  prefix: globalPrefix,
@@ -2496,7 +2763,7 @@ var tailwindToStyle = (function (exports) {
2496
2763
  return responsiveCssString;
2497
2764
  }
2498
2765
 
2499
- function generator$2h() {
2766
+ function generator$2x() {
2500
2767
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2501
2768
  const {
2502
2769
  prefix: globalPrefix
@@ -2524,7 +2791,7 @@ var tailwindToStyle = (function (exports) {
2524
2791
  return responsiveCssString;
2525
2792
  }
2526
2793
 
2527
- function generator$2g() {
2794
+ function generator$2w() {
2528
2795
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2529
2796
  const {
2530
2797
  prefix: globalPrefix,
@@ -2558,7 +2825,288 @@ var tailwindToStyle = (function (exports) {
2558
2825
  return responsiveCssString;
2559
2826
  }
2560
2827
 
2561
- function generator$2f() {
2828
+ function generator$2v() {
2829
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2830
+ const {
2831
+ prefix: globalPrefix,
2832
+ theme = {},
2833
+ vars = {}
2834
+ } = configOptions;
2835
+ const prefix = `${globalPrefix}backdrop-blur`;
2836
+ const {
2837
+ backdropBlur = {}
2838
+ } = theme;
2839
+ const responsiveCssString = generateCssString$1(_ref => {
2840
+ let {
2841
+ getCssByOptions
2842
+ } = _ref;
2843
+ const cssString = getCssByOptions(backdropBlur, (keyTmp, value) => {
2844
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
2845
+ return `
2846
+ ${prefix}${key} {
2847
+ --tw-backdrop-blur: blur(${value});
2848
+ ${vars.backdropFilter}
2849
+ }
2850
+ `;
2851
+ });
2852
+ return cssString;
2853
+ }, configOptions);
2854
+ return responsiveCssString;
2855
+ }
2856
+
2857
+ function generator$2u() {
2858
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2859
+ const {
2860
+ prefix: globalPrefix,
2861
+ theme = {},
2862
+ vars = {}
2863
+ } = configOptions;
2864
+ const prefix = `${globalPrefix}backdrop-brightness`;
2865
+ const {
2866
+ backdropBrightness = {}
2867
+ } = theme;
2868
+ const responsiveCssString = generateCssString$1(_ref => {
2869
+ let {
2870
+ getCssByOptions
2871
+ } = _ref;
2872
+ const cssString = getCssByOptions(backdropBrightness, (keyTmp, value) => {
2873
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
2874
+ return `
2875
+ ${prefix}${key} {
2876
+ --tw-backdrop-brightness: brightness(${value});
2877
+ ${vars.backdropFilter}
2878
+ }
2879
+ `;
2880
+ });
2881
+ return cssString;
2882
+ }, configOptions);
2883
+ return responsiveCssString;
2884
+ }
2885
+
2886
+ function generator$2t() {
2887
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2888
+ const {
2889
+ prefix: globalPrefix,
2890
+ theme = {},
2891
+ vars = {}
2892
+ } = configOptions;
2893
+ const prefix = `${globalPrefix}backdrop-contrast`;
2894
+ const {
2895
+ backdropContrast = {}
2896
+ } = theme;
2897
+ const responsiveCssString = generateCssString$1(_ref => {
2898
+ let {
2899
+ getCssByOptions
2900
+ } = _ref;
2901
+ const cssString = getCssByOptions(backdropContrast, (keyTmp, value) => {
2902
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
2903
+ return `
2904
+ ${prefix}${key} {
2905
+ --tw-backdrop-contrast: contrast(${value});
2906
+ ${vars.backdropFilter}
2907
+ }
2908
+ `;
2909
+ });
2910
+ return cssString;
2911
+ }, configOptions);
2912
+ return responsiveCssString;
2913
+ }
2914
+
2915
+ function generator$2s() {
2916
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2917
+ const {
2918
+ prefix,
2919
+ vars = {}
2920
+ } = configOptions;
2921
+ const responsiveCssString = generateCssString$1(() => {
2922
+ const cssString = `
2923
+ ${prefix}backdrop-filter {
2924
+ ${vars.backdropFilter}
2925
+ }
2926
+ ${prefix}backdrop-filter-none {
2927
+ backdrop-filter: none;
2928
+ }
2929
+ `;
2930
+ return cssString;
2931
+ }, configOptions);
2932
+ return responsiveCssString;
2933
+ }
2934
+
2935
+ function generator$2r() {
2936
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2937
+ const {
2938
+ prefix: globalPrefix,
2939
+ theme = {},
2940
+ vars = {}
2941
+ } = configOptions;
2942
+ const prefix = `${globalPrefix}backdrop-grayscale`;
2943
+ const {
2944
+ backdropGrayscale = {}
2945
+ } = theme;
2946
+ const responsiveCssString = generateCssString$1(_ref => {
2947
+ let {
2948
+ getCssByOptions
2949
+ } = _ref;
2950
+ const cssString = getCssByOptions(backdropGrayscale, (keyTmp, value) => {
2951
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
2952
+ return `
2953
+ ${prefix}${key} {
2954
+ --tw-backdrop-grayscale: grayscale(${value});
2955
+ ${vars.backdropFilter}
2956
+ }
2957
+ `;
2958
+ });
2959
+ return cssString;
2960
+ }, configOptions);
2961
+ return responsiveCssString;
2962
+ }
2963
+
2964
+ function generator$2q() {
2965
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2966
+ const {
2967
+ prefix: globalPrefix,
2968
+ theme = {},
2969
+ vars = {}
2970
+ } = configOptions;
2971
+ const prefix = `${globalPrefix}backdrop-hue-rotate`;
2972
+ const {
2973
+ backdropHueRotate = {}
2974
+ } = theme;
2975
+ const responsiveCssString = generateCssString$1(_ref => {
2976
+ let {
2977
+ getCssByOptions
2978
+ } = _ref;
2979
+ const cssString = getCssByOptions(backdropHueRotate, (keyTmp, value) => {
2980
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
2981
+ return `
2982
+ ${prefix}${key} {
2983
+ --tw-backdrop-hue-rotate: hue-rotate(${value});
2984
+ ${vars.backdropFilter}
2985
+ }
2986
+ `;
2987
+ });
2988
+ return cssString;
2989
+ }, configOptions);
2990
+ return responsiveCssString;
2991
+ }
2992
+
2993
+ function generator$2p() {
2994
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2995
+ const {
2996
+ prefix: globalPrefix,
2997
+ theme = {},
2998
+ vars = {}
2999
+ } = configOptions;
3000
+ const prefix = `${globalPrefix}backdrop-invert`;
3001
+ const {
3002
+ backdropInvert = {}
3003
+ } = theme;
3004
+ const responsiveCssString = generateCssString$1(_ref => {
3005
+ let {
3006
+ getCssByOptions
3007
+ } = _ref;
3008
+ const cssString = getCssByOptions(backdropInvert, (keyTmp, value) => {
3009
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
3010
+ return `
3011
+ ${prefix}${key} {
3012
+ --tw-backdrop-invert: invert(${value});
3013
+ ${vars.backdropFilter}
3014
+ }
3015
+ `;
3016
+ });
3017
+ return cssString;
3018
+ }, configOptions);
3019
+ return responsiveCssString;
3020
+ }
3021
+
3022
+ function generator$2o() {
3023
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3024
+ const {
3025
+ prefix: globalPrefix,
3026
+ theme = {},
3027
+ vars = {}
3028
+ } = configOptions;
3029
+ const prefix = `${globalPrefix}backdrop-opacity`;
3030
+ const {
3031
+ backdropOpacity = {}
3032
+ } = theme;
3033
+ const responsiveCssString = generateCssString$1(_ref => {
3034
+ let {
3035
+ getCssByOptions
3036
+ } = _ref;
3037
+ const cssString = getCssByOptions(backdropOpacity, (keyTmp, value) => {
3038
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
3039
+ return `
3040
+ ${prefix}${key} {
3041
+ --tw-backdrop-opacity: opacity(${value});
3042
+ ${vars.backdropFilter}
3043
+ }
3044
+ `;
3045
+ });
3046
+ return cssString;
3047
+ }, configOptions);
3048
+ return responsiveCssString;
3049
+ }
3050
+
3051
+ function generator$2n() {
3052
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3053
+ const {
3054
+ prefix: globalPrefix,
3055
+ theme = {},
3056
+ vars = {}
3057
+ } = configOptions;
3058
+ const prefix = `${globalPrefix}backdrop-saturate`;
3059
+ const {
3060
+ backdropSaturate = {}
3061
+ } = theme;
3062
+ const responsiveCssString = generateCssString$1(_ref => {
3063
+ let {
3064
+ getCssByOptions
3065
+ } = _ref;
3066
+ const cssString = getCssByOptions(backdropSaturate, (keyTmp, value) => {
3067
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
3068
+ return `
3069
+ ${prefix}${key} {
3070
+ --tw-backdrop-saturate: saturate(${value});
3071
+ ${vars.backdropFilter}
3072
+ }
3073
+ `;
3074
+ });
3075
+ return cssString;
3076
+ }, configOptions);
3077
+ return responsiveCssString;
3078
+ }
3079
+
3080
+ function generator$2m() {
3081
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3082
+ const {
3083
+ prefix: globalPrefix,
3084
+ theme = {},
3085
+ vars = {}
3086
+ } = configOptions;
3087
+ const prefix = `${globalPrefix}backdrop-sepia`;
3088
+ const {
3089
+ backdropSepia = {}
3090
+ } = theme;
3091
+ const responsiveCssString = generateCssString$1(_ref => {
3092
+ let {
3093
+ getCssByOptions
3094
+ } = _ref;
3095
+ const cssString = getCssByOptions(backdropSepia, (keyTmp, value) => {
3096
+ const key = keyTmp.toLowerCase() !== "default" ? `-${keyTmp}` : "";
3097
+ return `
3098
+ ${prefix}${key} {
3099
+ --tw-backdrop-sepia: sepia(${value});
3100
+ ${vars.backdropFilter}
3101
+ }
3102
+ `;
3103
+ });
3104
+ return cssString;
3105
+ }, configOptions);
3106
+ return responsiveCssString;
3107
+ }
3108
+
3109
+ function generator$2l() {
2562
3110
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2563
3111
  const {
2564
3112
  prefix: globalPrefix,
@@ -2592,7 +3140,7 @@ var tailwindToStyle = (function (exports) {
2592
3140
  return responsiveCssString;
2593
3141
  }
2594
3142
 
2595
- function generator$2e() {
3143
+ function generator$2k() {
2596
3144
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2597
3145
  const {
2598
3146
  prefix: globalPrefix
@@ -2613,7 +3161,7 @@ var tailwindToStyle = (function (exports) {
2613
3161
  return responsiveCssString;
2614
3162
  }
2615
3163
 
2616
- function generator$2d() {
3164
+ function generator$2j() {
2617
3165
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2618
3166
  const {
2619
3167
  prefix: globalPrefix,
@@ -2701,7 +3249,7 @@ var tailwindToStyle = (function (exports) {
2701
3249
  return responsiveCssString;
2702
3250
  }
2703
3251
 
2704
- function generator$2c() {
3252
+ function generator$2i() {
2705
3253
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2706
3254
  const {
2707
3255
  prefix: globalPrefix,
@@ -2725,7 +3273,7 @@ var tailwindToStyle = (function (exports) {
2725
3273
  return responsiveCssString;
2726
3274
  }
2727
3275
 
2728
- function generator$2b() {
3276
+ function generator$2h() {
2729
3277
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2730
3278
  const {
2731
3279
  prefix: globalPrefix,
@@ -2800,7 +3348,7 @@ var tailwindToStyle = (function (exports) {
2800
3348
  return responsiveCssString;
2801
3349
  }
2802
3350
 
2803
- function generator$2a() {
3351
+ function generator$2g() {
2804
3352
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2805
3353
  const {
2806
3354
  prefix: globalPrefix,
@@ -2835,7 +3383,7 @@ var tailwindToStyle = (function (exports) {
2835
3383
  return responsiveCssString;
2836
3384
  }
2837
3385
 
2838
- function generator$29() {
3386
+ function generator$2f() {
2839
3387
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2840
3388
  const {
2841
3389
  prefix: globalPrefix
@@ -2856,7 +3404,7 @@ var tailwindToStyle = (function (exports) {
2856
3404
  return responsiveCssString;
2857
3405
  }
2858
3406
 
2859
- function generator$28() {
3407
+ function generator$2e() {
2860
3408
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2861
3409
  const {
2862
3410
  prefix: globalPrefix,
@@ -2921,7 +3469,7 @@ var tailwindToStyle = (function (exports) {
2921
3469
  return responsiveCssString;
2922
3470
  }
2923
3471
 
2924
- function generator$27() {
3472
+ function generator$2d() {
2925
3473
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2926
3474
  const {
2927
3475
  prefix: globalPrefix
@@ -2943,7 +3491,7 @@ var tailwindToStyle = (function (exports) {
2943
3491
  return responsiveCssString;
2944
3492
  }
2945
3493
 
2946
- function generator$26() {
3494
+ function generator$2c() {
2947
3495
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2948
3496
  const {
2949
3497
  prefix: globalPrefix,
@@ -2997,7 +3545,7 @@ var tailwindToStyle = (function (exports) {
2997
3545
  return responsiveCssString;
2998
3546
  }
2999
3547
 
3000
- function generator$25() {
3548
+ function generator$2b() {
3001
3549
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3002
3550
  const {
3003
3551
  prefix: globalPrefix
@@ -3021,7 +3569,67 @@ var tailwindToStyle = (function (exports) {
3021
3569
  return responsiveCssString;
3022
3570
  }
3023
3571
 
3024
- function generator$24() {
3572
+ function generator$2a() {
3573
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3574
+ const {
3575
+ prefix
3576
+ } = configOptions;
3577
+ const propertyOptions = ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
3578
+ const responsiveCssString = generateCssString$1(_ref => {
3579
+ let {
3580
+ getCssByOptions
3581
+ } = _ref;
3582
+ const cssString = getCssByOptions(propertyOptions, (key, value) => `
3583
+ ${prefix}break-after-${key} {
3584
+ break-after: ${value};
3585
+ }
3586
+ `);
3587
+ return cssString;
3588
+ }, configOptions);
3589
+ return responsiveCssString;
3590
+ }
3591
+
3592
+ function generator$29() {
3593
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3594
+ const {
3595
+ prefix
3596
+ } = configOptions;
3597
+ const propertyOptions = ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
3598
+ const responsiveCssString = generateCssString$1(_ref => {
3599
+ let {
3600
+ getCssByOptions
3601
+ } = _ref;
3602
+ const cssString = getCssByOptions(propertyOptions, (key, value) => `
3603
+ ${prefix}break-before-${key} {
3604
+ break-before: ${value};
3605
+ }
3606
+ `);
3607
+ return cssString;
3608
+ }, configOptions);
3609
+ return responsiveCssString;
3610
+ }
3611
+
3612
+ function generator$28() {
3613
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3614
+ const {
3615
+ prefix
3616
+ } = configOptions;
3617
+ const propertyOptions = ["auto", "avoid", "avoid-page", "avoid-column"];
3618
+ const responsiveCssString = generateCssString$1(_ref => {
3619
+ let {
3620
+ getCssByOptions
3621
+ } = _ref;
3622
+ const cssString = getCssByOptions(propertyOptions, (key, value) => `
3623
+ ${prefix}break-inside-${key} {
3624
+ break-inside: ${value};
3625
+ }
3626
+ `);
3627
+ return cssString;
3628
+ }, configOptions);
3629
+ return responsiveCssString;
3630
+ }
3631
+
3632
+ function generator$27() {
3025
3633
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3026
3634
  const {
3027
3635
  prefix: globalPrefix,
@@ -3055,7 +3663,7 @@ var tailwindToStyle = (function (exports) {
3055
3663
  return responsiveCssString;
3056
3664
  }
3057
3665
 
3058
- function generator$23() {
3666
+ function generator$26() {
3059
3667
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3060
3668
  const {
3061
3669
  prefix: globalPrefix
@@ -3076,7 +3684,7 @@ var tailwindToStyle = (function (exports) {
3076
3684
  return responsiveCssString;
3077
3685
  }
3078
3686
 
3079
- function generator$22() {
3687
+ function generator$25() {
3080
3688
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3081
3689
  const {
3082
3690
  prefix: globalPrefix,
@@ -3115,28 +3723,67 @@ var tailwindToStyle = (function (exports) {
3115
3723
  return responsiveCssString;
3116
3724
  }
3117
3725
 
3118
- function generator$21() {
3726
+ function generator$24() {
3727
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3728
+ const {
3729
+ prefix: globalPrefix
3730
+ } = configOptions;
3731
+ const prefix = `${globalPrefix}clear`;
3732
+ const propertyOptions = ["left", "right", "both", "none"];
3733
+ const responsiveCssString = generateCssString$1(_ref => {
3734
+ let {
3735
+ getCssByOptions
3736
+ } = _ref;
3737
+ const cssString = getCssByOptions(propertyOptions, (key, value) => `
3738
+ ${prefix}-${key} {
3739
+ clear: ${value};
3740
+ }
3741
+ `);
3742
+ return cssString;
3743
+ }, configOptions);
3744
+ return responsiveCssString;
3745
+ }
3746
+
3747
+ function generator$23() {
3748
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3749
+ const {
3750
+ prefix,
3751
+ theme = {}
3752
+ } = configOptions;
3753
+ const {
3754
+ columns = {}
3755
+ } = theme;
3756
+ const responsiveCssString = generateCssString$1(_ref => {
3757
+ let {
3758
+ getCssByOptions
3759
+ } = _ref;
3760
+ const cssString = getCssByOptions(columns, (key, value) => `
3761
+ ${prefix}columns-${key} {
3762
+ columns: ${value};
3763
+ }
3764
+ `);
3765
+ return cssString;
3766
+ }, configOptions);
3767
+ return responsiveCssString;
3768
+ }
3769
+
3770
+ function generator$22() {
3119
3771
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3120
3772
  const {
3121
- prefix: globalPrefix
3773
+ prefix
3122
3774
  } = configOptions;
3123
- const prefix = `${globalPrefix}clear`;
3124
- const propertyOptions = ["left", "right", "both", "none"];
3125
- const responsiveCssString = generateCssString$1(_ref => {
3126
- let {
3127
- getCssByOptions
3128
- } = _ref;
3129
- const cssString = getCssByOptions(propertyOptions, (key, value) => `
3130
- ${prefix}-${key} {
3131
- clear: ${value};
3132
- }
3133
- `);
3775
+ const responsiveCssString = generateCssString$1(() => {
3776
+ const cssString = `
3777
+ ${prefix}container {
3778
+ width: 100%;
3779
+ }
3780
+ `;
3134
3781
  return cssString;
3135
3782
  }, configOptions);
3136
3783
  return responsiveCssString;
3137
3784
  }
3138
3785
 
3139
- function generator$20() {
3786
+ function generator$21() {
3140
3787
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3141
3788
  const {
3142
3789
  prefix: globalPrefix,
@@ -3160,7 +3807,7 @@ var tailwindToStyle = (function (exports) {
3160
3807
  return responsiveCssString;
3161
3808
  }
3162
3809
 
3163
- function generator$1$() {
3810
+ function generator$20() {
3164
3811
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3165
3812
  const {
3166
3813
  prefix: globalPrefix,
@@ -3194,7 +3841,7 @@ var tailwindToStyle = (function (exports) {
3194
3841
  return responsiveCssString;
3195
3842
  }
3196
3843
 
3197
- function generator$1_() {
3844
+ function generator$1$() {
3198
3845
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3199
3846
  const {
3200
3847
  prefix: globalPrefix
@@ -3215,7 +3862,7 @@ var tailwindToStyle = (function (exports) {
3215
3862
  return responsiveCssString;
3216
3863
  }
3217
3864
 
3218
- function generator$1Z() {
3865
+ function generator$1_() {
3219
3866
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3220
3867
  const {
3221
3868
  prefix
@@ -3235,7 +3882,7 @@ var tailwindToStyle = (function (exports) {
3235
3882
  return responsiveCssString;
3236
3883
  }
3237
3884
 
3238
- function generator$1Y() {
3885
+ function generator$1Z() {
3239
3886
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3240
3887
  const {
3241
3888
  prefix: globalPrefix,
@@ -3266,7 +3913,7 @@ var tailwindToStyle = (function (exports) {
3266
3913
  return responsiveCssString;
3267
3914
  }
3268
3915
 
3269
- function generator$1X() {
3916
+ function generator$1Y() {
3270
3917
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3271
3918
  const {
3272
3919
  prefix: globalPrefix,
@@ -3290,7 +3937,7 @@ var tailwindToStyle = (function (exports) {
3290
3937
  return responsiveCssString;
3291
3938
  }
3292
3939
 
3293
- function generator$1W() {
3940
+ function generator$1X() {
3294
3941
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3295
3942
  const {
3296
3943
  prefix: globalPrefix
@@ -3311,7 +3958,7 @@ var tailwindToStyle = (function (exports) {
3311
3958
  return responsiveCssString;
3312
3959
  }
3313
3960
 
3314
- function generator$1V() {
3961
+ function generator$1W() {
3315
3962
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3316
3963
  const {
3317
3964
  prefix: globalPrefix,
@@ -3359,7 +4006,7 @@ var tailwindToStyle = (function (exports) {
3359
4006
  return responsiveCssString;
3360
4007
  }
3361
4008
 
3362
- function generator$1U() {
4009
+ function generator$1V() {
3363
4010
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3364
4011
  const {
3365
4012
  prefix: globalPrefix,
@@ -3387,7 +4034,7 @@ var tailwindToStyle = (function (exports) {
3387
4034
  return responsiveCssString;
3388
4035
  }
3389
4036
 
3390
- function generator$1T() {
4037
+ function generator$1U() {
3391
4038
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3392
4039
  const {
3393
4040
  prefix: globalPrefix,
@@ -3413,7 +4060,7 @@ var tailwindToStyle = (function (exports) {
3413
4060
  return responsiveCssString;
3414
4061
  }
3415
4062
 
3416
- function generator$1S(_ref) {
4063
+ function generator$1T(_ref) {
3417
4064
  let {
3418
4065
  prefix
3419
4066
  } = _ref;
@@ -3426,7 +4073,7 @@ var tailwindToStyle = (function (exports) {
3426
4073
  `;
3427
4074
  }
3428
4075
 
3429
- function generator$1R() {
4076
+ function generator$1S() {
3430
4077
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3431
4078
  const {
3432
4079
  prefix: globalPrefix,
@@ -3450,7 +4097,7 @@ var tailwindToStyle = (function (exports) {
3450
4097
  return responsiveCssString;
3451
4098
  }
3452
4099
 
3453
- function generator$1Q() {
4100
+ function generator$1R() {
3454
4101
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3455
4102
  const {
3456
4103
  prefix: globalPrefix,
@@ -3474,7 +4121,7 @@ var tailwindToStyle = (function (exports) {
3474
4121
  return responsiveCssString;
3475
4122
  }
3476
4123
 
3477
- function generator$1P() {
4124
+ function generator$1Q() {
3478
4125
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3479
4126
  const {
3480
4127
  prefix: globalPrefix
@@ -3500,7 +4147,7 @@ var tailwindToStyle = (function (exports) {
3500
4147
  return responsiveCssString;
3501
4148
  }
3502
4149
 
3503
- function generator$1O() {
4150
+ function generator$1P() {
3504
4151
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3505
4152
  const {
3506
4153
  prefix: globalPrefix,
@@ -3524,7 +4171,7 @@ var tailwindToStyle = (function (exports) {
3524
4171
  return responsiveCssString;
3525
4172
  }
3526
4173
 
3527
- function generator$1N() {
4174
+ function generator$1O() {
3528
4175
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3529
4176
  const {
3530
4177
  prefix: globalPrefix,
@@ -3548,7 +4195,7 @@ var tailwindToStyle = (function (exports) {
3548
4195
  return responsiveCssString;
3549
4196
  }
3550
4197
 
3551
- function generator$1M() {
4198
+ function generator$1N() {
3552
4199
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3553
4200
  const {
3554
4201
  prefix: globalPrefix
@@ -3574,7 +4221,7 @@ var tailwindToStyle = (function (exports) {
3574
4221
  return responsiveCssString;
3575
4222
  }
3576
4223
 
3577
- function generator$1L() {
4224
+ function generator$1M() {
3578
4225
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3579
4226
  const {
3580
4227
  prefix: globalPrefix
@@ -3595,7 +4242,7 @@ var tailwindToStyle = (function (exports) {
3595
4242
  return responsiveCssString;
3596
4243
  }
3597
4244
 
3598
- function generator$1K() {
4245
+ function generator$1L() {
3599
4246
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3600
4247
  const {
3601
4248
  prefix: globalPrefix,
@@ -3629,7 +4276,7 @@ var tailwindToStyle = (function (exports) {
3629
4276
  return responsiveCssString;
3630
4277
  }
3631
4278
 
3632
- function generator$1J() {
4279
+ function generator$1K() {
3633
4280
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3634
4281
  const {
3635
4282
  prefix
@@ -3649,7 +4296,7 @@ var tailwindToStyle = (function (exports) {
3649
4296
  return responsiveCssString;
3650
4297
  }
3651
4298
 
3652
- function generator$1I() {
4299
+ function generator$1J() {
3653
4300
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3654
4301
  const {
3655
4302
  prefix
@@ -3672,7 +4319,7 @@ var tailwindToStyle = (function (exports) {
3672
4319
  return responsiveCssString;
3673
4320
  }
3674
4321
 
3675
- function generator$1H() {
4322
+ function generator$1I() {
3676
4323
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3677
4324
  const {
3678
4325
  prefix
@@ -3702,7 +4349,7 @@ var tailwindToStyle = (function (exports) {
3702
4349
  return responsiveCssString;
3703
4350
  }
3704
4351
 
3705
- function generator$1G() {
4352
+ function generator$1H() {
3706
4353
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3707
4354
  const {
3708
4355
  prefix: globalPrefix,
@@ -3736,7 +4383,7 @@ var tailwindToStyle = (function (exports) {
3736
4383
  return responsiveCssString;
3737
4384
  }
3738
4385
 
3739
- function generator$1F() {
4386
+ function generator$1G() {
3740
4387
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3741
4388
  const {
3742
4389
  prefix: globalPrefix,
@@ -3766,7 +4413,7 @@ var tailwindToStyle = (function (exports) {
3766
4413
  return responsiveCssString;
3767
4414
  }
3768
4415
 
3769
- function generator$1E() {
4416
+ function generator$1F() {
3770
4417
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3771
4418
  const {
3772
4419
  prefix,
@@ -3805,7 +4452,7 @@ var tailwindToStyle = (function (exports) {
3805
4452
  return responsiveCssString;
3806
4453
  }
3807
4454
 
3808
- function generator$1D() {
4455
+ function generator$1E() {
3809
4456
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3810
4457
  const {
3811
4458
  prefix: globalPrefix,
@@ -3839,7 +4486,7 @@ var tailwindToStyle = (function (exports) {
3839
4486
  return responsiveCssString;
3840
4487
  }
3841
4488
 
3842
- function generator$1C() {
4489
+ function generator$1D() {
3843
4490
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3844
4491
  const {
3845
4492
  prefix: globalPrefix,
@@ -3863,7 +4510,7 @@ var tailwindToStyle = (function (exports) {
3863
4510
  return responsiveCssString;
3864
4511
  }
3865
4512
 
3866
- function generator$1B() {
4513
+ function generator$1C() {
3867
4514
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3868
4515
  const {
3869
4516
  prefix: globalPrefix
@@ -3889,7 +4536,7 @@ var tailwindToStyle = (function (exports) {
3889
4536
  return responsiveCssString;
3890
4537
  }
3891
4538
 
3892
- function generator$1A() {
4539
+ function generator$1B() {
3893
4540
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3894
4541
  const {
3895
4542
  prefix: globalPrefix,
@@ -3913,7 +4560,7 @@ var tailwindToStyle = (function (exports) {
3913
4560
  return responsiveCssString;
3914
4561
  }
3915
4562
 
3916
- function generator$1z() {
4563
+ function generator$1A() {
3917
4564
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3918
4565
  const {
3919
4566
  prefix: globalPrefix,
@@ -3937,7 +4584,7 @@ var tailwindToStyle = (function (exports) {
3937
4584
  return responsiveCssString;
3938
4585
  }
3939
4586
 
3940
- function generator$1y() {
4587
+ function generator$1z() {
3941
4588
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3942
4589
  const {
3943
4590
  prefix: globalPrefix,
@@ -3961,7 +4608,7 @@ var tailwindToStyle = (function (exports) {
3961
4608
  return responsiveCssString;
3962
4609
  }
3963
4610
 
3964
- function generator$1x() {
4611
+ function generator$1y() {
3965
4612
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3966
4613
  const {
3967
4614
  prefix: globalPrefix,
@@ -3985,7 +4632,7 @@ var tailwindToStyle = (function (exports) {
3985
4632
  return responsiveCssString;
3986
4633
  }
3987
4634
 
3988
- function generator$1w() {
4635
+ function generator$1x() {
3989
4636
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3990
4637
  const {
3991
4638
  prefix: globalPrefix,
@@ -4009,7 +4656,7 @@ var tailwindToStyle = (function (exports) {
4009
4656
  return responsiveCssString;
4010
4657
  }
4011
4658
 
4012
- function generator$1v() {
4659
+ function generator$1w() {
4013
4660
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4014
4661
  const {
4015
4662
  prefix: globalPrefix,
@@ -4033,7 +4680,7 @@ var tailwindToStyle = (function (exports) {
4033
4680
  return responsiveCssString;
4034
4681
  }
4035
4682
 
4036
- function generator$1u() {
4683
+ function generator$1v() {
4037
4684
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4038
4685
  const {
4039
4686
  prefix: globalPrefix,
@@ -4057,7 +4704,7 @@ var tailwindToStyle = (function (exports) {
4057
4704
  return responsiveCssString;
4058
4705
  }
4059
4706
 
4060
- function generator$1t() {
4707
+ function generator$1u() {
4061
4708
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4062
4709
  const {
4063
4710
  prefix: globalPrefix,
@@ -4081,7 +4728,7 @@ var tailwindToStyle = (function (exports) {
4081
4728
  return responsiveCssString;
4082
4729
  }
4083
4730
 
4084
- function generator$1s() {
4731
+ function generator$1t() {
4085
4732
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4086
4733
  const {
4087
4734
  prefix: globalPrefix,
@@ -4105,7 +4752,7 @@ var tailwindToStyle = (function (exports) {
4105
4752
  return responsiveCssString;
4106
4753
  }
4107
4754
 
4108
- function generator$1r() {
4755
+ function generator$1s() {
4109
4756
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4110
4757
  const {
4111
4758
  prefix: globalPrefix,
@@ -4129,7 +4776,7 @@ var tailwindToStyle = (function (exports) {
4129
4776
  return responsiveCssString;
4130
4777
  }
4131
4778
 
4132
- function generator$1q() {
4779
+ function generator$1r() {
4133
4780
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4134
4781
  const {
4135
4782
  prefix: globalPrefix,
@@ -4167,7 +4814,7 @@ var tailwindToStyle = (function (exports) {
4167
4814
  return responsiveCssString;
4168
4815
  }
4169
4816
 
4170
- function generator$1p() {
4817
+ function generator$1q() {
4171
4818
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4172
4819
  const {
4173
4820
  prefix: globalPrefix
@@ -4189,7 +4836,7 @@ var tailwindToStyle = (function (exports) {
4189
4836
  return responsiveCssString;
4190
4837
  }
4191
4838
 
4192
- function generator$1o() {
4839
+ function generator$1p() {
4193
4840
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4194
4841
  const {
4195
4842
  prefix: globalPrefix,
@@ -4247,7 +4894,7 @@ var tailwindToStyle = (function (exports) {
4247
4894
  return responsiveCssString;
4248
4895
  }
4249
4896
 
4250
- function generator$1n() {
4897
+ function generator$1o() {
4251
4898
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4252
4899
  const {
4253
4900
  prefix: globalPrefix,
@@ -4281,7 +4928,7 @@ var tailwindToStyle = (function (exports) {
4281
4928
  return responsiveCssString;
4282
4929
  }
4283
4930
 
4284
- function generator$1m() {
4931
+ function generator$1n() {
4285
4932
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4286
4933
  const {
4287
4934
  prefix: globalPrefix
@@ -4305,7 +4952,7 @@ var tailwindToStyle = (function (exports) {
4305
4952
  return responsiveCssString;
4306
4953
  }
4307
4954
 
4308
- function generator$1l() {
4955
+ function generator$1m() {
4309
4956
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4310
4957
  const {
4311
4958
  prefix: globalPrefix
@@ -4333,7 +4980,7 @@ var tailwindToStyle = (function (exports) {
4333
4980
  return responsiveCssString;
4334
4981
  }
4335
4982
 
4336
- function generator$1k() {
4983
+ function generator$1l() {
4337
4984
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4338
4985
  const {
4339
4986
  prefix: globalPrefix
@@ -4354,7 +5001,7 @@ var tailwindToStyle = (function (exports) {
4354
5001
  return responsiveCssString;
4355
5002
  }
4356
5003
 
4357
- function generator$1j() {
5004
+ function generator$1k() {
4358
5005
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4359
5006
  const {
4360
5007
  prefix: globalPrefix
@@ -4375,7 +5022,7 @@ var tailwindToStyle = (function (exports) {
4375
5022
  return responsiveCssString;
4376
5023
  }
4377
5024
 
4378
- function generator$1i() {
5025
+ function generator$1j() {
4379
5026
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4380
5027
  const {
4381
5028
  prefix: globalPrefix,
@@ -4399,7 +5046,7 @@ var tailwindToStyle = (function (exports) {
4399
5046
  return responsiveCssString;
4400
5047
  }
4401
5048
 
4402
- function generator$1h() {
5049
+ function generator$1i() {
4403
5050
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4404
5051
  const {
4405
5052
  prefix: globalPrefix,
@@ -4426,7 +5073,7 @@ var tailwindToStyle = (function (exports) {
4426
5073
  return responsiveCssString;
4427
5074
  }
4428
5075
 
4429
- function generator$1g() {
5076
+ function generator$1h() {
4430
5077
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4431
5078
  const {
4432
5079
  prefix: globalPrefix,
@@ -4450,6 +5097,22 @@ var tailwindToStyle = (function (exports) {
4450
5097
  return responsiveCssString;
4451
5098
  }
4452
5099
 
5100
+ function generator$1g() {
5101
+ let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
5102
+ const {
5103
+ prefix
5104
+ } = configOptions;
5105
+ const responsiveCssString = generateCssString$1(() => {
5106
+ const cssString = `
5107
+ ${prefix}list-image-none {
5108
+ list-style-image: none;
5109
+ }
5110
+ `;
5111
+ return cssString;
5112
+ }, configOptions);
5113
+ return responsiveCssString;
5114
+ }
5115
+
4453
5116
  function generator$1f() {
4454
5117
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
4455
5118
  const {
@@ -6406,9 +7069,9 @@ var tailwindToStyle = (function (exports) {
6406
7069
  return responsiveCssString;
6407
7070
  }
6408
7071
 
6409
- /**
6410
- * Transition Delay Generator
6411
- * Generates transition-delay utility classes
7072
+ /**
7073
+ * Transition Delay Generator
7074
+ * Generates transition-delay utility classes
6412
7075
  */
6413
7076
  function generator$c() {
6414
7077
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -6436,9 +7099,9 @@ var tailwindToStyle = (function (exports) {
6436
7099
  return responsiveCssString;
6437
7100
  }
6438
7101
 
6439
- /**
6440
- * Transition Duration Generator
6441
- * Generates transition-duration utility classes
7102
+ /**
7103
+ * Transition Duration Generator
7104
+ * Generates transition-duration utility classes
6442
7105
  */
6443
7106
  function generator$b() {
6444
7107
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -6466,9 +7129,9 @@ var tailwindToStyle = (function (exports) {
6466
7129
  return responsiveCssString;
6467
7130
  }
6468
7131
 
6469
- /**
6470
- * Transition Property Generator
6471
- * Generates transition-property utility classes
7132
+ /**
7133
+ * Transition Property Generator
7134
+ * Generates transition-property utility classes
6472
7135
  */
6473
7136
  function generator$a() {
6474
7137
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -6507,9 +7170,9 @@ var tailwindToStyle = (function (exports) {
6507
7170
  return responsiveCssString;
6508
7171
  }
6509
7172
 
6510
- /**
6511
- * Transition Timing Function Generator
6512
- * Generates transition-timing-function utility classes (ease)
7173
+ /**
7174
+ * Transition Timing Function Generator
7175
+ * Generates transition-timing-function utility classes (ease)
6513
7176
  */
6514
7177
  function generator$9() {
6515
7178
  let configOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
@@ -6778,9 +7441,9 @@ var tailwindToStyle = (function (exports) {
6778
7441
  return responsiveCssString;
6779
7442
  }
6780
7443
 
6781
- /**
6782
- * Proper LRU (Least Recently Used) Cache implementation
6783
- * Efficiently manages memory by removing least recently used items
7444
+ /**
7445
+ * Proper LRU (Least Recently Used) Cache implementation
7446
+ * Efficiently manages memory by removing least recently used items
6784
7447
  */
6785
7448
  class LRUCache {
6786
7449
  constructor() {
@@ -6789,9 +7452,9 @@ var tailwindToStyle = (function (exports) {
6789
7452
  this.cache = new Map();
6790
7453
  }
6791
7454
 
6792
- /**
6793
- * Get value from cache
6794
- * Updates the item as most recently used
7455
+ /**
7456
+ * Get value from cache
7457
+ * Updates the item as most recently used
6795
7458
  */
6796
7459
  get(key) {
6797
7460
  if (!this.cache.has(key)) {
@@ -6804,9 +7467,9 @@ var tailwindToStyle = (function (exports) {
6804
7467
  return value;
6805
7468
  }
6806
7469
 
6807
- /**
6808
- * Set value in cache
6809
- * Removes least recently used item if cache is full
7470
+ /**
7471
+ * Set value in cache
7472
+ * Removes least recently used item if cache is full
6810
7473
  */
6811
7474
  set(key, value) {
6812
7475
  // If key exists, delete it first to update position
@@ -6820,61 +7483,61 @@ var tailwindToStyle = (function (exports) {
6820
7483
  this.cache.set(key, value);
6821
7484
  }
6822
7485
 
6823
- /**
6824
- * Check if key exists in cache
7486
+ /**
7487
+ * Check if key exists in cache
6825
7488
  */
6826
7489
  has(key) {
6827
7490
  return this.cache.has(key);
6828
7491
  }
6829
7492
 
6830
- /**
6831
- * Clear all cache entries
7493
+ /**
7494
+ * Clear all cache entries
6832
7495
  */
6833
7496
  clear() {
6834
7497
  this.cache.clear();
6835
7498
  }
6836
7499
 
6837
- /**
6838
- * Get current cache size
7500
+ /**
7501
+ * Get current cache size
6839
7502
  */
6840
7503
  get size() {
6841
7504
  return this.cache.size;
6842
7505
  }
6843
7506
 
6844
- /**
6845
- * Delete specific key
7507
+ /**
7508
+ * Delete specific key
6846
7509
  */
6847
7510
  delete(key) {
6848
7511
  return this.cache.delete(key);
6849
7512
  }
6850
7513
  }
6851
7514
 
6852
- /**
6853
- * Custom error class for tailwind-to-style
7515
+ /**
7516
+ * Custom error class for tailwind-to-style
6854
7517
  */
6855
7518
  class TwsError extends Error {
6856
7519
  constructor(message) {
6857
7520
  let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6858
7521
  super(message);
6859
- this.name = 'TwsError';
7522
+ this.name = "TwsError";
6860
7523
  this.context = context;
6861
7524
  this.timestamp = new Date().toISOString();
6862
7525
  }
6863
7526
  }
6864
7527
 
6865
- /**
6866
- * Error event handlers
7528
+ /**
7529
+ * Error event handlers
6867
7530
  */
6868
7531
  const errorHandlers = new Set();
6869
7532
 
6870
- /**
6871
- * Register an error handler
6872
- * @param {Function} handler - Function to call when errors occur
6873
- * @returns {Function} Unsubscribe function
7533
+ /**
7534
+ * Register an error handler
7535
+ * @param {Function} handler - Function to call when errors occur
7536
+ * @returns {Function} Unsubscribe function
6874
7537
  */
6875
7538
  function onError(handler) {
6876
- if (typeof handler !== 'function') {
6877
- throw new TypeError('Error handler must be a function');
7539
+ if (typeof handler !== "function") {
7540
+ throw new TypeError("Error handler must be a function");
6878
7541
  }
6879
7542
  errorHandlers.add(handler);
6880
7543
 
@@ -6882,10 +7545,10 @@ var tailwindToStyle = (function (exports) {
6882
7545
  return () => errorHandlers.delete(handler);
6883
7546
  }
6884
7547
 
6885
- /**
6886
- * Handle and broadcast errors
6887
- * @param {Error} error - The error that occurred
6888
- * @param {Object} context - Additional context about the error
7548
+ /**
7549
+ * Handle and broadcast errors
7550
+ * @param {Error} error - The error that occurred
7551
+ * @param {Object} context - Additional context about the error
6889
7552
  */
6890
7553
  function handleError(error) {
6891
7554
  let context = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
@@ -6899,41 +7562,41 @@ var tailwindToStyle = (function (exports) {
6899
7562
  try {
6900
7563
  handler(twsError);
6901
7564
  } catch (handlerError) {
6902
- logger.error('Error in error handler:', handlerError);
7565
+ logger.error("Error in error handler:", handlerError);
6903
7566
  }
6904
7567
  });
6905
7568
  return twsError;
6906
7569
  }
6907
7570
 
6908
- /**
6909
- * Plugin API for tailwind-to-style
6910
- * Allows users to create custom utilities and extend functionality
7571
+ /**
7572
+ * Plugin API for tailwind-to-style
7573
+ * Allows users to create custom utilities and extend functionality
6911
7574
  */
6912
7575
 
6913
- /**
6914
- * Create a plugin for tailwind-to-style
6915
- *
6916
- * @param {string} name - Plugin name
6917
- * @param {Object} definition - Plugin definition
6918
- * @param {Object} [definition.utilities] - Custom utility classes
6919
- * @param {Object} [definition.components] - Custom component classes
6920
- * @param {Function} [definition.handler] - Custom handler function
6921
- * @returns {Object} Plugin object
6922
- *
6923
- * @example
6924
- * const myPlugin = createPlugin('my-plugin', {
6925
- * utilities: {
6926
- * '.text-gradient': {
6927
- * 'background-clip': 'text',
6928
- * '-webkit-background-clip': 'text',
6929
- * '-webkit-text-fill-color': 'transparent',
6930
- * },
6931
- * '.glass': {
6932
- * 'backdrop-filter': 'blur(10px)',
6933
- * 'background-color': 'rgba(255, 255, 255, 0.1)',
6934
- * },
6935
- * },
6936
- * });
7576
+ /**
7577
+ * Create a plugin for tailwind-to-style
7578
+ *
7579
+ * @param {string} name - Plugin name
7580
+ * @param {Object} definition - Plugin definition
7581
+ * @param {Object} [definition.utilities] - Custom utility classes
7582
+ * @param {Object} [definition.components] - Custom component classes
7583
+ * @param {Function} [definition.handler] - Custom handler function
7584
+ * @returns {Object} Plugin object
7585
+ *
7586
+ * @example
7587
+ * const myPlugin = createPlugin('my-plugin', {
7588
+ * utilities: {
7589
+ * '.text-gradient': {
7590
+ * 'background-clip': 'text',
7591
+ * '-webkit-background-clip': 'text',
7592
+ * '-webkit-text-fill-color': 'transparent',
7593
+ * },
7594
+ * '.glass': {
7595
+ * 'backdrop-filter': 'blur(10px)',
7596
+ * 'background-color': 'rgba(255, 255, 255, 0.1)',
7597
+ * },
7598
+ * },
7599
+ * });
6937
7600
  */
6938
7601
  function createPlugin(name, definition) {
6939
7602
  if (!name || typeof name !== "string") {
@@ -6953,28 +7616,28 @@ var tailwindToStyle = (function (exports) {
6953
7616
  return plugin;
6954
7617
  }
6955
7618
 
6956
- /**
6957
- * Create a utility plugin with dynamic values
6958
- *
6959
- * @param {string} name - Plugin name
6960
- * @param {Object} config - Configuration
6961
- * @param {string} config.prefix - Class prefix (e.g., 'text', 'bg')
6962
- * @param {Object} config.values - Values object
6963
- * @param {Function} config.formatter - Function to format CSS properties
6964
- * @returns {Object} Plugin object
6965
- *
6966
- * @example
6967
- * const textShadowPlugin = createUtilityPlugin('text-shadow', {
6968
- * prefix: 'text-shadow',
6969
- * values: {
6970
- * sm: '1px 1px 2px rgba(0,0,0,0.1)',
6971
- * md: '2px 2px 4px rgba(0,0,0,0.1)',
6972
- * lg: '4px 4px 8px rgba(0,0,0,0.1)',
6973
- * },
6974
- * formatter: (value) => ({
6975
- * 'text-shadow': value,
6976
- * }),
6977
- * });
7619
+ /**
7620
+ * Create a utility plugin with dynamic values
7621
+ *
7622
+ * @param {string} name - Plugin name
7623
+ * @param {Object} config - Configuration
7624
+ * @param {string} config.prefix - Class prefix (e.g., 'text', 'bg')
7625
+ * @param {Object} config.values - Values object
7626
+ * @param {Function} config.formatter - Function to format CSS properties
7627
+ * @returns {Object} Plugin object
7628
+ *
7629
+ * @example
7630
+ * const textShadowPlugin = createUtilityPlugin('text-shadow', {
7631
+ * prefix: 'text-shadow',
7632
+ * values: {
7633
+ * sm: '1px 1px 2px rgba(0,0,0,0.1)',
7634
+ * md: '2px 2px 4px rgba(0,0,0,0.1)',
7635
+ * lg: '4px 4px 8px rgba(0,0,0,0.1)',
7636
+ * },
7637
+ * formatter: (value) => ({
7638
+ * 'text-shadow': value,
7639
+ * }),
7640
+ * });
6978
7641
  */
6979
7642
  function createUtilityPlugin(name, config) {
6980
7643
  const {
@@ -6996,17 +7659,17 @@ var tailwindToStyle = (function (exports) {
6996
7659
  });
6997
7660
  }
6998
7661
 
6999
- /**
7000
- * Create a variant plugin
7001
- *
7002
- * @param {string} name - Plugin name
7003
- * @param {Function} handler - Variant handler function
7004
- * @returns {Object} Plugin object
7005
- *
7006
- * @example
7007
- * const hoverParentPlugin = createVariantPlugin('hover-parent', (selector) => {
7008
- * return `.parent:hover ${selector}`;
7009
- * });
7662
+ /**
7663
+ * Create a variant plugin
7664
+ *
7665
+ * @param {string} name - Plugin name
7666
+ * @param {Function} handler - Variant handler function
7667
+ * @returns {Object} Plugin object
7668
+ *
7669
+ * @example
7670
+ * const hoverParentPlugin = createVariantPlugin('hover-parent', (selector) => {
7671
+ * return `.parent:hover ${selector}`;
7672
+ * });
7010
7673
  */
7011
7674
  function createVariantPlugin(name, handler) {
7012
7675
  if (!handler || typeof handler !== "function") {
@@ -7020,11 +7683,11 @@ var tailwindToStyle = (function (exports) {
7020
7683
  });
7021
7684
  }
7022
7685
 
7023
- /**
7024
- * Convert plugin utilities to lookup object
7025
- * @param {Object} plugin - Plugin object
7026
- * @param {string} [prefix] - Optional prefix for all classes
7027
- * @returns {Object} Lookup object
7686
+ /**
7687
+ * Convert plugin utilities to lookup object
7688
+ * @param {Object} plugin - Plugin object
7689
+ * @param {string} [prefix] - Optional prefix for all classes
7690
+ * @returns {Object} Lookup object
7028
7691
  */
7029
7692
  function pluginToLookup(plugin) {
7030
7693
  let prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "";
@@ -7143,88 +7806,427 @@ var tailwindToStyle = (function (exports) {
7143
7806
  ...fontFamily
7144
7807
  };
7145
7808
 
7809
+ /**
7810
+ * Web Animations API Integration
7811
+ * Dynamic animations without keyframes injection
7812
+ */
7813
+
7814
+ /* eslint-disable no-undef */
7815
+
7816
+ /**
7817
+ * Built-in animation definitions using Web Animations API
7818
+ */
7819
+ const BUILTIN_ANIMATIONS = {
7820
+ spin: {
7821
+ keyframes: [{
7822
+ transform: "rotate(0deg)"
7823
+ }, {
7824
+ transform: "rotate(360deg)"
7825
+ }],
7826
+ options: {
7827
+ duration: 1000,
7828
+ iterations: Infinity
7829
+ }
7830
+ },
7831
+ ping: {
7832
+ keyframes: [{
7833
+ transform: "scale(1)",
7834
+ opacity: 1
7835
+ }, {
7836
+ transform: "scale(2)",
7837
+ opacity: 0
7838
+ }],
7839
+ options: {
7840
+ duration: 1000,
7841
+ iterations: Infinity
7842
+ }
7843
+ },
7844
+ pulse: {
7845
+ keyframes: [{
7846
+ opacity: 1
7847
+ }, {
7848
+ opacity: 0.5
7849
+ }, {
7850
+ opacity: 1
7851
+ }],
7852
+ options: {
7853
+ duration: 2000,
7854
+ iterations: Infinity
7855
+ }
7856
+ },
7857
+ bounce: {
7858
+ keyframes: [{
7859
+ transform: "translateY(0)",
7860
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
7861
+ }, {
7862
+ transform: "translateY(-25%)",
7863
+ animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
7864
+ }, {
7865
+ transform: "translateY(0)",
7866
+ animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
7867
+ }],
7868
+ options: {
7869
+ duration: 1000,
7870
+ iterations: Infinity
7871
+ }
7872
+ },
7873
+ "fade-in": {
7874
+ keyframes: [{
7875
+ opacity: 0
7876
+ }, {
7877
+ opacity: 1
7878
+ }],
7879
+ options: {
7880
+ duration: 500,
7881
+ fill: "forwards"
7882
+ }
7883
+ },
7884
+ "slide-up": {
7885
+ keyframes: [{
7886
+ transform: "translateY(20px)",
7887
+ opacity: 0
7888
+ }, {
7889
+ transform: "translateY(0)",
7890
+ opacity: 1
7891
+ }],
7892
+ options: {
7893
+ duration: 500,
7894
+ fill: "forwards"
7895
+ }
7896
+ }
7897
+ };
7898
+
7899
+ /**
7900
+ * Apply animation using Web Animations API
7901
+ */
7902
+ function applyWebAnimation(element, animationName) {
7903
+ let customAnimations = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
7904
+ if (!element || typeof element.animate !== "function") return null;
7905
+ const animation = BUILTIN_ANIMATIONS[animationName] || customAnimations[animationName];
7906
+ if (!animation) return null;
7907
+ return element.animate(animation.keyframes, animation.options);
7908
+ }
7909
+
7910
+ /**
7911
+ * Create animation observer for elements with animation classes
7912
+ */
7913
+ function createAnimationObserver() {
7914
+ let customAnimations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7915
+ if (typeof MutationObserver === "undefined") return null;
7916
+ const observer = new MutationObserver(mutations => {
7917
+ mutations.forEach(mutation => {
7918
+ mutation.addedNodes.forEach(node => {
7919
+ if (node.nodeType === Node.ELEMENT_NODE) {
7920
+ processAnimationElements(node, customAnimations);
7921
+ }
7922
+ });
7923
+ if (mutation.type === "attributes" && mutation.attributeName === "class") {
7924
+ processAnimationElements(mutation.target, customAnimations);
7925
+ }
7926
+ });
7927
+ });
7928
+ observer.observe(document.body, {
7929
+ childList: true,
7930
+ subtree: true,
7931
+ attributes: true,
7932
+ attributeFilter: ["class"]
7933
+ });
7934
+ return observer;
7935
+ }
7936
+
7937
+ /**
7938
+ * Process elements for animation classes
7939
+ */
7940
+ function processAnimationElements(element) {
7941
+ let customAnimations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
7942
+ if (!element.classList) return;
7943
+ const animationClasses = Array.from(element.classList).filter(cls => cls.startsWith("animate-")).map(cls => cls.replace("animate-", ""));
7944
+ animationClasses.forEach(animationName => {
7945
+ applyWebAnimation(element, animationName, customAnimations);
7946
+ });
7947
+ }
7948
+
7949
+ /**
7950
+ * Initialize web animations for existing elements
7951
+ */
7952
+ function initWebAnimations() {
7953
+ let customAnimations = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7954
+ if (typeof document === "undefined") return;
7955
+
7956
+ // Process existing elements
7957
+ const animatedElements = document.querySelectorAll('[class*="animate-"]');
7958
+ animatedElements.forEach(element => {
7959
+ processAnimationElements(element, customAnimations);
7960
+ });
7961
+
7962
+ // Create observer for new elements
7963
+ return createAnimationObserver(customAnimations);
7964
+ }
7965
+
7966
+ /**
7967
+ * Dynamic Animation System
7968
+ * Uses CSS variables for dynamic keyframe generation
7969
+ */
7970
+
7971
+ /* eslint-disable no-undef */
7972
+
7973
+ let animationStyleElement = null;
7974
+ let animationCounter = 0;
7975
+
7976
+ /**
7977
+ * Initialize dynamic animation style element
7978
+ */
7979
+ function initAnimationStyleElement() {
7980
+ if (typeof document === "undefined") return null;
7981
+ if (!animationStyleElement) {
7982
+ animationStyleElement = document.createElement("style");
7983
+ animationStyleElement.id = "twsx-dynamic-animations";
7984
+ animationStyleElement.setAttribute("data-twsx", "dynamic-animations");
7985
+ document.head.appendChild(animationStyleElement);
7986
+ }
7987
+ return animationStyleElement;
7988
+ }
7989
+
7990
+ /**
7991
+ * Generate dynamic keyframe with CSS variables
7992
+ */
7993
+ function generateDynamicKeyframe(name, keyframeObj) {
7994
+ let variables = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
7995
+ let css = `@keyframes ${name} {\n`;
7996
+ for (const [percentage, styles] of Object.entries(keyframeObj)) {
7997
+ css += ` ${percentage} {\n`;
7998
+ if (typeof styles === "object") {
7999
+ for (const [prop, value] of Object.entries(styles)) {
8000
+ const cssProp = prop.replace(/([A-Z])/g, "-$1").toLowerCase();
8001
+
8002
+ // Replace variables in value
8003
+ let finalValue = value;
8004
+ for (const [varName, varValue] of Object.entries(variables)) {
8005
+ finalValue = finalValue.replace(new RegExp(`\\$\\{${varName}\\}`, "g"), varValue);
8006
+ }
8007
+ css += ` ${cssProp}: ${finalValue};\n`;
8008
+ }
8009
+ }
8010
+ css += " }\n";
8011
+ }
8012
+ css += "}\n";
8013
+ return css;
8014
+ }
8015
+
8016
+ /**
8017
+ * Create dynamic animation with parameters
8018
+ */
8019
+ function createDynamicAnimation(baseKeyframes) {
8020
+ let parameters = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8021
+ const animationId = `dynamic-anim-${++animationCounter}`;
8022
+ const styleElement = initAnimationStyleElement();
8023
+ if (!styleElement) return null;
8024
+
8025
+ // Generate keyframes with parameters
8026
+ const keyframeCSS = generateDynamicKeyframe(animationId, baseKeyframes, parameters);
8027
+ styleElement.textContent += keyframeCSS;
8028
+ return animationId;
8029
+ }
8030
+
8031
+ /**
8032
+ * Predefined dynamic animation templates
8033
+ */
8034
+ const DYNAMIC_TEMPLATES = {
8035
+ slideIn: {
8036
+ keyframes: {
8037
+ "0%": {
8038
+ transform: "translate${direction}(${distance})",
8039
+ opacity: "${startOpacity}"
8040
+ },
8041
+ "100%": {
8042
+ transform: "translate${direction}(0)",
8043
+ opacity: "${endOpacity}"
8044
+ }
8045
+ },
8046
+ defaults: {
8047
+ direction: "Y",
8048
+ distance: "20px",
8049
+ startOpacity: "0",
8050
+ endOpacity: "1"
8051
+ }
8052
+ },
8053
+ scale: {
8054
+ keyframes: {
8055
+ "0%": {
8056
+ transform: "scale(${startScale})",
8057
+ opacity: "${startOpacity}"
8058
+ },
8059
+ "100%": {
8060
+ transform: "scale(${endScale})",
8061
+ opacity: "${endOpacity}"
8062
+ }
8063
+ },
8064
+ defaults: {
8065
+ startScale: "0.8",
8066
+ endScale: "1",
8067
+ startOpacity: "0",
8068
+ endOpacity: "1"
8069
+ }
8070
+ },
8071
+ rotate: {
8072
+ keyframes: {
8073
+ "0%": {
8074
+ transform: "rotate(${startAngle})"
8075
+ },
8076
+ "100%": {
8077
+ transform: "rotate(${endAngle})"
8078
+ }
8079
+ },
8080
+ defaults: {
8081
+ startAngle: "0deg",
8082
+ endAngle: "360deg"
8083
+ }
8084
+ },
8085
+ colorShift: {
8086
+ keyframes: {
8087
+ "0%": {
8088
+ backgroundColor: "${startColor}",
8089
+ color: "${startTextColor}"
8090
+ },
8091
+ "100%": {
8092
+ backgroundColor: "${endColor}",
8093
+ color: "${endTextColor}"
8094
+ }
8095
+ },
8096
+ defaults: {
8097
+ startColor: "transparent",
8098
+ endColor: "#3b82f6",
8099
+ startTextColor: "inherit",
8100
+ endTextColor: "white"
8101
+ }
8102
+ }
8103
+ };
8104
+
8105
+ /**
8106
+ * Create animation from template
8107
+ */
8108
+ function createTemplateAnimation(templateName) {
8109
+ let customParams = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
8110
+ const template = DYNAMIC_TEMPLATES[templateName];
8111
+ if (!template) return null;
8112
+ const params = {
8113
+ ...template.defaults,
8114
+ ...customParams
8115
+ };
8116
+ return createDynamicAnimation(template.keyframes, params);
8117
+ }
8118
+
8119
+ /**
8120
+ * Apply dynamic animation to element
8121
+ */
8122
+ function applyDynamicAnimation(element, templateName) {
8123
+ let params = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
8124
+ let duration = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 500;
8125
+ if (!element) return null;
8126
+ const animationName = createTemplateAnimation(templateName, params);
8127
+ if (!animationName) return null;
8128
+ element.style.animation = `${animationName} ${duration}ms ease-out forwards`;
8129
+ return animationName;
8130
+ }
8131
+
7146
8132
  const plugins = {
7147
- accentColor: generator$2w,
7148
- accessibility: generator$2v,
7149
- alignContent: generator$2u,
7150
- alignItems: generator$2t,
7151
- alignSelf: generator$2s,
7152
- animation: generator$2r,
7153
- appearance: generator$2q,
7154
- aspect: generator$2p,
7155
- backgroundAttachment: generator$2o,
7156
- backgroundClip: generator$2n,
7157
- backgroundColor: generator$2m,
7158
- backgroundImage: generator$2l,
7159
- backgroundOpacity: generator$2k,
7160
- backgroundOrigin: generator$2j,
7161
- backgroundPosition: generator$2i,
7162
- backgroundRepeat: generator$2h,
7163
- backgroundSize: generator$2g,
7164
- blur: generator$2f,
7165
- borderCollapse: generator$2e,
7166
- borderColor: generator$2d,
7167
- borderOpacity: generator$2c,
7168
- borderRadius: generator$2b,
7169
- borderSpacing: generator$2a,
7170
- borderStyle: generator$29,
7171
- borderWidth: generator$28,
7172
- boxDecorationBreak: generator$27,
7173
- boxShadow: generator$26,
7174
- boxSizing: generator$25,
7175
- brightness: generator$24,
7176
- captionSide: generator$23,
7177
- caretColor: generator$22,
7178
- clear: generator$21,
7179
- content: generator$20,
7180
- contrast: generator$1$,
7181
- cursor: generator$1_,
7182
- display: generator$1Z,
7183
- divideColor: generator$1Y,
7184
- divideOpacity: generator$1X,
7185
- divideStyle: generator$1W,
7186
- divideWidth: generator$1V,
7187
- dropShadow: generator$1U,
7188
- fill: generator$1T,
7189
- filter: generator$1S,
7190
- flex: generator$1R,
7191
- flexBasis: generator$1Q,
7192
- flexDirection: generator$1P,
7193
- flexGrow: generator$1O,
7194
- flexShrink: generator$1N,
7195
- flexWrap: generator$1M,
7196
- float: generator$1L,
7197
- fontSize: generator$1K,
7198
- fontSmoothing: generator$1J,
7199
- fontStyle: generator$1I,
7200
- fontVariantNumeric: generator$1H,
7201
- fontWeight: generator$1G,
7202
- gap: generator$1F,
7203
- gradientColorStops: generator$1E,
7204
- grayscale: generator$1D,
7205
- gridAutoColumns: generator$1C,
7206
- gridAutoFlow: generator$1B,
7207
- gridAutoRows: generator$1A,
7208
- gridColumn: generator$1z,
7209
- gridColumnEnd: generator$1y,
7210
- gridColumnStart: generator$1x,
7211
- gridRow: generator$1w,
7212
- gridRowEnd: generator$1v,
7213
- gridRowStart: generator$1u,
7214
- gridTemplateColumns: generator$1t,
7215
- gridTemplateRows: generator$1s,
7216
- height: generator$1r,
7217
- hueRotate: generator$1q,
7218
- hyphens: generator$1p,
7219
- inset: generator$1o,
7220
- invert: generator$1n,
7221
- isolation: generator$1m,
7222
- justifyContent: generator$1l,
7223
- justifyItems: generator$1k,
7224
- justifySelf: generator$1j,
7225
- letterSpacing: generator$1i,
7226
- lineClamp: generator$1h,
7227
- lineHeight: generator$1g,
8133
+ accentColor: generator$2M,
8134
+ accessibility: generator$2L,
8135
+ alignContent: generator$2K,
8136
+ alignItems: generator$2J,
8137
+ alignSelf: generator$2I,
8138
+ animation: generator$2H,
8139
+ appearance: generator$2G,
8140
+ aspect: generator$2F,
8141
+ backgroundAttachment: generator$2E,
8142
+ backgroundClip: generator$2D,
8143
+ backgroundColor: generator$2C,
8144
+ backgroundImage: generator$2B,
8145
+ backgroundOpacity: generator$2A,
8146
+ backgroundOrigin: generator$2z,
8147
+ backgroundPosition: generator$2y,
8148
+ backgroundRepeat: generator$2x,
8149
+ backgroundSize: generator$2w,
8150
+ backdropBlur: generator$2v,
8151
+ backdropBrightness: generator$2u,
8152
+ backdropContrast: generator$2t,
8153
+ backdropFilter: generator$2s,
8154
+ backdropGrayscale: generator$2r,
8155
+ backdropHueRotate: generator$2q,
8156
+ backdropInvert: generator$2p,
8157
+ backdropOpacity: generator$2o,
8158
+ backdropSaturate: generator$2n,
8159
+ backdropSepia: generator$2m,
8160
+ blur: generator$2l,
8161
+ borderCollapse: generator$2k,
8162
+ borderColor: generator$2j,
8163
+ borderOpacity: generator$2i,
8164
+ borderRadius: generator$2h,
8165
+ borderSpacing: generator$2g,
8166
+ borderStyle: generator$2f,
8167
+ borderWidth: generator$2e,
8168
+ boxDecorationBreak: generator$2d,
8169
+ boxShadow: generator$2c,
8170
+ boxSizing: generator$2b,
8171
+ breakAfter: generator$2a,
8172
+ breakBefore: generator$29,
8173
+ breakInside: generator$28,
8174
+ brightness: generator$27,
8175
+ captionSide: generator$26,
8176
+ caretColor: generator$25,
8177
+ clear: generator$24,
8178
+ columns: generator$23,
8179
+ container: generator$22,
8180
+ content: generator$21,
8181
+ contrast: generator$20,
8182
+ cursor: generator$1$,
8183
+ display: generator$1_,
8184
+ divideColor: generator$1Z,
8185
+ divideOpacity: generator$1Y,
8186
+ divideStyle: generator$1X,
8187
+ divideWidth: generator$1W,
8188
+ dropShadow: generator$1V,
8189
+ fill: generator$1U,
8190
+ filter: generator$1T,
8191
+ flex: generator$1S,
8192
+ flexBasis: generator$1R,
8193
+ flexDirection: generator$1Q,
8194
+ flexGrow: generator$1P,
8195
+ flexShrink: generator$1O,
8196
+ flexWrap: generator$1N,
8197
+ float: generator$1M,
8198
+ fontSize: generator$1L,
8199
+ fontSmoothing: generator$1K,
8200
+ fontStyle: generator$1J,
8201
+ fontVariantNumeric: generator$1I,
8202
+ fontWeight: generator$1H,
8203
+ gap: generator$1G,
8204
+ gradientColorStops: generator$1F,
8205
+ grayscale: generator$1E,
8206
+ gridAutoColumns: generator$1D,
8207
+ gridAutoFlow: generator$1C,
8208
+ gridAutoRows: generator$1B,
8209
+ gridColumn: generator$1A,
8210
+ gridColumnEnd: generator$1z,
8211
+ gridColumnStart: generator$1y,
8212
+ gridRow: generator$1x,
8213
+ gridRowEnd: generator$1w,
8214
+ gridRowStart: generator$1v,
8215
+ gridTemplateColumns: generator$1u,
8216
+ gridTemplateRows: generator$1t,
8217
+ height: generator$1s,
8218
+ hueRotate: generator$1r,
8219
+ hyphens: generator$1q,
8220
+ inset: generator$1p,
8221
+ invert: generator$1o,
8222
+ isolation: generator$1n,
8223
+ justifyContent: generator$1m,
8224
+ justifyItems: generator$1l,
8225
+ justifySelf: generator$1k,
8226
+ letterSpacing: generator$1j,
8227
+ lineClamp: generator$1i,
8228
+ lineHeight: generator$1h,
8229
+ listStyleImage: generator$1g,
7228
8230
  listStylePosition: generator$1f,
7229
8231
  listStyleType: generator$1e,
7230
8232
  margin: generator$1d,
@@ -7355,19 +8357,40 @@ var tailwindToStyle = (function (exports) {
7355
8357
  // Cache for getConfigOptions - use LRU cache
7356
8358
  const configOptionsCache = new LRUCache(500);
7357
8359
  function generateTailwindCssString() {
8360
+ var _options$theme, _userConfigData$theme;
7358
8361
  let options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7359
8362
  const pluginKeys = Object.keys(plugins);
8363
+
8364
+ // Merge user config with options
8365
+ const userConfigData = getConfig();
8366
+ const mergedOptions = {
8367
+ ...options,
8368
+ theme: {
8369
+ ...options.theme,
8370
+ ...userConfigData.theme,
8371
+ extend: {
8372
+ ...((_options$theme = options.theme) === null || _options$theme === void 0 ? void 0 : _options$theme.extend),
8373
+ ...((_userConfigData$theme = userConfigData.theme) === null || _userConfigData$theme === void 0 ? void 0 : _userConfigData$theme.extend)
8374
+ }
8375
+ }
8376
+ };
8377
+
7360
8378
  // Use cache to prevent unnecessary reprocessing
7361
- const key = JSON.stringify(options);
8379
+ // Include user config in cache key to ensure cache invalidation
8380
+ const key = JSON.stringify({
8381
+ options: mergedOptions,
8382
+ userConfigHash: JSON.stringify(userConfigData)
8383
+ });
7362
8384
  if (!configOptionsCache.has(key)) {
7363
- configOptionsCache.set(key, getConfigOptions(options, pluginKeys));
8385
+ const configOptions = getConfigOptions(mergedOptions, pluginKeys);
8386
+ configOptionsCache.set(key, configOptions);
7364
8387
  }
7365
8388
  const configOptions = configOptionsCache.get(key);
7366
8389
  const {
7367
8390
  corePlugins = {}
7368
8391
  } = configOptions;
7369
8392
  const corePluginKeys = Object.keys(corePlugins);
7370
- let cssString = ``;
8393
+ let cssString = "";
7371
8394
  Object.keys(plugins).forEach(key => {
7372
8395
  if (corePluginKeys.indexOf(key) >= 0 && !corePlugins[key]) {
7373
8396
  cssString += "";
@@ -7416,10 +8439,10 @@ var tailwindToStyle = (function (exports) {
7416
8439
  dark: (state, sel) => `.dark ${sel}`
7417
8440
  };
7418
8441
  const selectorVariants = {
7419
- first: () => `> :first-child`,
7420
- last: () => `> :last-child`,
7421
- odd: () => `> :nth-child(odd)`,
7422
- even: () => `> :nth-child(even)`,
8442
+ first: () => "> :first-child",
8443
+ last: () => "> :last-child",
8444
+ odd: () => "> :nth-child(odd)",
8445
+ even: () => "> :nth-child(even)",
7423
8446
  not: arg => `> :not(${arg})`,
7424
8447
  number: arg => `> :nth-child(${arg})`
7425
8448
  };
@@ -7506,7 +8529,10 @@ var tailwindToStyle = (function (exports) {
7506
8529
  }
7507
8530
  const context = this;
7508
8531
  callCount++;
8532
+
8533
+ // eslint-disable-next-line no-undef
7509
8534
  clearTimeout(timeout);
8535
+ // eslint-disable-next-line no-undef
7510
8536
  timeout = setTimeout(() => {
7511
8537
  const marker = performanceMonitor.start(`debounced:${func.name || "anonymous"}`);
7512
8538
  try {
@@ -8103,7 +9129,7 @@ var tailwindToStyle = (function (exports) {
8103
9129
  for (const subSel in content) {
8104
9130
  cssString += `${subSel}{${content[subSel].trim().replace(/\n/g, "")}}`;
8105
9131
  }
8106
- cssString += `}`;
9132
+ cssString += "}";
8107
9133
  }
8108
9134
  return cssString.trim();
8109
9135
  }
@@ -8167,9 +9193,9 @@ var tailwindToStyle = (function (exports) {
8167
9193
  // Process each selector
8168
9194
  const processMarker = performanceMonitor.start("twsx:process");
8169
9195
  for (const selector in flattered) {
8170
- let val = flattered[selector];
9196
+ const val = flattered[selector];
8171
9197
  let baseClass = "";
8172
- let nested = {};
9198
+ const nested = {};
8173
9199
  if (typeof val === "string") {
8174
9200
  // Check if this is a @css property value - if so, don't process through expandGroupedClass
8175
9201
  if (selector.includes(" @css ")) {
@@ -8306,11 +9332,20 @@ var tailwindToStyle = (function (exports) {
8306
9332
  }
8307
9333
  };
8308
9334
 
9335
+ exports.DYNAMIC_TEMPLATES = DYNAMIC_TEMPLATES;
9336
+ exports.INLINE_ANIMATIONS = INLINE_ANIMATIONS;
8309
9337
  exports.LRUCache = LRUCache;
8310
9338
  exports.Logger = Logger;
8311
9339
  exports.TwsError = TwsError;
9340
+ exports.animateElement = animateElement;
9341
+ exports.applyDynamicAnimation = applyDynamicAnimation;
9342
+ exports.applyInlineAnimation = applyInlineAnimation;
9343
+ exports.applyWebAnimation = applyWebAnimation;
9344
+ exports.chainAnimations = chainAnimations;
8312
9345
  exports.configure = configure;
9346
+ exports.createDynamicAnimation = createDynamicAnimation;
8313
9347
  exports.createPlugin = createPlugin;
9348
+ exports.createTemplateAnimation = createTemplateAnimation;
8314
9349
  exports.createUtilityPlugin = createUtilityPlugin;
8315
9350
  exports.createVariantPlugin = createVariantPlugin;
8316
9351
  exports.debouncedTws = debouncedTws;
@@ -8318,11 +9353,13 @@ var tailwindToStyle = (function (exports) {
8318
9353
  exports.getConfig = getConfig;
8319
9354
  exports.getTailwindCache = getTailwindCache;
8320
9355
  exports.handleError = handleError;
9356
+ exports.initWebAnimations = initWebAnimations;
8321
9357
  exports.logger = logger;
8322
9358
  exports.onError = onError;
8323
9359
  exports.performanceUtils = performanceUtils;
8324
9360
  exports.resetConfig = resetConfig;
8325
9361
  exports.resetTailwindCache = resetTailwindCache;
9362
+ exports.staggerAnimations = staggerAnimations;
8326
9363
  exports.tws = tws;
8327
9364
  exports.twsx = twsx;
8328
9365