Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui): adjust links #1094

Merged
merged 5 commits into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export const ButtonGroup = (
};

const defaultParams: BlrButtonGroupType = {
theme: 'Light',
sizeVariant: 'md',
alignment: 'left',
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ Disabled.argTypes = {
/**
* ## Dependencies
* ### Icon
* The Button Icon component makes use of the Icon component. For more information have a look at the [Icon](/docs/design-system-web-components-ui-icon--docs) component.
* The Button Icon component makes use of the Icon component. For more information have a look at the [Icon](/docs/components-icon--docs) component.
*/
export const Icon = () => {
return html`
Expand All @@ -305,7 +305,7 @@ Icon.argTypes = {
};

/**
* The Button Icon uses the Loader component in its loading state to inform users that the action they have taken is in progress. For more information have a look at the [Loader](/docs/design-system-web-components-feedback-loader--docs) component.
* The Button Icon uses the Loader component in its loading state to inform users that the action they have taken is in progress. For more information have a look at the [Loader](/docs/components-loader--docs) component.
*/
export const Loader = () => {
return html`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ Disabled.story = {
/**
* ## Dependencies
* ### Icon
* The Button Text component can display a leading or trailing icon next to the label. For more information have a look at the [Icon](?path=/docs/design-system-web-components-ui-icon--docs) component.
* The Button Text component can display a leading or trailing icon next to the label. For more information have a look at the [Icon](?path=/docs/components-icon--docs) component.
*/

export const Icon = () => {
Expand Down Expand Up @@ -389,7 +389,7 @@ Icon.argTypes = {
};
Icon.story = { name: ' ' };
/**
* The Button Text uses the Loader component in its loading state to inform users that the action they have taken is in progress. For more information have a look at the [Loader](?path=/docs/design-system-web-components-feedback-loader--docs) component.
* The Button Text uses the Loader component in its loading state to inform users that the action they have taken is in progress. For more information have a look at the [Loader](?path=/docs/components-loader--docs) component.
*/
export const Loader = () => {
return html`
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-library/src/components/checkbox/index.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ Readonly.story = {
// * ## Validation
// *
// * ### Required
// * The Checkbox component can be set as required. If set as required, an error should be thrown, when the Checkbox component was not checked, before it was submitted. It is recommended to indicate in the label appendix, whether a component is required or not. For more information on the label and label appendix have a look at the [Form Label](/docs/design-system-web-components-internal-components-formlabel--docs) component in the dependencies section below.
// * The Checkbox component can be set as required. If set as required, an error should be thrown, when the Checkbox component was not checked, before it was submitted. It is recommended to indicate in the label appendix, whether a component is required or not. For more information on the label and label appendix have a look at the [Form Label](/docs/components-form-label--docs) component in the dependencies section below.
// */
// export const Required = () => {
// return html`
Expand Down Expand Up @@ -444,7 +444,7 @@ HasError.story = {
* ## Dependencies
*
* ### Form Label
* The Checkbox component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](/docs/design-system-web-components-internal-components-formlabel--docs) component.
* The Checkbox component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](/docs/components-form-label--docs) component.
*/

export const FormLabel = () => {
Expand All @@ -470,7 +470,7 @@ FormLabel.story = {

/**
* ### Form Caption Group
* The Checkbox component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/design-system-web-components-internal-components-formcaptiongroup--docs) component. If the Checkbox component lacks a label (hasLabel=false), the Form Caption Group should remain hidden.
* The Checkbox component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/components-form-caption-group--docs) component. If the Checkbox component lacks a label (hasLabel=false), the Form Caption Group should remain hidden.
*/
export const FormCaptionGroup = () => {
return html`
Expand Down
thrbnhrtmnn marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,19 @@ export default {
description: {
component: `<Markdown>
Form Caption provides either a brief hint or error message to a related form element such as Input Field Text or Select. It is typically displayed below the form element, and it can be used to provide additional information about the type of information a user has to provide, like an example of the correct data format.

angsherpa456 marked this conversation as resolved.
Show resolved Hide resolved
- [**Appearance**](#appearance)
- [**Variant**](#variant)
- [**Size Variant**](#size-variant)
- [**Dependencies**](#dependencies)
- [**Icon**](#icon)

The Form Caption is intended to be used when creating new components. Currently, it is used like this in the following components:
- [**Form Caption Group**](?path=/docs/components-form-caption-group--docs)
- [**Toggle Switch**](?path=/docs/components-toggle-switch--docs)

It is not intended to use the Form Caption directly when creating new applications.

</Markdown>
`,
},
Expand Down Expand Up @@ -179,7 +182,7 @@ SizeVariant.story = { name: ' ' };
/**
* ## Dependencies
* ### Icon
* The Form Caption component makes use of the Icon component. For more information have a look at the [Icon](/docs/design-system-web-components-ui-icon-icon--docs) component.
* The Form Caption component makes use of the Icon component. For more information have a look at the [Icon](/docs/components-icon--docs) component.
*/

export const Icon = () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -607,6 +607,7 @@ export const HasError = (params: BlrInputFieldNumberType) => {

/**
* ## Dependencies

angsherpa456 marked this conversation as resolved.
Show resolved Hide resolved
* ### Stepper Button
* The Input Field Number component makes use of the Stepper Button component when `stepperVariant='split'` for increasing or decreasing the value. For more information have a look at the [Stepper Button (Not yet implemented)](?path=/docs/components-stepper-button--docs) component.
*
Expand Down Expand Up @@ -662,7 +663,7 @@ export const StepperCombo = (params: BlrInputFieldNumberType) => {
StepperCombo.story = { name: ' ' };

/**
* The Input Field Number component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/design-system-web-components-internal-components-formlabel--docs) component.
* The Input Field Number component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/components-form-label--docs) component.
*/
export const FormLabel = (params: BlrInputFieldNumberType) => {
return html`
Expand Down Expand Up @@ -692,7 +693,7 @@ export const FormLabel = (params: BlrInputFieldNumberType) => {
};

/**
* The Input Field Number component can display an optional hint message and error message with icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](?path=/docs/design-system-web-components-internal-components-formcaptiongroup--docs) component.
* The Input Field Number component can display an optional hint message and error message with icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](?path=/docs/components-form-caption-group--docs) component.
*/
export const FormCaptionGroup = (params: BlrInputFieldNumberType) => {
return html`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ SizeVariant.story = {
/**
* ## Content / Settings
* ### Type
* The Input Field Text component can have all the types an html input can have, except the number and the unit type, which is covered in the Input Field Number component. For more information have a look at the [Input Field Number](/docs/design-system-web-components-forms-input-field-number--docs) component.
* The Input Field Text component can have all the types an html input can have, except the number and the unit type, which is covered in the Input Field Number component. For more information have a look at the [Input Field Number](/docs/components-input-field-number--docs) component.
*/
export const Type = () => {
return html`
Expand Down Expand Up @@ -644,7 +644,7 @@ HasError.argTypes = {
/**
* ## Dependencies
* ### Form Label
* The Input Field Text component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/design-system-web-components-internal-components-formlabel--docs) component.
* The Input Field Text component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/components-form-label--docs) component.
*/
export const FormLabel = () => {
return html`
Expand Down Expand Up @@ -672,7 +672,7 @@ FormLabel.story = {
name: ' ',
};
/**
* The Input Field Text component can have a trailing clickable Icon / Button Icon component. This could be used for example to show or hide the input, when it is used to enter a password. For more information have a look at the [Icon](?path=/docs/design-system-web-components-ui-icon--docs) component.
* The Input Field Text component can have a trailing clickable Icon / Button Icon component. This could be used for example to show or hide the input, when it is used to enter a password. For more information have a look at the [Icon](?path=/docs/components-icon--docs) component.
*/
export const Icon = () => {
return html`
Expand Down Expand Up @@ -707,7 +707,7 @@ Icon.argTypes = {
...disabledArgTypes,
};
/**
* The Form Caption Group component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/design-system-web-components-internal-components-formcaptiongroup--docs) component.
* The Form Caption Group component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/components-form-caption-group--docs) component.
*/
export const FormCaptionGroup = () => {
return html`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ export const HasError = () => {
/**
* ## Dependencies
* ### Form Caption Group
* The Radio Group component can display an optional hint message and error message with icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](?path=/docs/design-system-web-components-internal-components-formcaptiongroup--docs) component.
* The Radio Group component can display an optional hint message and error message with icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](?path=/docs/components-form-caption-group--docs) component.
*/
export const FormCaptionGroup = () => {
return html`
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-library/src/components/select/index.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ HasError.argTypes = {
* ## Dependencies
*
* ### Form Label
* The Select component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](/docs/design-system-web-components-internal-components-formlabel--docs) component.
* The Select component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](/docs/components-form-label--docs) component.
*/
export const FormLabel = () => {
return html`
Expand Down Expand Up @@ -439,7 +439,7 @@ FormLabel.argTypes = {
...disabledArgTypes,
};
/**
* The Select component makes use of the Icon component. For more information have a look at the [Icon](/docs/design-system-web-components-ui-icon--docs) component.
* The Select component makes use of the Icon component. For more information have a look at the [Icon](/docs/components-icon--docs) component.
*/

export const Icon = () => {
Expand Down Expand Up @@ -471,7 +471,7 @@ Icon.argTypes = {
...disabledArgTypes,
};
/**
* The Select component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/design-system-web-components-internal-components-formcaptiongroup--docs) component.
* The Select component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal [Form Caption Group](/docs/components-form-caption-group--docs) component.
*/
export const FormCaptionGroup = () => {
return html`
Expand Down
6 changes: 3 additions & 3 deletions packages/ui-library/src/components/textarea/index.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ HasError.argTypes = {
/**
* ## Dependencies
* ### Form Label
* The Text Area component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/design-system-web-components-internal-components-formlabel--docs) component.
* The Text Area component can display an optional Form Label component, consisting of a label and a label appendix. For more information have a look at the internal [Form Label](?path=/docs/components-form-label--docs) component.
*/
// States FormLabel
export const FormLabel = () => {
Expand Down Expand Up @@ -738,7 +738,7 @@ FormLabel.story = {
name: ' ',
};
/**
* The Text Area component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal <a href="/docs/design-system-web-components-internal-components-formcaptiongroup--docs">Form Caption Group</a> component.
* The Text Area component can display an optional hint message and error message with or without icons. Both captions can be combined. For more information have a look at the internal <a href="/docs/components-form-caption-group--docs">Form Caption Group</a> component.
*/
export const FormCaptionGroup = () => {
return html`
Expand Down Expand Up @@ -779,7 +779,7 @@ FormCaptionGroup.argTypes = {

// States Counter
/**
* The Text Area component can display an optional counter. The threshold for the warning and error message can be set individually. For more information have a look at the internal [Counter](?path=/docs/design-system-web-components-internal-components-counter--docs) component.
* The Text Area component can display an optional counter. The threshold for the warning and error message can be set individually. For more information have a look at the internal [Counter](?path=/docs/components-counter--docs) component.
*/
export const Counter = () => {
return html`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ Readonly.story = { name: ' ' };
/**
* ## Dependencies
* ### Form Caption
* The Toggle Switch component can display an optional hint message with or without icons. For more information have a look at the [Form Caption](/docs/design-system-web-components-internal-components-formcaptiongroup-formcaption--docs) component.
* The Toggle Switch component can display an optional hint message with or without icons. For more information have a look at the [Form Caption](/docs/components-form-caption--docs) component.
*/
export const FormCaption = () => {
return html`
Expand Down
Loading