@stealthscale/component-typography 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/cyclonedx/bom.json +1 -1
  2. package/dist/index.js +1 -515
  3. package/dist/pages/blockquote/blockquote.js +117 -0
  4. package/dist/pages/blockquote/blockquote.props.js +3 -0
  5. package/dist/pages/code/code.js +200 -0
  6. package/dist/pages/code/code.props.js +3 -0
  7. package/dist/pages/em/em.js +85 -0
  8. package/dist/pages/em/em.props.js +3 -0
  9. package/dist/pages/heading/heading.js +180 -0
  10. package/dist/pages/heading/heading.props.js +3 -0
  11. package/dist/pages/highlight/highlight.js +334 -0
  12. package/dist/pages/highlight/highlight.props.js +3 -0
  13. package/dist/pages/icon/icon.js +110 -0
  14. package/dist/pages/icon/icon.props.js +3 -0
  15. package/dist/pages/kbd/kbd.js +234 -0
  16. package/dist/pages/kbd/kbd.props.js +3 -0
  17. package/dist/pages/list/list.js +175 -0
  18. package/dist/pages/list/list.props.js +3 -0
  19. package/dist/pages/mark/mark.js +127 -0
  20. package/dist/pages/mark/mark.props.js +3 -0
  21. package/dist/pages/pages.json +141 -0
  22. package/dist/pages/quote/quote.js +89 -0
  23. package/dist/pages/quote/quote.props.js +3 -0
  24. package/dist/pages/span/span.js +121 -0
  25. package/dist/pages/span/span.props.js +3 -0
  26. package/dist/pages/strong/strong.js +80 -0
  27. package/dist/pages/strong/strong.props.js +3 -0
  28. package/dist/pages/text/text.js +143 -0
  29. package/dist/pages/text/text.props.js +3 -0
  30. package/dist/shared-CRBzNmJA.js +516 -0
  31. package/dist/theme.js +23 -14
  32. package/locales/en/specimen/blockquote.json +26 -0
  33. package/locales/en/specimen/code.json +26 -0
  34. package/locales/en/specimen/em.json +15 -0
  35. package/locales/en/specimen/heading.json +32 -0
  36. package/locales/en/specimen/highlight.json +37 -0
  37. package/locales/en/specimen/icon.json +22 -0
  38. package/locales/en/specimen/kbd.json +32 -0
  39. package/locales/en/specimen/list.json +34 -0
  40. package/locales/en/specimen/mark.json +23 -0
  41. package/locales/en/specimen/quote.json +19 -0
  42. package/locales/en/specimen/span.json +19 -0
  43. package/locales/en/specimen/strong.json +14 -0
  44. package/locales/en/specimen/text.json +31 -0
  45. package/package.json +5 -4
  46. /package/dist/{recipe-DuvOpofr.js → recipes-DuvOpofr.js} +0 -0
