@techfides/ui-library-design 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +55 -0
  3. package/assets/brands/digital-boost-group.svg +1 -0
  4. package/assets/brands/rtsg.svg +1 -0
  5. package/assets/brands/tech-it-out.svg +1 -0
  6. package/assets/brands/techfides.svg +1 -0
  7. package/css/index.css +8 -0
  8. package/css/theme.css +1640 -0
  9. package/dist/brands.d.ts +39 -0
  10. package/dist/brands.js +41 -0
  11. package/dist/brands.js.map +1 -0
  12. package/dist/charts/animation.js +14 -0
  13. package/dist/charts/animation.js.map +1 -0
  14. package/dist/charts/bars.d.ts +22 -0
  15. package/dist/charts/bars.js +61 -0
  16. package/dist/charts/bars.js.map +1 -0
  17. package/dist/charts/groupedBars.d.ts +20 -0
  18. package/dist/charts/groupedBars.js +82 -0
  19. package/dist/charts/groupedBars.js.map +1 -0
  20. package/dist/charts/paint.js +19 -0
  21. package/dist/charts/paint.js.map +1 -0
  22. package/dist/charts/spark.d.ts +17 -0
  23. package/dist/charts/spark.js +159 -0
  24. package/dist/charts/spark.js.map +1 -0
  25. package/dist/charts/tooltip.js +41 -0
  26. package/dist/charts/tooltip.js.map +1 -0
  27. package/dist/cn.d.ts +6 -0
  28. package/dist/cn.js +178 -0
  29. package/dist/cn.js.map +1 -0
  30. package/dist/control.d.ts +15 -0
  31. package/dist/control.js +13 -0
  32. package/dist/control.js.map +1 -0
  33. package/dist/index.d.ts +65 -0
  34. package/dist/index.js +65 -0
  35. package/dist/mark.d.ts +7 -0
  36. package/dist/mark.js +11 -0
  37. package/dist/mark.js.map +1 -0
  38. package/dist/parts/control.js +55 -0
  39. package/dist/parts/control.js.map +1 -0
  40. package/dist/parts/eyebrow.js +8 -0
  41. package/dist/parts/eyebrow.js.map +1 -0
  42. package/dist/parts/mark.js +52 -0
  43. package/dist/parts/mark.js.map +1 -0
  44. package/dist/parts/reveal.js +35 -0
  45. package/dist/parts/reveal.js.map +1 -0
  46. package/dist/parts/rouse.js +25 -0
  47. package/dist/parts/rouse.js.map +1 -0
  48. package/dist/parts/rule.js +12 -0
  49. package/dist/parts/rule.js.map +1 -0
  50. package/dist/parts/scroll.js +10 -0
  51. package/dist/parts/scroll.js.map +1 -0
  52. package/dist/parts/shell.js +23 -0
  53. package/dist/parts/shell.js.map +1 -0
  54. package/dist/parts/surface.js +15 -0
  55. package/dist/parts/surface.js.map +1 -0
  56. package/dist/parts/tone.js +13 -0
  57. package/dist/parts/tone.js.map +1 -0
  58. package/dist/parts/travel.js +11 -0
  59. package/dist/parts/travel.js.map +1 -0
  60. package/dist/recipes/accordion.d.ts +13 -0
  61. package/dist/recipes/accordion.js +42 -0
  62. package/dist/recipes/accordion.js.map +1 -0
  63. package/dist/recipes/alert.d.ts +16 -0
  64. package/dist/recipes/alert.js +21 -0
  65. package/dist/recipes/alert.js.map +1 -0
  66. package/dist/recipes/band.d.ts +8 -0
  67. package/dist/recipes/band.js +22 -0
  68. package/dist/recipes/band.js.map +1 -0
  69. package/dist/recipes/bars.d.ts +17 -0
  70. package/dist/recipes/bars.js +27 -0
  71. package/dist/recipes/bars.js.map +1 -0
  72. package/dist/recipes/brandMark.d.ts +5 -0
  73. package/dist/recipes/brandMark.js +7 -0
  74. package/dist/recipes/brandMark.js.map +1 -0
  75. package/dist/recipes/button.d.ts +23 -0
  76. package/dist/recipes/button.js +229 -0
  77. package/dist/recipes/button.js.map +1 -0
  78. package/dist/recipes/cardHeader.d.ts +10 -0
  79. package/dist/recipes/cardHeader.js +11 -0
  80. package/dist/recipes/cardHeader.js.map +1 -0
  81. package/dist/recipes/checkbox.d.ts +26 -0
  82. package/dist/recipes/checkbox.js +103 -0
  83. package/dist/recipes/checkbox.js.map +1 -0
  84. package/dist/recipes/chip.d.ts +26 -0
  85. package/dist/recipes/chip.js +123 -0
  86. package/dist/recipes/chip.js.map +1 -0
  87. package/dist/recipes/codeEditor.d.ts +74 -0
  88. package/dist/recipes/codeEditor.js +71 -0
  89. package/dist/recipes/codeEditor.js.map +1 -0
  90. package/dist/recipes/datePicker.d.ts +39 -0
  91. package/dist/recipes/datePicker.js +166 -0
  92. package/dist/recipes/datePicker.js.map +1 -0
  93. package/dist/recipes/dialog.d.ts +37 -0
  94. package/dist/recipes/dialog.js +116 -0
  95. package/dist/recipes/dialog.js.map +1 -0
  96. package/dist/recipes/feature.d.ts +15 -0
  97. package/dist/recipes/feature.js +48 -0
  98. package/dist/recipes/feature.js.map +1 -0
  99. package/dist/recipes/field.d.ts +26 -0
  100. package/dist/recipes/field.js +129 -0
  101. package/dist/recipes/field.js.map +1 -0
  102. package/dist/recipes/findings.d.ts +11 -0
  103. package/dist/recipes/findings.js +16 -0
  104. package/dist/recipes/findings.js.map +1 -0
  105. package/dist/recipes/heading.d.ts +17 -0
  106. package/dist/recipes/heading.js +37 -0
  107. package/dist/recipes/heading.js.map +1 -0
  108. package/dist/recipes/heartbeat.d.ts +23 -0
  109. package/dist/recipes/heartbeat.js +43 -0
  110. package/dist/recipes/heartbeat.js.map +1 -0
  111. package/dist/recipes/input.d.ts +17 -0
  112. package/dist/recipes/input.js +90 -0
  113. package/dist/recipes/input.js.map +1 -0
  114. package/dist/recipes/listItem.d.ts +6 -0
  115. package/dist/recipes/listItem.js +8 -0
  116. package/dist/recipes/listItem.js.map +1 -0
  117. package/dist/recipes/listbox.d.ts +12 -0
  118. package/dist/recipes/listbox.js +29 -0
  119. package/dist/recipes/listbox.js.map +1 -0
  120. package/dist/recipes/marquee.d.ts +19 -0
  121. package/dist/recipes/marquee.js +36 -0
  122. package/dist/recipes/marquee.js.map +1 -0
  123. package/dist/recipes/menu.d.ts +26 -0
  124. package/dist/recipes/menu.js +86 -0
  125. package/dist/recipes/menu.js.map +1 -0
  126. package/dist/recipes/metaRow.d.ts +14 -0
  127. package/dist/recipes/metaRow.js +19 -0
  128. package/dist/recipes/metaRow.js.map +1 -0
  129. package/dist/recipes/meter.d.ts +23 -0
  130. package/dist/recipes/meter.js +39 -0
  131. package/dist/recipes/meter.js.map +1 -0
  132. package/dist/recipes/motion.d.ts +6 -0
  133. package/dist/recipes/motion.js +34 -0
  134. package/dist/recipes/motion.js.map +1 -0
  135. package/dist/recipes/nebula.d.ts +9 -0
  136. package/dist/recipes/nebula.js +15 -0
  137. package/dist/recipes/nebula.js.map +1 -0
  138. package/dist/recipes/numberRange.d.ts +15 -0
  139. package/dist/recipes/numberRange.js +109 -0
  140. package/dist/recipes/numberRange.js.map +1 -0
  141. package/dist/recipes/paper.d.ts +22 -0
  142. package/dist/recipes/paper.js +42 -0
  143. package/dist/recipes/paper.js.map +1 -0
  144. package/dist/recipes/progressBar.d.ts +7 -0
  145. package/dist/recipes/progressBar.js +11 -0
  146. package/dist/recipes/progressBar.js.map +1 -0
  147. package/dist/recipes/queue.d.ts +16 -0
  148. package/dist/recipes/queue.js +27 -0
  149. package/dist/recipes/queue.js.map +1 -0
  150. package/dist/recipes/radioGroup.d.ts +27 -0
  151. package/dist/recipes/radioGroup.js +68 -0
  152. package/dist/recipes/radioGroup.js.map +1 -0
  153. package/dist/recipes/scopeSwitcher.d.ts +26 -0
  154. package/dist/recipes/scopeSwitcher.js +80 -0
  155. package/dist/recipes/scopeSwitcher.js.map +1 -0
  156. package/dist/recipes/scrollArea.d.ts +19 -0
  157. package/dist/recipes/scrollArea.js +43 -0
  158. package/dist/recipes/scrollArea.js.map +1 -0
  159. package/dist/recipes/searchPalette.d.ts +19 -0
  160. package/dist/recipes/searchPalette.js +63 -0
  161. package/dist/recipes/searchPalette.js.map +1 -0
  162. package/dist/recipes/sectionHeader.d.ts +9 -0
  163. package/dist/recipes/sectionHeader.js +10 -0
  164. package/dist/recipes/sectionHeader.js.map +1 -0
  165. package/dist/recipes/segmentedControl.d.ts +9 -0
  166. package/dist/recipes/segmentedControl.js +29 -0
  167. package/dist/recipes/segmentedControl.js.map +1 -0
  168. package/dist/recipes/select.d.ts +9 -0
  169. package/dist/recipes/select.js +21 -0
  170. package/dist/recipes/select.js.map +1 -0
  171. package/dist/recipes/separator.d.ts +14 -0
  172. package/dist/recipes/separator.js +59 -0
  173. package/dist/recipes/separator.js.map +1 -0
  174. package/dist/recipes/sidebar.d.ts +40 -0
  175. package/dist/recipes/sidebar.js +128 -0
  176. package/dist/recipes/sidebar.js.map +1 -0
  177. package/dist/recipes/sky.d.ts +20 -0
  178. package/dist/recipes/sky.js +127 -0
  179. package/dist/recipes/sky.js.map +1 -0
  180. package/dist/recipes/slider.d.ts +20 -0
  181. package/dist/recipes/slider.js +62 -0
  182. package/dist/recipes/slider.js.map +1 -0
  183. package/dist/recipes/stat.d.ts +30 -0
  184. package/dist/recipes/stat.js +52 -0
  185. package/dist/recipes/stat.js.map +1 -0
  186. package/dist/recipes/switch.d.ts +20 -0
  187. package/dist/recipes/switch.js +60 -0
  188. package/dist/recipes/switch.js.map +1 -0
  189. package/dist/recipes/table.d.ts +74 -0
  190. package/dist/recipes/table.js +182 -0
  191. package/dist/recipes/table.js.map +1 -0
  192. package/dist/recipes/tableFilter.d.ts +14 -0
  193. package/dist/recipes/tableFilter.js +28 -0
  194. package/dist/recipes/tableFilter.js.map +1 -0
  195. package/dist/recipes/tablePaging.d.ts +15 -0
  196. package/dist/recipes/tablePaging.js +50 -0
  197. package/dist/recipes/tablePaging.js.map +1 -0
  198. package/dist/recipes/tail.d.ts +20 -0
  199. package/dist/recipes/tail.js +48 -0
  200. package/dist/recipes/tail.js.map +1 -0
  201. package/dist/recipes/text.d.ts +25 -0
  202. package/dist/recipes/text.js +94 -0
  203. package/dist/recipes/text.js.map +1 -0
  204. package/dist/recipes/textarea.d.ts +13 -0
  205. package/dist/recipes/textarea.js +48 -0
  206. package/dist/recipes/textarea.js.map +1 -0
  207. package/dist/recipes/tile.d.ts +18 -0
  208. package/dist/recipes/tile.js +85 -0
  209. package/dist/recipes/tile.js.map +1 -0
  210. package/dist/recipes/tooltip.d.ts +12 -0
  211. package/dist/recipes/tooltip.js +26 -0
  212. package/dist/recipes/tooltip.js.map +1 -0
  213. package/dist/recipes/topBar.d.ts +15 -0
  214. package/dist/recipes/topBar.js +35 -0
  215. package/dist/recipes/topBar.js.map +1 -0
  216. package/dist/recipes/trail.d.ts +27 -0
  217. package/dist/recipes/trail.js +66 -0
  218. package/dist/recipes/trail.js.map +1 -0
  219. package/dist/recipes/userMenu.d.ts +11 -0
  220. package/dist/recipes/userMenu.js +38 -0
  221. package/dist/recipes/userMenu.js.map +1 -0
  222. package/dist/tally.d.ts +17 -0
  223. package/dist/tally.js +75 -0
  224. package/dist/tally.js.map +1 -0
  225. package/dist/tone.d.ts +26 -0
  226. package/dist/tone.js +26 -0
  227. package/dist/tone.js.map +1 -0
  228. package/dist/words.d.ts +116 -0
  229. package/dist/words.js +93 -0
  230. package/dist/words.js.map +1 -0
  231. package/package.json +72 -0
