@rarui/components 1.22.0 → 1.24.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.21.0",
2
+ "version": "1.23.0",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -1419,18 +1419,31 @@
1419
1419
  },
1420
1420
  {
1421
1421
  "name": "rarui-text",
1422
+ "description": "## Rarui Text\n---\nText is a basic component that allows us to write blocks of text and give it formatting to use within other components, sections and pages of our application or website.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.",
1422
1423
  "attributes": [
1423
1424
  {
1424
1425
  "name": "as",
1425
- "description": "Type of html tag to create for the Text component.\n\n- p\n- span\n\n@default p",
1426
+ "description": "Changes the rendered element for semantic HTML.\n\n- div\n- em\n- p\n- small\n- span\n- strong\n\n@default p",
1426
1427
  "type": "string",
1427
1428
  "values": [
1429
+ {
1430
+ "name": "div"
1431
+ },
1432
+ {
1433
+ "name": "em"
1434
+ },
1428
1435
  {
1429
1436
  "name": "p",
1430
1437
  "description": "(default)"
1431
1438
  },
1439
+ {
1440
+ "name": "small"
1441
+ },
1432
1442
  {
1433
1443
  "name": "span"
1444
+ },
1445
+ {
1446
+ "name": "strong"
1434
1447
  }
1435
1448
  ],
1436
1449
  "default": "p"
@@ -1776,10 +1789,11 @@
1776
1789
  },
1777
1790
  {
1778
1791
  "name": "rarui-title",
1792
+ "description": "## Rarui Title\n---\nTilte is a basic component that allows you to give titles and more hierarchy to blocks of text for sections or header components.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.",
1779
1793
  "attributes": [
1780
1794
  {
1781
1795
  "name": "as",
1782
- "description": "Type of html tag to create for the title.\n\n- h1\n- h2\n- h3\n- h4\n- h5\n- h6\n\n@default h1",
1796
+ "description": "Changes the rendered heading element for semantic hierarchy.\n\n- h1\n- h2\n- h3\n- h4\n- h5\n- h6\n\n@default h1",
1783
1797
  "type": "string",
1784
1798
  "values": [
1785
1799
  {
@@ -2567,11 +2581,27 @@
2567
2581
  }
2568
2582
  ],
2569
2583
  "default": "button"
2584
+ },
2585
+ {
2586
+ "name": "name",
2587
+ "description": "The name of the button for form submission.",
2588
+ "type": "string"
2589
+ },
2590
+ {
2591
+ "name": "value",
2592
+ "description": "The value of the button for form submission.",
2593
+ "type": "string"
2594
+ },
2595
+ {
2596
+ "name": "form",
2597
+ "description": "Associates the button with a form element by ID.",
2598
+ "type": "string"
2570
2599
  }
2571
2600
  ]
2572
2601
  },
2573
2602
  {
2574
2603
  "name": "rarui-checkbox",
2604
+ "description": "## Rarui Checkbox\n---\nThe Checkbox allows users to select one or more items from a set and can be used to enable or disable an option.\n\nFeatures hybrid behavior:\n- **Controlled mode**: When `checked` prop is provided, works like React controlled component\n- **Native mode**: When `checked` prop is not provided, works like native HTML checkbox\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.",
2575
2605
  "attributes": [
2576
2606
  {
2577
2607
  "name": "label",
@@ -2583,6 +2613,18 @@
2583
2613
  "description": "The id of the checkbox.\n\n(Required)",
2584
2614
  "type": "string"
2585
2615
  },
2616
+ {
2617
+ "name": "checked",
2618
+ "description": "Controls the checked state of the checkbox.\n\n**Hybrid Behavior:**\n- When provided: Checkbox works in controlled mode - external prop controls the state\n- When not provided: Checkbox works in native mode - maintains its own internal state\n\n@default undefined (native mode)",
2619
+ "type": "boolean",
2620
+ "default": "undefined (native mode)"
2621
+ },
2622
+ {
2623
+ "name": "readonly",
2624
+ "description": "Makes the checkbox read-only, preventing user interaction.\nWhen true, the checkbox displays its current state but cannot be changed by clicking.",
2625
+ "type": "boolean",
2626
+ "default": false
2627
+ },
2586
2628
  {
2587
2629
  "name": "error",
2588
2630
  "description": "Specifies whether the checkbox is in error state",
@@ -2605,6 +2647,27 @@
2605
2647
  "name": "indeterminate",
2606
2648
  "description": "Specifies whether the checkbox is indeterminate state",
2607
2649
  "type": "boolean"
2650
+ },
2651
+ {
2652
+ "name": "name",
2653
+ "description": "The name of the checkbox for form submission.",
2654
+ "type": "string"
2655
+ },
2656
+ {
2657
+ "name": "value",
2658
+ "description": "The value of the checkbox when checked for form submission.",
2659
+ "type": "string"
2660
+ },
2661
+ {
2662
+ "name": "form",
2663
+ "description": "Associates the checkbox with a form element by ID.",
2664
+ "type": "string"
2665
+ },
2666
+ {
2667
+ "name": "required",
2668
+ "description": "Indicates whether the checkbox is required for form validation.",
2669
+ "type": "boolean",
2670
+ "default": false
2608
2671
  }
2609
2672
  ]
2610
2673
  },
@@ -2692,12 +2755,45 @@
2692
2755
  "description": "Disables the chip, disallowing user interaction.",
2693
2756
  "type": "boolean",
2694
2757
  "default": false
2758
+ },
2759
+ {
2760
+ "name": "type",
2761
+ "description": "Defines the native button type.\n\n- button\n- reset\n- submit\n\n@default button",
2762
+ "type": "string",
2763
+ "values": [
2764
+ {
2765
+ "name": "button",
2766
+ "description": "(default)"
2767
+ },
2768
+ {
2769
+ "name": "reset"
2770
+ },
2771
+ {
2772
+ "name": "submit"
2773
+ }
2774
+ ],
2775
+ "default": "button"
2776
+ },
2777
+ {
2778
+ "name": "name",
2779
+ "description": "The name of the chip for form submission.",
2780
+ "type": "string"
2781
+ },
2782
+ {
2783
+ "name": "value",
2784
+ "description": "The value of the chip for form submission.",
2785
+ "type": "string"
2786
+ },
2787
+ {
2788
+ "name": "form",
2789
+ "description": "Associates the chip with a form element by ID.",
2790
+ "type": "string"
2695
2791
  }
2696
2792
  ]
