diff --git a/docs/components/callout.mdx b/docs/components/callout.mdx index 2fb07ac..df2614e 100644 --- a/docs/components/callout.mdx +++ b/docs/components/callout.mdx @@ -45,7 +45,7 @@ import { CheckCircleIcon } from '@heroicons/react/solid' ##### Variant -With the prop you can customize the color of the callout +With the prop you can customize the color of the callout @@ -75,7 +75,7 @@ export default function App() { ##### Icon -With the prop you can render a custom icon in the callout before the title, is a optional +With the prop you can render a custom icon in the callout before the title, is a optional prop @@ -102,7 +102,7 @@ export default function App() { ##### Title -With the props you can provide a title of the callout and this prop is the only required +With the props you can provide a title of the callout and this prop is the only required of the component diff --git a/docs/components/confirm-dialog.mdx b/docs/components/confirm-dialog.mdx index fe066a7..e4325bd 100644 --- a/docs/components/confirm-dialog.mdx +++ b/docs/components/confirm-dialog.mdx @@ -130,7 +130,7 @@ we can avoid any issues with the ConfirmDialog component not being fully initial ##### Title -The prop is used to display a descriptive title in the confirmation dialog +The prop is used to display a descriptive title in the confirmation dialog @@ -155,7 +155,7 @@ The prop is used to display a descriptive title in the conf ##### Text Confirm Btn -The prop is used to define the text of the confirmation button in the dialog box +The prop is used to define the text of the confirmation button in the dialog box @@ -180,7 +180,7 @@ The prop is used to define the text of the confirm ##### On Cancel and Text Cancel Btn -The props they are used to cancel the confirmDialog, onCancel should carry the function that closes it and textCancelBtn the text that you want it to carry +The props they are used to cancel the confirmDialog, onCancel should carry the function that closes it and textCancelBtn the text that you want it to carry Note that it is recommended that the textCancelBtn and handleCancel props be defined together, as defining only textCancelBtn would not make much sense @@ -208,7 +208,7 @@ Note that it is recommended that the textCancelBtn and handleCancel props be def ##### Width -The prop is used to set the custom width of the confirmation dialog to +The prop is used to set the custom width of the confirmation dialog to diff --git a/docs/components/date-picker.mdx b/docs/components/date-picker.mdx index 039a5a5..4cab388 100644 --- a/docs/components/date-picker.mdx +++ b/docs/components/date-picker.mdx @@ -39,7 +39,7 @@ The code snippet below shows how to use the DatePicker component: ##### Language -With the prop , its variants and you can control the language +With the prop , its variants and you can control the language @@ -61,7 +61,7 @@ With the prop , its variants and Format -With the prop , and its and variants, you can customize the display format of the date, either in its full or abbreviated form. +With the prop , and its and variants, you can customize the display format of the date, either in its full or abbreviated form. @@ -82,7 +82,7 @@ With the prop , and its and OnlyOf -With the prop , its variants , , and you can control the format +With the prop , its variants , , and you can control the format @@ -108,7 +108,7 @@ With the prop , its variants , MinDate -With the prop , you can define the selectable minimum date +With the prop , you can define the selectable minimum date @@ -125,7 +125,7 @@ With the prop , you can define the selectable minimum date ##### MaxDate -With the prop , you can define the maximum selectable date +With the prop , you can define the maximum selectable date diff --git a/docs/components/dynamic-hero-icon.mdx b/docs/components/dynamic-hero-icon.mdx index acbe7fd..e029f50 100644 --- a/docs/components/dynamic-hero-icon.mdx +++ b/docs/components/dynamic-hero-icon.mdx @@ -38,7 +38,7 @@ The code snippet below shows how to use the DynamicHeroIcon component: ##### Icon -With the prop , you can choose the required icon in a fast and simple way +With the prop , you can choose the required icon in a fast and simple way @@ -53,7 +53,7 @@ With the prop , you can choose the required icon in a fast an ##### Width -With the prop , you can choose the size of the chosen icon +With the prop , you can choose the size of the chosen icon @@ -68,7 +68,7 @@ With the prop , you can choose the size of the chosen icon ##### ClassName -With the prop , you can choose the color of the chosen icon, among many other things +With the prop , you can choose the color of the chosen icon, among many other things @@ -97,7 +97,7 @@ With the prop , you can choose the color of the chosen i /> -You can import IconName like this +You can import IconName like this diff --git a/docs/components/filter-range-slider.mdx b/docs/components/filter-range-slider.mdx index a81ca8c..05bdf3a 100644 --- a/docs/components/filter-range-slider.mdx +++ b/docs/components/filter-range-slider.mdx @@ -137,29 +137,29 @@ we can avoid any issues with the FilterRangeSlider component not being fully ini ##### Min & max - + Represents the minimum value that can be selected in the range slider. It defaults to 0. - + Represents the maximum value that can be selected in the range slider. It defaults to 999999999. - + Represents the initial minimum value that will be set in the range slider. If it's not provided, then it will default to the min prop. - + Represents the initial maximum value that will be set in the range slider. If it's not provided, then it will default to the max prop. - + Is a boolean value that determines whether the minimum value input field will be disabled or not. If it's set to true, the minimum input field will be disabled and the user will not be able to change its value. It defaults to false. - + Is a boolean value that determines whether the maximum value input field will be disabled or not. If it's set to true, the maximum input field will be disabled and the user will not be able to change its value. It diff --git a/docs/components/filter-select-multi.mdx b/docs/components/filter-select-multi.mdx index cdd8924..bab1f96 100644 --- a/docs/components/filter-select-multi.mdx +++ b/docs/components/filter-select-multi.mdx @@ -57,7 +57,7 @@ The code snippet below shows how to use the FilterSelectMulti component: ##### Initial Item List -The prop it is used to show the available options, there is also the possibility of disabling one of them +The prop it is used to show the available options, there is also the possibility of disabling one of them @@ -165,7 +165,7 @@ Note: The "domLoaded" state variable in the FilterSelectMultiCustom is used to e ##### Title -The prop serves to provide a descriptive title or label +The prop serves to provide a descriptive title or label @@ -201,7 +201,7 @@ The prop serves to provide a descriptive title or label ##### Text Apply Btn -The prop it is used to customize the text of the apply button +The prop it is used to customize the text of the apply button @@ -235,7 +235,7 @@ The prop it is used to customize the text of the app ##### Text Reset Btn -The prop it is used to customize the text of the reset button +The prop it is used to customize the text of the reset button @@ -269,7 +269,7 @@ The prop it is used to customize the text of the res ##### Width -The prop used to customize the size +The prop used to customize the size diff --git a/docs/components/filter-select.mdx b/docs/components/filter-select.mdx index 0a829dc..756a4bb 100644 --- a/docs/components/filter-select.mdx +++ b/docs/components/filter-select.mdx @@ -57,7 +57,7 @@ The code snippet below shows how to use the FilterSelect component: ##### List Items -The prop it is used to show the available options, there is also the possibility of disabling one of them +The prop it is used to show the available options, there is also the possibility of disabling one of them @@ -165,7 +165,7 @@ Note: The "domLoaded" state variable in the FilterSelectCustom is used to ensure ##### Title -The prop serves to provide a descriptive title or label +The prop serves to provide a descriptive title or label @@ -199,7 +199,7 @@ The prop serves to provide a descriptive title or label ##### Selected Value -The prop is used to provide a default value +The prop is used to provide a default value @@ -233,7 +233,7 @@ The prop is used to provide a default value ##### Text Apply Btn -The prop it is used to customize the text of the apply button +The prop it is used to customize the text of the apply button @@ -267,7 +267,7 @@ The prop it is used to customize the text of the app ##### Text Reset Btn -The prop it is used to customize the text of the reset button +The prop it is used to customize the text of the reset button @@ -301,7 +301,7 @@ The prop it is used to customize the text of the res ##### Width -The prop used to customize the size +The prop used to customize the size diff --git a/docs/components/skeleton.mdx b/docs/components/skeleton.mdx index 9a4f09a..583276a 100644 --- a/docs/components/skeleton.mdx +++ b/docs/components/skeleton.mdx @@ -42,7 +42,7 @@ The code snippet below shows how to use the Skeleton component: ##### Animation -With the prop you can control the animation of Skeleton +With the prop you can control the animation of Skeleton @@ -64,7 +64,7 @@ With the prop you can control the animation of Skeleton ##### Rounded -With the prop you can customize the rounded edge of the skeleton +With the prop you can customize the rounded edge of the skeleton @@ -98,7 +98,7 @@ With the prop you can customize the rounded edge of the s ##### Color -With the prop you can customize the color of the skeleton +With the prop you can customize the color of the skeleton @@ -112,7 +112,7 @@ With the prop you can customize the color of the skeleton ##### Table Content Skeleton -With the component you can display a skeleton table content with mock rows and columns to represent data in a +With the component you can display a skeleton table content with mock rows and columns to represent data in a tabular structure. diff --git a/docs/components/table.mdx b/docs/components/table.mdx index 9618fee..3c805f3 100644 --- a/docs/components/table.mdx +++ b/docs/components/table.mdx @@ -92,7 +92,7 @@ The code snippet below shows how to use the Table component: ##### StickyTop -With the prop you can fix the header with a sticky position at the top +With the prop you can fix the header with a sticky position at the top @@ -161,7 +161,7 @@ With the prop you can fix the header with a sticky posi ##### StickyLeft -With the prop you can fix the header with a sticky position at the left +With the prop you can fix the header with a sticky position at the left
@@ -230,7 +230,7 @@ With the prop you can fix the header with a sticky pos ##### ColSpan -With the prop you can set the number of columns that the cell will occupy +With the prop you can set the number of columns that the cell will occupy
@@ -295,7 +295,7 @@ With the prop you can set the number of columns that the ##### RowSpan -With the prop you can set the number of rows that the cell will occupy +With the prop you can set the number of rows that the cell will occupy
@@ -351,7 +351,7 @@ With the prop you can set the number of rows that the cel
##### Accordion -You can use for dropdown rows +You can use for dropdown rows
diff --git a/docs/components/tag.mdx b/docs/components/tag.mdx new file mode 100644 index 0000000..0cbd7e4 --- /dev/null +++ b/docs/components/tag.mdx @@ -0,0 +1,231 @@ +--- +product: dd360-ds +title: React Tag component +components: Tag +--- + +
+
+ + + +# + +The Tag component serves to provide a visual and semantic way to label, categorize, or mark elements within a user interface. These tags are useful for organizing and highlighting specific information, allowing users to quickly identify the nature or purpose of an item. + +
+
+##### Imports + +The first alternative is recommended since they can reduce the application bundle + + + + +
+##### Usage + +Use the Tag component as shown below: + + + + + +The code snippet below shows how to use the Tag component: + +`} +/> + +
+ +##### Variant + +With the prop you can customize the color of the Tag + + + + + + + + + + + + + + + + + ) +}`} /> + +
+ +##### Font size + +With the prop you can customize the size of the icon and the text on the Tag + + + + + + + + + + + + + + + + + ) +}`} /> + +
+ +##### Fill + +With the prop enables the fill of the tag according to the value of the variant prop + + + + + + + + + + + + + + + + + ) +}`} /> + +
+ +##### Rounded + +With the prop you can customize the border radius in the tag + + + + + + + + + + + + + + + + + ) +}`} /> + +
+ +##### Icon + +With the prop you can render a custom icon in the Tag before the text, is a optional +prop + + + + + + + + + + + + + + + ) +}`} /> + +
+ +##### Text + +With the props you can provide a text to the Tag and this prop is the only required +of the component + + + + + + + + + + + ) +}`} /> + +
+
+##### API Reference + + + + + + \ No newline at end of file diff --git a/docs/components/transition.mdx b/docs/components/transition.mdx index 2b8f443..9e47a3b 100644 --- a/docs/components/transition.mdx +++ b/docs/components/transition.mdx @@ -48,21 +48,21 @@ Within your component's render method, place the Transition component, wrapping The Transition component accepts the following props: - determines whether the transition is visible or hidden. Set it to true to show the transition or false to hide it. + determines whether the transition is visible or hidden. Set it to true to show the transition or false to hide it.
- specifies the starting animation type. It defaults to 'fadeIn'. + specifies the starting animation type. It defaults to 'fadeIn'.
- specifies the ending animation type. It defaults to 'fadeOut'. + specifies the ending animation type. It defaults to 'fadeOut'.
- determines the duration of the animation in milliseconds. The default duration is set to 300 milliseconds. + determines the duration of the animation in milliseconds. The default duration is set to 300 milliseconds.
- specifies the delay before the animation starts in milliseconds. It defaults to 0 milliseconds. + specifies the delay before the animation starts in milliseconds. It defaults to 0 milliseconds.
- determines how the animation styles are applied before and after the animation. It accepts the values 'none', 'forwards', 'backwards', or 'both'. The default value is 'both'. + determines how the animation styles are applied before and after the animation. It accepts the values 'none', 'forwards', 'backwards', or 'both'. The default value is 'both'.
- defines the timing function for the animation. It accepts the values 'linear', 'ease', 'ease-in', 'ease-out', or 'ease-in-out'. The default is set to 'linear'. + defines the timing function for the animation. It accepts the values 'linear', 'ease', 'ease-in', 'ease-out', or 'ease-in-out'. The default is set to 'linear'.
- controls whether the transition should always render its child elements, even when not visible. By default, it is set to false. + controls whether the transition should always render its child elements, even when not visible. By default, it is set to false.

