@universal-ember/docs-support 0.0.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.
package/addon-main.cjs ADDED
@@ -0,0 +1,4 @@
1
+ 'use strict';
2
+
3
+ const { addonV1Shim } = require('@embroider/addon-shim');
4
+ module.exports = addonV1Shim(__dirname);
@@ -0,0 +1,8 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const Article: TOC<{
3
+ Element: HTMLElement;
4
+ Blocks: {
5
+ default: [];
6
+ };
7
+ }>;
8
+ //# sourceMappingURL=article.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"article.gts.d.ts","sourceRoot":"","sources":["../src/article.gts"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAqC1D,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,WAAW,CAAC;IAAC,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAUzE,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const Callout: TOC<{
3
+ Blocks: {
4
+ default: [];
5
+ };
6
+ }>;
7
+ //# sourceMappingURL=callout.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callout.gts.d.ts","sourceRoot":"","sources":["../src/callout.gts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC;IAAE,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CA2BnD,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const OopsError: TOC<{
3
+ Args: {
4
+ error: string;
5
+ };
6
+ Blocks: {
7
+ default: [];
8
+ };
9
+ }>;
10
+ //# sourceMappingURL=errors.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errors.gts.d.ts","sourceRoot":"","sources":["../src/errors.gts"],"names":[],"mappings":"AAmBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC;IAC1B,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAA;KAAE,CAAC;IACxB,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CA4BC,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const H2: TOC<{
3
+ Blocks: {
4
+ default: [];
5
+ };
6
+ }>;
7
+ //# sourceMappingURL=h2.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"h2.gts.d.ts","sourceRoot":"","sources":["../src/h2.gts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,eAAO,MAAM,EAAE,EAAE,GAAG,CAAC;IAAE,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAS9C,CAAC"}
@@ -0,0 +1,43 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ /**
3
+ * Copied from font-awesome directly,
4
+ * but with the addition of fill="currentColor"
5
+ *
6
+ * Font Awesome Free 6.6.0 by @fontawesome
7
+ * - https://fontawesome.com License
8
+ * - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.
9
+ */
10
+ export declare const XTwitter: TOC<{
11
+ Element: SVGElement;
12
+ }>;
13
+ export declare const Discord: TOC<{
14
+ Element: SVGElement;
15
+ }>;
16
+ export declare const Threads: TOC<{
17
+ Element: SVGElement;
18
+ }>;
19
+ export declare const BlueSky: TOC<{
20
+ Element: SVGElement;
21
+ }>;
22
+ export declare const Mastodon: TOC<{
23
+ Element: SVGElement;
24
+ }>;
25
+ export declare const GitHub: TOC<{
26
+ Element: SVGElement;
27
+ }>;
28
+ export declare const Flask: TOC<{
29
+ Element: SVGElement;
30
+ }>;
31
+ export declare const Menu: TOC<{
32
+ Element: SVGElement;
33
+ }>;
34
+ export declare const Sun: TOC<{
35
+ Element: SVGElement;
36
+ }>;
37
+ export declare const Moon: TOC<{
38
+ Element: SVGElement;
39
+ }>;
40
+ export declare const LightBulb: TOC<{
41
+ Element: SVGElement;
42
+ }>;
43
+ //# sourceMappingURL=icons.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.gts.d.ts","sourceRoot":"","sources":["../src/icons.gts"],"names":[],"mappings":"AAsJA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D;;;;;;;GAOG;AACH,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAehD,CAAC;AAEH,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAe/C,CAAC;AAEH,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAe/C,CAAC;AAEH,eAAO,MAAM,OAAO,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAe/C,CAAC;AAEH,eAAO,MAAM,QAAQ,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAehD,CAAC;AAEH,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAe9C,CAAC;AAEH,eAAO,MAAM,KAAK,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAkB7C,CAAC;AAEH,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAmB5C,CAAC;AAEH,eAAO,MAAM,GAAG,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAkB3C,CAAC;AAEH,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAkB5C,CAAC;AAEH,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC;IAAE,OAAO,EAAE,UAAU,CAAA;CAAE,CAoIjD,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ import './index-page.css';
3
+ export declare const IndexPage: TOC<{
4
+ Blocks: {
5
+ logo: [];
6
+ header: [];
7
+ tagline: [];
8
+ callToAction: [];
9
+ content: [];
10
+ footer: [];
11
+ };
12
+ }>;
13
+ //# sourceMappingURL=index-page.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-page.gts.d.ts","sourceRoot":"","sources":["../src/index-page.gts"],"names":[],"mappings":"AAwCA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAG1D,OAAO,kBAAkB,CAAC;AAE1B,eAAO,MAAM,SAAS,EAAE,GAAG,CAAC;IAC1B,MAAM,EAAE;QACN,IAAI,EAAE,EAAE,CAAC;QACT,MAAM,EAAE,EAAE,CAAC;QACX,OAAO,EAAE,EAAE,CAAC;QACZ,YAAY,EAAE,EAAE,CAAC;QACjB,OAAO,EAAE,EAAE,CAAC;QACZ,MAAM,EAAE,EAAE,CAAC;KACZ,CAAC;CACH,CA4DC,CAAC"}
@@ -0,0 +1,11 @@
1
+ export { H2 } from './h2.gts';
2
+ export { Callout } from './callout.gts';
3
+ export { Text } from './text.gts';
4
+ export { Article } from './article.gts';
5
+ export { Shell } from './shell.gts';
6
+ export { IndexPage } from './index-page.gts';
7
+ export { Link, InternalLink } from './links.gts';
8
+ export { OopsError } from './errors.gts';
9
+ export { Layout, PageLayout } from './layouts.gts';
10
+ export { ThemeToggle } from './theme-toggle.gts';
11
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC"}
@@ -0,0 +1,29 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ import type { ComponentLike } from '@glint/template';
3
+ export declare const Layout: TOC<{
4
+ Blocks: {
5
+ nav: [options?: {
6
+ close: () => void;
7
+ }];
8
+ content: [];
9
+ header: [toggle: ComponentLike];
10
+ };
11
+ }>;
12
+ export declare const PageLayout: TOC<{
13
+ Blocks: {
14
+ nav: [];
15
+ header: [];
16
+ editLink: [typeof EditLink];
17
+ error: [error: string];
18
+ };
19
+ }>;
20
+ declare const EditLink: TOC<{
21
+ Args: {
22
+ href: string;
23
+ };
24
+ Blocks: {
25
+ default: [];
26
+ };
27
+ }>;
28
+ export {};
29
+ //# sourceMappingURL=layouts.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"layouts.gts.d.ts","sourceRoot":"","sources":["../src/layouts.gts"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AA4BrD,eAAO,MAAM,MAAM,EAAE,GAAG,CAAC;IACvB,MAAM,EAAE;QACN,GAAG,EAAE,CAAC,OAAO,CAAC,EAAE;YAAE,KAAK,EAAE,MAAM,IAAI,CAAA;SAAE,CAAC,CAAC;QACvC,OAAO,EAAE,EAAE,CAAC;QACZ,MAAM,EAAE,CAAC,MAAM,EAAE,aAAa,CAAC,CAAC;KACjC,CAAC;CACH,CA4CC,CAAC;AAaH,eAAO,MAAM,UAAU,EAAE,GAAG,CAAC;IAC3B,MAAM,EAAE;QACN,GAAG,EAAE,EAAE,CAAC;QACR,MAAM,EAAE,EAAE,CAAC;QACX,QAAQ,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;QAC5B,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;KACxB,CAAC;CACH,CAgEC,CAAC;AAEH,QAAA,MAAM,QAAQ,EAAE,GAAG,CAAC;IAAE,IAAI,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAAC,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAcrE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const InternalLink: TOC<{
3
+ Element: HTMLAnchorElement;
4
+ Blocks: {
5
+ default: [];
6
+ };
7
+ }>;
8
+ export declare const Link: TOC<{
9
+ Element: HTMLAnchorElement;
10
+ Blocks: {
11
+ default: [];
12
+ };
13
+ }>;
14
+ //# sourceMappingURL=links.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"links.gts.d.ts","sourceRoot":"","sources":["../src/links.gts"],"names":[],"mappings":"AA8BA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAa1D,eAAO,MAAM,YAAY,EAAE,GAAG,CAAC;IAC7B,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CAWC,CAAC;AAEH,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC;IACrB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAC;CACzB,CAcC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ import 'ember-mobile-menu/themes/android';
3
+ import './shell.css';
4
+ export declare const Shell: TOC<{
5
+ Blocks: {
6
+ default: [];
7
+ };
8
+ }>;
9
+ //# sourceMappingURL=shell.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shell.gts.d.ts","sourceRoot":"","sources":["../src/shell.gts"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,kCAAkC,CAAC;AAC1C,OAAO,aAAa,CAAC;AAIrB,eAAO,MAAM,KAAK,EAAE,GAAG,CAAC;IAAE,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAIjD,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { TOC } from '@ember/component/template-only';
2
+ export declare const Text: TOC<{
3
+ Blocks: {
4
+ default: [];
5
+ };
6
+ }>;
7
+ //# sourceMappingURL=text.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"text.gts.d.ts","sourceRoot":"","sources":["../src/text.gts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,gCAAgC,CAAC;AAE1D,eAAO,MAAM,IAAI,EAAE,GAAG,CAAC;IAAE,MAAM,EAAE;QAAE,OAAO,EAAE,EAAE,CAAA;KAAE,CAAA;CAAE,CAShD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export declare const ThemeToggle: import("@ember/component/template-only").TemplateOnlyComponent<never> & (abstract new () => import("@glint/template/-private/integration").InvokableInstance<() => import("@glint/template/-private/integration").ComponentReturn<{}>> & import("@glint/template/-private/integration").HasContext<import("@glint/template/-private/integration").TemplateContext<void, {}, {}, void>>);
2
+ //# sourceMappingURL=theme-toggle.gts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme-toggle.gts.d.ts","sourceRoot":"","sources":["../src/theme-toggle.gts"],"names":[],"mappings":"AAqDA,eAAO,MAAM,WAAW,yXAoDtB,CAAC"}
package/package.json ADDED
@@ -0,0 +1,114 @@
1
+ {
2
+ "name": "@universal-ember/docs-support",
3
+ "version": "0.0.0",
4
+ "description": "The default blueprint for Embroider v2 addons.",
5
+ "keywords": [
6
+ "ember-addon"
7
+ ],
8
+ "repository": "",
9
+ "license": "MIT",
10
+ "author": "",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./declarations/index.d.ts",
14
+ "default": "./dist/index.js"
15
+ },
16
+ "./*": {
17
+ "types": "./declarations/*.d.ts",
18
+ "default": "./dist/*.js"
19
+ },
20
+ "./addon-main.js": "./addon-main.cjs"
21
+ },
22
+ "typesVersions": {
23
+ "*": {
24
+ "*": [
25
+ "declarations/*"
26
+ ]
27
+ }
28
+ },
29
+ "files": [
30
+ "addon-main.cjs",
31
+ "declarations",
32
+ "dist"
33
+ ],
34
+ "dependencies": {
35
+ "@embroider/addon-shim": "^1.8.7",
36
+ "decorator-transforms": "^2.0.0"
37
+ },
38
+ "devDependencies": {
39
+ "@babel/core": "^7.24.4",
40
+ "@babel/plugin-transform-typescript": "^7.24.4",
41
+ "@babel/runtime": "^7.24.4",
42
+ "@embroider/addon-dev": "^4.3.1",
43
+ "@glint/core": "^1.4.0",
44
+ "@glint/environment-ember-loose": "^1.4.0",
45
+ "@glint/environment-ember-template-imports": "^1.4.0",
46
+ "@glint/template": "^1.4.0",
47
+ "@rollup/plugin-babel": "^6.0.4",
48
+ "@tsconfig/ember": "^3.0.6",
49
+ "@types/ember": "^4.0.10",
50
+ "@types/ember__application": "^4.0.10",
51
+ "@types/ember__array": "^4.0.9",
52
+ "@types/ember__component": "^4.0.21",
53
+ "@types/ember__controller": "^4.0.11",
54
+ "@types/ember__debug": "^4.0.7",
55
+ "@types/ember__destroyable": "^4.0.4",
56
+ "@types/ember__engine": "^4.0.10",
57
+ "@types/ember__error": "^4.0.5",
58
+ "@types/ember__helper": "^4.0.5",
59
+ "@types/ember__modifier": "^4.0.8",
60
+ "@types/ember__object": "^4.0.11",
61
+ "@types/ember__owner": "^4.0.8",
62
+ "@types/ember__polyfills": "^4.0.5",
63
+ "@types/ember__routing": "^4.0.19",
64
+ "@types/ember__runloop": "^4.0.8",
65
+ "@types/ember__service": "^4.0.8",
66
+ "@types/ember__string": "^3.16.3",
67
+ "@types/ember__template": "^4.0.5",
68
+ "@types/ember__test": "^4.0.5",
69
+ "@types/ember__utils": "^4.0.6",
70
+ "@typescript-eslint/eslint-plugin": "^7.7.1",
71
+ "@typescript-eslint/parser": "^7.7.1",
72
+ "babel-plugin-ember-template-compilation": "^2.2.5",
73
+ "concurrently": "^8.2.2",
74
+ "ember-template-lint": "^6.0.0",
75
+ "eslint": "^8.56.0",
76
+ "eslint-config-prettier": "^9.1.0",
77
+ "eslint-plugin-ember": "^12.0.2",
78
+ "eslint-plugin-import": "^2.29.1",
79
+ "eslint-plugin-n": "^17.3.1",
80
+ "eslint-plugin-prettier": "^5.1.3",
81
+ "prettier": "^3.2.5",
82
+ "prettier-plugin-ember-template-tag": "^2.0.2",
83
+ "rollup": "^4.16.4",
84
+ "rollup-plugin-copy": "^3.5.0",
85
+ "typescript": "^5.4.5"
86
+ },
87
+ "publishConfig": {
88
+ "registry": "https://registry.npmjs.org"
89
+ },
90
+ "ember": {
91
+ "edition": "octane"
92
+ },
93
+ "ember-addon": {
94
+ "version": 2,
95
+ "type": "addon",
96
+ "main": "addon-main.cjs"
97
+ },
98
+ "scripts": {
99
+ "build": "concurrently 'pnpm:build:*'",
100
+ "build:js": "rollup --config",
101
+ "build:types": "glint --declaration",
102
+ "lint": "concurrently 'pnpm:lint:*(!fix)' --names 'lint:'",
103
+ "lint:fix": "concurrently 'pnpm:lint:*:fix' --names 'fix:'",
104
+ "lint:hbs": "ember-template-lint . --no-error-on-unmatched-pattern",
105
+ "lint:hbs:fix": "ember-template-lint . --fix --no-error-on-unmatched-pattern",
106
+ "lint:js": "eslint . --cache",
107
+ "lint:js:fix": "eslint . --fix",
108
+ "lint:types": "glint",
109
+ "start": "concurrently 'pnpm:start:*'",
110
+ "start:js": "rollup --config --watch --no-watch.clearScreen",
111
+ "start:types": "glint --declaration --watch",
112
+ "test": "echo 'A v2 addon does not have tests, run tests in test-app'"
113
+ }
114
+ }