From 7b703e2c06bbf750e3edc6cdcd112459bcb7a8aa Mon Sep 17 00:00:00 2001 From: Robeen Simeon Date: Wed, 16 Aug 2023 23:39:43 +0800 Subject: [PATCH 1/6] Reference data-model-open-value on the modal docs (#197) --- docs/modal.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/modal.md b/docs/modal.md index 11dba06..241a364 100644 --- a/docs/modal.md +++ b/docs/modal.md @@ -43,4 +43,6 @@ application.register('modal', Modal) ``` `data-modal-restore-scroll-value` may be set to `false` to disable -restoring scroll position. \ No newline at end of file +restoring scroll position. + +`data-modal-open-value` may be set to `true` to open modal on page load. \ No newline at end of file From c24c897daadfdfaa1556429004785636c2b43af9 Mon Sep 17 00:00:00 2001 From: Tasos Maschalidis Date: Thu, 17 Aug 2023 22:12:23 +0300 Subject: [PATCH 2/6] Add missing ColorPreview to import list in README.md (#198) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8ae0d41..c484ab0 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ import { Application } from "@hotwired/stimulus" const application = Application.start(); // Import and register all TailwindCSS Components or just the ones you need -import { Alert, Autosave, Dropdown, Modal, Tabs, Popover, Toggle, Slideover } from "tailwindcss-stimulus-components" +import { Alert, Autosave, ColorPreview, Dropdown, Modal, Tabs, Popover, Toggle, Slideover } from "tailwindcss-stimulus-components" application.register('alert', Alert) application.register('autosave', Autosave) application.register('color-preview', ColorPreview) From 2a8c44eb34f0a579b349e1eba5f990579d51d107 Mon Sep 17 00:00:00 2001 From: Tasos Maschalidis Date: Thu, 17 Aug 2023 22:12:35 +0300 Subject: [PATCH 3/6] Fix example calls to non-existent functions in popover.md (#199) --- docs/popover.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/popover.md b/docs/popover.md index bff1a0f..24dc8f7 100644 --- a/docs/popover.md +++ b/docs/popover.md @@ -12,7 +12,7 @@ application.register('popover', Popover) ```html

Beginning in 2015, Google introduced what is called the -

+
'local snack pack',