@solid-design-system/components 1.23.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/components/es/checkbox.js +1 -11
- package/dist/components/es/input.js +1 -0
- package/dist/components/es/live.js +11 -0
- package/dist/components/es/solid-components2.js +1 -1
- package/dist/components/es/solid-element.js +1 -1
- package/dist/components/umd/solid-components.js +21 -21
- package/dist/custom-elements.json +1 -1
- package/dist/package/components/icon/library.system.d.ts +8 -1
- package/dist/package/components/icon/library.system.js +52 -10
- package/dist/package/components/input/input.d.ts +76 -0
- package/dist/package/components/input/input.js +390 -0
- package/dist/package/solid-components.d.ts +1 -0
- package/dist/package/solid-components.js +22 -20
- package/dist/package/styles/form-control.styles.d.ts +2 -0
- package/dist/package/styles/form-control.styles.js +5 -0
- package/dist/package/styles/tailwind.css.js +1 -1
- package/dist/versioned-components/es/accordion-group.js +1 -1
- package/dist/versioned-components/es/accordion.js +1 -1
- package/dist/versioned-components/es/badge.js +1 -1
- package/dist/versioned-components/es/brandshape.js +1 -1
- package/dist/versioned-components/es/button.js +1 -1
- package/dist/versioned-components/es/carousel-item.js +1 -1
- package/dist/versioned-components/es/carousel.js +3 -3
- package/dist/versioned-components/es/checkbox-group.js +1 -1
- package/dist/versioned-components/es/checkbox.js +1 -11
- package/dist/versioned-components/es/divider.js +1 -1
- package/dist/versioned-components/es/drawer.js +1 -1
- package/dist/versioned-components/es/dropdown.js +1 -1
- package/dist/versioned-components/es/form.js +1 -1
- package/dist/versioned-components/es/icon.js +1 -1
- package/dist/versioned-components/es/include.js +1 -1
- package/dist/versioned-components/es/input.js +1 -0
- package/dist/versioned-components/es/link.js +1 -1
- package/dist/versioned-components/es/live.js +11 -0
- package/dist/versioned-components/es/navigation-item.js +1 -1
- package/dist/versioned-components/es/popup.js +1 -1
- package/dist/versioned-components/es/radio-group.js +1 -1
- package/dist/versioned-components/es/radio.js +1 -1
- package/dist/versioned-components/es/solid-components2.js +1 -1
- package/dist/versioned-components/es/solid-element.js +1 -1
- package/dist/versioned-components/es/spinner.js +1 -1
- package/dist/versioned-components/es/tag.js +1 -1
- package/dist/versioned-components/es/teaser.js +1 -1
- package/dist/versioned-components/es/tooltip.js +2 -2
- package/dist/versioned-components/es/video.js +1 -1
- package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
- package/dist/versioned-package/_components/button-group/button-group.js +11 -11
- package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
- package/dist/versioned-package/components/accordion/accordion.js +2 -2
- package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist/versioned-package/components/accordion-group/accordion-group.js +3 -3
- package/dist/versioned-package/components/badge/badge.d.ts +1 -1
- package/dist/versioned-package/components/badge/badge.js +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
- package/dist/versioned-package/components/brandshape/brandshape.js +1 -1
- package/dist/versioned-package/components/button/button.d.ts +1 -1
- package/dist/versioned-package/components/button/button.js +4 -4
- package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
- package/dist/versioned-package/components/carousel/carousel.js +6 -6
- package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist/versioned-package/components/carousel-item/carousel-item.js +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
- package/dist/versioned-package/components/checkbox/checkbox.js +4 -4
- package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist/versioned-package/components/checkbox-group/checkbox-group.js +5 -5
- package/dist/versioned-package/components/divider/divider.d.ts +1 -1
- package/dist/versioned-package/components/divider/divider.js +2 -2
- package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
- package/dist/versioned-package/components/drawer/drawer.js +2 -2
- package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
- package/dist/versioned-package/components/dropdown/dropdown.js +6 -6
- package/dist/versioned-package/components/icon/icon.d.ts +1 -1
- package/dist/versioned-package/components/icon/icon.js +1 -1
- package/dist/versioned-package/components/icon/library.system.d.ts +8 -1
- package/dist/versioned-package/components/icon/library.system.js +52 -10
- package/dist/versioned-package/components/include/include.d.ts +1 -1
- package/dist/versioned-package/components/include/include.js +1 -1
- package/dist/versioned-package/components/input/input.d.ts +76 -0
- package/dist/versioned-package/components/input/input.js +390 -0
- package/dist/versioned-package/components/link/link.d.ts +1 -1
- package/dist/versioned-package/components/link/link.js +2 -2
- package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist/versioned-package/components/navigation-item/navigation-item.js +3 -3
- package/dist/versioned-package/components/popup/popup.d.ts +1 -1
- package/dist/versioned-package/components/popup/popup.js +1 -1
- package/dist/versioned-package/components/radio/radio.d.ts +1 -1
- package/dist/versioned-package/components/radio/radio.js +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
- package/dist/versioned-package/components/radio-group/radio-group.js +14 -14
- package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
- package/dist/versioned-package/components/spinner/spinner.js +1 -1
- package/dist/versioned-package/components/tag/tag.d.ts +1 -1
- package/dist/versioned-package/components/tag/tag.js +2 -2
- package/dist/versioned-package/components/teaser/teaser.js +1 -1
- package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
- package/dist/versioned-package/components/tooltip/tooltip.js +5 -5
- package/dist/versioned-package/components/video/video.d.ts +1 -1
- package/dist/versioned-package/components/video/video.js +2 -2
- package/dist/versioned-package/internal/form.js +2 -2
- package/dist/versioned-package/solid-components.d.ts +1 -0
- package/dist/versioned-package/solid-components.js +22 -20
- package/dist/versioned-package/styles/form-control.styles.d.ts +2 -0
- package/dist/versioned-package/styles/form-control.styles.js +5 -0
- package/dist/versioned-package/styles/tailwind.css.js +1 -1
- package/dist/versioned-styles/solid-styles.css +1 -1
- package/dist/vscode.html-custom-data.json +570 -24
- package/dist/web-types.json +579 -1
- package/package.json +5 -5
|
@@ -659,6 +659,279 @@
|
|
|
659
659
|
],
|
|
660
660
|
"references": []
|
|
661
661
|
},
|
|
662
|
+
{
|
|
663
|
+
"name": "sd-input",
|
|
664
|
+
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.",
|
|
665
|
+
"attributes": [
|
|
666
|
+
{
|
|
667
|
+
"name": "type",
|
|
668
|
+
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
669
|
+
"values": [
|
|
670
|
+
{
|
|
671
|
+
"name": ""
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "date"
|
|
675
|
+
},
|
|
676
|
+
{
|
|
677
|
+
"name": "datetime-local"
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
"name": "email"
|
|
681
|
+
},
|
|
682
|
+
{
|
|
683
|
+
"name": "number"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "password"
|
|
687
|
+
},
|
|
688
|
+
{
|
|
689
|
+
"name": "search"
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "tel"
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
"name": "text"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "time"
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"name": "url"
|
|
702
|
+
}
|
|
703
|
+
]
|
|
704
|
+
},
|
|
705
|
+
{
|
|
706
|
+
"name": "size",
|
|
707
|
+
"description": "The input's size.",
|
|
708
|
+
"values": [
|
|
709
|
+
{
|
|
710
|
+
"name": "lg"
|
|
711
|
+
},
|
|
712
|
+
{
|
|
713
|
+
"name": "md"
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "sm"
|
|
717
|
+
}
|
|
718
|
+
]
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"name": "inputmode",
|
|
722
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
723
|
+
"values": [
|
|
724
|
+
{
|
|
725
|
+
"name": "none"
|
|
726
|
+
},
|
|
727
|
+
{
|
|
728
|
+
"name": "text"
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"name": "decimal"
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"name": "numeric"
|
|
735
|
+
},
|
|
736
|
+
{
|
|
737
|
+
"name": "tel"
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
"name": "search"
|
|
741
|
+
},
|
|
742
|
+
{
|
|
743
|
+
"name": "email"
|
|
744
|
+
},
|
|
745
|
+
{
|
|
746
|
+
"name": "url"
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
},
|
|
750
|
+
{
|
|
751
|
+
"name": "value",
|
|
752
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
753
|
+
"values": []
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "placeholder",
|
|
757
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
758
|
+
"values": []
|
|
759
|
+
},
|
|
760
|
+
{
|
|
761
|
+
"name": "label",
|
|
762
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
763
|
+
"values": []
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
"name": "help-text",
|
|
767
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
768
|
+
"values": []
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"name": "clearable",
|
|
772
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
773
|
+
"values": []
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "disabled",
|
|
777
|
+
"description": "Disables the input.",
|
|
778
|
+
"values": []
|
|
779
|
+
},
|
|
780
|
+
{
|
|
781
|
+
"name": "readonly",
|
|
782
|
+
"description": "Makes the input readonly.",
|
|
783
|
+
"values": []
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "password-toggle",
|
|
787
|
+
"description": "Adds a button to toggle the password's visibility. Only applies to password types.",
|
|
788
|
+
"values": []
|
|
789
|
+
},
|
|
790
|
+
{
|
|
791
|
+
"name": "password-visible",
|
|
792
|
+
"description": "Determines whether or not the password is currently visible. Only applies to password input types.",
|
|
793
|
+
"values": []
|
|
794
|
+
},
|
|
795
|
+
{
|
|
796
|
+
"name": "no-spin-buttons",
|
|
797
|
+
"description": "Hides the browser's built-in increment/decrement spin buttons for number inputs.",
|
|
798
|
+
"values": []
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
"name": "minlength",
|
|
802
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
803
|
+
"values": []
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "maxlength",
|
|
807
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
808
|
+
"values": []
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"name": "min",
|
|
812
|
+
"description": "The input's minimum value. Only applies to date and number input types.",
|
|
813
|
+
"values": []
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
"name": "max",
|
|
817
|
+
"description": "The input's maximum value. Only applies to date and number input types.",
|
|
818
|
+
"values": []
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "form",
|
|
822
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
823
|
+
"values": []
|
|
824
|
+
},
|
|
825
|
+
{
|
|
826
|
+
"name": "name",
|
|
827
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
828
|
+
"values": []
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "title",
|
|
832
|
+
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
833
|
+
"values": []
|
|
834
|
+
},
|
|
835
|
+
{
|
|
836
|
+
"name": "required",
|
|
837
|
+
"description": "Makes the input a required field.",
|
|
838
|
+
"values": []
|
|
839
|
+
},
|
|
840
|
+
{
|
|
841
|
+
"name": "pattern",
|
|
842
|
+
"description": "A regular expression pattern to validate input against.",
|
|
843
|
+
"values": []
|
|
844
|
+
},
|
|
845
|
+
{
|
|
846
|
+
"name": "step",
|
|
847
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
|
|
848
|
+
"values": [
|
|
849
|
+
{
|
|
850
|
+
"name": "any"
|
|
851
|
+
}
|
|
852
|
+
]
|
|
853
|
+
},
|
|
854
|
+
{
|
|
855
|
+
"name": "autocapitalize",
|
|
856
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
857
|
+
"values": [
|
|
858
|
+
{
|
|
859
|
+
"name": "off"
|
|
860
|
+
},
|
|
861
|
+
{
|
|
862
|
+
"name": "none"
|
|
863
|
+
},
|
|
864
|
+
{
|
|
865
|
+
"name": "on"
|
|
866
|
+
},
|
|
867
|
+
{
|
|
868
|
+
"name": "sentences"
|
|
869
|
+
},
|
|
870
|
+
{
|
|
871
|
+
"name": "words"
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
"name": "characters"
|
|
875
|
+
}
|
|
876
|
+
]
|
|
877
|
+
},
|
|
878
|
+
{
|
|
879
|
+
"name": "autocorrect",
|
|
880
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
881
|
+
"values": [
|
|
882
|
+
{
|
|
883
|
+
"name": "off"
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
"name": "on"
|
|
887
|
+
}
|
|
888
|
+
]
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
"name": "autocomplete",
|
|
892
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
893
|
+
"values": []
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
"name": "autofocus",
|
|
897
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
898
|
+
"values": []
|
|
899
|
+
},
|
|
900
|
+
{
|
|
901
|
+
"name": "enterkeyhint",
|
|
902
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
903
|
+
"values": [
|
|
904
|
+
{
|
|
905
|
+
"name": "enter"
|
|
906
|
+
},
|
|
907
|
+
{
|
|
908
|
+
"name": "done"
|
|
909
|
+
},
|
|
910
|
+
{
|
|
911
|
+
"name": "go"
|
|
912
|
+
},
|
|
913
|
+
{
|
|
914
|
+
"name": "next"
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "previous"
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
"name": "search"
|
|
921
|
+
},
|
|
922
|
+
{
|
|
923
|
+
"name": "send"
|
|
924
|
+
}
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
{
|
|
928
|
+
"name": "spellcheck",
|
|
929
|
+
"description": "Enables spell checking on the input.",
|
|
930
|
+
"values": []
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"references": []
|
|
934
|
+
},
|
|
662
935
|
{
|
|
663
936
|
"name": "sd-link",
|
|
664
937
|
"description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
@@ -1335,7 +1608,7 @@
|
|
|
1335
1608
|
"references": []
|
|
1336
1609
|
},
|
|
1337
1610
|
{
|
|
1338
|
-
"name": "sd-1-
|
|
1611
|
+
"name": "sd-1-24-0-accordion-group",
|
|
1339
1612
|
"description": "Short summary of the component's intended use.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-accordion>` elements are placed.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.",
|
|
1340
1613
|
"attributes": [
|
|
1341
1614
|
{
|
|
@@ -1347,7 +1620,7 @@
|
|
|
1347
1620
|
"references": []
|
|
1348
1621
|
},
|
|
1349
1622
|
{
|
|
1350
|
-
"name": "sd-1-
|
|
1623
|
+
"name": "sd-1-24-0-accordion",
|
|
1351
1624
|
"description": "Accordion shows a brief summary and expands to show additional content.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the accordion opens.\n- **sd-after-show** - Emitted after the accordion opens and all animations are complete.\n- **sd-hide** - Emitted when the accordion closes.\n- **sd-after-hide** - Emitted after the accordion closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the accordion.\n- **hide()** - Hides the accordion\n\n### **Slots:**\n - _default_ - The accordion main content.\n- **summary** - The accordion summary. Alternatively, you can use the `summary` attribute.\n- **expand-icon** - Optional expand icon to use instead of the default. Works best with `<sd-icon>`.\n- **collapse-icon** - Optional collapse icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **header** - The header that wraps both the summary and the expand/collapse icon.\n- **summary** - The container that wraps the summary.\n- **summary-icon** - The container that wraps the expand/collapse icons.\n- **content** - The container that wraps the accordion content slot.\n- **content__slot** - The accordion content slot.",
|
|
1352
1625
|
"attributes": [
|
|
1353
1626
|
{
|
|
@@ -1364,7 +1637,7 @@
|
|
|
1364
1637
|
"references": []
|
|
1365
1638
|
},
|
|
1366
1639
|
{
|
|
1367
|
-
"name": "sd-1-
|
|
1640
|
+
"name": "sd-1-24-0-badge",
|
|
1368
1641
|
"description": "Badges are used to draw attention and display statuses or counts.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The badge's content.\n\n### **CSS Parts:**\n - **base** - The badge's base wrapper.\n- **content** - The badge's main content.",
|
|
1369
1642
|
"attributes": [
|
|
1370
1643
|
{
|
|
@@ -1406,7 +1679,7 @@
|
|
|
1406
1679
|
"references": []
|
|
1407
1680
|
},
|
|
1408
1681
|
{
|
|
1409
|
-
"name": "sd-1-
|
|
1682
|
+
"name": "sd-1-24-0-brandshape",
|
|
1410
1683
|
"description": "The Brandshape highlights a piece of content.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The content inside the brandshape.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - Middle content wrapper.\n- **shape-top** - Top shape.\n- **shape-middle** - Middle shape.\n- **shape-bottom** - Bottom shape.",
|
|
1411
1684
|
"attributes": [
|
|
1412
1685
|
{
|
|
@@ -1443,7 +1716,7 @@
|
|
|
1443
1716
|
"references": []
|
|
1444
1717
|
},
|
|
1445
1718
|
{
|
|
1446
|
-
"name": "sd-1-
|
|
1719
|
+
"name": "sd-1-24-0-button",
|
|
1447
1720
|
"description": "Buttons represent actions that are available to the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the button loses focus.\n- **sd-focus** - Emitted when the button gains focus.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **click()** - Simulates a click on the button.\n- **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The button's label.\n- **icon-left** - A prefix icon or similar element.\n- **icon-right** - A suffix icon or similar element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The button's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
1448
1721
|
"attributes": [
|
|
1449
1722
|
{
|
|
@@ -1615,13 +1888,13 @@
|
|
|
1615
1888
|
"references": []
|
|
1616
1889
|
},
|
|
1617
1890
|
{
|
|
1618
|
-
"name": "sd-1-
|
|
1891
|
+
"name": "sd-1-24-0-carousel-item",
|
|
1619
1892
|
"description": "A carousel item represent a slide within a [carousel](/components/carousel).\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The carousel item's content.",
|
|
1620
1893
|
"attributes": [],
|
|
1621
1894
|
"references": []
|
|
1622
1895
|
},
|
|
1623
1896
|
{
|
|
1624
|
-
"name": "sd-1-
|
|
1897
|
+
"name": "sd-1-24-0-carousel",
|
|
1625
1898
|
"description": "Carousels display an arbitrary number of content slides along a horizontal axis.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-slide-change** - Emitted when the active slide changes.\n\n### **Methods:**\n - **previous(behavior: _ScrollBehavior_)** - Move the carousel backward by `slides-per-move` slides.\n- **next(behavior: _ScrollBehavior_)** - Move the carousel forward by `slides-per-move` slides.\n- **goToSlide(index: _number_, behavior: _ScrollBehavior_)** - Scrolls the carousel to the slide specified by `index`.\n\n### **Slots:**\n - _default_ - The carousel's main content, one or more `<sd-carousel-item>` elements.\n- **next-icon** - Optional next icon to use instead of the default. Works best with `<sd-icon>`.\n- **previous-icon** - Optional previous icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-start** - Optional start icon to use instead of the default. Works best with `<sd-icon>`.\n- **autoplay-pause** - Optional pause icon to use instead of the default. Works best with `<sd-icon>`.\n\n### **CSS Properties:**\n - **--slide-gap** - The space between each slide. _(default: undefined)_\n- **--scroll-hint** - The amount of padding to apply to the scroll area, allowing adjacent slides to become partially visible as a scroll hint. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The carousel's internal wrapper.\n- **scroll-container** - The scroll container that wraps the slides.\n- **controls** - A wrapper for the navigation and autoplay controller buttons.\n- **pagination-dot** - The pagination indicator in dot format.\n- **pagination-number** - The pagination indicator in number format.\n- **pagination-item** - The pagination indicator.\n- **pagination-item--active** - Applied when the item is active.\n- **navigation** - The navigation wrapper.\n- **navigation-button** - The navigation button.\n- **navigation-button--previous** - Applied to the previous button.\n- **navigation-button--next** - Applied to the next button.\n- **autoplay-controls** - A wrapper for pause/start button.",
|
|
1626
1899
|
"attributes": [
|
|
1627
1900
|
{
|
|
@@ -1665,7 +1938,7 @@
|
|
|
1665
1938
|
"references": []
|
|
1666
1939
|
},
|
|
1667
1940
|
{
|
|
1668
|
-
"name": "sd-1-
|
|
1941
|
+
"name": "sd-1-24-0-checkbox-group",
|
|
1669
1942
|
"description": "Checkbox groups are used to group multiple [checkbox](/components/checkbox). It provides only presentational functionality.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - The default slot where `<sd-checkbox>` elements are placed.\n- **label** - The checkbox group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.",
|
|
1670
1943
|
"attributes": [
|
|
1671
1944
|
{
|
|
@@ -1701,7 +1974,7 @@
|
|
|
1701
1974
|
"references": []
|
|
1702
1975
|
},
|
|
1703
1976
|
{
|
|
1704
|
-
"name": "sd-1-
|
|
1977
|
+
"name": "sd-1-24-0-checkbox",
|
|
1705
1978
|
"description": "Checkboxes allow the user to toggle an option on or off.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the checkbox loses focus.\n- **sd-change** - Emitted when the checked state changes.\n- **sd-focus** - Emitted when the checkbox gains focus.\n- **sd-input** - Emitted when the checkbox receives input.\n\n### **Methods:**\n - **click()** - Simulates a click on the checkbox.\n- **focus(options: _FocusOptions_)** - Sets focus on the checkbox.\n- **blur()** - Removes focus from the checkbox.\n- **checkValidity()** - Checks for validity but does not show a validation message. Returns true when valid and false when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity()** - Checks for validity and shows a validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. The value provided will be shown to the user when the form is submitted. To clear\nthe custom validation message, call this method with an empty string.\n\n### **Slots:**\n - _default_ - The checkbox's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control** - The square container that wraps the checkbox's checked state.\n- **control--checked** - Matches the control part when the checkbox is checked.\n- **control--indeterminate** - Matches the control part when the checkbox is indeterminate.\n- **checked-icon** - The checked icon, an `<sd-icon>` element.\n- **indeterminate-icon** - The indeterminate icon, an `<sd-icon>` element.\n- **label** - The container that wraps the checkbox's label.",
|
|
1706
1979
|
"attributes": [
|
|
1707
1980
|
{
|
|
@@ -1759,7 +2032,7 @@
|
|
|
1759
2032
|
"references": []
|
|
1760
2033
|
},
|
|
1761
2034
|
{
|
|
1762
|
-
"name": "sd-1-
|
|
2035
|
+
"name": "sd-1-24-0-divider",
|
|
1763
2036
|
"description": "Dividers are used to visually separate or group elements.\n\n\n---\n\n\n",
|
|
1764
2037
|
"attributes": [
|
|
1765
2038
|
{
|
|
@@ -1783,7 +2056,7 @@
|
|
|
1783
2056
|
"references": []
|
|
1784
2057
|
},
|
|
1785
2058
|
{
|
|
1786
|
-
"name": "sd-1-
|
|
2059
|
+
"name": "sd-1-24-0-drawer",
|
|
1787
2060
|
"description": "Drawers slide in from a container to expose additional options and information.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the drawer opens.\n- **sd-after-show** - Emitted after the drawer opens and all animations are complete.\n- **sd-hide** - Emitted when the drawer closes.\n- **sd-after-hide** - Emitted after the drawer closes and all animations are complete.\n- **sd-initial-focus** - Emitted when the drawer opens and is ready to receive focus. Calling `event.preventDefault()` will prevent focusing and allow you to set it on a different element, such as an input.\n- **sd-request-close** - Emitted when the user attempts to close the drawer by clicking the close button, clicking the overlay, or pressing escape. Calling `event.preventDefault()` will keep the drawer open. Avoid using this unless closing the drawer will result in destructive behavior such as data loss.\n\n### **Methods:**\n - **show()** - Shows the drawer.\n- **hide()** - Hides the drawer\n\n### **Slots:**\n - _default_ - The drawer's main content.\n- **header** - The drawer's header, usually a title.\n- **footer** - The drawer's footer, usually one or more buttons representing various options.\n\n### **CSS Properties:**\n - **--width** - The preferred width of the drawer. depending on its `placement`. Note that the drawer will shrink to accommodate smaller screens. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **overlay** - The overlay that covers the screen behind the drawer.\n- **panel** - The drawer's panel (where the drawer and its content are rendered).\n- **header** - The drawer's header. This element wraps the title and the close-button.\n- **title** - The drawer's title.\n- **close-button** - The close button, an `<sd-button>`.\n- **body** - The drawer's body.\n- **footer** - The drawer's footer.",
|
|
1788
2061
|
"attributes": [
|
|
1789
2062
|
{
|
|
@@ -1822,7 +2095,7 @@
|
|
|
1822
2095
|
"references": []
|
|
1823
2096
|
},
|
|
1824
2097
|
{
|
|
1825
|
-
"name": "sd-1-
|
|
2098
|
+
"name": "sd-1-24-0-dropdown",
|
|
1826
2099
|
"description": "Dropdowns expose additional content that \"drops down\" in a panel.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the dropdown opens.\n- **sd-after-show** - Emitted after the dropdown opens and all animations are complete.\n- **sd-hide** - Emitted when the dropdown closes.\n- **sd-after-hide** - Emitted after the dropdown closes and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the dropdown panel.\n- **hide()** - Hides the dropdown panel\n- **reposition()** - Instructs the dropdown menu to reposition. Useful when the position or size of the trigger changes when the menu\nis activated.\n\n### **Slots:**\n - _default_ - The dropdown's main content.\n- **trigger** - The dropdown's trigger, usually a `<sd-button>` element.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **trigger** - The container that wraps the trigger.\n- **panel** - The panel that gets shown when the dropdown is open.",
|
|
1827
2100
|
"attributes": [
|
|
1828
2101
|
{
|
|
@@ -1919,7 +2192,7 @@
|
|
|
1919
2192
|
"references": []
|
|
1920
2193
|
},
|
|
1921
2194
|
{
|
|
1922
|
-
"name": "sd-1-
|
|
2195
|
+
"name": "sd-1-24-0-icon",
|
|
1923
2196
|
"description": "Icons are symbols that can be used to represent various options within an application.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the icon has loaded.\n- **sd-error** - Emitted when the icon fails to load due to an error.",
|
|
1924
2197
|
"attributes": [
|
|
1925
2198
|
{
|
|
@@ -1961,7 +2234,7 @@
|
|
|
1961
2234
|
"references": []
|
|
1962
2235
|
},
|
|
1963
2236
|
{
|
|
1964
|
-
"name": "sd-1-
|
|
2237
|
+
"name": "sd-1-24-0-include",
|
|
1965
2238
|
"description": "Includes give you the power to embed external HTML files into the page.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-load** - Emitted when the included file is loaded.\n- **sd-error** - Emitted when the included file fails to load due to an error.",
|
|
1966
2239
|
"attributes": [
|
|
1967
2240
|
{
|
|
@@ -1993,7 +2266,280 @@
|
|
|
1993
2266
|
"references": []
|
|
1994
2267
|
},
|
|
1995
2268
|
{
|
|
1996
|
-
"name": "sd-1-
|
|
2269
|
+
"name": "sd-1-24-0-input",
|
|
2270
|
+
"description": "Inputs collect data from the user.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-change** - Emitted when an alteration to the control's value is committed by the user.\n- **sd-clear** - Emitted when the clear button is activated.\n- **sd-focus** - Emitted when the control gains focus.\n- **sd-input** - Emitted when the control receives input.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the input.\n- **blur()** - Removes focus from the input.\n- **select()** - Selects all the text in the input.\n- **setSelectionRange(selectionStart: _number_, selectionEnd: _number_, selectionDirection: _'forward' | 'backward' | 'none'_)** - Sets the start and end positions of the text selection (0-based).\n- **setRangeText(replacement: _string_, start: _number_, end: _number_, selectMode: _'select' | 'start' | 'end' | 'preserve'_)** - Replaces a range of text with a new string.\n- **showPicker()** - Displays the browser picker for an input element (only works if the browser supports it for the input type).\n- **stepUp()** - Increments the value of a numeric input type by the value of the step attribute.\n- **stepDown()** - Decrements the value of a numeric input type by the value of the step attribute.\n- **checkValidity()** - Checks for validity but does not show the browser's validation message.\n- **reportValidity()** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message: _string_)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - **label** - The input's label. Alternatively, you can use the `label` attribute.\n- **left** - Used to prepend a presentational icon or similar element to the input.\n- **right** - Used to append a presentational icon or similar element to the input.\n- **clear-icon** - An icon to use in lieu of the default clear icon.\n- **show-password-icon** - An icon to use in lieu of the default show password icon.\n- **hide-password-icon** - An icon to use in lieu of the default hide password icon.\n- **help-text** - Text that describes how to use the input. Alternatively, you can use the `help-text` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and help text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.\n- **form-control-help-text** - The help text's wrapper.\n- **base** - The component's base wrapper.\n- **border** - The base part's absolutely positioned border. Allows for easy adjustment of border thickness without affecting component dimensions.\n- **input** - The internal `<input>` control.\n- **left** - The container that wraps the left.\n- **clear-button** - The clear button.\n- **password-toggle-button** - The password toggle button.\n- **right** - The container that wraps the right.",
|
|
2271
|
+
"attributes": [
|
|
2272
|
+
{
|
|
2273
|
+
"name": "type",
|
|
2274
|
+
"description": "The type of input. Works the same as a native `<input>` element, but only a subset of types are supported. Defaults\nto `text`.",
|
|
2275
|
+
"values": [
|
|
2276
|
+
{
|
|
2277
|
+
"name": ""
|
|
2278
|
+
},
|
|
2279
|
+
{
|
|
2280
|
+
"name": "date"
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"name": "datetime-local"
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
"name": "email"
|
|
2287
|
+
},
|
|
2288
|
+
{
|
|
2289
|
+
"name": "number"
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"name": "password"
|
|
2293
|
+
},
|
|
2294
|
+
{
|
|
2295
|
+
"name": "search"
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"name": "tel"
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
"name": "text"
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
"name": "time"
|
|
2305
|
+
},
|
|
2306
|
+
{
|
|
2307
|
+
"name": "url"
|
|
2308
|
+
}
|
|
2309
|
+
]
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
"name": "size",
|
|
2313
|
+
"description": "The input's size.",
|
|
2314
|
+
"values": [
|
|
2315
|
+
{
|
|
2316
|
+
"name": "lg"
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"name": "md"
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"name": "sm"
|
|
2323
|
+
}
|
|
2324
|
+
]
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"name": "inputmode",
|
|
2328
|
+
"description": "Tells the browser what type of data will be entered by the user, allowing it to display the appropriate virtual\nkeyboard on supportive devices.",
|
|
2329
|
+
"values": [
|
|
2330
|
+
{
|
|
2331
|
+
"name": "none"
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"name": "text"
|
|
2335
|
+
},
|
|
2336
|
+
{
|
|
2337
|
+
"name": "decimal"
|
|
2338
|
+
},
|
|
2339
|
+
{
|
|
2340
|
+
"name": "numeric"
|
|
2341
|
+
},
|
|
2342
|
+
{
|
|
2343
|
+
"name": "tel"
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "search"
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"name": "email"
|
|
2350
|
+
},
|
|
2351
|
+
{
|
|
2352
|
+
"name": "url"
|
|
2353
|
+
}
|
|
2354
|
+
]
|
|
2355
|
+
},
|
|
2356
|
+
{
|
|
2357
|
+
"name": "value",
|
|
2358
|
+
"description": "The current value of the input, submitted as a name/value pair with form data.",
|
|
2359
|
+
"values": []
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"name": "placeholder",
|
|
2363
|
+
"description": "Placeholder text to show as a hint when the input is empty.",
|
|
2364
|
+
"values": []
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"name": "label",
|
|
2368
|
+
"description": "The input's label. If you need to display HTML, use the `label` slot instead.",
|
|
2369
|
+
"values": []
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
"name": "help-text",
|
|
2373
|
+
"description": "The input's help text. If you need to display HTML, use the `help-text` slot instead.",
|
|
2374
|
+
"values": []
|
|
2375
|
+
},
|
|
2376
|
+
{
|
|
2377
|
+
"name": "clearable",
|
|
2378
|
+
"description": "Adds a clear button when the input is not empty.",
|
|
2379
|
+
"values": []
|
|
2380
|
+
},
|
|
2381
|
+
{
|
|
2382
|
+
"name": "disabled",
|
|
2383
|
+
"description": "Disables the input.",
|
|
2384
|
+
"values": []
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"name": "readonly",
|
|
2388
|
+
"description": "Makes the input readonly.",
|
|
2389
|
+
"values": []
|
|
2390
|
+
},
|
|
2391
|
+
{
|
|
2392
|
+
"name": "password-toggle",
|
|
2393
|
+
"description": "Adds a button to toggle the password's visibility. Only applies to password types.",
|
|
2394
|
+
"values": []
|
|
2395
|
+
},
|
|
2396
|
+
{
|
|
2397
|
+
"name": "password-visible",
|
|
2398
|
+
"description": "Determines whether or not the password is currently visible. Only applies to password input types.",
|
|
2399
|
+
"values": []
|
|
2400
|
+
},
|
|
2401
|
+
{
|
|
2402
|
+
"name": "no-spin-buttons",
|
|
2403
|
+
"description": "Hides the browser's built-in increment/decrement spin buttons for number inputs.",
|
|
2404
|
+
"values": []
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"name": "minlength",
|
|
2408
|
+
"description": "The minimum length of input that will be considered valid.",
|
|
2409
|
+
"values": []
|
|
2410
|
+
},
|
|
2411
|
+
{
|
|
2412
|
+
"name": "maxlength",
|
|
2413
|
+
"description": "The maximum length of input that will be considered valid.",
|
|
2414
|
+
"values": []
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
"name": "min",
|
|
2418
|
+
"description": "The input's minimum value. Only applies to date and number input types.",
|
|
2419
|
+
"values": []
|
|
2420
|
+
},
|
|
2421
|
+
{
|
|
2422
|
+
"name": "max",
|
|
2423
|
+
"description": "The input's maximum value. Only applies to date and number input types.",
|
|
2424
|
+
"values": []
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
"name": "form",
|
|
2428
|
+
"description": "By default, form controls are associated with the nearest containing `<form>` element. This attribute allows you\nto place the form control outside of a form and associate it with the form that has this `id`. The form must be in\nthe same document or shadow root for this to work.",
|
|
2429
|
+
"values": []
|
|
2430
|
+
},
|
|
2431
|
+
{
|
|
2432
|
+
"name": "name",
|
|
2433
|
+
"description": "The name of the input, submitted as a name/value pair with form data.",
|
|
2434
|
+
"values": []
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"name": "title",
|
|
2438
|
+
"description": "The `title` attribute specifies extra information about an element most often as tooltip text when the mouse moves over the element.",
|
|
2439
|
+
"values": []
|
|
2440
|
+
},
|
|
2441
|
+
{
|
|
2442
|
+
"name": "required",
|
|
2443
|
+
"description": "Makes the input a required field.",
|
|
2444
|
+
"values": []
|
|
2445
|
+
},
|
|
2446
|
+
{
|
|
2447
|
+
"name": "pattern",
|
|
2448
|
+
"description": "A regular expression pattern to validate input against.",
|
|
2449
|
+
"values": []
|
|
2450
|
+
},
|
|
2451
|
+
{
|
|
2452
|
+
"name": "step",
|
|
2453
|
+
"description": "Specifies the granularity that the value must adhere to, or the special value `any` which means no stepping is\nimplied, allowing any numeric value. Only applies to date and number input types.",
|
|
2454
|
+
"values": [
|
|
2455
|
+
{
|
|
2456
|
+
"name": "any"
|
|
2457
|
+
}
|
|
2458
|
+
]
|
|
2459
|
+
},
|
|
2460
|
+
{
|
|
2461
|
+
"name": "autocapitalize",
|
|
2462
|
+
"description": "Controls whether and how text input is automatically capitalized as it is entered by the user.",
|
|
2463
|
+
"values": [
|
|
2464
|
+
{
|
|
2465
|
+
"name": "off"
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"name": "none"
|
|
2469
|
+
},
|
|
2470
|
+
{
|
|
2471
|
+
"name": "on"
|
|
2472
|
+
},
|
|
2473
|
+
{
|
|
2474
|
+
"name": "sentences"
|
|
2475
|
+
},
|
|
2476
|
+
{
|
|
2477
|
+
"name": "words"
|
|
2478
|
+
},
|
|
2479
|
+
{
|
|
2480
|
+
"name": "characters"
|
|
2481
|
+
}
|
|
2482
|
+
]
|
|
2483
|
+
},
|
|
2484
|
+
{
|
|
2485
|
+
"name": "autocorrect",
|
|
2486
|
+
"description": "Indicates whether the browser's autocorrect feature is on or off.",
|
|
2487
|
+
"values": [
|
|
2488
|
+
{
|
|
2489
|
+
"name": "off"
|
|
2490
|
+
},
|
|
2491
|
+
{
|
|
2492
|
+
"name": "on"
|
|
2493
|
+
}
|
|
2494
|
+
]
|
|
2495
|
+
},
|
|
2496
|
+
{
|
|
2497
|
+
"name": "autocomplete",
|
|
2498
|
+
"description": "Specifies what permission the browser has to provide assistance in filling out form field values. Refer to\n[this page on MDN](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete) for available values.",
|
|
2499
|
+
"values": []
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "autofocus",
|
|
2503
|
+
"description": "Indicates that the input should receive focus on page load.",
|
|
2504
|
+
"values": []
|
|
2505
|
+
},
|
|
2506
|
+
{
|
|
2507
|
+
"name": "enterkeyhint",
|
|
2508
|
+
"description": "Used to customize the label or icon of the Enter key on virtual keyboards.",
|
|
2509
|
+
"values": [
|
|
2510
|
+
{
|
|
2511
|
+
"name": "enter"
|
|
2512
|
+
},
|
|
2513
|
+
{
|
|
2514
|
+
"name": "done"
|
|
2515
|
+
},
|
|
2516
|
+
{
|
|
2517
|
+
"name": "go"
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "next"
|
|
2521
|
+
},
|
|
2522
|
+
{
|
|
2523
|
+
"name": "previous"
|
|
2524
|
+
},
|
|
2525
|
+
{
|
|
2526
|
+
"name": "search"
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"name": "send"
|
|
2530
|
+
}
|
|
2531
|
+
]
|
|
2532
|
+
},
|
|
2533
|
+
{
|
|
2534
|
+
"name": "spellcheck",
|
|
2535
|
+
"description": "Enables spell checking on the input.",
|
|
2536
|
+
"values": []
|
|
2537
|
+
}
|
|
2538
|
+
],
|
|
2539
|
+
"references": []
|
|
2540
|
+
},
|
|
2541
|
+
{
|
|
2542
|
+
"name": "sd-1-24-0-link",
|
|
1997
2543
|
"description": "A link component.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the link loses focus.\n- **sd-focus** - Emitted when the link gains focus.\n\n### **Methods:**\n - **focus(options: _FocusOptions_)** - Sets focus on the button.\n- **blur()** - Removes focus from the button.\n\n### **Slots:**\n - _default_ - The default slot.\n- **icon-left** - The icon to display on the left side of the link.\n- **icon-right** - The icon to display on the right side of the link.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **icon-left** - The container that wraps the left icon area.\n- **label** - The link's label.\n- **icon-right** - The container that wraps the right icon area.",
|
|
1998
2544
|
"attributes": [
|
|
1999
2545
|
{
|
|
@@ -2053,7 +2599,7 @@
|
|
|
2053
2599
|
"references": []
|
|
2054
2600
|
},
|
|
2055
2601
|
{
|
|
2056
|
-
"name": "sd-1-
|
|
2602
|
+
"name": "sd-1-24-0-navigation-item",
|
|
2057
2603
|
"description": "Flexible button / link component that can be used to quickly build navigations. Takes one of 3 forms: link (overrides all other if 'href' is provided), button (default), or accordion (if 'children' slot defined).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are hidden.\n- **sd-hide** - Emitted when the navigation item has has children, no href, and is clicked while HTML details are shown.\n\n### **Slots:**\n - _default_ - The navigation item's label.\n- **description** - *Vertical only: Slot used to provide a description for the navigation item.\n- **children** - Slot used to provide nested child navigation elements. If provided, details and summary elements will be used. A chevron will be shown on the right side regardless of the chevron property.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper including children.\n- **content** - The component's content excluding children.\n- **chevron** - The container that wraps the chevron.\n- **description** - The component's description area below its main content.\n- **divider** - The component's optional top divider.",
|
|
2058
2604
|
"attributes": [
|
|
2059
2605
|
{
|
|
@@ -2143,7 +2689,7 @@
|
|
|
2143
2689
|
"references": []
|
|
2144
2690
|
},
|
|
2145
2691
|
{
|
|
2146
|
-
"name": "sd-1-
|
|
2692
|
+
"name": "sd-1-24-0-popup",
|
|
2147
2693
|
"description": "Popup is a utility that lets you declaratively anchor \"popup\" containers to another element.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-reposition** - Emitted when the popup is repositioned. This event can fire a lot, so avoid putting expensive operations in your listener or consider debouncing it.\n\n### **Methods:**\n - **reposition()** - Forces the popup to recalculate and reposition itself.\n\n### **Slots:**\n - _default_ - The popup's content.\n- **anchor** - The element the popup will be anchored to. If the anchor lives outside of the popup, you can use the `anchor` attribute or property instead.\n\n### **CSS Properties:**\n - **--arrow-size** - The size of the arrow. Note that an arrow won't be shown unless the `arrow` attribute is used. _(default: 6px)_\n- **--arrow-color** - The color of the arrow. _(default: var(--sd-color-neutral-0))_\n- **--auto-size-available-width** - A read-only custom property that determines the amount of width the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n- **--auto-size-available-height** - A read-only custom property that determines the amount of height the popup can be before overflowing. Useful for positioning child elements that need to overflow. This property is only available when using `auto-size`. _(default: undefined)_\n\n### **CSS Parts:**\n - **arrow** - The arrow's container. Avoid setting `top|bottom|left|right` properties, as these values are assigned dynamically as the popup moves. This is most useful for applying a background color to match the popup, and maybe a border or box shadow.\n- **popup** - The popup's container. Useful for setting a background color, box shadow, etc.",
|
|
2148
2694
|
"attributes": [
|
|
2149
2695
|
{
|
|
@@ -2367,7 +2913,7 @@
|
|
|
2367
2913
|
"references": []
|
|
2368
2914
|
},
|
|
2369
2915
|
{
|
|
2370
|
-
"name": "sd-1-
|
|
2916
|
+
"name": "sd-1-24-0-radio-group",
|
|
2371
2917
|
"description": "Radio groups are used to group multiple [radios](/components/radio) or [radio buttons](/components/radio-button) so they function as a single form control.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-change** - Emitted when the radio group's selected value changes.\n- **sd-input** - Emitted when the radio group receives user input.\n- **sd-invalid** - Emitted when the form control has been checked for validity and its constraints aren't satisfied.\n\n### **Methods:**\n - **checkValidity()** - Checks for validity but does not show a validation message. Returns `true` when valid and `false` when invalid.\n- **getForm(): _HTMLFormElement | null_** - Gets the associated form, if one exists.\n- **reportValidity(): _boolean_** - Checks for validity and shows the browser's validation message if the control is invalid.\n- **setCustomValidity(message)** - Sets a custom validation message. Pass an empty string to restore validity.\n\n### **Slots:**\n - _default_ - The default slot where `<sd-radio>` or `<sd-radio-button>` elements are placed.\n- **label** - The radio group's label. Required for proper accessibility. Alternatively, you can use the `label` attribute.\n\n### **CSS Parts:**\n - **form-control** - The form control that wraps the label, input, and error text.\n- **form-control-label** - The label's wrapper.\n- **form-control-input** - The input's wrapper.",
|
|
2372
2918
|
"attributes": [
|
|
2373
2919
|
{
|
|
@@ -2423,7 +2969,7 @@
|
|
|
2423
2969
|
"references": []
|
|
2424
2970
|
},
|
|
2425
2971
|
{
|
|
2426
|
-
"name": "sd-1-
|
|
2972
|
+
"name": "sd-1-24-0-radio",
|
|
2427
2973
|
"description": "A radio allows to select only one value from a set of options. Clicking on an unchecked radio will deselect the other one(s).\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the control loses focus.\n- **sd-focus** - Emitted when the control gains focus.\n\n### **Slots:**\n - _default_ - The radio's label.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **control--unchecked** - The radio control when the radio is unchecked.\n- **control--checked** - The radio control when the radio is checked.\n- **checked** - The dot inside the radio component when the radio is checked.\n- **label** - The container that wraps the radio's label.",
|
|
2428
2974
|
"attributes": [
|
|
2429
2975
|
{
|
|
@@ -2457,7 +3003,7 @@
|
|
|
2457
3003
|
"references": []
|
|
2458
3004
|
},
|
|
2459
3005
|
{
|
|
2460
|
-
"name": "sd-1-
|
|
3006
|
+
"name": "sd-1-24-0-spinner",
|
|
2461
3007
|
"description": "Spinners are used to show the progress of an indeterminate operation.\n\n\n---\n\n\n",
|
|
2462
3008
|
"attributes": [
|
|
2463
3009
|
{
|
|
@@ -2479,7 +3025,7 @@
|
|
|
2479
3025
|
"references": []
|
|
2480
3026
|
},
|
|
2481
3027
|
{
|
|
2482
|
-
"name": "sd-1-
|
|
3028
|
+
"name": "sd-1-24-0-tag",
|
|
2483
3029
|
"description": "Tags are used as labels to organize things or to indicate a selection.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-blur** - Emitted when the tag loses focus.\n- **sd-focus** - Emitted when the tag gains focus.\n\n### **Methods:**\n - **click()** - Simulates a click on the tag.\n- **focus(options: _FocusOptions_)** - Sets focus on the tag.\n- **blur()** - Removes focus from the tag.\n\n### **Slots:**\n - _default_ - The tag's content.\n- **removable-indicator** - The tag's removability indicator.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **content** - The tag's content.\n- **removable-indicator** - The tag's removability indicator.",
|
|
2484
3030
|
"attributes": [
|
|
2485
3031
|
{
|
|
@@ -2541,7 +3087,7 @@
|
|
|
2541
3087
|
"references": []
|
|
2542
3088
|
},
|
|
2543
3089
|
{
|
|
2544
|
-
"name": "sd-1-
|
|
3090
|
+
"name": "sd-1-24-0-teaser",
|
|
2545
3091
|
"description": "Teasers group information into flexible containers so users can browse a collection of related items and actions.\n\n\n---\n\n\n\n\n### **Slots:**\n - _default_ - An optional main content slot.\n- **media** - An optional media slot.\n- **meta** - An optional meta slot.\n- **headline** - headline slot.\n\n### **CSS Properties:**\n - **--distribution-media** - The distribution ratio of the media. _(default: undefined)_\n- **--distribution-content** - The distribution ratio of the content. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **media** - The container that wraps the media.\n- **content** - The container that wraps the content.\n- **meta** - The container that wraps the meta.\n- **headline** - The container that wraps the headline.\n- **main** - The container that wraps the main content.",
|
|
2546
3092
|
"attributes": [
|
|
2547
3093
|
{
|
|
@@ -2578,7 +3124,7 @@
|
|
|
2578
3124
|
"references": []
|
|
2579
3125
|
},
|
|
2580
3126
|
{
|
|
2581
|
-
"name": "sd-1-
|
|
3127
|
+
"name": "sd-1-24-0-tooltip",
|
|
2582
3128
|
"description": "Tooltips display additional information based on a specific action.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-show** - Emitted when the tooltip begins to show.\n- **sd-after-show** - Emitted after the tooltip has shown and all animations are complete.\n- **sd-hide** - Emitted when the tooltip begins to hide.\n- **sd-after-hide** - Emitted after the tooltip has hidden and all animations are complete.\n\n### **Methods:**\n - **show()** - Shows the tooltip.\n- **hide()** - Hides the tooltip\n\n### **Slots:**\n - _default_ - The tooltip's target element. Avoid slotting in more than one element, as subsequent ones will be ignored.\n- **content** - The content to render in the tooltip. Alternatively, you can use the `content` attribute.\n\n### **CSS Properties:**\n - **--max-width** - The maximum width of the tooltip before its content will wrap. _(default: undefined)_\n- **--hide-delay** - The amount of time to wait before hiding the tooltip when hovering. _(default: undefined)_\n- **--show-delay** - The amount of time to wait before showing the tooltip when hovering. _(default: undefined)_\n\n### **CSS Parts:**\n - **base** - The component's base wrapper, an `<sd-popup>` element.\n- **base__popup** - The popup's exported `popup` part. Use this to target the tooltip's popup container.\n- **base__arrow** - The popup's exported `arrow` part. Use this to target the tooltip's arrow.\n- **body** - The tooltip's body where its content is rendered.",
|
|
2583
3129
|
"attributes": [
|
|
2584
3130
|
{
|
|
@@ -2646,7 +3192,7 @@
|
|
|
2646
3192
|
"references": []
|
|
2647
3193
|
},
|
|
2648
3194
|
{
|
|
2649
|
-
"name": "sd-1-
|
|
3195
|
+
"name": "sd-1-24-0-video",
|
|
2650
3196
|
"description": "Used to wrap external video elements (e. g. from Moving Image or bare <video>-Tags) and provide some basic styling for Union Investment.\n\n\n---\n\n\n\n\n### **Events:**\n - **sd-play** - Event emitted when clicking the `play-icon`. Listen for this event and use it to play the wrapped video.\n\n### **Slots:**\n - _default_ - The default slot used to pass a video player element.\n- **play-icon** - The video's play icon.\n- **poster** - Specifies an image to be shown before initial play of the wrapped video. Acts like the `poster` attribute on the native video tag.\n\n### **CSS Parts:**\n - **base** - The component's base wrapper.\n- **play-button** - The `<button>` element wrapper around the play-icon slot (full screen to field all click events).\n- **play-button-bg** - The `<div>` element wrapper around the play-button that defines the circular background.\n- **overlay** - The `<div>` element styled as an absolutely positioned transparent overlay.",
|
|
2651
3197
|
"attributes": [
|
|
2652
3198
|
{
|