2697
2793
  },
2698
2794
  {
2699
2795
  "name": "rarui-dropdown",
2700
- "description": "## Rarui Dropdown\n---\nAn suspended menu displays a list of options on a temporary surface.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/dropdown) for more details.",
2796
+ "description": "## Rarui Dropdown\n---\nAn suspended menu displays a list of options on a temporary surface.\n\nFeatures hybrid behavior:\n- **Controlled mode**: When `visible` prop is provided, works like React controlled component\n- **Native mode**: When `visible` prop is not provided, manages its own internal state\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/dropdown) for more details.",
2701
2797
  "attributes": [
2702
2798
  {
2703
2799
  "name": "match-reference-width",
@@ -2736,8 +2832,9 @@
2736
2832
  },
2737
2833
  {
2738
2834
  "name": "visible",
2739
- "description": "If true, the component is shown.",
2740
- "type": "boolean"
2835
+ "description": "Controls the visibility state of the dropdown.\n\n**Hybrid Behavior:**\n- When provided: Dropdown works in controlled mode - external prop controls the state\n- When not provided: Dropdown works in native mode - manages its own internal state\n\n@default undefined (native mode)",
2836
+ "type": "boolean",
2837
+ "default": "undefined (native mode)"
2741
2838
  },
2742
2839
  {
2743
2840
  "name": "on-visibility",
@@ -2907,6 +3004,7 @@
2907
3004
  },
2908
3005
  {
2909
3006
  "name": "rarui-dropdown-item",
3007
+ "description": "## Rarui Dropdown Item\n---\nAn suspended menu displays a list of options on a temporary surface.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/dropdown) for more details.",
2910
3008
  "attributes": [
2911
3009
  {
2912
3010
  "name": "name",
@@ -2918,11 +3016,47 @@
2918
3016
  "description": "Indicates if the item is selected.\nThis affects the visual style, such as highlight or marking.",
2919
3017
  "type": "boolean",
2920
3018
  "default": false
3019
+ },
3020
+ {
3021
+ "name": "disabled",
3022
+ "description": "Disables the dropdown item, disallowing user interaction.",
3023
+ "type": "boolean",
3024
+ "default": false
3025
+ },
3026
+ {
3027
+ "name": "value",
3028
+ "description": "The value associated with this dropdown item for form submission or identification.",
3029
+ "type": "string"
3030
+ },
3031
+ {
3032
+ "name": "type",
3033
+ "description": "Defines the native button type.\n\n- button\n- reset\n- submit\n\n@default button",
3034
+ "type": "string",
3035
+ "values": [
3036
+ {
3037
+ "name": "button",
3038
+ "description": "(default)"
3039
+ },
3040
+ {
3041
+ "name": "reset"
3042
+ },
3043
+ {
3044
+ "name": "submit"
3045
+ }
3046
+ ],
3047
+ "default": "button"
3048
+ },
3049
+ {
3050
+ "name": "role",
3051
+ "description": "ARIA role for the dropdown item.\n\n@default menuitem",
3052
+ "type": "string",
3053
+ "default": "menuitem"
2921
3054
  }
2922
3055
  ]
2923
3056
  },
2924
3057
  {
2925
3058
  "name": "rarui-icon-button",
3059
+ "description": "## Rarui Icon Button\n---\nButton allows the user to perform actions, such as sending a file, advancing a form, sharing a document, or making a comment.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.",
2926
3060
  "attributes": [
2927
3061
  {
2928
3062
  "name": "disabled",
@@ -2999,6 +3133,39 @@
2999
3133
  "description": "Defines if the button should have rounded edges.\n\n- `true`: The button will be rendered with completely rounded edges, useful for circular -shaped icons.\n- `false` (default): The button will have standard edges or defined by the component style.",
3000
3134
  "type": "boolean",
3001
3135
  "default": false
3136
+ },
3137
+ {
3138
+ "name": "type",
3139
+ "description": "Defines the native button type.\n\n- button\n- reset\n- submit\n\n@default button",
3140
+ "type": "string",
3141
+ "values": [
3142
+ {
3143
+ "name": "button",
3144
+ "description": "(default)"
3145
+ },
3146
+ {
3147
+ "name": "reset"
3148
+ },
3149
+ {
3150
+ "name": "submit"
3151
+ }
3152
+ ],
3153
+ "default": "button"
3154
+ },
3155
+ {
3156
+ "name": "name",
3157
+ "description": "The name of the button for form submission.",
3158
+ "type": "string"
3159
+ },
3160
+ {
3161
+ "name": "value",
3162
+ "description": "The value of the button for form submission.",
3163
+ "type": "string"
3164
+ },
3165
+ {
3166
+ "name": "form",
3167
+ "description": "Associates the button with a form element by ID.",
3168
+ "type": "string"
3002
3169
  }
3003
3170
  ]
3004
3171
  },
@@ -3064,6 +3231,100 @@
3064
3231
  "description": "Whether the input is disabled.",
3065
3232
  "type": "boolean",
3066
3233
  "default": false
3234
+ },
3235
+ {
3236
+ "name": "type",
3237
+ "description": "The type of input element.\n\n- color\n- date\n- datetime-local\n- email\n- file\n- hidden\n- month\n- number\n- password\n- range\n- search\n- tel\n- text\n- time\n- url\n- week\n\n@default text",
3238
+ "type": "string",
3239
+ "values": [
3240
+ {
3241
+ "name": "color"
3242
+ },
3243
+ {
3244
+ "name": "date"
3245
+ },
3246
+ {
3247
+ "name": "datetime-local"
3248
+ },
3249
+ {
3250
+ "name": "email"
3251
+ },
3252
+ {
3253
+ "name": "file"
3254
+ },
3255
+ {
3256
+ "name": "hidden"
3257
+ },
3258
+ {
3259
+ "name": "month"
3260
+ },
3261
+ {
3262
+ "name": "number"
3263
+ },
3264
+ {
3265
+ "name": "password"
3266
+ },
3267
+ {
3268
+ "name": "range"
3269
+ },
3270
+ {
3271
+ "name": "search"
3272
+ },
3273
+ {
3274
+ "name": "tel"
3275
+ },
3276
+ {
3277
+ "name": "text",
3278
+ "description": "(default)"
3279
+ },
3280
+ {
3281
+ "name": "time"
3282
+ },
3283
+ {
3284
+ "name": "url"
3285
+ },
3286
+ {
3287
+ "name": "week"
3288
+ }
3289
+ ],
3290
+ "default": "text"
3291
+ },
3292
+ {
3293
+ "name": "name",
3294
+ "description": "The name of the input for form submission.",
3295
+ "type": "string"
3296
+ },
3297
+ {
3298
+ "name": "form",
3299
+ "description": "Associates the input with a form element by ID.",
3300
+ "type": "string"
3301
+ },
3302
+ {
3303
+ "name": "required",
3304
+ "description": "Whether the input is required.",
3305
+ "type": "boolean",
3306
+ "default": false
3307
+ },
3308
+ {
3309
+ "name": "readonly",
3310
+ "description": "Whether the input is readonly.",
3311
+ "type": "boolean",
3312
+ "default": false
3313
+ },
3314
+ {
3315
+ "name": "minlength",
3316
+ "description": "Minimum length of the input value.",
3317
+ "type": "number"
3318
+ },
3319
+ {
3320
+ "name": "maxlength",
3321
+ "description": "Maximum length of the input value.",
3322
+ "type": "number"
3323
+ },
3324
+ {
3325
+ "name": "pattern",
3326
+ "description": "Regular expression pattern for input validation.",
3327
+ "type": "string"
3067
3328
  }
3068
3329
  ]
