create-knapsack 4.89.13 → 4.89.14--canary.7270.96a0eff.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/.temp/packages/knapsack/data/db.yml +9 -0
  2. package/.temp/packages/knapsack/data/knapsack.asset-sets.json +4 -0
  3. package/.temp/packages/knapsack/data/knapsack.design-tokens.json +1 -0
  4. package/.temp/packages/knapsack/data/knapsack.files.json +3 -0
  5. package/.temp/packages/knapsack/data/knapsack.navs.yml +2 -0
  6. package/.temp/packages/knapsack/data/knapsack.patterns.json +35 -0
  7. package/.temp/packages/knapsack/dist/meta/ks-meta.json +1 -0
  8. package/.temp/packages/knapsack/dist/tokens/design-tokens.android.xml +3 -0
  9. package/.temp/packages/knapsack/dist/tokens/design-tokens.cjs +1 -0
  10. package/.temp/packages/knapsack/dist/tokens/design-tokens.css +2 -0
  11. package/.temp/packages/knapsack/dist/tokens/design-tokens.css.scss +2 -0
  12. package/.temp/packages/knapsack/dist/tokens/design-tokens.d.cts +1 -0
  13. package/.temp/packages/knapsack/dist/tokens/design-tokens.d.mts +1 -0
  14. package/.temp/packages/knapsack/dist/tokens/design-tokens.d.ts +1 -0
  15. package/.temp/packages/knapsack/dist/tokens/design-tokens.js +1 -0
  16. package/.temp/packages/knapsack/dist/tokens/design-tokens.json +1 -0
  17. package/.temp/packages/knapsack/dist/tokens/design-tokens.less +1 -0
  18. package/.temp/packages/knapsack/dist/tokens/design-tokens.mjs +1 -0
  19. package/.temp/packages/knapsack/dist/tokens/design-tokens.nested.json +1 -0
  20. package/.temp/packages/knapsack/dist/tokens/design-tokens.scss +1 -0
  21. package/.temp/packages/knapsack/dist/tokens/design-tokens.style-dictionary.json +1 -0
  22. package/.temp/packages/knapsack/dist/tokens/design-tokens.swift +3 -0
  23. package/.temp/packages/knapsack/dist/tokens/design-tokens.w3c-spec.json +1 -0
  24. package/.temp/packages/knapsack/knapsack.config.cjs +26 -0
  25. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/app-client-data.json +1 -0
  26. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/build-meta.json +1 -0
  27. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/discovery.json +1 -0
  28. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/hydrate.renderer-react.json +1 -0
  29. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/apps_client_libs_renderer-react-components_dist_demo-wrapper_js.chunk.62c116e35af48eefa175.js +22 -0
  30. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/ks-pattern-import-global-setup.js +17 -0
  31. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/main.bundle.62c116e35af48eefa175.js +4896 -0
  32. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/knapsack-renderer-react/manifest.json +4 -0
  33. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/renderer-client/renderer-client.mjs +132 -0
  34. package/.temp/packages/knapsack/node_modules/.cache/@knapsack/app/renderer-discovery-react.json +1 -0
  35. package/.temp/packages/knapsack/package.json +17 -0
  36. package/package.json +16 -16
