+ {{/if}}
+
+
+ <:footer>
+
+
+
+
+
+
+ @action
+ triggerConfirmChanges() {
+ this.args.closeModal();
+ this.args.confirm();
+ }
+}
\ No newline at end of file
diff --git a/samples/Glimmer/class.gts b/samples/Glimmer/class.gts
new file mode 100644
index 0000000000..d767144c63
--- /dev/null
+++ b/samples/Glimmer/class.gts
@@ -0,0 +1,58 @@
+import Component from '@glimmer/component';
+import FreestyleUsage from 'ember-freestyle/components/freestyle/usage';
+import BoxelInputTime, { Time } from './index';
+import { tracked } from '@glimmer/tracking';
+import { cssVariable, CSSVariableInfo } from 'ember-freestyle/decorators/css-variable';
+import { fn } from '@ember/helper';
+import { action } from '@ember/object';
+
+export default class BoxelInputTimeUsage extends Component {
+ cssClassName = 'boxel-input-time';
+
+ @cssVariable declare boxelInputTimeBackgroundColor: CSSVariableInfo; // TODO: replace or remove
+ @tracked value = new Date(2022,2,3,13,45);
+ @tracked minValue = new Date(2022,2,3,11,0);
+ @tracked minuteInterval = 5;
+ @action timeChanged(val: Time) {
+ this.value = val as Date; //TODO: casting???
+ }
+
+
+ <:description>
+ A succint version of a time picker.
+
+ <:example>
+
+
+ <:api as |Args|>
+
+
+
+
+
+
+
+}
\ No newline at end of file
diff --git a/samples/Glimmer/template-only.gjs b/samples/Glimmer/template-only.gjs
new file mode 100644
index 0000000000..603deb912b
--- /dev/null
+++ b/samples/Glimmer/template-only.gjs
@@ -0,0 +1,55 @@
+import { ExternalLink, Link } from '@crowdstrike/ember-oss-docs';
+
+export const Footer =
+
+
+
+export default Footer;
\ No newline at end of file
diff --git a/samples/Glimmer/template-only.gts b/samples/Glimmer/template-only.gts
new file mode 100644
index 0000000000..05b2892cd1
--- /dev/null
+++ b/samples/Glimmer/template-only.gts
@@ -0,0 +1,48 @@
+import { LinkTo } from '@ember/routing';
+import { TOC } from '@ember/component/template-only';
+import Resource from 'ember-crate/models/resource';
+import HeroIcon from 'ember-heroicons/components/hero-icon';
+
+const formatDate = (date: Date) => {
+ const options: Intl.DateTimeFormatOptions = { month: 'short', day: 'numeric', year: 'numeric' };
+ return new Intl.DateTimeFormat('en-US', options).format(new Date(date));
+};
+
+export const ResourceCard: TOC<{ Args: { resource: Resource } }> =
+
+
+
+
{{@resource.title}}
+ {{#if @resource.isFeatured}}
+
+ {{/if}}
+
+
+
+
+
+ {{formatDate @resource.publishDate}}
+
+
+ {{@resource.type}}
+
+
+
+
+;
+
+export default ResourceCard;
\ No newline at end of file
diff --git a/test/test_heuristics.rb b/test/test_heuristics.rb
index 8c14018c8d..3456dd144e 100755
--- a/test/test_heuristics.rb
+++ b/test/test_heuristics.rb
@@ -510,6 +510,13 @@ def test_gsh_by_heuristics
})
end
+ def test_gts_by_heuristics
+ assert_heuristics({
+ "Gerber" => all_fixtures("Gerber", "*.gts"),
+ "Glimmer" => all_fixtures("Glimmer", "*.gts"),
+ })
+ end
+
def test_h_by_heuristics
assert_heuristics({
"Objective-C" => all_fixtures("Objective-C", "*.h"),
diff --git a/vendor/README.md b/vendor/README.md
index 67f1d452b0..8528d9009a 100644
--- a/vendor/README.md
+++ b/vendor/README.md
@@ -202,6 +202,7 @@ This is a list of grammars that Linguist selects to provide syntax highlighting
- **Git Config:** [Alhadis/language-etc](https://github.com/Alhadis/language-etc)
- **Git Revision List:** [Nixinova/NovaGrammars](https://github.com/Nixinova/NovaGrammars)
- **Gleam:** [gleam-lang/tree-sitter-gleam](https://github.com/gleam-lang/tree-sitter-gleam) 🐌
+- **Glimmer:** [atom/language-javascript](https://github.com/atom/language-javascript)
- **Glyph:** [textmate/tcl.tmbundle](https://github.com/textmate/tcl.tmbundle)
- **Glyph Bitmap Distribution Format:** [Alhadis/language-fontforge](https://github.com/Alhadis/language-fontforge)
- **Gnuplot:** [mattfoster/gnuplot-tmbundle](https://github.com/mattfoster/gnuplot-tmbundle)
diff --git a/vendor/grammars/vsc-ember-syntax b/vendor/grammars/vsc-ember-syntax
new file mode 160000
index 0000000000..55ca698120
--- /dev/null
+++ b/vendor/grammars/vsc-ember-syntax
@@ -0,0 +1 @@
+Subproject commit 55ca6981204a1f3934b55057a5a7abbab66a1d8e
diff --git a/vendor/licenses/git_submodule/vsc-ember-syntax.dep.yml b/vendor/licenses/git_submodule/vsc-ember-syntax.dep.yml
new file mode 100644
index 0000000000..e196782a71
--- /dev/null
+++ b/vendor/licenses/git_submodule/vsc-ember-syntax.dep.yml
@@ -0,0 +1,24 @@
+---
+name: vsc-ember-syntax
+version: 55ca6981204a1f3934b55057a5a7abbab66a1d8e
+type: git_submodule
+homepage: https://github.com/lifeart/vsc-ember-syntax.git
+license: mit
+licenses:
+- sources: LICENSE.md
+ text: "Copyright (c) 2021 Aleksandr Kanunnikov, and contributors.\n\nAll rights
+ reserved. \n\nMIT License\n\nPermission is hereby granted, free of charge, to
+ any person obtaining a copy of this software and associated documentation files
+ (the \"Software\"), to deal in the Software without restriction, including without
+ limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the Software
+ is furnished to do so, subject to the following conditions:\n\nThe above copyright
+ notice and this permission notice shall be included in all copies or substantial
+ portions of the Software.\n\nTHE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY
+ OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
+ SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.\n"
+notices: []