@wavemaker/foundation-css 11.10.5-next.27872 → 11.10.5-rc.207

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.
Files changed (79) hide show
  1. package/foundation/foundation.css +1278 -1063
  2. package/foundation/foundation.min.css +1 -1
  3. package/index.d.ts +18 -27
  4. package/index.js +92 -42
  5. package/index.js.map +1 -0
  6. package/npm-shrinkwrap.json +225 -8
  7. package/package-lock.json +225 -8
  8. package/package.json +10 -3
  9. package/tokens/components/accordion/accordion.json +10 -0
  10. package/tokens/components/anchor/anchor.json +86 -0
  11. package/tokens/components/badge/badge.json +52 -0
  12. package/tokens/components/breadcrumb/breadcrumb.json +98 -0
  13. package/tokens/components/button/button.json +710 -0
  14. package/tokens/components/button-group/button-group.json +18 -0
  15. package/tokens/components/calendar/calendar.json +274 -0
  16. package/tokens/components/cards/cards.json +176 -0
  17. package/tokens/components/carousel/carousel.json +46 -0
  18. package/tokens/components/checkbox/checkbox.json +106 -0
  19. package/tokens/components/checkboxset/checkboxset.json +10 -0
  20. package/tokens/components/chips/chips.json +202 -0
  21. package/tokens/components/composite/composite.json +202 -0
  22. package/tokens/components/container/container.json +32 -0
  23. package/tokens/components/currency/currency.json +32 -0
  24. package/tokens/components/data-table/data-table.json +170 -0
  25. package/tokens/components/date/date.json +146 -0
  26. package/tokens/components/dropdown-menu/dropdown-menu.json +116 -0
  27. package/tokens/components/fileupload/fileupload.json +180 -0
  28. package/tokens/components/grid-layout/grid-layout.json +18 -0
  29. package/tokens/components/icon/icon.json +8 -0
  30. package/tokens/components/label/label.json +8 -0
  31. package/tokens/components/list/list.json +72 -0
  32. package/tokens/components/message/message.json +144 -0
  33. package/tokens/components/modal-dialog/modal-dialog.json +176 -0
  34. package/tokens/components/nav/nav.json +222 -0
  35. package/tokens/components/page-layout/page-layout.json +842 -0
  36. package/tokens/components/pagination/pagination.json +250 -0
  37. package/tokens/components/panel/panel.json +218 -0
  38. package/tokens/components/picture/picture.json +42 -0
  39. package/tokens/components/popover/popover.json +102 -0
  40. package/tokens/components/progress-bar/progress-bar.json +122 -0
  41. package/tokens/components/progress-circle/progress-circle.json +64 -0
  42. package/tokens/components/radioset/radioset.json +116 -0
  43. package/tokens/components/rating/rating.json +42 -0
  44. package/tokens/components/richtext-editor/richtext-editor.json +546 -0
  45. package/tokens/components/scrollbar/scrollbar.json +38 -0
  46. package/tokens/components/search/search.json +200 -0
  47. package/tokens/components/spinner/spinner.json +44 -0
  48. package/tokens/components/switch/switch.json +106 -0
  49. package/tokens/components/tabs/tabs.json +136 -0
  50. package/tokens/components/tile/tile.json +186 -0
  51. package/tokens/components/time/time.json +90 -0
  52. package/tokens/components/toast/toast.json +214 -0
  53. package/tokens/components/toggle/toggle.json +98 -0
  54. package/tokens/components/wizard/wizard.json +232 -0
  55. package/tokens/global/border/border.json +96 -0
  56. package/tokens/global/box-shadow/box-shadow.json +9 -0
  57. package/tokens/{primitives → global}/colors/color.dark.json +12 -3
  58. package/tokens/global/colors/color.json +343 -0
  59. package/tokens/{semantics → global}/font/font.json +74 -20
  60. package/tokens/global/gap/gap.json +58 -0
  61. package/tokens/{semantics → global}/icon/icon.json +1 -1
  62. package/tokens/global/margin/margin.json +57 -0
  63. package/tokens/global/radius/radius.json +45 -0
  64. package/tokens/global/shadow/shadow.json +74 -0
  65. package/tokens/global/space/space.json +57 -0
  66. package/tokens/global/spacer/spacer.json +46 -0
  67. package/utils/style-dictionary-utils.d.ts +7 -0
  68. package/utils/style-dictionary-utils.js +65 -0
  69. package/utils/style-dictionary-utils.js.map +1 -0
  70. package/tokens/primitives/border/border.json +0 -10
  71. package/tokens/primitives/colors/color.json +0 -163
  72. package/tokens/primitives/font/font.json +0 -20
  73. package/tokens/primitives/radius/radius.json +0 -14
  74. package/tokens/primitives/space/space.json +0 -57
  75. package/tokens/primitives/spacer/spacer.json +0 -45
  76. package/tokens/semantics/box-shadow/box-shadow.json +0 -8
  77. package/tokens/semantics/colors/color.json +0 -948
  78. /package/tokens/{primitives → global}/colors/color.light.json +0 -0
  79. /package/tokens/{semantics → global}/opacity/opacity.json +0 -0
