@rarui/components 1.24.0 → 1.24.2-rc.1

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.
Files changed (73) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/custom-elements.json +194 -59
  3. package/dist/index.d.ts +82 -56
  4. package/dist/index.js +97 -87
  5. package/package.json +6 -6
  6. package/src/exhibition/Avatar/CHANGELOG.md +32 -0
  7. package/src/exhibition/Avatar/README.md +15 -0
  8. package/src/exhibition/Badge/CHANGELOG.md +32 -0
  9. package/src/exhibition/Badge/README.md +15 -0
  10. package/src/exhibition/Divider/CHANGELOG.md +26 -0
  11. package/src/exhibition/Divider/README.md +15 -0
  12. package/src/exhibition/Icon/CHANGELOG.md +32 -0
  13. package/src/exhibition/Icon/README.md +15 -0
  14. package/src/exhibition/Label/CHANGELOG.md +38 -0
  15. package/src/exhibition/Label/README.md +15 -0
  16. package/src/exhibition/Stepper/CHANGELOG.md +31 -0
  17. package/src/exhibition/Stepper/README.md +15 -0
  18. package/src/exhibition/Text/CHANGELOG.md +39 -0
  19. package/src/exhibition/Text/README.md +15 -0
  20. package/src/exhibition/Title/CHANGELOG.md +39 -0
  21. package/src/exhibition/Title/README.md +15 -0
  22. package/src/exhibition/Tooltip/CHANGELOG.md +26 -0
  23. package/src/exhibition/Tooltip/README.md +15 -0
  24. package/src/feedback/Progress/CHANGELOG.md +28 -0
  25. package/src/feedback/Progress/README.md +15 -0
  26. package/src/feedback/Skeleton/CHANGELOG.md +26 -0
  27. package/src/feedback/Skeleton/README.md +15 -0
  28. package/src/feedback/Status/CHANGELOG.md +26 -0
  29. package/src/feedback/Status/README.md +15 -0
  30. package/src/input/Button/CHANGELOG.md +59 -0
  31. package/src/input/Button/README.md +15 -0
  32. package/src/input/Checkbox/CHANGELOG.md +45 -0
  33. package/src/input/Checkbox/README.md +15 -0
  34. package/src/input/Chip/CHANGELOG.md +43 -0
  35. package/src/input/Chip/README.md +15 -0
  36. package/src/input/Dropdown/CHANGELOG.md +41 -0
  37. package/src/input/Dropdown/README.md +15 -0
  38. package/src/input/IconButton/CHANGELOG.md +28 -0
  39. package/src/input/IconButton/README.md +15 -0
  40. package/src/input/Input/CHANGELOG.md +46 -0
  41. package/src/input/Input/README.md +44 -0
  42. package/src/input/RadioButton/CHANGELOG.md +28 -0
  43. package/src/input/RadioButton/README.md +15 -0
  44. package/src/input/Select/CHANGELOG.md +43 -0
  45. package/src/input/Select/README.md +13 -0
  46. package/src/input/Textarea/CHANGELOG.md +38 -0
  47. package/src/input/Textarea/README.md +15 -0
  48. package/src/input/Toggle/CHANGELOG.md +28 -0
  49. package/src/input/Toggle/README.md +15 -0
  50. package/src/layout/Box/CHANGELOG.md +50 -0
  51. package/src/layout/Box/README.md +15 -0
  52. package/src/layout/Sidebar/CHANGELOG.md +28 -0
  53. package/src/layout/Sidebar/README.md +109 -0
  54. package/src/navigation/Breadcrumb/CHANGELOG.md +26 -0
  55. package/src/navigation/Breadcrumb/README.md +56 -0
  56. package/src/navigation/Link/CHANGELOG.md +28 -0
  57. package/src/navigation/Link/README.md +15 -0
  58. package/src/navigation/Pagination/CHANGELOG.md +28 -0
  59. package/src/navigation/Pagination/README.md +15 -0
  60. package/src/navigation/SideNavigation/CHANGELOG.md +33 -0
  61. package/src/navigation/SideNavigation/README.md +87 -0
  62. package/src/navigation/Tabs/CHANGELOG.md +40 -0
  63. package/src/navigation/Tabs/README.md +9 -0
  64. package/src/stylization/ThemeProvider/CHANGELOG.md +32 -0
  65. package/src/stylization/ThemeProvider/README.md +56 -0
  66. package/src/surface/Accordion/CHANGELOG.md +28 -0
  67. package/src/surface/Accordion/README.md +93 -0
  68. package/src/surface/Banner/CHANGELOG.md +26 -0
  69. package/src/surface/Banner/README.md +15 -0
  70. package/src/surface/Card/CHANGELOG.md +29 -0
  71. package/src/surface/Card/README.md +15 -0
  72. package/src/surface/Modal/CHANGELOG.md +30 -0
  73. package/src/surface/Modal/README.md +15 -0
