@nearform/quantum 1.8.0 → 1.9.1

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 (260) hide show
  1. package/README.md +19 -1
  2. package/dist/animations/index.d.ts +25 -0
  3. package/dist/animations/index.js +14 -37
  4. package/dist/animations/index.js.map +1 -1
  5. package/dist/assets/build/open-source.icon.d.ts +2 -0
  6. package/dist/assets/build/open-source.icon.js +7 -0
  7. package/dist/assets/build/open-source.icon.js.map +1 -0
  8. package/dist/assets/index.d.ts +13 -0
  9. package/dist/assets/index.js +29 -0
  10. package/dist/assets/index.js.map +1 -0
  11. package/dist/colors/accent.d.ts +16 -0
  12. package/dist/colors/accent.js +21 -0
  13. package/dist/colors/accent.js.map +1 -0
  14. package/dist/colors/background.d.ts +36 -0
  15. package/dist/colors/background.js +41 -0
  16. package/dist/colors/background.js.map +1 -0
  17. package/dist/colors/base.d.ts +136 -0
  18. package/dist/colors/base.js +140 -0
  19. package/dist/colors/base.js.map +1 -0
  20. package/dist/colors/border.d.ts +16 -0
  21. package/dist/colors/border.js +21 -0
  22. package/dist/colors/border.js.map +1 -0
  23. package/dist/colors/button.d.ts +106 -0
  24. package/dist/colors/button.js +115 -0
  25. package/dist/colors/button.js.map +1 -0
  26. package/dist/colors/feedback.d.ts +27 -0
  27. package/dist/colors/feedback.js +32 -0
  28. package/dist/colors/feedback.js.map +1 -0
  29. package/dist/colors/foreground.d.ts +35 -0
  30. package/dist/colors/foreground.js +40 -0
  31. package/dist/colors/foreground.js.map +1 -0
  32. package/dist/colors/index.d.ts +351 -0
  33. package/dist/colors/index.js +13 -416
  34. package/dist/colors/index.js.map +1 -1
  35. package/dist/components/Accordion/index.d.ts +13 -0
  36. package/dist/components/Accordion/index.js +97 -0
  37. package/dist/components/Accordion/index.js.map +1 -0
  38. package/dist/components/AppHeader/index.d.ts +21 -0
  39. package/dist/components/AppHeader/index.js +98 -0
  40. package/dist/components/AppHeader/index.js.map +1 -0
  41. package/dist/components/Avatar/index.d.ts +32 -0
  42. package/dist/components/Avatar/index.js +116 -0
  43. package/dist/components/Avatar/index.js.map +1 -0
  44. package/dist/components/BackLink/index.d.ts +9 -0
  45. package/dist/components/BackLink/index.js +80 -0
  46. package/dist/components/BackLink/index.js.map +1 -0
  47. package/dist/components/Badge/index.d.ts +48 -0
  48. package/dist/components/Badge/index.js +160 -0
  49. package/dist/components/Badge/index.js.map +1 -0
  50. package/dist/components/Breadcrumb/index.d.ts +13 -0
  51. package/dist/components/Breadcrumb/index.js +90 -0
  52. package/dist/components/Breadcrumb/index.js.map +1 -0
  53. package/dist/components/Button/index.d.ts +17 -0
  54. package/dist/components/Button/index.js +204 -0
  55. package/dist/components/Button/index.js.map +1 -0
  56. package/dist/components/ButtonGroup/index.d.ts +11 -0
  57. package/dist/components/ButtonGroup/index.js +102 -0
  58. package/dist/components/ButtonGroup/index.js.map +1 -0
  59. package/dist/components/Calendar/index.d.ts +8 -0
  60. package/dist/components/Calendar/index.js +146 -0
  61. package/dist/components/Calendar/index.js.map +1 -0
  62. package/dist/components/Card/index.d.ts +28 -0
  63. package/dist/components/Card/index.js +155 -0
  64. package/dist/components/Card/index.js.map +1 -0
  65. package/dist/components/Chat/index.d.ts +39 -0
  66. package/dist/components/Chat/index.js +100 -0
  67. package/dist/components/Chat/index.js.map +1 -0
  68. package/dist/components/Checkbox/index.d.ts +5 -0
  69. package/dist/components/Checkbox/index.js +128 -0
  70. package/dist/components/Checkbox/index.js.map +1 -0
  71. package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +61 -0
  72. package/dist/components/CheckboxGroup/CheckboxGroup.js +107 -0
  73. package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
  74. package/dist/components/CheckboxGroup/CheckboxGroupItem.d.ts +19 -0
  75. package/dist/components/CheckboxGroup/CheckboxGroupItem.js +83 -0
  76. package/dist/components/CheckboxGroup/CheckboxGroupItem.js.map +1 -0
  77. package/dist/components/CheckboxGroup/index.d.ts +2 -0
  78. package/dist/components/CheckboxGroup/index.js +9 -0
  79. package/dist/components/CheckboxGroup/index.js.map +1 -0
  80. package/dist/components/Chip/index.d.ts +11 -0
  81. package/dist/components/Chip/index.js +105 -0
  82. package/dist/components/Chip/index.js.map +1 -0
  83. package/dist/components/CodeBlock/index.d.ts +7 -0
  84. package/dist/components/CodeBlock/index.js +57 -0
  85. package/dist/components/CodeBlock/index.js.map +1 -0
  86. package/dist/components/ControlLabel/index.d.ts +13 -0
  87. package/dist/components/ControlLabel/index.js +83 -0
  88. package/dist/components/ControlLabel/index.js.map +1 -0
  89. package/dist/components/DateInput/index.d.ts +26 -0
  90. package/dist/components/DateInput/index.js +261 -0
  91. package/dist/components/DateInput/index.js.map +1 -0
  92. package/dist/components/DocsList/index.d.ts +18 -0
  93. package/dist/components/DocsList/index.js +125 -0
  94. package/dist/components/DocsList/index.js.map +1 -0
  95. package/dist/components/FormGroup/index.d.ts +121 -0
  96. package/dist/components/FormGroup/index.js +359 -0
  97. package/dist/components/FormGroup/index.js.map +1 -0
  98. package/dist/components/HeroButton/index.d.ts +17 -0
  99. package/dist/components/HeroButton/index.js +139 -0
  100. package/dist/components/HeroButton/index.js.map +1 -0
  101. package/dist/components/IconButton/index.d.ts +77 -0
  102. package/dist/components/IconButton/index.js +235 -0
  103. package/dist/components/IconButton/index.js.map +1 -0
  104. package/dist/components/Input/index.d.ts +27 -0
  105. package/dist/components/Input/index.js +179 -0
  106. package/dist/components/Input/index.js.map +1 -0
  107. package/dist/components/Label/index.d.ts +12 -0
  108. package/dist/components/Label/index.js +89 -0
  109. package/dist/components/Label/index.js.map +1 -0
  110. package/dist/components/Link/index.d.ts +8 -0
  111. package/dist/components/Link/index.js +40 -0
  112. package/dist/components/Link/index.js.map +1 -0
  113. package/dist/components/Modal/index.d.ts +26 -0
  114. package/dist/components/Modal/index.js +143 -0
  115. package/dist/components/Modal/index.js.map +1 -0
  116. package/dist/components/Navigation/index.d.ts +8 -0
  117. package/dist/components/Navigation/index.js +65 -0
  118. package/dist/components/Navigation/index.js.map +1 -0
  119. package/dist/components/Notice/index.d.ts +17 -0
  120. package/dist/components/Notice/index.js +134 -0
  121. package/dist/components/Notice/index.js.map +1 -0
  122. package/dist/components/PageHeader/index.d.ts +15 -0
  123. package/dist/components/PageHeader/index.js +90 -0
  124. package/dist/components/PageHeader/index.js.map +1 -0
  125. package/dist/components/Pagination/index.d.ts +17 -0
  126. package/dist/components/Pagination/index.js +118 -0
  127. package/dist/components/Pagination/index.js.map +1 -0
  128. package/dist/components/Password/index.d.ts +18 -0
  129. package/dist/components/Password/index.js +106 -0
  130. package/dist/components/Password/index.js.map +1 -0
  131. package/dist/components/Popover/index.d.ts +28 -0
  132. package/dist/components/Popover/index.js +97 -0
  133. package/dist/components/Popover/index.js.map +1 -0
  134. package/dist/components/Radio/RadioGroup.d.ts +42 -0
  135. package/dist/components/Radio/RadioGroup.js +82 -0
  136. package/dist/components/Radio/RadioGroup.js.map +1 -0
  137. package/dist/components/Radio/RadioGroupItem.d.ts +17 -0
  138. package/dist/components/Radio/RadioGroupItem.js +117 -0
  139. package/dist/components/Radio/RadioGroupItem.js.map +1 -0
  140. package/dist/components/Radio/index.d.ts +2 -0
  141. package/dist/components/Radio/index.js +8 -0
  142. package/dist/components/Radio/index.js.map +1 -0
  143. package/dist/components/Select/index.d.ts +19 -0
  144. package/dist/components/Select/index.js +206 -0
  145. package/dist/components/Select/index.js.map +1 -0
  146. package/dist/components/Slider/index.d.ts +18 -0
  147. package/dist/components/Slider/index.js +122 -0
  148. package/dist/components/Slider/index.js.map +1 -0
  149. package/dist/components/SortAndShow/index.d.ts +15 -0
  150. package/dist/components/SortAndShow/index.js +68 -0
  151. package/dist/components/SortAndShow/index.js.map +1 -0
  152. package/dist/components/SplitButton/index.d.ts +25 -0
  153. package/dist/components/SplitButton/index.js +224 -0
  154. package/dist/components/SplitButton/index.js.map +1 -0
  155. package/dist/components/Stats/index.d.ts +10 -0
  156. package/dist/components/Stats/index.js +63 -0
  157. package/dist/components/Stats/index.js.map +1 -0
  158. package/dist/components/Stepper/index.d.ts +23 -0
  159. package/dist/components/Stepper/index.js +142 -0
  160. package/dist/components/Stepper/index.js.map +1 -0
  161. package/dist/components/StepsIndicator/Step.d.ts +6 -0
  162. package/dist/components/StepsIndicator/Step.js +24 -0
  163. package/dist/components/StepsIndicator/Step.js.map +1 -0
  164. package/dist/components/StepsIndicator/StepsIndicator.d.ts +12 -0
  165. package/dist/components/StepsIndicator/StepsIndicator.js +67 -0
  166. package/dist/components/StepsIndicator/StepsIndicator.js.map +1 -0
  167. package/dist/components/StepsIndicator/index.d.ts +2 -0
  168. package/dist/components/StepsIndicator/index.js +19 -0
  169. package/dist/components/StepsIndicator/index.js.map +1 -0
  170. package/dist/components/Subnav/index.d.ts +14 -0
  171. package/dist/components/Subnav/index.js +94 -0
  172. package/dist/components/Subnav/index.js.map +1 -0
  173. package/dist/components/Switch/index.d.ts +4 -0
  174. package/dist/components/Switch/index.js +103 -0
  175. package/dist/components/Switch/index.js.map +1 -0
  176. package/dist/components/Table/index.d.ts +48 -0
  177. package/dist/components/Table/index.js +147 -0
  178. package/dist/components/Table/index.js.map +1 -0
  179. package/dist/components/Tabs/index.d.ts +16 -0
  180. package/dist/components/Tabs/index.js +168 -0
  181. package/dist/components/Tabs/index.js.map +1 -0
  182. package/dist/components/Textarea/index.d.ts +13 -0
  183. package/dist/components/Textarea/index.js +96 -0
  184. package/dist/components/Textarea/index.js.map +1 -0
  185. package/dist/components/Toast/index.d.ts +24 -0
  186. package/dist/components/Toast/index.js +171 -0
  187. package/dist/components/Toast/index.js.map +1 -0
  188. package/dist/components/ToggleList/index.d.ts +20 -0
  189. package/dist/components/ToggleList/index.js +68 -0
  190. package/dist/components/ToggleList/index.js.map +1 -0
  191. package/dist/components/Tooltip/index.d.ts +11 -0
  192. package/dist/components/Tooltip/index.js +66 -0
  193. package/dist/components/Tooltip/index.js.map +1 -0
  194. package/dist/components/WebsiteFooter/index.d.ts +23 -0
  195. package/dist/components/WebsiteFooter/index.js +113 -0
  196. package/dist/components/WebsiteFooter/index.js.map +1 -0
  197. package/dist/components/WebsiteHeader/index.d.ts +21 -0
  198. package/dist/components/WebsiteHeader/index.js +98 -0
  199. package/dist/components/WebsiteHeader/index.js.map +1 -0
  200. package/dist/components/choice-group.d.ts +109 -0
  201. package/dist/components/choice-group.js +200 -0
  202. package/dist/components/choice-group.js.map +1 -0
  203. package/dist/components/index.d.ts +49 -0
  204. package/dist/components/index.js +66 -0
  205. package/dist/components/index.js.map +1 -0
  206. package/dist/esm/animations/index.js +17 -0
  207. package/dist/esm/animations/index.js.map +1 -0
  208. package/dist/esm/colors/accent.js +18 -0
  209. package/dist/esm/colors/accent.js.map +1 -0
  210. package/dist/esm/colors/background.js +38 -0
  211. package/dist/esm/colors/background.js.map +1 -0
  212. package/dist/esm/colors/base.js +137 -0
  213. package/dist/esm/colors/base.js.map +1 -0
  214. package/dist/esm/colors/border.js +18 -0
  215. package/dist/esm/colors/border.js.map +1 -0
  216. package/dist/esm/colors/button.js +112 -0
  217. package/dist/esm/colors/button.js.map +1 -0
  218. package/dist/esm/colors/feedback.js +29 -0
  219. package/dist/esm/colors/feedback.js.map +1 -0
  220. package/dist/esm/colors/foreground.js +37 -0
  221. package/dist/esm/colors/foreground.js.map +1 -0
  222. package/dist/esm/colors/index.js +13 -0
  223. package/dist/esm/colors/index.js.map +1 -0
  224. package/dist/esm/package.json +1 -0
  225. package/dist/esm/tailwind-base.js +31 -0
  226. package/dist/esm/tailwind-base.js.map +1 -0
  227. package/dist/esm/tailwind-plugin.js +29 -0
  228. package/dist/esm/tailwind-plugin.js.map +1 -0
  229. package/dist/esm/theme.js +55 -0
  230. package/dist/esm/theme.js.map +1 -0
  231. package/dist/global.css +552 -485
  232. package/dist/index.d.ts +3 -1315
  233. package/dist/index.js +23 -6468
  234. package/dist/index.js.map +1 -1
  235. package/dist/lib/utils.d.ts +16 -0
  236. package/dist/lib/utils.js +23 -0
  237. package/dist/lib/utils.js.map +1 -0
  238. package/dist/tailwind-base.js +33 -0
  239. package/dist/tailwind-base.js.map +1 -0
  240. package/dist/tailwind-plugin.js +31 -497
  241. package/dist/tailwind-plugin.js.map +1 -1
  242. package/dist/theme.js +60 -0
  243. package/dist/theme.js.map +1 -0
  244. package/package.json +8 -11
  245. package/dist/animations/index.mjs +0 -8
  246. package/dist/animations/index.mjs.map +0 -1
  247. package/dist/chunk-36NLQKQR.mjs +0 -22
  248. package/dist/chunk-36NLQKQR.mjs.map +0 -1
  249. package/dist/chunk-3FFF7Q7C.mjs +0 -55
  250. package/dist/chunk-3FFF7Q7C.mjs.map +0 -1
  251. package/dist/chunk-GTI4HTES.mjs +0 -386
  252. package/dist/chunk-GTI4HTES.mjs.map +0 -1
  253. package/dist/colors/index.mjs +0 -8
  254. package/dist/colors/index.mjs.map +0 -1
  255. package/dist/global.css.map +0 -1
  256. package/dist/index.d.mts +0 -1315
  257. package/dist/index.mjs +0 -6043
  258. package/dist/index.mjs.map +0 -1
  259. package/dist/tailwind-plugin.mjs +0 -67
  260. package/dist/tailwind-plugin.mjs.map +0 -1
