-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
aef447c
commit 42c12b6
Showing
10 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
lib/generators/css_zero/add/templates/app/javascript/controllers/autosave_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import { FetchRequest } from "https://cdn.jsdelivr.net/npm/@rails/[email protected]/+esm" | ||
import { FetchRequest } from "https://esm.sh/@rails/[email protected]?standalone" | ||
|
||
const AUTOSAVE_INTERVAL = 3000 | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/css_zero/add/templates/app/javascript/controllers/chart_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import { Chart, registerables } from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import { Chart, registerables } from "https://esm.sh/[email protected]?standalone" | ||
|
||
Chart.register(...registerables) | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
lib/generators/css_zero/add/templates/app/javascript/controllers/combobox_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import { get } from "https://cdn.jsdelivr.net/npm/@rails/[email protected]/+esm" | ||
import TomSelect from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import { get } from "https://esm.sh/@rails/[email protected]?standalone" | ||
import TomSelect from "https://esm.sh/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static values = { url: String, optionCreate: { type: String, default: "Add" }, noResults: { type: String, default: "No results found" } } | ||
|
4 changes: 2 additions & 2 deletions
4
lib/generators/css_zero/add/templates/app/javascript/controllers/command_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import debounce from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import Combobox from "https://cdn.jsdelivr.net/npm/@github/[email protected]/+esm" | ||
import debounce from "https://esm.sh/[email protected]?standalone" | ||
import Combobox from "https://esm.sh/@github/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static targets = [ "input", "list" ] | ||
|
2 changes: 1 addition & 1 deletion
2
...generators/css_zero/add/templates/app/javascript/controllers/copyable_input_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import debounce from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import debounce from "https://esm.sh/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static targets = [ "input", "copyIcon", "successIcon" ] | ||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/css_zero/add/templates/app/javascript/controllers/datepicker_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import flatpickr from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import flatpickr from "https://esm.sh/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static targets = [ "details" ] | ||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/css_zero/add/templates/app/javascript/controllers/inputmask_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import Inputmask from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import Inputmask from "https://esm.sh/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static values = { | ||
|
2 changes: 1 addition & 1 deletion
2
lib/generators/css_zero/add/templates/app/javascript/controllers/popover_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import { computePosition, flip, shift, offset, autoUpdate } from "https://cdn.jsdelivr.net/npm/@floating-ui/[email protected]/+esm" | ||
import { computePosition, flip, shift, offset, autoUpdate } from "https://esm.sh/@floating-ui/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static targets = [ "button", "menu" ] | ||
|
4 changes: 2 additions & 2 deletions
4
lib/generators/css_zero/add/templates/app/javascript/controllers/sortable_controller.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
import { Controller } from "@hotwired/stimulus" | ||
import { put } from "https://cdn.jsdelivr.net/npm/@rails/[email protected]/+esm" | ||
import Sortable from "https://cdn.jsdelivr.net/npm/[email protected]/+esm" | ||
import { put } from "https://esm.sh/@rails/[email protected]?standalone" | ||
import Sortable from "https://esm.sh/[email protected]?standalone" | ||
|
||
export default class extends Controller { | ||
static values = { url: String, group: String, handle: String } | ||
|