package/package-lock.json CHANGED
@@ -1,20 +1,26 @@
1
1
  {
2
2
  "name": "@wavemaker/foundation-css",
3
- "version": "11.10.5-next.27872",
3
+ "version": "11.10.5-rc.207",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/foundation-css",
9
- "version": "11.10.5-next.27872",
9
+ "version": "11.10.5-rc.207",
10
10
  "license": "ISC",
11
+ "dependencies": {
12
+ "chroma-js": "^3.1.2"
13
+ },
11
14
  "devDependencies": {
15
+ "@types/chroma-js": "^3.1.1",
12
16
  "execa": "^5.0.0",
13
17
  "fs-extra": "^11.2.0",
14
18
  "less": "^4.2.0",
15
19
  "less-plugin-clean-css": "^1.6.0",
16
20
  "style-dictionary": "^4.1.0",
17
21
  "tar": "^7.4.3",
22
+ "ts-node": "^10.9.2",
23
+ "typescript": "^5.7.3",
18
24
  "yargs": "^17.7.2"
19
25
  }
20
26
  },
@@ -45,20 +51,32 @@
45
51
  }
46
52
  },
47
53
  "node_modules/@bundled-es-modules/memfs": {
48
- "version": "4.9.4",
49
- "integrity": "sha512-1XyYPUaIHwEOdF19wYVLBtHJRr42Do+3ctht17cZOHwHf67vkmRNPlYDGY2kJps4RgE5+c7nEZmEzxxvb1NZWA==",
54
+ "version": "4.17.0",
55
+ "integrity": "sha512-ykdrkEmQr9BV804yd37ikXfNnvxrwYfY9Z2/EtMHFEFadEjsQXJ1zL9bVZrKNLDtm91UdUOEHso6Aweg93K6xQ==",
50
56
  "dev": true,
51
57
  "license": "Apache-2.0",
52
58
  "dependencies": {
53
- "assert": "^2.0.0",
59
+ "assert": "^2.1.0",
54
60
  "buffer": "^6.0.3",
55
61
  "events": "^3.3.0",
56
- "memfs": "^4.9.3",
62
+ "memfs": "^4.17.0",
57
63
  "path": "^0.12.7",
58
64
  "stream": "^0.0.3",
59
65
  "util": "^0.12.5"
60
66
  }
61
67
  },
68
+ "node_modules/@cspotcode/source-map-support": {
69
+ "version": "0.8.1",
70
+ "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==",
71
+ "dev": true,
72
+ "license": "MIT",
73
+ "dependencies": {
74
+ "@jridgewell/trace-mapping": "0.3.9"
75
+ },
76
+ "engines": {
77
+ "node": ">=12"
78
+ }
79
+ },
62
80
  "node_modules/@isaacs/cliui": {
63
81
  "version": "8.0.2",
64
82
  "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
@@ -88,6 +106,31 @@
88
106
  "node": ">=18.0.0"
89
107
  }
90
108
  },