@@ -0,0 +1,9 @@
1
+ blockCollections:
2
+ settings: {}
3
+ blocks:
4
+ settings: {}
5
+ demos:
6
+ settings: {}
7
+ settings: {}
8
+ tabs:
9
+ settings: {}
@@ -0,0 +1,4 @@
1
+ {
2
+ "globalAssetSetIds": [],
3
+ "allAssetSets": {}
4
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "files": {}
3
+ }
@@ -0,0 +1,2 @@
1
+ byId: {}
2
+ order: []
@@ -0,0 +1,35 @@
1
+ {
2
+ "statusSets": [
3
+ {
4
+ "id": "main",
5
+ "title": "Status",
6
+ "statuses": [
7
+ {
8
+ "id": "draft",
9
+ "title": "Draft",
10
+ "color": "#9b9b9b"
11
+ },
12
+ {
13
+ "id": "needsDesign",
14
+ "title": "Needs Design",
15
+ "color": "#FC0"
16
+ },
17
+ {
18
+ "id": "needsDev",
19
+ "title": "Needs Development",
20
+ "color": "#FC0"
21
+ },
22
+ {
23
+ "id": "needsReview",
24
+ "title": "Needs Review",
25
+ "color": "#FC0"
26
+ },
27
+ {
28
+ "id": "ready",
29
+ "title": "Ready",
30
+ "color": "#2ECC40"
31
+ }
32
+ ]
33
+ }
34
+ ]
35
+ }
@@ -0,0 +1 @@
1
+ {"demoUrls":[]}
@@ -0,0 +1,3 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <resources>
3
+ </resources>
@@ -0,0 +1 @@
1
+ module.exports = {};
@@ -0,0 +1,3 @@
1
+ import UIKit
2
+ public class ColorTokens {
3
+ }
@@ -0,0 +1,26 @@
1
+ const { KnapsackReactRenderer } = require('@knapsack/renderer-react');
2
+ const { configureKnapsack } = require('@knapsack/app');
3
+ const { join } = require('path');
4
+ const { version } = require('./package.json');
5
+
6
+ module.exports = configureKnapsack({
7
+ data: join(__dirname, './data'),
8
+ dist: join(__dirname, './dist'),
9
+ public: join(__dirname, './public'),
10
+ version,
11
+ templateRenderers: [
12
+ new KnapsackReactRenderer({
13
+ codeSrcs: [],
14
+ webpackConfig: {
15
+ module: {
16
+ rules: [],
17
+ },
18
+ },
19
+ }),
20
+ ],
21
+ plugins: [],
22
+ cloud: {
23
+ siteId: 'test-site-id',
24
+ repoRoot: join(__dirname, '../..'),
25
+ },
26
+ });
@@ -0,0 +1 @@
1
+ {"patternsState":{"patterns":{},"renderers":{"react":{"meta":{"id":"react","title":"React","aliasUse":"optional","aliasTitle":"Named Export","aliasIsJsNamedExport":true,"aliasDescription":"If `export X` was used instead of `export default`, then provide X.","enableDataDemos":true,"enableTemplateDemos":true,"hasSlotsSupport":true,"hasSlotOptionsSupport":true,"version":"4.89.13","hasInferSpecSupport":true,"syntaxHighlightingLanguage":"jsx","hasTemplateSuggestionsSupport":true,"prototypingTemplate":{"path":"@knapsack/renderer-react/prototype-template","spec":{"isInferred":false,"props":{"type":"object","properties":{}},"slots":{"children":{"title":"Children"}}}}}}},"statusSets":[{"id":"main","title":"Status","statuses":[{"id":"draft","title":"Draft","color":"#9b9b9b"},{"id":"needsDesign","title":"Needs Design","color":"#FC0"},{"id":"needsDev","title":"Needs Development","color":"#FC0"},{"id":"needsReview","title":"Needs Review","color":"#FC0"},{"id":"ready","title":"Ready","color":"#2ECC40"}]}]},"customPagesState":{"pages":{}},"assetSetsState":{"globalAssetSetIds":[],"allAssetSets":{}},"navsState":{"byId":{},"order":[]},"tokensSrc":{},"filesState":{"files":{}},"db":{"blockCollections":{"settings":{}},"blocks":{"settings":{},"byId":{}},"demos":{"settings":{},"byId":{}},"settings":{},"tabs":{"settings":{}}}}
@@ -0,0 +1 @@
1
+ {"buildTime":"2026-03-11T16:29:13.094Z","buildId":"2e93f8ae-b509-4d83-84e2-e7f070aaad56"}
@@ -0,0 +1 @@
1
+ {"renderersById":{"react":{"meta":{"id":"react","title":"React","aliasUse":"optional","aliasTitle":"Named Export","aliasIsJsNamedExport":true,"aliasDescription":"If `export X` was used instead of `export default`, then provide X.","enableDataDemos":true,"enableTemplateDemos":true,"hasSlotsSupport":true,"hasSlotOptionsSupport":true,"version":"4.89.13","hasInferSpecSupport":true,"syntaxHighlightingLanguage":"jsx","hasTemplateSuggestionsSupport":true,"prototypingTemplate":{"path":"@knapsack/renderer-react/prototype-template","spec":{"isInferred":false,"props":{"type":"object","properties":{}},"slots":{"children":{"title":"Children"}}}}}}},"assetSets":{"globalAssetSetIds":[],"allAssetSets":{}},"metaState":{"isLocalDev":false,"meta":{"version":"1.0.0","hasKnapsackCloud":true,"knapsackCloudSiteId":"test-site-id","ksVersions":{"app":"4.89.13"}},"plugins":[{"id":"ks-app","hasContent":false}]}}
@@ -0,0 +1 @@
1
+ {"codeSrcs":{},"webpackAssetPaths":{"main":["/knapsack-renderer-react/main.bundle.62c116e35af48eefa175.js"]}}
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ /*
3
+ * ATTENTION: An "eval-source-map" devtool has been used.
4
+ * This devtool is neither made for production nor for readable output files.
5
+ * It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
6
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
7
+ * or disable the default devtool with "devtool: false".
8
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
9
+ */
10
+ (self["webpackChunk_my_org_knapsack"] = self["webpackChunk_my_org_knapsack"] || []).push([["apps_client_libs_renderer-react-components_dist_demo-wrapper_js"],{
11
+
12
+ /***/ "../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js"
13
+ /*!**************************************************************************************!*\
14
+ !*** ../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js ***!
15
+ \**************************************************************************************/
16
+ (__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) {
17
+
18
+ eval("{__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-runtime */ \"../../../../../node_modules/.pnpm/react@19.2.0/node_modules/react/jsx-runtime.js\");\n\nconst DemoWrapper = ({ children }) => ((0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(\"div\", { className: \"demo-wrapper\", children: children }));\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (DemoWrapper);\n//# sourceMappingURL=demo-wrapper.js.map//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi4vLi4vLi4vLi4vLi4vYXBwcy9jbGllbnQvbGlicy9yZW5kZXJlci1yZWFjdC1jb21wb25lbnRzL2Rpc3QvZGVtby13cmFwcGVyLmpzIiwibWFwcGluZ3MiOiI7Ozs7O0FBQUE7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly9AbXktb3JnL2tuYXBzYWNrLy4uLy4uLy4uLy4uLy4uL2FwcHMvY2xpZW50L2xpYnMvcmVuZGVyZXItcmVhY3QtY29tcG9uZW50cy9kaXN0L2RlbW8td3JhcHBlci5qcz85YWQ4Il0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGpzeCBhcyBfanN4IH0gZnJvbSBcInJlYWN0L2pzeC1ydW50aW1lXCI7XG5jb25zdCBEZW1vV3JhcHBlciA9ICh7IGNoaWxkcmVuIH0pID0+IChfanN4KFwiZGl2XCIsIHsgY2xhc3NOYW1lOiBcImRlbW8td3JhcHBlclwiLCBjaGlsZHJlbjogY2hpbGRyZW4gfSkpO1xuZXhwb3J0IGRlZmF1bHQgRGVtb1dyYXBwZXI7XG4vLyMgc291cmNlTWFwcGluZ1VSTD1kZW1vLXdyYXBwZXIuanMubWFwIl0sIm5hbWVzIjpbXSwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///../../../../../apps/client/libs/renderer-react-components/dist/demo-wrapper.js\n\n}");
19
+
20
+ /***/ }
21
+
22
+ }]);
@@ -0,0 +1,17 @@
1
+
2
+ const codeSrcModules = {
3
+
4
+ };
5
+
6
+ const extraImports = [
7
+ {
8
+ exportName: 'DemoWrapper',
9
+ path: '../../../../../../../../../../apps/client/renderers/renderer-react/node_modules/@knapsack/renderer-react-components/dist/demo-wrapper.js',
10
+ isDefaultExport: true,
11
+ getModule: () => import('../../../../../../../../../../apps/client/renderers/renderer-react/node_modules/@knapsack/renderer-react-components/dist/demo-wrapper.js'),
12
+ },
13
+ ];
14
+
15
+ window.knapsack = window.knapsack || {};
16
+ window.knapsack.codeSrcModules = codeSrcModules;
17
+ window.knapsack.extraImports = extraImports;