3069
3330
  },
@@ -3081,34 +3342,312 @@
3081
3342
  "type": "string"
3082
3343
  },
3083
3344
  {
3084
- "name": "disabled",
3085
- "description": "Whether the input is disabled.",
3345
+ "name": "name",
3346
+ "description": "The name of the input for form submission.",
3347
+ "type": "string"
3348
+ },
3349
+ {
3350
+ "name": "form",
3351
+ "description": "Associates the input with a form element by ID.",
3352
+ "type": "string"
3353
+ },
3354
+ {
3355
+ "name": "required",
3356
+ "description": "Whether the input is required.",
3357
+ "type": "boolean",
3358
+ "default": false
3359
+ },
3360
+ {
3361
+ "name": "readonly",
3362
+ "description": "Whether the input is readonly.",
3363
+ "type": "boolean",
3364
+ "default": false
3365
+ },
3366
+ {
3367
+ "name": "autocomplete",
3368
+ "description": "Autocomplete hint for the password input.",
3369
+ "type": "string"
3370
+ },
3371
+ {
3372
+ "name": "minlength",
3373
+ "description": "Minimum length of the password value.",
3374
+ "type": "number"
3375
+ },
3376
+ {
3377
+ "name": "maxlength",
3378
+ "description": "Maximum length of the password value.",
3379
+ "type": "number"
3380
+ },
3381
+ {
3382
+ "name": "pattern",
3383
+ "description": "Regular expression pattern for password validation.",
3384
+ "type": "string"
3385
+ },
3386
+ {
3387
+ "name": "disabled",
3388
+ "description": "Whether the input is disabled.",
3389
+ "type": "boolean",
3390
+ "default": false
3391
+ },
3392
+ {
3393
+ "name": "size",
3394
+ "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small\n\n@default medium",
3395
+ "type": "string",
3396
+ "values": [
3397
+ {
3398
+ "name": "large"
3399
+ },
3400
+ {
3401
+ "name": "medium",
3402
+ "description": "(default)"
3403
+ },
3404
+ {
3405
+ "name": "small"
3406
+ }
3407
+ ],
3408
+ "default": "medium"
3409
+ },
3410
+ {
3411
+ "name": "border",
3412
+ "description": "Determines if the input have borders or not.\n\n@default true",
3413
+ "type": "boolean",
3414
+ "default": true
3415
+ },
3416
+ {
3417
+ "name": "appearance",
3418
+ "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3419
+ "type": "string",
3420
+ "values": [
3421
+ {
3422
+ "name": "error"
3423
+ },
3424
+ {
3425
+ "name": "success"
3426
+ }
3427
+ ]
3428
+ },
3429
+ {
3430
+ "name": "divider",
3431
+ "description": "Places a divider between the input and the leading components\n\n@default true",
3432
+ "type": "boolean",
3433
+ "default": true
3434
+ }
3435
+ ]
3436
+ },
3437
+ {
3438
+ "name": "rarui-input-search",
3439
+ "attributes": [
3440
+ {
3441
+ "name": "value",
3442
+ "description": "The value of the search input element.",
3443
+ "type": "string"
3444
+ },
3445
+ {
3446
+ "name": "placeholder",
3447
+ "description": "Placeholder text for the search input element.",
3448
+ "type": "string"
3449
+ },
3450
+ {
3451
+ "name": "name",
3452
+ "description": "The name of the input for form submission.",
3453
+ "type": "string"
3454
+ },
3455
+ {
3456
+ "name": "form",
3457
+ "description": "Associates the input with a form element by ID.",
3458
+ "type": "string"
3459
+ },
3460
+ {
3461
+ "name": "required",
3462
+ "description": "Whether the input is required.",
3463
+ "type": "boolean",
3464
+ "default": false
3465
+ },
3466
+ {
3467
+ "name": "readonly",
3468
+ "description": "Whether the input is readonly.",
3469
+ "type": "boolean",
3470
+ "default": false
3471
+ },
3472
+ {
3473
+ "name": "autocomplete",
3474
+ "description": "Autocomplete hint for the search input.",
3475
+ "type": "string"
3476
+ },
3477
+ {
3478
+ "name": "minlength",
3479
+ "description": "Minimum length of the search value.",
3480
+ "type": "number"
3481
+ },
3482
+ {
3483
+ "name": "maxlength",
3484
+ "description": "Maximum length of the search value.",
3485
+ "type": "number"
3486
+ },
3487
+ {
3488
+ "name": "pattern",
3489
+ "description": "Regular expression pattern for search validation.",
3490
+ "type": "string"
3491
+ },
3492
+ {
3493
+ "name": "disabled",
3494
+ "description": "Whether the input is disabled.",
3495
+ "type": "boolean",
3496
+ "default": false
3497
+ },
3498
+ {
3499
+ "name": "size",
3500
+ "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small\n\n@default medium",
3501
+ "type": "string",
3502
+ "values": [
3503
+ {
3504
+ "name": "large"
3505
+ },
3506
+ {
3507
+ "name": "medium",
3508
+ "description": "(default)"
3509
+ },
3510
+ {
3511
+ "name": "small"
3512
+ }
3513
+ ],
3514
+ "default": "medium"
3515
+ },
3516
+ {
3517
+ "name": "border",
3518
+ "description": "Determines if the input have borders or not.\n\n@default true",
3519
+ "type": "boolean",
3520
+ "default": true
3521
+ },
3522
+ {
3523
+ "name": "appearance",
3524
+ "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3525
+ "type": "string",
3526
+ "values": [
3527
+ {
3528
+ "name": "error"
3529
+ },
3530
+ {
3531
+ "name": "success"
3532
+ }
3533
+ ]
3534
+ },
3535
+ {
3536
+ "name": "divider",
3537
+ "description": "Places a divider between the input and the leading components\n\n@default true",
3538
+ "type": "boolean",
3539
+ "default": true
3540
+ }
3541
+ ]
3542
+ },
3543
+ {
3544
+ "name": "rarui-radio-button",
3545
+ "description": "## Rarui Radio Button\n---\nRadio Button allows users to select one option from a set. They are a selection control that usually appears when users are asked to make decisions or select an option from a set of choices.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/radiobutton) for more details.",
3546
+ "attributes": [
3547
+ {
3548
+ "name": "selected",
3549
+ "description": "Sets radio state to activated or deactivated.",
3550
+ "type": "boolean"
3551
+ },
3552
+ {
3553
+ "name": "label",
3554
+ "description": "Text to be rendered inside the component.",
3555
+ "type": "string"
3556
+ },
3557
+ {
3558
+ "name": "size",
3559
+ "description": "Specifies the size of the radiobutton\n\n- large\n- small",
3560
+ "type": "string",
3561
+ "values": [
3562
+ {
3563
+ "name": "large"
3564
+ },
3565
+ {
3566
+ "name": "small"
3567
+ }
3568
+ ]
3569
+ },
3570
+ {
3571
+ "name": "error",
3572
+ "description": "Specifies whether the radiobutton is in error state",
3573
+ "type": "boolean"
3574
+ },
3575
+ {
3576
+ "name": "id",
3577
+ "description": "Defines a unique identifier (ID) which must be unique in the whole document.\nIts purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).",
3578
+ "type": "string"
3579
+ },
3580
+ {
3581
+ "name": "disabled",
3582
+ "description": "Disables the radio button, disallowing user interaction.",
3583
+ "type": "boolean",
3584
+ "default": false
3585
+ },
3586
+ {
3587
+ "name": "value",
3588
+ "description": "The value of the radio button for form submission.",
3589
+ "type": "string"
3590
+ },
3591
+ {
3592
+ "name": "form",
3593
+ "description": "Associates the radio button with a form element by ID.",
3594
+ "type": "string"
3595
+ },
3596
+ {
3597
+ "name": "required",
3598
+ "description": "Whether the radio button is required.",
3599
+ "type": "boolean",
3600
+ "default": false
3601
+ },
3602
+ {
3603
+ "name": "readonly",
3604
+ "description": "Whether the radio button is readonly.",
3605
+ "type": "boolean",
3606
+ "default": false
3607
+ }
3608
+ ]
3609
+ },
3610
+ {
3611
+ "name": "rarui-select",
3612
+ "description": "## Rarui Select\n---\nSelect component for choosing options from a dropdown menu with support for single and multiple selection.\n\nFeatures:\n- **Single Selection**: Choose one option from the list\n- **Multiple Selection**: Choose multiple options with checkboxes\n- **Custom Content**: Support for slot-based custom content and filtering\n- **Accessibility**: Full keyboard navigation with ESC key support\n- **Controlled Behavior**: Uses internal web components (Dropdown, Checkbox, Text, Box, Chip, Icon)\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/select) for more details.",
3613
+ "attributes": [
3614
+ {
3615
+ "name": "open",
3616
+ "description": "If true, the Select component is shown.",
3617
+ "type": "boolean"
3618
+ },
3619
+ {
3620
+ "name": "disabled",
3621
+ "description": "Disables the select component, disallowing user interaction.",
3622
+ "type": "boolean",
3623
+ "default": false
3624
+ },
3625
+ {
3626
+ "name": "options",
3627
+ "description": "Options for the Select component. This should be an array of SelectOptionProps objects.\n\n(Required)",
3628
+ "type": "array"
3629
+ },
3630
+ {
3631
+ "name": "multiple",
3632
+ "description": "Enables multiple selection mode.",
3086
3633
  "type": "boolean",
3087
3634
  "default": false
3088
3635
  },
3089
3636
  {
3090
3637
  "name": "size",
3091
- "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small\n\n@default medium",
3638
+ "description": "Specifies the size of the badge, controlling its dimensions.\n\n- large\n- medium\n- small",
3092
3639
  "type": "string",
3093
3640
  "values": [
3094
3641
  {
3095
3642
  "name": "large"
3096
3643
  },
3097
3644
  {
3098
- "name": "medium",
3099
- "description": "(default)"
3645
+ "name": "medium"
3100
3646
  },
3101
3647
  {
3102
3648
  "name": "small"
3103
3649
  }
3104
- ],
3105
- "default": "medium"
3106
- },
3107
- {
3108
- "name": "border",
3109
- "description": "Determines if the input have borders or not.\n\n@default true",
3110
- "type": "boolean",
3111
- "default": true
3650
+ ]
3112
3651
  },
3113
3652
  {
3114
3653
  "name": "appearance",
@@ -3124,117 +3663,156 @@
3124
3663
  ]
3125
3664
  },