109
+ "node_modules/@jridgewell/resolve-uri": {
110
+ "version": "3.1.2",
111
+ "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==",
112
+ "dev": true,
113
+ "license": "MIT",
114
+ "engines": {
115
+ "node": ">=6.0.0"
116
+ }
117
+ },
118
+ "node_modules/@jridgewell/sourcemap-codec": {
119
+ "version": "1.5.0",
120
+ "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==",
121
+ "dev": true,
122
+ "license": "MIT"
123
+ },
124
+ "node_modules/@jridgewell/trace-mapping": {
125
+ "version": "0.3.9",
126
+ "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==",
127
+ "dev": true,
128
+ "license": "MIT",
129
+ "dependencies": {
130
+ "@jridgewell/resolve-uri": "^3.0.3",
131
+ "@jridgewell/sourcemap-codec": "^1.4.10"
132
+ }
133
+ },
91
134
  "node_modules/@jsonjoy.com/base64": {
92
135
  "version": "1.1.2",
93
136
  "integrity": "sha512-q6XAnWQDIMA3+FTiOYajoYqySkO+JSat0ytXGSuRdq9uXE7o92gzuQwQM14xaCRlBLGq3v5miDGC4vkVTn54xA==",
@@ -152,6 +195,46 @@
152
195
  "node": ">=14"
153
196
  }
154
197
  },
198
+ "node_modules/@tsconfig/node10": {
199
+ "version": "1.0.11",
200
+ "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==",
201
+ "dev": true,
202
+ "license": "MIT"
203
+ },
204
+ "node_modules/@tsconfig/node12": {
205
+ "version": "1.0.11",
206
+ "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==",
207
+ "dev": true,
208
+ "license": "MIT"
209
+ },
210
+ "node_modules/@tsconfig/node14": {
211
+ "version": "1.0.3",
212
+ "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==",
213
+ "dev": true,
214
+ "license": "MIT"
215
+ },
216
+ "node_modules/@tsconfig/node16": {
217
+ "version": "1.0.4",
218
+ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==",
219
+ "dev": true,
220
+ "license": "MIT"
221
+ },
222
+ "node_modules/@types/chroma-js": {
223
+ "version": "3.1.1",
224
+ "integrity": "sha512-SFCr4edNkZ1bGaLzGz7rgR1bRzVX4MmMxwsIa3/Bh6ose8v+hRpneoizHv0KChdjxaXyjRtaMq7sCuZSzPomQA==",
225
+ "dev": true,
226
+ "license": "MIT"
227
+ },
228
+ "node_modules/@types/node": {
229
+ "version": "22.13.14",
230
+ "integrity": "sha512-Zs/Ollc1SJ8nKUAgc7ivOEdIBM8JAKgrqqUYi2J997JuKO7/tpQC+WCetQ1sypiKCQWHdvdg9wBNpUPEWZae7w==",
231
+ "dev": true,
232
+ "license": "MIT",
233
+ "peer": true,
234
+ "dependencies": {
235
+ "undici-types": "~6.20.0"
236
+ }
237
+ },
155
238
  "node_modules/@yarnpkg/lockfile": {
156
239
  "version": "1.1.0",
157
240
  "integrity": "sha512-GpSwvyXOcOOlV70vbnzjj4fW5xW/FdUF6nQEt1ENy7m4ZCczi1+/buVUPAqmGfqznsORNFzUMjctTIp8a9tuCQ==",
@@ -159,8 +242,8 @@
159
242
  "license": "BSD-2-Clause"
160
243
  },
161
244
  "node_modules/@zip.js/zip.js": {
162
- "version": "2.7.57",
163
- "integrity": "sha512-BtonQ1/jDnGiMed6OkV6rZYW78gLmLswkHOzyMrMb+CAR7CZO8phOHO6c2qw6qb1g1betN7kwEHhhZk30dv+NA==",
245
+ "version": "2.7.58",
246
+ "integrity": "sha512-tU130QPuBtCPpJ/4a7YUfrOmZFnfxSsAH15gr+Kbl0ypwREu3YkGVswFNFHBHlP/FqFjvp9D27/fmd4LWYa1UQ==",
164
247
  "dev": true,
165
248
  "license": "BSD-3-Clause",
166
249
  "engines": {
@@ -169,6 +252,30 @@
169
252
  "node": ">=16.5.0"
170
253
  }
171
254
  },
