From 7efb07240723cb01c0adbddee62b46b43b80eeb5 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Fri, 28 Apr 2023 22:19:13 +0300 Subject: [PATCH] Update frontmatter data --- snippets/accordion.md | 6 +++--- snippets/alert.md | 6 +++--- snippets/auto-link.md | 6 +++--- snippets/callto.md | 6 +++--- snippets/carousel.md | 6 +++--- snippets/collapse.md | 6 +++--- snippets/controlled-input.md | 6 +++--- snippets/count-down.md | 6 +++--- snippets/data-list.md | 6 +++--- snippets/data-table.md | 6 +++--- snippets/file-drop.md | 6 +++--- snippets/lazy-load-image.md | 5 +++-- snippets/limited-textarea.md | 6 +++--- snippets/limited-word-textarea.md | 6 +++--- snippets/loader.md | 6 +++--- snippets/mailto.md | 6 +++--- snippets/mapped-table.md | 6 +++--- snippets/modal.md | 6 +++--- snippets/multiselect-checkbox.md | 6 +++--- snippets/password-revealer.md | 6 +++--- snippets/ripple-button.md | 6 +++--- snippets/select.md | 6 +++--- snippets/slider.md | 6 +++--- snippets/star-rating.md | 6 +++--- snippets/tabs.md | 6 +++--- snippets/tag-input.md | 6 +++--- snippets/text-area.md | 6 +++--- snippets/toggle.md | 6 +++--- snippets/tooltip.md | 6 +++--- snippets/tree-view.md | 6 +++--- snippets/uncontrolled-input.md | 6 +++--- snippets/use-async.md | 6 +++--- snippets/use-body-scroll-lock.md | 5 +++-- snippets/use-click-inside.md | 6 +++--- snippets/use-click-outside.md | 6 +++--- snippets/use-component-did-mount.md | 6 +++--- snippets/use-component-did-update.md | 5 +++-- snippets/use-component-will-unmount.md | 6 +++--- snippets/use-copy-to-clipboard.md | 6 +++--- snippets/use-debounce.md | 6 +++--- snippets/use-default.md | 5 +++-- snippets/use-delayed-state.md | 5 +++-- snippets/use-effect-once.md | 5 +++-- snippets/use-error.md | 5 +++-- snippets/use-event-listener.md | 5 +++-- snippets/use-fetch.md | 6 +++--- snippets/use-form.md | 5 +++-- snippets/use-get-set.md | 5 +++-- snippets/use-hash.md | 5 +++-- snippets/use-hover.md | 5 +++-- snippets/use-intersection-observer.md | 5 +++-- snippets/use-interval.md | 6 +++--- snippets/use-isomporphic-effect.md | 6 +++--- snippets/use-key-press.md | 5 +++-- snippets/use-local-storage.md | 5 +++-- snippets/use-map.md | 5 +++-- snippets/use-media-query.md | 6 +++--- snippets/use-merge-state.md | 5 +++-- snippets/use-mutation-observer.md | 5 +++-- snippets/use-navigator-on-line.md | 6 +++--- snippets/use-on-global-event.md | 5 +++-- snippets/use-on-window-resize.md | 5 +++-- snippets/use-on-window-scroll.md | 5 +++-- snippets/use-persisted-state.md | 6 +++--- snippets/use-portal.md | 5 +++-- snippets/use-previous.md | 6 +++--- snippets/use-request-animation-frame.md | 5 +++-- snippets/use-script.md | 5 +++-- snippets/use-search-param.md | 5 +++-- snippets/use-session-storage.md | 5 +++-- snippets/use-set.md | 5 +++-- snippets/use-ssr.md | 6 +++--- snippets/use-timeout.md | 6 +++--- snippets/use-title.md | 5 +++-- snippets/use-toggler.md | 6 +++--- snippets/use-unload.md | 6 +++--- snippets/use-update.md | 5 +++-- snippets/use-window-size.md | 5 +++-- 78 files changed, 234 insertions(+), 204 deletions(-) diff --git a/snippets/accordion.md b/snippets/accordion.md index db460a20d..ecf0169df 100644 --- a/snippets/accordion.md +++ b/snippets/accordion.md @@ -1,9 +1,9 @@ --- title: Collapsible accordion -tags: components,children,state +type: snippet +tags: [components,children,state] cover: beach-pineapple -firstSeen: 2019-03-02T10:46:34+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders an accordion menu with multiple collapsible content elements. diff --git a/snippets/alert.md b/snippets/alert.md index 2a28a863c..fb7b65616 100644 --- a/snippets/alert.md +++ b/snippets/alert.md @@ -1,9 +1,9 @@ --- title: Closable alert -tags: components,state,effect +type: snippet +tags: [components,state,effect] cover: flower-portrait-1 -firstSeen: 2019-09-17T13:19:30+03:00 -lastUpdated: 2021-01-07T23:57:13+02:00 +dateModified: 2021-01-07T23:57:13+02:00 --- Renders an alert component with `type` prop. diff --git a/snippets/auto-link.md b/snippets/auto-link.md index ae6523af7..449b6c1e2 100644 --- a/snippets/auto-link.md +++ b/snippets/auto-link.md @@ -1,10 +1,10 @@ --- title: Automatic text linking -tags: components,fragment,regexp +type: snippet +tags: [components,fragment,regexp] author: chalarangelo cover: red-petals -firstSeen: 2018-12-05T15:04:49+02:00 -lastUpdated: 2020-11-03T20:42:15+02:00 +dateModified: 2020-11-03T20:42:15+02:00 --- Renders a string as plaintext, with URLs converted to appropriate link elements. diff --git a/snippets/callto.md b/snippets/callto.md index 99de38c92..44d1385f1 100644 --- a/snippets/callto.md +++ b/snippets/callto.md @@ -1,11 +1,11 @@ --- title: Callable telephone link -tags: components +type: snippet +tags: [components] author: chalarangelo unlisted: true cover: rabbit-call -firstSeen: 2020-10-04T00:07:37+03:00 -lastUpdated: 2021-01-04T12:32:47+02:00 +dateModified: 2021-01-04T12:32:47+02:00 --- Renders a link formatted to call a phone number (`tel:` link). diff --git a/snippets/carousel.md b/snippets/carousel.md index 827d85e81..d34048348 100644 --- a/snippets/carousel.md +++ b/snippets/carousel.md @@ -1,9 +1,9 @@ --- title: Carousel -tags: components,children,state,effect +type: snippet +tags: [components,children,state,effect] cover: shell-focus -firstSeen: 2018-11-13T21:24:55+02:00 -lastUpdated: 2020-11-03T20:42:15+02:00 +dateModified: 2020-11-03T20:42:15+02:00 --- Renders a carousel component. diff --git a/snippets/collapse.md b/snippets/collapse.md index 307b87b1a..a8757f32f 100644 --- a/snippets/collapse.md +++ b/snippets/collapse.md @@ -1,9 +1,9 @@ --- title: Collapsible content -tags: components,children,state +type: snippet +tags: [components,children,state] cover: washed-ashore -firstSeen: 2018-10-17T20:42:23+03:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a component with collapsible content. diff --git a/snippets/controlled-input.md b/snippets/controlled-input.md index 0171a26a9..ff563eccb 100644 --- a/snippets/controlled-input.md +++ b/snippets/controlled-input.md @@ -1,9 +1,9 @@ --- title: Controlled input field -tags: components,input +type: snippet +tags: [components,input] cover: digital-nomad-5 -firstSeen: 2019-08-21T13:09:10+03:00 -lastUpdated: 2020-11-03T21:08:39+02:00 +dateModified: 2020-11-03T21:08:39+02:00 --- Renders a controlled `` element that uses a callback function to inform its parent about value updates. diff --git a/snippets/count-down.md b/snippets/count-down.md index 8d587dc58..33fc98d4d 100644 --- a/snippets/count-down.md +++ b/snippets/count-down.md @@ -1,9 +1,9 @@ --- title: Countdown timer -tags: components,state +type: snippet +tags: [components,state] cover: sea-view-2 -firstSeen: 2019-02-06T14:39:31+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a countdown timer that prints a message when it reaches zero. diff --git a/snippets/data-list.md b/snippets/data-list.md index e6a9c7612..53cd9ed92 100644 --- a/snippets/data-list.md +++ b/snippets/data-list.md @@ -1,9 +1,9 @@ --- title: Data list -tags: components +type: snippet +tags: [components] cover: interior-14 -firstSeen: 2018-11-29T12:12:24+02:00 -lastUpdated: 2020-11-03T21:26:34+02:00 +dateModified: 2020-11-03T21:26:34+02:00 --- Renders a list of elements from an array of primitives. diff --git a/snippets/data-table.md b/snippets/data-table.md index cdc559364..e0e9c2c2a 100644 --- a/snippets/data-table.md +++ b/snippets/data-table.md @@ -1,9 +1,9 @@ --- title: Data table -tags: components +type: snippet +tags: [components] cover: armchair -firstSeen: 2018-11-29T11:13:59+02:00 -lastUpdated: 2020-11-03T21:26:34+02:00 +dateModified: 2020-11-03T21:26:34+02:00 --- Renders a table with rows dynamically created from an array of primitives. diff --git a/snippets/file-drop.md b/snippets/file-drop.md index 10d9e8191..6e851b378 100644 --- a/snippets/file-drop.md +++ b/snippets/file-drop.md @@ -1,10 +1,10 @@ --- title: File drag and drop area -tags: components,input,state,effect,event +type: snippet +tags: [components,input,state,effect,event] author: chalarangelo cover: man-red-sunset -firstSeen: 2019-02-02T12:17:27+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a file drag and drop component for a single file. diff --git a/snippets/lazy-load-image.md b/snippets/lazy-load-image.md index 3529cbfb4..0382cb8cd 100644 --- a/snippets/lazy-load-image.md +++ b/snippets/lazy-load-image.md @@ -1,9 +1,10 @@ --- title: Lazy-loading image -tags: components,effect,state +type: snippet +tags: [components,effect,state] cover: strawberries author: chalarangelo -firstSeen: 2022-07-29T05:00:00-04:00 +dateModified: 2022-07-29T05:00:00-04:00 --- Renders an image that supports lazy loading. diff --git a/snippets/limited-textarea.md b/snippets/limited-textarea.md index ffa2e183b..6f6f263b7 100644 --- a/snippets/limited-textarea.md +++ b/snippets/limited-textarea.md @@ -1,9 +1,9 @@ --- title: Textarea with character limit -tags: components,state,callback,event +type: snippet +tags: [components,state,callback,event] cover: flower-portrait-2 -firstSeen: 2018-10-19T09:11:59+03:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a textarea component with a character limit. diff --git a/snippets/limited-word-textarea.md b/snippets/limited-word-textarea.md index e60bf9065..e98e2580d 100644 --- a/snippets/limited-word-textarea.md +++ b/snippets/limited-word-textarea.md @@ -1,9 +1,9 @@ --- title: Textarea with word limit -tags: components,input,state,callback,effect,event +type: snippet +tags: [components,input,state,callback,effect,event] cover: painters-desk -firstSeen: 2019-02-20T18:22:22+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a textarea component with a word limit. diff --git a/snippets/loader.md b/snippets/loader.md index bc83e8667..4877ca1f7 100644 --- a/snippets/loader.md +++ b/snippets/loader.md @@ -1,9 +1,9 @@ --- title: Spinning loader -tags: components +type: snippet +tags: [components] cover: godray-computer-mug -firstSeen: 2019-09-11T21:59:12+03:00 -lastUpdated: 2020-11-16T15:17:26+02:00 +dateModified: 2020-11-16T15:17:26+02:00 --- Renders a spinning loader component. diff --git a/snippets/mailto.md b/snippets/mailto.md index 13e00636e..cd678ffbc 100644 --- a/snippets/mailto.md +++ b/snippets/mailto.md @@ -1,10 +1,10 @@ --- title: Email link -tags: components +type: snippet +tags: [components] author: chalarangelo cover: digital-nomad-4 -firstSeen: 2019-01-28T20:10:51+02:00 -lastUpdated: 2020-11-16T15:17:26+02:00 +dateModified: 2020-11-16T15:17:26+02:00 --- Renders a link formatted to send an email (`mailto:` link). diff --git a/snippets/mapped-table.md b/snippets/mapped-table.md index ac86c9454..a3cc61207 100644 --- a/snippets/mapped-table.md +++ b/snippets/mapped-table.md @@ -1,9 +1,9 @@ --- title: Object table view -tags: components,array,object +type: snippet +tags: [components,array,object] cover: waves-from-above-2 -firstSeen: 2018-11-29T11:50:10+02:00 -lastUpdated: 2020-09-06T14:20:45+03:00 +dateModified: 2020-09-06T14:20:45+03:00 --- Renders a table with rows dynamically created from an array of objects and a list of property names. diff --git a/snippets/modal.md b/snippets/modal.md index f35461418..91dadb2c9 100644 --- a/snippets/modal.md +++ b/snippets/modal.md @@ -1,9 +1,9 @@ --- title: Modal dialog -tags: components,effect +type: snippet +tags: [components,effect] cover: yellow-white-mug-2 -firstSeen: 2019-03-11T11:25:06+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a Modal component, controllable through events. diff --git a/snippets/multiselect-checkbox.md b/snippets/multiselect-checkbox.md index 4190115fa..08dc75247 100644 --- a/snippets/multiselect-checkbox.md +++ b/snippets/multiselect-checkbox.md @@ -1,9 +1,9 @@ --- title: Stateful checkbox with multiple selection -tags: components,input,state,array +type: snippet +tags: [components,input,state,array] cover: violin -firstSeen: 2019-01-27T09:25:57+02:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a checkbox list that uses a callback function to pass its selected value/values to the parent component. diff --git a/snippets/password-revealer.md b/snippets/password-revealer.md index 87969e993..1bd5a0bed 100644 --- a/snippets/password-revealer.md +++ b/snippets/password-revealer.md @@ -1,10 +1,10 @@ --- title: Show/hide password toggle -tags: components,input,state +type: snippet +tags: [components,input,state] author: chalarangelo cover: thread -firstSeen: 2018-10-18T20:04:22+03:00 -lastUpdated: 2020-11-25T20:46:35+02:00 +dateModified: 2020-11-25T20:46:35+02:00 --- Renders a password input field with a reveal button. diff --git a/snippets/ripple-button.md b/snippets/ripple-button.md index b69a630f0..ae9a13223 100644 --- a/snippets/ripple-button.md +++ b/snippets/ripple-button.md @@ -1,10 +1,10 @@ --- title: Button with ripple effect -tags: components,state,effect +type: snippet +tags: [components,state,effect] author: chalarangelo cover: mountain-lake-cottage -firstSeen: 2019-09-10T09:07:29+03:00 -lastUpdated: 2021-10-13T19:29:39+02:00 +dateModified: 2021-10-13T19:29:39+02:00 --- Renders a button that animates a ripple effect when clicked. diff --git a/snippets/select.md b/snippets/select.md index b33789f5f..c8eab34d3 100644 --- a/snippets/select.md +++ b/snippets/select.md @@ -1,9 +1,9 @@ --- title: Uncontrolled select element -tags: components,input +type: snippet +tags: [components,input] cover: down-the-stream -firstSeen: 2018-12-10T10:48:03+02:00 -lastUpdated: 2020-11-25T20:46:35+02:00 +dateModified: 2020-11-25T20:46:35+02:00 --- Renders an uncontrolled `