3126
3665
  {
3127
- "name": "divider",
3128
- "description": "Places a divider between the input and the leading components\n\n@default true",
3129
- "type": "boolean",
3130
- "default": true
3131
- }
3132
- ]
3133
- },
3134
- {
3135
- "name": "rarui-input-search",
3136
- "attributes": [
3666
+ "name": "max-height",
3667
+ "description": "The **`max-height`** CSS property sets the maximum height of an element. It prevents the used value of the `height` property from becoming larger than the value specified for `max-height`. It is also possible to pass a specific value.\n\n\n**Initial value**: `none`\n\nThis property supports responsive values. You can pass a single value like `\"fit-content\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"fit-content\",\n \"md\": \"intrinsic\",\n \"lg\": \"max-content\",\n \"xl\": \"min-content\"\n}\n```\n\n- fit-content\n- intrinsic\n- max-content\n- min-content\n- none\n- stretch",
3668
+ "values": [
3669
+ {
3670
+ "name": "fit-content"
3671
+ },
3672
+ {
3673
+ "name": "intrinsic"
3674
+ },
3675
+ {
3676
+ "name": "max-content"
3677
+ },
3678
+ {
3679
+ "name": "min-content"
3680
+ },
3681
+ {
3682
+ "name": "none"
3683
+ },
3684
+ {
3685
+ "name": "stretch"
3686
+ }
3687
+ ]
3688
+ },
3689
+ {
3690
+ "name": "z-index",
3691
+ "description": "The zIndex property specifies the stack order of the box.\n\nThis property supports responsive values. You can pass a single value like `\"$100\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"$100\",\n \"md\": \"$200\",\n \"lg\": \"$300\",\n \"xl\": \"$400\"\n}\n```\n\n- $100\n- $200\n- $300\n- $400\n- $500\n- $600\n- $700\n- $800\n- $900",
3692
+ "values": [
3693
+ {
3694
+ "name": "$100"
3695
+ },
3696
+ {
3697
+ "name": "$200"
3698
+ },
3699
+ {
3700
+ "name": "$300"
3701
+ },
3702
+ {
3703
+ "name": "$400"
3704
+ },
3705
+ {
3706
+ "name": "$500"
3707
+ },
3708
+ {
3709
+ "name": "$600"
3710
+ },
3711
+ {
3712
+ "name": "$700"
3713
+ },
3714
+ {
3715
+ "name": "$800"
3716
+ },
3717
+ {
3718
+ "name": "$900"
3719
+ }
3720
+ ]
3721
+ },
3137
3722
  {
3138
3723
  "name": "value",
3139
- "description": "The value of the search input element.",
3140
- "type": "string"
3724
+ "description": "Default selected values for the Select component.\nThis should be an array of SelectOptionProps objects representing the selected options.",
3725
+ "values": []
3726
+ },
3727
+ {
3728
+ "name": "default-value",
3729
+ "description": "Specifies the default selected value(s) for the select box.\nThis can be a selectOption for single selection or an array of selectOption for multiple selections.",
3730
+ "values": []
3141
3731
  },
3142
3732
  {
3143
3733
  "name": "placeholder",
3144
- "description": "Placeholder text for the search input element.",
3734
+ "description": "Placeholder text displayed when no option is selected.",
3145
3735
  "type": "string"
3146
3736
  },
3147
3737
  {
3148
- "name": "disabled",
3149
- "description": "Whether the input is disabled.",
3738
+ "name": "enabled-flip",
3739
+ "description": "Determines whether the select box should enable flipping the options' dropdown when there is not enough space to display it in its default direction.\nThis can help ensure the dropdown is always visible on the screen.\n\n@default true",
3150
3740
  "type": "boolean",
3151
- "default": false
3741
+ "default": true
3152
3742
  },
3153
3743
  {
3154
- "name": "size",
3155
- "description": "Specifies the size of the input, controlling its dimensions.\n\n- large\n- medium\n- small\n\n@default medium",
3744
+ "name": "position",
3745
+ "description": "Position of the dropdown relative to the trigger.\n\n- bottom\n- bottom-end\n- bottom-start\n- left\n- left-end\n- left-start\n- right\n- right-end\n- right-start\n- top\n- top-end\n- top-start\n\n@default bottom-start",
3156
3746
  "type": "string",
3157
3747
  "values": [
3158
3748
  {
3159
- "name": "large"
3749
+ "name": "bottom"
3160
3750
  },
3161
3751
  {
3162
- "name": "medium",
3752
+ "name": "bottom-end"
3753
+ },
3754
+ {
3755
+ "name": "bottom-start",
3163
3756
  "description": "(default)"
3164
3757
  },
3165
3758
  {
3166
- "name": "small"
3167
- }
3168
- ],
3169
- "default": "medium"
3170
- },
3171
- {
3172
- "name": "border",
3173
- "description": "Determines if the input have borders or not.\n\n@default true",
3174
- "type": "boolean",
3175
- "default": true
3176
- },
3177
- {
3178
- "name": "appearance",
3179
- "description": "Determines the visual style of the input, affecting its border\n\n- error\n- success",
3180
- "type": "string",
3181
- "values": [
3759
+ "name": "left"
3760
+ },
3182
3761
  {
3183
- "name": "error"
3762
+ "name": "left-end"
3184
3763
  },
3185
3764
  {
3186
- "name": "success"
3765
+ "name": "left-start"
3766
+ },
3767
+ {
3768
+ "name": "right"
3769
+ },
3770
+ {
3771
+ "name": "right-end"
3772
+ },
3773
+ {
3774
+ "name": "right-start"
3775
+ },
3776
+ {
3777
+ "name": "top"
3778
+ },
3779
+ {
3780
+ "name": "top-end"
3781
+ },
3782
+ {
3783
+ "name": "top-start"
3187
3784
  }
3188
- ]
3189
- },
3190
- {
3191
- "name": "divider",
3192
- "description": "Places a divider between the input and the leading components\n\n@default true",
3193
- "type": "boolean",
3194
- "default": true
3195
- }
3196
- ]
3197
- },
3198
- {
3199
- "name": "rarui-radio-button",
3200
- "description": "## Rarui Radio Button\n---\nRadio Button allows users to select one option from a set. They are a selection control that usually appears when users are asked to make decisions or select an option from a set of choices.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/radiobutton) for more details.",
3201
- "attributes": [
3202
- {
3203
- "name": "selected",
3204
- "description": "Sets radio state to activated or deactivated.",
3205
- "type": "boolean"
3206
- },
3207
- {
3208
- "name": "label",
3209
- "description": "Text to be rendered inside the component.",
3210
- "type": "string"
3785
+ ],
3786
+ "default": "bottom-start"
3211
3787
  },
3212
3788
  {
3213
- "name": "size",
3214
- "description": "Specifies the size of the radiobutton\n\n- large\n- small",
3789
+ "name": "strategy",
3790
+ "description": "CSS positioning strategy used for the dropdown.\n\n- `\"fixed\"` (default) positions the dropdown relative to the viewport,\n so it stays in the same place even when the page is scrolled.\n- `\"absolute\"` positions the dropdown relative to the nearest positioned ancestor,\n which can be useful when you want the dropdown to move with page content.\n\nUse `\"fixed\"` for dropdowns that should remain visible on scroll,\nand `\"absolute\"` when dropdowns need to be positioned within scrollable containers.\n\n- absolute\n- fixed\n\n@default fixed",
3215
3791
  "type": "string",
3216
3792
  "values": [
3217
3793
  {
3218
- "name": "large"
3794
+ "name": "absolute"
3219
3795
  },
3220
3796
  {
3221
- "name": "small"
3797
+ "name": "fixed",
3798
+ "description": "(default)"
3222
3799
  }
3223
- ]
3800
+ ],
3801
+ "default": "fixed"
3224
3802
  },