255
+ "node_modules/acorn": {
256
+ "version": "8.14.1",
257
+ "integrity": "sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==",
258
+ "dev": true,
259
+ "license": "MIT",
260
+ "bin": {
261
+ "acorn": "bin/acorn"
262
+ },
263
+ "engines": {
264
+ "node": ">=0.4.0"
265
+ }
266
+ },
267
+ "node_modules/acorn-walk": {
268
+ "version": "8.3.4",
269
+ "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==",
270
+ "dev": true,
271
+ "license": "MIT",
272
+ "dependencies": {
273
+ "acorn": "^8.11.0"
274
+ },
275
+ "engines": {
276
+ "node": ">=0.4.0"
277
+ }
278
+ },
172
279
  "node_modules/ansi-regex": {
173
280
  "version": "6.1.0",
174
281
  "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
@@ -193,6 +300,12 @@
193
300
  "url": "https://github.com/chalk/ansi-styles?sponsor=1"
194
301
  }
195
302
  },
303
+ "node_modules/arg": {
304
+ "version": "4.1.3",
305
+ "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==",
306
+ "dev": true,
307
+ "license": "MIT"
308
+ },
196
309
  "node_modules/assert": {
197
310
  "version": "2.1.0",
198
311
  "integrity": "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==",
@@ -375,6 +488,11 @@
375
488
  "node": ">=18"
376
489
  }
377
490
  },
491
+ "node_modules/chroma-js": {
492
+ "version": "3.1.2",
493
+ "integrity": "sha512-IJnETTalXbsLx1eKEgx19d5L6SRM7cH4vINw/99p/M11HCuXGRWL+6YmCm7FWFGIo6dtWuQoQi1dc5yQ7ESIHg==",
494
+ "license": "(BSD-3-Clause AND Apache-2.0)"
495
+ },
378
496
  "node_modules/ci-info": {
379
497
  "version": "3.9.0",
380
498
  "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==",
@@ -546,6 +664,12 @@
546
664
  "url": "https://github.com/sponsors/mesqueeb"
547
665
  }
548
666
  },
667
+ "node_modules/create-require": {
668
+ "version": "1.1.1",
669
+ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==",
670
+ "dev": true,
671
+ "license": "MIT"
672
+ },
549
673
  "node_modules/cross-spawn": {
550
674
  "version": "7.0.6",
551
675
  "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
@@ -603,6 +727,15 @@
603
727
  "url": "https://github.com/sponsors/ljharb"
604
728
  }
605
729
  },
730
+ "node_modules/diff": {
731
+ "version": "4.0.2",
732
+ "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==",
733
+ "dev": true,
734
+ "license": "BSD-3-Clause",
735
+ "engines": {
736
+ "node": ">=0.3.1"
737
+ }
738
+ },
606
739
  "node_modules/dunder-proto": {
607
740
  "version": "1.0.1",
608
741
  "integrity": "sha512-KIN/nDJBQRcXw0MLVhZE9iQHmG68qAVIBg9CqmUYjmQIhgij9U5MFvrqkUL5FbtyyzZuOeOt0zdeRe4UY7ct+A==",
@@ -1359,6 +1492,12 @@
1359
1492
  "node": ">=6"
1360
1493
  }
1361
1494
  },
1495
+ "node_modules/make-error": {
1496
+ "version": "1.3.6",
1497
+ "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==",
1498
+ "dev": true,
1499
+ "license": "ISC"
1500
+ },
1362
1501
  "node_modules/math-intrinsics": {
1363
1502
  "version": "1.1.0",
1364
1503
  "integrity": "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g==",
@@ -2388,12 +2527,75 @@
2388
2527
  "tslib": "2"
2389
2528
  }
2390
2529
  },
