From 58fbcede51f7b991320e36d8281650df55723693 Mon Sep 17 00:00:00 2001 From: Konnor Rogers Date: Mon, 14 Apr 2025 14:59:27 -0400 Subject: [PATCH] update patterns to isPro (#869) --- docs/docs/patterns/app/action-panel.md | 1 + docs/docs/patterns/app/activity-log.md | 3 ++- docs/docs/patterns/app/comments.md | 9 +++++---- docs/docs/patterns/app/data-display.md | 5 +++-- docs/docs/patterns/app/description-list.md | 3 ++- docs/docs/patterns/app/empty-state.md | 11 +++++----- docs/docs/patterns/app/faq.md | 9 +++++---- docs/docs/patterns/app/grid-list.md | 20 +++++++++---------- docs/docs/patterns/app/index.njk | 1 + docs/docs/patterns/app/leaderboard.md | 1 + docs/docs/patterns/app/pagination.md | 1 + docs/docs/patterns/app/permissions.md | 7 ++++--- docs/docs/patterns/app/pricing.md | 3 ++- docs/docs/patterns/blog.md | 3 ++- docs/docs/patterns/business.md | 3 ++- .../patterns/ecommerce/category-filter.md | 3 ++- .../patterns/ecommerce/category-preview.md | 3 ++- docs/docs/patterns/ecommerce/checkout-form.md | 3 ++- docs/docs/patterns/ecommerce/incentives.md | 3 ++- docs/docs/patterns/ecommerce/index.njk | 1 + docs/docs/patterns/ecommerce/order-history.md | 1 + docs/docs/patterns/ecommerce/order-summary.md | 3 ++- docs/docs/patterns/ecommerce/product-list.md | 3 ++- .../patterns/ecommerce/product-overview.md | 3 ++- .../patterns/ecommerce/product-preview.md | 3 ++- docs/docs/patterns/ecommerce/review.md | 3 ++- docs/docs/patterns/ecommerce/shopping-cart.md | 3 ++- .../patterns/ecommerce/store-navigation.md | 3 ++- docs/docs/patterns/education.md | 3 ++- docs/docs/patterns/entertainement.md | 3 ++- docs/docs/patterns/index.njk | 1 + docs/docs/patterns/membership.md | 3 ++- docs/docs/patterns/news.md | 3 ++- docs/docs/patterns/non-profit.md | 3 ++- docs/docs/patterns/patterns.json | 3 ++- docs/docs/patterns/portfolio.md | 3 ++- docs/docs/patterns/product-landing.md | 3 ++- package-lock.json | 2 +- 38 files changed, 89 insertions(+), 53 deletions(-) diff --git a/docs/docs/patterns/app/action-panel.md b/docs/docs/patterns/app/action-panel.md index becd5b04e..988e82020 100644 --- a/docs/docs/patterns/app/action-panel.md +++ b/docs/docs/patterns/app/action-panel.md @@ -2,6 +2,7 @@ title: Action Panel description: 'Help users complete tasks efficiently with quick access to key actions.' icon: action-panel +isPro: true --- ## Simple diff --git a/docs/docs/patterns/app/activity-log.md b/docs/docs/patterns/app/activity-log.md index b802dff53..1b5cd30a2 100644 --- a/docs/docs/patterns/app/activity-log.md +++ b/docs/docs/patterns/app/activity-log.md @@ -1,6 +1,7 @@ --- title: Activity Log description: 'Track and organize recent user actions or events.' + --- ## Simple @@ -260,7 +261,7 @@ description: 'Track and organize recent user actions or events.' - + ``` diff --git a/docs/docs/patterns/app/comments.md b/docs/docs/patterns/app/comments.md index d0268690e..cabc4759a 100644 --- a/docs/docs/patterns/app/comments.md +++ b/docs/docs/patterns/app/comments.md @@ -1,6 +1,7 @@ --- title: Comments description: 'Enable users to engage in discussions, provide feedback, or record their thoughts.' +isPro: true --- ## Card with Header & Footer @@ -91,7 +92,7 @@ description: 'Enable users to engage in discussions, provide feedback, or record Add Sticker - Comment + Comment @@ -107,9 +108,9 @@ description: 'Enable users to engage in discussions, provide feedback, or record
-``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/app/empty-state.md b/docs/docs/patterns/app/empty-state.md index 241b40f04..ae9417b08 100644 --- a/docs/docs/patterns/app/empty-state.md +++ b/docs/docs/patterns/app/empty-state.md @@ -1,6 +1,7 @@ --- title: Empty State description: 'Guide users with helpful prompts and visuals when no content is available.' +isPro: true --- ## Simple @@ -125,7 +126,7 @@ description: 'Guide users with helpful prompts and visuals when no content is av
``` -## Add people +## Add people ```html {.example} - + Invite @@ -162,7 +163,7 @@ description: 'Guide users with helpful prompts and visuals when no content is av - + Invite @@ -178,7 +179,7 @@ description: 'Guide users with helpful prompts and visuals when no content is av - + Invite @@ -193,7 +194,7 @@ description: 'Guide users with helpful prompts and visuals when no content is av - + Invite diff --git a/docs/docs/patterns/app/faq.md b/docs/docs/patterns/app/faq.md index 7d80d1067..cbdcdb81f 100644 --- a/docs/docs/patterns/app/faq.md +++ b/docs/docs/patterns/app/faq.md @@ -1,6 +1,7 @@ --- title: FAQ description: 'Empower users to learn more with a structured list of questions and answers.' +isPro: true --- ## With Flanked Heading & Description @@ -86,7 +87,7 @@ description: 'Empower users to learn more with a structured list of questions an
A course is updated once there is a fundamental shift in the language or library’s underlying API. You can check our workshop list to see if a new version of a given course is on the schedule. You may also write to us as support@frontendmasters.com with suggestions for updates.
- + - + - + -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/app/grid-list.md b/docs/docs/patterns/app/grid-list.md index c50441786..3d979797d 100644 --- a/docs/docs/patterns/app/grid-list.md +++ b/docs/docs/patterns/app/grid-list.md @@ -1,6 +1,7 @@ --- title: Grid List description: 'Improve browsing and selection by organizing data in a structured grid layout.' +isPro: true --- ## Cards with Footer Actions @@ -397,8 +398,8 @@ description: 'Improve browsing and selection by organizing data in a structured - +
``` @@ -170,7 +171,7 @@ description: 'Permission patterns provide or restrict access to users.' Moderator Contributor Reader - + @@ -222,7 +223,7 @@ description: 'Permission patterns provide or restrict access to users.' - + ``` \ No newline at end of file diff --git a/docs/docs/patterns/app/pricing.md b/docs/docs/patterns/app/pricing.md index 86b911bc3..f21102550 100644 --- a/docs/docs/patterns/app/pricing.md +++ b/docs/docs/patterns/app/pricing.md @@ -1,6 +1,7 @@ --- title: Pricing description: 'Help users make informed purchasing decisions with clear, structured pricing.' +isPro: true --- ## Three Tiers @@ -164,4 +165,4 @@ description: 'Help users make informed purchasing decisions with clear, structur -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/blog.md b/docs/docs/patterns/blog.md index 2ce8c4265..62024d8e7 100644 --- a/docs/docs/patterns/blog.md +++ b/docs/docs/patterns/blog.md @@ -2,6 +2,7 @@ title: Blog description: TODO unlisted: true +isPro: true --- TODO Page Description @@ -367,4 +368,4 @@ TODO Page Description } -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/business.md b/docs/docs/patterns/business.md index 405d0e4f2..1bd3d91d7 100644 --- a/docs/docs/patterns/business.md +++ b/docs/docs/patterns/business.md @@ -2,8 +2,9 @@ title: Business description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/category-filter.md b/docs/docs/patterns/ecommerce/category-filter.md index 081450020..59c4b8606 100644 --- a/docs/docs/patterns/ecommerce/category-filter.md +++ b/docs/docs/patterns/ecommerce/category-filter.md @@ -2,6 +2,7 @@ title: Category Filter description: 'Helps the user find the right products with filters to refine search results by specific attributes.' icon: checkbox +isPro: true --- ## Sidebar with Checkboxes & Expandable Filters @@ -80,4 +81,4 @@ icon: checkbox
-``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/category-preview.md b/docs/docs/patterns/ecommerce/category-preview.md index 9efeb7cb5..b71f18315 100644 --- a/docs/docs/patterns/ecommerce/category-preview.md +++ b/docs/docs/patterns/ecommerce/category-preview.md @@ -2,6 +2,7 @@ title: Category Preview description: 'Help shoppers discover your product offerings with showcases of product categories.' icon: preview +isPro: true --- ## Split with Image Grid @@ -159,4 +160,4 @@ icon: preview -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/checkout-form.md b/docs/docs/patterns/ecommerce/checkout-form.md index 4e9e736f2..e3b8413b1 100644 --- a/docs/docs/patterns/ecommerce/checkout-form.md +++ b/docs/docs/patterns/ecommerce/checkout-form.md @@ -1,6 +1,7 @@ --- title: Checkout Form description: 'Let shoppers checkout with ease with streamlined forms to capture shipping and payment info.' +isPro: true --- @@ -241,4 +242,4 @@ description: 'Let shoppers checkout with ease with streamlined forms to capture -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/incentives.md b/docs/docs/patterns/ecommerce/incentives.md index 18b603358..870262e86 100644 --- a/docs/docs/patterns/ecommerce/incentives.md +++ b/docs/docs/patterns/ecommerce/incentives.md @@ -1,6 +1,7 @@ --- title: Incentives description: 'Encourage shoppers to buy your products with value propositions, discounts, and promotions.' +isPro: true --- ## 3 Column @@ -120,4 +121,4 @@ description: 'Encourage shoppers to buy your products with value propositions, d -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/index.njk b/docs/docs/patterns/ecommerce/index.njk index 1e93a34e3..fe03c894b 100644 --- a/docs/docs/patterns/ecommerce/index.njk +++ b/docs/docs/patterns/ecommerce/index.njk @@ -4,4 +4,5 @@ description: Pre-built product overviews, shopping carts, and more to help you b parent: patterns layout: overview override:tags: [] +isPro: false --- diff --git a/docs/docs/patterns/ecommerce/order-history.md b/docs/docs/patterns/ecommerce/order-history.md index 1a5055fb9..b2dca8b54 100644 --- a/docs/docs/patterns/ecommerce/order-history.md +++ b/docs/docs/patterns/ecommerce/order-history.md @@ -1,6 +1,7 @@ --- title: Order History description: 'Empower your customers to view past purchases and track upcoming orders with comprehensive order histories.' +isPro: true --- ## List diff --git a/docs/docs/patterns/ecommerce/order-summary.md b/docs/docs/patterns/ecommerce/order-summary.md index 566e1ca31..61717a9ca 100644 --- a/docs/docs/patterns/ecommerce/order-summary.md +++ b/docs/docs/patterns/ecommerce/order-summary.md @@ -1,6 +1,7 @@ --- title: Order Summary description: 'Give shoppers confidence in their purchases with summaries of everything included in their order.' +isPro: true --- ## Simple @@ -291,4 +292,4 @@ description: 'Give shoppers confidence in their purchases with summaries of ever -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/product-list.md b/docs/docs/patterns/ecommerce/product-list.md index 570b01f6b..3be40f4c4 100644 --- a/docs/docs/patterns/ecommerce/product-list.md +++ b/docs/docs/patterns/ecommerce/product-list.md @@ -1,6 +1,7 @@ --- title: Product Lists description: 'Let shoppers browse and compare products with detailed lists of the products in your store.' +isPro: true --- ## Simple Grid with Ratings @@ -179,4 +180,4 @@ description: 'Let shoppers browse and compare products with detailed lists of th -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/product-overview.md b/docs/docs/patterns/ecommerce/product-overview.md index 8d803da92..9f5d9e579 100644 --- a/docs/docs/patterns/ecommerce/product-overview.md +++ b/docs/docs/patterns/ecommerce/product-overview.md @@ -1,6 +1,7 @@ --- title: Product Overview description: 'Showcase your products with overviews including images, ratings, features, options, and more.' +isPro: true --- ## Split with Image @@ -426,4 +427,4 @@ description: 'Showcase your products with overviews including images, ratings, f -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/product-preview.md b/docs/docs/patterns/ecommerce/product-preview.md index 55e62233e..0a2437c22 100644 --- a/docs/docs/patterns/ecommerce/product-preview.md +++ b/docs/docs/patterns/ecommerce/product-preview.md @@ -2,6 +2,7 @@ title: Product Preview description: 'Give shoppers a quick look at your products as they browse with modal previews.' icon: preview +isPro: true --- ## With Product Options @@ -157,4 +158,4 @@ icon: preview -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/review.md b/docs/docs/patterns/ecommerce/review.md index bb4c1e03e..4b051882c 100644 --- a/docs/docs/patterns/ecommerce/review.md +++ b/docs/docs/patterns/ecommerce/review.md @@ -1,6 +1,7 @@ --- title: Product Reviews description: 'Help shoppers make informed decisions with ratings, reviews, and testimonials from your customers.' +isPro: true --- ## Multi column @@ -208,4 +209,4 @@ description: 'Help shoppers make informed decisions with ratings, reviews, and t -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/shopping-cart.md b/docs/docs/patterns/ecommerce/shopping-cart.md index 61ccfb182..0632e8af3 100644 --- a/docs/docs/patterns/ecommerce/shopping-cart.md +++ b/docs/docs/patterns/ecommerce/shopping-cart.md @@ -1,6 +1,7 @@ --- title: Shopping Cart description: 'Give shoppers an overview of selected items with shopping carts that let them edit items and proceed to checkout.' +isPro: true --- ## Two Columns with Summary Card @@ -274,4 +275,4 @@ description: 'Give shoppers an overview of selected items with shopping carts th -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/ecommerce/store-navigation.md b/docs/docs/patterns/ecommerce/store-navigation.md index 4a9c32503..c5c84d86c 100644 --- a/docs/docs/patterns/ecommerce/store-navigation.md +++ b/docs/docs/patterns/ecommerce/store-navigation.md @@ -2,6 +2,7 @@ title: Store Navigation description: 'Help shoppers explore categories and find products with all of the links they need to navigate your store.' unlisted: true +isPro: true --- ## Popup Menu @@ -81,4 +82,4 @@ unlisted: true -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/education.md b/docs/docs/patterns/education.md index 405d0e4f2..1bd3d91d7 100644 --- a/docs/docs/patterns/education.md +++ b/docs/docs/patterns/education.md @@ -2,8 +2,9 @@ title: Business description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/entertainement.md b/docs/docs/patterns/entertainement.md index 0c501426f..2c9b71c1d 100644 --- a/docs/docs/patterns/entertainement.md +++ b/docs/docs/patterns/entertainement.md @@ -2,8 +2,9 @@ title: Entertainment description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/index.njk b/docs/docs/patterns/index.njk index ec87fb460..494b2f5c8 100644 --- a/docs/docs/patterns/index.njk +++ b/docs/docs/patterns/index.njk @@ -3,6 +3,7 @@ title: Patterns description: Patterns are reusable UI solutions to common design problems, ready to copy and paste into any project. layout: overview override:tags: [] +isPro: false ---
diff --git a/docs/docs/patterns/membership.md b/docs/docs/patterns/membership.md index 00e2eee94..eb12e70f0 100644 --- a/docs/docs/patterns/membership.md +++ b/docs/docs/patterns/membership.md @@ -2,8 +2,9 @@ title: Membership description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/news.md b/docs/docs/patterns/news.md index 4fe02cf80..29db0ab9a 100644 --- a/docs/docs/patterns/news.md +++ b/docs/docs/patterns/news.md @@ -2,6 +2,7 @@ title: News description: TODO unlisted: true +isPro: true --- TODO Page Description @@ -157,4 +158,4 @@ TODO Page Description } } -``` +``` \ No newline at end of file diff --git a/docs/docs/patterns/non-profit.md b/docs/docs/patterns/non-profit.md index e166c0929..4405cf975 100644 --- a/docs/docs/patterns/non-profit.md +++ b/docs/docs/patterns/non-profit.md @@ -2,8 +2,9 @@ title: Non-profit description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/patterns.json b/docs/docs/patterns/patterns.json index 2bf1d6dc6..aa20eb01a 100644 --- a/docs/docs/patterns/patterns.json +++ b/docs/docs/patterns/patterns.json @@ -2,5 +2,6 @@ "layout": "patterns.njk", "tags": ["patterns"], "wide": true, - "noAlpha": true + "noAlpha": true, + "isPro": true } diff --git a/docs/docs/patterns/portfolio.md b/docs/docs/patterns/portfolio.md index fac165ba4..93a2a6106 100644 --- a/docs/docs/patterns/portfolio.md +++ b/docs/docs/patterns/portfolio.md @@ -2,8 +2,9 @@ title: Portfolio description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/docs/docs/patterns/product-landing.md b/docs/docs/patterns/product-landing.md index a9f8dd813..3a2adb4ed 100644 --- a/docs/docs/patterns/product-landing.md +++ b/docs/docs/patterns/product-landing.md @@ -2,8 +2,9 @@ title: Product Landing description: TODO unlisted: true +isPro: true --- TODO Page Description -## Examples +## Examples \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 59a243e0d..47f145152 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "MIT", "dependencies": { "@ctrl/tinycolor": "^4.1.0", - "@floating-ui/dom": "^1.6.12", + "@floating-ui/dom": "^1.6.13", "@shoelace-style/animations": "^1.2.0", "@shoelace-style/localize": "^3.2.1", "composed-offset-position": "^0.0.6",