diff --git a/docs/controls/progress-circle.mdx b/docs/controls/progress-circle.mdx index f2b1f27..bc6d12a 100644 --- a/docs/controls/progress-circle.mdx +++ b/docs/controls/progress-circle.mdx @@ -45,7 +45,7 @@ The code snippet below shows how to use the ProgressCircle component: ##### ColorComplete -With the prop you can customize the color when the progress is complete +With the prop you can customize the color when the progress is complete you can customize the color when the p
##### ColorProgress -With the prop you can customize the progress color +With the prop you can customize the progress color you can customize the progress color
##### ColorBackground -With the prop you can customize the color of the progress that is not complete +With the prop you can customize the color of the progress that is not complete you can customize the color of the p
##### StrokeWidth -With the prop you can customize the thickness of the progress +With the prop you can customize the thickness of the progress Complete} /> diff --git a/docs/controls/progressbar.mdx b/docs/controls/progressbar.mdx index 672b65a..735c9ef 100644 --- a/docs/controls/progressbar.mdx +++ b/docs/controls/progressbar.mdx @@ -48,7 +48,7 @@ The code snippet below shows how to use the Progressbar component: ##### BackgroundColor -With the prop you can customize the color of the bar +With the prop you can customize the color of the bar @@ -63,7 +63,7 @@ With the prop you can customize the color of the
##### Label -With the prop you can add a text bar +With the prop you can add a text bar @@ -80,7 +80,7 @@ With the prop you can add a text bar
##### Animated -With the prop you can add an animation to the bar +With the prop you can add an animation to the bar @@ -95,7 +95,7 @@ With the prop you can add an animation to the bar
##### BgColorContainer -With the prop you can modify the color of the container of the bar +With the prop you can modify the color of the container of the bar diff --git a/docs/controls/spinner.mdx b/docs/controls/spinner.mdx index 842ec5b..297be07 100644 --- a/docs/controls/spinner.mdx +++ b/docs/controls/spinner.mdx @@ -47,7 +47,7 @@ The code snippet below shows how to use the Spinner component: ##### Color -With the prop you can customize the color of the spinner +With the prop you can customize the color of the spinner @@ -65,7 +65,7 @@ With the prop you can customize the color of the spinner ##### Border -With the prop you can customize the width of the spinner border +With the prop you can customize the width of the spinner border @@ -83,7 +83,7 @@ With the prop you can customize the width of the spinner b ##### PageLoader -With the prop you can add a proper spineer for page load +With the prop you can add a proper spineer for page load @@ -101,7 +101,7 @@ With the prop you can add a proper spineer for page lo ##### Width and Height -With the props and +With the props and you can customize the size of the spinner diff --git a/docs/controls/stepper.mdx b/docs/controls/stepper.mdx index d80983a..d8f09da 100644 --- a/docs/controls/stepper.mdx +++ b/docs/controls/stepper.mdx @@ -49,7 +49,7 @@ The code snippet below shows how to use the Stepper component: ##### FontSize -With the prop you can customize the size of the text +With the prop you can customize the size of the text @@ -67,7 +67,7 @@ With the prop you can customize the size of the text ##### TextColor -With the prop you can customize the color of the text +With the prop you can customize the color of the text @@ -85,7 +85,7 @@ With the prop you can customize the color of the text ##### StrokeWidth -With the prop you can customize the thickness of the stepper +With the prop you can customize the thickness of the stepper @@ -103,7 +103,7 @@ With the prop you can customize the thickness of the ##### StrokeColor -With the prop you can customize the color of the stepper +With the prop you can customize the color of the stepper @@ -121,7 +121,7 @@ With the prop you can customize the color of the step ##### Text -With the prop you can add a custom text in case you don't need to show the steps +With the prop you can add a custom text in case you don't need to show the steps diff --git a/docs/controls/switch.mdx b/docs/controls/switch.mdx index b9743e3..6b048bf 100644 --- a/docs/controls/switch.mdx +++ b/docs/controls/switch.mdx @@ -48,7 +48,7 @@ The code snippet below shows how to use the Switch component: ##### Text -With the prop you can add text next to the switch +With the prop you can add text next to the switch @@ -66,7 +66,7 @@ With the prop you can add text next to the switch ##### CustomIcon -With the prop you can add icon on switch disabled +With the prop you can add icon on switch disabled } /> diff --git a/docs/form/input.mdx b/docs/form/input.mdx index 5cea1ea..944011d 100644 --- a/docs/form/input.mdx +++ b/docs/form/input.mdx @@ -159,7 +159,7 @@ import DynamicHeroIcon from 'dd360-ds/DynamicHeroIcon' ##### isRequired -With the prop you can mark an input as required. Setting isRequired to true will add an asterisk (*) next to the entry to indicate that its completion is required. This functionality is especially useful for highlighting the need to fill in certain fields on forms or user interfaces. +With the prop you can mark an input as required. Setting isRequired to true will add an asterisk (*) next to the entry to indicate that its completion is required. This functionality is especially useful for highlighting the need to fill in certain fields on forms or user interfaces. @@ -198,7 +198,7 @@ With the prop you can mark an input as required. Setti ##### Currency -When the prop is . +When the prop is . isRequired -With the prop you can mark an select as required. Setting isRequired to true will add an asterisk (*) next to the entry to indicate that its completion is required. This functionality is especially useful for highlighting the need to fill in certain fields on forms or user interfaces. +With the prop you can mark an select as required. Setting isRequired to true will add an asterisk (*) next to the entry to indicate that its completion is required. This functionality is especially useful for highlighting the need to fill in certain fields on forms or user interfaces.