2530
+ "node_modules/ts-node": {
2531
+ "version": "10.9.2",
2532
+ "integrity": "sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==",
2533
+ "dev": true,
2534
+ "license": "MIT",
2535
+ "dependencies": {
2536
+ "@cspotcode/source-map-support": "^0.8.0",
2537
+ "@tsconfig/node10": "^1.0.7",
2538
+ "@tsconfig/node12": "^1.0.7",
2539
+ "@tsconfig/node14": "^1.0.0",
2540
+ "@tsconfig/node16": "^1.0.2",
2541
+ "acorn": "^8.4.1",
2542
+ "acorn-walk": "^8.1.1",
2543
+ "arg": "^4.1.0",
2544
+ "create-require": "^1.1.0",
2545
+ "diff": "^4.0.1",
2546
+ "make-error": "^1.1.1",
2547
+ "v8-compile-cache-lib": "^3.0.1",
2548
+ "yn": "3.1.1"
2549
+ },
2550
+ "bin": {
2551
+ "ts-node": "dist/bin.js",
2552
+ "ts-node-cwd": "dist/bin-cwd.js",
2553
+ "ts-node-esm": "dist/bin-esm.js",
2554
+ "ts-node-script": "dist/bin-script.js",
2555
+ "ts-node-transpile-only": "dist/bin-transpile.js",
2556
+ "ts-script": "dist/bin-script-deprecated.js"
2557
+ },
2558
+ "peerDependencies": {
2559
+ "@swc/core": ">=1.2.50",
2560
+ "@swc/wasm": ">=1.2.50",
2561
+ "@types/node": "*",
2562
+ "typescript": ">=2.7"
2563
+ },
2564
+ "peerDependenciesMeta": {
2565
+ "@swc/core": {
2566
+ "optional": true
2567
+ },
2568
+ "@swc/wasm": {
2569
+ "optional": true
2570
+ }
2571
+ }
2572
+ },
2391
2573
  "node_modules/tslib": {
2392
2574
  "version": "2.8.1",
2393
2575
  "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",
2394
2576
  "dev": true,
2395
2577
  "license": "0BSD"
2396
2578
  },
2579
+ "node_modules/typescript": {
2580
+ "version": "5.8.2",
2581
+ "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
2582
+ "dev": true,
2583
+ "license": "Apache-2.0",
2584
+ "bin": {
2585
+ "tsc": "bin/tsc",
2586
+ "tsserver": "bin/tsserver"
2587
+ },
2588
+ "engines": {
2589
+ "node": ">=14.17"
2590
+ }
2591
+ },
2592
+ "node_modules/undici-types": {
2593
+ "version": "6.20.0",
2594
+ "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==",
2595
+ "dev": true,
2596
+ "license": "MIT",
2597
+ "peer": true
2598
+ },
2397
2599
  "node_modules/universalify": {
2398
2600
  "version": "2.0.1",
2399
2601
  "integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
@@ -2429,6 +2631,12 @@
2429
2631
  "which-typed-array": "^1.1.2"
2430
2632
  }
2431
2633
  },
2634
+ "node_modules/v8-compile-cache-lib": {
2635
+ "version": "3.0.1",
2636
+ "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==",
2637
+ "dev": true,
2638
+ "license": "MIT"
2639
+ },
2432
2640
  "node_modules/which": {
2433
2641
  "version": "2.0.2",
2434
2642
  "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
@@ -2659,6 +2867,15 @@
2659
2867
  "engines": {
2660
2868
  "node": ">=8"
2661
2869
  }
2870
+ },
2871
+ "node_modules/yn": {
2872
+ "version": "3.1.1",
2873
+ "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==",
2874
+ "dev": true,
2875
+ "license": "MIT",
2876
+ "engines": {
2877
+ "node": ">=6"
2878
+ }
2662
2879
  }
2663
2880
  }
2664
2881
  }