@@ -0,0 +1,16 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
3
+ /** Every value React accepts for the `aria-invalid` attribute. */
4
+ export type AriaInvalid = boolean | 'false' | 'true' | 'grammar' | 'spelling' | undefined;
5
+ /**
6
+ * Whether an `aria-invalid` value asserts that the control is invalid.
7
+ *
8
+ * `aria-invalid="false"` is the attribute's default and reads identically to
9
+ * its absence in the accessibility tree, so a control carrying it has asserted
10
+ * nothing. Every other value is a real assertion, including `grammar` and
11
+ * `spelling`, which say more than a bare `true` would. `FormGroup` draws the
12
+ * same line for the same reason, and the controls that style themselves from
13
+ * this attribute have to draw it in exactly the same place -- otherwise a
14
+ * control can announce one state and render the other.
15
+ */
16
+ export declare const assertsInvalid: (value: AriaInvalid) => value is true | "true" | "grammar" | "spelling";
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.assertsInvalid = void 0;
4
+ exports.cn = cn;
5
+ const clsx_1 = require("clsx");
6
+ const tailwind_merge_1 = require("tailwind-merge");
7
+ function cn(...inputs) {
8
+ return (0, tailwind_merge_1.twMerge)((0, clsx_1.clsx)(inputs));
9
+ }
10
+ /**
11
+ * Whether an `aria-invalid` value asserts that the control is invalid.
12
+ *
13
+ * `aria-invalid="false"` is the attribute's default and reads identically to
14
+ * its absence in the accessibility tree, so a control carrying it has asserted
15
+ * nothing. Every other value is a real assertion, including `grammar` and
16
+ * `spelling`, which say more than a bare `true` would. `FormGroup` draws the
17
+ * same line for the same reason, and the controls that style themselves from
18
+ * this attribute have to draw it in exactly the same place -- otherwise a
19
+ * control can announce one state and render the other.
20
+ */
21
+ const assertsInvalid = (value) => value !== undefined && value !== false && value !== 'false';
22
+ exports.assertsInvalid = assertsInvalid;
23
+ //# sourceMappingURL=utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/lib/utils.ts"],"names":[],"mappings":";;;AAGA,gBAEC;AALD,+BAA4C;AAC5C,mDAAwC;AAExC,SAAgB,EAAE,CAAC,GAAG,MAAoB;IACxC,OAAO,IAAA,wBAAO,EAAC,IAAA,WAAI,EAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC;AAMD;;;;;;;;;;GAUG;AACI,MAAM,cAAc,GAAG,CAAC,KAAkB,EAAE,EAAE,CACnD,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,KAAK,IAAI,KAAK,KAAK,OAAO,CAAA;AADhD,QAAA,cAAc,kBACkC"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ /**
4
+ * Base styles Quantum adds on top of Tailwind's preflight.
5
+ *
6
+ * v3's preflight carried `button, [role="button"] { cursor: pointer }`. v4
7
+ * dropped that rule — its preflight declares no `cursor` on buttons at all — so
8
+ * buttons fall back to the UA default and every one of them becomes an arrow on
9
+ * upgrade. Only `Button` and `Switch` set the cursor themselves (`Link` does
10
+ * too, but on an `<a>`); the other eighteen render sites in `src/` — Chip,
11
+ * Pagination, Password, Input, StepsIndicator, Modal, Checkbox, Radio, Select's
12
+ * trigger, Popover, Tooltip and Calendar's day and nav buttons — do not.
13
+ * Several have no reachable `className` hook, so this is the fix the v4 upgrade
14
+ * guide recommends rather than a class on each one.
15
+ *
16
+ * It must stay in a cascade layer. `button:not(:disabled)` is specificity
17
+ * (0,1,1) and `.cursor-default` is (0,1,0), so unlayered it would outrank the
18
+ * utility and take the arrow away from Accordion's trigger, which sets
19
+ * `cursor-default` deliberately. Registered through `addBase` precisely so
20
+ * Tailwind puts it in `base`, below `utilities`.
21
+ *
22
+ * Kept as a plain object with no imports so both `scripts/theme-css.ts` (which
23
+ * renders it into the `@layer base` block of `src/quantum.css`, reaching
24
+ * `dist/global.css` and the Storybook preview) and `src/tailwind-plugin.ts`
25
+ * (which reaches consumers' own Tailwind builds through `addBase`) can register
26
+ * it without importing each other.
27
+ */
28
+ exports.default = {
29
+ 'button:not(:disabled), [role="button"]:not(:disabled)': {
30
+ cursor: 'pointer'
31
+ }
32
+ };
33
+ //# sourceMappingURL=tailwind-base.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tailwind-base.js","sourceRoot":"","sources":["../src/tailwind-base.ts"],"names":[],"mappings":";;AAAA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,kBAAe;IACb,uDAAuD,EAAE;QACvD,MAAM,EAAE,SAAS;KAClB;CACF,CAAA"}
@@ -1,500 +1,34 @@
1
1
  "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
7
- var __getProtoOf = Object.getPrototypeOf;
8
- var __hasOwnProp = Object.prototype.hasOwnProperty;
9
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
10
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
11
- var __spreadValues = (a, b) => {
12
- for (var prop in b || (b = {}))
13
- if (__hasOwnProp.call(b, prop))
14
- __defNormalProp(a, prop, b[prop]);
15
- if (__getOwnPropSymbols)
16
- for (var prop of __getOwnPropSymbols(b)) {
17
- if (__propIsEnum.call(b, prop))
18
- __defNormalProp(a, prop, b[prop]);
19
- }
20
- return a;
21
- };
22
- var __export = (target, all) => {
23
- for (var name in all)
24
- __defProp(target, name, { get: all[name], enumerable: true });
25
- };
26
- var __copyProps = (to, from, except, desc) => {
27
- if (from && typeof from === "object" || typeof from === "function") {
28
- for (let key of __getOwnPropNames(from))
29
- if (!__hasOwnProp.call(to, key) && key !== except)
30
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
31
- }
32
- return to;
33
- };
34
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
35
- // If the importer is in node compatibility mode or this is not an ESM
36
- // file that has been converted to a CommonJS file using a Babel-
37
- // compatible transform (i.e. "__esModule" has not been set), then set
38
- // "default" to the CommonJS "module.exports" for node compatibility.
39
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
40
- mod
41
- ));
42
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
43
-
44
- // src/tailwind-plugin.ts
45
- var tailwind_plugin_exports = {};
46
- __export(tailwind_plugin_exports, {
47
- default: () => tailwind_plugin_default
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ const plugin_1 = __importDefault(require("tailwindcss/plugin"));
7
+ const tailwind_base_ts_1 = __importDefault(require("./tailwind-base.js"));
8
+ const theme_ts_1 = __importDefault(require("./theme.js"));
9
+ /**
10
+ * Supplies the Quantum design tokens (colors, shadows, fonts, stroke widths and
11
+ * animations) to a consuming Tailwind build.
12
+ *
13
+ * Quantum's own stylesheets get the same tokens from the native `@theme` block
14
+ * in `src/quantum.css`, but a consumer on any of the README's Tailwind routes
15
+ * has no entrypoint of ours to import — they load this plugin from their own
16
+ * CSS or JS config — so the tokens have to be reachable as a JS object too.
17
+ * Both are rendered from `src/theme.ts`, and `__tests__/theme-css.test.ts`
18
+ * fails if they disagree.
19
+ *
20
+ * Tailwind v4 replaced the `content` array with source detection, so this plugin
21
+ * does not register Quantum's own files for scanning. Consumers must point at
22
+ * the package themselves — see the "Tailwind setup" section of the README.
23
+ *
24
+ * The base styles are registered here for the same reason: a consumer using
25
+ * `@plugin` or `plugins: [quantumPlugin]` never imports `dist/global.css`, so
26
+ * the `@layer base` block in `src/quantum.css` would not reach them. `addBase`
27
+ * is what puts them in the `base` layer, below `utilities`.
28
+ */
29
+ exports.default = (0, plugin_1.default)(({ addBase }) => {
30
+ addBase(tailwind_base_ts_1.default);
31
+ }, {
32
+ theme: Object.assign({}, theme_ts_1.default)
48
33
  });
49
- module.exports = __toCommonJS(tailwind_plugin_exports);
50
- var import_plugin = __toESM(require("tailwindcss/plugin"));
51
-
52
- // src/tailwind-base.ts
53
- var tailwind_base_default = {
54
- 'button:not(:disabled), [role="button"]:not(:disabled)': {
55
- cursor: "pointer"
56
- }
57
- };
58
-
59
- // src/theme.ts
60
- var import_defaultTheme = __toESM(require("tailwindcss/defaultTheme"));
61
-
62
- // src/animations/index.ts
63
- var animations_default = {
64
- keyframes: {
65
- slideDown: {
66
- from: { height: "0" },
67
- to: { height: "var(--radix-accordion-content-height)" }
68
- },
69
- slideUp: {
70
- from: { height: "var(--radix-accordion-content-height)" },
71
- to: { height: "0" }
72
- }
73
- },
74
- animation: {
75
- slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
76
- slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)"
77
- }
78
- };
79
-
80
- // src/colors/base.ts
81
- var colors = {
82
- grey: {
83
- 50: "#F9FAFB",
84
- 100: "#F3F4F6",
85
- 200: "#E5E7EB",
86
- 300: "#D1D5DB",
87
- 400: "#9CA3AF",
88
- 500: "#6B7280",
89
- 600: "#4B5563",
90
- 700: "#374151",
91
- 800: "#1F2A37",
92
- 900: "#111928"
93
- },
94
- blue: {
95
- 50: "#F5FAFF",
96
- 100: "#E1EFFE",
97
- 200: "#C3DDFD",
98
- 300: "#A4CAFE",
99
- 400: "#76A9FA",
100
- 500: "#3F83F8",
101
- 600: "#2165E3",
102
- 700: "#1A56DB",
103
- 800: "#1E429F",
104
- 900: "#000E38"
105
- },
106
- red: {
107
- 50: "#FDF2F2",
108
- 100: "#FDE8E8",
109
- 200: "#FBD5D5",
110
- 300: "#F8B4B4",
111
- 400: "#F98080",
112
- 500: "#F05252",
113
- 600: "#E02424",
114
- 700: "#C81E1E",
115
- 800: "#9B1C1C",
116
- 900: "#771D1D"
117
- },
118
- orange: {
119
- 50: "#FFF8F1",
120
- 100: "#FEECDC",
121
- 200: "#FCD9BD",
122
- 300: "#FDBA8C",
123
- 400: "#FF8A4C",
124
- 500: "#FF5A1F",
125
- 600: "#D03801",
126
- 700: "#B43403",
127
- 800: "#8A2C0D",
128
- 900: "#771D1D"
129
- },
130
- yellow: {
131
- 50: "#FDFDEA",
132
- 100: "#FDF6B2",
133
- 200: "#FCE96A",
134
- 300: "#FACA15",
135
- 400: "#E3A008",
136
- 500: "#C27803",
137
- 600: "#9F580A",
138
- 700: "#8E4B10",
139
- 800: "#723B13",
140
- 900: "#633112"
141
- },
142
- green: {
143
- 50: "#F3FAF7",
144
- 100: "#DEF7EC",
145
- 200: "#BCF0DA",
146
- 300: "#84E1BC",
147
- 400: "#31C48D",
148
- 500: "#0E9F6E",
149
- 600: "#057A55",
150
- 700: "#046C4E",
151
- 800: "#03543F",
152
- 900: "#014737"
153
- },
154
- teal: {
155
- 50: "#EDFAFA",
156
- 100: "#D5F5F6",
157
- 200: "#AFECEF",
158
- 300: "#7EDCE2",
159
- 400: "#16BDCA",
160
- 500: "#0694A2",
161
- 600: "#047481",
162
- 700: "#036672",
163
- 800: "#05505C",
164
- 900: "#014451"
165
- },
166
- indigo: {
167
- 50: "#F0F5FF",
168
- 100: "#E5EDFF",
169
- 200: "#CDDBFE",
170
- 300: "#B4C6FC",
171
- 400: "#8DA2FB",
172
- 500: "#6875F5",
173
- 600: "#5850EC",
174
- 700: "#5145CD",
175
- 800: "#42389D",
176
- 900: "#362F78"
177
- },
178
- purple: {
179
- 50: "#F6F5FF",
180
- 100: "#EDEBFE",
181
- 200: "#DCD7FE",
182
- 300: "#CABFFD",
183
- 400: "#AC94FA",
184
- 500: "#8950FF",
185
- 600: "#7E3AF2",
186
- 700: "#6C2BD9",
187
- 800: "#5521B5",
188
- 900: "#4A1D96"
189
- },
190
- pink: {
191
- 50: "#FFF6F9",
192
- 100: "#FFF1F5",
193
- 200: "#FFE8EE",
194
- 300: "#FFD9E3",
195
- 400: "#FFBFD0",
196
- 500: "#FF9DB7",
197
- 600: "#FB7A9C",
198
- 700: "#D95477",
199
- 800: "#A02042",
200
- 900: "#731837"
201
- },
202
- brandMidnight: {
203
- 10: "#f4f8fa",
204
- 30: "#97a1b8",
205
- 50: "#526288",
206
- 80: "#0c3d60",
207
- 100: "#000e38"
208
- },
209
- brandGreen: {
210
- 10: "#e5fcf5",
211
- 30: "#b2f7e1",
212
- 50: "#78edc4",
213
- 80: "#32ebae",
214
- 100: "#03e5a4"
215
- }
216
- };
217
-
218
- // src/colors/foreground.ts
219
- var foreground = {
220
- DEFAULT: colors.grey["900"],
221
- dark: "#FFF",
222
- muted: {
223
- DEFAULT: colors.grey["600"],
224
- dark: colors.grey["300"]
225
- },
226
- subtle: {
227
- DEFAULT: colors.grey["500"],
228
- dark: colors.grey["500"]
229
- },
230
- inverse: {
231
- DEFAULT: "#FFF",
232
- dark: colors.grey["900"]
233
- }
234
- };
235
-
236
- // src/colors/background.ts
237
- var background = {
238
- DEFAULT: "#FFF",
239
- dark: "#000",
240
- alt: {
241
- DEFAULT: colors.grey["100"],
242
- dark: colors.grey["700"]
243
- },
244
- subtle: {
245
- DEFAULT: colors.grey["50"],
246
- dark: colors.grey["800"]
247
- },
248
- /**
249
- * The resting fill of a container that sits on the page: a card, a popover,
250
- * a table body, a dialog panel.
251
- *
252
- * It exists because `background` cannot play that role in both modes. In
253
- * light the page is `background-alt` and `background` is a step off it, so a
254
- * surface painted `background` reads as raised (1.10:1). In dark the page is
255
- * `background` itself, so the same class paints the surface the colour of
256
- * the page it sits on - 1.00:1, a container that is only a container because
257
- * of its border.
258
- *
259
- * So the light value is `background`'s, unchanged, and the dark value is one
260
- * step up from the page. That keeps the step `subtle` adds for a header or a
261
- * zebra stripe (1.21:1 above this, against light's 1.05:1) and leaves `alt`
262
- * free for the selected row, which would otherwise collide with the stripes.
263
- */
264
- surface: {
265
- DEFAULT: "#FFF",
266
- dark: colors.grey["900"]
267
- },
268
- inverse: {
269
- DEFAULT: colors.grey["900"],
270
- dark: "#FFF"
271
- }
272
- };
273
-
274
- // src/colors/accent.ts
275
- var accent = {
276
- DEFAULT: colors.brandMidnight["100"],
277
- dark: colors.brandMidnight["10"],
278
- alt: {
279
- DEFAULT: colors.brandMidnight["80"],
280
- dark: colors.grey["600"]
281
- },
282
- hover: {
283
- DEFAULT: colors.brandMidnight["80"],
284
- dark: colors.brandMidnight["30"]
285
- },
286
- focus: {
287
- DEFAULT: colors.brandMidnight["100"],
288
- dark: colors.grey["100"]
289
- }
290
- };
291
-
292
- // src/colors/border.ts
293
- var border = {
294
- DEFAULT: colors.brandMidnight["30"],
295
- dark: colors.brandMidnight["50"],
296
- hover: {
297
- DEFAULT: colors.brandMidnight["50"],
298
- dark: colors.brandMidnight["80"]
299
- },
300
- focus: {
301
- DEFAULT: colors.brandMidnight["80"],
302
- dark: colors.grey["400"]
303
- },
304
- subtle: {
305
- DEFAULT: colors.brandMidnight["10"],
306
- dark: colors.grey["700"]
307
- }
308
- };
309
-
310
- // src/colors/feedback.ts
311
- var feedback = {
312
- success: {
313
- DEFAULT: colors.green["500"],
314
- dark: colors.green["300"]
315
- },
316
- warning: {
317
- DEFAULT: colors.yellow["300"],
318
- dark: colors.yellow["300"]
319
- },
320
- danger: {
321
- DEFAULT: colors.orange["400"],
322
- dark: colors.orange["300"]
323
- },
324
- error: {
325
- DEFAULT: colors.red["700"],
326
- dark: colors.red["300"]
327
- }
328
- };
329
-
330
- // src/colors/button.ts
331
- var button = {
332
- primary: {
333
- DEFAULT: accent.DEFAULT,
334
- dark: accent.dark,
335
- hover: {
336
- DEFAULT: accent.hover.DEFAULT,
337
- dark: accent.hover.dark
338
- },
339
- focus: {
340
- DEFAULT: accent.focus.DEFAULT,
341
- dark: accent.focus.dark
342
- },
343
- disabled: {
344
- DEFAULT: background.subtle.DEFAULT,
345
- dark: background.subtle.dark
346
- },
347
- selected: {
348
- DEFAULT: colors.grey["100"],
349
- dark: background.subtle.dark
350
- }
351
- },
352
- secondary: {
353
- DEFAULT: "#FFF",
354
- dark: colors.grey["900"],
355
- hover: {
356
- DEFAULT: background.subtle.DEFAULT,
357
- dark: background.subtle.dark
358
- },
359
- focus: {
360
- DEFAULT: background.alt.DEFAULT,
361
- dark: background.alt.dark
362
- },
363
- disabled: {
364
- DEFAULT: background.subtle.DEFAULT,
365
- dark: background.subtle.dark
366
- },
367
- border: {
368
- DEFAULT: border.DEFAULT,
369
- dark: border.dark,
370
- hover: {
371
- DEFAULT: border.hover.DEFAULT,
372
- dark: border.hover.dark
373
- },
374
- focus: {
375
- DEFAULT: border.DEFAULT,
376
- dark: border.focus.dark
377
- },
378
- disabled: {
379
- DEFAULT: border.subtle.DEFAULT,
380
- dark: border.subtle.dark
381
- },
382
- selected: {
383
- DEFAULT: colors.grey["100"],
384
- dark: background.subtle.dark
385
- }
386
- }
387
- },
388
- tertiary: {
389
- hover: {
390
- DEFAULT: background.subtle.DEFAULT,
391
- dark: background.subtle.dark
392
- },
393
- focus: {
394
- DEFAULT: background.DEFAULT,
395
- dark: colors.blue["900"]
396
- },
397
- selected: {
398
- DEFAULT: colors.grey["100"],
399
- dark: background.subtle.dark
400
- }
401
- },
402
- success: {
403
- DEFAULT: colors.green["600"],
404
- hover: {
405
- DEFAULT: colors.green["700"]
406
- },
407
- focus: {
408
- DEFAULT: colors.green["800"]
409
- },
410
- disabled: {
411
- DEFAULT: colors.grey["50"],
412
- dark: background.subtle.dark
413
- },
414
- selected: {
415
- DEFAULT: colors.grey["100"],
416
- dark: background.subtle.dark
417
- }
418
- },
419
- danger: {
420
- DEFAULT: feedback.error.DEFAULT,
421
- hover: {
422
- DEFAULT: colors.red["700"]
423
- },
424
- focus: {
425
- DEFAULT: colors.red["800"]
426
- },
427
- disabled: {
428
- DEFAULT: colors.grey["50"],
429
- dark: background.subtle.dark
430
- },
431
- selected: {
432
- DEFAULT: colors.grey["100"],
433
- dark: background.subtle.dark
434
- }
435
- }
436
- };
437
-
438
- // src/colors/index.ts
439
- var colors_default = __spreadValues({
440
- transparent: "transparent",
441
- current: "currentColor",
442
- primary: colors.brandMidnight,
443
- secondary: colors.brandGreen,
444
- foreground,
445
- background,
446
- accent,
447
- border,
448
- feedback,
449
- button,
450
- white: {
451
- DEFAULT: "#fff"
452
- },
453
- black: {
454
- DEFAULT: "#000"
455
- }
456
- }, colors);
457
-
458
- // src/theme.ts
459
- var theme_default = {
460
- colors: colors_default,
461
- boxShadow: {
462
- sm: "0px 1px 2px 0px rgba(0, 0, 0, 0.05)",
463
- DEFAULT: "0px 1px 2px -1px rgba(0, 0, 0, 0.05)",
464
- md: "0px 2px 4px -2px rgba(0, 0, 0, 0.05)",
465
- lg: "0px 4px 6px 0px rgba(0, 0, 0, 0.05)",
466
- xl: "0px 20px 25px -5px rgba(0, 0, 0, 0.05)",
467
- "2xl": "0px 25px 50px -12px rgba(0, 0, 0, 0.05)",
468
- blue: "0px 0px 0px 4px rgb(118,169,250)",
469
- red: "0px 0px 0px 4px rgb(249,128,128)",
470
- green: "0px 0px 0px 4px rgb(49,196,141,1)",
471
- brandGreen: "0px 0px 0px 4px #03e5a4",
472
- brandGreen10: "0px 0px 0px 4px #e5fcf5",
473
- none: "0px 0px"
474
- },
475
- fontFamily: {
476
- sans: ["'Inter'", ...import_defaultTheme.default.fontFamily.sans]
477
- },
478
- strokeWidth: {
479
- 0: "0px",
480
- 1: "1px",
481
- 2: "2px",
482
- 3: "4px",
483
- 4: "6px"
484
- },
485
- extend: {
486
- keyframes: animations_default.keyframes,
487
- animation: animations_default.animation
488
- }
489
- };
490
-
491
- // src/tailwind-plugin.ts
492
- var tailwind_plugin_default = (0, import_plugin.default)(
493
- ({ addBase }) => {
494
- addBase(tailwind_base_default);
495
- },
496
- {
497
- theme: __spreadValues({}, theme_default)
498
- }
499
- );
500
34
  //# sourceMappingURL=tailwind-plugin.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/tailwind-plugin.ts","../src/tailwind-base.ts","../src/theme.ts","../src/animations/index.ts","../src/colors/base.ts","../src/colors/foreground.ts","../src/colors/background.ts","../src/colors/accent.ts","../src/colors/border.ts","../src/colors/feedback.ts","../src/colors/button.ts","../src/colors/index.ts"],"sourcesContent":["import plugin from 'tailwindcss/plugin'\nimport baseStyles from './tailwind-base'\nimport quantumTheme from './theme'\n\n/**\n * Supplies the Quantum design tokens (colors, shadows, fonts, stroke widths and\n * animations) to a consuming Tailwind build.\n *\n * Quantum's own stylesheets get the same tokens from the native `@theme` block\n * in `src/quantum.css`, but a consumer on any of the README's Tailwind routes\n * has no entrypoint of ours to import — they load this plugin from their own\n * CSS or JS config — so the tokens have to be reachable as a JS object too.\n * Both are rendered from `src/theme.ts`, and `__tests__/theme-css.test.ts`\n * fails if they disagree.\n *\n * Tailwind v4 replaced the `content` array with source detection, so this plugin\n * does not register Quantum's own files for scanning. Consumers must point at\n * the package themselves — see the \"Tailwind setup\" section of the README.\n *\n * The base styles are registered here for the same reason: a consumer using\n * `@plugin` or `plugins: [quantumPlugin]` never imports `dist/global.css`, so\n * the `@layer base` block in `src/quantum.css` would not reach them. `addBase`\n * is what puts them in the `base` layer, below `utilities`.\n */\nexport default plugin(\n ({ addBase }) => {\n addBase(baseStyles)\n },\n {\n theme: {\n ...quantumTheme\n }\n }\n)\n","/**\n * Base styles Quantum adds on top of Tailwind's preflight.\n *\n * v3's preflight carried `button, [role=\"button\"] { cursor: pointer }`. v4\n * dropped that rule — its preflight declares no `cursor` on buttons at all — so\n * buttons fall back to the UA default and every one of them becomes an arrow on\n * upgrade. Only `Button` and `Switch` set the cursor themselves (`Link` does\n * too, but on an `<a>`); the other eighteen render sites in `src/` — Chip,\n * Pagination, Password, Input, StepsIndicator, Modal, Checkbox, Radio, Select's\n * trigger, Popover, Tooltip and Calendar's day and nav buttons — do not.\n * Several have no reachable `className` hook, so this is the fix the v4 upgrade\n * guide recommends rather than a class on each one.\n *\n * It must stay in a cascade layer. `button:not(:disabled)` is specificity\n * (0,1,1) and `.cursor-default` is (0,1,0), so unlayered it would outrank the\n * utility and take the arrow away from Accordion's trigger, which sets\n * `cursor-default` deliberately. Registered through `addBase` precisely so\n * Tailwind puts it in `base`, below `utilities`.\n *\n * Kept as a plain object with no imports so both `scripts/theme-css.ts` (which\n * renders it into the `@layer base` block of `src/quantum.css`, reaching\n * `dist/global.css` and the Storybook preview) and `src/tailwind-plugin.ts`\n * (which reaches consumers' own Tailwind builds through `addBase`) can register\n * it without importing each other.\n */\nexport default {\n 'button:not(:disabled), [role=\"button\"]:not(:disabled)': {\n cursor: 'pointer'\n }\n}\n","import defaultTheme from 'tailwindcss/defaultTheme'\nimport animations from './animations'\nimport colors from './colors'\n\n/**\n * The Quantum design tokens, in Tailwind's JS theme shape.\n *\n * This is the source of truth for the token *values*. Two consumers read it:\n *\n * - `scripts/theme-css.ts` renders it into the native v4 `@theme` block committed at\n * `src/quantum.css`, which is what `src/global.css` and `.storybook/global.css`\n * compile against. `__tests__/theme-css.test.ts` fails if the committed CSS\n * drifts from this object; `npm run build:theme` regenerates it.\n * - `src/tailwind-plugin.ts` hands it to consumers whose Tailwind build loads a\n * JS plugin, where there is no CSS entrypoint of ours to carry an `@theme`.\n *\n * It cannot be CSS-only: `src/colors` is re-exported from the package root, so\n * the token objects are public API regardless of what the stylesheet does.\n *\n * `colors`, `boxShadow`, `fontFamily` and `strokeWidth` sit outside `extend`, so\n * they *replace* Tailwind's defaults rather than merging with them. `@theme`\n * merges by default, which is why `scripts/theme-css.ts` emits a `--<namespace>-*:\n * initial` reset for each of these four before listing the tokens.\n */\nexport default {\n colors,\n boxShadow: {\n sm: '0px 1px 2px 0px rgba(0, 0, 0, 0.05)',\n DEFAULT: '0px 1px 2px -1px rgba(0, 0, 0, 0.05)',\n md: '0px 2px 4px -2px rgba(0, 0, 0, 0.05)',\n lg: '0px 4px 6px 0px rgba(0, 0, 0, 0.05)',\n xl: '0px 20px 25px -5px rgba(0, 0, 0, 0.05)',\n '2xl': '0px 25px 50px -12px rgba(0, 0, 0, 0.05)',\n blue: '0px 0px 0px 4px rgb(118,169,250)',\n red: '0px 0px 0px 4px rgb(249,128,128)',\n green: '0px 0px 0px 4px rgb(49,196,141,1)',\n brandGreen: '0px 0px 0px 4px #03e5a4',\n brandGreen10: '0px 0px 0px 4px #e5fcf5',\n none: '0px 0px'\n },\n fontFamily: {\n sans: [\"'Inter'\", ...defaultTheme.fontFamily.sans]\n },\n strokeWidth: {\n 0: '0px',\n 1: '1px',\n 2: '2px',\n 3: '4px',\n 4: '6px'\n },\n extend: {\n keyframes: animations.keyframes,\n animation: animations.animation\n }\n}\n","export default {\n keyframes: {\n slideDown: {\n from: { height: '0' },\n to: { height: 'var(--radix-accordion-content-height)' }\n },\n slideUp: {\n from: { height: 'var(--radix-accordion-content-height)' },\n to: { height: '0' }\n }\n },\n animation: {\n slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',\n slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)'\n }\n}\n","export const colors = {\n grey: {\n 50: '#F9FAFB',\n 100: '#F3F4F6',\n 200: '#E5E7EB',\n 300: '#D1D5DB',\n 400: '#9CA3AF',\n 500: '#6B7280',\n 600: '#4B5563',\n 700: '#374151',\n 800: '#1F2A37',\n 900: '#111928'\n },\n blue: {\n 50: '#F5FAFF',\n 100: '#E1EFFE',\n 200: '#C3DDFD',\n 300: '#A4CAFE',\n 400: '#76A9FA',\n 500: '#3F83F8',\n 600: '#2165E3',\n 700: '#1A56DB',\n 800: '#1E429F',\n 900: '#000E38'\n },\n red: {\n 50: '#FDF2F2',\n 100: '#FDE8E8',\n 200: '#FBD5D5',\n 300: '#F8B4B4',\n 400: '#F98080',\n 500: '#F05252',\n 600: '#E02424',\n 700: '#C81E1E',\n 800: '#9B1C1C',\n 900: '#771D1D'\n },\n orange: {\n 50: '#FFF8F1',\n 100: '#FEECDC',\n 200: '#FCD9BD',\n 300: '#FDBA8C',\n 400: '#FF8A4C',\n 500: '#FF5A1F',\n 600: '#D03801',\n 700: '#B43403',\n 800: '#8A2C0D',\n 900: '#771D1D'\n },\n yellow: {\n 50: '#FDFDEA',\n 100: '#FDF6B2',\n 200: '#FCE96A',\n 300: '#FACA15',\n 400: '#E3A008',\n 500: '#C27803',\n 600: '#9F580A',\n 700: '#8E4B10',\n 800: '#723B13',\n 900: '#633112'\n },\n green: {\n 50: '#F3FAF7',\n 100: '#DEF7EC',\n 200: '#BCF0DA',\n 300: '#84E1BC',\n 400: '#31C48D',\n 500: '#0E9F6E',\n 600: '#057A55',\n 700: '#046C4E',\n 800: '#03543F',\n 900: '#014737'\n },\n teal: {\n 50: '#EDFAFA',\n 100: '#D5F5F6',\n 200: '#AFECEF',\n 300: '#7EDCE2',\n 400: '#16BDCA',\n 500: '#0694A2',\n 600: '#047481',\n 700: '#036672',\n 800: '#05505C',\n 900: '#014451'\n },\n indigo: {\n 50: '#F0F5FF',\n 100: '#E5EDFF',\n 200: '#CDDBFE',\n 300: '#B4C6FC',\n 400: '#8DA2FB',\n 500: '#6875F5',\n 600: '#5850EC',\n 700: '#5145CD',\n 800: '#42389D',\n 900: '#362F78'\n },\n purple: {\n 50: '#F6F5FF',\n 100: '#EDEBFE',\n 200: '#DCD7FE',\n 300: '#CABFFD',\n 400: '#AC94FA',\n 500: '#8950FF',\n 600: '#7E3AF2',\n 700: '#6C2BD9',\n 800: '#5521B5',\n 900: '#4A1D96'\n },\n pink: {\n 50: '#FFF6F9',\n 100: '#FFF1F5',\n 200: '#FFE8EE',\n 300: '#FFD9E3',\n 400: '#FFBFD0',\n 500: '#FF9DB7',\n 600: '#FB7A9C',\n 700: '#D95477',\n 800: '#A02042',\n 900: '#731837'\n },\n brandMidnight: {\n 10: '#f4f8fa',\n 30: '#97a1b8',\n 50: '#526288',\n 80: '#0c3d60',\n 100: '#000e38'\n },\n brandGreen: {\n 10: '#e5fcf5',\n 30: '#b2f7e1',\n 50: '#78edc4',\n 80: '#32ebae',\n 100: '#03e5a4'\n }\n}\n","import { colors } from './base'\n\n/**\n * Text colours.\n *\n * `DEFAULT` and `muted` are the body-text tokens: both clear WCAG AA's 4.5:1\n * on `background`, `background-alt` and `background-subtle`, in both modes\n * (`background-inverse` takes `inverse`). `muted` sits at\n * `grey-600` rather than `grey-500` because `grey-500` on `background-alt`\n * (`grey-100`) is 4.39:1 — the pair `SelectTrigger` renders for its\n * placeholder, and `Pagination` for its page numbers.\n *\n * `subtle` is not a body-text token. At `grey-500` it clears 4.5:1 on\n * `background` (4.83:1) and `background-subtle` (4.63:1) but not on\n * `background-alt` (4.39:1), and its dark half is 2.13:1 on\n * `background-alt-dark`. Darkening it again would land it on `grey-600` and\n * collapse it into `muted`, so it stays where it is and is scoped to the uses\n * 1.4.3 exempts or that only owe 3:1 under 1.4.11: disabled control text\n * (Button, ButtonGroup, Chip), Switch's track, and StepsIndicator's dots. Text\n * that a user reads takes `muted`.\n */\nexport const foreground = {\n DEFAULT: colors.grey['900'],\n dark: '#FFF',\n muted: {\n DEFAULT: colors.grey['600'],\n dark: colors.grey['300']\n },\n subtle: {\n DEFAULT: colors.grey['500'],\n dark: colors.grey['500']\n },\n inverse: {\n DEFAULT: '#FFF',\n dark: colors.grey['900']\n }\n}\n","import { colors } from './base'\n\nexport const background = {\n DEFAULT: '#FFF',\n dark: '#000',\n alt: {\n DEFAULT: colors.grey['100'],\n dark: colors.grey['700']\n },\n subtle: {\n DEFAULT: colors.grey['50'],\n dark: colors.grey['800']\n },\n /**\n * The resting fill of a container that sits on the page: a card, a popover,\n * a table body, a dialog panel.\n *\n * It exists because `background` cannot play that role in both modes. In\n * light the page is `background-alt` and `background` is a step off it, so a\n * surface painted `background` reads as raised (1.10:1). In dark the page is\n * `background` itself, so the same class paints the surface the colour of\n * the page it sits on - 1.00:1, a container that is only a container because\n * of its border.\n *\n * So the light value is `background`'s, unchanged, and the dark value is one\n * step up from the page. That keeps the step `subtle` adds for a header or a\n * zebra stripe (1.21:1 above this, against light's 1.05:1) and leaves `alt`\n * free for the selected row, which would otherwise collide with the stripes.\n */\n surface: {\n DEFAULT: '#FFF',\n dark: colors.grey['900']\n },\n inverse: {\n DEFAULT: colors.grey['900'],\n dark: '#FFF'\n }\n}\n","import { colors } from './base'\n\nexport const accent = {\n DEFAULT: colors.brandMidnight['100'],\n dark: colors.brandMidnight['10'],\n alt: {\n DEFAULT: colors.brandMidnight['80'],\n dark: colors.grey['600']\n },\n hover: {\n DEFAULT: colors.brandMidnight['80'],\n dark: colors.brandMidnight['30']\n },\n focus: {\n DEFAULT: colors.brandMidnight['100'],\n dark: colors.grey['100']\n }\n}\n","import { colors } from './base'\n\nexport const border = {\n DEFAULT: colors.brandMidnight['30'],\n dark: colors.brandMidnight['50'],\n hover: {\n DEFAULT: colors.brandMidnight['50'],\n dark: colors.brandMidnight['80']\n },\n focus: {\n DEFAULT: colors.brandMidnight['80'],\n dark: colors.grey['400']\n },\n subtle: {\n DEFAULT: colors.brandMidnight['10'],\n dark: colors.grey['700']\n }\n}\n","import { colors } from './base'\n\n/**\n * Feedback colours named for the role they play rather than the hue they wear,\n * so a control reaches for them by what it means, not what it looks like.\n *\n * `success`, `warning`, `danger` and `error` map to the green, yellow, orange\n * and red ramps respectively. Renaming them spells the utility the variant asks\n * for (`border-feedback-success`, `text-feedback-error`) instead of one that\n * only describes the swatch under it.\n */\nexport const feedback = {\n success: {\n DEFAULT: colors.green['500'],\n dark: colors.green['300']\n },\n warning: {\n DEFAULT: colors.yellow['300'],\n dark: colors.yellow['300']\n },\n danger: {\n DEFAULT: colors.orange['400'],\n dark: colors.orange['300']\n },\n error: {\n DEFAULT: colors.red['700'],\n dark: colors.red['300']\n }\n}\n","import { colors } from './base'\nimport { accent } from './accent'\nimport { background } from './background'\nimport { border } from './border'\nimport { feedback } from './feedback'\n\nexport const button = {\n primary: {\n DEFAULT: accent.DEFAULT,\n dark: accent.dark,\n hover: {\n DEFAULT: accent.hover.DEFAULT,\n dark: accent.hover.dark\n },\n focus: {\n DEFAULT: accent.focus.DEFAULT,\n dark: accent.focus.dark\n },\n disabled: {\n DEFAULT: background.subtle.DEFAULT,\n dark: background.subtle.dark\n },\n selected: {\n DEFAULT: colors.grey['100'],\n dark: background.subtle.dark\n }\n },\n secondary: {\n DEFAULT: '#FFF',\n dark: colors.grey['900'],\n hover: {\n DEFAULT: background.subtle.DEFAULT,\n dark: background.subtle.dark\n },\n focus: {\n DEFAULT: background.alt.DEFAULT,\n dark: background.alt.dark\n },\n disabled: {\n DEFAULT: background.subtle.DEFAULT,\n dark: background.subtle.dark\n },\n border: {\n DEFAULT: border.DEFAULT,\n dark: border.dark,\n hover: {\n DEFAULT: border.hover.DEFAULT,\n dark: border.hover.dark\n },\n focus: {\n DEFAULT: border.DEFAULT,\n dark: border.focus.dark\n },\n disabled: {\n DEFAULT: border.subtle.DEFAULT,\n dark: border.subtle.dark\n },\n selected: {\n DEFAULT: colors.grey['100'],\n dark: background.subtle.dark\n }\n }\n },\n tertiary: {\n hover: {\n DEFAULT: background.subtle.DEFAULT,\n dark: background.subtle.dark\n },\n focus: {\n DEFAULT: background.DEFAULT,\n dark: colors.blue['900']\n },\n selected: {\n DEFAULT: colors.grey['100'],\n dark: background.subtle.dark\n }\n },\n success: {\n DEFAULT: colors.green['600'],\n hover: {\n DEFAULT: colors.green['700']\n },\n focus: {\n DEFAULT: colors.green['800']\n },\n disabled: {\n DEFAULT: colors.grey['50'],\n dark: background.subtle.dark\n },\n selected: {\n DEFAULT: colors.grey['100'],\n dark: background.subtle.dark\n }\n },\n danger: {\n DEFAULT: feedback.error.DEFAULT,\n hover: {\n DEFAULT: colors.red['700']\n },\n focus: {\n DEFAULT: colors.red['800']\n },\n disabled: {\n DEFAULT: colors.grey['50'],\n dark: background.subtle.dark\n },\n selected: {\n DEFAULT: colors.grey['100'],\n dark: background.subtle.dark\n }\n }\n}\n","import { colors } from './base'\nimport { foreground } from './foreground'\nimport { background } from './background'\nimport { button } from './button'\nimport { accent } from './accent'\nimport { border } from './border'\nimport { feedback } from './feedback'\n\nexport default {\n transparent: 'transparent',\n current: 'currentColor',\n primary: colors.brandMidnight,\n secondary: colors.brandGreen,\n foreground: foreground,\n background: background,\n accent: accent,\n border: border,\n feedback: feedback,\n button: button,\n white: {\n DEFAULT: '#fff'\n },\n black: {\n DEFAULT: '#000'\n },\n ...colors\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAmB;;;ACyBnB,IAAO,wBAAQ;AAAA,EACb,yDAAyD;AAAA,IACvD,QAAQ;AAAA,EACV;AACF;;;AC7BA,0BAAyB;;;ACAzB,IAAO,qBAAQ;AAAA,EACb,WAAW;AAAA,IACT,WAAW;AAAA,MACT,MAAM,EAAE,QAAQ,IAAI;AAAA,MACpB,IAAI,EAAE,QAAQ,wCAAwC;AAAA,IACxD;AAAA,IACA,SAAS;AAA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AY;AAAA,IACV,MAAM,CAAC,WAAW,GAAG,oBAAAA,QAAa,WAAW,IAAI;AAAA,EACnD;AAAA,EACA,aAAa;AAAA,IACX,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,WAAW,mBAAW;AAAA,IACtB,WAAW,mBAAW;AAAA,EACxB;AACF;;;AF9BA,IAAO,8BAAQ,cAAAC;AAAA,EACb,CAAC,EAAE,QAAQ,MAAM;AACf,YAAQ,qBAAU;AAAA,EACpB;AAAA,EACA;AAAA,IACE,OAAO,mBACF;AAAA,EAEP;AACF;","names":["defaultTheme","plugin"]}
1
+ {"version":3,"file":"tailwind-plugin.js","sourceRoot":"","sources":["../src/tailwind-plugin.ts"],"names":[],"mappings":";;;;;AAAA,gEAAuC;AACvC,0EAA2C;AAC3C,0DAAqC;AAErC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,kBAAe,IAAA,gBAAM,EACnB,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE;IACd,OAAO,CAAC,0BAAU,CAAC,CAAA;AACrB,CAAC,EACD;IACE,KAAK,oBACA,kBAAY,CAChB;CACF,CACF,CAAA"}