package/CHANGELOG.md CHANGED
@@ -2,6 +2,25 @@
2
2
 
3
3
  `@rarui/components` components is a component library built with [Lit](https://lit.dev/).
4
4
 
5
+ ## 2025-09-18 `1.25.0`
6
+
7
+ #### 🎉 New features
8
+
9
+ - Enhanced form integration across all input components with native HTML form association using ElementInternals API for seamless form submission, validation, and reset capabilities. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
10
+ - Standardized custom event naming convention with `rarui-*` pattern across all components (Button, Checkbox, Input, Select, Textarea, Chip) for consistent event handling and better namespace organization. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
11
+ - Implemented comprehensive label integration system with automatic focus management through `rarui-label-click` communication pattern for seamless label-to-control association. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
12
+ - Enhanced Button component with intelligent form interaction (automatic submit/reset based on type) and standardized custom event `rarui-button-click` for consistent interaction handling. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
13
+ - Enhanced Label component with proper HTML semantics (standardized `for` attribute replacing `htmlFor`) and automatic form control association through custom event system. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
14
+
15
+ #### 🛠 Breaking changes
16
+
17
+ - Changed Label component `htmlFor` property to `for` for standard HTML label attribute compliance. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
18
+ - Updated custom event names across all components: `input-change` → `rarui-input-change`, `select-change` → `rarui-select-change`, `textarea-change` → `rarui-textarea-change`, `change` → `rarui-checkbox-change`, `chip-click` → `rarui-chip-click`, `chip-close` → `rarui-chip-close`. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
19
+
20
+ #### 💡 Others
21
+
22
+ - Enhanced Chip component type definitions with comprehensive event documentation for better developer experience. ([#135](https://git.rarolabs.com.br/frontend/rarui/-/merge_requests/135) by [@junior](https://git.rarolabs.com.br/junior))
23
+
5
24
  ## 2025-09-05 `1.24.0`
6
25
 
7
26
  #### 🎉 New features
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.23.0",
2
+ "version": "1.24.2-rc.1",
3
3
  "tags": [
4
4
  {
5
5
  "name": "rarui-avatar",
@@ -1355,17 +1355,12 @@
1355
1355
  },
1356
1356
  {
1357
1357
  "name": "rarui-label",
1358
+ "description": "## Rarui Label\n---\nThe label component allows us to name elements within a form.\n\nSee [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.",
1358
1359
  "attributes": [
1359
1360
  {
1360
- "name": "html-for",
1361
+ "name": "for",
1361
1362
  "description": "The for attribute specifies which form element a label is bound to.",
1362
1363
  "type": "string"
1363
- },
1364
- {
1365
- "name": "hidden",
1366
- "description": "Specifies whether the label is hidden or not",
1367
- "type": "boolean",
1368
- "default": false
1369
1364
  }
1370
1365
  ]
1371
1366
  },
@@ -2603,28 +2598,6 @@
2603
2598
  "name": "rarui-checkbox",
2604
2599
  "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.",
2605
2600
  "attributes": [
2606
- {
2607
- "name": "label",
2608
- "description": "The label of the checkbox.",
2609
- "type": "string"
2610
- },
2611
- {
2612
- "name": "id",
2613
- "description": "The id of the checkbox.\n\n(Required)",
2614
- "type": "string"
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
- },
2628
2601
  {
2629
2602
  "name": "error",
2630
2603
  "description": "Specifies whether the checkbox is in error state",
@@ -2648,6 +2621,18 @@
2648
2621
  "description": "Specifies whether the checkbox is indeterminate state",
2649
2622
  "type": "boolean"
2650
2623
  },
2624
+ {
2625
+ "name": "checked",
2626
+ "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)",
2627
+ "type": "boolean",
2628
+ "default": "undefined (native mode)"
2629
+ },
2630
+ {
2631
+ "name": "readonly",
2632
+ "description": "Makes the checkbox read-only, preventing user interaction.\nWhen true, the checkbox displays its current state but cannot be changed by clicking.",
2633
+ "type": "boolean",
2634
+ "default": false
2635
+ },
2651
2636
  {
2652
2637
  "name": "name",
2653
2638
  "description": "The name of the checkbox for form submission.",
@@ -2875,12 +2860,9 @@
2875
2860
  ]
2876
2861
  },
2877
2862
  {
2878
- "name": "width",
2879
- "description": "The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. It is also possible to pass a specific value.\n\n\n**Initial value**: `auto`\n\nThis property supports responsive values. You can pass a single value like `\"auto\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"auto\",\n \"md\": \"fit-content\",\n \"lg\": \"intrinsic\",\n \"xl\": \"max-content\"\n}\n```\n\n- auto\n- fit-content\n- intrinsic\n- max-content\n- min-content\n- min-intrinsic\n- stretch",
2863
+ "name": "max-width",
2864
+ "description": "The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. 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",
2880
2865
  "values": [
2881
- {
2882
- "name": "auto"
2883
- },
2884
2866
  {
2885
2867
  "name": "fit-content"
2886
2868
  },
@@ -2894,7 +2876,7 @@
2894
2876
  "name": "min-content"
2895
2877
  },
2896
2878
  {
2897
- "name": "min-intrinsic"
2879
+ "name": "none"
2898
2880
  },
2899
2881
  {
2900
2882
  "name": "stretch"
@@ -2902,9 +2884,12 @@
2902
2884
  ]
2903
2885
  },
2904
2886
  {
2905
- "name": "max-width",
2906
- "description": "The **`max-width`** CSS property sets the maximum width of an element. It prevents the used value of the `width` property from becoming larger than the value specified by `max-width`. 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",
2887
+ "name": "width",
2888
+ "description": "The **`width`** CSS property sets an element's width. By default, it sets the width of the content area, but if `box-sizing` is set to `border-box`, it sets the width of the border area. It is also possible to pass a specific value.\n\n\n**Initial value**: `auto`\n\nThis property supports responsive values. You can pass a single value like `\"auto\"`.\n\n Or an object like:\n \n ```\n{\n \"xs\": \"auto\",\n \"md\": \"fit-content\",\n \"lg\": \"intrinsic\",\n \"xl\": \"max-content\"\n}\n```\n\n- auto\n- fit-content\n- intrinsic\n- max-content\n- min-content\n- min-intrinsic\n- stretch",
2907
2889
  "values": [
2890
+ {
2891
+ "name": "auto"
2892
+ },
2908
2893
  {
2909
2894
  "name": "fit-content"
2910
2895
  },
@@ -2918,7 +2903,7 @@
2918
2903
  "name": "min-content"
2919
2904
  },
2920
2905
  {
2921
- "name": "none"
2906
+ "name": "min-intrinsic"
2922
2907
  },
2923
2908
  {
2924
2909
  "name": "stretch"
@@ -3291,7 +3276,12 @@
3291
3276
  },
3292
3277
  {
3293
3278
  "name": "name",
3294
- "description": "The name of the input for form submission.",
3279
+ "description": "The name of the input for form submission.\n\n(Required)",
3280
+ "type": "string"
3281
+ },
3282
+ {
3283
+ "name": "id",
3284
+ "description": "The id of the input for form submission.\n\n(Required)",
3295
3285
  "type": "string"
3296
3286
  },
3297
3287
  {
@@ -3431,6 +3421,11 @@
3431
3421
  "description": "Places a divider between the input and the leading components\n\n@default true",
3432
3422
  "type": "boolean",
3433
3423
  "default": true
3424
+ },
3425
+ {
3426
+ "name": "id",
3427
+ "description": "The id of the input for form submission.\n\n(Required)",
3428
+ "type": "string"
3434
3429
  }
3435
3430
  ]
3436
3431
  },
@@ -3537,6 +3532,11 @@
3537
3532
  "description": "Places a divider between the input and the leading components\n\n@default true",
3538
3533
  "type": "boolean",
3539
3534
  "default": true
3535
+ },
3536
+ {
3537
+ "name": "id",
3538
+ "description": "The id of the input for form submission.\n\n(Required)",
3539
+ "type": "string"
3540
3540
  }
3541
3541
  ]
3542
3542
  },