package/package.json CHANGED
@@ -1,28 +1,35 @@
1
1
  {
2
2
  "name": "@wavemaker/foundation-css",
3
- "version": "11.10.5-next.27872",
3
+ "version": "11.10.5-rc.207",
4
4
  "description": "Foundation of CSS used in WaveMaker with custom widgets.",
5
5
  "main": "foundation.css",
6
6
  "type": "module",
7
7
  "scripts": {
8
- "build": "npm run build:style-dist && npm run compile-css && npm run minify-css && npm run copy-fonts && npm run copy-tokens && node ./scripts/build.js post-build",
8
+ "build": "npm run clean && tsc && npm run build:style-dist && npm run compile-css && npm run minify-css && npm run copy-fonts && npm run copy-tokens && node ./scripts/build.js post-build",
9
9
  "build:style-dist": "node scripts/style-dist-build.js",
10
10
  "compile-css": "lessc src/style.less dist/styles/foundation/foundation.css",
11
11
  "minify-css": "lessc src/style.less dist/styles/foundation/foundation.min.css --clean-css && lessc src/icon-fonts.less dist/styles/foundation/icon-fonts.min.css --clean-css",
12
12
  "copy-fonts": "mkdir -p dist/styles/foundation/fonts && cp -r src/fonts/* dist/styles/foundation/fonts/",
13
- "copy-tokens": "mkdir -p dist/styles/tokens && cp -r tokens/* dist/styles/tokens/ && cp ./index.js ./index.d.ts dist/styles/"
13
+ "copy-tokens": "mkdir -p dist/styles/tokens && cp -r tokens/* dist/styles/tokens/",
14
+ "clean": "rm -rf dist"
14
15
  },
15
16
  "devDependencies": {
17
+ "@types/chroma-js": "^3.1.1",
16
18
  "execa": "^5.0.0",
17
19
  "fs-extra": "^11.2.0",
18
20
  "less": "^4.2.0",
19
21
  "less-plugin-clean-css": "^1.6.0",
20
22
  "style-dictionary": "^4.1.0",
21
23
  "tar": "^7.4.3",
24
+ "ts-node": "^10.9.2",
25
+ "typescript": "^5.7.3",
22
26
  "yargs": "^17.7.2"
23
27
  },
24
28
  "author": "",
25
29
  "license": "ISC",
30
+ "dependencies": {
31
+ "chroma-js": "^3.1.2"
32
+ },
26
33
  "style": "foundation.css",
27
34
  "exports": {
28
35
  ".": "./index"
@@ -0,0 +1,10 @@
1
+ {
2
+ "accordion": {
3
+ "group": {
4
+ "gap": {
5
+ "value": "{space.2.value}",
6
+ "type": "space"
7
+ }
8
+ }
9
+ }
10
+ }
@@ -0,0 +1,86 @@
1
+ {
2
+ "anchor": {
3
+ "color": {
4
+ "@": {
5
+ "value": "{color.primary.@.value}",
6
+ "type": "color"
7
+ },
8
+ "hover": {
9
+ "value": "~\"color-mix(in srgb, {anchor.color.@.value}, {color.black.@.value} {opacity.hover.value})\"",
10
+ "type": "color"
11
+ },
12
+ "focus": {
13
+ "value": "~\"color-mix(in srgb, {anchor.color.@.value}, {color.black.@.value} {opacity.focus.value})\"",
14
+ "type": "color"
15
+ },
16
+ "active": {
17
+ "value": "~\"color-mix(in srgb, {anchor.color.@.value}, {color.black.@.value} {opacity.active.value})\"",
18
+ "type": "color"
19
+ }
20
+ },
21
+ "font-size": {
22
+ "value": "{body.medium.font-size.value}",
23
+ "type": "font"
24
+ },
25
+ "font-family": {
26
+ "value": "{body.medium.font-family.value}",
27
+ "type": "font"
28
+ },
29
+ "font-weight": {
30
+ "value": "{body.medium.font-weight.value}",
31
+ "type": "font"
32
+ },
33
+ "line-height": {
34
+ "value": "{body.medium.line-height.value}",
35
+ "type": "font"
36
+ },
37
+ "letter-spacing": {
38
+ "value": "{body.medium.letter-spacing.value}",
39
+ "type": "font"
40
+ },
41
+ "text-transform": {
42
+ "value": "none",
43
+ "type": "radius"
44
+ },
45
+ "text": {
46
+ "decoration": {
47
+ "@": {
48
+ "value": "none",
49
+ "type": "radius"
50
+ },
51
+ "hover": {
52
+ "value": "none",
53
+ "type": "radius"
54
+ },
55
+ "focus": {
56
+ "value": "none",
57
+ "type": "radius"
58
+ },
59
+ "active": {
60
+ "value": "none",
61
+ "type": "radius"
62
+ }
63
+ }
64
+ },
65
+ "gap": {
66
+ "value": "{space.1.value}",
67
+ "type": "space"
68
+ },
69
+ "icon": {
70
+ "size": {
71
+ "value": "{icon.size.@.value}",
72
+ "type": "space"
73
+ }
74
+ },
75
+ "image": {
76
+ "size": {
77
+ "value": "{icon.size.@.value}",
78
+ "type": "space"
79
+ },
80
+ "radius": {
81
+ "value": "{radius.circle.value}",
82
+ "type": "radius"
83
+ }
84
+ }
85
+ }
86
+ }
@@ -0,0 +1,52 @@
1
+ {
2
+ "badge": {
3
+ "background": {
4
+ "value": "{color.error.@.value}",
5
+ "type": "color"
6
+ },
7
+ "color": {
8
+ "value": "{color.on-error.@.value}",
9
+ "type": "color"
10
+ },
11
+ "min-height": {
12
+ "value": "20px",
13
+ "type": "space"
14
+ },
15
+ "inline": {
16
+ "padding": {
17
+ "value": "~\"calc({space.2.value} * 0.75)\"",
18
+ "type": "space"
19
+ }
20
+ },
21
+ "block": {
22
+ "padding": {
23
+ "value": "{space.1.value}",
24
+ "type": "space"
25
+ }
26
+ },
27
+ "radius": {
28
+ "value": "{radius.lg.value}",
29
+ "type": "radius"
30
+ },
31
+ "font-family": {
32
+ "value": "{body.small.font-family.value}",
33
+ "type": "font"
34
+ },
35
+ "font-size": {
36
+ "value": "{body.small.font-size.value}",
37
+ "type": "font"
38
+ },
39
+ "font-weight": {
40
+ "value": "{font.weight.bold.value}",
41
+ "type": "font"
42
+ },
43
+ "line-height": {
44
+ "value": "1",
45
+ "type": "font"
46
+ },
47
+ "letter-spacing": {
48
+ "value": "{body.small.letter-spacing.value}",
49
+ "type": "font"
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,98 @@
1
+ {
2
+ "breadcrumb": {
3
+ "gap": {
4
+ "value": "{space.1.value}",
5
+ "type": "space"
6
+ },
7
+ "item": {
8
+ "gap": {
9
+ "@": {
10
+ "value": "{space.1.value}",
11
+ "type": "space"
12
+ }
13
+ },
14
+ "font-size": {
15
+ "value": "{body.large.font-size.value}",
16
+ "type": "font"
17
+ },
18
+ "font-family": {
19
+ "value": "{body.large.font-family.value}",
20
+ "type": "font"
21
+ },
22
+ "font-weight": {
23
+ "value": "{body.large.font-weight.value}",
24
+ "type": "font"
25
+ },
26
+ "line-height": {
27
+ "value": "{body.large.line-height.value}",
28
+ "type": "font"
29
+ },
30
+ "letter-spacing": {
31
+ "value": "{body.large.letter-spacing.value}",
32
+ "type": "font"
33
+ },
34
+ "text-transform": {
35
+ "value": "none",
36
+ "type": "radius"
37
+ },
38
+ "text": {
39
+ "decoration": {
40
+ "@": {
41
+ "value": "none",
42
+ "type": "radius"
43
+ },
44
+ "hover": {
45
+ "value": "underline",
46
+ "type": "radius"
47
+ },
48
+ "focus": {
49
+ "value": "underline",
50
+ "type": "radius"
51
+ },
52
+ "active": {
53
+ "value": "none",
54
+ "type": "radius"
55
+ }
56
+ }
57
+ },
58
+ "color": {
59
+ "@": {
60
+ "value": "{color.primary.@.value}",
61
+ "type": "color"
62
+ },
63
+ "hover": {
64
+ "value": "~\"color-mix(in srgb, {breadcrumb.item.color.@.value}, {color.black.@.value} {opacity.hover.value})\"",
65
+ "type": "color"
66
+ },
67
+ "focus": {
68
+ "value": "~\"color-mix(in srgb, {breadcrumb.item.color.@.value}, {color.black.@.value} {opacity.focus.value})\"",
69
+ "type": "color"
70
+ },
71
+ "active": {
72
+ "value": "~\"color-mix(in srgb, {breadcrumb.item.color.@.value}, {color.black.@.value} {opacity.active.value})\"",
73
+ "type": "color"
74
+ }
75
+ },
76
+ "icon": {
77
+ "color": {
78
+ "value": "{color.on-background.@.value}",
79
+ "type": "color"
80
+ },
81
+ "size": {
82
+ "value": "{icon.size.sm.value}",
83
+ "type": "space"
84
+ }
85
+ },
86
+ "separator": {
87
+ "color": {
88
+ "value": "{color.outline.@.value}",
89
+ "type": "color"
90
+ },
91
+ "size": {
92
+ "value": "{icon.size.sm.value}",
93
+ "type": "space"
94
+ }
95
+ }
96
+ }
97
+ }
98
+ }