3225
3803
  {
3226
- "name": "error",
3227
- "description": "Specifies whether the radiobutton is in error state",
3228
- "type": "boolean"
3804
+ "name": "name",
3805
+ "description": "The name of the select for form submission.",
3806
+ "type": "string"
3229
3807
  },
3230
3808
  {
3231
- "name": "id",
3232
- "description": "Defines a unique identifier (ID) which must be unique in the whole document.\nIts purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).",
3809
+ "name": "form",
3810
+ "description": "Associates the select with a form element by ID.",
3233
3811
  "type": "string"
3234
3812
  },
3235
3813
  {
3236
- "name": "disabled",
3237
- "description": "Disables the radio button, disallowing user interaction.",
3814
+ "name": "required",
3815
+ "description": "Whether the select is required for form validation.",
3238
3816
  "type": "boolean",
3239
3817
  "default": false
3240
3818
  }
@@ -3242,7 +3820,7 @@
3242
3820
  },
3243
3821
  {
3244
3822
  "name": "rarui-textarea",
3245
- "description": "## Rarui Radio Button\n---\nExpanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/textarea) for more details.",
3823
+ "description": "## Rarui Textarea\n---\nExpanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/textarea) for more details.",
3246
3824
  "attributes": [
3247
3825
  {
3248
3826
  "name": "lines",
@@ -3268,6 +3846,43 @@
3268
3846
  "description": "Disables the Textarea, disallowing user interaction.",
3269
3847
  "type": "boolean",
3270
3848
  "default": false
3849
+ },
3850
+ {
3851
+ "name": "name",
3852
+ "description": "The name of the textarea for form submission.",
3853
+ "type": "string"
3854
+ },
3855
+ {
3856
+ "name": "form",
3857
+ "description": "Associates the textarea with a form element by ID.",
3858
+ "type": "string"
3859
+ },
3860
+ {
3861
+ "name": "required",
3862
+ "description": "Whether the textarea is required for form validation.",
3863
+ "type": "boolean",
3864
+ "default": false
3865
+ },
3866
+ {
3867
+ "name": "readonly",
3868
+ "description": "Whether the textarea is readonly.",
3869
+ "type": "boolean",
3870
+ "default": false
3871
+ },
3872
+ {
3873
+ "name": "placeholder",
3874
+ "description": "Placeholder text to display when the textarea is empty.",
3875
+ "type": "string"
3876
+ },
3877
+ {
3878
+ "name": "minlength",
3879
+ "description": "Minimum number of characters required.",
3880
+ "type": "number"
3881
+ },
3882
+ {
3883
+ "name": "maxlength",
3884
+ "description": "Maximum number of characters allowed.",
3885
+ "type": "number"
3271
3886
  }
3272
3887
  ]
3273
3888
  },