@@ -1 +1 @@
1
- {"$schema":"http://cyclonedx.org/schema/bom-1.7.schema.json","bomFormat":"CycloneDX","specVersion":"1.7","version":1,"metadata":{"lifecycles":[{"phase":"build"}],"tools":{"components":[{"type":"application","name":"rolldown","version":"1.2.12"},{"type":"application","name":"vite","version":"8.3.3"},{"type":"library","name":"core","group":"@arethetypeswrong","version":"0.18.5","bom-ref":"pkg:npm/%40arethetypeswrong/core@0.18.5","author":"Andrew Branch","description":"The API behind arethetypeswrong.github.io","hashes":[{"alg":"SHA-512","content":"f72b63cc6c318e6f54cfb23d6af7dbb79be542deae93db914444b3263aabce797a58abc8e9dc184e8faf277534d96aeafe64778aa97f3f386f1e129d2480230d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40arethetypeswrong/core@0.18.5","externalReferences":[{"url":"https://github.com/arethetypeswrong/arethetypeswrong.github.io.git#packages/core","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=20"}]},{"type":"library","name":"hooks","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/hooks@0.3.0","description":"The React hooks a component uses to read the page it draws into: how the page is read, what it measures, and what a value was on the previous render.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/hooks@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#foundations/hooks","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/foundations/hooks#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"theme","group":"@stealthscale","version":"0.5.0","bom-ref":"pkg:npm/%40stealthscale/theme@0.5.0","description":"Publishes the foundation every recipe is written against, the runtime every component binds its recipe with, and the vocabulary a theme is written in.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/theme@0.5.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#foundations/theme","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/foundations/theme#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-i18n","group":"@stealthscale","version":"0.2.1","bom-ref":"pkg:npm/%40stealthscale/vite-config-i18n@0.2.1","description":"Configures a package or an application with words: the catalogue plugin, and the words in scope for its specifications.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-i18n@0.2.1","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-i18n","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-i18n#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-react","group":"@stealthscale","version":"0.9.1","bom-ref":"pkg:npm/%40stealthscale/vite-config-react@0.9.1","description":"Adds the JSX transform, the React lint rules, a test document and an MDX compiler to a package that renders.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-react@0.9.1","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-react#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-specimen","group":"@stealthscale","version":"0.2.1","bom-ref":"pkg:npm/%40stealthscale/vite-config-specimen@0.2.1","description":"Configures an application that shows a catalogue, and the workspace root the specimens sit under.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-specimen@0.2.1","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-specimen","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-specimen#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-theme","group":"@stealthscale","version":"0.2.1","bom-ref":"pkg:npm/%40stealthscale/vite-config-theme@0.2.1","description":"Adds the runtime generator to a design-system package and the stylesheet compiler to an application.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-theme@0.2.1","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-theme","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-theme#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-typescript","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/vite-config-typescript@0.3.0","description":"Sets the TypeScript options every stealthscale package compiles with.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-typescript@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-typescript","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-typescript#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config","group":"@stealthscale","version":"0.8.0","bom-ref":"pkg:npm/%40stealthscale/vite-config@0.8.0","description":"Configures a package from five Vite+ tiers and a named layer for every block.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config@0.8.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"react","group":"@testing-library","version":"16.3.3","bom-ref":"pkg:npm/%40testing-library/react@16.3.3","author":"Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)","description":"Simple and complete React DOM testing utilities that encourage good testing practices.","hashes":[{"alg":"SHA-512","content":"528d7ddcd8106cf333ea5aeb86d45040570c0ba45efc42cb15b6ee54bdf4583959c65a597fdfe53074c05713d12f0d6ad62bbd389991d5cd812e210d46cb5d06"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40testing-library/react@16.3.3","externalReferences":[{"url":"https://github.com/testing-library/react-testing-library/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/testing-library/react-testing-library","type":"vcs","comment":"as detected from PackageJson property \"repository.url\""},{"url":"https://github.com/testing-library/react-testing-library#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=18"}]},{"type":"library","name":"react-dom","group":"@types","version":"19.3.0","bom-ref":"pkg:npm/%40types/react-dom@19.3.0","description":"TypeScript definitions for react-dom","hashes":[{"alg":"SHA-512","content":"648edb538da66575ca1e7fea34b130d88adb888354ed7e7ebdf81d8b10479023696165e32a07d0fcffaec866f90a338b07d51c9d37a0debca542d5768729b8e1"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40types/react-dom@19.3.0","externalReferences":[{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git#types/react-dom","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"react","group":"@types","version":"19.3.0","bom-ref":"pkg:npm/%40types/react@19.3.0","description":"TypeScript definitions for react","hashes":[{"alg":"SHA-512","content":"374ac50ae1fd628c46f7f9bad65f4c7e924a7e62ce554d1e9bb8a9233e9346049292f45e2c1f6f2fce4607ecabf01b3995eaa9be0f7a252c05e194b5b38be242"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40types/react@19.3.0","externalReferences":[{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git#types/react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"happy-dom","version":"20.14.5","bom-ref":"pkg:npm/happy-dom@20.14.5","author":"David Ortner","description":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.","hashes":[{"alg":"SHA-512","content":"c7f47392958ee346d38c8a13df4890b6deb814b2e61ff89171408dd97fff6cbc7b1f789f91d7cf5f2aacae8fce62dab32008622cc300ee69a2391f42dcd38a8d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/happy-dom@20.14.5","externalReferences":[{"url":"https://github.com/capricorn86/happy-dom","type":"vcs","comment":"as detected from PackageJson property \"repository\""},{"url":"https://github.com/capricorn86/happy-dom","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=20.0.0"}]},{"type":"library","name":"lucide-react","version":"1.52.0","bom-ref":"pkg:npm/lucide-react@1.52.0","author":"Eric Fennis","description":"A Lucide icon library package for React applications.","hashes":[{"alg":"SHA-512","content":"4d480fb65e5923d5a0c4e71bbb8724682e41de5d6ac4f42b08c81be8e7d407da30c7f3af4897dc7fddd2320516031470e7fd570df87db88e45e623465c27060d"}],"licenses":[{"license":{"id":"ISC"}}],"purl":"pkg:npm/lucide-react@1.52.0","externalReferences":[{"url":"https://github.com/lucide-icons/lucide/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"https://github.com/lucide-icons/lucide.git#packages/lucide-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://lucide.dev","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"oxc-transform-react","version":"0.153.0","bom-ref":"pkg:npm/oxc-transform-react@0.153.0","author":"Boshen and oxc contributors","description":"Oxc React Compiler Node API","hashes":[{"alg":"SHA-512","content":"f69fc1088423d76cbc51b95edd6594c55799cbcf118ea394edc569d7c70b57b3d36cd6156963b2c42dbe27d83e11d0bdfc038a5f35ffcf597dd8d67daefbe055"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/oxc-transform-react@0.153.0","externalReferences":[{"url":"https://github.com/oxc-project/oxc/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/oxc-project/oxc.git#napi/transform-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://oxc.rs","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":"^20.19.0 || >=22.12.0"}]},{"type":"library","name":"react-dom","version":"19.3.0","bom-ref":"pkg:npm/react-dom@19.3.0","description":"React package for working with the DOM.","hashes":[{"alg":"SHA-512","content":"24393c76089fe753a31680c4ef4f8e4fd202c98afeebd1e59a284dc29d7e36c7db9dadede6c22209af59264b43990e3fd5bfeb9f6ea1200476b985c332be6bd1"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/react-dom@19.3.0","externalReferences":[{"url":"https://github.com/react/react/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/react/react.git#packages/react-dom","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://react.dev/","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"react","version":"19.3.0","bom-ref":"pkg:npm/react@19.3.0","description":"React is a JavaScript library for building user interfaces.","hashes":[{"alg":"SHA-512","content":"13c2d471bb415addb46db9766281dfc7864305dc554df38ab42667f5c0d227897afe7ba8029729201723e3bb76c19a155fc836647b8c1db892860091d53e52a2"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/react@19.3.0","externalReferences":[{"url":"https://github.com/react/react/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"https://github.com/react/react.git#packages/react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://react.dev/","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=0.10.0"}]},{"type":"library","name":"typescript","version":"7.0.2","bom-ref":"pkg:npm/typescript@7.0.2","author":"Microsoft Corp.","description":"TypeScript is a language for application scale JavaScript development","hashes":[{"alg":"SHA-512","content":"f0561abbdea8dcd28e85b8ca8bfa8dbc6fd6e63873c646dd9b9b23f406d9ff94f9b16aa7de12602df1b1dbbb11299593bf2cc23fc74b4414dfe6d05349155434"}],"licenses":[{"license":{"id":"Apache-2.0"}}],"purl":"pkg:npm/typescript@7.0.2","externalReferences":[{"url":"https://github.com/microsoft/TypeScript/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/microsoft/TypeScript.git","type":"vcs","comment":"as detected from PackageJson property \"repository.url\""},{"url":"https://www.typescriptlang.org/","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=16.20.0"}]},{"type":"library","name":"vitest","version":"5.0.3","bom-ref":"pkg:npm/vitest@5.0.3","author":"Anthony Fu <anthonyfu117@hotmail.com>","description":"Next generation testing framework powered by Vite","hashes":[{"alg":"SHA-512","content":"c4cc3ded2deb8ddb63e5d9156adee30aca96069bdc86cdd196941cb54ab0243d0a904464e34bf3d9f27bee50f05bf57387fa64d7c788b5803392876149eb378d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/vitest@5.0.3","externalReferences":[{"url":"https://github.com/vitest-dev/vitest/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"git+https://github.com/vitest-dev/vitest.git#packages/vitest","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://vitest.dev","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":"^22.12.0 || ^24.0.0 || >=26.0.0"}]}]},"component":{"type":"library","name":"component-typography","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/component-typography@0.3.0","description":"Draws the components that are text: a heading, a paragraph, a snippet of code, a key a reader is asked to press.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/component-typography@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#components/typography","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/components/typography#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}],"evidence":{"licenses":[{"license":{"name":"file: LICENSE","text":{"content":"TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNiBTdGVhbHRoIFNjYWxlIEIuVi4KClBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50ZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uIG9idGFpbmluZyBhIGNvcHkKb2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUgIlNvZnR3YXJlIiksIHRvIGRlYWwKaW4gdGhlIFNvZnR3YXJlIHdpdGhvdXQgcmVzdHJpY3Rpb24sIGluY2x1ZGluZyB3aXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cwp0byB1c2UsIGNvcHksIG1vZGlmeSwgbWVyZ2UsIHB1Ymxpc2gsIGRpc3RyaWJ1dGUsIHN1YmxpY2Vuc2UsIGFuZC9vciBzZWxsCmNvcGllcyBvZiB0aGUgU29mdHdhcmUsIGFuZCB0byBwZXJtaXQgcGVyc29ucyB0byB3aG9tIHRoZSBTb2Z0d2FyZSBpcwpmdXJuaXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8gdGhlIGZvbGxvd2luZyBjb25kaXRpb25zOgoKVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lvbiBub3RpY2Ugc2hhbGwgYmUgaW5jbHVkZWQgaW4gYWxsCmNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0aGUgU29mdHdhcmUuCgpUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgIkFTIElTIiwgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwgRVhQUkVTUyBPUgpJTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSwKRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UgQU5EIE5PTklORlJJTkdFTUVOVC4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFCkFVVEhPUlMgT1IgQ09QWVJJR0hUIEhPTERFUlMgQkUgTElBQkxFIEZPUiBBTlkgQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIKTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSwKT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgU09GVFdBUkUgT1IgVEhFIFVTRSBPUiBPVEhFUiBERUFMSU5HUyBJTiBUSEUKU09GVFdBUkUuCg==","contentType":"text/plain","encoding":"base64"}}}]}},"supplier":{"name":"Stealth Scale B.V.","url":["https://stealthscale.io"]}},"components":[],"dependencies":[{"ref":"pkg:npm/%40stealthscale/component-typography@0.3.0"}]}
1
+ {"$schema":"http://cyclonedx.org/schema/bom-1.7.schema.json","bomFormat":"CycloneDX","specVersion":"1.7","version":1,"metadata":{"lifecycles":[{"phase":"build"}],"tools":{"components":[{"type":"application","name":"rolldown","version":"1.2.12"},{"type":"application","name":"vite","version":"8.3.3"},{"type":"library","name":"core","group":"@arethetypeswrong","version":"0.18.5","bom-ref":"pkg:npm/%40arethetypeswrong/core@0.18.5","author":"Andrew Branch","description":"The API behind arethetypeswrong.github.io","hashes":[{"alg":"SHA-512","content":"f72b63cc6c318e6f54cfb23d6af7dbb79be542deae93db914444b3263aabce797a58abc8e9dc184e8faf277534d96aeafe64778aa97f3f386f1e129d2480230d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40arethetypeswrong/core@0.18.5","externalReferences":[{"url":"https://github.com/arethetypeswrong/arethetypeswrong.github.io.git#packages/core","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=20"}]},{"type":"library","name":"hooks","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/hooks@0.3.0","description":"The React hooks a component uses to read the page it draws into: how the page is read, what it measures, and what a value was on the previous render.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/hooks@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#foundations/hooks","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/foundations/hooks#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"theme","group":"@stealthscale","version":"0.5.0","bom-ref":"pkg:npm/%40stealthscale/theme@0.5.0","description":"Publishes the foundation every recipe is written against, the runtime every component binds its recipe with, and the vocabulary a theme is written in.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/theme@0.5.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#foundations/theme","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/foundations/theme#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-i18n","group":"@stealthscale","version":"0.2.2","bom-ref":"pkg:npm/%40stealthscale/vite-config-i18n@0.2.2","description":"Configures a package or an application with words: the catalogue plugin, and the words in scope for its specifications.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-i18n@0.2.2","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-i18n","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-i18n#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-react","group":"@stealthscale","version":"0.9.1","bom-ref":"pkg:npm/%40stealthscale/vite-config-react@0.9.1","description":"Adds the JSX transform, the React lint rules, a test document and an MDX compiler to a package that renders.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-react@0.9.1","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-react#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-specimen","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/vite-config-specimen@0.3.0","description":"Configures an application that shows a catalogue, and the workspace root the specimens sit under.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-specimen@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-specimen","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-specimen#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-theme","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/vite-config-theme@0.3.0","description":"Adds the runtime generator to a design-system package and the stylesheet compiler to an application.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-theme@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-theme","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-theme#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config-typescript","group":"@stealthscale","version":"0.3.0","bom-ref":"pkg:npm/%40stealthscale/vite-config-typescript@0.3.0","description":"Sets the TypeScript options every stealthscale package compiles with.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config-typescript@0.3.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config-typescript","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config-typescript#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"vite-config","group":"@stealthscale","version":"0.8.0","bom-ref":"pkg:npm/%40stealthscale/vite-config@0.8.0","description":"Configures a package from five Vite+ tiers and a named layer for every block.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/vite-config@0.8.0","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#packages/vite-config","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/packages/vite-config#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}]},{"type":"library","name":"react","group":"@testing-library","version":"16.3.3","bom-ref":"pkg:npm/%40testing-library/react@16.3.3","author":"Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com)","description":"Simple and complete React DOM testing utilities that encourage good testing practices.","hashes":[{"alg":"SHA-512","content":"528d7ddcd8106cf333ea5aeb86d45040570c0ba45efc42cb15b6ee54bdf4583959c65a597fdfe53074c05713d12f0d6ad62bbd389991d5cd812e210d46cb5d06"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40testing-library/react@16.3.3","externalReferences":[{"url":"https://github.com/testing-library/react-testing-library/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/testing-library/react-testing-library","type":"vcs","comment":"as detected from PackageJson property \"repository.url\""},{"url":"https://github.com/testing-library/react-testing-library#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=18"}]},{"type":"library","name":"react-dom","group":"@types","version":"19.3.0","bom-ref":"pkg:npm/%40types/react-dom@19.3.0","description":"TypeScript definitions for react-dom","hashes":[{"alg":"SHA-512","content":"648edb538da66575ca1e7fea34b130d88adb888354ed7e7ebdf81d8b10479023696165e32a07d0fcffaec866f90a338b07d51c9d37a0debca542d5768729b8e1"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40types/react-dom@19.3.0","externalReferences":[{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git#types/react-dom","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-dom","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"react","group":"@types","version":"19.3.0","bom-ref":"pkg:npm/%40types/react@19.3.0","description":"TypeScript definitions for react","hashes":[{"alg":"SHA-512","content":"374ac50ae1fd628c46f7f9bad65f4c7e924a7e62ce554d1e9bb8a9233e9346049292f45e2c1f6f2fce4607ecabf01b3995eaa9be0f7a252c05e194b5b38be242"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40types/react@19.3.0","externalReferences":[{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git#types/react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"happy-dom","version":"20.14.5","bom-ref":"pkg:npm/happy-dom@20.14.5","author":"David Ortner","description":"Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.","hashes":[{"alg":"SHA-512","content":"c7f47392958ee346d38c8a13df4890b6deb814b2e61ff89171408dd97fff6cbc7b1f789f91d7cf5f2aacae8fce62dab32008622cc300ee69a2391f42dcd38a8d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/happy-dom@20.14.5","externalReferences":[{"url":"https://github.com/capricorn86/happy-dom","type":"vcs","comment":"as detected from PackageJson property \"repository\""},{"url":"https://github.com/capricorn86/happy-dom","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=20.0.0"}]},{"type":"library","name":"lucide-react","version":"1.52.0","bom-ref":"pkg:npm/lucide-react@1.52.0","author":"Eric Fennis","description":"A Lucide icon library package for React applications.","hashes":[{"alg":"SHA-512","content":"4d480fb65e5923d5a0c4e71bbb8724682e41de5d6ac4f42b08c81be8e7d407da30c7f3af4897dc7fddd2320516031470e7fd570df87db88e45e623465c27060d"}],"licenses":[{"license":{"id":"ISC"}}],"purl":"pkg:npm/lucide-react@1.52.0","externalReferences":[{"url":"https://github.com/lucide-icons/lucide/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"https://github.com/lucide-icons/lucide.git#packages/lucide-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://lucide.dev","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"oxc-transform-react","version":"0.153.0","bom-ref":"pkg:npm/oxc-transform-react@0.153.0","author":"Boshen and oxc contributors","description":"Oxc React Compiler Node API","hashes":[{"alg":"SHA-512","content":"f69fc1088423d76cbc51b95edd6594c55799cbcf118ea394edc569d7c70b57b3d36cd6156963b2c42dbe27d83e11d0bdfc038a5f35ffcf597dd8d67daefbe055"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/oxc-transform-react@0.153.0","externalReferences":[{"url":"https://github.com/oxc-project/oxc/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/oxc-project/oxc.git#napi/transform-react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://oxc.rs","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":"^20.19.0 || >=22.12.0"}]},{"type":"library","name":"react-dom","version":"19.3.0","bom-ref":"pkg:npm/react-dom@19.3.0","description":"React package for working with the DOM.","hashes":[{"alg":"SHA-512","content":"24393c76089fe753a31680c4ef4f8e4fd202c98afeebd1e59a284dc29d7e36c7db9dadede6c22209af59264b43990e3fd5bfeb9f6ea1200476b985c332be6bd1"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/react-dom@19.3.0","externalReferences":[{"url":"https://github.com/react/react/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/react/react.git#packages/react-dom","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://react.dev/","type":"website","comment":"as detected from PackageJson property \"homepage\""}]},{"type":"library","name":"react","version":"19.3.0","bom-ref":"pkg:npm/react@19.3.0","description":"React is a JavaScript library for building user interfaces.","hashes":[{"alg":"SHA-512","content":"13c2d471bb415addb46db9766281dfc7864305dc554df38ab42667f5c0d227897afe7ba8029729201723e3bb76c19a155fc836647b8c1db892860091d53e52a2"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/react@19.3.0","externalReferences":[{"url":"https://github.com/react/react/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"https://github.com/react/react.git#packages/react","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://react.dev/","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=0.10.0"}]},{"type":"library","name":"typescript","version":"7.0.2","bom-ref":"pkg:npm/typescript@7.0.2","author":"Microsoft Corp.","description":"TypeScript is a language for application scale JavaScript development","hashes":[{"alg":"SHA-512","content":"f0561abbdea8dcd28e85b8ca8bfa8dbc6fd6e63873c646dd9b9b23f406d9ff94f9b16aa7de12602df1b1dbbb11299593bf2cc23fc74b4414dfe6d05349155434"}],"licenses":[{"license":{"id":"Apache-2.0"}}],"purl":"pkg:npm/typescript@7.0.2","externalReferences":[{"url":"https://github.com/microsoft/TypeScript/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"https://github.com/microsoft/TypeScript.git","type":"vcs","comment":"as detected from PackageJson property \"repository.url\""},{"url":"https://www.typescriptlang.org/","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=16.20.0"}]},{"type":"library","name":"vitest","version":"5.0.3","bom-ref":"pkg:npm/vitest@5.0.3","author":"Anthony Fu <anthonyfu117@hotmail.com>","description":"Next generation testing framework powered by Vite","hashes":[{"alg":"SHA-512","content":"c4cc3ded2deb8ddb63e5d9156adee30aca96069bdc86cdd196941cb54ab0243d0a904464e34bf3d9f27bee50f05bf57387fa64d7c788b5803392876149eb378d"}],"licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/vitest@5.0.3","externalReferences":[{"url":"https://github.com/vitest-dev/vitest/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs.url\""},{"url":"git+https://github.com/vitest-dev/vitest.git#packages/vitest","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://vitest.dev","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":"^22.12.0 || ^24.0.0 || >=26.0.0"}]}]},"component":{"type":"library","name":"component-typography","group":"@stealthscale","version":"0.3.2","bom-ref":"pkg:npm/%40stealthscale/component-typography@0.3.2","description":"Draws the components that are text: a heading, a paragraph, a snippet of code, a key a reader is asked to press.","licenses":[{"license":{"id":"MIT"}}],"purl":"pkg:npm/%40stealthscale/component-typography@0.3.2","externalReferences":[{"url":"https://github.com/stealth-scale/scale/issues","type":"issue-tracker","comment":"as detected from PackageJson property \"bugs\""},{"url":"git+https://github.com/stealth-scale/scale.git#components/typography","type":"vcs","comment":"as detected from PackageJson property \"repository.url\" and \"repository.directory\""},{"url":"https://github.com/stealth-scale/scale/tree/main/components/typography#readme","type":"website","comment":"as detected from PackageJson property \"homepage\""}],"properties":[{"name":"cdx:npm:package:constraint:engine:node","value":">=26.0.0"}],"evidence":{"licenses":[{"license":{"name":"file: LICENSE","text":{"content":"TUlUIExpY2Vuc2UKCkNvcHlyaWdodCAoYykgMjAyNiBTdGVhbHRoIFNjYWxlIEIuVi4KClBlcm1pc3Npb24gaXMgaGVyZWJ5IGdyYW50ZWQsIGZyZWUgb2YgY2hhcmdlLCB0byBhbnkgcGVyc29uIG9idGFpbmluZyBhIGNvcHkKb2YgdGhpcyBzb2Z0d2FyZSBhbmQgYXNzb2NpYXRlZCBkb2N1bWVudGF0aW9uIGZpbGVzICh0aGUgIlNvZnR3YXJlIiksIHRvIGRlYWwKaW4gdGhlIFNvZnR3YXJlIHdpdGhvdXQgcmVzdHJpY3Rpb24sIGluY2x1ZGluZyB3aXRob3V0IGxpbWl0YXRpb24gdGhlIHJpZ2h0cwp0byB1c2UsIGNvcHksIG1vZGlmeSwgbWVyZ2UsIHB1Ymxpc2gsIGRpc3RyaWJ1dGUsIHN1YmxpY2Vuc2UsIGFuZC9vciBzZWxsCmNvcGllcyBvZiB0aGUgU29mdHdhcmUsIGFuZCB0byBwZXJtaXQgcGVyc29ucyB0byB3aG9tIHRoZSBTb2Z0d2FyZSBpcwpmdXJuaXNoZWQgdG8gZG8gc28sIHN1YmplY3QgdG8gdGhlIGZvbGxvd2luZyBjb25kaXRpb25zOgoKVGhlIGFib3ZlIGNvcHlyaWdodCBub3RpY2UgYW5kIHRoaXMgcGVybWlzc2lvbiBub3RpY2Ugc2hhbGwgYmUgaW5jbHVkZWQgaW4gYWxsCmNvcGllcyBvciBzdWJzdGFudGlhbCBwb3J0aW9ucyBvZiB0aGUgU29mdHdhcmUuCgpUSEUgU09GVFdBUkUgSVMgUFJPVklERUQgIkFTIElTIiwgV0lUSE9VVCBXQVJSQU5UWSBPRiBBTlkgS0lORCwgRVhQUkVTUyBPUgpJTVBMSUVELCBJTkNMVURJTkcgQlVUIE5PVCBMSU1JVEVEIFRPIFRIRSBXQVJSQU5USUVTIE9GIE1FUkNIQU5UQUJJTElUWSwKRklUTkVTUyBGT1IgQSBQQVJUSUNVTEFSIFBVUlBPU0UgQU5EIE5PTklORlJJTkdFTUVOVC4gSU4gTk8gRVZFTlQgU0hBTEwgVEhFCkFVVEhPUlMgT1IgQ09QWVJJR0hUIEhPTERFUlMgQkUgTElBQkxFIEZPUiBBTlkgQ0xBSU0sIERBTUFHRVMgT1IgT1RIRVIKTElBQklMSVRZLCBXSEVUSEVSIElOIEFOIEFDVElPTiBPRiBDT05UUkFDVCwgVE9SVCBPUiBPVEhFUldJU0UsIEFSSVNJTkcgRlJPTSwKT1VUIE9GIE9SIElOIENPTk5FQ1RJT04gV0lUSCBUSEUgU09GVFdBUkUgT1IgVEhFIFVTRSBPUiBPVEhFUiBERUFMSU5HUyBJTiBUSEUKU09GVFdBUkUuCg==","contentType":"text/plain","encoding":"base64"}}}]}},"supplier":{"name":"Stealth Scale B.V.","url":["https://stealthscale.io"]}},"components":[],"dependencies":[{"ref":"pkg:npm/%40stealthscale/component-typography@0.3.2"}]}
package/dist/index.js CHANGED
@@ -1,516 +1,2 @@
1
- import { t as __exportAll } from "./rolldown-runtime-D7D4PA-g.js";
2
- import { a as recipe$8, c as recipe$5, d as recipe$2, f as recipe$1, i as recipe$9, l as recipe$4, n as recipe$11, o as recipe$6, p as recipe, r as recipe$10, s as recipe$7, t as recipe$12, u as recipe$3 } from "./recipe-DuvOpofr.js";
3
- import { createRecipeContext, createSlotRecipeContext } from "@stealthscale/theme";
4
- import { c } from "react/compiler-runtime";
5
- import { jsx } from "react/jsx-runtime";
6
- import { Fragment } from "react";
7
- import { useHighlight } from "@stealthscale/hooks";
8
- //#region src/blockquote/context.ts
9
- /**
10
- * Binds the blockquote slot recipe to React.
11
- *
12
- * @remarks
13
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
14
- * at build time and must not load the React runtime.
15
- */
16
- /**
17
- * Creates the blockquote recipe's `withProvider` and `withContext` bindings.
18
- *
19
- * @remarks
20
- * `withProvider` binds the root, which takes the variants and provides the slot classes.
21
- * `withContext` binds each other part, which reads its slot classes from the root.
22
- */
23
- const { withContext: withContext$11, withProvider: withProvider$1 } = createSlotRecipeContext(recipe);
24
- //#endregion
25
- //#region src/blockquote/caption.ts
26
- /**
27
- * Renders a `figcaption` element with the caption slot's classes.
28
- */
29
- const Caption = withContext$11("figcaption", "caption");
30
- //#endregion
31
- //#region src/blockquote/content.ts
32
- /**
33
- * Renders a `blockquote` element with the content slot's classes.
34
- */
35
- const Content = withContext$11("blockquote", "content");
36
- //#endregion
37
- //#region src/icon/context.ts
38
- /**
39
- * Binds the icon recipe to React.
40
- *
41
- * @remarks
42
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
43
- * at build time and must not load the React runtime.
44
- */
45
- /**
46
- * Creates the icon recipe's `withContext` binding and its `PropsProvider`.
47
- *
48
- * @remarks
49
- * `PropsProvider` sets variants on every element bound below it.
50
- */
51
- const { PropsProvider: PropsProvider$5, withContext: withContext$10 } = createRecipeContext(recipe$1);
52
- //#endregion
53
- //#region src/icon/icon.ts
54
- /**
55
- * Renders an `svg` element with the classes of the icon recipe, hidden and in the `img` role.
56
- */
57
- const Icon = withContext$10("svg", { defaultProps: {
58
- "aria-hidden": true,
59
- role: "img"
60
- } });
61
- //#endregion
62
- //#region src/blockquote/icon.tsx
63
- /**
64
- * Renders the package's `Icon` with the icon slot's classes.
65
- */
66
- const Slot = withContext$11(Icon, "icon");
67
- /**
68
- * Path of the quote mark in a 24-unit box: two filled marks with square tops.
69
- */
70
- const MARK = "M6 17h3l2-4V7H5v6h3zm8 0h3l2-4V7h-6v6h3z";
71
- /**
72
- * Renders the quote mark, or the children in its place.
73
- *
74
- * @remarks
75
- * The `viewBox` defaults to the mark's 24-unit box, and a `viewBox` passed by the caller takes
76
- * precedence.
77
- */
78
- function Icon$1(t0) {
79
- const $ = c(8);
80
- let children;
81
- let props;
82
- if ($[0] !== t0) {
83
- ({children, ...props} = t0);
84
- $[0] = t0;
85
- $[1] = children;
86
- $[2] = props;
87
- } else {
88
- children = $[1];
89
- props = $[2];
90
- }
91
- let t1;
92
- if ($[3] !== children) {
93
- t1 = children ?? /* @__PURE__ */ jsx("path", { d: MARK });
94
- $[3] = children;
95
- $[4] = t1;
96
- } else t1 = $[4];
97
- let t2;
98
- if ($[5] !== props || $[6] !== t1) {
99
- t2 = /* @__PURE__ */ jsx(Slot, {
100
- viewBox: "0 0 24 24",
101
- ...props,
102
- children: t1
103
- });
104
- $[5] = props;
105
- $[6] = t1;
106
- $[7] = t2;
107
- } else t2 = $[7];
108
- return t2;
109
- }
110
- //#endregion
111
- //#region src/blockquote/root.ts
112
- /**
113
- * Renders a `figure` element with the root slot's classes and provides the variants to the parts.
114
- */
115
- const Root$2 = withProvider$1("figure", "root");
116
- //#endregion
117
- //#region src/blockquote/index.ts
118
- var blockquote_exports = /* @__PURE__ */ __exportAll({
119
- Caption: () => Caption,
120
- Content: () => Content,
121
- Icon: () => Icon$1,
122
- Root: () => Root$2
123
- });
124
- //#endregion
125
- //#region src/code/context.ts
126
- /**
127
- * Binds the code recipe to React.
128
- *
129
- * @remarks
130
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
131
- * at build time and must not load the React runtime.
132
- */
133
- /**
134
- * Creates the code recipe's `withContext` binding and its `PropsProvider`.
135
- *
136
- * @remarks
137
- * `PropsProvider` sets variants on every element bound below it.
138
- */
139
- const { PropsProvider: PropsProvider$4, withContext: withContext$9 } = createRecipeContext(recipe$2);
140
- //#endregion
141
- //#region src/code/code.ts
142
- /**
143
- * Renders a `code` element with the classes of the code recipe.
144
- */
145
- const Code = withContext$9("code");
146
- //#endregion
147
- //#region src/em/context.ts
148
- /**
149
- * Binds the em recipe to React.
150
- *
151
- * @remarks
152
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
153
- * at build time and must not load the React runtime.
154
- */
155
- /**
156
- * Creates the em recipe's `withContext` binding.
157
- */
158
- const { withContext: withContext$8 } = createRecipeContext(recipe$3);
159
- //#endregion
160
- //#region src/em/em.ts
161
- /**
162
- * Renders an `em` element with the classes of the em recipe.
163
- */
164
- const Em = withContext$8("em");
165
- //#endregion
166
- //#region src/heading/context.ts
167
- /**
168
- * Binds the heading recipe to React.
169
- *
170
- * @remarks
171
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
172
- * at build time and must not load the React runtime.
173
- */
174
- /**
175
- * Creates the heading recipe's `withContext` binding and its `PropsProvider`.
176
- *
177
- * @remarks
178
- * `PropsProvider` sets variants on every element bound below it.
179
- */
180
- const { PropsProvider: PropsProvider$3, withContext: withContext$7 } = createRecipeContext(recipe$4);
181
- //#endregion
182
- //#region src/heading/heading.ts
183
- /**
184
- * Renders an `h2` element with the classes of the heading recipe.
185
- */
186
- const Heading = withContext$7("h2");
187
- //#endregion
188
- //#region src/mark/context.ts
189
- /**
190
- * Binds the mark recipe to React.
191
- *
192
- * @remarks
193
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
194
- * at build time and must not load the React runtime.
195
- */
196
- /**
197
- * Creates the mark recipe's `withContext` binding and its `PropsProvider`.
198
- *
199
- * @remarks
200
- * `PropsProvider` sets variants on every element bound below it. The package exports it as
201
- * `MarkPropsProvider`, so a search results list sets one look for all of its highlights.
202
- */
203
- const { PropsProvider, withContext: withContext$6 } = createRecipeContext(recipe$5);
204
- //#endregion
205
- //#region src/mark/mark.ts
206
- /**
207
- * Renders a `mark` element with the classes of the mark recipe.
208
- */
209
- const Mark = withContext$6("mark");
210
- //#endregion
211
- //#region src/highlight/highlight.tsx
212
- /**
213
- * Renders a text with every match of a search query in a mark.
214
- *
215
- * @remarks
216
- * The text renders as it is, and each run that matches the query renders in `Mark` with the props
217
- * the caller gives, so a theme styles a match as it styles any highlight. A match takes the
218
- * `none` inset unless a caller states one, because a match inside a word is split by padding.
219
- * The matching is `useHighlight`'s: every occurrence, letter case ignored unless `ignoreCase` is
220
- * false, each term trimmed, the longer term first. The component renders no element of its own,
221
- * so it takes the place of a string inside the caller's text. A screen reader announces a `mark`
222
- * only where its user asks for highlights.
223
- */
224
- /**
225
- * Renders the text with each match in a mark.
226
- *
227
- * @param props - The text, the query, whether case is ignored, and the props of every `Mark`.
228
- * @returns The runs of the text.
229
- */
230
- function Highlight(t0) {
231
- const $ = c(10);
232
- let children;
233
- let ignoreCase;
234
- let props;
235
- let query;
236
- let t1;
237
- if ($[0] !== t0) {
238
- ({children, ignoreCase, inset: t1, query, ...props} = t0);
239
- $[0] = t0;
240
- $[1] = children;
241
- $[2] = ignoreCase;
242
- $[3] = props;
243
- $[4] = query;
244
- $[5] = t1;
245
- } else {
246
- children = $[1];
247
- ignoreCase = $[2];
248
- props = $[3];
249
- query = $[4];
250
- t1 = $[5];
251
- }
252
- const inset = t1 === void 0 ? "none" : t1;
253
- const runs = [];
254
- let start = 0;
255
- let t2;
256
- if ($[6] !== children || $[7] !== ignoreCase || $[8] !== query) {
257
- t2 = {
258
- ignoreCase,
259
- query,
260
- text: children
261
- };
262
- $[6] = children;
263
- $[7] = ignoreCase;
264
- $[8] = query;
265
- $[9] = t2;
266
- } else t2 = $[9];
267
- for (const { match, text } of useHighlight(t2)) {
268
- runs.push(match ? /* @__PURE__ */ jsx(Mark, {
269
- inset,
270
- ...props,
271
- children: text
272
- }, start) : /* @__PURE__ */ jsx(Fragment, { children: text }, start));
273
- start = start + text.length;
274
- }
275
- return runs;
276
- }
277
- //#endregion
278
- //#region src/kbd/context.ts
279
- /**
280
- * Binds the kbd and kbd-group recipes to React.
281
- *
282
- * @remarks
283
- * The bindings are a separate module from the recipes, because the theme compiler imports a
284
- * recipe at build time and must not load the React runtime.
285
- */
286
- /**
287
- * Creates the kbd recipe's `withContext` binding and its `PropsProvider`.
288
- *
289
- * @remarks
290
- * `Kbd.Group` sets its size, look and palette on every keycap inside it through `PropsProvider`.
291
- */
292
- const { PropsProvider: PropsProvider$2, withContext: withContext$5 } = createRecipeContext(recipe$6);
293
- /**
294
- * Creates the kbd-group recipe's `withContext` binding.
295
- */
296
- const { withContext: withGroupContext } = createRecipeContext(recipe$7);
297
- //#endregion
298
- //#region src/kbd/group.tsx
299
- /**
300
- * Renders the outer `kbd` element with the classes of the kbd-group recipe.
301
- */
302
- const Row = withGroupContext("kbd");
303
- /**
304
- * Renders a key combination and sets its size, look and palette on every keycap inside it.
305
- *
306
- * @remarks
307
- * An axis the caller leaves unset is not passed down, so a keycap keeps the recipe's default. The
308
- * recipe runtime reads an axis passed as undefined as a selection and writes no class for it.
309
- */
310
- function Group(t0) {
311
- const $ = c(20);
312
- let palette;
313
- let props;
314
- let size;
315
- let variant;
316
- if ($[0] !== t0) {
317
- ({palette, size, variant, ...props} = t0);
318
- $[0] = t0;
319
- $[1] = palette;
320
- $[2] = props;
321
- $[3] = size;
322
- $[4] = variant;
323
- } else {
324
- palette = $[1];
325
- props = $[2];
326
- size = $[3];
327
- variant = $[4];
328
- }
329
- let t1;
330
- if ($[5] !== palette) {
331
- t1 = palette === void 0 ? {} : { palette };
332
- $[5] = palette;
333
- $[6] = t1;
334
- } else t1 = $[6];
335
- let t2;
336
- if ($[7] !== size) {
337
- t2 = size === void 0 ? {} : { size };
338
- $[7] = size;
339
- $[8] = t2;
340
- } else t2 = $[8];
341
- let t3;
342
- if ($[9] !== variant) {
343
- t3 = variant === void 0 ? {} : { variant };
344
- $[9] = variant;
345
- $[10] = t3;
346
- } else t3 = $[10];
347
- let t4;
348
- if ($[11] !== t1 || $[12] !== t2 || $[13] !== t3) {
349
- t4 = {
350
- ...t1,
351
- ...t2,
352
- ...t3
353
- };
354
- $[11] = t1;
355
- $[12] = t2;
356
- $[13] = t3;
357
- $[14] = t4;
358
- } else t4 = $[14];
359
- const chosen = t4;
360
- let t5;
361
- if ($[15] !== props) {
362
- t5 = /* @__PURE__ */ jsx(Row, { ...props });
363
- $[15] = props;
364
- $[16] = t5;
365
- } else t5 = $[16];
366
- let t6;
367
- if ($[17] !== chosen || $[18] !== t5) {
368
- t6 = /* @__PURE__ */ jsx(PropsProvider$2, {
369
- value: chosen,
370
- children: t5
371
- });
372
- $[17] = chosen;
373
- $[18] = t5;
374
- $[19] = t6;
375
- } else t6 = $[19];
376
- return t6;
377
- }
378
- //#endregion
379
- //#region src/kbd/root.ts
380
- /**
381
- * Renders a `kbd` element with the classes of the kbd recipe.
382
- */
383
- const Root$1 = withContext$5("kbd");
384
- //#endregion
385
- //#region src/kbd/index.ts
386
- var kbd_exports = /* @__PURE__ */ __exportAll({
387
- Group: () => Group,
388
- Root: () => Root$1
389
- });
390
- //#endregion
391
- //#region src/list/context.ts
392
- /**
393
- * Binds the list slot recipe to React.
394
- *
395
- * @remarks
396
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
397
- * at build time and must not load the React runtime.
398
- */
399
- /**
400
- * Creates the list recipe's `withProvider` and `withContext` bindings.
401
- *
402
- * @remarks
403
- * `withProvider` binds the root, which takes the variants and provides the slot classes.
404
- * `withContext` binds each other part, which reads its slot classes from the root.
405
- */
406
- const { withContext: withContext$4, withProvider } = createSlotRecipeContext(recipe$8);
407
- //#endregion
408
- //#region src/list/indicator.ts
409
- /**
410
- * Renders a `span` element with the indicator slot's classes, hidden from assistive technology.
411
- */
412
- const Indicator = withContext$4("span", "indicator", { defaultProps: { "aria-hidden": true } });
413
- //#endregion
414
- //#region src/list/item.ts
415
- /**
416
- * Renders an `li` element with the item slot's classes.
417
- */
418
- const Item = withContext$4("li", "item");
419
- //#endregion
420
- //#region src/list/root.ts
421
- /**
422
- * Renders a `ul` element in the `list` role with the root slot's classes, and provides the
423
- * variants to the items.
424
- */
425
- const Root = withProvider("ul", "root", {
426
- defaultProps: { role: "list" },
427
- forwardProps: ["start"]
428
- });
429
- //#endregion
430
- //#region src/list/index.ts
431
- var list_exports = /* @__PURE__ */ __exportAll({
432
- Indicator: () => Indicator,
433
- Item: () => Item,
434
- Root: () => Root
435
- });
436
- //#endregion
437
- //#region src/quote/context.ts
438
- /**
439
- * Binds the quote recipe to React.
440
- *
441
- * @remarks
442
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
443
- * at build time and must not load the React runtime.
444
- */
445
- /**
446
- * Creates the quote recipe's `withContext` binding.
447
- */
448
- const { withContext: withContext$3 } = createRecipeContext(recipe$9);
449
- //#endregion
450
- //#region src/quote/quote.ts
451
- /**
452
- * Renders a `q` element with the classes of the quote recipe.
453
- */
454
- const Quote = withContext$3("q");
455
- //#endregion
456
- //#region src/span/context.ts
457
- /**
458
- * Binds the span recipe to React.
459
- *
460
- * @remarks
461
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
462
- * at build time and must not load the React runtime.
463
- */
464
- /**
465
- * Creates the span recipe's `withContext` binding.
466
- */
467
- const { withContext: withContext$2 } = createRecipeContext(recipe$10);
468
- //#endregion
469
- //#region src/span/span.ts
470
- /**
471
- * Renders a `span` element with the classes of the span recipe.
472
- */
473
- const Span = withContext$2("span");
474
- //#endregion
475
- //#region src/strong/context.ts
476
- /**
477
- * Binds the strong recipe to React.
478
- *
479
- * @remarks
480
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
481
- * at build time and must not load the React runtime.
482
- */
483
- /**
484
- * Creates the strong recipe's `withContext` binding.
485
- */
486
- const { withContext: withContext$1 } = createRecipeContext(recipe$11);
487
- //#endregion
488
- //#region src/strong/strong.ts
489
- /**
490
- * Renders a `strong` element with the classes of the strong recipe.
491
- */
492
- const Strong = withContext$1("strong");
493
- //#endregion
494
- //#region src/text/context.ts
495
- /**
496
- * Binds the text recipe to React.
497
- *
498
- * @remarks
499
- * The binding is a separate module from the recipe, because the theme compiler imports the recipe
500
- * at build time and must not load the React runtime.
501
- */
502
- /**
503
- * Creates the text recipe's `withContext` binding and its `PropsProvider`.
504
- *
505
- * @remarks
506
- * `PropsProvider` sets variants on every element bound below it.
507
- */
508
- const { PropsProvider: PropsProvider$1, withContext } = createRecipeContext(recipe$12);
509
- //#endregion
510
- //#region src/text/text.ts
511
- /**
512
- * Renders a `p` element with the classes of the text recipe.
513
- */
514
- const Text = withContext("p");
515
- //#endregion
1
+ import { _ as Code, a as list_exports, f as Highlight, g as Em, h as Heading, i as Quote, l as kbd_exports, m as PropsProvider, n as Strong, p as Mark, r as Span, t as Text, v as blockquote_exports, x as Icon } from "./shared-CRBzNmJA.js";
516
2
  export { blockquote_exports as Blockquote, Code, Em, Heading, Highlight, Icon, kbd_exports as Kbd, list_exports as List, Mark, PropsProvider as MarkPropsProvider, Quote, Span, Strong, Text };