@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.
package/dist/index.d.ts CHANGED
@@ -17658,7 +17658,6 @@ declare const sidebarStyles: {
17658
17658
  };
17659
17659
  /**
17660
17660
  * Determines if the sidebar is shown or not.
17661
- * @default true
17662
17661
  */
17663
17662
  open: {
17664
17663
  true: {
@@ -18001,6 +18000,16 @@ interface CheckboxTyping {
18001
18000
  * The id of the checkbox.
18002
18001
  */
18003
18002
  id: string;
18003
+ /**
18004
+ * Whether the checkbox is checked.
18005
+ * @default false
18006
+ */
18007
+ checked?: boolean;
18008
+ /**
18009
+ * Whether the checkbox is readonly.
18010
+ * @default false
18011
+ */
18012
+ readonly?: boolean;
18004
18013
  }
18005
18014
  type CheckboxProps = CheckboxTyping & CheckboxVariants;
18006
18015
 
@@ -18341,6 +18350,9 @@ declare class RaruiAvatar extends LitElement {
18341
18350
  size?: AvatarProperties["size"];
18342
18351
  static styles: CSSResult;
18343
18352
  render(): TemplateResult<1>;
18353
+ private handleSlotChange;
18354
+ private handleImageError;
18355
+ private handleImageLoad;
18344
18356
  }
18345
18357
 
18346
18358
  declare global {
@@ -18467,12 +18479,13 @@ type StepperStepManifestProperties = StepperStepProps;
18467
18479
  type StepperStepProperties = WebComponentProperties<StepperStepManifestProperties>;
18468
18480
 
18469
18481
  declare class RaruiStepperStep extends LitElement {
18470
- description: StepperStepProperties["description"];
18471
- active: StepperStepProperties["active"];
18472
- done: StepperStepProperties["done"];
18482
+ description?: StepperStepProperties["description"];
18483
+ active?: StepperStepProperties["active"];
18484
+ done?: StepperStepProperties["done"];
18473
18485
  private direction;
18474
18486
  static styles: CSSResult;
18475
18487
  connectedCallback(): void;
18488
+ private getStepAriaLabel;
18476
18489
  render(): TemplateResult<1>;
18477
18490
  }
18478
18491
 
@@ -18512,17 +18525,24 @@ declare global {
18512
18525
  *
18513
18526
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
18514
18527
  */
18515
- type TextManifestProperties = TextProps;
18516
- type TextProperties = WebComponentProperties<TextManifestProperties, "as">;
18528
+ type TextManifestProperties = TextProps & {
18529
+ /**
18530
+ * Changes the rendered element for semantic HTML.
18531
+ * @default p
18532
+ */
18533
+ as?: "p" | "span" | "div" | "small" | "strong" | "em";
18534
+ };
18535
+ type TextProperties = WebComponentProperties<TextManifestProperties>;
18517
18536
 
18518
18537
  declare class RaruiText extends LitElement {
18519
18538
  sprinkleAttrs: Record<string, string>;
18539
+ as: TextProperties["as"];
18520
18540
  "line-clamp"?: TextProperties["line-clamp"];
18521
18541
  "color"?: TextProperties["color"];
18522
18542
  "font-weight"?: TextProperties["font-weight"];
18523
18543
  "text-align"?: TextProperties["text-align"];
18524
18544
  static styles: CSSResult;
18525
- render(): TemplateResult<1>;
18545
+ render(): TemplateResult;
18526
18546
  }
18527
18547
 
18528
18548
  declare global {
@@ -18537,16 +18557,22 @@ declare global {
18537
18557
  *
18538
18558
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/exhibition/typography) for more details.
18539
18559
  */
18540
- type TitleManifestProperties = TitleProps;
18560
+ type TitleManifestProperties = TitleProps & {
18561
+ /**
18562
+ * Changes the rendered heading element for semantic hierarchy.
18563
+ * @default h1
18564
+ */
18565
+ as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
18566
+ };
18541
18567
  type TitleProperties = WebComponentProperties<TitleManifestProperties>;
18542
18568
 
18543
18569
  declare class RaruiTitle extends LitElement {
18544
18570
  sprinkleAttrs: Record<string, string>;
18545
- as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
18571
+ as: TitleProperties["as"];
18546
18572
  "font-weight"?: TitleProperties["font-weight"];
18547
18573
  "text-align"?: TitleProperties["text-align"];
18548
18574
  static styles: CSSResult;
18549
- render(): TemplateResult<1>;
18575
+ render(): TemplateResult;
18550
18576
  }
18551
18577
 
18552
18578
  declare type AlignedPlacement = `${Side}-${Alignment}`;
@@ -18717,6 +18743,18 @@ type ButtonManifestProperties = ButtonProps & {
18717
18743
  * @default button
18718
18744
  */
18719
18745
  type?: "button" | "submit" | "reset";
18746
+ /**
18747
+ * The name of the button for form submission.
18748
+ */
18749
+ name?: string;
18750
+ /**
18751
+ * The value of the button for form submission.
18752
+ */
18753
+ value?: string;
18754
+ /**
18755
+ * Associates the button with a form element by ID.
18756
+ */
18757
+ form?: string;
18720
18758
  };
18721
18759
  type ButtonProperties = WebComponentProperties<ButtonManifestProperties>;
18722
18760
 
@@ -18727,6 +18765,9 @@ declare class RaruiButton extends LitElement {
18727
18765
  appearance: ButtonProperties["appearance"];
18728
18766
  disabled: ButtonProperties["disabled"];
18729
18767
  full: ButtonProperties["full"];
18768
+ name: ButtonProperties["name"];
18769
+ value: ButtonProperties["value"];
18770
+ form: ButtonProperties["form"];
18730
18771
  static styles: CSSResult;
18731
18772
  render(): TemplateResult<1>;
18732
18773
  }
@@ -18741,9 +18782,48 @@ declare global {
18741
18782
  * ---
18742
18783
  * The Checkbox allows users to select one or more items from a set and can be used to enable or disable an option.
18743
18784
  *
18744
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.
18785
+ * Features hybrid behavior:
18786
+ * - **Controlled mode**: When `checked` prop is provided, works like React controlled component
18787
+ * - **Native mode**: When `checked` prop is not provided, works like native HTML checkbox
18788
+ *
18789
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/checkbox) for more details.
18745
18790
  */
18746
- type CheckboxManifestProperties = CheckboxProps;
18791
+ type CheckboxManifestProperties = CheckboxProps & {
18792
+ /**
18793
+ * Controls the checked state of the checkbox.
18794
+ *
18795
+ * **Hybrid Behavior:**
18796
+ * - When provided: Checkbox works in controlled mode - external prop controls the state
18797
+ * - When not provided: Checkbox works in native mode - maintains its own internal state
18798
+ *
18799
+ * @default undefined (native mode)
18800
+ */
18801
+ checked?: boolean;
18802
+ /**
18803
+ * Makes the checkbox read-only, preventing user interaction.
18804
+ * When true, the checkbox displays its current state but cannot be changed by clicking.
18805
+ *
18806
+ * @default false
18807
+ */
18808
+ readonly?: boolean;
18809
+ /**
18810
+ * The name of the checkbox for form submission.
18811
+ */
18812
+ name?: string;
18813
+ /**
18814
+ * The value of the checkbox when checked for form submission.
18815
+ */
18816
+ value?: string;
18817
+ /**
18818
+ * Associates the checkbox with a form element by ID.
18819
+ */
18820
+ form?: string;
18821
+ /**
18822
+ * Indicates whether the checkbox is required for form validation.
18823
+ * @default false
18824
+ */
18825
+ required?: boolean;
18826
+ };
18747
18827
  type CheckboxProperties = WebComponentProperties<CheckboxManifestProperties>;
18748
18828
 
18749
18829
  declare class RaruiCheckbox extends LitElement {
@@ -18752,9 +18832,21 @@ declare class RaruiCheckbox extends LitElement {
18752
18832
  error: CheckboxProperties["error"];
18753
18833
  indeterminate: CheckboxProperties["indeterminate"];
18754
18834
  disabled: boolean;
18835
+ checked: boolean;
18836
+ readonly: boolean;
18837
+ required: boolean;
18838
+ name?: CheckboxProperties["name"];
18839
+ value?: CheckboxProperties["value"];
18840
+ form?: CheckboxProperties["form"];
18841
+ private _hasCheckedAttribute;
18842
+ private input;
18755
18843
  static styles: CSSResult;
18844
+ connectedCallback(): void;
18845
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
18846
+ updated(changedProperties: Map<string, any>): void;
18756
18847
  render(): TemplateResult<1>;
18757
18848
  private _onChange;
18849
+ private getAriaCheckedValue;
18758
18850
  }
18759
18851
 
18760
18852
  declare global {
@@ -18775,6 +18867,23 @@ type ChipManifestProperties = ChipProps & {
18775
18867
  * @default false
18776
18868
  */
18777
18869
  disabled?: boolean;
18870
+ /**
18871
+ * Defines the native button type.
18872
+ * @default button
18873
+ */
18874
+ type?: "button" | "submit" | "reset";
18875
+ /**
18876
+ * The name of the chip for form submission.
18877
+ */
18878
+ name?: string;
18879
+ /**
18880
+ * The value of the chip for form submission.
18881
+ */
18882
+ value?: string;
18883
+ /**
18884
+ * Associates the chip with a form element by ID.
18885
+ */
18886
+ form?: string;
18778
18887
  };
18779
18888
  type ChipProperties = WebComponentProperties<ChipManifestProperties>;
18780
18889
 
@@ -18788,9 +18897,14 @@ declare class RaruiChip extends LitElement {
18788
18897
  textOverflow?: ChipProperties["text-overflow"];
18789
18898
  selected?: ChipProperties["selected"];
18790
18899
  disabled?: ChipProperties["disabled"];
18900
+ type: ChipProperties["type"];
18901
+ name?: ChipProperties["name"];
18902
+ value?: ChipProperties["value"];
18903
+ form?: ChipProperties["form"];
18791
18904
  static styles: CSSResult;
18792
18905
  private handleClick;
18793
18906
  private handleCloseClick;
18907
+ private handleCloseKeydown;
18794
18908
  render(): TemplateResult<1>;
18795
18909
  }
18796
18910
 
@@ -18804,7 +18918,11 @@ declare global {
18804
18918
  * ---
18805
18919
  * An suspended menu displays a list of options on a temporary surface.
18806
18920
  *
18807
- See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/dropdown) for more details.
18921
+ * Features hybrid behavior:
18922
+ * - **Controlled mode**: When `visible` prop is provided, works like React controlled component
18923
+ * - **Native mode**: When `visible` prop is not provided, manages its own internal state
18924
+ *
18925
+ * See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/dropdown) for more details.
18808
18926
  */
18809
18927
  type DropdownManifestProperties = DropdownProps & {
18810
18928
  /**
@@ -18825,6 +18943,16 @@ type DropdownManifestProperties = DropdownProps & {
18825
18943
  * @default fixed
18826
18944
  */
18827
18945
  strategy?: "fixed" | "absolute";
18946
+ /**
18947
+ * Controls the visibility state of the dropdown.
18948
+ *
18949
+ * **Hybrid Behavior:**
18950
+ * - When provided: Dropdown works in controlled mode - external prop controls the state
18951
+ * - When not provided: Dropdown works in native mode - manages its own internal state
18952
+ *
18953
+ * @default undefined (native mode)
18954
+ */
18955
+ visible?: boolean;
18828
18956
  };
18829
18957
  type DropdownProperties = WebComponentProperties<DropdownManifestProperties, "onVisibility" | "portalId">;
18830
18958
 
@@ -18842,17 +18970,22 @@ declare class RaruiDropdown extends LitElement {
18842
18970
  set visible(value: boolean | undefined);
18843
18971
  get visible(): boolean | undefined;
18844
18972
  private _visible?;
18973
+ private _hasVisibleAttribute;
18845
18974
  reference: HTMLElement;
18846
18975
  floating: HTMLElement;
18847
18976
  static styles: CSSResult;
18848
18977
  cleanupAutoUpdate?: () => void;
18849
18978
  private updatePositionDebounceId;
18850
18979
  connectedCallback(): void;
18980
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
18851
18981
  disconnectedCallback(): void;
18852
18982
  updated(changed: Map<string, any>): void;
18853
18983
  private scheduleUpdatePosition;
18854
18984
  private handleClickOutside;
18985
+ private handleKeyDown;
18986
+ private closeDropdown;
18855
18987
  private handleClick;
18988
+ private handleReferenceKeydown;
18856
18989
  updatePosition(): Promise<void>;
18857
18990
  private getMiddleware;
18858
18991
  computePosition(): Promise<void>;
@@ -18871,13 +19004,39 @@ declare global {
18871
19004
  *
18872
19005
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/surface/dropdown) for more details.
18873
19006
  */
18874
- type DropdownItemManifestProperties = DropdownItemProps;
19007
+ type DropdownItemManifestProperties = DropdownItemProps & {
19008
+ /**
19009
+ * Disables the dropdown item, disallowing user interaction.
19010
+ * @default false
19011
+ */
19012
+ disabled?: boolean;
19013
+ /**
19014
+ * The value associated with this dropdown item for form submission or identification.
19015
+ */
19016
+ value?: string;
19017
+ /**
19018
+ * Defines the native button type.
19019
+ * @default button
19020
+ */
19021
+ type?: "button" | "submit" | "reset";
19022
+ /**
19023
+ * ARIA role for the dropdown item.
19024
+ * @default menuitem
19025
+ */
19026
+ role?: string;
19027
+ };
18875
19028
  type DropdownItemProperties = WebComponentProperties<DropdownItemManifestProperties>;
18876
19029
 
18877
19030
  declare class RaruiDropdownItem extends LitElement {
18878
19031
  name: DropdownItemProperties["name"];
18879
19032
  selected: DropdownItemProperties["selected"];
19033
+ disabled: DropdownItemProperties["disabled"];
19034
+ value: DropdownItemProperties["value"];
19035
+ type: DropdownItemProperties["type"];
19036
+ attributeChangedCallback(name: string, oldValue: string | null, newValue: string | null): void;
18880
19037
  static styles: CSSResult;
19038
+ private handleClick;
19039
+ private handleKeydown;
18881
19040
  render(): TemplateResult<1>;
18882
19041
  }
18883
19042
 
@@ -18893,7 +19052,25 @@ declare global {
18893
19052
  *
18894
19053
  See [a complete document](https://rarui.rarolabs.com.br/docs/components-web-components/input/button) for more details.
18895
19054
  */
18896
- type IconButtonManifestProperties = IconButtonProps;
19055
+ type IconButtonManifestProperties = IconButtonProps & {
19056
+ /**
19057
+ * Defines the native button type.
19058
+ * @default button
19059
+ */
19060
+ type?: "button" | "submit" | "reset";
19061
+ /**
19062
+ * The name of the button for form submission.
19063
+ */
19064
+ name?: string;
19065
+ /**
19066
+ * The value of the button for form submission.
19067
+ */
19068
+ value?: string;
19069
+ /**
19070
+ * Associates the button with a form element by ID.
19071
+ */
19072
+ form?: string;
19073
+ };
18897
19074
  type IconButtonProperties = WebComponentProperties<IconButtonManifestProperties>;
18898
19075
 
18899
19076
  declare class RaruiIconButton extends LitElement {
@@ -18902,7 +19079,12 @@ declare class RaruiIconButton extends LitElement {
18902
19079
  appearance: IconButtonProperties["appearance"];
18903
19080
  disabled: IconButtonProperties["disabled"];
18904
19081
  rounded: IconButtonProperties["rounded"];
19082
+ type: IconButtonProperties["type"];
19083
+ name: IconButtonProperties["name"];
19084
+ value: IconButtonProperties["value"];
19085
+ form: IconButtonProperties["form"];
18905
19086
  static styles: CSSResult;
19087
+ private handleClick;
18906
19088
  render(): TemplateResult<1>;
18907
19089
  }
18908
19090
 
@@ -18932,6 +19114,41 @@ type InputManifestProperties = InputProps & {
18932
19114
  * @default false
18933
19115
  */
18934
19116
  disabled?: boolean;
19117
+ /**
19118
+ * The type of input element.
19119
+ * @default text
19120
+ */
19121
+ type?: "text" | "email" | "password" | "tel" | "url" | "number" | "search" | "date" | "datetime-local" | "month" | "week" | "time" | "color" | "range" | "file" | "hidden";
19122
+ /**
19123
+ * The name of the input for form submission.
19124
+ */
19125
+ name?: string;
19126
+ /**
19127
+ * Associates the input with a form element by ID.
19128
+ */
19129
+ form?: string;
19130
+ /**
19131
+ * Whether the input is required.
19132
+ * @default false
19133
+ */
19134
+ required?: boolean;
19135
+ /**
19136
+ * Whether the input is readonly.
19137
+ * @default false
19138
+ */
19139
+ readonly?: boolean;
19140
+ /**
19141
+ * Minimum length of the input value.
19142
+ */
19143
+ minlength?: number;
19144
+ /**
19145
+ * Maximum length of the input value.
19146
+ */
19147
+ maxlength?: number;
19148
+ /**
19149
+ * Regular expression pattern for input validation.
19150
+ */
19151
+ pattern?: string;
18935
19152
  };
18936
19153
  type InputProperties = WebComponentProperties<InputManifestProperties>;
18937
19154
 
@@ -18943,13 +19160,18 @@ declare class RaruiInput extends LitElement {
18943
19160
  disabled: InputProperties["disabled"];
18944
19161
  value: string;
18945
19162
  placeholder?: string;
19163
+ type: InputProperties["type"];
19164
+ name: InputProperties["name"];
19165
+ form: InputProperties["form"];
19166
+ required: InputProperties["required"];
19167
+ readonly: InputProperties["readonly"];
19168
+ minlength: InputProperties["minlength"];
19169
+ maxlength: InputProperties["maxlength"];
19170
+ pattern: InputProperties["pattern"];
18946
19171
  static styles: CSSResult;
18947
19172
  render(): TemplateResult<1>;
18948
19173
  private _focusInput;
18949
19174
  private _onInput;
18950
- private _onChange;
18951
- private _onFocus;
18952
- private _onBlur;
18953
19175
  }
18954
19176
 
18955
19177
  declare global {
@@ -18975,6 +19197,24 @@ type RadioButtonManifestProperties = RadioButtonProps & {
18975
19197
  * @default false
18976
19198
  */
18977
19199
  disabled?: boolean;
19200
+ /**
19201
+ * The value of the radio button for form submission.
19202
+ */
19203
+ value?: string;
19204
+ /**
19205
+ * Associates the radio button with a form element by ID.
19206
+ */
19207
+ form?: string;
19208
+ /**
19209
+ * Whether the radio button is required.
19210
+ * @default false
19211
+ */
19212
+ required?: boolean;
19213
+ /**
19214
+ * Whether the radio button is readonly.
19215
+ * @default false
19216
+ */
19217
+ readonly?: boolean;
18978
19218
  };
18979
19219
  type RadioButtonProperties = WebComponentProperties<RadioButtonManifestProperties>;
18980
19220
 
@@ -18986,18 +19226,28 @@ declare class RaruiRadioButton extends LitElement {
18986
19226
  size?: RadioButtonProperties["size"];
18987
19227
  error?: RadioButtonProperties["error"];
18988
19228
  selected?: RadioButtonProperties["selected"];
19229
+ value: RadioButtonProperties["value"];
19230
+ form: RadioButtonProperties["form"];
19231
+ required: RadioButtonProperties["required"];
19232
+ readonly: RadioButtonProperties["readonly"];
18989
19233
  static styles: CSSResult;
18990
19234
  render(): TemplateResult<1>;
18991
19235
  private _onChange;
18992
19236
  }
18993
19237
 
19238
+ declare global {
19239
+ interface HTMLElementTagNameMap {
19240
+ "rarui-select": any;
19241
+ }
19242
+ }
19243
+
18994
19244
  declare global {
18995
19245
  interface HTMLElementTagNameMap {
18996
19246
  "rarui-textarea": RaruiTextarea;
18997
19247
  }
18998
19248
  }
18999
19249
  /**
19000
- * ## Rarui Radio Button
19250
+ * ## Rarui Textarea
19001
19251
  * ---
19002
19252
  * Expanded text area for long text entries. Allows you to enter large blocks of text, such as comments or detailed descriptions.
19003
19253
  *
@@ -19009,6 +19259,36 @@ type TextareaManifestProperties = TextareaProps & {
19009
19259
  * @default false
19010
19260
  */
19011
19261
  disabled?: boolean;
19262
+ /**
19263
+ * The name of the textarea for form submission.
19264
+ */
19265
+ name?: string;
19266
+ /**
19267
+ * Associates the textarea with a form element by ID.
19268
+ */
19269
+ form?: string;
19270
+ /**
19271
+ * Whether the textarea is required for form validation.
19272
+ * @default false
19273
+ */
19274
+ required?: boolean;
19275
+ /**
19276
+ * Whether the textarea is readonly.
19277
+ * @default false
19278
+ */
19279
+ readonly?: boolean;
19280
+ /**
19281
+ * Placeholder text to display when the textarea is empty.
19282
+ */
19283
+ placeholder?: string;
19284
+ /**
19285
+ * Minimum number of characters required.
19286
+ */
19287
+ minlength?: number;
19288
+ /**
19289
+ * Maximum number of characters allowed.
19290
+ */
19291
+ maxlength?: number;
19012
19292
  };
19013
19293
  type TextareaProperties = WebComponentProperties<TextareaManifestProperties>;
19014
19294
 
@@ -19017,9 +19297,15 @@ declare class RaruiTextarea extends LitElement {
19017
19297
  value?: string;
19018
19298
  appearance?: TextareaProperties["appearance"];
19019
19299
  lines?: TextareaProperties["lines"];
19300
+ name: TextareaProperties["name"];
19301
+ form: TextareaProperties["form"];
19302
+ required: TextareaProperties["required"];
19303
+ readonly: TextareaProperties["readonly"];
19304
+ placeholder: TextareaProperties["placeholder"];
19305
+ minlength: TextareaProperties["minlength"];
19306
+ maxlength: TextareaProperties["maxlength"];
19020
19307
  static styles: CSSResult;
19021
19308
  render(): TemplateResult<1>;
19022
- private _onChange;
19023
19309
  }
19024
19310
 
19025
19311
  declare global {
@@ -19046,6 +19332,19 @@ type ToggleManifestProperties = ToggleProps & {
19046
19332
  * The name will be used as Fallback to `id`.
19047
19333
  */
19048
19334
  id?: string;
19335
+ /**
19336
+ * The value of the toggle for form submission.
19337
+ */
19338
+ value?: string;
19339
+ /**
19340
+ * Associates the toggle with a form element by ID.
19341
+ */
19342
+ form?: string;
19343
+ /**
19344
+ * Whether the toggle is required for form validation.
19345
+ * @default false
19346
+ */
19347
+ required?: boolean;
19049
19348
  };
19050
19349
  type ToggleProperties = WebComponentProperties<ToggleManifestProperties>;
19051
19350
 
@@ -19056,8 +19355,10 @@ declare class RaruiToggle extends LitElement {
19056
19355
  error: ToggleProperties["error"];
19057
19356
  selected?: ToggleProperties["selected"];
19058
19357
  disabled?: ToggleProperties["disabled"];
19358
+ value: ToggleProperties["value"];
19359
+ form: ToggleProperties["form"];
19360
+ required: ToggleProperties["required"];
19059
19361
  static styles: CSSResult;
19060
- private handleChange;
19061
19362
  render(): TemplateResult<1>;
19062
19363
  }
19063
19364
 
@@ -19217,6 +19518,31 @@ type LinkManifestProperties = LinkProps & {
19217
19518
  * ** IMPORTANT: ** should only be used when `as="a"`.
19218
19519
  */
19219
19520
  href?: string;
19521
+ /**
19522
+ * Defines the target attribute for links.
19523
+ * @default "_blank" for external links, undefined for internal
19524
+ */
19525
+ target?: "_blank" | "_self" | "_parent" | "_top";
19526
+ /**
19527
+ * Defines the rel attribute for links.
19528
+ * @default "noopener noreferrer" for external links with target="_blank"
19529
+ */
19530
+ rel?: string;
19531
+ /**
19532
+ * The name of the button for form submission.
19533
+ * ** IMPORTANT: ** should only be used when `as="button"`.
19534
+ */
19535
+ name?: string;
19536
+ /**
19537
+ * The value of the button for form submission.
19538
+ * ** IMPORTANT: ** should only be used when `as="button"`.
19539
+ */
19540
+ value?: string;
19541
+ /**
19542
+ * Associates the button with a form element by ID.
19543
+ * ** IMPORTANT: ** should only be used when `as="button"`.
19544
+ */
19545
+ form?: string;
19220
19546
  };
19221
19547
  type LinkProperties = WebComponentProperties<LinkManifestProperties>;
19222
19548
 
@@ -19227,7 +19553,13 @@ declare class RaruiLink extends LitElement {
19227
19553
  size?: LinkProperties["size"];
19228
19554
  href?: LinkProperties["href"];
19229
19555
  disabled: LinkProperties["disabled"];
19556
+ target?: LinkProperties["target"];
19557
+ rel?: LinkProperties["rel"];
19558
+ name?: LinkProperties["name"];
19559
+ value?: LinkProperties["value"];
19560
+ form?: LinkProperties["form"];
19230
19561
  static styles: CSSResult;
19562
+ private _onClick;
19231
19563
  render(): TemplateResult<1>;
19232
19564
  }
19233
19565
 
@@ -19308,6 +19640,7 @@ declare class RaruiSideNavigation extends LitElement {
19308
19640
  private _renderLeadingEnd;
19309
19641
  private _renderContent;
19310
19642
  render(): TemplateResult<1>;
19643
+ private getAriaExpanded;
19311
19644
  }
19312
19645
 
19313
19646
  declare global {