@@ -3622,11 +3622,6 @@
3622
3622
  "type": "boolean",
3623
3623
  "default": false
3624
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
3625
  {
3631
3626
  "name": "multiple",
3632
3627
  "description": "Enables multiple selection mode.",
@@ -3719,15 +3714,21 @@
3719
3714
  }
3720
3715
  ]
3721
3716
  },
3717
+ {
3718
+ "name": "options",
3719
+ "description": "Options for the Select component. This should be an array of SelectOptionProps objects.\n\n(Required)",
3720
+ "type": "array"
3721
+ },
3722
3722
  {
3723
3723
  "name": "value",
3724
3724
  "description": "Default selected values for the Select component.\nThis should be an array of SelectOptionProps objects representing the selected options.",
3725
3725
  "values": []
3726
3726
  },
3727
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": []
3728
+ "name": "enabled-flip",
3729
+ "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",
3730
+ "type": "boolean",
3731
+ "default": true
3731
3732
  },
3732
3733
  {
3733
3734
  "name": "placeholder",
@@ -3735,10 +3736,9 @@
3735
3736
  "type": "string"
3736
3737
  },
3737
3738
  {
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",
3740
- "type": "boolean",
3741
- "default": true
3739
+ "name": "default-value",
3740
+ "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.",
3741
+ "values": []
3742
3742
  },
