From 00ab1d9021a59bb4557318dedb09a3ff9164f000 Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Mon, 17 Jun 2024 16:17:09 -0400 Subject: [PATCH] more updates --- CONTRIBUTING.md | 2 +- custom-elements-manifest.js | 6 +++--- docs/_layouts/component.njk | 7 ------- docs/docs/components/button.md | 1 - src/components/button/button.ts | 2 +- 5 files changed, 5 insertions(+), 13 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb0332d1a..34ea8f77c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,4 +2,4 @@ Before contributing, please review the contributions guidelines at: -[shoelace.style/resources/contributing](https://shoelace.style/resources/contributing) +[webawesome.com/docs/resources/contributing](https://webawesome.com/docs/resources/contributing) diff --git a/custom-elements-manifest.js b/custom-elements-manifest.js index 03e3f5ab5..cdf80b9d6 100644 --- a/custom-elements-manifest.js +++ b/custom-elements-manifest.js @@ -1,6 +1,6 @@ import { customElementJetBrainsPlugin } from 'custom-element-jet-brains-integration'; import { customElementVsCodePlugin } from 'custom-element-vs-code-integration'; -import { customElementVuejsPlugin } from 'custom-element-vuejs-integration'; +// import { customElementVuejsPlugin } from 'custom-element-vuejs-integration'; import { parse } from 'comment-parser'; import { pascalCase } from 'pascal-case'; import fs from 'fs'; @@ -156,7 +156,7 @@ export default { referencesTemplate: (_, tag) => [ { name: 'Documentation', - url: `https://shoelace.style/components/${tag.replace('wa-', '')}` + url: `https://webawesome.com/docs/components/${tag.replace('wa-', '')}` } ] }), @@ -168,7 +168,7 @@ export default { referencesTemplate: (_, tag) => { return { name: 'Documentation', - url: `https://shoelace.style/components/${tag.replace('wa-', '')}` + url: `https://webawesome.com/docs/components/${tag.replace('wa-', '')}` }; } }) diff --git a/docs/_layouts/component.njk b/docs/_layouts/component.njk index 2df14c5d0..57d5fe5f7 100644 --- a/docs/_layouts/component.njk +++ b/docs/_layouts/component.njk @@ -274,7 +274,6 @@ CDN - npm React

@@ -282,12 +281,6 @@

import '{% cdnUrl component.path %}';
- -

- To manually import this component from npm, use the following code. -

-
import '@shoelace-style/webawesome/{{ component.path }}';
-

To manually import this component from React, use the following code. diff --git a/docs/docs/components/button.md b/docs/docs/components/button.md index 008f37439..17a3861a8 100644 --- a/docs/docs/components/button.md +++ b/docs/docs/components/button.md @@ -193,7 +193,6 @@ Use the `disabled` attribute to disable a button. Success Neutral Warning -Danger ``` ### Styling Buttons diff --git a/src/components/button/button.ts b/src/components/button/button.ts index f1aaa9896..ac63ab74c 100644 --- a/src/components/button/button.ts +++ b/src/components/button/button.ts @@ -82,7 +82,7 @@ export default class WaButton extends WebAwesomeFormAssociatedElement { /** Draws the button with a caret. Used to indicate that the button triggers a dropdown menu or similar behavior. */ @property({ type: Boolean, reflect: true }) caret = false; - /** Disables the button. */ + /** Disables the button. Does not apply to link buttons. */ @property({ type: Boolean }) disabled = false; /** Draws the button in a loading state. */