@@ -3321,6 +3936,22 @@
3321
3936
  "name": "id",
3322
3937
  "description": "Single ID associated with Toggle Input.If not provided,\nThe name will be used as Fallback to `id`.",
3323
3938
  "type": "string"
3939
+ },
3940
+ {
3941
+ "name": "value",
3942
+ "description": "The value of the toggle for form submission.",
3943
+ "type": "string"
3944
+ },
3945
+ {
3946
+ "name": "form",
3947
+ "description": "Associates the toggle with a form element by ID.",
3948
+ "type": "string"
3949
+ },
3950
+ {
3951
+ "name": "required",
3952
+ "description": "Whether the toggle is required for form validation.",
3953
+ "type": "boolean",
3954
+ "default": false
3324
3955
  }
3325
3956
  ]
3326
3957
  },
@@ -7517,9 +8148,8 @@
7517
8148
  "attributes": [
7518
8149
  {
7519
8150
  "name": "open",
7520
- "description": "Determines if the sidebar is shown or not.\n\n@default true",
7521
- "type": "boolean",
7522
- "default": true
8151
+ "description": "Determines if the sidebar is shown or not.",
8152
+ "type": "boolean"
7523
8153
  },
7524
8154
  {
7525
8155
  "name": "portal-id",
@@ -7744,6 +8374,47 @@
7744
8374
  "name": "href",
7745
8375
  "description": "Defines the destination URL of the link.\n\n** IMPORTANT: ** should only be used when `as=\"a\"`.",
7746
8376
  "type": "string"
8377
+ },
8378
+ {
8379
+ "name": "target",
8380
+ "description": "Defines the target attribute for links.\n\n- _blank\n- _parent\n- _self\n- _top\n\n@default \"_blank\" for external links, undefined for internal",
8381
+ "type": "string",
8382
+ "values": [
8383
+ {
8384
+ "name": "_blank"
8385
+ },
8386
+ {
8387
+ "name": "_parent"
8388
+ },
8389
+ {
8390
+ "name": "_self"
8391
+ },
8392
+ {
8393
+ "name": "_top"
8394
+ }
8395
+ ],
8396
+ "default": "\"_blank\" for external links, undefined for internal"
8397
+ },
8398
+ {
8399
+ "name": "rel",
8400
+ "description": "Defines the rel attribute for links.\n\n@default \"noopener noreferrer\" for external links with target=\"_blank\"",
8401
+ "type": "string",
8402
+ "default": "\"noopener noreferrer\" for external links with target=\"_blank\""
8403
+ },
8404
+ {
8405
+ "name": "name",
8406
+ "description": "The name of the button for form submission.\n** IMPORTANT: ** should only be used when `as=\"button\"`.",
8407
+ "type": "string"
8408
+ },
8409
+ {
8410
+ "name": "value",
8411
+ "description": "The value of the button for form submission.\n** IMPORTANT: ** should only be used when `as=\"button\"`.",
8412
+ "type": "string"
8413
+ },
8414
+ {
8415
+ "name": "form",
8416
+ "description": "Associates the button with a form element by ID.\n** IMPORTANT: ** should only be used when `as=\"button\"`.",
8417
+ "type": "string"
7747
8418
  }
7748
8419
  ]
7749
8420
  },