3743
3743
  {
3744
3744
  "name": "position",
@@ -7798,7 +7798,7 @@
7798
7798
  },
7799
7799
  {
7800
7800
  "name": "as",
7801
- "description": "Changes the rendered element.\n\n- a\n- abbr\n- address\n- area\n- article\n- aside\n- audio\n- b\n- base\n- bdi\n- bdo\n- blockquote\n- body\n- br\n- button\n- canvas\n- caption\n- cite\n- code\n- col\n- colgroup\n- data\n- datalist\n- dd\n- del\n- details\n- dfn\n- dialog\n- div\n- dl\n- dt\n- em\n- embed\n- fieldset\n- figcaption\n- figure\n- footer\n- form\n- h1\n- h2\n- h3\n- h4\n- h5\n- h6\n- head\n- header\n- hgroup\n- hr\n- html\n- i\n- iframe\n- img\n- input\n- ins\n- kbd\n- label\n- legend\n- li\n- link\n- main\n- map\n- mark\n- menu\n- meta\n- meter\n- nav\n- noscript\n- object\n- ol\n- optgroup\n- option\n- output\n- p\n- picture\n- pre\n- progress\n- q\n- rarui-box\n- rp\n- rt\n- ruby\n- s\n- samp\n- script\n- section\n- select\n- slot\n- small\n- source\n- span\n- strong\n- style\n- sub\n- summary\n- sup\n- table\n- tbody\n- td\n- template\n- textarea\n- tfoot\n- th\n- thead\n- time\n- title\n- tr\n- track\n- u\n- ul\n- var\n- video\n- wbr\n\n@default div",
7801
+ "description": "Changes the rendered element.\n\n- a\n- abbr\n- address\n- area\n- article\n- aside\n- audio\n- b\n- base\n- bdi\n- bdo\n- blockquote\n- body\n- br\n- button\n- canvas\n- caption\n- cite\n- code\n- col\n- colgroup\n- data\n- datalist\n- dd\n- del\n- details\n- dfn\n- dialog\n- div\n- dl\n- dt\n- em\n- embed\n- fieldset\n- figcaption\n- figure\n- footer\n- form\n- h1\n- h2\n- h3\n- h4\n- h5\n- h6\n- head\n- header\n- hgroup\n- hr\n- html\n- i\n- iframe\n- img\n- input\n- ins\n- kbd\n- label\n- legend\n- li\n- link\n- main\n- map\n- mark\n- menu\n- meta\n- meter\n- nav\n- noscript\n- object\n- ol\n- optgroup\n- option\n- output\n- p\n- picture\n- pre\n- progress\n- q\n- rarui-accordion\n- rarui-accordion-body\n- rarui-accordion-header\n- rarui-accordion-item\n- rarui-avatar\n- rarui-badge\n- rarui-banner\n- rarui-box\n- rarui-breadcrumb\n- rarui-breadcrumb-item\n- rarui-button\n- rarui-card\n- rarui-card-body\n- rarui-card-header\n- rarui-checkbox\n- rarui-chip\n- rarui-divider\n- rarui-dropdown\n- rarui-dropdown-item\n- rarui-icon\n- rarui-icon-button\n- rarui-input\n- rarui-label\n- rarui-link\n- rarui-modal\n- rarui-modal-footer\n- rarui-modal-header\n- rarui-pagination\n- rarui-progress\n- rarui-progress-circle\n- rarui-radio-button\n- rarui-select\n- rarui-side-navigation\n- rarui-side-navigation-item\n- rarui-sidebar\n- rarui-skeleton\n- rarui-status\n- rarui-stepper\n- rarui-stepper-step\n- rarui-tabs\n- rarui-text\n- rarui-textarea\n- rarui-theme-provider\n- rarui-title\n- rarui-toggle\n- rarui-tooltip\n- rp\n- rt\n- ruby\n- s\n- samp\n- script\n- section\n- select\n- slot\n- small\n- source\n- span\n- strong\n- style\n- sub\n- summary\n- sup\n- table\n- tbody\n- td\n- template\n- textarea\n- tfoot\n- th\n- thead\n- time\n- title\n- tr\n- track\n- u\n- ul\n- var\n- video\n- wbr\n\n@default div",
7802
7802
  "type": "string",
7803
7803
  "values": [
7804
7804
  {
@@ -8033,9 +8033,144 @@
8033
8033
  {
8034
8034
  "name": "q"
8035
8035
  },
8036
+ {
8037
+ "name": "rarui-accordion"
8038
+ },
8039
+ {
8040
+ "name": "rarui-accordion-body"
8041
+ },
8042
+ {
8043
+ "name": "rarui-accordion-header"
8044
+ },
8045
+ {
8046
+ "name": "rarui-accordion-item"
8047
+ },
8048
+ {
8049
+ "name": "rarui-avatar"
8050
+ },
8051
+ {
8052
+ "name": "rarui-badge"
8053
+ },
8054
+ {
8055
+ "name": "rarui-banner"
8056
+ },
8036
8057
  {
8037
8058
  "name": "rarui-box"
8038
8059
  },
8060
+ {
8061
+ "name": "rarui-breadcrumb"
8062
+ },
8063
+ {
8064
+ "name": "rarui-breadcrumb-item"
8065
+ },
8066
+ {
8067
+ "name": "rarui-button"
8068
+ },
8069
+ {
8070
+ "name": "rarui-card"
8071
+ },
8072
+ {
8073
+ "name": "rarui-card-body"
8074
+ },
8075
+ {
8076
+ "name": "rarui-card-header"
8077
+ },
8078
+ {
8079
+ "name": "rarui-checkbox"
8080
+ },
8081
+ {
8082
+ "name": "rarui-chip"
8083
+ },
8084
+ {
8085
+ "name": "rarui-divider"
8086
+ },
8087
+ {
8088
+ "name": "rarui-dropdown"
8089
+ },
8090
+ {
8091
+ "name": "rarui-dropdown-item"
8092
+ },
8093
+ {
8094
+ "name": "rarui-icon"
8095
+ },
8096
+ {
8097
+ "name": "rarui-icon-button"
8098
+ },
8099
+ {
8100
+ "name": "rarui-input"
8101
+ },
8102
+ {
8103
+ "name": "rarui-label"
8104
+ },
8105
+ {
8106
+ "name": "rarui-link"
8107
+ },
8108
+ {
8109
+ "name": "rarui-modal"
8110
+ },
8111
+ {
8112
+ "name": "rarui-modal-footer"
8113
+ },
8114
+ {
8115
+ "name": "rarui-modal-header"
8116
+ },
8117
+ {
8118
+ "name": "rarui-pagination"
8119
+ },
8120
+ {
8121
+ "name": "rarui-progress"
8122
+ },
8123
+ {
8124
+ "name": "rarui-progress-circle"
8125
+ },
8126
+ {
8127
+ "name": "rarui-radio-button"
8128
+ },
8129
+ {
8130
+ "name": "rarui-select"
8131
+ },
8132
+ {
8133
+ "name": "rarui-side-navigation"
8134
+ },
8135
+ {
8136
+ "name": "rarui-side-navigation-item"
8137
+ },
8138
+ {
8139
+ "name": "rarui-sidebar"
8140
+ },
8141
+ {
8142
+ "name": "rarui-skeleton"
8143
+ },
8144
+ {
8145
+ "name": "rarui-status"
8146
+ },
8147
+ {
8148
+ "name": "rarui-stepper"
8149
+ },
8150
+ {
8151
+ "name": "rarui-stepper-step"
8152
+ },
8153
+ {
8154
+ "name": "rarui-tabs"
8155
+ },
8156
+ {
8157
+ "name": "rarui-text"
8158
+ },
8159
+ {
8160
+ "name": "rarui-textarea"
8161
+ },
8162
+ {
8163
+ "name": "rarui-theme-provider"
8164
+ },
8165
+ {
8166
+ "name": "rarui-title"
8167
+ },
8168
+ {
8169
+ "name": "rarui-toggle"
8170
+ },
8171
+ {
8172
+ "name": "rarui-tooltip"
8173
+ },
8039
8174
  {
8040
8175
  "name": "rp"
8041
8176
  },
@@ -8483,13 +8618,13 @@
8483
8618
  "type": "number",
8484
8619
  "values": [
8485
8620
  {
8486
- "name": 0
8621
+ "name": "0"
8487
8622
  },
8488
8623
  {
8489
- "name": 1
8624
+ "name": "1"
8490
8625
  },
8491
8626
  {
8492
- "name": 2
8627
+ "name": "2"
8493
8628
  }
8494
8629
  ]
8495
8630
  },
@@ -8536,13 +8671,13 @@
8536
8671
  "type": "number",
8537
8672
  "values": [
8538
8673
  {
8539
- "name": 0
8674
+ "name": "0"
8540
8675
  },
8541
8676
  {
8542
- "name": 1
8677
+ "name": "1"
8543
8678
  },
8544
8679
  {
8545
- "name": 2
8680
+ "name": "2"
8546
8681
  }
8547
8682
  ]
8548
8683
  },
package/dist/index.d.ts CHANGED
@@ -16928,29 +16928,6 @@ declare const styles$6: {
16928
16928
 
16929
16929
  type InputVariants = NonNullable<RecipeVariants<typeof styles$6.container> & RecipeVariants<typeof styles$6.input>>;
16930
16930
 
16931
- declare const styles$5: {
16932
- label: RuntimeFn<{
16933
- /**
16934
- * Specifies whether the label is hidden or not
16935
- * @default false
16936
- */
16937
- hidden: {
16938
- true: {
16939
- border: "0";
16940
- clip: "rect(0 0 0 0)";
16941
- height: "1px";
16942
- margin: "-1px";
16943
- overflow: "hidden";
16944
- padding: "0";
16945
- position: "absolute";
16946
- width: "1px";
16947
- };
16948
- };
16949
- }>;
16950
- };
16951
-
16952
- type LabelVariants = RecipeVariants<typeof styles$5.label>;
16953
-
16954
16931
  declare const styles$4: {
16955
16932
  link: RuntimeFn<{
16956
16933
  /**
@@ -17894,14 +17871,6 @@ interface TextProps extends TextSprinkle {
17894
17871
  lineClamp?: number;
17895
17872
  }
17896
17873
 
17897
- interface LabelTyping {
17898
- /**
17899
- * The for attribute specifies which form element a label is bound to.
17900
- */
17901
- htmlFor?: string;
17902
- }
17903
- type LabelProps = LabelTyping & LabelVariants;
17904
-
17905
17874
  interface TooltipTyping {
17906
17875
  /**
17907
17876
  * Conditional for displaying the popover arrow.
@@ -18453,14 +18422,20 @@ declare global {
18453
18422
  *
18454
18423
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/label) for more details.
18455
18424
  */
18456
- type LabelManifestProperties = LabelProps;
18425
+ type LabelManifestProperties = {
18426
+ /**
18427
+ * The for attribute specifies which form element a label is bound to.
18428
+ */
18429
+ for?: string;
18430
+ };
18457
18431
  type LabelProperties = WebComponentProperties<LabelManifestProperties>;
18458
18432
 
18459
18433
  declare class RaruiLabel extends LitElement {
18460
- htmlFor: LabelProperties["html-for"];
18434
+ for: LabelProperties["for"];
18461
18435
  hidden: boolean;
18462
18436
  static styles: CSSResult;
18463
18437
  render(): TemplateResult<1>;
18438
+ private _handleClick;
18464
18439
  }
18465
18440
 
18466
18441
  declare global {
@@ -18770,6 +18745,7 @@ declare class RaruiButton extends LitElement {
18770
18745
  form: ButtonProperties["form"];
18771
18746
  static styles: CSSResult;
18772
18747
  render(): TemplateResult<1>;
18748
+ private _handleClick;
18773
18749
  }
18774
18750
 
18775
18751
  declare global {
@@ -18788,7 +18764,7 @@ declare global {
18788
18764
  *
18789
18765
  * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.
18790
18766
  */
18791
- type CheckboxManifestProperties = CheckboxProps & {
18767
+ type CheckboxManifestProperties = Pick<CheckboxProps, 'error' | 'size' | 'indeterminate'> & {
18792
18768
  /**
18793
18769
  * Controls the checked state of the checkbox.
18794
18770
  *
@@ -18839,13 +18815,22 @@ declare class RaruiCheckbox extends LitElement {
18839
18815
  value?: CheckboxProperties["value"];
18840
18816
  form?: CheckboxProperties["form"];
18841
18817
  private _hasCheckedAttribute;
18818
+ private _internals;
18842
18819
  private input;
18820
+ static formAssociated: boolean;
18821
+ constructor();
18843
18822
  static styles: CSSResult;
18844
18823
  connectedCallback(): void;
18824
+ disconnectedCallback(): void;
18845
18825
  attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
18846
18826
  updated(changedProperties: Map<string, any>): void;
18847
18827
  render(): TemplateResult<1>;
18848
18828
  private _onChange;
18829
+ private _updateFormValue;
18830
+ focus(): void;
18831
+ blur(): void;
18832
+ private _handleLabelClick;
18833
+ formResetCallback(): void;
18849
18834
  private getAriaCheckedValue;
18850
18835
  }
18851
18836
 
@@ -19122,7 +19107,11 @@ type InputManifestProperties = InputProps & {
19122
19107
  /**
19123
19108
  * The name of the input for form submission.
19124
19109
  */
19125
- name?: string;
19110
+ name: string;
19111
+ /**
19112
+ * The id of the input for form submission.
19113
+ */
19114
+ id: string;
19126
19115
  /**
19127
19116
  * Associates the input with a form element by ID.
19128
19117
  */
@@ -19158,7 +19147,9 @@ declare class RaruiInput extends LitElement {
19158
19147
  border: InputProperties["border"];
19159
19148
  divider: InputProperties["divider"];
19160
19149
  disabled: InputProperties["disabled"];
19161
- value: string;
19150
+ private _value;
19151
+ get value(): string;
19152
+ set value(val: string);
19162
19153
  placeholder?: string;
19163
19154
  type: InputProperties["type"];
19164
19155
  name: InputProperties["name"];
@@ -19168,10 +19159,19 @@ declare class RaruiInput extends LitElement {
19168
19159
  minlength: InputProperties["minlength"];
19169
19160
  maxlength: InputProperties["maxlength"];
19170
19161
  pattern: InputProperties["pattern"];
19162
+ private _internals;
19163
+ static formAssociated: boolean;
19164
+ constructor();
19165
+ connectedCallback(): void;
19166
+ disconnectedCallback(): void;
19171
19167
  static styles: CSSResult;
19172
19168
  render(): TemplateResult<1>;
19173
19169
  private _focusInput;
19174
19170
  private _onInput;
19171
+ focus(): void;
19172
+ blur(): void;
19173
+ private _handleLabelClick;
19174
+ formResetCallback(): void;
19175
19175
  }
19176
19176
 
19177
19177
  declare global {
@@ -19230,9 +19230,16 @@ declare class RaruiRadioButton extends LitElement {
19230
19230
  form: RadioButtonProperties["form"];
19231
19231
  required: RadioButtonProperties["required"];
19232
19232
  readonly: RadioButtonProperties["readonly"];
19233
+ private _internals;
19234
+ static formAssociated: boolean;
19235
+ constructor();
19233
19236
  static styles: CSSResult;
19234
19237
  render(): TemplateResult<1>;
19235
19238
  private _onChange;
19239
+ private _uncheckOtherRadioButtons;
19240
+ focus(): void;
19241
+ blur(): void;
19242
+ formResetCallback(): void;
19236
19243
  }
19237
19244
 
19238
19245
  declare global {
@@ -19294,7 +19301,12 @@ type TextareaProperties = WebComponentProperties<TextareaManifestProperties>;
19294
19301
 
19295
19302
  declare class RaruiTextarea extends LitElement {
19296
19303
  disabled: boolean;
19297
- value?: string;
19304
+ private _value;
19305
+ get value(): string;
19306
+ set value(val: string);
19307
+ private _internals;
19308
+ static formAssociated: boolean;
19309
+ constructor();
19298
19310
  appearance?: TextareaProperties["appearance"];
19299
19311
  lines?: TextareaProperties["lines"];
19300
19312
  name: TextareaProperties["name"];
@@ -19306,6 +19318,13 @@ declare class RaruiTextarea extends LitElement {
19306
19318
  maxlength: TextareaProperties["maxlength"];
19307
19319
  static styles: CSSResult;
19308
19320
  render(): TemplateResult<1>;
19321
+ connectedCallback(): void;
19322
+ disconnectedCallback(): void;
19323
+ private _onInput;
19324
+ focus(): void;
19325
+ blur(): void;
19326
+ private _handleLabelClick;
19327
+ formResetCallback(): void;
19309
19328
  }
19310
19329
 
19311
19330
  declare global {
@@ -19358,8 +19377,15 @@ declare class RaruiToggle extends LitElement {
19358
19377
  value: ToggleProperties["value"];
19359
19378
  form: ToggleProperties["form"];
19360
19379
  required: ToggleProperties["required"];
19380
+ private _internals;
19381
+ static formAssociated: boolean;
19382
+ constructor();
19361
19383
  static styles: CSSResult;
19362
19384
  render(): TemplateResult<1>;
19385
+ private _onChange;
19386
+ focus(): void;
19387
+ blur(): void;
19388
+ formResetCallback(): void;
19363
19389
  }
19364
19390
 
19365
19391
  declare global {
@@ -19674,6 +19700,25 @@ declare class RaruiSideNavigationItem extends LitElement {
19674
19700
  render(): TemplateResult<1>;
19675
19701
  }
19676
19702
 
19703
+ declare global {
19704
+ interface HTMLElementTagNameMap {
19705
+ "rarui-theme-provider": RaruiThemeProvider;
19706
+ }
19707
+ }
19708
+ type Theme = "dark" | "base";
19709
+
19710
+ declare class RaruiThemeProvider extends LitElement {
19711
+ theme: Theme;
19712
+ private previousTheme?;
19713
+ protected createRenderRoot(): this;
19714
+ static styles: CSSResult;
19715
+ connectedCallback(): void;
19716
+ updated(changedProperties: Map<string, unknown>): void;
19717
+ disconnectedCallback(): void;
19718
+ private applyTheme;
19719
+ render(): TemplateResult<1>;
19720
+ }
19721
+
19677
19722
  declare global {
19678
19723
  interface HTMLElementTagNameMap {
19679
19724
  "rarui-accordion": RaruiAccordion;
@@ -19912,22 +19957,3 @@ declare class RaruiModalHeader extends LitElement {
19912
19957
  private handleClose;
19913
19958
  render(): TemplateResult<1>;
19914
19959
  }
19915
-
19916
- declare global {
19917
- interface HTMLElementTagNameMap {
19918
- "rarui-theme-provider": RaruiThemeProvider;
19919
- }
19920
- }
19921
- type Theme = "dark" | "base";
19922
-
19923
- declare class RaruiThemeProvider extends LitElement {
19924
- theme: Theme;
19925
- private previousTheme?;
19926
- protected createRenderRoot(): this;
19927
- static styles: CSSResult;
19928
- connectedCallback(): void;
19929
- updated(changedProperties: Map<string, unknown>): void;
19930
- disconnectedCallback(): void;
19931
- private applyTheme;
19932
- render(): TemplateResult<1>;
19933
- }