@@ -0,0 +1,35 @@
1
+ //#region src/parts/reveal.ts
2
+ const HIDDEN = "w-0 scale-90 opacity-0";
3
+ const SHOWN = "scale-100 opacity-100";
4
+ const revealedIcon = [
5
+ "inline-flex flex-none items-center overflow-hidden tf-reveals",
6
+ HIDDEN,
7
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:w-tf-icon-2xs",
8
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:scale-100",
9
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:opacity-100",
10
+ "in-[[data-part=head]:focus-within]:w-tf-icon-2xs",
11
+ "in-[[data-part=head]:focus-within]:scale-100",
12
+ "in-[[data-part=head]:focus-within]:opacity-100",
13
+ "in-[[data-part=head]:has([data-state=open])]:w-tf-icon-2xs",
14
+ "in-[[data-part=head]:has([data-state=open])]:scale-100",
15
+ "in-[[data-part=head]:has([data-state=open])]:opacity-100"
16
+ ].join(" ");
17
+ const revealedControl = [
18
+ "inline-flex flex-none items-center overflow-hidden tf-reveals",
19
+ HIDDEN,
20
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:w-tf-control-2xs",
21
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:scale-100",
22
+ "in-[[data-part=head]:hover,[data-part=head][data-hover]]:opacity-100",
23
+ "in-[[data-part=head]:focus-within]:w-tf-control-2xs",
24
+ "in-[[data-part=head]:focus-within]:scale-100",
25
+ "in-[[data-part=head]:focus-within]:opacity-100",
26
+ "in-[[data-part=head]:has([data-state=open])]:w-tf-control-2xs",
27
+ "in-[[data-part=head]:has([data-state=open])]:scale-100",
28
+ "in-[[data-part=head]:has([data-state=open])]:opacity-100"
29
+ ].join(" ");
30
+ const shownIcon = `inline-flex flex-none items-center tf-reveals w-tf-icon-2xs ${SHOWN}`;
31
+ const shownControl = `inline-flex flex-none items-center tf-reveals w-tf-control-2xs ${SHOWN}`;
32
+ //#endregion
33
+ export { revealedControl, revealedIcon, shownControl, shownIcon };
34
+
35
+ //# sourceMappingURL=reveal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"reveal.js","names":[],"sources":["../../src/parts/reveal.ts"],"sourcesContent":["const HIDDEN = 'w-0 scale-90 opacity-0'\n\nconst SHOWN = 'scale-100 opacity-100'\n\nconst revealedIcon = [\n 'inline-flex flex-none items-center overflow-hidden tf-reveals',\n HIDDEN,\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:w-tf-icon-2xs',\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:scale-100',\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:opacity-100',\n 'in-[[data-part=head]:focus-within]:w-tf-icon-2xs',\n 'in-[[data-part=head]:focus-within]:scale-100',\n 'in-[[data-part=head]:focus-within]:opacity-100',\n 'in-[[data-part=head]:has([data-state=open])]:w-tf-icon-2xs',\n 'in-[[data-part=head]:has([data-state=open])]:scale-100',\n 'in-[[data-part=head]:has([data-state=open])]:opacity-100',\n].join(' ')\n\nconst revealedControl = [\n 'inline-flex flex-none items-center overflow-hidden tf-reveals',\n HIDDEN,\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:w-tf-control-2xs',\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:scale-100',\n 'in-[[data-part=head]:hover,[data-part=head][data-hover]]:opacity-100',\n 'in-[[data-part=head]:focus-within]:w-tf-control-2xs',\n 'in-[[data-part=head]:focus-within]:scale-100',\n 'in-[[data-part=head]:focus-within]:opacity-100',\n 'in-[[data-part=head]:has([data-state=open])]:w-tf-control-2xs',\n 'in-[[data-part=head]:has([data-state=open])]:scale-100',\n 'in-[[data-part=head]:has([data-state=open])]:opacity-100',\n].join(' ')\n\nconst shownIcon = `inline-flex flex-none items-center tf-reveals w-tf-icon-2xs ${SHOWN}`\n\nconst shownControl = `inline-flex flex-none items-center tf-reveals w-tf-control-2xs ${SHOWN}`\n\nexport { revealedControl, revealedIcon, shownControl, shownIcon }\n"],"mappings":";AAAA,MAAM,SAAS;AAEf,MAAM,QAAQ;AAEd,MAAM,eAAe;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,KAAK,GAAG;AAEV,MAAM,kBAAkB;CACtB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,KAAK,GAAG;AAEV,MAAM,YAAY,+DAA+D;AAEjF,MAAM,eAAe,kEAAkE"}
@@ -0,0 +1,25 @@
1
+ //#region src/parts/rouse.ts
2
+ const tileRoused = [
3
+ "hovered:**:data-[part=tile]:tf-blended",
4
+ "hovered:**:data-[part=tile]:tf-milked",
5
+ "hovered:**:data-[part=tile]:tf-clouding",
6
+ "hovered:**:data-[part=tile]:tf-glow",
7
+ "hovered:**:data-[part=tile]:tf-lifted",
8
+ "hovered:**:data-[part=tile]:tf-lit-inside",
9
+ "hovered:**:data-[part=tile]:tf-edge-lit",
10
+ "motion-safe:hovered:**:data-[part=glyph]:scale-105"
11
+ ].join(" ");
12
+ const tileReached = [
13
+ "reached:**:data-[part=tile]:tf-blended",
14
+ "reached:**:data-[part=tile]:tf-milked",
15
+ "reached:**:data-[part=tile]:tf-clouding",
16
+ "reached:**:data-[part=tile]:tf-glow",
17
+ "reached:**:data-[part=tile]:tf-lifted",
18
+ "reached:**:data-[part=tile]:tf-lit-inside",
19
+ "reached:**:data-[part=tile]:tf-edge-lit",
20
+ "motion-safe:reached:**:data-[part=glyph]:scale-105"
21
+ ].join(" ");
22
+ //#endregion
23
+ export { tileReached, tileRoused };
24
+
25
+ //# sourceMappingURL=rouse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rouse.js","names":[],"sources":["../../src/parts/rouse.ts"],"sourcesContent":["const tileRoused = [\n 'hovered:**:data-[part=tile]:tf-blended',\n 'hovered:**:data-[part=tile]:tf-milked',\n 'hovered:**:data-[part=tile]:tf-clouding',\n 'hovered:**:data-[part=tile]:tf-glow',\n 'hovered:**:data-[part=tile]:tf-lifted',\n 'hovered:**:data-[part=tile]:tf-lit-inside',\n 'hovered:**:data-[part=tile]:tf-edge-lit',\n 'motion-safe:hovered:**:data-[part=glyph]:scale-105',\n].join(' ')\n\nconst tileReached = [\n 'reached:**:data-[part=tile]:tf-blended',\n 'reached:**:data-[part=tile]:tf-milked',\n 'reached:**:data-[part=tile]:tf-clouding',\n 'reached:**:data-[part=tile]:tf-glow',\n 'reached:**:data-[part=tile]:tf-lifted',\n 'reached:**:data-[part=tile]:tf-lit-inside',\n 'reached:**:data-[part=tile]:tf-edge-lit',\n 'motion-safe:reached:**:data-[part=glyph]:scale-105',\n].join(' ')\n\nexport { tileReached, tileRoused }\n"],"mappings":";AAAA,MAAM,aAAa;CACjB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,KAAK,GAAG;AAEV,MAAM,cAAc;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,KAAK,GAAG"}
@@ -0,0 +1,12 @@
1
+ //#region src/parts/rule.ts
2
+ const HAIRLINE_ACROSS = "h-tf-hairline blend-tf-accent";
3
+ const HAIRLINE_DOWN = "w-tf-hairline min-h-tf-row blend-tf-accent";
4
+ const ruleFading = `${HAIRLINE_ACROSS} tf-rule`;
5
+ const ruleQuiet = "h-tf-hairline tf-rule-quiet";
6
+ const ruleFilled = `${HAIRLINE_ACROSS} tf-rule-filled`;
7
+ const ruleFadingDown = `${HAIRLINE_DOWN} tf-rule-fall`;
8
+ const ruleFilledDown = `${HAIRLINE_DOWN} tf-rule-filled-fall`;
9
+ //#endregion
10
+ export { ruleFading, ruleFadingDown, ruleFilled, ruleFilledDown, ruleQuiet };
11
+
12
+ //# sourceMappingURL=rule.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rule.js","names":[],"sources":["../../src/parts/rule.ts"],"sourcesContent":["const HAIRLINE_ACROSS = 'h-tf-hairline blend-tf-accent'\n\nconst HAIRLINE_DOWN = 'w-tf-hairline min-h-tf-row blend-tf-accent'\n\nconst ruleFading = `${HAIRLINE_ACROSS} tf-rule`\n\nconst ruleQuiet = 'h-tf-hairline tf-rule-quiet'\n\nconst ruleFilled = `${HAIRLINE_ACROSS} tf-rule-filled`\n\nconst ruleFadingDown = `${HAIRLINE_DOWN} tf-rule-fall`\n\nconst ruleFilledDown = `${HAIRLINE_DOWN} tf-rule-filled-fall`\n\nexport { ruleFading, ruleFadingDown, ruleFilled, ruleFilledDown, ruleQuiet }\n"],"mappings":";AAAA,MAAM,kBAAkB;AAExB,MAAM,gBAAgB;AAEtB,MAAM,aAAa,GAAG,gBAAgB;AAEtC,MAAM,YAAY;AAElB,MAAM,aAAa,GAAG,gBAAgB;AAEtC,MAAM,iBAAiB,GAAG,cAAc;AAExC,MAAM,iBAAiB,GAAG,cAAc"}
@@ -0,0 +1,10 @@
1
+ //#region src/parts/scroll.ts
2
+ const scrollFades = [
3
+ "tf-scroll-faded tf-fades motion-reduce:transition-none",
4
+ "data-overflow-y:not-data-at-top:[--tf-fade-head:calc(var(--spacing)*6)]",
5
+ "data-overflow-y:not-data-at-bottom:[--tf-fade-foot:calc(var(--spacing)*6)]"
6
+ ];
7
+ //#endregion
8
+ export { scrollFades };
9
+
10
+ //# sourceMappingURL=scroll.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scroll.js","names":[],"sources":["../../src/parts/scroll.ts"],"sourcesContent":["const scrollFades = [\n 'tf-scroll-faded tf-fades motion-reduce:transition-none',\n 'data-overflow-y:not-data-at-top:[--tf-fade-head:calc(var(--spacing)*6)]',\n 'data-overflow-y:not-data-at-bottom:[--tf-fade-foot:calc(var(--spacing)*6)]',\n]\n\nexport { scrollFades }\n"],"mappings":";AAAA,MAAM,cAAc;CAClB;CACA;CACA;AACF"}
@@ -0,0 +1,23 @@
1
+ //#region src/parts/shell.ts
2
+ const controlLabelLevel = "asleep:**:data-[part=label]:scale-100";
3
+ const controlHealthy = [
4
+ "blend-tf-accent",
5
+ "asleep:**:data-[part=label]:tf-label-quiet",
6
+ "reached:**:data-[part=label]:tf-label-inked",
7
+ "not-data-readonly:reached:bg-tf-sunken-hi",
8
+ "data-readonly:reached:bg-tf-sunken"
9
+ ].join(" ");
10
+ const controlFailed = ["tf-edge-lit tf-clouding tf-label-failed blend-tf-danger", "**:data-[part=label]:tf-label-lit"].join(" ");
11
+ const controlShell = (wakes, labelRest) => [
12
+ "not-data-readonly:bg-tf-sunken data-readonly:bg-tf-sunken-quiet",
13
+ "tf-edge-sweep tf-swept tf-fill-scale tf-cloud-quiet tf-cloud-hidden",
14
+ "not-data-readonly:interactive:hovered:bg-tf-sunken-hi",
15
+ "reached:tf-edge-lit",
16
+ ...wakes,
17
+ labelRest,
18
+ controlLabelLevel
19
+ ];
20
+ //#endregion
21
+ export { controlFailed, controlHealthy, controlShell };
22
+
23
+ //# sourceMappingURL=shell.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.js","names":[],"sources":["../../src/parts/shell.ts"],"sourcesContent":["const controlLabelLevel = 'asleep:**:data-[part=label]:scale-100'\n\nconst controlHealthy = [\n 'blend-tf-accent',\n 'asleep:**:data-[part=label]:tf-label-quiet',\n 'reached:**:data-[part=label]:tf-label-inked',\n 'not-data-readonly:reached:bg-tf-sunken-hi',\n 'data-readonly:reached:bg-tf-sunken',\n].join(' ')\n\nconst controlFailed = [\n 'tf-edge-lit tf-clouding tf-label-failed blend-tf-danger',\n '**:data-[part=label]:tf-label-lit',\n].join(' ')\n\nconst controlShell = (wakes: readonly string[], labelRest: string): string[] => [\n 'not-data-readonly:bg-tf-sunken data-readonly:bg-tf-sunken-quiet',\n 'tf-edge-sweep tf-swept tf-fill-scale tf-cloud-quiet tf-cloud-hidden',\n 'not-data-readonly:interactive:hovered:bg-tf-sunken-hi',\n 'reached:tf-edge-lit',\n ...wakes,\n labelRest,\n controlLabelLevel,\n]\n\nexport { controlFailed, controlHealthy, controlShell }\n"],"mappings":";AAAA,MAAM,oBAAoB;AAE1B,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;CACA;AACF,CAAC,CAAC,KAAK,GAAG;AAEV,MAAM,gBAAgB,CACpB,2DACA,mCACF,CAAC,CAAC,KAAK,GAAG;AAEV,MAAM,gBAAgB,OAA0B,cAAgC;CAC9E;CACA;CACA;CACA;CACA,GAAG;CACH;CACA;AACF"}
@@ -0,0 +1,15 @@
1
+ //#region src/parts/surface.ts
2
+ const surfaceShape = ["relative isolate", "rounded-tf-card"];
3
+ const surfaceFill = ["bg-tf-panel backdrop-blur-tf-panel"];
4
+ const surfaceEdge = ["tf-edge-sweep tf-swept"];
5
+ const surfacePanel = [
6
+ ...surfaceShape,
7
+ ...surfaceFill,
8
+ ...surfaceEdge,
9
+ "blend-tf-accent"
10
+ ];
11
+ const surfaceLifted = ["shadow-tf-float", "tf-cloud-brand tf-clouded-lifted tf-fill-scale"];
12
+ //#endregion
13
+ export { surfaceLifted, surfacePanel };
14
+
15
+ //# sourceMappingURL=surface.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"surface.js","names":[],"sources":["../../src/parts/surface.ts"],"sourcesContent":["const surfaceShape = ['relative isolate', 'rounded-tf-card']\n\nconst surfaceFill = ['bg-tf-panel backdrop-blur-tf-panel']\n\nconst surfaceEdge = ['tf-edge-sweep tf-swept']\n\nconst surfacePanel = [...surfaceShape, ...surfaceFill, ...surfaceEdge, 'blend-tf-accent']\n\nconst surfaceLifted = ['shadow-tf-float', 'tf-cloud-brand tf-clouded-lifted tf-fill-scale']\n\nexport { surfaceLifted, surfacePanel }\n"],"mappings":";AAAA,MAAM,eAAe,CAAC,oBAAoB,iBAAiB;AAE3D,MAAM,cAAc,CAAC,oCAAoC;AAEzD,MAAM,cAAc,CAAC,wBAAwB;AAE7C,MAAM,eAAe;CAAC,GAAG;CAAc,GAAG;CAAa,GAAG;CAAa;AAAiB;AAExF,MAAM,gBAAgB,CAAC,mBAAmB,gDAAgD"}
@@ -0,0 +1,13 @@
1
+ //#region src/parts/tone.ts
2
+ const tones = [
3
+ "accent",
4
+ "success",
5
+ "warning",
6
+ "info",
7
+ "danger"
8
+ ];
9
+ const defaultTone = "accent";
10
+ //#endregion
11
+ export { defaultTone, tones };
12
+
13
+ //# sourceMappingURL=tone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tone.js","names":[],"sources":["../../src/parts/tone.ts"],"sourcesContent":["import type { Tone } from '#tone'\n\nconst tones = ['accent', 'success', 'warning', 'info', 'danger'] as const satisfies readonly Tone[]\n\nconst defaultTone = 'accent' satisfies Tone\n\nexport { defaultTone, tones }\n"],"mappings":";AAEA,MAAM,QAAQ;CAAC;CAAU;CAAW;CAAW;CAAQ;AAAQ;AAE/D,MAAM,cAAc"}
@@ -0,0 +1,11 @@
1
+ //#region src/parts/travel.ts
2
+ const travelMarkBase = [
3
+ "pointer-events-none absolute top-0",
4
+ "opacity-0 data-lit:opacity-100",
5
+ "tf-slides-settle tf-transition motion-reduce:transition-none",
6
+ "data-placing:[--tf-slide-timing:0s]"
7
+ ];
8
+ //#endregion
9
+ export { travelMarkBase };
10
+
11
+ //# sourceMappingURL=travel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"travel.js","names":[],"sources":["../../src/parts/travel.ts"],"sourcesContent":["const travelMarkBase = [\n 'pointer-events-none absolute top-0',\n 'opacity-0 data-lit:opacity-100',\n 'tf-slides-settle tf-transition motion-reduce:transition-none',\n 'data-placing:[--tf-slide-timing:0s]',\n]\n\nexport { travelMarkBase }\n"],"mappings":";AAAA,MAAM,iBAAiB;CACrB;CACA;CACA;CACA;AACF"}
@@ -0,0 +1,13 @@
1
+ //#region src/recipes/accordion.d.ts
2
+ declare const accordionRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ declare const accordionItemRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ declare const accordionTriggerRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ declare const accordionLabelRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
+ declare const accordionMetaRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
7
+ declare const accordionIndicatorRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
+ declare const accordionContentRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ declare const accordionBodyRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ declare const accordionRuleRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
+ //#endregion
12
+ export { accordionBodyRecipe, accordionContentRecipe, accordionIndicatorRecipe, accordionItemRecipe, accordionLabelRecipe, accordionMetaRecipe, accordionRecipe, accordionRuleRecipe, accordionTriggerRecipe };
13
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1,42 @@
1
+ import { controlInert, controlReach } from "../parts/control.js";
2
+ import { ruleFading } from "../parts/rule.js";
3
+ import { collapseMotion } from "./motion.js";
4
+ import { cva } from "class-variance-authority";
5
+ //#region src/recipes/accordion.ts
6
+ const accordionRecipe = cva("flex w-full flex-col gap-3 font-tf-body");
7
+ const accordionItemRecipe = cva([
8
+ "relative isolate flex flex-col rounded-tf-block bg-tf-panel",
9
+ "tf-edge-sweep tf-swept blend-tf-accent tf-edge-plain",
10
+ "data-[state=open]:bg-tf-panel-hi data-[state=open]:tf-ring-rest",
11
+ "tf-transition motion-reduce:transition-none",
12
+ "data-disabled:opacity-50"
13
+ ]);
14
+ const accordionTriggerRecipe = cva([
15
+ "flex min-h-tf-control-lg w-full flex-none items-center gap-4",
16
+ "rounded-tf-block px-4 text-left",
17
+ "text-tf-body text-tf-fg",
18
+ "not-data-[state=open]:interactive:hovered:bg-tf-panel-hi",
19
+ "cursor-pointer tf-transition motion-reduce:transition-none",
20
+ "tf-icons",
21
+ ...controlReach,
22
+ ...controlInert
23
+ ]);
24
+ const accordionLabelRecipe = cva("min-w-0 flex-1 py-3 text-pretty");
25
+ const accordionMetaRecipe = cva("flex-none font-mono text-tf-caption-sm text-tf-muted");
26
+ const accordionIndicatorRecipe = cva([
27
+ "flex size-tf-icon-sm flex-none items-center justify-center",
28
+ "text-tf-muted [&_svg]:size-tf-icon-sm [&_svg]:shrink-0",
29
+ "data-[state=open]:rotate-180 data-[state=open]:text-tf-accent-hi",
30
+ "tf-transition motion-reduce:transition-none"
31
+ ]);
32
+ const accordionContentRecipe = cva([...collapseMotion, "motion-reduce:animate-none"]);
33
+ const accordionBodyRecipe = cva([
34
+ "flex flex-col gap-4 px-4 pt-3 pb-4",
35
+ "text-tf-body-sm font-medium text-tf-muted",
36
+ "in-data-[state=open]:motion-safe:animate-tf-rise"
37
+ ]);
38
+ const accordionRuleRecipe = cva([`flex-none ${ruleFading}`, "origin-left in-data-[state=open]:motion-safe:animate-tf-draw"]);
39
+ //#endregion
40
+ export { accordionBodyRecipe, accordionContentRecipe, accordionIndicatorRecipe, accordionItemRecipe, accordionLabelRecipe, accordionMetaRecipe, accordionRecipe, accordionRuleRecipe, accordionTriggerRecipe };
41
+
42
+ //# sourceMappingURL=accordion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.js","names":[],"sources":["../../src/recipes/accordion.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nimport { controlInert, controlReach } from '#parts/control'\nimport { ruleFading } from '#parts/rule'\n\nimport { collapseMotion } from './motion'\n\nconst accordionRecipe = cva('flex w-full flex-col gap-3 font-tf-body')\n\nconst accordionItemRecipe = cva([\n 'relative isolate flex flex-col rounded-tf-block bg-tf-panel',\n 'tf-edge-sweep tf-swept blend-tf-accent tf-edge-plain',\n 'data-[state=open]:bg-tf-panel-hi data-[state=open]:tf-ring-rest',\n 'tf-transition motion-reduce:transition-none',\n 'data-disabled:opacity-50',\n])\n\nconst accordionTriggerRecipe = cva([\n 'flex min-h-tf-control-lg w-full flex-none items-center gap-4',\n 'rounded-tf-block px-4 text-left',\n 'text-tf-body text-tf-fg',\n 'not-data-[state=open]:interactive:hovered:bg-tf-panel-hi',\n 'cursor-pointer tf-transition motion-reduce:transition-none',\n 'tf-icons',\n ...controlReach,\n ...controlInert,\n])\n\nconst accordionLabelRecipe = cva('min-w-0 flex-1 py-3 text-pretty')\n\nconst accordionMetaRecipe = cva('flex-none font-mono text-tf-caption-sm text-tf-muted')\n\nconst accordionIndicatorRecipe = cva([\n 'flex size-tf-icon-sm flex-none items-center justify-center',\n 'text-tf-muted [&_svg]:size-tf-icon-sm [&_svg]:shrink-0',\n 'data-[state=open]:rotate-180 data-[state=open]:text-tf-accent-hi',\n 'tf-transition motion-reduce:transition-none',\n])\n\nconst accordionContentRecipe = cva([...collapseMotion, 'motion-reduce:animate-none'])\n\nconst accordionBodyRecipe = cva([\n 'flex flex-col gap-4 px-4 pt-3 pb-4',\n 'text-tf-body-sm font-medium text-tf-muted',\n 'in-data-[state=open]:motion-safe:animate-tf-rise',\n])\n\nconst accordionRuleRecipe = cva([\n `flex-none ${ruleFading}`,\n 'origin-left in-data-[state=open]:motion-safe:animate-tf-draw',\n])\n\nexport {\n accordionBodyRecipe,\n accordionContentRecipe,\n accordionIndicatorRecipe,\n accordionItemRecipe,\n accordionLabelRecipe,\n accordionMetaRecipe,\n accordionRecipe,\n accordionRuleRecipe,\n accordionTriggerRecipe,\n}\n"],"mappings":";;;;;AAOA,MAAM,kBAAkB,IAAI,yCAAyC;AAErE,MAAM,sBAAsB,IAAI;CAC9B;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,yBAAyB,IAAI;CACjC;CACA;CACA;CACA;CACA;CACA;CACA,GAAG;CACH,GAAG;AACL,CAAC;AAED,MAAM,uBAAuB,IAAI,iCAAiC;AAElE,MAAM,sBAAsB,IAAI,sDAAsD;AAEtF,MAAM,2BAA2B,IAAI;CACnC;CACA;CACA;CACA;AACF,CAAC;AAED,MAAM,yBAAyB,IAAI,CAAC,GAAG,gBAAgB,4BAA4B,CAAC;AAEpF,MAAM,sBAAsB,IAAI;CAC9B;CACA;CACA;AACF,CAAC;AAED,MAAM,sBAAsB,IAAI,CAC9B,aAAa,cACb,8DACF,CAAC"}
@@ -0,0 +1,16 @@
1
+ //#region src/recipes/alert.d.ts
2
+ declare const alertVariants: readonly ["banner", "inline"];
3
+ type AlertVariant = (typeof alertVariants)[number];
4
+ declare const defaultAlertVariant = "banner";
5
+ declare const alertBannerRecipe: (props?: ({
6
+ titled?: boolean | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ declare const alertBannerTextRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ declare const alertDetailRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ declare const alertActionRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
11
+ declare const alertInlineRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
12
+ declare const alertInlineMarkRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
13
+ declare const alertInlineTextRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
14
+ //#endregion
15
+ export { type AlertVariant, alertActionRecipe, alertBannerRecipe, alertBannerTextRecipe, alertDetailRecipe, alertInlineMarkRecipe, alertInlineRecipe, alertInlineTextRecipe, alertVariants, defaultAlertVariant };
16
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1,21 @@
1
+ import { cva } from "class-variance-authority";
2
+ //#region src/recipes/alert.ts
3
+ const alertVariants = ["banner", "inline"];
4
+ const defaultAlertVariant = "banner";
5
+ const alertBannerRecipe = cva("flex flex-col items-start gap-5 @tf-panel:flex-row", {
6
+ defaultVariants: { titled: true },
7
+ variants: { titled: {
8
+ false: "@tf-panel:items-center",
9
+ true: ""
10
+ } }
11
+ });
12
+ const alertBannerTextRecipe = cva("flex min-w-0 flex-1 flex-col gap-5");
13
+ const alertDetailRecipe = cva("flex flex-wrap gap-2");
14
+ const alertActionRecipe = cva(["-mr-3 ml-auto flex flex-none items-center", "@tf-panel:min-h-tf-control-lg"]);
15
+ const alertInlineRecipe = cva(["flex items-center gap-3 rounded-tf-control bg-tf-sunken-hi px-4 py-3"]);
16
+ const alertInlineMarkRecipe = cva("size-2 flex-none rounded-tf-pill bg-tf-blend");
17
+ const alertInlineTextRecipe = cva("min-w-0 flex-1 text-tf-body-sm font-medium text-tf-fg");
18
+ //#endregion
19
+ export { alertActionRecipe, alertBannerRecipe, alertBannerTextRecipe, alertDetailRecipe, alertInlineMarkRecipe, alertInlineRecipe, alertInlineTextRecipe, alertVariants, defaultAlertVariant };
20
+
21
+ //# sourceMappingURL=alert.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.js","names":[],"sources":["../../src/recipes/alert.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nconst alertVariants = ['banner', 'inline'] as const\n\ntype AlertVariant = (typeof alertVariants)[number]\n\nconst defaultAlertVariant = 'banner' satisfies AlertVariant\n\nconst alertBannerRecipe = cva('flex flex-col items-start gap-5 @tf-panel:flex-row', {\n defaultVariants: { titled: true },\n variants: {\n titled: { false: '@tf-panel:items-center', true: '' },\n },\n})\n\nconst alertBannerTextRecipe = cva('flex min-w-0 flex-1 flex-col gap-5')\n\nconst alertDetailRecipe = cva('flex flex-wrap gap-2')\n\nconst alertActionRecipe = cva([\n '-mr-3 ml-auto flex flex-none items-center',\n '@tf-panel:min-h-tf-control-lg',\n])\n\nconst alertInlineRecipe = cva([\n 'flex items-center gap-3 rounded-tf-control bg-tf-sunken-hi px-4 py-3',\n])\n\nconst alertInlineMarkRecipe = cva('size-2 flex-none rounded-tf-pill bg-tf-blend')\n\nconst alertInlineTextRecipe = cva('min-w-0 flex-1 text-tf-body-sm font-medium text-tf-fg')\n\nexport {\n type AlertVariant,\n alertActionRecipe,\n alertBannerRecipe,\n alertBannerTextRecipe,\n alertDetailRecipe,\n alertInlineMarkRecipe,\n alertInlineRecipe,\n alertInlineTextRecipe,\n alertVariants,\n defaultAlertVariant,\n}\n"],"mappings":";;AAEA,MAAM,gBAAgB,CAAC,UAAU,QAAQ;AAIzC,MAAM,sBAAsB;AAE5B,MAAM,oBAAoB,IAAI,sDAAsD;CAClF,iBAAiB,EAAE,QAAQ,KAAK;CAChC,UAAU,EACR,QAAQ;EAAE,OAAO;EAA0B,MAAM;CAAG,EACtD;AACF,CAAC;AAED,MAAM,wBAAwB,IAAI,oCAAoC;AAEtE,MAAM,oBAAoB,IAAI,sBAAsB;AAEpD,MAAM,oBAAoB,IAAI,CAC5B,6CACA,+BACF,CAAC;AAED,MAAM,oBAAoB,IAAI,CAC5B,sEACF,CAAC;AAED,MAAM,wBAAwB,IAAI,8CAA8C;AAEhF,MAAM,wBAAwB,IAAI,uDAAuD"}
@@ -0,0 +1,8 @@
1
+ //#region src/recipes/band.d.ts
2
+ declare const bandRecipe: (props?: ({
3
+ divider?: boolean | null | undefined;
4
+ surface?: boolean | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ //#endregion
7
+ export { bandRecipe };
8
+ //# sourceMappingURL=band.d.ts.map
@@ -0,0 +1,22 @@
1
+ import { cva } from "class-variance-authority";
2
+ //#region src/recipes/band.ts
3
+ const bandRecipe = cva("px-6 py-24 sm:px-12", {
4
+ defaultVariants: {
5
+ divider: false,
6
+ surface: false
7
+ },
8
+ variants: {
9
+ divider: {
10
+ false: "",
11
+ true: "border-t border-tf-line-2"
12
+ },
13
+ surface: {
14
+ false: "",
15
+ true: "bg-tf-surface"
16
+ }
17
+ }
18
+ });
19
+ //#endregion
20
+ export { bandRecipe };
21
+
22
+ //# sourceMappingURL=band.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"band.js","names":[],"sources":["../../src/recipes/band.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nconst bandRecipe = cva('px-6 py-24 sm:px-12', {\n defaultVariants: { divider: false, surface: false },\n variants: {\n divider: { false: '', true: 'border-t border-tf-line-2' },\n surface: { false: '', true: 'bg-tf-surface' },\n },\n})\n\nexport { bandRecipe }\n"],"mappings":";;AAEA,MAAM,aAAa,IAAI,uBAAuB;CAC5C,iBAAiB;EAAE,SAAS;EAAO,SAAS;CAAM;CAClD,UAAU;EACR,SAAS;GAAE,OAAO;GAAI,MAAM;EAA4B;EACxD,SAAS;GAAE,OAAO;GAAI,MAAM;EAAgB;CAC9C;AACF,CAAC"}
@@ -0,0 +1,17 @@
1
+ //#region src/recipes/bars.d.ts
2
+ declare const barsRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ declare const barsHeadRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ declare const barsTextRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
5
+ declare const barsLabelRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
6
+ declare const barsHintRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
7
+ declare const barsFootRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
8
+ declare const barsLegendRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
9
+ declare const barsLegendListRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
10
+ declare const barsLegendDotRecipe: (props?: ({
11
+ tone?: "accent" | "plain" | null | undefined;
12
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
13
+ declare const barsSummaryRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
14
+ declare const barsChartRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
15
+ //#endregion
16
+ export { barsChartRecipe, barsFootRecipe, barsHeadRecipe, barsHintRecipe, barsLabelRecipe, barsLegendDotRecipe, barsLegendListRecipe, barsLegendRecipe, barsRecipe, barsSummaryRecipe, barsTextRecipe };
17
+ //# sourceMappingURL=bars.d.ts.map
@@ -0,0 +1,27 @@
1
+ import { cva } from "class-variance-authority";
2
+ //#region src/recipes/bars.ts
3
+ const barsRecipe = cva([
4
+ "@container relative isolate flex grow flex-col justify-between gap-4 p-6",
5
+ "rounded-tf-card bg-tf-glass shadow-tf-float backdrop-blur-tf-glass",
6
+ "tf-edge-sweep font-tf-body text-tf-fg tf-transition"
7
+ ]);
8
+ const barsHeadRecipe = cva("flex flex-wrap items-start justify-between gap-4");
9
+ const barsTextRecipe = cva("flex flex-col gap-1");
10
+ const barsLabelRecipe = cva("text-tf-body-sm font-medium text-tf-fg");
11
+ const barsHintRecipe = cva("text-tf-caption-sm text-tf-muted");
12
+ const barsFootRecipe = cva("flex flex-col items-end gap-1 text-tf-caption-sm text-tf-muted");
13
+ const barsLegendRecipe = cva("flex items-center gap-2");
14
+ const barsLegendListRecipe = cva("flex flex-wrap items-center gap-4");
15
+ const barsLegendDotRecipe = cva("size-2 flex-none rounded-tf-pill", {
16
+ defaultVariants: { tone: "accent" },
17
+ variants: { tone: {
18
+ accent: "bg-tf-blend blend-tf-accent",
19
+ plain: ""
20
+ } }
21
+ });
22
+ const barsSummaryRecipe = cva("tabular-nums");
23
+ const barsChartRecipe = cva("h-36 w-full");
24
+ //#endregion
25
+ export { barsChartRecipe, barsFootRecipe, barsHeadRecipe, barsHintRecipe, barsLabelRecipe, barsLegendDotRecipe, barsLegendListRecipe, barsLegendRecipe, barsRecipe, barsSummaryRecipe, barsTextRecipe };
26
+
27
+ //# sourceMappingURL=bars.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bars.js","names":[],"sources":["../../src/recipes/bars.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nconst barsRecipe = cva([\n '@container relative isolate flex grow flex-col justify-between gap-4 p-6',\n 'rounded-tf-card bg-tf-glass shadow-tf-float backdrop-blur-tf-glass',\n 'tf-edge-sweep font-tf-body text-tf-fg tf-transition',\n])\n\nconst barsHeadRecipe = cva('flex flex-wrap items-start justify-between gap-4')\n\nconst barsTextRecipe = cva('flex flex-col gap-1')\n\nconst barsLabelRecipe = cva('text-tf-body-sm font-medium text-tf-fg')\n\nconst barsHintRecipe = cva('text-tf-caption-sm text-tf-muted')\n\nconst barsFootRecipe = cva('flex flex-col items-end gap-1 text-tf-caption-sm text-tf-muted')\n\nconst barsLegendRecipe = cva('flex items-center gap-2')\n\nconst barsLegendListRecipe = cva('flex flex-wrap items-center gap-4')\n\nconst barsLegendDotRecipe = cva('size-2 flex-none rounded-tf-pill', {\n defaultVariants: { tone: 'accent' },\n variants: {\n tone: {\n accent: 'bg-tf-blend blend-tf-accent',\n plain: '',\n },\n },\n})\n\nconst barsSummaryRecipe = cva('tabular-nums')\n\nconst barsChartRecipe = cva('h-36 w-full')\n\nexport {\n barsChartRecipe,\n barsFootRecipe,\n barsHeadRecipe,\n barsHintRecipe,\n barsLabelRecipe,\n barsLegendDotRecipe,\n barsLegendListRecipe,\n barsLegendRecipe,\n barsRecipe,\n barsSummaryRecipe,\n barsTextRecipe,\n}\n"],"mappings":";;AAEA,MAAM,aAAa,IAAI;CACrB;CACA;CACA;AACF,CAAC;AAED,MAAM,iBAAiB,IAAI,kDAAkD;AAE7E,MAAM,iBAAiB,IAAI,qBAAqB;AAEhD,MAAM,kBAAkB,IAAI,wCAAwC;AAEpE,MAAM,iBAAiB,IAAI,kCAAkC;AAE7D,MAAM,iBAAiB,IAAI,gEAAgE;AAE3F,MAAM,mBAAmB,IAAI,yBAAyB;AAEtD,MAAM,uBAAuB,IAAI,mCAAmC;AAEpE,MAAM,sBAAsB,IAAI,oCAAoC;CAClE,iBAAiB,EAAE,MAAM,SAAS;CAClC,UAAU,EACR,MAAM;EACJ,QAAQ;EACR,OAAO;CACT,EACF;AACF,CAAC;AAED,MAAM,oBAAoB,IAAI,cAAc;AAE5C,MAAM,kBAAkB,IAAI,aAAa"}
@@ -0,0 +1,5 @@
1
+ //#region src/recipes/brandMark.d.ts
2
+ declare const brandMarkRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
3
+ //#endregion
4
+ export { brandMarkRecipe };
5
+ //# sourceMappingURL=brandMark.d.ts.map
@@ -0,0 +1,7 @@
1
+ import { cva } from "class-variance-authority";
2
+ //#region src/recipes/brandMark.ts
3
+ const brandMarkRecipe = cva("block size-tf-icon-solo-sm shrink-0");
4
+ //#endregion
5
+ export { brandMarkRecipe };
6
+
7
+ //# sourceMappingURL=brandMark.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brandMark.js","names":[],"sources":["../../src/recipes/brandMark.ts"],"sourcesContent":["import { cva } from 'class-variance-authority'\n\nconst brandMarkRecipe = cva('block size-tf-icon-solo-sm shrink-0')\n\nexport { brandMarkRecipe }\n"],"mappings":";;AAEA,MAAM,kBAAkB,IAAI,qCAAqC"}
@@ -0,0 +1,23 @@
1
+ import { Tone } from "../tone.js";
2
+ //#region src/recipes/button.d.ts
3
+ declare const buttonSpinnerRecipe: (props?: import("class-variance-authority/types").ClassProp | undefined) => string;
4
+ declare const buttonWordsRecipe: (props?: ({
5
+ size?: "sm" | "md" | "lg" | "xs" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ type ButtonVariant = 'primary' | 'secondary' | 'ghost' | 'danger' | 'success' | 'warning' | 'info' | 'link';
8
+ type ButtonAccent = Tone;
9
+ declare const buttonRecipe: (props?: ({
10
+ accent?: "accent" | "success" | "warning" | "info" | "danger" | null | undefined;
11
+ fullWidth?: boolean | null | undefined;
12
+ iconOnly?: boolean | null | undefined;
13
+ leading?: boolean | null | undefined;
14
+ size?: "sm" | "md" | "lg" | "xs" | null | undefined;
15
+ trailing?: boolean | null | undefined;
16
+ variant?: "success" | "warning" | "info" | "danger" | "ghost" | "secondary" | "link" | "primary" | null | undefined;
17
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
18
+ declare const buttonVariants: readonly ["primary", "secondary", "ghost", "success", "warning", "danger", "info", "link"];
19
+ declare const buttonSizes: readonly ["xs", "sm", "md", "lg"];
20
+ declare const buttonAccents: readonly ["accent", "success", "warning", "info", "danger"];
21
+ //#endregion
22
+ export { type ButtonAccent, type ButtonVariant, buttonAccents, buttonRecipe, buttonSizes, buttonSpinnerRecipe, buttonVariants, buttonWordsRecipe };
23
+ //# sourceMappingURL=button.d.ts.map